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 - "pv"
-
windows update code
function update(){
print("10%");
print("30%");
print("50%");
print("99%");
_doActualUpdate();
_mineBitcoin();
print("100%");
return;
}15 -
I met one of my friend from my childhood he asked me what I do for a living.
I told him : "I am a full stack developer"
He : What does that mean? What you have to do in office?
Me: I write code for websites in very simple words.
He: Like facebook?
Me: yes, exactly.
He: So you work for windows?
Me: What makes you think that?
He: Aren't websites comes with the computer?
Me: I am so unfortunate to meet you.13 -
Googles best javascript framework.
1st link: react is the best one.
Me: Ignore
2nd link: Angular is the best one.
Me: ignore.
.
.
.
8th link: Vue is the best one.
Me: I knew it.18 -
1) Stop going to univershity
2) Started python coding at home from online courses.
3) Got the best paid job among batchmates.14 -
Project manager: I thought you said you made sure it was live today! I'm going to have to explain that you're the main issue with why it isn't live to management!
Me: have you cleared your cache?.... (long silence)
I swear it's the new "have you tried turning it off and then on again".2 -
Meme intended for physics, but sometimes it also happens in progamming. I am looking at you Javascript.
Source: https://theladyscientist.tumblr.com/...4 -
The best minds of my generation are thinking about how to make people click ads…That sucks.
- Jeffrey Hammerbacher, former Facebook engineer1 -
Lol 😂. I was expecting a mnemonic of some kind but this works too.
https://stackoverflow.com/questions...2 -
Once I used to wonder how youtube made money.
Now every time I watch a youtube video I am reminded how.12 -
Today is finally the day of my hackathon, have been working with my team for about a month on a personal assistant already. I think we may stand a chance to get in the finals this year, unlike last year, when we started working only on the day of the hackathon.3
-
Submitting long written text on browser.
Novice:
1. Type
2. Submit
Experienced:
1. Type
2. Ctrl+a Ctrl+c
3. Submit4 -
My friend brought me a simple python problem. He expected the output to be 2,2,3... instead of 2,3... I didn't know python, but with a quick tweak to differentiate the two prints, I understood that the range() function is exclusive.
Before coming to me, he asked his senior dev & that guy just said - "Oh, your editor has a problem". 😐5 -
draw.io is moving to diagrams.net, because .io domains are not secure.
Source: https://diagrams.net/blog/...12 -
Ask questions during interview.
Ask about trainings - it's usually a good sign when company offers training budget. Ask about specifics - sometimes it's a shared pluralsight account, and nothing else, which means that that had an idea and half assed it into existence.
Ask tech recruiter about overtime, a good sign is when they have no idea or say that it must be budgeted and scheduled - it means that it does not happen often.
Ask if it is possible to select and change projects, and how often it happens - if often, it may be bad low level management, or people learning new things and jumping between projects.
Also make sure to ask about rules for promotions and pay rises. Good company wił have a clear set of rules in place.
All of the above apply to mid to large companies.
For small company, i'm sure it will be different.3 -
Was asked to make an e-sign system that manipulates PDFs to insert an image and the date at different coordinates on x number of different pages.
200 hours later, it was done. Now I'm the PDF guy2 -
"First remove the break points, and then commit the code".
He described it as if the breakpoints could stop time!! 😂5 -
After seeing @Gregozor2121 share, I searched around in my bookmarks for similar stuff. Here are a couple of links that I feel is useful for everyone:
A massive list of Free programming books.
https://ebookfoundation.github.io/f...
(Also do explore anything marked as "awesome", cause it literally is awesome!! They have got tons of lists of resources for most programming languages, free software lists, famous stackoverflow answers, quotes & even Pokemon!!)
I also had this bookmarked:
https://github.com/chubin/cheat.sh
Basically cheat sheets at your command line. Pretty neat utility.8 -
Dear Chrome/firefox developers,
If someone presses the back button after they click on a link it means don't load that page and not go back to previous page.4 -
I love this database primarily because it is cross platform and can be easily understood by anyone unlike SQL database files.5
-
If we are living in a simulation then I am pretty sure that the quantum mechanics part was written in javascript.3
-
I never touch my code if anyone else have made changes in them without asking me.
I cry like a bitch when I get home.6 -
How I met python
[long read but worth]
There's nothing wrong with falling in love with a programming language for her looks. I mean, let's face it - Python does have a rockin' body of modules, and a damn good set of utilities and interpreters on various platforms. Her whitespace-sensitive syntax is easy on the eyes, and it's a beautiful sight to wake up to in the morning after a long night of debugging. The way she sways those releases on a consistent cycle - she knows how to treat you right, you know?
But let's face it - a lot of other languages see the attention she's getting, and they get jealous. Really jealous. They try and make her feel bad by pointing out the GIL, and they try and convince her that she's not "good enough" for parallel programming or enterprise-level applications. They say that her lack of static typing gives her programmers headaches, and that as an interpreted language, she's not fast enough for performance-critical applications.
She hears what those other, older languages like Java and C++ say, and she thinks she's not stable or mature enough. She hears what those shallow, beauty-obsessed languages like Ruby say, and she thinks she's not pretty enough. But she's trying really hard, you know? She hits the gym every day, trying to come up with new and better ways of JIT'ing and optimizing. She's experimenting with new platforms and compilation techniques all the time. She wants you to love her more, because she cares.
But then you hear about how bad she feels, and how hard she's trying, and you just look into her eyes, sighing. You take Python out for a walk - holding her hand - and tell her that she's the most beautiful language in the world, but that's not the only reason you love her.
You tell her she was raised right - Guido gave her core functionality and a deep philosophy she's never forgotten. You tell her you appreciate her consistent releases and her detailed and descriptive documentation. You tell her that she has a great set of friends who are supportive and understanding - friends like Google, Quora, and Facebook. And finally, with tears in your eyes, you tell her that with her broad community support, ease of development, and well-supported frameworks, you know she's a language you want to be with for a long, long time.
After saying all this, you look around and notice that the two of you are alone. Letting go of Python's hand, you start to get down on one knee. Her eyes get wide as you try and say the words - but she just puts her finger on your lips and whispers, "Yes".
The moon is bright. You know things are going to be okay now.10 -
"Intense coding. A day passes. Wait, how the fuck did my code work? It doesn't make any sense!"
It happens so, so often, God why 😐1 -
Before new years eve I prepared a sheet on google sheets that allowed people to add drink recipes and order drinks (specify how many of each drink they want), calculated part of budget each person had to cover and generated shopping list of drink components with exact amounts needed.
It was more fun to make that thing than to attend the party.2 -
Woke myself up shouting hdcp at 4:40 am today!!!
I was explaining what hdcp was to my sister in the dream, why the HDMI cable wouldn't work..
Had a chuckle and continued to sleep, realizing what a nerd I am 😆
Who dreams about hdcp and hdmi cables?4 -
Me ( a python dev) pointing to a good java joke in dev rant to my brother who happens to be working at TCS for the past 5 years as a Java Developer...
Me: Java is shit...
He: huh java is the best! every language in the world is written over java. My manager said this.
Me: I think I will kill him today in his sleep.4 -
What if - when you want to switch off the light or anything, you are supposed to get electrocuted and die.
But instead, your consciousness switched to an alternate reality and live, and you wouldn't notice.
Jeez..I need to stop watching scifi. I wont look at switched the same again.2 -
First day at work, my PC starts updating, reboots and suddenly, the boot partition is corrupt.
Nice way to start in Dev.3 -
Companies! For the love of your peoples sanity give the developers of all ages worthwhile machines. If you send us to clients to develop iOS apps, send macs also 😤4
-
Dev.to app asks me to type in my github username and password into the github login page opened in their app. Is there no better way to do OAuth on Android apps?8
-
Buys a product on amazon.
"Intelligent" ML based Amazon backend services: This guy just ordered a product. He might not want to see any ads showing him the exact same product because he already bought it and will not want to buy another until he loses the first one which might take a while.
Result:
User.showAdsRelatedTo(productName)
Meshine learning ¯\_(ツ)_/¯7 -
Went to an interview.
Interviewer said "X language is easy compare to our stack".
The next month, I saw on a job post that they're looking for that X role.
I should buy some sandwich2 -
Flex + CSS grids is awesome. I know I am late. I regret not realizing this earlier. Way earlier.
Someone who does not agree with me please read this: https://css-tricks.com/snippets/...4 -
I think I can learn English here.
HAHAHA
I can also learn professional knowledge.
**I am a Korean.**
And...
Succeed!
Android studio AVD powered pictures4 -
Started a new job last week. Pays a tad below average for position, but i get training time and budget for anything i want.
So far i have had few days of company introduction, and now a week for training courses related to position.
I have not seen any code yet, brought no value in, just joined.
Massive green flag to me. -
First day of holiday - manager messages that about small issues, ignored that.
Second day of holiday - received a message that everything is going wrong. Apparently I can't take any holidays as the world will burn in the meantime...3 -
Just found this awesome function in the old commits.
def clean_cache():
'''
This function cleans the stored cache in every update. Make sure to call it before every feature addition.
'''
print 'Cache is cleared. '
return2 -
I would like to see a full stack developer version of it.
Found this on 9gag it's fucking hilarious... -
This is just a temporary workaround. I will come back to this and fix this later. NEVER HAPPENS :)3
-
Can someone explain the node_modules joke to me please? I've seen it quite a bit now, but I still don't get it. (Attached an example from https://devrant.com/rants/760537/...). Thanks in advance.5
-
Company i work for just posted updated pay rates.
It's good. They went from lower end of spectrum to a little above the average in terms of pay, and benefits stay the same - solid. -
can't believe it but things actually have started to fall into place on their own, career-wise. feels unreal. need to work enough to afford a cottage with a cobblestone path & my life will be complete2
-
Didn't even ask for 2 sets, the devRant team is just awesome! Thanks!
On and @localhost, it seems like people are sending their setup, so here's my student one :)1 -
what is the point of having massive HR departments if something as expected and frequent as university hiring can't go smoothly?
i managed to reach the interview round for a big 4 firm only for the interviewer to not show up for 4 hours from my time slot (i waited the entire time - took periodic screenshots for proof), HR to say "we'll reschedule your interview, this happened because of internal miscommunication" more than THREE months ago, and dip. until december they'd repeat the same. now they've ghosted. thanks, virtual hiring.
how is it the candidate's fault? found out this isn't rare by speaking to a few others from my network who i knew were interviewing for the same firm. for students whose lives can change completely based on the outcome of an opportunity that they came across due to sheer luck and could definitely make use of because of their hard work - this is so heartbreaking and demotivating.1 -
Fuck you stackoverflow. You should have told me this before I changed my username. Did you expect me to know this somehow???9
-
I actually found a real website using a Spinner UI element for inputting phone numbers!
It accepts typing the number too, though. So not completely bad. Also it only appears in the desktop version.
I guess this was just some short cut to force numerical input. Still was pretty shocked. I've only seen them in jokes/memes.
site: http://www.sparrowinn.in/1 -
Okay so I am a computer science student, and here's what my parents and relatives think I do-
typing random letters and numbers into the computer system until it magically turns into some working mobile app, which is their expectation. While I am coding some addition program just for them to see 2+2=4.7 -
This Monday I start my first job as a junior web developer and a coworker already my first two hours will be free time, don't know how to feel 😓2
-
I finally found something to rant about! So what happened is that I am participating in the Digital Ocean competition (I need to do 5PR's). So I find a report with a lot of scripts. I decide to contribute and write a discord webhook API (send messages through a webhook). The next day, the guy goes "No thanks :)" and closes the PR. Words cannot express how triggered I am. I ask him if I can make anything else out of exasperation (I did not intend to do anything for him anymore, I can't explain why I did that), he tells me no...
;(3 -
Not leaning on unit tests. I usually write them after testing my code manually, and lose time for testing feature by hand.1
-
Ever tried explaining GitHub to someone? I swear it's like trying to teach a dog to ride a bike. You can try, but it's probably not going to end well.
Okay, rant over. Back to coding... and dealing with merge conflicts... and pull requests... and GitHub issues... sigh.4 -
Stick to one project about which you want to learn but don't know how to do it,complete it...and now you have learnt something new
-
Anyone else think it would be easier if the ++ was on the right. Makes me think there should be a left and right handed option for apps.10
-
I was brought into my new position as part of an transformation of waterfall to agile methodology.
We are now running 4 while projects and need to restart the remaining 29 projects using agile principles. The business management type people love agile, but somehow the people inside the current waterfall practices doesn't.
They are afraid their silo work will either expand or not exist thus making it hard to transform the company. Also the company have been subjected to the dead sea effect.
Therfore, the project that is currently in the space of transformation is making my blood boil because people just ain't passionate enough about software.
Either you craft software, or, well you sit and suckle other's money. People suckling should please grow up and start venturing beyond there cozy 9 to 5 and transform to be a professional software doer rather than a BA, DEV, IT GUY.
YOU BASTARDS GET A SHITLOAD OF MONEY AND DON'T DESERVE IT FOR THE EFFORT YOU BRING.
It is your software, own it, be proud of it. Read up to make it better. And as always, the people debugging your code can be a violent psychopath -
All code and no tests makes a software buggy, hard to maintain and a pain in the ass to work with.3
-
Does anyone else get triggered when you use the python socket .recv() and the server does not return anything so the program just stays there indefinitely? For me, I can't even Ctrl+C it so I have to close the entire window. It's especially annoying when I start a server in the interpreter (quite a bit of lines) and I have to rewrite it afterwards.7
-
Just noticed github shows Infinite contributors for chromium repository. (https://github.com/chromium/...).
Also, I clicked on the contributors tab and the page is still loading. Guess it will take infinite amount of time to finish loading :?3 -
So, I've been trying to learn assembly. However, I can't find any assembly docs online, so I can't really do anything. I tried NASM and FASM but I just can't understand assembly. Do y'all know any decent way to learn assembly? (My dad said it's better to do it on my pi or should I do it on my desktop?)8
-
I just finished my second semester of computer programming. I then say to myself : "Let's use my new knowledge to make the program I worked on for fun two years ago better and more efficient!".
It was a bad idea. -
I stumbled upon series of stories about serial killer/system administrator addicted to lager and onion bahjits who hates users, managers, beancounters and sales people.
I'm just gonna leave it here https://theregister.com/data_centre...1 -
every day my boss says he'll review the requirements for our product. every day he forgets to do so. every day he asks where the update for the next stage is. every day i remind him. every day he forg ---2
-
My Data Communication & Computer Networks (DCCN) teacher was the best teacher I've seen.
Teaching can be super hard. You're one against like sixty others who aren't interested in being there. To make that good learning environment, making the subject interesting etc, it not easy. Some justify that, "I can only bring the horse to the water" & proceed to just regurgitate whatever is on the book. Others cross question you & impose punishments - try to make you learn by fear.
But my DCCN teacher - she had the right balance between strictness & humour. So kids took her seriously (did homework, weren't late), yet never feared her - we felt comfortable asking doubts/questions.
She had some good tactics, like asking us to teach certian chapters - that made us learn better. She would revise them in the end also, incase we missed anything.
My best moment with her was when I scored the highest in my internals. She picked up my paper & showed the class - "see? Just two pages & he scored so much". There's was always those students who pump out a lot of stories/essays or whatever that comes to their mind about the topic in question. Lots of teachers just blindly give marks - "oh, s/he wrote this much, so it must be right".
But my DCCN teacher had zero tolerance for garbage. If you're wrong, you're wrong. Some even believe that the number of marks = number of lines you have to write!! Doesn't matter what you write. So, I was super glad when this teacher upped the standards. -
This extension is awesome. You can have dark theme on every website. Although sometimes it fucks up the website layout a bit.
https://addons.mozilla.org/en-US/...3 -
Me: What's this new icon in the app?
* Long press on the icon *
Nothing
Me: Huh. Ok. I will press it and see what it does.
* Presses it *
You have successfully done what you did not want to do. Congratulations!
WTF! Just tell me what it does when I long press it.1 -
Lets reinstall my Linux. Step 1 reformat from Windows 10 in your dule boot system and delete Linux partion. Step 2 boot up in bios.... The first time you do this, is the last time you do this.... I hate grub rescue.1
-
We're finishing some projects for uni. I've done mine, and am just helping out with others.
There was a friend who is doing her write-up. My other buddy was just just troubling her for fun. He threatened to press the power button on the laptop, thus sending it to hibernate. Minor nuisance; she just need to turn it back on after all.
She pleaded to leave her & let her complete the write-up. So I asked her if I could quickly re-configure the power button. You know, go to the windows power settings, and tell it to do nothing upon pressing the button.
She said no. But the way she said it struck me odd. As in "No, why would anyone do that!?". Debatable. Just to make sure, I asked whether she understood what I requested. She made a quick hand gesture of plucking the power button off!! 😐
Me & my buddy just stare at each other. "Yeah you're right, you're right, what a stupid idea...". We just slowly scoot from there. 🏃
No idea how she reached this far...1 -
I will train myself to be an avenger. In case things went wrong like ultron.
Anyone wanna join me?
Write your superpowers.3 -
Always have a roll forward plan, backups, and a site B. Especially if you think it is a non critical system.
-
Just running a backup script that will take a while to complete and decided to create myself s nice progress bar, using pv.
Have just wasted 10 minutes starting at the said progress bar :( -
Started my very first (summer) job as an IT agent in customer service for my city less than two weeks ago and finally moving out from the formations to answer the phone alone.
I must've listened to around 30 calls and already there's stories I could make tales of.
I now understand the job of customer service. -
I like working my 10 hours a day. So for the 6 of them I want to pair program with my grads I expect them to be as focused as I am, actually even more, but 25 minutes into a session they just zoom out and start making jokes.1
-
Developer 1: You know what they say, programming is just like sex.
Developer 2: Wait, what? I've never heard that before.
Developer 1: Yeah, you spend all your time trying to fix things that should never have happened in the first place.8 -
Definitely Android 8.0 is neat.
And it's faster.
I think Android has developed a lot.
Isn't that right? -
Nothing beats when you move into a new team and your old team message you all the time for those little things they could Google... Did people really think I was that smart??? Maybe some people are better at googling than others...
-
Fuck this shit. Any socket connection on JIO's fucking network gets dropped after 5 seconds if no data is sent. It's working on any other network. Wtf is going on???
Does anyone have any idea on this?
If someone has jio network please go to https://www.websocket.org/echo.html
And connect and check how long until it gets disconnected. Would be greatful if someone can validate this.
The project I am working on uses websockets extensively and this thing is screwing it up. I have temporarily set websocket ping interval to 3 seconds but what if the f**ckers over at JIO decide to start dropping connections every 1 second?7 -
Hey Postman,
Please fucking stop downloading minor updates and bug fixes automatically. Even if you do it, give the users an option to cancel the fucking download so that they can, you know, peacefully use the app for what it was built for.7 -
Just typed this into the Python interpreter and my whole system just froze. Guess I have to do a force shutdown.
x = list(range(1, 999999999))
So is there a way you can somehow configure your linux system such that the window manager/system is never out of memory or processor time? So that atleast I get can atleast kill the process which is freezing the system.3 -
what are personal projects if not the daughters of hackathon solutions that never saw the light of day6
-
Okay so being a developer is mostly like playing a never ending game of whack-a-mole with BUGS, you think you have fixed one until few more pops up like a bad case of acne.
But you know what's even worse? When you finally get something working, and you're feeling all proud of yourself, and then someone comes along and tells you that it's not "visually appealing" enough. "Can't you just add some more glitter and unicorns to the homepage? Oh, and can you make it look like it was designed by a unicorn who majored in art?"12 -
Send an email.
Or, more seriously: invite only people who must be there, and can add something to the discussion, have an agenda, stick to it, and plan the meeting so that it ends at the start of lunch break. That way everybody will be interested in finishing on time or earlier. -
I spent ~12h working on a simple issue/bug.
7h was spent on rebuilding local dev environment which is a clusterfuck of maven profiles, tomcat, some autogenerated degeneracy, and 2 different build systems for JS.
5h spent on actual bug fixing, code reviews and so on.
FML2 -
I often get distracted by other incompetent teams and preach ddd and tdd to them instead of writing my own code1
-
One of my few friends died with unknown reasons. Would it be unethical to hack their accounts to get more info?5
-
I keep getting emails from people I don't know that are like conversations, leading me to believe they aren't sent to the rightful owner. Most of the time, I see the email has uppercase at some places (when mine doesn't).
I just wish the companies could put a mark somewhere in their page when entering an uppercase email that mentions the fact that it doesn't change shit, getting really annoyed from receiving these mails not directed to me 😒 -
Those of you who wants the bleeding edge of technology, here's the one for YouTube:
https://youtu.be/addme/...
This unlocks the sharing tab on YouTube's mobile app, like in the screenshot below. Make sure you are on your mobile device.
Enjoy sharing! :D
//Oh right, it's supposed to be a rant -
Gosh I hate when I ain't in the new technologic stuff already 'ghah 😡 😋1 -
Tried to install MS-DOS 6.22. Was not fun at all. Tried 3 iso flashers in total. The closest that happened to DOS was unetbootin getting bootlooped on the 10 second countdown to automatic system start. I gave up on it eventually.
:\7 -
I am currently going to start data structures and algorithms in python...
suggest me a roadmap according to your experience2 -
💡 Have an idea to develop a system
*browse what language to use
*browse what template to use
*meh, I should write my own template cause I'm too smart
*F it, I realized im dumb, back to browse template
*browse why x better than y
*browse which company use x
*browse which hosting to use
*find admin template
*browse cat fighting with subtitle
This rabbit hole. And the project hasn't started yet for weeks and months. -
Unlocking your potential takes time.
Throwing away time is so easy to do and we are all guilty of it. How much of your time have you wasted not living up to your potential? The answer is brutal and may overwhelm you.
You have probably wasted some of your time but at least you haven’t wasted your whole life, yet.
You still have time and that’s the best reason to stop wasting it and unlock more of your potential. It hurts to know you have been lazy or procrastinated, but it hurts even more to ignore that fact and pretend everything is great.
source: https://psiloveyou.xyz/overwhelming... -
Got pissed that my story delayed the whole project by 3 weeks (major story, lots of changes, and management decided to put me in a few extra activities outside of the project).
Stayed up until like 23:00 to deliver PR.1 -
I don't know game development but idk I accepted an offer for game development competition..
the fuck I didn't even knew how to make one...
Now I. am working with Ursina Engine....
even the code on google does not work........1 -
need more experience for good entry-level jobs, need a good entry-level job for more experience. yay4
-
Has anyone developed websocket server in Nodejs?
I am planning to use socketcluster. Has anyone had experience using it? Is it good or should I go for something else?11 -
Get to know the new company better (Changed job shortly before Christmas).
Learn some DPs, DDD, k8s, finish introduction to hacking course, start doing htb and thm machines, finish and defend my thesis, finish books clean code, thinking in java (reading it to fill in gaps on knowledge), a few books about pentesting.
Among non tech goals: pass drivers license exam for cars, another one for motorcycles, go back to learning russian. -
I caught up a scammer last night he was doing some astrology and stuff.
He asked for money......
I gave him a grabify link.....
He gave me his location(accidentally)and told me to teach him the trick....
He wasn't even scared -
Isn't the subscribe function devrant work like creepy stalking someone...
Like what he commented,liked or posted....2 -
How do you tell someone their code sucks?? Like why dont you indent?? What's wrong with using useful class names? At least chuck a comment in there...
-
2 weeks of grub rescue, windows 10, Windows xp, Linux mint cinnamon, Linux mint MATE, bios, cmos, squashfs error, debian and unetbootin.... Thanks to rufus and Ubuntu we're now back on track. I've just gone from computer tinker to computer badass B-)
-
which is the best cloud provider for a complete beginner (user/dev) in terms of community support, employer preference and user-friendliness?
i know that understanding the tech and concepts behind it matters more than getting familiarized with a specific platform, but i'm looking to build a more diverse profile and have noticed many positions asking for AWS/Azure experience.
since i'll be starting from scratch, any provider with easy-to-follow documentation, online help and certifications that don't leave you broke (would have to pay myself, earn very less as a student from a third-world country, parents/current employer can't support) would work.8 -
Alias git commit to git stash.
Write a script that opens this page in fullscreen mode after a few minutes of inactivity https://fakeupdate.net/win10ue/ -
Does anyone else also feels like "I knew it why I didn't try this way, this was easy" after using stackoverflow1
-
Update of previous post
I just got assigned to a project.
Project-specific training is designed to take up to 20 days.
I got materials, videos, and a person who is in this project for a long time to supervise training and introduce me to the project.
Only problem is that the project apparently uses 5 years old version of base framework.