Language Selection

English French German Italian Portuguese Spanish

Programming: Perl, Python, Java and JavaScript

  • Perl Weekly Challenge 61: Max Subarray Product and IP Address Partition

    These are some answers to the Week 61 of the Perl Weekly Challenge organized by Mohammad S. Anwar.

  • Dataquest: New Course: NumPy for Data Engineers

    We've just launched a new interactive online course that'll take you from zero to pro with NumPy in the context of data engineering — dive in!

  • Switch A Django Project To Use Pytest - Building SaaS #57

    In this episode, I replaced the default Django test runner to use pytest. We walked through installation, configuration, how to change tests, and the benefits that come from using pytest.

    We started by looking at the current state of the test suite to provide a baseline to compare against. After that, I went to PyPI to find the version of pytest-django that we wanted to install. I added the package to my requirements-dev.txt and installed the update.

  • Oracle’s Linux Team Wishes the Java Community a Happy 25th

    From one open source community to another, Oracle’s Linux team would like to congratulate the Java community on its 25th anniversary! Java has an impressive history. It was a breakthrough in programming languages, allowing developers to write once and have code run anywhere. And, it has enabled developers to create a myriad of innovative solutions that help run our world. Read Georges Saab’s post to learn more.

    Both open source technologies, Java and Linux benefit from communities that collectively drive their advancements. While the technologies aren’t similar, there are areas where both work together and complement each other.

    One area is Java’s support for Linux HugePages. Using Linux HugePages can improve system performance by reducing the amount of resources needed to manage memory. The result of less overhead in the system means more resources are available for Java and the Java app, which can make both run faster.

  • New Training Course Advances Knowledge to Encourage Node.js Application Development Careers

    LFW211, developed in conjunction with the OpenJS Foundation, is geared toward developers who wish to master and demonstrate Node.js specialization, in particular for creating Node.js applications. The course provides core skills for effectively harnessing a broad range of Node.js capabilities at depth, equipping developers with rigorous foundational skills and knowledge that will translate to building any kind of Node.js application or library.

Java programming language celebrates 25 years

  • Java programming language celebrates 25 years

    The Java programming language celebrates its silver anniversary this week, with May 23, 2020, marking 25 years from the day Sun Microsystems first introduced Java to the world. The venerable language has remained popular with enterprises even as a slew of rival languages, such as Python and Go, now compete for the hearts and minds of software developers. But Java is not standing still, with a revamp designed to address longtime pain points now in the offing.

    Arising out of the “Oak” project begun in 1991 and spearheaded by James Gosling, object-oriented Java gained fame for its “write once, run anywhere” portability, as the Java Virtual Machine supported multiple hardware platforms and operating systems, and Java applets could be run from a webpage. Java applets offered better performance than JavaScript for many years, but eventually fell out of favor with browser makers and were removed from Java in 2018.

Linux Foundation Launches Node.js Application Development Course

Comment viewing options

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

More in Tux Machines

7 Linux Distros to Look Forward in 2021

Here is a list of most anticipated Linux distributions you should keep an eye on in the year 2021. Read more

Games Leftovers

  • Gaming Like It's 1925: Last Week To Join The Public Domain Game Jam!

    Sign up for the Public Domain Game Jam on itch.io »

  • ujoy(4) added to -current

    With the following commit, Thomas Frohwein (thfr@) added a joystick/gamecontroller driver to -current: [...]

  • The First Online Conference Is Happening Today For The Godot Game Engine - Phoronix

    For those interested in Godot as the premiere open-source 2D/3D game engine or just looking for some interesting technical talks to enjoy this weekend, the first GodotCon Online is today. GodotCon 2021 is the open-source game engine's first entirely online conference for developers, users, and other contributors to this promising open-source project. The YouTube-based event has been running from 8:45 UTC today until 16:00 UTC, but fear not if you missed out as you can already go back and listen to the prior talks in the stream. The recordings will remain available for those wanting to enjoy it in the days ahead. All of the content is free of charge.

Programming Leftovers

  • How to test PHP code using PHPUnit - Anto ./ Online

    PHPUnit automatically executable tests that verify your application’s behavior. Thus – you can ensure that your changes don’t break existing functionality. This post will show you how to test your PHP code using PHPUnit.

  • Latency Numbers Every Team Should Know

    We design systems around the size of delays that are expected. You may have seen the popular table “latency numbers every programmer should know” which lists some delays that are significant in technology systems we build. Teams are systems too. Delays in operations that teams need to perform regularly are significant to their effectiveness. We should know what they are. Ssh to a server on the other side of the world and you will feel frustration; delay in the feedback loop from keypress to that character displayed on the screen. Here’s some important feedback loops for a team, with feasible delays. I’d consider these delays tolerable by a team doing their best work (in contexts I’ve worked in). Some teams can do better, lots do worse. [...] In recent times you may have experienced the challenge of having conversations over video links with significant delays. This is even harder when the delay is variable. It’s hard to avoid talking over each other. Similarly, it’s pretty bad if we know it’s going to take all day to deploy a change to production. But it’s so worse if we think we can do it in 10 minutes, when it actually ends up taking all day. Flaky deployment checks, environment problems, change conflicts create unpredictable delays. It’s hard to get anything done when we don’t know what to expect. Like trying to hold a video conversation with someone on a train that’s passing through the occasional tunnel.

  • How I programmed a virtual gift exchange

    Every year, my wife's book club has a book exchange during the holidays. Due to the need to maintain physical distance in 2020, I created an online gift exchange for them to use during a book club videoconference. Apparently, the virtual book exchange worked out (at least, I received kind compliments from the book club members), so I decided to share this simple little hack.

  • Dirk Eddelbuettel: prrd 0.0.4: More tweaks

    The key idea of prrd is simple, and described in some more detail on its webpage and its GitHub repo. Reverse dependency checks are an important part of package development that is easily done in a (serial) loop. But these checks are also generally embarassingly parallel as there is no or little interdependency between them (besides maybe shared build depedencies). See the (dated) screenshot (running six parallel workers, arranged in split byobu session). This release brings several smaller tweaks and improvements to the summary report that had accumulated in my use since the last release last April. We also updated the CI runners as one does these days.

  • vrurg: A New Release Of Cro::RPC::JSON

    I don’t usually announce regular releases of my modules. But not this time. I start this new year with the new v0.1 branch of Cro::RPC::JSON. Version 0.1.1 is currently available on CPAN (will likely be replaced with fez as soon as it is ready). The release is a result of so extensive changes in the module that I had to bump its :api version to 2.

  • gfldex: Anonymous slurpers

    I have a script where I’m only interested in the last two lines of its output.

Nouveau X.Org Driver Sees First Release In Two Years

Two years and nine patches later, xf86-video-nouveau 1.0.17 is out as the latest X.Org driver update for this open-source NVIDIA driver component. Like the other DDX drivers with the exception of the generic xf86-video-modesetting driver that is quite common now to those still running on X.Org with the open-source stack, xf86-video-nouveau seldom sees new activity. Since the prior v1.0.16 release two years ago there has been less than a dozen patches for it. The interesting activity happens in DRM/KMS kernel space and an increasing number of users are just relying upon xf86-video-modesetting over these hardware-specific X.Org user-space drivers. Read more