HNHacker News
TopNewBestAskShowJobs

acallaghan

661 karma · joined May 17, 2013

submissionscomments
acallaghan··on What About Rails?
> Rails is dead.

I forgot how many times Rails has died, maybe it is a cat & this is perhaps the 7th/8th time?

acallaghan··on Rails Is Done
The core framework and the fact that all projects broadly are structured the same is the ideal use case for LLMs - it's proven to be much more successful at writing sanely architected code for me, over say Expo, Next etc. -
acallaghan··on U.S. allows Anthropic to release Mythos AI to ‘trusted’ US organizations
When AI bubble pops, no bailouts. I'm not paying for this BS
acallaghan··on Using Git's rerere feature to escape recurring conflict hell
My point is really that the default --force is dangerous for new/sleep deprived users, or ones that kinda understand but don't - where as --force-with-lease is not and is always safe. --force-with-lease should just be default
acallaghan··on Using Git's rerere feature to escape recurring conflict hell
I'm also like this, rebasing feature branches onto main - I however have one suggestion when it comes to the push back up to origin

Instead of

`git push --force`

always use

`git push --force-with-lease`

https://git-scm.com/docs/git-push

This probably should be the default in git (as in there should be a `git push --force-without-lease` instead) and asks git to make sure the commits locally on your branch are up-to-date with those on remote/origin. It then fails if you try to overwrite commits that you haven't seen, and has saved me a few times when working between computers on the same project when i could have lost history on the remote that i failed to fetch.

acallaghan··on Show HN: I built an open-source email builder, alternative to Beefree/Unlayer
This is great, i've been wanting someone to do this for a while, and was tempted to myself
acallaghan··on UK Fell into Recession in 2023
If Corbyn has been PM and had been quoted as saying "Let the bodies pile high in streets" do you think you'd still think he had no impact on Covid?
acallaghan··on How does Sidekiq really work?
> We're using Rust/Actix

This looks like a web service framework, rather than a web application framework like Rails/Django. Like it's closer to Sinatra/Express than Rails -

The speed of Rails comes with rapid development & strong conventions leaving the important stuff (like business logic and building something) to you.

Once you get to a size where scale is an issue with Rails, you'll have a startup that's working - it's a better problem to have than a startup that has perfect fast code but no customers.

acallaghan··on DigitalOcean: Issue impacting networking in multiple regions
I had a blip about 40 minutes ago for around 4 minutes, where an internal IP for a redis server failed to connect, and didn't failover to the backup node... which is just excellent.

Hoping it's a small issue & resolved quickly

acallaghan··on The Difference Between European and American Butter
British & Irish butter is also excellent, don't give the French all the credit!
acallaghan··on UK Blocks Microsoft’s $69B Activision Deal
It would allow them to operate but issue heavy financial sanctions and penalties, rather than just disallow them at first -

These financial sanctions could swallow up any and all profit from the UK market

acallaghan··on LSD: Not Even Once
Not scientific enough. Take it three times and average the results
acallaghan··on CSS System Colors (2021)
Alright but not sure what any of that has to do with CSS system colours
acallaghan··on Unapproved books now a felony in Manatee County schools
How is this fine, but banning sale of guns not fine in these people's minds?
acallaghan··on Show HN: I spent 2 years building Tablane as a 17-year-old
To get this far in two years is amazing - great work. Your marketing page is fab as well
acallaghan··on European teams ditch pro-LGBTQ+ armbands at Qatar World Cup
Like Qatar?
acallaghan··on GitHub Copilot Is actually Good
I use it for Rails, and the most use I get out of it is with RSpec testing - tests with already descriptive spec names, it guesses correctly like 95% of the time what I was going to write anyway.

It's less useful around view code, but controllers/models it can be somewhat useful too. But to be honest, I'm happy to pay the price to let it write some specs for me

acallaghan··on EU Passes Law to Switch iPhone to USB-C by End of 2024
> A bunch of politicians

*elected* politicians is the key. The member states voted them in, they have a democratic mandate. No one running these companies have anywhere near the same level of responsibility to people as someone that's actually elected.

This is just another regulation on that free market, decided for by democratically elected people and not by the companies choosing not to be regulated.

acallaghan··on Rapid Green Energy Transition Will Likely Result in Trillions of Net Savings
The cargo-cult religion is unfortunately back by science and years of study and agreement amongst scientists - human activity is causing climate change and global warming. You sound like you haven't accepted this fact based reality that we live in and are a part of.

Climate change is our fault, and we have to stop it, there is no other alternative that also includes life continuing on earth as we know it. This change is already happening, it's not hypothetical. Global systems are already being affected, extreme weather and drought more common. Global temperature change has to be kept as low as possible, or we risk crop failure, famine and mass immigration at a scale that has never been seen.

I understand there are huge logistical issues with shifting off fossil fuels, but we as humans have to. We can get to the moon, we can stop burning old dinosaurs & plants to make stuff work. Even without climate change, these resources are finite. Are you just going to accept waiting for all the oil to run out before making plastic tubes from something else? The clue is in the name fossil, they take millions of years to produce and are non-renewable.

You can think of me as a green psychopath all you like, but it doesn't change the cold hard facts. I hope my reply isn't high-intensity BS.

acallaghan··on Should You Buy an EV? A calculator to figure it out
I hear this view a lot - my main rebuttal is 'but can't top up your car with petrol/gas/diesel at home either'.

The infra around EV charging needs to be much much better, I totally agree with this, but the idea that everyone will be able to charge their cars at home just isn't going to happen

acallaghan··on Silent crisis of soaring excess deaths in Britain is only tip of the iceberg
I mean blaming the PM that was last in power over 15 years ago seems a stretch?
acallaghan··on West London faces new home ban as electric grid at capacity due to data centres
The whole UK is on the grid, even if you have solar generation, you sell the surplus back to the grid
acallaghan··on We are removing the option to create new subscriptions
I suspect a temporary ID that links the two that lives for just the time of the Payment Request and transmitted as metadata? Once the payment is successful, it removes the ID linking the payment to the account ID & severs the link - just the account has the credit
acallaghan··on How we secure Monzo's banking platform
I suspect this is more to do with the financial regulation & the bodies that investigate these things, rather than Monzo.
acallaghan··on Rails adds support for Fiber-safe ActiveRecord ConnectionPools
Nice - there's a demo repo of this on edge Rails here: https://github.com/machty/rails-edge-async-test
acallaghan··on Lawsuit filed alleging Google is paying Apple to stay out of the search business
Someone had the do the heavy lifting I guess
acallaghan··on Deploy a Gmail-like email server in 30 (ish) minutes
I am the author.

> if I had any private data hosted by the author, I would be worried now.

Is an attack on me personally, nothing about the article. The article also took much longer than 30 minutes to 'knock out' - more like 3 hours all in all

acallaghan··on Deploy a Gmail-like email server in 30 (ish) minutes
It wasn’t the default for docker-mail server & had to work out from the wiki how to configure it to work like this
acallaghan··on Deploy a Gmail-like email server in 30 (ish) minutes
Docker, cloud volumes, SpamAssassin, Dovecot, ClamAV, fail2ban, DKIM, DMARC. Ask what these are to someone in 1996 and see what you’d get back. The article covered setting all of these up

However my main objection to the OC was attacks on my professionalism. Unless you’re going to defend that, I don’t really care

acallaghan··on Deploy a Gmail-like email server in 30 (ish) minutes
Cheers, I haven’t - I’m old & ugly enough to read them and let it not affect me. A few have genuinely good points, and I’ve replied to those. Some are just annoyed i didn’t setup a 6 node Kube cluster with 24/7 AI intrusion bot detection with a brand new UI with OCR text detection for image uploads.

Experimenting on the internet is what i did, and it’s what I’ll continue to do, despite what other dullards might say is a waste of time

Page 1 of 4Next →