HNHacker News
TopNewBestAskShowJobs

revetkn

331 karma · joined June 17, 2009

software from the philly burbs
submissionscomments
revetkn··on Localizing “Papers, Please” (2014)
Localizing well has a lot of complexity - gender, cardinal, ordinal, etc. rules, and then how to combine them with locale-specific special cases (e.g. in Spanish, a 15-year-old birthday girl is a quinceañera)

I am attempting to solve this with a small library that offers full CLDR coverage and a special expression language.

See https://www.lokalized.com

Currently for Java 8 but am porting to JS and Python (probably Swift after those)

revetkn··on How Hibernate Almost Ruined My Career
Shameless plug: if you're looking for a no-dependencies Java 8 JDBC wrapper, we have been using https://github.com/pyranid/pyranid in production for a number of public-facing projects over a couple years and it has worked very well for us
revetkn··on How to win the coding interview
IMO in 2016 it is important to know the basics well enough to know if what you're doing is bad from an i18n perspective (at least for non-junior positions). Even a comment like "// TODO: localize" is OK

It is often a positive signal that a candidate has worked on software large enough to be used internationally or is thorough enough to worry about it. For most of us, day-to-day software work is about being thorough and careful with design and implementation, not heavy algorithmic lifting

revetkn··on How to win the coding interview
1. "On this particular challenge, I am expecting many will use RegEx as a part of the solution"

Really?

2. "replace(/[^a-z0–9]/ig, '');"

If I were interviewing and a candidate did this I would ask if he/she knows what i18n is

revetkn··on Show HN: APIBoard, Interactive API Documentation with JS-Powered Workflows
"Unintentional" as in "pretty sure it was an old copy-paste from another app and we forgot to take that line out" :) I don't like the scroll locking myself, even when applied "correctly".

Hopefully the site is at least navigable now on Mobile Safari. We will be revisiting the mobile experience soon. Had not been focusing much on it since the app is form-heavy and doesn't lend itself well to mobile, but for the marketing site we certainly need to focus on it more...first impressions are very important, and a broken page is not a good one! Thanks for your feedback.

revetkn··on Show HN: APIBoard, Interactive API Documentation with JS-Powered Workflows
Whoops, sorry, our fault - should be fixed now. The viewport meta tag was unintentionally locking scaling and initial zoom level.
revetkn··on Show HN: APIBoard, Interactive API Documentation with JS-Powered Workflows
Thanks for your feedback - getting the UI right is one of the big challenges for us given the complexity of the system. We've been experimenting internally with different approaches, one of them being a per-user preference "raw" mode that works as you described.
revetkn··on Show HN: APIBoard, Interactive API Documentation with JS-Powered Workflows
The basic idea is we wanted a hosted Postman which allows you to wire your endpoints together "lego-style" into workflows (step 1 is authenticate, step 2 is fetch a list of users, step 3 is update the first user in the list). You can then shoot someone a URL and they can hit the "play" button and the API calls execute before their eyes. Some other notable features we've added are team support, versioning, and dependency tracking.

The drawback of most hosted services like this is you can't see things on private networks, like localhost or a corporate intranet. We have an OS X native app to circumvent this and a Windows version is coming soon.

We'll try to answer any questions you might have, thanks for checking it out!

revetkn··on Ask HN: Who is hiring? (April 2015)
Transmogrify - http://xmog.com - Philadelphia, PA Suburbs

We’re a software shop located in the heart of Conshohocken, just a 5-minute walk from the R6 line. The team is a tight-knit blend of designers and developers and we are on the lookout for more engineering talent. If you have experience with these technologies, we’d like to talk to you! Email jobs@xmog.com and let us know you found us via Hacker News.

Preferred skillset:

  * Modern Server-side Java (Jetty, Jersey, Guice, Guava, …)
  * Client-side JS (Angular, React, Backbone, …)
  * RDBMS/SQL experience (Postgres, Oracle, …)
  * Android
  * Ability to work effectively on a team and collaborate with designers
  * A sharp eye for detail (you’re the kind of person who worries about error handling and edge cases!)
Nice-to-haves:

  * iOS (Objective-C, Swift a plus)
  * Server-side JS (Node, io.js, …)
  * NoSQL (Cassandra, …)
  * DevOps chops (AWS, …)
  * Any other interesting software experience
revetkn··on How to create a self hosted API for development and testing
Is the normal way to returning "success" values (throwing an exception?)

    var resp = new HttpResponseMessage(HttpStatusCode.Created);
    throw new HttpResponseException(resp);
revetkn··on Update on Julie Horvath's Departure
> Pretty much a full admission that everything that Julie said is true.

I have no idea whose side of the story is accurate, but there was really no other way for Github to play this, whether they were in the wrong or Julie was in the wrong.

revetkn··on Taplytics (YC W14) Run A/B Tests On iOS Without Waiting For App Store Updates
Yes, there are other similar products that have been around for a few years like Artisan
revetkn··on Introducing Paper
The product is probably not for me but it looks like FB employs some talented iOS engineers
revetkn··on Announcing the Female Founders Conference (March 1)
> I think the general assumption for women promoting these types of events is that while this statement may be true, it's not because of an inherent difference in women and men

I am not sure I agree with this either, but like in my parent post I don't have any real evidence - this is an exercise in handwaving :)

Kaitai's comments elsewhere on this page are how I think about it - what she says makes a lot of sense to me and is a great case for why these types of events should exist. Suppose I am in some sort of bucket that is underrepresented/discriminated against/etc. My thought process would be

* The problem I am facing is too big to be fixed in a reasonable amount of time/effort (e.g. years, maybe decades of social change) * There are no experts who have solved the problem so I cannot get advice from them * However, there are others like me who face the same problem and with whom I share common ground - maybe I can learn strategies from them and they can learn from me as well

revetkn··on Announcing the Female Founders Conference (March 1)
> This is no such case for female founders. Here we have a much simples issue: stigmatization.

I disagree. I might be in the minority but in the places I've worked in tech no one cares - at least as far as I can tell - what your gender is, it's how well you do the job.

What I do see a lot of is women who are capable but not interested in STEM. Not because of some kind of social stigma, they just don't care about it. My mother studied mathematics and eventually switched to sociology because she was more interested in how people interact - math was easy for her, which was the primary reason she went to school for it. My wife is very intelligent and analytical but could not care less about computing.

There are legitimate physical differences between men and women (men on average have more upper body strength, for example) that are not caused by social stigmas. Isn't it reasonable to think there might be some mental differences as well? Perhaps the average man is less risk-averse than the average woman and therefore is more likely to enter a risky business venture. It's not some kind of discrimination or societal pressure or a learned behavior, it's just human nature.

That said - I live in a bit of a bubble. Of course there are places out there where women are discriminated against for this kind of thing, and I totally understand why conferences like this exist (I have no problem with them). But it's worth considering that sometimes it's not just a discrimination issue and must be corrected

revetkn··on Typesafe database interaction with Java 8
BTW, I just checked out jOOQ. I think you did a great job with it. This is the first ORM I've seen that really embraces SQL. Nice work
revetkn··on Typesafe database interaction with Java 8
How does it handle operations more complex than "select * from user"? For example, joins and subqueries. And wouldn't it be nicer to have the database layer figure out properties for you instead of writing mapping code by hand?

For example (this uses SQL, I am not big on ORMs):

  User user = database.queryForObject("SELECT * FROM user WHERE user_id=?", User.class, userId);
revetkn··on An annotation nightmare
I don't know, annotations are what you make of them and can be abused like anything else. I miss being able to do things like this when I'm not working on Java code

    @GET
    @Path("/users/{userId}")
    public Page userPage(@PathParam("userId") UUID userId, @QueryParam("blub-filter") String filter) {
      ...
    }
revetkn··on Amazon RDS for PostgreSQL
Anyone know if the UUID type is supported? I see hstore and JSON are

Edit: It does, see http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_P...

revetkn··on Ask HN: Is Java still worth learning?
> When these companies started up, Java was the latest tool that gave tremendous productivity benefits over C++. Newer tools have arrived, now and Java is in the same place as C++ was.

Which languages/tools give tremendous productivity benefits over a modern Java stack? Serious question. I have done a lot of work in a lot of different environments and IMO for the big and maintainable things it's hard to top the Java ecosystem.

(edit: I do agree with you - it is ridiculous to rewrite enormous legacy systems. But I don't think there's a clear-cut order-of-magnitude-better replacement for Java yet)

revetkn··on Ask HN: Is Java still worth learning?
> I'll spare everyone the "Good God man, it's Java."

I always get a kick out of this. If someone says a language's expressiveness is one of her biggest pain points, she probably is not working on anything significant. There is a reason that so much Java is used in Google, Amazon, etc. Performance, maintainability, tooling, and ecosystem are more important than whether or not you have anonymous inner classes vs. true language support for closures.

J2EE, like Applets, gave Java a bad name. And Spring has become more complex and nasty than J2EE ever was. Java sucks when you have to deal with those environments.

But if you use a modern Java stack - Jersey, Jetty, Guice, Guava, etc. - it is a pleasant experience.

revetkn··on The genius and folly of MongoDB
> You don't need to read every word of everything, but some things are worth it.

Yes - I am saying in this particular car example, the benefit derived reading the entire manual before purchasing/driving a car is not worth the cost unless your time is worth very little. As others have pointed out, no one is flipping through the manual to check whether the brake pedal actually applies the brakes

But it is a good engineering decision to thoroughly read the docs before jumping into a new datastore like Mongo, I agree. Learning there are things like gigantic global locks and unsafe writes are normally enough to make you say, "hey, I probably shouldn't use this to store production data I actually care about"

revetkn··on The genius and folly of MongoDB
> What's impractical about spending a little time to read?

It's impractical because people live a finite amount of time and this is a terrible use of it

revetkn··on SoundFocus (YC S13) Launches With an App for ‘20/20 Hearing’
Thanks - I figured it out. There was a brief message on playback start that I must have missed a few times which let me know soundfocus was unavailable due to DRM. The bottom left icon says "---- DRM" in that case so until I saw the message I didn't know what I was missing
revetkn··on SoundFocus (YC S13) Launches With an App for ‘20/20 Hearing’
Dumb question: after completing the test, I didn't see "soundfocus autotuned" (or whatever) as an EQ option. Not sure if it is automatically applied and then you pick additional EQ settings to go on top of it, or what. Hope that makes sense
revetkn··on AngularJS 1.2.0-rc1 released
Actually, there is a faster way than bower!

1. Download (or point to) https://ajax.googleapis.com/ajax/libs/angularjs/1.2.0rc1/ang...

2. You're done

revetkn··on Enough with the JavaScript already
How do you write UI code to make apps look and feel correct across platforms? Does Xamarin already support the API changes in iOS 7?
revetkn··on Open source style checker for Objective C
This reminds me that it's 2013 and Xcode still doesn't have a built-in code formatter :(
revetkn··on Apple's horrible maps, part 3
Figure out how much money bad map data costs the company, then figure out how much money it takes to license good map data (clearly this exists somewhere). If licensing costs hurt more than bad maps, then continue with the current product and make slow improvements. Otherwise get out the checkbook.
revetkn··on iOS developers: Say goodbye to UDIDs
Vendor identifier is user-resettable. Storing UUIDs fails on reinstalls. MAC is persistent, as are other tricks like keychain storage
← PreviousPage 2 of 4Next →