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

That's quite the assignment or is it? For homework we ask you show your effort (see https://www.daniweb.com/welcome/rules ).

If you feel you need this done for you then look to hire help from places like fiverr.com.

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

Reply to the discussion rather than comment. By your comments so far you need to work out the steps it takes to get to your goal.

That's called design. Design first, code later.

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

Some want members to write the code or app for them. I don't see that here. What I do see is help for a function, a line of code or such but not the entire solution or app.

Remember I can read the comments you made and removed so to discuss the steps you created and to compare them to your code to see where it diverged I'd have to see and read that design document. Some tend to rush into code before they have how it will work step by step. Or "I know what the result should be" and think that's enough. (it's not.)

There are places you can get apps and code written for you such as fiverr.com.

-> Back to what you have above. I don't see that code doing what you asked. Specifically it doesn't seem to keep track of office capacity and when it gets full then what to do when that happens.

Cyril1 commented: I have also tried to read the office file into an array-list, that didn't work too. if office capacity is full, another shift starts. +0
rproffitt 2,701 https://5calls.org Moderator

The code above doesn't appear to do what you asked. Back to your design (algorithm) to see where it diverged.

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

Let's say you want to use that bank. Then they would be asked how to add this to shopify or some other system.

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

Cross posted inside the hour? I'm reading https://www.codeproject.com/Questions/5300626/How-do-I-read-the-content-of-2-different-csv-files

Frankly I would not code this one before I wrote down the algorithm. While you have code here I don't see your method. (algorithm)

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

I see over 10 supported payment systems at https://www.shopify.com/payment-gateways/macao-sar

Why work hard here?

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

Welcome to DANIWEB. Good to see all the new members.

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

I would be guessing what you want here. Members can upvote if you do good, down if not so to get points, keep working on hopefully good replies to other member questions or better yet, write a tutorial!

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

Sometimes I find a person new to such and they haven't learned how to research.

Others try to code before they have a design. I'm not sure which applies to you but there's a third group that want an OS as complete as a modern BSD, Linux, Windows, Android or Apple but want to complete it by next Friday for their final project.

Where do you fit in these types?

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

f = open("/home/onelabad/Desktop/output.txt", 'w') error start from here

Make it simple. Try
`f = open("output.txt", 'w')

Usually the file permissions are fine for the folder we are currently in. I can't guess the permissions needed for that other path.

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

This appears to be homework. Let's see your work so far.

But hey, SPOILER LINK. Do not click.

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

I haven't seen a lot of MySQL tutorials here. Try https://www.google.com/search?&q=free+mysql+tutorial

Everyone starts somewhere. I'm finding folk need a hand or pointer how to find things.

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

You left out why you need to do this. There are ways to keep variables during a session so I can't guess why you pass by the URL.

Example: https://www.javainuse.com/spring/springboot_session

Sarahle commented: This work with php , no ? +0
rproffitt 2,701 https://5calls.org Moderator

https://www.google.com/search?q=sap+crystal+reports+export+to+pdf+site:answers.sap.com seems to find this is a common discussion there.

Here it appears to be missing details such as how you intend to code this along with small details about the web server, email delivery, etc.

Lots of moving parts but your solution may change according to what your final design and code choices are. As it stands, not defined enough for me to pick from answers at answers.sap.com.

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

I'm going to defer here as I don't know what you have. What you have determines the solution. Head to the community at the link above and they probably know how to identify what Crystal reports server you have.

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

Line 95 throws an error at https://www.tutorialspoint.com/compile_java_online.php

I'd fix that first.

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

Let's hear more about what this web server is on. Linux, Windows Server (2003 to 2019?) and what version of Crystal Report Server (see that link above?)

Now once in a while someone wants to hack such together to avoid the costs but I won't guess that here.

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

What server?

Also https://www.crystalreports.com has a community and more.

Hope you have a high limit on that credit card!

-> Are you sure you must do it this way?

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

Not much to work with here but in the old 23 year Visual Basic 6 IDE, you find NEW FORM then OK that, then click and drag the objects you want onto the form.

While this creates the form, it's anyone's guess what more your boss wanted today.

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

It's unclear what the other form name was.

Also lines 6 and 13 seem identical with a change in character case so what a way to confuse everyone what those two lines are about.

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

Look at lines 8 to 11. That's your foreach section. Your insert is outside this loop so it looks from here it would have a single insert.

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

Try https://wordpress.org/support/topic/warning-use-of-undefined-constant/

Also there appears to be missing code. Maybe you didn't share enough for us to see where this was defined.

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

That sounds like you need to find a site that hires out such work. Fiverr.com is a typical for hire site.

Here you read https://www.daniweb.com/welcome/rules to see you must show your work or the parts that fail and ask for help in that area.

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

I didn't do a deep inquiry but think it could be the old GMT vs Local Time issue again. Think about your number of hours difference from GMT.

Quick fix may be to add 2d or put an if statement to use 2d if after 12AM.

helloworld2021 commented: ok ill try that way first. tq for reply +0
rproffitt 2,701 https://5calls.org Moderator

If this is true then it's not your code but again, limits being hit. Could be a bug on Google's end. Time to ask them in their product support forums.

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

I worry you didn't try the link supplied. In the top 10 results was:

Don't buy "Modern OpenGL" Udemy Course! It's pure garbage. It just rehashes everything from learnopengl.com and open.gl.

While it's not pure garbage it might be to those that already have learned a bit of OpenGL. You might get the same reaction from any programmer if you put them into a Comp/Sci 101 course.

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

That's over 500 lines so it's best if you call out what fails and what lines you feel need a closer look.

ComSciNum7 commented: Completely understandable! I think the main problem is in in the remove and insert functions, everything else tends to stem from those two functions? +0
rproffitt 2,701 https://5calls.org Moderator

Sounds like a nice final year project. But I see so much missing detail that it looks like some basic design work has been entirely skipped.

Is there a design document available for us to read? Or is this one where we skip design and start coding?

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

I don't see it in the supplied information. But a friend works such and they run into limits all the time.
https://firebase.google.com/docs/firestore/quotas#:~:text=10%20for%20single-document%20requests,also%20applies%20to%20each%20operation. for reference.

Saboor880 commented: rproffitt I created new firebase account, and just started to insert data, Just after my first insertion, I started facing this problem. +3
rproffitt 2,701 https://5calls.org Moderator

That looks very much like c to me. Sadly you didn't put much effort into this discussion so I'm left wondering what the issues are.

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

Show your work, ask for ideas why it does or does not work.

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

This format (Reusable Code Snippet) is for you to share your finished work. To start a new discussion you use other posting methods.

Also, I've yet to see anyone do what you asked. Most problems have members show their work, point to where they have issues and ask for ideas on how to solve.

You seem to want to source a solution. Try https://www.fiverr.com

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

That question has been put up some ten thousand times. As you asked it again I take it you need to know how to find prior discussions.

Read from https://www.google.com/search?&q=How+Can+I+Get+Backlinks+For+My+Website%3F

Everyone starts somewhere.

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

Was there a problem and question here? You didn't put much effort or this was a post you didn't complete.

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

Everyone starts somewhere. I take it you are still learning how to search for such so here's how I would look.

-> https://www.google.com/search?&q=udemy+opengl

Eu_531 commented: So, the single way to learn is to buy courses or books? +0
rproffitt 2,701 https://5calls.org Moderator

Say hi to Mr. Burns for me!

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

Simplest code (incomplete) I know of.

f = open('/proc/meminfo')
f.read()
f.seek(0)
f.read()

More at https://linux.die.net/lkmpg/x769.html

Sorry, but I should have noted where to get source too for a good ps: Read https://gitlab.com/procps-ng/procps

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

https://www.google.com/search?&q=3x1%2B2-9 says it's -4 but to me it wasn't clear what was expected versus what happened.

Also, what was the assignment? The assignment appears to be missing here so it's guesswork on my part and I can't tell what it was really supposed to do. Maybe it's some sort of odd calculator but no calculator I know takes in that Input and gives up either answer you shared.

Tell more.

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

The pandemic hit a country that was already home to big gamblers. A House of Lords report titled “Gambling Harm – Time for Action” published in July 2020 found that half the adults in the UK gamble at least once a month. A third of a million of UK citizens are “problem” or “disordered” gamblers. It is estimated that for each problem gambler, six other people – a total of two million – are harmed by the breakup of families, crime, loss of employment, loss of homes and, ultimately, loss of life.

Homelessness, loss of life among other results have me write that this is an industry that should be more heavily regulated than it is now.

"The house always wins" or in other words, all gamblers lose.

Let's not sugar coat this, if you are running such sites, you are likely to be a sociapath.

Sociopathy refers to a pattern of antisocial behaviors and attitudes, including manipulation, deceit, aggression, and a lack of empathy for others.

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

Read https://www.daniweb.com/posts/jump/2156447 first.

I'm not the person to ask about this as there were people I know (they have seen become homeless and lost in the world) over gambling addition.

They burned through half a million dollars in a very short time.

Dima_5 commented: I think if you go to the game with the mind, then nothing like this happens. +0
rproffitt 2,701 https://5calls.org Moderator

device name is not in the API as I know it. Even https://www.freecodecamp.org/news/exploring-device-detection-for-better-user-experiences-in-2020/ doesn't know it.

Now from memory there are ChromeOS devices that register with Google but I'm going to call that proprietary and private to Google's own world. Not something we can use at large.

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

The closest fix I know of is to replace the motherboard with the same make and model. Remember you asked for 100% and that is the only fix I know of that comes close. Sysprep and more has never been 100% from my experience but as you know this area has a lot of priors so I'll not duplicate that here. Google something like "change motherboard and save Windows."

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

Just me thinking it through the ??? section in psuedocode:

while there are objects in the queue
{
  for loop interating the names vector from first to last
    {
     if there are objects in the queue, pop one into the named vector
    }
}
Gabriela_4 commented: Thank you so much, i think it would be more difficult ,but I was thinking of a harder solution :) +0
rproffitt 2,701 https://5calls.org Moderator

My thought here is there is an issue with hypothetical cognitive bias .

But beyond skill in Java, what about the other skill such as problem solving? Being a master in any area goes beyond being a master in that skill so how to measure this is always hard.

Maybe the answer is given by https://en.wikipedia.org/wiki/I_know_it_when_I_see_it but then it's always up for debate if the skill is there since the master of Java couldn't deliver an automatic translation system for Ugaritic. That had nothing to do with their Java skills.

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

In regard to "as I want." To me this was a two step solution. Step 1 was to use a common word frequency routing and the second to grep out as required the results of step one.

I'm running into folk that want ready to use code/app for their assignments. For that you head to job sites like Fiverr and others.
Here we discuss possible solutions and when we are really stuck the problem is presented along with what is the issue. If the issue is you need a completed app then it's off to sites that sell such.

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

This sounds like we can re-use prior works.

  1. First we need that word count. Here's Rosettacode:
    https://rosettacode.org/wiki/Word_frequency

  2. Now we have those counts, a grep will be fine. Here's an example I can copy and work over:
    https://www.daniweb.com/programming/software-development/threads/152550/how-can-i-grep-a-file-using-c

Remember I take it this is a real need and not homework.

Haneen_1 commented: the first one doesn't work as i want..i will try with the second one +0
rproffitt 2,701 https://5calls.org Moderator

Please show your work and let's chat about what is stopping you.