Planeta Tilde

April 19, 2021

N.S. do Computismo

April 15, 2021

N.S. do Computismo

April 07, 2021

N.S. do Computismo

What Have We Lost

from rc3 ccc conference

April 07, 2021 02:20 PM

March 26, 2021

N.S. do Computismo

Steve Jobs Interview 1981-02-18

An interview with Steve Jobs filmed on 2/18/1981 about the future of Apple, Computers, the Home & Personal computer markets, video games, and more.

March 26, 2021 11:20 AM

Ted Nelson struggles with uncomprehending radio interviewer, 1979

Max Allen of CBC radio asks over and over how a computer could possibly be useful for thinking and visualizing. He absolutely does not get it.

March 26, 2021 11:20 AM

March 25, 2021

N.S. do Computismo

March 23, 2021

N.S. do Computismo

March 19, 2021

N.S. do Computismo

March 17, 2021

N.S. do Computismo

March 15, 2021

N.S. do Computismo

Russia: Hidden chips 'launch spam attacks from irons'

"Cyber criminals are planting chips in electric irons and kettles to launch spam attacks, reports in Russia suggest."

disassembled iron

@bbc.com

March 15, 2021 11:20 AM

March 11, 2021

N.S. do Computismo

March 09, 2021

N.S. do Computismo

March 08, 2021

N.S. do Computismo

How to avoid talking to humans on the phone

Ordering a pizza in 1974

Ordering an haircut in 2018

March 08, 2021 12:20 PM

March 06, 2021

N.S. do Computismo

Attacks in the Wild

"We refer to these attacks as typographic attacks. We believe attacks such as those described above are far from simply an academic concern. By exploiting the model’s ability to read text robustly, we find that even photographs of hand-written text can often fool the model. Like the Adversarial Patch,22 this attack works in the wild; but unlike such attacks, it requires no more technology than pen and paper."

attacks in the wild

paper @ openai.com

March 06, 2021 10:20 AM

The Writer Automaton, Switzerland

A 240 year old doll that can write, a clockwork creation by Pierre Jaquet-Droz, a Swiss watchmaker. The doll is able to write any custom text up to 40 letters long

writer doll

@ chonday.com

March 06, 2021 10:20 AM

March 05, 2021

N.S. do Computismo

The Writer Automaton, Switzerland

A 240 year old doll that can write, a clockwork creation by Pierre Jaquet-Droz, a Swiss watchmaker. The doll is able to write any custom text up to 40 letters long

writer doll

@ chonday.com

March 05, 2021 11:20 AM

March 04, 2021

N.S. do Computismo

March 03, 2021

N.S. do Computismo

March 02, 2021

N.S. do Computismo

March 01, 2021

N.S. do Computismo

February 28, 2021

~marado

repo: using a local manifest

One of the useful and rarely mentioned configurations of repo is the use of local manifests.

See, repo is a powerful tool when you need to deal with a project that uses several git repositories at the same time, and those are controled by a manifest file. However, on your local development environment, you will often want to extend or change something on the environment described on the manifest, either by removing, adding or more often replacing one of the entries with a slightly different configuration.

You can do that by using a local manifest, that will be applied on the top of the other manifest files. The CyanogenMod project used to have a pretty nice documentation about this, but that's one of the contents that were not migrated into Lineage OS's wiki, so I decided to make this blog post, reproducing the old wiki's content.

The local manifest

Creating a local manifest allows you to customize the list of repositories used in your copy of the source code by overriding or supplementing the default manifest. In this way, you can add, remove, or replace source code in the official manifest with your own. By including repositories (which need not even reside on GitHub) in a local manifest, you can continue to synchronize with the repo sync command just as you would have previously. Only now, both the official repositories from the default manifest and the additional repositories you specify will be checked for updates.

Adding and replacing repositories

To add to the contents of the default manifest, create a folder called local_manifests under the .repo directory, then create an XML file (text file with .xml extension) inside that directory. You can call the XML file anything you like, as long as it ends in .xml. The default however is roomservice.xml. Also, you can create separate XML files for different groups of repositories. e.g. mako.xml for Google Nexus 4 related repositories and cat-eater.xml for an unofficial device on which you're working.

Let's start with an example which we can use to describe the syntax:

<?xml version="1.0" encoding="UTF-8"?>

<manifest>

<remote name="omap" fetch="git://git.omapzoom.org/" />

<remove-project name="CyanogenMod/android_hardware_ti_omap3" />

<project path="hardware/ti/omap3" name="platform/hardware/ti/omap3" remote="omap" revision="jb-dev"/>

</manifest>

The first line containing <?xml version="1.0" encoding="UTF-8"?> is a standard XML declaration, telling interpreters this is an eXtensible Markup Language file. Once this is established, the <manifest> and </manifest> tags enclose some contents which the repo command will recognize.

First, a remote for git is declared and given the name "omap". In git, a remote essentially refers to a place and method for accessing a git repository. In this case, omapzoom.org is a site that contains special up-to-date repositories for Texas Instrument's OMAP platform. This is equivalent to the following git command:

git remote add omap git://git.omapzoom.org/

The next line removes a project (specifically, cyanogenmod/android_hardware_ti_omap3) declared in the default manifest. After running repo sync, it will no longer be available in the source tree.

The next line defines a new project. In this case, it replaces the removed project android_hardware_ti_omap3 with one from Texas Instruments, using the "omap" remote that was defined above.

When adding a new project that replaces an existing project, you should always remove that project before defining the replacement. However, not every new project need replace an existing cyanogenmod project. You can simply add a new project to the source code, such as when you want to add your own app to the build.

Note that when adding new projects, there are at least three parts defined:

  • remote -- the name of the remote. this can be one that was defined in either the default manifest or local_manifest.xml.
  • name -- the name of the git project-- for github it has the format account_name/project_name.
  • path -- where the git repository should go in your local copy of the source code.
  • revision -- (optional) which branch or tag to use in the repository. If this attribute is omitted, repo sync will use the revision specified by the <default ... /> tag in the default manifest.

After creating .repo/local_manifests/your_file.xml, you should be able to repo sync and the source code will be updated accordingly.

Note: You can use local repositories in the manifest by creating a remote that points to file:///path/to/source. For example: <remote name="local-omap" fetch="file:///home/username/myomap" />

License

All textual content of the CyanogenMod Wiki was released under the Creative Commons Attribution-Share Alike 3.0 Unported license (CC-BY-SA), and so this blog post should be considered licensed under the same terms.

tags: repo, manifest, local-manifest, local_manifests, git, en

comentários? tweetar  

by ~marado at February 28, 2021 07:42 PM

February 23, 2021

N.S. do Computismo

ZZT

Epic MegaGames first comercial title (1991)

February 23, 2021 11:20 AM

February 22, 2021

N.S. do Computismo

February 19, 2021

N.S. do Computismo

February 17, 2021

N.S. do Computismo

February 16, 2021

N.S. do Computismo

February 11, 2021

N.S. do Computismo

February 10, 2021

N.S. do Computismo

Halt and Catch Fire Syllabus

Tell me one thing that will be true about computers ten years from now?

The only interface that makes computer graphics easy as Apple pie

Halt and Catch Fire syllabus

February 10, 2021 12:20 PM

Halt and Catch Fire Syllabus

Tell me one thing that will be true about computers ten years from now?

![~/fimdomeio/nossa-senhora-do-computismo/img/apple-pie-ui.jpg]

Halt and Catch Fire syllabus

February 10, 2021 11:20 AM

February 08, 2021

N.S. do Computismo

Sword of Damocles

An early Virtual Reality head mounted display

more info @ wikipedia

February 08, 2021 11:20 AM

February 05, 2021

N.S. do Computismo

February 04, 2021

N.S. do Computismo

John McCarthy

John McCarthy is best known for having coined the term "Artificial Inteligence" and having created the Lisp programming language John McCarthy playing chess

February 04, 2021 11:20 AM

February 03, 2021

N.S. do Computismo

January 29, 2021

N.S. do Computismo

January 28, 2021

N.S. do Computismo

WTF is Going on with Gamestop stock

Social engineering at its finest

HOLD HOLD HOLD

Indepth article @ vice

January 28, 2021 11:20 AM

January 27, 2021

N.S. do Computismo

January 26, 2021

N.S. do Computismo

Old Computers in Paper

papercraft

Construct the computer from your childhood or build an entire computer museum at home with these paper models @ Rocky Bergen

January 26, 2021 12:20 PM

January 22, 2021

N.S. do Computismo

January 21, 2021

N.S. do Computismo

January 20, 2021

N.S. do Computismo

January 15, 2021

N.S. do Computismo

January 14, 2021

N.S. do Computismo

January 08, 2021

N.S. do Computismo

Microsoft Clipart Extra

2 kitties

Microsoft Clipart Extra: clipart from Microsoft Office 97 Professional (English). SVG.zip contains the Windows Metafiles from the collection, which is most of the images, converted to SVG with wmf2svg.

@ archive.org

January 08, 2021 11:20 AM

January 06, 2021

N.S. do Computismo

DALL·E: Creating Images from Text

A trained a neural network called DALL·E that creates images from text captions for a wide range of concepts expressible in natural language.

a store front with openai written on it hardcore computing hardcore computing

source @ openai.com

January 06, 2021 11:20 AM

January 05, 2021

N.S. do Computismo

January 04, 2021

N.S. do Computismo

December 31, 2020

N.S. do Computismo

Edward Sownden's initial interview (2013)

"The 29-year-old source behind the biggest intelligence leak in the NSA's history explains his motives, his uncertain future and why he never intended on hiding in the shadows"

@ the guardian

December 31, 2020 11:20 AM

December 30, 2020

N.S. do Computismo

December 29, 2020

N.S. do Computismo

How not to be Alone

"It is harder to intervene than not to, but it is vastly harder to choose to do either than to retreat into the scrolling names of one’s contact list, or whatever one’s favorite iDistraction happens to be. Technology celebrates connectedness, but encourages retreat. The phone didn’t make me avoid the human connection, but it did make ignoring her easier in that moment, and more likely, by comfortably encouraging me to forget my choice to do so. My daily use of technological communication has been shaping me into someone more likely to forget others. The flow of water carves rock, a little bit at a time. And our personhood is carved, too, by the flow of our habits."

more @ New York Times

December 29, 2020 11:20 AM

December 28, 2020

N.S. do Computismo

Classified docs reveal NSA's vast real-time warrantless Web surveillance (2013)

"For seven years, the US National Security Agency (NSA) has been using a congressionally approved warrantless Web surveillance system with a near-limitless ability to spy on Americans’ phone calls, emails, video chats, search history and more."

more @ rt

December 28, 2020 11:20 AM

December 27, 2020

N.S. do Computismo

December 24, 2020

N.S. do Computismo

December 23, 2020

N.S. do Computismo

Wi-Fi signals enable gesture recognition throughout entire home

washington.edu

"Forget to turn off the lights before leaving the apartment? No problem. Just raise your hand, finger-swipe the air, and your lights will power down. Want to change the song playing on your music system in the other room? Move your hand to the right and flip through the songs."

December 23, 2020 11:20 AM

December 22, 2020

N.S. do Computismo

December 21, 2020

N.S. do Computismo

December 20, 2020

N.S. do Computismo