flowchart LR
subgraph Recording
Audio[Audio Stream] --> Transcribe[Transcription Service]
Transcribe --> Paragraphs[Paragraphs with Timestamps]
end
subgraph Processing
Paragraphs --> APIReq[capture_output_request]
APIReq --> Job[Background Job]
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 './App.css'; | |
import useInfiniteScroll from './useInfiniteScroll'; | |
import { useState, useEffect } from 'react'; | |
const PAGE_SIZE = 10; | |
const fetchPosts = async (page: number) => { | |
const response = await fetch( | |
`https://jsonplaceholder.typicode.com/posts?_page=${page}&_limit=${PAGE_SIZE}` | |
); | |
return response.json(); |
So you want to write a sync system for a web app with offline and realtime support? Good luck. You might find the following resources useful.
-
Database in a browser, a spec (Stepan Parunashvili)
What problem are we trying to solve with a sync system?
-
The web of tomorrow (Nikita Prokopov)
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
declare global { | |
namespace NodeJS { | |
EXPO_PUBLIC_RANDOM_KEY: string; | |
SECRET_KEY: string; | |
} | |
} | |
export {}; |
You are an expert in TypeScript, React Native, Expo, and Mobile App Development.
Code Style and Structure:
- Write concise, type-safe TypeScript code.
- Use functional components and hooks over class components.
- Ensure components are modular, reusable, and maintainable.
- Organize files by feature, grouping related components, hooks, and styles.
Naming Conventions:
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
[ | |
{ | |
"name": "Luka Dončić", | |
"jersey_number": 77, | |
"position": "Point Guard", | |
"height": "6'7\"", | |
"weight": "230 lbs", | |
"age": 25, | |
"college": "N/A", | |
"salary": "$43,031,940" |
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
✔ Using remote iOS credentials (Expo server) | |
Distribution Certificate is not validated for non-interactive builds. | |
Skipping Provisioning Profile validation on Apple Servers because we aren't authenticated. | |
Project Credentials Configuration | |
Project @msell/freshy | |
Bundle Identifier com.msell.freshy | |
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
start of the song you can omit first bar if you want to play the melody | |
Em Em | Em B7 | Em Em | Em Em | |
Am Am | Em B7 | Em Em| C7 B7 | |
* alternating bass (exept on Am, just hit the bass there) |
I did experement with changing over to NPM all toghether but it had its own set of issues and in the end does not seem to put us in a better spot than we were in with yarn. Here were the steps I followed to try out NPM:
- Update package.json to use NPM instead of Yarn commands, then run synp to create package-lock.json
rm -rf node_modules && npm i && npm start:web
to test the conversion to NPM was successful.- Error running web -
@sentry/types
module was not found. I will reinstall withnpm i -D @sentry/types
but this is a red flag that the converstion from Yarn to NPM did not completely work - After installing @sentry types I can confirm the web version and the native versions still work.
- Using [email protected] run
expo upgrade
- The interesting thing here is that the output of expo upgrade indicates that they delete the
package-lock.json
file and node_modules as part of the upgrade process. This seems like it could be problematic. Once the upgrade was complete I ran `np
NewerOlder