Joined devRant on 10/4/2017
Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
My desk at home
It's the fastest PC available to me
Better internet than most places
No one to interrupt me
I can play the guitar when bugs decide to be tenacious
And most importantly... free snacks :p8
I just came from a 3rd interview with a company. I don't know how I did really, they asked me to make a .net mvc project in 6 hours, when they know I've never used .net at all.
I had to learn the thing during the assessment, so I think I really did better than what one would expect. But I could've nailed it have I used something I'm more familiar with... I don't even know how to use the ide.
I learned quite some things, but then again it wasn't about learning, but about doing
Just felt like sharing really. Never felt so confused after an interview before. I did really good, but not really... haha
Well they said they will take things into consideration, but idk :/2
I was in second year of university, and one of my teachers had a company, so he hired me.
The project was for our Lebanese army, the department where they monitor news.
What's required was to create a desktop application that records a UDP stream carrying over a 100 tv channels. And at the same time display them in a grid on the main screen, where the user can select which channels to watch, also which one to hear + fullscreen capability + scheduling a recording + being able to reverse through this live feed
I had little knowledge in multimedia streaming and multiplexing (the art of cramming multiple videos in one stream). So I had to read a lot, and learn how that works, in order to write a decoder, a recorder, and the application. Also the stream itself had issues, the audio would break up, some channels had translations, weird encodings, etc... Plus the pc they were running all of these on was very bad. Multimedia encoding and decoding is really hard on a cpu, so I had to work around that...
After a few weeks I pulled it off, and my boss was happy as fuck, since 2 people before me have tried and failed miserably. But the captain I was developing this for was a pain in the ass. Requirement changes started pouring in like rain + they had technical issues with their signal, which affected the quality of the stream beyond what software can fix.
Fast forward, my boss eventually got fed up with the bs, and as always, decided to blame it on me. I wasn't paid 2 months, and he worked towards making me fail university, which I didn't cause I'm a lot smarter than 90% of those motherfuckers. But he did lay a lot of obstacles since he had high reach in there.
To this day, after 6 years, I still think this was my craziest project. And although that guy was an asshole. I'm pretty sure it's that project that made me who I am today.13
One of my teammates was threatened to be fired. I helped them stand back on their feet, and worked on improving their image in the company. Today they are one of the most reliable developers I know.
I audit another project at my company, and the person I mentor, although very smart, used to work in a very chaotic company, and thus used to write and maintain spaghetti code. Now his project, that we started from scratch, is honestly the cleanest I've seen yet.
I have to give credit to both of them for opening up and welcoming advice. We all got better do to our interaction.
Now of course I was and still being mentored by my current team lead. He's an alien cyborg genius who was sent to earth just to have fun trying to mingle with the human race. He's the kind of guy who would learn something overnight, and the next day would not only apply it, but be able to argue with people about best practices and controversies about that technology, and win the argument. I'm very grateful to what he has taught me, even though he can be a great pain in the ass sometimes :p5
HR: I need a Kotlin guy to fix something quick (in a room with 7 people)
First Koltin guy: I can do it tomorrow, I have a delivery today, maybe he can do it? (me)
HR to me: you a Kotlin guy? Can you do it?
Me: yeah sure, what is "it"?
HR: ffs don't ask too many questions, "it" is Kotlin, can you do it?
Me: ok fine, what team? project? who do I need to speak to so I can get details?
HR: omg you ask so many questions!! Fuck it I'll ask someone else!
Me: How am I supposed to fix "it" if I have no idea what "it" is?
HR: leaves the room
Fucking useless piece of shit!30
The Android app we work on has been ignored in terms of design for 3 years.
Everyone added their own colors, dimensions, strings, etc...
We have grey_1 through grey_9 along with light_grey, lighter_grey, etc...
hardcoded colors everywhere.
All fine until they asked for another flavor a month ago. I didn't panic/meltdown, I cleaned up as much as I could, divided things into templates like header_color, surface_color... It worked fine
Until they fucking asked to "unify" all of our company's apps, which is also fine except a lot of politics came into play. The customer wants one thing, the customer's designer wants another, our designer, our clients designers, my manager... all want different twists in different places. And the code is no way near being able to support all of this.
So I was like ... No I will make one fucking color for all things that serve the same purpose. Turned off the pc, sent an email that I will postpone the release, blocked the ticket, stopped a colleague while they were talking telling them to stfu... and took a 4 days surfing vacation, undeclared.
A dozen of waves later, I came back to work, deleted all references to colors and fixed around 1000 of them
If you know you have tech debt and just live with it... Fuck you!5
How I estimate time needed:
Does it take a week?
Does it take 3 days?
Does it take a day?
Does it take 4 hours?
Take the result, and make it 1.5 times said result3
And the stupidity continues...
So our app needs to "trigger" something on a different app. The backend dev of the second app decided that ours should prepare all the data, do all the logic, and send everything to them so all the other app has to do is to pull that data. All in formats that they designed, and using objects that we have no information about...
I will not implement another app's business into mine just for one fucking feature of theirs to work. I will send the fucking event, with any additional information that I have , and you stupid backend developers can link the shit together because it's YOUR FUCKING JOB.
WTF did these dumb fucks learn in schools? Does separation of concerns not mean anything at all?! ffs
No wonder this whole thing is a fucking mess. Our backend team is mentally disabled3
Fuck this stupid fucking shit!
It takes 10 days of fucking planning and meetings and bullshit just to send data from one app to another using the same backend!!
I warned about this a fucking year ago. They said nooooo, we will never need to use this again. Now I have to write redundant code just because the old services were so hardcoded, as fucking always with these shoes-for-brain retards.
We could've re-used the same module with no changes at all for fucks sake.
I am surrounded by fucking idiots...4
"Bad" is relative. When you're looking for your first internship, especially in a country with rare opportunities, any company might be "good".
As you evolve and become better, any company you work for eventually becomes bad.
It later on comes down to character. There are a lot of "passive" people out there, who just like things to stay the way they are, and would argue with you that the company is "good". Do you have that one guy at your company who's been sitting in the same chair for 11 years? Then there are people who will always be aiming for better, and will nitpick at anything, and anyone, and will never find everything good.
So my answer is you will never be able to avoid a bad company. The rule imho is that when you don't like a place, and if your circumstances allow it... you find yourself a "better" place.3
I really wish someday I could work on a project with a proper design. And no I'm not talking technical design but actual UX/UI
Everywhere I go we either have designers stuck in the 80s, with their gradients and pngs and shit, or even worse (like currently), there's no designers at all, and we just wing it or take a crappy suggestion from the customer.
It sucks to work hard on a product that simply looks like shit :/
My current project:
The database is google sheets maintained by a "data team". Basically data entry people are our DBAs.
There are no services, just a link to download everything in those sheets. The applications (mobile, web and windows) have to download everything anytime any user changes anything.
The front-end does all the db work, since the backend is shit! The front-end has it's own db, which is a well structured local db that we create fr the crappy data inserted in the sheets. The front-end sync up their changes locally, with no help from servers. The servers are just storage.
The only db on the servers is ONE table. That inserts a huge json file, everytime a user uploads their changes, along with a createdAt.
I'm on the Android app development, and the code was copied, litterally, from iOS code, and translated to java... from another similar project, then tweaked to work. No pattern is used what so ever, UI code and Business code are in one file. Like 1000 lines of code UI file.
We all talked about it. We all whined about how shitty it is. And don't get it wrong, the management did approve of refactoring. Which is what we did to the Android project (50% right now cleaned up). But the backend team are fucking pussies!
Company agreed to re-assign me once I'm done with some urgent tasks :)6
Being in charge. I don't care about how it happens, manager, architect, leader, etc...
I just want a peace of software to evolve the way I see it, not the way my manager does after he's spent the night dining with the customer.1
I'll speak for myself, and my own experience.... It's not evolving.
We used to do proper planning, documentation, design, best practices, etc
Now we have FUCKING AGILE :@9
Manager comes to co-worker, looking like he's in a hurry for a feature to be done...
Manager: Did you finish?
Manager: what were you working on?
Co-worker, me, everyone in that room: 🤨
I think he just grew a habit of being a rushing asshole that he doesn't even notice what he's in a rush for anymore
This is a response (kinda rant) to all the posts about Android that are like "App X needs access to my SMS, why would an app that does Y need access to SMS?"
The answer is login verification code, so you don't have to go to sms, and paste the code yourself.
Usually if you deny the access, the feature will not work, and that's it.
It might also be for the share option (though I'm yet to see an app that has share by sms)
To be honest, as an Android dev, what annoys me the most is that you can't ask for permission once, like for one feature, and then be deprived of it. Once you ask the user for permission, it's there, permanently (unless they disable it from app settings). It sucks to build such mistrust with users, when your intentions are good.
I'd say a nice thing to have in Android, is to ask for permission once, for one operation, with a proper explanation. For example, allow access to sms (maybe even more filtered like access to sms by X) just for the next operation which is the phone verification.
But meh... Google only seems to be stuffing Android with useless stuff that no one notices, and that devs aren't even excited about, leaving out very demanded stuff like closeTheFuckingKeyboardWhenTheUserTapsOutsideTheFuckingTextBox()
Oh btw, for all the whiners, it used to be even worse, where you agreed to give permissions right when you install the app. And tbh it was much less pain in the ass.5
2 weekend days, up to 4 am
Reason: Manager said on a Friday night "Release, what can go wrong?"
Everything went wrong!4
In University, first OOP project, we were supposed to pick from a list of projects, where they were very similar:
restaurant booking, airport booking, hotel booking, library management, etc... all of them are basically a software with a DB and some entities you needed to keep track of + a transaction for the user to see
Except this one project that was about plotting graphs. And I picked it because it's not boring.
I put in all effort I could, even learned multi-threading before it was explained to us (was scheduled for a year later) so to render graphs efficiently. It came out perfect. People were blown away by it!
Time for the useless feature:
Prof couldn't digest the fact that there isn't a DB and a stupid login. So I made one. You now need to login to draw a graph
So my car, that I only registered 15 days ago, somehow has a speeding ticket from 3 months ago, in a city I've never been to.
Great country I live in :)10
I just cleaned my emails. Made a rule for everything.
Jira, crashlytics, git, annoying twats, spam...
My main inbox is now only made of emails from actual people. If you want to reference emails from automated sources, you can go fuck yourself
It turned out that I had 4000 emails, only of which 340 are relevant!
Just wanted to share how happy I am now that I cleaned this mess up :)2
I see a lot of hardware people around here so I thought I'd ask..
I have 5 fans in my PC that are all voltage controlled (3 pin connector). I bought by mistake a fan hub that only supports pwm fans (4 pin connector). They are backwards compatible but the fans will run at 100%
I tried to make a circuit I found online to convert from 4 to 3 pin but it didn't work. There's a lot of comments on those forums and I honestly don't understand anything I read there... I don't read schemas well :/
I'd be very grateful if someone here knows what I need to do. I can solder well, but I need details on what parts to get (how many ohms resistors need to be, which wire goes where, etc...)28
Just finished swapping soft tubes for rigid ones.
Bending was a lot of fun :)
It's 4am, but I don't think I'll be able to sleep waiting for the leak test to pass13
The Android framework
The most basic of things are nightmares to implement. There is no functions like:
And yet all of these are asked for everyday.
Ironically, the not so needed things are more than available. For example, you can make an song using the vibration API
Not to mention the hell that's called LifeCycle. I would pay half of my soul to a developer who has mastered the Android LifeCycle... there's always a catch
Oh and... fragments/Activities. Ask 1000 developers about their view on them, and you'll get 1000 different answers. You know why? Because Android's official docs for a fragment is "A fragment is sort of like an activity" SORT OF LIKE...
Yeah fuck you Android!
PS: Im an Android user, anf love the UI and all. Just development on Android is hell!20