Some people may have noticed that the Scriptures application that was on the Android market has been removed. I’ve been thinking about this move for a long time and realized that I just haven’t had the time to devote to it like it deserves.
In addition to the lack of time for the application, I’m also impressed with the Gospel Library published by the LDS church. Granted they don’t have a lot of releases, however they have a great deal more features then what is provided by the Scriptures application.
The last thing I have considered is open sourcing the application. If there are people interested in working on the application or even just learning from some of what went into the application I could consider publishing it on a code site like github, however I’m not keen on somebody taking it over and then using it to earn money from it, so I haven’t released it anywhere yet. So, if you are interested in it at all, drop me a line.
Posted in Announcements.
By Dave
– 20 August 2010
I found out about jQuery today when I watched this weeks railscast, and thought it was a much better date picker than what I have been using so far, but I had a couple challenges when trying to use it right off.
In my app I also use prototype, which uses the $ function…just like jQuery. Fortunately there is a work around. All that is needed is a simple javascript in the header. Something like this should work well:
1
| var $j = jQuery.noConflict(); |
That then allows you to use both jquery as well as prototype in the same application. Anywhere you need to use jquery instead of doing a $() you use use $j instead.
Posted in programming.
By Dave
– 20 August 2010
A friend of mine sent me this email and hopes to see what happens with this new word he has created. Not that I believe that the creation of a word will bring a unique event in the future, but I think word’s propagation on the net is an interesting experiment to say the least.
His email follows:
I would like each of you to participate in a linguistics experiment.
I propose creating a new word, one which hits on a Google search of less than 20, mainly due to random letter arrangements.
The purpose of this experiment will be to create a global awareness of a new word in as little time as possible.
We will create a new word, create a definition of this new word, and then release it into the wilds of the infospace, rather like a semantic virus.
Then we will each use this word, at least once in a blog post or email or comment on an article or blog on the web. The spread of the use of the the term is the intent so a high frequency of usage is suggested. The simple reposting of this email will suffice.
We will then watch how quickly, or not, the word becomes prevalent in the linguistic maze that is the web.
Each week I will send a Google search count update to this list.
~~~
* The first word I propose is “leximize” which is to maximize the lexical exposure of a word.
As of this moment (5/10/2010 8:30 AM PST) there are 5 hits on the quoted word “leximize”, none of which have legitimate meaning.
~~~
I would also like to attach a future event to this word. The concept of this event will infiltrate the consciousness of the netmind bleeding out into the memespeak of the mainstream media. The purpose of attaching a fabricated event is to determine if we have any influence, to any degree possible, on the event and date in question; if in nothing more than the escalation of anticipation of the proposed date and event, simply through awareness.
* The spring equinox 2013 (March 21, 2013) will mark this event’s horizon.
* This event will entail the the joining of hands of multiple, long time national rivals and the collapse of physical, political and cultural barriers.
* At this point in time not only will these nations build a neoleague but newly constructed terms to describe the event will have been leximized.
~~~
Your participation is welcome in this experiment.
I urge you to reformulate the content in this email, to create a names to commemorate this event, to create your own neoleague terms and to send this email on to whomever you believe will find this experiment entertaining.
This experiment has officially begun!
Posted in Uncategorized.
By Dave
– 10 May 2010
The Fun Theory has some great videos on ways to make ordinary stuff fun.
Posted in Uncategorized.
By Dave
– 11 March 2010
Just a couple of changes to the manifest file so the application shows up on the market for some versions of the OS. It normally showed up for 1.6, but anything later it should not have. That has now changed. 0.4.0 also included a change that allowed for searches. Just press the search button on your phone and it will look for the EXACT PHRASE you type in. You must include punctuation as well.
Download it here.
Posted in Announcements, Faith.
By Dave
– 9 January 2010
I finished these figures a couple weeks ago and finally got around to taking a picture of them. Not the best pictures, but they will have to do for now.


Posted in Games.
By Dave
– 14 November 2009
If you are interested to see how the vote on the last minute amendment went as well as the actual bill in the house. No matter what your opinion is on the bill, it’s worth knowing how your representative voted.
Posted in Politics.
By Dave
– 9 November 2009
Cucumber is a fairly easy BDD tool that I’ve been using for the last month or so, but there have been a couple things I’ve had to learn on my own to make some of the webrat stuff work, so I thought I’d share one instance of what I’ve been doing.
To start, lets show the feature. I’ll go through each line one at a time.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
| Scenario: Create a new style from scratch
Given I have logged in as "testuser"
And I am on the style creation page
And I fill in the fields
| unit_style_code | S100 |
| unit_style_description | A simple floorplan |
| unit_style_square_feet | 100.0 |
| unit_style_price | 1000.0 |
When I press "Save"
Then with the latest unit_style
Then I should be on the edit style page for that unit_style
Then the "unit_style[code]" field should contain "S100"
Then the "unit_style[description]" field should contain "A simple floorplan"
Then the "unit_style[square_feet]" field should contain "100.00"
Then the "unit_style[price]" field should contain "1000.00" |
Line 2: This one was tricky. I’m using restful authentication for rails and I’m using users already created with dummy/test account information for testing purposes. The “I have logged in as” step does all the logging in steps. Getting through all that is another posts (one shorter than this one tho).
Line 3: Just create the mapping for “the style creation page” in /features/support/path.rb
Line 4-8: In /features/step_definitions/webrat_steps.rb, I put in the following code:
1
2
3
4
5
| When /^I fill in the fields$/ do |table|
table.raw.each do |row|
fill_in(row[0], :with => row[1])
end
end |
Line 9: “Save” is the name of the submit button. The “I press” step is already in the generated webrat_steps.rb
Line 10: I created a unit_style_steps.rb, which contains:
1
2
3
| Then /^with the latest unit_style$/ do
@unit_style = UnitStyle.find(:last)
end |
Line 11: Again, back to path.rb, this time I added the following:
1
2
| when /the edit style page for that unit_style/
"/housing/engineering/edit_style/" + @unit_style.id.to_s |
Line 12-15: This is where I was having problems. The generated webrat_steps had the following for it:
1
2
3
| Then /^the "([^\"]*)" field should contain "([^\"]*)"$/ do |field, value|
field_labeled(field).value.should =~ /#{value}/
end |
But it wasn’t finding the fields correctly. So after using the save_and_open webrat function (now another method in my webrat_steps) I was able to determine that the fields were there and that they had the correct information in them. Webrat just was not finding them. After a bit more digging I found the file_named function, and now, the step looks like this:
1
2
3
| Then /^the "([^\"]*)" field should contain "([^\"]*)"$/ do |field, value|
field_named(field).value.should =~ /#{value}/
end |
So, with only a few lines of code, I have a simple, easy to read scenario that just about any user would be able to read and understand, but also something I can take and run on a regular basis to make sure the application is also running the way it should.
Posted in programming.
By Dave
– 3 September 2009
The Martin Jet Pack looks cool, but I think I’ll wait for the smaller, quieter version to come out.
Posted in Uncategorized.
By Dave
– 5 August 2009
I’ve been using git as my scm system for a while now, but getting it to work nicely on windows can sometimes be a real pain, especially when running cygwin 1.7 and still having to connect to subversion as well. Granted the git svn command works, but some of the latest patches have caused a couple of hiccups too.
Add a dose of a primary hard drive crash and you have for a busy couple weeks. Finally I’ve managed to reinstall most of my necessary software, but I lost my .gitconfig file. So, for future reference, here are a couple of essentials needed to get git, svn and kdiff3 working (at least for now). All of it can be done with the git config command, but it is so much easier to just cut and paste.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
| [user]
name = David Mitchell
email = mitchelld@acm.org
[color]
interactive = always
status = always
pager = true
branch = always
patch = always
ui = always
diff = always
grep = always
[format]
pretty = medium
[merge]
tool = kdiff3
[mergetool "kdiff3"]
path = C:/Tools/KDiff3/kdiff3.exe
[diff]
tool = kdiff3
[difftool "kdiff3"]
path = C:/Tools/KDiff3/kdiff3.exe
[difftool]
prompt = false
[mergetool]
prompt = false |
Posted in programming.
By Dave
– 18 July 2009