Nextcloud is a really good all-in-one solution for self hosting data
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.
Oh shit, didn’t know that. Do you have the medical term for it so I can look it up?
There is an argument for standing to pee since it empties the urethra more completely compared to sitting to pee. This is mostly relevant for 40+ people since they are more likely to have any issues.
Simple trick to shit/sit and pee and still empty everything is to push on the area between dick and butthole.
I like stories of babies if they’re not complaints. Vacation I basically think of it as ideas for my next vacation where you can ask stuff like “how was public transport?” or whatever
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.
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”
I would believe it if someone told me that an individual rod or cone in the eye was 24fps but they’re most likely not synched up
Come to v18, things are nice here.
You don’t hate linux, you hate the community. Linux is just a piece of software
SS7 protocol for 2G and 3G is vulnerable to man in the middle attack, easy to spy on people with. They use a walled garden approach al the primary defence mechanism and you can gain access through in for the low low price of couple of thousands of USD.
Couple of exploits are intercepting or monitoring calls and texts and triangulating position by checking what cell towers are in range.
I think crypto has a lot of potential in this space. You can effectively have a wallet with cash that requires 2 factor auth to make the transaction that is anonymous in both directions.
Yeah, it has it’s perks but my NFC stops working on a regular basis. Also I don’t like having my payments go through a spyware conglomerate.
As a sidenote here I have a different issue where handing people your CC info is basically handing out the private keys to your bank account to a third party.
I’d really like it if a credit card would use a public key system where you can verify that I have the funds and that the payment originates from the payment provider instead of getting my full CC details. I don’t really see why it’s necessary for a business to know who I am instead of just getting a green light from Mastercard or Visa to make the payment.
KDE Neon is not a puzzle since there is no solution
Best is when the API doesn’t match a PDF and says “500: Internal Error”
I like the concept and I think the use case is almost covered by generating API client through generated OpenAPI spec.
It’s needs a bit of setup but a client library can be built whenever a backend server is built.
You can look up some exit polls but they might also not be fully accurate but give a good picture of what’ll happen. The only accurate way to get the result is to wait for the electoral committee to cunt the vote, especially in an election this tiiiiiiigtt.