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

I thought so too, although treating everything as data and functions is really nice [1].

Regarding the BEAM and why Gleam has a separate library for actors: [2]

> "One notable difference between Elixir and Gleam is that Elixir gets to just re-use the OTP code as-is (with some Elixir wrappers on top for convenience). Gleam concluded that the OTP is built expecting dynamic types, and that for best results in Gleam they'd need to re-implement the key primitives. That's why the example shown is an "Actor" not a GenServer - it serves the same purpose, and might even fit in a Supervision tree, but isn't actually a GenServer."

There's a brief snippet mentioning this in the Gleam OTP readme as well: [3]

> "Actors do not yet support all OTP system messages, so some of the OTP debugging APIs may not be fully functional."

[1] https://mckayla.blog/posts/all-you-need-is-data-and-function...

[2] https://news.ycombinator.com/item?id=40645489

[3] https://github.com/gleam-lang/otp#limitations-and-known-issu...


Snippet from Wikipedia: "In August 2023, Unity China announced that it would soon launch a Chinese edition called Tuanjie Engine based on Unity 2022 LTS, which includes support for Chinese platforms like Weixin Mini Game, OpenHarmony and AliOS."


I spent 20 minutes looking for an Esperanto reference to this but could only find pages related to "in" words [1] and profane neologisms [2].

[1] https://en.wikipedia.org/wiki/Esperanto_vocabulary#Cultural_...

[2] https://en.wikipedia.org/wiki/Esperanto_profanity#Neologisms


From `man pmset`:

    SAFE SLEEP ARGUMENTS
        hibernatemode supports values of 0, 3, or 25. Whether or not a hibernation image gets
        written is also dependent on the values of standby and autopoweroff
    
        For example, on desktops that support standby a hibernation image will be written after the
        specified standbydelay time. To disable hibernation images completely, ensure hibernatemode
        standby and autopoweroff are all set to 0.
    
        hibernatemode = 0 by default on desktops. The system will not back memory up to persistent
        storage. The system must wake from the contents of memory; the system will lose context on
        power loss. This is, historically, plain old sleep.
    
        hibernatemode = 3 by default on portables. The system will store a copy of memory to
        persistent storage (the disk), and will power memory during sleep. The system will wake from
        memory, unless a power loss forces it to restore from hibernate image.
    
        hibernatemode = 25 is only settable via pmset. The system will store a copy of memory to
        persistent storage (the disk), and will remove power to memory. The system will restore from
        disk image. If you want "hibernation" - slower sleeps, slower wakes, and better battery
        life, you should use this setting.
    
        Please note that hibernatefile may only point to a file located on the root volume.


Depending on the definition of "nicely", FWIW I currently run Ollama sever [1] + Qwen Coder models [2] with decent success compared to the big hosted models. Granted, I don't utilize most "agentic" features and still mostly use chat-based interactions.

The server is basically just my Windows gaming PC, and the client is my editor on a macOS laptop.

Most of this effort is so that I can prepare for the arrival of that mythical second half of 2026!

[1] https://github.com/ollama/ollama/blob/main/docs/faq.md#how-d...

[2] https://huggingface.co/collections/Qwen/qwen25-coder-66eaa22...


Agentic editing is really nice. If on VSCode, Cline works well with Ollama.


Thanks for sharing your setup! I'm also very interested in running AI locally. In which contexts are you experiencing decent success? eg debugging, boilerplate, or some other task?


I'm running qwen via ollama on my M4 Max 14 inch with the OpenWebUI interface, it's silly easy to set up.

Not useful though, I just like the idea of having so much compressed knowledge on my machine in just 20gb. In fact I disabled all Siri features cause they're dogshit.


+1 Ollama and Qwen coder is amazingly effective, even running on my modest M2 32G mac mini.


On a related note, Gleam's OTP implementation recently hit version 1.0! https://github.com/gleam-lang/otp/releases/tag/v1.0.0




Recently the Zed team added some tools to help with merge conflicts: https://github.com/zed-industries/zed/issues/4964#issuecomme...


Yeah, but still it's not as comfortable as with VSCode or for example Meld.


Agreed!

If you usually aren't able/allowed to use a debugger in production and must rely on observability tools, it's helpful to know how to utilize those tools locally as effectively as possible when debugging.


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

Search: