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

Here's a thing. https://www.google.com/search?q=Htaccess+redirect+if+folder+exists&ie=utf-8&oe=utf-8 shows priors so if this was up to me I'd check priors.

But in my view I'd be using my PHP (foo) to do this.

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

That question on google finds such things. However this would require the same support staff to install, configure and manage as most such systems.

Remember this is something you do your research, then make your report to the committee so learn to do such research. That is, I'm starting to see posts like this where folk want others to google it for them and write the report as well!

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

For me, I wrap my queries in another language so for me it's possible to write code that sorts finely. Your post reminded my of the priority options in MySQL so I thought I'd share the relevant document.

So for me, I'd make the solution in my app and would not find it to be a problem to use more than one query. But that's me.

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

What this tells us is this PC has some hardware issue or something that's not in this discussion. It's quite an old PC so the cost to repair is more than getting a replacement.

Yes you will get clients that want it fixed so you go get a new motherboard, CPU and such to bring the case back to life.

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

Just a quick look, what about priority? Read this link about that and MySQL:
http://dev.mysql.com/doc/refman/5.7/en/sorting-rows.html

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

For my reply I'll talk about "design." I looked at your code and it looks like you are drawing on the Google map rather than the display.

So there is no drawing on your display or image by you. I'll skip writing at length so take this as is without feeling I shortchanged you. I would be guessing you are using a web browser so by reload the page you fire off your script and thus it works but looks a little ugly. Since it's just a school project, this usually is fine.

So back to design. Rather than putting that map right from google to your (unknown) display you would redesign this so the google map images go to some file or image array and you paint/splat or such to your image area insted of a total page load. There are so many prior examples of image rotation in a browser view that I won't broach that subject.

Recap. Redesign so the map images go to some file system. Use a script to rotate the new image into place.

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

A couple things. Moving a Windows install on a HDD from PC to PC is an iffy thing. No one I knows tells you that should work.

As to the fresh installs, the past is the past. You'll have to dig in and try it with less parts such as one stick of RAM and whatever else you can remove to sniff out what's wrong with this PC.

I did run into a few folk that were swapping HDDs around PCs like spare tires. That is not supported and rarely works.
Another thing they tried was the Windows OS that came with other PCs. Again another area that is known to fail.

You did reveal the model so this is 7 or more years old and cheap to replace as I read prices from https://www.google.com/search?q=GX280

You might have to settle for Linux if that's all that runs.

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

Now with more downvotes?

I clicked on the downvote and get this: http://i.imgur.com/MMMDBT3.png
Wow, -4213433 downvotes. Click it agan and bock to-2106714 downvotes.

It's not a severe bug. Just one of those odd things. And appears repeatable.

Find any post with say 0 or 1 downvotes and try it.

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

I see -2 if I refresh the post. Try downvoting, upvoting and such to see if you can replicate?

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

For reference see image at http://i.imgur.com/NUUcLel.png

While it clears up on a page reload, it's humorous to see over 2 million downvotes.

Just reporting, not asking for a fix.

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

I did a little research on this and it appears most SQL servers do this today. http://www.techrepublic.com/article/an-introduction-to-foreign-keys-and-referential-integrity-in-mysql/ made no mention of triggers.

Can you share your research on this?

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

I'm back!

Will have to log in as Its_1 to mark this answered.

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

Oops, logged in as him still. Sorry!

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

rproffitt sent me his credentials and it took less than 2 minutes to figure out what the problem was! Whew!! Sorryyyyyyyyyyyyyyyyyyy everyone.

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

How are you debugging this?

When I need to figure this out I'll add more print statements so I can see inside the functions and pick up where I went off the rails.

Example: After say line 8 add a print so you can see what's going on inside that function.

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

Ivan,

Can you explain what you mean by you can't do this yourself? I'm seeing a lot of folk want others to write the code and more. I don't mind kicking around ideas but like most forums with free help, no one seems to write your app for you.

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

I read this kicked around at http://stackoverflow.com/questions/6786014/php-fastest-way-to-find-if-directory-has-children
so pick one and modify it to your exact needs.

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

The error message you supplied is only slightly off what I read at http://www-01.ibm.com/support/docview.wss?uid=swg21201020

A second problem is that support ended about 5 years ago. I'd think long and hard about moving off this software.

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

Wait, do you need some formula to show text from an integer of seconds to minutes? That seems something rather basic.

That is, are you asking folk to code this for you?

PS. I'm sure you are seeing more and more folk ask for code. In this discussion you appear to be asking for code you expect a first year coder to be able to handle.

Q. What's eluding you here? Is it the math or somethign else?

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

Was there a question here?

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

I think the best way to learn play framework is by following the hands on tutorial found on their website. Your link would cost in the end from what I read. Since they give you docs and more at their site, why go elsewhere?

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

My view is that you never got Word into safe mode. But you did reveal another clue (maybe.)

You wrote about depriving other users the files so this is starting to sound like the old "I'm using my XP PC as a server" discussion. That one has so many priors and the advice is to not do that. Make it a simple XP setup with no shares since shares can create locks and in your case, crashes.

Remember that XP in 2000 is not XP today. There were many patches that broke setups such as "I'm using my XP as my office server" and more. There are some users that explode at the need to change what was a working setup. You can't do much for them and sometimes they get irate. Remember I never wrote a word about changing the OS. I am only noting that maybe the use of this PC would have to change. No more "shares."

PS. While I wish for safe mode as a test, that's not happening. Try getting into the Event Viewer and see if there's more clues there.

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

That's going to be a lot higher than most imagine unless they've been in the business for years. That 24x7 support is going to be costly as you have 3 shifts and most likely more since folk will not want to work all days of the year.

This is easily in the 6 figure range if the software is complete and then in the same range yearly to run a 24x7 support office.

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

Wallace,

You should have a beef with this book. Reviews on it have not been all that good.

My advice is get a refund and go get another book.

Just one of such reviews at https://www.amazon.com/Numerical-Mathematics-Computing-Ward-Cheney/product-reviews/1133103715/ref=cm_cr_dp_see_all_summary?ie=UTF8&showViewpoints=1&sortBy=helpful

You have the 4th edition and then you read the following:
" Unfortunately, there were still numerical errors (STILL! AFTER 7 EDITIONS!) and confusing examples that aren't adequately explained. "

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

Over the years, well, yes.

I LIKE the "twice the wattage" but have to write that sometimes that's not enough. (say what?) There are some Quad rail PSUs that have awfully low amperage ratings on the +12V. To avoid this my generic PSU spec is "twice the wattage" and a single +12V rail.

That seems to keep folk out of trouble.

Now you might ask why double. My answer is that the PSU rating is for a new PSU. Since some 99% of PSUs for PCs use Electrolytic Capacitors which age quickly, you need the spare capacity to avoid short life spans and to accomodate an extra drive or changes later.

And I'm going to upset some folk here. I see this issue with more AMD than other CPU based PCs. Don't know why but it's out there.

Itsdigger commented: Good info ! +0
rproffitt 2,701 https://5calls.org Moderator

@AssertNull,
Thanks for this anyway. It's worse than the car since there are more moving parts than just Daniweb's code. Thanks for reporting it since I don't want to be known as the only one that's seen it.

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

@Assertnull,

My mistake was to post again and the post that showed it go away. It must be rare or we'd see it, be able to duplicate.

At least it seems non fatal and rare.

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

Alan,
Your last reply sounds like a sales pitch where a company or such tries to spin new names for old. As to opinion I've used IDEs for over 3 decades so here's a thing. If you are trying to pitch or sell something, avoid alienating your customers. Listen to their opinion.

That out of the way, are you pitching something here?

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

I don't want you to get upset over forum link issues. The link works fine here so I can't guess why.

As to the command I don't own your PC so I can't know the path to Word or such. This variability means I can not tell you exactly what to do but only ask you try this or that. Since we have yet to get Word into Word's safe mode we can't get the first test I use out of the way.

There's other ways to find KB articles. But do not take offense here. As a XP user I think such users are seasoned. They know how to use google, know the command line, paths and more. There are users that don't know but they end up at service counters because of the variables. One PC isn't like the next one. This can lead to some folk flaming out.

Any how, you can try each command line varient until you find it. As to the complete PATH, we're back to the old issue of what the PATH variable has. As a seasoned Windows user you could check that or just put in the full path and word or winword as needed.

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

http://lifehacker.com/turn-your-windows-10-computer-into-a-wi-fi-hotspot-1724762931 sounds right but to connect to the share required a lot more steps. I don't think most phones can connect to a Windows Share or Microsoft's Homegroup. So you have another hurdle coming up. This setup did not document how to set the WiFi SSID, WPA2 password and such. What article did you use for that?

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

When I start a new direction, I often find there were others before me on that road. I didn't even know there was a road!

Example: https://www.google.com/search?q=first+person+shooter+in+python finds folk have gone down that road.
Read what they did and see if you can re-use or learn from prior experiences.

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

From 2011 the battery should be dead by now (unless you didn't use it on battery much and even then.) But when it starts to charge, how many minites do you get on a charge? If less than 30, battery is gone so don't put in the bad battery.

Now as a test try this.
. power off
. remove charger
. remove battery
. press and hold the power button for 60 seconds.
. release and plug in the charger

Test.

No go? At this many years the CMOS battery can be gone too. It's cheaper than a Volt meter so just do it.

Report back after this. And to repeat, if the big battery is gone you can stress the motherboard by leaving it in.

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

I'd like to look at this more but without the correct model number I can't. Please add that detail

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

So it blinks and works fine. I'd ignore it. Sadly I see no model by gateway to dive in deeper and see if there is a service.

So, the light blinks, it works, ignore blinking light like on our cars?

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

That's not the full model number so for now what else is wrong?

Always tell the full model number, not the series alone. And age and story like "my laptop is a _______ by Gateway and I use it on battery all the time but now at 5 years old it does this."

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

That thing, right there where you tell me the display does it with a W10 boot CD/USB tells me something's off with the video card or monitor.

What are those things?

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

Sounds like a failing part. Since you are heating up so many parts with that hair dryer, I won't be able to tell if it's motherboard, battery or a connection failing.

In fact since you left out model number (don't, just don't tell me it's series designation. get the model number and age in your posts.)

If it's over a few years old it could be as cheap as the CMOS batter to as bad as some I see that need a battery and motherboard.

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

@q
I see replies at your other discussion. Some folk only want "answers." They often flame out later. Stick to it?

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

Wait, did you post that 4 times?

Reverend Jim commented: Yes, but I just deleted 3 of them. +14
rproffitt 2,701 https://5calls.org Moderator

@K

I took has to read it more than once to see what the alternative was about. That said, why not add debug code after the dialog about line 11 and write the strings to a file so you can check it out?

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

You tried the Control Key method but it looks to have failed since I read no mention of the dialog box that pops up. This is why I don't use that method but the older reliable command line. Picture at http://i.imgur.com/bJhU4uV.png

How I start Word in it's safe mode. I use a the run box and use Word's safe mode that way. The command varies with version but here it was.

WINWORD /A

https://support.microsoft.com/en-us/kb/210565 covers the others.

I know it's rough on folk but here we are with many posts and we haven't accomplished the first test I try when I see an issue like this.

Is the command line a thing of the past?

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

Say William, are you trying to do more spam bait questions?

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

IRFANVIEW has done this for years. For free too. Get it with Ninite.com. Why?
Read http://www.howtogeek.com/201354/ninite-is-the-only-safe-place-to-get-windows-freeware/

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

Priors pegged it out at hundreds of files:
http://www.vbforums.com/showthread.php?582200-Does-OpenFileDialog-FileNames-have-a-limit

See answer #2 at link for another way.

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

I apologise here but "select" does not delete. Delete deletes. What I think you need to focus on is what you are trying to do here and practice your SQL commands till you nail it.

If I wanted to delete, well that's an entirely different command.
If you wanted to only select a specifc record set, then you work on that.