News for hackers. Stuff that matters.

logandk

Re:Yak Shaving: A Short Lesson on Staying Focused (2018) on Wednesday September 07, 2022 @08:59AM (#32749956)
That's a much more correct example than the one in the article. The "real-world example" in the article describes doing something completely different than intended, not out of necessity but by distraction.
Re:Unison File Synchronizer on Tuesday August 06, 2019 @11:12PM (#20631706)
Unison is great for keeping multiple machines in sync. I eventually switched to Dropbox for reasons I don't recall, but it might be a good time to reconsider. Also, I'd forgotten, but apparently I even made a (poor) attempt at writing a Unison UI of OS X, some 11 years ago... https://github.com/logandk/autoson
Re:Jets: Ruby Serverless Framework on Wednesday May 15, 2019 @09:36AM (#19919243)
Indeed, SAM and serverless framework serve the same overall purpose. It's mostly a matter of whether you prefer CloudFormation (SAM) or serverless' configuration format. I have mostly used serverless, but there are some posts out there comparing the two in detail, such as: https://sanderknape.com/2018/02/comparing-aws-sam-with-serve...
He's mostly concerned with the learning curve of HTML and CSS, so I'd say that it's a success so far - no tooling got in the way of his learning. We haven't gotten to using the database yet...
Re:Jets: Ruby Serverless Framework on Monday May 13, 2019 @06:50AM (#19897910)
The merits of deploying a complex Rails app on Lambda are debatable, mainly due to the fact that larger code bases will result in slower cold request times for Lambda functions. For HTTP APIs in general, however, the three main benefits of being operational on Lambda are:

* Paying only for compute time/requests, if the API is not being accessed for a period of time, it's free - on a regular instance, you'd be paying for idle time

* Automatic scaling

* Simple deployment

The downsides include:

* Irregular response times due to cold containers

* Slower request/response cycle due to overhead in Lambda + API Gateway

Re:Jets: Ruby Serverless Framework on Monday May 13, 2019 @03:59AM (#19897078)
For things like simple Sinatra APIs, a light-weight alternative is https://github.com/logandk/serverless-rack (a plugin for https://serverless.com, I'm the maintainer.)

To get a large Rails app operational on Lambda, Jets is the way to go.

Awesome work, I will introduce this to my kid. With the built-in database/kv-store and excellent UX, I can't think of a better platform to get started with web development.
The most humorous would have to be the "Wat" talk by Gary Bernhardt: https://www.destroyallsoftware.com/talks/wat
Re:Ask HN: Best way to learn modern C++? on Wednesday March 07, 2018 @09:03AM (#16536362)
Before diving into smart pointers, move semantics and other (mostly) recent additions, I would recommend getting well acquainted with the basics: RAII and common patterns such as passing by constant reference. Effective C++ by Scott Meyers, as others have noted, is an excellent entry point.
Re:2017 Top Programming Languages on Friday July 21, 2017 @09:36AM (#14820397)
I was hoping to see Elixir on the list, but I suppose it may have been classified as Erlang?
Re:Rate my startup: coookin.com on Tuesday September 07, 2010 @07:17PM (#1670430)
Valid argument, searching and filtering needs more work!
Re:Rate my startup: coookin.com on Tuesday September 07, 2010 @07:15PM (#1670423)
Thanks for the suggestion, it might serve as a better tagline. Regarding the sign in, I am very happy with the current solution - I don't see the hassle? Everybody has a Facebook/twitter/google account these days :)
Re:Rate my startup: coookin.com on Tuesday September 07, 2010 @06:49PM (#1670351)
Thanks for the feedback, good points! I think you are right about the wording, I'm gonna rework that.
Re:Rate my startup: coookin.com on Tuesday September 07, 2010 @06:46PM (#1670346)
You are right about searching, definitely on the todo list. Thanks.
Re:Rate my startup: coookin.com on Tuesday September 07, 2010 @06:45PM (#1670339)
It's a place to share photos of what you have cooked. I enjoy food photography, and I wanted a place like this to share my photos. It's not about recipes, there are plenty of sites for that.

Seems like it is just not for you, too bad. Your comment would be more useful if you could elaborate on what it is that you find useful, though.

Re:Ask HN: Heroku or Not? on Tuesday September 07, 2010 @06:00PM (#1670241)
Although I love Heroku, and it really is a great platform, I find that, for my startup and personal projects, the costs hold me back from doing some things.

Say I need to run a simple background job, that would be $36/month - almost 2 linodes. And with the excellent articles on http://articles.slicehost.com, I find that setting up a vps takes no more than a few hours. Plus, it's a lot of fun and a good learning experience!

I don't see how Heroku could do it much cheaper though, when you look at the pricing of Amazon EC2 instances which their platform runs on.

Re:How I Sync Application Preferences through Dropbox on Friday April 23, 2010 @06:41AM (#1287737)
Thanks, hereby corrected.
Re:How I Sync Application Preferences through Dropbox on Friday April 23, 2010 @04:33AM (#1287601)
This should work as well, however I found that I only wanted to synchronize settings for a few apps. Some apps have settings, which you’d like to have different between systems.