Avatar

dthyresson

I'm a GP at Preston-Werner Ventures where I invest in early stage startups. I enjoy ☕️ and collecting 🖍 street art, 🧷 punk/new wave/rock poster art and ephemera (Madchester, The Haçienda, and Factory Records), vintage 🥁 🤖 drum machines & 🎹 synths.
Joined February 20, 2024
Public vals
23
dthyresson avatar
dthyresson
whatsThatAgainInHotDogs
HTTP
A Townie remake of https://www.val.town/v/dthyresson/whatsThatInHotDogs
1
dthyresson avatar
dthyresson
gameOfLifeSite
HTTP
// This approach will create a Game of Life simulation using React for the frontend and
0
dthyresson avatar
dthyresson
honoWithUnkeyRateLimiting
HTTP
Example of using Unkey Ratelimiting See: https://www.unkey.com/docs/libraries/ts/ratelimit
0
dthyresson avatar
dthyresson
viewOnValTownComponent
HTTP
View on Val Town Give url and, link to your val!
0
dthyresson avatar
dthyresson
bedtimeStoriesDb
Script
// query all bedtime stories
0
dthyresson avatar
dthyresson
bedtimeStoryColors
Script
An interactive, runnable TypeScript val by dthyresson
0
dthyresson avatar
dthyresson
bedtimeStoryAnimals
Script
An interactive, runnable TypeScript val by dthyresson
0
dthyresson avatar
dthyresson
bedtimeStoryAdjectives
Script
An interactive, runnable TypeScript val by dthyresson
0
dthyresson avatar
dthyresson
bedtimeStoryActivities
Script
An interactive, runnable TypeScript val by dthyresson
0
dthyresson avatar
dthyresson
bedtimeStoryMaker
HTTP
Bedtime Story Maker Inspired from a RedwoodJS demo I mde last year, this adds generative art powered by Fal to the bedtime story maker. Start writing a story by picking a style (spooky, colofrol, adventurous an animal (penguin, mouse, unicorn, whale ...) a color for the animal and activity (befriends aliens, goes to the doctor, rides a rollercoaster, bakes a cake for friends) It uses OpenAI to write a children's bedtime story title summary story for a "fantastical story about a green whale who rides the bus" or the "spooky story about the tomato fox who explores a cave". Then using the summary, OpenAI geenrates another prompt to describe the instructions to geneate a childrens story book image. That's sent to Fal to generate an image. Stories get saved to bedtime_stories in SQLite for viewing, searching and maybe sharing. You then get a bedtime story to enjoy!
2
dthyresson avatar
dthyresson
generateOpenGraphTags
Script
// Helper function to escape HTML special characters
0
dthyresson avatar
dthyresson
movieMashup
HTTP
Movie Mashup It's Blader Runner meets Pretty in Pink. OpenAI generated movie maship title, tagline and treatments. Fal generated movie posters.
1
dthyresson avatar
dthyresson
ideas
Script
Ideas Movie Mashup with AI - done! Bedtime Story genertator - done! Drum machine pattern from PDF maker Movie emoji plots: "Sure, here's a summarized plot of "Pretty in Pink" using only emoji, along with their explanations, including iconic scenes:" Sure, here's a summarized plot of "Pretty in Pink" using only emoji, along with their explanations, including iconic scenes: 👩‍🎤🏫👗💔👦👨‍👧📚👠💃🎸❤️🎩🎸🚗🎨👫 1. **👩‍🎤 (Girl with Punk Hair)** - Andie, the main character, who has a unique and alternative style. 2. **🏫 (School)** - The high school setting where the story takes place. 3. **👗 (Dress)** - The pink prom dress that Andie makes for herself, representing her individuality. 4. **💔 (Broken Heart)** - The heartbreaks and romantic tensions throughout the movie. 5. **👦 (Boy)** - Blane, the rich boy Andie falls for. 6. **👨‍👧 (Father and Daughter)** - Andie's relationship with her supportive, but struggling father. 7. **📚 (Books)** - The academic environment and high school dynamics. 8. **👠 (High-Heeled Shoe)** - The social divide between the rich "preppies" and the less affluent students. 9. **💃 (Dancer)** - The iconic prom scene. 10. **🎸 (Guitar)** - The music and band scenes, especially featuring Duckie. 11. **❤️ (Heart)** - The romantic plot and relationships. 12. **🎩 (Top Hat)** - Duckie's unique style and his memorable entrance at the prom. 13. **🚗 (Car)** - Andie's car, which she often uses to get around. 14. **🎨 (Palette)** - Andie's creative and artistic side, including her job at the record store. 15. **👫 (Couple)** - The final pairing and resolution of romantic relationships.
0
dthyresson avatar
dthyresson
playRandomSong
HTTP
Play a Random Song ... from a set of Spotify tracks that have been played by me or others using the playMeASong val. Queries a random record of a tracks table and redirects to it's Spotify url. Usage // random const track = await getRandomTrack(); // random for artist const track = await getRandomTrack("Pixies");
0
dthyresson avatar
dthyresson
me
HTTP
me Welcome to my Val town! I'm DT , a GP at Preston-Werner Ventures where I invest in early stage startups. I also work on RedwoodJS . I enjoy ☕️ and collecting 🖍 street art, 🧷 punk/new wave/rock poster art and ephemera (Madchester, The Haçienda, and Factory Records), vintage 🥁 🤖 drum machines & 🎹 synths. Have a look at my Vals: GraphQL Spotify Misc
0
dthyresson avatar
dthyresson
graphQLYoga
HTTP
GraphQL Yoga Server GraphQL Yoga from The Guild is a batteries-included cross-platform GraphQL over HTTP spec-compliant GraphQL server powered by Envelop and GraphQL Tools focused on easy setup, performance and great developer experience. Usage To access GraphiQL - the GraphQL Playground - visit the / route. That's what you see in the preview pane below. Configuration and Documentation See the GraphQL Yoga documentation for configuration and all the bells and whistles. Endpoint For this example, we'll set to / to make it easier to demo. However, by default, the GraphQL route is configured to be on /graphql which is more common. const yoga = createYoga({ schema, }) You can set a custom endpoint: const yoga = createYoga({ schema, graphqlEndpoint: "/my-gql", }) Landing Page A landing page is shown be default whenever a 404 is hit. You can disable it via the landingPage option. const yoga = createYoga({ schema, landingPage: false })
0