HNHacker News
TopNewBestAskShowJobs

auxym

2,296 karma · joined May 2, 2014

I'm mechanical engineer with a long-lived interest in programming and computers.

Get in touch:

frtherien@gmail.com github.com/auxym

submissionscomments
auxym··on Effects of grill patterns on fan performance/noise (2011)
I'm aware of some research from my department, though not the lab I work at:

https://www.ingentaconnect.com/content/ince/ncej/2013/000000...

https://www.sciencedirect.com/science/article/abs/pii/S00224...

https://www.sciencedirect.com/science/article/abs/pii/S00224...

They place specially shaped "obstructors" in fan ducts which create destructive interference with some of the prominent noise tones.

auxym··on Effects of grill patterns on fan performance/noise (2011)
We often use stepped "reach gauges" for machine guards used in manufacturing and such: https://www.mcmaster.com/gauges/machine-guard-safety-gauges/ Not too expensive though.
auxym··on Steps to designing an embedded software architecture, Step 1
Today, probably not.

Historically? Definitely. It wasnt that long ago that bare assembly was still dominant in embedded, long after general computing. Somewhat obviously, assembly programs were closely coupled to the hardware.

Nowadays C is probably still dominant is C++ is starting to get widespread acceptance.

The best way to decouple the HW and SW is still a topic of active discussion from what I can tell. For example, https://embeddedartistry.com/blog/2022/07/11/how-our-approac...

auxym··on The death of the PCIe expansion card
Not all motherboards have built in wifi, which leaves the option of a USB external adapter or a PCIe card.
auxym··on New Text and Array Functions for Excel
I am not familiar with the R ecosystem, but have you tried PoweredQuery?

I had become my go-to for all sorts for all sorts of data munging in excel.

auxym··on New Text and Array Functions for Excel
Encoding data in cell formatting is questionable practice.
auxym··on New Text and Array Functions for Excel
Agreed. You can do regex via VBA but I really want a built-in cell function for regex search, regex extract, and regex replace.
auxym··on Integers in C quiz
same with ARM-EABI (32bit cortex-M MCUs). Int and long int are both 32 bits.
auxym··on Crystal Programming Language
Nim's new ARC gc, which will be default soon-ish in 2.0, does not have a "runtime" as commonly understood.

It is fully deterministic, so it simply injects alloc/free calls in the generated code at compile time. It even has an option that can show you where the calls are injected.

https://nim-lang.org/blog/2020/10/15/introduction-to-arc-orc...

auxym··on Ask HN: Which subredits do you follow?

  - r/Parenting is very high quality, for all you parents out there
  - a bunch of subreddits related to cycling, r/bicycling, r/cycling, r/xbiking, r/MTB, r/bikecommuting, r/bikepacking, r/bicycletouring
  - Finance stuff: r/PersonalFinanceCanada, r/leanfire, r/financialindependence
  - Photo: r/photography, r/photographs, r/darktable, r/FOSSPhotography, r/CineShots (cool one!)
  - Electronics: r/AskElectronics, r/PrintedCircuitBoard, r/Embedded
  - "Traditional" engineering (I'm a mech engineer): r/AskEngineers, r/Engineering, r/MechanicalEngineering, r/fea
  - r/EatcheapAndHealthy
  - r/functionalprint (inspiration for 3d printing stuff I do at work)
  - r/HomeImprovement and r/homeowners (newish homeowner, learning a lot)
  - r/knots
  - No programming or "tech" stuff (except r/nim), I get my fix from HN
auxym··on The Zimbu programming language
nim has that feature FYI.
auxym··on Ignore the haters, and other lessons learned from creating JSON5
KDL comes to mind : https://kdl.dev/
auxym··on ISO Warning Signs
Indeed. I run a university fablab/machine shop and we prohibit work gloves on all rotary tools (lathes, mills, press drill, bench grinders) and band saws due to drawing in risk. Not just gloves, but all long sleeves, long hair, jewelry, watches, etc.

We do allow thin nitrile gloves in cases where someone would want to avoid skin contact with eg coolant or cutting oil.

See this 2011 accident at Yale where someone died when their long hair got wrapped up in a lathe. Stuff of nightmares.

https://www.nytimes.com/2011/04/14/nyregion/yale-student-die...

auxym··on Ask HN: What HN post made you money?
Not sure if saving money counts here, but several years ago, some HN comment linked the MMM blog, from which I learned about the importance of investing and specifically index funds.
auxym··on Is the Kalman filter just a low-pass filter?
I'm not a mathematician at all (mechanical engineer), but to me, "exact" sounds like "deterministic" as an opposition to stochastic.

I though optimal conveyed the idea of "literally the best possible solution but you're still in the presence of a fully random system here".

Which might be the wrong interpretation, but hopefully it explains why some people (who aren't necessarily familiar with rigorous mathematics) use optimal.

auxym··on Is the Kalman filter just a low-pass filter?
Regarding the model as an optional less confident input:

I mostly know KFs from the third approach, control theory, state observers, state space representation, where the model is a central concept.

Can you actually use KF without a model? I'm curious, would you point out some references?

auxym··on The Mattel Spinwelder was the coolest Christmas gift of the 1970s
Yeah, a full faceshield is definitely advisable when using grinders. Powerful tools not to be taken lightly.
auxym··on New embedded programming language with C as a host language
C++ has decent industry acceptance in embedded nowadays, or at least that has been my impression.

After C++, rust is likely the most popular, quite a lot of effort has been put into running rust on embedded, see eg https://github.com/rust-embedded. However, once again to my understanding, industry acceptance is still highly marginal.

After that, there's a bunch of toy-ish efforts to run other languages. Zig, nim, python and javascript variants, etc. Usually anything that has C ABI compatibility should be possible to get up and running (without writing a compiler backend from scratch). I've had fun with some toy projects using nim for ARM cortex-M targets (https://github.com/EmbeddedNim/svd2nim, https://github.com/auxym/nim-on-samd21, https://github.com/EmbeddedNim/picostdlib).

Using Nim (and eg svd2nim to generate the equivalent of CMSIS headers for register access in pure nim), it would be entirely possible to write even the low level stuff (SPI drivers and whatnot) in 100% nim, with the same performance as C and better safety (better static type system and compile-time checks, etc). Runtime (eg overflow) checks and garbage collection are available (at the cost of some performance) but optional. See eg. a pretty basic higher-level API for GPIO access, that provides native performance, since the abstraction is implemented as macros (compile-time abstraction): https://github.com/auxym/nim-on-samd21/blob/master/src/port....

auxym··on Standard Ebooks
Thanks, will have a look!
auxym··on Standard Ebooks
A bit late here, but by any chance, does anyone know of a similar site for non-english high-quality ebooks? Specifically, I'd really like to read some french classics in the original french. I know Project Gutenberg, but quality is variable compared to Standard Ebooks.
auxym··on Raspberry Pi Pico Hack Unlocks Two Extra “Hidden” GPIO Pins
> The Pico and Pico W are strange

The pico competes exactly in the same world where Arduino does. The Arduino Uno still sells for 30$ despite a very old and limited AVR chip. Pico is a great deal compared to that, at 5$ for a double core ARM cortex M0 (and more flash, ram, real DAC, etc).

Yes, the ESP32 might also be a good deal in that space. ESP used to have their own weird architecture though? I think newer ones are RISC-V? Some people might prefer a somewhat more standard cortex-M.

auxym··on Hertz paid Accenture $32M for a website that never went live (2019)
Yep, over 1 billion dollars billed by IBM for a system that caused countless errors in public servant paychecks (under and over payments). The wikipedia even references a woman's suicide that was blamed on financial difficulties following continuous underpayments.

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

auxym··on Thoughts on ML Engineering After a Year of My PhD
To be fair, that quote does say "it pays to overfit", which is the inverse of "picking signal from noise".

I'm not convinced it actually pays, though.

auxym··on Deep Learning Papers Are Kinda Bullsh-T
Can you even control which version of python + external dependencies you get in a colab? Whatever you publish and works now will not necessarily work in a year or two (which is often how much time it takes to get a journal paper published).
auxym··on 8-Part Film Adaptation of Tolstoy's Anna Karenina Is Free Online
Don't know, I actually didn't have too much trouble getting through Anna Karenina, and it remains one of my favorite novels. Saying this as someone who has tried and failed many times to finish other classics such as One Hundred Years Of Solitude.
auxym··on Ask HN: Non programming professionals, what do you use for version control
Mechanical engineering, most mid size or large orgs use "PLM" software (product lifecycle management) to handle "versioning" (revisions, change orders, etc) of CAD files, drawings and sometimes other engineering documents.

They tend to be complex, expensive and centralized software that require an entire IT team to set up and maintain. Sort of similar to ERP software, and in fact, they often get integrated with ERPs.

Smaller orgs tend to use nothing, or an ad hoc system of file/folder structures and spreadsheets, because they can't justify the cost of PLM. I wish there existed a lightweight option. Git doesn't work well with large binaries and it's merge-based workflow doesn't really apply to CAD anyways. PLM software usually use an exclusive check-out model. There is OnShape, a low cost cloud CAD start-up that was bought by Siemens, which has some PLM features I believe.

auxym··on Tell HN: Information security audit / consulting is largely a scam industry
Pretty much all academic research work is done by grad students, with highly variable supervision by the PI.
auxym··on Robertson vs. Torx screw drives (2021)
All deck and floor screws are also Robertson in my part of Canada. I've seen drywall screws in both Robertson and Philips however.
auxym··on Darktable 4.0
FWIW I agree with you, but DT devs don't, which is their right to put in their free time to develop their software according to their own preferences.
auxym··on The End of CI
Exactly this. CI gets rid of "works on my machine" syndrome.

If it doesnt build on CI, you broke it, fix it before merging.

Though, I'm still sour from my only experience in "tech" where "works on my machine" meant devs got to demand I fix the CI somehow.

← PreviousPage 6 of 28Next →