Markdown format with a comment saying what the file path is. So:
This is src/components/Foo.tsx
```tsx
// code goes here
```
OR
```tsx
// src/components/Foo.tsx
// code goes here
```
These seem to work the best.
I tried diff syntax, but Gemini 2.5 just produced way too many bugs.
I also tried using regex and creating an AST of the markdown doc and going from there, but ultimately settled on calling gpt-4.1-mini-2025-04-14 with the beginning of the code block (```) and 3 lines before and 3 lines after the beginning of the code block.
It's fast/cheap enough to work.
I am avoiding the cost of API access by using the chat/ui instead, in my case Google Gemini 2.5 Pro with the high token window. Repomix a whole repo. Paste it in with a standard prompt saying "return full source" (it tends to not follow this instruction after a few back and forths) and then apply the result back on top of the repo (vibe coded https://github.com/radekstepan/apply-llm-changes to help me with that).
Else yeah, $5 spent on Cline with Claude 3.7 and instead of fixing my tests, I end up with if/else statements in the source code to make the tests pass.
Coal is used in (some) peaking power plants that only turn on during a surge of demand for electricity. Some also use natural gas. It's easier to spin them up/down and can deal with the strain of being used intermittently.
Who are you trying to prevent from taking the handle? Seems like it's either a) adults - that have a legit use for it now, b) soon to be adults that will have a legit use for it sooner than your kid does.
It drives up the price of real estate, all of it. Which means that for those Canadians that bought - it's a huge segment of their net worth. And they vote.
Given a choice between two neighbourhoods, would I want to move to one that has grow ops or a high rate of social services checkups? Some of that data is already easily available and I know it is being used by real estate agents already. The people that can avoid these neighbourhoods will, which leaves only those that can't. Gentrification.
The neighbourhood I grew up in was heavily mixed (along social strata) which prevented these problems from arising in the first place.
Time in the market applies to all the market, there's no qualifier for just a bull market - that would be timing the market. Vast majority of people cannot time the market.
From a news story here in Canada about Navajo - their nation is a "food desert" so people have to keep driving to the cities to buy everything, exposing themselves in the process (can't do Foodora/Uber Eats/Instacart). Lack of PPE seems to be a general problem as well.
Re 5) I don't think they knew how valuable it was when uncovering it, the region is filled with fossils. When I visited Royal Tyrrell Museum in 2016 they said they have more fossils in the storage than they have time to process them.
Some things still remain in the "future" bucket and I miss in JS/TS, like the native support for literate programming which lets you write your code and documentation together and generate e.g.:
For anyone looking, the term is "Real Return Bonds". And if you are in Canada watch out, there are not as many of them and the average maturity is quite high so you can expect some wild swings (e.g. XRB ETF).
This is src/components/Foo.tsx
```tsx // code goes here ```
OR
```tsx // src/components/Foo.tsx // code goes here ```
These seem to work the best.
I tried diff syntax, but Gemini 2.5 just produced way too many bugs.
I also tried using regex and creating an AST of the markdown doc and going from there, but ultimately settled on calling gpt-4.1-mini-2025-04-14 with the beginning of the code block (```) and 3 lines before and 3 lines after the beginning of the code block. It's fast/cheap enough to work.
Though I still have to make edits sometimes. WIP.