HNHacker News
TopNewBestAskShowJobs

an_d_rew

847 karma · joined December 17, 2014

[ my public key: https://keybase.io/adfernandes; my proof: https://keybase.io/adfernandes/sigs/d4Yt5D99Kh23VOrZ4pus6dU9xruM6nKZG6AFGNZ8q1s ]
submissionscomments
an_d_rew··on FDA Finalizes Rule to Deregulate Hearing Aids
You can import your audiogram into your iphone and it will program your airpods to match.

https://support.apple.com/en-us/HT211218

It’s bloody amazing.

A thousand blessings, health, and happiness to EVERYONE at Apple’s accessibility team for this!

an_d_rew··on A Reply to Josef Průša
Hey, Thea, if you’re reading this on HN, thanks for taking the time and care (and kind and professional) well thought out rebuttal!
an_d_rew··on Surprise computer science proof in combinatorics
> ... but some things have an impact on people's quality of life: nutrition, healthcare, and psychological well-being.

I would perhaps classify that as "immediate" impact, not "lack of impact".

Number theory has driven computer science, calculus, statistics, and so on.

CS, calculus, stats... they all drive (for example) "nutrition". For example, how do you know what a "vitamin" is? How do you measure it? How do you quantify it's effects on the body (and mind)? A whackload of analysis DEPENDS on number theory for us to understand almost everything about the natural world!

an_d_rew··on Ending Dependency Chaos: A Proposal for Comprehensive Function Versioning
In theory, sure!

In practice, it will stay pinned for years until a CVE forces a patch upgrade that ends up triggering a dependency avalanche and weeks or months of headaches.

an_d_rew··on CppCon 2022
A point that I rarely see raised is that in mission critical or safety critical applications, exceptions and implicit heap allocations are, with good reason, explicitly banned.

So no standard library for you.

Which likely implies "no C++".

Which keeps us writing in C.

an_d_rew··on When to use Bazel?
I will quote my past self (https://news.ycombinator.com/item?id=26064845)

We use Bazel’s rules_docker as well, and I would caution someone evaluating it with a note from out experience.

What Bazel does well (and as well as Bazel fits your use-case) Bazel does extremely well and is a reproducible joy to use.

But if you stray off that path even a tiny bit, you’re often in for a surprisingly inexplicable, unavoidable, far-reaching pain.

For example, rules_docker is amazing at laying down files in a known base image. Everything is timestamped to the 1970 unix epoch, for reproducibility, but hey, it’s a bit-perfect reproduction.

Need to run one teensy executable to do even the smallest thing that’s trivial with a Dockerfile? Bazel mist create the image transfer it to a docker daemon, run the command, transfer it back... your 1 kb change just took 5 minutes and 36 gb of data being tarred, gzipped, and flung around (hopefully-the-local) network.

It may not be a dealbreaker, and you may not care, but be forewarned that these little surprises creep up fairly ofen from unexpected quarters!

Edit: after 2-ish years of Bazel, I would say that for 99% of developers and organizations, the most likely answer is "never".

an_d_rew··on C++ Concurrency Model on x86 for Dummies (2020)
Wait, wait, there can be even more confusion! IIRC nvidia’s Denver and Carmel Aarch64 cores, and one of Fujitsu’s, also uses TSO...

...so your tested Intel-to-ARM port might work just fine until run on a different vendor’s core!

an_d_rew··on Learn TLA+
Awesome, thank you, Hillel!

Bought the book, FWIW, and love it - but this will help me evangelize TLA+ with my employer and other groups!

an_d_rew··on Uniting the Linux random-number devices
Jason, you buried the lede! :-)

Very nicely put, and thank you for putting that together!

This patch goes a long way toward eliminating a long overdue userspace crypto footgun. After several decades of endless user confusion, we will finally be able to say, "use any single one of our random interfaces and you'll be fine. They're all the same. It doesn't matter." And that, I think, is really something. Finally all of those blog posts and disagreeing forums and contradictory articles will all become correct about whatever they happened to recommend, and along with it, a whole class of vulnerabilities eliminated.

With very minimal downside, we're finally in a position where we can make this change.

an_d_rew··on Systemd, 10 years later (2020)
This was an amazing review, and love systemd or hate it, this article gives a fantastic history and exposition of what systemd actually is.

My favorite quote (and when taken in context is much less tongue-in-cheek thank you might think):

systemd is an event-driven object manager with dependency-like side effects which ‘boxes’ primitive kernel resources and userspace subsystems into a generic object type called Unit. These Unit objects are scheduled through the state propagation mechanism of ‘jobs’ and dynamically dispatched via a singleton object called Manager, responsible for launching jobs in ‘transactions’ which do merging, cyclic ordering and consistency checks and serve as the main point at which unit dependencies are pulled in. Unit startup is executed as a non-indempotent parallel dataflow with weak ordering guarantees on the job level, mostly independent of the active state of dependent units.

Any night you have insomnia, just read that a few times and you'll be out like a light! :-)

an_d_rew··on Reducing an LTO Linux kernel bug with cvise
Nice writeup - thank you!
an_d_rew··on Enabling IPv6 support for GitHub Pages
Thank you!

I know it’s all the rage to say “gee why no v6 yet?”, but that’s a LOT of infrastructure and testing to overhaul…

The effort is much appreciated!

an_d_rew··on NansAreNumbers – An esoteric data type built of NaNs
Obligatory xkcd: https://xkcd.com/242/
an_d_rew··on Zephyr FPGA Controller
The thing that bothers me about Zephyr is that their slack is only accessible if you're employed by one of the big companies, intel, google, freescale etc.

I do not believe this is true, nor has it been for quite a long time.

As a private individual I was on their Slack at least two years ago, And they recently moved to a public Discord group.

an_d_rew··on Autocorrect errors in Excel still creating genomics headache
Switch to what?

Excel is everywhere.

People are familiar with it. The same people are often not familiar with, and have never used, and may even be confused by “notepad.exe”.

an_d_rew··on Autocorrect errors in Excel still creating genomics headache
Because an absolutely enormous number of people involved in all ends of genomics and biomedical science have absolutely no inkling whatsoever about programming.

Furthermore, Microsoft office is installed everywhere everywhere everywhere… like it leave it love it or hate it, it doesn’t matter… it’s true (at least for huge swaths of the demographic).

So the first thing most people learn is excel and the last thing most people use is excel. It’s a database, it’s a spreadsheet, you can even use it as a word processor if you want to. And some have.

I’m not saying you could and I’m not saying you should, I’m just answering as to “why“.

an_d_rew··on EU agency says AstraZeneca vaccine is 'safe and effective'
For those that want a bit of evidence and scientific background on this, Derek Lowe's writings are, as usual, an excellent source. https://blogs.sciencemag.org/pipeline/archives/2021/03/16/wh...

It is a scientifically and statistically rigorous look at the available data that takes into account how people probably feel about the whole issue.

an_d_rew··on How does your programming language handle “minus zero” (-0.0)?
It’s pretty common when, for example, you’re computing the flows in a bifurcating field.

Take 2d laminar flow around a circle. The flow field splits right in the middle.

Signed zeros ensure that, along with graceful underflow, the local solution is not wonky.

Lots of complex-arithmetic examples too.

an_d_rew··on Buildpacks vs. Dockerfiles
We use Bazel’s rules_docker as well, and I would caution someone evaluating it with a note from out experience.

What Bazel does well (and as well as Bazel fits your use-case) Bazel does extremely well and is a reproducible joy to use.

But if you stray off that path even a tiny bit, you’re often in for a surprisingly inexplicable, unavoidable, far-reaching pain.

For example, rules_docker is amazing at laying down files in a known base image. Everything is timestamped to the 1970 unix epoch, for reproducibility, but hey, it’s a bit-perfect reproduction.

Need to run one teensy executable to do even the smallest thing that’s trivial with a Dockerfile? Bazel mist create the image transfer it to a docker daemon, run the command, transfer it back... your 1 kb change just took 5 minutes and 36 gb of data being tarred, gzipped, and flung around (hopefully-the-local) network.

It may not be a dealbreaker, and you may not care, but be forewarned that these little surprises creep up fairly ofen from unexpected quarters!

an_d_rew··on Show HN: SOUL Language 1.0 – A platform for writing and running audio code
Ah! I didn’t realize it was you! :-) Cheers!

And good point. I understand where you’re coming from, but... I didn’t understand it when I read the post and blurb(s).

an_d_rew··on Show HN: SOUL Language 1.0 – A platform for writing and running audio code
Sadly, I’ve been bitten by this before, too, and even if I love the product, I stay away.

It isn’t that I don’t trust you or your intentions now, it’s that intentions (and requirements) change.

You asked about allaying fears. Personally for me this means actually take-to-the-bank licensing that I could get through a legal audit, even if hypothetical.

Talk of “secret sauce” and future closed source and IP licensing of future maybe-must-have magic... that’s way too much future risk for me.

An example of what I think is good licensing is JUCE (https://juce.com). Everything from “free” to “paid with support”, all open source… but the point is I always know exactly where I stand legally, what I can and cannot do... and what I can and cannot do in the FUTURE.

an_d_rew··on The best things and stuff of 2020
Apparently! https://www.americastestkitchen.com/guides/air-frying/the-be...

(disclaimer: I don’t have one, but America’s test kitchen/cooks illustrated tend to be pretty reliable with their advice I find…)

edit: see also https://www.americastestkitchen.com/videos/4115-air-fryers

an_d_rew··on What If OpenDocument Used SQLite? (2014)
In this particular case though you have to weigh linking against SQLight versus zlib and libxml.
an_d_rew··on Tell HN: Thank You Dang
Oh, my, yes... Thank you Dang!
an_d_rew··on Ask HN: What is the best money you have spent on professional development?
Assertiveness training.

The difference between being assertive and being aggressive can be more subtle than you think, but the rewards for you and your team (and your friendships and your relationships) can be boundless.

an_d_rew··on [dead]
> Considering the devastating impact of SARS‐CoV‐2 and importance of preventing future pandemics, researchers have a responsibility to carry out a thorough analysis of all possible SARS‐CoV‐2 origins.

This is a downright misleading statement.

It is possible that aliens created SARS-CoV-2 as an experiment. It is possible that my body quantum tunnelled from the USA to China, through the earth's core, and picked up the virus.

But these events are exceedingly improbable. Therefore neither deserve the merit of future study.

Besides... Hypotheses must be falsifiable. That's how science works. Anything else is just click-bait. So I question that this article has any real utility at all except possibly fanning the flames of racism or sensationalism.

an_d_rew··on Bazel Build System Support for LLVM
10,000+ artifacts on a 20 core Intel box with 64 Gb RAM.

We have some peculiarities of our Bazel setup that are not common, yet are (supposed to be) fully supported.

Building can take hours.

an_d_rew··on Apple is warning Mac users that Amazon Music app and HP drivers are malware
Also if you didn’t read the article, at least forHP: it was HP’s mistake and fully acknowledged by the company.

Apple’s anti-malware system was actually just working exactly as designed.

an_d_rew··on Strict APIs vs. Forgiving APIs
pure gold
an_d_rew··on Bazel Build System Support for LLVM
Unfortunately, for us, Java “out of memory” errors are routine, and for even moderately-sized monorepos the RAM requirements can get insane.
← PreviousPage 2 of 5Next →