HNHacker News
TopNewBestAskShowJobs

HellsMaddy

3,099 karma · joined October 24, 2016

Founder, Sodium AI. https://na.ai

https://github.com/b0o

submissionscomments
HellsMaddy··on Broadband cables to be routed through water pipes in new trial
Drinking tea steeped from those fancy pyramidal teabags is a great way.
HellsMaddy··on New(ish) command line tools
Not exactly what you’re asking for but similar: I wrote a script called aag, based on ag, that lets you find files that contain multiple matches anywhere in the file. It’s a per-file logical AND of multiple ag searches.

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.

HellsMaddy··on New(ish) command line tools
No such list is complete without hexyl!

https://github.com/sharkdp/hexyl

HellsMaddy··on Parking kills businesses, not bikes or buses
> People seem to generally want to be able to go far, with little effort, directly where they want, independently

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.

HellsMaddy··on The ever-increasing walled-gardeness of Twitter
I think it’s intentional on Twitter’s part. It’s FOMO: you see a hot take out of context and now your brain ~~wants~~ needs to know what the hell is going on, so you reward Twitter’s algorithm with lots of tasty engagement in your effort to figure out who pissed everyone off.
HellsMaddy··on Show HN: Redditle.com – For those of us who add 'Reddit' to every Google search
It’s a result of the avalanche of SEO crap results that you normally get in Google searches. Wikipedia and StackOverflow are good too, but don’t always have the information you’re looking for. My top 4 resources are GitHub, Wikipedia, Reddit, and StackOverflow.

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.

HellsMaddy··on Design of This Website (2021)
The page is responsive. The sidenotes seem to always be available at the bottom as footnotes, but if your browser window is wide enough they also show up beside the location they appear in the text.
HellsMaddy··on Backyard approaching lighting at Adelaide Airport
Interesting. Safari on iOS and Firefox on Linux don’t complain for me.
HellsMaddy··on Backyard approaching lighting at Adelaide Airport
Seems to be available here:

https://archive.ph/BKXDW

HellsMaddy··on Apple's whitelist of the 250k auto-completable domains in iOS
That’s actually a bug, thank you. It will break as soon as the last modification to the data file is more than 20 commits behind HEAD. I used 20 because it made the workflow function (it was working on my local machine but not when I pushed to GitHub because the default depth is 1). I need to update it to check for the last commit that modified the json file rather than searching through the entire commit history.
HellsMaddy··on Apple's whitelist of the 250k auto-completable domains in iOS
Good idea! I’ve created an issue[0] that can be subscribed to, I will implement the feature soon.

[0]: https://github.com/b0o/apple-autofill-domains/issues/1

HellsMaddy··on Apple's whitelist of the 250k auto-completable domains in iOS
I'm curious to see how this changes over time, so I threw together a quick repo with a GitHub action to watch the endpoint.

https://github.com/b0o/apple-autofill-domains

HellsMaddy··on Stronger hands lengthen your life
Not only that those who abstain do so for health reasons, but many teetotalers were in the past alcoholics. Those who have never had a drinking problem tend to have few qualms with a glass of wine here or there, and so could be classified as light/occasional drinkers.
HellsMaddy··on MDN Plus
I find the regional availability odd for a product like this. What could be the reason? Maybe payment processing, or i18n?
HellsMaddy··on MDN Plus
Agreed. I rarely use bookmarks, and when I do the only reason is to make the URL show up in omnibar suggestions faster. If I find content I really care about, I put it in my notes. Otherwise, if the content is interesting but not crucial, I use the site’s favoriting mechanism if available (GitHub stars mostly).
HellsMaddy··on Launch HN: Spoken (YC S21) – Better furniture shopping
Oh, yes, the “sales”. I found a mattress pad on Wayfair that I was interested in, but I felt it a bit weird that it was “70% off”. I loaded the product page in the Wayback machine and found that it’s always between 50-75% off, and that the base price fluctuates by $20-40. Weird stuff.
HellsMaddy··on Launch HN: Spoken (YC S21) – Better furniture shopping
Awesome! Congratulations on your launch.

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.

HellsMaddy··on Mitmproxy 8
Mitmproxy is so much fun. I used it recently to inspect the traffic between a `node --inspect` process and the Chrome devtools. I then used my understanding to "fix" a few things that annoyed me about the node debugging workflow - like how each time the debug server starts, it has a unique URL that you need to manually attach to in the debugger. It's very hacky but it works for my needs.

https://github.com/b0o/ndbproxy

HellsMaddy··on Bugs in Hello World
I run Firefox inside a systemd-nspawn[0] container. I wrote a little wrapper around systemd-nspawn that I call arch-lwc[1] which kinda mimics the docker CLI. I have another script to coordinate the Firefox-specific stuff.

[0]: https://wiki.archlinux.org/title/Systemd-nspawn

[1]: https://github.com/b0o/arch-lwc

HellsMaddy··on Bugs in Hello World
You all joke that this doesn’t happen in practice, but something like this literally just bit me and it took me a few too many minutes to figure out what was going on.

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!

[0]: https://github.com/firecat53/urlscan

[1]: https://github.com/firecat53/urlscan/issues/122

HellsMaddy··on An ALS Protein, Revealed
Can you provide a link? I’m having trouble finding it.
HellsMaddy··on The Unlicense is an inferior license wrapped in an atrocious name
Care to elaborate?
HellsMaddy··on Hoppscotch: Open-source alternative to Postman
To save you a click: Windows only and closed source.
HellsMaddy··on Longevity FAQ: A beginner's guide to longevity research
It’s worth noting that there has been a lot of controversy around Sinclair and his work.

> 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.

— https://en.wikipedia.org/wiki/David_A._Sinclair

HellsMaddy··on Soybean oil affects hypothalamus, causes genetic changes in mice: study (2020)
I bought some expensive “wild Norwegian cod liver oil” from Whole Foods recently. Didn’t look closely enough at the ingredients. Turns out the carrier oil is soybean oil.
HellsMaddy··on Ask HN: Why don't more software projects use BitTorrent for downloads?
GitHub/GitLab releases makes it easy, free, and has virtually no overhead to distribute software to millions of users globally. Setting up torrents and making sure they stay seeded costs time and money, and torrents are less convenient for most users.
HellsMaddy··on PRQL – A proposal for a better SQL
I don’t see anything dealing with OCaml here, other than it being listed as an inspiration.
HellsMaddy··on Free Postgres databases for small projects
I can’t live with this typo. s/touch/touched
HellsMaddy··on Free Postgres databases for small projects
I just did this with an application I haven't touch in years. The deployment worked on the first try. A few clicks and I had TLS certificates. I'm sold!
HellsMaddy··on Show HN: MdSilo – A knowledge silo that runs in your web browser
It’s open source? You should have a link to the repo on the website.
← PreviousPage 6 of 7Next →