Java

Why is the Fundamental Theorem of Software Engineering Fundamental?

Java Lobby Announcements - Wed, 2014-07-23 08:00
 Have you heard of the adage "All problems in computer science can be solved by another level of indirection."? If you are a programmer, chances are you have read about it in a book or an article talking about how to best structure the software you write. It's been dubbed the fundamental theorem of software engineering (the FTSE) so you should know what it is about. If you...
Categories: Java

Swift from an Objective-C Developer’s Perspective

Java Lobby Announcements - Wed, 2014-07-23 08:00
Originally written by Dylan Tian Preview Text:  After the most recent WWDC, most iOS developers aren’t talking about cool new iOS 8 features or APIs. Instead, they’re talking about a whole new language: Swift. Legacy Sponsored:  unsponsored
Categories: Java

The Real World Cup Winner: APIs

Java Lobby Announcements - Wed, 2014-07-23 08:00
 What a world cup! I do feel bad for 50% of the MuleSoft team though (given that we’ve got a big office in Buenos Aires). It’s exciting though, because this was a very exhilarating competition that truly reached a fever pitch here in the US where “football” is traditionally a game with pads, helmets, and ball that doesn’t really roll. Preview Text:  ...
Categories: Java

There's a Bot on Twitter That Sells OpenStack Instances for Bitcoin

Java Lobby Announcements - Wed, 2014-07-23 07:35
A developer over at StackMonkey wrote a bot that sells instances of his OpenStack cluster for Bitcoin, and the Twitter user @obitcoin is using it on Twitter. Truly we live in a frightening but awfully convenient digital age, made more convenient by devs like Kord Campbell, the developer in question. Preview Text:  A developer over at StackMonkey...
Categories: Java

Disable Spring Boot Production Ready Services

Java Lobby Announcements - Wed, 2014-07-23 07:30
For the past two months I've had the pleasure of working with The Lampo Group developing Hypermedia-Driven REST services using Spring Boot. Spring Boot makes it super simple to get started writing REST services. One of its biggest advantages is by default it embeds tomcat as the servlet container, allowing the developer to focus on other important things. Preview Text:  ...
Categories: Java

Avoid where in a reduce clause

Java Lobby Announcements - Wed, 2014-07-23 07:30
We got a customer question about a map/reduce index that produced the wrong results. The problem was a problem between the conceptual model and the actual model of how Map/Reduce actually works. Let us take the following silly example. We want to find all the animal owner’s that have more than a single animal. We define an index like so: Preview Text:  ...
Categories: Java

Scrum and Quantum Physics

Java Lobby Announcements - Wed, 2014-07-23 07:30
This article was originally written by Brett Goldman at the Axosoft blog.  Preview Text:  Since Scrum is an iterative process, you can have great success by focusing on things that you can say with a fair degree of confidence, while still allowing for some uncertainty in all planning and estimates. Legacy ...
Categories: Java

Pi Tracker–Code Running in Raspberry Pi

Java Lobby Announcements - Wed, 2014-07-23 07:30
In my last post you can see the Tracker in action. This post I will explain the code running in Raspberry pi that controls the Tracker. I use Wiring Pi to control the  GPIO instead of the default RPI.GPIO. The intention of using Wiring pi is because Software PWM is easy to implement. Any way after the first run of the tracker I realized that my tracker is slow moving one and no need to...
Categories: Java

Part 1: Getting Started with Ansible

Java Lobby Announcements - Wed, 2014-07-23 07:30
An introduction to Ansible Configuration Management A brief history of Configuration Management =========================================== * CFEngine - Released 1993. Written in C * Puppet - Released 2005 - Written in Ruby. Domain Specific Language (DSL. SSL Nightmare. * Chef - Released 2009 - Written in Ruby, also a DSL, more like pure Ruby * Juju - Released 2010, Python, Very ubuntu. * Salt...
Categories: Java

Why You Should Build an Immutable Infrastructure

Java Lobby Announcements - Wed, 2014-07-23 07:30
Some of the major challenges today when building infrastructure are predictability, scalability and automated recovery. A predictable system will promote the exact same artifact that you tested into your production system so no intermittent failure can cause any trouble. A scalable system make it trivial, especially automatically, to deal with any rise in traffic. Preview Text:  ...
Categories: Java

Redis Commands Visualized: One Good-Lookin' Database

Java Lobby Announcements - Wed, 2014-07-23 07:30
For no particular reason at all, Redis Labs' Itamar Haber took a D3.js swing at the bulk of Redis' 160-ish commands, creating an interactive visualization of the lot of them - in Redis colors, of course. According to Haber, it's set up like this: Preview Text:  For no particular reason at all, Redis Labs' Itamar Haber took a D3.js swing at the...
Categories: Java

Null Object Pattern Implementation in Groovy

Java Lobby Announcements - Wed, 2014-07-23 07:30
Simple real life problem. The proper service implementation is taken from a map based on a given service key. For an unknown/unsupported key a meaningful exception should be thrown. How could it be implemented without an if statement? Business context. PriceProvider allows to get price for the requested product. A concrete implementation call proper provider via Web Service (REST or SOAP). There...
Categories: Java

Highly Available PHP sessions using memcached 4 Coherence

Java Lobby Announcements - Wed, 2014-07-23 07:15
In this blog we will show you step-by-step how to use PHP memcached support, combined with our new library to store PHP sessions directly in Oracle Coherence using the memcached protocol. Preview Text:  In this blog we will show you step-by-step how to use PHP memcached support, combined with our new library to store PHP sessions directly in Oracle...
Categories: Java

A Schema Change Inconsistency with Galera Cluster for MySQL

Java Lobby Announcements - Wed, 2014-07-23 07:00
Originally written by Stephane Combaudon I recently worked on a case where one node of a Galera cluster had its schema desynchronized with the other nodes. And that was although Total Order Isolation method was in effect to perform the schema changes. Let’s see what happened.BackgroundFor those of you who are not familiar with how Galera can perform schema changes, here is a short recap: ...
Categories: Java

Neo4j: LOAD CSV - Processing Hidden Arrays in Your CSV Documents

Java Lobby Announcements - Wed, 2014-07-23 07:00
I was recently asked how to process an ‘array’ of values inside a column in a CSV file using Neo4j’s LOAD CSV tool and although I initially thought this wouldn’t be possible as every cell is treated as a String, Michael showed me a way of working around this which I thought was pretty neat. Let’s say we have a CSV file representing people and their friends. It might look like this: ...
Categories: Java

Creating a Simple Cluster with GlassFish

Java Lobby Announcements - Wed, 2014-07-23 07:00
In this post, I’ll go through the first steps of getting Glassfish installed and clustered with Apache to proxy requests. All this will be set up using one CentOS and one Fedora instance, but the steps should require little to no tweaking for other Linux platforms. Installing Glassfish Preview Text:  In this post, I’ll go through the first...
Categories: Java

Building Web Apps with Ember.js

ONJava - Tue, 2014-07-22 17:28

If you’re a web developer interested in building scalable single-page applications—full-stack, browser-based apps that connect to a backend—this practical guide shows you how to use Ember.js, the popular JavaScript framework based on the model-view-controller (MVC) architectural pattern.

Categories: Java

Hands-On Sencha Touch 2

ONJava - Tue, 2014-07-22 17:27

Get hands-on experience building speedy mobile web apps with Sencha Touch 2.3, the user interface JavaScript framework built specifically for the mobile Web. With this book, you’ll learn how to build a complete touch application, called Find a Cab, that has the look and feel of a native app on Android, iOS, Windows, and BlackBerry devices.

Categories: Java

The Physical Web

JDJ - Tue, 2014-07-22 15:00
Scott Jenson leads a project called The Physical Web within the Chrome team at Google. Project members are working to take the scalability and openness of the web and use it to talk to the exponentially exploding range of smart devices. Nearly every company today working on the IoT comes up with the same basic solution: use my server and you'll be fine. But if we really believe there will be trillions of these devices, that just can't scale. We need a system that is open a scalable and by using the URL as a basic building block, we open this up and get the same resilience that the web enjoys.

read more

Categories: Java

Keeping Things DRY: Method Overloading

Java Lobby Announcements - Tue, 2014-07-22 08:00
A good clean application design requires discipline in keeping things DRY:Everything has to be done once.Having to do it twice is a coincidence.Having to do it three times is a pattern.— An unknown wise manNow, if you’re following the Xtreme Programming rules, you know what needs to be done, when you encounter a pattern: Preview Text:  A...
Categories: Java

Pages

Subscribe to EGJUG aggregator - Java