Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
spc476
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
27 ms
·
301.
▲
by
spc476
4y ago
The 8086 was not object compatible with the 8080, but one could "assemble" 8080 code (or even Z80 code) into 8086 with an automated process. It might not be optimal code, but it would get a working application up and running rath
302.
▲
by
spc476
4y ago
And a literal translation of that would be "Middle Kingdom." So if the Middle Kingdom wants to call itself "Middle Kingdom," why not?
303.
▲
by
spc476
4y ago
Not everywhere. In Terminal, the letters just repeat.
304.
▲
by
spc476
4y ago
I think the 16-bit computers could be understood as well---the original Mac, Atari ST, Amiga and IBM PC [1]. I have the IBM technical manuals for the IBM PC (XT I think? Maybe AT?) and the IBM PCjr and they are complete, with BIOS listing
305.
▲
by
spc476
4y ago
Specifically, it was designed on the ADM3A keyboard, which had the arrows printed on the H, J, K and L keys. Also of note is the key in the upper right, which is labeled with "HOME", ~ and ^ (which explains why shells use "~
306.
▲
by
spc476
4y ago
Samurai Swords (aka Shogun) by Milton Bradley. It's a Risk like game, but way better balanced, where troop strength is limited to territory held, units are bought (you have cheap, but weak units, or strong, but expensive units) and tu
307.
▲
by
spc476
4y ago
malloc() is defined by the C Standard. If you want to claim your compiler is ANSI or ISO certified, you need to support malloc() (as well as the rest of the C Standard library).
308.
▲
by
spc476
4y ago
Not enough buses for that.
309.
▲
by
spc476
4y ago
I attended elementary school (age 5-10, grades 1-5) in a small town. Each bus did four trips---two in the morning, and two in the afternoon. The morning trip wasn't bad as the kids needed to be at the stop in time for the bus to pick
310.
▲
by
spc476
4y ago
One Christmas, my SO gave me the book _A Confederacy of Dunces_. I hated it, and only finished reading it because it was a gift (and I wanted to at least give it a fair chance). I talked to a friend of mine (a former English teacher at
311.
▲
by
spc476
4y ago
Two weeks ago I received an email saying I had funds in Bitcoin and I could cash out, with login details for a website account [1]. I knew this must be a scam, but for the life of me, I couldn't figure out the angle. Now I'm thi
312.
▲
by
spc476
4y ago
It comes down to the person running the website has to care. That's it. It doesn't matter how simple it is if the person doesn't care. In my own case, I've been running my own website for 24 years now [1]. The URLs
313.
▲
by
spc476
4y ago
I wrote almost nothing but assembly for ten years (mid 80s to mid 90s) and I think I can count on one hand the number of times I actually needed a generalized multiplication/division instruction. Heck, even square root could be done w
314.
▲
by
spc476
4y ago
I have a graphical window, and I have a bunch of text (in whatever Unicode encoding you want---it doesn't matter to me) that I need to display in said graphical window such that the text just doesn't run off one edge of the window
315.
▲
by
spc476
4y ago
Oh, one other reason to do the new scope instead of a function---you can still use variables in the outer scope that you might otherwise have to pass in to a function.
316.
▲
by
spc476
4y ago
I've used this method in C code. One reason---C89 only allows variable declarations at the top of a block, and if I have a small section of code towards the middle of end of the function with its own variable use, the declaration is s
317.
▲
by
spc476
4y ago
Okay, here's some code I wrote [1], with the existing comment: /*------------------------------------------------------------------------ ; For the RR OPT, the class field is actually the size of the UDP payload, ; a
318.
▲
by
spc476
4y ago
It depends upon how SVN is used, and for the team I'm on, it's going to be painful. SVN allows you to checkout a subdirectory of any given repository, and because of our history, we have everything my team writes (10 programs) in
319.
▲
by
spc476
4y ago
TCC is a fast compiler. So fast, that at one time, one could use it to boot Linux from source code! But there's a downside: the code is produces is slow. There's no optimization done. None. So the trade off seems to be: c
320.
▲
by
spc476
4y ago
The 6502 doesn't have a pipeline, so it's quite easy to count instruction cycles and find out how much time a given piece of code will take. I did this technique to bit-bang a serial port back in the day (given two one-bit ports
321.
▲
by
spc476
4y ago
On my team, we had a process (for nearly a decade) that lead to us being done on time, on budget, and a very low bug count that didn't involve a lot of overhead (not everything required a ticket, we did code reviews only when we though
322.
▲
by
spc476
4y ago
Hmmm, from < https://www.man7.org/linux/man-pages/man3/posix_spawn.3.html >: The posix_spawn() and posix_spawnp() functions provide the functionality of a combined fork(2) and exec(3), with some
323.
▲
by
spc476
4y ago
I've been using a 3x3 virtual desktop setup for 20 years on my Linux system. Upper left for email, lower left for a real time view on system logs (useful for debugging), lower right for long running programs in on the CLI, the middle
324.
▲
by
spc476
4y ago
I also recall reading (somewhere) that France basically ended up with two nuclear power plan designs used repeatedly, unlike in the US where nearly every nuclear power plant is unique. That might account for the lower costs shown in the ar
325.
▲
by
spc476
4y ago
The solution to that was a perl script called (I think) aub (Assemble USENET binaries). I remember back in the 90s, some friends and I in college would run that as a cron job to accumulate files over time. This was long enough ago that th
326.
▲
by
spc476
4y ago
alt.hackers was another moderated group, but it had no moderator.
327.
▲
by
spc476
4y ago
You haven't been assigned a corporate managed laptop yet, have you? You don't have administrative rights, and it doesn't come with any development tools (because that's dangerous ), but it does come pre-installed with a
328.
▲
by
spc476
4y ago
I have to fill in a "time card" each week. The old system was a simple web page that I could navigate primarily via keyboard, tabbing from field to field. I think it was a company-developed web app, so the people who made it a
329.
▲
by
spc476
4y ago
Forth as well. ANS Forth defines the word SEE < https://forth-standard.org/standard/tools/SEE > that shows the current source of a given word.
330.
▲
by
spc476
4y ago
Here's a second data point: the office I work out of has its lease up for renewal in November (I think). There are so few people left working out of that office (less than 10, from a high of 30 a few years ago) that the company has de
More ›