Skip to content

Instantly share code, notes, and snippets.

@marcellmars
marcellmars / InterviewWithDavidGarcia
Created February 27, 2014 01:47
Interview with David Garcia
***David Garcia**: This hacker obsession with creating a universal spaces of free exchange can have the unintended consequences of eroding the specificties of community. I see this as the rise of technological formalism akin to the Greenberg’s authoritarian cold-war formalism of late 20th century abstraction in the visual arts.*
**Marcel Mars:** I absolutely agree on that one. That’s why i insist on people being librarians. Software should always build on top of communication need, or need of particular community. That's how software becomes social. Designing sociality by designing desires by developing software is not the (social) way software should go. It just fails in both worlds (techno + social). Even if it gets some venture capital on its way.
***DG**: The independent publishing sector has been decimated and I think World Memory should be careful that its efforts is seen to be addressing rather than hastening this process.*
**MM**: I spent a lot of time in the past thinking about sustainable busines
@marcellmars
marcellmars / remove <none> docker images
Last active August 29, 2015 13:57
remove <none> docker images
for i in `sudo docker images|grep \<none\>|awk '{print $3}'`;do sudo docker rmi $i;done
@marcellmars
marcellmars / redshiftme
Last active August 29, 2015 13:57
redshiftme - runs gtk-redshift with coordinates by just running: `redshiftme city`
#!/usr/bin/env python
#use: redshiftme city
import geopy, sys, subprocess
coords = "44.820556:20.462222"
try:
coords = str(geopy.GoogleV3().geocode('{}'.format(sys.argv[1]))[1]).replace(', ', ':').replace('(','').replace(')','')

Revenge of the mainframe nerds

At the beginning of seventies when microprocessors were introduced to the world very few could imagine that anything singular, small, or personal built on top of microprocessors could win over IBM 360 mainframe series. One could compute almost nothing with microprocessors and the enterprise world was overwhelmed by the promises of mainframe computers.

It took only a decade for personal computers, driven by passion of homebrew computer enthusiasts, to become the new paradigm of emerging swarm infrastructure. In the late seventies the spreadsheet application excited small businesses that personal computers will not be only toys for geeks and nerds. When, during the nineties, personal computers got all connected into world wide web it seemed that mainframe (centralized) paradigm lost the war against distributive, bottom-up, spontaneous, capillary dynamics of communication infrastructure build by individuals buying cheap computers on competitive free market of consumer electron

@marcellmars
marcellmars / how many downloads from ge.tt
Last active August 29, 2015 14:01
how many downloads from ge.tt
# from http://ge.tt/notifications Save as text into 'koliko_puta'
import re
sum([int(re.search("downloaded (\d.*)( time.*)", b).groups()[0]) for b in [b for b in open("koliko_puta").readlines() if b.find("time") > 0]])
@marcellmars
marcellmars / list2chunks.py
Created May 21, 2014 14:36
list2chunks returns new list with chunks from the input list. chunks are having lenghts of chlen and with the last chunk being merged if shorter than chlen
def list2chunks(lst, chlen=10, chcount=0, chunks=[], tail = 0.5):
'''it returns new list with chunks from the input list. \
chunks are having lenghts of chlen and with the last chunk \
being merged if shorter than chlen'''
if len(lst) <= chlen + tail * chlen:
chunks.append(lst[chcount:])
return chunks
chunk = lst[chcount:chcount+chlen]
chcount += chlen
chunks.append(chunk)
[TOC]
### Ezra Abbot
#### Bible scholar and library assistant at Harvard. Orders the internal card catalog to be opened to an interested outside readership.
### Regina Andrews
#### Groundbreaking librarian, fighting for equal pay and against sexism and racism. First African American Supervising Librarian in the New York Public Library system.
### Henriette Davidson Avram
#### Computer programmer and systems analyst who developed the MARC format (Machine Readable Cataloging).
### Dušan Barok
#### Initiator and principle librarian of Monoskop, a wiki-based portal for collaborative research in media art and culture.
{
"metadata": {
"name": ""
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
### Keybase proof
I hereby claim:
* I am marcellmars on github.
* I am marcellmars (https://keybase.io/marcellmars) on keybase.
* I have a public key whose fingerprint is DA17 AB7B 8A1B 62E7 4E92 6707 C671 461E 9C33 F0F7
To claim this, I am signing this object:
# Public Library
In *What Was Revolutionary about the French Revolution?*[1](#ftn1) Robert Darnton considers how a complete collapse of the social order (when absolutely everything – all social values – is turned upside down) would look. Such trauma happens often in the life of individuals but only rarely on the level of an entire society.
> In 1789 the French had to confront the collapse of a whole social order—the world that they defined retrospectively as the Ancien Régime—and to find some new order in the chaos surrounding them. They experienced reality as something that could be destroyed and reconstructed, and they faced seemingly limitless possibilities, both for good and evil, for raising a utopia and for falling back into tyranny.[2](#ftn2)
The revolution bootstraps itself.
In the dictionaries of the time, the word revolution was said to derive from the verb to revolve and was defined as *“the return of the planet or a star to the same point from which it parted.”*[3](#ftn3) French political voca