Language Selection

English French German Italian Portuguese Spanish

Advertisement

Python Programming

Filed under
Advertisement
  • Which is better, Java or Python? And how?

    Blogs over the internet that are showcasing the comparison between Python and Java. But no one is giving a solid reason for “is python or java easier.” We all know that nowadays Python is competing with almost every programming language.

    Even it is also competing with the most robust programming language in the world. Yes, you are right, it is Java. Java is one of the best programming languages to create desktop applications. But it is also used in the field of data science. Therefore both of these programming languages are competing with each other in various industries. Before we dig into the comparison, let’s have a look at the overview of both of these languages.

  • Async Views in Django 3.1

    Writing asynchronous code gives you the ability to speed up your application with little effort. With Django 3.1 finally supporting async views, middleware, and tests, now's a great time to get them under your belt.

    This post looks at how to get started with Django's new asynchronous views.

  • PyBites: How to Run External Python Libraries in AWS Cloud

    AWS Lambda is awesome, but sometimes it can be hard to get external libraries working in this serverless environment.

    No worries, we learned a lesson or two which I will share in this article.

  • Taking Another Look at Plotly

    I’ve written quite a bit about visualization in python - partially because the landscape is always evolving. Plotly stands out as one of the tools that has undergone a significant amount of change since my first post in 2015. If you have not looked at using Plotly for python data visualization lately, you might want to take it for a spin. This article will discuss some of the most recent changes with Plotly, what the benefits are and why Plotly is worth considering for your data visualization needs.

  • PSF GSoC students blogs: Week 11 : Wrapping up!
  • PSF GSoC students blogs: GSoC: Week 12: Scanning docker
  • PSF GSoC students blogs: Weekly Blog #6 (9th Aug - 16th Aug)

Can You Use FreeBSD for a Developer Machine in 2020?

Filed under
Advertisement
BSD

I’ve been considering moving my blog back to a FreeBSD web server. I’d hosted it that way for years and recently switched it to a Linux machine so I could make Octopress work properly. It uses some old, outdated Ruby gems, and it just seemed easier.

But with a new redesign coming and a new Hugo back-end, I’ll be bringing my hosting machine back to FreeBSD.

I recently read FreeBSD is an amazing operating system, which got me thinking:

Can FreeBSD be a viable desktop operating system for developers in 2020?

Read more

Programming/Development: Minicoin, GNU Gengetop and Python

Filed under
Advertisement
  • Building and testing on multiple platforms – introducing minicoin

    While working with large-scale (thousands of hosts), distributed (globally) systems, one of my favourite, albeit somewhat gruesome, metaphors was that of “servers as cattle” vs “servers as pets”. Pet-servers are those we groom manually, we keep them alive, and we give them nice names by which to remember and call (ie ssh into) them. However, once you are dealing with hundreds of machines, manually managing their configuration is no longer an option. And once you have thousands of machines, something will break all the time, and you need to be able to provision new machines quickly, and automatically, without having to manually follow a list of complicated instructions.

    When working with such systems, we use configuration management systems such as CFEngine, Chef, Puppet, or Ansible, to automate the provisioning and configuration of machines. When working in the cloud, the entire machine definition becomes “infrastructure as code”. With these tools, servers become cattle which – so the rather unvegetarian idea – is simply “taken behind the barn and shot” when it doesn’t behave like it should. We can simply bring a new machine, or an entire environment, up by running the code that defines it. We can use the same code to bring production, development, and testing environments up, and we can look at the code to see exactly what the differences between those environments are. The tooling in this space is fairly complex, but even so there is little focus on developers writing native code targeting multiple platforms.

    For us as developers, the machine we write our code on is most likely a pet. Our primary workstation dying is the stuff for nightmares, and setting up a new machine will probably keep us busy for many days. But this amount of love and care is perhaps not required for those machines that we only need for checking whether our code builds and runs correctly. We don’t need our test machines to be around for a long time, and we want to know exactly how they are set up so that we can compare things. Applying the concepts from cloud computing and systems engineering to this problem lead me (back) to Vagrant, which is a popular tool to manage virtual machines locally and to share development environments.

  • GNU Gengetopt - News: 2.23 released

    New version (2.23) was released. Main changes were in build system, so please report any issues you notice.

  • Abolishing SyntaxError: invalid syntax ...

    Do you remember when you first started programming (possibly with Python) and encountered an error message that completely baffled you? For some reason, perhaps because you were required to complete a formal course or because you were naturally persistent, you didn't let such messages discourage you entirely and you persevered. And now, whenever you see such cryptic error messages, you can almost immediately decipher them and figure out what causes them and fix the problem.

  • Sending email with EZGmail and Python
  • Creating and Importing Modules in Python

Programming/Development: GNU Releases, Bash, Python and JavaScript

Filed under
Advertisement
GNU

Programming: VIM, Python, Knative, Glibc and GCC

Filed under
Advertisement

Learn Linux Kernel Device Drivers With Linux Foundation Instructor Bill Kerr

Filed under
Advertisement
Linux

Bill Kerr has taught Linux Foundation courses in Linux Kernel internals, debugging, device drivers and application development for many years. He helped write the original Linux Foundation Training course materials and has been working with UNIX kernels for 35 years.

Read more

8 Ways to Write a Better Linux SysAdmin Job Posting

Filed under
Advertisement
GNU
Linux

Linux system administrators are in high demand these days and many hiring managers say they're having a hard time finding talent to fill their open positions. It's critical, then, for companies seeking skilled admins to hone their recruiting process in order to stay competitive – and this starts with writing an effective job posting.

Unfortunately, many companies aren't hitting the mark. Job postings for sysadmin positions are largely similar; they’re boring and generic, according to New York City-based recruiter Steve Levy.

Read more

Sourceforge Hijacks the Nmap Sourceforge Account

Filed under
Advertisement
Development

Hi Folks! You may have already read the recent news about Sourceforge.net
hijacking the GIMP project account to distribute adware/malware.
Previously GIMP used this Sourceforge account to distribute their Windows
installer, but they quit after Sourceforge started tricking users with fake
download buttons which lead to malware rather than GIMP. Then Sourceforge
took over GIMP's account and began distributing a trojan installer which
tries to trick users into installing various malware and adware before
actually installing GIMP.

Read more

Slashdot Burying Stories About Slashdot Media Owned SourceForge

Filed under
Advertisement
Development

If you’ve followed any tech news aggregator in the past week, you’ve probably seen the story about how SourceForge is taking over admin accounts for existing projects and injecting adware in installers for packages like GIMP. For anyone not following the story, SourceForge has a long history of adware laden installers, but they used to be opt-in. It appears that the process is now mandatory for many projects.

People have been wary of SourceForge ever since they added a feature to allow projects to opt-in to adware bundling, but you could at least claim that projects are doing it by choice. But now that SourceForge is clearly being malicious, they’ve wiped out all of the user trust that was built up over sixteen years of operating. No clueful person is going to ever download something from SourceForge again. If search engines start penalizing SourceForge for distributing adware, they won’t even get traffic from people who haven’t seen this story, wiping out basically all of their value.

Read more

Syndicate content

More in Tux Machines

Games: Godot Engine, Lutris, XCOM, KeeperRL, Ampersat, Europa Universalis and More

  • X11 display server progress report

    I'm Camille, aka PouleyKetchoupp. I use Godot as an indie game developer (Nekomatata) and I've been a Godot contributor for a while (Github). Recently I was hired to work as a contractor on fixes and improvements for the Linux port of Godot 4. Most of the work was dedicated to fixing regressions due to the new Display Server used for window management, which allows support for multiple windows. I've also spent some extra time fixing old issues we had with X11 which required some refactoring in how the engine communicates with the X server. Some of them will be available in a later Godot 3.2 release as well. In this post I'm summarizing all the changes I've made in the X11 Display Server, in order to (hopefully) clarify how the X server works and how Godot communicates with it.

  • Godot Engine to get improved Linux support in the upcoming Godot 4 release | GamingOnLinux

    While the free and open source game engine Godot Engine already has Linux support, for both exported games and the full editor, it's set to get even better in Godot 4.0. In a blog post written by Camille Mohr-Daurat, they mentioned how they've been hired by the Godot team to work as a contractor on fixes and improvements for the Linux port of Godot. Camille Mohr-Daurat is an indie developer who actually uses Godot too at Nekomatata, where they created the unique ping-pong battler Punch Pong. So this is a real fun example of open source in action. Godot 4.0 will be coming with a new windowing system, so that you can separate parts of the Godot Engine editor from the main window. A lot of their work is focused on ensuring that works great on Linux with X11, which seems like there's a lot of work involved, because there's places where X11 doesn't have APIs to handle things where it does on other platforms like Windows and macOS - with drag and drop between windows being one mentioned example they've had to solve directly.

  • Lutris game launcher has a huge new Beta update out for testing | GamingOnLinux

    Lutris is the impressive all-in-one solution for managing games on Linux, bundling tons of sources of Linux releases from different stores under one roof as well as emulators, compatibility layers and more. Just recently on October 19 they put up the Beta of the new 0.5.8 release, and it includes some pretty huge changes and improvements all across the application. The way it actually works under the hood has been completely changed in many ways, along with the way you add games to it. Instead of manually importing games, it now attempts to sync up with your library across other stores like GOG, Humble and Steam. Adding games from the Lutris website using their scripts to set things up is also now in its own section, just called Lutris and it no longer depends on having install scripts for 3rd party services as Lutris will now run stuff with an "auto-generated" script but scripts on the Lutris database will take precedence if available

  • XCOM-ish combat and HOMM-styled world exploration Fort Triumph has a major update and sale | GamingOnLinux

    Possibly one of my favourite strategy game releases of 2020, Fort Triumph blends together XCOM styled combat with HOMM (Heroes of Might and Magic) exploration into quite a gem that doesn't take itself too seriously. What makes it fun is the environment interactions during battles, as you push rocks and drop trees onto enemies - it never gets old. It appears the team at CookieByte Entertainment have been busy too, with a huge free first post-release content upgrade out now. They've added in 27 new locations/events to the world map, and with some of these encounters you can add/remove traits from your heroes. Some of these encounters mix up the combat too, with some being unique Physics-only battles where you can only move around parts of the environment and not use normal abilities which sounds pretty hilarious.

  • KeeperRL, the open source dungeon building sim is getting a price bump in November | GamingOnLinux

    Fancy becoming a dungeon master? Well, if you're watching the pennies you might want to go and pick up KeeperRL before they price gets bumped up. This excellent open source building sim that mixes in RPG and roguelike elements has a lot to like about it, and it's been continually improved over 7 years now. Since it's had a lot added to it, and the developer has been working almost full time on it, they're going to be increasing the price from $14.99 to $20 on November 15. Plenty of notice if you were thinking about picking it up. Keep in mind they also said there will be no discounts planned until the big 1.0 release, so it's not going to be cheaper again any time soon.

  • Ampersat is an upcoming hack and slash shooter where everyone is ASCII | GamingOnLinux

    Mixing together ASCII characters and enemies, along with a full colour world, the hack and slash shooter Ampersat seems like a rather unique blend. A little weird too, with styles that usually clash and don't make sense together. You're the "at sign", the ampersat, and enemies are also these flat characters yet the world is 3D and full of colour. It looks bizarre but it works. Solo developer Gaterooze, Ink mentioned it was inspired by elements of Gauntlet and Smash TV to Zelda and a dash of Angband that "distils some favourite childhood gaming experiences into a fresh, fun hybrid that sees you killing a lot of monsters, finding a lot of loot, freeing captured letters and growing from a world-weary warrior mage into a powerful smashing/blasting machine".

  • Free copy of Europa Universalis II on GOG, with a huge Paradox Interactive sale going on | GamingOnLinux

    Paradox Interactive are celebrating the 20th anniversary of the Europa Universalis series so they're giving away Europa Universalis II and putting a bunch of other games on sale. For the free game, simply head to GOG.com and find the big banner. It doesn't support Linux like Paradox's later games, since it's a proper classic from way back in 2001 but you can try your luck with the Wine compatibility layer if you really want it.

  • Try the demo for Pyramid Plunge, a lighthearted platformer with a really odd couple | GamingOnLinux

    Ah yes, dangerous ancient pyramids with traps and deadly creatures, why not let a totally unprepared couple explore it? That's what you're doing in Pyramid Plunge as you run, carry your partner, fart to get airtime are more. The result is actually quite hilarious, mixing together challenging random generation with a sprinkle of comedy from the two wildly different characters that have a bit of banter between them like a true couple would. You don't see many platformers come along like this, what joy.

  • Proton: The Native Port Killer?

    The thrill surrounding the announcement of Street Fighter V coming to Linux was real. It was a few years after SteamOS was announced. After years of silence, fans started to doubt that this was becoming a reality. It wasn’t until two years after the initial release of Proton that Valve started to work with Capcom to try and make the Windows version compatible with Linux. Some people are still salty that it took this long to get here, and even more upset that this isn’t a native port. On the other hand, fans like myself are pleased that Valve/Capcom held to their word, even though they may have compromised a bit by making it Proton-compatible. The same goes for Rocket League. End-users like myself naturally get upset when delays happen, even though we don’t understand what it’s like to be on the developer’s side. Several months came and went after the original announcement, and finally the Mac and Linux versions of the game went live on Steam. Fast forward a few years later, and Psyonix decides to drop the ball for said versions, leaving it up to Proton to pick up the slack on Linux and bootcamp for Mac OS. Don’t even get me started on the fact that they basically abandoned support on Steam altogether in favor of the Epic Crap Store.

today's howtos

System76 Thelio Mega is a quad-GPU Linux desktop powered by Ryzen Threadripper

System76 began its life as a Linux computer seller only. Essentially, the company would sell re-branded laptops with Ubuntu pre-installed. To provide a class-leading experience, however, System76 also provided top-notch customer service, helping Linux beginners get started with a little hand-holding when needed. This focus on service continues today, and it is largely responsible for the company's success and longevity. Seeking to better control its own destiny, the company branched out from only being a computer-seller and transformed into a maker too. It's handcrafted Thelio desktops are powerful works of art, comprised of wood, metal, and good ol' fashioned American elbow grease. Yes, these Thelio machines are made in the USA -- Colorado, specifically. System76 has even created its own operating system -- the Ubuntu-based Pop!_OS, which has been very well received by the Linux community. This Linux distro will work on most computers -- not just Sytem76 machines. If you want vanilla Ubuntu, don't worry -- the company continues to offer that OS as an option when buying one of its computers. Read more

Sailfish OS: Shared mobile devices

The need for device sharing has become increasingly important for our partners. And it’s easy to understand why: imagine a scenario where a mobile device is required for executing certain actions during a business process. Each workstation has a mobile device and when a work shift changes the previous shift logs out of it and the new shift logs in. In this case the mobile device is more of a shared resource than a personal device. One of the major new features that we’re excited to have included in the latest 3.4 Pallas-Yllästunturi release is the ability to have multiple users on the same device that can be switched between in this way. For regular everyday use of Sailfish OS this doesn’t have any impact, the device owner (the primary user) works just as it used to. However, release 3.4 will have a new ‘defaultuser’ (devices flashed prior to 3.4.0 keep ‘nemo’ user, but it’s only the name that’s different). The new ‘defaultuser’ name is mostly visible behind the scenes for application developers; end users can ignore this detail. Read more