Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
Get a devDuck
Rubber duck debugging has never been so cute! Get your favorite coding language devDuckBuy Now
Search - "riddle"
Riddle of the day:
A husband kills his wife in her car at beach.
He left no fingerprints or DNA at the place.
After few hours police is called and they have no suspect's.
They call the husband and tell him to arrive at the crime scene.
Immediately after husband came at the crime scene police arrested him.
How did the police know he was the killer ?10
Coding won over my first girlfriend!
My senior year of high school I taught myself C++ and thought it was the coolest thing (lol). So I wrote a stupidly simple program that would ask your name and output a random riddle. But if the name was hers it was a riddle in which case the answer was "a date". Looking back, even if she was on my robotics team it was the nerdiest thing.
We dated for 8 months and broke up as friends. But to this day it provides a great story as I pursue software development.4
Interviewer: can you write a code snippet to explain function overriding
Me: *gives a practical example *
Interviewer: *not satisfied*
Me: what would be a proper example for the question?
Interviewer: *writes a text book example *
Her example didn't even need inheritance in the first place. It's one of those forced examples.
Next question: a riddle. Yes, a riddle4
A riddle but a rant.
A: `` switch ``
Because in general, human needs `` break ``.
Sorry, I'll leave for this bad riddle now...3
Fun fucking story time so buckle your dick holsters.
My Windows partition died the other day. Like totally fucking died. Not recoverable at all. So I decided "Oh it's okay, I'll just boot up a windows USB and reinstall it."
I remembered I had ordered an m.2 ssd so I waited for that to arrive for the sick speed boost. All went well, it arrived and I realised my peasant MoBo doesn't support NVME at all. "No problem, pcie adapter bruh".
Inserted and started again. "Ruh roh raggy!" Fucking BIOS cant find the NVME. "Never mind I have a spare SSD. I'll use that and move shit around later." STILL NO FUCKING DICE. THE FUCKING BOOT USB WORKS BUT WHEN THE INSTALLER TRIES TO RESTART WINDOWS TO FINISH THE INSTALL IT FUCKING LOADS THE USB AGAIN AND WITHOUT THE USB IT FAILS.
The fuck do I do here? I've been sat all fucking day trying to sort this shit to no avail so now I have a very fucking expensive door stop while I try to solve the ever fucking great riddle of "I need the usb but the usb fucks the install that needs to usb to finish".
Such fucking bullshit.5
I've got a puzzle! How well do you know the weird GNU coreutils error messages?
$ rm foo/
rm: cannot remove 'foo/': Is a directory
$ rm -r foo/
rm: cannot remove 'foo/': Not a directory
What am I?7
Riddle of the day: (Day 1: Let's start easy)
You are in room with 3 switches those switches are connected to light bulbs in room above you.
Switch 1 doesn't light up bulb 1 and so on.
You only have to switch 2 switches.
How do you find out which switch is connected to which light bulb ?
Add SOLUTION before your answer in the comments.
Riddle me this:
While calculating software reliability in number of faults per million line of code, would the software become more reliable if the number of lines are increased instead of errors reduced 🤔8
So it has been 3 days and you still havent figured it out. Im posting the riddle again. You have exactly 48H to solve it. Then the solution will be posted here.
You will need this: DEVRANT
HUGE HINT: VINEGAR
Also even tho when you decode it properly it still might not decode properly since there is still some shift to it.
If you cant solve it after this then im fucking done.9
I solved this riddle/puzzle. Now my inner completionist split into two and both are arguing what is worse: taking the solved puzzle apart or leaving the 15 remaining possibilities unsolved...
*rips of his face* 💀4
Heey, it's me, D3add3d! As you might remember there was a crypto riddle posted by @Kimmax approx. a month ago. Now I'm here with another crypto riddle, it should be fairly easy one. The previous riddle was based on PGP so no rotation of alphabet was involved.
Here is the riddle:
(image irrelevant to the riddle)26
solution to the riddle.
if you havent solved it yet and you want to dont read this then.
firstly you switch the 1 switch let it on.
second you switch the 2 switch and you turn it off after 2 mnutes.
third you go to room and the light that is lighed up is 1 switch and then the light bulb that is warm is 2 switch.
congrats if you got it right.
tomorrow harder one.
will do this only on weekends.1
Not a coding challenge, it was more of a logical problem.
"You are given 7 ball, all equal in size but one is slightly heavier than the other 6. You have to find the heaviest ball and you are allowed to use the scale only twice."12
Just solved this riddle hidden in my friend's agency homepage. www.webfactory.ie. I am not looking for a job myself, but the riddle was fun anyways (despite short).1
Dev related. But more of Westworld related. Definitely not a rant.
Westworld season 2 poster has this code. Any guess? Redditors going nuts on it.
Ref : https://redd.it/86d80u1
I just finished up figuring out this long ass riddle. Perhaps, y'all would be interested in taking a nab at it.
Scala's default Seq is MUTABLE. Why the fuck do I want mutability in my functional scala code!?
Now I have to riddle my code with imports to scala.collection.immutable.Seq which looks just ugly.
Darkest client description.
With a gift since birth, if you answer this riddle: Who I be?
The fetus of a demon,
Semen from the tip.
Of the penis I'm the only thing
That you see when you're dreaming,
Armageddon and aftermath
This may blog in paragraphs.
Sit on a throne, full of X's and bones
Blowing smoke and I laugh.
Turning sinners like you,
Into my personal acid tabs.
Let me put you up on game,
I've been shot, burned, and stabbed, and still ain't deceased,
I carry the mark of the beast
Now can you tell me
Who the fuck I be?
Client, as the guyreplies
Wine, red wine was the color of his eyes
Coughing a lot of blood like Piru, but he slowly dies
As his eyes close shut, in prison was his eternal life
Realisation of the client being devil.2
quick math riddle for you guys.
Make 1 from 0. But the catch now.
You CANT use +,-,/,*,%.
And yes its possible and is very simple once you get it.
I dont think this one is on the internet cause i found it when i was playing with calculator LUL.42
Ok so riddle me this. The service for an application were required to run to send clients insurance through (as per government regulations) was working fine all day working super fast. Rare but awesome. I get a call one hour prior to the office closing (I don't work weekdays) and I am told that all of a sudden insurance isn't sending.
My mind goes right to this fu**ing process. Sure enough it's stopped on the server. Well shit ok. I click start..... Nothing. I kill it from task manager.... Nothing. "SERVICE CAN'T START"
I'm like ok that's fine let's check event logs.... Nothing. No problem let's just run it not in a service container and see if there's an error. NOPE IT DOESNT LET ME.
Okok so that's cool let's just try reinstalling the app. NOPE CAN'T DO THAT WITHOUT RESTARTING THE WHOLE FUCKING SERVER WHICH BRINGS THE ENTIRE OFFICES MANAGEMENT SYSTEM OFFLINE BECAUSE THIS FUCKING APP NEEDS TO BE ON THE SAME GODDAMN SERVER.2
Find the right word and make sure it makes sense =D
"(blank) is hard. (blank) is even easier."7
Just received this really weird email. Probably spam, but why even bother when there is no link or attachment? Maybe it is encrypted... 🤔 What do you think? Anyways, the server has SSH enabled anyone care to bruteforce? :^)10
Windows... Thou art a fickle mistress...
How dost thou survive the most deadly code written by the most wearied devs yet cannot survive the adding of one of thine own features using thine own "turn windows features on or off"?
Thine face now turns blue each time thou art awakend only to again enter the sleep like death.
Leaving naught but the riddle of "service_critical_failure" each time before departing to the realm of dreams.2
Actual validation message. I will omit the culprit to not shame them:
Your password must be at least eight (8) characters long and contain at least one letter,
one digit and three (3) special characters. No combination of any of the previously mentioned
requirements may be in a repeat success of one (1) or more. Special characters must be
separated by at least two (2) non-special characters, not including numbers. You may not
use more more than one (1) upper-cased and one (1) lower-cased letters in order together. You
may not begin or end your password with an uppercase letter or special character. You may use
no more than eight (8) special characters in your password.
If you need any assistance with this process, please send a message to our support staff.
Your IP Address: 126.96.36.1995
This app (https://f-droid.org/app/...) is bugging me for months. I have the feeling that one is possible and the others are just jokes.3
Guys I heard a rumor that you like riddles, I'm stuck on my theory project and I'd like to throw a bone:
Say you have a list p = [7,6,2,3,4,5,1,0] and you want to order it, i.e. change it to [0,1,2,3,4,5,6,7], by swapping adjacent elements. Provide an algorithm to do this optimally, when:
a. (Warm-up) each swap costs 1
b. Swaps weight is [4,3,2,1,2,3,4], i.e. if you want to swap position 0 with 1 it'd cost 4, position 3 with 4 will cost 1 and so on.
The optimal overall cost for b is 50 (I did an exhaustive search), however you need to find a general approach which is able to order every list with minimal overall cost (no time constraints as long as the solution is not exponential in the list length), using the provided weight function.
(you get a credit if the solution goes to a paper or anything 😉 it's actually a computer science open problem, but seems possible to me)17
Here's a riddle 💻🗝️
I watch you as you browse and I know certain things about you, but once you leave, you never existed.
What am I?10
Currently fixing concurrency issues with a callback which is called so frequently it probably has multiple instances running and which can't ever be paused. Also, it isn't allowed to allocate or free memory. Riddles like this are the reason I got into computer science.
What are the origins of your usernames?
Mine is a contraction of B(ack) Rolls from the legendary Alyssa Edwards.6
It’s Old and New At The Same Time. What do you think it is?
Think Size, Think Why, Don’t Think Religion.1