joelkevinjones

Joined 10 years ago

Karma
61
Submissions
31
Member since
Nov 23
View on Hacker News

Recent submissions

Comment · 2 years ago
As much as I hate writing "getter" functions for referencing global variables, I would when I knew I didn't have the right address yet. Write them first to error out loudly, then when you have the actual addresses replace the error out code.
Comment · 2 years ago
Comment · 2 years ago
I wonder how much of that email was letters from the University asking for money?
Comment · 4 years ago
Comment · 4 years ago
His plane has landed in Munich, ~10:20PM PST.
Comment · 5 years ago
Some languages, like Ada, Java, and C# have some parts of their standards available. Notably missing are any for C++ (14882) or C (9899).
Comment · 5 years ago
LLVM has quite a number of people who have "review after commit" privilege. These are people who are trusted to know the difference between changes needing review and those that don't. As a result, people can fix typos, fix formatting, etc. without burdening reviewers. Those sorts of changes don't go through the usual review process, but on occasion may be reverted, by either the committer or someone else who has commit privilege.
Comment · 5 years ago
Two points:

The notion that compilers that encounter undefined behavior are allowed to generate any code they want is a new interpretation, for some value of "new". I can't remember the first time I encountered such an interpretation being used by compiler writers to justify something they wanted to do until sometime after 2000.

The notion that John Regehr has (quoted in the article) that undefined behavior implies the whole execution is meaningless is not supported by the language of either the C89 or C99 standard, at least by my reading. The C89 standard has a notion of sequence points. Wouldn’t all sequence points executed before undefined behavior is encountered be required to occur as if the undefined behavior wasn’t there? It would seem so:

From the C89 standard: 2.1.2.3 Program execution

The semantic descriptions in this Standard describe the behavior of an abstract machine in which issues of optimization are irrelevant. Accessing a volatile object, modifying an object, modifying a file, or calling a function that does any of those operations are all side effects, which are changes in the state of the execution environment. Evaluation of an expression may produce side effects. At certain specified points in the execution sequence called sequence points, all side effects of previous evaluations shall be complete and no side effects of subsequent evaluations shall have taken place.

The C99 standard has nearly identical language:

5.1.2.3 Program execution 1 The semantic descriptions in this International Standard describe the behavior of an abstract machine in which issues of optimization are irrelevant. 2 Accessing a volatile object, modifying an object, modifying a file, or calling a function that does any of those operations are all side effects,11) which are changes in the state of the execution environment. Evaluation of an expression may produce side effects. At certain specified points in the execution sequence called sequence points, all side effects of previous evaluations shall be complete and no side effects of subsequent evaluations shall have taken place.

Comment · 5 years ago
Copyright. The recipe itself can't be copyrighted, but the descriptive text around it can. This created a style in print media that carried over into the online world.
Comment · 5 years ago
I'm not sure what Thomas was referring to. What does "create their own declaring code" mean? Did they do some kind of white room implementation where they typed in the contents of a javadoc web site? Did they modify the name of parameters?
Comment · 5 years ago
From my understanding, a Blue Box doesn't evade wiretaps, but allows one to make long distance calls for free.
Comment · 5 years ago
What do you mean by saying that democrats took over the post office? I assume you mean the USPS? The postmaster general was appointed by Trump. The senate until just last week had a Republican majority. Exactly how did the Democrats exercise power to "take over"?
Comment · 6 years ago
And what makes it worse is that particular part of SV is a public transit black hole. When I worked at Apple, they did a great job of providing their own commute-time transit options. However, if you needed to travel to or from the Apple campus in the middle of the day, you had to either drive to work that day or be willing to spend a lot of time on a bus, particularly if you're going somewhere on the peninsula. On the one or two occasions I fell ill enough to want to go home in the middle of the day, I really should have called a cab to take me to the Caltrain station instead of taking a bus that seemed to take a tour through every neighborhood.
Comment · 6 years ago
The Republicans have a little more blame for the deregulation driven blackouts of 2000.

From https://en.wikipedia.org/wiki/Pete_Wilson Wilson was the driving force behind the 1996 legislation that deregulated the state's energy market, which was the first energy utilities deregulation in the U.S. and aggressively pushed by companies such as Enron.[28]

Comment · 6 years ago
The sparrow flies at midnight

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton