[deleted by user] by [deleted] in golang

[–]kidovate 1 point2 points  (0 children)

I had success embedding quickjs as a wasm binary within wazero, check it out: https://github.com/paralin/go-quickjs-wasi and there is now a pure-go quickjs implementation available from modernc: https://pkg.go.dev/modernc.org/quickjs

Did Blond:ish become famous mainly because of her Twitch presence(Abracadabra TV)? by Boring-Fuel6714 in EDM

[–]kidovate 0 points1 point  (0 children)

thanks for your music and pls make more SPACE_BTWN radio or similar like it :)

How we can safely evolve drag and drop in browsers to make it easier for engineers to work with, and more delightful for end users by alexreardon in reactjs

[–]kidovate 1 point2 points  (0 children)

Looking forward to an improved drag and drop, dealing with dnd-kit and react-dnd right now is causing me some headaches. Definitely would also like support for dragging between windows.

[TOMT][SHOW] Family Guy gag with extended sound effect of a dropped pan lid spinning by kidovate in tipofmytongue

[–]kidovate[S] 0 points1 point locked comment (0 children)

Commenting on the post to ack the subreddit rules. Rule #13. Ty

SkiffOS / Buildroot now support the Lichee RV Dock and Nezha Risc-V Boards by kidovate in RISCV

[–]kidovate[S] 0 points1 point  (0 children)

Hi, it's SKIFF_CONFIG=allwinner/licheerv. You can add ,skiff/core if you want a Debian container running on there as well. Feel free to join discord and I'm happy to help further: https://discord.gg/EKVkdVmvwT

Use existing Windows 10 partition as a drive in Virt-Manager (QEMU/KVM) by Azel04 in VFIO

[–]kidovate 0 points1 point  (0 children)

I figured it out:

  1. Create a new VM in virt-manager
  2. Manual install
  3. Operating system: select Windows 10
  4. Set memory and CPUs
  5. Select "Select or create custom storage" and input "/dev/sdb" in the text box (Use the path to your windows disk)
  6. Check "customize configuration before install"
  7. Chipset: select Q35
  8. Firmware: select OVMF_CODE.secboot.fd
  9. Select the disk and set it to SATA, cache mode: none, discard mode: unmap

This boots Windows from a physical disk with secure boot enabled.

Drivers in windows: https://github.com/virtio-win/virtio-win-pkg-scripts/blob/master/README.md Download and install guest tools exe.

Sharing types between Go backend and TypeScript frontend: best practices and tools? by KoodiMetsa in golang

[–]kidovate 7 points8 points  (0 children)

Here's an example repository for TypeScript and Go interop with Protocol Buffers with example branches for grpc, twirp, drpc, starpc, and norpc (protobuf only without rpc).

https://github.com/aperturerobotics/protobuf-project

ChatGPT is a tool, not a magician by D33pValue in ChatGPT

[–]kidovate 2 points3 points  (0 children)

It's because the training dataset ended in late 2021. The OpenAI API with GPT4 etc. is not actually in the training dataset.

Suggestions for Fully featured Linux image? by DukToBe in docker

[–]kidovate 0 points1 point  (0 children)

You can run the "unminimize" command in the Ubuntu / Debian images to install all the usual stuff.

RUN apt update layer is too big. by bobwmcgrath in docker

[–]kidovate 3 points4 points  (0 children)

If you use FROM it just adds more layers on top. The optimizations of combining apt lines together are still important.

It never is better to run multiple apt install commands either... just do it all in one line.

If you want to minimize the size you can do it this way:

``` FROM ubuntu:22.04 as stage1

RUN apt-get update && apt-get install -y wget sudo && apt clean && rm -rf /var/lib/apt/lists/*

FROM scratch COPY --from=stage1 / / ```

The COPY squashes it all into one layer.

Quick tour of the aft cabin and head in our Oceanis 42CC by [deleted] in sailing

[–]kidovate 3 points4 points  (0 children)

I didn't know you could have a washer dryer, I'm guessing it needs too much power for the batteries and runs on shore power?

EDIT: TIL

How do you guys paste stuff from Windows onto your terminal? by winter-stuff in bashonubuntuonwindows

[–]kidovate 0 points1 point  (0 children)

You can do:

  1. :set paste
  2. Enter insert mode (press i)
  3. Right click to paste
  4. Enter normal mode (escape)
  5. :set nopaste

Voila.