HNHacker News
TopNewBestAskShowJobs

emnudge

67 karma · joined November 3, 2020

submissionscomments
emnudge··on Run Ruby on Rails in the browser using WebAssembly
Outside of making something - it’s very useful for setting up a quick project.

Stackblitz did this with Node (aka their Web Containers).

You could make a new project very quickly and prototype an idea. When finished, download it off the browser and deploy it.

emnudge··on Using eSIMs with devices that only have a physical SIM slot via a 9eSIM SIM car
It’s to connect phone numbers to identities. Getting a physical sim in China involves going in person to a store where they keep your passport and a mugshot (you hold a paper with your number on it) in a database.

There’s no free WiFi without requiring a phone number. It allows the government to connect internet users to real identities.

emnudge··on Comedy Theory (2022)
This is a very interesting way of putting it.

The way I’ve explained it is “unserious surprise” which also fits with this.

https://emnudge.dev/blog/a-grand-theory-of-humor/

emnudge··on Windows 10 will start nagging you to switch from local account to MS Account
Having things "just work" can be really appealing. I once had an issue where my Linux distro of choice was having a tough time with my monitor orientation. I got quite a few linux gurus involved and none could figure it out. I'm sure it eventually would have worked, but that's not an experience I'm particularly fond of.

And then software that does exist will often have bugs for Linux that are overlooked due to how small the market is.

emnudge··on Show HN: Term Typer – Learn a language by typing
German would be helpful for me
emnudge··on Logpipe: View and search your messy development logs with syntax highlighting
Hey, HN!

Whenever I'm onboarded onto new codebases, I have a tough time finding my own debug logs when there are hundreds of logs from different systems all cluttering the terminal. It's hard to know where one log ends and another begins. It's just white text on a black background.

I started this a couple days ago, but it's already been useful for my work. After building it, I found out projects like this had already existed. There's a section on bottom of the readme comparing them.

emnudge··on The Reddits
I'm pretty sure he knows what Doordash is. I assume the thing that doesn't exist is ordering via a phone line, not an internet-based interface.

i.e. texting or calling a number in a specific way based on some standard tons of fast food places provide to make fast food orders without human interaction.

emnudge··on Netlify just sent me a $104k bill for a simple static site
My previous understanding was that service would be stopped once you hit past the free tier.

Upon review, it does not look like this is the case. I have several very low traffic projects on which would have never been anywhere close to the free limit. However, if I get involved in a random spam attack, it seems I could be on the hook for several thousand dollars.

This is incredibly dangerous. Netlify is often used as a beginner friendly free tier for static hosting. Not as something that is cheap, but as something that is free. This is just an overall dangerous position to put people in.

emnudge··on WASM Instructions
If we’re doing self promo, I’ve got something similar but significantly smaller in scope:

https://github.com/EmNudge/watlings

emnudge··on WebAssembly Playground
I sunk a decent amount of time into WebAssembly over the past few months (I am the author of "watlings").

From my understanding, there are 3 answers here.

1. Most spaces do not need WASM. You don't necessarily see speed improvements since usually your JS and WASM (in the browser) are compiled into the same thing.

2. WASM is very good at bringing tools to new spaces. The biggest limitation here is in both tooling and education. It is not trivial to compile something like FFMPEG for the browser. Improvements to the WASI standard are helping here.

3. WASM is starting to see use in different spaces. For example, as a containerization format for efficient sandboxing.

emnudge··on Learn WebAssembly by writing small programs
That looks super useful! I wish I knew about this when first learning wat. This would make a great reference!
emnudge··on Learn WebAssembly by writing small programs
I really like Exercism! Unfortunately their exercise model is considerably more free-form where it teaches you considerably less and in much larger chunks. I think this is a great model for certain contexts, but the format I have in the repo is more similar to "rustlings" and "ziglings" where you're taught syntax and features alongside the code examples.

I don't know that their Wasm module is necessarily "broken", so I'm unsure whether my contributions would be welcome.

emnudge··on Learn WebAssembly by writing small programs
Author here!

My initial motivation to learn WASM (as someone from a primarily web background) was that I had a pretty poor understanding of WASM in general and so I had a lot of difficulty working with WASM builds in just about any capacity other than a heavy JS wrapper.

There are aspects to how WASM works that are quite different from other kinds of assembly formats that make learning the basics pretty important. e.g. how memory is requested, provided, grown. How functions are received and exported. Capabilities of tables.

A lot of this might be abstracted by massive wrappers, but you're losing a lot in perf and debugability when using them.

emnudge··on Show HN: Exatorrent – Self-hostable Torrent client written in Go
While I've yet to do it, I've heard of many people using it for peer to peer file transfer. I tend to transfer files between devices pretty often and have never found a perfect solution. I'd like to do the same soon enough once I figure out exactly how to do it.
emnudge··on Show HN: Unicode Lookup – A fast, simple, and quick Unicode lookup tool
Actually, it supports regex!

I detail this a bit more in the readme, but it supports general JS notation for certain things.

Surround your search with /these/ to perform a regex match on the character. To match on the name instead you can use the advanced search tab which is accessed via the button on the top left.

I may also add glob notation though, since that sounds like a pretty valid use case.

emnudge··on Show HN: Unicode Lookup – A fast, simple, and quick Unicode lookup tool
Heyo!

I've only recently dug into the big world of Unicode, but when doing so, I found the tools available sorely lacking. Most were server-side or needed to be downloaded and had confusing interfaces and buggy behavior.

The solution was to build my own. Turns out it's super easy to just download a 1.9MB text file and parse it using JavaScript. The entire application is client-side, so requests are quick and technically work offline.

Right click a symbol to copy it. Left click to open more information about it. Simple Search is the default. Click the button in the upper right to do some more sophisticated filtering with "Advanced Search".

I'll probably make it a PWA once I figure out how to properly do cache busting.

On a different note, I don't know many people who are interested in Unicode lookup tools and/or those who use such tools regularly. I've added in features that I personally found useful, but do let me know if there are killer features you'd like for it to have.

source at https://github.com/EmNudge/unicode-lookup

emnudge··on Hackers hide web skimmer inside a website's CSS
Quick correction: it is not the same as eval. It does not have access to the current scope. It is technically a fair bit safer when trying to run code from a string.

It may have access to the window object, however, so if something important is there, if can probably mess with that.

emnudge··on Ox is a fast text editor, written in Rust, that runs in your terminal
A lot of unnecessary hate here. I think many are missing the use case. You use your own favorite and highly customizable text editor? Cool! This might not be for you.

I think this would be a fantastic text editor for anyone new to the terminal. Provides some syntax highlighting, a nice background, line numbers, tabs, and mostly familiar controls without a ton of setup.

I think there are still quite a few improvements I’d love for it to have, but this might be the thing I recommend to anyone first starting out in the terminal who wants a bit of a nicer editor than nano.