I forgot how many times Rails has died, maybe it is a cat & this is perhaps the 7th/8th time?
661 karma · joined May 17, 2013
I forgot how many times Rails has died, maybe it is a cat & this is perhaps the 7th/8th time?
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.
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.
Hoping it's a small issue & resolved quickly
These financial sanctions could swallow up any and all profit from the UK market
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
*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.
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.
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
> 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
However my main objection to the OC was attacks on my professionalism. Unless you’re going to defend that, I don’t really care
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