Fushuan [he/him]

Huh?

  • 0 Posts
  • 48 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.






  • HTTPS has way too much bloat for it to be relevant where SSH is used. Its a protocol to send hypertext in a secure way, SSH is a secure shell. Saying that we should use https out of all tools as a SSH replacement is wild.

    I call you a troll because is my kindest way to say that these opinions that you have are so out of touch with development since more than 30 years that your opinions are just wrong and you are saying them with such conviction that either you are intentionally misleading others for laughs (a troll) or it’s a worse alternative. Yeah I was avoiding having to scrutinize your inability to recognize how the programming world has evolved in the last 30 years. Hell, mobile phones didn’t really exist 30 years ago!


  • I really don’t need github in a box sir. I can use the command line just fine and if I need more my code editor interacts with git I show me a fine interface just fine. Spinning up a local web server to see how the vc is going seems like bloat. The Linux mantra is for each tool to be centralised around one task and fossil seems to be overreaching. It looks like they decided on the name appropriately, some old thing not relevant anymore the no one has heard about in a long time, a fossil.

    Addendum: You know that most lemmy clients, even the webview, don’t render the HTML tags, right?


  • 1995 is new to you? SSH is useful for way more thing than version control, you should be using it when interacting with remote servers in one way or another.

    You must be trolling. I can’t believe you just said that SSH is NOT the battle tested one. I just looked it up, git released in 2005 and fossil in 2006, it’s the newer tool! So, to your comment, literally no U.





  • I’ve not had those while working with concurrent programs with c++ for over a year. Pointers, QT programming, non-qt backend programming, coding an engine to work with computer vision runners (openvino mostly), image management (more pointers)… Idk, this is gonna sound rude but just code better? Most of my errors were segfaults, I have had to plug the debugger and/or tons of prints and I made it work.

    If you want to see giant error logs, check pyspark errors. But even those have the relevant line of info and then all the rest of the garbage info that no one really needs, like any other language.


  • Windows: exists

    Crowdstrike: exists

    Windows: open belly, right here!

    Crowdstrike: stabs

    Crowdstrike released bad code into prod without giving it some hours of testing in local machines or whatever. Incredible fuckup, inimaginable. But, let’s not take blame out of Microsoft, if a driver is faulty the system should be resilient enough no to crap the bed on login. At least enough for IT to be able to remotely access the system and fix it. The manual work the IT world has had to do because it’s lost remote access to workstations is insane.



  • I think that it’s about intolerance, some people are using a term in the intended non-slur manner, and others are intolerant about that rational desire. Even tolerant people shouldn’t torerate intolerance, so no, being pissed about people telling them to stop using the term in the intended non-slur way is not toxic.

    If that really hurts you, it’s a you thing. It’s not intentional, the meaning isn’t derived from the slur, it’s not a micro aggression. You won’t like the answer, but toughen up.


  • Because that’s like saying that “negro” is a slur when it’s being used in a Spanish textbook. No it’s a fucking color. Context is important and rewriting other languages because it seems hurtful in yours is super toxic.

    Master means supreme, master piece, the supreme piece, master ball, supreme ball, master key, the supreme key. It was used in slavery because the master was the supreme entity for the slaves, in a bad way. One specific use of a word doesn’t and shouldn’t cover the inherent meaning of it and as a consequence all of its uses.

    Tbh, I don’t care which name is used for the supreme branch, be it main or master because my team usually renames them to prod/uat/dev and branches as feature_etc, but saying that others are using racial slurs because they are using the old default that makes perfect sense is toxic.