Language Selection

English French German Italian Portuguese Spanish

Programming: ‘Hack’, Berkeley Packet Filter, Python and More

Filed under
Development
  • Hack Laptop Brings Linux to Desktop for Everyone Learning to Code

    If you have a pre-teen interested in coding, $300 in loose cash and $10/month to spend on a subscription service, the new ‘Hack’ computer might be what you’re looking for.

    Most learn-to-code devices are geared toward a younger crowd, often disguised as toys. The Hack Laptop is simply an ASUS computer. It has a 1920×1080 HD display, 64GB storage, 4GB RAM, and an Intel N5000 processor. It runs Endless OS, which is a version of Linux, and that’s where the real magic begins.

    Instead of some learn-as-you-go app, the Hack Laptop is itself a teaching tool. With that $10/month subscription, students get new challenges that entice them to hack the device itself. The challenges invite them to pick apart code, and a feature dubbed ‘flip to hack’ reverts to the user interface so students can see their user-facing changes in real-time.

  • How to Make Linux Microservice-aware with Cilium and eBPF

    My name is Thomas Graf. Before I start, I would like to know a little bit about what your interests are; who is involved with the upside of things platform, kind of less the dev side, just pure platform? Who is really into kind of development and Dev-ops? So, first of all, I've been asked to stay behind a podium, so whenever you see me walk in front just give me a sign, and push me back. Apparently, the video camera is not able to catch me if I've walked forward too much.

    So what I'm here to talk about is, is BPF, Berkeley Packet Filter, and how BPF can be used to turn and Linux into what we call a Micro Service Operating System. What makes me qualified to talk about this? So I've spent about 15 years working on the Linux kernel. About 10 years of that, I've mostly focused on working and security from a subsystem perspective. So I helped write potentially the biggest monolith ever, 12 million lines of source code by now. I worked on all of the networking subsystem pretty much, a lot of security user space stuff, Netlink, prior to and so on and so on.

  • Clean Architectures in Python: the book

    I'm excited to announce that the success of the post on clean architectures encouraged me to expand the subject and to write a book that I titled "Clean Architectures in Python. A practical approach to better software design".

    The book contains a complete introduction to TDD and clean architectures, two topics that I believe are strictly interconnected. The book is 170 pages long and it is complete, at least for a first edition, but I am already planning to add content that could not fit in this release for several reasons (mostly because still unclear in my mind).

  • pinp 0.0.7: More small YAML options

    One new option was suggested (and implemented) by Ilya Kashnitsky: the bold and small subtitle carrying a default of ‘this version built on …’ with the date is now customisable; motivation was for example stating a post-publication DOI which is indeed useful. In working with DOI I also finally realized that I was blocking displays of DOIs in the references: the PNAS style use \doi{} for a footer display (which we use e.g. for vignette info) shadowing the use via the JSS.cls borrowed from the Journal of Statistical Software setup. So we renamed the YAML header option to doi_footer for clarity, still support the old entries for backwards compatibility (yes, we care), renamed the macro for this use — and with an assist from LaTeX wizard Achim Zeileis added a new \doi{} now displaying DOIs in the references as they should! We also improved some internals as e.g. the Travis CI checks but I should blog about that another time, and documented yet more YAML header options in the vignette.

  • ActiveState Adds Beta Functionality for Open Source Language Automation
  • The New LLVM Repository Is Now Officially Available Via Git On GitHub

    The LLVM project has long been transitioning from Subversion-centered development to using Git around GitHub. The new "LLVM monorepo" Git setup is now considered finalized. 

    A few days ago I wrote about the LLVM transition to Git nearly being finalized while the announcement hit the wire yesterday of its success. James Knight who has been working on this initiative announced, "The new official monorepo is published to LLVM's github organization. At this point, the repository should be considered stable -- there won't be any more rewrites which invalidate commit hashes (barring some _REALLY_ good reason...)."

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.