Hacker Newsnew | past | comments | ask | show | jobs | submit | more FragenAntworten's commentslogin

PICO-8 limits the speed of the virtual CPU ("4M vm insts/sec").

https://www.lexaloffle.com/pico-8.php



https://cartesi-machine.surge.sh/ is so cool!

~ # df -h

Filesystem Size Used Available Use% Mounted on

/dev/root 63.7M 54.8M 8.9M 86% /

devtmpfs 23.4M 0 23.4M 0% /dev

tmpfs 24.4M 0 24.4M 0% /dev/shm


is that 8.9M mine? from localstorage??


I agree! I'm very pleased to see the return of the Deno dino.



The storage stools sound great. I always have to stick my stuff on my lap or under my chair. I wonder if comfort suffers?


See this comment from the other discussion: https://news.ycombinator.com/item?id=38469749


It doesn't seem to run on NixOS, though I'm new to Nix and may be missing something.

    $ ./llava-v1.5-7b-q4-server.llamafile --help
    ./llava-v1.5-7b-q4-server.llamafile: line 60: /bin/mkdir: No such file or directory
Regardless, this (and Cosmopolitan) are amazing work - thank you!


The APE shell script needs to run /bin/mkdir in order to map the embedded ELF executable in memory. It should be possible for you to work around this on Linux by installing our binfmt_misc interpreter:

    sudo wget -O /usr/bin/ape https://cosmo.zip/pub/cosmos/bin/ape-$(uname -m).elf
    sudo sh -c "echo ':APE:M::MZqFpD::/usr/bin/ape:' >/proc/sys/fs/binfmt_misc/register"
    sudo sh -c "echo ':APE-jart:M::jartsr::/usr/bin/ape:' >/proc/sys/fs/binfmt_misc/register"
That way the only file you'll need to whitelist with Nix is /usr/bin/ape. You could also try just vendoring the 8kb ape executable in your Nix project, and simply executing `./ape ./llamafile`.


`./ape ./llamafile` worked immediately and without problems I can see - thank you!


It's especially disappointing to see Deno doing this, because in the past they've used endearing art made by an artist, hashrock, which I liked very much.


Yeah, this guy (https://w.wallhaven.cc/full/x8/wallhaven-x8r18l.png) is much cuter...


I agree! I especially like how they showed how these methods can be tweaked, parameterized, or combined. It looks like it was fun to build!


I like this. It seems similar to `if let Some(value) = option` in Rust, with `?` replacing the pattern matching and supporting multiple assignments.

Rather than something like this:

    if let Some(a) = option_a; let Some(b) = a.option_b {
        ...
    } else {
        ...
    }
you'd have something like this:

    if let b = option_a?.option_b? {
        ...
    } else {
        ...
    }
(Pseudocode for both examples.)


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: