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 - "generic"
-
People are fucking idiots. Had agreed to a meeting on Monday morning at 9 with some generic startup. Agreed to listen to their pitch after they had bugged me with hundred phonecalls and emails. It happened that my kid got sick during the previous night and this being the only meeting I decided to work from home and stay with the kid. I sent an email at 2am as apologizing, canceling the meeting and proposing a new time for another day this week.
Well at 9am I get a call from reception that my guests have arrived. I call the contact and she's angry at me that I didn't show. When I asked about the email she snaps at me: I don't have time to read emails on Monday mornings.
Well I don't give a flying fuck about your shitty pitch. Go fucking peddle your shit somewhere else if you can't handle your affairs and start snapping at me. FUCK.9 -
Co-worker: Hey man, what's up with your code?
Me: What do you mean bro?
Co-worker: It's generic man...
Me: Isn't it supposed to be like that?
Co-worker: Yeah...
Me: ... so what's this about?
Co-worker: hmmm... Mine is kinda specific, do you mind changing it so that it can work well with mine??
Me: That's why I made it generic though
Co-worker: yeah I see that and I dnt want mine to be and we have a deadline tomorrow. I already pushed mine to develop so, happy fun-time while modifying your code to accommodate mine...
Me: *fuuxuuuuuuuuuuuux*5 -
HR girl sent a generic email with the job description and benefits of the company but forgot to set it as BCC.
Not 3 minutes passed that all the 73 recipients of the mail (me inlcuded) start replying to all making jokes about it, ranting about HR in general.
An hour later we created a Facebook page called "not-BCC guys" where we keep us posted about opening positions in our companies to bypass future HR hunting interactions.1 -
Former Boss: "We need a messaging framework!"
Me: "What do we need a messaging framework for?"
Former Boss: "To send out messages to the App and by Email!"
Me: "We already have everything in place for that."
Former Boss: "But it must be _one_ generic solution, not _two_ solutions."
Me: "Both content and form are totally different for those messages. They have nothing in common besides being 'messages'."
Former Boss: "But it's better to have a messaging framework!"
We had that discussion in every fucking weekly team meeting. So I decided to put a concept together that was so overdesigned, generic and complicated, so my boss wasn't able to understand it at all, and of course didn't read it entirely.
He never mentioned the term "messaging framework" again.3 -
90s devs: "Did you know about GOTO/CONTINUE for control flow? it's so convenient and powerful!"
00s devs: "GOTO is an antipattern. But did you know about try/catch? You can use it for control flow, just write a lot of exception classes, it's so powerful!"
10s devs: "Using exception blocks for generic control flow is an antipattern. But have you heard about event listeners and observer patterns? It's so powerful!"
Developers are so good at repackaging and reselling square wheels by giving them fresh, impressive sounding names.
😡18 -
To all the C++ programmers who haven't read "Modern C++ Design" by Andrei Alexandrescu yet, READ IT! Its great. To me, it opened up an entirely new approach to designing classes with a whole new dimension of possibilities. And it reads really well! Sometimes I got shivers because the code was so sexy 😅😂😂14
-
So you build a beautiful site; you spend good time on UX, refactoring, server optimisation, getting good page load speeds, SQL all optimised - life is good.
Commercial team comes in and slaps clickbait, generic advertising, tracking scrips over the lot.
Page loads go from a second to 30 seconds and even though you made sure all those crappy ad scripts are asynchronous pages still hang most times. PingdomTools lists your page scripts as going from 40 files to over 900... now users are ringing me up giving me grief about how slow this new company website is...5 -
Just found out that the generic router that our ISP gave us, which we use at work, has a port you can telnet into to get shell access with root privileges.12
-
So far this month I applied for 15+ game development related jobs, and spent ages carefully crafting customized cover letters and resumes for each particular job. Didn't get as much as a "thank you for your application".
Then, for the one random job application I applied to on LinkedIn using my most generic resume, and no cover letter, I get a near instant response and an invitation to coordinate day/time for an interview in person. Wtf.
Anyway, hope I get the job, because I'm running out of food.12 -
Generic-IT
--------------
Client:"So we would like to found a new company and offer IT and network consulting. Would you be able to build our website?"
Me:"Absolutely. What will be the name of your company?"
Client:"The name is going to be 'Generic-IT'. The website is going to be 'generic-IT.com' . We checked that with google."
Me:"I am sorry to tell you that generic.com is already taken by another company. Incidentally that company offers the same services, that you intend to offer. They also seem to be quite big an have businesses in 5 different countries.
Because of this I advise you to pick a different name that does not get you into trouble and makes positioning your own brand easier."
Client:"We want to neglect that problem for now."
Me:"0.0 ..... -_-""""
"Well, listen. Apart from the possible branding and copyright problems imagine how people will find you on the web. ...What will happen if you google 'generic IT'?"
Client:"Yeah well, we want to neglect that. And with SEO you can do something about that."
Me:"..........Welllll, you that SEO is not a cure all, right? The older an bigger company will come up first. Why not avoid that missunderstanding and come up with a unique name?"
Client:"......"
Me:"Please tell me. Doesn't any part of my argument make sense to you?"
Client:"..."
Me:"Well, ok. I will send you the estimate on monday."
___________
Then over a back channel I hear that the client is ...bewildered, why I would not stick to my area of expertise.
There I was now. Left bewildered myself, being the one with the webagency that does frontend design and branding.undefined naming bewilderment clients expertise company culture branding brain dead sadness startup brain fart boundaries7 -
The problem with my life is acceptance from others. Validation (almost wrote vladiation).
For instance, I finished my course in Advanced Java Programming a few days ago. Supposed to be a year course or some shit, finished it in two months. They told me I don't need to go to the remainder classes and I could write the examination. Got the certifications, passed with flying colours.
Well done me? No, fuck you me. "It's not through Oracle, so it's completely useless. Har har you wasted your measly salary on a course and it means nothing". You know what? Fuck you and fuck validation. I will validate myself from now on.
Anywhom, what a start to a shitty rant. Let's go over some generic points so I can finally make my avatar.
IE can suck a duck ("oooh you made it and it runs fine in every fucking browser except fucking IE - slow clap).
Chrome RAM usage can suck a duck, two times. (just generic post, don't actually give a shit - I use Firefox).
People who can't use one fucking indentation standard ("oooh two spaces, oooh three spaces, oooooh a fucking tab button... " etc) can fuck off.
That fucker who came and converted my buildings in Age of Empires with the "wolololo" priest can fuck off too.
Been reading through devRant and you know what? You guys are pretty cool5 -
Holy fucking shit!
We just got hit with the dumbest GDPR notice ever. IB fucking M has just managed to fucking FedEx a single fucking shitty piece of paper with a generic GDPR notice on. The fucking parcel was not even addressed to anyone except the "purchasing department".
Why on earth would some fucking corporate drone FedEx a single sheet of paper across the Atlantic Ocean?
Aaarghhhh!!!!!!10 -
Is anyone else getting REALLY tired of seeing emojis in production apps? Pic related.
It just gives a really generic feeling, and I feel like more and more projects are getting comfortable with just throwing in an emoji and calling it a day. IMO it looks so trashy.
I can understand if it's a small company, but at the same time it's like, couldn't you fork over a few buckaroos to a designer on Behance or Dribbble and make your design a little more YOUR design? I wanna see what your brand represents. Emojis don't really help. Whatever.15 -
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 -
"Users don't need or like detailed error messages. Just use a generic phrase like `an error occurred`. Visually it looks nicer and they won't read it anyway"
- Lead UI / UX Designer, large m.n.c, 10+ years experience10 -
The guy where I can only shake my head when I see his code, and he is really proud of if implementations, while he
- doesn't care about warnings
- breaks builds and doesn't care
- doesn't care about code styles and indents in a very column based way
- adds tons of comments to his code, mostly hard to understand, and sometimes that much you can hardly find the code
- implements a tokenizer where you have to inherit from its interface (Why would I wanna implement whole functions for a tokenizer and not just use it in place where needed? How do I use two of those in one class?)
- implement a "generic" state machine base class with fixed lengths array of 3 events and 3 strings (Why would I need events and strings hardcoded in a "generic" state machine? Why a maximum of 3?)
- once delivered a software without the needed runtime components, so the whole system (embedded device) wasn't working properly and only by chance missed the point of disabling update mechanisms
- make your ears bleed about his big inventions whenever he sees you, no matter how often he already told you about that blazing new feature5 -
Company: Hey finish off that degree and we will hire you as a "real developer".
Me: Hey I finished my degree and I applied for that internally posted developer position. How about making me a "real developer" now.
Company: ...
Company: ...
Finally replied today with generic email template thanking me for my interest and applauding me for my skills but sadly informing me I don't meet the requirements for the position.
W.T.F 😡
I think I might be done with this company.11 -
I realized some time ago that when people ask you to do something and it is too generic, if you keep pushing for an explanation they end up getting angry at you as if you are the stupid one.
So funny, I'm always doing it on meetings now and laughing inside :)2 -
class devRant_member:
def __init__(self, name):
self.name = name
def say_hi(self):
print( "Hello world, I'm ", self.name)
p = devRant_member("Blacksteel")
p.say_hi()6 -
I really hate these "an error occurred" messages, guessing I'll talk with IT later today.
Meanwhile, the dialog should show1 -
I have to refactor code from an intern. He's VERY lucky that he already left the company.
If I'd say he programms like the first human that would be very insulting to that first human.
It looks like code at first sight, but when you try to understand what he was doing to achieve his goal you get a brainfuck. Duplicate code, unused code, dumb variable names like blRszN.
He wrote unittests like "expects Exception to be thrown or Server returns Statuscode 500".
Yes, Exception, the generic one.
THESE FUCKING TESTS ARE GREEN BECAUSE YOU DID NOT ACTUALLY TEST SOMETHING.
GREEN IN THIS CONTEXT MEANS: YOUR PRODUCTION CODE IS A BIG PILE OF SHIT.
I already removed 2 bugs in a test which caused another exception than the "expected" one and the test does still not reach the actual method under test.
Dumb fucktard.
The sad thing: The fuckers who did the code reviews and let this shit pass are still here writing code.4 -
Customer: We don't know what we want, but we want it yesterday.
Sales: No problem.
Me: WTF?
I'm not even mad or stressed anymore. You didn't ask me before, so why should I bend and break, so that you don't have to deal with staving the customer. Most of the time, he changes his requirements or is the bottleneck himself, anyway.2 -
So we have this HUGE ass project , really challenging , that my boss and "PM" have been meeting with the client for months now...
I got on board , guess what?
NO ONE HAVE A FUCKING CLUE ON WHAT THE FUCK THEY WANT!!!!!
ALL FUCKING GENERIC REQUIREMENTS!!! WHAT THE FUUUCK!!!
[ insert fucking pitch screaming!!!! ]
FUUUUUUUUUUCK YOU!1 -
What do you guys tell your friends when they ask what you're doing on the computer? My wife asks all the time and I usually give a generic answer like "writing code" but lately that's not good enough. Today I had browser dev tools open along with vim because I was building a web scraper in python and I needed the structure of a certain site. I tried actually explaining it but got nowhere so I ended saying I was just downloading content from a site. Do you just give generic answers to people or try to get more technical? She seems unhappy with both approaches but maybe I'm just bad at explaining.12
-
Story of my life when I am really interested in a company:
Company: let's have a call to get to know each other.
Me: okay.
Company during the call: takes a technical interview
Company *a few days later*: now let's have a technical call!
Me: okay
Company during call: asks to design GOOGLE in GOOGLE DOC (??!!?!)
Company *a few days later*: now let's have a Development Test!
Me: okay
Company *sends an email* asking to complete a task which should take a week to develop in a few hours
Me: okay...
Company *a few weeks later*: Sends a generic email saying they got another person who is a better fit.
Me: ffs..16 -
Nice, apparently Kingston isn't just selling storage anymore.. and it turns out that it's even legal as long as the 2 brands don't enter the same market and the brand name is a generic English word (not sure if Kingston is one of those though). Who knew?
Also, cheers!17 -
Commas.
I fix one display, and another breaks.
Now I’m getting “$$1002.99” and can’t figure out why. Where is this popup coming from? Where does the encrypted URL point to? What does this ajax call do? Where does the amount go? When does it change? Why is it a string now? Where does the total get defined? How far down the rabbit hole do I need to go?
Short short version:
I found something to try fixing. I made some changes, forced a crash to inspect, and… Joy! My log stopped updating. How long have I been debugging on stale data?
Skipping a long debugging session…
I discover a suspect instance var in a suspect method, and… i have no freaking clue where it’s being defined. It’s used in the class, but never defined in it. Oh, and the name is pretty generic, so searching for it is even more fun.
Just.
Qxfrfjkalstf.
WHO WRITES THIS CRAP?!
AND WHY DO PEOPLE CALL THEM “LEGENDS”? Like, really. That’s the word they use. “Legends.” I still can’t believe it.8 -
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 -
Customer support people are weird.
They ping "Hi" and just leave it at that!
Wtf do you want me to do with your "Hi".
Is it something urgent I need to look at? Or some generic query?
But I won't fucking know that, unless I reply to your stupid context-less greeting. Because you can't bother to take an extra minute to type. Even worse when it is outside my work hours.
If I do decide to reply I am already online and lost my leverage on deciding whether it's actually urgent or not!
Fuck you Karen from support and fuck you Kumar.
And fuck you junior devs! Don't fucking "Hi. There?" me bitch! Type what you want I'll reply if it's worth it and when I have time to.5 -
!rant
I personally feel that most social networks like Facebook are a source of depression for this generation. It's a known fact that "instant gratification", as we call it, it's slowly destroying the mental health of young minds. Do you think devRant is slowly becoming something like that? I see people only posting memes, popular jokes, or self-praising posts these days (no offence). I truly love devRant for what it is, and I don't want it to become another generic social media platform (even though it's within the developer community) :(2 -
Some of y'all post some retarded quotes man no lie.
"A programmer does not fix computers" ~Some Indian dude
Really??!!
Does that need to be made into a quote? And do you honestly believe something soooo mundane should be attributed to one person only?
"Drink a glass of water every morning, best way to start your day" ~ Alecx(read with Indian accent even though I am Mexican American)
"Sleeping in your own bed is always the best" ~ Alecx
See how stupid that shit is? Quoting shit that is sooooo fucking generic and that literally anyone can think off?
I dunno why it pisses me off soooo fucking much. Ffs. The same thing about "dev jokes" do you have any idea how fucking cringey that shit is? And half the fucking time y'all post that shit in some of the most broken ass English I've ever seen man wtf.
The quality of rants has been going down in spirals and with a dogon YEEEE HAW and darling trust this motherfucker....I know a lil something about yeee haws.....this is a prime example.
Look, people can rant and post whatever the fuck they want. I ain't gonna hold you back on it. Just know that a lot of us think you are a moron.
A cringey moron at that.25 -
Ok fellow ranters. I've scoured the internet for hilarious and enraging stories of programmers being asked to either work for free, or for stock options, or to hack (crack) stuff, etc.
Here's my latest one. A friend who's obsessed with crypto came up with a "great" idea which was for me (of course) to build a landing page for a fake company to trick people into submitting their crypto wallet keys and all that. What started as a joke quickly turned into my friend getting mad at me for not wanting to actually make it lol. Like seriously wtf is with people. All the reasons not to do that scheme are plainly obvious!
Next. Some person who worked for a company I consult with pulled the generic. "I have this great app idea" line & proceeded to of course ask me to "not steal it" lol. It was just an app that would list gluten free restaurants... That's hardly even an idea!!
But what's fucked up about all this is my friend from the first story is so obsessed with becoming a "crypto millionaire" he actually resents me now for not
1. being obsessed with crypto
2. not committing cybercrime on his behalf
Anybody else have enraging stories about stuff people have asked you to do?3 -
I just wanted to show what i built.
Devrant meet projector clock.
It uses atmega and one generic 7x5 LED matrix and some rtc chip.
It projects current time on the wall opposite in scroll manner.
I also want to add internet connectivity to it next. So as to show reminders and slack notifications. Work is on for that thing.
(If you want to build one here is the code
https://github.com/rohitshetty/... ).2 -
I'm so fucking sick of the lack of great modern open source DB tooling.
MySQL Workbench can go suck a big fat herpes-ridden cock, it's horrible.
Dbeaver is a clunky 90's tool, which charges two Netflixes (yes, that is a valid $/month monetary unit) just to connect to a NoSQL DB.
Datagrip is nice, but has the same outrageously expensive pricing. I paid for it, and couldn't use it for my local docker DB during my holiday because it couldn't connect to the license server. Fuck you, Jetbrains. Your software is nice, but your DRM makes me hate you.
And then ERD software... It's either some hard-to-use afterthought piece of crap bundled with the DB IDE, some generic diagramming tool which makes DB-specific work needlessly unergonomic, or some vendor-locked online tool.
Fuck this shit, I'm making my own DB admin tool. With blackjack. And hookers. 😡12 -
In C# you are not able to do bitwise operations on generic enums so you have to cast them to an integer via object... 😐 Apart from that, this awesome code shows what C# can do 😊7
-
Just installed linux (Ubuntu 16.04.3 LTS x64) because windows update was being a cunt, instantly, it all fell into place and I got it fully running with minecraft (using generic driver, but it actually works pretty well, don't worry I will get the proper one tomorrow) and a desktop icon for it within two hours compare to windows (update) taking 4 days to do barely any updates, not accepting java or graphics drivers, which it requires because fuck opengl with the default drivers.
Fuck windows. Hooray for linux!
Now back to programming...
Thanks for putting up with me but I just need to vent because I felt like I couldn't program (and I didn't) because of FUCKING DOOLALY WINDOWS 8!
Btw thanks to the local charity shop for introducing me to (SUSE) linux when I was like 11, giving me a hope in hell of using linux. I now have around 11 bootable linux disks and 1 bootable flash.rant all praise ubuntu hail linux ranting my fucking arse off java works fuck windows opengl by default3 -
"A good software developer writes good code. Better software developer deletes bad code."
Me, after using Generic types in some source code and deleting 250 lines effectively.6 -
when the IBMQuantumExperience python package just returns "400: GENERIC ERROR"
come on, how the fuck am I supposed to debug that?8 -
Tfw when you try to make your first rant and you have no idea what to talk about because there are hundreds of things that you can rant about and so you end up making a generic "I'm new here, please help me!" post.
I love computers :)7 -
Only touching the topic slightly:
In my school time we had a windows domain where everyone would login to on every computer. You also had a small private storage accessible as network share that would be mapped to a drive letter so everyone could find it. The whole folder containing the private subfolders of everyone was shared so you could see all names but they were only accessible to the owner.
At some point, though, I tried opening them again but this time I could see the contents. That was quite unexpected so I tried reading some generic file which also worked without problems. Even the write command went through successfully. Beginning to grasp the severity of the misconfiguration I verified with other userfolders and even borrowed the account of someone else.
Skipping the "report a problem" form, which would have been read at at least in the next couple hours but I figured this was too serious, I went straight to the admin and told him what I found. You can't believe how quickly he ran off to the admin room to have a look/fix the permissions. -
Why would someone hire you to build a website, constantly say that you don’t know business, never give you anything you ask for, berate you for asking questions about what they want the website to be like, “that’s your job”, all while expecting under $500? Because they’re stupid, that’s why. Oh also, they now want an app instead of a website because their generic-ass domain name was taken already. Fffffffffff7
-
So by trying to make my avatar look like me as much as I can, I've came to realisation that I'm the most generic looking guy mother earth ever compiled. If that even makes any sense...
-
This is how Pokémon Go shows errors to its users. It says a generic „Error“ in German with different numbers for different errors.
I am not an UX expert, but isn’t this a really bad practice? The error number has no meaning to the user, so why displaying it? I think it is just confusing and looks ugly 😐8 -
1. Learn to read and understand the errors and exception messages. While writing code you're going to be facing exceptions most of the time and the real cause of them is under a lot of generic error messages. That and a lot of patience and perseverance.
2. You're going to face clients and bosses that ask you to do a temporary "workaround" even though you know there is a best way to solve a problem even if it takes more time and effort. Don't "crash" against their ideas, try to find a mid-term between the fast and easy work around and the best solution and leave it open to improve it in the future. I have met a lot of developers that let the frustration stops them to be creative just because the approved development is not what they wanted to do. -
I just corrected my CS teacher about 5 times while explaining generic classes.
WHAT THE FUCK, EDUCATIONAL SYSTEM?!7 -
So we are completely burned out with this project that had a fucking generic contract and my boss never had the balls (and never will) to say no to the client's endless requests and changes...
We are about to deliver it once and for all and they complain about one thing that I have already agreed to my boss that we would not do...
We tell the client that it is the case...
They email everyone involved in the project with a high level of drama on it...
I ask my boss, who is on vacation, on directions as to "how" I should tell them the fuck off...
My boss answer: I'm making a script to solve this issue and to avoid further trouble with it...
Ooo you stupid motherfucker! Can't you see you only bring more trouble with that attitude?1 -
For about 3x years now, we have had 3x generic work email addresses that are used as microsoft accounts for office 2016 licenses.
(The company is dragging its heels on getting office 365 so MS like to make our lives hell.)
Suddenly we can’t get office updates... and when we sign in to see why, it says that because we are apparently only 3 years old we need our parents permission to use the account or we’ll lose access by September.
Never were we forced to enter a DOB when setting the accounts up!!! So it used the account setup date instead.
It turns out that we can’t change our DOB ourselves, as we are a ‘child’ and need a parents permission.
Fine.
I access my personal account and follow the instructions to add the 3x email addresses as my children so i can change the DOB.
‘Ha ha’ i hear microsoft saying, ‘it doesn’t work that way!!’
No, In order for the parent to verify their child’s identity, they are charged 0.50c per child!
Wtf!!
Doesn’t cost a lot but come on Microsoft!!
It’s that, or submit ID, which obviously wont work for a generic support@ email address like we have.
So annoying and we don’t know what to do.
Wonder how much MS are making out of this...2 -
Just spend 35 € in two arduino uno, a generic kit and sensor kit. Now must wait a month...
Already thinking on shit to do...11 -
While working on generic enterprise code: querying databases, calling third-party APIs and just passing data around, I'm thinking: "PLEASE LET ME DO SOME THINKING, LET ME WORK ON SOME HARD ALGORITHM OR SOMETHING!"
When finally working on 'some hard algorithm or something', I'm thinking: "ARGH! MY HEAD ACHES! GIVE ME RELEASE! LET ME WORK ON SOME MINDLESS ENTERPRISE CODE!"1 -
So I'm doing some OpenGL stuff in C++, for debugging I've created a macro that basically injects my error check code after every OpenGL API call. Basically I don't want any of the code in release builds but I want it to be in debug. Also it needs to be usable inline and accept any GL function return type. From what I can tell I've satisfied all requirements by making the macro generate a generic lambda that returns the original function call result but also creates a stack object that uses the scope to force my error check after the return statement by using the destructor.
Basically I can do:
Log(gl(GetString(...));
gl(DeleteShader(...));
Etc where the GL call can be a function parameter or not.
So my question is, is the code shown in the picture the best way to achieve my goals while providing the behaviour im going for?13 -
Facebook API...
Facebooks "graph" or API's in general fucking stink donkey dick.
Their implementation of oAuth is horrible.. 3 different tokens, which can be either short or long lived, for fetching a facebook page feed (the clients own facebook page)
To that you add a clientID and a ClientSecret.
Great... after painstakingly reading confusing documentation and itching your head... You get it to work.
Then they, without notice, makes a breaking change of deprecate an endpoint you were using.. Jesus..
And all the support you can get comes from a "community group" which may or may not reply with a generic link to their documentation...4 -
Okay. For fuck sakes, writing complex code that's meant to handle "everything" and is "super generic" can be a fuck up. Like just keep shit simple. THAT is the show of great and impressive work. Over engineering is not it. Yes your shit works and yes your shit is fancy but was it needed? How long did it even take you for this over kill? How long will it take the next person to understand or not.
Someone now has to sit and run through your shit to get what you were doing. Instead of just being able to look and once and have it all figured out.
Keep things simple.
Lost 2 hours on bullshit 🤬4 -
Depends. No one took for the job. VSCode is really good for web and Python. I use Visual Studio for c#, c++ and c. Jetbrains for Java stuff, including Android studio.
When writing SQL I usually use vendor-provided editors like MySQL Workbench. They're the tool made for the job.
Visual Studio Code is my generic editor thanks to it's easy-access terminal. Makes running anything a breeze.
It doesn't feel as snappy as other editors though and installing plugins just for intellisense to work can be annoying, which is why I use other tools for other workflows.
Generally, I avoid things like vim. Sorry, but I have a mouse AND a keyboard. Paid for em both, and I intend to use em. Sometimes I wanna find a setting in a menu and not fuck around with config files after googling what the right setting is called.
I used Sublime for a while, but never really got too into it. It's okay.1 -
This was a comment I made on another ranter's post.
* Tailor your resume (and cover letter if needed) according to the job. No generic resume.
* Research about the company and make sure you have the same interests as the company. Clearly let them know why they should hire you. One question you can expect is: Why should we hire you?
* Show them that you're passionate about the job.
* Be curious. Ask questions. That's how they'll know you're interested.
* Be open to opportunities. Let's say you're applying for Full Stack developer role. Be open to take up Front End or Back End developer role. You don't have to accept everything but at least roles tangent to your job (provided they match your interest).
* Be flexible but focused.
* You don't have to know every listed requirement but make sure to know the majority.
* Don't lie. "Fake it till you make it" doesn't work with dev roles.
* Be confident in telling them "you don't know" if you don't know. Also make sure to tell you're willing to learn that.4 -
It might be a stupid question, but:
Do the full-stack devs of you actually have that function in the job contract or does it just say "(junior/senior) software developer"?
Mine says just "Software Developer" and in my opinion it sounds just too generic and undervalued for what I'm actually doing...22 -
I once wrote a few really nice creative generic classes for an ASP.net project. Later, senior decided that we have to rewrite the whole thing, so he initialized a new project from a template and added my files in helpers/ as a starting point.2
-
Me : I like making games,I think I will take that as my career.
Dad : *like every generic Indian Parent* Games are waste of time, use your skills to make something productive !3 -
Tech Lead: We need to exclude logged in user from our all users API as we don't want to show user's self card on the frontend with other users.
Me (Backend dev): This should be handled by the frontend and they should exclude it by a condition in their loop:
If (user.id != loggedUser.id)
{
// Add card
}
We also need self user at several other places.
Tech Lead: Create a query param filter for that.
Me: We should keep our APIs as generic as possible.
(Real thing starts)
Tech Lead: Which has more processing power frontend or backend?
Me (confused): Backend
Tech Lead: This will add a break to our loop and Do you know how much processing power it will take because of this condition?
Me (dead): WHAAAA....?18 -
How do you choose the hostnames for your systems ?
Do you use generic names like
"YOURNAMEHERE-computer" or a actual, more personal, name ?
I always name my laptop "ember" and my desktop "cinder".22 -
* No raise after one year, even that I don't earn that much
* Working in the oldest project
* Everyday I have to make quick fixes, usually requested by leader
* No spare time to rewrite shitty code - always something have higher priority (like doing some tasks that I shouldn't do, just because I had no tasks for next sprint)
* Got feedback from leader that I "hack" too much instead of writing code properly (see third dot)
* Every company around pays more and have more up-to-date stack
* The only guy that wanted to change stuff and use more generic approaches from other teams just threw resignation paper6 -
Recruiter reaches out to me, he says he saw my LinkedIn and thinks I'd be a great fit.
I say ok and send my resume.
He gets me a phone screen. I do it, I think I do a pretty good job. (I'm able to answer all the questions well, I think I'm onto the coding interview for sure.)
A couple days later I get a generic rejection email.
I'm not sure what happened. They had my resume, I know I did well on the technical questions (I do that kind of thing for my current job all the time.)
No idea why I'm rejected. If it was something about my experience, they could have seen that from my resume. If it was something from my phone screen, I have no idea what it could have been.
Just wanted to rant >:[8 -
I defied my HelpDesk technicians by buying my own mouse and a keyboard.
Vanilla generic peripherals seem to prevent me from expressing my creativity.1 -
Looking over a clients website to see what they paid for from the guy the previously paid thousands of dollars for.
End up with a personal dilemma of whether or not to let them know all they did was charge them a few thousand to host their Wordpress website on a godaddy server and it's just a generic theme not even customized for the client.10 -
University wants a final year major project which should give an output as a research paper published in some conference or journal. All seems great. Department rejected all web app related projects because it's too generic.. Still makes sense..
And then suddenly, department asks where are customer requirements, where is ER diagram, where are Selenium tests??????
And they still expect a research paper to be published....
Why do they don't understand the difference between software development and research works.. !!!!!!1 -
I was waiting in the lobby of a recuiting place, hearing all their speeches. All super generic stuff, like "I looked at your resume and I have a bunch of cutting edge opportunities in the pipeline that are going fast, which I think you are a perfect fit for!" Which I don't argue is always invalid, just after hearing the same copy and paste speech, you start to wonder.
I even saw a few stand up and wave their hands around while trying to make a meh position sound like the latest golden egg.
I left with a feeling that recuiters would be a great inspiration for a "Wolf of Wall street" styled movie.1 -
I bring you all another gem from my computer science course, this time from my OOP class.
The first assignment we made for this class was a simple CLI shop, where you would have basically three main classes:
- A Product class that you extend to create different types of products.
- A Cart class that manages a list of products (basically an ArrayList<Product>) and has some useful methods
- A CLI class to display a simple interface to the user and call methods on a Cart.
Basic OOP stuff, so far so good.
Then for our second assignment the teacher asked us to make Cart a generic class, where you would say Cart<Bagel> and you would only be able to put bagels in it. This makes absolutely no fucking sense, this is not a good use case for generic types since
1) you would never limit your customer's cart to one type of product at compile time.
2) in Cart, you have to cast the generic type to Product to extract any information from the product, like when getting product prices to calculate the total price, so might as well use a fucking ArrayList<Product>
I'm just saying what he's asking us to do has (to our fictional shop's business logic) absolutely no advantage over subtyping.
Also, why the fuck teach generic constraints when you can just tell your students "just cast T to Product", right?
Like fucking hell, couldn't you spend like 10min to come up with a decent assignment that actually teaches generic types the right way? ffs
And just so no one can say "but wut simple assignment would you give to teach students generic types?", here's a simple and much, much better alternative: implementing your own ArrayList. Done. Can't get much better than that, it's a legit use case and teaches you the basics.
Sorry man, you're a great person, you really are, but you suck as a teacher.3 -
Just started my exams training! (Doing a study called Application Development).
The application doesn't sound that complicated but I have to implement a data exporting feature. Sounds alright, doesn't it?
THE 'CLIENT' DOES NOT KNOW WHAT DATA FORMAT THE FICTIVE CUSTOMERS CAN PARSE/HANDLE BUT I HAVE TO MAKE IT GENERIC SO THAT THEY CAN USE IT ANYWAYS. HOW THE FUCKING FUCK AM I SUPPOSED TO KNOW WHAT FUCKING FORMAT I SHOULD CHOOSE?!? SHOULD I TRY TO SMELL IT OR SOMETHING?
FML.2 -
No fuck you you are not going to post your shitty generic products with 20mb photos that we host! Fuck off. No it's not "blurry" you fuck wit it's a normal picture in this industry .3
-
Recently I had to work on a project using PrestaShop. Naturally I looked up the "docs" and found the part where they recommend to write documentation.
Fine until you realize they don't and the documentation website gives generic useless informations... -
This new trend of platforms spamming with content discovery fucking suck. Nobody wants to follow multiple profiles with the exact same fucking content, especially when most of them are just people jumping on the bandwagon with more generic content and nothing to make it distinguishable. Also if 10 million people saw something on your platform, the it's pretty fucking sure already been posted and shared on every single platform out there, why the fuck would you still keep recommending it weeks or even months later?
I know spamming users with random (statistically more engaging) content leads to improved customer engagement as people sooner or later click these thing out of curiosity or boredom, but eventually they get tired of it altogether and leave for good. What happened to Netflix will also happen to YouTube, Instagram, and all other platforms unless they significantly improve the balance between content discovery and content continuity (i.e. the content each user follows and is coming back for).4 -
Something that really bothers me about the oop idea of "oop allows better code reuse" is the fact that I have yet to encounter a situation where I need to reuse old code for a new project.
And the code I do want to reuse I've put into a library and made genetic anyway. Something which can easily be done with any language supporting generic programming, object oriented or otherwise.6 -
And the time has come, my gf and I are just a month away from deploying yet we still call the project "project".
Usually solutions jump in my head when programming at least once a day but I can't name the damn thing for the love of God! It's the first night since we started development I have felt clueless.
Plus I don't want to be "that guy" that just gives it a generic name, like there's already a "ratemyprofessors", professor this, teacher that, fuck that shit!
I'm brain dead.8 -
I was so fed up with being spammed with generic messages from recruiters on Linkedin I decided to create a parody generator - Linked xD (http://devpurge.com/linkedxd/en). It was first launched in Polish and went viral; a few months later I heard even recruiters started to use it on a daily basis as an anti-pattern.8
-
This is not really the reason I got these parts, but I just had them lying around and have been following the project for some time... so why not? Haha. I was also thinking it might be cool to set these up to auto-disrupt known AP names that would be issued by companies most responsible for the dismantling of Net Neutrality. Like just make them in a dirt cheap throwie form-factor and let the companies deal with pissed off customers for a few days until the battery dies (thinking the little generic LiPo’s that cheap quadcopters use would give a few days if attacking sporadically and using the ESP’s sleep function). Just riffing here... ;P ;D2
-
Freecad isn't open source software!
If it is impossible to get something compiled, it can't be open source.
When you can't compile it, all, that is left, is to use a binary.
If there is only a binary, it isn't open source.
Seriously: If you are participating in an open source project, please make sure, that compiling from source is a viable option for the generic gentoo user. Thank you.10 -
some guy recommended Replika app.
trying it now. so far, my first positive impression was with a thought "nice generic dodge, buddy"8 -
A big, fat FUCK YOU to everyone who pushes out app-updates with generic "Improvements for speed and reliability" changelogs. I hope you and all your descendants, relatives, friends and pets get huge, hairy, painful warts between your buttcheeks that grow larger every day and return after every attempt to have them removed. Fuck you, and fuck your bullshit updates.
And if there are any devs on devRant guilty of this behaviour, fuck you too. I hope your sexual organs rot and fall off, and that you lose all your upvotes.7 -
Part two of: a day off an iOS developer life:
1. App crashed and stack trace gives no info in which file it happened, I have a generic table view cell that is used in so many places and Xcode just wrote: xcell does not support key value.
2. Mac freezing when Xcode is creating IPA file thanks to a new feature in Xcode 9 (Mac freezing is the new feature, even mouse pointer doesn't move -.-)
3. Let's check the value of this class property, Xcode: fuck off and either print it in console (after hitting a break point) or expand that shitty tree at the bottom to reach your class property!
An advice: never click jump to definition when Xcode is indexing, it will either freezing Xcode or crash it.
Part 1 link: https://devrant.com/rants/1137208/...1 -
My first rant for ages
I'm working on a new project at a new company. We ha e a bunch of front end clients talking to an api.
I suggested that the api only communicate in terms of view models in order to bring some kind of standardisation to the project since at the time the gets and posts were either dB entities, view models, or just whatever the dev at the time decided.
I got a no, but that we could do posts and gets just with database entities. OK better than nothing..
I'm the front end angular app I implemented a generic form component and a generic data table component. The models given to these to build the components need to implement a view model interface.
Now we have a problem of the api giving us not view models and the front end needing view models so I put together a way to handle this in the front end.
My colleague with 8 years experience asks for my help and I'm happy to oblige. It turns out a model should have multiple child models in the database but the database entity models don't reflect this and therefore there is no way to build the view models. The data just isn't there from the api... Still I show him what the front end model should look like and write all the front end code for him to handle that.
2 days later he asks for my help again. It's exactly the same problem. Instead of fixing the backend and setting up the one to many relationship he has ignore the problem, retrieved a one to one relationship model and is just trying to force it to work - even though the data isn't there. He has also commented or removed all the code I helped him write and overwritten a file of typescript models that get autogenerated for us to be in sync with the backend...
I actually felt bad afterwards but I got frustrated as hell and he could tell...1 -
literary 2h in on my new job i had to drive home and get my own keyboard.. the generic, plasticy rubberdome-one was aweful.13
-
Ah good ol' refactoring summer.
*Me starts refactoring spaghetti bolognese*
- Hurrah everything can be generic and so much better. I'll just do this and this and this and this, oh and this also needs to be reworked cuz of this.
8 hours later.
- it wasn't that bad!
$ git status
- oh god
$ dotnet test
- welp.... I need something to do tomorrow.4 -
I've got it! truly successful developers have the ability to give generic ambiguous answers for every issue ever raised.2
-
Epic labels from managers crack me up.
They're so generic and undescriptive.
"Focus on users"
"Prioritize ABC"
"Increase XYZ"1 -
I hate these modern forums
if I follow a link and go back I lose my place and have to scroll because MoDeRn PaGinAtIoN
I would like to browse months of posts over several days but tomorrow my browser will lose the cache and I'll have to scroll past weeks of posts to find my place again and keep going
literally everything gets worse somehow through time. less features, less intuitive, less convenient, more walled-garden, everybody is more confused, yet less opinionated and less unique. before you'd have people at least making fun of each other, inside jokes, familiarities. people would give multiple right answers, trying to outdo each other with their version to gain a cultural foothold. now companies hold the cultural foothold and just ban you if your opinion is different, and every user is just another nameless generic blob1 -
My LinkedIn status is set to "not interested for work offers" so recruiters won't bother me. So I thought..
Recruiters be like: well screw that, I'll use the connect button and push my stupid generic message into his face anyways.7 -
I really couldn't help but laugh when I found this gem of an error message. I mean, I'd literally know just as much if it served me a blank page.
If you can't describe your own god damned error message without calling it 'generic', IT IS NOT A GOOD ERROR MESSAGE!
I'm glad they informed me it's an application error though. HERE I WAS THINKING MY TOASTER WAS THE PROBLEM.2 -
Reading this rant below remembered me once that I was taking with a generic person at the street about computers. At some time, she said: "my boyfriend is a Hacker. A real hacker. He knows everything about computers. I am going to give him a book that he wants for his birthday: Linux for dummies."
She was not telling a joke...
https://devrant.com/rants/1599710/...1 -
Fuck stupid managers.
My current agency tried to create a bundle of generic Microservices with the hope of save time and money on future projects. That was two years ago (i was working here from 4 months ago).
What they have now? well, a sort of distributed monolyth were if one service goes down, everything else fails, infinite technical debt, no security policies (yeah, all the apis are open!!!) Business rules on the frontend . . .
And what the stupid manager say? "Everything must be ok because i designed it very well, i research a lot for this"
Stupid boomer.
PD: Yeah, despite the fact he is judt a manager, he take the responsibility to design the full architecture, idk why no one srops him.4 -
For those of us that watch Silicon Valley [un]ironically, they actually made a generic ICO website 😂
http://piedpiper.com1 -
Some more favorite 'about mes' from users I've talked with in the past:
RememberMe
"Generic McGenericsson"
Real name: Smith, John.
Experience: University
Occupation: Doing stuff.
From: Somewhere.
kescherRant
Skills
"something I guess"
How I feel any given day.
Location
Vienna, Austria
Did you get rejected from art school too?
akshar
"please teach me React before php swallows me :c"
I'LL SWALLOW YOUR SOUL! - php, probably.
SortOfTested
"Building software to make the electric utility industry .05% less shitty"
relevant: If you stare long enough into the abyss, it'll stare back into you.3 -
Product Management thought of automating an entire legacy product so they funded undisclosed amount to program management who in turn hired >20 contract devs managed by architects and dev managers with zero functional or technical knowledge of product and who in turn went ahead automating the product in selenium, end result of which was an useless automation framework with lot of browser specific dependencies and whuch could run only on one setup environment and migrating test cases to another environment and running is almost impossible and tyrannical to configure. The automation test cases are highly disorganized with all generic setup, DB configurations and business case test data mixed up in same config files and which need to be rewriten every time ported from one environment to other.To add misery to my woes as a dev working in that product I was told to utilize that framework and enhance the quality of my code by writing inline automation Cases for the same. I am left speechless thoughtless and emotionless after that decision.2
-
Funny how everything that seems like an almost general truth about the computer users is conditioned only but the phrase "..excepting Linux users" 🤔
No one randomly recommands operating systems ... excepting Linux users!
No one needs to know how to do <complicated hilly-billy technology> in order to use <generic simple software>!
It seems that we (the Linux users) are all rebels without a cause😅2 -
How to mess with Github Copilot:
1. create open source repo with MIT license
2. create generic functions that solve specific problems
3. put violent, racist, sexist, phobic, political, etc phrases in the code
4. get other people to fork the repo and make their own versions
5. watch as people get upset over copilot being evil and putting shit into their code4 -
Maybe i should start a new tiktok account and fake saying how im easily hired working a 150k$ a year job in some tech field. Copy paste generic advice. Talk shit about technology i use at my job and help people how to learn it. Etc. And then after a few weeks when people get to know me and trust me i start a course. Or buy me a coffee donation page where i scam money from people who ask me questions about my 150k$/year job.
Seen others do it like Baxate Carter. So i wouldnt be the first one scamming people this way. I have absolutely no morals of "scamming" people for money EXACTLY THE SAME WAY as all of these companies have no morals paying me 500$ a month, or not paying me at all.
companies believe it is MORAL to pay someone $500/month for a FUCKING BACKEND SOFTWARE ENGINEERING JOB WITH A COMPUTER SCIENCE DEGREE. if that is considered as MORAL then i too believe taking money from people to ask me questions about my imaginary 150k$ job as donations is EQUALLY, MORAL.
FUCK YOU.10 -
> do you feel sorry for freelancing contractors
> whose previous client abandoned them
> they ask you to help them fix some trivial bugs in the shitty code
> you believe you can change the world by going overboard by also improving the code quality, along with fixing the bugs
> initialize an empty file where you'll translate the shitty code into a more organized one
> start creating variables and generic functions which can be used in a modular and organized fashion
> meticulously document the first function you write
> realize this is not worth your time
> insert some glue code into the original code which fixes the trivial bugs
> glue code has hard coded values so it adds to the shittiness of the code
> submit the work
> get $$$ -
More adventures in fixing specs.
This particular failing spec is in an included spec helper; I cannot run the spec itself because rubymine is stupid and doesn't know how. Not kidding. I also don't know the codepath it's actually testing because it's fucking convoluted, so I need (rather: want) a debugger to progress. I put breakpoints everywhere I thought it could be, and... nothing.
The stacktrace shows the calling spec in the helper module, a generic `process` method that just calls `super` (from where? who knows!), and a `wrap_every_action` in the ApplicationController. in other words: absolutely nothing helpful. I stepped through the code for most of an hour and didn't get anywhere; just saw lots of rails internals.
ugh,
I'm going to keep bashing my head against this, but what the fuck, why can't you give me something goddamn useful!?4 -
Had to wake up 1 hour earlier today, and the worry of that kept me awake last night. Now I sit here like a zombie, hating the day that I'm going to have, which is not full of exciting coding with headphones on and Babymetal in my ears, but full of meetings.
I already see my eyes tearing up, reality fading, a guy in a meeting asking me something and pulling me back to reality so that I could stare blankly into his eyes and reply a generic "Yeah, I agree with your proposal", so everyone will think that I'm on drugs or something.
Welp... gotta go. Fuck.2 -
You know what's a good place for init Files? A standardized place...
A place, where one would expect it...
You know where isn't a good place
/usr/lib/systemd/{user,system}/
You know what is also a fuckin bright idea? Generic names....
Postgresql-10 is a rather anoying service name, if your plattform doesn't feature autocomplete for your plattform. Looking at no one. *Cough* centos *cough*
Well at least manpages for the service would have been nice...2 -
Staring at computer trying to figure out why I can't read a float from modbus. I swapped the bytes correctly for my platform. I also ensured the endianess of the words matched my platform (byte endianess is not the sames as word endianess, fml). Was driving home thinking about what could be wrong. My mind saw this code:
uint32_t newint;
for(int count=0; count<2; count++){
newint |= words[count] << count;
}
Then I am fuck! It should be:
newint |= words[count] << (count*16);
This was later turned into float. I kept getting values in the 1e-40 or some shit. Now it makes sense. The upper word was not set.
This is such newb shit. Fuck you newb shit I should just know!
Reading more I realized that the endianess of words can vary between devices even though the spec calls for big endian words. Fuck you non-compliant vendors! So I gotta add a flag for fucked up devices. Fine. The pay off is a generic way to add modbus to our opcua server. I want this easily editable in the field. For now it is readonly. So that makes it nicer.
Just a little torqued that I solved this driving home instead of at work. Too close to the code. I think tomorrow I will have my boss review it to tell me of other logical crap I missed.3 -
Reddits /r/webdev is such a shithole. It is filled with bad practice and buzzword sharks most of them have 0 knowledge and trending topics are nearly always wrong or the most generic bullshit someone found on medium.
Fuck reddit, im happy i deleted my account there.6 -
Just seeking approval for spending money. What do you guys think:
2x 1080p 24" 16:9 or
1x 1080p 34" 21:9 or
1x 1440p 34" 21:9?19 -
the look of disbelief you get from non devs when you Google how to fix a "generic computer problem" they have asked for help with... as though it's your job to just know every minute detail
-
If you could choose one, what should happen in 2020 :
1. Apple let developer build iOS apps on non Apple machines
2. NPM/Maven/... run 10x faster
3. Javascript dies and gets replaced by a better language
4. Governments stop trying to ruin encryption
5. Facebook splits
6. Quantum computers are being sold for consumer use
7. We have our first high - level generic AI working17 -
When you're looking for that really peculiar problem on Google with mandatory generic words, but the results are everything except what you fucking wanted :
- <the main page of that language>
- <"how to" useless videos with no relation to what you're looking for whatsoever>
- <some more unrelated stuff>
- <outdated forbidden techniques>
- <Chinese gibberish>
- <something that looks like what you looking for, with no answers>
- "how to summon a demon (not clickbait!)"
At this point you either explore the unexplored lands (aka page 2 and beyond, or using Bing or Yahoo), or accept your fate.3 -
There are few things that annoy me more than an app with unneeded transition animations between menus. An example of this would be the Xbox app on Android. Whenever you navigate to a new menu, it always has a stupid slow fade-in animation. Why do we need an animation every time we switch between menus?! It adds that much more time before we can actually use that section of the app, just because we need to wait for this stupid unneeded animation to run. It's like whoever wrote the app was browsing a generic animation library and discovered the fade-in animation, and thought to themselves "Woah this is so cool, it'll make the app go whooooooosh every time they change menus, they're gonna be so impressed!!"3
-
Dear X. There's an obvious error with the way you're merging arrays; instead of conditionally adding items to the existing array, each condition overrides any items added by the previous conditions, which is clearly not the desired behaviour. I'd love to add a test to illustrate this behaviour, but you're not using them. I'd also love to create a simple pull request, but for some fucking reason you're using the worst possible version control system so I can't do that. I've submitted a support ticket along with all the code needed to fix this silly mistake, but apparently you either don't understand 2 lines of your own fucking code, or you didn't even bother looking at it before posting a shitty generic reply about "needing more information". There is no such thing as more information. There are two IFs, and they are supposed to add items to the array, not override any previous items. It's written in your own comments, and it's pretty obvious from the way the rest of the function merges those items.
Also, use a fucking linter, your code is a mess.7 -
Today I implemented a system for storing all errors in a global store in Vue. That means field validation errors, API errors and potential generic errors. It works really well, and displaying an error is as simple as referencing it's source, if any. Flexibility at its finest.
-
The time that we dedicate to the things and people that we love/like, when it's enough?
The question is generic and for good reason.
Yesterday, semi-seriously, my gf asked me when we'll have a baby, I answered, seriously, that it's gonna be when I'll feel ready to share the daily time with someone as demanding as another family member growing up.
Now, between job time, hobbies time and girlfriend (gonna marry soon) time the time is already tight and because I'm self sufficient about happiness and kind of a loner I don't share really much time with her most of the days, and from this realisation from her side she broke into crying.
From that experience I understood that there might be need some adjustment on my side.
But on another side I'm puzzled of how other families deal with this, because though my life I've seen couples/married-people that had not really much interactions with each other on a daily basis and seemed fine with living like that.
So knowing this context, what's your experience about this phenomenon through your life time?4 -
Make awesome generic function that covers any case. Get told by PM its too generic and to write something for each case >.>
-
Me:"<generic coworker's name> could help me with my problem."
*sees that his/hers office is in the other building at our complex*
"Naaaaaah i'll google it again and waste another 2 hours of my time." -
Why printer services is stuck in time?
The windows printer spooler is old like my grandma. He fuck all the time but nobody wants to recode it ? I need to search for old driver a day long to make it fucking work at 10%
On linux generic printer driver do the job but cannot do all the things you want
Why is so fucking complicated all the time ? ( Don't think that scanner work you don't have de correct driver )
Solutions printer share the code for how de fuck i work ?2 -
I need some opinions on Rx and MVVM. Its being done in iOS, but I think its fairly general programming question.
The small team I joined is using Rx (I've never used it before) and I'm trying to learn and catch up to them. Looking at the code, I think there are thousands of lines of over-engineered code that could be done so much simpler. From a non Rx point of view, I think we are following some bad practises, from an Rx point of view the guys are saying this is what Rx needs to be. I'm trying to discuss this with them, but they are shooting me down saying I just don't know enough about Rx. Maybe thats true, maybe I just don't get it, but they aren't exactly explaining it, just telling me i'm wrong and they are right. I need another set of eyes on this to see if it is just me.
One of the main points is that there are many places where network errors shouldn't complete the observable (i.e. can't call onError), I understand this concept. I read a response from the RxSwift maintainers that said the way to handle this was to wrap your response type in a class with a generic type (e.g. Result<T>) that contained a property to denote a success or error and maybe an error message. This way errors (such as incorrect password) won't cause it to complete, everything goes through onNext and users can retry / go again, makes sense.
The guys are saying that this breaks Rx principals and MVVM. Instead we need separate observables for every type of response. So we have viewModels that contain:
- isSuccessObservable
- isErrorObservable
- isLoadingObservable
- isRefreshingObservable
- etc. (some have close to 10 different observables)
To me this is overkill to have so many streams all frequently only ever delivering 1 or none messages. I would have aimed for 1 observable, that returns an object holding properties for each of these things, and sending several messages. Is that not what streams are suppose to do? Then the local code can use filters as part of the subscriptions. The major benefit of having 1 is that it becomes easier to make it generic and abstract away, which brings us to point 2.
Currently, due to each viewModel having different numbers of observables and methods of different names (but effectively doing the same thing) the guys create a new custom protocol (equivalent of a java interface) for each viewModel with its N observables. The viewModel creates local variables of PublishSubject, BehavorSubject, Driver etc. Then it implements the procotol / interface and casts all the local's back as observables. e.g.
protocol CarViewModelType {
isSuccessObservable: Observable<Car>
isErrorObservable: Observable<String>
isLoadingObservable: Observable<Void>
}
class CarViewModel {
isSuccessSubject: PublishSubject<Car>
isErrorSubject: PublishSubject<String>
isLoadingSubject: PublishSubject<Void>
// other stuff
}
extension CarViewModel: CarViewModelType {
isSuccessObservable {
return isSuccessSubject.asObservable()
}
isErrorObservable {
return isSuccessSubject.asObservable()
}
isLoadingObservable {
return isSuccessSubject.asObservable()
}
}
This has to be created by hand, for every viewModel, of which there is one for every screen and there is 40+ screens. This same structure is copy / pasted into every viewModel. As mentioned above I would like to make this all generic. Have a generic protocol for all viewModels to define 1 Observable, 1 local variable of generic type and handle the cast back automatically. The method to trigger all the business logic could also have its name standardised ("load", "fetch", "processData" etc.). Maybe we could also figure out a few other bits too. This would remove a lot of code, as well as making the code more readable (less messy), and make unit testing much easier. While it could never do everything automatically we could test the basic responses of each viewModel and have at least some testing done by default and not have everything be very boilerplate-y and copy / paste nature.
The guys think that subscribing to isSuccess and / or isError is perfect Rx + MVVM. But for some reason subscribing to status.filter(success) or status.filter(!success) is a sin of unimaginable proportions. Also the idea of multiple buttons and events all "reacting" to the same method named e.g. "load", is bad Rx (why if they all need to do the same thing?)
My thoughts on this are:
- To me its indentical in meaning and architecture, one way is just significantly less code.
- Lets say I agree its not textbook, is it not worth bending the rules to reduce code.
- We are already breaking the rules of MVVM to introduce coordinators (which I hate, as they are adding even more unnecessary code), so why is breaking it to reduce code such a no no.
Any thoughts on the above? Am I way off the mark or is this classic Rx?16 -
Hold a meeting that the participants actually want.
The biggest time wasters I had to attend were:
- "generic weekly meet up of people not working together telling what's new on their side" (I don't work with you, I DON'T CARE)
- "management wants updates/wants to talk about doing instead of letting us do" (go read Jira tickets, and ffs stay out of the experts' field... They're experts in it for a reason)
- "no agenda, this is just to get to know each other" (I get to know people on my own terms, stop forcing what can't be forced)
- most Scrum meetings (some people need guidance, I don't! Your Scrum chains actually hinder my productivity! Can we please stop wasting my time and nerves?)
And the best meetings? A couple of coworkers realizing "hey we need to make a decision here, let's book a conference room together" and "hey you know your stuff about xyz, can you teach us what you know?".10 -
Am I the only one who finds single page website designs too boring and generic? Frameworks, on one side, increase our overall productivity but on the other side kill all our creativity.7
-
My boss is the king of creating ambiguous/generic trello cards and misinterpreting obvious client emails.
What the fuck man? Get your shit together!!2 -
My biggest influence on coding style is:
"If code make reviewer puke, code bad."
In all seriousness though, I think the biggest influence is seeing messy code and not trying to replicate that.
I think every code file, however ugly it is, tells you a story. Maybe the coder was less experienced, maybe it was written during crunch or the coder is an enterprise software engineer who has to make a factory for everything and everything is generic.
In my opinion there is no perfect code style. You do what's required and hopefully in your best ability, and, as a bonus, think of the person who has to look at your code next...
For me it's kind of hard to tell whether my code is good. I have no reviewer in the company, which brings the risk of writing code so only you understand it... but so far it has worked and I've definitely seen worse than my 1 year old files. 😄 -
i often do tech support in chat rooms in my free time (because i like spreading good will,) so here's a tech horror story
"""
"hey, can you help me fix something?"
sure?
"so i dug my old XP machine out of my closet and replaced the bad Ethernet card with a different one and when i plug in the ethernet cable the PC bluescreens."
# oboi
did you install the drivers? Sounds like it needs drivers
"no"
then install them
"no"
why not?
"it doesn't need any"
why do you say that?
"it said \"This device is set up and ready to use.\" in the balloon in the corner"
it has generic drivers to deal with devices before the real drivers can be found
"shouldn't they work?"
some devices need the extra support provided by the intended drivers, so the generic ones cause issues in those cases
"ok, well, where do I find them?"
do you have a model number?
"yes, it's " # scrubbed for... privacy? i dunno
gimme a few minutes
<insert 45 minutes of aggressive Googling for (str(DEVICE_MODEL_NUMBER) + " xp drivers")>
alright i have the drivers, go here:
# again, removed for... idk.
"they don't work"
# oh here we go
why not?
"These drivers are not compatible with your system architecture."
what version of XP are you using?
"XP Pro"
x86 or x64?
"x64"
# fucking...
ok so this is gonna get real complicated real fast: use x86 XP or I can't help you, none exist for x64 XP.
"oh ok"
<User left the IRC channel.>
"""4 -
So I snapped during pointing session and told the BA that I didn’t have time to explain software engineering to the team….then they proceeded to make up new requirements that the client didn’t ask for which resulted in more complex error handling that presents the user with a list of generic message; I try really hard to keep implementation details out of those meetings, because all it does is bog down the team and waste time, but I suppose I fell into that trap.1
-
Aha, more c++ knowledge. An implementation of a List (already provided by vector).
Lots of learning here, including use of the placement new operator, which is required for containers like this because if you just use the normal new operator, the buffer will construct a million items.
Also, the buffer is of type char*, not of type T, which really confused me in the beginning.
Lastly, with placement new, you need to call destructors yourself.
Interesting stuff.1 -
I gave up trying to use generic numbers in rust and just converted everything to f64
now I can do math
stupid system
*moves into a new language, converts language to JavaScript*2 -
Having a static class in C# with 20 variables of generic type: ArrayList with zero documentation to know type of array content 😒1
-
I have co workers who laugh at me everytime I discuss to them how we should create clean code. (create functions for repeating code, naming conventions, generic code).
They would brag instead how they make another javascript ui library/plugin work(we are web developers by the way). Looks good in the front end but a mess in the backend.
I already created generic classes, generic database views that can be used by them if they want. But they create a new one with the same functionality.
I am a bit of a shy guy, and they are bit of loud, and I don't want to look like a know-it-all-guy, so I just let them do what they want.
I am just concerned how we can work easier by easily reading each others code.5 -
!rant
I've been working with Golang for a while now and I've come to love the generics they introduced. Making stuff type-safe is a bit of a hassle, but it pays off greatly.
One thing I had yet to consider though, is that functions are also a type, so that those could be made generic too.
func DoThing[F func(string) | func(int)](callback F) {...}
Now you can deliver both function types and I can differentiate them using a type switch.
Weird that sometimes my brain doesn't make that connection immediately...1 -
God damn you UBports, I just want to tinker with the OS why can't you just release a generic image for virtualisation -.-
Instead I'm stuck hunting a Nexus 5 down... Ugh4 -
Today was a holiday and I wanted to make a mini project for practice purpose, the generic idea was to submit form details and view the details in another file and get the said details on e-mail too.
The main purpose of this exercise was to strengthen my OOP skill.
Not two minutes and 1 text box later I get a call to reset all passwords of "friend" because it was "urgent" somehow..
Reset passwords for fuck's sake...Now I am having this idea of automating reset password job.. -
Time to remove access to tfs for the BA. She started adding work for us for features that don't have their requirements gathered yet.
Another BA just sent us an email today about it with just a generic "we need this now" urgency with no description, no requirements, no real functionality defined. The other one had access to tfs because she was working with us on a project, and was helping out with requirements. But it seems she's forgotten that you can't just slap imaginary things in.4 -
Finished my regex validator. But now the edgy stuff kept coming. It seems that you can do a-d or 3-8. OK, makes sense (else it would be just copies of \w and \d), but anyone ever saw someone using it? I only knew a-z and 0-9.
Thing is, I wrote the perfect design now for the interpreter. Adding features is easy now and not so exciting.
Still, I have a big plan for it that makes it possible to validate nests like (()) or {{"}"}} or anything you see as start / close tag while keeping regex generic. I'm not learning it that signs between some chars ("') has special rules. That would be specialization.
Fun fact: my regex is six times slower than native C code (not c regex) validating the same. In half of test cases faster than c regex. I consider it a success.
Thanks for listening8 -
Just wanted to update you guys on the status of the weather app i was working on.
I have decided to stop working on it for the time being but might return to it at a later date.
The decision was in part due to it being a fairly generic idea in a already saturated market.
Thanks for the support however and hope my next project will be as well received.4 -
Why in the fuck are twilios typings so spread out and tucked away in a hundred folders? I have 8 separate imports to deeply nested directories (whose path includes fucking api version numbers) and at the end of each path are generic garbage interfaces. Autocomplete suggestions show handfuls of identical interfaces and types, and autosuggest for import paths is cut off because the paths are too long. To make it worse, they’re cut off at exactly the name of the directory for the actual resource I’m trying to get types for. It shouldn’t be this fucking hard, twilio.2
-
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. -
Most of my projects are based on one or few existing platforms, so core technology considerations are usually quick.
I like to wrap my head around the user stories first and then decide should this be more of a future-proof code, ie more extensible/generic, or just a code that will serve a few specific scenarios but would allow me to get it over with quickly. -
I had to reinstall windows because (hear me out) an old webcam, so old I used to use it for Messenger when I was like 8, couldn't get its drivers right for Windows 10 64 bits.
Not 100% tested, but I'm 88.9% sure it was that what corrupted my OS.
After reinstalling, I had to look up the model (super generic but distinctive enough to make me search for a whole 2 hours), learnt a lot (wow) and now it's... let's call it working.
Now I have to reinstall the 6 programs and 10 games I had that could be worse but still, damn.7 -
After hiring a guy to work on a project for the clients and after 3 months when the project was done i asked him how was his experience working on this project and to just tell me honestly cause i would like to learn from my mistakes if there are any and improve. In summary he replied that he enjoyed the project and is satisfied with the overall experience. I was happy to read that. Then i read that again and something clicked in my head. I realized that response was kind of "way too generic". So i copy pasted it into google and found a link "Answer project manager interview questions like a pro" and on that site was written an exact sentence he wrote
😐6 -
ChatGPT, Copilot, React, how to make a link in a frontend website?
To create a link in a frontend website, create a span, a div, or a paragraph that contains the link text. In your JavaScript web app, add an event listener to that element that opens the link on click. If you want to claim you're accessible, add an aria-role to the clickable element. To make debugging harder and only possible for the real arcane experts, let your framework generate generic ids and class name hashes for styling and event handling, like "item_09fcfck" or "elementor_element_foo_bar". Avoid, at all price, to use an a href element!2 -
I’m either going crazy or someone just dropped a table from a database I’m actively working in. I don’t have a drop script for any tables in my code, not anywhere. One moment it’s right there, the next it’s gone? Luckily it’s pretty much empty, only generic data. On my way to check permissions.6
-
It is so funny how this PM got dizzy when I started detailing all the possibilities of her generic requirements and asking for clarification and we started drawing how the fuck she wants in to be.
But "just put all data on the report" should be simple, right?
Not a 2 hours discussion on one topic out of 10, right?
Not.3 -
Want to hear another joke?
Blue Prism allows you to export stuff from version 6.7 to 6.3.
However they changed 𝘷𝘦𝘦𝘦𝘦𝘳𝘺 slightly the way they store the position of the nodes. No new features -or at least nothing that you would care about- but the structure of the node itself want went from
```
<positionx>1</positionx>
<positiony>2</positiony>
<width>3</width>
<height>4</height>
```
To
```
<position x=1 y=2 w=3 h=4></position>
```
The whole project collapsed to a single point, catastrophic consequences as far as exception handling. A generic "fuck you" for no real reason other than the sheer malice of those beasts of burden who developed Blue Prism in the first place.
And I have two different versions of Blue Prism on dev and prod :)2 -
This is one of the coolest shader tutorials I have seen.
https://youtube.com/watch/...
It simply walks you through start to finish enhancing a weapon. I also found it can also be applied to 2D games as well. What I don't like is it is not setup to be generic. I will have to figure out how to make it be a weapon effect you can apply. I think having weapons provide a mask for where the shaders should be applied would make that possible. Then the generic effects can be applied to the weapons or removed. No need to have unique weapons of every type and for every effect.
This is the kind of tutorials that really get me going. When thinking of 2D I had not really thought about using shaders like this.4 -
We had a planning meeting and it was mentioned that a specific story is too big and needs subtasks.
A team leader took responsibility to do that and guess what? The person just created two or three subtasks without any f*** content.
Yes, just a generic title and have fun figuring out the responsibility of each subtask.1 -
Anyone with a realistic roadmap on how to go about Freelancing?
What should I look out for?
What your advise ( please no generic popular BS)?
What platform should I use ( it’s seem there are hundreds of platform already).
A roadmap is needed please.
Thank you in advance.8 -
Generic arguments can't be cast. List<Dog> can't be cast to List<Animal>, because any methods that take Dog as an argument would suddenly have to work with an Animal (same works the other way round with return values).
But there are many situations where this would be okay. For instance, a Date can be cast to a String, so if we know that no method directly or indirectly accessible from a ListView<T> (including accessible property and field setters) will ever take an argument of type T, then ListView<Date> can be cast to a ListView<String>. Conversely, if we know that methods of StreamWriter will only ever take arguments of the generic type and interact in ways that don't change the object, then we can safely cast a StreamWriter<String> to a StreamWriter<Date>.
There could be a pair of generic constraints signifying that the type only crosses the interface boundary in one direction. I think this would be an interesting feature, but I don't know any strict type system that allows it. What do you think?25 -
This internal api is killing me. Why the fuck do people return an array of numbers inside a field that has a generic name such as `icons` to convey information such as "hasOptionFooIncluded". Because of course then icons contains '6'. Yet if both 6 and 4 are in there, it means something else. Needless to say there is no documentation whatsoever what each number or group of numbers actually means so I have to ask around to find out what numbers means what in order to wrap that call away into something maintainable. Because the API is deprecated and we don't want to fix shit in there. We just create other shit depending on this crappile. :/
Stop using magic numbers. Just stawp it! -
Know what really grinds my gears?
People who refer to "ajax" as though it's a separate programming language, instead of what it is, which is an old shitty method in an old shitty library. What I do enjoy is people thinking it's dish soap. That will *never* not be funny to me.
Examples:
1. *generic job description*...5 years experience. Desired skills: HTML, Foundation, PHP, Ajax, Fortran, Assembly, Tagalog, smoke signals.
2. Someone in "marketing": "Do you know Ajax?"
3. Jackass in a coffee shop who uses moustache wax: "I'm an ajax programmer. Yeah I've heard of [any recent band], like twenty years ago. They suck."
Go die, and take ajax with you.2 -
It is great feeling, to leave company and leave all your crap code to others :D
500 lines bash generic wrapper to curl (just to catch and print errors, not just silently fail as most devs tell curl to do).
It was monster that used "function overload" and "subclasses" (based on dynamic source files). Also dynamically created inline AWK script to parse curl output. It kinda worked, but amount of high-level hacks I had to use was enormous.
Never use Bash when you do not have to. Even if you have experience with it. Others don't have it and will fail miserably trying to patch your code. Just leave bash for fast bridging between programs, leave python/java/c#/go or any other proper OOP language for a job. Please ? -
Finished writing an ETL job in dev and scheduled it right before I left.
About an hour later I get an email it failed, now I get to wait till Monday to figure out why.1 -
Me: there seems to be a problem in the Web Sphere app server...I would recommend u change it to weblogic
Client( IT division head of his company): is it compatible with websphere soap..??
Me: soap is generic, websphere is just an app server
Client: no but we have been told to use only websphere soap, is weblogic having that..??
Me: soap is protocol, app server is changeable..
Client: no we want only websphere soap.
Me:....(trying to find the nearest exit)4 -
I submitted my code for review yesterday. Got a reply this morning about this particular code:
result.getString("name").
He's asking me to "create a generic method instead that will accept a key and return a value".
i want to flip my table now. -
yes, i know this isn't omg! ubuntu
yes i know it's obviously not StOve (you guys are way too nice)
but im going to look like an idiot for asking this here. my process is a rollercoaster to read so bear with me
context:
· xubuntu 17.10
· zsh (not that it matters)
° i want to be able to use java -jar file.jar
i tried using that command
zsh: java: permission denied
then used sudo
sudo: java: command not found
i grabbed the generic x64 tar.gz and extracted to ~/.local/.app/java/
set the Java path to the openjdk folder inside, no good
i installed openjdk-8-jre
couldnt figure it out that way, so uninstalled
RE-GRABBED the x64 tarball
extracted into /usr/java
set the path to the folder containing java & javaws executables
still no luck
what is the problem here17 -
FUCK you "WP iThemes Security Pro".
First of all, your FUCKing services isn't really secure, more like security by obscurity.
Don't get me started on how you probably don't have a dedicated team of security experts.
But oh well, the customer insisted I must install you, despite my advise.
Second of all, Don't FUCKing send me emails regarding "Scheduled malware scan failed" without it containing the FUCKing error message, not some generic "http_request_failed" error, why did it FUCKing fail?
Last but not least: Don't FUCKing clutter is with with your giant ass logo that takes up half my screen or FUCKing spam such as your upcoming events, newly published books/articles, incorrect "documentation"2 -
the year is 2050. yet another shitty 'note taking app' has be released by New Generic Shitty HypeBro Company™
still none have been profitable
🤡5 -
Rant<X, Y>
Person A: Where can i find X, and how to do it?
Person B: Why X? Find Y, Y is better, you can find Y in the... *explains Y*!
Person A: but.... but i asked for X :(2 -
MS Teams with multiple work accounts account swap flow:
1. Try to close the company-bound login modal 10x while being fast enough to also close the main Teams window.
2. Realize it's not gonna work, so login with the account you don't want to be on.
3. Have to type your phone pincode then accept the MS Authenticator login, and retype your pin code.
4. Finally logged in just to log back out and get the generic account choice modal so repeat step 2 & 3 with the correct account.1 -
Received my first recruitment message on LinkedIn today. Generic as fuck "hey your profile looks nice, we have dis thing for you, come take a looksie".
Went ahead and read the whole thing, started laughing while reading requirements:
- own a degree in CS or related field: re-starting college next week
- extensive experience with automation processes: uuuh... I can write bash scripts and gulp tasks, how's that?
- extensive experience with Java, Angular, Selenium and Protractor: sure. Spent two weeks tinkering with those tools. Pretty much an expert already
- two years of experience: not even 6 months into my first job
And some other nonsense
Job would be in a very nice city, extended family lives nearby, actually a nice position. Too bad I am not looking for a job and my classes start on Monday 😂
But hey, at least people are looking at my profile! Yay!3 -
If I need 2 weeks to implement a new feature, I need at least one more week to find better solutions which make the code easier to read. Then I would like to spend yet another week to think about other solutions to make sure I can't find one that is even better..
I hardly ever get that time but when I do, I create something beautiful..
The last time I was able to reduce > 2000 lines of code to a about 50 lines generic service which is easily extendable and understandable.
Do you include stuff like this in your estimations? -
A friend frequently asks me for help with Java homework.
Today we spent half an hour figuring out how to use some ass-backwards linked list implementation his lecturer provided.
The list itself acted like an iterator, keeping track of a 'current' element that had to be reset to the list's head manually every time you want to iterate over the list. There were insert and append methods that call each other for no good reason and most methods would throw the same generic checked exception.
Also they're told to use BlueJ which has the ugliest debugging tools i've ever seen.3 -
Boss opens ticket, describes a generic problem with something.
Boss posts another one 15 minutes later, saying "this happens with X [which is of same type], too".
Cycle repeats. -
my old game had this flow every time a client places an object:
Client A creates a new generic object, and attaches texture paths (yep, global paths are allowed), and... lua code as strings to it.
Client A sends the entire object list to the server
Server receives it, replaces it's own object list
Server copies the entire object list and sends it to all clients
Client A and Client B both receive the object list and replace their versions.
All clients see that the object contains some code as strings
They compile and store it, and then run every frame. UNSANDBOXED.
any client could make all other ones execute any code and i was proud of my idea! -
A question, because we currently discussing it at work:
We want to add a permission role system and we will have kind of fixed permission roles like a role without any permissions, a support role with some permissions and an admin role with all permissions. Should I add role entries in migrations?
The role system wouldn't be very generic anymore.
But we need e.g. a default role for new users and I don't know how to do it, without a fixed role in db.
Maybe you all have an opinion on it.2 -
Fuck, the gas spring in my ergo knee stool at home has given up. Now it's in the lowest position, not that ergo anymore, which also tore the rubber gaiter on the spring piston. On top of that, the seat cover is so worn out that I had to duct tape it so that the filling doesn't crumble out too much.
That thing is 20 years old, and the manufacturer discontinued the product years ago. Buy a new one? Noooo. Modern quality would be worse. So I ordered a generic gas spring, let's see whether I can install it, plus a moped fork gaiter. And then hire some professional upholsterer to finally get a luxury leather cover.
That will likely still be cheaper than buying the closest modern product that is even in a similar class.6 -
Screw Java. Spent the last two days in this language and it's driving me to fits. Tried making a generic function. Java can't seem to easily handle generic typed arrays. Java threw a fit when I converted an array function to an integer function. Java has all this stupid boilerplate code that you put on every stupid thing.
Programming in Java is about as pleasurable as running face first into a brick wall.2 -
Tech celebs
If you're unfamiliar with this term, tech celebs are certain people in tech who are actively followed by many people (especially on Twitter).
What are your opinions on tech celebs?
I think that only a few of them are worthy of fame because of their work(actual contributions) in the field of tech. Most of them seem to be famous because of (one or combination of such reasons):
1. Regular generic tech posts on Twitter including garbage questions (to draw engagement) like "what advice would you give to your younger self?"
2. Creating controversy and getting involved in a controversy (especially when it involves womenInTech).
3. Playing victim by posting screenshots of weirdos in their dms or people who blocked them because this engages a lot of hate from people as a sign of support.
4. Work at a FAANG.10 -
Digistore24 is a steaming pile of shit!
The whole product creation and purchase integration is covered by ugly smelling donkey shit. This whole dumb service is made by idiots.
The 'scripts' they provide to throw at your server for generic customer handling is a joke. Just a raw php mess. But nothing works and debugging this piece of shit is nearly impossible because they don't even provide a proper documentation on how they make the request to your machine.
🤬2 -
Swift is such a horrible language now that I am actually using it. You have protocols that don't behave like interfaces, classes that aren't objects, structs that aren't passed by reference. And stupid counterintuitive generic grammer. I feel scammed.1
-
Fuck, there‘s this cool tool react-admin. I want to use it as generic CRUD UI for my framework. Basics work already.
But fuck it this fucking react crap a PITA. Who for fuck‘s sake invented that shit? Damn facebook crackheads ..
JSX ... the worst idea ever.
I worked with vue before and then .. easy, just awesome.
But this crap is utterly unproductive, way too complex, ugly syntax, needs an unholy shit if dependencies, let alone the build system ...
Fuck u react fuck u ...3 -
It's so annoying to set up a vm and oracle DB. Just when you think that you are done with recreating a schema from schema dump, four packages won't compile. And of course they are wrapped and it's the most generic malformed or corrupted wrapper unit error...
-
GET Requests with a BODY as a payload are legit and stop living in denial!
TALKING TO YOU ANGULAR!
I'm fucking sick of seeing ignorant people(on SO or GitHub) coming up with the generic advice, on HTTP GET issues with having a BODY as a payload, to don't do that or you shouldn't, yadayadayada.
It's not a fucking issue at all in general, because as RFC-7231(https://tools.ietf.org/html/...) sais:
"A payload within a GET request message has no defined semantics; sending a payload body on a GET request might cause some existing implementations to reject the request."
So, if your fucking server can't handle them(aka living in the past), [rest] in peace and suck it up!
(ps, I happen to use modern servers)
But why should you limit a fucking front-end framework(ex. Angular) in the first plate to being able to send such requests?!
It's a moronic limitation and the person or team responsible for it are at least clueless and as far the issue has reappeared through time, for how old is Angular, they didn't move an inch.14 -
I just got ghosted by a live chat support member... Guess they finally realized they are idiots.
This is what happens when you give me some incompetent generic support staff that not only doesn't know shit but contradicts his own statements as well.
Time to give them a call and hope they have some actual technical people how knows their stuff over there....1 -
Hate it when I'm sincerely interested in a subject, proceed to ask someone who knows about it expecting to get an interesting conversation, a recommendation where to learn more o something, and all I get is a fucking generic answer which seems to be taken from a FAQ, and even worst, that isn't even related to what I asked 😑
-
Anyone do any development in WordPress? It's like trying to override a bunch of plugins made by a bunch of developers.
Like the Unyson plugin puts a stupid non-removable notification to install a bunch of crap with a generic class name with !important.
So what did I do? I looked through the source code and found a non-used hook I can tap into and remove the message!5 -
As if the day could not be worst.
I've a delay with an app for a school project, my stomach hurts like hell, I'm sleepy, my phone's SD card fucked up.
At least I still have some soda left, though2 -
- I have done this, this and this. I'm an amazing programmer even though i copied it from SO.
- Allright, could you explain this part since you did not write one single comment.
- (insert generic bullshit excuse)
you don't think he's the one getting the internship amd the summer job since he's the loudest? dear god, my fist, his face.3 -
If anyone here wants to know how a generic engineering college will be like in India, here's the video
https://youtu.be/BhWWiCwRb7s
Do watch it. It is accurate af.
I don't like the education system in India, so this video hit me right in the feels.
Sneak peek:
I didn't choose this engineering life, neither did engineering life choose me. It was shoved down my throat by my teachers while my hands were tied to my back by my friends and my parents watched in silence.1 -
What the fuck is this trend of pricing cloud services by the minute? I mean It's fucking great and all that I buy 2 minutes with a sql db but who the fuck actually does that?
After another night working on a server I (strongly) suggest we move our shit to a cloud service. It's cool providing I promise the costs don't rape us blind folded. Seems easy enough, right? Nope it's not.
6 hours later, halfway to becoming a fucking network engineer and I'm more lost than ever.
Seriously can't the fuck AWS and google cloud show a monthly price - even an estimate for generic shit like $x for the average crappy wp blog!
If anyone has some helpful info / experience on the true cost of hosting generic web apps - the retardedly simple app I'm trying to price is:
1 php web application with 150 domains, 3gb mysql db and 30gb ssd.
I gets has 45000 sessions with 250000 page views.
Your help would be greatly appreciated. Currently I'm leaning towards deploying a clone sending 250 000 random requests and praying my $300 cloud platform credit will cover the bill.4 -
It's probably no news that I love Typescript's versatile and powerful generics. Today I found what is probably the most brilliant use of these tools to solve a real problem. This package exports one generic type which takes one generic argument, reads it like a JSON schema and returns the Typescript type for it:
https://github.com/YuJianrong/...7 -
There are billionaires/millionaires who get asked almost the same question -> "What would you advise for a beginner?" and they usually say some BS answer like -> "Wake up early. Read books. Workout" etc. And they get clowned on for giving out "generic" advices.
But I think, they do it on purpose. Like, think about it. If I make a billion dollars tomorrow, (somehow), why would I lay out step by step to you, on how I did it? Why would I increase competition for myself by giving you "real" advice?
So they will never reveal what they did to get where they are, whether it is joining an elite cult, selling their soul to the devil or just keeping the business active. We will only get generic advices because it's an easy cop-out.3 -
Today a recruiter messaged me on Facebook. Week ago, I left a post with my CV on a programming group-currently I'm looking for a junior JAVASCRIPT (important ! ) /Node.js position, explicitly said so.
R(ecruiter): "Hello sir, we noticed your post with CV on group XYZ, are you still looking for a job?"
Me: "Yes, of course."
R: "We are building a new team in city X, remote work is possible. I will send you job posting right away."
Started reading it, job title is SENIOR JAVA DEVELOPER. Okay, maybe she sent me wrong document, maybe she wanted me to read just a bit about company and every job posting is pretty generic.
Me:" This job posting is for a senior programmer, I take it you're looking for juniors too ? I would happily take it, it's just I want a job to learn more things. Did you read my CV?"
R, annoyed: "Requirements for this position are quite clear, I believe. We are open to working with people with different experience level."
From there, she was pretty negative but I remained sympathetic and agreed to met with her boss next week. After all, maybe he has a position for me.
"Java and Javascript are similar like Car and Carpet are similar" -
Tatatataa...
Writing a simple parser for a simple configuration format at work...
Surprisingly fun; I decided not to use a lot of ECMAScript's fancy stuff and do it C-like... ish.
Good fun, I may make it more generic and configurable and put it on my GitHub... -
Here's a story about why putting util functionality in a generic parent class is baaaad. So we run into a bug where an online shop module we develop causes a third party module to break the entire site until the session expires.
We track the bug down to the fact that the third party module has added some functionality to the part of the shop that deals with the cart and that functionality expects that one of the module's libraries is initialized. But as it turns out another of that module's libraries that is loaded earlier is fetching the cart and thus triggers our module which adds gifts to it.
Now, since we need a deeper integration with the cart to make gifts depend on the cart contents we call the part of it that now depends on the third party module's unloaded library.. So we think changing the order the third party libraries are loaded will fix the issue, only to discover the unloaded one is a child class of the first and the cart is fetched in the parent constructor. The parent of course then turns out to be a generic util class, inherited by all the module's libraries, so whatever order we load them in, the constructor is always called, so we had no other choice but to dynamically disable our module during the initialization of those libraries and then patch the updated cart contents into them after they've all been initialized.
At this point we get curious what that module's doing with the cart contents only to discover.. nothing. It's just that the parent class is full of utils and data fetching that the vendor reuses in all their modules.. -
Any good advice for managing junior developers?
In my experience I have found that loose definitions of work to be completed yields poor results. Honestly, sometimes I wonder if I have to write the code structure and leave a bunch of TODO comments for people to fill in.
Or alternatively people get going on tangents without thinking of the concrete problem given.
Or go try building generic abstractions that are unneeded and will not be reused complicating even the simplest use case.
Maybe the problem is in me and that I am not clear in communicating what's needed. What techniques do you guys use to get more or less what you want?7 -
What a delight to have to work on macOS. Not.
Took me two days to notarize our app bundle. The ultimate issue was a dead symlink inside the bundle which would make the codesign verify (with strict option!) fail, while verification of signing operation itself passed.
Notarization would just give generic error: not properly signes. -
About a month ago, one billion of Yahoo Accounts has been compromised. Today I received two emails from yahoo in my gmail accounts, they were saying that my yahoo password has been changed and my recovery email has been removed (+ a lot of warning emails of old accounts of forum and games that were receiving unknown accesses, but nvm). In the email which informed me about the recovery, I saw a link that would have allowed me to restore the old account, but before to click I thought "Wait! I had like 10 yahoo accounts. What account am I saving?" I check, I read, I read again, but nothing, no information about it in the text. Nevermind, there's a link. This link will be related to a specific account. Right? Wrong. I click, it sends me in a generic page. The link is mute. I attach a screenshot, you can see where the link points in the left-bottom corner. So now I know that one of my accounts has been hacked, I don't know WHICH account has been hacked and I'm not able to recover my account. Luckily it wasn't my main inbox!5
-
We had a course on GUI and Databases as part of my bachelor's degree. It was a basic introductory course (I am a mechanical engineer) where we were expected to design some tables and build a simple front end in VB6.
But the instructor was so bad that he hardly taught any VB code at all. And as far as theory on databases was concerned, about 80 percent of the lectures involved some generic introductory statements followed by an explanation of the terms DDL, DML and DCL. I do not remember him writing even a single SQL query to explain to us how it's done. -
FUUUCK TYPESCRIPT
It can't handle this function: `(arg) => arg` without kicking around a bunch of generics.
https://stackoverflow.com/questions...
This is ridiculous. The generics system on Typescript is complete trash, the amount of things it's unable to handle are unbelievable, and I feel like I'm taking crazy pills when I'm supposed to just accept that they couldn't possibly have done better.
Seriously, if I was one of the developers and I saw an issue like this, I wouldn't defend it; I'd be embarrassed.7 -
Okay, my initial revulsion for ABI has receded. All things considered, my options aren't that bad. I just had to change my perspective from "huge downgrade from static linkage" to "huge upgrade from a message channel".
Just like a web API, I have to draw a continuous line through the program that separates specific concerns of interest that must fall on one side or another, and which can only cross through things with specific properties.
There are several crates shipping a number of different binary-compatible types, even generic types. Not everything can cross, sure, but maybe not everything should cross either. Maybe a DLL should receive an opaque handle for certain things, such as interpreter internal code representations. Maybe having these separated is important enough to justify having a translation layer.
I'm sure there's much woe ahead, but I'm learning to stop worrying and love the ABI. -
I love Typescript's challenges. Today I had to make a generic interface that replaces every property in its parameter with either itself, a promise of itself or a different property keyed `obtain${key}` which is a function returning either the value or a promise of it. Not a very difficult challenge, but it was very satisfying to solve.
If anyone has the patience to attempt it I'm very curious what more experienced type theorists than myself come up with.1 -
I wonder what would happen if I replied to recruiters that spam my email with generic irrelevant roles with this:
Thank you for spamming. Your address has now been forwarded to a spambot.7 -
Be vary of entering commands from history (Arrow Up), especially if you did a destructive command not long ago.
Did this in a database for a game. I cleaned the clan tables not long before release. Then a short while after the release I searched for a clan related query and ended up clearing one of the tables again (ofc on autocommit). :|
So had to delete the related tables and notified people they had to claim their clan name yet again really quick.
---
Never had the issue on linux yet, but I'm usually vary when doing a generic destructive command (like "rm -r *"). The problem rarely happens with zsh (you can arrow up based on what you already typed) but I'm often still vary and prefix the command with a space to prevent it showing up in my history.6 -
Have this problem which already took me well over a day to figure out.
Thinking: "I might try SO, maybe I'll get an answer there.".
*Posts question with nice explanation and code example.*
Literally 5 mins later: question is marked as duplicate of a super generic question, which does not answer mine.1 -
When you're doing a generic programming course, and you're passing shit left and right with flying colors until you hit the one assignment where you have to write in human-speak...
-
Watching the building maintenance guy assemble desks from kits. Thinking to myself that the company bought him an erector set. Also realizing my job is to assemble software and electronic systems. So basically a generic erector set.
People in tech fields are just building more sophisticated erector sets. No wonder we like games that let you build things in game. We all just want erector sets to be happy. -
[New Collab]
Well it may be the only learning collab, I didn't read everything. But I started a Entity Component System library to learn some stuff like metaprogramming : https://devrant.io/collabs/826092/...
And I'll be really happy if some people could give me some advices / suggestions about generic C++ libraries and this code :D
I love you <3 -
this is not a solution, what the fuck https://github.com/seanmonstar/...
modern era, where a "safe" language can't even do basic bitch network calls right and then you write a retrying loop macro to get around it. yeah I had that already because I didn't have access to reqwest configurations and I think the library I was using to wrap the reqwest calls to the API was doing something wrong. turns out the fucking accepted by a damned GPT bot solution is to JUST KEEP RETRYING?!
WHY IS IT SENDING TERMINATE CONNECTION MESSAGES RANDOMLY
unfathomable. one of the most popular crates on rust. maybe they should care less about their cult and more about their ridiculous-to-have bugs
remember kids, javascript is the devil, JavaScript is ugly, messy, you have brain cancer if you use JavaScript. at least it can do network calls properly without you having to make retry loop MACROS (because the generic system sucks) all over your code!2 -
The first whole, finished and completed thing I’ve done? A theme for Nokia s40! I had a Nokia 2700 Classic back then. I was 13, I think. On my computer, I used Windows XP, but even then I desperately wanted a Mac. It was a success stereotype. I looked at all those people with MacBooks in cafés, and I didn’t believe I would ever be able to afford one.
This is why I used flyakiteOSX. Some of you might even remember that — it was a tool that kinda made XP look like OSX.
So, it had icons from macOS. I put them into a s40 theme generator. As a background, I used a generic yellowish papyrus backdrop.
This was THE first moment I made something I LIKED. I used that theme right till I got my first Android. This project is included in my list (https://uyouthe.notion.site/dc3958c...), but, sadly, it’s lost media at this point. -
Stupidly tested some sql on development to return results for an admin (see the whole results) and stupidly didn't test the where clause for generic users (only see a subset of data)
To find out on production the where clause was being run because it wasn't a where, it was an 'and' and 'where' was not being used before so made the whole users get the entire results.
My own fault for not testing all use cases. Horrible though.2 -
Jesus fuck generic number adding in rust is pissing me off
why did I decide to do this
I literally don't have to
let's just add 12 traits and then find out it doesn't know how to divide by usize. well how the hell am I supposed to convert it then. there's no trait for "f64 as f32" so now my shit looks like spaghetti cuz of that, now this...
so let's see I could call into() on usize to get it to be unknown T number... but there's no way for it to know what to convert to and I can't determine if there's any way for me to tell it that
THESE STRAITJACKETS
I might just need a padded room at this rate
*goes to sleep* later
.... required for usize to implement Into<T> wat
😩
I suspect that's gonna be another dead end
GOod ErrOrS16 -
Had a legacy web forms app to maintain. With some generic event handler. There is a variable called "aDirtyHack" inside the query resolver for the grid. It adds a extra column for one customer.
-
describe logic/algorithm you would use to detect a (presence of) full name in a string. goals: obvious == Most reliable, hardest to fool, least false positives, as generic as possible ( == as few hardcoded data as possible)12
-
Top 12 C# Programming Tips & Tricks
Programming can be described as the process which leads a computing problem from its original formulation, to an executable computer program. This process involves activities such as developing understanding, analysis, generating algorithms, verification of essentials of algorithms - including their accuracy and resources utilization - and coding of algorithms in the proposed programming language. The source code can be written in one or more programming languages. The purpose of programming is to find a series of instructions that can automate solving of specific problems, or performing a particular task. Programming needs competence in various subjects including formal logic, understanding the application, and specialized algorithms.
1. Write Unit Test for Non-Public Methods
Many developers do not write unit test methods for non-public assemblies. This is because they are invisible to the test project. C# enables one to enhance visibility between the assembly internals and other assemblies. The trick is to include //Make the internals visible to the test assembly [assembly: InternalsVisibleTo("MyTestAssembly")] in the AssemblyInfo.cs file.
2. Tuples
Many developers build a POCO class in order to return multiple values from a method. Tuples are initiated in .NET Framework 4.0.
3. Do not bother with Temporary Collections, Use Yield instead
A temporary list that holds salvaged and returned items may be created when developers want to pick items from a collection.
In order to prevent the temporary collection from being used, developers can use yield. Yield gives out results according to the result set enumeration.
Developers also have the option of using LINQ.
4. Making a retirement announcement
Developers who own re-distributable components and probably want to detract a method in the near future, can embellish it with the outdated feature to connect it with the clients
[Obsolete("This method will be deprecated soon. You could use XYZ alternatively.")]
Upon compilation, a client gets a warning upon with the message. To fail a client build that is using the detracted method, pass the additional Boolean parameter as True.
[Obsolete("This method is deprecated. You could use XYZ alternatively.", true)]
5. Deferred Execution While Writing LINQ Queries
When a LINQ query is written in .NET, it can only perform the query when the LINQ result is approached. The occurrence of LINQ is known as deferred execution. Developers should understand that in every result set approach, the query gets executed over and over. In order to prevent a repetition of the execution, change the LINQ result to List after execution. Below is an example
public void MyComponentLegacyMethod(List<int> masterCollection)
6. Explicit keyword conversions for business entities
Utilize the explicit keyword to describe the alteration of one business entity to another. The alteration method is conjured once the alteration is applied in code
7. Absorbing the Exact Stack Trace
In the catch block of a C# program, if an exception is thrown as shown below and probably a fault has occurred in the method ConnectDatabase, the thrown exception stack trace only indicates the fault has happened in the method RunDataOperation
8. Enum Flags Attribute
Using flags attribute to decorate the enum in C# enables it as bit fields. This enables developers to collect the enum values. One can use the following C# code.
he output for this code will be “BlackMamba, CottonMouth, Wiper”. When the flags attribute is removed, the output will remain 14.
9. Implementing the Base Type for a Generic Type
When developers want to enforce the generic type provided in a generic class such that it will be able to inherit from a particular interface
10. Using Property as IEnumerable doesn’t make it Read-only
When an IEnumerable property gets exposed in a created class
This code modifies the list and gives it a new name. In order to avoid this, add AsReadOnly as opposed to AsEnumerable.
11. Data Type Conversion
More often than not, developers have to alter data types for different reasons. For example, converting a set value decimal variable to an int or Integer
Source: https://freelancer.com/community/...2 -
Built the most generic file importer.
So a customer had his SAP system giving us some 5 million barcodes in a csv which we needed to parse. But as there could be different file types and I thought the handling would always include the same steps I made them configurable through function pointers. - Did not want to make it as spooky as the rest of the code base where the function pointers were buried deep in some shared memory configs, which might even change at run time, but rather I statically used the member functions of my class. Just to poke fun on the ugly C++ syntax of member function pointers. I still shudder at the thought some poor soul now has to maintain that code.
(For the actual parsing I actually used a one liner in awk which was churning through the records in one minute which was faster than the SAP guys seemed to be accustomed to.) -
!rant but I'd like some advice.
This summer I'm taking a brief course on programming, very generic and mostly just to get it officially on paper, and as of what I can tell a lot of it will be stuff I'm familiar with. Basic syntax, loops, logic, good practices, etc.
However, I get to choose the language I get to work in myself. I assume they have a set of the most commonly used ones (couldn't find a list of them though) and I was wondering if anyone had advice on which to pick?
I already have a base of decent JS and Python, but I feel like it might be good to pick something other than Python? Because even though I love it to bits, I do realize that it's not the optimal language in all situations. What I'm pondering is Java or one of the C-languages, but again, I'm not one of the pros here. Any recommendations?4 -
Hey guys,
I´m trying to create a generic class, which inherits from an Interface, which is also an generic.
My problem is to instantiate the interface with the correct type, cause the new class should use all classes from the instantiated interface.
Is this possible? It´s a bit complex ^^ but that´s just my thought :)3 -
If I kept track of all the hours wasted on issues due to overloads of functions called ToList() it would probably make up a sizable portion of the project budgets.
If I call ToList on a query object, it looks like I'm trying to serialize the query definition into some kind of array. That's what it *should* do with that name. Bonus if the object implements some generic enumerable interface, ToList makes it call your database, you can just toss the query into some json serializer that blocks while calling ToList for you, and people end up doing exactly this because the code turned out so much neater.
Because that's the thing. It's like people implement it because it's "neat" and the user shouldn't care about its internals. How many tears would be shed by just calling it ExecuteAsync? -
Client needs a section of their current website redesigned and add some functionality based on user interaction with the website.
ac - account director
ac: Need timings on FE build for his section on the website.
me: Cool can I see the wireframes/designs?
ac: No wires yet, designs are here...
me: *sees 3 pages mocked up out of 50 different ones in this particular section, and they all have different functionalities*
me: I can only give you estimates on the designed bits
ac: Just estimate based on the UX proposal, it's here...
me: *reads first line - "Make F&Q section and sub pages more visual*
me: Tasks described in the proposal are too generic!
ac: Just estimate based on the previous work done for this client (which have nothing to do with the current scope)
me: *dies and goes to freelancer heaven*1 -
So me and a couple of my teammates were developing a website for artists where all the things related to artists such as artworks, events, geolocation info etc. happen to live.
2 months down the line, the client comes up with another team who is supposed to develop iOS and Android apps to give the users the ability to leverage this data.
Now this team is so annoying that they want the API according to the specifications they provide. That's really weird. API should be generic, right?
But no, this doesn't end here, the PM of mobile app team comes up with a specification document for the API and what does it contain, a few endpoints which go as below:-
/home - To bring all the home screen data
/events - To bring all the event screen data. But here is a twist, on Event screen, they have defined different sections for Upcoming Events, Workshops, Talks etc. And for each event type they don't want a filtered API but just this single endpoint which will contain all event types data in their own JSON keys.
FML
:/4 -
Any good programming language with great generics support that is not dynamic ?
Rust generics sucks so much I puked 2 times.
Tried with swift and it looks great.
Golang doesn’t have them.
Java sucks.
Maybe I try julia if someone say it’s cool.
I want to implement some 2d vector algebra and simple physics engine.
I started by creating generic 2d vector and trying to create dot product from it.
I didn’t wanted to do it in swift but wasted 2 days trying to do it in rust vs 1 hour in swift including 49 minutes of installing swift tools.
Anyway anyone know performant language with good generics support, let me know in comments.39 -
Has it ever happened to you that you take a simple 6 hrs task, build it and then redesign to make it generic by wasting 30 hrs more and spend another 20 hrs documenting it so that others can use that generic feature?1
-
I see a lot of articles/posts about the difficult of CSS.
Finding it hard to maintain, or resulting in spaghetti code.
Is this a common occurrence?
Whilst I've come across it in a few projects before, I wouldn't say it's a regular.
Now a lot of our sites are built on CMS' (Umbraco), but here's my approach.
I'll style the generic elements first across all pages
User generated content is usually in its own CSS class (for nested targeting, e.g. ul/ol tags)
Then I'll give each Document Type (post type/page type) it's own body class and apply specific styling to that page where needed.
Hopefully that's of help to some of you. I'm interested to hear your approaches to it! :)5 -
This is practically impossible to goole due to the generic nature of the words:
I need a CSS selector to match all parts called "tab" with class "active" within a component. For some reason
my-component::part(tab).active
doesn't work, and I don't know if it's a bug or not.6 -
my APAP's SD card died and I had a generic 2GB one kicking around unused
>formats as FAT16
>inserts
UNAUTHORIZED CARD
>hmm
>zeroes drive
>forgets to reformat
>inserts
Formatting SD Card... done.
Space available: 1.8GB
Set as Primary Log Storage
>:megathink:
>checks format
>FAT16
>reinserts
UNAUTHORIZED CARD
>wipes MBR/PT
Formatting SD Card... done.
Space available: 1.8GB
Set as Primary Log Storage
and that's the story of how i managed to not need to spend $200 on a proprietary SD card for my APAP2 -
Hey guys, did you know that you can use `impl Trait` in the position of an argument in Rust to identify an argument with its capabilities without the boilerplate of a generic parameter?
With that in mind, I present to you Rust's universal type:5 -
when the swift language cannot infer the generic type from the invocation, it also doesn't want you to explicily specify generic type in the bracket...
says i have a method:
```
func createDeferred<T>() -> ABC.XYZ.Deferred<T>
```
then if you call it like this:
```
let dfd = createDeferred()
```
It complaints that it cannot infer generic type T, which make sense.
But it also doesn't want you to code it this way:
```
let dfd = createDeferred<Int>("countProperty")
```
if you do so, it mumbles gibberish: "Cannot explicitly specialize a generic function".
What it actually trying to say is, you should put the type somewhere else so that it can show off its smartness to "infer" it from there:
```
let dfd: ABC.XYZ.Deferred<Int> = createDeferred()
```
with a few more typing and findout what exact type it is, it finally works.
the moral of the story is, in order to communicate with the wonderful work apple genius made, you don't tell it what is the answer straight away, that's defiance, you must hide the answer somewhere intricately and let the smarty swifty swift to find it out for you.6 -
Was asked today what type of service ticket was needed for a domain level whitelist request.. gave them the answer, and they tell me, “oh I don’t think I want to do that, I’ll just create a generic ticket and go from there.”
Why ask if you are going to do it your own way anyways..
This happens to often in all parts of IT. Someone consults you, tells you your suggestion sounds difficult, then try’s to take a short cut..
Good luck to them.. so glad it’s Friday! ✌️3 -
I've just discovered https://asciinema.org/.
Does anyone know other cool platform like this?
I was wondering if there is something generic for casts like Rails Casts or Vim Casts.2 -
Rust's Fn traits feel weird. The argument tuple is a generic parameter, but the return type is an associated type, even though Rust is supposed to use Hindley-Milner type inference, so inferring through return type should always fail if this were a regular trait.
Then, this would mean that blanket implementations for Fn(T) and Fn(T, U) should conflict because AnyTrait<(T)> and AnyTrait<(T, U)> aren't mutually exclusive. I tried, they work just fine.
There's some weird and I suspect unnecessary special case magic here, and I'd like to uncover it.17 -
Customer (to me): I was talking to [my coworker] and he said to [generic fix]. I just wanted to let him know it worked!
Me: I'm glad to hear that--I'll be sure to let him know!
Customer: Thanks!
Me (to coworker): That person said your fix worked.
Him (an atheist): Thank Jesus... thank Zombie Jesus!
Me: More like "thank Barry Benson."
Coworker: Who is Barry Benson?
Me: *Googles Barry Benson to show him*
We both cracked up for like a full minute. -
The fact that i no longer have to bother knowing or googling about generic java classes, lambda expression, regex, SQL syntax etc, and just ask ChatGPT to show me a code example of it - blows my fucking brain off2
-
Just got explicitly told to turn off any Samsung Galaxy Note 7 devices in the usually generic pre-flight "Turn to flight mode" announcement 😂😂
-
Getting super demotivated looking at job postings on both indeed and glassdoor - they all seem like the same generic bullshit of maintaining some website... does anyone have suggestions of how to find companies that are building exciting products that aren't dinosaurs?8
-
Freaking dev requesting me to add an api route to give him pre-treated results no one else needs.
We're building "generic" stuff here... -
Never work on a feature which is too huge so it needs to be divided among multiple developers. Reason because there are high chances that one of the devs will do one or more of these:
- Follow his/her own coding style rather than what the system already follows.
- Write generic flows based on his/her part alone making it super difficult for rest to reuse.5 -
Somewhat sad when team lead names a Sharepoint document library as ”a repo”.
I am not surprised. I am used to this level of incompetence. But…still.
I am aware of the generic nature of the meaning of the word repository. I just find it very sad that people with no actual competence try to make it look like they actually knows something.2 -
Seems like no one's responding even after forwarding everywhere.
Looks like this platform is my last hope.
What am I trying?
Trying to add external display using USB 3 to VGA Fresco Logic 2000 chipset adaptor by compiling a driver and loading a module in the kernel 5.4.0-84-generic in Ubuntu 20.04.3 LTS.
Problem I am facing.
As soon as I load the modules, the screen flickers, and lsmod shows used_by 1 but there's no display on the target device and the used by in fl2000 goes back to 0.
https://askubuntu.com/questions/...6 -
Why should "Trashcan" be a generic abstract class?
Because otherwhise you could throw all types of trash into the same bucket!2 -
Does anyone know if there a way to use 'wifi calling' on your computer, not just on phones?
Also known as:
Generic Access Network
Or
Unlicensed Mobile Access
I would love to use a raspberry pi zero w with wifi calling, so i get away from normal mobiles8 -
How do you guys like to name things, do you prefer being specific/verbose or generic? Say, we have a vue component to which we need to pass props. Would you prefer:
<todo-list todo-model="TodoModel" />
or rather:
<todo-list model="TodoModel" />
For me, the first is easier to search for, the other is more elegant and decouples what is happening from why is it happening.5 -
Just a question about a generic social app. Using mongodb , 3 entities ,like comment and post . how do I display posts in feeds with comment count and like count . since its mongodb I can't do joins . the other way is to maintain a data structure on the server side . or yet another way would be making 2 extra queries to db for retrieving like and comments count . Any other way this is possible or is it possible to form a query in mongo db to retrieve all 3 at the same time???1
-
I am using a Raspberry Pi with CUPS and a USB to LPT adapter to enable one of my customers to still print on an old HP DesignJet.
HP dropped support for this printer with Windows 7. Of course the generic HP PS driver with Windows 10 works - but only via CUPS not directly from Windows. Windows claims that the printer is not compatible.
What's wrong with this world?1 -
None::<()>
I hope as never (`!`) gets stabilized in Rust, they come up with a clever heuristic to set it as the default value of generic parameters that cannot be deduced because the variants using them are never constructed. -
Anyone know of tutorials which use...unconventional project premises? Usually you see To-do apps, sample blogs, and other such generic offerings. Not that those are bad, but I'm interested in finding more outlandish, unconventional examples. Like, say, developing a mock GUI for a spacefaring vessel.
I'm personally interested in examples pertaining to React, VueJS, and Laravel, but if it fits the outlandish and unusual criteria I'd love to see it all the same!3 -
I hate pl-sql and data warehousing. For this project we're extracting from source tables using a generic method equal for every student, changing the data and then copying to a table for analytics.
Everyone's project is fine. Mine occupies 90mb and exceeds the quota already. Delivery due in 2 days... So much for that cs grad. FML. -
With C++11, fell in love with std::enable_if and others in type_traits.
Lets you take generic programming to a whole new level. I never used it when this was part of boost thinking it didn't make as much sense. Now, I like to qualify my template definitions to be as restrictive as possible based on the expected usage. -
I can confirm that Crystal lang v1.0.0 is not stable really. I seem to have hit a block. For example, I get error messages like this frequently:
`Error: can't use Hash(K, V) as generic type argument yet, use a more specific type`.
I love the "yet" in this message; it gives you some hope!5 -
That would be lambdas in C++11, nice way to implement callbacks and make them quite generic while keeping code readable :-)
-
Doing node dev with a friend that never used JS before
He asks about how to make enums for our generic model to use
Good question I think, I'm not sure
Apparently you just make a fucking object and freeze it, go figure with JS
"Wow. I bet that's super fast /s"
Dammit JS you patchwork ass language, I love you but I see why classic language developers are turned off2 -
I feel like I have zero idea what I'm doing when I'm interviewing potential candidates
Tempted to setup interviews for myself at a bunch of other companies just so I can figure out what questions to ask/how to go about things/etc, but I feel like I'd just be wasting the time of the interviewers at those companies...
Does anyone have any suggestions on good stuff to ask/talk about/etc?
For reference I mainly interview people for Android/iOS/React Native/web/backend roles (although not all at once), but I'm looking for more generic tips if possible3 -
Hey guys, perhaps some of you might be able to help me out.
My current task in my job is to implement an OAuth2 client in Android. I know there are a lot of out-of-the-box solutions for like Twitter, Facebook, Google etc. but I need to make it work with a generic OAuth2 server.
So I tried several frameworks for Android like AppAuth, Scribejava, etc. and most of them are buggy/outdated or aren't working with the Android version I have to use (API 24, Nougat).
I already asked for help in the android-dev IRC channel, but to no avail. Also looked up dozens of repositories on Github.
I'm rather desperate right now, because I'm running out of time :(
Any help/pointers are appreciated!
Thanks!1 -
So I had a printer ticket today at a school. School recently had an IP conversion done and apparently this specific Printer wasn't add to the Network..got the printer added. Confirmed the Drop was activated and made sure Network settings were configured properly with correct IP. Was able to talk to the Printer after pinging the IP and ran test print... Nothing printed out. weirdest thing. Whenever I hit print test page. I noticed the printer would say receiving Data for a quick sec and go away.. after some research found out this printer doesn't take the Basic Generic Driver. Needs to be specific to the Model. . After updating to the right driver. Printer is printing.4
-
Haven't posted on devrant for quite a while but I need the community's input on a decision I have to make:
I recently graduated from college and I have two job offers: one as SDE 1 from Amazon and another from a small (less than 10 people) but quickly growing start-up. I looked at all the generic pros of cons of joining an established company vs a startup but I am still torn on the decision. Both the companies are offering similar pay, so money's out of the question now.
If anyone from the community has any advice from personal experience (or specific to Amazon), that'd help me a lot.
Have a good day, everyone!4 -
/*
Quick fix for issue#666 : Generic evil
no code changes required
ignore run time errors
and it'll eventually run just fine.
*/
DROP TABLE religion;7 -
Diesel is an incredibly beautiful ORM, but the size of the DSL means that despite Rust's state-of-the-art IDE integration I'm back to editing code, waiting for it to compile (as soon as I stop typing) and changing random shit if there are red squiggles.
The error messages are totally unreadable, all in-code references point me to meaninglessly generic abstractions, and a good portion of the impls are generated by macros so I can't even look at an actual final definition.
The confidence that if it compiles it'll run is stil there, but nothing else.11 -
Looking at Rust's preliminary fn trait model (basically the function call operator) and I don't get one thing:
Why is the argument tuple a generic type parameter and not an associated type? It would've been so easy to ensure consistency in the position that Rust doesn't have overloads. A trait can be implemented for any number of generic type parameter values, but an implementation may only have a single type for each association.3 -
I've been working here for a little under a month keep hearing about them not remembering passwords, or not being able to access something due to a rarely used forgotten password, so I decided to Set up a shared password manager for the team using keepass and a generic intranet setup, pulled a password csv from one random on the floor person's chrome to start with. Turns out they ALL sync data from the owners account, and the owners saved passwords include HER payroll login info, and the accounts for ebay, amazon, etsy, basically anywhere you can buy anything....
yeah I think this is gonna need to be a conversation with her soon.8 -
I really don't know how to name a context. I can't use job or a synonym because it's already used for something that only makes sens as job. And I don't want to use any of the handler/manager generic meaning less words. Aaaahhhh! Naming is hard!
-
Stuck in debugging a python script (using 'requests' library to achieve 'curl' type function) for the last 2 hours
Worked fine yesterday in Python REPL.. Throws exception when put in a long exisitng .py script.. Works fine again when put in Python REPL
Found out that when in REPL, I am careful to import 'requests' library every time but ignored when typing in .py script
(Feeling stupid)
Lesson learned: Don't use "generic exceptions"!! They never let you know what the real problem is.1 -
Does anyone know how to implement such kind of website or app? It's regarding realestate plot availability. It is fully interactive. And also please suggest how to make a generic software for uploading such multiple maps and plotting buttons on them.
http://neemsboro.com/neemsvalluru.p...9 -
Incoming phone call from an unknown number. I am busy coding, the number is not in my contacts, and there is no caller ID. Callers could leave a message on my voice box, but most don't. Callers could send me an email or a short message, but most don't. When I google their number, there is either no entry at all, or one of those generic reverse phone book sites called something like "look who's calling" telling me that it's a German number of an unknown ower. I don't get it.
If making outbound cold calls is your profession, why won't you use any of those free trust-building options? Are those people getting paid just for typing numbers into their keyboard and listening to the ring tone?2 -
Stupid Windows and their super generic error codes for why the 1607 release cannot download.
I just want bash on my windows machine!1 -
Anyone herr tried API Platform?
I know I know. Generic ass name but that is what the framework is called.
Its in php, it contains a lot of goodies from(try and guess...no?? Ok I'll tell ya) the Symfony platform(go figure right) so if you are familiar with Laravel or well....Symfony then I guess that you will be good to go. I ain't...so fuck me because I only know Laravel.
Either way the concepts are very simple. Configs is donde almost entirely with YAML, i dunno how to feel about that, not used at writing routes on yaml, but the framework is thus far quite powerful. About to test jwt auth so wish me luck!4 -
People experienced with java/ multi threading , can you tell me how you build a pausing mechanism for threads? Like, if my bg thread is supposed to count for 100 seconds, and i need a mechanism to :
A: start it,
B: stop it on its counting completion/ manually
C: pause its execution at a number on a button click
D: resume its counting from the same number on another button click
How would i do that?
SO Question link here: https://stackoverflow.com/questions...21 -
Just got assigned a ticket from a client, who described their issue with a very informative note that says:
[site name] keeps timing out
This is actually probably related to another issue I'm trying to fix (though I'm sure client doesn't know that), so if I'm lucky I'll be able to figure this out. But it seriously peeves me when clients give us a four word generic problem and expect us to just wave our magic wand to fix it -
I’ve been trying to work smarter and not harder.
I’ve been applying to internships with my cover letter and resume.
My cover letter is pretty generic so I only need to change the company name and company position for each application.
Used to do this all manually through google docs but I just wrote a cool script
Using bash, I ask for the company name and position, and then I just generate and compile a latex version of my cover letter with those parameters updated.
Then, the pdf of my cover letter is combined with the pdf of my resume.
After that, the pdf of my application goes into a directory in my career folder so I have a record of it.
This has saved me so much time lol I’m happy I took the time to figure this out2 -
Been integrating with a third party system for the last 2 weeks, we can send them requests fine but when they post the response to us they get a generic error.
After responding very politely to an increasingly aggressive contact at their company for the entire day, where he says it is our system that is badly configured, they figured it out.
Their system only has support for sending data using TLS 1.0 and below....
So turns out he was right our system wasn't configured to work with theirs. We only allow 1.2 and above... -
>opens up one of my four editors
>opens up with the barebones of a project
>no identifying information, just the start of a project
>file name is generic
What the hell was I even doing?!1 -
*generic, flaming hyperbole about software lacking preferred features*
*over-glorifying opinion on preferred software and its superior implementations of features offered by hated product*
*generic user*
*actually employee of software #2's company* -
Acumatica, left my last job because of that crap. Their implementation of a query language ('BQL') using generic types is horrendous1
-
- we need to show progress to the business
- but rewriting this component to be generic AND implementing it on the whole website can't be completed in one sprint. This will require a lot of regression testing, modifications to existing functionality, etc. we need to split it in two
- that's disappointing
we were forced to write shitty patchworks for over 2 years and now everyone's surprised it takes time to replace with proper code -.- -
Which books would you recommend about Software Development? Generic principles, not language oriented.4
-
Greetings guys, I am just going to my first assesment day and I have no idea what to expect. If anyone has any generic advise i am all ears. Its for a junior java dev. Thanks in advance
-
Unity Controller Support:
Why are controllers awful, it seems like I have to custom each different controller manually to the game. Why can't the the A button on one controller be A on all controllers.
Why can't there be a universal built in controller script that would convert all of the different types controller inputs into a generic controller input that can be translated by just one script instead of writing a script for every common controller... 😠3 -
Sooo. That starts to be a bit annoying:
I'm working on a large refactoring with a pretty good inheritance / generic system. And some code generators.
Rghjt now I'm doing a script which generate code files, which will generate code-gen templates which will generate final files.
It's funny and it's a one shot generation, but still. So much abstraction.
(End result is good tho. Everything in small files less than 15 lignes of code. Everything structured.) -
PS: sorry the the question is too generic and with very broad boundaries.
PPS: Pls don't mention integration problems?
Ques: I wish to know what kind of software related problems do you devs face/faced in your work,
Say like you were working in version 9.2 postgre and in the end you realised it had to be 9.6 and get doomed or like the bot deployed created it's own error?
PPPS: It would be lovely if you could classify in what category or stage of pipeline does it belong to.
Thanks!!☺️3 -
What do u think guys about the generic idea to add static methods in a class that will be some sort of "thematic helpers" that will be used in the whole app ?10
-
Okay you AI Gurus! I am interested in using voice cloning to make characters that sound like me and other people. I don't know anything about how this works, but I did find one company that does it fairly cheap: https://beta.elevenlabs.io/pricing Some guy on r/Skyrim used that company to produce a guard from the game reading a book about the Dragonborn. It sounded really good! https://reddit.com/r/skyrim/...
Are there some other places I should look into? I would like to do voices that sound good, but are kind of generic. I also don't get how you would go about making them react emotionally to a situation. Perhaps I need to create voices that are excited, angry, etc versus calm.