You are viewing archived messages.
Go here to search the history.

Kartik Agaram 2020-10-21 06:34:34

Today's video wraps up implementing the mock-up I shared exactly a month ago.[1]

https://archive.org/details/akkartik-2min-20201020

I'm quite happy with how this is turning out. The environment is visual but dense. I imagine the ability to juggle multiple sandboxes on the right, all sharing a common set of function definitions on the left. Functions still can't be edited, but the mechanisms for editing are in place, and you'll be able to see all sandboxes update as you edit function definitions.

The one major drawback -- that Ivan Reese won't like -- is the extensive use of name-punning to make this work. By construction, function definitions share the same names for their arguments as the ones you chose for their first call. As a result you almost immediately have two xs on the same line that look the same and seem to behave identically, but mean subtly different things.

Main project page: https://github.com/akkartik/mu

[1] https://futureofcoding.slack.com/archives/C5T9GPWFL/p1600645382040000

Chris Maughan 2020-10-22 11:34:23

Looking really nice. The UI geek in me wants to move the text to align with the stack - like this:

Is that something that is hard to do in the terminal?

📷 image.png

Ivan Reese 2020-10-22 15:16:41

I think I prefer it in Kartik's design, where the text is aligned with the spaces between stacks (so you can sort of view it as an input followed by a response).

Chris Maughan 2020-10-22 15:43:27

To my eyes, I like straight lines (I'd move the * down a bit too to align it with the 'x') I can see your point, but if that's the case, I'd actually make the spaces wider; so that the 'in between' is as big as the stack; so it is more obvious

Chris Maughan 2020-10-22 15:43:52

And, I know I'm nit-picking here. Apologies for that.

Kartik Agaram 2020-10-22 15:44:49

😄 Chris, that was actually how my first demo looked. I might go back to it or something.

Chris Maughan 2020-10-22 10:45:40

In lieu of an update video, here's a super-wide screenshot of my Live Coding tool; showing the audio components.

I've spent the last few weeks fixing the build system to use vcpkg (this is a massive change, but a massive improvement too; it should really reduce the time I waste making builds work. It also makes my CMake files smaller and simpler). I estimate I spend 25% of my time fixing cross platform builds/CI. etc. This has to stop; I have lost weeks to figuring out all these issues. Discovering that vcpkg solves most of my problems was a revelation; it is laughably easy to build complex libraries and link them into your projects.

I've also been updating to the ImGui docking branch. This is going to be great for live coding; giving you more surface area to put your various windows and tools. This screenshot is an example across my 3 monitors; I will shortly have the visual pieces up and running too.

📷 image.png