French Opensource Advocate and Python Pragmatic Programmer (P³)
56 stories
·
0 followers

Comment apprendre plus rapidement ?

2 Shares

Ce n'est pas toujours facile d'apprendre de nouvelles choses, surtout quand on est toujours très occupé ou sans cesse dérangé. Heureusement, il existe quelques techniques simples mises en lumière par ASAP Science qui permettent de fixer une information dans votre mémoire de manière plus efficace et rapide.

En ce qui me concerne, je sais que quand j'étais étudiant, ce qui fonctionnait pour moi, c'était de prendre des notes, mais aussi de les relire le soir avant de m'endormir. Et pour le bac, comme c'était trop le bordel de reprendre tous mes cours de l'année, j'ai révisé en m'aidant uniquement d'un "ABC du BAC tout-en-un" + un max d'exo pratiques. Ce qu'il faut essayer de déterminer surtout, c'est la méthode qui vous convient le mieux, car certaines personnes sont plus visuelles ou plus auditives que d'autres.

Pour compléter cette vidéo, je vous ai aussi dégoté une infographie sympa qui reprend un peu tout ça et qui y ajoute un peu d'exercice physique afin de répondre à l'adage "Un esprit sain dans un corps sain".

Source

Cet article merveilleux et sans aucun égal intitulé : Comment apprendre plus rapidement ? ; a été publié sur Korben, le seul site qui t'aime plus fort que tes parents.

Read the whole story
encolpe
18 days ago
reply
Lyon, France
Share this story
Delete

TLS Authentication on Freenode and OFTC

1 Share

In order to easily authenticate with IRC networks such as OFTC and Freenode, it is possible to use client TLS certificates (also known as SSL certificates). In fact, it turns out that it's very easy to setup both on irssi and on znc.

Generate your TLS certificate

On a machine with good entropy, run the following command to create a keypair that will last for 10 years:

openssl req -nodes -newkey rsa:2048 -keyout user.pem -x509 -days 3650 -out user.pem -subj "/CN=<your nick>"

Then extract your key fingerprint using this command:

openssl x509 -sha1 -noout -fingerprint -in user.pem | sed -e 's/^.*=//;s/://g'

Share your fingerprints with NickServ

On each IRC network, do this:

/msg NickServ IDENTIFY Password1!
/msg NickServ CERT ADD <your fingerprint>

in order to add your fingerprint to the access control list.

Configure ZNC

To configure znc, start by putting the key in the right place:

cp user.pem ~/.znc/users/<your nick>/networks/oftc/moddata/cert/

and then enable the built-in cert plugin for each network in ~/.znc/configs/znc.conf:

<Network oftc>
    ...
            LoadModule = cert
    ...
</Network>
    <Network freenode>
    ...
            LoadModule = cert
    ...
</Network>

Configure irssi

For irssi, do the same thing but put the cert in ~/.irssi/user.pem and then change the OFTC entry in ~/.irssi/config to look like this:

{
  address = "irc.oftc.net";
  chatnet = "OFTC";
  port = "6697";
  use_tls = "yes";
  tls_cert = "~/.irssi/user.pem";
  tls_verify = "yes";
  autoconnect = "yes";
}

and the Freenode one to look like this:

{
  address = "chat.freenode.net";
  chatnet = "Freenode";
  port = "7000";
  use_tls = "yes";
  tls_cert = "~/.irssi/user.pem";
  tls_verify = "yes";
  autoconnect = "yes";
}

That's it. That's all you need to replace password authentication with a much stronger alternative.

Read the whole story
encolpe
41 days ago
reply
Lyon, France
Share this story
Delete

A laptop by KDE

1 Share

Earlier this year we announced a joint venture between KDE and Slimbook that we named the KDE Slimbook.

Last Akademy we had the opportunity to meet the Slimbook team and discuss its purpose and future. I’m quite happy about the discussions, here’s my feedback.

Why?

Before talking about future stuff, let us to set the context.

Personally, this has been a long-standing pet-peeve of mine. We create software solutions for virtual hardware specifications. We require our users to go the extra mile by replacing the manufacturer’s operating system, often with some annoyances because their hardware isn’t properly supported. This is not necessarily our fault, but most of us agree that we should improve this situation.

On the software side of things, while it’s our area of expertise, we are still far from being able to deliver the product we would like to give. Our ecosystem is still complex and our users have to take several decisions, some of dubious nature.

Hence, I started pushing for this project with some colleagues from KDE.

Where are we?

As discussed in the Akademy presentation, the project worked reasonably well. Devices were delivered and the KDE community does see value in the project.

We have reached a point where we understand the value of the initiative and understand the environment much better. We are happy with the results so far and we see room for improvement; both in the task we do to make a better device as well as in defining the product.

Future

I want to see the project moving forward and I will keep working towards better cohesion between hardware vendors and KDE. In the future, I would like to see the devices that we see available, especially when it comes to different use cases, and therefore form factors.

I don’t think it makes sense that we continue doing it just to do so. There is a good deal of hardware vendors that will offer devices with good setups. Most of them they will even offer you these laptops with KDE on them upon demand. If we put our effort in such projects, it needs to be because we are making something special.

Let’s not get ahead of ourselves. One step at a time. Let’s continue to provide good solutions by staying simple by default but powerful when needed.

Read the whole story
encolpe
71 days ago
reply
Lyon, France
Share this story
Delete

Mozilla Common Voice : vers une reconnaissance vocale libre

1 Share

La fondation Mozilla a discrètement lancé le projet Common Voice, qui a pour objectif de fournir une base de données de voix à destination des développeurs de logiciels de reconnaissance vocale. D'ici la fin de l'année, la base de données sera mise à disposition de la communauté sous licence CC-0, et pourra être utilisée par les développeurs pour entraîner leurs logiciels de reconnaissance vocale.

Il est actuellement possible de participer depuis le web, en lisant des phrases en anglais et en indiquant son accent, son âge et son genre pour enrichir la base de données. Des applications sont déjà en cours de développement pour les appareils mobiles et devraient être disponibles prochainement. Pour ceux qui ne parlent pas anglais, il est aussi possible de contribuer au projet en produisant des phrases pertinentes et/ou du code dans github.

Lire les commentaires

Read the whole story
encolpe
79 days ago
reply
Lyon, France
Share this story
Delete

Le bon, la brute et le comptable

1 Share

Financé par la Commission européenne, "Le Bon, la Brute et le Comptable" est un jeu éducatif pour vous apprendre à reconnaitre les bidouilles utilisées au niveau local pour corrompre les élus et autres agents administratifs.

Reprenant les recettes de corruption du site Cooking Budgets, ce jeu vous demandera de faire des choix éthiques (ou non...) et vous informera sur les différents pièges avec un petit mémo à chaque fois très clair.

En fonction de votre jeu, vous augmenterez ou baisserez vos risques légaux, politiques, vous éveillerez la méfiance des industriels et deviendrez peut-être la cible des policiers anticorruptions avec mise en examen à la clé.

Tout ce que j'espère c'est que certains élus ne prendront pas ce jeu comme un outil de formation pour se gaver encore plus en pot de vin :-)))

Pour jouer, c'est par là.

Cet article merveilleux et sans aucun égal intitulé : Le bon, la brute et le comptable ; a été publié sur Korben, le seul site qui t'aime plus fort que tes parents.

Read the whole story
encolpe
205 days ago
reply
Lyon, France
Share this story
Delete

PyCharm: Webinar: “Why Postgres Should Be Your Document Database” with Jim Fulton, March 20

2 Shares

Python and database developers are increasingly interested in document storage and PostgreSQL has an increasingly-attractive story. Come explore Postgres as a document database in our free webinar:

  • Monday, March 20th
  • 16:00 European Time, 11AM Eastern Daylight Time
  • Register here

pycharm_webinar_w780

Did you know PostgreSQL excels at storing JSON documents? Known mostly for its mature SQL and data-at-scale infrastructure, the PostgreSQL project added a “JSONB” column type in its 9.4 release, then refined it over the next two releases. While using it is straightforward, combining it in hybrid structured/unstructured applications along with other facilities in the database can require skill.

In this webinar, Python and database consultant Jim Fulton shows us how to use JSONB and related machinery for pure and hybrid Python document-oriented applications. We’ll also briefly discuss his long history back to the start of Python, and finish with his unique NewtDB library for native Python objects coupled to JSONB queries.

Jim will use PyCharm Professional during the webinar. PyCharm Professional bundles the database tools from JetBrains DataGrip, our database IDE. However, the webinar itself is focused on the concepts of JSONB.

Speaking to you

Jim Fulton is the creator of Zope (the first open source application server) and ZODB, a pure-Python object database. Jim now works on NewtDB, which combines the ease of use of ZODB’s object with PostgreSQL’s JSONB to provide a hybrid object-oriented and document-oriented database. He also created and maintains the Buildout development and deployment tool. Jim has been a Python contributor and leader since 1994.

As an independent consultant, Jim works on architectures for large-scale Python and database projects, bringing decades of business experience for both.

Read the whole story
encolpe
227 days ago
reply
Lyon, France
miohtama
227 days ago
reply
Helsinki, Finland
Share this story
Delete
Next Page of Stories