3,099 karma · joined October 24, 2016
https://github.com/b0o
https://gist.github.com/b0o/f0759c84af6ef773a37a499fdb1c05af
Example: you’re trying to find a file that contains the strings “MIT License” (case insensitive), “npm install”, and a match for “react-.*” somewhere in your home directory:
aag ~ ---- -i "mit license" --- "npm install" --- "react-.*"
The excessive dashes are necessary so that it’s possible to pass different options to each separate invocation of ag.In case it’s not clear why this is useful, normally ag (or grep) searches are linewise. It’s not so easy if you are looking for things that occur on different lines, and possibly in different orders.
This is exactly why I want to live in a bikeable, walkable city! I really don’t consider babysitting a massive 2+ ton hunk of metal and plastic to be low effort or independent. On the contrary, it’s the most draining and stressful thing I do on a regular basis.
You mention “go far”, but I don’t think that’s actually the priority for people. What they really want is to get to their daily destinations – the store, the park, the office, the mall. The distance is a consequence of the car, not the other way around.
People will still want to go places that are beyond biking distance or need to do something that isn’t practical on foot/bike, and that’s fine. For most people, if they lived in a bikeable and walkable area, these would be a minority of trips. But for those minority of trips where a car makes sense, a car should be used. (Note: this doesn’t mean they need to own a car.) Cars don’t need to be eliminated from cities, just reduced and deprioritized enough to make biking and walking safe and appealing.
Reddit is a catch-all for communities nowadays, where you can generally find authentic questions and answers to most common problems and discussions about most common topics.
Personally I trust (some parts of) Reddit far more than Quora, where the content seems to be largely SEO/marketing crap and not authentic.
Reddit does have the same SEO/marketing crap content, to be sure, but it has a lot of authentic content too, and I find it’s generally easy to tell what is what.
I guess for me it boils down to authenticity being more important than authority or expertise, because one of the largest problems with the web today is inauthentic content, content where the author has an ulterior motive.
I noticed this exact phenomenon when shopping for a new armchair recently. I found one I liked on Wayfair but wasn’t 100% sure yet, so I checked a few other sites. I stumbled across the same chair on Walmart under a different name for two thirds the price. When I got the chair, the box didn’t include an assembly manual (and the chair was very finnicky to assemble), so I did a bit more searching and found it on another site under yet another name, which provided a downloadable PDF assembly guide. Of course, the name on the assembly guide was also different, but it was the same chair.
Can you share the most egregious price markup example you’ve seen? Are there certain product categories with more or less price divergence?
P.s. I really like the “Load More” / “Load Forever” buttons. It’s a small but appreciated detail that gives me a feeling that you care. It really fits with the overall theme of your business: giving your customers options so they can choose what works for them. The trend of “corporation knows best” is getting really old, I'm glad to see people working to disrupt it.
I use a bash script as my BROWSER which calls another bash script to launch or communicate with my browser that I run inside a container. The script that my BROWSER script calls has some debug output that it prints to stderr.
I use mutt as my email client and urlscan [0] to open URLs inside emails. Urlscan looks at my BROWSER environment variable and thus calls my script to open whatever URL I target. Some time recently, the urlscan author decided to improve the UX by hiding stderr so that it wouldn’t pollute the view, and so attempted to pipe it to `/dev/null`. I guess their original code to do this wasn’t quite correct and it ended up closing the child processes’ stderr.*
I generally use `set -e` (errexit) because I want my scripts to fail if any command fails (I consider that after an unhandled failure the script’s behavior is undefined, some other people disagree and say you should never use `set -e` outside of development, but I digress). My BROWSER scripts are no exception.
While my scripts handle non-zero returns for most things that can go wrong, I never considered that writing log messages to stdout or stderr might fail. But it did, which caused the script to die before it was able to launch my browser. For a few weeks I wasn’t able to use urlscan to open links. I was too lazy to figure out what was wrong, and when I did it took me a while because I looked into every possibility except this one.
Luckily this wasn’t a production app. But I know now it could just as feasibly happen in production, too.
I opened an issue[1] and it was fixed very quickly. I love open source!
*No disrespect to urlscan, it’s an awesome tool and bugs happen to all of us!
> Sirtris Pharmaceuticals, Inc. was a biotechnology company based in Cambridge, MA that developed therapies for type 2 diabetes, cancer, and other diseases. Conceived in 2004 by Harvard University biologist David Sinclair and serial entrepreneur Andrew Perlman, and founded that year by Sinclair and Perlman, along with Christoph Westphal, Richard Aldrich, Richard Pops, and Paul Schimmel, the company was focused on developing Sinclair's research into activators of sirtuins, work that began in the laboratory of Leonard P. Guarente where Sinclair worked as a post-doc before starting his own lab.
> Sirtris went public in 2007 and was subsequently purchased and made a subsidiary of GlaxoSmithKline in 2008 for $720 million. GSK paid $22.50/share, when Sirtris's stock was trading at $12/share, down 45% from its highest price of the previous year.
> Studies published in 2009 and early 2010 by scientists from Amgen and Pfizer cast doubt on whether SIRT1 was directly activated by resveratrol and showed that the apparent activity was actually due to a fluorescent reagent used in the experiments.
> GSK/Sirtris terminated development of SRT501 in late 2010. GSK said it was terminating SRT501 due to side effects of nausea, vomiting, and diarrhea it caused, and because the compound's activity wasn't specific to SIRT1, at some doses it actually inhibited SIRT1, and the compound itself wasn't patentable.
— https://en.wikipedia.org/wiki/Sirtris_Pharmaceuticals
> In February 2022, Sinclair raised widespread controversy in the longevity research community by rejecting to communicate in an academic debate in which his resveratrol research was criticized after months of mounting evidence against reseveratrol as a longevity intervention.