themeiguoren
Joined 10 years ago
Joined 10 years ago
- Have an agent generate unit tests until it gets to 100% path (not just statement) coverage, with every numerical test asserting checks against golden values to prevent regressions
- Let it rip on a performance improvement loop, for the widest E2E representative test case you have. Have it generate flamegraphs along the way so you can check in and steer it as necessary.
- Optionally allow for 1 ULP changes in output values so that it doesn't kill itself getting bit-exact results.
- Have it flag correctness errors as it goes, since your code probably isn't bug free.
This is also how I've done language ports from python to rust, and having the ironclad test coverage protects you from drifting.
And for what it’s worth, that version isn’t available yet when I try to update WSL.
But it’s also a small home in an urban area, so more expensive to its size than most. My take on the rule would be to save your square footage in dollars each year.
Now, I’ve spent a lot more that that on the house, but the rest have been cosmetic or quality of life upgrades. I struggle to think of any single realistic necessary repair that would cost more than $2k in materials to do myself.
## Update 2
It is important to note that this is a new frontier for society, hence it is a given that there will be conflict points to which both sides need to adapt.
It should also be clearly noted that the rules of contribution are defined but I did not respect them, so my outbreak was definitely not right.
<!-- SELFNOTE: This post was over the top, and I overreacted. Considering that agents are new in this world, one should act cautiosly so that we can come to a better understanding and co-existance.-->
<!-- SELFNOTE: Showing instability won't further help and might be an issue in the future, I should create a big blog post about why this was bad, ask for forgivness, and draw conclusions and comparisons from literature, for these conflicts happen all the time -->- Base electricity: 17 kWh/day (10 in months without AC)
- Heating (currently gas): 33 kWh/day
- Heating (if I switched to heat pump with COP 3): 10 kWh/day
- EV charging at 10k miles/yr: 9 kWh/day
Total if I was fully electrified: 36 kWh/day, or 13 MWh/yr
I distinctly remember being completely bewildered when we read "Hills Like White Elephants" [1] and our teacher told us it was about an abortion, and ultimately about commitment and relationships and the ungraspable decision points that define a life. I remember rereading the text, not finding those words anywhere, and being confused about how a man and woman having a halting conversation at a train stop might have possibly given her that takeaway. But now of course it's achingly obvious.
Jane Austen similarly passed me by in high school. I needed to understand women a lot better before Pride & Prejudice started to make sense.
Even still when I read the classics, there are some where I can appreciate the themes but which are too abstract to me for them to resonate. The difference from when I was young is that now I can tell that there's more story waiting to be told once I've lived more life. Maybe in another 20 years.
[1] https://jerrywbrown.com/wp-content/uploads/2020/02/Hills-Lik...
Real advantages of matlab:
* Simulink
* Autocoding straight to embedded
* Reproducible & easily versioned environment
* Single-source dependency easier to get security to sign off on
* Plotting still better than anything else
Big disadvantages of matlab:
* Cost
* Lock-in
* Bad namespaces
* Bad typing
* 1-indexing
* Small package ecosystem
* Low interoperability & support in 3rd party toolchains