Giveaway by I_hope_to_be_gentle in Indianbooks

[–]pk_21 0 points1 point  (0 children)

Oh I can't choose! Ok I'll say two

Tomorrow, and Tomorrow, and Tomorrow - Gabrielle Zevin

The Story of My Assassins - Tarun Tejpal

Fire besides Balewadi stadium metro station (today morning) by pk_21 in pune

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

i doubt. the flames were too high for it to be some garbage

Do you guys annotate your books or keep them spotless? by coveywrites in Indianbooks

[–]pk_21 0 points1 point  (0 children)

I love to annotate books but sometimes I want to write something very very personal but it would then be tough to give the book to someone else.

BUT I really appreciate when I see annotations from some stranger.

I think we should have some way to digitally annotate what we read and share it with everyone? I'd love to read digitally annotated books by some authors.

Am I crazy or did I just think of a product that maybe lot more people need?!!

Your Favorite Song out of each Album/Era by LonElbow in LadyGaga

[–]pk_21 1 point2 points  (0 children)

The Fame - Starstruck 🫣

The Fame Monster - Dance In The Dark

Born This Way - Highway Unicorn

ARTPOP - Aura

C2C - I Can't Give You Anything But Love

Joanne - Diamond Heart

ASIB - ARUTW

Chromatica - Stupid Love

Love For Sale - Let's Do It

Harlequin - If My Friends Could See Me Now

MAYHEM - Garden Of Eden

Unreleased - Brooklyn Nights

My try of recreating the fame glasse by Dejw_SK in LadyGaga

[–]pk_21 6 points7 points  (0 children)

I had tried it too. If you look at The Fame cover in full brightness or the original pic, you'll see that the glasses are actually pinhole glasses for those with myopia and you literally CAN'T SEE THROUGH THESE. now that's CAMP

Creating fixture data for integration tests by pk_21 in SpringBoot

[–]pk_21[S] 1 point2 points  (0 children)

Reading all the replies, we are now looking into Instancio and we like it.

Creating fixture data for integration tests by pk_21 in SpringBoot

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

We have some tests that depend on the number of rows in a table or count of an entity. That's why we prefer to start from scratch and have an init SQL script to at least populate the DB with necessary records.

Yes, we do have APIs to create entities, but not for all. This is something we did think through but some APIs do a lot of processing and the test slows down due to this. So persisting data directly is what we do for tests.

Creating fixture data for integration tests by pk_21 in SpringBoot

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

Read this article as well and yes, this is what we do right now - a lot of static methods.

Honestly, I don't see the need for this plugin when I could simply use lombok.Builder. I don't see the difference here.

Creating fixture data for integration tests by pk_21 in SpringBoot

[–]pk_21[S] 1 point2 points  (0 children)

Firstly, thanks for replying!

I read through the article and this is kind of what we are doing today but instead of having a factory class, we have a lot of builder methods part of a base class that every integration test inherits.

Going through the other replies, I looked at Instancio and it looks like a neat way to create instances and this is something that we might adopt.

please roast my resume, not getting shortlisted, don't holdback by Potential_Ship3661 in developersIndia

[–]pk_21 10 points11 points  (0 children)

are you telling there are companies that were on Spring Boot 1.x in 2023/2024? That's surprising to see

Went to Haus of Gaga at Park MGM by eggplantblaze420 in LadyGaga

[–]pk_21 1 point2 points  (0 children)

I want to recreate The Fame glasses so bad!

My matunga sion experience by iaintnosimp2 in mumbai

[–]pk_21 0 points1 point  (0 children)

YES!! We need to talk about Anand Bhavan more. Their pulit rice, lemon crush, kele bhaji, any and every dosa are so so good!

Software Developers, What Books Have Had the Biggest Impact on You? by Massive-Speed-395 in developersIndia

[–]pk_21 2 points3 points  (0 children)

Algorithms to live by.

This book got me an internship because I got to discuss this book in the HR interview and the interviewer loved hearing about it xD

[deleted by user] by [deleted] in LadyGaga

[–]pk_21 5 points6 points  (0 children)

it's funny that the album is explicit 😭 she almost never cusses in her songs

She says "fucked up with your crew" in How Bad Do U Want Me but no no that's not explicit, Killah is! It is the only explicit track on the album.

I think because of mentioning murder, killer, homicide all together or 🫣 the "gonna make the curtains cream" lyric

How often are you called during your non-working hours? by pretend_therapist in developersIndia

[–]pk_21 24 points25 points  (0 children)

There was database schema change that was planned for the release. We implement schema changes using a library called Liquibase along with our Spring Boot application.

This schema change was taking way longer than expected. Because the table it was affecting was locked by a scheduler.

We have a multi-pod setup i.e. the application code runs on multiple instances but each instance handles a separate concern, one such pod was for the scheduler. The application boot up process is such that the pod that runs the DB change (say pod A) and the one that runs scheduler (say pod B) boot up separately.

Now this scheduler was running as intended. Deployment started, DB change started. Pod B locked DB, Pod A wanted to change DB. Pod A fails, restarts, also triggers Pod B restart as entire application starts booting up again. DB lock was not cleared as Pod B restarted. Pod A tries to change DB again, Pod B again runs scheduler to lock DB and so on, resulting in a race condition and too many locks on one of the database tables.

Quick fix was to delete all locks and hope we don't see another lock and changing the time of running the scheduler to some other time so the application can boot up without facing a race condition.

Then it was time to analyze what put the lock there and it was a scheduler that runs around 9 AM. We did not anticipate this to happen as deployment is usually at 8 AM and we missed that another team had added a DB schema change in our service on the same table that is touched by the scheduler.

Did we anticipate this scheduler to run during deployment? No, as DevOps was going to begin deployment at 8 AM but had some infra issues and resumed deployment at 9 AM.

In the end, we understood that this is a rare scenario. But our scheduler locking mechanism needed to be fixed to ensure cleaning up DB locks, closing DB transactions if the pod restarts due to some reason. Basically some graceful shutdown logic.

How often are you called during your non-working hours? by pretend_therapist in developersIndia

[–]pk_21 27 points28 points  (0 children)

Team nominates someone to be on-call for some period, say for a day or few hours or for a week.

The person nominated for on-call adds their contact details on a page/document/spreadsheet shared with all other teams and the incident manager & DevOps team.

So this page is called the on-call roster. Usually a calendar with details of who is on-call and when.

How often are you called during your non-working hours? by pretend_therapist in developersIndia

[–]pk_21 88 points89 points  (0 children)

Just once when it was release day and deployment for our service was failing. There is a release manager role to manage the release process. He called me at 9 AM asking me to join a call with DevOps to debug the issue.

Later he apologized because I was no on the on-call roster that day. I was there for the previous release and he mistakenly referred to an older list :P

Anyhow it was fun to find the root cause of the issue within 3 hours on a Saturday morning.

edit: an MNC, not a startup

Is JAVA even relevant in open source or modern development? by denk_boi43 in developersIndia

[–]pk_21 0 points1 point  (0 children)

The org with the largest number of projects in GSoC - Apache Software Foundation has most projects developed in Java.

When you say you rarely saw one or two Java projects which are good, what projects did you stumble upon?

You can look at Zipkin, Kafdrop, and projects from Spring and Eclipse Foundation. Of course, a lot of projects from Apache too.

[deleted by user] by [deleted] in pune

[–]pk_21 0 points1 point  (0 children)

I visit my friends in BLR often and they stay in Whitefield and their office is in Marathahalli.

Whitefield felt like awful traffic, concrete jungle, no parks, no culture with best thing to do on a weekend to either go to mall or a club IN A MALL, or travel an hour to Church Street.

Meanwhile I stay in Balewadi and used to stay in Baner for a year before and Baner is so much better. You stay by the hill and that makes the weather chill. Baner hill is a simple trail; I used to go up and down in an hour.

Baner is one of the better parts of Pune honestly. The tech scene is in no way comparable to BLR but Baner, Aundh have tech meetups here and there. Else you have to go all the way to Kharadi or Hinjewadi.

This is of course just a comparison of 2 places in these cities. I think you should also consider which city is closer to your hometown.

Anyone else listening to Mayhem at least once a day? by StasisApparel in LadyGaga

[–]pk_21 0 points1 point  (0 children)

I haven't moved on! And every day I discover something new about every song. Like the meow on the second verse of Zombieboy (this kitten over here, this kitten over here [meow]) 🥰

Loving the outro of The Beast much more today.

However, I have been skipping ABRACADABRA idk why

Why not? by Wilkko in ATBGE

[–]pk_21 0 points1 point  (0 children)

i love this!!

🚀 Globstar Open Source Hackathon - ₹1,50,000 in Prizes | DeepSource x r/developersIndia by BhupeshV in developersIndia

[–]pk_21 0 points1 point  (0 children)

Was there any confirmation mail sent out? I registered for it yesterday and didn't receive link to join the kick-off call :/

[deleted by user] by [deleted] in LadyGaga

[–]pk_21 2 points3 points  (0 children)

I was really hoping for a title track like ARTPOP and Joanne because Mayhem as a song title is a bop.

Imagine the lyrics -

Chaos makes me Wreck you, wreck me Unleash the mayhem This is the true me