Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bhl
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
bhl
1y ago
Usually with Business or Enterprise plans, there's a privacy mode where OpenAI and Cursor / Windsurf can't train on user data.
32.
▲
by
bhl
1y ago
That's very ambitious. You have companies and startups at each of those layers right now: code, pull request reviews, issue tracking, documentation.
33.
▲
by
bhl
1y ago
It's cheap but also lazy. It sometimes generates empty strings or empty arrays for tool calls, and then I just re-route the request to a stronger model for the tool call. I've spent a lot of time on prompts and tool-calls to get F
34.
▲
by
bhl
2y ago
https://github.com/coolsoftwaretyler/mst-middlewares/blob/ma...
35.
▲
by
bhl
2y ago
Paste it into Claude and ask it to made the minified code more readable ;) Agree the code should just be open source but there's nothing secretive that you can't extract manually.
36.
▲
by
bhl
2y ago
For context.md, it's that simple because it's unstructured data extraction from your codebase and working with a regular LLM model. For design.md, I have a prompt because we're now working with a reasoning model and doing str
37.
▲
by
bhl
2y ago
Haven't tried Windsurf yet. Chat function is just chat; it can't edit your files. Composer probably relies on prompt engineering to do editor-architecture, as it reads and writes to your codebase. But it's heavily heavily to
38.
▲
by
bhl
2y ago
I use it everyday. For coding, I use cursor composer to gather context about the existing codebase (context.md). Then I paste that into DeepSeek R1 to iterate on requirements and draft a high level design document, maybe some implementation
39.
▲
by
bhl
2y ago
Look into immunotherapy trials at hospitals like UCSF. They might have pre-existing conditions which would make them in-eligible however. In any case, try to spend as much time with them as possible; you won't regret anything when they
40.
▲
by
bhl
2y ago
Any non in-memory search indices? Was hoping to find one that used indexeddb to implement fuzzy search. Maybe that’s just not as performant which is why I haven’t found a popular library yet.
41.
▲
by
bhl
2y ago
Any grounding with google maps or mapbox, etc?
42.
▲
by
bhl
2y ago
Four Square just open sourced their places dataset. https://location.foursquare.com/resources/blog/products/four... Given how expensive it is to query Google places, would love a crowdsourced open-source plac
43.
▲
by
bhl
2y ago
Is sandboxed browser environments on your roadmap? Would much prefer to use the client's runtime for non-computational expensive things like web dev.
44.
▲
by
bhl
2y ago
> We now use QuickJS, a JavaScript VM written in C and cross-compiled to WebAssembly. https://www.figma.com/blog/an-update-on-plugin-security/
45.
▲
by
bhl
2y ago
Makes a lot of sense given they released Artifacts previously, which let you build simple web apps. The browser nowadays can be a web dev environment with nodebox and webcontainers; and JavaScript is the default language there. Allows you t
46.
▲
by
bhl
2y ago
Serverless git repos would be useful if you wanted to make a product like real-time collaboration + offline support code editing in the browser. You can still sync to a platform like GitHub or BitBucket after all users close their tabs. A l
47.
▲
by
bhl
2y ago
Was looking into local DuckDB notebooks and found this: https://www.duckbook.ai/
48.
▲
by
bhl
2y ago
I've done the same with mobx-state-tree, and realized I was essentially building a relational database with cache-ing in JavaScript. The only thing SQLite is missed, which is important when integrating with React, is incremental view m
49.
▲
by
bhl
2y ago
The project is open source ( https://github.com/Brayden/starbasedb/blob/main/src/index.ts ). Yes to it provides a way to update Cloudflare's SQLite with HTTP.
50.
▲
by
bhl
2y ago
You get tighter feedback loops and better products if you own the vertical. OpenAI already A/Bs test the responses it generates. Imagine if they own the text editor or spreadsheet you work on too. It’ll incorporate all of your edits to
51.
▲
by
bhl
2y ago
I was coincidentally looking into this yesterday, trying to find an implementation of JS sandbox to run AI-generated code or web apps in. A similar project is sandpack, but that relies on nodebox which is also closed source.
52.
▲
by
bhl
2y ago
One insight I’ve gleaned from working on this project is that I’m convinced web dev will trend towards well-designed and modular components with accessible state and mutators. LLMs will then have a set of these components to dynamically rou
53.
▲
by
bhl
2y ago
Prompting GPT to do rich text editing. Instead of replacing the entire document or selection, we want it to create diffs or operations for the minimal amount of edits as possible. This helps preserve intent better when merging the doc later
54.
▲
by
bhl
2y ago
I wonder if tool-calling to output schema'd json would have a low error rate here. For each field, you could have a description of what is approximately right, and that should anchor the output better than a one-off prompt.
55.
▲
by
bhl
2y ago
What library do you use to compute embedding right now? I'm wondering if it's possible to do both embedding and vector search client-side for a local-first app.
56.
▲
by
bhl
2y ago
Checkout this discussion https://discuss.codemirror.net/t/codemirror-6-and-typescript... or this package https://github.com/val-town/codemirror-ts
57.
▲
by
bhl
2y ago
DevTools is open-source! https://github.com/ChromeDevTools/devtools-frontend/blob/mai...
58.
▲
by
bhl
2y ago
Does Caltrans have any history of developing profitable mixed used properties around new stations, like with the MTR Corporation? https://en.wikipedia.org/wiki/MTR_Corporation
59.
▲
by
bhl
2y ago
It seems this is not a full rewrite of the calculation engine, so it’s hard to compare the performance of JavaScript against WASM. Has anyone rewritten a performant calculation in that way from JavaScript to WASM? I’m curious to what the pe
60.
▲
by
bhl
2y ago
What’s the difference between tool calling and “agents”? How would you handle map-reduce type of tool calls where you have a lot of parallel tools that you want to merge later on? What’s a good way to scale that without running into API lim
More ›