Language Selection

English French German Italian Portuguese Spanish

Programming Leftovers

Filed under
Development
  • Secure Socket API - a simple and powerful approach for TLS support in software

    As a member of the Norwegian Unix User Group, I have the pleasure of receiving the USENIX magazine ;login: several times a year. I rarely have time to read all the articles, but try to at least skim through them all as there is a lot of nice knowledge passed on there. I even carry the latest issue with me most of the time to try to get through all the articles when I have a few spare minutes.

    The other day I came across a nice article titled "The Secure Socket API: TLS as an Operating System Service" with a marvellous idea I hope can make it all the way into the POSIX standard. The idea is as simple as it is powerful. By introducing a new socket() option IPPROTO_TLS to use TLS, and a system wide service to handle setting up TLS connections, one both make it trivial to add TLS support to any program currently using the POSIX socket API, and gain system wide control over certificates, TLS versions and encryption systems used.

  • Choosing YAML for a Configuration File

    Recently I have been working to clean up the configuration file syntax and parsing in rpminspect. Several months back there were suggestions on fedora-devel to improve things with the configuration files. The ideas were good improvements, so I added them to my to do list and am now at a point where I can work on making those changes.

  • Apps get bit animated: Android Studio 4.0 released with new Motion Editor

    Google has released Android Studio 4.0, a massive update to its IDE for mobile app development, with features like an upgraded Layout Inspector, and the brand new Build Analyzer and motion editor.

    Android Studio is based on JetBrains IntelliJ IDEA, a popular Java IDE, and version 4.0 uses IDEA 2019.3.3, according to the release notes, which came out in February 2020. The Android Studio incarnation is a little behind IDEA, for which version 2020 is out.

  • Talk Python to Me: #267 15 amazing pytest plugins

    Do you write tests for your code? You probably should. And most of the time, pytest is the industry standard these days. But pytest can be much more than what you get from just installing it as a tool.

    There are many amazing plugins that improve pytest in many aspects. That's why I invited Brian Okken to the show to tell us about his favorites. Listen in and your Python testing will be faster, stronger, and more beautiful!

  • Weekly Python StackOverflow Report: (ccxxxi) stackoverflow python report
  • How and why I built ClassUp

    I am an Architect & Developer & I love to code!

    Lived & worked in many countries I have seen systems evolved from traditional client server to today's modern Cloud based Apps.

    Now a days I code in Python/Django, Vue.js to develop Web, Android and iOS apps

More in Tux Machines

Mozilla: Rustup 1.22.0, Servo and Performance Improvements via Formally-Verified Cryptography in Firefox

    • Announcing Rustup 1.22.0

      The rustup working group is happy to announce the release of rustup version 1.22.0. Rustup is the recommended tool to install Rust, a programming language that is empowering everyone to build reliable and efficient software.

    • This Week In Servo 131

      Welcome back everyone - it’s been a year without written updates, but we’re getting this train back on track! Servo hasn’t been dormant in that time; the biggest news was the public release of Firefox Reality (built on Servo technology) in the Microsoft store. In the past week, we merged 44 PRs in the Servo organization’s repositories.

    • Performance Improvements via Formally-Verified Cryptography in Firefox

      Cryptographic primitives, while extremely complex and difficult to implement, audit, and validate, are critical for security on the web. To ensure that NSS (Network Security Services, the cryptography library behind Firefox) abides by Mozilla’s principle of user security being fundamental, we’ve been working with Project Everest and the HACL* team to bring formally-verified cryptography into Firefox. In Firefox 57, we introduced formally-verified Curve25519, which is a mechanism used for key establishment in TLS and other protocols. In Firefox 60, we added ChaCha20 and Poly1305, providing high-assurance authenticated encryption. Firefox 69, 77, and 79 improve and expand these implementations, providing increased performance while retaining the assurance granted by formal verification.

today's howtos

Stable Clonezilla live 2.6.7-28 Released

This release of Clonezilla live (2.6.7-28) includes major enhancements and bug fixes.
ENHANCEMENTS and CHANGES from 2.6.6-15

  • The underlying GNU/Linux operating system was upgraded. This release is based on the Debian Sid repository (as of 2020/Jun/30).
  • Linux kernel was updated to 5.7.6-1.
  • ocs-iso, ocs-live-dev: sync syslinux-related files when copying syslinux exec files.
  • When creating recovery iso/zip file, if it's in Clonezilla live environment, we have those syslinux files. Use that first so the version mismatch can be avoided. Ref: https://sourceforge.net/p/clonezilla/support-requests/127/
  • Move grub-header.cfg from bootx64.efi to grub.cfg so that it's more flexible.
  • To avoid conflict with the patch of grub in CentOS/Fedora, for GRUB EFI NB MAC/IP config style, the netboot file is now like grub.cfg-drbl-00:50:56:01:01:01 and grub.cfg-drbl-192.168.177.2 not grub.cfg-01-* anymore.
  • Add xen-tools
  • Partclone was updated to 0.3.14. The codes about xfs was updated to be 4.20.0.
  • Package exfat-fuse was removed since the kernel has module for that.
  • A better mechanism to deal with linuxefi/initrdefi or linux/initrd in the grub config was added.
  • Read more

Pico-ITX board based on i.MX8M ships with Linux BSP

F&S has launched a $407 and up “armStone MX8M” Pico-ITX SBC that runs Linux on an i.MX8M with up to 8GB LPDDR4 and 64GB eMMC with GbE, WiFi/BT, 5x USB, MIPI-CSI, DVI, and a mini-PCIe slot. F&S Elektronik Systeme originally announced the NXP i.MX8M-based armStone MX8M Pico-ITX board in early 2018 with an intention to begin sampling in Q2 of that year. The i.MX8M-based SBC has finally arrived, selling for 360 Euros ($407) in a kit that includes cables, a Yocto/Buildroot BSP, and full access to documentation. The key new addition since the 2018 announcement is a mini-PCIe slot and SIM card slot. Instead of supplying 4x USB 2.0 host ports, you get 2x USB 3.0 and 2x USB 2.0, and the micro-USB OTG port has been updated from 2.0 to 3.0. Read more