Better HN
topnewbestaskshowjobs
Log inSign up

acallaghan

661 karma · joined May 17, 2013 (13y ago) · 128 submissions

Submissions

comment 2mo ago · link · parent

> Rails is dead.

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

comment 3mo ago · link · parent

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. -

comment 5mo ago · link · parent

When AI bubble pops, no bailouts. I'm not paying for this BS

comment 5mo ago · link · parent

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

comment 5mo ago · link · parent

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.

comment 6mo ago · link · parent

This is great, i've been wanting someone to do this for a while, and was tempted to myself

comment 2y ago · link · parent

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?

comment 2y ago · link · parent

> 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.

9.

Growing scientific interest in vagus nerve stimulation(theguardian.com ↗)

274 points · by acallaghan · 3y ago · 148 comments

comment 3y ago · link · parent

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

comment 3y ago · link · parent

British & Irish butter is also excellent, don't give the French all the credit!

comment 3y ago · link · parent

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

comment 3y ago · link · parent

Not scientific enough. Take it three times and average the results

comment 3y ago · link · parent

Alright but not sure what any of that has to do with CSS system colours

comment 3y ago · link · parent

How is this fine, but banning sale of guns not fine in these people's minds?

comment 3y ago · link · parent

To get this far in two years is amazing - great work. Your marketing page is fab as well

comment 4y ago · link · parent

Like Qatar?

comment 4y ago · link · parent

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

comment 4y ago · link · parent

> 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.

comment 4y ago · link · parent

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.

comment 4y ago · link · parent

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

comment 4y ago · link · parent

I mean blaming the PM that was last in power over 15 years ago seems a stretch?

comment 4y ago · link · parent

The whole UK is on the grid, even if you have solar generation, you sell the surplus back to the grid

comment 4y ago · link · parent

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

comment 4y ago · link · parent

I suspect this is more to do with the financial regulation & the bodies that investigate these things, rather than Monzo.

comment 4y ago · link · parent

Nice - there's a demo repo of this on edge Rails here: https://github.com/machty/rails-edge-async-test

comment 4y ago · link · parent

Someone had the do the heavy lifting I guess

comment 4y ago · link · parent

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

12345