21,957 karma · joined Jul 14, 2013 (13y ago) · 8,979 submissions
Gadgeteer.
Passionate about understanding how things work, and making things work. Hoping to learn about tools and techniques that will make my work more productive / fun.
comment 1d ago · link · parent
comment 2d ago · link · parent
When I ask AI to write code with similar functionality, it's about 10x more code. Likewise when I look at the code for well respected open source projects. It's good code in terms following accepted practices, but hard to read because there's too much of it to see where the actual "working" code is.
A lot of the code is "defensive," i.e., type and bounds checking, trapping error conditions, etc. When I've looked at the unit tests, most of them test the defensive code.
I tell my engineering friends: "Engineers like to over-complicate things." Maybe the AI has picked up on this and is serving it back to us.
comment 2d ago · link · parent
Something I've observed for a long time, is that if a system has O(N) pieces, then the number of interactions between pieces is O(N^2). Thus as complexity increases, most of the work will involve interactions, not basics.
For this reason, most people with engineering job titles spend most of their time organizing and arranging things, fitting things together, meetings, and troubleshooting. It only takes a small handful of people working on the pieces themselves to keep the rest of the department busy indefinitely.
Also, resources will tend to be thrown at a project when it's running late, which tends to be after the pieces have already been designed and tested. Software always comes after hardware, sometimes disastrously after, with embedded in between.
Also for this reason, while AI could affect embedded and hardware (and I'm seeing it happen), the biggest gains are to be made in taming the software beast.
comment 2d ago · link · parent
Think about where you want to live, if your job needs you live near where the hardware is made. If not, you will depend on someone who does live there, and they want to eat your job. San Francisco and "Remote" are two places where it doesn't make sense to manufacture hardware.
comment 3d ago · link · parent
A nearby large chemical plant had their own bomb squad, and sent it out to take care of the bottles.
comment 3d ago · link · parent
Anecdote: Some of my relatives are chemists. There are some more common materials that can form crystals over time, which can detonate when a bottle is disturbed. Specifically, some kinds of ether. Dealing with a lab where this stuff has not been stored properly (or abandoned and left to deteriorate) is a big problem.
comment 1w ago · link · parent
And then I still discover pesky little things once in a while, but it seems like there's always a Linux solution. My main hobby, playing music, makes minimal use of a computer, just for moving files around and watching YouTube videos. My other hobbies, electronics and programming, already lend themselves to Linux better than Windows anyway.
I thought my son would be impressed, but he had already switched to Mac.
comment 1w ago · link · parent
You can take the instruction set of a simple microprocessor, and lay out its instruction set in a tabular format. This made it relatively easy to see the correspondence between an instruction in assembly language and its numerical code.
Handy "reference cards" were published for looking up the codes, printed on nice thick plastic. You can find these in a google image search for your favorite micro. I got by with a photocopy. Along with that, a programmer would have their own notes and diagrams taped to the walls for quick reference. Machines were simple enough that you really could have all of the vital information available at a glance.
Today, the "datasheet" for a sophisticated 32 bit microcontroller is many thousands of pages.
Microprocessors had relatively few transistors by today's standards, so the instruction decode logic had to be simple. Logical, if I may say so. This resulted in being able to describe operators and their operands as blocks of bits in an instruction word.
I arrived late enough in the game that personal computers already existed, yet I got myself started by hand assembling for the microprocessor circuits that I brought up from scratch.
comment 1w ago · link · parent
Today, many systems are automated. The bureaucrats have shifted from manual processing of normal cases, to handling edge cases and failure modes, of which there are still many. Among other things, there has been an explosion of academic fields, convoluted degree requirements, and funding mechanisms.
There are some bright spots. In my state, all of the state colleges now have the same entrance requirements, same degree requirements, and so forth. The community colleges are integrated with the 4-year schools so students can start at one and finish at another without losing credits.
The private schools are founded on being unique, meaning that each one has a bespoke set of rules that have to be navigated and administered.
comment 1w ago · link · parent
A data breach of 10 million records, times $10k per offense, might not deter Google, but it would raise the eyebrows of smaller violators. An industry of class action lawyers might emerge to specialize in those claims.
comment 1w ago · link · parent
I don't know if this is a perfectly fair of their business model, but it has that feel in terms of dealing with them.
comment 1w ago · link · parent
comment 1w ago · link · parent
Whereas many of the interventions mentioned in the article were seemingly logical but indirect: If we do A, it will cause people to behave B, resulting in C.
comment 2w ago · link · parent
When I bought my Scion, after finishing the transaction, I asked the salesman: "It's obvious who these cars are being marketed to. But who buys them?"
His answer: "Old tightwads like you."
comment 2w ago · link · parent
I've had a couple of RPI's running as home file servers for well over a decade with the only reboots being due to power failures. But today, the cost sensitive option would be a refurbished mini-PC.
comment 2w ago · link · parent
My graduate advisor had Microsoft FORTRAN, and I tried it out. It was a monstrosity. The compiler and linker had to be on separate floppies, and took eons. My advisor admitted that he had largely switched to BASIC.