20250330

CFG in SSA form A CFG in SSA form is a representation where each variable is assigned a value only once within the CFG, and each use of a variable refers to the most recent definition, ensuring simpler analysis and optimization. CFG: control flow graph SSA: static single assignment A CFG is a graph that represents the control flow of a program. Nodes in the CFG represent basic blocks (sequences of instructions that execute sequentially without branches), and edges represent the possible execution paths between those blocks. ...

March 30, 2025 · 3 min · un01s

sound advice and others

this is a good piece of advice for investment. it was written in November 2014 by Jason Zweig. I was once asked, at a journalism conference, how I defined my job. I said: My job is to write the exact same thing between 50 and 100 times a year in such a way that neither my editors nor my readers will ever think I am repeating myself. That’s because good advice rarely changes, while markets change constantly. The temptation to pander is almost irresistible. And while people need good advice, what they want is advice that sounds good. ...

March 23, 2025 · 11 min · un01s

the face of war and others

Martha Gellhorn How did I come across Martha Gellhorn? It was a search of politics and coward to bring her quote as follows. Chuck Schumer, current Senate minority leader, is a coward like many others. Politics really must be a rotten profession considering what awful moral cowards most politicians become as soon as they get the job. – The Face of War Then other quotes are so good. Add it here. ...

March 19, 2025 · 3 min · un01s

design of a product and others

design of a product To design a successful product is an iterative process. How to get it right? Here are two pieces of advice. One is from the Gmail creator Paul Buchheit. What’s the right approach to new products? Pick three key attributes or features, get those things very, very right, and then forget about everything else. Those three attributes define the fundamental essence and value of the product – the rest is noise. For example, the original iPod was: 1) small enough to fit in your pocket, 2) had enough storage to hold many hours of music and 3) easy to sync with your Mac (most hardware companies can’t make software, so I bet the others got this wrong). That’s it – no wireless, no ability to edit playlists on the device, no support for Ogg – nothing but the essentials, well executed. ...

March 14, 2025 · 7 min · un01s

Personal Renewal by John W. Gardner and others

Notes: John W. Gardner was the Secretary of Health, Education, and Welfare under President Lyndon Johnson, an activist and author, and recipient of the 1964 Presidential Medal of Freedom. This speech was delivered to McKinsey & Company on November 10, 1990. Speech Transcript I’m going to talk about “Self-Renewal.” One of your most fundamental tasks is the renewal of the organizations you serve, and that usually includes persuading the top officers to accomplish a certain amount of self-renewal. But to help you think about others is not my primary mission this morning. I want to help you think about yourselves. ...

March 3, 2025 · 20 min · un01s

no-std Rust and others

ugly code Perfect code doesn’t guarantee success if you haven’t solved a real problem for real people. Pursuing elegance in a vacuum leads to abandoned side projects or frameworks nobody uses. By contrast, clunky but functional code often comes with just the right compromises for quick iteration. And that in turn means a lot of messy code powers products that people love — something that’s a far bigger challenge. Are you shipping a product and racing to meet user needs? Or are you building a reusable library or framework meant to stand the test of time? ...

February 20, 2025 · 3 min · un01s

Enron trader, quantitative research, and others

Enron story Enron was founded by Kenneth Lay in 1985 in Houston, Texas. It started in energy, commodities and services. The company filed for bankruptcy on Dec 2, 2001 while employing about 20,600 staff with a revenue of $100B in 2000. Enron scandal was the biggest audit failure. John Arnold was born in 1974 and growed up in Dallas Texas. He graduated in 1995 from Vanderbilt University with a degree in math and economics. He was former Enron executive. He made three quarters of a billion dollars for Enron in 2001 and was awarded a bonus of $8 million. His firm, Centaurus Advisors, LLC, was a Houston-based hedge fund specializing in trading energy products that closed in 2012. ...

February 15, 2025 · 4 min · un01s

how venture capital works

how VC works? where VCs get their money, a high-risk asset? The job of fund managers is to ensure that giant pile of money grows. At the lowest end, it needs to grow in line with inflation, 9% annually in US for example. VC is spread-betting across a large number of startuos. They are trying to deploy a fund into a set of startups that matches their hopes, dreams and ambitions. Ultimately, there are just two goals. The lowest possible goal is to return the fund. ...

February 10, 2025 · 3 min · un01s

some quotes on truth, time, and others

“Only those who have the patience to do simple things perfectly will acquire the skill to do difficult things easily.” – Friedrich Schiller “The truth is generally seen, rarely heard.” – Baltasar Gracian “Conquer yourself rather than the world.” – Rene Descartes “One should use common words to say uncommon things.” – Arthur Schopenhauer “Hang on to your youthful enthusiasms – you’ll be able to use them better when you’re older.” – Seneca ...

February 7, 2025 · 2 min · un01s

20250206

How to use an captcha image as a sing-in and verification button without JavaScript? <input_type="image"> this image supplements the <input type="submit"> element. Click the image submits the form with two query parameters included: ?x=32&y=48. Using CSRF tokens, the server knows where it put your open circle. Other sites implement the Captcha in other creative ways. One uses an <input type="range"> to position an image to the correct place. The most impressive one uses a series of checkboxes positioned in the exact same place. When a checkbox is checked, that box is hidden and the next one is shown. Based on what box is checked, images are repositioned with CSS. You then type the parts of the URL that have stars covering them in the scrambled image — another anti-phishing strategy. ...

February 6, 2025 · 1 min · un01s