HNHacker News
TopNewBestAskShowJobs

bizzleDawg

558 karma · joined February 9, 2014

https://ben-howes.co.uk
submissionscomments
bizzleDawg··on The Decline of Heroku
I was looking at render as an alternative to heroku the other day and I think that the only thing that made me think that I would definitely stick with heroku for now was the point-in-time restores for heroku postgres, which render seems to lack at present.

A point-in-time restore really saved me once (allowed recovery of important data after an accidental delete), but I am interested to know if other think I am over-blowing their significance in a production system? Are there other strategies which make PIT backups less important?

bizzleDawg··on Ask HN: Best low-/no-code solution for simple web-based database frontends
Interesting! was that before or after the rewrite in nodejs? Looks like they released the rewrite in November '20.
bizzleDawg··on Ask HN: Best low-/no-code solution for simple web-based database frontends
Someone mentioned https://directus.io/ to me for this use case the other day. I've not used it, but it looks good. Open source and self hostable or SaaS.
bizzleDawg··on Ask HN: What are some “10x” software product innovations you have experienced?
If you like ctrl^r, you'll _love_ https://github.com/junegunn/fzf
bizzleDawg··on Load testing is hard and the tools are not great
A significant problem with traffic replay in a few cases I've considered in the past is HTTP POSTs and usage of headers. For most, logging that extra info is not realistic and rules out traffic replay as a possibility for simulating realistic load.

Quite often, everyone one the team will already know which endpoint(s) are slow or unscalable. In that case, it is possible to set up a much less realistic load test in order to generate some flame charts of the problematic area. It can be more pragmatic than having to maintain what is essentially a new integration test suite as the author mentions.

bizzleDawg··on How a startup can survive technical debt
I've found it helpful consider the type of technical debt too. Get the data models right and most other technical debt is a lot easier to pay down. If you keep adding work on top of bad data models, things get more and more out of hand. I'll always fix data modelling as soon as the abstraction is found to be incorrect, even though that can cause a delay.

But, if you have repeated functions, or two similar react components which could be merged, that's a far lower risk to current and future development velocity.

bizzleDawg··on DigitalOcean App Platform
Yeah, I've been keeping an eye on their site which seems to indicate they were going to release something. I guess that's not happening any more!
bizzleDawg··on DigitalOcean App Platform
I'd be interested to know if this is integrated and rebranded nanobox [0]? Or something completely from scratch?

[0]: https://nanobox.io/

bizzleDawg··on Costs of running a Python webapp for 55k monthly users
For a relatively small scale project (5K users) I am running metabase using my production postgres* on a free heroku dyno (Metabase even have a 1-click deploy for this). Takes about 30 seconds to wake up, but the price is unbeatable. I don't get any of the scheduled features ofc. Would recommend for keeping costs low.

*using a heroku standard-0 db, so $50/mo with relatively good performance

bizzleDawg··on Has GitHub been down more since its acquisition by Microsoft?
The charts and diagrams in that post are really nice, how did you make them?
bizzleDawg··on Ask HN: Are my expectations on code quality and professionalism too high?
"It's a purely mechanical process" - I thought on this for a while. I think if your testing is purely mechanical then you're probably not getting much value from it. Good tests need to be "smarter" than the code they are testing in a way.

Unit testing, for coverage (as a vanity metric) can be mechanical maybe, but integration tests are the way more valuable ones (for the most part) and way more complex.

bizzleDawg··on Ask HN: Are my expectations on code quality and professionalism too high?
Eeek. Doesn't sound like you're being unreasonable in your expectations at all!

I've been a small business owner, and a software contractor, so I've seen a fair few medium/large python codebase of varying age and quality.

To address your points from the ~10 codebase I've worked on in recent memory:

- Code review: Always in place, though often the CTO has a tendency to merge without review on evenings/weekends

- Test Coverage: Often a challenge - or rather tests are there for coverage, but are of poor quality and don't really assert anything that useful

- Your suggested normal workflow _is_ the normal. Sometimes there's been a dedicated QA team that verifies the changes as seen by the end user too.

- Deployment: Yep. Heroku or k8s have been common, but at least some form of 1-click deploy/promote

Perhaps I've just been super lucky! There are often still major problems in the codebase and refactoring/rebuilding needed to address the challenges, as well as resistance of the existing team to truly change their mindsets to address the problem v.s. the band-aid (or instant gratification) of a quick fix.

Don't give up the fight!

bizzleDawg··on Ask HN: Ways to generate income when you're at home without pay?
This is great!
bizzleDawg··on Indian farmers to get direct cash benefits
doh! Updated, thanks.
bizzleDawg··on Indian farmers to get direct cash benefits
Quick aside since "lakh" is used in the summary: In Indian numbering, a lakh is 100,000. There is also a crore, which is 10M.
bizzleDawg··on Ask HN: What's your quarantine side project?
Something side-project specific might be better, lest it becomes a list of pitches!
bizzleDawg··on Our data centers now work harder when the sun shines and wind blows
> Google's cost of manufacture is fixed.

That may well be the way you (and most likely Google) currently look at it, but the argument presented seems to be that everything other than where you run some batch tasks is all fixed.

Assuming everything else is fixed does make the optimisation easier, though surely nearly everything is up for debate if we're actually talking about minimising the overall footprint of a compute task?

Using fossil fuels rather than allowing these fixed costs you mention to sit idle - there is a point where your carbon/CPU cycle would actually go up by not using fossil fuels some of the time (though I am assuming less carbon emitted for a unit of power than manufacture cost).

I appreciate they are ever-expanding and predicting where non-movable workloads are going to need to be run etc etc, and I'm not suggesting there are easy answers.

bizzleDawg··on Our data centers now work harder when the sun shines and wind blows
It seems that it must be a really difficult problem to work out the optimal solution for having spare capacity to allow time/location shifting of workloads to minimize carbon per unit of compute.

This Dell paper[0] suggests that 16% of the carbon over a typical server lifecycle is from the manufacture, so you probably don't want a server sitting there unused for 23 hours per day, since the overall carbon/compute ratio would be worse overall.

The post doesn't mention this metric, but it would be really nice to see something more detailed in time - especially with this overall efficiency of the server/datacentre lifecycle in mind, rather than just energy consumed from use.

[0]: https://i.dell.com/sites/csdocuments/CorpComm_Docs/en/carbon...

bizzleDawg··on Ask HN: Are we looking at a recession ahead?
Agreed - it seems that if this goes on for more than a few weeks then we'll start to see "cascading failures", first in the form of higher default rates, then the banks creaking under the strain of broken assumptions.
bizzleDawg··on Ask HN: Who wants to be hired? (April 2020)

    Location: Bristol, UK
    Remote: Yes (or onsite in Bristol)
    Willing to relocate: No
    Technologies: Python (Django + Flask), Javascript (React/-native), Heroku, AWS, Linux, Bash
    Résumé/CV: https://www.linkedin.com/in/benjaminhowes/ // https://ben-howes.co.uk
    Email: ben@ben-howes.co.uk
Hi! I'm a former startup founder and currently a freelance engineer. Looking for perm opportunities where I can use both my technical skills and skills I've learned as a founder and consultant. Over 7 years experience.
bizzleDawg··on Ask HN: Freelancer? Seeking freelancer? (March 2020)
SEEKING WORK | Bristol, UK (UTC) | REMOTE / ON-SITE

Fullstack, leaning towards backend a bit. 7+ plus experience. Open to part-time or full time at the moment, available next week. See my site for more detail.

Languages/Tools: Python, Django, React, React Native.

more about me: https://ben-howes.co.uk

email: "ben" at the above domain.

bizzleDawg··on Libgphoto2 Controls Digital Cameras
I used gphoto2 circa 5 years ago in order to capture photos from an automated photography rig. The library was great and I was able to control the timing well enough to use with a flash (single flash for multiple cameras)

As another comment has pointed out, the flaw was the firmware on the cameras. Canon 60D and 600D were the two models I was using and they were so lible to freezing (i.e. stop responding on USB or to button presses on the camera) that I had to set up a relay on the tethered power supply to be able to hard reset them from time-to-time. I'm 100% sure libgphoto2 wasn't to blame because I also used a tethered capture tool from Canon on windows and that also suffered from the same symptoms.

Great library though and great maintainers!

bizzleDawg··on Show HN: Order Coffee Beans from the Terminal
I made this out of frustration of never having the right amount of coffee at the right time.

I don't expect the time investment to break even any time soon (I could place a lot of orders manually in the few hours I spent on this), however I think something better is needed in terms of subscription ordering of consumables.

If I've missed a trick and there's something better than this already, please let me know :)

bizzleDawg··on Show HN: Stalemate – Merge Pull Requests Faster
Hi HN. We made Stalemate because we wanted a dashboard which makes it easy to see the relevant pull requests and what needs doing to get them ready to merge.

We've been testing Stalemate with a few companies here in the UK. It's ideal when you're working across multiple repositories on a single team (e.g. when you have code split out into libraries on a project).

Stalemate is good for teams who use relatively simple issue/task tracking such as GitHub issues, trello et al. It's not a great pairing with tools like Jira however because there are better ways to surface the information that Stalemate does in Jira.

There's no magic here - just a really useful way to surface the data you already have in a way that makes it really easy for developers to see PRs needing attention.

We'd love feedback! Thanks

bizzleDawg··on Show HN: Flipt – an open-source feature flag solution
I'm amazed by how much you've achieved with this project! I thought it was 2 months worth of work until I looked at your blog, but even to have managed this in spare time over a couple of years is amazing.

The only thing I can think to suggest by way of improvement is some fairly prominent examples of the kinds of segmentation you can do with Flipt.

Do you see this being used for A/B testing as part of a pro version?

bizzleDawg··on Show HN: JavaScript plugin to build 360-degree images
Storytime. Back in 2013, I designed a "robotic" system to take 108 photos of products (from all different angles in a hemisphere) some years ago [1]. My co-founder and I also made a rotating image widget like this one, but that seems to have rotted too much to show.

The interesting thing is that taking photos is only the first part of the problem - the second and larger problem is that you have 36-108 photos which need editing. Outsourced, you can have an agency remove the backgrounds from photos, but long term this is unsustainable.

I'm speaking about this from having spent nearly 2 years having tried to get a startup off the ground which was intending to offer this kind of photography as a service.

Another massive part of the Challenge was that nobody cared! It's interesting tech and all the stats say that 360/3D photos convert better, but they're a lot more expensive and not possible to have an intern shoot as easily. In the end, I spoke to about 1/3rd of the available market, often reaching out with custom mockup and products in their market - we had 2 clients from this.

That was 2013 though. I can think that 2 things might have changed:

1. It seems quite possible that an RNN/CNN could help remove backgrounds more reliably? I'm no expert in this, perhaps someone else could comment. The particularly hard case is separating nearly identical colors - e.g. black&white trainer on white background. That would certainly allow for a higher quality finish.

2. Customer interest may have changed? Anecdotally, I've not really seen a huge increase in 360/3D photography in ecommerce. In 2013, I thought Amazon was going to introduce it because of some patents filed relating to an automatic photography pipeline.

[1]: https://zoetrope.io/client-story/3d-imaging/

bizzleDawg··on Show HN: Progress Dashboard – A dashboard to stay productive with progress bars
Spliting hairs here, but it's not about clicking something, it's about changing what those first 2 letters typed are.

Call me a minimalist (or whatever else you'd like), but "might as well" isn't a good enough reason to add distractions for me.

bizzleDawg··on Show HN: Progress Dashboard – A dashboard to stay productive with progress bars
I did try "momentum" as a new tab for a while, but I've always found these kinds of things distracting - when you hit ctrl+T I'm not (and I suspect most are not) looking for inspiration, but I'm looking to find something. Maybe I'm alone in this view?

If anything, I'd be tempted to make a completely blank new tab page - for me that would avoid the normal routine of seeing all my favourite favicons

bizzleDawg··on On whether changes in bedroom CO2 levels affect sleep quality
It looks like things have moved on quickly since the other year when I was more involved in this! This company does some good products, some of which are fairly easy to interface: https://www.gassensing.co.uk/products/
bizzleDawg··on On whether changes in bedroom CO2 levels affect sleep quality
I suspect both! I should compare a $250 one with the $20 one
← PreviousPage 3 of 5Next →