Better HN
topnewbestaskshowjobs
Log inSign up

mfester

79 karma · joined Mar 28, 2012 (14y ago) · 53 submissions

Co-founder of 14.ai (YC W24). https://michaelfester.com https://twitter.com/michaelfester
Submissions

1.

All the wrong ways to think about AI customer support(mux.com ↗)

3 points · by mfester · 1y ago · discuss

comment 3y ago · link · parent

Interesting. Could you share more about the performance characteristics of EdgeDB + TypeScript vs say Prisma + other DB?

3.

A “prompt engineered” solution to process Markdown(markprompt.com ↗)

5 points · by mfester · 3y ago · discuss

comment 3y ago · link · parent

Embeddings are created using OpenAI's ada model. They are stored in Supabase with the vector extension, which offers a simple way to compute vector similarities. Then the associated sections are added to the prompt context.

comment 3y ago · link · parent

Thanks!

comment 3y ago · link · parent

Yes, we plan to do this in background workers soon so that it can carry the load.

comment 3y ago · link · parent

The way it went is: we built this as part of Motif for the past month, and our users loved it. Many asked for a way to add this feature to their existing sites, so we made a standalone platform that streamlines the process, and open sourced it :)

comment 3y ago · link · parent

Yes, this will come, we had to start somewhere. Would love a PR on this, should be straightforward.

comment 3y ago · link · parent

Handmade, but indeed Tailwind.

comment 3y ago · link · parent

Haven't made a comparison yet but would love to hear about any findings. So far, for the intended use cases, meaning narrative docs with lots of text, images and code, it works really well. We're still breaking up the Markdown into sections and comparing embeddings as this strikes a good balance between performance and cost, but will also plan to let users experiment with other approaches, such as sending entire corpuses of text to GPT-4.

11.

Markprompt: An open-source GPT-4 platform for Markdown/Markdoc/MDX docs(markprompt.com ↗)

5 points · by mfester · 3y ago · discuss

12.

VSCode-mdx 1.1.0 adds support for IntelliSense(twitter.com ↗)

2 points · by mfester · 3y ago · 1 comment

comment 4y ago · link · parent

Not yet. We do support file sync though (https://motif.land/blog/syncing-text-files-using-yjs-and-the...) so you can use your mobile Markdown editor of choice.

comment 4y ago · link · parent

Nice work! Regarding your question on how to handle undoing a command on a shape that doesn't exist anymore, is there a way we could automatically recreate the shape?

comment 4y ago · link · parent

Co-founder of Motif here. We're building Motif because we think that ultimately, there is no difference between a document and a full-blown website. The tool needed to author such docs should be at the intersection between a coding environment and a word processor, and leverage open web technologies. The goal is that, by building a platform geared for content creation, with a rich set of tools and helpers (think drag and drop, asset management, WYSIWYG editing, shared components, instant publishing...), we can make software development accessible to more people than just developers, and improve collaboration between teams that have been siloed apart in different tools.

Today, Motif is a collaborative text editor (based on Monaco + Yjs + Replicache) that runs entirely in the browser (thanks to esbuild, no local Node dev environment required). It also syncs with the file system so that you can use your tools of choice (we posted about this last week [1]). It supports MDX [2], Markdoc [3], React/JS/JSX, Tailwind CSS, and ES module imports. It features instant publishing (as a Next.js application hosted on Vercel).

Why MDX and Markdoc? While we do think that MDX provides the most versatile format and the most powerful API (with the Unified.js ecosystem, which we will soon support), we want to give optionality to experiment and choose what is best for a given situation. Other formats, like AsciiDoc, might also be supported down the line.

Would love your feedback! Our Discord is: https://discord.gg/MBMh4apz6X.

[1] https://motif.land/blog/syncing-text-files-using-yjs-and-the...

[2] https://motif.land/docs/basics/mdx

[3] https://motif.land/docs/basics/markdoc

16.

Motif: A collaborative authoring platform for MDX and Markdoc(motif.land ↗)

9 points · by mfester · 4y ago · 1 comment

comment 4y ago · link · parent

Thank you!

comment 4y ago · link · parent

Sure! Motif is an MDX editor running in the browser, with a full-fledged JS build system inside (based on esbuild). It allows you to publish your content instantly (in fact, as a Next.js app, deployed on Vercel, benefitting from things like ISR to make your pages fast, SEO-ready, etc.). For instance, the entire Motif website is built on Motif, including the blog, as well as our docs: https://motif.land/docs.

comment 4y ago · link · parent

With pleasure. Feedback welcome! :)

comment 4y ago · link · parent

Thank you!

comment 4y ago · link · parent

Awesome! Happy to hear this :)

comment 4y ago · link · parent

Yes that's one of the goals, and CRDTs are pretty much built for this. Also, browsers are starting to support Progressive Web Apps (PWAs), which enables the websites/apps themselves to be opened while offline.

comment 4y ago · link · parent

Thanks!

comment 4y ago · link · parent

Yes, this is an interesting topic. In Motif, we are using MDX for the page content, which has an associated AST and a nice set of tools (Unified.js [1]) to manipulate it. We plan to use this to track semantic changes in the content, and act in an appropriate way. For instance, if the same block of JS code is changed, instead of merging, we can prompt the user with a diff and allow them to edit the final version manually (effectively transitioning from a synchronous to an asynchronous workflow). In simpler scenarios, such as text markup, we can use heuristics like the ones presented in Peritext [2].

[1] https://unifiedjs.com/ [2] https://www.inkandswitch.com/peritext/

comment 4y ago · link · parent

We're in an exploratory phase on this. We have been experimenting with reading the .git folder to determine the current branch, and store this info alongside the CRDT in the client. Still early to say whether this is a fruitful approach or not.

comment 4y ago · link · parent

We wish! Currently, the API is supported on Chrome 86+, Edge 86+ and Opera 72+: https://developer.mozilla.org/en-US/docs/Web/API/File_System.... It's all quite new, and we hope other browsers will follow.

comment 4y ago · link · parent

Yes, the goal was to make pragmatic choices in order to make the data freely available, here and now, to other apps (most of which operate on plain text files), despite running in the browser. I do have hope that the POSIX file system still has its place in a "change-aware" setup, for instance by adding a folder, similar to .git, alongside the "final state materialization". Do you see a reason for this not to work?

I'm really thinking in practical terms, i.e. of how we can make this happen incrementally, without forcing a new standard that everyone needs to adhere to in order for it to work.

12