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 ESP32-C3 Wireless Adventure: A Comprehensive Guide to IoT [pdf]
A lot of grey-beard type embedded programmers, who programmed in assembly through the 80s and 90s, really got attached to their architecture of choice, whether that is AVR or MSP430 or 8051. That crew tends to be very conservative with tech choices, for both good and bad reasons.

Some then learned to tolerate ARM Cortex M.

But Espressif, this weird new and unknown Chinese manufacturer, came out with their own arch and instruction set that no one else uses (xtensa). A lot of old timers were wary.

Their price to feature ratio is unbeatable though. That go them in the maker/hobby community fast, and lately I've heard of more and more companies using esp32 for actual professional products.

auxym··on Bitcoin keeps falling as Nasdaq goes up intraday
Technical analysis

https://en.m.wikipedia.org/wiki/Technical_analysis

Amongst many "efficient market" proponents, technical analysis has a reputation of being mostly equivalent to a crystal ball.

auxym··on Ask HN: Alternatives to Reddit
r/embedded feels like it has become 75% "how do I find my first job as an embedded programmer", which gets old after a while.

AskElectronics is pretty good though, in large part thanks to Davide's moderation. Losing places like that is sad tbh.

auxym··on Tell HN: The dragon compiler book (2nd edition) is a great book
Crafting Interpreters was fun to read and easy to follow, even as someone with a mechanical engineering degree :)
auxym··on 1000W 12V –> 220V Inverter
60 VDC / 30 VAC in Canada per CSA Z462 (workplace electrical safety).
auxym··on PSKoans: A simple, fun, and interactive way to learn the PowerShell language
It's actually pretty easy to "import" a C# class, either from a string or from a separate .cs file, with `Add-Type`, you don't even need to compile it first.

See: https://stackoverflow.com/a/24881346

auxym··on The Beauty of Pulse Arc Welding
Nope, not in my experience. They will happily ram themselves at full speed into your solid-block-of-steel workpiece if you tell them you (thereby probably causing tens of thousands of dollars in damage).
auxym··on The Garbage Collection Handbook, 2nd Edition
Nim has exactly that with the GC_step proc.

https://nim-lang.org/1.4.0/gc.html

However recent and future versions (2.0) are moving towards a different approach that is also applicable for deterministic real time systems: ARC, which is basically alloc and free calls inserted automatically by the compiler using static analysis (no "runtime").

auxym··on Ask HN: Courses/textbook recommendations for studying robotics?
Second that.

Similar questions get posted pretty often in engineering subreddits and it's difficult to answer as robotics is so multi-disciplinary.

Very few people in this world are skilled enough in embedded programming, PCB design (motor control and sensors), materials and structures, dynamics and kinematics, controls and machine design (CAD, selecting manufacturing processes, selecting various COTS mechanical parts like actuators and bearings) to be a one-man-robot making orchestra.

Advice to OP: pick a specialization to start with, and focus on learning that while using pre-made parts for the rest. For example, buy a ready-made robotic arm and write path planning and controls software to operate it. Or build your own CNC router/pick-and-place/3D printer/pen plotter but use off the shelf/open-source electronics and firmware.

Once that's done, pick another specialty and move on to that if it interests you.

auxym··on Establishing a UART Root Connection to a TP-Link Wireless Router
I like this one personally:

https://makerdiary.com/products/pitaya-link

It's both a USB-UART bridge and a debug/programming adapter for ARM microcontrollers, for 11$.

Based on a microcontroller itself, with open firmware and some extra exposed pins so it's hackable if you wish (but it works fine ootb).

auxym··on How computer vision is changing manufacturing in 2023
Hijacking to post another example. I know from a previous work experience that automated dye-penetrant inspection (https://en.wikipedia.org/wiki/Fluorescent_penetrant_inspecti...), using CV for the automatic detection of indications, has been used in aerospace for at the very least 15 years (and quite likely much more).
auxym··on PCB Gallery 1 (2020)
Oshpark?
auxym··on Getting work done with PowerShell on Linux
When reading a shell script, it's way clearer for me to understand what `$file.LastWriteTime` does, compared to extracting a column by numerical index from the text output of `ls` with cut or awk.

Yes, writing powershell tends to be more verbose. But reading scripts is so much better, and from my experience larger scripts are much more maintainable. Powershell can enfore types in function arguments, for example.

auxym··on Ask HN: HN for Finance?
Agreed. The podcast is great, and the community is the highest quality discussion of personal finance I've seen anywhere on the internet.
auxym··on Building a legged robot in 80 days
One option you could consider is mentoring high school FIRST FRC teams.
auxym··on Building a legged robot in 80 days
I can confirm that at the mechanical hardware level you'd also typically have specializations. At the very least I'd see one design engineer (CAD, designing parts for manufacturability, selecting COTS systems based on requirements) and a controls engineer (simulating and analyzing kinematics and dynamics of moving parts and setting up the controls algorithms to be used).

One jack-of-all trades engineer could for sure do both, but in larger projects with high budget (BD, NASA rovers, etc), you'd have even more different specializations just in mechanical engineering: thermals, structural analysts, motorization experts, etc.

auxym··on Building a legged robot in 80 days
Yes, in addition to Simulink, see AUTOSAR:

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

From my understanding it's very prevalent in automotive to generate microcontroller code.

auxym··on Of regrets
The problem is that a volunteer developer will now have to spend hundreds of thousands of dollars/pounds (according to nullc's comments in this thread) to defend against said bozo with a faux-dispute.
auxym··on A Fix-It-Yourself Trend for Appliances (1983)
> Component level repair is generally impractical, as replacement boards are usually available at reasonable cost.

That has not been my experience. A power relay for oven elements blew on the main PCB of a very basic Kenmore oven I had. Very simple PCB, large TH components. I was quoted 300$ for a replacement PCB, which was more than the oven was worth at that point. I ended up having to solder in a new relay I was able to find online (in minimum 10X quantity).

auxym··on Rivet nut for composite materials (2020) [video]
My day job is building one-off prototypes as a mechanical engineer in a research lab, so I end up sourcing a lot of random stuff like this in small quantities.

As others have mentioned, my first stop is the usual suspects, mostly McMaster and Misumi. If not I might check with a few local industrial distributors, including some independent ones but also local branches of Motion Canada, Wajax, GBS and whatnot.

If that fails, I usually resort to contacting the manufacturer directly, either phone or email, and asking if they either do B2B direct sales or if they have a distributor for my region they can put me in touch with.

Industrial sales is still very much old-school b2b, around here at least (Canada). For many of my local suppliers, the only way to get an idea of prices is to call or email a RFQ and wait a day or two to get a quote back. One lists their prices in their paper catalog only, which at least saves me the RFQ quote.

Many distributors are B2B only but some, especially in my small-ish town, will do B2C too.

auxym··on Whipper: Accurate Audio CD Ripping
And oink, waffles, Pedro's. It was the golden age of piracy.
auxym··on The year of C++ successor languages
Indeed. And Nim has very good FFI with C++, including templates even.
auxym··on 50 years of C, the good, the bad and the ugly [video]
Significant chunks of numpy and scipy, the "main" python packages for numerical algorithms, are wrappers around classic libraries such as BLAS, LAPACK and ARPACK, which are Fortran. Fortran was the de-facto language of scientific and numerical programming for a long time, back to the 60s even. These libraries are battle tested more than anything else out there, they literally have decades behind them, so they are industry standard and are used wherever possible.
auxym··on Microsoft is making Excel’s formulas easier
You can use C# or F# using excel-DNA. I've played with excel add-ons (xll files) in F# in the past, pretty neat.
auxym··on Tell HN: Thanks and hats off to all the non software engineers
I am mechanical engineer, though I never worked in engineering.

The low cost and amazing reliability, all things considered, of modern cars, absolutely amazes me.

auxym··on Tell HN: Thanks and hats off to all the non software engineers
Correct.

Software companies have very little cost other than engineering.

For hardware, once your engineers have created a design, you still have to operate a factory, pay for expensive manufacturing equipment and expensive labor required to actually build the design.

Thus, you get much less "margin per engineer" and the available portion of gross margin that can be paid to engineering is much smaller.

Still, thank you OP. It's nice to get some recognition sometimes :)

auxym··on BorgBackup: Deduplicating archiver with compression and encryption
restic also seems to have better Windows support.

Borg can can run in WSL but has seen limited testing under such, per their own docs.

auxym··on Numba: A High Performance Python Compiler
Pypy, probably. You could also consider writing pre compiled extensions for your "hot" code, eg. in Cython.
auxym··on Ask HN: LastPass Alternatives
I use Keepass(XC) across all my devices, windows, Linux and android.

I sync the DB with Nextcloud and encrypt with a combination of password and keyfile. The keyfile is a few KB of /dev/random and I only transfer it "offline" between devices (mostly over USB to/from my phone).

auxym··on Non-replaceable battery? Not if this proposed EU law passes
Same here. Beside phones that simply become outdated (slow, small storage, RAM fills up) or accidentally damaged, I had a Samsung Galaxy phone which wouldn't read SIM cards anymore, and then a Motorola phone which stopped being able to get a GPS fix. Both shortly after the 1 year warranty expires.

The result is I only buy cheap phones now (~200$), with the expectation that they'll last about a year. I have no idea how people can justify spending the price of iPhones and other flagships when they are apparently so expendable.

← PreviousPage 4 of 28Next →