Skip to content

Instantly share code, notes, and snippets.

View mkwatson's full-sized avatar

Mark Watson mkwatson

View GitHub Profile
{
"HighRoller": [
{
"startTimeStamp": 1751365068,
"Id": "ALL_HR@1751365068",
"ProgressiveId": "hr_mystery_MustHitByAmount1",
"GameIds": [],
"MinimumHitByAmount": 700000000,
"MustHitByAmount": 1000000000,
"MinimumHitByTime": 0,

The problem:

Every time someone builds an AI-powered app or website, they hit the same crossroads. Either they bolt an LLM key into front-end code, risking leaks, surprise bills, and instant compliance red flags, or they stop progress to write a custom mini-backend that hides keys, authenticates users, meters usage, and logs every prompt. Every new project does this from scratch.

Let's build that layer once, open-source it so the whole ecosystem can stop duplicating effort. Install a tiny SDK, drop in the team's own OpenAI, Anthropic, or Cohere key, and call the model: the gateway stores secrets, authenticates each request, enforces per-user limits, records full audit logs, and lets developers switch providers without touching front-end code.

Stripe removed the need to build payment rails and Auth0 removed the need to build login flows. This removes the need to build AI plumbing.

Flight Research Request: SFO to SEA Family Travel

I need comprehensive flight options for a family of 3 (2 adults + 1 infant) traveling from San Francisco (SFO) to Seattle (SEA).

Travel Details:

  • Departure: Friday, July 18, 2025
  • Return: Monday, July 21, 2025
  • Departure time constraint: Only flights leaving between 6:00 AM and 7:00 PM (both outbound and return)
  • Airlines: Research ALL airlines, but MUST include comprehensive coverage of Delta and Alaska Airlines options
  • Passengers: 2 adults + 1 infant (lap infant, under 2 years old)

Based on the search results, here's a detailed analysis of Tank Dell's receiving yards performance:

Recent Performance

Tank Dell has shown promising performance in his recent games:

  • In his last 5 games, Dell has accumulated 192 receiving yards on 20 receptions[6].
  • His average yards per reception over this period is 9.6 yards[6].
  • Dell's best performance in these 5 games was against Minnesota, where he caught 5 passes for 62 yards[6].

Star History

Star History Chart

package main
import "fmt"
// outerFunction returns a closure (an inner function) that captures and uses the variable 'x'
func outerFunction(x int) func(int) int {
// The inner function, which forms a closure
return func(y int) int {
return x + y // 'x' is captured from outerFunction's scope
}
# Base URL and HTTP method
# Query Parameters:
# - teamId=110 is for the Orioles
# - daysBack=-6 gathers data for the previous week
curl -G 'https://bdfed.stitch.mlbinfra.com/bdfed/stats/player' \
--data-urlencode 'stitch_env=prod' \
--data-urlencode 'season=2023' \
--data-urlencode 'sportId=1' \
--data-urlencode 'stats=season' \
def analyze_stats(stats):
insights = ''
if stats['orioles']['batting_average'] > stats['diamondbacks']['batting_average']:
insights += 'The Orioles have a higher batting average than the Diamondbacks. '
else:
insights += 'The Diamondbacks have a higher batting average than the Orioles. '
if stats['orioles']['slugging_percentage'] > stats['diamondbacks']['slugging_percentage']:
insights += 'The Orioles have a higher slugging percentage than the Diamondbacks. '
else:
{
"data": {
"offer": {
"offer": {
"id": "58950f92-62f2-4de8-b9df-744202c7cd42",
"pathSegment": "dub-nation-deals-b5a6e0b",
"offerShape": "event",
"status": "draft",
"selections": {
"views": [
query GetOffer($offerPathSegment: String!, $limit: Int!, $offset: Int = 0, $searchQuery: String, $minPrice: Int, $maxPrice: Int, $startDate: DateTime, $endDate: DateTime, $level1Filter: String, $level2Filter: String, $showAda: Boolean, $eventSort: EventSelectionsSort, $eventView: EventSelectionsView, $tickets: Int, $rootOfferId: UUID, $appliedCodes: [String!]) {
offer {
offer(pathSegment: $offerPathSegment, rootOfferId: $rootOfferId, appliedCodes: $appliedCodes) {
...offerInfo
__typename
children(limit: $limit, offset: $offset, searchQuery: $searchQuery, minPrice: $minPrice, maxPrice: $maxPrice, startDate: $startDate, endDate: $endDate, level1Filter: $level1Filter, level2Filter: $level2Filter, showAda: $showAda, eventSort: $eventSort, eventView: $eventView, tickets: $tickets) {
limit
offset
total
results {