Mostrando entradas con la etiqueta Habitat. Mostrar todas las entradas
Mostrando entradas con la etiqueta Habitat. Mostrar todas las entradas

miércoles, 15 de junio de 2016

The Quest to Make Code Work Like Biology Just Took A Big Step

THE QUEST TO MAKE CODE WORK LIKE BIOLOGY JUST TOOK A BIG STEP


|Chef CTO Adam Jacob.CHRISTIE HEMM KLOK/WIRED
IN THE EARLY 1970s, at Silicon Valley’s Xerox PARC, Alan Kay envisioned computer software as something akin to a biological system, a vast collection of small cells that could communicate via simple messages. Each cell would perform its own discrete task. But in communicating with the rest, it would form a more complex whole. “This is an almost foolproof way of operating,” Kay once told me. Computer programmers could build something large by focusing on something small. That’s a simpler task, and in the end, the thing you build is stronger and more efficient. 

The result was a programming language called SmallTalk. Kay called it an object-oriented language—the “objects” were the cells—and it spawned so many of the languages that programmers use today, from Objective-C and Swiftwhich run all the apps on your Apple iPhone, to JavaGoogle’s language of choice on Android phones. Kay’s vision of code as biology is now the norm. It’s how the world’s programmers think about building software. 

In the ’70s, Alan Kay was a researcher at Xerox PARC, where he helped develop the notion of personal computing, the laptop, the now ubiquitous overlapping-window interface, and object-oriented programming.
COMPUTER HISTORY MUSEUM
But Kay’s big idea extends well beyond individual languages like Swift and Java. This is also how Google, Twitter, and other Internet giants now think about building and running their massive online services. The Google search engine isn’t software that runs on a single machine. Serving millions upon millions of people around the globe, it’s software that runs on thousands of machines spread across multiple computer data centers. Google runs this entire service like a biological system, as a vast collection of self-contained pieces that work in concert. It can readily spread those cells of code across all those machines, and when machines break—as they inevitably do—it can move code to new machines and keep the whole alive. 

Now, Adam Jacob wants to bring this notion to every other business on earth. Jacob is a bearded former comic-book-store clerk who, in the grand tradition of Alan Kay, views technology like a philosopher. He’s also the chief technology officer and co-founder of Chef, a Seattle company that has long helped businesses automate the operation of their online services through a techno-philosophy known as “DevOps.” Today, he and his company unveiled a new creation they call Habitat. Habitat is a way of packaging entire applications into something akin to Alan Kay’s biological cells, squeezing in not only the application code but everything needed to run, oversee, and update that code—all its “dependencies,” in programmer-speak. Then you can deploy hundreds or even thousands of these cells across a network of machines, and they will operate as a whole, with Habitat handling all the necessary communication between each cell. “With Habitat,” Jacob says, “all of the automation travels with the application itself.” 

That’s something that will at least capture the imagination of coders. And if it works, it will serve the rest of us too. If businesses push their services towards the biological ideal, then we, the people who use those services, will end up with technology that just works better—that coders can improve more easily and more quickly than before

Reduce, Reuse, Repackage 
Habitat is part of a much larger effort to remake any online business in the image of Google. Alex Polvi, CEO and founder of a startup called CoreOS, calls this movement GIFEE—or Google Infrastructure For Everyone Else—and it includes tools built by CoreOS as well as such companies as Docker and Mesosphere, not to mention Google itself. The goal: to create tools that more efficiently juggle software across the vast computer networks that drive the modern digital world. 

But Jacob seeks to shift this idea’s center of gravity. He wants to make it as easy as possible for businesses to run their existing applications in this enormously distributed manner. He wants businesses embrace this ideal even if they’re not willing to rebuild these applications or the computer platforms they run on. He aims to provide a way of wrapping any code—new or old—in an interface that can run on practically any machine. Rather than rebuilding your operation in the image of Google, Jacob says, you can simply repackage it. 

If what I want is an easier application to manage, why do I need to change the infrastructure for that application?” he says. It’s yet another extension of Alan Kay’s biological metaphor—as he himself will tell you. When I describe Habitat to Kay—now revered as one of the founding fathers of the PC, alongside so many other PARC researchers—he says it does what SmallTalk did so long go

Chef CTO Adam Jacob.CHRISTIE HEMM KLOK/WIRED
The Unknown Programmer 
Kay traces the origins of SmallTalk to his time in the Air Force. In 1961, he was stationed at Randolph Air Force Base near San Antonio, Texas, and he worked as a programmer, building software for a vacuum-tube computer called the Burroughs 220. In those days, computers didn’t have operating systems. No Apple iOS. No Windows. No Unix. And data didn’t come packaged in standard file formats. No .doc. No .xls. No .txt. But the Air Force needed a way of sending files between bases so that different machines could read them. Sometime before Kay arrived, another Air Force programmer—whose name is lost to history—cooked up a good way. 
This unnamed programmer—“almost certainly an enlisted man,” Kay says, “because officers didn’t program back then”—would put data on a magnetic-tape reel along with all the procedures needed to read that data. Then, he tacked on a simple interface—a few “pointers,” in programmer-speak—that allowed the machine to interact with those procedures. To read the data, all the machine needed to understand were the pointers—not a whole new way of doing things. In this way, someone like Kay could read the tape from any machine on any Air Force base. 

Kay’s programming objects worked in a similar way. Each did its own thing, but could communicate with the outside world through a simple interface. That meant coders could readily plug an old object into a new program, or reuse it several times across the same program. Today, this notion is fundamental to software design. And now, Habitat wants to recreate this dynamic on a higher level: not within an application, but in a way that allows an application to run across as a vast computer network. 

Because Habitat wraps an application in a package that includes everything needed to run and oversee the application—while fronting this package with a simple interface—you can potentially run that application on any machine. Or, indeed, you can spread tens, hundreds, or even thousands of packages across a vast network of machines. Software called the Habitat Supervisor sits on each machine, running each package and ensuring it can communicate with the rest. Written in a new programming language called Rust which is suited to modern online systems, Chef designed this Supervisor specifically to juggle code on an enormous scale. 

Kay's vision of code as biology is now the norm. It's how the world's programmers think about the software they build. 

But the important stuff lies inside those packages. Each package includes everything you need to orchestrate the application, as modern coders say, across myriad machines. Once you deploy your packages across a network, Jacob says, they can essentially orchestrate themselves. Instead of overseeing the application from one central nerve center, you can distribute the task—the ultimate aim of Kay’s biological system. That’s simpler and less likely to fail, at least in theory. 

What’s more, each package includes everything you need to modify the application—to, say, update the code or apply new security rules. This is what Jacob means when he says that all the automation travels with the application. “Having the management go with the package,” he says, “means I can manage in the same way, no matter where I choose to run it.” That’s vital in the modern world. Online code is constantly changing, and this system is designed for change.

‘Grownup Containers’ 
The idea at the heart of Habitat is similar to concepts that drive Mesosphere, Google’s Kubernetes, and Docker’s Swarm. All of these increasingly popular tools run software inside Linux “containers”—walled-off spaces within the Linux operating system that provide ways to orchestrate discrete pieces of code across myriad machines. Google uses containers in running its own online empire, and the rest of Silicon Valley is following suit. 

But Chef is taking a different tack. Rather than centering Habitat around Linux containers, they’ve built a new kind of package designed to run in other ways too. You can run Habitat packages atop Mesosphere or Kubernetes. You can also run them atop virtual machines, such as those offered by Amazon or Google on their cloud services. Or you can just run them on your own servers. “We can take all the existing software in the world, which wasn’t built with any of this new stuff in mind, and make it behave,” Jacob says. 

Jon Cowie, senior operations engineer at the online marketplace Etsy, is among the few outsiders who have kicked the tires on Habibat. He calls it “grownup containers.” Building an application around containers can be a complicated business, he explains. Habitat, he says, is simpler. You wrap your code, old or new, in a new interface and run it where you want to run it. “They are giving you a flexible toolkit,” he says. 

That said, container systems like Mesosphere and Kubernetes can still be a very important thing. These tools include “schedulers” that spread code across myriad machines in a hyper-efficient way, finding machines that have available resources and actually launching the code. Habitat doesn’t do that. It handles everything after the code is in place. 

Jacob sees Habitat as a tool that runs in tandem with a Mesophere or a Kubernetes—or atop other kinds of systems. He sees it as a single tool that can run any application on anything. But you may have to tweak Habitat so it will run on your infrastructure of choice. In packaging your app, Habitat must use a format that can speak to each type of system you want it to run on (the inputs and outputs for a virtual machine are different, say, from the inputs and outputs for Kubernetes), and at the moment, it only offers certain formats. If it doesn’t handle your format of choice, you’ll have to write a little extra code of your own. 

Jacob says writing this code is “trivial.” And for seasoned developers, it may be. Habitat’s overarching mission is to bring the biological imperative to as many businesses as possible. But of course, the mission isn’t everything. The importance of Habitat will really come down to how well it works.

Promise Theory 
Whatever the case, the idea behind Habitat is enormously powerful. The biological ideal has driven the evolution of computing systems for decades—and will continue to drive their evolution. Jacob and Chef are taking a concept that computer coders are intimately familiar with, and they’re applying it to something new. 

They’re trying to take away more of the complexity—and do this in a way that matches the cultural affiliation of developers,” says Mark Burgess, a computer scientist, physicist, and philosopher whose ideas helped spawn Chef and other DevOps projects. 

Burgess compares this phenomenon to what he calls Promise Theory, where humans and autonomous agents work together to solve problems by striving to fulfill certain intentions, or promises. He sees computer automation not just as a cooperation of code, but of people and code. That’s what Jacob is striving for. You share your intentions with Habitat, and its autonomous agents work to realize them—a flesh-and-blood biological system combining with its idealized counterpart in code. 

ORIGINAL: Wired
AUTHOR: CADE METZ.CADE METZ BUSINESS 
DATE OF PUBLICATION: 06.14.16.06.14.16 

miércoles, 16 de septiembre de 2015

Los felinos desplazados por el conflicto armado en Colombia


La ganadería y la agricultura extensiva, pero también la minería ilegal y los cultivos ilícitos que intensifican la deforestación, han convertido a los felinos en una de las especies más amenazadas por el conflicto armado.

El infortunio llegó a la vereda Playa Larga, en Santa Rosa de Osos (Antioquia), una madrugada del pasado abril en la que una ternera apareció con una mordida salvaje en el cuello, que nadie entendía de dónde provenía. Dos días después una novilla de la misma finca apareció con heridas similares que le provocaron la muerte. Y no había pasado una semana cuando otro novillo de la zona sufrió el mismo ataque y tuvo que ser sacrificado.

Santa Rosa de Osos, ubicado en el norte de Antioquia, es una región fundamentalmente lechera.

Los campesinos de Playa Larga sospechan que el infortunio llegó a su vereda en forma de felino: de animal nocturno de patas largas, orejas muy pequeñas y piel marrón, que bien podría ser un puma o un jaguar. Nadie está seguro. Todo lo que saben del temido animal lo han ido construyendo a partir de relatos que circulan de boca en boca. Miguel Ángel Avendaño Lopera, líder de la comunidad, ha recogido esos testimonios y dice que el animal tiene “un rugido de animal grande”, pero no de perro.



Testimonio: Miguel Ángel Avendaño Lopera

Uno de los campesinos de la vereda Playa Larga, junto a una de las terneras atacadas por un animal nocturno, que se sospecha es un puma.
En sus 71 años de vida el señor Lopera nunca había visto una situación como ésta, repite insistentemente. Las tierras de Santa Rosa de Osos, pueblo lechero, nunca habían sido el hogar de pumas ni de ningún felino, reitera. Y tiene razón. Estos animales han llegado hasta allí desplazados; fueron obligados a salir de su hábitat natural arrasado por la ganadería y la agricultura extensiva.

Imagen de un puma, captada por una cámara trampa en el Casanare. /Panthera Colombia
Y no solo es Antioquia. Los felinos son una de las especies en mayor peligro a causa del conflicto armado que se ha librado en rincones de todo el país. La minería ilegal, los cultivos de coca y la deforestación han vuelto estériles los suelos que habitaban, han ido exterminando a otras especies animales que les servían de alimentación y los han aislado en pequeñas islas de bosques.

Un jaguar necesita cerca de 17 mil kilómetros cuadrados de naturaleza sana para desplazarse y alimentarse, diariamente puede recorrer hasta 60 kilómetros y cada cuatro días consume unos 30 kilos de carne. Ante la acorralada en la que se encuentra, el ganado se ha convertido en “una presa fácil” para mitigar el hambre, explica Lina María Marín Gómez, técnica en fauna de Corantioquia.

Testimonio: Lina María Marín Gómez

Imagen con cámara trampa de un jaguar y su cría; los expertos estiman que si el país no actúa rápidamente por proteger a este animal podría desaparecer en 10 años. /Panthera Colombia

En cuatro meses han muerto 20 animales en Playa Larga. Casi todos de la misma manera. El ataque sucede entre la media noche y las 3 de la mañana. Comienza con una mordida en el cuello y sigue con “los pulmones y el corazón”, cuenta Camilo Vanegas Piedrahita, médico veterinario de la Umata de Santa Rosa de Osos.


Testimonio: Camilo Vanegas Piedrahita

Grandes extensiones de bosque en Santa Rosa de Osos han sido deforestadas para el cultivo de papa y tomate de árbol.
A don Miguel, a sus vecinos, al campesino que el día en que SEMANA hizo este recorrido encontró muerta a una de sus terneras, se les está acabando la paciencia.


Don Miguel

Los habitantes de Playa Larga se declaran “desesperados” por la muerte sistemática de sus animales y, según ellos, la poca acción de las autoridades.
Así como ya se les acabó la paciencia a campesinos de otras zonas. Las autoridades ambientales han recibido denuncias sobre ganaderos que han conformado grupos de cacería, que han disparado contra felinos, que hace poco mataron a una puma con sus dos crías y desaparecieron los cuerpos. John Jairo Valencia, asesor ambiental del municipio, asegura que en esa cacería están cayendo también animales silvestres.



Testimonio: John Jairo Valencia

Todos en esta historia son víctimas. A los pumas o los jaguares que hoy rondan Santa Rosa de Osos también les llegó el infortunio, en forma de humano que ha destruido su hábitat, que los ha obligado a desplazarse y los ha dejado expuestos. Encontrar una solución no ha sido fácil. Las autoridades ambientales están capacitando a los campesinos para que protejan a sus animales de los felinos (les recomiendan, por ejemplo, aislarlos de las zonas boscosas); les están enseñando por qué es importante para el equilibrio del ecosistema mantenerlos vivos.


Testimonio: Camilo Vanegas Piedrahita

Pero los ataques siguen y la paciencia se agota.

  • Editor: José Ángel Báez
  • Equipo periodístico: Laura Campos Encinales, Carolina Gutiérrez, María Fernanda Lizcano. Edición y montaje web: César Alberto Moreno Vargas
  • Videos: Alex Guerrero, Andrés Barajas, Pablo Monsalve.
  • Agradecimientos: Juan Millán, Instituto Humboldt, Parques Naturales Nacionales, Brigada Especial contra el Narcotráfico, Corantioquia, Corponor.

ORIGINAL: Semana.com

martes, 5 de junio de 2012

Willie Smits restores a rainforest

ORIGINAL: TED

By piecing together a complex ecological puzzle, biologist Willie Smits has found a way to re-grow clearcut rainforest in Borneo, saving local orangutans -- and creating a thrilling blueprint for restoring fragile ecosystems.

Willie Smits has devoted his life to saving the forest habitat of orangutans, the "thinkers of the jungle." As towns, farms and wars encroach on native forests, Smits works to save what is left.

"A natural forest is multilayered. Both in the ground and above the ground it can make better use of the available light, it can store more carbon in the system, it can provide more functions.” (Willie Smits)"

"Willie Smits has devoted his life to saving the forest habitat of orangutans, the "thinkers of the jungle." As towns, farms and wars encroach on native forests, Smits works to save what is left."

Why you should listen to him:

Willie Smits works at the complicated intersection of humankind, the animal world and our green planet. In his early work as a forester in Indonesia, he came to a deep understanding of that triple relationship, as he watched the growing population of Sulawesi move into (or burn for fuel) forests that are home to the orangutan. These intelligent animals were being killed for food, traded as pets or simply failing to thrive as their forest home degraded.

Smits believes that to rebuild orangutan populations, we must first rebuild their forest habitat -- which means helping local people find options other than the short-term fix of harvesting forests to survive. His Masarang Foundation raises money and awareness to restore habitat forests around the world -- and to empower local people. In 2007, Masarang opened a palm-sugar factory that uses thermal energy to turn sugar palms (fast-growing trees that thrive in degraded soils) into sugar and even ethanol, returning cash and power to the community and, with luck, starting the cycle toward a better future for people, trees and orangs.
"This man has dedicated his life to saving the world, and for this he earns our deepest respect." Jean Kern, Ode

Quotes by Willie Smits
A natural forest is multilayered. Both in the ground and above the ground it can make better use of the a vailable light, it can store more carbon in the system, it can provide more functions.”




martes, 6 de diciembre de 2011

Otro paso adelante hacia el Barómetro de la Vida

ORIGINAL: IUCN
10 November 2011 | News story

La última actualización de la Lista Roja de Especies Amenazadas™ ilustra los esfuerzos emprendidos por la UICN (Unión Internacional para la Conservación de la Naturaleza) y sus asociados para ampliar el número y la diversidad de las especies evaluadas, mejorando la calidad de la información para obtener un panorama más preciso en torno al estado de la biodiversidad. Con más de 61.000 especies examinadas, se ha dado un importante paso adelante para convertir la Lista Roja de la UICN en un verdadero “Barómetro de la Vida”, como lo propugnaron renombrados expertos en la revista Science en 2010.


"Esta actualización ofrece noticias buenas y malas sobre el estado de muchas especies en todo el mundo", apunta Jane Smart, Directora del Programa Mundial de Especies de la UICN. "Sabemos con plena certeza que la conservación funciona si se ejecuta de manera oportuna; empero, sin una decidida voluntad política aunada a esfuerzos y recursos específicos, las maravillas de la naturaleza y los servicios que ofrece podrían perderse para siempre".

El rinoceronte negro de África Occidental (Diceros bicornis longipes), ha sido declarado oficialmente extinto. Foto: Black Rhino (Diceros bicornis michaeli) ©Dr Richard Emslie
Pese a los programas de conservación, el 25% de los mamíferos está en peligro de extinción. Por ejemplo, las reevaluaciones de varias especies de rinocerontes muestran que la subespecie del rinoceronte negro en África Occidental, el rinoceronte negro occidental (Diceros bicornis longipes), ha sido declarada oficialmente Extinta. La subespecie del rinoceronte blanco en África Central, el rinoceronte blanco del norte (Ceratotherium simum cottoni), se encuentra al borde de la extinción y ha sido clasificada como Posiblemente Extinguida en Estado Silvestre. El rinoceronte de Java (Rhinoceros sondaicus) va por el mismo camino, por cuanto es probable que la subespecie de Rinoceros sondaicus annamiticus se haya extinguido a causa de la caza ilegal de lo que se cree era el último animal en Viet Nam en 2010. Aunque este no es el final del rinoceronte de Java, sí reduce la especie a una sola población pequeña en Java. Las principales amenazas que acechan a los rinocerontes son la falta de apoyo y voluntad política para acometer esfuerzos de conservación en muchos de sus hábitats, los grupos del crimen organizado internacional ligados a los rinocerontes, y el aumento de la caza furtiva de cuernos de rinoceronte con fines comerciales.

"Los seres humanos somos los guardianes de la Tierra y tenemos la responsabilidad de proteger las especies que comparten nuestro medio ambiente", dice Simon Stuart, Presidente de la Comisión de Supervivencia de Especies de la UICN. “Tanto en el caso del rinoceronte negro occidental como del rinoceronte blanco del norte, la situación podría haber sido muy diferente de haberse aplicado las medidas de conservación sugeridas. Estas medidas deben reforzarse ahora, especialmente en lo tocante a la gestión de los hábitats, a efectos de mejorar el rendimiento reproductivo y evitar la extinción de otros rinocerontes, como en el caso del rinoceronte de Java".