garrison

Joined 16 years ago

Karma
215
Submissions
25
Member since
May 23
As of November 2021, I work as a developer for IBM Quantum. My comments on HN are my own, and don't necessarily represent IBM's positions, strategies, or opinions.

I have prior experience working as a theoretical physicist in government and academia, and also as a software engineer. Before that, I worked as public relations coordinator at the Software Freedom Law Center.

On the web: https://jimgarrison.org/

View on Hacker News

Recent submissions

Comment · 1 year ago
Comment · 2 years ago
Comment · 2 years ago
It also inherently takes at least 5 years from when a study starts to show that progression-free survival is at least 5 years.
Comment · 2 years ago
Looks neat. A screenshot or video would be much appreciated.
Comment · 2 years ago
If OpenAI remains a 501(c)(3) charity, then any employee of Microsoft on the board will have a fiduciary duty to advance the mission of the charity, rather than the business needs of Microsoft. There are obvious conflicts of interest here. I don't expect the IRS to be a fan of this arrangement.
Comment · 3 years ago
Comment · 3 years ago
Comment · 4 years ago
Comment · 5 years ago
Comment · 5 years ago
Comment · 6 years ago
I tried deploying a static site. DO App Platform makes the file page1/index.html available both at /page1 and at /page1/. If the page contains any relative links or images, it is impossible for both URLs to reference these links correctly. Most web servers handle this by redirecting /page1 to /page1/ before serving it. Netlify does this as well. Vercel works the same as DO in its default mode, but it allows the user to configure the trailing slash behavior to get the redirect. Hugo, for one, assumes all files are served with a trailing slash.
Comment · 6 years ago
It sounds like MDN could benefit from being the work of a 501(c)(6) business league, which is how the Linux Foundation's work is funded. Money could initially come from the big existing browser vendors. It is in everyone's interest to see it continue.
Comment · 6 years ago
Comment · 6 years ago
Several years ago, I gave a presentation on quantum computing to the Los Angeles Hacker News Meetup. The slides are at https://jimgarrison.org/quantumcomputingexplained/ . Unfortunately, there is no video recording so they are currently lacking explanations.

My goal was to explain quantum computing in a way that is mathematically precise but doesn't require one to learn linear algebra first. To do this, I implemented a quantum computer simulator in Javascript that runs in the web browser. Conceptually (in mathematical language), in each simulation I present, I've started by enumerating the computational basis of the Hilbert space (all possible states the qubits could be in) and represented the computational state by putting an arrow beside each of them, which really is a complex number. (This similar to how Feynman explains things in his book QED.) The magnitude of the complex number is the length of the arrow, and its phase is the direction it points (encoded redundantly by its color). I've filled out the amplitude symbol with a square so that at any given point, its probability of a measurement resulting in that outcome is proportional to the area of that square. Essentially, in this language, making a measurement makes the experimenter color blind -- only the relative areas of the amplitudes matter and there is no way to learn directly phase information without doing a different experiment.

I could make a further document explaining along these lines if people are interested. The source is on github too: https://github.com/garrison/jsqis

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton