<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Disqus - Latest Comments for jalada</title><link>http://disqus.com/by/jalada/</link><description></description><atom:link href="http://disqus.com/jalada/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Mon, 17 Aug 2020 05:33:45 -0000</lastBuildDate><item><title>Re:  Flight Simulator is currently the highest-reviewed PC game of the year</title><link>https://www.videogameschronicle.com/?p=47558#comment-5033592012</link><description>&lt;p&gt;Link to your own review links to Ghosts of Tsushima review :)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">David Somers</dc:creator><pubDate>Mon, 17 Aug 2020 05:33:45 -0000</pubDate></item><item><title>Re: Tiny Upstart script to keep a NodeJS process alive</title><link>https://blog.jalada.co.uk/simple-upstart-script-to-keep-a-node-process-alive/#comment-4383267554</link><description>&lt;p&gt;Ubuntu uses Systemd now, so probably that.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">David Somers</dc:creator><pubDate>Mon, 18 Mar 2019 03:11:30 -0000</pubDate></item><item><title>Re: Heroku is no longer the hobbyist's friend</title><link>https://blog.jalada.co.uk/heroku-is-no-longer-the-hobbyists-friend/#comment-3367454479</link><description>&lt;p&gt;You know you wrote a spam comment about your service on this blog post already right?...&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">David Somers</dc:creator><pubDate>Sat, 17 Jun 2017 21:43:29 -0000</pubDate></item><item><title>Re: Deploying a Node.js web application with Capistrano</title><link>https://blog.jalada.co.uk/deploying-a-node-js-web-application-with-capistrano/#comment-2876956923</link><description>&lt;p&gt;Don't get me wrong @mike, I am not suggesting that container-based deployment is better than Capistrano. Merely that the trend is moving away from it. But I think container-based deployment has got a long way to go yet.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">David Somers</dc:creator><pubDate>Mon, 05 Sep 2016 04:52:18 -0000</pubDate></item><item><title>Re: The Best Smartphone Car Mount</title><link>http://thewirecutter.com/reviews/best-smartphone-car-mount/#comment-2754452315</link><description>&lt;p&gt;In the UK, the TechMatte MagGrip appears to be the same as this: &lt;a href="https://www.amazon.co.uk/gp/product/B00W3J51DC/ref=oh_aui_detailpage_o04_s00?ie=UTF8&amp;amp;psc=1" rel="nofollow noopener" target="_blank" title="https://www.amazon.co.uk/gp/product/B00W3J51DC/ref=oh_aui_detailpage_o04_s00?ie=UTF8&amp;amp;psc=1"&gt;https://www.amazon.co.uk/gp...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">David Somers</dc:creator><pubDate>Tue, 28 Jun 2016 03:34:36 -0000</pubDate></item><item><title>Re: Heroku is no longer the hobbyist's friend</title><link>https://blog.jalada.co.uk/heroku-is-no-longer-the-hobbyists-friend/#comment-2484593514</link><description>&lt;p&gt;The price is not so amazing when you consider how utterly terrible the performance is.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">David Somers</dc:creator><pubDate>Fri, 29 Jan 2016 05:47:53 -0000</pubDate></item><item><title>Re: Heroku is no longer the hobbyist's friend</title><link>https://blog.jalada.co.uk/heroku-is-no-longer-the-hobbyists-friend/#comment-2484590719</link><description>&lt;p&gt;That's definitely an option! You really have to think hard about the effort required to deploy your codebase in two places, keeping it in sync, and communicating between the two. By the time you've done all that, why not just host the site there too?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">David Somers</dc:creator><pubDate>Fri, 29 Jan 2016 05:44:58 -0000</pubDate></item><item><title>Re: Heroku is no longer the hobbyist's friend</title><link>https://blog.jalada.co.uk/heroku-is-no-longer-the-hobbyists-friend/#comment-2320516192</link><description>&lt;p&gt;Why doesn't Heroku offer the Cloudflare approach anyway? They already know what domain you want, and they already have your certs. If they're making a loss, surely it's in their interests? Additionally, I can't understand how the problems you describe have anything to do with SSL. Isn't that just shared hosting in general?&lt;/p&gt;&lt;p&gt;I agree that Heroku's Postgres offering is strong, but I think a lot of that is beyond the scope (and budget!) of hobby projects, and I feel that it's a massive price jump from their cheaper offerings, making it difficult to find a sweet spot. That's what I focus on in my post: their cheap Postgres is terrible. And for $50/m I might not be able to spend time implementing all the features, but I will get much better performance and storage if I roll it myself.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">David Somers</dc:creator><pubDate>Thu, 22 Oct 2015 05:31:46 -0000</pubDate></item><item><title>Re: Heroku is no longer the hobbyist's friend</title><link>https://blog.jalada.co.uk/heroku-is-no-longer-the-hobbyists-friend/#comment-2320510187</link><description>&lt;p&gt;I guess that's a matter of opinion at this point, but I think so :)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">David Somers</dc:creator><pubDate>Thu, 22 Oct 2015 05:24:03 -0000</pubDate></item><item><title>Re: Heroku is no longer the hobbyist's friend</title><link>https://blog.jalada.co.uk/heroku-is-no-longer-the-hobbyists-friend/#comment-2318604883</link><description>&lt;p&gt;I don't know if you saw, but there were a huge number of very good suggestions for alternative approaches on the Hacker News discussion thread for this post :) &lt;a href="https://news.ycombinator.com/item?id=10415199" rel="nofollow noopener" target="_blank" title="https://news.ycombinator.com/item?id=10415199"&gt;https://news.ycombinator.co...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">David Somers</dc:creator><pubDate>Wed, 21 Oct 2015 03:55:51 -0000</pubDate></item><item><title>Re: Heroku is no longer the hobbyist's friend</title><link>https://blog.jalada.co.uk/heroku-is-no-longer-the-hobbyists-friend/#comment-2318603054</link><description>&lt;p&gt;Many projects or ideas fleshed out need SSL and a decent DB. Anything that you want members of the public to try out that uses their data should use SSL. Many interesting projects are ones solving problems with large datasets. Remember the free Heroku DB is only 10k rows.&lt;/p&gt;&lt;p&gt;Simultaneously, a pet project is unlikely to make any money, and is probably coming out of your own pocket, so you're going to be more critical of the service you are getting for the money, as I have been here.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">David Somers</dc:creator><pubDate>Wed, 21 Oct 2015 03:53:15 -0000</pubDate></item><item><title>Re: Heroku is no longer the hobbyist's friend</title><link>https://blog.jalada.co.uk/heroku-is-no-longer-the-hobbyists-friend/#comment-2316416777</link><description>&lt;p&gt;But that won't keep me running on the bleeding edge!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">David Somers</dc:creator><pubDate>Tue, 20 Oct 2015 04:47:24 -0000</pubDate></item><item><title>Re: Heroku is no longer the hobbyist's friend</title><link>https://blog.jalada.co.uk/heroku-is-no-longer-the-hobbyists-friend/#comment-2316334115</link><description>&lt;p&gt;Except it is rarely $7/month. Add a second dyno (who doesn't need background tasks?), SSL, and a PSQL database with a reasonable row limit and you're already at $41/month.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">David Somers</dc:creator><pubDate>Tue, 20 Oct 2015 02:59:16 -0000</pubDate></item><item><title>Re: Heroku is no longer the hobbyist's friend</title><link>https://blog.jalada.co.uk/heroku-is-no-longer-the-hobbyists-friend/#comment-2316333399</link><description>&lt;p&gt;Agreed! That's why the focus of this article is hobbyists who probably don't need to worry about load balancing, VPNs, key rotation, clustering, or complex security policies.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">David Somers</dc:creator><pubDate>Tue, 20 Oct 2015 02:58:13 -0000</pubDate></item><item><title>Re: Deploying a Node.js web application with Capistrano</title><link>https://blog.jalada.co.uk/deploying-a-node-js-web-application-with-capistrano/#comment-2302586770</link><description>&lt;p&gt;Latest trends are much more towards container-based deployment, or git-based deployment (e.g. Heroku buildpacks), or even using Puppet/Chef depending on the complexity.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">David Somers</dc:creator><pubDate>Mon, 12 Oct 2015 04:31:10 -0000</pubDate></item><item><title>Re: MiniITX pfSense build</title><link>https://blog.jalada.co.uk/miniitx-pfsense-build/#comment-2220523931</link><description>&lt;p&gt;Did you get it working? I didn't encounter any problems. Did you get the two interfaces the right way round? Can you see them with ifconfig?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">David Somers</dc:creator><pubDate>Thu, 27 Aug 2015 02:03:09 -0000</pubDate></item><item><title>Re: Tips when writing an API in Ruby on Rails</title><link>https://blog.jalada.co.uk/tips-when-writing-an-api-in-ruby-on-rails/#comment-2035359255</link><description>&lt;p&gt;Hi Luca! Thanks for your comment :)&lt;/p&gt;&lt;p&gt;CORS can be used to block requests to the API, but obviously only requests that are made from a browser on another domain. CORS is just a header, after all, so anyone can still cURL your API or proxy it first to use it on another domain. CORS is less about blocking requests you don't want, and more about allowing requests that would normally be blocked. Does that make sense?&lt;/p&gt;&lt;p&gt;You could definitely use Devise for API authentication using the standard session cookie. However that (generally) limits your API to only be consumable by web applications, because handling cookies from another program or server would be a bit of a pain (and isn't what they're designed to be used for).&lt;/p&gt;&lt;p&gt;When using Hawk, I still use Devise! I just generate a Hawk key for each user and then set up Hawk to be an additional authentication method in Devise / Warden. That's not the simplest of tasks, and is a bit of a hack, but if you take a look at how Warden works, it's relatively clear how to add Hawk as another method, it can even work alongside cookie authentication :)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">David Somers</dc:creator><pubDate>Wed, 20 May 2015 05:20:10 -0000</pubDate></item><item><title>Re: GitLab vs gitolite</title><link>https://blog.jalada.co.uk/gitlab-vs-gitolite/#comment-2019936839</link><description>&lt;p&gt;That's useful to know, so by disabling nginx in the GitLab config, it won't run when you boot GitLab, and instead you configure your webserver yourself (for example).&lt;/p&gt;&lt;p&gt;Thanks :)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">David Somers</dc:creator><pubDate>Tue, 12 May 2015 05:45:16 -0000</pubDate></item><item><title>Re: GitLab vs gitolite</title><link>https://blog.jalada.co.uk/gitlab-vs-gitolite/#comment-2019924424</link><description>&lt;p&gt;I think you're misunderstanding me. I'm not criticising GitLab. Of course GitLab isn't responsible for vulnerabilities in PostgreSQL, it would be absurd to think it was. I'm just pointing out the relative merits of it as a solution.&lt;/p&gt;&lt;p&gt;Is there documentation around configuring the Omnibus packages to use existing installations of Redis etc? How does that affect package upgrades?&lt;/p&gt;&lt;p&gt;Sorry, my last paragraph wording was wrong; I have edited it to reflect what I actually meant, I hope it makes more sense.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">David Somers</dc:creator><pubDate>Tue, 12 May 2015 05:31:07 -0000</pubDate></item><item><title>Re: GitLab vs gitolite</title><link>https://blog.jalada.co.uk/gitlab-vs-gitolite/#comment-2019155637</link><description>&lt;p&gt;Just to clarify, I'm thinking here about 'hosting git repositories' as a single functionality requirement here.&lt;/p&gt;&lt;p&gt;Gitlab, even as an omnibus, is not a single component. It is Redis, long-running Ruby tasks, Nginx, and PostgreSQL. Regardless of whether updates are a single apt-get upgrade away, that is a whole host of new infrastructure that an ops team would need to be aware of. They would need to be tracking potential vulnerabilities across all of those pieces of infrastucture, including testing for adequate security, firewalling (if necessary) and so on. And there's definitely a potential for one of those moving parts to have a problem.&lt;/p&gt;&lt;p&gt;Colocating GitLab with other stuff on a server is a separate issue, and on that:&lt;/p&gt;&lt;p&gt;Can you clarify to me, apart from the example you have pointed out with an existing nginx installation, that there are no other conflicts? What if I already had Redis running? What if I was already using Redis for other Sidekiq workers on other apps on my server? What about Postgres? What if my existing Postgres install is non-standard, or I run Redis with authentication on a non-standard port? In those situations, am I not right in saying the Omnibus packages wouldn't be suitable?&lt;/p&gt;&lt;p&gt;So on one side, you have the possibility of using Omnibus packages on a completely empty server, but that is setting up a complete suite of infrastructure that an ops team would need/want visibility on.&lt;/p&gt;&lt;p&gt;On the other side, Omnibus packages aren't best suited to an existing server where you have a lot of similar (e.g. RoR apps) running, and therefore by needing to set it all up manually you will need to manually upgrade GitLab, which is going to require a lot of ops time (in my personal experience!)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">David Somers</dc:creator><pubDate>Mon, 11 May 2015 17:17:50 -0000</pubDate></item><item><title>Re: GitLab vs gitolite</title><link>https://blog.jalada.co.uk/gitlab-vs-gitolite/#comment-2018120174</link><description>&lt;p&gt;Thanks Sytse, I do recommend the omnibus packages in my post but I point out some caveats: It's still a beefy application with high system requirements, there's still a lot of individual moving parts and there's still some ops time required to keep it up to date.&lt;/p&gt;&lt;p&gt;Additionally, correct me if I'm wrong, but the Omnibus packages don't play well if you already use pieces of infrastructure Gitlab uses, on the same server, e.g. if I already use Postgres or Redis or nginx on my server for other apps?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">David Somers</dc:creator><pubDate>Mon, 11 May 2015 08:28:48 -0000</pubDate></item><item><title>Re: Inner Vision for the weekend of April 3, 2015</title><link>https://thewirecutter.com/blog/inner-vision-for-the-weekend-of-april-3-2015/#comment-1961681307</link><description>&lt;p&gt;Turning your rice into resistant starch is a really bad idea if you suffer from IBS.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">David Somers</dc:creator><pubDate>Sun, 12 Apr 2015 12:30:52 -0000</pubDate></item><item><title>Re: Tips when writing an API in Ruby on Rails</title><link>https://blog.jalada.co.uk/tips-when-writing-an-api-in-ruby-on-rails/#comment-1932903165</link><description>&lt;p&gt;If you're doing full stack tests as well, is it still important to be able to test them individually? Is there anything wrong with large controllers if they're manipulating data? I used to try and keep controllers tiny but I found projects are easier to maintain if the business logic and flow is clear inside the controller, rather than inferred by model lifecycles (for example).&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">David Somers</dc:creator><pubDate>Sat, 28 Mar 2015 08:25:07 -0000</pubDate></item><item><title>Re: Tips when writing an API in Ruby on Rails</title><link>https://blog.jalada.co.uk/tips-when-writing-an-api-in-ruby-on-rails/#comment-1932250080</link><description>&lt;p&gt;Good suggestions! What would the benefit be of constructing objects &amp;amp; running ActiveModel validations vs. some reusable `before_action`s in the controllers?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">David Somers</dc:creator><pubDate>Fri, 27 Mar 2015 19:25:11 -0000</pubDate></item><item><title>Re: Tips when writing an API in Ruby on Rails</title><link>https://blog.jalada.co.uk/tips-when-writing-an-api-in-ruby-on-rails/#comment-1932248647</link><description>&lt;p&gt;Yeah I've used JSON schemas before, in a Node.js application. I'd question the benefit of using JSON at all if it becomes important to type your data like that. You might be better off moving to a different serialisation structure that supports types as a first-class feature e.g. MsgPack, protocol buffers, or Thrift.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">David Somers</dc:creator><pubDate>Fri, 27 Mar 2015 19:24:01 -0000</pubDate></item></channel></rss>