Programming Leftovers

-
Niko Matsakis: Async Vision Doc Writing Sessions VI
Ryan Levick and I are going to be hosting more Async Vision Doc Writing Sessions this week. We’re not organized enough to have assigned topics yet, so I’m just going to post the dates/times and we’ll be tweeting about the particular topics as we go.
-
5 Very Useful Linux Command Line Secrets and Tricks You Must Know
In this article, we are going to see very useful Linux command line secrets and tricks to save time and increase productivity. Most people need some time to figure out how to be productive when they first start using Linux. This operating system is incredibly flexible and essential for developers across the globe. In case Linux is the standard OS at your company, you most likely saw more experienced users interact very efficiently. Although it may look like it would take you years to achieve this level of expertise, the truth is that you can greatly enhance your productivity on Linux with only several useful tricks.
What’s great about the Linux command line is that you can use it for countless processes. For instance, you can even zip and unzip a file in Linux from the command line. Regardless of whether you just installed Linux on your computer or have been using it for years, you’ll find some useful command line secrets and tricks in this article.
-
How to install Pycharm 2021 on a Chromebook - Community Edition
Today we are looking at how to install a Pycharm 2021 Community Edition on a Chromebook. Please follow the video/audio guide as a tutorial where we explain the process step by step and use the commands below.
-
Perl performance on Apple M1
https://metacpan.org/pod/HTML::FormatTextI recently got an Apple M1 Mac Mini, half out of curiosity, half because it was exactly what I would need: I have a low end Mac just to try out things like new Xcode betas etc, like a "canary" machine. My old 2012 Mac Mini stopped getting official Apple updates, so it could no longer do what I needed and the 8GB RAM, 256GB SSD M1 mini at $699 is easily the cheapest Mac you can buy.
Overall, unlike the typical Mac Minis of old which seemed to be on the slow side, it did feel quite fast from the start, so I thought I'd run some benchmarks on it for fun to see how Apple's ARM M1 fares against some x86 competition. And, as in my day job I use mostly Perl, I thought some perl-related benchmarks would be of interest to me.For those not aware, the M1 is an ARM-based CPU (well, includes GPU, so SoC really), with 8 cores total (4x performance @ 3.2GHz/12MB L3, 4x efficiency @ 2GHz/4MB L3) built at 5nm and consuming up to 15W. Basically the "laptop" class CPU of what Apple has been building for iPhones/iPads. Apart from native ARM code, it can run x86 code through Rosetta 2, but I still can't use it for work - our dev environment currently relies on VirtualBox which needs actual x86/VT-x silicon. I ran benchmarks against my work laptop, a Mid 2015 15" MacBook Pro with a 2.5GHz i7 Crystalwell. Even though it was Apple's top of the line at the time, it's a bit old now, I keep it for the non-butterfly keyboard and the full complement of ports, and until recently the newer Macs weren't much faster anyway. Although an older i7 will make it easier for the M1 to compete, I still find the comparison quite interesting, especially since the Mac Mini has always been the "slow/cheap" Mac - and it's now even cheaper. Plus I'll throw some tests with different hardware just for comparison.
-
Rakudo Weekly News: 2021.16 Dispatch Anew
Jonathan Worthington has posted an extensive blog post about the progress on the new dispatch infrastructure in MoarVM: Raku multiple dispatch with the new MoarVM dispatcher, with exciting new capabilities and the promise of much better performance (Lobsters comments). In related news, Jonathan also reported on the RakuAST progress in March.
-
POCL 1.7-RC1 Up For Testing, Now Exposes OpenCL 3.0
The first release candidate is up for version 1.7 of the Portable Computing Language, the portable OpenCL implementation that can run on CPUs and other accelerators. With POCL 1.7, OpenCL 3.0 is now being exposed and there is also improved support for SPIR-V binaries on CPUs.
-
Technical Evaluations: 6 questions to ask yourself
Use these six questions to determine whether a solution actually solves the business problem you're addressing.
[...]
This question comes with the addendum "for the balance of your requirements." If you only need a tool to get your team over a four to six-month hump until Project X is complete, this question becomes less important. If this is a multi-year commitment and the tool drives a critical business workflow, this is a concern.
When going through this step, make use of all available resources. If the solution is open source, look through the commit history, mailing lists, and forum discussions about that software. Does the community seem to communicate effectively and work well together, or are there obvious rifts between community members? If part of what you are purchasing is a support contract, use that support during the proof-of-concept phase. Does it live up to your expectations? Is the quality of support worth the cost?
Make sure you take a step beyond GitHub stars and forks when evaluating open source tools as well. Something might hit the front page of a news aggregator and receive attention for a few days, but a deeper look might reveal that only a couple of core developers are actually working on a project, and they've had difficulty finding outside contributions. Maybe a tool is open source, but a corporate-funded team drives core development, and support will likely cease if that organization abandons the project. Perhaps the API has changed every six months, causing a lot of pain for folks who have adopted earlier versions.
-
Google proposes Logica data language for building more manageable SQL code
Structured Query Language (SQL) at scale can lead to unstructured, unmaintainable database code - at least as far as Google is concerned - so boffins affiliated with the biz have devised an open source logical programming language to make SQL more amenable to maintenance.
"Good programming is about creating small, understandable, reusable pieces of logic that can be tested, given names, and organized into packages which can later be used to construct more useful pieces of logic," explain Google software engineers Konstantin Tretyakov and Evgeny Skvortsov in a post to Google's open source blog. "SQL resists this workflow."
Tretyakov and Skvortsov propose using a new open source logic programming language called, aptly enough, Logica, to craft database interactions using the syntax of mathematical propositional logic instead of the chains of English words used in SQL.
-
Benchmarking Ruby 3 in PDF generation
Ruby 3 JIT was optimized against CPU-intensive demo, which left Rails enthusiasts left out. But what about tasks in the middle of both? Here’s my latest benchmark on Ruby 3 JIT in generating PDF files with Prawn.
A little over a year ago, I created a PDF generation benchmark to help Takashi optimize the upcoming Ruby 3 JIT. I blogged about how to make such a benchmark, and my results for Ruby 2.5, 2.6, and 2.6 –jit.
-
Season of KDE: Calamares
I’m not a good mentor-as-a-side-gig. I know that now. I shouldn’t mix mentoring with other activities – like coding full-time and being on the board of KDE e.V. and doing FreeBSD things too – so this is the last one for me until circumstances change.
But for Anubhav Choudhary I hope this isn’t the last he participates in KDE things, in Open Source things, in C++ and Python and community activities. Mostly I’ll point at getting started and wrapping up. Getting started in college while also participating in a software project in partly-familiar language with people several timezones away over low-bandwidth communications is an achievement in its own right, regardless of what was actually built.
-
Philip Withnall: Simple HTTP profiling of applications using sysprof
This is a quick write-up of a feature I added last year to libsoup and sysprof which exposes basic information about HTTP/HTTPS requests to sysprof, so they can be visualised in GNOME Builder.
[...]
There’s plenty of scope for building this out into a more fully-featured way of inspecting HTTP requests using sysprof. By doing it from inside the process, using sysprof – rather than from outside, using Wireshark – this allows for visibility into TLS-encrypted conversations.
-

- Login or register to post comments
Printer-friendly version- 2210 reads
PDF version
More in Tux Machines
- Highlights
- Front Page
- Latest Headlines
- Archive
- Recent comments
- All-Time Popular Stories
- Hot Topics
- New Members
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.
|
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.
|
today's howtos
|








.svg_.png)
Content (where original) is available under CC-BY-SA, copyrighted by original author/s.

Recent comments
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago