Monthly Archives: July 2013

HS Day 37: Across the Hall

Imogen moved out of the apartment today, meaning that I am taking over her room. It’s a lot larger, and has two large windows that face what I assume to be south – I can see the Statue of Liberty off in the distance out of one, and the tail end of Manhattan out the other. It’s also not a shared room, which is nice in that I don’t have to worry about bothering a roommate when I’m up late at night.

I woke up just after noon and immediately began moving my stuff down the hall. I realized I was hungry after about an hour of that, and grabbed a vegetarian sandwich from Zito’s Sandwich shop. The guy who works there always puts on music from my past – lots of Blink 182, Green Day, etc. – Ought’s punk-pop. I had fun chatting with him just a bit while waiting for my sandwich. He’s 40, Italian, and very good-natured.

After Zito’s, it was back to work at the room. I don’t have much stuff here – just over a suitcase and a carryon’s worth, but I wanted to reorganize and search through it for my Raspberry Pi, which I’ve sadly given up on finding while I’m out here. It’ll probably turn up in Colorado when I move back, which is all the same to me; I don’t have a keyboard, monitor, or mouse for it out here.

I stopped by a store called Scardey Kat, which is a little shop that sells interesting things and is going out of business. Since they were having a 25% off sale, I stopped in and ended up buying some things – a new wallet, namely. My old one is holding up well, but as a trifold, it’s a bit thick for front-pocket wear, which I’ve taken to while in the city. More to stop worrying about pick-pockets than actually dissuade them.

I started working on Space Explore, which you can see a completely unfinished, and in fact barely started, version of at http://handprintgames.com. There’s not much to do yet – I think this is a fun project though and I’m interested to see how far I get before abandoning it. I’ve kind of accepted that fate for this project, and I’m taking it as an exploration in Javascript large-project structure more than anything. I chatted with Evan a bit right before bed about it, and we reminisced about how much we learned about text display from Terminal_.

Dinner was at Lotus, which is the Thai/Chinese place across the street. I have a standard fare there – a “classic” sandwich and a honey green tea bubble tea. Delicious, and a bit pricey.

Levi, Ian, and Broghanne came into my room (the one with A/C) and we played through a bit of Um – the space version. It was pretty good, Broghanne was new to TTRPG, so she was a bit tentative to play along, but Levi and Ian really got into it.

From Brooklyn,

–Erty

HS Day 36: Chatting about School

Alice posted to the Hacker School mailing list last night about needing a windows computer to create a boot disk to restore her Windows 8 computer, which had died. I responded (or, actually, had Matt respond for me since we were drinking beer together and he was the one with his phone open) and said I would be in by 2pm.

So in by 2pm I was. Pretty much on the dot. I ended up getting about 13 hours of sleep last night, minus an hour or so that I was awake around 3am.

It was around 100 degrees Fahrenheit today in NYC, or, at least 90. Hacker School is well air-conditioned, as was my room last night – Ian, our guest for a few weeks, ended up sleeping on the floor in my room, since it’s the only one in the house with A/C. He was going to spend the night in the living room, but I offered him space on our floor. He declined at first, but I invited him to enter the room for a second, where it was a good 20 degrees cooler than the rest of the apartment. So he moved in for the night.

Since I lent Alice my laptop at Hacker School, I spent the afternoon talking with Martin and Alex about my idea for a school – which I’m planning on posting a lot about soon, so I won’t go into detail here. Alex and I ended up getting pretty metaphysical, whereas Martin and I chatted mainly about educational differences between here and his home country of Sweden.

I worked on the Risk AI for a bit once I had my computer back, and pushed some good commits. It’s coming along and I’m optimistic about having it done by Monday night.

Walked along a neat little restaurant-filled segment of Manhattan with Martin and chatted about programming while searching for a place to get dinner to-go. We settled on a place that did (Greek?) food, which was tasty, but we forgot to get the sauces so it was a little bland.

Took the train home, finally with my Kindle charged, which made the trip more enjoyable and productive (less Nethack).

It’s still a bajillion degrees here but I guess that’s NYC in the summer.

From Brooklyn,

–Erty

HS Day 35: D&D Adventure Number Two

Arrived at Hacker School around 10am, which gave me some time to surf the internet and work on the Risk AI server before meeting up with Alisa, Ian, Martin, and Matt for Dungeons and Dragons. I DMmed a short adventure in which the heroes, upon retrieving the treasure from a temple, are found by a group of Orcs who are after the same treasure. The Orcs were quickly defeated, but the troll that was chasing the Orcs took nearly all of the party’s resources to defeat, knocking two of them below zero HP (death is at -10). Afterward, we sat around for a while and worked on transferring our makeshift character sheets to real ones. We’re playing much more official version 3.5 now, instead of me making most of it up as we go along.

Afterward, around probably 7pm, Matt and I took the subway to Bohemian Hall Beer Garden in Astoria, Queens, NY. We met up with some of Matt’s friends there (he’s from Astoria), but spent pretty much the entire time talking about Hacker School and ignoring his friends. I had two beers and some Klobasa, which was a beer too many for me, and I took the subway home and pretty much passed out on my bed at about 10:30. Yes I am that much of a lightweight, but I also think I hadn’t eaten enough that day.

I also think Matt and I could see (and hear) a police (shoot-out?) from the subway station in Astoria, but I can’t find anything about it on the news. Kinda scary?

From Manhattan,

–Erty

HS Day 34: Fourth of July!

I started off my Fourth of July by sleeping in until 3pm. It seems that twelve hours is the amount of time I sleep naturally if I don’t set an alarm, which is okay with me – the only problem being that it’s hard to stay on a consistent schedule with a non-24-hour sleeping/not sleeping cycle. This is why I end up being nocturnal.

Pretty much everywhere was closed and I didn’t particularly feel like cooking, so I wandered across the street to the Thai place and got a sandwich and a bubble tea. Some Hacker Schoolers mentioned a meetup in Prospect Park, which is uphill from my apartment by just a few blocks, so I started walking. Not two blocks away from my apartment, I found a 2″ stack of comic books (spiderman, batman, x-men, etc.) on the ground on the sidewalk, obviously placed there for someone to take. There weren’t any rare or old episodes, but it seemed like a neat find so I took them back to my apartment, buzzing upstairs and getting Levi to let me in because my hands were full.

I tried my walk to Prospect Park again, and it was actually a 20-or-so minute walk. Still, the weather was very nice (in the shade) and I drank my bubble tea along the walk. What I didn’t realize is that Prospect Park is huge. I wandered for 10 minutes before realizing that I was going in the wrong direction, and then turned around and walked a half hour before finding Richard and his (Girlfriend?) sitting on the grass between baseball fields 1 and 2. We sat and chatted for a long while, and Ian, Martin, and Alex eventually joined us. All in all, we spent probably four hours sitting and chatting about various topics. It was incredibly nice out, and despite a few small, non-biting ants and beetles, there were no bugs or other annoyances.

At sundown, we walked through the throngs of people grilling near the edge of the park, where grilling is permitted, and I hopped on the F to 4th Av/9th st, which is close to my apartment. I bought some beer and ginger ale on the way home at a small market, and went up on the roof to see if I could see any fireworks. The neighbors from two apartments over were also on their roof, and they invited me over, so I hopped over (the roofs are connected), and hung out with them for a while. I met one guy, Dan, who worked in Finance, and we chatted for a bit – there were probably a dozen of the neighbors, in their mid to late twenties.

The beer I got (Shock Top Apple Something) was really awful and I’m probably just going to dump most of it, which is a shame. It was pretty much halfway between a apple cider and a beer, except that the apple flavor was that terrible fake apple flavor like in laffy taffy. Ick.

There were some good fireworks around the apartment – no professional shows except way off in the distance, but plenty of small, probably illegal shows. I hung out with the neighbors for probably an hour and a half before heading back inside, where I surfed the internet for a while before heading to bed.

HS Day 33: Party

I started off today by sleeping in a bit – I stayed up until 3am the previous night, and I knew there was no way I was going to get in to Hacker School on time (10:30), so I set my alarm for 11am. Got in to Manhattan around noon. Worked with Erik, Alex, Ian, and Matt on the Risk AI programming for a few hours before getting a late lunch at Getting Hungry. Returned to Hacker School and continued working on the Risk AI server. We’re still working on the main game server, although we’re hoping to have that done by Monday evening.

I tried to take a nap in the late afternoon, but Erik and Ian were working on the Risk program a couple of feet from the beanbag upon which I was trying to sleep, and I had too many ideas not to join in the conversation. I ended up not napping at all, and helping them with the Risk stuff.

There was a quick round of presentations by people who hadn’t presented before – including a game of Breakout ported one file at a time from Java to Scala (which has Java Interop), and a Pac-Man game with a level editor and guns (featuring sounds from old FPS games!).

After the presentaions, we were all invited to a alumni meetup at a bar called Fat Cat, which is less a bar and more a giant game space, with about two dozen pool, chess, shuffleboard, and ping-pong tables, along with a live jazz band and lounge space.

Peter Norvig, Bella, Nick, Travis, Nabil, and I walked over together, right about the time that it started raining torrentially. We stopped in at a pizza place and grabbed a slice since we were all getting hungry, and also to get out of the rain.

Fat Cat is all-ages (or, at least, 18+), which meant that the under-21s in Hacker School could attend. We played games and games of Bughouse (a chess variant with four players and two boards), and plenty of actual chess – some other Hacker Schoolers managed to get a pool table, and mostly I stood around and chatted with various Hacker Schoolers and Alumni.

After a few hours, a bunch of us left Fat Cat and walked across the street to a pizza place, and had a slice on our way to Mary’s apartment on the lower east side. On the way there, I got into quite a conversation with Sonali about my ideas for a school, and “nerd” culture and labeling. I’m hoping to write a blog post about my school in the next few days (I want to talk to Peter Norvig about it, too!)

Mary lives on the 6th floor, which was even hotter than our 4th floor apartment. I had one beer and stood in the stairwell where it was a little bit cooler. She had hooked up a Raspberry Pi to the door buzzer so that you could text a number and it would let you in, which was neat. After about 45 minutes, I left with Javier, Richard, and Laura, to catch the F to the R, which dropped me off about a block from home.

I arrived at my apartment to find Ian and Levi playing StarCraft 2, so of course I joined them for an hour or so. The internet started lagging out a bit, so I quit out and surfed the internet until I was tired enough to go to bed.

From Brooklyn,

–Erty

 

HS Day 32: Risk

I’m writing this the day afterward – you’ll see why.

Yesterday I woke up on time and took the normal route (R -> D) to Hacker School. There was a lady on the train writing what I could only describe as indecipherable scribbles on a page of paper, but she seemed to know what it said. I thought that was interesting and tried to figure out if I could decipher her code, but I think it was actually just really loopy cursive handwriting.

Hacker School started a bit slow after morning meeting, and I went to Jazzy’s for lunch, the usual egg cheese and ham sandwich, this time on a toasted roll, which was even more delicious than a bagel.

I had a short meeting with Mary around noon – the facilitators had requested that we all sign up for short meetings with them to just chat about how hacker school is going, etc.. I basically said that Hacker School is being amazing, but I’m finding it hard to be social since normally it takes me a while to come out of my shell (about 6 months) in a new social situation, but I’m “cramming” socially since I only have 3 months of Hacker School, and one of those is gone! Still, it’s being an extremely positive experience for me.

On that note: they’re accepting applications for the next batch! https://www.hackerschool.com/apply?r=top

At 2pm I met with a rather large group of people to start building an AI system for the game Risk. Rather, an AI competition for anyone interested. Essentially, there will be a central server which will run the games, and people can register a URL which points to an AI server which the game server will poll on each turn. Erik and I are the main leaders for the project, which is in python. I’m super excited about it. Ian, Matt, and Alex are the other main contributors to the project so far.

I ended up staying late with Ian, Travis, and Alex, and someone bought a bottle of Makers Mark, so we sat around and drank whisky out of the coffee mugs that are at the office for a few hours, watching bad Youtube videos and working on the Risk AI.

Eventually I took the subway home, and found that Levi had a guest from Boulder – Ian – over at the apartment, who will be staying with us for about three weeks. Levi’s girlfriend Broghanne (who is from somewhere British), Levi, Ian, Imogen, and I all hung out in the living room chatting about American history, science, and astrophysics until about 3am – hence the waking up late and not writing this blog post on time. It was very enjoyable to sit and chat with people about whatever topics came to mind.

From Brooklyn,

–Erty

HS Day 31: Back to School

Monday morning – I woke up at 8:30 to my alarm and got ready for the day. Took the R to Atlantic/Barclays station alongside my roommate, who happened to be leaving at the same time for Maine. Sometime in the next few days I’m moving down the hall to Imogen’s room, since she’s moving back to London. So it’ll just be Levi and I in the apartment for a few days.

Transferred to the D, which is my new route to get to school – it’s faster than the N, especially because the station in Manhattan for the D is much closer to Hacker School. The D also goes over the Brooklyn Bridge, meaning that there’s some sunlight and sightseeing on my way to/from Hacker School every day.

Well, “sunlight”. Today it was pouring rain in Manhattan – enough to warrant a weather alert on my phone (which somehow arrived even though I was in airplane mode!).

Spent the morning napping in a beanbag since I was too tired to work. Brandon Rhodes and Peter Norvig are our residents this week; the former is the author of some Python libraries and books, and the latter is a Google employee and one of the foremost AI researchers. I’ve been geeking out a bit about the fact that I get to work with Peter, and I noticed that he was about to go to lunch with a group of Hacker Schoolers. I had to go to the restroom after waking up from my nap and by the time I returned, they had already left. Ah well – I grabbed a hot sandwich at Pret and returned to Hacker School.

Decided to pair with some people for the day – Budgeted and NodeTag are getting bogged down in details.

I was about to put up a message about pairing on our internal chat application when Doron asked me to help him with a database project – he was testing various queries in SQLite and measuring their performance. He was noticing some weird behavior – when he executed a SELECT * FROM table WHERE unique_element = 'abc', it was performing the same as SELECT * FROM table WHERE unique_element = 'xyz', where ‘abc’ was at the beginning of the table and ‘xyz’ was at the end (and something else was the primary key). Since there was no index on unique_element, he expected the ‘xyz’ query to take longer. I came up with a few ways that the database might be optimizing, but in the end it turns out our sample size was probably too small and the difference was getting lost in the noise. We did learn, however, that trying to put 500k rows in a table with a unique element gets really really slow around the 10kth element – since each insert needs to check if there is already something with the same unique element in the table. Thus trying to quickly insert a bunch of rows quickly gets to O(n2). Lesson: don’t use Unique rows unless you really really have to. And then index them.

I pair programmed with Peter on a NumPy program to draw topological maps given a set of elevation data (Project idea: Do this for Minecraft!). A neat problem that I had just a few ideas on – turns out that tracing a non-convex hull is a hard problem. He messaged me later and seemed to have found a good library to generate the hulls for him.

Pair programmed with Michael for a while on an architecture for a full-stack web and iPhone app. Based on our conversation, I’m not sure he realized how large of a system he was panning on building. I wish him the best of luck in completing his project.

I got to talk with Peter Norvig for a while – he was wearing a Hawaiian shirt so I figured it was okay to call him Peter – about writing an AI for Risk (something I’m planning on working on soon) and also Genetic Algorithms, which was super neat.

Read up on Risk AI for a while, then took the subway with everyone to ebay for Brandon’s presentation on “Copernican Refactoring” – essentially, thinking about a problem as having a different center for a new perspective (i.e. the earth orbits the sun instead of the other way around, and this makes the math for the motion of the planets a lot prettier). It was a neat talk and it gave me some really cool perspective and problem solving ideas.

Afterward, I walked with Erik to Toys R Us and Barnes and Noble, where we tried to find a copy of the board game Risk. We couldn’t, so I took the N from Union Square to Atlantic/Barclays and picked up a copy there. Walked home and played some SC2 (0 for 3 🙁 ). Chatted with sleepy Greta for a long time, then went to bed around 1.

As you can probably tell from the length of this post, my motivation is quickly returning! I’m looking forward to working on the Risk AI today!

From Manhattan,

Erty

 

HS Day 28, 29, 30: StarCraft Weekend

Basically watched a bunch of StarCraft this weekend.

For some reason I’m feeling really low on energy and motivation right now, so I’ll be focusing on regulating my sleep schedule and eating properly for the next few days to get back on track mentally. I’m not worried or anything – just slightly down and out for a bit.

Short post today due to trying to get to bed on time. Quick weekend recap:

Friday: Played an awesome D&D campaign with Alisa, Matt, Ian, Martin, and James. They raided a trapped treasure hall and beat up on kobolds, even killing the giant spider that I had put in specifically to be too tough for them. Good job I guess 🙂 Fell asleep on the couch at Hacker School, then went out to a bar with a bunch of Hacker School people for Yael’s birthday, a place called the Bell House in Brooklyn. It was neat – hung out mostly with Martin, Sebastian, and Sam (I think). The music was super loud though so I left after about an hour and a half.Had a nice but shouty conversation with Mary and Sonali – two of the facilitators. 80s vs 90s. Drinks were incredibly expensive as well, and I actually ended up owing someone $11 since I didn’t realize how much a drink was going to cost before I ordered it. Had a nice talk with Greta on the way back to my apt. Decided I very much like quiet bars, although those seem to be hard to find?

Saturday: Spent the whole day sitting around watching StarCraft. Woo.

Sunday: Took the train (actually two trains) to Mineola, NY, where I sat around and watched StarCraft with other people. The bar was called “Eleanor Rigby’s”, and was, of course, Beatles themed.

Eleanor Rigby's Front Door

Eleanor Rigby’s Front Door (Snapchat :P)

 

The organizer and his girlfriend were super nice but some of the other attendees were making kinda mean comments about the players. Even so, I enjoyed myself and had a great time rooting for the Terran player, Polt. There were probably about 30 people there throughout the night, and about 12 of us who stayed until 9 or so to watch the finals. Ended up taking kind of a roundabout way home, so I didn’t get in until 11:30 (?). Got a Barbarian in Nethack all the way to the Castle before dying because I had no way to cross the water, and my instrument had burnt up. Still a great run.

R.I.P. Erty the Barbarian

R.I.P. Erty the Barbarian

P.S. I realized just now that all of my “Day n” on the HS posts are off by one after day 3. Maybe I’ll fix that soon. Maybe.