I'm sure there's reasons not to use Java if you wanted the highest performance but I was just curious about this, not actually a problem I'm running into ^°
The Big Programming Thread - Page 668
Forum Index > General Forum |
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. | ||
teamamerica
United States958 Posts
I'm sure there's reasons not to use Java if you wanted the highest performance but I was just curious about this, not actually a problem I'm running into ^° | ||
obesechicken13
United States10467 Posts
On October 10 2015 16:56 phar wrote: Above answers are good. For more detail, get a copy of this: http://www.amazon.com/gp/product/0321356683/ (which you should do if you're going to be programming a significant amount of Java) then read item 15 There's no hard & fast rule here. end-to-end tests are always good to have. Separate tests for bits in the middle are good, especially if you can get them to run more quickly. I'm not clear on what you're getting at, but these are two distinct types of tests to have, and both are good: 1) A test which hits a real, live endpoint, just to see if it's alive. This should be pretty low qps, and resilient to flakes - especially considering whatever the SLA of the endpoint is 2) Tests which stand up the whole stack inside the test, with fake test data, and verify that endpoints return expected results (populate a database with test data, clean up after you're done). Both are good to have. Thanks, that's what I expected. | ||
Entranceist
4 Posts
So anyway, I'm a relatively new developer. I started learning about a year ago now, although I've always had an ongoing interest. I was always dissuaded into getting into programming by people saying stuff like, "You will never amount to anything since you didn't start when you were 12" and stuff like that. I know better now. For the record, I'm 21 now. I do not have a degree nor am I enrolled in college (although I may very well do so at a later time) and I have no "formal" development experience. More to the point (I apologize that this is turning out to be a drawn-out post, but I felt like background information was necessary), I do have one friend of mine who has been programming for many years who has been helping/mentoring me. Basically he just gave me some ideas and resources to study, and I was able to ask him questions on anything that was unclear. In my current job, I end up having massive amounts of down time, which I've almost exclusively used to study and practice. With the knowledge I've accumulated I was able to write a few applications for different projects in the company to help the front-line staff do their job more effectively. I was praised extremely highly from both our clients and upper-management, and they essentially promised me a junior level development position, which they are not following through with, so I've decided to leave and attempt to find a job as a software developer. Now, the main point of my post: I have my first interview coming up in a few days. It is for C#.NET related application development, and I'm very nervous. Although I do feel confident in my ability to actually program, or to learn things as needed, I do not feel confident that I will do well on an interview at this point. I feel like I have to do well on this interview, since my assumption is the interviews will be few and far between (especially in my area). So I'm reaching out for any advice, example interview questions etc. to help me prepare. I would very much appreciate it. I've actually been managing people for a few years now (non-IT related) so I'm going to play off that experience being my strength, and hope they are looking for a more long-term person they can groom into a senior development/team lead type role, since I already have part of the experience that would be required for that. Also of course any other advice for a new programmer or for me specifically to develop myself, again, would be appreciated. | ||
_fool
Netherlands673 Posts
On October 14 2015 02:33 Entranceist wrote: Hello everyone! I've been lurking TL for a few years now, used to have an account but I can't remember the log in details at this point and figured I might as well just create a new account. So anyway, I'm a relatively new developer. I started learning about a year ago now, although I've always had an ongoing interest. I was always dissuaded into getting into programming by people saying stuff like, "You will never amount to anything since you didn't start when you were 12" and stuff like that. I know better now. For the record, I'm 21 now. I do not have a degree nor am I enrolled in college (although I may very well do so at a later time) and I have no "formal" development experience. More to the point (I apologize that this is turning out to be a drawn-out post, but I felt like background information was necessary), I do have one friend of mine who has been programming for many years who has been helping/mentoring me. Basically he just gave me some ideas and resources to study, and I was able to ask him questions on anything that was unclear. In my current job, I end up having massive amounts of down time, which I've almost exclusively used to study and practice. With the knowledge I've accumulated I was able to write a few applications for different projects in the company to help the front-line staff do their job more effectively. I was praised extremely highly from both our clients and upper-management, and they essentially promised me a junior level development position, which they are not following through with, so I've decided to leave and attempt to find a job as a software developer. Now, the main point of my post: I have my first interview coming up in a few days. It is for C#.NET related application development, and I'm very nervous. Although I do feel confident in my ability to actually program, or to learn things as needed, I do not feel confident that I will do well on an interview at this point. I feel like I have to do well on this interview, since my assumption is the interviews will be few and far between (especially in my area). So I'm reaching out for any advice, example interview questions etc. to help me prepare. I would very much appreciate it. I've actually been managing people for a few years now (non-IT related) so I'm going to play off that experience being my strength, and hope they are looking for a more long-term person they can groom into a senior development/team lead type role, since I already have part of the experience that would be required for that. Also of course any other advice for a new programmer or for me specifically to develop myself, again, would be appreciated. I don't know where you're located? There might be curtural differences between USA, SEA and Europe. My advice (Europe-based) would be to be honest about what you do know and what you don't know. Don't try to give "the correct answer" because half of the times there is none. A good employer will always prefer a smart guy how wants to learn over a stubborn guy who "knows his stuff already" (because most of the time it isn't the right stuff anyway). So go in there, show em who you are. If they don't like you, you don't want to work there ![]() | ||
Manit0u
Poland17187 Posts
Another good advice would be to actually go to the website of the company you're applying for (and do other research if you can) so that you can be ready for questions like "Do you know what we do here?" or "Why do you want to work for us?/What can we gain by hiring you?". Yet another area where many applicants fail to deliver. If you applied for the job and there were requirements listed this can also be a pretty good hint of what might be expected of you and what their developers are doing. Just don't try to learn all the technologies you don't know, it's OK if you're not familiar with everything as long as you're honest about it and you actually did look it up beforehand so you know if you at least worked with something similar (even things like GitLab/Jira/Redmine/ReviewBoard). | ||
Entranceist
4 Posts
The skills/qualifications for the job don't seem to be too heavy: Experience with multi-threading and observer model design patterns. Experience with .NET framework. C# or similar languages such as Java Some knowledge of C++ and MFC would be helpful. Strong attention to detail. Strong organizational and planning skills. Strong problem solving skills. Comfortable using Microsoft Windows and Microsoft Office and Word. Most of this I think I do display, but when they say "Experience" and not a certain amount or other descriptors such as "Strong knowledge" or something like that makes it seem very subjective, so I'm not really sure what to expect. Also, observer model design patterns seems completely foreign to me. So maybe I missed something huge in my self-study. As far as research on the company, I've got my bases covered there I believe. But I do appreciate the reminder, and I'm sure other people looking at this thread will find that piece of information valuable. I'm personally mostly concerned with technical questions. Again, I appreciate your response very much! Forgot to add, I'm in the USA. Although I'm not sure there will be much significant cultural difference as far as interviews go. | ||
Birdie
New Zealand4438 Posts
| ||
Manit0u
Poland17187 Posts
On October 14 2015 06:26 Entranceist wrote: Also, observer model design patterns seems completely foreign to me. So maybe I missed something huge in my self-study. If you had anything to do with event listeners and such you should be OK ![]() https://msdn.microsoft.com/en-us/library/aa645739(v=vs.71).aspx | ||
RoomOfMush
1296 Posts
On October 12 2015 13:33 teamamerica wrote: Hey can anyone point me toward some resources into learning why it's not possible (or is it?) to save state of a warmed up JVM? I've seen stuff about lowing JIT compilation threshold but that isn't quite what I don't want everything compiled, just what was compiled after running my program through normal workload. From my understanding, there are lisps where you can basically save image of application state and run it later? First of all, if your application is not time sensitive (real-time systems or huge workload that needs to be processed very quicky) then you are just wasting your time on premature optimization. However, if you need that speed desperately you can still compile java code to native code directly using one of the many tools that are out there on the web. You can then have a select few classes compiled to native code for extra speed and have them communicate with the rest of the Java application through JNI. Please keep in mind that this would not be platform independent anymore unless you compile separate versions of these classes for each operating system. | ||
waffelz
Germany711 Posts
On October 14 2015 15:07 Birdie wrote: Is working in embedded systems particularly difficult to pick up for someone without experience in the field, but who knows how to code fairly well in C and other languages? Good C knowledge is a pretty good start, but you most likely need some technical knowledge. Memoryarchitecture and organisation, being able to read circuit diagrams. And it is one of the rare occacions where being able to work with binaries/hexvalues quickly without any assistance(means calculating that stuff in your head) is very useful. Yep, its that one time your professors told you about ![]() | ||
Entranceist
4 Posts
On October 14 2015 18:50 Manit0u wrote: If you had anything to do with event listeners and such you should be OK ![]() https://msdn.microsoft.com/en-us/library/aa645739(v=vs.71).aspx Ah, I see. That certainly makes it more familiar. Another thought on that job description is, this could certainly turn out to be a bit more basic compared to other interviews for Software Developers. As I stated previously I have a friend who is a very experienced software engineer, and he gave me some example questions such as: Design an LRU cache Print a binary tree level by level Find the minimum path through a two dimensional matrix Questions like these certainly seem to me like they are aimed at a more mid to senior level software engineer - but maybe I'm wrong about that. Would anybody be able to put these questions into perspective as far as generally how much education/experience somebody would be expected to know stuff like that? Like you said previously, a lot of people get tripped up writing FizzBuzz, so how would they be expected to for instance, design an LRU cahce? Another thought/question about this - I always thought Software Engineer and Software Developer are the same thing, but is a Software Engineer somebody more geared towards the computer science side of things, where a software developer would be more geared towards the actual programming? Again, I can't thank you enough for your responses ![]() | ||
_fool
Netherlands673 Posts
On October 15 2015 03:05 Entranceist wrote: Ah, I see. That certainly makes it more familiar. Another thought on that job description is, this could certainly turn out to be a bit more basic compared to other interviews for Software Developers. As I stated previously I have a friend who is a very experienced software engineer, and he gave me some example questions such as: Design an LRU cache Print a binary tree level by level Find the minimum path through a two dimensional matrix Questions like these certainly seem to me like they are aimed at a more mid to senior level software engineer - but maybe I'm wrong about that. Would anybody be able to put these questions into perspective as far as generally how much education/experience somebody would be expected to know stuff like that? Like you said previously, a lot of people get tripped up writing FizzBuzz, so how would they be expected to for instance, design an LRU cahce? Another thought/question about this - I always thought Software Engineer and Software Developer are the same thing, but is a Software Engineer somebody more geared towards the computer science side of things, where a software developer would be more geared towards the actual programming? Again, I can't thank you enough for your responses ![]() In all the interviews I had, the employer was mostly interested in my train of thought. You're not expected to write a production level LRU cache on the spot. He wants you to ask if you don't know what LRU is. And once he tells you that LRU is Least Recently Used, he'll be perfectly happy when you make up some basic implementation that keeps a map with -say- 10 items. The keys will be the items you have cached, and the value might be a timestamp. When you encounter an 11th item, you remove the oldest item in your cache, and add the new item to your cache. Whenever you read an existing item, you update its timestamp to now(). Voila, LRU cache. It does not need to be very elegant. They want to see how you dissect a problem into parts, and find solutions for those parts. They want to see that you can extract domain concept from their specifications (in the LRU example, you might decide to have a CachedItem that holds an Object and a timestamp). Also, they will probably have a question for you that you don't know the answer to, because they want to see how you respond to that. | ||
Entranceist
4 Posts
On October 15 2015 03:19 _fool wrote: In all the interviews I had, the employer was mostly interested in my train of thought. You're not expected to write a production level LRU cache on the spot. He wants you to ask if you don't know what LRU is. And once he tells you that LRU is Least Recently Used, he'll be perfectly happy when you make up some basic implementation that keeps a map with -say- 10 items. The keys will be the items you have cached, and the value might be a timestamp. When you encounter an 11th item, you remove the oldest item in your cache, and add the new item to your cache. Whenever you read an existing item, you update its timestamp to now(). Voila, LRU cache. It does not need to be very elegant. They want to see how you dissect a problem into parts, and find solutions for those parts. They want to see that you can extract domain concept from their specifications (in the LRU example, you might decide to have a CachedItem that holds an Object and a timestamp). Also, they will probably have a question for you that you don't know the answer to, because they want to see how you respond to that. Thanks _fool! You've given me a lot of confidence with your responses. My hope is that I will be a bit surprised with how much I know, and be able to show enough problem solving ability to demonstrate competence then. Coincidentally, the job has been posted for 30+ days and they got back to me within a day of my application submission. In your (or anybody else's) opinion, do you think that is a sign of desperation for additional software developers? Not that I expect it to effect their decision to hire me either way, but I just like to speculate. | ||
Acrofales
Spain17842 Posts
On October 15 2015 06:50 Entranceist wrote: Thanks _fool! You've given me a lot of confidence with your responses. My hope is that I will be a bit surprised with how much I know, and be able to show enough problem solving ability to demonstrate competence then. Coincidentally, the job has been posted for 30+ days and they got back to me within a day of my application submission. In your (or anybody else's) opinion, do you think that is a sign of desperation for additional software developers? Not that I expect it to effect their decision to hire me either way, but I just like to speculate. As someone who has had to sort through applications on occasion, I would definitely not try to speculate any which way on the matter. Different people do this stuff differently. What you should focus on is that your application got picked out of the stack, which means you made the shortlist Of people worth looking in to and inviting for an interview. Your next job is to show them that you will be an asset, and.evaluate them to see if you actually want to work there. Let THEM worry about how many applications they got and whether their recruitment policy is working. | ||
Manit0u
Poland17187 Posts
| ||
Manit0u
Poland17187 Posts
True story. | ||
Ropid
Germany3557 Posts
| ||
![]()
tofucake
Hyrule18969 Posts
| ||
Shield
Bulgaria4824 Posts
On October 15 2015 18:51 Manit0u wrote: Intern asks me for some help. I come over, look at his editor and he's using freaking Indie Flower font. Why would anyone do such a thing? T_T True story. It doesn't look bad, but it'll be distracting for me when I have to focus. I don't mind it on websites though. | ||
Acrofales
Spain17842 Posts
On October 15 2015 18:51 Manit0u wrote: Intern asks me for some help. I come over, look at his editor and he's using freaking Indie Flower font. Why would anyone do such a thing? T_T True story. Reading code in that font is insanely more awesome than in courier or whatever other standard fonts are used in ides. I wouldn't be able to concentrate, or code, but it is more awesome. | ||
| ||