Better HN
topnewbestaskshowjobs
Log inSign up

buibuibui

180 karma · joined Jul 2, 2023 (3y ago) · 91 submissions

Submissions

comment 2d ago · link · parent

Thanks for the links! I will look into them.

In signals reactivity the same important rule applies that formulas/derivations shouldn’t mutate state of objects and rather should create a new or copy of the object (like lists, dicts or np.arrays). I think this is the same marimo issue you are talking about. :)

I need to add this info to the tutorial.

comment 2d ago · link · parent

Looks interesting. I will also look into your project.

comment 2d ago · link · parent

Thanks! :) Exploring in spreadsheets is nice because, like with Signals, you are starting with small basic calculations / cells and can derive them further without affecting the previous calcs. I think there is a term for this: orthogonal programming?

comment 2d ago · link · parent

I heard that Excel nowadays can also execute Python. But I never tested it because I don‘t have a subscription.

comment 2d ago · link · parent

Notebook export to PDF is integrated. I will extend that to the spreadsheet view.

comment 4d ago · link · parent

I am already working on it. :)

comment 4d ago · link · parent

Thank you! This is nice to hear! :) I haven't checked the competition out in that space and am only familiar with Jupyter.

My intuitions come from maintaining reaktiv, my standalone signals reactivity package, and educating others on what it actually does. There I always explained signals as spreadsheet-like reactivity.

comment 4d ago · link · parent

Using Python as a spreadsheet is not a novel idea, but I will try to explain briefly what this makes it different. The key idea around Reaktiv Workbook is using Signals Reactivity primitives (known from the frontend space and popularized by SolidJS, Angular, ...) as the core engine for reactive execution. The spreadsheet is the canvas for modeling the reactivity graph: a DAG composed of input cells (Signal), formulas (Computed) and side-effects (Effect).

With these primitives you should be able to model most of your business logic in a reactive way. On top of them, you can write markdown notes as the view layer and interpolate the primitive outputs into them.

The saved file is just a plain Python file that can be versioned through GIT.

9.

Show HN: Reaktiv Workbook – A spreadsheet where every cell is Python(workbook.bui.app ↗)

8 points · by buibuibui · 4d ago · 5 comments

comment 6d ago · link · parent

Hey guys! After I tried to reintroduce Signals Reactivity state management (inspired by Angular and SolidJS) to the Python community with my reaktiv package, I like to go one step further to reimagine how Python Notebooks (Jupyter Notebook, Marimo, …) could look like, if Signals gets used as the core mechanism for reactive data pipelines.

The clue here: each cell in the spreadsheet represents a signals primitive under the hood! Say hello again to Signal, Computed, Effect, Linked and Resource!

So effectively you are using the spreadsheet interface as a canvas to model your business logic around these core primitives. Each cell represents a data pipeline execution.

I am working in the signal processing field and like seeing dense data and see how parameters changes and affects the outcome. I also always liked how spreadsheets used data as part of their UI instead of writing an UI on top of the data.

Hopefully some data folks appreciate what I have done here. :)

Combining Frontend Tech with Data Stuff in Python.

Also congrats to SolidJS releasing v2!

reaktiv-workbook: https://github.com/buiapp/reaktiv-workbook

reaktiv: https://github.com/buiapp/reaktiv

11.

Reaktiv Workbook – A spreadsheet where every cell is Python(workbook.bui.app ↗)

46 points · by buibuibui · 6d ago · 12 comments

12.

Reaktiv Workbook – Python notebooks that stay in sync(workbook.bui.app ↗)

1 points · by buibuibui · 1w ago · discuss

comment 1w ago · link · parent

Next project: Use Game Boy Camera as a Webcam

comment 3mo ago · link · parent

I am a big fan of Signals. It’s the best state-management concept I've come across (also my team-mates). We even use it outside of the frontend space, e.g. in long running instances / services or complicated numpy calculations. One of the core characteristics why it's so easy to reason about, is that the reactivity is indeed synchronous. We know most of the time, what every signal set() does when we constraint ourselves Effects not allowing to set other Signals.

Integrating async as first class citizen into the core is indeed interesting. I wonder how it impacts the ergonomics and state reasoning in the end.

Need to test it out.

comment 4mo ago · link · parent

ScreenWall builder here. Thank you so much for the wonderful feedbacks! Please keep an eye open on the website! I will publish a self-hosted version soon and open source! Keeping old-devices from beeing thrown away is my number one priority here! They deserve a second life.

comment 4mo ago · link · parent

Hey, owner here. I think it‘s wonderful that you find it useful! Your questions has been answered in the comments already, because some people asked the same. But I think what you probably want is a way to use this without a cloud and run this locally in your network. Please keep an eye open on the website! I will publish a self-hosted version soon! Keeping old-devices from beeing thrown away is my number one priority here!

comment 4mo ago · link · parent

Please keep an eye open on the website! I will publish a self-hosted version soon.

comment 4mo ago · link · parent

I am interested to hear what features you guys want in the next iterations! While building ScreenWall, I actually had art installations, home dashboards and train depature info screens in mind. Interacting with the screens and triggering events across other screens is also in the pipeline. Would be cool, if you can give me some crazy ideas, so I can prepare the client runtime better.

comment 4mo ago · link · parent

This is work in progress project of mine! I have so many ideas how I can make it better, but before I overengineer it just for myself (I think this is typicial engineer mentality), I wanted to submit it to HN before I lose my interest over time, like my other projects…

comment 4mo ago · link · parent

The account mechanism is just used to scope the devices to „walls“. Otherwise I don‘t mine anything. But I share your sentiment, that this should maybe a self-hostable tool.

comment 4mo ago · link · parent

I see you. I am thinking about providing a self-hosted version.

comment 4mo ago · link · parent

An account is necessary to couple your devices to your wall. And auth is implemented via Better-Auth. I stopped Codex immediately when he tried to implement the login stuff from scratch. :)

comment 4mo ago · link · parent

You can also vibe-code your widget if you want! You are not restricted to use the built-in ones. Just copy the "Canvas Widget Guide" you find under "Left Sidebar > Create > Smart Widget > Tutorial" and copy that article in ChatGPT or Claude while describing what your widget should display.

Then paste the code to "Create > Smart Widget > Edit the Code" in the Widget Details. (this flow should be more intuitive...)

You are able to send JSON data to your widget via an API.

It's all just canvas and old Javascript code!

comment 4mo ago · link · parent

I like the wall position detection feature via markers! :)

comment 4mo ago · link · parent

Oh wow, although I submitted it some days ago, I somehow got on the front page! Thanks for that! Also as a note: this platform is nowhere near finished! I had this idea in my mind for a long time that I wanted to reuse my old phones and tablets as displays in my home. I also know that finding the right apps for these old platforms is a challenge in itself, that's why I went the route of creating an ES5 (that nobody writes anymore!) web app that most of these devices still support. The client's whole purpose is to display canvas and media files that the server dictates on-demand via websocket, while keeping a synchronized clock. On Instagram I always saw these very cool widgets like retro clocks, split-flip boards, YouTube subscriber counters that I felt urged to buy. But I thought to myself that the old phones I already have could also do the same. I am a long-time software engineer myself, but could never take the time to validate whether my ideas work. So I thought, why not try it out with Codex. After long prompting, supervising and correcting, I got a very usable solution that I now pleasantly use myself at home.

comment 4mo ago · link · parent

The oldest device I found that works with ScreenWall as a widget display, is an iPad 3 (2012)!

comment 4mo ago · link · parent

Working on ScreenWall (https://www.screenwall.app) because I had old phones sitting in a drawer doing nothing, and now I use them as passive widgets on my desk and wall. I use the browsers of the devices to join a shared "wall". From there I can push images, video, gifs, or a synced canvas to it (and any other old screens I add) without installing anything. Started as a one-device hack for my desk clock, but it scales to syncing multiple screens at once if you've got more than one old device lying around.

28.

ScreenWall – Turn old phones into synced widgets for your space(screenwall.app ↗)

146 points · by buibuibui · 4mo ago · 53 comments

comment 4mo ago · link · parent

Can you check if it‘s still the case? :o
1234