Language Selection

English French German Italian Portuguese Spanish

today's leftovers

Filed under
Development
Misc
  • Teaching People to Share Technology: Adafruit Founder Limor Fried

    When Adafruit founder Limor Fried was studying electrical engineering and computer science at MIT, she realized she was less interested in the electrical engineering part.

    “What I really liked to do was build stuff,” she said.

    Instead of working on her homework or thesis, Fried spent her time designing hardware projects in her dorm. She built an MP3 player way before Apple made iPods popular.

    “With electronics, you could build anything from an MP3 player to a GPS tracker,” she said.

    [...]

    “Open source hardware is a perfect middle ground. It’s inexpensive and allows you to customize the way you need it,” Fried said. “The code is there. Instructions are there. Anyone can do it. Since it’s open source, people can iterate, tweak, fine-tune to their needs. We are seeing a lot of interest in open source hardware for assistive technologies.”

    Adafruit’s hardware is working for everyone from creative hobbyists to people interested in building things for their smartphones to developers inventing products for the next industrial revolution. Adafruit also worked with computer game company Nvidia to help build its Jetson Nano Developer Kit, which lets users run multiple neural networks for artificial intelligence, machine learning and edge computing.

  • Gcc 4.2.1 to be removed before FreeBSD 13, a firm timeline
    Greetings,
    
    
    
    
    As promised for almost the past decade or so, gcc 4.2.1 will be removed
    from the tree before FreeBSD 13 is branched.
    
    
    
    
    I propose the following timeline for its removal:
    
    
    
    
    2019-08-31: disconnect gcc 4.2.1 from CI build
    
    
    
    
    Turn off -Werror on gcc 4.2.1 platforms
    
    
    
    
    Turn off all gcc 4.2.1 from universe by default (can be turned on)
    
    
    
    
    2019-12-31: Turn off gcc 4.2.1 build by default (can be turned on)
    
    
    
    
    2020-03-31: svn rm gcc 4.2.1 and friends
    
    
    
    
    2020-05-31: svn rm all non-clang platforms not supported by in-tree LLVM or
    converted to ext toolchain.
    
    
    
    
    2020-07-31: svn rm all ext toolchain platforms not supported by re@ release
    scripts
    
    
    
    
    The basic notion is that it’s long past time to have a firm plan for EOL
    gcc 4.2.1 in the tree. There is ample external toolchain support today for
    platforms that need it to build images, though that integration with
    buildworld could use some more polish. It’s now completely sufficient to
    move to the next phase of removing gcc 4.2.1 from the tree.
    
    
    
    
    We already have gcc 6.4 as an xtoolchain on amd64 in CI. This should
    somewhat mitigate the risk for cross-compiler portability. This is a
    long-established part of our CI. We want to retain gcc support for modern
    versions of gcc since its debuggability is higher. Notifications for this
    are currently turned off, but will be enabled soon. It’s expected that this
    always will be working later in the year. We’ll work to update the
    committers guide to reflect this, as well as give a recipe for testing.
    
    
    
    
    The first phase will be at the end of the month. We’ll turn off -Werror on
    gcc 4.2.1 (and MFC it to stable/11 and stable/12). We’ll then stop building
    all platforms that require it as part of CI. New warnings will come up, but
    will no longer waste developer time in trying to fix. Gcc 4.2.1 platforms
    will no longer be built as part of universe, unless you add
    -DMAKE_OBSOLETE_GCC is added to the command line. We plan on implementing
    this by 2019-08-31.
    
    
    
    
    An experimental branch will be created that will remove gcc related bits to
    expose gaps in planning and to come up with a list of action items needed
    to ensure Tier 1 platforms are unaffected by the gcc removal. The timeline
    for this is by the end of September.
    
    
    
    
    Next, we’ll turn off building gcc by default. This will effectively break
    all gcc platforms with in-tree compilers. The external toolchain support we
    have will suffice here, and patches will be accepted for whatever
    integration are needed for these platforms with our current ports /
    packages. The onus for these changes will be squarely on people that want
    the platforms to continue. However, as a stop-gap gcc building can be
    turned on for those people transitioning gcc-only platforms until gcc 4.2.1
    is removed. This will happen on or about 2019-12-31.
    
    
    
    
    After a 3 month transition period, gcc 4.2.1 will be removed from the tree.
    This will be done on or about 2020-03-31.
    
    
    
    
    After an additional 2 month transition period, all those platforms that
    have not integrated with the FreeBSD CI system, work in a make universe
    with the proper packages installed, and are shown to boot on real hardware
    will be removed from the tree. This will happen on or about 2020-05-31.
    
    
    
    
    After an additional 2 month grace period, those platforms that require
    external toolchain integration that aren’t supported by the release
    engineer’s release scripts will be removed. This  will happen on or about
    2020-07-31.
    
    
    
    
    The timeline gives powerpc, mips, mips64, and sparc64 9 months to integrate
    either into an in-tree compiler, or to have a proven external toolchain
    solution. This is on top of the many-years-long warnings about this being
    the end game of the clang integration.
    
    
    
    
    This is the proposed timeline, but should there be a significant issue
    that’s discovered, the timeline can be amended.
    
    
    
    
    Also note: the all toolchains in tree discussions are specifically out of
    bounds here. Let’s remove one compiler and get the infrastructure needed to
    make external toolchains robust before embarking on that discussion.
    
    
    
    
    Comments?
    
    
    
    
    Warner
    
  • FreeBSD 13 Is Preparing To Finally Retire GCC 4.2

    A firm timeline has been established for removing GCC 4.2.1 before next year's FreeBSD 13 release. This timeline includes dropping GCC 4.2.1 from continuous integration builds at the end of the month and turning off GCC 4.2.1 from universe by default. At the end of the calendar year they will turn off GCC 4.2.1 by default and at the end of March is when they will remove the compiler code entirely from their SVN. Next May they also intend to drop non-Clang platforms that are not supported by the in-tree LLVM or converted to an external toolchain. 

  • Designing Continuous Build Systems: Handling Webhooks with Sanic

    After covering how to design a build pipeline and define build directives in the continuous builds series, it’s time to look at handling events from a code repository.

    As internet standards evolved over the years, the HTTP protocol has become more prevalent. It’s easier to route, simpler to implement and even more reliable. This ubiquity makes it easier for applications that traverse or live on the public internet to communicate with each other. As a result of this, the idea of webhooks came to be as an “event-over-http” mechanism.

  • No, Zwift Racing Wasn’t Hacked. Yet. Sorta. Let Me Explain.

    One of the most well-known conferences from a lore standpoint is Def Con, but there are also many other huge ones such as BlackHat, SANS, and RSA, and other vendor-specific ones like BlueHat (run by Microsoft for Microsoft technologies) or government-specific ones. Again, in general the goal of these summits is to learn about security and improve security practices.

    This past Sunday at Def Con (considered one of the more rambunctious events on the circuit) a presentation was given around Zwift and ‘hacking’ it – titled “Cheating in eSports: How to Cheat at Virtual Cycling Using USB Hacks”. Now one has to understand that while in the ‘mainstream’ the term ‘hacking’ is usually akin to ‘breaking’, in the computer world, the term ‘hacking’ is often a bit more nebulous. Sometimes used interchangeably with ‘tweaking’ or ‘optimizing’, and sometimes used in the less ideal variant such as ‘credit cards were hacked’. So one has to take any usage of that term with a bit of sanity check to see what’s going on.

  • Protecting your organization against privileged identity theft

    What do the top data breaches of the 21st century have in common? Privileged identity abuse. In these breach instances, well-resourced, external actors were able to gain the credentials of users with access to privileged accounts – such as administrative, service or operational accounts – giving them the ability to collect and exfiltrate industrial-scale amounts of data.

More in Tux Machines

digiKam 7.7.0 is released

After three months of active maintenance and another bug triage, the digiKam team is proud to present version 7.7.0 of its open source digital photo manager. See below the list of most important features coming with this release. Read more

Dilution and Misuse of the "Linux" Brand

Samsung, Red Hat to Work on Linux Drivers for Future Tech

The metaverse is expected to uproot system design as we know it, and Samsung is one of many hardware vendors re-imagining data center infrastructure in preparation for a parallel 3D world. Samsung is working on new memory technologies that provide faster bandwidth inside hardware for data to travel between CPUs, storage and other computing resources. The company also announced it was partnering with Red Hat to ensure these technologies have Linux compatibility. Read more

today's howtos

  • How to install go1.19beta on Ubuntu 22.04 – NextGenTips

    In this tutorial, we are going to explore how to install go on Ubuntu 22.04 Golang is an open-source programming language that is easy to learn and use. It is built-in concurrency and has a robust standard library. It is reliable, builds fast, and efficient software that scales fast. Its concurrency mechanisms make it easy to write programs that get the most out of multicore and networked machines, while its novel-type systems enable flexible and modular program constructions. Go compiles quickly to machine code and has the convenience of garbage collection and the power of run-time reflection. In this guide, we are going to learn how to install golang 1.19beta on Ubuntu 22.04. Go 1.19beta1 is not yet released. There is so much work in progress with all the documentation.

  • molecule test: failed to connect to bus in systemd container - openQA bites

    Ansible Molecule is a project to help you test your ansible roles. I’m using molecule for automatically testing the ansible roles of geekoops.

  • How To Install MongoDB on AlmaLinux 9 - idroot

    In this tutorial, we will show you how to install MongoDB on AlmaLinux 9. For those of you who didn’t know, MongoDB is a high-performance, highly scalable document-oriented NoSQL database. Unlike in SQL databases where data is stored in rows and columns inside tables, in MongoDB, data is structured in JSON-like format inside records which are referred to as documents. The open-source attribute of MongoDB as a database software makes it an ideal candidate for almost any database-related project. This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo‘ to the commands to get root privileges. I will show you the step-by-step installation of the MongoDB NoSQL database on AlmaLinux 9. You can follow the same instructions for CentOS and Rocky Linux.

  • An introduction (and how-to) to Plugin Loader for the Steam Deck. - Invidious
  • Self-host a Ghost Blog With Traefik

    Ghost is a very popular open-source content management system. Started as an alternative to WordPress and it went on to become an alternative to Substack by focusing on membership and newsletter. The creators of Ghost offer managed Pro hosting but it may not fit everyone's budget. Alternatively, you can self-host it on your own cloud servers. On Linux handbook, we already have a guide on deploying Ghost with Docker in a reverse proxy setup. Instead of Ngnix reverse proxy, you can also use another software called Traefik with Docker. It is a popular open-source cloud-native application proxy, API Gateway, Edge-router, and more. I use Traefik to secure my websites using an SSL certificate obtained from Let's Encrypt. Once deployed, Traefik can automatically manage your certificates and their renewals. In this tutorial, I'll share the necessary steps for deploying a Ghost blog with Docker and Traefik.