Language Selection

English French German Italian Portuguese Spanish

October 2018

today's leftovers

Filed under
Misc
  • The AMD Threadripper ECC DDR4-2666 Testing That Wasn't

    Recently in our forums there has been a lot of interest in Threadripper 2 builds using ECC DDR4 memory and the impact on performance, especially now with the Threadripper 2 family being rounded out by the 2920X and 2970WX. So I set out to do some DDR4-2666 ECC UDIMM testing with Threadripper 2, but that hasn't turned out well.

  • Representing KDE at XDC 2018

    Last month the X.Org Developer?s Conference (XDC) was held in A Coru�a, Spain. I took part as a Plasma/KWin developer. My main goal was to simply get into contact with developers from other projects and companies working on open source technology in order to show them that the KDE community aims at being a reliable partner to them now and in the future.

    Instead of recounting chronologically what went down at the conference let us look at three key groups of attendees, who are relevant to KWin and Plasma: the graphics drivers and kernel developers, upstream userland and colleagues working on other compositor projects.

  • Chris Lamb: Free software activities in October 2018

    We intend to maintain changes to these modules under their original open source licenses and applying only free and open fixes and updates. You can find out more at goodformcode.com.

OSS: Openwashing, FUD, Open Hardware, Open Source as a Model for Global Education and More

Filed under
OSS
  • It's not okay to pretend your software is open source

    One of my largest complaints with the Commons Clause is that it hijacks language used by open source projects to proliferate nonfree software, and encourages software using it to do the same. Instead of being a new software license, it tries to stick itself onto other respected licences - often the Apache 2.0 license. The name, “Commons Clause”, is also disingenuous, hijacking language used by respected entities like Creative Commons. In truth, the Commons Clause serves to remove software from the commons1. Combining these problems gives you language like “Apache+Commons Clause”, which is easily confused with Apache Commons.

  • No Free Lunches In Software: Understanding Open Source Code Use In Your Business [Ed: We're back to the 1990s? Far too much FUD like this from Forbes about FOSS, now without the paywall/spywall.]
  • Nybble open source robotic kitten

    Those of you looking to learn a little more about robotics and electronics in general may be interested in a new open source robotic kit called Nybble. Which allows you to build the “world’s cutest open source robotic kitten”. Watch the demonstration video below to learn more about the robotic kit which can be easily programmed and is now available to back via Indiegogo with early bird pledges available from $200.

  • Open Source as a Model for Global Education

    While education leaders may be appalled by the closed-border policies coming out of Washington, they often indulge in similar protectionist rhetoric, as highlighted by a recent Wilson Center report.
    The language of “national competitiveness” is common in higher education, especially in discussions of China and the U.S. You hear it in contradictory concerns about too many international students (they will take scarce places at elite institutions! They will steal intellectual property!) and too few (our institutions won't keep up if they stop sending students! We need their tuition to stay afloat!).
    What these worries have in common is the false premise that education is a race and if we don't hurry others will beat us.
    Whereas education competition borrows from the language of economics, an earlier model of educational transfer drew on culture and politics. Transfer was based on importing and exporting from one education system to another. In the 19th and early 20th centuries, American missionaries established colleges across the Middle East and Asia. Philanthropists established international academic exchanges like the Rhodes Scholarship.

  • Chrome OS 70 Brings Better Tablet Mode to Chromebooks, Here’s What’s New

    2-in-1 Chromebooks have existed for a few years now, and have become more and more popular as Chromebooks gained support for touch-based Android apps. But, using a convertible Chromebook just wasn’t as smooth as using a tablet. Part of this was the fact that you’re still holding a laptop, but the bigger part was the user interface.

    Now, both of those problems are effectively solved. Chrome tablets and detachables are available and with Chrome OS 70, there’s a much more touch-friendly user interface.

  • 8x8 buys Jitsi open source video conferencing from Atlassian

    8x8 has acquired the open source video conferencing company Jitsi from Atlassian in the cloud telephony vendor's latest move to expand its business communications portfolio.

    Jitsi hosts an open source video conferencing server that developers can use to build WebRTC-based video products. It also runs a free platform for online meetings that developers can embed into their websites or mobile apps using Jitsi's APIs and SDKs.

Reports on ActiveState Developer Survey/DigitalOcean’s 'CURRENTS A Seasonal Report on Developer Trends in the Cloud: Open Source Edition'

Filed under
Development
  • ActiveState Developer Survey Examines Open Source Challenges
  • Report: Developers are not clear on how to get involved in the open-source community

    After 20 years, the open-source community is stronger than ever. However, a recent report found developers while they had more time and know-how to contribute to open-source projects. According the report, respondents don’t quite know where to begin and start to question their skills and time.

    Additionally, developers say they are either too intimidated to contribute, lack the resources, or do not get enough time to contribute from their company.

    DigitalOcean’s CURRENTS A Seasonal Report on Developer Trends in the Cloud: Open Source Edition is based off of more than 4,300 international developers, and focuses specifically on how companies are using open source and why they support the community.

  • Developers: Want fulfilling work? Here are the 10 most satisfying coding languages

    Developers choose a programming language for a project based on a number of factors, including what components that project needs, and what languages they are most comfortable with. However, developers are much more satisfied working in some languages than others, according to a Tuesday report from ActiveState.

    Adding a new programming language to the workplace was ranked as the largest challenge for developers, with 56% ranking this difficult or very difficult, the report found. This was followed by dependencies (24%), environmental configuration (20%), and reproducible builds (18%).

  • The 10 most popular platforms developers use to code projects

    On a typical day, the largest portion of developers (37%) spend only 2-4 hours programming, according to a Tuesday report from ActiveState. Of the 1,400 developers and IT professionals surveyed, 14% said they spend one hour per day programming, 31% spend 5-7 hours, and 19% spend 8+ hours doing coding work daily.

    When starting new software projects, 26% of developers surveyed said they start a new project quarterly, the report found. Another 23% start new projects monthly, while 17% said rarely. Fewer in the field said they begin a new software project twice a year (14%), weekly (12%), annually (7%), or daily (1%), according to the report.

BSD: Review of 'Absolute FreeBSD', Introducing the OpenBSD Virtualization FAQ

Filed under
BSD
  • Book Review: Absolute FreeBSD (3rd Edition)

    FreeBSD is a free and open source operating system for many different kinds of computers. FreeBSD's based upon BSD, the version of UNIX developed at the University of California, Berkeley. FreeBSD is an alternative to Linux or Windows-based system. You can run almost all apps written in Perl, Python, PHP and other programming languages. FreeBSD heavily used by Netflix, EMC, IBM, Juniper, NetApp, Apple, Sony, and others. Absolute FreeBSD (3rd ed) book aims to be the complete guide to FreeBSD. Let us see why Michael W. Lucas' FreeBSD system administration books so favorite among Unix lovers.

  • Introducing the OpenBSD Virtualization FAQ

    Now getting started with OpenBSD virtualization has become even easier: The OpenBSD FAQ has a new Virtualization section, written mainly by Solene Rapenne (solene@) and added to the site in this commit, that offers an introduction to the concepts as well as instructions on how to get started with vmm(4).

GNU: New RMS Interview by Rob Lucas, RMS Biography, GNU Spotlight and GNU Bash

Filed under
GNU
  • "Every non-free program is an injustice": Richard Stallman on the Free Software Movement

    In the September–October 2018 issue of the New Left Review, Rob Lucas interviews software engineer and free-software advocate Richard Stallman, who is best known for spearheading the development of the GNU/Linux operating system in the 1980s. Stallman began his career at the MIT Artificial Intelligence Lab in the 1970s, which at the time was animated by a spirit of open collaboration and creative exploration. But when the lab began to develop proprietary software and partner with telecommunications companies, Stallman saw the “injustice” of non-free software and struck out on his own.

  • RICHARD STALLMAN TALKING TO THE MAILMAN: Interview by Rob Lucas

    I grew up in Manhattan, born in 1953. I was a behavioural problem—I couldn’t go to a public school without getting in trouble—and started working with computers at an early age. In 1969, during my last year of high school, an IBM lab let me come and use their computers. In 1970 I had a summer job there. They gave me a project to do, implementing a certain algorithm to see how well it would work. I finished that in a few weeks, so they let me spend the rest of the summer being paid to write whatever I felt like. I went to Harvard to study physics, and carried on programming there. Towards the end of my first year I started visiting computer labs to look at their manuals, to see how the computers differed. When I visited the Artificial Intelligence Lab at MIT, they didn’t have much by way of a manual, because they had developed their own time-sharing system. The administrator there decided to hire me more or less straight away. So although I graduated from Harvard in 1974, I had actually been an employee at MIT for three years. Harvard’s computer was a lot better to play with than IBM’s, but it didn’t have a lot of memory, whereas MIT’s computer at the AI Lab had plenty. Not only that, they let me change the time-sharing system; in fact, that was my job—they hired me to work on that system. I added lots of features to lots of different programs—whatever I thought of, or people suggested to me, that seemed like a good idea, I would implement and then people would use it. And this was absolutely delightful—and gratifying to make things that people used and appreciated—so I kept working there. From that point on, I did programming using the machine at MIT.

  • Innovative biography of RMS returns to GNU Press Shop

    In 2002, Sam Williams wrote Free as in Freedom, a biography of Richard M. Stallman. In its epilogue, Williams expressed hope that choosing to distribute his book under the GNU Free Documentation License would enable and encourage others to share corrections and their own perspectives through modifications to his work.

    Free as in Freedom (2.0) is Stallman's revision of the original biography. While preserving Williams's viewpoint, it includes factual corrections and extensive new commentary by Stallman, as well as new prefaces by both authors written for the occasion. It is a rare kind of biography, where the reader has the benefit of both the biographer's original words and the subject's response.

  • GNU Spotlight with Mike Gerwitz: 8 new GNU releases!

    gama-2.01
    gcc-6.5.0
    gvpe-3.1
    help2man-1.47.8
    mes-0.18
    mtools-4.0.19
    parallel-20181022
    units-2.18

    For announcements of most new GNU releases, subscribe to the info-gnu mailing list: https://lists.gnu.org/mailman/listinfo/info-gnu.

    To download: nearly all GNU software is available from https://ftp.gnu.org/gnu/, or preferably one of its mirrors from https://www.gnu.org/prep/ftp.html. You can use the URL https://ftpmirror.gnu.org/ to be automatically redirected to a (hopefully) nearby and up-to-date mirror.

  • Normalizing Filenames and Data with [GNU] Bash

    Yeah, that many years. Almost 13 years of writing about shell scripts and lightweight programming within the Linux environment. I've covered a lot of ground, but I want to go back to something that's fairly basic and talk about filenames and the web.

    It used to be that if you had filenames that had spaces in them, bad things would happen: "my mom's cookies.html" was a recipe for disaster, not good cookies—um, and not those sorts of web cookies either!

    As the web evolved, however, encoding of special characters became the norm, and every Web browser had to be able to manage it, for better or worse. So spaces became either "+" or %20 sequences, and everything else that wasn't a regular alphanumeric character was replaced by its hex ASCII equivalent.

Kernel: Cedrus, EXT4, Linux in Android

Filed under
Linux
  • Cedrus VPU Decoder Driver Being Mainlined With New Linux Media Request API

    The Cedrus VPU driver developed by Bootlin for supporting the Allwinner VPU open-source support via crowdfunding is set to hit the mainline kernel for Linux 4.20~5.0.

    The Cedrus VPU driver is what was developed over six months this year at Bootlin via a crowd-funded internship that raised over thirty-six thousand dollars (USD) for the effort.

  • EXT4 Getting Fixes For A Number Of Ancient Bugs -- Back To The Linux 2.6 Days With EXT3

    While investigating EXT4 resize troubles on RHEL6/RHEL7 boxes with OpenVZ kernels, Vasily Averin uncovered several bugs within the EXT4 code. The oldest of which bugs date back to the Linux 2.6.19 kernel in the EXT3 code that was imported when creating the EXT4 file-system.

  • Episode 5: Linux is Personal

    Doc Searls and Katherine Druckman talk to Corbin Champion about Userland, an easy way to run Linux on your Android device, and other new projects.

Security: Podman, Microsoft and Updates

Filed under
Security

Braiins OS Is The First Fully Open Source, Linux-based Bitcoin Mining System

Filed under
OS
GNU
Linux

Braiins Systems, the company behind the Slush Pool, has announced Braiins OS. The creators of this bitcoin mining software have claimed that it’s the world’s first fully open source system for cryptocurrency embedded devices.

The initial release of the operating system is based on OpenWrt, which is basically a Linux operating system for embedded devices. You can find its code here.

Those who know about OpenWrt must be aware of the fact that it’s very versatile. As a result, Braiins OS can also be extended in different applications in future.

In a Medium post, Braiins Systems has said that different weird cases of non-standard behavior of mining devices cause tons of issues. With this new mining software, the company wishes to make things easier for mining pool operators and miners.

Read more

Also: Linux Lite 4.2 Final Released

Linux Mint 19.1 Will Feature a ‘Modern’ Desktop Layout

Filed under
GNU
Linux
Ubuntu

We’re expecting the release of Linux Mint 19.1 to arrive just before the Christmas holidays and, like your nearest and dearest, it’ll be bringing a few surprises with it.

The Linux 19.1 release will include the Cinnamon 4.0 desktop environment by default and this, Mint’s devs say, will “look more modern” than it does not.

How? By using a new panel layout.

Read more

Programming: Rust 2018, Textile, Samsung, Apache Subversion 1.11.0 and More

Filed under
Development
  • SDL 2.0.9 Released As The Latest Version For This Cross-Platform Game Library

    SDL 2.0.9 is now available as the latest feature update to this cross-platform, widely-used library to help with abstracting operating system specific bits across operating systems and hardware from mobile devices to gaming PCs. SDL2 continues to be critically important for most Linux games.

  • AMD Publishes Zen 2 Compiler Patch "znver2" Exposing Some New Instructions

    With GCC 9 feature development ending in November, AMD today sent out their first patch enabling Zen 2 support in the GNU Compiler Collection via the new "znver2" target.

  • Help test Rust 2018

    Back in July, we talked about “Rust 2018”. In short, we are launching a cycle of long-term milestones called “Editions”. Editions are a way to capture the progress delivered incrementally by our ordinary six-week release cycle – and focus Rust libraries, tooling, and documentation cohesively around it. Editions will be selected roughly every three years: Rust 1.0 was “Rust 2015” and Rust 1.31 will be “Rust 2018”. Each edition has a theme; Rust 2015’s was “stability”, and Rust 2018’s is “productivity.”

    We’ve been testing Rust 2018 for a while already, and things are looking pretty good! We have just under six weeks until Rust 1.31 ships, and so we’d appreciate it if you could give the beta a try.

  • Textile – simple lightweight markup language

    Textile is a lightweight and simple markup language that makes it easy to structure content for articles, blogs, wikis, and documentation. It’s origin traces back to the blogging software Textpattern.

    Textile converts its marked-up text input to valid, well-formed XHTML and also inserts character entity references for apostrophes, opening and closing single and double quotation marks, ellipses and em dashes. This lets users create documents, blogs and web pages without needing to write HTML.

  • 39 No Frills Keyboard Shortcuts every Developer Should Follow

    What used to be 27 is now 39 - Due to all the great comments, I've amended the list to add a few more suggestions, thanks to all that contributed.

    Shortcuts are the most productive thing that a developer can add to their repertoire that will aid them through their entire career. Learning how to use your system and tools will improve your productivity and in general make traversing all your windows and apps a breeze. The mouse is a great, tool, but if you can do it quicker, more effectively without your hands leaving your keyboard then you should!

  • What a Coding Dojo taught me about agile

    Of course, we often associate “agile” with specific practices. Let’s take the example of two agile practices that were used together during a Coding Dojo event. A Coding Dojo is a great way of uncovering better ways of developing… I’ll stop there; you know the rest of the sentence by now. A Coding Dojo is a great way to get better at something by practicing with others in a safe and controlled environment.

  • Samsung Comments On Open-Source Restructuring

    Over the weekend we reported on the Samsung Open-Source Group reportedly shutting down with many of the former OSG staffers in the US no longer employed by Samsung. We've now received comments both from Samsung in the US and Korea on the matter.

  • Apache Subversion 1.11.0 released

    Version 1.11.0 of the Subversion source-code management system is out. Changes include improvements to the shelving feature, better resolution of merge conflicts, an experimental checkpointing feature, and more; see the release notes for details.

More in Tux Machines

Kernel: XFS and WiMAX in Linux

  • Prepare To Re-Format If You Are Using An Older XFS Filesystem - LinuxReviews

    Linux 5.10 brings several new features to the XFS filesystem. It solves the year 2038 problem, it supports metadata checksumming and it has better metadata verification. There's also a new configuration option: CONFIG_XFS_SUPPORT_V4. Older XFS filesystems using the v4 layout are now deprecated and there is no upgrade path beyond "backup and re-format". The Linux kernel will support older XFS v4 filesystems by default until 2025 and optional support will remain available until 2030. A new CONFIG_XFS_SUPPORT_V4 option in Linux 5.10. In case you want to.. still be able to mount existing XFS filesystems if/when you upgrade to Linux 5.10. We previously reported that XFS patches for Linux 5.10 delay the 2038 problem to 2486. That's not the only new feature Linux 5.10 brings to the XFS filesystem when it is released early December: It supports metadata checksumming, it has better built-in metadata verification and there is a new CONFIG_XFS_SUPPORT_V4 configuration option. Make sure you don't accidentally say N to that one if you have an older XFS filesystem you'd like to keep using if/when you upgrade your kernel.

  • The Linux Kernel Looks To Eventually Drop Support For WiMAX

    With the WiMAX 802.16 standard not being widely used outside of the Aeronautical Mobile Airport Communication System (AeroMACS) and usage in some developing nations, the Linux kernel may end up dropping its support for WiMAX but first there is a proposal to demote it to staging while seeing if any users remain. Longtime kernel developer Arnd Bergmann is proposing that the WiMAX Linux kernel infrastructure and the lone Intel 2400m driver be demoted from the networking subsystem to staging. In a future kernel release, the WiMAX support would be removed entirely if no active users are expressed. The Linux kernel WiMAX infrastructure is just used by the Intel 2400m driver for hardware with Sandy Bridge and prior, thus of limited relevance these days. That Intel WiMAX implementation doesn't support the frequencies that AeroMACS operates at and there are no other large known WiMAX deployments around the world making use of the frequencies supported by the 2400m implementation or users otherwise of this Linux kernel code.

  • Linux Is Dropping WiMAX Support - LinuxReviews

    It's no loss. There is a reason why you have probably never seen a WiMAX device or heard of it, WiMAX was a wireless last-mile Internet solution mostly used in a few rural areas in a limited number of countries between 2005 and 2010. There is very little use for it today so it is almost natural that Linux is phasing out support for WiMAX and the one WiMAX device it supports. WiMAX is a wireless protocol, much like IP by Avian Carriers except that it has less bandwidth and significantly lower latency. WiMAX (Worldwide Interoperability for Microwave Access) is a set of wireless standards that were used to provide last-mile Internet connectivity where DSL and other solutions were unavailable. WiMAX can work over long distances (up to 50 km), something WiFi can't. The initial design could provide around 25 megabit/s downstream, which was competitive when WiMAX base-stations and modems become widely available around 2005. That changed around 2010 when 4G/LTE become widely available. The WiMAX Forum, who maintains the WiMAX standard, tried staying relevant with a updated standard called WiMAX 2 in 2011. Some equipment for it was made, but it never became a thing. WiMAX was pretty much dead by the time WiMAX 2 arrived. The standard NetworkManager utility GNU/Linux distributions come with supported WiMAX until 2015. The Linux kernel still supports it and exactly one WiMAX device from Intel as of Linux 5.9, but that's about to change.

Fedora Elections and IBM/Red Hat Leftovers

  • Fedora 33 elections nominations now open

    Candidates may self-nominate. If you nominate someone else, please check with them to ensure that they are willing to be nominated before submitting their name. The steering bodies are currently selecting interview questions for the candidates. Nominees submit their questionnaire answers via a private Pagure issue. The Election Wrangler or their backup will publish the interviews to the Community Blog before the start of the voting period. Fedora Podcast episodes will be recorded and published as well. Please note that the interview is mandatory for all nominees. Nominees not having their interview ready by end of the Interview period (2020-11-19) will be disqualified and removed from the election.

  • 12 Tips for a migration and modernization project

    Sometimes migration/modernization projects are hard to execute because there are many technical challenges, like the structure of legacy code, customer environment, customer bureaucracy, network issues, and the most feared of all, production bugs. In this post I'm going to explain the 12-step migration / modernization procedure I follow as a consultant using a tip-based approach. I have some experience with this kind of situation because I’ve already passed by different kinds of projects with several kinds of problems. Over time you start to recognize patterns and get used to solving the hard problems. So, I thought: Wouldn't it be cool to create a procedure based on my experience, so that I can organize my daily work and give the transparency that the customers and managers want? To test this out, I did this for one customer in my hometown. They were facing a Red Hat JBoss EAP migration/modernization project. The results of the project were outstanding. The customer said they were even more satisfied with the transparency. The project manager seemed really comfortable knowing all about the details through the project and pleased with reducing the risk of unexpected news.

  • Awards roll call: June 2020 to October 2020

    We are nearly at the end of 2020 and while the pace continues to increase, we want to take a moment to acknowledge and celebrate some of the successes of Red Hat's people and their work. In the last four months, several Red Hatters and Red Hat products are being recognized by leading industry publications and organizations for efforts in driving innovation.

  • How developers can build the next generation of AI advertising technology – IBM Developer

    As we look across the most rapidly transforming industries like financial services, healthcare, retail – and now advertising, developers are putting open source technologies to work to deliver next-generation features. Our enterprise clients are looking for AI solutions that will scale with trust and transparency to solve business problems. At IBM®, I have the pleasure of focusing on equipping you, the developers, with the capabilities you need to meet the heightened expectations you face at work each day. We’re empowering open source developers to drive the critical transformation to AI in advertising. For instance, at the IBM Center for Open source Data and AI Technologies (CODAIT), enterprise developers can find open source starting points to tackle some of your thorniest challenges. We’re making it easy for developers to use and create open source AI models that can ultimately help brand marketers go deeper with AI to reach consumers more effectively.

Programming: Qt, PHP, JS and Bash

  • Qt 6 To Ship With Package Manager For Extra Libraries - Phoronix

    Adding to the list of changes coming with the Qt 6 toolkit, The Qt Company has now outlined their initial implementation of a package manager to provide additional Qt6 modules.

  • Qt for MCUs 1.5 released

    A new release of Qt for MCUs is now available in the Qt Installer. If you are new to Qt for MCUs, you can try it out here. Version 1.5 introduces new platform APIs for easy integration of Qt for MCUs on any microcontroller, along with an in-depth porting guide to get you going. Additionally, it includes a set of C++ APIs to load new images at runtime into your QML GUI. As with every release, 1.5 also includes API improvements and bug fixes, enhancing usability and stability.

  • KDDockWidgets v1.1 has been released! - KDAB - KDAB on Qt

    KDDockWidgets v1.1 is now available! Although I just wrote about v1.0 last month, the 1.1 release still managed to get a few big features.

  • KDAB TV celebrates its first year - KDAB

    A year ago KDAB started a YouTube channel dedicated to software development with Qt, C++ and 3D technologies like OpenGL. We talked to Sabine Faure, who is in charge of the program, about how it worked out so far and what we can expect in the future.

  • How to build a responsive contact form with PHP – Linux Hint

    Contact forms are commonly used in web applications because they allow the visitors of the website to communicate with the owner of the website. For most websites, responsive contact forms can be easily accessed from various types of devices such as desktops, laptops, tablets, and mobile phones. In this tutorial, a responsive contact form is implemented, and the submitted data is sent as an email using PHP.

  • Applying JavaScript’s setTimeout Method

    With the evolution of the internet, JavaScript has grown in popularity as a programming language due to its many useful methods. For example, many websites use JavaScript’s built-in setTimeout method to delay tasks. The setTimeout method has many use cases, and it can be used for animations, notifications, and functional execution delays.Because JavaScript is a single-threaded, translative language, we can perform only one task at a time. However, by using call stacks, we can delay the execution of code using the setTimeout method. In this article, we are going to introduce the setTimeout method and discuss how we can use it to improve our code.

  • Removing Characters from String in Bash – Linux Hint

    At times, you may need to remove characters from a string. Whatever the reason is, Linux provides you with various built-in, handy tools that allow you to remove characters from a string in Bash. This article shows you how to use those tools to remove characters from a string. [...] Sed is a powerful and handy utility used for editing streams of text. It is a non-interactive text editor that allows you to perform basic text manipulations on input streams. You can also use sed to remove unwanted characters from strings. For demonstration purposes, we will use a sample string and then pipe it to the sed command.

Python Programming

  • Dissecting a Web stack - The Digital Cat

    Having recently worked with young web developers who were exposed for the first time to proper production infrastructure, I received many questions about the various components that one can find in the architecture of a "Web service". These questions clearly expressed the confusion (and sometimes the frustration) of developers who understand how to create endpoints in a high-level language such as Node.js or Python, but were never introduced to the complexity of what happens between the user's browser and their framework of choice. Most of the times they don't know why the framework itself is there in the first place. The challenge is clear if we just list (in random order), some of the words we use when we discuss (Python) Web development: HTTP, cookies, web server, Websockets, FTP, multi-threaded, reverse proxy, Django, nginx, static files, POST, certificates, framework, Flask, SSL, GET, WSGI, session management, TLS, load balancing, Apache. In this post, I want to review all the words mentioned above (and a couple more) trying to build a production-ready web service from the ground up. I hope this might help young developers to get the whole picture and to make sense of these "obscure" names that senior developers like me tend to drop in everyday conversations (sometimes arguably out of turn). As the focus of the post is the global architecture and the reasons behind the presence of specific components, the example service I will use will be a basic HTML web page. The reference language will be Python but the overall discussion applies to any language or framework. My approach will be that of first stating the rationale and then implementing a possible solution. After this, I will point out missing pieces or unresolved issues and move on with the next layer. At the end of the process, the reader should have a clear picture of why each component has been added to the system.

  • Introducing AutoScraper: A Smart, Fast and Lightweight Web Scraper For Python | Codementor

    In the last few years, web scraping has been one of my day to day and frequently needed tasks. I was wondering if I can make it smart and automatic to save lots of time. So I made AutoScraper!

  • django-render-block 0.8 (and 0.8.1) released!

    A couple of weeks ago I released version 0.8 of django-render-block, this was followed up with a 0.8.1 to fix a regression. django-render-block is a small library that allows you render a specific block from a Django (or Jinja) template, this is frequently used for emails when you want multiple pieces of an email together in a single template (e.g. the subject, HTML body, and text body), but they need to be rendered separately before sending.

  • Pyston v2: 20% faster Python | The Pyston Blog

    We’re very excited to release Pyston v2, a faster and highly compatible implementation of the Python programming language. Version 2 is 20% faster than stock Python 3.8 on our macrobenchmarks. More importantly, it is likely to be faster on your code. Pyston v2 can reduce server costs, reduce user latencies, and improve developer productivity. Pyston v2 is easy to deploy, so if you’re looking for better Python performance, we encourage you to take five minutes and try Pyston. Doing so is one of the easiest ways to speed up your project.

  • Pyston v2 Released As ~20% Faster Than Python 3.8 - Phoronix

    Version 2.0 of Pyston is now available, the Python implementation originally started by Dropbox that builds on LLVM JIT for offering faster Python performance. Pyston developers believe their new release is about 20% faster than the standard Python 3.8 and should be faster for most Python code-bases.

  • Python int to string – Linux Hint

    Python is one of the universal languages that support various types of data types like integer, decimal point number, string, and complex number. We can convert one type of data type to another data type in Python. This data type conversion process is called typecasting. In Python, an integer value can easily be converted into a string by using the str() function. The str() function takes the integer value as a parameter and converts it into the string. The conversion of int to string is not only limited to the str() function. There are various other means of int to string conversion. This article explains the int to string conversion with various methods.

  • Python isinstance() Function – Linux Hint

    Python is one of the best and efficient high-level programming languages. It has a very straightforward and simple syntax. It has very built-in modules and functions that help us to perform the basic tasks efficiently. The Python isinstance() function evaluates either the given object is an instance of the specified class or not.