Language Selection

English French German Italian Portuguese Spanish

Programming: Python, Node.js and LLVM

Filed under
Development
  • uwsgi weirdness with --http

    Instead of upgrading everything on my server, I'm just starting from scratch. From Ubuntu 16.04 to Ubuntu 19.04 and I also upgraded everything else in sight. One of them was uwsgi. I copied various user config files but for uwsgi things didn't very well. On the old server I had uwsgi version 2.0.12-debian and on the new one 2.0.18-debian. The uWSGI changelog is pretty hard to read but I sure don't see any mention of this.

  • Wingware Blog: Viewing Arrays and Data Frames in Wing Pro 7

    Wing Pro 7 introduced an array and data frame viewer that can be used to inspect data objects in the debugger. Values are transferred to the IDE according to what portion of the data is visible on the screen, so working with large data sets won't slow down the IDE.

    The array viewer works with Pandas, numpy, sqlite3, xarray, Python's builtin lists, tuples, and dicts, and other classes that emulate lists, tuples, or dicts.

  • Solving Sequence Problems with LSTM in Keras: Part 2

    This is the second and final part of the two-part series of articles on solving sequence problems with LSTMs. In the part 1 of the series, I explained how to solve one-to-one and many-to-one sequence problems using LSTM. In this part, you will see how to solve one-to-many and many-to-many sequence problems via LSTM in Keras.

    Image captioning is a classic example of one-to-many sequence problems where you have a single image as input and you have to predict the image description in the form of a word sequence. Similarly, stock market prediction for the next X days, where input is the stock price of the previous Y days, is a classic example of many-to-many sequence problems.

    In this article you will see very basic examples of one-to-many and many-to-many problems. However, the concepts learned in this article will lay the foundation for solving advanced sequence problems, such as stock price prediction and automated image captioning that we will see in the upcoming articles.

  • Voronoi Mandalas

    I started with Carlos Focil's mandalapy code, modifying the parameters until I had a design I liked. I decided to make the Voronoi diagram show both points and vertices, and I gave it an equal aspect ratio. Carlos' mandalapy code is a port of Antonio Sánchez Chinchón's inspiring work drawing mandalas with R, using the deldir library to plot Voronoi tesselations.

  • Python Code Kata: Fizzbuzz

    A code kata is a fun way for computer programmers to practice coding. They are also used a lot for learning how to implement Test Driven Development (TDD) when writing code. One of the popular programming katas is called FizzBuzz. This is also a popular interview question for computer programmers.

  • why python is the best-suited programming language machine learning

    Machine Learning is the hottest trend in modern times. According to Forbes, Machine learning patents grew at a 34% rate between 2013 and 2017 and this is only set to increase in the future. And Python is the primary programming language used for much of the research and development in Machine Learning. So much so that Python is the top programming language for Machine Learning according to Github.

    Python is currently the most popular programming language for research and development in Machine Learning. But you don’t need to take my word for it! According to Google Trends, the interest in Python for Machine Learning has spiked to an all-new high with other ML languages such as R, Java, Scala, Julia, etc. lagging far behind.

  • Node.js now available in Haiku

    As some have already known for a long time, many platforms have had support for writing software in JavaScript or TypeScript with the help of the Node.js runtime and over the years, much of the software written by developers these days have gradually been written in either of those languages. However, Haiku has lacked a Node.js port for quite sometime and it wasn’t possible to run or develop JavaScript based software or libraries that depended on the Node.js runtime. Now I can say that Node.js is available for Haiku and can be downloaded from HaikuDepot on 64 bit (32 bit support is being worked on). The version which is currently available is 12.3.1 and is already being updated to the latest version at the time of this writing to 12.10.0 and support for the upcoming LTS version is also coming to HaikuPorts. Several patches have been upstreamed by members of the HaikuPorts team to projects such as libuv (cross-platform async I/O library), GN, etc and we hope to upstream to larger projects like V8 (Google’s JavaScript engine used in Chromium and QtWebEngine) and the Node.js project, which will ease the bringup of a future Node LTS release for Haiku.

  • Node.js Brought To BeOS-Inspired Haiku Open-Source OS

    Haiku as the open-source operating system that still maintains BeOS compatibility continues tacking on modern features and support for software well past the days of BeOS.

    The newest major piece of software working on BeOS is Node.js, including support for its NPM package manager.

  • LLVM 9.0 Released With Ability To Build The Linux x86_64 Kernel, Experimental OpenCL C++

    It's coming almost one month behind schedule, but LLVM 9.0 is out today along with the Clang 9.0 C/C++ compiler and associated sub-projects for this open-source compiler infrastructure.

    LLVM 9.0 is an exciting release with bringing the ability to build the mainline Linux x86_64 kernel using LLVM/Clang 9.0 now that "asm goto" support was finally added. The AArch64 support was in better standing previously but now at long last the mainline Clang 9.0 compiler can build the current Linux kernel releases with not needing any extra patches on either side, just point the kernel build CC to Clang.

More in Tux Machines

Android Leftovers

Leftovers: GNOME/GTK, Android-x86, Fedora, LibreOffice and More

  • g_array_steal() and g_ptr_array_steal() in GLib 2.63.1

    Another set of new APIs in the upcoming GLib 2.63.1 release allow you to steal all the contents of a GArray, GPtrArray or GByteArray, and continue using the array container to add more contents to in future. This is work by Paolo Bonzini and Emmanuel Fleury, and will be available in the soon-to-be-released 2.63.1 release.

  • GNOME Shell Hackfest 2019

    This week, I have attended the GNOME Shell Hackfest 2019 held in Leidschendam, The Netherlands. It was a fantastic event, in a fantastic city! The list of attendees was composed of key members of the community, so we managed to get a lot done — a high amount of achievements for only three days of hackfest, in fact.

  • Android-x86: Run Android on your PC: Release Note 7.1-r3

    The Android-x86 project is glad to announce the release of 7.1-r3. This is the third stable release for Android-x86 7.1 (nougat-x86). The prebuilt images are available in the following site as usual: https://www.fosshub.com/Android-x86-old.html https://osdn.net/rel/android-x86/Release%207.1 Key Features The 7.1-r3 is mainly a bugfixes release of 7.1-r2. It based on Android 7.1.2 Nougat MR2 security updates (android-7.1.2_r39). Some newer features are also back-ported from 8.1 release. We encourage users of 7.1-r2 or older release upgrade to this release.

  • David Cantrell: rpminspect-0.8 released (and a new rpminspect-data-fedora)

    Work on the test suite continues with rpminspect and it is finding a lot of corner-case type runtime scenarios. Fixing those up in the code is nice. I welcome contributions to the test suite. You can look at the tests/test_*.py files to see what I'm doing and then work through one inspection and do the different types of checks. Look in the lib/inspect_NAME.c file and for all of the add_result() calls to figure out what tests should exist in the test suite. If this is confusing, feel free to reach out via email or another means and I can provide you with a list for an inspection.

  • Fedora Community Blog: FPgM report: 2019-42

    Here’s your report of what has happened in Fedora Program Management this week. Fedora 31 was declared No-Go. We are currently under the Final freeze. I have weekly office hours in #fedora-meeting-1. Drop by if you have any questions or comments about the schedule, Changes, elections, or anything else.

  • New Feature in Libreoffice: Full-Sheet Previews

    The feature was developed on the cp-6.2 branch of LibreOffice code-base (which is basicly Collabora Office 6.2), and is already available in Collabora Office snaphots. And is being backported to LibreOffice master, so it will be also available in LibreOffice development builds and soon in the Collabora Office snapshots.

  • Rooting for ZFS | TechSNAP 414

    We dive into Ubuntu 19.10’s experimental ZFS installer and share our tips for making the most of ZFS on root. Plus why you may want to skip Nest Wifi, and our latest explorations of long range wireless protocols.

  • 2019-10-18 | Linux Headlines

    Researchers discover a kernel bug that can crash Linux devices, Fedora 31’s release date slips, Cedalo opens up its Streamsheets code, Google announces the Android NDK 21 beta, and Unix turns 50.

  • Google Launches A Refreshed Pixelbook Laptop At $649

    Say hello to a more affordable Chromebook that's lightweight and more fun to type on.

Proprietary Software, Games, Patent Traps/Tax and Openwashing

  • Adobe Announces Plan To Essentially Steal Money From Venezuelans Because It 'Has To' Due To US Sanctions

    Adobe has long had a history of questionable behavior, when it comes to the rights of its customers, and how the public is informed on all things Adobe. With the constant hammering on the concept that software it sells is licensed rather than purchased, not to mention with the move to more SaaS and cloud-based software, the company is, frankly, one of the pack leaders in consumers not actually owning what they bought.

  • Fantasy tactical RPG Wildermyth blends a mix of hand-painted 2D and 3D art & arrives on Steam soon

    With character art during the turn-based battles that look like paper cutouts in a 3D environment, Wildermyth certainly has a strange and lovely charm to it. Currently available on itch.io where users have been testing it for some time, Worldwalker Games have now announced that their character-driven tactical RPG will enter Early Access on Steam on November 13. In Wildermyth, your party will be tasked with defending the lands from various threats, switching between the turn-based combat and making decisions on the over-world map. It has choice-based comic-styled events, which can end up changing your heroes' appearance, personalities, relationships, and abilities.

  • Paragon Looks To Upstream Their Microsoft exFAT Driver For The Linux Kernel

    With the upcoming Linux 5.4 kernel release there is now an exFAT file-system driver based on an old Samsung code drop of their exFAT driver support for mobile devices. This comes after Microsoft made the exFAT specification public recently and gave their blessing for a native Linux driver for the file-system. The Linux developers acknowledge though the current exFAT code is "horrible" and a "pile of crap" but is within the staging area. So in Linux 5.4's staging is this preliminary read-write driver for exFAT that continues to be cleaned up and further improved upon. Meanwhile there is also another out-of-tree exFAT Linux driver based on Samsung's sdFAT code that is said to be in better shape than the mainline code. But now there's another option with Paragon Software wanting to upstream their own exFAT driver into the Linux kernel.

  • VMware’s Joe Beda: Enterprise Open Source Is Growing [Ed: “Enterprise Open Source” means proprietary software and openwashing for marketing purposes]

    One of the fathers of Kubernetes says enterprise customers see the most benefit from the community-driven approach because their users get the opportunity to influence the direction development takes.

Linux Devices/Open Hardware

  • Site.js and Pi

    Chatting about Pi, on a Pi, with a chat server running on Site.js on the same Pi.

  • This MicroATX Motherboard is Based on Phytium FT2000/4 Arm Desktop SoC @ 3.0 GHz
  • Rikomagic R6 Review – Part 1: Android Mini Projector’s Unboxing and First Boot

    Rikomagic R6 is a mini Android projector that looks like a vintage radio, or depending on your point of view a mini vintage television.

  • Brief on Behalf of Amicus Curiae Open Source Hardware Association in Curver Luxembourg, SARL v. Home Expressions Inc., No. 18-2214 (Fed. Cir.)

    Curver Luxembourg, SARL v. Home Expressions Inc. is a case of first impression for the Court of Appeals for the Federal Circuit. The question on appeal is whether a design patent’s scope is tied to the article of manufacture disclosed in the patent. In this amicus brief, the Open Source Hardware Association (“OSHWA”) explains the potential effects on open source hardware development, and design practice generally, of untethering design patent protection from the article of manufacture disclosed in the patent. A large percentage of open-source hardware combines both ornamental and functional elements, and industrial design routinely involves applying design concepts from disparate fields in novel ways. To engage in this practice, open-source hardware designers need to know the universe of available source material and its limits. Further, understanding the licensing requirements of open-source hardware begins with understanding how the elements that make up that hardware may or may not be protected by existing law. Accordingly, while many creators of open-source hardware do not seek patent protection for their own creations, an understandable scope of design patent protection is nonetheless essential to their ability to collaborate with other innovators and innovate lawfully. The brief argues that the District Court in the case—and every district court that has considered the issue—correctly anchored the patented design to the article of manufacture when construing the patent. The brief explains that anchoring the patented design to the disclosed article of manufacture is the best approach, for several reasons. Connecting the patented design to the disclosed article of manufacture calibrates the scope of design patent protection to the patentee’s contribution over the prior art. It avoids encumbering the novel and nonobvious application of prior designs to new articles of manufacture, a fundamental and inventive practice of industrial design. It aligns the scope of design patent protection with its purpose: encouraging the inventive application of a design to an article of manufacture. This balances protection for innovative designs with later innovators’ interest in developing future designs. Finally, anchoring the patented design to the disclosed article of manufacture helps fulfill design patent law’s notice function by clarifying the scope of protection.