Thursday, April 30, 2009

Unified Diffs?

Just to make sure I'm alive:

The unified format for diffs seems like the one that can fit my needs best. 

That is all.

Saturday, April 25, 2009

Stuggles

Not only do I not have a life, I have found some answers to my problems, which only makes everything harder (although it is nice having something to do).

First order of business, getting a diff function that will do diffs on multiple, possibly broken copies of a document (ezlo business). Modeling: there are a couple users (A, B, C) that are working simultaneously on a document, and user A decides to update line 5. At the same time, user B decides to... well, alot of things can go wrong just about now. B could start to edit the line at the exact same time, B could create a couple new lines between lines 3 and 4, throwing off any line-based diff systems, he could make a few copies of line 5 into lines 2 and 3, or any number of things. 

The race condition is easy to solve: just disable further editing when B finds that someone got to editing line 5 first. Creating new lines and copies: well, I'll figure it out.

Second order of business, making the cracked-ground script. Voronoi diagrams give the sort of shape I'm looking for (probably provided I give it sets of points that aren't too close together?), but that means implementing voronoi and extracting verticies: after that, then splitting them and joining them back into polygons (or in the previous step?). 

I also ordered some relays to act as switches for the coilgun (I know, right?). Now, I don't really like radioshack (understated) but, as I know, they do for a 'real' electronics store in a pinch. I also need an excuse to use my under-used soldering iron. It's a real thing of beauty, just I never get to use it. Sigh. Oh, and note to self: get some pvc piping. Trust me, if I get my way, this will all make sense later. 

Out

Thursday, April 23, 2009

Pandora

So, I woke up after a few hours of being in love with O3D, and now I'm looking forward to getting my server back up and running this weekend.

I also just found out that Pandora  added classical music a while back. Cool, but not cool at the same time,  if you know what I mean.

So, I wonder, how big of an array can javascript hold? (to hold all the radioactive elements)

I'm still struggling with how to even start making a cracked-ground script. Hmm.

Anyways, out.

Tuesday, April 21, 2009

O3D

I admit, I am a whore of commerce. Despite my appreciation for those that do startups, I am still a sucker for stuff from Google. Google search, Google Chrome, and now Google O3D. It is very possible that I'll forget about O3D soon (like when I discovered OpenGL) but for now, I am in love. (hahaha) But I still have to get my server back so I can finish hacking out ezlo.

That is all.

Sunday, April 19, 2009

Dance like no one is watching

Sing like no one is listening.  Think like there is no god.

And above all...

Fart like no one is smelling.

That is all.

Friday, April 17, 2009

On Theft

Well, I've just had a pile of my shit jacked (put oh-so-eloquently) including my laptop, my cell, and my ipod. Those things represent good man-hours put into customizing and tweaking configurations, all to the end of some guy walking into the suite when I'm busy showering and taking it all. Well, I suppose it's the same as having each item die in turn, but it's really the fact that it was stolen that gets me. Now, I have the urge to serve some justice, although it's very possible (and likely) that none will be dealt. 

I suppose this comes at an opprotune time with regards to my introduction to religions class: we've just begun to study buddhism, and I can really see how attachment can be seen as a bad thing, especially in the light of these recent events. Maybe I'll expand on this more when I'm not supposed to be sleeping.

My server went down and didn't come back up because of some filesystem error/corruption. Not cool.

Tuesday, April 14, 2009

Ezlo Update #4

Yes, I should be doing homework and labs instead of this, especially since it's highly unlikely that ezlo can go into production before the lab cycle ends, and I don't have a reason to have collaborative latex later. Well, not that I can see. It'll always be nice to have a latex working somewhere online. 

Anyways, I still need to add file uploading to latex, that works in an ajax-y way (iframes are acceptable) and way to limit file sizes given through the file uploading. Also, chmod -R and chown -R are saviors when it comes to making the filestore for openid work well with the server user. Wheee. 

Also, I have come to the conclusion that having code generation on the fly is overrated. Of course, SBCL springs to mind, but it's fat. Ugh. I'm not sure how running what's essentially byte-code through stalin will do, though.

Sunday, April 12, 2009

Ezlo Update: #3

My hair is very, very short now. As opposed to poke-myself-in-the-eye hair, I now have tenth-of-an-inch hair. This will take some getting used to.

On an unrelated note, I've moved ezlo to my main server configuration, so that it's not just up whenever I'm working with it. Unfortunately, the filestore I was using to make OpenID cracked, so I have to switch to some database store.

I suppose it would be a good thing to talk about my tribulations here, in detail, but I don't feel like it. Good night.

Okay, nevermind, I'll detail some things I found today:

When doing projects, take a name and stick with it. If you want to change names, then change it everywhere, otherwise it's confusing.

And, uh, everything else escapes me. It is late, after all.

Saturday, April 11, 2009

Ezlo Update: #2

So after some 4 hours of hacking (it's the small stuff that trips you up, like mapping the values of a hash to a list), I finally rolled my own OpenID login. I still have yet to figure out how to do concurrent editing well... Oh well, still have a bunch to do with ezlo before I even introduce it to someone other than me.

Thursday, April 9, 2009

Ezlo

So, I've completely changed directions, and have taken on a long standing project that I have been meaning to do for a while. My server has been sitting empty for a bit (aside from the set files it's been hosting, and my git repos), so I decided that, while working on the physics lab today, that we really did need an online latex editor similar to Google's documents. So I've made a solid start on one. I'm using rails, mostly because learning another framework would be more work than the switch would save me. Right now, I almost have it spitting out pdfs, but I'm too tired to type straight, so that milestone will have to wait.

Oh, and name: I was casting about for something to call the directory, and saw my friend's thingamajig that's this yeast character from some anime. Yes, yeast, called ormize (or something like that), which is what I promptly named my rails project. Then, I noticed that reversing the word could lead to ezlo, which could stand for E-Z Latex Online. We'll see, but I think ezlo is my working name for now.

Sunday, April 5, 2009

Stalin

I must say, I'm quite taken with the purported speed of Stalin, especially the advertised speed for numerical code. If I dare say so myself, green_tea's gonna need it. In other news, I still have no idea how to make a rose.

Saturday, April 4, 2009

Chicken under XP

Well, chicken under XP works now. I've updated some of the chicken wiki pages to let people like myself figure out how to get csc working under Windows quickly and easily. 

I'm wondering if the chicken folks would want to have a msi avaliable. Probably would want to use nullsoft, as a note to self.

Real Life intervenes

Why yes, real life has intervened. This means that nearly none of my projects have made any progress at all, which is somewhat depressing.I suppose that if I spent the time that I slacked off doing projects, I would be happier at the end of the day, but meh. We'll see how that attitude works. 

On the bright side (somewhat) I watched a  pretty good tutorial on making heads in blender. It was a bit elementary, but I learned some things, and got some ideas for how to approach modeling. However, modeling a rose (or something like it, since I'm not trying to strictly mirror reality) and getting the main character to a riggable state are still posing problems (albeit under-explored). 

Oh yes, I'm working on an animation, for those of you unaware. I'll codename it Project Peachy for now. Also, until I can decide whether or not Diffy Cue is a good name for the differential equations solver I've been working on, I'll just codename it Project Green Tea (inside mathematics department joke).