Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
spc476
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
61.
▲
by
spc476
2y ago
You can drop the last line---make already knows the incantations to compile a C file.
62.
▲
by
spc476
2y ago
"Neither slavery nor involuntary servitude, except as a punishment for crime whereof the party have been duly convicted, shall exist within the United States, or any place subject to their jurisdiction." -- U.S. Constitution, Amen
63.
▲
by
spc476
2y ago
It would probably work for a Coco3, as the Color BASIC and Extended Color BASIC ROMS didn't change much (there was an additional ROM to support the extra graphics modes).
64.
▲
by
spc476
2y ago
If you are on Firefox, you can select "View->Page Style->No Style" for easier reading in this case.
65.
▲
by
spc476
2y ago
The 8086 was released in '78 (or thereabouts). 64K of RAM was very expensive at the time, and wasting 256 bytes just to align segments would have been extravagant. Also, the 8086 was meant as a stop-gap product until the Intel 432 wa
66.
▲
by
spc476
2y ago
I don't think Dreamweaver was "too complicated" [1] and I recall seeing tons of sites in the 90s, some managed by hand, some by program (whether custom written or commercial). Yes, that might have been early adapters of tech
67.
▲
by
spc476
2y ago
We've forgotten. Back in the mid-90s, most ISPs gave space to users to host a website. There were produts like Dreamweaver and (although I hate mentioning it) Microsoft FrontPage that provided WYSIWYG editing of HTML and used FTP to u
68.
▲
by
spc476
2y ago
I wrote my own 6809 assembler [1] largely just because, and I ended up adding a 6809 emulator to it, so I can run tests during the assembly phase. I'm only aware of one other assembler (a 6502 one) that can do this. It's a fun p
69.
▲
by
spc476
2y ago
The first link is to the MC6839, which is covered already in the blog post. The second link is the Lennart Beschop's floating point routines, which is what the post is about. > ROM of MO6/TO7 Do you mean the MC6839 here? Or s
70.
▲
by
spc476
2y ago
It hurts less if you think of it like assignment: al = [rsi] [rdi] = al
71.
▲
by
spc476
2y ago
First off, the assembler is for a Motorola 6809, which is not a 6502. Second, one benchmark result I found [1] showed it being a bit slower than some alternatives. [1] https://www.callapple.org/programming/sane-progr
72.
▲
by
spc476
2y ago
My first experience with computers was 45 years ago, and a "byte" back then was defined as an 8-bit quantity. And in the intervening 45 years, I've never come across a different meaning for "byte". I'll ask f
73.
▲
by
spc476
2y ago
Some idiomatic C code to copy a string (I'm not saying this is good C code, but it's just an example): while(*d++ = *s++) ; On the Motorola 68000 (based somewhat on the PDP-11) the code would look like: loop:
74.
▲
by
spc476
2y ago
C++ programmers decided against NULL, and for well over a decade, recommended using a plain 0. It was only recently that they came up with a new name: nullptr. Sigh.
75.
▲
by
spc476
2y ago
Not quite. Going back to the bottling example, a bottle has to be filled, capped, then labeled. At time 1, 1 bottle is filling up, pipeline is advanced. At time 2, bottle 2 is filling up, bottle 1 is being capped, pipeline is advanced.
76.
▲
by
spc476
2y ago
My blog [1] is mostly dynamic (only static pages are the main index.html page and the various feed files) and uses a simple template based system, and each entry is a separate file. The engine [2] also supports adding new entries via POST
77.
▲
by
spc476
2y ago
But you had a theory you could test. The hardest bug I had to debug (over a month of constant work) was very difficult to reproduce on demand. The program (a single threaded server) would crash after running a few hours in production. I
78.
▲
by
spc476
2y ago
That's for GNU make, not POSIX make [1]. For some people, they either won't, or can't, use GNU make. [1] https://pubs.opengroup.org/onlinepubs/9799919799/utilities/m...
79.
▲
by
spc476
2y ago
That's for GNU make, not POSIX make [1]. For some people, they either won't, or can't, use GNU make. [1] https://pubs.opengroup.org/onlinepubs/9799919799/utilities/m...
80.
▲
by
spc476
2y ago
Please talk to security. My machine is locked down so tight I need a director (or higher) override to get anything not in the default distribution or "blessed" by security installed, and I can't even be the one to install it
81.
▲
by
spc476
2y ago
As a developer, I've had to tell "ops" how syslog() works. Also, as a developer, I've had "ops" bitch because we had different config files for the service. Yes, because the service is geographically redunda
82.
▲
by
spc476
2y ago
Could not your friend (or you) use Copilot or ChatGPT for such code?
83.
▲
by
spc476
2y ago
I wrote a DNS parser [1], and I gave up trying to decode every RR type. I've mostly stuck to the non-crypto records, and while I have support for a number of obsolete and experimental record types, it was easy to parse them as a lot o
84.
▲
by
spc476
2y ago
One, CGI scripts are run as a separate process, so running valgrind on the web server won't get status about the CGI program. Two, it would probably generate a ton of output not related to the CGI program even if it did work. Three,
85.
▲
by
spc476
2y ago
Some of that is on Alan Kay because it took him twenty years to realize people couldn't read his mind on the proper definition of "object oriented."
86.
▲
by
spc476
2y ago
I learned early on to automate the test system. It went from a 30-minute setup to run a 5-hour test (which I wrote) to one command that took maybe a minute to run all tests (which I also wrote, and by the end, you could specify just what t
87.
▲
by
spc476
2y ago
I'm not mempko, but I can answer that question---yes. For over a decade on the same code base with a team that ranged from 3 to 7 over the years. We did have what would be considered end-to-end tests, or maybe integration tests that
88.
▲
by
spc476
2y ago
My blogging engine [1] is almost 25 years old now. Have I rewritten it? If by "rewritten" you mean "from scratch", then no. I haven't. It has , however, seen several serious workings and refactorings over the ye
89.
▲
by
spc476
2y ago
At my previous job, prior to new management (we got bought out), my team worked closely with QA during the development process---they would get daily, often times, more than daily, builds of our project and so by the time it got to the stag
90.
▲
by
spc476
2y ago
Back when most writers used typewriters, the convention was to use the underscore to mark text that was to be italicized. And because they were using typewriters, they would backspace to the first letter of a word or phrase, then type the
More ›