Jump to content

LogMAN

Members
  • Posts

    717
  • Joined

  • Last visited

  • Days Won

    81

Posts posted by LogMAN

  1. 10 hours ago, Bean said:

    This is an important point.  One thing I've noticed with Google Trends is to be careful about selecting their suggested search term categories.  For example, "Python" vs. "Python Programming language" graphs look very similar; however, "C++" vs. "C++ High-level programming language" look very different.  Maybe it's the addition of "High-level" in the case of C++.  Either way, I like to look at the raw data so we're not prematurely filtering.  We can intuit some things from the shape of the graphs.

    Completely agree.

    10 hours ago, Bean said:

    For example, are many more people searching for the python snake vs. the programming language today vs. 20 years ago?  Are people searching for "C++" for some other reason than the programming language?  Keeping these things in mind and looking at the raw plots, while risky, is at least a "known" risk.  What is "unknown" is how Google is deciding when a "C++" raw search gets categorized as a "High-level programming language".

    I wonder how the number of people with internet access affect the data. In the past the percentage of technology-agnostic people was probably higher on average than nowadays. Especially for niche topics like LabVIEW.

    Quote

    What’s most useful for storytelling is our normalized Trends data. This means that when we look at search interest over time for a topic, we’re looking at that interest as a proportion of all searches on all topics on Google at that time and location.

    -- What is Google Trends data — and what does it mean? | by Simon Rogers | Google News Lab | Medium

    It also makes a difference whether you look at global data or just a specific area. For example, interest for LabVIEW in China and USA are somewhat distinct:

    China

    image.png.2cefb10942ea6d5ebd3e08cda6e763ee.png

    USA

    image.png.29fffbb9d082037093c07e7187a45c83.png

    There are also distinct changes to the slope when Google decides to improve their categorization systems.

    We may also see a sudden decline for languages with the adoption of AI assistants as most developers don't need to search the internet anymore and instead rely on the answers produced by the Copilot integrated in their IDEs. Maybe this is what's happening to the Python chart?

  2. These statistics can be very misleading as they show interest over time and cannot easily be compared.

    For example, this is a comparison between LabVIEW (blue), Simulink (yellow), and Node-RED (red):

    image.png.5c69780f91504292c9f26f31d8cf99ed.png

    Here is another comparison between PHP (blue), C++ (red), C (yellow), JavaScript (green), and C# (purple):

    image.png.2678878d772ff72f92d2e903b73702a6.png

    Relatively, each of these languages shows considerable less interest over time and converge towards a similar value. Unfortunately, we can't get the full picture as we do not have earlier data. Otherwise, it would probably show pretty much the same curve as Python does. We are just further along the curve (the hype is over 🙁).

    For the sake of completeness, this is the graph for Python:

    image.png.d36b8531045781b5ce671bd4ccd99f2b.png

    While everyone is clearly interested in Python, this doesn't mean that any of the other languages is suddenly going to be obsolete or non-functional. People (and businesses) will always follow the hype train, of course.

    Though, we should certainly not fall victim to ignorance as clearly the LabVIEW community is not quite as enthusiastic as it used to be. I wonder if we should pitch a Python port of LabVIEW to NI... 😈

  3. Well, yes. There is only so much we can do on the client side.

    It also appears that some of the bots have recently figured out how to reply to their own posts. It is probably just a matter of time before our notification areas get bombarded...

  4. I have opted to custom uBlock filters for certain keywords and specific user accounts to hide those entries from the activity stream. Not a perfect solution but it makes the page somewhat usable... at least I don't have to see that wall of crap all the time.

     

  5. I can confirm that LabVIEW 2018 SP1 f4 (32-bit) automatically selects LabVIEW Runtime 2018 SP1 f5 when "automatically select recommended installers" is checked and LabVIEW Runtime 2018 SP1 f5 is installed. Though, it does not ask for the installer source.

    image.png.5a3258cde0cff7dfdc0175c926fec2d7.png

    There used to be SFX installers that were extracted to "C:\National Instruments Downloads". When such an installer was used, the destination folder must not be deleted as it is used as a source location when creating installers in LabVIEW.

    Perhaps you installed the runtime engine through an old SFX installer and deleted those files at some point?

    • Thanks 1
  6. 33 minutes ago, Phillip Brooks said:

    My colleagues drank the cool-aid and did most of the things you reccommend against.

    Well, it makes one feel so professional. Though, commit signing is probably not enforced, right?

    33 minutes ago, Phillip Brooks said:

    There is one other person who also supports LabVIEW but mostly stand-alone 'experimental' setups with NI DAQ hardware that doesn't integrate with Python.

    Perhaps you can get together with this person and discuss a setup that works for all parties?

    Even if the person does not integrate with Python, it may only be a matter of time. It also gives the argument more weight, especially if it hinders your progress and reduces productivity.

    One suggestion would be to enable commit hooks only for the main branch. That way the team responsible for merging PRs may take the honor of running said tools and maintain code quality throughout the repository.

    39 minutes ago, Phillip Brooks said:

    "rebase, sqaush and create a PR"

    If you are using any of the typical systems to host and manage your repositories (e.g., GitHub, GitLab, etc.) they can squash and rebase on merge with the click of a button, which is typically less error prone than doing it locally through the command line. Of course, merge conflicts still need to be resolved locally.

    43 minutes ago, Phillip Brooks said:

    I guess I just need to learn to drink cool-aid 🤢

    Or scare them 😇

     

  7. Considering that git has been the de-facto standard for source control for years, there is simply no way avoiding it anymore.

    1 hour ago, Phillip Brooks said:

    Now the modules are in a repository where all sorts of black/flake8 and pull request activity are making me crazy.

    I'm spending way too much time googling "how to" with git and end up breaking or losing my Python changes. Everyone tells me "Its easy if I use PyCharm" but now I just end up googling "how to git in PyCharm" instead (with worse results).

    My git expertise is almost zero and I use git from the command line under Windows.

    I presume you are not the one who setup this nightmare.

    As someone who has worked with repositories on both ends of the spectrum, my general advise is to avoid nested repositories, pre-commit hooks and overly complex pull-request strategies unless all members of the team are intimate familiar with the workflow and understand the implications (which is pretty much never the case).
     
    If you have some control over the process, I suggest rethinking the strategy. Here are a few pointers:
    • Use simple repositories (no commit hooks, no special features, no enforced rules, just a repo)
      • It all starts with "git init" -- no more, no less.
    • Create a single-page document with all the necessary git commands (5-10 at most). It should include the initial setup of user name and email, cloning, committing, pushing, pulling, branching, and merging. => search "git cheat sheet" for some examples (ignore all the stuff you don't need)
      • If you are eager to keep the history clear of merge commits, then rebasing should be included. But it might require some assistance when there are merge conflicts (if it's too complex, just don't use it)
      • If you have a team member who is experienced with git, they should be available to help users with topics like rewriting history, stashing, fixing, etc. (it's not needed 99.9% of times that people think they need it) -- they should also have a positive attitude, access to the coffee machine, and preferably some sweets to keep morale up 😉
    • Avoid squashing and all the shenanigans. Instead, emphasize (but do not enforce) good commit habits (write useful commit messages, etc.).
    • Document your guidelines and tooling. Do not enforce them with commit hooks!
      • Keep it as short and concise as possible
      • Avoid documenting industry standards (makes the document annoying to read and unnecessarily long)
      • Tools like black and flake8 should be called manually when the developer finds it necessary and convenient.
      • More advanced git users can make their own private commit hooks to automate the process if they are eager to suffer.
    • Don't be afraid to commit
    • Don't be afraid to commit "ugly" code (it can always be cleaned up with another commit)
    • Most importantly: think of your team as colleagues that work towards a common goal and not as inmates that must be forced to do thy bidding.

    In case that you are familiar with TortoiseSVN, then TortoiseGit may be interesting to you. Though, the command line is where git shines.

  8. 23 minutes ago, Novgorod said:

    The MgErr type is not defined in extcode.h

    It is defined in mine:

    Quote

    /** @brief Manager error code type. */
    typedef int32 MgErr;

    Edit: I believe it is also defined in the product documentation but NI's website is down again.

  9. 39 minutes ago, Rolf Kalbermatter said:

    Not for me for most accounts, but that is a minor nuisance. But just checked and funnily I can view it on yours.

    There is an option in your profile settings to disable individual blocks on the profile page. Perhaps it was disabled on the accounts you checked.

    40 minutes ago, Rolf Kalbermatter said:

    But the current situation really breaks the camels back. I refuse to be racist, but the obvious Indian influence in it simply makes me very angry.

    I propose to simply take it offline until something can be done about it. This is less than not useful as is.

    Yeah that's a good idea. It appears that some visitors/guests find their ways through search engines, but if anyone is asking questions there is just no way to see them through all the spam. I'd be happy to help block spammers but the way it is now just isn't sustainable and makes the site literally unusable. I hope Michael intervenes soon while it is still manageable.

  10. 15 minutes ago, Rolf Kalbermatter said:

    What seems disabled is the Recent Profile Visitors block on the account pages for everybody. Not sure what that helps with, but it definitely is not the solution.

    You mean this?

    image.png.e335786f31265583b724643635af4653.png

    It's still visible for me.

  11. 45 minutes ago, Mefistotelis said:

    There are already few completely automated captcha solving services, last year they claimed 70% success rate, now they say the success rate is higher than humans do, but much faster. And this will improve fast, with LLMs getting more integrated with image recognition.

    With various degree of notoriety, this affects the whole Internet. We just need a new general method of recognizing bots.

    While that may be true, the current spam posts are clearly not using any advanced technologies like that. At the very least, enabling captchas will force them to invest much more processing power to solve them, which either reduces the number of posts they can send, or discourages them from pursuing it any further. In conjunction with IP blocking, this can be very effective against these kinds of script kiddies.

    1 hour ago, Rolf Kalbermatter said:

    Please let me ban Baba's this and Baba's that, visha's and all those other accounts. Pretty pretty please!!!!!!!!! :angry:

    Second that!

  12. 3 hours ago, Rolf Kalbermatter said:

    I really wish Michael could throw that switch to require moderator approval of the first 3 or so post for every new user! It's not so nice to login on LavaG and find no new post by anyone as has been the case regularly lately, but I prefer that many times above finding a whole list of spam posts about call girls, drugs, counterfeit money and secret societies that are waiting for nothing else than to heap money over anyone who is willing to sell their soul to them.

    Since user creation is disabled anyways, this should sufficiently prevent any spam posts from being displayed to regular users. Although, it probably will flood the moderator inbox.

    Perhaps CAPTCHA could be a viable option? Especially for newly created posts like the ones currently being spammed.

    Not sure if there are options to require CAPTCHA for new users and relax the requirement for users of higher ranks, but that could be something worth looking into.

  13. 1 hour ago, Phillip Brooks said:

    Click on that and I get a pop-up of just the image

    I actually never bothered to click on that and simply assumed that it does the same as selecting the image 😅

    1 hour ago, Phillip Brooks said:

    LAVA seems to strip the metadata

    Yes, this has been known for a long time. You wouldn't believe who reported it first 😄

     

    • Haha 2
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.