• 0 Posts
  • 44 Comments
Joined 11 months ago
cake
Cake day: August 11th, 2023

help-circle


  • I don’t get the question.

    I usually use vscode to work with files. It has excellent remote editing over ssh. For example, I have large private collection of markdown notes that is kept on remote server.

    At work I deal with large GO project that targets Docker images and my setup is:

    • windows 11 laptop
    • WSL Debian with full systemd integration installed (that’s the hardest part)
    • visual studio installed on windows, I have no development tools on windows: no docker, no git, no GO compiler
    • debian on WSL has all the dev tooling: git, go lang, ssh server is turned on

    My workflow is to start Debian WSL and forget about terminal. Start vscode on windows, connect to Debian over ssh, open project directory. Work on project without ever leaving editor, use built in terminal in vscode. Fish runs inside vscode. Editor is primary. Fish is secondary and it excels at recalling history.

    Use each tool for what it was designed. No terminal will ever match my productivity in vscode. Vscode has all the fuzzy search built-in.

    I used to use vim for heavy coding, but abandoned that route 20 years ago. I am still able to use vim for quick short changes in config files, but anything serious is handled with visual studio code over ssh.

    Primary vim scenario:

    sudo vim /etc/config-file-name

    Vscode 1st approach is a modern day version of emacs approach Or vim with plugins. Only difference is vscode is actually low effort to get started on new machine, low learning curve, low maintenance effort unless you have sunken months into your terminal editor and refuse to abandon your investment.




  • Chinese currency took 53.6% of all Russian trade in May of this year.

    Compare this with just 1% 2 and a half years ago in the beginning of 2022.

    Russian financial system is already prepared for this scenario and absolutely no serious impact is expected to occur.

    These events (sanctions and switch in trade) will simply accelerate transition of Russian economy away from dollar in the trade.

    Russia and China already use each other’s currency to settle trade between each other. World manufacturing and world resource store are now exclusively connected and now fully control internal inflationary pressures.

    EU and US are not able to control price inflation and are forced to guard their economies through additional tariffs. For example, recent introduction of tariffs on Chinese made electric cars demonstrates loss of competitiveness of western economies. Cars are complex products that require a lot of energy to produce. As a result they are a good subject to aggregate economic efficiency.

    if this continues China and Russia may be able to dictate the rate of currency inflation in the non-dollar space (read BRICS future currency control).

    dollars that used to work inside Russia-China trade space are continuing to get pushed out into the dollar space and causing upward inflationary pressure on the dollar. This forces US Fed to keep pumping freed up dollars from the dollar system through elevated interest rates to keep inflation down in the dollar space.

    There are 1st signs of economic slowdown in US and fed is currently unable to react quickly due to the need to pump excess liquidity from the dollar system.

    So, all this impact on the dollar for a questionable impact on Russia.




  • Kualk@lemm.eetoLinux@lemmy.ml"Hardware Error" after power failure
    link
    fedilink
    arrow-up
    44
    arrow-down
    3
    ·
    edit-2
    1 month ago

    There’s so much incompetent advice here.

    CPU is fine.

    Linux is booting and tries to connect to TPM (trusted platform module).

    It has nothing to do with graphics card. Fact it is booting means CPU is most likely likely unaffected.

    TPM is most likely fried.

    Linux can run without TPM. Plenty of old boards were shipped with TPM socket, but without TPM itself.

    Best option is get manual for your motherboard and pull out that TPM.

    Any passwords stored there are lost, if you used it.

    If TPM is fine, then board pathway to it may be damaged. If that’s the case and you really need it, then board replacement is your option. But that’s only after good TPM was tried.





  • Gnome is simple. Gnome is native for GTK apps, which are majority. You can turn on classic taskbar, turn off virtual spaces, add minimize button and it is now a classic user experience.

    I don’t understand this obsession with Wayland vs X11.

    On Arch I choose Gnome and the underlying technology is picked for me based on hardware of the machine.

    I recall having X11, because I had nVidia card. I bought AMD video card and it started to run Wayland without any effort on my side. It was a while ago.

    Arch would require you to make more decisions, which may lead you into the woods. Use Manjaro, which made Arch tech decisions for you like choice of network management stack.

    I tried Manjaro last week on laptop. It has a polished user experience. Pick to use non-free drivers. Use Libre Office instead of free office. Install Firefox and chromium. Done.

    Gnome just added full search and it is included in Arch and shall be in Manjaro in less than 2 weeks.

    The advantage with rolling release for your parents is that you will never run install again. You will never need to upgrade version of Debian or Ubuntu. Just update OS every time you visit them, no more frequent than once every few months, not less than twice a year.

    Manjaro has polished software installation experience at graphical user interface level.


  • Gnome has been running user space applications just fine for me on Wayland, Arch Linux.

    There were some issues about 2 years ago. I have no complaints for last 12 months.

    Wayland is today’s life for some.

    • Steam gaming , proton and native
    • visual studio code
    • qemu running windows
    • app interrupting work to relax eyes
    • old mysql dashboard ui

    Basically, I have not seen app specific issues for my user flow.


  • Kualk@lemm.eetoSelfhosted@lemmy.worldI broke nextcloud and i cant fix it
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    9
    ·
    6 months ago

    This is a major reason to use simpler technology.

    I can’t help you, but i had a similar experience with similar technology. I spent lots of time recovering content. I succeeded, but i have software development experience. I didn’t want a repeat of that.

    In the end I picked windows file sharing for home networking and filebrowser for occasional access to data files from outside of home networking.

    Web dav is a very good alternative. Apache web server will be easier, but nginx can be made to work.

    Joplin is another good alternative, which is based on web dav.

    You can pay around $2-$3 a month to shared services provider for hosted web dav.


  • You can pay for dreamhost, namecheap or any other shared hosting plan that provides WebDAV. Some provide unlimited storage. I am not sure how realy unlimited it is.

    Buy domain and host empty website. Turn on ssl using hosting tools. Dreamhost provides you with free certificate for that. Namecheap charges after 1st year.

    Create directory on the website using hosting tools and turn on webdav on that directory. It can be password protected. Turn on password protection and disable public access using hosting tools.

    That will give you a disk that can be mounted on Windows, Linux or mac without additional software. On iOS you will need an app like OwlFiles. You will have access to it From home or coffee shop. Anywhere. It will act as your remote storage and you can access it using Explorer or Finder. Most tools will read content of remote disk without any restrictions.

    Create another directory and leave public access to have public sharing directory only you can change (keep passwords).

    Create another directory or use one of your private subdirectory with application Joplin and you get free and open source notes and todo system. That system can encrypt all your notes with master password. I recommend it: https://joplinapp.org

    The might be other apps…



  • That’s right. I should have been clearer.

    It is not easy when your kids want to play Roblox with friends and Roblox only runs Windows.

    Yes, I could have tried proton, but I don’t want to deal with issues. I tried running windows only games on linux. The user experience is far from ideal. More frequent crashes, other issues.

    These days kid’s download free games they want. I could not have that on Linux.