HackerTrans
TopNewTrendsCommentsPastAskShowJobs

azdle

no profile record

Submissions

Show HN: Bodge.app – μFaaS for hacked-together personal tools and small projects

bodge.app
8 points·by azdle·hace 7 meses·5 comments

Show HN: Bodge.app – μFaaS for hacked-together personal tools and small projects

bodge.app
4 points·by azdle·hace 8 meses·0 comments

comments

azdle
·hace 19 días·discuss
I was just at a US airport and there were a bunch of signs saying you can opt out of having your face scanned at security, you just have to tell them.

Though, if you have a passport or driver's license, its not like they don't already have your face...
azdle
·hace 6 meses·discuss
It's actually already using wasmtime as one layer in its sandbox. I just think that trying to support other languages, especially in a fully language agnostic way, would make things like documentation far more complex than I could handle and make the service complex enough that the only people who could understand it would be the type of person who don't really need a service like this in the first place.
azdle
·hace 6 meses·discuss
Thanks!

> Did you choose Lua because you love using it, or for some other pragmatic reasons?

A bit of both, though I'm literally drinking out of a coffee mug with the Lua logo on it that was given to me after playing a big part in making Lua a thing at a prevoius job. That might speak to my love of Lua.

> Do you think a service like yours with support for many variety of languages a good idea?

From a technical perspective, it would be relatively easy to add support for other languages, the biggest problem would be UI and documentation complexity. Each added language would either require a completely seperate set of documentaion or would require the docs to describe everything one layer of abstraction removed from the code people would actually be writing. Both of which would be less than ideal for my goal of extreme simplicity.

I think it can be a good idea, but to support something like that _well_ would require a pretty large team of people.

I do plan to support some level of 'other languages' for libraries, at a minimum some subset of native Lua libraries (ie. libs written in C). That means it would be possible to find a way to use pretty much any other language interpreter. However, I'm not sure that will ever be a top level feature, there'll probably always be some level of Lua glue code holding everything together.
azdle
·hace 6 meses·discuss
Great to hear! And thanks for saying so. I've definitely tried to make it as simple and straight forward as possible, but I really didn't know if it would be simple and straight forward to anyone but me.
azdle
·hace 6 meses·discuss
It doesn't say because there's no special support for any auth protocols. Long-term I want to have out-of-the-box support for things like OAuth (for user-facing auth) or mutual TLS (for device/service auth). _Technically_ there's currently support for the cryptographic primitives required to do JWT (I added that because I wanted to support WebPush w/ payloads for myself), but those aren't documented because I intend to remove the current slightly-hacky custom APIs and replace them with some off the shelf libraries, but I'm still figuring out user-added libraries (and on top of that I'll also need to figure out support for native libraries).

Are there any auth protocols / flows you think would be important to support?
azdle
·hace 6 meses·discuss
Thanks!
azdle
·hace 6 meses·discuss
I know the homepage needs way more answer to "WTH is it?", I just don't really enjoy doing the 'marketing' side of things. I hadn't really considered just throwing something informal up there, but I guess I don't really know _why_, so, thanks for the suggestion.
azdle
·hace 6 meses·discuss
My meta side project for building other side projects: https://bodge.app/

I've always had a bunch of small side projects that I want to do that aren't worth the overhead required to actually put them together & keep them maintained. So, I built a small Lua-based FaaS platform to make each individual project less work whenever inspiration strikes. So far I've built:

* A current-time API for some hacked-together IoT devices: https://time.bodge.link/

* A script for my wife that checks her commute time and emails her before it's about to get bad.

* An email notification to myself if my Matrix server goes down.

* A 'randomly choose a thing' page. https://rand.bodge.link/choose?head&tails

* A work phone number voicemail, the script converts the webhook into an email to me.

* An email notification any time a new version is released for a few semi-public self-hosted services.

* Scrapers for a few companies' job listings that notify me whenever a new job is posted matching some filters.

* A WebPush server that I eventually want to use for custom notifications to myself.

* An SVG hit counter: https://hits.bodge.link/

Since I'm already maintaining it for myself, I figured I might as well open it up for others. It's free to play with, at least for now.
azdle
·hace 7 meses·discuss
Thanks!

Coincidentally, I'm currently working on supporting luarocks packages. (Well, some of them, I want to at least support the ones that are pure lua or use the "builtin" build system (which means they don't have any native dependencies).)
azdle
·hace 7 meses·discuss
Thanks!

Sadly no, it shutdown in 2017. If you try to login, it doesn't actually go anywhere.

Best I can tell the domain was picked up by some SEO scam. I'm guessing the way it works is they republish all the old content to keep the domain's reputation and then added a bunch of links to their sites to try to boost those site's reputation.
azdle
·hace 8 meses·discuss
I've found the rust core team to be very open to feedback. And maybe I've just been using Rust for too long, but the syntax feels quite reasonable to me.

Just for my own curiosity, do you have an examples of suggestions for how to improve the syntax that have been brought up and dismissed by the language maintainers?
azdle
·hace 8 meses·discuss
Waking up the deck works for me with my xbox controller connected via bluetooth. Are you using those controllers via BT or USB?

Edit: Now that I think about it, this might have been a feature added to the OLED model.
azdle
·hace 9 meses·discuss
I think they probably mean standard through-holes. It's the old trick where you stagger the holes just enough that the flex of the pinheaders still let's them be inserted, but have just enough friction to stay in place while you're flashing or whatever.
azdle
·hace 9 meses·discuss
Oh, interesting! Thanks for that link, I hadn't managed to come across that when I was looking for existing alternatives.

I'm not sure I would have actually started building this if I knew that was an option. Hopefully their existence is telling me "there's a market, go for it" and not "there's already a better alternative, don't do it", heh. Though their pricing tiers really tells me I need to optimize my sandboxing. I don't think I can match those request limits at those prices just from the CPU cost of my per-request sandboxing overhead.
azdle
·hace 9 meses·discuss
I'm working on https://bodge.app/

I'm calling it a "Micro Functions as a Service" platform.

What it really is, is hosted Lua scripts that run in response to incoming HTTP requests to static URLs.

It's basically my version of the old https://webscript.io/ (that site is mostly the same as it was as long as you ignore the added SEO spam on the homepage). I used to subscribe to webscript and I'd been constantly missing it since it went away years ago, so I made my own.

I mostly just made this for myself, but since I'd put so much effort into it, I figure I'm going to try to put it out there and see if anyone wants to pay me to use it. Turns out there's a _lot_ of work that goes into abuse prevention when you're code from literally anyone on the internet, so it's not ready to actually take signups yet. But, there is a demo on the homepage.
azdle
·hace 10 meses·discuss
It's not even claiming that. It's only claiming that people who responded to the survey feel more productive. (Unless you assume that people taking this survey have an objective measure for their own productivity.)

> Significant productivity gains: Over 80% of respondents indicate that AI has enhanced their productivity.

_Feeling_ more productive is inline with the one proper study I've seen.
azdle
·hace 10 meses·discuss
Another option that wouldn't contribute to more centralization might be neocities. They give you 3 TB for $5/month. That seems to be _the_ limit though. The dude runs his own CDN just for neocities, so it's not just reselling cloudflare or something.

P.S. Thank you for ProtonDB, it has been so incredibly helpful for getting some older games running.
azdle
·hace 2 años·discuss
Location: Minneapolis, MN, USA

Remote: Yes

Willing to relocate: No, probably not.

Technologies: Rust, Lua, C, Networking, CoAP, HTTP, TLS, Sandboxing, Docker, and a whole lot more

Résumé/CV: https://psbarrett.com/cv

Email: [email protected]

Just to be upfront, I'm not looking for just anything. I left my job about a month ago and usually like to take ~3 months off between each. I'm just starting to look now. But, I'd be willing to hop into something that sounds fun sooner than that.

I seem to have fallen into doing mostly Rust, usually somewhat in the vein of lower-level network programming. I've been doing Rust development since Rust v0.6 (2013) & I've got 12 years of experience as a software dev overall. That work has straddled the line between embedded and cloud side with most being embedded linux application development.

The work I've done that I'm most proud of was designing and leading development for Samsung SmartThings' Edge Device Driver Platform which is a system written in Rust, embedded within an existing C application, which runs sandboxed user-written 'Edge Device Drivers' on user-owned IoT hubs.

I've also got experience doing project & product planning, though I'm really looking to do primarily software dev.

Big plusses for me are: Working with Open Source, Working on Tools for Other Developers, Doing Work "For Good"

Other assorted things I want an excuse to learn/get involved with more deeply: Cryptography, C++, WASM, Large Scale Server Side Programming, P2P, Decentralization, rustc (& ecosystem) Dev, Linux Kernel, Mapping, Autonomous Drones, Spaaaaaaaccce, Guix, Scheme/Lisp, Erlang/Elixr