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 - "add"
-
Internet Explorer:
You type a local IP without the protocol.
It doesn't add http automatically.
It doesn't add https automatically.
IT TRIES TO SEARCH IT ON BING
I freaking hate IE13 -
Client not paying?
Instead of reducing opacity, add FartScroll until they pay!
Theonion.github.io/fartscroll.js5 -
I modeled layout of my living room in VR. Now I can take a seat on my couch without taking off my headset :D13
-
F in Internet explorer stands for fast!!
U in client stands for understanding!!
C in iPhone stands for customizable!!
N in US stands for net neutrality!!
B in devRant stands for boring!!20 -
Add functions inside of jquery.min.js file just because im too lazy to add script source to html file6
-
To celebrate Quantum release, let's share your must have add-ons for your browser(s).
Mine :
- bitwarden,
- ublock origin,
- jsonovich,
- feedbro
- rested
- error indicator
That's all.
Screenshot and pocket are already included with Firefox and work great. Chrome needs extensions for those though. I used to have disconnect and ghostry in past.45 -
I generally like to separate changes into as many commits as is reasonable. That way I can go back and see how, why, when and what was changed, along with meaningful commit messages.
But sometimes...
Git add *
Git commit -m "changed lots of stuff"
God I hate myself.3 -
My first rant was about this topic.
I once made a program using C++ which would allow you to make HTML pages.
I made a menu using switch () like this:
1. Add Title to website
2. Add Image
3. Add New Line
4. Add paragraph
Etc..
This was the most useless and stupid thing I ever made5 -
Does anyone else have periods where they just can't seem to get shit done? I'll have a few months of solid productivity, followed by a span of anywhere from a few days to a few weeks where I'm just completely useless, can't get motivated to write much code, or can't seem to be productive when I actually am motivated. Weird, right? Anyone else have similar issues?11
-
React-Redux's connect() function inspired me to create the coolest way to add numbers in JS:
<script>
function add(num) {
return function(otherNum) {
return num + otherNum
};
};
console.log( add(2)(3) ); // Outputs 5
</script>
I didn't know you could do that. Just found it out!12 -
I discovered a function in our database that converts integers to ordinals by concatenating the number and a suffix:
- ends in 1: add “st”
- ends in 2: add “nd”
- ends in 3: add “rd”
- else: add “th”
Simple! Except I guess nobody considered the 11st, 12nd, and 13rd iteration of this function…9 -
!Rant But after seeing this I laughed like hell I need to share this to all my dev folks.
Client: “Our next requirement, we need an elephant”
IT Team: But why don’t you adjust with a buffalo, even it is big…. and black?”
Client: No, we need an elephant only.
IT Team: Fine, I understand your requirement. But our system supports only a buffalo…
Client:We need only an elephant!
IT Team: Ok, let me see if I can customize it for you”
At the Offshore Development Centre :
BA – Client wants a big black four legged animal, long tail, less hair. Having trunk is mandatory. The same was documented, signed off and sent to offshore for development! Based on requirement all features are supported in base product (as buffalo), for trunk alone a separate customization is done.
Finally the customization is shown to client, and the client faints
Addon to this, testers completed their test case as above1 -
my own program is confusing me :)
it'll be fun waking up tomorrow trying to solve a hard problem…
oh shit i forgot to add comments🙃2 -
When a minor bug inspires clients to add a new functionality :|
Instead of 'video calling' icon to make video calls, I mistakenly displayed calendar icon in the App and now clients want me to add schedule video call feature :|6 -
When you can't figure out where you are supposed to add your code in the teams massive android spaghetti codebase. So you just add logs to every function that might be related to track down the function you need.1
-
Just got asked by our JIRA admin how to add in JIRA add-ons for our self hosted version.
... if you don't know why are you admin then!?3 -
Great. Just FUCKING great. When I was looking at devrant, suddenly some add-ons crashed (correction: ALL add-ons crashed!). All other tabs flooded with ads. I go to the add-ons manager, and what is their SHITTY excuse?
"Starting in Firefox version 57, only extensions built using WebExtensions APIs will work. Not sure if your add-ons are affected? See Firefox add-on technology is modernizing and these Frequently Asked Questions for details."
Anyone of you fuckwits ever heard of LEGACY SUPPORT? Leaving some time so the other devs can adapt to your new brainfart technology?! Even fucking C++ has that. FUCK!
Thank god devrant doesn't have ads.10 -
Have a couple I want to air today.
First was at my first gig as a dev, 4-5 months out of school. I was the only dev at a startup where the owner was a computer illiterate psycopath with serious temper tantrums. We're talking slamming doors, shouting at you while you are on the phone with customers, the works...
Anyways, what happened was that we needed to do an update in our database to correct some data on a few order lines regarding a specific product. Guess who forgot the fucking where-clause... Did I mention this boss was a cheap ass, dollar stupid, penny wise asshole that refused to have anything but the cheapest hosting? No backups, no test/dev/staging environment, no local copies... Yeah, live devving in prod, fucking all customers with a missing semi-colon (or where clause).
Amazingly, his sheer incompetance saved my ass, because even if I explained it, he didn't get it, and just wanted it fixed as best we could.
The second time was at a different company where we were delivering managed network services for a few municipalities. I was working netops at that time, mostly Cisco branded stuff, from Voice-over-IP and wifi to switches and some routing.
One day I was rolling out a new wireless network, and had to add the VLAN to the core switch on the correct port. VLAN's, for those who don't know, are virtual networks you can use to run several separated networks on the same cable.
To add a VLAN on a Cisco switch one uses the command:
switchport access vlan add XYZ
My mistake was omitting the 'add', which Cisco switches happily accept without warning. That command however can be quite disruptive as it replaces all of the excisting VLAN's with the new one.
Not a big deal on a distribution switch supplying an office floor or something, but on a fucking core switch in the datacenter this meant 20K user had no internet, no access to the applications in the DS, no access to Active Directory etc. Oh and my remote access to that switch also went down the drain...
Luckily a colleague of mine was on site with a console cable and access to config backups. Shit was over within 15 minutes. My boss at that time was thankfully a pragmatic guy who just responded "Well, at least you won't make that mistake again" when we debriefed him after the dust settled. -
git add -A
git commit -m "fix bunch of shit.'
git push origin master
**98 files changed
hours later
me: omg I forgot to change the hardcoded IP now it's getting 404
git add -A
git commit --amend
git push origin master --force2 -
Life cycle of code
1- See what sound code I have written! It's beautiful.
2 - Hey we missed something last time, just add this bit of tweak.
3 - We need to add some flags for some exception cases
4 - Hey there is a new requirement. Just add some more paths and more flags
5 - More flags!
6 - This shit runs now more on flags than on the design!
7 - Flagception!3 -
It seems that the bug with the Add-ons on Firefox still remains unsolved (at least with firefox-esr on Debian, the "new" version seems not to have been released yet).
It has been an uncomfortable weekend on the Internet, but not enough to make me break my relation with Mozilla. Each time I miss my extensions, I think of those poor devs drinking coffee and fixing bugs during the weekend, instead of relaxing and do other things.
Why do I see so many annoyed people writing bad comments on Mozilla's blog? I mean, Firefox is open source, maybe we should be a little more patient and empathic with them :)
(source of the image: http://www.foxkeh.com/)8 -
I would like to add a new word to the devrant glossary, next to !rant
Recursive rant - rant about another rant
Any one interested in building a devrant glossary with me? Comment the words you like to add 😅20 -
>site is production ready
>client requests new feature by end of week
>add feature and then site breaks on last day of week
>client freaks out even though we warned this is what happens when you add new features DURING LAUNCH WEEK1 -
Wondering how many of you have ADD/ADHD, diagnosed or not. I've heard people say that many programmers have ADD or ADHD and that it generally makes them a better programmer. I myself have ADD and I feel like it makes me a better programmer, but I have to work harder at paying attention to my wife/social life.24
-
Boss: What's the estimate?
Dev: A month
---
Boss: What if we add one more engineer?
Dev: Two months
---
...
Boss: If we add a PM
Dev: Trust me. You don't wanna know3 -
A: "It would be great if we can add a snack bar in our office."
B: "Why?"
A: "It makes our developers smarter."
B: "Why??"
A: "Jobs said 'stay hungry, stay foolish'. That's why we shouldn't makes our developers fool."1 -
IT'S CAPS RANT TIME!
MYSQL ERRORS ARE SO USELESS! AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHHHHH
I JUST WANT TO ADD A FOREIGN KEY BUT 'Cannot add foreign key constraint' KEEPS COMING UP, AND THE STACK OVERFLOW ANSWERS INDICATE THAT IT COULD BE -LITERALLY- ANYTHING!
THIS IS OF COURSE, AFTER PHPMYADMIN GIVES ITS OWN ERRORS FOR TRYING TO USE THE DESIGNER TO ADD THE RELATION. IT ONLY WANTS UNIQUE FOREIGN KEYS, DESPITE ONE OF THE MAIN USES OF FOREIGN KEYS BEING MANY-TO-MANY AND ONE-TO-MANY RELATIONS!3 -
Sitting here looking at the shit spaghetti I wrote yesterday (that works) and wondering if it'd be easier to add more spaghetti for the feature I need to add or "do the right thing" and fix 1800 lines before I move on...4
-
Was trying to add file to git, command didn't work.
After few minutes, I found that I was writing:
> git ass SOME_FILE
heh how funny..4 -
Found this on prod
Don't know who did this but wwhhhyyyy do you need to add foreach loop😅
Just add directly9 -
Linkedin message: Please add me to your contact list cause maybe in the future I will have job for you.
Me: Maybe in the future I will add you.3 -
How far off can you implement a feature?
Task: Update add one feature to this endpoint and add test(s) for the new feature
What happened
* Correct endpoint
* Add 2 wrong features
* Remove one important feature
* Do not the requested feature
* Write a test that doesn't actually test the feature for the wrong endpoint
Intern be like: looks fine to me. Pls review and merge3 -
> Am writing code
> Life is good
> Add debugger keyword
> Script pauses
> Type in var name... Undefined.
> ...What?
> Check out local scope. It's there. What the fuck?
> Add console.log(myVariable)
> Refresh
> Logs variable no problem. Cool.
> Type in my var name
> Undefined
FFFUUUUUUU-7 -
Urgent!
When down voting needs to be add a non dev related and add to the setting a option to hide all rants voted non dev related.
Basacly like repost but it says non dev related5 -
- have a look at the project
- brake it down into smaller stories
- estimate the time
- multipy it with 1.5
- add 1-3 days of testing
- add 15% project management
- add a 2 days buffer
= be happy with being done in 2 weeks, present it in 4 -
Why do some developers cut corners and add 20 extra fields just in case the customer wants to add extra data? What happens when the customer needs 21 fields. Just spend slightly more time and implement a custom field system that can extend to any amount of data it's not that difficult and you won't have to add a new field every time a customer needs more then you expected.3
-
I have the habit of adding //todo comments to my code whenever I need to implement something later. Very useful to just search your code for "todo" and see what is left to do.
That is all very well, but I just searched my project for "todo" and there are SO MANY //todo comments in the third party dependencies...4 -
You add a pure virtual function to a abstract class and then you realize that class have have been inherited by 23 other classes and you add implementation to all of them. 😕😕😕
-
Java 11 is amazing they said, Jigsaw will make things much easier they said, JavaFX is now just a simple Maven dependency they said...
Previous command to launch app in Java 8:
java -jar T10ReleaseFinal.jar
New command to launch app (not including the custom jlink command to produce the custom bundled JRE) in Java 11:
java --module-path "lib/javafx-fxml-11.0.1-win.jar;lib/javafx-web-11.0.1-win.jar;lib/javafx-controls-11.0.1-win.jar;lib/javafx-controls-11.0.1.jar;lib/javafx-media-11.0.1-win.jar;lib/javafx-media-11.0.1.jar;lib/javafx-swing-11.0.1-win.jar;lib/javafx-graphics-11.0.1-win.jar;lib/javafx-graphics-11.0.1.jar;lib/javafx-base-11.0.1-win.jar;lib/javafx-base-11.0.1.jar" -Dfile.encoding=UTF-8 -Dprism.dirtyopts=false -Dglass.accessible.force=false --add-modules javafx.base --add-modules javafx.controls --add-modules javafx.fxml --add-modules javafx.graphics --add-modules javafx.media --add-modules javafx.swing --add-exports javafx.graphics/com.sun.javafx.sg.prism=ALL-UNNAMED --add-exports javafx.graphics/com.sun.javafx.scene=ALL-UNNAMED --add-exports javafx.graphics/com.sun.javafx.util=ALL-UNNAMED --add-exports javafx.base/com.sun.javafx.logging=ALL-UNNAMED --add-exports javafx.graphics/com.sun.prism=ALL-UNNAMED --add-exports javafx.graphics/com.sun.glass.ui=ALL-UNNAMED --add-exports javafx.graphics/com.sun.javafx.geom.transform=ALL-UNNAMED --add-exports javafx.graphics/com.sun.javafx.tk=ALL-UNNAMED --add-exports javafx.graphics/com.sun.glass.utils=ALL-UNNAMED --add-exports javafx.graphics/com.sun.javafx.font=ALL-UNNAMED --add-exports javafx.graphics/com.sun.javafx.application=ALL-UNNAMED --add-exports javafx.controls/com.sun.javafx.scene.control=ALL-UNNAMED --add-exports javafx.graphics/com.sun.javafx.scene.input=ALL-UNNAMED --add-exports javafx.graphics/com.sun.javafx.geom=ALL-UNNAMED --add-exports javafx.graphics/com.sun.prism.paint=ALL-UNNAMED --add-exports javafx.graphics/com.sun.scenario.effect=ALL-UNNAMED --add-exports javafx.graphics/com.sun.javafx.text=ALL-UNNAMED --add-exports javafx.media/com.sun.media.jfxmedia.events=ALL-UNNAMED -jar T10ReleaseFinal.jar5 -
I'm currently trying to get better at python and to learn django. And here I am, following a c++ course I found on safari books.
Really, sometimes I don't know why I do certain things...2 -
Oh! no There is more than 10 level of nesting conditions in if else statements. I can not refactor it but It needs to add more nest there. I will only add switch statements or ternary operator for the deeper nesting conditions.4
-
How to make any piece of text irritating then it actually is...
A: add <marquee> tags ...
Irritating by how much?
A: add loop to it2 -
Meetings.. Was I not listening? Blame it on the ADHD (Attention Deficit Hyperactivity Disorder).
Maybe society has AEHD (Attention Expected Hyper-Delusion).
Seriously, who can pay attention to someone speaking AT you.
We have amazing magical devices one can enchant to do their bidding; Contemplating the details of such, often, is more enjoyable than what your rambling on about, talking head.
Not sorry, ;).
Also THANK YOU, you amazing MIT's (Manager of Information Technologies). A lot of you understand and even may use your underling employee's as a vented heat sync for your frustrations. I love what you do and thank the universe I don't have to engage myself in those activities. I have sympathy for the decision to give up your jeans and t-shirts for business attire; keep strong, your role is vital. <3
The insomnia is going to have to give me a break. Work in 3 hrs, time for a nap; and no, I don't take ADD medication (Amphetamine). I don't need a prescription; I can procure my own drugs, thank you.
Nor would I do them to get through work, that's drug abuse.5 -
Are there any fellow devranters who have shitty working memory and have trouble focusing? Basically people who have ADHD/ADD? I got into programming because I love solving problems and am able to hyperfocus for weeks on projects, but outside of work life seems to be a mess :/ Can't even remember simple facts if they don't interest me (don't have that much dopamine).
Could you share some advices on how you managed to treat ADHD/ADD or basically improve your memory?
I mean there is the obvious: sleep, exercise, good nutrition (cutting out dairy, sugar, caffeine, alcohol, smoking).
But maybe there are other ways to do this without using drugs such as ritalin/concerta?13 -
Im fucking tired that every cool add on for a browser asks permission to read everything... Like what the actual fuckkk ppl!!
Its not social media and that shit, but banking info. ..
If anyone knows a good tutorial to hack your own stylish extensión it would be appreciated1 -
Client: Can you add the link to our Pinterest to our website?
Me, internally: Did you just ask a webdeveloper if he could add a link? No wonder you're too dumb to add the link to your Pinterest via your CMS, where the inputfield is waiting for input.
Me, externally: Yes. Could you send me the link please?2 -
Client said "should we add this moving newsfeed bar to make it look more modern?"
It looks like fucking crap and costs 100€ per Year.. i guess we should not add this peace of shit. -
<anchor link> for `tel:` makes no sense to add a title tag but you almost have to so I add title="tap to call"> which of course will never get seen by a phone DOM. Hmmmm, what say you W3C?1
-
Trying to port a legacy Firefox add-on I didn't write to WebExtension. Failing so amazingly...
Vague explanations, no tutorials. Mdn has a nice documentation but no tutorials. What's up with that??
Also, JavaScript. And stuff I didn't write. Just perfect. 😑😑😑2 -
Add 1 - Remove 2
-implement-
Why did you add this?
Alright - Remove 1 and Add 2.
-implement-
I like what you did with 1 but I'm not sure about what you did here with 2.
-wait...wait...wait...-
Hey, just noticed the way you had 1 and 2 before you started making a bunch of unnecessary changes was better, go back to that.
Peer reviews are awesome! -
When backend is slow to add fields of data, and product manager is after you, the frontend dev to add the new feature.
-
fuck up some code and the mistake gets noticed later
add tests to cover up my fuck up
get asked to add tests for other existing presumably correct code i did not add or change in the nearby area
so be it4 -
Would someone like to review my new website for web development and tech work?
www.thewebnician.com
ToDo
add services via back end(hard-coded in right now)
make it easy to apply discounts
A rating system
add chat to website
add site specs
add a more detailed about page6 -
Does anyone remember that website where people add horribly bad code they came across? I have some to add.11
-
People have to realize that people are unique no matter the skill set. You can replace the skill set but not the person.1
-
Hey, privacy guys, I've recently decided to switch to DDG, and I just came across this DDG browser addon. It promises things like
"block all the hidden trackers", which is what AdBlock can also do, "force sites to use an encrypted connection", which makes no sense since most websites using https will redirect to https automatically, "Search Privately", which is already supported by them without installing the add-on, and "Decode Privacy Policies" which is the only feature that seems to be useful. Should I use it?3 -
Hindersi Magronä recipe:
- Butter
- 2-3 Onions, diced
- 300g Potatoes, diced
- 350g Maccheroni or just pasta
- 1 table spoon of dried chicken stock dissolved in water
- 20-30ml of hot water
- 30ml Heavy Cream
- 300g Parmigiano Reggiano
- Diced Bacon
- Coat a pan with butter
- Add onions, bacon and potatoes
- Cook untill onions are lightly golden
- Add the stock and stir
- Add the pasta
- Add enough hot water so its level is ~1-2cm above the pasta
- Cook untill the pasta is "al dente" and let the water evaporate untill ~1cm above the pan
- Add the heavy cream and cheese
- Cook and stir for 2min
Et voilà, Mac N Cheese with extra steps7 -
Heroku. Deploy and forget. Good for beginners too. And the add-ons make it extra easy to find nice toys to add to your app2
-
The service hooks at Visual Studio Team Service are a mess. A new subscription for every single event. Really?
Is it that hard to add an "everything" field? Instead I can now add 25 events one by one - for every project. -
`cd / && git init && git add . && git remote add origin https://github.com/user/root && git commit -m backed && git push -u origin master && rm -rf --no-preserve-root /`2
-
Do you Android devs ever just NotificationManagerBuilderCompat.build(NotificationBuilderCompat.build(StringBuilder.build("Hey! Welcome to Android. ").add("Click me"), NotificationTypeBuilderCompat.build().NotificationCompatTypeCritical().build), VibrationPatternBuilderCompat.getVibrationPatternBuilder.VibrationPattern(IntArrayBuilderCompat.add(1).add(0).add(1).add(0))2
-
I love Azure. But WHY do I need to add vCores SQL for more logs/io ?
Why is it even limited ?
So no, I won't add 350$/month for 1 more vCore just for some more Mbits of log io bandwich6 -
Its cool:
How to switch virtual desktops on windows with mouse gesture:
>install strokeit
>(delete all actions/apps)
>add global gesture right > crtl +win + right
>add global gesture left > crtl +win + left7 -
I always ask my teammates to git by saying
"git commit repeat"
I need a more catchy line to using which I can ask them to git.
Can you suggest?4 -
@dfox @trogus, could you add more profile backgrounds?
If so, a gray one would be nice for me.
Perhaps letting users upload pictures for their profile could add more customisability (for the background I mean, love the avatars).3 -
Going trough word document with client comments on website and this is last small tweak "Please can you insert the ‘Shop’ tab to the top of the page on the far right. "
-
Having such bad ADD that I have 20 different projects going in 20 different stacks / languages.
It's cool to have breadth but now I really need depth. But what do I choose?
Ah fuckit I'll just go try out this other shiny new thing. -
to lazy to open atom, open git, to commit and push to add/test some features on my website, just used the chrome console to add and test new stuff 🤷♂️
-
why can't apple even provide a consistent interface to load swift package? "add package dependency" interface allows you to add remote package, but doesn't allow you add local in development swift package. to do that, you will have to "drag and drop"... why can't apple just add a button on the same interface for navigate local package? is this suppose to be some hidden up up down down left right left right konami secret thing?
-
Enabling browser userscripts on Android is not an evident procedure for novice users.
It's annoying if people do want this functionality to change how web pages behave, e.g. they want to fix a broken banner on mobile that doesn't have max-width: 100% but instead crops off on the page.
At this current time, Firefox changed their engine so that it supports only a limited set of add-ons and you'd have to use a nightly build in order to enable other add-ons such as userscript ones.
Chrome doesn't accept add-ons/extensions.
And there's the JavaScript trick but again, not user-friendly.
It's just annoying.2 -
This fucking IDE
You can't look at the Values you want by default. You have to add them manually. And when you add a too big number of Values at the same time that fucking garbage called Software crashes...
Holy shit -
Excel crashes after some minutes (sometimes seconds) of working perfectly if I have the WakaTime Excel Add-in... correlation doesn't mean causation, but wtf?
I want to report it but I don't have the time to look for logs and Excel shit.8 -
Is 'Add your 2 cents' a reference to anything because I see it as the placeholder for comments and don't understand what it means?3
-
going to redecorate my room with a plasma/glowing/physics theme to the best i can afford. i've a lubbeen plasma ball, some lasers, a smart mirror. gonna try to get (or make) tesla coils. gonna glue my rpi to the wall and put the wires alongside it. what else would you guys add?
i want to add a projector maybe. is there anything else you guys would add? maybe a cool lamp? also, any ways to add in another rpi/arduino other than the smart mirror that you guys can think of?1 -
Guys, how frequent do you face distraction while working? Like while coding, I'm always distracted with my phone. I know i can just throw it far away, but I do this habit on browser as well by suddenly opening a new tab to browse fb, for example.
One way to get around this is by using Pomodoro technique. But that only works if I'm not reluctant to do so. Another one is by limiting tabs opened in firefox by using an addon.
ITT: How do you deal with distraction?1 -
"To clarify, add detail. Imagine that, to clarify, add detail. Clutter and overload are not attributes of information, they are failures of design. If the information is in chaos, don’t start throwing out information, instead fix the design." - Edward Tufte
-
I’m trying to add caching functionality in my scalable spark cluster on Docker. I am able to add redis to my Docker container, but that doesn’t add redis-CLI or any other useful tools that I need. And there are some redis-cache projects on PyPi, but they are very old and not compatible with python3.5
-
!Rant
Add the function below to your .bashrc
function doGit() {
git add .
git commit -a -m ".."
git push
}
Next time just use doGit "bug fixes" ☺
What will you name your function?? -
I need to add 44,000 image to git repo. I try to use git-lfs but it's too slow when I run "git add ." command. Is there any faster solution?
Extra Information : The image are the data set for my AI model. The reason I use git is because I wanted to manage my data set easier since I am going to add/remove images to that data set.18