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 - "4/1"
-
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: Profit20 -
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 -
*Late night at office*
Was rewriting my stack from angularjs 1 to angularjs 2. Got drowsy and slept.
*Wakes up and opens Hackernews*
Angularjs 4 announced.
How long was I asleep !!4 -
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...26 -
Before you're hired:
1. A binary tree?
2. Currying?
3. Higher-order function?
4. How does event loop work?
5. What is prototype?
6. What is encapsulation?
7. Can you draw an algorithm?
After you're hired:
1. Hey, can you add auth token and login to our app?11 -
Popularity of programming languages according to the DRRDSI (DevRant Rubber Duck Selling Index):
1. JS
2. Java
3. Python
4. C#
5. PHP
6. C++
7. Ruby
8. SQL
9. Swift20 -
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 -
How to get your Jira ticket resolved:
1: Assign in it the person
2: Mention him on the ticket
3: Remember the ticket number
4: Sneak into his office
5: 10 -
5 reasons I love devRant
1. I can't understand the point of Facebook. And it has such a shitty UI, but devRant has a beautiful despite it is complete JS
2. It doesnt have 140 char limit.
3. It is 99% english.
4. Trolls and script kiddies are rare here.
5. It is fairly lightweight.
======================
1 reason I hate devRant
1. Total waste of time.16 -
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 -
My $1 Unix stickers took 4 days to arrive at my complex in my Bulgarian village. Wonderful Monday to you all, you fucks!19
-
1 hour to install Windows 10
4 hours installing windows updates
8 hours installing visual studio enterprise
*sigh*11 -
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 -
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 -
This is how 1 Gbit/s internet looks like here in Russia. It’s amazingly stable and it costs $4/mo21
-
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 -
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! -
Group Project
1.Make a slack Channel.
2.Make a private repo
3.Give everyone access to do anything.
4. Wait for people to talk and commit code.
5...............R.I.P5 -
need a good idea for app or game? follow this quick guide.
1. prepare a notebook.
2. prepare a pen.
3. go to toilet.
4. start writing the ideas.
5. make millions.13 -
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 -
I'll start my own series on hacking.
BECOME A HACKER WITH 4 SIMPLE STEPS!!!!!1!
#1 Open cmd
#2 Enter hackermode
Type "color 0a"
#3 write a Hackerscript
Type "%0 | %0"
Step 3 is a bit risky and may fail. Reboot and repeat until you understand why it failed
#4 Realize that the internet is scary place and that you can't trust anyone.9 -
After 1 year I have finally quit my sysadmin job!
Got my first dev job as a fullstack node.js dev!!!!
4 years of IT boredom is finally over!
WOOHOOO!
😎😁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 -
Best one minute life hack..
1. Uninstall Facebook Messenger
2. Uninstall WhatsApp
3. Uninstall Instagram, Snapchat
4. Install DevRant.6 -
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 -
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 -
What do you guys do when you get bored at work?
this is what I do:
1. Drink Water
2. Stare at the code
3. Go to Bathroom
4. repeat16 -
#Programming alone
print "Hello World!"
#Programming while someone watches
global _start
section .data
msg db "Hello, World!", 10
len equ $ - msg
section .text
_start:
mov rax, 4
mov rbx, 1
mov rcx, msg
mov rdx, len
int 0x80
mov rax, 1
mov rbx, 0
int 0x805 -
After Bought Minecraft, I'm planning to create a Programmable 4-bit Computer.
Just Finished Building ALU, So Here's my Progress Screenshots :
1. Op-Codes and Input A Sides28 -
1) Install Debian 9
2) Select GNOME
3) Hate GNOME
4) Uninstall GNOME
5) Install LXDE
6) Love GNOME17 -
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.) Start a small business
2.) Complete my game
3.) Graduate
4.) Get a good University for Masters2 -
Today, for fun, I wrote prime number generation upto 1000 using pure single MySQL query.
No already created tables, no procedures, no variables. Just pure SQL using derived tables.
So does this mean that pure SQL statements do not have the halting problem?
Putting an EXPLAIN over the query I could see how MySQL guessed that the total number of calculations would be 1000*1000 even before executing the query in itself and this is amazing ♥️
I have attached a screenshot of the query and if you are curious, I have also left below the plain text.
PS this was a SQL problem in Hackerrank.
MySQL query:
select group_concat(primeNumber SEPARATOR '&') from
(select numberTable.number as primeNumber from
(select cast((concat(tens, units, hundreds)+1) as UNSIGNED) as number from
(select 0 as units union select 1 union select 2 union select 3 union select 4 union select 5 union select 6 union select 7 union select 8 union select 9) unitsTable,
(select 0 as tens union select 1 union select 2 union select 3 union select 4 union select 5 union select 6 union select 7 union select 8 union select 9) tensTable,
(select 0 as hundreds union select 1 union select 2 union select 3 union select 4 union select 5 union select 6 union select 7 union select 8 union select 9) hundredsTable order by number) numberTable
inner join
(select cast((concat(tens, units, hundreds)+1) as UNSIGNED) as divisor from
(select 0 as units union select 1 union select 2 union select 3 union select 4 union select 5 union select 6 union select 7 union select 8 union select 9) unitsTable,
(select 0 as tens union select 1 union select 2 union select 3 union select 4 union select 5 union select 6 union select 7 union select 8 union select 9) tensTable,
(select 0 as hundreds union select 1 union select 2 union select 3 union select 4 union select 5 union select 6 union select 7 union select 8 union select 9) hundredsTable order by divisor) divisorTable
on (divisorTable.divisor<=numberTable.number and divisorTable.divisor!=1)
where numberTable.number%divisorTable.divisor=0
group by numberTable.number having count(*)<=1 order by numberTable.number) resultTable;9 -
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
-
Me: Dear Boss, what should I do first? Thanks 😇
1. Rush
2. ASAP
3. Urgent
4. Important
5. Priority
6. I Need That Now5 -
1. Get a glass of water.
2. Start coding.
3. Solve a problem.
3. Get up and go get another glass of water.
4. Now you have two glasses of water.2 -
Wannabe college coder starter pack:
1) SUN Certified JAVA Programmer
2) W3Schools Certificate
3) I know all computer languages
4) I'm going to Join Google by the end of college.12 -
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 -
0. Get a raise
1. Nove out
2. Learn GoLang
3. Have a threesome
4. More weed
5. Build a blockchain project6 -
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..
😡3 -
1. Buy a road
2. Name it after an sql injection
3. Have mail delivered to you
4. ...
5. Profit... I guess?7 -
4 step process.
1. Loud music on the way home
2. Vent to the wife. Because she listens and is awesome.
3. Kill stuff in games. ESO or any shooter.
4. Sleep.
After all that the next day is fresh and new and all is good and right in the world.4 -
A woman can make 4 babies with 4 different fathers in 9 months, right?
Someone decided we need a "rubber band programmer" who bounces around from project to project as needed, and that gets to be me.
So I work on 4 projects, with 3 programming languages, 4 frameworks, and with users in 4 complicated industries, none of which I have experience with.
And my boss wonders why I'm not as productive as everyone who has worked on 1 project for 5 years.9 -
My favorite languages are
1. Python (3)
2. PHP
3. JavaScript
4. Ruby
5. Java
Honorable mention: C++
Can anyone agree?38 -
Getting real fucking sick of shitty websites excessive security measures!
1. Username
2. Password
3. Captcha
4. Mandatory 2FA
We don't recognize your IP, please log into your email, click the link, get redirected and complete steps 1-4 again! Also the site will time out in 10 minutes if you aren't actively using it. Have a nice day!
Go fuck yourself.7 -
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 -
Heard my team leader is leaving, this leaves me as the only developer in the company, we went from 4 all the way down to 1... #thiscompanyisamess4
-
Father devrant I have a confession to make:
I stayed up until 12 in the midnight during Sep 30 to do 4 PRs immediately once it was October 1 in under 1 hour...
Now I passed out on the classroom and people think I got possesed
b r u h7 -
1. Start programming to solve a beautiful problem.
2. Setting up my IDE.
3. Creating nem project.
4. Start coding, but dig into first little problem.
5. After 10 hours give up.4 -
1. Participate in an online hackathon
2. Upload demo video to youtube
3. Submit in the last minute
4. Come back 1 hour later to see video removed due to length violation.
FML :( -
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 -
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 -
Reciepe for cold coffee:
1. Make Coffee
2. Start Coding
3. Forget you made coffee
4. Drink it cold5 -
section .text
global _start
section .data
msg db 'Hello, world!',0xa
len equ $ - msg
section .text
_start:
mov edx,len
mov ecx,msg
mov ebx,1
mov eax,4
int 0x80
mov ebx,0
mov eax,1
int 0x803 -
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🦄37 -
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 -
You want to be Satan?
1) Make this their desktop background
2) Install a program that disables their mouse.
3) hide their taskbar
4) hide their desktop icons.
5) Profit!7 -
Step 1: try a third party defragmentation tool as windows' one is shit
Step 2: go to sleep while shit is getting done
Step 3: ???
Step 4: prof- Wait what ? Fuuuuu6 -
import datetime
age=19
while not dead:
today=datetime.datetime.today()
if today.day == 1 and today.month == 4:
age+=1
print("🎉")14 -
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 -
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 -
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 -
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 -
So, my company changed coffee machine around 1 month ago... yesterday at 4:20pm we made into 1k coffees taken18
-
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 -
1. Read about software engineering/design patterns, tools etc.
2. Adopt information to my requirements
3. Write code
4. Delete my shitty code from point 3.
5. Goto point 34 -
Steps to work on android studio -
1] Open android studio
2] Wait for an hour.
3] Wait for the build.
4] Build failed.
5] Get frustrated, close it.
6] Repeat 1-5.10 -
My 1000 job applications tiktok journey may come to an end soon
Had 2, now I cant believe i have 3 (or 4) interviews from 3-4 different companies scheduled day after day, or hour after hour depending on schedule i choose. All of them are very interested in hiring me. For 7 months i couldnt find a job and almost no one wanted to interview. Ever since i went to the Church for Easter to pray, all of a sudden 4 new doors opened to me 1 week later, all in 1 week...13 -
Allright, this one begs for a rant.
Me (Linux boi):
0 checkout code
1 update local config file
2 compile
3 deploy locally
4 run
5 use
Coleague (Windows boi):
0 checkout code
1 update local config file
2 compile
3 deploy locally
4 run
-1 "configuration xyz not found in config file"
→ goto #3
After 4 attempts:
ø windows.reboot()
3 deploy locally
4 run
-1 "configuration xyz not found in config file"
3 deploy locally
4 run
5 use
// out of curiosity...
3 deploy locally
4 run
-1 "configuration xyz not found in config file"
NO side actions taken (no configs updated, no code changes made, no nothing. Just simple double-clicking the redeploy script again and again)
Now... How do you objectively explain THAT?
http://weknowmemes.com/2013/01/... IRL :)8 -
:/
Project i got to work couldn't get worse
1)Legacy code
2)mathematical model based emulation
3)no proper comments
4)deadline approaching4 -
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 -
What do you wanna become? / What are you?
1. PHP Developer
2. Python Developer
3. Node.Js Developer
4. JavaScript Developer
5. Java Developer
6. Android Developer
7. Other (please mention in comment)65 -
section .text
global _start
_start:
mov edx,len
mov ecx,msg
mov ebx,1
mov eax,4
int 0x80
mov eax,1
int 0x80
section .data
msg db 'Yo Mama So Fat',0xa
len equ $ - msg7 -
1. Visit the official site.
2. Browse for official tools.
3. Check the official documentation.
4. Check the Internet for other non-audiovisual sources.
5. Try making a simple application.
6. Run out of application ideas.
7. Move on to the next shiny dev technology.
8. Go to step #1. -
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 -
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.2 -
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 -
1. Learn Kotlin
2. Actually sit down and push through machine learning.
3. Finish integral calculus and start multivariable calc.
4. Work on 1 project until completion.
5. Socialize a bit more.
6. Obliterate bugs.5 -
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 -
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 -
How to make an ice tea:-
1. Make tea.
2. Start coding.
3. Forget about it.
4. Now after coding check your tea.
5. You have your ice tea ready.1 -
Time spent during a nodejs project:
- 2-4 hours trying to install modules and dependencies.
- 1 hour actual coding!1 -
Step 1: Download archlinux.iso
Step 2: realise your worthlessness
Step 3: Newborn awe for arch users.
Step 4: Ubuntu????
Just kidding though. Not giving up till system breaks atleast 7 times..😑7 -
Ok... So iPhone X cames with 3gb ram and 2.7 mAh battery....
Fuck the new Xiami that costs 1/4 comes with 4gb ram and a 4mAh battery...6 -
How I stay focused:
1. Isolating headphones with energizing music.
2. Partition of job to smaller tasks (1-2h of work)
3. Short break after each task.
4. Closed DevRant, Facebook, Reddit and other media.5 -
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 -
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 -
!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 " -
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 -
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 -
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 -
I feel guilty. I commited 1 typo fix in a public library, which triggered 4 pipelines. I literally replaced one character3
-
Goals
1. Learn android development
2. Spend more time coding than procastinating (its not my job)
3. Learn more cpp
4. Publish my first android app
5. Finish my current project2 -
1. Send the contract for a new project to the customer
2. They inform you that the project is canceled
...
...
3. Receive the contract signed by the customer
...
4. ???
5. PROFIT3 -
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 -
1. Gaming
2. Music "development" (I suck tho)
3. Netflix and chill, just without Netflix
4. Trying to write a book and procrastination is going great so far
5. Cats. Are. Life -
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 -
Step 1: open CMD
Step 2: *color 2*
Step 3: *mode 1000*
Step 4: forget what you actually wanted to do -
studying computers at a college were
1/4 aim to become a model
1/4 are trying to become photographers
1/4 don't know what's happening yet
1/4 are actually interested in computers
#indianEducationSystem6 -
I bought 30 random stickers for 1 € on wish today. Thousand times better than buying 4 stickers for 6,99€ etc...
I hope they'll arrive 🤣4 -
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 -
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 -
I'm doing a short 1 hour livestream on twitch on installing CraftCMS, plugin development and maybe Angular 4 setup, if there is enough time.
https://www.twitch.tv/qbasic164 -
Picture a small product team, the dev side of it has 1 tech lead, 1 recently promoted senior dev, 1 junior dev.
1 - Offer your tech lead a severance package
2 - Hire a mid-level and a junior dev
3 - Give the product lead role to someone in their mid-20s that has no tech or project management background
4 - ???
The next 6 months are going to be interesting ones...3 -
1. Hits "Run" in Android Studio.
2. Goes to make coffee knowing Gradle will take a while to build.
3. Comes back after 30 minutes.
4."Select Device"
Fuuuuuuck!😠😠5 -
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
-
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 -
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");6 -
In a lecture hall
1. Try Listening to lecture
2. Finds it uninteresting
3. Think that you can later learn from video tutorials
4. One day before exam -- No time to learn..3 -
[Me at night]
1 Me: should I sleep?
2 Brain: right after finishing this module
3 Me: <drinking coffee>
4 goto 16 -
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 -
Step 1: Make an account on some website with the username "{username}"
Step 2 : Take a screenshot when the website sends you some kind of personalised email
Step 3 : Add some caption saying "lol this website is so broken!!1!1!!"
Step 4 : ???
Step 5 : profit1 -
Me trying to find out what some word means
1. Google
2. Find a good result
3. Notice some other interesting word
4. Repeat -
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 -
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(()=>{}))[+[]+(![]==[])+(![]==[])+(![]==[])]+([][[]]+{})[+[]+(![]==[])+(![]==[])+(![]==[])]2 -
Busy day yesterday. I helped lay over 6000ft of Fiber Optic cable on a military base:
1 x 5100ft 144 SM #OS2 #OSP & 2 x 500ft 24 SM OS2 OSP to link 3 bldgs/1 #splice via ~12 handholes. 4 guys, 6 hours, 100% roughed. Me +1 will fuse later.
CFOT life.7 -
After developing Android apps for 4 years, I just released my first app for iOS 🎉
https://apps.apple.com/us/app/...12 -
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” -
1) Keep improving Java skills
2) Keep learning Python
3) Learn Docker
4) Finally use my Raspberry Pi -
mfw
> 1 year into project in React.js with a 10+ members in team
> PM panics over last Apache statement
> PM: "fuck, rewrite it in Angular 4 : /"1 -
When you have a Database Theory final exam in 2 hours and you're cramming a 1/4 of the module. #uni #student
-
Really Apple?
Are you kidding me?
And btw, why does my 1 year old battery only last 4 hours, when the phone is turned off?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 -
Google cloud platform.
1. Great documentation and support
2. Good free tier & dev freebies
3. Cloud console + SDK rock
4. Did I mention the great documentation?
5. Seriously the documentation ❤ -
My goals are:
1. Start my new job in Feb.
2. Overcome the challenges I will face in the new environment.
3. Learn, learn, learn
4. Don’t forget to rest.1 -
How to make habits for commitment:
1.Download Snapchat
2.Follow a girl in Snapchat
3.Try to make a snap when she does
4.Change from Snapchat to Git -
Epic comment:
1+2+3+4+....infinity = -1/12
SRC: Numberphile
Dear god, id like to file a bug report(see attached video)6 -
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. Hard reset his Android phone
2. Install the same junk apps again
3. Complain why the phone is lagging
4. goto 1.1 -
Reciepe for cold coffee:
1. Make Coffee
2. Start Coding
3. Forget you made coffee
4. Drink it cold8 -
1) read about it
2) search * sucks and read it
3) create something decently beginner frendly
4) if it was hard find something better
5) if pretty easy make something useful1 -
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 -
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 -
"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 -
I fucking hate 1 week sprints that include review, planning, and retrospective, so technically the sprint is 4 days.1
-
How the fuck 4 months of design(2 designers) can be developed with 2 months of development work. (1 developer)
BRILLIANT PROJECT MANAGEMENT IDEA5 -
My day today:
- tell everyone to fuck off and are idiots politely from 10 to 4
- tell them if they won’t fuck off now I will start looking for a job - 1 hour
- listening them apologizing me - 1 hour
- code and solve problems - 1 hour
Mondays
Hopefully I start working on Tuesday.5 -
1) Writing data to database works just fine
2) Query reading back that same data returns null
3) Spend 3 hours to try figure out why that 4 year old select statement suddenly doesn't work anymore
4) Figure out mysql master stopped replicating to read slaves
5) Facepalm and cry a little -
#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 -
1. Attend some conference
2. Get Stickers and goodies
3. Now you remember you have stickers all over your laptop
4. Give it away to your friends
5. Behave like Buddha1 -
Me: Build Swift 3 Project got 1 warning: Conversion to swift 4 available. : “Let’s try that” after that archives it: 100 warnings and 20 errors -_-5
-
1. Think about it.
2. Get super hyped.
3. Tell everyone.
4. Go to step 1.
5. Plan it
6. Execute
7. Profit.3 -
customer claims they do scrum but they have quarterly planning events (2 full days) where we need to estimate and plan everything for the next 3 months.
Manager: "last quarter I calculated your velicoty so now you get 4 story points per sprint per developer"
Team: "But you started us off at just 5 per sprint that's too small"
Manager: "Ok but if you only did 4 why do you now want 20"
Team: "Because it's arbitrary and we say we want to"
Manager: "1 story point is 1 day"
Team: "story points aren't time"
Manager: "4 story points is 1 sprint"
Team: "but a sprint is 10 days"
Manager: "the junior dev can do 4 story points per sprint and the senior dev can do 4 story points per sprint"
Team: ...8 -
Every person project cycle.
1.thinking 2.making bitbucket private repo 3.Making slack channel for contributors.4 Explaining the idea 5.the end.
I seriously need to work after step 5 -
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? -
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 -
Step 1: stackoverflow.com
Step 2: CTRL + C
Step 3: ALT + TAB
Step 4: CTRL + C
Step 5: FFFFFFFUUUUUUUUUUU3 -
ranters! who knows what this is ?
0 = Ø
1 = { 0 } = {Ø}
2 = { 0, 1 } = { Ø, {Ø} }
3 = { 0, 1, 2 } = { Ø, {Ø} , {Ø, {Ø}} }
4 = { 0, 1, 2, 3 } = { Ø, {Ø}, {Ø, {Ø}}, {Ø, {Ø}, {Ø, {Ø}}} }10 -
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 -
How do you guys arrange apps on iOS /android
I use two arrangement
1. Smart Stack on the left and 4 related apps on right with stack showing the relevant data from one of the 4 apps15 -
Dev boy to Dev girl: "What's the time complexity on you loving me, baby?"
Dev girl: while(iExist){
Int n = Random.Next(1, 100);
for(int i =1; i < n^4; i++){
Console.Write("..."); } }
Dev boy: Assert.Fail(); -
Android Interview question: "what would you use to display a large set of similar data?"
1) a linearlayout
2) a spinner
3) a recyclerview
4) a listview
The "senior" applicant picked 1)
He was not even considered.10 -
1 year a go i took angular js 1 tutorials and I was good at it then . I start working with c# and asp a lot. And when I started learning angularjs 4 it was like learning another language WTF9
-
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 -
Top 5 richest people.
1.People that own Powerbeats pro
2.People that own AirPods
3.Jeff Bozo
4.Bill Gates
5.Warren Buffet10 -
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 -
On March 31st I asked our HR to print off a birthday sign for Ed for April 1st. Which I hung outside Ed's office. I also asked to put Ed's birthday as 4/1 in the electronic bulletin board at work. I was hoping for Ed to see the bulletin board on Monday. He did see this Friday. He knew it was me and was a good sport about it. He kept the birthday sign on his office all day.1
-
Top 5 worst illnesses, from “really really bad” to “hell on earth”:
5. Bubonic plague
4. Leukaemia
3. Multiple sclerosis
2. Dementia
1. Schizophrenia -
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 -
Our most recent development process:
1. Implement feature
2. Create task
3. Release feature
4. Review feature
4.1 Possibly reimplement
5. Add tests1 -
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 -
1. Finding what I really am
2. Time out for Travel out of country from work
3. Buy own Car
4. Marriage 😜 -
Recovering a Raid 1 EXT4 disk to a ZFS disk. Thank god for Adobe programs and their multi million file-based caching files.
recovery_time.add(4.hours) -
Count the number of keyboards in your room (including musical keyboards).
1,.. 2,.. 3,.. 4,.. 5,.. 6,.. Damn, that is a lot.12 -
Prepared for Interviews for 4 years; Got a degree in the way;
Postponed to next year due to COVID-19
Now, I have 1 more year :)2 -
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 -
True story:
While doing a CR stumbeled upon the following line, with no documentation attached:
CONST = "{0}{1}{3}//{4}{5}{6}//{7}.{8}" -
"The strategy in communications is not to sell the 1/4″-inch drill bit, but the 1/4″-inch hole." - Robert Louey
-
1. Figure out what project needs it
2. Read a primer book (skim), mostly syntax and note the gotchas
3. Start coding
4. Read in detail as reference or Google... While coding -
My boss yelled at me Monday for brining up that no one in the office is a fan of Jira.
He yelled and gave 4 rules.
1. Task Numbers
2. Multiple Project Overview
3. Integrates with Github
4. No one bitches
I spent the day uploading data from Jira into clubhouse2 -
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 -
Looking into Kotlin, and it seems pretty cool, but I just can't get over how unnatural and annoying the mapOf syntax is.
In JavaScript: const obj = { a: 1, b: { c: 3, d: 4 } }
In Kotlin: val obj = mapOf("a" to 1, "b" to mapOf("c" to 3, "d" to 4))5 -
1. Get excited by what it'll be able to do
2. Think about the tech stack
3. Lay out its features
4. Procrastinate -
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 -
Time to learn how to write an MVC Windows Console App in C++ in just a few days while also having 1 presentation, 2 technical demos, and 4 exams this week...
-
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
🤔🤔🤔30 -
Writes 4 years worth of CRM code.
Forgets TimeZone Support.
1 Week later, supports TimeZone.
REFACTORING! -
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 -
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 -
I've got 4 different cPanel's, 1 Heroku, 2 WordPress hostings, 1 student AWS and I still do not know how to manage
-
As i was shitting on toilet I realized something very important. This could be THE answer.
The question: what is the formula for achieving success? I realized this must be THE ultimate answer:
Money + connections + luck >= success
Why?
MONEY:
You must have money to make more money.
CONNECTIONS:
Some average joe can tell his friend Cockty to phone call his friend Dickson who's a good friend with Cumston to message his millionaire friend Asslicker who is gonna help the average joe succeed.
LUCK:
No matter what you do or how hard you work, how many achievements you have or degrees, you can spend 10 million dollars on a project -- and still fail because you're not lucky.
Let's calculate this probability:
have = 1
missing = -1
money = 0
connections = 0
luck = 0
success = 1
money + connections + luck >= success
Case 1 (have everything):
have + have + have >= success
1 + 1 + 1 >= 1
3 >= 1 ✅
Case 2 (no money):
missing + have + have >= success
-1 + 1 + 1 >= 1
1 >= 1 ✅
Case 3 (no connections):
have + missing + have >= success
1 - 1 + 1 >= 1
1 >= 1 ✅
Case 4 (no luck):
have + have + missing >= success
1 + 1 - 1 >= 1
1 >= 1 ✅
Case 5 (no money, no connections):
missing + missing + have >= success
-1 - 1 + 1 >= 1
-1 >= 1 ❌
Case 6 (no money, no luck):
missing + have + missing >= success
-1 + 1 - 1 >= 1
-1 >= 1 ❌
Case 7 (no connections, no luck):
have + missing + missing >= success
1 - 1 - 1 >= 1
-1 >= 1 ❌
Case 8 (no money, no connections, no luck):
missing + missing + missing >= success
-1 - 1 - 1 >= 1
-3 >= 1 ❌
We have: 4 possible outcomes that we want, k=4
Out of total: 8 possible combinations, n=8
Probability of achieving success using this formula is: P(A) = k/n = 4/8= 0.5 * 100% = 50% chance of being successful in this shit life
This is correct in theory. HOWEVER:
Case 1: someone having
- a lot of money
- a lot of connections
- a lot of luck
In practicality is damn near IMPOSSIBLE
Maybe 1 in 100 million people are born like this. That's 100,000,000 people / 8,000,000,000 people = 0.0125 * 100% = 1.25% of people are this blessed and gifted in life. This might be even less so we can ignore this probability as a possible outcome and average it out to realistic average joe daily life.
Therefore giving us a total of 7 combinations, 3 possibilities to succeed in this shit life
So: k/n = 3/7 = 0.4285 * 100% = 42.85% chance to be successful in this shit life
Mathematically proven how life is pure trash
Funny enough we can round it to 42%. And 42 is the answer to life, universe and everything in existence4 -
Learning to develop. I must choose:
1. UWP
2. Android
3. iOS
4. Xamarin.Forms
Please give me suggestion, thank you!10 -
1. More App-Development
2. Get more Clients
3. Learn something like Python or Kotlin
4. Bake a cake 🔥4 -
Anyone know any good sources on creating a multi seat system using Ubuntu (or some Linux). I want to have 4 people using 4 monitors, keyboards, and mice. On 1 computer. It’s for a project idea9
-
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 -
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 -
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 -
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 -
1. Enroll in course/project/tutorial
2. Watch, apply, ask questions, find answers and repeat until nothing left to learn
3. Reformat the machine I was learning from
4. Forgot what was learnt and repeat from step 1 until it becomes 2nd nature
5. ???
6. PROFIT (by doing jobs)!!! -
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. Run all the unittest and have a full green
2. Run a simulation
3. Run a simulation and all works properly
4. git push6 -
1) learn react native
2) finish my masters
3) use Linux full time
4) start my post-grade degree
5) get a 3d printer -
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 -
Estimating a 1 day change as 4 weeks when the scrummaster, product owner & BA haven't bothered to run the simplest dilligence check and can't be arsed to even give a quantitative valuation.1
-
1. write down requirements. what exactly do i want?
2. paint possible solution. how could the finished product look like? while doing this i think through each step of the application and often adjust step 1 until i think 'this is it'
3. design model. how could the database look like. what structure do i need?
4. define milestones. What to do first?
5. Start and keep 1-4 up to date -
Next year goals:
1. Learn how to use Macintosh.
2. Learn better Linux.
3. Finish an android app that I am too bored to finish.
4. Evolve social skills for Humans. -
Let me know your favorite apps in mac
My favorites
1.Textsniper
2.Toothfairy
3.alfred
4.multitouch
5.hookshot
6.dropover9 -
How the fuck are lifts programmed? Two lifts in a shaft, one at level 0, the other at level 4, I call it from level -1. Which one comes? You bet your ass it's the one from lvl 4. Is it Math.random()?6
-
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 -
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 -
Heroku logs be like
2018-07-16T00:05:06.883023+00:00 app[bot.1]: Ready!
2018-07-16T00:05:11.940150+00:00 app[bot.1]: (node:4) UnhandledPromiseRejectionWarning: Error: 410 Gone
2018-07-16T00:05:11.940171+00:00 app[bot.1]: at _response.transport.request.then (/app/node_modules/snekfetch/src/index.js:193:21)
2018-07-16T00:05:11.940173+00:00 app[bot.1]: at <anonymous>
2018-07-16T00:05:11.940175+00:00 app[bot.1]: at process._tickCallback (internal/process/next_tick.js:188:7)
2018-07-16T00:05:11.940248+00:00 app[bot.1]: (node:4) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated
either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
2018-07-16T00:05:11.940340+00:00 app[bot.1]: (node:4) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. -
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 -
4 Step Plan:
1: Have a new idea
2: Work on it
3: Forget about it a week later
4: Pause project till forever! -
1) make a ordered list
2) prepare the props
3) specify a talking order
4) fuck everything because everyone does everything they want anyway
5) get a brutal amount of coffee*
funfact: my longest recent meeting was supposed to go for 30 minutes but we ended up talking about the position of a fucking infobox for 4 1/2 hours
What was your longest recent meeting?
*replace coffee with your favourite "fuck you, I am pretending to be awake" drink -
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.. -
Would this be considered overworking yourself.
2 full-time IT Help Desk jobs.
1 will be Monday through Friday
1 will be Saturday through Wednesday
3 days out of the week. You are working back to back jobs
4 days out of the week. You will be working just 1 job1 -
you might have watched The Matrix 1, 2,3 & 4 how do you feel the concept and the story to be applied to our existing life?16