Fushuan [he/him]

Huh?

  • 1 Post
  • 398 Comments
Joined 2 years ago
cake
Cake day: July 1st, 2023

help-circle
  • the main issue presented in the meme is that python is “weird” because it doesn’t have a default launch entrypoint like rust (I think) and c/c++. Both are compiled languages and python is generally not. When python is used in a compiled manner (wheels) however, it also does have a way to specify entrypoints, so the meme is comparing specifically compiled languages with interpreted scripting languages.

    However, python is not weird at all about not having a general entrypoint in the scripting interpreted form, because all the other interpreted scripting languages work like that! Examples include all shell script languages like bash, zsh or fish, and other languages like javascript or R are similar.

    The one I responded to however stated that they don’t care that bash is similar because bash is also “insane” or “not sane”, but as previously stated in this comment, all scripting languages have a lack of a funcion based entrypoint for their scripts, so I wonder which language are they using for their fast scripting if even bash is “not sane” for them.

    My underlying point that i was trying to make in my first comment on this chain is that complaining that tools that are used in different use-cases are not similar is a pretty uneducated take that clearly shows a lack of diverse experience in the field.

    Note: In my first comment on this chain I was expanding upon the comment of the one I responded to, as you can see that they are making a similar point when specifying that python’s example is a different thing than the ones on top.


  • You mean the “want to be zsh but with a specific config instead of having the liberty to do anything” shell? /s

    Jokes aside, regardless of your shell of choice, in companies there are tons of scripts that launch programs, processes and so on, that will generally be coded in bash. Scripts that process files, take the output, send emails… All in a single script. The shell of remote nodes won’t be zsh or fish, it will be bash, and a lot of them won’t even have vim installed, only vi. Like it or not, bash is heavily used in a looot of places.




  • I’m gonna repeat what I wrote in another comment. You are comparing the default interpreted way of running pythong to a compiled language. When you compile a python program into a wheel, you define the entry points of the code on it, and they point to functions like main() or whatever you define.

    You aren’t complaining that a index.js doesn’t automatically run the main function when run by node, or that bash doesn’t also have a default main function execution. Interpreted languages oriented to scripting won’t have the same rules as compiled languages.

    programming languages aren’t usually cursed, what’s cursed is the way some people decide to structure their programs. I’ve seen some stuff.




  • Oh, but I will. For it to be a fork of enby, it’s fucking amazing how bad the androidTV app is in comparison. The media player has improved,but its still way slower then using an external one,which is weird. It also freezes for a solid 5 seconds minimum every time I swap subtitles (while the vlc external player does it on the fly), and it makes me change subtitles every single time I load a chapter. Envy’s player lets the user set a preferred subtitle language and it makes an effort to preselect one. Not only that,but you can seal that on a series basis and you can select the subtitle before starting the video on the user interface.

    It has improved since I last tried it and at least it doesn’t die while transcoding or whatever, but the difference in performance of the android app/web version to the androifTV app is crazy. It would be better to adapt the android/web version of the app the manage a TV input than make the androidTV app actually useable…

    Besides that its amazing :)

    I rescind most of what I said because I just checked that the android app has TV casting (it didnt last time I checked) and the android app does have the preselecting and the player is waaaay smoother. Its comical that casting is a better user experience then using the native app but whatever.










  • A minute long test sounds awfully short for something that will cost millions if it fails.

    Testing in real life when failure is so expensive is less than ideal, any controlled closed environment is better if it means you avoid failure. The very next paragraph from the one I quoted mentions how another rocket spent weeks in testing this specific matter and was delayed because they found the issue.

    I’m paraphrasing what i read some NASA dude said about spaceX, but basically, if they failed as much as spaceX did they would be out of their jobs yesterday. Also, you know who takes the cost of these failures right? It’s the US government through all the expensive spaceX contracts and tax breaks they sign. Each blown rocket makes the contract renewal more expensive.