Language Selection

English French German Italian Portuguese Spanish

Development

Programming: Futures of Meson, RustPython, CodeReady and Python Leftovers

Filed under
Development
  • Jussi Pakkanen: On possible futures of Meson

    At FOSDEM I talked to a bunch of people about an issue that has been brought up a couple of times recently, specifically that of integrating Rust in existing code bases. Some projects are looking into converting parts (or presumably eventually everything) of their code to Rust. A requirement of this is that for some time there need to be both Rust and C or whatever language within one project at the same time. (The rest of this blog post will use Rust as an example, but the same issues are present in all modern programming languages that have the same build system/dependency setup. In practice this means almost all of them.)

    This would not be such a problem except that Rust by itself has pretty much nothing in the standard library and you need to get many crates via Cargo for even fairly simple programs. Several people do not seem particularly thrilled about this for obvious reasons, but have given up on this battle because "in practice it's impossible to develop in Rust without using Cargo" or words to that effect. As the maintainer of Meson, they obviously come to me with the integration problem. Meson does support compiling Rust directly, but it does not go through Cargo.

    This is where I'm told to "just call Cargo" instead. There are two major problems with this. The first one is technical and has to do with the fact that having two different build systems and dependency managers in one build directory does not really work. We're not going to talk about this issue in this blog post, interested people can find writings about this issue using their favorite bingoogle. The second issue is non-technical, and the more serious one.

  • RustPython Is Implementing Python 3 Within Rust

    RustPython is a new Python 3.x implementation written within the Rust programming language.

    Developers Windel Bouwman and Shing Lyu are leading the charge to re-implement the Python programming language within Rust. This Python interpreter is entirely Rust-based and for implementing Python standard library modules are looking at leveraging existing Rust crates.

  • PyCoder’s Weekly: Issue #354 (Feb. 5, 2019)
  • Red Hat introduces first Kubernetes-native IDE

    CodeReady is based on the open-source Eclipse Che IDE. It also includes formerly proprietary features from Red Hat's Codenvy acquisition.

    This new IDE is optimized for Red Hat OpenShift, Red Hat's Docker/Kubernetes platform and Red Hat Enterprise Linux (RHEL). Red Hat claims CodeReady Workspaces is the first IDE, which runs inside a Kubernetes cluster. There's been other IDEs, which can work with Kubernetes -- notably JetBrain's IntelliJ IDEA with a plugin -- but CodeReady appears to be the first native Kubernetes IDE.

    With CodeReady Workspaces, you can manage your code, its dependencies and artifacts inside OpenShift Kubernetes pods, and containers. By contrast, with older IDEs, you can only take advantage of Kubernetes during the final phase of testing and deployment. CodeReady Workspaces lets you develop in OpenShift from the start. Thus, you don't have to deal with the hassle of moving applications from your development platforms to production systems.

  • Functional Programming in Python

    Functional Programming is a popular programming paradigm closely linked to computer science's mathematical foundations. While there is no strict definition of what constitutes a functional language, we consider them to be languages that use functions to transform data.

    Python is not a functional programming language but it does incorporate some of its concepts alongside other programming paradigms. With Python, it's easy to write code in a functional style, which may provide the best solution for the task at hand.

  • Getting Started with JupyterLab
  • Python NumPy array tutorial
  • Python RegEx
  • Webinar: “Demystifying Python’s async and await Keywords” with Michael Kennedy
  • Python Developers Survey 2018 Results: Learn about the community

Programming: Kubernetes IDE, TensorFlow.js, Interviews, Programming Craft Kit For Kids, Python Bits

Filed under
Development
  • Red Hat Launches CodeReady Workspaces Kubernetes IDE
  • The First Kubernetes-Native Developer Environment

    From a newly introduced technology to a widely relied upon platform in just a few years, Kubernetes has become an integral part of many organization’s cloud-native solutions - including container-based development environments.

    The challenge with building and deploying applications in any Kubernetes distribution is that it’s difficult for a developer to set up a Kubernetes environment that enables fast, iterative development cycles. As a result, some development teams fall back to using containers on their laptops and only seeing how things run in Kubernetes after they’ve merged code back to the origin code repository and triggered a continuous integration (CI) job.

    This is problematic as Kubernetes has unique execution behaviors that might necessitate code changes or optimizations. Waiting to do these until after code is merged back to master is inefficient and can introduce problems in the master branch that affect other developers.

    Red Hat CodeReady Workspaces is the industry’s first Kubernetes-native integrated development environment (IDE). It makes it easy for developers to have a fast, “locally hosted-style” development experience directly inside Kubernetes and helps development teams avoid the “it works on my machine” problem.

  • TensorFlow.js: machine learning for the web and beyond

    If machine learning and ML models are to pervade all of our applications and systems, then they’d better go to where the applications are rather than the other way round. Increasingly, that means JavaScript – both in the browser and on the server.

    TensorFlow.js brings TensorFlow and Keras to the the JavaScript ecosystem, supporting both Node.js and browser-based applications. As well as programmer accessibility and ease of integration, running on-device means that in many cases user data never has to leave the device.

  • Interviewing tips for junior engineer

    Make sure to highlight any interesting project you worked on, technical or otherwise. Recruiters love discussing actual accomplishment. Back when I started, I had a few open source projects and articles written in technical magazines that I put on my resume. Nowadays, that would be a GitHub profile with personal (or professional, if you're lucky) projects. You don't need to rewrite the Linux kernel, but if you can publish a handful of tools you developed over the years, it'll help validate your credentials. Just don't go fork fancy projects to pad your GitHub profile, it won't fool anyone (I know, it sounds silly, but I see that all too often).

    Another thing recruiters love is Hackerrank, a coding challenge website used by companies to verify the programming skills of prospective candidates. It's very likely US companies will send you some sort of coding challenge as part of the interview process (we even do it before talking to candidates nowadays). My advise is to spend a few weekends building a profile on Hackerrank and getting used to the type of puzzle they ask for. This is similar to what the GAFA ask for in technical interviews ("quicksort on a whiteboard" type of questions).

    At the end of the day, I expect a junior engineer to be smart and excited about technology, if not somewhat easily distracted. Those are good qualities to show during an interview and on your resume.

  • Makeblock Neuron Explorer Kit Review: A Pricey Programming Craft Kit For Kids
  • Android apps time out connections after setting up a PAC proxy configuration
  • Modify the enemy sprite’s animation

    After we have finished creating our first animated enemy sprite in the previous chapter we will need to further modify that animation class because I have found numerous shortages in the previous program. In the previous program 1) We only create a single counter to handle the sprite animation for all five enemy objects which is simply unrealistic because during the game not every enemy will move to the same frame on the sprite sheet due to the change of the direction of that enemy. 2) There is no adjustment on the image’s transition speed at all, we need to slow down the image transition process so the image will not change too fast.

Programming: LLVM, GCC, Servo and Python

Filed under
Development
  • Using LLVM Clang To Compile The Linux Kernel Is Heating Up Again Thanks To Google

    Interest in building the mainline Linux kernel with LLVM Clang as an alternative to GCC seemed like it waned for several years, but in recent months that effort has been moving forward thanks to Google's involvement.

    Back during Linux Plumbers Conference 2018, two Googlers talked about their use of building the kernel with Clang and even how their Pixel 2 and Pixel 3 devices are running their Linux kernel built under Clang on Android. Besides select Google Pixel devices having their kernels built with LLVM/Clang, ChromeOS also started shipping Clang-built kernels in 2018. Google engineers presented at FOSDEM 2019 over the weekend on this effort.

  • GCC's Potential GSoC Projects Include Better Parallelizing The Compiler

    While in some areas it's still an extremely cold winter, many open-source projects are already preparing for their participation in Google's annual Summer of Code initiative. The GNU Compiler Collection (GCC) crew that always tends to see at least a few slots for interested student developers has begun formulating some potential project ideas.

    For GSoC 2019 some of the ideas they have listed for potentially interested students to consider include support for the OpenMP Debug Interface (OPMD), expanding the math built-in functions, and even supporting AIX 7.2 by Binutils.

  • This Week In Servo 125
  • Linked Lists in Detail with Python Examples: Single Linked Lists
  • Dense matrices implementation in Python
  • Table of Contents for Creating GUI Applications Book
  • Python class decorator - part II - with configuration arguments
  • Scrape the web with Python and get updates on Telegram
  • Sum of all the non-negative and non-zero numbers in a list

    Hello, we are supposed to start a new project today but because I am busy doing something else, therefore, I only post a simple solution for one of the questions on codewars. We will start our next python project in the next chapter.

    Codewars is the place you all will want to visit to brush up your python skill if you are really serious about learning python. Although some questions on codewars are really tricky and some of them make people hard to understand but overall speaking this is the only place which provides real deal for those python programmer who wants to perfect their python skill. If you find out that some questions on codewars have provided a wrong answer and make your head spins like crazy then just ignore that one and move on to the next one instead.

  • Issues with how we teach

    What we are taught are the tools but not the theory behind the tools. If we don’t learn how the basic tools are made then how can we expect someone to improve or invent new tools in any meaningful way?

    Everything in Maths, Physics and Computer Science is connected. All the formulas and theorems are derived from the basic concepts we already know and are familiar with.

    I used to believe that this is exactly how I am supposed to be taught. I am just not smart enough to figure out the relationship between all of this stuff myself.

  • The repository hosting platform sr.ht now provides support for mercurial repositories

    If you feel like the git version control platforms out there are great but don’t quite have what you are looking for, we are here to provide you with the newest alternative.

Programming: Trends, Git and Latest Microsoft Infiltrations in Python (There Are Many More Examples)

Filed under
Development
  • What Frameworks and Languages Are Developers Using in 2019?

    Developers have a highly prized skill set, writing the code and applications that power the modern economy. The development skills that are most in demand are not static and change over time.

    In an effort to gauge the current state of developer trends, HackerRank surveyed 71,281 developers to understand what's working and what's not. The end result is the 28-page 2019 Developer Skills Report, which provides insight into the current state of the developer landscape.

    "Hiring and retaining skilled developers is critical for businesses everywhere," Vivek Ravisankar, co-founder and CEO of HackerRank, wrote in a media advisory. "Recruiters and hiring managers need a deep understanding of who developers are, what they care about and what they want from their employers."

  • What lies ahead for Python, Java, Go, C#, Kotlin, and Rust
  • get full git commit history of single file
  • Editing Git commits from history
  • Python 3.8.0a1 is now available for testing
  • PyCon 2019 Reminders and Information! [Ed: key sponsor is Microsoft. “Build and deploy your Python web apps with Azure”]
  • Results of the first Python Steering Council election [Ed: Python Steering Council gets filled with Microsoft moles. By buying companies like LinkedIn and GitHub Microsoft also bought itself influence and moles inside its competition. What bribes can't do takeovers will...]

    Voting closed at 2019-02-04 12:00 UTC as prescribed in [PEP
    8100](https://www.python.org/dev/peps/pep-8100/).

    Of 96 eligible voters, 69 cast ballots.

    The top five vote-getters are:

    - Barry Warsaw
    - Brett Cannon
    - Carol Willing
    - Guido van Rossum
    - Nick Coghlan

    No conflict of interest as defined in PEP 13 were observed.

    Eligible voters have received result notification emails from helios, and may return to the system
    to audit/verify the results.

    Thanks to all participants! It was an honor serving as the administrator for the governance votes.

    -Ernest W. Durbin III

Python Programming Leftovers

Filed under
Development

Programming: Python, Java, Best GitHub Alternatives, Go, Rust and JS

Filed under
Development
  • PyDev of the Week: Ali Spittel

    Hey! I’m Ali. I am a software engineer at DEV, an awesome community of programmers that I was a member of for a while before joining. Outside of work, I rock climb and hang out with my puppy, Blair. I’m also really involved in the DC tech community, which is incredible.

    I’m mostly self-taught as far as programming goes — I was a government major at Hamilton College, but I took a few computer science classes and fell in love with it. Here we are!

  • Top programming languages to learn in 2019? Developers name their favorites

    The findings come from a survey by developer marketplace HackerRank, which asked 71,000 developers around the world about what languages they know today and what they want to learn this year. The results are released in its 2019 Developer Skills Report.

    Go, created in 2007 at Google, is the top language that developers say they want to learn in 2019, followed by Kotlin, Python, and TypeScript. Other languages that are high on developers' agenda for the next year include R, Swift, and Scala.

  • Top 10 Machine Learning Programming Languages [Ed: "Microsoft-owned coding repository, GitHub has published a rundown of well-known programming languages utilized for machine learning" and we're supposed to judge all of FOSS based on Microsoft's own platform?]

    In 1959, Arthur Samuel mentioned the word machine learning out of the blue to investigate the development of algorithms that can be utilized to forecast on data by conquering static programming instructions entirely to settle on predictions and choices based on data. Machine learning is utilized today in various computing works where the utilization of unequivocal programming and designing algorithms isn’t practical like detection of a data breach by malevolent insiders or system intruders and so forth.

  • The programming languages and skills that pay the best in 2019

    While the Dice 2019 Tech Salary Report shows pay for technology professionals only crept up 0.6% in 2018, base wages remain high, with an annual average salary of $93,244.

    The 10 programming languages associated with the highest-paying jobs all earned developers an average salary above $100,000.

  • Java EE 8 Compatible Eclipse GlassFish 5.1 Released

    Eclipse Foundation completes migration of 13.5 million lines of code in 95,000 files with full testing of open source TCK and proprietary Oracle TCK

  • Eclipse GlassFish 5.1 Released

    The Eclipse Foundation yesterday announced the release of GlassFish 5.1, considered a major milestone release belying the modest increase in its version number. GlassFish 5.1 comprises the full migration of GlassFish and associated Technology Compatibility Kit (TCK) code to Foundation stewardship.

    This release of the open source Java EE reference implementation is the first since the Foundation became the steward of enterprise Java last year. Now called Eclipse GlassFish, it has been fully tested under both the newly open source TCK and the proprietary Oracle Java EE 8 TCK. It represents more than 13 million lines of code and 95,000 files, the Foundation said in a statement.

    "We were able to onboard all of GlassFish, which has a huge, very mature code base," said Mike Milinkovich, executive director of the Eclipse Foundation, in a statement. "And we open-sourced the Java EE TCKs, which was an enormous change for the Java EE ecosystem. Shipping Eclipse GlassFish is a major milestone in fully establishing the Jakarta EE specification process, a major advance for the future of enterprise Java."

  • Best GitHub Alternatives: 10 Hosting Services for Open Source Projects

    By its sheer size and number of active projects, Github showcases its power and popularity. Today, Github is a one-stop solution for hosting software projects. However, 2018 arguably brought in the biggest change in the history of platform’s operational policies. Github was officially acquired by Microsoft. It’s speculated that Microsoft would integrate its future mobile development with Github. Since the platform is an opensource marketplace, many developers were turned down by the idea of its acquisition by a for-profit brand. Condition are bound to change, as is always the case with such acquisitions. It’s time we hunt for some Github alternatives for our open source projects.

    We have compiled a list of hosting platforms that are most suited to the developmental trend of the current time. Here is our comprehensive list of 10 best Github alternatives.

  • Dynatrace goes for Go (Golang)

    Software applications need management, monitoring, testing and continual levels of deep tissue massage to ensure they run as intended and deliver to the user requirements for which they were initially built.

  • Dynatrace offers 'free for life' developer program
  • How to learn Rust: A resources guide for developers

    The Rust programming language was created in 2006 by Mozilla employee Graydon Hoare, and it is gaining traction as a fast and reliable alternative to C and C++. Rust is used by Firefox, Dropbox, Cloudflare, and hundreds of other companies. The open-source, community-developed systems programming language is memory-efficient, focuses on safe concurrency and memory safety, can power performance-critical services, can run on embedded devices, easily integrates with other languages, and has a number of useful built-in tools to ensure maximum productivity.

  • npm, Inc. Achieves Record Results in 2018, Doubles Down on Enterprise Strategy in 2019
  • Cosmic JS wants to simplify web development so you can focus on content

    If you are a web developer, you know how complex many of the traditional web content management systems have been. One of the big problems has been managing the underlying infrastructure for the system. Cosmic JS, a member of the Winter 2019 Y Combinator class, wants to simplify that by taking care of the infrastructure part for you, while providing a flexible front end for content creators.

Programming: Outreachy and Python

Filed under
Development

Programming: Mallard, NeuroFedora, GCC, Meson and Python

Filed under
Development
  • What’s New in Mallard 1.1, Part 2

    We’ve just released Mallard 1.1. Let’s take a look at what’s new. All of these features are already supported in tools like Yelp and Pintail.

  • NeuroFedora update: 2019 week 5
  • GCC To Begin Implementing MMX Intrinsics With SSE Instructions

    While current-generation Intel/AMD CPUs are still supporting the MMX SIMD instruction set from two decades ago, a set of GCC compiler patches are pending to begin implementing MMX intrinsics using SSE instructions.

    Intel open-source compiler toolchain expert H.J. Lu sent out a set of 46 patches for GCC that implement MMX intrinsics with SSE instructions instead. Of course, in modern code-bases hopefully you are utilizing modern versions of AVX.

  • Meson's new logo: a design process

    From the very beginning it was decided that the logo's shape should be based on the Reuleaux triangle. The overall shape is smooth and pleasant, yet mathematically precise. In spite of its simplicity it can be used for surprisingly complex things. Perhaps the best known example is that if you have a drill bit shaped like a Reuleaux triangle, it can be used to create a rectangular hole. Those who have knowledge about compiler toolchains know that these sort of gymnastics are exactly what a build system needs to do.

    There were tens of different designs that tried to turn this basic idea into a logo. In practice it meant sitting in front of Inkscape and trying different things. These attempts included such things as combining the Reuleaux triangle with other shapes such as circles and triangles, as well as various attempts to build a stylished "M" letter. None of them really clicked until one day I put a smaller triangle upside down inside the other. Something about that shape was immediately captivating.

  • Python Class Decorator - Part 1 - simple without configuration arguments.

Programming: Skills in Demand and Python Blogs

Filed under
Development

Fedora, Silverblue, and PHP in Fedora

Filed under
Development
Syndicate content

More in Tux Machines

Security: Windows 'Fun' at Melbourne and Alleged Phishing by Venezuela’s Government

today's howtos

GCC 8.3 Released and GCC 9 Plans

  • GCC 8.3 Released
    The GNU Compiler Collection version 8.3 has been released. GCC 8.3 is a bug-fix release from the GCC 8 branch containing important fixes for regressions and serious bugs in GCC 8.2 with more than 153 bugs fixed since the previous release. This release is available from the FTP servers listed at: http://www.gnu.org/order/ftp.html Please do not contact me directly regarding questions or comments about this release. Instead, use the resources available from http://gcc.gnu.org. As always, a vast number of people contributed to this GCC release -- far too many to thank them individually!
  • GCC 8.3 Released With 153 Bug Fixes
    While the GCC 9 stable compiler release is a few weeks away in the form of GCC 9.1, the GNU Compiler Collection is up to version 8.3.0 today as their newest point release to last year's GCC 8 series.
  • GCC 9 Compiler Picks Up Official Support For The Arm Neoverse N1 + E1
    Earlier this week Arm announced their next-generation Neoverse N1 and E1 platforms with big performance potential and power efficiency improvements over current generation Cortex-A72 processor cores. The GNU Compiler Collection (GCC) ahead of the upcoming GCC9 release has picked up support for the Neoverse N1/E1. This newly-added Neoverse N1 and E1 CPU support for GCC9 isn't all that surprising even with the very short time since announcement and GCC9 being nearly out the door... Arm developers had already been working on (and landed) the Arm "Ares" CPU support, which is the codename for what is now the Neoverse platform.

Android Leftovers