HNHacker News
TopNewBestAskShowJobs

HellsMaddy

3,099 karma · joined October 24, 2016

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

https://github.com/b0o

submissionscomments
HellsMaddy··on Wi-Fine
Email hn@ycombinator.com, they usually respond really quickly.
HellsMaddy··on Health effects of the use of non-sugar sweeteners: a review and meta-analysis
Sweetened beverages, including no calorie, fall on the extreme end of the sweetness spectrum. If you consume such sweet things even in moderation, you are recalibrating your sense of sweetness.

Personally, I’ve avoided all added sugars and sweeteners for a few years now. I used to find apples bland and boring, but now they taste like indulgent candy. The same goes for pretty much all fruit. I can taste sweetness in vegetables that I used to find bitter. Lightly cooked carrots, beets, squash are all deliciously sweet treats. The bottom line is that I get a lot more enjoyment out of “healthy” foods now.

When I’ve recently tried “normal” sweets like cake or soda, they taste sickeningly sweet. However, I imagine that if I drank even a no calorie sweetened drink like Coke Zero “in moderation”, my sweetness scale would recalibrate and I would start gravitating more towards sweeter things, and be less able to sense the sweetness of mildly sweet things.

The same concept applies to other flavor profiles. Salty, umami, starchy, fatty. Eating processed foods even in moderation reduces your enjoyment of whole foods and consequently makes you less likely to eat them.

HellsMaddy··on A little story about the `yes` Unix command
I wonder what the quickest way to rack up the highest bill on AWS is.
HellsMaddy··on Enclave: An Unpickable Lock
Revised:

- Each [failed] attempt to rotate the cylinder could partially compress a spring-loaded lever.

- The return mechanism would always return if not in its resting position, not only after each 5 failures.

- Successful attempts immediately reset the spring.

HellsMaddy··on Thank you to our maintainers
Tangential: you don’t have to put a .github folder in every repository. You can create a .github repository and put files like FUNDING.yml in there, and they will take effect across all of your repos.
HellsMaddy··on Enclave: An Unpickable Lock
To counteract brute-forcing, how about adding a rate-limiting mechanism?

I could imagine each attempt to rotate the cylinder could partially compress a spring-loaded lever. There could be some sort of ratcheting return mechanism that allows the spring to decompress at a known rate (think a kitchen timer). Once the spring is compressed beyond a certain point (e.g. after 5 failed attempts), a mechanism locks out the cylinder until the return mechanism allows the spring to decompress back to its starting position.

If the lockout happened after 5 failed attempts, and the lockout duration was 10 minutes, an attacker could test at a maximum rate of 30 combinations per hour. It would take 64 days to check all 46,656 possible combinations, or 32 days on average to find the solution.

HellsMaddy··on Ask HN: Do you upvote direct replies?
Because then I have to remember to check and I might miss a reply for hours or days. I check my email much more frequently than I check my HN comments.
HellsMaddy··on Ask HN: Do you upvote direct replies?
There’s also hnreplies[0]. Keep in mind, they were hacked once and leaked email addresses[1].

[0]: http://hnreplies.com

[1]: https://news.ycombinator.com/item?id=26968908

HellsMaddy··on Animal magic: why intelligence isn’t just for humans
Can you explain why you are okay with eating ruminants but not omnivores?
HellsMaddy··on Animal magic: why intelligence isn’t just for humans
May I ask, why does the intelligence and sociability of the animal sway your decision, as opposed to the animal’s ability to think and feel? Where is the line that separates eating dog or pork from eating cow or chicken?
HellsMaddy··on Blender 3.2
Consider detaching your GitHub repo as a fork of tilt-brush.

Whenever I come across a fork on GH, my first assumption is that the fork is aiming to be merged back into the main repo in the future, and my second assumption is that the maintainers of the fork have less of an interest in the project than the original project’s maintainers. It’s a signal of lower quality IMO. You should keep mention of the original project in your docs, but I personally don’t think it’s necessary to keep the repo as a fork.

You can use the GitHub virtual assistant to request this: https://support.github.com/request/fork

I am pretty sure that issues, PRs, stars, and everything should be preserved, but don’t take my word for it.

HellsMaddy··on Tools for Better Thinking
I’m seeing a lot of good systems thinking recommendations here, and I would add “Thinking in Systems” by Donella H. Meadows.

At the moment, I am particularly interested in finding good books and resources on communication. Especially verbal, critical, collaborative communication, and receptiveness/openness. Team and interpersonal focused stuff. There are so many resources out there, but I’d like to hear about what other HN users have found useful.

HellsMaddy··on Mozilla releases local machine translation tools as part of Project Bergamot
+1. This was the first thing I tried to do and was surprised this feature doesn't exist. Most often, I don't encounter entire webpages in foreign languages, but rather small snippets of text.

It seems there is an open issue for this: https://github.com/mozilla/firefox-translations/issues/358

HellsMaddy··on Ffmpeg Buddy
For a long time, I've wanted an interactive Imagemagick interface that allows you to add/tweak flags and shows an immediate preview. The Imagemagick site has something sorta like this[0] but it's not very good.

My current workflow is to open the image in a viewer that automatically reloads on change, like feh or sxiv, and then in my terminal use <M-a> to run the command without clearing the command line.

[0]: https://magickstudio.imagemagick.org/scripts/MagickStudio.cg...

HellsMaddy··on Coloring computers: non-electronic computers that work when you color them
I love the idea, but the instructions could be improved. There are a few places where I can imagine kids might get confused or lost.
HellsMaddy··on Long-Chain Omega-3 Fatty Acids Improve Brain Function, Structure in Older Adults (2014)
I take algae-derived DHA. Fatty fish get their omega-3 from algea, after all. As a benefit, the algea can be sustainably farmed in clean water, with no microplastics, heavy metals, or other contaminants. It's also not cruel! And the prices are pretty similar to fish oil!
HellsMaddy··on Ultorg: A user interface for relational databases [video]
My first ever programming gig was converting a small business's back-office MS Access database into a CRUD web application. Sure, I made it look all pretty, but if this had been available back then, I would've been out of a job! Super impressive work!
HellsMaddy··on Bits of advice I wish I had known
Nice one! I would also like to add one - Cunningham's Law:

https://en.wikipedia.org/wiki/Ward_Cunningham#Cunningham's_L...

HellsMaddy··on Git.io deprecation
I feel bad, I just recommended a project use git.io short links a few months ago and they took my advice.
HellsMaddy··on Mapr: Native cross platform maps in Rust using WebGPU
I'm guessing that's a placeholder for later. But I did find some sort of demo in the parent directory of the API docs site: https://maxammann.org/mapr/webgl/
HellsMaddy··on Moreutils: A collection of Unix tools that nobody thought to write long ago
I was wondering what the difference between tempfile and mktemp was. At the bottom of the tempfile man page, it says:

> tempfile is deprecated; you should use mktemp(1) instead.

HellsMaddy··on Moreutils: A collection of Unix tools that nobody thought to write long ago
cat is doing nothing useful here. Your command is equivalent to

    awk '{do_stuff()}' myfile.txt | sort -u | column --table > new-myfile.txt
The only thing you’ve changed is that you’re sending the output to a new file. That’s fine, but it’s what sponge is avoiding.
HellsMaddy··on Moreutils: A collection of Unix tools that nobody thought to write long ago
Cat won’t write the file. If you mean `command | sudo cat > file.txt`, that won’t work because the redirection is still happening in the non-root shell. You could do `command | sudo sh -c "cat > file.txt"` but that’s rather verbose.
HellsMaddy··on Moreutils: A collection of Unix tools that nobody thought to write long ago
I agree with you, the downvotes are unnecessary, it was actually a good question.

tee actually does sorta work for this sometimes, but it’s not guaranteed to wait until EOF. For example I tested with a 10 line file where I ran `sort -u file.txt | tee file.txt` and it worked fine. But I then tried a large json file `jq . large.json | tee large.json` and the file was truncated before jq finished reading it.

HellsMaddy··on Moreutils: A collection of Unix tools that nobody thought to write long ago
Right. You should always test the command first. If the data is critical, use a temporary file instead. I usually use this in scripts so I don’t have to deal with cleanup.
HellsMaddy··on Moreutils: A collection of Unix tools that nobody thought to write long ago
I find sponge really useful. Have you ever wanted to process a file through a pipeline and write the output back to the file? If you do it the naive way, it won’t work, and you’ll end up losing the contents of your file:

    awk '{do_stuff()}' myfile.txt | sort -u | column --table > myfile.txt
The shell will truncate myfile.txt before awk (or whatever command) has a chance to read it. So you can use sponge instead, which waits until it reads EOF to truncate/write the file.

    awk '{do_stuff()}' myfile.txt | sort -u | column --table | sponge myfile.txt
HellsMaddy··on We lost 54k GitHub stars
In America, we blame individuals when systems fail. We don't have to, we can actually design systems to be better. Design isn't just about making things look pretty. Good design reduces entropy.

https://www.youtube.com/watch?v=Ra_0DgnJ1uQ

https://en.wikipedia.org/wiki/Human_factors_and_ergonomics

HellsMaddy··on Ask HN: Have you created programs for only your personal use?
People need to stop thinking this bot was a serious attempt. It is very obviously a troll making fun of people who advocate for gender neutral phrasing.
HellsMaddy··on Ask HN: Have you created programs for only your personal use?
This is so cool! I think I'm going to gift your book to my niblings next Christmas. Thank you for sharing!
HellsMaddy··on Broadband cables to be routed through water pipes in new trial
https://www.cbc.ca/news/science/tea-bags-plastic-study-mcgil...

https://news.ycombinator.com/item?id=21070351

From that thread:

> Some of these fancy bags (e.g. from tea pigs) are made from polylactic acid. This is derived from corn starch and used in temporary medical implants (it degrades to lactic acid) so hopefully it's safe.

https://news.ycombinator.com/item?id=21072973

← PreviousPage 5 of 7Next →