Tell the story
For further actions, you may consider blocking this person and/or reporting abuse
Tell the story
For further actions, you may consider blocking this person and/or reporting abuse
Shubham Murti -
Sotiris Kourouklis -
Pangaea X -
Gabrielle Niamat -
Top comments (29)
No, 10x engineers never feel helpless 😂
Just kidding...
I had once to deal with cross domains cookies sharing.
The idea was signing in multiple subdomain names at the same time (without asking the user to click signin button everytime).
I felt so depressed for a whole weak; I tried tons of solutions... Nothing worked!
A whole weak till I wrote a middleware to share cookies across multiple subdomains... It worked perfectly 💪
Tho I'm never touching that code, EVER!
Here is the middleware:
github.com/coretabs/dorm-portal/bl...
Right before serving any request, it writes the same sessionid with CSRF token across multiple domains (pre-defined in an env var), so that you get logged-in once and for all.
Yep subdomains (been edited, thx)... and no, it won't be enough 😁
I don't remember what was the problem I ran into after using the main domain trick (adding a dot).
What is "10x engineers"? I heard it a little. Is that kind of trends?
An engineer that is 10 times better or more productive than your normal engineer. A unicorn. A rock-star dev. A ninja.
More like a Ninja?
Fixed it.
Hopelessness almost always comes from overwork.
I stayed up for 32 hours working continuously to meet a deadline (never ever doing that again). In the middle of trying to do all this work, as tired as can be, your logical processes are breaking down and your ability to fix the problem starts to slip away.
Luckily that employer both recognized the problem with that happening AND understood the damage it did to the codebase (Many would have blamed me instead of recognizing the real problem).
Within a week we were able to stabilize all of the bugs that were introduced and the very next task was to take a design week to pull out the good, and toss the bad (one of the most important things about writing bad code is to a) Know you're writing it, b) know why, and c) do your best to plan for the refactor). A week after that, we implemented a much more elegant solution than we had time for in the rush to go to market.
In that initial 32 hours it was all I could do to keep from saying "this is hopeless".
Just remember that 9 times out of ten, the answer is to walk away, rest your brain, maybe get some sleep and come back to it with fresh eyes. My team was invaluable. My manager was up, working just as hard on that code as I was, understood every shortcut and decision made during that time AND resisted the urge to try and take over, focusing on working on the things that I didn't have the capacity for at the time and supporting where needed).
If you feel like you're in a hopeless situation, rest and lean on the people around you to help dig out of it!
I did. I was 16, participating in Google Code-in. The task was to refactor a CI/CD codebase to fetch the initialization script from the CI server instead of GitHub. My mentor was asleep (TZ difference) and I couldn't figure out the relevant code that I had to edit for the life of me. There's not really a comeback story here where I hit up caffeine, stay up all night and blaze away on the keyboard, I just went through it line by line and googled what I didn't know and then opened a PR. It did need modifications after it was reviewed but felt good :)
I won the contest though :D (got to visit Googleplex and SF!)
Yes, it still happens on occasion. Especially when I am not in control of the dependency or surrounding issues of the problem.
It happened far more when I was learning at the coding Bootcamp. Even surrounded by hundreds of other learners going through the same struggle right next to you and a huge open space with tons of mentors, teachers and teacher assistants... You still at times would feel helpless, all the help you could ask for literally physically there for you and you still would feel alone and lost, sometimes convinced you can never do it. Long story short tenacity and overcoming self-doubt with self-motivation (wherever you can get it from) was key to pressing forward. No matter how bad things got, no matter how hard, no matter the imposter syndrome... You Push Through! Let those support systems help you, let those friends and family tell you, you can do it regardless of how tired of hearing you think you are, let those mentors and teachers walk you through thinking models and processes, step by baby step.
Let's be here for each other, in our toughest moments, even if it's a whiteboarding practice problem or an enterprise level production defect.
I recall being really frustrated by an undocumented iOS Safari bug in the past. Seems like Apple's internal bug trackers and forum posts on these subjects tend not to bubble up to search engines very cleanly in my experience.
At 21 years old, I was allowed to design a digital billboard system. We had identified a vendor who would provide the sign modules, but I was responsible for the design of all control and scheduling software and procuring any additional hardware we needed. It was the coolest thing I have ever worked on.
The day before we're supposed to ship the first batch of signs, I can't get the display driver to work. It was looking like I was going to have to rewrite my code from start and dig into some Win32 nightmare methods to copy video memory. We can't really delay; we have a freight company scheduled to come by at noon and they are expecting six signs on the manifest. Failure was not an option!
I knew I had worked with one of the libraries that played a major part in the vendor's display system before and had a feeling it was missing options. Sure enough, I found some configuration info in a random blog post, and when I copied it over to the sign's controller, everything started working!
I had spent my 21st birthday up til 4AM getting these signs to work, and the glow of the room when the first ads started rolling across seemed so vibrant between the sleep dep/ecstasy of success/recognition I can go sleep now. Looking back, there's no way I would have rather spent my 21st birthday.
Sure, I once spent two weeks straight (10 hours a day all day) tracking down a bug in my engine that caused everything to render far too yellow. I essentially tore my entire engine apart and still couldn’t figure it out. It ended up being a single directional vector I was passing to my shader and it expected the normalized value while I was giving it a unnormalized value
Yes, firebase with express has been causing an issue that shouldn't be there because that's literally the first that I added that should've eliminated that error and what's worst is all the tutorials have outdated code even the ones posted few months ago. Firebase docs is so huge since it has support for multiple languages and stack overflow solutions for the error are for front end only. it's frustrating but I'll try to figure it out with fresh mind later.
Yes. Was making nlp pipeline and was working with spaCy right when it came out. Stackoverflow didnt have anything on what I was facing, nobody answered my question I asked. I looked at some of their Github issues and was lost. Everyone said it was over their head when I asked for help from others. It totally wasn't over their heads but think it looked scary or something. I ended up going back to NLTK bc of time crunch on project and took a class for learning spacy more. Class I took was too basic. :-/ But -! Got the project done!
it was in my initial days. I was working on the backend of an exam portal and the client wanted to add mathematical expression in the question. I was using Ckeditor. it took me a good amount of time to figure that out.
quite an exp. that was.