HNHacker News
TopNewBestAskShowJobs

lentil

92 karma · joined September 14, 2011

submissionscomments
lentil··on Just Landed Is Shutting Down
I think they're restricted to certain types of apps, though? The app review guidelines[0] say:

> "Apps may only use auto-renewing subscriptions for periodicals (newspapers, magazines), business Apps (enterprise, productivity, professional creative, cloud storage), and media Apps (video, audio, voice), or the App will be rejected"

I assumed that's why so many iOS apps use non-recurring billing instead. You can still sell access to your service, but users have to manually purchase at each subscription interval.

[0] - https://developer.apple.com/app-store/review/guidelines/#pur...

lentil··on Show HN: Artifact – scan photos easily on your iPhone
We had a few friends ask us to help them scan old photos that they have laying around, and it gave us the idea to build this app. It lets them scan their photos by themselves easily, without having to own a scanner, and without having to spend a lot of time on it.

We just released the first version to the App Store, and would love to get some feedback!

lentil··on IBM to Acquire the Weather Company
Just an FYI, that page is broken for me. JS error of: "Failed to load resource: Could not connect to the server."
lentil··on First chapter of Kernighan and Donovan's new Go book [pdf]
> Try that with a GIL, sure, multithreaded Python and Ruby is possible, but it's not for the faint hearted and not as easy to read

Actually that example does tend to be simple and readable in Python and Ruby. I've used a pattern similar to this to parallelize calls to a few back-end services from a Ruby app and it worked out great. The code I used looked something like this: https://gist.github.com/kevinmcconnell/8365521, which I think is quire readable.

I've definitely found Go's approach to concurrency to be very helpful in other situations; I just think that example could be a bit misleading.

lentil··on Show HN: Gaggle Mail – Simple group email
This reminds me of Breeze[1] from Basecamp. That service no longer exists, but it always seemed like a great idea to me.

Your landing page design is really nice, too.

[1] https://signalvnoise.com/posts/3391-launch-basecamp-breeze-t...

lentil··on Clef's company handbook
Perhaps I've just been lucky, but I've been working in the US for the last 15 years, and the policy at all 4 of the companies I've worked for has been: "if you're sick, don't come in".

None of the companies I've worked for has set a limit on the number of days you could be sick for, nor encouraged anyone who didn't feel healthy to come in to work. I appreciate that some companies may do that, but I've never really understood how that works, given that illness is (mostly) not something you can control.

lentil··on Ask HN: Does Apple make any money off free apps like Uber?
If your app provides a way to buy something that could use an in-app purchase (e.g. not physical goods), but you try to use your own method of doing so, then Apple will reject your app during review. The review guidelines specifically disallow doing that.
lentil··on Show HN: Ceremony – Wedding photos and videos from every guest
Great minds think alike, right? ;)

Good point about including other types of occasions in the marketing. We intentionally started out with a really narrow focus, but adding some examples of other situations where the app could be used sounds like a good idea to me.

lentil··on Show HN: Ceremony – Wedding photos and videos from every guest
Hi, thanks for the feedback!

To answer your questions...

1) Yes, if you know the event code. Every event gets a unique code, and you can share that code with people to allow them to join. (The codes start out randomly generated, but you can also customize them to something more memorable if you want).

2) You do need to have network in order to initially join or create an event. But once you're in the event you can create posts and they'll be stored locally. Once you get back online it'll sync your posts up to the shared feed, and download any new items you haven't seen yet.

lentil··on Show HN: Ceremony – Wedding photos and videos from every guest
We've been working on a new mobile app, Ceremony, to make it easy for people to collect and share photos at weddings (or similar events).

We still have some features to finish up, but it has reached a point now where we think it's complete enough for folks to use. Would love to hear any feedback you have!

lentil··on Show HN: Our new Core Data book is in early access
This looks great. It's clearly still in the early stages, but what's written so far seems to have a lot of really good advice about how to set up a Core Data stack. (Which, incidentally, is very different from where the default Xcode templates might lead you). I feel like I've already picked up some good ideas from these initial chapters.

Looking forward to the rest of the book! :)

lentil··on Tesla’s Model S Gets “Ludicrous” Mode, Will Do 0-60 in 2.8 Seconds
It might get fixed. I just (last week) got a letter in the mail from Mazda saying there's a software update available for the info/nav in my Mazda3. Haven't had a chance to take it in yet to get the update applied, but I'm hoping that it will fix some of the issues I've seen.

Of course maybe your car is new enough that you already have that software version, in which case mine might be about to get worse... :)

lentil··on Ten Years of Git: An Interview with Linus Torvalds
For quick changes to the most recent commit, a handy alias to put in your ~/.gitconfig is:

  fixup = commit --amend -C HEAD
That way you can stage whatever you forgot, and then do `git fixup` to update the latest commit with it. Saves a little bit of typing :)

I do love `rebase -i` for anything more complicated though.

lentil··on Tracking down a kernel bug with git bisect
In cases like this I usually copy the relevant test file to somewhere outside the repo, and refer to that path directly in the bisect cmd. That way you don't have to worry about anything conflicting with the new test that you need for the bisect.

E.g. for a Rails app, I might end up using a command like `rspec ~/Desktop/my_new_test_spec.rb`.

lentil··on The Joys of Affordable Concurrency
I like the pattern in the example a lot. We recently started doing something just like this in a Rails app at work that has to make quite a few API calls per request. In the right circumstances it makes a big difference in response time. Our approach was basically just this: https://gist.github.com/kevinmcconnell/8365521

I could definitely see how using a language that makes these sorts of operations simpler could lead to finding more cases where it's worth it.

lentil··on About Python 3
FWIW, it's starting to do so now: https://www.ruby-lang.org/en/news/2013/12/21/semantic-versio...
lentil··on Rails 4.0: Final version released
If it helps you can make that the default for all your serializers, by doing something like this in an initializer:

    ActiveSupport.on_load(:active_model_serializers) do
      ActiveModel::ArraySerializer.root = false
      ActiveModel::Serializer.root = false
    end
lentil··on Show HN: Docverter: convert plaintext to PDF, Docx, or ePub. Now in open beta.
I don't think it's bad faith at all. They're up front about what tools the system is built on. It's more about whether it makes the most sense for you to build and host something like this yourself, or pay for what you use on a service that someone else runs for you. There are pros and cons to each, of course, but I think there are a lot of situations where the latter is going to be better.

One example being: if I was building a new product and wanted to add some reporting/exporting features, I would much rather use a service like this. Document conversion is just infrastructure for those features, and so any time I spend setting up my own system for that is potentially wasted time until I can prove that the features are a success.

lentil··on Yipit Django Blog: Why You Need a Git Pre-Commit Hook
That's pretty cool. I've been using something a bit similar for a while too, just to run my changes through PEP8 (http://tech.myemma.com/python-pep8-git-hooks/). Mine uses the output of `git status --porcelain` to get the changed files, and writes them to a temporary directory with `git show`. Similar result to yours, but I think I like your `git diff` way better.
lentil··on PostgreSQL tips and tricks
Almost all DDL is transactional in PostgreSQL, so the usual equivalent to the above would be:

  begin;
  alter table current rename to current_old;
  alter table current_new rename to current;
  commit;
Transaction-safe DDL is a very handy thing indeed.
lentil··on The Lisp keyboards
The Kinesis Advantage is a bit like that: although they're not a usual spacebar shape, space is under the right thumb, and backspace is under the left thumb.
← PreviousPage 3 of 3