https://github.com/NixOS/nixpkgs/blob/24903b5de2e07cc7b65eae...
242 karma · joined July 23, 2015
https://github.com/NixOS/nixpkgs/blob/24903b5de2e07cc7b65eae...
PHP did not get nullable types until 7.1 [0]. Function arguments (only) supported it in PHP 5 with the syntax `function(stdClass $arg = null)` but I would hardly call that nullable type support.
[0]: https://www.php.net/manual/en/migration71.new-features.php
> Radiation hormesis is the hypothesis that low doses of ionizing radiation (within the region of and just above natural background levels) are beneficial, stimulating the activation of repair mechanisms that protect against disease, that are not activated in absence of ionizing radiation.
Or, more likely, people don't want to say the whole title because it's too long. Weebs being weebs are going to prefer the Japanese abbreviation sometimes.
Is there a version of Hanlon's Razor that goes "Don't attribute to malice what can be attributed to convenience?"
That... sounds awful for performance. Is that a real thing?
Is AGPL or one of those new licenses like the BSL not sufficient to prevent this sort of thing?
You can supply a particular package version to most services e.g. `services.nginx.package`.
Or if you need to vendor a service, you can copy it into your local repo and use `disabledModules` to prevent the loading of the original.
I haven't used them yet, but I think flakes will make this a lot easier, if my understanding of them is correct.
> The Atomic Energy Commission (AEC) established the Plowshare Program in June 1957 to explore the peaceful uses of nuclear energy. The program took its name from the Bible (Isaiah 2:4), "they will beat their swords into plowshares."
https://st.llnl.gov/news/look-back/plowshare-program
Strangely, Wikipedia makes no mention of the source of the name.
Not OP, but perhaps every library is a bit of an overstatement. But, as most PHP code was historically written under the assumption that blocking is fine, potentially any library you use could inadvertently block your event loop.
I believe you can have fpm listen on TCP and run nginx in another container if you want, although I haven't tried it so I can't vouch for it.
Except then I'd have to learn Haskell or OCaml :) As a curly-bracket language programmer, Rust was much easier for me to get into and feels more like home.
Yeah, I'm sympathetic to some of the anti-systemd stuff, but I've found writing systemd units so much easier and more reliable than upstart or sysv init scripts. And sd_notify is great.
[0]: https://hhvm.com/blog/2018/09/12/end-of-php-support-future-o...
You absolutely can build docker images using Nix via dockerTools.buildImage [0].
[0]: https://nix.dev/tutorials/building-and-running-docker-images
[0]: https://en.wiktionary.org/wiki/%E5%85%AB%E7%99%BE%E4%B8%87
Well, you can disable sandboxing if you want, although it's not recommended. This lets you run a package manager that requires networking in a derivation.
This is not an issue with nix as nix has the ability to build the entire system from source forever in a single command.
I believe flakes will make this a lot easier, but it's not quite here yet.