HNHacker News
TopNewBestAskShowJobs

whodev

76 karma · joined February 24, 2022

submissionscomments
whodev··on US will ban cancer-linked Red Dye No. 3 in cereal and other foods
If you are actually interested then Dr. Jessica Knurick. She is accessible on different social media platforms and has a website where you can contact her.
whodev··on US will ban cancer-linked Red Dye No. 3 in cereal and other foods
> No one inhales six apples in a sitting

If hard ciders count then I sure have.

> It's useful to go for more "natural" foods because they aren't designed to make me eat as much of it as possible.

I'm not saying that fruits, vegetables, legumes, and other foods you get from nature aren't healthy, of course they are. The fallacy is to say that because it's natural it's inherently better then an artificial or synthetic counterpart. Instead of worrying about if the food dye in your fruit loops uses red bell peppers or is synthetically extracted from petroleum, how about we worry about people consuming too much ultra-processed, high calorie, and low nutrional foods. That will make a greater impact on the general populations health here in America. Banning additives and food dyes won't stop people from eating 2000 calories of fried oreos.

whodev··on US will ban cancer-linked Red Dye No. 3 in cereal and other foods
Great, but I can actually back it up. That's the difference here. I can point you to experts who agree with what I am saying and who I have chatted with.
whodev··on US will ban cancer-linked Red Dye No. 3 in cereal and other foods
You are blaming the wrong thing though. America isn't obese because of red dye 40 or food additives, it's obese because Americans eat too much ultra processed foods that are high in calories and low in nutritional value. Along with minimal exercise and walking.

Banning red dye 40 isn't going to solve anything, companies are just going to find another food dye, natural or synthetic. There needs to be major changes in the average American diet to incorporate more whole foods, fiber, vegetables, fruits, etc... Once that is done then take a harder look at the dyes and additives.

whodev··on US will ban cancer-linked Red Dye No. 3 in cereal and other foods
> Appeal to nature isn't a fallacy

It most certainly is.

> The appeal is to have a diet more in line with our evolutionary past.

Our evolutionary past is full of death and disease from what we ate. Humans have been drinking alcohol for centuries and there is strong scientific consensus that it causes cancer. Just because it's what humans have been doing doesn't mean it is safe and we should continue it.

> A) derive it from something humans have been eating for hundreds of thousands of years and that a couple studies have confirmed is probably safe...

> B) derive it from petroleum (as current US yellow food dye is) that a couple studies say is probably safe.

You say "derive it from petroleum" like they pump it directly from the well into your food. Petroleum is composed of hydrocarbons, it's very useful and is used in a lot of different applications. Just because you don't understand something doesn't mean it is dangerous.

whodev··on US will ban cancer-linked Red Dye No. 3 in cereal and other foods
> other countries have cracked down on some of those scary-sounding chemicals, due to them being unnecessary for food with no real benefit for the person eating it, and possible evidence of negative affects

Just because another country bans something does not make that thing harmful. Politicians banning food products and additives with no real scientific evidence is not unusual. They bend to public will, they are politicians after all. Also, studies that show "possible evidence of negative affects" in mice ingested at higher dosages then a human would ever eat or drink does not show they are harmful in humans. Humans are not mice after all.

> as someone who has lived for multiple years in the US and Europe, it is a drastic difference in food quality between the two

This is purely subjective, I've been to Europe and the Middle East, both have great food. But food in America is no worse in quality. The main difference is when I visited those area's I mostly ate out, at nicer restaurants where food would of course feel/taste/look better then the average meal at home or from fast food. But when eating at friends homes, the food quality (vegetables, fruits, meats) was no different than what I could get here in America.

> it was just whoever ended up eating less processed foods and more whole foods

I'm not arguing that we don't eat more ultra-processed foods. We do eat too many highly refined foods with little nutritional value. My argument is against blaming food additives, dyes, GMOs, HFCS, etc... Eating more whole foods, vegetables, and fruits would make you healthier, but that's due to the nutritional value, fiber, feeling more full for longer leading to reduced caloric intake, etc... Not because you got rid of food dyes.

whodev··on Build a Database in Four Months with Rust and 647 Open-Source Dependencies
> We use third-party dependencies judiciously and never deploy anything without auditing it.

This is how I think it should be of course. Like I said, I'm not against the use of third-party code or dependencies, I'm against using them without performing any audit of that code.

whodev··on US will ban cancer-linked Red Dye No. 3 in cereal and other foods
My goodness, for a website full of techincal individuals a lot of you are falling for the appeal to nature fallacy hard. Also, it looks like no one here knows how to defer to experts. I don't know much about food safety standards, chemical compositions, additives, etc. so I've talked with people who are experts instead. And from what I have gotten, most people are freaking out because they lack an understanding of what is really safe or not. People believe that since a certain scary sounding chemical was added that the food is now less safe when that's not the case.
whodev··on US will ban cancer-linked Red Dye No. 3 in cereal and other foods
You do know the US bans more food colors then the EU, right? You can't just say LGTM and go with what the EU does.
whodev··on US will ban cancer-linked Red Dye No. 3 in cereal and other foods
https://en.wikipedia.org/wiki/Appeal_to_nature
whodev··on Build a Database in Four Months with Rust and 647 Open-Source Dependencies
Thank you.

As someone who works in cybersecurity and works closely with our developers, a lot of them tend to inherently trust third-party code with no auditing of the supply chain. I am always fighting that while yes, we don't need to reinvent the wheel and libraries/packages are important, our organzation and developers need to be aware of what we are bringing into our network and our codebase.

whodev··on What's the best SaaS landing page you've seen recently?
https://frankenphp.dev/

Is probably the best I've seen.

whodev··on Zen, a Arc-like open-source browser based on the Firefox engine
Tbh, I think this is way more subjective then you're making it out to be. I subjectively would not want to use a WM for most of these points.

> - If you want to have two web pages side-by-side, you don't need a web browser that can handle split panes. Just have each web page in its own window and use your window manager to put them side-by-side. Tiling window managers will do this automatically.

I feel Edge does this better then any browser or WM. As a user, I don't want to see the browser's window border, or UI duplicated. Edge has a very easy and friendly split view does exactly what I would expect.

> - If you have want to have 100 tabs open, you should be using bookmarks or history instead of tabs.

I'm sorry, but I am not going to add every article I may want to read later as a bookmark or add to my history. If I added it as a bookmark and read it, I'll have to remove it as a bookmark next. That's already more steps then just opening it in a background tab by middle clicking my mouse and closing the tab after reading it. My bookmarks are for items that I want to keep, not one time uses.

> - If you want to have different workspaces, profiles, or so on, use your window manager's workspaces. You can even name workspaces according to projects or tasks, and assign windows to them automatically.

Nope. I have different profiles for my browser to seperate accounts, cookies, history, settings, etc... I don't think a WM could do this like using a browser could. In Edge I can just open the browser in my work profile and my Google work account is logged in with my Slack as a pinned tab versus using my personal profile and having my personal Google account logged in with YT Music as a pinned tab. This is a critical feature to me.

whodev··on Button Stealer
I diff'd the chrome extension against the github repo and they are basically the same, outside of a few lines in the README.md missing and the manifest.json containing an update URL key to "https://clients2.google.com/service/update2/crx".
whodev··on Second factor SMS: Worse than its reputation
This almost happened to my S/O. Luckily I had setup NextDNS to block newly registered domains along with a list of uncommon TLDs so the site got blocked.
whodev··on Open Source LinikedIn Scraper
This is why I private my social media accounts. There is already enough spam and I don't feel it needs to be any easier.
whodev··on Ask HN: What is the most productive stack or lang for single devs ?
Too each their own, that's the great thing with programming, you can find what you like/want and use that. As you can probably tell I don't feel it is a burden on the backend. I subscribe to the thought that state is managed on the backend, and the browser is just the users client to view those hypermedia responses provided by the server. Template fragments in Go make it easy to only serve the necessary HTML from my templates, or if it's a full page request I can send the entire page.

I'm not sure of anything like what you described, good luck on the search for it. If you find/develop anything ensure you post an obscene amount of memes on twitter for optimal discoverability by tech influencers.

whodev··on Ask HN: Startups – Are you on a monorepo or multi-repo set up?
Guess it depends on your definition of a mono-repo vs multi-repo. I'd consider what we have as a mono.

We have one repo which is our main web application (user dashboard, landing page, etc..), our API, and our scheduled tasks. With how much code is shared between these services it just makes sense to keep them together.

We then have separate repo's for other services that aren't critical or apart of what was mentioned above.

whodev··on Ask HN: What is the most productive stack or lang for single devs ?
When I work on solo projects, my goto is what I've dubbed the HAG stack:

  - HTMX: For client/server interactions. Returning HTML fragments is easy and lightweight.
  - AlpineJs: For interactivity that doesn't require a http request, think toggling sidebars etc...
  - Go: Primary development language, simplistic and easy to get started with. Fast compilation and with embedded files I can ship a single binary for deployment that contains all required assets.
Tertiary and other tools/services I use:

  - Turso (Sqlite): Primary datastore, great to use for a "db per user/tenant" approach."
  - Redis: Sometimes I use redis over turso, depending on need. Also used for caching. I've been moving much more into Turso though, especially with the embedded replica's.
  - Docker: Everything is built into docker images. For my Go app I disable CGO and use Google's "distroless" container images as the base image.
  - Fly.io: Hosting everything.
whodev··on Sprint, T-Mobile Merger Killed Wireless Price Competition in U.S.
I moved from T-Mobile to Visible, and my SO from AT&T to Visible. It was well worth it, we now pay $80 combined with unlimited 5G (incl. cellular for our watches) and have had no issues. We've been to concerts (Taylor Swift) and never had any issues with our connection. So far, this was a great choice.
whodev··on Ask HN: Wouldn't it be cool to have a Supabase for SQLite?
All the features you requested Turso can do, no?

> - SQLite runs next to server as production database

Embedded Replicas[1]

> - In dev, some sort of worker auto-copies the prod DB to the local repo. Production bugs can be reproduced easily and code fixed quickly

Maybe not exactly this, but you can replicate a DB from another with the CLI tool. Then just use that as a dev db.

> - Have an interface that lets you access, view, and modify data in the production DB, kind of like Firebase. Might need a server of its own... or couldn't that just be the app server itself?

I don't use their web interface, but I think it does allow this? I don't know for sure though.

> - SQLite auto-backs up to a bucket (like Litestream)

Turso does have point-in-time recovery[2]

[1] https://docs.turso.tech/features/embedded-replicas/introduct... [2] https://docs.turso.tech/features/point-in-time-recovery

whodev··on Dangers of “decentralized” ID systems
> They could produce their 21-year-old younger sister, who has government ID (yeah, I know, that is a resort to government ID).

1. How would you verify that's actually their relative and not a friend or stranger? 2. How do you verify that they are in fact the older sibling and not just saying they are?

whodev··on Show HN: Send messages to all users in a subreddit thread
Oh great, another tool to enable spammers that target users cannot opt-out of.

Fantastic.

whodev··on Ask HN: What are you working on and why is it cool?
I'm sure this is "normal" industry practice (not like I'd know since I've never tried doing SEO), but having a service that just uses AI to generate articles/blog posts for you just so you can have a better SEO rank seems, unpleasant.

I just don't like that people and businesses are using AI to create articles about "choosing the right video editing software" just for better SEO ranking.

whodev··on VSCode + WSL makes Windows awesome for web development
> Need an external tool to invert mouse wheel scroll direction but not the touchpad scroll direction.

This is probably my biggest gripe with macOS right now. Are there no developers at Apple who find this to be an issue?

whodev··on Show HN: This website is hosted on DNS
> you have to setup auth DNS with xyz.local and use it in air-gapped environments for your alert mails

True, but I was talking more about creating DNS entries for NPM (and other package managers) and redirecting them to our internal services. I just thought it was funny to mention since we impersonate public sites on our internal air-gapped network.

whodev··on Show HN: This website is hosted on DNS
> Sure, if you run an air-gapped network in some military facility, you can get things working without DNS, but 99.999% networks can't work without a DNS.

It's funny you say that, because in the air-gapped network in some military facility I work in, we actually replicate certain public DNS entries to have some specific systems and services working for our developers.

whodev··on Ask HN: Dark Pattern: Google Workspace doesn't let to select a cheaper plan
I had the same issue, Google "recommended" me the $20 plan and was not allowing me to downgrade on that page. But, once you start the free trial you are able to downgrade in the admin console. I was able to do that myself.

This really is bad UX though, but nothing I wouldn't expect from Google.

whodev··on Ask HN: What is your go-to stack for the web?
I've been using Go, HTMX, Alpine.js, and Turso.

So far I've been loving it. Simple and easy to get started with. Everything works so well togther and is really easy to deploy as a single executable which can include any asset files with the `//go:embed` directive.

whodev··on Ask HN: Will you use and pay for this?
I probably wouldn't pay for something like this. Like KomoD said, Dashy does a lot of what I need (and more) for free and is open source.
Page 1 of 2Next →