background preloader

Coding

Facebook Twitter

PyCharm — Python IDE built on IntelliJ platform. Today we announce the release of PyCharm 5.1 Beta, a feature-complete preview version of PyCharm 5.1.

PyCharm — Python IDE built on IntelliJ platform

Compared to the previous EAP build, this one includes a consolidation of fixes for various bugs and issues for recently added features, as well as a bunch of new features we hope you’ll enjoy: Docker Compose support Additionally to Docker container settings in run configurations (introduced in the previous EAP build), in PyCharm 5.1 Beta we introduce Docker Compose support. To get started with Docker Compose in PyCharm, make sure you’ve installed Docker Compose according to its official documentation. Then, check that the docker-compose executable is specified in PyCharm Settings | Build, Execution, Deployment | Docker: Next, go to Settings | Project | Project Interpreter, click the gear icon to add a new remote interpreter.

At this stage you can also change the Docker engine settings and the Python interpreter path in the container for your service. Improved attach to process. Spring Restful web services json example Java tutorial for beginners. In this post, we will see Spring Restful web services json example.

Spring Restful web services json example Java tutorial for beginners

In previous post, we have created a very simple Spring Restful web services which returns plain text. In this post, we will see Spring Restful web services which will return json as example. If you want complete integration with hibernate and mysql, you can go through Spring Restful hibernate mysql example. Here are steps to create a simple Spring Restful web services which will return json.1) Create a dynamic web project using maven in eclipse. 2) We need to add Jackson json utility in the classpath. <dependency><groupId>com.fasterxml.jackson.core</groupId><artifactId>jackson-databind</artifactId><version>2.4.1</version></dependency> Spring Restful web services json example Java tutorial for beginners.

SteveStreeting.com » Why ‘software engineering’ is a misnomer. These days I’m a free agent, and I’m lucky enough to be able to choose what projects I work on, but in a past life, I was what I suppose is properly referred to as an ‘enterprise software developer’.

SteveStreeting.com » Why ‘software engineering’ is a misnomer

Yes, I once functioned in an environment where terms like ‘mission-critical’, ‘project life-cycle’, ‘stakeholders’ and ‘change management’ came up quite a lot. I’m grateful for the experience I gained over 12 years of doing that, but I’m also very glad to be free of it now. One term which was bandied around a lot in this environment was ‘software engineering‘. The implication of this term, and the expectation of many people using it, is that designing and creating software is very much like physical engineering disciplines, such as erecting a bridge or building a block of flats. At face value it sounds like a fair argument, and I’ll be the first one to admit that software engineers are very often not as rigorous as others bearing the title.

Software is intangible. Related September 27, 2006. Is Your Code Too Concrete? - DZone Integration. Mark Tiele Westra wrote a splendid post two years ago, "The ball of mud transition," in which he elaborated on an idea nabbed from a Stuart Kauffman book.

Is Your Code Too Concrete? - DZone Integration

He writes, The Mikado Method.

Testing

Web Testing. Android. Automated Android Test. Immutable objects. Immutable objects Immutable objects are simply objects whose state (the object's data) cannot change after construction.

Immutable objects

Examples of immutable objects from the JDK include String and Integer. Immutable objects greatly simplify your program, since they: are simple to construct, test, and use are automatically thread-safe and have no synchronization issues don't need a copy constructor don't need an implementation of clone allow hashCode to use lazy initialization, and to cache its return value don't need to be copied defensively when used as a field make good Map keys and Set elements (these objects must not change state while in the collection) have their class invariant established once upon construction, and it never needs to be checked again always have "failure atomicity" (a term used by Joshua Bloch): if an immutable object throws an exception, it's never left in an undesirable or indeterminate state Immutable objects have a very compelling list of positive qualities. Grant/Revoke Privileges.

Inheritance versus composition: Which one should you choose? One of the fundamental activities of an object-oriented design is establishing relationships between classes.

Inheritance versus composition: Which one should you choose?

Two fundamental ways to relate classes are inheritance and composition. Although the compiler and Java virtual machine (JVM) will do a lot of work for you when you use inheritance, you can also get at the functionality of inheritance when you use composition. Comparison of issue-tracking systems. General[edit] Features[edit] Input interfaces[edit] Notification interfaces[edit]

Comparison of issue-tracking systems

SVN hosting (and defect tracking)

Netbeans

SQL. Coffescript. c0d3. Spring. Exercism Redesign. Don't Waste Time on Code Reviews. Less than half of development teams do code reviews and the other half are probably not getting as much out of code reviews as they should.

Don't Waste Time on Code Reviews

Here’s how to not waste time on code reviews. Keep it Simple Many people still think of code reviews as expensive formal code inspection meetings, with lots of prep work required before a room full of reviewers can slowly walk through the code together around a table with the help of a moderator and a secretary. Lots of hassles and delays and paperwork. But you don’t have to do code reviews this way – and you shouldn’t. There are several recent studies which prove that setting up and holding formal code review meetings add to development delays and costs without adding value.

At shops like Microsoft and Google, developers don’t attend formal code review meetings. These light weight reviews (done properly) are just as effective at finding problems in code as inspections, but much less expensive and much easier to schedule and manage. Substance over Style. Learn how to code.