Пікірлер
@simonrazer8303
@simonrazer8303 6 күн бұрын
dayum never thought Id be overwhelmed by a splitBy function
@TS-or4lz
@TS-or4lz 2 ай бұрын
Great tool thank you very much for sharing this. I was wondering if someone had build something like this after having a very long chain of timers that triggered each other and completly losing sight what actually triggers what :D
@KennanHerbert-v4u
@KennanHerbert-v4u 2 ай бұрын
Davis Jennifer Robinson Anthony Smith Charles
@RedHair651
@RedHair651 5 ай бұрын
How do you code so fast?
@davidzwitser
@davidzwitser 5 ай бұрын
Preparation and editing 😁
@yarrowification
@yarrowification 6 ай бұрын
Great video!
@yarrowification
@yarrowification 6 ай бұрын
I love the way you have the editor set up and your keyboard noises
@davidzwitser
@davidzwitser 6 ай бұрын
Thankyou yarrowification
@shartywaffles
@shartywaffles 9 ай бұрын
Even your 50 followers are just there out of pity, not interest. You're less of a KZbinr and more of a cautionary tale-a nobody masquerading as a next big thing in a world that's already scrolled past you.
@androth1502
@androth1502 9 ай бұрын
a language for masochists.
@replikvltyoutube3727
@replikvltyoutube3727 10 ай бұрын
Yoo this is a cool stream. Thanks for sharing this with us.
@replikvltyoutube3727
@replikvltyoutube3727 10 ай бұрын
Hey, BQN seems a nice language, I think it could be worth while as alternative to javascript, to send slim code with a lot of features in small character package. I guess creating games works aswell, I read that quite a few companies used APL in desktop application development. I want to say I was a bit surprised this language still has not 1.0 release, it's could be a bit a turnoff.
@davidhand9721
@davidhand9721 10 ай бұрын
My keyboard doesn't have the characters needed to program in BQN, apparently... Is this a joke?
@davidzwitser
@davidzwitser 10 ай бұрын
Haha no it’s not. You can download/ install them here: mlochbaum.github.io/BQN/editors/index.html. Or use an online editor: bqn.funmaker.moe/ where you can click on them or use \ to insert them :)
@davidhand9721
@davidhand9721 10 ай бұрын
@@davidzwitser Okay, I understand that there are tools to make it possible, but the fact remains: why?! Why would you design a language to look like hieroglyphics? Why make someone learn that in order to just understand wth is going on? What's wrong with the self-explanatory alphanumerics that we have all known since first grade? Who is this supposed to be good for?! Code golfers? Masochists? The pharaoh? 80s coders with only 64k for their program? People with a broken mouse that can't scroll the screen? Coders whose attention spans have been destroyed by TikTok? Black hats and IP hoarders trying to obfuscate their code deliberately? Who?! Please tell me why!!
@davidzwitser
@davidzwitser 10 ай бұрын
@@davidhand9721 Haha, I understand your confusion. It does seem confusing at first. Actually the latest episode of the array cast podcast talks about this a lot! I recommend that if you want to understand : www.arraycast.com/episodes/episode71-primitives (also listenable on other platforms). As for my own feelings about it; having symbols to represent the most common and powerful algorithms we use in programming, and making a language which makes those very composable is super powerful! Because the algorithms have their own graphic, which often is a visual representation for the algorithm, you can keep them in your head and play around with them much more easily. A big idea of languages like this is "notation as a tool of thought": dl.acm.org/doi/pdf/10.1145/358896.358899. You can think of these languages as executable extended mathematical notation. I myself notice that I can express complex ideas super quickly and expressively in BQN and then run it!! In the podcast they explain all of this way better. And any new script from another language seem super strange and foreign at first, but once you start to learn to read it, that fades away :).
@davidhand9721
@davidhand9721 10 ай бұрын
@@davidzwitser I don't doubt any of that, but "any new script from another language seems super strange" has degrees. I learned BASIC as a young lad and C++ as a teen, and I've never looked at modern languages like java, typescript, python, or rust before I learned them and had no clue what was going on the way I do looking at BQN. There's another array language floating around that gives you the option to spell out the symbols as keywords, and that sounds like a decent compromise - though I suppose it hogs the namespace. I did learn a sort of visual "language" that a game used to program robots, and I was glad for the symbols then - because all the documentation and instructions were in Japanese, and I don't know 15 words of it. There was zero chance I was going to type out the keywords, but I got pretty good at arranging the symbols to get the robots to win fights. So I can kind of relate to what you're saying, a little bit. Honestly, I don't have a use case for any of this. I don't even _really_ know what array programming is. I use filter, map, and reduce all the time, but I can't really picture forcing a whole application into that, if that's even related. I'm not mocking it, it's just highly conducive to humor, and that's all I've got for it. If it suits your needs, that's great. Carry on.
@douglasmennella4525
@douglasmennella4525 11 ай бұрын
FWIW, emacs has three varieties of transpose, i.e. swap. Lines, words and characters.
@davidzwitser
@davidzwitser 11 ай бұрын
Aah amazing! What does it do when you have a selection? Flip the selection, move the selection or deselect and then the normal behaviour?
@douglasmennella4525
@douglasmennella4525 11 ай бұрын
@@davidzwitser I believe it’s all relative to where your cursor is (called the “point”) and doesn’t involve the selection. For some of these commands (I don’t remember if swap does this) the selection stretches or shrinks according to the change of the text as a side effect. I’ve never needed this.
@jasmijnvanderWeide
@jasmijnvanderWeide 11 ай бұрын
Lekker bezig David Ik snap er helaas niets van, maar ja dit is ook niet mijn expertise. Leuk om te zien. Wat wordt of is het uiteindelijk geworden?
@davidzwitser
@davidzwitser 11 ай бұрын
Hey Jasmijn, lief dat je reageert 😁. Het wordt een live coding tool, dus live programmeren en visuals genereren als een soort performance!
@stupid4President
@stupid4President Жыл бұрын
Thank you for doing this. As far as I know these videos are unique. After seeing BQN/APL videos I was also wondering how a ‘real’ program looks like. There are a lot of AoC videos but almost none about how to setup an application. The only thing I was thinking about after seeing your videos; BQN is a language of ‘scribbles’ but your code doesn’t use them much (20%?). I understand where this is coming from but it is a little bit weird sight almost as if this is not BQN.
@davidzwitser
@davidzwitser Жыл бұрын
Thank you! Yea there sadly aren't a lot of videos with these languages now, especially for bigger applications like you said. I hope my videos will inspire more people to start making them :). And I understand your point with the scribbles. In this case that is probably because I my examples ware "unique object heavy" and the games themselves aren't that complicated thus there is not much "pure logic" to describe which you would normally use the symbols for (because they're amazing for that). It's also the way I chose to structure it which makes it more verbose. But I was for example also working on a particle system, and there you'd see a lot mores symbols because it is more pure logic and less unique things that need to be ordered and able to communicate with each other. :)
@canrachmakeit
@canrachmakeit Жыл бұрын
You are so helpful to me. Thank you for creating this. I’ve been tryna wrap my head around this very concept!
@davidzwitser
@davidzwitser Жыл бұрын
Awesome to hear!
@stupid4President
@stupid4President Жыл бұрын
Can you do a video about setting up a development environment for BQN? I see that you are using ms Code here but how do you get the syntax highlighting and more importantly how do you compile and run it.
@stupid4President
@stupid4President Жыл бұрын
That was interesting, thank you for making this series.
@ryanbethke2101
@ryanbethke2101 Жыл бұрын
Really enjoying this series. Thanks!
@davidzwitser
@davidzwitser Жыл бұрын
Glad to hear it! :)
@babciaprowadzacego3956
@babciaprowadzacego3956 Жыл бұрын
Great! I've recently started learning BQN but couldn't find too much interesting content about it (that actually shows something practical). This is perfect to play around with. Thanks for sharing!
@davidzwitser
@davidzwitser Жыл бұрын
Awesome! That was the goal 😁. I also have longer videos where I have a more realistic pace and explain things a bit more. I also fall into pitfalls and crawl out which might be helpful to see 😁
@mateoffenmuller3824
@mateoffenmuller3824 Жыл бұрын
This is hell language
@davidzwitser
@davidzwitser Жыл бұрын
It is actually a love language ❤
@andrewdunbar828
@andrewdunbar828 Жыл бұрын
I would've drawn the ship relative to its centre being at its 0,0 rather than drawing it relative to one of its vertices then calculating its centre each time you orient it. Which if I'm following is what I think you're doing... but I'm not sure (-:
@davidzwitser
@davidzwitser Жыл бұрын
Good feedback :). I calculate the shape center once at the start and then only use it as the origin point to to rotate around. But your idea would mean that I don't need the origin point anymore and the player would actually draw in the center (because now that I think about it, its probably centred on its first point).
@quantumsoul3495
@quantumsoul3495 Жыл бұрын
Mad man
@Sigurty
@Sigurty Жыл бұрын
kinda sicc
@brian-bed
@brian-bed Жыл бұрын
I wanna see a second video where you complete the code, add score, etc :)
@davidzwitser
@davidzwitser Жыл бұрын
Haha, I’ll do it!
@AlphaMoonbase
@AlphaMoonbase Жыл бұрын
Sweet stuff! Happy to see more creators utilizing the Olib :)
@puck_nz
@puck_nz Жыл бұрын
Top Job ! I'm enjoying having a play with it ... any chance you'd be up for sharing some example COMPs to fast understanding the implementation ?
@davidzwitser
@davidzwitser Жыл бұрын
Thanks! That's great to hear :). And good one, I'll make an examples pack!
@davidzwitser
@davidzwitser Жыл бұрын
olib.amb-service.net/component/state-circuit-snippets Here is the snippet pack! :)
@davidzwitser
@davidzwitser Жыл бұрын
Link to the Toolkit: olib.amb-service.net/component/state-circuits Link to Snippets Pack to get started: olib.amb-service.net/component/state-circuit-snippets
@tekt0
@tekt0 Жыл бұрын
That error with the unknown path is caused by having the parameter style be "OP" (or "COMP", etc). For parameters that can take more than one operator, you can use the style "Str" and then call the `foo.par.Things.evalOPs()` to resolve the string to a list of operators.
@davidzwitser
@davidzwitser Жыл бұрын
Aah, evalOPs is a good one! Thanks for the other suggestion aswel. The reason I didn't make it type Str is because then connecting with dropping one onto the other doesn't work anymore. @Unveil suggested to use a messageBox, which would also make the possibility to not overwrite the old connection. For now I don't think that benefit outweighs the problem though; namely it conflicts with my design goal of keeping it as minimal and native to TouchDesigner as possible. But I am still testing with that.
@FunctionStore
@FunctionStore Жыл бұрын
this is amazing, thanks for sharing!
@FunctionStore
@FunctionStore Жыл бұрын
Have you considered uploading it to the olib as well? Would be a great addition to the utility tools there!
@davidzwitser
@davidzwitser Жыл бұрын
@@FunctionStore Good one! I'm going to look into that
@davidzwitser
@davidzwitser Жыл бұрын
@@FunctionStore It is on there :) olib.amb-service.net/component/state-circuits
@FunctionStore
@FunctionStore Жыл бұрын
@@davidzwitser lovely cheers! ☺️
@unveil7762
@unveil7762 Жыл бұрын
Really well done!!! For the warning you can maybe just use a string parameter… and check for the name of the operator and pass it if they have the state tag. Should work. Than to make the connections you can start to use the messageBox with some buttons, is a function in tdu or tdf, and for the parameters you can start to write some infos so each parameter when the mouse is over give a little description. I think the system is pretty cool… and your networks are really clean and interactives!! ❤🎉😊ps: you know me i am Simo from berlin we meet at the Td meet up
@davidzwitser
@davidzwitser Жыл бұрын
Ooh hey Simo! I didn't know it was you 😁. Thanks for the feedback and compliments! I didn't know ui.messageBox and not even the TDF library, cool! I'll try out your suggestion 😁, it might indeed streamline the connecting of multiple State or Condition COMPs to one. And the infos are written! :)
@unveil7762
@unveil7762 Жыл бұрын
❤ is crazy how you use th network as part of your system. A lot to learn here…