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

So you want to know the number of bannedwords? At the top post you read said file of banned.txt. Now have a variable initialized to zero and there you have at line 36 you increment i. That's your word count.

Sorry but no I have not written anything about the area around line 36 or commented that it doesn't look like you are reading in any words. I leave this incomplete code for you to finish.

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

Actually that's pretty close. The lines 11,12,13 is the old brute force thing you might do in a hurry to get it out before lunch.

What you may want is a loop that iterates from 0 to the number of banned words. Something like:
for (i = 0; i < numberofbannedwords; i++) { firstText.replace(firstText.find(bannedWords[1]), 3, "***"); }

Sorry if I don't dive into possible optimizations.

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

@pritaeas I didn't get that far into that report so thanks. There appears to be quite a few strains that developed around the same time.

A family member here works in a research lab and explained it and I'll probably bungle it here but I'll try. The SARS-COV2 strains that predated what we call COVID today were all over the globe mutating so the strains that emerged may not have a single source. We've read that these started here, there, Europe and other locations. Sadly the politics became a force and here we are today.

Beyond that, we have the anti-science, anti-vaxx movement which promotes treatments and non-treatments. The last doctor visit was interesting as they told me they had enough of those folk and "Darwin will sort them out." This is actually a worse solution because long covid can saddle them with health issues for the rest of their life. If covid had outright taken them out like Herman Cain may have been better for all.

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

Sorry James. And I'm OK with the -1 (F) grade for that reply. Sometimes the student needs a hard zing on an assignment to learn they have to write it themselves. However sometimes you'll get a hit on plagiarism checkers and it is the students work. The assignment here is one with hundreds if not thousands of solves on the web so it's going to be hard to not see same or similar solves from the students.

For the OP, get in here with what stopped you.

JamesCherrill commented: ;-) +0
rproffitt 2,701 https://5calls.org Moderator

@Dani. It's the same question because they use such to try to get around spam bots. andersoAmber44 also appears to be https://www.daniweb.com/members/1226786/eleanorharper44

Conclusion: It's not a serious question at all. Just another spammer.

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

Can you give me the TL;DR on that report?

It appears to be about epidemics and how politics plays into government tracking and response. The doctors I visit have stopped trying to change the anti-vax mindset and now they say "F"them. "Let Darwin deal with them." I'm also near an organ transplant center and if you are not vaccinated, you are not going to get a transplant if you need one.

You would think that deaths such as Herman Cain and other such leaders would have changed that particular party's view but a friend explains it all away that the deaths were actually assassinations or proof that Ivermectin treatments could have saved us all.

If only this virus was more deadly.

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

Is this the old Perfect Numbers question? I see over 120 solutions at https://rosettacode.org/wiki/Perfect_numbers which I could use and move on to the next issue.

JamesCherrill commented: Worst possible advice for coursework -3
rproffitt 2,701 https://5calls.org Moderator

Is this about improving Arhamsoft? "Glassdoor review: "Good company with bad managers" May want to improve, remove bad managers! "

Given your prior discussions, for that company you may have to start with the CEO and HR working to make a better workplace.

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

Grew up mostly in SoCal, off to the Vancouver BC area for 8 years, off to near Boston for 10 and now in SoCal.

Why? Jobs.

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

The sat view is usually old as in months or even years so you can't be sure if what you see is there now.
However I found the sat view useful as one day it updated on my old house which mom lived in. Sat view showed the tree out front had died. Called mom from Canada to ask what's with that tree. Yup, dead. Had it removed the next week.

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

Welcome! As to getting connections here, take a moment to complete your profile because I looked and didn't see your tube channel or much else. Looks like you joined and haven't filled in the blanks. People need that to know to connect.

Awesome days here too!

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

Welcome!

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

A public computer can have keyboard loggers and more. I'm seeing less and less public computers because... Smartphones and chromebooks.

Also, public WiFi is a risk that's been mostly mitigated but folk can fall for fake web site login requests. The security issue you are chasing here, and the solution you propose looks to make security worse not better since it gives the extension a way to cover it's tracks.

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

At this point you're convinced that this is needed. Your next step is to submit a bug or feature request to all the web browser makers.

I remain unconvinced that an extension should be able to clear devtool logs. The log is just on our PC and used to document what sites and more do. A nefarious site or extension if it could clear logs could cover its tracks. Since it's my PC and my choice to open the devtool and log, why is this a security problem? It's not.

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

https://www.daniweb.com/welcome/rules has an entry about homework. You didn't reveal this was homework so I took it as a possible but unlikely real job you and your company would bid on. That said, this would be best made as a web app with the usual PHP, SQL and such backend with a web browser for the users. Such an endeavor would not be without a year or two making smaller systems to work your way up to the app/system in your top post.

Now if this is homework, say so and tell where you are stuck. For homework you supply something you are stuck on, and maybe the function that doesn't work right along with code so others can look at it to see if they see the problem.

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

If this was such a job the first move would be to meet and discuss changes to support multiple users, a web interface and more. No one today would write this in c++.

Ashley_30 commented: I’m not so versatile in java, is there any way you or anyone else could help? +0
rproffitt 2,701 https://5calls.org Moderator

This log is, for this discussion on my personal computer. Since I don't let others use my PC, what scenario are we talking about? The log I looked at is not accessible from the web, just this PC. There are other logs that are gone once I exit Chrome or close the devtool. I stopped examining this once I found this log to only exist on my PC.

Now if your site is insecure that's an entirely different discussion and scenario since I'm running Chrome (or another browser) and having its devtool/view open.

For a site to control this log looks like a security breach as the site has no business deleting logs on my PC.

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

This sounds like a good thing to omit from access from javascript. Otherwise a malicious script could hide its tracks.

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

Just to see if this has been done I did a google of https://www.google.com/search?&q=c%2B%2B+resistor+decoder
Sure enough this looks well done.

Can you share what you need or what stopped you from writing your own solution?

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

HLA doesn't appear to be Assembly either.

Let's move forward. Show your code and point out where you are stuck. If this is an assignment to write 80x86 Intel PC Assembly code, then we can't use HLA.

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

As I read https://www.plantation-productions.com/Webster/HighLevelAsm/WinDownload.html and the code examples there I don't see assembly code like we used with MASM. The code looks closer to C and far away from assembly.

While I could install and learn more about HLA I decline to do that but don't mind looking at your code as it is now along with where you are stuck. Sometimes folk meant to write "can you write this for me" but that rarely happens here. If you need this done for you then there's Upwork, Chegg and such places.

Paul_103 commented: ok I use HLA not MASM. +0
rproffitt 2,701 https://5calls.org Moderator

The question isn't confusing. It's incomplete. I shared what I did to fill in some of the missing information.

RC_820 commented: Thanks +0
rproffitt 2,701 https://5calls.org Moderator

Have you used such tools before such as https://www.deepcode.ai ?

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

My last assembly language was on a MicroChip PIC and the output over RS232 to a terminal (PC running old Hyperterm.)

While you didn't reveal which microprocessor was the target, today we have some hundred to choose from but why is the tag SQL selected?

Be sure to show your work so far and note where you are stuck along with enough target information so others can see where the problem is.

Paul_103 commented: thanks.I'm using HLA and windows command window +0
rproffitt 2,701 https://5calls.org Moderator

The question "how to run a cronjob using PHP?" needs restatement. I can imagine managing cronjobs such as putting a job into the cron system, removal and such but run doesn't sound correct as the cron system will run the job for us, not PHP.

There are tutorials to manage cron such as https://code.tutsplus.com/tutorials/managing-cron-jobs-with-php--net-19428 but again, your question in my view needs refinement.

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

You tagged your discussion with Javascript so that meant your intent was something that ran in a browser. If you meant something else then you would have written that in your initial post. To find out more about you I read your other discussions and it appears you are working on your web site which lead me to suggest building your skills or using some open source game to integrate into your site.
But no, no one can give you the code or design to what you asked for many reasons. It would be rare for anyone to write this for you and hold class on the language and game design. Maybe there is someone out there?

As such I thought, maybe they just want to integrate a nearly ready to use fishing game? And supplied a possible project.

Back to your comment. I explained why I took time to find a Javascript game, maybe you didn't want that and have the wrong tag.

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

Congrats on solving/writing your own solution.

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

So much left unsaid. The Javascript tag might tell us you want it on your web site. To write such from scratch would be something you attempt after a year of making easier projects but maybe you just want to add such to your web site (I checked your other discussions.)
Try https://www.raywenderlich.com/2813-how-to-make-a-simple-html5-game-with-enchant-js since it has a fish game and you might learn more.

RC_820 commented: Sorry but i mean i want to make a fish game, if i want to make a shooting fish game its use javascript right? Or other language?? +0
rproffitt 2,701 https://5calls.org Moderator

@Josh
The question as posed seems to be something you would ask the authors over at that project. Maybe you have another question such as "is there an example how to do (explain what you need to do)?"

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

I've worked the embedded field for decades but would never make my own MDB board or software. I'd integrate such with say a hat for a Rasberry PI from http://www.waferlife.com/en/MDB2PC-PC2MDB.html

Maybe you have a lot more time than most and want to do this from scratch?

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

Looks like you'll have to contract and pay them for your custom solution. I'm reading this from their site:
"Your choice of sensors – for customized monitoring

Evaluate all incoming data reliably – Server-Eye uses information from various sensors for server monitoring. But that’s not all: You can even configure your own sensors if the right solution is not yet available. Alternatively, you can contact us and ask for specific sensors."

What you'll discover in almost all these systems is they look nice and do some things well but when you want more, you pay them to add it in.

Roman_16 commented: This is not true. I have since done it and it didn't cost any money. Server-Eye provides an API from which you can extract any Data. +0
rproffitt 2,701 https://5calls.org Moderator

Seems easy to fix. Change it back.

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

There's a lot of missing detail here. I can guess a little that it's on Windows but the firewall on the unknown version of Windows can block this. Also, the long discussion at https://wordpress.org/support/topic/the-requested-url-was-not-found-on-this-server-24/ may tell more but as presented, there's nothing to say where the issue is or what you did to get that message.

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

As I review what others write in what I find with https://www.google.com/search?&q=Intellisense+not+appearing+for+JavaScript+and+CSS+files+in+VS+2017 I find this will take a while to review what others have written to avoid duplication and disagreements.

Crossposting is fine. Doing it widely is still not a good idea. I'll come back later as I have more time.

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

I'd get to where the home is for discussions on that project is.
I could be wrong but it looks to be https://github.com/WordPress/gutenberg/discussions

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

I can't find where anyone here wrote "Marqe" but the Marq filter is built into or part of VLC Player. In case you missed how to use it, read https://wiki.videolan.org/Documentation:Modules/marq

My preferred source for VLC Player is at ninite.com

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

But what is this all supposed to do? I think of the blind men and the elephant applies here. Oh, I see someone noted that at https://stackoverflow.com/questions/71683062/store-several-strings-in-an-array-of-structures-c

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

Try Bleepingcomputer.com but I'll write to do more than dump a log. Write a little why you think this log and investigation is necessary. Usually a scan with Malwarebytes and such is enough. However I am encountering folk that think their PC is infected and we find the PC has a hardware issue such as overheating or other issue. Tell why you dumped the log is best.

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

Seems that was asked here a few years back. There are more here too. Just one at
https://www.daniweb.com/programming/software-development/threads/516457/how-do-xamarin-forms-connect-to-sql-server

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

Thank you Reverend Jim.

Let's add Current Date and Time to VLC Player! Read https://wiki.videolan.org/Documentation:Modules/marq

Huzzah! "This example displays the current date and time in yellow in the top left corner of video."
VLC Player runs on Apple OS, Windows, Linux and what else?

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

Given your comment, you can't fail because as you wrote "Explain or comment something base on your own understanding".

If you had asked for a high level guess of what this code as a whole does, that's one thing but you asked for a line by line explanation. With your last comment that's no longer needed. What the assignment is now is you writing your understanding of the code. Not a line by line.

For example if I were to explain what Hydrogen and Oxygen is, that would do nothing to explain what happens if we have H2O.

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

All I can say is that is a fine example of why undocumented code is a sad thing or self documenting is a good thing.

Who wrote this? Ask them because they wrote it. That is unless this is part of something out of a course's book then that book may hold what we need to know.

PS. Long ago, I wrote a lot in old Turbo Pascal.

AshurĂ _1 commented: Explain or comment something base on your own understanding thats our homework +0
rproffitt 2,701 https://5calls.org Moderator

Is flush an option? There's more about the limitations at https://www.php.net/manual/en/function.flush.php

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

Do you mean the sat images? Folk are scouring other sources which are listed at https://gisgeography.com/free-satellite-imagery-data-list/

Still nothing at https://www.google.com/maps/place/Area+51,+NV/@37.2513508,-115.8740472,12z/data=!3m1!4b1!4m5!3m4!1s0x80b81baaba3e8c81:0x970427e38e6237ae!8m2!3d37.2430548!4d-115.7930198 Funny thing they do on Google. Try to get a ground view.

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

I didn't see any mention it must be free in the request. Are you having LOG IN ISSUES? I see you have a second account here.

While I could write one, my works have all been for companies and paid for. I haven't written a free app in decades.

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

Seems someone has done this. I'm reading https://www.zerge.com/firework-screensaver/ My bet is there are others out there for other OSes.

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

@enock, welcome as well. The OP has one hard to decipher welcome post so even I would like to see a little more.

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

I took a moment to see if your code was your code and it's not. It's an assignment or homework.
Example: https://www.chegg.com/homework-help/questions-and-answers/code-help-please-make-code-works-better-would-like-change-preval-f-variable-call-function--q94730241

I didn't call you out on this but now I will.

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

I have to ask.

  1. Why isn't a good idea to test for a possible divide by zero before performing the math?
  2. Why isn't using the fault handling a good idea?
  3. What answers do you expect? Sometimes a new member expects their code to be corrected and finished. If you keep reading here, it's more about learning or sometimes how to research.