Readit News logoReadit News
alexisread commented on Show HN: R3forth, a ColorForth-inspired language with a tiny VM   github.com/phreda4/r3... · Posted by u/phreda4
alexisread · 7 days ago
Very impressive demos! I did a quick look through the docs- it’s single threaded (in the cpu sense) and not multi process yes?
alexisread commented on How Warhammer became one of Britain’s biggest companies   theguardian.com/lifeandst... · Posted by u/GeoAtreides
dboreham · 22 days ago
Somehow all this was done seemingly deliberately, as some MBA new hire project at a BigCo. Like how Google kills off half their useful services because nobody in the C suite knows what they're for.

Also, they (the Callahan government) had a plan to bring state of the art semiconductor manufacturing to the UK. Basically TSMC but in Wales. Thatcher killed it.

alexisread · 22 days ago
It was a massive shame the TV-toy project at Sinclair did not work out. It was a SOC/low cost computer based on the Inmos transputer (Called the T400, an M212 without dedicated link hardware) around 1983. That might have kept Inmos afloat- they were responsible for a lot of the RAM chip innovation, VGA standard, transputer etc. so the world would have looked very different. I do wonder what could have been with that chip paired with the Slipstream chip, oh well.

https://en.wikipedia.org/wiki/Transputer TV-toy

https://www.abortretry.fail/p/inmos-and-the-transputer TV-toy

https://www.transputer.net/tn/50/tn50.html M212 details

https://forums.atariage.com/topic/271372-flare-technology-an... 9.2mb/s bandwidth+sequencer_list

alexisread commented on Ask HN: How can we solve the loneliness epidemic?    · Posted by u/publicdebates
windowpains · a month ago
Let me tell you about real life. I’m a caregiver and leaving the home is simply not an option. Short trips to the store, a walk around the block, maybe, if it’s before sundown, provided the person I’m caring for is in the right mental state to be left alone for 45 minutes. If there were neighborhood pubs that might be a thing to do if I drank. Getting off social media is great for those lucky enough to have the option, but with an increasing number of people getting into their dementia years, many with no savings to afford respite or other forms of care, social media is going to be the only option for a lot of people like myself. It’s better than nothing.
alexisread · a month ago
Tip of the hat there, it’s a very selfless thing to commit to caregiving. From a 50kft view, we have an aging demographic globally, and the bet seems to be robotics- hopefully they will get good enough to help meaningfully in this capacity. What happens to an economic system predicated around having more kids (GDP growth) is another concern.
alexisread commented on The Tulip Creative Computer   github.com/shorepine/tuli... · Posted by u/apitman
alexisread · a month ago
I get the impression that the Atari AMY chip was an inspiration? Wonderful to see how the Alles speakers are implemented!
alexisread commented on Org Mode syntax is one of the most reasonable markup languages for text (2017)   karl-voit.at/2017/09/23/o... · Posted by u/adityaathalye
zelphirkalt · a month ago
Well, but I am not aware of anyone having come up with a good syntax to do babel things in Markdown. Markdown and Org Mode also set out to serve different purposes. For a quick and dirty text Markdown might suffice, but the babel stuff and spreadsheet stuff enable a lot of use cases that Markdown simply doesn't cater to. We already have the implementation of all these nice things in Emacs. If we were to replicate them for some markdown dialect, they would probably be done half-right, before someone actually manages to get literate programming right for various languages, including what code to translate to, how to wrap or not wrap the code that is inside blocks, sessions, output formats, etc. We might as well use what we have with Emacs. There is probably a way to call Emacs' functionality from outside of Emacs, to treat it as a library.

But not all is well with Org Mode syntax either. Many git hosters have only a very rudimentary implementation of a parser and writing a parser for it is not actually that easy. Its dynamic nature requires at least a 2 step approach of parsing and then later checking all kinds of definitions at the top of a file and further processing the document according to that. It's power comes at that cost. That's probably why we have so many Markdowns, but only one Org Mode (OK maybe a few, counting Vim and VSCodium plugins, that achieve a feature subset).

I will say though, that org mode syntax is much better suited for writing technical documentation than markdown. The only issue is, that not so many people know it or want to learn it, and I don't know a way to change that. Perhaps that effort to have the org mode syntax separately defined (https://gitlab.com/publicvoit/orgdown/-/blob/master/doc/Over...) by the same author will help creating more support for the format in various tools.

alexisread · a month ago
I agree you would need to specify the markdown to allow more implementations. https://github.com/jgm/djot Would make a good DSL inside languages, combine that with compile-time execution so that blocks can auto-recalculate and you have a more available mechanism than emacs/org in other languages.
alexisread commented on Org Mode syntax is one of the most reasonable markup languages for text (2017)   karl-voit.at/2017/09/23/o... · Posted by u/adityaathalye
fipar · a month ago
I agree about the duct tape, which I also use often around the house, so maybe that's why I like org-babel :)

Just wanted to say that I share data between different blocks in different languages through files and env variables (I add :session shared to the src blocks that need to access this). That is useful also to have src blocks you can execute repeatedly and that depend on something like an aws identity being assumed (you just assume it in the first block that shares the session).

I agree it's messy, it's just a mess that works for me.

alexisread · a month ago
I think this is the crux of the issue, use like this is like a real program, just built up incrementally in a notebook rather than a repl or shell-with-pipes, and with manual error handling. The STEPS project was all about this- a way of incrementally building blocks that can be composed.

With org mode in mind, ideally you would have language support for this ie. Comments are scoped metadata that can be formatted, tested, linked etc.

You need a well defined spec like djot as a DSL for this to work, so that parsers can be easily written for it. This level of language support allows many different views onto the source code. We’re not there yet.

alexisread commented on Fabrice Bellard Releases MicroQuickJS   github.com/bellard/mquick... · Posted by u/Aissen
xonix · 2 months ago
Re: TCO

Does the language give any guarantee that TCO was applied? In other words can it give you an error that the recursion is not of tail call form? Because I imagine a probability of writing a recursion and relying on it being TCO-optimized, where it's not. I would prefer if a language had some form of explicit TCO modifier for a function. Is there any language that has this?

alexisread · 2 months ago
Although it’s a bit weird, Able Forth has the explicit word ~

https://github.com/ablevm/able-forth/blob/current/forth.scr

I do prefer this as it keeps the language more regular (fewer surprises)

alexisread commented on Super Mario 64 for the PS1   github.com/malucard/sm64-... · Posted by u/LaserDiscMan
takantri · 2 months ago
ClassiCube (https://github.com/ClassiCube/ClassiCube) exists, which is an open-source Minecraft Classic reimplementation with an N64 port among dozens of others. HN discussed it two years ago (https://news.ycombinator.com/item?id=37518874).

ClassiCube has a WIP GBA port, but according to commits it only hits 2 FPS as of now and is not listed in its README.

On a related tangent, there's also Fromage, a separate Minecraft Classic clone written for the PS1 (https://chenthread.asie.pl/fromage/).

alexisread · 2 months ago
Related to this is the Atari Falcon port of Minecraft using a sparse voxel octree, might work for the GBA seeing as the Quake ports are similar performance-wise:

https://www.youtube.com/watch?v=nHsgdZFk22M

alexisread commented on Golang's big miss on memory arenas   avittig.medium.com/golang... · Posted by u/andr3wV
convolvatron · 2 months ago
one question that always plagues me when we talk about mixing manual and automatic memory systems is...how does it work? if we have a mixed graph of automatic and manual objects, it seems like we dont have a choice except to have garbage collection enabled for everything and make a new root (call it the programmer) that keeps track of whether or not the object has been explicitly freed.

since we still have the tracing overhead and the same lifetimes, we haven't really gained that much by having manual memory.

D's best take at this is a compile-time assert that basically forbids us from allocating GC memory in the affected region (please correct me if I'm wrong), but that is pretty limited.

does anyone else have a good narrative for how this would work?

alexisread · 2 months ago
There are many automatic memory management systems ranging from the simple clearup of immutable systems (https://justine.lol/sectorlisp2/), to region allocation, to refcounting with cycle collection, and the full-fat tracing.

I'd have thought that allocating a block of memory per-GC type would work. As-per Rust you can use mainly one type of GC with a smaller section for eg. cyclic data allocated in a region, which can be torn down when no longer in use.

If you think about it like a kernel, you can have manual management in the core (eg. hard-realtime stuff), and GC in userland. The core can even time-slice the GC. Forth is particularly amenable as it uses stacks, so you can run with just that for most of the time.

alexisread commented on PGlite – Embeddable Postgres   pglite.dev/... · Posted by u/dsego
alexisread · 2 months ago
Can this be used as a read-replica to a normal PG instance? I'm thinking synced browser cache here.

u/alexisread

KarmaCake day614August 3, 2014View Original