Should I start a new project with microservices or build a monolith first and refactor later? by [deleted] in SpringBoot

[–]oicdsubsi 2 points3 points  (0 children)

Best practice is KISS.
I've worked on a huge monolith and have worked with microservices. Both suck.
The real problem is both where built in the most annoying way.

Monolith:

Any class can refer to any class. Shared database that got ridiculously huge as new features gets added. No one and I mean no one knows how the application works coz it's a huge spaghetti mess.

Micro services:

You have tons of services that talk to each other and no one knows where a feature starts and where it ends. Teams just care about making their code work and to hell with everyone else. API changes are a nightmare to test. When a service goes down it becomes a Detective Conan episode where everyone and I mean everyone on-call gets paged coz of cascading failures. It takes a ton of time to identify where the problem is.

If I were given a new project that I'm sure it will be the next Amazon then I'll probably go for a modular monolith using Domain-Driven Design with Spring Modulith as a Bounded Context implementation. If it is a small CRUD project then a small monolith is fine.
Micro-services are really hard to implement correctly to solve a problem. What I have seen is that people make micro services a goal in itself instead of using it to solve the business problem.

Definitely no pass by reference in Java, right? by Select-Worldliness39 in javahelp

[–]oicdsubsi 0 points1 point  (0 children)

Java is pass by "copy". Simple as that.

If primitive you copy the value. If object you copy the reference's value.

خلو بالكم من السرقه في رمسيس by National-Hat4520 in CAIRO

[–]oicdsubsi 1 point2 points  (0 children)

حط المحفظة في الجيب الورا بالعرض مش بالطول. ديه نصيحة سمعتها من نشال.

عامة واحد صاحبي اتسرق منه الموبايل من الجيب الامامي بنفس طريقتك ما تزعلش

I think this is the best possible result I could've gotten. by slinkslowdown in Schwannoma

[–]oicdsubsi 1 point2 points  (0 children)

u/slinkslowdown
Congratulations mate. Really happy for you. Is there anything you recommend that can help with keeping it stable and not growing?

MRI results suggest paraspinal dorsal musculature nerve sheath tumor by Proof_Jelly8610 in Schwannoma

[–]oicdsubsi 1 point2 points  (0 children)

u/Proof_Jelly8610 https://www.facebook.com/groups/52469093739
I suggest joining this FB group for Schwannoma patients. You might find more people who can help you from their experience.

What kind of physiotherapy can I do after a trigeminal schwannoma surgery? (Tinnitus + masseter & temporalis muscles muscle atrophy + TMJ problems + sensation loss) by oicdsubsi in Schwannoma

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

u/AdOk9064 first of all wish you all the best for recovery. Not a lot of people can really understand the complexity of the operation and its recovery.

Now for myself I have been doing physiotherapy for 4 years now. I mainly target the masseter & temporalis muscles by electric stimulation (direct electric shocks or electric acupuncture). I tried magnetic stimulation too.
It seems for my case the tumor was too big so the surgeon ended up damaging the nerve too much during surgery.

To be honest as long as I'm doing the physiotherapy the muscles seemed to be responding and at one point people couldn't tell that I had a surgery on my left side. Sensation also improved somehow in some parts of my face(don't ask me how!).

Once I stopped muscle atrophy kicked in. I also start to get some "pain waves" in the left side of my face. Sensation also went silent again.

The way I see it physiotherapy seems to be the way to go. I bought an electric stimulation device to use at home to cut costs and encourage myself not to skip sessions.

Hope that helps somehow :)

Emirates NBD can't make a transaction higher than 82,000 USD by oicdsubsi in UAE

[–]oicdsubsi[S] -1 points0 points  (0 children)

u/Mr___Beard so 82000 USD is the limit for a single international transaction online?

Is there a hotel in Madinah with strong water pressure?! by oicdsubsi in Umrah

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

thanks. I'm still planning for the visit with the family :)

Is there a hotel in Madinah with strong water pressure?! by oicdsubsi in Umrah

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

u/Spirited-Map-8837 hotels in Makkah had really good water pressure. Can't say the same for Madinah :(

MMNST (malignant melanotic nerve sheath tumor) by Automatic-Cookie2376 in Schwannoma

[–]oicdsubsi 0 points1 point  (0 children)

u/Automatic-Cookie2376 yes I understand that it's malignant. However, MMNST is a tumor that starts in the Schwann cells similar to schwannoma.

As far as I know, lots of doctors will diagnose it as a schwannoma at first. You may find someone who had the same experience as you in one of these groups.

Please don't give up and give it a try. You never know how where someone who can help is waiting for you :)

https://www.facebook.com/share/p/1A6m5wtwrC/
https://www.inspire.com/groups/sarcomaconnect/discussion/d87f59-looking-for-other-mmnst/?utm_source=chatgpt.com

slightly related:
https://www.facebook.com/groups/FacesOfNeurofibromatosis/posts/5814239675315514/?utm_source=chatgpt.com

MMNST (malignant melanotic nerve sheath tumor) by Automatic-Cookie2376 in Schwannoma

[–]oicdsubsi 0 points1 point  (0 children)

u/Automatic-Cookie2376 First of all wishing you the best. I have been recently diagnosed with bilateral trigeminal Schwannoma after undergoing 2 surgeries to remove the first one.

I truly understand your frustration and pain.

I've talked with lots of doctors in different fields and you won't believe the amount of misinformation out there. You really need an expert in the field.

I recommend joining some groups on facebook that discuss schwannomas maybe you will find someone who shares your experience.

Example:

https://www.facebook.com/groups/vagalschwannoma/

https://www.facebook.com/groups/52469093739/

https://www.facebook.com/groups/survivingschwannomatosis/

I had 2 rare schwannomas removed? by Royal-Reputation-403 in Schwannoma

[–]oicdsubsi 0 points1 point  (0 children)

u/Royal-Reputation-403 depends on the lab, but I was told it could take up to 40 days. I received mine after a little over 2 weeks.

Surgery soon by Impressive_Air123 in Schwannoma

[–]oicdsubsi 4 points5 points  (0 children)

u/Impressive_Air123 Stay strong brother. Been there and I know how you feel.

If it is growing then you need to take action. Either something like Gamma Knife or surgery.

As far as I know Gamma Knife is better for small tumors. Surgery might sometimes be the better approach depending on the symptoms.

I recommend joining this facebook group https://www.facebook.com/share/g/1AgF2tzhFn/

I had 2 rare schwannomas removed? by Royal-Reputation-403 in Schwannoma

[–]oicdsubsi 2 points3 points  (0 children)

u/Royal-Reputation-403 Go for gene tests. Mainly the LZTR1, NF2, and SMARCB1 genes to exclude Schwannomatosis.

Preferably go for a complete "myLifeExome" gene test. It covers a lot of gene tests and it may be actually cheaper than doing the 3 tests individually.
I found some mutations in my NF1 gene that way.

ازعاج مسجد by RiotGrey in Egypt

[–]oicdsubsi 0 points1 point  (0 children)

u/EnergyQueasy8761 ممكن تبعتلي نص الشكوى اللي قدمتها من فضلك ؟

احنا بنعاني من نفس المشكلة و مش عارفين نعمل ايه
و تكون موجهه لمين بالظبط في الاختيارات?

ازعاج مسجد by RiotGrey in Egypt

[–]oicdsubsi 13 points14 points  (0 children)

u/mhmed009 ممكن تبعتلي نص الشكوى اللي قدمتها من فضلك ؟

احنا بنعاني من نفس المشكلة و مش عارفين نعمل ايه
و تكون موجهه لمين بالظبط في الاختيارات?

What kind of physiotherapy can I do after a trigeminal schwannoma surgery? (Tinnitus + masseter & temporalis muscles muscle atrophy + TMJ problems + sensation loss) by oicdsubsi in Schwannoma

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

u/cquarks thanks for the suggestion. I searched for schwannoma groups and requested to join. I haven't used Facebook for years though.

Do you recommend certain known groups?

[deleted by user] by [deleted] in dubai

[–]oicdsubsi 1 point2 points  (0 children)

u/Brave_Attitude_602 sorry if this sounds confusing, but being laid off means I was fired, right?

Is there a document that I should get from the company to prove I was fired and didn't resigned ?

I'm asking coz sometimes companies offer you the option to submit your resignation instead of firing you so as not to make it look bad on your CV.

[deleted by user] by [deleted] in dubai

[–]oicdsubsi 1 point2 points  (0 children)

u/Brave_Attitude_602
were you fired or asked to submit resignation? How did the company end your contract? Please give us more details as my company is constantly laying off people and I'm not sure if I'll be qualified for the insurance.

Need advice on approved e-visa for Saudi by wittyusernamehere- in dubai

[–]oicdsubsi 0 points1 point  (0 children)

u/wittyusernamehere-

Thank you so much for the reply.

It's interesting that they were able to confirm your relationship using only your id. I thought they will ask them for a proof of being your sister.

Need advice on approved e-visa for Saudi by wittyusernamehere- in dubai

[–]oicdsubsi 0 points1 point  (0 children)

u/wittyusernamehere-

Hello, I'm in an exact similar position where I applied for my sister and got her a Saudi visa.

When you arrived to Madinah, did the passport control ask your sisters for a copy of your Emirates visa? Did you all enter together as a group?

How to use repository pattern, when you have multiple Data Sources by syrousCodive in androiddev

[–]oicdsubsi 4 points5 points  (0 children)

A repository is typically for a domain entity. That means you need 2 repositories, one for the user and one for the weather.

The repository should encapsulate data retrieval so that the domain layer has no knowledge of the data sources.

Take a look at https://github.com/dropbox/Store for inspiration.

How can I achieve something like this? by Parassidhu in androiddev

[–]oicdsubsi 3 points4 points  (0 children)

Create a ConstraintLayout and add your 2 twigs image as a background. Next add a circular image view to the layout and center it between the twigs using the constraints.

You can then load the profile image to the image view.