|
Thread Rules 1. This is not a "do my homework for me" thread. If you have specific questions, ask, but don't post an assignment or homework problem and expect an exact solution. 2. No recruiting for your cockamamie projects (you won't replace facebook with 3 dudes you found on the internet and $20) 3. If you can't articulate why a language is bad, don't start slinging shit about it. Just remember that nothing is worse than making CSS IE6 compatible. 4. Use [code] tags to format code blocks. |
On May 30 2013 06:10 3FFA wrote: I did. Just ran it.... says it can't load the simulator because of the version for some reason. =/ I sent you a PM. We'll get this sorted out
|
@klo8 Meh, people nowadays are all about their tools and auto debugging to tell them what their program does. If the problem does not lie in the libraries you are using and it is in your code, the most likely result of your problem is that you are not disposing some of your objects or freeing memory. I do not know how you have implemented your solution but I hope you have a separation between the model and the view, at least you can determine if your memory problems result from your model and the algorithms performed in there or the visual representation the view, by just running your program without the view(s) attached to it.
|
Okay guys - I totally need help but it's not a specific coding question.
I have an interview in two days for a software company. I just got the call - are they specifically said since it's a programming interview, a nice collared shirt would be okay by them.
First off, if I were to wear a collared shirt, should I not wear a tie? I'm still going to wear dress pants and shoes, but should I not wear a tie?
Or, should I just wear a suit anyway? Full blown - with the tie and jacket? Any advice would be very greatly appreciated.
|
On May 30 2013 11:09 Abductedonut wrote: Okay guys - I totally need help but it's not a specific coding question.
I have an interview in two days for a software company. I just got the call - are they specifically said since it's a programming interview, a nice collared shirt would be okay by them.
First off, if I were to wear a collared shirt, should I not wear a tie? I'm still going to wear dress pants and shoes, but should I not wear a tie?
Or, should I just wear a suit anyway? Full blown - with the tie and jacket? Any advice would be very greatly appreciated.
There aren't any specific dress codes for an interview. What looks the best will give the best impression. Software companies are a bit more lenient on dress codes since they usually work in tshirt and jeans type of dress. I don't know if this is the case for your job though. If you would like to post some pictures, we can tell you if you look great or if you need to dress up/down a bit.
|
On May 30 2013 11:09 Abductedonut wrote: Okay guys - I totally need help but it's not a specific coding question.
I have an interview in two days for a software company. I just got the call - are they specifically said since it's a programming interview, a nice collared shirt would be okay by them.
First off, if I were to wear a collared shirt, should I not wear a tie? I'm still going to wear dress pants and shoes, but should I not wear a tie?
Or, should I just wear a suit anyway? Full blown - with the tie and jacket? Any advice would be very greatly appreciated.
It's an interview, wear a suit in my opinion. What you will wear at the job, and what you wear in the interview should not necessarily be the same. If it's an interview for an office job, wear a suit. No one ever got passed over for over dressing.
|
Always better to be overdressed than under-dressed.
I wore a full suit to my interview.
|
On May 30 2013 12:09 BoxingKangaroo wrote:Show nested quote +On May 30 2013 11:09 Abductedonut wrote: Okay guys - I totally need help but it's not a specific coding question.
I have an interview in two days for a software company. I just got the call - are they specifically said since it's a programming interview, a nice collared shirt would be okay by them.
First off, if I were to wear a collared shirt, should I not wear a tie? I'm still going to wear dress pants and shoes, but should I not wear a tie?
Or, should I just wear a suit anyway? Full blown - with the tie and jacket? Any advice would be very greatly appreciated. It's an interview, wear a suit in my opinion. What you will wear at the job, and what you wear in the interview should not necessarily be the same. If it's an interview for an office job, wear a suit. No one ever got passed over for over dressing. Woah, really depends on the company. Coming to an interview in a suit at a lot of companies is gonna be viewed as kinda strange. For example, a significant percentage of the devs at my place don't even wear shoes...
Go with whatever the recruiter said. If they said collared shirt, do that (no tie imo). It is better to be overdressed than underdressed, but it's not better to be overdressed than dressed-exactly-the-way-the-recruiter-said.
|
Sigh, I guess I'm going to be underdressed tomorrow (today). Business casual with an emphasis on the casual x_x
|
I've never interviewed for anything, including a shitty stocking job at a grocery store, with less than a dress shirt and tie. Take that how you will.
|
I've elected to go with everything you'd wear with a suit just without the suit jacket. I've tried to color code it so that I look really nice but not overdressed. Anyway, hopefully they'll focus more on my ability to program rather than what I'm wearing!
Thanks for the help, guys!
|
On May 30 2013 13:14 phar wrote:Show nested quote +On May 30 2013 12:09 BoxingKangaroo wrote:On May 30 2013 11:09 Abductedonut wrote: Okay guys - I totally need help but it's not a specific coding question.
I have an interview in two days for a software company. I just got the call - are they specifically said since it's a programming interview, a nice collared shirt would be okay by them.
First off, if I were to wear a collared shirt, should I not wear a tie? I'm still going to wear dress pants and shoes, but should I not wear a tie?
Or, should I just wear a suit anyway? Full blown - with the tie and jacket? Any advice would be very greatly appreciated. It's an interview, wear a suit in my opinion. What you will wear at the job, and what you wear in the interview should not necessarily be the same. If it's an interview for an office job, wear a suit. No one ever got passed over for over dressing. Woah, really depends on the company. Coming to an interview in a suit at a lot of companies is gonna be viewed as kinda strange. For example, a significant percentage of the devs at my place don't even wear shoes... Go with whatever the recruiter said. If they said collared shirt, do that (no tie imo). It is better to be overdressed than underdressed, but it's not better to be overdressed than dressed-exactly-the-way-the-recruiter-said. Yes, being overdressed is only fine to a certain extent. If they're expecting you to wear jeans and a t-shirt and you come in a suit, I can't imagine your interview is going to go very well Just wear something you're comfortable in and don't worry too much about it; the content of the interview is more important.
|
|
On May 30 2013 06:45 Holy_AT wrote: @klo8 Meh, people nowadays are all about their tools and auto debugging to tell them what their program does. If the problem does not lie in the libraries you are using and it is in your code, the most likely result of your problem is that you are not disposing some of your objects or freeing memory. I do not know how you have implemented your solution but I hope you have a separation between the model and the view, at least you can determine if your memory problems result from your model and the algorithms performed in there or the visual representation the view, by just running your program without the view(s) attached to it. As a programmer coming from C# and Java, I don't really have a lot of experience managing memory on my own (except for about 6 months of C programming that I did for a systems programming class). I've so far allocated all objects on the stack and did not use any pointers to objects or the new-operator, so using delete was not necessary so far. I followed your advice, and just doing the backend calculations does not seem to take up a lot of memory, the usage is around 2MB when I just run the backend. (creating the L-Systems, creating the vertex arrays for drawing) As soon as I create a SFML-RenderWindow, the usage jumps to 27 MB, so it seems to be out of my hand, at least in that regard. As for what happens when I increase the size of the curves, I'll have to check some more I guess.
|
|
On May 30 2013 19:20 klo8 wrote:Show nested quote +On May 30 2013 06:45 Holy_AT wrote: @klo8 Meh, people nowadays are all about their tools and auto debugging to tell them what their program does. If the problem does not lie in the libraries you are using and it is in your code, the most likely result of your problem is that you are not disposing some of your objects or freeing memory. I do not know how you have implemented your solution but I hope you have a separation between the model and the view, at least you can determine if your memory problems result from your model and the algorithms performed in there or the visual representation the view, by just running your program without the view(s) attached to it. As a programmer coming from C# and Java, I don't really have a lot of experience managing memory on my own (except for about 6 months of C programming that I did for a systems programming class). I've so far allocated all objects on the stack and did not use any pointers to objects or the new-operator, so using delete was not necessary so far. I followed your advice, and just doing the backend calculations does not seem to take up a lot of memory, the usage is around 2MB when I just run the backend. (creating the L-Systems, creating the vertex arrays for drawing) As soon as I create a SFML-RenderWindow, the usage jumps to 27 MB, so it seems to be out of my hand, at least in that regard. As for what happens when I increase the size of the curves, I'll have to check some more I guess.
New operator doesn't exist in C. The closest is type *pointer=(type*) malloc(sizeof(type)*elements) , and using free(pointer) after you don't need the memory. I will have a look at your code to understand what you mean by "allocated all objects on the stack" and edit this post.
Edit: NVM you are using c++. Im not sure how VS handles STL containers on the garbage collection but it might be that you are allocating memory for them every time you call CreateLSystems and not clearing them after you use them on the lsystems.push_back(LSystem(...)); call.
|
On May 30 2013 19:45 misirlou wrote:Show nested quote +On May 30 2013 19:20 klo8 wrote:On May 30 2013 06:45 Holy_AT wrote: @klo8 Meh, people nowadays are all about their tools and auto debugging to tell them what their program does. If the problem does not lie in the libraries you are using and it is in your code, the most likely result of your problem is that you are not disposing some of your objects or freeing memory. I do not know how you have implemented your solution but I hope you have a separation between the model and the view, at least you can determine if your memory problems result from your model and the algorithms performed in there or the visual representation the view, by just running your program without the view(s) attached to it. As a programmer coming from C# and Java, I don't really have a lot of experience managing memory on my own (except for about 6 months of C programming that I did for a systems programming class). I've so far allocated all objects on the stack and did not use any pointers to objects or the new-operator, so using delete was not necessary so far. I followed your advice, and just doing the backend calculations does not seem to take up a lot of memory, the usage is around 2MB when I just run the backend. (creating the L-Systems, creating the vertex arrays for drawing) As soon as I create a SFML-RenderWindow, the usage jumps to 27 MB, so it seems to be out of my hand, at least in that regard. As for what happens when I increase the size of the curves, I'll have to check some more I guess. New operator doesn't exist in C. The closest is type *pointer=(type*) malloc(sizeof(type)*elements) , and using free(pointer) after you don't need the memory. I will have a look at your code to understand what you mean by "allocated all objects on the stack" and edit this post. Edit: NVM you are using c++. Im not sure how VS handles STL containers on the garbage collection but it might be that you are allocating memory for them every time you call CreateLSystems and not clearing them after you use them on the lsystems.push_back(LSystem(...)); call. Thanks for the quick answer. I only call CreateLSystems() once, at the start of the application.
|
Ok, I got a question.
I'm looking to develop a simple data warehouse solution with a SQL backend. It will be dynamic in the sense that it will support any need to house data in any format. Each set of data will be autonomous, so no need to futz around with foreign key relationships. There will be an independent business tier that will do its own data aggregation against the warehouse, but that's irrelevant for this discussion.
Think of it like when you're working in SQL, defining tables to hold data, except my solution does that job for you but uses SQL as its data store.
I can think of two ways to do this, but I'm not entirely sold on either one: 1. Have the solution actually create and manage tables for each autonomous set of data I want to add to the data warehouse. This has the benefit of visually seeing the tables in SQL and ease of management in the software solution. The problem is that tables are harder to manipulate when they change, and it requires an extra layer to bind it to the business tier for analyzing.
2. Break the data out into a stagnant set of tables that hold each autonomous set of data in parts. You would have a "Table" table that identifies each logical table, a "TableKeys" table that represents each field in each table, and a "TableRows" table that breaks down the data into rows, and for each row matches a value to a field, or "key". This has the benefit of being very dynamic. It also makes it easier to tie back to the business tier for analyzing. The problem is that as the data warehouse grows, this table will get very large and might slow down the system.
What do you guys think? I started building it as option 2, but now I'm leaning towards option 1.
|
On June 01 2013 05:17 enigmaticcam wrote: Ok, I got a question.
I'm looking to develop a simple data warehouse solution with a SQL backend. It will be dynamic in the sense that it will support any need to house data in any format. Each set of data will be autonomous, so no need to futz around with foreign key relationships. There will be an independent business tier that will do its own data aggregation against the warehouse, but that's irrelevant for this discussion.
Think of it like when you're working in SQL, defining tables to hold data, except my solution does that job for you but uses SQL as its data store.
I can think of two ways to do this, but I'm not entirely sold on either one: 1. Have the solution actually create and manage tables for each autonomous set of data I want to add to the data warehouse. This has the benefit of visually seeing the tables in SQL and ease of management in the software solution. The problem is that tables are harder to manipulate when they change.
2. Break the data out into a stagnant set of tables that hold each autonomous set of data in parts. You would have a "Table" table that identifies each logical table, a "TableKeys" table that represents each field in each table, and a "TableRows" table that breaks down the data into rows, and for each row matches a value to a field, or "key". This has the benefit of being very dynamic. The problem is that as the data warehouse grows, this table will get very large and might slow down the system.
What do you guys think? I started building it as option 2, but now I'm leaning towards option 1.
I can't see the drawback on 1. Since you don't use foreign keys there are no constraints when altering/deleting a table. Just alter table -> drop column or add column + insert default value. I think the second approach complicates things.
|
Uuhmm... look up datawarehouse (on wikipedia for example) and see why what you want to do should not be done.
|
I'm not really seeing why you need to physically separate the data just because it's autonomous.
|
|
|
|