HN user

jchrisa

4,321 karma

Creator https://fireproof.storage live database with encrypted sync

jchris at fireproof.storage

Posts198
Comments1,026
View on HN
gizmodo.com 1y ago

Gravity Could Be Proof We're Living in a Computer Simulation

jchrisa
4pts3
openai.com 1y ago

Sora System Card

jchrisa
1pts0
use-fireproof.com 3y ago

Show HN: ChatGPT Expert Builders for React

jchrisa
1pts0
epiphany.fireproof.storage 3y ago

Show HN: Lean customer development methodology simulated by AutoGPT

jchrisa
7pts4
www.bbc.com 5y ago

Jaguar Land Rover to suspend output due to chip shortage

jchrisa
363pts327
softwareengineering.stackexchange.com 5y ago

Git – My coworker commits and pushes without testing

jchrisa
2pts1
science.sciencemag.org 5y ago

A neural correlate of sensory consciousness in a corvid bird

jchrisa
2pts0
phys.org 5y ago

Indeterminist Physics for an Open World

jchrisa
1pts0
en.wikipedia.org 6y ago

Bloom's 2 Sigma Problem

jchrisa
1pts0
www.scientificamerican.com 6y ago

How Do They Do That? A Closer Look at Quantum Magnetic Levitation

jchrisa
2pts0
www.businessinsider.com 6y ago

List of VC-backed company layoffs due to coronavirus fallout

jchrisa
1pts0
fauna.com 7y ago

Show HN: Try FaunaDB's GraphQL API

jchrisa
42pts5
www.schneier.com 7y ago

The Solitaire Encryption Algorithm

jchrisa
2pts0
cosmology.com 7y ago

Space Fungi Are Attacking the Space Stations

jchrisa
2pts1
arstechnica.com 7y ago

20k Linksys routers leak historic record of every device ever connected

jchrisa
4pts0
phys.org 7y ago

Physicists propose a second level of quantization for quantum Shannon theory

jchrisa
1pts0
medium.engineering 7y ago

Engineering Interviews: Grading Rubric

jchrisa
1pts0
kortina.nyc 7y ago

History of the Capital AI and Market Failures in the Attention Economy

jchrisa
1pts0
www.wsj.com 7y ago

Marriott to Take on Airbnb in Booming Home-Rental Market

jchrisa
2pts0
employbl.com 7y ago

Setup Gatsby with Netlify Functions

jchrisa
1pts0
phys.org 7y ago

Transparent wood can store and release heat

jchrisa
3pts0
newatlas.com 7y ago

Morphing metamaterial models take origami to a whole new level

jchrisa
2pts0
www.technologyreview.com 7y ago

The Triton malware is murderous and spreading

jchrisa
116pts61
www.engadget.com 7y ago

Mars may have enough oxygen underneath its surface for life

jchrisa
3pts0
arstechnica.com 7y ago

Engineering tour de force births programmable optical quantum computer

jchrisa
7pts0
www.sciencemag.org 7y ago

This bright purple ribbon–named STEVE–is an entirely new celestial phenomenon

jchrisa
1pts0
blog.fauna.com 8y ago

Verifying Global Consistency with Jepsen

jchrisa
13pts6
www.nature.com 8y ago

The common origin of family and non-family asteroids

jchrisa
1pts0
physicsworld.com 8y ago

Higgs boson seen decaying to two bottom quarks

jchrisa
3pts0
blog.fauna.com 8y ago

The database that stays up even when you command it to remove the last replica

jchrisa
1pts1

I just had a majorly fun time addressing tech debt, deleting about 15k lines-of-code from a codebase that now has ~45k lines of implementation, and 50k lines of tests. This was made possible by moving from a homegrown auth system to Clerk, as well as consolidating some Cloudflare workers, and other basic stuff. Not as fun as creating the tech debt in the first place, but much more satisfying. Open source repo if you like to read this sort of thing: https://github.com/VibesDIY/vibes.diy/pull/582

The generation is running while you login, so this appreciable decreases wait time from idea to app, because by the time you click through the login, your app is ready. (Vibes DIY CEO here.)

If login takes 30 seconds, and app gen 90, we think this is better for users (but clearly not everyone agrees.) Thanks for the feedback!

I haven't posted it here yet b/c it's not show ready, but we have been building this vision -- I like to think of it as an e-bike for the mind.

https://vibes.diy/

We had a lot of fun last night with Vibecode Karaoke, where you code an app at the same time as you sing a song.

The best starter is the React Tutorial in our docs: https://use-fireproof.com/docs/react-tutorial/

We are updating this example to the latest right now, it shows how team chat can be implemented with database sharing. https://github.com/fireproof-storage/firehouse-chat

This drum machine is pretty forkable as well: https://github.com/fireproof-storage/bloopernet

You can also get started by clicking the "Edit in CodePen" button on our home page, which is just a JavaScript and HTML app.

Thanks -- we got hello world with Socket, but there's some interesting open source work we'll need to do to support peers acting as servers and take full advantage of the network.

https://github.com/fireproof-storage/hello-socket-fireproof

If anyone wants to join the effort, the semantics we are talking about are also aligned with WebRTC delivery, so you'd enable a bunch of p2p topologies with your contribution.

Here is the code sample I mentioned, example React usage (see our homepage for Vanilla JS)

    import { useFireproof, useDocument } from "use-fireproof";
    import { connect } from "@fireproof/cloud";

    export default function App() {
      const { database, useLiveQuery } = useFireproof("my_db");
      connect(database, "my-remote");
      const { docs } = useLiveQuery("_id");

      const [newDoc, setNewDoc, saveNewDoc] = useDocument({ input: "" });

      const handleSubmit = async (e) => {
        e.preventDefault();
        if (newDoc.input) {
          await saveNewDoc();
          setNewDoc({ input: "" }); // Reset for new entry
        }
      };

      return (
        <div>
          <form onSubmit={handleSubmit}>
            <input
              value={newDoc.input}
              onChange={(e) => setNewDoc({ input: e.target.value })}
            />
            <button>Add</button>
          </form>
          <ul>
            {docs.map((doc) => (
              <li key={doc._id}>{JSON.stringify(doc)}</li>
            ))}
          </ul>
        </div>
      );
    }

Fireproof embeds in the browser, so you can add it to frontend code just like any other JavaScript module. It's useful for app data even without a backend.

When you are ready to connect multiple users, that's when the backend comes in, which can be as simple as Fireproof Cloud or your existing AWS account.

Thanks for reading — Fireproof creator here, happy to answer any questions.

We are in-flight on our cloud launch, so consider it a preview of the experience we are building. We’ll soon be shipping more complete authorization with UCAN capability delegation, and we are working on mature key rotation. I can't wait to hear what people want to build with it.

Thanks for sharing -- the author runs a synth themed bike ride in Portland, and we worked together on a drum machine participants can use to keep time in addition to the synths and amps the usually bring.

It uses the collaborative live database we are working on at Fireproof -- I hope the folks here like this sort of application model. If you have feedback we are listening.

CouchDB's HTTP API used to fit in just one file (less than 1k lines of Erlang), and it was a great jumping-off point for learning databases and web programming: https://github.com/apache/couchdb/blob/0.8.1/src/couchdb/cou...

It was written by one engineer, and then later refactored by a team to look like this (and many other files): https://github.com/apache/couchdb/blob/main/src/chttpd/src/c...

It's an interesting exercise to see how something grows and changes as it transitions from inspiration to real-world usage.

This seems like a textbook case where AI could let you have your cake and eat it too. Eg work in the easy 2d domain with maybe unstructured sticky notes. have a deterministic pipeline from 2d to geometric checking, with I guess patch points for the manual stuff. and then have AI draw up and maintain the BIM. It seems tailor made to copilot those adhd tasks you describe.

It's cool because Erlang's functional design means F() is just as good a "top-level" context as whatever one you were in before. Eg this will smoothly allow existing requests on the old logic but start new requests on the new logic, and eventually allow the old logic to be GC'd.

I am building a new immutable cryptographically verified database using IPLD data structures and prolly trees. This allows changes made anywhere to be transparently synced, and for operations to be commuted amongst untrusted peers, for instance allowing for shared index maintenance.

https://use-fireproof.com/docs/architecture

It's also the easiest way to write React apps. Here are some ChatGPT expert builders that I've trained to use the CSS framework of your choice with Fireproof: https://use-fireproof.com/docs/chatgpt-quick-start/#react-ex...

I ran this game on the local political establishment in 2015, and it was scary effective. I assume they are more resilient today, but at the time entry-level social media advertising techniques were able to have a massive influence on politician's perceptions of their constituents's concerns. I wasn't surprised at all by the impact social advertising ended up having in the 2016 election.

Thank you for this, it connects the dots between the economic value of carbon capture and its price. If it's worth it for a second tier city to spend $X billion on heat mitigation, then it's worth the similar amount to reduce the cause by the corresponding magnitude. There's some net-present-value math to be done, but that's for the CFOs.

The one I ride has a box in the front that can hold 3 grownups (or a monster trip to the garden store). The motor means I can go 28 mph. On the occasional day where we have a rental car (grandma in town) sometimes I drive the kids to school and I am always surprised how long it takes. On the bike I never wait in a queue, and I always get the best parking.

Maybe they cost a lot for a bike but they are faster, cheaper, and more fun than a minivan: https://www.splendidcycles.com/products/riese-and-muller/rie... (see "Triple Badger Box for Packster 80" it comes with 6 seat belts.)