Anyways, I was wondering if any of you knew of some good programming oriented job finding websites?
The Big Programming Thread - Page 144
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. | ||
Kich
United States339 Posts
Anyways, I was wondering if any of you knew of some good programming oriented job finding websites? | ||
Mandarinez
United States52 Posts
| ||
Anacletus
United States733 Posts
Good luck job hunting sir! | ||
billy5000
United States865 Posts
On June 18 2012 14:15 sluggaslamoo wrote: I agree, but there is an order in which you should learn paradigms which is why Pascal/C should be learned first, followed by Java/C#, followed by Javascript/Ruby/Lisp, followed by Haskell, etc. You should learn the paradigms in this order. Structured -> Object Oriented -> Imperative Functional -> Declarative Functional. Going backwards is far more difficult and you will learn a lot slower and develop bad habits. Learning them in the order mentioned above will ensure that you have the best chance of having stronger fundamentals when learning programming. For example, you need to know functional decomposition to do any language, but you only need to know object decomposition in OOP/FP. Learning Pascal first teaches functional decomposition because that's the primary skill required in structured programming. Functional decomposition can be (and should be) applied to Java, but with Java there is a bigger focus on object decomposition, which can't be applied to Pascal. The catch is that object decomposition is a lot harder when you don't understand functional decomposition and you end up coming up with some really awkward designs. There is nothing more frustrating than seeing objects decomposed without a second thought applied to functional decomposition, because the developer who coded it started with Java. So if you want to progress in the a way that ensures the best chance of being a solid programmer, you should follow the order mentioned above. Not everybody learned it this way, and I'm sure there's some experts out there that started with Haskell. But just from my own experience I think this is the best way. Just out of curiosity, what time frame am I looking at for the average programmer? | ||
snakeeyez
United States1231 Posts
| ||
chiboni
15 Posts
I have following problem with java and reading bytes from an socket inputstream. When I run the code, 2 bytes from the 6 bytes I want to read differ from the bytes I track with wireshark. Java extends the bytes with an prefix 'ffffff' which negates them. This only occures on byte 2 and 3. Does anyone have an idea how to solve this or what the problem is ? code below
| ||
Deleted User 61629
1664 Posts
| ||
Akka
France291 Posts
Learning tons of languages just for the sake of learning stuff doesn't seem to be a terribly good idea to me. Just learn how to program in C, then learn how to program well in C, then depending on what you need choose whatever language is best suited to what you need or want to do. There is no such thing as a perfect road to follow in order to become a badass programmer, but as you get involved in projects you will eventually learn tons of things and be able to show off how many languages you know. If you work seriously you should be able to program well enough in C to be able to do anything you want in a year or so (considering you have no prior experience in programming). I'm talking about simple video games, FTP or IRC clients, graphical interfaces, etc. The best way to begin is this book : http://en.wikipedia.org/wiki/The_C_Programming_Language combined with heavy google-fu practice. Other than that, I must admit I'm rather surprised not to see more talk about html5/js game development here ^^ | ||
MisterD
Germany1338 Posts
On June 21 2012 21:27 chiboni wrote: Hi there, I have following problem with java and reading bytes from an socket inputstream. When I run the code, 2 bytes from the 6 bytes I want to read differ from the bytes I track with wireshark. Java extends the bytes with an prefix 'ffffff' which negates them. This only occures on byte 2 and 3. Does anyone have an idea how to solve this or what the problem is ? code below
keep in mind, that a java byte is signed: The byte data type is an 8-bit signed two's complement integer. It has a minimum value of -128 and a maximum value of 127 (inclusive). The byte data type can be useful for saving memory in large arrays, where the memory savings actually matters. They can also be used in place of int where their limits help to clarify your code; the fact that a variable's range is limited can serve as a form of documentation. so the bytes you are looking for might just be int byteValue = byte; if(byteValue < 0) byteValue += 256 sysout(Integer.toHexString(byteValue); | ||
chiboni
15 Posts
On June 21 2012 22:04 MisterD wrote: keep in mind, that a java byte is signed: so the bytes you are looking for might just be int byteValue = byte; if(byteValue < 0) byteValue += 256 sysout(Integer.toHexString(byteValue); Thanks!!!! Searched for hours and couldnt find the reason. | ||
ZpuX
Sweden1230 Posts
I wonder where to go from MATLAB.... From what I have heard MATLAB isn't really a programming language and it is mostly used for it's ability to handle values and matrix's. I knew some c++ from high school, or more like, I knew what the different loops did but I just couldn't understand the syntax and I had no real interest in learning it. But at uni we had an introduction course to MATLAB (engineering) where my friend helped me out a little bit in the beginning, and then everything just came quite easy from there. I wouldn't say I'm good at it, but if there is a problem I know where to search and I don't usually have any problems finding a solution. Anyway, a lot of the jobs which I am looking at isn't really interested in MATLAB but want java, c etc, and I wonder if I will have any benefit from my previous skills in MATLAB and from where from where I should start? Which language resembles MATLAB the most and what kind of problems will I be looking at in the beginning? | ||
arthurrr157
United States118 Posts
I started out learning C++ but I had no idea where the tutorial was going. I had no idea when I was going to be able to actually use the things I had been learning for something other than math so it was very difficult. The lpthw (learn python the hard way) tutorial was excellent for getting an introduction into programming in general and I feel now that if I decided to learn C I could follow it through and not get bored. | ||
Cloud
Sexico5880 Posts
| ||
RoyGBiv_13
United States1275 Posts
On June 22 2012 00:55 ZpuX wrote: Hiyo, I wonder where to go from MATLAB.... From what I have heard MATLAB isn't really a programming language and it is mostly used for it's ability to handle values and matrix's. I knew some c++ from high school, or more like, I knew what the different loops did but I just couldn't understand the syntax and I had no real interest in learning it. But at uni we had an introduction course to MATLAB (engineering) where my friend helped me out a little bit in the beginning, and then everything just came quite easy from there. I wouldn't say I'm good at it, but if there is a problem I know where to search and I don't usually have any problems finding a solution. Anyway, a lot of the jobs which I am looking at isn't really interested in MATLAB but want java, c etc, and I wonder if I will have any benefit from my previous skills in MATLAB and from where from where I should start? Which language resembles MATLAB the most and what kind of problems will I be looking at in the beginning? The matlab syntax is very close to C. I suggest sticking with MATLAB, and looking for jobs that use it or SIMULINK or even LABVIEW. They are usually higher paying than typical programming jobs. If you really want to shift gears, then look at how other languages integrate with MATLAB. I haven't played around with it since college, but IIRC, Java, Python, FORTRAN, and C will all integrate smoothly with MATLAB. If you have a sample project that does this, your job prospects go through the roof since integration is a nontrivial task that few people know how to do. It's definately a fun activity too. For a starting problem, try writing a Python program that opens a UI frontend for the user to invoke MATLAB scripts with ![]() Python GUI sample program: http://stackoverflow.com/questions/2310130/how-to-write-gui-in-python One way to integrat: http://claymore.engineer.gvsu.edu/~steriana/Python/pymat.html | ||
Frigo
Hungary1023 Posts
| ||
fabiano
Brazil4644 Posts
Being a programmer is to take a problem and find a solution with whatever tools you have available. If you happen to know 5 programming languages, you then have 5 different tools to solve your problem, so you pick the language most suitable for the job. If none of the languages you know are fit for the task, it doesn't mean you won't be able to solve the problem. After all the correct way to find a solution is not to think "how would I solve problem X with language Y", but to develop diagrams/pseudo-codes and then figuring it out which language is the best suitable. So what I mean is that no matter which language you learn first, what really matters when learning programming is all the thinking that goes behind the implementation of the solution. "Learn Java first!" "Learn C first!!" "No, learn Scheme first!" It doesn't matter which language you learn first, what really matters is that you develop new ways of thinking to solve a given problem. That's why we learn different paradigms in the university. So if you are just starting, try to learn whatever language you can find great resources to learn from. Learning a language is just the beginning, so if you picked up C++ and someone says "no, you should've gone for Java!!", just ignore him. A good way to figure out which language you want to learn first is to ask yourself what do you want to develop. If you want to create games, pick up C++ as you will find tons of resources to learn from. If you want to create cross-platform software, learn Java. If you want to create mobile apps, either Java (Android) or Objective-C (will need Apple products though, fucking iOS). If you want to work closer to the OS, learn C. Web? PHP or Python. AI? Prolog. Programming can be extremely fun and sometimes extremely painful, it all depends if you like what you are doing. | ||
ranshaked
United States870 Posts
Randomly generate a math sign (+*/-) and two random numbers and ask the user to solve the problem. Everything works properly except the division. I know that it is because I'm using integers, but when I caste them as floats in my if or switch statements (tried both) it either gets 0.000000 all the time or it messes up the other integers. The final line needs to print the answer. Because it is random, I'm struggling with the final answer, everything will wok except division I'll post the code later. Thanks | ||
Abductedonut
United States324 Posts
On June 22 2012 06:12 ranshaked wrote: I'm typing from my phone, so please bare with me. I had an assignment that I handed in that was not complete because I could not figure out how to do division. Basically the assignment is like this: Randomly generate a math sign (+*/-) and two random numbers and ask the user to solve the problem. Everything works properly except the division. I know that it is because I'm using integers, but when I caste them as floats in my if or switch statements (tried both) it either gets 0.000000 all the time or it messes up the other integers. The final line needs to print the answer. Because it is random, I'm struggling with the final answer, everything will wok except division I'll post the code later. Thanks I whipped up some quick code for you. It's by no means pretty. Here you go. Assuming you're using C, same principles should apply in C++. Next time, specify which language you use! + Show Spoiler +
The basic idea between comparing floats is that you must have a general "error" range that you're okay with. Most floats, when printed, will get rounded off. So it may seem like the answer is 1.3333334 but in memory its actually stored as 1.333333333333333333333. So when you do the comparison, it gets jacked up. Read the article I commented in the code. Also, does anyone have expierence with Microsoft's Media Foundation? I've been trying to use MF to capture to a hwnd using D3D and I'm having a really hard time. Would appreciate any help. | ||
Azerbaijan
United States660 Posts
+ Show Spoiler + #include <stdio.h> #include <stdlib.h> main() { double nc; for (nc = 0; getchar() != EOF; ++nc) ; printf("%.0f\n", nc); } Sorry I haven't been able to figure out how to post the code properly ![]() Anyway if I'm reading that right the loop is checking how many characters I enter until it encounters a null and then should be printing its count. The program runs fine with the compiler not giving me any errors but it won't give me any output and I really don't know why. Im using code blocks to compile if that might be part of the issue. Anyone know what I am missing here? | ||
Ultraliskhero
Canada249 Posts
It looks like your loop's stop condition is comparing with a EOF, not a null. If you're using a windows machine, typing in (control)Z may be able to stop your program and thus print out the output. (I tried it and it worked for me) | ||
| ||