Details
-
SkillsC#, C++
-
LocationUkraine
-
Github
Joined devRant on 8/5/2017
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
-
It's weird to read this in 21th century.
-
3-8h (40-100%) depending on tasks. I am more productive with interesting tasks, especially big interesting ones. Last month I was concentrated 8 hours a day, so in the nearest future I'll be less productive.
I'm at the top of my career for now. Only manager and system architect are above, but I don't want to be either of them. So my main task is to make my team more effective without loosing quality. -
I prefer GUI (for me it's SmartGit). I had to use CLI for interactive rebase and as soon as GUI could do it on my setup I switched to GUI. It's better for me to use drag'n'drop than edit file.
-
My country had been developed and improved, partially because of good president and government, partially because of volunteers, until people who wasn't interested in politics, voted for a candidate who was incompetent and didn't respect own country. It's easy to lose hope in humanity when positive plans and achievements are ruined by people who actually don't care.
-
Why the getter method doesn't return data?
-
I think the best way to figure out what should be done is to read RFC because it provides complete description of OAuth2. When I needed such information I just read the RFC. Also, IdentityServer4 documentation contains some examples.
-
Yes I do. So I have to design features for others, consult other developers in my team, review all merge requests and time after time even rewrite or fix code produced by my teammates.
-
People just don't get FOSS is about ability to change or fix software by its users. If somebody wants a fix, they can ask for the fix, fix the bug themselves or hire somebody to fix the bug. Authors already did the most important thing: they opened sources and provided a free license.
-
5 years. First I learned basics of C++ (enough to get my job), then I read more books about C++ and STL, then I learned new standards. And after that I had to switch to C#. Otherwise I would still learn C++.
-
You can ask Steam support (I hope) or publish your game on GOG. Don't give up
-
Generics add complexity to code so they must be used where their advantages overwhelm disadvantages. Once I wrote a generic class with a lot of type parameters, and it might look horrible to others. But. It allowed to implement similar behavior in many places and it's much easier to use it than to create a new implementation or copy-paste code.
-
Over-engineered because it's usually extensible. Under-engineered code requires rewriting in some time.
-
Hello, welcome to devRant
-
That's why I don't like sharing my credit card numbers with shops
-
@Demolishun Why not GPL? Personally I prefer MIT, but why GPL stops you from contributing?
-
@irene Class name should be self-descriptive. If it's hard to create a good self-descriptive name documenting comments can be used. But if you need description why something is happening than there should be some article describing software architecture. Comments document some part of code but not why parts of code are used.
-
Self documenting code exists. With good naming, small methods and good structure it's easy to read and understand. But in some places it's nearly impossible to write self documenting code because of some optimizations or forced workarounds. In this case developers should write comments describing what they are doing and why they are doing. Otherwise it will be harder to figure out what's going on.
-
@linuxxx Price may matter though. Tom Ford perfume's flavor lasts more than a day on skin and at least 3 days on clothes. And its aroma is great.
-
@GiddyNaya So, what's wrong with Youtube Music?
-
I don't get why people don't like Youtube Music. It has dark theme, nice queue and plays music well. Its offline mode is pretty good, it always downloads music I'd like to listen and also a bit of music I may like. All you need to do is customize sound quality (by default it's medium) and disable likes from Youtube (new option). Hope the disabled likes doesn't mean they stop suggesting music based on likes from Youtube.
-
@Demolishun Placement new doesn't allocate memory but uses existing one.
-
@asgs No, they didn't shut down the service in all countries at the same time. In my country Google Play Music stopped working a few days ago.
-
Yeah, there is something like "Divine GitHub" with universe repos. And a lot of universes are forked there. It's hard to tell if our universe is original or forked, but at least it has a lot of stars.
-
@Lor-inc AutoMapper's ProjectTo allows to get only columns required for mapping. Since LINQ works with IQueryable<T> it's possible to add any conditions and includes dynamically, and with custom extension methods for LINQ such query may look pretty good.
-
@SortOfTested Though generated queries must be checked time after time the mentioned issue is irrelevant nowadays. EF Core 3 translates single LINQ query to a single SQL query: https://docs.microsoft.com/en-us/...
-
@Lor-inc I haven't dealt with really huge databases, but on my generated test database SQL generated by LINQ performed well. With million records and a lot of related entities it worked as fast as with less than a hundred records. Sure, I needed to add indexes, but in result it worked fine. On MS SQL Server Express. Tried the same setup on MS SQL Server enterprise and it worked faster, even without indexes.
-
@netikras In EF Core it's possible to execute SQL, but it's not allowed to get related data using JOIN. Anyway, raw SQL is the least preferred solution because LINQ is always checked by compiler and SQL is not
-
It's the broblem ignored by many developers. When you need to improve performance usually all you can do is add indexes to make generated queries faster
-
I think such activity is dangerous. "Master" can be replaced with any synonym, but it actually shouldn't, because it makes no sense. If the meaning isn't changed, why do we need to change master branch name? This change doesn't solve any problem, but it encourages creation of problems out of nothing. People start thinking in a binary way. No matter there are no slave branches, because one of meanings of word "master" relates to slavery. And just because of this single meaning people want to replace this word with "main". It's just activity for activity. They solved nonexistent problem and nobody knows what "problem" will be next.
-
SmartGit. I tried Sourcetree but didn't like it, so I decided to buy SmartGit.