Swarm Creator Coins: Another Hackday Project Launch

 
IMG_8904.png
 

This post is about another hackday project on Foursquare that we were able to quietly launch into the Swarm app recently.

I always felt that Foursquare and Swarm should give recognition to people who contribute to our database. We want our venue database to be as accurate and up-to-date as possible. I also feel a little bit of pride whenever I’m the first person to add the venue to the database.

For example, I added the 7-Eleven in the East Village to the Foursquare database on it’s grand opening, and now it has over 150 unique visitors on Swarm! Now that’s not bad, but there are some power superusers who have created things that are a lot bigger. You need to be first, and it needs to be someplace important, so it’s tough.

What creator coins does is reward users who create great venues. You don’t get points just for adding any old thing to the venue database – but if you add something that stands the test of time and becomes popular, you will be rewarded with coins whenever you check in.

Also when your friends or friends-of-friends check in, they will recieve some coins, and they’ll be reminded that you are the creator. In that way, you get some recognition!

So, I built this with some pointers from the Swarm team during our hack day a few months ago. We had to get some of the copy I wrote translated, but it’s not live on the site. Tweet at me if you find a good one! Here are some examples:

Typical example, street car with 90 checkins:

https://twitter.com/bobspecht/status/768096429982134272

This person created an airport terminal venue with almost 34K checkins!

Here’s my own creation of Atlantic Center. I created this venue a few months ago when I was reorganizing Foursquare Supervenues. Turns out that Atlantic Terminal Mall and Atlantic Center are 2 different things, even though they have the same owners and are connected. Confusing!

 
IMG_8902

IMG_8902

 

And here are some cases in my own feed where I learn about Friends of Friends who created places that I love going to:

 
IMG_8903

IMG_8903

 

YASC trip to Ghana - Part 3

Now in Yamaransa, I was on the business consulting team which is similar to the work I did in Trohilo, Nicaragua in 2013 and 2014. We set up a makeshift consulting firm in a couple of classrooms with half-built desks and lots of flies. Men and women who run local businesses come in periodically. We get to know them personally, and learn about what they do. Then we analyze their business model and come up with some recommendations.

Since the YASC group has been there before several times had been there before several times, several of the entrepreneurs had been through this before. In some cases, you get reports of incremental improvements based on changes decided upon in the previous year, which is great. But of course, the YASC volunteers can’t come up with a good plan for every group and just like back home not every plan pans out the way you’d hoped. But essentially, we try to make the most of the time we have with these people by getting to know each other, learning about their business and their goals for the future, and brainstorming ideas.

For example, one man that I met with was a tailor named Moses at the same time my fellow volunteers Faith and LaShawn met with the dressmakers next store. Now Moses told us that he had met with the volunteers last time and not much had come out of it to help his business directly – but that he had started an apprentice program. [I remember being told in translation that he said he was inspired by the help from YASC last year to start this program, but that almost seems to good to be true, so I’m going to put that as a “maybe”]. He asked if it was okay if he brings his apprentices to the meeting, and I said “sure”!

Now I had assumed that he’d be bringing three or four people – but I was surprised when about 20 people showed up! We got the impression that  the dressmakers would all men women and the tailors would be men, and that was true but the apprentices were mixed in gender.

One of the things we went through successfully was pricing. Although I wish I had more time, I went through several different examples of products that could be produced by the tailors. I tend to look at three main variables: the total cost of the input materials, the price that is set for the item, and the time it takes to put it together. Similar to what we found in Nicaragua, the price often reflected the input materials but didn’t take into account labor as well. For example, the back-of-the-napkin calculation we did for a quick 1-hour shirt was 16 cedis of profit per hour, which the 3-day suit was about 3. I’d expect it to go down because the suit is guaranteed work for 3 days, but that differential seemed extreme. Moses agreed. I hope one of those 20 apprentices likes to calculate this stuff, because then maybe they can make a table for all the products for everyone!

Now while that “profit per hour” calculation is helpful, there’s definitely more I would do if I had more time. The pricing strategy once you get that information is important, because you still need to take into account how much work you’re getting (customer acquisition costs) and whether the time spent on a low-profit item is really displacing time that would be spent on a high profit one. But we needed to give the tailors and the dressmakers some time to actually sell to the group – because that generates a one-time infusion of significant business for them and I got a really cool African shirt!

There were several problems that seems to exist in common across all of the entrepreneurs, and many of these same problems existed in Nicaragua as well. First of all, in a community like this you have many customers who expect to be given goods on credit, and they end up not being able to pay. This is not such an easy problem to deal with – because if you start saying “no” to products without payment, you’re going to get pushback from some of these people, who ultimately may be family or close friends.

Another issue that comes up is how to build savings. Given the tiny amounts that people are making, it’s very difficult to put something away. Once they take care of their immediate family, people are often expected to help extended family in need as well.

In addition to my work on the business team, I was also able to see what the education team, and the group working on Yamoransa’s new ICT center was up to. I was able to sneak in a couple of math classes on Friday (August 12th), and because I needed to come up with something at the last second, I decided to talk about the handshake problem. It seemed to go pretty well – fortunately we had very exceptional translations from GhanaThink volunteers as well as from AFS Ghana throughout the whole process making this possible. I changed the handshake problem to the fistbump problem, and I had the students (age maybe 9 or 10?) get up in groups of various sizes to see how many fist bumps they need so that everyone in the group matches with everyone else. The result is a combination of fun interactive trials plus an exploration into a variety of problem solving techniques. It also introduces some ideas in computer science which I really love.

While the students didn’t seem to have enough access to mathematics enrichment, they don’t seem to have the same aversion to math that you would find in classrooms and among the general population of the United States. In several conversations, math seemed to be a subject that the people enjoyed and wanted to learn more about.

And finally – I got to organize books for the library in the newly minted ITC center. Because internet access is limited, this is being set up with old-school paper records. Some of the books looked interested since many were children’s books on a variety of scientific topics like space. Some books contained information about far away places such as Angola, or New York. I had to read the book about the latter – which seemed to take an overly positive view of Tammany Hall, and also had a section on Donald Trump as a real estate developer and reality star from 2010. I wanted to write stuff in the margins, but I stopped myself.

This new center is really remarkable – the rooms looks open and comfortable, and part of the purpose of this center is to provide computer education and literacy. Now their internet access availability is going to be very limited, but there’s still a lot that can be done. For example, thousands of books can be uploaded into e-readers. I’m really excited about the idea of having an offline version of the Khan academy available. If that’s the case, you can have a whole generation of students and teachers who have access to materials up to the college level. And I have no doubt that people will want to use it. If that’s the case, what effect does this have several years down the road? Seems like it will be very positive, but time will tell.


Finally, I know I haven’t mentioned all the great people I worked with. There are too many to list! But on the business development team, we had Lisa Unsworth leading it, and I worked closely with LaShawn Warren (we had some very interesting discussions with the breadmakers), Anke Tietz and Faith Lin (who were great with the hairdressers and dressmakers), Aric Sangruchi, Sam Blango, and Nick Mason. Also a shout out to Hamilton Barnes volunteering from GhanaThink was there the whole time translating some very complex stories back and forth, particularly with the breadmakers!

IMG_8426.jpg
IMG_8682

IMG_8682

IMG_8569

IMG_8569

IMG_8831

IMG_8831

IMG_8496

IMG_8496

IMG_8426.jpg

IMG_8426

YASC trip to Ghana, Part 2

Now on to Yamaransa, the community where we were working last week. Yamaransa is located between Accra and Cape Coast, 2 important cities and Ghana. Yamaransa lies at an important 3 way intersection: to the west is Cape Coast, to the East is Accra, and inland to the north is the major city of Kumasi in the Ashanti region.

YASC along with several other organizations have been working there since 2011. The focus has been on education, health, business, and the construction (and sustainability) of a community center. The priorities have been set by the community leaders themselves, not outsiders. The idea for us is to engage in some cultural exchange, and hopefully make the community better off and help them achieve their goals – be it education, economic development, or anything else. Because this has been an ongoing effort, we’ve been able to measure our efforts and learn from our mistakes. It was great to see some of the progress that has already been made, and I hope to see progress continue for years to come.

When we first got to the site, we were treated to a host family visit followed by a cultural fair put on by AFS Ghana – one of our ground partners. My host was a catholic priest in town. His sister was also visiting – a woman in her 20s who was finishing up high school. It was clear that it was not due to monetary constraints and not to effort. I asked her what her favorite subject was, and when she said math I said “ah ha! We need to talk about this!” because it was very difficult to find common ground otherwise. I recited the proof that there are an infinite number of primes, and she wrote down a multiplication table for modulo arithmetic. She said “I wish you could come by and teach math every day!”

At the cultural fair I saw a lot of things that were familiar. At the booth of Ghanian games, they had one that was very similar to Mancala. All the different tribes are still confusing to me – the people in Yamoransa speak Fante (and that’s in the central region), and the Ashanti to the north is it’s own region. They have their own kings (local leaders) independent of the government.

In religion, they combine western religions with traditional African beliefs. There are so many churches and Mosques all over Ghana – probably the majority of non-house buildings. In the town there are Catholics, Protestants, and even the Mormon church has a significant presence. And there is also a large Muslim population, but not too many Jews. Ghana doesn’t seem to have the religious strife that would be expected from such a combination (and that happens in other parts of the world). They have developed a mature and tolerant attitude towards the different religions and there is no evidence that any group preaches hate or distrust towards any other group.

Interestingly, I identified more with some of their traditional African traditions than their western religious ones – and in some cases seemed more familiar to me. They have very specific ceremonies for different events in life such as birth, adulthood, marriage, and death. The baby naming ceremony takes place on the eighth day after birth. The people there can have both western names, as well as 14 possible day names based on gender and weekday of birth. The ceremony involves both water and wine – and I wasn’t sure on the exact symbolism there but maybe it’s two different aspects of life.

The funerals are very interesting. If the person was old – the funeral becomes a celebration of the person’s life. The coffin could be designed to represent them (perhaps their profession) – and they make giant posters that you see all over town describing relatives who have passed on. The funeral looks more like a send off to the world to come.

Also, we were able to hear the traditional horn that is played in honor of the Ashanti kings. It looks and sounds exactly the same as the Shofar that is heard in synagogue every year in Rosh Hashana. And finally – we were treated to lots and lot of drumming. Drumming for music. Drumming for communication. Drumming for ceremonial celebrations. Like pretty much constantly the whole time.

IMG_8342-1.jpg
IMG_8342-1.jpg

IMG_8342

[ Up Next: The Volunteer work ]

YASC Trip to Ghana - Part 1 of 3

I just returned from Ghana on a volunteer trip with the Yale Alumni Service Corps, and what an amazing trip it was! This was my first time visiting Ghana, or any country in Africa for that matter. Turns out that I didn’t know a whole lot about the country and I had a lot to learn. I’m going to provide here an outsider’s perspective based on a 2 week trip so take my words not as encyclopedic knowledge but as the initial perception of one American which subject to change.

I arrived at the Airport in Accra on July 29th for a week of tours which included Togo and Benin. Those were countries I knew even less about (!) but let’s stick to Ghana.

Ghana gained its independence from Britain in 1957, and that event is seen as heralding the decolonization of Africa from the Europeans. The United States sent a delegation including a couple of household names today: then-Vice President Nixon, and Martin Luther King. At the time Ghana was known as “Gold Coast” – following the same naming scheme as its neighboring “Ivory Coast” which tell us what explorers and traders were initially doing there. But in order to symbolize their independence, the founders decided to name their country after the ancient Ghana Empire in west Africa. In this way, the idea was to take an ancient, homegrown civilization, and reimagine it as a modern democracy.

In fact, some of Ghana’s democratic institutions are similar to what we have in the US. In foreign policy, they were part of the non-aligned movement (neither with the US or the USSR in the cold war). Domestically, we Americans may be familiar with some of the government functions. But while Ghana was never a communist state, the founders instituted socialist-style plans for industrialization. If you look around today, you can’t say that’s been too successful. Corruption by government employees is seen as an impediment to economic growth. Heavy industry would have been better off under private initiative, if only a consistent regime of laws and rights can be relied upon.

After several coups and periods of instability, Ghana today has a stable democracy with competitive elections and a functioning judicial and legislative branch. That doesn’t mean that the government works for the people as much as they would like – but change is possible through the ballot box as opposed to violence.

So enough about that – what about the regular folks? When I was walking and riding around in the bus in Accra, I had never seen so many people working and hustling so hard. If you watch the people on the street, you can see that everyone is on a mission – and I’d say this is even more than in New York City. Most people are trying to sell things. Many are carrying large items, moving them from one place to another. Some people are dressed nicely walking briskly to meetings or events. You can see still other people with books and backpacks on their way to school. Hard work and initiative come naturally to Ghanaians, and I’d say they are a nation of entrepreneurs.

In central Accra there are lots of large construction projects. Like in Downtown Brooklyn, they seem to be on a bit of a building spree. But once you get outside the city, you notice something very interesting: a lot of half-built houses made of cinderblock.

When we in the US want to save for a house, we might open up a savings account, or perhaps invest in the money market and mutual funds. Then, we you have enough for a down payment, we can get a mortgage, and voila – we’re in the house! When these Ghanaians are saving for a house – they literally see a partial house! They purchase each cinder block when they can in the hopes that they can one day finish. This is the best option for many people, but it comes with many risks. Do they have the title to their land? The government can come in and give it to a third party in the name of economic development. Are they protected from natural disaster or theft? I doubt the insurance market is well developed. Can they sell half a house? I could imagine having a good market for that, but it appears that it probably isn’t.

Still, our savings and mortgage strategy is also fraught with risk and it’s a matter of mitigating those risks and improving efficiency. There might be economic opportunities in Ghana for solving problems of land-title, insurance, real estate markets, and division of labor for home builders.

Buying things in West Africa is also too much for me. I’m not used to bargaining on the spot! It’s stressful. Apparently I was very good at it when I negotiated for a hat in an Accra market. I have a hat already, why do I need yours? Yeah, I understand this is an African hat, but my nerdy tourist hat perfectly fits my needs. I don’t know about that design. So I got them to come way down on the price. But then somehow I didn’t leave the shop without buying a Ghana Soccer Jersey (awesome!) and a watercolor painting (I don’t need it!). I came home with a lot of cool stuff – but I would have looked around more if I could eye a product without the assumption that I was going to buy it.

While I found the vendors to be overly aggressive, I also found them to have a certain straightforwardness. Sure – they all claim to have a “good price just for you” and to be your friend – but I didn’t catch anyone trying to mislead about their products. And in a few cases they answers my questions correctly even if they knew it wasn’t the answer I wanted to hear. I bet with a little practice one could understand their “lingo” and be able to make wise purchases.

IMG_8342-1.jpg
IMG_8342

IMG_8342

[ Up Next: Arrival in Yamaransa ]

Another Quora Math Answer about Split-Complex Numbers

Well, I’ve been on a role with Quora math answers recently! One person asked the question of whether you can have a negative absolute value. In other words, could you have a negative distance between two points! Rather than dwelling on all the rules this would break (who needs rules!?) I decided to construct such a system.

And I found that it looked like something I’ve seen before: the split complex numbers. The one application I’ve seen for these numbers is in an online dating app, as presented at a RecSys workshop in 2012!

In this number system, you have a new special number called “j” which lives outside our usual number system. This number has the special property that j * j = 1.

The dating application works like this:
You have people of the same gender who are similar (positive numbers)
People of the same gender who are different (negative numbers)
People of the opposite sex who are good matches (positive j numbers)
People of the opposite sex who are bad matches (negative j numbers)

These assumptions correspond to mathematical statements (capital letters for people of the same gender, and lowercase for people of the opposite).
If you’re similar A and A is similar to B, you’re similar to B(1*1=1)
If you’re different from A and A is similar to B, then you’re different from B (1)(-1) = -1
If you match a, and a also matches B, then you’re similar to B (j*j = 1)
If you don’t match a, and a matches B, then you’re different from B (-j * j = -1)
And so on!

So here’s someone talking about negative space and mathematical impossibilities, and we end up with an online dating application! Yeah, I realize this is a heteronormative number system* that also reduces human personality to a single dimension – but still it’s pretty cool!

*That must be why it wasn’t part of the Yale curriculum.

Here’s my full answer on Quora
Here’s the RecSys workshop paper I referenced

Post about Polygon Approximations to Pi

So I spent a few minutes tonight writing an interesting math answer on Quora: Is a circle a shape with an infinite number of corners?

The challenge in answering this question is that even if the premise of the original question is incorrect, I feel like I can try to figure out the intuition that led to the question and how that related to more complex mathematical topics.

I’m not sure about the math background of the question writer, or the people who are reading my answer, which makes these kinds of things hard to do. Maybe it’ll be worth my time to do more of these – I often have a hard time finding blog post ideas but Quora has a never-ending supply of content ideas!

Movie Search in Foursquare

Today I want to share a new feature that’s available on the Foursquare app and give a little background on how we got the ball rolling.

First – and I’m curious to see if any of you have different answers – where do you check movie times online? Maybe you use Google or an alternative search engine like bing. Maybe you use a service that specializes in movie times like Fandango or Movie Tickets.

What if you’re on the go? Normally when I want to check the movie times I only have a smartphone. Just opening Google works alright, though it’s a little clunky. It will show a map of each individual theater playing the movie, but you can’t get a map of all theaters and compare!

Fandango can’t seem to build a reasonable app for this – it’s full of popup ads which are horrible when you’re on a tight deadline. Again the maps are limited, and each page is full of flashy ads that really take away from the user experience. Now I’m no designer and I know this is subjective, but check out this train wreck:

 
IMG_3943.jpg
 

So I thought we could do better at Foursquare. I’m already using Foursquare to plan my time when I’m outside the apartment, and finding movie theaters is a part of that. Why not be able to check the movie listings when I’m already figuring out which restaurant or bar to go to?

Foursquare already has:
– A great interface for searching.
– A way to see all results on a map.
– No ads that get in the way of completing the goal
– Uber integration. Is anyone prone to choosing movies that start in 5 minutes? “Come on we’ll get there before the previews are done!”

We’re just missing the ability to buy the ticket – but who knows maybe we’ll get that one day!

My role in this is small, but I want give a little insight on how a demo can help. We’ve been importing movie times from an external data source for awhile, which allowed people to check in to movies on Swarm. We even had the movies listed in our search indices! All that needed to be done was build a page where you can search for the data.

When hack day rolled around (that’s a day where engineers at Foursquare pick up on these kinds of projects that are outside their main area of focus), Stephanie Yang (@stpyangblog) and I decided that we were going to build this demo. It took us a little longer than the day we were supposed to use, but it came out looking like this:

Displaying IMG_3943.PNG
Screen Shot 2015-09-22 at 11.31.01 AM

Screen Shot 2015-09-22 at 11.31.01 AM

Screen Shot 2015-09-22 at 11.31.31 AM

Screen Shot 2015-09-22 at 11.31.31 AM

There were 3 key elements to our minimal product:

  1. Show me a list of movies and movie times in my area. We had pictures and descriptions lying around, as well as an idea of how popular each movie was (thanks Swarm checkins!) in order to do the rankings.

  2. A search box with autocomplete. This is so important! As you type, a list of potential movie matches comes up. This gets you to your search faster and prevents spelling errors and similar problems that can come up.

  3. A search results page that will show you the information for the movie you want.

The pages that we designed were usable, but Stephanie and I spend most of our time on data science and backend engineering, not front-end engineering and design. And we only had a day or two – so I’m really happy with the output.

Now usually these demos just kind of sit there and nothing comes of it, but the team working on search quality liked the demo and saw people actually searching for movies in the app (I bet they were really annoyed when it didn’t work!) So, they decided to put it in the app.

And the result is great! In my opinion, Foursquare is now the best app to use when you’re searching for movies. Here are some screen shots – note that when I start typing in a movie it immediately comes up on autocomplete. The search results are laid out on a list page that we’re all used to seeing. You can click through to see all the venue details for each theater, which Foursquare is already good at. And finally, if you tap the map icon, there’s your map of all the places you can go!

IMG_3944

IMG_3944

IMG_3945

IMG_3945

IMG_3946

IMG_3946

In terms of total work, my role in this was pretty small, since the sequence of events looks like this:

  1. Years of engineering work and infrastructure by other engineers

  2. Our 2 day hack project

  3. Weeks of analysis, coding, and testing by other engineers

But I'm just glad we were able to get that feature up there! What are the takeaways from this experience? I'm not sure, but off the top of my head, here are some things that helped:

  1. We were working on a feature that we personally wanted to use.

  2. Most of the background work had been done (we just had to hook up the last 5%)

  3. The feature fits in well with our current product. It doesn't distract from any of the other use cases and only comes up in autocomplete when we're reasonably sure you're after a movie.

If anyone out there gives it a try - let me know how it goes!

News Corporation Sells Amplify

I worked at Wireless Generation early in my career. It was the education company that was bought by News Corp in 2010 and became Amplify.

You can find some articles on it here and here, but the short story is that after 5 years at News Corp, the company wasn’t performing as well as they had hoped, and they sold it to private investors.   There were also massive layoffs.

Wireless Generation/Amplify is a data driven education company. A large part of the focus when I was there was helping teaching in the early elementary school years ensure that all of their students learn to read and learn basic math skills. It goes without saying that getting this right for kids is really important, and in the 2000s we were starting to see internet-scale data on this for the first time. Sometimes at Foursquare, we’ll improve some click-through-rate by 1%. But if you improve reading-rate by 1%, think about how many lives are changed for the better!

Wireless Generation also built some of the first open-source curriculum for the internet, and it looks like Amplify now has a really fun math game. The positive side of my experience there, along with some talented employees, was around the products we were building.  The downside was that despite rhetoric to the contrary, management style was much too top-down for my liking. Working on a large contract for the NYC DOE was particularly painful since decisions were made by government bureaucrats and were sometimes politically driven. I can probably write several posts on frustrating times at Wireless Generation!

I can only speculate on what went wrong, and even if the articles had gone into more detail I would be certain that the story from the inside is completely different. What is it that News Corp miscalculated? As far as I can tell, there weren’t any major setbacks.

It turns out that while the original sale was going on, I was taking a course on business strategy at NYU. I had emailed my thoughts to the professor, and I was able to find them. This is an excerpt from December 2nd, 2012, printed as is (along with some awkward phrasing!)

A lot of people are asking why news corp want to get into education.  Clearly, the newspaper business is not a great one to be in right now – maybe they feel like they need to do something.  I feel that they might might want the company because they want expertise in digital content distribution (I developed hand-held and web applications while I was there).  However, they’d probably be better off just hiring a much smaller team to do that.  Someone said this is just about Rupert Murdoch trying to build a legacy.  I don’t know.

Other people are asking whether it will work.  They’re keeping the same management team.  I have a feeling that WirelessGeneration‘s growth is now going to be heavily subsidized by news corp.  But after Monday’s class discussion I’m wondering what news’ other businesses will get out of it.

Of course, I still didn’t mind getting a check for shares.

Because their products are so important, I hope that Amplify can refocus in the future. I can see a few things going for it:
– It will be under the leadership of the original founder, Larry Berger. He is a capable leader, knows what he’s doing in education, and I’m sure he’ll have big plans.
– It will have a smaller, more focused team. If it has 400, it’ll be the same amount as when I was there.
– The ownership will be private. There will be no parent corporation in an entirely different industry trying to steer the agenda.
– If they get to keep their amazing office space in DUMBO.. can’t beat that!
This is on the patio – taken by me in 2007.

It sounds like they are going to try to refocus on the original mission, this time with a much more experienced team. I’m feeling a lot more optimistic for them then I was 5 years ago – this could be the low in a turning point of sorts!

Also – I know this could be a difficult time for people who are still working there, so I wish you all the best. If you are a current employee or recently laid off and you need a new job, I’d be happy to meet up and show you a demo of what we’re working on at Foursquare. I have a lot of respect for anyone who is working through all the issues at Amplify, particularly the engineering and product teams.

Of course, I still didn't mind getting a check for shares.Because their products are so important, I hope that Amplify can refocus in the future. I can see a few things going for it:- It will be under the leadership of the original founder, Larry Berger. He is a capable leader, knows what he's doing in education, and I'm sure he'll have big plans.- It will have a smaller, more focused team. If it has 400, it'll be the same amount as when I was there.- The ownership will be private. There will be no parent corporation in an entirely different industry trying to steer the agenda.- If they get to keep their amazing office space in DUMBO.. can't beat that!This is on the patio - taken by me in 2007.It sounds like they are going to try to refocus on the original mission, this time with a much more experienced team. I'm feeling a lot more optimistic for them then I was 5 years ago - this could be the low in a turning point of sorts!Also - I know this could be a difficult time for people who are still working there, so I wish you all the best. If you are a current employee or recently laid off and you need a new job, I'd be happy to meet up and show you a demo of what we're working on at Foursquare. I have a lot of respect for anyone who is working through all the issues at Amplify, particularly the engineering and product teams. 

Appearance on BK Live for Beyond Coding

Over the past few months, I've been involved with a program called beyondcoding.io, which is a series of courses at New York City tech companies designed to develop career skills for people who are entering the tech industry.

I produced one of the classes with Maryam (see our NLP talk) at Foursquare on technical communication. I would describe it as a workshop that involved talks by Maryam and myself as well as some audience participation and group communication.

On Tuesday, I was interviewed on BK Live, which is a show on BRIC TV (a Brooklyn-focused television station in New York). Also appearing on the round table was Bethany Marzewki who works at stack overflow and did a great job organizing Beyond Coding with the New York Tech Talent Pipeline. This also features program students Keanna Hines and Shlomo Maghen!

Ok enough of the background, here's the full video!

A few notes on what I said:

  1. I really wished I played up Foursquare and Swarm more, especially for high school and college aged people. I mean - if that were available to me when I was in high school or even much younger, I'd be all over it! For one, I'd compare checkins to the (now defunct) North and South cafeteria in Weston High School. I was sort of vague on whether Foursquare or Swarm would be something that could get a teen interested in technology. Obviously there are certain applications, like do-my-taxes applications that isn't going to get anyone interested. I should have put Foursquare on Swarm squarely on the other side of that!

  2. I don't condone cheating.. seriously. Good thing I'm not running for office, or that'd be a great campaign ad for my opposition. I think modding games, though, and learning how to hack code in the process, is great. So long as you're not betting on the games.

Brooklyn Neighborhood: Sunset Park

Before I get into some of the more technical or idea-oriented posts, I want to practice by talking about one of my day trips last week, and that was to Sunset Park, Brooklyn.

Now last week I actually took a week off from work, and it seems like every time you take time off you’re expected to go someplace exotic or at least visit someone in another city. Instead, I opted to stay at home.  This is apparently known as a “staycation”!  As it turns out, there’s so much to enjoy about living in Brooklyn.

I can write a whole post on just how this “staycation” went, but instead I’m going to start a series on Brooklyn neighborhoods. On Wednesday, I decided to go to the closest neighborhood that I haven’t checked out yet, which was Sunset Park.

I went in the early afternoon and I had a few hours to look around. I rode a few stops on the Bay Ridge-bound R train from Dekalb to 45th street. When I got out, there were rows of shops – including some Mexican grocery stores, as well as some interesting architecture on a nearby Catholic Church which really stands out on 4th Ave. The cross streets are nice Brownstones.

IMG_3257

IMG_3257

IMG_3258

IMG_3258

So then of course I had to get to the park itself. Starting at the base of the park, it doesn’t look like much. Once I walked up the steps, I could see there was tons of activity for a Wednesday evening. The park was full of picnics and sports. It was difficult to find the much talked-about view of Manhattan at first, but once I moved into the right position it was pretty amazing. You get Downtown Brooklyn, Downtown Manhattan, Jersey City, and the Statue of Liberty all in one shot!

IMG_3261

IMG_3261

IMG_3271

IMG_3271

IMG_3276

IMG_3276

In that last photo, I can actually see the apartment building where I live, which is the one reflecting sunlight. The view doesn’t go both ways – I still can’t see the park very well from the roof of the building! In the photo, you can also see nearby One Hanson Place which is the big clocktower all the way to the right.

This is a pretty unique view of Manhattan! I’ve seen the skyline from many different angles, but this one actually looks like you’re looking “down” at the city.

So finally I needed to stay for the Sunset. It turns out that they don’t call it Sunset Park for nothing. I’ll let the pictures speak for themselves.

IMG_3264

IMG_3264

IMG_3273

IMG_3273

IMG_3282

IMG_3282

After that I needed to get back, but I wanted to grab dinner first. Foursquare tried to get me to go to Tacos Matamoros but that was mainly a sit-downplace , so I ended up getting take out at Tacos El Bronco. It was very good, and obviously the neighborhood has no shortage of Mexican food!

Overall, I think this is a great place to spend the day or a few hours if you want to explore a lesser-known (especially to tourists) neighborhood of New York City. It’s also a fairly easy ride on the subway. Perhaps I’ll follow up with my take on other neighborhoods in the future!

Kicking off a Blog

Hi everyone!

I’ve been meaning to set up a blog for a while, and I finally sat down and took a few minutes to put it up. Much more difficult that the technical side of it is the content or “product” side. What will my new blog’s name be? What will it be about? How often will I post?

I decided not to let these questions get in the way of actually getting started. But I do in fact have some ideas based on my interests and level of knowledge. So, I listed some topics on my side bar to give me some ideas:

  1. Data Science: I’ve been doing this for about 4 years now at Foursquare, and I’ve spoken at conferences and meetups. Perhaps I can write some posts that explain how machine learning works to a general audience and how it’s integrated into all the applications that we use every day.

  2. Recommendation Systems: This is also what I do at Foursquare! Also software engineering, product design, NLP, etc.

  3. Technology innovation and projections: I like to take a look at the landscape of products being released and proposals being made by entrepreneurs and try to understand where opportunities for change could be, as well as try to predict how our daily lives will be different in the future.

  4. New York City: I live here! And if you read my twitter feed, you’ll see that I have a lot to say about it. What are all the different neighborhoods to explore? What about all these high rises going up in my Fort Greene neighborhood? I even took a few shots at the Mayor’s Uber proposal.

Now, I’m a little concerned that people interested in this topic may be less interested in the tech stuff and vice versa, which could confuse my blog audience. But I won’t have to worry about that unless I actually GET an audience.

So that’s kicking it off. I imported my old Tumblr posts earlier today. I still need to work on design. Any more ideas and  tips are welcome!!

Now hopefully if you come back in a year this post will be at least a few pages down.

Introducing Foursquare for the iPad, the best way to plan your holiday travels.

Introducing Foursquare for the iPad, the best way to plan your holiday travels.

Natural Language Processing at Foursquare

Last month, Maryam Aly and I gave a workshop for NYU tech week where we spoke about how Natural Language Processing is integrated into the Foursquare app and our technology stack. Later, we gave the students a hands-on introduction to the nltk toolkit.

Hakka Labs took video of the first part of the workshop and posted it. Here is it:

https://www.hakkalabs.co/articles/introduction-natural-language-processing

On this 4sqDay, we’re celebrating our amazing global community of superusers. Happy 4sqDay!

On this 4sqDay, we’re celebrating our amazing global community of superusers. Happy 4sqDay!

Digging into the Dirichlet Distribution

This is a link to my talk on the Dirichlet Distribution at the machine learning meetup:

http://www.hakkalabs.co/articles/the-dirichlet-distribution/

The open source project I’ve referenced lives here: https://github.com/maxsklar/BayesPy Feel free to jump in if you’re interested!  I have a paper on it that unfortunately did not get accepted to aistats (they cited lack of impact; I disagree).  I’ll try to fix it up and get it on arxiv in the next few weeks.