Language Selection

English French German Italian Portuguese Spanish

Python Programming Leftovers

Filed under
Development
  • The best frontend JavaScript framework for Django

    A question I've seen asked a lot is "what's the best frontend JavaScript framework to use with Django".

    Django itself doesn't make any recommendation on which frontend framework to use, or even assumes you're using a frontend framework at all.

    So, which frontend framework should you be using? And which one "plays well" with Django?

  • Ned Batchelder: You should include your tests in coverage

    This seems to be a recurring debate: should you measure the coverage of your tests? In my opinion, definitely yes.

    Just to clarify: I’m not talking about using coverage measurement with your test suite to see what parts of your product are covered. I’ll assume we’re all doing that. The question here is, do you measure how much of your tests themselves are executed? You should.

  • Is Java and Python similar?

    I don't think python and Java have anything in common. I enjoy the simple clean utilitarian nature of python. As long as simple pep8 guidelines are followed it is very easy to read any strangers code. Most people write python in an OO sort of way. However one can get pretty far in writing with an FP lite methodology. Many people complain about indents. To me it is just different and something easy to get used to. Python has idioms that values being clean and concise. It is trivial to deploy. My main critique of python is that if one uses too much python it is easy to get dumbed down by all the magic. It is important to use other languages in addition to python just to keep ones skills sharp. Thinking about writing high performing Python usually means thinking about doing it in some other language.

    [...]

    Note: I recognize Java is the most popular language in the world. Many great successfull applications use Java. One can eventually use Java to solve almost any problem. That doesn't mean I like it or think it is good for the industry.

  • Real Python: Identify Invalid Python Syntax

    Python is known for its simple syntax. However, when you’re learning Python for the first time or when you’ve come to Python with a solid background in another programming language, you may run into some things that Python doesn’t allow. If you’ve ever received a SyntaxError when trying to run your Python code, then this guide can help you. Throughout this course, you’ll see common examples of invalid syntax in Python and learn how to resolve the issue.

  • PSF GSoC students blogs: Weekly Check-In #6 (2nd Aug - 9th Aug)
  • PSF GSoC students blogs: Weekly Check-In #11
  • PSF GSoC students blogs: Week 10 Check-in
  • PSF GSoC students blogs: Week 10
  • PSF GSoC students blogs: GSoC: Week 11: InputEngine.add(paths)

Static analyzer for Python code and more

  • Facebook open-sources a static analyzer for Python code

    Pysa is a security-focused tool built on top of Pyre, Facebook’s performant type checker for Python.

    “Pysa tracks flows of data through a program. The user defines sources (places where important data originates) as well as sinks (places where the data from the source shouldn’t end up),” Facebook security engineer Graham Bleaney and software engineer Sinan Cepel explained.

    “Pysa performs iterative rounds of analysis to build summaries to determine which functions return data from a source and which functions have parameters that eventually reach a sink. If Pysa finds that a source eventually connects to a sink, it reports an issue.”

  • Edit images with Jupyter and Python

    Recently, my kid wanted to make a coloring page from a favorite cartoon. My first thought was to use one of the open source programs on Linux that manipulate images, but then I remembered I have no idea how to use any of them. Luckily, I know how to use Jupyter and Python.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

More in Tux Machines

Ade Malsasa Akbar on CloudTube and Mailo

  • Let's Welcome CloudTube

    Do you remember Invidious Everywhere? Since early September Invidio.us is unfortunately officially closed and the Invidious web software development is now seeking for new maintainer. Thank you Omarroth for this incredibly good YouTube front end for your hard works help people and me truly a lot for these years. However, there is a good news, it is CloudTube now an alternative to Invidious so we can watch YouTube right in the web browser without being tracked nor running nonfree javascript.

  • Mailo Email Service for Internet Users

    Here is Mailo a new email service you can register to based in France, Europe. With Mailo your email address will be like malsasa@mailo.com. It promises ethical emails, offers free accounts, and gives imap feature with beautiful yet easy to use interface. What's so special about Mailo is it's friendly to everyone using Free Libre Open Source Software in general and everyone seeking privacy alternative to Gmail in particular. It is featured in Free Software Foundation's Webmail Systems page. For you who are looking for secure email other than Disroot or Tutanota, Mailo is very promising. By this article I wish our readers try and give us comments about it.

Best Linux distros of 2020 for beginners, mainstream and advanced users

Different Linux distros can all work with Linux software and applications, and of course, any cloud-based apps that run through a browser. However, Linux distros come with a variety of different ranges of bundled software. Some might come with a lot of basic applications already pre-installed, while others will have the barest minimum. And, as mentioned, Linux is very customizable, far beyond what normal Windows or Mac users may be used to. Users can commonly configure everything from their desktop to security and privacy settings. Altogether, this is why it helps to have a good idea of what different Linux distros can offer. Do you need a GUI more familiar to Windows? Are you more concerned about privacy? How comfortable are you with typing commands rather than clicking icons? Read more

today's howtos

This week in KDE: fixing up Plasma 5.20

Okular’s editable forms are no longer mis-rendered when inertially scrolling (Kezi Olio, Okular 1.11.2) When your scanner can almost but not quite fit a particular page size, Skanlite will now display the option to scan to that page size anyway (e.g. 215mm wide scan beds now give you the option to scan using the US Letter page size) (Kåre Särs, libksane 20.12) The text of Elisa’s keyboard shortcuts are now translated properly (Nikunj Goyal, Elisa 20.12) Clearing the clipboard history on Wayland no longer crashes Plasma (David Edmundson, Plasma 5.20) Improved the Plasma SVG cache heuristics such that various things which might sometimes be invisible after upgrading Plasma now show up like they’re supposed to (Arjen Hiemstra, Plasma 5.20) On Wayland, clicking on a Task Manager entry while that entry’s tooltip is visible no longer crashes Plasma (Vlad Zahorodnii, Plasma 5.20) On Wayland, clicking on a Task Manager thumbnail now activates that window, as you would expect (Marco Martin, Plasma 5.20) Read more Also: KDE Plasma 5.20 Should Be Crashing A Lot Less Under Wayland