Damus
Luke Childs ☂️ profile picture
Luke Childs ☂️
@lukechilds

Cofounder & CTO Umbrel.

Previously BitcoinJS, Browserify.

Relays (18)
  • ws://umbrel:4848 – read & write
  • wss://nos.lol – read & write
  • wss://nostr.v0l.io – read & write
  • wss://freespeech.casa – read & write
  • wss://nostr.fmt.wiz.biz – read & write
  • wss://nostr-relay.wlvs.space – read & write
  • wss://relay.snort.social – read & write
  • wss://eden.nostr.land – read & write
  • wss://nostr.zebedee.cloud – read & write
  • wss://nostr.lu.ke – read & write
  • wss://relay.damus.io – read & write
  • wss://nostr.oxtr.dev – read & write
  • wss://relay.nostr.bg – read & write
  • wss://nostr.orangepill.dev – read & write
  • wss://relay.current.fyi – read & write
  • wss://nostr.wow – read & write
  • wss://nostr.roundrockbitcoiners.com – read & write
  • ws://umbrel.tail01a821.ts.net:4848 – read & write

Recent Notes

Cameri🐦‍🔥 · 63w
Haha love that. What was the tipping point, killer feature or pain point that made jump ship to fish?
TextNow十𝟭𝟳𝟬𝟳𝟯𝟮𝟵𝟴𝟱𝟳𝟱 · 63w
For those looking to reach me personally for all things related Bitcoin or Nostr , you can connect with me on (simpleX chat app) using my invitation link below 👇👉 https://simplex.chat/contact#/?v=2-7&smp=smp%3A%2F%2F0YuTwO05YJWS8rkjn9eLJDjQhFKvIYd8d4xG8X1blIU%3D%40smp8.simplex.im%2Folen9O3RD...
Luke Childs ☂️ · 81w
musig leaks nothing about the contract on chain and is more block space efficient. Using the script path for unilateral exit leaks the fact you were most likely using a Spillman channel to any observ...
Luke Childs ☂️ profile picture
You could also do musig for payments and mint unilateral exit and only script path for user unilateral exit. Maybe that’s the best of both worlds.

Simple stateless backups and minimal onchain footprint in the optimistic best case. Worse privacy and more onchain use on the rare event that the mint disappears.
❤️2
Sovereign Origin 🥕 · 81w
Hey you are alive on nostr! Thanks. Maybe more than a seed is not obvious for proper backup, but I could be too old school. Its a spending wallet but people may still risk a salary worth which for my...
Luke Childs ☂️ profile picture
musig leaks nothing about the contract on chain and is more block space efficient.

Using the script path for unilateral exit leaks the fact you were most likely using a Spillman channel to any observers. It’s also much larger.

Maybe simpler backups are more important to people than privacy and block space. And if that’s the case my proposal also works with the script path variant.
1❤️1
Luke Childs ☂️ · 81w
You could also do musig for payments and mint unilateral exit and only script path for user unilateral exit. Maybe that’s the best of both worlds. Simple stateless backups and minimal onchain footprint in the optimistic best case. Worse privacy and more onchain use on the rare event that the mint...
Sovereign Origin 🥕 · 81w
Anybody knows how a backup would work in the ecash/spillman channel based approach to a self-custody LN payment wallet? Seed & descriptor? Channel state? Anything else? #Asknostr #bitcoin PS I note ...
Luke Childs ☂️ profile picture
There are a few different ways to do Spillman channels, the way I propose requires holding onto a presigned transaction for unilateral exit. This is only needed if the mint is uncooperative. This is non deterministic so you need to store it alongside your seed. However unlike lightning if you lose it the mint can’t cheat you out of any money by settling a bad state.

You can make the users unilateral exit path deterministic by implementing it as a timelocked script path instead of a timelocked presigned transaction. Then you only need your seed and nothing else to unilaterally exit.

However I like the presigned tx model better since it results in everything being a musig spend.
2❤️1
Sovereign Origin 🥕 · 81w
Hey you are alive on nostr! Thanks. Maybe more than a seed is not obvious for proper backup, but I could be too old school. Its a spending wallet but people may still risk a salary worth which for my personal taste is nothing to skoff at. Probably good solutions can exist by wallet implementations...
Nostragon · 123w
🔥🔥🔥 🐉
bumi · 150w
ah makes sense, thanks. What is your take on it? Is it the AI model good enough on this already?
Luke Childs ☂️ profile picture
GPT-4 is very capable, the resulting bash scripts work well about 95% of the time. However there are often subtle bugs or edge cases that aren’t handled unless you explicitly tell it to look out for them.

After a few iterations of adding extra details to handle edge cases you can get something very high quality.

Results are much worse on open source LLMs but they’re catching up quickly.
bumi · 150w
ah makes sense, thanks. What is your take on it? Is it the AI model good enough on this already?
Luke Childs ☂️ profile picture
humanscript is an inferpreter. A script interpreter that infers commands from natural language using AI. There is no predefined syntax, humanscripts just say what they want to happen, and when you execute them, it happens.

https://github.com/lukechilds/humanscript

This is a humanscript called tidy-screenshots. It takes an unorganised directory of screenshots and organises them into directories based on the month the screenshot was taken.

It can be executed like any other script.



The LLM inferpreted the humanscript into the following bash script at runtime.



The code is streamed out of the LLM during inferpretation and executed line by line so execution is not blocked waiting for inference to finish. The generated code is cached on first run and will be executed instantly on subsequent runs, bypassing the need for reinferpretation.




The humanscript inferpreter supports a wide range of LLM backends. It can be used with cloud hosted LLMs like OpenAI's GTP-3.5 and GPT-4 or locally running open source LLMs like Llama 2.

You can run humanscript in a sandboxed Docker environment with a single command if you want to have a play.

https://github.com/lukechilds/humanscript#install-humanscript
97❤️6🤙6🖤1
serapath【ツ】☮ · 150w
interesting. what if the script did something malicious? ...like deciding to store and replace your home directory with the files? how can this be secure against side effects from sloppily written instructions?
Max · 150w
I knew it was nonsense to #learntocode
nothenry · 150w
Amazing
bumi · 150w
that's pretty cool! nice usage. does it contain same guards that the script does not mess something up? e.g. works only in a folder and such?
Laser · 157w
Ya'll need to study https://semver.org/; never release new features in a patch release. Should have cut 0.6.0, instead.
Luke Childs ☂️ profile picture
It’s actually valid semver during 0.x.x releases. https://semver.org/#spec-item-4

Technically according to spec you can do anything during 0.x.x releases but it’s common convention to push the meanings across one place so:

- 0.5.3 > 0.6.0 = major bump
- 0.5.3 > 0.5.4 = minor bump
- No way to define a patch bump

This is the convention we’ve been following since initial launch of 0.1.0.
❤️1
Laser · 156w
That's not how pre 1.0.0 releases work. Both "major" and minor ride the y in x.y.z and patch releases are always reserved for bug fixes of existing functionaliy. "Patch version Z (x.y.Z | x > 0) MUST be incremented if only backward compatible bug fixes are introduced. A bug fix is defined as an in...