content top
recent posts

Synchronizing threads in Java

This is post handling synchronization of Java threads is made as the follow-up of Creating threads in Java. There we had the situation that our threads evens and odds weren’t running smoothly. A solution for that is adding a time-out...

Creating threads in Java

Concurrency is a really great concept – multi-tasking and event handling are just two of the many spots it finds application and are amongst those things that makes computers stand nowadays where they are. Almost every operating system...

Plot symbols in R

Plot symbols in R
There’s a rich variety of plotting symbols for all basic plotting functions from the graphics package in R. You need to set the pch parameter in the call of the plotting routine. It’s an integer set by default to one and usually...

R: Extract matrix rows by matc...

Recently I needed a SQL-”select * where”-query-like way to extract rows of a matrix by matching values of specific columns, something like: SELECT * FROM `tablename` WHERE `column_a`=’x’ AND `col_b`=’y’ I...

R: Select specific elements or...

As the title suggests in this post I’d like to explain something very basic and very essential. In R (as in other languages) you may do things in different ways. Sometimes it doesn’t matter which way you choose, but sometimes it...
recent from General Synchronizing threads in Java
This is post handling synchronization of Java threads is made as the follow-up of Creating threads in Java. There we had the situation that our threads evens and odds weren’t running smoothly. A solution for that is adding a time-out after the thread’s main task. We’ll do this by calling...
recent from General Synchronizing threads in Java
This is post handling synchronization of Java threads is made as the follow-up of Creating threads in Java. There we had the situation that our threads evens and odds weren’t running smoothly. A solution for that is adding a time-out after the thread’s main task. We’ll do this by calling...
recent from General Synchronizing threads in Java
This is post handling synchronization of Java threads is made as the follow-up of Creating threads in Java. There we had the situation that our threads evens and odds weren’t running smoothly. A solution for that is adding a time-out after the thread’s main task. We’ll do this by calling...
recent from General Synchronizing threads in Java
This is post handling synchronization of Java threads is made as the follow-up of Creating threads in Java. There we had the situation that our threads evens and odds weren’t running smoothly. A solution for that is adding a time-out after the thread’s main task. We’ll do this by calling...
recent comments
  • mjk: You just saved me about an hour of figuring this out myself....
  • Jim: No problem ... thought it was me ... will try again!...
  • ForTheLoveOf: It's R, but I've mistyped and used double amp for the logica...
  • Jim: Is this supposed to be R or SQL ? I'm trying to use it in R...