Mathematics Undergrad | https://xitter.cf/t.co/htzEGfh9hE

Joined May 2015
Math Major | Daily Diary D0057 I managed to get locked out of my LinkedIn account. To regain access they want me to take photos of myself and upload my pictures of my passport. For LinkedIn?! Please. Never touching that abomination again.
1
2
43
Math Major | Daily Diary D0057 🏁 Finally reached version 1.0 of RailCheck. 🏬 Background: two weeks ago I saw a software demo on the webpage of a company that I'm interested in. I got curious about how the different parts of the demo fit together. πŸ”¨ To understand how the different parts of the demo worked under the hood, I decided to build my own prototype - RailCheck. 🎁 There's clearly room for improvements (lots of things are still broken), but at some point I think that it's more important to take a step and ask - has the prototype achieved what it was created to do? πŸ”₯ If the answer is yes, then there is little point in shoveling more tokens into the furnace. πŸš‰ So, it's time to say goodbye to you RailCheck - I'm getting off at this stop - other projects await. We had a lot of fun together - and during those early mornings and late nights, I learned a lot. πŸš† "Doors closing! Right away."
1
68
Math Major | Daily Diary D0056 πŸ—οΈ Added a new section to my webpage - a page where I'll track my (tiny) oss (open source software) contributions. πŸ˜‚ I realized that my oss contributions, in terms of Pull Requests to other people's projects, is pretty much zero. πŸ”­ I'd like to change that, so I'll be on the lookout for fun code bases to try and contribute to. ⛩️ I like the idea that you should not contribute for the sake of it, but rather because you use something and find something which could be improved. cryptopatrick.com/oss/
1
34
Math Major | Daily Diary D0056 🐢 Just for fun, I gave an online AI application called "Requirement Quality Checker" three requirements sourced from a science fiction story. 🐱 Interestingly, two of the requirement rewrites that the agent suggested, kept phrases it had just flagged. That raises the question - who checks the checker? 🐭 I wrote a post about it here (please keep in mind, I'm just a first year undergrad who's trying to learn new things - not a Ph.D. researcher like everyone else on twitter πŸ™ŒπŸ˜€). cryptopatrick.com/research/r…
1
30
Math Major | Daily Diary D0055 πŸšƒ Just for fun, I created a "product sheet" for RailCheck - a prototype of a formal verification pipeline for AI generated output in railway signaling. πŸš‚ I recently applied to a company, asking for internships and part-time roles, and they had a demo on their webpage. πŸš‹ I wanted to understand how their demo worked under the hood, so I built my own demo from the ground up. 🚊 Even though a demo like mine is 50,000 miles away from a real professional solution - building a prototype from the ground up like this, is a fun a valuable learning experience. I've learned quite a lot about formal verification of ai generated system constraints. πŸš‰ I've created a list of features that I'd like to add, and I'll try to make small additions to RailCheck over the coming months. ⚠️ Just want to stress that RailCheck is just a fun prototype and a work in progress - it's very far from anything that should be used in a professional setting.
3
97
Math Major | Daily Diary D0055 πŸŽƒ Imagine that we ask an AI to sort Halloween trick-or-treaters into two groups; kids who get candy and adults who get a trick. πŸ“ We give the AI what we believe is a crystal clear rule: β€œLittle monsters get treats.” β€œAdult monsters get tricks.” πŸ€” "What about an adult monster who's a little short?" πŸ‘₯ There's ambiguity at play here, and neither the AI nor we humans may always perceive it, especially in cases that are much more subtle than this example. β˜‘οΈ Just because our AI correctly sorts ten cases, doesn't mean we've established who (we or the AI) it was that provided enough information to reach the performance we wanted. An eleventh, incorrectly sorted case, might surprise us. 🎲 Basically, we don't know if the AI worked out the missing context, or if we were just lucky. πŸ”¬ This highlights the importance of providing the AI with the right context, by carefully choosing words that reduce ambiguity.
1
43
Math Major | Daily Diary D0055 Adding some minor fixes to my prototype formal verification project, and learning new things. The concept of "saturation" is really interesting. πŸŽƒ For example, in the context of Halloween, imagine that we're part of an exhausted trick-or-treat squad, having checked "every" house in the neighborhood. But did we? 🏘️ Just because we've knocked on many houses, doesn't prove there's none left to knock on. 🧟 Let's assume that our young squad of professional trick-or-treaters is equipped with a list of 10 houses to visit, making this a bounded search. We also tag each house on the list with a "VISITED" tag as we "process the neighborhood for candy". 🏁 Once we've processed the street, it's easy to draw the conclusion; "That's it. There's no more candy.". We've saturated the search - having exhausted the "search space" for candidates to know on. 🍬 However, just because there's no more candy on our list of 10 houses, doesn't actually answer the question "Is there more candy in the neighborhood." 🍭 What we need is to operate under the assumption that there is an UNKNOWN number of houses with candy... at least until we've established that our search is complete and that no more candy remains to be had. πŸ§› The "danger" of bounded search aka "Let's check 10 houses for candy.", is that we might unknowingly bound our search based on our perceived dimensionality of things ("10 houses? That's a lot.") - which may or may stand in stark contrast with reality ("Wait, isn't there like 100 houses in our neighborhood?"). 🧬 A Japanese systems biologist once joked at conference; "Physicists are used to working with a handful of variables. You show them a system with 10,000 variables ...and they panic." πŸ˜‚
35
Refactored: Discipline liberates freedom.
Discipline doesn’t limit your freedom. It creates it.
14
Math Major | Daily Diary D0055 πŸ”₯ Read about Jon Barron's discovered bug in Softmax, and how "*all existing implementations* of softmax and cross-entropy (that's JAX, PyTorch, textbooks, etc) have" this subtle bug. πŸ˜… Hmm! That would include my naive work in progress implementation of JAX, that I did about a year ago. πŸ”¬ Had Claude check the source, and sure enoughπŸ‘‡ πŸ€– "I've confirmed the bug: log_softmax gives exactly 0.0 like the paper's example, and softplus's naive implementation (0 at -30, inf at 100) is the root cause." πŸš’ Me: "Okay. Let's fix that. Read the write-up about the bug and its proposed fix. In a separate branch; apply the fix to the affected areas, run all tests, performance checks, and lints." πŸŒ… What an exciting time to be a technologist. xitter.cf/cryptopatrick/status/2…
I'm doing #100DaysOfVibe DAY: 011 TITLE: "JAX-RS" URL: 100-days-of-vibe.vercel.app CAPTION About a week ago I saw someone drop a JAX version developed in JavaScript. Figured I could try to Vibe a port over to Rust. My intention is to practice three things: 1) Porting from one language to another with verified maintained functionality, and 2) Look for ways to speed up the process, and 3) Compare in terms of speed and megabyte size. So far I have only reached 1), but now I feel ready to proceed with 2) and then 3). Note: This is the largest project that I have vibe coded, landing at about 35,000 lines of code and 5,000 lines of markdown. Will continue to work on this early next year, but now I have another project that I've been working on for a while and want to complete. COVER Chappie is a movie about a robot who learns and develops consciousness over time. At the start, he’s a blank slate, but through experiences and interactions with humans he learns language, ethics, and decision-making. I figured that Chappie would make a nice cover for this 11th Vibe project. RULES 1. Vibe code a new program every day 2. Share a link to the code on X 3. Repeat for 100 days DISCLAIMER I'm not a professional programmer and the things I code are definitely *not* of high quality. These 100Days are mostly an opportunity for me to play around and experiment with AI technology.
39
Math Major | Daily Diary D0055 πŸ€·β€β™‚οΈ I'm not a content creator - in the sense of trying to grow my account to make money - but I do hope to get a few more followers (500). πŸ“¬ I post about things I find interesting, things I'm reading, and I post about my journey; getting a degree in mathematics, and landing a part-time or full-time job. That's it. πŸ€” I will never understand how people are able to investment 10+ hours a day, on posting and commenting for traffic and dollars. πŸ™Œ With that said, huge respect for people who are able to do it. πŸ§—β€β™‚οΈ I'm focused on my main career (mathematics). Twitter is just a nice distraction between prompts and pomodoros. πŸ•Ί βœ… Coffee. ⛳️ Now I'm off to the state library for seven hours of studies.
3
43
Math Major | Daily Diary D0055 πŸŒ… New day. Lot's of exciting math to study. πŸ“š I try to read as much as possible. I always have around 10 books going at the same time, and loosely follow the stack reading mindset. I pick a book from the stack, read until I lose interest, put the book at the bottom of the stack. πŸ“Ί I'm currently reading a book on Alexander Karp and heard him say something noteworthy in a video someone shared on Twitter. ⛰️ "Every single person who has shared how intelligent they are tells you how stupid they are." πŸ‘₯ I'm always assuming that people express what's on their mind - in the most Freudian of ways. 🫣 Ironically, Karp may have (unknowingly?) revealed the lasting impression Socrates’ views on epistemic humility left on him as a young philosophy student. πŸ›οΈ The original cognitive flex, expressed by Socrates in Plato’s Apology, goes: πŸ¦‰ β€œAlthough I do not suppose that either of us knows anything really beautiful and good, I am better off than he is, for he knows nothing, and thinks he knows. I neither know nor think I know.” πŸ•ΉοΈ Wouldn’t surprise me if Alex holds Karl Popper in the highest esteem, as a next level expansion of Socrates' epistemic humility. 🦊 Intelligent people leave clues. β˜•οΈ Time for morning coffee, Linear Algebra, Rust, Lean, Bend, reading up on Formal Verification in Railway, and how to Orchestrate Agents. πŸ•Ί
2
126
Math Major | Daily Diary D0054 🐍 Confession: I'm not a fan of Python. The transition from Python 2.7 vs Python 3 failed spectacularly - pretty much forking the language. πŸ“š Anyway, I realize that my opinion might be based on having skill issues, so I'm going to spend considerable time building with Python over the next two months. 🎀What's your favorite language - if you had to pick one PL to build with exclusively, over the next five years?
34
Math Major | Daily Diary D0054 ⛳️ Finished the chapter on Maryam Mirzakhani. Took notes and got an elementary understanding of: πŸ¦† Riemann surfaces and the three different classes. πŸ¦β€β¬› Moduli spaces, and the concept of genus connecting a torus with a coffee cup. πŸ¦… The challenge of counting the number of simple closed geodesics on hyperbolic surfaces. πŸ¦‰ One of Maryam's contributions: creating a "portal" between moduli spaces and the counting problem - enabling the transfer of results from one world to the other. πŸ“š The book contains 50 portraits of famous mathematicians - I'll try to read one per day. πŸ‘€ Now I'm off the the state library to do Python and LA for a few hours.
40
Math Major | Daily Diary D0054 πŸ“š Kicking off the weekend with lots of reading - got a stack of books that I want to finish before the end of 2026. πŸ§—β€β™‚οΈ My priority is to read a lot, do all my homework on time, and go the extra mile in everything that I do. πŸ“¨ Having sent off the job application in Thursday (to the company that I'm hoping to land an internship or part-time with), I now feel that I can do a quick "post-mortem", and then focus on other things (Bend, Lean, Triton, MLX, ROS2, Edge AI, Mandarin, etc). πŸ•Ί Let's Roll!
1
101
Math Major | Daily Diary D0053 πŸ•―οΈ Worked early mornings and late nights (to 3 am) in order to get a prototype working in time - for a part time job application. πŸ•ŠοΈ Sent it. πŸ›€ Waited. Not one word of confirmation. Just total silence. 🀞 Crossing my fingers that my job application will at least make its way past the ruthless ATS, and be blessed with human processing - even if it's just a... πŸ“’ "Nope. Neeext!" πŸ˜‚ Anyway, until January 2027, I'm going to focus exclusively on my math studies, and look for internships/part-time jobs. πŸ§—β€β™‚οΈ Onwards!
44
Math Major | Daily Diary D0053 At Starbucks Couple seated next to me She has been talking about *their* plans nonstop for two hours I'm thinking: <"Is there a way to turn that thing off?"> Lady, I'm trying to do my homework here. Please, show some mercy. 😭 File under: The trials and tribulations of coffeshop students
1
80
Math Major | Daily Diary D0053 Is GitHub the next LinkedIn? With AI, the need for long-running PR discussions drop, and the social side of GH is πŸ¦— . Why not open source projects right here on X? πŸ€” @elonmusk
35
Math Major | Daily Diary D0052 πŸ–οΈ Applied to Prover yesterday, asking for par-time and internship 2027. πŸŽͺ Landing an internship is my priority at the moment, but I'm also keeping my fingers crossed to find a company to do part-time hours for. πŸ§—β€β™‚οΈ Just gotta keep showing up and working hard.
30
Math Major | Daily Diary D0052 πŸ•―οΈ Having worked extensively over the last two weeks on building my naive reasoner - during early mornings and very late nights - I can honestly say that I really like logic, set theory, group theory, and number theory. πŸ”· There's just something incredibly neat about working with absolutes. 🧩 I'm going to spend a lot of time and try to improve my ability to prove things. πŸ“— This book by Vanden Eynden is really good. I've discovered it when I was reading his paper "Flipping a Coin over the Telephone" - which explores a method for making a fair coin over the telephone.
4
123