HNHacker News
TopNewBestAskShowJobs

emi2k01

138 karma · joined February 5, 2021

github.com/emi2k01
submissionscomments
emi2k01··on Bird brains (2023)
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 :)

emi2k01··on Building a new Flash
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

emi2k01··on Mercury 2: Fast reasoning LLM powered by diffusion
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?

emi2k01··on Bypassing the ban on 3rd party agent harnesses (TOS-compliant)
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

emi2k01··on SubJS: JavaScript Runtime for Agents. Let your agent do what it does best
I've been developing SubJS, a JS Runtime tool for agents, for the past couple days. I believe that something like this is the way to give more capabilities to AI agents instead of MCP servers or shelling out.

Let me know your thoughts :)

emi2k01··on Microsoft disables File Explorer preview for downloaded files by default
Maybe this is about doing GET requests to render images in documents or something similar? Not just arbitrarily requesting every link in a file
emi2k01··on 'Attention is all you need' coauthor says he's 'sick' of transformers
The fourth one is Finding Nemo
emi2k01··on Notes on EndeavourOS
I think you can also hold the key pressed while it's powering on
emi2k01··on Write OpenAPI with TypeSpec
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?

emi2k01··on Lcl.host: fast, easy HTTPS in your local dev environment
Sorry, maybe it's too early in the day but I don't get what the lesson was. Could you explain?
emi2k01··on Intel 8080 emulator. 19th IOCCC. Best of Show
I believe they are father and son. The `Books` section on the Toledo family website links to books written by Oscar Toledo G.
emi2k01··on Show HN: A talking board game in a 2k program and 128 bytes of RAM
I don't see it either on a desktop pc.

I see an `iframe` with this url [1] but the `<body>` of the document is empty. It's very likely you have to change the protocol to `https` (instead of `http`), otherwise the browser refuses to load the url automatically.

[1]: http://player.vimeo.com/video/68089370

emi2k01··on Show HN: A talking board game in a 2k program and 128 bytes of RAM
https://player.vimeo.com/video/68089370
emi2k01··on A peculiarity of the X Window System: Windows all the way down
It's also the behavior on Linux with X11 (haven't tried Wayland)
emi2k01··on Open-sourcing our progress on Tailwind CSS v4.0
I think they most likely will introduce `@layout`s and then your components can be in a different layout than your app code
emi2k01··on Shave and a Haircut
Wow, this is very interesting. In Mexico, it's used to insult another person. I always thought it was a Mexico-thing.
emi2k01··on Utility classes aren't the same as inline styles (2021)
The guys at OpenAI decided to use tailwind to style the boxes in ChatGPT
emi2k01··on A small Rust binary indeed (2022)
Could it be that the gnu toolchain embeds the debug symbols in the binary and the msvc toolchain puts them on a separate pdb file?
emi2k01··on JSR first impressions: a JavaScript package manager by the Deno team (2023)
https://github.com/denoland/deno_graph/blob/main/src/fast_ch...

You can search for "no_zap" under the `denoland` org if you want to have a bit more context.

I believe it's a form of type checking where, simplifying, things like function bodies are removed and type checking is only done across top-level items.

emi2k01··on Sane C++ Libraries
Isn't that an arena allocator at that point?
emi2k01··on Is it insider trading if I bought Boeing puts while inside the wrecked airplane?
You're right, that's the original source of the question

https://www.reddit.com/r/wallstreetbets/comments/1935frs/is_...

emi2k01··on Starship.rs: minimal, fast prompt for any shell
"it's just..." is kinda demeaning.

People want something easy to use with good defaults. If that wasn't the case, shells wouldn't have a hundreds of plugins dedicated to customizing the prompt.

emi2k01··on Making Rust binaries smaller by default
Splitting the debug info from the executable is supported on the 3-big-OSes but only enabled by default on Windows (and maybe macOS?)
emi2k01··on Modder re-creates Game Boy Advance games using the audio from crash sounds
Wow! I just realized I trust HN comments way too much because I had to read the whole comment to realize it's spam.
emi2k01··on Shadcn: Components that you can copy-paste into your apps
There's this [1] which gets close

[1]: https://ui.shadcn.com/docs/components/dropdown-menu#checkbox...

emi2k01··on Lapce Editor 0.3
> 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...

emi2k01··on Placemark is going open source and shutting down
That's interesting. I think I read about this website redirecting HN users before.

I can't trigger that redirect on Firefox or Chromium browsers, though. It seems HN puts a `noreferrer` on the link.

emi2k01··on Cosmopolitan Third Edition
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.

emi2k01··on Google's plan to stop Apple from getting serious about search
Wow, it seems most websites that block it, block it because they data is used for training AI
emi2k01··on An aborted experiment with server Swift
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.

Page 1 of 3Next →