70 karma · joined Jan 21, 2014 (12y ago) · 33 submissions
1.
Show HN: Confy – programmable TUI controls for almost any structured text(github.com ↗)
3 points · by msoloviev · 1y ago · discuss
2.
Show HN: Emailcore – write chiptune in plain text in the browser(cattheory.net ↗)
6 points · by msoloviev · 1y ago · 2 comments
comment 1y ago · link · parent
Applying the same approach to chain-of-thought reasoning gave me the feeling that I might be looking at a form of realistic UX for some sort of science-fiction neural AI augmentation - you can let the CoT run on and do its thing, but also interject at any point and insert a "thought" of your own, or go back and revise a thought you did not like, and then let it continue. Imagine such a stream hooked up with a two-way pipe into your phonological loop (https://www.sciencedirect.com/topics/psychology/phonological... - perhaps more attainable with existing tech).
4.
Show HN: Autopen, token-tree text editor that runs LLMs and shows probabilities(github.com ↗)
4 points · by msoloviev · 1y ago · discuss
comment 1y ago · link · parent
The solution I came up with involved maintaining a tree of tokens branching whenever an alternative next token was explored, with full LLM state snapshots at fixed depth intervals so that the buffer would only have to be "replayed" for a few tokens when something changed. I wonder if there are some mathematical properties of how the important parts of the state (really, the KV cache, which can be thought of as a partial precomputation of the operation that one LLM iteration performs on the context) work that could have made this more efficient, like to avoid saving full snapshots or perhaps to be able to prune the "oldest" tokens out of a state efficiently.
(edit: Georgi's comment that beat me by 3 minutes appears to be pointing at information that would go some way to answer my questions!)
6.
Show HN: Exploring the tree of LLM generations [video](youtube.com ↗)
5 points · by msoloviev · 2y ago · discuss
comment 4y ago · link · parent
While we're reminiscing, I imagine you also took Concepts in Programming Languages in second year (https://www.cl.cam.ac.uk/teaching/1011/ConceptsPL/ ?), which (after a tour de force through all sorts of paradigms that were consigned to the fossil record for the time being) did advertise Scala pretty heavily. I found that course to be a true gem and haven't seen anything like it at any of the other universities I've passed through since then.
comment 4y ago · link · parent
I don't know if I want to reach what you would call the "general public" (at least not until the program is quite a bit more polished than it is now), but I'd certainly want to reach typical Linux-using HN posters who are interested in Markdown notetaking, and the circumstance that this subthread played out as it did implies I haven't yet done so.
comment 4y ago · link · parent
To nitpick a little, I also didn't say I don't think that those who care about licensing issues would use [the Windows build]; rather, I think that those who don't care about licensing issues and are on Windows would not use it, because there is a Windows-only product that is closed-source which I am unlikely to be able to compete with on that ground.
I'm not really advertising Mac support beyond having some files merged from people who did get it to work (https://github.com/blackhole89/notekit/blob/master/screensho...).
comment 4y ago · link · parent
(Regarding Mac, I unfortunately don't have a Mac and neither does anyone who I know well enough to ask to borrow theirs, though someone did in fact contribute homebrew-based build scripts that supposedly work at some point. I just have no idea how to package the result to make it easy to install.)
comment 4y ago · link · parent
comment 5y ago · link · parent
comment 5y ago · link · parent
That's a good point.
(a) hash the entire call stack (though that might produce false negatives, i.e. consider two UI elements that should be the same distinct?)?
(b) put the burden on the reusable function to mark itself as such by pushing/popping an identifier of its own call site on the ID stack?
> The real hack is implicit IDs, not the ID stack (which is just a way of implementing a hierarchical namespace like file system paths or URLs). The fact that implicit IDs just work 99% of the time and only require manual intervention 1% of the time is a false siren song into letting you believe a 100% solution is desirable (you have to consider the marginal cost of what it would entail).
Well, this is just the standard problem of library design, isn't it? You always have to figure out the appropriate tradeoff between supporting rare cases and making common ones easy. (Of course, you can often do both; in this case, you probably could both give "explicit ID" and "call site ID" versions of each UI element API.)
comment 5y ago · link · parent
(On the off chance you're curious, I just pushed some previously unpushed updates to that experiment I had sitting around, so now it has labels and text entry too. I guess the real test of the architecture would still be making an alternative "rendering backend" based on win32 widgets or something.)
comment 5y ago · link · parent
I wonder why he arrives at the conclusion that he needs a full-fledged DSL for what he is doing. I remember that at the time I was working on this, the impression I had was that a lot of my problems would go away if only there were some unique way to identify every distinct invocation of a function (so I could use data along the lines of "you are currently in the 3rd call of Button() in something.cpp"). __FILE__ and __LINE__ get close but don't disambiguate between multiple calls on the same line (and anyhow would need to be baked into the invocations with macro hackery).
comment 5y ago · link · parent
comment 6y ago · link · parent
I haven't had any luck getting responses to bug reports, and anyhow it seems that ZynAddSubFX should be a sufficiently common plugin that if this bug were easy to reproduce, someone else would have stumbled upon it by now (and so it probably arises due to a weird interaction with something else that's particular to my setup).
comment 6y ago · link · parent
While here the metalanguage is itself a C++-lookalike, in my project I wound up with something that is perhaps better described as a weird TeX (which seems to be what happens naturally when your machine model is based on binding and substitution).
On one hand, C++ is surely more powerful/expressive and there is elegance to having the language and metalanguage use the same idiom. On the other, I feel like this might actually making Circle a bit more confusing to use at times, as it becomes less clear exactly when what parts of the code are executed, and you could even imagine a typo accidentally lifting a part of the code from runtime to compile time, resulting in mystifying bugs. (I am myself puzzled by the "serialize structs generically" example: does it imply that the template is specialised before the @meta for is executed?)
comment 6y ago · link · parent
The rationale is that you rarely want pages that you open from random Facebook posts or Reddit submissions, or pages that you arrive at by following more links from those, to have access to your Facebook or Reddit login information.
comment 7y ago · link · parent
22.
Show HN: A hierarchical Markdown notetaking tool with mouse/tablet drawing(github.com ↗)
23 points · by msoloviev · 7y ago · 3 comments
comment 7y ago · link · parent
This solves a common issue I was encountering when browsing, where I'd start out with some Facebook tab (dutifully containerised), click some links in the chat, follow some more links from the pages arrived at, and before long I'd have a subtree of 30+ tabs all being in the Facebook container while having absolutely no business seeing my Facebook cookies.
There's more documentation and some usage examples on the addon page. Of course, this is beta-quality software. I'd appreciate if you could try it out and give feedback and bug reports. Also, you should disable Multi-Account Containers before running this, since they both hook into the same events and I don't want to know what happens if they disagree over what container a page should go into.
See also the Reddit discussion, where I provide some more rationale: https://old.reddit.com/r/firefox/comments/abpssw/containers_...
24.
Containers with Transitions: Firefox add-on to pick container based on origin(addons.mozilla.org ↗)
2 points · by msoloviev · 7y ago · 1 comment
comment 8y ago · link · parent
I suppose the only strictly language-specific feature is the support for C string literals and it could otherwise also be made to run on top of different tokenisers.
m4 is surely more powerful still, but its syntax always struck me as somewhat jarring both on its own and in the context of any other language.
comment 8y ago · link · parent
27.
Show HN: A JS-scriptable graph theory experimentation tool(github.com ↗)
3 points · by msoloviev · 8y ago · 2 comments
comment 9y ago · link · parent
Visualising algorithms is an interesting angle I have largely neglected so far, since it's pretty different from the purpose I originally built the program for. I could try adding some more examples in the spirit of the sandpile model from the animated GIF, like pathfinding or selfish routing. Thanks for the suggestion!
comment 9y ago · link · parent
The main takeaway for me was that, unless you can tap into a preexisting pool of demand, grabbing people's attention is as hard and effort-consuming, if not more so, than actually solving a problem. One-on-one, I always had an easy time convincing people I knew that the program is useful for them, but simply throwing it out there and hoping someone would notice it was unexpectedly fruitless.
comment 10y ago · link · parent
A good representation of its current functionality is this short video of executing the sandpile model (https://en.wikipedia.org/wiki/Abelian_sandpile_model) on a graph: https://raw.githubusercontent.com/blackhole89/graphicdepicti...