Showing posts with label programming. Show all posts
Showing posts with label programming. Show all posts

Sunday, July 22, 2018

I Would Code Anything for Love (but I Won't Code That)

Somebody clearly wants an Ig Nobel... Wow.

(Also, I am highly amused!)

Money quote from the programming language's GitHub page:

"Rockstar is a dynamically typed Turing-complete programming language.

Rockstar is designed for creating computer programs that are also song lyrics, and is heavily influenced by the lyrical conventions of 1980s hard rock and power ballads."



Update (7/23/18): I wrote a blurb about Rockstar for the Improbable Research blog.

Thursday, October 27, 2016

Kickstarter Project: A Robot to Teach Coding

Here is a Kickstarter page for a robot to teach coding. But be careful with off-by-one errors (like in Robot Turtles), because now it's live action.


(Tip of the cap to Todd Gingrich.)

Saturday, August 27, 2016

Cursing Sentiments About Programming Languages

In case you are wondering how people really feel (at least on Reddit) about certain programming languages, the picture in the Tweet below shows the frequencies of a few curse words in different programming languages.



You can take a look at more of the sentiment analysis on this page.

Saturday, July 30, 2016

Religion and Backwards Compatibility

Yup, backwards compatibility is definitely an issue. (Make sure to read the scroll-over text as well.)

Wednesday, September 14, 2011

This one is for all of those programmers out there...

According to this comic strip from Saturday Morning Breakfast Cereal, humans are part of the junk code. Well, maybe.

(Tip of the cap to Greg Fricke.)

Saturday, September 20, 2008

Calculemus!

I recently read a very interesting article called "Calculemus!" in American Scientist. It was written by Bryan Hayes, who maintains the blog bit-player.

In this article, he discusses what he calls "inquisitive computing" and the types of programming environments that best promote it. (At the end of the article, he enumerates the features he considers desirable. I won't discuss them here, but I don't know if there is anything horrible surprising on the list. It might be interesting to discuss that as well, but I'm going to go in a different direction in this entry.)

Some of the example problems Hayes discusses remind me a great deal of the programming nuggets Lemming was mentioning to me a while back. (In fact, I wouldn't be surprised at all if these showed up in the list Lemming was following.)

One of them involves "more sums than differences" (MSTD) sets: Take a set of integers (both signs are possible) and calculate first all possible sums from pairs of integers in that set and second all possible differences from pair of numbers in that set. For which sets of integers does the set of unique sums have more entries than the set of unique differences?

Another involves what are called ABCs: Consider the equation a + b = c, where a, b, and c are all positive integers that have no common divisors (besides 1). Now consider the product abc and find all the prime factors of this product. Get rid of duplicates so that each prime that you find occurs exactly once. The product of these remaining primes, denoted rad(abc), is called the radical of abc. (Dude!) The question is the following: When is c > rad(abc)? Also, how much greater can c be than rad(abc)?