It’s useful to think of threads simply in terms of tools that provide the ability to execute pieces of code asynchronously. Before async-await and Future…
Tag: java
Best way to split a paragraph into sentences
Posted on under Coding & Tech — Leave a comment…is to not use your own brain but rather ride on the shoulders of an expert. Surprisingly enough (for most), a popular ‘expert’ is Stanford CoreNLP. Suppose you have the following paragraph (credit): Born in Pretoria, South Africa, Musk taught himself computer programming at the age of 12. He moved to Canada when he was […]
Creating a Java 10 project in IntelliJ IDEA with JUnit 5 and Gradle support
Posted on under Coding & Tech — Leave a commentIntelliJ IDEA is a free and open-source (yay!) IDE for Java development. It’s a huge-huge-huge improvement over the slow and ageing Eclipse. Recently, I wanted to do some programming practice, so I thought why not in Java. I started by writing my code in good ol’ Notepad++. Very soon I reminded myself about my TDD […]
Running opentaps in Windows
Posted on under Coding & Tech, Tutorials — Leave a commentSo I’m playing around with opentaps these days. It runs pretty neatly in Linux. Simply executing a shell script it comes with autostarts a built-in Tomcat server and runs the darn thing without a hitch. opentaps under Windows is another animal! Although opentaps comes with a similar batch script for Windows, the thing doesn’t run […]
Granular Package Archive
Posted on under Projects & Experiments — 2 CommentsContinuing my Java learning stint, I started experimenting on RPM packages in the Granular 2008 repository by extracting meta data from them using various Java classes I had written for my on-going college major project. To give a shape (end-user interface) to these leisurely done Java programs, I used my existing project MyBlog to create […]