Language Selection

English French German Italian Portuguese Spanish

Programming: Perl/Raku, Python, Rust, Java and More

Filed under
  • What's new on CPAN - April 2020

    Welcome to “What’s new on CPAN”, a curated look at last month’s new CPAN uploads for your reading and programming pleasure. Enjoy!

  • The [Perl] Weekly Challenge #061

    At first, I thought Product SubArray is easy task. Therefore I went public categorised as Task #1. My definition of easy task is you just start coding without doing any ground work. However when I started coding, I had to take a pause and do processing in my head befoore coding. So then as per my definition, Product SubArray no longer consider as an easy task. After finishing the task in no time once I understood the flow, it turned out to be clean solution. I must confess, my brain still do thinking as per the rules of Perl. I am hoping, one day I could do the mental processing in Raku. The IPv4 Partition task was the tough nut to crack honestly speaking at first. After working out the logic on paper, it becomes easier. Overall, fun and twisting tasks to work on.

  • 5 Simple Python Tricks You Need to Know

    It would be easier for you or anyone reviewing your code to see elements spread out in your list.

  • Report of May 19th Cubicweb Meeting
  • This Week in Rust 339
  • IBM and Java: The next 25 years

    25 years of Java. An amazing milestone for any programming language. For Java and the Java community, this is an especially significant achievement, as many have doubted Java’s staying power. It should be clear to everyone that not only is Java still going strong, but it also has a bright future ahead. Let’s look back a little and also think about what we want to achieve next.

    Looking back

    Looking backwards can be difficult because, in our industry, we tend to have short memories: not much of what happened five years ago is talked about now, and events from 10 years ago are like talking about the Stone Age! However, it’s hard to exaggerate the level of enthusiasm, passion, and sheer invention that has been generated by Java at IBM through the last 25 years.

    Much as you might consider IBM a little too conservative at times, we embraced Java from day one and have never stepped back. Since the early days, IBM has contributed to the Java process and won many awards for things like having the best Java virtual machines (JVMs), application servers, innovative Java tools, and more. As time moved on, you also see IBM’s influence in the way that Java evolved to become what it is today. Personally, we think it would be hard to find any other single company that has continuously invested so much into the technology, community, and ecosystem we simply call “Java.”

    People tend to forget just what an amazing piece of technology the JVM provides. We take for granted the sophistication of the just-in-time compilers, the garbage collectors, and the platform independence. All this hard-won value comes from many years of invention and innovation. It might surprise you to know that IBM engineers have been technology leaders in JVM matters since day one – and some of us have been around for all that time!

  • Everyone makes a script

    I took the second week of Community Bonding to make some improvements in my development environment. As I have reported before, I use a QEMU VM to develop kernel contributions. I was initially using an Arch VM for development; however, at the beginning of the year, I reconfigured it to use a Debian VM, since my host is a Debian installation - fewer context changes. In this movement, some ends were loose, and I did some workarounds, well… better round it off.

    I also use kworkflow (KW) to ease most of the no-coding tasks included in the day-to-day coding for Linux kernel. The KW automates repetitive steps of a developer’s life, such as compiling and installing my kernel modifications; finding information to format and send patches correctly; mounting or remotely accessing a VM, etc. During the time that preceded the GSoC project submission, I noticed that the feature of installing a kernel inside the VM was incompleted. At that time, I started to use the “remote” option as palliative. Therefore, I spent the last days learning more features and how to hack the kworkflow to improve my development environment (and send it back to the kw project).

  • Watch All The Latest & Greatest Videos from Qt: Qt Virtual Tech Con 2020

    The online event had thousands of attendees gather around to interact with the Qt experts, partners, and community members to learn how to create better, connected applications and UIs.

    A special thank you to all for joining, making Qt awesome, and pivoting quickly during these challenging times.

    Enjoy and Happy 25th anniversary year! Stay tuned later this year for more goodies to come.

  • Daniel Stenberg: AI-powered code submissions

    I’m sure these are still early days and we can’t expect this to be perfected yet, but I would still claim that from the submissions we’ve seen so far that this is useful stuff! After I tweeted about this “event”, several people expressed interest in how well the service performs, so let me elaborate on what we’ve learned already in this early phase. I hope I can back in the future with updates.

    Disclaimers: I’ve been invited to try this service out as an early (beta?) user. No one is saying that this is complete or that it replaces humans. I have no affiliation with the makers of this service other than as a receiver of their submissions to the project I manage. Also: since this service is run by others, I can’t actually tell how much machine vs humans this actually is or how much human “assistance” the AI required to perform these actions.

    I’m looking forward to see if we get more contributions from this AI other than this first batch that we already dealt with, and if so, will the AI get better over time? Will it look at how we adjusted its suggested changes? We know humans adapt like that.

  • GitLab's take on the current state of DevOps

    GitLab, a prominent Git-based DevOps company, has released the results of its fourth annual DevSecOps survey This global survey of over 3,650 respondents found that DevOps rise has led to "sweeping changes in job functions, tool choices, and organization charts within developer, security and operations teams."

    The vast majority of developers are finding DevOps is living up to its promise of faster software releases. According to the survey, nearly 83% of developers report being able to release code more quickly with DevOps.

  • Eclipse 2020 IoT developer survey is live

    Last year’s results saw over 1,700 responses, two-thirds of which were professionals working on IoT projects. This year we, Canonical, encourage you to take the Eclipse survey whether you are an enterprise IoT director, a scientist, a hobbyist, or somebody else. We want to understand the opinions of people working in IoT so that we can use the results to guide our own decisions.

    The 2019 survey focused on the requirements, priorities, and perceptions of developer communities. It gave ‘on-the-ground’ insights into how IoT solutions are built, and data on the most popular architectures, technologies, and tools. The 2019 survey indicated that IoT development is fueled by the growth of investments in industrial markets. And it highlighted a developer focus on areas like IoT platforms, home automation, and industrial automation.

More in Tux Machines

Programming Leftovers

  • This Week in Rust 340
  • Simplify data visualization in Python with Plotly

    Plotly is a plotting ecosystem that allows you to make plots in Python, as well as JavaScript and R. In this series of articles, I'm focusing on plotting with Python libraries.

  • Perl Hacks, Perl School, and the future of Perl publishing

    Dave Cross, long-time Perl user, trainer, and author, recently released The Best of Perl Hacks, a curated collection of his best posts from his Perl Hacks blog. His imprint, Perl School, has published six e-books, including two that I wrote. There’s an unrelated book, Perl Hacks: Tips & Tools For Programming, Debugging, And Surviving, by chromatic, Damian Conway, and Curtis “Ovid” Poe. It’s also very good, but completely separate from Dave’s.

  • Qt for Automation changed to Qt M2M Protocols

    Qt M2M Protocols is now automatically included for free to every new Qt Device Creation subscription. The additional distribution license price has been removed as well. Qt Application Development license holders can buy Qt M2M Protocols separately.

  • Using Visual Studio Code for Qt Applications – Part Two

    In the last blog post we saw an essential, C++ oriented, Visual Studio Code setup. That was enough to get going right away, but we can still definitely do more and better. Here I’ll show you how to get a complete setup for your qmake and CMake projects, all this while also wearing a Qt hat (on top of my C++ hat) and having a deeper look at the Qt side. Build qmake Qt projects Qmake is not integrated with Visual Studio Code the way CMake is, so setting up a qmake project for build is slightly more convoluted than doing the same with CMake. This means we’ll have to define our own build tasks. We’re going to do this in two stages: build steps definition and build steps combination, leveraging the fact that Visual Studio Code implements task dependencies and ordered sequential execution of dependencies.

  • Where Did Software Go Wrong?

    Computers were supposed to be “a bicycle for our minds”, machines that operated faster than the speed of thought. And if the computer was a bicycle for the mind, then the plural form of computer, Internet, was a “new home of Mind.” The Internet was a fantastic assemblage of all the world’s knowledge, and it was a bastion of freedom that would make time, space, and geopolitics irrelevant. Ignorance, authoritarianism, and scarcity would be relics of the meatspace past.

    Things didn’t quite turn out that way. The magic disappeared and our optimism has since faded. Our websites are slow and insecure; our startups are creepy and unprofitable; our president Tweets hate speech; we don’t trust our social media apps, webcams, or voting machines. And in the era of coronavirus quarantining, we’re realizing just how inadequate the Internet turned out to be as a home of Mind. Where did it all go wrong?

  • good idea bad implementation crosstalk

    Unfortunately products like the latter seem quite common. Most things in my house are still rather dumb because regrettably few products are actually the same thing, but smarter. Instead smart devices are inevitably some inscrutable machine intelligence physically manifested in my house. So no thanks. Battle lines drawn, everybody pick a side, good idea or bad implementation, and fight!

Android Leftovers

Ryzen 9 3900X/3950X vs. Core i9 10900K In 380+ Benchmarks

Following our initial Core i5 10600K and Core i9 10900K Linux benchmarks last week, here is a much larger comparison I have been working on since then in looking specifically at the Ryzen 9 3900X and 3950X against the Core i9 10900K. It's the largest to date with nearly 400 benchmarks being tested, most of them real-world test cases. The past number of days I have been running this Core i9 10900K vs. Ryzen 9 3900X vs. Ryzen 9 3950X comparison with 381 benchmarks out of 138 distinct applications/workloads on both systems. With this round of benchmarking the Gigabyte Z490 AORUS MASTER and ASUS ROG CROSSHAIR VIII HERO were at play with 2 x 8GB DDR4-3600 Corsair memory, Samsung 970 EVO NVMe SSD, and Radeon RX 5700 XT graphics. Benchmarking was run off Ubuntu 20.04 LTS while upgrading to the Linux 5.7 Git kernel for the very latest kernel bits. All other Ubuntu 20.04 packages were at their respective defaults. Read more

Compact 8K video encoder runs Linux on Kaby Lake

Advantech has launched a “VEGA-8300E 8K Broadcast Video Encoder” and streaming appliance for 8Kp60, 10-bit 4:2:2 HEVC real-time encoding. The system runs Ubuntu on a 7th Gen Kaby Lake CPU and offers 2x hot-swappable SATA bays. We realize that most of you are not in the market for an 8K video encoder, but we occasionally like to check in on the high-end video world where Linux is steadily making inroads. Normally Advantech’s VEGA-8300E 8K Broadcast Video Encoder would have been showcased at the NAB Show, which has been cancelled due to the pandemic. (Some NAB content is available on the online NAB Show Express.) We heard about the VEGA-8300E from an Advantech announcement on Businesswire that revealed the product has won a 2020 Best of Show Special Edition Award presented by TV Technology. Read more