SlideShare a Scribd company logo
1 of 19
Download to read offline
ADVENT OF CODE
CARLOS MORENO
ADVENT
DEFINITION
Count the days of Advent in anticipation of
Christmas. The term is a version of the Latin
word meaning "coming".
Advent is the first season of the Christian year
and commences on the fourth Sunday before
Christmas (sometimes known as Advent
Sunday)
Advent is a season observed in many Christian
churches as a time of expectant waiting and
preparation for the celebration of the Nativity
of Jesus at Christmas
OTHER
PROGRAMING
ADVENT
CALENDARS
JAVA https://www.javaadvent.com/
FRONT END https://advent2017.digitpaint.nl/
PERL http://perladvent.org/2017/
PERL6 https://perl6advent.wordpress.com/2017/12/01/
AWS https://www.awsadvent.com/aws-advent-2016/
WEB DEVELOPMENT https://24ways.org/
PERFORMANCE https://calendar.perfplanet.com/2017/
UX https://uxmas.com/
www.adventofcode.com by Eric Wastl
Why should you do it? Learn new language, improve problem solving skills,
just for the challenge, competition, fill github cv.
How does it
work?
https://adventofcode.com/2018
25 coding problems one per advent calendar day
Timer for the opening of the next problem
Greyed out drawing made by 25 lines
Each line will be lighted/animated if the problem for that day
is solved (show difference)
Each problem has two parts
You will get one start per part solved so 50 starts in total
STORY ON DAY 1
2015
2016
2017
PUZZLES
Describe a challenge that has to be solved
Not written in simple English, so not that easy to understand
They have references to real concepts with links to
Wikipedia. Also some funny stuff like
https://adventofcode.com/2017/day/14
This concepts are not generally needed to solve the problem
(only sometimes)
There is an example to understand the problem and test
your solution
HOW TO
ADDRESS
PUZZLES
Start time midnight eastern US time (6am Spain and Gib)
The input could be a string of characters, a number, many
lines of inputs, etc
Get ready to read the input in any of those ways, you need
to handle it as fast as possible.
Use the example to test your algorithm. It is usually much
smaller than the real input
After solving the problem submit your result, an Integer
You can solve the solution with a deterministic way or with
brute force (using processor power to guess the result)
https://adventofcode.com/2017/day/8/input
OR
You get feedback on your answer
But you cannot guess the answer, 1 minute
wait
PART TW0
• Second part usually depends on the first one. Input is the result of
first one or it is a algorithm modification (complication) of the first
one.
• Good code or a proper approach in the first part will help to solve the
second part.
Leaderboard
• https://adventofcode.com/2017/leaderboard
• 1 point per position in the 100 first positions. 1st 100, 2nd 99, …
• 100 points x 2 parts x 25 days = 5000 possible points
• Only 100 first shown, globally and per day
• Each user is anonymous, show name or link to authentication account: GitHub, Google,
Twitter or Reddit. GitHub is my favorite because people share their code
• For each of the days you will know how long it took for them to give the right solution
(much faster than you!)
GIB DEVS
Private
Leaderboard for
advent of code
Code: 25688-
fcbb1b8e (I will
share it on
meetup page)
SLACK
WORKSPACE:
gibdevs.slack.com
(give me your
email)
Slack channel:
#adventofcode
GENERAL TIPS
REDDIT
• https://www.reddit.com/r/adventofcode/
• https://www.reddit.com/r/adventofcode/wiki/solution_megathreads
Eric Wastl posts:
• https://www.reddit.com/r/adventofcode/comments/7idn6k/question_why
_does_the_difficulty_vary_so_much/dqy08tk/
“For me some are very hard but most of them a doable”
• https://www.reddit.com/r/adventofcode/comments/7kd8jt/what_would_y
ou_say_are_the_minimal_skills_for/dre0uu3/
All of this falls into a capacity that I broadly categorize as "aptitude". The
common thing to confuse this with is "knowledge"
GITHUB
https://github.com/search?q=adv
ent+of+code more than 13,000
repository results
• https://github.com/CarlosMela/
adventofcode2015
• https://github.com/CarlosMela/
adventofcode2016
• https://github.com/CarlosMela/
adventofscala2017
SUPPORT
• You can donate
https://adventofcode.com/support
• Participate from 1$
• You will get a supporter badge on pages related
to events you've supported
THANK YOU!
SEE YOU IN NEXT GIB
SOFWARE DEVELOPMENT
COMMUNITY MEETUP

More Related Content

Similar to Advent of Code

7 crazy tips that will help you
7 crazy tips that will help you7 crazy tips that will help you
7 crazy tips that will help you
Jessica Wilson
 
Community Organizing Tools from the Experts Webinar
Community Organizing Tools from the Experts WebinarCommunity Organizing Tools from the Experts Webinar
Community Organizing Tools from the Experts Webinar
NTEN
 

Similar to Advent of Code (20)

API Simplicity + Consistency == Speed: Designing APIs That Are Easy and Fun t...
API Simplicity + Consistency == Speed: Designing APIs That Are Easy and Fun t...API Simplicity + Consistency == Speed: Designing APIs That Are Easy and Fun t...
API Simplicity + Consistency == Speed: Designing APIs That Are Easy and Fun t...
 
API Simplicity == Speed; Designing APIs That are Easy and Fun to Use
API Simplicity == Speed; Designing APIs That are Easy and Fun to UseAPI Simplicity == Speed; Designing APIs That are Easy and Fun to Use
API Simplicity == Speed; Designing APIs That are Easy and Fun to Use
 
10 Things I Hate about DevOps
10 Things I Hate about DevOps10 Things I Hate about DevOps
10 Things I Hate about DevOps
 
WIP: A Couple Exercises and Some Simple Math
WIP: A Couple Exercises and Some Simple MathWIP: A Couple Exercises and Some Simple Math
WIP: A Couple Exercises and Some Simple Math
 
DOSUG Intro to google prediction api
DOSUG Intro to google prediction apiDOSUG Intro to google prediction api
DOSUG Intro to google prediction api
 
Transpiler’s are here to stay
Transpiler’s are here to stayTranspiler’s are here to stay
Transpiler’s are here to stay
 
Sacrificing the golden calf of "coding"
Sacrificing the golden calf of "coding"Sacrificing the golden calf of "coding"
Sacrificing the golden calf of "coding"
 
Ten tips for word press success
Ten tips for word press successTen tips for word press success
Ten tips for word press success
 
Beyond the Hack
Beyond the HackBeyond the Hack
Beyond the Hack
 
LaunchNJ: Product Design Sprints
LaunchNJ: Product Design SprintsLaunchNJ: Product Design Sprints
LaunchNJ: Product Design Sprints
 
How to adopt React for moving fast startup
How to adopt React for moving fast startupHow to adopt React for moving fast startup
How to adopt React for moving fast startup
 
Meet a 100% R-based CRO. The summary of a 5-year journey
Meet a 100% R-based CRO. The summary of a 5-year journeyMeet a 100% R-based CRO. The summary of a 5-year journey
Meet a 100% R-based CRO. The summary of a 5-year journey
 
Meet a 100% R-based CRO - The summary of a 5-year journey
Meet a 100% R-based CRO - The summary of a 5-year journeyMeet a 100% R-based CRO - The summary of a 5-year journey
Meet a 100% R-based CRO - The summary of a 5-year journey
 
UC Irvine WICS workshop feb 2017
UC Irvine WICS workshop feb 2017UC Irvine WICS workshop feb 2017
UC Irvine WICS workshop feb 2017
 
Building Community
Building CommunityBuilding Community
Building Community
 
Continuous Deployment
Continuous DeploymentContinuous Deployment
Continuous Deployment
 
7 crazy tips that will help you
7 crazy tips that will help you7 crazy tips that will help you
7 crazy tips that will help you
 
Planning JavaScript and Ajax for larger teams
Planning JavaScript and Ajax for larger teamsPlanning JavaScript and Ajax for larger teams
Planning JavaScript and Ajax for larger teams
 
Community Organizing Tools from the Experts Webinar
Community Organizing Tools from the Experts WebinarCommunity Organizing Tools from the Experts Webinar
Community Organizing Tools from the Experts Webinar
 
Introjs10.5.17SD
Introjs10.5.17SDIntrojs10.5.17SD
Introjs10.5.17SD
 

Recently uploaded

%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
masabamasaba
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
VictorSzoltysek
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
masabamasaba
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
Health
 

Recently uploaded (20)

Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
Exploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdfExploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdf
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
 
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...
 
10 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 202410 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 2024
 
The Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdfThe Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdf
 

Advent of Code

  • 2.
  • 3. ADVENT DEFINITION Count the days of Advent in anticipation of Christmas. The term is a version of the Latin word meaning "coming". Advent is the first season of the Christian year and commences on the fourth Sunday before Christmas (sometimes known as Advent Sunday) Advent is a season observed in many Christian churches as a time of expectant waiting and preparation for the celebration of the Nativity of Jesus at Christmas
  • 4. OTHER PROGRAMING ADVENT CALENDARS JAVA https://www.javaadvent.com/ FRONT END https://advent2017.digitpaint.nl/ PERL http://perladvent.org/2017/ PERL6 https://perl6advent.wordpress.com/2017/12/01/ AWS https://www.awsadvent.com/aws-advent-2016/ WEB DEVELOPMENT https://24ways.org/ PERFORMANCE https://calendar.perfplanet.com/2017/ UX https://uxmas.com/
  • 5. www.adventofcode.com by Eric Wastl Why should you do it? Learn new language, improve problem solving skills, just for the challenge, competition, fill github cv.
  • 6. How does it work? https://adventofcode.com/2018 25 coding problems one per advent calendar day Timer for the opening of the next problem Greyed out drawing made by 25 lines Each line will be lighted/animated if the problem for that day is solved (show difference) Each problem has two parts You will get one start per part solved so 50 starts in total
  • 7. STORY ON DAY 1 2015 2016 2017
  • 8. PUZZLES Describe a challenge that has to be solved Not written in simple English, so not that easy to understand They have references to real concepts with links to Wikipedia. Also some funny stuff like https://adventofcode.com/2017/day/14 This concepts are not generally needed to solve the problem (only sometimes) There is an example to understand the problem and test your solution
  • 9. HOW TO ADDRESS PUZZLES Start time midnight eastern US time (6am Spain and Gib) The input could be a string of characters, a number, many lines of inputs, etc Get ready to read the input in any of those ways, you need to handle it as fast as possible. Use the example to test your algorithm. It is usually much smaller than the real input After solving the problem submit your result, an Integer You can solve the solution with a deterministic way or with brute force (using processor power to guess the result)
  • 11. You get feedback on your answer But you cannot guess the answer, 1 minute wait
  • 12. PART TW0 • Second part usually depends on the first one. Input is the result of first one or it is a algorithm modification (complication) of the first one. • Good code or a proper approach in the first part will help to solve the second part.
  • 13. Leaderboard • https://adventofcode.com/2017/leaderboard • 1 point per position in the 100 first positions. 1st 100, 2nd 99, … • 100 points x 2 parts x 25 days = 5000 possible points • Only 100 first shown, globally and per day • Each user is anonymous, show name or link to authentication account: GitHub, Google, Twitter or Reddit. GitHub is my favorite because people share their code • For each of the days you will know how long it took for them to give the right solution (much faster than you!)
  • 14. GIB DEVS Private Leaderboard for advent of code Code: 25688- fcbb1b8e (I will share it on meetup page) SLACK WORKSPACE: gibdevs.slack.com (give me your email) Slack channel: #adventofcode
  • 16. REDDIT • https://www.reddit.com/r/adventofcode/ • https://www.reddit.com/r/adventofcode/wiki/solution_megathreads Eric Wastl posts: • https://www.reddit.com/r/adventofcode/comments/7idn6k/question_why _does_the_difficulty_vary_so_much/dqy08tk/ “For me some are very hard but most of them a doable” • https://www.reddit.com/r/adventofcode/comments/7kd8jt/what_would_y ou_say_are_the_minimal_skills_for/dre0uu3/ All of this falls into a capacity that I broadly categorize as "aptitude". The common thing to confuse this with is "knowledge"
  • 17. GITHUB https://github.com/search?q=adv ent+of+code more than 13,000 repository results • https://github.com/CarlosMela/ adventofcode2015 • https://github.com/CarlosMela/ adventofcode2016 • https://github.com/CarlosMela/ adventofscala2017
  • 18. SUPPORT • You can donate https://adventofcode.com/support • Participate from 1$ • You will get a supporter badge on pages related to events you've supported
  • 19. THANK YOU! SEE YOU IN NEXT GIB SOFWARE DEVELOPMENT COMMUNITY MEETUP