1
submitted 1 week ago by [email protected] to c/[email protected]

In CSGO you could change the difficulty setting for the bots. Can you adjust the difficulty setting for bots in CS2?

5
submitted 1 week ago by [email protected] to c/[email protected]

Are CSGO workshop maps not compatible with CS2? Does this mean that the 200+ custom workshop maps I have collected over the years are now no longer playable?

I cannot see any workshop maps in the game menu that I have subscribed and downloaded. I even tried to reinstall CS2 on my computer to see if that will fix the problem.

I am running CS2 on Ubuntu (Linux)

0
submitted 1 month ago by [email protected] to c/[email protected]

Upvote the issue on Github if you want to see this feature added into VSCode.

0
submitted 1 month ago by [email protected] to c/[email protected]

Upvote the issue on Github if you want to see this feature added into VSCode.

0
submitted 1 month ago by [email protected] to c/[email protected]

Upvote the issue on Github if you want to see this feature added into VSCode.

2
submitted 1 month ago by [email protected] to c/[email protected]

I am trying to create a podman compose of NGINX and PHP:FPM. I was able to get NGINX to work on its own using the docker.io./bitnami/nginx image. I gotten close I believe to getting the PHP:FPM to work also but due to an issue with NGINX not cooperating with the PHP:FPM.

In the logs of the NGINX container, I get this error every time I load localhost:8080 in the browser...

10.89.4.2 - - [24/Jul/2024:20:18:35 +0000] "GET / HTTP/1.1" 404 47 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0" "-"
2024/07/24 20:18:35 [error] 44#44: *1 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 10.89.4.2, server: localhost, request: "GET / HTTP/1.1", upstream: "fastcgi://10.89.4.3:9000", host: "localhost:8080"

And when I load localhost:8080 in the browser, it displays a blank page which says "File not found.".

I am using podman 5.1.2 on Linux Mint 21.3. My goal is to simply NGINX and PHP to work, to be able to have a web server that can use PHP.

Any advice would be most appreciated.


Directory structure

nginx-php/
   compose.yml
   nginx.conf
   php.dockerfile
   php.ini
   www/
      public/

compose.yml

version: '3'
networks:
    app-tier:
        driver: bridge
services:
    nginx:
        image: docker.io/bitnami/nginx
        volumes:
            - ./nginx.conf:/opt/bitnami/nginx/conf/server_blocks/my_server_block.conf:ro
            - .:/app/
        networks:
            - app-tier
        ports:
            - 8080:8080
    php:
        build:
            context: .
            dockerfile: php.dockerfile
        volumes:
            - .:/app/
        networks:
            - app-tier

nginx.conf

server {
    server_name localhost;
    listen 0.0.0.0:8080;
    
    root /app/www/public;

    index index.php index.html index.htm;
    autoindex on;

    location / {
        try_files $uri $uri/index.php;
    }

    location ~ \.php$ {
        fastcgi_pass php:9000;
        fastcgi_index index.php;
        include fastcgi.conf;
    }
}

php.dockerfile (Will like to get debugging and databases to work later on...)

FROM docker.io/bitnami/php-fpm

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

# Install mysqli
# RUN docker-php-ext-install mysqli
# RUN docker-php-ext-enable mysqli

# Install PDO
# RUN docker-php-ext-install pdo pdo_mysql

php.ini (Will like to get debugging and databases to work later on...)

[PHP]

extension=mysqli
extension=pdo_mysql


; xdebug settings for debugging
zend_extension=xdebug
xdebug.start_with_request = yes
xdebug.client_host=xdebug://gateway

10
submitted 1 month ago by [email protected] to c/[email protected]

I was able to setup a debugger using a launch mode using Visual Studio Code with the Bash Debug extension. Is it possible to setup the debugger in VSCode to be able to debug a bash script using a attach debug mode?

For debugging scripts on the host machine and scripts inside a docker container?

7
submitted 1 month ago* (last edited 1 month ago) by [email protected] to c/[email protected]

I was able to setup a debugger using a launch mode using Visual Studio Code with the Bash Debug extension. Is it possible to setup the debugger in VSCode to be able to debug a bash script using a attach debug mode?

For debugging scripts on the host machine and scripts inside a docker container?

2
submitted 1 month ago by [email protected] to c/[email protected]

I was able to setup a debugger using a launch mode using Visual Studio Code with the Bash Debug extension. Is it possible to setup the debugger in VSCode to be able to debug a bash script using a attach debug mode?

For debugging scripts on the host machine and scripts inside a docker container?

0
submitted 1 month ago by [email protected] to c/[email protected]

I was able to setup a debugger using a launch mode using Visual Studio Code with the Bash Debug extension. Is it possible to setup the debugger in VSCode to be able to debug a bash script using a attach debug mode?

For debugging scripts on the host machine and scripts inside a docker container?

[-] [email protected] 3 points 1 month ago

VSCodium > VSCode

1
submitted 2 months ago by [email protected] to c/[email protected]

When I use the --sourcemap argument in the CLI to generate the CSS builds with sourcemaps, when the CSS uses @include, it does not update the path and therefore will not work.

In the code below, the builds are stored in the dist directory, while the CSS source code is stored in the src directory.

This is my simple code to reproduce this...

- src/
   - stylesheet.css
- dist
   - my-package.css
   - my-package.css.map
- demo.html
- bundle.css
- package.json

bundle.css

@import 'src/stylesheet.css';

demo.html

<link rel="stylesheet" href="dist/my-package.css">

package.json

{
  "name": "my-package",
  "version": "1.0.0",
  "license": "MIT",
  "scripts": {
   "build": "lightningcss --sourcemap bundle.css -o dist/my-package.css"
  },
  "devDependencies": {
    "lightningcss-cli": "^1.25.1"
  }
}

src/stylesheet.css

body {
	background-color: red;
}

dist/my-package.css output

@import "src/stylesheet.css";

/*# sourceMappingURL=dist/my-package.css.map */

What I expected from the dist/my-package.css output

@import "../src/stylesheet.css";

/*# sourceMappingURL=dist/my-package.css.map */

Does anyone know why this is the outcome? Any help will be most appreciated.

0
submitted 2 months ago by [email protected] to c/[email protected]
[-] [email protected] 3 points 4 months ago* (last edited 4 months ago)

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!

[-] [email protected] 6 points 4 months ago

https://github.com/AgoraDesk-LocalMonero/agoradesk-app-foss/issues/296

Please upvote this issue if you want to see all the source code for AgoraDesk/LocalMonero be released!

[-] [email protected] 19 points 6 months ago* (last edited 6 months ago)

Please add the crypto addresses to the site sidebar under donations. You also may want to consider accepting BTC, BCH and LTC. Glad your accepting XMR though for private donations.

[-] [email protected] 54 points 7 months ago* (last edited 7 months ago)

Discord is the worst. Requires a phone number, does not allow email aliases and logs your chats.

Matrix and SimpleX is way better

[-] [email protected] 3 points 10 months ago

I am considering just renting a server. The benefit of self hosting over a VPN is that I control my server completely, and I am not renting a server that I cannot physically reach.

[-] [email protected] 4 points 10 months ago

I was thinking it would look like the steam deck but have a hdmi port (or usb-c port) for video and audio (or at least video) and a regular usb port for the controller. I am fine with being tethered to my pc since I can get long cords and I would prefer do use this monitor and controller without batteries if possible.

I will check out the portable monitors and see if I can make it work. My goal is to game in my bed before bedtime and I do not want to buy a big TV in my room just to have a clear picture.

[-] [email protected] 4 points 1 year ago

I wish session remade their client with flutter and made it feature rich like Element/Jami/SimpleX.

I like how sessions handles users IDs as seed phrases and also wishes sessions will allow you to manage multiple user IDs from a single seed phrase.

Nostr FTW!

[-] [email protected] 6 points 1 year ago

Otherwise -d does nothing different to the container, just runs the container "in the background" so you can continue entering other commands in the terminal without having to open another terminal tab or terminal window?

[-] [email protected] 3 points 1 year ago

To my understanding vertical scaling has limits which is the servers limitations as horizontal scaling if infinite since unlimited servers can be added

[-] [email protected] 5 points 1 year ago

What country is lemmy.world hosted in?

[-] [email protected] 7 points 1 year ago

Could Threads essentially cause a kinda DDOS attack onto other instances or bloating other instances with data?

view more: next ›

trymeout

joined 1 year ago