News for hackers. Stuff that matters.

sdrabing

Re:HBO Max pulls nearly 200 ‘Sesame Street’ episodes on Sunday August 21, 2022 @12:48PM (#32541958)
I've always thought it was strange that so many people just watch TV for noise. Any love for silence anymore?
Re:Americans are poorly served by their grocery stores on Friday June 03, 2022 @05:37PM (#31613983)
Something about comparing the US to other rich nations rubs me the wrong way when, in my opinion, servicing a country as large as the US is very different from servicing a small island like the UK. The post talks about difference in margins and regional squeezing, etc. However, how much of the cost difference comes from transporting the goods? The post also mentions how large stores are, and how large of a selection there is, in US stores. That seems like it'd drive up the cost, but I don't hear Americans complaining about too many options. Honestly, I think it's an achievement that an American can eat as healthy for the same price as the French, they are very different countries geographically!
Re:USDA Pomological Watercolor Collection on Thursday March 03, 2022 @10:23PM (#30550317)
Looked into scraping some data from this, here are some URL templates worth mentioning:

https://naldc.nal.usda.gov/download_image/master_image/POM00...

The link above will give you full-sized images, but only for download (just change the POM ID to view a different image). Also:

https://naldc.nal.usda.gov/download/POM00007435/screen

The link above will give you thumbnails that you can view in browser.

I'm considering making a taxonomic tree (and then forget formal phylogeny and include the varieties) with the thumbnail images. Similar to another pet project of mine.

Re:Show HN: Find new life science literature with Gref on Wednesday March 02, 2022 @01:26PM (#30530849)
Built off of NCBI E-Utilities, this currently only works for citations found on PubMed. I would love to find a way to make this more general, have it work for Google Scholar or the like, but I don't know of any free API access to larger citation databases.
Re:Please make a dumb car on Monday January 31, 2022 @01:15PM (#30151707)
You obviously don't live in a place with harsh winters.
Re:Graphviz: Open-source graph visualization software on Monday January 17, 2022 @09:13PM (#29974156)
I love Graphviz, here's a citation graph tool I build with it:

https://github.com/shanedrabing/gref

Re:The Antikythera mechanism reveals new secrets on Tuesday January 04, 2022 @03:13PM (#29799706)
I was thinking the same thing! I 3D model would be really neat to watch and pick apart.
Re:Ask HN: What's the best book you read in 2021? on Thursday December 23, 2021 @08:40PM (#29668996)
Blood Meridian (or The Evening Redness in the West) by Cormac McCarthy. Quickly became my favorite book after reading it a second time. I've never read a book with more effective language.
Re:An underrated idea: the priority view on Friday December 10, 2021 @02:24PM (#29514320)
This is a tangent, but the "utility monster" scenario only makes sense if the utility gained from an activity remains the same with how many resources are put into it. This doesn't make sense with how people actually work, almost all goals or resources or pleasures have diminishing returns, or homeostasis. Do negative feedback loops exist in this philosophy? Perhaps I'm misunderstanding the point.
Re:What to Learn on Monday October 18, 2021 @09:31PM (#28913916)
What about the usage of capitalization?
Re:The unknown features of Python's `operator` module on Sunday August 08, 2021 @01:34PM (#28108452)
I've been a weirdo with my Python code recently, and tend towards a more functional programming style. So, the `operator` module is essential for doing some cools things with maps.

For instance, I'm writing a library to simulate the behavior of vectors in R, and that means vectorized operators (the operators runs the length of two paired vectors). All you need to do is make a special tuple subclass that maps the operator along another tuple (vector) and returns your vector subclass:

https://github.com/shanedrabing/pyrat/blob/e0049213152f615e4...

Anyways, this is all to say that I love `operator` and try my best not to use lamdbas much anymore (except where they are honestly simpler).

Re:Show HN: Create image mosaics with Polyfoto on Thursday June 17, 2021 @12:48PM (#27541660)
I had no idea a patent existed for this type of software, I figured this current program out through trial and error and a couple of iterations.

How can a developer protect themselves from publishing patented software? Is there any way of knowing if a certain type of program is patented?

Re:Show HN: Create image mosaics with Polyfoto on Monday June 14, 2021 @11:03AM (#27503416)
Still working on some bugs, but it's easy to use already.