Tag Archives: hackerspaces

hacknyc intro / api intro stream of thought / liveblogging

 Saturday, March 24, 2:10 PM Hackny
http://hackerleague.org/hackathons/spring-2012-hackny-student-hackathon/wikipages/4f6e1d1e0e3c4d0001000045
http://hackerleague.org/hackathons/spring-2012-hackny-student-hackathon/wikipages/4f6e2fda74a9980001000010

office hours: node, js, api 101, python, ?__?

judged by awesomeness and nothing else

selected apis by vote and not sponsorship

Longtail — jwplayer (flash/html) — js api.
longtailvideo.com/demo
–embedded geodata. updates vwidgets on the side. -> api working better on ipad than on the desktop. O__o

jsfiddle.net/979bS

JSON. events: { onPlan: …} –> vs popcorn ?__?
bitsontherun -> iphone on th erun video integrat w/ longtail video
===
parse.ly, zach and emmitt
Dash for publishers (semantic content) –> google analytics + higher level for online publishers

API:
1. Extract: e.g. columbia professors -> identifies all the “entities” (topic or idea) -> marks it with tags
[REDACTED], POST w/ test and returns (5-10sec) url to check status (query for working/done). Returns text with
1. -> any page
[url REDACTED]

2. ~rich structured article data API?
json, jsonp (call directly from js/ajax), and xml outputs
2 -> for articles already indexed in parsely database

ideas:
entity swapping (rep vs dem), mad libs, historical reader

=> nyc startup ecosystem, full time student

===
nytimes api, Brad
developer.nytimes.com
17 APIs

throough documentation with preview w/ api request tool.
Facets: >40 facets (complex and robust APIs)
complex in general

~does not yet support jsonp
http://www.mashape.com/apis/NY%20Times
===
aviary.com erin and ari -> web api
photo editing toosl for you as the developer to integrate.
aviary.com/ios (sdk) -> very simple to use. crop, rotation, effects … want us to build next instapaper etc. Not intrusive (blended into app)

very quick integration, cross platform (web, ios , android)
www.aviary.com/webwww.aviary.com/code-generator (including a js w/ editor)
they will post to our app (and we decide how implement security)
www.aviary.com/ios
android: has sample app in ADK download
www.aviary.com/android-documentation
you choose tools available in app
api@aviary.com

===
movable ink.com
=> #hackny irc.freenode.net
put dynamic content into email (generate content that goes into email when opened). (crop tool to pull from website).
e.g. bottom of email: shows progress of selected donorchoose project. donorsig.com/capture
htrml5 support, streaming from site into email o___O (beta)

rest api prolly not needed. movableink.com/api/docs

===
4sq, aditya
very powerful, used even for own web client internally so you have almost as much power
very easy to setup and get going quickly = good choice for beginners

users, venues, tips
developer.foursquare.com/apishowcase or something
-> timehop ^__^
oauth, restful
also many libraries for almost any language ^__^ yay wrappers
===
ordr.in, felix (sp?), david
stupdendously easy way to add food ordering to hack (rich structured data to menu and can submit food delivery orders)
e.g. ordr.in/devleopers/restaurant
there are also utility apis around restaurant (saved user profiles, restaurant taxes, etc.)
restful, jsonrific
yep libraries

===
tumblr. dereck, john? bunting
blog.johnbunting.me/api

json console to mess with

ruby client

client.posts(“onetinyhand.com”, false. {:limit => 1})
“give me the first post on here”
client.posts(“onetinyhand.com”, false. {:tag => “kim jong il”})

will be open sourcing ruby client (not tested)

===
10gen, francescapasha, barriesegal
prezi ~
mongodb, nosql, document orientd, open source, schemaless DB
relational databases mostly in DB class.
docs nested in collections, great for working things out on the fly. eg hackathon.

rdbms (tradtl) vs mongo
table -> collection, row > document, column > field, index>index, join (takes a long time)>embed** (relations between difft collections, amke documents fster), can add as go.

create relationships between data

use mydb
var hackathon = “authoer”:”fra”, “title”: “hack”};
db.blog.save(hackathon);
db.blog.find();

_id –> autogenerated
db.blog.find({author: asf})
.fin().sort(….)
db.blog.update(P_id: post.id{ …….

query operators and update modifiers

db.blog.remove() (remove all objects)
db.blog.drop() (drop entire collection)

there is shell embedded in try.mongodb.org
tutroail, next, …. ….
api.mongodb.org (drivers for different langs. python on of the strongest) -> python OH knows some mongoDB

===
etsy API, christopher
800k active users / 13 mill active listeners
100+ countries
14k+ people to make living

cando:
search by color, listing info, put up listing, anything can do by web
can access own sales data (metricly!)

etsy.com/developers
-> create new app on the left, or documentation -> api ref

openapi.etsy.com/v2/listing/active?keywords-bike_valet&apikey=…….
&includes=Mainimage

etsyonsale
etsy-tv.heroku.com
wangsandneeds.me (twitter crawl)
scrollsy.com
codeascraft.etsy.com (blog)
@etsyapi
===
nodejitsu, charlie, paolo
(10+ people on irc often)
@indexzero, @hij
loves open source, node.js
anything community -> os
company/corporation -> our ip, proprietary

js low barrier to entry, sophisticated network

nodjitsu, public cloud ~__~ “jitsu” is public command line for deploying
develop.nodejitsu.com (deploy from web)

mongo or couch, … can choose database

smart snapshots (git tags -> tarballs) (yay rolling back producting bugs)
do not need git (do all version management for you)

github.com/nodejitsu
github.com/flatiron (after ny building) –> decoupled tools for logging, routing, … very convenient for getting started with

~node-chat, MIT license

clone, cd it.
node server/server.js (uses socket.io, allows realtime web porgramming)
localhost:3000
yay~~ talk to self on localhost…..

npm install jitsuyou should be donig it right now (npm = package manager for node

in that dir, jitsu deploy (reads package manifest) & need extra properties, which prompted for. (0.6.x) = latest version of js
hackny-chat.nodejitsu.com

gimmesomebeta.nodejitsu.com
hackny-chat.jit.su (soviet union)
===
ambassador’s email: s2012ambassadors hrm at hackNY.org
===
donorschoose NYC, oliver, cto
nonprofit, website where public school teachers push best ideas for schools they can’t afford, founded by public school teacher in teh bronx, does actually work (35 mill donations, delivered over 120 mill since inception, 6 mill students). yep, microfinance (real people donating small amounts)

garage developers on their own time will build things and make it moar awesome

~> naive about reaching out. at beginning, no one used it @__@
but now strategic asset

25 mill projects ~ yay long tail properties (topical and geographic diversity of proposals)

can query by location, zipcode, radiate out, or by latlong, point radius / boudning box,
classroom subject, e.g health and wellness
teachforamerica corps members
keyword search

returns:
subject area in
amount needed, teachers name, locale info, photo, short essay by teacher, can support transactions (talk offline), campaign level donations (impact statistics in real time)

~starbucks: w/ wifi: show nearest classroom project to where they are
~sonic: ask customers to pick projects they donate to
~chevron: based on where pumped gas, fund projects nearby
~amazon?: willing to buy one give one, classroom project which requst same thing
~ email sig: based on sender, choose which projects by sender’s whims (music, bronx)
~ running commitments for donations
~ 4sq mashup, recs by places visited in the past

and don’t care if we are the main focus or not, just build things awesome 🙂

donorschoose.com -> play around w/ frontend search
api is essentially programmatic access to frontend
demo api key is full featured (no need to wait)

and has “prepaid” gift cards if we want to testdrive the donation process
===
samir yay at nextbigsound.com for api key
next big sound
analytics and insights for the music industry
premium products: dashboard to understand impact of key events on performance (key metrics)
methods: artist search, profiles, metrics

returns json, can query artist or

bookmarklet ->
api3.nextbigsound.com
===
~kickin?__?~ api not present ^__^

==
hackerleague page for listing!!!
ambassadors:
jared
48hrapps, hacklympics, boxxy?
john, tumblr, python, ruby, php, mysql, redis?, mongo…
rob specter, twilio, python, js, ruby
john 2?, cofounder of hackerolympics, 48hrapps
zach, parsely
aditya, 4sq, data science, not js (python, perl)
john goodwin – social data and analysis, cofounder of a company
dan from something, rby on rails,
===
5pm, oh, nodejs, dan rm201
6pm, api 101, rm102
5:30 rails
7pm python

demo on sunday -> make sure project on hackerleague

emergency motor controller fail

just an update to say no, i did not successfully make a motor controller in 48 hours 🙂
(see previous post for schematic: http://www.orangenarwhals.com/?p=152)
what was it? a 6.131 final project / motor controller for hexarideablepod (derived off of an instructables):

which works, but uses an arduino and two victor speed controllers — total overkill. also, terrible UI: it uses a hard to reach switch for fwd/bwd and foot pedals, which little kids have issues reaching even with the awesome!adjustable-car-seat.

block diagrams! ewww.

https://github.com/nouyang/hexapodtroller for the eagle sch/brd. You can see terrible routing here:

power board (4 FETs to make a full H-bridge)
sig board — attiny44 and four FET drivers (21844s). also, chain voltage regulators from 24v battery to 15v for drivers to 5v for attiny logic.

speed routing and my inexperience led to use of 24 zero ohm resistors and I still used a jumper 🙂

hai zero ohm resistor friends
If you look closely, you can see some of the trace fails (compare IRL to board layout) which were probably due to too high error allowances when the fab module was creating the roland modela machine code. See: pins 8 and 9 on the top right side of the topmost IC, the attiny44. They’re connected on the board but not on the schematic. I used eagle’s erc/drc and it didn’t point out a warning so I’m going to assume it was mill code generation settings, not limits of mill capability.
I discovered how useful eagle layers are, even in the interface is terribly clunky.

I create zero-ohm resistors a dumb way that actually turns out to be helpful when populating a lot of them. Since they each have an air wire, I can set air wires to a nice contrasting color and see where they all are:

Another note, I milled out the moles CNC-ly too using GIMP to get the traces I needed, but :/ milled them out too small and had difficulty getting the 3.5mm spacing power connectors to go through the board — had to carefully use a vise.

This is what the final half-populated boards looked like:

China Makerspaces Visit Planning

I’m hoping to / planning on visiting Chinese makerspaces between end of term (12/19 for me, as I have not finals) and IAP (January 9).
[last updated: 11/24/2011]

http://hackerspaces.org/wiki/China
Shanghai

Shenzhen

  •   www.chaihuo.org, active as of november 2011
    • Saturdays, 14:00 – 16:30 (gcal sidebar)
    • ch.makerspace, g.com
  •   SZDIY (shenzhen diy lab) active as of today november
    • 聚会Every Thursday / 每周四 19:00~22:00
    • 答:Seeedstudio 是深圳创客空间(Chaihuo)的主要赞助商,Chaihuo与SZDIY目前达成协议在特定时间(每周四晚)免费提供聚会场地给SZDIY社区使用来举办固定聚会
    • szdiyadm, g.com
  • http://wikitravel.org/en/Shenzhen

Beijing

  •   http://bjmakerspace.com/ (both flamingoeda and gkfab have been subsumed by this, active as of october EDIT 11/24 active.)
    • meetings every Tuesday 20:00 to 22:00 (http://www.bjmakerspace.com/Event.html)
    • open every day (according to email correspondence 22 nov 2011)
    • http://space.flamingoeda.com/ (last update july)
    • GKFab (not alive?)
    • We have weekly meeting at Tuesday night, and workshops at weekend. The space is opened every day, and you may want send us a mail before you come so we can make sure there is some members in the space
    • bjmakerspace, g.com
  • yff — not sure if it’s actual makerspace looks corporate or spam. 

Guangzhou:

  • hackerspaces@gz (1 member?)
  • HTG (not active since 2010)
So looks like I should try to make Shanghai and Shenzhen, possibly Beijing although that’s covering a lot of ground in a week (mmm transportation costs). Guangzhou ones seem dead, which is a pity since that’s actually close to Shenzhen.

==
http://www.seeedstudio.com/blog/2011/10/16/first-open-hardware-gathering-in-china/
Ooh look! Someone I know is there! Star Simpson is apparently in China until January or so. And Maja Wichrowska (roomies shoutout!) is in Beijing for the semester. o.o Whoa. A lot of people I know are in China…
===
http://hackerspaces.org/wiki/Call-inJan 1st, 1600 EST
===
http://hackerspaces.org/wiki/Japan

  • kubotaa@tamabi.ac.jp (no response, dec 2011)
  • info@456.im (no response, dec 2011)
  • Tokyo hackerspace (contacted via form):
    • Tokyo HackerSpace has an open meeting every Tuesday night, from 7 PM. 
    • Unlike most other hackerspaces, our members have very little free time, and as such, the space is not in constant use. Our members have a key, and can come any time they like, but its hard to predict when that will be.
    • I would highly suggest that you join our google group and introduce yourself and your schedule there: http://groups.google.com/group/tokyohackerspace You’ll have a better chance at finding what everyone is up to, and when they can meet up.

http://hackerspaces.org/wiki/China
? None in Taiwan nor Korea.
===
Visas and Passport Renewal
Proxy Chinese Visa service: http://ask.metafilter.com/95095/Visa-service-recommendations e.g. http://china.visahq.com/ (also does passport, also well-designed site)
Emergency Passport-ness: http://travel.state.gov/passport/npic/schedule/schedule_852.html

Boston-specific:
I found a local Chinese company helping with visa application:
国际文化旅游公司
Cambridge
617-868-3096
最便宜的机票+最优质的服务$170 total /1 year multiple entry。 If you fill out the form. Sounds reasonable. close to what they charge here.It is close to T. ~5 walking from T station. 2 stops from harvard (outbound).Go to the web site, fill out the file and print out. take 1 2×2 picture, the passport valid for 6 month and blank page .
经纬旅游 Boston 617-426-3123
===
electronicky shanzhai 山寨
http://www.bunniestudios.com/blog/?p=284
and also awesome book:
http://craphound.com/ftw/download/ which is a fantastic romp around gaming culture, economics, and unions.
more on shanzhai
http://www.tigoe.net/blog/category/environment/295/#more-295
more on shenzhen http://www.evilmadscientist.com/article.php/shenzhen
the linked article is account-walled so here is the article http://www.strategy-business.com/article/09315?pg=all&tid=27782251

===
personal

1 Transportation FCU
55 Broadway
Cambridge, MA 02142
Driving Directions
 Send to Phone
ATM
Deposit-Taking
Surcharge-Free

1.16 mi

=== Options: personal tours. Or get MIT departmental backing (talk to Anne Hunter / Brandy Baker) for report publication, go in officially.

=== Oh hey look, someone wrote about MITERS in Chinese.
http://www.chaihuo.org/2011/10/19/%E5%88%9B%E5%AE%A2%E6%94%BB%E7%95%A5-%E4%BB%8Emaker-faire-%E5%88%B0mit-4/
“not the game, nor is it the job, just love” Thanks, google translate 🙂

===
update 2 dec 2011
according to David of shanghai’s xinchejian, There are current 4 in China. OnionCapsule in Hangzhou is the first student lead hackerspace in the China Academy of Fine Art by a group of new media art students. They have a public performance scheduled on Dec 24. If visiting hackerspaces is one of the goal of your trip, I’d suggest you visit them at this event. It’s crazy party and a lot of fun.