Language Selection

English French German Italian Portuguese Spanish

Web

WordPress 5.6 Second Beta and WordPress Survey

Filed under
Server
Web
  • News – WordPress 5.6 Beta 2 – WordPress.org

    WordPress 5.6 beta 2 is now available for testing!

    This software is still in development, so we recommend that you run this version on a test site.

  • News – Take the 2020 WordPress Annual Survey (and view the 2019 results)! – WordPress.org

    For many years, WordPress enthusiasts have filled out an annual survey to share their experiences and feelings about WordPress. Interesting results from this survey have been shared in the annual State of the Word address and/or here on WordPress News.

    This survey helps those who build WordPress understand more about how the software is used, and by whom. The survey also helps leaders in the WordPress open source project learn more about our contributors’ experience.

    To ensure that your WordPress experience is represented in the 2020 survey results,

    Take the 2020 Annual Survey! (English)
    You can also take the survey in French, German, Japanese, Russian, and Spanish! The survey will be open for at least 6 weeks, and results will be posted on this blog.

    [...]

    The WordPress Professionals group consists of those who: work for a company that designs/develops websites; use WordPress to build websites and/or blogs for others; design or develop themes, plugins, or other custom tools for WordPress sites; or are a designer, developer, or other web professional working with WordPress.

    This WordPress Professionals group is further divided into WordPress Company Pros (those who work for a company that designs/develops websites) and WordPress Freelancers/Hobbyists (all other professional types) subgroups.

7 Best Free and Open Source Ruby-Based Web Content Management Systems

Filed under
OSS
Web

A web content management system (WCMS) is software designed to simplify the publication of Web content. In particular, it enables content creators to submit content without requiring technical knowledge of HTML or the uploading of files. A CMS is most commonly used in creating an intranet or in establishing a presence on the Web.

This type of software that keeps track of every piece of content on a Web site. Content can be simple text, photos, music, video, documents, or just about anything you can think of. A major advantage of using a CMS is that it requires almost no technical skill or knowledge to manage.

Not only do content management systems help website users with content editing, they also take care of a lot of “behind the scenes” work such as automatically generating navigation elements, making content searchable and indexable, keeping track of users, their permissions and security setting, and much more.

To provide an insight into the quality of software that is available, we have compiled a list of 7 high quality free Ruby-based Linux WCMS. Hopefully, there will be something of interest for anyone who wishes to manage a website.

Read more

Uncovering the Best Open Source Google Analytics Alternatives

Filed under
Google
OSS
Web

Web analytics is the measurement, collection, analysis and reporting of internet data. In a nutshell, it is the study of website visitor behavior. It is the process of using online data to transform a organization from faith-based to data driven.

This type of software helps you generate a holistic view of your business by turning customer interactions into actionable insights. Using reports and dashboards, web analytics software lets you sort, sift and share real-time information to help identify opportunities and issues. Keeping track of web visitors, analyzing traffic sources, measuring sales and conversions are just some of the possibilities.

Google Analytics is an excellent well known free service that lets webmasters and site owners access web analytics data. The web service generates detailed statistics about a website’s traffic and sources. It helps marketers and is the most widely used website statistics service. But the biggest downside with Google Analytics is that your data is controlled and used for Google’s own purposes, not just by you. It is also not an open source solution, with a webmaster or site owner being denied access to the raw data.

There are also many other remote-hosted web analytics services that are well-designed and comprehensive. However, if you want an open source solution where the software is hosted on your own server, there are some good alternatives. Having the software installed on your server means that you retain full control over your data, with the possibility of integrating that data into your own system. This solution might, for example, be important to people who do not want to give Google (or another organization) the invitation to control a large portion of their online activity, or who want to be fully in control of visitor privacy.

To provide an insight into the quality of software that is available, we have compiled the following list of open source web analytics software.

Read more

Also: ITFirms Lists Top Free, Open-Source Statistical Analysis Software

Standards/Consortia: Abolishing OOXML, Web Standards, and the European Commission's Interoperability Drive

Filed under
LibO
Web
OOo
  • Professors, please let us submit PDFs

    We are under two weeks away from a presidential election and already eight months into a deadly pandemic, but we still have time for the little things. No, I don’t mean smelling flowers and sipping pumpkin spice lattes, though you are welcome to do so—I mean the types of file formats that professors request students use to submit papers.

    In my experience, most professors ask for files with a DOCX extension, a format which was developed by Microsoft in 2007 to help standardize its file extensions across its various applications. Officially known as Office Open XML, the DOCX format broke backwards compatibility with the old .doc format. This meant that all previous versions of Microsoft Word prior to the new standard would be unable to open files with this particular extension. Consternation followed that development in 2007 (or 2008 for Mac users), but in the year 2020 we have mostly solved that issue, as most computers these days do not run any pre-2006 versions of Microsoft Office.

    The modern problems with DOCX are really not problems with DOCX itself, but rather with its place in the pantheon of file extensions that are now available. Most students in our current age produce their work in a Google Doc (in point of fact, this very article was produced in a Google Doc). It’s a simple workflow that has all the functionality of a full-blown application without having to leave a web browser or fight with a sign-in form (beyond the one that we’re always signed into as a part of daily campus life). I don’t support submitting an essay or exam as a raw Google Doc, however, and my reasons for not doing so are partially shared with my aversion to submitting in DOCX: all the writing tools are immediately available upon opening the document.

    [...]

    The obvious solution is for professors to request papers in Portable Document Format, PDF. Originally developed in 1993, the PDF file format has not outlived its usefulness. Anything, from Windows 10 to Windows 95, MacOS to OS X or Unix to Ubuntu, anything can open a PDF. And since anything can open it, when students finish writing and export to PDF, we can see exactly what it is we’re submitting with our names attached. And it’s not like professors should hate it; it’s the default format for any downloaded academic document, and providing comments is much closer to how comments are written on physical paper.

    Students shouldn’t be the only ones submitting files in PDF format either. For every file in DOCX a professor puts on Moodle, there are probably three copies on every student’s hard drive. Every weekday we face the choice of digging through our downloaded files for the syllabus we downloaded a week ago or downloading yet another copy of that same syllabus. Uploading PDF files instead of DOCX to Moodle lets students open it in a web browser, a faster and less cluttered operation that lets our focus stay on class instead of going through old files.

  • Static versus dynamic web sites

    In this post, I want to explore two fundamental principles or criteria that underpinned my original article, but were more or less unpronounced: sustainability and power. I also want to update you on my current site configuration.

  • [Old] Writing HTML in HTML

    I've just finished the final rewrite of my website. I'm not lying: this is the last time I'm ever going to do it. This website has gone through countless rewrites – from WordPress to Jekyll to multiple static site generators of my own – but this is the final one. I know so, because I've found the ultimate method for writing webpages: pure HTML.

    It sounds obvious, but when you think about how many static site generators are being released every day – the list is practically endless – it's far from obvious. Drew DeVault recently challanged people to create their own blog, and he didn't even mention the fact that one could write it in pure HTML:

    If you want a hosted platform, I recommend write.as. If you're technical, you could build your own blog with Jekyll or Hugo. GitHub offers free hosting for Jekyll-based blogs.

    Now, there's nothing wrong with Jekyll or Hugo; it's just interesting that HTML doesn't even get a mention. And of course, I'm not criticizing Drew; I think the work he's doing is great. But, just like me and you, he is a child of his time.

    That's why I'm writing this blog post – to turn the tide just a little bit.

  • Shaping the future interoperability policy

    The European Commission is currently evaluating the ISA² programme and the European Interoperability Framework to present a reinforced public sector interoperability policy in 2021.

    The related roadmaps (EIF and ISA²) are now published for feedback on the Commission’s Have your say portal. You can provide feedback on the EIF and future interoperability policy roadmap till 12 November 2020. Feedback on the roadmap for the evaluation of the ISA² programme is open till 13 November 2020.

Streaming services, beware: International Day Against DRM (IDAD) is coming Dec. 4

Filed under
GNU
Movies
Web

The fourteenth International Day Against DRM (IDAD) is coming soon, and the Defective by Design (DbD) campaign needs your help to spread the word. This year's annual day in protest of Digital Restrictions Management (DRM) will be on December 4th, 2020, and will focus on streaming services' unjust use of DRM. We need your help to spread that message far and wide to both anti-DRM activists and those simply concerned with how in a world with continued technological advancement, our digital freedoms are increasingly under threat.

While in quarantine, we've all been conscious of how the way we engage with our favorite films, television, and music has been changing. Many (if not most) homes connected to a high-speed Internet connection have turned to streaming services that peddle DRM to seek entertainment, subjecting themselves to onerous restrictions in exchange for a way to pass the time. The Defective by Design campaign exists to raise awareness about the injustice of these services and other ways that media conglomerates use DRM to deprive computer users of their freedom.

In the last few years since the rise of these services, we've seen their influence grow from a mere drop in the bucket of video distribution to a stranglehold on global culture. Each more poorly named and unnecessary than the last, these services dictate what we watch, surveil us while we watch it, and through it all, make use of digital restrictions to keep viewers helpless and unable to exert meaningful control on how they choose to experience movies, music, and television. Not only do they keep subscribers trapped in the "walled gardens" of their service, but these dis-services dictate exactly how the works they distribute can be viewed, down to mandating the use of proprietary software and hardware that curtails user freedom. We deserve better.

Read more

5 Best Free and Open Source Console Web Browsers

Filed under
OSS
Web

A web browser is the quintessential desktop application. Everyone needs one, and there is not a desktop Linux distribution around that does not make a web browser available.

This type of software application is responsible for retrieving and presenting information held on the World Wide Web, a system of interlinked hypertext documents accessed via the internet. Web browsers allow users to view web pages which often contain a mixture of text, images, videos, and other multimedia.

Read more

USDOJ Takes on Google, Mozilla Responds

Filed under
Google
Moz/FF
Web
Legal
  • Justice Department Sues Monopolist Google For Violating Antitrust Laws

    oday, the Department of Justice — along with eleven state Attorneys General — filed a civil antitrust lawsuit in the U.S. District Court for the District of Columbia to stop Google from unlawfully maintaining monopolies through anticompetitive and exclusionary practices in the search and search advertising markets and to remedy the competitive harms. The participating state Attorneys General offices represent Arkansas, Florida, Georgia, Indiana, Kentucky, Louisiana, Mississippi, Missouri, Montana, South Carolina, and Texas.

    “Today, millions of Americans rely on the Internet and online platforms for their daily lives. Competition in this industry is vitally important, which is why today’s challenge against Google — the gatekeeper of the Internet — for violating antitrust laws is a monumental case both for the Department of Justice and for the American people,” said Attorney General William Barr. “Since my confirmation, I have prioritized the Department’s review of online market-leading platforms to ensure that our technology industries remain competitive. This lawsuit strikes at the heart of Google’s grip over the internet for millions of American consumers, advertisers, small businesses and entrepreneurs beholden to an unlawful monopolist.”

  • Mozilla Reaction to U.S. v. Google

    Like millions of everyday internet users, we share concerns about how Big Tech’s growing power can deter innovation and reduce consumer choice. We believe that scrutiny of these issues is healthy, and critical if we’re going to build a better internet. We also know from firsthand experience there is no overnight solution to these complex issues. Mozilla’s origins are closely tied to the last major antitrust case against Microsoft in the nineties.

    In this new lawsuit, the DOJ referenced Google’s search agreement with Mozilla as one example of Google’s monopolization of the search engine market in the United States. Small and independent companies such as Mozilla thrive by innovating, disrupting and providing users with industry leading features and services in areas like search. The ultimate outcomes of an antitrust lawsuit should not cause collateral damage to the very organizations – like Mozilla – best positioned to drive competition and protect the interests of consumers on the web.

  • DOJ May Force Google To Sell Chrome To Settle Antitrust Case: Report

    he U.S. Department of Justice may force Google to sell its Chrome browser. The development came after the US Congress’ antitrust report on big tech companies.

    It is also told that the DOJ is targeting Google’s advertising business as well. The prosecutors aim at breaking Google’s monopoly on the $162 billion digital advertising market. Politico reported the development via anonymous sources.

Nyxt – keyboard-oriented extensible open source web browser

Filed under
Software
Web

Developing a web browser is a gargantuan task with the market dominated by a handful of web browsers. And if you want an open source graphical web browser your options are even more limited; the two popular choices are Firefox and Chromium.

Why are web browsers difficult to code? Let’s look at the components of a web browser. They typically offer a graphical user interface, an engine, and a controller. The engine is the most complicated element. Engines used by open source web browsers include WebKit, Blink, and Gecko (or the Goanna fork).

The graphical user interface is a large part of the user experience for many web browsers. Firefox sees a fair chunk of the screen estate devoted to its interface. However, advanced users prefer to declutter the interface, leaving almost all of the screen real-estate to the engine.

Step forward Nyxt. This open source web browser offers familiar key-bindings (Emacs, vi, CUA), it is fully configurable and extensible in Lisp, and sports powerful features. You may not have heard of Nyxt even though it’s attracted nearly 5K GitHub stars. Let’s put that right!

This web browser was originally called Next, but sensibly the project was recently renamed to Nyxt.

Read more

15 Privacy-Focused Free Open-source Web Browsers That care about your Privacy

Filed under
Web

Most of the popular web browsers does not care much about user privacy with minor exceptions for Mozilla Firefox and Opera.

Privacy is not a luxury, it's a necessity especially nowadays when our private data, interests, usage behaviors are becoming a product for many companies and enterprises to use to reach us or generate more revenue.

Google Chrome is dominating other browsers with the largest share, however with its default state, it provides a basic privacy protection and requires more tools and customization to make it more privacy-aware.

Unfortunately, many users find that hard to do, as they are not experienced or that tech-savvy user. And the same goes for Mozilla Firefox.

Read more

Web Alternatives, Chrome, Mozilla, and More

Filed under
Google
Moz/FF
Web
  • Simplify your web experience with this internet protocol alternative

    If you've been on the internet for a very long time or you're just very resourceful, you might remember an early text-sharing protocol called Gopher. Gopher was eventually displaced by the HTTP protocol, which of course is the basis for the modern World Wide Web. For many people, the "internet" and the "World Wide Web" are the same thing, because many people don't consciously do anything online that's not on the www subdomain.

    But there have always been a variety of network protocols to share information over an interconnected network: Telnet, FTP, SSH, Torrent, GNUnet, and many more. Recently, there's been an addition to this collection of alternatives, and it's called Gemini.

    The Gemini protocol, named after the space mission between the rudimentary experiments of Project Mercury and Project Apollo, is meant to sit peacefully between Gopher and HTTP. It doesn't aim to replace the modern web, by any means, but it does try to create both a simplified web and a modernized Gopher.

  • Browse the web using Gemini on your Apple device

    Lately, I've been checking out pages on the nascent Gemini protocol, a new application-level protocol for hypertext documents. It falls somewhere between the minimalism of Gopher and the complexity and weight of the World Wide Web.

  • Chrome 86 Released With Native File-System, WebCodecs APIs

    Chrome 86 is out today as the latest feature release to Google's cross-platform web browser.

  • about:Mozilla's #introduction channel - and how it could work for your project

    Mozilla is a large community, with dozens of projects, from Firefox front-end to localization to addons.mozilla.org to Firefox Hubs to support.mozilla.org, etc. Unsurprisingly, we have many communication channels. Bugzilla and Phabricator, Github issues and Pull Requests, Matrix/Riot/Element (formerly IRC) and Discourse, etc.

  • Get ready for virtual Halloween with Mozilla Hubs

    Halloween is around the corner and like everything in 2020, it’s probably going to be different this year. Meeting up with friends is fraught, dunking for apples is right out, and going door-to-door for candy?

    [...]

    Hosting a virtual Halloween party in Hubs is easy. Visit the Hubs website, and click on “Create a Room.” A Hubs room is where you’ll invite your friends to gather. As you enter the room, you’ll need to grant mic permission so that your friends will be able to hear you talk.

  • This Week in Glean: FOG progress report

    About a year ago chutten started the "This Week in Glean" series with an initial blog post about Glean on Desktop. Back then we were just getting started to bring Glean to Firefox Desktop. No code had been written for Firefox Desktop, no proposals had been written to discuss how we even do it.

    Now, 12 months later, after four completed milestones, a dozen or so proposal and quite a bit of code, the Project Firefox on Glean (FOG) is finally getting into a stage where we can actually use and test it. It's not ready for prime time yet, but FOG is enabled in Firefox Nightly already.

    Over the past 4 weeks I've been on and off working on building out our support for a C++ and a JavaScript API. Soon Firefox engineers will be able to instrument their code using Glean. In C++ this will look like:

Syndicate content

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.