Better HN
topnewbestaskshowjobs
Log inSign up

CyLith

137 karma · joined Aug 25, 2023 (3y ago) · 53 submissions

Redneck computational electromagnetics simulation software engineer.

http://victorliu.info

Submissions

comment 6mo ago · link · parent

Yes. I see the 6 and I think: pretty tall, just a bit taller than me as a baseline. Then the 3 indicates another bit more. At no point am I adding the quantities to achieve a total. It’s two pieces of information in something akin to a binary search.

I do woodworking and framing and approach is similar. Measure out to 6 feet first, then move out 3 inches more. It’s iterative refinement. To measure lengths I always do a few bisections like 3 feet, 2 inches, and 3/4 plus a sixteenth. I can remember a sequence of 3 or 4 integers for about a minute, long enough to transfer the measurement. Give me something like 135mm, and I’ll forget in a few seconds.

comment 6mo ago · link · parent

I strive for a “simple” lifestyle not because I believe it will be enjoyable. Quite the opposite. A simple lifestyle is much more laborious, arduous, and mentally taxing in terms of all the minutiae I need to worry about to achieve even modest levels of comfort. E.g. Do I have enough wood stored for the winter?

I strive for a simple life because it gives meaning to life, and a connection to the earth and other living things. It keeps me resilient in the face of hardship and less reliant on other people. It also provides a connection to the past and our heritage.

comment 6mo ago · link · parent

Because I don't want to deal with a hundred of anything, and I don't want to deal with decimal points. I want everything I measure to be near single digit numbers. Hence, inches for common dimensions like a "2x4". I can handle something being 5 1/4 inches. How the hell large is 133 mm? Humans are not good at intuiting numbers far from unity.

Miles are great. The typical highway speed limit is about a mile a minute. You can easily lower bound how long it will take to get somewhere if you know how far it is in miles.

In cooking, I often need to halve quantities in recipes, hence pounds and ounces. Watching cooking channels give metric quantities is absolutely baffling to me. You see things like 175 mL. That is 2 sigfigs too many.

comment 7mo ago · link · parent

This is really neat, and I think I can use it in some of my projects as a simple front end to physical simulation tools. One question I have: do you have true 3D bindings? I see there is ImPlot3D, but right now I need to render meshes in OpenGL (or WebGL as the case will be). Is there a way for me to define shaders and feed it triangle soup?

comment 7mo ago · link · parent

This is the single reason I have not upgraded from OS 12.x. Postscript is key to many of my workflows.

comment 7mo ago · link · parent

Yes

comment 8mo ago · link · parent

And anyone implementing numerical algorithms is thankful for the tremendous amount of thought put into the fp spec. The complexity is worth it and makes the code much safer.

comment 8mo ago · link · parent

Perhaps the solution is to rethink the role of the fridge in the kitchen. It could be designed to be a part of a kitchen island, or have cabinets placed above it. In conventional kitchens, a chest does not make sense. But it could be well integrated if we start with the assumptions the fridge will be a chest.

comment 9mo ago · link · parent

My house is plastered, and it is substantially more soundproofed than drywalled houses in the neighborhood. It is not a function of the construction method, since my house is stick framed just like my neighbors.

comment 9mo ago · link · parent

Perhaps he should reflect on why they deserve this violence, instead of giving people more reason for violence against him.

comment 10mo ago · link · parent

I have had a similar experience; my preferred material to work with is wood. However, as I got more into tinkering with electronics and vintage computing, I'm finding more instances where wood does not achieve sufficient strength-to-weight ratio, especially for small parts where wood grain and anisotropy becomes a significant factor to consider.

comment 10mo ago · link · parent

I was in the room and personally witnessed that. It definitely changed my opinion of him and not in a good way.

comment 10mo ago · link · parent

My extremely out of date never updated site: http://victorliu.info

My also out of date but slightly less so page: https://victorliu.neocities.org

Maybe now I will be inspired to actually update these.

comment 12mo ago · link · parent

When sorting eigenpairs of a dense matrix, usually tou end up with a Schur decomposition. The basic operation that you can do is swap two adjacent eigenvalues on the diagonal, so bubblesort is a natural candidate.

comment 1y ago · link · parent

We are constantly losing technology as the treadmill of technological progress continues. Casette tapes, CRT displays, and perhaps photographic film are some examples. One can argue that there are "strictly better" technologies available now, but there are always niche cases where the new and obsolete technology are not quite fungible. What if for some reason a modern industry gets wiped out? Then we'd have to revisit the lost art.

As an immediate example, my wife's business needs p-channel small signal JFETs. These apparently are no longer fabricated, and with the way the semiconductor industry moves, they are likely never coming back in any appreciable quantity. So once the world's supply of obsoleted semiconductors dries up, the technology will basically be lost.

comment 1y ago · link · parent

I don't understand why you believe Banach-Tarski to be obviously false. All that BT tells me is that matter is not modeled by a continuum since matter is composed of discrete atoms. This says nothing of the falsity of BT or the continuum.

comment 1y ago · link · parent

> Everyone ... outside of China is forgetting and losing capabilities.

To me this is the fundamental problem with the notion of intellectual property and its protection: so much of it is trade secret and undocumented (let's be real, we disclose as little in patents as we can get away with). Companies come and go, and in the process, institutional knowledge of how to do things is lost because there is no incentive to make it public for others to replicate. This also means that once lost, it must be rediscovered later.

comment 1y ago · link · parent

The library only solves up to cubic equations, and the comments have a link to the following page: https://momentsingraphics.de/CubicRoots.html

For general polynomials, it matters a great deal in what basis it is represented. The typical monomial basis is usually not the best from a numerical standpoint. I am aware of some modern methods such as this: https://arxiv.org/pdf/1611.02435

For polynomials expressed in e.g. a Bernstein basis, there are often much faster and stable tailored methods working solving for the eigenvalues of a companion matrix of a different form.

comment 1y ago · link · parent

Speak for yourself. Some of us see the difficulty in sustaining and maintaining this fragile technology stack and have decided to do something about it. I may not be able to do all those things but it is worth learning, since there really is no downside for someone who enjoys learning. I am tackling farming and cpu design at the moment and it is tremendously fun.

comment 1y ago · link · parent

Why should it be scalable. I’m fine with forcing things to not be scalable. Let products be word of mouth in local communities first.

comment 1y ago · link · parent

As far as CO2 alone is concerned, that is true. The issue is that if you burn a fire cleanly, you (ideally) produce only CO2. If you burn the fire poorly, you produce less CO2 per se, and a _lot_ more particulates, which is bad for air quality. On burn days, the sky is noticeably smoggier all throughout the mountains, and the sunsets are tinted red. I imagine this would have the effect of trapping in daytime heat similarly to how cloudy nights after sunny days are warmer. And since pile burning generally happens during the day, we get an amplified greenhouse effect up here.

comment 1y ago · link · parent

I think that is only a partly correct way to think about it. I live up in the Sierra foothills in a very rural area, and based on what I see, I think the effects of wildfires are indeed negating climate policy. Allow me to explain.

For people who have never lived in an area that is both rural and wildfire prone, pile burning to eliminate yard waste is an activity that is entirely foreign. You see, out here, most people believe that the primary method of eliminating yard waste is by burning it in a pile. I happen to live in town where there is trash pickup service available, but I opt to simply take stuff to the dump myself. Most people don't want to pay or don't have such service available. Burning yard waste is almost always extremely polluting. One burn pile full of leaves and pine needles can often smoke out my entire town. Fortunately, pile burning is only allowed on certain days (when the weather is such that wildfire risk is reduced). That is not to say that pile burning is always so bad; it has to be done properly. If the pile is hot enough, there is little smoke. But most people do not burn them hot enough with enough long-burning materials (i.e. wood).

So why did I bring this up, since a wildfire is just this on a massive scale? Well, I do not personally believe that properly managed fuel management would result in as much smoke and particulate pollution, for two reasons. One, indigenous peoples here used to regularly set fire to the forest to manage the fuel load. This was done regularly enough that there simply wasn't as much material to burn, and done when weather was cooperative (e.g. before rains). A modern wildfire can burn with such ferocity that most trees end up burning, instead of just the undergrowth. This represents a much greater release of long-captured CO2. And second, there is now a culture of placing responsibility on individual residents to maintain "defensible space", asking them to perform pile burning regularly. As I mentioned above, this results in what feels like disproportionately dense particulate pollution, with annoying regularity throughout the cooler times of year.

comment 2y ago · link · parent

I don’t think this is true. I live in the middle of nowhere, but there are homes an hour out further in nowhereness with addresses that I cannot imagine could ever receive mail. Those people all have PO boxes in town.
12