Hacker Newsnew | past | comments | ask | show | jobs | submit | dh1011's commentslogin


Thanks!

> This model has 1 file scanned as unsafe. testvl-pre76-top187-rec69.pth

Hm, perhaps I'll wait for this to get cleared up?


This is not the first time I've heard of checkpoints being used to distribute malware. In fact, I've heard this was a popular vector from shady international groups.

I wouldn't expect this from Bilibili's Index Team, though, given how high profile they are. It's probably(?) a false positive. Though I wouldn't use it personally, just to be safe.

The safetensors format should be used by everyone. Raw pth files and pickle files should be shunned and abandoned by the industry. It's a bad format.


Disty of SD.Next has made a version in diffusers format.

https://huggingface.co/Disty0/Index-anisora-5B-diffusers

For the record, the dev branch of SD.Next (https://github.com/vladmandic/sdnext) already supports it.


thanks


I wonder if the entropy of model weights and their size causes statistical false positives to appear often?


I imagine it has more to do with whether or not the file appears to have executable python code in it, as a .pth file is usually just a a pickled python object and these can be manipulated to load arbitrary python code when loaded.


https://github.com/dh1011/c2p

https://marketplace.visualstudio.com/items?itemName=H337.c2p

I’m developing a VS Code and Cursor extension that helps developers quickly copy all code in a workspace to the clipboard for use with LLMs.

It also displays the token count for each file, as well as the total token count across the workspace.

By default, it ignores files listed in .gitignore, but this behavior can be customized in the extension settings, along with many other options.


Thanks for sharing!

This is cool, but it only seems to work on the host that has the /etc/hosts loopback redirect to *.localhost. I run my app on a home server and access it from multiple PCs on the LAN. I have several apps, each associated with a different port number. Right now, I rely on a start page (https://github.com/dh1011/start-ichi) to keep track of all those ports. I’m wondering if there’s an easy way to resolve custom domains to each of those apps?


You need to install a DNS server in your network and configure everything to use it (probably via DHCP). Then you can configure whatever you like. Dnsmasq is quite easy to get started. There are handy integrated solutions like pihole that combine DHCP and DNS. I run things like this on my router (opnsense).


I'm working on a VSCode extension that lets me quickly copy code from a workspace into a structured format for LLMs. This makes it easy to provide context so the LLM can continue developing the codebase.

There are other similar tools out there—mostly web apps or CLI-based—but I found a VSCode extension to be the fastest and most convenient option for VSCode users.

Here’s the extension link: https://marketplace.visualstudio.com/items?itemName=H337.c2p

I'd love to get any feedback.


I copied all the text from this post and used an LLM to generate a list of all the ideas. I do the same for other similar HN post .


well, what are the ideas?


chatgpt did a stellar job parsing the "books on hard things" thread from a little while ago. my prompt was:

Can you identify all the books here, sorted by a weight which is determined based on a combo of the number of votes the comment has, the number of sub-comments, or the number of repeat mentions.

Ideally retain hyperlinks if possible.


could you link the HN thread?


google "hn books on hard things" - https://news.ycombinator.com/item?id=42614722


I completely agree that bookmarks should prioritize content over metadata. This is actually what led me to develop the "semantic-bookmark-manager" [1]. It uses LLM to summarize the content of bookmarked pages and generate relevant tags. Additionally, it utilizes RAG to facilitate semantic searching within your bookmarks.

[1] https://github.com/dh1011/semantic-bookmark-manager


I am working on "Subscription Manager," a simple single-page web application that allows users to manage their recurring payments. It provides a summary of your expenses, including weekly, monthly, and yearly totals for all your current subscriptions. Additionally, it features notifications through NTFY to notify when a subscription is dued for payment.

Here is the Github repo of this project: https://github.com/dh1011/subscription-manager

This is a self-hosted open-source project, licensed under the MIT license.


Thank you. I was using VHS for the demo. Here is the link: https://github.com/charmbracelet/vhs


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: