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 - "always coding"
-
HR: We have received complain that you have been sexually harassing an intern.
Me: No, I wasn’t. Me and the new intern all we talk about is Coding, Apps, and TV-Series
HR: You are lying. I have the words that you said to the intern. Do you want me to read it out.
Me: I have no clue what I said to the intern so please read it out.
HR: You said, “Always pull before you push”. Do you remember saying this?
Me: Yes, I was teaching the intern how to use GIT.
HR: Okay, let me call the intern and let see if he says the same.
** Intern **
HR: Was he sexually harassing you today at any time.
Intern: No
HR: Did he said, “Pull before you push” to you?
Intern: Yes
HR: What does that mean, sounds like a slang for something sexual.
Intern: haha, no it means that I should pull the changes made to the files before I can push the changes I did to the code from my computer.
HR: But he said something else like he was teaching you how to use GIT
Intern: Yes, that’s what GIT is.
HR: Okay both of you can go and don’t use this type of terms in the future it doesn’t make good working culture.52 -
One day when I was about 8 years old my friend and I were in the library. We decided we wanted to try to make a baseball website because we both likes baseball (this was around 1998). We picked up a book on HTML and my dad took it out for us. My dad was also a programmer so he said he would help us learn. We went home that afternoon and made a little website!
I knew right then that I really enjoyed programming and creating things with code, but I realized I wanted to be a programmer in middle school and high school. One of my friends and I started building Flash games. To see if people were playing them, I added in a call to each game that hit a PHP script on our server. I'll never forget the days/weeks that one of our most popular games caused our sever to get hammered and our shared host said they were going to boot us.
It was an awesome feeling knowing people were enjoying these games that we worked really hard on, and that's one of the main reasons I always wanted to be coding/creating things that people enjoy using.22 -
One of my favorite aspects of devRant has always been getting to learn more about the awesome people who use it. Beyond just the awesome stories posted by many here, one of my favorite ways to learn about and feel connected to the people here has always been desk/setup reveals. I personally love seeing different kinds of setups from all over the world, knowing that’s what the people here use to do their work and compute in general.
As an experiment, we want to try a few different things to highlight desk/setup/remote coding location posts. First, we’ve created the first devRant Instagram account, which is completely focused on developer desks/setups/workstations/remote coding. Please check it out here and follow: https://www.instagram.com/devdesks/
I want to use the account to bring more attention to the wide assortment of setups the awesome members of the devRant community post from all over the world. We’ll promote cool desk/setup/remote work images that are posted on devRant to the Instagram account for more exposure/additional audience.
Beyond that, I also want to try to come up with a way to better organize all of the desk/setup posts on devRant and encourage more of them. One kind we don’t see that often that I personally really enjoy is people coding with their laptops in locations that show the culture of their country or something special about the region they are from. Personally, I’m going to try to post some of those for where I live and work.
So how can you help with this effort? It’s easy! We encourage people to post their setups/working remotely pics and we will start featuring them on the Instagram account and hopefully elsewhere in the devRant app for some increased visibility/searchabilty over what we have now (since pics are kind of hard to search).
Also, we plan to make the weekly rant this week “post your setup,” so maybe wait until then to post, and you can work now on getting that awesome shot :) I know a lot of people here love photography like I do, so I think that part is fun too.
Please let me know if you have any ideas or questions about this, and I’m looking forward to seeing the desks/setups of many more devRanters in the next few days!
P.S. not a requirement, but one thing I think makes these photos better looking through a lot of them is when there is code visible in some way.44 -
Not a coding test, but:
Them: So you are interviewing for a programmer opening. Do you like programming?
Me: yes.
Them: do you make logos?
Me: ...I can...?
Them: good because you won't always be writing code here.
Me: I'm out.8 -
dad: how come u always on ur computer typing colorful letters and u get paid.
me: it is called coding dad.
dad:10 -
My girlfriend always takes pics of me coding saying it looks beautiful lol... I once told her that code is like a beautiful woman who is sick and you're the doctor and can't figure out what's wrong and occasionally ask your rubber duck for help...24
-
I always like to approach a new coding project by concentrating on the data model first. I've seen a lot of projects built on extremely convoluted database structures and it really hurts because it makes it hard to add new features to the project.
So I look at the requirements of the new project and try to come up with a basic data model. Then I like to think about what logical future additions to the project could be. And using those, I try to see if the data model is flexible enough to be able to handle those additions fairly easily or if complex migrations or hacks would be needed to account for new use cases and features.
I think once you have a solid data structure and database technology, planning out an API or rest of the software is pretty straight forward. I like to create reusable pieces of middleware early on in the project which makes it easy to apply consistent functionality with ease to different API endpoints.8 -
Started being a Teaching Assistant for Intro to Programming at the uni I study at a while ago and, although it's not entirely my piece of cake, here are some "highlights":
* students were asked to use functions, so someone was ingenious (laughed my ass off for this one):
def all_lines(input):
all_lines =input
return all_lines
* "you need to use functions" part 2
*moves the whole code from main to a function*
* for Math-related coding assignments, someone was always reading the input as a string and parsing it, instead of reading it as numbers, and was incredibly surprised that he can do the latter "I always thought you can't read numbers! Technology has gone so far!"
* for an assignment requiring a class with 3 private variables, someone actually declared each variable needed as a vector and was handling all these 3 vectors as 3D matrices
* because the lecturer specified that the length of the program does not matter, as long as it does its job and is well-written, someone wrote a 100-lines program on one single line
* someone was spamming me with emails to tell me that the grade I gave them was unfair (on the reason that it was directly crashing when run), because it was running on their machine (they included pictures), but was not running on mine, because "my Python version was expired". They sent at least 20 emails in less than 2h
* "But if it works, why do I still have to make it look better and more understandable?"
* "can't we assume the input is always going to be correct? Who'd want to type in garbage?"
* *writes 10 if-statements that could be basically replaced by one for-loop*
"okay, here, you can use a for-loop"
*writes the for loop, includes all the if-statements from before, one for each of the 10 values the for-loop variable gets*
* this picture
N.B.: depending on how many others I remember, I may include them in the comments afterwards19 -
"Coding is solving puzzles".
I think everyone has heard that platitude. But it's not exactly right.
So I grew up in a very poor environment, a moldy building full of jobless addicts.
And in my town there was this shop where super poor parents could take their kids to borrow free toys and stuff.
So as a kid I remember being frustrated by these second hand jigsaw puzzles, because there were always a few pieces which had been teared up or chewed on, or were even completely missing.
That is what development is.
You pull in this seemingly awesome composer package, and that one super useful method is declared private, so you need to fork the whole thing.
Your coworker has built this great microservice in python, but instead of returning 404 not found, it returns 200 with json key/value saying "error": "not found".
There's a shitload of nicely designed templates for the company website, but half of them have container divs inside the components, the other half expect to be wrapped in container divs when included.
You're solving puzzles, but your peers are all brainless jigsaw-piece-chewers. They tried to mend a problem, but half way through got distracted, hungry and angry, started drooling over the task and used a hammer to fit in the remaining stuff.11 -
Here's my piece of advice for new devs out there:
1 - Pick one language to learn first and stick with it, untill you grasp some solid fundamentals. (Variables, functions, classes, namespaces, scope, at least)
2 - Pick an IDE, and stick with it for now. Don't worry about tools yet. Comment everything you're coding. The important thing is to comment why you wrote it, and not what it does. Research git and start using version control, even when coding by yourself alone.
3 - Practice, pratice and pratice. If you got stuck, try reading the language docs first and see if you can figure it out yourself. If all else fails, then go to google and stackoverflow. Avoid copying the solution, type it all and try to understand it.
4 - After you feel you need to go to the next level, research best practices first, and start to apply them to your code. Try to make it modular as it grows. Then learn about tools, preprocessors and frameworks.
5 - Always keep studying. Never give up. We all feel that we have no idea of what we are doing sometimes. That's normal. You will understand eventually. ALWAYS KEEP STUDYING.9 -
So... I just remembered a story that's perfect for devrant.
My brother got into engineering in university, and during the second semester they had their introductory class to programming. They had weekly homeworks that the lecturer would check and give grades accordingly.
The factors that could influence the grading were: execution (meaning that the code would excecute as intended), efficiency and readabilty. The weeks passed and everyone was doing well, getting fairly good grades. Everyone was happy.
Until one day a random guy we'll call bob got the worst grade possible. Bob wasn't a bad student. He had over-the-average grades in all the weekly homeworks and even impressed the professor in some. Naturally, he was baffled when he saw his grade on the google spreadsheet. He was pretty sure his code ran well. He always tested it on different machines and OSs. So, at the end of the class, he went straight to the helper of the class, in a pretty imperative manner, to demand to know how the fuck he got that grade. It's impossible he got excecution, efficiency and readabilty, wrong. All three wrong? Impossible. Even the stupidiest kid in the class had some points on readabilty.
"Oh, so you are Bob. Huh?" said the helper in a laid-back attitude. "Come with me. Prof. X is waiting for you in his office."
This got Bob even more confused. As they approached the office, the courage he had in a first moment banished and gave way for nervousness and fear.
The helper nocks the door. "Prof., Bobs here"
As soon as Bob sits in the chair in front of Prof. X's, he knew something bad was coming.
"In all these years of teaching..." said Prof. X hesitantly. "In all these years of teaching I have not come even close to see something similar to what you've done. You should be ashamed of yourself." Needless to say, Bob was panicked.
"In all these years I have not seen such blatant mockery!" added the professor. "HOW THE FUCK DID YOU EVEN DARE TO SEND A HOMEWORK WITH SUCH VARIABLE NAMING" That's when Bob realised the huge mistake he made. "NEVER IN ALL THESE YEARS I HAVE SEEN SOMEONE NAME HIS VARIABLES *opens the file on his desktop *: PENIS, SHIT, FUCKSHIT, GAYFUCKING<insert Prof. X's name>MAN, GOATSE, VAGINAVAR, CUMFUNCTION, [...]" The list of obcenities went on and on. In each word, the professor hit the table harder than the last time.
Turns out Bob felt so in comfort with the ease of the course he decided to spice things up by using "funny naming conventions" while coding, and then tidying everything up before uploading the homework. This week he forgot, and fucked it big time.
So remember folks, always check your code before committing/giving it in/production. And always adhere to naming conventions.9 -
Friend: Why do you always listen to metal music when coding?
Me: So that if non-programmers saw me smashing my keyboard, they will understand better why I did so.
Friend: Fair point.....3 -
Living in a tiny house and having a remote-only job (and no lappy) means I get the wonderful, lovely privilege of working in my bedroom... with my 18mo (who will not leave me alone), and my girlfriend (who won't fucking leave). It's positively great!
Blasting music is often not enough to drown out the sound, and certainly does nothing for getting hit with toys or screamed at to get picked up, so I get basically nothing done during the day. And that's presupposing I'm not begged to run errands/go to lunch with her, both of which take precious hours. (She won't take the baby out alone, so she's always here unless we find a babysitter)
At least it's quiet after 9pm, so I stay up coding for as long as I can. But 18mo's wake up super early, and the girlfriend prefers to stay in the room until I'm up... so even with earplugs I don't get enough sleep. A monster a day and a bottle of Tito's vodka a month is all that keeps me sane.
Why can't I just be fucking left alone to fucking work? I'm our only goddamn source of income.
It's no wonder we're fucking broke.
And to make matters worse, I'm being downsized... and considering the above, I doubt I'll be able to land a new job. 😡15 -
1. If your contract allows it (and it should), get more involved in public dev community. Your employer benefits greatly from making a small closed source core product, with a giant open source ecosystem around it. Write public articles. Working in a community larger than one single business is fun.
2. Start a company coding club, a "labs" division, work in a slightly more exotic language. Great if your employer gives you time, but using some of your own is worth it too. Work on non critical tools, creative experiments. Sometimes you stumble onto incredibly valuable ideas which would never have popped up if you had strictly followed stakeholder requirements.
3. Listen to your body. If you feel restless, go for a run. If you feel tired, take a nap. If you're stuck, wander around the company. If you feel down, go find a place with more than a dozen trees. And always have a notepad nearby for doodling!5 -
Man, we have a snake in our company.
This snake is responsible for terrible code. They oversee a offshore team, but hold them to no coding practices. They don't do code reviews or checks. They let them be lazy and get away with sloppy work every time.
And if you critize their team - they will defend them and get angry at you. You can't adress the problem because said snake is always around. He's in a senior position for giving our company cheap workers, doing years of damage to our product while the non-code savvy managers remain blissfully unaware of their product being ruined in the background.
This snake is the senior product office. He has a share in the company now. He is from the overshore team's country. That team now has their claws so dug into our companies roots and are just pumping lsd's into it constantly. Feels good untill you die from an overdose.
Here I am, the new junior software developer, trying to tear out the claws that have sunk into these roots. Im up against the snake. The snake hates me. I hate the snake. I am trying to open the eyes of the managers. They hate that. They want to silence me so I don't expose the awful, unprofessional level of work they do.
Well, that's too bad. I won't back down from this, snake.14 -
(c) Creative Tim. Worth to read pips!
How to land a programming job
1. ABC (Always Be Coding) - The more you code, the better you'll get.
2. Master at least one multi-paradigm language - Some good candidates are C#, C++, Java, PHP, Python, and Ruby.
3. Re-invent the wheel - You should implement the most common data structures in your language choice.
4. Solve word problems - Pick those that test your ability to implement recursive, pattern-matching, greedy, dynamic programming, and graph problems
5. Make coding easy - At least, make it look easy.
6. Be passionate - If you don't care, then nobody else will.
7. Don't make assumptions - Ask questions if you're not sure.11 -
My mom always supported my decisions and usually when I'm coding at home she'll sit next to me and see me code. She always say that Sublime is pretty with the theme I have.10
-
One of my best mentors was my father!
When i was very, very young (like 8 years old), he brought a new computer from his work! The first thing he did was play Doom (lol) but later, he always tried to show me all the things that could be done, coding in VB6.
He always told me: "You can use this to make the computer do what you want to do! You can do many things!". Even if at that time I did not understand much, he always tried to explain me how to develop a calculator or even a "Hello World" but with the name of my mother.
I will never forget his face of happiness, when I simulated a face that blinked with a counter. I do not even remember how I did it, but he hugged me so hard lol.
A couple of years ago, he was the first to try my first application on Android: An application that screamed when you shook the phone lol. He laughed a lot with that application.
He helped me in my university and we even developed several solutions together for different companies. Now we work separately, but he was an important part of what I am now.
PS: My english is kinda rusty, so forgive me ><.9 -
Being a programmer on a non-tech startup company is not too bad. That means aside from coding:
- You have to check if the office printer works
- You need to figure out why the phone lines aren't ringing
- You have to teach a stupid colleague on how to unzip a file
- When they give you a task, they'll say that it's "not urgent", but, they just "need it by tomorrow"
- You have to be a "mind-reader" because if something goes wrong, they don't know how to describe what's going on. Or probably, they're just too lazy being specific. They'll just say, "Hey, I have a problem.", and you will be like "What problem? Your dog is sick? You shit your pants? You lost your faith in God? Fuck what?"
- You don't have a time to "focus", because everyone interrupts you for just about anything related to "technology". Yeah, because you're the IT guy
- You always have learned and applied the latest practices/stacks, but no one gives a fuck
- You will start to re-think your life and devrants make you feel better9 -
Best part of being a dev :
You get to live the stereotype. "She doesn't talk much, she is always on her laptop - coding, always has headphones on. Too much of a geek. Let's not invite her to a party. "
No awkward "Uh , I cant come. " Yay! B-)2 -
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
-
So I have this best friend who is almost 10 years younger than me. (I'm turning 40 this month). He's a full stack web dev, nodejs-god, react-maniac, you name it. He fucking LIVES to code the most amazing shit I have seen to date.
I, on the other hand, am that old, little overweight PHP coder webdev with a shitload of experience in that field (17th year now), also with linux webserver administration and all the JavaScript knowledge I need in m job.
Sitting next to him and doing some fun coding sessions always makes me feel like I am that "slow, fat kid in class"... while he is the coding master.
Sitting at work (marketing agency) where I started as the new webdev 10 months ago, I still feel like the coding guru because even the web 'developers' don't know jack shit yet (coz they never had to).
It's fine, they are learning and want to learn.
All I wanna say that even though one might be seen as a senior dev by some, he might sometimes feel like a junior dev when he's around others.2 -
Waisting some times on codewars.com
~~~~
3 kyu challenge:
Given a string with mathematical operations like this: ‘3+5*7*(10-45)’, compute the result
~~~~~
*Does a quick and easy one liner in python using eval()*
*sees people actually writing some 100 lines parsing the string and calculating using priority of operation*
Poor them...
(Btw, passed to lvl 4 kyu thx to this)14 -
I just hate how non-developers can easily conclude that we are drug addicts. Just because we talk to ourselves while coding or always seem off/cranky because of the countless sleepless nights. I mean like, please be a bit more considerate. It may seem like it isn't a big deal since it isn't true anyways but it clearly shows that they can't understand our situation.
Try being in the shoes of the misunderstood for a change. You won't like the feeling since all you ever wanted to do was good.5 -
I find coding is the best way to alleviate boredom on a plane.
Not because I enjoy coding that much, but because there are two types of people:
1) Those who know what programming is and who will ALWAYS ask about it interested. (Conversation starter)
2) Those who don't know what it is and just assume you're hacking the plane!4 -
Warning: contains swearwords!
Do you guy's also have coder-"friend" that:
- Always asks how to do things
- ask for code snippets
- steals your fucking code from Anydesk
- steals your passwords while testing
- steals your code from deobfuscated jar
- steals your jar and deobfuscate it
- steals your database to store stolen passphrases
- tries to convince you to build RATs for your users
- tries to convince you to build RATs for his users
- and so on...
??FOR FUCKING REAL THIS ISN'T EVEN ALL THAT HAPPENED TO ME!
HE IS A FUCKING SUCKER CUNT! HE PROMISED ME MULTIPLE TIMES THAT HE DELETED MY PROJECTS AND TELLS ME HE IS STILL USING THEM TO RESEARCH MY CODE FOR HIS CODE!!!
HE FUCKING RECORDED ME WHILE CODING WITH AN API I AM NOT USED TO WHILE I ASK HIM FREQUENTLY BECAUSE I HAVE NO CLUE AND HE THEN SENDS IT TO HIS FRIENDS TO PISS ME OF AND LAUGH ABOUT ME!!
WHAT THE FUCK IS WRONG WITH PEOPLE WHY THE FUCK ARE ASSHOLES LIKE HIM NOT IN FUCKING PSYCHIATRY!
AND I CAN'T GET RID OF HIM BECAUSE I AM TOO FUCKING NICE!!
FOR GODS SAKE PLS LET A LIGHTNING STRIKE HIT HIM IN HIS FUCKING FACE!
AT FUCKING LEAST I GOT SENT AN IMAGE OF HIS ADDRESS SO I WILL SHIT IN A FUCKING BOX AND SEND IT TO THAT CUNT!16 -
The sad story of a coders life in india..
So apparently my friends don't understand the basic concept of "enjoying" coding. This comes from a 1st yr undergrad. Everyone here view coding as some subject or some college course that is done just for the sake of grades. When they get free time, they waste it away smoking up at some filthy old building mocking us coders. Sadly I share a room with such idiots. The problem is that coding is something we love, something we do because our hearts yearn for it, because we are addicted. And because of my useless roommates, I'm losing out on my friggin friends. I swear we coders are always looked down upon way too much. We aren't usual nerds, we just don't believe in wasting our time on tinder or Facebook or smoking pot.10 -
My boyfriend, actually. But I value the human aspect more than the tech genius in fairness. He may be no Linus Torvalds but I don't care and wouldn't change him.
Why him?
He's very kind to less experienced developers and always happy to help them. He teaches them not only how to solve things but how to get un-stuck the next time and what to learn.
His code reviews are inside out, not just a quick scan, he gives a chance to learn and takes one for himself too.
He takes pride in delivering great quality, well thought over code, on time.
He owns his mistakes and isn't afraid to admit when he makes them.
He reads a ton of tech books and always learns something new yet stays humble while discussing things he knows a lot about.
He has a ton of hobbies other than coding which he's good at.
Ah there, yeah whatever I'm a big softie today 😋 he's not on DevRant btw. Also sometimes I want to punch him too, but mainly he's a good guy :)5 -
Everyday, my developer friend keep complaining and talking our manager bad words behind him. So i introduced devRant to him.
Him: what is this?
Me: An app specially designed for developers for sharing their programming life.
Him: *after installed* , how can i add ur account?
Me: you cant add me, bcx everyone don't know each other here. *walk away and continue do coding*
After few days, i realized he always staring at his phone, guess what? Lol3 -
I met some guys who were Computer Engineering students who were studying web platform as a hobby aside from IoT lessons at school, they met me at my school's library coding stuff and I noticed one of them messing around with yum
"Is that Fedora?" I said, because I wasn't familiar what are the package managers of every distro.
"No, it's CentOS" the guy replied, he also noticed I was coding in a cloud IDE, so he was amazed. He asked if he can use C# there, can he share his workspace, etc.He also asked what's my course. I replied " i'm jsut a senior high student". And they were out of words.
after that, I always think that my skills are way ahead of my age. I don't know my brain anymore, but I felt badass3 -
Welp, time to ditch devRant
I don't mind green dots posting the same things over and over (and let's be honest, everyone had some of those complaints when we started coding), but what's been happening lately with spam and bots is just too much.
Thanks for the ride @dfox, it's been good while it lasted. Too bad I never got a dev duck tho, they were always out of stock :(18 -
For a developer 07:23 AM does not always mean early morning, it can also mean super late night coding ;)
-
!rant
Let's take a moment to appreciate interested and enthousiastic non-developers who really want to learn a programming language.
I am studying Medical IT at my college and most of my classmates aren't coming from an IT background.
We're currently working with Java, PHP, JavaScript and some require Node for their semester projects.
Some of my classmates approach me when they're stuck while coding and I try to teach them as much as possible so they understand what they are doing wrong and how to fix it.
I also show them how they can optimise their code step by step and they love it!
As a classmate told me yesterday:
"It's always so much fun working with you. I come up with a small problem, but I end up learning so much more about programming when solving a problem with you. I appreciate that."
It's a mindset I've learned when I was doing my developer apprenticeship back in the day. One of my colleagues told me: "if they want your help because they need a quick fix, tell them to kiss your ass. If you know they've already tried everything they could and ask you specifically because they want to understand what they are doing wrong, they are future developers with great potential, so go teach them."
May the force be with you, my enthousiastic little non-devs ❤️6 -
Honestly? People. For the first two years of my career I worked for an investment bank.. Basically working to make rich people richer. That, plus the technology sucked, made me change what I do.
I now work for a company that, while it doesn't cure cancer, it makes products that my friends use, my family uses, even my 1 year old son uses. And knowing I am making a difference in their life in even just a little way is worth it.
Also now that I have a family and a kid, my priorities have shifted and as much as I love coding, my family and kid will always come first now. Could I be making more at an investment bank where I worked 12 hour shifts every day? Sure. But it's not worth it to me.3 -
I was only seventeen back then and I was a Java Developer Intern, not knowing much about enterprise oriented coding.
The project leader in our dev team saw a lot of potential and passion in my work, but was convinced I wasn't taught enough to do the right thing.
I was mainly doing shitty mappers and services back then, which were somewhat used but never lasted long and were ditched a few months later, which always bummed me out. I wanted to make an impact on REAL projects that would deploy into production.
So Mister Mentor (GDPR forbid to use the actual name), who was always first to come and last to leave the office, taught me what it means to code for real.
We stayed after 5pm until 7-8pm multiple times a week and he taught me in a deeply understanding and calm way how to:
- Git (SVN)
- Refactor
- SOA
- Annotate
- Deploy
- Unit Test
And most importantly:
- How to debug like an absolute BOSS
(We even debugged native Java Libraries just for fun to see if we could break them)
Fast-forward a month later and little intern me made his first commit on production.
Without Mister Mentor, I wouldn't be half as good of a developer as I am today.3 -
Started testing out the concept of a new application I'm developing (nothing special)
I always seem to play games instead of coding, so I'm developing a trainer which monitors for any open games and checks whether I have coded enough in a day to play games.
If I haven't coded for long enough, it will force close the game and warn me.
Further development to happen.27 -
I’ve pretty bad ADHD (diagnosed) my entire adult life, so focus has been a huge struggle for me forever. Here’s my strategy:
- Noise-canceling headphones blasting chiptunes (Spotify has some, but YouTube has the best selection of old-school video game music) I’m usually way less distracted if I listen to music without lyrics.
- A chair cushion (I actually use one of those ridiculous donut ones, but I put a normal sized pillowcase on it. SO comfortable, even after many hours.)
- THE POMODORO METHOD. 25 minutes hardcore coding/debugging, followed by 5 minute intervals for breaks, like checking fb, etc. (Breaks are totally optional if you’re in the zone tho 💪) It’s a great way to reward your brain for focusing.
- And if all else fails, the looming threat of unemployment is always there to keep you motivated 🙃 (Sad but true— always crosses my mind when I’m starting to fall behind on a task)2 -
I had a mate in college in my programming class who always worked in Microsoft Excel. Even when we're writing code in class, dude will be in Excel. Everyone who partnered with him including me in programming projects complained that he's always in Excel instead of coding. But somehow, dude always had the work done whenever the Prof asked to submit them.8
-
I don't always listen to music while coding, but when I do, it's because things are absolutely unmitigably fucked and it's going to take some herculean effort to unfuck it.
I have this thing I've done for more years than my kids have been alive when shit really hits the fan and I need to show the staff the old lady can still lay waste.
Step 1: put on "the playlist," which consists of only the most aggressive 90s marilyn manson songs.*
Step 2: put on the headphones, which are noise cancelling and super bassy
Step 3: pound a monster (blue, obv)
Step 4: get super manic
Step 5: get in the zone and destroy several features or a flotilla of bugs in a single night
Step N: make absolute fucking magic
Step N+1: call in sick the next day and sleep til noon
What's your hero process?
*Content has less to do with it than the headspace I've come to associate with it and the fact I can't get drowsy with the constant aggression.rant excessive force is probably the answer violence when all else fails rage burnout fuel top of the mountain ballmer peak13 -
I did a 3 years study in computer science.
I got an intern that is on her last year of a 5 years study in computer science too.
So we have the same age, just that I have more practical experiences than her and she have more theoretical baggage than me.
We are discussing on the design of what she will do over her internship and while I'm talking about some JSON modelling she interrupt me to say something like "so this tuple is meaning..." talking about a JSON object. I didn't get what she was talking about (I never did python and didn't learn much about mathematical theorems during my study) so I asked her: "What is a tuple?".. She looked at me with dead eyes saying "what!? you don't know this ?!!" Like I was the dumbest man on earth. Fortunately our PM which is also a coding guy was sitting next to us and explained to me that by saying "tuple" she meant a "JSON object" and to her that it IS normal if I do not know what a tuple is, first because of my studies, 2nd because my job is to be an Android Dev and that I do not need to know this to do my job. He added that by the way I'm doing well my job and that if I wasn't there to help her on her code she would never succeed her internship.
I'm glad my PM intervene but fuck those who always think they know everything better than others without questioning themselves before !12 -
Yesterday we started coding with my eldest son, with some board game (based in scratch), and it was so fucking amazing! I'm partial, but he's a fucking code genius!!!
In the game, the child "code" some functionality with cards and the adult (me) compute them 'doing the actions'.
I'm so fucking proud!!! Well, I'm always proud of my children, and there the English language doesn't convey very well my thinking as the verb to be doesn't differentiate the intrinsic state of a subject and a passing state:
SOY TAN ORGULLOSO DE MIS HIJOS!11 -
Ok. Yesterday I finished building my compiler I have to say: it was a pretty darn big thing with 7000 Lines of code.
I did it alone and with almost no help.
I wanted to give some advice in case someone wants to program a compiler. I knaw its useless in times of lex and yacc, but anyway.
-have a good idea for the language
-learn about parser/lexer
-learn assembler
-do it like me: output the assembler to a file and let it assemble/link by the linux standart-tools (call the commands)
-Have fun. Fun is essential in coding
I hope I was able to help people who want to build a compiler alone... Yau can always ask questions ;~)
-3 -
!Story
So I Met this kid (11 or 12) when I was younger
15or so
And he asked me what I wanted to become I said:
Programmer...
He was AMAZED by this job and INSTANTLY wanted to become one too...
So I showed him the Basis of programming with Scratch for EDU, he was pretty good and Made some "good" Games.
Then I wanted to work on my little unity Game...
So I started to Programm on my surface pro 4
He looked at me and asked:
What are you Doing? What is this?
I explained that coding isn't always Scratch and that there are MANY ways to code,
Some are like Scratch and other arent...
He FREAKED THE HELL OUT!
And was Like:
I WANTED TO LEARN CODING NOT SOME OTHER BULLSHIT LIKE SCRATCH!
I WANT TO BECOME LIK,E YOU!
We never met again...7 -
My cat's always with me while coding.
It's nice, he's cute.
Then he decides to wake up, and to walk on my keyboard to go away.
Code looks like hcozpxucksl,,lOs', thanks man.
Not a big deal but I wanted to share my desperation with you, thanks for the listen12 -
TL;DR
A "friend" is a tech fraud. Faking his resume as a software engineer! Only interested on the salary. This is unfair to all of us putting the hours of effort/practice just to improve our craft! 😠😤
I have a "friend" who is faking his resume, putting fake experiences and putting jargons not even related to tech just to make himself smart. He's using his customer service rep experience to talk confidently. His resume fcking long, 3 pages of fakery. I can't help, but to laugh when he sent it to me.
He has a tech degree, but worked in a BPO industry for 4 years, then recently, he quit. He got jealous with the lucrative software development industry and he wants to relearn coding, as a friend and I like sharing my knowledge, I agreed to guide him in the process.
After 3 moths, he got his first job, but unfortunately he got fired after two weeks because he commited sensitive data to the remote repo.
Then after a month, he got his second job and worked there for 6 months, he still don't know what his doing and always ask me solutions when he is stuck.
He got his 3rd job, remote work with high compensation. Fast forward after 3 months, he only got 1 month of salary, the other 2 wasn't given for unknown reason, my best guess is the company noticed his experience on paper does not match on real life.
Currently, he's working on another remote work with same compensation as before, and he still asks me super simple questions from time to time.
This is so unfair to all the devs who truly deserves the opportunity.20 -
Okay so here are a few lessons that I have learned from being an intern to a junior developer (who’s just 2 years out of college).
- every ninja engineer starts off as a noob. There’s nothing to be ashamed of if you don’t know “everything” about coding
- Respect everyone’s opinion (including the one that shouts your design is crap in a meeting). Don’t process them too much.
- leave things that happen at work, in the workplace
- Keep yourself up to date even after you’ve bagged the 100,000$ offer. Never.stop.learning.
- Be polite to your interns (been there). They look up to you and treat their juniors the way you treat them.
- Be honest. Including your tiny scrum updates. If you need more time, tell it. If you’ve screwed up something , own it up.
- Never blame or point fingers.
- Nothing is irreversible.(except things like sudo rm -rf/)
- There’s always a way out(of any mess).
- Respect what came before.
- Respect what comes after (before you push badly written code)
- It’s ok to point out mistakes but Be kind. (Else you’ll end up in someone else’s rant ;-) )3 -
When I define a function which is supposed to return something (for example int), I always write 'return 0;' after I wrote the signature of it to avoid the red error-marker. It drives me crazy... After I finished coding I replace the 'return 0;' with what I actually wanted to return.5
-
Worst: The guy gave me 5 minutes to code a given assignment on paper. I did all the logic and told him I was missing a function whose name I would just Google. He told me I can't always Google. Well... I won't be coding on paper either.
Best: I was given the assignment to clone a part of a production site. Assignment was intended for 3 days and I was given 5 hours. Completition wasn't important, only structure and coding style counted. I cloned everything and even added new features.
You just can't always be in the zone. I hope more interviewers would take that into account and design better questions.4 -
Worst part of being a dev?
THERE'S A NEW FREAKIN FRAMEWORK EVERYDAY.
Where are we supposed to get time to learn everything the job applications require? And even worst, have 2 years of experience with the thing?
And how about when developing a responsive dynamic website? If you are crazy, like me, and you are the kind of dev that always wants to deliver something great, customized to the needs of your client, and that doesn't smell bootstrappy, you probably can't stand too when people ask you about time guesstimates. Especially when you are the ONLY DEV in your company.
Also, our gear is EXPENSIVE.
Sorry, I guess I'm stressed... Had to bring some work home, due to the bosses deciding to deliver a project one week early to the client, without consulting me first.
Still, luckily for me, all this bullshit can't take my love of coding away.3 -
I never had problems with punctuation marks during coding, especially the notorious semicolons because I've always used an IDE, ain't gotta time to waste on compiler errors.
But today I meet my nemesis, a fucking comma wasted an hour of my precious time, causing my unit tests to fail in Python, my unit tests where expecting a list and the actual value is a tuple, it turned out that there was this trailing comma - which I don't know where the hell it came from - at the end of a function call that returns a list.
I only noticed this freaking comma after Pycharm indicated a conflict between the returned type and the expected type and underlined the culprit, that small invisible fucker 😬.
Thank you Pycharm and type hints in Python 3.
this is why, my fellow devs, you have to use an IDE.
PS: For those of you who aren't familiar with python, a trailing comma at end of a variable turns it into a one element tuple.
1, = (1,)1 -
Me always:
*starts coding in C/C++*
*M so gonna use raw pointers... Raw pointers ftw!*
*Spends 2 hours to code*
*Spends next 4-6 hrs trying to find why it is crashing/giving segmentation fault*
*Finally finds the solution and feels like winning a boss in Dark souls*
*Totally worth using raw pointers* 😎😎😂😂3 -
While coding, I always listen to music. After a while, if I skip a song I know it's time for a break. The flow has been interrupted2
-
Do coding outside of work. I got into the industry because I enjoy writing code, but your job won't always be fun. That's why they give you money. Make sure that spark of joy doesn't die.
Or, when it does die, at least you'll have something to rant about.3 -
I have that one friend, every time he ask what I am doing and I tell him I am coding, he tells me that he wants to programme too but has no idea how to start.
I always tell him to Duck duck go start programming python/java but he never does...
(I think I somehow created an infinite loop)16 -
Let's have some puntastic cheesy coding pickup lines in the comments 🌝 " are you github ? I've always wanted to commit to you " that's my take .. ( and I know it's bad ) let the creativity flow :)15
-
So we're working on a few initial apps for a hackercamp and finetuning the OS. We've been coding for like 17-18 hours trying to finish this off without a day 1 patch on the event itself, when someone starts swearing like a sailor. We walk past him take a look at his code and see that he's started an array at 3 instead of 0. He's one of the more experienced members on the team so this is a lack of sleep bug rather than a not knowing. To this day whenever someone makes an array error in their code someone always shouts "Arrays start at 3 right"!
Maybe not the most satisfying bugs but man is it funny as hell. -
I remember when an aunt met with me and I advised her to get a PC for her son.
he is just 7 years but he always wants to visit me everyday just to use my PC. even when I started using linux he still managed to find his way around. really smart for someone who didn't have a PC. I even found some Google search history of him Google weird instructions and errors and whatnot. since I wouldn't always be around since i was always travelling.
I put the PC together with the huge budget she gave me. it was waaaaay better than mine with all that rgb shit. I loaded it up with all that programming, softwares, ebooks and videos and games I could find. few weeks later he stopped calling me(usually he'd call me to know if I was at home), i felt lonely for a while before i moved out and i felt like i did the right thing. I felt like jesus, lol
at least if I dont get to become a pro at coding I know I did everything and helped him start early7 -
!rant
Trust no one.
The internet is not your friend, until you find stackoverflow and you get down voted.
That rm -rf / won't make you server faster.
System32 is needed.
Yes, that is a package manager, you don't need to write more ccode
Do not write commets on languages that only you speak, the team does not speak in latin.
Paint is the best engineering tool.
Keep a stress ball nearby.
Your client is always right, unless they mess with your coding skills.
True story.2 -
As a 16 year old, the hardest problem I've always encountered is trying to explain to people that coding as actually more complex than just typing random words.7
-
Reasons 1 and 2 arent that important to me. The main reason I code is #3.
1) Brain exercise. I always feel sharp after a coding session, even if it ended in disaster.
2) Lots to do! There's never a full day in code. Make your own universe, if you so desire.
3) Pride. I have a pride problem. I never felt proud of myself no matter what I do. I graduated with a melancholy feeling, same deal when getting my license, same deal when passing a test (God, glad that's over!)... But code makes me proud. I love what I make. I want to show everyone. I want to show it to everyone before it's even finished because I just can't wait. I want everyone to use it and to love it. Because I sure do, and it's the best thing ever.
I could make a viral video, produce a triple platinum record, or build a billion dollar business and still not feel the same level of genuine satisfaction and happiness that I may get from writing good code.
It always keeps me coming back. -
I messed up carelessly in production. Learnt how SQL queries bite you in the ass when it knows you are under pressure.
Was hosting an online quiz kinda thing during my college techfest. Tens of thousands of people participating.
Using MySQL as database and thousands of queries were being executed. Everyone were pretty excited as the event just opened up.
None of the teams could solve one particular level. Turns out the solution was wrong and was asked by the organisers to change the solution for that particular level. Usual stuff, right?
Was too lazy to open up the web UI for the back office and so, straight ahead logged in to the MySQL server and ran the UPDATE query on the table consisting of the solutions.
It had been a couple of hours and the organisers came to me with a weird problem. There were no changes in the scoreboard for the last two hours. Everyone were stuck wherever they were. Weird, right?
I then realized.
Fk.
In that dreaded query, I had only run
UPDATE 'qa' SET answer = 'something'
leaving out the where clause, specifying the question to update, like
WHERE qno=13
As a result, solutions to all the questions were updated to the same answer. After hastily fixing everything back, I had the dreaded conversation.
Org: What was the problem?
Me: It was the cache.
Org: Damn thing. Always messes up.
Me: *sheepishly* yeah
Probably the most embarrassing moment in my life, wrt coding 😑4 -
!rant
For the past two years I've always wanted to make Programming tutorial videos to help others learn to code while fueling my passion for coding, discovery, and teaching..... and after two years I've finally uploaded my first two videos to YouTube.
I want to cover fun and exciting topics such as how to make custom plugins, create your own linux web server, and more... but decided to do a web basics 101 as my "Hello World" videos to get better in making content and production.
The inspiration for my "Web 101" comes from have a lot of my senior year CS classmates who have never seen HTML/CSS code before and wanting to provide them a source to get the basics all in one place.
I have a lofty goal of getting 10 subscribers by the end of the month. If you wouldn't mind giving me some pinpointers or comments I'd greatly appreciate it!
Also I did buy a new microphone so the sound quality between video one and two should be better!
https://youtube.com/channel/...12 -
*One day at office sitting at my desk coding in front of a window with a refreshing breathe of fresh air coming from it, and a decent view of trees in front of the building*
CEO: would you like to be sitting together with the other dev?
Me: that would be awesome!
- next day -
*come to work to see my stuff has been moved over next to the always open door, with clear view of the lobby, prone to all kinds of nonstop distractions, and psychologically lethal ambiance*
ceo: YOU TWO ARE SITTING TOGETHER NOW, AREN'T YOU PSYCHED??
me: WELL CANT SAY PSYCHED, BUT A PSYCHO SOON HAHAHA >fucking asshole<4 -
If you are completely new to coding, no problem at all! All of the concepts are fully explained throughout the exploration. Just keep in mind that it might be tough and frustrating and times. But don't give up! Coding isn't always easy, but it sure is fun when you get it right.
-
The great thing about coding is, every problem can be solved with logic. And the simplest solution is often the best one.
Often when I don't know what to do, I just keep thinking about what I want to have and break down what I need for that and in the end I always come to a good solution. And it gets easier from time to time. -
!Rant
Story, only read this if you feel like wasting your time
Ok so I live in a small village and it takes around 15 minutes to get to the next city by car. I can't drive yet because I am 15 and so I would need my parents to drive me there. There are also no buses anymore which drive to the city after 2pm.
Most of my friends live in that city, none of them code. We always meet on a discord server and then play games or do some other shit. Today I got online at around 3pm and when I joined the discord server they asked me if I wanted to go see the movie 'IT' with them tonight, I said yeah of course (I am a huge fan of horror movies), but only if my parents come home early enough to drive me there.
Time passed and then my last friend left the discord server because he had to walk to the cinema.
I was the last one still on the server and also the one with the farest way to the cinema. I already knew that my parents wouldn't come home in time anymore and so I decided to just start coding something. I usually code while listening to some music and so I switched over to spotify to choose a playlist. I just randomly clicked on the first playlist spotify recommended me and the song started playing: 'Sound of silence'.
Fuck you spotify algorithm.
I know that not being able to go to the cinema with your friends is a fucking stupid reason to be sad but I just feel very sad right now. Sitting alone in my dark room staring at my computer screen.
Sorry for wasting your time18 -
Coding-related ads are always entertaining. They nearly always contain easily spotted nonsense and error-filled code. Not even sure where to start with this one...9
-
Why am I such an average ?
It's just a sad realisation. Nobody cares but I wanna send this out there, just to write thoughts.. I am 18 in 3rd year of high school (grammar school so nothing IT related, basically waste of time) and in IT I'm all self taught but I feel like I could be better if I just didn't [something]..
I feel like I wanna learn so many things but when I look at you, it seems like a common problem in the IT sphere so hey, average guy joining the club.
I also feel dumb when programming. I didn't manage to learn C++ in it's entirety because to really accomplish something, you've got so many ways to do it and finding the best one requires deep understanding of the tools you've got at your disposal with the language and I feel like I'm not capable of this(self learn, in school/Uni that's different story).. But many (most) of you are. I've tried many coding challenges and when I got it working, I just saw how someone did it in one line just by layering functions that I've never heard of..
Also, we've got kinda specific national competition here in many fields including IT for high schools.. And the winners always do sometimes like "AI driven Life simulation" or "Self flying drone made from ATMega from scratch with 3D simulation in C# to it" or "Game engine" or whatever shit and it's always from grammar schools and never IT related schools.. They are like me. Maybe someone helped them, I don't know, but they are just so far away from me while I'm here struggling to get the basic level of math for any kind of machine learning..
Yeah I've written Neural Network from scratch in C but meh, honestly it's pretty basic stuff .. I'd rather understand derivatives which we're going to learn next year and I'm too lazy to learn it from khan academy because I always learn something else.. Like processing (actually codetrain started teaching tensorflow so that might be the light for me...) Or VHDL (guys you can create your own chip / CPU from scratch and it's not even hard and OMFG it's so fucking cool , full adder done yay) or RPi or commodore 64 assembly or game development with Godot and just meh..
I mean, this sounds exactly like not knowing what to do and doing nothing in the end. That was me like 6-12 months ago. Now I'm managing to pick 2-3 things and focus them and actually feel the progress.
But I lost track of the original point.. I didn't do anything special, every time I'm programming something, everyone does it better and I feel dumb. I will probably never do anything special, everyone around says "He's still learning he's genius" but they have no idea.
I mean, have you seen one of the newest videos on Google's YouTube channel (I openly hate them, but I will keep that away for now), something like "Sarah story" ? It's about girl that apparently didn't care about IT but self learned tensorflow on high school. I think it may be bullshit (like ALL of their videos ) but it's probably just fancied, not complete lie.
And again, here I am. I now C but I'm incapable of learning to program good which most of you did and are now doing for living. I'm incapable to do anything cool, just understanding what everybody else did and replicating it. I'm incapable of being clever.
Sorry, just misusing devrant to vent a bit17 -
Meetings... They say coding is 70% thinking and well.. I find meetings to be a great place to think about what am currently working on. I go in with a sketch book and sketch away. I always figure out whatever is bugging me by the end of the meeting. After all the PM will send a summary of whatever I may have missed during the meeting
-
Today I finished my robotics project. I had in my team a total idiot (the one who used the hidden divs, some might remember from another rant). I wanted to share with you the beginning of a ranting adventure.
Me: "you can begin with a simple task. I will send you the obstacle avoidance sensors values from Arduino, and you will send the data for the Arduino motors to dodge the obstacle".
The sensors give 1 if clear, 0 if obstacle is detected.
Below is his code (which I brutally rewrote in front of him).
Now, in the final version of the robot we have something like 9 sensors of the same time to work with.
Imagine what would have happened if we kept him coding. (Guess it: 2^9 statements! :D)
I was not that evil, I tried to give him some chances to prove himself willing to improve. None of them were used rightfully.
I'm so fucking glad we finished. I'm not gonna see him anymore, even if I'd like to be a technical interviewer for hiring just to demolish him.
I'm not always that evil, I promise (?)
Ps. He didn't even have any idea on what JSON is, even if we had already seen it during FIVE YEARS of computer engineering. (And should've known anyway if he had a bit of curiosity for the stuff he "studies")10 -
I’m tired of all these profane “frontend developers” who do nothing but get cheap internet points by shitting on web technologies.
Bitch, NPM is just a package manager. That’s what it is. Anyone who ever used a package manager already knows how to use NPM.
Here on devrant, there at your workplace, people hear nothing but bitching when you open your mouth. You always need a “solid task description” and “best practices”. You always need somebody else to do your job for you. Frontend is the area where you have to constantly switch between heavy, performance-oriented coding, UX and graphic design while remaining in a dynamic environment that is called “web”, no wonder why you can’t do that. Instead of bitching, you could just present your own solution you designed with just a little bit of product-oriented thinking. But noooo, you fucking bother designers whenever you’re not sure about “how many pixels is that padding”.
You can only be barely productive (and only with a frozen spec) but can never take the lead just once.
In the 80s your kind of approaches were doubted, by the 90s they were dead. In 2020s they’re straight up laughable.
And don’t get me started on CSS. You have to be an absolute buffoon of a developer to not know how to use a DECLARATIVE tool that don’t even require real structural thinking.
No wonder why you praise php. You throw shit all over the place and tell everybody that you’re a “sociopath” and you don’t need that “stupid frontend” and “stupid users”. But you know what? Any real backend or embedded dev would’ve laughed at your face.
Because backend developers are respected.
You’re not.10 -
Languages like python and R are some-what high level languages, with an easy syntax and very readable code. This useful essentially to make it easier for non-programmers to use it. For me as a software developer with +4 years of professional programming. I started with Assembly, Quick-Basic to C++, Java then C#, I found Python super convenient, and at times way too convenient.
At first it felt like I was cheating, and would not consider myself actually writing code, more like pseudo-coding.
After a year or so, I got used to it and it became my default, but it still does not feel right .. is anyone else feeling the same?
I do believe that coding the hard way is not always the right way, but I am just wired that way.17 -
When i worked for a large, international bank (whose name rhymes with shitty), I always had to use the following formula to estimate projects.
1. Take estimate of actual work
2. Multiply by 2 to cover project manager status reports
3. Multiply by 4 to cover time spent in useless meetings.
4. Multiply by 2 to cover user support and bug fix tasks.
5. Multiply by 2 to cover my team lead tasks.
6. Multiply by 3 to cover useless paperwork and obtaining idiotic necessary approvals to do anything
7. Finally, multiply by 3.14159 to cover all the other stupid shit that the idiots that run that company come up with.
It's only a slight exaggeration. Tasks that required less than a day of actual coding would routinely require two weeks to accomplish and get implemented.6 -
Well, I was Always into Computers and Games and stuff and at some point, I started wondering: "why does Computer Go brrr when I Hit this Button?".
It was WinAPI C++ and I was amazed by the tons of work the programmers must have put into all this.
13 year old me was Like: "I can make a Game, cant be too hard."
It was hard.
Turns out I grabbed a Unity Version and tried Things, followed a tutorial and Made a funny jet Fighter Game (which I sadly lost).
Then an article got me into checking out Linux based systems and pentesting.
*Promptly Burns persistent Kali Live to USB Stick"
"Wow zhis koohl".
Had Lots of fun with Metasploit.
Years pass and I wrap my head around Javascript, Node, HTML and CSS, I tried making a Website, worked Out to some extent.
More years pass, we annoy our teacher so long until he opens up an arduino course at school.
He does.
We built weather stations with an ESP32 and C++ via Arduino Software, literally build 3 quadrocopter drones with remote Control and RGB lighting.
Then, Cherry on the top of everything, we win the drone flying Contest everyone gets some nice stuff.
A couple weeks later my class teacher requests me and two of my friends to come along on one of their annual teacher meetings where there are a bunch of teachers from other schools and where they discuss new technology and stuff.
We are allowed to present 3D printing, some of our past programming and some of the tech we've built.
Teachers were amazed, I had huge amounts of fun answering their questions and explaining stuff to them.
Finally done with Realschulabschluss (Middle-grade-graduation) and High school Starts.
It's great, we finally have actual CS lessons, we lesen Java now.
It's fuckton of fun and I ace all of it.
Probably the best grades I ever had in any class.
Then, in my free time, I started writing some simple programs, firstvI extended our crappy Greenfoot Marsrover Project and gave it procedural Landscape Generation (sort of), added a Power system, reactors, Iron and uranium or, refineries, all kinds of cool stuff.
After teaching myself more Java, I start making some actual projects such as "Ranchu's bag of useful and not so useful stuff", namely my OnyxLib library on my GitHub.
More time passes, more Projects are finished, I get addicted to coding, literally.
My days were literally Eat, Code, sleep, repeat.
After breaking that unhealthy cycle I fixed it with Long Breaks and Others activities in between.
In conclusion I Always wanted to know what goes on beneath the beautiful front end of the computer, found out, and it was the most amazing thing ever.
I always had constant fun while coding (except for when you don't have fun) and really enjoyed it at most times.
I Just really love it.
About a year back now I noticed that I was really quite good at what I was doing and I wanted to continue learning and using my programming.
That's when I knew that shit was made for me.
...fuck that's a long read.5 -
Hi guys! This is my first rant, please be easy on me.
This is for all who always rant about how horible old codes on existing systems are, compared to what new tech they knew and how better they are as programmers compared to the seniors in the team and how they could have done it better... im getting an impression that it's either your a newbie on a corporate world or a freelancer that has not worked well with a system whos been there for ages... first, most of us devs thinks that they can do better than the previous ones, it is a never ending curse for us proud race but as time goes we would also regret our decision..2nd: cost.. migrating a battle-tested / fully functional system to a new tech would take time and money including training, which the management wont agree unless of course you do it for free.. 3rd: standards.. the company has built a pretty solid standards that changing to a new tech would affect it..there are so many more reasons that the only thing we can do is accept our fate.. coding is fun until the system grows to become an abomination that even its creator regret doing it... it's not our fault, blame the marketting guys! :D
Thank you for reading!12 -
Not about favorite language but about why PHP is not my favorite language.
I recently launched a web shop built on Prestashop. I found that some product pages are so god damn slow, like taking 50 fuckin' seconds to load. So I started investigating and analyzing the problem. Turns out that for some products we have so many different combinations that it results in a cartesian product totalling about 75K of unique combinations.
Prestashop did a real bad job coding the product controller because for every combination they fetch additional data. So that results in 75K queries being executed for just 1 product detail page. Crazy, even more when you know that the query that loads all these combinations, before iterating through them, takes 7 fuckin' seconds to execute on my dev machine which is a very very fast high end machine.
That said I analyzed the query and now I broke the query down into 3 smaller queries that execute in a much faster 400 ms (in total!) fetching the exact same data.
So what does this have to do with PHP? As PHP is also OO why the fuck would you always put stuff in these god damn associative arrays, that in turn contain associative arrays that contain more arrays containing even more arrays of arrays.
Yes I could do the same in C# and other languages as well but I have never ever encountered that in other languages but always seem to find this in PHP. That's why I hate PHP. Not because of the language but all those fucking retarded assholes putting everything in arrays. Nothing OO about that.2 -
I dont have a rubber duckie, nor a stress ball... but these two terriers are always by my side when coding ❤3
-
So I'm sitting down coding at home, trying to work out some problems when I hear the Doorbell ring. Obviously I shouldn't ignore it so I go to answer it.
Its the fucking FedEx delivery guy, he ALWAYS rings the doorbell, waits a solid 2 seconds after ringing then leaves. By the time I am about to answer the door he is already walking away.
HE ALWAYS FUCKING DOES THIS, in the end I'm thrown off my rhythm for nothing to go answer a door where the person ringing doesn't even have the decency to wait a few extra seconds to see if anyone comes.
This has happened to me several times now, he rings the door for no damn reason, i come running over and he is already gone.
So bloody frustrating.10 -
My family doesn't understand the pain of being a computer engineer and always disturb me when I'm coding infront of them.
Hence I joined devrant.2 -
iOS dev here
Just wanted to share my experience on updating Xcode and why I schedule 3 hours for this process.
So, updating Xcode via the AppStore has always been flaky at best and ofcouse Xcode needs to be closed first. You hit update, the button turns gray, half an hour in you still see no progress...
That's why I often just download it from the dev center. But since Xcode Ghost the app is also wrapped in a signed container.
So,
Downloading: 10 minutes
Expaning: 60 minutes!!!
After that I move the app in place and fire it up, always have to close my music player first grrr...
After that Gate Keeper verifies the app for another 60 minutes.
Finally Xcode comes to live.
Only need to install new command line tools for another few minutes and I can continue coding.
Wait. Half my day is over!
Why Apple? Why?
#wk242 -
My life in a nutshell
⛅ morning = sleep 😴
☀️ day = coding job 🖥️
🌆 evening = coding job 🖥️
🌘 night = play videogames 🕹️
Weekend
⛅ morning = sleep 😴
☀️ day = sleep 😴
🌆 evening = cycling 🚲
🌘 night = play videogames 🎮
always alone11 -
The more I learn about programming the more terrified I become about having huge knowledge gaps and learning something wrong by possibly making wrong assumptions about how certain things work or by falling on bad tutorials. I'm constantly hyped about coding, and at the same time I always feel I will never be able to say confidently "I know how to code".
How the hell do you make sure you are learning programming correctly as a self taught? Or do i just have to accept that no matter how and what I code there will always be a better way to do it, resulting in me constantly feeling as a low-skilled coder?3 -
Hi.. Recently I began my career in IT firm but my work doesn't involve coding.
But I really aspire to become an programmer. I have been always searching playstore for apps related to programming.
Google play suggested me devRant. I installed it and found that it is the right place for me.
I hope you guys will be helpful and kind.
Thanks Guys !!!5 -
Apart from having a baby which is the hardest in the world,i think the hardest project is to learn to code.
I studied philosophy and anthropology but gamed a lot. Me and a good mate decided to work together and he told me hed teach me coding.
The guy is a genius but he is a reckless rebel genius who tells everybody to fuck off.
So,after 1 year in a half of intense coding where i had to learn linux, networks, and im not shitting you html and css as well and of course javascript.
He has now put me on, for the last 2 month, in charge of our front end backoffice. I have to design forms that do the right http requests,do the unit testing, play with redux-form, react-redux and he has thrown me into the basic java backend so i can begin working with entites and how i serve the data and link it to the database and even create tables.
Every time i fail hemakes me remake everything.
I actually came on devrant to study the dev community (i always gamed a lot but this is a whole different community). The dev community is pretty awesome and unique.
Anyhow, i remember when i saw him as me to complete an exercise and i didnt event know which words were the reserved language ones and those i could use myself. It was like fucking magic.3 -
Dark-themed IDE + back-lit keyboard + coffee + headphones = best coding environment ^_^
Though there's always that one asshole who decides to talk to you Only when you're in the zone.7 -
So, I'm stuck...
I'm very passionate about technology. Coding and development and soldering together some raspberry pi or arduino project gets me all swept up in a false sense of belonging & sense of purpose. It's just always been my biggest passion...
As well as it has simultaneously been an elusive dream, driven away by circumstances and some pretty shitty decision making on my end... But, it's always a recurring theme and source of illumination through some dark moments... Abandonment of my dreams isn't an option.... I spent 10+ years on heroin and somehow still have the ability to dredge up some hope, surely I can finally get my foot/hand/ball sack in the door of my dreams... right??
Anyways, to sum up my ability in regard to technology/coding etc.... I'm a highly motivated and passionate Beginner-intermediate level tech enthusiast with a little html, css, Java, markdown/git know how, advanced soldering/PC building ability... With a high need to remain studious and get my ass balls deep in some computuh' learnin' circles.
In all seriousness, I really would like to be graciously provided with some communities and groups of folks that would assist me upon my path, and possibly ways I could slide into some sort of tech based career/job while amassing my IT abilities.
I am willing, but incapable of starting off in the right direction & in need of some guidance to firmly trod on towards my goals...
PS: I'm totally not a 32 year old man desperately in need of some guidance and reassurance... cause that'd make me some kinda loser or something... pfffft... I won't be 32 until 06/08.... so all is well and good 👍
Thanks in advance peeps. Later!17 -
Lessons I've learnt so far on programming
-- Your best written code today can be your worst tomorrow (Focus more on optimisation than style).
-- Having zero knowledge of a language then watching video tutorials is like purchasing an arsenal before knowing what a gun is (Read the docs instead).
-- It's works on my machine! Yes, because you built on Lenovo G-force but never considered the testers running on Intel Pentium 0.001 (Always consider low end devices).
-- "Programming" is you telling a story and without adding "comments" you just wrote a whole novel having no punctuation marks (Always add comments, you will thank yourself later for it I promise).
-- In programming there is nothing like "done"! You only have "in progress" or "abandoned" (Deploy progressively).
-- If at this point you still don't know how to make an asynchronous call in your favourite language, then you are still a rookie! take that from me. (Asynchronous operation is a key feature in programming that every coder should know).
-- If it's more than two conditions use "Switch... case" else stick with "If... else" (Readability should never be under-rated).
-- Code editors can MAKE YOU and BREAK YOU. They have great impact on your coding style and delivery time (Choose editors wisely).
-- Always resist the temptation of writing the whole project from scratch unless needs be (Favor patching to re-creation).
-- Helper methods reduces code redundancy by a large chunk (Always have a class in your project with helper methods).
-- There is something called git (Always make backups).
-- If you don't feel the soothing joy that comes in fixing a bug then "programming" is a no-no (Coding is fun only when it works).
-- Get angry with the bugs not the testers they're only noble messengers (Bugs are your true enemy).
-- You would learn more than a lot reading the codes of others and I mean a lot! (Code review promotes optimisation and let's you know when you are writing macaroni).
-- If you can do it without a framework you have yourself a big fat plus (Frameworks make you entirely dependent).
-- Treat your code like your pet, stop taking care of it and it dies! (Codes are fragile and needs regular updates to stay relevant).
Programming is nothing but fun and I've learnt that a long time ago.6 -
This is the first time I have inherited a project. ever. I have always seen people on devrat ranting about inherited projects. Never had I experienced it.
Now, the design agency that hired me would outsource web projects to developers before hiring me. I was recommended to them.
Now then. Today I was tasked to fix a couple of issues a previous outsourced developer had abandoned. I had a look at the issues and started fixing them one after the other. Its a wordpress project. Coding for wordpress is super fucking easy by the way.
You create a default page by going to the admin dashboard.
You can create a custom page by creating a page-PageName.php file. and place all the bullshit you have for the custom page IN THAT FILE.
So this developer who i assumed claimed to be a professional. PASTED ALL THE FUCKING HTML IN THE WYSIWYG TEXTBOX. WHO THE FUCK EVEN DOES THAT?
THIS WAS A FUCKING SIMPLE TASK. THIS ASSHOLE CREATED A CUSTOM PAGE CALLED HOMEPAGE AND PASTED THE HTML IN THE TEXTBOX. WHY THE FUCK?! ARE YOU FUCKING CRAZY DUDE? AND OH MY GOD DO YOU NOT KNOW HOW TO WRITE HTML WHAT THE FUCK IS ALL THAT " CRAP. YOU MY FUCKING FRIEND IS THE FUCKING REASON THIS PLATFORM EXISTS. BE PROUD. YOU MADE A DIFFERENCE. YOU CAUSED A PLATFORM TO BE CREATED.
PLEASE DO ME A FAVOR AND NEVER FUCKING TOUCH A COMPUTER EVER AGAIN! YOU ARE NOT WORTH IT.6 -
!rant
Hey all... I have a question...
So, I m really burnt out of coding (C++ guy here)... I have always been learning something but never built anything... I really wanna make some game or something but it jst takes soooo long... M really lacking motivation and m soooo through learning stuff for now...
Please suggest what do i do? (Cant change language... I find all others boring... No offense)12 -
/goes to Codewars to improve coding
/always have to look at solutions
/slowly losing faith in self
/cries7 -
I have just done my manicures yesterday evening. And, it's so nice to look at when you have your nails done from my point of view, especially when coding. So much view and can really boost self esteem, lets you smile, and motivated to work though I don't usually love Mondays because yeah, another manic Monday.
I just so love my manicures today, despite the allergies that I still have, the enhancement code that has not yet been deployed by our ever loving, supreme, Grandmaster turd, let's just name him, John Doe.
P.S. please not be easily removed manicures. For you are the only source of my happiness and my motivation to go to work (because bills is too mainstream and will always be the classy reason also)3 -
I always love it when a manager who has no coding background tells me to "just do this" without ever letting me do any research. Just because you see it in you favorite app does not mean that feature is trivial.1
-
The ground rules for developers: ABC
Always
Be
Coding
// stole this line from my friend Tim -> credits to him! ;p -
New year is the only +1 I do not give a fuck about. All it means is I am one year closer to death, so I will smoke one more cigarette after the last, one more cup of coffee with far too much sugar, and I will keep coding one more line after the other, and frankly it is just to distract me from the fact that there is always another +1, one more person to hate, one more word spoken, all so I can get to through one more year. So fuck the new year because there will always be another. But I won't always get a +1 on a rant.5
-
!rant, but some kind of story
I work as a lead dev on a gmod server of a pretty big german community. With the fun stuff, there come the duty‘s to help Jr. Devs or even help people get into Developing. The part, where you help junior devs is always fun, but what I find interesting is the part where you help people learn coding. It’s not easy work, but you learn more every “lesson”. I catch myself exploring and learning something new, even if I know the topic. For me it’s a new journey every time.
Not sure if there are many people who can relate but I just wanted to tell my side on it.1 -
My biggest distraction at coding are my parents.
I still live in there house and it's really comfy.
But whenever I code the always come into my room with something random like "my phone is not working" or "how can I delete this?"
I love my parents and Im glad that I can help but always get off where I was after 😂7 -
# school suck
! coding
hello, hope im not bothering anyone with my adolescent problems, but im really angry towards school.
first of all,
the subjects get thaught much too slow.
like dafuq, why does our maths teacher need 6h to teach us what square roots are? Why does our history teacher need 10h to teach us about one single revolution???
and worst of all: why is everything accompagnied by long, repetitive, homework?
Also, why do they think that im bad just because i dont have the best grades??? im a GOOD average, without learning a TAD!!!
also, here i am, needing to learn maths for some it project.
when i ask any teacher, he doesnt explain it to me but says "you will learn that in class xy"
ok, then i guess i can teach it myself.
but when i take books into school to read em (remember, i already know the subjects), the teachers always take em from me.
also, im not allowed to talk to anyone. not even when idle.
so currently, i am trying not to get angry from this, tomorrow school starts again. after this year legally, i would be allowed to drop out.
could you please tell me what you would do? should i drop out? change school? change class? im open to reolly anything that possibly could help (my parents arent)35 -
Why do clients always try to use our lingo? They sound stupid. I read a post yesterday that said "no coding necessary. Just HTML and CSS" . Um. What? I also have a client that always tells me "I just need you to make some updates to the CSS with programming" . 😐🔫2
-
This customer's dev is going to be the end of me. I had to explain to him why it doesn't make any sense to return a value after throwing an exception.
In a function that was supposed to insert a record amd return its id, in the error handling code:
catch(Exception ex) {
//logs the exception
throw ex;
return - 999; //this code will NEVER be reached, and why the f.... - 999?
}
The customer wants us to develop the project together, but he won't listen and always write whatever he wants. Some might be differences in taste. Like me preferring
if(condition) {
return a;
}
return b;
And him preferring :
Foo result = null;
if(condition) {
result = a;
} else {
result = b;
}
return result;
Ok, that I can accept. But things like the one I'm ranting about... I wont.
I'm starting to wonder what was he doing during his "9 years of coding experience"10 -
A friend has a small business and asked me if I could make him a small program. So why not, experience for me and I can help a friend out. (This started in ~mid 2016)
Started out as a WPF desktop application with many weird bugs and slow interface, into crashing the database on AWS (could not connect, could not get a backup). It was just hell and I kind of gave up on fixing it.
I always talked to him and said "yeah, I will do something better soon", but I was procrastinating and kept pushing it away from me. Then one day I said "f*ck it - lets go" and started coding on 2.0:
- WebApp with a complete new architecture (which I learned in the past few months)
- User authentication (JWT)
- ASP.NET Core Backend for web api
- Angular 4 Frontend w/ bootstrap
- Coded in like a week with 3-5 hours each day
Deployed around 6 months ago and he never had a complain. When I visited him I asked "how is your application doing?" - "great. it just works!".
My once most hated project turned into the most successful project in just a few months.2 -
I always try to explain the new coding conventions to my team but they think it's funny and should not be taken seriously [facepalm]2
-
Hello DevRant community! It’s been a while, almost 5 years to be exact. The last time I posted here, I was a newbie, grappling with the challenges of a new job in a completely new country. Oh, how time flies!
Fast forward to today, and it’s been quite the journey. The codebase that once seemed like an indecipherable maze is now my playground. The bugs that used to keep me up at night are now my morning coffee puzzles. And the team, oh the team! We’ve moved from awkward nods to inside jokes and shared victories.
But let’s talk about the real hero here - the coffee machine. The unsung hero that has fueled late-night coding sessions and early morning stand-ups. It’s seen more heated debates than the PR comments section. If only it could talk, it would probably write its own rant about the indecisiveness of developers choosing between cappuccino and latte.
And then there are the unforgettable ‘learning opportunities’ - moments like accidentally shutting down the production server or dropping the customer database. Yes, they were panic-inducing crises of apocalyptic proportions at that time, but in hindsight, they were valuable lessons. Lessons about the importance of thorough testing, proper version control, reliable backup systems, and most importantly, owning up to our mistakes.
So here’s to the victories and failures, the bugs and fixes, the refactorings and 'wontfix’s. Here’s to the incredible journey of growth and learning. And most importantly, here’s to this amazing community that’s always been there with advice, sympathy, humor, and support.
Can’t wait to see what the next 5 years bring! 🥂3 -
I have an uncanny ability to--in the middle of coding--open a tab on the browser and type just about anything on the search bar and go on to what I am starting to call a "link binge".
I pretty much bounce around the internet reading about random (not even useful, always) shit and end up wasting hours. -
I've always been pretty tech savvy, but I never actually started coding till January in a beginner programming class. It's been almost a year and I've loved every step of the way :)
-
This is gonna be a long one....
A lesson I learnt the hard way - never go out of your way to help friends with their coding. I helped her always, sat with her on the phone and explained and taught and solved her problems for hourssss while delaying my own work, while losing my sleep, even during pregnancy, I helped somehow as much as was possible even when I was drowning in my own work, even when I’m was not okay myself. But, once in a while I am too full, I also have work, now I also have an infant to take care of as well, and yeah sometimes I CAN be too busy to help!!!!! I have my own life too!! At these times she says “oh you don’t help me anymore”. It’s so annoying seriously What the fuckkkkk and after this shit happened a few times, I expressed my annoyance and she says, oh it was a joke. But then repeated it. And I still feel bad in refusing to help when asked. But lesson learnt that I won’t put myself behind, I’ll help only when I have nothing else to do.1 -
I like coding. I am a professional coder. But I feel I am not very good at it. My colleagues are so creative and fast with their solutions. And here I am, always in awe and never seem to feel like becoming an expert in coding. The thoughts are tiring 😪6
-
The other day I went back to my college representing the company that I work for interviews of Freshers. Since I was taking interviews of my immediate juniors, I knew that every candidate’s major is Computers Applications, and we had sent out a JD ‘specifically’ mentioning that we need Devs, so tech people only.
We interviewed 40 people for first round in total out of which 12 were shortlisted for second round (we made them write some code).
Out of 12, 8 straight up refused to write the code saying they weren’t interested in coding at all (even professionally). Made me boil up so much, someone else, much more deserving and willing could have been in their place and may even have the job. But us humans are always cunts.2 -
Because I didn't start coding until 21 I constantly feel behind, but the pure satisfaction from finally getting something to work or to see a project grow iteratively over time keeps the gears turning. The bad part is I feel like I am constantly stressed because of my feelings of always being inadequate. The thing is I didn't only have to learn how to code but I basically had to start from scratch tech wise. i had a decent acer laptop in high school and basically just web browsed and gamed with it. So needless to say most of my life has been away from a computer. Now I feel at a constant rush to compensate for my ignorance. I have slowly become more introverted because I feel like if I don't work on my skill set everyday I stray further away from making myself marketable; this has caused me to become more irritable and to close myself inside more. I want to make a career doing this and I also have the added pressure of not having a degree, so projects and skills are even more mandatory. I truly love programming to the fullest extend, but not having local friends to express code with and to bounce concepts and ideas off of is torture. But I try to keep my head up and make progress out of the day- if the will is there- so I can land my first job as a developer and actually make a living doing something that brings me a little piece of meaning. So overall there is a tradeoff of having added pressure, stress, anxiety and sometimes depression to build a craft that still has ages to go to reach a stage of maturity.10
-
You may always feel behind. You aren’t alone. Find something you enjoy within coding. Don’t be a hero and pick all the tickets. Pick what you can achieve. Pick a long-term ticket that you can call yours and own it and learn from it.
BE KIND YO YOURSELF.2 -
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from rant import depression as fuck
from WhiskeyBottle import *
import time
while bottle.contents > 0.0 and time.datetime():
fuck.rant()
Yeah ok, this will be one of a few, but I'll try to keep it short. Damn, whiskey is not helping. Nor various smokables.
So yeah, have you ever had a dream? I consider myself a gamer the whole life, always loved creative worlds, dynamics, mechanics, plots, stuff you could and couldn't do. To the point I promised myself I'd make a game - NAH - I'll be making games in the future. You know, good games, that you come back to. Like Doom. Or those porn games.
Never went to Uni or nothing. Was born in a poor European country with Internet more broken than my soul right now. Years later, after acquiring some good hardware, learning a bunch of languages, Unity, Unreal Engine 4 and experimenting for about 10 years now with small scripts, apps and mini-games I've come to this realization.
I only made one "full" "game" in my life, and that was when I was like 16 in Klik & Play (early Game Maker). And it was shit. It was horrible, horrible shit. It literally makes you want to cry when you play it. It's 16-bit brain cancer. And it's the best I've ever published.
Now I've been through countless prototypes, none of which I've developed any further. I had ideas, plans, even made some more advanced roadmaps and dev cycles. Estimated costs, time, mechanics, gameplay hooks.
I never finish anything.
I get bored. Frustrated sometimes. There's always an improvement, something that "if I'd finish that it would be it! Screw this thing I was working on now, THAT will be worth sacrificing it." It's tiresome. I'm getting old.
And honestly, I don't know how people do it anymore. Trying to compromise those side-projects (they take all my free time which is not much) and work is just... draining. I'm losing hope. Maybe I shouldn't be allowed into the gamedev world after all. Maybe I'll just pump half-assed pieces of crap everybody will hate.
Or worse, nobody will care.7 -
I always hate that part of the project where you finish all the coding and start trying to deploy into production for the first time.6
-
All my university projects technically hold up to coding for the least amount of money - the tuition fee I have to pay, which is always a minus amount of money
-
I started a new job about a week ago in an R&D software house which is a completely different world from what I am used to.
I worked as a coder in small teams, sometimes with Agile but always sunk in multiple projects at once - requiring constant switching of sprint goals week to week.
Now, I am alone (first person in a "maybe-in-the-future" team), doing research and preparing a demo for the client. It's hella lot of responsibility yet I found it weirdly liberating - being on my own, in control of what I do.
It may change in the future when project will inevitebly grow, but for right now, a week in, I started smiling while coding and learning, which I apparently haven't done in years.2 -
When you're demoing a prototype and the guy who always introduces himself by saying he's "not the coding type," proceeds to try and tell you how he would have done it.
-
Thank you osx for deciding to restart, without any fucking warning whatsoever, while I was in the middle of fucking coding. I had a bunch of tabs open, terminal windows, spotify, vs code, etc. I was in a flow. Suddenly all my open programs start closing and I'm thinking "what the fuck, is my laptop crashing???" Nope. I remembered hitting "try again in an hour" on that fucking notification about installing updates or what-not, but in the past that has always meant I'm just reminded again and asked if I want to restart. Not this time... fucking idiot devs at Apple that allowed this shit... fuck you.36
-
I fucking hate the process of setting up IDEs and compilers! All the build files, cmake files, tasks, all that shit.
I undrerstand it's integral part of coding, but fuck, why does it always take so long to set up a stupid project. Just let me start coding ffs.
Sometimes I get so frustrated that I rather write a bash script or run the compiler commands in the shell instead of going through the hassle of setting all this up.2 -
FML. Wednesday evening i started working on a personal project that i wished to complete till Thursday night
Thursday ,5th july, my birthday (fuck it). Went mad on project , 11:40 of night , it was still incomplete.
Fuckit fuckit fuckit, i have to do it , i have to do it. But here comes another idea that seems implementable 😑
6th july ,9:30 am of morning and then its complete ( not 100% market product levl complete, but , yeah i did all that i felt i can do)
My body temperature :103 -_-
I AM FUCKIN ILL NOW AND WHY DO I HAVE TO ALWAYS DO THIS NIGHT CODING !!!!
fucking excitements -_-
Don't you guys ever go through this phase? When you are so excited about a project you can't seem to think beyond that? And end up hurting your body?5 -
I just wrote unit tests for like the first time in my life (didn't find it useful in university, someone else handing in the project always did that). It cut my coding time by a factor of 3! You should try this one if haven't already, it really saved me a lot of headache right now.2
-
Heya,
College is no place to chill and be laid back as shown in movies. The reality is that it is more challenging than school with peer pressure being no stranger to us.
Being a newbie in the tech domain, and being a girl, I felt the gender gap and the intimidation newbies like me go through when we see legit programmers who flaunt their skills and make it obvious that they exactly know what they are doing.
But along with all this ranting, for all the newbies out there, remember that this phase too shall pass and its not as scary as it seems (I kept convincing myself).
Always start with something easy and take baby steps, one good coding language to start with would be python, as it is more understandable and less intimidating and complex-looking than languages like C and C++.
I still struggle, but there are times when it gave me great joy like the time I developed an app with Flutter or when I managed to grab a free tee from hacktoberfest 2019.
Stay home and Stay safe buddy ;)
P.S: If you a dev and want some cool swags check the website devswag, you won't be disappointed :)10 -
I do operations on null objects to attempt to explain why my world is always crashing.
Then I resume coding. And crying. -
Favourite item has to be our coding monkey. He sits next to me and every time I can't figure out some code I leave him on my keyboard and have a break, hoping he'll fix it for me... Never works but there's always hope!2
-
Hell yea, gotta finish my prep project for my bachelor's thesis so I've been coding every day since the beginning of the holidays.
To be perfectly honest with you I love it! It's like a 9-5 job, no classes at uni, just work and coffee breaks and I even got to go back to my parent's house for two weeks which is wonderful.
I wish that uni could always be like that though, gotta make the most of those two weeksrant vacation wk136 holidays angular bachelor's degree university !rant bachelor thesis code christmas1 -
I might create a coding course for people actually interested in learning how to program correctly (not Get Rich Quick Bootcamp style, not webapps, not magic Javascript incantations).
I have an idea on how to structure it but I worry it'll be too weird for most people to follow (starting from binary theory and then teaching machine code and then working upwards to C and beyond) explaining how a computer works along the way, showing the real errors with annotations explaining things, etc.
I've always wanted to teach in this format but I feel as though it's too.. idk, "useless" to most people? But I've never had a friend go through e.g. CodeAcademy and come out knowing how to actually make applications from start to finish without just hacking together random React components and hoping the frankenstein project works well enough.
The target demographic would be those either completely new to programming or just have a fundamental or web-centric preexisting knowledge, or maybe those who simply want to understand computers better.
Am I barking up a shitty tree?28 -
!rant
Restarted #100daysofcode.
Gonna finish this time no matter what 💪✊.
It's the challenge where you do code every day for 100days.
I am not kinda well right now but it's perfect opportunity
I got the time I always wanted for coding
So no excuses anymore.
Hope you guys also having some adventures coding time 😉😂8 -
🤣 in the university I have a teacher who is really a Microsoft hater 🤣🤣 I'm always coding another things when I'm in his classes but yesterday I was coding in C# so he got angry and kicked me from the classroom 😂😂😂 what do you think?21
-
Since I've learned coding, I'm always analizing how things work on the low level. Machines, movies, peoples' choices, planta, reality... Decompiling everything to source code
-
I always love rant when I LOST myself in coding and and GAIN by awaiting 20+1 like for that rant.
Thanks devRant You balance my business. -
I've always wanted to make games, I went into university doing mechanical engineering and while at the start I enjoyed it, getting closer to the end I had a hate for engineering, as this hate grew I ended up trying to learn programming in my spare time, actually I spent my spare doing lots of things which basically gave off the impression I wouldn't be happy with engineering.
After I graduated I decided to do my BCIS and I loved every minute of it, I was fortunate to get a lecturer in my second semester that was an experienced game devloper, someone I look up to and someone who pushed me to my absolute limits, even with the sleepless nights I was still happy with programming, the logical thinking that goes into programming and also the near instant feedback is what I really love.
But as it comes down to it, I've gotten closer to my dream of becoming a game developer, it may only be as a hobby for now but I'm really grateful I have gotten into programming.
So I guess with coding has changed my life for the better, since I know I'd never be happy as an engineer, and even with all the issues I run into I still enjoy it in the end.
Let's see how long this lasts lol -
i was having a really hard time because there was no record of changes in code, the boys would communicate changes in private and I'd spend hours trying to figure out why i couldn't compile. when i asked my boss that they put that info somewhere, he said it was unnecessary and that it always worked that way before i came. ofc it worked, it was 2 guys coding. i couldn't work properly and everything took forever to sort, no one tried to help. i went to hr and they just told me i was right and that i had to be patient. i quit soon after1
-
!rant
I would like to present you the story that I tell everyone who is afraid of expectations, stressed to impress interviewers etc. Story about how I got my first job.
A little of backstory:
I always was good with computers, not like expert, but good. Of course parents were against giving me admin rights, so I just played games or such. When time came to choose my path throgh life, I've chosen to go medicine-related way, and chosen high school with such profile. I did my exams terribly, cause I never cared about marks, so I applied to uni for Information and Communication Technology course. I've learned basics of coding there, much stuff I don't really need right now, but in the end it was the best choice I've made.
With that way too long prologue...
I had to do internship for my uni and decided to try and find some year earlier. There was a lecture about multiplatform coding held by company my uni had partnership with. I've filled a questionare and few weeks later they invited me for assessment - event where they will choose who is good enough.
Of course I didn't believe in my chances to win an internship (1st place got full time job). There were 3 stages:
- solo coding (C/C++ own implementation of list)
- group designing (UML and presentation according to specification)
- interview (talking about code from stage 1, some questions, theory)
I failed 1st stage miserably... so I decided to don't give a shit and bravely presented our group project. A guy asked why we did not included a thing on UML, so I told him that it was not in specification - he was suprised but took it as big +. We "won" that part. When it came to interview... I was myself, cool headed, admited when I don't know things.
I thought that was it.
Few weeks later I received email - they invited me for internship.
They put me into Python project, language that noone in our trainee team knew. Told us 2/4 will be hired. At first I was not interested, wanted to finish my degree. But they convinced me. Now I'm here +2 years.
I am aware there are not many companies like that. Here, the people matters - you don't have to know everything, as long as you are getting along with others.
My tip for you though is: BE YOURSELF, NO MATTER WHAT THEY SAY 🎶
And I wish us more companies like that.😉1 -
When I first started coding, I always assumed my code was working without testing it. Now, I assume the output is wrong if get it right on the first try :/1
-
Just curious; what kind of music do you guys listen to while coding? I tend to listen to all kinds of instrumental music, which I find great for keeping focus.
Please do share if you're sitting on a great playlist for coding, it's always fun to listen to something new!20 -
Don't think too big at first. You'll definitely get there if you play it smart. Babysteps, kiddo, start with the babysteps. We've all been there, we've all started with all the hello-worlds.
Never trust a sole source of information. Always have doubts and double-tripple check with other sources. Some tutorials are misguiding, others could be solving slightly different problems than they appear to at the first glance
listen to the seniors/mentors. Seek for mentorship. This field is too vast to absorb it on your own. Mentors will help you there.
Before diving into coding make sure you know what you want to build, how it'll work. "I'll make it move somehow" is the straightest path to disappointment. Think it through, ask mentors for help if you need
If you're building an elephant, start with his front left feet's toes. Don't start with the elephant.
Always test.
Most importantly - have fun! -
This is going to sound like a ridiculous question, but how do you all find both the time and the interest to work on side projects for your portfolio / GitHub? I always seem to start strong, get burned out, and can never find the inspiration to break away from the 9-5 of my day role to work on coding something else... Where do you find ideas? Designs? Concepts? Interesting solutions? I'm in desperate need of building some GitHub repos for my portfolio... 😅😰7
-
1 - I love coding because since when I was a kid I really loved to solve problems and create things
2 - I always tried to understand how computers worked, and how could yo make a program because when I was a kid I was almost always on the computer and my dream was to create a virus 😂
3 - I was studying my baccalaureate and I hadn't decided what to study in the university. I was only playing videogames and installing software to make jokes. So, my computing teacher taught me to code in VB.net and how to manage a local network so I decided to study and IT degree before going to the university, and when I was studying that I falled in love with programming so I'm currently in the university studying software development engineer -
The worst part of being a dev? Working in teams.
And I don't mean that in the "I'm the best ninja code wizard in the whole world and you're all holding me back" kinda way. I'm thinking more in the lines of someone who has to deal with that kind of attitude on a daily basis. As someone who recently was put in a leading position in a dev team, this is by far one of the worst experiences that came with it.
Some examples?
- One dev completely changed the naming scheme for variables in a class he worked on for one. single. bug fix. His reason? He just didn't like it!
- Another one noticed that data he was supplied with was not in the specified format. Instead of flagging this with the project leads, he just rewrote his parser to fit the data. A couple of weeks later the supplier noticed the error, fixed the format and suddenly everyone wondered why the software failed processing the data.
- Or that one senior dev, that just refuses to accept changes because "it was always done like this and it worked" No, it didn't. That's why it was changed!
Once a dev team reaches a certain size, people need to realize that stuff like coding rules and process guidelines are not there to annoy them but to help the whole team work as efficient as possible. I don't care how good a programmer you are, if you can't check your ego you don't belong in any kind of team-oriented development project! -
Sooooo... I've felt a bit lost during my years as a student and maybe this is a nice place to finally talk about it.
I've had my first programming experiences in school (back then it was delphi, a Pascal variant), then decided after graduating I want to study computer science. I've stuck with it and will finish my masters degree in a few months. (Took me a year longer than the university plans but will likely have a very good grade)
Since i have little programming experience and never coded anything useful (mostly study projects or simple programming tasks) I've always been struggling with depressions, worries of being not good enough and never finding a job etc pp, but in the last few months it got worse since I NEED to apply for jobs now as i graduate next may. I'd really like to improve and found some "learn how to code" websites but the progress seems still slow and meaningless when I compare myself to all those guys out there:
- those comparing several hardware/software pieces casually since they know all the (dis)advantages and specs off by heart
- those who have fierce discussions about languages, libraries, runtimes etc
- those who solve the problems in coding websites with 3 lines and incredibly mathematicsl proofs for why this shortcut works (fastest)
- basically the guys who discuss so many things i've never even heard of
I just feel so lost, useless and like i missed years of learning things everybody else just obviously knows now. Is there any way to catch up? I thought about trying to join a local Chaos Computer Club but they sound like they wouldn't be fond of a noob like me.6 -
So I'm a junior in University for Computer Science and software engineering and while I'm a decent coder, I've noticed that I'm not as interested in the Coding aspect of it as others. I don't really think about doing projects of my own and tend to just focus on the schoolwork. I feel like I recognize patterns rather than fully understanding what's going on. I did extremely well in the Coding bootcamp I went to, better than most. But I'm worried that I'm not as into being an engineer as I think I should be. I love working with computers and the process of making something, but I'm always second guessing being an engineer.
Am I just worrying too much? Imposter syndrome?6 -
Story of coding affecting my dating?
Well whenever I start a new language, I always find myself having difficulties with time and date structure-
Wait, that's not the subject? ... oh the other kind of "date". Well, not finding difficulties for something I'm not looking forward to lol -
I have been coding for 2 years, 1 month at a company
Teammate1 has been coding for a year, a genius, learns everything in a week, knows all major js frameworks, refuses to adhere to any rules except no rebase on pushed (luckily)
Teammate2 has been coding for a year, learns slowly, very reliable, has no common sense at all
Teammate3 the designer, really has the skills but always busy, never has time for a meeting, gets very mad if it looks different from her original plan.
We're all college students short of money so they all want to work for clients. I don't have the leadership skills / charisma for this.1 -
Family: why are you always so grouchy and grumpy
Me: because you make me get up when I'm in the flow of coding/studying
Family: oh sorry we understand we'll try not to do that again
Skip to 30 mins later when they repeat the same stuff and offer a cup of tea or coffee... as if just one cup of tea/coffee will do the trick.2 -
I dunno why!
But it's always the night before an exam, I am so pumped up to learn coding than studying for tmr!!
Always..2 -
Every single time I try and watch a coding related video on YouTube at the start I hear
'You need a website? Why not do it yourself..'
And I always respond with a sarcastic,
'Uh..why don't you go fuck yourself'
If you know...you know..3 -
Our teacher always tells some funny facts while coding. Today he mentioned auto stereograms. Someone who can read this?18
-
It’s always hard for me to get up and start coding each morning, but once I do I always feel good about the work I’m doing.1
-
I don't know what happens to me today.
As always, I've gone to work, but when I sit on front of computer, I felt unable to code.
Not afraid of coding, not exactly unmotivated. Just my head is not able to code.
It's strange, because until now always I'd felt so motivated with this project. But today I've spent 3h on front of computer and I've not been able to write a single line of code.
Maybe I need holidays and I didn't noticed.3 -
So I work in a startup where all my co-workers are 6-7 years elder to me. There is this guy who keeps asking me how is my work going.
I tell him, he gives me a weird clueless look and leaves.
I wonder why he even asks me everytime if he is least bothered about what I do. I see all others minding their own business and busy coding. But this guy is one whom I have always seen jobless.
So now I have decided that next time he asks me I will tell any random shit to him to see if what I have been telling was always shit to him .2 -
I'm not sure why but I'm always super caught up on the aesthetic of my coding. Like the code editor has to have the right colors and format and I hate getting so stuck on inconsequential aspects of work.2
-
Books. I love them, I buy them, where ever I go. My favorites are the Discworld novels by Terry Pratchett, but I will read any sci-fi/fantasy-styled book I come across. I would attach an image, but my phone's camera is pretty shitty, so just imagine some shelfs filled with books.
Music is imortant to me too. There will always be music playing when I'm around. I'm trying to make some myself. It's not that good but still fun. I am also a collector of vinyl records.
And then there are games of course, because sitting at a pc just for coding is not enough :D3 -
!rant
I've always been wondering why do tech companies need everyone to have a strong grasp of algos and data structures?
I've been coding most of my life but didn't get a CS degree so ended up in IT but I kind of want to get into a tech company as my thinking is the quality of code much higher (I spend a lot of time cleaning up other people's code and prod issues over the years...), I've been learning Algo/DS but when I see those technical questions on CareerCup, I go WTF.... it's this the kind of problems you guys do every day?6 -
I am in-fucking-love with myself and packages contributed to OSS communities!
TL;DR: inotify is great and I am lazy bitch so I wrote a script to kinda do my work
I took some time to write a script that takes a folder with images (Screenshots) and move them somewhere else with the last modify time as their new name (something like "Screenshot_DATE_TIME.png) because my current screenshot software for Windows (Lightshot) only saves their screenshots like this: Screenshot_<Incrementing Number>.
Once in a while I'd like to move those images away to "clean up" that folder, but I always have to create a new folder like "OLD" but that already exists so it becomes "OLD_1" which.. also existed up to "OLD_3" and I finally grew sick of it!
2ish hours later my Perl script now automatically gets triggered by inotify once a new file (Screenshot for that matter) is written or moved to the Screenshot folder and auto-fucking-matically moves it to the "new" folder with the new filename so I don't have the issue of having "OLD_1" .. "OLD_INFINITY" anymore.
Little things / scripts like these really make me feel good about what myself and my coding skills (I know, this is a somewhat trivial task but still a great experience)2 -
Fuck, wanted a year long streak on github but failed at 40 days.
I did code but just had no part finished so didn't commit.
I even have an alarm for committing ffs. I just snoozed it and was like I do it when I finished x. Forgot track of time like always with coding and found out four hours later.
Fuck. Back to one. I just start over, it shouldn't be that hard.
I should change my commit behavior to push if compiles instead of push after complete feature. So, I change the definition of achievement easier to achieve6 -
Anyone else dealing with constant back pain? (Sometimes wrist pain??!) I try to sit in a proper posture but after coding for about an hour,fucking back pain always comes back. And I've been only coding for almost 3 years and am in my early 20. Need to change my habit else this shit will get worse.7
-
Aye, I almost fight with everybody at work(they always think it is funny). I'm not good at listening to others when it comes to dev convo (like related to coding or some logic stuff).
So it is like someone is explaining to me that this should be like this and in between, I ask 100questions like "why like this? why not like this?","but what if I just skip it?" etc
and they always go like, "Someone is going to kill you so badly".
That's it. -
So I do not get why people use ReactJS. I hate it. for 3 years passionately. And I have to work with it every day.
- one-way data binding
this makes you write twice as much code, which will have twice as much bugs, you need to read through twice as much code from other devs.
- mixing html and JS
after all I like to pour my coffee on my omlette so I can eat and drink at the same time in the morning. This kills productivity and ugly AF
- not unified
Every dev uses their own special snowflake framework with React there is no unified way of doing things and you cannot use your familiar tools. Every project you need to start over from zero.
- Bugs bugs bugs
infinite loops, max update depth reached, key not present on list element. Let me ask you something dear ReactJS. If you know that there should be a unique key on that element. Why cannot you just put it there and shut the f up?
- works reeaally slow when compiled with TS
ReactJS was never designed to work with TS and now the tools for it are really slow. And why TS? Explicit contract is always better than an implicit contract. TS helps you in coding time, but for some reason React devs decided to worth 3 seconds to wait for compile and then realize you mad an error. ReactJS is bad and inefficient so stop making projects with it please.9 -
I haven't felt an urge to post on here in a while just because things have been going so well. But this month, is just not that kind of month anymore.
I'm upset. I'm upset by how I've been uprooted from my routine. I know I shouldn't be that bothered by it and things always change. But what the fuck is this company thinking to be using it's own fucking home baked ticketing system!
WHAT THE EVER LIVING FUCK IS THIS SHIT!
Let's go over the issues it has
1. I can't fucking email my clients through it
2. all emails are not recognized automatically. In other words each new email creates a new ticket if it does not have the tracking number attached to it.
3. I have to fucking hunt around in my inbox that is now bombarded by every email that is created for this ticketing system. Slap on a fucking tracking number. And then HOPE TO FUCKING GOD that the person on the other end doesn't erase the subject and cause the system to create a new ticket just for it.
Let's go over Zendesk which they've decided to decomission.
1. I. DON'T. HAVE. TO. DO. ANY. OF. THAT. FUCKING. SHIT.
2. That's it. It's fucking simple
Seriously. They forced me off of my original platform because this company already had a "ticketing system", if you can even fucking call it that, working.
And just if you weren't aware, all of this change happened because my company got bought out. It got bought out by this behemoth company that isn't willing to let me continue using a system; that has been very efficient, mind you, and instead make me use their system.
I. FUCKING. HATE. THIS.
Every fucking day! I have to do this stupid bullshit of emailing clients from my personal work email instead of on the direct ticketing system.
When I first started using this thing I actually thought I could use it to email the clients. For a solid two weeks I was "communicating" to clients through their ticketing system. Only to find out that the entire time those clients were not getting my actual fucking email! WHAT THE ACTUAL FUCK?
Then these guys tell me after the fact. "Oh that's strange... We never noticed that you can't send emails through it... We always just had used our work emails."
Are you fucking jerking my chain! You guys have literally been sitting in this slimy pit of hell for so long that you don't even know there are better options out there!
You don't have to fucking live this life!!
I don't think I'm going to make it. Something needs to change. And I know upper management isn't going to do it, because I fought hard to try and keep Zendesk. They are not keeping it. After this next quarter it is officially gone.
I'm trying to think of coding solutions to make my situation better... But I shouldn't have to fucking do that! There are perfectly good working solutions out there, and this company doesn't want to budge because "that's the way we've always been doing it"
I'm going to fucking rip out my hair. -
Took a day off and came back to find my team and I were moved from frontend to backend (which I always wanted to be).
Manager says we get to learn Java, Mongodb and even Hadoop.
I am so so excited.
But the only little hold back is, there is limited support for Java in sublime text and I should instead use eclipse. I had dozens of shortcuts customised with all those beautiful themes in sublime, but eclipse takes the fun out of coding(no offense to eclipse lovers).5 -
Would you rather make every software you want but give up coding, or keep coding but always for somebody else's project?5
-
My Gripe With Implicit Returns
In my experience I've found that wherever possible code should be WYSIWYG in terms of the effects per statement. Intent and the effects thereof should always be explicit per statement, not implicit, otherwise effects not intended will eventually slip in, and be missed.
It's hard to catch, and fix the effects of a statement intent where the statement in question is *implicit* because the effect is a *byproduct* of another statement.
Worse still, this sort of design encourages 'pyramid coding recursion hell', where some users will first decompose their program into respective scopes, and then return and compose them..atomically as possible, meaning execution flow becomes distorted, run time state becomes dependent not on obvious plain-at-sight code, but on the run time state itself. This I've found is a symptom of people who have spent too much time with LISP or other eye-stabbingly fucky abominations. Finally implicit returns encourage a form of thinking where programmers attempt to write code that 'just works' without thinking about how it *looks* or reads. The problem with opaque-programming is that while it may or may not be effortless, much more time is spent in reading, debugging, understanding, and maintaining code than is spent writing it--which is obviously problematic if we have a bunch of invisible returns everywhere, which requires new developers reading it to stop each and every time to decide whether to mentally 'insert' a return statement.
This really isn't a rant, as much as an old bitter gripe from the guy that got stuck with the job of debugging. And admittedly I've admired lisp from afar, but I didn't want to catch the "everything is functional, DOWN WITH THE STATE" fever, I'm no radical.
Just god damn, think of the future programmer who may have to read your code eventually.2 -
The 'farewell great manager Jim' party on Monday.
The [insert name of a department] Christmas party on Wednesday, which you shouldn't miss because they want the company to be more integrated.
The [insert name of your department] Christmas party on Friday, which is separate from the other party because they want the company to be more inte... wait.
The hackathon on Saturday and Sunday, because coding all night for free to create buzz around the company's name is always fun.
The team meeting where the product manager presents all the shinny new things they're thinking about presenting to the client while our deadline is still a couple of weeks away. "And the engineering team knows exactly what to do, right?" Yeah, sure, if you say so. -
I learned C with a K&R copy a friend gave me years ago. Now at University we in CompSci get taught in Python the first year and Java next while the engineers start with C and (I'm guessing) move on to assembly later on.
This friend comes to me all worried because he has to submit the next day a working Reversi game for the console written in C. Turns out the game was divided among two labs and he failed to submit the first one.
The guy is smart but once a week or so, when we met to smoke a joint and relax with some other friends, he was always talking about how he would prefer something like law but that would be bad business back in Egypt.
Back to the game, I get completely into it. First hour checking all the instructions he was given, then reviewing the code he wrote and copied from Internet. We decide start from scratch since he doesn't really get what the code he copied do. It took us 10 hours only stopping to eat but we get all the specifications of both labs perfectly.
A week after that he comes to me: "my TA said your code is the ugliest shit he's ever seen but he gave me a perfect score because it passed all the tests". I'm getting better (the courses I'm taking help me a lot) but what really made me happy is that he solved the next lab by himself (Reversi wasn't the first time I helped him, only the first time he was absolutely lost). Now he actually gets excited about coding and even felt confident for his programming final.
No more talking about being a lawyer after those 10 hours, totally worth it.1 -
Ever since I downloaded Intellij, which was 10 years ago, I have tried to move into more hype oriented editors ... Atom, sublime, vs-code... But nothing beat intellijs sense of fullfilment! Its like you are in a sand box that offers everything you need to do anything you want! Need plugins ? Right there! Terminals? Right there! Git ? Right there!! Distraction free mode/zen mode? There! Spice up your editor with a background image? There!!!
I think for those who take the hype of editors need to check their goals/aims. I have learned that whenever i tried to change the environment i work in, the reason was always unsatisfactory projects, or boring projects!
Your coding environment (no matter what it is) is your sanctum sanctorum. Change one bit of it and your whole world is disrupted.
And thats a piece of advice for those who use Vim to notepad to intellij to whatever is more advanced then intellij!
Also includes a picture of my setup!1 -
A Chinese coworker who always brought a tea flavoured hand lotion bottle and applied it before coding on his finger tips and wore the same clothes from Monday to Friday changed only his shoes...2
-
"What is going on... this should work?!
Is my maths wrong?
My maths is wrong...
Oh no!
It's a model view projection matrix?!
I'm shit if I'm failing at this, it's 3D dev 101!
I got a first class degree... I don't deserve any of this or this job!!"
<2 seconds later>
uniforms.viewMatrix.set(camera.matrixWorldInverse.elements);
uniforms.viewMatrix.set(camera.projectionMatrix.elements);
"You set the same uniform twice you tool, due to copy and paste..."
Imposter syndrome in my early days put myself into a roller coaster of emotions. I always compared myself to others to the detriment of myself.
Thankfully overcame that working with some great guys.
But yeah, coding has impacted life for the best though. The challenge, creativity and constant learning is beautiful. -
Famous quote time! I forget who said it, and the number varies a bit from one retelling to the next, but one that has always stuck in my mind since I heard it is the following:
“I’d fire any programmer who spends more than [10 | 25]% of his time coding.”
I’ve always taken this as an admonition to spend time charting out solutions before building, instead of churning out stream of consciousness spaghetti code, personally.
Any thoughts from the broader community on the topic?2 -
1. Learn to be meticulous.
1. Learn to anticipate and prepare a functionality up to 90% accuracy and coding it in a one shot.
1. Become advanced in SQL.
1. Increase my modularity abstraction awareness.
1. Learn to TDD properly.
1. Don‘t get angry with my kids but explain to them with papa is always right in a Calm voice.
1. Do the same for partner.
1. Train my speed running in case partner wants to bash me.
1. Become advance d in Java.
1. Learn to write a bot.
1. Learn more about servers and hack at least one thing even if its a wifi.
1. Install kali linux.
1. Make myself a custom pc.
1. Ask god (or buddha if god is too busy) to make days longer.
1. Buy a vaporiser ao i can smoke my weed without mixing it to tobacco.
1. Get my license.
1. Start investing.
1......... -
I've finally got into the habit of writing descriptive comments in my code. I've always just got so into the coding and comment later when I don't know what the code does anymore xD1
-
I've always been a tech fan. Made my first site when I was 12, but I stopped at HTML and CSS. Now I started coding, and here I am - 24y/o studying pointers in C. I don't even php.
Am I too late? How old were you when you first started coding?9 -
Yesterday a met a self learned dev. He started electronics at 11 years old. He was homeschooled with no obligations at home. So he ended up doing about 10 hours of electronics a day. Until he got bored of it and realized he could integrate his own programes.
So he started coding 10 hours a day. He is really smart. I figured someone like that surely plays video games. So i mentionned path of exile. I love rpgs the new league is starting on friday, im trying to make exiled friends you know...
The guy tellls me he has no clue about the game so i ask him what games he play and thats when i heard: “factorysialimsntnaio” something. I was like “whaaat?”.
Its the type of game where you create your factory. You smelt, combine, make parts like screws and so on and build your factory.
Thats when i realized how some people will always be smarter than me ;)3 -
After watching YT-Videos about the Language/Framework/... , I start during a long weekends night with a fresh Spotify-Playlist. 😁
The few first days are always the most productive ones... Until you loose motivation... 😒
Do you hear music when coding? Sometimes I think, I could be way more productive when I just code without it. Do you agree?1 -
Who of you needs some non-disturbing background music while coding?
echo "g(i,x,t,o){return((3&x&(i*((3&i>>16?\"BY}6YB6%\":\"Qj}6jQ6%\")[t%8]+51)>>o))<<4);};main(i,n,s){for(i=0;;i++)putchar(g(i,1,n=i>>14,12)+g(i,s=i>>17,n^i>>13,10)+g(i,s/3,n+((i>>11)%3),10)+g(i,s/5,8+n-((i>>10)%3),9));}"|gcc -xc -&&./a.out|aplay
A while ago I found this in a Youtube-Video from computerphile.
I always listen to it or some variations if I need to stay focused.
Works for me.2 -
Never got a bad experience. The only bad part I could think of is I'm the youngest and always solo coding all the time. It's pretty fun tho.
-
Fucking hate it when I have to stop coding and commit in the middle of some function, always end with some weird commit message10
-
Bootcamps get you up and running in coding quickly. If you are a programmer, companies are only interested on how quickly, error free and cheaply you produce marketable output. Bootcamps enable this.
More or less you are not more than a former assembly line worker putting parts on a car platform. Your value is not very high as you may be exchanged at any time at their will.
Nevertheless, you can earn money quickly. You trade in your youth and time which might be a dead end in the long-term. Trends go to machine learning, artificial intelligence. They will not need Bootcamp people and code workers.
It is better you set up Bootcamps and sell them versus absolving this. Like selling shovels during the gold rush, but not working in the mud of Alaska by yourself.
Your choice is: Making quick money, which fades anyway; or striving for the long-term future proof career.
C/S degrees from Technical Universities of reputation give to you the right direction under a strategic consideration. Companies which pay well, or freelancing with a solid acknowledged background, will always look for top graduates. People from Bootcamps are just OK for hammering assembly line coding. Even worse with SCRUM in one noisy room under enormous team server pressure controls, counting your lines of code per minute, with pale people all around. And groups of controllers never acknowledging nor trusting your work.
To acquire a serious degree, a Bachelor is nothing. Here, in INDIA, Bachelor now is what a former high school grade was. You must carry a diploma or Masters degree combined with internships at big companies with high brand recognition. This will require 4–6 years of your lifetime. You can support this financially by working part-time freelancing as making some projects front- or back-end web, data analysis and else.
Bootcamp people will lose in the long-term. They are the modern cannon fudder of software production.
It is your choice. Personally, I would never do Bootcamps. Quality and sustainability require time, deep studies and devotion. -
I'm always helping out a girl in my class with her coding assignments but her code is absolutely atrocious. I don't have the heart to tell her that her whole method, file and variable naming, and process is wrong and is causing her so many headaches.11
-
This is sort of a boring story. I always have been interested in making games but actual coding always made me very uncomfortable and never tried it until I got to college. I met some really cool guys there and got into an association that was based on pop culture and videogames. Me and the president of that association started on our spare time to code for a videogame. He made his and I made mine. The software I used was gamemaker studio and I made like 7 games. I wanted to make a website for the games so I learned HTML, CSS and JavaScript. At that first year I was studying criminal justice and was slowly being taken away by programming. I changed my concentration to computer information system thinking that I wanted to do a more general approach but programming kept gaining ground. I had depresion on middle School all through highschool and early college. I'm safe to say that after I decided to code seriously my depression has seize to exist and life feels very good. Coding for me is very rewarding and challenging. I'm soon going to pursue a bachelor degree in computer science and hope I don't change concentration again.2
-
Myself. I started with PHP about 7 years ago. Most people nowadays don't really start writing vanilla code in language they are learning anymore. Everyone just want to see results and fast, I didn't. I needed everthing to be perfect from the start. It took me a little longer to get shit done as to anyone else and sometimes it really bothered me. Am I stupid? In the end it turned out, I was not *that* stupid. In the end I learned to hate half-baked solutions of these "fast" people.
Along the way, my coding style got better and better as I gained experience. In my opinion, coding standards are a good for helping you find your own coding style. You shouldn't use them blindly just because they exist. You and your colleagues should always find the optimal solution that works for you. I probably wouldn't be able to work in a company where the code is written the way I hate. It hurts when I have to write something under a lot of pressure and just glue things together resulting in a pile of mess.1 -
Is it just a coincidence that there is always somebody going crazy here? And it's always one after another?
Seeing how there's only one thing in common. Coding is making us crazy!5 -
Visual studio code
I usually use IDEs and am in love with everything made by Jetbrains. I am also to lazy to setup dual boot on my pc, so I live with windows 10. After one of the recent downgrades Microsoft distribute, they shipped this lightweight text editor called visual studio code with it.
It lied to me, that it's a good editor for coding C. It even tells me that I can compile and execute the code from inside the editor, similar to vim. I went to the settings and found a dark theme, for the best best feature this "editor"has to offer.
I give it a try by opening a source file with a normal double click. Editor gets focused, but the code is nowhere to be seen. Retrying conforms my, that this piece of shit is literally not able to open files UNLESS you drag and drop them into the editor. HOW FUCKING USELESS IS THAT?
Next I want to compile the program. Guess what, that functionality was not given or at least I could not find it (same goes with the manual)
Even with dark theme it burns my eyes to use this editor. There are almost no useful shortcuts. The functionality is not even comparable to vim. I always thought eclipse was bad, until this shit was installed.
It might work well for other people. Maybe it has functions, that just don't work on my pc, but from what I've seen: visual studio in general and especially that editor feels like Microsoft trying to replace the toolet paper with sandpaper.8 -
VR/AR - inferior interaction with the computer, just like touchscreen are inferior to physical buttons
Microservices - having a stew of different coding standards will in the end introduce performance issues due to layers needed to reduce code entropy
Agile - programming was and always will be creation on existing technologies. Every library writer who follows Agile is making a hellhole for anyone above the layer of abstraction
Web freedom and Anonymity - At this point it should be obvious already, this fad took 30 years too long5 -
**random rant**
So next week I have a technical interview with TripleByte and I'm supposed to spent the next 2 days sorta preparing. Just woke up and had this thought tho:
What's the point? Yes I think I could try to get a better job but been trying for years (banking tech area) but now it feels like I'm at a "local optimum" sort of a sweet spot. Team/company could be smarter/more efficient but...
I've got my own place in a city that's also near NYC. It takes me 20 minutes to get to my current office, fairly flexible with the 9-5 work day, I can work remotely. I get enough money.
And then finding a new job === technical interviews about stuff you will rarely use and usually with no feedback like a pass-fail test where they only tell you if you pass or fail (and for me it always feels skewed towards fail the moment i walk since I'm deaf).
But at this point, I feel more like "you need to convince me to work for you". In my head, the plan is mostly to just have a nice chat and wing the technical questions just to see how good i am without any prep (i.e. poring thru Cracking the Coding Interview or Big O concepts, sorting...).2 -
It always irritates me whenever I try to find solutions for my coding problems in angular typescript alot of resources available in jQuery and JavaScript. In the end I have to invent my own solutions. It would have been done with jQuery and JavaScript easily!1
-
Is sleeping on your desk an actual thing which happen or it is a misconception provided by movies?
I have never slept on my desk no matter how tired I am (I had done a week coding marathon) .I always wrap myself with fluffy blanket when sleeping.10 -
Fucking Vagrant... I know you prefer a Linux environment but pleeeaaase why does your VM always timeout?!?! Godamnit, it's a bad sign if you get bugs before you even start coding...2
-
Heck yeah!
That awesome feeling when you figure out a coding logic to get the intended result.
I've been stuck on this issue past few days. But always had an instinct I could figure it out the way I want and since it was always in the back of my mind, things started making more sense like finding pieces of a puzzle.
Finally it all came together.1 -
Well, that's it, folks. Got a job offer, one I might accept, after some tweaks.
I've been a bit more than sixty days unemployed. And in no hurry.
But there is one thing that uneases my mind, though.
I've been a dev, I've been a graduate researcher, I've been a TA and I've been a tech lead, but now the industry wants me in a primarily management position.
I like to code, even if that makes me miserable sometimes. I like to solve problems. Math problems, engineering problems.
But I OOH SOOOO MUCH HATE when I have to deal with leadership who can't tell heads or tails on a coin toss. Who can't make a decision and deal with the consequences. Who can't handle bad times, searching for someone to blame more than searching for a solution. Who can't listen to advice, who thinks a commanding viewpoint is always better than many compiled intelligence reports.
Who don't wanna even think about the possibility that they might not know something, much less that someone on their team might know some subject better than they do.
Frankly, I think might I hate bad leadership more than I like coding.
So if the offer is to have the patent to tell productivity thespians where to shove their stupid spreadsheets, even at the cost of hardly ever issuing a git command, then I think it might be the time.
I hope it is not a mistake, but I can always course-correct my career later. I'm in my late 30s, I still have, like, 40 years of labour ahead of me (assuming medical advancements in the meantime).
So, yeah, I'm joining the other side. But trying not to become them.
May sudo have mercy upon my uid.4 -
I just want things to do on my phone that are intellectually going to be stimulating
and not brainwashing
is that so hard to ask for
I can't keep playing sudokus all the time. the other day I wanted to go read a coding answer I asked an AI in my browser on my laptop but I was in bed on a voice chat with a sleeping person and didn't wanna get up out of bed to go fetch the laptop. my browser lets me see tabs I have open on other machines and this AI website makes a url with a unique id so you can browse to the chat you had, but it seems to not always work
earlier in the day I had asked the AI a theoretical coding question and it answered, but I got distracted and needed to go do something before I finished reading it (it was long). but when I was in bed on my phone playing sudokus for intellectual stimulation, annoyed and bored it was the only thing I could do, I had the bright idea of opening the tab on my laptop through my phone. Vivaldi is great and this always works. unfortunately the AI website's unique id thing doesn't. it loaded the website by URL correctly but the AI website just took me to the home page and I had no chat history to read =[
phones are literally computers but you can't do anything on them. can't watch videos without ads or bugs, if you load a lot of websites the tab management system sucks and performance is shit, controls for games suck even if you could find something not ad infested
hell you can't even do a pedometer that's not trying to get you to "log in". bruh
you can't even browse GitHub code! at least last I checked. it's just awkward, their app
I feel like I'm in a straitjacket in terms of technology and I wanna scream. I don't even know how to adequately describe my frustration or what I keep wishing for. it's been prominent in my head a couple years now. it's like we're regressing in terms of compatibility. went from card games provided by Microsoft like solitaire and spider, paint... to Jesus fuck you can't even get paint in a browser now without someone trying to fleece you
remember when things were inventive, nice, and not shit?
I don't even like playing mindustry on a phone to be fair. fighting the controls is most of the experience. so maybe phones are only good for reading things
I just noticed my brain over time doing sudokus learns so I wanted to practice engaging in something and learning as exercise, cuz I think it would be good for the brain damage. bah5 -
Good code is a lie imho.
When you see a project as code, there are 3 variables in most cases:
- time
- people / human resources
- rules
Every variable plays a certain role in how the code (project) evolves.
Time - two different forms: when certain parts of code are either changed in a high frequency or a very low frequency, it's a bad omen.
Too high - somehow this area seems to be relentless. Be it features, regressions or bugs - it takes usually in larger code bases 3 - 4 weeks till all code pathes were triggered.
Too low - it can be a good sign. But it should be on the radar imho. Code that never changes should be reviewed at an - depending on size of codebase - max. yearly audit. Git / VCS is very helpful here.
Why? Mostly because the chances are very high that the code was once written for a completely different requirement set. Hence the audit - check if this code still is doing the right job or if you have a ticking time bomb that needs to be defused.
People
If a project has only person working on it, it most certainly isn't verified by another person. Meaning that only one person worked on it - I'd say it's pretty bad to bad, as no discussion / review / verification was done. The author did the best he / she could do, but maybe another person would have had an better idea?
Too many people working on one thing is only bad when there are no rules ;)
Rules. There are two different kind of rules.
Styling / Organisation / Dokumentation - everything that has not much to do with coding itself. These should be enforced at a certain point, otherwise the code will become a hot glued mess noone wants to work on.
Coding itself. This is a very critical thing.
Do: Forbid things that are known to be problematic in the programming language itself. Eg. usage of variables in variables, reflection, deprecated features.
Do: Define a feature set for each language. Feature set not meaning every feature you want to use! Rather a fixed minimum version every developer must use and - in case of library / module / plugin support - which additional extras are supported.
Every extra costs. Most developers don't want to realize this... And a code base that evolves over time should have minimal dependencies. Every new version of an extra can have bugs, breakages, incompabilties and so on.
Don't: don't specify a way of coding. Most coding guidelines are horrific copy pastures from some books some smart people wrote who have no fucking clue what you're doing and why.
If you don't know how to operate on people, standing in an OR and doing what a book told you to do would end in dead person pretty sure. Same for code.
Learn from mistakes and experience, respect knowledge from other persons, but always reflect on wether this makes sense at this specific area of code.
There are very few things which are applicable to a large codebase on a global level. Even DRY / SOLID and what ever you can come up with can be at a certain point completely wrong.
Good code is a lie - because it can only exist at a certain point of time.
A codebase should be a living thing - when certain parts rot, other parts will be affected too.
The reason for the length of the comment was to give some hints on what my principles are that code stays in an "okayish" state, but good is a very rare state -
2 Items in Rant: Technical Lead -> Development Manager, and Boss giving me his administrative work.
1. For the last few years I've had the role of a Development Manager. I've always been very hands on and even when going from a Technical Lead to a DM I was pretty active in the code: not coding every single day but still got into it, shifted towards design and architecture type things, etc. For the most part I've enjoyed it, but with each passing year (4 years now) I feel like my boss is pusing me further and further away from being Technical. Like now he's got me making some spreadsheet because he's too lazy to do it himself.
2. Few weeks ago it was setting up meetings for him, basically turning me more and more into his glorified administrative assistant. I know Senior Leadership is so goddamn busy they can't setup their own meetings, but come on. Half the time he's ranting to me about someone and telling me to tell this person this or that. I got a suggestion: you could try telling them yourself?
I feel like if I stay at this company much longer I'm going to lose all of my technical skills and continue to get taken advantage of by my boss and the rest of the senior leadership team who couldn't talk technical and code talk if it bit them in the ass.1 -
[Long post]
My last big project at school.
There was some pretty interesting projects, some shitty one, but there was one big project that interested almost everyone : a project in collaboration with Siemens. The project implied Machine Learning and Image Analysis. There were like 11 applies, with a total of 13-14 groups.
The project was randomly chosen for each group. I've learned that my project was the big one with Siemens. I remember how excited and hyped I was in a quarter of second.
So the whole project was tutored by one teacher that know us pretty well (since we already did a pretty cool project last year tutored by him) and by a former student at my school who's now at Siemens. And to be honest, it was one of the coolest project I've been into, despite the difficulty, since the whole subject (not gonna tell it just in case) was pretty new. We had some troubles, but we and our tutors always had discussion every week that helped us quite a lot.
There was some development planned at first, but the more we went into the project, the more we all saw the complexity of it and didn't quite hope to do a single line of code, but mostly research.
The project took around 3-4 months, we had a room that we can use with a GTX 1070 for training the neural network, and me and my friend knew how to work perfectly and efficiently.
At the end of the project, as expected we didn't do some coding, but we did a presentation of the project, with the big help of our tutor at Siemens that told us to redo from scratch our part in a more scientific way; the presentation was a real success, we got all the jury saying they actually wanted those kind of presentation and were really pleased. And we provided everything needed so a new fresh group with no knowledge of the topic could do some coding on it.
We got one of the highest notes of the promotion (not sure if the highest or not). Even tho it kinda disgusted me in researching, that actually was one of the best project I got to do that was that successful.1 -
I always thought wordpress was ok, not great not terrible, from a coding perspective. Now every new framework I have worked on makes me see why Wordpress is on 40% of the internet.
Now I love wordpress not because of what it did do, but because of all the really stupid things it managed to avoid doing including: over abstraction, trend chasing, using "new transformative technology" that disappears in 2 years, breaking plugin economy with updates and making devs start over, making everything OOP for the sake of making everything OOP, making adding on a bit of code take multiple files of multiple formats and boiler plate code, boiler plate code, compiling dependencies, composer, twig, laravel, one page applications, react, angular, vue, javascript only stacks (MEAN), not letting you control sql queries, protected/private scopes and design that doesn't let you fix or alter bad code others did, and the list goes on and on.
Wordpress did a lot right, and devs should try learning from it instead of making more problems to solve. Sure it's not elegant, but you known what it does do? Focus on a solving a problem. Then it does. Without inventing new ideas or concepts to inject into the code and create new problems.
And you know what else? Hooks are actually very well implemented in Wordpress. I've seen it done much worse.
Honestly my main gripe with the entire platform is a slow moving to OOP for no reason and the database design should separate post type into different tables, the current design makes it less scalable for large data sets for multiple reasons so I'd fix that.5 -
I wish we could stop to push candidates to do TDD or even asking questions about it during interview. This thing is a lie, has always been and will ever be. It is cool for small coding exercises but nothing else.
Let’s stop gatekeeping with stupid concepts.7 -
When you get to your projects and then you go to bed pretty late, just to realize how many hours of sleep you'll get.. :/
-
For uni we get assignments based on our classes. I'm always super excited about these and immediately start thinking about how I would implement it and come up with cool features I could add.
I would write out the whole thing and plan everything. Eventually I get distracted by other assignments or things. Then 1 or 2 days before the actual deadline I start coding like a madmen, thinking about al the features I wanted to implement and realizing I would never make it in time.
That's the moment I switch to plan B. Which is creating the best possible demo I can present. Most of the time this does the trick. I would show my professors the demo and they wouldn't notice the completely broken application and the code that was hacked together.
Luckily I always managed to get good grades!2 -
Hey this is Linuxer4fun or BinaryByter, you might remember me as that smartass Teen who fanboyed over C++ and built kernels and compilers and all that shit. Well...
Ultimately i must admit that I have moved away from Programming. I dont have any Projects I could acomplish which would be worth my time, I cant come up eith any, to say the least.
Additionally I'm demotivated as hell because I'm always tired due to my Hourlong Organ-Practice sessions and very long school times.
I think that I want to major in Music.
So incase you wondered, thats where I have gone to. I might still lurk here, and maybe someday i'll restart coding. I hope that I will, because coding was loads of fun!7 -
Put this as a comment but felt that it needed a post of its own.
I ducking love my fuck (see what I did there ;P) He my little coding buddy, I gave him a little back story and everything.
This is Francis (although he insists its Frankie) He transpecied (a duck in a penguins body) so he always has a "short-man complex" little attitude all the time (unless its because he never gets a word in before I figure out the bug myself =S ) -
Programmer lesson #3
Always focus on a single task while coding...
If you encounter any non blocking bug or additional task add it in `Do-it-later` list...
If you don't...the bug or task might take majority of crucial time which you should actually utilise for the main task at hand...3 -
<<prev. #wk235 advices>>
~ Study the Error log deeply, Google each line if needed. Don't give up.
~ Learn by doing. Don't just read/watch.
~ Practice breaking down the problem statement first in different components and hierarchies. Don't jump into coding right away.
~ Write some, review some. Don't put off review for later.
~ Even if you don't exactly follow the best security practices - always ensure that your program is safe for use. Especially for user-inputs, etc, pay attention.
~ Never distribute code with passwords/keys written in it.
~ Don't hard code stuff, use Config file, environment variables, etc.
~ Try to automate repetitive stuff like build and deploy etc
~ Save and backup you code.
~ No one knows everything, also, today's knowledge gets outdated tomorrow. Continuous learning is synonymous with this field.
<<next #wk235 advices>>1 -
Tech lead is getting on my friggin nerves. The tech lead keeps all the important info about the project for himself, does no sort of coding just merges stuff on Git and makes me handle any small fry problems which give me little to no insight into the project.
Then complains to the manager about the fact that nobody will help him and he has no time to do any work.
Meanwhile he creates own little club of people to talk to and stops talking to us devs.
Is this how its always been?7 -
!coding
Fuck I am such an idiot. I was talking to a super awesome girl on the phone and she was laughing at some jokes and I had the great idea to tell her some darker jokes and of course she didn't laugh at all and got offended. I think I'll always find a way to fuck it up.12 -
Where do I even start???? Python is killing me. I am a beginner when it comes to coding but somehow the indentation in Python gets me every time. No matter how many times I follow a tutorial I always end up with at least one indentation error. How do people do this?!?28
-
I don't know if someone has noticed but I haven't been on DevRant lately. It's not that the community is awesome. In the last month or two, I've had a blast of an experience here. I've just been avoiding screens, specifically texts in screens. I think something snapped on my head last week. Here's why:
As I've said in other rants/comments, I study history, and at the moment, I haven't found any career that has to read more than this one. Sometimes I've had to read about 1200 pages in less than three days. Last week I had to read 6 books which accounted for about 3500 pages. I was actively reading more than 600 pages a day. Now, this was for an investigation, and each of these reads had to be properly summarised with their respective arguments, thesis, etc. So I intensely read everything before Thursday, the day in which I had to present my work, in which I referenced about 10 books.
Apart from that, daily, I spent 4 hours coding. That's been the minimum I've done daily since I started learning.
I wasn't too tired. I'm used to read a lot, and coding is always fun. But the problem came in Friday when I woke up with a strange headache that spanned from my eyes to the back of my ears. Hurting especially on the sides of my forehead.
It eventually dissipated, but whenever I read something, the ache slowly came back. Loud noises and bright lights also brought it back. So you could imagine, everytime I tried to read a Rant, comment, etc, the headache came back. The same for coding and reading. For fucks sake I feel like I'm fucking crippled.
And no, the pain isn't the worst. Pain is pain and you can't do anything about it. The worst is that I'm developing some anxiety here. In all this time I have been learning daily nonstop. Coding was something I craved for everyday. Now I'm fucking wasting entire days in non-productive activities. I'm losing my fucking time here guys!
I'm afraid I have some anxiety problem with time. I've already fucking wasted entire years, now I don't want to continue wasting them and push my goals further away, I want to get to my goals as soon as I can because time and life can't be stopped and once time is lost, you can't fucking get it back. And, considering I'm still 21, I do notice this feeling is somehow irrational, but for fucks sake, I'm wasting fucking LIFE :( -
My programming paradigms unit has decided to explore different teaching/learning environments by creating lecture/workshops. Imagine a massive room with big projector screens at the front and smaller screens lined up against the wall at the back. The lecture room seats are designed around tables that are gradually elevated so it’s similar to a lecture hall but you’re sitting at discussion tables.
There’s the usual lecture with all the slides up around everywhere, there’s nice wheelie chairs and dimmer lighting... can’t tell if we’re at a conference or some awards night. Then all of a sudden, we’re coding in teams (tables) and uploading our work on to forums to discuss with the rest of the lecture hall. WHAAAAAAAT
Really different and quite enjoyable experience, there’s more than one tutor walking around to help, there’s mics for people to present.
Just sharing my new experience of forward learning environments that didn’t cause feelings of anxiousness for once or boredom. It was kind of mind blowing, wish it was always like this. -
So in my experience, coding while I'm not sober actually helps out sometimes. I always end up documenting my code way more so that I can keep track of what I am doing, and the code I write is actually decent.
Ofcourse, I always re-test it once sober again2 -
!rant
I didn't know that working with React will destroy my confidence like this, I know that coding is hard but being tasked to build a front end for a large project with React and use React Boilerplate (which is not for beginners) just a month after starting my first job as a front end developer is nowhere to be the perfect start to one's career.
the quarantine did not help, it made it worse, I have so much fear that I can't even see my code, I even wanted to write some simple side project to retake some confidence but I can't, I want to tell my boss that I can't continue but he's very nice that I don't want to worry him, and here I am having panic attacks and fear, not a fear of being fired, because I am prepared and I deserve it, but fear that I can't code any more, I am not a good developer, but it's the only thing I know.
I had low confidence before but not as much as this time, this time I feel like it's the end of everything, I keep staring at the screen for hours and I can't think straight.
I am lost and I don't know how to handle this, I became a bad father and a bad husband, I don't talk to anyone, not even my kids ...
as always thanks for reading me, I only have this community that understand me.4 -
My goal is to study for 300 hours (coding problems, behavioral, and system design combined) before I start applying for companies.
Is this overkill? Is it enough?
I put a "stop" on my studying since I know there will always be a question that's a "got-ya" or some extremely hard Leetcode question that require some obscure algorithm from college that had 1 figure about it.5 -
I've very recently started coding in C# for a game I'm making and I can say the most common mistake I make is missing one of these little shits ";". I always look at my code like "This looks good to me" then after hours of looking through Visual Studio always comes through to tell me how bad I've messed up.2
-
Damnit onion, this is a little on the nose. But hey, code complete is always worth reading.
https://theonion.com/hopefully-neig... -
At school during my free time I work on random coding projects, and I get at least one person say to one of their friends " Oh! He's hacking!" And they say it like I can't hear it. Then I always get someone asking me "What language is that?" So I say the language, usually Python, Java, or PHP, next they say "Oh I program in HTML." I really want to tell him that HTML isn't programming, but I really don't want to waste my breath.
I wish people would mind their own fucking buisness, or at least know what your fucking talking about before you open your mouth.
🦆2 -
I've never gotten drunk while coding, but definitely a whiskey always is the finest accompoint to writing some beautiful code 😉
-
!rant but a question...
I know that with the vast examples/tutorials online this may not be necessary, but I wanted to ask the community if you guys/gals would recommend going back to school to get a formal CS education or if it would be a waste of time, money, and resources compared to just using web based sources? I've tried the college thing 3 times when I was younger but couldn't concentrate and lacked the discipline to focus and finish classes. But I'm a bit older now and wanted to know if you would recommend going back to school or if time would be better spent performing self-study and learning from home?
I'm still extremely new to coding and programming and only have basic knowledge of actual coding and a lot of the theoretical stuff in programming is completely foreign to me. Like for example, how to optimize code. I know that refactoring code to have a smaller more efficient footprint is always desirable, when it doesn't interfere with readability, but I'm unaware of where/how to modify code to run efficiently. Of course that may be wayyy to advanced for my use cases anyway 😂.
I'm trying to teach myself python as it seems like a great language for starting out and getting to understand the concepts of programing. Plus, it can be used directly in my line of work as well as side projects that I wanted to try my hand at.
Thank you in advance for your recommendations everyone!2 -
Am I the only one who procrastinates on Github looking at stuff you like? Or how do you procrastinate?4
-
ok this may look like a lazy ass beginner crying out for spoon feeding( which it kinda is), but i want some real industrial training in non documented Android coding.
For last 2 years i have been reading tons of Android articles and documentation on "how to use this library", "how to add this feature", "what this function of this class does", but not much about how to use it efficiently, like the way its used in industry.
When I interned with a startup, all they wanted from me was to push new design changes, fix layout bugs and work as fastly as i could. I had no time to understand their core code, which had so many things that i could have learned : those mvp/mvvm design/architecture patterns, dependency injections, kotlin , coroutines, state management designs, data bindings, eventbuses and handling, and VIPER,RIBS (I mean, not everything was particularly in their code, i picked up a few keywords from here n there)... a lot of stuff that is used by many apps for their codebase.
I can read up these stuff by myself, but i always end up feeling bored coz frankly, i got no big/valuable project to implement it upon and feel excited about it. I feel that open source projects from OSS companies could be my window, but their chat spaces are also mostly empty to discuss/get some guidance.
I want some specific training about these. Can you guys provide any online/offline course/company training/books in this subject, the best practices?1 -
Coding gameserver emulators. It's always fun to code for a game which you don't have to do any of the artistic side and all of the functionality side.
Also network packet sniffing and trying to figure out what each this is is pretty fun. Love it.2 -
!dev
Hello there..
I always wanted to have my first post here be something that pisses the sh!t out of me.
tl;dr: Memes are for braindeads and kids are fucktards
Backstory:
So basicaly I am now having a summerjob before my next semester starts so I can make some cash to buy some overpriced stuff I dont probably need. I work at a factory, 3 shift work and today we had Night shift, so there was me and a bunch of Arab guys, kicking our asses by pure boredom and desperacy.
Act One:
I was bored, opened my phone and decided entertain myself by some funny sh!t I can find on Mark Sugarhills webpage. I was just passing by some random a bit funny stuff and then I found some random ass meme, which doesnt give a single, even distant sence to me.. So since my german is as good as my coding skills (read: complete shit) I couldnt ask for opinion of my fellow coworkers and since its fuck1ng 4am theres noone to ask on messenger or whatever. So I did it... I asked in a goddamn comments, what the fck is that supposed to mean and Aw dear Lawd... I did a mistake.
Act 2:
Like 4 seconds after my question I had a response and I was like 0.o It has to be some Alice of Facebook so I guess someone cool. Oh boy I was never so wrong. The answer... the... FUCKING answer was.... "normie."
What the actual fuck?
Like man statisticaly speaking, there is 200,000 people on this wannabe funny site and since everyone is apparently laughing their asses off, I am the motherfucking original snowflake.
But I wanted to play it cool... was like Uhm sorry, I really tried but cant figure it out.
His fuck-me-sideways-with-rusty-crowbar answer was:
a) The joke is hidden in some random thing we created yesterday and decided to call it a culture
b) "u dumb"
Act 3:
I hope that most of you finally guessed it! Its the second fucking answer and oh sweet mother of pain, please find him, BUT thats where I flipped and fucking lost it.
The fucking nerve to speak to me like that u dissrespectful piece of shit. Go watch some Twitch, while I SSH into ur ass and hit u harder than ur mom her forehead everynight when she realises that she could have swallow you dickhead.
Afterthoughts:
I was always worries that my child would like to be a Rapper, or Youtuber...
But today Im adding being some dumb ass meme creator.8 -
Developer vs. user experience: it's 2024, tech is used by the masses, and still, every day, I see messages that something "failed", an "error occurred" or that I did something wrong trying to use something supposedly simple like entering a phone number or a bank account IBAN into a web form.
Worse, I remember being part of teams coding and releasing antipatterns like that, spending time in hour-long best practice discussions and still failing to deal with user "errors" in the end.
AI, the deus ex machina supposed to obsolete developers, does the exact opposite of development: fail and err, but always find some positive and polite words to gaslight its users and make them feel happy.
AI will replace developers just because it's better in being nice.6 -
Coding has pretty much been the center of my life?
Although I was persuaded to take a dumb expensive, useless detour into Finance... and probably cost me a nice job at a big tech company... at least until maybe I get around to really really trying really hard to possibly get an interview after reading through a few Algo books and prepping for technical interviews and doing foobar enough to request being recruited...
Anyway I still like coding for my own use a lot (check my github.io page), getting paid for it is more of a ++ though I would prefer to be solving more interesting and useful problems at work....
Oh yes and it makes me an Android/tech power user, always thinking about how to use tech to solve my problems, get what I want...
and now if you'd please, dfox when can I have my unicorn? 😀1 -
Sometimes a poorly planned project makes coding a lot harder especially if features and UI/UX always changes 😭
-
Doing someone else's Code Review in my project: "You must retain the holiness and piety of the code you write by following PascalCase naming for files and kebab-case naming for CSS variables. Avoid using duplicate strings by declaring enums in a constants.ts file and using that all throughout the app"
During my own Code Review in someone else's project: "WHAT THE FUCK DO YOU MEAN I CANNOT PASS FUNCTION REFERENCES AS PROPS TO A REACT COMPONENT AND ALWAYS NEED TO INVOKE IT INSIDE AN INLINE FUNCTION FOR THE PROP."
"WHAT KINDA FKIN DRUGS ARE YOU ON TO USE snake_case IN TYPESCRIPT DID YOUR MOM DROP YOU ON YOUR HEAD WHEN YOU WERE BORN YOU SACRILEGIOUS PIECE OF SHIT"
"WHAT DO YOU MEAN I SHOULD USE BOTH SINGLE AND DOUBLE QUOTES FOR IMPORTS AS PER LOCAL OR GLOBAL; I'LL SHOVE THE SINGLE QUOTE UP YOU WHERE THE SUN DOESN'T SHINE YOU FKIN DEGENERATE MORON"
As much as I do believe in self righteousness of my own coding conventions over others (I might be slightly better than others but I really can't claim good authority because I've had my lapses in conventions too; and being one of the newer members of the team certainly doesn't help, despite my boss supporting my initiative), I guess it is high time we bring in some already established code conventions in the team that is finally big enough to warrant them. Maybe AirBnB. -
"Dear TitanLannister : You are in the final year. A lot of shit is happening around u. its now time to make a career and take tough decisions. What would you do?"
CHOICE 1: COMPETITIVE
>>>>background : "a lot of super companies like wallmart, fb, amazon, ms, google,.. etc simply takes a straight coding test for fresher placement. They ask tough bad ass level questions, but with right guidance, a hell ton of dedicated hours of coding, and making it to the top of various coding tests could make you a potential candidate"
>>>>+ve points :
- "You got the teachers and professionals with great experience to guide you"
- "a dream job come true.you can go there and join teams that interests you"
- "it was your first exposure to computer world. maybe you would like doing it again, after 4 years"
>>>> -ve points:
- "You have always been an average 70 percentile guy. The task requires 2000-3000 hours of coding an year. it will be hard and you always grow bored out of this pretty quickly"
- "Even If you did that , you stand a lesser chance because your maths is shitty.There are millions running in this race with brains faster than your IDE"
- "your college will riot with you because they expect 75% attendance"
- "You are virtually out of college placements, in which , even though shitty companies come and offer even shittier 4LPA packages($6000 per annum), would take a tough logical/aptitude based test for which you won't be able to prepare"
CHOICE 2: PROFESSIONAL WORK
>>>>background: "you always wanted to create something , and therefore you started taking android based courses. you have been doing android for over 2 years and today you know a lot of things in android. you might be good in other professional lines like web dev, data analytics, ml,ai, etc too if you give time to that"
>>>>+ve points :
- "you will love doing this, you always did"
- "With the support of a good team, you will always be able to complete tasks and build new things quickly"
- "Start ups might offer you the placement, they always need students with some good exposure"
>>>>-ve points :
- "Every established company which provides interesting dev work takes their first round as coding, and do not considers your extra curricular dev work. So you are placing your all hopes in 1 good start up with super offerings that would somehow be amazed by your average profile and offer you a position"
- "start ups are well, startups and may not offer a job security as strong as est. companies"
- "You are probably not as awesome dev as you think you are. for 2 years, you have only learned the concepts , and not launched more than 1 shitty app and a few open source work"
CHOICE 3: NON CODING
>>>>background: "companies coming in college placements have 1-2 rounds of aptitude,logical reasoning , analysis based questions and other non tech tests. There are also online tests available like elitmus,AMCAT, etc which, when cleared with good marks help receive placements from decent established companies like TCS, infosys, accenture,etc"
>>>>+ve points :
- "you will eventually get placed from college, or online tests"
- "there will be a job security, as most of these companies bonds the person for 2-3 years"
>>>> -ve points:
- "You really don't like this. These companies are low profile consultant/services based companies which would put you in any area: from testing to sales, and job offers are again $5000-6000 per annum at max"
- "Since it includes college, the other factors like your average cgpa and 1 backlog will play an opposing role"
- "Again, you are a 70 percentile avg guy. who knows you might not able to crack even these simple tests"
Ugh... I am fucking confused. Please be me, and help.The things that i wrote about myself are true, but the things that i assumed about super companies, start ups or low profile companies might not be correct, these points comes from my limited knowledge ,terrified and confused brain, after all.
:(7 -
I want to rant here but I have a lot of backlog. They’re all pretty deep for refinement. So I want to put them all in one sprint. Because I don’t want a marathon of ranting.
But I do realise in IT sprints never end, and eventually turn out to be a marathon of sprints. I came to a point to deliver over 100 story points in one sprint. Maybe I shall write a book instead of exploding this app.
I could have never imagined the dark side of this occupation.
However I love coding so much I’ll brush the backlog under the carpet😏
But you know there are always saviour heros wanted for refactoring. This honour goes to:
The arrogant guys who think they’re a genius when their code compiles.
The insecure guys who want to overpower the next available when their code doesn’t compile.
The egoists who like to underestimate and show of, where their faulty biased googles display a little girl instead of a developer.
The aggressives when they are invited to the reality and kindly offered to sit back on their place.
I hope this rant wouldn’t ouch anyone. If it does, not sorry, the message is delivered.
If there’s an offence or reaction to this refactoring job, the 4th one would be offered to clean the mess.2 -
Give a maximum of three physical products that have made your coding workflow more efficient. I'm always looking for new ways to make my workspace more comfortable.9
-
My routine everyday:
waking up
going to work
coding
going home
coding again
.
.
then exercising, watching shows and of course eating...
sometimes, no, I should say always remember that you need a time for yourself, you need to do some other stuff, not always coding, work, etc. We are not computer. 😉 💡2 -
tl;dr:
What is a good start in go?
My wife wants to upgrade her coding skills from „I heard it at college“ to „I actually did something with it“.
I want to learn Go and start coding a bit more. My background is mostly C++ (Backend) and a bit Java (Fronted) some years ago before I went more into testing. For test automation I always use the language that makes the project happy, often Java.
We want want to join forces now, take a vacation and implement a small microservice in Go for my wife’s product (she is a PO) using pair programming.
I want to prepare that a bit. What is a good course or web tutorial to start, that some of you took and can recommend?
Thank you very much!!6 -
when i look at the code structure of the project i work on with my friends, i always think about how to implement the SOLID principles of bob martin for clean code
... and then i think about the clusterfuck of almost unmaintainable code that has been created over time and all the unit testing that doesn't exist at all and how much time and effort it would need to correct that code and how i realize that i don't even understand the principles and how to implement them
... and then i give up and go on coding even more mess
... and then i repeat😅😖😩3 -
I recently joined DevRants, and with me joining any new site or media where you can share I am usually the guy who is shy and likes to sit back and watch/read. However I wanted to post a question as I am trying to get a job within the Cyber Security field. I have a computer science degree and honestly I feel like I can't even code at a level I should be able to. I am also currently working/studying for my CompTIA Security+. It has been going good but, I always second guess myself and doubt my abilities. I guess this a a slight rant and question so far.
My question is how can I better improve both my skills (coding, linux, and security) and also my mental. I would say its imposter syndrome but I don't have a job so I don't think it would be fair to say it is. I just want to break into the job field and show people that if given the help and resources I can excel at the task given. I do learn fast and pick things up pretty good. Any help/recommendations is much appreciated, and I look forward to more talks.3 -
so I'm in a quandary, I'm in a place that gives me lots of freedom and the room and respect to implement my ideas and i get lots of praise but the pay is not very good and the technology is old, i have quite a few opportunities to move for much more money, better technology and training and guidance but then i would not get so much freedom.
I'm a mid-level full-stack c# but I'm spending more time in meetings and writing business cases/documentation than i am coding these days plus i have noone to teach me better practices or tell me off for sloppy code apart from myself.
i would like to stay in my current place - they have been very good to me and are pushing to meet my needs but i will be putting in a lot of effort by myself to push the technology forward.
i enjoy the challenges but i want to make sure my coding skills are always improving.
so I'm thinking either stay and force myself to spend time creating personal git projects / work on open source, or just leave.
also any recommendations on open source projects to get started on?3 -
Went for the iv as senior java developer, they ask me to answer 3 pages of coding question, i need to read the code and state my answer. What's worse is, their coding without main method, and asking do this coding can be execute without error or not? What is the answer for this question.
I read all the questions and all written question without main method 🤣🤣.
Not sure are they really stupid or just testing me tho. But I still state my answer, "executing with error message.."
Later than, the manager did not show up to interview me and others 3 candidate.
Thats really funny. They ask us to leave and for their feedback.
After few month, meet my ex-colleague where he just resign from the that company. Surprisingly I told him about the test, than he inform the company to update the test 🤣🤣🤣.
Lucky me, if i choose to work there its gonna be a lot of hell.
fyi, my friend work as SCM, Software Configuration Manager which he always make a joke about his position as The Manager 🤣. I fucking believe it for month when we first work with same company. Just realized when he need to configure my machine to config as company rule. Dammit dude -
I’ve been looking for a job recently since I am a student and starting my career.
I have a bunch of experience and I like to think I have pretty broad knowledge of programming concepts (web dev, ML, AI, software development).
I see these job postings for jobs that I know I am qualified for.
- I got my research published (which is related to the jobs I’ve been applying for)
- I have great grades
- I have a clear track record of doing well in teams (life long athlete)
- I am a complete geek for new tech and libraries so I always learn them super fast
- I have side projects that aren’t just shit I’ve done in school
- my past jobs show that I am an efficient worker who has real experience
However, I always fucking fail the coding challenges.
I’m never asked questions like “how to reverse a linked list”, just obscure questions that I don’t know how to study for.
What the fuck am I supposed to do? It’s not even like I get close to the answers. I usually get a couple test cases and then fail the rest of them, or I can’t figure out a solution to solve them.
This is all really disheartening and I fucking hate it I absolutely fucking hate it and when I am trying to hire people in the future, I’m never going to make them do coding challenges bc they’re fucking stupid3 -
So I'm on one project which was previously developed (I mean poorly developed) by another firm.
So this fucking guy who has done all the coding, I just fucking hate that guy because he has the shittiest logic and he doesn't know things should always be dynamic.
So he has written code(in PHP) where he has calculated the difference between DateTime and he is adding days, hours and minutes to another DateTime.
And it took me fucking 5hours to realize that he just forgot there is a thing called month which should be considered while doing this, I mean WHAT THE ACTUAL FUCK?
It was calculating like the difference between
2018-07-12 and 2018-09-18 are FUCKING 6 DAYS WTF!!!! SERIOUSLY? HOW COULD SOMEONE MISS THIS?WTF?!!!! FUCKING 5 HOURS FOR THIS?
Hush!! I think it is my bad that I thought it is DateTime issue and focused on that. I feel good now. Thanks.1 -
Do the design first and make sure you get it reviewed!! If the reviewer is always too busy to look at your design, remind them that you can't start the actual coding until they do the review and go over it with you. And be open to their suggestions, it may save time later down the line.
-
Hacking events, I always go then gather the team in the event place with team-less people.
Making new friends, having some fun, and solving some challenges.
By the way, I couldn't get a girlfriend using my coding skills, it is not working.7 -
Recently we got a new project assigned and as always you are hyped, really really hyped...........
We were supposed to find all kind of driver updates (especially bios ones) for all devices the company owns. So first of all we thought:
EAAAASY! A little bit of web crawling, regex, etc.
.
.
.
.
B
U
U
U
U
T
!
We were sooooo soooo wrong these fucking manufacturer websites are absolutely awful to crawl or parse and nowadays there are no proper FTP Servers or something else anymore you could use to get the information. Every subsite is little bit different...
While coding and literally brute forcing possible urls (there was some kind of vague pattern) we learned AGAIN to appreciate proper developed and designed websites. Especially by devs who may have some more usage scenarios in mind for their site than simple human clients.
So thank you to all of you awesome web developers who design proper websites and web tools!
All in all it took us 2 weeks to come up with a proper solution (by the way we are a smal team of 3 devs) which somewhat works reliable and can deal with site changes etc. -
I hate this type of Developer who always asks to add everything as requirement for every single detail. Company is paying you for thinking, or at least asking BA, not only coding requirements in Java/C#/whatever and denying fixes because it was not in requirements.3
-
TFW you started coding in python and then you try to code in other languages but you always forget that damn ;1
-
When I started at my first job I was a fanboy for a co-worker who writes codes like nothing and there's is nothing he can not do when comes to coding!! I really admire his work. I always think how does he do it?!
Now I have a fanboy for my work 😎 he admires my work he thinks that there's nothing I can't solve.
I get it now, it's just experience and practice!5 -
Wtf!? Clowns wants to, again, move me up the ladder. They don’t care. I am starting to think they have an evil plan for me in play here. Step 1) promote so high that noone really knows what the fuck I am doing. I am just name on a paper. And in the meetings. And then, 2) fire my ass
Have not accepted this job position. Yet. But I’ll guess I’ll take it. I can always go back to coding. Haven’t coded for a year now!
I think there must be some sort of evil play here. Am I that incompetent?
Do I want to be Chief Supreme Structural Architect Commander? Wtf!? Clowns…
All bow for the Chief Supreme Structural Architect Commander! I got principles and guidelines! Pff…1 -
Was struggling to find motivation to start coding again. So I decided to get back to college and finish what I started. I'm just done with my first semester as top in class.
Now, I just can't stop. I'm always craving for more projects. My brain even stopped craving for games. And I've always been a big gamer.
Do I need help? Is it unhealthy?3 -
Couple of questions? What's to late to stay up coding or what's to early to start coding in the day?
I'm personally always mindful of my health.5 -
The days are long right now. The company portal, that I built, is being rebuilt now that we have decided it needs to be responsively designed.
I always knew there would come times in my career, if I leant towards the front end, that periods of time would be taken up with HTML/CSS.
I just didn’t appreciate how soul sucking it can be when you are adjusting margins for 8hrs a day for a few weeks. And how much that is compounded by people changing their minds on things that cascade throughout an increasingly complex system of media queries...how you can spend ages tweaking something only to find it breaks on an another screen size...
The love I found in coding...it is not here...7 -
Not taking an UI/UX class. I think this would help me be a better front-end developer. And also, not enrolling in a coding boot camp full time like I always wanted to. I learn better in a classroom.
-
I've coding a long time on sublime as my editor of choice. But ever since someone pulled an inception on me, at the back of my mind is always this question "How good is vi/vim?"
Can anyone attest to its awesomeness or shittiness? I am impartial here. Just want to hear your views.3 -
How do ppl just keep coding. I can't stay on it for shit. Anything that comes to mind will distract me and keep me from starting or working on.... It sucks, its not even like i dislike coding. I actuay enjoy it once i start but games wirh friends n shit always take Priority for some reason :(8
-
I have a friend who always talks about coding on his whatsapp status, he even posted a screenshot of a mobile app he allegedly was working on. So, i asked him what language he uses to Develop Mobile apps (not web apps) and he said, html, css and php. I am a beginner in programming, i know java, python, dart and Javascript can be used to develop mobile apps,can we also use html, css and php to develop mobile apps?8
-
me: *spends most of the evening coding his new shitty website*
me: *forgets to go to bed*
Da': "I hope you're not becoming game addicted"
My parents weren't very supportive about it at first because they somehow kept (and still are) linking it to game addictions...
But atleast now they accept that I became a dev because I always felt so empty when I was forced to come out from behind my PC and socialize like a "normal" person and talk about "normal" things.2 -
So tomorrow i have my last January exam. Starts at 10AM. Kinda looking forward to getting it over and done with. After that i'm going to work on quit smoking. No more smoking and coding all night 😂 i guess i will always have monster to keep me going through the hours of coding i have until May6
-
I just had a thought about what may set good and not so good developers apart...
I'm now 30 and for the past 3-4 years, I haven't done any more big personal projects. But at work, going on and on about good coding practices and making sure things are done right, more time spent upfront on design than coding, etc. And doing the greenfield stuff.
And I feel like maybe there biggest difference is that I started to code as a kid... And making those mistakes early and learning all the different things have a compounding effect.
So if we all become slower and even stagnant at 30 in picking stuff up... I'm always going to have this advantage/lead (skill/experience gap)
Or maybe in just rambling and getting nowhere.... -
Ok so I'm working at this bank that hired me as a lead dev to do something about the quality of the software. Now we have CI builds with front end and back end unit tests, sonarqube, coding standards and much more. First release.of our software had only 1 low impact defect! All other software they released in the past always has dozens of bugs.
Now I have this front end guy in my team. He thinks he is really good and actually said my front end skills suck. What?? Wtf you saying? I'm truly full stack and doing front end way longer than he does and already did many many successful projects for awesome well known companies. So he refactores some JS component I wrote. Now this component is very simple but needed to look and behave different on different devices and screen sizes. It was working perfectly. Our tester did extensive tests on all sorts of devices and browsers: worked perfectly.
So, this 'front end king' is now already in the 3rd week of making changes to this component. And still it is not working properly. And he doubts my front end skills?!
Hahahaha go fuck yourself you god damn piece of fucking front end retard!! Everything you make doesn't worl right away and needs at least 4 revisions. Fuck you!2 -
I love most trends around js, because often they're thoroughly thought through (not always) and make things easier.. but why the fucking fuck do all the js coding standards use 2 SPACES. Now this isn't intended to be a tabs-vs-spaces rampage rant. But this decision against tabs is like saying yes to a 50ct pencil instead of 100 dollars.7
-
1) communication is the key
2) if you don't understand something, ask
3) people always lie
4) you can always improove
5) if you don't stand up for yourself, noone will
Not so much that coding made me realise this, it's just something that got confirmed once I started working.. -
Hey DevRant fam!,
I hope everyone is well as always! I was just curious... Very recently i bumped into a website called 'LeetCode' and was curious about trying to solve some problems for fun. However to me it seems that i get stuck on the wording or it just gets confusing,. I personally always enjoyed building things but wasn't really a fan of doing the actual coding problems from websites like this not sure if that is a terrible thing?, was wondering has anyone else been in this position? Maybe i'm lacking something? :-)
Would love to hear anyone's input! thank you for taking the time to read through my post as always!
Cheers!.2 -
!rant
I'm not sure if it's good or bad, but lately I've lost that "love" for code, not coding itself, but the code in projects.
Because most of the time the projects are inherited, there is never enough time, It's always a priority. And let's be honest, most of the time programmers don't like others code. (Is it God Complex?).
What I do notice with this "new" philosophy it is that I do not stress when I do not like some development, I ask the "bosses" if there is time to change it or if we continue with how it is. I learn that it should be done better and I continue my life5 -
0. I love to solve puzzles. It makes me feel smart. While the act of coding isn't itself problem-solving, programming as a whole generally is.
1. Computers are easier to understand than people. A computer will always do what you tell it to do, it just may not be what you INTENDED it to do.
2. I enjoy having a skill that most people find intimidating. It lends mystique to my otherwise boring-sounding life. -
Guys, how frequent do you face distraction while working? Like while coding, I'm always distracted with my phone. I know i can just throw it far away, but I do this habit on browser as well by suddenly opening a new tab to browse fb, for example.
One way to get around this is by using Pomodoro technique. But that only works if I'm not reluctant to do so. Another one is by limiting tabs opened in firefox by using an addon.
ITT: How do you deal with distraction?1 -
well... I really dont know how to explain this error
in the directory where I have my testing.cpp file, I type "clang testing.cpp -o testing"
my result is just supposed to be hello world and I am getting this.
note: clang is my c++ compiler since for some divine reason I can't install GCC on termux.
I checked the github and no one gives this complaint. I honestly can't read that error code, I just want it to go away
I hate coding on android, it's always a sorry case
I could have been a farmer or a teacher or a bus driver or an alien but I chose coding. I am really tired
I took a very long screenshot6 -
Desperately need advice from devs in India...
asking this here since really stressed about this and don't know who to ask to...
I am an engineering student from Bangalore, India from a basically no name college...
I have been coding for 2 years now, web stuff, primarily rails and js...
i have worked with handful of startups, done internships, and am working on my own projects which i will launch soon...
Lately my college has made it a mission to make my life hell even though i always perform well academically...it has gotten to a point where I am not able to work or learn anymore...
I wanted to ask what consequence my career will face if I drop out ?
I believe lack of a graduation degree will make me not eligible for many jobs...please suggest what I should do...6 -
I just had this field with certain class type that acted so $h!++y on me that I almost believed I had finally gotten insane from all those coding.
I’m talking about Unity C#. When the code runs after a domain reload, I find that this specific field always comes prefilled with “an instance of that class whose properties were the default values.” So every time when I change something in my code (which causes a domain reload,) this field becomes an instance of the class with default properties **without any outside interaction.** All my null guard code fails and what follow are thousands of null reference exceptions because my scripts tries to access the properties of that instance, which are null.
Turns out, it was maybe because the class in question was marked with [Serializable]. When I remove it, the behavior completely stops.
This behavior was so unexplainable in clear words that googling for such behavior was pure impossible. Like WAT. I don’t even know which of C# or Unity caused this weird $h!+ to happen.2 -
Greatest distraction when coding -> Annoying project managers really. I quit a company after working 4 days because the PM on the project just wouldn't respect boundaries. Always asking for updates every 10mins.
-
I am currently playing dumb with a potential hire and it's just so much fun I don't know if I should stop.
We gave the dev a little coding challenge to code a small expense tracking app. Nothing fancy, just to see how he well he could do on his own. We told him to take as much time as he requires.
He submitted it and I tried to run it. It worked alright but I could not register or login.
I debugged the issue with him for a while and told him I would look at it later since I am tied up with other tasks..
We are communicating via an IM.
Him: Or how did you run the project. I wish I was there to run it for you. Lol
Me: dotnet run. start without debugging
Him: From the cmd?
At this point I about to get pissed. Where else would I run 'dotnet run' from??
Me: I would hope so
Him: I always run it from the cmd. With administrative privileges
Me: Really?? Where can I find cmd?
Him: Yes. Do you use a Mac?
Me: nope. I am using windows2 -
Noobie here. I always wanted to learn coding except free online websites never really helped me and I don't have money for paid courses. Is it better to use a book? If so what book? Or should I just stick to free online websites? I had a friend who taught me for a little but but she was a noob too so she eventually reached her limit. Anyone here nice enough to teach me how to code with no pay? No? Okay worth a shot 😂10
-
coding has changed my point if view of life on how to solve problems and work with humans on a level playing field. that and that
there always will be more stupidity in logical code constructs each and every line you discover as time goes by. -
Just a thought. Writing a program then clicking run, and your code runs first time, should be something that becomes more common place as one improves their coding ability, now that we call development. To be always surprised when that happens, almost seems to say that such is a matter of luck.3
-
In case you remember,
there lived a legendary coder named "Harsha Suryanarayana", popularly known as "Humblefool"
from India. He died in a car accident back in 2014.
The only thing that still keeps me wondering is why he always chose to code in Java( in coding competitions ) even though he knew C++ along with STL and was also aware of the advantages of using C++ over Java in competitive coding.7 -
@dfox I kind of miss my skateboard under my avatars feet because I am always skating, even when I am coding 😂6
-
!rant , a question (on the end, after explanation) :
https://youtube.com/watch/...
this is a result of (according to my time tracking) 10 hours and 50 minutes of coding.
captures mouse cursor into list of points, uses those to triangulate a flat polygon (manually doing all the mesh math of ordering them correctly, earclip triangulating, and indices generating), as well as to create inner and outer outline (no official algorithm, my own which I came up with on the spot) of a certain thickness.
(the outline drawing is just for debug yet, now I'm going to extrude them upwards to form walls)
soooo... I've been always curious about how effective/fast/efficient of a programmer I am, but it's usually hard to measure/compare, so I thought I'd try this way: how long do you think implementing something like this would take YOU?
thanks :)5 -
I totally understand why coding can be difficult
For clarity, I will always use 'this' to refer to the special keyword, and "this" or this or this otherwise.
-Kyle Simpson -
Girlfriend complains about how I'm always on my laptop, coding, and how I'm not spending enough time with her.
I tell her that my laptop is not the NUMBER ONE thing in my life, but She is.
Little does she know that as a programmer, I start counting from zero6 -
Hi. I signed up to devrant a few months ago. I’m new to coding. What language do you recommend I should learn, Java or JavaScript? I hear JavaScript is better because it’s a full stack language whereas Java can only be run on the back office.
Also, is it even worth going down the route of programming, since the AI is supposedly taking over the industry? I mean, I feel like I can make quick progress as I’ve already learned how to inspect code in the browser and change font colors and advanced stuff like that. But seems like AI always be one step ahead of me. What do you think?20 -
Too early in the year for goals so far, but I'll give it a shot. Here's what I'm gunning for in the short-term:
Week 85 - 2018 Dev/Coding Goals:
- Continue educating myself in the Rust programming language (I feel like I dropped the ball there last year, Rust is easy to get programmer's block because it's syntax isn't always clear what should be done with it and/or why, the references. Ugghh fml).
- Get feature parity of PYXReloaded with it's predecessor, and get most of the planned features implemented. Friends of mine really want this and like screencaps I've sent already. It's a project I've been working on with @Gianlu for the past few days.
Week 85 - 2018 General/Personal Goals:
- Get over my motivational issues.
- Get over my depression/loneliness
- Get over my social anxiety.
I'm trying to better myself, both in coding and personal life. I fucking love this community. I used to use Reddit to find posts exactly like the ones here, but this is wayyy better and has everything all in one place.
Have a prosperous 2018, guys. Remember not to look at what you want to get done in just 365 days. You need to see the big picture. -
When it comes to work, I wouldn't say that I get low motivation. In every single job that I have been in I have seen some terrible coding, or when I review my previous stuff I find it was also terrible. Always wanting to improve/refactor stuff is always a motivation as it'll in turn make me a better programmer. Also I hold that belief that you have to do the shit out of your job since you can be replaced!
-
My coding style is mostly influenced by good old personal preference, but also because of a certain internship where there was a lot of gain to be had by making everything as reusable and testable as possible.
I guess you could say my motto is usability, readability and flexibility:
I like tidy, reusable code with an emphasis on keeping code readable. I've always liked modular things I guess...
And I despise two things: curly brackets on the next line and spaces for indentation... But way worse is having no brackets at all (looking at you Python): it's clearer to have lower-level code inside some sort of "container" markers i.e. brackets (also gives more IDE functionality like color-coding hierarchically).
Indentation should always be tabs so anyone can have their own width of indentation set through their IDE, making it way more accessible to fellow colleagues!
And I also like having parameterized code over hard-coded functions: way more flexible. -
Feeling a little frustrated lately, just been a few months in this company and its all great, even my boss congratulated me the last week for deliver some well made features but i think i should be learning more and coding faster, im always giving the best i can but its never enough. (Sorry if i mispell something, english is not my native language)1