PierreHenry.DEV ⚡️
banner
pierrehenry.dev
PierreHenry.DEV ⚡️
@pierrehenry.dev
Pierre-Henry, AI Data Scientist & Senior Software Engineer. Incredibly passionate about AI, machine learning, data science, and emerging technologies. I could happily talk all night about AI and IT with anyone who’s keen! https://github.com/pH-7
How to stop chargebacks, you wonder? Well, the easiest is to enable 3D Secure with your payment gateway (e.g. Stripe, Adyen,...), and/or offer Google & Apple Pay. These are easy steps to help avoid fraudulent chargebacks when your service/product was delivered in the expected conditions

#chargeback
December 16, 2025 at 11:22 AM
Classic 15min slow-down break. Just thinking about creativity and better ways to build. Gym Junkie in hand. Sometimes the best ideas don’t come from pushing harder.

💡 Ideas come from pausing, sitting in a food court, and letting your mind wander for a bit 😊🎩

#SlowDown #ThinkBetter #TechMindset
December 12, 2025 at 2:19 PM
Feature flags (or toggles/gateways) help ship granular releases, enabling gradual and safe rollouts.
If a feature misbehaves 🤕, check the feature gateways before the code.

#featuretoggle #releases
December 12, 2025 at 12:38 PM
Pro Tip with Mongoose: you can use `.lean()` method to return plain JavaScript objects, instead of Mongoose document instances. Which is much faster/less memory-intensive - ideal for read-heavy operations 🚀

#mongodb #mongoose
December 9, 2025 at 6:38 AM
Who else is working on exciting data side projects this evening? 🌆🤗

#HappyDay #SideProjects #PassionProject
December 9, 2025 at 4:23 AM
How is your day going…? ☕️ Wouldn’t it be a time to slow down … 🤔

#beautifulday #happymoments #nowmoments
December 7, 2025 at 7:45 AM
In programming, TDD forces you to reorganize and simplify your business logic. Doing it, you’ll write smaller and more maintainable code.
Writing tests first makes you (AI) think through your design before implementation, leading to cleaner software architecture👌
#TDD #DrivenDev
December 4, 2025 at 1:37 PM
This is how easy you can setup a keyboard shortcut for Apple's Writing Tools🚀
Go to System Settings → Keyboard → App Shortcuts

Menu title: "Show Writing Tools"
Shortcut: ⌘⇧W (or whatever you prefer)

You can then instantly use AI writing assistance system-wide without touching your mouse

#keyboard
December 3, 2025 at 1:56 PM
Dependency Injection enables Single Responsibility and Open/Closed principles by letting you swap components without modifying existing classes.
This keeps your code flexible, testable, and easier to maintain as your service scales! 💥

#CleanCode #SOLID #SoftwareArchitecture​​​​​​​​
December 2, 2025 at 12:30 PM
I've recently started using Omarchy as my new Mac replacement! And honestly, it has been fantastic! Fast, nicely opinionated for devs, reliable, and with all the tools I need, already setup for me (Neovim,fzf,ripgrep,zoxide, Xournal++, Alacritty,..)
#Omacom #linux #macreplacement
December 2, 2025 at 11:39 AM
Dependency Injection enables Single Responsibility and Open/Closed principles by letting you swap components without modifying existing classes.
This keeps your code flexible, testable, and easier to maintain as your service scales

#CleanCode #SOLID #SoftwareArchitecture​​​​​​​​
November 30, 2025 at 1:37 PM
Stop writing confusing functions. For instance, use named parameters in TypeScript for clean, maintainable code. Learn more 👇
dev.to/pierre/name...

#typescript #code #refactoring #betterdev
November 28, 2025 at 11:21 AM
The Sustainable Growth cycle is a pattern in businesses that are able to grow year after year without significant difficulties.

This cycle has three distinct phases:
Expansion, Maintenance, and Consolidation.

Happy growth! Happy success! 🚀

#learning #growth #success
November 24, 2025 at 7:45 PM
Few weeks ago, I started using GitHub Claude Code Action, using Claude mentions in PR comments. It saved me so much time and superfluous context switching by automating the repetitive review tasks, implementing fixes, updating docs, … and significantly improved my productivity!
November 23, 2025 at 9:09 PM
🎧 Master your Attentional Space ⚡️

Focus is your engine. Focus is progress. Focus gets you in the zone.
Being in the zone drives your progress forward. The right environment takes you to the next level!

#Focus #Productivity #DeepWork #MentalSpace #Concentration #HyperFocus
November 23, 2025 at 5:59 AM
I (finally) found the ideal battery management tool for macOS
bsky.app/profile/pier...
November 22, 2025 at 12:11 PM
Joseph Sanial-Dubay once said, health is, of all treasures, the most precious and yet the most poorly guarded

#health #treasure #takecare #wellbeing #goodshape #life
November 22, 2025 at 3:26 AM
What’s your favourite way to organise the perfect and rewarding day as a software engineer?

I share my approach in this post → dev.to/pierre/how-...

#Productivity #TimeManagement #SoftwareEngineering #Career #Startup #DevLife
How to prioritize your tasks as a software engineer?
Recently, I've been asked the following question: How do you prioritize your tasks? And below are my...
dev.to
November 22, 2025 at 3:11 AM
This is why you should avoid using NPM UUIDv4. Faster and natively available, Node has you covered!🏆

dev.to/pierre/you-...

#node #performance #javascript #uuid
Why you should ditch NPM UUIDv4. Faster and native, Node has you covered!
In this post, you will see the reason why you shouldn't use anymore the uuid NPM package anymore for...
dev.to
November 22, 2025 at 2:58 AM
‘Battery’ is the best free tool I’ve found to keep your Mac’s battery in good shape!
github.com/actuallymen...

I’ve been using it for two weeks and it works great. You can even install the CLI only, no need for the GUI.

#macOS #MacTips #BatteryHealth #MacUtilities #DeveloperTools
November 15, 2025 at 1:04 PM
[Mac Tutorial]
How to set up a macOS shortcut to Save or Export as PDF with Cmd+Ctrl+S. A simple way to turn any document into a PDF in just a few clicks.

#macOS #Productivity #Shortcuts #MacTips #MacOSTips #TechTips #Apple #PDFTools
November 15, 2025 at 12:46 PM
Stephen King's once said 'Write with the door closed (for yourself), edit with the door open (for others)'

And this is so true! First, use full creativity flows when you write for yourself, then polish for your audience🚪✍️
#WritingTips #StephenKing #writing #focus #productiivty
November 15, 2025 at 12:41 PM
What are your thoughts on tackling and solving problems?🧠
I've been using the rubber duck debugging method for years now, and it's honestly one of the most effective techniques I know.
👇 Just explaining the problem out loud often reveals the solution!👇

dev.to/pierre/rubb...
Rubber Duck Debugging Method
Today, I would like to share the Rubber Duck(y) Debugging Method. This efficient debugging approach...
dev.to
November 9, 2025 at 5:09 AM
...do you use UUID package or the native JS crypto.randomUUID()?
But here is why you should ditch the NPM UUID package 👇
dev.to/pierre/you-...

#node #performance #javascript #uuid
Why you should ditch NPM UUIDv4. Faster and native, Node has you covered!
In this post, you will see the reason why you shouldn't use anymore the uuid NPM package anymore for...
dev.to
November 8, 2025 at 1:18 PM
What are you doing over the rainy weekend?

#python #datascience #buildprojects #poc
Just found a really cool Python web framework called FastHTML. I’ve used Django and Flask for many, many years, and it’s always exciting to still see new frameworks emerging these days to modernise and innovate the way we build web apps 👌

#FastHTML #webapp #ModernWeb #Python
November 8, 2025 at 8:22 AM