Posts Tagged ‘programming’

Debugging scalability issues in action: Twitch Plays Pokémon

December 28, 2016

On Infoq.com you can wath a presentation about that:

John Rizzo introduces Twitch’s chat’s architecture, telling how their engineers investigated and worked through the issues in what turned out to be a make-or-break situation for the company.

 

Advertisements

Intro to Reactive Programming in Java

September 27, 2016

Infoq.com has  a nice little intro and tutorial to reactive programming in Java with the RxJava library.

Key takeaways

  • Reactive programming is a specification for dealing with asynchronous streams of data
  • Reactive provides tools for transforming and combining streams and for managing flow-control
  • Marble diagrams provide an interactive canvas for visualizing reactive constructs
  • Resembles Java Streams API but the resemblance is purely superficial
  • Attach to hot streams to attenuate and process asynchronous data feeds

Also you should checkout the RxMarbles website which interactivly visualizes the reactive functions.

Confused with all the buzzwords and the JavaScript landscape?

April 12, 2016

InfoQ.com has a nice summary about how the JavaScript ecosystem looks right now (2016).

If you have previous programming experience but are a newcomer to frontend JavaScript development, the array of jargon and tools can be confusing. Without getting bogged down in detailed discussion, let’s take a general survey of the current “JavaScript landscape”. This should orient you sufficiently to start your journey into frontend development.

The articles touches everything from:

  • How does client-side JavaScript work, and why use it?
  • What’s a framework? Do I need to use trendy.js?
  • Should I be writing JavaScript, or something else? What kinds of JavaScript exist?
  • How do I use other people’s code?
  • Do I need Node.js?
  • What are my build tools?
  • How do I test my code?
  • So how do I get started?

The Last Programming Language

February 13, 2016

A talk about the history of Software programmers by Robert Martin. Nice except the end. There he does not see the inherent conflict of interest between someone wanting to see programming as a craft and the interest of businesses to make money.

How to handle Flag Arguments

January 23, 2012

Martin Fowler’s Website is teaching about the do’s and don’ts of handling flag arguments

A flag argument is a kind of function argument that tells the function to carry out a different operation depending on its value. Let’s imagine we want to make booking for a concert. There are two ways to do this: regular and premium .

If you are interested in improving your coding skills read the whole article.

Wanna know more about Test Driven Development?

May 21, 2009

InfoQ.com has collected a rather complete list of Test Driven Development resources from beginner tutorials to more in the details articles. If you want to learn more about this development method, check it out.

Howto convert HTML into plaintext

January 20, 2009
JEditorPane pane = new JEditorPane("text/html", html);
String plainText = pane.getDocument().getText(0, pane.getDocument().getLength());

Yes, you can use the Swing JEditorPane to convert HTML into plaintext. Weird but true.

Source: DerKoe

Sonar – open source project management tool

January 17, 2009

If you are managing a big java project and you use maven changes are high that you are running test coverage and code quality reports.
Analyzing this multitude of reports can be quite exhausting. At work we use Sonar, which uses data from a lot of maven reports (code coverage, pmd, …) and creates an overview on your project. AND it can be setup in about 20 minutes.

SONAR is a code quality management platform, dedicated to continuously analyze and measure technical quality, from the projects portfolio to the class method.

You can read here about the features of it. It even has a time machine to let you investigate the changes of your project over time.

If programming languages were religions…

December 17, 2008

Perl would be Voodoo – An incomprehensible series of arcane incantations that involve the blood of goats and permanently corrupt your soul. Often used when your boss requires you to do an urgent task at 21:00 on friday night.

More of this can be found on Aegisub’s blog.

Wrestling with Regular Expressions

November 10, 2008

I’m not a big fan of Regular Expressions. Mostly because I’m so inexperienced of using them. But even I see the oppurtinity to replace complex IF statements with RegExps (for example: has a number the form of a positive decimal number with 1 or two decimal places).

To ease the use of RegExps, there are myriads of online RegExps Testers. My favorite is
RegEx

Go ahead and try it, simple but powerfull.