Language Selection

English French German Italian Portuguese Spanish

Programming: Rust, C++, GitLab, PHP and Python

Filed under
Development
  • This Week in Rust 286
  • 2 tips to make your C++ projects compile 3 times faster

    In this article, I will demonstrate how to speed up your compilation times by distributing compilation load using a distcc server container. Specifically, I’ll show how to set up and use containers running a distcc server to distribute the compilation load over a heterogeneous cluster of nodes (development laptop, old desktop PC, and a Mac). To improve the speed of recompilation, I will use ccache.

  • 8 Secrets Of GitLab’s Remote Work Culture

    At the GitLab Contribute event, Sid Sijbrandij, CEO and co-founder of GitLab shared some open secrets that make GitLab a successful ‘all remote’ company. What’s unique about GitLab is that being true to its Open Source roots, the company wants to share these ‘secrets’ with the rest of the world. It wants other companies to learn and benefit from the work it has done.

  • PHP in 2019

    Today I want to look at the bright side: let's focus on the things that have changed and ways to write clean and maintainable PHP code. I want to ask you to set aside any prejudice for just a few minutes. Afterwards you're free to think exactly the same about PHP as you did before. Though chances are you will be surprised by some of the improvements made to PHP in the last few years.

  • Unauthenticated Remote Code Execution on djangoci.com

    Yesterday the Django Security and Operations teams were made aware of a remote code execution vulnerability in the Django Software Foundation's Jenkins infrastructure, used to run tests on the Django code base for GitHub pull requests and release branches. In this blog post, the teams want to outline the course of events.

  • Git magic: split repository into two
  • 12 Most Popular Python Interview Questions You Must Prepare For
  • Pycon India 2019 is coming!

    They are currently accepting proposals for talks and workshops. For more details, check out the official Pycon India 2019 website.

More in Tux Machines

Games: Loria, Dota Underlords and Steam in China

  • Classic inspired RTS Loria is now available DRM-free on GOG

    If you're like me and you enjoy a good real-time strategy game, Loria is actually pretty good. It added Linux support on Steam earlier this year and now it's also available on GOG. While it's inspired by titles like Warcraft II, it's not just a retro RTS. There's a few RPG-like elements including hero units, item collection, quests and more.

  • The Underlords are actually coming to Dota Underlords, plus a new Duos mode

    Valve continue to push out changes rapidly to their auto-battler Dota Underlords, with some of their upcoming plans now being detailed in a fresh update. One big new feature planned to be available in a few weeks is a new Duos game mode. Valve say it's a new way to play cooperatively with a friend. You party up and battle against other teams and it will support both Casual and Ranked play. The actual Underlords are going to be making an appearance soon too. This feature Valve said they're "excited" about, as they're a "core part of the game". They haven't said how they will work but they will "add a layer of fun and strategy to every match" so I'm very curious to see what happens.

  • Steam for China Is Called 'Zhengpi Pingtai'

    The digital games service will be run almost entirely independent of Steam and by Valve's Chinese partner company Perfect World.

Samsung Galaxy Note 10 now links up with Windows and Mac PCs via supercharged DeX app

And there’s a big bonus here in the form of being able to drag-and-drop files directly from your phone to your PC, and vice versa. So you could take a photo from your Note 10 and whip it onto the PC to tweak it up in a proper heavyweight image editor, for example. Furthermore, as XDA Developers observes, Linux on DeX is available via the DeX app, allowing you to create a container and run an Ubuntu Linux image, giving you even more flexibility and options here. It’s not clear what Samsung intends to do in terms of giving users with older Galaxy handsets backwards compatibility, but at the moment, this is strictly a Galaxy Note 10-only affair, as mentioned. Finally, it’s worth noting that the app does warn that your phone might get hot running the DeX application, although exactly how hot likely depends on what you’ve got the hardware doing, of course. Read more

Android Leftovers

today's leftovers

  • Open Policy Agent: Cloud-native security and compliance

    Every product or service has a unique way of handling policy and authorization: who-can-do-what and what-can-do-what. In the cloud-native world, authorization and policy are more complex than ever before. As the cloud-native ecosystem evolves, there’s a growing need for DevOps and DevSecOps teams to identify and address security and compliance issues earlier in development and deployment cycles. Businesses need to release software on the order of minutes (instead of months). For this to happen, those security and compliance policies—which in the past were written in PDFs or email—need to be checked and enforced by machines. That way, every few minutes when software goes out the door, it’s obeying all of the necessary policies. This problem was at the top of our minds when Teemu Koponen, Torin Sandall, and I founded the Open Policy Agent project (OPA) as a practical solution for the critical security and policy challenges of the cloud-native ecosystem. As the list of OPA’s successful integrations grows—thanks to active involvement by the open source community—the time is right to re-introduce OPA and offer a look at how it addresses business and policy pain points in varied contexts.

  • Eirini: Mapping Code into Containers

    There has been a lot of noise recently about the Project known as Eirini.  I wanted to dig into what this project was in a little more detail. If you weren’t already aware, its goal is to allow Cloud Foundry to use any scheduler but it’s really for allowing the workloads to run directly inside Kubernetes without needing separately scheduled Diego cells to run on top of. There are many reason that this is a fantastic change, but the first and foremost is that having a scheduler run inside another scheduler is begging for headaches. It works, but there are odd edge cases that lead to split-brain decisions. NOTE: There is another project (Quarks) that is working on containerizing the control plane in a way that the entire platform is more portable and requiring significantly less overhead. (As in: you can run Kubernetes, the entire platform, and some work, all on your laptop)  

  • Wayland Buddies | LINUX Unplugged 315

    We spend our weekend with Wayland, discover new apps to try, tricks to share, and dig into the state of the project. Plus System76's new software release, and Fedora's big decision.

  • Kdenlive 19.08 Released with Clip Speed, Project Bin Improvements

    Busy trying to salvage footage from a recent video shoot, I missed the arrival of Kdenlive 19.08, the first major release of this free video editor since its big code revamp earlier this year. And what a release it is! Kdenlive 19.08 builds on the terrific work featured in the various point releases that have been available since April. “This version comes with a big amount of fixes and nifty new features which will lay the groundwork for the 3 point editing system planned for this cycle,” they say in their release announcement. Now, 3-point editing isn’t my bag (if you’re a heavy keyboard user, you might want to look into it) so I’m gonna skip that side of things to highlight a couple of other welcome changes to the project bin.

  • LabPlot's Welcome screen and Dataset feature in the finish line

    Hello Everyone! This year's GSoC is coming to its end. Therefore I think that I should let you know what's been done since my last blog post. I would also like to evaluate the progress I managed to make and the goals set up at the beginning of this project. As I told you in my last post, my main goal, in this last period, was to clean up, properly document, refactor, optimise the code and make it easier to read, so it would be fit to be brought to the master branch and to be used by the community. My next proposition was to search for bugs and fix them, in order to make the implemented features more or less flawless. I can happily state, that I succeeded in this.

  • Distributed Beta Testing Platforms

    Do they exist? Especially as free software? I don’t actually know, but I’ve never seen a free software project use something like what I’ve got in mind. That would be: a website where we could add any number of test scenarios. People who wanted to help would get an account, make a profile with their hardware and OS listed. And then a couple of weeks before we make a release, we’d release a beta, and the beta testers would login and get randomly one of the test scenarios to test and report on. We’d match the tests to OS and hardware, and for some tests, probably try to get the test executed by multiple testers. Frequent participation would lead to badges or something playful like that, they would be able to browse tests, add comments and interact — and we, as developers, we’d get feedback. So many tests executed, so many reported failure or regressions, and we’d be able to improve before the release.

  • GSoC 2019 Final submission

    Since my last blog post the main merge request of my GSoC project has landed and after that I followed up with subsequent bugfixes and also a couple of enhancements to the savestates manager.

  • LXLE 18.04.3 Beta Run Through

    In this video, we are looking at LXLE 18.04.3 Beta.

  • Fedora Update Weeks 31–32

    The branch point also meant that the Change Code Complete deadline was passed. As part of the Go SIG, I was one of the packagers behind the Adopt new Go Packaging Guidelines Change. As mentioned in the last post, this was mostly handled by @eclipseo and the tracker bug was marked complete for it just earlier. I am also behind the Automatic R runtime dependencies Change. As part of this Change, I initiated a mini-rebuild last week of all affected R packages. I will write about that in a separate post. That tracker bug is now Code Complete, though there are a couple FTBFS to fix up. With release monitoring working again, that meant a slew of new bug reports about new package versions being available. This happened just last Friday, so I haven’t had much chance to update everything. I did manage to go through almost all the R packages, except for a few with new dependencies. I also updated one or two Go and Python packages as well.

  • Rugged, Kaby Lake-U based IoT gateway offers Linux BSP

    Axiomtek’s Linux-ready, DIN-rail mounted “ICO500-518” IoT gateway runs on 7th Gen Core U-series CPUs and provides swappable SATA, 4x USB 3.0, 2x GbE, 2x mini-PCIe, and 2x “PIM” slots for options including 8x GbE or isolated serial and CANBus. Axiomtek announced a compact modular edge gateway with ruggedization features for industrial IoT. Applications for the Intel 7th Gen Kaby Lake-U based ICO500-518 include transportation, public utility, smart building, solar energy, and factory automation.

  • 5 Reasons to Use a VM for Development [Ed: Dice promoting the idea that developers should use Windows and keep GNU/Linux in a VM jail using Microsoft's proprietary tools]

    I started using virtual machines (VMs) on my development PC about six years ago; I was keen to learn Linux, having been a Windows developer since the mid-1990s. At first, I used an old Windows PC and installed a Linux distro on it; but I quickly found out that the distro took up a lot of space, and I needed a KVM switch to manage two different PCs. It was all a bit “fiddly,” which is why I began exploring the potential of VMs. Discovering VirtualBox was a godsend, and made things a lot more convenient. Despite all the flak Oracle gets over its databases, MySQL, and Java, Virtual Box remains an excellent and free open-source package.