mathis

174 posts

mathis

mathis

@mathisob

Working at https://t.co/kbKJYf98zX for local newsrooms. Building https://t.co/dZ8BoXCni6 in public

Paris, France Присоединился Haziran 2009
354 Подписки42 Подписчики
mathis
mathis@mathisob·
@samgoodwin89 I guess we are in the age of personal software now ! I would never think of building an app like that without ai but now…
English
0
0
1
28
sam
sam@samgoodwin89·
@mathisob Yeah was thinking that. For that I need to build an app, which I was also considering. Just roll my own productivity app that works how I want it to?
English
1
0
0
39
sam
sam@samgoodwin89·
Are there any speech to text models that output markdown and can understand words like “esbuild” (“ee ess build”). I want to dictate GitHub issues and comments
English
3
0
11
934
mathis
mathis@mathisob·
@thdxr Every day 1: billing 2: dynamodb 3: cloudwatch to search logs or because for some reason the sst console is not showing the log / showing with too much delay.
English
0
0
0
26
dax
dax@thdxr·
the last time you can remember going to the aws console 1. around how long ago? 2. what were you trying to do?
English
231
1
187
38.5K
mathis
mathis@mathisob·
@thdxr Please be frontend error monitoring 🙏
English
0
0
0
196
dax
dax@thdxr·
i have an idea for an important open source effort that should exist - one that benefits particularly from being open source don't want to share publicly yet because the space is dominated by paid vendors (who i use) will do my best to help blow it up, dm if interested
English
18
2
120
17.5K
mathis
mathis@mathisob·
@ryanflorence @SurelyAutomata Funny I came up with a similar solution but you don’t really need to do breadth first if you’re going to save the level of each node in a separate structure. You can do depth first without a queue and get the same result (with a bit less complexity)
English
1
0
1
53
Ryan Florence
Ryan Florence@ryanflorence·
@SurelyAutomata alright, back at my computer with the update I keep the level with the node in the queue and added a function to get all the branches if you want to process an entire branch at once instead of just walking the tree
Ryan Florence tweet media
English
6
0
26
4.9K
Ryan Florence
Ryan Florence@ryanflorence·
Not a CS grad (econ) and have never done leetcode stuff. I tried this just for fun. Turned off copilot. I flailed for about 5 minutes trying to call a recursive function, realizing half way through each attempt it was going to do depth first Then I remembered while loops
Ryan Florence tweet media
vik@vikhyatk

i have a very simple question i ask during phone screens: print each level of a tree on a separate line. 90% of CS grad candidates just can't do it. someone needs to investigate these universities.

English
16
20
705
204.2K
mathis
mathis@mathisob·
@thdxr Maybe unrelated to what you are building but I wish I had a good library for notifying the user when I start a long running job. It would notify with websocket or SSE and fallback to email is user is disconnected.
English
0
0
1
266
dax
dax@thdxr·
i am going to be building a job library for js with pluggable backends and ideally i can use that to build a workflow library on top (might just copy the cloudflare workflow api) idk when i'll get to this but the pain of not having this is compounding
English
20
0
155
16.5K
mathis
mathis@mathisob·
@thdxr Please don’t find anything better, I already have too many decisions I regret making in my stack.
English
0
0
1
97
dax
dax@thdxr·
i like pandacss but damn it has way too many features
English
6
0
32
9K
mathis
mathis@mathisob·
@thdxr lol it’s true it doesn’t work perfectly in nextjs, but super useful when it does
English
0
0
0
452
dax
dax@thdxr·
@mathisob tbh i regret this feature - i actually never even wanted to ship it haha it can potentially be done well but it involves lambda extension api craziness - needs a lot of attention to use it efficiently
English
1
0
2
2.3K
dax
dax@thdxr·
been using hono+lambda for a bit but finally moving the sst console and wow what a difference the whole "granular functions, one per route" was such bad guidance as a default
English
28
1
182
39.7K
mathis
mathis@mathisob·
@thdxr Will it save sessions to my own database ?
English
0
0
1
229
dax
dax@thdxr·
ok we finally figured out the last remaining questions for sst.Auth it's gonna be great and you'll finally be able to stop dealing with this stupid problem
English
12
2
161
19.1K
mathis
mathis@mathisob·
@thdxr Migrating to app router is not that hard, but one of our app does not benefit at all from that migration because it uses stitches and it’s not really compatible with app router.
English
0
0
1
49
mathis
mathis@mathisob·
@samgoodwin89 Yeah, I got to use python more for data tasks but it was much more pleasant that I expected thanks to copilot and chatgpt.
English
1
0
0
36
sam
sam@samgoodwin89·
@mathisob It has to be Python because of the ecosystem and data scientists only use Python for the most part. Sprinkle in some R and SQL. Typescript is a hard sell.
English
1
0
1
28
sam
sam@samgoodwin89·
The future of data engineering is forgetting that it was ever any different than ordinary engineering. Ordinary code, ordinary tests, ordinary workflows. Just bigger machines and more waiting around. Only different thing is Jupyter Notebooks. Fucking love that.
English
2
0
3
425
mathis
mathis@mathisob·
@thdxr Nooo what you really need is to monkeypatch fetch into a centralized s3 cache so that your dropdown component can render nice looking skeletons while fetching available log levels
English
0
0
2
959
dax
dax@thdxr·
can’t believe i’m becoming a use the platform/standards guy but please lookup cache control headers, particularly stale white revalidate they’re so powerful and can eliminate a ton of complexity that you think you need specialized solutions for
English
21
19
475
75.8K
mathis
mathis@mathisob·
@boristane Now we only need free idle time to be happy !
English
0
0
1
378
boris
boris@boristane·
it looks like aws is building a new JS runtime and it has over 10x faster cold starts and is up to 2x cheaper on lambda 🤔
boris tweet media
English
49
128
1.6K
443.6K
mathis
mathis@mathisob·
@jayair What's a plugin for sst ? Would it be like a custom construct or something else like a plugin that automatically adds a layer to all lambdas?
English
1
0
2
157
Jay
Jay@jayair·
The one area that SST has been historically weak in is having a plugin ecosystem. These were tricky partly cos of how we were using CDK and partly cos you needed to understand CDK/CFN. We'll share details soon but with ❍ it'll be a lot easier to build and distribute a plugin.
English
4
0
37
3.9K
mathis
mathis@mathisob·
@jayair Yes this makes sense when you really want to keep your data in a database that has no vector search built in like dynamo but many search engines / databases are adding vector search and it makes a separate vector database redundant. I ditched pinecone when typesense added vectors
English
0
0
0
20
Jay
Jay@jayair·
@mathisob Yeah this might change but we didn't want to impose restrictions on how you store your data and keeping the design general enough.
English
1
0
1
202
Jay
Jay@jayair·
Our little AI demo went viral over the weekend so I wanted to take a minute to share why we built it. I also have a slightly different take on these LLMs. *cough* AI is the future of UI *cough* Let's do a thread!
dax@thdxr

we’re re-enacting the plot to silicon valley with LLMs we’ve been gifted the best way to search over compressed data ever invented but everyone is building the same chatbot over and over we built a 100% open source demo of something more practical check the thread

English
7
10
184
108.5K
mathis
mathis@mathisob·
@jayair I think this setup could be improved if you could retrieve the actual data you are searching for instead of just retrieving the ids and then getting the data from dynamo with a batchGet. Vector search should just be one way to query your data, not a completely separated system.
English
1
0
0
26
Jay
Jay@jayair·
And finally you query it in your Next.js app.
Jay tweet media
English
2
0
2
1.8K
mathis
mathis@mathisob·
@thdxr I think in most cases you want your vectors to be stored in the same database as the rest of your data. In this case storing movies in the same rds table would save you from doing a batchGet in dynamo after retrieving the vectors (that’s why I moved away from pinecone)
English
0
0
0
155
dax
dax@thdxr·
we've open-sourced this whole app so go explore it - i think a lot of products can benefit from this kind of thing it's all very early but hopefully you can see the potential PRs welcome github.com/sst/demo-ai-ap…
English
13
19
464
36.8K
dax
dax@thdxr·
we’re re-enacting the plot to silicon valley with LLMs we’ve been gifted the best way to search over compressed data ever invented but everyone is building the same chatbot over and over we built a 100% open source demo of something more practical check the thread
dax tweet media
English
130
140
2.4K
894.8K