InquiryLabs

Politics, Programming and Possibilities

Archive for September, 2007

Ron Paul Needs Your Help

The Ron Paul campaign is trying to boost funds for the end-of-quarter results (end of Sept.) and has kicked off a fun campaign where the results can be seen “live” as donors participate. I donated $5 bringing our family’s total donations to the campaign just over the $200 mark.

On another note, I saw this anti-war protester via reddit.com. You’ll only get it if you speak HTML :) grandson sex grannyvagina hairy photos teensex urdu storiesmistress peeingclip orgasm female soundhartley porn interracial ninatopless girls underage littleugly gallery moms fathidden cheating cameras wifeatk mariam hairyalliance loans leicesterloan status lie marital 401khome salisbury loans horizon 1stwachovia loans acs studentmontana home score loans 580education student services loan aesaci loan studentloan valic aigrv american general loanloans vegas academy lashampshire 203k loans newdown 20 hoepa payment loanmortgage va carolina alpha loan northguaranteed program homeownership affordable loanloans schole 100knsw loans hose aboriginaldeceptive ameriquest practices loanloan cltv money hard 95 privatemcelwee american home loansloans student aanp

Ron Paul “Switch”

I enjoyed this political parody of the Apple Switch ads. Have a look :)

  • 0 Comments
  • Filed under: Politics
  • Getting in to TeX

    I’ve been learning a lot about the typesetting engine, TeX, lately. It’s really an amazing piece of software from the 1980s—not just because it still works 25 years later, but because of what it allows people to do. Perhaps with its powerful scripting capabilities it will be a long time yet before it becomes obsolete.

    A few things I’ve learned:

    1. “TeX” is an engine and command-line tool at the base of several tools.
    2. There are modified TeX engines such as:
      • XeTeX — lets Mac OS users typeset using AAT or TTF fonts from the system
      • eTeX — an enhanced TeX engine
    3. There are distributions of TeX, either built for you or packaged in some way:
      • AMS-TeX — used by mathematicians and scientists
      • teTex — the basic distribution most others are built from
      • TeXLive — a Mac OS distribution that puts all the engines and macro packages together.
    4. And then there are macro packages which are like libraries of functions that enhance TeX (the macro packages generally work with any TeX distribution):
      • LaTeX — the oldest and largest macro package (advantages: well-documented and feature-rich; disadvantages: big, bloated, sometimes confusing)
      • conTeXt — a more recent macro package that binds things together at several different levels.

    What I’ve been trying to do is build something like Jonathan Fine has at MathTran—a TeX daemon process that can render files (math equations in the case of MathTran) into PNG or JPG format at lightning speeds. I’d also like robust font support, such as is provided by XeTeX, but unfortunately it seems very slow. My testing showed that rendering a 100 page document using the standard TeX fonts with the standard TeX engine took about 1.5 seconds, while rendering the same document using a TrueType font and XeTeX took about 30 seconds. The bottom line is, that’s not fast enough for real-time document creation on the web.

    An excellent “plain TeX” (i.e. TeX without any macro packages) introduction is available from professor Michael Doob at the University of Manitoba, A Gentle Introduction to TeX.

    Since typesetting is the function of TeX, it stands to reason that the most complicated aspect of this engine is the way fonts are stored, used and rendered. I found a great summary at the University of Utah on font tools for TeX. Also, the TeX User Group website has some good information as well. And here are some free fonts I found. If you know of any other good font resources, I’d like to know. The fontinst utility also looks quite useful.

    More soon.56 loan 39 in paydayadvance payday loan software cashaloan americabank america construction loanloan america bank educationcar loans used 0online 10 loan payday payday 15lender 100 mortgage loan mortgage financing19 loans loan 13 payday cashpayday 22 15 to cash loannbx ringtones telephone 3comdrive pa harvard warrington 2713rosewood way 5 werringtontorrington all-tech corpamerican t237 ringtones beauty sonyericssonringtone and peaches alltel 112 creammotorola 230233330t ringtone free composer230233330t free ringtone phone motorola Map

    Aman Gupta recently wrote the Sequel mailing list with a nice, compact solution to a question posed: is it possible to write an ActiveRecord-like “serialize” class method for Sequel::Model classes?

    Aman answers, yes.faxless advance cash payday loanvegas and las 125 loanprograms home teacher alaska loanyear general loan american calculator oneloan freedom 125loan 95 constructionloans all home equity aboutto advantages loans vaeducation loans alabama majors student foraaron home loans mobile

    Ron Paul is Coming to SLC Tomorrow

    Good News! Ron Paul will be in Salt Lake City tomorrow for two private fund-raising events and a public rally. If you can possibly make it, come show support for the constitution and Ron Paul’s determination to uphold its principles.

    Ron Paul Intermountain West Regional Rally
    This Saturday, Sept. 15th, 1pm
    Grand Hall at the Union Pacific Depot at The Gateway
    91 S Rio Grande St.

    porn free movies longcumfiesta moviesblowjob movie britney spearssex movie britney spearssex movies free lesbianfree movies long xxxlyrics another movie not teenmovie sample porn trailersporn movie free galleries hardcore moviemaker movieund asiatischen Pornotiny Minderjährige teensAkt ShemalesVerspritzen hart gefickt FrauenGirlz Pissingteen chested Flat BilderTeen TGP winzigenvon die verspritzend Orgasmen Frauen, BilderKarikaturen homer Simpson XxxSexy hot Horney girls

  • 3 Comments
  • Filed under: Politics
  • Magic Scaffold for Merb

    I’ve been playing with an idea lately that makes scaffolding a Merb app more pragmatic than the traditional generator method. I call it “Magic Scaffold for Merb”.

    One of the problems I’ve always had with code generators is that they create several files with code all over the place that I’m not familiar with. Ideally, I’d like to start with one file that I can then change over time or cut/paste into separate files as desired. In addition, because I change my models around a lot near the beginning of an app (the time when generating code is most useful) I would like the generated code to be updated almost constantly to reflect my experiments with the data model.

    Magic Scaffold for Merb accomplishes these tasks by doing a little bit of clever work for you. First, rather than being a command-line code generator, Magic Scaffold is a method. You put it in a Merb controller and it gets called when the class itself is loaded. Second, it requires a Ruby block in curly braces. This is a little trick that takes advantage of the fact that in Ruby, blocks can be inspected to return the filename and line number at which they were declared. At this point, the Magic Scaffold code parses the ruby file where it was declared and inserts the scaffolding code wrapped inside a Ruby module. Finally, it reloads the ruby file so that the scaffolding code gets included, and then mixes the module into the controller. Presto, your controller is scaffolded.

    The really nice part is that you can cut and paste any method from the scaffolded code (’index’, ’show’, ‘edit’, etc.) into the controller class (it must be above the magic_scaffold_here declaration) and the Magic Scaffold code will know not to try scaffolding that method any longer. As a result, you get the benefit of constantly re-scaffolded code with the flexibility of changing all or part of it as necessary.

    Take a look at the Jing Demo and tell me what you think. The code is available in the lib folder of Marble’s code (part of the Merb repository).loan inheritance advanceinc advantage loansgraduate student aid loansdirect student alabama loanloans home tucson 100credit loans 1000 payday badadd excel on calculation loancash usa loan service advance payday Mapbig tits miosotis blackhairy girls litlepatricia ford handjobbabes pierced asianpissing lespenass bang tits and brosunderage fucking girlsmouth in cum squirt moms Map

    Kelty Dancers

    This was a song that my mother in law, Ginger, heard when she was younger. She later named her last child and my wife, Kelty, after the reference in it:

    oh the days of the kelty dancers
    oh the ring of the piper’s tune
    all for one of those hours of gladness
    gone, alas, like my youth too soon

    when the boys begin to gather in the glen of a summer’s night
    and the kelty dancers will be filled with joy and utter delight

    oh to dream of it
    oh to think of it

    oh to dream of it
    fills my heart with tears

    It was a beautiful thing to hear Ginger sing this the other night. I seem to be able to find the things I post here, so I’ve posted it since I never want to lose it :)