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

That's one way to narrow it done.

Let me share I was on a team behind a motion detection system used for doors. I see it all over the US today even 17 years later. It works but we didn't use OpenCV. It's a custom single board design without an OS. Many call them embedded computing.

Anyhow, the entire system works with 2 cameras (one for each side of the door) and in short we capture an image then run it through a Sobel filter to get edges. No pixel method here. Just count edges. When the edge count changes in a zone (group of pixels) then we flag up as movement in that zone.

Got it?

rproffitt 2,701 https://5calls.org Moderator
  1. Stable sort. I used https://en.wikipedia.org/wiki/Category:Stable_sorts and https://en.wikipedia.org/wiki/Merge_sort
    Answer. Possible? Yes. But always? No. See second link.

Why not show your efforts on your questions? This is noted at https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question and you have many questions. Question one took about 2 minutes to find the answer.

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

If this is a job you need done, add schedule and how much it pays.
If this is you wanting an assist read https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question

Usually you work the problems one at a time. So let the forum is this is a for hire as a web developer or read the link above and try again.

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

I'm unclear on the problem you are having but let's say the cells are not protected. Read http://stackoverflow.com/questions/17162711/phpexcel-cell-protection and see where you have a line before this to enable protection.
`$objPHPExcel->getActiveSheet()->getProtection()->setSheet(true);

Also, be sure to tag or mention when you use a library like PHPExcel or folk have to guess.

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

@James_79.

Why not put in a new battery then press F2 to set the date and time to fix this?

I know a lot of folk that won't do that and just have a shop change it for them. Some are so upset about this they buy a new laptop to fix it.

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

@Sammy, while I want to know why all these posts I do have advice.

Be sure you are not legally held responsible for the breaches. Read carefully what you sign. I had one deal I bowed out since the contract had me signing on to pay for losses if the product didn't produce the expected economic returns. Another had me taking liability for the company product.

Cover your bases, don't sign what you don't understand.

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

It's a term from the days where we used terminals. I used to tap the escape key before I typed something to get another function or character.

Today it's used when you have a language that for example expects strings in quote marks. So how do you put in a quote mark? (see your question!)

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

You forget to put your code in a code block so I have to ask why in the with the IF, you assigned 110.10 to $float_var. That's not a comparison, it's an assignment.

Read http://php.net/manual/en/language.operators.comparison.php again.

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

PS. I think this is a shame since all the fun stuff you want to do is not in the capture step. The capture step is so well discussed (I supplied a google) that you should have had that working in a hour or two. Here we are and you are fussing with Aforge and it's not working for you and apparently Aforge won't help and/or doesn't have working examples (I didn't check, you do that.)

So all the good stuff I learned in product development about motion detection isn't happening because I think you are being stubborn. It's like you dug a well and it's dry. You keep on digging.

Reverend Jim commented: That's the first rule of holes. If you're in one, stop digging. +14
rproffitt 2,701 https://5calls.org Moderator

You put the textbox on your form then some code like https://msdn.microsoft.com/en-us/library/system.datetime.year(v=vs.110).aspx?cs-save-lang=1&cs-lang=csharp#code-snippet-1

So after you get the current date and time.
`textbox.text = moment.Year;

If you find moment.Year returns an Int, then use some string conversion.

I have to ask, with all the docs available, why couldn't you find this?

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

Not mundane at all. OSes, file systems, ownership, rights have a long history. My background goes from no file system OSes like what we had on old computers like GE-210 (dating myself) to CP/M, DOS, Novell, VAX VMS, UNIX and to NTFS and Windows which you are dealing with now.

If you are just arriving on the computer scene it may seem like a bit of a mess or hard work but I get that. We all start somewhere and here I had to divine what you wanted on what OS. If you can in the future leave out divination that would help us move faster.

Here's a very condensed primer: http://www.techradar.com/news/networking/windows-file-and-network-sharing-the-complete-guide-1119901

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

Here you go. Read posts and finds with https://www.google.com/search?q=Forced+matrix+with+Php%2FJavaScript%2FMysql to see that this appears to be a job folk put up on Freelancer and more.

However I am encountering more and more folk that want complex systems for free. That's OK, but to get there you create or contribute to an open source project. This really upsets folks new to coding and creating a new thing.

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

It appears you are spamming your questions. That's taking more than your fair share of free help.
I think you are thinking

Why not maximize your odds by posting it on twenty sites!

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

I still don't see a good question here. No code and more. It's possible you are like some that post on forums and write "Gimme the codez."

Read https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question first then add your code and where you are stuck.

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

Keep reading those priors and always reboot the host.

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

Be sure to test it harder. Grab a corner and make it tiny. Some controls don't like the negativity.

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

This does not sound like the topic you started with. It sounds more like some multi-level-marketing web site you want to create.

If it's urgent, put up what the pay is for this.

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

Simply yes. Long ago I had an app with this requirement. So the EVENT that I triggered my resize was the form.resize event.

More at https://www.google.com/search?q=form.resize+event+handler&ie=utf-8&oe=utf-8

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

How many years do you have? I mean if you don't google for this, can't find it, I worry you'll be in development for years.

Is your goal to make and sell storefronts? Or do you have something for sale?

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

Why overwriting the the first content of "datadir" made a difference...?

Sounds like file permissions or rights issues to me. Your app runs as some user and the overwrite creates the file with the rights of the app and its context.

I find this most often happens under Windows. Linux, not so much. What was the host OS?

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

This looks like one of those tutorials. But Airports was always airports.
http://www.sqlines.com/postgresql/oid

Check your capitalization.

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

It's still breaking a rule about storing passwords and should NEVER be used in any active site.
Read http://blog.moertel.com/posts/2006-12-15-never-store-passwords-in-a-database.html until it sinks in.

Why learn this lesson first hand?

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

Welcome to the forums. Here you'll share your code and point to where you are having an issue on such and such a line. Maybe there are homework forums but here, you share your code and members try to resolve the error.

If we wrote your code, you would not have learned what the course is teaching.

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

I see you need to get your command line working then we can share that command and help you put that into your Line 2.

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

First, forget how to do this in python. Start with how you do this manually. Let's get that working first.

Back to you.

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

We have to ask such questions as Word Perfect does web pages.

Corel WordPerfect 7, Lotus's Word Pro 97, and Microsoft Word 97—have tools for generating Web pages

diafol commented: 97 he he +15
rproffitt 2,701 https://5calls.org Moderator

There is the old method worth knowing about. Find the KBnnnnnnn (the n's are the number of the KB) then google that KB number. Many of these have manual downloads and installers.

Worth noting are those cracked and crack activated Windows. These are known to fail WU (Windows Update.) Be sure you know your OS condition. That is, no cracks, not infected.

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

I need to restore microsoft my sql 2000.

That's an odd statement. MySQL was grabbed up by Oracle so why did you write Microsoft here? Maybe you run this on Windows?
Read https://teamtreehouse.com/community/145-table-phpmyadminpmarecent-is-marked-as-crashed-and-should-be-repaired for an idea as you clarify your statements.

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

Regarding item 4.
Single equal signs are for when we want to assign a value to a variable.
Double (and triple) equal signs are when we want comparison tests. (varies with language)

Time to read http://php.net/manual/en/language.operators.comparison.php again.

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

XML is a programming language would be news to me. I only thought of it as what it was, the extensible markup language that served as a way to write something that might work across many systems.

https://www.google.com/search?q=explain+xml seems to tell us this and more.

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

The only Hun I want to be called today is Attila.

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

@James. I've made those sort of calls before and it frustrates both of us. If you don't have basic VOM skills, I can't teach those over a Skype.
Did you try one of those 2 to 1 USB power enhancer cables?
Also, maybe it's just a bum hub?

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

jshell.png
My takeaway was this picture.

So JavaScript is like Schrödinger's cat and quantum mechanics. That is, if anyone tells you they understand it....

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

Given all the prior work on this, shouldn't we be using off the shelf solutions (wheels)?
Example at https://github.com/BenGriffiths/pdo-mysqli-pagination

cereal commented: great suggestion! +14
rproffitt 2,701 https://5calls.org Moderator

Let's start small. Before you can edit a website you must have a website to edit on some server. If you have Windows or Linux look to WAMP, XAMPP or LAMPP. If nothing try PHP over at https://fiddles.io/#

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

Age? First program I wrote was on the GE-210. Took a lot of courses in electronics and some programming. Worked mostly in embedded computing and industrial controls. Later work in cameras and DVRs.

As to the product, If you have a 9V supply that fits, that one first if it's the lowest voltage.

No, it won't overstrain the DVD to be exact. It's more likely to blow the interface board.

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

That's not a bad place to start. That is, if you program now, you can read the top 10 finds at https://www.google.com/search?q=cliff+notes+oop+programming to see what's up. Not that you'll be an expert in a day.

As to languages, there are a legion of OOP languages so I have yet to find anyone learn them all. ADA OOP programers are rare as sunny days in Vancouver, BC.

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

Just reading your code, line 13 would only set a string in some language.

https://www3.ntu.edu.sg/home/ehchua/programming/sql/MySQL_Intermediate.html is a tutorial so you may have to reveal what language you are using.

Also, does the update work from a command line?

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

@Reverend Jim. I had one client ask for this and the "database" was Wikipedia. What they wanted was a web scraper to get some Wikipedia page and find the numbers on the GDP for countries.

To the OP, you have to tell more. RJ did share there are 3 engine interfaces and I think there are more if you go looking. So with this in mind, let's hear more about this web server.

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

Go to the Codepen for that and see what I changed in the JS area as follows.

var chart = AmCharts.makeChart( "chartdiv", {
  "type": "serial",
  "theme": "light",
   "depth3D": 20,
  "angle": 30,
  "dataProvider": [ {
    "name": "Income A",
    "open": 0,
    "close": 11.13,
    "close2": 14.13,
    "close3": 17.13
  }, {
    "name": "Income B",
    "open": 11.13,
    "close": 15.81,
    "close2": 19
  }, {
    "name": "Total Income",
    "open": 5,
    "close": 15.81,
    "close2": 16.9
  }, {
    "name": "Expenses A",
    "open": 12.92,
    "close": 15.81,
    "close2": 17.9
  }, {
    "name": "Expenses B",
    "open": 8.64,
    "close": 12.92,
    "close2": 16.1
  }, {
    "name": "Revenue",
    "open": 2,
    "close": 8.64,
    "close2": 13.2
  } ],
  "valueAxes": [ {
    "axisAlpha": 0,
    "gridAlpha": 0.1,
    "position": "left"
  } ],
  "startDuration": 1,
  "graphs": [ {
    "fillAlphas": 0.8,
    "openField": "open",
    "type": "column",
    "valueField": "close",
    "clustered": false
  }, {
    "fillAlphas": 0.8,
    "openField": "close",
    "type": "column",
    "valueField": "close2",
    "clustered": false
  }, {
    "fillAlphas": 0.8,
    "openField": "close2",
    "type": "column",
    "valueField": "close3",
    "clustered": false
  } ],
  "columnWidth": 0.6,
  "categoryField": "name",
  "categoryAxis": {
    "gridPosition": "start",
    "axisAlpha": 0,
    "gridAlpha": 0.1
  }
} );
diafol commented: Glad the OP thanked you RP :( +15
rproffitt 2,701 https://5calls.org Moderator

Lash out all you want. Unless there are more clues, or better yet a link to the product, it's anyones guess what you have there.

The fact it works through the USB without a power plug has me guessing this is a slim USB powered drive. Don't make us guess. The make is not found with search engines so the clues you give enhance the chances of a good answer.

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

Would need more to go on. Google had zero hits on that name so let's here what's inside that case. Beware that I can get a new USB DVDRW at Wally's World for 25ish clams. So you may find it cheaper to donate this or use it in some desktop?

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

This is a tough one. That web server database should have some API and other examples. As it stands your post is too vague but before I'd code line one, I'd want the web server's API in hand.

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

Keep going. You have the basic outline of your app which is a start.

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

@newbi11. I re-read your top post and I see no mention of alignment. Therefore you are adding on issues that are not in your topic and top post. That's a new issue and should be on its own.

Alignment issues on web pages are rather well done. So you have that going for you.

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

@francis_6, you posted without asking a question. You did tag it c++ which some could infer there is code to be had.

Take a moment to clarify your questions and show where you are stuck.

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

This sounds like something of a wheel. ie, code that we go get and use and not re-write.

Yes, I found it at https://www.rosettacode.org/wiki/Balanced_brackets in over a dozen languages including c.

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

Not the answer but in my mind the line may not belong in that folder.

I don't have a Mint system to work along with you on this but if I had to do this, I'd research with this:
https://www.google.com/search?q=linux+mint+boot+login+and+run+an+app+tutorial

I see folk have kicked it around. I had jury duty for a few days so may be spotty about replies.

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

@A_8, that's a little demanding. Your post sounds like you asking folk to do this. Maybe you copied the homework and forgot to share how far you got and where you are stuck.

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

I've used IAR compilers and tools before but the answer will be specific to your hardware and target CPU.

But here's the thing. I only use assembler when I must. This is from someone that wrote an assembler and linker and has experience on too many CPUs.

My guidance is this. Break down the problem to smaller steps you can work. If the problem is still too big, break it in two again and again till you reach a task you can complete.