Tuesday, November 10, 2015

Devoxx 2015


Tomorrow, starts Devoxx 2015 in Antwerpen. I'll be there all three days.
I will tweet and maybe also write on this blog. So stay tuned!

Friday, November 14, 2014

Ticino's gonna rock

Proud of my fellow Voxxed postmen colleagues!

Beers, Biffe de Lomo and Planning Optimization

Great night sharing the enthusiasm of Federico, Celestino and Mario about the future Voxxed event in Ticino.

Also met RedHat guys: Geoffrey (OptaPlanner) and Marco (jBPM).

BTW, OptaPlanner must be the basis of the future Java-based Platane version. 

 

Thursday, November 13, 2014

Offline HTML Apps for Mobile

Interesting return on experience from ThoughtWorks on offline issues using AppCache, LocalStorage, queued updates and synchronization.

This looks like some big ongoing project at my company. Was nice to compare the weight of the issues between both projects.

http://cfp.devoxx.be/2014/talk/XZD-3251/OnConnectionLost:_Challenges_of_an_offline_web_application

Docker Everywhere

Brian from Google started the Kubernetes project to manage Docker-based clusters in March this year. It has now 4500 GitHub stars and he delivers a full-room talk about it. Given that Google starts 2 billion containers a week, this is highly strategic for them.

Executive Summary: as even Microsoft is adapting Windows to support Docker, choosing this technology is not a risk. I would rather say that not choosing it is risky...

http://cfp.devoxx.be/2014/talk/LAQ-5951/Scaling_clusters_declaratively_with_Kubernetes_and_Docker

AngularJS in Real Life

At Netherlands ING Bank, they make the shift to embrace Angular widely. Key points are:
* Focus on automatic tests, Protractor, Page Objects, Karma
* Component library with website for doc and examples (ngdoc)
* Less for CSS
* Grunt  and bower

 http://cfp.devoxx.be/2014/talk/GNZ-6136/Enterprise_scale_AngularJS:_Component_library_and_Style_guide 

Tapas and Space

Spent the evening with Eclipse Foundation folks eating tapas and dinking spanish wine. Once again an opportunity to discuss issues and potential of professional Open Source.
Also maybe a chance to revisit Eclipse IDE in a near future now it has a dark theme, making it a sound competitor to IntelliJ.
By the way, Eclipse ecosystem spacey names collide with Rosetta landing.

Wednesday, November 12, 2014

Amazing CIO at ING Bank

I was surprised to see a bank as platinum sponsor. The evening keynote revealed that a good old bank can transform itself in a modern environment thank to the vision of one person, the CIO. The guy talks about Cassandra, Scala, Hystrix. Why not every organization have such a guy in the board?

1st conference day

As a wrap-up of the first sessions, here are keypoints:

  • As Java 8 emerges with functional constructions, the hype about dynamic languages on the JVM is less accute than before.
  • Angular JS get its first public criticisms. The non-compatible changes in 2.0 is irritating more than one. It keeps its appeal but the community does not see it has a silver bullet anymore.
  • Docker has a significant momentum. The incredible rate of adoption in its first year is quite unique in my eyes. It opens many possibilities, mainly due to its light weight.
  • Awareness about integration issues (distibuted computing fallacies) is raising. A sign that web integration, microservices in the cloud are a reality today.

Monads explained to Javaists

Excellent demonstration that Java 8 actually benefits from the Category theory as well.
Dick has the necessary pedagogic skills to make us grasp the concepts of Monoids, Functors and Monads. At least for those who coud follow....

Displaying IMG_1250.JPG

http://cfp.devoxx.be/2014/talk/HZZ-6927/What_Have_the_Monads_Ever_Done_For_Us%3F

HTTP 2.0 and consequences on programming

HTTP gets more complex with request/response multiplexing and binary headers. Nevertheless, it addresses current performance issues.
Should be a RFC in feb. 2015.
Java SE 9 will implement HTTP 2.0.

 http://cfp.devoxx.be/2014/talk/TJB-0261/HTTP_2.0_comes_to_Java.__What_Servlet_4.0_means_to_you 

Adam Bien on Microservices

Interesting practical presentation on how Adam manages his real-life developments. The process emphasizes the performance of the build and deployment. The message is: if build and deployment is really fast, there is no obstacle to moduarizing down to the os image, given that Docker is much faster than VMs.
Unfortunately, the talk missed criteria and rules for splitting logic in microservices.
http://cfp.devoxx.be/2014/talk/RUQ-8503/Pico_Services_with_Java_EE_7_on_Java_8_and_Docker

Redhat advertising, Java history and future from a coding point of view

Redhat shows a nice demo of their Feedhenry/OpenShift/Xpaas cloud stuff. It really shows the energy that vendors put in the new cloud lock-ins.

Brian Goetz introduces once again the Java 8 features... Content is a bit refreshed with streams.
Jigsaw will definitely be in Java 9.

Follow the OpenJDK research with projects Valhalla and Panama

Devoxx4Kids - Voxxed4Adults

Wow. Did not know that Fede and Celestino would get on stage in the opening keynote!!!

Keynote start!

Wi-fi looks like working great this year. The nice organization team welcomes us with the beacon hunt game.
Impatient to get into the sound material.

Tuesday, November 11, 2014

Devoxx 2014



Devoxx 2014 is about to start. Check the schedule for:
wednesdaythursday and friday.

Tell me your interests by commenting this thread.

Saturday, November 16, 2013

Types for the Web

As planned with Michael and Philipp, we spent last night hacking on a brand new small project.
Michael brought initially a nice idea: a recorder/player for HTTP requests that we can replay against the server, but also mocking the server for client tests. We started a repo but Philipp found that something similar already exists: http://freeside.co/betamax/

So, we found a new idea: type the web! Actually, we take Typescript typing syntax and generate other representations like json-schema. Thank to Xtext and Michael's expertise, we have after a few hours an Eclipse plugin with syntax highlighting and auto-completion. We map to json-schema. The idea, besides writing the Typescript support for Eclipse is to propose solid typing contracts and tools to bridge with other  typing proposals (json-schema, swagger, ...).

With a few more hours work, we can surely have something already *useful* for our projects!

https://github.com/lbovet/eclipse-typescript-xtext/tree/extends
https://github.com/lbovet/wtype

Devoxx 2013 is over

Feelings:

  • Google rules the web
  • Dev goes reactive


Nice night @Noxx

Thursday night: Hang out at the Noxx party. Listen to clojure-mixed music. Meet french Eclipse community guys. Aron Gupta, _the_ EE evangelist. I did not know about this. Thanks Michael to have stopped me talk about Spring.

Friday, November 15, 2013

Batch process in Java

Oh dear, the JSR-352 batch API is almost exactly the Spring batch API! It will be in EE 7. That's cool, we choose the right technology at the time.

Thursday, November 14, 2013

XSS security


This talk from Mike West shows that Google has the taken the power over the web. Google guys talks as if the web were a Google product. About new HTTP headers or ES6 features, they say "we do this, we add that". I am impressed by this self-confident attitude. No other player can talk like this nowadays.

Among interesting headers understood by Chrome, Mozilla and Safari in their most recent versions are:
  • Public-Key-Pins, a header to specify the SSL certificate signature. This prevents https man-in-the-middle attacks.
  • Clickjacking. Use X-Frame-Options to prevent the site to being framed. Without them, any page can embedd your webapp in a transparent frame and forces you to click somewhere without you knowing.
  • Beware of commented out placeholders. Attackers can often easily inject code by closing the comment.
  • Use X-XSS-Protection with mode=block. You can even specify a url to POST a report in case of attack.
  • Content-Security-Policy to choose where specific resource types can be downloaded from.

WebJars on their way

Met James Ward, father of WebJars. It looks like these get quite silent growing acceptance. As there is no valid alternatives and integration in many frameworks are popping along with CDN switching, we can happily rely on them.
I also learnt that we are not alone using WebJars in mobile hybrid apps. James is aware of this use cases and there is potential there.

Angular.js future

Break the framework in smaller pieces, modularity.
Separate data binding, routing, dependency injection, ...
Asynchronous DI, merge code loading and dependency injection.
Zones: to attach context to callbacks. This is AOP for promise/callback programming.
Will take advantage from ES6 (modules, annotations and contracts). They will start soon using traceur-compiler, which transforms code from ES6 to ES5. Instead of static typing, ES6 introduces contracts which allow to associated a function to validate the type at declaration time. This is actually a glorified assert() that are ignored in production.

Dart 1.0

Dart just lost its beta state these days. Ready for production and very fast with the Dart VM which will be built in Chrome next year.

The internal sale force management application of Google has recently been rewritten from GWT to Dart and uses Dartangular, the implementation of Angular for Dart.

Now, the convergence around Web Components shows that Dart could become strategical very quickly. Let'see.

Java goes reactive

Lambdas, Vert.x, Futures, Promises, Reactive programming. Here and there, we hear about them. Looks like Java woke up one morning suddenly aware of asynchronous models (although it has been already there in many other platforms). I feel quite a sound trend in this direction these days. Something probably stronger than a hype.

Thursday sessions

Here is my rough plan for today:

Thu 10:50 - 11:50
Room 4

Wednesday, November 13, 2013

Vert.x in an asynchronous world

Had an interesting discussion with Tim, Vert.x author. About promises in the core API and more generally about intergration in existing Java applications. As expected, promises will stay outside the core, in modules. I would have preferred a promise-oriented API in the core, but current debates opposing RxJava and pure promise approaches are not going towards getting rid of handlers passed as parameters.

I urged him to care about the Java community which is in my sense (and also according to website doc logs) the main target audience. Mostly about integrability with other Java technologies and frameworks. Competition from Akka is there and asynchronous Spring is coming and will probably be strong.

Wednesday sessions

Here are the sessions I attended so far and the ones I plan to attend today. I'll try to provide the same for tomorrow.. Wi-fi access is not that reliable, so I can not post as much as I want....


Wed 13:10 - 13:25
Room 8
Wed 13:35 - 13:50
Room 5