agilebyte
agilebyte on Hacker News
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.
Though I still have to make edits sometimes. WIP.
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.
Individuals: Your mattress is not big enough for all your cash and your neighbors are eyeing it too...
Institutions: requirements that they hold a % of their portfolio in safe assets like bonds.
Raise money, buy competition, raise fees?
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.
More democratic than China, yes. A low bar to clear.
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.
If we had access to granular data like this, wouldn't it lead to further gentrification and a further rift within a society?
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.
Bear Markets: This Time is Different (Every Time) - https://www.youtube.com/watch?v=Jh9Gn58r9Fw
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.
Launch date 7/7/2019, Vega 11 graphics, 4 cores (8 threads).
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.
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).
That introduces the risk of currency exchange, unless you find bonds that are hedged to your local currency.
Reduced infection rates through Black Mirror level contact tracing?
They perform faster than the government and have the expertise to deal with businesses. Compared to 2008, I see their role as "good guys" this time round.
Banks paid sanctions for failing to do due diligence on loan applications, that's what the banks want to avoid this time round.
The loans are guaranteed but you can still pay $ sanctions for not doing the work right.
From Matt Levine:
> Big banks that paid billions of dollars in sanctions after the 2008 financial crisis for flaws or omissions in loan applications -- in that case, mortgages -- assumed paperwork submitted to the SBA would need to meet high standards, or they would risk getting in trouble again. Wells Fargo has been under particular pressure to show that it overhauled its internal controls.
Now that wasn't in the end the case as:
> Some were floored when the SBA posted a notice on its website on Tuesday, confirming that’s necessary but saying that “lenders who did not understand that these steps are required” didn’t need to withdraw applications already submitted. That essentially gave an edge to lenders that had skipped that time-intensive step to get their customers’ applications in first.
But that was (some of the) banks' view.
Yes, but the point is DD was done (last year or today). Effectively the government is paying the banks for the work they've done creating a relationship with the clients, which includes DD.
Paperwork AND doing due diligence on the companies more effectively than the government can right now.
Not having a cover letter that directly speaks to what I am looking for, instead having a generic blurb or no blurb at all. That's one example.
For anyone just googling "HYG" and seeing a flat chart (with a dip at the end), use a tool like Portfolio Visualizer to see the effect of bond ETF dividends.
Put "HYG" under ticker, set it to 100% and make sure to set Display Income to "Yes". You'll get compound annual growth rate (4.52%) and the inflation adjusted value (2.76%) as well.
https://www.portfoliovisualizer.com/backtest-portfolio
Some municipalities/provinces (states) already have their own channels where you can consume important news OR they send emergency alerts to your phone (such as this morning in Ontario).