Nextcloud is a really good all-in-one solution for self hosting data
More or less the same but the user gets passed as a method parameter each time. Validators would be in my opinion a long function inside the service also with named variables like this because it’s just easy to read and there are no surprises. I’d probably refactor it at around 5 conditions or 30 lines of validation logic.
I recommend trying out using the constructor in services for tools such as a database and methods for data such as user. It will be very easy to use everywhere and for many users and whatever
const passwordIsValid = ...
if (!passwordIsValid){
return whatever
}
I like the service but the constructor parameter is really bad and makes the methods less reusable
We might already have reached peak carbon emissions. There’s also the thing where renewables are so much cheaper that it’s in most countries best self interest to build renewables.
The thing the world is doing now is more energy but the cheapest one is electricity so more electricity. The duck curve is an energy storage opportunity that’s being taken advantage of more and more. Things are heading in the right direction but it’s not fast enough.
The next emissions on the chopping block are household heating and cement and low-med industrial heat with more advanced heat pumps or heat pumps set up in series.
I’ve decided to become cautiously optimistic recently the more I learn about how science is advancing the renewables despite governments sometimes being in the way.
They should fine them for not parking correctly. I’m also on the opinion that you should need an extra licence to drive something that big
I always thought of the “how” being better explained by the code itself where you can see string.replace(" ", "\ ")
as the actual fix while the message says the “why”.
I would still have “Fix a bug where strings containing whitespace break CSVExporter” as my go to message.
I guess our viewpoints are different based whether we want the commit messages to represent tasks or changes. They both have their uses of course. Looking at changes to a file to know what people have done to it is better with a “changes” type message but looking at the history to check “did we actually complete this or was it just marked as completed in the issue tracker?” is better with a task based message.
Task management where every issue is put on a ticket and tracked would my type of messages obsolete but at my current company theyre very useful.
That’s a tad bit difficult since Hezbollah military rivals that of the Lebanese government. This is pretty much an impossible request and him saying that he’s going to cause Lebanon “destruction and suffering”
I like good commit messages that use less words but still give the full picture. If something hacky was done then a comment is better. I like mine with imperative voice since it avoids writing a prose.
“Fix a bug where when doing x then y happens”
“Add setting to control x”
https://www.iea.org/countries/china/
Not a tanky or China apologist but it’s actually doing fine (not great but very well might be soon).
Here’s the information you’re looking for. China is doing a lot of things right and is ahead of schedule. They’re making good progress on electrification and their renewables are growing exponentially at an insane rate.
They’re still addicted to coal but with the developments in solar and wind and a very large geography and energy storage programs they’re going to be phased out and really fast in the coming years.
Given the fact that they’re pretty much producing everything for western economies and is recently industrialised China is actually doing fine. They emit a lot less per person than the average European while producing goods for 2x their population.
It might sound weird but China is one of the countries that’s actually taking climate change seriously.
I think Nix is the future. I feel like at some point we could have fedora ublue for all distros by using nix with GUI configs.
I use printer with a USB personally. No issues with that but I got an HP printer that is really weird with the network stuff
That’s a valid point, I’ll probably explain why I like it.
I don’t look up, I look down for the second and primary is eye height. I’m on Linux with KDE which has a nice 10px boundary before passing onto the next screen so I can snap all I want. I can also snap on my top bar which has the launcher, taskbar and stuff.
I can access my bar from both the top and the bottom which is nice and convenient. Here’s a picture of the insanity :)
The swappy bois are coming
Also lawful evil. Why is it better to have them next to each other?
This the exact same sentiment as people had in segregated US had towards activists.
Don’t know why you would jump to that conclusion straight away. Mín billable hours and time spent thinking on the problem is a thing. Taking regular 5m breaks (pomodoro technique) also helps with getting things done and so on and people should be paid for it.
I mean, you should technically stop the clock if the wife calls to ask if there’s pasta at home but nobody really cares.
Adding significant amount of hours to a report would not be ethical but adjusting 10% to get paid for time laying in bed thinking about problems is still ethical from my point of view. It’s way more value than most meetings.
Your cultural context way vary.
I want to take up his point. It’s much more like medieval serfdom than slavery. Such as:
Although serfs were bound to the land unlike US prisoners where they can be transferred from location to location.
YEAR OF THE LINUX DESKTOP