oliverdavies.uk/content/node.2b55b7dd-2287-462d-a951-62603ce334bd.json
2025-05-11 20:02:14 +01:00

100 lines
No EOL
4.4 KiB
JSON

{
"uuid": [
{
"value": "2b55b7dd-2287-462d-a951-62603ce334bd"
}
],
"langcode": [
{
"value": "en"
}
],
"type": [
{
"target_id": "daily_email",
"target_type": "node_type",
"target_uuid": "8bde1f2f-eef9-4f2d-ae9c-96921f8193d7"
}
],
"revision_timestamp": [
{
"value": "2025-05-11T09:00:05+00:00"
}
],
"revision_uid": [
{
"target_type": "user",
"target_uuid": "b8966985-d4b2-42a7-a319-2e94ccfbb849"
}
],
"revision_log": [],
"status": [
{
"value": true
}
],
"uid": [
{
"target_type": "user",
"target_uuid": "b8966985-d4b2-42a7-a319-2e94ccfbb849"
}
],
"title": [
{
"value": "Why consistency and reproducibility are important"
}
],
"created": [
{
"value": "2024-11-12T00:00:00+00:00"
}
],
"changed": [
{
"value": "2025-05-11T09:00:05+00:00"
}
],
"promote": [
{
"value": false
}
],
"sticky": [
{
"value": false
}
],
"default_langcode": [
{
"value": true
}
],
"revision_translation_affected": [
{
"value": true
}
],
"path": [
{
"alias": "\/daily\/2024\/11\/12\/why-consistency-and-reproducibility-are-important",
"langcode": "en"
}
],
"body": [
{
"value": "\n <p>Have you worked on a project where different Developers are developing with different tools or have different versions of packages installed?<\/p>\n\n<p>In a development team, you want all environments to be consistent - including every Developer's local environment.<\/p>\n\n<p>You want to have every environment to be as close as possible to each other or, ideally, identical.<\/p>\n\n<p>You want everyone to use the same PHP version, the same web and database servers and the same packages installed.<\/p>\n\n<p>Once things start to diverge, bugs can be introduced - such as writing code locally in a newer version of PHP than what's on production.<\/p>\n\n<p>Ideally, you also want everything to be reproducible with locked dependencies and generate the same outcome regardless of when the commands are run.<\/p>\n\n<p>This is one of the main reasons I've <a href=\"https:\/\/www.oliverdavies.uk\/daily\/2024\/11\/11\/could-nix-and-devenv-replace-docker-compose\">started to use Nix and devenv for projects<\/a> - because they create environments that are both consistent and reproducible, reducing the chances of dependency mismatches and bugs creeping into my code.<\/p>\n\n ",
"format": "full_html",
"processed": "\n <p>Have you worked on a project where different Developers are developing with different tools or have different versions of packages installed?<\/p>\n\n<p>In a development team, you want all environments to be consistent - including every Developer's local environment.<\/p>\n\n<p>You want to have every environment to be as close as possible to each other or, ideally, identical.<\/p>\n\n<p>You want everyone to use the same PHP version, the same web and database servers and the same packages installed.<\/p>\n\n<p>Once things start to diverge, bugs can be introduced - such as writing code locally in a newer version of PHP than what's on production.<\/p>\n\n<p>Ideally, you also want everything to be reproducible with locked dependencies and generate the same outcome regardless of when the commands are run.<\/p>\n\n<p>This is one of the main reasons I've <a href=\"https:\/\/www.oliverdavies.uk\/daily\/2024\/11\/11\/could-nix-and-devenv-replace-docker-compose\">started to use Nix and devenv for projects<\/a> - because they create environments that are both consistent and reproducible, reducing the chances of dependency mismatches and bugs creeping into my code.<\/p>\n\n ",
"summary": null
}
],
"feeds_item": [
{
"imported": "2025-05-11T09:00:05+00:00",
"guid": null,
"hash": "c2e765d3c10eb420e55c4f3c307a115f",
"target_type": "feeds_feed",
"target_uuid": "90c85284-7ca8-4074-9178-97ff8384fe76"
}
]
}