Live data from Hacker News

Ask HN: What small library or tool do you want that doesn’t exist?

news.ycombinator.com

121–130 of 145 posts

Re: Ask HN: What small library or tool do you want that doesn’t exist?

#121

I wish there was a click-bait headline filter. Too many news headlines are either hypothetical question with no real information content, telling me to re-evaluate everything that I know, something sensationally misleading designed to make some alarm bell go off in my head etc. I worry how some of these might still manage to creep into my head.

Good idea! May be worth a look at using this[1] API for something like this - it's what the autotl;dr reddit bot[2] uses. I'm generally impressed by how much it is able to condense articles while delivering a pretty accurate summary - see examples at the bot user /u/autotldr[3].

Might not work well enough if you try squeeze whole articles down to 1 sentence (for a title), though.

Edit: I guess you might have meant you'd just like to not see these clickbaity links at all, which is fair too haha.

[1] https://smmry.com/

[2] http://autotldr.io/

[3] https://old.reddit.com/u/autotldr

Re: Ask HN: What small library or tool do you want that doesn’t exist?

#122
post #52

Earlier quoted context omitted.

There’s no solution. You gotta have a separate environment (e.g. a docker container) for each project. Each env has its own python version and requirements.txt

Not practical when you need something like ROS with rospy that needs to be global. Python is putting its fingers in its ears singing "LALALALA USE A VENV" instead of fixing the damn ecosystem. Node and npm proved that a solution exists and it's doable.

There's a PEP for adding support for a __pythonpackages__ directory, similar to node_modules.

https://peps.python.org/pep-0582/

Unfortunately the PEP is from 2018 and is still being discussed. The last post in the comment thread is from February.

https://discuss.python.org/t/pep-582-python-local-packages-d...

That's unfortunate; until I went looking for citations I thought it was further along and actually scheduled for the next Python release.

Looks like there is a pip-alternative that implements the PEP, but I haven't played around with it yet.

https://pdm.fming.dev/

Re: Ask HN: What small library or tool do you want that doesn’t exist?

#123
post #80

A simple reddit client that de-dupes posts (across subs and over multiple sessions)

I have written something [once] that de-dupes on just the URLs, you could take this way further with images and content analysis.

This is also manly an app to stop me from scrolling across the same stories on HN and lobste.rs again and again multiple times a day. So it lacks reddit specific features.

[once] https://github.com/batram/once

Re: Ask HN: What small library or tool do you want that doesn’t exist?

#124
A Postgres (or other SQL) add-on that would let you filter out country specific public holidays from queries. We do it now, but through a join on a pretty expansive date dimensional table. Would love to see something like this possible,

SELECT DATE, SUM(DAILY_REVENUE) FROM TABLE_X WHERE DATE PUBLIC_HOLIDAY(USA,GB,MX,DE) GROUP BY DATE;

Re: Ask HN: What small library or tool do you want that doesn’t exist?

#126
A ‘cherry picker’ that allows me to select specific commands from my recent history and put them in a text file, in order to document any manual processes (or turn them into a reusable script - perhaps also identify parameters automatically and allow them to be supplied as arguments).

Re: Ask HN: What small library or tool do you want that doesn’t exist?

#127
post #94

An intuitive and simple Phone application/theme on Android smartphones - especially for old people.

You might be able to find a custom launcher that can accomplish something close. One such launcher is https://github.com/itsarjunsinh/elder_launcher

Re: Ask HN: What small library or tool do you want that doesn’t exist?

#128
post #51

A very simple tool for transferring files between two computers. Linux Windows should just work, uPnP handling, etc - just a crazy simple way to transfer a file without setting up Dropbox, ftp servers or whatnot!

transfer.sh seems pretty close to what you’re looking for

Re: Ask HN: What small library or tool do you want that doesn’t exist?

#130
post #40

Earlier quoted context omitted.

Can you link a VDB spec?

Sure! The details are on OpenVDB's website [1] and technical guide [2] and githup repo [3]. It's not as mature as the dicom standard (which is very...mature) and they do change it occasionally, but it is stable. [1] https://www.openvdb.org/documentation/ [2] https://academysoftwarefoundation.github.io/openvdb/ [3] https://github.com/AcademySoftwareFoundation/openvdb

Thanks! It seems like a very simple problem, is there a python library for vdb file IO? If so, I can probably whip something up (in python) with relative ease.

I work in the medical software field by the way. I know all about the pains of dicom...

Post reply on HN