HNHacker News
TopNewBestAskShowJobs

joelkevinjones

61 karma · joined November 23, 2016

submissionscomments
joelkevinjones··on How to avoid a BSOD on your 2B dollar spacecraft
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.
joelkevinjones··on Anthropic Quickstarts
Would a single sentence saying who/what anthropic is be too much effort? Neither the GitHub organization page (https://github.com/anthropics) or their docs web site (https://docs.anthropic.com/en/home) provide that. I don't know about their main web site (https://anthropic.com/) as my employer blocks their web site.
joelkevinjones··on UC Berkeley will delete all alumni email accounts with >5GB stored
I wonder how much of that email was letters from the University asking for money?
joelkevinjones··on Hackers gaining power of subpoena via fake “emergency data requests”
In the United States, does <area code> 555-1212 not work anymore? It certainly seems to: https://www.businessinsider.com/555-phone-number-tv-movies-t... https://www.nationalnanpa.com/number_resource_info/555_numbe...
joelkevinjones··on Plane Belonging to Russian Oligarch Alexander Abramov Is in San Francisco
His plane has landed in Munich, ~10:20PM PST.
joelkevinjones··on Publicly Available Standards
Some languages, like Ada, Java, and C# have some parts of their standards available. Notably missing are any for C++ (14882) or C (9899).
joelkevinjones··on “Please don't waste maintainers' time on your KPI grabbing patches”
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.
joelkevinjones··on Undefined behavior in C is a reading error
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.

joelkevinjones··on What I learnt roasting 200 landing pages
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.
joelkevinjones··on Google’s copying of the Java SE API was fair use [pdf]
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?
joelkevinjones··on Sky Global CEO indicted over encrypted chat drug trafficking
From my understanding, a Blue Box doesn't evade wiretaps, but allows one to make long distance calls for free.
joelkevinjones··on Judge refuses to reinstate Parler after Amazon shut it down
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"?
joelkevinjones··on Apple CEO Impressed by Remote Work, Sees Permanent Changes
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.
joelkevinjones··on This electrical transmission tower has a problem
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]

joelkevinjones··on Gerät 32620: the machine that powered numerous number stations
The sparrow flies at midnight
joelkevinjones··on New facts about the leadup to the Beirut explosion
If they can't keep track, they shouldn't be granting articles of incorporation to non-citizens.
joelkevinjones··on Reddit Shuts Down AMA from Former NSA Technical Director Bill Binney
Calculating transfer rates based on time-stamps is ridiculous. At any point from source to destination, the individual files making up the emails could have been aggregated, transferred, and then disaggregated, potentially multiple times. Preserving time meta-data during these sorts of operations can go wrong even when one is trying to preserve it. The delta file times could simply reflect the transfer rate of the final disaggregation step in the chain. This could have been a from a directly connected storage device over a less than full-disk-speed interface, or from such a device accessed over a network.
joelkevinjones··on Qua: Alexia Massalin interview (1996)
Many years ago, I was in a group at Apple that interviewed Massalin. It was decided not to hire, as, while brilliant, there would be a net drop in productivity, as we would all spend too much time discussing the latest oddity. As one might expect, there was a stuffed koala toy on the table during Massalin's job talk. Brilliant work on the super-optimizer.
joelkevinjones··on DIY Bertin Matrix with 569 Dominoes and No Glue
I'm a mediocre woodworker, but it seems to me cutting the dominoes on a table saw would be faster than laser cutting. Setup a sled with a stop of the proper width to create strips. The strips could be run through using the sled with the stop set to a potentially different dimension. One can then use either a drill press or a hand drill with a template to guide hole placement. A drill press would be preferred, since getting exact placement and alignment is essential to getting the rods to work.
joelkevinjones··on A new factor in an uneasy moment: Unidentified law enforcement officers
Don't forget the clipboard.
joelkevinjones··on Embedding Objective-Smalltalk
This brings to mind an expression I wanted to have put on a T-shirt around 1997:

On the front: The more I use Java On the back: The more I love Smalltalk

This was while I was in the middle of writing a compiler front-end and a code generator for a JVM. I decided to write the compiler in Java (eat your own dog food), and the exact kind of do. every. step. at. a. time. in the example here made me long for select: []

joelkevinjones··on A function to sleep a 1000 years: explained
Another problem is that it makes the assumption that an int is 32 bits. The C89 standard certainly doesn't promise that.
joelkevinjones··on Xkcd #2185: Disappearing Sunday Update
Am I the only one who wanted to try all of the different access methods to see what would happen? I didn't even know there was such a thing as a gopher portal.
joelkevinjones··on CS Unplugged: Teaching material for CS using cards, string and crayons
Ever watch two kittens get themselves all tangled up while playing with a ball of yarn? Imagine being one of those kittens and getting tangled in string in front of an audience of other CS PhD students and senior CS researchers. In addition to the issue that we really couldn't simulate what GC was doing (or even explain it), imagine trying to untangle yourself while doing it.

To answer the question about why GCs are an issue, a GC scans memory, moving objects, updating pointers, writing marks in special headers, etc.

joelkevinjones··on CS Unplugged: Teaching material for CS using cards, string and crayons
Do not use string, index cards, and multiple CS PhD students holding the cards to illustrate how garbage collectors work, particularly if most (all?) of the people in the groups haven't written a garbage collector. Trust me on this.
joelkevinjones··on Americans can opt out of airport facial recognition
Anyone remember when we liked to proclaim how we had freedom in this country by using the example that we didn't require "travel papers" for internal travel?
joelkevinjones··on How the car industry hid the truth about diesel emissions
A coworker and I had a discussion with another coworker when this scandal broke. We couldn't convince him that he was wrong when he said there is no way car software could "cheat" like that. Even after we came up with several things that could be done in the space of about a minute, he remained unconvinced. If you follow through the article to the reference US DoJ press release, VW's software used several of the ideas we came up with as part of their "cheat". This coworker also thought that the California drought was a big hoax, so...
joelkevinjones··on Georgia defends voting system despite 243-percent turnout in one precinct
That "integrity" commission was largely tasked with voter fraud, not overall integrity. See which states are doing the most egregious voter-list purging (i.e. using first name, last name comparison to determine if two database entries are the same; ignoring: middle initial, race, DoB, etc.)
joelkevinjones··on Follow the CAPEX: Separating the Clowns from the Clouds
Both IBM and Oracle make their own hardware. How does that factor in given the typical margins for "server-class" hardware?
joelkevinjones··on The Implicit Association Test falls short of basic scientific standards
If all variants of this test act as the author describes, wouldn't the fact that the same keys are bound to different things in different phases of the test be a problem?
Page 1 of 2Next →