HNHacker News
TopNewBestAskShowJobs

philip-b

89 karma · joined January 13, 2019

submissionscomments
philip-b··on Enhancements to the Kagi Search Experience
I have 3 questions.

- How is your search in languages other than English and local to countries other than the US and Europe? In particular, I am interested in Russian and Turkish. I remember that previously (a year or two ago) it was not very good. Also, does your GPT based search work for other languages?

- How is phind.com related to kagi? I remember that at some point, I was searching for something on phind and got an error saying that Kagi is out of capacity or something like that.

- What underlying search providers do you currently use?

philip-b··on Show HN: Get advice from a GPT3-based stoic philosopher
Why does it say that it has no answer to most of my questions?
philip-b··on Img2Prompt – Get prompts from stable diffusion generated images
Tbh I think that prompt is spot on.
philip-b··on Ask HN: Math books that made you significantly better at math?
Reading math textbooks typically involves solving a lot of problems, so you saying it like it's books OR problem solving doesn't make sense.
philip-b··on Gödel’s first incompleteness theorem – an interactive tutorial
I think there's either a mistake or a very very large omission here. It starts here:

>This is looking better! We have an amazing function, is_statement_true, that can tell us whether anything is true or false, given enough time!

>Read it through, and try to prove to yourself that is_collatz_true really does eventually return the truth of the Collatz conjecture.

Namely, I think the author confuses Lean theorems and metatheory theorems, where when I say metatheory, I mean the language and the system we use to talk about lean, about Godel's incompleteness theorem, and everything else - basically, the English-math language in which the chapter is written. Hence, it's wrong to say that is_statement_true can tell us whether any statement is true - it can merely tell us which of the two options it is: the statement is a theorem of Lean or its negation is a theorem of Lean. Same for is_collatz_true - sure, it must tell us what Lean thinks about the Collatz conjecture but doesn't tell us anything about the truth or falsity of the Collatz conjecture.

And finally, in the very end of Chapter 2, this problem arises as well. The chapter says that if Lean is sound and complete, then we can define a function which, for any Turing machine, returns one of two options: Lean thinks it halts, or Lean thinks it doesn't halt. But we haven't proved that what Lean thinks about that had anything to do with whether it actually halts or not.

philip-b··on I'm Peter Roberts, immigration attorney who does work for YC and startups. AMA
Does having articipated in the green card diversity lottery make it significantly more likely that I will be rejected if I apply for a B1 or B2 visa?
philip-b··on Ask HN: How to learn mathematical proofs from scratch?
Step 1. Read the textbook called "ForallX". Step 2. I don't know what step 2 should be. Perhaps step 1 will be enough.
philip-b··on The Y Combinator in Go with generics
The first example will lead to infinite recursion. There is no base case.
philip-b··on Ask HN: Best beginner friendly linear algebra book?
An eigenvector of a linear operator is a nonzero vectors s.t. the operator multiplies it by a scalar. It's existence for a complex finite dimensional operator can be proven without the determinant.

The minimal and the characteristic polynomials can be defined and described without the determinant.

Where do you think you need the determinant?

philip-b··on Kakoune Code Editor
Kakoune's [design doc](https://github.com/mawww/kakoune/blob/master/doc/design.asci...) stresses that Kakoune is a text editor, not an IDE. What does this really mean? Obviously, the main way people use text editors like this is to develop programs. So, given that Kakoune doesn't want to be an IDE, what features does/will it lack?
philip-b··on Music for Programming
You might also like the Groove Salad channel on https://somafm.com. At least, for me music with vocals distracts, while both musicforprogramming and Groove Salad work great.
philip-b··on Rethinking Attention with Performers
Is there an Explain-Like-I-Know-Matrix-Decompositions?
philip-b··on A Programmer’s Intuition for Matrix Multiplication
>But, if A is nonzero, then it must have at least one nonzero eigenvalue, hence one nontrivial eigenvector.

How about this matrix?

  [[0, -1],
  [[1, 0]]
>However, if v is a right eigenvector with eigenvalue \lambda, then v^T is a left eigenvector with eigenvalue \lambda, as well.

A snippet of code producing a counterexample:

  import numpy as np
  import scipy.linalg as spla

  A = np.random.randn(3, 3)
  right_eigenvector = spla.eig(A)[1][:,0]
  right_eigenvalue = ((A @ right_eigenvector) / right_eigenvector)[0]

  potential_left_eigenvector = right_eigenvector[np.newaxis, :]

  # if all components of the following are not the same, then it's not
  # a left eigenvector
  print((potential_left_eigenvector @ A) / potential_left_eigenvector)
  # prints [[-1.1327836 -0.j -0.14850693-0.j -1.84397691+0.j]]
philip-b··on Ask HN: Mathematicians, what textbooks are best for learning these math topics?
Remark: Optimization by Boyd and Vanderberghe is actually Convex optimization. It doesn't cover non-convex stuff.
philip-b··on Ask HN: Mathematicians, what textbooks are best for learning these math topics?
Textbooks which people on the internet consider very good:

>Group Theory

Carter - Visual Group Theory

>Complex Analysis

Needham - Visual Complex Analysis

Less confident recommendations:

>Probability

https://ocw.mit.edu/courses/mathematics/18-05-introduction-t... as a very entry level introduction. After that you might still need some textbook for more depth.

>Mathematical Logic and Godel Incompleteness Theorems

Start with ForallX by Magnus. Then continue with Computability and Logic by Boolos (don't read all chapters, check out preface to see what you need for Godel Incompleteness Theorems).

>Set Theory

Hrbacek - Introduction to Set Theory

---

I am currently developing an online course which teaches logic, set theory, and computability theory (this includes Godel Incompleteness Theorem). It uses the textbooks I've mentioned above. You can check it out at https://app.grasple.com/#/course/141?access_token=3HCK4oRipe.... Use "Fundamentals of formalization" and ignore other tracks.

philip-b··on Using spaced repetition systems to see through a piece of mathematics
I think it doesn't work in Android version
philip-b··on Using spaced repetition systems to see through a piece of mathematics
Hello Michael, I've read your 2 articles about anki. I am an avid user of anki myself and I use it for math as well.

In your 2 articles you tell about using it to understand and retain memory of an Alphago paper and to do the same for the theorem about orthogonal diagonalizability of normal matrices.

I wonder, how do you organize anki cards and in which order do you study them? Personally I put all cards in one deck and anki shows them in kinda random order, so I might get a question about convex optimization, then a question on numerical linear algebra, then a question on some dance moves. I take it you do it in a different way? Because you create many small cards for a topic I think you would spend too much time context switching if you did random order like me. For this reason I make larger cards, e.g. "Prove that for any linear operator on a finite dimensional complex vector space there is a basis such that the operator has upper triangular matrix in it"; and when preparing for an exam in institute I might even create a card "Definition, existence, uniqueness, and computational complexity of SVD". Also I think creating small cards might be bad for chunking, i.e. you won't get large chunks of all the related knowledge about a theorem and instead you will have small chunks - a chunk per card.

Another question is how do you add all this information to anki? Anki obviously sucks as an exploratory medium. I often find that even clearing up my paper notes, taking photos of them, cutting them, and putting them into anki takes a lot of time; typing it up in LaTeX is even longer. Any tips or insights here?

← PreviousPage 2 of 2