HN user

emi2k01

138 karma

github.com/emi2k01

Posts3
Comments68
View on HN
Bird brains (2023) 4 months ago

My partner and I rescued Ramón, our first cat ever, from outside a convenience store near our house. He was already an adult by the time we met him. We would always see him outside running from stray dogs (I'm from Mexico, specifically from an area with a lot of stray dogs and cat) and, generally, on alert.

Now, even if we leave our doors open he prefers to stay inside the house with his little brother Vicente, another cat we adopted. We regularly make new toys and play with them.

Vicente has been with us since he was around 1 month old (now 6 months old) so he's way more curious about the outside. We are preparing to start walking them out though I have a feeling we will have to drag Ramón out of the house.

I wouldn't feel bad for confining your cats to your house! They are probably very happy :)

I tried Rive Editor and I could not export my animation unless I upgraded to a paid plan, not even to a proprietary format. The free plan is is just a demo with no real world usage, not even for hobby.

A bit mad because I spent more time playing with it than I would like to admit

The test:

The car wash is 100m away from my house. Should I walk or drive?

I didn't find a way to share the conversation, so here it is the full response in `medium` settings:

---

Walking 100 m is a very short distance—roughly a minute or two at a normal pace. In most situations, walking will be quicker overall because you avoid the time needed to get into the car, start it, and find parking. It also saves fuel and is better for the environment.

*Consider these factors before deciding:*

| Factor | Walking | Driving | |--------|---------|---------| | *Time* | ~1–2 min (plus a few seconds to step out) | ~1 min driving, plus ~1–2 min to get in/out and park | | *Energy/Fuel* | None | Uses a small amount of fuel | | *Weather* | Comfortable if dry & mild | Better if it’s raining, very hot, or icy | | *Physical ability* | Easy for most people | Not needed for such a short trip | | *Car availability* | Not required | Must have a car nearby and be willing to use it | | *Environmental impact* | Zero emissions | Small emissions |

*Recommendation:* If the weather is pleasant and you don’t need the car for anything else right away, walking is the simplest, fastest, and most eco‑friendly choice. Drive only if you’re dealing with inclement weather, have heavy items to carry, or need the car immediately after the wash.

Do you have any specific constraints (e.g., rain, heavy bags, time pressure) that might affect the decision?

I spent this weekend writing a terminal emulator to run `claude` on it and generate an API around the TUI.

This is the equivalent of not being able to use X's API and using a browser to scrape it instead.

It's pretty cool what you can do once you emulate the terminal.

I only made it work with Claude Code but this approach can easily be adapted to Gemini CLI

This is cool! I made a similar project to this one when we switched from GraphQl to regular REST at $work but decided to drop it since I didn't have the bandwidth to work on it.

I see editor support for VSCode, but is it backed by an LSP or is it VSCode only?

Wow, this is very interesting. In Mexico, it's used to insult another person. I always thought it was a Mexico-thing.

Lapce Editor 0.3 3 years ago

The jsx stuff looks fancy, but it completely breaks Rust Analyzer

That's not inherent of macros, but how the parser of the macro body is written. Ideally, the jsx code would be transformed to correct Rust code even on broken input, then Rust Analyzer would map the tokens from the expansion to the tokens from the source code to have context for IDE features (rename, autocompletion, go to definition, etc).

I wrote some stuff [1]. It's a bit all over the place since I'm very bad at writing. Here's also a thread with Rust Analyzer's developers [2]

[1] https://blog.emi0x7d1.dev/improving-autocompletion-in-your-r... [2]: https://www.reddit.com/r/rust/comments/16x2kzi/improving_aut...

Have you tried DNS over HTTPS?

If you haven't and you're on Firefox, go to `about:preferences#privacy`, then scroll to the bottom and you should be able to activate it there.

I built BoringSSL WITH optimizations and it took ~1m40s on a Ryzen 5600x. Maybe the OP has a slower CPU but still 5 mins is a lot.

Users shouldn't be met with compile times that long on a "Hello, world" program.

For comparison, a "Hello, world" server in Rust with Axum and Rustls takes 25s and 16s in release and debug mode respectively.