Better HN
topnewbestaskshowjobs
Log inSign up

mdnahas

275 karma · joined Apr 7, 2020 (6y ago) · 192 submissions

Masters in CS and Econ Designer of par2 file format Employee #7 in successful fintech startup Quantitative trader

https://michaeldnahas.com

Submissions

comment 11h ago · link · parent

You switch to applied math and start translating Claude’s results to real-world solutions.

comment 12h ago · link · parent

> Why would they threaten legal action

ARM’s only product is IP, so they probably hire aggressive lawyers to defend it. And those lawyers want to show that they’re doing something. And most lawyers default to sending aggressive letters to everyone.

Some IP is only maintained if defended. So, it is less work for a lawyer to send a standard cease-and-desist letter than write, track, and enforce a license that allows a website to do innocuous things.

The company may also have worries that the website may not be kept up-to-date or may provide mistaken information. The company may want to track visitors to the documentation so they identify sales opportunities. Or a lowly manager does not want website metrics to go down because someone else serves documentation in a more user-friendly manner.

comment 1d ago · link · parent

True. The statement to be proven is translated into a data structure, but that is a relatively simple one-to-one transformation. I don’t think many people worry about that. (Although my friend John Regehr may be one who does argue!)

The proof goes through more complex transformation, as code and macros run, but it is okay if those are faulty. Because the output, the proof object data structure, is what is checked for correctness. If there are bugs in the transformation and the proof passed the check, we still have a valid proof for the statement - even if it was not the one we intended!

comment 1d ago · link · parent

Agreed. The formal proof field has not focused on readability. E.g., Lean and Coq both use the opaque term “intro” instead of the more readable “assume”.

comment 1d ago · link · parent

I worked on formal proof in 2013 and 2014.

There are proof systems like you describe. Mizar was created in the 1970s and was still being used in the 2010s. Its proofs resemble those from Euclid’s Elements from 300 BC that you were taught.

The answer to “why use type theory in Lean” is that math developed. When Russell and Whitehead tried to prove everything from axioms in the 1910s, they ran into a paradox. To avoid Russell’s Paradox, they created the first Type Theory.

Since then, the field of Proof Theory developed. It found the Curry-Howard Correspondence, which connected logic, programming and Type Theory. In parallel, computers became popular. Some programming languages’ type systems were based on Type Theory.

So, when it came to writing new provers, computer scientists were familiar with Type Theory and Proof Theory had show that it was a simpler and more powerful foundation.

Great lecture series on proof theory: https://www.youtube.com/watch?v=YRu7Xi-mNK8

comment 1d ago · link · parent

I worked on formal provers in 2013 and 2014. Godel said that any consistent system could not be complete. The provers are consistent, but not complete - there are true mathematical statements that cannot be proven in their system of axioms.

They are shown to be consistent by proofs that false cannot be proven. In Type Theory “false cannot be proven” is encoded as “the Type Theory is strongly normalizing and the Empty type can never be inhabited”. Lean is based on Coquand’s Calculus of Constructions. There are proofs of its consistency, see link below.

Godel proved that a system cannot prove itself consistent, so the proofs are probably written in Set Theory.

https://arxiv.org/abs/2210.11240

comment 3d ago · link · parent

I worked on formal proof in 2013 and 2014 and I don’t think they are important. There is value that mathematicians trust Lean’s proofs and trust that Mathlib has correct names to certain definitions, but there are many formal proof systems that could substitute.

That trust is valuable, because top mathematicians say that if there is a Lean proof, there is a proof. A few mathematicians reluctantly trusted HOL Light a decade ago, when the Kepler Conjecture was proven using it. That trust in Lean means that mathematicians are facing the truth now, rather than denying it.

But, from a technology perspective, Mizar and other systems existed in the 1970s. This accomplishment is all by AI.

comment 3d ago · link · parent

I’ve used Clojure a bit. Really liked it.

If you want to dive into Lisp, read Paul Graham’s book “ANSI Common Lisp”. It will show you the “why” and the concepts. Then learn Clojure for the syntax.

Even if you can never see yourself programming with Lots of Silly Parentheses (LiSP), the book is worth reading for the concepts. (And to imitate his writing style.)

comment 3d ago · link · parent

The interesting piece to me is that dependencies are transmitted from the code to the hardware. That requires them being detectable in the original programming language, which is not a property of C or many other languages. Hardware has had to detect dependencies between instructions and limit instruction execution based on conservative memory assumptions. That causes heat and slows the computation.

We’ve had massively parallel SIMD processors before, but this design is different because it passes those dependencies from code to the hardware. It also means you have to rewrite code to use it. Notice, it doesn’t use Rust but their own version of Rust, called Vine.

It is a good idea to pass the dependencies to hardware. It limits the applications of the chip, but I like the idea. I’m curious how interrupts work and state is saved.

comment 2w ago · link · parent

I am assuming that Strands Decoder is similar to Jev.

I do not believe Jev is a “decision tree”.

comment 3w ago · link · parent

I worked on formal proof in 2014, but abandoned it when I realized academic mathematicians would never use it. Formal proof would have helped math’s consumers: better search, fewer mistakes, easier translation (to other human languages), etc.. But academic mathematicians didn’t care about math’s users very much.

Now that there are tools that help math’s consumers and because the economy of proof production wasn’t oriented towards consumers, there is a real chance that academic mathematicians get sidelined.

comment 3w ago · link · parent

A sweet video showing an inventor did love his wife.

From the Halloween episode of comedy show Saturday Night Live.

13.

SNL: The Inventor's Wife [video](youtube.com ↗)

1 points · by mdnahas · 3w ago · 1 comment

comment 3w ago · link · parent

Beautiful tribute montage.

comment 3w ago · link · parent

Ed Glaeser is a Harvard economist and has a paper about how racism was promoted by those making money from it. That seems more believable to me.

https://glaeser.scholars.harvard.edu/publications/political-...

comment 3w ago · link · parent

As I heard it, Germany refused to carry the Usenet channel alt.sexy.bald.captain because the thought it was porn. It was a Picard fan club.

comment 1mo ago · link · parent

The market way to deal with outliers is to have an options market. Basically, it is an insurance market for providing electricity on a tight day. Texas has a different way of handling it that I don’t like.

A big problem in the electricity market is that most customers don’t respond to supply shocks. They pay the same price in an emergency as in normal times. So, when it got very cold and power plants started shutting down, they used more electricity because they needed more heat! The one electricity provider who did pass on higher prices to customers and reduced consumption, Griddy Energy, was roasted in the media. Because customers didn’t respond to the shortage, utilities had to. They instituted “rolling blackouts”, which we really just blackouts for any grid that didn’t have a hospital on it.

comment 1mo ago · link · parent

As an economist, I wondered what the capitalist equivalent of communist central planners would be. Sometimes it is futures markets and sometimes it’s consultants like McKinsey. They are a way of passing information between competitors in a market, to achieve controlled growth, market segmentation, etc.

They also serve as a part-time strategy group for the company. The company couldn’t afford that quality of people full time and they wouldn’t have as much experience as at a consultancy. And having temporary people not beholden to a superior might result in more honest reports.

So, it’s not necessarily flimflam. But I do worry a group of people who determine a company’s strategy and rarely stick around to implement it and measure it’s end result.

comment 1mo ago · link · parent

My thought: Claude may not have fixed the bugs, but avoided the problem for the poster’s use cases. “Fixing a bug”, in my mind, means solving all problems for all use cases. And Claude didn’t have to do that.

The insertion of NOPs is a great way to remove a function call that might have crashed the program. If you didn’t need anything that function did, you’ve solved your problem but not fixed the bug.

comment 2mo ago · link · parent

It varies by car. For my Honda, I believe disconnecting the antenna is enough. I looked at a Toyota and the antenna is shared. To disable the phone-home you had to disconnect a box … but that’s difficult. The box is also designed to call 911 or 999 emergency services and is connected to the microphone and one of the speakers. You have to rewire those if you want to use the microphone with your cellphone or play any stereo sound. Do your research before buying or disconnecting things.

comment 2mo ago · link · parent

Yes, that’s very true. I recognized that in 2014. It was hard, but I stopped doing research on formal proof.

I got an economics degree and found that the City of Austin to pay off its $3 billion dollar pension debt … and encountered the same problem you mentioned, again. Except this time my plan is to run for City Council and be their next-level superior.

comment 2mo ago · link · parent

As a consumer of mathematics, I want to attack the author’s idea of “what that work was meant to achieve in the first place”.

I do a lot of programming that uses mathematics. I designed the error recovery file format “par2”. I worked as a quantitative trader.

What do I want from math? To be able to search math results, understand them, and apply them. But academic mathematicians are so inwardly focused - as these authors so obviously are - that it does all of these badly! Search is still with words, not symbols and formulae. As for comprehension, many math papers are unreadable to those not in the cliche of mathematicians in that specialty. And even applied math papers don’t ship code or specify the operations explicitly.

I wanted to fix this and in 2013 I worked on formal proof. It makes symbol search and application easy. I found out that the tools had been usable for decades at that point. But mathematicians didn’t use them because they had that inward focus and didn’t give a damn about math consumers.

AI is enabling formal proof. It will carry mathematics into the computer age, which the field should have joined with every other industry in the 1970’s! I welcome it. Math will get used more and that is what the work was meant to achieve in the first place.

comment 2mo ago · link · parent

A businessman I talked to said that United is investing in smaller airplane manufacturers in hopes of breaking the Boeing-AirBus duopoly. Thus, giving commitments here and to Boom Supersonic.

comment 2mo ago · link · parent

I just looked at Strawberry. Spotify is done via a GStreamer plug-in. It looks like you have to compile it yourself.

comment 2mo ago · link · parent

I know someone who calls it “Scamerica”.

One cause is Congress not doing its job for 30 years. The other is the advertising funding model - website users are not the customers. Therefore, websites - especially news sites - aren’t delivering useful information to their users because that doesn’t make more money.

Therefore author is right. Reinforcement learning with this ecosystem is dangerous.

comment 2mo ago · link · parent

During Trump 1.0, retaliatory tariffs were targeted at swing states. E.g., on Harley-Davidsons manufactured in Wisconsin. The goal was to make it politically painful to the president and undermine his reelection chances.

I imagine Carney is picking industries that are assymetricly painful to the USA or, since Trump isn’t up for re-election, congressional Republicans.

comment 2mo ago · link · parent

Economist here. Yes! Politicians choose to promote certain economists. I’m tired of answering questions about Modern Monetary Theory, which Bernie Sanders chose to promote. The creator is from an economics department ranked 259th. It’s a duuuumb theory.

https://ideas.repec.org/top/top.econdept.html

comment 2mo ago · link · parent

AI helps with computation. The closest historical analogies are gears and vacuum-tubes/transistors.

Technologies seem to be adopted wider and faster now. See smartphone adoption rates. I agree the transition will happen quickly.

Waymo cars are doubling every 9 months. They’re on pace to replace all taxi/Uber/Lyft drivers in 9 years.

comment 2mo ago · link · parent

It’s a great insight and fun to think about. Perfect for HN.

If I put on my academic-paper-reviewer hat, I’d probably ask: what does that insight get us? What knowledge can we pull from databases into compilers? If we convert compiler/linker/loader operations into database lingo, then do we see patterns or more insights that let us resolve existing controversies/problems?

I haven’t read the author’s academic paper, so I don’t know what he considered the contribution to be. The contribution is “what knowledge was learned that improved the world”. The insight is enough for a minor paper, in my opinion. But if you can show it is the key to tackling an existing problem, that would be a great paper.

Academic reviews are rough. Hasty, inconsistent, often poorly written or incomplete. Responses can be random with good papers getting harsh reviews. Don’t take it too personally. Sometimes the information in a communication isn’t in the content - it is what it says about the communicator. Keep working on your writing and thinking clearly and your odds of better reviews improve … but will never be 100%!

comment 3mo ago · link · parent

I host a parallel translation of the original book on Peano’s Axioms. If you have comments on either the Latin or English translation, they’d be very welcome!

(My 2 years of high school Latin from a Latin-Mass priest is helpful, but insufficient.)

https://github.com/mdnahas/Peano_Book/

1234567