Astronomy, Coding, Together with sis

Observing the Red Moon during the eclipse last Friday night

We were also lucky to have friends with a telescope over at Simon’s grandma’s summer house in Friesland last weekend and saw the Moon a little closer than as shown on these mobile phone pics I took. It was very warm and great to be outside at midnight after many hours in the train on the melting railroad (the train couldn’t move for one and a half hours due to the switches malfunctioning in the heat).



Simon watching Daniel Shiffman’s live stream on Machine Learning outside:


Coding, Java, Milestones

Simon testing Codota

In the videos below, Simon is building a Codota demo in Java. Codota is an AI programming assistant that is looking for solutions on GitHub and other global resources and suggests them in real time, recognizing your code. At the moment, it’s only available for Java and only for three editors (here – Eclipse), so the use is very limited, but their website says that other languages will follow soon. Since Simon normally uses Processing for Java, he can’t really use Codota for most of his projects. It has been an interesting exercise though (and I was surprised at how skillful he is at writing Java in Eclipse, which is quite different from Processing), and a glimpse into the future. There’s no doubt assistants such as Codota will very soon become a common companion. Simon had Codota resolve one error for him and was very happy about that. He said Codota was his friend. He was reluctant to turn its speech functions on, however. Simon has this slight fear of full blown AI and a fascination, wanting to learn how it works, at the same time.





XML in Eclipse

Many tears today around Eclipse IDE and trying to build a webpage in XML. Several times the Eclipse version Simon downloaded was incorrect and he started anew. It was like the sun going down on me, watching him break down crushed and doing my best to search for a solution together. Funny how quickly he recuperated every time the obstacle was (or seemed to be) resolved.  In the end, he managed to build the page he wanted. Credit to Derek Banas for the code and the tutorials.




Console Application in Java

Simon was training to build console applications with Derek Banas’ tutorial on design patterns. At the end of the third video, Simon says yes to my question if the console app could also be displayed on a webpage. After we stopped filming he corrected himself: Java is never used for websites, he said, but the same techniques he learned today can be useful for Android apps.