News for hackers. Stuff that matters.
Re:Ask HN: What are you working on (September 2024)? by ianthehenry on Monday September 30, 2024 @12:13AM (#41693492)
So if you've ever loaded Bauble before you might have a stale and no-longer-working version of the tutorial cached in localStorage -- if you just clear out the script and refresh it will restore the default one. If that's still erroring, please let me know!
Re:Ask HN: What are you working on (September 2024)? by DavidPiper on Monday September 30, 2024 @09:23AM (#41696818)
Not OP, but I've aso loaded Bauble before, and clearing localStorage didn't help (Firefox, macOS)...

(torus :z 60 30 | twist :y 0.07 | rotate :pi :y t :z 0.05 | move :x 50 | mirror :r 10 :x | fresnel | slow 0.25)

error: script:16:1: compile error: unknown symbol twist

  in evaluate [lib/evaluator.janet] on line 81, column 7

  in bauble-evaluator/evaluate [lib/init.janet] on line 8, column 12
Re:Ask HN: What are you working on (September 2024)? by ianthehenry on Monday September 30, 2024 @09:30AM (#41696873)
Oh yeah if you clear localStorage like from dev tools, Bauble will re-save the script before refresh, putting it right back where it was. But if you like cmd-a backspace to empty the contents of the script and then refresh it’ll load the default.