3 ms·
My primary project the past couple weeks has been applying the AI interpretability technique from Anthropic's famous paper this past summer (you know, the Golde
by maxander 2y ago
My primary project the past couple weeks has been applying the AI interpretability technique from Anthropic's famous paper this past summer (you know, the Golden Gate Claude one) to single-cell RNA-seq data. What works on one huge, inscrutible vector space ought to work on another, right? In either case, a fun way to keep in practice, both for comp bio and deep learning.
My side-project, in essence, the bash '&' operator for cases where the first process is already running. It took me months of searching before I could believe that this doesn't already exist, but there you go. I gave in to feature creep, of course, so it's a bit more than that now (I made a ncurses-based dashboard? Why??) but someday soon I'll make it public.
- mrln 2y agoThe few times I built TUIs with ncurses I wondered: why do I have to program so much by myself? ncurses is so basic, I didn't have too much fun building UIs with it (more than once). Is there a wrapper or a more modern alternative out there that provides containers and widgets like most GUI frameworks do?
- maxander 2y agoSadly, I think the modern alternative for ncurses-based interfaces is javascript.
- aveday 2y agoI may be misunderstanding what you're trying to achieve, but you can simulate the bash '&' operator for a running process by pressing ctrl-Z to suspend the process and send it to the background, then running 'bg' to continue the process in the background.
- maxander 2y agoYeah I was unclear there - I meant the other use of the & operator, 'foo & bar' where bar starts after foo completes. AFAIK, if you ran foo by itself, there's no way to make bar automatically run after foo completes.
- arjvik 2y agothink you mean && there :)
- yencabulator 2y agoI had that need and made something a lot simpler: https://github.com/tv42/wait-for-pid https://github.com/tv42/wait-for-pid