buransky.com
February 2014 – Rado Buranský
http://buransky.com/2014/02
Director of Engineering at Pygmalios. Initd shell script for Play framework distributed applications. I wrote a shell script to control Play framework applications packaged using built-in command dist. Applications packaged this way are zipped standalone distributions without any need to have Play framework installed on the machine that it’s supposed to run on. Everything needed is inside the package. Inside the zip, in the bin directory, there is […]. The best code coverage for Scala.
buransky.com
Scala Wonderland: Case classes and pattern matching – Rado Buranský
http://buransky.com/scala/scala-wonderland-case-classes
Director of Engineering at Pygmalios. Scala Wonderland: Case classes and pattern matching. Pattern matching is usually related to text search. In Scala it has much more sophisticated usage. You can write exciting decision logic when used together with case classes. Even after understanding what the two things mean I wasn’t able to use them as they deserve. It takes a while to really grasp them. Long and winding road. For introduction. Let’s look at some more interesting examples. Plain old data holders.
buransky.com
August 2014 – Rado Buranský
http://buransky.com/2014/08
Director of Engineering at Pygmalios. Publish JAR artifact using Gradle to Artifactory. So I have wasted (invested) a day or two just to find out how to publish a JAR using Gradle to a locally running Artifactory server. I used Gradle Artifactory plugin to do the publishing. I was lost in endless loop of including various versions of various plugins and executing all sorts of tasks. Yes, […]. Introducing the ReactiveInflux: non-blocking InfluxDB driver for Scala and Java supporting Apache Spark.
buransky.com
Rado Buranský – Page 2 – Scala developer.
http://buransky.com/page/2
Director of Engineering at Pygmalios. Scala has recently introduced async. Let’s take a look at the following example in Scala:. Async { . some code A . await { . some code B . } . some code C . }. I don’t want to go into disgusting details here, but the point is to stop looking at the “async” as at a monolithic sequence of statements. Fires off execution of block B (possibly executed by another thread). Done Free to do something else. Go for a beer. SIP-22 – Async. December 27, 2013. This proves that un...
buransky.com
Scala Wonderland: Semicolons, singletons and companion objects – Rado Buranský
http://buransky.com/scala/scala-wonderland-semicolons-singletons-and-companion-objects
Director of Engineering at Pygmalios. Scala Wonderland: Semicolons, singletons and companion objects. In Scala you may usually omit semicolon. At the end of a statement. It is required if more statements are on a single line. Unfortunately there are cases when compiler doesn’t undrstand the code as you would expect. For example following is treated as two statements. Solution is to use parenthesis. Scala doesn’t have static members. It has singleton objects. Name: String) { private var. July 30, 2013.
buransky.com
Seduced by the West – Rado Buranský
http://buransky.com/it/seduced-by-the-west
Director of Engineering at Pygmalios. Seduced by the West. I was born and lived 30 years in Bratislava. Capital of Slovakia. After studies I started working for IBM as a C#/Java developer and stayed there for 5 years. Nice years. I have learned a lot, met great people, traveled around the world. Not to forget, I have earned some money. Nice money. I am happy to have IBM in Bratislava. Don’t get me wrong. And this is not just about IBM. We have Accenture, HP, Dell, SAP a other stuff like...August 1, 2013.
buransky.com
Await without waiting – Rado Buranský
http://buransky.com/programming/await-without-waiting
Director of Engineering at Pygmalios. Scala has recently introduced async. Let’s take a look at the following example in Scala:. Async { . some code A . await { . some code B . } . some code C . }. I don’t want to go into disgusting details here, but the point is to stop looking at the “async” as at a monolithic sequence of statements. Fires off execution of block B (possibly executed by another thread). Done Free to do something else. Go for a beer. SIP-22 – Async. Categorized in: Programming. Fighting ...
buransky.com
May 2014 – Rado Buranský
http://buransky.com/2014/05
Director of Engineering at Pygmalios. Scala for-comprehension with concurrently running futures. Can you tell what’s the difference between the following two? If yes, then you’re great and you don’t need to read further. Version 1: val milkFuture = future { getMilk() } val flourFuture = future { getFlour() } for { milk. Introducing the ReactiveInflux: non-blocking InfluxDB driver for Scala and Java supporting Apache Spark. Fighting NotSerializableException in Apache Spark. Integration testing with Gradle.
buransky.com
Init.d shell script for Play framework distributed applications – Rado Buranský
http://buransky.com/play-framework/init-d-shell-script-for-play-framework-distributed-application
Director of Engineering at Pygmalios. Initd shell script for Play framework distributed applications. I wrote a shell script. To control Play framework. Applications packaged using built-in command. Applications packaged this way are zipped standalone distributions without any need to have Play framework installed on the machine that it’s supposed to run on. Everything needed is inside the package. Inside the zip, in the bin. Download the script from GitHub and make it executable:. Now I can conveniently...
buransky.com
July 2013 – Rado Buranský
http://buransky.com/2013/07
Director of Engineering at Pygmalios. Scala Wonderland: Semicolons, singletons and companion objects. In Scala you may usually omit semicolon at the end of a statement. It is required if more statements are on a single line. Unfortunately there are cases when compiler doesn’t undrstand the code as you would expect. For example following is treated as two statements a and b: a b Solution is to […]. The Rule of Failed Integration Build. What to do if an integration build fails? Scala encourages to use a fu...
SOCIAL ENGAGEMENT