HNHacker News
TopNewBestAskShowJobs

gabigrin

297 karma · joined May 30, 2015

submissionscomments
gabigrin··on Show HN: Flyde – an open-source visual programming language
Thanks for reporting! Will check and fix this.
gabigrin··on Show HN: Flyde – an open-source visual programming language
Author here. It's a valid point, I think once they start entering into Discord and want to build a Discord bot, Flyde might come in handy as an educational tool.
gabigrin··on Show HN: Flyde – an open-source visual programming language
Valid point. Node-RED is a successful and popular tool and has a great ecosystem, especially around automation and IoT.

NodeRED is a standalone tool than a "language", and although it's possible, using it to integrate with (and from) existing code is not trivial.

Flyde on the other hand, takes more of a "library" stance. It is agnostic to the code running it and can be easily embedded into other codebases.

gabigrin··on Show HN: Flyde – an open-source visual programming language
Yes! As a big fan of functional-reactive programming, it was important to me that Flyde builds on that foundation, and doesn't fall into more imperative paradigms.

With that being said, Flyde does offer an easy way for node authors to set local and global state, but in a functional way - you can pass your own map as the global state, and do whatever you want with it. It's not properly documented yet, but here's the code - https://github.com/flydelabs/flyde/blob/main/core/src/execut...

gabigrin··on Show HN: Flyde – an open-source visual programming language
Thank you! Flyde's first incarnation was more of a "Visual serverless" platform, something like Zapier, but where you could "see the JSON" and change any piece you want. So the alternatives at that time were NodeRED, n8n and NoFlo.js. I think NodeRED and n8n are both successful products with their own niche, but I was looking for something more flexible. At the time, I was trying to build something very robust, flexible, and generic, that could also be used to build UIs with (see this cumbersome, but working example https://play.flyde.dev/apps/974a3913-1b3b-4a0a-9ca7-4e2a69d0... ) a lower-level visual language that will match the functional-reactive paradigm I was used to code with, and not something too structured. I wanted it to be able to do most things I can do with code, and cater to application-layer developers.

NoFlo.js was the closest to allowing this, but I think that it was too early for the game, and NoFlo took a non-integrative approach. Vladimir Sibirov wrote vastly about that and why he thinks it failed in this great blog post - https://blog.kodigy.com/post/state-of-flow-based-programming... I was happy to see Flyde addressed this

Other purely FBP implementations did not put enough emphasis on the visual aspect, which for me was crucial to nail on a holistic level.

And for your last question - my goal is for it to be used in production systems, yes. I plan to release a Flyde-based visual API builder soon - https://www.trigg.dev as a more specific use-case, and hope that the fact you can download the Flyde flows and run them wherever you want will help potential users overcome the fear of using a low-code tool.

gabigrin··on Show HN: Flyde – an open-source visual programming language
100%! Cherry-picking what makes sense to "elevate" to the visual sphere and having it co-exist with traditional coding is the only way I believe visual programming can be truly useful.
gabigrin··on Show HN: Flyde – an open-source visual programming language
Oh damn! thanks for reporting! Fix going live now Please try a different example (it changes the link based on the example on the right side).
gabigrin··on Show HN: Flyde – an open-source visual programming language
Thanks!
gabigrin··on Show HN: Flyde – an open-source visual programming language
Oh, snap! Deploying a fix now.

Forgot to remove that after a docs rehaul. Tutorials still need to be re-written after some major changes, but perhaps this old blog post can give a sense - https://medium.com/@gabrielgrinberg/visual-programming-in-vs...

gabigrin··on Show HN: Flyde – an open-source visual programming language
Thanks! Flyde is "just" a library behind the scenes, so you grab your .flyde file, and can run it with an npm package. For example:

``` import { loadFlow } from "@flyde/runtime";

const execute = await loadFlow("./celsius-to-fahrenheit.flyde");

const inputs = { celsius: 0 }; // "celcius" is a main input in the flow, therefore it must be provided when executing the flow const { result } = execute(inputs); // execute returns a "result" promise, along with a cleanup function that can be used to cancel the execution.

const { fahrenheit } = await result; // each output in the flow is a property on the result object

console.log(fahrenheit) ```

(taken from https://www.flyde.dev/docs/integrate-flows/)

But your comment strengthens my feeling that making this more intuitive and discoverable and is indeed something I should prioritize

gabigrin··on Show HN: Flyde – an open-source visual programming language
Author here. The main difference is the target use case. I'm far from being a Pure Data expert, but it seems more aimed towards music/media generation.

Flyde on the other hand is aimed to be used in the application layer of modern web development.

gabigrin··on Show HN: Flyde – an open-source visual programming language
Thanks, exactly what I aimed for (: Regarding composition, anything you had in mind? I can draft a playground (https://play.flyde.dev/) example for you
gabigrin··on Show HN: Flyde – an open-source visual programming language
Thanks! I agree, and while no one knows how development will look in 5-10 years from now, I find it hard to believe it'll be _just_ textual based, and I hope Flyde will help inspire that move.
gabigrin··on Show HN: Flyde – an open-source visual programming language
- Thanks! - Re: "function with parameters" you mean so the configuration is exposed on the node itself? It's definitely something I want to consider as an UX improvement. At first, I was very puristic about having all configurations acceptable as dynamic inputs, to ensure Flyde is robust and flexible, but that led to things like the HTTP node having 5 different pins which made it even worse. Now it's a hybrid model - as an author of a node you can choose how to expose it, and many nodes in the Stdlib expose configuration in both ways - Interesting use-case! Flyde's last incarnation was an attempt to offer this to other SaaS products (before realizing it must start OS) to allow their users to do "Visual scripting" (like https://luna-park.app/, a project I've stumbled upon) You can check the source code of the playground and try embedding Flyde, should work!
gabigrin··on Clean your codebase with basic information theory
Great read, as always!

The combination of the Elm reference and "coarsely structure codebases around CPU timelines and dataflow" statement reminded me of this great talk by Evan Czaplicki (Elm creator): https://www.youtube.com/watch?v=XpDsk374LDE

gabigrin··on Show HN: I built an alternative to product tours
Very cool idea. I have implemented such "dumbing down" manually a couple of times - can confirm the pain is real.

Have to admit that the difference between the "before" and "after" UI in the video doesn't feel big enough. Did you consider removing also the "Projects" list on the left? Or reducing it?

gabigrin··on Launch HN: Fastgen (YC W23) – Visual Low-Code Backend Builder
If you're looking for a similar solution that has 0 vendor lock in, checkout https://www.flyde.dev. It's still WIP but Open-Source and comes with a VSCode extension. I'm planning on launching it soon as well :)
gabigrin··on Seniorless – Reasons You Should Hire More Juniors (Deleted)
Indeed. According to https://news.ycombinator.com/showhn.html: Blog posts, sign-up pages, curated lists, and other reading material can't be tried out, so can't be Show HNs.

Removed it immediately after staticautomatic pointed that out.

gabigrin··on Seniorless – Reasons You Should Hire More Juniors (Deleted)
Ha. Nice one. I guess I jumped straight to the "Be respectful in comments" section and missed that posts are not valid Show HN ;)
gabigrin··on Seniorless – Reasons You Should Hire More Juniors (Deleted)
Thanks! removed the "Show HN" label.
gabigrin··on Show HN: BobTheWebDev.xyz – AI Generated Web Dev Questions
Thanks for adding the links :) I hope to release the second part next week
gabigrin··on Show HN: BobTheWebDev.xyz – AI Generated Web Dev Questions
Yep, torch-rnn which is based on char-rnn - https://github.com/jcjohnson/torch-rnn (actually, a fork with some minimal tweaks to output more info on checkpoint files)
gabigrin··on Show HN: BobTheWebDev.xyz – AI Generated Web Dev Questions
Thank you! If there's demand I'll be happy to do it. If you're interested in the process check out this post - https://medium.com/@gabrielgrinberg/how-i-taught-an-ai-to-as...
gabigrin··on Show HN: BobTheWebDev.xyz – AI Generated Web Dev Questions
Good idea! I am using different settings to generate questions, and am planning to use the views data to fine tune it
gabigrin··on Show HN: BobTheWebDev.xyz – AI Generated Web Dev Questions
I thought of that :D
← PreviousPage 3 of 3