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 - "2+2=4"
-
Playing 'Skip-Bo' with my daughter.
She: "Why isn't there a zero in this game? You know...0, 1, 2, 3, 4, 5...."
MY daughter ❤️.10 -
1: Get a dog
2: Name dog Sudo
3: Teach Sudo to fetch my mail
4: Invite Linux-friend over
5: Yell "sudo fetchmail"
6: ?
7: Profit19 -
Some ideas for variable names. Thank me later :))
1. bool sheet;
2. int entionally;
3. char mander;
4. double penetration;
5. string cheese;
6. long schlong;23 -
So I "grade" homework for programming 1 students...
Task was to produce an output like:
1
1 2
1 2 3
1 2 3 4
1 2 3 4 5
...and this was committed!
I really had to hold back laughter...
This looks purposefully obfuscated...25 -
1. Go to office!
2. Make coffee!!
3. Start computer.
4. Get to wo.."Windows must restart in order to install some updates".
4. 3 hours later => "Working on updates 68% n/ Don't turn off your PC. This will take a while."
4. Fuck this, I'm going home.
I miss Linux...14 -
Basically my life:
1. Work
2. Game
3. Work on a project nobody will ever use
4. Food
5. Make offensive jokes about WW223 -
Problems with Android development
1. Android Studio is shitte
2. Android API is shitte
3. Gradle is shitte
4. Emulator is shitte
5. My life is shitte20 -
10 Things You’ll Find Shocking About Asynchronous Operations:
3.
2.
7.
4.
6.
1.
9.
10.
5.
8.
(found on twitter by @iamdevloper 😂)6 -
1. Finish my own game
2. Get a publisher
3. Get rich
4. Buy a big house with a swimming pool on the top and get 2 bisex girlfriends38 -
PM asks for an estimate on a bug fix, I say 2 hours, he puts down 4 hours, I finish it in 10 mins. Today was a good day :)10
-
Modern web developer Stater pack
1.Mac with 100 stickers on it
2.Love linux but never used it
3.Border 0px
4.Border radius 2.7px
5.sketch+adobe22 -
Learning a new technology:
1. Denial
2. Anger
3. Bargaining
4. Depression
5. Acceptance
6. Ohh, cool feature~2 -
How to waste 7 hours of your time:
1.) Install Visual Studio 2017
2.) Install extensions for it
3.) Wait for it to destroy itself with updates
4.) Reinstall everything11 -
1. Code works
2. Add if statement
3. Code breaks
4. Comment out if statement
5. Code works
6. Uncomment if statement
7. Code works
8. Wtf??12 -
1. Create user on website.
2. Receives mail with username and password.
3. Changes password.
4. Receives mail with new password.
5. Delete account and look for another service.3 -
When you've got 4 personal projects to finish, 2 computers to build, 1 full-time job to wrap up, an online course to complete, Uni starts in two weeks and your family decided it's the perfect time to go on vacation.
It's 2:30 am and this is my life.6 -
1) Build enough confidence to ask a girl out for a date.
2) find a girl to ask for a date.
3) ???
4) profit10 -
Recipe of cold coffee.
Step 1: Make Coffee
Step 2: Start Coding
Step 3: Forget you made Coffee
Step 4: Drink it Cold
Don't say thank you I understand!33 -
*Asks Question on StackOverflow
*Question get downvoted -2
*Replies to my own question with a solution that I found, and it worked
*Reply get downvoted -4
Cries on corner...19 -
Just finished assisting a junior dev with optimizing his code.
What used to take 2+ hours now takes less than 4 mins! 😎7 -
10-1 AM - 4 of us got drunk.
2-4 AM - 2 hours straight coding, solving big-ass problems
10 AM - Fucking hangover and python code in a java project!4 -
HTTP return codes cheat sheet :
1** : Hold on
2** : Here you go
3** : Go away
4** : You fucked up
5** : I fucked up5 -
Teaching maths to my niece and instead of 2+2=4, I wrote 2+2==4... someone needs break from coding 😂1
-
What I feel when browsing recent lately.
How to get ++:
1. Get Google Allo
2. Ask question about Siri
3. Screenshot and post
4. ???
5. Profit! -
Top 5 reasons to come to Hackathon
1. Experience for your CV
2. Free swags
3. Networking
4. Free swags
5. Free Stickers (swags)9 -
1.Run into issue
2.Go to Stack Overflow
3.Think of best way to phrase the question
4.Find solution while editing post
5.Bang head on desk3 -
1) Open devRant app
2) Enjoy so many great rants
3) Thinks is enough
4) Quit devRant app
5) Immediately open devRant again without thinking
6) ....
(damn my muscle memory)5 -
Best one minute life hack..
1. Uninstall Facebook Messenger
2. Uninstall WhatsApp
3. Uninstall Instagram, Snapchat
4. Install DevRant.6 -
1. Promise anything, everything to clients
2. Set unrealistic deadlines
3. Devs can't meet deadlines
4. Blame the devs
Anyone?8 -
1. Started to program Python 3
2. Thought of doing a little program just for fun
3. Now 1 1/2 years in developing state with nearly 3000 lines of code and 11 modules
4. Python skills :)14 -
Wikihow: how to start programming.
1: install devRant
2: register for stackOverflow
3: add Quora to you blacklist
4: learn programming!11 -
There is code reuse and then there is stupidity. This npm module has 4 dependents and 2 dependencies.18
-
What fresh hell is this
.replaceAll("(//"?)([^//d]+)(//.?)([^//d]+)(//.?)([//d]{3})(//.?)([^/d]+)(//"?)","$1$2$3$4$5$6$7$8$9")
...who is fucking with me7 -
1) Install Debian 9
2) Select GNOME
3) Hate GNOME
4) Uninstall GNOME
5) Install LXDE
6) Love GNOME14 -
1.) Start a small business
2.) Complete my game
3.) Graduate
4.) Get a good University for Masters2 -
1: Open my IDE
2: Think about how much I have to do
3: Try to do it
4: Eventually switch to YouTube2 -
When you see a Java devotee using Python and they're doing something like this:
array = [1, 2, 3, 4]
for n in range(0,len(array)):
print(array[n])
At least I get to tell them "hey it doesn't have to be so hard just do it like this:"
array = [1, 2, 3, 4]
for n in array:
print(n)12 -
I just can't learn dance moves, every tutorial is like 1, 2, 3, 4 ... 1, 2, 3, 4 where's the freeken first step?5
-
Alone on valentines?
1: Buy 100s of plastic rings
2: Hide in the kitchen of a fancy restaurant
3: Put rings in glasses of champagne
4: Watch5 -
Me: Dear Boss, what should I do first? Thanks 😇
1. Rush
2. ASAP
3. Urgent
4. Important
5. Priority
6. I Need That Now4 -
1. Buy a road
2. Name it after an sql injection
3. Have mail delivered to you
4. ...
5. Profit... I guess?7 -
Weekend plan:
1. I will watch react conf
2. I want to complete vim cheat sheet
3. LFS project is too
4. Netflix
5. ........
...
.
.
Electricity : 😈
Fuck..
😡2 -
0. Get a raise
1. Nove out
2. Learn GoLang
3. Have a threesome
4. More weed
5. Build a blockchain project6 -
2:30 am: Okay, I think I found the bug. I'll try a last compile then I go to bed.
...
4:30 am: sh*t2 -
My plan:
1. Draw the logo in paper with black marker
2. Scan with the infamous printer
3. Load in GIMP
4. Edit some parts
5. Put some colors
6. Print or save as image file
7. Use everywhere
As I start to do step 2, I noticed something VERY wrong.
FML24 -
My favorite languages are
1. Python (3)
2. PHP
3. JavaScript
4. Ruby
5. Java
Honorable mention: C++
Can anyone agree?38 -
1) Download version 46 of Firefox as required.
2) Install version 46
3) Open Firefox
4) Firefox then auto updates to version 52
5) Face smash desk and repeat4 -
You know that moment you realize you read/write the wrong variable, and that's why u were stuck for 2-4 hours?
That.12 -
Ruby’s fanciness bit me in the butt today. It’s pretty rare, but often confusing AF when it happens.
array = [1, 2, 3, 4, 5, 6, 7]
array.count +1 +2
# => 1
What the fuck?
array.count +1 +2 +3
# => 1
What the fuck?
+1 +2 +3
# => 6
Okay.
(array.count +1 +2 +3)
# => 1
What the fuck?
(7 +1 +2 +3)
# => 13
Okay...
array.count + 1 + 2 + 3
# => 13
Alright, so spaces matter here...?
((array.count) +1 +2 +3)
# => 13
But not here!? ... Oh. I think I know what’s going on.
Array#count
Returns the number of elements. If an argument is given, counts the number of elements which equal it using ==
Well fuck me.
Ruby is seeing `array.count(+1+2+3)` instead of `array.count()+1+2+3` since `+1` is a value, not an operator followed by a value as is the case with `+ 1`.
Now, why was I using +1 +2 instead of adding some spaces like I normally would? So they would match what was in the comment next to them for easier reference. Heh.
Future dev, I did this for you! So this is all your fault. :|36 -
how people count
normal people: 1 2 3 4 5 6....
me: 0 1 2 3 4 5 6...
them: wtf u doing, 0 is not included8 -
What do you guys call the ++'s on the post?
1. Increments
2. Upvotes
3. Plus pluses (lol)
4. Something else
Reply with your choice🦄36 -
Reciepe for cold coffee:
1. Make Coffee
2. Start Coding
3. Forget you made coffee
4. Drink it cold5 -
It's always fun to compare webdesign to car sales.
Client: We want a car with 2 doors.
We: Here is you car with 2 doors.
Client: Why does the car only have 2 doors? This is very limiting and i think 4 doors work way better.
We: Okay fine, here is a car with 4 doors.
Client: Could you please check on the brakes, i think there is something wrong but i don't know what.
We: Ok we checked the brakes and they are working ok. So here is you car with working brakes and 4 doors.
Client: Why didn't you check on the exhaust? The car is generating big black clouds now...
It's never enough7 -
1. Mailserver is down.
2. Write a ticket to provider.
3. Can't get a reponse because of 1.
4. ?????
5. Profit
6. Scratch that. We're a start-up.5 -
For fucks sake if I send you a clearly described 5 step install instructions do not start on step 3! Yes you fucking moron instructions labeled 1,2,3,4,5 should be carried out one after the other! Not in random order.
Seriously, how deranged are you that you have never ever encountered a step-by-step instruction before?!
Don't give me that "oh, should I have started with step 1 first? You weren't very clear about that. I think it is a bit too complicated."
Here are some more instructions:
1. Close your PC
2. Donate it to someone with detectable IQ level
3. Go fuck yourself
4. Please die
5. Yes, start with step 15 -
I have an interview with one of the big 4 in 2 weeks.
The post is for a java dev, they contacted me even though I'm a PHP dev.
I know the interview questions will be in java... What do I do??? :-(
I worked with java for the last time 2 years ago...22 -
Am I the only one who thinks that 6 10 12 14 are even odd numbers and 2 4 8 16 are even even numbers?7
-
How to solve a problem in 7 steps.
1. Google
2. Open links
3. Read
4. Copy
5. Paste
6. Run
7. Repeat until solve2 -
1. Set your podcast player to 0.5x speed
2. Listen to your favorite dev podcast
3. Imagine they're all drunk
4. Profit -
Me: what's the square root of 5+7(2*4) / 4?
Him: *takes half a second* about 3.74
Intel i7: fucking loser5 -
Classic Wordpress:
1. Find a problem
2. Throw 2 to 6 plugins on the problem.
3. Admit, that they don't fix the problem either.
4. Implement some crappy workaround yourself.
But: It could get worse. You could use Joomla as CMS. Same shit, but without the available mass of plugins.6 -
story points that equate to hours.
1 = 1 hour
2 = 1-2 hours
3 = 3-4 hours
5 = 6-8 hours
8 = Kill. Me.
13 = Now.3 -
Method 1:
1. Read others' people answers on wk70
2. Apply
3. ???
4. Profit
Method 2:
1. cd <ProjectName>
2. git init
3. dotnet new sln
4. dotnet new console #or webapi/lib
5. code .
6. git commit -m "Initial commit"
7. git remote add origin <github link>
8. git push origin master -u
9. profit1 -
I am currently refactoring my code:
1. 200 errors
2. fixed them!!!!
3. build the solution...
4. wait for the build to complete...
5. 300 errors
6. FML5 -
Top 5 World’s Most Hated Programming Languages
1. Perl
2. Delphi
3. VBA
4. Objective-C
5. PHP
Which one do you hate most?16 -
Not usually a person to rant about spacing and conventions but this is great.
4 devs, all using IntelliJ. Now IntelliJ auto-changes tabs to spaces which is nice, and GitHub doesn’t really care as long as the spacing is consistent. Now here is the fun part: 2 devs have 4 spaces per tab, 1 has 3 spaces, 1 has 5 spaces.
GitHub merge conflicts everyWHERE.
And yes it isn’t the old 2 vs 4 spaces. It’s 3 vs 4 vs 5 somehow6 -
4 stages of using VIM:
1. Survive
2. Fell Comfortable
3. Feel Better, Stronger, Faster
4. Use Super-powers of VIM6 -
:/
Project i got to work couldn't get worse
1)Legacy code
2)mathematical model based emulation
3)no proper comments
4)deadline approaching4 -
Who holds the #1 Google spot for these queries?
fuck c#: devRant
fuck typescript: devRant
fuck xcode: devRant
fuck product owner: devRant
fuck docker: reddit (devRant is 2)
fuck java: reddit (devRant is 2)
fuck agile: reddit (devRant is 2)
fuck scrum: reddit (devRant is 2)
fuck sql: reddit (devRant is 2)
fuck node: reddit (devRant is 3)
fuck php: github (devRant is 4)
fuck python: github (devRant is 4)
fuck clojure: reddit (devRan't didn't rank on first page)
fuck rust: reddit (devRant didn't rank on first page)
fuck scala: reddit (devRant didn't rank on first page)
fuck ruby: **am I still connected to the company VPN? I might have some explaining to do** (devRant didn't rank)12 -
4x4ghz CPU, 16gb of RAM, 100mbps downstream and 1tb ssd... and it took windows only 2 hours and 4 restarts to install an update...WTF11
-
1) Open IE or Edge
2) Search "download chrome"
3) Click on top hit
4) Download and run installer
5) Enjoy adware9 -
When my headphones are on :
1 - I can't hear you
2 - I don't care
3 - It's your problem not mine
4 - I don't care -
The debugging loop for Minecraft Spigot plugins on a 4GB RAM laptop:
1. Start Eclipse - 1'
2. Edit code.
3. Build plugins - 2'
4. Close Eclipse to make RAM room for Minecraft.
5. Upload plugins to server with FTP - 1'
6. Start server and launch Minecraft - 2'
7. Enter the server.
8. Find bugs.
9. Stop the server, close Minecraft.
[Go back to 1.]17 -
Random almost tech guy at workspace
1. Opens Google Chrome
2.Types... www.google.co.in in the OMNIBOX
3.Hits enter
4.Types search query.
God just committed suicide meanwhile.4 -
Step by step here:
1. Choosing a stack
2. What to put where(folder structure)
3. Naming stuff(variables, classes etc etc)
4. Finish what I started.1 -
Having an philosophy exam in less than six hours. It's 2 am. Laying in bed, thinking about that stupid DNS bug and how to fix it. I have 4 1/2 hours of sleep left - wish me luck ¯\_(ツ)_/¯4
-
Searching for other occurrences of highlighted word in Android Studio
1 - highlight word
2 - CMD+F
3 - Enter
In Xcode
1 - highlight word
2 - CMD + C
3 - CMD + F
4 - CMD + V
5 - Enter4 -
Time spent during a nodejs project:
- 2-4 hours trying to install modules and dependencies.
- 1 hour actual coding!1 -
Me in front of an year old code snippet:
1) "omg, wtf did i write that time?"
2) "i'm going to fix it"
3) after 2 hours lost trying to get new code working... reset from git
4) look around feeling guilty -
What i have been doing so far
1) create project
2) search google for help
3) copy & paste
4) compile
If not working GOTO 2, else
5) feel good for days1 -
!rant
User: "Hello, I'd like to hear a torrent joke."
Tracker: "I will refer you to people who can tell you a torrent joke."
Peer 1: "Why d"
Peer 2: "cken "
Peer 3: "road?"
Peer 4: "id th"
Peer 3: "cross"
Peer 1: "e chi"
Peer 5: " the "
Peer 2: "the o"
Peer 4: "To ge"
Peer 1: "side."
Peer 5: "ther"
Peer 2: "t to " -
#You never know the sun will rise. I recommend this code style.
a = 2
b = 2
c = a + b
assert a is 2 and b is 2
assert 2 + 2 is 4
assert a + b is c
assert c is 41 -
So I've taken over a project, well, not really taken over, we've been hired to add more functionality to a Wordpress site.
I have never seen such a messy code in my life... variables have mixed languages, indentation is a mix of tabs, 2, 3 and 4 spaces, camelcase, snake case, short names, long names. ' and ", no spaces after commas (gotta save those bytes doode)
Almost like it has been copypasted from everywhere.
I think I said 10-15 hours for it. I think I will spend a lot more time tidying up this code.
Hey, look, 3 index files!!
index.php
index__backup.php
index__backup_2.php
I don't dare to look into the CSS or JS, but I know I have to3 -
I'm having a DAY.
it's like I'm trying to "2+2=4" and hitting "unknown operator =", figure that out, get "22" back, fix that, then math service is down, redeploy math service, wait 30 minutes, that's up, get "out of numbers" exception, turns out a dependency updated and now I have to register what "2" means, fix that, FINALLY get 2+2 to evaluate, I get 5. Figure that out, get 4! 4!!! FINALLY. Push it. Get 55 on the server. Gets 4 on my machine, getting some random 55 from the server.5 -
1. Make a plan
2. Execute the plan
3. Expect the plan to go horribly wrong
4. Improvise
Truest words to come out of the DC (or any) universe!!!4 -
Yesterday night I worked 2 hours on a side project.
This is the first time in 4 months this happens.
Feels so much better man1 -
1. I don't have to use headphones to listen to music. Can listen in speakers and avoid my ears being sweaty
2. No random interruptions from anyone. Interruptions are usually from slack messages and emails which I can decide when to look at
3. Have a solid 1 or 2 hours for coding (because of the above 2 reasons)
4. The time spent in commuting is instead spent on nap or relaxing -
1) Heck yeah, great idea
2) Sit like 60 minutes there thinking about a name for the project
3) Build the basics
4) ..meh fuck it2 -
My small collection
2 DD 8" floppy disks
2 MD 2-D 5" 1/4 floppy disks
2 HD 3" 1/2 floppy disks
1 Jaz disk
1 unassembled 3" 1/2 floppy disk
1 PalmOne sticker to learn the letters of Graffiti 2 (I had a M100, but I do not anything related to it anymore.)5 -
That moment when it takes 4 hours to automate a task which would otherwise take 15min all 2 months to do manually.2
-
So all these year's i've been living a lie? I thought my current i7 laptop has 4 cores but according to a lot of articles are saying mobile chips only have 2 cores?
Why does Windows always say it has 4 though?24 -
4 spaces for indenting..not 2.
This has about a 75% chance to push a dev into a full on rampage mode.
JUST HIT THE FUCKING TAB KEY4 -
1) read every pages of the tech's website
2) follow documentation
3) read online tutorials
4) try to use it in currently working some projects1 -
On Mac, open Terminal...
1. Enter cd ~/
2. Enter emacs
3. Press Esc
4. Enter X
5. Enter either; tetris, snake, or pong
6. Enjoy!2 -
He couldn't sleep for 2 days because he missed her.
I couldn't sleep for 4 days because I missed a stupid ";" in my code. 😟 -
Step 1: open CMD
Step 2: *color 2*
Step 3: *mode 1000*
Step 4: forget what you actually wanted to do -
Priorities:
1. Work
2. Eat
3. Save money
4. Do less of #1
5. Do more of #4
6. Sleep
7. Talk to people
7a. Nevermind - stretch goal4 -
Life as a developer:
1. install cool new lib
2. getting an error
3. google for solutions
4. try one solution => step 2
+ repeat recursively -
Expectations VS. Reality : A new Software Project (After all designs and requirements are clear and fixed.)
EXPECTATIONS:
Day 1: Create workspace, Configure tools
Day 2: Implement high priority Feature
Day 3: Write UT and peer review
Day 4: Push first feature to Prod.
REALITY:
Day 1: Create workspace, Setup configurations
Day 2: Still setting up configurations
Week 1: Almost done setting up configurations
Week 2: New migrations issue, again reconfigure before coding starts
Week 3: Take a vacation
Month 2: Finally things are working but God knows what was the issue...1 -
Using a mac from time to time:
1) Open browser
2) Open Gmail website
3) Insert email address
4) Press CMD+Q to write @
5) FUCK!!!2 -
there it is, couting with: 2 instantes of VisualStudio, 3 of chrome, 1 of firefox, 1 of gvim, 1 of notepad.exe, 1 of Spotify and 2 real notepads in the desk.
2 projects, 4 databases and 1 deadline tomorrow 😂.
man, the 2 monitor setup really helps, when you can, go get one for yourself.3 -
So two guys at the company I work for just quitted, We were 4 in the "dev" department, 2 front end and 2 back end, now we're just 1 front and 1 back, should I try to get a raise?? I've been working steady for 8 months now.4
-
[Me at night]
1 Me: should I sleep?
2 Brain: right after finishing this module
3 Me: <drinking coffee>
4 goto 16 -
How to LAN -Party:
1: PC is starting normally, resolution fucked up, restart
2: booting for 10 minutes, restart, 2 times
3: repair tools open, 30 minutes system recovery
4: finally PC starts normally, everything works expect the game i want to play-.-1 -
Tried pomedoro technique copule of time found that this doesn't work for mE. The only things worked is
1) do 4 hours straight
2) take 1 hour break
3) do another 4 hour straight
works much wetter3 -
"Aww yeah, Bootstrap 4 is coming!"
Shut up bitch! I started 2 years back with web development when I was a noob and since then you are coming.1 -
My 2018 goals:
1. Graduate from the Deep Learning Nanodegree.
2. Get better at Python.
3. Learn C++.
4. Learn more about Machine Learning and AI.6 -
Come up with a bad version of flipping a bool's value. (value = !value)
I'll start with a bad way of doing it in C# (.NET):
char[] bca = boolWert.ToString();
if (bca.Length == 4 && bca[0] == 't' && bca[1] == 'r' && bca[2] == 'u' && bca[3] == 'e')
{
boolWert = !bool.Parse($"{bca[0]}{bca[1]}{bca[2]}{bca[3]}");
}
else if (bca.Length == 5 && bca[0] == 'f' && bca[1] == 'a' && bca[2] == 'l' && bca[3] == 's' && bca[4] == 'e')
{
boolWert = !bool.Parse($"{bca[0]}{bca[1]}{bca[2]}{bca[3]}{bca[4]}");
}
else throw new Exception("y e s");4 -
Docker has taken out 2 of our (6) on prem servers.
It's forked 65k processes to run a health check on 4 stacks...
How's your day going?5 -
- have a look at the project
- brake it down into smaller stories
- estimate the time
- multipy it with 1.5
- add 1-3 days of testing
- add 15% project management
- add a 2 days buffer
= be happy with being done in 2 weeks, present it in 4 -
Me trying to find out what some word means
1. Google
2. Find a good result
3. Notice some other interesting word
4. Repeat -
I completed my 4 pull requests for hacktoberfest and guess what all of them got approved. Yayyy!!
So these are the issues which I fixed in hacktoberfest2019.
1. Fixed readme of imba
2. Fixed the script of devTea
3. Added screenshots for the same (2)
4. Helped a friend with a blockchain script.
Thanks a lot!! @devTea, for giving me the chance.5 -
When you have a Database Theory final exam in 2 hours and you're cramming a 1/4 of the module. #uni #student
-
1. Watch tutorial
2. Build project
3. “I’VE LEARNED NOTHING!!”
4. Call down pox upon instructor and seven generations
5. Rewatch tutorial
6. Get it
7. “Sorry about the boils” -
In the middle of 2 critical bug fixes and your boss 'volunteers' you for a meaningless 4 hour training session.....WTF????
-
Bug requires 2 developers, full-time for 4 days to trace, debug, scratch heads, analyse logs. Third developer helping occasionally. Finally identify fix. Fix is 2 lines. D'oh.3
-
1) Keep improving Java skills
2) Keep learning Python
3) Learn Docker
4) Finally use my Raspberry Pi -
me: Imma start working on this project I have been putting off for a week
me after messing with the chrome console for 30 mins:
(5&&!2||(5||30=== 9)+(2||3==-1)+(22&&7)+(4||5&&3===4&&2)+(!5||5))*(!3||3)+([][[]]+{})[+[]+(![]==[])]+([][[]]+{})[+[]+(![]==[])+(![]==[])+(![]==[])+(![]==[])+(![]==[])]+(typeof(()=>{}))[+[]+(![]==[])+(![]==[])+(![]==[])]+([][[]]+{})[+[]+(![]==[])+(![]==[])+(![]==[])]1 -
1. Exporting fat jar
2. Transferring to cluster using WinSCP
3. Running it in the cluster.
4. Find a small bug.
5. Repeat
I HATE IT1 -
Todo list when you tell someone you are developer:
1. Fix slow computer
2. Remove virus.
3. Help with Microsoft Word
4. Check why printer is not working -
Reciepe for cold coffee:
1. Make Coffee
2. Start Coding
3. Forget you made coffee
4. Drink it cold8 -
Epic comment:
1+2+3+4+....infinity = -1/12
SRC: Numberphile
Dear god, id like to file a bug report(see attached video)6 -
Hate leaving work feeling useless for only writing 5 lines of working code today.
4 hours of meetings, an hour of calls, 2 hours to find 2 annoying bugs and the rest waiting for an api throttle limit so I can test again.
Hoping tomorrow is better!2 -
I might be pushing my 4 years old macbook pro too hard with 2 IDEs, 1 instance of datagrip, and tons of open browser tabs, all on 4gb of RAM..6
-
1. Wrote super complex snippet w/o comments.
2. Commit & push.
3. Read code after 1 month
4. Ask yourself how you wrote that.1 -
While I was exploring multiplication tables I stumbled on something cool.
Take any power of 2 on the multiplication chart.
Now look at the number in the bottom left adjacent box.
The difference of these two numbers will always be a Mersenne number.
Go ahead. Starting on the 2's column of a multiplication table, look in the bottom left of each power of 2 and get the difference.
2-2 = 0
4-3= 1
8-5 = 3
16-9=7
32-17=15
etc.
While the online journal of integer sequences lists a lot of forumlas, I just wrote what came to mind (I'm sure its already known):
((2**i)-(((2**i)/2)+1))
The interesting thing about this is it generates not only the Mersenne numbers, but if you run i *backwards* it generates *additional* numbers.
So its a superset of mersenne numbers.
at i = 0 we get -0.5
i=-1 -> -0.75
i=-2 -> -0.875
i=-3 -> -0.9375
i=-4 -> -0.96875
And while this sequence is *not* mersenne numbers, mersenne numbers *are* in this set.
Just a curious discovery is all.10 -
1. Get more fluent with c#
2. Move together with my girlfriend
3. Get my band started after a 2 year break
4. Increase my salary
5. Decrease my worked hours (I have to many thinks I really enjoy doing)
6. Finally ban JQuery from my workspace for all time3 -
1) search a project on github
2) read its documentation and decide if it's worth it
3) read contribution guide lines
4) contribute
5) start at 1) -
#1 hand in my notice
#2 start my own company
#3 enjoy work
#4 make a metric shit-ton of money (contributes to previous point)2 -
My system needs 2 gb of RAM when 4 gb is installed and 6,5 GB when 16 GB is installed. Any ideas? Running idle system, just everything I usually use.9
-
when you have to validate an email address to fit the requirements of some stupid mail software
(^$|^([^<>()\[\].,;:\s@!&#$%+'{}|~*="]+(\.?[^<>()\[\].,;:\s@!&#$%'{}|~*="]+)*))@((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)(\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}|(([a-zA-Z\-0-9]+.)+[a-zA-Z]{2,})$)
I'm not even sorry.6 -
var todays_tasks = 4, completed = 0;
while(completed < todays_tasks) {
fixTask();
completed++;
todays_tasks += 2;
} -
Took a task with 3 story points ( mappable to ~2-3days) and wondered why it was so much more than the estimation. I expected to finish in 2 to 2 1/2 days but needed 4. Afterwards I just realized that I accidentally did more then needed and finished two upcoming stories as well, each 2 SP so 7SP for everything.
Feeling jumped from "man I could be faster" to "man that was really fast".
It feels like a fuck up, however, it is victory1 -
1. Hard reset his Android phone
2. Install the same junk apps again
3. Complain why the phone is lagging
4. goto 1.1 -
so the PHP Standards Recommendations part two (PSR-2) says
"Code MUST use 4 spaces for indenting, not tabs."
and i feel devastated1 -
How the fuck 4 months of design(2 designers) can be developed with 2 months of development work. (1 developer)
BRILLIANT PROJECT MANAGEMENT IDEA6 -
Dear last dev, thanks 4 leaving little 2 no //comments as u possibly could. 😑😣😢😠
Please //comment ur code!!1 -
You can kill me now...
.entry-item
position: relative
display: inline-block
float: left
width: calc(25vw - (204px/4) - (320px/4))
height: calc(25vw - (204px/4) - (320px/4))
overflow: hidden
@media(max-width: 1600px)
width: calc(33.333vw - (204px/3) - (320px/3))
height: calc(33.333vw - (204px/3) - (320px/3))
@media(max-width: 1440px)
width: calc(33.333vw - (48px/3) - (320px/3))
height: calc(33.333vw - (48px/3) - (320px/3))
@media(max-width: 1200px)
width: calc(50vw - (48px/2) - (320px/2))
height: calc(50vw - (48px/2) - (320px/2))
@media(max-width: 1024px)
width: calc(50vw - (48px/2))
height: calc(50vw - (48px/2))
@media(max-width: 720px)
width: calc(50vw - (24px/2))
height: calc(50vw - (24px/2))
@media(max-width: 580px)
width: 100%
height: calc(100vw - 24px)5 -
Okay so I am a computer science student, and here's what my parents and relatives think I do-
typing random letters and numbers into the computer system until it magically turns into some working mobile app, which is their expectation. While I am coding some addition program just for them to see 2+2=4.7 -
My best mentor was at my first job at IBM. The senior dev took 2 weeks to pair program with me and get me up to speed on all the applications, tips and tricks, and the different legacy codebases. I learned more in those 2 weeks than my entire 4 years at college lol.2
-
Thank God Wikipedia has now a button to snooze the donation request. It annoyed me a lot getting the message while having donated. Won't donate anymore though. They've raped the English language on purpose by accepting "they" as singular pronoun. "their being here" is valid against to them. I won't donate woke misinformation and Merriam Webster, grow some spine65
-
Time spend with coding: 2 hours
Time spend with branching, merging, fixing merge mistakes and check if systemnis building again: 4 hours
What a miserable day... -
1. Think about it.
2. Get super hyped.
3. Tell everyone.
4. Go to step 1.
5. Plan it
6. Execute
7. Profit.3 -
"Sweet, I fixed story 1 and can commit! ...but issue 2 is pretty small, let me just work on that first so there's 1 pull request".
4 hours later, issue 2 not done yet, and I can't push push story 1 to QA until I finish it. I really need to stop doing that.4 -
Work log..
Day 1
1) Starts a new project.
2) Can't connect windows machine to the new router.
3) Wastes one day connecting.
Day 2
1) Switched to Linux (dual boot).
2) Parrot OS sound issue, don't know why.
3) Fixed the issue, upgraded the system. No brain fucked.
4) Sets up Dev Environment, Starts the project.
5) All this in 4 hrs.
#DumbWndows
Now, I'm staying here. #LoveLinux2 -
A small ATM room which is equipped with 2 ACs and 4 tube lights, working 24x7 , is asking me not to print receipt to
save environment 🤔 🤣 -
Commit messages:
1- Defect 6380: fix update of user without end date
2- Defect 6380: fix update of user without end date 2
3- Defect 6380: forgot unit test
4- Defect 6380: fix test
5- Defect 6380: dammit!
6- Defect 6380: raaaaaah!!!!
7- Defect 6380: kill me now -
ranters! who knows what this is ?
0 = Ø
1 = { 0 } = {Ø}
2 = { 0, 1 } = { Ø, {Ø} }
3 = { 0, 1, 2 } = { Ø, {Ø} , {Ø, {Ø}} }
4 = { 0, 1, 2, 3 } = { Ø, {Ø}, {Ø, {Ø}}, {Ø, {Ø}, {Ø, {Ø}}} }10 -
1. Learn Vue.js
2. Learn some backend framework or language like Express.js or ROR
3.Learn Mongo DB
4. Make a progressive web app
5. ???
6.profit? -
I asked for 2 weeks of coding whereas I should have asked for 4 weeks just for coding.
What the fuck was the even thinking? Fuck -
Step 1: stackoverflow.com
Step 2: CTRL + C
Step 3: ALT + TAB
Step 4: CTRL + C
Step 5: FFFFFFFUUUUUUUUUUU3 -
### Functions ###
range = $(if $(filter $1,$(lastword $3)),$3,$(call range,$1,$2,$3 $(words $3)))
make_range = $(foreach i,$(call range,$1),$(call range,$2))
equal = $(if $(filter-out $1,$2),,$1)
### Variables ###
limit := 101
numbers := $(wordlist 2,$(limit),$(call range,$(limit)))
threes := $(wordlist 2,$(limit),$(call make_range,$(limit),2))
fives := $(wordlist 2,$(limit),$(call make_range,$(limit),4))
fizzbuzz := $(foreach v,$(numbers),\
$(if $(and $(call equal,0,$(word $(v),$(threes))),$(call equal,0,$(word $(v),$(fives)))),FizzBuzz,\
$(if $(call equal,0,$(word $(v),$(threes))),Fizz,\
$(if $(call equal,0,$(word $(v),$(fives))),Buzz,$(v)))))
### Target ###
.PHONY: all
all: ; $(info $(fizzbuzz)) -
Ignoring Windows update message, wen suddenly.....it did install Windows 10....Crashed in Setup... nuked my working time by 4 hours...lost 2 commits...3
-
Top 5 richest people.
1.People that own Powerbeats pro
2.People that own AirPods
3.Jeff Bozo
4.Bill Gates
5.Warren Buffet10 -
1. Learn MEAN
2. Learn LAM*
3. Learn to play guitar
4. Learn to play bass better
5. Finish my novel
6. Get paid more.1 -
Probably pure coincidence but if you look at the deconstruction of the dedekinds like so:
>>> decon(6)
offset: 1, exp: [[Decimal('2'), Decimal('1')], [Decimal('3'), Decimal('1')]]
>>> decon(20)
offset: 2, exp: [[Decimal('2'), Decimal('2')], [Decimal('5'), Decimal('1')]]
offset: 1, exp: []
>>> decon(168)
offset: 3, exp: [[Decimal('2'), Decimal('2')], [Decimal('5'), Decimal('2')]]
offset: 2, exp: [[Decimal('2'), Decimal('2')], [Decimal('3'), Decimal('1')], [Decimal('5'), Decimal('1')]]
offset: 1, exp: [[Decimal('2'), Decimal('3')]]
>>> decon(7581)
offset: 4, exp: [[Decimal('2'), Decimal('3')], [Decimal('5'), Decimal('3')], [Decimal('7'), Decimal('1')]]
offset: 3, exp: [[Decimal('2'), Decimal('2')], [Decimal('5'), Decimal('3')]]
offset: 2, exp: [[Decimal('2'), Decimal('4')], [Decimal('5'), Decimal('1')]]
offset: 1, exp: []
>>> decon(7828354)
offset: 7, exp: [[Decimal('2'), Decimal('6')], [Decimal('5'), Decimal('6')], [Decimal('7'), Decimal('1')]]
offset: 6, exp: [[Decimal('2'), Decimal('8')], [Decimal('5'), Decimal('5')]]
offset: 5, exp: [[Decimal('2'), Decimal('5')], [Decimal('5'), Decimal('4')]]
offset: 4, exp: [[Decimal('2'), Decimal('6')], [Decimal('5'), Decimal('3')]]
offset: 3, exp: [[Decimal('2'), Decimal('2')], [Decimal('3'), Decimal('1')], [Decimal('5'), Decimal('2')]]
offset: 2, exp: [[Decimal('2'), Decimal('1')], [Decimal('5'), Decimal('2')]]
offset: 1, exp: [[Decimal('2'), Decimal('2')]]
>>> decon(d('2414682040998'))
offset: 13, exp: [[Decimal('2'), Decimal('13')], [Decimal('5'), Decimal('12')]]
offset: 12, exp: [[Decimal('2'), Decimal('13')], [Decimal('5'), Decimal('11')]]
offset: 11, exp: [[Decimal('2'), Decimal('10')], [Decimal('5'), Decimal('10')]]
offset: 10, exp: [[Decimal('2'), Decimal('11')], [Decimal('5'), Decimal('9')]]
offset: 9, exp: [[Decimal('2'), Decimal('9')], [Decimal('3'), Decimal('1')], [Decimal('5'), Decimal('8')]]
offset: 8, exp: [[Decimal('2'), Decimal('10')], [Decimal('5'), Decimal('7')]]
offset: 7, exp: [[Decimal('2'), Decimal('7')], [Decimal('5'), Decimal('6')]]
offset: 6, exp: []
offset: 5, exp: [[Decimal('2'), Decimal('6')], [Decimal('5'), Decimal('4')]]
offset: 4, exp: []
offset: 3, exp: [[Decimal('2'), Decimal('2')], [Decimal('3'), Decimal('2')], [Decimal('5'), Decimal('2')]]
offset: 2, exp: [[Decimal('2'), Decimal('1')], [Decimal('3'), Decimal('2')], [Decimal('5'), Decimal('1')]]
offset: 1, exp: [[Decimal('2'), Decimal('3')]]
the powers in the 2's column go:
1, 2, 2, 2, 3, 3, 2, 4, 6
which are predicted by:
https://oeis.org/search/...
Again, probably only a coincidence, but kinda beautiful.2 -
btw the Boas said I have their full support...
soo what should I ask 4 :
1. yacht
2. heli
3. 51% of the company
4. surrender all your base
5. peace on Venus16 -
Our most recent development process:
1. Implement feature
2. Create task
3. Release feature
4. Review feature
4.1 Possibly reimplement
5. Add tests1 -
FUCJKKKKKKKKKKKKKKKKKKKKKLEMRMRMRNRNENWNQMQMQMQMWMWMWKSOOCPPVPBVOGMRMEMWNZNZNZNSKOWOWOROROOROWOQOAOXKCNNRBWJQJQIOOXKCNGNFBBEHWIAIDOKGMGMNRQNNQOSPXCLMGMGMYBTEHUWYSYSYDUFUUFUEIUUUWUUWUUWIIDFICOVOVOBOBPNPORMWQnzznnzcnncnfnejiwisoooooo99oooiiijjj899227)2)3?3?4?$3@2199/,’cnnj&&8:82828&&’nsnjwksiodofofkejwnnwnwnssnkzjxkx4
-
What do you call your laptop computer?
1)Lappy
2)Laptop
3)Computer
4)PC/Mac
or it has a name, something like
"Portable Development Center, Delta One"12 -
Top 5 worst illnesses, from “really really bad” to “hell on earth”:
5. Bubonic plague
4. Leukaemia
3. Multiple sclerosis
2. Dementia
1. Schizophrenia -
Node developers are something else, you can work on a project that is 2 years old and find abandonware dependencies that were last updated 4 years ago.4
-
Count the number of keyboards in your room (including musical keyboards).
1,.. 2,.. 3,.. 4,.. 5,.. 6,.. Damn, that is a lot.11 -
Saw the following SQL in an SP at work:
Type_ID = CASE Product.Type_ID
WHEN 1 THEN 1
WHEN 2 THEN 1
WHEN 3 THEN 2
WHEN 4 THEN 3
END
Seems a little bit redundant to me :-)...1 -
Being told it might take up to 4 days for my internet connection to be fixed. After having 2 calls with the support to gather information:/
-
20 more minutes until I arrive to my parents home. 4 days of calm country zone, 2 small sheets to be done for 2 projects. All in the middle of nature!
-
When white space isn't that significant.
disc=b*b-4*a*c;if(disc<0){
num_sol=0;}else{t0=-b/a;if(
disc==0){num_sol=1;sol0=t0/2
;}else{num_sol=2;t1=sqrt(disc/a;
sol0=(t0+t1)/2;sol1=(t0-t1)/2;}}2 -
This is how my AntLang code looks like:
repeat[{echo',|{[+]<x*2>,(4le+)take(0eq(x\4)mod 6)take<(+\1)%3>}'x};{1};<1>]
:D -
After 4 1/2 hours of testing I have redeployed my postgresql database from Windows to Debian Server. I can now access my database and deploy webapps from any computer, anywhere, anytime.
It's 2:30 AM in the morning. I am exhausted but fulfilled.1 -
Following on from my thread where I got wrecked for being brain damaged, and posting about dividing by zero, it is time for round two!
Lightening round: Electric boogaloo!
Episode 3: "Glutton for punishment"
You can read that thread here if you like or skip over.
https://devrant.com/rants/4931841/...
Can we divide by zero? Is there some representation where thats the case? And what are the implications if we can?
In this round Devranters, you will be challenged to determine if OP is 1. insane, 2. a genius, 3. high on mushrooms. One contestant will be eliminated. The winning team will get a bag of rice and sunscreen, while the other team will have to vote to send someone home from the island.
Get ready.
Heres the full rant because DR wouldn't post it for some reason:
https://pastebin.com/qBg80ujN41 -
Software development process:
0. I can't fix this
1. Crisis of confidence
2. Questions career
3. Questions life
4. Oh it was a typo, cool -
1. Get excited by what it'll be able to do
2. Think about the tech stack
3. Lay out its features
4. Procrastinate -
What hurts you the most?
1. Breakup
2. IDE with White Background
3. HTTPS://DUCKDUCKGO.COM (Caps Url)
4. Download failed at 99%
5. NULL Pointer Exception
🤔🤔🤔29 -
I feel a bit confused rigt now.
Did i misunderstand something with this random little excercise?
" Write a Java program to find the index of a value in a sorted array. If the value does not find return the index where it would be if it were inserted in order. Example:
[1, 2, 4, 5, 6] 5(target) -> 3(index)
[1, 2, 4, 5, 6] 0(target) -> 0(index)
[1, 2, 4, 5, 6] 7(target) -> 5(index) "
Here is what i did lol:
https://gist.github.com/laim2003/...
And here is the official solution:
https://gist.github.com/laim2003/...
Their solution seems a bit unnecessary complicated lol or am i wrong1 -
1. Finding what I really am
2. Time out for Travel out of country from work
3. Buy own Car
4. Marriage 😜 -
Any advice on a Symfony update to 4.x? It once was a 2.x which I've updated in the past to 3.3 any pitfalls to keep in mind when upgrading to 4.x?4
-
Same product repo, two projects, 2 tech leads and 4 pms. Each project is a race to merge for trunk so the other has to do it.
-
This morning, I tried to abstract myself from my computer while trying to calculate sqrt(1.81).
I came up with what I thought to be a genius method. I tried to find B such as (1+B)^2=1.81. Then I ended up calculating the discriminant of 1+2B+B^2 and had 4*1.81. Sounded funny at first, but upon calculating the positive solution amongst the 2 possible ones, I ended up with (-2+2sqrt(1.81))/2 = ... sqrt(1.81)-1. Upon replacing in the initial equation, one gets (1+sqrt(1.81)-1)^2 = (sqrt(1.81))^2 = 1.81.
I'm sorry for having let you down, dear pasokon. Please forgive me.2 -
Wherein I disprove Goldbachs Conjecture (in one specific case)
golbach conjecture:
every even number is the sum of two primes
lets call the primes p and q
lets call our even number p+q=n
we can go further by establishing two additional variables
u=p-1, v=q-1
therefore every even number is the sum of u+v+2, according to goldbach's own reasoning.
in the simplest case...
p=2, q=2, p+q=4
u=1, v=1, u+v+2 = 4
We can therefore make a further conjecture in the simplest case every sum of two primes, less 2, is the sum of two composites. This likely has connections to the abc conjecture for a variety of reasons. But leaving ancillary discussion aside for a moment...
We can generalize to a statement that every even number is the sum of two odd numbers. And every odd number greater than 1 is the sum of an odd number and an even number.
Finding an even number that is not the sum of (p-1)+(q-1) would therefore be equivalent to disproving the goldbach conjecture. Likewise proving every even number is the sum of (p-1)+(q-1) would be the equivalent of proving it.
Proving all even numbers greater than 2 are the sum of two composites + 2 would be proof of goldbachs conjecture, and finding any example or an equation that proves an example exists such that *some* subset of even numbers are NOT the sum of two composites +2, would disprove the conjecture.
Lets start with a simple example:
2+2=4
because 4-2=2, and two is not the sum of two composite numbers goldbachs conjecture must ipso facto be false.
QED
If I've wildly misapprehended the math, please, somebody who is better at it, correct me.
Honestly if this is actually anything, I'd be floored to discover no one has stumbled on this line of reasoning before.8 -
I needed to rewrite pagination from:
A) 1 ... [3] 4 5 6 ... 13
B) 1 ... [4] 5 6 7 ... 13
To:
A) 1 2 [3] 4 5 ... 13
B) 1 ... 3 [4] 5 6 ... 13
And the maths got me a headache3 -
10 most useful API for developers
1-Google Maps
2-CoinGecko
3-Mail Chimp
4-Open Weather
5-Instagram
6-Yelp
7-Bit.ly
8-Souncloud
9-Dropbox
10-Okta24 -
DailyCodingProblem: #1
Given an array of integers, return a new array such that each element at index i of the new array is the product of all the numbers in the original array except the one at i.
For example, if our input was [1, 2, 3, 4, 5], the expected output would be [120, 60, 40, 30, 24]. If our input was [3, 2, 1], the expected output would be [2, 3, 6].
this is my quickly solution in php:
$input_array = [1, 2, 3, 4, 5];
echo('INPUT ARRAY:');
print_r($input_array);
echo("<br/>");
foreach($input_array as $key => $value){
$works_input_array = $input_array;
unset($works_input_array[$key]);
$result[] = array_product($works_input_array);
}
echo('OUTPUT ARRAY:');
print_r($result);
outpout:
INPUT ARRAY:Array ( [0] => 3 [1] => 2 [2] => 1 )
OUTPUT ARRAY:Array ( [0] => 2 [1] => 3 [2] => 6 )5 -
I've got 4 different cPanel's, 1 Heroku, 2 WordPress hostings, 1 student AWS and I still do not know how to manage
-
Microsoft is SLOWING down Visual 2019 on purpose now... that's insane.
Yes VS 2022 is looking good and shit, but why the SAME project went from 2 mins of compile / start time to 4 minutes in 2019 and stayed at 2 mins in vs 20022 ?6 -
When your homebrew project is already split into 4 seperate libraries and is being developed for over a year, by 2 people.. you know you're insane !
-
I love to build (full stack) 2 whole complex websites simultaneously after 4 months of lacking work and waiting for project plans. And both with deadlines in 2 weeks.
Just why can't our PMs do their job and make usable timings? -
What we should do:
1. Find problem
2. Stop debugger
3. Change code
4. Restart debugging
What we all do:
1. Find problem
2. Forget about the debugger and change code immediately
3. Stop and Restart debugging -
Feature request:
OP gets ++s for different stages of comment amount.
E.g.:
5 comments = 1++
10 comments = 2++
20 comments = 4++
40 comments = 8++
...
;)15 -
1. Run all the unittest and have a full green
2. Run a simulation
3. Run a simulation and all works properly
4. git push6 -
Recently I feel like energy drinks have become my body's primary resource.
1.Monster
2.Oxygen
3.Water
4.Food
Please somebody, teach me how to life.1 -
Epoch 2/4
777/1054 [=====================>........] - ETA: 45:31 - loss: 2.6682
Screw you Keras model1 -
Learning to develop. I must choose:
1. UWP
2. Android
3. iOS
4. Xamarin.Forms
Please give me suggestion, thank you!10 -
1. Docs
2. Tutorials
3. Realize tutorials skipped a few details
4. Back to step 1
And in most cases, joining a slack/telegram group for the tech -
1. More App-Development
2. Get more Clients
3. Learn something like Python or Kotlin
4. Bake a cake 🔥4 -
The only thing cooler than magic numbers are magic no-go numbers.
Or does anyone have a reason for considering 2 or 4 spaces indent but not 3?3 -
Software development process
0:I can't fix this
1:Crisis of confidence
2:Questions career
3:Questions life
4:Oh fuck it was a typo ,chill :3 -
He couldn't sleep for 2 days because he missed her.
.
I couldn't sleep for 4 days because I missed a stupid ";" in my code.
#Developers7 -
Let me know your favorite apps in mac
My favorites
1.Textsniper
2.Toothfairy
3.alfred
4.multitouch
5.hookshot
6.dropover9 -
For web automation, what do you prefer?
1. Playwright
2. Puppeteer
3. Selenium
4. Something else
&
1. Python
2. TypeScript
3. JavaScript
4. Something else9 -
1) learn react native
2) finish my masters
3) use Linux full time
4) start my post-grade degree
5) get a 3d printer -
Oh yeah ... Java is cool in an utterly sick way even that i can't seem to find a non-retarded built-in stack data structure
Call me a racist, but java.util.Stack has a removeIf() method in case you want to remove odd numbers:
import java.util.Stack;
public class App {
public static void main(String[] args) {
int arr[] = { 2, 4, 7, 11, 13, 16, 19 };
Stack<Integer> s = new Stack<Integer>();
for (int i = 0; i < arr.length; i++) {
s.push(arr[i]);
}
s.removeIf((n) -> (n % 2 == 1));
System.out.println(s); // [2, 4, 16]
}
}
Stop using java.util.Stack they said, a legacy class they said, instead i should use java.util.ArrayDeque, but frankly i can still keep up being racist (in a reversed manner):
import java.util.ArrayDeque;
import java.util.Deque;
public class App {
public static void main(String[] args) {
int arr[] = { 2, 4, 7, 11, 13, 16, 19 };
Deque<Integer> s = new ArrayDeque<Integer>();
for (int i = 0; i < arr.length; i++) {
s.push(arr[i]);
}
s.removeIf((n) -> (n % 2 == 1));
System.out.println(s); // [16, 4, 2]
}
}
The fact that you can iterate through java.util.Stack is amazing, but the ability to insert element in a specified index:
import java.util.Stack;
public class App {
public static void main(String[] args) {
int arr[] = { 2, 4, 7, 11, 13, 16, 19 };
Stack<Integer> s = new Stack<Integer>();
for (int i = 0; i < arr.length; i++) {
s.push(arr[i]);
}
s.add(2, 218);
System.out.println(s); // [2, 4, 218, 7, 11, 13, 16, 19]
}
}
That's what happens when you inherit java.util.Vector, which is only done a BRAIN OVEN person, a very brain oven even that it will revert to retarded
If you thought about using this type of bullshit in Java get yourself prepared to beat the disk for hours when you accidentally call java.util.Stack<T>.add(int index, T element) instead of java.util.Stack<T>.push(T element), you will probably end up breaking the disk or your hand, but not solving the issue
WHY THE F*** CAN'T WE HAVE A WORKING NORMAL STACK ?5 -
1. New Job/ New project
2. Learns new language/framework
3. Works for a month or so
4. Priorities change
5. endlessly loop from 1 to 4
What do you mean one-page-resume?1 -
Docker never worked for me on windows
the service never starts
tried version 3 and 4 on 2 different machines11 -
I was a PHP guy most of my career and likes 4 spaces in tabs. Now that I'm a JS guy now I like 2 spaces in tabs and dislikes 4 now lol. It makes coding more compact.
I don't see the reason to use 4 anymore. Do you also like 2 spaces in tabs?15 -
My new year resolution as a dev:
1. Competing in Kaggle competitions
2. Motivate peoples in data science
3. Do some cool project
4. Waiting for devRant stickers.. -
Let me show you something:
let a=[
1-3,
5-35,
5*7,
77/4
,4%5,
7==7,
6_2,
3&&3,
4&&2,
"f"&&"c"
]
document.write(a)
actually, it works...12 -
4 Step Plan:
1: Have a new idea
2: Work on it
3: Forget about it a week later
4: Pause project till forever! -
der the above tables and execute the following queries:
1. Delete items having quantity less than 2.
2. Display total number of suppliers who are supplying ‘Refrigerator’.
3. Display all suppliers supplying ‘Washing Machine’ with minimum cost.
4. Give supplier details who give maximum discount on each item.
5. List suppliers supplying maximum number of1 -
I love angular, but why didnt they make a default email validator in version 2. Only noe included in 4.1
-
pow function accept var ?for example x2=2 ;
int count =2;
pow(count, x);
should return 4 but return other value9