25
submitted 1 month ago* (last edited 1 month ago) by alexdeathway@programming.dev to c/python@programming.dev

I read some articles about using a virtual environment in Docker. Their argument are that the purpose of virtualization in Docker is to introduce isolation and limit conflicts with system packages etc.

However, aren't Docker and Python-based images (e.g., python:*) already doing the same thing?

Can someone eli5 this whole thing?

[-] alexdeathway@programming.dev 29 points 3 months ago* (last edited 3 months ago)

Bare Metal, they are injecting Ethernet cable directly into their bloodstream.

[-] alexdeathway@programming.dev 31 points 4 months ago
21
submitted 4 months ago* (last edited 4 months ago) by alexdeathway@programming.dev to c/experienced_devs@programming.dev

understanding a big codebase you have never worked.

[-] alexdeathway@programming.dev 201 points 4 months ago* (last edited 4 months ago)

First one are method name, second one are status name.


def open_file_dialog(self):
       self.dialog_file_open = True
       pass

Yoda level preference war.

[-] alexdeathway@programming.dev 30 points 5 months ago* (last edited 5 months ago)

Obsidian 1:1 open source alternative.

20
submitted 5 months ago* (last edited 5 months ago) by alexdeathway@programming.dev to c/opensource@lemmy.ml

I want to do this kind of transfer.

host/client A:
     dir:
          - file a
          - file b
          - file c
          - file d [host B][download]


host/client B:
     dir:
          - file a[ host A] [download]
          - file b[ host A] [download]
          - file c[ host A] [download]
          - file d 

Also, I am not looking for syncthing, I need something which syncs meta data(not sure if this is the right word) not the actual files., and option to download individually or as per selection and run in background like KDE CONNECT.

65

I have read quite a few posts about preventing account password takeover from various malicious ways, and many OPSEC measures are there to prevent it from happening.

Consider a case where you face a total blackout or technical failure. Now, you need to log in to your password manager, which requires either OTP on email or TOTP. You don't have access to the TOTP app because the backup is stored in cloud storage, whose email login also requires OTP.

How would you prevent such from happening?I haven't found a satisfactory solution or explanation for that yet.

[-] alexdeathway@programming.dev 37 points 6 months ago

why would they do this, doesn't that reduce the quality of training dataset?

[-] alexdeathway@programming.dev 45 points 6 months ago* (last edited 6 months ago)

My Firefox package updates are usually slow, limiting downloads to <500kb. So, whenever the download speed used to drop, I knew Firefox released an update.

So when the XZ articles started popping up, the first thing I did was verify all sources.

https://programming.dev/post/12370824

12
submitted 6 months ago* (last edited 6 months ago) by alexdeathway@programming.dev to c/firefox@lemmy.ml

Operating system: Linux Mint Package manager: APT

We are here talking about updating Firefox, which comes pre-installed with the OS.

While other packages go up to 13 MB/s, Firefox downloads remain at a maximum of 500 kB.

Get:1 http://packages.linuxmint.com virginia/upstream amd64 firefox amd64 124.0.2+linuxmint1+virginia [74.3 MB]

Should I switch to different source?

[-] alexdeathway@programming.dev 41 points 6 months ago

is he talking about lego bridges?

10
submitted 7 months ago* (last edited 7 months ago) by alexdeathway@programming.dev to c/webdev@programming.dev

I am working on a personal website that loads perfectly on Chrome and Chromium-based browsers but crashes or doesn't bother to render on Firefox and Firefox-based browsers. I'm unable to narrow down the issue.

This issue doesn't occur in any mobile device browser(firefox or chrome).

website: https://gecom.alexdeathway.me

source code: https://github.com/alexdeathway/gecom

[-] alexdeathway@programming.dev 29 points 7 months ago* (last edited 7 months ago)

Trick question?

attribute error

[-] alexdeathway@programming.dev 125 points 7 months ago
[-] alexdeathway@programming.dev 26 points 7 months ago

That makes sense, She just randomly got recommended in my feed and her way of explaining things was enthusiastic so thought of sharing it here with the community, not affiliated with the channel or her in any way.

66
submitted 7 months ago* (last edited 7 months ago) by alexdeathway@programming.dev to c/linux@lemmy.ml
25
Alternative to s3? (programming.dev)

Which has a dashboard and can of course be self-hosted.

6
submitted 7 months ago* (last edited 7 months ago) by alexdeathway@programming.dev to c/webdev@programming.dev

it's weird, as files being buffered are less than 100kb and the network is fast on the client side.

log:

[warn] 9#9: *10937 an upstream response is buffered to a temporary file /var/cache/nginx/proxy_temp/5/09/0000000095 while reading upstream, client: , server: gecom.alexdeathway.me, request: "GET /static/fonts/fontawesome6/webfonts/fa-solid-900.woff2 HTTP/1.1", upstream: "http:///static/fonts/fontawesome6/webfonts/fa-solid-900.woff2", host: "gecom.alexdeathway.me", referrer: "https://gecom.alexdeathway.me/static/fonts/fontawesome6/css/solid.css"

15
submitted 8 months ago* (last edited 8 months ago) by alexdeathway@programming.dev to c/programming@programming.dev

I am talking about the services which let you monitor the status of a website whether the website is up and operational or down or under heavy load.

how do they work under the hood?

for example:

https://githubstatus.com

https://instatus.com

I am building something similar for monitoring my web projects.

19
submitted 8 months ago* (last edited 8 months ago) by alexdeathway@programming.dev to c/opensource@lemmy.ml

Already using Termius and xpipe, also what are good practices for backing or migrating config from one system to another?

9

was reading this update by modular

https://www.modular.com/blog/outperforming-rust-benchmarks-with-mojo?_hsmi=293164411

Since we know Mojo isn't open-sourced yet, how much of benchmarks we can trust?

[-] alexdeathway@programming.dev 76 points 10 months ago

Npm packages in docker

view more: next ›

alexdeathway

joined 10 months ago