Language Selection

English French German Italian Portuguese Spanish

Python Programming Leftovers

Filed under
Development
  • PyCon ES 2019 Alicante Highlights

    Last weekend it was Pycon time again, my 6th one so far. This time closer to home: Alicante.

    I had an awesome time, meeting a lot of nice people, watching interesting talks and getting inspired overall to keep learning more Python.

  • Python for NLP: Neural Machine Translation with Seq2Seq in Keras

    This is the 22nd article in my series of articles on Python for NLP. In one of my previous articles on solving sequence problems with Keras, I explained how to solve many to many sequence problems where both inputs and outputs are divided over multiple time-steps. The seq2seq architecture is a type of many-to-many sequence modeling, and is commonly used for a variety of tasks such as Text-Summarization, chatbot development, conversational modeling, and neural machine translation, etc.

    In this article, we will see how to create a language translation model which is also a very famous application of neural machine translation. We will use seq2seq architecture to create our language translation model using Python's Keras library.

    It is assumed that you have good knowledge of recurrent neural networks, particularly LSTM. The code in this article is written in Python with the Keras library. Therefore, it is assumed that you have good knowledge of the Python language, as well as the Keras library. So, without any further ado, let's begin.

  • Find the position of the only odd number within a list with Python

    In this example, we will write a python function that will return the position of the only odd number within the number list. If there is no odd number within that list then the function will return -1 instead.

  • Python 2.7.17rc1

    Python 2.7.17 release candidate 1 is a prelease for a bugfix release in the Python 2.7 series.

  • Python 2.7.17 release candidate 1 available

    A release candidate for the upcoming 2.7.17 bug fix release is now available for download.

  • Wing Python IDE 7.1.2 - October 7, 2019

    Wing 7.1.2 adds a How-To for using Wing with Docker, allows disabling code warnings from the tooltip displayed over the editor, adds support for macOS 10.15 (Catalina), supports code folding in JSON files, adds optional word wrapping for output in the Testing tool, and fixes about 25 minor usability issues.

  • Pytest-cov support for who-tests-what

More in Tux Machines

Android Leftovers

10 Things To Do After Installing Ubuntu 19.10

For the record, we’ve written a list of ‘things to do after installing Ubuntu’ for the past 20 Ubuntu releases. That’s two lists a year, every year, for a decade — and each list is specifically tailored to each version of Ubuntu. Our rundown for Ubuntu 19.10? Well, it’s no exception! As always: we never suggest you do anything that would damage or harm your install. So for tips on how to butcher Eoan with beta software, unstable drivers, and deep-level config meddling, you’ll need to look elsewhere! Otherwise read on for plenty of useful pointers and pertinent advice on how to get the most from your spangly new Linux system. Let’s go! Read more

today's leftovers

  • Google Ejects Open-Source WireGuard From Android Play Store Over Donation Link In App

    Apparently Google doesn't appreciate donation links/buttons within programs found on the Google Play Store even when it's one of the main sources of revenue for open-source programs. WireGuard has been reportedly dropped over this according to WireGuard lead developer Jason Donenfeld. After waiting days for Google to review the latest version of their secure VPN tunnel application, it was approved and then removed and delisted -- including older versions of WireGuard. The reversal comes on the basis of violating their "payments policy". Of course, Google would much prefer payments be routed through them so they can take their cut...

  • [Older] Sourcehut makes BSD software better

    Every day, Sourcehut runs continuous integration for FreeBSD and OpenBSD for dozens of projects, and believe it or not, some of them don’t even use Sourcehut for distribution! Improving the BSD software ecosystem is important to us, and as such our platform is designed to embrace the environment around it, rather than building a new walled garden. This makes it easy for existing software projects to plug into our CI infastructure, and many BSD projects take advantage of this to improve their software.

    Some of this software is foundational stuff, and their improvements trickle down to the entire BSD ecosystem. Let’s highlight a few great projects that take advantage of our BSD offerings.

  • Security updates for Thursday

    Security updates have been issued by Arch Linux (sudo), Debian (libsdl1.2 and libsdl2), Mageia (e2fsprogs, kernel, libpcap and tcpdump, nmap, and sudo), openSUSE (GraphicsMagick and sudo), Oracle (java-1.8.0-openjdk, java-11-openjdk, jss, and kernel), Red Hat (java-1.8.0-openjdk and java-11-openjdk), Scientific Linux (jss), SUSE (gcc7 and libreoffice), and Ubuntu (leading to a double-free, libsdl1.2, and tiff).

  • Grasp Docker networking basics with these commands and tips

    Docker communicates over network addresses and ports. Within Docker hosts, this occurs with host or bridge networking. With host networking, the Docker host sends all communications via named pipes. This method, however, can pose a security risk, as all traffic flows across the same set of containers with no segregation. The other approach from Docker, bridge networking, provides an internal network that connects to the external one. Use the docker network ls command to see a list of available networks. This command should return results that look similar to the output in Figure 1.

OSS: Events, WordPress and Licensing

  • Director Digital Business Solutions to kick off ApacheCon Europe in Berlin

    The European Commission, a long-time user of open source software, is strengthening its relationship with the Apache Foundation. At the Hackathon in May, the Commission brought together more than 30 developers involved in six different Apache projects. Attendees came from Croatia, Ireland, Poland and Romania, and even from Russia and the United States. At the meeting, many developers met in person for the first time. The hackathon helped the project members build connections and strengthen bonds.

  • FOSSCOMM 2019 aftermath

    FOSSCOMM (Free and Open Source Software Communities Meeting) is a Greek conference aiming at free-software and open-source enthusiasts, developers, and communities. This year was held at Lamia from October 11 to October 13. It is a tradition for me to attend to this conference. Usually I have presentations and of course booths to inform the attendees about the projects I represent. This year the structure of the conference was kind of different. Usually the conference starts on Friday with "beer event". Now it started with registration and a presentation. Personally I made my plan to leave from Thessaloniki by bus. It took me about 4 hours on the road. So when I arrived, I went to my hotel and then waited for Pantelis to go to the University and setup our booths.

  • Automattic Announces Mark Davies as Chief Financial Officer

    Automattic Inc., the parent company of WordPress.com, WooCommerce, and Tumblr, among other products, has announced that Mark Davies has joined the company as Chief Financial Officer. Davies comes to Automattic from Vivint, a $1B+ annual revenue smart home technology company, where he served as chief financial officer since 2013. The news follows Automattic's recent $300 million Series D investment round from Salesforce Ventures, and its acquisition in September of the social blogging platform Tumblr.

  • Empowering Generations of Digital Natives

    Technology is changing faster each year. Digital literacy can vary between ages but there are lots of ways different generations can work together and empower each as digital citizens. No matter whether you’re a parent or caregiver, teacher or mentor, it’s hard to know the best way to teach younger generations the skills needed to be an excellent digital citizen. If you’re not confident about your own tech skills, you may wonder how you can help younger generations become savvy digital citizens. But using technology responsibly is about more than just technical skills. By collaborating across generations, you can also strengthen all your family members’ skills, and offer a shared understanding of what the internet can provide and how to use it to help your neighborhoods and wider society.

  • How to Verify Smart Contracts on Etherscan

    You have your smart contract written, tested, and deployed. However, customers aren’t willing to do business with you unless they know the contract’s source code. After all, it could be set up in a way that’s not in their interest. Thankfully, Etherscan offers a neat tool that allows you to verify smart contracts so interested parties can see the source code and verify for themselves that everything is as it should be. While the process is simple, there are intricacies that might cause problems, especially to people not very familiar with Ethereum and the Solidity programming language.

  • Ethical Open Source: Is the world ready?

    Given its incredible popularity in the marketplace, there is no question that many software developers (and their respective companies) today see great value in using software that is subject to open source licenses. Users focus on the advantages to be had by gaining access, usually at no or minimal charge, to the software’s source code and to the thriving open source community supporting such projects. Powered by a worldwide community supporting the code base, open source code is generally perceived to be more reliable, robust and flexible than so-called proprietary software, with increased transparency leading to better code stability, faster bug fixes, and more frequent updates and enhancements. Historically the question of ethics and open source software (OSS) has mainly focussed on the goal of obtaining and guaranteeing certain “software freedoms,” namely the freedom to use, study, share and modify the software (as exemplified by the Free Software Definition and copyleft licenses such as the GPL family), and to ensure that derivative works were distributed under the same license terms to end “predatory vendor lock-in.”