Hello,

I installed Ubuntu a few months ago on my work laptop and I’ve been running and loving it since.

However, I am used to VsCode, so this is what I am using in Ubuntu as well.

So I am curious, what kind of coding so you do? And what is your workflow.

I am an embedded firware developper and mainly use C. I am cross compiling my code in VsCode for a FPGA from Xilinx (dual core arm + PL)

Never dove into make files and cmake more than what I needed in the past, but I had an opportunity to learn CMake and build a project from it.

So my workflow is :

  1. Code in VsCode
  2. Build in CMake
  3. Transfer the app through scp on the target with a custom script (target is running petalinux, which is yocto + Xilinx recipes)
  4. Use gdb server to debug the code.

It’s a pretty simple workflow, but I’d like to know what you guys are running so that I can maybe upgrade my workflow.

  • Gnubyte@lemdit.com
    link
    fedilink
    arrow-up
    4
    arrow-down
    2
    ·
    1 year ago

    Hi! web dev here. It’s time to change your setup ever so slightly with VSCodium, and electerm too optionally: https://vscodium.com/ https://github.com/electerm/electerm

    I usually install all my setups in PopOS or a server I’m developing on: https://github.com/gnubyte/debian-setup/blob/master/setup.sh

    Then install Insomnia.rest, VSCodium, and finally electerm.

    Basically I’ll program in nodeJS, BunJS, or python.

    Then I’ll ask chatGPT via Rubberduck (link below) to generate a docker and docker compose live mount for my dependencies of my frontend and backends. Then I begin to iterate over my work.

    https://github.com/rubberduck-ai/rubberduck-vscode

    My latest flow is basically to start with chatGPT, write a four paragraph description of what I want, have it save me about five hours of boiler plate nonsense, and then disconnect from chatGPT to do the advance stuff like handle security, data structure relationships, etc. Sometimes I go back to chatGPT for how an algorithm should be implemented for efficiency inside a short snippet, then apply it again to my code. There was some great bloom filter work it was able to help me with.

    Other stuff I’ve been trying is like podman and I’m interested lately in Jenkins to do builds since I realized I have too many projects that build and work a particular way, I can’t Shepard them all by hand. With that will likely come unit testing, both hopefully assisted by AI to cut down on time. I’d like to reinvest that time on hankerrank and frontend masters to start transitioning to something like rust.