Categories
Current Events Tampa Bay Uncategorized

What’s happening in the Tampa Bay tech/entrepreneur/nerd scene (Week of Monday, April 1, 2019)

Every week, I compile a list of events for developers, technologists, tech entrepreneurs, and nerds in and around the Tampa Bay area. We’ve got a lot of events going on this week, and here they are!

This weekly list is posted as a voluntary service to the Tampa tech community. With the notable exception of Tampa iOS Meetup, which I run, most of this information comes from Meetup.com, EventBrite, and other local event announcement sites. I can’t guarantee the accuracy of the dates and times listed here; if you want to be absolutely sure that the event you’re interested in is actually taking place, please contact the organizers!

Monday, April 1

Tuesday, April 2

Wednesday, April 3

Thursday, April 4

Friday, April 5

Saturday, April 6

Sunday, April 7

Categories
Current Events Tampa Bay Uncategorized

What’s happening in the Tampa Bay tech/entrepreneur/nerd scene (Week of Monday, March 25, 2019)

Every week, I compile a list of events for developers, technologists, tech entrepreneurs, and nerds in and around the Tampa Bay area. We’ve got a lot of events going on this week, and here they are!

This weekly list is posted as a voluntary service to the Tampa tech community. With the notable exception of Tampa iOS Meetup, which I run, most of this information comes from Meetup.com, EventBrite, and other local event announcement sites. I can’t guarantee the accuracy of the dates and times listed here; if you want to be absolutely sure that the event you’re interested in is actually taking place, please contact the organizers!

Monday, March 25

Tuesday, March 26

Wednesday, March 27

Thursday, March 28

Friday, March 29

Saturday, March 30

Sunday, March 31

Categories
Current Events Tampa Bay Uncategorized

What’s happening in the Tampa Bay tech/entrepreneur/nerd scene (Week of Monday, March 18, 2019)

Every week, I compile a list of events for developers, technologists, tech entrepreneurs, and nerds in and around the Tampa Bay area. We’ve got a lot of events going on this week, and here they are!

This weekly list is posted as a voluntary service to the Tampa tech community. With the notable exception of Tampa iOS Meetup, which I run, most of this information comes from Meetup.com, EventBrite, and other local event announcement sites. I can’t guarantee the accuracy of the dates and times listed here; if you want to be absolutely sure that the event you’re interested in is actually taking place, please contact the organizers!

Monday, March 18

Tuesday, March 19

Wednesday, March 20

Thursday, March 21

Friday, March 22

Saturday, March 23

Sunday, March 24

Categories
Current Events Tampa Bay Uncategorized

What’s happening in the Tampa Bay tech/entrepreneur/nerd scene (Week of Monday, March 11, 2019)

Every week, I compile a list of events for developers, technologists, tech entrepreneurs, and nerds in and around the Tampa Bay area. We’ve got a lot of events going on this week, and here they are!

This weekly list is posted as a voluntary service to the Tampa tech community. With the notable exception of Tampa iOS Meetup, which I run, most of this information comes from Meetup.com, EventBrite, and other local event announcement sites. I can’t guarantee the accuracy of the dates and times listed here; if you want to be absolutely sure that the event you’re interested in is actually taking place, please contact the organizers!

Monday, March 11

Tuesday, March 12

Wednesday, March 13

Thursday, March 14

Friday, March 15

Saturday, March 16

Sunday, March 17

Categories
Current Events Tampa Bay Uncategorized

What’s happening in the Tampa Bay tech/entrepreneur/nerd scene (Week of Monday, March 4, 2019)

Every week, I compile a list of events for developers, technologists, tech entrepreneurs, and nerds in and around the Tampa Bay area. We’ve got a lot of events going on this week, and here they are!

This weekly list is posted as a voluntary service to the Tampa tech community. With the notable exception of Tampa iOS Meetup, which I run, most of this information comes from Meetup.com, EventBrite, and other local event announcement sites. I can’t guarantee the accuracy of the dates and times listed here; if you want to be absolutely sure that the event you’re interested in is actually taking place, please contact the organizers!

Monday, March 4

Tuesday, March 5

Wednesday, March 6

Thursday, March 7

Friday, March 8

Saturday, March 9

Sunday, March 10

 

Categories
Current Events Tampa Bay Uncategorized

What’s happening in the Tampa Bay tech/entrepreneur/nerd scene (Week of Monday, February 25, 2019)

Every week, I compile a list of events for developers, technologists, tech entrepreneurs, and nerds in and around the Tampa Bay area. We’ve got a lot of events going on this week, and here they are!

This weekly list is posted as a voluntary service to the Tampa tech community. With the notable exception of Tampa iOS Meetup, which I run, most of this information comes from Meetup.com, EventBrite, and other local event announcement sites. I can’t guarantee the accuracy of the dates and times listed here; if you want to be absolutely sure that the event you’re interested in is actually taking place, please contact the organizers!

Monday, February 25

Tuesday, February 26

Wednesday, February 27

Thursday, February 28

Friday, March 1

Saturday, March 2

Sunday, March 3

Categories
Uncategorized

Explaining the map, filter, and reduce functions with emoji, redux

Click the photo to see it at full size.

Pictured above: Josh Burke explaining a few of functional programming’s cornerstones at Burlington Code Academy, using a graphic I made a couple of years ago…

It’s based on a tweet by Steven Luscher:

The graphic got to this class by way of Googler Addy Osmani, who was contacted by Burlington Code Academy co-founder Alex Chaffee about using it in a class. Addy pointed Alex to me and Steven, and we both gladly gave our permission — although really, it’s Steven’s creation; I just turned it into a graphic.

Here’s the Alex’s tweet of the graphic in their class:

I didn’t want to stop at just making a graphic based on Steven Luscher’s tweet — I wanted to build on it by making it real! So I implemented these emoji functions in Swift…

// Map

func cook(_ item: String) -> String {
  let cookupTable = [
    "🐮": "🍔", // Cow face -> burger
    "🐄": "🍔", // Cow -> burger
    "🐂": "🍖", // Ox -> meat on bone
    "🐷": "🍖", // Pig face -> meat on bone
    "🐽": "🍖", // Pig nose -> meat on bone
    "🐖": "🍖", // Pig -> meat on bone
    "🐑": "🍖", // Sheep -> meat on bone
    "🐐": "🍖", // Goat -> meat on bone
    "🐔": "🍗", // Chicken -> poultry leg
    "🦃": "🍗", // Turkey -> poultry leg
    "🐸": "🍗", // Frog  -> poultry leg (no frog leg emoji...yet)
    "🐟": "🍣", // Fish -> sushi
    "🐠": "🍣", // Tropical fish -> sushi
    "🐡": "🍣", // Blowfish -> sushi
    "🐙": "🍣", // Octopus -> sushi
    "🍠": "🍟", // (Sweet) potato -> French fries
    "🌽": "🍿", // Corn -> popcorn
    "🌾": "🍚", // Rice -> cooked rice
    "🍓": "🍰", // Strawberry -> shortcake
    "🍂": "🍵", // Dried leaves -> tea
  ]
  if let cookedFood = cookupTable[item] {
    return cookedFood
  }
  else {
    return "🍽" // Empty plate
  }
}

let cookedFood = ( ["🐮", "🍠", "⚽️", "🐔", "🌽"].map { cook($0) } )
// cookedFood == ["🍔", "🍟", "🍽", "🍗", "🍿"]


// Filter

func isVegetarian(_ item: String) -> Bool {
  let vegetarianDishes = Set([
    "🍟", // French fries
    "🍿", // Popcorn
    "🍚", // Cooked rice
    "🍰", // Shortcake
    "🍵", // Tea
  ])
  return vegetarianDishes.contains(item)
}

let meatFree = ["🍔", "🍖", "🍟", "🍽", "🍗", "🍿", "🍰"].filter { isVegetarian($0) }
// meatFree == ["🍟", "🍿", "🍰"]


// Reduce

func eat(_ previous: String, _ current: String) -> String {
  let qualifyingFood = Set([
    "🍔", // Burger
    "🍖", // Meat on bone
    "🍗", // Poultry leg
    "🍣", // Sushi
    "🍟", // French fries
    "🍿", // Popcorn
    "🍚", // Cooked rice
    "🍰", // Shortcake
  ])
  if (previous == "" || previous == "💩") && qualifyingFood.contains(current) {
    return "💩" // Poop
  }
  else {
    return ""
  }
}

let aftermath = ["🍔", "🍟", "🍗", "🍿"].reduce("", combine: eat)
// aftermath == "💩"

…and they’re in a Swift playground, which you can copy from this Gist or download here.

My thanks to Steven Luscher for starting the whole thing, Addy Osmani for helping make the connections, and Alex Chaffee and Josh Burke for using the graphic! I’d also like to thank everyone involved for helping to make map, filter, and reduce easier to understand for new programmers — they can be strange concepts at first.