nicolewhite

Joined 12 years ago

Karma
317
Submissions
112
Member since
Sep 18
Software Engineer at Autoblocks

https://docs.autoblocks.ai/

View on Hacker News

Recent submissions

Comment · 5 months ago
The lockfile also handles the first-order dependencies, though. Pinning them in the manifest doesn't enforce this -- the lockfile does. And yes, I agree that the lockfile _also_ handles pinning dependencies-of-dependencies.
Comment · 5 months ago
From that repo:

> Exact version pinning — specifying precise versions (1.0.0, ==1.0.0, =1.0.0, = 5.31.0) rather than ranges (^, ~>, >=) in package manifests. Ranges allow any version satisfying the constraint to be resolved at install time; exact pins mean only one version is ever valid.

My understanding is that pinning the dependency within the manifest isn't the mechanism that prevents the version from changing across installs -- it's the lockfile that accomplishes this.

Comment · 2 years ago
> TRUNCATE TABLE <new_table> CASCADE;

Ouch. DELETE FROM <new_table> is what they wanted here.

Somewhat related, and this wouldn't have saved them since they were using TRUNCATE instead of DELETE, but I always use ON DELETE RESTRICT instead of ON DELETE CASCADE when setting up foreign keys. I'd rather be slightly inconvenienced on the rare occasion I'm hard-deleting data and have to be really explicit about what I want to delete rather than inadvertently allow a "convenience" like ON DELETE CASCADE to delete my data for me.

Comment · 2 years ago
I fixed by adding this to the theme:

    .c00 a:link {
        color: #bd93f9;
    }
Comment · 2 years ago
Comment · 2 years ago
Pretty neat!

I have a question about how you intend to deal with LLM applications where the output is more creative, e.g. an app where the user input is something like "write me a story about X" and the LLM app is using a higher temperature to get more creative responses. In these cases I don't think it's possible to represent the ideal output as a single string -- it would need to be a more complicated schema, like a list of constraints for the output, e.g. that it contains certain substrings.

TIA!

Comment · 4 years ago
I don't see where it ever says the program told him to fire himself
Comment · 5 years ago
FYI I wouldn't expose internal details like that via your responses
Comment · 5 years ago
Comment · 6 years ago
Thanks for sharing. And for any readers in the Bay Area, his restaurant Wursthall is right next to the San Mateo Caltrain station and is super good. I believe they are offering takeout at the moment.
Comment · 6 years ago
Comment · 7 years ago
Comment · 8 years ago
The majority of Americans voted for Hillary.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton