News for hackers. Stuff that matters.

akud

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

You want to work on something that will inspire people to inspire people to inspire people to create.

Art, new ways of thinking.

I think the _My Struggle_ series by Karl Ove Knaussgard will have changed the way people conceive of the written word over future generations.

Re:Maintaining code quality when nobody cares on Tuesday February 13, 2018 @03:06PM (#16370245)
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.
yea, that's been one of my goals. I would like to visualize the graph over time to see how the complexity grows.
> I don't have great intuition for graphs but I'm pretty sure something like a square or larger cannot be both complete and planar.

A square can, (you put one node in the middle), but 5 and up can't be both complete and planar.

Re:Idyll Language – Author interactive narratives for the web on Saturday January 06, 2018 @11:36AM (#16085949)
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

Re:Testing Microservices the sane way on Monday January 01, 2018 @10:58AM (#16046508)
No mention of mocking out service dependencies, which seems like the obvious way to go. Does anyone do this?
Re:I tried emailing like a CEO and it made my life better on Monday December 04, 2017 @03:29PM (#15847173)
It sounds like what the author really needs is a chatroom.
Re:Show HN: A Marketplace of Content Writers for Startups on Saturday November 04, 2017 @10:48AM (#15625238)
Not the op... but what would you be willing to pay for the service?
Re:A New Twist on Neural Networks on Thursday November 02, 2017 @10:28AM (#15610666)
My 2 year old daughter could.
Re:Ask HN: Why hasn’t Google killed Google Plus? on Friday October 20, 2017 @01:57PM (#15517811)
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.

Re:A Coloring Book about Group Theory on Sunday September 24, 2017 @10:39PM (#15327727)
Are you the author? This is a great idea - I've been thinking about doing this with graph theory.

Here's an example:

https://plus.google.com/+AlexKudlick/posts/MWNRWTRATgA

I've been building tools lately; for now, a graph editor.

Hit me up if you're interested in talking about tools for creating this sort of content, I'd be interested to know more about your approach.

My email is in my profile.

Re:Facebook’s war on free will on Tuesday September 19, 2017 @09:47AM (#15284526)
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.
Re:TreeSheets: Free Form Data Organizer on Sunday August 20, 2017 @11:20AM (#15058752)
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.

Re:Show HN: An interactive guide to compression basics on Tuesday August 08, 2017 @03:25PM (#14961573)
This is great content! Do you mind if I ask how you made it? Specifically the interactive demo? I've been working myself on a project[1] to explore tools for interactive demos, but so far I've just done one with a toy piece of content.

1: https://akud.github.io/visualization-blogs/posts/01_content_...

Re:Misleading metaphors on Monday July 03, 2017 @10:53AM (#14688637)
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.

Re:Content Distribution Networks on Thursday June 29, 2017 @09:56AM (#14663327)
I didn't make the connection because I never see CDN written out as separate words.
Re:What We Think About When We Think About Code [audio] on Saturday June 10, 2017 @08:12PM (#14529928)
A story with characters and emotions? Or more like a sequence of events that you step through?
Re:What We Think About When We Think About Code [audio] on Saturday June 10, 2017 @07:15PM (#14529749)
We're currently waiting for approval from apple.
Re:What We Think About When We Think About Code [audio] on Friday June 09, 2017 @01:48PM (#14523014)
Podcast creator here. Happy to answer any questions :)
Re:Many Colleges Fail to Improve Critical-Thinking Skills on Tuesday June 06, 2017 @11:31AM (#14497978)
I have a 1&1/2 year old, and I'm curious about your approach. What kind of things do you discuss with your son? Is it on the level of "if you want a cookie, you have to ask" or more like "why do you think so-and-so did that?"
Re:New research indicates ‘Unicorns’ are overvalued on Friday June 02, 2017 @02:18PM (#14472161)
Well, also that the act of creating the apples devalued the oranges.
Re:The Sororicide Antipattern on Thursday June 01, 2017 @01:57PM (#14462709)
Yea, this is actually inheritance - it's a mixin.
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.

Older »