Interests: News, Finance, Computer, Science, Tech, and Living

  • 0 Posts
  • 246 Comments
Joined 2 years ago
cake
Cake day: June 13th, 2023

help-circle

  • Anyone who is not cautious in choosing a partner for the next 60 or 70 years is nuts. This is probably the most important decision you will ever make. We are almost 30 years in and it is great but it was not easy to find someone. Not sure it is comittment exactly. More finding someone that wants a long term partner and that you both like each other and can stand each other over the long run and are heading in a similar direction in this complex world. Lot of people do not seem to know the difference between lust and love too.







  • Transitioned my moms computer to Windows 11, 11 months go. Pretty easy. Her computer was originally for Windows 7 and is still fully supported. Her computer will always be Windows as I’m not local and other people have to be able to support her too. It is also what she knows. I love Linux but it is not for everyone.



  • The leadership is not the government. Leadership varies widely. The actual government workers and departments are different. Lot of very compitent people. There are questions of course. Big organizations tend to grow, how to address. What should be the priorites. Government cannot do everything. Mandates tend to grow. Polotics and money tend to corrupt. Like IRS, rich people do not want to pay their taxes so republicans always under fund.

    If your talking presidents. Trump is the least comperent in my lifetime. Bush 2, first term not really there, second a lot better. Of course Raegon, Biden, and Trump got too old in office. The others back to the 70s which I lived through and was old enough to follow, mostly competent but all had issues of course. I am not rating these on whether I approve of their policies.






  • Executives act like little kids. They want what they want and they want it now. And they want it for free. Stratagies that can help:

    • Ask them to prioritize.

    • You delegate more if there is a work load problem.

    • Remind them of the work you are doing and have done recently.

    • Ask for feedback. What your doing well as well as how you can improve. Be open to continuous improvement.

    • Under promise and over deliver.

    • Understand business needs and consequences and modulate how much you work depending on real business need. Be willing to go the extra mile sometimes, but pick and choose.

    • Know what you will and will not do and understand the consequences.



  • You can get about 10x by compiling Python using PyPy. So compiling is not nothing. Using Numpy alone is about 5x which surprised me. There is a lot of missleading stuff out there about how to make Python fast. Lot of people say CPython is pretty fast or that using a binary library like numpy is fast. No CPython is very slow and libraries are not always that fast.

    Edit: Another compiler is Numba which is more specialized. It can get 30x on some code without numpy. Again compiling can help.


  • We will have to disagree on that. This is all problem spectific, but I have found C code integrated via ctypes, cffi, or by a C extension is over 100x Python alone. Interestingly Python, Numba, and Numpy together which is a more pythonic solution can get to those speeds too.

    All of the other approaches I have tried are much slower: Nuitka, Cython, Numpy alone, PyPy, etc.

    To get best speeds one has to compile for your specific architecture and enable things like vectorization, auto parallel, and fast math. Most default builds including libraries do not do that.



  • flatbield@beehaw.orgtoProgramming@programming.devWhy Is Python So Popular in 2025?
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    1
    ·
    edit-2
    1 month ago

    White space nonsense. Yes and no. I do not enjoy tracking down white space issues until I remember the alternative. Matching brackets, writing begin/end statements, and worst of all looking at code that appears well indented until later you find it is not. and it runs totally differently then it looks. Similar issues with semicolons.

    Pretty much everyone uses LSEs these days so frankly matters less either way most of the time.