Better HN
topnewbestaskshowjobs
Log inSign up

pcouy

131 karma · joined Mar 14, 2023 (3y ago) · 45 submissions

Submissions

comment 2y ago · link · parent

I'm not sure there is much more relations to actual chemistry than what I put in the "Prerequisites" section. You can also look the Belousov-Zhabotinsky reaction, which is (at a very basic level) a real world instance of a reaction-diffusion system that acts similarly to this model.

comment 2y ago · link · parent

Emergence is mesmerizing in the literal sense. For me, I think the fascination takes its roots in how all biology - from the apparition of life to how brain works - happens thanks to emerging behaviors.

Anyway, thanks for the share, it makes me want to try implementing it as well.

comment 2y ago · link · parent

You're right, how did I miss this ?! Thanks for picking this up

comment 2y ago · link · parent

Another commenter shared https://github.com/GollyGang/ready which may be what you have in mind. I clearly see the fun in building such a thing from scratch though, and I intend to make a simple web-based one. Let me know if you create a repo for you project, I'll make sure to take a look and try to contribute if I'm comfortable with the tech stack.

Edit : Ahah I just noticed the "other commenter" is you

comment 2y ago · link · parent

I tried making fluid dynamics in a similar way right after making this, but I gave up as well. As far as I remember, I got stuck on managing non-miscible fluids (such as air and water) which introduces some edge cases where they meet.

comment 2y ago · link · parent

Woah cool ! Thanks for the share

comment 2y ago · link · parent

I just took a look at your Shadertoy profile and I liked it a lot

I want to try my hand at writing such a general case continuous cellular automata engine, but I first need to dive into the literature around Lenia, and this is only one of the many things I want to try...

Anyway, thanks for sharing your work. I took a quick look at your write-up and will definitely come back to it later.

comment 2y ago · link · parent

The section you're referring to is meant to first give the update rule for the general-case of a reaction that is not autocatalytic.

I'm not sure what made you think it should have 4C, but if you want to explain me the reasoning that led you to this conclusion, I'd be glad to fix the article and make it clearer

comment 2y ago · link · parent

Hey! I'm the author of this article and just noticed the huge traffic spike.

This was my first time writing a shader. I was just playing around on shadertoy when I realized I could implement this chemical model that has fascinated me for quite some time. I'm really happy with how well my results align with results from other people who have done this before me.

While writing the article, I noticed that the same kind of shader implementation has already been done before.

Feel free to ask me anything about the implementation or the chemical model

comment 2y ago · link · parent

Hey there ! I'm the author of the article. Thank you for sharing it here !

If anyone has questions, I'll be happy to answer them

comment 3y ago · link · parent

What i meant when mentioning input devices is that the Pi would have it's own cursor, and I would have needed to handle the forwarding of inputs from the laptop's X server to the Pi's. This would have been a lot more difficult as I would have had to forward the inputs to the Pi only when moving the cursor out to the Pi-controlled monitor.

Keep in mind that I'm writing this from the top of my head, without googling anything or experimenting with the setup we're talking about. It's totally possible that I'm wrong.

Anyway, the hard part in this project was optimizing everything. The first proof of concept stream was pretty straightforward to get. Getting a slow PoC of what you described should be kind of easy as well. I encourage you to experiment yourself with the setup you suggested, you'll learn a lot more than you could possibly learn by reading a writeup. If you ever try it out, I'd love to hear about how it went.

comment 3y ago · link · parent

Lol, if the OS sees it as a screen recorder, it must be much closer to what I made than I initially thought !

comment 3y ago · link · parent

I'd love to get your feedback (in Github discussions or issues, depending on your results), especially regarding the installation scripts. I somewhat tested them but did not take the time to start fresh and check if they actually take care of everything

comment 3y ago · link · parent

Hey ! I hope you didn't forget my blog already, because I added the RSS feed as you suggested. You can find it at https://pierre-couy.dev/feed.xml

comment 3y ago · link · parent

Yeah, someone else mentioned this on reddit. When taking the time to think about it, I as surprised as you are that it worked. I'll update the post when I have more time to take care of all the things people suggested

comment 3y ago · link · parent

I don't think that would allow me to seamlessly move workspaces and windows between monitors. From the top of my head, your suggestion would imply the Pi running it's own desktop environments and having its own input devices

comment 3y ago · link · parent

This is done by configuring the X server on the host computer. The method I used only works with Intel integrate graphics using Linux though.

comment 3y ago · link · parent

Stop, you're making me blush!

On a more serious note, this is one of the main points that drove me to start such a blog. I've been the one learning from other people's posts for a long time. Now that I've reached a point where I can give back to the community, I'm really proud of the positive feedback I've got.

Moreover, while writing this took some time, I actually enjoyed going back over what I did and putting it in a way that I can share with the world. I can't stop thinking of ideas for future articles

comment 3y ago · link · parent

That would be one nice way make the whole thing cleaner on top of turning it into a deb package. For now, it's really hacky but has proved to fulfill my needs.

I may or may not take the time to polish this up in the future. In the meantime, I've licensed the repo under GPL so if someone feels like doing it, they're more than welcome to.

comment 3y ago · link · parent

For me, the main issue was the proprietary software I needed to run un the host computer. I also read somewhere it doesn't play well with Linux.

To be honest, I didn't even consider it before rolling my own solution because it was not immediately clear to me that it was something different from display port over USB

comment 3y ago · link · parent

Looks really interesting. I'll make sure to check your notes and plog posts out.

comment 3y ago · link · parent

Thank you for actually making me laugh out loud ! :)

Makind this indeed felt like hammering on a screw at times.

comment 3y ago · link · parent

Ahah true! But I had one lying around so for me it was essentially free

comment 3y ago · link · parent

Same situation I was in with my new laptop, except that I already had USB C docks lying aroud

comment 3y ago · link · parent

Yes I am, and I clearly remember the D3.js project. It has been almost 10 years, crazy how time flies!

It's nice meeting you again on HN :)

comment 3y ago · link · parent

The hard part for me was getting the latency low enough that I can comfortably type and move the mouse. But I may look into is as a 4th screen for logs would be interesting

comment 3y ago · link · parent

Somehow I did not come across this when researching existing solutions. Looks interesting though, I'll look into it

comment 3y ago · link · parent

Yeah I noticed that. The "Lol" was not even in any of the original comments. Very odd indeed

comment 3y ago · link · parent

You should be able to adapt the writeup to a macOS host, but I have no idea how you configure a virtual display on it

comment 3y ago · link · parent

Thanks for being so kind. It indeed takes a lot of time and energy, but it is incredibly rewarding when you finally share it with the world and people find value in it (far more than I expected)
12