Skip to content

Instantly share code, notes, and snippets.

@marcellmars
marcellmars / PublicLibrary_FairyTale.md
Created November 29, 2013 16:31
Public Library fairytale

slide 1:

http://i.imgur.com/FpCnyAo.png

there is a dream. dream of universal access to knowledge for every member of society. dreams rarely come true but this one got embodied: public library!

before internet it was struggling in proving that it can cover a lot of a knowledge. internet was that dream if you ever could imagine the future of public library.

but with internet the biggest disappointment came. public library is about to disappear. no access to digital books + economic crisis.

slide 2:

@marcellmars
marcellmars / PublicLibrary_FairyTale.md
Created November 29, 2013 20:35
Public Library fairytale

slide 1:

http://i.imgur.com/FpCnyAo.png

there is a dream. dream of universal access to knowledge for every member of society. dreams rarely come true but this particular one: universal access to knowledge for every member of society got embodied into: public library!

before internet public library was struggling with the promise saying all of the knowledge and about is it really every member of society.

still people were keen to support the dream. in every country of the world. capitalis. socialist. communist. offshore. you name it.

internet. Internet as in many other instances, has overturned what we take as given and as possible. The dream of all people getting access to all knowledge suddenly came within our reach. It seemed just an issue of interpreting when the trajectory curves of global personal computer distribution and internet access penetration would finally make universal access to knowledge a reality. However, the actual trajectory of development of public libraries in the age of internet

@marcellmars
marcellmars / tarpipe
Created December 9, 2013 00:34
tarpipe
## recieve
netcat -l -p 7000 | tar x
## send
tar c dir/ | netcat host_ip 7000
@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.