Înapoi la articole →

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 39
  1. “Right Ho, Jeeves” after Saki

    Saki (1, 2, 3)—pen name of Hecto Hugh Munro (1870–1916)—was a writer, known for his short stories that are often biting satires sometimes veering to the macabre.

  2. Tilings with Tetris pieces, and squared Fibonacci numbers

    Saw this great observation by Ruud de Rooij (via Robin Houston): Combinatorics can be a bit weird sometimes: the number of ways to arrange N Tetris pieces into a 2-by-2N rectangle is the Nth Fibonacci number squared.

  3. “tāta” in the Rāmāyaṇa

    The Sanskrit word tāta (“father”) is sometimes used affectionately for a younger person.

  4. Mahabharata text and English translations

    Just writing down what I know, for future reference.

  5. Douglas Adams on the English–American cultural divide over “heroes”

    In 2000, Douglas Adams made an interesting observation that I keep returning to.

  6. Editing a Google Sheet via an app (AppSheet)

    TLDR: I hesitate to recommend this to anyone as it’s finicky to set up and may go away, but just in case: Google Sheets has an “Extensions -> AppSheet -> Create an app” that gives an easier interface for editing a sheet from phone (stuff like updating a d…

  7. More on shuffles

    Yesterday I read a nice post called “doubly dual shuffles”, which1 pointed out something about the classic algorithm for shuffling an array (i.e. sampling a uniformly random permutation of it).

  8. Repeated verses in the Rāmāyaṇa and Mahābhārata

    The question The following verse occurs twice in the (critical edition of the) Rāmāyaṇa, and four times in the Mahābhārata: सर्वे क्षयान्ता निचयाः पतनान्ताः समुच्छ्रयाः ।

  9. Dr. Shankar's next-consonant chitrakavya

    Sanskrit has a rich tradition of Chitrakavya (roughly, constrained writing).

  10. Tom Lehrer's poem: Dissertation on Education

    Tom Lehrer got into Harvard in 1943 at age 15, and it is said that the following poem he wrote (at that age or even earlier) was his admission “essay”.

  11. AI for writing: unexpected utility

    I know that some/many people use LLMs (ChatGPT etc) for writing (emails, docs, etc), but I’ve never found it worthwhile myself, for at least two reasons.

  12. Two ways to crack a walnut, per Grothendieck

    The mathematician Alexander Grothendieck was “considered by many to be the greatest mathematician of the twentieth century”.

  13. Certifying that M_127 is prime

    Let $M_p = 2^p - 1$, so that: $$\begin{align} M_2 &= 2^2 - 1 = 4 - 1 = 3 \cr M_3 &= 2^3 - 1 = 8 - 1 = 7 \cr M_7 &= 2^7 - 1 = 128 - 1 = 127 \cr M_{127} &= 2^{127} - 1 \end{align}$$ Is $M_{127}$ prime?

  14. The sorry state of terminal support for Indic scripts (on macOS)

    This will be a quick post to collect some screenshots.

  15. Knuth's program PERFECT-PARTITION-SQUARE

    Donald Knuth has a page on his website where he sometimes posts programs he has written.

  16. Checking in with P. G. Wodehouse

    P.

  17. Notes on a translation choice

    My friends Suhas and Anusha have a book of excellent poems on love, translated into English from the Indian literary tradition (Sanskrit/Prakrit) across the centuries, coming out in a couple of days.1 The book itself is a delight (I’ve read a draft) and I…

  18. A first-class recitation of the Rāmāyaṇa

    The story Like every student of Sanskrit, I had always wanted to read the Vālmīki Rāmāyaṇa,1 but in the face of several distractions, this had always been a “To-do someday” item: I think I had not even fully read the mere 100 shlokas of the first sarga (S…

  19. Understanding xii.tex

    In December 1998, David Carlisle posted the following to comp.text.tex: \let~\catcode~`76~`A13~`F1~`j00~`P2jdefA71F~`7113jdefPALLF PA''FwPA;;FPAZZFLaLPA//71F71iPAHHFLPAzzFenPASSFthP;A$$FevP A@@FfPARR717273F737271P;ADDFRgniPAWW71FPATTFvePA**FstRsamP AGGFRr…

  20. Using pkfix to fix (some) old TeX-generated PDF (PS) files

    Here’s an arcane bit of knowledge that may be applicable sometimes: there is a tool called pkfix that can be used to improve the rendering of certain old PostScript files.

  21. Mathematical trolling: the Willans prime formula

    It has long been of interest to study any regularity in the prime numbers, a question which can be phrased as: “Is there a formula for the $n$th prime number?”

  22. Improving on Percy Ludgate's "Irish logarithm"

    A quick follow-up to yesterday’s post on the “Irish logarithm” of Percy Ludgate.

  23. Reverse-engineering the "Irish logarithm"

    Source: MJD’s blog post on “The Irish logarithm” (cites Wikipedia: Irish logarithm).

  24. Methods for factoring numbers, in the Gaṇita-kaumudī of Nārāyaṇa Paṇḍita

    The Gaṇita-kaumudī (गणितकौमुदी) is a work on mathematics written by Nārāyaṇa Paṇḍita in 1356 CE.

  25. Derangements, Dobiński's formula, and their combination

    A couple of years ago, someone on a mailing list asked for a proof for their observation that $$B_n = \sum_{k=1}^{n} \frac{k^n}{k!}

  26. The harmonic series, the "prime harmonic series", and their difference

    Harmonic series Consider the harmonic series 1+12+13+…1 + \frac12 + \frac13 + \dots1+21+31+… .

  27. Huffman versus top-down coding

    (Apologies for the rather incoherent nature of this post — I’m trying, as an experiment to push myself to post more, to “write more quickly”, so a lot of things here are not explained in a way that makes sense and some of it is even nonsensical: forget “p…

  28. Manually adding an OCR layer to scanned PDF

    (Summary: How to add an invisible text layer to a PDF containing scanned images, using an OCR tool—in this case Google Cloud Vision API—that also gives the position of each recognized word.)

  29. Solving the set cover problem: an example

    This blog post is currently a notebook on Colab (click); eventually I ought to clean it up and move it here.

  30. A sequence of integer fractions

    This blog post is currently a notebook on Colab (click); eventually I ought to clean it up and move it here.

  31. Producing a "program trace" using GDB and Python

    Sometimes, to understand what a program is doing, I’m tempted to add a log message at the start and end of every function, something like entering foo() and returning from foo().

  32. Knuth's programming and problem-solving seminars

    Looks like Knuth (and sometimes others) used to run a “Programming and Problem-Solving Seminar” at Stanford.

  33. Jon Bentley's "Programming Pearls" columns, and Van Wyk's "Literate Programming" columns in the CACM

    Jon Bentley used to write a magazine column for the Communications of the ACM called “Programming Pearls” (later collected into two books).

  34. The Letter-Box (La boîte aux lettres) by René Bazin

    While reading a beautiful post by Gowri Subramanya about birds, I remembered a story from one of our school textbooks, about a priest and his letter-box.

  35. Another blurry image puzzle

    Background Following up from a previous post, I got this: This request looks like an activity that might appeal to you, @svat ji!

  36. Breaking pills

    In a recent post, Mark Jason Dominus posed the following question: Suppose you have a bottle that contains \(N\) whole pills.

  37. History of Indian mathematics: IIT Gandhinagar (2017)

    There’s a nice series of videos on YouTube, here: https://www.youtube.com/playlist?

  38. The poem in the notepaper used for “Here Comes The Sun”

    Background One day, after a few days of managing to avoid Twitter, I logged in and happened to see these: 👆🏾@suhasm, Are you able to discern which verse it is that's illegibly rendered in the picture?

  39. Don't mess with a genius

    (Migrated from my older blog without any changes, as free wordpress.com blogs are infested with ads now.)