<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Aaron Landy on Medium]]></title>
        <description><![CDATA[Stories by Aaron Landy on Medium]]></description>
        <link>https://medium.com/@aaronlandy?source=rss-deb5f5857a35------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*gK5BAeNtxHAN8aoV8Pbp6w.jpeg</url>
            <title>Stories by Aaron Landy on Medium</title>
            <link>https://medium.com/@aaronlandy?source=rss-deb5f5857a35------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 17:41:23 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@aaronlandy/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[LLMs + Mortgage Rates: Building an intuitive financial chatbot in NextJS]]></title>
            <link>https://aaronlandy.medium.com/llms-mortgage-rates-building-an-intuitive-financial-chatbot-in-nextjs-88e87678507a?source=rss-deb5f5857a35------2</link>
            <guid isPermaLink="false">https://medium.com/p/88e87678507a</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[mortgage]]></category>
            <category><![CDATA[chatgpt]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[chatbots]]></category>
            <dc:creator><![CDATA[Aaron Landy]]></dc:creator>
            <pubDate>Wed, 07 May 2025 18:29:13 GMT</pubDate>
            <atom:updated>2025-05-07T21:19:57.671Z</atom:updated>
            <content:encoded><![CDATA[<h2>LLMs + Mortgage Rates: An intuitive financial chatbot built with ClosingWTF, assistant-ui, and NextJS</h2><p>tl;dr — I built an intuitive chatbot that can read/write to a form and make input assumptions. It’s <a href="https://github.com/assistant-ui/closingwtf-mortgage-rates">open source</a> and uses NextJS, <a href="https://closingwtf.com/">ClosingWTF</a> mortgage rate API, and <a href="https://www.assistant-ui.com/">assistant-ui</a> components.</p><p><a href="https://closingwtf-mortgage-rates.vercel.app/">Mortgage Rate Assistant</a></p><figure><img alt="Gif of Mortgage Rate Chatbot" src="https://cdn-images-1.medium.com/max/708/1*WFglejUfJLI5KEma1XP8Gg.gif" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*08eFm7aUCastSuw3RlbVHw.png" /><figcaption>ClosingWTX x assistant-ui Mortgage Chatbot Gif</figcaption></figure><h4><strong>Recently I decided to experiment building an ai chatbot that allows users to easily search mortgage rates while leveraging the power of an LLM chatbot. Here’s how it went:</strong></h4><h3>Goals for the experiment</h3><h4>1. Require Minimal Input from the User</h4><p>I typically dislike when chatbots ask sequential questions, as this makes the chat experience redundant to a form that I could complete much more quickly. This is especially true when the purpose is to produce a functionally deterministic output:<br><strong>Input</strong> (loan borrower variables) → <strong>Output</strong> (mortgage rate sheet)</p><h4>2. Create an Experience ~40% better Than Using ChatGPT</h4><p>There would be no point in building this if a custom GPT on ChatGPT could do the trick.</p><h4>3. Integrate the UI/UX of the Page to Be Interactive with the Chat Experience</h4><p>Enable the chat experience to either control or have a contextual understanding of the entire webpage including the form.</p><h3>Web, Chat &amp; Data Architecture</h3><p>I decided to use the following web frameworks / APIs:</p><ol><li>Web Framework: NextJS</li><li>Typescript/React library for AI Chat: <a href="https://assistant-ui.com/">assistant-ui</a></li><li>Mortgage Rates API: <a href="https://closingwtf.com/">ClosingWTF</a> <em>(Mortgage analysis tool I built and soon to be — ai mortgage broker).</em></li><li>LLM API Middleware: <a href="http://sdk.vercel.ai/">vercel ai-sdk</a></li><li>Chat Thread Storage: <a href="http://cloud.assistant-ui.com/">assistant-ui cloud</a></li><li>LLM Provider — doesn’t really matter, I generally use anthropic claude 3.5/3.7</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nP-CB8rD2NVh2NM2qJP8Ew.png" /><figcaption>Roughly what the data flow looks like</figcaption></figure><h3>Scaffolding the project</h3><p>I used assistant-ui’s create next project to set the repo, added shadcn components, installed ai-sdk, and other dependencies.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*w7UMCdrJYYBKW3alJb7N4g.png" /></figure><p>Once the repo was setup, I started tinkering around assistant-ui’s docs, spoke to <a href="https://www.linkedin.com/in/simon-farshid/">Simon Farshid</a> about the best way to build a chat interface, and set up my own <a href="https://www.assistant-ui.com/docs/ui/Thread">assistant-ui Thread</a>, <a href="https://www.assistant-ui.com/docs/ui/ThreadList">ThreadList</a>, and custom form component with an intuitive layout to make the form and the chatbot sections primary on the page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sRmr7oy5YwS4615bB9KHUw.png" /><figcaption>Page layout with ThreadList, Custom Form, and Thread</figcaption></figure><p>Link to components:</p><ul><li>Custom Form: <a href="https://github.com/assistant-ui/closingwtf-mortgage-rates/blob/main/components/forms/mortgage-details-form.tsx">components/forms/mortgage-details-form.tsx</a></li><li>Thread: <a href="https://github.com/assistant-ui/closingwtf-mortgage-rates/blob/main/components/assistant-ui/thread.tsx">components/assistant-ui/thread.tsx</a></li><li>ThreadList: <a href="https://github.com/assistant-ui/closingwtf-mortgage-rates/blob/main/components/assistant-ui/thread-list.tsx">components/assistant-ui/thread-list.tsx</a></li></ul><h3>After setting up the layout, I needed to add the secret sauces:</h3><h4>Secret Sauce 1: <strong>Give the LLM a tool to read and write to inputs fields on a form.</strong></h4><p>Luckily assistant-ui has a wrapper around Zod’s useForm called useAssistantForm which automatically passes in a form’s state on each message with a tool for editing a field — which will change the field value on the user’s local form. <em>Note, I’ve found the tool will currently only change 1 field at a time even if I ask the LLM to change multiple.</em></p><p><strong>Why?</strong></p><p>For this we leverage assistant-ui’s custom hook useAssistantForm which automatically creates LLM tool calls and sets up read/write functionality with a react form. This allows the user to mention new information, and the input field will be updated. Currently any change in the form triggered by the LLM will also call the rates query tool.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JtUp4BQgZ6TQCFGCEM37Fw.png" /><figcaption>Example of passing in a message to change a field value</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZuYBlgevRyJcPJ0aKHExKw.png" /><figcaption>Example of the field value being updated</figcaption></figure><h4>Secret Sauce 2: <strong>API to retrieve mortgage rates based on 10+ variable of inputs with tolerance for missing data</strong></h4><p>This is the main action of the chat experience. We want the user to always easily be able to query rates even with as little information as possible. The user can either mention any details about their property and the LLM will call a tool to query the mortgage rates.</p><p>Luckily I founded a mortgage analysis tool (and soon to be announced — ai mortgage brokerage) called <a href="https://closingwtf.com/"><strong>ClosingWTF</strong></a> and work directly with lenders so have access to realtime market rates. I built the first (that I know of) public mortgage rate api endpoint.</p><p><strong>The API can currently take in these inputs:</strong></p><ul><li>Zip Code</li><li>Loan Purpose (Purchase, Refinance, etc)</li><li>Purchase Price (Appraised Value for Refinance)</li><li>Loan Term (30 years)</li><li>Credit Fico Score</li><li>Property Usage Type (Primary Residence, Investment, Secondary Home)</li><li>Neighborhood Housing Type (Single Family, Multi Family, etc)</li><li>Is Borrower First Time Homebuyer (yes or no)</li><li>[A few more TBD]</li></ul><p><strong>And gives these outputs:</strong></p><ul><li>Rate</li><li>APR</li><li>Interest</li><li>Total Cost</li><li>Total Points</li><li>Cost of Points</li><li>Principal</li><li>Closing Costs</li><li>Break Even (mo)</li><li>Down Payment</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RI-pZ_p9M1TJAr-AyRj-9w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6j6whmdEr_iYhpbb-EgTlw.png" /><figcaption>Example of calling set zip and running mortgage rate query from a user’s llm message.</figcaption></figure><h3>LLM Tools in the Project with</h3><p>We declare the tools in client for this project using assistant-ui’s <em>useAssistantTool</em> which seamlessly integrates with it’s chat runtime. The tools will be automatically passed to the api chat endpoint.</p><p>These are the tools the project currently uses as of May 7th, 2025:</p><h3>1. Set Zip Code</h3><p><a href="https://github.com/assistant-ui/closingwtf-mortgage-rates/blob/46f2c2b819ec6081bf96eb7a72fb00eeb7d57ba2/components/assistant-ui/tools/zipcode.tsx#L32">Link to code in repo</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zvUpCf38cssQMgAu9wixYw.png" /><figcaption>Tool to setup Zip Code</figcaption></figure><p>Since mortgage rates vary widely depending on the property’s location, we always need a FIPS (Federal Information Processing Standards) code. When users mention a location in the chat, our LLM automatically will call a special tool and we’ll send the ZIP code to our API to retrieve the corresponding FIPS code data, which is then stored locally in the browser. This ensures that whenever we make subsequent requests for mortgage data, the ZIP code is already set in the user interface, streamlining the process for accessing location-specific rate information.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KpySSTO7G_YSwOM46bt3ag.png" /><figcaption>What setting the zip code looks like in context of the chat</figcaption></figure><h3><strong>2. Query Mortgage Rates</strong></h3><p><a href="https://github.com/assistant-ui/closingwtf-mortgage-rates/blob/46f2c2b819ec6081bf96eb7a72fb00eeb7d57ba2/components/assistant-ui/tools/zipcode.tsx#L32">Link to code in repo</a></p><p>This is the main action of the chat experience. We want the user to always easily be able to query rates even with as little information as possible. The user can either mention any details about their property and the LLM will call a tool to query the mortgage rates.</p><h3>3. Edit Form Fields</h3><p>For this we leverage assistant-ui’s custom hook <em>useAssistantForm</em> which automatically creates LLM tool calls and sets up read/write functionality with a react form. This allows the user to mentione new information, and the input field will be updated. Currently any change in the form triggered by the LLM will also call the rates query tool.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=88e87678507a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building Resilient PDF-to-Schema Extraction with TypeScript, LLMs, and Vercel AI SDK]]></title>
            <link>https://aaronlandy.medium.com/building-resilient-pdf-to-schema-extraction-with-typescript-llms-and-vercel-ai-sdk-8795e5d16af5?source=rss-deb5f5857a35------2</link>
            <guid isPermaLink="false">https://medium.com/p/8795e5d16af5</guid>
            <category><![CDATA[mortgage]]></category>
            <category><![CDATA[openai]]></category>
            <category><![CDATA[vercel-ai-sdk]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[typescript]]></category>
            <dc:creator><![CDATA[Aaron Landy]]></dc:creator>
            <pubDate>Fri, 02 May 2025 21:35:26 GMT</pubDate>
            <atom:updated>2025-05-04T12:29:26.634Z</atom:updated>
            <content:encoded><![CDATA[<h3>Building Resilient Mortgage PDF-to-Schema Extraction with LLMs, TypeScript, and Vercel AI SDK</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VhpQXkcHG6aS2UujMblJSg.png" /></figure><p>tl;dr This post demonstrates a way to practically and reliably use LLMs to extract schemed objects from PDFs and other kinds of inputs.</p><h3>Introduction</h3><p>At <a href="https://closingwtf.com/">ClosingWTF</a>, we process mortgage documents like loan estimates, closing disclosures, and loan summaries to help homebuyers understand if they’re getting a good deal or screwed on their mortgage offers.</p><p>To do this, I need a reliable way to convert the PDFs users upload to a schema representation of their mortgage, so I can then process the mortgage object to find discrepancies like bad rates, junk fees, and miscalculations.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/612/1*JicB0SGlggpKX-e4CDQpsQ.png" /><figcaption>Example page 2 of a Mortgage Loan Estimate</figcaption></figure><p>When I started building, this proved to be a challenge because of the variability of PDF inputs and the fickle nature of LLM outputs:</p><p>Examples of PDF input challenges that came up:</p><ul><li>Very large PDFs in size and pages.</li><li>Different types of documents being uploaded.</li><li>The actual document needed could be on pages 4–8 of the PDF (or even pages 49–53).</li></ul><p>Examples of LLM Output challenges:</p><ul><li>Sending the entire PDF to the LLM produced very inaccurate results.</li><li>Mismatched values and hallucinations for certain fields. ie: loan amount and purchase price could sometimes be the same value, fields with checkboxes would be very tricky for LLMs to understand</li><li>Objects retrieved wouldn’t match the inputted Zod schema with AI SDK</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/744/1*jrG_5A9ayX7xjy-G2FBgow.png" /><figcaption>Example of checkbox where value is hard to understand</figcaption></figure><p>Because of the nature of LLMs, getting an LLM to output an object to exactly what is needed is a lot trickier than it sounds. LLM output can be drastically different depending on the inputs. Also handling cases where a PDF uploaded is 15mb+, or a PDF has dozens of unnecessary pages, etc was not practical and causes the output to be malformed. This blog post explains our solution to how I process PDFs in a resilient way.</p><h3>Step 1: PDF Ingestion</h3><ol><li>Save the PDF, for this I use a Cloudflare R2 bucket.</li><li>If the pdf is large, either split a large PDF (8mb+) into mini PDFs or only process the first 40 pages.</li><li>Classify the PDF into a document type and a page range of the first and last page of the document we want to analyze within the PDF.</li><li>For each pdf, convert each page of the PDF into images and text.</li></ol><h3>Step 2: JSON Object Generation</h3><p>Depending on the document type, I use a different object schema. For mortgage, I have 4 different types:</p><ol><li>Loan estimate.</li><li>Closing Disclosure.</li><li>Wildcard (Unofficial mortgage documents like loan summary and closing costs worksheets).</li><li>Uniform Residential Loan Application.</li></ol><p>For each page of each of the objects, I have a special schema. I need to do this per page to reduce the variability of data extracted. I don’t want data on page 1 to be confused for data on page 2.</p><p>This example shows how we structure page 1 of a loan estimate using ai-sdk, anthropic claude 3.5 sonnet model, and a zod schema.</p><pre>export async function structurePage1(text: string, image_url: string) {<br>  return await generateObjectWithAIRetry({<br>        model: anthropic(&#39;claude-3-5-sonnet-20240620&#39;, { cacheControl: true, }),<br>          system: `You are a helpful assistant that extracts structured data from mortgage loan estimate documents. Return JSON ONLY.`,<br>          messages: [<br>            {<br>              role: &quot;user&quot;, <br>              content: [<br>                {<br>                    type: &#39;text&#39;,<br>                    text,<br>                },<br>                {<br>                    type: &#39;image&#39;,<br>                    image: new URL(image_url)<br>                }<br>              ]<br>            }  <br>          ],<br>        schema: z.object({<br>            loan_summary: z.object({<br>                issuer: z.object({<br>                    company_name: z.string(),<br>                    address: z.string(),<br>                }),<br>                date_issued: z.string(),<br>                applicants: z.array(z.object({<br>                    name: z.string(),<br>                    address: z.string(),<br>                })),<br>                property: z.object({<br>                    address: z.string(),<br>                }),<br>                sale_price: numberOrUnknown,<br>                loan_term: z.object({<br>                    type: z.enum([&#39;years&#39;, &#39;months&#39;, &quot;&lt;UNKNOWN&gt;&quot;]),<br>                    value: numberOrUnknown,<br>                }),<br>                purpose: z.string(),<br>                product: z.string(),<br>                loan_type: z.union([z.enum([&quot;Conventional&quot;, &quot;FHA&quot;, &quot;VA&quot;, &quot;USDA&quot;, &quot;Jumbo&quot;, &quot;ARM&quot;, &quot;Reverse&quot;, &quot;Other&quot;, &quot;&lt;UNKNOWN&gt;&quot;]), z.string()]).describe(&quot;The type of loan, ex: Conventional, FHA, VA, USDA, Jumbo, ARM, Reverse, Other&quot;),<br>                loan_type_summary: z.enum([&#39;15 Yr. Fixed&#39;, &#39;30 Yr. FHA&#39;, &#39;30 Yr. Jumbo&#39;, &#39;7/6 SOFR ARM&#39;, &#39;30 Yr. Fixed&#39;, &quot;&lt;UNKNOWN&gt;&quot;]).or(z.string()),<br>                loan_id: z.string(),<br>                rate_lock: z.object({<br>                    locked: booleanOrUnknown,<br>                    until: z.string(),<br>                }),<br>            }),<br>        }),<br>      });<br>    ...<br>});</pre><p>A big problem that comes up with ai-sdk’s <em>generateObject</em> is the LLM will return the right output but it’s either an invalid type or one of the embeded objects will be a string encoded object. This will cause generate object to fail the schema resolution.</p><p>So when using generateObject, I found the best way to prevent errors is to add retry logic with different temperatures and a fallback model. See my implementation here:</p><pre>import { google } from &#39;@ai-sdk/google&#39;;<br>import { generateObject } from &quot;ai&quot;;<br><br>interface AIRetryOptions {<br>  maxAttempts?: number;<br>  delayMs?: number;<br>  context?: string;<br>  temperatures?: number[]; // Array of temperatures to try<br>  backupModel?: any; // Backup model to try if all temperature attempts fail<br>}<br><br>export async function withAIRetry&lt;T&gt;(<br>  fn: (temperature?: number, model?: any) =&gt; Promise&lt;T&gt;,<br>  options: AIRetryOptions = {}<br>): Promise&lt;T&gt; {<br>  const {<br>    maxAttempts = 3,<br>    delayMs = 1000,<br>    context = &quot;&quot;,<br>    temperatures = [0.5, 0.7, 0.9], // Default temperatures to try<br>    backupModel = google(&quot;gemini-1.5-flash&quot;) // Default backup model<br>  } = options;<br><br>  let lastError: any;<br>  let attemptCount = 0;<br><br>  // Try each temperature in sequence<br>  for (const temperature of temperatures) {<br>    if (attemptCount &gt;= maxAttempts) break;<br>    <br>    try {<br>      attemptCount++;<br>      return await fn(temperature);<br>    } catch (error: any) {<br>      lastError = error;<br>      <br>      if (attemptCount === maxAttempts) {<br>        // If we&#39;ve exhausted all temperature retries and have a backup model, try it<br>        if (backupModel) {<br>          try {<br>            return await fn(0.5, backupModel); // Use conservative temperature with backup<br>          } catch (backupError: any) {<br>            lastError = backupError;<br>          }<br>        }<br>        break;<br>      }<br><br>      // Log the error and notify user of retry<br>      console.error(`${context} - Attempt ${attemptCount} failed with temperature ${temperature}:`, error);<br><br>      // Wait before retrying<br>      await new Promise(resolve =&gt; setTimeout(resolve, delayMs * attemptCount));<br>    }<br>  }<br><br>  // If we&#39;ve exhausted all retries and backup, throw the final error<br>  const errorMessage = `${context} failed after ${attemptCount} attempts${backupModel ? &#39; and backup model&#39; : &#39;&#39;}: ${lastError?.message || &#39;Unknown error&#39;}`;<br>  throw new Error(errorMessage);<br>}<br><br><br>export const generateObjectWithAIRetry = async ({<br>  model,<br>  prompt,<br>  system,<br>  messages,<br>  schema,<br>  backupModel = google(&quot;gemini-1.5-flash&quot;)<br>}: {<br>  model: any;<br>  prompt?: string;<br>  system?: string;<br>  messages?: any[];<br>  schema: any;<br>  backupModel?: any;<br>}): Promise&lt;any&gt; =&gt; {<br>  return withAIRetry(<br>    async (temperature = 0.5, fallbackModel?) =&gt; {<br>      const result = await generateObject({<br>        model: fallbackModel || model,<br>        prompt,<br>        system,<br>        messages,<br>        schema,<br>        temperature,<br>        output: &quot;object&quot;<br>      });<br>      return result.object;<br>    },<br>    {<br>      temperatures: [0.5, 0.7, 0.9, 0.3],<br>      backupModel<br>    }<br>  );<br>};</pre><h3>Step 3: Mortgage Structuring and Analysis</h3><p>The third step is taking all raw objects returned from the LLM, then reducing the data into an object representing most of the data we need.</p><pre>export type MortgageOverview = {<br>  property_address: string;<br>  jurisdiction?: string;<br>  loan_purpose?: string;<br>  loan_type?: string;<br>  loan_product?: string;<br>  loan_term: {<br>    type: &#39;years&#39; | &#39;months&#39;;<br>    value: number;<br>  };<br>  interest_rate: {<br>    value: number;<br>    can_increase_after_closing: boolean;<br>  };<br>  apr: number;<br>  loan_amount: {<br>    value: number;<br>    can_increase_after_closing: boolean;<br>  };<br>  lender_credits: number;<br>  seller_credits: number;<br>  sale_price: number;<br>  downpayment_amount: number;<br>  downpayment_percentage: number;<br>  percent_down: number;<br>  points?: {<br>    percentage_of_loan_amount?: number;<br>    total_dollar_value?: number;<br>    amount?: number;<br>    description?: string;<br>  };<br>  total_closing_costs?: number;<br>  money_down?: number;<br>  total_loan_costs?: number;<br>  total_other_costs?: number;<br>  cash_to_close?: number;<br>  monthly_principal_and_interest?: number;<br>  total_origination_costs?: number; // Origination fees + points <br>  escrow_waived?: boolean;<br>  cash_out_amount?: number;<br>}</pre><p>Often, users will black out their property address for privacy. Since at least the zip of the address is needed to properly analyze the mortgage, this used to be a cause of errors. But with proper validation and a fallback zip code, this issue was resolved.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AuYJE3us5Vh_iyTHBDtNpQ.png" /><figcaption>Example of important property data being redacted</figcaption></figure><h4>Tools used during this process:</h4><ol><li><a href="https://unstructured.io/">Unstructured</a> — extracting text from the PDF per page</li><li>Anthropic API Claude 3.5 —Primary multi modal LLM</li><li>OpenAI, Google Vertex — Backup retry LLMs</li><li><a href="https://www.geocod.io/">GeoCod.io</a> — reliable geocoding property addresses for FIPS codes.</li><li><a href="https://trigger.dev/">Trigger.dev </a>— Run background jobs</li></ol><h4>Thank you for reading</h4><p>If you are working with mortgage data, getting a mortgage, or simply processing PDFs with LLMs — feel welcome to reach out.</p><p>Best,<br>Aaron Landy</p><p><a href="https://closingwtf.com/">ClosingWTF</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8795e5d16af5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to upload PDFs to Anthropic with Vercel’s ai sdk 4.0]]></title>
            <link>https://aaronlandy.medium.com/how-to-upload-pdfs-to-anthropic-with-vercels-ai-sdk-4-0-6e21d56e24c9?source=rss-deb5f5857a35------2</link>
            <guid isPermaLink="false">https://medium.com/p/6e21d56e24c9</guid>
            <dc:creator><![CDATA[Aaron Landy]]></dc:creator>
            <pubDate>Fri, 22 Nov 2024 04:44:19 GMT</pubDate>
            <atom:updated>2024-11-22T04:44:19.451Z</atom:updated>
            <content:encoded><![CDATA[<p>Vercel just released their <a href="https://vercel.com/blog/ai-sdk-4-0">ai sdk 4.0</a> and although their recommendation is to use <em>fs.readFileSync</em> to pass in the file as data on the server, I’ve found that it didn’t work for files uploaded via <em>req.formData()</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Kv1mxhsC1xXsA_g0xiCDlg.png" /><figcaption>Vercel’s ai 4.0 sdk pdf example with anthropic which didn’t work for my use case.</figcaption></figure><p>Here’s what ended up working for me to enable pdf upload from client to server on NextJS via the Vercel AI SDK v4.0 with Anthropic.</p><p><strong>API Endpoint:</strong> <a href="https://github.com/closingwtf/stats/blob/main/app/api/upload/route.ts">link to github</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*47pE7ogcMxjKsJnbWfssTg.png" /><figcaption>Server route endpoint</figcaption></figure><p><strong>Frontend Implementation:</strong> <a href="https://github.com/closingwtf/stats/blob/main/components/contribute-anonymously-form.tsx">link to github</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ABEpHftQPyvGGqA2QB64bA.png" /><figcaption>Client upload component</figcaption></figure><p><strong>Full link to the github repo: </strong><a href="https://github.com/closingwtf/stats">https://github.com/closingwtf/stats</a></p><p><strong>About the project: </strong><a href="https://stats.closing.wtf/">ClosingStats</a> is an open source project for sharing useful data anonymously for the betterment of everyone. Think of it as an open source “Glassdoor for Financial Data” where the users contributing just need to upload a document and the data is then processed, structured, anonymized, aggregated, and dashboarded, helping everyone make informed decisions through collective intelligence.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BtkLUu1ILw6WraEC6LBKrQ.png" /><figcaption>ClosingStats Homepage Screenshot</figcaption></figure><p>ClosingStats was created as an open source project from <a href="https://closing.wtf/">closing.wtf</a> which helps homebuyers get a great deal on their mortgage, and not get screwed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*M7zjz8Us4mBPSb0uIWBPpA.png" /><figcaption>Closing.WTF Homepage Screenshot</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6e21d56e24c9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to access Airchat’s unofficial API]]></title>
            <link>https://aaronlandy.medium.com/how-i-built-an-open-source-airchat-web-client-for-nextjs-using-their-unofficial-api-8d89b3ea8598?source=rss-deb5f5857a35------2</link>
            <guid isPermaLink="false">https://medium.com/p/8d89b3ea8598</guid>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[grpc]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[nextjs]]></category>
            <category><![CDATA[hacking]]></category>
            <dc:creator><![CDATA[Aaron Landy]]></dc:creator>
            <pubDate>Thu, 09 May 2024 01:56:44 GMT</pubDate>
            <atom:updated>2024-05-15T21:41:15.541Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DDVBthuZjjxMFcMxZ68sOQ.jpeg" /></figure><h3><strong>Introduction (tl;dr):</strong></h3><p>Airchat uses the gRPC API framework which derives from .proto files located in its compiled Android apk files. You can use the .proto files to generate client code in any gRPC supported language. Within this blog post, I’ll show you how I found the .proto files and was able to deconstruct the API’s mechanism from clues, then show you how you can use it.</p><h3>Background:</h3><p>A few weeks ago Airchat’s team consisting of Naval Ravikant, Brian N<a href="https://www.air.chat/norgard">orgard</a>, Sigil Wen to name a few of the 12–15 person team, released a new version of their “social public messenger” app.</p><p>How Naval describes Airchat:</p><blockquote>“Welcome to AirChat. This is an open and social public messenger. It’s designed for civil and authentic conversations. It’s voice first. You push, talk, release. That’s how you get the message out.”</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Dhi4ga0FmQZIbskLnL21Wg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GspGRhS07QEJ2Ane5cbdqg.png" /><figcaption>Naval Describing Airchat (picture from airchat-web.vercel.app)</figcaption></figure><p>My friend Eliezer Steinbock invited me and I had a great experience chatting with people all around the world. I immediately saw there was a need for channels where communities can have a space for specific kinds of conversations.</p><p>Within the first week, there were no ways to create channels, as the feature had likely not been developed yet.</p><p>So I thought maybe there’s an API endpoint that exists within the code which is not available yet for users, with the ability to create channels which has not been released yet, and since the app is rapidly being prototyped, I can poke around and find an endpoint that is either intentionally or unintenntionall does not require permission . In order to do this, I needed to know how their API worked.</p><p>This is where my journey began…</p><h3>1. Inspecting HTTP Traffic with Charles Proxy</h3><p>Firstly, what any AppSec hacker does, I set up an HTTP proxy to inspect traffic from my phone to my computer using Charles Proxy. I added my computer’s IP address with port 8888 to my phone’s Wi-Fi proxy settings and installed the Charles certificates on my iPhone and computer to view SSL-encrypted traffic.</p><p>After doing this I was able to view the HTTPS requests being sent from my phone, but no responses would come from the server nor was I able to view the request headers or body.</p><p>Unfortunately this did not work as expected since there was something else blocking the SSL from the being recognized.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kDUsWw0BoTC7C_tL-oK6iQ.png" /><figcaption>Charles Proxy attempting to inspect SSL Proxying traffic</figcaption></figure><h3>2. Decompiling Airchat’s Android App</h3><p>Since the HTTP proxying did not work, I next tried installing the raw android app apk file since it is possible to decompile the apk into smali (an assembly language for the Dalvik virual machine which Android runs on). Then from there I converted the smali into java which is more readable than smali.</p><p>The decompiled Java code was nearly all obfuscated and looked like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wQVAaLEfQYOQ3cZPDb9TKw.png" /></figure><p>After poking around and exploring the codebase, mostly be opening random files and looking for any network requests. I noticed a few things:</p><ol><li>The codebase includes an entire directory tree of .proto files which define the schema of a gRPC API. You can use the .proto files to generate a client SDK in any supported language to interact with the server API. <a href="https://github.com/aaln/airchat-web/tree/main/proto">You can view the proto files here.</a></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MHIg8ze2GzbnvMKRIl3i_A.png" /><figcaption>A gRPC schema proto file defining the message.message</figcaption></figure><p>2. The client and server utilizes SSL pinning to prevent 3rd parties from hijacking and inspecting traffic with custom SSL certificates. SSL pinning is a technique where the client and the server will only accept a specific pinned SSL certificate from one another.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qTfrEd8qbHOIik9Y8jU4EQ.png" /><figcaption>Solid proof within codebase of SSL Pinning</figcaption></figure><h3>3. Android Emulator with bypassing SSL Pinning</h3><p>Given I now knew about the SSL pinning, I was ready to bypass it using a tool called <a href="https://github.com/frida/frida/releases">frida</a> to start reading the encrypted-ssl-pinned traffic.</p><p>The next steps I took were (the order here is important):</p><ol><li><strong>I launched an Android emulator on my Macbook using Genymotion.</strong></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FwTXx73g0Q2sdqZkPvkCYg.png" /><figcaption>Android Google Pixel Emulator running via Genymotion</figcaption></figure><p><strong>2. I installed the airchat apk on the Android device by running:</strong></p><blockquote>adb -s 127.0.0.1:6555 install com.wooshinc.getairchat.apk</blockquote><p><strong>3. I opened the app and logged in from the emulator.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*By5aYFyzpOBHLeDPRI47yQ.png" /><figcaption>Airchat app running on the Android emulator</figcaption></figure><p><strong>3. I setup a VPN proxy from the Android emulator to my computer.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*he_culAScZEp74kOGfRFKA.png" /></figure><p><strong>4. I setup a </strong><a href="https://github.com/frida/frida/releases"><strong>frida</strong></a><strong> server on the android emulator by running these commands from my mac:</strong></p><blockquote># install frida<br>pip install frida-tools</blockquote><blockquote># initiate frida server to run on the android emulator<br>adb -s 127.0.0.1:6555 shell “/data/local/tmp/frida-server &amp;”</blockquote><p><strong>5. I “depinned” the app by running this command from a new terminal window:</strong></p><blockquote>frida — codeshare akabe1/frida-multiple-unpinning -U -f com.wooshinc.getairchat</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WplPPk0rKMOaxx91-uPmKw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1ZoxVtUY5WdxGkwk96U2Cg.png" /></figure><p>If you see “[+] Bypassing Trustmanager” within the terminal logs, you were successful. Running the command will open the app and requests made from the app won’t be signed by the pinned certificate.</p><p>After following these steps, I was able to read a good portion of the unencrypted requests sent from the phone to the server. This was useful in linking which requests are made for different features in the app.</p><blockquote>Note: Note: While depinning is active, the Airchat app won’t accept HTTP responses. This is likely due to certificate verification after the phone receives the response.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PCgrslV7EEZxwHl9whQtnw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0UH6Zg4ecmkqid6mwoBHqg.png" /><figcaption>Proxied able-to-read HTTPS requests from Airchat’s mobile app</figcaption></figure><h3>4. Replicating successful API calls</h3><p>After reading the unencrypted client http requests, I pieced together which endpoints from the gRPC schema were necessary for authentication, retrieving user feeds, messages/threads, uploading, etc. Here are a few import endpoint routes with examples:</p><h4><strong>Authentication</strong></h4><ul><li>Airchat Endpoint: https://api.prod.getairchat.io:443/airchat.auth.v2.Auth</li><li><a href="https://github.com/aaln/airchat-web/tree/main/app/api/auth">Example implementation</a></li><li>Note: All requests asides for the authentication flow require an access token.</li></ul><h4>Get Message Feed</h4><ul><li>Airchat Endpoint: https://api.prod.getairchat.io:443/airchat.message.v2.GetMessageFeed</li><li><a href="https://github.com/aaln/airchat-web/blob/83688f9639e220b91d85f08ae3de6bf201c2a016/app/api/messagefeed/route.tsx">Example implementation</a></li></ul><h4>Get Messages</h4><ul><li>Airchat Endpoint: <a href="https://api.prod.getairchat.io/airchat.message.v2.MessageAPI/GetMessageThreadDetailsByReference">https://api.prod.getairchat.io:443/airchat.message.v2.</a>GetMessages</li><li><a href="https://github.com/aaln/airchat-web/blob/83688f9639e220b91d85f08ae3de6bf201c2a016/app/api/raw/GetMessages/route.tsx">Example implementation</a></li></ul><h3>5. Generating the gRPC Javascript client library</h3><p>Now that I roughly knew which api endpoints are used by the mobile apps. I was ready to start testing endpoints.</p><p>To test the endpoints, I first needed to generate a gRPC client. I did so for JavaScript by running</p><blockquote># install the appropriate tools</blockquote><blockquote>npm install grpc-tools grpc_tools_node_protoc_ts @grpc/proto-loader</blockquote><blockquote># specifying the proto path, output paths, and Javscript style version</blockquote><blockquote>grpc_tools_node_protoc \<br> — js_out=import_style=commonjs,binary:airchat \<br> — grpc_out=grpc_js:airchat \<br> — proto_path=. \<br> airchat/**/*.proto</blockquote><p>This generated code for all the endpoints.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*svulOkpZ1hkhA7NYcuHc6w.png" /><figcaption>Preview of autogenerated gRPC code</figcaption></figure><h3>6. Building an open source web client</h3><p>I decided to take I learned about the api and build a web client which replicates the core functionality of the Airchat app which could then enable hobbyists and indie hackers to build on the platform.</p><p><a href="https://airchat-web.vercel.app/login">https://airchat-web.vercel.app/login</a></p><p><a href="https://github.com/aaln/airchat-web">Open source git repository</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Q5zPqE0SnovT_i-nlPAzmA.png" /><figcaption>Screenshot of login page for airchat-web.vercel.app</figcaption></figure><p><a href="https://github.com/aaln/airchat-web">GitHub - aaln/airchat-web: An unofficial web client for the innovative Airchat app, designed to integrate with the unofficial internal Airchat API.</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8d89b3ea8598" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Hack a Beer Bottle with a Macbook Charger]]></title>
            <link>https://aaronlandy.medium.com/how-to-hack-a-beer-bottle-with-a-macbook-charger-87aa933299a7?source=rss-deb5f5857a35------2</link>
            <guid isPermaLink="false">https://medium.com/p/87aa933299a7</guid>
            <dc:creator><![CDATA[Aaron Landy]]></dc:creator>
            <pubDate>Tue, 07 Oct 2014 06:29:44 GMT</pubDate>
            <atom:updated>2014-10-07T22:47:29.905Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GrRhxTNeYqLKhYZi3tE6Qg.jpeg" /></figure><p>Life is tough, thankfully your macbook charger solves this for you.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*3Gler5B9msyhUIc-UrYnqg.jpeg" /></figure><h4>Dave needs to open a beer bottle.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*ey0WsxaFo8teTwI9WwTkDQ.jpeg" /></figure><h4>Dave uses macbook charger</h4><blockquote>It’s super effective!</blockquote><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FiANcyQiE7tk%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DiANcyQiE7tk&amp;image=http%3A%2F%2Fi.ytimg.com%2Fvi%2FiANcyQiE7tk%2Fhqdefault.jpg&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/8dcdfb200c79426948b1e08f0945a3bf/href">https://medium.com/media/8dcdfb200c79426948b1e08f0945a3bf/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*WxQ7xeSDsO91gxX3V61FPg.jpeg" /></figure><h4>Dave is happy</h4><blockquote>Thanks <a href="https://twitter.com/jjeremycai"><strong>Jeremy Cai</strong></a>, <a href="https://twitter.com/Jackhanford"><strong>Jack Hanford</strong></a>, <a href="https://www.facebook.com/davefontenot"><strong>Dave Fontenot</strong></a><strong>, </strong><a href="https://twitter.com/AlexEKoren"><strong>Alex Koren</strong></a><strong> </strong>for being my housemates.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=87aa933299a7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hacking Hackathon Admissions: Part 2]]></title>
            <link>https://aaronlandy.medium.com/hacking-hackathon-admissions-part-2-907e545c40d0?source=rss-deb5f5857a35------2</link>
            <guid isPermaLink="false">https://medium.com/p/907e545c40d0</guid>
            <dc:creator><![CDATA[Aaron Landy]]></dc:creator>
            <pubDate>Fri, 03 Oct 2014 06:20:37 GMT</pubDate>
            <atom:updated>2016-11-30T06:16:17.219Z</atom:updated>
            <content:encoded><![CDATA[<p>The best hackers I know always find a way into hackathons and do not take no for an answer. If you make it there, you belong there.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/516/1*yaR6DEP4yxiOlM6sJbglNg.png" /><figcaption>MHacks Director</figcaption></figure><h4>Thought Process:</h4><p>Organizers want the most passionate hackers. They want to know you being there will change the world or change your life. The best way to show passion is through persistence and most organizers would rather admit you than reply to all your messages.</p><p><strong>tl;dr: </strong><em>Show Passion</em>: Be Persistent.</p><h4>Here’s how I got to YC Hacks:</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nBhX0ObxPl0A0D1ch0oNeQ.png" /><figcaption>YC Hacks Rejection #1</figcaption></figure><ol><li><strong>Contact organizers right away:</strong></li></ol><ul><li>Offer to volunteer (you can still hack).</li><li>“Is there still room for any teams, I’m going to build a world-changing product — Uber for Dogwalkers.”</li><li>“Attending <a href="https://bitca.mp/">Bitcamp</a> changed my life, me attending <a href="http://pennapps.com/">Pennapps</a> will change the world(awesome hack coming).”</li><li>“Hey <a href="https://www.facebook.com/vikramraja">Vikram</a>, <a href="http://challengepost.com/users/aroman">Avi Romanoff</a> and I hacked at BoilerMake. We’re on fire right now and are going to hack so hard at MHacks?”</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/976/1*ejT6SvOIXHn7ZFp3q9JRUQ.png" /><figcaption>Still Rejected ☹</figcaption></figure><p>2. <strong>Write, write, write</strong></p><ul><li>Thought Process: Organizers want press.</li><li>Send Organizers a message letting them know you want to write about their hackathon. Link to your previous posts.</li></ul><p>3. <strong>Get friends to recommend you</strong></p><ul><li>You want organizers to hear about you from as many angles as possible.</li></ul><p>4. <strong>Facebook/Twitter</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/990/1*wrSzJxI6vC3NbRHnRfyj-Q.png" /><figcaption><a href="https://www.facebook.com/groups/hackathonhackers/permalink/783684621687025/">Dan’s appeal on Hackathon Hackers</a></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1016/1*wGkYBgosPXzTUXr4_4kjuA.png" /></figure><p>5. <strong>The Waitlist</strong></p><ul><li>Try to get on the waitlist:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EafDi6rE_bGIZ1MA941C1g.png" /></figure><h3>If all else fails:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tRPOftc-_q_nhXIgzwv1aA.png" /><figcaption>So I’m really not getting into YC Hacks…</figcaption></figure><p><strong>6</strong>. <strong>Just Show up:</strong></p><blockquote><strong>Disclaimer:</strong> doesn’t always work.</blockquote><ul><li>No one cares if you didn’t get accepted. You being there means you belong.</li><li>Usually you can just walk in confidently. Having a friend on the inside doesn’t hurt.</li><li>You can submit hacks on challengepost without being registered for a hackathon.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/722/1*Vkiev2-gLDkP8fSMKlZpYA.png" /><figcaption>If things still don’t work out, message Dave… Or find the Dave of that hackathon/region/country</figcaption></figure><h3>Hacking hackathon admissions: Part 3</h3><blockquote><em>So you figured out how to get in, now how do you get there?</em></blockquote><blockquote><a href="http://www.hackathonhacker.com/aaron"><strong>Check out Part 3 over here</strong></a><strong>.</strong></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=907e545c40d0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to hack hackathon admissions]]></title>
            <link>https://aaronlandy.medium.com/how-to-hack-hackathon-admissions-9e21e75bf775?source=rss-deb5f5857a35------2</link>
            <guid isPermaLink="false">https://medium.com/p/9e21e75bf775</guid>
            <dc:creator><![CDATA[Aaron Landy]]></dc:creator>
            <pubDate>Tue, 30 Sep 2014 23:48:52 GMT</pubDate>
            <atom:updated>2017-09-18T05:11:36.316Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/761/1*srEN_morMIFNSK-Vcr7jrg.jpeg" /></figure><h3>Hacking Hackathon Admissions: Part 1</h3><p>As hackathons become more popular, admissions will inevitably become more selective.</p><h4>How do you ensure you have a spot?</h4><h3>1. Hack the application</h3><p><strong>Thought process:</strong></p><p>Hackathon organizers want to accept everyone, but a limited amount of spots means only the perceived best are selected. So like any application process, you need to distinguish yourself as better than the next girl/guy.</p><p><strong>tl;dr</strong> <em>Make it easy for organizers to say yes</em>: be impressive on paper.</p><p><strong>How organizers read applications:</strong></p><p>Most Organizers read thousands of applications. The average time spent on an application is 15 seconds. Having an easy to read application is extremely important.</p><p><strong>tl;dr </strong><em>Make application readable in 15 seconds.</em></p><p><strong>What organizers look for/why they say yes:</strong></p><ol><li><strong>Active Github (commit every day)</strong></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eeUxtgeqQSfjThKaEsvKrQ.png" /><figcaption>Aiden Feldman’s public github commit history. <a href="https://github.com/afeld">https://github.com/afeld</a></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/710/1*oYATGv3xXbSkKd3CGNU1qA.png" /><figcaption>Zach Latta’s public repositories. <a href="https://github.com/zachlatta">https://github.com/zachlatt</a>a</figcaption></figure><p><strong>2. Awesome personal website</strong></p><ul><li>Super easy to read <a href="http://rjvir.com/">http://rjvir.com</a></li><li>Well designed. <a href="http://www.lucy.ws/">http://www.lucy.ws</a></li><li>Focus on what you’ve built. <a href="http://helloben.co/">http://helloben.co</a></li><li><a href="https://www.hackathonhacker.com/feedback">Get Feedback from Dave Fontenot</a></li></ul><p><strong>3. Front-load numbers and accomplishments</strong></p><ul><li>Use one line, brevity is best.</li><li>Links are really important (Avoid linking login pages. If an organizer has to login, chances are she won’t.)</li><li>“Built app which has 2000 users that shows you <a href="http://parkour.herokuapp.com/map">where you can park.</a>”</li><li>“3rd place at <a href="http://pennapps.com/">Pennapps X</a>.”</li><li>“Best Sendgrid hack at <a href="http://hackdc.org/">HackDC</a>“</li><li>“2014 Thiel Fellow”</li><li>“Built X while interning at company Y”</li><li>“Helped organize <a href="https://www.facebook.com/vikramraja">MHacks with Vikram Rajagopalan</a>”</li></ul><p><strong>4. Enthusiasm</strong></p><ul><li>Organizers get excited when they hear you have a crazy world-changing idea.</li><li>“Really excited to <a href="http://ychacks.challengepost.com/submissions/25781-athelas">diagnose Malaria with an iphone</a> at YCHacks.”</li><li>“So pumped for <a href="http://bitca.mp/">Bitcamp</a>, have a team ready to build an awesome hack.”</li><li>Being active in hackathon hackers.</li><li>Writing about the hackathons you’ve been to.</li></ul><p><strong>**Please comment if you feel a point should be added. (organizers especially)</strong></p><h3>Part 2. How to get in if you’re rejected?</h3><h3><a href="https://medium.com/@aaln/hacking-hackathon-admissions-part-2-907e545c40d0"><strong>Click here for part 2</strong></a></h3><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9e21e75bf775" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to hack LinkedIn Connections]]></title>
            <link>https://aaronlandy.medium.com/how-to-hack-linkedin-connections-d2c76bb33dd2?source=rss-deb5f5857a35------2</link>
            <guid isPermaLink="false">https://medium.com/p/d2c76bb33dd2</guid>
            <category><![CDATA[linkedin]]></category>
            <category><![CDATA[hacks]]></category>
            <category><![CDATA[productivity-hacks]]></category>
            <category><![CDATA[working]]></category>
            <category><![CDATA[connection]]></category>
            <dc:creator><![CDATA[Aaron Landy]]></dc:creator>
            <pubDate>Mon, 29 Sep 2014 17:36:34 GMT</pubDate>
            <atom:updated>2016-07-18T15:28:58.768Z</atom:updated>
            <content:encoded><![CDATA[<h3>How to Hack LinkedIn Connections</h3><p>It took me 3 years to reach 350 LinkedIn connections. In 7 hours last night, I went from 350 to 500+.</p><p>Below are instructions to automatically connect with everyone on Linkedin’s “People You May Know” page.</p><h3><strong>Steps</strong></h3><ol><li>Go to <a href="https://www.linkedin.com/people/pymk/hub">https://www.linkedin.com/people/pymk/hub</a> when logged in.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/774/1*dFSZa4WCekHmXZyccs1abQ.png" /></figure><p>2. When page below loads, open console (CMD + option + j on Chrome).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EiUP7VEbHGjhhT8LqxqaeA.png" /></figure><p>3. Paste Javascript code into your console.</p><pre>setInterval(function() { var connectBtns = document.getElementsByClassName(&#39;bt-request-buffed&#39;); for(var i =0; i &lt; connectBtns.length; i++) { console.log(connectBtns[i].title.split(&quot;Connect with &quot;)[1]);connectBtns[i].click()}}, 500);</pre><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F4OwyJwrVcdw%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4OwyJwrVcdw&amp;image=http%3A%2F%2Fi.ytimg.com%2Fvi%2F4OwyJwrVcdw%2Fhqdefault.jpg&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/6a5554a1edde8e8d93ce1f495ac11a3d/href">https://medium.com/media/6a5554a1edde8e8d93ce1f495ac11a3d/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d2c76bb33dd2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to find your Uber passenger rating.]]></title>
            <link>https://aaronlandy.medium.com/how-to-find-your-uber-passenger-rating-4aa1d9cc927f?source=rss-deb5f5857a35------2</link>
            <guid isPermaLink="false">https://medium.com/p/4aa1d9cc927f</guid>
            <dc:creator><![CDATA[Aaron Landy]]></dc:creator>
            <pubDate>Mon, 28 Jul 2014 01:14:30 GMT</pubDate>
            <atom:updated>2014-09-22T19:49:04.568Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Edit 4: </strong>Uber has removed the passenger rating again.</p><p><strong>Edit 3: </strong>After being hidden for over a week, the Uber passenger rating hack is back online.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/890/1*2Elu5TO1uUesOIulivZHWw.png" /></figure><p><strong>Edit 2: </strong>Unfortunately, Uber has removed the public passenger rating. Goodbye 4.6…</p><p><strong>Edit 1: </strong>Uber is currently trying to fix it. Hurry to find your rating!</p><p>Uber has a rating system for Drivers and Passengers. Both can rate each other.</p><p>Uber doesn’t give any easy way for users to find their rating.</p><p>Follow steps below to find your rating. Either download the chrome extension or follow instructions manually.</p><h3>Steps</h3><ol><li>Go to <a href="https://m.uber.com/">https://m.uber.com</a> and log in.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/916/1*PUfoVJwm9smSbdfZl5XZcA.png" /></figure><p>2. When page below loads, open console (CMD + option + j on Chrome).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/804/1*E7c8B5zTQP8SlmtXIUIWmg.png" /></figure><p>3. Paste Javascript code into your console.</p><pre>if(window.Uber.pingData === false) { location.reload(); } else { alert(&quot;Name : &quot; + window.Uber.pingData.client.firstName + &quot; &quot; + window.Uber.pingData.client.lastName + &quot;\nEmail : &quot;+ window.Uber.pingData.client.email + &quot;\nPassenger rating is : &quot;+ window.Uber.pingData.client.rating); }</pre><p>4. The first time you paste code, your browser will reload. Keep the console open and once the page loads again, paste code again. If you are successful, popup below will appear.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1022/1*srpJxXjPF8QBJD4tneT1LA.png" /></figure><p>Feel free to share your rating in the comments.</p><p>https://twitter.com/aalndy</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4aa1d9cc927f" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>