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 - "leo"
-
"Art is never finished, only abandoned"
-Leonardo Da Vinci
"Software is never finished, only abandoned"
-Me8 -
“Yeah, the database password has to be ‘password’ or the code won’t work”
—My PM
Note: I don’t actually believe this to be good advice.1 -
There's not much worse than trying to fix your CSS for half an hour, only to realise that it's a cache issue...9
-
I don't know what's wrong with my project. But somehow, this is the screening when you debugs a React Native app within DevTools.10
-
!!office drama
I haven't been around much in recent weeks. Due to family illness, christmas shopping, dealing with estranged parents, and brooding over the foregoing, I haven't had a lot of time or energy left to myself.
tl;dr: The CTO ("API Guy") is ostensibly getting fired, and I might be taking over his job. I don't know if I should accept, try to stave this off, or simply flee.
------
Anyone who has been following my recent rants knows that API Guy is my boss, and he often writes terrible code. It's solid and unbreakable, but reading it is a *nightmare.* One of our applications is half the length of Leo Tolstoy's War and Peace, and it's difficult to tell what code is live and what amounts to ancient, still-active landmines. This is one application; we have several, most of which I've never even looked at.
Ostensibly the code is so terrible because the company grew extremely quickly, and API Guy needed to cram in lots of unexpected / planned-against features. From what I can see, that seems about right, but I haven't checked timeframes [because that's a lot of work!].
Here's a brief rundown of the situation.
- API Guy co-founded the company with the CEO.
- CEO and API Guy have been friends for a long time.
- CEO belives the company will fail with API Guy as head of tech.
- They could just be testing me; I have zero way of knowing. API Guy seems totally oblivious, and CEO seems sincere, so this feels pretty doubtful.
- CEO likes pushing people around. CEO believes he can push me around. API Guy doesn't budge. (I probably won't, either, except to change task priorities.)
- API Guy's code is huge and awful, but functional.
- API Guy is trying to clean up the mess; CEO doesn't understand (maybe doesn't care).
- Literally nobody else knows how the code works.
- Apart from API Guy and myself, the entire company is extroverted sales people.
- None of these sales people particularly like me.
- Sales people sell and sell and sell without asking development if they can pull enough magic features out of their hat to meet the arbitrary saleslines. (because the answer is usually no)
- If I accept, I would be the sole developer (at first) and responsible for someone else's mountain of nightmarish code, and still responsible for layering on new features at the same pace as he. Pay raise likely, but not guaranteed.
- My getting the position is contingent upon the CEO and the investors, meaning it's by no means guaranteed.
- If I don't accept, likely API Guy will be replaced with someone else of unknown ability, who doesn't know the code, and whom I must answer to regardless. Potentially OK, potentially a monumental disaster.
Honestly, it feels like I'm going to be screwed no matter what course I choose.
Perhaps accepting is slightly better?
The best would be to assume the position of CTO and keep API Guy around -- but that would feel like an insult to him. I doubt he'd be okay with it. But maybe. Who knows? I doubt the CEO would seriously consider that anyway.
I feel like a lamb between a dim, angry rhino, and an oblivious one.23 -
I don't mind if you down vote my answers on stack-overflow. But unless you leave a better answer or a comment explaining why, you are a fucking troll and an asshole.
I MEAN, YOU SHOULD TAKE A BIG STEP BACK AND LITERALLY FUCK YOUR OWN FACE!!!!
You aren't helping me or others learn from our mistakes by showing us the better way.32 -
So this mornings i was helping my 2.5year old daughter to count the lines on her potty training table.
me: look there are 1,2,3,4 and 5
she steps back and looks at it for a minute and says : FOUR
i was about to correct her and say no there 5 but then i thought well if your on a zero based list your technically right!!
My mornings are fun!!4 -
1. talked to a dev and found out he never used git
2. saw a guy formatting the code in eclipse line by line, even when eclipse provides automatic formatting.2 -
team lead: what is the minimum lenght validation on the first name field?
dev: i decided to put minlenhgt 3
team lead: why? did you tests it
Dev: i tested it. 3 makes sense to me
Team lead: isint your first name 2 letters long?
Dev: oh i dodth think about that4 -
wanted to try fedora on my laptop nd instead it removed my Windows from the laptop,
now installing Ubuntu 😪😪😪
such a start to the Sunday8 -
well there's an interesting error😂😂😂😂😂
Stackoverflow clears our error and then I get a Stackoverflow error
java😂2 -
I've been using Ubuntu 14.04 since it was first released until this moment (June 2018). What a stable OS i've ever used. Thank's Linux, you're free & awesome.
Thank Mr. Trusty & Tahr1 -
funny coincidence happened at work the other day.
One dev ask to get more ram for his pc so we sent him a link to download more ram... after all the laughs we actually gave hom more ram.
The next day, we had performance issue on our dev servers, and after checking the VM's where missing 4gb of ram each from the original setup... so i poke my dev and say see now we know where the downloaded ram came from XD. man those small things really make my day -
I used to collect rubber ducks back in college. I was absolutely crazy about it and tried getting my hands on almost all different types available like the Punk duck, the Pirate duck, the Weed duck....and so on.
I met this girl who was into the same thing and we ended up banding together to create a sort of webpage where we'd write crazy and hilarious origin stories for each of these ducks. We'd go to great lengths to create ridiculous comic book style encounters between them and had a lot of fun doing it.
We dated for a while but it didn't last.2 -
just saw a production level code, all the fucking variables in the code are in capital letters🤪😵😵😵2
-
Life as a software developer is a bit similar to a nurse... they often both patch bleeding holes as a service ;-)1
-
Oh so you have a merge conflict this weekend? The only time of the week I try not to think of ripping your nob off, tying a noose around your neck with it and drowning you in a well full of piranhas? Right, right...
How about you take that dick that you've been trying to locate since you were 5 and practice choking on it every day till you die just so you have enough experience to suck demon dongs in hell for eterniity! I seriously hope you die of cancer you fucking wankstain!
How about you go home and keep disappointing that whore of a wife of yours, you know that stinking pile of shit that you stick your dick in every two weeks?1 -
what to do with this android studio, taking up 2.3 gigs of RAM😪😪😪
good thing i upgraded my ram from 4 gigs to 8 gigs before getting into android development 😪6 -
If AI can create an email address, register to instagram, post a photo randomly based on AI feeling or conditions, then reply a comment. I will follow that account.3
-
Finished my first year of Software Dev. today. It's been tough but I got through it. Does the questioning of this career path ever stop?5
-
when you realize that performance issue you just could not figure out is the SYS admin taking a full back of your production machine during peek traffic hours
-
The signs as programming brackets
Scorpio, Aries, Sagittarius, Libra, Pisces, Cancer:
function () {
// code
}
Taurus, Virgo, Leo, Gemini, Aquarius, Capricorn:
function ()
{
// code
}
Ophiuchus:
function () { // code }9 -
marquetting department: i need a new for on the website its urgent drop everithing else
dev: sure can you give me the text and the fields that should be on the form?
....1 week later
dev: do you havr the info
marketing: can you have ot online today
dev: yes just get me that content
1week later
.... you know where im going with this -
when a dev fixes a memory leek issue but rebooting the server, and when ask why the production application crashes he casualty replies "I don't know but I restarted the server and its fine now..."7
-
I like a Product Manager/Owner/CTO who invites coffee when a dev burnout. This is not a story, a hope seems to be.2
-
Those people who don’t even understand the commit message
Who commits using commit message “commiting”?3 -
Once upon a time, I'm in the process of going to a new job. But in the middle of the recruitment process, it turns out I don't like that company, for reasons I didn't know before.
Anyone have a good idea how to escape this pit?
*My CV has been thrown there6 -
What do people here use for blogging and hosting? Everything I can find from searching suggests self-hosted Wordpress, but I am cautious because of its reputation in the dev world and since all the guides I have found so far are directed at non-coders. Thanks in advance for any opinions 😊8
-
my workstation, can't imagine to work without it,
waiting for dev rant stickers even left some space for them
Proudly running Ubuntu Gnome 16.043 -
I encountered some strange programming languages here =>
https://codegolf.stackexchange.com/...
Then scroll to the bottom.6 -
Save enough from my current job to give me the buffer to go solo;
and it’s a cliche, but hopefully be making games -
Top 5 World’s Most Difficult Programming Languages
https://search.app.goo.gl/Yk8Mm
Never heard of any one of them,
how many u knew?6 -
So ive been seing a couple funny unattended PC pranks lests here yours!
my ultimate favourite : when someone walk of without locking his PC i go and switch his mouse to left handed. its hilarious how some ppl take for ever to figure it out.
so funny and constructive, you can gage problems solving on the fly! plus the average i now lock my pc goes up 90%7 -
"Curiosity about life in all of its aspects, I think, is still the secret of great creative people." - Leo Burnett
-
One CDN goes down and whole world thinks it’s the end of the world!
It’s an opportunity to improvise and bring up something better3 -
i previously had Windows 10 and somehow my Windows was deleted so i installed Ubuntu and wiped the hard disk
can u suggest any full data recovery tool in linux from which i can recover the data i had in Windows.1 -
Been working on a Covid App in this quarantine. Right now it’s only on Android but still can get the view from the page below. Do give it a go..
https://neo7337.github.io/cvkavach_...
open for suggestion and bugs!3 -
wanted to do a poll for my team, Which should we use for development of spring-boot?
I personally recommend VSCode, what about you guys?17 -
nothing is better than starting the new year while working on a project,
first git commit of the year 2018
happy new year ranters1 -
if anyone has firmware or any custom rom for htc 728, please help me. I need it asap. every file that I downloaded and tried was curropted while installing
Thanks!!2 -
looking for a nice side project very badly..😖😖it sucks when you have nothing interesting to work on.3
-
I don't know is it me or what, but I am really trying hard to get my hands on Vim and trying to get use it for all my daily development. But I don't know why I keep comming back to vscode thinking it will be faster to complete "this one task" in vscode and I will try vim later for other once 😐
Vs code feels more easy to move around project files, working in tabs etc etc. I do try to work on vim as well just for very silly bugs or something but I really want to switch to Vim full time but not able to convince my mind for the task in my hands at that point in time.
Anybody has any advise? I would really appreciate the help on this one12 -
I have tried so hard to add some dependencies on react-native (android). Always fails when build gradle, many dependencies are mismatch.
Go fuck my project.2 -
yeah we have a guy that actively paints himself into corners. last time was an api he was saying yeah there just this last field to put in, then when you open the code because of the bs reaspn he gives you for not finishing it you realize you have to wreak everithing and start pver cuz there is no ways in hell this would work. and thats just the tip of the iceberg....
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus eu dolor vel risus euismod vestibulum ut in massa. Donec scelerisque magna vitae laoreet facilisis. Suspendisse volutpat tortor turpis, ut efficitur nisl gravida non. Donec ac volutpat tellus. Vestibulum ac lacinia neque, sed imperdiet lectus. Aenean aliquam tempor molestie. Vestibulum vel sem augue. Duis non eleifend augue. Aenean eget libero eros. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Praesent sit amet dictum eros. Quisque eleifend faucibus hendrerit.
Fusce accumsan interdum risus et iaculis. Mauris ex velit, pellentesque a tortor et, placerat ullamcorper orci. Donec imperdiet, orci nec placerat ultricies, sapien felis ultrices velit, at vehicula sem lectus eu nunc. Nulla nec orci congue, consectetur leo imperdiet, lobortis metus. Praesent dapibus est pharetra massa suscipit commodo. Trying to find out whether devrant feed is rigget or !. Pellentesque malesuada mauris at tellus porta molestie at ac urna. Quisque pretium placerat tellus vel porta. Etiam ante sapien, suscipit eu auctor ac, venenatis eu libero. Ut luctus consequat lectus quis molestie. Fusce a bibendum risus. Fusce eu odio ac felis tempus posuere nec nec lectus. Vestibulum ultrices ac felis venenatis blandit.8 -
Attended KubeCon this week in San Diego. Was amazing great speakers great ppl all around.
Its amazing to see an open source community get together to share. I was not expecting there were goin to be more than 12k attendees!! -
Reading code and getting that face palm moment
String code = customer.getCode();
customer.setAccount("foo");
customer.setGroup("bar");
customer.setCode("new code");
Ok this is preparing the customer obj makes sence.
Some 20 lines later
customer.setCode(code);...... Wtf1 -
I am currently creating a module where I have to put data in xls sheet from a given data, which contains date column,.
I have generated the sheet and the respective date column also has the format of Date which is default of Microsoft Excel.
But the big question noew arises that I am not able to sort the data according to the date column, the sorting is not working correctly.
If anyone has ever worked on this please tell!!3 -
I didn't use Windows, but my friend encountered this problem. Anyone knows how to handle it? Thank you
(I am afraid to post to stackoverflow)13 -
just completed my first side project today after one and a half months of hard work.
Check it out:-
https://git-lan-api.herokuapp.com
Please provide any suggestions and improvements.4 -
Almost stuck with manual state management for JS. Dealing server side rendering manually. [almost crazy]
-
Just to use de 5000 characters :v.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut non velit vel odio sodales hendrerit non a urna. Nunc tortor orci, fermentum quis blandit eu, auctor in arcu. Vivamus mollis auctor sem sit amet egestas. Etiam fermentum purus sed est venenatis fringilla. Maecenas imperdiet pharetra volutpat. Suspendisse vitae maximus purus, id scelerisque magna. Nulla maximus, nisl nec pharetra consectetur, dui nunc tempor dui, quis porta magna arcu at justo. Integer maximus euismod magna, a sodales leo interdum vel. Phasellus malesuada eros volutpat eros blandit dictum. Maecenas velit tortor, rhoncus id orci vitae, venenatis condimentum elit. Nulla ante mi, viverra sit amet tempus vel, pharetra eu ex. Maecenas blandit, lorem non tincidunt facilisis, ligula lectus scelerisque tellus, ac facilisis est diam nec turpis. Vivamus nec ante ut justo dignissim rutrum. Curabitur ut odio et nisl convallis pellentesque eu ut lorem.
Pellentesque imperdiet egestas cursus. Mauris at dui facilisis, feugiat elit in, bibendum odio. Vestibulum magna purus, aliquam quis tincidunt et, accumsan vel est. Morbi commodo viverra aliquet. Sed dignissim vehicula nulla id sodales. Curabitur lobortis cursus nisl at congue. Ut bibendum leo nisi, quis consequat velit pharetra vitae. Nam laoreet, odio ut tincidunt pulvinar, sapien ex consequat metus, id venenatis massa lorem ultrices orci. Mauris ac metus mauris.
In ac feugiat leo, ac blandit arcu. Donec sit amet dolor non nunc pharetra vulputate. Curabitur in velit ac odio egestas semper. Ut mattis ex sodales scelerisque venenatis. Pellentesque dolor lorem, eleifend vitae nisl eu, ultrices pellentesque justo. In vel vulputate lectus. Sed hendrerit sem vel blandit dapibus. Suspendisse ut eleifend lacus, a laoreet turpis. Vivamus eu ultricies lectus. Vestibulum imperdiet magna semper mi cursus facilisis. Fusce et interdum mauris, vitae tincidunt sapien. Curabitur non congue dolor, a varius dui. Maecenas nisl diam, lobortis et odio sit amet, ullamcorper euismod turpis.
Nullam vitae tempus eros. Sed varius sit amet sem faucibus euismod. Curabitur congue nulla lectus, sed aliquam mauris ultricies sed. Maecenas non felis ut orci commodo commodo. Mauris pharetra, tellus nec fringilla molestie, erat ligula tempus urna, ut faucibus elit ante in dolor. Nullam eu est fermentum, malesuada eros sed, rhoncus libero. Donec dignissim sapien quis aliquet auctor. Pellentesque a laoreet lorem. Suspendisse in feugiat odio. Maecenas venenatis auctor pretium. Maecenas et dolor eu leo faucibus auctor vel sed ligula. Curabitur lacinia ac leo eget posuere. Aliquam erat volutpat. Ut ultricies justo id tellus vulputate euismod. Phasellus sagittis ipsum ac odio rhoncus lobortis. Nullam vestibulum mauris sit amet augue euismod, viverra hendrerit sem convallis.
Integer tellus orci, rhoncus vel dignissim non, convallis at urna. Nam eu neque vel leo luctus varius eu in augue. Nunc consectetur cursus est nec bibendum. Integer erat tellus, feugiat ac aliquam in, volutpat semper tellus. Pellentesque in auctor magna. Donec feugiat magna in lacus ultricies fermentum. Phasellus bibendum, dolor ut aliquam feugiat, elit augue tincidunt justo, nec consequat tellus diam vitae risus.
Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Nulla convallis et enim vel congue. Suspendisse luctus sapien ac maximus dapibus.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut non velit vel odio sodales hendrerit non a urna. Nunc tortor orci, fermentum quis blandit eu, auctor in arcu. Vivamus mollis auctor sem sit amet egestas. Etiam fermentum purus sed est venenatis fringilla. Maecenas imperdiet pharetra volutpat. Suspendisse vitae maximus purus, id scelerisque magna. Nulla maximus, nisl nec pharetra consectetur, dui nunc tempor dui, quis porta magna arcu at justo. Integer maximus euismod magna, a sodales leo interdum vel. Phasellus malesuada eros volutpat eros blandit dictum. Maecenas velit tortor, rhoncus id orci vitae, venenatis condimentum elit. Nulla ante mi, viverra sit amet tempus vel, pharetra eu ex. Maecenas blandit, lorem non tincidunt facilisis, ligula lectus scelerisque tellus, ac facilisis est diam nec turpis. Vivamus nec ante ut justo dignissim rutrum. Curabitur ut odio et nisl convallis pellentesque eu ut lorem.
Pellentesque imperdiet egestas cursus. Mauris at dui facilisis, feugiat elit in, bibendum odio. Vestibulum magna purus, aliquam quis tincidunt et, accumsan vel est. Morbi commodo viverra aliquet. Sed dignissim vehicula nulla id sodales. Curabitur lobortis cursus nisl at congue. Ut bibendum leo nisi, quis consequat velit pharetra vitae. Nam laoreet, odio ut tincidunt pulvinar, sapien ex consequat metus, id venenatis massa lorem ultrices orci. Mauris ac metus mauris.
In ac feugiat leo, ac blandit arcu. Donec sit amet dolor non nunc pharetra vulputate. Curabitur in velit ac odio egestas semper. Ut mattis ex sodales scelerisque venenatis. -
Today's achievement, has successfully told my friend to create an account in Devrant. Guess what? My friend instantly love it.2
-
Politician or Actor. I acted in plays since my childhood, even though only minor roles, and my interest in politics is still high to this day. And if none of these had worked out I would've become a soldier. Leo goes wroooooom.
-
!Rant
Discovered jetBrains dotPeek today.
Wow ive decompile dll beforr but this is insanely good. I feel like i have the original sources to debug this POS lib now4 -
Going through some code I was handed to do an emergency project... Think of an aspx site that follows no design rule, like database access directly in the code behind. No models ect. So I'm going through this section that calls a function good start. Open the function find a class that contain code to access the database.. Humm ok this part look better that the rest. Read the code that validates if it exist in the database and gets the type back. So far so good then there is a get details function call.... Open up the fct ... Started crying... There is a 200+ lines switch case that goes over the type previously fetched..... And the type is stringed compare in the biggest switch case I've ever seen.... Fthis... I'm out1
-
"Make it simple. Make it memorable. Make it inviting to look at. Make it fun to read." - Leo Burnett
-
I am using Ubuntu+Windows 10 on my laptop
I have partitioned the hard disk in such a way that I have a portion where ubuntu is installed, a portion where windows is installed, and 2 other partitions which both ubuntu use common for data storage
it has been working fine till now
but today out of nowhere I am not able to access some folders on the common 2 drives in windows,
I am able to access all the folders in ubuntu but not in windows.
it says you don't have rights to access the folder
i try to change the settings the settings freeze and den I am not able to do anything
I have tried icacls in cmd but it's not working
any suggestions on how to fix this problem??2 -
I am busting moves rn. I'm in the bathroom but the surge of energy is making me pump my arms like the time Leo Messi scored a clutch winner against Valencia in 2019
Remember the plugin I referred to in this rant? https://devrant.com/rants/6019851/...
Yup! I managed to subdue that fossilised codebase. Effected all changes required. To have a rough idea about how ancient the code is, its classes use constructors predating PHP 5. It throws away the ~15 years of autoloading, view templates, routing engines, DI, ORMs (NO PDO!!), lower-cased multi word variable names, etc. I'm looking at SCRIPTS with raw functions north of 4-600 lines. The client insisted I zip the folder across
BUT! The good news is, we surmounted it. In fairness to them, it's commendable for one man to have pulled this off. The codebase is massive and appears to have been predominantly written by some Gideon dude. Who knows where he is now
There is one pattern I appreciate –something I wish Transphporm does–some segments of the rendered view are composed using class methods ie instead of having the HTML file mixed with templating syntax, you have class methods that receive the raw data. Then you can extend this class as you wish, overriding just the method that composes the segment you intend to modify. That was elegant to work with. But it can become dreadful if the class expects a specific structure of data (an array with weird keys) that you have no access to sourcing
So, I finally get to enjoy one good evening in 2/3 weeks. I called 2 friends to express an emotion that's not gloomy, but they were unavailable. Will probably get some sleep4 -
I took 2 days off, just to be far away from sprint board and tasks.... And just after 2 hours of my 1st day I am end up continuing on my assigned task 🤦♂️2
-
Is there a way to create pull request on git using CLI? I have tried request-pull option but quiet lost over there.9
-
Can you crack the code below?
"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque malesuada congue ligula, tincidunt faucibus augue gravida ac. Quisque varius justo in lobortis sollicitudin. Ut suscipit, ipsum vel maximus aliquam, purus nisl bibendum nulla, ac commodo nunc orci non leo."3 -
I have just allowed '*' on the rack-cors host configuration. Yiiiiihhhhaaaaa.. no cors problems on Rails again.
But hackers will go fuck my api. -
i have a hp laptop and Windows 10
I wanna install ubuntu but all my previous attempts have been unsuccessful
any tips?16 -
Immutable.js, Immutable
rb, Immutable.py, Immutable.java, Immutable.php.
Immutable.jpeg, Immutable.mp4. Love you Immutable. -
Bob the builder
Bob the builder sucks
This show is about Bob and his friends fixing things and going on adventures
Bob is an idiot
Wendy is awful.
Scoop is annoying.
Muck is stupid.
Leo is dumb.
Thank god they got cancelled in 20112