In web development, unix/linux is superior to windows in several ways. Your local apache server (in other words open source server platform), is the same, or has the same setup as your live hosting. I didn't know how to quite explain it since these concepts are still fresh for me, as I am a college student rather new to the material. But unix/linux saves companies money, and I don't know the exact statistic but I'm sure over 2/3rds of all online servers are linux.
The Big Programming Thread - Page 188
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. | ||
mistake
United States13 Posts
In web development, unix/linux is superior to windows in several ways. Your local apache server (in other words open source server platform), is the same, or has the same setup as your live hosting. I didn't know how to quite explain it since these concepts are still fresh for me, as I am a college student rather new to the material. But unix/linux saves companies money, and I don't know the exact statistic but I'm sure over 2/3rds of all online servers are linux. | ||
Hairy
United Kingdom1169 Posts
On November 06 2012 09:10 speknek wrote: Your reply has no content whatsoever, you just said "spend 1.5 yrs learning something". To clarify, I don't want to work in the field fulltime or learn every in and out about a certain subject, I just want some freelance jobs or make some (web)apps that earn me some money. I helped friends before and released a android app together with a buddy which landed me some decent cash, etc. This was nice and all, but I'm just looking for some advice on where/how I can get some simple projects or other ways that get me some money. I'm not trying to get rich quick or whatever you tried to imply, just wanna get a little extra income. My thoughts would be that perhaps you could approach smallish companies and offer programming services. Ask them if there's anything their computers could do that they would like, or try and find out if there is any process that is slow that perhaps you could speed up. Software doesn't have to be big and complicated to add big value to a customer. | ||
Deleted User 101379
4849 Posts
On November 06 2012 09:13 mistake wrote: In my opinion, as far as web programming and development jobs, you left out the importance of UNIX and ruby. Nearly every huge company that dabbles in e-commerce (or any kind of web development involving massive databases) use UNIX shell in ruby. You cited HTML, CSS, and javaScript, which is all fine and dandy. But in jobs that use the agile method of development (as opposed to waterfall or cowboy style, which in my opinion are inferior in today's world when you are producing an average of 200 lines of code a day and working with a dev team of 25+ members) of web coding for e-commerce or providing services to consumers via web from databases; UNIX is king. Ruby is considered highly superior for testing and breaking code (one side of development is writing code, another side would be the people that try to "break" your code, if you will). Not only that, but UNIX looks great in nearly every browser, well, literally every browser except IE. IE is the bane of all web programmers world wide. I can't count how many extra hours I've spent making sure my code looks good in IE after it already looks perfect in every other browser. That's my take, from a Junior in College (soon to be senior after this semester) going for B.S. in Computer Science with emphasis on Web Programming. A word of advice from friends that graduated and entered the work force... know your UNIX language, and get familiar with Ruby if you plan on doing web development. Uhm, there is now a UNIX language? UNIX is an operating system, like windows. It has nothing to do with your browser and especially not with an Internet Explorer. Also, very few companies really use UNIX anymore since Linux is usually a cheaper alternative for 95% of the cases. Ruby is a nice language but it's one of several competing languages for web development and neither the most used nor the "best" (assuming there would be a best to start with). Your post looks like it was generated by some sort of randomizer that just threw together a bunch of keywords without any connection or meaning between them. | ||
mistake
United States13 Posts
| ||
Peekay.switch
Canada285 Posts
On November 06 2012 09:42 Morfildur wrote: Uhm, there is now a UNIX language? UNIX is an operating system, like windows. It has nothing to do with your browser and especially not with an Internet Explorer. Also, very few companies really use UNIX anymore since Linux is usually a cheaper alternative for 95% of the cases. Ruby is a nice language but it's one of several competing languages for web development and neither the most used nor the "best" (assuming there would be a best to start with). Your post looks like it was generated by some sort of randomizer that just threw together a bunch of keywords without any connection or meaning between them. I know close to nothing about Web Dev, and most of that post made me scratch my head as well. (I'm mostly dabbling in Non-Web .Net and Java for the past year or so with a few exceptions) Most of that stuff comes down to preferences... I guess there's a few exceptions and tools that would be better fit in a Linux Environment (Apache is the first that comes to mind, but even then again I'm kind of clueless). If you're doing mostly .Net and using Microsoft technologies (Azure, Cloud, MS SQL, etc...), then maybe sticking to windows is gonna save you a lot of trouble. I guess Linux offers pretty powerful command line tools (Bash, Shell, etc...) that can combine pretty well with some of the languages out there, allowing for a solution to make use of that specific environment. But as I said, I'm fairly clueless about the trends and where Web Dev is at right now. | ||
cowsrule
United States80 Posts
On November 06 2012 08:19 ShoCkeyy wrote: LOL I FIXED IT........ I just needed a https:// in front of my script call. I'm such an idiot - _ -;;; Thanks for all the help, the most that helped me was moving the jquery to my server. That basically fixed most of the problems. Just needed to add the https in front of it and it was good to go. Thanks all once again! Consider using the google hosted libraries on their CDN: https://developers.google.com/speed/libraries/devguide (Alternative that has 1.3.2: http://www.asp.net/ajaxlibrary/cdn.ashx#jQuery_Releases_on_the_CDN_0) You should also use the minified version on a production site. | ||
tec27
United States3690 Posts
On November 06 2012 07:49 tofucake wrote: try $(window).load instead of $(document).ready Chrome has issues with firing doc ready. Chrome has zero issues with firing the ready event. On November 06 2012 08:13 Nihilnovi wrote: Almost right. The issue is with having several doc ready on a page loaded with 1 call. The reason is there is should never be a situation where you need to enclose logic in more than 1 document ready per dom rendering, its fine to have doc ready in content included at a later stage with XHR. Chrome is funny this way. Either way, this should fix it. If it doesn't, then you are probably having some caching issues with chrome, try to clear your cache and make sure its actually loaded as js with chrome dev tools, and good luck with your homework/training. There are no issues with multiple ready handlers per page. Instead of making up magical reasons why your code doesn't work, try to actually understand the underlying reasons its failing. And above all else, READ THE SOURCE. jQuery's source is easily available and if you had actually read it you would understand that your reasoning here makes no sense. | ||
sluggaslamoo
Australia4494 Posts
On November 06 2012 09:13 mistake wrote: In my opinion, as far as web programming and development jobs, you left out the importance of UNIX environment and ruby. Nearly every huge company that dabbles in e-commerce (or any kind of web development involving massive databases) use UNIX environments and code with ruby (and several other testing suites and tools). You cited HTML, CSS, and javaScript, which is all fine and dandy. Unix environment is king, because of speed. Ruby is considered a high priority for newcomers in the market for web programming and development, for multiple reasons. That's my take, from a Junior in College (soon to be senior after this semester) going for B.S. in Computer Science with emphasis on Web Programming. A word of advice from friends that graduated and entered the work force... know your UNIX environment, and get familiar with Ruby if you plan on doing web development for a large corporation. In web development, unix/linux is superior to windows in several ways. Your local apache server (in other words open source server platform), is the same, or has the same setup as your live hosting. I didn't know how to quite explain it since these concepts are still fresh for me, as I am a college student rather new to the material. But unix/linux saves companies money, and I don't know the exact statistic but I'm sure over 2/3rds of all online servers are linux. That's not the main reason. There are two main reasons The dev environment is far superior on linux than in windows. You will be using the command line a lot, the windows command line is atrocious. Secondly servers will be run on linux, so it makes no sense to develop in windows because you will be sacrificing a lot of stuff that you can only do in linux. | ||
frogmelter
United States971 Posts
On November 06 2012 15:52 sluggaslamoo wrote: That's not the main reason. There are two main reasons The dev environment is far superior on linux than in windows. You will be using the command line a lot, the windows command line is atrocious. Secondly servers will be run on linux, so it makes no sense to develop in windows because you will be sacrificing a lot of stuff that you can only do in linux. Correct me if I'm wrong but I believe there are servers for windows as well... http://en.wikipedia.org/wiki/Windows_Server Are those the only reason that Linux is better than Windows? I develop primary on Linux just because I was told it was better, but I don't really understand why [besides the command line, which I agree is amazing] | ||
tzenes
Canada64 Posts
On November 06 2012 09:13 mistake wrote: In my opinion, as far as web programming and development jobs, you left out the importance of UNIX environment and ruby. Nearly every huge company that dabbles in e-commerce (or any kind of web development involving massive databases) use UNIX environments and code with ruby (and several other testing suites and tools). You cited HTML, CSS, and javaScript, which is all fine and dandy. Unix environment is king, because of speed. Ruby is considered a high priority for newcomers in the market for web programming and development, for multiple reasons. That's my take, from a Junior in College (soon to be senior after this semester) going for B.S. in Computer Science with emphasis on Web Programming. A word of advice from friends that graduated and entered the work force... know your UNIX environment, and get familiar with Ruby if you plan on doing web development for a large corporation. You seem to be infatuated with Ruby (I am too), but maybe you over emphasize it's use. Certainly if you check out the latest YCombinator start up they're probably running Rails (or maybe node.js these days? Dajango? FOTM changes so much it's hard to keep track). But let me list the big corporations and their major language environments (based on my current understanding): Google: Python/Java/C++ (or some sort of language which compiles into python, or maybe javascript) Facebook: PHP/C++ (that's the brogrammer way) Amazon: Perl/C++ (though I hear they're moving to Java) Bing: ASP.Net ? I don't know anyone at MS these days Yahoo: PHP Twitter: RoR/Scala Not that I want to discourage you from learning Ruby, it's a fantastic language, but most of the major websites were written years ago, and their language choice belies this. If you're really working on a BS in CS, I would recommend the following: 1. Learn C (or C++, but C has less to learn) 2. Learn Lisp or Scala or Haskel or ML (something super functional, if you don't know what a fixed point function is your college has failed you) 3. Learn Html/CSS/Javascript (you would not believe the number of programmers who can't do basic webprogramming because they don't 'get' CSS) 4. If you still have time, get an internship before senior year (when it comes time to apply for jobs internships are the best thing to have on a resume) 5. Learn Mercurial or Git (don't care pick one) 6. Learn Emac or Vim (again, don't care) 7. Find an open source project and contribute (another great resume stuffer) 8. Figure out what a Hash is (this is the screw driver of programming) 9. Read this book: http://www.amazon.com/What-Every-Programmer-Should-Know/dp/B007WTFWJ6/ 10. Write code every day That last one is important. I had a buddy in college who was a body builder. He was in the Gym for 3 hours every day. At some point if you really want to get good, you just have to put in the time. Someone once told me you need 10k hours to be an expert at something. If you figure a 40 hour work week, then that's 5 years to become an expert at your job. Write code every day, and maybe you can get far enough to get a decent job. | ||
sluggaslamoo
Australia4494 Posts
On November 06 2012 16:24 frogmelter wrote: Correct me if I'm wrong but I believe there are servers for windows as well... http://en.wikipedia.org/wiki/Windows_Server Are those the only reason that Linux is better than Windows? I develop primary on Linux just because I was told it was better, but I don't really understand why [besides the command line, which I agree is amazing] Basically every server will linux unless it is windows proprietary like .NET. Because SSHing and managing a windows server is a PITA. | ||
sluggaslamoo
Australia4494 Posts
On November 06 2012 16:24 tzenes wrote: You seem to be infatuated with Ruby (I am too), but maybe you over emphasize it's use. Certainly if you check out the latest YCombinator start up they're probably running Rails (or maybe node.js these days? Dajango? FOTM changes so much it's hard to keep track). But let me list the big corporations and their major language environments (based on my current understanding): Google: Python/Java/C++ (or some sort of language which compiles into python, or maybe javascript) Facebook: PHP/C++ (that's the brogrammer way) Amazon: Perl/C++ (though I hear they're moving to Java) Bing: ASP.Net ? I don't know anyone at MS these days Yahoo: PHP Twitter: RoR/Scala Not that I want to discourage you from learning Ruby, it's a fantastic language, but most of the major websites were written years ago, and their language choice belies this. If you're really working on a BS in CS, I would recommend the following: 1. Learn C (or C++, but C has less to learn) 2. Learn Lisp or Scala or Haskel or ML (something super functional, if you don't know what a fixed point function is your college has failed you) 3. Learn Html/CSS/Javascript (you would not believe the number of programmers who can't do basic webprogramming because they don't 'get' CSS) 4. If you still have time, get an internship before senior year (when it comes time to apply for jobs internships are the best thing to have on a resume) 5. Learn Mercurial or Git (don't care pick one) 6. Learn Emac or Vim (again, don't care) 7. Find an open source project and contribute (another great resume stuffer) 8. Figure out what a Hash is (this is the screw driver of programming) 9. Read this book: http://www.amazon.com/What-Every-Programmer-Should-Know/dp/B007WTFWJ6/ 10. Write code every day That last one is important. I had a buddy in college who was a body builder. He was in the Gym for 3 hours every day. At some point if you really want to get good, you just have to put in the time. Someone once told me you need 10k hours to be an expert at something. If you figure a 40 hour work week, then that's 5 years to become an expert at your job. Write code every day, and maybe you can get far enough to get a decent job. I'm thinking node.js will be a flop until they change the system. Its just so easy to write spaghetti code trying to make everything concurrent, and when in todays world maintenance and agility is the most important, it seems like a huge step backwards to me. Ruby programmers are probably the highest paid on average and most sought after in this day and age. | ||
Deleted User 101379
4849 Posts
On November 06 2012 16:35 sluggaslamoo wrote: Basically every server will linux unless it is windows proprietary like .NET. Because SSHing and managing a windows server is a PITA. It's actually quite simple: Linux is free, Windows is not (Server licences are actually d*mn expensive). PHP/Python programmers are cheap, .NET (C#/VB) programmers are not. Linux admins are cheap (since most of them learn it at home), Windows admins are not (they need certifications). | ||
tzenes
Canada64 Posts
On November 06 2012 16:38 sluggaslamoo wrote: + Show Spoiler + On November 06 2012 16:24 tzenes wrote: You seem to be infatuated with Ruby (I am too), but maybe you over emphasize it's use. Certainly if you check out the latest YCombinator start up they're probably running Rails (or maybe node.js these days? Dajango? FOTM changes so much it's hard to keep track). But let me list the big corporations and their major language environments (based on my current understanding): Google: Python/Java/C++ (or some sort of language which compiles into python, or maybe javascript) Facebook: PHP/C++ (that's the brogrammer way) Amazon: Perl/C++ (though I hear they're moving to Java) Bing: ASP.Net ? I don't know anyone at MS these days Yahoo: PHP Twitter: RoR/Scala Not that I want to discourage you from learning Ruby, it's a fantastic language, but most of the major websites were written years ago, and their language choice belies this. If you're really working on a BS in CS, I would recommend the following: 1. Learn C (or C++, but C has less to learn) 2. Learn Lisp or Scala or Haskel or ML (something super functional, if you don't know what a fixed point function is your college has failed you) 3. Learn Html/CSS/Javascript (you would not believe the number of programmers who can't do basic webprogramming because they don't 'get' CSS) 4. If you still have time, get an internship before senior year (when it comes time to apply for jobs internships are the best thing to have on a resume) 5. Learn Mercurial or Git (don't care pick one) 6. Learn Emac or Vim (again, don't care) 7. Find an open source project and contribute (another great resume stuffer) 8. Figure out what a Hash is (this is the screw driver of programming) 9. Read this book: http://www.amazon.com/What-Every-Programmer-Should-Know/dp/B007WTFWJ6/ 10. Write code every day That last one is important. I had a buddy in college who was a body builder. He was in the Gym for 3 hours every day. At some point if you really want to get good, you just have to put in the time. Someone once told me you need 10k hours to be an expert at something. If you figure a 40 hour work week, then that's 5 years to become an expert at your job. Write code every day, and maybe you can get far enough to get a decent job. I'm thinking node.js will be a flop until they change the system. Its just so easy to write spaghetti code trying to make everything concurrent, and when in todays world maintenance and agility is the most important, it seems like a huge step backwards to me. Ruby programmers are probably the highest paid on average and most sought after in this day and age. Node.js definitely has a long way to go. It's easy to write, hard to read/maintain. Then again people used to say that about Perl... Dice provided a pretty good survey on salary as related to programming language: http://www.eweek.com/c/a/IT-Management/Java-Python-Apex-Windows-Top-List-of-IT-Skills-in-Demand-This-Year-507117/ Ruby does nicely at ~$90, but didn't make the top 5. Then again, everyone in the top 10 is making $90-$100k on average, so that's not too shabby. The truth is, the most valuable programmers can work in just about any language, and can pick up a language in a day or so. By the time you're learning your 20th programming language it's basically just looking up apis: what's the "for each" in this language? how do I concatenate strings? are we static/dynamic? are functions first class objects? | ||
sluggaslamoo
Australia4494 Posts
On November 06 2012 16:41 Morfildur wrote: It's actually quite simple: Linux is free, Windows is not (Server licences are actually d*mn expensive). PHP/Python programmers are cheap, .NET (C#/VB) programmers are not. Linux admins are cheap (since most of them learn it at home), Windows admins are not (they need certifications). That too | ||
Tobberoth
Sweden6375 Posts
I think it's cool for college students to work in Linux because they prefer it or whatever, but it's probably a good idea to think about what kind of company you will be working for and what the trends are. Ruby on rails is awesome to know if you're going to work for a small hipp company selling websites, not so much if you're going to be working for the IT department of a huge company. | ||
mmp
United States2130 Posts
On November 06 2012 16:49 tzenes wrote: Node.js definitely has a long way to go. It's easy to write, hard to read/maintain. Then again people used to say that about Perl... Dice provided a pretty good survey on salary as related to programming language: http://www.eweek.com/c/a/IT-Management/Java-Python-Apex-Windows-Top-List-of-IT-Skills-in-Demand-This-Year-507117/ Ruby does nicely at ~$90, but didn't make the top 5. Then again, everyone in the top 10 is making $90-$100k on average, so that's not too shabby. The truth is, the most valuable programmers can work in just about any language, and can pick up a language in a day or so. By the time you're learning your 20th programming language it's basically just looking up apis: what's the "for each" in this language? how do I concatenate strings? are we static/dynamic? are functions first class objects? The lucrative salaries don't mention anything about the number of and level of competition for those positions. | ||
phar
United States1080 Posts
On November 06 2012 16:24 tzenes wrote:+ Show Spoiler + You seem to be infatuated with Ruby (I am too), but maybe you over emphasize it's use. Certainly if you check out the latest YCombinator start up they're probably running Rails (or maybe node.js these days? Dajango? FOTM changes so much it's hard to keep track). But let me list the big corporations and their major language environments (based on my current understanding): Google: Python/Java/C++ (or some sort of language which compiles into python, or maybe javascript) Facebook: PHP/C++ (that's the brogrammer way) Amazon: Perl/C++ (though I hear they're moving to Java) Bing: ASP.Net ? I don't know anyone at MS these days Yahoo: PHP Twitter: RoR/Scala Not that I want to discourage you from learning Ruby, it's a fantastic language, but most of the major websites were written years ago, and their language choice belies this. If you're really working on a BS in CS, I would recommend the following: 1. Learn C (or C++, but C has less to learn) 2. Learn Lisp or Scala or Haskel or ML (something super functional, if you don't know what a fixed point function is your college has failed you) 3. Learn Html/CSS/Javascript (you would not believe the number of programmers who can't do basic webprogramming because they don't 'get' CSS) 4. If you still have time, get an internship before senior year (when it comes time to apply for jobs internships are the best thing to have on a resume) 5. Learn Mercurial or Git (don't care pick one) 6. Learn Emac or Vim (again, don't care) 7. Find an open source project and contribute (another great resume stuffer) 8. Figure out what a Hash is (this is the screw driver of programming) 9. Read this book: http://www.amazon.com/What-Every-Programmer-Should-Know/dp/B007WTFWJ6/ 10. Write code every day That last one is important. I had a buddy in college who was a body builder. He was in the Gym for 3 hours every day. At some point if you really want to get good, you just have to put in the time. Someone once told me you need 10k hours to be an expert at something. If you figure a 40 hour work week, then that's 5 years to become an expert at your job. Write code every day, and maybe you can get far enough to get a decent job. I would just like to say that this is an amazing post. #8 is hilarious (totally true). You could extend that to the following: make a big coin that says "HASH" on one side and "HEAP" on the other. Bring it to interviews. When asked a question, flip the coin and go with it. Don't quite agree with #3. Many of the most brilliant programmers I know can't do basic web programming (or refuse to), and it really doesn't matter. Not to say you shouldn't learn html/css/js if you like it, just don't feel compelled to do so if you don't like the fighting through unending hours of mindless debugging rectangles and seemingly arbitrary rules. (fuck you, frontend) Also I would add (in order of most important to least): - data structures, algorithms, math, statistics - dicking around on linux - read H&P quantitative approach, even if you're going to end up as a javascript programmer. (it's like $5) On November 06 2012 18:41 Tobberoth wrote: The dominance of linux in server environments is greatly overstated. A lot of huge companies use microsoft products for everything. All their internal programs are made in C#, all their computers run windows 7, all their intranet sites run on ASP.NET, all their SQL is in SQL Server databases... companies like this phase out Linux, which they got years ago when it was a fad for big companies to move over to Linux. Dealing with integration is a bigger problem than the money saved by using Linux, especially since the license fees make such a small difference for big companies. I think it's cool for college students to work in Linux because they prefer it or whatever, but it's probably a good idea to think about what kind of company you will be working for and what the trends are. Ruby on rails is awesome to know if you're going to work for a small hipp company selling websites, not so much if you're going to be working for the IT department of a huge company. Are we talking about software development or IT here? There's a big difference. Completely different skillsets, completely different things you need to learn. Windows has a majority of the hardware & server market. A lot of that is at large companies. Hell, there are a lot of companies that are still stuck on IE6 because of the massive internal tools they rely on. But if you're looking to go into software development, you cannot go wrong with learning on a linux stack. | ||
sluggaslamoo
Australia4494 Posts
On November 06 2012 18:41 Tobberoth wrote: The dominance of linux in server environments is greatly overstated. A lot of huge companies use microsoft products for everything. All their internal programs are made in C#, all their computers run windows 7, all their intranet sites run on ASP.NET, all their SQL is in SQL Server databases... companies like this phase out Linux, which they got years ago when it was a fad for big companies to move over to Linux. Dealing with integration is a bigger problem than the money saved by using Linux, especially since the license fees make such a small difference for big companies. I think it's cool for college students to work in Linux because they prefer it or whatever, but it's probably a good idea to think about what kind of company you will be working for and what the trends are. Ruby on rails is awesome to know if you're going to work for a small hipp company selling websites, not so much if you're going to be working for the IT department of a huge company. Integration is a bigger issue on windows servers. Linux you just use package managers and its so easy to clone with things like vagrant and chef. I have so many integration issues with windows server its not funny. | ||
HaRuHi
1220 Posts
#include<iostream> + Show Spoiler + So C++ passes arrays as references, and if I would overload coutarray with void coutarray(int array[]) this would work aswell and be the most matching function for the first coutarray call in main, yet in the template I have to explicitly pass the array as a reference. Why? Ok, found the answer. Arrays are passed as a pointer, thus not maintaining the size information, they are not passed as references cplusplus.com failed me. OMG, I feel stupid now, pls learn from my mistake. :> 2nd edit: While playing with it I also found out that the g++ compiler doesn't like it if you declare template parameters (like int size) and never use them. :> | ||
| ||