Language Selection

English French German Italian Portuguese Spanish

Programming: Python, Bash/AWK, C

Filed under
Development
  • Understanding the Python Mock Object Library

    When you’re writing robust code, tests are essential for verifying that your application logic is correct, reliable, and efficient. However, the value of your tests depends on how well they demonstrate these criteria. Obstacles such as complex logic and unpredictable dependencies make writing valuable tests difficult. The Python mock object library, unittest.mock, can help you overcome these obstacles.

  • Commencing Security, Accessibility, and Internationalization Improvements to PyPI for 2019

    The Python Software Foundation (PSF) and PSF Packaging Working Group are excited to announce that the first round of slated improvements to PyPI for 2019 are underway. This Open Technology Fund funded project will bring improvements to the accessibility and security of the service. You can read more about the scope of this project in our request for proposals document.

  • PyCharm 2019.1 Release Candidate
  • Talk Python to Me: #203 Beginners and Experts in Software Development

    What's it like to be a beginner in software development? How about learning Python for the first time? This episode is a special panel episode and is the first of a two-part series we are doing on the podcast called Beginners and Experts.

  • Tuple ordering and deep comparisons in Python

    Comparing things in Python. That sounds like something that almost doesn’t even need to be taught. But I’ve found that Python’s comparison operators are often misunderstood and under-appreciated by newer Pythonistas.

    Let’s review how Python’s comparison operators work on different types of objects and then take a look at how we can use this to improve the readability of our code.

  • The AWK Command | BASH Basics

    When I was first starting out as a sysadmin and I wanted to know what it took to get promoted, one of the things that I was told was that I needed to know the BASH utilities such as AWK. I am not sure that AWK is actually a utility, it was originally intended to be a data-driven programming language when Alfred Aho, Peter Weinberger and Brian Kernighan wrote it at Bell Labs. The name comes from the initials of their last names in fact, but the program that we use in BASH on Linux is (G)AWK or Gnu AWK and there are many derivatives.

  • Linux C Programming Tutorial Part 11 - Arithmetic, Relational, and Logical operators

    Up until now, in this C programming tutorial series, we have discussed about basic things like functions, arrays, variables, and more. Continuing with the flow, in this tutorial, we will discuss another such basic concept: operators.

More in Tux Machines

today's leftovers

  • This Open Source Extension Displays Hidden Google Search Results
    Google receives tonnes of requests from copyright holders daily for removing infringing content. The company then analyzes the received requests and removes the content that violates copyright claims. The number of DMCA notices received by Google has increased manifold over time. As reported by TorrentFreak, content creators have asked Google to remove over four billion pirate links till date. Whenever Google removes links from its search results, it displays a notice at the bottom with the number of results removed from a search page. Google also provides links to the DMCA notices on LumenDatabase which led to the removal of links.
  • Mozilla Open Policy & Advocacy Blog: EU copyright reform: a missed opportunity
    We’ve been engaged in the discussions around the EU Copyright directive since the very beginning. During that time, we deployed various tools, campaigns, and policy assessments to highlight to European lawmakers the importance of an ambitious copyright reform that puts the interests of European internet users and creators at the centre of the process. Sadly, despite our best efforts – as well as the efforts of academics, creator and digital rights organisations, internet luminaries, and over five million citizens – our chances of reversing the EU’s march towards a bad legislative outcome diminished dramatically last September, after the draft law passed a crucial procedural milestone in the European Parliament. Over the last several months, we have worked hard to minimise the damage that these proposals would do to the internet in Europe and to Europeans’ rights. Although the draft law is still deeply flawed, we are grateful to those progressive lawmakers who worked with us to improve the text.
  • Mozilla’s Firefox Send File Sharing Service Now Available As Android App
    Mozilla recently introduced its file-sharing service, Firefox Send, which was initially available on the web. As promised previously, the service now has an Android app, currently available in the form of a beta. Firefox Send allows users to share files with other users, in a secure and end-to-end encrypted form.
  • Jelmer Vernooij: Breezy evolves
    Last month Martin, Vincent and I finally released version 3.0.0 of Breezy, a little over a year after we originally forked Bazaar. When we started working on Breezy, it was mostly as a way to keep Bazaar working going forward - in a world where Python 2 has mostly disappeared in favour of Python 3).
  •  

Linux Foundation and Servers Leftovers

  • How Open Source Is Accelerating NFV Transformation
    Red Hat is noted for making open source a culture and business model, not just a way of developing software, and its message of open source as the path to innovation resonates on many levels. In anticipation of the upcoming Open Networking Summit, we talked with Thomas Nadeau, Technical Director NFV at Red Hat, who gave a keynote address at last year’s event, to hear his thoughts regarding the role of open source in innovation for telecommunications service providers. One reason for open source’s broad acceptance in this industry, he said, was that some very successful projects have grown too large for any one company to manage, or single-handedly push their boundaries toward additional innovative breakthroughs.
  • Why The CDF Launch From Linux Foundation Is Important For The DevOps And Cloud Native Ecosystem
    Continuous Integration and Continuous Delivery (CI/CD) has become an essential building block of modern application lifecycle management. This technique allows business to increase the velocity of delivering software to users. Through CI/CD, what was once confined to large, web-scale companies became available to early-stage startups and enterprises.
  • Five layers of security for Red Hat Data Grid on OpenShift
    Red Hat Data Grid is an in-memory, distributed, NoSQL datastore solution. With it, your applications can access, process, and analyze data at in-memory speed to deliver a superior user experience. In-memory Data Grid has a variety of use cases in today’s environment, such as fast data access for low-latency apps, storing objects (NoSQL) in a datastore, achieving linear scalability with data distribution/partitioning, and data high-availability across geographies, among many others. With containers getting more attention, the need to have Data Grid running on a container platform like OpenShift is clear, and we are seeing more and more customers aligning their architecture with a datastore running natively on a container platform. In this article, I will talk about multiple layers of security available while deploying Data Grid on OpenShift. The layers of security offer a combination of security measures provided by Data Grid as well as by OpenShift/Kubernetes.
  • Rebooting UUCP to redecentralize the net
    UUCP (Unix-to-Unix Copy Protocol) is a venerable, non-hierarchical networking protocol that was used as transport for early email and Usenet message boards; its intrinsic decentralization and its cooperative nature (UUCP hosts store and forward messages for one another) make it a kind of symbol of the early, decentralized robustness that characterized the early net and inspired so much optimism about a fundamentally distributed arrangement of peers rising up to replace the top-down phone companies and other centralized systems. As part of the decentralized web movement, UUCP has been rebooted by Dataforge, a Fort Worth, Texas-based "hybrid shell provider/tilde server" whose proprietor Wesley "praetor" Banderia uses his decades of Unix systems administration to keep the system running on a cluster of lovingly maintained vintage SGI machines with a Google Cloud VPS for backup.

5 Julia-Specific IDEs Developers Should Know

If you already are a Julia programmer or developer, you would be interested to know what are the top IDEs one can use. Julia is easier to work with when you make use of an IDE such as Juno which is an excellent IDE. For developers who wish to create complex applications, IDEs can be very helpful but it must be noted that there is no such specific feasible IDE for this language and one must choose their IDE according to their comfort level as well as accessibility to that language. In this article, we list down 5 Julia-specific IDEs along with some prominent alternative IDEs. Read more Also: Release of GooCalendar 0.5

Android Leftovers