143 karma · joined May 29, 2016 (10y ago) · 69 submissions
comment 5y ago · link · parent
For me, one of the most important features of a configuration language is the ability to directly refer to other values of the configuration, and more importantly, in the case of a configuration split in separate modules, to refer to values that could be provided by the other modules.
Essentially, this means that the final configuration should be the fixed point of a function, that the user would provide the configuration as a definition of this function (or in the case of multiple modules, as multiple definitions that would be merged using function composition), and that the evaluator would be able to determine the fixed point of this function.
I feel like this kind of configuration (used notably in NixOS) provides a lot of what's missing in traditional configuration languages, makes it easier to compose configuration modules, without requiring to write the configuration in a Turing-complete language.
comment 5y ago · link · parent
Note that is just a parallel with colored functions, the "colored" word does not mean the same thing here (the meaning of "colored" in graph theory has little to do with the one used in programming).
Nonetheless, if I think that using this word is upsetting to some group of persons, whether I understand their reaction or not, I try to avoid using it. On the Internet it's difficult, because we're addressing ourselves to a very large potential audience.
comment 5y ago · link · parent
I hope this is good news for the Blender Development Fund, but I'm scared of the possible consequences. I suppose we may end up seeing Blender Cloud offering remote renders using AWS's infrastructure, which is good news unless it means tying the rendering engines to Amazon tech.
For context, here is a brief overview of the 2019 financial report of the Blender foundation :
- 33% of income (316 k€) from individual sponsors
- 28% of income (267 k€) from EPIC Games
- 27% of income (257 k€) from other corporate sponsors
- highest salary: 58.4 k€
- lowest salary: 32.5 k€ (55% of highest)
- 43% of expenses (416 k€) were salaries
I really like Blender, and seeing it thrive in the last years has brought me immense pleasure. I hope that I have the chance to work with Blender again, and benefit from the recent improvements.
Congratulations to the Blender Development Fund for this new sponsor, which I hope will bring value to the project.
comment 5y ago · link · parent
Now the teeth are completely decayed, I've started to feel severe pain, and since I've developed severe thrombopenia (<20 G/L), I can't get them extracted easily (couldn't find any dentist willing to take that risk), so since six months, I have to take anti inflammatory drugs for the pain and antiobiotics to limit the infections, as well as the folic acid and corticosteroids needed for ITP, and I have no idea when will this end.
It's very difficult to differentiate important advice from "easy money" advices, especially when this advice stems for a principle of precaution. Most peoples don't develop severe ITP, but if they do, getting wisdom teeth removed before they can cause problems can be very important.
comment 6y ago · link · parent
comment 6y ago · link · parent
The issue of integrating with other language ecosystems is indeed very problematic (and it's a very hard problem), especially with regards to the chain of trust (by the way, it's not completely broken, you can still read the original package hash in the derivation, and evaluate this derivation to get the Nix derivation hash), and with regards to the fact that including all of the packages of every ecosystem in `nixpkgs` is not doable.
There is also the (related) problem that evaluating a configuration implies evaluating `nixpkgs` itself, which requires a good amount of available memory, and this can only get worse as `nixpkgs` grows.
comment 6y ago · link · parent
I think this idea is not specific to Nix, and I wish it was used a lot more in configuration languages. For example, it was something I really missed when using Ansible. The lack of this feature means that writing the inventory is much harder than it needs to be, and I've seen horrible hacks that try to get around this.
comment 6y ago · link · parent
The same games run fine on a Debian 10 host, all of the libraries the link to are bit-identical to the ones in the LXD container, and I've even tried running the exact same kernel.
I'm lost here, as I feel like I've made everything match (at least in the LXD container): the kernel is bit-identical, the games are bit-identical, the libraries they link to are bit-identical. There must be something I'm missing.
comment 6y ago · link · parent
I really like that I can still use HN on this phone, but it's more and more frequent that I cannot open the links themselves.
comment 6y ago · link · parent
I also cannot begin to understand how can a <body> tag's class definition can take 4400 bytes. In what kind of situation do we need to apply 146 CSS classes to the <body> tag ?
comment 7y ago · link · parent
comment 7y ago · link · parent
EDIT: Well, it's supposed to be opt-in, but apparently Intel has been sneaking it on user computers without their approval, which suggests that the checkbox used to install it from the driver assistant might be checked by default... so not opt-in.
comment 7y ago · link · parent
There is also a simple security implication, since you now have the possibility to over-allocate your physical memory, and suffer great consequences if many pages are unshared at the same time. Merged pages can be swapped out, but since they need to be scanned again when they are swapped in, BEFORE being merged, there is a great potential for memory pressure spikes in some configurations.
comment 7y ago · link · parent
I think most of them cling to the idea of a computer that doesn't need any kind of maintenance (except on the hardware side), which is something I can totally understand, but is not currently doable, at least if you want to keep connected to the rest of the world.
(Of course, we do tell them that if they want their computer to be connected to the outside world in any way, updates should not be disabled, and that maintenance is necessary).
comment 7y ago · link · parent