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
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
People may hate on SOAP but I’ve never had issues with setting up a SOAP client
I don’t mind xml as long as I don’t have to read or write it. The only real thing I hate about xml is that an array of one object can mistaken for a property of the parent instead of a list
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.
I think most tech companies are over valued, not gonna lie. In a hypothetical situation where you know all future dividends of the company the value of the share should be the sum of the future dividends discounted by number of years at an interest rate. If the company is never going to pay out dividends then it’s “real value” is zero.
“Real value” as in it has no value as a commodity like gold or a collectors item. Looking at you Tesla.
There is nothing preventing business from running without making a profit as long as they pay any expenses or bonds that are due.
The current tech setup depends on high stock valuations. They issue stock, sell it at a high rate and use that to pay expenses. The sale of stock does not count as net positive in revenue since they are effectively selling a part of their business to investors, making them “owe” their new shareholders equal the amount they gained from them.
As long as investors are interested and the business is growing it’s possible to keep this going for a long time and never pay taxes since they spent everything they gained.
If they are not able to pay their expenses they will have to file for bankruptcy like every other business, whether it’s restructuring bankruptcy, transfer of ownership of dissolution.
So why can’t small businesses do the same? They absolutely can, but the money they get from selling stock is nowhere close. These tech companies are sold sometimes at 20x the revenue where small businesses are likely going to get 20x profit or less.
Exactly, state elections with referendums on voting reform are absolutely crucial to move the needle.
There’s a major thing happening right now in the US where states are agreeing to pledge their vote to the winner of the popular vote as soon as the pledged electors get past 270 which is a big win in my opinion. It’s still doesn’t help with the two parties situation but any democratic improvement is a win.
Yeah, Democrats are way better at making legislation that benefits an average person. They’re also respect the parliamentary conventions and the democratic process.
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.