331 karma · joined Dec 9, 2024 (1y ago) · 286 submissions
comment 2w ago · link · parent
I believe the demand for this was to visualize attributes on a map by coloring polygons, and the dataset was addresses that already had zip codes.
(Please stop coloring polygons by attribute: it gives false impressions because areas are unequal. Instead, use a scale of dot density. Or marker size, which has its own perceptual issues.)
However misguided, coloring zip code polygons gives you things like maps of customer data. But you could just as well geocode each address and assign it to a county or other boundary. (news flash: the geocoding database is derived from the same line data as the ZIP code project.)
comment 5mo ago · link · parent
In Karl Guttag's recent talk on the 34010 (VCFSW YouTube channel) he mentions being contacted by Bloomberg for their multi-up terminal. When it shipped in the early 90s, it was the first dual display system I'd seen. Wall Street later began buying 4-display Matrox cards.
comment 5mo ago · link · parent
In my grade school years, I made many maps of my imaginary world. By high school, I was putting them into my computer, one 16x16 grid at a time. Had to make sure the edges matched up. Then I wrote code to print them on the Epson MX-80 dot matrix. The poster-board I tiled them on was still in the basement, though many of the squares were falling off.
It was easier after I coded a moving 64x64 buffer.
comment 5mo ago · link · parent
bool getSchemaSizes(size_t * expectedBatchSize, size_t * expectedEntriesPerBlock) { ... }
size_t expectedEntriesPerBlock, expectedBatchSize;
getSchemaSizes(&expectedEntriesPerBlock, &expectedBatchSize)
initBloomFilter(expectedEntriesPerBlock)
comment 5mo ago · link · parent
I'm sure you've never made a silly mistake where you passed the wrong integer parameter to a function, stared at your screen, and failed to notice it. Or, forgot the order of arguments to calloc().
If you're saying that profiling is for those too lazy to reason about their code, you're distorting the whole lesson: profiling is more powerful than guessing.
comment 6mo ago · link · parent
comment 6mo ago · link · parent
Drought and fire are two natural factors that destroy their migration routes’ food supply. Another is agriculture.
Folks like Monarch Watch and Xerces encourage planting of the few milkwood species (ie weeds) that the butterflies depend on for energy or egg-laying.
Restoring prairie is also effective. But there’s still drought and wildfire.
comment 6mo ago · link · parent
I might do what you said, column sensitive. A first-pass assembler which does spell checking and makes the corrections. M0V is a single replacement on MOV, MOV8 is closest to MOVB. For registered, R Oh must be R zero. But R Oh will be valid as a symbol name (curse your poor choice of symbol name). Alas, R1 is defined in the symbol table as a mnemonic for 1.
This idiom occurs in TMS9900 assembly (of which I have 2100+ pages to scan)
Indexed addressing into caller's register file: MOV @R1*2(R13),R0
Where R1 is 1, a small offset in #words so the operand is pointer to the word after where R13 points. Yet @RI(R13) is valid if RI is in the symbol table.
So there has to be some heuristic that starts at "is RI a defined symbol?" "Can a symbol be used in this context?" Yes/Nope: it is probably R1.
And R11 is used a lot.
Same curse on people who used I as a counter variable in type-in programs. Countless folks typed it as a 1 in expressions before magazines got better fonts.
comment 6mo ago · link · parent
They make a strategic investment in the DRAM maker. It's the same idea as buying an equity stake or entering a JV with a flat-panel maker. Or deploying cash to provide the latest EUV tooling to TSMC.
Large famous-brand computer maker has no expertise in running a fab.
I could punch holes in this idea right away. But it seems better than "tilting up your own fab".
comment 6mo ago · link · parent
I've got a 4" stack of wide-carriage COBOL. I guess it's two revisions of the same system so I only need to scan the newer half. Its probably from a TI Omni 810.
On the other hand, I've got 100 pages of code printed in compressed font by someone wanting to make sure that 80+ char lines fit within margins. So a lot of words just don't come out at all. A frequent error is "A" becomes "H", "O" becomes "U" because the top dots aren't "attached".
And columns of line numbers starting with 0001, or hex? The most confounding thing is OCR that thinks 00 is a sideways 8, and that dominates the uniform block, so it tries to interpret the whole column as sideways text. In another situation, it interprets two stacked lines (each starting with 0) as one line starting with 8 and it just goes off the rails.
So I've been working with automatic skew correction, then clipping it into rows, in order to get each line of text isolated from the surrounding context. When I do that, I get better results, but it is not great either.
I'm considering going all-in on training a new recognizer on snippets. For that, I'll be constructing "The Set of All As" and so on.
comment 6mo ago · link · parent
Hassenpfeffer sounds like a play on Harnischfegger, a maker of heavy construction equipment in Milwaukee.
Trivia: One of Henry Harnischfeger’s customers was Pabst Brewing Co.
Harnischfeger ran itself into the ground in the 90s. I worked in their headquarters for more than a decade. That building is prime real estate and became an FBI office.