Autonomie numérique et technologique

Code et idées pour un internet distribué

Linkothèque. Carnet de bord. Page 3


en el caso de que se estén empleando plugins para el desarrollo de una solución WordPress que no sean compatibles con WPML, por ejemplo PODS, una solución interesante, es duplicar el mismo post o tipo de contenido, que ha sido creado con elementos del plugin incompatible y aprovechar cada versión para cada uno de los idiomas que hemos configurado para nuestro sitio, diferenciando cada post con una nomenclatura, por ejemplo con el diminutivo (_en, _es, _fr) del idioma en el slug o (-EN, -ES, -FR) en el nombre del mismo.

Para que luego WordPress distnga cual de esos bloques o contenidos pertenece al idioma concreto, utilizamos la constante ICL_LANGUAGE_CODE, definida por WPML, que se pueden emplear como parte del nuestro tema, para poder invocar el contenido de un post u otro en dependencia del idioma actual con el que se está navegando en nuestro sitio, idioma almacenado en la constante antes mencionada.

De esta manera un ejemplo podría ser:

if (ICL_LANGUAGE_CODE == 'en')

We can cycle through the reproduction modes by pressing the m key. The modes define the range of song which are considered in the library view. When using the all from library mode, all the song in the library will be considered. In the artist from library mode the player will consider only the songs in the library which belongs to the same artist of the song which is currently playing. Finally, in the album from library mode, the player will only consider the songs belonging to the same album of the one currently in reproduction.

If the C function is active, as in our case, when cmus finishes reproducing the currently playing song, it will automatically start playing the next one in the list. To toggle this functionality we must press shift+c.

If the R function is active cmus will start again reproducing the group of songs we selected once it reaches the end of the list. For example, if we are using the artist from library mode, once all the songs of the artist are played, the player will start reproducing the artist’s collection from the start. For this function to be effective the C function must also be active. When the S function is active, the player is in shuffle mode, so it will choose random tracks from the library.

When the F function is active the player will always automatically select the current playing song on the list. To be more clear, suppose we have the C function enabled: when the player finishes playing the currently selected song it will start playing the next in the list, but, by default, it will not “select” it (it will not highlight it with the “selection bar”). When the F function is enabled, instead, the two things will always be in sync, and the song currently in reproduction will always be selected automatically.

They use the term « open source » incorrectly and provide design files that are a mix of open source licensed files along with other design files that are under a restrictive license.

OpenDesk.cc has also started restricting access to their design files so that they are only given out by request.

I have collected a list of their designs here, with notes indicating whether they fall under a free/libre license. A local copy of the free/libre design files are provided for convenience here.

¿De dónde sale el apodo de “Animal”?

En mi tercer concierto con los Enemigos íbamos de Zaragoza a Alicante y llegábamos tarde… muy tarde, como pasaba por aquel entonces, era el año 89. Íbamos en la furgoneta, entramos por las calles de Alicante para llegar al garito donde íbamos a tocar y de repente llegamos a una calle muy estrecha de sentido único. Había un R5 aparcado con el culo muy despegado de la acera y no cabíamos, la furgoneta no pasaba, no había forma… El road manager pitando y pitando y allí no salía nadie, y nosotros con una prisa que no veas, agobiados. Total que dije: “yo lo aparto…” me bajé de la furgoneta, cogí el coche por la parte trasera y apoyando la espalda en el cristal con las manos por el paso de rueda de atrás lo llevanté y lo metí en su sitio. Hay que decir que eso lleva una técnica… yo tenía un R5 y solía hacer eso cuando me quedaba mal aparcado, con lo cual ya sabía como hacerlo; no fue cosa del momento. Cuando entré en la furgoneta todos estaban callados mirándome, petrificados de lo que acababan de ver. Llegamos a tiempo a la sala, tocamos y todo salió bien. El viernes siguiente a aquella actuación, creo que fue, hicimos el programa ‘Música Golfa’ de Paco Pérez Bryan de TVE. Nos presentaba él mismo y Paco estaba hablando con Josele sobre el nuevo disco, la nueva incorporación que era el batería y le preguntó como se llamaba… y Josele le dijo: “Animal”. Curiosamente “Animal” era el apodo de un fotógrafo barbudo, con gafas y pelo largo que salía en la serie ‘Lou Grant’ de los años 80 y a mí aquel apodo me encantaba. Pero claro, el problema es que los apodos no los eliges tú, te los ponen logicamente… resulta que años después estoy tocando con Los Enemigos y Josele me presenta en pleno concierto como “Animal” así que a partir de ahí fui “Animal” y lo sigo siendo…

The json() method of the Response interface takes a Response stream and reads it to completion. It returns a promise which resolves with the result of parsing the body text as JSON.

const myList = document.querySelector("ul");
const myRequest = new Request("products.json");

fetch(myRequest)
  .then((response) => response.json())
  .then((data) => {
    for (const product of data.products) {
      const listItem = document.createElement("li"); 
      listItem.appendChild(document.createElement("strong")).textContent = product.Name; 
      listItem.append(` can be found in ${product.Location}. Cost: `); 
      listItem.appendChild(document.createElement("strong")).textContent = `£${product.Price}`; 
      myList.appendChild(listItem);
    }
  })
  .catch(console.error);

The Function.prototype.bind() method lets you establish a fixed this context for all subsequent calls — bypassing problems where it’s unclear what this will be, depending on the context from which your function was called. Note, however, that you’ll need to keep a reference to the listener around so you can remove it later.

class Something {
  name = "Something Good";
  constructor(element) {
    // bind causes a fixed `this` context to be assigned to `onclick2`
    this.onclick2 = this.onclick2.bind(this);
    element.addEventListener("click", this.onclick1, false);
    element.addEventListener("click", this.onclick2, false); // Trick
  }
  onclick1(event) {
    console.log(this.name); // undefined, as `this` is the element
  }
  onclick2(event) {
    console.log(this.name); // 'Something Good', as `this` is bound to the Something instance
  }
}

const s = new Something(document.body);

Dans ma famille, il y a un type qui s’appelle Jean-François. Il a 80 ans mais ne les fait pas. J’ai toujours bien aimé le regarder parce qu’il est petit, rond, avec une longue barbe, il ressemble à un personnage de conte de fées. Et puis, il est assez poétique. Il accorde les pianos, travaille le bois, fabrique des meubles, répare des trucs, construit des objets très délicats, comme de petits acrobates en cordes et baguettes qui font de très gracieux mouvements. Dans la famille, on le considère un peu comme un original parce qu’il dit des trucs un peu bizarres parfois, qu’il fait des blagues qu’on ne comprend pas toujours, qu’il ne sait jamais qui est qui. Mais sous ses airs, non seulement il est très habile de ses mains, mais il sait plein de choses, il est toujours au courant de l’actu, il a élevé quatre enfants, il conduit une voiture qui a l’air presque neuve. Bref, Jean-François, il n’a pas l’air très empêché dans la vie.

Et pourtant, il vit complètement en dehors du monde numérique, et même de l’informatique la plus basique. Ca, je l’ai appris dernièrement, au hasard d’une discussion. Au début, ça m’a juste fait marrer, mais ça m’a trotté dans la tête pendant quelques mois. Je me suis dit qu’en parler avec lui, ce serait peut-être le moyen de comprendre plein choses. Déjà, comment on peut vivre aujourd’hui sans internet, sans smartphone ? Mais ce qui m’intéresse aussi, c’est de comprendre pourquoi il vit comme ça ? Manifestement, dans son cas, ce n’est pas un problème économique. Est-ce que c’est un choix ? Est-ce qu’il a décroché un moment et n’a plus été capable de raccrocher les wagons ? Est-ce que ça l’angoisse ? Est-ce qu’il a l’impression de comprendre encore le monde dans lequel il vit ?

# Python3 code to demonstrate working of 
# Append suffix / prefix to strings in list 
# Using list comprehension + "+" operator 
 
# initializing list 
test_list = ['a', 'b', 'c', 'd'] 
 
# printing list 
print("The original list : " + str(test_list)) 
 
# initializing append_str 
append_str = 'gfg'
 
# Append suffix / prefix to strings in list 
pre_res = [append_str + sub for sub in test_list] 
suf_res = [sub + append_str for sub in test_list] 
 
# Printing result 
print("list after prefix addition : " + str(pre_res)) 
print("list after suffix addition : " + str(suf_res)) 
Page de La dernière reine

Jean-Marc Rochette explique : « On m’a reproché de faire des histoires virilistes, sans femme ou presque. C’est faux : dans Ailefroide, ma mère, une femme forte, et ma grand-mère sont présentes. Là, j’ai mis au cœur de La dernière reine une femme comme moteur. Dans ce récit, il s’agit d’ailleurs d’un homme sauvé par une femme. Edmond Roux n’existe pas sans elle. Dans les scènes d’amour, c’est une vision inverse des codes habituels de la sexualité qui est présentée. C’est Jeanne qui ausculte Edmond, qui lui demande de se déshabiller, qui lui dit qu’elle le trouve beau et qu’il a un corps magnifique. Elle commence d’ailleurs par soulever le voile qu’il porte pour dissimuler son visage abîmé. C’est d’une sensualité folle. Mais je ne l’ai vue qu’après avoir dessiné. »

Détail de la couverture de La dernière reine

Gueule cassée de 14, Édouard Roux trouve refuge dans l’atelier de la sculptrice animalière Jeanne Sauvage. Elle lui redonne un visage et l’introduit dans le milieu des artistes de Montmartre. En échange, Édouard lui fait découvrir la majesté du plateau du Vercors et l’histoire du dernier ours qu’il a vu tué quand il était enfant. Au cœur du Cirque d’Archiane, il lui dévoile la Dernière Reine et incite Jeanne a créer le chef d’œuvre qui la fera reconnaître.
Dans la veine des grands romans feuilletons du 19e, La Dernière Reine croise les destins du dernier ours du Vercors et d’Édouard Roux gueule cassée de 14.
Comme précédemment dans Le Loup, homme et animal se confrontent dans un récit puissant, mêlant questionnements écologiques, féminisme, histoire d’amour et histoire de l’art.

The Circuit Bending Wiki is an ongoing community project, intended to serve as a central place for circuit benders, hardware modders, and keyboard enthusiasts to share information in a way that is collaborative and easy-to-use.

Generally, if its useful to circuit benders, it belongs here.

More specifically: Personal build notes, bend points and diagrams, device documentation (like service manuals, IC info, device specs, etc.), tutorials from defunct sites & blogs…

Basically, we’re trying to compile as much practical info as we can, new and old. We’d like to use this Wiki to archive existing info, while also encouraging users to contribute their own original content, and share their findings.

« Anatomie d’une chute » revisite le film de procès – procès qui va déterminer la vérité, non seulement sur une mort, mais aussi sur un couple.

Email is an essential service in every business, and the effect of a company losing control over their email service is devastating, even if the company has merged or shut down. Sensitive information and documents are often exchanged over emails between clients, colleagues, vendors and service providers due to the convenience. Consequently, if a bad actor takes control of an entire business’s email service, sensitive information can end up in wrong hands.

Practitioners of “race change to another,” or RCTA, purport to be able to manifest physical changes in their appearance and even their genetics to truly become a different race.

Practitioners of what they call “race change to another,” or RCTA, purport to be able to manifest physical changes in their appearance and even their genetics to become a different race. They tune in to subliminal videos that claim can give them an “East Asian appearance” or “Korean DNA.”

Experts agree race is not genetic. But they contend that even though race is a cultural construct, it is impossible to change your race because of the systemic inequalities inherent to being born into a certain race.

David Freund, a historian of race and politics and an associate professor at the University of Maryland, College Park, corroborates the idea that a “biological race” does not exist. What we know today as “race” is a combination of inherited characteristics and cultural traditions passed down through generations, he said.

A transracial person is one who identifies as a different race than the one associated with their biological ancestry. They may adjust their appearance to make themselves look more like that race, and may participate in activities associated with that race. Use of the word transracial to describe this is new and has been criticized, because the word was historically used to describe a person raised by adoptive parents of a different ethnic or racial background, such as a Black child adopted and raised by a White couple.

Characterized by shared, self-managed access to food, housing, and basic conditions for a creative life, the commons are essential for communities to flourish and protect spaces of collective autonomy from capitalist encroachment. In a narrative spanning more than three centuries, Against the Commons: A Radical History of Urban Planning (University of Minnesota Press, 2022) provides a radical counter history of urban planning that explores how capitalism and spatial politics have evolved to address this challenge. Highlighting episodes from preindustrial England, New York City and Chicago between the 1850s and the early 1900s, Weimar-era Berlin, and neoliberal Milan, Álvaro Sevilla-Buitrago shows how capitalist urbanization has eroded the egalitarian, convivial life-worlds around the commons.

In this episode, channel host Tayeba Batool talks with Dr. Álvaro Sevilla-Buitrago on the book’s argument about the ways through which urbanization shapes the social fabric of places and territories. The conversation touches upon the impact of planning and design initiatives on working-class communities and popular strata, and the various, multiple, and incremental modes of dispossession that are implicated in struggles over land, shared resources, public space, neighborhoods, creativity, and spatial imaginaries. We hear from Dr. Sevilla-Buitrago about the possibilities and alternates to a post-capitalist urban planning, one in which the structure of collective spaces is ultimately defined by the people who inhabit them.

Dr. Álvaro Sevilla-Buitrago is an Associate Professor of Urban Planning at the School of Architecture, Universidad Politécnica de Madrid. Tayeba Batool is a PhD Candidate in Anthropology at the University of Pennsylvania.

Lifehacker’s Australian site featured a post about icanhazip.com and traffic went through the roof. My little Slicehost instance was inundated and I quickly realized my Apache and Python setup was not going to work long term.

I migrated to nginx and set up nginx to answer the requests by itself and removed the Python scripts. The load on my small cloud instances came down quickly and I figured the issue would be resolved for a while.

Lanzada con poco bombo durante los primeros días de la pandemia, la serie de ocho capítulos DEVS es una de las ficciones de los últimos años con más posibilidades de convertirse en un futuro clásico de culto. Ambientada en un Silicon Valley crepuscular profundamente melancólico, esta historia del cineasta británico Alex Garland no trata directamente sobre la inteligencia artificial: su argumento traza una fábula sobre la computación cuántica, el destino frente al libre albedrío, y la posibilidad de reconstruir cada momento único de la experiencia humana. A Jorge Luis Borges probablemente le habría entusiasmado.

La historia se ha contado mil veces. Si tuviésemos que explicar los orígenes del ideario intelectual de la industria tecnológica –de lo que Richard Barbrook y Andy Cameron llamaron “la ideología californiana”– sus componentes fundamentales son el improbable encuentro hace seis décadas al sur de San Francisco entre hippies e ingenieros informáticos; entre una visión tecnocrática heredada del complejo industrial-militar de la guerra fría, y los deseos de emancipación colectiva y liberación de la consciencia de la contracultura. El legendario Whole Earth Catalog de Stewart Brand (la publicación seminal de la cultura digital), las propuestas del visionario arquitecto Buckminster Fuller, los experimentos de convivencia planteados en comunas como Drop City… fueron caldo de cultivo para emprendedores que como Steve Jobs imaginaron un futuro cercano en que el PC era tanto un acelerador de la eficiencia como una herramienta para la realización personal y la autonomía creativa. Una prótesis intelectual, una “bicicleta de la mente” que nos permitiría llegar a donde no seríamos capaces como especie exclusivamente biológica.

La industria tecnológica se sitúa hoy en su momento más existencial desde al menos los años 90, con la emergencia de la Internet comercial. El movimiento pro ética de la IA cree que los posibles riesgos del Deep Learning y las redes neuronales requieren de un desarrollo controlado y cuidadoso que permita su introducción paulatina en todos los aspectos de la vida cotidiana. Los aceleracionistas defienden que estos miedos son conservadores y que el inevitable desarrollo de la IA traerá consigo una nueva era de prosperidad humana y crecimiento, soluciones al cambio climático y a enfermedades incurables.

…antes que una herramienta de trascendencia espiritual la IA será otro sistema de concentración de poder en un mundo en desigualdad creciente, si no cambiamos algunas de sus reglas fundamentales.

Thousands of developers use Medusa’s open-source commerce modules and tools to build rich, reliable, and performant commerce applications without reinventing core commerce logic.

We build modularized commerce logic like carts, products, and order management and provide tools to orchestrate them for powerful ecommerce websites, POS applications, commerce-enabled products, and everything in between.

Our modules are incredibly portable and can run in modern JavaScript environments, unlocking new infrastructure for unparalleled scalability and performance, while bringing commerce enablement to new layers of your stack.

The problem of sustaining a public resource that everybody is free to overuse—the ‘tragedy of the commons’—emerges in many social dilemmas, such as our inability to sustain the global climate. Public goods experiments, which are used to study this type of problem, usually confirm that the collective benefit will not be produced. Because individuals and countries often participate in several social games simultaneously, the interaction of these games may provide a sophisticated way by which to maintain the public resource. Indirect reciprocity, ‘give and you shall receive’, is built on reputation and can sustain a high level of cooperation, as shown by game theorists. Here we show, through alternating rounds of public goods and indirect reciprocity games, that the need to maintain reputation for indirect reciprocity maintains contributions to the public good at an unexpectedly high level. But if rounds of indirect reciprocation are not expected, then contributions to the public good drop quickly to zero. Alternating the games leads to higher profits for all players. As reputation may be a currency that is valid in many social games, our approach could be used to test social dilemmas for their solubility.