HN user

akud

345 karma

My email is the letter a, the letter d, then kudlick at google's free email service.

Posts17
Comments64
View on HN

Lead Engineer at PAX Labs, we just open-sourced some Java utilities i wrote in the early days building service oriented architecture on dropwizard: https://github.com/PaxLabs/java-utils

A few things in there:

* `HibernateQuery` - wrapper around hibernate jpa implementation, because using the jpa criteria api is verbose as hell (seriously, even for java). Coming from having written Django, I wanted the ease of using Querysets in java

* Makemigrations - this seemed to be a missing hole in the java ecosystem. Our contractors were hand-writing sql migrations and using some framework that just ran them. Liquibase exists for managing migrations, hibernate can generate the schemas. This library is a dropwizard command to generate yml to migrate the old schema to the new one.

* generic pagination bundle

It's not a tradeoff. The reason we like quality code is it saves time in the long run by being clear, easy to change, less error-prone, etc. If you expect to be employed in 6 months, you should be refactoring and putting care into the quality of your code. It's hard at first, but I'm at a point where I'm the most productive engineer and I work the least amount of hours - because my code is there to help me, not hurt me.

I've been working on a similar project in my spare time to create tools for interactive technical blogs [1]. It's funny, in the past day I've seen two projects that I would say have the same goals as me, idyll being one of them.

What are the possibilities around contributing to idyll? Building on top of it? Is it as simple as writing my own components?

I'm specifically interested in uis to define data structures. One of the more annoying things I found working with d3 to create graphs (as in graph theory) was defining the graphs procedurally, so I built a ui to define graphs graphically.

[1] https://akud.github.io/visualization-blogs/index.html

I'm a regular Google+ user and I find it incredibly valuable. The fact that there are fewer people on there is actually an asset - the people that do use it do so because they have some topic they're interested in that they're discussing with other interested parties. There's a lot of mathematicians, scientists, and authors. In general, the average g+ user is much more knowledgeable than on any other site.

Also, the actual features are super valuable. You can create collections with varying levels of privacy for your posts. I use some private collections to take notes, and post more well thought out content in the public versions of those collections. The collections help me organize my thoughts, and I can see different ideas emerging over time. I have a collection to talk about software engineering practices, for example.

Also, being able to create private communities is nice. My wife and I have a private community where we share things about our daughter - photos, things we want to remember, things she's learning.

Overall, g+ has enriched my life.

I haven't had a Facebook account for five years. I get by just fine by emailing or texting a friend when I want to get a hold of them.

I just built this: akud.github.io/graphs

Was going to do some polishing before I did a Show HN.

Feel free to reach out to the email in my profile if you want to talk about it.

The prominence of metaphor to human cognition was put forth in Metaphors We Live By, by Lakoff and Johnson. A fantastic book. Anyone interested in the line of reasoning in the article here should read it.

I also found that interesting. i had to reread the chsrt to be sute, because my bias was that older women would find it more innappriate. I have two hypotheses about what's driving that:

1. Harrasment is more well-known now, and less tolerated 2. The call-out culture today doesn't actually prepare people to interact with members of the opposite sex as adults.

I believe (2) is more likely to be true. What I mean by two is that, with young people being encouraged to "call out" any interaction they might find slightly uncomfortable, they develop a sense of fear and wariness around cross-sex interactions, and can't manage their feelings of attraction.

Correct me if I'm wrong on my understanding of how the module system works, but I noticed a glaring flaw at a Java One presentation last year: all modules only have access, at _runtime_ to the modules they explicitly list as dependencies.

This means if you have an abstract module of just interfaces, and others that implement them, client modules can't only list the abstract module as a dependency and get the implentations injected at runtime. That's a core use case to me, it follows Effective Java's advice to program against abstractions, and I've used it in the past, to e.g. inject different file store clients depending on environment.

I can see why they would do it that way, since it prevents dependency creep.

Yea, I find that one of the primary benefits of Django's orm is query set methods, which allows me to define and compose query fragments. I've rarely worked on a code base whwe you write a query once and then never change it, the queries are constantly changing. If you have these query fragments that can be composed, it's a lot easier to change the resulting query without changing much code.

I've also encountered arguments along the lines of "there's this other suffering you _aren't_ preventing".

Emotionally it has the same feel as the drowning child argument[1] by Pete Singer. That argument engenders a feeling of hopelessness for me, because I can't assail its logic but it implies a vast array of suffering for which I am morally culpable.

I think meat eaters feel similarly. When faced with the cognitive dissonance, they shrink.

Now, I mostly shrug and say, "I'm doing the best I can."

[1] https://www.utilitarian.net/singer/by/199704--.htm