For the best experience on desktop, install the Chrome extension to track your reading on news.ycombinator.com
Hacker Newsnew | past | comments | ask | show | jobs | submit | history | more pizzicato's commentsregister

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.


Thats alright. I should have been more specific. I did upvote your post and I got downvoted - woohoo.


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!

URL: http://muler.pythonanywhere.com/

Repo: https://github.com/PizzaMyHeart/muler


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! I'll need to update the image URLs.


Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search:

HN For You