The UML logo, by Object Management Group®, Inc. from uml.org; Public Domain. |
This post is intended as support material for another post of mine; see michael.gr - The Deployable Design Document.
It has miserably failed.
The UML logo, by Object Management Group®, Inc. from uml.org; Public Domain. |
This post is intended as support material for another post of mine; see michael.gr - The Deployable Design Document.
It has miserably failed.
"Dutch Tongue" by michael.gr, based on the logo of The Rolling Stones. |
The Dutch rank #1 in the world1 in English-as-a-foreign
language proficiency, making it possible for foreigners who speak English to
live in The Netherlands, and especially in the Randstad area (W), without ever having to learn Dutch. However, due to peculiarities of the
Dutch language, there are certain mistakes in the use of English that the
Dutch are somewhat prone to make. When this happens, some call it "Dutchlish".
Here is a collection of common mistakes, (or examples of Dutchlish, if you
wish,) collected over the course of several years of living in The
Netherlands.
"Coding Software Running On A Computer Monitor" by Scopio from NounProject.com |
My thoughts and notes on how I would like a new programming language to look like.
The goals of the language are:
I knew I was definitely going to watch this one, from just the title. It turns out that he comes across a bit annoying due to attitude; nonetheless, the talk is definitely worth watching.
The Bathyscaphe logo, a line drawing of
bathyscaphe Trieste
by Mike Nakis, based on art found at
bertrandpiccard.com
|
This article introduces Bathyscaphe, an open-source java library that you can use to assert that your objects are immutable and/or thread-safe.
Programmers all over the world are embracing immutability more and more; however, mutation is still a thing, and in all likelihood will continue being a thing for as long as there will be programmers. In a world where both mutable and immutable objects exist side by side, there is often a need to ascertain that an object is of the immutable variety before proceeding to use it for certain purposes. For example, when an object is used as a key in a hash map, it better be immutable, or else the hash code of the key may change, causing the map to severely malfunction.
Quite often, when I rename a maven module, IntellijIdea gets confused and keeps showing the old module name in the project view.
I discovered that this is happening because:
The solution I have found to this problem is:
Artwork based on original mouse-15887 by Arkthus from the Noun Project |
For various projects of mine I need to be able to synthesize sound, so I decided to take a quick dabble in the realm of Digital Signal Processing. I mean, how hard could it be, right?
After some fooling around with the Sampled Audio Subsystem of the Java Virtual Machine I was able to hear sinusoidal waveforms of various frequencies from my speakers, and I was starting to think that I am probably almost done, until I tried to play square waveforms. That's when I realized that I had barely scratched the surface. The square waveforms sounded pretty awful at any frequency, and especially at high octaves they sounded like random notes. Triangular waveforms, sawtooth waveforms, really anything except sinusoidal waveforms all suffered from the same problem.
A bit of googling around soon revealed the name of the source of my troubles: aliasing.
A naïvely sampled square wave, exhibiting a bad case of aliasing. Note how some of the peaks and valleys consist of 3 samples, while some consist of only 2 samples. |