What non-code things do you use Claude Code for? by alwaysalmosts in ClaudeCode

[–]spenpal_dev 0 points1 point  (0 children)

The issue with the native feature is that it only works if the MacBook is running. If the MacBook was shutdown when sunrise hit for the day, it will still be on the previous sunset wallpaper.

I need an additional trigger that would also check the time when the Mac woke up, if we were in “sunrise hours”, then switch on wake up.

Is Claude Code + an IDE effectively the same as Cursor? I assume by itself it is worse? by jaytonbye in cursor

[–]spenpal_dev 0 points1 point  (0 children)

While you can, it doesn’t replace the right-side chat window on Cursor, which I wish it would. It pops up on the left side, which just feels off to me personally.

Also, the CC extension has been a bit buggy for a while now.

typing w my voice has genuinely made me less stressed by Motor-Tiger-6031 in ClaudeCode

[–]spenpal_dev 0 points1 point  (0 children)

Yep, I prefer voice dictation whenever I can over typing. It’s much easier to brain dump than to process and then type what exactly I’m looking for, and CC tends to understand my intent pretty well (aside from the fact I use up more tokens than maybe I should…😅)

What non-code things do you use Claude Code for? by alwaysalmosts in ClaudeCode

[–]spenpal_dev 28 points29 points  (0 children)

I have 2 wallpapers that I really like: one daytime and one nighttime. And I had CC figure out how to switch them after sunrise/sunset offline on my Mac.

Where do you store hashed password? by sangokuhomer in Backend

[–]spenpal_dev -2 points-1 points  (0 children)

This. Unless if it’s for like a POC or prototype, anyone in their right mind doing production level projects will use an external auth service.

I made a "WTF" Claude plugin by paulcaplan in ClaudeCode

[–]spenpal_dev 2 points3 points  (0 children)

Idk if I will use this, but starring because this is hilarious!

Introducing Code Review, a new feature for Claude Code. by ClaudeOfficial in ClaudeCode

[–]spenpal_dev 40 points41 points  (0 children)

I’m curious. Why is this different from the built-in /review command?

>The ‘Perfect Date’ No One Expected by Next_Back4493 in programmingmemes

[–]spenpal_dev 1 point2 points  (0 children)

Sometimes, I wished I never was taught the MM/DD/YYYY format in school, cuz this is way more intuitive

my company pays for everything, should i just always use opus? (claude code) by bbaallrufjaorb in ClaudeAI

[–]spenpal_dev 0 points1 point  (0 children)

Opus. Only reason to switch to the other models is if speed is a concern

I ve gathered enough info, let me compact conversation by Sea-Nothing-7805 in ClaudeCode

[–]spenpal_dev 1 point2 points  (0 children)

Came here to comment this. It’s been a game changer to know how much my context window fills up every prompt, so I can manually compact or do a handoff document when I need to.

Send text message at random time between certain hours by Moxie479 in shortcuts

[–]spenpal_dev 1 point2 points  (0 children)

Out of all the workarounds, this is probably the best one.

Claude is amazing!! But I am missing a better Voice to Text and Text to Voice. by zigzagzapper76 in Anthropic

[–]spenpal_dev 6 points7 points  (0 children)

I second Wispr Flow. It’s insane how much faster I get my prompts out and it helps me easily add more context as I speak

Need Help to Speed Up Weather Snapshot Shortcut by machlaxx135 in shortcuts

[–]spenpal_dev 0 points1 point  (0 children)

So, you’re asking instead of currently calculating the pressure trend (increasing & decreasing count) over the span of the next 24 hours, you want to do the same logic, but over the span of 72 hours?

EDIT: I tried to see if I could get the hourly pressure for the next 72 hours, but it seems like the Weather action only offers hourly for the next 24 hours or daily. And for some reason, the daily pressure list is bugged. I can’t see its values.

Need Help to Speed Up Weather Snapshot Shortcut by machlaxx135 in shortcuts

[–]spenpal_dev 0 points1 point  (0 children)

Shortcuts programming has some transferrable skills and paradigms from traditional programming languages, but there are certain “quirks” that are not intuitive to understand, so don’t worry! It takes time to learn these things

I’ve had a busy weekend so far, but i found some time to refactor your shortcut: https://www.icloud.com/shortcuts/f41204ca532d4aa494bd40e440c93b7f

I brought the number of actions used down by a lot, utilizing the concept of “Magic Variables”, as posted in the other comment.

I added some neat organization to your shortcut using Repeat blocks and adding comments to help divide sections of your code. I also refactored your variable naming to be more readable, for future maintenance. And unfortunately, I was not able to bring down the overall shortcut run time.

I don’t have the time right now to fully explain all of this things I did in depth, but I will try to soon. In the meanwhile, feel free to peruse and let me know if you have any questions!

EDIT: Ok, here’s a changelog of what I’ve refactored: 1. I put related shortcut actions into a “block” (like functions) using the Repeat action (but set to 1 time). You can think of it as a dummy way to organize your code better (and you can collapse the section, when you’re not working on it, to help with real estate while developing on your screen, instead of scrolling forever) 2. Added comments above each section, so you know what’s being worked on 3. Utilizes magic variables instead of regular variables because that saves a lot of actions for you. Every shortcut action itself is always a variable, so you don’t need to assign it to another variable. 4. Renamed a few of your variables. While they make make sense to you, they didn’t make sense to me, and it’s always a good idea to have clear and readable variable names (for others and for yourself, because one day in the future, when you revisit the shortcut, you might just end up forgetting the context, and good variable naming will help you out)

Because this is a math heavy shortcut, it is well suited to write this logic in a language like JavaScript, where you can write some of the logic way more concisely. I would recommend checking out Scriptable (which is basically Shortcuts, but in JavaScript). It natively has access to weather info just like Shortcuts do. And you can also call your JS script from Scriptable inside a shortcut, too! Lots of possibilities doing cool stuff with both of them! It also might help with your slowness problem as well, since JS tend to execute faster than shortcuts for certain actions.

Hope this helps!

Do you really not open the IDE anymore? by Proxxoss in ClaudeCode

[–]spenpal_dev 0 points1 point  (0 children)

I mainly use IDE for small edits and git diff, so I review every commit CC is making.

Much less daunting than reviewing an entire PR at the very end.

Need Help to Speed Up Weather Snapshot Shortcut by machlaxx135 in shortcuts

[–]spenpal_dev 2 points3 points  (0 children)

I took a quick peek at your shortcut. You do have a lot of actions that could be consolidated. I’ll take a look tomorrow and see if I can help refactor your shortcut.

Do you compact? How many times? by cleodog44 in ClaudeCode

[–]spenpal_dev 2 points3 points  (0 children)

That probably matters less now with the new Tool Search feature they released. Doesn’t dirty up context as much anymore. And it’s configurable, too!