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

https://www.reddit.com/r/firefox/comments/cdmqbf/getting_a_lot_of_pr_connect_reset_error/ and other discussions seem to note malware.

Time to scan. As to no Antivirus, W10's own defender is an antivirus but malware tends to be something else and the user is often found to be going odd places on the Internet or installing crack.

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

Is the name being generated by "dr("ID").ToString()"?

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

Everyone starts somewhere so what you need to know is that OPEN SOURCE for so many systems is out there. I can assure you that I don't know them all but will research such on Google. Here's my google on that and sure enough, there's the source code.

https://www.google.com/search?q=OPEN+SOURCE+BILLING+SOFTWARE+PYTHON

I added the word PYTHON since you must be very new to how to find such and PYTHON is not that hard on new folk.

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

It's your code as well as what is in that .CFG file holds so all this is up to you. You may have left out details such as you are using some system but didn't tell so as presented this one is "you and your choices." No one can tell you much as you presented the problem. Next time share enough detail and code and end your questions with question marks.

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

That sounds like the old "look in a database and show what your wnat on screen" that is something web sites do all the time. So that's not new and I bet examples and tutorials are out there. But you would have to tailor it to your web site and server which is what you'll be working on for a few weeks.

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

The last time a developer needed Fedex tracking they used their API. And if they didn't understand the API then they contacted Fedex.

However I'm running into developers that either don't write code (?!) or don't want to work with the API or its owner. Seems today's developers can be one odd lot.

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

Usually I start almost over. I like to do such in C# because that's what I use for a lot of our office apps. What GUI system would you use?

Why I ask is that C++ isn't enough to begin this discussion as on Linux you may use one system and on Windows another and on Apple OS, yet another.

rproffitt 2,701 https://5calls.org Moderator
DaniWebUser_1 commented: Thank you! This worked. +1
rproffitt 2,701 https://5calls.org Moderator

Since you are predicting and can't take into account real world impacts like legal wins and losses along with market sentiment all these are fairly compared to junk science. I'd google a bit more and not put money down on such predictions. That said, there are those that hype and sell these stock market apps to help you pick the winners or if you are out to short a stock, the losers.

What has worked for me over the years are companies with a story. Microsoft, Cisco, Red Hat, Amazon, Apple were good bets I took. Today it's Tesla but your MPS LSTM won't get this one right as this one is the story of bears and competing industries. Old industries are going out of their way to maintain the status quo with FUD along with legal wranglings to stifle and slow the change.

If you are looking for this to predict the market, it's far too short of the mark.

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

"The thing is I have 0 interest in programming and I just want to get over with this."

Then let your solution show this. Far better to submit what you feel is your work than pay for something at Chegg then pay again over the years for cheating.

Just write something. It doesn't have to work, it only is to show your current commitment and skill.

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

Now I see it. The SKIP value for that loop.

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

Line 11 looks odd to me. I used the following to test and it appears to do exactly as you coded, not as you asked above. Why did you i += START?

import java.util.Scanner;  // Import the Scanner class
public class MyClass
{
    public static void main(String[] args) 
    {
        final int STOP = 500;
        //int NUMBER_PER_LINE = 10;
        Scanner val = new Scanner(System.in);
        System.out.println("Enter your value ");
        int START =val.nextInt();
        int counter = 10;
        for(int i = START; i <= STOP; i +=START)    
        {
          System.out.print(i + "  ");
          if(i % counter == 0)
             System.out.println();
        }
        val.close();
    }
}

Tested at https://www.jdoodle.com/online-java-compiler/

Again, I didn't fix your code. Just wanted to test what you had and well, what's the thinking about your line with the += statement?

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

Given you want the next three months I see two quick solutions.

  1. Math. In psuedo code:
    cm = 11 'current month
    array[1] = cm +1;
    array[2] = array[1]+1;
    array[3] = array[2]+2;
    for i = 1 to 3; if array[i]>12 then array[i]--12;

  2. Another method but with some array copy.
    marray[]= 1,2,3,4,5,6,7,8,9,10,11,12,1,2,3
    arraycopy(array[1] (from), marray[cm], 3 locations)

My answer here is messy and in psuedocode. You can tailor it to fit or create your own solution.

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

Since Google hasn't made those changes yet, there are none.

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

Why isn't this done in a brute force method? You have your current table of 118 elements so you could make 118 if statements?

What is stopping you?

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

Since this is a task and not some homework I'd look at open source code analysis.

Also read read replies at https://www.codeproject.com/Questions/5252136/Find-the-complexity-of-the-counting-sort-algorithm

Big nod to using the Lizard at http://www.lizard.ws/ and https://github.com/terryyin/lizard since it supports a wide variety of languages and is open source which is perfect for tasks at work.

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

Links in signatures are not used for google searches and SEO. So you may be degrading your reputation for nothing.

Your questions are rather horrible and inane and even when folk reply you are not engaging in your conversation. As such you are building up a reputation and it's not a good one. That may hurt your business attempts as well as folk read what you are doing here.

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

I'd look to prior works like MIT's UNA Urban planning toolbox as it incorporates concepts like ARCGIS for the data and graphic output.

I can't guess why someone would start from scratch with text output when the development of such systems is something that maybe thousands have put in a lot of time on. More at https://www.fastcompany.com/1778514/mits-free-urban-planning-software-will-help-build-cities-future
and http://cityform.mit.edu/projects/urban-network-analysis.html

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

I found no question. There appears to be an assignment but the question is missing. You may have to add your question.

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

This sounds like you need a primer on strings. Time to find a tutorial on strings. How about: https://www.tutorialspoint.com/cplusplus/cpp_strings.htm as it gets into C style strings and new spiiffy C++ strings.

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

What's up with line 8? You use toke and I can't find its declaration.

zdreggs commented: Sorry, that should be token +0
rproffitt 2,701 https://5calls.org Moderator

Second idea. Line 2. What if that test comes up true when it should not?

More println's to see what it is doing.

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

Also, error behind your keyboard.

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

What about https://www.maketecheasier.com/install-adobe-creative-cloud-linux/ ?

As to my move, I only used Apple when there was no other solution. What was that? iOS apps. Today that need is gone and so am I (from Apple products.) I still have my iPhone 6 but Apple is not making it easy to leave as I can't remove it from their cloud so I can't sell or give it away. THAT expererience has me even more reluctant to ever go near Apple again.

So I'm pretty much only into PCs, Android and the embedded systems I work in.

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

JamesCherrill may be right. To test that idea add a System.out.println("Entered actionPerformed"); before line 1.

However line 5 sets available[i] to 0 then line 11 tests for 0 so maybe it's doing what you coded it to do.
There are many ways to fix that logic. From putting available[i] into a temp variable and performing the switch test on the temp variable to recoding.

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

This makes it 3 posts and fine examples of what to do if you do not want help.

While I'm no expert in 80x86 assembler I have worked on over a dozen microcomputers for embedded systems which required assembler to create the bootstrap to get to C where the bulk of the work was done.

Inquiring minds want to know why are you posting like this. Maybe you just don't know that code dumps with comments and questions are going to get you no where.

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

So much wrong here. Your post title doesn't tell me much about what you want to talk about then you post code but not in the right format (some moderators fix this for you) and then I'm left to guess this is some 80x86 code.

Frankly I'd fix some of those issues then try some assembler IDE system where you can single step to the line of where the issue is and then tell what line that is.

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

As to speed, I may be wrong but at the office and home we may have removed our very last spinning rust mechanism (AKA HDD) so with that a lot of the delays are gone.

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

As folks explore Windows File Explorer they eventually agree it's one size fits all doesn't work for specific things.

Why not try other file search apps like EVERYTHING and others?

Reverend Jim commented: EVERYTHING is awesome +14
rproffitt 2,701 https://5calls.org Moderator

Try the std::cin.ignore method method.
Example prior discussion about its use at https://www.reddit.com/r/learnprogramming/comments/3yfvxe/c_why_does_the_stdcinignore_method_require_a/

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

At least it's not as bad as https://en.wikipedia.org/wiki/Mariner_1#%22The_most_expensive_hyphen_in_history%22

Hope it didn't take long to find.

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

" I do not know how to add the no average statement " is what I addressed.

As to the wrong answer, test your code with a cout of what the values are at the time of count and sum.
Be aware you did not initialize sum so in some compilers that could be a random number. As to average, no need to initialize.

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

If the number of typed values is zero the program writes 'NO AVERAGE'.

After line 25 you would have a test for what count is. Not using the code style since this is not code:
if count > 0 then (what's on 26 and 27)
else no average.

ImmutableIcarus commented: For some reason my average keeps coming out incorrect. +0
rproffitt 2,701 https://5calls.org Moderator

@DG, I tend to not worry about when the student gets the homework done for them. Why? Next week another assignment and they didn't learn from last week so the climb gets harder and harder. Eventually they fail. Or worse they learn "this is how you program today. You ask and let others write the code for you."

PS. Added with edit. Now that this code is on the web, a prof could use one of the many plagiarism checkers and blammo. They get a failing grade on this assignment.

ImmutableIcarus commented: In my defense, I do not have a proffesor for my C++ for Engineers course. I only have my TA to teach me, and he is not great at explaining. +0
rproffitt 2,701 https://5calls.org Moderator

Sorry but I neglected to note which item. This one: https://www.daniweb.com/digital-media/ui-ux-design/threads/520758/what-is-difference-between-ui-and-ux?utm_source=DaniWeb&utm_medium=Email&utm_campaign=RecommendedArticles

And it was 1 month ago, not 2. Didn't check all the links in the email yet.

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

Thanks for that. Again, this is not a complaint but my observation and wondering if this happens to all. I take it that it does not so case closed.

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

Long Title: "Here are some top topics recommended just for you" email recommends a thread deleted two months ago.

"what are the feature of window 10" was in my email and that looks to have been removed two months ago. As a moderator I can get to it but is the code behind this in need of a little update to not recommend content that was removed? What about folk that don't have this superpower?

I'll forward this email back to you via email with comment.

In short:

  1. Received email from DW on 11/20/2019.
  2. Thought I'd read an item but discover it was apparently removed 2 months ago.

For a moderator, if this is how it works I won't complain (this is not complaining.) But if this happens to others they may wonder.

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

While your formatting was awful, I do see you forgot { and }.

Read http://www.cplusplus.com/doc/tutorial/program_structure/ as a primer/tutorial to fix this.

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

Did you try to buy the answer on Chegg?

Long link here.

Imagine if your instructor or Professor found that!

Anyhow can you break down the one problem you are having and tackle that?

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

You would think I'd do that but then I would not have the everyperson experience. So as a moderator I have to see what others see with a spare account which I do now. But pay and I see even less so without a toggle of ads on/off it's better to have ads on. I do not want to ask for toggles to show, not show this or that but maintain the home page is a lost opportunity.

In other words, if I pay I miss out on what others may yelp at.

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

Just checked out daniweb.com on my Moto smartphone which BTW has Chrome as it's default browser. DW came up just fine and thank you for pushing the big advert off the top of the screen. Otherwise it would have been just a few items then something about Sprint.

About Sprint. Horrid experience there. I had moved from Boston to here and since we were using Sprint for the carrier of our GPS tracker solution (school buses and such) I setup Sprint as my carrier only to find out the coverage at home was 1 bar to none. Even outside.

Now you think I would have bailed but this was used to our advantage as we worked on how the product performed as coverage went in and out of range to low quality connections. I could see all this from my office without having to hit the road.

Later we met with Sprint about many things and I asked about coverage near me. My neighbor had told me Sprint removed a tower in the area which the engineer confirmed so this lead to checking out other areas where our clients were asking about long delays on the GPS location reports. Sure enough, same story.

You can bet that I personally won't reccomend Sprint or any of its MVnOs.

Time passes, the product development is done and I go with a T-Mobile MVNO. Much better. Also, ATT and it's MVNOs are better but hey, Ting.com works for us.

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

I feel I should share that for my brother who runs an insurance business that telling staff, users and who else to try Chrome has resulted in thank you's as folk can now get it done. We have no hope these companies will fix it to work on last year's Safari (this was when this issue came up) so we have a great solution which no one has said "not a good experience."

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

Thanks Dani for the rundown of Chrome on the iPad.

Here it's been a hit since my brother wanted a workaround to some sites which are mostly about insurance that didn't work on the iPhone or iPad. I mentioned he should try Chrome and the next day he reported all was working so to me this is a valid fix to some sites that didn't work on these devices.

As a developer I would find such omissions disturbing. But for the users they just want the site to work and as you pointed out above, changes are done for reasons.

This also reminds me of this XKCD https://www.explainxkcd.com/wiki/index.php/869:_Server_Attention_Span where you try to get the normal page and the server is adament to serve up the mobile version.

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

My son is almost on that educational road. He finished his 4 year, now back in school for the masters in a more technical area. Loads of math and programming courses.

As to your question, meet with your school counselor and map out the courses required.

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

No wi-fi frustration here. Since it's our network we deploy what is needed and more. If you are frustrated why not deal with it with a better network?

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

Your post is as friendly as some bus drivers. You pull up, dump, and drive off without a word.

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

That's fuzzy as a picture. Try again but post as code.

Henry_28 commented: import fileinput import sys for line in fileinput.input(): sys.stdout.write(line) +0
rproffitt 2,701 https://5calls.org Moderator

Incredibly dated. I can't find VB 2010 for sale. How would anyone test this? Why isn't the Community Version you can get for free not an option here?

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

How about changing line 19 to test for not equal -1 (your exit condition)?

And drop line 27 since you will loop around to line 21 for another input.

While this current code omits counting how many valid numbers were input, you can start by fixing up a few basic things then add your input counter later.