Language Selection

English French German Italian Portuguese Spanish

Development

Programming Leftovers and Today's HowTos

Filed under
Development
HowTos
  • SD Times Open-Source Project of the Week: Magit

    Magit is designed as an interface to the version control system Git, implemented as an Emacs package. According to the team, while it is not a “complete Git porcelain,” it is complete enough to allow Git users to perform daily version control tasks directly from Emacs.

    “A major advantage Magit has over Git on the command line is that nearly everything you see in a Magit buffer can be acted on. Hiding and showing a section is just on example of that,” the developers of Magit wrote in a post that explains the software.

    Magit makes it easy to stage and later commit only some changes, while leaving other changes in the working tree to be committed separately, the team said. After the user presses “s,” the buffer updates automatically and the cursor is moved to the next hunk.

  • Secure Your Network: How to Integrate EDR and DevOps

    EDR solutions are based on machine learning technologies that generate actions based on analytics information provided by sources/endpoints. EDR tools integration with the DevOps toolchain takes automation in process execution at much further level to track security breaches in run time and hunt down vulnerabilities within code before the application goes live. Additionally, it has seen that endpoint devices are more significantly emerged in generating security incidences. It has become imperative for DevOps teams to look after endpoint protection.

  • 6 Advantages of Using Appium Mobile Testing

    It is an open source: This is one of the biggest benefits of this type of testing. It is an open source which allows which supports real devices, hybrid and many web applications etc. it allows the developers to clear their doubts relating to its use whenever they want.

  • Python 3.7.5 : Testing cryptography python package - part 001.

    There are many python packets that present themselves as useful encryption and decryption solutions. I recommend before you test them, use them and spend time with them to focus on the correct study of cryptology because many disadvantages and problems can arise in the correct and safe writing of the source code.
    Today I will show you a simple example with cryptography python package.

  • MIScnn: A Python Framework for Medical Image Segmentation with Convolutional Neural Networks and Deep Learning

    The increased need for automatic medical image segmentation has been created due to the enormous usage of modern medical imaging in technology. Despite this large need, the current medical image segmentation platforms do not provide required functionalities for the plain setup of medical image segmentation pipelines. Therefore this paper introduces the open-source Python library MIScnn.

    MIScnn is an opensource framework with intuitive APIs allowing the fast setup of medical image segmentation pipelines with Convolutional Neural Network and DeepLearning models in just a few lines of code. The objective of MIScnn according to paper is to provide a framework API that can be allowing the fast building of medical image segmentation pipelines including data I/O, preprocessing, data augmentation, patch-wise analysis, metrics, a library with state-of-the-art deep learning models and model utilization like training, prediction, as well as fully automatic evaluation (e.g. cross-validation).

  • Programming language Python 2.7 code is now frozen: Last release coming in April
  • How Is PHP Web Development Better Compared To Other Languages?
  • Creating Onion Services on OpenBSD
  • How to configure a static IP address on Fedora
  • How to Start, Stop and Restart Apache Server

Development and Free Software Events

Filed under
Development
OSS
  • The best software engineering conferences of 2020

    As a developer, you expect to get practical, technical content when you go to a conference, but you also want to network with other engineers in your field—​hopefully people who are dealing with some of the same challenges as you. You want to get up to speed on the latest trends, from quality-driven development to DevOps transformations. And if you're like most of your peers, expo halls are a lower priority.

    Fortunately, most software engineering conferences focus on the technology more than the vendors. That makes developer conferences a great place not just to broaden your technical horizons, but to expand your other technical roles.

    Here is TechBeacon's shortlist of the most popular software engineering conferences in 2020. We've listed them all, although not all dates, locations, and pricing were available at publication time, especially for those events taking place later in the year.

  • Events in 2020 (first half)

    January conf.kde.in where I’ll give a few talks and a workshop, I think. Also, time to hang out with the cool Plasma Mobile developers and some young Plasma developers.
    February FOSDEM. This is on the edge of February, but still counts for that month. There’s a FreeBSD dev-thing going on, and then the main event.
    March .. nothing yet! But I have in my mind I want to visit the Open Source community in Medellin, Colombia.
    April FOSS-North in Gothenburg, for my third time. A great conference with good community vibes.
    May .. nothing yet! Isn’t there a PIM thing around this time? I feel I should go to a PIM thing again.
    June .. nothing yet! Maybe I should organize a Calamares sprint with the folks from Manjaro and Netrunner and Arcolinux, in Aachen or so.
    July non-KDE stuff, I’ll be at the European Championships Rubik’s Cubing in Almere, in some not-actually-cubing-because-I-can’t role.

  • Planning

    For foss-north, my aim is to do at least one themed event, much like the cancelled foss-north Iot and Security Day planned for October last year. This event will be in the Øresund region or in Stockholm. Feel free to reach out to me if you want to help out.

    On a 12 month time frame, I have some professional goals. I’m working with Mbition together with an amazing group of people. We are building a platform for future in-car software. There my goal is to be more focused in what I’m doing – to do more of what I do well better, and less of what I do badly.

    Kuro Studio is also in an interesting phase, having a couple of start-ups underway and a constructive partnership in an interesting phase. Again, my personal goal here is to focus more.

    [...]

    When looking at a longer time-frame than a year, the goals become fuzzier. This might seem like speculation, but I embrace the fuzziness and use them to prioritize my short-term goal. If I run into something that seems fun, I map it to my long term goals to determine if I should do it or not.

    On this time scale, I’d like for foss-north and foss-gbg, I want them to be more independent of me as an individual. To create more a role based setup and stable economical environment (currently the margins are super slim). If I can enjoy a foss-north conference as a visitor in 2030, I’ve achieved this.

    For my Mbition work, I want us to reach multiple releases. The reason for the automotive industry to take on more responsibility for software is to increase the reusability. That is why it is key for Mbition to do multiple releases. Then we have proven that our existence makes sense.

    For Kuro Studio, we want to continue doing start-ups, more partnerships, building a larger team, meeting more people, and doing more awesome stuff. Getting Kuro properly off the ground is very high on my list of priorities.

    Another professional goal I have is to speak more at conferences and speak more about how open source is the way to do software. Transparency is the only way to ensure proper quality, maintainability, and trust – and what better way than open source is there to be transparent.

Programming Leftovers

Filed under
Development
  • Explore This 3D World Rendered In ASCII Art

    Pixelated RPGs are pretty standard in games like Legend of Zelda and Pokemon, but have you ever seen anything like ASCIICKER? It’s a full-color three-dimensional world rendered with ASCII art and playable in your browser.

    For the time being, the game exists as an experiment. There’s no storyline or goals other than exploring the world, although you can meet up with (or follow) others exploring the game — although all of the sprites look the same, so it may be difficult to have interactions. The game was created by [Gumix] and built entirely in JavaScript without using any other game engines.

  • Android Chrome Browsers Get More WebXR Support via Open Source Platform A-Frame & ARCore

    While Apple and Google have paved the way for developers to create web-based AR experiences through their respective mobile toolkits, an open source option has entered the space.

    On Wednesday, A-Frame gained support for the WebXR standard on version 79 of Chrome browsers for ARCore-compatible Android devices. This enables developers to publish AR content via HTTPS (hypertext transfer protocol secure) websites.

  • A-Frame 1.0 Release Adds WebXR and AR Mode

    A-Frame, a web framework for building Virtual and Augmented Reality experiences on the web, recently reached the A-Frame 1.0 release with support for the WebXR specification and an AR mode for browsers which support ARCore and ARKit.

    Under development for the past few years, WebXR is a web specification for both virtual and augmented reality on the web. As is the case with many new web standards, HTTPS is required to leverage WebXR.

  • 7 Ways NOT to manage your remote team

    Building a remote development team presents unique challenges. Trying to build a cross-functional team, full of various personalities, virtually can lead to communication disasters. Fortunately, through planning, smart hiring, training, and communication, project leaders can build and lead virtual development teams successfully.

    The demand for remote teams continues to grow. The increased demand for software developers and new communication technology has removed the barriers of geography. Even with these advancements, disparate team members from different backgrounds may find it challenging to learn how to interact with one another.

    It's easy for misunderstandings and miscommunications to occur. It's becoming more and more critical to rethink collaboration in a work environment growing increasingly more remote. As a result, project leaders must rethink the needs of teams spread out across the globe.

  • DevOps is a solution to burnout worth investing in

    Not a day goes by that I don't see a tweet or hear somebody talking about burnout. Burnout is becoming a pervasive part of our lives, especially in tech and open source communities. In What you need to know about burnout in open source communities, I defined burnout and explored its causes, symptoms, and potential treatments. But a better question is about prevention: How do we change the underlying processes, cultures, and tools to prevent burnout from occurring in the first place?

    [...]

    There is no magic bullet to resolve burnout; it requires having the right people, processes, and tools. The people help create an environment of psychological safety where people are free to ask questions, experiment, make mistakes, and be creative. Think about what is most important to your organization, and invest in the right tools to support those goals and the people working towards them.

  • Hello world

    Let’s say you ask your programming language to do the simplest possible task: print out “hello world”. Generally this takes two syscalls: write and exit. The following assembly program is the ideal Linux x86_64 program for this purpose. A perfect compiler would emit this hello world program for any language.

  • They said the war was over…

    The thing is, I don’t use R out of some blind brand loyalty but because I don’t like working hard. Every time I’m faced with a problem, I try to figure out how I can solve that problem in a stable way with the least amount of effort; for most of the problems I face, R is the right tool. This is partially an accident of training – I know R very well at this point, so it’s usually the most efficient way for me to solve a problem – but it’s also because of core language features that don’t really exist in Python.

    Overall I think there are four main features of the core R language that are essential to my work. These are things that are present in R, that I haven’t found to be available or accessible in any other single language, and that make R the best choice for my work:

    1. Native data science structures
    2. Non-standard evaluation
    3. Packaging consensus (The glory of CRAN)
    4. Functional programming

  • podlators 4.14

    podlators provides the Pod::Man and Pod::Text conversion modules for Perl. This release is a minor bug-fix release, mostly correcting a test suite problem with old versions of Pod::Simple. The user-visible change is to document that parse_lines and parse_string_document expect raw bytes, not decoded characters.

    The other change in this release is internal. I finally finished refactoring the test suite, so now all parts of the test suite use separate snippet files and modern coding style, so it should be more maintainable in the future.

Python Programming Leftovers

Filed under
Development
  • How to install the IDLE Python IDE on Ubuntu Desktop 19.10

    If you're a Python programmer, chances are good you do much of your work for the Linux environment. Because of that, you have plenty of tools to make your daily grind less grindy and more productive. One such tool is the IDLE Python IDE.

  • Getting started with Python

    Since it's the start of the New Year. I thought of writing a tutorial. For anyone interested to learn Python to start their journey to get a job with it or automate your tasks.

  • Weekly Python StackOverflow Report: (ccix) stackoverflow python report
  • A List of Free Python Books

    So, when I set out to learn the Python programming language in the last days of 2018, I started looking for good books. I googled, browsed Reddit, checked major Python sites, and came out with a list Python books, including several free ebooks. I shared the list of free books to Reddit as I thought it may help others. Not only was the list a huge hit, some users suggested more great books.

Software and Development

Filed under
Development
Software
  • Vim Creator Bram Moolenaar Aiming To Improve Vim Performance With Vim9 Fork

    Bram Moolenaar began developing Vim as an improvement over the Vi editor while now he is looking to make improvements over Vim itself with an experimental fork called Vim9.

    Vim9 is an experimental fork of Vim that is principally focused on making Vim scripts execute faster and better to deal with. Vim9 is Bram's playground for Vim improvements with trying to make Vim scripts run faster. This comes after Vim 8.2 brought popup boxes and text properties for addressing the other leading requests for improvements to this text editor.

  • Daniel Stenberg: Restored complete curl changelog

    For a long time, the curl changelog on the web site showed the history of changes in the curl project all the way back to curl 6.0. Released on September 13 1999. Older changes were not displayed.

    The reason for this was always basically laziness. The page in its current form was initially created back in 2001 and then I just went back a little in history and filled up with a set of previous releases. Since we don’t have pre-1999 code in our git tree (because of a sloppy CVS import), everything before 1999 is a bit of manual procedure to extract so we left it like that.

    Until now.

    I decided to once and for all fix this oversight and make sure that we get a complete changelog from the first curl release all the way up until today. The first curl release was called 4.0 and was shipped on March 20, 1998.

    Before 6.0 we weren’t doing very careful release notes and they were very chatty. I got the CHANGES file from the curl 6.0 tarball and converted them over to the style of the current changelog.

  • Gentoo News: FOSDEM 2020

    It’s FOSDEM time again! Join us at Université libre de Bruxelles, Campus du Solbosch, in Brussels, Belgium. This year’s FOSDEM 2020 will be held on February 1st and 2nd.

    Our developers will be happy to greet all open source enthusiasts at our Gentoo stand in building K where we will also celebrate 20 years compiling! Visit this year’s wiki page to see who’s coming.

  • ElectronPlayer

    There is a new tool available for Sparkers: ElectronPlayer

  • My Y2020 Bug

    For reasons that must have been clear at the time, I once wrote a test in terms of epoch time, and wanted it to run on systems that did not use January 1 1970 as the epoch. So I loaded Time::Local and added timegm( 0, 0, 0, 1, 0, 70 ) to the desired epoch.

    This morning I got a CPAN testers report failure. It seems that if you give timegm() a year in the range 0-99 it assumes it is within 50 years of the current year, so my test suddenly thought the epoch was 2070.

  • Adding Custom Model Managers In Django

    A manager is an interface through which database query operations are provided to Django models. At least one Manager exists for every model in a Django application, objects is the default manager of every model that retrieves all objects in the database.

    However, one model can have multiple model managers, we can also build our own custom model managers by extending the base manager class.

  • Python 3.7.5 : Testing the PyMongo package - part 001.
  • Casual Python, Part 12

Ringing in the new year with 136 open-spec Linux SBCs under $200

Filed under
Development
GNU
Linux
Hardware

Our 2020 New Year?s edition SBC catalog shows a snapshot in time of hacker-friendly, open-spec SBCs under $200 that run Linux or Android. Below you?ll find updated descriptions, specs, pricing, and links for 136 SBCs.

A lot has been going on in the world of community-backed SBCs over the seven months since our June 3 hacker board roundup. The total count has jumped by 11 to 136, but considering the eight retirements, the number of new boards is greater than that. Of the 25 products tagged here with a ?NEW? icon indicating product shipments since June 3., most are entirely new products while some are major new variants of existing boards that we?ve folded into existing blurbs. In other cases, where the new model is only a slight variant, we have not applied the NEW tag.

Read more

Programming: Java, Rust, Ruby and Python

Filed under
Development
  • new, switch and assert keywords in Java

    When we create a class in Java and decide to use this class, we need to make an object of this class and using the object of the aforementioned class we control and use the components of the class.

    An object of a class works like the handle of a motorbike. If you need to control the bike you need to hold the handle of this bike. I believe you have understood why we need to create an object.

    You must be thinking if the object is so important, we need to know how to create an object of a class. We create an object of a class by using the ‘new’ keyword. The ‘new‘ keyword gives instructions to the processor to holds the memory in the system to store the object of this class.

  • The Rust Programming Language Blog: Reducing support for 32-bit Apple targets

    The Rust team regrets to announce that Rust 1.41.0 (to be released on January 30th, 2020) will be the last release with the current level of support for 32-bit Apple targets. Starting from Rust 1.42.0, those targets will be demoted to Tier 3.

    The decision was made on RFC 2837, and was accepted by the compiler and release teams. This post explains what the change means, why we did it, and how your project is affected.

  • Ruby 2.7 Now Available

    As with past few releases, the last major release of the Ruby programming language before 3.0 was released around Christmas. Ruby 2.7.0 comes with new features and performance improvements “larger in scale than previous releases”, as the team behind Ruby puts it.

    Among the newly introduced changes are pattern matching, REPL improvement, compaction GC and the separation of positional and keyword arguments. One of the most highlighted additions is Pattern matching, a widely used feature in functional programming languages. Introduced as an experimental feature, it can traverse a given object and assign its value if it matches a pattern.

  • PyOpenGL 3.1.5 is Out

    I've pushed out the PyOpenGL 3.1.5 release. It has some (relatively minor) fixes for wgl and egl operations, and one for what looks like a change in numpy scalar handling in the latest numpy. Available on PyPI now.

  • How to Automatically Send Text Messages on Android Using Python

    The process of sending text messages can be automated easily using the Python Programming Language by writing a few lines of code. Python provides modules like PYAIRMORE that can be used to send text messages from android device. This module has many functions but we will discuss about sending messages. Sending messages using PYAIRMORE is same as sending messages from your android. The only difference is we perform this task by writing a script and by means of scripting, you can automate a lot of stuff. To perform this task, you must have an android device with AirMore app installed on it.

  • DjangoCon Europe 2020 Announcement

    Your location prior to the event is not significant. We can do all things that need to be done in Porto ourselves. The only important thing is that you have the energy and free time to help organize a wonderful DjangoCon Europe. The official language of all these prior activities will be English, as well as the conference itself.

Python Leftovers

Filed under
Development

Programming: APIs, GCC and Rust

Filed under
Development
  • New essay: Trying to convince application developers to write API documentation

    I’ve written a new short essay: Trying to convince application developers to write API documentation

    I’ve created the Short essays page on my website. I plan to write more essays in the future, as short articles that can be read independently. Around the theme of programming best-practices. I’ll inform you on my blog when I publish a new essay.

    Note, it’s unfortunately not written in ConTeXt (see this previous blog post), as I haven’t found a text editor for ConTeXt that just works and is easy to install, with all the features I’m accustomed to when I write a LaTeX document. So I fell back to using LaTeX.

  • GCC 10 Adds ARMv8.6-A Targeting, BFloat16 + i8MM Options

    Building on earlier GCC commits for Arm's BFloat16 (BF16) support and other new extensions, a late change landing for GCC 10 is the command line options for targeting the ARMv8.6-A architecture and optionally toggling i8mm and BF16 extensions.

    ARMv8.6-A brings BFloat16 for helping the performance of neural network performance running on Arm-based systems. There has been compiler support worked on already for Arm BFloat16 while now the CLI switches are there for toggling it with +bf16.

    Another new CLI option is +i8mm for enabling Arm's new 8-bit Integer Matrix Multiply instructions.

  • What you need to know about Rust in 2020

    Rust has drawn plenty of attention from programmers on sites like Hacker News for a while. While many have long loved using the language for hobby projects, it didn't start catching on in industry until 2019, when this really started to change.

    Over the last year, many large companies, including Microsoft, Facebook, and Intel, came out in support of Rust, and many smaller ones took notice. As the first emcee at RustFest, the largest Rust conference in Europe, in 2016, I didn't meet a single person professionally using Rust who didn't work at Mozilla. Three years later, it seemed like every other person I talked to at RustFest 2019 was using Rust in their day job for another company, whether as a game developer, a backend engineer at a bank, a creator of developer tools, or something else.

    In 2019, Opensource.com also played a role by reporting on the growing interest in Rust. In case you missed them, here are the top articles about Rust on Opensource.com over the last year.

Programming: Python and More

Filed under
Development
  • Snakes on a wane: Python 2 development is finally frozen in time, version 3 slithers on

    With the arrival of 2020, the Python Clock has stopped ticking, marking the end of development for the Python 2 programming language.

    Nevertheless, Python 2 should still be shambling about through April at least, when the final Python 2.7 release (v2.7.18) is slated for delivery. And it's likely to linger for years to come in corporate environments, propped up by enterprise vendors.

    But the Python 2.7.18 code base has officially been frozen. Between now and PyCon 2020 (April 15-23), code fixes developed in 2019 will be integrated through the beta and Release Candidate process and new pull requests are blocked.

    "The CPython core developer community is retiring the Python 2 series after nearly 20 years of development," the Python Foundation said in a statement last month. "The last major version 2.7 will be released in April 2020, and then all development will cease for Python 2."

  • [Old] Why I'm focusing only on some programming languages

    I tried so many languages and tried to do so much, that in the end I don’t know nothing deep enough to do useful stuff at a reasonable speed. To paraphrase a well-known quote:

    I know the trade-offs of everything, but the depths of nothing.

    This is why from now on, I’m going to learn and focus only on some languages and tools.

  • Scripting tmux

    I often want to start similar workspaces in tmux; for example I always want to tail those two log files in a pane, or I always want to start both vim and mysql in a pane, etc.

    If you try to find information about starting tmux workspaces you typically get advised to use wrapper programs such as tmuxinator, tmux-resurrect, or tmux-continuum. These programs may be great, but I like a simple approach.

Syndicate content

More in Tux Machines

Type Title Author Replies Last Postsort icon
Story Proprietary Stuff and Openwashing Roy Schestowitz 18/01/2020 - 5:59am
Story Security Leftovers Roy Schestowitz 18/01/2020 - 5:57am
Story Games: Godot Engine, Various Games and Google Pursuing Steam Support in Chrome OS Roy Schestowitz 1 18/01/2020 - 5:55am
Story Android Leftovers Rianne Schestowitz 18/01/2020 - 5:23am
Story Intel graphics patch "wrecks" Gen7 iGPU Linux performance Roy Schestowitz 17/01/2020 - 8:49pm
Story How to Upgrade From Windows 7 to Linux Roy Schestowitz 2 17/01/2020 - 8:44pm
Story elementary OS: 2019 in Review Roy Schestowitz 2 17/01/2020 - 8:26pm
Story Raspberry Pi 4 V3D Driver Reaches OpenGL ES 3.1 Conformance Roy Schestowitz 17/01/2020 - 8:18pm
Story today's howtos Roy Schestowitz 17/01/2020 - 8:14pm
Story Software tips for nerds Roy Schestowitz 17/01/2020 - 5:59pm