Coroutines elegantly solve these problems.
HN user
stevedekorte
@stevedekorte
I've found this handy for repairing AI generated JSON.
Io (http://iolanguage.org) can work this way, as the message tree (maybe including comments - I don't recall) is what the interpreter used to evaluate the code and is accessible at runtime. However, it didn't store the choice of terminator (newline vs return) or indentation info (though it would be easy to add), so the pretty print of the message tree might look different depending on the source conventions.
But street lights don't have to use harsh 3000 kelvin LEDs, there are warm light LEDs (2400-2700 kelvin). For example, these lights are widely available for home, yet most people just buy the 3000K LED bulbs because (IME) it doesn't occur to them that there is a strong aesthetic (and health) difference between these colors. i.e. They don't care.
Looks useful and powerful. Nice work!
It’s great that this can run on a laptop but FWIW, llama 70B model is no where near “GPT-4 class” in my own use cases. 405B might be, though I haven’t tested it.
How are state changes consistently tracked?
Congrats! I have strong nostalgia for the ones I worked on and owned in the 90s. Using those machines felt more like living in the future than any tech I've experienced since, including the iPhone.
"In JavaScript, neither weak references... is generally available". I think that was true with the old weak collation classes, but doesn't the newer JS WeakRef provide proper weak references?
Great to see work like this being done. Javascript is often a "good enough" language, but an efficient Smalltalk (or Self) language with support for things like system images, become:, coroutines, and other advanced features would open up a lot of advanced programming techniques like fast portable images, transparent futures, cooperative concurrency without async/await on every call, etc.
At first, I though this was a link to another cool language with a very similar name: http://www.redwoodsoft.com/~dru/cel/
I've run into many of the problems mentioned with Apple Feedback and gave up on using them many years ago. It's pretty disheartening when you spend a bunch of time getting an OS crashing bug to reproduce in a small amount of code to submit in a bug report for them to neither confirm that they can repeat it, or consider it worth fixing.
Can it be used via an API?
Enjoying the discussion. Here’s a related paper: https://docplayer.net/137462966-Towards-jit-compilation-for-...
That might be right, but I'm not familiar enough with early Smalltalk to say. Self was a bigger inspiration than Smalltalk.
Fixed, thanks!
Yeah, good idea. I've updated it.
Thanks for the suggestion. I've added a first pass at samples page and a link on the main page. https://iolanguage.org/samples/
Can someone get this running on the Web with WASM?
"Society depends on this mismatch existing. It must exist somewhere."
I see no reason why bank deposits can be fully backed, and ppl who choose to can buy into bonds funds separately. For example, only ~6% of gov bonds are held by banks: https://www.statista.com/statistics/201881/holders-of-the-us...
Who would have predicted ever increasing inefficiency and decreasing service from an effective monopoly with little to no selection pressure?
The environment I grew up in (NeXTstep with Miller Column FileBrowser + Edit + InterfaceBuilder) effectively did, but I'd love to see them tightly integrated.
Would love to see one of these that used Miller Columns for navigation, and supported VSCode task and launch files.
Economics is more complicated that a short term price move.
If there is sufficient unpayable dollar denominated debt, the central banks and governments will be forced to once again print trillions to re-inflate the debt bubble, incentivizing exponentially more bad debt. How do you suppose this process ends?
On the instance. My understanding is that in this example, the instance itself is the key and is only stored in a dictionary owned by the related class. Maybe there are other or broader use cases, but for this particular case, storing dependents on the instance seems to (AFAICS) solve the problem without adding complexity.
Neat idea. Would moving the dependents list to an instance variable holding a weak array avoid the need for ephemerons here?
Cool project. Would love to see this done for NeXTcube or NeXTstation with their original keyboard and mouse.
Bob Nystrom does a good explaining this problem, and how it could be avoided: http://journal.stuffwithstuff.com/2015/02/01/what-color-is-y...
If everyone received basic income, at what point would the majority of voters not see it in their interest to vote for legislators who promise to increase it?
This is so true. On modern sports cars (like the Audi R8 and Ferrari 458), it feels like they injected the steering rack with Novocain. Try driving a pre-1995 sports car if you want to get a feel for the difference.