background preloader

Practice-It!, a web-based Java practice problem tool for computer science students

Practice-It!, a web-based Java practice problem tool for computer science students

Top 10 Things That Annoy Programmers | Kevin William Pang 10. Comments explaining “what”, but not “why” Introductory-level programming courses teach students to comment early and often. Do you have any idea what the code above does? Me neither. The problem is that while there are plenty of comments describing what the code is doing, there are none describing why it’s doing it. Much better! Write comments to help readers understand the code, not the syntax. 9. In general, programmers tend to be more akin to locomotives than ferraris; it may take us awhile to get started, but once we hit our stride we can get an impressive amount of work done. 8. Wikipedia defines scope creep as “uncontrolled changes in a project’s scope”. Version 1: Show a map of the locationVersion 2: Show a 3D map of the locationVersion 3: Show a 3D map of the location that the user can fly through 7. Management is not an easy job. 6. It’s not hard to see that this is something programmers dread doing. 5. I never said that we weren’t hypocrites. 4. 3. “The website is broken”.

robot adapts to injury Lindsay France/University Photography Graduate student Viktor Zykov, former student Josh Bongard, now a professor at the University of Vermont, and Hod Lipson, Cornell assistant professor of mechanical and aerospace engineering, watch as a starfish-like robot pulls itself forward, using a gait it developed for itself. the robot's ability to figure out how it is put together, and from that to learn to walk, enables it to adapt and find a new gait when it is damaged. Nothing can possibly go wrong ... go wrong ... go wrong ... The truth behind the old joke is that most robots are programmed with a fairly rigid "model" of what they and the world around them are like. So Cornell researchers have built a robot that works out its own model of itself and can revise the model to adapt to injury. "Most robots have a fixed model laboriously designed by human engineers," Lipson explained. This four-legged robot is not preprogrammed to walk.

10 Programming Proverbs Every Developer Should Know | Kevin William Pang Proverbs are used to express universal truths or life lessons in a short and memorable fashion. I find that they are a great way to keep things in perspective, both in life and in work. Because of this, I have assembled 10 programming proverbs that every developer needs in their arsenal. 1. Relax. Poorly designed code tends to manifest itself through some common tell-tale signs. Giant classes and/or functionsLarge blocks of commented out codeDuplicated logicDeeply nested if/else blocks Developers often refer to these as code smells, but personally, I think the term "code smoke" or "code fumes" is more appropriate as it implies a higher sense of urgency. 2. Ok, I'm convinced Toyota's assembly line of the 1980s was famously efficient due to its revolutionary approach towards defect prevention. Developers often make the faulty assumption that productivity = cranking out code quickly. 3. In other words, what happens if you suddenly lost a key member of your team? 4. 5. Sound familiar? 6. 7.

Virtual Terrain Project Java programming test, hands-on skills - BetterProgrammer.com 14 Concept Appliances That Need To Be Made | My Bad Pad Concept appliances give us a peek into the future. They are often aesthetically pleasing and offer interesting and unique features; however, it is a rare concept appliance that makes it off of the drawing board and into the showroom. Unrealistic designs, high production costs and lack of consumer demand are often the reason for many ideas to be scrapped. Yet, here are 14 interesting concept appliances that have made it to the model stage and look so good that we hope they go into development soon. The iBasket is a hamper/washer/dryer combo. The transparent iBasket stores your dirty clothes. Why do consumers need the iBasket? The iBasket saves time and energy as you’ll never have to transfer your clothes from the hamper to the washer to the dryer again. Features: Transparent body Built-in air refresh system that removes the smell of dirty clothes Wi-Fi enabled to help you monitor it from your PC or laptop The one drawback to the iBasket is that it is very small. A short video about AgBot.

Create Great-Looking GUIs With NetBeans IDE 5.5 Oracle Technology Network > Java Software Downloads View All Downloads Top Downloads New Downloads What's New Java in the Cloud: Rapidly develop and deploy Java business applications in the cloud. Essential Links Developer Spotlight Java EE—the Most Lightweight Enterprise Framework? Blogs Technologies Contact Us About Oracle Cloud Events Top Actions News Key Topics Oracle Integrated Cloud Applications & Platform Services Wasting Hackers' Time to Keep Websites Safe Most security software defends PCs and websites by acting like a locked door to shut hackers out. A new security company, Mykonos Software, instead invites hackers in through a fake entrance and plays tricks on them until they give up. “If you break in, I want to have fun with you,” says David Koretz, CEO of Mykonos. Koretz claims that the computer security industry is too timid—he advocates making hackers’ lives tedious and difficult instead. Mykonos sells software intended to protect websites against attacks—like those on Sony’s websites last year that yielded thousands of credit-card numbers—aimed at gaining access to valuable data such as user credentials. When Mykonos’s software identifies an attacker, it tries to waste the hacker’s time by offering false data such as phony software vulnerabilities and fake passwords. The company’s software is aimed primarily at hackers who use automated tools that identify and exploit vulnerabilities in websites, says Koretz.

Programming Interview Questions So you want to know what they are going to ask? Or maybe you are looking for questions to ask? Here are some programming questions or puzzles often asked in programming interviews. Popular topics are: 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. Algorithms Interview Questions Can you discuss the characteristics of different sort algorithms such as bubble sort, heap sort, merge sort, quick sort, hash sort? Speed up your job search. C Style Strings: Find a substring inside a string. Arrays How do you declare and allocate 2-D and 3-D arrays in C? Data Structures Interview Questions What is Linked List (single, double), tree, que, stack, map, hashtable? Object Oriented Programming Interview Questions What is Inheritance, Encapsulation, Polymorphism? Multi-Threading Interview Questions How is multi-threading beneficial? Another question: In a multi-threaded system, assume that there is 1 writer that modifies the contents of an integer array. c++;write();c++; Assume that c++; is an atomic operation. Miscellaneous

Related: