HN user
jimstr
Was interested until I checked the pricing and saw it sold as a subscription. Just let me buy it and I'll decide if I want to buy version 2 next year.
What Open AI api are you using to read PDFs?
The answer I got with the prompt "You are a git expert. How do I search for a string in dangling commits?"
Was: Dangling commits in Git are often referred to as commits that are no longer reachable from any branch, tag, or the HEAD. These commits usually occur when you create a commit and then move the branch pointer away from it without creating a new branch or tag. They can also occur during rebases or other history rewriting operations.
Git has a garbage collector (`git gc`) that will periodically clean up these dangling commits, but until that happens, they're still in your repository and can be examined.
Unfortunately, Git doesn't provide a direct command to search for a string in dangling commits. However, you can find these commits using the `git fsck` command, which checks the filesystem for errors and dangling commits.
Here is a way to do it manually:
1. List all the dangling commits using `git fsck --lost-found`. This will print out all the dangling commits and store them in `.git/lost-found/commit/`.
2. For each dangling commit, you can search for a specific string using `git log -p <commit-id>` or `git show <commit-id>` and then pipe the output to `grep`.
Here's an example of what this might look like in a script:
mkdir -p .git/lost-found
git fsck --lost-found
for commit in $(ls .git/lost-found/commit/); do
git show $commit | grep -q "your string here" && echo "Found in commit $commit"
done
This script will print the IDs of any dangling commits that contain the string "your string here".Remember to replace "your string here" with the string you are searching for.
*NOTE*: This operation could be time-consuming if you have a lot of dangling commits or a large repository. Also, this approach might not work if the garbage collector has already cleaned up the commits. Make sure to be careful when manipulating Git's internals like this, as it could potentially corrupt your repository if done incorrectly.
I bought a $20 US gift card on ebay and redeemed that into a new US account
another service with ”contact us"-pricing. Seems having a clear and transparent pricing model is hard
I've gotten the impression that clustered Postgres still isn't very straightforward to run. Do you mind elaborating on your ideal setup and point to some resources?
Thanks!
If you like it and want to support development, the main developer is on Patreon https://www.patreon.com/kovidgoyal
The book Range: Why Generalists Triumph in a Specialized World by David Epstein https://www.goodreads.com/book/show/41795733-range argues a lot for this as well, and goes on to discuss numerous examples where generalists have made the breakthroughs and/or excelled in some way, due to synergy, overlap and inspiration.
There was a previous Swedish tunnel project that had a number of incidents, among others groundwater pollution caused by a new sealing compound that contained acrylamid
KanbanFlow, https://kanbanflow.com/ , is pretty serious about their Kanban implementation. Worth a look!
I keep a lot of scans in my Evernote account, and the built-in OCR is very handy for searching old documents. Does anyone know of any good alternatives here, preferably something you can host somewhere (compared to just running it on your desktop)?
so a remote driver can take over a car
nope. nope.
We made the mistake of buying a 20 core server for running SQL Server 2008, which was fine then, but the upgrade to 2016 would be really expensive due to the new per-core licensing, which means we'll probably be stuck with 2008. Microsoft doesn't leave us much choice than to use Postgres from now on.
When having more than one web server (and no shared file system) ?
Registered, downloaded app, attempted to sync "This folder doesn't appear to be on a Mac disk - Please select a different folder". So, why is it not OK that I keep my pictures on my NAS ?
I did this as well, and it has been working great for me for a few years. A month ago I noticed by chance that it had stopped forwarding 12 hours earlier for no apparent reason. Deleting the rule and recreating it got it working, but it got me thinking of doing a more robust solution.