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

Hope to see your new questions soon. But here's a thing I noticed about your opening questions. You wanted "this" but Windows didn't do "this." So our chat is to uncover what you are trying to do and learn what Windows does in a non-Server version.

After covering what a non-Windows server version can do, I think you were confused by the tutorial I gave because it covered more than what you eventually will end up using.

Give it time to sink in what Windows non-Server versions do. You have options and no tutorial I know about will write exactly what you may end up using. Almost all mention the Guest account so the goal is to learn what that is, and then decide if that is OK or not. In your case, you should take that as covering what Windows offers and not what you'll be using.

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

The tutorial is to cover many scenarios. So they will cover the guest account then you have to decide if that's what you want.

I recall you don't want that. I recall I wrote why so we are covering old ground.

I don't mind that, but at some point I think you'll have to get someone new on your team to help you get this done as well as teach more about Microsoft's ideas and methods.

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

Sounds right. Built in accounts just are on/off things for the most part. But if you want control, you don't enable the guest account. I think we covered that before.

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

The one is what you decide on. You are the adminstrator, you are guarding all the doors, holding all the keys. Which means that sooner or later, you get to choose.

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

I know permutation, and I know how to calculate permutations. The question is HOW to find the combinations which gives me 2 out of 3 for each of them in the example above.

OK, you know step 1. Now in your code write a function to test each permutation for your "correct" result. Your choice to store that set or just add +1 to the number of sets that met the test.

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

You need to work harder on your posts. Don't try to use short text message codes, we can read it all here.
http://www.game-debate.com/hardware/index.php?pid=15&moboList=Core%202%20Duo%20E8400%203.0GHz shows a list. Can you find any of those today?

As you find them, put them on your Excel sheet and when you find them all sort by total cost. What good is a board if you have to hunt down a missing part?

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

This looks like it was kicked around before. Here's how I found the prior posts on this.
https://www.google.com/search?q=With+three+such+outcomes+I+have+27+combinations

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

All skill levels arrive here. But to learn how to program is something you start small and work your way up to your big app.

Or you take your big app and break it down to pieces you can solve. Can't solve a piece? Break it down to smaller steps till you can work with it.

Don't write code? Why not hire it out?

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

Since it is a thesis I don't mind sharing work we did before but you have to do all the work. Anyhow, given it's a thesis, besides what others have written here I wonder what your thesis is? Share that so all will know.

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

Here's the thing. Only you can see what the issue is with those images being local. That aside, there are tutorials on putting text on the screen. Try a few from https://www.google.com/search?q=How+to+put+text+labels+below+text+in+Python+tkinter

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

Just a tip. Try the PREVIEW in the forum editor to avoid messes like your post here.

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

Ace, I think you misunderstand me. I did not test your code. I only pointed out what looks odd or off. If I fix the code, I need your teacher's email address to share that.

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

I see upvote +1 so far.

Anyhow, do you see it now?
amount = choice * input('How many would you like?')
might need to be.
amount = input('How many would you like?')

I didn't test this to see if you need to write
amount = int(input('How many would you like?'))

Ace_4 commented: thank you sir, i will make the changes and see if it works. +0
rproffitt 2,701 https://5calls.org Moderator

On line 20, why are you multiplying choice (a character) by the input? Looks odd doesn't it?

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

Sorry but I was under the impression you were going to create a motion detection system or app. Maybe there are forums that write code for folk but for me, I will share concepts from real world systems we sold. That's gold for most but maybe you need to just bite the bullet and just find a working app and use it?

That is, it's beginning to sound like you need complete working apps rather than learn to code and create something new.

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

Yosri, I was mistaken. I thought you were going to code this from the ground up. Let's say you are going to use canned code. Here's a start.
https://www.google.com/search?q=opencv+motion+detection

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

Sorry but I already told you why no code. But I can help you avoid a common motion sense trap.

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

I did reveal the method. You count edges in areas. We used a grid with a Sobel filter. When the edge counts change across a threshold (your choice but here we used a configuration file to set this) then it's movement. By comparing pixels you will get nothing but false alarms.

But as I wrote, many new to this area have to try pixel comparing then they learn it's a dead end. Some have burned down over that and insist it's the way. My view? Let them burn as it is a way to get better programmers.

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

Just one question. Since this is highly likely to be in Visual Studio, did you break on line 11 in that last code passage to see the sum of all things? You might have to put a debug line after that such as an alertbox to show the sum then break on that next line.

In short, you have code, but I didn't read where you knew how to debug.

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

Be sure to make others aware if you are crossposting. Is this you at http://www.dreamincode.net/forums/topic/403609-need-help-putting-together-forest-program/

Also, is it this assignment? This is the cache of the assignment I found.

Did you forget to mention the following requirement?
"You must ...

Do an object oriented analysis and design "

If you only started coding a few days ago in Java, this may be a little deep. Usually you start with smaller apps and something like this is done after you get the basics out of the way. Is this a code boot camp? How did you get here?

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

Here's the thing. I want you to be successful plus I've worked in this area. So go ahead and try it your way. I might be around once you figure out comparing pixels fails for the reason given and other reasons. Once you get past your method we can chat again.

I don't want to upset you here. Just someone that worked on a product that is working and deployed. Not that I can share code but I can share what we learned. Yes, I know folk that need to try the pixel compare method. Let them do that so they are ready for the next method.

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

Then go for it. I was thinking that working with way past decade old gear may get you old results and as you know you can get a current IOS, you may have found your cheap seats.

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

As it was a company project I will only share high level ideas.

For example only your newest to motion detection would compare pixels. A change in light intensity would not be motion so comparing pixels is going to give you motion events without any motion at all.

Remember, language choice does not matter. Algorithm matters.

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

Unsure what your question was. The system was done from scratch with the usual bit of assembler to setup the stack and then jump to the code which was in C. As you know it matters little if it was C or C++ for this discussion. We are talking basics here. How to troubleshoot, how to detect motion.

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

Virtual expensive? A quick look at the gear here found over 3,000USD per box. Since when did the virtual labs start to cost as much as the real gear?

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

This is entirely your choice on the hardware. Not one CCNA I know had such. All went with virtual labs. Example?
https://www.google.com/search?q=virtual+cisco+lab

Also questionable is the 3 of each thing. Not only would you need maybe 2 of each (in a stretch?) but how to see if it works without some hundred clients?

My nod is to go virtual.

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

I have to ask why you at listing gear that is over a decade old and here, can only be found here or there, one or two, used, refurb and well, not what you may see in a new deployment?

Most Cisco network folk I run into never had their own lab. They took the courses, got the certs over time.

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

Visual Studio let's me single step code here. I think you need to use this (single step) to find which line blew up. Few will duplicate your project and can't since they don't have your system, so let's have you point out which line blew up.

Note: Edited for grammar.

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

That sounds like a class assignment. What was taught before leads up to a big assignment. Go over the class notes and books that work up to this assignment. If you skipped all that work before you may want to bow out of this class and try it again next time.

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

https://www.google.com/search?q=joydev.ko+kernel+module+for+lenovo+k5+vibe&ie=utf-8&oe=utf-8 seems to find some cross posting and down votes but when I think Android kernals, I'm on XDA Forums.

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

Thanks for beginning a tutorial on said subject. Since no question was asked, I take it you are sharing and only need to add a passage about how and when to use this.

If you meant to ask a question, read https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question so you know your next steps.

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

When a tutorials writes don't do this, I don't.

If you want to ask why they wrote that, see if the author left a way for you to contact them.

I see you've struggled with data types in many posts. I think you mixed up assignment (the single equal sign), the confuser to many about TRUE and FALSE and when to use the triple equal sign. Keep going, you'll get it done.

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

@soha_1, a few issues.

  1. This is one old thread. Folk that were chatting here may never come back to you.
  2. Try a new thread but read https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question first.
rproffitt 2,701 https://5calls.org Moderator

Then its time to reduce the parts till it works. We don't need a case, CD drive or HDD/SSD and what else can we go without?
Aim for a BIOS screen.

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

Please read https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question then update your question with the missing information.

rproffitt 2,701 https://5calls.org Moderator
  1. No CD is needed for this sort of trouble.
  2. Tell more. Does the BIOS screen show up?

Here's a COMMON GAFFE. When folk install a motherboard they often short out the board by leaving mounting posts where they should be none. That and a jumper in the wrong spot. Check your work.

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

It's your choice to debug your code by a debugger or adding more output so you can watch what is going in (more print statements.)
Read http://stackoverflow.com/questions/4929251/can-you-step-through-python-code-to-help-debug-issues as a primer on using the debugger.

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

Sounds right. You'll have to host the sqlserver where all can access. It's that simple.

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

I do not know if this is the answer. Read https://github.com/AsgardCms/Platform/issues/271 about a command to run after install and later comments.

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

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

Folk here don't write the code for you. But you can share what you tried and members might comment what's amiss. And that final search looked close enough for you to modify.

Question: Did you want folk to write this for you?

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

I have a few books on the subject but none revealed more than what I found with googles. Sorry you haven't found an answer yet.

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

Just sharing that at my last workplace it was a horde of programmers. No Windows Servers but did have MySQL, Tomcat (among other servers), software version control and a bug tracking system (which we all hated.)

I can write that we never thought we needed more.

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

@Sammy, with your deluge of posts you may want to sum it all up as to why you did that.