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

To OP. That link is one of the usual fake Microsoft support sites. It tries to rope folk in and don't play dumb what is going on here.

It's going to get blacklisted and I can add that sites with spambots will blacklist that phone number.

You know why you were blacklisted. Why did you ask other than to expose your link to spam again?

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

That's easy. Get a backup copy.

Beware those file repair spam replies. Few work and all cost you money. If you decide to buy, get a money back or better yet a demo version.

Also, shills post glowing reviews. They are not well liked.

happygeek commented: 101% agreement +15
rproffitt 2,701 https://5calls.org Moderator

@j, it's odd that you are trying to boot an OS just yet. When you start with a new build you try to get the BIOS to show. If the BIOS won't show, then it's not ready to install or run the OS.

I take your questions seriously. That is you ask something and I'll take it this is what you want to ask rather than the old "I built a PC and it's dead" question. That discussion is out there in the thousands.

If this is the old I built a dead PC question, you start small. No case or drives are required.

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

I'd have to know a lot more about the app. Many batch jobs are run as scripts and for each line in the script, the task scheduler should start a new task on another CPU according to its rules.

If you want to get into this you'll have to know more about the batch job and how it works.

https://www.cs.columbia.edu/~smb/classes/s06-4118/l13.pdf notes CPU affinity if you want to lock it to a single CPU.

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

What is rester?
Also, a "compute" can take a very long time. Example?

The Almighty Answer to the Meaning of Life, the Universe, and Everything. It was calculated by the computer Deep Thought for seven million years.

So any "compute" that takes 5 minutes may be fine.

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

Hi Howard. Installing can vary as laptops could be running a number of OSes from Linux, Windows, BSD, ChromeOS, Android and what else?

For some OSes folk install an Antivirus suite that adds another failure vector.

All that aside, I find myself checking error logs and messages. Are you writing there was no errors?

Gribouillis commented: Platform information is essential +14
rproffitt 2,701 https://5calls.org Moderator

Here (USA) I'd suggest you get your products up on Amazon as well. In the UK I don't know if it's as big a deal but folk I know don't use any new site for quite some time.

Your products would have to be unique like you see on Etsy or you have a great no-questions asked return policy like Amazon Prime.

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

Minor mispellings and typos mean I might not get what is happening here.

One of the Microsoft "things" also known as an overriding concept (some will write it's overreaching) is Single Signon. This means when I sign onto my PC then if all is setup right I don't need to sign on again for a Microsoft server or resource.

But that may or may not be what's going on here. But the small typos mean I may not understand what you are seeing.

Tell more.

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

Just thoughts.

  1. Watch https://en.wikipedia.org/wiki/Nosedive Some folk are already there.
  2. If you are competing with Imgur and Reddit, you have to find a way to be different.
  3. I looked at your prior posts and find titles like "How do I create a website that sells social media followers?" That's a market no one I know wants to get into.

Finally, if you have been at this for years and it's not working, take the advice from Warren Buffett about the hole. If you find yourself in a hole, stop digging.

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

You asked 2 questions.

  1. What do I need for cable?
    The same as what we need in a case. Maybe a few less connections. Hookup varies a little from PC to PC so check the product manuals on what connections are needed.

  2. Do I need a dedicated PC monitor to get IP address?
    That's a simple no. There are many examples of machines that get IP addresses without a dedicated PC monitor. However if you are building a PC you likely want a display so you can install an OS and see what's going on.
rproffitt 2,701 https://5calls.org Moderator

I wonder if this is the usual homework assignment I see at https://stackoverflow.com/questions/7971950/sql-find-names-of-students-who-enroll-in-all-courses

It's a shame the course lacks building your skill up to this point. Go back over the prior material to find out how to build your SQL queries.

When asking a question, be sure to end it with a question mark so everyone knows that's the question.

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

Since you are building did you try it without the case?

Building on cardboard with the least number of parts is an accepted method to find out if what you have is working.

Examples are plenty but to save you a google try http://lifehacker.com/5774713/build-a-temporary-computer-case-out-of-the-motherboards-cardboard-box

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

Try the old comment lines that could fail and then enable them one by one till you find the bad line.

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

Sometimes I find a new programmer to jump ahead too many chapters and drowning in a sea of issues.

Step back and take time to finish more tutorials like https://www.google.com/search?q=vb.net+crystal+reports+tutorials

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

Read the source Luke (!)

From http://php.net/distributions/php-7.0.21.tar.gz

Fopen wrappers ;
;;;;;;;;;;;;;;;;;;

; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
; http://php.net/allow-url-fopen
allow_url_fopen = On

; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
; http://php.net/allow-url-include
allow_url_include = Off

This means with the bona-fide PHP from the source you would have to do nothing to turn it on as it is already on.

Check your source for your PHP? Read the php.ini-production file.

gentlemedia commented: Yes, the production ini file is the one rhat I edit within WHM +0
rproffitt 2,701 https://5calls.org Moderator

http://php.net/manual/en/filesystem.configuration.php (documentation) says it's enabled since 4.x.

https://stackoverflow.com/questions/43543297/allow-url-fopen-is-on-but-phpinfo-says-off notes same issue but an odd fix at the end. I can't test that.

gentlemedia commented: The second link gave ne the answer +7
rproffitt 2,701 https://5calls.org Moderator

Did you post this 3 times? Avoid that. Spamming doesn't get you points or faster replies.

Where is your code? Without it members can look it over. Also, where in the code are you having issues?

Before you reply read this: https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question

happygeek commented: Other posts (which were also thread hijacks) now deleted so people can focus on this one +15
rproffitt 2,701 https://5calls.org Moderator

If you need an analysis of over 300 lines, consider Jlint first. Get that clean then follow advice about how to narrow down the issues.

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

I'm unsure if you get it.

switch (rank)
            {
            case 0:
                if (rank == 1)

There's no reason for the if since the switch already tested the value of rank. Why if?

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

PS. I wrote to COPY lines 183 to 186 and STARE at them till the lights came up. Once you see it, you will know what to do.

Again. COPY the lines to some text editor ALL on their own. Think about what you wrote.

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

I wanted you to understand your code.

Why would test rank to be 0 on line 185 then to be 1 on line 186? We are not using quantum computers yet.

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

As to the missing output. You should run this in say Visual C++ (there are free versions) and break on the line to examine the values and then you can work backwards to why the value was out of range or not working.

I notice line 183 where you switch (rank) and then on case 0 test if rank == 1, that won't work will it?

In short copy out lines 183 to 186 and stare at it till the lights go on.

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

Look at your use of tabs on output. That won't be consistent from machine to machine. Here's a google about that.
https://www.google.com/search?q=inconsistent+tab+spacing+c%2B%2B

There's nothing really wrong there. Just how tabs work and why you should just build a string to output as you want rather than use tabs.

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

Take time to point out what lines of code for members to focus on. You dumped 300+ lines of code so where to start?

Read https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question to see how to improve your posts and questions.

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

Wouldn't that create blogs only commented on by autobots? Or spammers? This would lead to a new Captcha or blogs with more checks.

PS. You also need to avoid asking for full up code solutions. Show your work so far and where you are stuck.
Read https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question

cereal commented: https://xkcd.com/810/ ;D +14
rproffitt 2,701 https://5calls.org Moderator

I agree you are hiding too much. How about one thing. Did you open a SQL command line and see if the server is running?

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

A quick glance finds "<canvas id="snapshot" width="120px" height="80px"" so if you were to take a screen capture the image may be just that. 120 by 80.

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

I'm going to write no, not worth it. Why? From https://www.quora.com/How-much-money-can-an-Android-developer-earn-from-a-free-app-on-the-Google-Play-store I read this.

200000 installs in and earned around $1500. Although it was called an interesting game and is highly rated, most users stopped playing it after a day or two.

That was over 2 years so unless you have the next Angry Birds, it's just not going to pay off for some time.

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

It's a sadly common problem. Remember I take this post as sincere and not a shill posting about Access repair tools which anyone can google about.

-> As an author not only would you write the app but educate the users about backups and more. On your part you can consider buidling backup into your app. For example you might design this to copy the database at start if it opens successfully or on exit. We all know Access databases creates business for recovery companies and sadly those repair.com sites.

In short, they need to pull their last good backup copy and move forward.

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

Everybody starts somewhere. Here you need to present your problems with care. The code you pasted was sloppy and could have folk slagging you on that.

You want quality answers so put quality into the question first. It's hard to add later.

Read https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question then try again.

"Never give up, never surrender."

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

This may be working as designed. That is, you put the image in that canvas, width and height so that's all the pixels your are going to get when you upload. Try a much larger width and height.

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

Reverend Jim noted an excellant tool at https://www.daniweb.com/programming/software-development/threads/508393/visual-regular-expressions

If no one writes this for you, you are now better equipped to hash this out.

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

@K Step back and stop coding. Really! When you design an app you sketch it out first. Then you can thing about code.

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

As the student you write the entire program. As in most forums, members will help you understand why some code isn't working.

In short, write the code. If we write the code, you would not be learning how to write code which is what the class is all about.

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

@newbie. We never saw it. I didn't want to bring this up but how is your internet connection concurrent? That is, at the data center we used the packets would arrive one after another. Yes, to a human it seems concurrent but it really isn't.

So to test load you just load up the input and see how many packets your system can process per second. Bingo, you have your throughput numbers. My bet is your internet feed or drives will saturate before the 24 CPUs do.

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

I wonder if by gps you meant GPS? If so I can share a little but not all about a fleet tracking system that I was a team member on. The GPS data would only go down to about 5 second intervals on the product so this was more of a bottleneck in comms (communication) than the SQL and app that filed the data.

As to heavy traffic this system still runs on a virtual host and you are 100X more than what we use on a fleet of about 1K vehicles.

My view is you are overdesigning. Or maybe you didn't try it on a simple server yet.

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

I'd like to see how too given this feature was removed from all Windows years ago (maybe a decade.) The reason was it was exploited and that exploit is now closed.

I know you want to do this but since your target OS no longer does this out of the box, you may be left wanting.

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

I see you like to share links about this. Can you also share how you find information?

That is, give a man a fish or teach him to fish is the question. How do you fish?

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

Since this is C that line 2 where you declared the newFilename has an array with no space so it would fault on line 3.
Try simple like char newFileName[256];

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

I see the code at https://www.sitepoint.com/community/t/curl-experiments/264321/21 if anyone wants to read it.

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

This is a common question for a new C or other language programmer. To know why I guess you could find books on the history of C and how it came to be. But it's mostly historic and you can code as you see fit. However, it is best to not fight the tide this time and learn how to code using the standard calls and accept that arrays and more start at zero.

As to the bit field question, that varies with the storage you chose. For Integer Types (noted at https://www.tutorialspoint.com/cprogramming/c_data_types.htm ) you have 1 to 4 bytes and since a byte (for most machines) is 8 bits that would be 8 fields per byte.

This can be considered arcana today by some. Let's say you are programming on an average PC today. Not much reason to encode data into bit fields. Just use variables to clearly state what you mean. In embedded programming bit fields are not going away. Some will open a debate on this. I think this quote applies here.

This has made a lot of people very angry and been widely regarded as a bad move.

Douglas Adams

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

@S. It's up to you, but I think you need to reconsider the use of textarea since no rich text there.

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

If you want what DANIWEB uses just message Dani about that.

It's a markdown editor AFAIK. https://www.google.com/search?q=markdown+editor

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

Have you tried another GPU (graphics card)?

Yes you listed it but were not specific. That 770 is pretty old now.

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

Think carefully about line 29. As i is counting up, stacksize is counting down. What do you think will happen?

rproffitt 2,701 https://5calls.org Moderator
gentlemedia commented: Yes!!! Cool API it is +7
rproffitt 2,701 https://5calls.org Moderator

@Stefan, at that quantity you can get them in the few dollar range. https://www.alibaba.com/product-detail/mini-read-only-usb-flash-drive_1716327141.html for example. There are others. I hope you can research this from here on out.

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

@chris. If you want to remove the apache2 directory why didn't you remove it. Your choice of rm or GUI.

As to know how to install it, you shared only 1 of the 3 install commands. I see the purge command was shared along with xampp.

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

Just a note about formatting. Your code has a lot of commented lines and blank lines. This slows others and me from dissecting what's amiss here. You'll get more replies with clean code and telling what line you found that blew up.