I love that line.
Tomorrow is a euphemism for neverI love that line. Python is a great languageI am using Python right now to experiment with a new idea. My friend Greg proposes that there be a stronger link between the file system and the Internet, the cloud, accessible from anywhere. And that’s what I am testing out right now. I am typing this in VIM, on Ubuntu, into a text file. I will run the command The hard problem, of course, is concurrency. If I change the blog over the Wordpress interface, how do I update the file on my computer without something breaking? The text file must pull the changes. Should it check every minute? Every day? As I open the file? Also, how does the computer know that this text file corresponds to a specific blog post when I edit, as opposed to a brand new post? Possible solutions are to create a file with metadata associated with this text file (problems with keeping it up to date), or changing the text file to include the id number (ugly). The solution is not difficult. ScientistsIt’s tragic that scientists exist. People often think that science is about chemicals in test tubes and electricity flowing through big coils and massive explosions. This is not science. Science is grounded solely in the Scientific Method. That is why I think it’s tragic that scientists exist. We shouldn’t have to categorize people who test and verify into an entirely different population, occupation. Everybody should be testing to see if what they assert is actually true. Everybody should constantly question themselves and the world around them. Instead, since people do not, society needs to go through great lengths to train, test, and certify that someone follows these patterns of thought. The process takes years, costs money, and excludes potential scientists who don’t want to go through the approval process. It’s inefficient, but partly necessary since people don’t regularly approach questions scientifically. No, science is no special magical talent. It simply requires that you question the next thing you say. Generalize it, test it, question it, and continue to question it. That is science. Investment Banks Fake SincerityI think Investment Banks do some good things for the world. I disagree with how they sometimes view the world and interact with people. They can become dishonest and empty. I received the e-mail below from JP Morgan today. It’s a standard invitation to apply to one of their leadership programs. I’m probably on some big list of theirs. This is all fine, except that this recruitment manager claimed she “wanted to personally tell” me about the program. This is a lie to feign sincerity. There is nothing personal about this message.
There are several telling clues. First and very obviously, I’m not in the To: line. In fact, there is no To: line. That’s because this manager probably BCC’ed a huge list of students. The point of BCC is to not let the recipients know to whom else the message was sent. She wants to hide the massive number of people she personally invited. In a personal e-mail, you would never BCC the recipient. Second, it doesn’t say Hi Joseph, Hi Mr. Perla, Hi Joseph, or any variant thereof. It’s the generic “Hi” you use when addressing a large group. Adding my name would have been pretty easy, but it seems she didn’t even take the trouble of this modicum of effort. Finally (fixing this would be really putting forth extra care), the body of the message says nothing specific to me. Nothing about my major, nothing about my interests. I’m glad she looks forward to seeing me on campus, but I’ve never met her. In fact, she wrongly assumes that I could be having a good semester (I’m taking the year off). Now, maybe I-Bankers have a different definition of “personally”. Maybe, I-Bankers define personally inviting someone as mass-mailing an indefinitely large group a short generic message plus an attachment from their own Outlook. “I used Outlook myself on my computer. I didn’t have my secretary do it: it’s personalized.” Personally, I have a problem with that definition. ——————————————————— Hi, Best, How to Ace an IQ TestI was researching intelligence quotient and IQ tests on Wikipedia. I stumbled upon, as one always does on Wikipedia, an interesting kind of IQ test: Raven’s Progressive Matrices. It had a link at the bottom to an iq test: http://www.iqtest.dk/main.swf. It’s pretty interesting. I recommend you check it out. You know how I feel about IQ tests. So, I decided to figure out how it works. It’s actually pretty simple. I think that anyone smart can follow my simple tricks and figure out how to get a perfect score pretty easily and well under the time limit of 40 minutes. Raven’s Progressive MatricesThe puzzle is very simple, and does not even require much explanation. It simply shows you a 3×3 (or 2×2) matrix of black-and-white symbols. The lower right corner is not filled in, but the rest are. You are supposed to deduce the pattern and figure out what should most logically fill the lower right corner. For example: What would go in the “?” spot? Good, a “)”. That’s a pretty simple pattern. They get much more complicated, but they still are all based on just a few basic rules. Please note that I made up all these terms. You don’t know which kind of matrix a given matrix is, but you can figure it out pretty quickly. RulesMomentumLook at problem 2 on the iqtest.dk site. That’s momentum. If the first symbol and the next symbol look the same, except for one little thing moves or changes or adds to itself, and then it moves or changes or adds to itself by the same amount on the next symbol, then that’s momentum. Just follow that. Example: The answer: {{{. Note that this rule can become less obvious if there is what I call “carry”. That is, if the symbol itself is a little 3×3 matrix, and you “move” to the right, then some of the elements will fall out of the little matrix, so then you must “carry” them over to the next row of the litle matrix. Set CompletionLook at problem 8 on iqtest.dk. That is simple set completion. Think of each symbol having a number of properties: size, color, shape, etc. If you can’t sem to follow a progression like you can in Momentum, but it just looks like a bunch of random, but somewhat related things with similar properties, then the problem can be set completion. I can best show you this in an example (use your imagination about the shapes): You need to complete the set of shapes on the last row. Notice that the last column also needs to complete the set of shapes (the diagonal too in this case, but that’s not always the case). A common property of set-completion that makes this kind of problem much easier, is to look at the triangles made. Notice:
and
and
Obviously, the ? should be an O. Set-completion is simple, if the first row has a red, white, and blue, and the second has one red, one white, and one blue, make sure the third has one of each. This can get more complicated because you can have multiple properties, shapes and colors etc, all compounded on each other. But, if you just find the triangle, this problem is simple. CompositionIf one symbol looks like the other two put together, then it is just composition. You just have to figure out in what way it should be put together. Maybe the rule is, always put it on the inside of the first. Maybe it’s, always put it on the outside. Whatever it is, this one is usually pretty easy. I won’t even give an example. Question 30 uses composition. SubtractionSubtraction is much like composition, look for one thing looks like the other two put together, but with a twist. The subtraction could be complete, just one shape minus the other. Or it could be XOR (exclusive-or). You take two symbols, and take out the lines which are in one, but not the other. Example: Answer: | | FunctionsIf the first symbol in a row looks like the last symbol, but the middle symbol looks weird or especially if it’s a line or arrows or something simple, then that middle symbol might be a “function.” By function I mean something that geometrically transforms the first symbol into the third symbol. The function is not necessarily intuitive, but usually makes sense in terms of what the function symbol looks like. In the same example I used above, the vertical bar “|” is a function that reflects the first symbol horizontally over itself, like a mirror. What’s interesting is that you can apply one function to another function. So, you might apply a rotation function with a flipping function, flipping the rotation function, creating a function that both rotates and flips. Pretty cool. ReplacementReplacement is where they trick you. The rule might be very simple, but it becomes very hard to figure out quickly, because the elements inside the symbol change for arbitrary reasons simultaneously. Question 25 is an example of movement with replacement together. CommonalityFinally, if all the symbols look randomly chosen with a bunch of properties and possible configurations, then start to look for commonalities. Don’t look for a 1.2.3. pattern like movement, just look for rules that each symbol has in common. For example, say that each black element should be on top of a white element in exactly one symbol in each row. This can be difficult, but is easier if you know that it’s none of the other rules, and you are looking for a commonality, not a progression of patterns. Once you have some rules, start ruling out answers until you find a final answer. Question 26 is an example. Putting it all togetherSkeptical that the answers are so easily based on the rules above? They really are. What makes the difference between an easy and a hard problem is that a hard problem will use multiple rules together. Fortunately, using multiple rules together usually doesn’t make it much harder to figure out as long as you systematically think through these possibilities. If you are having trouble with a problem, you should stop, take a deep breath, look back at the matrix as a whole, and then think through each of these rules and rule them out or use them as appropriate. All matrices follow one or more of these rules. On the iqtest.dk site, the lowest score you can get is “below 79″. The highest you can get is “above 145.” The answers to all of the questions I put below, along with an explanation referencing the rules used to get the answers: D Come on (momentum?) SoI think I will write a program that creates Raven Progressive Matrices dynamically. I think that would be really cool, and probably useful for some psychologists. I just discovered that Dr. Raven has a website with links to papers describing the inner workings of the Matrices: http://www.johnraven.co.uk/pubs/pubs.html . I guess that might have made my job a little easier. IQI was eating in the Center for Jewish Life at Princeton the other day last Spring. I was eating with Chris, who was introducing me to his friend Yue. He’s a brilliant guy who had taken Graph Theory the year before. We were asking him questions about a problem that troubled us. I was interested, so I asked him why not. Yue said that he thought his intelligence quotient was a measure of his true intelligence, so he did not want people to know it. I thought that was very odd. First, I thought it interesting that he places so much value in reliability of the WISC (Wechsler Intelligence Scale for Children) to measure a “true” intelligence of himself. I also thought it was odd that he would freely talk about his SAT and GPA, but not his IQ. IntelligenceThe WISC doesn’t measure intelligence any better than a fair history exam on a period you should have studied can. The originator of intelligence tests was Alfred Binet. He created and administered them to identify children who were behind and may need remedial teaching in order to catch up. It’s only other people who corrupted the idea of an “intelligence quotient” and turned it into what people now think is a strict measure of “intelligence.” Binet even denounced using an “intelligence quotient,” saying that
It makes no sense that the broad array of human mental feats can be summarized into a single dimension, one number, which you can use to line people up like you can line up people by height. Your mind is not a piece of string that can be measured. It is unfathomably complex. You, a person, are smart because you can think about the world: guess about it, change it, poke it, run away from it, and create it as you please. You are not smart because you can recite five letters backward within the allotted time. Still, a lot of smart scientists, who have high IQ’s and are proud of them, try to justify their importance. Some put forth an idea of g, a general intelligence factor which they claim IQ tests, among others, approximate, even if they do not measure it perfectly. They show through studies that g displays a strong correlation with grades later in life. Of course, they disregard cultural bias in testing, and correlations with the affluence of parents which itself is strongly correlated with high grades, or if they don’t they try to “factor in” the effect in statistically corrupt ways. Stephen Jay Gould, in The Mismeasure of Man, delivers probably the most painful beating of IQ proponents’ ideas. SAT & GPAAt best, IQ can be shown to be a predictor of grades. But that is the purpose of the SAT: to predict grades for college. And, in fact, the two are more than 80% correlated: http://en.wikipedia.org/wiki/IQ#Other_tests . Which is why I found it strange that Yue wouldn’t talk about his IQ, but would his SAT. Even more strangely, since his IQ is supposed to predict his grades, his actual GPA reveals much more than his IQ. In fact, in a broader sense, even if you believe the rubbish about IQ, the GPA is much more revealing. The GPA tells you more about how you can complete assignments on time, and how much extra (or not) you will do to do well. It is a much better predictor in how hard you work in life, which is really what matters. Life, not a square in a circle with a dot in it. Of course, your GPA is just another number that doesn’t describe how hard you worked to prove that last problem on your Mathematics take-home final, or how many hours you spent looking for information in dusty books that nobody every summarized quickly on Wikipedia. But that’s another discussion. SoI feel bad for the people with relatively high IQ’s who still don’t understand the right amount of value to place in an IQ. It’s all the people in MENSA who keep the idea alive. I think Yue had one thing right when he said, “Wow, the people in MENSA all join because they are insecure about their intelligence.”* * I apologize to all the people in MENSA. It’s just a joke. More reading: Move inI moved into the Bridgewater-provided housing yesterday on Fairfield Beach. Mouse over or click for captions. RobotFor my Physics 210 class, my team and I built a self-balancing robot. It stands on two wheels, and constantly adjusts itself so that it does not fall over, like a Segway. Building something that moves by itself and reacts to its environment is fun and very cool. The link to our final project report is below: Fall 2006Below is my schedule for the Fall 2006 semester. ORF 309 is Probability and Stochastic Systems, and a requirement for the Engineering and Management Systems and Finance certificates. Art 210 covers Italian Painting and Sculpture. PHY 209 is a Pass/Fail seminar on Computational Physics, so it should be a very relaxed, fun class. My last Computer Science prerequisite is COS 217, covering the fundamentals of low-level computing. A more fun COS class will probably be COS 402, Artificial Intelligence. Finally, I’m taking PHI 203 for broadening my philosophical knowledge. The course is entitled Epistemology and Metacognition. ClassesMy tentative classe schedule for my next four years here is now up. I am signing up to major in Computer Science in the B.S.E. program here, while keeping the option to switch to Operations Research and Financial Engineering by taking those required courses simultaneously. I’m also looking at a mathematics, computing, robotics, and Woodrow Wilson school certificates. PutnamThe William Lowell Putnam Math Competition is an incredibly difficult 6-hour mathematics examination for college students. Last December, over 3500 undergraduates from across the country, most of them majoring in math, sat for the test. Of them, most receive 0 points of a possible 120. Nobody has ever achieved a perfect score. SCGPrinceton’s new Student Course Guide was released recently. I made that in some spare time, updating often to make it easier to use and more functional. It sports over 2000 courses and even more sections, with over 5000 potential users all interacting to help each other. I’m guessing that the new SCG will accumulate many thousands of reviews. For now, everyone seems to appreciate it. Lehman BrothersThe Princeton Pre-Business Society took a trip to New York City to visit Lehman Brothers. Avenue QI saw Avenue Q tonight on Broadway. Princeton subsidized the trip, so I only paid $25 to go and see it. The show has its highs and lows, but mostly funny. Hard WeeksI may have over-extended myself this week. Details coming soon. Snow DayFirst WeekThis first week has been very, very hard. I have to go work now, too. Hopefully, I can get more sleep and write more next week. Spring ClassesWoohoo! Spring classes have started! DistancesThe Princeton Registration website just updated where my classes will be. Here are my classes again: Final ExamsI took my last final exam of my first semester here, MAT 201 Multivariable Calculus. It went pretty well. I’m glad to be doen with exams, although it means I have only three and a half more years here. Spring 2006 |
Books My Amazon Wishlist Favorite PostsYCombinator Application GuideTelecommunications Font Comic: Attempt #1 Returns year 2 Why Plant Rights? Popular PostsCapturing frames from a webcam on LinuxCapturing frames from a webcam on Linux Capturing frames from a webcam on Linux Capturing frames from a webcam on Linux Capturing frames from a webcam on Linux Capturing frames from a webcam on Linux Capturing frames from a webcam on Linux Capturing frames from a webcam on Linux Capturing frames from a webcam on Linux Capturing frames from a webcam on Linux Capturing frames from a webcam on Linux Capturing frames from a webcam on Linux Capturing frames from a webcam on Linux Capturing frames from a webcam on Linux How to Ace an IQ Test How to Ace an IQ Test A Clean Python Shell Script Learn 100 digits of pi at lightning speed BankOfAmerica.com > Mint.com Recent PostsApple's amazing customer support systemPoem #0 Hot Stock Tip #0 Labmeeting rocks Log Reader 3000 A Clean Python Shell Script Recent CommentsAndres Garcia: <p>Hi, im looking for “capturing images using Python under windows”, where can i fi... Andres Garcia: <p>Hi, im looking for “capturing images using Python under windows”, where can i fi... Andres Garcia: <p>Hi, im looking for “capturing images using Python under windows”, where can i fi... Andres Garcia: <p>Hi, im looking for “capturing images using Python under windows”, where can i fi... Andres Garcia: <p>Hi, im looking for “capturing images using Python under windows”, where can i fi... Andres Garcia: <p>Hi, im looking for “capturing images using Python under windows”, where can i fi... Categories
Follow |