fbpx
Home Blog Page 1447

How Much Do You Know About Chile?

0
How Much Do You Know About Chile?

Can you find Chile on a map? What else do you know about this South American nation with 18 million people?

What Foods Best Represent Your Hometown?

0
What Foods Best Represent Your Hometown?

Imagine that someone who has never visited the place where you live wants you to recommend three meals prepared by local restaurants or chefs that best represent your hometown’s people and culture.

Where would you send this person for breakfast, lunch and dinner? What foods would you suggest they eat?

In “A Day in Houston: 3 Meals, 3 Cultures, One City,” Sebastian Modak describes a one-day eating adventure in this Texas city. Houston’s diversity led him to eat dim sum, barbecue and Afghan cuisine. He writes:

At first glance, much of Houston looks alike. Making your way out of the “Loop,” the I-610 highway that circles the city center like a shirt collar, skyscrapers give way to manicured office parks and strip malls, each seemingly a carbon copy of the last. But when you look a little closer, you notice that in one of those strip malls, all the business names carry the tonal accents of written Vietnamese. In another, two Indian restaurants sit on either side of a service specializing in money transfers to Central America. In a nearby parking lot, a family — the men wearing skullcaps and knee-length agbada shirts and the women in brightly patterned hijabs — loads up a sedan with the ingredients for a meal that I imagine tastes like another home, thousands of miles away.

Houston is widely considered to be one of the most culturally diverse cities in the world. According to the city’s planning department, 48 percent of residents speak a language other than English — and more than 145 languages are spoken in the city. Twenty-nine percent of the population is foreign-born.

… So, feeling a kind of kinship with all those Houstonians who live between worlds based on my own unmoored and multicultural background, I leaned into it. I ate more than I should have and blew my Uber budget pretty quickly, but over three meals in a single day, I found a Houston I never imagined existed in the cracks between SUV-clogged freeways and oil-boom money.

Students, read the entire article, then tell us:

— If Mr. Modak visited your hometown, where would you send him to eat? What foods would you recommend that he try? What do you hope he would learn and appreciate about your hometown by eating like a local for just one day?

— Are there dishes or cuisines that are popular where you live that you simply don’t like or rarely, if ever, eat? Would you still suggest them to visitors for the sake of having “the local experience”? Why or why not?

— Have you ever traveled to a new place and ate dishes that, though popular there, were unfamiliar to you? If so, recount your experience.

— What stops, if any, that Mr. Modak made at Houston restaurants are places you’d also like to visit? What would you eat there?

Students 13 and older are invited to comment. All comments are moderated by the Learning Network staff, but please keep in mind that once your comment is accepted, it will be made public.

What’s Going On in This Picture? | March 4, 2019

0
What’s Going On in This Picture? | March 4, 2019

Students

1. After looking closely at the image above (or at the full-size image), think about these three questions:

• What is going on in this picture?

• What do you see that makes you say that?

• What more can you find?

2. Next, join the conversation by clicking on the comment button and posting in the box that opens on the right. (Students 13 and older are invited to comment, although teachers of younger students are welcome to post what their students have to say.)

3. After you have posted, try reading back to see what others have said, then respond to someone else by posting another comment. Use the “Reply” button or the @ symbol to address that student directly.

Each Monday, our collaborator, Visual Thinking Strategies, will facilitate a discussion from 9 a.m. to 2 p.m. Eastern Time by paraphrasing comments and linking to responses to help students’ understanding go deeper. You might use their responses as models for your own.

Your guide to International Women’s Day

0
Your guide to International Women’s Day

In the era of #MeToo and Time’s Up, International Women’s Day (IWD), held annually on March 8, is a focal point in the movement for women’s rights.

Each year IWD is marked around the globe by both protest and celebration. With slow (yet unrelenting) progress being made in the fight for gender equality, IWD has gained major momentum in recent years, as women around the world have collectively declared that, in the words of Oprah, “a new day is on the horizon.”

In Australia there has been some progress – the gender pay gap is the lowest it’s been in 20 years[i] and the number of women on boards of ASX-listed companies grew from 8.3% in 2009 to 26.2% in 2017[ii]. But there is still some significant ground to cover. In 2017, we also slipped dramatically on the global index measuring gender equality to 35th, from a much more respectable 15th back in 2006[iii].

So whether you choose to spend this IWD hitting the streets in protest for women’s rights, or playing Beyonce’s Run the World (Girls) on repeat, here’s a quick run-down on all you need to know for IWD 2019.

How to get involved

This year, the campaign theme for IWD is #BalanceforBetter – a call-to-action for driving gender balance in business, government, media coverage and wealth. This Friday you can become part the global movement to raise awareness for women’s rights by visiting www.internationalwomensday.com where you can access everything from downloadable IWD selfie cards, through to tips on how to strike the #BalanceforBetter “hands out” pose, which can be a great way to also get your family, friends and workmates involved.

Bust out the purple

On March 8, we wear… purple!

Purple is the official colour for IWD….in fact purple has a rich
history in the efforts to achieve gender equality, as it represents “the royal
blood that flows in the veins of every suffragette.” So if you want to
represent on March 8 (and beyond) then a splash of purple is the way to go.

Brush up
on your history

The
earliest Women’s Day, called “National Woman’s Day,” was held on
February 28, 1909 in New York, at the suggestion of Russian-born American labour
activist, suffragist and all-round legend, Theresa Malkiel. Over the years, the
concept of a day to promote women’s rights, including suffrage for women,
continued to evolve, until 1975 when the United Nations began celebrating
International Women’s Day, with the United Nations General Assembly proclaiming
March 8 as the official UN Day for women’s rights and world peace in 1977.

Want to learn
more?

OUA offers a range of undergraduate subjects in the area of gender studies, including everything from Macquarie University’s ‘Foundations in Gender Studies’ through to ‘Gender, Crime and Justice’ from Griffith University and ‘Naughty Boys, Bad Girls: Gender and Discipline at Home and at School’, also from Macquarie University.

To express your interest in any courses that we offer – fill out the form on this page, and we’ll put you in touch with a friendly student advisor. If you’re keen to explore on your own, simply head over to our website to browse the extensive catalogue of courses from universities across Australia.


[i] https://www.wgea.gov.au/data/fact-sheets/australias-gender-pay-gap-statistics

[ii] https://www.humanrights.gov.au/education/face-facts/face-facts-gender-equality-2018

[iii] http://www3.weforum.org/docs/WEF_GGGR_2018.pdf

Updates to our Java Content

0
Updates to our Java Content

Good news! We’re updating several lessons in our Java curriculum to pave the way for more Java content in the future. You’ll now have an improved experience learning Java on our site.

Why?

Our lessons can always improve! Before these updates, our Java content spanned a lot of topics at a quick pace and ended leaving you wanting more.

We’ve seen the overwhelming demand for Java content, so we decided to rewrite our courses so that they explore these topics at a slower pace and in more depth. These changes lay the foundation for the expansive Java curriculum we’ll be releasing in the months to come.

How does this impact you?

If you’ve previously started or completed any of the Java lessons: Introduction to Java, or Object-Oriented Java, you will notice updates to the exercise order, the narratives, and code.

The lesson on Data Structures has been removed and will be reintroduced in mid-April. Conditionals and Control Flow will also be updated at that time.
If you’ve previously completed these lessons, some of your progress will be lost; when revisiting any of the exercises, you’ll notice changes to workspace code. If you were in the middle of a lesson, you will lose your progress.

Even if you’ve completed these older lessons, we highly encourage you to take the new and improved versions.

When?

The lessons will be updated beginning at 9:00 AM EST on Thursday, March 7th, 2019. We expect the updates to be finalized by 10:00 AM EST the same day. During this time, the Learn Java course will be unavailable.
Take a look below to get an overview of the updates.

Changes to Introduction to Java

These lessons will still teach the same material included in older versions but will have a new and improved feel that explores each topic more deeply.

More depth means more lessons! Our older content had a single lesson that introduced the language, data types, and operators.

Our new content has three lessons exploring the same topics, as well as some new areas.

Introduction to Java Lesson now covers:

  • Compiling
  • IDEs & Program Structure

Variables and Data Types Lesson now covers:

  • The String object
  • The .equals() method
  • String concatenation

TL;DR:

We’re updating our Java content so it explores topics in greater depth and provides more opportunities for learning and practice. The Data Structures lesson will be temporarily unavailable during the change.

Ask a Data Engineer: Warby Parker Edition 👓

0
Ask a Data Engineer: Warby Parker Edition 👓

wp-header

Codecademy’s very own Nick Duckwiler (left) and Ryan Tuck from Warby Parker (right) in our office. (📷: Mitch Boyer)

Last month, Codecademy and Warby Parker came together to work on a special Learn SQL from Scratch Capstone Project. It was during this time when I met Ryan Tuck, a Data Engineer at Warby, who played a major part in this partnership. So when he decided to drop by our office for the final QA round, I had to break out my notebook and ask some questions. Enjoy.


Hey Ryan, let’s start off with a question I’ve had for a while — what is a Data Engineer? (Is it similar to a Data Analyst or a Software Engineer?)

At Warby Parker, data engineers are responsible for creating and maintaining the plumbing required to support the data and reporting needs of the business. We use software engineering practices to automate the work of data cleaning, normalizing, and model building so that data is always ready to be consumed by data analysts in every department.

What languages/frameworks do you use at Warby?

On data engineering, we use Python as our general purpose programming language, as do most of the other teams in our Technology department. When it comes to databases, we use PostgreSQL for the majority of our SQL needs, and are beginning to use Amazon Athena and Google BigQuery for some of our larger datasets. We use Looker as our exclusive business intelligence entry point to all of this data.

What are some of the projects you worked on?

I’ve had the privilege of working with a lot of of smart people in every department at our company to help them solve their varied data needs, from reconciling financial data with the Accounting team to automating and modeling standardized performance metrics for our team of over 200 customer experience advisors.

As part of a team of five supporting the data needs of a rapidly growing company, I’ve tried where possible to focus on helping our analysts solve their own problems. This includes helping people learn Python and commit to our codebase, guiding the creation of data models in SQL, and encouraging people to submit pull requests to add features in Looker, our BI tool.

Seeing dozens of otherwise “non-technical” colleagues opening up PRs on a daily basis, and consequently being part of the democratization of tech that we value at Warby Parker, is probably the most rewarding “project” I’ve been a part of.

One project finished recently during our first annual “Hackweek” is called Pipes, which allows anyone at the company to easily move large amounts of data from wherever to wherever (Looker, Google Sheets, PostgreSQL, BigQuery, etc) on a regular cadence, or manually through a simple one-line chatbot interface. The adoption has been overwhelmingly positive and we’re looking to grow this sort of tooling out even more.

“We use software engineering practices to automate the work of data cleaning, normalizing, and model building so that data is always ready to be consumed by data analysts in every department.”

What got you into the data field?

I’ve always been drawn to analytical fields like math, and became pretty proficient in Excel during some internships in college. Once I had learned to program and learned more about data science and its applications in artificial intelligence, I knew that anything I could do to immerse myself in the world of data would be a step in the right direction.

Three and a half years ago, I landed a job as a junior software engineer at Warby Parker not fully knowing what I was in for, but am so glad I got the opportunity to help build tools to support an interesting and ever-changing data-driven culture here.

Where did you learn SQL and Python?

I had a background in C++, and was exposed to Python through an Intro to Data Science course. When Warby Parker hired me onto the Data team in 2015, I had never written a SQL query in my life, but picked it up quickly and within a few months started up internal SQL training classes, which I still teach on a monthly basis.

What does your tattoo say?


The ultimate cheatsheet.

This is Bayes’ Theorem, which is an equation that describes how to update probabilities given new evidence. Two summers ago I worked on building a tool to help predict weekly fantasy football performance. Some colleagues suggested a Bayesian approach would be appropriate, since there aren’t really enough data points in an NFL season to be able to use statistical approaches that require larger datasets, and I’d want to regularly update my predictions after each player’s latest performance.

I did a deep dive into understanding the (simple) math underlying Bayes’ Theorem and came out of that experience with a whole new worldview, understanding my entire knowledge of the world as a big and intricate probabilistic model that I was continuously updating with every experience I ever have. It was pretty transformative, and I figured that was worth a tattoo.

What is a concept in SQL/Python that’s essential to your work?

Donald Knuth said, “Premature optimization is the root of all evil.” I’ve generally found this to be true, and try to live by it in my work. For example, I’ll generally prefer to keep a data model simple by rebuilding it for all time on a daily basis using a single SQL query instead of making a more complicated model that requires iteratively adding to a table, keeping track of state, updated timestamps, when something last ran, etc.

A wise man once said, “Duplicating data makes things go fast,” but databases are already impressively fast to begin with, without implementing anything to improve performance. Ultimately, I almost always approach a problem thinking about optimizing for my time over machine time, for readability over performance, and for introducing as little cognitive overhead as is required by the problem at hand. Only once performance issues or readability issues present themselves will some code be worth a rewrite.

Last question! Since you wrote Warby Parker’s internal SQL training courses, I know there gotta be some inner Curriculum Developer in you. Can you teach a SQL concept in 2 minutes?

Sure! Have you ever written a query that yields some result set and you think, “I’d love to query the stuff I just produced like it was a table?” Enter the WITH clause.

Suppose I have a mega query that gives the transaction summaries:

select
    transactions.date as transaction_date,
    sum(items.price) as total_cost,
    count(*) as number_of_items
from
    transactions
inner join
    customers
    on
    customers.id = transactions.customer_id
inner join
    transaction_items
    on
    transactions.id = transaction_items.transaction_id
inner join
    items
    on
    items.id = transaction_items.item_id

Using WITH, I can create a temporary table within my query that I can SELECT from and treat it just like a regular old table.

I will put everything from the previous query in a parentheses and use WITH to give it the name transaction_summaries.

Then I’ll apply the date and customer filtering down below for a more readable query, to separate out all the JOIN logic from the actual WHERE filters that I want to apply on that data.

with transaction_summaries as (
  select
      transactions.date as transaction_date,
      sum(items.price) as total_cost,
      count(*) as number_of_items
  from
      transactions
  inner join
      customers
      on
      customers.id = transactions.customer_id
  inner join
      transaction_items
      on
      transactions.id = transaction_items.transaction_id
  inner join
      items
      on
      items.id = transaction_items.item_id
)

select 
        * 
from 
        transaction_summaries
where 
        first_name = 'beyonce'
        and 
        transaction_date > '2018–01–01'
order by 
        total_cost desc
limit 
        5

If you’re familiar with subqueries, this does a similar thing but makes the SQL far more readable, even if your query isn’t quite as performant as it would have been. This is essentially an implementation of the mantra “Don’t Repeat Yourself” that’s common in the world of programming.

Incredible. And love the SQL styling! 😍


Huge shout out to Ryan and the whole Warby Parker team for making this partnership happen. Special hat tips for behind-the-scenes support from:

  • Lon Binder, Chief Technology Officer, Warby Parker
  • Maddie Tierney, Executive Assistant, Warby Parker
  • Kayla Robbins, Executive Assistant, Warby Parker
  • Kaki Read, Senior Communications Manager, Warby Parker
  • Isabel Seely, Senior Brand Manager, Warby Parker

It’s been an absolute pleasure. And of course, the fam at Codecademy. You know who you are. Couldn’t do it without you.

Ask a Software Engineer: Airbnb Edition 🏡

0
Ask a Software Engineer: Airbnb Edition 🏡
A Day in the Life of a Software Engineer (via Life of Luba)

With Airbnb came a revolution of sorts in the world of vacation travel and culture. We sat down with Luba Yudasina, a YouTuber, an opera singer, and a Software Engineer on the Airbnb’s Homes Platform team, to discuss software engineering and her programming journey—from Codecademy to Airbnb!


Hey Luba, let’s start with the basics! What does a Software Engineer on the Platform team do at Airbnb?

Homes Platform’s mission is to create the building blocks to power all Homes categories. Any project undertaken by our team should be reusable and extensible in some way. This means that as a backend engineer, I have a lot of opportunities to work on impactful technical projects that create systems and services to support Homes, as well as collaborate across teams to come up with the best architectural decisions and designs.

Recently, our team wrote a blog post on classifying Room Types into categories using Machine Learning and computer vision. The room-type classification problem largely resembles the ImageNet classification problem, except our team’s model outcomes are customized room-types.

After a few experiments with various models, the team chose ResNet50 due to its good balance between model performance and computation time. To make it compatible with our use case, we added two extra fully connected layers and a Softmax activation in the end.

Categorizing listing photos into room types (via the Airbnb Engineering & Data Science blog)

What languages/frameworks do you use at Airbnb?

At Airbnb we use Ruby, Java, Kotlin, JavaScript, Swift, Ruby on Rails, React for frontend, iOS and Android for native development.

Let’s rewind a little bit. Coming from a chemical engineering background in college, how did you make the switch into programming?

I went to the University of Waterloo in Canada—a university with the biggest co-op program in the world. Co-op means that to obtain a bachelor’s degree you must complete a certain number of internships. If you are in Engineering at Waterloo, you must complete 5 internships to graduate.

In my first and second years, I interned at chemical engineering companies and afterwards I couldn’t see myself working in the field full-time. That’s why I’m particularly grateful that I studied at Waterloo: if not for co-op, I probably would not have realized I didn’t want to work in chemical engineering until getting a full-time job after graduation.

I happened to have a lot of friends in Computer Science and Software Engineering right when I realized Chem Eng wasn’t for me. They really encouraged me to try coding, and when I decided to follow their lead I never looked back! My first online programming course was Web Development on Codecademy 🙂

“It’s a really cool time to be a software engineer and even cooler to be a female software engineer, because this is the time when women start to embrace their own unique identities and be ok with not being ‘one of the dudes.'”
-Luba Yudasina

How did you land an internship at Yelp?

When I decided I wanted to learn computer science on my own, my goal was to get an internship in the field because working as a software engineer at a tech company would be the best test to really know if it was for me.

I happened to be in Munich, Germany on academic exchange for a whole year when I was learning how to code, so I hustled as much as I could while being there to get experience to learn quicker and have something to put down on my tech resume.

Almost immediately after arriving in Germany, I got a part time job as a developer at a game publishing company. I had a good friend in Computer Science at my German university: her and I ended up working on an Android app as a side project, etc. When I was ready, I started preparing for technical interviews. I then leveraged my network to refer me to companies and do mock technical interviews with me.

Yelp was really random though—a Yelp recruiter looked at my LinkedIn profile and didn’t even message me, but I messaged them anyway asking about internship opportunities, and that’s how I got my interview there!

1_EHELVEIPNp19gv_RsIU-Ng

Airbnb HQ in San Franciso

What is an essential app/item in your day-to-day?

Code searching! A lot of software engineering is problem solving and a lot of it is understanding other people’s code and the reasoning behind writing it a certain way. Searching through the codebases is almost essential to my day to day. Whenever I build something new or build on top of already existing tech, I need to understand how it works and is written, and code search is vital to this.

At Airbnb we use Google’s Codesearch for these purposes, but developers (myself included) also frequently use their IDEs to search for relevant code. I mostly use RubyMine or IntelliJ (depending on the codebase I’m working with).

In your videos, you’ve mentioned the intersection of gender and technology. Can you speak a bit more about that?

It’s a really cool time to be a software engineer and even cooler to be a female software engineer, because this is the time when women start to embrace their own unique identities and be ok with not being “one of the dudes.”

I think it’s particularly important to redefine the stereotypes, and I hope that with my own example I can show young girls and women interested in the field that you don’t have to give up your feminine side to be a software engineer and still be into fashion, or makeup, or art (I personally sing opera) and have other interests outside of coding and be successful in the field.

Before we wrap up, do you have anything else you would like to say to our learners?

Don’t be discouraged, learn and absorb as much as you can! If you don’t understand a concept or can’t build a project right away, know that with practice, perseverance and concentration you will get there!

Take advantage of such amazing tools as Codecademy that are there for you to take and learn. Learning anything new can be frustrating, but knowing that you can do it, staying curious, asking questions and not losing your motivation is the key to success.


Huge shoutout to Luba for this insightful interview. It’s always incredibly moving to see a Codecademy learner go on to do bigger things. Go subscribe to her YouTube channel, Life of Luba.

And thank you to the whole Homes Platform/Engineering team at Airbnb for the support. Check out their wonderful open source projects on airbnb.io.

Momo

0
Momo

Have you ever heard of Momo, the demon character who is said to pop up on YouTube videos and menace children? What have you heard? Do you believe the stories about her?

What other myths, urban legends and creepypasta scare you? Do you believe any of them? What do you think makes stories like these go viral?

Tell us in the comments, then read the related article to learn about the moral panic around Momo.

Find many more ways to use our Picture Prompt feature in this lesson plan.

Word + Quiz: exacerbate

0
Word + Quiz: exacerbate

1. make worse

2. irritate

_________

The word exacerbate has appeared in 562 articles on NYTimes.com in the past year, including on Feb. 26 in “Oregon to Become First State to Impose Statewide Rent Control” by Mihir Zaveri:

Some say that by limiting the amount of rent landlords can collect, they will take the properties off the market, limiting the housing supply at a time when there already is a crunch.

“While the intent of rent control laws is to assist lower-income populations, history has shown that rent control exacerbates shortages, makes it harder for apartment owners to make upgrades and disproportionally benefits higher-income households,” Doug Bibby, president of the National Multifamily Housing Council, which represents the apartment industry, said in a statement Tuesday about the Oregon bill.

_________

Learning With: ‘“Mockingbird” Producer Reconsiders, Letting Local Plays Go Forward’

0
Learning With: ‘“Mockingbird” Producer Reconsiders, Letting Local Plays Go Forward’

Before reading the article:

Have you read Harper Lee’s novel “To Kill a Mockingbird”? Have you ever watched a movie or play version of the novel? If so, what are your thoughts?

Are you aware there is a new theatrical production of “To Kill a Mockingbird,” written by Aaron Sorkin, that premiered on Broadway in late 2018?

Read this excerpt from the New York Times review by Jesse Green:

Also effective, exhilarating even, are the interventions by which Mr. Sorkin set out to correct — or, let’s say, extrapolate — the novel’s politics for our time.

He had to do something. In a novel, we accept the worldview of the narrator, however limited or objectionable. Scout, who is barely 6 at the start of the story, can use words in print that would make her instantly unsympathetic onstage. We also accept that a first-person portrait of a white child’s moral awakening to racism will primarily focus on how it affects the white people around her.

But onstage, a work about racial injustice in which its principal black characters have no agency would be intolerable, so Mr. Sorkin makes a series of adjustments. With Scout’s point of view subordinated, we see Atticus through our own eyes instead of hers, making him the firm center of the story.

This gives Mr. Sorkin room to expand the roles of the two main black characters Atticus deals with: his client Tom (Gbenga Akinnagbe) and his housekeeper, Calpurnia. In Tom’s case, the expansion is subtle, largely a matter of giving him the dignity of voicing his own predicament. “I was guilty as soon as I was accused,” he says — adapting a line that was Scout’s in the book.

Calpurnia (LaTanya Richardson Jackson) gets a bigger remake. Bossy toward the children but deferential toward white adults in Lee’s account, she serves in the play as Atticus’s foil and needling conscience. Mocking his argument that Maycomb needs more time to overcome racism, she says, “How much time would Maycomb like?” Their tart but loving squabbles remind Scout of hers with Jem: They behave, she realizes, like brother and sister.

If you’re interested in learning more, then read the entire review. Does the review make you want to see the play? Why?

Now, read the article, “‘Mockingbird’ Producer Reconsiders, Letting Local Plays Go Forward,” and answer the following questions:

1. Who is Scott Rudin? What “barrage of criticism” did he face? Why?

2. What did Mr. Rudin do as an attempt to make peace with the theater companies affected by the contractual provision he holds for his version of the play “To Kill a Mockingbird”?