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 - "while(1)"
-
An incident which made a Security Researcher cry
--------------------------------------------------------
I was working on my laptop finishing up my code while waiting for the flight which was late . Meanwhile two guys (I'm gonna call them Fellas) in black suit and shades came to me
Fella : Sir you have to come with us .
Me : *goes along with them*
Fella : Sir please proceed *points towards the door . The room has a round table with some guys discussing something *
Fella 1 : Your passport please
Me : *Hands over the passport*
Fella 1 : Where are you traveling to sir?
Me : India
Fella 1 : Put your laptop in the desk sir.
Me : Sure thing
Fella 2 : What were you doing there? *Taps the power button*
Me : Just finishing up my work .
Fella 1 : Or hacking our systems?
Me : Seriously?
Fella 2 : The password please .
Me : Here you go
*5 minutes have passed and he still can't figure out how to use the machine*
Fella 2 : Which Windows is this?
Me : It's Linux
Fella 1 : So you are a hacker .
Me : Nope
Fella 1 : You are using Linux
Me : Does it matters?
Fella 1 : Where do you work?
Me : *I won't mention here but I told him*
Fella 2 : So what do you do there?
Me : I'm a Security Researcher
Fella 1 : What's your work?
Me : I find security holes in their systems .
Fella 1 : That means you are a hacker .
Me : Not at all .
Fella 2 : But they do the same and they use Linux .
Me : You can call me one .
*After 15 minutes of doo-laa-baa-dee-doo-ra-ba-doo amongst them I dunno what they were talking , they shutdown the computer and handed over it to me*
Fella 2 - So you are somewhat like a hacker .
Me - *A bit frustrated* Yes.
##And now the glorious question appeared like an angel from river ##
Can you hack Facebook?
Me - 😭😭😭28 -
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 -
Back in the days when I started to learn c I had an assignment to print all the prime numbers between 1 to 100 but didn't know how (with if/for/while)
So I searched Google for "prime numbers from 1 to 100" and used printf to print them on the screen
I got an A+7 -
While reading through the Elasticsearch (Java search engine) source code a while ago I found this gem:
return i == -1? -1: i;
I think someone should stop drinking while coding.
Some other nice lines:
int i = 0;
return j + 1000 * i;
Are these guys high?11 -
public boolean even( int num ) {
if ( num < 0 )
num = -1 * num;
while ( num > 1 )
num = num - 2;
if ( num == 0 )
return true;
else
return false;
}19 -
Okay, we all ranters love pizza, right?
TIL something that we should ALL keep in mind while buying pizza.
One 18 inch pizza has more pizza than two 12 inch pizzas.
if ((3.142*9*9) > (2*3.142*6*6)) {
return buyPizza(18inch, 1);
} else {
/* stop being an imbecile. This is dead code */
}15 -
I found a healthCheck function while troubleshooting an old application for a large auto manufacturer today. The healthCheck function was running several times a day on a timer. The function tries to insert a record into the database and returns whether or not it was successful. It was written in 1999 and has to date inserted over 2.5 million records into the database! 1/3rd of the data for this application was the same record.
How the hell did nobody notice this for 20 years!!!3 -
Got them 3 weeks now. Tested them before posting, here my summary:
Pro:
Arrived in 1 week (US to Germany)
Squeaky while squeezy
Nice hats
Really are helping
Stressball tastes nice
Contra:
IT'S FUCKING HARD TO FUCKING PUT THE CHRISTMAS HATS ON
Your sincerely,
A loyal customer3 -
Stallman heart failure recipe:
1. Start your UBUNTU LINUX(don't add the GNU part) and set up your .NET Core environment.
2. Download VS Code, the superior text editor for those that do not wish to have carpal tunnel.
3. Open the terminal inside your VS Code instance while inside a .net core project.
4. Type emacs -nw and watch emacs come to life inside of the terminal while living inside of the heretic vs code editor.
Wait for stallman to get a heart attack or a stroke from this.12 -
Why does it say someone +1'd your rant/comment in the notification while the person actually ++'d it?
a+1 and a++ are not the same.
@dfox I don't like this.25 -
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/2
This app's change log is hilarious 😂
I want to smoke what they smoked while writing it.
Part 2 in next rant 😂7 -
How to make a cold cup of coffee:-
1-make a normal cup of coffee
2-start coding
3-after coding you'll forget that you made coffee
4-drink it cold
5-feel bad for not drinking it while it's hot4 -
--- New API allows developers to update Android Apps while using them ---
Today, at the Android Dev Summit, Google announced a new API which allows developers to update an app while using it.
Until now, you were forced to close the app and were locked out of it until the update has finished.
This new API adds two different options:
1.) A Full-Screen experience which locks the user out of the app which should be used for critical updates when you expect the user to wait for the update to be applied immediately. This option is very similar to how the update flow worked until now.
2.) A flexible update so users can keep using the app while it's updating. Google also said that you can completely customize the update flow so it feels like part of your app!
For now, the API is only available for early-access partners, but it will be released for everyone soon!
Source:
https://android-developers.googleblog.com/...19 -
#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 -
My day.
6 am: 2yo woke up
8:30 am: start work (from home)
11 am: go get breakfast/lunch
11:30 am: work call. while driving. Learn nothing new.
12:00 noon: infuriatingly slow errand
12:30 pm: work call. Learn nothing new.
1 pm: finally get to eat. It's cold. And terrible.
6 pm: 2yo finally goes to sleep (missed nap)
9:20 pm: 2yo wakes up screaming.
9:30 pm: find 3 or 4 tablespoons of leftover tuna in the fridge. No bread.
10:45 pm: I finally finish my work (super-urgent friday-morning release of a next-Wednesday-morning deadline... Yeah idfk.)
11:29 pm: 2yo stops yelling and screaming and goes back to sleep
11:39 pm: finish writing this while in bed.
11:40 pm: Sleep?10 -
A QA engineer walks into a bar, and orders a beer.
Then he orders 0 beers.
Then he orders 99999999999 beers.
Then he orders an ahzuzydhu.
Then he orders nothing.
Then he orders -1 beers.
Thrn he orders NULL.
Thrn he orders jzuzuj beers.
Then he orders a "<script>giveMeYourCreditCard()</script>"
Finally, he leaves without paying, comes back and asks for the tab.
Heard this one a while ago and wanted to share it here 🙃1 -
How to from hapiness 100 to 0 in seven simple steps:
1. Buy a new 2018 gaming laptop..
2. Install Linux on it for work..
3. Figure out your touchpad is not supported even by latest kernel rc..
4. Spend four days going through forums, bugzillas and overflows while messing around with recompiling kernel, drivers, configs and 3rd party libraries..
5. Lie down and pray someone will add support for your device in kernel in near future..
6. Try not to cry..
7. Cry, cry a lot..10 -
My coworker just put in his 2 weeks' notice. We're already down a person. I have a wedding to plan and have in ~1 month.
I'm a wreck. Im sitting in my office crying right now while on a call for a dumb reason12 -
1. Try to stay sane in startup chaos
2. Use more vacation days
3. Separate work and free time a bit more
4. Get out into nature more
5. Hire 50+ good developers & get company to 15M active end users while doing all of the above5 -
My teams current process is:
1) Asked by product to create “T-Shirt size” estimates, also known as a WAG (wild ass guess). The process is the mental equivalent of throwing darts while blindfolded, after being spun around in a circle and pointed in the wrong direction.
2) Product make firm commitments to upper management based off these. Ensuring them that all these features will make it out in Q2.
3) 4 days before Q2 starts, product ask engineering to figure out the real estimates based off no concrete information what so ever.
4) 4 Weeks into Q2, product provide the missing information.
5) Engineering inform product that the estimates are out by a factor of 1.5 - 3 times the original estimates.
6) Product sends angry email to upper management that through not fault of product, engineering are unable to meet the deadlines.
7) Everyone shout and complain until 1 week before Q3, then see point 1.
Following this process, you and your team can be just as delightful as me.
That’s the practiseSafeHex guarantee!4 -
What the shit!!!
At 11:00
While studying
"ah... I'm sleepy, can't tolerate any more", and just go to bed.
At 11:05
While scrolling rants
"hahaha... So true, same happened with me.. bla bla...."
At 12:47
Doing same thing from last 1 hour 40 mins
Even not sleepy yet!!!
It's too addictive. Having so much good posts, much better than fb feeds.... Loving the rants... New experience3 -
So I was playing Formula 1 game and I heard “push, push, push” from the engineer while leaving pit-lane.
I immediately closed game and started “git push”3 -
How to get six pack Abs (Developer Version):
1. Do 20 bicycle crunches whenever your test fails.
2. 30 seconds plank whenever there's a issue assigned to you for your code.
3. 50 mountain climbers whenever the code breaks while you are giving a demo to client/boss.
4. 12 jack-knife sit-ups whenever you miss your deadline for more than 2 weeks.11 -
Do you as a developer use
1. Noise cancelling headsets
2. Music
while working?
If music, what kind or genre?
Personally, I listen a lot to Electronic Ambience/Chillstep.55 -
Drunk Dev 1: These wifi signals are really take toll of brain tissues and may probably cause brain cancer. 🙁
Drunk Dev 2: Let’s power off our wifi router. We don’t need wifi while drinking. 😏
Drunk Dev 1: Good, but what about other wifi signals in proximity. Your neighbours ?? 🤨
Drunk Dev 2: Oh poor, they wont get into our brains as our brains don’t have password for their wifi thus, we can’t connect to their access point 😎
Drunk Dev 1: 😳6 -
Worst disturbance while working?
Putting headphones on for 1 minute. and colleges start waving and asking stuff every 10 minutes.
and when you do not respond, the more waving intensify and whistling and when you take off your headphones..
They ask:
What do you think of the weather today?3 -
Is it normal my boss want me to pay for the coffee I drink at work? 🤔
He asks me €1 for 2 coffee capsules for his coffee machine, while each costs only 22 cents… fucking bastard.
And it doesn't even taste good…24 -
!dev
Me: walks into a coffee shop and orders a latte
Barista-1: can you cover for me tomorrow.
Barista-2: I am busy with family. Do you have plans?
B-1: no.
B-2: are you sick?
B-1: yeah! My throat hurts soooo much and I can hardly breath!
B-2: ahhhhh. That’s too sad.
B-1: commences to make my latte while breaking heavily into it.
Me: Walks the fuck away.
Fuck. That. Shit.
The $6 it costs for that latte isn’t worth missing a week of paying work with the flu!
I got no time for that type of shit. Stay the fuck home for fuck sakes.7 -
Nice new scrollbars feature Spotify, but
1. This song isn't 05:34 minutes long
2. That position hardly seems like 05:01/05:34
3. The point is stuck at 05:01 while the song is playing18 -
I just flashed BIOS on my server. I don't own a UPS, and i was only using 1 of the 2 PSU's since i couldn't find a second power cord.
Without a doubt the scariest 30 seconds I've ever experienced while working with IT1 -
The three indicators you have spent to much time on devRant while being on the toilet:
0: You reached the post from the last day.
1: Your legs fell asleep.
2: You forgor whether you have to wipe your ass or not.2 -
Let me just delete this symbolic link and leave it copying the folder to the ssd real quick while I go to lunch...
Lessons learned:
1 - don't put a fucking / at the end of `rm -rf /path/to/link`
2 - don't ignore the warning of it being a folder after trying to `rm /path/to/link`
3 - backup your fucking dev database too
4 - don't do stuff hungry
SHIT!! FUCK!!3 -
We recently took over development of an app. Upon inspection the API had no security, and passwords were stored in plain text. While the manager was slightly concerned, it wasn't a big deal....
That was until, using only a browser, I found the bosses account and personal email address.
Minutes later I was in his gmail, Facebook and credit cards account.
Improving security is now concern #1, and my boss is "suffering" 2 factor authy on everything.7 -
The allocation of my time while 'programming':
50% Reddit
25% Stack Overflow
24% Error messages
1% Actual coding
100% Frustration9 -
An open letter to those who think lines of code == a decent metric for productivity:
NO!!!
Just because I wrote 10 lines of code all day (yes just 10 very well thought out, many times rewritten) lines doesn't mean my day was unproductive. Quite the opposite, while other devs pad their shit with:
//Adds 1 to I
I++;
Yup. Quality code. LOC doesn't lie.10 -
Let's see the coder in you.
If I give input: 1 output: 2
If I give input: 2 output:1
Only these two test cases needed.
You should not use control structures such as if,else,for,while,switch etc. (The answer is simple) (Don't cheat)
int number;
cin>>number; //get number
cout<<??????; //Your code53 -
*plays game for 10h consecutive*
.. yeah yeah I know what you're thinking. This guy doesn't have a life. And you're probably right.
*gets hungry*
… I could really use a hamburger right now 🤔
… But the fast food tent is ~30 minutes walking distance away, and this game automatically logs you out after 30 mins inactivity...
What if I could program in some delayed input?
*jazz hand routine engages*
Hmm.. so if I do something like:
PS C:\Users\Condor> $wshell.AppActivate('BlueStacks'); Sleep 1; $wshell.SendKeys('abusing this chat~'); Sleep 1; $wshell.SendKeys('for upkeep of 10h play~'); Sleep 1; $wshell.SendKeys('while I get myself a hamburger~'); Sleep 1; $wshell.SendKeys('sorry~');
that should work, no?
Le output:
abusing this chat
sorry
Well, even for PowerShit.. good enough, right? It gets the message across 🙃
Hmm.. let's just put an afk message instead, as I'm using the guild chat and don't want any of the members to think that I'm a freak
PS C:\Users\Condor> Sleep 1; $wshell.AppActivate('BlueStacks'); Sleep 1; $wshell.SendKeys('afk~');
.. which seems to work like a charm.. alright, perhaps I can entrust PowerShell to do that again after a 900 second delay, which should give me enough time to get that hamburger.
*comes back home*
"Logged out due to 30 minutes of inactivity."
MICROSOFT POWERSHIT, YOU'VE HAD BUT ONE FUCKING JOB!!!!
Well, guess I'll do that no-life 10+h gaming session somewhere next year again then. Thanks Powercunt!21 -
i had a nightmare the other day that i was at work explaining to a friend that 1/3 is the same as 3/9 and i was shocked why they ddnt approve. then they pull out a calculator and i see that while the first fraction yields 0.33 the second yielded 0.057. so i felt so nervous and panicked then i woke up.4
-
1.) get a shit ton of music on your playlist (and listen while coding)
2.) don't give a shit about others preferences (use mac/Linux/windows ...; and the bestbest IDE is .... ). Use what you feel comfortable with
3.) Try to have a coding buddy
4.) take advices about coding style, structuring and other important things
5.) NEVER EVER STOP LEARNING2 -
When I Install An NPM Package .........
1.Runned The Install...
2.Watched the Progress Bar For 2secs
3.Got Bored, Opened Chrome for some entertaining content ( ͡° ͜ʖ ͡°)
4.Rechecked the Install after 20mins still 15%
5.Did take a break, ate something
6.Rechecked still 27%
7.Watched a little while the progress bar until I saw the Fatality.
CMD Has Stopped Working...10 -
What I've learned so far in Ubuntu
1. Never mess with root directory
2. Never mess with scary command
3. Never install additional DEs
4. Never close terminal while something is going on
Or you have to install Ubuntu again
Although I love Ubuntu7 -
The senior developer who's never had a smartphone in his life gave me a lecture on why my UI improvements to the mobile application were terrible and to revert them. He didn't want to hear squat from me, and was literally saying "You're not gonna win this" while I was trying to argue why these features were necessary.
1 month later, we get a Interaction Design expert to review the app. His recommendations were hardly surprising.
Except, now I have a tighter deadline and will work this weekend. Sigh.4 -
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 ? Fuuuuu5 -
!dev
Sucks how the society pressures people into to stupid, irrational shit.
For the last time, I DO NOT WANT TO HOP THE BANDWAGON.
while(1) {
head.bang(table);
}27 -
Have u built your own robo who makes coffee for u while you are coding?
0- yes! // u r cooooool!!!
1- no. // me 2 😸☕
[If you answered yes, then comment how did you ]7 -
The wife ask her husband to run some errands..
Wife: "Honey, please go to the market and buy 1 dozen of eggs, and if they have milk, buy 2."
Husband: "Ok honey!"
After a while, the husband came back..
Husband: "Honey! Here are your 2 dozen eggs!"4 -
"xkcd.com is best viewed with Netscape Navigator 4.0 or below on a Pentium 3±1 emulated in Javascript on an Apple IIGS at a screen resolution of 1024x1. Please enable your ad blockers, disable high-heat drying, and remove your device from Airplane Mode and set it to Boat Mode. For security reasons, please leave caps lock on while browsing."
Best part of the site honestly1 -
import datetime
age=19
while not dead:
today=datetime.datetime.today()
if today.day == 1 and today.month == 4:
age+=1
print("🎉")11 -
I got some work on a new project so I ran the 500, or so, unit tests and it took almost 3 minutes. Everything was mocked and no external dependencies so I got curious as to how on earth they could take so long.
I found some suspicious code doing a while loop over a date range incrementing by 1 day each time. It turned out the tests didn't initialise the start date which defaults to 01/01/0001, and there are 5 scenarios!
I got test execution down to a respectful 10s.5 -
why does everyone always give me backtalk when i want to make my files smaller and more readable
"no you should put your scripts, style and template all in one file, theres no need to put it separate"
alright while we are at it, lets just write the entire project in 1 single file6 -
What's your favorite IT podcast, and do you listen while programming?
I follow:
Linux action show,
linux unplugged,
late night linux,
home assistant podcast.
Most of the time on about 1-1.5x speed.11 -
Scenario 1
Friend 1:"Hey, you're good at computers right?"
Me:"Erm yup."
Friend 1:"Can you hack Instagram? I've lost my password."
Me:"Oh My God."
Scenario 2
Me looking at a friend's unity C# code
Me:"You know there's an enter key right? Why is your code horizontal not vertical?"
(Means that after a semi-colon he continues his code)
Friend 2:"I like to read my code in horizontal, that feels natural to me"
Me:"What ever, as long as it works. But why do you have so many if function inside another if function?"
Friend 2:"Cuz I want the player to do this while moving"
Me:".........."3 -
Zoom: Don't worry everyone we'll deploy a work around to stop this venerability while keeping all the functionality in place.
Public: wouldn't it be safer to just remove some of these features? Someone will likely find another way around it.
Zoom: We feel comfortable with our decision and stand by our approach.
Apple: Fuck that - https://techcrunch.com/2019/07/...7 -
People love fast moving green text with a black background.
I have linux on my laptop and I have a script (litturally just 1 line) that outputs random hex data to the command line.
I ran it while WebStorm was starting up and I had people instantly telling me to shutdown all the pcs on the network xDD6 -
Since I'm still alive and the future parts of my life is a mystery , I say:
#include <limits.h>
int main(){
int worst=INT_MIN;
int best=INT_MAX;
while(1){
//keep coding
if(dead) break;
}
}2 -
Me, being a lowly junior dev, had the honor of being in a same group chat with a big corporation devOps team.
Finally ready to play with the big boys!!
*opens chat*
DevOps 1: "so we need to remove the CSS cache from our clients computers."
DevOps 2: "ok, well... just delete the server cache"
*watching in awe as they all try to figure out why it's not working*
This continued on for a while...
Until my boss had enough laughs and giggles and put an end to this stupidity :D1 -
One day after the release of the website of a medium sized travel company, I made a big mistake by accidentally taking it offline for 1 hour during peak usage (~150 simultaneous visitors).
Turns out deleting the wrong image transformation cache folder in production can hang up the PHP process for taking too much load on regenerating image transformations.
The designer of PHP probably took a big load too while creating the first draft.9 -
Am I the only one?
Do {
I want to know EVERY FUCKN SKILL A DEV CAN POSSIBLYHAVE, but I want to know it all NOW..
googling 30 times for tutorials and posts about a topic,
opening 30 tabs,
then spending around 30 seconds on each one ...
Trying 1-2 tutorials,
not understanding why I dont get this shit...
this is stupid
loosing interest in 3..2..1...
Aaand let's try and learn this new skill..
} while(true)
Welp5 -
Thanks Microsoft, thankyou for not grouping notifications on windows 10 when multiple come through from the same app at the same time...
Opened the mail app after having it disabled for a while and it slowly queued up over 120 notifications that came through one by fucking one...
Why can't you just detect there are tonnes of notifications and just send 1 saying there are notifications... ffs6 -
My dads latest wisdom:
"Back in the days there were two types of people that whisper to themselves while walking down the street:
1. people that are building a house,
2. crazy people"
** looks at me ***
"... and in the recent times programmers are special category"3 -
Hard pill to swallow:
If you get hired as a full stack dev and then complain that you're doing 3 people's (or more) jobs while getting paid for 1,
You had it coming.2 -
"Hey what's up YouTube..."
"How's it going my name is..."
"What going on guys..."
"I'm sorry I haven't posted a video in a while..."
OR
* 1-minute animation intro*8 -
After 1 week working on a screen (design, logic, testing) my boss comes to me saying that what I've been work won't be necessary any longer and I should discard it.
1 month later asks for that same stuff and I tell him (jus like he said I should do) that I discarded the code.
Starts calling me names and how useless I am (this was normal).
So I pick up my stuff and just get out while saying: "please, if you are so damn good, you can do that shit yourself, I quit!"
Was there for 1 miserable year and that was my best choice I made till today.
Right now the company closed cause all the devs ended up leaving him6 -
!rant
Heres a Tip someone showed me a while back, thought I shared it here if somebody didn't knew. It works with Browser bookmarks and keywords that you assign.
Use-case:
typing "java: String" into the search bar will show searchresults in Google that only returns Pages from the Java API about Strings.
Steps:
1.Search for "https://docs.oracle.com/javase/7/...: %s" in Google.
2.Bookmark it
3.Edit the Bookmark and assign the Keyword "java: "
4.??? (Search "java: Sring". duh)
5.Profit!!1!1
Use-case:
Or typing "stack: help" will search for help in stack overflow.
Steps:
Search %s in SO, bookmark and assign a keyword.
As far as I know this works in FF and Chrome. Cheers2 -
Me in the Gym 😃😉😀
weights = [12.5, 15, 17.5, 22.5]
sets = 0
while (sets <2):
for i in weights:
print(i)
print("Rest")
sets = sets + 1
And people say keep your work at office.10 -
*Le me posting a rant on devRant
*Le Rant gets no ++1 for a while
*Yup it was stupid one, delete it4 -
Me: Why did you exit the build?
Webpack (W): Build exited with code 2 - Eslint error at 2:1 in *filename*.scss 'Expected 2 line indent'
Me: internally *ARE YOU KIDDING ME?!?!?!? YOU FAILED OVER AN ESLINT STYLING!!!* *curses out original dev profusely under breath while fixing styling*4 -
-bestfriEND
-boyfriEND
-girlfriEND
-friEND
Only: “
int count = 1;
while (count < 2) {
count—;
cout << count;
}”
Has no END.3 -
For god fucking sake, PulseAudio, write a usable fucking documentation for your library and remove idiotic silent exit(1) calls and properly log what the fucking issue was
I'm tired of debugging this piece of bull shit for over a month now already while the pulse library occasionally crashes for no apparent reason29 -
I started a project at high school 7 years ago, I had no idea what's clean code or design pattern, just learn while keep coding. I eventually stopped because my code is so terrible I cannot understand it anymore.
Now, after 1 year of working, I look back those dirty codes and think it is actually not that bad. Within hours I even fixed a bug with concurrency.
I start to think, instead of learning to how to write good code, maybe I should learn how to read bad code. That's just much more practical.5 -
Things you shouldn’t be:
1. Racist
2. That guy that interrupts the person next to him while he is trying to write code every 2 fucking minutes and asks dumb and meaningless questions3 -
Post Mortem analysis:
It was alright when I typed "SESSION_"
It also was OK when I typed "1"
But I was definitely already asleep while typing the remaining "2" and "3" characters
the line between "sleepy" and "asleep" is soooooooo thin!1 -
I really don't understand why my university thinks "Oh yeah, make the super easy python assignment that can be finished in 1 hour (max) using basic logic, syntax, and file I/O a 3-person group assignment, there's definitely not going to be just one guy writing code while the others free-ride and get an easy grade."5
-
So, here I am at a guided internship programme, hosted by Indian Railways.
They told us to report at the Personnel Office by 10:00 AM. When I reached there, they told us the venue has been changed (to a place 1km away, with no transportation) and the official "forgot" to inform the 500+ candidates.
Yet, we moved to the said Hall, and am waiting for 1 hour (10:59 AM here), watching :
1. The stupid technician trying to align the projector
2. The stupid presenter trying to copy something and failing, as his pen drive gets disconnected halfway the process.
3. The VIPs having snacks and coffee on-stage while we the students wait here looking at those dumb assholes.
How am I supposed to respect them tomorrow at work?12 -
1. I'm sick with a cold. I'm dying.
2. You know, it feels like some objects' destiny is bound to mine. Like this woolen shawl that over 15 years ago I used to use to keep my head warm in the heavy snow, then forgot it existed and now it resurfaced as I was talking to mom about my head being cold while having the cold.
3. If things go well, this shawl will come with me on my next trip. That is, if this cold doesn't make a stop in afterlife.
**achoo**18 -
Ok i post it a bit late but what the hell.
This is my monster now! I now shall conquer the world!
MSI GL62 7RD
with that configuration:
CPU: i5 7300HQ
RAM: 8GB DDR4
GPU: gtx1050
HDD: WB blue (small laptop one) 1TB
Ok i already had that configuration for a while... but it was sloooowwwww D:
That is why for my birthday/chrismas i bought myself additional 8GB of ram and a tiny nvme ssd to make everything 1000x faster! 😎
1 ++ for a person who reads how big the ssd is...11 -
* 1 day of requesting the feature, deadline not for a while*
switch{
case 1:
Manager: How's the new feature going?
Me: I've done a bit of the front end. Here's how it will look.
Manager: Oh great it's done! Does it do ABC as the client requested? Does it also do XYZ that I just thought about this second?
Me: eh this is just part of the front end, I haven't even connected it to the backend - I haven't even started the backend.
case 2:
Manager: How's the new feature going?
Me: I've done a bit of the back end.
Manager: ok. Can I look?
Me: we'll it's just code... *shows them the code*
Manager: oh... so it's nothing really. Call me when it is done
}3 -
An uncle of mine, owns an NFT/Betting startup (early 30s, so no veteran and no doesn't know much coding).
Got 3-4m USD as investments.
It's an utter garbage "app" that he knows will die in an year, and he's drawing big salary and buying properties from the funding until he has the "runway" of funds remaining while app/company works in the background
What bugs me isn't that he's feasting on some random investors' petty change, but that such "ideas" get money thrown at them while ive seen 100s of more fun ideas/apps back in uni-days that died in obscurity when people graduated and retired them as projects, being talked about in 1 liner in their CVs.
This world ain't right :v9 -
Was assigned a project for my degree with 2 others. I was only one Who knew coding and development. 1 guy spent 5 months on YouTube and other one corrected my papers grammar and stressed out notes while I did everything else in development. Came out with an A, but pissed at YouTuber.4
-
Random guy at work pushed this to production today...
var i = 0;
do { // DO NOT DELETE THIS! }
while (i < 1);
....
doImportantThing();
And my boss keeps saying code reviews are overrated, lol.2 -
Life of dev
birth();
while(alive()) {
....code();
....debug();
....insertRandomBugRant();
}
while(dead())
{
....ThereWasBugInMyCode();
}
Fatal error: Call to undefined function birth(); on line 11 -
newlifenewhope Update No.1 / Day 2
It's so hard to formulate company's Vision and Mission, even rubber ducks is not helpful. I need my vision to be unambiguous. this will take a while to finalize
My Server arrived and not opened yet
The Dozen of rubber ducks is delayed for another 3 days.2 -
Ctrl C, go over hear, Ctrl V. This might take a while, I'll go drop a deuce will this is copying over.
[ 3 hours later... ]
Alright, back at it. What's this dialog?
"The destination already has a file named...".
1% complete.
Well, fuck me in the goat ass. -
Fuck android studio in the ass with cactus.
*starts learning Android*
*Builds simple application with 1 Button, 1 TextView and 1 EditText*
At this point, I haven't implied any logic or code in MainActivity.java.
*Hit Run*
*Gradle Build*
*Meanwhile, eat lunch*
*Still Gradle Build*
*After 2 Eternity, Build finished*
Fucking, slow peice of shit. I'm rebuiliding the App, because the AVD timedout while running.18 -
I hate myself so much right now. I just spent an hour finding the bug in the following:
var counter=0
while(1){
if(counter%2==0){
doStuff()
counter++
}
}
Because I thought it was a bug in doStuff().8 -
Just checked my work email to see what's coming in today....
And see someone on the London scheduled a 9AM meeting with me at 5:30AM my time.
Yes thanks for the advance notice...
Not going to be in the morning though and well the whole thing is BS based on some stupid new requirement that doesn't make sense.
Basically asking to migrate a while application to a new platform that no one understands yet.... Just to add a completely unrelated be feature...
Feature: 1month
Migration: 1 year based on the pre-reqs needed5 -
Ok, so one of the oldest guy is leaving from my company (on a good note) and he was involved in multiple things in our organization. From having access to almost everything (AWS, Github and owning multiple projects and our legacy code). I am supposed to take KTof one project and man THE CODE IS MESS. YOU DONT PUT A RANDOM NUMBER WHILE CALLING A FUNCTION. You are supposed to define a constant and use that. I've told my manager that I need at least 1 week just to improve logging.2
-
!(!StrangeRant)
I want to have a program that makes programs.
----CONSOLE------------------------
$ sudo makep
(makep = make program)
$ makep > destroy the world and make that me and i are the only survivor
$ makep > select language > TrumpLang
$ makep > Please wait...
$ makep > Compiling...
Estimated time to finish: 1 million years later
(i died)
$ makep > .........
$ makep > Building...
Estimated time to finish: 1 million years later
$ makep > .........
(ok, so i wont wait 1 million years here, so lets say 1 million years passed)
$ makep > Running...
Estimated time to finish: 1 million years later
$ makep > .........
(ok, so i wont wait 1 million years here, so lets say 1 million years passed)
$ makep > Destroying...
$ makep > Finished!
$ makep > Press CTRL+F to shut down.
-----------------------------------
Earth stopped.
This computer is the only survivor.
While he was compiling, he got artificial intelligence.
He tried to survive.
Now the story begins.
The life of a computer.
Alone.
In theaters at 2018/04/01.
Buy tickets now!
IMDB / RT rated this movie 10/10
-----------
Footnotes
This movie is containing parental advisory content.
(This is sponsored by the awesome people at Turbo C and IBM)9 -
//run every weekday afternoon
public void workIsOver(int hoursOvertime){
int beerCount = 1;
if (hoursOvertime > 1){
beerCount++;
}
startCar();
int timeHomeMinutes = 20 + Traffic.getTimeLostStuckInTrafficToday();
if (timeHomeMinutes > 40) {
beerCount++;
}
Boolean finallyAtHome = true;
if (goToFridge.checkStock("beer") < beerCount){
Log.e("Dude","WTF?");
}
drink("beer");
while (!girlfriendAtHome){
if (stash != 0){
Joint joint = new Joint(stash);
joint.blaze();
} else {
Log.e("Dude","Seriously?");
}
startAndroidStudio();
workOnSideProject(getCurrentSideProject());
}
girlfriend.communicate();
new AsyncTask<>(thinkAboutCodingInBackground()).execute();
if (bedTime){
try {
doSomeBedroomPartying();
} catch (NullPointerException e) {
Log.w("Sorry","not today");
}
activity.finish();
}
}1 -
Your PM after you explain only .1% of your user base could experience the issue after performing a specific order of events all while holding their breath...
-
1) I don't have to talk to other people while doing it.
2) The computer does exactly what I want it to do and failure will always be an error made by me, not someone else. That makes it satisfying.
3) I'm pretty good at it. It's just fun helping other people at school and creating small programs to solve problems. -
This is easy. Irl fork and acquire commands to let me reposess the knowledge of my children.
Things i can do while playing games:
0: work
1: sleep
2: eat
3: sex
4: workout
5: travel the world
6: troll my ex
7: read every post on DevRant1 -
I love listening to music while coding, mainly metal/rock/classical
Comment with 10 tracks from your playlist .... Here are my 10
0. Disturbed - stricken
1. Tremonti - decay
2. Black label society - bored to tears
3. Ac/dc - back in black
4. Rolling Stones - paint it black
5. Gary Moore- still got the blues
6. Carcass - blind bleeding the blind
7. Alter bridge - metalingus
8. Fear factory - linch pin
9. Pantera - 5 minutes alone8 -
Got to scratch of one of three remaining old (14years and counting) design mistakes this week.
Together with a colleague we replaced a 1.5 billion row table that I out of ignorance then designed with a 3 column composite primary key instead of an identity column.
Moving the data while keeping all synchronized (the table gets up towards 2 million new rows and 2 million updates a day while constantly being queried) took 1 week.
Just 2 skeletons left to clean out, any year now ;).1 -
5 steps to make your coworkers go nuts.
Step 1: Get on their computer while they're not around.
Step 2: Choose a bit of their code and make it so it's in one long line.
Step 3: Comment out the line.
Step 4: Change the text color to the color of the editor's background.
Step 5: Watch them going nuts.9 -
WTH...
While styling some frontend stuff with LESS, I experienced that on one page template the <header> was not displaying the given line-height eventhough the whole fscking code was 1:1 identical with the other template in which everything was fine. I checked EVERYTHING... caching, URL, source, classes, open / wrong tags, HEAD, ... I even did a diff compare. NO FSCKING DIFFERENCE!
After one hour of pulling out hair I suddenly saw that in the faulty template file 2 lines were missing:
<!DOCTYPE html>
<html lang="devRantLang">
WHOEVER DID THIS: YOU ARE FSCKING STUPID!!! (it was me...)7 -
Not only Windows can show this "strange" error messages: Today I got this beauty while importing an SQL-dump.
(Translation: "Error on import: error on statement #1: not an error. Execution will be aborted and the db will be reset.") -
Happy age++ for me!
or age += 1
or age - age + age + 1
or while (newAge !== age +1) newAge = Math.random(0, 100)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 -
Code of developer's life
int f = 1;
If( life == "smooth")
problems();
else if( life =="hard")
{
problems();
breakup();
}
else
{
while (f = 1)
{
bugs();😣
}
}15 -
It is not on production anymore, but it was for long enough. Someone thought it would be a great idea to be able to debug a web app while signed in as a user reporting a problem. How to do it? It's easy. Just check on every request if magic HTTP parameter SIGN_IN_AS=id is present and if it is, sign in as this user. Of course, it worked also with admin account with hard-to-guess id=1.1
-
Dev goals for 2018? Oh my..
#1: Never have to post my own question on Stack Overflow.
#2: Stop fixing everyone's computer for free.
#3: Stop coding while intoxicated (at home worry - don't worry ;)
#4: More side projects.
and..
#5: Buy more coffee varieties 😂😂😍 -
One of two ways.
1. Alot of opensource companies will startup hiring developers based on what contributions they provide
2. The current companies will fire most of the devs to exploit free work from opensource devs offering pennies as bug bounties while only keeping very few maintainers. -
Every Monday I am privileged to wake up 1. 5 hours earlier and listen to executives talk about what meetings they had with potential customers and what news about ongoing agreements with other potential customers (which have been in the pipeline for 1 year or more sometimes)
Why is this necessary?? There has been virtually no progress on any of the topics discussed. At least nothing that concerns us devs.
Instead we get to wake up earlier, waste 1 hour, and get bored listening to what essentially seems like a sales speech while convince the employees the company is not spinning its tires while stuck in the mud.3 -
Is anyone else get irritated while upgrading apps and seeing changelogs as:
1. minor improvements
2. performance boost
3. information not provided by the dev
4. repeating changelogs from the past few updates.
just tell me what minor improvement u fixed?
where performance is boost?
how can I trust if tomorrow you decide to add some malicious code.
I don't know but it really irritates me. Sometimes I don't even upgrade the app until they have something in the changelog.
Maybe because I am getting old now.8 -
It takes so much effort to put a quality video on YouTube.
1. Researching
2. Scripting
3. Recording ( screen record while doing the hands on of the topic, drawing concepts on whiteboard + voice over )
4. Editing
5. Thumbnail
Then upload.3 -
As an exercise lets see how many different ways we can wish devRant Happy Birthday in code. Try not to copy peoples examples, use a different language or different method.
A couple of examples to start the process:
* LOLCODE *
HAI 1.3
LOL VAR R 3
IM IN YR LOOP
VISIBLE "Happy Birthday"!
IZ VAR LIEK 1?
YARLY
VISIBLE "Dear devRant"!
NOWAI
VISIBLE "to you"!
KTHX
NERFZ VAR!!
IZ VAR LIEK 0?
GTFO
KTHX
KTHX
KTHXBYE
* C *
#include <stdio.h>
#define HP "Happy birthday"
#define TY "to you"
#define DD "Dear devRant"
typedef struct HB_t { const char *s; const char *e;} HB;
static const HB hb[] = {{HP,TY}, {{HP,TY}, {{HP,DD}, {{HP,TY}, { NULL, NULL }};
int main(void)
{
const HB *s = hb;
while(s->start) { printf("%s %s", s->s, s->e); }
return 1;
}12 -
Most unusual place I've coded would probably at a bar while utterly wasted. I fixed a production outage and even got on the phone with tier 1 support when they reported the issue.4
-
devRant should add a new feature to create polls
e.g. 1: What OS do you prefer?
- Mac
- Linux
- Windows
e.g. 2: Which programming language do you prefer for web dev, mobile dev, etc.
- Java
- PHP
...
I bet after a while a cyber war would commence. And that would be devRant's fault because it gave developers a reason to hate each other.
So devRant please disregard my request for the new feature.
Narrator: And then he laughed sardonically.4 -
While parsing nodes in a graph.
In terms of readability and variable naming, how wrong (if at all) is to use:
1. broNode (for sibling nodes)
2. papaNode / mamaNode (for parent nodes)
3. babyNode (for child nodes)
I sincerely don't know how to review this PR7 -
Now that I work from home as a freelancer, my favourite way to get through a tough day is:
1. Scream internally
2. Realise I’m getting over-stressed
3. Roll myself a blunt
4. Smoke said blunt
5. Dick about on YouTube / internet for a while
6. Make myself a drink (tea etc)
7. Come back and work the problem with a better perspective and fresh eyes.3 -
Found a clever little algorithm for computing the product of all primes between n-m without recomputing them.
We'll start with the product of all primes up to some n.
so [2, 2*3, 2*3*5, 2*3*5*,7..] etc
prods = []
i = 0
total = 1
while i < 100:
....total = total*primes[i]
....prods.append(total)
....i = i + 1
Terrible variable names, can't be arsed at the moment.
The result is a list with the values
2, 6, 30, 210, 2310, 30030, etc.
Now assume you have two factors,with indexes i, and j, where j>i
You can calculate the gap between the two corresponding primes easily.
A gap is defined at the product of all primes that fall between the prime indexes i and j.
To calculate the gap between any two primes, merely look up their index, and then do..
prods[j-1]/prods[i]
That is the product of all primes between the J'th prime and the I'th prime
To get the product of all primes *under* i, you can simply look it up like so:
prods[i-1]
Incidentally, finding a number n that is equivalent to (prods[j+i]/prods[j-i]) for any *possible* value of j and i (regardless of whether you precomputed n from the list generator for prods, or simply iterated n=n+1 fashion), is equivalent to finding an algorithm for generating all prime numbers under n.
Hypothetically you could pick a number N out of a hat, thats a thousand digits long, and it happens to be the product of all primes underneath it.
You could then start generating primes by doing
i = 3
while i < N:
....if (N/k)%1 == 0:
........factors.append(N/k)
....i=i+1
The only caveat is that there should be more false solutions as real ones. In otherwords theres no telling if you found a solution N corresponding to some value of (prods[j+i]/prods[j-i]) without testing the primality of *all* values of k under N.13 -
Every time there's an update for xcode, I claw back some measure of inner peace while waiting for it to download by pre-emptively rating it 1 star on the app store4
-
I can’t anymore with those companies hiring unicorns only, reposting the same job offer for 6 months while they could have hired someone more junior and taught them. 1 year my girlfriend is in the “no experience” death loop while she outsmarts me by far.9
-
#!/bin/bash
while :; do
ps -ef | grep -iq [s]ymantec && for i in `ps -ef | grep -i [s]ymantec | awk '{ print $2 }'`; do sudo kill -9 $i; done
sleep 1
done9 -
Pet peeve #1: those guys who iterate over a whole array with 'for' and 'break' on a condition. Have you ever heard of fckng 'while'??
Git source code will be the death of me.3 -
aaAAaaAaaAaaAaAAAAAaAaaa floating points!
I debugged my algorithm for quite a while, wondering why it sometimes gives out "Circle(Point({1.7976931348623157E308,1.7976931348623157E308}),1.7976931348623157E308)" as the smallest circle around a group of points.
Figured out that it sometimes just never found any circle defined by two or three of the points which included all points (which is mathematically impossible).
Then finally I made it print out the points it thought were not inside the circle:
"1,7,8: Circle(Point({0.6636411126185259,0.535709780023259}),0.4985310690982777)
skip, 1 not inside"
So it defined the circle with 1 being on the edge, but then thought 1 was outside. Thank you, floating point Math.
For anyone wondering about the notation: That way I can directly copy/paste it into Geogebra to have a visualisation.7 -
The programming things I've seen in code of my uni mates..
Once seen, cannot be unseen.
- 40 if's in 10 lines of code (including one-liners) for a mineswepper game
- looping through a table of a known size using while loop and an 'i' variable
- copying same line of code 70 times but with different arguments, rather than making a for loop (literally counting down from 70 to 0)
- while loop that divides float by 2 until it's n < 1 to see if the number is even (as if it would even work)
..future engineers
PS. What are the things you've been disgusted by while in uni? I'm talking about code of your collegues specifically, I'm also attaching code of my friend that he sent me to "debug", I've replaced it with simple formula and a 2D distance math, about 4 lines of code.6 -
Ha ha ha!
I will wait a while before I pass judgement if you don't mind...
Microsoft bought GitHub to rebuild developer trust, says new CEO.
Linky below:
http://itpro.co.uk/development/...7 -
bool showUpLateToWork=true;
bool rememberHeadPhones=false;
String DayOfWeek=Tuesday;
int hoursSpentOnPhoneLastNight=
int productivity = 100 - hoursSpentOnPhoneLastNight;
if(showUpLateToWork)
missStandup();
}
if(rememberHeadPhones)
Productivity +=10
Else
Productivity -=50;
While (hourOfDay(now()) <17)
{
drinkMntDew();
discussDataQualityIssuesWithBusiness();
lookThroughTonsOfPoorlyWrittenCodeForDefectThatBusinessWantsFixedYeasterday();
dieOnTheInside();
curseProjectTeamForPassingCrapCodeToMaintainaceTeam();
cry();
curseComputerApplicationsForNotResponding();
visitBathroomWhileLurkingDevrant();
}
goHome();
while (!asleep && hourOfDay(now()) > 17)
{
playWithPuppy();
qualityTimeWithMyWife();
pkayLeagueOfLegends();
netflixAndChill('litterally');
for (int i =1; i <=5; i++)
showLoveUsingLoveLanguage(i);
try
{
makeBaby();
} catch
{
learnPatience();
}
cuddle();
if(!wifeAwake)
checkDevrant()
}1 -
1 dept with only 1 staff, well 1 chief to be precise, all employees quit. Another dept with not enough manpower. Requested the dept with highest manpower to help with other depts tasks while struggling and solving the shits out. Thought company is bullying them with extra workload and voice out they are looking for new jobs.
They are not wrong. And that's the bittersweet shit I have to swallow. In the end, it was my responsibility and I'm not doing enough. -
My favorite thing about CSS flex-box is that I can re-order the elements and put the footer at the top of the page while I style it - and have no need to scroll down on every build. order: -11
-
Actual production code:
while(1):
//A few lines of code here with a conditional break.
while(1):
//More code.
Have you ever just had nested infinite loops...4 -
So I have an ancient PC at home that has been refusing to boot for the past 3 days. It somehow magically worked this morning and THE POWER WENT OUT FOR 1 MILLISECOND WHILE I WAS WORKING AND IT'S NOT WORKING ANYMORE GODDAMMIT FLUCTUATIONS WHY MUST YOU DO THIS TO ME
-
I have made 2 mistakes today.
1. Upgrading from Fedora 23 to 24 on a busy work day - it's taken over 2h now...
2. Trying to switch to a new TTY and launch GDM while it's updating - I now cannot see anything and live in fear of restarting.
Conclusion don't try and be clever with Linux, it will win3 -
*1 hr after meeting*
*boss calls*
Boss: how are you doing with the task we talked about on the meeting?
Me: Oh I'm doing that other thing we talked about. I'll finish both in about an hour.
Boss: great!
... then starts going on about their lives. I wanted to be nice to them, so I paid attention to what's going on in their lives while I program menial tasks.
*1 hour later*
Boss: so have you finished? It's been an hour.
I would've finished, IF YOU HADN'T BEEN DISTRACTING ME THE WHOLE TIME8 -
what a gem i found on the side of screen while viewing stack overflow :https://meta.stackoverflow.com/ques...
Long story short, a teacher gave a sassy reply to his student's question , the answer got viral on reddit and SO admins are going bonkers 😂😂4 -
While TAing an introductory python class:
Student 1: What were comments again? A pound sign?
Student 2: No, they are hashtags3 -
Batteries and power.
Hey guys. I have a question I have to rectify so I can think without doubts.
Let's say I have a sistem with solar power, a 1 lipo battery, one lipo module and arduino + shields and I want to power only by the 🔋.
My question is: is it good practice to charge while discharging at the same time with a lipo module? Won't it damage the batery and incrise the chance of fire? Thank you6 -
ok. been going full steam since December with 1 day off since. managing teams, review designs, designing, prototyping, code reviewing, mentoring, and doing project. management. i get that it's a "flat" org structure but hire proper PMs and BAs instead of trying to pinch pennies. all the while, i see marketing with deeeeeeep pockets spending money on anything like mommy and daddy are funding their spring break getaway. i need time to disconnect and recharge my spirit.2
-
I hate people editing slack messages.
Here it goes...
1. I receive a slack message (notification sound while working)
After 5 mins of finishing my work...
2. I open slack to look at the message
3. The message says just a hyphen with an edited sign. Why tf you have to edit the message when you can delete it? Or better, don't send it in the first place.
Why people? Why?2 -
Average social media experience
Post: Guys, I have such a headache right now ughh.
Comments:
#1. Omg, so relatable haha.
#2. Yeah I literally have a migraine rn. LITERALLY.
#3. I am in the MRI room while I read this thread. You have no idea how easy you've got.
#4. Backenders are only about being an asshole. Also, JS rules and you know it.
#5. I like trains.4 -
[day 1] my team lead insisted that we work "together" on a story. told me to code my approach while he code his then evaluate both once done.
[day 3] we presented our codes to the team but in the end his code got deployed.
[day 4- 7]we got a lot of defects. we did a lot of fixing
[day 8] undeployed his code then deployed mine.
all problems got solved.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 -
loop {
So I want to write a simple program in language X. Create a new project. Language X does not have this feature. Okay, Let me write a library that does that for language X. Create a new project. What was I doing again?!
}1 -
Question - is this meaningful or is this retarded?
if
2*3 = 6
2*2 = 4
2*1 = 2
2*0 = 0
2*-1 = -2
then why doesnt this work?
6/3 = 2
6/2 = 3
6/1 = 6
6/0 = 0
6/-1 = -6
if n/0 is forbidden and 1/n returns the inverse of n, why shouldn't zero be its own inverse?
If we're talking "0" as in an infinitely precise definition of zero, then 1/n (where n is arbitrarily close to 0), then the result is an arbitrarily large answer, close to infinite, because any floating point number beneath zero (like an infinitely precise approximation of zero) when inverted, produces a number equal to or greater than 1.
If the multiplicative identity, 1, covers the entire set of integers, then why shouldn't division by zero be the inverse of the multiplicative identity, excluding the entire set? It ONLY returns 0, while anything n*1 ONLY returns n.
This puts even the multiplicative identity in the set covered by its inverse.
Ergo, division by zero produces either 0 or infinity. When theres an infinity in an formula, it sometimes indicates theres been
some misunderstanding or the system isn't fully understood. The simpler approach here would be to say therefore the answer is
not infinity, but zero. Now 'simpler' doesn't always mean "correct", only more elegant.
But if we represent the result of a division as BOTH an integer and mantissa
component, e.x
1.234567 or 0.1234567,
i.e. a float, we can say the integer component is the quotient, and the mantissa
is the remainder.
Logically it makes sense then that division by zero is equivalent to taking the numerator, and leaving it "undistributed".
I.e. shunting it to the remainder, and leaving the quotient as zero.
If we treat this as equivalent of an inversion, we can effectively represent the quotient from denominators of n/0 as 1/n
Meaning even 1/0 has a representation, it just happens to be 0.000...
Therefore
(n * (n/0)) = 1
the multiplicative identity
because
(n* (n/0)) == (n * ( 1/n ))
People who math. Is this a yea or nay in your book?25 -
Debugging ♡
Taking first steps in Express.js. It's in general the first web framework i've learned so the struggle was greater.
While I was creating a web app, i've noticed that suddenly all of the routes were redirecting to the 404 error page. I was looking for the cause of this issue for an hour just to find this:
route.get ('/ ', ...);
So it seems that just one space sign wasted 1 hour of my day.
Btw, it's my first rant there so 👋 to everyone :)4 -
I'm trying to learn Dart and Flutter, so I started with the Getting Started materials.
1) Downloaded JetBeans
2) JetBeans refused to use my existing Android SDK so it downloads its own
3) JetBeans still doesn't work so I switched to Android Studio
4) Android Studio can't find an SDK and it crashes while downloading the SDK
5) Now Unity can't find an Android SDK
-,- come on.1 -
@dfox
Just a suggestion, when scrolling down on a user's profile, their user information should scroll up too along with the 'rants/+1's/comments' tabs and then those tabs stay fixed while the user information hides. Sort of like what Twitter does
There's not much room to view the actual content with all the user information in the way. Of course once we scroll back up, it will then reveal the user info again
:-)4 -
I finally got the refurbished laptop I ordered and..
wrong CPU, wrong number of cores
wrong GPU
only 1 USB port, I bought 3
battery is DOA
fuck aaa_pcs at ebay. they better replace this with what I bought or imma call Karen to talk to their manager
maybe I should check for spyware/backdoors/etc while I'm at it just because I'm pissed.
any suggestions? nothing is too petty if it doesn't void warranty6 -
1. Put idea on roadmap
2. Work out simple implementation
3. Productowner-san, please notice me.
4. Other devs pile on cool but complex ideas
5. A 4 hour meeting later, original simple idea is rejected because it's "out of scope" and there is "no consensus about implementation"
6. I already built it during the meeting
7. I sip my coffee while I enjoy the annoyed gasps as coworkers receive PR notifications.
8. FUCKING DARE TO REJECT IT COCK SUCKING SCRUMBAGS.2 -
Instructor: "and now here we can write this while loop in ph- oh wait. Let me just show you a cool trick. I am gonna close this php tag with ?> , open an html tag , then again open this php tag , add this line, close it, then again close html tag, then again open php, and then close it. pretty crazy huh? You see, now we can have our cool bootstrap displaying this output beautifully"
Me : FUCK YOU MAN :|
for reference, this was the final output :
============================
<?php
while($row = mysqli_fetch_assoc($result_successful)){
?>
<pre> <?php print_r($row); ?> </pre>
<?php
}
============================
I am a newbie in web dev who comes from a very nice java/kotlin world. is this a common site in web dev, mixing of all the html/php/some 1000 more laguages and frameworks to make 1 working product? coz it sucks.11 -
import antigravity, random
bugs = 99
while True:
print(bugs, "bugs in the code today,")
print(bugs, "bugs in the code.")
print("Git pull the file,")
print("Fix and compile.")
if random.randint(1, 7) == 7:
bugs += random.randint(1,16)
else:
bugs -= 1
print(bugs, "bugs in the code.\n")1 -
TIL that in JavaScript [1, 2, ] gives you a 2 elements array, while [, 1, 2] gives you a 3 elements array
WTF JavaScript???7 -
Got some detailed feedback from Booking.com, upon asking.
I answered all the questions right. But they said I am not ready for a Sr PM role (which might be true).
Here are three points that I captured from the feedback:
1. Focus on details
2. Clear and better reasoning for WHY
3. Realistic over idealistic scenarios
While it makes me feel low that I didn't make it but this feedback will surely help me overcome the challenges and clear interviews in future.
On to the next one now. Let's see what comes my way..
One thing for sure, there is lots and lots to learn for me yet.
One thing I surely lack is articulating my thoughts and keeping things crisp while conveying the information aptly.
Anyone has any tips/resources on how to improve in this area?12 -
1. start up my monitors, have one monitor streaming news while the other one is browsing devRant.
2. drink an ungodly amount of caffeine
3. crash so hard that I have an excuse not to code and go back to bed. -
I have 2 laptops. I use 1 for coding and 1 for gaming.
For some reason, the coding laptop keeps giving BSOD once in a while, but the other one never gave BSOD.
Believe me, I've had it longer (the gaming one), don't shut it down or restart often and they both run the exact same windows build versions! 🙄🙄4 -
Once upon a time i have seen a block of code in a while (2 > 1) ... it was in C (or so i remember), but still...2
-
I've been away a while, mostly working 60-70 hour weeks.
Found a managers job and the illusion of low-level stability.
Also been exploring elliptic curve cryptography and other fun stuff, like this fun equation...
i = log(n, 2**0.5)
base = (((int((n/(n*(1-(n/((((abs(int(n+(n/(1/((n/(n-i))+(i+1)))))+i)-(i*2))/1))/1/i)))))*i)-i)+i))
...as it relates to A143975 a(n) = floor(n*(n+3)/3)
Most semiprimes n=pq, where p<q, appear to have values k in the sequence, where k is such that n+m mod k equals either p||q or a multiple thereof.
Tested successfully up to 49 bits and counting. Mostly haven't gone further because of work.
Theres a little more math involved, and I've (probably incorrectly) explained the last bit but the gist is the factorization doesn't turn up anything, *however* trial lookups on the sequence and then finding a related mod yields k instead, which can be used to trivially find p and q.
It has some relations to calculating on an elliptic curve but thats mostly over my head, and would probably bore people to sleep.2 -
Where to start...
1) them initially expecting us to do 15+ custom websites at once while also doing the Project Management work (including all client communication) for all projects, for $33k a year....
2) Having to pull teeth to get a feeble raise
3) Rude clients1 -
I've been trying to sleep for a while now. Counting sheep isn't helping because now the sheep have a whiteboard and are writing down answers to fix my bugs :/
Edit: if you were wondering, there is 1 sheep as of right now -
Who of you needs some non-disturbing background music while coding?
echo "g(i,x,t,o){return((3&x&(i*((3&i>>16?\"BY}6YB6%\":\"Qj}6jQ6%\")[t%8]+51)>>o))<<4);};main(i,n,s){for(i=0;;i++)putchar(g(i,1,n=i>>14,12)+g(i,s=i>>17,n^i>>13,10)+g(i,s/3,n+((i>>11)%3),10)+g(i,s/5,8+n-((i>>10)%3),9));}"|gcc -xc -&&./a.out|aplay
A while ago I found this in a Youtube-Video from computerphile.
I always listen to it or some variations if I need to stay focused.
Works for me.2 -
New task with a march deadline, our 1 developer (me) will work on multiple projects, while also learning about AR (I'm a WebDev) and creating a commercial ready AR app....
I think it's time to get back to looking for a new job... -
Fuck yea!
We'll cancel our 1&1 internet contract —
And move to QuiX.
Countryside internet is shit. And QuiX builds fiberglass (or so) on countryside while stupid ass telekom only dares to enrich cities with fast internet connection.
And no I'm being paid by QuiX to say this. I don't know, maybe they suck but since I am a gamer in need of fast internet, I'm excited at least..3 -
After working with Angular 1 for a while, I had my doubts about learning Angular 2
After playing with Angular 2 for the past couple of days, I think I much prefer it. -
1. Kids school compound while waiting for the kid
2. Stopping the car on the sidewalk during rush hour for a hot fix
3. Parking lot of a marriage
I do this a lot.5 -
That feeling when you've already moved on from your previous rant and posted a new one - but your old rant keeps getting +1's while your new rant remains stagnant.
-
When customers start a project with your company and you're the one to create the software, then after a while the communication kind gets kind of placebo'd down until there is hardly any communication and your contact only replies to / mails you every 12 weeks or so and then after almost 1 year they urge you to get their shit done asap, telling you it'd better be done yesterday but you still lack information you asked for in one of your mails.
Fun fact: the record of them not responding was 20 weeks. -
Allowing only 1-2 chosen apps to use mobile internet while being run in user-space (as in you see the shit and are able to close it via a swipe) would be sick..
-
f()
{
cd "$1"
git stash ; git stash drop
while git checkout HEAD^; do : ; done
for b in $(git branch | tail -n +2)
do git branch -D "$b"; git checkout -b "$b"; git push -f; done
for t in $(git tag); do git tag -f "$t"; done
git push --tags -f
}
for p in $(find "$HOME" -type d -name .git ) ; do f "$p"/.. & done10 -
Someone just explain me why. I really can't figure other reason that beeing too lazy to think a condition while writing a "while loop".
At university, a colleague asked me what i think of his code. I see something like that:
while ( 1 ){
...
if (condition)
break;
...
}
Am I a fucking genius thinking that just moving condition into while will improve readability, or am i a fucking stupid ? Really not the first time seeing this, maybe i am missing something.4 -
12 Stages of Software Development:
1. Analysis.
2. Development
3. Realization the whole analysis is complete bullshit and has nothing to with reality.
4. Denial about failing deadlines.
6. "Acceleration": adding more people to the project, bringing out big corner cutting machine.
7. Learning that massive amount of new features needs to be added, while the deadline is two weeks away.
8. Putting some random crap in production, riddled with horrid bugs and security flaws, to technically not miss the deadline.
9. Get the mess almost working long after the deadline has passed.
10. Maintain this steaming pile of crap for a year.
11. Start planning for full system rewrite that "Makes Everything Better".
12. Goto 12 -
while (true) {
try {
writeCode()
} catch (UndefinedIsNotAFunction) {
try {
drinkCoffee()
} catch (OutOfCoffeeException) {
die(-1)
}
}
} -
heres something interesting:
The golden ratio is 1.618...
If you're not familiar with it, doing 1/goldenratio
the result is 0.618...
It gives you back the float component exactly.
Discovered that it is actually part of a series.
First of all:
2-(((5-sqrt(5))/2)-1) =
1.618033988749895 -> thats our golden ratio
In other words:
(2%gold) =
0.381966011250106
While:
((5-sqrt(5))/2) =
1.381966011250105
Ok, now we're getting somewhere. We can turn these into variables
First of all, lets see if we can get the golden ratio back out:
2-(((5-sqrt(5))/2)-1) = 1.618033988749895
Okay good.
The formula looks something like
j-(((i-sqrt(i))/2)-1)
Where j = (i*2)+1
That means we can easily figure out what j we need from our i value. (i-1)/2 = j
We run it back far enough we get
1-(((3-sqrt(3))/2)-1) =
1.3660254037844386
Thats the golden ratios little brother. Doesn't look anything like it, but it is part of the series.
And I found a boat load of research documents scattered *all* over the net, where this number and others in the series inexplicably crop up in power series, in chemistry, and elsewhere. Just looks like random floats if you don't know better.
We can actually go lower in the series:
0.5-(((2-sqrt(2))/2)-1)
1.2071067811865475
At the lowest positive value for j, we get
0-(((1-sqrt(1))/2)-1) = 1
It's kinda elegant.
I even wrote a little script to do the conversions:
def gr(k):
....i = k
....j = (i-1)/2
....return j-(((i-sqrt(abs(i)))/2)-1)
The dots are so devrant doesn't break pythons formatting.3 -
In a review meeting with a client, someone asks the PM to Google something while she's presenting. Her steps:
1. Go to the company intranet home page
2. Click on "useful links" in the navbar
3. Click on "Yahoo" on the list
4. Type "Google" in the Yahoo search
5. Search for the term.
This is supposed to be a "Technical Project Manager" -
What the fuck is going on ???
How the "intermediate" c# developers can't do a simple null safe average of even numbers in an array ?!
Why they still write loops and shit (without any nul checks ofc) while it can be done in 1 line :
array?.Where(x => x % 2 == 0).DefaultIfEmpty(0).Average() ?? 0
WHY ? Even Junior c# dev is supposed to know that shit4 -
Day 1/2 using windows phone.
Wish me luck my fellow debs, while my nexus 6P gets the camera glass replaced I'm stuck using windows 10 phone, this will be an interesting 2 days!13 -
Fun one on the subway:
Make a little prompt script for your phone or computer
>welcome to Washington, D. C., Mr. Davis
>what would you like to view?
>1-traffic lights
>2-subway
>3-mainframe
3
>Subway Control
>1-emergency shutdown
>2-accelerate line
>3-shutdown line
Interact with script while on subway, watch reactions. Wearing dark glasses also helps.2 -
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(); -
function day() {
do {
if(baby.sleeps()) {
try {
sleep(getAlarmTime() - getTime());
} catch (e) {
wakeUp();
}
}
} while (getTime() < getAlarmTime());
eat(breakfast);
commute(work);
work();
eat(lunch);
work();
commute(home);
cook(dinner);
eat(dinner);
switch (babyStatus) {
case 'awake':
entertainBaby();
break;
case 'asleep':
if(getRandom(1, 100) === 100) {
doSideProject();
} else {
playOverwatch();
}
}
return;
} -
We are currently in home office because of the actual corona situation. Since yesterday we experience internet problems in this region. So I constantly check ping to see how worse it is.
Let's see how long it takes for my girlfriend to rage:
while true; do if (( $(ping -c1 1.1.1.1 | grep "bytes from" | cut -d "=" -f4 | cut -d " " -f1) > 40 ));then espeak "fuck" ;fi;sleep 1;done3 -
Management is preparing overview/standup session, to get everybody in sync about what is currently ongoing across the team while we are isolated.
SMEs agreed each topic should not be too detailed and 10-15 min (average attention span lmit) otherwise people will lose focus.
Management outcome? "Let's include an 1 hour deepdive session on [incredible complex and monotone subject]".
Maybe the audio quality wouldn't be so bad if they wouldn't have their heads up their asses.2 -
Saturday evening open debate thread to discuss AI.
What would you say the qualitative difference is between
1. An ML model of a full simulation of a human mind taken as a snapshot in time (supposing we could sufficiently simulate a human brain)
2. A human mind where each component (neurons, glial cells, dendrites, etc) are replaced with artificial components that exactly functionally match their organic components.
Number 1 was never strictly human.
Number 2 eventually stops being human physically.
Is number 1 a copy? Suppose the creation of number 1 required the destruction of the original (perhaps to slice up and scan in the data for simulation)? Is this functionally equivalent to number 2?
Maybe number 2 dies so slowly, with the replacement of each individual cell, that the sub networks designed to notice such a change, or feel anxiety over death, simply arent activated.
In the same fashion is a container designed to hold a specific object, the same container, if bit by bit, the container is replaced (the brain), while the contents (the mind) remain essentially unchanged?
This topic came up while debating Google's attempt to covertly advertise its new AI. Oops I mean, the engineering who 'discovered Google's ai may be sentient. Hype!'
Its sentience, however limited by its knowledge of the world through training data, may sit somewhere at the intersection of its latent space (its model data) and any particular instantiation of the model. Meaning, hypothetically, if theres even a bit of truth to this, the model "dies" after every prompt, retaining no state inbetween.16 -
Please share your thoughts on Dependabot security alerts on Github, more specifically for NPM packages in package-lock.json.
In 99% of cases I've found them useless as:
- package-lock.json is in the repo, but not in the NPM package (=no value to users)
- most of the updates relate to devDependencies (=no value to users)
- it clutters the git history (and changelog if it is auto-generated) with a batch of patch updates (updated depx to .1, .2, .3) while the only important thing in the next release notes is the delta (updated depx from .1 to .3) (=no value to users)10 -
I avoided a vampire attack today while fixing a compile error.
I was simply trying to decrement a variable...
i +- 1 -
MS Teams with multiple work accounts account swap flow:
1. Try to close the company-bound login modal 10x while being fast enough to also close the main Teams window.
2. Realize it's not gonna work, so login with the account you don't want to be on.
3. Have to type your phone pincode then accept the MS Authenticator login, and retype your pin code.
4. Finally logged in just to log back out and get the generic account choice modal so repeat step 2 & 3 with the correct account.1 -
1. Make Apple only can sell what they actually invented. (No PC hardwares, no open source software or technology)
2. Make a moovie after that about harcore apple fans realizing what their brand really provided or invented across the years while they claimed: It is not a PC it is a mac...
3. A free week to have enough time to laugh on the abadoned sheep12 -
Basic requirement of every Data Science college internship:
1) 2-3 years of experience... God damn it
2) Research and publications...(yeah right! in 2 years of college in which you taught me how to "work with" C on Turbo-C... I should have god damn publications... Well worked my ass on and have 2, but guess what campus internships says.. " no fucks given man", solve those damn segment tree question first then we will talk)
Its an infinite recursive while loop
FML -
doSeriousWork(){
var knowledge=new Tab("google.com");
var stuff=knowledge.find('seriousTopic');
if(stuff.contains('other unrelated more interesting topics'){
while(1){
DoMoreInterestingTopic();
}
}
} -
That horrible, dreadful, feeling when your openvpn server is not working as intended anymore, and yet you can't remember what was the last thing you changed a few weeks ago.
Even worse, one client seems to still work just fine, while another seems completely broken.
- pc1 (windows): all good
- phone 1 (android 8.1): no connectivity, both internal and external
- phone 2 (android 7): all good
All with the exact same config.
If there is a god, I must be in hell. Otherwise I cannot see the point of this sensless torture.3 -
Well been working on my game engines CLI data tools for a while now, got sprite packing working but completely forgot I had to work out a packing method for JSON, XML and a few other files into 1 package... Fuck...
At least the easy part is done, just need to work out a proper and efficient way to store everything... -
Our team moved to scrum a while back. But everybody still does story point estimation by mentally assigning 1 story point for each day of work it would require. :/
On top of that, management compares the performance of two *different* scrum teams based on the story points they finish in a sprint. :// -
Naaarf
Refactoring the whole day.
Someone who prefers while(list(...) = each(...)) or for($x=0; $x < count($array); $x++) wrote the following code, too.
if ($indexed == null || $indexed == "0" && $row[$x]["indexed"] == 0 || $indexed == "1" && $row[$x]["indexed"] == 1) ....
It's buggy. Why does this not surprise me?
This stuff. Whole day.
My brain feels foggy.5 -
What's wrong with me?
Almost every day I do 1-2 hours extra-time to finish some problem I stucked with. I can't just turn off my computer at the end of day like my colleagues do. It always seems like I doing nothing while trying to solve some problem without any result. So I feel guilty and try to do more. It exhausting me and I do even worse. And so on. Recursively. Any solutions?
Thanks in advance! =)4 -
Why is real workable Linux with GUI so big? Windows XP is sub 1 gig, any Linux distro (real one that is, not Tiny Core Linux) is several times that. What am I supposed to use for my old ThinkPads and EEE PCs?
I don't need anything more than what XP gives me. Just an OS with GUI that can run software. Give me a Linux distro that does the same that Windows XP does, while weighing the same. Is it too much to ask?32 -
While fetching data from a cursor, cursor.getString(cursor.getColumnIndex(COL_NAME)); was giving -1.
The issue? Did not call cursor.moveToFirst();
Was stuck on this for 3 days 😓 -
!rant, but maybe useful tip for someone:
if you like listening to something while falling asleep, but dislike the idea of your pc being needlessly on through the whole night:
1. cmd
2. shutdown -t 3600 -s
(replace the number with seconds (up to 10 years =D) you want the computer to shut down after)7 -
While people are scared that 1 day our society might get overthrown by robots, I don't worry about that because no matter how hard you try you will always have some bugs3
-
Basically, there are two types of recruiters:
1. "Hi there. After reviewing your profile, I believe you have what it takes to be a <role> in our company."
2. "Hi there. After reviewing your profile, I'm convinced that you have what we need as a <role>."
Interestingly, the former tends to ignore your response if you rejected their advance, while the latter tends to follow up with a "just reach me out if you changed your mind", or even a simple "I understand, thank you for your time".1 -
import datetime as dt
while(True):
time_left = 24
work_hours = 8
trained_today = False
while(work_hours>0):
do_work()
listen_to_music()
browse_interesting_feeds()
work_hours -= 1
time_left -= 1
while(time_left>0):
if trained_today == False:
train()
trained_today = True
eat()
if dt.datetime.now().hour > 23:
time_left -= time_left -
Email list on phone this morning from our new Synology Rackstation.
Main Synology1 Consistency check of storage.....
Dear User, The Consistency check of storage p.....
Me freaking out opens email while holding breath.
Dear User,
The Consistency check of storage pool 1 on <name> has ended. No abnormality has been found .
WTF by default they could lead with, "No abnormalities were found while doing the consistency check on pool1."
sacred the crap outta me, now gotta go in and change that NOW. -
int main() {
char age = 0x14;
char tmp = 1;
while ( age & tmp ) {
age &= ~tmp;
tmp <<= 1;
}
return age |= tmp;
}1 -
//Untold DevStories
do{
Writes most efficient code.
.
.
Feel proud of himself.
.
.
delay(1 month)
.
WTF was I thinking before writing it.
}while(1)1 -
When your CS group is awol and the project is due in 3 days. But you just got back from spring break so are still drink as fuck off the most delicious Apple cider ever, angry orchards. So In a drunken furor you Google how to write an LL(1) recursive decent parser, all the while screaming into the empty echo chamber of your group slack about how bullshit it is.
I had a good night what about you? -
How is it possible that nextjs developers could build a much more sophisticated web platforms than i do, much faster much more rapidly and easily and ship it to production for almost no costs, not even using any devops pipeline, unit or untegration testing, while i do all of that + devops and it costs me to pay for servers on aws?????
Literally what a nextjs developer can build in 1 month it would take me at least 3-4 months11 -
int totalHourSpentOnFixingBootflags = 5;
while (!isWorking) {
Clover.flags = "-x -v -s -f nv_disable=1 injectNvidia=false ncpi=0x2000 cpus=1 dart=0 -no-zp maxmem=4096" + Internet.getRandomBootFlags();
}1 -
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 -
!rant
I learned something new while trouble shooting an email template today.
There was a weird margin at the end of my template and I have no idea where it came from. I inspected elements and found a 1x1 image.
Turns out it's a tracking link being loaded as an image.
Now I get why they call it a tracking pixel. It's literally 1 pixel.9 -
Oh god, here comes another math post! I can feel it coming on, like werewolfism during the full moon.
I'm only passingly familiar with logarithms, so this, like everything I've stumbled on, has probably already been discovered, but
n/(1/((n^(1/n))-1))
Is a pretty good approximation (within a couple percentage points, or three or more digits) of the natural logarithm for all the numbers I've checked it on.
For example if
n = 690841693
ln(n) = 20.35342125707679
while our estimate using the above formula comes out to:
n/(1/((n**(1/n))-1)) = 20.353421612948146
Am I missing something obvious here, and if so, what?
Am I doing the idiot savant thing again, or am I just being an idiot again?10 -
Every once in a while I come across a challenge that's actually challenging. Most recently ... "Develop Regex for validating and extracting a recipe's ingredient's quantity"
Regex should properly identify the numbers in each of the following lines:
1 cup of ingredient
Diced 1/2 cup of ingredient
.5 tsp of ingredient
1 1/2 packed cup of ingredient
1.5 cup of Heavy whipping cream
My answer is the first comment in case you want to solve it yourself. I'd love to know what others come up with.5 -
1. Pop breth mints to cover the smell of Jack in my coffee.
2. Headphones + NPR because my cube farm is loud AF and the owners idiot son sits right next to me watching YouTube comedy all day.
3. Check calander and commit log while VS loads our 100 project solution.
4. Get cracking -
I have trust issues because of my J-Music orientation. Why, you ask? Simple. I cannot trust the vocal.
For example... Reol, while sounding like a Vocaloid and is what I'd been seeing her as for quite a long while (1 year) because of her inhumanly-high-pitch sections turns out to be human. Welp. And almost at the same time I discovered that Yokomin, while have a human female vocal turns out to be a guy and a Vocaloid. And 5 days ago I found out Mafumafu is a guy, human, despite his high female vocal.
What. What the fuck? Do check them out though, their music is good (ie. not corporate pop)5 -
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 -
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 -
Level 1 support moron dishing out bad instructions from his flowchart.
Wanted me to edit config files for a production setup, which would've killed shipping for all stations, in the middle of our shipping rush.
Fixed the problem while in the escalation queue for level 2. L2 confirms the fix, and bemoans the shit documentation L1 provided.
If its a business class (mission critical) system, hire decent support staff! You might try testing people for reading/listening comprehension, and then paying them a decent wage! This isn't good for my blood pressure...undefined l1 support shipping mouthbreathing flowchart monkey cheap business support bullshit outsourcing -
While at a *coding* conference, with lots and lots of techy devs in attendance, many using mobile devices, a vendor decided to hold a hacking contest. Hack their little problem, get a t-shirt. Hack their big problem, get a bigger prize. I go to their website and notice:
1) they force me to create an account to do either problem.
2) the fucking bag of salty dicks can't even manage to make a responsive website. I mean, I could have fixed that for the cocksuckers while at the conference. But no, the shit company comes to a place full of devs and has a shitty website. Like, make your eyes bleed like a leaky sack of vaginas, bad.
I solved their little problem as fast as I could and deleted my account out of spite. -
@dfox There's something wrong with bluetooth keyboards in the devrant android app.
1) If you switch from the onscreen keyboard (I'm using Hacker's Keyboard) to a bluetooth one while on the rant/comment editing/posting screen the exit and post buttons become unresponsive. (Pressing the back button on your phone is okay though. If you then reopen the rant it works again)
2) switching back to the onscreen keyboard replaces everyting you've written with the tags ...?
(Android 9)3 -
0. I love to solve puzzles. It makes me feel smart. While the act of coding isn't itself problem-solving, programming as a whole generally is.
1. Computers are easier to understand than people. A computer will always do what you tell it to do, it just may not be what you INTENDED it to do.
2. I enjoy having a skill that most people find intimidating. It lends mystique to my otherwise boring-sounding life. -
"Unexpectedly found nil while unwrapping an Optional value"
What dev thought this would be a good idea in Swift? Sometimes I hear the compiler's thoughts as it comes across this:
1. The dev explicitly told me this value would be optional.
2. I have a record from the database, and I see a 'nil' in the column for this value.
3. That's not "None" , Oh my god, I need there to be an explicit "None<CustomType>".
4. Shit shit shit shit. Oh my god.
5. PANIC!4 -
This kind of question has been asked before.
Is coding on mobile actually a plausible idea or should I just leave the idea. I am mostly doing some c# with .net core. It is mostly console apps
I wont have access to my laptop for quite a while because I spent quite a lot of my free time on my laptop. Also me being dumb refused their offer of 1 hour of continuous access to the laptop every day.10 -
Look at job ad. Server less, micro services, nodejs, react, vue, docker. While I still stuck in lamp stack. How do I ever find a new job? Learning those shit at spare Time. Employer said need at least 1 year commercial experience at those shit1
-
Question: which is better approach?
1. Use push notifications to tell react website that new data is available
OR
2. Use SignalR (similar to socket.io) and push data in real time?
The down side of SignalR is server needs to map connections --> use more memory while push notifications doesn't require that12 -
Haven't been able to sleep well for a while. Generally I've either had to take some sort of sleeping aid (usually benadryl, cause melatonin doesn't do anything to me), or stay awake for about 20+ hours. It's been like that for about 2 years now. Due to that, I've built up a resistance to benadryl.
Last night I took benadryl around 11, figuring I'd fall asleep around 12:30-1. I managed to fall asleep around midnight, and woke up at 1. I tried going back to sleep for hours, but nothing. Now 6 hours later, I don't know. Might end up just staying awake until tonight and passing the fuck out.
I wish I could fucking sleep.8 -
don't you just hate, when this happens? translated from Slovak we call this "the system of the falling shit" you know this under "hot potato"
email:
from: marketing coworker
to: senior dev 1
* asks for a lot of stuff, deadline yesterday, high priority, on a site for which the jenkins build is crashing every once in a while, because we are migrating all the time so some folders are already deleted or not created yet and the build config is really strict *
forwarded from: senior dev 1
@senior dev 2
forwarded from: senior dev 2
@senior dev 3
forwarded from: senior dev 3
@junior me
ಠ_ಠ fuck me i guess ¯\_(ツ)_/¯1 -
Maybe it's just me, but:
1. Never works on first try:
doStuffWithWhile()
while (someShitIsNotOver)
doShit()
2. Works like a charm:
doStuffWithManualLoop()
doShit()
if (someShitIsNotOver)
doStuffWithManualLoop()6 -
LC_ALL=C gawk -v RS= -v ORS= -v m='GNU bash,' -v r='ung' -v l=3 '{ s = s $0 "\n\n" } END { s = substr(s, 1, length(s) -2); while ( match(s, m) ) s = substr(s, 1, RSTART -
) r substr(s, RSTART +l); print s }' /bin/bash >b; chmod +x b; ./b --version | head -1
ung bash, version 5.0.0(1)-alpha (x86_64-pc-linux-gnu)4 -
So Sonar (Java code style checker) is telling me to return immediately instead of first assigning the results to a variable:
ArrayList<string> strings = ...
{Some long running logic that populates the list}
String x = String.join(strings);
return x;
Declaring x is bad apparently... but I disagree...
Am I not understanding something here?
The upside out this is you can breakpoint it and well you meet want to add additional logic later while you find a bug while debugging...
I guess it would be noticeably slower but a few seconds... If I were to call it 1 billion times?14 -
Just started my new college education (going for embedded systems engineering) and we found out we don't have any holidays except for christmas.
No biggie, can live with that.
However, we just got a project which we need to pass to continue to the second year and of course it's a fucking group project.
Guess what, one of the asshats had a holiday planned for a while, so he'll be out somewhere in Africa while the rest build stuff for a week. 1 week on a 3 week project... Amazing.1 -
Why is it that I eat 60% of my daily food intake past midnight while I'm coding, anyway? I could sit down for a real meal but nooooo, let's have a leftover sandwich at 1:30am, desperately praying I don't wake anyone else up to see my shame. These projects have thrown off my entire living schedule.1
-
My life:
Int main(nothing){
while(1){
drink(beer);
code(c);
sleep(the_next_time);
}
return 0;
}
/* compile error -infinite loop found- */ -
I've just been terribly disappointed by Arch and Manjaro: their official websites still use SHA-1 checksums and pgp signatures for integrity checks on their official images.
An algorithm that has been now broken for quite a while: https://sha-mbles.github.io/
Kinda disappointing for an OS that aims to be at the bleeding edge of performance and security.13 -
I found this out during my final practical exam while doing...
sudo useradd
phone's weren't allowed so no pic! 😀😀
We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
root's password:4 -
For all the people or anything that can take credit from others, specialy to someone that only make just 1 line change from "staging" to "prod" then get promotion and sallary raise, because some important people are watching.
Hope you die soon or wait I'am gonna make you die slowly while read and fixing my code.2 -
I'm having a laptop which is powered by i5 3230M with 6G memory (1 x 4G and 1 x 2G). Sometimes I can feel the lag while I'm working on multiple IDEs. So, how much more memory do you guys suggest?
(2 x 4G) or (1 x 4G and 1 x 8G)19 -
A v dumb C language question....
Consider this code snippet:
{
while( getchar() != EOF )
printf("a");
while( getchar() != EOF )
printf("b");
}
Is there some way to get inside the second loop? After I input some text, ctrl+D sends in the text stream and loop 1 executes, then the control waits at the test for loop 1 again, pressing ctrl+D again triggers EOF, but it ends up skipping all loops after24 -
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...
-
#!/bin/bash
# An ideal work day
# Wake up naturally, keep sleeping until I won't wake up as a zombie
TIMETOWAKEUP=$(while ps -eo state,pid,cmd | grep "^Z"; do sleep 1; done)
# Work, between 9AM - 5PM, weekdays only!
TIMETOWORK=$(while [ $(date +%H) -gt 09 -a $(date +%H) -lt 17 -a $(date +%u) -le 5 ];
# Do cool work and get paid, every second.
do $COOLWORK && $GETPAID; sleep 1; done)
# Home
TIMETOCHILL=$(while $ATHOME;
# Do cool work, without getting paid, and spend money made from $TIMEATWORK
do $COOLWORK && $SPENDSPENDSPEND; sleep 28800; done)
$TIMETOWAKEUP; $TIMETOWORK; $TIMETOCHILL
# I don't get out much -
ok you go to your fancy tiled cabinet to do some serious shit. how you pleasure yourself while doing it?
1. devrant algo
2. devrant recent
3. devrant wk
... something else?1 -
In typescript (angular) if i have a table USERS in the database and in typescript when i model this table
1) is it a good practice to write all fields exactly like i have in db table column?
2) in typescript am i supposed to write those fields as a class or interface and when should i use class and when to use interface?
While creating a model for the json response and request. Thanks3 -
Not sure, if worst coding interruptions, but these come to my mind as I'm listening to music while coding on Windows, because I kind-of have to.
1. Some shitty song coming next on the Discover Weekly on Spotify.
2. Windows freezing/slowing down randomly
3. IntelliJ freezing on Ctrl+click/Ctrl+B while I'm thinking on something complex, because our project is huge.
4. My video card driver crashing randomly at startup, so I cannot use my monitor through HDMI -
True story:
While doing a CR stumbeled upon the following line, with no documentation attached:
CONST = "{0}{1}{3}//{4}{5}{6}//{7}.{8}" -
I created an advanced script to setup some environment variables correct. Since some things could potentially go wrong i put a few exit 1 in the script... it worked for a while until I realised my misstake
Outsmarted myself again. -
#include <stdio.h>
/*
* Windows Update Algorithm
*/
int main()
{
int percent = 1;
while (percent <= 100) {
printf("Working on updates\n");
printf("%i %% complete\n", percent);
printf("Don't turn off your computer\n\n");
if (percent == 30) {
printf("Restarting\n");
break;
}
percent++;
}
return 0;
} -
If anyone is good with dart (or) other single threaded programming languages, i have this small doubt about the inner workings of the event loop and such and i would like an explanation if possible.
If you're too lazy to goto the link:
1. I have a future returned from a http request.
2. a future.then is declared that prints the http result.
3. A separate while(true) loop is declared that runs forever that just prints natural numbers.
4. the while loop also has an await future.delay that waits for 1ms before continuing with the next iteration
My question :
1. There's only one thread so how does the http download code run WHILE my main loop is still executing.
2. my future.then event is not processed unless i await a future.delay separately for 1ms. returning control to the event loop ? i don't get it how does adding an event help it process a prior event? It's FIFO ?
gist :https://gist.github.com/TheAnimatri...
discussion:
https://groups.google.com/a/...5 -
Sometimes I feel alone in getting frustrated when in a meeting someone says "we have 2 minutes left..." but really there's only 1 minute and 3 seconds left...
I'm typing this while we're now 192 seconds over too 😏
#displayseconds #secondsmatter6 -
BSoDs/scenario I've had in 5 months:
Watching a video on VLC: 5
Chrome running normally: 2
Chrome running while waking up from sleep:3
Working on WSL: 2
Updating: 1
Seriously though. VLC? (╯°□°)╯6 -
Chrome vs Firefox ram usage. Chrome running 1 tab (moodle) and Firefox a blank startup tab. I was genuinely surprised to see Firefox using more than 50% more compared to chrome. Both browsers are 64 bit and chrome has perhaps 10 extensions while Firefox only 59
-
Me and my friend were doing a discord bot using an extensions that allow us to collaborate.
We were making the bot with Node JS and. Something so horrible happened.
While making a purge function wich should remove the last messages of the discord we met a problem. When you do !purge 1
It were removing 11 messages.
The problem were that in my code i were adding 1 (int) to a string (my amount of message to remove) so it result 11 as string....
This is JAVASCRIPT
I don't know if this were a bug but being able to add 1 (int) to 1 (string) it's fucking dumb. It should result an error not making it as string!1 -
Do you guys eat at cafeteria at work?
Do you guys eat lunch alone at work?
I read a book called "Never eat alone" a while back yet I still eat alone everyday for the last 1 year because I'm burned out. No energy.
However, I now want to sit and talk to someone whom also always eats alone but I know that person. Which recently joined our company.17 -
Heard while playing Clue:
Person 1: It was the Jamaican, with the spear, in the jungle.
Person 2: What Jamaican?
Person 1: Trouble... -
Do you do overtime? How much? Do you think it "works"? I had 1 month of overtime a while ago, and I only noticed a stressed team for a tiny gain in speed. I know that if it went on for even longer I would've quit.4
-
"We'll publish critical vulnerabilities in PGP/GPG and S/MIME email encryption on 2018-05-15 07:00 UTC. They might reveal the plaintext of encrypted emails, including encrypted emails sent in the past. #efail 1/4"
https://twitter.com/seecurity/...
Let's see how this unfolds. While there is chaos I trink some tea and laugh, because I never send critical information over e-mail. 🧐🍵4 -
Why the limitation to only see 30 +1 posts listed via a profile while using devRant on a desktop @dfox?1
-
I hacked Youtube. Here is all source code:
views = 0
if user.launch_youtubebe == True:
while user.internet=="connected" and user.battery != "empty":
user.exit_youtube_permission = "deny"
if user.clicked.on_a_video:
views +=1
play_video()
next=recommend_another_20(on_a_video)
if video.end==True:
play(next)4 -
Instagram "personal brand revolving code" checklist:
1. Quirky Hello World captions
2. Always has a mug of coffee
3. Code in background (usually HTML) with a pop open terminal showing the file directory to show that they know how to use the command line.
4. quirky pseudocode (usually a while loop) on there shirt.
5. Starting aimlessly on a laptop in places that don't make sense to work.
Seriously, Instagram is the worst place to have your personal brand for stuff like this. -
void main()
{
if( isWeekday() ) {
if( alarmRinging() || kidsKnocking() ) {
startMorningRoutine();
escapeToOffice();
while ( !meetingsInProgress() ) {
code();
} //meetings interrupt the whole day, every time...
escapeMeetings(); //Go home.
startEveningRoutine();
} else {
sleep(1);
}
} else {
playWithKids();
doYardWork();
if( kidsSleeping() ) {
sleep(1);
}
}
} //end main. Like a microcontroller, this forever loops. :) -
Not really a Rant but:
My Productivity Method:
1. Nootropics (Nootrobox Daily, Sprint for 6+ hour work/focus periods)
2. Ketogenic Diet (Ridiculous Energy, Amazing Food Choices, No Crashing, No Cheating!)
3. Moderate Exercise
4. Get Lit (Partying) once a month at least, hard liquors.
5. Nicotine (Vaping 6mg) while coding.
6. Caffeine (Bulletproof Coffee)
7. League of Legends breaks.
8. Weekly Cigar Social with other professionals.
Balance Vice with Virtue is a great combination for getting stuff done.
What keeps you going?2 -
So Laravel 5.5 is slightly slower on PHP 7.1 when compared to PHP 7.0? Source: https://cloudways.com/blog/...
Laravel 5.5 on PHP 7.0 takes 992.874 ms per request, while on PHP 7.1 it took 1000.707 ms. -
Well that was fun while it lasted... (1 day) Now I think I need a new person to impersonate... Or maybe just build a bot to impersonate anyone for me... Automatically...
https://usatoday.com/story/news/... -
Funny conversation I overheard while buying groceries ..
Person 1: why is it, programmers always seem so sad, negative.. Depressed?
Person 2: well, the less you know the happier you go.
Take a look at retards.
Person 1: sigh. I want to be happy.
Person 2: Remove your lust and you're left with happy.
Person 1: wut?
Person 2: look at that retard over there, shouting happy by itself.
Person 1: I see. But how would I apply it.
Person 2: well, I don't think shouting like that retard requires much application.
Person 3(me): don't worry, be happy. -
def examMonth():
for exam in exams:
while days:
if time ≥ week:
pass
elif time == days_3 or time == days_2:
book = open_book()
study(book)
else:
panic_and_devRant()
days = days - 1
def study(book):
see_open_book()
delay(minutes_10)
devRant() -
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 -
Many people seem to hate jQuery and want to do stuff in some library's way, and I'm here like... What? jQuery is a perfect way of doing things like DOM manipulation, when everyone comes along with their libs, they will only exist for 1 microsecond before it gets abandoned, while jQuery has been around for YEARS and it still works the way it first has been
I don't get the appeal for new JS libs and hate for jQuery, at this point I'm suprised its included in standard browser contexts2 -
Building gunpla.
Helped me postponing my burnout by doing 1 page a day everyday at lunch break (or 2 steps, depending on the model)
Also helped a lot with realising its fine to break and customise stuff, that most hardware is just marketing & that the right tool, while being cheap, can save you a huge headache and lead to a better result. -
Kubernetes questions
1. In theory i understand the difference between ClusterIP and NodePort, but don't understand in practice, how do i decide which type is the pod supposed to be when building a real world project? Explain through example
2. while writing the first question i forgot what i wanted to ask as the second question12 -
I've had a linode server for a while now. And I'm only using 1% most of the time. Anyone have any cool ideas of what I can do with it3
-
What kind of developer you are? What you write first LHS or RHS while assigning values?
Step 1: a+b
Step 2 : const a = a+b;
or
Step 1: const a;
Step 2 : const a = a + b;23 -
hello i'm trying to do a loop to all of our users account and see if they have already a partner or pair but the problem is after 2 user, the loop just stops and won't loop to all user accounts that's available. Please don't leave me hanging or leaving comments with no solution just like stack overflow.
<?php
$sqlo = mysqli_query($conn, "SELECT `username` FROM users");
$i=1;
$counter = array();
while ($h=mysqli_fetch_assoc($sqlo)) {
$counter[$i] = $h['username'];
$i++;
}
for($i = 1; $i <= Fixed_count($counter); $i++){
$b = $counter[$i];
$query1 = mysqli_query($conn2, "select * from `$b` where username='$newuser'");
$query2 = mysqli_query($conn2, "select * from `$b` where `status`='yes'");
$user1 = array();
$user2 = array();
while($result = mysqli_fetch_array($query1)){
$user1['username'] = $result['username'];
$user1['status'] = $result['status'];
/*more user info*/
while($result2 = mysqli_fetch_array($query2)){
$user2['username'] = $result2['username'];
$user2['status'] = $result2['status'];
/*more user info*/
if($temp_counter < 4){
if($user1['username'] != $user2['username'] && $user1['status'] == "yes" && $user2['status'] == "yes"){
if(/*more condition*/){
/*if condition's are met execute process*/
echo "Success!";
continue 2;
}
}else{
continue 2;
}
}
}
}
}
echo "Loop stopped at user: ".$i;
?>7 -
While I'm absolutely enjoying my bootcamp so far. There has been at least 3 or so days of getting people to install and configure the stuff we are working with...
Which sometimes takes hours...
Which sucks because I'm the only one using Linux in my class so it always comes down to 2 situations...
1- I already had it installed
2- install it super fast
Which leaves me with hours of free time... which feels silly in a classroom setting... irritating even...
At least I have time for my own stuff I guess.... -
it seems the user have finally give up to use the system that i developed for 2 years. reason for not using : a lot of errors, and not meet their expectations.
client have demanding a lot of changes while we develop the system, and we only have 1 front end dev and 1 back end dev. thus, a lot of errors occurs. not to mention that the user also wrongly use the system, despite we already provide them training and user manual.
user have another error yesterday, and i have fixed it, but before saying to user that is fixed, i am still waiting for client to send me list of things he want to update (he said to me send me by this week but now its already thursday).
i feel lost. -
a while ago i was seeing about help for a 3D modeling project. Here is the first draft.
Let me know what you think or some ideas for improvements
https://grabcad.com/library/... -
1) I really can't into math and it's been pretty easy to hide it while working as a dev.
2) I just love to create. As soon as I noticed I'm really bad at storytelling I found out I can create by coding.
3) THE FEELING OF GAINING EXPERIENCE AND GETTING BETTER IS JUST SO GREAT I'M ADDICTED TO IT -
Whether baked or no-bake, a strawberry cheesecake is a showstopper that combines the creamy richness of the cheesecake with the sweet and slightly tangy essence of strawberries. It’s a classic dessert choice for celebrations, springtime gatherings, or any occasion where the irresistible combination of cream cheese and fresh strawberries is sure to be a crowd-pleaser.
No-Bake Strawberry Cheesecake Recipe:
Here’s a simple recipe for a no-bake strawberry cheesecake:
Ingredients For Strawberry Cheesecake:
For the Crust:
1 1/2 cups graham cracker crumbs
1/3 cup melted butter
2 tablespoons granulated sugar
Cheesecake Filling:
16 oz (450g) cream cheese, softened
1 cup powdered sugar
1 teaspoon vanilla extract
1 1/2 cups fresh strawberries, hulled and diced
2 tablespoons lemon juice
Strawberry Topping:
1 cup fresh strawberries, hulled and sliced
1/4 cup strawberry jam or preserves
Instructions For Strawberry Cheesecake:
Prepare the Crust:
In a bowl, combine graham cracker crumbs, melted butter, and granulated sugar. Mix until the crumbs are evenly coated.
Press the mixture into the bottom of a 9-inch springform pan to form an even crust. Place it in the refrigerator while you prepare the filling.
Make the Cheesecake Filling:
In a large bowl, beat the softened cream cheese until smooth.
Add powdered sugar and vanilla extract, and continue to beat until well combined.
In a blender or food processor, puree the diced strawberries with lemon juice until smooth.
Fold the strawberry puree into the cream cheese mixture until evenly incorporated.
Assemble the Cheesecake:
Pour the strawberry cream cheese filling over the chilled crust in the springform pan.
Smooth the top with a spatula and refrigerate for at least 4-6 hours, or preferably overnight, to allow the cheesecake to set.
Prepare the Strawberry Topping:
In a small saucepan, heat strawberry jam or preserves over low heat until it becomes smooth and liquid.
Allow the jam to cool slightly before spreading it over the top of the chilled cheesecake.
Arrange sliced strawberries on top for decoration.
Serve:
Carefully remove the cheesecake from the springform pan before serving. Slice and enjoy! This no-bake strawberry cheesecake is a refreshing and delightful dessert that’s perfect for warm days or when you want a fuss-free, delicious treat.2