agraddy | 2 years ago | on: It's time to put REST to rest
agraddy's comments
agraddy | 2 years ago | on: Tell HN: Rackspace DNS Appears to Be Down
agraddy | 3 years ago | on: Twitterrific has been discontinued
agraddy | 3 years ago | on: Show HN: TwitRiv – open-source Twitter client
It is inspired by the simplicity of Nitter.net but it uses the official Twitter V2 API. It has the benefit of allowing you to connect directly with your account so you can see users you actually follow on the main timeline, but that also means it has limitations imposed by the official API limits.
agraddy | 3 years ago | on: A 14kb page can load much faster than a 15kb page
agraddy | 3 years ago | on: Unboxing a $100 Chromebook
Due to my client work, I need an online test server so I'd be paying for a test VPS either way.
Being able to open my Chromebook and tmux into any project in about ~15 seconds provides enormous productivity gains for me. Not sure if I mentioned this previously, but I'm a freelance developer and sometimes juggling 6-8 clients at a time so being able to pull up any project at any time from any device with SSH access is very powerful for me.
agraddy | 3 years ago | on: 10% of the top million sites are dead
When you have a www you ultimately have more flexibility. For example, you can point a CNAME at another CNAME. This answer on ServerFault mentions the additional options (and downsides of doing that): https://serverfault.com/a/223634 https://serverfault.com/questions/223560/www-a-record-vs-cna...
Heroku vaguely mentions the benefits under the "Limitations" section of this link: https://devcenter.heroku.com/articles/apex-domains
After a DDos attack, they were much more explicit in their recommendations: "We strongly recommend against using root domains. Use a subdomain that can be CNAME aliased to proxy.heroku.com, and avoid ever manually entering IPs into your DNS configuration." https://web.archive.org/web/20110609095616/https://status.he...
Here is an old post about someone who initially used an apex domain and then had issues (that they hacked around): https://web.archive.org/web/20110718170757/http://blog.y3xz....
I believe that some larger providers are providing some work arounds which makes it easier to hack around the issue these days, but I still firmly believe that if you set your site up using "www" (even if it is initially an A record - most of mine are A records right now), you will have more flexibility in the long run than if you set your site up on an apex domain.
agraddy | 3 years ago | on: Unboxing a $100 Chromebook
And you are correct, that I work through the Chromebook but when the other monthly expenses don't exceed the cost of lunch, I don't think there is too much missing subtext.
agraddy | 3 years ago | on: Unboxing a $100 Chromebook
agraddy | 3 years ago | on: Unboxing a $100 Chromebook
agraddy | 3 years ago | on: Unboxing a $100 Chromebook
agraddy | 3 years ago | on: Unboxing a $100 Chromebook
One of the nice things about working with an under-powered system is that you know any users who use what you build probably are viewing it with a device that has more power.
agraddy | 3 years ago | on: Unboxing a $100 Chromebook
agraddy | 3 years ago | on: Unboxing a $100 Chromebook
agraddy | 3 years ago | on: Unboxing a $100 Chromebook
I'm guessing if I spent time figuring out the proper drivers I could probably get it working nice on Linux too but it just hasn't been worth the effort for me.
I really like the keyboard too, but I think that is probably more individual taste.
agraddy | 3 years ago | on: Unboxing a $100 Chromebook
I've been doing this for years. The battery life is great and it is also nice knowing that I never have to worry about losing my device since all of my actual work is on a server I can login to using just about any other device including my phone. Most people are shocked when they see my "work station."
I read about people using TMUX and a VPS as a development environment here on HN a long time ago and have never regretted the move.
agraddy | 3 years ago | on: Bear Blog – A privacy-first, fast blogging platform
agraddy | 3 years ago | on: 10% of the top million sites are dead
agraddy | 3 years ago | on: We lost 54k GitHub stars
agraddy | 3 years ago | on: We lost 54k GitHub stars
This comment seems to be down on MVC and Rails so I was curious about the alternatives you mentioned and came across your post that ended with praise of Rails ( https://berk.es/2022/03/08/the-waning-of-ruby-and-rails/ ):
> Rails still is a great way to get a prototype demo, or minimum viable product online in days with least surprises.
Your comment seems to indicate that you started discovering new architectures like the Command Pattern but it sounds like you are also still a proponent of Rails and MVC based on your blog post. Do you have any links to resources that helped you discover other patterns or could you share what took you on your journey?
In the Rails blog post, you said:
> I have a separate post planned on "RAD web frameworks", MVC and ActiveRecord, but it is safe to say that such frameworks, amongst which Rails, have found their niche, yet are by no means a silver bullet.
Is that post you are planning to write going to delve into some of the architectures you mentioned here? That would definitely be something I would be interested in reading.
REST seems to have different definitions depending who you talk to. Some define it very strictly (as the opening of the article seems to do) and others define it very loosely (as a JSON interface with GET/POST/etc commands). For those who implement REST loosely, the suggested alternatives fit right in.