HNHacker News
TopNewBestAskShowJobs

martincmartin

7,330 karma · joined May 12, 2008

Enjoying life.
submissionscomments
martincmartin··on A Bizarre Form of Water May Exist All over the Universe (2019)
Ice-nine?

Update: I originally wrote ice-9, which it turns out is ambiguous. I meant the one from Cat's Cradle.

https://en.wikipedia.org/wiki/Cat%27s_Cradle

martincmartin··on MIT Mathlets
It's designed to be used in a MOOC, so there should be lots of text around them. edX math classes use them a lot.
martincmartin··on C# for Systems Programming
"There are only two kinds of languages: the ones people complain about and the ones nobody uses." -- Bjarne Stroustrup

https://www.stroustrup.com/quotes.html#:~:text=%22There%20ar....

martincmartin··on Physicist discovered an escape from Hawking’s black hole paradox
It sounds like just the Schrodinger Equation, Quantum Mechanics 101
martincmartin··on Exploring Clang/LLVM optimization on programming horror
you get a linear time O(n) isEven function

In complexity theory, the size of a problem is the number of bits to represent the input, so if the input integer is i, then the size is n = log_2(i) so the algorithm is actually exponential in the number of bits it takes to represent the input.

martincmartin··on Scientists find an effective solution for the three-body problem
There are those who believe determinism is not only compatible with free will, but required for free will.

https://en.wikipedia.org/wiki/Compatibilism

martincmartin··on James Gosling Interview
Yeah good point, I updated my comment. Thanks!
martincmartin··on James Gosling Interview
Edit: I said Tcl, but that has the opposite problem: integers are fine, but floating point is problematic because everything is strings. Updated below to remove Tcl.

I don't think this is true of most languages; only for Lua that I know of. And it causes problem: if you send a 64-bit ID to Lua, which represents it as a double, it will subtly change the last few bits. Then when you go to look up something with that ID, you get the wrong item.

Most languages don't have that problem.

martincmartin··on Crows have been shown to understand the concept of zero
You see this in programming languages too. Many languages distinguish between one of something and a collection of them, e.g. int x vs vector<int> x. In other languages, like Matlab, everything's a vector, and a scalar is just a vector of length one.
martincmartin··on Crows have been shown to understand the concept of zero
Having a concept of "none of a thing" is one thing. Abstracting that to a number is a different thing.

Even today, when you ask someone "how many kids to you have," and they don't have any, they say "I don't have any," not "zero." In other words, they respond with a phrase, often one with a negation (not), instead of a number.

martincmartin··on The Economics of OnlyFans: Most accounts make less than $145/mo
To be pedantic, a median is not a ratio. That's the average.
martincmartin··on Entire German bond yield curve back in sub-zero territory
> Real 30-year yields are steeply negative in the US as well, with nominal yield at 1.85% and year-over-year CPI above 5%.

year-over-year CPI is backward looking: it compares one year ago to today.

Treasury yields are forward looking: If I tie up money now, how much more will I get one year from now.

Last year was pretty unusual. People expect the next year to be different.

martincmartin··on Restaurant prices in the 19th and 20th centuries (2009)
Good point.
martincmartin··on Your Lifestyle Has Already Been Designed (2010)
FIRE = Financial Independence, Retire Early for those who don't know.
martincmartin··on Restaurant prices in the 19th and 20th centuries (2009)
There was huge inflation during WWI, as the government sold war bonds.

"The World War I era and its aftermath, 1917–1920, then produced sustained inflation unmatched in the nation anytime since. Prices rose at an 18.5-percent annualized rate from December 1916 to June 1920, increasing more than 80 percent during that period."

[1] https://www.bls.gov/opub/mlr/2014/article/one-hundred-years-....

martincmartin··on Starlink review, four months in
At 25c per kWhr, that's 60 cents a day, ~ $18/mo.
martincmartin··on The P-versus-NP Page (2016)
Strictly speaking, NP problems need to have boolean outcome, so "what's the shortest path" is not an NP problem. Instead, "is there a path with cost <= X?" is an NP problem.

Of course, if I had a polynomial-time solver for the "cost <= X?" query, I could easily create a polynomial time solver for the cost of the shortest path, using binary search.

See Decision Problem: https://en.wikipedia.org/wiki/Decision_problem

martincmartin··on How Bell’s Theorem proved ‘spooky action at a distance’ is real
It's easy to explore QM and SR, because it's easy to accelerate fundamental particles to near the speed of light. Here's a video from 1962 where electrons were accelerated, they measure the time between passing two points (to get speed), and heat energy deposited on a target (to get kinetic energy) to show how SR works. Nothing QM specific, but shows how easy it is to get quantum particles moving that fast, so you can do experiments on them: https://www.youtube.com/watch?v=B0BOpiMQXQA

Combining gravity, which needs great mass, with QM, which needs small space scales, is "hard" to do in a lab.

martincmartin··on How Bell’s Theorem proved ‘spooky action at a distance’ is real
Quantum entanglement falls out of the quantum mechanics, so in some sense, the prevailing theory to explain quantum entanglement is quantum mechanics.

Of course, it's unintuitive and unsettling, so you could generate other theories about other dimensions if you like. But as far as predicting the results of any experiments we can do, QM is all you need.

Also, there are two very different theories of relativity, the special and the general. Special relativity is taught in 1st year undergraduate physics, you really only need high school math & physics, plus an open mind, to understand it. This has E = mc^2, twin paradox, length contraction, time dilation, speed of light as a limit. It's actually a pretty small topic, it usually doesn't have a separate course because it wouldn't fill a one semester course. QM is fully consistent with Special Relativity.

The other is general relativity, which revises gravity in light of special relativity. This is a much bigger topic and typically taught in grad school, although there are some undergrad texts now that don't require math as advanced as the grad school ones. QM and GR are incompatible, and the search for a "quantum theory of gravity" is a key plank in any "theory of everything."

martincmartin··on A Facebook engineer abused access to user data to track down woman
Yes. There was a public blog post a few year ago from someone complaining about being fired for this.
martincmartin··on Canada’s Mobile Data Prices vs. the World in One Chart
Wasn't Verizon saying they were planning to offer service in Canada a few years ago? But they backed down?
martincmartin··on Sports Owners Use Their Teams to Avoid Millions in Taxes
how many schemes (aka "legal structures") you can employ to preserve your wealth and reduce taxation which are available to everyone regardless of their social status.

Examples?

martincmartin··on Apollo 11 implementation of Trigonometric functions (1969)
We did this in my quantum mechanics class, 8.05x on edX. Consider the functions f_n(x) = x^n to be basis vectors in a vector space. Define the dot product of two vectors (aka functions) to be the integral of their product between -pi/2 and +pi/2. You'll see that your basis vectors aren't orthogonal. So, use Graham Schmidt to make them orthogonal, and normalize them while you're at it.

Now you just take the dot product of these new basis vectors with your target function.

martincmartin··on AI Designs Quantum Physics Experiments Beyond What Any Human Has Conceived
Is it a genetic algorithm?
martincmartin··on MIT and Harvard agree to transfer edX to ed-tech firm 2U
The facts are a little different.

For the math & physics classes, the deadlines are 3 weeks after being assigned, whereas when you take the class in person, there's a strict 1 week deadline.

Part of the advantage of taking an online class, as opposed to self study, is the motivating factor of deadlines. I have a lot of textbooks I've started reading, then said "I'll get back to this" and never have.

Another advantage of class over just textbook is discussions with classmates and TAs. Having a schedule helps with that too, since there are others working on the same material at the same time.

martincmartin··on Sorry, we replaced that old technology, “see-through glass”
In the '90s I was in a technology based art class at CMU. An artist talked about a project they wanted to do: a music streamer, but it would use GPS to know it's location, and play music from the local culture, to keep you connected to your surroundings.

Another student said: "You mean, a radio?"

martincmartin··on “Please don't waste maintainers' time on your KPI grabbing patches”
https://en.wikipedia.org/wiki/Performance_indicator

Engineer's performance is measured, in part, by number of kernel commits. So, the number of kernel commits is a key performance indicator for the developer.

martincmartin··on Mathematicians welcome computer-assisted proof in ‘grand unification’ theory
See other comment. It's sound but not decidable.
martincmartin··on America has a drinking problem
"'grand theories based on wild speculation, and creating a narrative out of that', which then has this 'intellectual' appearance about it, but says very little."

Sounds like a lot of HN, TBH.

martincmartin··on Game developers sharing their salaries on Twitter
So is he making games, or making a game platform? There's a big difference.
← PreviousPage 7 of 23Next →