Language Selection

English French German Italian Portuguese Spanish

ggarron's blog

Nginx vs Apache with APC and Varnish

Filed under
Linux

There are a lot of test and comparisons about Nginx vs Apache. And yes for static content because it is asynchronous, Nginx preforms better. What happens when you have PHP?

I have setup two servers with:

  • Apache + PHP + APC + Varnish
  • Nginx + PHP-FPM + APC + Varnish

Three good and useful Firefox add-ons

Filed under
Linux

One of the great things about Firefox is that the community can contribute to it with add-ons, some of the are really fantastic. There are a lot of them, so much, that is really difficult if not impossible to know all of them, here I present three of them to you.

Eight great Linux stories that made digg front page in 2007

Filed under
Linux

With 2007 ending, it start to appear reviews of the year everywhere, so this is my contribution to that.
I decided to pick up the best (at least for me) Digg front page stories about Linux in 2007

Solving "current dist not found in meta-release" error to upgrade to Gutsy

Filed under
Howtos

If you are getting these errors while upgrading to Gutsy Gibbon.

warning: could not initiate dbus
current dist not found in meta-release

Create a VPN with openVPN complete guide

Filed under
Howtos

Havin security as a constant issue, we all are always thinking in a good way to avoid people getting access to our passwords, and personal information.

Enable Syntax Color on vim

If you want to have you vim coloring your edited files according to its syntax, you can follow this instructions to have them enabled, read at:
Linux operating system

Upgrade Feisty Fawn to Gutsy Gibbon

Filed under
Howtos

You can now upgrade your Feisty Fawn to Gutsy Gibbon, and start testing this new Ubuntu release, How to upgrade from Feisty Fawn to Gutsy Gibbon

The power of Debian and Mandriva together on your PC

If you are a Linux Fan but could not decide which distro is the best for you, try to run two of them in a Dual Boot system, with both Distributions sharing the /home directory so you can have access to your files no matter which distro you boot.

Installing Beryl on Mandriva, really easy with screenshots

Filed under
Howtos

The easy way to install Beryl on the new Mandriva 2007 Spring, this guide with screenshots will show you how easy it is, you will not even need to use any console command.

How (Beryl and Compiz) are helping Linux

Filed under
Linux

Composite project is helping Linux in gaining more users, specially those trying to view the 3D effects using XP (they can't) or Vista (Linux does better with less)
read the post here, at Linux Operating System

Sharing files between Feisty and Windows

Filed under
Howtos

This How To, describe how to configure in a simple way a samba server on your Feisty Fawn, (could be used for other distros) to share files with windows. Samba on Feisty Fawn

backing up your mysql database using your browser -with php-

Filed under
Howtos

Hi,

As I wanted to back up my mysql database on a server where I do not have ssh access only ftp, I made this way to do it, there surely be some better ways, if so I will be glad to know about them, but until that this is working for me.

Backing up your MySQL from web browser using php

Which Distro to choose? - Comparison -(Not a Debian vs Ubuntu vs Fedora vs Centos)

Filed under
Linux

This article compares four of the major distros, from an impartial point of view and try to show some of the facts that make them different, so you can read and choose which better suite your needs.
read it here

Centos 5.0 Released

Filed under
News

CentOS 5.0 the Linux distro based on RedHat has been released, few weeks later RedHat itself has been released.
The news for this version of Centos are among others:

Apache-2.2, kernel-2.6.18, Gnome-2.16, KDE-3.5, Compiz, AIGLX, MySQL-5.0, PostgreSQL-8.1, and much more

It has support for i386 and x86_64 platforms, on its 6 and 7 CDs respectively

Shell Script for Automatically create Apache2 Virtual Servers

Filed under
Howtos

This script permits you to automatically create Apache2, Virtual server, it creates the directory and the configuration files for the virtual server, useful if you need to create a lot of virtual servers, after this you just need to go to the virtual server directory and create the site itself.

read more here

New Ubuntu to be released by October (Gutsy Gibbon)

Filed under
News

Ubuntu 7.10 is going to be called Gutsy Gibbon, and will be release by October this year, today the project was introduced by Mark Shuttleworth, read more at Go2Linux.org

Guided Debian Etch installation (with screenshots)

Filed under
Howtos

The new Debian Etch has been released, here are the installation screenshots, with a step by step guided installation.

Read the complete article of Installing Debian Etch with screenshots

Debian Etch Stable released!!

Filed under
News

This is extracted from the Debian Site, we finally have Etch Stable released!!

Debian GNU/Linux 3.1 updated

Filed under
News

There is a new update for Debian/Sarge, this is security update only, the good new is that reading in lines, we can expect that the final release of Etch is really near, as the sarge is being moved to old stable.
read more

Puppy Linux 2.15 Community Editio released

Filed under
News

The Puppy 2.15CE (Community Edition) is the result of collaboration of a team of Puppy enthusiasts. It is built upon version 2.14 but with many enhancements. In particular the guys have worked on an improved user-interface and nice out-of-the box first impression.

Syndicate content

More in Tux Machines

Configuring Automatic Login and Lock Screen on Ubuntu 19.10

Whether it’s Linux or Windows, Ubuntu, or Fedora, I am not an ‘automatic’ type of guy. That is to say, and I don’t want my login automated, nor do I want my updates automatically installed. This preference directly results from over thirty years in Information Technology, prudence, habit, and experience. Plus, it’s just plain smart security sense. However, I further realize that as Linux users get younger and younger, I am increasingly in the minority in this sense. While I strongly disagree with automatic logins and updates, I can understand the desire for it. So, with that understanding, let’s go about the business of instituting automated logins in Ubuntu. We will also take the time to address the Ubuntu Lock Screen setting. Configuring automatic Ubuntu software updates is much more in-depth. We will discuss this in a separate dedicated article at a later date. Read more

Programming: Python, LLVM and Erlang

  • Sending Emails in Python — Tutorial with Code Examples

    What do you need to send an email with Python? Some basic programming and web knowledge along with the elementary Python skills. I assume you’ve already had a web app built with this language and now you need to extend its functionality with notifications or other emails sending. [...] Sending multiple emails to different recipients and making them personal is the special thing about emails in Python. To add several more recipients, you can just type their addresses in separated by a comma, add Cc and Bcc. But if you work with a bulk email sending, Python will save you with loops. One of the options is to create a database in a CSV format (we assume it is saved to the same folder as your Python script). We often see our names in transactional or even promotional examples. Here is how we can make it with Python.

  • Binning Data with Pandas qcut and cut

    When dealing with continuous numeric data, it is often helpful to bin the data into multiple buckets for further analysis. There are several different terms for binning including bucketing, discrete binning, discretization or quantization. Pandas supports these approaches using the cut and qcut functions. This article will briefly describe why you may want to bin your data and how to use the pandas functions to convert continuous data to a set of discrete buckets. Like many pandas functions, cut and qcut may seem simple but there is a lot of capability packed into those functions. Even for more experience users, I think you will learn a couple of tricks that will be useful for your own analysis. [...] The concept of breaking continuous values into discrete bins is relatively straightforward to understand and is a useful concept in real world analysis. Fortunately, pandas provides the cut and qcut functions to make this as simple or complex as you need it to be. I hope this article proves useful in understanding these pandas functions. Please feel free to comment below if you have any questions.

  • Analysing music habits with Spotify API and Python

    I’m using Spotify since 2013 as the main source of music, and back at that time the app automatically created a playlist for songs that I liked from artists’ radios. By innertion I’m still using the playlist to save songs that I like. As the playlist became a bit big and a bit old (6 years, huh), I’ve decided to try to analyze it.

  • Python IDEs and Code Editors

    A code editor is a tool that is used to write and edit code. They are usually lightweight and can be great for learning. However, once your program gets larger, you need to test and debug your code, that's where IDEs come in. An IDE (Integrated Development Environment) understand your code much better than a text editor. It usually provides features such as build automation, code linting, testing and debugging. This can significantly speed up your work. The downside is that IDEs can be complicated to use.

  • Announcing Anaconda Distribution 2019.10

    As there were some significant changes in the previous Anaconda Distribution 2019.07 installers, this release focuses on polishing up rough edges in that release and bringing all the packages up to date with the latest available in repo.anaconda.com. This means many key packages are updated including Numpy, Scipy, Scikit-Learn, Matplotlib, Pandas, Jupyter Notebook, and many more. As many of the package updates have addressed Common Vulnerabilities and Exposures (CVEs), it is important to update to the latest. Another key change since the last release is that Apple released macOS version 10.15 – Catalina. Unfortunately, this was a breaking release for previous versions of Anaconda that used the pkg installer. The Anaconda Distribution 2019.10 installers address the issues and should install without trouble on macOS Catalina. If you would rather repair your current Anaconda installation, please check out this blog post for tips.

  • Apple's Numbers and the All-in-One CSV export

    The hierarchical form requires a number of generator functions for Sheet-from-CSV, Table-from-CSV, and Row-from-CSV. Each of these works with a single underlying iterator over the source file and a fairly complex hand-off of state. If we only use the sheet iterator, the tables and rows are skipped. If we use the table within a sheet, the first table name comes from the header that started a sheet; the table names come from distinct headers until the sheet name changes. The table-within-sheet iteration is very tricky. The first table is a simple yield of information gathered by the sheet iterator. Any subsequent tables, however, may be based one one of two conditions: either no rows have been consumed, in which case the table iterator consumes (and ignores) rows; or, all the rows of the table have been consumed and the current row is another "sheet: table" header.

  • Formatting NFL data for doing data science with Python

    No matter what medium of content you consume these days (podcasts, articles, tweets, etc.), you'll probably come across some reference to data. Whether it's to back up a talking point or put a meta-view on how data is everywhere, data and its analysis are in high demand. As a programmer, I've found data science to be more comparable to wizardry than an exact science. I've coveted the ability to get ahold of raw data and glean something useful and concrete from it. What a useful talent!

  • Sony Pushes More AMD Jaguar Optimizations To Upstream LLVM 10 Compiler

    Sony engineers working on the PlayStation compiler toolchain continue upstreaming various improvements to the LLVM source tree for helping the AMD APUs powering their latest game console. Several times now we've pointed out Sony engineers contributing AMD "btver2" improvements to upstream LLVM with the company using LLVM/Clang as their default code compiler and the PlayStation 4 relying on a Jaguar APU.

  • [llvm-dev] GitHub Migration Schedule and Plans
    Hi,
    
    We're less than 2 weeks away from the developer meeting, so I wanted to
    give an update on the GitHub migration and what's (hopefully) going to
    happen during the developer meeting.
    
    Everyone who has added their information to the github-usernames.txt
    file in SVN before today should have received an invite to become a collaborator
    on the llvm-project repository.  If you did not receive an invite and think
    you should have, please contact me off-list.  I will continue to monitor the
    file for new updates and periodically send out new batches of invites.
    
    There is still some ongoing work to get the buildbots ready and the mailing lists
    ready, but we are optimistic that the work will be done in time.
    
    The team at GitHub has finished implementing the "Require Linear History"
    branch protection that we requested.  The feature is in beta and currently
    enabled in the llvm-project repository.  This means that we will have the
    option to commit directly via git, in addition to using the git-llvm script.
    A patch that updates git-llvm to push to git instead of svn can be found here:
    https://reviews.llvm.org/D67772.  You should be able to test it out on your
    own fork of the llvm-project repository.
    
    The current plan is to begin the final migration steps on the evening (PDT)
    of October 21.  Here is what will happen:
    
    1. Make SVN read-only.
    2. Turn-off the SVN->git update process.
    3. Commit the new git-llvm script directly to github.
    4. Grant all contributors write access to the repository.
    5. Email lists announcing that the migration is complete.
    
    Once the migration is complete, if you run into any issues, please file
    a bug, and mark it as a blocker for the github metabug PR39393.
    
    If you have any questions or think I am missing something, please
    let me know.
    
    Thanks,
    Tom
    
    
  • LLVM Plans To Switch From Its SVN To Git Workflow Next Week

    On 21 October they plan to make LLVM's SVN repository read-only and finish their git-llvm script to bring all the changes into Git, and then allow developers to begin contributing to the LLVM GitHub project as the new official source repository.

  • Excellent Free Books to Learn Erlang

    Erlang is a general-purpose, concurrent, declarative, functional programming language and runtime environment developed by Ericsson, a Swedish multinational provider of communications technology and services. Erlang is dynamically typed and has a pattern matching syntax. The language solves difficult problems inherent in parallel, concurrent environments. It uses sets of parallel supervised processes, not a single sequential process as found in most programming languages. Erlang was created in 1986 at the Ellemtel Telecommunication Systems Laboratories for telecommunication systems. The objective was to build a simple and efficient programming language resilient large-scale concurrent industrial applications. Besides telecommunication systems and applications and other large industrial real-time systems, Erlang is particularly suitable for servers for internet applications, e-commerce, and networked database applications. The versatility of the language is, in part, due to its extensive collection of libraries.

today's howtos

Kubernetes at SUSE and Red Hat

  • Eirinix: Writing Extensions for Eirini

    At the recent Cloud Foundry Summit EU in the Netherlands, Vlad Iovanov and Ettore Di Giacinto of SUSE presented a talk about Eirini — a project that allows the deployment and management of applications on Kubernetes using the Cloud Foundry Platform. They introduced eirinix — a framework that allows developers to extend Eirini. Eirinix is built from the Quarks codebase, which leverages Kubernetes Mutating Webhooks. With the flexibility of Kubernetes and Eirini’s architecture, developers can now build features around Eirini, like Persi support, access to the application via SSH, ASGs via Network Policies and more. In this talk, they explained how this can be done, and how everyone can start contributing to a rich ecosystem of extensions that will improve Eirini and the developer experience of Cloud Foundry.

  • Building an open ML platform with Red Hat OpenShift and Open Data Hub Project

    Unaddressed, these challenges impact the speed, efficiency and productivity of the highly valuable data science teams. This leads to frustration, lack of job satisfaction and ultimately the promise of AI/ML to the business is not redeemed. IT departments are being challenged to address the above. IT has to deliver a cloud-like experience to data scientists. That means a platform that offers freedom of choice, is easy to access, is fast and agile, scales on-demand and is resilient. The use of open source technologies will prevent lockin, and maintain long term strategic leverage over cost. In many ways, a similar dynamic has played out in the world of application development in the past few years that has led to microservices, the hybrid cloud and automation and agile processes. And IT has addressed this with containers, kubernetes and open hybrid cloud. So how does IT address this challenge in the world of AI – by learning from their own experiences in the world of application development and applying to the world of AI/ML. IT addresses the challenge by building an AI platform that is container based, that helps build AI/ML services with agile process that accelerates innovation and is built with the hybrid cloud in mind.

  • Launching OpenShift/Kubernetes Support for Solarflare Cloud Onload

    This is a guest post co-written by Solarflare, a Xilinx company. Miklos Reiter is Software Development Manager at Solarflare and leads the development of Solarflare’s Cloud Onload Operator. Zvonko Kaiser is Team Lead at Red Hat and leads the development of the Node Feature Discovery operator.