I use Pocket quite a bit.
I've also recently cobbled together a CLI tool that lets me save discussion threads on Reddit, HN and Stack Exchange. Very much a beginner-level project but here it is in case anyone is interested:
HN user
https://tachy.org
I use Pocket quite a bit.
I've also recently cobbled together a CLI tool that lets me save discussion threads on Reddit, HN and Stack Exchange. Very much a beginner-level project but here it is in case anyone is interested:
Hello HN. sammelband.app is a hobby project written in Javascript that I started recently after stumbling upon Mozilla's Readability library. It is a web app that takes one or more URLs and extracts the relevant content from each web page to a single document, which can then be downloaded to your device or sent to your email. Pocket integration is available, and I plan to add integrations with other bookmarking services.
How useful is this? Honestly, I'm not sure, but I've learned a ton about web dev during the month I spent on this. There's also a special joy in seeing something I kludged together in my free time live on the Internet.
Source code:
https://github.com/PizzaMyHeart/sammelband-server [back-end]
https://github.com/PizzaMyHeart/sammelband-frontend [front-end]
(I'm not a professional dev, so please forgive me if the code makes your eyes bleed.)
Any feedback is much appreciated!
That sounds really cool, I hope you manage to work on it :) would love to see it
There's also https://www.medicines.org.uk/emc for for summaries of product characteristics but I'm not sure if there's an API or dataset.
Thanks for the kind words!
Will do that, thank you!
I've noticed that too, which is strange because some entries are rendered fine (e.g. Names of bacteria in the antibiotic entries). I'll have to poke around and find out what's wrong.
Thanks!
Will do, thanks a bunch!
Yeah the category is taken directly from the Drugbank dataset, which can be rather specific and arbitrary. I'll see if there's a summary like you suggest that I could use instead.
Thanks very much for the feedback :)
Someone else suggested including a disambiguation to highlight synonyms, which should be helpful in cases like codeine/heroin.
Thanks for the helpful advice re unit tests!
Yep, I'd planned to use something like autocomplete.js but that's something I'll explore after I've cleaned up the core python functionality. Thanks!
Thank you!
Yeah I indented the headings but you're right, it looks better with the highlighting alone.
That's a good suggestion about subheadings. I'll try to do something with regex - shouldn't be too difficult I imagine.
Thanks for taking the time to test it and give feedback :)
Great suggestion! Thanks :)
Seems like the entry on Drugbank for insulin is "insulin human", which explains why it doesn't return an immediate match. The closest match using Levenshtein distance is "inulin" instead.
Thanks for pointing that out :) I'll have to do some tweaking.
Sorry about that. I've done my best to make sure my code works before and after pushing changes to production. I think it might be due to limitations on the hosting side as I'm using the free tier on PythonAnywhere.
Ah right, I'll have to tweak the CSS. Thanks a lot!
It's not usually this slow. I suspect the sluggishness is due to issues on the hosting end related to the spike in traffic. That said, I'm hoping by refactoring the code I can improve performance. Loading spinners is a good idea.
Thanks so much for trying it out and giving your suggestions!
Hi HN,
Muler is a Flask app that allows users to search for pharmacological information by entering generic or proprietary drug names. External libraries used include Flask, SQLAlchemy, and FuzzyWuzzy.
This is a hobby project I made during my final year of medical school. As far as I can tell from the logs there are no more than five humans who use it semi-regularly (lots of bots pinging though). I don't mind because I find it very useful personally, and I've also learned a lot about Python, web dev, and databases.
Right now I'm trying to refactor the code (just wrote my first class) and implement unit tests (just started reading the Pytest docs), so I'd really appreciate specific feedback and tips about those.
Thanks for your time!
Digital Object Identifier. It's a permanent URL to avoid link rot, really useful for scientific articles.
https://library.uic.edu/help/article/1966/what-is-a-doi-and-...
Thanks for the advice! All the best with steering your career :)
Your site looks awesome indeed! It reminds me of https://learn-anything.xyz but with a stronger focus on community.
Here you go! Only the titles and review URLs were taken from the original sites. The rest are from Google Books.
Science and Nature: https://gist.github.com/PizzaMyHeart/fd264434b2b92ba6dac0871...
LSE: https://gist.github.com/PizzaMyHeart/c07e162df141ced84509a3f...
The book tags were taken from the source HTML and seem to have been done very sloppily, especially the Nature ones, so you'd want to create your own tags anyway.
Thanks! I'll need to update the image URLs.
Thanks!
My chosen career is further away from tech than I'd like - I'm in my final year of medical school. I love tinkering with computers for fun.
Ideally, I'd like to be able to include programming alongside clinical practice in some way. I've picked up some very basic Python by making hobby projects over the last few years, and my current aims are to improve those Python skills and brush up on statistics in order to learn, er, statistical learning for research. I'm slowly making my way through MIT's 6.0001 and OpenIntro statistics.
I really hadn't expected this project to receive this many responses! My impression of HN has been that it's full of highly skilled, super talented devs and I was a bit intimidated by the idea of posting about my own clunky project. But thankfully HN is a lot more welcoming to beginners than I'd thought :)
Thank you! I did consider adding the Economist, but they've put their articles behind a paywall/sign up unfortunately.
Thanks! Yeah the covers are awful. I didn't want to host so many images so I used the external image urls returned by the Google Books API.
Someone else also commented about using the back button over double clicking. I'll work on that next :)
Thank you! I subscribe to the Nature email newsletter and really like the book reviews they've revived relatively recently. Last week I stumbled upon the Science book review blog and thought it would be amazing if more journals did this type of general interest book reviews, and if these reviews could be aggregated for easy browsing. There are plenty of outlets for reviews of literary nonfiction, but not so much for popsci-type books in my experience.
I started with those two sites, then found the LSE one and reviews.ac.uk (a history book review site which I have yet to include). IEEE spectrum also has a book review section but it's very sparse, so I didn't bother.
I've been hearing lots of good things about Tailwind, though it seems a more complex than Bootstrap to me. Will give it a proper look, thanks!
Wow thanks so much for the feedback! I'll try to switch away from double-click to close as you suggest.
Good point about CSS frameworks - when I started making this site I underestimated the amount of design-related decisions involved. Getting the data was surprisingly the easiest bit.
Thanks for the kind words!
I'm really glad you find it useful! I originally intended to include the actual reviews like they do at https://bookmarks.reviews but the journals' terms of service are pretty clear about that sort of thing.