Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
spc476
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
44 ms
·
241.
▲
by
spc476
4y ago
One thing we did at my previous job was to add a "trace flag" to each account. Normally, they log nothing about a transaction (other than it happened), but if the trace flag is set, then a lot of information is logged about the t
242.
▲
by
spc476
4y ago
Well, there is Oscar Pistorius [1], a double leg amputee (below the knee) who competed in the 2012 Summer Olympics in running events, so ... [1] https://en.wikipedia.org/wiki/Oscar_Pistorius
243.
▲
by
spc476
4y ago
> should a student be able to turn-in a traced photograph for their homework in a life drawing class? I did just that. It wasn't a life drawing class, just a drawing class. And it wasn't homework, but the do-it-at-home final.
244.
▲
by
spc476
4y ago
Since MS-DOS 2.0, released in October of 1983---39 years ago.
245.
▲
by
spc476
4y ago
It will work on Windows, since it inherits the behavior from MS-DOS. It's the shell on Windows (or MS-DOS) where it fails since the shell uses '/' to designate options, so when MS-DOS gained subdirectories (2.0) it used
246.
▲
by
spc476
4y ago
On early Unix systems, the directory structure was a simple 16-byte record; 14 bytes for the name, and 2 bytes for the inode. [1] strncpy() was used to simply record the file name into this structure. [1] "UNIX Implementation" by
247.
▲
by
spc476
4y ago
And that's different from Twitter ... how? I mean, aside from the federation aspect.
248.
▲
by
spc476
4y ago
How verbose. You should do {b.i.u Hello World} [1] instead. [1] https://corebloc.neocities.org/sexpcode.html
249.
▲
by
spc476
4y ago
It's about trusting a function call. Imagine the following C functions: extern result fubar(struct foo *); extern result snafu(struct foo const *); Just by looking at the function prototype, I know that calling snafu() wo
250.
▲
by
spc476
4y ago
You can apply some FP notions to any code base: 1. Don't use globals. Zero global variables should be the goal, that way, you avoid "spooky action at a distance" where some code here changes a global that changes the behavio
251.
▲
by
spc476
4y ago
Maybe not. I attended Florida Atlantic University and that was a project I did. The shell wasn't that much, just run commands, support redirection and pipes, and (I think) handle environment variables (for example, "ls $HOME&quo
252.
▲
by
spc476
4y ago
Given the parameters of malloc() and calloc(), I assume it's to express intent---malloc() is used to allocate a single structure (thus, avoiding the whole multiplication issue) and calloc() for allocating an array (and initializing the
253.
▲
by
spc476
4y ago
Concrete rooms have such an aesthic quality that all U.S. prisons have adapted the look.
254.
▲
by
spc476
4y ago
I did what you would have done in my previous job [1]. A larger "enterprise" style company bought us out and was trying to force their Enterprise Agile unto us. I felt it was the wrong development style for the team I was one---
255.
▲
by
spc476
4y ago
I got to ride a private car for a few hours [1] thanks to a friend who rented one for a family vacation/birthday gift. The car went from Jacksonville, FL (where the private car resides), to Miami, then to Chicago via Washington, D.C.
256.
▲
by
spc476
4y ago
I recall the time in the 90s when some friends and I left a floppy of Doom as a tip for our waiter.
257.
▲
by
spc476
4y ago
The British and French have their fair share of the blame for drawing the borders they way they did.
258.
▲
by
spc476
4y ago
One architecture I know of that used its general purpose registers for floating point is the VAX. I have no thoughts on this though.
259.
▲
by
spc476
4y ago
Ask if I find a bug in the code, what's the process to getting it fixed? And about how long is that?
260.
▲
by
spc476
4y ago
How would that work in real life? It sounds nice in theory, but as the saying goes, "in theory, there is no difference, in practice, there is." One programmer fixing a bug, one adding a new feature, are both working on the same p
261.
▲
by
spc476
4y ago
I don't think handness has anything to do with it. I'm left handed and I prefer the paper oriented over itself.
262.
▲
by
spc476
4y ago
It depends upon the command line interface. A Cisco router CLI is very discoverable. Sitting at the prompt, hit '?' and get a list of commands. Type the command, then '?', get a list of options. At each point in typi
263.
▲
by
spc476
4y ago
Not so much anymore. I worked (last day was yesterday) at a company that had services on the call path. The legacy product, supporting CDMA, is on SS7. The newer stuff, supporting LTE, is Internet based (SIP over UDP to us).
264.
▲
by
spc476
4y ago
Well, it's not the cell phone (iPhone or Android) that is doing the spam ID, it's a service being queried as the phone call is being placed. Something like, Alice (the originator) calls Bob (the terminator). Just before the phon
265.
▲
by
spc476
4y ago
Motorola developed the MC6839 which allowed one to do floating point math with the MC6809. The MC6839 was not a floating point CPU, but an actual 8K ROM of 6809 machine code that implemented floating point math (with position independent c
266.
▲
by
spc476
4y ago
I wrote my own desktop programming calculator that shows signed and unsigned decimal, octal, hexadecimal and binary at the same time. It also allows you to select 8-bit, 16-bit, 32-bit or 64-bit calculations, and do either signed extend (f
267.
▲
by
spc476
4y ago
IBM choose the Intel 8088 over the 68000 for the IBM PC, which was more popular than IBM expected. Since the IBM PC was heavily documented (you could get not only schematics, but BIOS listings for it), it was easy (if you were careful) to
268.
▲
by
spc476
4y ago
I've been at my current job for 12 years. For my first three years, I had no manager [1]. I then did an internal transfer to development, and had a 'meh' manager [2]. He burned out after a few years. The next manager I ha
269.
▲
by
spc476
4y ago
> so you can't e.g. just easily print size_t using the standard printf formatters This has been fixed in C99. For size_t, it's "%zu", for ptrdiff_t it's "%td", for ssize_t it's "&zd"
270.
▲
by
spc476
4y ago
In Britain, 100 miles is a long distance. In the US, 100 years is a long time.
More ›