Please create an account to participate in the Slashdot moderation system

 



Forgot your password?
typodupeerror

Comment Use Coding Standards, Libraries, and Good Books (Score 2) 575

A language is not evil because it isn't strongly typed. Just because a language offers that option doesn't mean that you have to use it though. There are a lot of things that languages offer that aren't the best tool in all cases. This is where coding standards come in really helpful :)

That being said, I think that these could help you out:

  • JSLint - this is a linter that has some IDE support to help ensure that your code will adhere to some good standards
  • jQuery - this will help to abstract browser differences away so that you don't have to worry about that to cause your site to not work
  • QUnit - this is a test suite to aid in development
  • JSCoverage - helps to measure code coverage of unit tests.

JavaScript has been around for a long time and has lots of books and articles written. This is a huge benefit. I personally think that JavaScript Patterns by Stoyan Stefanov is a good quick read to show you how to implement popular design patterns in JavaScript. A deeper discussion can be found in his book Object-Oriented JavaScript.

Comment Favorite Quote (Score 2) 321

Never... ever suggest they don’t have to pay you. What they pay for they’ll value. What they get for free they’ll take for granted and then demand as a right. Hold them up for all the market will bear. -Lois McMaster Bujold

Comment Software Estimation: Demystifying the Black Art (Score 3, Informative) 483

I would recommend reading "Software Estimation: Demystifying the Black Art" [http://www.stevemcconnell.com/est.htm]. When estimates are created, there are many tasks besides "programming" that need to be done that are totally forgot about in the estimates and thus throws things off from the very beginning. We have to admit from the beginning that it is an estimate and is hinged with certain unknowns. If the unknowns are cleared up, we can be more accurate with our quoting (this is why requirements gathering should be done with careful attention). Also, since the estimates are just that, they need to not just be a number, but more of a range (if you have to give a number, choose the far end and be sure that you are confident that it can be accomplished by then - with a minimum of 90% certainty - and give the confidence with the estimate). One thing that I have learned is that I never negotiate on estimates/price, I only negotiate on functionality. If a manager/client wants it quicker/cheaper/less hours, fine, but I'm not going to change the number unless the functionality changes or more unknowns are cleared up (helping me to quote more accurately).

Comment Re:the haters won't notice, but... (Score 1) 1124

I think that the statement was completely taken out of context. To quote the FireFox developers on their blog https://wiki.mozilla.org/Firefox/Sprints/Windows_Theme_Revamp/Direction_and_Feedback:

Starting with Vista, and continuing with Windows 7, the menubar is going away. To be replaced with things like the Windows Explorer contextual strip, or the Office Ribbon(now in Paint and Wordpad too). Many apps still retain the menubar as an option to be pinned or to be shown briefly by holding the Alt key.

I think the point was that Windows is getting rid of the menubar, in favor of the contextual strip or Office Ribbon, not that FireFox is going to use the ribbon in their design. They are simply trying to improve the interface and make it more like the competitors, IE and Chrome (who have come up with some novel ideas to improve the interface). If Windows is not going to have the menubar, then FireFox will look completely out of the times if they continue with it (whether the users on here like it or not).

Intel

Asus Demos First Intel P55 48

adeelarshad82 writes "Intel's X58 chipset is the platform of choice for enthusiasts, but Intel serves a heck of a big audience. To please that larger crowd and bring down prices, the company is planning a mainstream iteration of its Nehalem architecture: the P55 chipset. It's designed to work with the forthcoming Lynnfield CPUs, and offers performance close to LGA1366 chips at a much cheaper price. Recently Asus demoed its first intel P55 chip and released exclusive photos. Asus claims to have run its new boards with engineering samples of the Core i5-750 at a 77 percent overclock, boosting speeds from 2.66 GHz to 4.7 GHz. Asus admits this wasn't necessarily stable, but still — that's fast. And on liquid cooling, the boards reportedly hit speeds of 5.1 GHz."

Comment Re:Single biggest frustration for many coders (Score 2, Insightful) 274

I find that a lot of times managers like to feel important, so they force you to sit in a meeting where they tell you everything that they are working on and want to tell you way more than you need to know. There is nothing I hate more than being interrupted when I am developing some code to sit in a meeting, and then find out that I didn't need to be there at all and now my time was just completely wasted...
Programming

Submission + - CUDA-Based SHA Hash Cracker for EngineYard Contest (nvidia.com)

Professor_Quail writes: The EngineYard Programming Contest will be starting today, but chances are if you haven't heard about it, then you won't have the time to put a solution together. However, if you have an nVidia-based graphics card, one nVidia forum member put together some code that is able to check over 200 million hashes/sec on a fast card, making it your best bet to win the contest (unless you have access to a Beowulf cluster you can use ;). The grand prize is an iPhone 3GS and $2000 of cloud computing credits. Good luck!
Programming

Submission + - MVC Javascript Framework For AJAX Apps

hofmny writes: I recently embraced the MVC paradigm while building a new system for a job I am doing, and it has revolutionized my ideas on system design. Everything is modular, making it easy for multiple programmers to work on different sections and share code while significantly reducing development time. I chose to use Zend Framework, because I found it the most supported and versatile, while not forcing you to use any of the Zend packages if you don't want to. However, I am doing heavy AJAX coding and my JavaScript is not revolutionized like my back end code is. It consists of two or three JS files containing a bunch of functions, and while they are well named, I fear it is going to start growing unmaintainable soon. I am using JQuery as a Toolkit, but I would like to know if there is some sort of MVC framework I can use for JavaScript to match my MVC back end to have the same wonderful qualities that MVC gives. I would really like it to work hand in hand logically with the controller and views in the back end. I found only one real MVC JS framework, JavaScriptMVC, but it is beta and the docs are under construction. What do other people do to organize their JavaScript code (when using an existing toolkit, like script.aculo.us or JQuery) to make their AJAX applications as extensible and organized as their back end code?

Comment Everyone is Missing the Point (Score 1) 553

I think that I must be the only person who actually read the paper. The point of the author is not that we don't need good passwords, but rather that we would gain much more security out of making the user ids strong. The individual talked about all of the ways that accounts can be broken into and talked heavily about the method of bulk guessing accounts. If the site's user ids are very dense (meaning that the unused input space is little), then the chances of a break in are much more likely (like in the case of site generated user ids that are sequential). This is because the input space for passwords is only so large, and it is very likely that 1 in 1,000,000 users will have a random password. The research talked about how in order for this to be true, the site has to have a large amount of users (like a national bank chain). The author even mentions that it doesn't matter if the user writes his/her strong user id down, as it is only a portion of the credentials and is intended to prevent the bulk guessing of accounts. This used with stronger passwords (I should note that the author even talks about not really needing strong passwords if strong user ids are used) seems to be a good defense. It is a very interesting read, and the author brings thoughts to the table that have not really been discussed (as far as I have read). Before anyone attacks this simple synopsis of the paper, please read it to fully understand lol.

Comment Re:"Dethroned if it stops innovating" (Score 1) 283

How are these examples Google's responsibility?

That was said in response to your previous statement:

Until Google reaches a point where it becomes virtually impossible to field a competing site successfully, I think the word 'monopoly' is a bit premature.

My point was that I believe that is the case already.

Windows and IE target the same customers - consumers of software.

While this might be correct that they both consume software, they are different markets. Not everyone using Windows will use a web browser, and not everyone using a web browser will use Windows. It is like saying that Google's search and advertising target the same customers - consumers of the Internet. Remember that the advertisers are also searchers (just wear different hats from time to time). Both instances seem to be two items that go hand in hand in people's minds today.

It could be stated that Google is stifling advancements in online advertising because the ad service is tied right in with search results (I'm not arguing that is wrong though), preventing other vendors from getting the market share on their service. To alleviate this, the EU will require Google to remove the advertisement feature from their web site and the user must choose if they want one of those services lol. I don't really think that is the problem per se. I think it is the ad service that is then sold to other web sites, which happens to be the same one used on their search site. Being that almost everyone uses google for search, they need to advertise on google. However, Google also makes money by then selling those ads to other third party sites. While I don't think this is wrong for them to do, other companies can look and claim that it is anti-competitive since this further cements their grips on the online advertising market. If someone advertises on Google, they also have the opportunity to show up on a vast array of other sites (a huge selling point). Explain how another competitor can come in to even compete? I'm not saying that Google is purposely doing so, but one has to understand that the government would need to keep an eye out to ensure that they aren't.

Comment Re:"Dethroned if it stops innovating" (Score 1) 283

I'm not sure I quite agree with your assessment. I believe that there is a very large barrier to entry for someone to compete with google. Even if some other company could somehow develop a competing algorithm (which is pretty unlikely due to all of the PhDs google employs and the decade head start - their only real threats have failed time and time again), they also have to have the technology infrastructure to handle the load. There is more to the search engine than other web applications. I'm not so sure that the fact that they have a great search engine is the concern. I believe the tie-in with that and the ad service is what is seen as the monopoly behaviors. They pretty much dominate the search so much that there really is not a reason to even market that much on any other search engines (stifling competition in the online advertising sector). So now, anything that they do to increase their market share in the online advertising sector is questionable if they are doing it to hinder competition or better a product. It is the same argument that Microsoft is trying to say with the browser tie-in with the operating system. They say that you can simply download and install another one if you so desire... after all, it is just a click away in the browser.

Comment Re:Not to fanboi all over the place... (Score 1) 849

You know, I'm not quite sure that will work on non-mobile/non-touch screen devices too well. The average slashdotter (and anyone growing up in the modern generations) most likely types too fast for that to even really register in their brain as the letters turn to asterisks too quickly. I think that hen peckers are the only ones who would really gain any advantage out of that. That is why it is so successful on the iPhone, you have no choice but to hen peck.

Slashdot Top Deals

You do not have mail.

Working...