1,438 karma · joined March 30, 2011
Email me at jamiemccrindle at gmail.com
The problem with DRY is that the cost of it being wrong in the future often isn’t accounted for.
Copy, paste, search, replace is underrated.
That said, it’s a balancing act. The right generalisations are great.
Pros:
- it can manage resources where not all information can be queried
- reading state is almost always significantly faster
- it can identify deleted resources
Cons:
- state can go out of sync
- every resource type has to implement state well while tracking changing features, so it’s fragile
- fixing broken state can be a PITA
Without making these trade-offs, terraform would only be able to support a smaller subset of the providers it currently does and perform poorly.
I didn’t know it only applied to Safari to start but it’s my primary browser anyway. It would be much better if made all networking private.
I’ve been looking for a simple video editing app for a family member who needs to post short form videos to social media.
Fortunately there are alternatives. Clips looks pretty good. Other suggestions welcome.
Just seems like a useful feature for iMovie to have.
Interesting that the CVE has been around for so long.
Sometimes it did allow for the equivalent of a pair programmer taking over the keyboard rather than explaining how to solve a problem.
I’m curious if anyone has any Live Share patterns / anti-patterns.
I suspect bailing crypto speculators out will be relatively unpalatable.
I posted it because it made it onto GitHub trending and thought it shows the potential of what could be done by aggregating cve / POC data.
I had much the same thought as you, it would be great to have this in a curated database. I feel like someone might reply that such a thing already exists :)
Snyk is pretty good for your use case (I think). It often has PoCs or links to PoCs if they’re available for vulnerabilities associated with library / framework versions. Here’s the link to the vulnerabilities for Django:
It’s not surprising then that we have a few unpatched bugs.
If I craft and send a message that does harm to a machine that I don’t own the law is pretty clear about what happens next.
If I craft and send a message that does harm to a human by exploiting one of our bugs…
I didn’t know about the --disable-proto option in node or the Document Policy proposal for dealing with it.
Amazing that 80% of nested query parameter parsers were susceptible to prototype pollution.
I think that the cloud provider business model that allows for uncapped maximum costs is a bit of a commercial dark pattern. What makes it somewhat more nefarious is that it is relatively easy to blame the customer.
I’m not surprised that the cloud providers are quick to refund users as it’s likely that they only do it in a fraction of cases and it buys a lot of goodwill.
It would be interesting to try and design a cloud that supports OutOfMoneyException’s with gradual degradation and capped liability for costs built in.
I think there is value in wiring a monolith together in such a way that each course grained subcomponent exposes a constrained interface into the rest of the system (payments, orders, shipping, customers etc) before needing to break it into distributed micro-services.
Note: I quite like Dependency Injection, I just think the 1 giant bag of dependencies can lead to complexity at scale.
A whole 51% the internet currently appears to agree. Phew.
- Democrats lose the midterms
- Apple releases AR/VR goggles
- Crypto hasn’t imploded yet
- Starship suborbital launch
- First AI generated novel makes best seller list. Arguments about how ‘directed’ it was
- Covid is endemic, restrictions generally eased, covid boosters are treated like flu shots
- We get a new JS front-end framework that takes the hype from svelte
- Hottest year on record, wildfires everywhere, tornadoes, hurricanes, floods, dogs and cats living together. Despite lots of rhetoric, atmospheric co2 ppm still going up
- Many articles about how hybrid working doesn’t work. Many organisations give up on their ‘go back to the office’ plans and embrace ‘fully remote’. Lots of disruption in this space.
- Major domestic terror attack organised on Telegram and Signal
- Donald Trump does not go to jail
- Interactive Porn AI startups start doing very well
- Drones used in more conflicts, reaction is muted
- Reddit hobbles their API
Great news! I wrote an open source library called axax that adds a number of utility methods to async iterators - map, filter etc.
I think having them as part of the language would be awesome.
Standardising async cancellation would be neat too if Deno wants a challenge....
We would love you to join us at Investec to help build a broad range of FinTech solutions across core banking, lending, treasury and trading.
We're looking for awesome and curious engineers.
Here's our tech stack but think of it as things we'd help you learn about rather than a list of requirements:
* Azure, Bicep, Terraform
* C#
* TypeScript, Angular / React
* Docker and Kubernetes
Send me an email at jamie.mccrindle@investec.co.uk to have a chat!
const add = (a, b) => a+b
can do quite a few surprising things depending on the types of a and b.Whereas how this will behave:
const add = (a: number, b: number) => a+b
is far easier to keep in your head. Multiply that effect by 100k lines and the TypeScript program becomes a lot more fun to build on because you get to spend less time thinking about edge cases.We would love you to join us at Investec to help build a broad range of FinTech solutions across core banking, lending, treasury and trading.
We're looking for awesome and curious engineers.
Here's our tech stack but think of it as things we'd help you learn about rather than a list of requirements:
* Azure, Bicep, Terraform
* C#
* TypeScript, Angular / React
* Docker and Kubernetes
Send me an email at jamie.mccrindle@investec.co.uk to have a chat!
Probably not terrible because doing an eval of untrusted json would be a bad idea but they could have used back ticks which would have these useful properties:
- still JavaScript
- fewer characters
I found discord way better for work that involves dynamic collaboration ie where folk are often working individually or jumping into each other’s streams to work together.
To achieve something similar in teams we have an open all day meeting that people pop into but it’s sub par vs the discord model.