A stylized image of Haskell code from the article

Alphabet Soup: Haskell’s Single-Letter Naming Quirks

When you used punch cards or tape to write a computer program, brief variable names were the norm. Your compiler or assembler probably only allowed six letters, anyway. But times change, and people who, by habit, give array indices variable names like I, J, or K get a lot of grief. But [Jack Kelly] points out that for highly polymorphic languages like Haskell, you often don’t know what that variable represents anyway. So how are you supposed to name it? He provides a guide to one-letter variable names commonly used by Haskell developers and, sometimes, others.

Haskell’s conventions are particularly interesting, especially with i, j, and k, which are borrowed from mathematical tradition to signify indices or integers and passed on via Fortran. The article also highlights how m often refers to Monads and Monoidal values, while t can represent both traversables and text values. Perhaps more obscurely, p can denote profunctors and predicates, giving a glimpse into Haskell’s complex yet efficient type system. These naming conventions are not formal standards but have evolved into a grass-roots lexicon.

Of course, you can go too far. We see a lot of interesting and strange things written in Haskell, including this OpenSCAD competitor.

Corona Cancels Cons

As you read this, the Open Hardware Summit is taking place, but differently than in previous years. This year, it’s taking place in cyberspace! To what do we owe this futuristic development? Unfortunately, COVID-19, the corona virus.

And OHS isn’t alone. Vintage Computer Festival Pacific Northwest was cancelled outright. In Germany, where I live, the national health board has recommended cancelling all events with more than 1,000 attendees, and both the Maker Faire Berlin and the Chaos Computer Club’s 20th annual Easterhegg have been called off.

And just announced yesterday, our own Hackaday Belgrade event is going to be postponed and rescheduled for later this year. It’s truly sad, but we’re still looking forward to seeing you all a little bit later in the summer. If you can’t make the new date, tickets will of course be refunded. We’ll keep you informed when we get a new venue and time.

The best way to slow the spread of a global pandemic, according to the WHO who should know best, is washing your hands and avoiding contact with other people. “Social distancing” is the new catch-phrase, and that means keeping a few meters away from other folks whenever reasonable. And clearly, gathering people from all over the world, packing them into a single auditorium, and spending quality time together doesn’t meet this requirement.

So we’re all probably going to be laying low globally for a little while. On the positive side, this means more time for hacking here in the lab, and I’m excited to be able to watch the online version of the Open Hardware Summit. If you’re working from home, it’s that much easier to keep up to date with Hackaday. Still, I can’t wait to be on the other side of this thing, and it makes me appreciate the various social gatherings that much more.

And of course I have Isaac Newton in my thoughts, who developed the groundwork for his Calculus and laws of gravitation while at home because Cambridge was closed to stop the spread of the Great Plague. Wash your hands!

This article is part of the Hackaday.com newsletter, delivered every seven days for each of the last 210 weeks or so. It also includes our favorite articles from the last seven days that you can see on the web version of the newsletter.

Want this type of article to hit your inbox every Friday morning? You should sign up!

Open Hardware Summit 2011 Call For Submissions

The Open Hardware Summit is gearing up for their second annual conference, which is to be held on September 15th, 2011 in New York City. The summit aims to be a venue where users can present, discuss, and learn about open hardware of all kinds. Hot on the heels of the Open Hardware definition announcement, the summit is bound to be an exciting gathering of hackers, makers and hobbyists of all kinds.

The organizers are looking to you, the hacker community, to help put make the event a memorable one. They have put out an official call for submissions in several broad formats. They are interested in talks, breakout sessions, and project demos on topics such as manufacturing, diy technology, open hardware in the enterprise, and more.

If you think you have something interesting to share with the open hardware community, make your voice heard, and be sure to get your submissions in before the June 24th deadline!

[via NYC Resistor]

Recon 2008 Recap

[Tiller Beauchamp] gave a presentation on applied reverse engineering in OS X at this year’s REcon, but he also attended many of the other talks and gives his take on the highlights of REcon 2008 in a guest post on the ZDNet blog, Zero Day.

One of the highlights for him was Neohapsis’s [Chris Smith] discussing virtual machines implementing code obfuscation. The method uses custom instructions and runtime interpreter, which can help make the task of reverse engineering markedly more difficult if implemented properly.

On the opposite end of the spectrum, [Beauchamp] noted [Gerardo Richarte]’s software reverse engineering tools that decompile and recompile software in iterative portions. This allows the recompiled software to be tested piece by piece. Be sure to read his post and see what you missed.

The Last Hope Schedule Finalized, Preregister Now


The schedule for this year’s The Last Hope conference in New York City has been finalized, and there’s still time to preregister. Today is the last chance for overseas attendants to preregister, and the rest of you have until July 6th. A/V volunteers are still needed, so step up if you have the desire and skills.

The three-day conference will feature three tracks of scheduled talks, plus one track for unscheduled talks by registered attendees. You can view the full schedule interactively, in wiki format, or in conventional format. It takes place between July 18th and July 20th; hurry up and snag your tickets now. We’re interested in all the talks, but [Chris Seidel]’s talk on biohacking, NYC Resistor’s presentation about collaborative hardware hacking, and [Ray]’s demonstration on escaping high security handcuffs have us waiting in rapt anticipation. So who’s going? What are you looking forward to? Let us know in the comments.