Number Spiral Mandalas with HTML Canvas

Posted on 21st July 2014 by Ryan Somma in Geeking Out
HTML Canvas 12-times Spiral
12-Spiral in HTML Canvas
(Primes highlighted in red)

Mathematics is about exploration, not the rote memorization of algortithms. It’s about finding patterns, appreciating how numbers relate to one another. That’s why I love programming. Much of writing code involves experimentation with mathematics, tweeking a variable to see what comes out of a complex function. It’s wonderful when a program doesn’t give you the answer you designed it to; that means you are about to learn something.

I was really inspired by this post on Moebius Noodles about Joey Grether, who creates spiraling artwork with the number 12 that seeks patterns in the lines of numbers radiating out from the center. Reminiscent of Ulam’s Spiral, building a spiral around a clock, with 12-segments in the rotation, puts multiples of 3 at {3,6,9,12} o’clock, multiples of 4 at {4,8,12} o’clock, multiples of 2 at {2,4,6,8,10,12} o’clock, and primes at {1,5,7,11}.

[Continue Reading...]

20 Years of Magic the Gathering

Posted on 16th September 2013 by Ryan Somma in Geeking Out
Friday Night Magic at Earth 383
Friday Night Magic at Earth 383

20 years ago this month, I introduced my college friends to a new concept, the collectible card game (CCG). Magic the Gathering was instantly addictive for all of us, a game one part role-playing, one part exploration and discovery, and ten parts ingenuity. I’ll never forget when my friends confronted me after a few weeks of play, demanding, “Why did you keep this from us for so long?”

Truth is, I had just discovered Magic a few months earlier when I found a couple of friends playing in their apartment. A game where you play a Wizard (excuse me, “Plainswalker”) collecting spells and creatures into your spellbook to use against other opponents? Sold.

[Continue Reading...]

Comments Off

Is Web Design All About Hacking or Kludging?

Posted on 5th May 2013 by Ryan Somma in Geeking Out

So I decided to spend the weekend redesigning/modernizing my lifetime project, a citation-management tool memexplex, because the site is old and ugly looking and I wanted to play with some of the shiny new toys in CSS:

The 00s Called, They Want Their Website Design Back
The 00s Called, They Want Their Website Design Back

So hundreds googlings and SOings and two sugar-driven all-nighter’s later, I’ve got the new “placeholder” tags in my inputs, nifty-gradient backgrounds in my divs, my inputs are modern-ish looking, and my checkboxes, buttons, and selects are all replaced with images. Yay!

Shiny New Website
Shiny New Website


[Continue Reading...]

In Defense of “The Big Bang Theory”

Posted on 4th February 2013 by Ryan Somma in Geeking Out
Sheldon Fashion
Sheldon Fashion

I love love love The Big Bang Theory (BBT). I love the intelligent science references, the highly-debatable geek-culture references, and the cameos only a nerd would enjoy. Most of all, the portrayal of idiosyncratic individuals who bare an incredible resemblance to people I’ve had to deal with for decades working in IT and hanging out at Cons and Comic shops.

So it comes as a shock to me that there is a lot of hate for BBT in geek culture. Many geeks seem to loathe the way the show portrays geek mannerisms, habits, and argue that the show invites normal people to laugh at geeks and encourages belittling them. The show is simply a televised extension of the bullying we had to endure in high school. Geeks see it as validating that abuse through the reactions of the “hot girl” Penny, who lives across the hall from the geeks and whose reactions to the geeks are a source of amusement for the audience.

I don’t see it, and I’m honestly offended at some of the opinions and parochialism being exhibited by some of my fellow geeks. Defending an opinion isn’t like defending a scientific position, I can’t cite journal papers and research to back it up, but I can use logic and anecdotal evidence. So here it goes…

[Continue Reading...]

Adventures in Personal Genomics

Posted on 16th April 2012 by Ryan Somma in Geeking Out

Jump To:
Introduction
Closed-Source Genetics
Open-Source Genetics
Going Public With My Genome
Better Living Through Personal Genomics
DIY Genomic Sequencing for Programmers
My Personal Genomic Results
Further Reading

Single Nucleotide Polymorphism (SNP)

Single Nucleotide Polymorphism (SNP)



Introduction

It’s been over a year since I signed up with 23andMe and several months now since I downloaded my raw genomic data from them and started seeing what I could learn from it on my own. Although very few services out there will fully sequence your personal genome, by focusing on sequencing an individual’s Single Nucleotide Polymorphisms (SNPs), pronounced “Snips” for short, which are the variables between human genomes, we can focus on what’s of interest in our personal genomic data and get this data relatively cheaply. By comparing the differences in our genes, our genotypes, my wife and I could learn about how they differently express themselves in our lives, our phenotypes, to gain insights about our health risks as well as interesting traits about ourselves that may explain our behaviors and experiences throughout life.

[Continue Reading...]

Star Trek Online and Avoiding the Grind

Posted on 27th February 2012 by Ryan Somma in Geeking Out

Time you enjoyed wasting was not wasted.” ~ John Lennon

Time is the fire in which we burn.” ~ Tolian Soran, Star Trek Generations

The Dilemma

We have a finite amount of time in this life, and we should be mindful of how we spend it. I’ve recently become highly cognizant of the fact that the majority of games are simply Skinner Boxes, tricking players into pushing buttons in return for meaningless rewards. Truly challenging games like Portal and SpaceChem keep you playing because the gameplay is its own reward, while Skinner Box games keep you performing repetitive tasks with virtual rewards. Other games, like Skyrim or Final Fantasy VII, keep you playing because the story and graphics are simply that engaging.

The Original Earth Starbase Was Just Okay
The Original Earth Starbase Was Just Okay
The Redesigned Earth Starbase Looks More Familiar
The Redesigned Earth Starbase Looks More Familiar

For the past two years I have played Star Trek Online (STO) casually, probably investing maybe a hundred hours in the game, two weeks of my life out of 104. So the question arises: Is STO time wasted? The game was never challenging, but was it at least entertaining? I think this is a question we should be mindful of with any game in which we choose to invest our time to make sure we aren’t burning it.

[Continue Reading...]

Comments Off

Science Fiction Versus Fantasy – Uncensored

Posted on 26th September 2011 by Ryan Somma in Enlightenment Warrior,Geeking Out

This is the uncensored version of my Science Fiction VS Fantasy piece I wrote for the Science Creative Quarterly several years ago. I’ve also written much more extensively on this topic in the past. This is the abbreviated version with 10% more snark:

I

Fanboy: Hey gang! Did you read The Sword of Shanara? The characters traveled hundreds of miles described in excruciating detail for hundreds of pages, until they reached the ultimate battle between good and evil! Cool huh?

Scientist: Whatever. The characters in Red Planet traveled 48 million miles to Mars, while those in 2001 traveled 369 million miles to Jupiter. Characters in Asimov’s Foundation books travel millions of light-years all over the Milky Way galaxy in routine manner. Isn’t it amazing what people can accomplish when they don’t have to walk everywhere? Thank a scientist for your planes, trains, automobiles, and spaceflight whydontcha.

Fanboy: Yeah, but did you see in The Lord of the Rings when Gandalf fought the Balrog all the way down a really deep hole and then all the way back up to the top of a mountain peak!?!?

Scientist: Big whoop. The adventurers in The Core traveled to the very center of the Earth, fighting technological, natural, and human hazards all the way down and all the way back up to the Earth’s crust again. Characters in Fantastic Voyage and Innerspace fought their way all through the human body in microscopic form.

Fanboy: Ooookay… But did you see all those maps having to do with the Wheel of Time books? It’s a huge continent! Pretty epic, huh?

[Continue Reading...]

Computer Science in Tron Legacy

Posted on 4th April 2011 by Ryan Somma in Geeking Out
Tron and Tron Legacy
Tron and Tron Legacy

I attended the Experiments with the Imagination session at Science Online 2011, where we discussed what made good versus bad inclusion of science in fiction. Interesting points were made, such as audience members being able to excuse bad science for kick-ass portrayals of scientists, like in the movie 2012, and a deep concern for how science is portrayed in film because Hollywood blockbusters carry so much cultural influence in America.

There was also an intriguing question about working scientific elucidation into fiction, which stuck in my mind when a member of the audience mentioned how terrible was the film Tron Legacy and was met with lots of head-nodding and murmurs of agreement. I had actually enjoyed Legacy, and, after rewatching it, realized that I was seeing a very different film than the average audience member.

[Continue Reading...]

“Kill Your Darlings” is a Programming Principle Too

Posted on 28th February 2011 by Ryan Somma in Geeking Out
Proce55ing Source Code
Proce55ing Source Code
Credit: Niels Heidenreich

In his book On Writing Stephen King argued that to be a good writer, you must be able to “Kill your darlings,” where, for the sake of keeping the prose moving, you must cut out the non-essential parts, no matter how well-written:

Mostly when I think of pacing, I go back to Elmore Leonard, who explained it so perfectly by saying he just left out the boring parts. This suggest cutting to speed the pace, and that’s what most of us end up having to do (kill your darlings, kill your darlings, even when it breaks your egocentric little scribbler’s heart, kill your darlings)…I got a scribbled comment that changed the way I rewrote my fiction once and forever. Jotted below the machine-generated signature of the editor was this mot: “Not bad, but PUFFY. You need to revise for length. Formula: 2nd Draft = 1st Draft – 10%. Good luck.”

Writing code is much like writing prose, but I think it’s even harder to cut your most beautiful ideas from a computer program. In software design, we have to research heavily and go through hours of trial and error to produce some of our solutions. It’s one thing to slash several paragraphs of prose crafted in a hour of brilliant inspiration, it’s quite another to throw away an inventive solution and the wisdom that came with it.

[Continue Reading...]

Breakout of Slide Presentation Linearity with Prezi

Posted on 21st February 2011 by Ryan Somma in Geeking Out,Mediaphilism
MemexPlex Prezi Screenshot
MemexPlex Prezi Screenshot

At Science Online 2011 I was introduced to the Prezi Presentation Paradigm by Stacy Baker of Extreme Biology. After getting past a surprisingly mild learning curve, I was able to produce the following presentation mixing a Prezi presentation with desktop video capture:

Keeping in mind this is not the best example of a Prezi demo, you can step through and play with the MemexPlex Prezi itself below (alternately, you can browse popular Prezis here). Don’t confine yourself to just click through the presentation, as you can click-and-drag, double-click, and zoom as well:


[Continue Reading...]

Comments Off