HackerTrans
TopNewTrendsCommentsPastAskShowJobs

unixpickle

no profile record

Submissions

I tried zoo.dev, and found it to be frustrating

twitter.com
1 points·by unixpickle·6 เดือนที่ผ่านมา·0 comments

An AI agent for unsubscribing from spam

blog.aqnichol.com
2 points·by unixpickle·10 เดือนที่ผ่านมา·0 comments

Show HN: Fashion Shopping with Nearest Neighbors

vibewall.shop
76 points·by unixpickle·ปีที่แล้ว·22 comments

comments

unixpickle
·4 เดือนที่ผ่านมา·discuss
I think we are missing the bigger point here. Licensing only matters on things that take real effort or money to produce. Who will care about licenses on software when software is free and infinite? It would be like licensing each ounce of water on Earth.
unixpickle
·5 เดือนที่ผ่านมา·discuss
The `try_roots` example here is actually a _counterexample_ to the author's main argument. They explicitly ignore the "negative discriminant" case. What happens if we consider it?

If we take their "parse" approach, then the types of the arguments a, b, and c have to somehow encode the constraint `b^2 - 4ac >= 0`. This would be a total mess--I can't think of any clean way to do this in Rust. It makes _much_ more sense to simply return an Option and do the validation within the function.

In general, I think validation is often the best way to solve the problem. The only counterexample, which the author fixates on in the post, is when one particular value is constrained in a clean, statically verifiable way. Most of the time, validation is used to check (possibly complex) interactions between multiple values, and "parsing" isn't at all convenient.
unixpickle
·ปีที่แล้ว·discuss
To optimize for fast nearest neighbors, I chose 256 dims. Notably, this actually hurt some of the pre-training classification losses pretty severely compared to 2k dims, so it definitely has a quality cost.

The site uses cosine distance. The code itself implements Euclidean distance, but I decided to normalize the vectors last minute out of FUD that some unusually small vectors would appear as neighbors for an abnormal number of examples.
unixpickle
·ปีที่แล้ว·discuss
The "shop for random products" direction was actually fun for me too. Reminds me of amazon.com/stream a bit.
unixpickle
·ปีที่แล้ว·discuss
Probably the same complaint as

https://news.ycombinator.com/item?id=43375415
unixpickle
·ปีที่แล้ว·discuss
You definitely highlighted a shortcoming of the feature vector model in this case. Indeed it's quite a small model trained on a single Mac for about a week, so it's not very "smart".

I'd expect that this is a problem that could be solved by using larger off the shelf models for image similarity. For this project, I thought it would be cooler to train the model end-to-end myself, but doing so has negative consequences for sure.
unixpickle
·ปีที่แล้ว·discuss
I think it would be a useful feature. For the sake of being a fun project, I didn't use CLIP because I only wanted to use models that I trained myself on a single Mac. However, to make this more useful, text search would be quite helpful.
unixpickle
·ปีที่แล้ว·discuss
Yup, it's a small model I trained on my Mac mini! The model itself just classifies product attributes like keywords, price, retailer, etc. The features it learns are then used as embeddings
unixpickle
·ปีที่แล้ว·discuss
Ideally pose and lighting wouldn't matter as much as it currently does.

I think using a better model to produce feature vectors could achieve this, or perhaps even finetuning the feature model to match human preferences.
unixpickle
·ปีที่แล้ว·discuss
This should just be called "why VPNs are useful", i think?
unixpickle
·ปีที่แล้ว·discuss
This seems to be pretty much exactly a standard Bayesian deep learning approach, albeit with a heavily engineered architecture.
unixpickle
·2 ปีที่แล้ว·discuss
Wait what? Who actually calls trainable params "hyperparameters"? Nobody at OpenAI does, as far as I know.
unixpickle
·2 ปีที่แล้ว·discuss
> I asked Nicole Avena, a professor of neuroscience at Mount Sinai who studies sugar addiction, if she believed it could be possible for food companies to engineer, intentionally or not, compounds that would make GLP-1 drugs less effective. Avena told me it was plausible.

Never really thought about this before. The food industry is a virus and current weight loss drugs are the best vaccine we have, but it'll forever be an arms race.
unixpickle
·2 ปีที่แล้ว·discuss
These lines from the diff linked above are the fix:

    - /\* Log error and exit. \*/
    - sigdie("Timeout before authentication for %s port %d",
    -     ssh_remote_ipaddr(the_active_state),
    -     ssh_remote_port(the_active_state));
    + _exit(EXIT_LOGIN_GRACE);