Better HN
topnewbestaskshowjobs
Log inSign up

analog31

21,957 karma · joined Jul 14, 2013 (13y ago) · 8,979 submissions

Physicist, computer & electronics enthusiast, musician.

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.

Submissions

comment 19h ago · link · parent

Time slows down the closer you get to the event horizzzz.............

comment 1d ago · link · parent

We've got to build the ballroom. We don't want to have a ballroom gap.

comment 1d ago · link · parent

No offense taken at all. What I realized at some point is that I really didn't want to do software development, and am at a place where I have the luxury of saying that the professional devs will take my ball of crap and turn it into something that they can ship. The ball of crap only has to express and test the theory of operation well enough to guide actual product development.

comment 2d ago · link · parent

Take this from a rank amateur "scientific" programmer. I write functions with maybe a half dozen lines, then I piece them together. Sometimes my programs work, sometimes they don't, and I fix them. I've done it this way since I first learned Pascal 40+ years ago. I'm not allowed to touch production code, so don't panic.

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

>>> There's simply a lot more high-level work to be done than low-level work.

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

Get a good soldering iron and oscilloscope. If you're older, a microscope helps a lot.

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

My mom taught high school chemistry, and when she got her job, she moved into a lab where she did find things in this state. Notably, bottles of certain kinds of ether can form crystals that are prone to detonation.

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

Browse some of his "things I will not work with" articles, to get a flavor or for sheer entertainment. I think he's set the standard for all others to follow in science blogging. But I think he does assume a little bit of conversance in chemistry.

comment 3d ago · link · parent

My take from the article is that moving the material is what will cause it to detonate.

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

It took me several months of extremely sporadic effort, but it did finally happen. The first big effort was just proving to myself that I could move my entire business over to Linux. The final thing was the archaic spreadsheet that I used for generating serial numbers from a Dymo label printer. That's now a Python script, and the labels print just fine.

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

Well, considering that geometry is actually algebra...

jk

comment 1w ago · link · parent

Indeed, the maddening thing about chemistry for me was having to remember all of the exceptions to the rules. I stuck with physics instead.

comment 1w ago · link · parent

I don't think we passed a global ban on nuclear weapons or land mines.

comment 1w ago · link · parent

Living in a town with a sizable turkey population, they're also utterly oblivious to car traffic when they're in the middle of the road. It's interesting that they're smart about some things, and stupid about others.

comment 1w ago · link · parent

It's a great example of a negative feedback system having an oscillatory solution without the right damping applied. And it's pi out of phase in the southern hemisphere.

comment 1w ago · link · parent

Since I learned to write machine code this way, I'll add a little bit of color.

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

More written material is expected. Consider as a data point the length of dissertations. In the 1950s (my parents) they were about 50 pages. In my generation (early 90s), 250+ pages. I've heard that they've grown even further.

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

I see the point. My misgiving is that jail time means the government can just refrain from enforcing it because the leaders have found favor with one another.

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

Jamming is illegal already.

comment 1w ago · link · parent

Possession of the data has to be illegal, enforced through statutory civil damages.

comment 1w ago · link · parent

Indeed and it also occurred to me that metal and wood don't mix in a machine shop because of the different needs for lubrication and cleaning.

comment 1w ago · link · parent

The waste is letting the machine sit idle and paying interest on it. We now have the equivalent of Uber for CNC, with services such as Xometry. You send in your drawings, and the supplier farms them out to any shop that has idle capacity. This is convenient for the customer if we don't know precisely which shop has the right machine for the job (e.g., laser cutting, milling, 3d-printing, etc).

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

On the bright side, so much work got done today.

comment 1w ago · link · parent

I'm a jazz bassist, and I'm not surprised. There are notes that you typically play in certain positions, only because your hand was already in that position for another note. And even as a fluent sight-reader, I make my way around the fingerboard by a combination of note names, anticipation of familiar patterns and dumb luck. Plus, if I see a note on the page, I can often play it before I can name it, because those are different mental circuits.

comment 1w ago · link · parent

One feature of this intervention was that it directly coerced the behavior that was their desired outcome, with the threat of stricter enforcement.

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 Toyota first introduced the Scion marque in 2003, it had one primary goal – sell cars to the younger generation.

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

For a long time, this was the pivot point between a microcontroller and a bigger machine: Does it need to run an OS?

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

This is a business lesson that most competent CEOs are intuitively aware of.

comment 2w ago · link · parent

Fun anecdote: When I was in college, my dad read an article in the Wall Street Journal about Turbo Pascal, so he bought me a copy for my birthday. That was version 1. I stuck with TP through grad school and a little bit beyond. It seemed like there wasn't anything it couldn't do. Some of my hardware hacking adventures even required inline assembly. Some of the version bumps were really timely, such as a new compiler that created stand-alone executables. I was extremely lucky that the original TP ran on my non-PC-compatible MS-DOS machine, a Sanyo MBC550.

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.

12345
300