[-] KiranWells@pawb.social 5 points 4 months ago

I assume you have already tried the official tutorials, but Go By Example is a great "learn by doing" kind of tutorial. Others that I found in a quick DDG search:

[-] KiranWells@pawb.social 5 points 8 months ago

To be honest, you can say the same about any large cloud provider. What happens if AWS, or Azure, or Google Cloud go down, or become terrible?

[-] KiranWells@pawb.social 5 points 9 months ago

I believe you are correct; if the unsafe code can cause undefined behavior if input data is not following a specific contract, then the entire function should be labeled unsafe so the caller knows that.

The other option is to check to make sure the contract is valid, and return an error or panic if it is not. That function would be sound, as no inputs cause undefined behavior.

[-] KiranWells@pawb.social 4 points 10 months ago

Actually looking forward to the btrfs swapfile hibernation; I have tried setting it up on my machine before but the documentation was never clear on whether it would work (or why mine wasn't).

[-] KiranWells@pawb.social 4 points 10 months ago

Check out Ollama and its extensions for VSCode; might save you some money paying for other services if your computer can run models locally.

[-] KiranWells@pawb.social 4 points 11 months ago

Have you had any luck with hibernation with a BTRFS swapfile? My computer still does not start from hibernation, and I am not sure why, even though I followed the Arch wiki to set it up.

[-] KiranWells@pawb.social 4 points 11 months ago

I haven't taken it myself, but "The Last Algorithms Course You'll Need" is free and is written by The Primeagen. He works at Netflix and runs a programming-focused YouTube channel, and as far as I can tell is very knowledgeable and level-headed.

[-] KiranWells@pawb.social 3 points 1 year ago

I think Lokinet and Veilid are two different solutions to the same problem. Lokinet is intentionally based on the block chain to prevent attacks, while Veilid is intentionally non-blockchain based. Additionally, Lokinet seems to be more similar to Tor in its makeup and purpose, but I can't find any information on how the encryption functions to compare to Veilid's.

[-] KiranWells@pawb.social 4 points 1 year ago

The usefulness of ComfyUI is not just making one simple image. It is the ability to completely customize how that image is created.

For example, I have a workflow that generates a half-resolution preview image, then upscales the latent and puts it through two more sampling nodes. All three of the nodes have a different prompt input, with the focus slowly shifting to style instead of content.

I have also created a custom upscaling workflow, where the image is upscaled with normal upscaling, then re-encoded and put through just a few sampling steps, the re-encoded with a tiled VAE decoder (to save my VRAM). It creates much better results (more detail and control) than a direct ERSGAN upscale, and can even be put through ERSGAN afterward to get a super large image.

[-] KiranWells@pawb.social 3 points 1 year ago

The best part is that this is written on the top part of the box, meaning you would have to open the box to read it.

[-] KiranWells@pawb.social 4 points 1 year ago

Learn Rust With Entirely Too Many Linked Lists is a great example of how references work (or don't work) in more complex situations. Might seem like a lot at first, but working through writing the code yourself and seeing the compiler's responses is a great help when learning Rust. It also doesn't hurt to read it once and then come back and read it again later, after you try writing some more programs.

[-] KiranWells@pawb.social 5 points 1 year ago

Just as a warning, you are on Kbin, which is a bit different from Lemmy. The two communicate just fine, but have different UIs and features. Lemmy generally has "communities" instead of "magazines", but they work in mostly the same way.

For Lemmy, generally going to the search menu in the UI allows you to search for communities, but not every one will come up (for example if the server you are on doesn't know about another new server yet). If is often better to use a third-party website like browse.feddit.de to find new communities.

Not sure how subscribing to them would work on Kbin, though.

view more: ‹ prev next ›

KiranWells

joined 1 year ago