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.

No comments:

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 ...