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

Why Windows has this might be traced back to its roots where Microsoft was sued about Web Browsers and in response tightly integrated their browser into the OS. So the GUI shell that you see on Windows is underneath partly their browser.

You can see this effect all over Windows. Instead of right click, refresh in Windows just click on a blank spot on the Windows Desktop. Now tap F5 which is the refresh button on many browsers.

-> Linux on the other hand uses the X Window system (most distros) or https://en.wikipedia.org/wiki/X_Window_System for more detail.
The refresh might still show on some implementations but if the OS software was working right, you would not need "refresh."

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

To me your code does just what you wrote about. Think about the record set you are dealing at line 10 and then 11. It looks like you selected all records then issued an UPDATE which would replace all records in this set.

I don't see where you write what you really wanted to happen.

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

This is the missing piece of information that could explain your prior post about C++ to C. I can see where a Xilinx system that only offered C could have a new engineer going down that rabbit hole.

It's been well over a decade since I worked with Xilinx, Atmel and other devices but for this level of support you should be getting with your Xilinx Field Engineer. Or going with a design or consulting firm to get your product off the ground.

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

I take it you did your research and now realize 2.4GHz links are impractical and noted widely such as https://en.wikipedia.org/wiki/Long-range_Wi-Fi

Since you want ROBUST then you must over design the link to be something for 10 to 20 KM distances.

Since this is an area of OVERCHOICE, you need to talk to the makers about possible solutions like https://www.balticnetworks.com/ubiquiti-airmax-5ghz-ptp-super-long-range-link-kit.html but once in a while I'll see a client that has no IT staff or networking skills trying to install this. They fail everytime. For those folk, get it done by a local networking company or even Cisco.

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

I won't do this because there are over 100 solutions in 99 languages at https://rosettacode.org/wiki/Temperature_conversion

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

You're going to have to get Mister Peabody to give you a ride to over a decade ago in the WABAC machine.

But for now, here's a calender written in Turbo C++ using character graphics: https://technodrill.wordpress.com/2012/01/29/a-calendar-program-in-turbo-c/

And that's just the start of the work. Now you have to implement user controls and depending on how much time you have some way to highlight dates that are valid, and more.

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

Still omits why you are doing this. Also, https://www.codeproject.com/Articles/1180826/Writing-Our-Own-Simple-Memory-Manager-In-C-Cpluspl appears to be in C as well as C++. Still may not fit with your real application. That is, I found one poor soul lost trying to create the perfect memory manager and they may still be trying to create it decades later.

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

In your .ts script, where do you toggle audio.muted? I only see code to set it to true. Where is false?

Also, if your script language support it the line of code could be audio.muted = not(audio.muted)
https://html.com/attributes/audio-muted/ shows the mini-player with the audio mute control showing without any added code.

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

When facing this sort of issue I find myself adding print or echo debug lines so I can see how far the code went before it hung up OR to watch variables along the way. Noted in priors like https://www.php.net/manual/en/debugger.php you find that at some point you have to go old school (add lines to debug it.)

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

It may be helpful if you also revealed what you are trying to accomplish. If it's some homework or work then somewhere there's a specification that may fill in the blanks.

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

Using OP's formatting.

reply.gif

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

It appears the 8+ YO code is in need of a rewrite for W8 and on. The same complaint was made about W8.

I see some of the work appears to be at this link.

I found some other discussions about this with this search.

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

Sorry if I don't offer fixes for this but I did something akin to the above long ago on a completely different system. So just some thoughts.

  1. As to the skipping around I'd go over the app and watch out for variables that are a bit too small. That is, are any just 16 bit or such? Could this be an overflow or such issue?
  2. About the screens issue. That would take a bit of work as we research API calls to see which screen the mouse is on and customize the routine for screens 0 to how many? I don't see any code above to detect the screen the mouse is on but it would be required.
rproffitt 2,701 https://5calls.org Moderator

@cam, which is exactly what is needed to make progress. I didn't read that till now but was guessing it.

WD and most OSes are not going to allow an app to write files in system protected folders. For that sort of work you use an installer.

What is this you are writing? Let's hope it's no virus or such.

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

I can't test this for you since "Liberty BASIC is a commercial computer programming language and integrated development environment."

As to the file viewer my bet is it is a TEXT viewer and as such would show in most cases ASCII or 8 bit text. Now if you wanted to write a data file in UNICODE, again I can't offer direct help since Liberty BASIC is nothing I can install since it's not free. But you could try creating an unicode text file.

Ideas at https://www.google.com/search?q=visual+basic+write+unicode+text+files

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

I don't see any code on line 31. Can you share which line is giving up an error?

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

And now for something completely different.

To avoid all this, have you tried crafting what you want to do in Python?

PS. How's this for a triple dose of Python? Wink wink, nudge nudge.

Reverend Jim commented: Say no more. +15
rproffitt 2,701 https://5calls.org Moderator

As to GNU signing options you can research that but here at the office where we craft and send out apps we would spending too much time finding out why the GCC or such is creating the problem. While we buy the Pro version of VS I have to wonder why this is an issue when folk want to make a Windows app when there are free versions of VS. Sometimes you run into someone that is campaigning for "only FOSS" which may conflict with the goal of app making that does this or that while avoiding other issues.

So here we are without details, no code, no minimal viable example so I'm left to chat about other areas. When you are ready, try sharing the deep dark (?) details.

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

I think we need to directly answer your top question. I bet some will be upset by it.

How to create a program that most likely won't have WD complain?

Craft it in Visual Studio (some complain but there are free versions) then get the code signed. I won't write about this here as we have:
https://www.google.com/search?q=code+signing+in+visual+studio

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

Sorry but that's not clear enough for me. Here I have apps that write in their distribution folder and no issues. WD might ask for permission to connect to the web or such but nothing is wrong there.

The world has changed and the wide open old Windows system is changing to avoid catastrophes by blocking possible rogue actions by apps.

Why not start by sharing a minimum viable example that shows the problem? If you don't shared details, everyone is guessing.

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

For my own use I stick with the 512GB and 1TB SSDs. These are not a big investment here as we snag them for under 99 bucks and the payoff is one smooth PC and less time waiting for things to complete.

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

Still too little detail. Text files have not raised Windows Defender issues here. But if I were to write in system folders then I bet WD would complain.

As to use a win32 function I'm going with no because if it was that easy to disable WD, then WD and other antimalware apps would be defenseless against rogue apps and more.

Think about sharing details. What folder you are writing in and maybe some code that triggers the issue.

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

I'm going with "not enough detail about the problem." It's like I put a blindfold on you and asked you to describe the animal.

Remember the story of three blind men and an elephant?

Windows is heading towards app signing. This may be easier with Visual Studio and no, I will not enter into a dialog about FOSS or such.

rproffitt 2,701 https://5calls.org Moderator
  1. Exactly the type of hardware areas that you can run into trouble. My advice is to ask your developer to test out these areas now so you know if you can proceed with your development cycle. I will share that the company that tried something like what you lead with had to pull out of the deal and we had to step in with apps made in each dev system.

Of course this upsets folk that are looking for "I write the code one time for all platforms" and for me no big deal since my view is the DESIGN is where all the work was really done. That and the user interface.

  1. Sorry no. On top of that my works have been in products that either were military and later industrial control systems.
rproffitt 2,701 https://5calls.org Moderator

I'm going to write that for a few apps we did this was not an option since we used Bluetooth with the serial port profile and we had to turn back to native development. That is we ended up with apps using Android Studio and Visual Studio (Windows.)

If you are just doing web, Internet apps without a lot of hardware interfacing then what you are asking seems fine.

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

Just a thought. Most filenames and paths do not have spaces after the dot or .

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

I worry here. Why? Because what LookChup claims to be, wouldn't your network offer such today?
Also, there are so many app dev houses in India, are you saying you wouldn't use any? Why?

Or this could be the new old problem of OVERCHOICE (google that word.) There must be close to a million small to large app developers out there today. Ask a few.

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

I'm probably in the majority that I don't have a single plug-in or debugger that didn't come with VS. If I need to debug I can single step through the section of trouble or put in debug.print statements so I can see variables and more on the fly.

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

So internetservicesinmyarea . com failed you. Try other suppliers.

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

Just a comment about "change DNS IP records and". DNS changes have been known to take days or weeks so that change is not instant. Be sure you plan ahead for this. In other words, not an instant switch.

elamigosam commented: Understood. +3
rproffitt 2,701 https://5calls.org Moderator

@MickeyD. I'm going to write you should be sure it's on SSD first.

I just checked out http://www.marmaxcomputers.com/img/141117124430hp8200.pdf and it shipped with sluggish HDDs so to bring this up to speed and be on par with most PCs you see today, eject the HDD and move to SSD.

Your HP appears to be from 2012 and while it's OK I will predict that more RAM won't give it the kick you expected. SSD will. I have an even older (edited) HP D5000 desktop and even from 2009 I decided to see what this old iron had left in it by taking the RAM to the max (8GB) and changing to SSD and from a Nvidia 240 GPU to a 1060. You can read the results at https://www.cnet.com/forums/discussions/im-upgrading-some-old-iron-what-would-you-like/

To keep it useful to those that want to see the change I kept the changes to one at a time sharing the benchmarks and power consumption at each change.

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

No. It's not that cheap and misses out on most of the reasons the Switch does so well today.

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

@MickeyD. My story is about how you use it makes a difference and hopefully you picked up that SSD can really help a slug of a PC.

If you have 16GB RAM, but HDDs in the system I would change out the HDD to SSD before more RAM regardless of use.

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

Windows 10 has TWO login methods.

  1. Email system using Microsoft's own servers.
  2. Local login.

Of these two NEITHER offer password recovery and if anyone is selling recovery (especially on item 1) then they are a fraud and scamming you.
The second or local login is, most of the time easy to reset. Now if the owner used BITLOCKER or whole disk encryption then you have to wipe the disk and do a clean install. Shame really as there should never be any data loss since anyone that does that should know to backup what they can't lose.

So with that out of the way I use the UTILMAN.EXE method noted at https://www.howtogeek.com/222262/how-to-reset-your-forgotten-password-in-windows-10/

As to recovering the old password, no one has shown me a working method. I've read and tried too many articles so for now, for today and local logins I use the UTILMAN.EXE method. If that fails (it hasn't) then we just wipe the drive and install the OS they want to run.

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

I have a story. Mom needed a laptop to pay the bills and such. Nothing fancy. We had this 2006 Dell Inspron e1505 that survived our son's college so I pulled it out to see what we had. In the end we set it up with W10 on 1GB RAM, 120GB SSD and the e1505 has some 32 bit dual core Centrino.

It sounds horrible but this little beast would, from cold get to a web page on screen in just under 35 seconds. It was fine for web work so my mom used that for a year. Why only a year? Someone stole it. She says here new laptop with better CPU, RAM is a little slower!

MickeyD commented: OK, but I don't know how that applies to my question. +0
rproffitt 2,701 https://5calls.org Moderator

From memory you can change the text of the button to what ever you want. So no big deal to show two values.

https://www.tutorialspoint.com/vb.net/vb.net_button.htm as reference.

YourButton.Text = Value1 + " space " + Value2

If you need to convert a number to string there I'll let you look up the function.

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

How about an article with over 114 implementations in ... 114 computer languages?

Read https://rosettacode.org/wiki/Binary_search

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

I have a question. Why are your rate1 to rate4 the same numbers as I see in a 2010 discussion at
https://www.dreamincode.net/forums/topic/196758-java-shipping-program/ ?

It would be incredibly coincidental if these were the same. If you are seeking homework help, just say so and share where we can find the assignment and remember that no one will write your homework for you. But you can get help on errors and more.

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

Took a look at your profile. Maybe you're a WordPress person. If so, look at https://gofreethemes.com/alhena-lite-wordpress-theme/ and I see SEARCH with images and text. If they did that, then it may be close to what you asked for. You might have to ask the author how to tweak it to not be a shopping experience but at a glance, worth looking at. (I mean you look at it.)

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

You can research what fair use is. Here's my search: https://www.google.com/search?q=What+is+fair+use+of+images

And there it is, how this varies from the USA to the EU and more. If your content is strictly from the company you mentioned, you can almost be sure they will issue a take down notice or get it removed from Google and other searches. Only you know your sources.

Also that search on fair use does call out the usual four tests and "saving lives" isn't one of them. You can make your choice to ignore all that and take your chances. If you do, google up Leonard French as he's out there and has many videos and more on this.

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

As to 1,000 years to load you can build just a text page for searching (Control+F) and if you need a link to an image, that's nothing special (or is it?)

As to legal issues, you'll need a lawyer or just get ready for a take down notice. I do enounter folk that feel that if it's on the Internet they can copy and use as they please. Hard to reason or talk to such today.

brokehero commented: I really need to have pictures to help anyone at all. Would they not be considered "fair use" if used to educate people/save lives? +0
rproffitt 2,701 https://5calls.org Moderator

Let's try simple. Like (edited) we did over a decade ago. Put it all on a page and tell the user to press Control+F to find "Black Bart's Bicycle" or such.

All the users I encounter can search for text on a page and since you want to get this information out there, why not simple?

brokehero commented: I want to include links to the images if they have not been removed but I took screenshots and have a works cited for them. also dont want to be sued +0
rproffitt 2,701 https://5calls.org Moderator

War? War never changes.

I'm guessing you meant request pipelines such as noted at https://docs.microsoft.com/en-us/aspnet/core/fundamentals/middleware/?view=aspnetcore-2.2

This sort of work is usually done in your classes or seminars on middleware. Check with your instructor if they left out information like the docs.

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

Any thought about using the while statement?

https://www.python-course.eu/python3_loops.php

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

Who says it's your code. Just last week, yet another find that changing a web mail setting cleared it up. In their case it was the old head to their Google account, select "Security" and scroll down to "Turn ON less secure apps".

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

My thought on basic functions like this is to always check Rosettacode.
There are over 126 solutions in most languages at https://rosettacode.org/wiki/Primality_by_trial_division

JamesCherrill commented: This is obviously a homework learning exercise, so getting a solution from a web site is a really bad idea, -3
rproffitt 2,701 https://5calls.org Moderator

Now that your code display is fixed can you answer more questions?

  1. Where are your brackets? { and }
  2. Line 8 looks odd. Read http://www.cplusplus.com/doc/tutorial/basic_io/ to see how to use cout.

There's more but as presented this won't work in any C++ compiler I know of.

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

It may be too late for you to fix your post. That first line in such a big font states include but what?

Also take time to share what's not working and the error messages since many may not load up your project to see what is amiss. Besdes the first few lines look off to me.

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

I've tackled CODECs so many times so how about:

  1. The FOURCC ?
  2. Examples abound for C# search with https://www.google.com/search?q=c%23+retrieve+fourcc

This is not about your top question about IMDB but about getting at the codec information.
I'm guessing here you might want to try VLC's decoding information.

  1. Example at https://forum.videolan.org/viewtopic.php?t=94045