[-] oscar@programming.dev 3 points 1 day ago

Ooh, neat. There's also puepy, which was linked further down in this thread. It's really cool to see more WASM projects pop up.

[-] oscar@programming.dev 7 points 1 day ago

Somebody should write a python to javascript transpiler for the web...

(please don't actually do that)

[-] oscar@programming.dev 12 points 1 month ago* (last edited 1 month ago)

You're not wrong, but it bugs me when my ratio drops, so I always seed everything I download. I have a pretty good internet service though.

My stats:

[-] oscar@programming.dev 14 points 4 months ago

Since people keep bringing up tauri, here's the comparison made in the README:

Dioxus vs Tauri

Tauri is a framework for building desktop (and soon, mobile) apps where your frontend is written in a web-based framework like React, Vue, Svelte, etc. Whenever you need to do native work, you can write Rust functions and call them from your frontend.

  • Natively Rust: Tauri's architecture limits your UI to either JavaScript or WebAssembly. With Dioxus, your Rust code is running natively on the user's machine, letting you do things like spawning threads, accessing the filesystem, without any IPC bridge. This drastically simplifies your app's architecture and makes it easier to build. You can build a Tauri app with Dioxus-Web as a frontend if you'd like.

  • Different scopes: Tauri needs to support JavaScript and its complex build tooling, limiting the scope of what you can do with it. Since Dioxus is exclusively focused on Rust, we're able to provide extra utilities like Server Functions, advanced bundling, and a native renderer.

  • Shared DNA: While Tauri and Dioxus are separate projects, they do share libraries like Tao and Wry: windowing and webview libraries maintained by the Tauri team.

[-] oscar@programming.dev 12 points 8 months ago* (last edited 8 months ago)

It's when you open a publicly facing port and map (forward) it to a local port your machine. In this case, it's opened at the vpn provider's public gateway. Otherwise, it would typically be opened in your router instead.

You can then configure your torrent client to listen on that local port that the public port is forwarded to. I think generally the public and the local port are the same number when using VPN.

If you do that, then others have the ability to initiate a connection to you instead of only you being able to initiate the connection to somebody else.

When seeding/leeching to/from someone else, at least one of you needs a port open. So, if you always have one open, you allow yourself to connect to anyone on the network regardless if they have one open or not.

Sorry if I confused you more, I'm not that great at explaining.

[-] oscar@programming.dev 31 points 8 months ago

So you have never iterated over command line arguments and tried to identify options? Or taken a string input field?

[-] oscar@programming.dev 19 points 11 months ago

Ah yes, because rich == bad

It's possible to be successful and have a good influence on the industry. Valve is the perfect example of that.

[-] oscar@programming.dev 13 points 1 year ago

It seems to me that you misunderstand what artificial intelligence means. AI doesn't necessitate thought or sentience. If a computer can perform a complex task that is indistinguishable from the work of a human, it will be considered intelligent.

You may consider the classic turing test, which doesn't question why a computer program answers the way it does, only that it is indiscernable from a human response.

You may also consider this quote from John McCarthy on the topic:

Q. What is artificial intelligence?

A. It is the science and engineering of making intelligent machines, especially intelligent computer programs. It is related to the similar task of using computers to understand human intelligence, but AI does not have to confine itself to methods that are biologically observable.

There's more on this topic by IBM here.

You may also consider a few extra definitions:

Artificial Intelligence (AI), a term coined by emeritus Stanford Professor John McCarthy in 1955, was defined by him as “the science and engineering of making intelligent machines”. Much research has humans program machines to behave in a clever way, like playing chess, but, today, we emphasize machines that can learn, at least somewhat like human beings do.

Artificial intelligence (AI) is the field devoted to building artificial animals (or at least artificial creatures that – in suitable contexts – appear to be animals) and, for many, artificial persons (or at least artificial creatures that – in suitable contexts – appear to be persons).

artificial intelligence (AI), the ability of a digital computer or computer-controlled robot to perform tasks commonly associated with intelligent beings

[-] oscar@programming.dev 29 points 1 year ago* (last edited 1 year ago)

𝕏 (U+1D54F) and/or 𝕩 (U+1D569)

If you search blackboard bold or double-struck letters you can find more.

[-] oscar@programming.dev 17 points 1 year ago

I'm a simple man, I just search directly in qbittorrent.

[-] oscar@programming.dev 23 points 1 year ago

Depends on the devs but I reckon they won't use the API.

37
submitted 1 year ago* (last edited 1 year ago) by oscar@programming.dev to c/python@programming.dev

I stumbled upon this while researching package management options for python, and found it a really interesting read.

I like python as a language but this mess is something that needs to be addressed for me to consider python for future projects. I can't imagine how confusing it must be for new users.

view more: next ›

oscar

joined 1 year ago