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 - "hydrated"
-
I've recently moved abroad to study and I only brought the most essentials with me. And I like to stay hydrated 😅
4 -
The coffee here is so shitty, I have to drink lots of water to get rid of the terrible flavor that remains in my mouth every single time.
On the other hand, I'm very well hydrated.8 -
Now this looks stupid already, but here is the kicker: by "partially hydrated cursor" i mean that once every page size an sql query is ran to get the next page content. This code is put in an event handler, executed once every time a file is uploaded in a dms where files get uploaded by the thousand.
To sum things up, this simple snippet achieves triple dipping:
* waste time on useless sql queries
* waste cpu on useless iterations
* waste disk space on useless logs
Icing on the cake, the author of this piece of shit was complaining about the overall slowness of the process.
Needless to say that when I stumbled on this, both internal *and* external screaming ensued...
4 -
Devrant is so full of people venting, I want to be an aisle of positivity, something you know you wanted for years on devrant!
First of all, remember that whatever your boss tells you, you should know what you can do and never let them intimidate you!
Whatever your mates tell you, the Issue probably isn't just you.
Remember to listen to many differentstyles of music. Keep Hydrated! Be nice to people, they'll be nice in return.
How about you come into the comments to have some nice talk? Remember: Only spread positivity 🌻🥀🌺
Ps: Havent ranted in such a long time. What's new?8 -
yeah we use isomorphic async hydrated SSR pseudo-rendering with edge-server chunked ES module CSS-in-JS-in-CSS ESNext TypeScript interop through GraphQL in react-native-web transpilation to react-dom in NextJS isomorphic rendering context React hooks
5 -
Me: Hey, I'm going to refill my water bottle. You need some as well?
Coworker: Yeah, thanks let me just drink the remaining bits
*starts chugging down 3/4 full bottle*
Me: PFFFFT, you don't need a refill please, for the love of god, staph
3 -
Proactively seeking out new knowledge: mostly podcasts and watching what's new on github.
keeping an open mind: just because some pattern is industry proven doesn't mean its necessarily the better,
Testing: write a test describing a problem then trying to write slightly different solutions (eg. One that leverages service location, another that emphasize dependency injection..),
Forced & timed breaks: keep hydrated, don't get stuck "spinning the wheel".. :) -
I hate the process of trying to get hydrated when I’ve gone through a period of apparently thinking I’m a cactus.
When I don’t drink water at all, I feel fine. No dry mouth, no symptoms of dehydration.
I *start* trying to hydrate and it’s like my body thinks this is the best time to start giving me all those dehydration symptoms it doesn’t even bother with when I’m not drinking water because it’s just given up on me listening to them.
I drank 64 oz of water yesterday and woke up with my tongue stuck to the roof of my mouth and my throat scratchy.
I know that I need to keep drinking water in large quantities for a period of time for my body to chill the fuck out again, but words can’t describe how tempting it is to just go back to being a cactus.
Hydrating sucks.8 -
I drink enough water to be hydrated, throw on some random rock playlist or System of A Down album & I'm in the mood.
-
What’s the scientific reason behind wanting to sleep?
As long as I stay hydrated and eating to get enough energy I don’t see why I shouldn’t be able to go on forever or for a very long time (like a phone a charging while being used)8 -
#Suphle Rant 6: Deptrac, phparkitect
This entry isn't necessarily a rant but a tale of victory. I'm no more as sad as I used to be. I don't work as hard as I used to, so lesser challenges to frustrate my life. On top of that, I'm not bitter about the pace of progress. I'm at a state of contentment regarding Suphle's release
An opportunity to gain publicity presented itself last month when cfp for a php event was announced last month. I submitted and reviewed a post introducing suphle to the community. In the post, I assured readers that I won't be changing anything soon ie the apis are cast in stone. Then php 7.4 officially "went out of circulation". It hit me that even though the code supports php 8 on paper, it's kind of a red herring that decorators don't use php 8 attributes. So I doubled down, suspending documentation.
The container won't support union and intersection types cuz I dislike the ambiguity. Enums can't be hydrated. So I refactored implementation and usages of decorators from interfaces to native attributes. Tried automating typing for all class properties but psalm is using docblocks instead of native typing. So I disabled it and am doing it by hand whenever something takes me to an unfixed class (difficulty: 1). But the good news is, we are php 8 compliant as anybody can ask for!
I decided to ride that wave and implement other things that have been bothering me:
1) 2 commands for automating project setup for collaborators and user facing developers (CHECK)
2) transferring some operations from runtime to compile/build TIME (CHECK)
3) re-attempt implementing container scopes
I tried automating Deptrac usage ie adding the newly created module to the list of regulated architectural layers but their config is in yaml, so I moved to phparkitect which uses php to set the rules. I still can't find a library for programmatically updating php filed/classes but this is more dynamic for me than yaml. I set out to implement their library, turns out the entire logic is dumped into the command class, so I can neither control it without the cli or automate tests to it. I take the command apart, connect it to suphle and run. Guess what, it detects class parents as violations to the rule. Wtflyingfuck?!
As if that's not bad enough, roadrunner (that old biatch!) server setup doesn't fail if an initialization script fails. If initialization script is moved to the application code itself, server setup crumbles and takes the your initialization stuff down with it. I ping the maintainer, rustacian (god bless his soul), who informs me point blank that what I'm trying to do is not possible. Fuck it. I have to write a wrapper command for sequentially starting the server (or not starting if initialization operations don't all succeed).
Legitimate case to reinvent the wheel. I restored my deleted decorators that did dependency sanitation for me at runtime. The remaining piece of the puzzle was a recursive film iterator to feed the decorators. I checked my file system reader for clues on how to implement one and boom! The one I'd written for two other features was compatible. All I had to do was refactor decorators into dependency rules, give them fancy interfaces for customising and filtering what classes each rule should actually evaluate. In a night's work (if you're discrediting how long writing the original sanitization decorators and directory iterator), I coupled the Deptrac/phparkitect library of my dreams. This is one of the those few times I feel like a supreme deity
Hope I can eat better and get some sleep. This meme is me after getting bounced by those three library rejections
-
BONJOUR Senior Elder Home Care: Holistic, One-on-One Senior Care with Dignity and Respect
At BONJOUR Senior Elder Home Care, we understand that each senior has unique needs that require personalized attention. Located at 210 Haven Ave, Scotch Plains, NJ, we are committed to offering holistic home care for seniors, providing one-on-one elderly support, and ensuring that each individual receives senior care with dignity and respect. Our compassionate, professional caregivers are dedicated to supporting seniors with a range of services, from daily living assistance to specialized care for conditions like dementia and Alzheimer's, all in the comfort of their own home.
Holistic Home Care for Seniors: A Complete Approach to Well-Being
At BONJOUR Senior Elder Home Care, we take a holistic approach to care that focuses not only on physical health but also on emotional, mental, and social well-being. Our holistic home care for seniors services are designed to support every aspect of a senior's life, ensuring that they remain engaged, healthy, and comfortable in their own environment.
Our holistic home care for seniors includes:
Physical care: Assistance with activities of daily living such as bathing, dressing, grooming, and mobility support.
Emotional support: Providing companionship and engaging in meaningful conversations, activities, and hobbies that promote emotional well-being.
Cognitive health: Offering mental stimulation and cognitive exercises for seniors dealing with memory loss, dementia, or Alzheimer’s.
Social engagement: Helping seniors maintain social connections with friends, family, and the community, whether through visits, phone calls, or social outings.
Nutrition and hydration: Ensuring that seniors receive balanced, nutritious meals and staying hydrated to support overall health.
By offering holistic home care for seniors, we strive to help each individual live a fulfilling, well-rounded life, improving both their physical and emotional health.
One-on-One Elderly Support: Tailored to Meet Unique Needs
Every senior has different needs, and one-on-one elderly support ensures that your loved one receives care that is fully personalized. At BONJOUR Senior Elder Home Care, we provide dedicated, one-on-one attention, ensuring that each senior receives the level of care they deserve. Our caregivers are not only highly trained but also passionate about providing compassionate, individual support that promotes independence, comfort, and safety.
Our one-on-one elderly support includes:
Personalized care: Developing a custom care plan based on the senior's specific health conditions, preferences, and daily needs.
Assistance with daily activities: Helping with personal care tasks like dressing, grooming, and mobility assistance.
Medication management: Ensuring that medications are taken on time and as prescribed, with constant monitoring of health conditions.
Companionship and emotional support: Engaging in meaningful activities and offering a listening ear to reduce feelings of loneliness and improve mental health.
Transportation and errands: Assisting with transportation to medical appointments, grocery shopping, or social events.
By providing one-on-one elderly support, we help seniors maintain their independence while receiving the care they need in a safe and supportive environment.
Senior Care with Dignity and Respect: Preserving Independence and Comfort
At BONJOUR Senior Elder Home Care, we are committed to providing senior care with dignity and respect. We understand how important it is for seniors to feel valued and respected as they age, and we make it our priority to treat each individual with the utmost care and consideration. Our caregivers foster an environment where seniors feel empowered to make decisions about their own care while receiving the support they need to maintain their quality of life.
Our senior care with dignity and respect includes:
Personalized care plans: Developing a care plan that respects the senior's wishes, preferences, and lifestyle, allowing them to maintain as much independence as possible.
Privacy and autonomy: Ensuring that seniors' privacy is respected, and providing them with the opportunity to make choices about their daily activities and care routines.
Empathetic caregivers: Our caregivers are trained not only in the technical aspects of senior care but also in providing emotional support that makes each senior feel valued and heard.
Comfortable, familiar surroundings: Keeping seniors in their homes, where they feel safest and most comfortable, and minimizing disruptions to their daily routines.5
