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

I wonder what you've done to work this issue. Here you make a post, title and dumped code. That's pretty short and may not tell us if the connection or the data didn't make it to the server.

Anyhow. Take your $query from line 28 and manually try it with your SQL command line. Does that work?

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

Just a comment. Take more time in crafting your post titles.

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

Have to write I don't know how to do this. But I know how I might tackle it.

First I'd sketch out what this report would look like and then for each item on the report think through or document where to get the data and how to calculate the value needed for the report.

It may be that you would need to store all the input data in some SQL database and then create reports customized as you see fit.

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

I'd read http://php.net/manual/en/features.gc.performance-considerations.php and try it both ways. Be sure to add the echo memory_get_peak_usage(), "\n"; at the end to see if it mattered.

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

You may have to reveal which OS and since it's the rmdir step, you can do that with your preferred method whether it be command line or a GUI. My bet is it's just like the above answer which was to remove it yourself.

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

A simple explanation.

You set up a "server" to serve up the database. This is best done with a SQL server. MySQL is free, popular and well discussed.

Now that you have your data on that server you write an app that connects to the server (examples are abundant) to display, change add via your front end app. It's only hard the first time round.

--> Again, your line of code with the hardcoded path would only work for one machine and user. To move to multiuser, you have to kick up your system and skill a little.

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

Help others help you by tagging your post with what language at least.

https://www.google.com/search?q=list1+%3D+Lst.split&ie=utf-8&oe=utf-8 finds it might be in Erlang, Scala or Python.

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

While I do use MySQL I always head back to the docs when odd things happen.
http://dev.mysql.com/doc/refman/5.7/en/drop-database.html

So try to drop this as root too. Noted at http://www.tecmint.com/mysqladmin-commands-for-database-administration-in-linux/

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

Which is exactly why I pointed out the issue with that hardcoded path to the database.

Now that you asked or told about more than one user working on the same data my head exploded. I've seen so many Access and many user failures over the years that over a decade ago I dropped Access and started using MySQL for the database and at first VB6 for front ends. Today I use MySQL for the database and server and C# for the frontends.

I suggest you kick up your game many notches and move to SQL ASAP.

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

I'd seen that kicked around for years but the only bootable image was one you made to work with the Hyper-V hypervisor.
Example: https://www.google.com/#q=bootable+xp+via+hypervisor

So my answer is no booting from ISO because there is no boot manager made to do that. I think someone could tackle such a project but I don't get why we'd do that.

I see further troubles as while this would install the XP OS, what about all the post OS install driver and app work?

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

You seem to be asking for someone to either have the setup you have, or create then load up your system and debug it for you. That's probably why you haven't seen a reply.

Why not share the few lines that seem to not work, tell us why you think it doesn't and see what happens?

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

Since it's an Apple, back to Apple to see if they have updated drivers and such. W10 is, here, different enough that I'm checking drivers on all the PCs that I upgraded. Since yours is an Apple, well you get the drivers from Apple.

And just so it's written, who said Task Manager tells all?

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

The PDF is the assignment but nothing more. Time to design your program, step by step, then write it according to those steps.

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

While the answer is yes, you might ask a lot more questions such as how and so on. For years folk have been distributing apps and work across computers so there's nothing stopping you but you.

But there's a glaring issue in that 1 line of code. The data source looks "hard coded" to a specific user and database. While it may run on that user account on many machines, why is it that hard coded?

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

Looks like it worked as coded. Since you never cleared your string, each loop added to it. Oh so close.
Maybe line 3 moves to after line 6?

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

A quick glance at console.log shows it puts out a newline after each string.

So, build a string and when done, console.log that string (in line 23.)

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

OK, now run NSLOOKUP on the client that doesn't work and see if NSLOOKUP works.

This is starting to sound as if the Ubiquity is the issue. I'm not using their product so you may have to call them if this is the cause of the issue. We've done the rest of the checking so what remains is the Ubiquity.

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

Sorry to read your last reply. I don't mind reading your code, and commenting on it but rarely do folk write your code for you.

Do not take offense at that or this website to follow. There appears to be a lot of new and old programmers that think it's OK to ask folk to write their code for them. And some even get irate when you don't. Longer read at http://mattgemmell.com/what-have-you-tried/

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

192.168.0.3 is the DNS server? That's odd in a few ways. I'm missing the big picture here but I had thought the the .1 machine had the DNS duties. What is 3?

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

Something is missing here. Why did you need another key for that original W7?

The only time I've seen that is when a client used a VLK and Microsoft invalidated the VLK. As well they should as it had been shared on some torrent.

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

The client is the client PC. Not the client's server. "Who's on first?"

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

Not yet. I can't find how the client resolves addresses yet. The client's DNS entry is eluding me here. I'm not saying you didn't share it but I can't find it above so far.

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

OK, line 6's printf output is "b is 10" and has a trailing \n os that's 8.
Line 7 printf output is "a is 8" with a trailing \n so that's 7.

printf() returns the number of characters it printed so all looks right here.

CodyOebel commented: AHhhhhhh the number of characters returned ... I seee +3
rproffitt 2,701 https://5calls.org Moderator

I asked for the client IP settings. 127.0.0.1 would be a failure point. You are close to solving this as it is indeed a DNS issue. But here I only have what you share and maybe you posted it but I don't see it. What are the client IP settings?

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

The line that jumps out at me is:

DNS Servers . . . . . . . . . . . : 127.0.0.1

That would, on a client tell us the DNS (server) is us. That's rare.

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

So you checked AP, server, some IPs but I can't see where the client IP settings were checked. Many new networkers won't share LAN addresses as they are just new and fearful. No one can hack your 192.168.x.x address.

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

Time to single step this one and post as Code again along with the line number that's creating the error.

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

I'd stop doing this now. Why? Read a prior discussion about printf and null at
http://stackoverflow.com/questions/11589342/what-is-the-behavior-of-printing-null-with-printfs-s-specifier

The long answer is that you add code to detect such and replace the string with what you want to print or use another printf if you so choose.

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

Here's the thing. What you asked for would not only require such a builder that met your specs but would get us setting up a copy of your target web server, email links and more. So, let's say this is all to be done offline. You essentially created a lot of other work all for the sake of doing it offline and with a form builder that is offline. Get the picture yet?

Why not use some Godaddy form builder that is easy to use and sends you the filled in form without having to find out what your web host uses so you have to build a copy of that just to start the search for this form builder?

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

Too vague and sadly what some shills post to lead into those file repair spam replies.

Don't leave out details. What is this file? What should open it?

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

Well that's annoying. I don't run .EXEs from others without a clean pass like
https://www.virustotal.com/en/file/fb8f90b15bd06f3f549c0ffa296621681d7b9cd822da80616b14bef5631a78a3/analysis/1461550967/

You may want to ask your compliler source what's up.

Antivirus Result Update
Antiy-AVL Trojan/Win32.Diple 20160425
K7AntiVirus Trojan ( 004b907f1 ) 20160424
K7GW Trojan ( 004b907f1 ) 20160423
Qihoo-360 HEUR/QVM20.1.0000.Malware.Gen 20160425
TheHacker Trojan/Generik.NTTPLRZ 20160424

Gribouillis commented: good idea +14
rproffitt 2,701 https://5calls.org Moderator

I clicked more than 3 times at bitbucket.org and must not know my way around that site.

One of the really important things to do as a developer is to figure out your delivery system. It's got to be simple. Example:
https://www.youtube.com/watch?v=2tfh6OUUYUw

This author put up his work for free as a PDF, the story continues at link.

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

The first Dropbox link 404's for me

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

Before I answer, you haven't asked a new question as we read from https://www.google.com/search?q=Documentation+or+in-code+comments&ie=utf-8&oe=utf-8

So my answer is that you do what the person is paying you to do. Heresy!

And the higher you up SEI, CMM and so on, the less you see of the code. As you move to a system like SEI Level 5, you put in a change request and that generates the code. Example? The Space Shuttle was SEI Level 5 with an exception for the backup computer. To some this never really happened and some will write "Burn the witch!" over use of such magic.

What I find is I have to use a variable approach to each project. I'll do what the client demands even if I disagree. They are paying the bills so let's give them what they want.

So what do I use? I think I like a method I read in "The HP Way" years ago. We produce The User's Manual first. This describes what it does and how the user uses it. Now we have a fine end goal and can map out how to get there. There are thoughts that you document the code before you write code but my view is you do that if paid well and they accept the years it will take.

This reply is pretty much a chip off the visible ice berg of the question you posed.

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

I took a look at this with https://www.google.com/search?q=mod+menu+for+ps3&ie=utf-8&oe=utf-8 and was pretty sad as the first one had a trojan and then other folk seeking help don't know or won't look into file system or USB stick size issues.

OK, back to you. Tell more about what you are using, what size stick, what format is it and what tool you are trying.

Remember these mod's are sadly trojans so maybe it's best to just forget it.

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

Converting from say seconds in some variable to minutes and seconds is a classic beginner's programming exercise.

Think about how you do this in your head now. Now some can translate that directly to code but for beginners you may have them write down the process step by step. You have them do this since they won't learn by you giving them the code. Again you never give them the code.

Why? It's so they learn how to break down the problem to discrete steps that you can write code from. If the step can't be translated into code you help them along by telling them to break that step down into smaller steps.

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

I can't guess if the loss of shadow is a show stopper. I will share in one case the demand was that it must be just so. And the fix was rather awful IMO but hey, you gotta do what you gotta do.

So instead of text we crafted an image with the text in the image that was pixel perfect. Works but not easy to update.

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

Thanks for trying to research it. I'm growing fond of the caniuse.com when it comes to features across browsers. But once in a while you will run into folk that are chasing the elusive and maybe mythical "my web page must work across all browsers." The more I know, the less hopeful I can make such a site. Simple sites? Sure, but get fancy and it's a house of dirty cards.

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

OK, you tagged this is "c" and no target so I can't see the big picture. It also looks like you are polling that timer which as you learn isn't a great way to respond to timers. I think you need to complete your post with more detail about the target.

Also, read http://www.dreamincode.net/forums/topic/145066-creating-a-simple-timer-in-c-only/

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

I took a quick look at http://caniuse.com/#feat=css-textshadow and the box is red.

That's not good. Where did you find this was supported?

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

Still can't find code to save your customizations when the form closes. To quote Nintendo.

Everything not saved will be lost

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

Let me read your article "tags". I see " development game games gaming project " but you left off the language. Remember that reply about you having to put in the bulk of the effort?

Collision detection is a very done topic. I double checked with https://www.google.com/#q=collision%20detection%20javascript

Doing this from scratch means you have to read a lot and start small. Frankly I'd look into a 2d game engine but this is not something you do without investing months of work.

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

Since I don't know your code, you can try going back to what worked. Since I happened to have the target machines I thought I'd look to see what's up. I find many times it's simple issues W3C tosses out. The bouncing balls is for you to debug next as the last I looked it failed on all machines.

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

Then use their demo from the zip file first. I took the .zip from the URL you gave up top in your code, the extracted that to a desktop folder and opened index.htm Datepicker did work. I read the docs and it said "Make sure to also include the legacy.js file along for the oldie browsers." which you did not.

It appears you tried to use this without looking at the demo or example or docs.

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

@OP, the bouncing balls went for more than 30 seconds so I took it as a failure. One more time?

OK, at 60+ seconds on a fairly fast connectio, Firefox and just 3 bouncing balls. Your site looks broken from here.

In Firefox's debugger it tells me it's stuck in some recalculating style loop. Looks like the site is non-op right now.

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

Where depends on your web server setup. I can't know what you are using and folk use dozens of web servers of which I am a master of none. I know the basics but you have to be a near master of the web server you plan to use.

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

These are devices that appeared long ago in CP/M and DOS days. It's that simple. These are devices. Some are real such as the console and printer but nul is just that. Send something to nul and it goes there never to return.

I take it you are very new to the internet. Such devices have prior answers. Did anyone show you how to google or research yet?

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

I think folk are downvoting because you are dumping code and not much else. Try something. Tell what line or function is giving you trouble.

Also, duplicate posts like yours at https://www.daniweb.com/programming/game-development/threads/504035/how-to-add-a-score-and-collision-detection-for-my-catching-game- can get you a downvote.

Maybe start on a smaller app that only changes the score when folk click a button. That way you build you skills and figure out how to keep score.

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

That's a start of the effort. But since there are open source such systems, why create yet another one? I see this is your first post so either you are very new and don't use google to find existing systems or was hoping for something else. What do you need now? What have you done to create this or find one?

ddanbe commented: For the effort :) +0
rproffitt 2,701 https://5calls.org Moderator

My first peek is that your script source on line 8 looks incorrect. Just for a test I went to that URL and it pulled up the site and not the .js content. ( https://plugins.jquery.com/pickadate/ )

So just to look a little deeper I downloaded it and got a .zip file with the needed .js, documentation and what looks like a demo.

My advice is to try the demo first.