zenolijo
Joined 13 years ago
Joined 13 years ago
On the other hand, if it's less important code or the renaming is not clearly an improvement it can be quite useless. But I've met some developers who has the opinion of reviews as pointless and just say "this works, just approve it already" which can be very frustrating when it's a codebase with a lot of collaboration.
Currently only do that on one of my older devices, would love to do it on my main device but when I bought it I was in a hurry to get it going and did not have time to unlock the bootloader. Unlocking the bootloader now means having to factory default the device but I simply have too much important stuff set up that it's not worth it. Apparently there's also no great way to backup all partitions of the Android device which I find to be quite strange.
If there's an old question the most upvoted answer will be at the top. Better solutions are often available if the previous answer was 10 years ago, but they will be buried.
Solution is obviously to scroll down as well as read the comments, but that can be time consuming.
I've also found G_LIKELY and G_UNLIKELY in glib to be useful when writing some types of performance-critical code. Would be a fun experiment to compare the assembly when using it and not using it.
Like what?
A few years ago I copied the wlroots example, simplified it to less than 1000 LoC and then did some of my own modifications and additions like workspaces. And this side-project was done in less than a week on my spare time.
You are right that not all devices don't work perfectly, but the Bluetooth headsets, Bluetooth mouses, conference rooms etc. that the company supports are tested for compatibility before being bought by our IT department.
China have ambitious plans to carbon neutral by 2050 and the US had plans to... ok maybe the US is a bit stuck for the moment but it seems like at least some states seem to care.
What's important is that people show that investing in environmental-friendly companies is worthwhile. Right now that is not usually the case unless there's some kind of state/government incentive. And no, incentives are not bad since the option of polluting also has a cost, the only difference is that the cost of polluting is a long-term loan that it growing and is already hard to pay off.
Even if a professional can fix it, that expertise to be able to use those tools worth "a few thousand dollars" costs a lot too, likely pushing the price high enough that its worth thinking about buying a new device instead.
While the battery might be the only thing with a fixed lifetime, other components often also break. I was unlucky and owned a ThinkPad with one soldered on RAM module and one socketed slot to be able to upgrade the RAM, but that didn't help the day that the soldered on RAM died on me.