![]() | You are viewing Log in Create a LiveJournal Account Learn more | Explore LJ: Life Entertainment Music Culture News & Politics Technology |
Mike LinksvayerFriends | ||
|
You are viewing the most recent 20 entries November 15th, 2009November 14th, 2009fare @ : You're invited to my Birthday Party! Next Saturday November 21st 2009, from 2pm to 10pm, I'll have a late house-warming party and an early Birthday party, in Cambridge Massachusetts, and you are cordially invited.
112 Thorndike St #2, Cambridge MA 02414 Sorry for a late notice. Please RSVP with number of guests. Tags: birthday, boston, en, party crasch @ : It’s Time to Legalize Drugs Original: craschworks - comments Via the Washington Post:
crasch @ : A Radical Solution to End the Drug War: Legalize Everything Original: craschworks - comments Via Esquire
crasch @ :
Original: craschworks - comments Ólafur Arnalds - Ljósið (Official Music Video) Tags: uncategorized fare @ : Stolen Concept of the day: "Social Contract" "Social contract" theorists try to replace universal natural law with arbitrary social constructs, but start by stealing the very concept of contract from the framework of natural law that they are claiming to do away with. If there is no prior, higher, Law, then no contract whatsoever, "social" or else, is binding. Anything goes, contracts are void at best, fraud at worst, but fraud, theft, rape and murder are just as good as anything else, so who cares? If there is a prior, higher, Law, that says that contracts are binding, and provides for enforcement of such contracts, then who needs a social contract? There already is a Law. Moreover, an alleged "Social contract" can neither contradict nor override this Natural Law without which it is void. In either case, "Social Contract" theorists are crooks, and their theories are just another fraud to justify the arbitrary power of the mighty over the weak as if it had been somehow consented. Tags: en, epistemology, natural law, social contract, socialism November 13th, 2009bramcohen @ : Comments on Go The most interesting feature for me personally is the built-in threading. Aside from its superb support for multi-core, it's just plain a good set of ways of doing networking. The lack of a decent built-in networking library (and generally coordination library) in Python has been a thorn in my side just about forever. In particular the promotion of queues to being one of the few built-in primitives with their own special syntax encourages good threading practice and is clearly warranted. Even such a simple command as 'wait until either the UI thread or the networking thread comes up with something' is a source of ongoing pain in most languages, but is built into Go as a core concept using select. Go seems to finally get the static typing problem solved. Its := operator is a reasonable middle point between C++'s ludicrous verbosity and ML's excessive magic. Types being structural is also a huge win. There's no end of stupid architectural haggling over what module a base type sits in and who owns it, and the answer 'nowhere' completely gets rid of that problem. It seems to me that there are deep subtle problems with such declarations - for example, how does it statically check that the parameters accepted by methods of a type you're receiving are compatible with what you want to pass them? But maybe I just haven't thought about it enough. It's too bad that Go doesn't currently have generics. I for one won't start any new project in it until it reaches that level of maturity. Go's lack of exception handling is a real problem, and another thing I'm blocking on to do real development in it. My own preferred method for adding it would be that if you call a function which has multiple return values and you don't handle one of them, it defaults to shorting to the same return of the caller, although some people might complain about that being too much like Java's 'throws'. That said, I've gotten so used to debugging by stack trace that I'd be loathe to not have stack building built into the language in some form, and in fact I've gotten really attached to a tricked out logging tool I wrote which can decorate any object and automatically logs a full stack trace of every assignment which is made to the object and allows you to print them all out at once. But perhaps such trickery is really the domain of highly dynamic languages, and not appropriate for something as low level and performance oriented as Go. The primitives in Go are quite good. All languages should have special maps and lists built in. I think it actually doesn't go far enough with giving them special status, and should have Python-style special syntax for maps. The curly brackets could be freed up by simply eliminating their current usage and making formatting have syntax. It's more than a little bit absurd that the language designers themselves have a setup where a utility standardizes the formatting of their own code every time they commit, but they still maintain the nominal free-form nature of the language. Really guys, I know you were traumatized by Fortran's original awful enforced formatting, but that was a long time ago and it's time to let go. That said, the primitives are given too much special status in other ways - they're the only things which have type parameterization, making it impossible to even implement their interfaces yourself, and worse, they're the only things which are call by reference. The call by reference thing worries me a lot. I really, really don't want Go to become the reference/pointer mix hell which C++ has become, but it's already headed in that direction. It really shouldn't matter that much - things which are passed are either an address or a copy, and the reference/pointer distinction really just has to do with what's the default (okay, so typically references don't let you overwrite either, but that's not a fundamental property). I for one strongly prefer the default be an address, and clearly when push comes to shove Go's designers do too, but more important than which way it is is that it should be consistent. Already transitioning to something consistent might require rewriting huge amounts of code, and it's getting worse, so fixing this problem might have to happen soon or never, and I'm afraid that it might already be never. Go's speed of compilation is very nice, although I'm afraid I view that not so much as a strength of Go but as an awfulness of C++. Why C++ continues to take forever to compile even on machines many orders of magnitude faster than the first ones I ever used it on has long been a mystery to me. I hope the answer is simply that it's a language which wasn't designed with ease of parsing in mind, and has a whole layer of preprocessing on top of it which is horribly abused. It's interesting that Go is going the garbage-collected route. If such a low-level language as Go can get away with that (and, truth be known, their preferred garbage collector isn't really integrated yet, so it's a little early to call it) then we may never see another non-garbage-collected language ever again. I despise the use of initial capital letters to specify that something is public. Maybe if I used it for a while I'd learn to not hate it, but for now I hate it. Does chinese even have uppercase? It's entirely possible that after using Go for a while something else would really start to gnaw at me about it, but it generally has a good smell, so hopefully not. If you've read this far, you should follow me on Twitter. patrissimo @ : Warm & Healthy foods? I've been having more trouble now that the weather is reminding me that I live in Northern California. I crave warm food, but fruits, vegetables, and salads are usually cold. I am having trouble coming up with warm foods that are high in vegetables and low in calorie-density. Vegetable soup? Steamed vegetables? Stir-fried vegetables? Ok, that wasn't hard. But I see the real problem now. All of those require cooking. One of the hidden benefits of "minimal processing" is that food often goes from the store to the fridge to my tummy without the inconvenience of passing through the stove. Warmth = cooking = stove. Hmph. Tags: diet patrissimo @ : Thiel Foundation Website Peter's essay on The Contrarian Hero particularly resonates with me: Contrarians stay centered for the same reasons they see so clearly—because rigorous application of fundamental principles aligns thinking with feeling, creating a clear picture of the world that explains how it ought to work, how it does work, and our place in it. Once you achieve a clear and true picture, apparent contradictions fall away. The right road is still steep and treacherous, but at last it's clearly marked. Tags: peter thiel patrissimo @ : posts other places On On LATNB: Second talk from Seasteading09 is up: Michael Strong on Free Zones and how they could lead to innovation in government. Current Music: The Siren - Nightwish crasch @ : How to get over unrequited love Original: craschworks - comments
As Sarah disembarked from the plane, I stood holding a red helium balloon. This was an innocent time, before 9/11, when the non-ticketed could still meet passengers as they disembarked from the plane. She saw me, smiled, and came close. “Chris!” “Sarah!” We hugged. “Chris, I’d like you to meet someone. This is Tom.” From behind her, stepped Tom. My smile froze. Tom? I didn’t know Tom was going to be here. I thought it was just going to be her. Alone. I hand her the balloon, Tom looking on. “Welcome to L.A.!” “Oh, thank you.” She gets a nervous look in her eye. Tom and I shake hands, and we exchange pleasantries. We start walking back to my car. Five minutes later, a porter comes running up with a balloon. “Welcome to L.A.!” he beams. We go another couple hundred feet. A shoeshine man runs up with a balloon. “Welcome to L.A.!” Sarah gives me a quizzical look. As we walk, more and more people people come up and give her a balloon, each wishing her a warm welcome to L.A. She eventually ends up with a dozen balloons in her arms. “What’s going on here?!?” Verliebtheit was what was going on. Or forelskelse, enamoramiento, or влюблённость. In English, it’s been called “love madness” or “oneitis” Psychologist Dorothy Tennov coined the term limerence to identify it. Limerence is defined as “…an involuntary cognitive and emotional state of intense romantic desire for another person, enduring for months, years and even a lifetime. It’s characterized by intrusive thinking and…can be experienced as intense joy or as extreme despair, depending on whether the feelings are reciprocated.” Sarah and I had met in college, in Lambda Nu’s computer cluster. Back then, Sarah was dating Adam, one of my dorm-mates in Lambdu Nu. While she was waiting for Adam, she would frequently come to the computer cluster and chat me up. She seemed warm and nice, but she was a feminist studies and film studies major–I didn’t think we had much in common. We graduated, and lost touch for a while. I moved to Rancho Cucamonga, to work for 21st Century Medicine, a biotech firm specializing in organ cryopreservation. I was 25. One weekend, I decided to go visit my friend Carly who was working in the Sweet Hall graphics department at Stanford. As I wandered among the cubicles, I saw a familiar face. Sarah? Yes, it was her! We chatted about half an hour, and agreed to hang out later in the weekend. We went hiking around campus and had dinner together. After dinner, we stayed up late into the night, just talking. I fell asleep on her couch. We clicked! I returned to Rancho Cucamonga. I could not stop thinking about her! I wrote her a passionate email revealing my love for her. Her first response was short and formal. So I wrote her more emails. Each of her responses was shorter and colder. Eventually, she told me to stop contacting her any more. I was crushed. And embarassed. A year passes. Every day, I thought about her. After a year, I email her a brief note, apologizing for my previous behavior. She responds positively. Subsequently, we talk on the phone and email each other fairly frequently. Then one day, she says she’s coming to L.A. for her website launch, and could I pick her up from the airport… Of course, I knew that Sarah and Tom were dating, but I didn’t know how serious it was. I thought that if only I could impress her enough, she would dump Tom, and date me. So I tried to think of something that would be sweet, and novel, and would impress her. Hmmm, balloons? But that’s too traditional and not particularly impressive. I remembered she had previously expressed her distaste for L.A.–she thought it was an artificial, unwelcoming city. I know, I’ll prove to her that L.A.’s truly a welcoming city by having employees in the airport hand her the balloons, and say “Welcome to L.A.!” So that’s what I did. The ride to the hotel with her and Tom was rather awkward. And, of course, we didn’t get together. Something about Sarah flipped a deep switch in my brain on that day in Sweet Hall. Had I been lucky enough to flip the same switch in her brain, we might have ended up like one of those sickeningly sweet couples who can’t get enough of each other, even after 20 years of marriage. Unfortunately for me, my emotions were not reciprocated. To this day, I still think of her almost daily. So what to do? Although I think thoughts of Sarah will intrude occasionally until the day I die, I’ve learned several ways to a) reduce the pain, and b) avoid embarrassing myself as much as I did. These are written from the perspective of a man, but most of them should be equally applicable to women too.
Finally, build a life of abundance. The best way to get over a lost paramour is to find a new one, and the best way to find a new love is to throw yourself into life. You should have so much going on in your life that how any particular woman responds to you should be of small consequence. Cultivate a deep, and wide network of friends. Host parties. Find a passion, and throw yourself into it. Learn how to salsa. Ask your friends to hook you up with dates. Your attitude should be "My life is awesome! Wanna play?"
*Credit to “The Tao of Steve”. gustavolacerda @ : Gibbs sampling In my problem, that would be more trouble than it's worth, since no denominators are canceling. So I'm doing good old Metropolis-Hastings, with a proposal that makes its trajectory resemble Gibbs: it randomly chooses one variable to modify, and then randomly chooses a value for that variable. In other words, the proposal is uniform over the neighbors in the "generalized hypercube"*. I can easily compute the posterior. In traditional MCMC, I think you would weight the samples by how often they appear. But doesn't it make more sense to directly compute the posterior in all sampled models? Should I be using MCMC at all? How else am I going to find the set of high-probability models? (Maybe what I want is a mode-oriented stochastic search, as my EA project did. Believe it or not, it's my first time actually implementing MCMC. Also, I'd like to know what proportion of the posterior mass my sampled models account for... but this is probably VeryHard to do if I can't enumerate the models (otherwise we could know whether the chain has mixed). * - what do you call a non-binary hypercube? I mean: let each node be a string in {0,...,k-1}^n, and neighborhood relation is defined by set of strings that differ in exactly 1 character. When k=2, we get the n-dim hypercube. What's the word when n>2?. Tags: machine_learning gustavolacerda @ : conduction, convection and infrared As you may know, MRI used to be called NMRI, but medicine and "nuclear" don't go together. November 12th, 2009crasch @ : GEEK: talmudic notes in vim? Original: craschworks - comments When reading new code, especially code in a language I’m unfamiliar with, I sometimes have to translate each symbol/method very methodically in order to understand what the code is trying to do. Often, I’ll put my notes in the code as comments. While this helps me, this can make the code more bulky and difficult to read for those who are familiar with the code/language. Ideally, I’d like a vim plugin in which I can keep notes on a file, without actually changing it. Anyone know of such a plugin? patrissimo @ : Structured Procrastination (Writing this post does not count as structured procrastination, btw :) ) Current Music: Our Solemn Hour - Within Temptation November 11th, 2009gustavolacerda @ : Facebook to Google Calendar patrissimo @ : Nightwish & Tarja I finally got and listened to the two post-breakup Nightwish band member albums: the non-Tarja Nightwish album (Dark Passion Play), and Tarja's solo album (My Winter Storm). My conclusion is that more of the awesomness of Nightwish lies w/ the non-Tarja than the Tarja. The replacement singer is noticeably worse than Tarja (who is amazing), so I don't like the new Nightwish album as much as the old ones, but it maintains the atmosphere and awesome energy. Whereas Tarja's new album, while her voice is lovely, frankly sounds rather uninspired. My favorite song is her cover of Alice Cooper's "Poison", because Alice Cooper rocks hard, unlike Tarja's original songs. Tags: music patrissimo @ : Happy relationship > competitive govt :) next post will address "PUA as manipulation" November 10th, 2009patrissimo @ : Email E-mail is such a funny thing. People hand you these single little messages that are no heavier than a river pebble. But it doesn’t take long until you have acquired a pile of pebbles that’s taller than you and heavier than you could ever hope to move…But for the person who took the time to hand you their pebble, it seems outrageous that you can’t handle that one tiny thing. “What ‘pile’? It’s just a pebble!(Life After College) patrissimo @ : genetic explanation for higher male variance? I think the reason for the preponderance of males amongst important creative geniuses comes in part from their chromosomal structure. Females have two X chromosomes, so a recessive mutation on one chromosome is less likely to be expressed. Males are more likely to express both recessive mutations on the X chromosomes and all additional traits coded in a Y chromosome. In this way, males are capable of greater variation in all traits because 1) they have more variation in their genetic material. Two X chromosomes are redundant in a sense, whereas X+Y is an X and an additional Y, and 2) males are more likely to express recessive mutations on their X. What is well known is that having one X chromosome in males leads to a greater likelihood of some disorders, but it could also be the case that only one X also leads to a greater incidence of positive deviations from the norm. Tags: genetics |
|