- Semantic Versioning http://semver.org/
- Learn Git branching http://learngitbranching.js.org/
- Great git commit messages https://chris.beams.io/posts/git-commit/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#To delete local branches which have already been merged into master: | |
git branch --merged master | grep -v "\* master" | xargs -n 1 git branch -d |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SCOPE | |
story is high priority, small, minimize creep, no stray changes, off-task changes added to backlog | |
WORKS CORRECTLY | |
master merged into branch, | |
all changes tested, | |
edge cases covered, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void extractPlayers() { | |
ObjectMapper objectMapper = new ObjectMapper(); | |
objectMapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false); | |
try { | |
BoardGameStats bgs = objectMapper.readValue(new File("target/bg.json"), BoardGameStats.class); | |
List<Play> collect = bgs.getPlays().stream().filter(p -> p.playerScores.stream().anyMatch(ps -> ps.playerRefId == 33)).collect(Collectors.toList()); | |
log.info("there are {} plays for player 33", collect.size()); | |
objectMapper.writeValue(new File("target/output.json"), collect); | |
} catch (IOException e) { |
- What tech stack do you use? Are you rolling out new technologies or sunsetting older ones? Do you have any legacy system that you need to maintain?
- What is your maturity stage? Finding a direction, feature work, maintenance...
- What are the next big engineering challenges you will face?
- How are requirements delivered to the engineering teams? How are technical decisions made and communicated?
- What level of involvement do engineers have in relation to architecture and system design? How much freedom for decision making do individual developers have? What happens if an engineer identifies areas of improvement?
- What is the junior/senior balance of the team?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
from lxml import html | |
import re | |
from datetime import datetime, timedelta | |
from math import radians, sin, cos, sqrt, atan2 | |
# Function to calculate distance between two GPS coordinates (Haversine formula) | |
def haversine(lat1, lon1, lat2, lon2): | |
R = 6371.0 # Earth radius in kilometers | |
lat1, lon1, lat2, lon2 = map(radians, [lat1, lon1, lat2, lon2]) |