Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
spc476
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
121.
▲
by
spc476
2y ago
At my previous job, I calculated that over the last year I worked there, I wrote 80 lines of non-test, production code. 80. About one line per 3-4 days of work. I think I could have retyped all the code I wrote that year in less than an
122.
▲
by
spc476
2y ago
The Kennedy Space Center is on the east coast of Florida. The house was on the west coast of Florida. And they're about 180 miles (290 km) apart. I guess from the point of view of space, they're not very far, but from someone l
123.
▲
by
spc476
3y ago
Well, there's also the fact that the MC68000 in the original Mac didn't have an MMU, and it was difficult to add an external MMU to a 68000 system [1]. You could use an MMU sanely starting with the MC68010, and it wasn't unt
124.
▲
by
spc476
3y ago
The IBM PCjr also had sidecars. I had a PCjr as a kid with two memory sidecards, and a parallel port sidecar. And yes, it did make the computer wide.
125.
▲
by
spc476
3y ago
Could you spend some effort to explain the reason then?
126.
▲
by
spc476
3y ago
Someone compiling C code (where this is defined and NOT UB) with a C++ compiler (where is IS UB). I think using a C++ compiler on C code is a mistake, but not everyone shares my opinion.
127.
▲
by
spc476
3y ago
It could be one instruction: ENTER N,0 (where N is the amount of stack space to reserve for locals)---this is the same as: PUSH EBP MOV ESP,ESP SUB SP,N (I don't recall if ENTER is x86-64 or not). But even with this
128.
▲
by
spc476
3y ago
I put a train engine in my D&D campaign, the Santa Fe. The paladin asked for a translation of the text on the side, and the wizard cast the "Read Language" spell. I actually looked up the meaning of Santa Fe, which is "
129.
▲
by
spc476
3y ago
My girlfriend as the Libre 3, and she has both the cell phone app, and a stand alone unit to store results. You can only use one or the other, not both at the same time (the Libre 3 uses Bluetooth). We have the stand alone unit because of
130.
▲
by
spc476
3y ago
My girlfriend uses the Libre 3 and I was wondering how it worked with just that plastic filament. She doesn't feel it at all when I apply it. We found that if she washes the area with soap and then just relaxes her arm and lets it ha
131.
▲
by
spc476
3y ago
It won't be long until Nine Inch Nails starts playing at nursing homes.
132.
▲
by
spc476
3y ago
When I was in high school [1] students were given a rule book on the first day of school each year. It was always amusing to read the weapons rule: "No weapons are allowed, which include, but are not limited to ... " followed by
133.
▲
Aging Code
(vadimkravcenko.com)
1 points
by
spc476
3y ago
|
0 comments
134.
▲
by
spc476
3y ago
My blog [1] is still served up as a CGI program [2]. Never had a problem with it. [1] https://boston.conman.org/ [2] https://github.com/spc476/mod_blog
135.
▲
by
spc476
3y ago
It's the same as it ever was. I remember the same hand wringing about home ownership among Generation X in the mid-90s, and largely for the same reasons. This is nothing new.
136.
▲
by
spc476
3y ago
Oh God! It sounds dreadful to program on a ColdFire CPU. Some instructions I agree (CALLM), but the ROL/ROR instructions? ADD only applies to long words? Insane.
137.
▲
Dennis Ritchie on the priorities of && || vs. == etc. (1982)
(lysator.liu.se)
168 points
by
spc476
3y ago
|
171 comments
138.
▲
by
spc476
3y ago
The Motorola 68k series. A very nice 32-bit architecture that was fun to program. The downside, Motorola isn't making new ones, and I'm not sure who owns the property. Another nice 32-bit architecture was the VAX. It had the m
139.
▲
by
spc476
3y ago
You can even play it online: https://loderunnerwebgame.com/game/
140.
▲
by
spc476
3y ago
I'm checking the zlib changes file [1] and there are regular gaps of years between versions (but there are times where there are a few months between versions). zlib is a very stable library and I doubt the API has changed all that mu
141.
▲
by
spc476
3y ago
I don't know about POSIX make, but GNU make you can run "make -p -f/dev/null" to get a dump of all the built in rules it has. And if you don't want to run those, you can always use "make -r" to have
142.
▲
by
spc476
3y ago
How hard is it to use <abbr title="...">?
143.
▲
by
spc476
3y ago
> But tests as a way of preventing unknown issues seems dubious to me. True. At my previous job, I used a new C compiler [1] that revealed a bug due to undefined behavior [2]. It was a two-line fix, but my manager at the time refused t
144.
▲
by
spc476
3y ago
The fine article talks about that---there was Jewish resistance to the idea because they felt that the Sabbath was always the 7th day and that would get out of sync.
145.
▲
by
spc476
3y ago
Start at the hardware/IP layer. Easiest would be serial port for the hardware, and there are at least two methods of sending IP over serial, SLIP and PPP---there are documents out there that describe how those work. Then work on IP.
146.
▲
by
spc476
3y ago
I'm not following you here. Most systems (if not all) are byte-addressable 2's complement systems, and in a 2's complement system, you use the same instructions for math for both signed and unsigned integers. Compiler write
147.
▲
by
spc476
3y ago
Kind of. The 8088 can use an 8-bit wide ROM chip, while the 8086 would require two such ROM chips, one for the even addresses, one for the odd addresses, given that the 8086 has a 16-bit data path. The software on the ROM chips can be t
148.
▲
by
spc476
3y ago
I can see it as a bootstrap method. You attach a string to the inside end of the vine that moves forward, and it spools out as the vine "grows": ____________________ \ O=string============+ mov
149.
▲
by
spc476
3y ago
The IP, port and sequence numbers (which is basically a starting random number + number of bytes sent/received) of both sides of the connection, and this is maintained by both sides.
150.
▲
by
spc476
3y ago
It's not the retrying that's bad, but the hype, that this time, it'll be better! It's almost never better.
More ›