253 karma · joined May 29, 2016 (10y ago) · 75 submissions
comment 3w ago · link · parent
https://gist.github.com/mpetrovich/b3e4ec291d21bbdbe17b1adf4...
comment 2mo ago · link · parent
comment 2mo ago · link · parent
However, it was equally important that I had a support structure & tools to replace what the SSRI was doing. For me that was mindfulness and therapy.
comment 4mo ago · link · parent
If the founder had started by talking with people in the problem space, he could have discovered what problems were actually worth solving before investing any money and effort into a product.
Everything after that happened were downstream effects of creating something without a defensible reason why and for whom.
comment 6mo ago · link · parent
Maybe you’ll find it helpful
comment 6mo ago · link · parent
11.
You need to calm down(petro.blog ↗)
1 points · by mpetrovich · 6mo ago · 1 comment
comment 1y ago · link · parent
It uses puppeteer and chrome headless behind the scenes.
comment 2y ago · link · parent
Seems like a matter of crawling the former to get all the images and then tagging them and serving them via your API.
Anyway, I think your approach is great and only wanted to propose a possible approach to the original feedback above :)
comment 3y ago · link · parent
They can be terribly leaky abstractions. It seems that many ORMs end up re-implementing SQL in their own domain-specific language.
However, an understanding of SQL is often needed to debug and optimize ORM queries.
So why not just use SQL directly then?
comment 3y ago · link · parent
I prefer improving things rather than creating them from nothing. I’ve come to a similar conclusion as the author as far as how to get out of the fog of greenfield: Satisfice instead of optimize.
In this context, optimizing refers to choosing the best among N options. In contrast, satisficing means choosing the first option that’s good enough. Often, the opportunity cost saved from satisficing is greater than the marginal value gained from optimizing.
comment 3y ago · link · parent
That certainly addresses the footgun I mentioned.
EDIT: From the docs: Requests without the X-GitHub-Api-Version header will default to use the 2022-11-28 version.
comment 3y ago · link · parent
There’s zero practical user benefit to NOT specifying the version, so why not enforce it? You’re creating a footgun otherwise.
Furthermore as others have pointed out, this is a purely cosmetic change. Using /api/$UNIQUE_STR in the URL vs. X-GitHub-Version: $UNIQUE_STR in the header are functionally equivalent, so…
Why bother making this change then? What was suboptimal about the previous way? What benefit does this bring?
EDIT: Serves me right for not reading the docs more carefully. From the docs [1]:
Requests without the X-GitHub-Api-Version header will default to use the 2022-11-28 version.
See phphphphp’s reply below for context.
[1] https://docs.github.com/en/rest/overview/api-versions?apiVer...
comment 3y ago · link · parent
I’ve moved a ton in my life, and I have an annoying habit of losing touch with friends when I move away. Out of sight, out of mind, ya know?
Anyway, to combat this annoying habit, I started scheduling monthly phone/video calls with each of those friends. It’s been a game changer, especially as folks have kids and busy lives.
26.
Show HN: I made a sliding puzzle game(tileslide.com ↗)
3 points · by mpetrovich · 3y ago · 3 comments
comment 4y ago · link · parent