Newer posts are loading.
You are at the newest post.
Click here to check if anything new just came in.

July 31 2013

Four short links: 31 July 2013

  1. How to Easily Resize and Cache Images for the Mobile Web (Pete Warden) — I set up a server running the excellent ImageProxy open-source project, and then I placed a Cloudfront CDN in front of it to cache the results. (a how-to covering the tricksy bits)
  2. Google’s Position on Net Neutrality Changes? (Wired) — At issue is Google Fiber’s Terms of Service, which contains a broad prohibition against customers attaching “servers” to its ultrafast 1 Gbps network in Kansas City. Google wants to ban the use of servers because it plans to offer a business class offering in the future. [...] In its response [to a complaint], Google defended its sweeping ban by citing the very ISPs it opposed through the years-long fight for rules that require broadband providers to treat all packets equally.
  3. The Future of Programming (Bret Victor) — gorgeous slides, fascinating talk, and this advice from Alan Kay: I think the trick with knowledge is to “acquire it, and forget all except the perfume” — because it is noisy and sometimes drowns out one’s own “brain voices”. The perfume part is important because it will help find the knowledge again to help get to the destinations the inner urges pick.
  4. psd.rb — Ruby code for reading PSD files (MIT licensed).

June 04 2013

Really Understanding Computation

It’s great to see that Tom Stuart’s Understanding Computation has made it out. I’ve been excited about this book ever since we signed it.

Understanding Computation started from Tom’s talk Programming with Nothing, which he presented at Ruby Manor in 2011. That talk was a tour-de-force: it showed how to implement a more-or-less complete programming system without using any libraries, methods, classes, objects, or even control structures, assignments, arrays, strings, or numbers. It was, literally, programming with nothing. And it was an eye-opener.

Shortly after I saw the conference video, I talked to Tom to ask if we could do more like this. And amazingly, the answer was “yes.” He was very interested in teaching the theory of computing through Ruby, using similar techniques. What does a program mean? What does it mean for something to be a program? How do we build languages that can handle ever more flexible abstractions? What kinds of problems can’t we solve computationally? It’s all here, and it’s all clearly demonstrated via Ruby code. It’s not code that you’d ever use in a real application (trust me, doing arithmetic without numbers, assignments, and control statements is ridiculously slow). But it is code that will expand your mind and leave you with a much better understanding of what you’re doing when you’re programming.

June 07 2012

Getting started with data-related explorations of everyday things

Sau Sheong Chang is a programmer by trade who got interested in applying his skills to questions around him. In his upcoming book, "Exploring Everyday Things with R and Ruby," he introduces these simple languages and develops a number of amusing and intriguing applications to show how other people can develop their own experiments. In this video, Chang describes his reasoning when starting a project.

Highlights from the full video interview include:

  • How Sau Sheong developed the habit of exploring things through data an programming. [Discussed at the 0:36 mark]
  • The process he uses while conducting an investigation. [Discussed at the 2:50 mark]
  • Using Ruby and R [Discussed at the 5:40 mark]
  • Some surprises Sau Sheong found while researching the book's topics. [Discussed at the 8:40 mark]
  • Iterative development process [Discussed at the 10:35 mark]
  • The biggest mistake one encounters in exploring everyday things. [Discussed at the 13:03 mark]

You can view the entire conversation in the following video:

OSCON 2012 — Join the world's open source pioneers, builders, and innovators July 16-20 in Portland, Oregon. Learn about open development, challenge your assumptions, and fire up your brain.

Save 20% on registration with the code RADAR


Related:


September 05 2011

Four short links: 5 September 2011

  1. Dan Kaminsky on Bitcoin (Slideshare) -- short version: banks are an emergent property as it scales.
  2. Unethical Ventures (All Things D) -- astonishing slam on the new venture fund that Michael Arrington (founder of TechCrunch) will be running while still writing for TechCrunch. This could have been a lot cleaner, of course, by Arrington simply resigning from TechCrunch, becoming a VC and perhaps starting a new blog where his agenda is much clearer, from which he could huff and puff away as he does with much entertaining gusto at real and (mostly) imagined slights. There is certainly precedent for VCs blogging, including Fred Wilson, Brad Feld and Ben Horowitz. And, despite my criticisms about ethics, it is clear that Arrington is a talented writer whose unique voice would be even stronger if it was truly seen as separate from what has become a news organization. But because of his obvious need to be the center of attention — requiring the ermine kingmaker mantle and foisting his patented I’m-here-to-tell-it-like-it-is attitude on us all — that appears to be impossible.
  3. An iOS Developer Takes on Android -- a very easy to follow comparison of the two platforms from a developer who worked on both and who is carefully not partisan. I hadn't realized before what an advantage OpenGL confers to the iOS devices. It's not just for 3D games any more (he says, catching up with 2008).
  4. Clever Algorithms -- book of 45 nature-inspired algorithms, code in Ruby.

April 04 2011

Four short links: 4 April 2011

  1. Find The Future -- New York Public Library big game, by Jane McGonigal. (via Imran Ali)
  2. Enable Certificate Checking on Mac OS X -- how to get your browser to catch attempts to trick you with revoked certificates (more of a worry since security problems at certificate authorities came to light). (via Peter Biddle)
  3. Clever Algorithms -- Nature-Inspired Programming Recipes from AI, examples in Ruby. I hadn't realized there were Artificial Immune Systems. Cool! (via Avi Bryant)
  4. Rethinking Evaluation Metrics in Light of Flickr Commons -- conference paper from Museums and the Web. As you move from "we are publishing, you are reading" to a read-write web, you must change your metrics. Rather than import comments and tags directly into the Library's catalog, we verify the information then use it to expand the records of photos that had little description when acquired by the Library. [...] The symbolic 2,500th record, a photo from the Bain collection of Captain Charles Polack, is illustrative of the updates taking place based on community input. The new information in the record of this photo now includes his full name, death date, employer, and the occasion for taking the photo, the 100th Atlantic crossing as ocean liner captain. An additional note added to the record points the Library visitor to the Flickr conversation and more of the story with references to gold shipments during WWI. Qualitative measurements, like level of engagement, are a challenge to gauge and convey. While resources expended are sometimes viewed as a cost, in this case they indicate benefit. If you don't measure the right thing, you'll view success as a failure. (via Seb Chan)

December 22 2010

Developer Year in Review: Programming Languages

Continuing our look at the year in development, let's move on to the exciting land of languages. We'll finish off next week with operating systems.

Java: Strategic asset or red-headed stepchild?

Watching Oracle's machinations around Java can be more than a little confusing. One minute, they're talking about forking it into free and commercial versions, a potential slap in the face to the open source community. Then they refused to let Apache's Harmony project have access to key testing suites to certify the Java alternative. But then Oracle ended the year on their hands and knees begging Apache to stay in the JCP (and failing).

Meanwhile, we saw yet another "that's not really Java" lawsuit. This time Oracle was suing Google over the Android implementation. Evidently, having Bill Gates and Steve Ballmer as dire enemies wasn't good enough for Larry Ellison, so he's trying to add Sergey Brin and Larry Page to his list as well.

On a side note, has anyone noticed how Java basically took over the mobile space? Of the three major smartphone platforms (sorry Windows, you have a ways to go before you make that list again ...), two of them run Java of some sort. If you add in J2ME, which is inside many of the "clamshell" phones, Java is the dominant player in mobile.

It was also a good year for the JVM, as JVM-powered languages such as Closure, Groovy and Scala leveraged the omnipresence of Java to gain traction.

I see your 8 cores, and raise you 8

Functional programming considers to gain in popularity in the years ahead, mainly as programmers try to come to terms with how to leverage all the multi-threaded power available to them in modern hardware. Along with the aforementioned Scala, Erlang and Haskell have also seen commercial deployments increase.

Francesco Cesarini gave a great talk at OSCON on how Erlang can help developers. Unfortunately, there was no transcript, because it had no side effects. (Trust me, the functional programmers in the readership are falling over laughing.)

In other language news ...

Perl: Perl 6 still lags "Duke Nukem Forever" as far as being promised software still awaiting final shipment, but only by three years.

PHP: With Salesforce.com adding PHP to their language arsenal, you can now run PHP on all the major cloud-based platforms (the others being Amazon, Windows and Google.)

Ruby: No new major version of Ruby this year, nor any earth-shattering news, but it continues to be the language that all the cool kids use.

Python: Release 3.2 is on track for a Q1 2011 release. "Python" is also a lousy word to put into a Google News search, unless you enjoy reading about people smuggling snakes through customs and DPW workers making unexpected discoveries in sewers.

That's it for this week. I'll take a look at the year in operating systems in the next edition. Suggestions are always welcome, so please send tips or news here.



Related:




Four short links: 22 December 2010

  1. ietherpad -- continuation of the etherpad startup. Offers pro accounts, and promise an iPad app to come. (via Steve O'Grady on Twitter)
  2. Scala Collections Quickref -- quick reference card for the Scala collections classes. (via Ian Kallen on Twitter)
  3. Raw Data and the Rise of Little Brother -- Turns out, despite the great push for citizen journalism, citizens are not, on average, great at “journalism.” But they are excellent conduits for raw material — those documents, videos, or photos.
  4. Theseus 1.0 -- impressive source maze builder in Ruby contributed to the public domain. (via Hacker News)

Older posts are this way If this message doesn't go away, click anywhere on the page to continue loading posts.
Could not load more posts
Maybe Soup is currently being updated? I'll try again automatically in a few seconds...
Just a second, loading more posts...
You've reached the end.

Don't be the product, buy the product!

Schweinderl