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 - "green tea"
-
Testivus On Test Coverage
Early one morning, a programmer asked the great master:
“I am ready to write some unit tests. What code coverage should I aim for?”
The great master replied:
“Don’t worry about coverage, just write some good tests.”
The programmer smiled, bowed, and left.
...
Later that day, a second programmer asked the same question.
The great master pointed at a pot of boiling water and said:
“How many grains of rice should I put in that pot?”
The programmer, looking puzzled, replied:
“How can I possibly tell you? It depends on how many people you need to feed, how hungry they are, what other food you are serving, how much rice you have available, and so on.”
“Exactly,” said the great master.
The second programmer smiled, bowed, and left.
...
Toward the end of the day, a third programmer came and asked the same question about code coverage.
“Eighty percent and no less!” Replied the master in a stern voice, pounding his fist on the table.
The third programmer smiled, bowed, and left.
...
After this last reply, a young apprentice approached the great master:
“Great master, today I overheard you answer the same question about code coverage with three different answers. Why?”
The great master stood up from his chair:
“Come get some fresh tea with me and let’s talk about it.”
After they filled their cups with smoking hot green tea, the great master began to answer:
“The first programmer is new and just getting started with testing. Right now he has a lot of code and no tests. He has a long way to go; focusing on code coverage at this time would be depressing and quite useless. He’s better off just getting used to writing and running some tests. He can worry about coverage later.”
“The second programmer, on the other hand, is quite experience both at programming and testing. When I replied by asking her how many grains of rice I should put in a pot, I helped her realize that the amount of testing necessary depends on a number of factors, and she knows those factors better than I do – it’s her code after all. There is no single, simple, answer, and she’s smart enough to handle the truth and work with that.”
“I see,” said the young apprentice, “but if there is no single simple answer, then why did you answer the third programmer ‘Eighty percent and no less’?”
The great master laughed so hard and loud that his belly, evidence that he drank more than just green tea, flopped up and down.
“The third programmer wants only simple answers – even when there are no simple answers … and then does not follow them anyway.”
The young apprentice and the grizzled great master finished drinking their tea in contemplative silence.
Found on stack overflow https://stackoverflow.com/questions...8 -
This is what I found in the logs:
3280546 I had a cup of tea and now it's fixed
9daaf6c copy and paste is not a design pattern
958ca5b It compiles! Ship it!
a9edf8d LAST time, Masahiro, /dev/urandom IS NOT a variable name generator...
438072f 640K ought to be enough for anybody
1fb839b Too lazy to write descriptive message
4d70890 ...
d6ce0c8 Ugh. Bad rebase.
a00b544 Programming the flux capacitor
49715cb Fix my stupidness
4babf07 Do things better, faster, stronger
49b3a7b SEXY RUSSIAN CODES WAITING FOR YOU TO CALL
12c7b55 formatted all
2658c87 and so the crazy refactoring process sees the sunlight after some months in the dark!
2376c89 - Temporary commit.
a83220a I honestly wish I could remember what was going on here...
3347007 work in progress
3382b4c well crap.
109748a Glue. Match sticks. Paper. Build script!
c3f025e Useful text
70394e7 Who knows WTF?!
0d78f14 breathe, =, breathe
5344e39 removed tests since i can't make them green
8a3a6bf better grepping
2777cc4 first blush
cf620ff Continued development...
9591c19 Too lazy to write descriptive message
767e0cd Some shit.
763602a Yes, I was being sarcastic.
8d7a602 /sigh
c6296e5 rats4 -
So my office manager decided to ban kitchen utensils in the office. Part of the reason was that there was too much stealing. Apparently too many mugs, knives, plates & spoons have gone missing for it to be just through loss.
I tried to reason with this office manager. I asked if we really want to create a culture of mistrust where we ban basic utilities like we’re children.
I appealed to the business logic do we really want freelancers going out to grab a coffee 10 minutes a day over a period of a year.
I tried to appeal to the digital nature of the office can we “source the solution from the office”
The other office have to bring in their own utensils but the other office has a canteen.
Essentially I feel like this was a power issue a decision was made I’m not allowed to question it.
Apparently my “behaviour” has been flagged with the CTO. 🤣🤨
I have to stir my tea with a knife unless I put stuff in my desk.
As a solution I decided to reach out to several green companies that provide disposable cutlery and kitchen where they agreed to send a sample which I put in the kitchen. I have a feeling this will be taken as hostile move in of what is: a solution.
Seriously W T actual F.6 -
My best case "Deploy Bittersweet Pipeline":
Prep a bunch of carrots, cucumber and tomatoes for day snacks. Roll & cut some pasta noodles, cook stock with fresh veggies & mushrooms, add some droopy soft boiled egg(s) to the broth, drizzle in some black garlic hot sauce. Enjoy that breakfast with an unsweetened Australian flat white and a half-liter cup of chai spiced green tea. Watch some science/tech/woodworking/cooking YouTube videos while feeding my Bittersweet Jr girl.
(yeah my mood is determined for about 90% by food)
Fire up docker compose & IDEs, and start refactoring code and migrating/fixing old databases.
My worst case "Fatal Incident Bittersweet Repair & Recovery Process":
Stuck while refactoring the worst kind of trash code since 9am.
Pour a glass of Tawny Port at 9pm. Pour a glass of cognac at 11pm. Unwrap 3 chocolate bars and break them into chunks in a bowl. Look at IDE, get nauseated, not from the booze or chocolate, but from the code.
Can't fall asleep because code is too broken, that crap should simply not exist. Take some LSD and amphetamine, can't sleep anyway. Start splitting several 10k-line-long files into smaller classes, type until my fingers have blisters. Empty two bags of Doritos, order a large Falafel with extra garlic sauce at 4am.
Fall asleep at 5am with my face on my keyboard, wake up at 9am with keyboard pattern on my skin.
Cook some hangover noodles.
Call work that I'm taking 3 days off. Feed Bittersweet Jr while I watch some YouTube channels with her. Bittersweet has successfully rebooted.1 -
Green-Tea, some ambient music,staring into space dreaming up wonderful mythical places..
#MaybeMyTEAisALittleTooGreen ;-)2 -
Whoever said green tea helps you lose weight was right.
I accidentally spilled some on my laptop, and I can't work properly now because I've to replace the keyboard and spare parts are expensive (at least for my model).
And it'll take 3 weeks to arrive!
So with the stress of projects and deadlines piling up, yup, I'm losing weight alright!
Green tea !FTW3 -
Today was a good day, (day 4 of my junior dev career) I met the only other female Dev in the company , great stuff
And I'm starting to see how well I fit into the company. The only hot drinks options are coffee and green tea- exactly the only hot things I drink 😂(I think they all hacked me and made the work exactly the way I'd like it hm)3 -
I just felt like Google is the best player out there in terms of Companies.
Seriously, Well played Google.
This is not a negative opinion, I am just awe-struck at its tactics.
See, Google is currently the biggest name in terms of development in Android, ML and multi-platform software but no one can say it being a monopoly due to its dedication to open source community.
Recently Android emerged out to be One of the Biggest , most advanced, trusted and loved Technology . It saw great achievements, and up till 2016-17, it was at its peek. BUT when the market started shifting towards multi-platform boons and Ai, it got its hands into that too with its flutter and kotlin environment
One could have a negative opinion about this, But i can't seem to engulf the vast amounts of positive situations i see in this:
1) this IO18 (and many months before that) saw ML/AI being incorporated in Android (also the arcore, proje tango and many more attempts in the past) meaning that Android will not officially "die". It will just become an extremely encouraged platform( not just limited to mobiles) and a beginning of the robot -human reality ( a mobile is handling everything of your everyday life: chats, music apps sxhedules, alarms, and with an actively interacting ML, it won't be long when Android comes installed in a green bug lime droid robot serving you tea xD). Meanwhile the market of Windows games may shift to mobiles or typically " Android games" (remember, Android won't be limited to mobiles)
2)java may or may not die. The animations and smooth flow it seems to provide is always appreciated but kotlin seems to do so too. As for the hard-core apps, they are usually written in c++ .So java is in the red zone
3) kotlin-native and Flutter will be the weapons of future , for sure. they will be developing multi-platform softwares and will be dividing the market of softwares into platform specific softwares(having better ml/ai interactions,animations) and platform independent apps(access and use anywhere softwares).
And where does google stand?Its the lord varys of game of thrones which just supports and enhances the people in the realm. So it benefits the most . That's a company for you, ladies and gentlemen! If seen from common eyes they seem to be the best company ever and our 1 true king but it can also be a very thick fur cloak hiding their negetive policies and tactics , if any.
Well played, Google.16 -
Its a very simple algorithm for me:
Start with a deep base edm track.
Get a green tea.
Start work. The mood is now set.
(If frustrated): go out for a smoke and continue again.
(If frustrated again): see ur managers face and start lashing out code at ur ide.
(Optional if at home): random faps do help.1 -
When I'm about to start a late night coding session I like to brew a pot of green tea. In theory there is less caffeine than coffee.1
-
I really do love my job but after 2 liters of green tea and one aspirin I'm still tired and my headache is coming back
...
This can't be a healthy relationship...9 -
I tried mate!
I'm not sure if I like it that much!
@darksideofyay got me into mate tea and I just had to try it for some unknown reason.
I didn't get the pot and bombilla because that seemed unnecessarily expensive for a tea I had not tried.
I got the tea leaves, brewed them like green tea and it didn't work at all. The flavour was lacking and it was a letdown.
But I knew I was drinking it wrong. I needed bombilla. But hold on, @darksideofyay was brewing her toasted mate like tea. So I toasted a handful of leaves and brewed it.
And yay! I like that thicc tobacco aroma. The taste profile is better than green tea but nowhere near the black teas. All in all I'm convinced I need to try it with bombilla.
Fun times.30 -
I live mainly on green tea and grissini(bread sticks). Ironically I have a very weak alcohol tolerance but caffeine never seems to have any effect, so i just drink greent tea because it soothes my nerves and tastes awesome while eating low calorie snacks... Another irony is that I'm fat... You would think such a healthy sounding life style would lead to a fit body. Then why the fuck am I still fat god ?! Do you want me to cycle for 50 km everyday for christs sake ??!!!!2
-
We use Slack at work for IMs.
There are tons of threads created in each DM, group chat, and channels.
There is a purpose to each thread.
But.. BUT.... Engineering team responds to a thread and also sends the same message in channel.
What's the fucking point of the thread...
FUCKING STOP SPAMMING WITH DUPLICATE MESSAGES.
I have a cup of green tea in my hand right now and I feel like pouring it on myself.
Third tier geniuses from Timbuktu.4 -
I have a picture of breaking waves above my desk. I lean back, remember times I was out on my surfboard just sitting in the water. Sometimes I make some green tea and just breath.
If that doesn't work, black coffee, somafm EDM and stress the fuck out until it's done. -
What is keeping you up at nights?
I'm not a coffee person. I can drink it and go to sleep :)
For me it's Pepsi. Fast shugar for energy, I guess. Strong green tea on 2nd place.3 -
.: I need validated :.
Does anyone else like Sencha so much that they don't mind eating the leaves as well? Reminds me of the nori in miso soup.1 -
Plan Your Dream Vacation with The Travel Planners – Kerala Holiday Packages
Kerala, with its lush green landscapes, pristine beaches, tranquil backwaters, and rich cultural heritage, is undoubtedly one of the most beautiful destinations to visit in India. Whether you’re seeking a relaxing getaway, an adventure-filled vacation, or a deep dive into Kerala’s unique traditions, there’s something for every traveler. At The Travel Planners, we specialize in offering tailor-made Kerala holiday packages that are designed to give you the best experience of this enchanting destination.
Located in Kariyad, Mecadu.p.o, Nedumbassery, Cochin, Kerala, The Travel Planners is dedicated to providing personalized and memorable experiences for all types of travelers. Whether you’re a solo explorer, a couple on a honeymoon, or a family looking for a fun-filled vacation, we have the perfect Kerala holiday package for you.
Why Choose The Travel Planners for Your Kerala Holiday Packages?
At The Travel Planners, we believe that every holiday should be a unique and unforgettable experience. Here's why you should trust us with your Kerala holiday plans:
Customizable Holiday Packages: We understand that every traveler has different interests. That's why our Kerala holiday packages are fully customizable to fit your preferences. Whether you're interested in exploring the backwaters, unwinding on the beaches, or discovering Kerala’s rich cultural history, we tailor each package just for you.
Expert Local Knowledge: With years of experience, we know the best tourist spots in Kerala. We can guide you to popular destinations like Munnar, Kovalam, and Kochi, as well as hidden gems that many tourists miss. Our local knowledge ensures that you’ll get the most out of your time in Kerala.
Affordable Packages: Whether you’re on a budget or looking for a luxurious experience, we offer Kerala holiday packages to suit all price ranges. Our goal is to provide the best value for your money, ensuring a memorable experience without breaking the bank.
End-to-End Services: From transport and accommodation to guided tours and activities, we take care of every detail. Our Kerala holiday packages include everything you need for a hassle-free trip, allowing you to focus on enjoying your vacation.
Customer-Centric Approach: Our top priority is your satisfaction. We’re dedicated to ensuring that your Kerala holiday is seamless, and we provide 24/7 support during your trip. Our team is always available to assist with any requests or concerns you may have.
Popular Kerala Holiday Packages
The Travel Planners offers a variety of Kerala holiday packages designed to cater to different interests and preferences. Some of our most popular packages include:
Kerala Backwater Holiday Package
Experience the serene backwaters of Kerala in this package, which includes a stay on a traditional houseboat in Alleppey or Kumarakom. Drift through the tranquil waterways, surrounded by lush greenery and quaint villages, for a truly peaceful getaway.
Kerala Honeymoon Package
Celebrate love in the most romantic setting with our Kerala Honeymoon Package. Explore the hill stations of Munnar, relax on the beaches of Kovalam, and take a peaceful houseboat cruise in Alleppey. This package includes candlelight dinners, spa treatments, and private moments that make your honeymoon unforgettable.
Family Kerala Tour Package
This family-friendly package includes some of Kerala’s top attractions, such as Munnar’s tea gardens, the backwaters of Alleppey, and the beaches of Varkala. Our family Kerala holiday packages also offer fun and educational experiences for kids, making it perfect for all age groups.
Kerala Hill Stations and Wildlife Package
For nature lovers, this package offers a blend of Kerala’s beautiful hill stations and rich wildlife. Explore the tea plantations of Munnar, trek through the forests of Wayanad, and experience wildlife safaris in Periyar Wildlife Sanctuary to spot tigers, elephants, and more.
Kerala Beach Holiday Package
Kerala’s coastline is home to some of the most stunning beaches in India. This package includes stays at Kovalam, Varkala, and Bekal, where you can enjoy sunbathing, water sports, and relaxing by the beach. It’s perfect for beach lovers looking for a combination of relaxation and adventure.
Cultural Kerala Holiday Package
Discover the rich cultural heritage of Kerala with this package, which includes visits to the historic sites of Kochi, the famous temples of Trivandrum, and cultural performances like Kathakali and Kalaripayattu. Immerse yourself in the arts, traditions, and history that make Kerala so unique.
Plan Your Kerala Holiday with The Travel Planners8
