Language Selection

English French German Italian Portuguese Spanish

Programming Leftovers

Filed under
Development
  • +1 "use v7;" in Perl 7

    This syntax is the history of Perl and is also a mechanism for maintaining backward compatibility with newer versions of Perl.

    The reason this was not used is simply the small granularity.

    I don't remember much about Perl, so I can't tell the difference between use v5.20 and use v5.30.

    And because the warnings and utf8 aren't turn on, I couldn't find a meaning to actively use it.

    use v7; is very easy to understand.

    use v7;
    Imagine an application user actively uses it instead of writing use strict, use warnings, use utf8;, use feature'say', ....

  • The [Perl] Weekly Challenge #066

    The much awaited event, **Conference in the Cloud” took most of my free time. Having said that I still managed to do Live Coding YouTube videosfor Divide Integers and Power Integers.

    I really enjoyed both tasks, specially Power Integers. It didn’t take long to solve both tasks. I was able to get it done by midweek. But for YouTube video, I had to wait until the conference was over. Thanks to the Chief Editor of Perl Weekly newletter editorial note, I now have 67 subscribers to my YouTube Channel. I would like to thank each and every subscriber. I promise to do regular video every week.

  • Using Bash traps in your scripts

    It's easy to detect when a shell script starts, but it's not always easy to know when it stops. A script might end normally, just as its author intends it to end, but it could also fail due to an unexpected fatal error. Sometimes it's beneficial to preserve the remnants of whatever was in progress when a script failed, and other times it's inconvenient. Either way, detecting the end of a script and reacting to it in some pre-calculated manner is why the Bash trap directive exists.

  • Oracle Helidon 2.0 reaches general availability

    Global enterprise database and software vendor, Oracle, has announced the general availability of Helidon 2.0, a set of Java libraries simplifying microservices development.

  • Some Open-Source Projects Begin Quickly Working Towards macOS ARM64 Support

    While the first MacBooks / Macs with Apple's 64-bit ARM chips won't be shipping to consumers until around the end of the year and Apple is only sending out a limited number of developer systems, some open-source projects have already been making the necessary build system changes and other preparations for 64-bit ARM Mac builds. This work can be started by untangling assumptions in some of these projects that when building for macOS/Darwin means x86_64 and in some cases better modularizing their logic where they support iOS already with similar chips to what will be appearing in these future computers. Changes can also be started around "fat" binaries for supporting macOS builds that support both x86_64 and ARM64/AArch64.

  • Building a startup using Crystal and Lucky

    Crystal and Lucky are not, in my opinion, ready for the inexperienced programmer. With over 40 years of programming experience, I have still faced challenges.

    The power of Crystal’s macro language means that it is used extensively in packages as powerful as the Lucky web platform. Unfortunately, this means that your programming errors are reported where they occur somewhere in a macro expansion, rather than where you have made them – as you could expect were you calling into functions and methods rather than macros. The result is that error messages resulting from my use of Lucky are often simply indecipherable, yielding neither the location of their origin or, sometimes, even any information about the erroneous statement rather than some macro transformation of that statement. Since the macro system is a code transformation machine, its arguments are not naturally as tightly typed as the rest of the Crystal language. Achieving good error reports for Lucky may require manually-added code to more tightly check the arguments to every macro. Fortunately, the macro mechanism does provide the framework to do such checking, AST nodes yield type information and the file name and line number of where they originate. I don’t know if there is anything that the compiler developers can do to improve error messages regarding macro expansions.

  • Towards greater ecological validity in security usability

    When you are a medical doctor, friends and family invariably ask you about their aches and pains. When you are a computer specialist, they ask you to fix their computer. About ten years ago, most of the questions I was getting from friends and family as a security techie had to do with frustration over passwords. I observed that what techies had done to the rest of humanity was not just wrong but fundamentally unethical: asking people to do something impossible and then, if they got [cr]acked, blaming them for not doing it.

More in Tux Machines

today's leftovers

  • Schedule for Wednesday's FESCo Meeting (2020-07-08)

    F33 System-Wide Change: Make nano the default editor https://pagure.io/fesco/issue/2426 APPROVED (+8, 0, -0)

  • Fedora Approves Of Making Nano The Default Terminal Text Editor, Other Features Accepted

    At this week's Fedora Engineering and Steering Committee (FESCo) meeting, more features were approved for the Fedora 33 release due out this fall. Most notable is the change of the default terminal text editor with Fedora 33 but other changes were also accepted. Highlights of this week's FESCo decisions include: - The change to make nano the default text editor was approved. Nano will be the new default over Vi.

  • Ingenic X2000 IoT Application Processor Combines 32-bit MIPS Xburst 2 Cores with Xburst 0 Real-time Core

    The company can provide a complete software and hardware development kit with a Linux 4.4 BSP and Halley5 development board with an X2000 SoM with a wireless module fitted to a largish carrier board with Ethernet, USB, microphone, MicroSD card slot, I/O header, buttons and so on. The other side of the board is equipped with a dual-camera board and a Full HD AMOLED display.

  •        
  • Linux 5.9 Will Finally Offer Proper Support For The ThinkPad 10 Ultrabook Keyboard

    While Lenovo recently committed to certifying more systems for Linux use and upstreaming drivers / hardware support for Linux moving forward, there remains a backlog of existing Lenovo devices that still have less than desire Linux support. But thanks to Red Hat and others, the hardware support does continue advancing.  The Lenovo ThinkPad 10 Ultrabook initially debuted in 2014 and now with Linux 5.9 debuting in late 2020 there is proper keyboard support, thanks to Red Hat's Hans de Goede who has frequently provided similar driver improvements for a range of hardware over the years. 

  • Full Circle Magazine: Full Circle Weekly News #177

    Ubuntu 20.04 Released https://www.omgubuntu.co.uk/2020/04/download-ubuntu-20-04 Ubuntu Survey Results https://ubuntu.com/blog/ubuntu-20-04-survey-results Fedora 32 Released https://fedoramagazine.org/announcing-fedora-32/ Lenovo Now Shipping Fedora on Thinkpads https://fedoramagazine.org/coming-soon-fedora-on-lenovo-laptops/ Manjaro 20 Released https://forum.manjaro.org/t/manjaro-20-0-lysia-released/138633 Bug In Git May Leak Credentials https://www.phoronix.com/scan.php?page=news_item&px=Git-Newline-Leak-Vulnerability Linux Kernel 5.7 rc4 Out https://lkml.org/lkml/2020/5/3/306 Linux Kernel 5.5 Is Now End of Life http://lkml.iu.edu/hypermail/linux/kernel/2004.2/07196.html Red Hat Enterprise Linux 8.2 Out https://www.redhat.com/archives/rhelv6-list/2020-April/msg00000.html Parrot 4.9 Out https://parrotsec.org/blog/parrot-4.9-release-notes/ IPFire 2.25 Core Update 143 Out https://blog.ipfire.org/post/ipfire-2-25-core-update-143-released Oracle Virtualbox 6.1.6 Out https://www.virtualbox.org/wiki/Changelog-6.1 LibreOffice 6.4.3 Out https://blog.documentfoundation.org/blog/2020/04/16/libreoffice-6-4-3/ Proton 5.0-6 Out https://www.gamingonlinux.com/articles/steam-play-proton-50-6-is-out-to-help-doom-eternal-rockstar-launcher-and-more-on-linux.16442 VLC 3.0.10 Out https://www.videolan.org/vlc/releases/3.0.10.html Darktable 3.0.2 Out https://www.darktable.org/2020/04/darktable-302-released/ OpenSUSE Tumbleweed for AWS Marketplace Out https://9to5linux.com/opensuse-tumbleweed-is-now-available-on-aws-marketplace KDE 20.04 Applications Out https://9to5linux.com/kde-applications-20-04-officially-released-this-is-whats-new Credits: Ubuntu “Complete” sound: Canonical Theme Music: From The Dust – Stardust

GNUnet 0.13.1 released

This is a bugfix release for gnunet and gnunet-gtk specifically. For gnunet, no changes to the source have been made. However, the default configuration had to be modified to support the changes made in 0.13.0. For gnunet-gtk, this fixes a more serious issue where the 0.13.0 tarball failed to build. Read more

Intel DG1 Graphics Card Bring-Up On Linux Continues - Latest Bits For Local Memory

Recently there have been a lot of open-source Linux patches flowing concerning Intel's bring-up of their DG1 discrete graphics card for developers. That work continued this week with the latest patches in wiring up LMEM support. Among the recent Intel DG1 patches for Linux recently have been on the media driver front, compute runtime with OpenCL and Level Zero and as part of that the IGC support, and then most importantly the necessary Linux kernel changes building off the existing Gen12/Xe graphics support. Read more Also: Intel AMX Support Lands In The GNU Assembler

Programming: GStreamer, Drat, RasPi, Python