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 - "argument"
-
Just wrote a Python script to generate me a JSON file.
I forgot the 0th command line argument is the file you're running...
On first test it overwrote itself.15 -
Historically, tattoo artists would operate free of charge on women's breasts. This was an attractive offer for both sides, and spawned the phrase "tit for tat", which now represents two sides of an argument offering items of equal value.
This is a fact I just made up, like "Java runs on 4 billion devices"9 -
Saw this quote in a local newspaper. The guy is against buying laptops for school kids which I also am against but he makes the wrong argument. 25 years ago my school had computer rooms where we learnt how to code and although I don't use that language now it is still the same concepts as any modern language.21
-
!rant
1. Person who passionately disagrees with you ++'d your comment!
2. Person who gets a response with a counter argument says "I had not looked at it from that angle before" instead of "That's mainstream propaganda, I hope you die of cancer"
Just two reasons why this community is amazing.
You actively inspire me to be a bit more sweet than bitter on the internet.10 -
We got married and started our relationship at 1.0. After our first argument, we managed to patch things up, so it wouldn't all break down: 1.0.1
Same night, I suggested a sexy new feature, and we worked up a good sweat implementing it together.
I got too excited and released prematurely: 1.1.0
After that, she was a bit cross, but then I suggested a hotfix. She agreed and got right on top of it. After a few minutes she finished and managed a release as well: 1.1.1 😏4 -
People who claims "XXX is slow" should put screenshots of:
- CPU/MEM stats
- Task bar in full, to see how much crap is in background
- Desktop, to see how clean your computer is
If you don't have i7/16GB or you install gazillion of background apps, then your "slow" argument is simply not valid.22 -
Once my teacher was taking my viva and she asked me to explain the below line.
Scanner sc = new Scanner(System.in)
I told her that this creates a newScanner instance which points to the input stream passed as argument
She shouted at me and said that I am wrong.
She explained to me that this line creates a new object not an instance10 -
Had a heated argument on whether HTML’s a fuckin programming language or not and he claims to have 8 years experience...
Fuck bro, that dense? Everyone knows its a fuckin markup language27 -
4 months into my marriage, the "you spend too much time programming" argument finally happened. I guess I could start going to bed before 3am...9
-
PHP doesn’t scale. Riiiiiight. Wikipedia runs entirely on PHP and is the fifth most visited site on the internet. There’s also this little site called Facebook that uses PHP, ever heard of it?
PHP is slow. Sure, old PHP can be slow. The argument is about as sound is saying that OS X is a terrible OS because my first Apple IIe was slow. PHP 7 is plenty fast, even three time faster than Python.
https://hackernoon.com/php-is-dead-...32 -
Today was fucking awesome!
I always wanted to do a project in C++ since I've been more of a Java guy for years now.
And today, I finally wrote a full console program in C++! (For windows, it's a .exe)
The purpose of that program is to show if a file has a file lock on it (because of copying for example).
It started as simple as that, but got complicated quickly:
- It needs colors! So I added colors.
- Just a single file? Boring. I need wildcards, so I can put a * for anything in the file name! Jup.
- Just one directory? Boring. I need a recursive directory walk! Got it.
- But wait! There has to be an option to switch between recursive and wildcard/single mode! So I checked if the first argument equals "-r"! Hacky but works.
- Oh uh... that spams a lot now! The purpose was to show locked files, so I need another argument to specify that I only want to see locked files! Damn now it get's hard... I need a Linux-like command line argument parser (this -h and -s "hello" stuff). So I took the opportunity to write one myself! Done.
- Refactoring everything to use my new fancy parser...
- Adding more and more arguments, just because I can:
- "-d" hides "access denied" messages
- "-l" shows only locked files
- "-r" activates recursive directory walk
- "-f" formats everything nicely, basically printf("%-150.150s | %s", filename, locked); a maximum width which get's truncated if too long so everything lines up nicely
- "-h" which of course displays the help page
- "-w file" watches a file, if the file is locked it will refresh every 500ms, if it's still locked nothing happens, if it's unlocked, the program prints "unlocked" in green and exits. And yes, it does have a rotating line (something like this: "-" "\" "|" "/" "-" and so forth...)
That project was just awesome to make. I learn languages fastest if I just do a big project in them, and today, I really learned a lot.
Thank you for reading all this!3 -
Uploaded an app to Appstore and it was rejected because the Gender dropdown at registration only has "Male" and "Female" as required selectable options. The reviewer thought it was right to force an inclusion of "Other" option inside a Medical Service app that is targeting a single country which also only recognizes only Male/Female as gender.
Annoyingly, I wrote back a dispute on the review:
Hello,
I have read your inclusion request and you really shouldn't be doing this. Our app is a Medical Service app and the Gender option can only be either Male or Female based on platform design, app functionality and data accuracy. We are also targeting *country_name* that recognizes only Male/Female gender. Please reconsider this review.
{{No reply after a week}}
-- Proceeds to include the option for "Other"
-- App got approved.
-- Behind the scene if you select the "other" option you are automatically tagged female.
Fuck yeah!44 -
Does anyone else have this? I always try to adjust the way I say things to non-hostile/aggressive (talking about things I have very specific opinions on) because I'm somehow afraid of starting a heated argument. On here, at work, everywhere.
Going to try to just speak my mind, even if that would get me into more fights etc 😅11 -
Swagger does not send request body for GET calls.! WHAT THE FUCK..! And the argument supporting is get calls should not have any request payloads and rather should have response payloads since its a "get" call. Are you serious?? What if there are parameters to be passed which cannot be accomodated in the params or the header. Even though people are kind of literally abusing on their issues page still they adamantly refuse to add support for this.
Swagger you had high standards in my book. You just fell so deep down there is no coming back.3 -
Me: Why dosn't cp return an error code when the file in the first argument doesn't exist?
Coworker: Well, you copied a file that doesn't exist to a destination that also doesn't exist, sounds like a successful copy to me.1 -
HoD in my college is a "22 year experienced C programmer" with a PhD in CS.
One day I went to him and told, it is very hard to work with TurboC, and it isn't needed as we can easily migrate to GCC.
He asked me why was I complaining. No other student has any problem. They have been using it ever since the college started and everyone was "comfortable" with it.
I stood silent. He then went on to say, even JVM was coded in TurboC. I nodded and left the office as i didn't have an argument.
He's the same guy who had earlier said, "printf returns an array of characters printed", so I guess everything works here.11 -
I hate these LINUX AND NOTHING ELSE fascists. Why don't you just let people use what they want? And btw: just using Linux doesn't make you a good programmer...18
-
!dev related whatsoever fuck off if this bothers you
Just got into a big argument with my brother in law because the little bitch was exposing my father and mother in law(which I adore) to the virus by virtue of this little shit partying every other fucking day, going out with people etc and then having my in laws pick him up etc.
I am not gonna lie, I love the kid, but this shit pisses me the fuck off, my in laws are over 60 each and I ain't about to fuck with the chances of my child's grandparents dying because some fucktard thinks partying is more important.
Been wishing for the motherfucker that would since a while now, just hope it's not this kid.5 -
Java:
Primitive streams. Their need to exist is a monument to legacy failure.
VB.net
OrElse and AndAlso short-circuiting operators. The language designers were too fucking lazy to process logic, so they give specific keywords for those cases.
PHP
Random Hebrew error messages
JS
Eval. It can be used responsibly, but most of the times you see it it's because someone fucked up.
C#
Lack of Tuple destructuring in argument specification. Tuples were added, and pattern matching was added, and it's been getting better. The gear grinding starts with how Tuple identity assignment in arguments is handled. Rather than destructuring into the current scope, it coalesces the identity specification into a dot property of whatever the argument name is. This seems like an afterthought given they have ootb support for ignore characters.
Typescript
This will probably be remedied in the next version or two, but Tuple identity forwarding between anonymous scopes normalizes to arrays of union types, because tuples compile to typeless arrays. It's irritating because you end up having to restate the type metadata in functional series even when there is no possibility for any other code branch to have occurred.12 -
me: "aye im a cool functional programmer, monads are useful, whats up loop using plebs'
also me: *passes input argument as terminating condition*1 -
My argument: Password change policies (every 3, 6 moths, etc.) are a detriment to security because users will either come up with simple, throw-away passwords (knowing they will need to change them soon anyways) or use the same password anyways with a few variations.
Discuss.22 -
I managed to re-negotiate my offer to reach the (accidentally) advertised range exceeding my original (realistic) expectations and this is in huge part thanks to the helpful bunch of you here.
So: Thank you!!
And I can't belive that in a single fucking day I benefitted more from posting to devrant than all the time spent on toxic subreddits, calling useless recruiters, forums and others. Here, even those comments that I disagreed with were phrased in a reasonable manner and they also helped me formulate an apparently very strong argument in the compensation meeting.7 -
I arrived back from attendance at my first developer meetup.. There was a serious argument that took place regarding the lack of stickers on one of the presenter's laptop..
Since when did stickers become an indicator of anything at all...4 -
I got in an argument with a co worker, she says that mass surveillance programs are "none of my business" and I shouldn't care how they operate.
ACTUALLY, ACCORDING TO GOOGLE IT IS MY BUSINESS.2 -
Just debugged an angularjs app for 2 hours to find out that I spelled "response" "reponse" as an http get request success callback function argument. I hate my life.5
-
In C++ we don't say "Missing asterisk" we say "error C2664: 'void std::vector<block,std::alocator<_Ty> >::push_back(const block &)': cannot convert argument 1 from 'std::_Vector_iterator<std::_Vector_val<std::_Simple_types<block> > >' to 'block &&'" and i think that's beautiful
(not mine, source: https://goo.gl/Akxjih)4 -
ARGGHHHH Python!!! why the hell is this a thing... if I specify a default argument, I want it to be a default argument, not get carried over....13
-
So I’m having an argument with my gf.
Is it “Why is 6 afraid of 7?” or “Why is 10 afraid of 7?”
I fucking said that 6 has not seen the action of 7 eating 9. But 10 has, therefore he is scared.
If we were to iterate from 0 to 10, we would see that 6 hasn’t seen shit.
Let’s print out each number if we iterate through and find a consecutive 7, 8 and 9 then print out “Oh shit 7 ate 9.”
0
1
2
3
4
5
6 // Hey honey I don’t see anything here??
7
8
9
Oh shit 7 ate 9
10 // Someone call the fucking police
Thoughts?10 -
Where I currently work (and have done for 10 years) we were recently recruiting for another dev, and one of the other devs and our line manager were running the interviews.
After 3 or 4 failed interviews they decided to test the questions on me... I got 3 out of 10 :(
My argument was (and still is) if I get stuck programming I can google, or you can teach me new stuff. And I can make a good cup of coffee2 -
Converting spaces to tabs made my file 10% smaller (5050 characters to 4500).
Either good argument against spaces or my code with compulsive indentation disorder.15 -
I seriously wanna fucking knofe this guy who says JS is shit and Kotlin is superior well NEWS FLASH YOU FLYING PIECE OF WANK, every fucking language has its pros and cons
If you still think JS is supposed to be in browser well I say to you fucktard this isnt the 80s anymore and we ain't using Java applets and Flash for some limp dicked stuff JS has covered today. A language might have its dark sides but they are all fucking good. There is no superiour language there's only Mother fucking preference. I swear to god this is the worse limp dicked argument I've heard and I have to argue that JS has matured over the years11 -
I told a guy to implement an algorithm in cpp. He wrote this weird 600+ lines of code which contains only global variables and void functions then I told him to make it object oriented and he just put all those garbage in the class and gave me back and on top of that class name is Template and file name is template.cpp. I don't have words to describe his code. May be this picture can help you understand my state. Oh, if you think this matchOn_r1, r2,r3 are different then you are mistaken they are just different with one argument (one global argument). This is just part of the code. He has this shit all over the place. Why the fuck this kind of people exists?13
-
Got into a big argument with my lead developer today.
The thing is....he says that the Red Ranger, the original one (Jason) is the most powerful ranger. And we know this is bullshit because even Zordon said that the White Ranger is the most powerful one of them all. But his argument was that Jason did best the Green Ranger in combat. Man that don't mean jack shit.
The White Ranger is the best and I don't care what you say.
The things I have to endure I swear.10 -
Since my first high salary dev job in 2018 and until 2021, despite all my attempts to explain, my mom thought that I’m not actually a programmer but rather a scammer that just makes companies pay me salary for nothing. The argument that being a legit programmer is way easier than being a scammer mastermind fell on deaf ears.
Do you know why I said she thought so until 2021? Because I stopped talking to her in 2021 when she said that “being bisexual is a sin” and “I want to stop treating my cancer to die as soon as possible just to not see you anymore” after my coming out.4 -
Hi fellow code indenters,
I am a tab indenter myself because each dev on the same project can decide how much the indentation is. Some prefer 4, some 2, some prefer both depending on language.
Now I already asked a few space indenters here why spaces. Because I never heard a good argument for using spaces instead of tabs. Each time I asked I didn't get an answer.
So this time once again: why would you use spaces over tabs for indentation?
I want to make a good decision and for that I need arguments for both.40 -
Yesterday I had an interesting interaction
- I complain about not having tickets for something, as it makes it unclear who needs to do what
- manager tries to call out on me for “not giving precise infos”
- A frustrating argument starts, ends up with manager defending himself telling we need a meeting with [other team] to sync on infos that are not clear
- meeting starts, manager starts to make a buffoon about himself
- other dev out of nowhere tells that the manager is not giving the task to him for some reason
- other manager is speechless at our manager’s incompetence
Managers.😎1 -
Don't you hate it when you come across a old internet argument but one of the people deleted all of their posts so now you just see a bunch of out of context replies.3
-
When was last time you had Fight or Argument(restricted only to texting) with your GF/BF/Spouse while coding?
The amount of text typed on phone is more than the code on screen.8 -
New dev prefers mariadb over postgresql, which is okay.
But his main reason is 'the smaller docker image'
What an argument, wtf2 -
Inmates are trying to take over the asylum again.
Got a message from the web team manager deeply concerned because since switching to the new logging framework, the site is significantly slower.
She provided no proof or any data to what 'significantly slower' means.
#1 The 'new logging' has been in place and logging for 5 years. We only recently depreciated the ILogger interface ('new' ILogger interface only has 1 method instead of 5)
#2 The 'old logging' was modified 5 years ago, so even if you were using the 'old' interface, the underlying implementation is still the same.
She tried to push the 'it wasn't this slow before' argument, so I decided to do some fact based analysis.
Knowing they deployed their logging changes couple of weeks ago, I opened up AppDynamics, looked at the average call time to Splunk (along with a few other http calls they are doing)
- caching services - 5ms
- splunk - 30ms
- Order Service - 350ms
- Product Data Service -525ms
Then I look at the data they are logging, for the month of June, over 5 million messages. At 30ms each, that's almost 42 hours spent logging errors...yes errors. Null reference exceptions, Argument exceptions, easily fixable stuff.
So far for the month of July (using the 'new' logging), almost 2.5 million errors. Pretty close so far with June's numbers.
My only suggestion was to fix the bugs in their code so they don't log so many errors.
Her response.."Can we have one of our developers review your logging code? We believe we can find ways to optimize the http requests"
Oh good Lord. I'm not a drinking man..but ...I might start.1 -
Developer 1: Stop changing all my loops into switches!
Developer 2: if you'd learn when to use a switch I wouldn't have to change it for you!
-My 2 devs argument today
#officechat #good2betheboss8 -
There is this group called LUKI e. V. that advertises using linux at church instead of windows. First of all, I think it is a horrible idea because the people working at the church, based on my personal experience, can barely operate windows. Windows is just the better and easier to use option for people who don't know much about computers.
Also, and this is where it gets hilarious, their main argument for switching to linux is that it is a "fair" software (as in fair trade). How? I don't think Microsoft devs are underpaid child slaves. And even if so, how would you change that with a software alternative that doesn't cost anything?9 -
So almost burst a vein today because of a teacher who kept telling us that the .NET orm , Entity framework , loaded the whole database in memory at a context's instantiation , i thought that's kind of stupid thing for an ORM today,considering the hit on performance and memory consumption with large DBs, and asked her to argument why they would adopt such an approach , at the end she said it worked like that and that me saying it's inconvenient is just my stupid opinion . when i looked it up on the internet i couldn't for the life of me find any mention of that behavior and that she was completely WRONG !! i fucking hate this dumbshit university am going to , anyone looking for an intern trying to escape dumb fucks ?5
-
!dev
What can you say for certain about your argument when you bring it to a discussion and you pretty much lose but it still stands?
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
It's not sitting down.
I'll leave now......4 -
I had a delivery deadline on the same day when an urgent support request came in. My boss was a stupid sucker who was afraid of taking responsibility, and that's a vice I absolutely hate with bosses.
We had quite a heated argument where he just wanted me to give priority to both things, which I declined because I had no idea how much time the support research would take me.
Finally, he decided that I should work on the support item immediately, but only for up to one hour. He was totally surprised when I accepted that without further argument. I told him that all I had wanted from him had been a priority decision, and that was one.
Felt like explaining to my boss what his fucking job was.4 -
I became a programmer so that I could have the privilege of working remotely. So I am at home, my mom's place that is. I can never get in the "concentration zone" first thing in the morning, because before I know it, my mother and sister are having some stupid heated up argument about clothes and shit, and it bothers me anyway through my headphones -.-
Now I think I'd rather work in an office.8 -
Real programmer facepalm-
When you argue with a shopkeeper for giving you an expired product because it was dated six months back according to you! Then in between the argument, you realize it follows different date format i.e. dd/MM/yy.
The moment was a real facepalm. 😶1 -
My mother disowned me when I told you I was bisexual. She told me she had cancer but will refuse to treat it because she wanted to die as soon as possible just to not see me and think of me.
I asked her what’s wrong with being bisexual and her only argument was “it’s a sin”.
I did my coming out on Jan 30 2021, the day SOPHIE died. When it comes to my relationship with my mother, nothing have changed since.22 -
Just started work at this new company as a backend developer and immediately got into a heated argument with one of the front end guys.
Poor guy has been a front end developer for 5 years and doesn't know how to submit a form input as an array.
FML10 -
The biggest lesson I learned in Frontend Dev is: listen to users, not clients.
There are so many rants about stupid ass clients on here, and when you let clients treat you like that, it's kind of your own fault. Look at how people use your interfaces and you will immediately see what's bullshit about them. When you have user behavior as an argument basis, clients will listen to you.2 -
Finally got some fruition out of my job hunting.. a publishing company wants to hire me. Only issue.. they're paying only ~€1k/m (before or after tax.. no idea.. and the tax on individuals here in Belgium definitely isn't any better) and that's even split between me and another guy I'd be collaborating with, and then there's some royalties. I can't pay shit with that. The argument being that it'll give me experience. #forexposure, #forexperience!!!
Well at least it's paid at all unlike internships I guess ¯\_(ツ)_/¯9 -
I hate people that always pretend to be super busy and occupied... But then the only argument they bring to the table for not working is
Yeah I have somany unread emails 👀📥
Then when I tell them I sort that shit out before the weekend, they complain they need to make time for that in their busy schedule of not reading emails, listening to spottify and chatting with colleagues 🤭
Yeah super busy boi6 -
Everything's working fine. Did:
"sudo composer update"
and now the api page says:
"Invalid Argument Exception"4 -
When your sprint review is turned into a 5 hour argument about how to effectively do scrum and all you want to do is code.1
-
Had a meeting with one colleague and my boss. Colleague wanted to discuss the frontend of the software I'm writing. All mockups were made by my boss.
One minute in the meeting my colleague starts with something like 'This field should be first because *insert good argument*'. My boss immediately stood up and left the room while yelling 'If we start to criticize things like that, we can end this meeting here'.
Colleague and me just looked at each other, had a quite chuckle, and went back to work. -
I have quite a few of these so I'm doing a series.
(2 of 3) Flexi Lexi
A backend developer was tired of building data for the templates. So he created a macro/filter for our in house template lexer. This filter allowed the web designers (didn't really call them frond end devs yet back then) could just at an SQL statement in the templates.
The macro had no safe argument parsing and the designers knew basic SQL but did not know about SQL Injection and used string concatination to insert all kinds of user and request data in the queries.
Two months after this novel feature was introduced we had SQL injections all over the place when some piece of input was missing but worse the whole product was riddled with SQLi vulnerabilities.2 -
So I saw this argument between two intellectual titans on Quora about C vs C++. It was pretty amusing lol.
First Guy: “C programmers are the Amish! They’re afraid of change. C++ is a better C because it repairs it insufficiencies like classes and namespaces.”
Second guy: “C is fairly consistent, while C++ is inconsistent in many places. It performs so many allocations without you even knowing it. It’s complexity is very distracting !”10 -
TIL the best way to “win” an argument on Twitter is to simply abandon the thread when people think you should answer for your “crime” of having a difference of opinion and they start bringing social justice nonsense into it as a replacement for logic. They’re going on and on about how you are obligated to reply to them to answer for your alleged “privilege” and your silence just makes them sputter with rage.8
-
Being called into a meeting where you get fired for an argument you had with your CTO. But the CTO left 6 months ago and the sales department are suspiciously low on deals in the pipeline...
Shame really, I loved that job and the Dev team was great, shame the directors were bastards.2 -
That moment you see an argument between two developers about tabs vs spaces tjat was suppose to be a discussion about the series sillicon valley1
-
New here, don't know the format, etc
Let me describe my Friday:
8:45 standup
By 9:30 I'm done following up with 3rd party platform vendor's jira, and curiously look into an issue related to app camera not working in development build (we aren't in production), fix it in 5 minutes and talk to the team of two other devs. Tell them I've submitted a fix, and QA is unblocked.
"Senior" software dev starts complaining about how "I've wasted my whole morning" because "I mean, come on" and is generally offended because "I've done their work."
After a real puzzling argument, I worked from home the rest of the day.
Where did I go wrong?1 -
I googled "scrum sucks" and now I can see a pattern described as an argument against the whole scrum/agile/whatever thing, which is already happening since we started adopting agile: we're consciously incurring technical debt and being allowed to create a mess out of the previously existing code architecture just to "get this ticket out of the way"
We're also refraining from acting immediately on negative user feedback on a feature just released, which I think can wear user perception of the company as a whole, all because it's "not the focus" of the current sprint9 -
Just had an interview, but since I am a smart ass I decide that half an hour notice before the interview is OK after working the whole day with queues, docker & php multithreading, so we start an interview over Skype and my persona was able to duck up how simple joins work as well as function which is supposed to return the sum of even numbers between 2 and provided argument... I was off by 2..
Lesson learned never get in an interview after a whole day of mindfuckery .. Never -
Legitimate question, no argument intended: why do you use mac? What advantages does it have over the other operating systems in terms of coding?8
-
I used to have a friend who swore that his dad worked with a gubernamental hacking agency. One day we started talking about my personal programming projects and he asked why I wouldn't say that I was a hacker and not a programmer, he believed that calling yourself a hacker was better. I explained to him that a hacker was not the same as a programmer or as a developer. We got into an argument and then I realized that if his dad truly worked in a hacking agency, he would know the difference *facepalm*9
-
After CR. Seen a function called "initConfig", with another version of it commented out.
I said in the CR - delete the commented function out.
In response, the developer said that it is needed. The commented version is for local run, while the other is for production.
After a lovely argument about cancer in our Code-base, the project manager concluded that we don't have time to do it better, and basically forced me to basically accept.
I hate being sane sometimes. -
Whyyy are dictionaries unordered in python. Fuuuck.
(Yes I know of OrderedDict, no you don't have to remind me - it is not a native data type, it is a module: argument over)8 -
Had a stupid argument with a “last year robotics engineer” student that shits on python just because he doesn’t like the syntax and compares the runtime speed with C++
like what the fuck dude, how is that a valid argument25 -
Had a legit argument with a manager about the text in a drop down menu. I argued that it should actually state what the option was for because I care about the user experience... Management wanted to conceal several business logic steps behind an unrelated option in the same menu because of a literal interpretation of the process and the client's request.
Interfaces should tell the user what is going on...2 -
The argument of "vim/zsh/whatever is not good because it requires configuration, and you don't usually have that on a new server" is a weak argument and it can suck my fucking nuts.
If some people are weak and lazy and forget how to use plain bash because they added a single alias, that's their problem.
That's like saying that getting used to a car is a bad thing because you can forget how to ride a bike.
Even if I did have the brain of a fish and forgot to use a bike because of using a car, I'll still be using a car 95% of the fucking time, so I'll take it.
If you do customize your setup, you can write an install script, dockerize, or just fucking something, it's 2019, you can do whatever the fuck you want.
Get a fucking couple of neurons.5 -
my line manager & my line managers line manager had a 10 minute heated argument earlier, right in front of me, about what work i should be doing
i still don't know what i should be working on5 -
isRant = true
Am I the only one who has to deal with an annoying coworker who has the urge to take every conversation into an argument to prove himself smarter than everyone in the team? A person who has to contradict every time with rest of the people just to prove himself smarter and different.
Gets so annoying sometimes that I stop answering him right away.
To add to this he is the person from our dev team who has to prove that he codes the fastest and want to get it deployed ASAP. Does not follows best practices and disregards and design patterns. Would argue for hours on his code with the peer reviewer.
Every one hates him for this and he things he is the dev rockstar2 -
Today, for the first time since I've started coding, I had a legitimate use case for the multi-cursor feature of my IDE in reasonably DRY code.
Edit: nvm, I added a version of the function to support arrays on the first argument.5 -
Just had an argument with someone who thinks (micro)python is the way to go for embedded projects. Cause a lot of engineers are terrible at using C/C++. And their argumets for optimisation and granular controll over what the processor does is not necessary.
Its utterly wrong to push technologies into areas for which they werent originally designed for. We've seen it alot with websites lately and I dont like that embedded is heading the same way!18 -
I feel compelled to share this - I think every programmer needs to read this.
I know I'm right but I'm not in the mood to validate my argument, that is a privilege I reserve exclusively for real arguments - usually containing foreign user input in dire need of sanitization -which kinda sucks...
so instead here is a morsel and a link, enjoy the read.
https://medium.com/@caspervonb/...3 -
Not my rant, but this person can probably use some devRant in his/her life. Go read the full tweet and his/her replies here.
Buck up for a very very long read.
https://twitter.com/gravislizard/...
There was quite the argument storm in (a) similar rant(s) here, so hope peeps don’t mind how this is just adding to the pile. The tweet uses a lot of web examples and bashed really hard on them.
PS: I do web dev myself, but I have to agree to certain nasty things about it.9 -
A custom script that makes a Jira ticket, assigns it to me, marks it as in progress, check out a git branch, set the commit title and the Jira title to my command line argument…. Push, open a PR, and fuck it, merge that shit too.
I checked all the corporate boxes and you got the typo fixed. -
"No signature of method: build_4z0stktnpkjsyfd6ol74tcab1.android() is applicable for argument types: (build_4z0stktnpkjsyfd6ol74tcab1$_run_closure2) values: [build_4z0stktnpkjsyfd6ol74tcab1$_run_closure2@5edbe9fa]"
Thank You gradle. This is very useful.... FML2 -
https://eff.org/deeplinks/2021/...
For fuck’s sake. Here we go again. The old, “...but think of the children...” argument.14 -
That feeling when you’ve got a reputation of preciseness etc, and the code you just submitted for review has so many silly little mistakes you just want to do that ostrich thing. Gosh, how can I suddenly suck at my job this bad?
Okay, the changes affect EVERYTHING in our codebase (a major change in core business logic), and there is no way I could’ve tested every possible case by myself without a decent coverage of automated tests - which we obviously don’t have. So yet another argument for it (damn management, won’t you listen?!)… but still, some of the mistakes found during code review make me seem like a complete idiot.7 -
Don't use your senior software engineer title or years of experience as reasons in a debate or argument about software
My manager was asking me what steps needs to be done to perform a disaster recovery for our cluster( on production). I will be honest here, I have not maintained this type of cluster(kubernetes) in production before. However, I have enough understand of the system to answer my boss question. I basically told him there are A, B, C you have to do.
My senior developer jumped in and said "No you should do A,C, B because C is more critical than B. " I then replied to him: "I understand your point, I notice that too, but .." Before I can even finish my sentence, this dude has already rolled his eyes and interrupted me very loudly: "Have you worked with these systems on production before? I did". The asshole knows I haven't maintained Kubernetes on production yet of course.
I got super pissed at him and pretty much shouted back to him and my manager: "Just because I haven't worked on this system on production yet, does not mean my argument is wrong" .
I then dragged my managers, that asshole, and other engineers in a room and settle this out. In the end, people agreed with my steps over that asshole senior engineer dude because I gave them rational reasons.
The conclusion is: Your senior title is given by the company, It doesn't mean anything to me. Also, it doesn't make you more right than another person just because he has a "lower" title than you.1 -
So today at work while trying to get a group of people together to play a game of foosball my boss comes up to my friend and starts talking with him.
The conversation then goes on to include the topic of a new hire coming onboard and my boss not wanting to take him into our team because he feels that the new hire isn’t smart enough.
I’m the time span of this argument/conversation I went and helped another coworker, bought a keyboard from a friend and also finished reading a 25 page white paper.
At the end he still doesn’t want to have the new hire on our team.
All I wanted to do was play a game of foosball 😥8 -
I want honest opinions. Do you think the following is a good or not so good interview question. Why or why not? Defend your argument.
Define a function where the input is a list of integers. It should find and return all the unique sets of three within the list that sum to x.
For example, given the list [1, 3, 2, 5, 6, 8, 10, 13, 15] and with x = 16, the function would return [(10,5,1), (13,2,1)]
If the candidate presents the trivial solution with time complexity of o(n^3), ask if can be done in o(n^2) or better.7 -
Impressive.
I just went through more old PRs, of which 3 were for https://github.com/doldecomp repos, I cleaned up the formatting and the PRs and @ maintainers.
I'm greeted with 'please stop raising these',
from someone that I apparently made a PR to
( one of their personal repos ) in the past.
In the flow of the conversation and as an argument why the PRs do fit threir repos I mention that they were accepted three times in the past.
Guess what one of the maintainer responds with?
'That reminds me, I'm reverting every one of your accepted PRs when I get home. Thanks for reminding me.'
Now isn't that fun. -
I had a friendly argument with a person over comparing visual studio with Xcode,the first thing that came into my mind when he said visual studio was visual studio code (keep in mind visual studio and visual studio code are completely different visual studio is an ide while visual studio code is a code editor )
I was arguing that there’s no point comparing an ide specifically made for iOS app dev with a code editor with intellisense with better code predictions as it would have made more sense if he was comparing a code editor with another code editor like atom or sublime.
This argument went on for a couple of mins in a group chat
Later on I found out he was talking about visual studio and not visual studio code which actually is an ide used for app dev.
This whole time I thought he was talking about vs code and he thought I was talking about visual studio 😂
I ended up agreeing it was my mistake for not getting the message in the first place 😂3 -
in college ages ago, professor was "teaching" us overloading in C++, he goes something like this:
"so you can overload a function by changing the number of arguments, argument types, or method return type"
I dare put my hand up: "emm .. you can't overload by just changing the return type"
"you can"
"but, but.. how would the compiler know which overload I'm invoking when I call the method?"
pause..
"it depends on the type of the variable receiving the method call result"
"what if I call the method without assigning the result to a variable?"
agitated by now: "ah these are complex compiler concepts that are too complicated blah blah"
although I was unhappy, it was useful to realize no one knows everything5 -
Best debugging trick ever:
Wear your fucking glasses while coding so that you do not mistake COMMA(,) with a DOT (.).
So by
1. Doing that (which obviously aren't a huge number) and
2. Cleaning my screen (yes that).
I was able to wrap my head around the issue that almost wasted one day.
So what I intended to pass as string concatenation join operation value actually was being passed as an argument to the underlying function (that wasn't taking care of it and returning a timestamp from thin air).
Murphy's Law in production and practice.
Nice!
Depressing music continues......!3 -
Never had a coding style argument because my workplace doesn't have any standards, mix of C# and VB sure why not, 2K line VB service with 6 comments total? Sure no problems there.
The only styling we have is our personal preferences, except when it's my projects, then every adheres to the styles I set because I won't merge their 800 line monstrosity of a file with 18 classes.9 -
I recently got into an argument with some people, and I want your opinion. I did a speed code in Java (just sped up clip of programming, because it looks cool lol), and someone commented:
"Way too much static abuse here. Jesus"
In which I replied:
"Actually, sir. There is near none at all, just because I use static methods does not make it static abuse. A static method belongs to the class, and is somewhat permanent. It is not a type (instance, cat, dog, animal, etc.) class, it is a Utility class, much like other dependencies you'd use are Utilities and not types."
To which they reply:
"Getting and setting is a Utility?"
Boi. If it is a static variable, yes. Like, what?5 -
While it's totally not without its valid use cases, I fucking hate pair programming.
Well, let me elaborate. I hate *remote* pair programming. It completely disrupts my flow and wastes so much time with additional water cooler nonsense, and pedantic argument for the sake of participation. Not to mention "oh hey let me see how you did this... Oh, you know what, I think it would be better to do it this way...". Ok, great, we weren't even discussing that, but sure, let's completely detail this session to refactor something that could have come up at a good transition point, like I dunno, say a code review?
Like I said, there are very good reasons to pair program, but I would much prefer rubber ducking wherever possible.2 -
!rant
today at work i (frontend dev) had an argument about some scss mixins issues, with my boss (senior dev). Not going into detail, I really thought that my method was a lot more efficient and defended my argument strongly until the end. In the end of discussion I saw/accepted that boss' method was better and he said he's nevertheless proud of me for defending what I believed was right. (it's been 2 years since I moved into this country and its language is my 5th one, so I'm only level B2, most of the time I back up from having a deep discussion knowing that my language skill won't take me that far) I really appreciated that feedback from him and it truly made my day. Thank you boss! You're cool! -
We had this new guy working and we assigned him some work to do. We gave him some time to find the way into the code and figure things out on his own.
Instead of doing that, he wrote a paper of 20 pages why WPF would be way better than what we are doing now. There were many flaws in his document as well. Also on day 2 he used resharper to format some code file. Bye bye annotate! His argument was that resharper knew better. But, our code also uses some reflection, so that got broken. He didn't knew what reflection was and assumed resharper "fixed" it.
He doesn't work here anymore now, he felt he wasn't taken seriously. This is just one of many examples of him though 😂1 -
So, settle an argument between me and my dad. My mom wants to start programming, and me and my father can't seem to agree which language would be easier to learn first, where there's no shortage for jobs. My father says Visual Basic or C#, while I say PHP or Java. What would you recommend?22
-
Reading a paper on DBMS architectures, and I quote:
"In the seventies, the scientific discussion
in the database (DB) area was dominated
by heavy arguments concerning the most
suitable data model, sometimes called a
religious war."
... and here I thought language argument was a religious war. :/6 -
!!!dev
This is !dev at all, buy I think many devs might share a similar way of thinking.
I just had a discussion with a friend. He told me that he donated 100.- to a poor family he met in Thailand and told me about how good he feels because of that.
I told him that I’ve been donating regularly for the last 8 years and that it’s not about how you feel but about the change you made.
We argued for a while and I realized that I’m using my past donations not only to convince him but to win the argument..
I used my deeds to my own benefit, so I’m no better than the TikTok Bitches showing their bodies for likes..
I’m deeply disappointed in myself.10 -
The next time I hear some idiot defending his shitpile of code with the argument " BuT iT wOrKs wHy ChAnGe" some heads gonna' roll.4
-
Checking the generosity of those basking in the glory of long weekend to bump me up for a stress ball.
Had a massive argument at home today and cant even concentrate on coding :/ -
Today's argument .4 of second is 400ms not 40ms. For fuck sake listen to what I am saying instead try to bully me into fucking believing your bull shit you fucking cock womble!3
-
Demo for client goes bad when we encounter a bug adding a new entry into the back end. Entry shows up in the admin but not the front side.
<thoughtbubble> "I can't believe this, we just tested it! How can this be? How? How?" </thoughtbubble>
Perhaps, the cache? Nope.
<thoughtbubble> "You gotta be fucking kidding me!" </thoughtbubble>
Perhaps the front side is pointing to dev? Nope.
<thoughtbubble> "Oh shit... make something up quick. Make it sound good." </thoughtbubble>
Tells client we'll have to look into it. (real smooth)
Looked into it and it turns out the bug was actually a feature. Apparently when you assign an "end date" to a date in the past... by design, it won't show.
However, was it bad UI? That's a different argument.4 -
Has anyone tried Fetlang? Very interesting syntax and pretty funny :)
https://github.com/Property404/...
Code:
(This program lists all arguments passed to the executable)
(Variables:
Amy - iterator through argv
Betty - Temporary variable to record each argument
Carrie - '\0'
Saint Andrew's Cross - Fetlang's argv wrapper
)
Make Betty moan
Worship Carrie's feet
Bind Amy to Saint Andrew's Cross
Have Amy hogtie Betty
If Amy is Carrie's bitch
Make Slave scream Betty's name
Make Betty moan2 -
Visual studio is rather silly.
In one project, just changing the character set to unicode was enough for the program to work.
In another project, exact same code, I also needed to add a command-line argument to enable unicode.
Isn't. That. Just. Silly.4 -
These are the rules that apply to all of my JS projects:
- 100% typescript, “any” is not allowed
- strict prettier with pre-commit hook
- no semicolons
- no braces around single argument of an arrow function
- tabs7 -
Sent SO accepted answer to another dev as backup to my argument.
Dev - Did Jon Skeet answer it?
Me - No.
Dev - I don't want to hear it. -
Just figured out that while I was on vacation they made a really well thought (not) decision to switch to Firebase despite having 4 fully managed VPS with low usage.
Wanna know what the big deal is?
The only one who looks like knows anything is the fucking intern.
I was trying to understand the thought process and everything revolved around "its real time" argument.
No one knows how the api really works, the benefits of "real time" , and we are using the free plan :)
Yeah... People really do overthink things here... -
CAN NODEJS KINDLY GO FUCK ITSELF?
well maybe not node itself, but those node js so-called "professional node developers"
WHO THE FUCK thought it was a good idea to pass about EVERY SINGLE ARGUMENT as a global variable so absolutely no code insights are available, eslint with THEIR eslintrc shows ABOUT ONE MILLION DIFFERENT LINTER WARNING and on top they commited the node_modules folder
-_-
I'm out.4 -
Today I had an, argument with my C# teacher because he believes that reference types are passed by value
I posted a link on Facebook to MSDNs page about it, but somehow some guy in my class still argued for it being pass by value. The reason he says so is because the value is the reference, even though it's quite literally a reference.
It's a reference to a variable rather than, a value.
Kindly
Fuck
Off12 -
Me: Open Jira. See 8 point story skip QA column and move into Done.
Ask dev why it didn’t go through QA.
Teammate: Oh, did they want to test this?
Commence argument that **all** stories need to go through QA. -
// O(n²) complexity
for(x;y;z){
for(a;b;c){
}
}
Dev's argument: "We use this everywhere, as long as it gets the job done! Time is money!" How ironic..
So you would rather make your processing speed suffer for the sake of saving time? No, clean code doesn't matter. No, we should not waste time spending even a mere microsecond thinking about writing better code or at least consider it. No, we should just vomit out bad code at top speed. Good idea, guys. Idiots everywhere..6 -
So my annoying roommate, an upcoming musician & I got into an argument, and although that happens quite often, today was different.
We were talking about 💰, and he said "money is everyone's motivation". I completely disagreed and now I'm bringing it to my fellow ranter's.
I know it's 'a motivation' but is it that big of one?5 -
Whose fucking idea was it to still consider assembly (with C being optional) as the most relevant language in electrical engineering school?
Also teaching like 74HC and Op-Amp IC's are still the most common thing in todays electronis is really grinding my gears!!! Is it still an argument that your 8 NAND gates are essentially the same price as a low cost Microcontroller?
But one can be modified within second and the other you potentially need to redesign the entire board.12 -
The "just use the right tool for the job" argument I've seen many times in defense of Windows is getting tiresome. When the tool's handle is on fire, you use a different tool. It's madness to keep burning yourself.29
-
Today i saw someone complaining that you have to edit a config file on ubuntu to change the behaviour of the laptop when you close the lid, which in my opinion is simple enough.
But what triggered me was another argument saying that how it would be if cars will require a mechanics degree to drive them.
Well maybe then there won't be so many fucking idiots on the road blocking the traffic in almost every fucking city bigger than a peanut plantation.
I swear, people believe they deserve to use the best things without a single clue about how they work.5 -
I once got into a full argument with this guy who claimed that no-one would collect his usage data because he's not interesting enough.
He then called me stupid when I told him he was wrong.8 -
"If you would just switch to a Mac!" is a valid argument to solve local development environment complaints.
-
".. after all, I'm the one with the longest experience here" is NOT a valid argument to win a technical discussion.
With an attitude like that, please piss off in the opposite direction. I hope we never cross paths again, you arrogant prick.6 -
Not a rant, but a question.
Why is their so much fear of Google and Microsoft misusing information they collect?
What proof is there of this (provide references and cases, for a proper argument)?
What would you have these companies do to resolve the issues you brought up above?
I'm sorry if I seem ignorant, I'm genuinely unaware of all this. I'm willing to learn provided it's a fair analysis.7 -
Sick of seeing the 'proprietory is the devil' fucking argument, I'm super keen for the pine phone and to a lesser extent the librem 5 but seeing people already boycott them because they still use some proprietary libraries and components...
Who gives a fuck, yes open source is better for those who love to tinker and learn the inner workings but there is nothing wrong with using proprietary software on one of these devices.
It's the same toxic shit as 'microsoft bad, Linux good' and we really need less of it around3 -
Lovely, We just got told to ditch Sentry and just check the /var/log/ of the server for issues......
How do I argument back against this...3 -
ECMAScript is everywhere, so I thought: Let's do even more inappropriate and insane things with it ;)
...Like using Duktape (small ECMAScript engine) and exposing LoadLibrary/GetProcAddress along with some helper routines to describe the routine's argument types and return type, and finally providing a routine to invoke those routines.
It's a very rough prototype that can handle up to 4 arguments in a 64-bit Windows environment.
Next "todo" is structure handling which will initially be a case of stuffing data into a Buffer() object.
I'm not sure what exactly I'm trying to do with it or why...1 -
It's not so much that I mind all the fire-war about best languages, editors, and other shit, it's that NO ONE PROVIDES ANY GODDAMN EVIDENCE OR ARGUMENT ABOUT WHY. Come on folks, everyone here is on the higher end of the IQ curve, FFS make an argument!!10
-
Does anybody else tend to cool off after an argument by finding peace in programming? Reasoning with a machine is much more logical than reasoning with a human being, isn't it?1
-
Why do germans have to use STRG?
ITS CONFUSING!
Im Swiss german and people often say to me use STRG!
Only that im speaking german isn't a real Argument! Why are we even using different keyboard-layouts?
Why arent we all using CTRL?
Its pretty mich the Standard for all keyboards!
And what confused me the most when er got Windows 7 machines at primary school!
I didn't know what fucking button to press until the IT Guy of our school came and explained US all that STRG was CTRL!
And the most worst of all, when german youtubers say Press CTRL in a Video but show STRG! -
Recruiter called me to present me a job in fintech.
Arguing about how work standards are important and that task oriented work culture is great.
....
Recruiter (can’t find any argument): All people work in office. It’s financial institution they need to protect privacy.
Me: AWS on last summit presented show case of whole bank from EU in their cloud infrastructure.
....
And we argued for at least 10 minutes where me was talking about losing time and task oriented workplace with specified goals and listening about how brilliant people are there and how much they believe in opensource.
I started believing they want me to go to work to indoctrinate me and make me corporate pig.
Hell no I am to old for that.10 -
This rant is to proof that we can start argument from any topic in devrant. So here's a topic:
C++15 -
Coworker: "Hey, I have an idea. I think it will be much better if, one month before launch, we pivot this project from using 2D animation to using 3D Animation with Motion Capture! It will save us so much time!"
Me: I'd be happy to look into it for you, but those technologies are very labour intensive and we don't currently employ anyone who has any experience in those technologies. However, I absolutely agree and I believe we could look at this in 1-2 years after the prototype of the application is completed.
Coworker: I'm more optimistic than you.
Actual conversation. Coworker made an animation once in college, which is the entire basis of their argument.2 -
!rant
TLDR; time to look for alternatives
Had a negotiation appointment with our CTO recently, due to the fact that I am going to finish my apprenticeship by the current year. As I heard from colleagues that the average pay for a finished apprentice isn't really the best, I wanted to try myself at bargaining it a bit higher.. So we went into the meeting and I brought up my argument, bossman just shrugs it off as laughable and that he can do it 100x better, so why should I define my pay on that.. The appointment was just very uncomfortable after that, no appreciation of my efforts at all. Not like I already work like a normal employee just with a quarter of the pay 😑2 -
Tell me what you want but ChatGPT is the best dev companion ever.
I've just submitted 700 lines of JS code with various complex functions because I had an issue for some specific cases I couldn't identify.
In less that a second ChatGPT noticed a missed argument in one of the many function calls... mind blowing.
It's something I would otherwise notice after hours of debugging, looking for a needle in huge functions.9 -
Visual Studio : *No definition for the method Method with the argument of type int*
Me : Oh ? *F12 on method name*
VS : public void Method(int) {...}
M : There, so it should wo--
VS : *No definition for the method Method with the argument of type int*7 -
The day I read The Simulation Argument, by Nick Bostrom, a thought popped into my mind: "if we are made of code, maybe there are ways to hack life as you would hack some random program", I started thinking privilege escalation over the simulation, buffer overflow, picking signals as if I was eavesdropping... it was an epiphany and also fun10
-
What does projektaquarius do when he doesn't have a working IDE? Reformat code (that I am already refactoring) to an industry standard format and prepare for the arguments that are going to come from the other group who has their own coding standard that isn't industry standard.
Already preparing for the Pascal case versus Camel case argument. Emotionally that is. Mentally the argument basically just amount to "your group didn't want to refactor the code so we did it. Live with it or you do it." -
Yesterday I had a HUGE argument with my mom. I had severe headache after that and I couldn't help but feel angry and disgusted with myself for shouting at her. Guess what's the first thing that popped in my head soon after? Let's code.
Yes, I like to code. I'm not ashamed of it. Good code. Bad code. I code. It makes me happy. It distracts me until I get frustrated with what I've coded and why it went wrong and soon I realise I've moved on from the anger.
You never know what can help you when! Right? -
*array* in php. As soon as the word "array" is in it's name it's argument order, type and return value are just fucken luck.1
-
Just got on a fb argument because I said something along the lines of: mfkers that throw the finger in a pic are the same mfkers that will quickly disappear from a fight
Yo, if your ass is though enough, then it is. Flipping the bird at a pic makes me think you're willing to throw hands if needed be.
Anecdotal evidence proves it ain't real3 -
I was talking to a friend, and they were arguing that HTML was in fact a programming language. Their main argument was that you needed HTML to make a website.
I told them you could use something like React, and they said it doesn't count since you're still writing was is basically HTML
As a result, I will be writing an entire and actually decent webapp in nothing but vanilla JavaScript to prove him wrong. Just a <head> section and a body that loads a JavaScript file
Wish me luck12 -
Rant!
When senior dev's or successful startup founders ask me to shift from Open-sourcing my Projects and start making revenue, it gets me very awkward and uncomfortable with myself.
Their argument is Opensource won't feed you unless you're linus torvald, I understand their point however it's irritating that public good isn't a mode of income.
Watching Jobs and Social Networks gets me similarly worked up.People disregarding companions of their journey as they choose money over friendship.
It sure is a cruel world. I'm not sure if i ever will be compatible with it. -
Today I‘ve been investigating a freeze in our app. It took me many hours to narrow it down to the textfield validation regex. And it turned out to be a "catastrophic backtracking" issue.
I‘m a regex noob so I don‘t have a clue how it occurs exactly. But I‘m a bit perplexed about what a seemingly innocent regex can cause.
For me it became another argument against regex now.
I‘ve rewritten the regex into readable code and the freeze is gone.
I could try to fix the regex but… nah. The code is better anyway.7 -
So, If I search my name on twitter, I get a day dedicated to me.
https://thenextweb.com/shareables/... -
So... what the fuck is wrong with people in this company for fucks sake!
Dudes use promises and always call resolve()
Me: And how do you fucking handle errors?!
Dude: Well we call resolve with 2 arguments and error goes first obviously!
Me: why no callbacks for fucks sake!!
Manager(defending the dude): you don't understand we told the client that we would use bluebird promises. Client liked it so much that is why we got the job in the first place!
Me: (jaw opened - silence)....
Dude:(goes out happy for winning the argument)3 -
!rant
I've tried Ionic in the past, and put off development with it because I couldn't get it to be performant without crosswalk.
In 2015, React Native put an end to the 'Are hybrid apps viable?' argument. It had a much smaller compile size, large component library, and is very reactive.
Ionic recently released news on scaling back their tools to focus on core offerings. I can't help but feel they're flogging a dead horse.
I'm sure the Ionic team has very smart people on board. Can't they see they're about to be 'Parse-ed'?1 -
Method passing as argument.
Fuck you who are doing that.
FUCK YOU !!!!
Use fucking STATIC !!!!!!!!11 -
I don't know what side of the argument I'm on for tabs vs spaces. I use tab but set it to be 4 spaces.2
-
Just heard a QA member say whilst training a starter:
'We are going to do some hacking now'
He just changes a URL argument.5 -
I see all IT engineers running scared like "they're going to fire/replace all of us". This is the kind of mentality the company wants.
Next time you wanna be an ass to your colleague remember that. Neither of you might reach retirement age. Both of you will be replaced. None of you stands to gain anything from winning the argument2 -
Was trying to pull an all nighter to meet a deadline and I accidentally fell asleep. I was also texting a new person I liked at the same time.
Dreamt I got so much work done and was still texting and got into an argument.
Woke up, but by the time I realized what happened and that I slept off I had already randomly texted something aggressive and insulted 😭
So yeah. Guess who got no work done and is probably gonna be single for life 😂 -
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 -
Worst argument/fight was on a game I was working on.
One of the other devs was waiting for me to write some server Code before calling the endpoints on the client.
After writing the server Code I added the client side Code and committed it to our repo.
They had a massive go at me for doing work for them and threatened to remove my Code and replace it with their own code. -
The endless argument I remember from my old job:
Putting service units files in /etc/systemd/system/ or in /usr/lib/systemd/system2 -
Well, I just had something negative to say about the whole flat earth theory followed by me expressly saying I'm not looking for an argument
Interpretation: I just stirred the hornet's nest... Let's see what happens now7 -
Just had an argument (with myself ;)) whether to write a completely server rendered site or a js app.
The only stas I have manged to find is from 2010 saying potentially 2% of users could have js disabled.
Why cannkt I find newer stats :/4 -
Safari's developer console seems to truncate the output when a string longer than 140 characters is provided as a non-first argument to console.log or when it's a value in an object that is provided as any argument. You get ellipses, with no way to view the full string. Hovering doesn't get around it. Neither does copying.4
-
I am trying to get my company to support Linux (Fedora) for engineers. Currently we support Windows and Mac. Does any of you have some good reasons for my case to make my argument for the business perspective?22
-
The only good thing about PHP is that the argument to catch blocks is called $ex which entertains my childish mind.5
-
Logs in to client office 365.
Big recommendation at the top
"Disable password auto expiry, it's currently set to 90 days"
Why is this a recommendation? I suppose there's an argument that making a user change every now and again will weaken their passwords over time, but really?2 -
Something with tabs vs spaces...
I forgot who won the argument tho, my colleagues don't even indent shit, lol3 -
I am getting error "driver1 = webdriver.Chrome(executable_path=r'D:/webdrivers/chromedriver.exe') # Optional argument, if not specified will search path."
What should i do?4 -
I think the linux live CDs with games on it, that my dad had compiled for me, were one of my first exposures to computers.
I remember how if you passed some specific argument, it would talk to you in a pretty sci-fi female voice too.2 -
Ugh... some people...
Just left the office early because of the toxic climate. That one infamous collegue is basically unable to communicate without being a narcissistic 5-year-old and was arguing whether we should write a test (I was going to write the test) that would need a single additional branch in the build system.
(The test was for a parser and it should test whether it can handle absolute paths. A simple regression test with a file and an expected output. Because absolute paths are different for every platform and user, the files to be parsed would have to be generated with appropriate paths before the tests were run. Well that would require one single python script and a single line in the script that runs the script and DONE)
Well that guy was unable to focus on his own work and started an argument about whether that test was necessary.
Even though I still think it is necessary, it might have been a reasonable argument if he would have acted more agreeable. But he was saying the feature was useless anyways "everyone will use relative paths only anyways" and "because noone here cares a ratass about maintaining the tests it will all fall on me again" ..
Wtf was this guys problem, I (CAPS) was going to write the stupid test and since when do we not write tests in order to better maintain our product? I get that he worries that the test environment will get more messy, but thats better than having the product code go messy or unfunctional! And c'mon guys, how are absolute paths a redundant feature... -
public static Map<Integer, List<Integer>> stuff(arguments) {
HashMap<Integer, List<Integer>> map = new HashMap<>();
method(map, otherVariables);
return map;
}
public static void method(HashMap map, otherVariables) {
map.put(things);
}
So... You know how to return a map from a method. Then why do you create the map outside the method and make it an argument that does not get returned, making it confusing because the map gets created empty, given to a different method, then returned, making it look like you're returning an empty map...
...instead of just creating it inside the called method, returning it and assigning it to a map in the calling method? Even if you think that would create another map (it doesn't), the compiler is intelligent and can optimise that away.9 -
My burnt out mind has come up with a great argument in favor of procrastination.
If I try to convince it that the work will take few minutes, it would simply reply, "Sure, but after that there is more"3 -
Spaces vs tabs has kind of become a non-argument for web tech and the former has won (at least in every place I've worked or observed in open source projects).
Although I don't really care (just stick to one for the same codebase) I don't get why spaces won. Given the argument is mostly about how we like to read code individually, and tab width can be configured per editor while space cannot, why did spaces win?8 -
Can PMs still reasonably require web apps to be compatible with Internet Explorer? Does the "you gotta to tailor to everyone’s needs" argument still stand nowadays? I ask this because I’ve been working on a client project for about two years now and last time they asked for IE compatibility was about a year ago. I’m preparing for the next time it absolutely stops functioning with IE to debunk their desire to remain stuck in the year 2003.
I know Microsoft simply isn’t supporting it anymore and are discouraging anyone from using it. I feel like it should be enough of an argument. However, often times enough isn’t enough. Anybody have any arguments or examples of why it’s a terrible idea to stick with it?12 -
Got into an argument the other day over the definition of scripting languages.
He said python isn’t because it can be compiled while I said it can be both since you can you can use without compiling. Same could be said for Java when using with Selenium for automation.
Thoughts?5 -
I hate it when an opinion is valued by someone seniority.
Sure, you might not like react, fine, but if your only argument for that is it being built by Facebook, you're just an ass.
Sure, you might not like node, fine, but if your only argument for that is your prejudice towards javascript , you're just an ass.
Normally this guy is pretty nice, but fuck you for talking about shit you don't understand6 -
What a fucking boring day.
I had a heated argument with a fellow colleague because he wants us to add a feature to a certain product for free. He thinks am so money minded as I was pressuring him to charge the feature but he's defending himself that we are just a start-up.
Am left wondering if I was wrong or if giving free stuff will pay our bills or should start-ups code some stuff for free.....4 -
Does anybody use Freelancer.com? I'm currently in an argument with their support chat minion about how private or not-private the project's contents are AFTER the project is awarded. She's telling me that both awarded and unawarded projects are completely exposed to the public Internet, sensitive file attachments, chats, everything, unless one upgrades to Private status. If one doesn't like that, she says, one can always delete one's project for only $5. Does anyone else have experience to share in this regard? I find this incredible.2
-
Fuck people who don't back up their statements with arguments. Fuck smug tunnel-visioned cocksuckers who think that any technology or language not used or liked by themselves cannot be put to good use. Like I need your fuckface stamp of approval to use whatever I want.
Fuck people who get defensive if you ask them to bring an argument to the table. Instead of putting their singleton of a neuron to work to find ONE reason, they immediately assume the butthurt posture and go all righteous on you saying shit like 'learn to code' or 'this is not the 2000s anymore.'
This is not the youtube comment section, so act accordingly. If you take a shit on something without saying why, prepare for shit coming you way.
Eat shit and die.1 -
at the co-working space where I work today there was an argument between the CEO of this startup and their developer.
not really sure what it was about but at the end the developer was getting really frustrated and he shouted: "I'm telling you REST means HTTP!!".
I think all the developers around vomited on their keyboard.2 -
Is there any instructions videos or a book on how to handle managers or other people with severly diminished mental capacity?
Whatever I say gets missinterpered, I had an argument with the teams tattletale so now every step that could someway be interpreted wrong is an big issue that needs to be discussed and solved -> enter missinterpered...
I know when it seems like when the world suddenly doesn't make sense or is out to get you it's most often the observer that has changed but I've twisted and turned all variables (including myself) and realized that I'm in a fucked up situation.
Thanks for letting me vent a byte5 -
Hey, freelancer programmers, web developers, etc. I need your help. I’m writing a “Mother of All Blogs” post about why clients should a) pay you for your work and b) expect to pay you your asking rate. I’m trying to make the argument more forcefully that you get what you pay for with this work and that when you cheap out you only hurt your business bottom line. So, what are your experiences (positive and negative) or points that you would make to a potential client, who wants you to work super cheap or even for free, that you find are irrefutable about this topic? I want to include as many as I can! Thanks.9
-
I'll preface this by saying that TypeScript is a beautiful language.
But also UTTERLY INCOMPLETE.
Here's what I'm trying to do: give the compiler well-defined contextual type information for a decorator's argument (a lambda signature) and for the decorated class method, so the user would not have to toil and type every single argument.
But does that happen? No.
I'm honestly disappointed.2 -
The hotly debated topic that anybody can learn to code is always seems to devolve into a definitional or even epistemological argument to the point of being valueless. But I like to think about it like this:
Anybody can learn to code in the same way anybody can learn to drive. The most rudimentary of searches for 'dash cam fails' should provide some valuable context for the practical implications of this.7 -
My biggest insecurity as a developer:
A tester calling me stupid and I cannot make up a convincing argument in my defense.
I avoid dealing with testers 😋5 -
Dear Python devs who complain over state of Javascript. I politely ask you to fuck off because followin reasons. You are praising language witch does not have switch case statement(until 3.10), your async is just a stolen idea from JS and final argument that in pyhon there is one way to do everything is such bullshit when it comes to strings. For some reason i meet JS people who can write Python without much complaining but rarely another way around. Everytime Python fanboy sees JS they need instant tampons to stop their ass bleeding.7
-
Technicalities are the last ditch effort to win an argument for a person who has never been respected or loved by anyone ever. Don't argue with them. Instead, give them a hug. Remember: it's not me vs. you, it's me + you vs. the bad thing.3
-
Serverless app VS docker app
Let the rant begin !
Preferably write the cons and pros with your argument aswell :)6 -
Thread about Quality Analysts/Testers!
I've seen that Managers and HR get a lot of shit thrown their way but I'm surprised to see no love for our QA friends
What was your worst experience with a QA/Software Tester? When was the last time you felt like punching your monitor over an argument with them?
If you're a QA, what has been your worst experience with developers?6 -
My oppo has just copied and pasted a block of code in the top of all the controllers. He swears he tested it, but theirs a semi colon missing, and and its fed the wrong object as an argument. Internal seething intensifies.1
-
Got a new devops "manger" today we had an argument for 20 mins about why Staging/UAT was needed and why we could not just by pass it and get to prod quicker .. WHAT?! I am dumbfounded I do not have words to express the emotions I am having right now.2
-
Where do I keep a custom config file?!!!
I have a script in /etc/init.d that runs a program that takes a file as an argument, but I shouldn't keep that file in a user's home directory. Where should it be?6 -
Argument exception message convention: is it better to specify what is allowed or what is not allowed? Eg: "value must be a positive integer" or "value can not be negative"?2
-
"Typography has one plain duty before it and that is to convey information in writing. No argument or consideration can absolve typography from this duty. " - Emil Ruder
-
Having an argument about "empty" function in php.
someone told me that we shouldn't use this function because this is deprecated and doesn't work on php 5.3.
He has this opinion because once we took a site live and there few conditions broke. And they were like this " if ( empty($this->input->post())"
While I was trying to tell basically it wasn't empty fault I used it wrong, because the docs says nor its deprecated neither it'll break if we just use variables in it and not functions.
Argument ends up in "not getting any reply" :/ -
I was hearing Mary on a Cross by Ghost, while using ChatGPT for some TreeJS bs, and I randomly asked it to provide me the lyrics to the song and it denied it on the basis that it contains offensive lyrics, I found 0 offense on those lyrics, but then again, I am a shitty Catholic (I don't believe in religion but that is the one I was raised on) and we then went on an argument about even if data is "offensive" it should be something that should be provided20
-
Not really developer related, but today, my girlfriend was trying to convince me why taking the stairs was better then the elevator. She decided to not mention the health benefits, not talk about safety risks. The argument she chooses is that "stairs have less steps" like what? Out of all the things you could have said, that is literally the worst argument. I can't think of a single statement less true! Like she could have stated pretty much any fact and that would have been a better argument. I don't understand what's going on in her head sometimes.3
-
"There are people so important to maintaining code that the internet would break if they were hit by a bus. (Computer security folks literally call this the “bus factor.”) "
https://hbr.org/2017/07/...
What do you all think of these ?
(Personally I think there is fluff to what he says. But there are loop holes to his argument. Not entirely true. And HBR should run stories through experts in field before publishing tho)3 -
Am I the only one here who knows that in Stackoverflow you have to indent your code with 4 spaces, so you tab and you get pissed ?!
I think this is the first solid argument that spaces people have on this holy war5 -
why argue when you can just change it to your opinion and make the impression that no other opinion exists and then go find new people to groom so they get used to your way while being none the wiser and then eventually overwhelm the other side of the argument with numbers1
-
Hey read this. This shit is funny. HAHAHA
I was fixing a bug right. The bug was throwing InverseOfAssociationNotFoundError in our rails admin page when deleting a user. So the director of engineering called and we had an argument because he was insisting that the error InverseOfAssociationNotFoundError is OUR IMPLEMENTATION. HAHAHAHAHA. my goodness. I showed him that the error comes from the constraints when deleting a user. A table has no relation to the user table but my senior added it anyway for some reason. I was mad and laughing at the same time because I showed him the documentation and the simple fix. These idiot keep flexing his 30 years of experience. HAHAHA3 -
I used to be hungry of learning, studying in university, watching premium video lessons online, being curious and deepening all the least known argument of a technology and getting started with a lot of personal projects.
Now I'm looking for a job and I discovered that working 1 year in daddy's company, without motivation and doing always the same stuff, worth more than all this -
Argument in the office today when the designers went rogue, ignoring the PM's agreed plan with the client and started mock-ups for what they thought would look better. Boiled down to "No. Just stop that and do what I asked, you're wasting your time." vs "No, we're doing this. I'm a designer, I know this will look better."
Anyone else had issues with designers trying to take charge?3 -
The debate between using tabs or spaces for indentation in code is a long-standing argument among software developers. Those who prefer using tabs argue that it takes up less space and is more efficient, while those who prefer spaces argue that it allows for more consistency and easier readability.
Many developers have strong opinions on this issue and believe that their preferred method is the only correct one. Some even go as far as to say that using the wrong method can negatively impact their ability to work with the code.
Regardless of which side of the debate someone falls on, it's a common source of frustration and humor among developers. The argument often devolves into jokes and sarcastic comments, with both sides poking fun at the other's preferred method.
Despite the often lighthearted nature of the debate, it highlights the importance of code readability and maintainability, as well as the differences in personal preferences and workflows that can arise within the tech community.19 -
Management suddenly decides they wanted to see if a new process is any good and decides to load all the work on 2 people ( including me ) and keeps the deadline 5 days later ( when one person is taking a 3 day leave in this 5 days ).
In this situation, the other person involved in the process, routinely infuriates me by suggesting we fix up something within these days and not worry about readability or code quality. My argument is the POC is subject to heavy changes, so why not make it more "modifiable" from the start and not create a sphagetti which i would be left trying to fix when he goes on leave.
I would be blamed for slowing down things unnecessarily if i put forward my argument too sternly. Genuinely conflicted about whether to go on the offensive or to accept the reality and make myself uncomfortable by doing this faster.2 -
How to force a docker container to take the MAC address of host machine? I know net=host and mac-address arguments can be used. But is there a way to get actual host MAC address even though mac-address argument is passed with some other value?
My usecase is node locked licensing using FlexLM which creates license on the basis of MAC address of node.5 -
Not nice, Plug… not nice! You define a Plug Module with 2 functions (init/1 & call/2) and the result of init/1 is passed in as the second argument of call/2… but init/1 is executed in compile time and call/2 in runtime.
WHY?!?!
I can't think of any other behavior that… well… behaves that way!
It's not even in the official docs (¬_¬)1 -
Have huge argument with my client on Skype about some CSS fix on client site. I believe i already fix it and can see it on my desktop, but client insist he can't see any different. At the end, i realize that i fix on my local and we both laugh at it. Just kidding, he never contact me again after the project.2
-
Got involved into a conversation/debate.
Said something as argument.
Opponent repeat with a 'yea' and plus what I just said as his argument naturally (amazing) and expect my response.
WHAT THE ACTUAL FUCK? -
Spent an hour figuring out why my dd command did not actually rewrite the specific portion of disk, only to find out that the skip argument applies only to input file.
If one wishes to skip onto a specific address of the output file, seek is the argument they... seek.
Ugh, little things in life... -
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 -
This guy keeps insisting there’s a bug in my code, on a specific line. The stack trace shows that a NPE is thrown in his code, before that line is reached, but he won’t be persuaded by this argument and won’t send me the class.
Somehow he’s certain that Java would throw a NPE on trying to iterate through an empty list, as if his code was even returning an empty list. Can you imagine the chaos.1 -
Programmer: Type type(2);
C++ Compiler: // Okay, I'll use the constructor that takes 1 argument
Programmer: Type type();
C++ Compiler: // I see there is a constructor that takes no arguments, but surely you don't want that. Everybody loves functions, a function shall be declared!
Who, in their right mind, thought this syntax is a good idea?! Syntax inconsistencies drive me crazy...11 -
[Rust] What are alternatives to argument drilling for something like a string interner which is technically a memory leak so it really shouldn't be global but at the same time all but a couple top level functions depend on its existence? I'm aware of context objects and that's all ChatGPT could give me as well, but I'm wondering if there's more to this problem than that.1
-
Remember fellow web developers, always use an empty object as the first argument with Object.assign(). Totally forgot that tidbit and caused myself a quite qvoidable yet well deserved headache 😳😢
-
Rust noob Q:
Given x a variable on the heap, e.g.
let x = String::from("Hello, devRant!");
Then, given some function that I didn't write (from a library) that takes ownership of its argument:
fn some_function(y: String) -> bool { ... }
How would you handle this situation:
if some_function(x) {
another_function(x); // not ok, because x has gone out of scope in the line before
}
Is it idiomatic to just clone() x in the first call? That seems bad practice, because it's the second (or some other additional) call that needs x. What should I be doing instead?8 -
Is there anything like React Context or Unix envvars in any functional language?
Not global mutable state, but variables with a global identity that I can set to a value for the duration of a function call to influence the behavior of all deeply nested functions that reference the same variable without having to acknowledge them.13 -
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 -
These people I'm working with won't stop arguing. If it weren't for a teacher staring me down, I'd say this:
"Shut the FUCK up for FIVE SECONDS. 90% of the shit you people say is STARTING AN ARGUMENT.
HEY, DICKHEADS! HERE'S A TIP: STOP BEING SO UPTIGHT AND ACTUALLY LISTEN TO IDEAS, CONSIDER OTHERS OPINIONS, AND TRY *WORKING TOGETHER.*
I'M SURROUNDED BY *IDIOTS*." -
Only math would be so bold to use an undefined value/parameter name as the argument for a function. I gave it an Uncaught ReferenceError.1
-
Finally I finished the exams, now I have to write my thesis. An agency who wants remain anonymous at the moment told my supervisor to choose a student who will works out on the ransomware argument. The relator was a little bit scared about consequences but I'm pressing to write a controlled ransomware in a closed network brtween virtual machines. What qualities a good ransomware should has?
Mutable structure to avoid antivirus detection? Good exploits and vulnerability scanners to make itself viral? The payload should stay in the code or should be downloaded from a server? I need some reference on analysis of vx codes, any help? -
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 -
I want to teach you two peacekeeping methods that can help you diffuse difficult situations.
Method 1: before engaging in a heated internet argument, ask yourself: “What is my absolutely best case scenario endgame here?” To me, it’s often something like “Yes, you’re right, my entire life up to this point was a lie, I will read everything you wrote as a prayer every night to strive to be like you in every way.” Yes, this will definitely make my day, but in the grand scheme of things I won’t care. So why settle for less? The grand prize of this special olympics isn’t worth the effort.
Method 2: reading the intent. When you feel uncomfortable talking to someone, ask yourself: “What is their intent? Why are they saying me this?”
If the intent is to tear you down, see method 1. Anyone can be fooled, no exceptions. You losing an argument doesn’t diminish who you are, at all. If you fear it will, then work with your fear directly. It probably has nothing to do with this one argument.
If the intent is to help you, but they don’t know how to explain it without sounding hostile, then discard their tone. Read the message, accept it and tell them “Yes, you’re right, I get what you’re saying.”
Saying “I was wrong” immediately makes people perceive you as brave. It’s the virtue of strong people to be able to admit defeat.2 -
i was tasked to coordinate an enterprise release. ran into some issues that my lead knows of. only problem is, she didnt bother to transition or shared it with me. worst: she gets mad after I called her mobile phone cause she doesnt want to be disturbed. she blames me for her and her husbands argument over a very crucial call.
-
Worst coding style argument has to do with self-declaring a development style based on brand loyalty.
“I’m a Microsoft programmer” means I do whatever Visual Studio allows me to do while letting me avoid learning how the framework works. Okay everybody. Reset your IDE to the default styles so we can all be the same. Also mandatory IDE usage.1 -
Hate it when clients told you a specific requirement but then changes it the last minutes. You can't justify or argue. Can't do nothing about it but only follow. Just a high paid slave.
Example:
Client-verbal: background color of all 5 pages
Me-with email verification: ok. I will bg color of all pages will be red based from our last meeting.
Client email reply: ok
After a few days
Client: I think we have misunderstanding. What I meant was 4 pages red only. The 5th page should be maroon.
Me in my mind: wtf. Of course I can't argue but just agree and follow. The demo is near and he'll just inform the last minute. I will not win this argument.
Also, there are no acceptance criterias in the user story.6 -
Helped a friend, eho is a Phd student formulate an argument for the uni why they should make programming mandatory for Phd student who study bioanalytics, ffs why the hell should they have to argu for it...
All he does on thr day are either taking samples or building porgrams to analys that samples if he is not writting documentation for the research...
ffs... the uni are supost to be the smart ppl... what do they think the future will look like?! less data minging when it comes to genom and rna analytics?! -
I need advice fellow developers, am I stubborn?
So I lost an argument in my team regarding constant vs variable directly in a method for stored procedure names.
I separated names of procedures into their own StoredProcedureConstants file because it makes it very easy to see all procedures used in a project and refactor their names if necessary. Argument against was that you loose time creating a constant. Am I silly if I am alergic to seeing quotation marks stuff without its designated purpose throughout the code?
Their way is adding var procedureName = "cc.storeProcedureName" directly in a method. I just can't find my peace with it. To me this is a magic string.
Am I being unreasonable?3 -
The distance between two nearest hydrogen atoms inside recursion function is the key to understand the universe.
But which hydrogen atoms we need to pick from the whole universe to see it ?
How to identify them if after each iteration the order of operations changes based on results and we only see the previous state as an argument of function.2 -
Hey guys!
Once again, I got a little stumped when writing one thingmajig in Python.
I am normally not a programmer (Work as sysadmin), so I don't really know all the fancy abstract ways things are done "properly", which is why I need to ask here:
I have a program, separated into parts. The "core" is a part that sets commandline argument structure (using the argparse library), loads master configuration file, sets up the main logging facility, and then proceeds to load "plugins" - python files with one or more classes that implement one specific abstract class that forces them to implement a common interface of init, run, cleanup functions.
The core then proceeds to initialize those classes, run the "run" function, and run the "cleanup" function.
If the plugin class throws a Warning, it is only logged and runtime continues. If it is anything else, the program logs it and stops.
Now, the issue is, sometimes, a user may want to continue even if a non-warning occurs.
Lets say that I am creating a user, and the user already exists. Sometimes, the program user might want to continue with further plugin execution. And what I was told was to implement specific commandline switches that force continuation of runtime despite the plugin failing.
How should I implement it? The most obvious thing is to add a specific switch for every plugin, but that is exactly what I am trying to evade. I want to have the core as abstract as possible.
Other solution I thought of is to have a file of some sort that would list extra switches to implement, then it would be up to the class to implement if it uses the switch or not (I pretty much pass the entire Namespace received from parse_args() function), but this also feels kinda hackish.
I thought about having some sort of function that the plugin could call in the core to add a new argument, but at the point that plugins start loading, the argument parser is already compiled and cannot be changed further.
Any other ideas of how to re-implement the program are also welcome! I may not do it this times, but I'd at least learn something new again.3 -
How do you usually handle an argument? Do you prefer not to get involved completely or do you choose to go "back and forth" until you and the other person comes to an (understanding/standstill)??? For me personally, conflict is like stepping on a nail. You can't smoothen a sharp tip, otherwise you're gonna get scratched. All you can do is try to move around it. I say what I have to say and then I'm done!!! If my opponent tries to keep going, I cut them off. Either one: block their number/media account... Two: hang up the phone while they're talking! Or three: get up and walk away ....1
-
$ sudo rm - Rf /var/cache/pacman/pkg/*
sudo: unable to execute /usr/bin/rm: Argument list too long
$ sudo bash - c "shred /usr/bin/rm & & shred /sbin/sudo"3 -
I recently got into an argument with a random person on internet about the new Corsair XENEON FLEX OLED, the new fancy one that you can make curved or flat…
In my opinion it doesn't make any sense, curved is better, in particular with a 45" display, so it's a cool technology but useless in this case.
Apparently this guy thinks "for work is better flat, for gaming curved".
It made me thinking… really?
There is someone out there (and maybe here) that uses huge flat monitors or when have 2 puts them parallels to each other and not turned towards himself at an angle?
It seemed a random bullshit, but maybe I could find some valid arguments why "flat is better for work" or not. 🤔12 -
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 -
So here the function that does same thing as new operator in javascript:
// we define our function Person that assigns properties to THIS that points to some object
const Person = function(name, lastName) {
this.name = name;
this.lastName = lastName;
}
// in Person prototype property we define our functions
Person.prototype.getName = function() {
return this.name;
}
Person.prototype.getLastName = function() {
return this.lastName;
}
// function that simulates new operator
// first argument is a function that would act as constructor
// second argument is an arguments that would be passed to constructor
function New(func, ...args) {
// with Object.create() we create a new object and assign [[__proto__]] from "func" prototype property
let object = Object.create(func.prototype);
// here we're calling "func" with THIS pointing to object
func.apply(object, args);
// then we return it
return object;
}
let person = New(Person, "Name", "LastName");
console.dir(person);
// so this is how prototype OOP works in javascript6 -
I just had a long argument with the scrum master about my roles as a developer, and apparently it looks like, that I am a tester and a project owner too. For just one payment. FML!
-
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 -
tldr: Fuck webpack with a big rusty pipe.
I have a class and in the construct a method is called with an imported value as the argument. This imported value is declared like this:
export const EXT = 'whatthef';
Seems like webpack moves things around in such a way that this constant isn't aceasable in all contexts.
Spent a good 4 hours figuring that out 🙃2 -
Ok, i will give a try to crossplateform mobile dev.
So what's ur advice fellow programers ? Xamarin or ReactNative ?
1 choice, 1 argument (main one)11 -
Throughout most of my programming career so far, I haven't had too many fights or major arguments with other developers, which is probably some kind of miracle. Although I think this stems from where each job I have been in (except 1 job), I seem to have much more knowledge than the other developers. So even if an argument/discussion would come up, I could usually reason with them logically.
-
when you can't generate ssh key in powershell, because the -N option (Passphrase) requires an argument.
the same works in cmd.. without error....4 -
Not a rant, but an argument between my colleagues and I over an erroneous form in a nutshell:
Them: -insert xyz deductions-
Me, an intellectual: The page is being redirected before the form processing finishes
Them: Buuuuullshit, how can that be?
Me: JavaScript.
15 minutes later, I emerged victorious. How? Because JavaScript. -
In the previous company I've worked, we've had about one customer every 1-2 months that had his WorstPress website hacked.
It's a horrible CMS and there is no argument that could convince me otherwise, not even bribery.
Luckily enough for WP, it's not the worst CMS I've encountered... that award goes by far to "The CMS Of Doom™" (name changed to not dox the incompetent company that created it). Fucking bastards. -
You could use /\D+/.test('498934') == false to check if a string contains only digits. That statement will result to true. /\D+/.test('oijwei3') == false will result to false since the the test argument has letters in them.4
-
I have just witnessed hell given shape.
Imagine having react + redux
And finding component which just pass an argument to the children.
‘’’(children, param) => children(param)’’’ An argument which is stored in the store. Without even changing it. And it’s a standard around the codebase.
This is why we don’t deserve nice things. -
Me: I found the problem. The function call is being given a reference to an undefined variable as an argument. The quotes around that argument were accidentally omitted; it's supposed to be a string.
A "Senior" Developer: No, that wouldn't cause it break.
Me: 😐2 -
I've been busting my ass all evening, trying to land a job before anyone catches wind that I lost mine. I mean, I've got a wife and two kids to support!! Anyway, my daughter storms in after being out from dawn till dusk and starts going at it with me, I'm so stressed I feel like I'm trying to debug a complex program with a thousand errors popping up every minute . Now she's giving me the silent treatment, just another thing to add to the stress pile... sigh. Guess I'll keep pounding the pavement. If anyone has any helpful tips, please share. :-(1
-
Rustfmt doesn't support inline function calls with a block last argument unless the last argument is an array literal or lambda. Dedicated support for arrays is obviously intended for XML-like trees where a factory takes a number of arguments and then a list of children, and the use cases for block last lambda argument don't need explanation, but what I don't get is how did no one catch on that this is a useful pattern that should perhaps be generalized? Why can't I produce the same behaviour for a function call in the last position.3
-
I just had to convince another "senior" dev that Magic Numbers are bad. Her argument was that the API already knows the mapping so creating another mapping on the front end was overkill and not needed when you know the value you need to compare against.1
-
What would all you guys say is a good (preferably easy) language for writing CLI applications? Something that runs fast, the less dependencies at runtime the better, and (this goes lower on the list)of thess logic required for argument handling the better.26
-
God damn it, Gatling. Why didn't you put your fucking command line argument passing at the front of your docs instead of being buried under 'cookbook'? It's not a fucking recipe! it's core mother fucking functionality! "how do I run this command-line utility from the command-line by script?". "I don't know, maybe I should check the fucking cookbook since apparently it's not basic functionality that LITERALLY everyone using the fucking product will need!
So now I have to go back and parameterize one of the sims I've built AFTER I've mimicked our entire performance test matrix! FUCK! -
Funny argument in class today and was curious what you lot thought, cuz Im honestly not sure who was right. student argued false. professor said true.
Question:
(True or False): A preemptive kernel is safe from race conditions on kernel data structures.11 -
Fellow ranters, what are your thoughts on if an developer should strive to be an expert on a single language/skill (deep knowledge) vs knowing a little about everything (wide knowledge)?7
-
is this what they call an identity?
log(n, n**(1/n)) == n
first argument in log is the value
second argument is the base10 -
"An electrician isn’t an opinion former, but a graphic designer is. My argument is that all graphic designers hold high levels of responsibility in society. We take invisible ideas and make them tangible. That’s our job." - Neville Brody2
-
In case of hot debates...joke/meme tgaa troubleshoot windows visual novel count to 11 with microsoft reply ace attorney argument1
-
1. I don't have much of a social life.
2. I Sleep whenever I get time off It makes me feel better and think better.
3. I don't get in any kind of argument I prefer losing tho rather than ramming my head in senseless arguments.
4. Most important I take a break sometimes too.. helps me keeping my mind Positive. -
Me and @asafniv cannot settle this argument and we need your conclusion.
What syntax makes more sense, Objective-C or Swift?
In my opinion, Swift's syntax is better than Objective-C, but Asaf's opinion the the opposite.
We failed to settle this argument and that is why we need YOU to give us your opinion.
In the comments I will send 2 identical functions, one is written in Objective-C, and one is written in Swift.17 -
Does a non-awkward way exist to specify a child class as argument type in a parent class method in TypeScript when the classes are defined in different files?4
-
Account service needs migrating, to AWS cause thats where everything is going.
Manager has got it in her head that a document store would be ideal for this.
My knee jerk reaction was a big No, i was told we'd discuss this at a later time.
My main argument here is that data is inheritly relational, and now i'm looking for more.
Any ideas why a documentstore is not a good fit for accounts?
Thanks!1 -
- we are going to use react in our next project.
- why ?
- because facebook is react
(I like react but .. Is that an argument ? )4 -
THIS is powering the internet:
"[...] was a protocol number, similar to the third argument to socket today. Specifying this structure was the only way to specify the protocol family. Therefore, in this early system the PF_ values were used as structure tags to specify the protocol family in the sockproto structure, and the AF values were used as structure tags to specify the address family in the socket address structures. The sockproto structure is still in 44BSD (pp. 626-627 of TCPv2) but is only used internally by the kernel. The original definition had the comment "protocol family" for the sp_family member, but this has been changed to "address family" in the 4.4BSD source code. To confuse this difference between the AF_ and PF_ constants even more, the Berkeley kernel data structure that contains the value that is compared to the first argument to socket (the dom family member of the domain structure, p. 187 of TCPv2) has the comment that it contains an AF_ value. But some of the domain structures within the kernel are initialized to the corresponding AF value (p. 192 of TCPv2) while others are initialized to the PF value." Richard Stevens 'Unix network programming' -
Felt like an idiot when realized that argument `back_populate` refers to the attribute of the class passed to `relationship`, not the stupid name of the table of any class, ugh
-
DEBATE:
where do you deploy your web applications (node/rails/etc) on a linux server?
/srv -
/opt -
/var -
/usr/local -7 -
Every time I get into an argument with the Rust complainer, I lose.
How was your experience learning Rust, and do you still use it? -
Just started reading Cracking the Coding Interview and I just can't help but think this whole thing is a joke. The author can't even give a convincing argument why learning algorithm is important for interview. She simply states word for word: it is what it is.
I google her a bit and find that she started her venture Careercup.com and the website is such a joke. How can you even call yourself a software engineer with a website like that. I am pretty sure she using some kind of wordpress engine.
I can't imagine how many people that work at FANG companies that think like her..6 -
Can we say that "a basic website is a type of app that serves documents", implying a website is more specific than an app, and the most common type of data served is in the form of a document (html, pdf, json, xml).
I'm trying to see how this argument does for/against flat-file cms'es in specific/ general cases per type of app/ website.1 -
!rant
Oh god how I've missed this community
rant:
I hate people always asking me how to solve their f***ing bugs when they don't re-check their code and only have a missing argument in functions ! -
Idea - possibly a bad one - visual studio extension that hits a database to display possible values to supply as a method argument. With caching of course..
I'm thinking along the lines of permissions in a database that at some point have to be hard coded against code to enforce them. Stuff like that.
Possible or beyond stupid?7 -
What would be the easiest way to make line 16 work.
I don't know if there is a simple way to tell this "if" argument to check all af the "Remote Host" classes for a matching string at that index.
I'm trying to design with modularity in mind.14 -
Let's exclude some files from our coverlet coverage test!
Sure! That's easy, just remember to pass this super short, understandable, and rememberable command-line argument:
-- DataCollectionRunSettings.DataCollectors.DataCollector.Configuration.ExcludeByFile="**/myFile.cs/**"
You're fucking kidding me, right?
It's 2022 and tools are still using PowerShell syntax... just kill me1