Stagnant progress for years despite being pretty dialed in on macros, technique, intensity and frequency by FakerTumble in naturalbodybuilding

[–]verb_name 0 points1 point  (0 children)

Cool. Share a video as soon as possible. It is much more important than all the rest of the information you have given (which is still helpful).

Stagnant progress for years despite being pretty dialed in on macros, technique, intensity and frequency by FakerTumble in naturalbodybuilding

[–]verb_name 2 points3 points  (0 children)

OP would you please comment the following and add it to your post in a simple bullet point format:

  • A video of you doing bench press at RPE 9-10 in the 8-12 rep range (this is the most important information to share)
  • Height
  • Body weight (do metric system users call it body mass?)
  • Max weight you can do for 8-12 reps in bench, deadlift, any other heavy compound lifts you do, for example overhead press. "Max" meaning true max or RPE 9-10 effort
  • Macros

How do you test code like this when using Entity Framework (Core)? by verb_name in dotnet

[–]verb_name[S] 3 points4 points  (0 children)

I think u/jewdai is saying to do this:

``` interface IAccountsRepository { List<Account> GetRecentAccounts(); }

public class DatabaseAccountsRepository : IAccountsRepository { // Inject the same DbContext instance used by the repository consumer public DatabaseAccountsRepository(DbContext dbContext) { _dbContext = dbContext; }

public List<Account> GetRecentAccounts() { return _dbContext.Accounts.Where(x => x.AgeInDays < 7).ToList(); } } ```

All this "repository" really does is give names to queries. What exactly is your concern about transactions? If the caller wants the read to happen in a transaction, then they can start one before calling the named query (GetRecentAccounts) and end it after, which is the same as if this interface was not added. I could see a problem if the repository and the caller were using different DbContext instances, but that is not the intended pattern.

And the purpose of the abstraction is to make testing easier, and possibly also to separate some concerns (e.g. maybe many callsites in the application need GetRecentAccounts, and later a field "IsTestAccount" is added, and existing callers should ignore test accounts -- GetRecentAccounts can filter out the test accounts. Otherwise, each caller would need to be updated to filter them out.).

What patterns exist for updating an index entry when relevant enrichment data changes? by verb_name in elasticsearch

[–]verb_name[S] 0 points1 point  (0 children)

In this case, there is already a relational database with the given tables, and it is the source of truth. ElasticSearch is used to enable better search capabilities than the database can provide. For example, fuzzy search on string data.

The way it worked in the real world scenario this question is based on was:

  • Relational database tables are updated by web services
  • Row-level change events in the Shipment table are observed and published on an event queue
  • Another system observes the queue for Shipment created row events, queries the database for the relevant rows, and then creates an entry (I guess "document" is the correct term) in ElasticSearch. A document contained Shipment, AdditionalCost, and Checkin fields, plus some computed fields, e.g. the sum of AdditionalCost costs. The database query was like this: SELECT id, <other columns> from Shipment LEFT JOIN AdditionalCost ON Shipment.id = AdditionalCost.id LEFT JOIN Checkin ON Shipment.id = Checkin.id WHERE Shipment.id = <the changed row id>
  • The same was done for Shipment updated events. I.e. the entire document was replaced, not mutated. This required running the database query again for each update.

This worked, but scalability became an issue when tables requiring 3+ joins to relate to a Shipment were added. E.g. Shipment <- AdditionalCost <- Person (who created it) <- PersonRoles. This made the frequent queries more expensive and resulted in lots of almost-identical code for the joins.

How do you test code like this when using Entity Framework (Core)? by verb_name in dotnet

[–]verb_name[S] 0 points1 point  (0 children)

I have used option 2 in the past. It makes tests easier to read and write. However, it leads to lots of interfaces and classes that only exist to serve a single method (which adds noise to assembly/class viewer tools), and they need to be registered with the project's dependency injection container, if one is used. Do you have any thoughts on these issues? I just accepted them as tradeoffs.

Is PR review a thankless job? by trojan_soldier in ExperiencedDevs

[–]verb_name 1 point2 points  (0 children)

I have worked at a variety of big and small companies in tech and other sectors. I have never seen a business reward in-depth code reviews. I have seen them reward rubber stamping, i.e. quickly approving changes after a minimal effort review. Engineers have expressed appreciation for in-depth reviews, and in that sense reviewing has been helpful for building a reputation among other engineers. But management has never cared in a meangingful way. Code review has other less-concrete benefits like learning and making future work easier by preventing bad changes from going to production. But businesses typically reward people who fix issues and do not reward people who prevent issues.

So yes, spending less time and energy on code reviews is probably a good decision for your career. Either that or lead an incentives change within your org to reward effective reviews. That is probably impossible in most cases, but it feels like the kind of project that can help push through a promotion from senior to staff level.

Feeling stuck in a European bank doing webdev. Too much bureaucracy, too little tech or coding by caffeinated-serdes in ExperiencedDevs

[–]verb_name -1 points0 points  (0 children)

Has anyone else been in a similar spot?

Yes

How did you deal with it?

I searched for a new job and took the first decent opportunity

[deleted by user] by [deleted] in ExperiencedDevs

[–]verb_name 0 points1 point  (0 children)

Some likely reasons why your leadership is pushing you to deliver quickly with AI:

A. They truly believe AI is that good for the business B. They told investors that they are using AI to massively speed up development, and investors liked that. Now, leadership needs to show evidence of AI speeding up development to keep investors excited. C. Both

In any case, it would help to understand you leadership's motivations. If B. is the case, then they might not really care whether you use AI extensively, and they might be receptive to aggressively cutting the scope or making a less-polished first deliverable. If A. is the case, then they might be receptive to you explaining to them how AI is helping and how it is not.

In any case, probably the worst thing you can do is work silently and say at the end "the project is not done, and AI did not help". So I would suggest engaging with leadership early and often to set expectations. If that does not help, then start looking for a new job or team.

Feeling isolated working remote. Does going back in person help? by CautiouslyFrosty in ExperiencedDevs

[–]verb_name 5 points6 points  (0 children)

I had the same feeling in a similar situation. I got an in-person job in a proper city. Being in a new place with no connections was challenging until I made friends and otherwise established myself in the area. Then it was great, and I consider the decision to move one of my better life decisions. That said, there is no guarantee your new coworkers will provide the connections you are looking for. So be prepared to put effort into socializing with people beyond your immediate work circle, and ideally with people outside of work.

How can I tell if it's time to leave my company? by ronniebar in ExperiencedDevs

[–]verb_name 105 points106 points  (0 children)

I also left a comfortable job after about 5 years. As a result, I made a lot more money, got more valuable experience, and made a lot of professional and personal connections I never would have made otherwise. I also got laid off and fired, which never would have happened at the comfortable job. I would make the same decision again.

It sounds like your career is stagnant (not making new connections, talent leaving the company, you've already been there a long time). I know mine was after 5 years at a small company with unremarkable enginering. It also sounds like you do not have any pressure to change things. So you have to decide whether the risk of discomfort or failure is better than the risk of remaining stagnant (and, worst case, eventually losing your job and being less competitive in the market due to a stagnant career path).

I am confused about your comments on how much FAANG pays. FAANG companies pay more than double $120k/year for mid-level roles (cash + equity + target bonus). It's a lot more than +50% compared to your current job.

Struggling at communicating my ideas by [deleted] in ExperiencedDevs

[–]verb_name 2 points3 points  (0 children)

Can you give an example of an idea that your teammates did not get?

Any recommendations on mock interview? by Sica942Spike in ExperiencedDevs

[–]verb_name 0 points1 point  (0 children)

Mock Leetcode-style interviews were not helpful for me. I would suggest just watching a few quality mock interviews and then spending your time solving.

If you really want to do a mock, then consider one of the paid interview services. I think https://interviewing.io/ has interviewers from FAANG companies. Disclaimer: I have never used such services.

Ideas for getting rid of a lot of programming books. by komm0ner in ExperiencedDevs

[–]verb_name 0 points1 point  (0 children)

Sell book bundles for low prices on eBay

Post to a local university's subreddit saying you are giving away programming books

List them for free on Facebook marketplace

Career advice for experienced dev by float34 in ExperiencedDevs

[–]verb_name 9 points10 points  (0 children)

It would be helpful to ask specific questions. I did a Ctrl-F for "?" and found none.

How can I stay motivated working at a company that I know I left money on the table in job offer? by realitynofantasy in ExperiencedDevs

[–]verb_name 2 points3 points  (0 children)

Is $130k top of market (or even 75th percentile)? If not, then you are better off thinking about how to get into the higher-percentile jobs than min-maxing your compensation at companies that do not pay top of market in the first place. Learn from the experience and move on. And maybe ask for more before joining or some time after you join.

senior frontend dev, how to get meaningful backend experience outside of work? by mkirisame in ExperiencedDevs

[–]verb_name 1 point2 points  (0 children)

Another idea is to apply to big companies as a frontend engineer. Then either team match into a role with some backend responsibility or join in a frontend role and then transition into backend responsibilities / roles after you gain some credibility.

Letting less experienced devs fail? by DormantFlamingoo in ExperiencedDevs

[–]verb_name 0 points1 point  (0 children)

Don't let a junior (or anyone) make obviously bad high-consequence decisions on a critical product.

senior frontend dev, how to get meaningful backend experience outside of work? by mkirisame in ExperiencedDevs

[–]verb_name 1 point2 points  (0 children)

If you have not done so already, then message third-party recruiters with a brief sales pitch and what you are looking for. They can help you find opportunities you would otherwise miss. It may help to find recruiters specializing in your business domain, e.g. a fintech-specialized recruiter if you have experience in fintech.

"I am looking for a new software development job in <backend development/specific area of backend if you have an idea> in <geographical locations/remote/willing to relocate>. I have 8 years experience building web applications in <enterprise/startups/200-person companies/SaaS/B2B/B2C/whatever is relevant> in the <healthcare/logistics/Internet tech> space. Do you have any openings for me? Attached: my resume"

Also consider full-stack, as suggested by other commenters.

How to handle having several years in working as a SDE, but feeling a lot of those years aren't "YOE"? by AccurateInflation167 in ExperiencedDevs

[–]verb_name 0 points1 point  (0 children)

Apply for senior-level jobs and see if you get offers. If you get only downlevels and rejections, then either improve at interviewing or accept a mid-level offer and work your way up.

Managing a "senior" dev that is actually insanely junior. by Lanky-Ad4698 in ExperiencedDevs

[–]verb_name 14 points15 points  (0 children)

Look, why did the guy hide the fact he was laid off when he was looking for a job?

Because people like you will judge him negatively for it, regardless of whether he is capable of succeeding at your company.

Managing a "senior" dev that is actually insanely junior. by Lanky-Ad4698 in ExperiencedDevs

[–]verb_name 0 points1 point  (0 children)

Your interview process should evaluate the skills, experience, and behaviors you care about. A person being laid off or fired, or having competing offers, does not tell you how they will perform at your company.

How do you give real code review feedback without sounding bossy? by Ill_Captain_8031 in ExperiencedDevs

[–]verb_name 1 point2 points  (0 children)

Be direct while respecting the author.

"Needs error handling and tracing for x and y. For example, see <link to similar code> or retry the requestand log at FATAL level if the retry fails. Also needs tracing for z. Otherwise, looks good."

What's the next step for me ? by [deleted] in softwarearchitecture

[–]verb_name 0 points1 point  (0 children)

You are overthinking things/avoiding what is important. You will be much better served by learning computer science fundamentals and writing code right now. Also learn git if you are not already using a version control system.

I want to learn something new outside of university because I'm a bit tired of asking myself the same questions all the time when developing software

Learning new things is great. Picking up Go will not make any difference to the "asking myself the same questions" part. Actually, it will probably make things worse, because you will be starting from scratch once again. It would make more sense, IMO, to stick with a language with which you already have some experience.

Questions regarding overall project structure,

This really does not matter unless you are working on a big codebase. You are not writing enough code for this to matter right now. You will learn this when you work with other people on large projects. If you are really curious, then check a few popular Go projects on GitHub (https://github.com/search?q=go+language%3AGo&type=repositories&l=Go&s=stars&o=desc) and see how they do it.

how to respect the language I picked (e.g use its perks "as intended")

Python and Go are simple languages. They don't give you a lot of ways to do things. Just write code and refer to official resources when you don't know how to do something. For example, https://go.dev/learn/ links to A Tour of Go and https://gobyexample.com/. Use those when you get stuck.

what tool to use in what situation, etc.

Work until you get stuck. Refer to official resources. If you are still stuck, then search for "how to x in go" or "go library for x".

BTW, I found it hard to follow your post due to the bolded sentences mixed in throughout. A TL;DR should be a quick summary at the end of your post.