timclark | 9 months ago | on: Dependency injection frameworks add confusion
timclark's comments
timclark | 3 years ago | on: Ask HN: In 2023, what’s the easiest way to build an (iOS, Android) app?
timclark | 3 years ago | on: Amplify UI – Don't just prototype. Connect your UI to the cloud
Some of the simple things will be easy, everything else will be hard.
Also instead of supplying an SDK, Amplify will provide components that can seriously constrain lots of your UI architecture decisions.
For Javascript the old mobile SDK was much more usable.
Almost all of the AWS services have a sensible JSON API, I wish that AWS would just generate sensible SDK bindings for Swift, Javascript and Dart and stop all development on Amplify.
timclark | 4 years ago | on: Release of AWS CDKv2 and Construct Hub
timclark | 4 years ago | on: Ask HK: Quickest way to develop mobile apps as back end engineer in 2021?
timclark | 4 years ago | on: The Solid Steel Yarn Winder
timclark | 5 years ago | on: Google Kills Keep
'Google Kills Keep' is inaccurate.
timclark | 5 years ago | on: Prefer Fakes over Mocks
But, I'd suggest if you can't test a single class in isolation easily (and you might need fakes/mocks) then the class probably needs redesigning.
timclark | 5 years ago | on: Missing Covid-19 test data was caused by the ill-thought-out use of Excel
timclark | 5 years ago | on: Ask HN: Suggestions for books about API design?
This has an interesting generic discussion of API design which is technology agnostic.
timclark | 5 years ago | on: Science Fiction Books I’ve Read (2018)
timclark | 5 years ago | on: Domain-Oriented Microservice Architecture
timclark | 5 years ago | on: Use of Assertions (2014)
If you're not really careful the assertions will quickly obscure the actual logic (as does logging), a careless engineer can easily add a bad assertion and fill up your monitoring system, another careless engineer can write a complicated but broken assertion without any tests - they've all happened to me on multiple production systems.
Eiffel style pre and post conditions might be a solution as the assertions are kept away from the main code path in the method signatures - but at that point a modern statically typed language might give you more value (preferably with null safety and sum types).
timclark | 5 years ago | on: Breakthrough in inverse Laplace transform procedures
Lots of electrical circuits, mechanical systems and electro-mechanical systems can be modelled using laplace transforms if they are linear systems.
I did an electrical and electronic engineering degree and we got to skip the tedious differential equation solving lectures that the mechanical, civil and chemical engineers had to attend because of Monsieur Laplace.
timclark | 5 years ago | on: Minimizing Logic Expressions
Practically you probably care more about the number of transistors than the number of gates.
timclark | 6 years ago | on: A quiet roadside revolution is boosting wildflowers
Reducing soil fertility probably needs intervention to remove rotting vegetation etc.
I am guessing that at one point in time native plants would have had animals and insects that were eating them and maybe reducing soil fertility.
timclark | 6 years ago | on: Nobody talks about the real reason to use Tabs over Spaces
timclark | 6 years ago | on: Show HN: A Mac Desktop App to Manage S3 and Dynamo
timclark | 7 years ago | on: Branca – Authenticated and encrypted API tokens using modern crypto
timclark | 7 years ago | on: Using the New AWS Secrets Manager for Serverless
Most dependency injection that I see in the wild completely misses this distinction. Inversion can promote good engineering practices, injection can be used to help with the inversion, but you don’t need to use it.