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 - "void"
-
"Give someone a program, you frustrate them for a day; teach them how to program, you frustrate them for a lifetime." - David Leinweber6
-
"Telling a programmer there's already a library to do X is like telling a songwriter there's already a song about love." - Pete Cordell5
-
GF: I swear, you're spending more time staring at the screen than actually typing anything.
ME: Because literally 80% of coding is staring at the screen thinking about how to code something. My mind is an endless void of possible approaches to a problem.4 -
"Every great developer you know got there by solving problems they were unqualified to solve until they actually did it." - Patrick McKenzie1
-
"A good programmer is someone who always looks both ways before crossing a one-way street." - Doug Linder7
-
Hehe, stumbled upon an oldie :-)
struct ComputerContractor
{
double salary;
long lunches;
float jobs;
char unstable;
void work;
int hiring_him_again;
const pain_in_the_arse;
unsigned agreement;
short fuse;
volatile personality;
static progress;
};
/* and there are no unions in sight */3 -
"One of the best programming skills you can have is knowing when to walk away for awhile." - Oscar Godson2
-
Fuck these movie people:
You run "sudo apt-get update.." and you say we've got the signal. Your f*cking signal! Am sure someone even typed the password for you. I update my system every 5 minutes I have got no signal. F*ck you again. I'm not watching the movie again. P*ssing me off.7 -
why are we having a flame war on best programming language! it is personal choice and everything has its own purpose and importance. as a dev we should respect that14
-
Your website looks great. I have told my secretary to send you your payment.
Wait, I forgot to check it on Internet Explorer. Give me a second let me check now.
Me: Sir, I suggest that you complete the payment before you proceed with any further tests!
,,,,*3 -
Am 23, I plan to have 4 kids in the future.
This will be their first names
1. Ruby - Female name
2. Pearl - Female name
3. Haskell - Male name
4. Python - Last born. Most loved. But am sure he will hate me for his name😂😂
All I need is a wife now or a girlfriend could do🤔...38 -
Sometimes I stare at the screen with my void eyes, questioning my abilities and say with a shivery voice "WTF" and refresh the website.
Then it works again.3 -
Void foo() {
try {
//Try something
} catch(exception e) {
foo();
}
}
When I saw this in production I cried a little...9 -
static void TryOut<T>(T newStuff)
{
try
{
self.Learn(newStuff);
}
catch (NotUnderstandingException)
{
// At some point, it will work, just call it again
TryOut(newStuff);
}
}4 -
public void method()
{
// :(
}
instead of
public void method() {
// :)
}
bothers me more than it should20 -
import java.util.Exception;
try {
public class A {
public static void main(String args[]) {
new Exception();
}
}
}
catch(Exception e) {
System.out.println("Got you BITCH");
}9 -
It bothers me that IntelliJ IDEs and Documents on Google Drive don't require Ctrl + S to be pressed to save a file.
That's like my birthright taken away from me!8 -
if(isStressedOut()) {
procrastinate();
}
meanwhile (somewhere else in the code)...
void procrastinate() {
procrastinate();
}9 -
I never knew how much I needed something like devRant until I got it. This has filled a massive void in my life.5
-
C is not that hard:
void (* (* f[ ]) () ) () declares f to be array of unspecified size, of pointers to functions, which return pointers to functions which return void.
By the way, I am uncomfortable with the fact that I am comfortable with this statement.6 -
My first code :-
#include<stdio.h>
void main()
{ printf("Hello Divya"); }
Output :- I have a boyfriend...1 -
public class HelloDevRant
{
public static void main(String[] args)
{
//Commenting for reasons! ;)
System.out.print("Hello dear devRant community!\nI am new here!\nNice to meet you.");
}
}5 -
// I can't be the only one...
public static void p(String inpt) {
System.out.println(inpt);
}
...
p("That much typing is unjustified.");13 -
First step of creating antivirus,
void main() {
printf("✅Scan Complete.
0 threat found.
Upgrade to premium");
}2 -
My first code:-
#include<stdio.h>
void main() {
printf("Hello Priya");
}
Output:- I have a boyfriend!9 -
I used to work in a tech support
when I got to know there is a vacancy for a developer I hopped on to this interview. the requirements were for a .net developer and who had some knowledge with JavaScript. I went there gave the interview. I'm honestly saying I didnt knew a thing of both the worlds I knew my coding skills are good enough and it is a matter of syntax which I need to learn.
after the interview the director of the organization told me that he has been informed about my poor knowledge of the languages. I just told them that I got to know about the interview at the last minute and I never even installed visual studio until last night. I asked them to give me some time so that they can evaluate me. I asked them to give 2 weeks of time.
they agreed and after that each day I was given tasks which I had to complete.
on the 14th day the director told me that he was very impressed and wanted to offer me job. and this is how it all started in my current organization it has been more than 1 yr now -
“Looking at code you wrote more than two weeks ago is like looking at code you are seeing for the first time.” – Dan Hurvitz1
-
It has come to my attention that people like to read!
Specifically, I mean that a lot of ranters like fiction.. :D
I've been trying to decide on something to write for a while now, and I think I have it..
"The Traveler" (name open to suggestions)
The Traveler is a magic-based fantasy where our main character travels between world's using ancient stone portals (think: Stargate) and uses her unique powers to play god.
Each world she visits will equal to a different story, and she might play a good or bad guy (or both) depending on what the world has in store for her.
Her powers will include my WIP magic system from RISE, as well as some extra querks that aid the flow of the story.
I may still work on RISE, and I will keep in mind that The Traveler and RISE come from the same universe (I think RISE will be a prequel to The Traveler, and tell the tale of how she got her powers, and the origin of the portals..)
Let me know your thoughts below! ^~^35 -
What piece of advice u can give to a couple who are developer and getting married.
*Don't forget to COMMIT*2 -
I'm planning on making a start-up. The brand name will be 'Void'. And motto:l is 'Because Nothing is Better Than Something'. I'm not kidding.
Just want to know if that's a good idea 😂😂10 -
Found this gem in some old piece of code:
public static void printStackTrace(Exception e){
e.printStackTrace();
}3 -
I am very happy that I found devRant. I work from home so ranting to other developers in person is impossible... thank you for filling that void.3
-
Facebook: Take this video
Me: No, thank you, I'm good.
Facebook: come'n it won't even take you a minute
Me: I'm quite busy
Facebook: Please...
Me: okay I will take a look
Facebook: Video will continue after a short ad1 -
/* MacOS source code
Copyright Snapple, Inc
Private and confidential */
void resumeFromSleep() {
if (rand() > RAND_MAX / 2) {
freezeSystem();
} else {
reallyResumeFromSleep();
}
}4 -
I think: "please send us an email"
is a polite way of saying
"please fuck off and don't call again".
May be I'm wrong 🙄8 -
#include <stdio.h>
#include <devRant>
Void main() {
While (true) {
If (devRant == awesome community) {
beOnDevrant();
}
Else () {
//This else function leave free to delete it devRant cannot be bad
}
}
} -
My job feels (and acts) like a soulless void.
Wow, that sounds like lyrics to an emo song for adults. screw that.
But it's still pretty accurate: While I have quite a few coworkers, and they're at least somewhat chatty, they never seem to respond to me, or even notice me. I see them talking, but anything I do or say gets ignored. It goes into the void and disappears.
I talk in the off-topic channels. People talk around me.
I make comments on releases. No responses.
I talk about music I've been addicted to. No responses.
I talk about food and cooking -- a popular topic at work. No responses.
I respond to an invitation to join the security team. No responses. (well, an empty deferral)
I release various features, some both my boss and a coworker described as "soul-crushing." No thanks, priase, appreciation; honestly, no one even seemed to notice.
I build useful utilities and functions for other devs to use. Nothing.
I optimize the scripts everyone uses on a daily basis, and mention it to others. Still nothing.
The void eats my efforts, and occasionally spits out parcels of work for me to do. The only responses I recieve from the void are when I ask about its parcels of work. When I send them back completed, nothing happens -- unless they need more work. If they do not... nothing.
My previous job was friendly and nice and rewarding.
The job before that was Hell.
This one feels like Purgatory, but ... somehow emptier.rant this doesn't help my burnout this doesn't help anything. the void this doesn't help my depression15 -
I interchanged my space-bar key with my delete key.
I think this is one of those many times everyone is wrong and am right1 -
Feeling very sleepy.
Me: Just one more feature and am off to bed.
Completes feature using 2x normal time.
Me: I just did a feature whiles feeling sleepy, I can do it again.
Can't think, can't type. But won't stop.
Wake up next day. What the f*** did I do here ?
I don't exist anymore.
💤💤💤4 -
#define void 🦈
#define main() 🐬
#define { 🐋
#define } 🐳
#define printf("hello sea world"); 🌍
🦈 🐬
🐋
🌍
🐳5 -
abstract class :
protected virtual void doSomething()
{
//some stuff
}
child class
protected override void doSomething()
{
base.doSomething();
}
IMHO this is what go fuck yourself means.......4 -
So the lecturer refused to answer(yes he's a jerk) but after void can it be anyword for a function or is there specific words that can only be used?
I was confused when he put void flashing...
We were using processing.9 -
+ “I’m drunk, but I can still drive.”
+ “I’m tired, but I can still finish this piece of code.”
+ " I don’t need a silly seatbelt.”
+ “Tests? Naw, I’ll just push this to the Master branch.”2 -
You know what?
No you don't!
PHP decided 'in time memorial' to deprecate their 'split' function for another function called 'explode' that splits, oh sorry, that explodes a string.
Now you know something!8 -
Unnecessary Redundant Comment:
// this get data
public void getData(Data data)
{
.......
}
Why Just Why?19 -
God, Allman indentation style is such pain... God bless K&R...
For those who don't know, Allman is this:
void foo(void)
{
statement;
statement;
}
and K&R is this:
void bar(void) {
statement;
statement;
}14 -
Class DonaldTrump extends Shit implements Asshole {
public final boolean PRESIDENT = false;
public final String THINKING = "bullshit";
public void talk () {
System.out.println(THINKING);
}
}1 -
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.1 -
class Life extends Death{
public static void main(String...args){
Guy me = new Guy();
me.born();
GirlFriend gf = new GirlFriend();
me.setGirlFriend(gf);
me.getMarried();
me.haveSon();
me.die();
}
}
------- Exception on line 5: NullPointerException, girlfriend cannot be null ---
Daaamnn6 -
public void 2016(){
if (badLuck = NOT_ENOUGH)
badLuck++;
else
badLuck++;
}
public String 2017(){
return HOPE_FOR_THE_BEST;
}
Happy new year fellow programmers!6 -
Windows 10 Image viewer:
void ShowImage(string imagePath) {
Thread.Sleep(3600)
imagePath:GetImage().show = true
}
Sorry if my code is bad. But you understand what i mean xD2 -
int counter=0;
void loop()
{
if (counter>=10)
{
// nothing
}
else
{
Serial.println(counter);
counter++;
}
}
This is what I call bureaucracy3 -
public class Main {
public static void main(String[] args) {
System.out.println("Hello, World!");
}
}
sorry for my messy code23 -
“Computer science education cannot make anybody an expert programmer any more than studying brushes and pigment can make somebody an expert painter.” − Eric S. Raymond3
-
Random thought: directing stdout to /dev/null is the programming equivalent of screaming into the void.4
-
function Life(crap):void
{
crap = Lemons;
Return crap;
}
function Solution(liquid)
{
liquid = Tequila;
Return liquid;
}
function whatYaGonnaDo():void
{
Life = null;
Liquid = null;
life (Life);
if (life="Lemons")
{
solution(liquid);
}
}
//sorry i was bored. (not sorry)4 -
People: You're creepy
Me: can't determine whether I shd feel good or bad.
Ok so I'm creepy. Thanks.☺️4 -
One Join is fine.
Two Joins I can live with.
Three Joins and we are starting the project from scratch again.
Fuck you! What do I pay you for? Eating berries? No!12 -
Has anyone ever wanted to be ignored? Like talking to an empty void, not wanting a response? Just want to be alone?12
-
“There's one technique that you must use if you want people to listen to you: listen to them.” - The Pragmatic Programmer 📖2
-
private String field;
public void setField(String field) {
field = field;
}
// I was wondering why didn't the value change3 -
"A primary cause of complexity is that software vendors uncritically adopt almost any feature that users want."- Niklaus Wirth2
-
“Falling in love with code means falling in love with problem solving and being a part of a forever ongoing conversation.”- Kathryn Barrett
-
Big Brand Company
Wasted 2 days on induction about what to do and how to do.
After 2 days, Reach at workplace and called my line manager (LM). after 2 3 calls, he pick the phone and said please reach to 3.2L5
Now what the heck is this term how the hell I know what means by this magical number. It was never told in the induction that what building name is denoted with.
Called LM again and now LM annoyed at me and said to enter into building and ask for XYZ person ..I asked whom I need to ask..He said ask anybody..
When I enter I ask a security guard there and he was like numb...There are fucking 5000 people in the company.How someone will know by name..Is that guy is superstar or something?
Again called the LM, Now he yelled at me. ..Why you are asking the security guard ..I said he do not allow me to enter so what I need to do..I requst him to please guide me as I am new and nervous here..
Again no luck ..Asked already 4 to 5 people..
Finally one guy who also joined with me, helped me to reach the guy.
LM was actually running late and when he reach, I came near to him 2 greet ans he again shouted with loud voice " What are you doing man"
#firstDay8 -
So apparently our windows domain admin now disabled screensavers.
I was always happy to return to my desk while looking at the pixel city screensaver I had and now it's just black.
I am mildly angered 😑8 -
Just started learning C, had to tilt my head a little to understand this :
(void (*)(void *)) func ()3 -
Suicide Linux:
You know how sometimes if you mistype a filename in Bash, it corrects your spelling and runs the command anyway? Such as when changing directory, or opening a file.
I have invented Suicide Linux. Any time - any time - you type any remotely incorrect command, the interpreter creatively resolves it into rm -rf / and wipes your hard drive.
It's a game. Like walking a tightrope. You have to see how long you can continue to use the operating system before losing all your data.
Please install: https://qntm.org/suicide9 -
Public class douche implements douchebaggery {...}
Public interface douchebaggery {
Public void beInconsiderate();
Public void wearSunGlassesIndoors();
}2 -
Fuck, my client uses Internet Explorer!
Have being wondering why things never works in his browser. Damn! Now I understand.2 -
I just installed voidlinux and daaaamn this shit is good. Its so lightweight and fast :3
And I don't even need the AUR to install i3-gaps. Its in the fucking main repo.
Now I'll just shut the fuck up and continue experimenting3 -
Best: completely switching to (void)-Linux and leaving winblows behind me in the dirt.
Worst: everything else1 -
/**
* // sad truth to everyone focusing only on age++ part :) IN YOUR FACES!
*/
public void birthday() {
age++;
ttl--;
}2 -
it kills when people say dual boot Linux with Windows. I know how painful it is. as people who like to install Linux just pray why doesn't Linux supports it all. because all they want to do is use Linux full time. 😑😖😭8
-
How modern smartphone OSs (Android) deal with battery charge.
// handler for when the battery level changes
public void onLevelChange (BatteryInfo info) {
if(info.batteryLevel() < 99) Device.getBattery().drainAllCharge()
}1 -
Finally after wondering for hours why the constructor of a class does not get called...i notice that constructor don't fucking accept a return value data type (void)...😡😒8
-
Use different indentations in same program.
for(.....) {
}
if
{
}
else
{
}
void doSomething
{
}
static{
}
I have to stick to one convention anyhow soon.. :/3 -
Today's assignment made @safiullah lose his mind.He literally wrote:
void someFunc(int x)
{
x = x ;
}7 -
/** Called when the rant is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState); setContentView(R.layout.dev_rant_first);
Log.d("Introduction", "Hello, devRant community!");
} -
Oh yeah am very religious.
I attend the Church of JavaScript.
We code 5 times a day.
And pray on Sundays for Internet Explorer.
By keeping away from bugs and living a functional life
We will all one day meet the web in native paradise4 -
after playing Pokémon go consecutively for the last 2 days I have forgot myself as a developer. it was hard to join office today.
-
interface Flyable {
public static final int wings = 2;
void fly();
}
This is a good use of interface a/c to my CS Prof
(╯°□°)╯︵ ┻━┻21 -
me@devrant:~$ sudo apt-why install gnome
Sorry, unable to find a reason to install gnome.
Try Xfce, Cinnamon or KDE instead5 -
There's only one place I want to spend my summer holidays:
The black hole.
I don't know about you. But earth is already boring!4 -
Saving to buy a Mac.
I'm a full stack developer: I do Web Development, Backend Development.
Not a graphic designer but I use Photoshop and Illustrator to modify assets that I receive clients.
What is a good budget Mac Laptop that I can hang on for most of my work ?16 -
after working in my company now I feel like a detective all I'm trying to do is find a issue in clients files.
-
When you open a previous employees production JUnit tests and see the below:
@Test
public void test1(){
...
}3 -
"When we use a language, we should commit ourselves to knowing it, being able to read it, and writing it idiomatically." - Ron Jeffries1
-
When your friends wants you to help them code in Java and they type
public void Main String
without any instruction ... -
“Computer programming is like the ability or skill to see what Picasso saw from all the different angles at once” - Erik Naggum
-
Now I am ranting, Everyday I rant, Yesterday I runt, Tomorrow I shall rant, Already I have ranted.
[Shaking my head, wagging my tail, moving in circles, no beer, for no reason]1 -
“Be curious. Read widely. Try new things. I think a lot of what people call intelligence boils down to curiosity.” - Aaron Swartz2
-
Working with Microsoft.CodeAnalysis.CSharp
where I work with CSharpSyntaxTree
I can compile the code in code.
So basically,
SyntaxTree syntaxTree = CSharpSyntaxTree.ParseText(@"
using System;
namespace InAppCompiler
{
public class Writer
{
public void PrintText(string message)
{
Console.WriteLine(message);
}
public void ALLCAPS(string msg)
{
Console.WriteLine(msg);
}
}
}");
Freaking cool!3 -
public class Celebrations {
public static void WishHappyBirthday(String toWho) {
if(toWho == null || toWho.isEmpty()){
System.out.println("Can't wish" +
"happy birthday to" +
"someone that doesn't exist");
return;
}
System.out.println("Happy Birthday " +
toWho + "!!!");
}
}1 -
There are so many movies that explore the idea of the "void". A world between worlds where dark forces are at play. Only necromancers and evil geniuses dare touch the void.
Programmers be like:
void doSomeDarkShit(void* magic);4 -
#include<semester.h>
#include<tension.h>
void pain()
{
mind=confused;
while(study!=done)
{
paper = back;
parents=scold;
}
if(i==pass)
{
tension free;
}
else
{
go to hell;
}9 -
I've just noticed, the rest of the world says things like "your check is null and void," as if those two things are one and the same.
Meanwhile, to us devs, they couldn't be any more different! Something can't be both null AND void! 😅undefined void null function return values memory locations c declaring variables c++ coding pointers8 -
TL;DR - an entire emulation of a closed source CMS to develop a theme
The longer version:
We are using a cms that is closed source, and we only have access to frontend files alongside twig files. The CMS is custom built but many aspects are in a very rudimentary state, for example it is nearly impossible to develop locally, we have to use an integrated text editor to code stuff.
So out of frustration, and for my development needs, I decided I would make an emulation based on Symfony 4. Also because my PM was pressing me to optimise our site. I wrote some custom JS to handle everything smoothly, a semi-sass framework and well-structured twig files.
I was also supposed to work with our graphic designer, but she didn't get any alloted time from our pm to work on it...
Now PM asks me to write a specifications document in order to make another company build the new version
I mean wtf, I'm so bored, I can actually enjoy my day by coding, and no, I'm just there to write the specs.
When I told PM I am currently building the new version, she's like "but we didn't validate anything", when she explicitly said I had a green Go to code it a few months back
Instead I have to make prezies and convert them back to PowerPoint because we have computer-illiterate people in the company who aren't flexible to understand simple tools.
Let's hope it won't get useless by Friday (I have a presentation to give, alongside my estimates and project management presentation)1 -
void Birthday (int age){
cout<<"Happy Birthday\n";
if(age % 10 == 0)
{
cout<<"Holy shit, you've been alive for "<<age/10<<" decades"}
}2 -
You see, I'm just the type of person who stares at those staring at something else and wonder why they stare so much.1
-
AAARGH
I fucking give up. I can't debug my code, and all my programmer friends have better things to do than to help me. The fact that portaudio requires me to store things as void* makes it even more convoluted if possible.3 -
Everlasting summer has filled the void in my soul from a cliffhanger that Doom is, and now I can sleep calmly2
-
First c class. Techer starts by telling us to use void main() and that it is necessary for program to run correctly. Someone kill me.4
-
Long story short:
My system need to talk with a 3rd party PoS API. The provided doc is pretty useless and with few errors.. nonetheless I came to finish the 99% of the job.
I was stuckd on the 1%, one frickin function.
Everytime I would call the endpoint I would receive...NOTHING. Just a 200.
I've spent like 5 hours trying everything, even sending wrong params...nothing...
Always 200 and nothing else.
Apparently, for an entire nation and the IT Company behind them, is ok to have A PAYMENT API TO RETURN VOID AND A 200 NO MATTER WHAT.
I got the luck/unluck that the main developer of such piece of art came in the office and I've almost throw him out the window (we are at 26th floor).
FUCK OFF DUDE. YOU AND ALL THE OTHERS THAT DO LIKE YOU DO.
P.S. in this days I'll try to write the full story, but it's hard without giving many details...small anticipation: 1.5 months of work and nothing but red bull and coffee...5 -
void encrypt(...) {
[...]
output.Write(iv);
output.Write(salt);
[...]
}
void decrypt(...) {
[...]
input.Read(salt);
input.Read(iv);
[...]
}
Took me 2 hours to figure out why it kept giving me decryption errors :/3 -
I can't really figure out how I grew from learning_syntax -> remembering_function_names -> following_patterns -> developing_a_personal_style -> reading_the_doc -> getting_the_source.
Well I have a long memory problem, so I guess it happened overnight!
Wait, did the doctor say it was a memory problem? Hell no! -
I just rsync my current project with one that is a week outdated. Instead of pushing, I pulled the update. Worst, it had a --delete flag.
Have being working on it all week. Finally client asked for updates and I instead pulled the outdated online project to replace my locally updated project folder.
I'm dead😪7 -
public static void turnItUpTo(int val) {
this.setLevel(val);
}
public static void main(String[] args) {
turnItUpTo(11);
System.out.println("Rock out");
} -
As a child I was raised to say "Thank you" to people, esp when they offer me services for free, and even when when not for free. I did this so often, I don''t think about anymore.
However, recently I'm realizing that: there are times when saying a "Thank you" isn't right.9 -
"Be Curious, Read Widely, Try New Things. I think a lot of what people call Intelligence boils down to curiosity." - Aaron Swartz
-
Always always always restart command prompt after changing path variables!
Learned this the hard way after struggling for like 2hrs1 -
*after getting to know about Pokemon go from here I downloaded it from the net.(not yet released in India) and I'm so addicted to it. I have already caught 3 Pokémon.
got it installed on my colleagues phone and we both are now roaming near by our office to find some more. absolutely loving it.2 -
*manager behind my back
me working on vim
manager thinking hell he knows this s***
manager leaving, me switching to npp "this is so easy" 😂😂😂 -
Questions that are bothering me:
When a function that returns void returns, is any value from the stack frame copied into the register?
Is the return address in the stack frame even allocated, or is it nullptr?
Could a void function theoretically return a value if you hacked one into the frame?
Does the register even know to expect a value from a void function? If so, where is the logic for this and what is difference between a void and non-void function return at the stack frame & register level?
Any good books on this stuff?2 -
I want to distro-hopp again,
Current candidates for the next round are Funtoo and Void Linux.
Any recommendations and comments are welcome.9 -
What coding at work is supposed to look like:
class myclass {
public:
void myfunc;
void.... And so on so forth.
What coding at work actually looks like:
class myclass {
pub--"Hey can get line one? <name> is asking for you."
(20 minutes later)
public:
void myfunc;
vo--"Hey <same name> wants to talk to you again."
Programming doesn't give me gray hair, distractions do.3 -
Devranters, you should make your products available on local stores in Asia, esp India. Like on Flipkart. I seriously need a 'stress ball' 🤔. I read it can help me stress more. Hence rant more! Not a coincidence
-
two developers must talk like a developer and not like one being a developer and other being client!4
-
My web dev teacher was drunk almost every lesson, and my C++ teachers don't care about visiting our high school)) All we know is learnt by ourselves
Other teacher hates when we type
void smth(){
}
Instead of
void smth()
{
}
And wants to overwrite the code to fix these style errors))3 -
Good cloud based IDE's for Java, Python and C# - any suggestions?
Should I place my braces after the method header or under it?
1.
public void test(){
}
2.
public void test()
{
}
Or is it just personal preference?17 -
"Don't worry if it doesn't work right. If everything did, you'd be out of a job." - Mosher's Law of Software Engineering
-
I don't know but, I want to buy a Raspberry Pi. I quite good at programming and want to learn a few hardware tricks.
Not expecting much from it but I guess I can program (play) with it.
What can I do with a raspberry pi that I can't do with my laptop already??10 -
class day {
public void standup(Coffee cof) {
Human.drink(conf);
}
public void school() {
boring = true;
}
public void code(Coffee cof) {
turnCoffeeIntoCode(cof)
}
public void repeat() {
standup(new Coffee());
school();
code(new Coffee());
}
}2 -
#include <midsemester.h>
#include<tension.h>
Void pain()
{
Mind=confused;
While(study!=done)
}
Paper=blank;
Parents=scold++;
{
if(i==pass)
tension free;
else
Dad's belt;
}
.
.
OUTPUT:
compilation error....Engineering detected. -
Hate new company within a month.
They are downgrading my technology..Seniors are behaving like a boss..It's been a month and I don't know who are in my team.
Project setup is not done and asked to finish the task within 1.30 hrs which has been pending since long days and need to fix on other's machine.
What the heck is this?2 -
I am fucking killing my skill just for few fancy bucks...
Unable to find good job in angular 6 in which I have delivered fantastic project in previous comoany and here working in angular js2 -
How i think i write code
void safeFree(void *ptr){
if(ptr != nullptr){
delete(ptr);
}
}
How i actually write code
void safeFree(void *ptr){
*nullptr = 7; //TODO
}1 -
Im handling One of my senior's project who left the company last year. And now when I'm implementing new things it turns out that he has hardcoded the array lengths which should have been dynamic😤😤😤😤😭😭😭
-
MiniRant on windows
This morning i noticed that the led on the mute key of the keyboard didn't turn on.
I started swearing because I thought the led died (relatively new laptop).
Long story short: reboot windows, the led magically works again.
The only think i can think of is this:
void Windows_Main(void)
{
...
if (rand() % 667 == 666) DisableRandomFeature();
...
} -
/*
* uk.c
*/
#include <assert.h>
#include <signal.h>
#include <stdlib.h>
void brexit()
{
kill(getpid(), SIGABRT);
}
main()
{
/* THE END */
atexit(brexit);
} -
Fuck you
Guy was on leave for 3 weeks and today came and say what you have done in 3 weeks.
I said project set up was not done on my system.
He said so what? what you have done8 -
I just figured out any emails sent from my Gmail account are sent into the void. Gonna try contacting support.5
-
Public static void Main()
{
wakeUp();
massiveProject.refactorLargeSwathsOfCodeForReusability();
smallerProject.findOutItCanBeDoneInOneLine();
Environment.RageQuit();
} -
Sometimes I don't have anything to google when I want to google... so I just open Google and wait for smth to google.
∆÷π√•|`~¶°✓4 -
public void today() throws Exception {
Car c = getPosessions().getCar();
c.wash();
c.wax();
Game g = getPosessions().getUnchartedFour();
while(!g.finished()) {
g.play();
Thread.sleep(1000);
}
this.eatDinnerWith(getFamily());
System.out.println("Today Rocked!");
}4 -
async void day()
{
wakeup();
CheckDevRant();
DoShit();
If(IsInMood)
GoOffice();
while(IsInMood)
{
Eat();
Game();
Code();
}
Eat();
Sleep()
await day();
}
Man I am having a bad day. Stack overflow -
How do you handle it as a developer with people coming to you to tell you they have this big dream app and they want you to work on it. They have no money, No plan, just an idea and they want you to stop your life and get into it.2
-
Huh, I finally secured 15 years warranty on my life from god. He agreed on replacement for production defects only. It doesn't cover physical damages caused by me though.
-
Its time to do some distro-hopping again.
Current candidates are Funtoo and Void Linux.
Any recommendations or other comments are appreciated.5 -
Unable to run internet on company provide Mac book ..fucking. stupid....Tried to remove proxy but not working..Even wifi getting connected and for a second it runs the internet.
How to get rid off this proxy shit6 -
Making classes and functions without commenting what I expect each class and function to do. Which means that my classes and functions have really long names.
Example Code:
Class ReallySpecificClassToWorkWithThisFramework { ...
public void DoThisActionInTheFramework (obj TheKeyToTheWholeFunction) { ... }
} -
The best love is the kind that awakens the soul; that makes us reach for more, that plants the fire in our hearts and bring peace to our minds.
My Dear ~Ruby~. -
Everything makes sense when considered in some way. So in some ways, everything makes sense, even the idea that everything makes sense in some ways.1
-
How do you enjoy a life where you don't wanna do evil and you reserve your rights to recompense for evil done against you?1
-
“Whenever I have to think to understand what the code is doing, I ask myself if I can refactor the code to make that understanding more immediately apparent.” - Martin Fowler
-
A visit to the planet earth.
Alien I: Hey look, look at these things. They work like sloths and sleep like koalas. Wonder how they have survived this long.
Alien II: It's a pity. I told High Commander this is totally a waste of time and resources.
Human: Well, we do have programmers too.
Alien I: WTF!
Alien II: Now, that planet is worth colonizing. Let's get to work then 👽1 -
Bug Report:
When I hit on notifications from my phone, I'm not directed to the rant or comment that is related to that particular notification. I realized that it simply takes me to where I was before I closed the app.
Using Android app. Nougat.
Phone model: MI 55 -
{
while(time_to_exams > 0){
me.shouldBeLearning(true);
time_to_exams--;
}
public void shouldBeLearning(boolean bool){
if(bool){
should_be_learning = false;
waste_time_on_DevRant = true;
} else {
waste_time_on_DevRant = true;
}
}
} -
Monday...Wasted...VDI not working and IT team still have no clue what the hell is going on..
What a sucking support system.2 -
public void DailyLife(bool sleep)
{
While( WaitingForCompile && !sleep)
{
BrowseDevrant();
FindNew("Girlfriend", "tinder");
RefreshIfCold(coffee);
}
DebugCodeIfErrorFound();
DailyLife(Datetime.Now >= Sleep.Time);
} -
abstract class Ich {
abstract void support(CoWorker coWorker);
abstract void programm(List<Task> tasks);
abstract void analyseCode(String code); // mostly horrible code
abstract void drinkCoffee(Mug mug);
abstract void extinguishFireAndKillBugs(String moreLegacy);
}
...
void work() {
ich.drinkCoffee();
while(isWorkingTime()) {
int rand = Random(0,100)
if(rand < 5) {
ich.myMood += ich.programm(tasksForMe);
} else if (rand >= 5 && rand < 20) {
ich.myMood -= ich.analyse(legacyCode);
} else if (rand >= 20 && rand < 40) {
ich.myMood -= ich.support(GetNextGuyToMe())
} else {
ich.extinguishFireAndKillBugs(moreLegacyCode);
}
if(myMood <= 0) {
ich.gotoHome();
}
}
}1 -
I always see complaints of missing semicolons. But personally I always forget the parentheses for my void functions doh;
-
public class MyLife {
public static void main (String [] args) {
System.out.println ("My life sucks!");
}
} -
/*too lazy to convert times to Millis...*/
Private void day() {
try {
Do {
meeting();
while (currentTime < 5pm);
readAndRespond(email);
readAndRespond(slack);
readAndRespond(skype);
}
finally {
realWork();
}
}
private void meeting() {
Thread.sleep(30s); //I wish.
}2 -
void intDatetostr(char *strDate, int intDate) {
if (intDate == 0) {
sprintf(strDate, "%09ld", intDate);
} else {
sprintf(strDate, "%-09ld", intDate);
}
}2 -
@dfox I'm absolutely loving these avatars! btw I know I'm going to ask too much but can you add the facial hair with a goatee and no moustache.2
-
I don't know why do we need to entertain our clients for each and every thing. I mean I'm handling every fucking exception out there I have like 10 flags handling individual stuff. and if I raise this to my boss he will just say. if they are paying then we are doing it. I mean come on!
-
was thinking of learning vim.
searched for vim adventure on Google.
worked on a few levels (must say great game to learn vim seriously) then it asked to purchase a license for 25$.
which I don't have to spend now.
well have to stick to the conventional way. -
“The proper use of comments is to compensate for our failure to express yourself in code.” – Uncle Bob Martin2
-
i saw this and this is wrong in so many ways
public void saveFolder(FolderID folderid, FolderInfo folderInfo) throws DataAccessException {
FolderOrm folderOrm = load(FolderOrm.class, folderid);
} -
A life with no adventure and rough times is like a movie with no suspense. I'd probably doze off half the times.
I mean: no bullets in the air and Chuck Norris is not risking everything for his daughter?
Damn, just shoot me :(2 -
Dev superpower: be able to escape at any time into a white void with my desk and internet to do whatever I want. Work, sleep, Netflix, think.
-
private boolean didWakeUpForNothing() {
if (mathTutoring.isClosed()) {
return true;
} else {
studyForExams();
}
}
private void studyForExams() {
feelEmptyInside = cryInShower = true;
}1 -
How do I create a Collab..
Well, I'm looking to form a team of 2 - 4 members. We will be devoted to learning machine learning through books, Kaggle, self assignments and various group discussions and pair programming. We will form a group name, open a GitHub account and upload our projects there. Am looking up to extending it to build projects together. This can also help us build our portfolios.
There are no tight requirements. But some good programming skills especially in Python will be great and a good understanding of high school math. We will be learning together.3 -
What happens when you scroll up/down a page?
Does the page stay as it is as it moves out of your screen's borders or does it delete itself for resource purposes?
I just thought that while scrolling through devRant and YouTube (which I do all the time).7 -
I usually like sticking to a distro but when the DE I wanted to try and like at the moment in time couldn't be loaded onto manjaro without serious intervention I am deciding to try out void linux with anyone has any tips you can tell me5
-
Writing--
public static void main(String args[ ] ) all the time (in every program)....during competitive programming questions.... :/
I get the meaning but still....just look at c or py...:/ -
I'm running Void-Linux-musl on my ideaPad-320s and found 2 strange bugs, that I've never seen anywhere else.
1. Firefox-DRM-plugin crashes when I open Netflix or Prime.
2. YouTube videos play at slightly accelerated speed, despite being set to normal speed.
Has any one here ever seen those 2?3 -
So I've been waiting for almost a year to find a root method for galaxy s8 g950u (snapdragon) that doesnt have terrible limitations like only 80% battery life and others. I love Samsung but I miss root :(