Category Archives: Information

The Low Wage Page

I got tired of discussions about low wages getting derailed by Minimum Wage talking points, so here’s a resource page on low wages in the U.S.

Continue reading

Advertisements
Posted in Distributism, Information, NotesToSelf | Leave a comment

Meaningful Pagination

Why “semantic?” “Semantic” referring to meaningful pagination. For instance, if your results are ordered by last name, which page do you click to see “Phillips” ? . . . 32, 33 >> Go on, guess! Isn’t this easier? . . . Wycliffe, Zetos >> Well? With… Continue reading

Posted in Information, Ruby on Rails, tutorial | Leave a comment

Rails, Ransack, and Associations The Easy Way

Goal: create a filter page that sorts, paginates with “semantic” page labels, and reports. I write mostly Admin apps — CRUD UI’s for maintaining data. In their “index” pages, my users want to be able to find, filter, sort, paginate, and report on… Continue reading

Posted in Information, Ruby on Rails, tutorial | Tagged , , , | Leave a comment

Fun Experiment: Same Odds, Different Lucky

There’s a good measure of odds called the “percentile.” Let’s say you have an Stanford-Binet IQ of 150. What are the odds of that? According to http://www.iqcomparisonsite.com/IQtable.aspx, that’s the 99.9110907427 percentile. That means that 1 pe… Continue reading

Posted in Commentary, Information | Leave a comment

HTML5 Paperclip multiple file upload and attach

Again, we’re trying to make this the most understandable code, without any regard whatsoever for elegance. In the last post we made a do-nothing uploader, just to get some feel for the whole HTML5 file upload process. This time, we’re actually goi… Continue reading

Posted in Information, Ruby on Rails | Tagged , , | 1 Comment

HTML5 multiple file upload (Rails edition)

This is just to gain a little understanding of file uploading in HTML5. To keep it bonehead, I’m going to use plain-vanilla HTML and javascript, and a tiny, tiny controller in Rails. The next post will tell how to use Paperclip to attach the uploa… Continue reading

Posted in Information, Ruby on Rails | Tagged , , , | 3 Comments

Hi-ho, Hi-ho!

Until you start using the machine for actual point-to-point transportation, it’s just a series of shake-downs. In fact, since the trike was designed as a human-powered vehicle, it’s been a series of shake-OFFS. Between the higher average speed and… Continue reading

Posted in Information, MotoTrike | Tagged , , | 1 Comment