237 karma · joined Oct 6, 2012 (14y ago) · 64 submissions
comment 5y ago · link · parent
With traditional rail it's relatively simple to fix up parts of a track or have areas where trains need to slow down to accommodate tricky sections of track. Must be a lot more difficult to repair a maglev track section?
comment 5y ago · link · parent
1. Do you support localization?
2. Do you think there is a benefit to using this in addition to a headless CMS that is already managing authored content?
At my previous company we did a lot of AB testing around product copy in our signup funnel which was surprisingly effective. This could be a really useful feature to include in the future
comment 5y ago · link · parent
In the example above, I would probably use cloud functions or a distributed actor system.
Perfect, a microservice (perhaps just service?) can be whatever you want it to be, and I don't see any reason why you shouldn't split code along technical boundaries if it somehow improves your software
comment 5y ago · link · parent
The author hits the nail on the head at the end:
If I could go back and redo our early microservice attempts, I would 100% start by focusing on all the "CPU bound" functionality first: image processing and resizing, thumbnail generation, PDF exporting, PDF importing, file versioning with rdiff, ZIP archive generation. I would have broken teams out along those boundaries, and have them create "pure" services that dealt with nothing but Inputs and Outputs (ie, no "integration databases", no "shared file systems") such that every other service could consume them while maintaining loose-coupling.comment 6y ago · link · parent
Well at least a large portion of those bugs might be able to be caught by unit tests! No reason to write less of those, having good unit and integration tests still make you more confident about your application. And because they are faster to run the feedback loop when they break is also faster
comment 6y ago · link · parent
If you're asking for an actual number of the price of a Cheeseburger and a Shake? I don't know, but it may be a number that's ultimately better for society?
comment 6y ago · link · parent
It's just hard to justify the validity of a preview env if the deployment is different to that of prod, the deployment and infra is part of what you test IMO.
The reality is that if you want fast builds an experience that makes it easy to compare different commits, etc.. there is a tradeoff.
What makes you say there needs to be a tradeoff? If you can deploy these preview environments so easily why can it not be the same for production too?I actually think this is a great sounding product. I've pushed in almost every company I've worked at in the past to have per PR environments but never actually had it working for real until my current workplace and it is fantastic. It's for sure made easier with the use of serverless and/or container
comment 6y ago · link · parent
At my current company we have a CI/CD setup that also deploys a per-PR environment - uses terraform and gitlab pipelines to manage everything including our production deployments.
I'd use this for side projects to get things visible but not for a real production app as I'd want the deployment system to be the same between PR environments and production
comment 6y ago · link · parent
comment 6y ago · link · parent
Realistically though a lot of new tech will get into the hype stage and then everyone will realise that is in fact no good or just disappear for some other reason.
People see that diagram and think it doesn't matter if you jump in at the hype stage because eventually this tech will become mainstream, when a lot of the time that graph just drops to zero after the hype stage.
comment 6y ago · link · parent
News (particularly in the US) is so caught up in Politics that no one ever knows what anyone's policies are any more.
My favourite part of this article is:
There is voting, of course, but to become an informed voter all one needs to do is read a short guide about the candidates and issues before the election. There’s no need to have to suffer through the daily back-and-forth of allegations and counter-allegations, of scurrilous lies and their refutations. Indeed, reading a voter’s guide is much better: there’s no recency bias (where you only remember the crimes reported in the past couple months), you get to hear both sides of the story after the investigation has died down, you can actually think about the issues instead of worrying about the politics.
comment 6y ago · link · parent
My comment was more of a dig at Github specifically. Recently things haven't been working for me (from my perspective an outage) and when you go to their status page it just says "Degraded performance". When your performance has degraded to the point of failure it's time to acknowledge that is in fact an outage...
comment 6y ago · link · parent
"It's better to just solve whatever problem you're facing in the simplest possible way."
I completely agree with this, but I dont beleive that syncronizing deployments across multiple services is ever simple - have been in this situation at a past company where it would take an entire week every 3 months to do a deployment
comment 6y ago · link · parent
Versioning APIs is a pretty standard way to get around this.
If your deployment relies on synchronized service deployments you really dont have independent services at all.