Language Selection

English French German Italian Portuguese Spanish

Python Programming

Filed under
  • Build Your Own Domain Specific Language in Python With textX

    Programming languages are a powerful tool and can be used to create all manner of applications, however sometimes their syntax is more cumbersome than necessary. For some industries or subject areas there is already an agreed upon set of concepts that can be used to express your logic. For those cases you can create a Domain Specific Language, or DSL to make it easier to write programs that can express the necessary logic with a custom syntax. In this episode Igor Dejanović shares his work on textX and how you can use it to build your own DSLs with Python. He explains his motivations for creating it, how it compares to other tools in the Python ecosystem for building parsers, and how you can use it to build your own custom languages.

  • python-bugzilla REST API support

    I just released python-bugzilla 2.4.0. The main interesting bit it adds is support for Bugzilla's REST API.

    All previous versions of python-bugzilla and /usr/bin/bugzilla only used the XMLRPC API, but that is deprecated in Bugzilla 5.0+ and all new API development is taking place on the REST API.

    In practice there isn't any released bugzilla version that has big differences between the two API versions. On specifically the XMLRPC API is still recommended, because some custom features are not available over REST yet. Note though that is looking at disabling the XMLRPC API entirely, but they are usually ahead of the Bugzilla curve.

  • PSF GSoC students blogs: Weekly Check-In | Gsoc'2020 | #5

    Fourth week of GSOC was slightly different than what I wanted it to be like. My struggle with a stable internet connection and area lockdown due to COVID19 precautionary measures were just too overwhelming , Though its been a while with this struggle but things were at a peak this week and I couldnt make a PR until saturday when things calmed a little. And that was a slight relief.

  • PSF GSoC students blogs: GSoC: Week 5: improve CVEDB

    I have finished my work on improving cvedb this week. I am using aiohttp to download NVD dataset instead of requesting with multiprocessing pool. This has improved our downloading speed since now every tasks are downloading concurrently in same thread instead of 4 tasks at a time with process pool. I have also measured performance of aiosqlite but it was significantly slower while writing to database so, I decided to keep writing process synchronous. I have also added a beautiful progressbar with the help of rich module. So, now user can get feedback about progress of the downloading and updating database. Here is the demo of how does it look now.

  • PSF GSoC students blogs: Weekly checkin #5
  • PSF GSoC students blogs: Weekly Check In - 4

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 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 Ubuntu Survey Results Fedora 32 Released Lenovo Now Shipping Fedora on Thinkpads Manjaro 20 Released Bug In Git May Leak Credentials Linux Kernel 5.7 rc4 Out Linux Kernel 5.5 Is Now End of Life Red Hat Enterprise Linux 8.2 Out Parrot 4.9 Out IPFire 2.25 Core Update 143 Out Oracle Virtualbox 6.1.6 Out LibreOffice 6.4.3 Out Proton 5.0-6 Out VLC 3.0.10 Out Darktable 3.0.2 Out OpenSUSE Tumbleweed for AWS Marketplace Out KDE 20.04 Applications Out 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