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
Search - "eureka"
-
Does anyone wake up in the middle of the night in a "eureka" moment. That's what happened last night. Then I overslept.6
-
When I thought I had bricked my HTC Hero while trying to load a custom ROM and it just didn't boot. I had a real eureka-moment late that night when I understood the whole process and successfully flashed it in a non standard way to get it back working.
I haven't thought about this for a while and it wasn't really dev-related either more than problem solving. That moment was also realisation that I both love and hate technology.1 -
That moment on saturday morning when you realize what you missed for the last 5 months in the framework you are using at work and realize you can delete about 5000 loc with some refactoring...
Fuck guys I just got a huge Eureka moment that probably made me level up.7 -
Scenario A:
Your code is working. You run again, now it's not working.
Scenario B:
Works on production. Next day it doesn't.
It is nothing you just experienced alternate universe. You probably with your manager temporarily jumped into another timeline where your code is not working.
Next time it happens tell your manager it's not your fault.
Eureka!6 -
The only technology that has updates more than microsoft windows--> android studio...Like the dev team gets a eureka moment everyday1
-
Being a parent I've come to the conclusion that my "career" isn't a priority, my kid is.
Thats also because I'm at a position wherein i know that even with a non 100% effort towards work i can still get substantial results
I've been thinking now that I've come to this conclusion, would i want to raise my child in a way that she herself comes to a similar conclusion eventually. As in follow a career path, grow, become a parent and realise your priorities aren't the ones you always thought they were.
Or should I raise her to be focused on life and not try to make a mark in the world.. by focusing on the little things and not the grand picture.
Parents only comments are suggested here8 -
That moment when you solve an issue that you had a super hacky work around for the last 2 months, but the proper way. It's like crack.1
-
So, it's been a while since I've been working on my current project and I've never had the "luck" to touch the legacy project wrote in PHP, until this week when I got my first issue.
And damn, this goddamn issue. It was a bug, a very strange bug, that only happens in production and that nobody has any idea what was happening, so yeah, I didn't have anyone to ask and I got less time than usual ( because Thanksgiving ).
And thus, I have no starting point, no previous knowledge on PHP and less time! I expected a very fun week 😀 and it was beyond my expectations.
First I tried to understand what might be causing the issue, but there wasn't any real clue to star with, so no choice, time to read the flow on the code and see what are they're doing and using ( 1k line files, yay, legacy ). Luckily I got some clues, we're using a cookie and a php session variable for the session, ok, let's star with the session variable. Where it's that been initialize ? Well, spoiler alert, I shouldn't start with that, because my search end up in the login method of the API that set a that variable and for some reason in the front end app it was always false and that lead me to think that some of the new backend functions were failing, but after checking the logs I got no luck.
Ok, maybe the cookie it's the issue, I should try open the previous website on the brow...redirect to new project login, What? Why ? I ask around and it's a new feature push on Monday, ok I got Chrome Dev tools I can see which value of the cookie it's been set and THERE IT WAS it has a wrong domain! After 2 days ( I resume a lot of my pain ) I got what I've been looking for, so now I should be able to fix the bug. Then where is the cookie initialized ? In the first file the server hits whenever you tried to enter any page of the app, ok, I found the method, but it's using a function that process the domain and sets it correctly? wtf ? Then how in heaven do I get the incorrect domain ? Hello? Ok, relax, you still have one more day to fix this, let's take it easy.
Then, at the end of the Wednesday, nope I still have no clue how this is happening. I talked with the Devops guy and he explain me how this redirection happens and with what it depends on, I followed the PHP code through and nothing, everything should works fine, sigh. Ok I still have 2 days, because I'm not from US and I'm not in US, so I still have time, but the Sprint is messed up already, so whatever I'm gonna had done this bug anyhow.
Thursday ! I got sick, yay, what else could happen this week. Somehow I managed to work a little and star thinking in what external issue could affect the processing, maybe the redirection was bringing a wrong direction, let's talk with the Devops guy again, and he answer me that the redirection it was being made by PHP code, IN A FILE THAT DOESN'T EXIST IN THE REPOSITORY, amazing, it's just amazing. Then he explained me why this file might be missing and how it's the deployment of this app ( btw the Devops guy it's really cool and I will invite him a beer ) . After that I checked the file and I see a random session_star in the first line of the code, without any configuration, eureka ! There was the cause and I only need to ask someone If that line it's necessary anymore, but oh they're on holiday, damn, well I'll wait till Monday to ask them. But once and for all that bug was done for ! 🎉
What do I learn ? PHP and that I don't want any more tickets of PHP 😆. -
My biggest challenge is moving from framework to framework or language to language.
It takes me a good day or day and a half to get used to it. I'll finally have a eureka moment and figure things out. But until then, it's quite hard and I end up questioning my competence. -
Rant
Why Windows why you do this to me...
Been looking at this for at least 30m now and was mid way through an eureka moment...4 -
Eureka! I have done it! I have written a program that will replace 80% of programmers with an AI!
The approach is to use grammar identification with language heuristics to recognize solution patterns using multilayered neural networks. The code source uses trusted pattern samples that are scored by human programmers. The code is programmed using text duplication and placement from the trusted sources.
TLDR: Uses pattern matching to copy and paste from Stack Overflow.1 -
When, after an entire week of reading bad documentation and issues on Gitlab, you FINALLY find that "EUREKA!" moment <3
Been trying to get the gitlab-runner working for an entire week now, but always got errors... now had the first run without any errors <3 -
Finally figured out big I had in my code after three days. Now I’m screaming “Eureka” feeling like Archimedes 🤘🏿🤓
-
To be a Java (or other business popular language) developer
* Java 6, 8 and features up to 14
* SQL + nosql
* Caching
* Logging eg log4j2,
* Searching eg elastic stack
* Reactive
* Framework (at least 1, but hey, knowing 1 is lame..)
* Networking or at least base http knowledge
* Tomcat, jboss or other shit
* Aws, heroku, GCE or other SAAS/paas
* Rest, RPC, soap
* Business Hello World example
* Hexagonal Architecture
* TDD
* Ddd
* Cqrs
* 12 app factor
* Solid
* Patterns
* docket
* Kubernetes
* Microservices
* Security, oauth2
* concurrency
* AMPQ
* Cloud
* Eureka or consul as service Discovery
* Config server
* Hazel cast
*
*
* Endless story ...
Then we can start hello word app2 -
It's weird how you can't solve a problem in front of elaborate diagrams, 15 fucking tabs on your web browser and a shell/compiler but the moment you drop your pants to poop, all the answers to every questions ever asked in the history of human civilization flow into your mind and you feel like that lady in Indiana Jones and the Cristal skull.
"Cover it! Covert it!" -
!rant
Just learned how to use Spring + Eureka + Feign + Ribbon to easily discover microservices as they're deployed, do basic load balancing, easily hitting endpoints on other micro services, etc.
Mind = blown 🤓 -
"The Perils and Triumphs of Debugging: A Developer's Odyssey"
You know you're in for an adventurous coding session when you decide to dive headfirst into debugging. It's like setting sail on the tumultuous seas of code, not quite sure if you'll end up on the shores of success or stranded on the island of endless errors.
As a developer, I often find myself in this perilous predicament, armed with my trusty text editor and a cup of coffee, ready to conquer the bugs lurking in the shadows. The first line of code looks innocent enough, but little did I know that it was the calm before the storm.
The journey begins with that one cryptic error message that might as well be written in an ancient, forgotten language. It's a puzzle, a riddle, and a test of patience all rolled into one. You read it, re-read it, and then call over your colleague, hoping they possess the magical incantation to decipher it. Alas, they're just as clueless.
With each debugging attempt, you explore uncharted territories of your codebase, and every line feels like a step into the abyss. You question your life choices and wonder why you didn't become a chef instead. But then, as you unravel one issue, two more pop up like hydra heads. The sense of despair is palpable.
But, my fellow developers, there's a silver lining in this chaotic journey. The moment when you finally squash that bug is an unparalleled triumph. It's the victory music after a challenging boss fight, the "Eureka!" moment that echoes through the office, and the affirmation that, yes, you can tame this unruly beast we call code.
So, the next time you find yourself knee-deep in debugging hell, remember that you're not alone. We've all been there, and we've all emerged stronger, wiser, and maybe just a little crazier. Debugging is our odyssey, and every error is a dragon to be slain. Embrace the chaos, and may your code be ever bug-free!1 -
Why does my Eureka client always try to connect on localhost ? If it's running as a docker container, it won't find the Eureka server on localhost.2
-
sitting at work for two hours with coffee and dual monitors making no progress whatsoever.
*30 minutes at home, in bed, before going to sleep, with laptop on knees* well that was easy... -
I had lot of interviews this week and the possibility in which I didnt think I could succeed is the one with most % of success (maybe because I know by sight certain people -which are good developers- and so I thought for a long time "You must be really sharp to enter here"). The thing is that I feel anxious... Never seen spring cloud (eureka or netflix zuul) for example... Anyway, didnt get the offer yet...
-
Just today.
A production issue was assigned to me a while ago and the OSE and I were volleying it back and forth (I don't have access to even see anything production) because neither of us had any idea of what to do.
Here's the twist: the OSE's analysis (and my assumptions) of the problem was off, so we were basically running around in circles.
Today, he and I had a good one on one as the only priority to put this mother fucker to rest. Turns out he assumed a lot of things in his hurry to give his analysis to his boss.
Confirmed a few things, lo and behold, it's a non issue. That's how the legacy, 13 year old system (that no one in the entirety of the company knows end to end anymore) works.
Fucking eureka.1 -
Let the dogs out, smoke a clove, watch some metal videos, have a eureka moment, go back inside and code.
-
which type are you ??
**Manager:** Hey, we've got a little hiccup in the production environment. I know it's Friday evening and you're probably daydreaming about pizza, but could you give it a peek?
**Type 1:** Man, this is like finding a needle in a haystack while wearing sunglasses at night. Might take me a few hours... or days. But hey, wish me luck and have an epic weekend!
**Type 2:** Eureka! Found the gremlin. It looks like XYZ person tried to be a bit too creative on commit number 2234324. Maybe they had too much caffeine? Anyway, could you have a chat with them? And oh, may your weekend be as smooth as a fresh jar of peanut butter.
**Type 3:** Detective mode activated! Found the sneaky bug. It was XYZ person's "masterpiece" in commit number 2234324. But fear not! I've put on my superhero cape and fixed it in commit number 345453345.
**Type 4:** This issue again? It's like a recurring bad dream about forgetting your pants! I've revamped the whole thing so we don't have to relive this nightmare. If someone tries to pull this off again, our CI/CD will roast them like a marshmallow over a campfire.
**Type 5:** Ta-da! Fixed the glitch, jazzed up the design, and sprinkled in some extra logging magic. Now, troubleshooting will be as easy as pie. Speaking of which, I've got time for a coffee and maybe a slice of pie before heading out. Cheers!
Type 6 **Gloomy**: Oh, the digital clouds have gathered again. This issue is like a never-ending rain on a Monday morning. I've peered into the abyss of our code, and it's... well, it's deep and dark. I'll need some time, a flashlight, and maybe a comforting blanket. If you don't hear from me in a few hours, send in a search party with some hot cocoa.4 -
!Rant
So this brilliant app called Enki.
Enki --> Enquire ?
Enquire Upon Everything?
Tim Berners-Lee paper?
Perhaps me being overly analytical but damn that's a nice name for an app... -
Well.... Bad documented API, ehmm... thinking to fast, not noticing an id that is sent with the 'get' function... 5 hours later, 2 minute fix because I had an EUREKA moment. Fucking shitting heck, these are the fucking moments in life you want to scream your body out and kill yourself.2
-
Found a New design pattern for family parties : wait for everyone to be busy, finding a quite spot, plugging your music to your ears, dancing alone till dawn