lade...
random avatar

djm - Network

Posts Subscribe

And the post-mortem itself is really a must-read on how a high-functioning team reacts to such an...

https://mastodon.social/@djm/111...

And the post-mortem itself is really a must-read on how a high-functioning team reacts to such an issue.

linear.app/blog/linear-inciden

30.1.2024 17:04And the post-mortem itself is really a must-read on how a high-functioning team reacts to such an...
https://mastodon.social/@djm/111...

The `TRUNCATE TABLE * CASCADE` root cause in Linear's post-mortem is a super easy mistake to make, and even harder to spot in review.So...

https://mastodon.social/@djm/111...

The `TRUNCATE TABLE * CASCADE` root cause in Linear's post-mortem is a super easy mistake to make, and even harder to spot in review.

So to stop us ever making the same mistake as I have added a
Semgrep rule to our CI step.

semgrep.dev/playground/s/7KvyZ

30.1.2024 17:00The `TRUNCATE TABLE * CASCADE` root cause in Linear's post-mortem is a super easy mistake to make, and even harder to spot in review.So...
https://mastodon.social/@djm/111...

I will be at FOSDEM in Brussels this weekend if anyone would like to catch up (or meet!), let me know. 👋

https://mastodon.social/@djm/111...

I will be at FOSDEM in Brussels this weekend if anyone would like to catch up (or meet!), let me know. 👋

29.1.2024 14:30I will be at FOSDEM in Brussels this weekend if anyone would like to catch up (or meet!), let me know. 👋
https://mastodon.social/@djm/111...

One great thing about it is that it differentiates between "monitor", "comment", and "block".So you can test...

https://mastodon.social/@djm/110...

One great thing about it is that it differentiates between "monitor", "comment", and "block".

So you can test rules without anyone seeing anything, or roll them out as comments only so they appear on PRs as a GitHub comment. Then only use "block" for ones you know are legit.

18.4.2023 13:04One great thing about it is that it differentiates between "monitor", "comment", and "block".So you can test...
https://mastodon.social/@djm/110...

An example is worth a thousand words, so here is it writing a #django rule to ban implicit ordering of querysets by defining the ordering...

https://mastodon.social/@djm/110...

An example is worth a thousand words, so here is it writing a rule to ban implicit ordering of querysets by defining the ordering on the model.

Written, tested and sent to CI within 60 seconds.

18.4.2023 12:48An example is worth a thousand words, so here is it writing a #django rule to ban implicit ordering of querysets by defining the ordering...
https://mastodon.social/@djm/110...

Using ChatGPT4 to write Semgrep .yaml rules is the fastest way we've ever had to add language/framework -agnostic linting rules.The...

https://mastodon.social/@djm/110...

Using ChatGPT4 to write Semgrep .yaml rules is the fastest way we've ever had to add language/framework -agnostic linting rules.

The friction is so low that a new rule can be in place in less than 2 minutes, and that thing never needs to be discussed again.

So good.

18.4.2023 12:06Using ChatGPT4 to write Semgrep .yaml rules is the fastest way we've ever had to add language/framework -agnostic linting rules.The...
https://mastodon.social/@djm/110...

Says it all. Many thanks @charliermarsh & team.

https://mastodon.social/@djm/110...

Says it all. Many thanks @charliermarsh & team.

11.4.2023 09:25Says it all. Many thanks @charliermarsh & team.
https://mastodon.social/@djm/110...

What moving to `ruff` looks like for our dependency graph.(pre-)commits just got a whole load faster ⚡️Ruff stands on the shoulder of...

https://mastodon.social/@djm/110...

What moving to `ruff` looks like for our dependency graph.

(pre-)commits just got a whole load faster ⚡️

Ruff stands on the shoulder of giants – so a huge shout to all the maintainers of the projects on this list, without you and the cataloguing of all the meticulous rules none of it would have been possible. Moving on but not forgotten.

11.4.2023 09:13What moving to `ruff` looks like for our dependency graph.(pre-)commits just got a whole load faster ⚡️Ruff stands on the shoulder of...
https://mastodon.social/@djm/110...

Kenny Ken b2b Kenny Ken ❤️https://www.youtube.com/watch?v=z2g8jTNBSXQ

https://mastodon.social/@djm/110...

Kenny Ken b2b Kenny Ken ❤️

youtube.com/watch?v=z2g8jTNBSXQ

6.4.2023 15:03Kenny Ken b2b Kenny Ken ❤️https://www.youtube.com/watch?v=z2g8jTNBSXQ
https://mastodon.social/@djm/110...

I highly recommend reading how Copilot engineers its LLM prompt because once you know what it's doing under the hood - you can take...

https://mastodon.social/@djm/110...

I highly recommend reading how Copilot engineers its LLM prompt because once you know what it's doing under the hood - you can take action to help guide it.

Super reverse-engineered guide here: thakkarparth007.github.io/copi

e.g It uses files recently visited for context. If you're trying to building a certain thing it helps to visit files related to the domain, so it can make better educated guesses. 💯

6.4.2023 11:13I highly recommend reading how Copilot engineers its LLM prompt because once you know what it's doing under the hood - you can take...
https://mastodon.social/@djm/110...

It wasn't immediately apparent during testing on staging, or even in general usage of the platform - which makes me suspect it's a...

https://mastodon.social/@djm/110...

It wasn't immediately apparent during testing on staging, or even in general usage of the platform - which makes me suspect it's a contention issue in some form. Hopefully will get some time to look into it soon and write it up.

6.4.2023 08:53It wasn't immediately apparent during testing on staging, or even in general usage of the platform - which makes me suspect it's a...
https://mastodon.social/@djm/110...

Yesterday, on Django 4.2, we bumped #psycopg from v2 to the v3 but suffered an increase in locks & connection waiting during some...

https://mastodon.social/@djm/110...

Yesterday, on Django 4.2, we bumped from v2 to the v3 but suffered an increase in locks & connection waiting during some periods of heavy work on the same hardware (Heroku pg with server-side pgBouncer).

Operational reasons (shipping!) stop us investigating this in more depth right now but thought this warning may be of help to someone.

6.4.2023 08:48Yesterday, on Django 4.2, we bumped #psycopg from v2 to the v3 but suffered an increase in locks & connection waiting during some...
https://mastodon.social/@djm/110...

Django 4.2 brings one change I don't see anyone talking about: the default admin save & delete buttons have swapped sides.If...

https://mastodon.social/@djm/110...

Django 4.2 brings one change I don't see anyone talking about: the default admin save & delete buttons have swapped sides.

If you're wondering why, it was part of a change to fix the tab ordering. You can read more here: code.djangoproject.com/ticket/

It'll take some getting used to after 14 years!

3.4.2023 16:05Django 4.2 brings one change I don't see anyone talking about: the default admin save & delete buttons have swapped sides.If...
https://mastodon.social/@djm/110...

If your team have been investing in writing decent pull requests/commit messages - your entire team is about to get levelled up by...

https://mastodon.social/@djm/110...

If your team have been investing in writing decent pull requests/commit messages - your entire team is about to get levelled up by LLMs.

Never has investing in the written word as related to code been more important than it is about to be.

3.4.2023 09:44If your team have been investing in writing decent pull requests/commit messages - your entire team is about to get levelled up by...
https://mastodon.social/@djm/110...

Alex has a good article on this here:https://infrequently.org/2023/02/safari-16-4-is-an-admission/

https://mastodon.social/@djm/110...

Alex has a good article on this here:

infrequently.org/2023/02/safar

28.3.2023 12:27Alex has a good article on this here:https://infrequently.org/2023/02/safari-16-4-is-an-admission/
https://mastodon.social/@djm/110...

Does anyone know what has changed at Apple that now means they're ploughing money into features into Safari that directly compete with...

https://mastodon.social/@djm/110...

Does anyone know what has changed at Apple that now means they're ploughing money into features into Safari that directly compete with native?

I am so glad to see it; but what changed?

28.3.2023 09:29Does anyone know what has changed at Apple that now means they're ploughing money into features into Safari that directly compete with...
https://mastodon.social/@djm/110...

No words.

https://mastodon.social/@djm/110...

No words.

20.3.2023 18:16No words.
https://mastodon.social/@djm/110...

This looks *fantastic*: a new free-to-access book on PostgreSQL 14 internals including nearly 60 pages on how the...

https://mastodon.social/@djm/110...

This looks *fantastic*: a new free-to-access book on PostgreSQL 14 internals including nearly 60 pages on how the mysterious-from-the-outside locking system works.

postgrespro.com/blog/pgsql/596

14.3.2023 10:58This looks *fantastic*: a new free-to-access book on PostgreSQL 14 internals including nearly 60 pages on how the...
https://mastodon.social/@djm/110...

New Ink & Switch! 🎉I never miss these; one of the best places to read forward thinking, industry-advancing technical writing about...

https://mastodon.social/@djm/109...

New Ink & Switch! 🎉

I never miss these; one of the best places to read forward thinking, industry-advancing technical writing about the web.

>"Combining real-time collaboration with version control for writers."

inkandswitch.com/upwelling/

9.3.2023 18:38New Ink & Switch! 🎉I never miss these; one of the best places to read forward thinking, industry-advancing technical writing about...
https://mastodon.social/@djm/109...

Thanks to a prod from @adamchainz, I discovered GitLens on VSCode has the ability to opt-in a display of relative age of code throughout the...

https://mastodon.social/@djm/109...

Thanks to a prod from @adamchainz, I discovered GitLens on VSCode has the ability to opt-in a display of relative age of code throughout the file as a heatmap bar down the left-hand side. 🎉

6.3.2023 11:41Thanks to a prod from @adamchainz, I discovered GitLens on VSCode has the ability to opt-in a display of relative age of code throughout the...
https://mastodon.social/@djm/109...
Subscribe
To add news/posts to your profile here, you must add a link to a RSS-Feed to your webfinger. One example how you can do this is to join Fediverse City.
         
Webfan Website Badge
Nutzungsbedingungen   Datenschutzerklärung  Impressum
Webfan | @Web pages | Fediverse Members