Skip to content

Instantly share code, notes, and snippets.

View DylanDmitri's full-sized avatar
🅱️

Dylan Dmitri Gray DylanDmitri

🅱️
View GitHub Profile
0eNrtXV1vG0mS/CsCn8VB13e1Xwaz2FtggHk4zOziDtgVDNriaIiRSR1FeW8w0H8/6oNyW6rqjujKoi1fv+zCYzOZ7K6qzIqIzPxz9u7yZnm1Xa13b99tNr/P3vz56b9cz97880/iH9z93fV6cTXfbeYX29X53Z//d/bGNKezP+7+7/Z0tnh3vbm82S3nd//uarW+mL3ZbW+Wp7PV+836wdz16mK9uLz77O6Pq+XszWy1W36Ync7Wiw93f9ouVpezvaXV+ny5N65uz05ny/VutVstHz5//4c/3q5vPrxbbvf/4LNPzt//tlit54/fcTq72lzvP7lZP7rafufufVXfudvb0xe29JOt693e2sVvu/m9Oy/sKPVgJmXEwEbavBFLemJSRhzpSdKIJz1JPthAepI0EklPQspI+2Tk3epi/u/N5ny5nl9tLpcJM+7RzP4jy/3XvdvcbO+WoPZnCcOqIX9j0j2lyB/ZJq1o0pe0FcNuh+RSVpbdEGkzjvUmuZyVZ71JmwmsN8klrSLrTdpMy3qTXHyaXcIZM+waVsnlp9lFnDHDrmKdXH6aXcUZM+wq1snlpz19jO0NPTvH2tQxptmjOuMge1jrdEBuWW+SZkzDepNc2Eax3qTNsGmGTi5swyYaGTOWSaB085hB6bhPoU5n56vt8v3D39u7TO0+l3vTSRlPZ5eLd8t9ujf75dHJk18eP3E6+7jcXt9/VkdlQ6tD1G1oYvsp/WvuPH4tCejQa7j3cv7ssbmiPPTBpPncpCrJSk3SpCvJUR9NqmEv4dNx/pjHD5uE471LeulKslnYSfi0nJuUSdeb6GImgTWEp7gB9RLPdwPsJbx75ipl0xWlwvPDLWjYT3j/tLCbjjOJeOm5swg43Yjc+ekCNuRlxPMh9+TnZ9mQbc4kMmvkdG/oi+zgA9AUDHII4uF5DA9FebhJeeuKcnLzeD0dfgB4fo676UibiJ9kPGoBN9l4BAQkIn/H/WxJm4ijho1JQFAyZFBSSP6F53SEo4Y1inh

Overview

An Avatar roleplaying game.

Core Gameplay Loop

  • The GM describes a scene.
  • A player or players propose an action they wish to take.
  • The GM describes the risk/reward of the action.
  • If the proposed action is trivial or literally impossible, the GM resolves it immediately. Otherwise a dice roll is needed.

Warlord Playtest Suggestions

Core mechanic of posture/tension took a little getting used to, but the more I play the more I like it. Really spicy tradeoffs between greed and safety and scaling. Strongest part of the character.

Tension is excellent mechanically, but flavorwise is treated like a scary drawback when it's often helpful.

I feel there's some small missing tweak to how posture/tension/syrettes carry over to future turns. The balancing act is between "how do we let a player setup a parry next turn" vs "they shouldn't keep banking resources and scaling indefinitely".

Balance is already solid, power feels similar to vanilla characters. No cards are super broken or super weak.

Combo focused on lots of card draw + self buff.

Core Cards

4x Season of Growth     (1G, enchantment, draw when you target allied creature with a spell)
4x Gnarlback Rhino      (2GG, 4/4 trample, draw a card when you target with a spell)
4x Incubation Druid     (1G, tap for 1, tap for 3 if upgraded)
4x Stony Strength       (G, instant, add +1/+1 and untap)

+ about 20x cheap self-targetting cards
  • about 5x early board and search

Queuing Middleware

Goal

Customer has slow website, queuing makes it fast.

Specifically, customer has a server that suffers from unecessary internal congestion when under load. By enforcing concurrency limits, this middleware sidesteps thread-based problems (starvation, context-switching) and improves overall performance.

Requirements

Functionality ("can it help?")

https://1drv.ms/p/s!ApWzKn_stbXNgQEegTWEqGBn-7k2

Problem Description

We have introns, and clusters of introns. The challenge is: given a single intron, return all clusters where that intron is a member.

Data is given in the following format:

cluster_id intron_list
1 "Intron30, Intron54, Intron 55"

Your team assigns you a project, not because the project is super critical, but because it's a good "starting project" and about the right size for an internship.

Then, if you fail to show meaningful progress on the problem, or if you have toxic personality issues, they don't hire you back. This is rare.

If you complete only a large piece of the project, or if some blocker comes up partway through and you can't get around it, you generally get a level 59 offer.

If you complete it, you get a level 60 offer, and the quality of your work (and other offers) determines your stock bonus, which can vary wildly. (see levels.fyi for more details)

The typical distribution of outcomes is 10% no return offer, 50% level 59 offer, 40% level 60 offer. A big part of the internship is convincing you to work at Microsoft, because most interns are already competent.

DESIGN GOALS
Force Improvisation
Variety.
Break the default gameplan. These enemies are armored. What do you do?
Randomness builds stories (Hearthstone)
Provide Building Blocks
Give tools not fish.
@DylanDmitri
DylanDmitri / azure_face_demo.py
Last active July 24, 2018 19:45
Azure Face Python Demo
def get_face_info(image_bytes):
url = 'https://westcentralus.api.cognitive.microsoft.com/face/v1.0/detect'
params = {
'returnFaceId': 'true',
'returnFaceLandmarks': 'false',
'returnFaceAttributes': 'age,gender,headPose,smile,facialHair,glasses,' +
'emotion,hair,makeup,occlusion,accessories,blur,exposure,noise',
}