Skip Navigation
Since DAI is currently being destroyed
  • I think stablecoins will always have a centralized point of failure. Weather it is an algorithm, or having the coin backed by the actual asset.

    I think the best stablecoins are backed by the asset 1 to 1 or a little more then 1 to 1. Most stablecoins that do this are token on smart chain contracts which have another vulnerability which is being a smart contract. Smart contracts could contain a vulnerability and if it does have a vulnerability, a new contract will need to be made and users will have to switch their old token to the new tokens. Also censorship is an issue. https://cryptonews.com/news/tether-takes-action-blacklists-validator-address-linked-25-million-mev-bot-drain-heres-what-happened.htm

    And these stablecoins are not private. The only private stablecoin platform out there is Haven but Haven assets are not backed 1 to 1.

    I hope there are plently of stablecoins issued on Zano in the future. Zano allows you to create an asset without creating a smart contract. All assets on Zano are private. I would like to see Tether, USDC and other issue stablecoins on Zano. Trusting the issuers on backing the stablecoin and trusting the issuer to secure their private keys to prevent hackers from inflating the asset will be the only vulnerabilities, but you will have privacy and a censorship resistant stablecoin!

  • Alternative to LocalMonero?
  • If the AgoraDesk source code is released? Maybe? It can help anyone who wants to create a P2P trading platform. I think Haveno is written in Java and I have a hunch that AgoraDesk back end is not in Java.

  • AgoraDesk/LocalMonero is shutting down. Please release all of the source code for AgoraDesk/LocalMonero!
    github.com Please open source all source code (Back end, website) · Issue #296 · AgoraDesk-LocalMonero/agoradesk-app-foss

    It is sad to see AgoraDesk shutdown. Please open source all the code to allow someone else to setup an alternative to AgoraDesk without having to build the whole thing from scratch.

    Please open source all source code (Back end, website) · Issue #296 · AgoraDesk-LocalMonero/agoradesk-app-foss

    AgoraDesk/LocalMonero is shutting down 😞

    Their app is fully open source and is a slick app written in Flutter.

    Upvote this request on their github if you show interest in AgoraDesk/LocalMonero in releasing all of their source code for the back end as well. It is a long shot but if AgoraDesk/LocalMonero is going to shutdown, maybe they will release their source code to allow someone else to launch a new P2P trading platform that is a fork of AgoraDesk/LocalMonero and can do so with less work.

    8
    Do we need Live Reload (Watch) in bundlers?

    Do we need live reload feature in bunders? Couldn't we just use this extension for Visual Studio Code or simular features and extensions in other IDEs which will execute a custom command of your choice when you save a file with a certain file extension in your IDE?

    https://marketplace.visualstudio.com/items?itemName=emeraldwalk.RunOnSave

    This extensions allows you to customize the commands to execute in saving a file in your global VSCode settings and in the VSCode workspace settings .vscode/settings.json, allowing others to use the same configuration in group projects.

    Lightning CSS does not have a live reload feature and the live reload feature in Rollup cannot handle watching many files, however using this extension in VSCode, will not watch files but run the npm run dev:css or npm run dev:js command when saving a css or js file without watching for files to change.

    One downside I see with this is when working on a project with others who are using different IDEs that do not support this feature. Besides that, is there any downsides to this approach?

    6
    Upgrading from Windows 10 to Windows 11?

    I have an active Windows 10 key on my system with Windows 10 installed and I keep getting prompt on startup to upgrade to Windows 11.

    I have ignored these upgrades since I am not sure if I decided to upgrade to Windows 11, will my Windows 10 key no longer work for Windows 10 installation and only work for Windows 11 installations going forward once I upgrade?

    4
    php with xdebug: Unable to debug console PHP in Visual Studio Code when using podman (Works in Docker)
  • I fiddle around with podman some more and found that changing these two things will make debugging work with podman. However this will force the container to use the host network and therefore the container will not get its own network space.

    Not sure if this is a good way to go about it for a PHP development environment or if there is a better way to achieve this. The problem with docker setup in the original post compared to podman is when using those steps for podman, the debugger cannot connect to the IDE (VSCode) since the podman container network is isolated as its own network.

    If anyone else knows of a better way to go about this, please do share

    Terminal command to create container

    podman container create --name my-container -v ./app/:/usr/src/app/ -v .:/usr/local/etc/php/ -w /usr/src/app/ --network=host -it my-php-image
    

    php.ini

    xdebug.client_host = "host.containers.internal"
    
  • php with xdebug: Unable to debug console PHP in Visual Studio Code when using podman (Works in Docker)

    I am unable to get the VSCode debugger to work with PHP running in a podman container. I was able to set this up using Docker by following these steps...

    1. Create php.dockerfile (Dockerfile)
    2. Create php.ini
    3. Add VSCode debugging launch configuration to VSCode settings.json
    4. Create container in Docker
    5. Start container
    6. Open workspace folder of the PHP script in VSCode
    7. Add breakpoints in the PHP script in VSCode
    8. Start Debugger in VSCode
    9. Run PHP script in docker container which will trigger the debugger in VSCode

    I believe it is due to some networking setup with Podman which requires additional configuring for the debugger attach itself to the PHP script in the Podman container.

    Any help will be most appreciated.

    Dockerfile php.dockerfile

    FROM docker.io/php:cli

    # Install xdebug for nicer error messages RUN pecl install xdebug RUN docker-php-ext-enable xdebug

    php.ini

    [PHP]

    ; xdebug settings for debugging zend_extension=xdebug xdebug.mode=debug xdebug.client_host=xdebug://gateway

    VSCode debugger launch config...

    "launch": { "configurations": [ { "name": "PHP (Container): Terminal", "type": "php", "request": "launch", "pathMappings": { "/usr/src/app/": "${workspaceFolder}" } } ] },

    Terminal commands to set this all up and run the script

    $ docker image build -t my-php-image -f php.dockerfile . $ docker container create --name my-container -v ./app/:/usr/src/app/ -v .:/usr/local/etc/php/ -w /usr/src/app/ -it my-php-image $ docker container start my-container $ docker container exec -it my-container php -d xdebug.start_with_request=yes test.php

    1
    vlock timeout inactivity

    Is there an easy way to enable a inactivity timer when using a TTY like in Ubuntu Server for when there has been no inactivity for X seconds, it will execute vlock and lock the TTY.

    1
    How do I structure a library for NPM (With modules)

    Lets say I have a simple JS library. Most of the JS code is inside an object named after the library with the properties being the method functions. Some of these method functions require other method functions (Example, methodC() requires methodA()).

    const myLibrary = { methodA: function() {...}, methodB: functiom() {...}, methodC: function() {...}, methodD: function() {...} }

    How would I split these methods up into modules and split up this code into multiple files to make it a standard file structure for a NPM package. Currently all of the code is in one large JS file, and it could be broken down into modules. I would like to keep it all in the one object myLibrary like most NPM packages which when used, have the following syntax...

    myLibrary.methodB(true, true);

    Were all the methods are contained inside a object.

    Any help will be most appreciated.

    1
    Server/Headless Linux: enable automatic login to a user on boot but when the user logs out, it will not re-login back into the user?
  • Changing Type=oneshot and adding RemainAfterExit=yes underneath does not allow me to boot into my system. I get this as the last terminal message

    [ OK ] Reached target Cloud-init target.
    

    No biggie to fix since I did this in a Virtual machine and could restore to an older snapshot.

  • Linux 101 stuff. Questions are encouraged, noobs are welcome! @lemmy.world trymeout @lemmy.world
    Server/Headless Linux: enable automatic login to a user on boot but when the user logs out, it will not re-login back into the user?

    On Ubuntu Server and Arch I was able to change the following line in /lib/systemd/system/getty@.service

    # Before ExecStart=-/sbin/agetty -o '-p -- \\u' --noclear %I $TERM

    # After ExecStart=-/sbin/agetty --noissue --autologin john %I $TERM Type=idle

    And it works, that it will login to the user john but when I logout of the user john with using exit in the terminal, it logs john back in. Is there a way to change this ExecStart setting to enable auto login for a user on startup but only on startup?

    1
    Server/Headless Linux: enable automatic login to a user on boot but when the user logs out, it will not re-login back into the user?

    On Ubuntu Server and Arch I was able to change the following line in /lib/systemd/system/getty@.service

    # Before ExecStart=-/sbin/agetty -o '-p -- \\u' --noclear %I $TERM

    # After ExecStart=-/sbin/agetty --noissue --autologin john %I $TERM Type=idle

    And it works, that it will login to the user john but when I logout of the user john with using exit in the terminal, it logs john back in. Is there a way to change this ExecStart setting to enable auto login for a user on startup but only on startup?

    3
    Enable Wake On LAN (WOL) On Full Disk Encryption Boot To Ensure WOL Is Enabled If System Is Rebooted On Full Disk Encryption Unlock Menu
  • I do use dropbear-initramfs. However the issue if I power off or the power goes out while I am unlocking the computer, I will be unable to reboot the computer using WOL. Is there something like dropbear-initramfs but instead of it being a SSH server for the LUKS lockscreen, it is a WOL enabler?

  • Content Licensing and Attribution Section?

    When using dependencies such as NPM packages, Composer packages. Weather you use a CDN or host the packages on the web server, don't many packages out there require you to display the licenses of the package being used and show attributions?

    How would one place this on their website? I even went to several websites to see how they do this and could not find a section and I am sure these website use packages that require the license to be listed and list the attributions.

    I can find the licenses and attributions of packages used in many applications on desktop and mobile, usually in the apps "about" page.

    2
    Linux 101 stuff. Questions are encouraged, noobs are welcome! @lemmy.world trymeout @lemmy.world
    Enable Wake On LAN (WOL) On Full Disk Encryption Boot To Ensure WOL Is Enabled If System Is Rebooted On Full Disk Encryption Unlock Menu

    I have gotten Wake On LAN (WOL) setup and working. However my machine is a Ubuntu machine using full disk LUKS encryption which means when booting it up, it requires a password/passphrase to unlock the machine before it boots into Ubuntu. The WOL systemD service I created will always make sure WOl is enabled for the next time the machine reboots, however if I reboot the machine and fail to unlock the device on the full disk encryption menu and the machine shut down, WOL will not be enabled which means WOL is not going to work to turn on the machine again.

    Is there a way to enable WOL on the system full disk LUKs encryption lock screen?

    1
    Enable Wake On LAN (WOL) On Full Disk Encryption Boot To Ensure WOL Is Enabled If System Is Rebooted On Full Disk Encryption Unlock Menu

    I have gotten Wake On LAN (WOL) setup and working. However my machine is a Ubuntu machine using full disk LUKS encryption which means when booting it up, it requires a password/passphrase to unlock the machine before it boots into Ubuntu. The WOL systemD service I created will always make sure WOl is enabled for the next time the machine reboots, however if I reboot the machine and fail to unlock the device on the full disk encryption menu and the machine shut down, WOL will not be enabled which means WOL is not going to work to turn on the machine again.

    Is there a way to enable WOL on the system full disk LUKs encryption lock screen?

    6
    The case for dropping old blocks to keep Monero blockchain size under control and future proof
  • I think all cryptocurrency blockchains that function as money or store of value should do this. However I think 1 years worth is better than 10 years worth of data, or perhaps even less than a years worth of data.

    As long as the blockchain size remains small enough for the adverage Joe to store the entire chain onto their mining computer for when or if Monero reaches mainstream mass adoption usage. By mainstream mass adoption I mean Monero is used as much as Visa or Mastcard is globally which I would assume will mean that Monero will need to handle 1 million transactions per second.

  • A working volume on a single file, not a directory?
  • When I change the path to this...

    docker container create --name nginx -v $(pwd)/nginx.conf:/etc/nginx/conf.d/nginx.conf -v $(pwd):/app/ -p 80:80 docker.io/nginx

    It does not seem to make a difference since when I go to localhost in my browser, I am still greeted with the "Welcome to nginx!" page.

  • A working volume on a single file, not a directory?

    Is it possible to create a volume that is a file, not a directory?

    I am trying to make a simple structured nginx instance with docker. Using this command below to create the container...

    docker container create -v ./nginx.conf:/etc/nginx/conf.d/nginx.conf -v .:/app/ -p 80:80 docker.io/nginx

    And this is the file structure of it...

    ```

    • www -------------- public ---------------------------- index.html
    • nginx.conf ```

    And this is the nginx.conf

    ``` server { server_name localhost; listen 80;

    root /app/www/public;

    index index.html index.htm; autoindex on; } ```

    However the index.html will not work when I go to the localhost.

    When I change the docker command to this it does work however, but this will also mirror all of the files and folder from my file structure into the containers /etc/nginx/conf.d/ directory

    docker container create -v .:/etc/nginx/conf.d/ -v .:/app/ -p 80:80 docker.io/nginx

    3
    End-To-End Encrypted (EE2E) Websites?
  • I may at times only have access to HTTP only (No HTTPS) which is one of the reasons why I want another form of encryption.

    Encryption with most VPNs are more secure than HTTPS. Yes, the connection between the VPN server and the web server is not encrypted with the VPN and only HTTPS. However the encryption between the VPN and personal device is superior, not because it is relayed. My understanding is that HTTPS is "secure" for basic use, just like Windows 11 is secure. But not secure from five eye agencies unlike VPNs and other like systems like Tor and I2P.

    My goal is to have a user connect to a web server and have it not possible for the web server to know what is going on, nor can anyone snooping the packets in transit know what is going on. Not know the HTML structure, form field data, etc.

  • End-To-End Encrypted (EE2E) Websites?
  • Mega is a good example of what I want to learn to create. Not just to transfer files, but for what text is displayed on the page and the form field values and have it so that the server admins cannot decrypt and is encrypted this data in transit.

  • End-To-End Encrypted (EE2E) Websites?

    Is there a way to develop and website using JS (and perhaps PHP) to create an E2EE website. Were all packets sent between the server and the userw device are E2EE, wrapped in a layer of encryption?

    I know there is HTTPS but I am looking for something stronger than HTTPS.

    By using some JS or PHP E2EE package, would I have to write or structure the website code very differently than you normally would?

    18
    Looking for a GUI text editor with SSH support
  • Isnt X being replaced with wayland? I may do that in the future once wayland is more adopted.

    However I would like to achieve this on headless servers with no GUI at all.

    I prefer using Rustdesk if I have to remote into a machine and see the machines GUI.

  • Looking for a GUI text editor with SSH support

    I am looking for a GUI text editor on Linux with a GUI which will allow me to connect to other machines via SSH and edit text files on these machines.

    Is there such a thing or is there another way to do this with an encrypted connection?

    17
    Copy usernames and communities URL and lemmy address
    github.com Copy usernames and communities URL and lemmy address · Issue #1054 · thunder-app/thunder

    Is your feature request related to a problem? Please describe. A way to copy the URL and lemmy address (@me@lemmy.world, !thunder_app@lemmy.world) of a user and community Describe the solution you'...

    Copy usernames and communities URL and lemmy address · Issue #1054 · thunder-app/thunder

    A way to copy the URL and lemmy address (@me@lemmy.world, !thunder_app@lemmy.world) of a user and community

    0
    Explore
    github.com Explore · Issue #1053 · thunder-app/thunder

    Is your feature request related to a problem? Please describe. No way to explore an instance or the fediverse. Describe the solution you'd like In the search tab, when you do not have anything type...

    Explore · Issue #1053 · thunder-app/thunder

    In the search tab, when you do not have anything typed in the search box, you can explore all of the communities, users, posts and comments.

    You can filter this out with the filters by only exploring the local instance, the entire fediverse, etc.

    1
    Sort comments in date/time order
    github.com Sort comments in date/time order · Issue #1052 · thunder-app/thunder

    Is your feature request related to a problem? Please describe. A comment sorting option called "Chat" and "Forum" Describe the solution you'd like On the official Lemmy web UI, you can sort comment...

    Sort comments in date/time order · Issue #1052 · thunder-app/thunder

    A comment sorting option called "Chat" and "Forum"

    On the official Lemmy web UI, you can sort comments by Hot, Top, New, Old and Chat. Please add a Chat sorting option.

    Also, please add a "Forum" sorting option which will be the same as Chat except in reverse, showing the oldest comment first to the newest comments last, and will be ordered like a forum thread.

    https://github.com/LemmyNet/lemmy-ui/issues/602

    0
    [Completed] Upvote/downvote sum for posts
    github.com Upvote/downvote sum for posts · Issue #1051 · thunder-app/thunder

    Is your feature request related to a problem? Please describe. Upvote/downvote sum option for posts Describe the solution you'd like A setting to display Upvote/downvote sum for posts instead of up...

    Upvote/downvote sum for posts · Issue #1051 · thunder-app/thunder

    A setting to display Upvote/downvote sum for posts instead of upvote/downvotes

    Has been done for comments, please add this for posts.

    COMPLETED: Thanks to hjiangsu on Github https://github.com/thunder-app/thunder/pull/1077

    1
    All Search Type
    github.com Add All Search Type · Issue #1050 · thunder-app/thunder

    Is your feature request related to a problem? Please describe. An all search type to be able to search for communities, users, posts and comments all at once. Describe the solution you'd like To ad...

    Add All Search Type · Issue #1050 · thunder-app/thunder

    An all search type to be able to search for communities, users, posts and comments all at once.

    0
    Remove useless search option filters
    github.com Remove useless search option filters · Issue #1049 · thunder-app/thunder

    Is your feature request related to a problem? Please describe. There a certain filters in the search option that are not needed Describe the solution you'd like Please remove the following search o...

    Remove useless search option filters · Issue #1049 · thunder-app/thunder

    Please remove the following search options as they do nothing...

    • Communities -> Community (Cannot search for communities inside a community)
    • Communities -> Creator (Cannot search for users inside a community)
    • User -> Feed (Subscribed) (You cannot subscribe to users)
    • User -> Community (Cannot search for a community inside a users)
    • User -> Creator (Cannot search for users inside a users)
    0
    InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)TR
    trymeout @lemmy.world
    Posts 103
    Comments 54