Live data from Hacker News

Building Bauble

ianthehenry.com

21–27 of 27 posts

Re: Building Bauble

#23

Fuck Apple, I'm only getting “TypeError: undefined is not an object (evaluating 'renderer.recompileShader')” in Safari. It works in Firefox.

huh, that's no good. it works fine for me on safari 18.1. would you share the line that it's raising on? no other errors before that one?

Re: Building Bauble

#24
Congrats, Ian, on the amazing side project and the thorough and thoroughly enjoyable writeup.

You really got me with the tests for the original Bauble, I had a good laugh after that paragraph!

I’m now also somewhat inclined to have a deeper look into Janet, it looks both useful and interesting.

Re: Building Bauble

#25

The die cast bronze sculptures are very cool. Where does one go to get them cast from 3D models? Sounds very expensive to do as a one-off (the author is a developer at Jane Street, which probably explains why they could afford it).

I ordered them from sculpteo — the only service I could find that would do it. Very happy with everything I’ve gotten from them. It is very very expensive if you want to make anything large, but for small jewelry-scale stuff it’s not too crazy. The balloon is seven custom parts so that was pricey ($250 total?), but the other two models were around $50 each.

That's surprisingly cheap for a one-off. Thanks, I will have to check them out.

Re: Building Bauble

#26

Fuck Apple, I'm only getting “TypeError: undefined is not an object (evaluating 'renderer.recompileShader')” in Safari. It works in Firefox.

huh, that's no good. it works fine for me on safari 18.1. would you share the line that it's raising on? no other errors before that one?

No usable line, only a URL: https://ianthehenry.com/posts/bauble/building-bauble/bauble....

After that, is shows line number 1 and a column number in the millions, so seems to be megabytes of code in that JS file.

For each code box, I get two errors with the same URL, just different column numbers:

- TypeError: undefined is not an object (evaluating 'renderer.draw')

- Unhandled Promise Rejection: Error: failed to create webgl2 context

This is Safari 18.2 on Ventura (Intel), which seems to be a buggy release all around. Even the scroll bars are broken.

Re: Building Bauble

#27

Earlier quoted context omitted.

huh, that's no good. it works fine for me on safari 18.1. would you share the line that it's raising on? no other errors before that one?

No usable line, only a URL: https://ianthehenry.com/posts/bauble/building-bauble/bauble.... After that, is shows line number 1 and a column number in the millions, so seems to be megabytes of code in that JS file. For each code box, I get two errors with the same URL, just different column numbers: - TypeError: undefined is not an object (evaluating 'renderer.draw') - Unhandled Promise Rejection: Error: failed to cre…

okay, that's helpful. the "undefined is not an object" bit is definitely a function of the "failed to create webgl2 context" error -- it tries to reference it unconditionally. no idea why it can't create the graphics context in the first place, though (and not much to do without one)
Post reply on HN