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

today's howtos

  • How to Install HTTP Git Server with Nginx on Ubuntu 20.04

    Git is a free and open-source versioning system developed by Linus Torvalds. It is used by millions of developers around the world. GitHub also offers free code hosting service. However, the free service doesn’t allow private hosting of the code. In this case, you can host your own code hosting server with Git HTTP server. This will give you full control on the server. In this tutorial, we will show you how to install and configure Git HTTP server with Nginx on Ubuntu 20.04.

  • How To Install Virtualmin on Ubuntu 20.04 LTS - idroot

    In this tutorial, we will show you how to install Virtualmin on Ubuntu 20.04 LTS. For those of you who didn’t know, Virtualmin is a powerful and flexible web hosting control panel for Linux and BSD systems. With Virtualmin, you will be able to manage Apache, Nginx, PHP, DNS, MySQL, PostgreSQL, mailboxes, FTP, SSH, SSL, Subversion/Git repositories, and many more. This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo‘ to the commands to get root privileges. I will show you through the step by step installation of Virtualmin on Ubuntu 20.04 (Focal Fossa). You can follow the same instructions for Ubuntu 18.04, 16.04, and any other Debian based distribution like Linux Mint.

  • How To Use A Keyboard Shortcut To Toggle Always On Top On GNOME, KDE, MATE, Xfce and Cinnamon Desktops

    This article shows how to use a keyboard shortcut to set a window to be always on top, on GNOME, MATE, Xfce, Cinnamon and KDE Plasma desktops, as well as a generic shortcut that works with any EWMH/NetWM compatible X Window Manager (so this generic solution doesn't work on Wayland).

  • How to Check What GPU You Have

    If you have Linux, there are several ways to check the GPU it uses. Take a look at them in the next section.

  • How to install Go [golang] on Ubuntu Linux - nixCraft

    How do I install Golang on Ubuntu Linux for developing apps in Go? Go programming language (also known as “Golang”) originated at Google by Ken Thompson, Rob Pike, and others.

  • How to Install Node.js on Ubuntu 20.10 & 19.10 – TecAdmin

    Node.js is the popular language for frontend programming. A number of JavaScript frameworks available for quick build mobile and web application development. NVM is a Node Version Manager tool. Using the NVM utility, you can install multiple node.js versions on a single system. You can also choose a specific Node version for applications. This tutorial described you to how to install node.js on Ubuntu 20.10 and 19.10 system using NVM.

  • Linux ip Command Examples For Sysadmins and Developers

Stable Kernels: 5.9.12, 5.4.81, 4.19.161, 4.14.210, 4.9.247 and 4.4.247

I'm announcing the release of the 5.9.12 kernel.

All users of the 5.9 kernel series must upgrade.

The updated 5.9.y git tree can be found at:
	git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.9.y
and can be browsed at the normal kernel.org git web browser:
	https://git.kernel.org/?p=linux/kernel/git/stable/linux-s...

thanks,

greg k-h
Read more Also: Linux 5.4.81 Linux 4.19.161 Linux 4.14.210 Linux 4.9.247 Linux 4.4.247

Now and Then: The Fate of 15 More Linux Distributions

A typical desktop Linux distribution consists of various software components including the Linux kernel, a broad collection of programming tools produced by the GNU Project, a graphical server, and other free and open source software. Due to Linux’s open source nature, there are many hundreds of actively maintained distributions or ‘distros’ of the OS. Linux distros are like Linux software in general. They come and (some) go. A few weeks ago we carried an article which tracked Linux distributions placed in the top 15 in 2006 on Distrowatch’s page hit ranking. The article proved popular, in part because it stoked controversy about the relevancy of the page hit ranking. We don’t use their hit ranking as a gauge of the popularity or usage of a specific distribution. But neither is there any evidence to show the page hit ranking is rigged. Instead, the hit ranking acts as a rough barometer of which distributions are attracting interest. Read more

Multi-touch Gestures in elementary OS 6

One of the most hotly requested features for years has been to have multi-touch gestures in elementary OS, and with 6.0 I’m excited to say that we will deliver. Like the dark style preference, delivering a great multi-touch experience is a little more complicated than it seems on the surface. There have been some 3rd party tools to detect touchpad gestures and then trigger actions after-the-fact, but it wasn’t until recently that we’ve had the technical ability to provide smooth, responsive animations that track 1:1 with your finger movement across a touchpad or touch screen. We’ve had the great pleasure of working with José Expósito, the author of Touchégg, on our window manager gestures. In elementary OS 6, we use Touchégg Daemon behind the scenes to capture input events and communicate them to Gala, our window manager. Read more Also: elementary OS 6 to get great looking multi-touch gestures