SFPC: Day 05 - Open Frameworks Workshop, Troubleshooting git
Last night I went to Babycastles for the first time. Two of the people in game collective Kokoromi were celebrating the Playstation 4 of their VR game Super Hypercube, which had been almost a decade in the making. Also, Lauren Gardner was there and showed some of us Hack Manhattan’s space, which is connected to the same floor as Babycastles.
At 10am this morning, a few of us arrived for an Open Frameworks workshop initially suggested by Ruby. It took a bit to get Ofx installed on everyone’s machines, but that’s usually how workshops go. Some of us decided to pair program and we got started.
We created a sketch called “Text Rain”, in the workshop:
My classmate Hiroshi took it a step further and added some finesse. You can find the code for his version of the sketch here.
Summation: And so - I can finally run and (somewhat)debug a project in Open Frameworks. This is a wonderful feeling.
Project Idea: I’d like to build a Raspberry Pi camera that incorporates some of this Open Frameworks computer vision stuff. Robby said that he had a project like that when he was a student at SFPC last year.
Spent 2-3 hours trying to push to my blog repo, messing with a git error:
remote: error: GH001: Large files detected. You may want to try Git Large File Storage - https://git-lfs.github.com. remote: error: Trace: fd6343c9c8bff756b49d7b539776ea83 remote: error: See http://git.io/iEPt8g for more information. remote: error: File images/IMG_4174.MOV is 168.86 MB; this exceeds GitHub's file size limit of 100.00 MB To https://github.com/alexdwagner/alexdwagner.github.io.git ! [remote rejected] master -> master (pre-receive hook declined)
All I want to do is update my blog. All… I… Want… To… Do…
1 Hour Later…
I figured it out. You can use:
git reset --hard HEAD~1
to revoke your last commit. Phew.
Sometimes, the iPhone takes pictures with the wrong image orientation, ie when you import the image, your portrait-framed image has been accidentally rotated into landscape.
You can use this command in the terminal:
sips -r 270 [fileName]
Now to do some freelance work and then go home.
One last thing to mention is that I met Dan Shiffman today! He was recording a live stream tutorial for his Coding Rainbow channel on Youtube and he was nice enough to chat with us for 10 minutes or so. He will be here next Tuesday and said he would give us a tour of his video setup here at SFPC.
For lunch: Salmon Teriyaki at Sushi West with Bryan and Ruby. We talked about Japan, possible projects we are considering, and weekend plans.
For dinner: ?. It’s 2:57p at the time of this writing.
Looking forward to tomorrow, which is a Saturday! Moving into a new place with Dannie, Agustin, and Baku this weekend. Bed Stuy is much closer to the city than Ditmas Park! But it is going to be further away from my internship at Eyebeam! Overall a good move!