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 - "!!tip"
-
"sudo !!" Will rerun your last command with sudo privileges in a Linux environment.
You're welcome.34 -
First date tip: Don't tell her that you prefer back-end over front-end. Programming is apparently "the most perverted thing in the world"...9
-
Quick linux tip:
If you want to elevate the last terminal command to sudo,
Use:
sudo !!
"!!" copies your last command and places it after sudo
Example in comment.47 -
Little Hack
It annoys me whenever I encounter a website like quora which hides the real content with a overlay and a pop up to sign in. Little do they know I just delete the overlay element from the Dom 😁😁.
Who else does this?19 -
Random tip:
A Decrementing loop that compares against a zero is faster (even though insignificant on current hardwares)
than an Incrementing loop that compares against a constant/variable.
For example:
for( i = num; i != 0; i -- )
is faster than
for( i = 0; i != num; i ++ )
The difference shows up significantly on resource constrained hardwares such as 8-bit microcontrollers.
More details in comment.45 -
CS teacher tip of the day:
server side input checks and sanitization are always useless. because nowdays all browsers have javascript enabled by default and nobody disables it. so client-side checks are safe.
me: ***WTF!?!***11 -
So as new user I used devrant straight for 6 hours and this happened.
Am I the only one who thinks this helpful tip should be given at 3rd upvote and not 80th?7 -
There's no greater waste of time than laying in bed with your significant other and waiting on them to fall asleep so you can tip toe back to your computer in order to hit a deadline.
Literally my ritual every night.20 -
Pro tip to error messages #1: keep them simple and short
Pro tip to error messages #2: make them make FUCKING SENSE7 -
By playing with Facebook source code in browser, you can enable GIF and Markdown, Tip Jar & many more options in comments.16
-
Pro tip:
Although 'hmm either kill it or if that doesn't work, sacrifice some of its children' is a perfectly valid sentence in the sysadmin world, it's not in public.
😅10 -
Highschool:
Friend asks if he can copy homework, gets a no, steals it and copies anyway.
Uni:
Asks for help, I give a tip or 2, and say that it's on my Github if he wants to look at it. Replies "No thank you, I really want to get this myself".6 -
There’s a fundamental difference between development and other jobs.
Doctor: Hey! My left arm is hurting and has been swollen for a while, I think it might be sprained. *pays $100*
Taxi Driver: Hey! Can you ride me over to this exact address? Thanks. *pays $20 + tip*
Construction Worker: I’m going to need this exact item in the blueprint built here with these materials. *pays $1000*
Mechanic: This part of my car isn’t working correct and it displays this exact warning. *pays $100*
Developer: Yo I need a cool free website that looks pretty awesome with like rainbows and stuff by tomorrow.18 -
Pro tip: NEVER work when you’re tired, and if you absolutely HAVE to, make sure you do it in your TIRED branch.10
-
Pro Tip: You can also charge your laptop faster by placing it carefully in the microwave and setting the timer for 10 minutes.
If all else fails; jumping off a bridge is also another natural way of preventing you from getting your devices infected8 -
New phone, after using double-tap to upvote a rant devRant told me that I can upvote rants by double-tapping. No shit sherlock4
-
My biggest tip to new developers? Embrace your ignorance, don't be embarrassed by it. Let it inspire you to learn as much as you can, let it humble you into asking questions when you're stuck, let it prepare you to change within an industry that is anything but static. Admitting you don't know something isn't a weakness, it's an opportunity 😃6
-
*burp* Me..Merry Christmas
I made a thing. It's called Claymore.
It's like lastPass, but with a bomb attached to it.
Its *burp* like, if you're like really paranoid about your passwords, you can just, you can just blow it all up.
Pro-Tip, if you run it on port 1337, it's extra sec-*burp*-ure.
Am I kidding? Maybe. I made this w/ booze, so.10 -
I got it tip from someone to download "Enki". And I can only suggest to everyone here to do the same!20
-
Actual pro tip: don't push only when you are done with code. Always push when you are done with coding session. Minimize the possibility of data loss and always have your code on the server.8
-
Yes devRant, I know I can double tap to upvote a post, no need to show me the tip the one time I decide to click on the ++ instead!1
-
Career Tip:
If the HR asks you to not disclose your salary with others, most likely you are the one getting paid less.
Discuss your salaries. Know your worth.8 -
Pro tip: It is faster and easier to say 'World Wide Web' than it is to say 'WWW'.
You're Welcome!19 -
Programming tip of the day:
Several hours of trial and error can save you many minutes of reading the docs.9 -
When designers get the praise for a well running app, it's like waiters and waitresses getting the tip for a very good meal.3
-
Today @ 4pm:
New dev: I need help with this issue, i've been stuck on it all day.
Me: ok let's look ...... ok, and did you try google this?
New dev: ... no
Me: ... why?
New dev: well this is clearly my issue, why would I google it? I only google for things I don't know
Me: ... ok ... we'll do you know what this bug is then?
New dev: haha ok, fair point, I'll give that a try. Thanks for the tip.
Seriously, should I be worried? I feel worried13 -
Kudos to the devrant team for epic response time!
<50min from bug report on Twitter to workaround on prod!2 -
Tip for devs (esp front end):
Sublime text (and few other inferior editors) has a plugin called "transparency" that allows your editor to be transparent.
Windows 10 powershell consoles can be made transparent.
1) Open browser
2) Open command prompt over it with 75% transparency
3) Open editor over both with 50% transparency.
4) Set editor to fullscreen, no-distraction mode to center the text (Shift+F11 in sublime)
Enjoy coding while constantly viewing the code, the browser and monitoring the cmd prompt at the same time, without having to click Alt+Tab a zillion times.18 -
Pro tip: As great as your product is, it's 1000x harder to pitch to my boss when it has a goofy-ass name.
Me: Hey boss, I came across some new software that'll help manage our mission critical database system.
Boss: Oh yeah, what's it called?
Me: WoolySocksDB Enterprise Edition
Boss: 😐... No.4 -
Pro Tip: If you have the opportunity to move out, don't. I am moving out for university and it's the actual worst..9
-
Christmas.
The only time where computer scientists and other people agree how trees are shaped.
Now we only need to convince them that the tip is in fact the root.2 -
All right lad, I'm going to give you a tip, if you want to try and hack someone's cloud account, please, learn how to spell cloud6
-
I once explained to my teacher that i had trouble getting started with programming after a longer break and wondered if he had any smart ways to get into programming again. He smiled and explained that:
"There are no great ways to get into programming, the trick is to never really get out of it".
Best tip I've ever gotten.1 -
Pro tip: if you want to day dream at work just open a complicated XML file in your IDE and stare at it intensely any time someone walks past your desk.11
-
Prooooo gamer tip!!!
If your computer is overheating and you need to piss, just kill two stones with one bird and piss on the computer.
Brought to you by PBS kids, which is made possible by viewers like you.10 -
CSS tip: Want to make sure something is centered horizontally?
.center{
position:relative;
left:50%;
transform: translate(50%,0);
}11 -
Pro tip: never set custom script stuff related to dns server forcing things in a root firewall app if you don't know what you're doing.
How would I know? There's a slight chance that I just went offline for a few days (mobile only) to figure this shit out 😅
All fixed now, though!21 -
Quick linux tip:
To copy/move multiple files via terminal, use:
cp source/{file1.txt, random.jpg ..} destination/
This comes in handy when your file names do not follow a common naming convention, i.e. when asterisk (*) is not usable.7 -
@dfox
the only thing i really miss on DevRant is a loading bar/circle on images and gifs.
im always there guessing how long it will take to load.3 -
Fuck you, you motherfucking fuck. How DARE you have the capacity to sell fake fucking chips on Amazon and make me fucking waste hours of my god damn fucking nights trying to program your shitty, lazy-ass implementation of an EEPROM.
I followed the datasheet specs down to the fucking microsecond just to find that nothing would write to the chip, and then spent hours of my goddamn life trying to figure out what I was doing wrong, making myself feel like a fucking failure for not being able to write 1s and 0s to a few pins. Fuck you, fuck you with a giant horse cock with needles on the tip12 -
TIP:
To anyone and everyone ranting about the automatic restart of their Windows 10 system,
Settings > Update > Advanced Options > Notify to schedule restart (instead of Automatic).
Yes, it IS that simple.
God.21 -
FOR FUCKS SAKE, CLEAN YOUR KEYBOARD!
Today we had some presentations on a class, I was near the projector, so I volunteered to control the presentation flow.
Fast forward three teams, arrives this guy, lets his laptop and and I open it... SMELLS, FUCKING SMELLS BAD. Add to that grease and dirt all over the keyboard... I just pressed the right arrow key with the bare tip of my finger...
It's not that hard to keep your workstation clean. Most of all, odourless.6 -
Pro Tip: if you're building a developer REST API, don't forget to add a sample response to each endpoint. I don't want to have to test each one when I'm building my integration, I'd rather build my model in one go with the documentation displayed on a second monitor.6
-
Database tip of the day:
Spent hours on Amazon's DynamoDB and ultimately found it couldn't do what I wanted, not without a complicated workaround.
Switched to Mongo and had it working in literally under 5 minutes.
Hooray for Mongo 😀4 -
Pro tip of the decade found on quora:
How to beat procrastination?
Start by this :" I will start my work in 5...4...3...2...1" and just jump of the place and go to work5 -
Best way to handle any exception...
try{
something
} catch(e) {
window.location.href =
"http://stackoverflow.com/search/...]+"
+ e.message;
}joke/meme coding c++ tip of the day tricks stack overflow random rant try catch joke but will be useful 😂😂😂 programmer hacks9 -
Pro tip to scrum masters: bringing a scrum suitcase to your sprint meetings is more useful than bringing scrumbags.1
-
Helpful tip to all you freelancers or those with the authority:
Never let a client dictate anything in how you do your job, no matter how simple.
Even if they ask you to make yourself available at a specific time, don't. Instead, tell them times you have available so they have to work with you.
If you give a client an inch, they will always take a mile.3 -
Pro security tip:
Use a very simple password because h4x0rs expect a difficult one so they can't cr4ck yours8 -
Research pro tip:
If you are looking for a research paper to read and the paper is behind a paywall and is also not available on scihub, Reach out directly to the author.
There's a high chance that you will get the paper from the author as they barely get anything from paywall systems anyway.2 -
Here's a tip to caffeinated-beverages lovers.
People often make this mistake with coffee.. They take a cup of coffee after lunch and expect it will make them productive and concentrated immediately. That's BS. Wait for the pee.
Digestion takes ~27% of your body energy molecules [ATP], so you will anyway be sleepy.
When you ingest a cup of coffee you ingest a warm beverage. The warmth will most likely make you sleepy and the sleepiness might last 5 to 15 minutes.
Caffeine in the coffee acts as diuretic - it makes your kidney filter blood more aggresively. As a result 20-40minutes after ingestion you will want to pee.
When you want to pee it's an obvious sign the caffeine is working. Now you should be productive.
Brain [cerebrum] uses glucose molecules for energy rather than ATP, like the rest of the body does. So for the best effect:
- have lunch
- have coffee with sugar during or right after the lunch [do not drink coffee if your stomach is empty!! Ulcers, gastritis, refluxes - that's your future if you do]
- wait ~30 minutes or until you pee
- go to do your work.
This way you will not be working sleepy and your brain will have enough pure glucose to operate on [sugar is just 2x glucose molecules bound together]21 -
Quick tip for naming stuff: learn some Dutch. Any random word is good for naming an app/website/project/whatever. Examples:
Turtle ----> Schildpad
Beach ---> Strand
Tonight ---> Vanavond
Tasty ---> Lekker
Sandwich ---> Boterham7 -
Python tip: some python functions have **kwarts (key-word) arguments, that means you can construct your parameter dictionary like so:
kwargs = { 'a':1, 'b':2}
And pass those arguments like so:
function(**kwargs)8 -
Office survival tip #1: When in a new office with no kitchen, heat your food with the office heater.
How @JacoKotze and I are heating our food in our new office (no kitchen equipment or microwave yet)4 -
Pro tip for job candidates:
If you push a code challenge to a live hosting service like github pages or S3, don’t give the reviewers a link to the repo!! Instead put the link into the home page and send the reviewer only a link to the live hosted page.
Why?
Because, if you host with github pages, you’re required to use the project path as the domain root. If the reviewer pulls your project and doesn’t bother to read your readme file with the link at the top, he’ll complain that he couldn’t figure out why your project isn’t hosted from the root domain, and he’ll pass on your application.
True story.2 -
Even if you unplug the router when Verizon tech support says they are going to run a test on it, they will say everything looks good and is running perfectly anyways.
Also, a tip. They will also try to sell you their newest router. Say you have that one already in every room and the speed is even lower than it was before, and then demand a refund because they sold you defective product. 9 times out of 10 they will unthrottle you instantly.1 -
Tip: Find the email of a github user.
Github user page > choose a repository > view code > click commits > click on a commit > add .patch at the end of the url.
This shows email adres of github user who did the commit.
Note: does not work with forked repo’s.
Source : Twitter5 -
Pro tip:
Make sure you can RECOVER from your backups.
It's all well and good backing this and that up, but make sure that when the shit really hits the fan you can recover.
I've now 4 days into recovering a raspberry pi that ran:
Pi-hole
Snort
DHCP
VSFTP
Logwatch
Splunk forwarder
Grafana
And serveral other things... I've learnt my lesson4 -
Pro-tip to self: Getting syntax errors on your If-Than statements? Try using If-Then instead!
*facepalms at own stupidity* -
Microsoft seriously hates security, first they do enforce an numer, upper and lowercase combined with a special character.
But then they allow no passwords longer than 16 characters....
After that they complain that "FuckMicrosoft!1" is a password they've seen to often, gee thanks for the brute force tips.
To add insult to injury the first displayed "tip" take a look at the attached image.rant password security security 101 security fail annoyance passwords passwords stupid practices microsoft16 -
Interviewing tip #2: If you're going to lie about what you do at your current job on your resume, remember what lies you put...10
-
Tip of monday:
Test your restores, not your backups.
Just got f#@ed by trusting the log, not the restore folder size1 -
The difference between wisdom & intelligence - I need to wise up 😅
David came back home late. He did not inform his wife that he will arrive late today. He did not answer her calls. He didn't reply her messages. He was busy.
She was worried at first. Later it turned into anger.
He knew how to make her cool down. He listened to all her rants. She cooled down eventually. But he was more exhausted now. Work load and then this ranting of his wife made his mood off. A depressing day indeed.
----------------------------------
Daniel knew that he will arrive late today. He texted his wife to inform her. It just took 30 seconds to type, “Hey sweet, I will be late today.”
When he returned home after the exhausting work, his wife's smile was enough to refresh him.
----------------------------------
Daniel had an exhausting day but a refreshing end.
David solved the problem. He is intelligent.
Daniel avoided the problem. He is wise.
The difference is,
An intelligent person knows how to solve any problem.
A wise person knows how to avoid that problem.
src: https://quora.com/What-is-the-diffe...2 -
Doing a distribution center job right now just to pay the bills and had to do voice order picking (with a headset and voice commands etc) today. Well, that didn't go ideal:
*girl walks by and gives me a tip/hint*
Me: *puts headset back on*
Headset voice: you've logged off. Truck could not be located by provided ID.
😓😮
I said "fair enough, thanks!" 😐4 -
Interview tip #420
If you are asked to code a small app @ home, ffs, don't send the interviewer the node_modules folder!3 -
Here's a life hack for you.
If you're ever in need of a whiteboard for drawing/sketching, grab a few white a4 paper sheets, a roll of transparent duct tape, tape both sheets together side-by-side. Cover both sheets with tape
et voila! You have yourself a portable & foldable whiteboard!
The more sheets you involve, the bigger the whiteboard will be :)
P.S. It's very handy!!14 -
Coder life pro tip : do not open terminal in public. As people may think you are a terrorist trying to hack the airport. 👍4
-
My little pleasure of today.
I asked a question on Stack Overflow.
It was closed with reason: "off-topic" "tip-of-the-iceberg" question.
I followed the link to the explanation of why it was closed.
There was a discussion in metaSO, about closing or not those kind of questions.
It seems somebody "won" the discussion arguing that was the right thing to do....
I DOWNVOTED HIM.
now I feel much better.3 -
TIP:
1.1.1.1: the fastest, privacy-first consumer DNS service
I switched to faster DNS,
And believe it or not, it improved my internet speed.
Just add this DNS and you're gonna experience faster browsing
DNS1: 1.1.1.1
DNS2: 1.0.0.1
comment below if you experience it.20 -
Tip: If you try to show LaTeX to someone and you want to show them examples, don't use the images of your search engine of choice for the examples unless you put "formula" next to it.
My teacher at least understood, lul.6 -
Tip: Never add an execution (PHP for example) script as a bookmark in your browser..
Your browser will occasionally poll the saved URL to update the favicon or sync to the server or something like that, which triggers the script without you knowing...11 -
First rant.
How do I know the email is from twitter?
Easy, just check for https and if the links *contain* twitter.com. and the browser shows a padlock, its legit!
😒😒😒😒😒😒😒😒
I don't like these type of security tips.
Do they don't know SSL can be obtained for free
And twitter.com.somedomain.com can trick people too.
I think Twitter should update there security *tip* in the world where SSL is free and anybody can make a twitter.com sub domain. This can cause some trouble.6 -
So yesterday there was an interesting news story in my country. A man was fined for posession of two pictures containing pornographic depictions of children.
Now that's all great. The interesting part, however, is how the man was caught.
A tip was given from foreign agencies to the law enforcement of my country that the man was storing the pictures on his OneDrive. Not sharing them or anything, simply storing them there.
How the FUCK did the know? Do they monitor everything you put in a fucking private cloud repository? I've never used OneDrive, and now I'll make sure to never use it in the future. Fucking spyware.8 -
Life Hack: don't use alcohol or chemicals, rub off glue residue easily with olive oil / baby oil
Works like a charm and also doesn't break cardboard videogame boxes/ book covers10 -
For the past month my phone has been unlocking really slow. I thought it was just software or the hardware starting to fail.
I finally decided to put my Professional Googling (read: Computer Science) degree to work and instantly found out it was because I had a slow 128gb SD card in it.
Removed it and everything is tip top now.1 -
Quick tip: ! means NOT. So !rant is a post which isn't a rant. !question doesn't indicate that the post is a question, but rather the opposite (and therefore there isn't really a need for that tag). You might also see something like !!rant which is the same as writing rant (that tag is also unnecessary, considering the name of the app)7
-
Lost half the tip of my thumb to a motorbike chain. Can't code for a month. :(
The boredom is killing me.
Why isn't there a swipe keyboard/decent voice input for programming?8 -
There was an issue whilst you were away, we had to make a small css change.. We pushed it into master but it said something about the branch being behind the tip by 50 commits or something. It's okay, we forced it up though and force pushed it to production as well but the site went down.. In the end we had to ftp it up manually but the customer is saying things that were there before now aren't there any more?
I thought you put this "release process" in so things like this wouldn't happen! I think we need to review it as it clearly isn't working.4 -
Pro Tip: If you spent all day debugging and shit's still not working, go get yourself an oversized, fully functional enter-key-pillow. Your code will probably still not work, but now you can at least spare your keyboard and smash that enter-key with all your built up rage1
-
Pro tip: Don't cheap out on dongles for newer macbook models.. Bought a (somewhat) working Chinese dongle with 4 ports. Fire hazard and I think my 13" mbp just farted a fireball4
-
Top tip back for beginners, make sure your dev and live environments are identical.
And do your testing in dev!1 -
Imagine updating a legacy web app and the code is so bad it physically makes you sick every time you look at it. Tables with over 400 columns, . And don't even get me started on the security issues. Apparently writing "Confidential" on the top of the page is enough security. And that's just the tip of the iceberg. People should get licenced before being allowed to code.3
-
Pro Tip: If you're working Tier 1 tech support, before you start reading your script to the caller, be sure to let the caller complete at least one sentence to tell you what steps he's performed and what the error message is vs. what you're thinking it is. That'll save you from a lot of grief with your boss who will ask you why the customer was screaming at you on the call recording to SHUT UP FOR A SECOND SO I CAN FINISH TELLING YOU WHAT THE PROBLEM IS!!!!!!!!!!!!!8
-
In case you didn't knew:
Devrant doesn't support split screen.
Therefore you can select YouTube as the first split screen app and devRant as second, which sends YouTube to continue playing in background with devRant as a full screen app.
Been listening to music/podcasts while browsing devrant for a while now.9 -
USEFUL TIP
If you have a bad day or just want to increase you're happiness, go to this website
http://www.cat-bounce.com2 -
Just a tip I read today :
Don't deploy anything to production this week. So u don't endup debugging during the holiday and abandoning ur friends and family. ..
Happy holidays 🎉2 -
So the football world-cup tip app I'm using with some mates got hit by a DDoS attack yesterday.
The only question I have is who the FUCK DDoS'es a motherfucking tip-app?! What the hell is there to gain?! It doesn't even involve money, just tipping for the hell of it!1 -
Pro tip. How to cut down on those pesky support emails? Break the only email link in your app I can find.
Genius.3 -
Our team talking with a Mr. KnowItAll...
Mr. KIA: What concerns me about this huge system transference is that the devs won't give us the JS scripts files decompiled.
Mr. KIA again: I'm also concerned about Win XP end of support...
Us seeing each other: WTF is going on?!? Where are the hidden funny cameras...
A tip:
If you wanna pretend you know it all...you'll fail...
A humble dev never get humilliated1 -
Pro Tip: Add a technology that you want to learn to your resume and send it in order to stop procrastinating learning it
-
Every day I am reminded that some people just refuse to be helped. Today I saw an article in a prominent Facebook WordPress group I belong to. The author was sharing tips on how to improve presentation skills at WordPress conferences. One tip was to ensure no spelling errors exist in your slides. But the article itself, and the author’s bio, had five spelling errors. I pointed that out in the comments. Aaaaaand now I’ve been kicked out of the group.
-
So I am a restaurant and want a glass of water... But none of the waiters respond. I finally get someone they say OK n leave...
5 mins pass... I'm thinking how I'm not gonna tip bc bad service...
Then 3 ppl come all with a glass of water...1 -
Random Tip (since ppl don't seem to know)
Dark Reader chrome extension
turns everything to dark theme
works on devrant too, although their native dt is better
not sure about firefox2 -
Pro Tip #12:
If you boot of HDD buy one of the cheap 240 GB SSD and try yourself. Windows finally boots in less than 5000 min.2 -
Pro tip: using enums you can make a type that can be one of two values. Perfect for control structures! #codelikeapro1
-
!rant
If you own an Android phone and use a Linux based distro on your laptop/PC then you should totally check out KDE Connect!2 -
It's not been my day. I have a laptop with dual boot set up, and wanted to get a bigger Ubuntu partition, next to my Windows 10 one. I kicked Ubuntu off without keeping in mind that yhe grub boot loader comes from there. Now I am being presented with "system bootorder not found" on boot, and whether I can choose an operating system at all seems a matter of chance. I tried to reinstall Ubuntu from a USB drive already, with temporary success - it worked until I rebooted into Windows and then back to Ubuntu again. Now it's back to square one. Does anyone have a tip how to permanently fix this?7
-
I just found out you can commit single lines of a file without the necessity to remove temporarily debug lines every time ... it has blown my mind.8
-
!Rant
I was just listening to a podcast and they mentioned patreon. Not sure if you two, @dfox and @trogus, thought about creating a patreon page. I would definitely support you guys for the work and time you two put into devrant. Would be awesome to have some method to tip you guys some dollar for a tea ;)1 -
Pro tip: how to reply to more than one person
1) click reply
2) close the reply by pressing the x button in the upper left hand corner.
3) click reply button of another person. Their name should now be added
4) Reference a Null Pointer
5) Profit?14 -
Looking at some new dev tools I spotted this gem:
"If install fails, keep trying to install a few times."
Thanks for the tip!1 -
! Rant
Quick tip for those of you struggling with a error or bug you can't fix.
But that doesn't effect functionality.
Just wrap the code inside a try catch block and don't do anything inside the catch 😂😂. Saved me a lot of hours in my projects.
Nah I'm joking. Don't ever do this8 -
Pro tip: change your password as same as your username, then you only have to remember 1 thing and save more space for your brain.5
-
TO ANY UWP DEV HERE.
If you aren't handling it in a different way,
//hide mobile status bar
if (ApiInformation.IsTypePresent("Windows.UI.ViewManagement.StatusBar"))
{
var i = StatusBar.GetForCurrentView().HideAsync();
}
this is ALL you have to friggin add to hide that hideous white space above in the app on windows 10 mobile.
Coming across too many apps which don't implement this simple thing.2 -
Never enable Prettier and Beautify at the same time. I wasted many hours on this a few days ago wondering why my formatting is getting fucked every time I save.3
-
Those who make money off of side program/business/website, what is it and what is your best advice about side hustles?7
-
I hate having no inspiration, no good ideas and just feeling unmotivated. I have not came up with anything good in 1 year now so i just sit around rehearsing the function s i already know. If anyone has a good tip for coming up with ideas. Please let me know :)
TLDR I never get good ideas. Plz help.5 -
I need to setup a Windows Server with an AD (and therefore an own domain) that can be reached from a Linux host for a test environment... Holy crap I totally forgot what a huge pain in the ass that crap is!
Pro Tip: If youre connected to a Server via VPN and RDP and you create a domain and subsequently get logged out from the server, you're fucked.2 -
first off, i think this may be out of scope but either way.
i think along the rants, a tag seperated section for programmer tips could be pretty neat :)
i'll start off, my tip of today would be: if it seems too complex, it probably is.
consider refactoring by splitting into multiple smaller parts or even its own seperate API. :) -
!rant
Someone got a tip how to start contributing to open source projects? I really want to spend some time to help out but I have some problems finding something small to begin with. It seems that everything i find needs some kind of specialist know how.
So my plan is to start with some small things to work myself up to bigger projects
Thanks :)6 -
Always make your code readable before you stop working on it.
Not just for other people to learn from but also for yourself.
Context: just lost about 3 months of progress because everytime I look at this file I feel like starting over... -
DevRant-Stats Site Update:
A little Christmas Present for you!
-> Graphs!
Added two Graphs now to view the stats of the last 30 days.
Unfortunately the system is running since yesterday and there is not much data...
Little tip:
If you click on the labels above the graph you can disable them!7 -
Dark theme tip for windows users
Use magnifying glass set it to 100% then options invert colors. You'll get everything dark themed now but no missing stuff like you would get from a high contrast dark theme.5 -
Having a complete front end and back end application where the frontend is designed to look as simple as possible.
A new potential customer wants to have our app and listens to a designer bragging that its just replacing 2 fields.
After a while our manager comes by and mentioned that everything needs to be done within a few weeks....
All devs lose their mind since in the backend we need to have like 8 external sources to connect and hundreds of business rules to implement.
How a single designer ruined the year for 7 devs....1 -
Damn devrant just gave me a "helpful tip" but my anti-ad reflexes kicked and before I realized it was closed. Does someone knows what does it say?5
-
Quick Tip:
There are jokes you tell to your best buddies that you should never tell your boss.
Just saying : |8 -
Tip: If you procrastinate too much on youtube the css selector to hide (using your favourite browser add-on) is #related
-
Sunday guilt: Do I ssh in and finish the testing I didnt mange Friday? Pro-Tip: never set up your work VPN.3
-
Hey guys! So I just woke up from a dream in which I was talking with skilled programmer and he gave me awesome pro tip which I'd never realize exists!
But it was my dream so my idea. I have no idea how the f*ck this works but it's awesome. Is it just me or ?3 -
Android studio's pro tip:
1)While installing it for the first time, just edit idea.properties(open it in notepad,its a text file with instructions already there) and change the system and caches directory to your custom defined directory with space > 8gb before installing
(Yeah that's the amount of cache generated when you have 5 projects open in parallel and when its being created in your root folder, your system hangs{personal observations, can't assure})
2) similarly click on "set custom location" and don't go with the "set recommended location" when asked where to install android studio's sdk. -
Pro tip: if you press the little refresh button on the upper right hand corner it will refresh the rant and then scroll you all the way down to the bottom of the page.6
-
The country where I'm from uses only one platform for online school (public schools from 1s class to High School).
I was curious to take a look at the website and they didn't change the create-react-app manifest.json in production.
Bonus tip. The teachers and students cannot login for the last 2 days.2 -
Well, I'm no professional developer, still at school, but I thought about this, regarding convincing PMs of you writing permanent fix instead of a temporary workaround: Just tell them that this one particular issue can't have a hotfix, and that you need time to fix it.6
-
There should be dev equivalent to the expression "tip of my tongue". You know, when you're trying to implement a feature or fix a bug and you have a fuzzy idea of how to do it and only missing the final piece to put all of it together.3
-
Dev-tip of the day:
Always make sure that your database table fields are long enough to hold the entire third-party API client reference ID, so that the last three characters won’t be cut off..
I’ve been “crying” here while debugging for the last hour because my API function and everything else worked, but the result wasn’t showing up in the third-party application (their API returned a 200), but when I tested it with their API sandbox application, it did show up..1 -
I study Computer Science. At school we have a little project group that help others students in different fields with their computer problems.
A guy came and he says that he tried to removed the jack from the audio jack - he broke it for whatever reason - with a stick with hot glue on it's tip saying he saw this on Youtube. The glue got stuck in the jack... We had to buy a new headphone jack card for his laptop. -
Sometimes I like to see how the other side live and just watch people in a computer store.
There are the nervous tip-toers who don't want to attract attention. The point and lookers, who read the sign and nod and show they understood.
There are the ones who just wander aimlessly trying to look like they know what they want.
Finally there are the 'expert helpers' who know enough 'techie' words to convince anyone around that they know what they're talking about.
It's like a people zoo.1 -
Is anyone here into trading?
I'd like to learn but every resource seems either too basic or too technical, I might use a tip or two! :)16 -
Pro TIP :
If you have a lot of work and SOMEONE from your team is disturbing you every hour,
Move away (alone) to a meeting room, away from your stupid teammates for one day. For High productivity work.2 -
I would ask the question of how hard can life get but last time i asked that, life showed me how hard can life get and that was just the tip of the iceberg
... -
Always always always always always keep writing tests as you implement features. TDD is good thing but not necessary but tests are really necessary. I thought I'll write tests later now the code is so tightly coupled I can test things independently. 😑😑
-
Job interview pro-tip: when it's your turn to ask the questions, the first one you ask is "Is this job in an open-plan office?" If the answer is 'yes,' say 'thank you,' get up, and run out of there like your productivity depended on it.
-
Pro-Tip: If you change your `div` to `li` and then decide to change them to `span`, check before you replace all lest you end up with `Navspannk` from ‘react-router-dom’. Why are my styles not working? Ah, they are ‘spannkStyles’ now.5
-
Just a quick Tip for our jQuery Users: There is a difference between $(document).ready() and $(document).on("ready")! I learnt it the hard way :)4
-
This is my frontend tip of the day.
If you have a frontend that consumes an external API:
1) Retrieve the json responses from devtools
2) Save them in your project as json files (trim the data a bit if it's too long)
3) When starting your app with a special env var like MOCK_DATA, make your app mock the data and use your saved json data instead.
You can associate each response with an url regex.
The package fetch-mock mocks fetch really well, it lets through the urls that don't match anything.
This way you can incrementally add responses.
And voila, you have a mode where you have near instant page loads to test things manually, and you also have mocked data ready for testing eg, cypress. -
How to write unmaintainable code and keep your job for life, tip #476;
Use A.C.R.O.N.Y.M.S. to keep the code terse. Real men never define acronyms, they understand them genetically3 -
Tip: if you are doing a semi complex or complex query in Django and you have doubts print the SQL statement and analyze it. i.e print(queryset.query)
Just reduced a query to 1 join instead of two by just passing a list of int's instead of a list of objects. -
Quick tip:
When an answer in SO has more upvotes than the question, has so many comments, and has so many explanation, so many code, and so many links, IT HAS A HIGH POSSIBILITY THAT IT IS A TROLL.
God damn i hate when programmers don't have any humor, and leave a comment saying
TROLL. PLEASE STOP THIS. FUCK
Good thing, devRant is full of people who HAS humor. Thank goodness.
tl;dr gone off topic -
Pro tip: Never test old HDDs with one of those Samsung USB3 to SATA adapters. Always use a test bench with real connectors. It might save you a few believed to be dead HDDs.4
-
I'm going to start uni next moths. I'm very excited!
But a friend of mine that took the same course just told me that all the programming tests are going to be by hand, and I'm used to do it in an IDE.
C++, C#, Java, JavaScript, PHP, etc. All by hand...
Sweet mother of Jesus.........
Any tip?5 -
Git tip: Before doing "git clean -fd" always think twice and backup the whole folder manually before doing that. Take it from me.
Also be careful with, "git pull" 😩13 -
One tip for all the vim people out there: make a backup of your .vimrc, in at least 3 different places, my hd got fucked up and I lost mine, and when I tried to use the backup one from my pen drive o found out that my pen drive was dead, now it's been 3 hours since o started recreating the vimrc, and it's not even close1
-
Yesterday I got my first total freeze on my "new" PC after 4 years.
Guess the program. (tip: ends with Studio)11 -
Fuck my video game addiction. I really fucking want to code, but I've got like 3 games in which I need to progress, or I can't continue playing with my friends, bcs of the skill difference. Meanwhile my pi is sitting there just waiting to get tinkered with. Could somebody give me a god damn tip on how to get rid of this.7
-
Top Tip!
I just found out about http://figma.com a collaborative design tool, looks a bit like a mix of Sketch and Adobe XD, but with real collaborative features AND as far as I know it's FREE! :O and has both mac and Windows apps , AMAZING6 -
Guys, I want to get into a DevOps role.
I'm already looking into Linux, Terraform, Ansible and k8s.
If you are a DevOps Engineer, what kind of tooling or knowledge do I need to know before applying to companies?
Any tip is welcome and I would greatly appreciate it! Thank you!9 -
"A portfolio as pretty as pictures is nothing but a tip of the iceberg, the real treasure underlies the ocean." - Shawn Lukas
-
There was MCQ test based on Java we were required to give by our degree college, partnered with this firm.
The image is not even the tip of the iceberg.
3 of the four options in every question were same.
Select A and later come back to the question, you'll find option C as selected.
Never was I ever this frustrated, not even all the times I've encountered a NPE.
Shitty shitty shitty as fuck. -
I haven't coded anything for months now, maybe 1.5 to 2 years even, because I was struggling with depression and unresolved issues. I'm still not out of it, and I'm not seeing anyone for now because of quarantine, but I've been taking antidepressants during the last months (prescribed by a doctor) and they're beginning to have a good effect. I'm feeling better by the day, and I'm looking forward to seeing a professional and getting better without the medication after the end of the coronacrisis (which isn't something I would have thought sometime ago, so that's encouraging).
Anyway, today I took my laptop and started coding again, and I really liked it, but it really felt like my mind was fucking rusted after all this time. It took me like 3 hours to write 60 limes of code. I know that by keeping coding a bit everyday I will find my old skills again, but I was wondering if you had any tip to ease the start, like doing code exercises, or trying to make a simple project. I'll take any tip to get back on the train again, as quickly and smoothly as possible.
Second question : please comfort me and tell me I'm not the only one who is suffering or has suffered from rusted mind syndrome.4 -
Quick tip:
An office laptop cant keep unity, atom, github desktop, >100 firefox tabs and ms word open at the same time.8 -
I want to de-Google. I simply do not trust them anymore. They own pratically every single step of your online life. Does anyone here have tip for a good, alternative free e-mail provider? One with respect for my privacy, and not a company that makes billions of our society, but avoids paying taxes.13
-
A customer sent me code today along with their request for a feature.
They want a thing happen when they click a button so they sent me some jQuery on click function ;)
I really don't mind it. They're trying, it's a well meaning tip .... but fuck no am I adding a customer specific function for their request, we have a another system for that kinda thing ;)6 -
Just spent 30+ hrs on an error that was due to using flatMap instead of map.
I feel stupid!
Pro Tip: Never try to learn Spring without learning java properly. -
WORDPRESSS DEVELOPERS:
What’s your #1 tip for getting started in this role? Useful training site or video? What’s best to focus on first? Hooks? I need all the juicy deets! 🙌🏻8 -
Back in the day when daily standups where still physical, i worked at a place you had to pay a euro if you where late. This money would then be used to buy the team dinner on pizza nights for example. Ofcourse everything changed with the daily standups being digital now.
How would you still implement somekind of correction for people being late unnecessary?3 -
Follower from : https://devrant.io/rants/671652/...
Second windows tip!
You can show your favorite image in the lock screen!
Hint : signin options -
Hey ya'll, I was wondering if you could give me a career advice. I'm a front end dev with about 3 yrs of experience, and would like to do more cloud architecture/devops. How would I go about it, considering that I've only used aws, gcp, and azure for my hobby/side projects? Should i get certified? Who would hire me?
I'd really appreciate any advice/tip!17 -
I finally have a vServer again, now I need to fill it with 'life': secure it, build a small website and mailserver.
The main idea is to have some basics to look more professionell. I'd love any tip and idea how idk, save work before I run into stupid beginner mistakes, or things you had good experiences working with when you had similar tasks? :) -
I have hard time focusing at all. I can't even focus 100% when I am driving my bike. My mind tend to go other issues or thoughts when I am doing anything in my life.
Any tip to improve my focus on the current task.14 -
Just got a new soldering iron set for xmas, courtesy of my uncle. I went to use it to hardmod a PS2. Good news: PS2 hardmodded for easy discswap and SwapMagic with original ejector. Bad news: the iron barely made it through that before oxidizing to unusability. Even after I properly wiped the tip off with a damp, clean rag before and during use, it still corroded to s**t in seconds once power was applied. (No, refiling and tinning didn't help. The solder layer oxidized too.)
Soldering irons rust to dust in my hands in seconds. Every time. Even when taken care of properly. f**k me...12 -
!rant, but maybe useful tip for someone:
if you like listening to something while falling asleep, but dislike the idea of your pc being needlessly on through the whole night:
1. cmd
2. shutdown -t 3600 -s
(replace the number with seconds (up to 10 years =D) you want the computer to shut down after)7 -
My firm wants to use my personal blog as a platform to reach more people.
This is not something I want.
I don't know what to say, any tip to kindly answer such need?9 -
Don't you hate it when you hit your Ballmer Peak, start coding an app to calculate out you Ballmer Peak, then you tip over onto the right side of it and get bored.
-
Getting an interview tomorrow with a pair programming test. I've never done pair programming (they know it), any tip?4
-
I've found the most satisfying thing after fixing all of the bugs you made during debugging is giving people stickers/stress balls by being the one to tip them into +10/+100.
-
I recently discovered that you can show "Search tools" option in the mobile version of Google.
Thought I should share it here!
Now I just need to find the "Cached page" option 🤔2 -
Best tip for getting unstuck? If it's after your usual leaving time, GO HOME.
So many times I solved the problem right away the next morning. Only wish I followed my own advice more often... -
To the experienced coders here on devrant: Any valuable tip(s) for newbie programmers (independent of language)?
My suggestion: Enable 'format on save' in your IDE. Seriously, how did I survive without this?!5 -
I am preparing for InoI( Indian informatics Olympiad ). Any tip would be helpful. I am gonna use Java. What algorithms and data structures should I focus on ?5
-
Pro Tip
Don't try to compile Swift from scratch expecting to use your computer for anything else at the same time. CPU 999%6 -
Imposer Syndrome
Something we may encounter at somepoint in our careers. I've been reading a few articles after feeling some of the effects of this yet none seem to offer helpful solutions.
Has anyone got any advice or good tip that's helped them in the past?2 -
For all those who lurk here and enjoy other people's misfortune - you might enjoy the subreddit justnomil
It's about horrible mother inlaws (and sometimes just mothers) and is great fun to read and get riled up about3 -
Pro tip by a Noobie: Whenever you use an open sourced software, and set it up using some tutorial, make sure you download the latest distribution.
Wasted 2 days fixing something while setting up KeyCloak, eventually downloaded the latest version and worked fine. There was a bug in KeyCloak apparently.
Happened the same 2 and a half years ago trying to write node scripts for ElasticSearch, using an older ES library -_-3 -
Tip of the day:
If you want to keep your E-Mails private from Google, but need a Google Account:
1. Register an E-Mail at tuta.io
2. Use your newly created E-Mail by registering here: https://accounts.google.com/SignUpW...
Enjoy! -
Don’t learn things by head because it’s useless.
If you_want_to_learn_a_new_programming_language==true:
Try to get a better view on it -
Work on it every day for max 30 minutes or something, instead of waiting for a day were I have more time.
-
!rant #tip
Windows 10 - service host high cpu usage
Stop the superfetch service and it would be down to normal.
You should checkout the description of the superfetch service... Lol ):D2 -
yeah we have a guy that actively paints himself into corners. last time was an api he was saying yeah there just this last field to put in, then when you open the code because of the bs reaspn he gives you for not finishing it you realize you have to wreak everithing and start pver cuz there is no ways in hell this would work. and thats just the tip of the iceberg....
-
> 2018 starts just like another day
> Drops a tip for the pentesters
> As a pentester if you aren't good as a Chineese APT actor pack up and go home1 -
So i've started learning Java. I used sololearn for the basics and bucky on YouTube for more advanced stuff. Does anyone have a tip what to try next? Or maybe some starter projects to really get to know more about the language?6
-
The best tip I got is scheduling. Try to focus on work for 1-2 hours and then take a break. On the break you can check Facebook, news or maybe porn if that's your thing.
-
Don't drink and CTF
I feel boiling right now after immense pressure and pouring all my energy for this -
Pro tip. Don't start to learn react and redux when you have to Support 6 fcking Apps in jquery, plain Javascript and this bad boy Razor. You will kill yourself when you have to work on it. I nearly cried today because of this...
-
It's fucking 14th already in India. People are already celebrating valentine's day and shit on Facebook. And here I am raising for code review on fucking Crucible with half a thumb tip missing.
Motherfucking fuck my life.
I just want to go to the fucking roof and scream my lungs out. Fuck!!!2 -
Tip: Use the same password on all services. That way, if one gets breached, you still remember the password to the others so that you can change your password there.2
-
Finally published a demo packaged on npm to learn how it works.
Like it - "Npm loves you" 😜
I'll publish my own package in 2-3 days.
Tip : it seems you can't delete a npm package, you can only unpublish it. -
Quick JS tip
If you want to split a string into characters, you can use the ES6 spread operator
If you have
const name = 'react-dev'
You can just spread it like this:
const charsInName = [...name]5 -
I think since this is a platform for coders, the number of healthy tips is restricted to boolean values, otherwise it wouldn't be healthy.
If you know what I meant.
#whoops -
Top Tip: When writing 200 line functions why not have a string variable named 'tmp' that changes it's value multiple times throughout?2
-
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*." -
I don't know about you but I find remembering symbolic link commands too difficult - midnight commander to the resque!
-
Do you make notes for the stuff you learn as a developer,
feel fee to discuss how you do it, like do you write a detailed blog post or write in your notebook7 -
!rant
Anybody remember the trick to download a rant as a picture in the webapp ?
Was something about the url :/2 -
!rant
Guys, any tip when looking for "Remote Development work". I am very bored at this job and want to move on urgently.
Please anything.1 -
Can someone with multiple monitors share their tip how to make use of it to increase programming? I bought one but seems didn't help so much.15
-
Become a better programmer tip 1: write large amount of code everyday. Read and understand large amount of code every day. Plus have to do self reviews after each small tasks.5
-
And i spoke to an old colleague who’s interested in the senior Frontend vacancy we have. So he had a tip that i told my direct colleagues about. “I expect a senior frontend developer to come with a lot more than that”. People need to lower their expectations. Seriously. Be. Fucking. Content. For. Once!1
-
Do bootcamps include online sites like Coursera and Treehouse? Cause when I graduated from a CS degree I still couldn't code properly. I learnt from sites like these and got my first job. But the thing is what they teach you isn't even the tip of the iceberg let alone helping you master the technology. For that you gotta go out on your own.
-
Tip: when doing transactions, don't pay as cash even if they tell you it is a requirement. Tell them you will pay via cheque or via bank transfer with a contract first with a seal from an attorney. You must have a valid copy first of the contract before doing payments. Also, get a photo of 2 valid IDs the person you are doing transactions. They require you personal infos and IDs? Require them also that.
#noContractFirstNoPayment1 -
you know, yesterday I wanted at xamarin... today I could fix it.
as a helping tip for you, if you're gonna install it, remember to enable the windows universal package thingy, it makes it work somehow. -
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
-
I have Manjaro KDE on my Acer Predator Helios 300 (dual boot with W10, unfortunately, because games/some programs needed).
I want to try another distro.
Is Fedora a good choice ? Is there any potential issue or things I should look out for ?
Do you know a good distro that runs fine on that hardware ? I'm just curious here.
Any tip before I backup my home ?
I put the / on my SSD and the /home on my HDD. Any reason why I shouldn't keep it that way ?
Thank you :-) !6 -
Whenever I'm assigned to a new task, my whole brain goes to panic mode. Thoughts like, how can I solve this issue as fast as possible, do I need to draw it, do I need to read an article or watch YTB videos etc.. So confused about where to start that I forget to f*** sit down and write some code.
Often times, we know the solution deep inside but are too scared to jump on it.
So my tip is - start with writing some code, and the things you don't know, well Google is free.1 -
My colleague:
Working in this job double as long as me.
Also my colleague:
isSafari = navigator.userAgent.indexOf("Safari") > -1 (pro tip: almost any browser but Firefox contains Safari in it's user agent, because browsers lie)
Also wasn't able to check if autoplaying a video fails. It's not my primary department, I'm just helping fixing bugs there. They really need an employee with knowledge and experience. The last and only one got fired, so...4 -
Pro tip:
Don't make stateful singletons. Just spent an entire fucking morning debugging because one of those fuckers was trying to use prod, and not the demo environment.12 -
I was working on something for 5 days from a requirement, extremely satisfied with the results.
The boss comes over to see what I've done and says it's not what they expected.
The requirement was poorly written because what he said compared to what was written is two different things.
Tip: Share the work and the code you've produced (at least inform) to make sure you are on the right path. There is always a gap between a requirement and what the stakeholder actually wants. -
Sometimes while writing software / consulting I feel like house md. Not always am I right the first time, but this is often due to me looking at the wrong thing. But at the end of the day I am able to give advice that may be seen absurd but usually is correct.
(tip: it's never lupus, what is quite right because code is code)1 -
What are nice apps to learn swift dev? :) I'm tired of all those TO-DO's apps or calculators
I wanna build something that makes me explore the capabilities of the language in deep, not just the tip
I read your comments :33 -
git cherry-pick -n <commit>
The "-n" is alias for "--no-commit" and it applies the content of the target commit into your working directory without making any commit. Usefull if you want to cherry-pick many commits, tweak them and make a new one or simply want to grab some functionality into your index.
What's yours well-appreciated but not-that-well-known git functionality?3 -
Learning Tip:
While learning some new tool/technology never just go and start looking at the handbooks and/or tutorials. Always set small goals for yourself first or ask someone proficient in that tool/technology set these goals for you so you can follow along and make real progress while learning. -
Tip of the year? I bought an iPhone 7 because the battery in my 3 year old iPhone 5s was very bad. It had less than 25% of its original capacity.
I gave the 5s to my son but quickly realized that he could not use a phone with such a bad battery. We therefore considered buying him a brand new 5s.
Luckily I found out that repair shops can actually replace the battery! I thought that this was not possible. So now my son has a 'new' iPhone 5s for 1/10 of the price of a new 😄1 -
@all
Just little Tip for All (Java Developers) when ever you want to activate the Java Plugin for Firefox:
The Plugin seams to not be intigrated in the jdk!
I had to install the Common Jre to the plugin in Firefox -
Random tip: ignore vendored files, binaries and other trash you have to keep in your GitHub repo (including in diffs!)
https://github.com/github/linguist -
Not exactly a tip but do you know an app for quick-testing your skills in js, for intermediate-level, but with questions that are not too complicated (not code golf, though I like that too) so one can use it when commuting for instance ?1