Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
spc476
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
50 ms
·
601.
▲
by
spc476
7y ago
How well do you vet your IT staff? I was once the recipient of an inside job: http://boston.conman.org/2004/09/19.1
602.
▲
by
spc476
7y ago
I use Lua for configuration files. It's easy to restrict what you can do in Lua (I load configuration data into its own global state with nothing it can reference but itself). Plus, I can define local data to help ease the configurat
603.
▲
by
spc476
7y ago
Okay, but can you pipe stdout to one string of commands, and stderr to a different string of commands? That's something I feel should be possible but how Unix shells handle redirection is just ... alien to my way of thinking. Yes, I
604.
▲
by
spc476
7y ago
Here's one thing that I find difficult to remember how to do in shell: run a command, have stdout go to a file (or /dev/null or whatever), but pipe stderr to more or grep or some other program to process. I mean, I would e
605.
▲
by
spc476
7y ago
A snarky answer is "yes." A less snarky answer is "is the IoT device made by Google or has a Google license?" If yes, then "probably no," otherwise "yes." I have a theory as to why Google is so tight
606.
▲
by
spc476
7y ago
The secrets of 1980s video game programmers? 1) hardware that doesn't change. One C64 is just like every other C64 out there. You knew what the hardware was and since it doesn't change, you can start exploiting undefined behavio
607.
▲
by
spc476
7y ago
The original 8086 had a six byte instruction cache (the 8088 in the original IBM PC had a four byte instruction cache). If you modify an instruction less than six bytes away, it won't be seen by the CPU unless you issue a JMP (or CALL
608.
▲
by
spc476
7y ago
That might send output to the printer. I know on the TRS-80 Color Computer, the printer was #-2.
609.
▲
by
spc476
7y ago
Way back in the early 80s, if you programmed in the wrong settings to a video chip, you could drive a monitor out of spec and severely damage it (I seem to recall several computers of this era were susceptible to this).
610.
▲
by
spc476
7y ago
for NaNoGenMo [1] 2015, I wanted to run Racter [2] against Eliza, but 1) I run Linux and 2) I had an MS-DOS executable for Racter. I thought I would use DosBox to run Racter and pipe input/output to Eliza running under Linux natively,
611.
▲
by
spc476
7y ago
That's something Forth can do. It's how the language is extended.
612.
▲
by
spc476
7y ago
And at the system level, all the MS-DOS system calls in version 1.0 were direct copies of system calls in CP/M. Made it very easy to translate CP/M programs to MS-DOS if you wanted.
613.
▲
by
spc476
7y ago
And? It has not been obsoleted, and it's marked as STD0066.
614.
▲
by
spc476
7y ago
RFC-3986, section 6.2.3: For example, because the "http" scheme makes use of an authority component, has a default port of "80", and defines an empty path to be equivalent to "/", the followi
615.
▲
by
spc476
7y ago
In the "The End to End-User Elections" was this quote: "Drones hovering outside office windows will hijack a Bluetooth mouse to silently install malware on systems to tally who is our next president." And I realized, th
616.
▲
by
spc476
7y ago
Lua does that too. Lua only has two values considered false, nil and false. All else, in a Boolean context, evaluates to true.
617.
▲
by
spc476
7y ago
A way around that is to convert any spaces in a filename to non-breaking spaces (if you can). That will not only fix problems in Make, but also ease use in the command line.
618.
▲
by
spc476
7y ago
So here's a hypothetical scenario. Car drives kids to school (in my experience, school tends to start before work). Drives back empty to pick up parent to drive to work. In the afternoon, car drives (empty) to pick up kids and drive
619.
▲
by
spc476
7y ago
One technique I learned in 5th grade is called "brainstorming." It's a simple concept---you get a group together (or you can do this alone---you just skip one step). You establish a clear problem statement. Then for 10 or
620.
▲
by
spc476
7y ago
In college, there was a student I knew whose name was officially "The Rebellious One," and went by the nick name "Rebel One".
621.
▲
by
spc476
7y ago
Yeah, one would think that a national phone carrier would only send through properly sourced data. But I can tell you from experience that no, they let through garbage. I regularly see "phone numbers" like "11111111111111&q
622.
▲
by
spc476
7y ago
I think it depends upon the school system in the United States [1]. I was with the same group of friends starting with the 5th grade (9-10 years old) through 12th grade (18 years old, last grade before college). It just so happened that n
623.
▲
by
spc476
7y ago
I was part of the "gifted crowd" from 5th grade (9-10 years old) up, and not all of my classes were of the "gifted" variety.
624.
▲
by
spc476
7y ago
I can't tell. I run Firefox at home, and set up my own DoH server (mainly because I saw the writing on the wall and and if Mozilla/Google are going to shove this down my throat, I want it shoved down on my terms, but I digress).
625.
▲
by
spc476
7y ago
A very simple example of this is the accumulator form of XCHG (exchange values). The accumulator form (AX/EAX/RAX is the accumulator) is encoded as: 10010rrr rrr = register 000 = AX/EAX/RAX 001 = CX&#
626.
▲
by
spc476
7y ago
As much as I like the M68k, I don't think it would be easy to extend it to 64 bits. I'm looking at the MOVE instruction, encoded as: 00ssRRRmmmMMMrrr ss = size 01 = 8 bits 10 = 32 bits 11 = 16 bits RRR
627.
▲
by
spc476
7y ago
But what do we do with all this horseshit? https://www.historic-uk.com/HistoryUK/HistoryofBritain/Great...
628.
▲
by
spc476
7y ago
I wish it was cached by Firefox. But it's not. I'm running a DoH setup at home, and from the logs, it looks like Firefox is NOT doing any caching of results it gets. At least my DNS server is caching the results though.
629.
▲
by
spc476
7y ago
For how long though? I don't necessarily trust either Chrome or Firefox to quietly accept my "why yes, use normal DNS" choice, so I've just gone ahead and set up DoH at home (since I'm already running DNS at home).
630.
▲
by
spc476
7y ago
If you want to see a Unix like OS on an 8-bit CPU, get a Motorola 6809. It was designed with high level languages in mind (four 16-bit index registers, two 8-bit accumulators that can act as a single 16-bit accumulator) and can even do pos
More ›