Better HN
topnewbestaskshowjobs
Log inSign up

ForOldHack

768 karma · joined Jan 28, 2019 (7y ago) · 1,136 submissions

https://gunkies.org/wiki/User:ForOldHack Thank you for laughing at my jokes. I have given lectures in OMG. Orbital Mechanics Group, and Calculus, "Misuses of Infinity"
Submissions

comment 1y ago · link · parent

The 'B' compiler was written in TMG-Compiler-Compiler. TMG (Transmogrifier)

https://github.com/amakukha/tmg

https://news.ycombinator.com/item?id=26722097

""Douglas McIlroy ported TMG to an early version of Unix. According to Ken Thompson, McIlroy wrote TMG in TMG on a piece of paper and "decided to give his piece of paper his piece of paper," hand-compiling assembly language that he entered and assembled on Thompson's Unix system running on PDP-7."

We are not worthy, friends. We are not worthy."

Tons of info, but not much source:

"The first B compiler was written by Ken Thompson in the TMG language around 1969. Thompson initially used the TMG compiler to create a version of B for the PDP-7 minicomputer, which generated threaded code. The B compiler was later rewritten in BCPL and cross-compiled on a GE 635 mainframe to produce object code, which was then re-written in B itself to create a self-hosting compiler. "

So... a B compiler would use GE 635/Multics as a OS.

comment 1y ago · link · parent

3 cards. CPU/Memory and communications cards.

comment 1y ago · link · parent

Details: The IBM AT/370 used standard bios on the motherboard, and the two 68k custom cards had their own bioses. The 68ks were very heavily modified by one of the motorola engineers.

Its the second version of the AT Bios that was disgusting was verion 2, that ran on 6mhz 286s and prevented you from swapping the crystal for a 16Mhz/8Mhz speed up. The first version had bugs, and the third version was for the 8Mhz machines. ( still a few bugs ).

This is the AT/370:

https://en.wikipedia.org/wiki/PC-based_IBM_mainframe-compati...

https://www.cpushack.com/2013/03/22/cpu-of-the-day-ibm-micro...

https://anycpu.org/forum/viewtopic.php?f=22&t=350

There was one additional model of the IBM AT: THE IBM XT/286: An AT class mother board in an XT sized case.

https://www.dosdays.co.uk/computers/IBM%20PC-XT-286%20(5162)...

comment 1y ago · link · parent

If you had single sided disks for an Apple ][, and wanted to make them flippy, then you punched another notch, and hole, and then formatted it 4 times, and then cleaned your recording head. Make a whole bunch of them.

Ill get back to you about the DEC floppies.

comment 1y ago · link · parent

My Editor VSCode has the Hex editor installed, always... invisible unicode? Not to Hex. What? are you doing without Hex mode? What?

comment 1y ago · link · parent

The paarts ( long a ), folling of this car, are of the finest German Worksmanship.

comment 1y ago · link · parent

"your credit card terminal might be the gateway to your entire customer database."

That is not the way it works now. The standard is 4 levels of encryption, most have 8. Multiple sign-offs for every single code change.

Your credit card terminal is a gateway to the signtors transaction database, last transaction, balance, current transaction. Every single code path is mapped out meticulously, at least on the most popular ones, and crypto keys are not padded like the very cheap ones.

comment 1y ago · link · parent

Both, If you need to upgrade the firmware often, have a switch on the front of the case, like everything physical access needs to be the barrier.

comment 1y ago · link · parent

I get more done by writing the stupid code, and fixing it, than junking the old code... but every now and then I can see clearly a structure for a rewrite, and then I rewrite, but its rare.

comment 1y ago · link · parent

There are also people telling you the earth is flat, and 30 years of experience can be compressed into a 4 minute you tube video. Even if a chisel could spy on me, it becomes dull with use, where as AI may become sharper with use, it still cannot distinguish which idiot is operating it. AI is just for people to learn prompting, which is an art, like google searching. It still cannot fathom "taste." or a large host of other types of nuances, that again, only come with experience and enculturation.

comment 1y ago · link · parent

You are the master of understatement. I just spent 5+ Hours getting an emulator to just work. back and forth with the AI required me to be cognizant of the direction I was going, very cognizant. After It finally worked... the clean up was huge. at least 15 broken images, 100s of scratch files.

comment 1y ago · link · parent

"An sNaN (signaling Not-a-Number) is a special floating-point value that is designed to trigger a hardware trap or exception when it is used in an arithmetic operation. This differs from a qNaN (quiet Not-a-Number), which propagates through calculations without causing an immediate exception. Handling sNaNs requires a more deliberate approach that involves enabling floating-point traps and writing a custom trap handler."

Just learned something. Thanks.

comment 1y ago · link · parent

The trick is to get your ALUs to do some of the math for you. Oh I miss the days of the 68020 fast barrel shifter and the 68030 byte smears. Tricky stuff lost to the silicon/sands of time.

comment 1y ago · link · parent

Compromises. We had BCD for finance, binary for games, and floating point for math. I wrote a sample 'make change' using floating, BCD, and integer( normalizing by multiplying by 100). The integer ripped thru it, but surprisingly BCD kept up with FP, and with compiler optimizations, in certain edge cases and unit tests was significantly faster.

You get surprising things with common place problems.

comment 1y ago · link · parent

So as the sum grows with the square, the error function grows in the same magnitude. A very interesting excersise. I'll get an AI to choke and puke on that.

comment 1y ago · link · parent

I seriously do NOT want the two plus hours back I spent diddling ( 1 bit not ) all those bits. I first learned it in binary on an HP, and then had to learn it on an IBM mainframe, and then got an 8087, and it was so incredibly fast, but error crept in for Fourier transforms. Started using extended double to keep the errors at bay. Hilbert spaces here we came.

The killer app was not Lotus 1-2-3 v2, but Turbo Pascal w/ 8087 support. It screamed through tensors and 3D spaces, places we only saw on plotters.

It was not until I got a G3 and used Graphing calculator that I could explore sombrero functions of increasing frequency.

Floating point math is essential, not an option.

comment 1y ago · link · parent

Maybe, but I don't know. Although I would like to channel as many snarky remarks as I could, to be more constructive, I would use the IDK model, as I have with programming questions and use the psychotic one for questions like "are we in a simulation?" And "Yes, I would like fries with that and a large orange drink."

comment 1y ago · link · parent

I wish I still had my Mac Plus. Upgraded from a 512Ke, 40Mb drive, and a Radius 020 accelerator with 68881. Still limited to 4Mb, And I ran 7.0.1 and 6.0.8. Any testing with The two screen panning programs? Stepping out II? I played Spaceward Ho! to death on it.

comment 1y ago · link · parent

Prison labor = Slavery.

comment 1y ago · link · parent

Bush threatened the Taliban, and they responded. How many is donald threatening?

The modern context is we have gone from a benevolent nation to a blidgerent nation. Not really progress. But the context is decisive.

comment 1y ago · link · parent

Insanity...

comment 1y ago · link · parent

It is so well preserved, because those who were liberated from it, were so horrified at what they witnesses, that they did not want anyone to forget. It was a herculean effort, many wanted to bury it,because of the pain, and many more wanted to bury it, like it never happened.

A personal salute to all those who fought to preserve it.

There is a great video on the Poles who worked to preserve it. A lot of it is ... Unspeakable.

comment 1y ago · link · parent

You should see the code they crank out. All rated in characters per second/lines of code. And now with AI? Super crap. Ultra processed sterilized caca del Toro.

comment 1y ago · link · parent

12 hours max then the crash of undecipjerable gibberish. See? Your brain requires rest. My 12 hours days had two naps. While the rest of the team did not, in only a month, everyone but me literally crashed and burned...the first clue was them not finishing sentences. Next was searching for words, and then the pause while they stare off into space. All the Facebook prison experiment.

comment 1y ago · link · parent

Crunch time for companies? Making billions? Hire more staff. A lack of planning on your part, does not constute an emergency on my part. The jackpot payday helped, but not by much. I worked from 10 til 10 6 days a week, and the product still stunk in ice.

comment 1y ago · link · parent

BART is dual track around the entire system, except for side yard entrances. I have seen stopped trains, and it was worked around. One I was on caught fire I. The middle of a station and it did not close the line. It slowed it down a lot but did not stop. There are so many systems in place, it's a quite complex system.

The real heros? The bus drivers. The baddies? The planners, the management. The evil? Pure unadulterated evil? The AC Transit app. I would give it a -11.

comment 1y ago · link · parent

Except, as always bureaucratic pay raises.

comment 1y ago · link · parent

They did. They started before yesterday's shutdown, and worked all night, they tried to bring up the system for startup, and it came up, then crashed.

It was state of the art on 1962 when it was designed, and remained state of the art until the 1980s, when the signal system started breaking down, and the the late 80s upgrade which had a train presence glitch, which caused almost all the system to get resignaled.

So by the 2000s again it's showing its age, and they got a 32 processor zSeries mainframe.

Brake problem last week, and the this on Friday? Now it's getting like New York, even more. Whatsmatteryou?

comment 1y ago · link · parent

Wait... (Obligatory) Did they forget to mount a scratch monkey?

comment 1y ago · link · parent

Exactly what Tesla first did. Well, they a first did not have an existing ICE vehicle and based the styling off a Lotus Elise sports car.
1
678
38