Showing posts with label java. Show all posts
Showing posts with label java. Show all posts

Saturday, February 24, 2018

How to Compound a Rainy Day

Watch the solar output when it’s super dark and rainy; it’s like watching your investments tank on a bad market day, but with even less ability to control it. Yeah, but it certainly compounds a sunny day, or even better: mitigates having to stay inside during an incredible day. Okay, barely.


This week I dove into the world of not Numpy with Java, ND4J. I didn’t even get into the ‘N’ of ND4J just keeping to a one dimensional array. Let’s just say that it has many really nice options for dealing with arrays. I will not mention the fact that you cannot easily get an array back to an otherwise usable list in Java without some machinations.


I think that is what I miss most about python in general. Even if a library didn’t have something very specific for a certain community it’s likely the community had someone willing to dive in and make a module that can do it and then posted it. Java certainly has its libraries and all the people using it, but somehow it’s a different community.


When someone asks how to do something there are ten different answers and they must all be encapsulated with a class. Sure if I want to do this again I will move it to a function. If it becomes widespread and is more like an object then I might think about making it a class, but seriously. And then spring… I just want to curl up with some nice classy class based views in Django and leave the mess of Spring behind.

In other news, I ran twice this week. Tuesday and Wednesday were up in the 60s and this morning wasn’t too chilly at 40. If New York only has 2 months of real winter, and it was cold, I guess it’s better for my running. Cloudy, but keeping at around 60% of electricity used produced by solar, ran, and now off to clean something and write my class paper proposal. Content.

Monday, October 17, 2016

The Lab of O

I’ve started the new job at the Cornell Lab of Ornithology! Specifically I am working for the Macaulay Library and it is awesome! When I started my previous job at COS I really wanted to push them to start supporting citizen science, but that never really worked out. Now I am dropped right in the middle of a citizen science and machine learning project! What could be better? If you want to help out: edbird is where you should submit checklists and upload photos, and merlinvision is where you can box/annotate bird photos.

So other than the tons of paperwork that comes with switching jobs, it is pretty awesome. My normal commute now is a walk in through the woods, with binoculars, so I can bird on the way in and out, and sometimes lunch too. It certainly beats 30 minutes each way unless I got stuck behind a bus.

Of course I am still learning the stack after two weeks (I claim there is quite a bit of paperwork to do), but I am starting to wrap my head around how things are done and being reminded how repetitive Java is: Make a new instance of a class by first telling the compiler that this is an instance of this class and then using “new” and the class… I understand that it makes it solid, near indestructible code, but I am not a huge fan. Also semicolons, thank goodness for a good development environment.

The best thing about this job is birds. People at work like birds! There are 1.4 million bird photos with more coming in every day from people across the world. It is just amazing that I am getting paid to do this. I guess they are paying me to become familiar with Java, the rest is just icing on the cake.

Featured Post

Allergy

John studied himself in the mirror as best he could through tears. Red, puffy eyes stared back at him, a running nose already leaked just a ...