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
-
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 -
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.15
-
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 -
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 -
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
-
I got it tip from someone to download "Enki". And I can only suggest to everyone here to do the same!20
-
Pro tip: It is faster and easier to say 'World Wide Web' than it is to say 'WWW'.
You're Welcome!18 -
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
-
Kudos to the devrant team for epic response time!
<50min from bug report on Twitter to workaround on prod!2 -
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 -
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 -
Like "Why is Facebook webpage running so slow" (I think cuz of all the tracking stuff, and they are having trouble on my Linux machine). But I gave it a naive duck-duck and found this brilliant tip to "Reinstall JavaScript" to improve that performance. I'm just so speechless rn... And the cherry on the ice-cream is the link :Drant reinstall js wtf-anyway? like what? guys... facebook is evil i dont want to use it i use arch btw java is also an island12
-
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
-
My tip for staying productive: **Don't**
Take a break. Take a few. Have a nap. Take a stroll outside. Enjoy life.
Life's too short. If you're not having fun, you're doing it wrong.
Fuck productivity.5 -
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 -
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 -
Sorry. I don’t give out free tips.
These are the available packages:
TipsPack Basic (9.99$): 5 tips to increase your productivity 2 fold.
1 ad between every tip.
TipsPack Premium (17.99$): 20 tips + 1 bonus tip for 10x productivity. 2 ads.
One bug fix free when you purchase either pack.7 -
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 -
Pro tip: never try to convert the date (formatted as "yyMMddHHmm") in an int32.
It will stop working in 2022. 😉
I just found out I accidentally invented the "2022 bug" two years ago.11 -
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 -
@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 -
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.4 -
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 😀3 -
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 -
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 -
Pro tip to scrum masters: bringing a scrum suitcase to your sprint meetings is more useful than bringing scrumbags.1
-
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 -
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]19 -
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:
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 -
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 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 microsoft13 -
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 -
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
-
Interview tip #420
If you are asked to code a small app @ home, ffs, don't send the interviewer the node_modules folder!3 -
Tip of monday:
Test your restores, not your backups.
Just got f#@ed by trusting the log, not the restore folder size1 -
Coder life pro tip : do not open terminal in public. As people may think you are a terrorist trying to hack the airport. 👍4
-
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 -
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 -
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!!12 -
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 -
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 -
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 -
Top tip back for beginners, make sure your dev and live environments are identical.
And do your testing in dev!1 -
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
-
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
-
In C# you can open as many scopes wherever you want at whatever time you please. Nested within themselves, doesn't matter.
Use this to fuck with the other developers on your team. Fence off their evil code behind a thousand curly braces!
Or maybe jazz up your indentation, give the code a nice and bouncy flow!20 -
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:* add comments in your code stating what you're gonna write next! This helps the reader to know what to expect!
[filename EventsTable.js]15 -
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.2
-
Pro tip. How to cut down on those pesky support emails? Break the only email link in your app I can find.
Genius.3 -
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 -
USEFUL TIP
If you have a bad day or just want to increase you're happiness, go to this website
http://www.cat-bounce.com1 -
Merge VS Rebase:
- Did you pick a side?
- Practical tips? Like dealing with merge conflicts
- Have you ever regretted using either?
My answer
* My team squash-merges all branches to master so we don't really care what the branch history looks like. Master history should be pretty - but a branch history can be ugly and filled with a dozen commits.
* Practical tip 1: use `git config rerere.enabled true`. rerere stands for "reuse recorded resolution" and this means if you rebase often you don't have to resolve the same merge conflict twice.
* Practical tip 2: use `git commit --fixup oldcommithash` and then rebase with `--autosquash`
* I like using Rebase. But I have regretted the amount of time I've spent on trying to rebase old branches with many commits only to give up and to `git rebase --abort` since I realised I couldn't handle trying to reapply all the commits chronogically as the changes in the 1st commit were no longer relevant.46 -
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 -
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 #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 -
! 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 -
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
-
Linux tip: if you're setting up a new computer w/ a fresh install of Linux or you got some new device you'd like to make Linux friends with, don't start by searching for drivers. Start with upgrading your kernel to the newest Mainline version you can. It's very likely it will bring your devices' support with it.
Damn I didn't think I'll like my P1 gen4 THIS much. Even better with a flavour of LMint!10 -
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
Pro tip: if you wear a full face mask with a BiPap, do not start puking in your sleep.
Glad my body apparently decided to nope the hell out as soon as I started aspirating, but it was still a singularly unpleasant experience I hope never to repeat.
Thankful to still be alive.4 -
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. :) -
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 -
Pro tip: using enums you can make a type that can be one of two values. Perfect for control structures! #codelikeapro1
-
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 -
!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 -
Is there a website blog where you can submit tutorials for other devs? And if so, is there a way for devs who find the article useful to (optionally) donate a tip like the price of a cup of coffee or similar?27
-
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 -
Quick Tip:
There are jokes you tell to your best buddies that you should never tell your boss.
Just saying : |5 -
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
-
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 -
Tip: Write `throw new Error("problem: <your task for next Monday, and your last thoughts about that>") at the end of your test-file.
Then you come back to work after the weekend and know exactly where you left off!
Thank me later, as I thank my Friday-4pm-me1 -
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... -
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 -
Sunday guilt: Do I ssh in and finish the testing I didnt mange Friday? Pro-Tip: never set up your work VPN.3
-
Tip: If you procrastinate too much on youtube the css selector to hide (using your favourite browser add-on) is #related
-
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
-
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
-
Probably everyone at least once had situation when they receive a meaningless screenshot with 500 page, a message "Application doesn't work fix it" and 0 info whatsoever.
Here is my tip that saved me a lot of trouble.
I display error id in the center of the screen, large enough so no matter how small and blurry the image is (yes users, send us photos of theirs displays) , It is always easy to ready it so we can start investigation without talking to those monkeys.2 -
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. -
!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 -
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
-
Fucking product owners. Churning out retarded requirements every sprint and then complaining about how the requirements haven’t been met, just to add new retarded requirements the next sprint.
Hot tip, if your product owner is obsessed over apple events, tell the cunt to go buy a new Apple Watch and suck on apples trillion dollar market value. Fucking goofy cunts.2 -
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 -
pro tip: If the scroll wheel is not working on your mouse in #Linux, ensure the user is in the wheel group. 🤓4
-
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 -
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
-
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 -
Python async is a total, unapologetic shitshow. It’s as if the design goal was explicitly to invalidate the maximum number of thoughtful stackoverflow QAs possible. Pro tip: make you sure to memorize the release dates of every minor version of python from 3.5-3.10, so that you know which stackoverflow answers are not relevant in any way to your codebase.2
-
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 :
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 -
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 -
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. 😑😑
-
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 -
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.
-
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.. -
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 -
!tech
i am too young and want to understand this: what's with tip culture?
its one of those things that i saw my parents and other people do and started doing the same but don't fully understand.
why do we need to 'always' tip the people who serve us? a waiter has a job to go on each table to take order, bring it when ready and take cash. i know that's a service that i should be grateful for, and i could showy gratitude with a tip, but isn't it same as the actual job for which they are being paid a salary?
same with a barber. same with a car repair guy. i don't understand why some professions have a variable gratitude money as one of the ctc components?5 -
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. -
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
-
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 -
OK trust me, DO NOT, I REPEAT, DO. NOT. TRY TO DO ANYTHING ON A COMPUTER WHEN YOU HAVE SMALLER SIBLINGS, my baby brother has broken my PC monitor, my laptop screen, my phone, and hell, I'm desperate to the point of jailbreaking my Nintendo switch, witch he almost broke already, I'm typing this on my school laptop BTW.9
-
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 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
... -
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
-
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 -
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 -
Follower from : https://devrant.io/rants/671652/...
Second windows tip!
You can show your favorite image in the lock screen!
Hint : signin options -
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
-
Yesterday I got my first total freeze on my "new" PC after 4 years.
Guess the program. (tip: ends with Studio)10 -
Quick tip:
An office laptop cant keep unity, atom, github desktop, >100 firefox tabs and ms word open at the same time.8 -
Pro tip: don’t accept a meeting with a potential employer for the beginning of your holidays (I know, ’muricans, you don’t get this concept where basically everyone taked paid vacation for several weeks during summer) so that you’ll end up thinking about whether to jump ship or not for most of your holidays, effectively ruining your time to potentially relax for you.
Just don’t do it. -
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
-
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 -
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. -
"A portfolio as pretty as pictures is nothing but a tip of the iceberg, the real treasure underlies the ocean." - Shawn Lukas
-
"A portfolio as pretty as pictures is nothing but a tip of the iceberg, the real treasure underlies the ocean." - Shawn Lukas1
-
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 -
So the tests for the AMD RX 7000 GPUs are out. Business as usual: superb for non-RT gaming given the price, crap at everything else - including energy efficiency in FPS/W.
Pro tip to the AMD marketing: you don't highlight features like energy where you suck relative to the competition. You point out your strong points. Admittedly, you don't have much to work with here.3 -
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? :) -
!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 -
Getting an interview tomorrow with a pair programming test. I've never done pair programming (they know it), any tip?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. -
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. -
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 -
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 ?4
-
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 -
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 -
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.
-
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... -
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 -
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 -
⚠️🚨 PRO TIP 🚨⚠️
ZOOM IN ON TERMINALS + STAGE MANAGER = LITTLE SIDEBAR PREVIEW OF TERMINAL PROGRESS3 -
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...
-
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 -
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! -
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 -
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 -
Don't drink and CTF
I feel boiling right now after immense pressure and pouring all my energy for this -
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....
-
!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 -
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. -
Tip: Type `sl | lolcat` in the terminal for a nice rainbow train, or `sl | lolcat -a` if you want a glitchy one.
-
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 -
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 -
> 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 -
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
-
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
-
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 -
!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 -
c++ tip: modern cpp standard libraries have std::optional, which allows you to declare a variable that may or may not have a defined value:
std::optional<std::string> optional_string;
(I've started a journal of interesting c++ things I have learned: https://github.com/AlgoRythm-Dylan/... ) -
Work on it every day for max 30 minutes or something, instead of waiting for a day were I have more time.
-
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.
-
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?4
-
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 -
I don't know about you but I find remembering symbolic link commands too difficult - midnight commander to the resque!
-
Top Tip: When writing 200 line functions why not have a string variable named 'tmp' that changes it's value multiple times throughout?2
-
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 notebook6 -
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. -
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*." -
!rant
Anybody remember the trick to download a rant as a picture in the webapp ?
Was something about the url :/2 -
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 -
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
-
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 -
If C++ invented mathematical vectors, the arrow symbol above the vector points would face the direction of the vector. The tip of the arrow missing would mean it's a zero-length vector, and, finally, if it faced to the right it wouldn't mean that it's a right-facing vector, it would be able to face in any direction. Because of course there should be multiple ways to do everything. It's so easy!3
-
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 -
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. -
To whoever reads this, I hope you didn't take any software development related career to make a living working for others
If your software development career pays the bills by working for others, you'll find devRant a place like heaven
If your software development career was taken to do your own stuff, congratulations, you made a really nice choice, you might be poor, but happy4 -
I bet those shits at Paypal sure felt smart when they implemented their 2-factor authentication, not realising that phone numbers can change. It's not a fucking SSN assigned at birth, you geniuses.
And when you click on the help link the amazing tip they give you is "login and make sure your phone number is correct". DID YOU EVEN READ THE HORSESHIT YOU WROTE THERE?
The "cracy" in Idiocracy stands for bureaucracy.8 -
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. -
!DEV
Dear uber eats drivers, I usually tip 4 to 6$. But if I see that you are doing another stop "in route" the tip is automaticlly 0.
That's all.2 -
Pro tip for XAML binding:
Set your data context before you initialize the component!
Otherwise the component will render with the default values for the properties. -
ENOSPC = random things go wrong.
There are many synonyms for ENOSPC, like "disk full", "space storage full", "space storage exhausted", "no more space left on device", and those other repulsive errors. For the sake of simplicity, I am going to refer to it as ENOSPC.
If you are in this condition on the operating system partition, get out of it quickly or random things will go wrong. Text editors which write directly to a text file rather than creating a temporary file and then replacing the text file could end up blanking the text file, softwares' configuration files might fail saving which causes a reset, and web browsers might spontaneously reset cookies and lose history.
For example, Firefox has created a gap in the web browsing history, as shown here. The history that is now memory-holed initially appeared to have been recorded successfully. Apparently, a failed write to the places.sqlite database when closing the browser created this gap.4 -
Concurrency tip Nº 1
Hate your exes that know you too well but cherish the ones that didn't stay around enough for it. Most of all, favor one night stands2 -
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.10 -
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 -
@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 -
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
-
I have to implement a gymconnect client in flutter and im quite lost.
I have already connected my flutter app to the device via Bluetooth and started to read some of the data but im not sure if im doing it well.
Could someone give me a tip about implementing this kind of client? Any tip can help a lot, thanks.6