HNHacker News
TopNewBestAskShowJobs

ryanianian

2,514 karma · joined May 9, 2013

Coding and ranting
submissionscomments
ryanianian··on AM radio law opposed by tech and auto industries is close to passing
TFA mentions AM causing interference in EVs. More accurately, it's hard to isolate an AM antenna from a transformer system. AM reception in EVs is a feat of engineering. FM and others still require care but are comparatively easier.

AM is unique in its propagation. It can travel very far very easily and even bounce off the ionosphere in "shortwave" AM situations. It's hard to imagine any form of broadcast radio beating AM at its own game here.

Satellite radio could work, but satellites are a lot more expensive than a radio tower.

ryanianian··on Are We Modules Yet?
C++ is a big language compared to Python. Many those of us with years of C++ experience don't fully understand the power and complexity of modules, partially because so few libraries and compilers support them as shown by TFA.

I'd recommend becoming an expert in Python modules. How they're packaged, how they're referenced and installed by pip, etc. Then learn how headers and translation units work in C++. How templates operate is an important concept to understand. Jumping right to C++ modules without a deeper understanding of the C++ compiler or without a reference point for other languages' module concepts will only lead to confusion.

If you're totally new to C++, I'd actually recommend reading "The C++ Programming Language" cover to cover just to "know what you don't know" and then roll up your sleeves and get some experience with a hobby project.

ryanianian··on When did dogs become our best friends?
It is absolutely not good for the environment. Your dog does not eat a local, natural diet. There are more dogs than could be locally and naturally sustained.
ryanianian··on Chainguard Images now available on Docker Hub
Declarative image builds, nightly rebuilds of the whole ecosystem, and they bake the SBOM into the images. It is a really good offering. It's a shame we had to use the competing offering from RedHat for contractual reasons.
ryanianian··on Chainguard Images now available on Docker Hub
0-CVE base images and a package ecosystem. Very useful if you ship containers as products to security-sensitive folks.
ryanianian··on Permutation City (1994)
This book rather profoundly impacted my sense of reality and the kinds of realities that can exist within sci-fi universes.
ryanianian··on Pandoc
My kingdom for proper markdown support in google docs. Just let me toggle between wysiwyg vs markdown. Collaboration at a tech company using google docs is comically painful at times.
ryanianian··on Why do people feel the need to litter?
Or we need to put seeds in single-use paper and plastic.
ryanianian··on The Python Sofware Foundation Receives Wonderfully Welcoming Award from GitHub
> we already give Github far too much influence over the free software

Yup.

I was at GitHub Universe last week. It's very clear GitHub (Microsoft) is trying to become like AWS but for the SDLC instead of for runtime.

Soon we'll all be using GitHub full-time to do all our coding in the browser with integrated runtime envs and CI and AI along for the ride. You get a taste with some fancy OSS demo projects which they do legitimately support. Then you want to integrate with those OSS libraries, so you have to dip your toes into GitHub's ecosystem. And if you want updates and security and to not have public repos ... then time to pony up.

GitHub does support OSS in real ways, but it's pretty obviously a loss-leading marketing / freemium strategy. It's not surprising they give themslves a pat on the back - it's marketing after all. This is not a bad or even amoral thing, but let's not be naive.

They're eating their competitors' lunch. Many of the vendors at GitHub Universe had feature-sets that had clear overlap with GitHub's own ambitions, particularly in the security space. GitHub can and will put them out of business when the opportunity strikes. These ambitions are clear. C'est la vie.

What's less clear is how developer-friendly the ecosystem will remain when everything is locked into GitHub's world,. And it's even less clear how they will ratchet up pricing (or ratchet down interoperability or industry standards) as more gets sucked in.

It is an enterprise B2B company and a part of Microsoft, for better and for worse.

ryanianian··on Discouraging the use of web application firewalls
It's basically fizzbuzz. If you have a WAF, it proves you know how to add a WAF. Presumably even one you know how to configure when security needs change.

Compliance auditors are mostly there to underwrite posture, not actual risk.

ryanianian··on Ensō: write now, edit later
Sounds like the start of productive therapy.
ryanianian··on Ensō: write now, edit later
This kind of tool is great for outline-level rough drafts. Much like steam of consciousness journaling to see where your mind goes. Then decide how much if any of that to bring into the rough draft in an edit-friendly editor.
ryanianian··on Small business owners say they're pressured to hire off-duty cops for security
> prosecute which bypasses the DA

This is precisely why DAs are elected officials. It's supposed to work this way, in theory. The people vote in the officials who enforce the laws in the manner they wish. In practice, DA elections seem totally ignored.

The problem is lack of voting and civic engagement.

ryanianian··on How Netflix uses Java
IntelliJ is far and away above any other IDE and is well worth the paid license imho. It's a professional tool written by and for professionals. VSCode and Eclipse have some inertia in very particular workflows/tools and a few different (valid) ways of operating, but nothing is as polished and cohesive as the JetBrains.

Gradle, however, is a dumpster-fire of footguns and obtuse and non-debug-able DSLs.

ryanianian··on Tech workers demand high salaries despite hiring slowdown
And you'll possibly even get talent that is willing to work for your intended price. Good luck.
ryanianian··on Tech workers demand high salaries despite hiring slowdown
> tech workers deserve higher salaries.

That's a loaded statement. Salaries are set based on market conditions.

ryanianian··on Retirement savings simulator
You also cannot indicate that you have more than a million in savings. That is not an unreasonable number near the end of a working career, even for non-high-net-worth people.
ryanianian··on Short session expiration does not help security
Killing short sessions would be somewhat nice from a user perspective, but I think this is unrealistic as others point out. Instead, let's focus on what makes short sessions super obnoxious.

In theory I don't mind a fast and painless re-auth that doesn't hugely interrupt my flow. But the current implementations seem to be actively user-hostile and intentionally annoying.

My company has moved to Okta for most things. Fine. But the session expiration and re-auth mechanism is extremely maddening. It comes out of nowhere.

Right in the middle of doing work, I need to re-auth to {jira, github, google suite, whatever} without any warning. Github in particular makes you re-auth to each org independently even if trying to view OSS material that doesn't require auth to begin with.

And of course SSO flows break anchor tags in URLs so good luck if you already closed the link that had the necessary anchor information.

Then let's talk about Okta in particular requiring three separate pages and clicks for user, pass, otp (because a single form with all three is "insecure" in a meaningful way?). And then not respecting dark mode making an otherwise dark-friendly workflow have flashes of bright light at unpredictable times.

Sure, let's make regular re-auth a thing. I'd even do it once every X hours. But come on.

Let's make the re-auth schedule predictable (ugh google suite re-auth right in the middle of screen-sharing or doing deep work on a doc).

Let me pre-emptively re-auth everywhere all at once in a batch (pointing my finger at you, github).

Let's figure out a way to preserve anchor tags (javascript is a thing, sso sites could capture and sso providers could pass this through).

And dear god, Okta, please just support dark mode on your interstitials. I view that bright flash of light about 5 times per day now and it raises my cortisol levels and hurts my eyes every time.

I know TFA isn't about SSO flows, but SSO flows + short sessions highlight how annoying the end-result of this hodge-podge of auth is for users trying to do their job.

ryanianian··on Show HN: Layerform – Open-source development environments using Terraform files
FWIW the transparent backgrounds on the diagrams makes the diagrams illegible if Dark Mode is enabled in the github UI.
ryanianian··on Java 21: What’s New?
What?
ryanianian··on Launch HN: Certainly Health (YC S23) – Book doctors without surprise bills
1. If there's ML and a "guarantee" involved, what actually happens if the bill is larger than predicted?

2. I've been to medical appointments where doctors have clearly ordered tests to pad the bill. E.g. a lung capacity test to prescribe stimulant medication. Or doing many blood panels "just in case" (conveniently when they have an in-house blood scanner and phlebotomist). Some practices offer dozens of such tests and procedures. They are judgment calls but doctors are perversely incentivized to order them. What is the patient/doctor experience in these situations? Having the menu of services+prices readily visible and available and the doctor walking through the options and risk/reward?

3. Will you publish the pricing information over time? Perhaps comparing the transparency/hospital-published data versus your experiential and predicted data?

ryanianian··on Dusk OS: 32-bit Forth OS. Useful during first stage of civilizational collapse
Parent comment said solar panels would last 3 decades, not 3 years.
ryanianian··on Apple Vision Pro: Apple’s first spatial computer
New hardware advancements often prompt us to anticipate corresponding strides in accessibility research.

> Navigate visionOS simply by looking at apps, buttons, and text fields. App icons and buttons subtly come to life when you look at them.

I will defer to experts for a more in-depth discussion on accessibility, but this feature does raise a concern for me.

I have a condition that causes my eyes to rapidly move back and forth. My visual processing compensates. I see like normal, but my eyes do not stay still for long even when looking in one spot.

Initially, I assumed that this condition would prove problematic for VR use, but I've found that I can see quite clearly inside current VR headsets, although I've never tried anything that has eye-tracking. The prism component of my prescription does reduce the area of optimal focus. In addition, certain degenerative and congenital conditions cause individuals to rely very heavily on peripheral vision if central vision is impaired.

If visionOS can tailor its visuals to the user's specific visual abilities, it could provide a profoundly useful tool for these users.

ryanianian··on Adult-use cannabis delivers $15B in tax revenues
Hugged to death: https://web.archive.org/web/20230502143621/https://www.green...

Better takeaway is actually:

> For the first time in the U.S., adult-use cannabis tax revenue declined across legal states in 2022.

ryanianian··on iOS 17 app sideloading might only be available in Europe
Food delivery apps seem to immediately abuse any form of push notifications in order to send spam. Lyft uses the same push stream for both driver ETA and 10% off coupons. They are indeed more reliable than SMS, yet I turn them off almost as fast as apps start to use them.
ryanianian··on Replacing my best friends with an LLM trained on 500k group chat messages
Very reminiscent of the Be Right Back episode of Black Mirror [1].

A family member recently died unexpectedly, and I have a small collection of texts, emails, and blog posts by them saved on my machine in the small (perhaps delusional) hope that they'll be a useful training set for a them-flavored chatbot. Perhaps even one that's trained to help me with the grief of their loss. Not a huge amount of training data, though. I suspect a training model would have to "fill in the holes" (a la Jurassic Park DNA), and that's where the fun begins.

[1]: https://en.wikipedia.org/wiki/Be_Right_Back

ryanianian··on Morse Code Chat
For anyone looking to get serious about learning CW including the "protocol" for using it on amateur radio bands, check out CWAcademy. It's like a group class setting led by volunteer "old timers" who are passionate about the technology and community. I had no prior morse code experience and successfully made my way up to about 15 words per minute over the course of about 5 months. It takes work and patience, but it's a lot of fun. There's a bunch of arduino-based gizmos and other software that hams have made to simulate and teach morse-code-heavy interactions (shout-out to Morserino, Morse Runner, and Morse Code Ninja).
ryanianian··on Unpopular Opinion: Don’t Use a Raspberry Pi for That
I shorted a few RPis in my day. It would hurt to do that now given their price.

Even so, OP is about running server stuff rather than electronics or robotics hobbyist stuff. The Pi works as a little hass and automation server, but only barely.

I've been "mini pc" curious for a while, and TFA mentions a "TinyMiniMicro" resource that seems quite useful.

ryanianian··on So you've installed `fzf` – now what?
File paths are just strings from the shell, though, and each tool can handle relative paths differently. So `./` can mean relative to your shell's cwd or the program could interpret it as relative to something else. Moreover something like `go test -v ./...` is...ambiguous.

I think what would be more useful is to record `env` or some similar context along with the time and command. That would probably get weird pretty fast, though. Maybe just a thing that could insert some useful bookmarking/state into the history record on-demand? `history-set-checkpoint` or something would save your pwd and local vars or something.

ryanianian··on Trouble with Erythritol
> How many net & total grams of carbs a day

Total grams doesn't matter. The point is the glycemic impact. Some people are very sensitive to carbs and can't eat a banana without throwing off ketosis, and others can have upwards of 30g of net carbs a day and still stay in ketosis. My goal is 20g or less, and my ketones still stay in the 1.5-2.0 range unless I overdo protein instead of fat.

For most people, the starting point is around 15g net carbs a day. If you're serious about keto (and staying healthy while doing so) you'll want a ketone testing mechanism as well as guidance from your doctor about adjusting medications since ketosis mimics a fasting state for a bunch of your metabolic processes.

← PreviousPage 2 of 23Next →