C++ Central Logging system [closed] - c++

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I've been asked to implement Centralized Logging system in C++. But I'm new to programming, and it doesn't really make sense, what needs to be done in class Log? I'm told that this class has to have 3 levels: ALL, ERROR, NONE. What should be in this levels? How should I link this class to my other source codes?
I still do not have clear view on Logging, and cant seem to find resources online. One of the task was not to spam cout. I am really struggling on this, if someone could help me, I would greatly appreciate it.
Thank you.
Edit: Thank for answering. That helped, because I was not in 1st year and they taught python last year and i haven't, so that's why i am struggling with logging

The logging module of Python will give you a good idea of what a logging system should do. See logging.DEBUG, logging.WARNING, logging.ERROR, etc. for what 'levels' means. As for compiling and linking your class, that's a totally different issue altogether.
Other than that, not much for you. This is obviously homework, and you've shown little/no effort in terms of what you may have researched, or code you may have written.

Related

Simple window in c++ [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 1 year ago.
Improve this question
I know that this is a kinda dumb question to ask here, but I have recently been getting stuck on creating a simple window in C++. I would like to customize things like it's name and stuff like that. The reason why I am asking that here is becasue I can't find any solution that works for me online. I have tried lots of things so far, but was never successful. I also do not want to use VS' presets because I don't really think they are the right way to go for me.
Thanks for any effort of helping me with this problem!
SDL provides a really nice and simple cross-platform API to create a basic window and renderer (http://www.libsdl.org/).

How to architect/design a knowledge base to solve issues from its history analysis? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I have a ticketing system (lets say JIRA or similar) for my application to file an issue of my application. Now my requirement is to build a knowledge base in a way so that I can predict the solution of any similar issues in future by churning that knowledge base.
To explain further, the knowledge base would give me how many times this kind of issues have arisen in past and what have been the root cause of it in most of the time (lets say 80% time). This way the repository should have an analysis of each and every issue and its possible root cause plus many other relevant information about the issue.
Just to start off to build such a knowledge base, I need to know following things:
What is the most commonly used technology/mechanism available to achieve this ?
How do I need to architect/design a system to be able to serve this kind of requirement?
Does it require to learn any particular language/database ?
I request community experts to enlighten me with the required information and pointers to give me a starting point at least in this direction.
Thanks.
I would suggest against a ‘reinvent the wheel’ approach.
There are perfectly good tools out there that achieve your required use cases. Look at ServiceNow or Desk.com as CRM for tickets, or if you just want a Wiki that integrates with Jira, look at Atlassian’s wiki.
You can also generate reports from Jira itself, not sure why anyone would want to build his own when there are such great tools out there.

Why are standard libraries always so complex? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
this might be a strange question, but I don't quite understand this. When I look at let's say string.h, I really have no idea what I'm even looking at... Maybe I'm just inexperienced or something, but those files look nothing like a header file I've ever written.
I could write my own string implementation and it would be so much shorter and more readable than this file I'm looking at here...
So basically I'm just wondering what's going on here that makes it necessary to write all this long and complex code.
Edit: oke thanks for the responses, I get the point. It's kind of what I expected, but it's nice to get some confirmation:p
Driving a car is (arguably) extremely easy, compared to how complicated an engine looks on the inside.
Libraries such as these are meant to be easy to use, but what's behind the scenes might not always be easy to understand. You're better off using the actual documentation for such libraries.

Django programming Training Course [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
I would like to know if anybody in here knows some excellent opportunities to learn Django web programming in an e.g. intense 2 week programming course. Anywhere on the world. Preferably in the Bay area. Any suggestions would be greatly appreciated.
Thanks for the time!
I for one learned by doing - I followed the tutorial, and then I built something useful.
When I got stuck, I looked at the excellent documentation, and when I got really stuck, I asked here on Stack Overflow (where I might add, I managed to learn a lot more by answering questions about Django).
All this excellent training cost me the princely sum of $0.00.
There are some training courses listed here:
http://code.djangoproject.com/wiki/DjangoTraining
Free resources to train yourself at your own pace :)
http://docs.djangoproject.com/ and http://www.djangobook.com/
If your after a course that is a week or so long check out here. A friend of mine did the cocoa course and highly recommends it. It is a bit pricy at $3500 but all the reviews i've read have raved about it being so good.
This is a shorter course than you had in mind, but in case others find it useful, Caktus Group has begun hosting a Django Fundamentals Bootcamp 2-day weekend course. More details can be found here:
http://www.caktusgroup.com/events/details/django-fundamentals-bootcamp/
Pricing is cheaper than the course listed above at $400 early-bird and $550 regular.

What can be Questions and Answers for Interview on job position on Objects Recognition and Computer Vision? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
What can be Questions and Answers for Interview on job position for objects recognition and Computer vision?
Please only Qs with links to As.
Please keep being on topic (no general Qs).
I would let the interviewee describe a computer vision project she worked on: What was the problem? What approaches did she try? What did and whad didn't work? Why didn't it work? How did she measure if something worked or not?
The idea is to find out if the person in question only uses blind trial-and-error to get results, which is usually not a good strategy for complex problems. (Also, it's hard to convincingly fake this kind of knowledge ;-)