Wumple.com

2007/11/03

Non-Programmer Scripting and a Hybrid Solution

Filed under: — Stormwind @ 1:18 pm

Damien Schubert has an interesting video game development post entitled "No Scripting for You!" on his blog Zen of Design:

"Ubiq’s law of scripting: Programmers always say, “No designer scripting!” This lasts until they see the production schedule."

I posted a comment about hybrid solutions which can frequently achieve many of the benefits of the individual solutions while minimizing the drawbacks.   Basically, I suggest using data driven systems run by engineer-developed code as much as possible, and when additional scripting/feature coding is needed either have a scripter supervised by an engineer (via tech design, consultation, and code review) implement it for simpler cases, or an engineer implement it for more complex cases.

This could allow the use of more efficient and less error prone data driven system in most cases, while allowing scripting (code reviewed by software engineers) when needed when a more expressive solution is required.

More detail after the jump.
(more…)

2007/07/25

Field Trip to Henrietta Prairie, Hirschi Prairie, and NPAT Board Meeting

Filed under: — Stormwind @ 7:22 pm

When: Saturday and Sunday, July 28th-29th
Where: Clay and Archer Counties, TX

Come see large amounts of native prairie in and around the Henrietta Prairie!  See native grasses, native flowers and other native plants, and probably grassland birds, butterflies, and other native pollinators.

The Henrietta Prairie region is the western part of the Cross Timbers and Prairies (Clay and Archer Counties) in a transition zone between the tallgrass prairies of the region and the mixed-grass prairies of the Rolling Plains.

Jim Edison says "this area looks like the Flint Hills [of Kansas/Oklahoma] in terms of scale" of the amount of native prairie that still exists, so it should be an impressive prairie trip for fans of native prairies, grassland birds, and native plants! (more…)

2007/07/05

MisterHouse Using 100% CPU? One solution is…

Filed under: — Stormwind @ 1:39 pm

MisterHouseI’ve had a problem where MisterHouse was slowly growing and eventually using 100% of CPU time.  I was very irritated by this waste of CPU and electricity, and I think I finally tracked down a solution.

If you are not using MisterHouse triggers, disable trigger_code.pl and triggers.mhp.  (I also disable every single file whose functionality I am not using.)

Go to MisterHouse’s web admin interface.  In MrHouse Home -> Setup MrHouse -> Common Code Activation, disable trigger_code.pl.  In MrHouse Home -> Setup MrHouse -> User Code Activation, disable triggers.mhp.

Disabling these two files stopped a periodic five minute reload of all user code, and has seemed to stop the CPU and memory growth of MisterHouse.

2007/06/17

What I Want In My Next Car

Filed under: — Stormwind @ 2:56 pm

My 11 year old Honda Civic gets good gas mileage (about 30-35 mpg), is reliable, and still looks nice.  However, I know sometime in the next several years I will probably need to replace it.  Or a company will sell a vehicle that makes the environmental and cost advantages of buying a new vehicle too irresistible.

I admit I have been sorely tempted by the third generation Toyota Prius, but I’m hoping by holding off a few years I can get something better.

And here is what I want:
– A plug-in hybrid vehicle that can drive 20-60 miles on electric power alone (I prefer an all-electric range of 45-60 miles).  Uses a standard (120-volt) home electrical outlet to receive charge. (more…)

2007/06/06

Texas Legislature Approves Additional Park Funding

Filed under: — Stormwind @ 2:24 pm

The 80th Texas Legislature has approved additional park funding.  Articles say TPWD got about 90% of the funding requested, but the way it was structured is not a long term funding fix.

Funds for new park acquisition are mostly restricted to a specific park near Fort Worth and for use by local and county governments for parks, which seems to preclude prairie conservation with the funds unless a local or county would conserve prairie in a park using the local grant funds.

Other articles about the increases funding:

2007/06/05

Prairie News Update 2007-06-03

Filed under: — Stormwind @ 12:13 am

NPAT LogoA Prairie News Update has been emailed to the Native Prairies Association of Texas (NPAT) email list!

You can also read it on the NPAT web site.  Contents include:

Subscribe to the NPAT-announce email list to receive Prairie News Updates and other prairie field trip and event announcements.
(more…)

2007/06/04

Field Trip to Bear Creek Ranch

Filed under: — Stormwind @ 11:47 pm

Echinacea Wildflower Tour of Bear Creek Ranch – June 9, 2007 – Saturday 10am-1pm

Owned by the Dixon Water Foundation, the 1700 acre Bear Creek Ranch supports deep soiled tallgrass prairie, limestone glades, and streamside forest. Come see this spectacular part of the Fort Worth Prairie.

The Nature Conservancy’s Jim Eidson will talk about natural history, and Robby Tuggle, ranch manager, will talk about sustainable grazing.
Located at 2701 Bear Creak Rd., Aledo, TX 76008 (west of Fort Worth). Click here for directions.

For more information, contact the Nature Conservancy’s Jim Eidson, 903-568-4139, jeidson@tnc.org. Also see the field trip flyer.

Konza Prairie Segment on 49 ABC News – Topeka

Filed under: — Stormwind @ 10:42 pm

News segment on Konza PrairieFor us Texans to easily visit a large tallgrass prairie, we unfortunately have to visit a different state since Texas has protected so few tallgrass prairies of significant size. One of the best to visit is Konza Prairie, a 8600 acre tallgrass prairie in the Flint Hills of Kansas. The thin soil and rocky limestone hills spared the Flint Hills from plowing and saved this prairie, and Konza Prairie is one of the best examples of tallgrass prairie to visit.

Konza Prairie is used as a long term research program station by Kansas State University to study tallgrass prairie, but luckily for us it has several miles of great trails open to the public.

49 ABC News, a Topeka, Kansas TV station, recently ran a great segment on Konza Prairie. Click the image or go to the story on their web page to watch the segment.

If you are visiting the Flint Hills, the Konza Prairie Annual Wildflower Walk is Sunday, June 10th. Call 785-587-0441 to make reservations, or learn more at http://www.k-state.edu/konza .

2007/05/24

Save Texas Tallgrass Prairies

Filed under: — Stormwind @ 10:36 pm

“I can sit on the porch before my door and see miles of the most beautiful prairie interwoven with groves of timber, surpassing, in my mind, the beauties of the sea. Think of seeing a tract of land on a slight include covered with flowers and rich meadow grass for 12 to 20 miles…” – John Brooke, an early settler in the tallgrass prairies of Texas, 1849

Out of the original 20 million acres of beautiful Texas tallgrass prairie, less than 1% remains due to suburban sprawl, plowing for row-crop agriculture, and improper overgrazing during the last 150 years.

Our current generation is the last chance to save this important piece of Texas’ cultural and natural heritage, and with Texas’ high projected population growth we must act now to save these special places.

2007/01/24

Dynamically adding a device to a Linux software RAID 1 array

Filed under: — Stormwind @ 3:11 am

I recently switched wumple.com’s boot partition to a RAID 1 array so I will be able to boot up even if the disk that had the original /boot partition failed. I generally followed the directions (with modifications for my setup and Fedora, and skipping unneeded parts) from the HOWTO Install on Software RAID (Gentoo).

At the end, I needed to grow my RAID 1 array from 2 devices to 3 so I could add the original /boot partition to the array. 

It was much easier than I expected.  Here is what I did:

  1. Set up the partitions on the new disk as usual for RAID (including partition type fd, "Linux raid autodetect"
  2. Expand the number of active devices in the array (md1 from 2 to 3 drives in my case): "/sbin/mdadm /dev/md1 –grow -n 3"
  3. Add the new device (in my case /dev/sdc1) to the array: "/sbin/mdadm /dev/md1 –add /dev/sdc1"
  4. Watch the array rebuild onto the new device: "watch -n 1 cat /proc/mdstat"
  5. Followed the steps in the HOWTO to put grub back on the device

For some reason, in /etc/fstab I had to change /boot from "LABEL=/boot" to "/dev/md1" in /etc/fstab so the system could mount /boot during startup (and I know I gave the filesystem the label of /boot on creation).  Otherwise the failure to mount /boot when all local filesystems are mounted would stop the boot process.

Next Posts Previous Posts

|| RSS 2.0 || Comments RSS 2.0 || XHTML || Powered by WordPress ||