HN user

agraddy

102 karma

Currently working on building various tools.

https://www.agraddy.com https://www.metricriv.com https://sellinpublic.com https://www.crmjot.com https://www.piperiv.com

https://twitter.com/agraddy

Posts13
Comments37
View on HN

I went into this article strongly disagreeing but I think the alternative presented at the end are valid ways to structure an API and for those who very loosely follow REST structuring would probably consider the alternatives "REST" too.

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.

It appears to now have been resolved. It was down for over 30 minutes. For most of that time, the status page was not accessible at all and when it did finally become accessible, it displayed no major problems.

TwitRiv.com is part of my 12 Startups in 12 Months Challenge (Open Source Edition).

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.

This is a really great breakdown of the TCP slow start algorithm. I always try to keep sites as lean as possible, but this was an aspect of TCP that I wasn't familiar with but will definitely be keeping it in mind in the future.

I started working like this in the summer of 2017 so I'm right at the 5 year mark with this setup (I actually need to get a new device and DO's prices have remained the same - I think they've actually gotten cheaper and I'm on a more expensive plan - $5 vs now they have a $4 option).

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.

Just saw this response. In my comment above, I didn't want to spend a lot of time responding to the original post so I handwaved a lot with this "assuming you've set the CNAME and network up for that functionality"

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.

Just to clarify, I use a $5/mo DigitalOcean droplet plus an extra dollar or two for backup and then a rsync.net account (that I use for other backup purposes too). Off the top of my head, that is the extent of my expenses for this set up (it's possible I might be forgetting/missing something).

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.

I pay a little extra for DigitalOcean's backup service and then I also have an rsync.net account (they offer a HN discount that you can email them and ask about if you are interested).

I like to work outside at different parks (in the shade under a covering) and haven't noticed any "dim" screen issues.

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.

My experience is that the touchpad on Chromebooks is high quality and really nice (I prefer it to a lot of other touchpads I've worked with). I can also boot fully into Linux (slightly different than what is described in the tweets), however when using Linux, the touchpad becomes terrible.

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.

I do all my work on an under $200 Chromebook. I have a VPS where I do all the actual work. I use Mosh and TMUX for connecting and saving my different projects (I'm a freelance developer who is often juggling multiple clients). Basically, the Chromebook is just an SSH client and a web browser (I can also boot into Linux if needed - slightly different than described in the Tweets).

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.

I'm a www advocate and reroute my domains from apex domain to www. When you use an apex domain, you have to use an A record which means if you have a server outage it is going to take time to update the record to point at a new IP address. If you use www with a CNAME, the final server IP can be quickly switched assuming you've set the CNAME and network up for that functionality - you can't do that with an apex domain.

Thanks for the detailed breakdown! This is really helpful and exactly the kind of information I was hoping you would share.

I'm in the process of creating an MVC framework and was curious about the other architectures you mentioned.

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.

My prediction is that Bitcoin (or some other alt-coin/cryptocurrency) will eventually become a single worldwide currency. It's reached a point where if a government tries to regulate it too tightly, they will effectively be shooting themselves in the foot and cutting their country off from outside trade.

The result is that the cryptocurrency will continue to gain momentum until it is used everywhere worldwide. This will eventually lead to a single worldwide government or an agreement between all countries across the world to act uniformly in regards to the currency. This will become a necessity to properly administer taxes and/or settle cross-border contract disputes.

Once you have a single government, worldwide government ids will be initiated (or all local ids, like driver's licenses will require integration with a wordwide database). At this point, the single government will then co-opt the cryptocurrency or initiate a new cryptocurrency and require everybody to tie their id to their cryptocurrency usage. The reasoning will be to crack down on crime, tax evaders, etc. Because it's a one world government or all governments are working together in lock-step, they would then have the capability of controlling/banning the cryptocurrency. Anyone not properly linking their identity to the currency will be breaking the law, and it will be very difficult to participate in commerce because there will be no more physical cash or coins.

Either way, the only way I see this playing out is a currency that most people assume was initially intended to break from government control will eventually lead to ultimate government control.

As a side note, I realize the concept of a one world government is controversial, but my personal opinion is that it is an eventuality.

I'm curious; will you be looking at comment scores of comments in this thread to help make the decision? There have been a few times when I've been viewing comments in a thread and thought "I wish I was the admin of Hacker News so I could see how these comments are being scored."

Maybe one solution to the problem of comment wars would be to regularly display comment scores but every so often turn them off for a bit of time (a week or a month) to remind the community of the goals of the site. My guess is that if users are reminded every so often to keep things civil by removing the socres; it would probably go a long way in maintaining the community without losing the benefits that seeing the scores provides.

I'm basically a lurker (I'm guessing I've probably been around for about two years although I've only had an account for about a year). I frequent Hacker News because it's a good technology news filter that keeps me informed of the latest trends without having to sift through link bait blog posts in Google Reader. For me, the enjoyment of lurking has definitely declined with scores being hidden because it's difficult to quickly find valuable comments. I voted for "I liked it better when comment scores were displayed."

I'd agree that comment wars have declined which probably makes it a much more enjoyable experience for frequent commenters. Having comment scores shown seems to encourage lurking and quick consumption while hidden scores seems to encourage thoughtful comments but it makes lurking difficult. I'm guessing the goals of the site are focused more towards commenters/community than it is towards lurkers.

I highly recommend the books "The Innovator's Dilemma" and "The Innovator's Solution" by Clayton Christensen. They basically provide answers to all of your questions. Christensen is the one who coined the term "disruption" as it applies to technology and innovation. The premise of the books are that large entrenched companies focus on larger profits and ignore off the shelf technologies that they already have in house because the potential profits seem too small. Other smaller companies start using off the shelf technologies to focus on niche customers and eventually overtake the larger companies. By the time the larger company realizes what's going on, they're playing catchup.

Nintendo used "The Innovator's Dilemma" and "Blue Ocean Strategy" (another book I highly recommend) as the basis for the development of the Wii.

Probably depends on where in Oklahoma and Tennessee. I moved from Tulsa to Nashville three years ago and the housing market seems fairly equivalent to me with Nashville being slightly higher (which makes sense with Nashville being larger than Tulsa).

I like that giving the paper to a friend provides an easy way for a friend to be able to access his accounts in case of a tragedy.

I think this is an accurate assessment based on my own observations. My brother (in his twenties) just told me the other day that the only reason he wants cable is for Monday night football.

The one factor that cable companies can rely on is that they have positioned themselves to be the primary ISP for a good portion of the US population. It will be interesting to watch how/if these companies pivot in the next few years.