HNHacker News
TopNewBestAskShowJobs

pizzicato

234 karma · joined March 2, 2018

https://tachy.org
submissionscomments
pizzicato··on Ask HN: Does anybody still use bookmarking services?
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:

https://github.com/PizzaMyHeart/filum

pizzicato··on Show HN: Collate web pages to read later with Sammelband
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!

pizzicato··on Show HN: Muler, a search engine for drug info built with Flask
That sounds really cool, I hope you manage to work on it :) would love to see it
pizzicato··on Show HN: Muler, a search engine for drug info built with Flask
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.
pizzicato··on Show HN: Muler, a search engine for drug info built with Flask
Thanks for the kind words!
pizzicato··on Show HN: Muler, a search engine for drug info built with Flask
Will do that, thank you!
pizzicato··on Show HN: Muler, a search engine for drug info built with Flask
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!

pizzicato··on Show HN: Muler, a search engine for drug info built with Flask
Will do, thanks a bunch!
pizzicato··on Show HN: Muler, a search engine for drug info built with Flask
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 :)

pizzicato··on Show HN: Muler, a search engine for drug info built with Flask
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!

pizzicato··on Show HN: Muler, a search engine for drug info built with Flask
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!
pizzicato··on Show HN: Muler, a search engine for drug info built with Flask
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 :)

pizzicato··on Show HN: Muler, a search engine for drug info built with Flask
Great suggestion! Thanks :)
pizzicato··on Show HN: Muler, a search engine for drug info built with Flask
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.

pizzicato··on Show HN: Muler, a search engine for drug info built with Flask
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.
pizzicato··on Show HN: Muler, a search engine for drug info built with Flask
Ah right, I'll have to tweak the CSS. Thanks a lot!
pizzicato··on Show HN: Muler, a search engine for drug info built with Flask
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!

pizzicato··on Show HN: Muler, a search engine for drug info built with Flask
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

pizzicato··on UC’s termination of Elsevier contract has had limited negative impact (2020)
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-...

pizzicato··on Show HN: Vellum – An interactive list of nonfiction books reviewed by academics
Thanks for the advice! All the best with steering your career :)
pizzicato··on Show HN: Vellum – An interactive list of nonfiction books reviewed by academics
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.

pizzicato··on Show HN: Vellum – An interactive list of nonfiction books reviewed by academics
Thanks! I'll need to update the image URLs.
pizzicato··on Show HN: Vellum – An interactive list of nonfiction books reviewed by academics
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 :)

pizzicato··on Show HN: Vellum – An interactive list of nonfiction books reviewed by academics
Thank you! I did consider adding the Economist, but they've put their articles behind a paywall/sign up unfortunately.
pizzicato··on Show HN: Vellum – An interactive list of nonfiction books reviewed by academics
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 :)

pizzicato··on Show HN: Vellum – An interactive list of nonfiction books reviewed by academics
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.

pizzicato··on Show HN: Vellum – An interactive list of nonfiction books reviewed by academics
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!
pizzicato··on Show HN: Vellum – An interactive list of nonfiction books reviewed by academics
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.

pizzicato··on Show HN: Vellum – An interactive list of nonfiction books reviewed by academics
Thanks for the kind words!
pizzicato··on Show HN: Vellum – An interactive list of nonfiction books reviewed by academics
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.
Page 1 of 2Next →