18 karma · joined Sep 1, 2019 (7y ago) · 19 submissions
comment 6y ago · link · parent
This is just about salting the right ham type and letting it dry at the right conditions. Not exactly rocket science.
comment 6y ago · link · parent
There are less allocations involved (perf and points of failure), values can be inserted on different lists without new allocations, deletion is O(1), elements can be heterogeneous (different sizes and types), etc
etc
I seldomly use linked lists, but most of the time i prefer them to be intrusive. There of course are intrusive list implementations on C++.
comment 6y ago · link · parent
https://archive.attn.com/stories/13637/hidden-environmental-...
comment 6y ago · link · parent
The degree of overconsumism rooted in our system is hardly environmentally friendly. Yet we want to be environmentally friendly by consuming a new generation of Co2 friendly products, which polluted the planet to be manufactured.
Consuming is the problem, not the solution, but who is going to say in a capitalist system backed by fiat money that is only sustainable by an ever increasing debt that we need to have negative growth and lose some comfort to decrease our footprint?
comment 6y ago · link · parent
And then the metadata is also funny, e.g. do_patch[depends] = "whatever:do_populate...". Variables are not just variables, they can contain metadata, sometimes important.
It feels like there are usage patterns, good practices and something more beautiful wanting to get out, but this is a domain where making a better build tool would break tons of recipes, so it feels like everytime they got a problem they added a quickfix and got forward without looking back.
The steep learning curve most of the time is unneeded, you are frenquently doing trivial to simple taks and hit one problem that gets you blocked for a while for things that you are easily able to do outside Yocto.
It is a shame that the good work they do is spoiled by the horrible "interface".
comment 7y ago · link · parent
The company policy is to not allow internet on machines connected to the company network. They say that it is very typical on China for companies to try to atract workers from the competition, and these take with them not only know-how, but internal files from the company they leave too. Hence the firewalling.
It's ridiculous because I'm speaking of consumer electronics, not the military. The team morale is super low because they are fighting against the environment, not the problem they want to solve.
Maybe they only want to crash the western subsidiary and get the prestigious brand name(?). Anyways it seems that they are getting a taste of their own medicine.
comment 7y ago · link · parent
If health is the goal, e.g. a 20 minutes change each two months seems much easier to adapt to.
comment 7y ago · link · parent
https://github.com/RafaGago/mini-async-log
https://github.com/RafaGago/mini-async-log-c
I wrote both some time ago and AFAIK they were the fastest, how does nanolog compare against them?
At least before the source file preprocessor Nanolog was slower.
Here I had a benchmark project with Nanolog on an old version, maybe you can PR an update: