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 - "time2"
-
Windows 10 source code apparently leaked!
The main.c file is short tho and unchanged since 95(it's just run in parallel) so I'mma just paste it here:
void WinMain(int nCmdArgs){
static int userDisgust = 5; //he/she booted up Win10 so 5 to begin with
Time time = Time.time;
while(!crashed){
Time time2 = Time.time;
if(time + 3600 < time2){
ApplyUpdate();
sleep(500000); //users can stretch, have a tea and overall be healthier, happier and better part of society
if(restartNecessary){
Restart();
}
Restart(); // just in case
}
SendUserData();
SendMoreUserData();
for(int i = 1; i < 99+1; i++){
RunUserApps();
UninstallUnnecessaryApps(); // keeps blacklist of apps that John and I don't like
AnnoyUser(); // added a function that slows the computer down significantly and reduces lifespan of the hardware so it's not just a short term gain
if(shouldRepeat){
//break; -- this caused some issue in one special case and we don't know why so we'll just omit it and add a fancy button elsewhere
}
userDisgust++;
}
if(userDisgust >= 2147483647) { //mission finished
Crash();
crashed = true;
}
}
String error = Windows.GetFullErrorMessage();
error.cat(Windows.GetRegistersDump());
error.cat(Windows.GetErrorCode());
error.cat(Windows.GetStackTrace());
error.erase(); // so that it doesn't occupy any space and allows the error to be resolved more quickly, release major optimization Update
BSOD(_T("We're sorry :/"));
}6 -
Trying to build a mobile first application that relies on camera and geolocation data but use drupal to do it.... ARE YOU FUCKING SERIOUS .. WTF is this shit?! ... let me nail in this screw with a banana.2
-
"Knowing" Bootstrap or Foundation is not the same as knowing CSS. If you claim to know css and you can't even tell me what media query is or how to make a page even semi-responsive without a css framework, please do everyone a favor and fuck off.2
-
> 1 hr meeting
> 30 min free
> 30 min meeting
> 3 hour meeting
> 30 min free
> 15 min "check point"
> How hard is concrete from 20 stories?!1 -
I am a pretty well of dev with a nice job and a nice salary. Yet I still suffer from imposter syndrome. It's nice to get on here and read rants about shit I've also has issues with or just feel better about myself because I wasn't the one the person that rant was about. Cheers to you devrant1
-
If your a developer please learn to program. There is no reason that this should ever be a package https://npmjs.com/package/year-now/1
-
HOLY SHIT. short story, just dodged a bullet. Using the Samuel L Ipsum generator and not thinking. I then use this copy to test the notification system with the following text. luckily the system email only went to me!
"Look, just because I don't be givin' no man a foot massage don't make it right for Marsellus to throw Antwone into a glass motherfuckin' house, fuckin' up the way the nigger talks. Motherfucker do that shit to me, he better paralyze my ass, 'cause I'll kill the motherfucker, know what I'm sayin'?
Well, the way they make shows is, they make one show. That show's called a pilot. Then they show that show to the people who make shows, and on the strength of that one show they decide if they're going to make more shows. Some pilots get picked and become television programs. Some don't, become nothing. She starred in one of the ones that became nothing."1 -
That feeling when your debugging your code for two days only to relies that the file extension you passed to a method and the file extension you expected are two completely different things :facepalm:1
-
please tell me who had the great idea that someone should put screen shots of a web page in a excel sheet to include as their "bug" report. I cant fathom that someone once thought this idea was "good"1
-
hey guy just FYI node is not a Fucking cure all.
also "knowing" node doesn't make you a Fucking full stack developer. learn some real damn languages.10 -
Want to weed out bad Devop potential hires? Ask them how their ideal branching strategy is designed. Such a simple question will tell you a lot!4
-
god damn it, your a grown ass fucking person. Why the fuck can you not be mature enough to stay on slack during business hours?! GAH!!!!!!!!3
-
Got a new devops "manger" today we had an argument for 20 mins about why Staging/UAT was needed and why we could not just by pass it and get to prod quicker .. WHAT?! I am dumbfounded I do not have words to express the emotions I am having right now.2
-
ProTip :: Avoid code conflicts by commenting out Git header references. Never worry about "resolutions" again
-
bad APIs lead me to leaving comments like this
```
// we do not know how many pages their may be.
// im thinking of space invaders here, reverse direction and increase speed!
// only we are just adding one and creating an infinite loop that is only infinite until it isn't```1 -
Having to approach your manager and bringing you that you haven't been meeting your deadlines due to being distracted dealing with depression is by far one of the hardest things I've ever had to do.. If you need help reach out someone is always willing to help!4
-
Oh Monday how I loath you.
Why can you not allow anything to go according to plan?
Why do things that worked on Friday no longer work on Monday?
Oh Monday ...