|
Tobin Fricke's Lab Notebook
|
|
|
| Surfwood Barn |
[Dec. 28th, 2009|10:41 pm] |
How could any photographer resist the falling-down barn below? I certainly couldn't. So I took a bunch of photos of it today; here's the gallery.
|
|
|
| Ahhhhhhhhhhhhhhhhhh. |
[Dec. 28th, 2009|11:17 pm] |
|
It would be hard to feel much more relaxed than I am right now. The semester is over, and I'm in Tallahassee, Florida, at Alex oniugnip's mom's house, where I've been for the last six days. A week is a long time to spend as a guest in someone else's household, but I don't feel like a guest here; I feel like family.
Various family members keep pointing out how thin I look -- I think someone actually used the expression "skinny Minnie" -- which is interesting, because I hadn't noticed that drastic of a change, but I suppose I'm about ten pounds lighter than the last time any of them saw me. I lost some weight while training for the race, and for some reason it's stayed off, even though I've hardly been running at all since then -- until this week, that is. Alex and I have been taking advantage of the warm weather, the copious free time, and the fact that his mom lives next door to a pretty, woodsy, swampy state park with lots of trails that looks more or less like the setting of Pogo. We did something like four miles on the 23rd, seven miles on Christmas Day, and another seven or so today. It doesn't hurt that Alex gave me some new shoes1 for Giftmas. I also received a large pile of other gifts, such as Founders at Work; that quirkyalone book; and a beautiful hat knitted by Alex's younger sister. We don't really do gifts much in my family, and I'm sort of bowled over by his family's generosity.
Aside from running, we've been sleeping a lot, eating, reading, and playing a truly unconscionable amount of Rock Band. Yesterday, though, we tore ourselves away from the PS3 long enough to visit Alex's stepdad's place of work. I'd had an inkling of what Anthony's job was before, but I'm so glad we actually went to visit. He works at a mental hospital and coordinates the efforts of several art, music, and recreational therapists, as well as leading some art therapy sessions himself. Pretty much every wall of the place is covered with dozens of drawings and paintings that patients have done in art therapy sessions, all of which have been beautifully matted and framed by Anthony. I don't mean that he, like, took them somewhere to be matted and framed; I mean that he personally built each one of the frames in his wood shop. As we walked down the halls and admired the art, he was able to tell us stories about the ones that had been done by his patients. But it didn't stop there. In the front hallway of the hospital, there were a bunch of framed photos of staff members; it had been Anthony who had taken the photos and built the frames. All of the hospital's art supplies were neatly organized; that's because Anthony had built the shelves they go on. A few rooms even have furniture that he built. Basically, he's spent 22 years making the hospital feel less clinical and more comfortable by filling it with beautiful, functional, thoughtfully handmade things. See, the thing is, that's what he does at home, too, and it was just awesome to see that this thing that he most loves to do when he's not at work is what he's essentially made his job into, too.
Being in a different household for a while has also made me take notice of the way I eat. I notice, coming from Alex's and my vegetarian household, that the kitchen here is full of meat: ham, fried chicken, turkey, pulled pork barbecue. Meat is the centerpiece of every meal. I usually think of my diet as something like "what omnivores eat, minus the meat", but after a few days of eating that way at meals, I was unsatisfied and craving food around the clock, to the point where I opened the fridge this evening and really wanted to take a big ol' bite of one of those cold fried chicken legs. That was the last straw, and I finally realized that I needed to stop relying on other people feeding me and actually make some food for myself, so I sauteed some onions and broccoli and threw in a bunch of cheese, salsa, and cooked rice. It was unsophisticated, but it was exactly what I needed in terms of complementary proteins and flavors, and I finally feel sated (and the chicken now looks unappealing again, as I was hoping it would). Yay!
- Ordinarily, I don't have much in the way of brand loyalty, but I will say that these are my second pair of Brooks, and so far, I've liked them better than any other brand of running shoe I've tried. It may help that running shoes are the only kind they make as a company, as opposed to companies who are making shoes for twenty different sports.
|
|
|
| Also convergence |
[Dec. 28th, 2009|07:37 pm] |
|
This is, surprisingly, rather like futurebird's post immediately below. I'd like to prove or disprove that if f_n is a sequence of functions in L^2[0,1] whose 2-norm goes to zero, then f_n(x) goes to zero for almost all x. I seem to remember that there's a counterexample, but I can't remember what, in fact, it is. Ideas, hints or blatant solutions? Thanks! |
|
|
| Convergence |
[Dec. 28th, 2009|11:35 am] |
I'm trying to better understand convergence so I made upa problem for myself based on an example from class. I want to know if I'm answering my own questions correctly.
Define a sequence of functions fn(x) = 1 if x is in {r1, r2, ... , rn} and 0 otherwise. Where r1, r2, ... , rn are the first n rational numbers in some enumeration of all rational numbers. fn converges pointwise to the dirichlet function. But, can we say anything else about how fn --> f?
Uniform Convergence Given e > 0 is there an N such that when n > N |fn - f | < e for all x? No. Just let e=.5 we cal alays find an x value where |fn - f | = 1. That is, a rational number that has not yet been listed by the time we reach n.
Convergence in Measure Yes. The measure of the set where f and fn are not the same is *always* 0.
Almost Uniform Convergence Yes. If we let A, the set of measure less the any e where uniform convergence fails be Q, the rationals I think we have almost uniform convergence. since m{Q}=0 < e for all e > 0.
Convergence in LP Yes, the Lp norm of the fn and f is always 0 anyway.
|
|
|
| Boat parade |
[Dec. 27th, 2009|11:54 pm] |
We don't have snow or reindeer or (native) pine trees in Orange County, but instead, every year for the past 100 years or so, the boats of Newport Beach have paraded around the harbor at Christmastime decorated in lights. Many of the big expensive houses on shore are also decorated, and throw private parties to rival the public party going on a few feet away on the boardwalks.
My photos from this year's event are now online; they also include a bunch of shots of the kids (and one or two of me!) that I took for our annual Christmas card, with a gorgeous sunset over Catalina as backdrop.
Merry (belated) Christmas, all, and a happy New Year!
|
|
|
| fireflies in javascript |
[Dec. 26th, 2009|12:53 am] |
As my christmas eve coding project (and second toy javascript project), I wrote up a little firefly simulator. The idea is that you have a collection of "fireflies" that blink at regular intervals. The time until each firefly's first flash is chosen randomly, so there is no order to their pattern of flashing. However, by some protocol, the collection of fireflies synchronizes themselves so that they all flash in unison. Here's the protocol:
- Each firefly has a "charge" that builds up at a regular rate.
- When that charge exceeds some threshold, the firefly flashes and its charge is reset to zero.
- When a firefly observes the flash from another firefly, it gets a little increment of charge.
Rule #3, I am told, will lead to synchronization of the group.
You can imagine my implementation. Each firefly is an object. It sets an alarm to go off in the future, at the time it's supposed to fire. When it does fire, it sends a message to all of the other fireflies. When a firefly receives such a message, it resets its firing alarm to go off just a little bit earlier.
Unfortunately, it turns out that Javascript in Safari on this G4 machine is just too slow for this to work except for the smallest collection of fireflies (less than 100). This all seems kind of sad, because a 1.5 GHz PPC provides an outrageous amount of computing power. I hear that Google Chrome actually has a just-in-time compiler that might make Javascript useable, but alas it is not yet available for this architecture.
Anyway, I will let you critique my Javascript since I am a complete N00B at it.
( code )
Frankly, I'm still a little bit confused about what the JavaScript new operator does. Copy obj.prototype into a new object? |
|
|
| Friday Puzzle #29 - SudokuCup - more examples |
[Dec. 25th, 2009|10:09 am] |
The instruction file will be out soon, but here are the last examples I've written to complete the test files (for Tight-Fit, Extra Space, and 3D Sudoku puzzles I've used past fitting examples already posted on this blog). Its shaping up to be a great test, and will be my main argument (if its well received) for why I should be constructing puzzles in April for Philadelphia even though I'm a favorite if I choose to compete.
Sudo-Kurve: Write a single number from 1 to 9 in each cell such that each number appears exactly once in every row and bolded box. Unlike a standard sudoku, the rows here sometimes bend along the indicated curves. Each row contains exactly 9 cells. (Note: the actual puzzle will use a different geometry than the example, but the concept of "bending rows" will be the same.)

Outside Sudoku: Write a single number from 1 to 9 in each cell such that each number appears exactly once in every row, column, and bolded 3x3 box. No clues appear in the grid; instead, numbers appear around the edges of the puzzle. Any number given outside the grid indicates that that number must appear somewhere in the three closest cells in the row/column that the clue appears in.

Thermo-sudoku: Write a single number from 1 to 9 in each cell such that each number appears exactly once in every row, column, and bolded 3x3 box. Bent thermometers appear in the grid. In all cases, the numbers appearing in the thermometer must be strictly increasing from the "bulb" of the thermometer to its end.
 |
|
|
| Set theoretical fun (yes, this is how I'm spending my christmas morning...) |
[Dec. 25th, 2009|10:25 am] |
So I'm reading Kanamori's book "The Higher Infinite" and a statement he deems to be too obvious to merit proof is giving me a bit of trouble. LJ perhaps isn't as busy as it used to be a few years ago, and considering that set theory is rather esoteric even within mathematics, I'm perhaps being a bit optimistic to post this here, but still, if you don't try you'll never know...
The statement in question is Lemma 11.8 (a). ( Read more... ) |
|
|
| panda PANDA PPPAAANNNDDDAAA!!! |
[Dec. 23rd, 2009|10:30 am] |
Nick Hornby, one of my favorite authors, wrote in one of his essays tracking his book buying/reading that where and when you read a book can influence your enjoyment of it as much as the book itself. Reading a good book at a bad time in your life, distracted by work or bad lighting or a long layover in an airport, can keep you from the proper enjoyment of it.
Well, I take the lesson to heart in a lot of venues. The 10-pair semifinal sudoku (#3) in Zilina this year was really incredible, and stood out by far as the best puzzle there, but it is forever stained from the fact it was part of a "semifinal" in a "competition" with "sudoku".
So, as I was flying back to Buffalo yesterday, I had very low expectations for the in-flight movie. In-flight movies are meant to be bad films, because the viewing experience is so poor and you wouldn't want to ruin a quality work with the viewing experience, the need for cuts and censorship, etc. So, typically the film is some nonsensical, tapioca, forgettable romance featuring Sandra Bullock. Fortunately, All About Steve wasn't the choice here (and I would never watch that film even on an airplane).
The film was "(500) Days of Summer", and I expected the typical storytelling that would catch my interest for all of 5 minutes. What I got instead was something that was incredibly fresh, conceptually well-executed, and fun despite the horrible viewing and listening experience of a United economy cabin. It comes highly recommended from me.
One of my favorite unintended moments though certainly came from the sanitization of the film for the airplane. I was a bit confused for awhile during a park scene where the two leads, after little set-up, started to progressively say "panda" in louder and louder tones, drawing the attention of those around them. Panda. PANDA. PANDA!! PPPAAAANNNDDDAAA!!! To use the language of the censored film, the scene was total malarky with the change. I'm left to wonder if I would have watched or enjoyed the film as much if it weren't on the plane in this form, but I'll be buying it for real when I can so we'll see. Even with the malarkies turning into the BSs they were meant to be, and the 5-letter P word substitution to the bothersome one, it should last as a great film. |
|
|
| All would be forgiven. |
[Dec. 22nd, 2009|02:35 am] |
|
Earlier today, as Alex onigunip and I were driving home from Chicago, I was complaining to him about how the folks we'd just been to visit1 did a better job with furniture and household-maintenance tasks than we did. My complaints included things like "We've had a non-working lamp in our living room for six months" and "Our table is rickety and only seats four, making it impossible to have more than two people over for dinner simultaneously". To rectify this, Alex has started a wave2: "things to do to the house".
So far, the only thing on his list is "install taco dispenser".
This is basically why I love him.
- They were my sister, Maya
leadsynth, and two old friends from college, Rachel and Nick. Other people we saw on the trip included Matt Bone and Pam catechism. It was awesome.
- The best part of Google Wave is that you get to press a button that says "New Wave".
|
|
|
| LaTeX continued fractions |
[Dec. 20th, 2009|04:24 pm] |
In LaTeX, is there way to define a custom continued fraction formula \mycfrac{an}{bn} with a single continuous zickzack fraction line?
I am not quite satisfied with this code
\textnormal{\LARGE K}_{n=1}^\infty \frac{\left.a_n\right|}{\left|b_n\right.}
which gives me  |
|
|
| Year of Succeed |
[Dec. 19th, 2009|03:58 am] |
The last thing I had to do for the fall 2009 semester was an epic 48-hour take-home final for B522. I think I was able to work out almost everything, but the very last part of the last question had me stumped. It was an "Is it possible to produce a term of type X in language Y, and if so, what would one such term be? If not, then would having a value of type Z on hand make it possible, and if so, what would one such term be?" sort of question. I was able to figure out that the answers to those questions were no and yes, respectively, but damned if I could actually work out what the term would be. I tried for hours. When I finally went to turn in the exam yesterday with the problem still unfinished (I had written something flippant, like "Yes, you can produce a term of the given type, but I can't"), two of the other students from the class were there, and none of us had managed to figure it out. Then Amal showed us a (gigantic) term that would have been a correct answer, and I was actually pretty relieved -- first, that what I had managed to figure out had been correct as far as it went (and, in fact, that I had even been correct in my understanding that said mysterious value of type Z corresponded to a proof of the excluded middle law), and second, that the answer wasn't actually something incredibly short and cute. I mean, I don't feel nearly so bad about not getting it now!
So, as of yesterday, I'm done for 2009, for some value of "done". With three semesters down, I'm now just one course away from being finished with a master's degree.1 (A full graduate course load is three per semester, but you need ten courses for the master's. That's how they get you.) After having spent most of the spring semester hanging on by my claws, it was a relief to find that things went much better this fall. For most of the time, I was standing firmly up on the edge of the precipice instead of hanging down into it by my claws. And my grades, as they trickle in, seem to be fine; evidently the final exam for my AI course went, um, just as badly for everyone else.
No rest for the wicked, though. Over break, I need to read some papers and start hacking Coq in preparation for the research project I'm doing with Amal in the spring. We're hoping to get a paper out by May, and there's a large amount of stuff I need to get up to speed on in order to make that possible.
- I'll end up having to continue taking courses next fall, though, due to unfortunate scheduling and nonsensical distribution requirements.
|
|
|
| life in javascript |
[Dec. 19th, 2009|01:37 am] |
My little project for this evening was to implement Conway's game of Life in Javascript, using the <canvas> element to display the life universe. Basically this is just a "Hello, World" so that I can learn this newfangled JavaScript thing (these days I only program in Matlab).
http://www.phys.lsu.edu/~tfricke/notebook/2009/12/19/life.html
It's implemented in the naïvest possible way. The 2d grid is stored as an Array of Arrays of booleans. It's kind of slow. The canvas element makes Javascript seem like a good way to rapidly make little visualizations.
Does the fact that all computers now ship with a Javascript interpreter make it the BASIC of the 21st century? |
|
|
| conferences |
[Dec. 18th, 2009|05:52 pm] |
Maybe I'm just attending the wrong conferences. What have been the most interesting conferences that you've attended? What has made them good?
The best conferences I've attended have been one-offs, or at least one-offs for me. They seem to be boring the second time around.
I enjoy being an outsider. The learning curve is steeper.
The best talks are usually short ones, status updates by people doing stuff. "Works in progress".
I like coming away from a talk feeling like I understand something new. Isn't that the point of listening to talks? It seems kind of rare. Best is when I come away with a new theory, language, model, or other sort of toy that I can immediately begin playing with on my own.
I enjoy conferences where I run into people I know, or get to know new people.
I'd really like to attend a conference where the talks are tutorials of all sorts of miscellaneous subjects from all of science.
I'd like to go to a conference where people at the conference are working together to accomplish some interesting task over the course of the conference that leads to collaboration and discovery. |
|
|
| feedforward and feedback for conference talks |
[Dec. 18th, 2009|05:39 pm] |
Too often conference talks are boring. Often this is because they miss the most appropriate level or angle for the target audience. Rarely do conference speakers receive effective feedback about their talks. At most conferences I attend, everyone has a laptop computer. I propose that conferences adopt a cool web interface to provide feed-forward to speakers before the event and feedback afterwards.
1. Before the conference, the agenda will be available, including a list of participants, the topics they intend to speak about, and the topics they want to hear about. At some point, speakers will refine their topic into a specific abstract. Based on comments posted by other participants, the speaker will have an idea of how technical (etc) their talk should be.
2. During/after the conference, listeners can use the web interface to give constructive feedback about talks, and discuss the subject matter.
I guess this is what "unconferences" try to do, almost always using a Wiki. I've never seen it actually work, so maybe it's not such a good idea. Maybe the use of computers to mediate the process is antithetical to the intended result (socialization). |
|
|
| Friday Puzzle #28 - Sudoku Cup 3 - Even More Examples |
[Dec. 18th, 2009|12:03 am] |
A sudoku competition should have some good classic sudoku. My Sudoku Cup will have ~3. While it reuses a pattern I made earlier this year, the example (of comparable difficulty) being in the shape of "Sudoku Cup 3" made sense:
Classic Sudoku: Fill in each cell with a digit from 1 to 9 so that no digit is repeated in any row, column, or 3x3 box.

A couple years ago, before I fell in love with Arrow Sudoku, my favorite variants were Consecutive and Nonconsecutive Sudoku. I never saw too many with fun patterns, so Wei-Hwa and I experimented with this in Mutant Sudoku. Here are examples for each type (even though the same rule applies for both).
Consecutive/Nonconsecutive Sudoku: Fill in each cell with a digit from 1 to 9 so that no digit is repeated in any row, column, or 3x3 box. If two numbers in horizontally or vertically adjacent cells are consecutive numbers (ie 1 and 2 or 5 and 6), then a gray bar marks the boundary of those cells. If there is no gray bar, then the digits CANNOT be consecutive numbers.

 |
|
|
| (no subject) |
[Dec. 15th, 2009|07:27 pm] |
|
Halfway done with the worst month of my life. |
|
|
| navigation |
| [ |
viewing |
| |
most recent entries |
] |
| |
|
|