I need VIM mode on my text editor.
I need VIM mode on my text editor.
Nextcloud is a really good all-in-one solution for self hosting data
Sometimes you don’t have to solve it but instead ask them about what approaches they tried so far and suggest a new one. Just showing interest
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
Don’t know why - Norah Jones
He does, it’s Allan
Niche sport that’s very hard to become pro in
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”
Here are a couple that I didn’t see mentioned here.
I just finished Good Omens also, it’s great but the first episode is not because it’s all setup. It’s a Terry Pratchett story that I think I’ll recommend that one for a long time.
Come to v18, things are nice here.
Whaaaaa, that’s crazy! Thanks for the explanation
US supports Israel to a ridiculous deglee, rest of the world say they’re a war crime. Only two countries in the UN voted to make food not a human right, guess which.
If they’re not a country you’d have to say that Somalia, Ethiopia, Sudan, Myanmar, Yemen and so on are also not coutcries. Country is a country if it’s internationally recognized as a country which is why Somaliland and Western Sahara are generally not considered countries but Lebanon is.
Just because a country doesn’t think another is not does not justify an invasion.
That theory is very outdated. People found out that telemeres are important but not the main driver of aging. A lot of research is Nov going on with senescent cells and epigenetics which looks more promising.
Tons of drug tests on children to know the exact effect they have on development. Also anti-aging research to see how much you can potentially slow down aging and how the self repair mechanism of children works with respect to aging. The results could really give us a great insight into aging well and being healthy later in life.
To clarify, I don’t want to see them done, performed, do them myself or anything adjacent because they’re deeply wrong and dangerous.
Jetbrains vim mode gets pretty close. My current issues with it are that I can’t use the ctrl+o navigation to go back to previous location when using something like “Go to implementation” and import auto import is going to be the thing that’s loaded in to the “.” repeat action.
I’ve tried basic vim and IDE setup vim but Rider has to many nice things like checking inline SQL strings against a database when programming C# and that sounds like a can of worms to set up. I tried Lunarvim and it was really good but Rider just has a better debug mode experience.
It may sound weird but I don’t feel like maintaining my vim for couple of hours here just to have all the features of my current IDE. I still use Lunarvim on smaller projects or to edit some text and whatnot but for work I really prefer my IDE and all the bells and whistles that come with it. For example I have Ctrl+. to search for an action “history”+enter shows the git history of the current file. There are tons of these nice things.