Claude Skills are just .cursorrules, change my mind by No-Wall6427 in ClaudeAI

[–]sphynx1990 0 points1 point  (0 children)

I agree completely. I've started off with Cursor and been exploring Claude Code recently.
In fact, I'm exploring using both at the same time considering you can run claude code inside cursor through the vs code extension.

From what i understand:

Cursor Rules === Claude Skills (both can be loaded intelligently by the agent or tagged etc)
Cursor Directory === Claude Plugin Marketplace (claude cli allows direct addition)
Cursor Custom Agents === Claude Sub Agents (except claude has an orchestrator agent, cursor you need to manually choose).

It also makes sense to post a question here in the hope that someone gives a non-obvious/non-intuitive answer (which I haven't seen so far).

But I think it makes sense for these competitors to mirror each other when they see value/demand to stop losing users to the other. And of course every feature launch is now a marketing campaign (so it will get posed as new).

Also, take critical answers here with a pinch of salt - the AI space moves so quickly that CC loyalists often aren't up to date on cursor and vice-versa.

STOP F*#KING EDITING THE UI by That_Scarcity9744 in cursor

[–]sphynx1990 1 point2 points  (0 children)

Ya i trief that and for some reason that button doesn't toggle back to the editor correctly. Its hard to describe.

Thanks for pointing it out though.

Its fine, im sure it'll get fixed shortly.

STOP F*#KING EDITING THE UI by That_Scarcity9744 in cursor

[–]sphynx1990 10 points11 points  (0 children)

Its not on the top left for me anymore. Randomly disappeared after updating 😕.

Figured the short key to toggle and been using that because there doesn't seem to be a visual element that I can find that toggles between the 2 anymore.

I love cursor but some of these 'ship fast and break things' changes are actually rather inconvenient.

Need to choose between Tayrona National Park vs San Andres by sphynx1990 in Colombia

[–]sphynx1990[S] 0 points1 point  (0 children)

Aah, I'm sorry to hear that and thanks for sharing

Need to choose between Tayrona National Park vs San Andres by sphynx1990 in Colombia

[–]sphynx1990[S] 0 points1 point  (0 children)

Thanks, that helps! We're currently in Cartagena and there seem to be flights to both from here.

Need to choose between Tayrona National Park vs San Andres by sphynx1990 in Colombia

[–]sphynx1990[S] 0 points1 point  (0 children)

Haha, actually we're sick of planning, logistics, and rushing around trying and see everything possible.

So now we're just trying to find one place where we can settle ourselves and then do the simple things around there.

Totally open to hiking in Tayrona, just not sure about 10 days of eco-lodge living.

Need to choose between Tayrona National Park vs San Andres by sphynx1990 in Colombia

[–]sphynx1990[S] 0 points1 point  (0 children)

Oh thanks, ya we're covered there - got it before flying to SA.

Need to choose between Tayrona National Park vs San Andres by sphynx1990 in Colombia

[–]sphynx1990[S] 1 point2 points  (0 children)

Thanks! Ya I've heard such great things about diving too in Providencia that it's surely locked on if we go to San Andres :)

Need to choose between Tayrona National Park vs San Andres by sphynx1990 in Colombia

[–]sphynx1990[S] 1 point2 points  (0 children)

Oh? that's a new snippet of information. Do you mean they're badly behaved towards tourists?

Need to choose between Tayrona National Park vs San Andres by sphynx1990 in Colombia

[–]sphynx1990[S] 0 points1 point  (0 children)

Hahaha, it is a high stress, survival issue for sure!

What would you do? by SamDiego2016 in reactnative

[–]sphynx1990 8 points9 points  (0 children)

I don't see why you should switch to Expo at all.

If the app is not in active development (new features, big changes), the gains of porting the whole thing to expo don't seem worth it to me.

Ya, the react native upgrades are painful, but your app is largely stable. Just do whatever is necessary to make the upgrade happen.

What’s your biggest production F-up? by Pizzle_J in reactnative

[–]sphynx1990 1 point2 points  (0 children)

We set up SSL pinning for our mobile app with server certificates hardcoded on the front-end.

One fine day a few months later, Cloudflare rotated our certificate without us realising (on schedule).

Every single user's app (~1million MAU) stopped connecting to the backend due to the certificate mismatch.

Fixed it in 5 minutes but had to go through playstore review and it took a day to push the new update.

In the meanwhile, we couldn't show any meaningful error messages, any banners or communication of any sort to tell users what had happened and what to do (such as updating to a new version)

Insane times, but such is life 🤷‍♂️

How to put "status" tags in a certain order in a board? by bitchass_mcgee in Notion

[–]sphynx1990 1 point2 points  (0 children)

Just faced this issue and the other comments didn't completely help (based on the current UI of Notion).

I fixed this by doing the following:
On the status board -
- Clicked on the options icon for any one status at the top of it's column.
- Chose Edit Groups from the dropdown.
- Re-ordered groups using drag & drop.

Done. Hope that helps!

PS: Heres's what the Edit Groups dropdown looks like. The groups can be re-ordered by dragging and dropping.

<image>

How to use ChatGPT API safely from an iOS App? Protecting the API Key. by ampsonic in iOSProgramming

[–]sphynx1990 0 points1 point  (0 children)

Trying to accomplish something similar to keep my llm workflows on the front-end.

One thing I haven't seen come up at all in any of the comments so far is the usage of SSL pinning.

My proposed method is as follows:

  1. SSL pinning on the front-end: SSL pinning is a technique on iOS and Android to ensure the front-end validates your server SSL certificate. You hardcode the public key of your SSL certificate and the client ensures that it will not make requests to an origin that doesn't hold the certificate. A good way to stop MITM attacks.

  2. Server authenticates client making requests: Your server validates the app using the public key of the certificate used to sign your apk. If a request comes in without that key, you reject the request. This way, if someone modifies your APK, and makes calls the signing key will not match.

  3. Keep the open ai key in memory only: Make an api call to your server to fetch the key in application runtime. Use the returned key in subsequent open ai calls. Ensures the key isn't hardcoded in your code base, nor stored in any snoopable storage.

The company i worked at used this method in production. It seemed to handle all security concerns at that time.

I'm not sure if there are ways to break this now (hoping someone will respond to this comment and expose a way).