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 - "over"
-
--- HTTP/3 is coming! And it won't use TCP! ---
A recent announcement reveals that HTTP - the protocol used by browsers to communicate with web servers - will get a major change in version 3!
Before, the HTTP protocols (version 1.0, 1.1 and 2.2) were all layered on top of TCP (Transmission Control Protocol).
TCP provides reliable, ordered, and error-checked delivery of data over an IP network.
It can handle hardware failures, timeouts, etc. and makes sure the data is received in the order it was transmitted in.
Also you can easily detect if any corruption during transmission has occurred.
All these features are necessary for a protocol such as HTTP, but TCP wasn't originally designed for HTTP!
It's a "one-size-fits-all" solution, suitable for *any* application that needs this kind of reliability.
TCP does a lot of round trips between the client and the server to make sure everybody receives their data. Especially if you're using SSL. This results in a high network latency.
So if we had a protocol which is basically designed for HTTP, it could help a lot at fixing all these problems.
This is the idea behind "QUIC", an experimental network protocol, originally created by Google, using UDP.
Now we all know how unreliable UDP is: You don't know if the data you sent was received nor does the receiver know if there is anything missing. Also, data is unordered, so if anything takes longer to send, it will most likely mix up with the other pieces of data. The only good part of UDP is its simplicity.
So why use this crappy thing for such an important protocol as HTTP?
Well, QUIC fixes all these problems UDP has, and provides the reliability of TCP but without introducing lots of round trips and a high latency! (How cool is that?)
The Internet Engineering Task Force (IETF) has been working (or is still working) on a standardized version of QUIC, although it's very different from Google's original proposal.
The IETF also wants to create a version of HTTP that uses QUIC, previously referred to as HTTP-over-QUIC. HTTP-over-QUIC isn't, however, HTTP/2 over QUIC.
It's a new, updated version of HTTP built for QUIC.
Now, the chairman of both the HTTP working group and the QUIC working group for IETF, Mark Nottingham, wanted to rename HTTP-over-QUIC to HTTP/3, and it seems like his proposal got accepted!
So version 3 of HTTP will have QUIC as an essential, integral feature, and we can expect that it no longer uses TCP as its network protocol.
We will see how it turns out in the end, but I'm sure we will have to wait a couple more years for HTTP/3, when it has been thoroughly tested and integrated.
Thank you for reading!27 -
Insanity: Doing the same thing over and over and expecting different results.
Programming: Doing many different things numerous times and expecting a single result.2 -
Clearly Mozilla is the villain here for prioritising privacy and personal freedom over censorship, control, and surveillance. Oh, our parental controls don't work! WON'T SOMEBODY THINK OF THE CHILDREN! wtf18
-
Me: So i've cloned the iOS project, i've run carthage, but it won't build.. Have I done something wrong?
Devs: Oh read this doc on github, we do loads of custom stuff. The depenedncy manager can't do it all by itself. You need to run `./scripts/boostrap.sh`
Me (another day): I've switched branches and i'm getting all these errors. Any ideas?
Devs: Ah this happens when someone modifies xyz. Read this pinned slack message. Run `./scripts/bootstrap.sh` again.
Me (another day): I've switched branches again, getting different errors, re-running boostrap didn't fix it.
Devs: Ah yeah, this happens when someone modifies abc. You need to run `./scripts/nuke.sh` and then boostrap when this happens.
Me (another day): Guys When I try to run the prod app its not building any ideas?
Devs: Ah yes have a look at this confluence link. You need to run `./scripts/setup_debug_release.sh`, then nuke, then boostrap and you'll be good.
Me: .... ok
Devs: Oh btw very important! do not commit any changes from `./scripts/setup_debug_release.sh`. It will break everything!
Me: ... no i'm sorry we have a much bigger problem than that. We need to talk ... like right now7 -
The office toilet chronicles - episode 2
Someone here has a fucking sprinkler where they should have a penis. Is it so hard to aim? Or fucking sit?3 -
I don't get it
My brain does not have the capacity to understand it
How the fuck does my colleague manage to write 12 classes/interfaces for something so stupidly simple??
Two classes, a hand full of functions, done.
Why do you need this level of abstraction?
To mock the interfaces in unit tests? The unit tests you didn't write because "they're not necessary"?
No one will be able to understand this clusterfuck of a module even though it's entire purpose is "read number and write number elsewhere"...21 -
So this chick has been super nice to me for the past few months, and has been trying to push me towards a role in security. She said nothing but wonderful things about it. It’s easy, it’s not much work, it’s relaxing, etc.
I eventually decided I’m burned out enough that something, anything different would be good, and went for it. I’m now officially doing both dev and security. The day I started, she announced that she was leaving the security team and wouldn’t join any other calls. Just flat-out left.
She trained me on doing a security review of this release, which basically amounted to a zoom call where I did all of the work and she directed me on what to do next, ignored everything I said, and treated me like an idiot. It’s apparently an easy release. The work itself? Not difficult, but it’s very involved, very time consuming, and requires a lot of paper trail — copying the same crap to three different places, tagging lots of people, copying their responses and pasting them elsewhere, filing tickets, linking tickets, copying info back and forth to slack, signing off on things, tagging tickets in a specific way, writing up security notes in a very specific format etc. etc. etc. It’s apparently usually very hectic with lots of last-minute changes, devs who simply ignore security requests, etc.
I asked her at the end for a quick writeup because I’m not going to remember everything and we didn’t cover everything that might happen.
Her response: Just remember what you did here, and do it again!
I asked again for her to write up some notes. She said “I would recommend.. you watch the new release’s channel starting Thursday, and then review what we did here, and just do all that again. Oh, and if you have any questions, talk to <security boss> so you get in the habit of asking him instead of me. Okay, bye!”
Fucking what.
No handoff doc?
Not willing to answer questions after a day and a half of training?
A recap
• She was friendly.
• She pushed me towards security.
• She said the security role was easy and laid-back.
• I eventually accepted.
• She quit the same day.
• The “easy release” took a day and a half of work with her watching, and it has a two-day deadline.
• She treated (and still treats) me like a burden and ignores everything I said or asked.
• The work is anything but laid-back.
• She refuses to spend any extra time on this or write up any notes.
• She refuses to answer any further questions because (quote) “I should get in the habit of asking <security boss> instead of her”
So she smiled, lied, and stabbed me in the back. Now she’s treating me like an annoyance she just wants to go away.
I get that she’s burned out from this, but still, what a fucking bitch. I almost can’t believe she’s acting this way, but I’ve grown to expect it from everyone.
But hey, at least I’m doing something different now, which is what I wanted. The speed at which she showed her true colors, though, holy shit.
“I’m more of a personal motivator than anything,” she says, “and I’m first and foremost a supporter of women developers!” Exactly wrong, every single word of it.
God I hate people like this.20 -
MOTHERFUCKING MICROSOFT!!! JUST SEND ME THIS FUCKING EMAIL !!!! WTF IS WRONG WITH YOU?!?!? EVERY FUCKING TIME IT TAKES TOOOOOOO MUUUUUCH TIME TO RECEIVE ANY FUCKING CONFIRMATION EMAIL!!! ITS FUCKING 2017 ALREADY GET YOUR SHIT TOGETHER YOU PIECE OF SHIT8
-
Last meeting of the day was actually good. Managed to get to the point! Booking this room over and over again!5
-
Neural network based 3D indoor location tracking on a moving ship in the middle of the ocean with ar visualization for the crew to find guests.
You are on a cruise, you have an app on your phone to order stuff (drinks, meals etc)
Once you order an indoor location system calculates your position (based signal strength on training) on the ship(x, y, z)(deck, area etc) and sends it to the crew.
The crew wears an ar glass and once your order is ready they get a realtime ar navigation to you.
It was seriously over-engineered 😀
We used the phone’s bluetooth and beacons on the ship to calculate the position based on signal strength.12 -
Working on code that we took from other devices company. We found this brilliant thing in one of their function (check catch blok)1
-
"An experienced developer is one who doesn't make any new mistakes, but repeats the same old ones over and over."
-
when your laptop freezes and you have to hold the power button. feels like putting a pillow over someone, "it'll be over soon... sshhhh shhhhh..."4
-
Deleted over 1'500 lines of code over the last 2 days and replaced it with 80 lines of readable, simple, generic code.
And I'm feeelin' gooood 🎶7 -
Einstein :" Insanity: doing the same thing over and over
again and expecting different results.
Me: O yeah? Try nondeterministic algorithms3 -
I decided to give my old keyboard a makeover. The top bezel used to be silver in color.
Dell SK-81253 -
!rant
After reading the wiki page over and over, I was finally able to implement Dijkstra's algorithm 😃4 -
so... i'll probably be joining my first job in 17 days.
My profile is *supposed to be* devops engineer (not that i know much about it, they just felt i was better suited for it than java programming (and i do agree)), although, apparently, the offer letter states java engineer and i talked to them about it, they said that it's a standard template but u are chosen for devops only. i hope that is true.
mostly i feel really upset that college will be over, but i am kinda excited about the job too.
wish me luck guys 😅😅😅13 -
When you find a tool / service online, go to the pricing page and it has a "get a quote now" button.
You can already tell its a massive rip off, but they feel the need to explain to you why.1 -
Hardware of laptops today.
Displays: Glossy screens everywhere. "Hurr durr it has better colors". Idgaf what colors it has, when the only thing I can see is the wall behind me and my own reflection. Make it matte or get it out.
Touchpads: Bring back mechanical buttons. Haptic feedback dying with touchscreens/surfaces is a tragedy. "But we can have bigger touchpad area without buttons" ...why? the goal shouldn't be 1:1 touchpad vs. display ratio. It ain't a bloody tablet.
Docking stations: Some bright fucker figured out that they can utilize USB C. That thing keeps falling out with slightest laptop movement disconnecting all peripherals (guess why microUSB had those small hooks?). Also it doesn't have sufficient throughput, so the 5 years old dock can feed 3 full HD monitors just fine and the new one can't.
Keyboards: Personally I hate chiclet. And it's everywhere, because "apple has it so we must too". But the thing I hate even more is retardation of the arrow keys (up and down merged into size of one key), missing dedicated Home/End/PgDwn/PgUp buttons and somebody deciding the F keys are not needed and started replacing them with some multimedia bullshit.
My overall feeling is that this happens when you give the market to designers and customer demand. You end up with eye candy and useless fancy gadgets, with lowered ergonomy and worse features than previous generations of the same hardware. My laptop dying is my daily nightmare as I have no idea with what on the current market I would replace it.5 -
sometimes in my head i go through code i wrote some time ago and think: "did i think of this case? if that happens something could go very wrong." when i look at the code i see that i already thought about it and catched the case back then. then i am like "daaaamn i am good".
do you know that feel? :D1 -
!dev
My neighbours have so many fucking IoT devices that they basically fuck over the entire 2.4GHz spectrum over here just by themselves...
Thanks for that you cuntbags.32 -
Wtf. My mobiles 4 core CPU by default is clocked at 1190MHz. So I just wanted to see if I can over clock it a little (coz why not) and edited some stuff in my kernel. Now it runs stable at 2265MHz.... I mean.... Why the fuck didn't they apply that by default if its possible?12
-
!rant
In the past week I simultaneously got my degree in the mail and landed a pretty sweet job at a startup that I start working for tomorrow. Things are looking up!5 -
My favorite excuse overheard for running Windows over Linux: "I like my sh*t to work."
Then... as if it was planned, his presentation PC running Windows force rebooted to install patches.8 -
So I'm a backend engineer and my boss keeps telling me I over engineer stuff. I'm never given a technical spec or architectural spec, just told what to do so I build. But apparently I over engineer? Admittedly I do tend to but recently I cba and done the most basic thing. Apparently its over engineered.
Would you agree that to say something is over engineered a technical requirements document is required in order to specify over engineered said request needs to be?
Ps: my boss is an inappropriate cunt. Finally got that out.
Feel like hes just making arguments with me to get rid of me because I didnt want to cuddle in bed with him after he gave me an uncalled for back rub..14 -
[long]
When searching for internship via school I found this small startup with this cute project of building a teaching tool for programming. There were back then 2 programmers: the founder and the co-founder.
Then like 1 week before the internship started, the co-founder had a burnout and had to get off the project, while the company was so low on budget the founder, aka my new b0ss, had to work separate jobs to keep the company alive. (quite metal tbh)
It's funny because I'm a junior developer, 100%. I've been coding as a hobby for around 8 years now but I've never worked in a big company before. (No exception to this workplace either)
First project I get: rewrite the compiler. The Python compiler.
"But wait, why not just embed a real compiler from the first case?"
-nanananana it's never simple, as you probably know from your own projects.
The new compiler, as compared to existing embedded compiler solutions out there, needed these prime features:
- Walk through the code (debugger style), but programmatically.
- Show custom exceptions (ex: "A colon is needed at the end of an if-statement" instead of "Syntax error line 3")
- Have a "Did-you-mean this variable?" error for usage of unassigned variables.
- Be able to be embedded in Unity's WebGL build target
All for the use case of being a friendly compiler.
The last dash in the list is actually the biggest bottleneck which excluded all existing open-source projects (i could find). Compliant with WebAssembly I can't use threads among other things, IL2CPP has lots of restrictions, Unity has some as well...
Oh and it should of course be built using test-driven development.
"Good luck!" - said the founder, first day of work as she then traveled to USA for **3 weeks**, leaving me solo with the to-be-made codebase and humongous list of requirements.
---
I just finished the 6th week of internship, boss has been at "HQ" for 3 weeks now, and I just hit the biggest milestone yet for this project.
Yes I've been succeeding! This project has gone so well, and I'm surprising myself how much code I've been pumping out during these weeks.
I'm up now at almost 40'000 lines of source and 30'000 lines of code. ‼
( Biggest project I've ever worked on previously was at 8'000 lines of code )
The milestone (that I finished today) was for loops! As been trying to showcase in the GIF.
---
It's such a giant project and I can honestly say I've done some good work here. Self-five. Over-performing is a thing.
The things that makes me shiver though is that most that use this application will never know the intricates of it's insides, and the brain work put into it.
The project is probably over-engineered. A lot. Having a home-made compiler gives us a lot of flexibility for our product as we're trying to make more of a "pedagogic IDE". But no matter that I reinvented the wheel for the 105Gth time, it's still the most fun I've had with a project to date.
---
Also btw if anyone wants to see source code, please give me good reasons as I'm actively trying to convince my boss to make the compiler open-source.
Cheers!4 -
My JetBrain studient licence is over ... :'( RIP i dont have budget to buy good IDE.
welcome back VScode16 -
The new mobile app codebase i'm working with, was clearly written by someone who just read a book on generics and encapsulation.
I need to pull out 2 screens into a separate library to have it shared around. The 1 networking request used is wrapped up in a 'WebServiceFactory' and `WebServiceObjectMapper`, used by a `NetworkingManager` which exposes a generic `request` method taking in a `TopLevelResponse` type (Which has imported every model) which uses a factory method to get the real response type.
This is needed by the `Router` which takes a generic `Action` which they've subclassed for each and every use case needing server communication.
Then the networking request function is part of a chain of 4 near identical functions spread across 4 different files, each one doing a tiny bit more than the last and casting everything to a new god damn protocol, because fuck concrete types.
Its not even used in that many places, theres like 6 networking calls. Why are people so god damn fucking stupid and insist on over engineering the shit out of their apps. I'm fed the fuck up with these useless skidmarks.3 -
Computer science doesn't just mean teach me how to use Microsoft office over and over... MS Access is not useful!!!5
-
In the next 40 years devRant will be non-existential because developers wont be there anymore, you know why?
AI takes over the world.. writes its own code and build new products.
Suck it.
Signing off
- Elon Musk
(personally, I love this guy)22 -
Your code is supposed to solve the primary problem you have. It is not supposed to create problems and solve those problems you do not have initially.5
-
I realized how overly complicated I wrote certain object oriented code a few months ago and now I have to work around it...
I over engineered it... I became the very developer I hate5 -
Update:
The wasp is still alive.
I walked in today to find the damn buzzy mother-earth-fucker on the window. It doesn't have much energy now, and I didn't let it out because mofo got the chance a million times over to just leave me the fuck alone. So I just let it be. no idea where in the lab it is hidden now, and the robots will watch him all night, every night.
And you know what, I'm not gonna open the damn window for it ever again.
(Sat in my hoodie, wrapped, the whole day and was paranoid about it flying and sitting on me, but the war is on. He won't get out of this lab alive. )16 -
You know you have some power, when your boss asks you for your opinion and advice about how to structure an upcoming project and which technologies and frameworks to use.
Give me that raise already.1 -
- be me
- get home hook laptop up to tv, realise you left your wireless mouse at work *fuck*
- remember you still have a wireless keyboard and are pretty handy with shortcuts *duh*
- use keyboard magic, launch Netflix and play the show you want to watch *yay 🎉*
- realise the fucking cursor is over the play bar so you have to get up anyway. *fuck*
These days keyboard shortcuts can only take you so far.6 -
Tru story:
We have a folder that we keep as shared documentation known as Javascript And PHP Fuckery made by yours truly in which I added a bunch of fixes to fuckery written in those 2 languages by previous developers.
The entire department has access to those files(as in all of IT) and I have been commended by the head of our department for my determination and uncanny ability to spot fuckery and fix it.
He says that he "thoroughly enjoys my colorful mastery of language, sarcasm and cognitive imagery when dealing with documentation regarding the code horrors done by previous developers"
By cognitive imagery he said that he meant my thought process and that he wouldn't trust a developer that does not use this language.
Fucking killing it b.
I'll let y'all(as in youse) when I am done with my Book(if anyone here steals the idea of the title as js php fuckery i am gonna sue you)1 -
Don't Repeat Yourself. Don't Repeat Yourself.
3 words you need to keep repeating over and over to colleagues that, well, keep repeating themselves in code.3 -
Seriously.. Getting job apps rejected because I'm over qualified for the job.
Well, if I wasn't interested In the job and staying if hired, then I wouldn't have had written a tailored application..11 -
Other people:
- I got 20k upvoted post on 9gag
- I got 25k over like on my fb profile picture
Me:
- I got 200 over ++ on devrant :D1 -
My wife is starting to learn how to code. Now is finally understanding when I say this function will be over when is over.
-
*Writes email*
*Reads over email*
*Reads over a second time*
*Skims over one last time*
*Sends*
*Goes to outbox*
*Reads what I just sent*
"Hope I didn't miss anything"2 -
Him: Why choose 200 over 500, minimalist?
Me: Why choose an internal server error over a successful request? Less is more. -
TL;DR
Front-end dev trying to dictate back-end tech.
We are gonna start split stack (front / back ) development with the following projects and this stupid fucker who knows jackshit about backend , servers, etc... , is more versed in front end stuff and said herself that she knows nothing about databases told me this:
"No way we are gonna use Java."
I politely said:
"We are gonna analyze the projects requirements and see what technologies best fit the scenario"
Me inside my head:
"SHUT THE FUCK UP YOU STUPID CUNT, GET YOUR FUCKING JAVASCRIPT AND SHOVE IT UP YOUR ASS!! IF WE DECIDE TO JAVA THE SHIT OUT OF EVERYTHING THATS HOW ITS GONNA BE!"4 -
Developers, we ARE the definition of insanity. Doing the same things over and over again, expecting things to change.
-
can we actually 3d scan all found human ancestor bones and draw bone structure changes over years ?
gene testing companies could show this animation over their websites.16 -
Its over.
Its finally fucking over.
Ive done it.
Finished my internship and can finally leave this shithole for good!6 -
Our job is basically doing something new or something we've never done everyday and trying to guess things over and over again until it works.3
-
Twenty years ago today (I double-checked) my father bought me the Liberty Basic compiler for my 8th birthday, marking what I consider my first foray into programming.
Thanks to that, I'm a tired and moderately happy 50 year old man.
Happy birthday, hobby from hell. :)5 -
`This is not over......................Young man...`
Is what I say to my IDE everyday before heading home1 -
After working for months , I've understood that we should overestimate the time that will be taken to complete a task
But now it's getting annoying , I mean It's been a week I finished my project and am ideal ,
Btw, the project timeline was a week , ( I finished the work in a day ) -
Me busy coding, trying to hit the dateline.
PM stretches his arm and starts working after getting bored browsing facebook. *Time to get productive
10 mins later. comes to me with a list of changes. To a project I finished last week, saying it's urgent. Have to be done today. He promise the client to fix these Changes by the end of this week. *wow thanks for pilling me with this now
.... one week later. client emailed and question us. On a few of the (PM self initiated ) changes and want us (me) to revert. -.-3 -
Data Scientists/Researchers
Stop building libraries.
You can't build libraries.
You're not software engineers.
Write your script as plainly as possible.
Why?
Cus for every fucking paper that has code associated with it, unless it's from Meta or Google, I'm having to edit to make shit work.
Stop over-engineering shit.
Write your model and fuck off.12 -
One time I was building a custom modal for some crappy WordPress template and I was having trouble with the header rendering above my backdrop, after digging into the CSS I realized the headers z-index was literally set to 9001.1
-
Dear colleagues. Please use your brain. Don't ask me the same things over and over again. It's really annoying... 😡2
-
I am honestly surprised in how many different ways C++, VS, and libraries are able to fail over and over and over again.
Fuck you C++ libraries
Especially fuck Visual freeze Studio5 -
I hate that I can watch Silicon Valley over and over and love every episode Everytime. (Don't really hate it just needed it to sound like a rant.11
-
Sprint 0: This design is the appropriate amount of engineering abstraction.
Sprint 2: This is over-engineered, too much work
Sprint 5: This is under-engineered, too many edge cases
Sprint 10: This is over-engineered, component Foo could be replaced by a bash script
Sprint 42: Foo is now the cornerstone of half our business logic2 -
I recently tried to apply the same data analytics rationale that I use at work to my personal life. This is not a rant, it is more like an data storytelling of an actual use case I would like some input on.
I set a goal - gotta thin up a bit and calm down my ticker - and got a (almost unreasonably expensive) field expert consultant to yell at me about it for a couple hours.
I unravel the metrics - there is like a million weight-related KPIs and most say nothing at all. I have never seen an non-infrastructure measurable subject that could not be resumed to 2-5 performance metrics. I got overall weight, how well my nine-years-old business suit fits me, heart rate, and day-after relative muscle pain (it will make sense soon).
Then its data-pipeline time. I bought a cheap weight scale and smartwatch, and every morning I input the data in an app. Yes, I try to put on the suit every morning. It still does not fit.
After establishing a baseline, I tried to fit different approaches. Doing equipment-free exercises, going to the gym, dieting. None was actually feasible in the long run, but trying different approaches does highlight the impacts and the handling profile of each method.
Looking at the now-gathered data, one thing was obvious - can't do dieting because it is not doable to have a shopping list and meals for me and another for the family.
Gym is also off the table - too much overhead. I spend more time on the trip there and back than actually there.
And home exercise equipment is either super crappy or very expensive. But it is also the most reasonable approach.
So it is solutions time. I got a nice exercise bycicle (not a peloton), an yoga mat (the wife already had that one) and an exercise program that uses only those two resources. Not as efficient without dieting, not as measurable and broad as the gym, but it fits my workflow. Deploy to production!
A few months pass and the dataset grows. The signal is subtle but has support - it works! The handling, however, needs improvement, since I cannot often enough get with the exercise program. Some mornings are just after some hard days.
I start thinking about what else I can improve in the program, but it is already pretty lean and full of compromises.
So I pull an engineer and start thinking about the support systems and draft profile. What else could be draining my willpower and morning time?
Chores. Getting the kids ready for school, firing up the moka pot, setting the off-brand roomba, folding the overnight-dried clothes, cooking breakfast, doing the dishes, cleaning the toilets. All part of my morning routine. It might benefit from some automation.
Last month I got that machine our elders call "wasteful" and "useless crap lazy entitled Americans invented because they feel oh-so-insulted for simply doing something by hand like everyone always did" - a "dish-washer".
Heh, I remember how hard was to convince my mother-in-law that an remote-controled electric garage door would not make she look like an spoiled brat.
Still to early to call, but I think that the dishwasher just saved me about 25 mins every morning. It might be enough to save willpower for me to do more exercise.
This is all so reflective of all data analytics cases really are out in the wild - the analytics phase seems so small compared to the gathering and practical problem-solving all around. And yet d.a. is what tells you that you are doing the wrong thing all along. Or on what you should work next.7 -
Manifesto for class naming
Through my work as a professional developer, I have come to value:
ComponentMapper over ComponentMappingService
TransactionalSequencer over TransactionalSequencingService
PayrollCsvGenerator over PayrollCsvService
InternalTestRunCreator over InternalService
Please people, just call them what they are. Forget the noise words and fluff. To quote Morpheus:
“Stop trying to name me and NAME me” -
My professor asked me today why I wanted to build my project using OOP.
This is a 480 level course and I have 2 1/2 years experience building well over 30 projects with OOP. And yes, we have students here who are nervous about the idea of using OOP. Nevermind that I and others took two classes on the topic.
I have hit my dispair event horizon. It has to get better from here. 🤯😬🤬🤬🤮☠️4 -
// Task: add one to the input number
// Sane people:
// print(int(input())+1)
// Me:
n = [*(reversed(bin(int(input()))[2:]))]
tmp = ""
for i in range(len(n)):
tmp = n[i]
tmp = "1" if tmp == "0" else "0"
n[i] = tmp
if tmp == "1":break
if tmp == "0":n+=["1"]
n = "".join(reversed(n))
n = int(n,2)
print(n)7 -
when your project manager makes you redo the same tickets over and over because she keeps messing up her usability tests
-
Freaking hate it when people's ringtones go off randomly at work. Gonna go mad listening to the same 4 seconds of despacito over and over again 😠
-
Replaced a colleague's busted HDD and gave him the old one to copy over stuff.
When I came back, the guy was about to copy over the root folder of the old one over the new one .... And I mean 'drag and drop' not even 'cp -r' -
Some of my co-workers are so fucking dumb. Their thought process....
Let's re-run tests that are currently failing over and over until it works
😡
like bitch....fix it then run it! don't just run shit over and over to make yourself look busy.1 -
Data Science MSc instead of Computer Science. Or realising that my first 4 years of work was as a Data Scientist and I should have asked to have my job title reflect that. Skipping faang, at least relatively early in my career (that's a whole thing I want to write about but not rn). Not spending a year out of work due to health problems & nearly dying.
It could have been better, but I've enjoyed it.4 -
Starting.
Because you build the same boilerplate over and over again.
People recommending me shit I didn't ask for in 3...2...1... -
Configuring apache is so fucking repetitive and inefficient. No for loops. No arrays. Just repeating damn near the same lines over and over and over again.
Oh you want to listen to 20 ports? I hope you like copying and pasting.4 -
I have mixed feelings about job hunting. I love the thrill of the chase and securing interviews but I'm so tired of proving myself over and over in interviews.2
-
So I know i did a best and worst case already for 2017
But apparently it's not finished yet!
This will probably a short one:
Best thing to happen to me this year: I applied for a VR game and despite at this very moment i'm in thr trial period (to see if I can do work) i've succesfully landed a job.
I've spent months rewriting and rewriting my CV applying for standard software dev jobs, either being turned down for not enough experience for Junior roles, where they want someone out of university, where I have 1 year of both iOS and android experience, that is still not good enough for their shitty little app.
After all of that effort I turned to just borrowing my head and developing my game, to the point i have bits of the game practically done (bare bones crafting and building works 100% just has bugs in some specific cases). A friend of mine got a game dev job and he helped me out by showing me what his CV and cover letter looked like, i mimiced the style (in a sense) and added my own specific additions for VR. At the exact same time i got an invite from unity connect (which i had totally forgotten about) which i then scowered through jobs until I found something awesone "a job for a unity VR developer".
After contacting the guy about the job, we ended up having a voice chat over discord and he seems pleased with the fact I tome on my hands! Sadly the job is not some hourly paid job, however from what i've seen from youtube gameplay footage it looks very well done, and that leads me to getting revenue share.
Anyways i'm just so happy that with a couple days to spare in the year LOL i got a job! Sure i won't get paid yet but I got a flipping job, it is what i wanted for christmas!!
It is a gamble being revenue share and all but i'm willing to risk it! -
Load a medium post. Wait for the entire junk to download. Or stop the loading if you just want to read the text content
But Medium has other ideas. Hook to the cancel event, show a useless page which only has the reload link. And why would it trigger the HTTP 500 status code to be sent? 🤔9 -
Forget about everything I could say these last 2 days: I'm having as much fun with Docker than when I first discovered Ruby on Rails 3 years ago 😍
I still don't understand everything with docker-compose & shit but so much things are way more clear when you try them out!1 -
Taking over a deserter's work, the level of over abstraction and over generalization is off the charts.
WTF-per-minute (WPM): 33 -
When someone over complicates everything. Turns what could be a three paragraph billeted system launch email into four dense pages that no one will finish reading. First page tooting their horn for a job not well done. Usually 'less is more'2
-
That's the kind of project I have to work on now which was developed for a year and has no documentation at all... 😰🖕🏻👿1
-
I was asked to make proof of concept small frontend app with some simplified requirements, they asked me because it should be written in the stack I done most of my career work with. I do it in 3 days instead of 5, using those 2 days to optimise the app and explore different approaches. I noted down my findings, what to avoid and reasons and also what is good to use and reasons and shared with everyone.
We waited for the project to start, I started working on another project in the meantime and there was a big rush to make project go live etc., so I was consumed 100% on that new project.
So they put in charge backend php developer to do frontend js work. I said ok, do you need help in starting out? Nah, my proof of concept repo is enough.
4 days before that small project goes live they asked me to do code review. All things I noted down to avoid are in the codebase, few bad practices but everything is over-engineered (in a very bad way), some parts should be more flexible as current setup is very rigid, having almost all kinds of CSS, I saw SASS, CSS variables, 2 different CSS-in-JS tools with some additional libraries that is used to toggle classes.
I don't know how to approach this as I am not asshole as a person and I don't want to say to my colleague that his codebase is completely trash, but it is.
The worst parts: They called me to help finish the app and budget is almost spent!
I would rewrite the whole app as the state of the current app is unusable and everything is glued with bad Chinese ducktape that barely holds.
Additional points because it won't bundle as everything is f**ked.
I am seriously thinking of duplicating master branch and refactor the whole fricking app but won't do that as I am burning midnight oil on other two projects. Don't worry overtimes are paid.
I hate those shitty situations, this project was supposed to be tiny, sweet and example of decent project in this company but it is instead big fat franken-app that will be example how smart it is to avoid putting backend dev to do frontend work (I also agree for vice versa)! -
Any Java (JavaFX) developers interested in tutoring me, or helping with my open source project?
Preferably over Telegram, but could be over Twitter or Email.11 -
Hmmmm. Just looked at my security log for my outlook account. A bunch of unsuccessful sync attempts... from China, from South Africa, from Colombia, from Poland, from Vietnam, and from Brazil. All of them IMAP attempts. Good to know my password isn't compromised, but I think I'm going to reset it and double it's length, just to be sure.2
-
Manager said we need to use Queue. Several meetings after then I looked at prototype by 6 senior devs:
A QueueListener connects to RabbitMQ check for payload then *disconnects*;
A TaskProvider in ASP.Net.MVC.Core(whatever it is) listening http and dependency inject that QueuePoller;
A Visual Cron timer calls that http url every 5 minutes.
Wait for it: a set of database tables to store messages for another MessageProcessor.
It’s a XML to CSV file conversion project consists of 43 unique projects under a solution. I did it within 500 lines of Node with ElasticSearch and told we don’t use fancy new stuffs here.1 -
What would've taken the whole night to figure out, had i continued last evening to pursue it, was figured out in less than an hour this morning.
Resonates the fact that sleeping over something helps and that when fucked up take a walk/sleep. -
For some reason I keep over engineering stuff to the point I spend 2 hours thinking the best way to do something. I'm making the backend for a project of mine and I wanted somewhat decent error handling and useful error responses. I won't go into detail here but let's say that in any other (oo) language it would be a no-brainer to do this with OOP inheritance, but Rust does OOP by composition (and there's no way to upcast traits and downcasting is hard). I ended up wasting so much time thinking of how to do something generic enough, easily extendable and that doesn't involve any boilerplate or repeated code with no success. What I didn't realize is that my API will not be public (in the sense that the API is not the service I offer), I'm the only one who needs to figure out why I got a 400 or a 403. There's no need to return a response stating exactly which field had a wrong value or exactly what resource had it's access denied to the user. I can just look at the error code, my documentation and the request I made to infer what caused the error. If that does not work I can always take a quick look at the source code of the server to see what went wrong. So In short I ended up thrashing all the refactoring I had done and stayed with my current solution for error-handling. I have found a few places that could use some improvement, but it's nothing compared to the whole revamp I was doing of the whole thing.
This is not the first time I over engineer stuff (and probably won't be the last). I think I do it in order to be future-proof. I make my code generic enough so in case any requirements change in the future I don't have to rewrite everything, but that adds no real value to my stuff since I'm always working solo, the projects aren't super big and a rewrite wouldn't take too long. In the end I just end up wasting time, sanity and keystrokes on stuff that will just slow down my development speed further down the road without generating any benefits.
Why am I like this? Oh well, I'm just glad I figured out this wasn't necessary before putting many hours of work into it. -
The colleague who did this cited "Keep it simple, stupid" in another PR.
?????
https://devrant.com/rants/4497101/...3 -
Is it me or you also feel guilty for handing over the shitty code that does the job and try to make it better before handing over?
-
If you have enough of your own Spotify-playlists just try out their radio functionality.
It makes you actually appreciate playlists with less than 20 tracks for their diversity...3 -
Today was:
Fuck it, this API makes no sense I'm tired of trying to make sense of it...
-clickity-
-clickity-
-clickity-
-clickity-
-clickity-
OMG this makes more sense, why didn't I do this at first?1 -
He: Please help me understand loop vs iterator..
Me: Loop is which iterates over data
He: Then what's Iterator?
Me : Iterator is when we loop over data6 -
I am convinced that after this years-over-timeline millions-over-budget website goes live we will all be fired because it is dog shit.1
-
!ran Why cant companies work with employees over skype and other software instead of everybody having to physically go to a workplace?
Wouldn't it be more convinient to just connect over such softwares, and share code over github and stuff?
Or what is the reason that companies want to have their employees in a building?
No workplace = less money spent?
I'm not in a job yet and have no experience out of highschool working else where.
I'm just curious on what your opinions are.6 -
when you have 2-4x better network throughput accessing a computer next to you over WAN than over LAN .....6
-
Tl;dr Why would someone preconfigure a hardware raid on a server AND NOT TELL ME?
Recently we got a refurbished server that has some nice specs and works quite well. It had six 2.5 bays and came with two 248gb HDDs. But it only included 2 rails, so we needed more, and we got more.
I installed windows on it (yes, some of the software we use is windows only), and for some odd reason the forth HDD (this was the second one that was pre shipped) wouldn't show up in the disk management, which was odd especially considering the fact that the SAS did detect it, and would get pissed at me if I took it out. I was in a rush so I left it alone for then.
I had needed to setup a raid for these, and while I was trying to figure out what was wrong, I noticed that windows can do a software raid so I set it up on the third HDD (which is the first pre included HDD). I haven't actually used it yet.
At some point I stated to mess with the HDD that wasn't showing up (switching them around, etc.), when I noticed that windows saw the raid was setup on both of the HDDs, which made me wonder what was going on.
So I decided to check the SAS to see if there was something wrong there, as it was booting, bios let me know that there was a raid that was in the process of rebuilding, so then I thought "oh cool, windows actually does a hardware raid!" Well actually it doesn't, as I was looking I saw that this raid was only setup on the two HDDs that were acting funny, and therefore it was only coming up as one device in windows. I wasted an hour trying to find that! -
It's a shame how you as a freelance web developer complete a project and hand it over to client and you check it over and over and you never find the client use the project.
It hurts my feelings really really bad.4 -
RAD (Rapid Application Development, such as Oracle's colossal frameworks) frameworks aren't rad at all. They promise to let you focus on your business code, but instead what they do is bring you additional problems to have gray hairs over.
Thoughts?9 -
Just updated the app to use the avatar builder, now I have a goal in life, get enough upvotes so I can get my avatar some slippers, I love coding in slippers or bare feet
-
on Monday i finally decided to go to Control Panel and uninstall Visual Studio :)
i can't express the joy i felt minutes ago when the uninstall popup decided to appear -_-7 -
One disadvantage of being an intelligence analyst is hearing the same shitty "how smart am I?" joke over and over and over and over and...over and over and over and...over again.2
-
How do you deal when people ignore you avoid you but didn't understood you??? I explained over and over and over again!!!!!!!!!!!!!!!! 😤😤😤😤😖😖3
-
Well fuck. I am experiencing over-engineering first hand.
I am the single dev responsible for developing a small feature but which is an identity to our whole product(feel free to guess it here). This is quite simple I thought, I can just modify the constants which are being used in the source code and I can finish it off in a week tops. I asked all the relevant teams over which this feature would have dependencies and they gave me a green signal. Setup Jenkins configuration and everything for this new feature. With a wide grin on my face, I sent out a pull request. Now the architect of our product declined the pr saying to change everything from the bottom up giving the reason that it would be configurable sometime later in the future. Now mind you, I get it if this feature could change over time and needs customability. But it has been the same since last seven years and would probably not change again for a couple of years ahead [you have to take my word for it.]. Its not that the guy is a douche or anything, he is one of the best dev I have ever personally came across and I highly respect and admire him. But there has to be a trade off between the effort you are putting in versus the benefit you get. Now I have to touch almost every file, super carefully look in the whole product if a bug creeps out from anywhere and change the existing code to a point where it doesn't even make sense to me anymore, and write tests ofcourse.
wubba lubba dub dub!2 -
I was watching over 9h of Windows and Azure Tutorials over the last few days, and now I don't feel very well. Guess I caught a Virus.3
-
Anyone else suffering from CWE-126? (Buffer Over-read)
I'm struggling to find the right solution for fixing my issues with string operations.
Here's the Codacy report for those who want to see: https://app.codacy.com/manual/...
I'm creating more issues than fixing it. God damn it, C.3 -
When did you scrap your project and start over, and why?
I'm working on a second project at my company.
But as the project got longer and initially unplanned features started to pile up, the software has become a total mess and a pile of conversion layers for all sorts of I/O.
I'm starting to believe that it'd be better to learn from our mistakes and start over with a better plan, if it means we'll be able to achieve performance and stability improvements.
So, what was it like scrapping your project and starting over?2 -
When waiting for that Cronjob to run to confirm its working okay, then modifying the script and go through the same thing over and over again.
-
"we have all had that code which you read over and over again till you realise your mistake.';
read it again. #syntaxHell -
So, I'm bored at work (contract ends in one month and finished everything I could do), so I started searching for a new flat for September.
In France we have a website called "LeBonCoin" which is like craigslist, people post available flats.
But, being a nerd, instead of searching manually (peasants) (and also because I have so much free time on my hands), I coded a web scrapper in Python. It gets all the info (monthly rent, description,...)
So far so good, now need a way to make it calculate the distance between the flat and my next work place (for biking), and the city center.3 -
We had a guy come over to talk us through some source code we'd bought and we binded over vim colour schemes. So magical
-
received a picture of scribbled password, all am thinking is you can't store your password in plain text
-
I am impressed by the enthusiasm coming from people when ever Facebook release something, it must get tiring...
-
What is your opinion on Agile?
I was studying through my textbook for a test tomorrow and the Agile Philosophy section sounded like a Team Rocket manifesto at some parts:
Responding to change over following a plan
Individuals and Interactions over processes and tooks
Working software over comprehensive documentation
Customer collaboration over contract negotiation.4 -
"I am barely awake, it must be like 3-4 am. This has been a long day at the office!"
It is 11pm... Long night to go!1 -
My love to this community or wait let's say family instead is growing so fast
Cheers to every single person here for making this amazing family4 -
Just spent 1 week following the upgrade tutorial from one framework to the next. Using their upgrade tool and following the documentation.
Finally finish the work, most things are working it just doesn't seem to work quite right. Must have missed something.
After some digging it turns out they completely removed a function that I rely heavily upon. No mention in the upgrade document, no possible work around. Every forum post about it either has no replies or it says "it's a new feature".
Well fuck you.
The whole project is now useless.
Fml 😭4 -
Does anyone have any advice on how to deal with teaching interns that you have to teach them the same thing over and over and over again? Starting to get a little annoying.4
-
My first app to upload to Google Play... I wanted to experiment with the messages API on Android, but I have been delaying it over and over and over again.
-
Manager asked me to create a coded message. I gave him a coded message, key and a program I just coded to create more coded messages.
Apparently he wasn't expecting that much :) -
I haven't ranted anything in 21 days. Life is getting boring. Same old bugs, idiot clients, implementing crud over and over,,
How to deal with this?4 -
Once someone asked me to look over a bit of code and sent it over Discord. Needless to say I didn't spend very long looking through it...
-
this moment when you forget to save a file and compile it with the same fucking errors...
Over and over and over again ...1 -
What really grinds my gears?
To teach german coders that there is no plural of the word "information", over and over and over and over again!
There is no informations. There is only bits of information or information.
Darn idiots!!!8 -
The final hour of mental torture among many of finding a complex solution to an otherwise simple problem in a React/Typescript project:5
-
Please.....
Don't troubleshoot over my shoulder.
Don't point at the screen over my shoulder.
Don't suggest the troubleshooting step I'm currently on, while pointing at the screen and whispering over my shoulder.
Don't think out loud as you are troubleshooting over my shoulder.
Please....2 -
Yup
Happens all over the west
One fire they willfully set over and over again creates a predictable snowstorm in June by blotting out the sun causing the temperature at night to dip to freezing19 -
Tabs over Spaces.
PHP over Python.
Internet Explorer over Firefox.
Death over Life.
@dfox over @trogus?4 -
Was the devRant algorithm updated recently? I keep getting the same rants over and over. I don't think I've been on devRant that much lately to see all rants.5
-
Interviewer: Can you join in 10 days?
Me: what's the notice period of your company ?
Interview : Will let you know! -
I just tried to get support for a problem we're having getting accurate results from AdWords. Now I know why it's called Google ANALytics. With how complicated it all can be when you're trying not to overspend on AdWords, it's easy for people unfamiliar with it to get a "prison welcome".
-
how to avoid getting robbed:
1. make a T-pose
2. stride towards the robber
3. start reciting the date of your death over and over5 -
If the same data is being fit over and over again to a neural net shouldn't it start spitting out the result it was trained to very quickly if over svereal frames its training for 100 epochs each ?8
-
Continuation from
https://www.devrant.io/rants/605332
Alright, shit happend during presentation, but thanks to frech humour (don't ask why) and a good examination I got the better mark! Thank you guys for listening to my story -
I'm working on broadcasting changes in a SQL Server db using web sockets, but trying to not install anything because then I'd have to get our DBAs involved...
Spent hours trying to package a little node app that broadcasts the changes as an exe using nexe, realized for the most part it just compiles node from source, and the outputted binary didn't end up running, anyway.
Then it hit me; I can just run the node exe without installing it. Now I just have to get this service broker to work... -
My side project has been a SPA. One part was to make it "serverless" (folder of markdown and html files for content,config.json, no database). Another part was I wanted anybody to be able to choose whatever theme/framework they wanted and easily be able to change the config file, so I looked for a templating framework... and found PugJs. I choose it solely because I liked the logo :^).
3 days later, after successfully figuring out how to use pugjs on the client side, implementing different templates, and making sure everything loaded in the right order. I tested how big the website was without any content.
Woof.
So I'm just going to use a feature that was already in Bone.io to begin with :^). (Bone.io has a router and a "view mount" feature) -
Today I got my login credentials for our Task Delivery Tool (called WMS TI)...
It is by far the most ugliest and user unfriendly program on the planet!! It looks like you made an macro for Excel 2000. It's bloated with features only 0.1% of the company needs them! (Biggest telecommunication provider Germany's) and it's lame! Even worse: we still use Windows 7 32bit.... Why the fuck is a company which develops smart home, self driving cars and cyber defense systems such an oldie!1 -
No, why would you make sure your not working with a database over a year old. Totally our fault, we're jackasses for telling you to do it over again.
-
Developers wanted! No I'm not a recruitment agency
I'm relatively new to the field. Been working 2 years as a Web developer at the same company. So I want to ask, is it normal to be made to sprint plan live issues for any websites you maintain?5 -
Have read and read and read all over over and over again and still don't understand JavaScript.....9
-
Hi
maybe a stupid question :) I have two Django apps, I need one of them to use the functions of the other one without importing them. as if I am requesting them using API, is there a way I can get an instance of a function and use it, I don't want to do the following:
response = requests.get('HTTP://URL/example/', data)
data = response.json()
I want instead to do something like this
function = requests.get('HTTP://URL/example/')
and execute the function as follows
data = function()
thanks4 -
I seriously don't get why so many frontend developers are defaulting to React to build even the simplest of pages
-
Can you even call yourself a frontend dev when you betray your backend mindset by prefering JS over CSS and JSX over HTML + DOM API?3
-
Most of the people here is losing their shit over FF Quantum.
And i'm over here losing it over the fact that I've just found out that Opera has a VPN built in -
Ugh.
I'm leaving this shitfest but these people have all the good toys. I just learnt they are moving to git organization wide! They are in the middle of an ongoing transition and if the management were decent, this would be a really kicker place to work at, in another year or so.
Poor attitude but good money and tools. I never thought I'd value work environment over tools and money but here I am.2 -
!rant
Any opinions over TFS + MTM over HP QC in a Microsoft Dev environment?
Any idea if MTM can be used automate tests for SAP? -
Telling the customer it's not a system problem but their end users network problem over and over with proof and still making a fuss over it. What the hell do I do next?1
-
One nightmarish project that was doomed from the beginning, had me as the sole developer. I could hardly sleep when we began testing on a separate test system, but with (nearly) all the config stored in shared memory and copied from the production system, I dreaded, half awake, that the production server data base connection was still configured in the test system and that it was shooting all it's test data repeatedly to prod.
Finally drove to company in middle of the night at 4 o'clock. Checked everything was OK, tried to sleep 3 hours before the start of the work day.
This system also had the most hideous memory corruption in some shared memory that was used across several processes and should have been thoroughly protected by a mutex, but somehow, sometimes this crucial map, that was used to speed up the access to all the customer data just contained garbage.
Still haunts me to that day. (Like xkcd's unresolved tension of a non-matching parenthesis - an unresolved bug. -
Possessiveness over one's code is more dangerous than possessiveness over his girl - codes are getting closer to heart
-
All those complaining about getting interrupted while coding/debugging. Imagine getting interrupted twice in every 3 minutes during your anyways short working time (talk 2 to 5 hours) 'cause your actual job is to tutor people in using a toolchain and not developing it (at least not during that time)...
-
kudos for the tech-staff of the digital congress ot-world.connect for explaining how things work to all the non-tech speakers over and over again.