bryik

Joined 10 years ago

Karma
345
Submissions
74
Member since
Jan 25
I'm a Data Engineer (...really Full Stack) working at Corteva Agriscience in Boulder, Colorado.

website: https://pyrik.dev/

View on Hacker News

Recent submissions

Comment · 2 months ago
Then I don't understand how you can say "The US was much more economically free in the 1800s than now".
Comment · 2 months ago
Comment · 4 months ago
Comment · 2 years ago
Comment · 2 years ago
Interesting post on a library I've used a lot.

> Requests has always had modules intended for its use and only its use. At some point, we tried to document them for ourselves and that led to people using them externally and then filing bugs against them. This is a perfect example of 3 adults who did not consent explicitly to the use, but Python says that we must have because we didn't hide them well enough.

I don't understand the problem? It's bad that users reported bugs in internal modules?

Comment · 2 years ago
A couple years ago I worked on an internal tool for the regulatory division of an agriculture company that involved mapping endangered species boundaries. The Environmental Protection Agency requires the company review potential impact of a proposed herbicide on endangered species inhabiting areas where the herbicide might be used (or drift).

The question of "what is a species" made me go a bit insane. I really wanted a unique identifier for each "species", but kept running into edge cases like species that changed scientific names (so you'd need name + date to resolve it). Occasionally people would refer to species by common name, but a common name can resolve to dozens of different scientific names. I don't think people realize how difficult and awkward it is to build software that deals with ambiguous entities.

This is a tangent, but the US Fish and Wildlife service has a cool tool for exploring endangered species [0]. I had a few issues with the data, but was overall impressed with how easy it was to access and how deep it goes (there are gigabytes of shapefiles representing endangered species boundaries offered in zip files). Preble's meadow jumping mouse [1] had a range so complex that its shapefile was 250 MB, the complete set of shapefiles covering all species' ranges was 2.5 GB--this single species of mouse took up 10% of this! For comparison, the Topeka Shiner's range shapefile was only 147 KB.

[0] - https://ecos.fws.gov/ecp/report/adhoc-creator?catalogId=spec...

[1] - https://ecos.fws.gov/ecp/species/4090

Comment · 2 years ago
Comment · 2 years ago
I think you're right that static typing reduces bugs, but I am not convinced the reduction is significant or meaningful. If static typing has a significant effect, then why is the existing research so weak and inconclusive?

I don't understand your point about metrics and measurement. Are you saying the effect of static typing is so small that it is completely dominated by other confounding factors and thus cannot be measured?

Comment · 2 years ago
If "type bugs are an obvious thing and happen all the time" and "static Typing reduces type related bugs" then it should be easy to demonstrate this empirically. However, "a review of all the available literature (up to 2014), show[s] that the solid research is inconclusive while the conclusive research had methodological issues."
Comment · 3 years ago
Comment · 3 years ago
I worked in a government office where only unionized IT workers were allowed to move computer equipment. My boss gave me his old monitor after upgrading and I had to wait until after hours to move it. This was around 2018.

So the electrical strip thing seems plausible to me.

Comment · 3 years ago
Comment · 3 years ago
Comment · 3 years ago
> but now we've got JSON Schema, Swagger/OpenAPI, Zod, etc etc.

You don't have to use any of those.

Comment · 3 years ago

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton