Forwarded from Logic Binder
Forwarded from Logic Binder
Forwarded from Logic Binder
Editable Resume Template copy.docx
50.8 KB
Forwarded from Dev Notes
You're killing your brain between prompts.
And what do we fill that downtime with? Reels and tiktok. Scrolling short-form videos in that gap is becoming the normal thing to do. We barely notice it, but it slowly hurts our performance and hides what we could do with that time.
Two things fixed this for me.
1. The weekends-only rule. No insta, no yt shorts on weekdays, apps uninstalled. Any long-form video is fine, entertainment, podcasts, whatever. Preferably content that doesn't ask much of your focus, because that spends your focus too.
Everything comes back on weekends. You can't quit shorts completely (I couldn't), it's a source of info and entertainment as well. So don't quit, schedule.
3rd month on this rule and my focus is the best it's been.
2. Parallel projects. Takes some adjusting at first, but run multiple projects at once. I do 4-5 sometimes. While one agent works you switch to the next project, so there's no dead time to get pulled into a feed. I'll share the tools that made parallel sessions work for me (orca, herdr) in another post. But you can add claude notifications to whatever setup you have today, wrote about that here.
We can take on more work than we think. Instead of scrolling between prompts, say yes to that additional opportunity and fill that time with real work.
Follow for more: DevNotes
With agentic coding your brain already does less. You're not writing the code, you're reviewing structure and making architecture calls, and even those you brainstorm with the agent. An MIT EEG study confirmed it: the more the AI does, the less your brain engages.
And what do we fill that downtime with? Reels and tiktok. Scrolling short-form videos in that gap is becoming the normal thing to do. We barely notice it, but it slowly hurts our performance and hides what we could do with that time.
Two things fixed this for me.
1. The weekends-only rule. No insta, no yt shorts on weekdays, apps uninstalled. Any long-form video is fine, entertainment, podcasts, whatever. Preferably content that doesn't ask much of your focus, because that spends your focus too.
Everything comes back on weekends. You can't quit shorts completely (I couldn't), it's a source of info and entertainment as well. So don't quit, schedule.
3rd month on this rule and my focus is the best it's been.
2. Parallel projects. Takes some adjusting at first, but run multiple projects at once. I do 4-5 sometimes. While one agent works you switch to the next project, so there's no dead time to get pulled into a feed. I'll share the tools that made parallel sessions work for me (orca, herdr) in another post. But you can add claude notifications to whatever setup you have today, wrote about that here.
We can take on more work than we think. Instead of scrolling between prompts, say yes to that additional opportunity and fill that time with real work.
Follow for more: DevNotes
Telegram
Dev Notes
Make Claude Code Ping You When It Finishes
you keep tabbing back to claude code to check if it's done. set this up once and never do that again. helpful if you're juggling multiple projects or get distracted by other stuff on your pc.
paste the prompt belowโฆ
you keep tabbing back to claude code to check if it's done. set this up once and never do that again. helpful if you're juggling multiple projects or get distracted by other stuff on your pc.
paste the prompt belowโฆ
แฅแแณแ แแฐแแซแ แแแตแแ แ แแ แ แฐแแ แ แฐแจแณแฝแ
แแแซแ แ แแ แญแแแแฝแ ๐ฅฐ๐ฅฐ
แแแซแ แ แแ แญแแแแฝแ ๐ฅฐ๐ฅฐ
โค3
Python allows you to create enumerations that are also regular strings!
Previously, when working with APIs, JSON, and configurations, it was often necessary to manually extract the value from an Enum.
For example:
When serializing, you would get an enumeration object:
rather than a regular string:
In Python 3.11,
Now, the value can be used wherever a string is expected:
The result:
At the same time, the advantages of enumerations are preserved:
You cannot accidentally pass an incorrect value:
will result in an error.
๐ฅ
Previously, when working with APIs, JSON, and configurations, it was often necessary to manually extract the value from an Enum.
For example:
class Status(Enum):
ACTIVE = "active"
When serializing, you would get an enumeration object:
Status.ACTIVErather than a regular string:
"active"In Python 3.11,
StrEnum was introduced to solve this problem.from enum import StrEnum
class Status(StrEnum):
ACTIVE = "active"
BLOCKED = "blocked"
Now, the value can be used wherever a string is expected:
json.dumps({"status": Status.ACTIVE})The result:
{"status": "active"}At the same time, the advantages of enumerations are preserved:
Status.ACTIVEStatus.BLOCKEDYou cannot accidentally pass an incorrect value:
Status("unknown")will result in an error.
๐ฅ
StrEnum allows you to combine the strict typing of enumerations with the convenience of regular strings, without manual conversion when working with APIs, JSON, and configurations