Language Selection

English French German Italian Portuguese Spanish

Programming: Python, RcppSimdJson and PHP

Filed under
Development
  • Listener GUI Started

    So with the code-context, the dictation in Listener is getting okay-ish. It's still pretty frustrating and error prone, but I can use it maybe 1/4 of the time (mostly for doc-strings). Part of the frustration is just that the language models are not yet well tuned for some commonly needed phrases that the tokeniser didn't generate for the code corpus, but a big part of it is that I don't yet have the correction/undo operations nor the navigation bits, so any mistake means editing by keyboard. The lack of a good contextual awareness/biasing model is also pretty big.

    So, I've been working on getting the GUI built up for doing corrections. As of now, a dbus service runs in the background which is driving the interpreter, and IBus and delivering the partial and final transcriptions via signals to the front-end GUI. I've also got a "floating window" that shows the text as you speak, though currently you have to install some KWin config to get it to float over other windows (due to focus-stealing protections). I'm thinking a KDE plasmoid that runs in the panel might be a better approach.

  • A user story about user stories

    The way I learned to use the term “user story”, back in the late 1990s at the beginnings of what is now called “agile programming”, was to describe a kind of roleplaying exercise in which you imagine a person and the person’s use case as a way of getting an outside perspective on the design, the documentation, and especially the UI of something you’re writing.

    For example:

    Meet Joe. He works for Randomcorp, who has a nasty huge old Subversion repository they want him to convert to Git. Joe is a recent grad who got thrown at the problem because he’s new on the job and his manager figures this is a good performance test in a place where the damage will be easily contained if he screws up. Joe himself doesn’t know this, but his teammates have figured it out.

    Joe is smart and ambitious but has little experience with large projects yet. He knows there’s an open-source culture out there, but isn’t part of it – he’s thought about running Linux at home because the more senior geeks around him all seem to do that, but hasn’t found a good specific reason to jump yet. In truth most of what he does with his home machine is play games. He likes “Elite: Dangerous” and the Bioshock series.

    [...]

    Point three is that design by user story is not a technique for generating code, it’ s a technique for changing your mind. If you approach it in an overly narrow and instrumental way, you won’t imagine apparently irrelevant details like what kinds of video games Joe likes. But you should do that sort of thing; the brain hack works in exact proportion to how much imaginative life you give your characters.

    (Which in particular, is why “As an X, I want to do Y” is such a sadly reductive parody. This formula is designed to stereotype the process, but stereotyping is the enemy of novelty, and novelty is exactly what you want to generate.)

    A few of my readers might have the right kind of experience for this to sound familiar. The mental process is similar to what in theater and cinema is called “method acting.” The goal is also similar – to generate situational responses that are outside your normal habits.

    Once again: you have to get past tools and practices to discover that the important part of software design – the most difficult and worthwhile part – is mindset. In this case, and temporarily, someone else’s.

  • RcppSimdJson 0.0.6: New Upstream, New Features!

    A very exciting RcppSimdJson release with the updated upstream simdjson release 0.4.0 as well as a first set of new JSON parsing functions just hit CRAN. RcppSimdJson wraps the fantastic and genuinely impressive simdjson library by Daniel Lemire and collaborators. Via very clever algorithmic engineering to obtain largely branch-free code, coupled with modern C++ and newer compiler instructions, it results in parsing gigabytes of JSON parsed per second which is quite mindboggling. The best-case performance is ‘faster than CPU speed’ as use of parallel SIMD instructions and careful branch avoidance can lead to less than one cpu cycle use per byte parsed; see the video of the recent talk by Daniel Lemire at QCon (which was also voted best talk). The very recent 0.4.0 release further improves the already impressive speed.

  • PHP 8.0.0 Alpha 1 available for testing

    The PHP team is pleased to announce the first testing release of PHP 8.0.0, Alpha 1. This starts the PHP 8.0 release cycle, the rough outline of which is specified in the PHP Wiki.

  • PHP 8.0 Alpha 1 Released - Running Faster And With New Features

    PHP 8.0 Alpha 1 was just released as the first development snapshot for this major PHP programming language update due to ship around the end of November.

    Most notable with PHP 8.0 is the just-in-time (JIT) support and other performance improvements to accelerate the already increasingly speedy PHP7 compared to the sluggish PHP5 days. Earlier this month I ran some PHP 8.0 benchmarks including JIT too and in both modes PHP 8.0 is shaping up to be faster than prior PHP releases. I'll have some more numbers out soon.

  • PHP version 7.3.20RC1 and 7.4.8RC1

    RPM of PHP version 7.4.8RC1 are available as SCL in remi-test repository and as base packages in the remi-test repository for Fedora 32 or remi-php74-test repository for Fedora 30-31 and Enterprise Linux 7-8.

    RPM of PHP version 7.3.20RC1 are available as SCL in remi-test repository and as base packages in the remi-test repository for Fedora 30-31 or remi-php73-test repository for Enterprise Linux.

First PHP 8 alpha released

  • First PHP 8 alpha released

    The PHP project has released the first alpha of PHP 8, which is slated for general availability in November 2020. This initial test release includes many new features such as just-in-time (JIT) compilation, new constructs like Attributes, and more. One of twelve planned releases before the general availability release, it represents a feature set that is still subject to change.

    The PHP 8 release is being managed by contributors Sara Golemon and Gabriel Caruso. Dubbed "Alpha 1", this first release of PHP 8 is one of three releases to be done prior to a feature freeze. During this time, more widespread testing of new features is performed by the community and implementation details are worked out. This process will continue until August 4, at which point the feature set will be frozen to coincide with the first beta release scheduled for August 6.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

More in Tux Machines

Android Leftovers

Audiocasts/Screecasts, Linux App Summit, LIMBAS and More

  • BunsenLabs Linux Lithium overview | Crunchbang Reborn

    In this video, I am going to show an overview of BunsenLabs Linux Lithium and some of the applications pre-installed.

  • Why Do You Guys Want Linux Creators To Record Outside

    For some reason people seem to like the outside Linux rants so I thought I'd explain why they went away and how I'm planning to bring them back, they're very easy to make so I feel like I'm generally just being lazy when I put one of these out but if you guys want them I guess I can't say no.

  • There's going to be an online Linux App Summit this November

    Are you interested in helping to make Linux a great end-user platform? Or perhaps you just want to listen to speeches and find out more info from those working on it? Mark November 12-14 on your calendar. This is the date of the upcoming 2020 Linux App Summit, an event co-hosted by GNOME and KDE as they work to bring everyone together to push Linux further. LAS will have a range of different talks, panels, and Q&As on a wide range of topics covering everything: creating, packaging, and distributing apps, to monetization within the Linux ecosystem and much more.

  • LIMBAS: Build a Database-Powered Enterprise Apps with ease

    LIMBAS is a framework for building enterprise applications for medium and large-scale companies. With LIMBAS you don't need to re-invent the wheel or start from scratch as it offers you the tools for building highly performed applications. LIMBAS is a good option for prototyping because it's fast, offers powerful tools that ease the production. It can be used to create all sort of databased powered applications. The project is already used by several companies in Europe (Germany and Switzerland).

  • Slovak procurement office recommends making licence requirements specific

    Public services in the Slovak Republic that wish to avoid IT vendor lock-in have been advised to make their licence requirements clear – for example by requesting open source – when procuring software and related services. This is one of the recommendations in a case study published last April by the country’s public procurement office and Slovensko.Digital, a non-profit organisation promoting open government and government modernisation.

  • Adding a fiber link to my home network

    Replacing this particular connection with a fiber connection was a smooth process overall, and I would recommend it in other situations as well.

    I would claim that it is totally feasible for anyone with an hour of patience to learn how to put a field assembly connector onto a fiber cable.

    If labor cost is expensive in your country or you just like doing things yourself, I can definitely recommend this approach. In case you mess the connector up and don’t want to fix it yourself, you can always call an electrician!

  • New Training Course Explores Open Source CI/CD Tool Jenkins X

    The Linux Foundation, the nonprofit organization enabling mass innovation through open source, today announced the availability of a new training course, LFS268 - CI/CD with Jenkins X. LFS268, developed in conjunction with the Continuous Delivery Foundation, is designed for site reliability engineers, software developers and architects, DevOps engineers and others who need to not only master continuous integration (CI) and continuous delivery (CD), but also gain a deeper understanding of the cloud-native ecosystem.

  • Participate in the 2020 Open Source Jobs Report!

    The Linux Foundation has partnered with edX to update the Open Source Jobs Report, which was last produced in 2018. The report examines the latest trends in open source careers, which skills are in demand, what motivates open source job seekers, and how employers can attract and retain top talent. In the age of COVID-19, this data will be especially insightful both for companies looking to hire more open source talent, as well as individuals looking to advance or change careers.

Debian and Ubuntu Leftovers

  • Jonathan Carter: GameMode in Debian

    About two years ago, I ran into some bugs running a game on Debian, so installed Windows 10 on a spare computer and ran it on there. I learned that when you launch a game in Windows 10, it automatically disables notifications, screensaver, reduces power saving measures and gives the game maximum priority. I thought “Oh, that’s actually quite nice, but we probably won’t see that kind of integration on Linux any time soon”. The very next week, I read the initial announcement of GameMode, a tool from Feral Interactive that does a bunch of tricks to maximise performance for games running on Linux.

  • Mike Gabriel: No Debian LTS Work in July 2020

    In July 2020, I was originally assigned 8h of work on Debian LTS as a paid contributor, but holiday season overwhelmed me and I did not do any LTS work, at all.

  • Opinion: Robots are proving themselves now more than ever

    By Rhys Davies, product manager for robotics, Snapcraft and Ubuntu Appliances at Canonical, the publisher of Ubuntu

  • Kubernetes 1.19 release candidate available for testing

    The Kubernetes 1.19 release candidate is now available for download and experimentation ahead of general availability later this month. You can try it now with MicroK8s.

  • Ubuntu Weekly Newsletter Issue 643

    Welcome to the Ubuntu Weekly Newsletter, Issue 643 for the week of August 2 – 8, 2020. The full version of this issue is available here.

Linux Devices and Open Hardware

  • Mini-PC and SBC build on Whiskey Lake

    Supermicro’s 3.5-inch “X11SWN-H-WOHS” SBC and “SYS-E100-9W-H” mini-PC based it feature an 8th Gen UE-series CPU, HDMI and DP, 4x USB 3.1 Gen2, 2x GbE, and 3x M.2. Supermicro has launched a fanless, 8th Gen Whiskey Lake SBC and mini-PC. The SYS-E100-9W-H mini-PC (or SuperServer E100-9W-H), which was reported on by Fanless Tech, is certified only to run Windows 10, but the 3.5-inch X11SWN-H-WOHS SBC supports Ubuntu. Applications include industrial automation, retail, smart medical expert systems, kiosks, interactive info systems, and digital signage.

  • Exor nanoSOM nS02 System-on-Module Features the 800MHz version of STM32MP1 Processor

    Exor provides a Linux RT board support package (BSP) or Android BSP for the module which also fully supports the company’s X Platform including Exor Embedded Open HMI software, Corvina Cloud IIoT platform, and IEC61131 CODESYS or Exor xPLC runtime.

  • Onyx Boox Poke2 Color eReader Launched for $299

    Manga and comics fans, rejoice! After years of getting black & white eReaders, the first commercial color eReaders are coming to market starting with Onyx Boox Poke2 Color eReader sold for $299 (but sadly sold out at the time of writing). The eReader comes with a 6-inch, 1448 x 1072 E-Ink display that supports up to 4096 colors, and runs Android 9.0 on an octa-core processor coupled with 2GB RAM and 32GB storage.

  • xDrill Smart Power Drill Supports Intelligent Speed/Torque, Laser Measuring, Digital Leveling (Crowdfunding)

    Many home appliances now have smart functions, and in my cases, I fail to see the added value, and I’m not sure why I’d want/need a connected refrigerator with a touchscreen display. So when I first saw somebody make a “smart” power drill with a small touchscreen display I laughed. But after having a closer look, Robbox xDrill smart power drill could actually be a very useful device saving you time and helping work better.

  • Raspberry Pi calls out your custom workout routine
  • Odyssey Blue: A powerful x86 and Arduino machine that supports Windows 10 and Linux

    It has been a few months since we reported on the Odyssey, a single-board computer (SBC) designed by Seeedstudio. Unlike many SBCs, the Odyssey, or ODYSSEY-X86J4105800 to give it its full name, supported the x86 instruction set. While the Odyssey can run Windows 10, it is also compatible with the Arduino ecosystem. Now, Seeedstudio has expanded on the design of the Odyssey with the Odyssey Blue.

  • Bring two analog meters out of retirement to display temperature and humidity

    Tom of Build Comics created a unique analog weather station that shows temperature and humidity on a pair of recycled gauges. An Arduino Nano reads the levels using a DHT22 sensor and outputs them in the proper format for each display. Both units have a new printed paper backing to indicate conditions, along with a trimmer pot for calibration. To set the build off nicely, the Nano and other electronics are housed inside a beautiful custom wooden box, to which the antique meters are also affixed.