Ryan retweeted
Prompt of the day (a long one):
Take a look at every code comment in <my codebase | this section of the code>.
Categorise each comment as:
- Tautology: simply repeats what is already visible from the code
- Excuse: many comments allow the agent to get away with a hacky implementation, which then gets propagated through the code
- Stale: references code or implementation information that is no longer relevant
- Decision Record: documents an important, non-obvious decision about the code
For each comment, take this action:
- Tautology/Stale: delete the comment
- Excuse: delete the comment and file an issue to fix the hacky implementation
- Decision Record: move it into an ADR
Once this is done:
- Create a lint rule banning comments for <my codebase | this section of the code>
- Take a ratchet approach, assuming not all comments will be deleted this PR
- Create a /delete-comment skill in this repository so we can repeat this process later
- Estimate for me how many lines of code we'll shed by deleting all comments
---
I'm sold - comments considered harmful
Ryan retweeted
Introducing Evilcharts
An open-source chart UI website built with shadcn/ui and recharts, beautifully designed and handcrafted.
Ryan retweeted
Introducing Dotmatrix🗿
A collection of 55+ free and open-source dot-matrix loaders, built with React, TypeScript, Tailwind CSS, and shadcn.
Install one, copy the code, and make it yours.
Link: 👇🏼
Ryan retweeted
You can design hero sections like this using premium AI backgrounds.
A collection of 50+ stunning backgrounds you can use for free.
I’ll keep adding new backgrounds regularly.
Link. ↓
Ryan retweeted
Replying to @todomir__ @fredrikalindh
put the file name and the path in different spans. You can do this in CSS...
When you're working on a new app, it can takes a few tries to find something you like so we've made switching presets really easy.
Run init --preset with a new code in your app, and the cli will take care of reconfiguring everything including components, theme & dependencies.
Ryan retweeted
The real test of character is not to post big green trade but to always post big red ones and hiding big wins. Somewhere out there traders like that exist but it aint many of them.
Ryan retweeted
#smallcaps: As a short seller you should prioritize tickers by relation to hot theme/sector (which always has macro backdrop), not float size or dilution or market caps.
Basically by far most important for short seller is not to watchlist tickers that might be good to short, but instead to aboid trading tickers that have somewhat of black swan potential. Black swans is where most eat the most damage.
This is precisely why hot sectors or hot theme is key to figure for each ticker if belongs to it or not. So many traders do analysis from wrong angle (whats a good short), you need to ask yourself what might be problematic short on the day. And for that you need to understand the long game.
On typical day you will always have bunch of tickers which are outsiders (even in hot market) not related to hot sectors. So focus on these.
#trading
Ryan retweeted
"Rigged defense candle", not really beginners pattern but one of those that is meaningful. Its not frequent thats why not beginner suitable, one ticker per week usually. Very applicable to #smallcaps where they like to trap longs, and this clue can make difference to time the support washes and when the riggers enter - game over mode.
The focus on this pattern is only within consolidated structures where support is cleanly visible (even bounces). The idea is, all high liquid smallcap tickers with precisely defended (and aggressively) supports are rigged. Its 100% institutional defense, in many cases they will trap longs and flush the ticker out. So the idea is, if there is clue every once in a while to know when they are "done" and are planning to pull the plug-it could be useful clue.
#trading































