I order almost everything from this one online retailer. It’s convenient. Prices are competitive. And very often their free shipping option arrives within five days. I have ordered enough from them that I have received some weird packaging. All of it has been okay. Until now. I placed a very small order and this is what I got it in. Continue reading “WTF Machine Learning Algorithm???”
Development Sandbox: My Coding Guidelines
Great programming is a balancing act between writing good, readable and organized code. Good code is fast, efficient and memory conscious. Good code is also very easy to read and to understand. But also the way the code is organized is of the utmost importance. It’s a balancing act because sometimes fast and ugly code needs to give way to readable code. A single linear function that’s optimized to the nines may be super efficient. But it’s also a maintenance nightmare. Continue reading “Development Sandbox: My Coding Guidelines”
Amazing Science Channels on YouTube
Development Sandbox: Coding Patterns
Java is a habit-forming programming language. After a few years, good programmers find efficient ways to code. They’ll accept the programming language’s shortcomings. And they’ll make the best of a not-so-good situation. Pair programming and code reviews have provided a means for programmers to share ideas. They learn from each other to write better and cleaner code. It’s a social experiment of sorts. The more you are exposed to other developers and their code, the more your skills improve. It’s an evolution. Continue reading “Development Sandbox: Coding Patterns”
Development Sandbox: Int to String Conversion
Recently, while reviewing some legacy code I discovered a trick a developer had used to convert an integer to a string. The developer did this because the function only accepted a string as a parameter. As developers, often we look for succinct ways to code thinking that less code is faster. The interesting thing about the code is that it was the slowest of all the tests I had done. In all my efforts, I found five different ways to code to a conversion of an integer to a string. Continue reading “Development Sandbox: Int to String Conversion”
What’s your personality type?
If you care about becoming a better version of you the answer to that question doesn’t matter. I’m one to always read those questionnaires that offer to provide insights into the type of person you. Are you have to do is answer a bunch of simple questions. And lo and behold, the questionnaire defined you to a Tee. Other people may rave about how perfectly they were categorized. Continue reading “What’s your personality type?”
Three things I learned Investing in Bitcoin and Cryptocurrencies
A couple of weeks ago I invested in several cryptocurrencies. The entry barrier is really low compared to other investment vehicles. Due to its volatility, it’s easier to invest disposable income and then say goodbye to it. Then came the learning. Bitcoin. Cryptocurrencies. Blockchain. ICOs. There’s a lot to learn. And with some time it’s easy to understand what makes it tick. Here are three things I learned about investing in cryptocurrencies. Continue reading “Three things I learned Investing in Bitcoin and Cryptocurrencies”
Development Sandbox: String Concatenation
Continue reading “Development Sandbox: String Concatenation”
Development Sandbox: Java code inlining
Once in a while, it’s fun to take out the Java development tools and experiment. So I did just that. I went online and found a bytecode editor that does a quick job of parsing Java class files. I wanted to see what my code looked like in bytecode form. I wanted to test if a complicated if condition would get inlined. You know what I’m talking about. You’ve written that complicated condition fairly often. You need to validate that the variable you’re testing against is not null and is accessible. Continue reading “Development Sandbox: Java code inlining”
Using scripts to improve your workflow
Development these days is very complicated. You have to contend with many types of technologies. Source code management. Maven or Gradle build scripts. Testing of all sorts. Deployment to various destinations. The permutations are endless. CI/CD (continuous integration & continuous deployment) tools like Jenkins can handle several of these challenges. But sometimes all you need is a simple script to do the job. Continue reading “Using scripts to improve your workflow”