Language Selection

English French German Italian Portuguese Spanish

About Tux Machines

Wednesday, 24 Jul 19 - Tux Machines is a community-driven public service/news site which has been around for over a decade and primarily focuses on GNU/LinuxSubscribe now Syndicate content

Search This Site

Quick Roundup

  • 07/07/2019 - 5:40pm
    JamieCull
  • 04/07/2019 - 7:09pm
    ksanaj
  • 18/07/2018 - 6:58am
    arindam1989
  • 14/08/2017 - 5:04pm
    2daygeek
  • 11/07/2017 - 9:36am
    itsfoss
  • 04/05/2017 - 11:58am
    Variscite
  • 09/04/2017 - 4:47pm
    mwilmoth
  • 11/01/2017 - 12:02am
    tishacrayt
  • 11/01/2017 - 12:01am
    lashayduva
  • 10/01/2017 - 11:56pm
    neilheaney

Master the Linux 'ls' command

Filed under
Linux

The ls command lists files on a POSIX system. It's a simple command, often underestimated, not in what it can do (because it really does only one thing), but in how you can optimize your use of it.

Of the 10 most essential terminal commands to know, the humble ls command is in the top three, because ls doesn't just list files, it tells you important information about them. It tells you things like who owns a file or directory, when each file was lost or modified, and even what kind of file it is. And then there's its incidental function of giving you a sense of where you are, what nearby objects are lying around, and what you can do with them.

Read more

Leftovers: Audiocast, Linux Sound and Linux Foundation

Filed under
Misc
  • mintCast 313.5 – Desktop Environments
  • Audio Component Support Being Worked On For The Radeon & Nouveau Drivers

    Linux sound maintainer Takashi Iwai of SUSE has posted a set of patches implementing HD audio component notifier support for the Radeon and Nouveau DRM kernel drivers.

    Audio component notifier support may not seem like much to get excited about but it allows for more reliable audio hotplug notifications and ELD (EDID Like Data) transfer without accessing the HD audio bus. This yields efficiency benefits and can function without waking up the run-time power management hardware.

  • The Linux Foundation and LF Networking Announce Full Agenda for Open Networking Summit Europe

    The Linux Foundation, the nonprofit organization enabling mass innovation through open source, and LF Networking (LFN), which facilitates collaboration and operational excellence across open networking projects, today announced the session line-up for Open Networking Summit Europe, taking place September 23-25 in Antwerp, Belgium. The event features cross-industry speakers from AT&T, Bell Canada, Cisco, China Mobile, CNCF, Dell Technologies, Deutsche Telekom, doc.ai, Ericsson, ETSI, Huawei, Intel, Loodse, Nexomo, Nokia, Nutanix, Orange, Red Hat, Supergiant, Swisscom, TATA Communications, Telecom Italia, VMware, Vodafone, Vulk Coop, and more.

    “We are pleased to welcome an impressive line-up of speakers from a diverse roster of organizations to the ONS Europe stage this year, said Arpit Joshipura, General Manager, Networking, Edge & IoT, the Linux Foundation. “Open networking now has touch points all across the industry– from cloud native to 5G to AI, edge, IoT, machine learning and more– and is the place to be for the latest in open network innovation and knowledge-sharing.”

Software and HowTos, GSoC

Filed under
Software
HowTos
  • RSS Guard 3.5.9

    RSS Guard is a basic (yet ground-breaking) channel peruser. It can bring the most realized channel groups, including RSS/RDF and ATOM. It’s free, it’s open-source. RSS Guard right now bolsters Czech, Dutch, English, French, German, Italian. RSS Guard will never rely upon different administrations – this incorporates online news aggregators like Feedly, The Old Reader, and others.

  • Applying C - The Pseudo File System
  • How To Install Kali Linux – All The Methods
  • Getting help for Linux shell built-ins
  • How to reinstall Linux

    The time has come when you need to wipe your machine and reinstall the operating system so that it is like brand new. However, you don't know what to do and you don't know where to turn. TechRadar has you covered ... even those of you who use Linux!

    Now, if you're my father, you would delete everything and complain about stuff missing later. In order to be smart about this procedure, it is very wise to do a backup of your computer with all of your files. We have reviewed some great backup solutions from the Toshiba 3TB Cavio, the Western Digital DL4100, to the SanDisk Connect Wireless Flash Drive. You will want to back up your files so that this process is easy.

    Assuming that is all done, I am going to walk you through each step and what you need to prep.

  • Srestha Srivastava: Google Summer of Code 2019 Update

    I then checked if we were able to get the script and command line for installing these Operating Systems, we can get the script list for an OS, and then choose one using get_nth(), we also needed installation configuration to generate command line from this script, I used default unattended configuration and printed the generated command line on terminal.

    After having a discussion with my mentor, we split the work further into steps and he created issues for every task on my development branch. First, I created a new class Installer from which the already existing class InstallerMedia will inherit and also the new InstallerTree class which we would need for tree based installations.

    I realised how important it is to write clear commit messages at every step, especially when your code might be read by many other people, I once included a lot of things in one commit, hence, had to undo it and do it in smaller and cleaner commits.

    Until now, GNOME Boxes was performing express installations using ISO of the Operating System, so we would extract the kernel and initrd from the downloaded ISO, we had a helper class ISOExtractor, that would help in extracting the kernel and initrd from an ISO file using the ArchiveReader and ArchiveWriter class, but now for tree based installations, we will need to download the kernel and initrd from a https location, so I have created a TreeExtractor class that takes the help of Downloader class, the same class that we use to download ISOs for an Operating System. Hence, now there is an Extractor class from which TreeExtractor and ISOExtractor class inherit.

  • Karina Passos: Day 58

    Since the last update, I worked on the Khipu interface and created some models to manage the information on the screen.

Debian and Ubuntu: Deepin 15.11, Molly de Blanc, Debconf 19 and Ubuntu Weekly Newsletter

Filed under
Debian
Ubuntu
  • Deepin 15.11 Released, This is What’s New

    A new version of the Deepin Linux distribution is now available to download — and in this post we give you a quick overview of what’s changed.

    Made by a Chinese company of the same name, Deepin is a high-gloss Linux distro for the desktop. It boasts the bespoke ‘Deepin desktop environment’, a bevy of home-grown apps, and ships with a boatload of visual flair.

    While Deepin is primarily targeted at Chinese-speaking users its slick UI has international appeal, as evidenced by the distro’s increasing popularity on sites like Distrowatch.

    And the latest release looks set to cement that appeal.

  • Molly de Blanc: Free software activities (June 2019)

    I know this is almost a month late, but I am sharing it nonetheless. My June was dominated by my professional and personal life, leaving little time for expansive free software activities. I’ll write a little more in my OSI report for June.

  • Debconf 19 photos

    The main feed for my photos from Debconf 19 in Curitiba, Brazil is currently in my GPhoto album. I will later also sync it to Debconf git share.

  • Ubuntu Weekly Newsletter Issue 588

OSS Leftovers

Filed under
OSS
  • 10 Best WordPress Popup Plugins of 2019

    Do you often come across websites that have annoying pop-ups? What do you generally do? Well, oftentimes, an annoying pop-up makes us not only close the pop-up but even the website! As a website owner, you must consider what kind of pop-up will attract a website visitor and make him/her subscribe to your email list.

    You might have invested a lot on your website but a basic pop-up can turn off your visitor’s interest in your service. On the other hand, even a dull website with an interesting email subscription popup plugins can successfully increase your conversion rate.

    In this article, we will be discussing the top 10 WordPress Popup Plugin in 2019 which can help you grow your email list exponentially!

  • Apache Software Foundation cofounder Jim Jagielski on the evolution of open source

    Jagielski attended and spoke at the first Mid-Atlantic Developer Conference last year, and said he was impressed by the diversity of the crowd across both demographics as well as tech interests. He saw a reflection of the values of the open source community, which encourages everyone to get involved and views all contributions as useful.

  • Ubisoft joins Blender Development Fund

    Today Ubisoft announced that they will join the Blender Foundation’s Development Fund as a corporate Gold member. Not only will Ubisoft help funding online support for Blender developers, Ubisoft Animation Studio – a department of Ubisoft Film and Television – will also use Blender for their productions and assign developers to contribute to Blender’s open source projects.

    Pierrot Jacquet, Head of Production at Ubisoft Animation Studio says “Blender was for us an obvious choice: Its strong and engaged community paired up with the vision carried by the Blender Foundation makes it one of the most creative DCC of the market.”

  • ProFTPD Vulnerability Lets Users Copy Files Without Permission [Ed: Troll site BleepingComputer changed headline from "ProFTPD Remote Code Execution Bug Exposes Over 1 Million Servers" to "ProFTPD Vulnerability Lets Users Copy Files Without Permission" (under rare conditions) because that's too much FUD even by its own standards?]

    Under certain conditions, ProFTPD servers are vulnerable to remote code execution and information disclosure attacks after successful exploitation of an arbitrary file copy vulnerability in the mod_copy module.

    ProFTPd is an open-source and cross-platform FTP server with support for most UNIX-like systems and Windows, and one of the most popular ones targeting the UNIX-based platforms along with Pure-FTPd and vsftpd.

  • Lyft releases open source data set for autonomous vehicle development

    In an effort to bolster the development of cars capable of driving themselves around without human supervision, Lyft today released an autonomous vehicle data set that the company is calling the largest of its kind. It’s freely available in the existing nuScenes format, which was initially developed by Aptiv.

    “Autonomous vehicles are expected to dramatically redefine the future of transportation. When fully realized, this technology promises to unlock a myriad of societal, environmental, and economic benefits,” said Lyft. “With this, we aim to empower the community, stimulate further development, and share our insights into future opportunities from the perspective of an advanced industrial autonomous vehicles program.”

GIMP review

Filed under
GNU
Software
Reviews

GIMP (the GNU Image Manipulation Program) is our top pick for the best free photo editor, and comes with a huge array of professional-quality functions for fine-tuning snaps and creating your own artwork from scratch.

It includes layers, highly customizable brushes, filters and automatic image-enhancement tools, and support for a huge number of plugins (some pre-installed, and others available to download separately).

Its active community of contributors means it’s in constant development, and any bugs are squished in short order. It all adds up to make a truly remarkable free photo editor that’s superior to many commercial programs.

Read more

Proprietary Software on GNU/Linux: BricsCAD Shape, WPS Office, Dropbox, and "Mac" Binaries (Through Darling)

Filed under
Software
  • BricsCAD Shape is a Free SketchUp Alternative for Ubuntu & Linux Mint

    BricsCAD Shape is a free product from CAD software company Bricsys, who offer a range of full-featured (and pricey) CAD software for Windows, macOS and Linux desktops.

  • WPS Office on Linux is a Free Alternative to Microsoft Office

    If you are looking for a free alternative of Microsoft Office on Linux, WPS Office is one of the best choice. It’s free to use and offers compatibility with MS Office document formats.

    WPS Office is a cross-platform office productivity suite. It is light and fully compatible with Microsoft Office, Google Docs/Sheets/Slide and Adobe PDF.

    For many users, WPS Office feels intuitive and capable enough to meet their needs. It has gained popularity because of its closeness to Microsoft Office, both in terms of looks and compatibility.

  • Dropbox restores Linux support in new client beta

    That decision saw the sync ‘n’ share giant decide not to support “uncommon” filesystems, leaving it happy to work with just NTFS for Windows, HFS+ or APFS for Mac and Ext4 for Linux.

    Developers and Linux users were not happy.

    But their frowns can now turn upside-down, as a support note for the forthcoming Dropbox version 77 client update published today says it will “add support for ZFS (on 64-bit systems only), eCryptFS, XFS(on 64-bit systems only), and Btrfs filesystems in Linux.”

    The post doesn’t explain Dropbox’s reasons for the change, but it’s not hard to guess its reasons.

  • Darling Progress Report Q2 2019

    James Urquhart's pull requests gave us more stubs for many frameworks including DrawSprocket, AGL, Carbon, CoreServices, and ApplicationServices. Wow, what a list, thank you James! James also fixed a very low level bug where system calls with large numbers of arguments wouldn't work properly for 32-bit applications. Finally, he fixed a problem where Darling was using clock_sleep instead of clock_nanosleep and a bug with the stat system call.

  • Darling Picks Up New Contributors For Its macOS Compatibility Layer On Linux

    Darling is the long-standing (albeit for some years idling) effort to allow macOS binaries to run on Linux that is akin to Wine but focused on an Apple macOS layer rather than Windows. This summer it's been moving along and seeing some new developer contributions.

    The Darling project just published their Q2 highlights with having new contributors onboard and making progress at varying levels of the stack. They have begun stubbing out more frameworks including AGL, Carbon, AddressBook, CoreServices, and ApplicationServices.

(GNU/)Linux on Devices: Librem/Purism, Congatec, Aaeon, Axiomtek

Filed under
Linux
Hardware
  • Librem One Design Principles: Simple, Secure Applications

    The primary appeal of Librem One is that you get privacy without sacrificing convenience. There is already a wealth of free software available, both applications and services, with numerous security and privacy options. However, learning what they are and keeping up-to-date is generally neither simple nor convenient.

  • Type 6 module adds support for 10 new Intel 9th Gen CPUs

    Congatec’s Linux-friendly “Conga-TS370” COM Express Type 6 module now supports 10 new 9th Gen Coffee Lake-H Refresh chips including a 4.1GHz hexa-core, dual-threaded i7-9850HL with a 25W TDP. There’s also a new Conga-TEVAL/COMe 3.0 carrier.

    Last month, Kontron announced that its Intel 8th Gen Coffee Lake based COMe-bCL6 COM Express Basic Type 6 module had been updated to support Intel’s 9th Gen Coffee Lake Refresh chips. Now, rival German embedded vendor Congatec has stepped up with its own 9th Gen refresh of its 8th Gen Conga-TS370 Basic Type 6 module. You can now order the Conga-TS370 with 14 Intel Core, Xeon, Pentium, and Celeron models, including 10 new 9th Gen chips.

  • Aaeon unveils first Kaby Lake based SDM-S display module

    Aaeon announced a Linux-ready Intel SDM-Small module with a 7th Gen Intel Core CPU. The credit card sized “ASDM-S-KBU” is designed for kiosks, vending machines, and signage applications.

    Earlier this month we started seeing the first products to support Intel’s 175 x 100 x 20mm Smart Display Module-Large form factor for easily serviceable and upgradable signage control boards. Nexcom’s NDiS S538 module runs on an Intel 6th Gen Core CPU and Axiomtek’s SDM500L taps the newer 8th Gen Whiskey Lake-U. Now Aaeon has announced a board that adopts the smaller, 100 x 60 x 20mm Intel SDM-Small (SDM-S) spec. The ASDM-S-KBU is billed as the first SDM-S module based on a 7th Gen Kaby Lake chip.

  • Apollo Lake Pico-ITX SBC supplies mini-PCIe and M.2 expansion

    Axiomtek’s “PICO319” SBC is built around a quad-core Atom x5-E3940 SoC and offers 2x GbE, 2x USB 3.0, DP and LVDS, mini-PCIe and M.2, and -40 to 70°C support.

    The PICO319 is the latest of several Axiomtek Pico-ITX boards with an Intel Apollo Lake processor, including last year’s PICO316. The PICO319 incorporates the quad-core, up to 1.8GHz Atom x5-E3940 instead of the PICO316’s choice of a Pentium N4200 or Celeron N3350. The Atom x5-E3940 enables the PICO319 to support a wider temperature range of -40 to 70°C. No OS support was listed, but the earlier PICO316 supports Linux (Red Hat, Fedora, Ubuntu) and Windows.

Server: Google, SUSE, Mirantis, Kubernetes and Linux Containers

Filed under
Server
  • Introducing Spinnaker for Google Cloud Platform—continuous delivery made easy

    Spinnaker, developed jointly by Google and Netflix, is an open-source multi-cloud continuous delivery platform. Companies such as Box, Cisco, and Samsung use Spinnaker to create fast, safe, repeatable deployments. Today, we are excited to introduce the Spinnaker for Google Cloud Platform solution, which lets you install Spinnaker in Google Cloud Platform (GCP) with a couple of clicks, and start creating pipelines for continuous delivery.

  • SUSE Appoints First Female CEO

    SUSE has appointed Melissa Di Donato as the next CEO of the company to succeed, Nils Brauckmann, who will be retiring and leaving SUSE.

    “I am incredibly proud of SUSE’s progress and growth over the last eight years, which has culminated in it securing independent status,” Brauckmann said.

    Prior to SUSE, Di Donato was chief operating officer and chief revenue officer at SAP where she was responsible for the worldwide revenue, profit and customer satisfaction of the company’s digital core solutions.

  • Mirantis Kubernetes As A Service Is Better Than Competitors – Boris Rensk
  • Coming to grips with cloud and making choices

    On balance, it takes enterprises about 4-5 years before they report that a majority of workloads (75%) are leveraging some form of cloud environment or providers (451 Research, Voice of the Enterprise survey research). At best it’s a methodical process of reshaping investment, practices and business processes — at worst it’s a morass of failed starts, missed opportunities, poor planning and wasted effort. Enterprises should develop an objective, holistic view of their situation that allows for specific actions to be made with a clear eye as to the cost, the process, and the eventual benefits to finding the right venue for any given workload. There’s no right answer for any given situation, but there are right ways to proceed. It’s okay to have a preference for one provider or vendor, and it’s okay to be as independent and cloud-agnostic as possible. It’s okay to prioritize mass migration, and it’s okay to realize some things are better off in the enterprise datacenter. The important part is to develop ways to go into it with eyes wide open and a core understanding of the options available.

  • Get started with Kubernetes (using Python)

    So, you know you want to run your application in Kubernetes but don’t know where to start. Or maybe you’re getting started but still don’t know what you don’t know. In this blog you’ll walk through how to containerize an application and get it running in Kubernetes.

    This walk-through assumes you are a developer or at least comfortable with the command line (preferably bash shell).

  • Don’t Use Kubernetes Until You’ve Asked This Question

    Kubernetes technology has skyrocketed in popularity for the last few years. More and more organizations are using it to power their infrastructure, and as a result, there’s an influx of individuals learning how to use the technology in order to get a new job, upskill for an existing job, or simply to stay up-to-date with the latest tech.

    But why are organizations using this tech? Well, as more organizations have turned to containers in order to run their applications, they’re facing an issue: how do they manage them? Many are using Kubernetes to solve this problem. But is it the right solution?

  • Learn on Demand Systems Enables Lab Authors to Create Linux Containers

Security: Updates, VLC FUD and LinuxSecurity Turning 20

Filed under
Security
  • Security updates for Tuesday

    Security updates have been issued by Debian (libsdl2-image and libxslt), Oracle (java-1.8.0-openjdk and java-11-openjdk), Scientific Linux (java-1.8.0-openjdk and java-11-openjdk), SUSE (bzip2, microcode_ctl, and ucode-intel), and Ubuntu (clamav, evince, linux-hwe, linux-gcp, linux-snapdragon, and squid3).

  • Dodgy vids can hijack PCs via VLC security flaw, US, Germany warn. Software's makers not app-y with that claim

    In a bug-tracking ticket discussing CVE-2019-13615, VideoLAN lead developer Jean-Baptiste Kempf noted that he was unable to recreate the crash using a proof-of-concept .MP4 video, provided by a security researcher four weeks ago, that's supposed to knacker the latest version of VLC, 3.0.7.1. Nor was he able to crash the older 3.0.6 and work-in-progress releases, such as 3.0.8, he reported.

    "This does not crash a normal release of VLC 3.0.7.1," added Kempf. "Sorry, but this bug is not reproducible and does not crash VLC at all."

    VLC developer Francois Cartegnie was more blunt earlier today: "If you land on this ticket through a news article claiming a critical flaw in VLC, I suggest you to read the above comment first and reconsider your (fake) news sources."

  • Our Linux Sister Linuxsecurity.com are Celebrating their 20th Anniversary by Launching a New Website

    LinuxSecurity.com is the community’s central source for information on Linux and open source security. They follow the open source trends as they affect the community. Also they produce content that appeals to administrators, developers, home users, and security professionals.

    Having created a site that satisfies the needs of both IT professionals – including engineers, programmers, designers and system administrators – and those individuals seeking to learn more about security and open source, LinuxSecurity.com has grown to encompass not only their website but also two leading industry email newsletters, Linux Security Newsletter and Security Advisories Weekly.

Fedora and IBM/Red Hat Leftovers

Filed under
Server
OSS
  • ThinkPad X1 Carbon 6th gen on Fedora
  • Multitenant deployment of MongoDB using OpenShift Container Storage and using YCSB to test performance
  • IBM gives cancer-killing drug AI project to the open source community

    IBM has released three artificial intelligence (AI) projects tailored to take on the challenge of curing cancer to the open-source community.

    At the 18th European Conference on Computational Biology (ECCB) and the 27th Conference on Intelligent Systems for Molecular Biology (ISMB), which will be held in Switzerland later this month, the tech giant will dive into how each of the projects can advance our understanding of cancers and their treatment. 

  • IBM Open Sources Cancer-Fighting AI Project

    Now, the company has decided to make all three tools open-source, meaning scientists will be able to use them in their research whenever they please, according to ZDNet. The tools are designed to streamline the cancer drug development process and help scientists stay on top of newly-published research — so, if they prove useful, it could mean more cancer treatments coming through the pipeline more rapidly than before.

  • An OpenShift Administrator’s Guide to Onboarding Applications

    Infrastructure teams managing Red Hat OpenShift often ask me how to effectively onboard applications in production. OpenShift embeds many functionalities in a single product and it is fair to imagine an OpenShift administrator struggling to figure out what sort of conversations his team must have with an application team before successfully running an application on OpenShift.

    In this article, I suggest a few topics that administrators could use to actively engage with fellow application teams for the onboarding process. I have had several conversations with customers on these topics and observed that suggested approach has really helped them. By no means are these topics exhaustive, but they are sufficient to kick start the necessary and relevant conversations. Over time, I expect administrators to have larger conversations with application teams in application onboarding. 

  • OpenWhisk Gets Its Apache Software Diploma

    The OpenWhisk open source serverless platform hit graduation status as a Top-Level Project at the Apache Software Foundation. The designation comes as the serverless ecosystem continues its rapid evolution in meeting the production needs of organizations.

    The OpenWhisk project itself was initially born out of IBM, which donated its beta-level code into the Apache Incubator project in late 2016. IBM was using that codebase to support functions running on its IBM Cloud.

  • The browser wars and the birth of JavaScript

    Before anything like an Android device or iPhone existed, desktop computers were the battleground for the browser wars. The battle involved billions of dollars invested by a number of companies, all based on the premise that whoever ruled the desktop browser market would own the internet. Today, mobile devices account for nearly half of all website traffic. Back in the 1990s, however, almost all of the action on the web came from desktop machines, and the vast majority of those desktop machines were running some flavor of Microsoft Windows.

    In the browser world, the first-mover advantage belonged to Netscape Communications Corporation. They built the Netscape Navigator browser that made the web accessible to millions for the first time. Netscape had more than 80% of the market, but they also had no shortage of competition. IBM had a browser for OS/2. Oracle had the Powerbrowser, a Netscape-compatible product that included something called the Database Markup Language. The real danger to Netscape, of course, came from the company that owned more than 80% of the world’s desktops: Microsoft.

    Strategically, Netscape realized that the web needed to move past static web pages to reach its full potential. Even if they were created dynamically by something like a CGI script on the web server, pages didn’t change once they arrived in your browser. If you wanted to see even a slightly modified version of a page, you had to send a request back to the server and wait for a response. For all its sophistication, a web browser felt a lot like a dumb terminal attached to a mainframe. What web developers needed was a programming language that would run in the browser, taking advantage of the processing power of the desktop machine to give users a richer experience.

    [...]

    JavaScript’s dominance was cemented by the emergence of Node.js on the server side. At a minimum, it gave web developers the ability to take their JavaScript skills from the client to the server. Combined with the ability to pass functions as objects (callbacks), Node.js’s event loop popularized a whole new programming model. Suddenly, you could write a web server in just a few lines of code.

    Then, the rise of the Node Package Manager (npm) to manage dependencies meant a very small application could leverage other packages to do really sophisticated things. As a self-serving example, the knative-proxy package in the Coderland Compile Driver needs fewer than 40 lines of code to handle the HTTP POST and OPTIONS verbs. And it took yr author maybe 30 minutes to write.

    JavaScript is a simple, unpretentious language that has its fingers in every corner of your life. Turn off JavaScript in your browser and see how much of the web doesn’t work anymore. (Philosophical arguments as to whether that’s a good or bad thing are left to the reader.) No matter how or where you use the internet, Brendan Eich’s 10-day coding spree is the most important sprint in the history of computing. You don’t have to like JavaScript, but if you make a living developing for the web, you have to learn it.

Programming: Python, GCC and More

Filed under
Development
  • Stack Abuse: Python for NLP: Word Embeddings for Deep Learning in Keras

    This is the 16th article in my series of articles on Python for NLP. In my previous article I explained how N-Grams technique can be used to develop a simple automatic text filler in Python. N-Gram model is basically a way to convert text data into numeric form so that it can be used by statisitcal algorithms.

    Before N-Grams, I explained the bag of words and TF-IDF approaches, which can also be used to generate numeric feature vectors from text data. Till now we have been using machine learning appraoches to perform different NLP tasks such as text classification, topic modeling, sentimental analysis, text summarization, etc. In this article we will start our discussion about deep learning techniques for NLP.

    Deep learning approaches consist of different types of densely connected neural networks. These approaches have been proven efficient to solve several complex tasks such as self-driving cars, image generation, image segmentation, etc. Deep learning approaches have also been proven quite efficient for NLP tasks.

    In this article, we will study word embeddings for NLP tasks that involve deep learning. We will see how word embeddings can be used to perform simple classification task using deep neural network in Python's Keras Library.

  • Python with JSON Files

    With the growth and evolution of challenges in computer science, Python continues to rise as the primarily sought-after programming skill to solve data science problems.

  • Logging in Python

    Logging is a very useful tool in a programmer’s toolbox. It can help you develop a better understanding of the flow of a program and discover scenarios that you might not even have thought of while developing.

    Logs provide developers with an extra set of eyes that are constantly looking at the flow that an application is going through. They can store information, like which user or IP accessed the application. If an error occurs, then they can provide more insights than a stack trace by telling you what the state of the program was before it arrived at the line of code where the error occurred.

  • Let’s Build A Simple Interpreter. Part 16: Recognizing Procedure Calls

    Today we’re going to extend our interpreter to recognize procedure calls. I hope by now you’ve flexed your coding muscles and are ready to tackle this step. This is a necessary step for us before we can learn how to execute procedure calls, which will be a topic that we will cover in great detail in future articles.

    The goal for today is to make sure that when our interpreter reads a program with a procedure call, the parser constructs an Abstract Syntax Tree (AST) with a new tree node for the procedure call, and the semantic analyzer and the interpreter don’t throw any errors when walking the AST.

  • Playing Tic Tac Toe using Reinforcement Learning

    I have always been fascinated by the amazing work done by OpenAI. The one that stood out to me was a AI bot that could play the massively popular game - Dota 2. Dota 2 used to be the escape from the real world for me and my friends while I was in high school. This inspired me to learn more about the field of RL. I wanted to start small so I started with Tic Tac Toe.

  • Python zip function tutorial (Simple Examples)

    The zip() function in Python programming is a built-in standard function that takes multiple iterables or containers as parameters. An iterable in Python is an object that can be iterated or stepped through like a collection.

    The zip() function is used to map the same indexes of more than one iterable. Mapping these indexes will generate a zip object.

  • GCC 10 Compiler Picks Up New Scheduler Model & Cost Tables For AMD Zen 2 Processors

    While AMD developers published their "Znver2" compiler patches for Zen 2 originally back in November, months ahead of the recent Ryzen 3000 series launch, this compiler support was incomplete as it re-used the existing scheduler model and costs table of Znver1. Now though one of SUSE's compiler experts who often works in cooperation with AMD has published the new Znver2 scheduler model and costs table for Zen 2.

    The updated costs table better reflects the "costs" of moving and loading various registers and different instructions compared to Znver1 so the compiler can make wiser decisions for the most efficient usage. With these updated costs to reflect faster multiplication and 256 vector paths, there is better GNU C Library performance in particular and SUSE developer Jan Hubicka noted that the memory copy performance "wins" even for small blocks.

  • PyCoder’s Weekly: Issue #378 (July 23, 2019)

Graphics: Mesa 19.1.3, RADV and Radeon

Filed under
Graphics/Benchmarks
  • Mesa 19.1.3
    Mesa 19.1.3 is now available.
    
    In this release we have:
    
    Mostly in fixes for ANV and RADV drivers, as well as NIR backend fixes.
    
    Several of those patches fixe actually crashes with the drivers,
    and a couple of them fix memory leaks.
    
    
    Bas Nieuwenhuizen (3):
          radv: Handle cmask being disallowed by addrlib.
          anv: Add android dependencies on android.
          radv: Only save the descriptor set if we have one.
    
    Caio Marcelo de Oliveira Filho (2):
          anv: Fix pool allocator when first alloc needs to grow
          spirv: Fix stride calculation when lowering Workgroup to offsets
    
    Chia-I Wu (2):
          anv: fix VkExternalBufferProperties for unsupported handles
          anv: fix VkExternalBufferProperties for host allocation
    
    Connor Abbott (1):
          nir: Add a helper to determine if an intrinsic can be reordered
    
    Dave Airlie (1):
          radv: fix crash in shader tracing.
    
    Eric Anholt (1):
          freedreno: Fix assertion failures in context setup in shader-db mode.
    
    Gert Wollny (1):
          softpipe: Remove unused static function
    
    Ian Romanick (4):
          intel/vec4: Reswizzle VF immediates too
          nir: Add unit tests for nir_opt_comparison_pre
          nir: Use nir_src_bit_size instead of alu1->dest.dest.ssa.bit_size
          mesa: Set minimum possible GLSL version
    
    Jason Ekstrand (13):
          nir/instr_set: Expose nir_instrs_equal()
          nir/loop_analyze: Fix phi-of-identical-alu detection
          nir: Add more helpers for working with const values
          nir/loop_analyze: Handle bit sizes correctly in calculate_iterations
          nir/loop_analyze: Bail if we encounter swizzles
          anv: Set Stateless Data Port Access MOCS
          nir/opt_if: Clean up single-src phis in opt_if_loop_terminator
          nir,intel: Add support for lowering 64-bit nir_opt_extract_*
          anv: Account for dynamic stencil write disables in the PMA fix
          nir/regs_to_ssa: Handle regs in phi sources properly
          nir/loop_analyze: Refactor detection of limit vars
          nir: Add some helpers for chasing SSA values properly
          nir/loop_analyze: Properly handle swizzles in loop conditions
    
    Juan A. Suarez Romero (3):
          docs: add sha256 checksums for 19.1.2
          Update version to 19.1.3
          docs: add release notes for 19.1.3
    
    Lepton Wu (1):
          virgl: Set meta data for textures from handle.
    
    Lionel Landwerlin (6):
          vulkan/overlay: fix command buffer stats
          vulkan/overlay: fix crash on freeing NULL command buffer
          anv: fix crash in vkCmdClearAttachments with unused attachment
          vulkan/wsi: update swapchain status on vkQueuePresent
          anv: report timestampComputeAndGraphics true
          anv: fix format mapping for depth/stencil formats
    
    Marek Olšák (1):
          radeonsi: don't set READ_ONLY for const_uploader to fix bindless texture hangs
    
    Samuel Iglesias Gonsálvez (1):
          anv: fix alphaToCoverage when there is no color attachment
    
    Samuel Pitoiset (1):
          radv: fix VGT_GS_MODE if VS uses the primitive ID
    
    Sergii Romantsov (1):
          meta: memory leak of CopyPixels usage
    
    Timothy Arceri (1):
          mesa: save/restore SSO flag when using ARB_get_program_binary
    
    Vinson Lee (1):
          meson: Add dep_thread dependency.
    
    Yevhenii Kolesnikov (1):
          meta: leaking of BO with DrawPixels
    
    git tag: mesa-19.1.3
    
  • Mesa 19.1.3 Led By Fixes For Intel & Radeon Vulkan Drivers

    If you are sticking to stable versions of Mesa, the Mesa 19.1.3 point release is out today as the latest and greatest version of this collection of open-source graphics drivers.

    Changes for Mesa 19.1.3 are led by the Intel "ANV" and Radeon "RADV" Vulkan drivers. Among those Vulkan driver fixes are taking care of Android dependencies for ANV, external buffer properties fixes for Intel, a crash in shader tracing for RADV, and various other fixes.

  • RADV Lands Binning Support For GFX10/Navi For Faster Vulkan Performance

    The latest change for Mesa 19.2 to better the new Radeon RX 5000 "Navi" series support is binning in the RADV driver.

    Following all the prep work, Bas Nieuwenhuizen flipped on the binning functionality within the RADV Vulkan API driver for GFX10 (Navi).

    With testing Talos Principle as a test scenario for primitive binning, Bas found the frame-rates to improve by about 6%. That's not too surprising and most Vulkan games should see frame-rates improve by about a couple of percent if the Vega primitive binning numbers are any indicator from when that support landed in RADV.

  • Radeon Cauldron 1.0 Released As AMD's New SDK Framework

    Radeon Cauldron 1.0 is AMD's new graphics SDK framework for developing Vulkan and Direct3D 12 demos/prototypes/samples.

    The GPUOpen developers describe this new framework as "like having a simplified game engine that you can learn and modify in little time." Radeon Cauldron makes it easy to load up glTF 2.0 models and to display in either Vulkan or D3D12, flexibility to encompass more graphics features over time, is written using vanilla C++, and has already been used by different teams within AMD.

Top 20 Best Instant Messaging Programs For Linux in 2019

Filed under
GNU
Linux
Software

Instant messaging programs allow users to make real-time communication between more than one person at a time. Like other popular platforms, Linux also has a lot of high-quality instant messaging clients for its users. There are different kinds of tools that support single or multiple protocols based on their characteristics. But each of the software is quite similar in a way to communicate with your friends, colleagues, and clients.

Read more

Also: This Open Source App Lets You Share Files Between PC & Smartphones Easily

today's howtos

Filed under
HowTos

Fedora 31 To Ship With Golang 1.13, Limiting Scriplet Usage Still Being Debated

Filed under
Red Hat

While debating new CPU requirements for Fedora 32 potentially taking it all the way to AVX2 CPUs as a new base requirement, before that Fedora 31 still needs to get finished up and there is some late feature work happening for this current cycle.

At Monday's Fedora Engineering and Steering Committee (FESCo) meeting, upgraded the Go programming language stack to Golang 1.13 was approved for Fedora 31.

Meanwhile defaulting to DNF's "best" mode for Fedora 31 was rejected in not being fond of the different behavior by default and contingent upon what tool a user is using for upgrades.

Read more

Also: Fedora CoreOS Preview Released

An /e/ Summer update: smartphones for sale, applications, PWAs & next steps

Filed under
OS
Android

Eighteen months later, most of what was described in that early vision has been built. We have produced an unGoogled mobile OS (currently supported on 80 different smartphone models) and /e/ associated online services — email address, online storage, calendar & notes — are up and running. All accessed through a single personal /e/ identity and password (read a comprehensive description here).

Recently, we have introduced the /e/ app repository providing access to 60,000 free Android apps that can be installed directly from the /e/OS.

Read more

Syndicate content