Readit News logoReadit News
lab commented on Response Healing: Reduce JSON defects by 80%+   openrouter.ai/announcemen... · Posted by u/numlocked
nubg · 3 months ago
Dear Openrouter blog authors, could you please stop writing your blogposts with LLMs?

The content of your posts is really insightful and interesting, but it's feel like junk quality because of the way LLMs write blogposts.

What was your prompt?

lab · 3 months ago
A lot of it was finger written -- curious which part sounded like LLM to you?
lab commented on Kimi K2 Thinking, a SOTA open-source trillion-parameter reasoning model   moonshotai.github.io/Kimi... · Posted by u/nekofneko
simonw · 4 months ago

  uv tool install llm
  llm install llm-moonshot
  llm keys set moonshot # paste key
  llm -m moonshot/kimi-k2-thinking 'Generate an SVG of a pelican riding a bicycle'
https://tools.simonwillison.net/svg-render#%3Csvg%20width%3D...

Here's what I got using OpenRouter's moonshotai/kimi-k2-thinking instead:

https://tools.simonwillison.net/svg-render#%20%20%20%20%3Csv...

lab · 4 months ago
Does the run pin the temperature to 0 for consistency?
lab commented on Ask HN: Show me your New Tab    · Posted by u/vladstudio
lab · 3 years ago
My custom new tab showing my company's metric updated daily [0]

[0] https://p1asm0.notion.site/Change-Logs-1781b2744e61495ba6e87...

lab commented on For your next side project, make a browser extension   geoffreylitt.com/2023/01/... · Posted by u/Glench
nassimsoftware · 3 years ago
If I want to build a cross platform browser extension is there an easier way then having to write it twice?
lab · 3 years ago
The Plasmo framework has a couple feature that you can use to specify bundle specific behavior at the compilation level (via env or via file): https://docs.plasmo.com/framework/workflows/build#with-a-spe...

Disclaimer: I'm the author and maintainer of the framework.

lab commented on React Native is not the future   blog.standardnotes.com/40... · Posted by u/samwillis
jitl · 3 years ago
Facebook is building a framework with native components in Lexical: https://mobile.twitter.com/peterfriese/status/15674455305815...

I don’t know how we could possibly shut this initiative down, but I guess I should try!

For us to build such a project without backing it with a webview would probably take an order of magnitude more engineers working on the editor than we have today.

lab · 3 years ago
Agreed. I would even call such initiative premature optimization, with unknown gain compared to just optimize the WebView component in the native shell if that's ever needed. More so for any new startup trying to enter the KMS space in general.

I don't think Notion need to worry about FB. I think Notion might need to be worried about the potential market saturation caused by how easy it will be for a small team of 3 to clone Notion (and all of its integration, API, and so on) on all platform perfectly in a weekends. At that point, it's not the technology bottleneck anymore but more so a battle over branding and minor UX improvement.

lab commented on React Native is not the future   blog.standardnotes.com/40... · Posted by u/samwillis
jitl · 3 years ago
How would you make a multi-platform rich text editor in React Native?
lab · 3 years ago
I think this is the key reason why going hybrid native with a lightweight WebView was needed at Notion. If there was a ProseMirror-like standard library for rich text editor available for crossplatform, with:

- Native editor for IOS - Native editor for Android - Native editor for Web - Electron/Native desktop, etc...

These editor can share code via a clean architecture inspired state plugin hyerachy that's swappable (i.e, a shared provider that swap out state and data routing per platform). Then with metro or esbuild you can selectively prune the code branch. The UI can be done in RN-web if lazy or straight up native code. It doesn't matter at this level.

Then, anyone who wanted to clone Notion can consume this component in their RN app. However, this is against Notion interest atm afaik, since Notion must keeps its advantage (make it harder for people to clone Notion). I'd argue it will try to shutdown such an initiative until it found a better way to have an edge on these competitor (or maybe shift to a new market)

u/lab

KarmaCake day313November 18, 2015
About
Cofounder, https://openrouter.ai | https://github.com/OpenRouterTeam

Previously: https://www.localai.app | https://github.com/louisgv/local.ai https://plasmo.com | https://github.com/PlasmoHQ/plasmo

View Original