Yoga, Facebook’s opensource crossplatform layout library

Facebook has released a new library, written in the C programming language that is a layout engine for GUI applications. It is called Yoga and it is aimed at web developers who have used the CSS flex box layout styles. It is possible to use the library with Java, C#, and Objective-C and can be used with React Native.

It handles laying out widgets in grid patterns or other layout styles using flex box styles like flex direction and flex wrap and alignment.

It is possible to integrate Yoga into an existing layout engine.

It’s an open question as to where this fits in if you’re using GTK or Qt to develop a desktop or mobile application.

Open Source IFTTT: Trigger Happy

Trigger Happy is an open source alternative to IFTTT (If This Then That) which is a way of connecting and integrating multiple services on the web through their APIs.

Right now it supports these services:

  • Evernote
  • Github
  • Instapush
  • Pelican
  • Pocket
  • Pushbullet
  • Todoist
  • Trello
  • Twitter
  • Wallabag

Integration services like IFTTT, Zapier and now, Trigger Happy are vital to an ecosystem of apps, and they make web apps far more useful.

For example, you could create a trigger with Trigger Happy that when you create a card in Trello, a new issue will be opened in GitHub.

The Open Source Development Model makes it easier to solve other people’s problems

Or at least that’s what Daniel Pink suggests in this article. While he doesn’t specifically mention open source development, he does mention Wikipedia as a loosely collaborative model that can help us solve problems faster and better:

  • Rethink the structure of your firm.

    Perhaps loose alliances of distantly connected people – think Wikipedia or a Hollywood film – can produce more creative products and services than fixed rosters of employees in traditional arrangements. And maybe those consultancies, which all of us love to malign, are offering a valuable service after all by providing distance for hire.

This is the reason why sites like StackOverflow have taken off and have answered millions of people’s questions about programming. The distance between you and your local coding problems is short, meaning you think about your problems more concretely. On StackOverflow, the problems you are helping to solve are further away from you, and according to this research, this lets you think about them more abstractly.

Continue reading “The Open Source Development Model makes it easier to solve other people’s problems”

librsvg will attempt to use Rust!

The librsvg  is going to be slowly converted to Rust.

This is exciting news for developers who are looking to learn Rust and it’s exciting for the free/open source software community. Librsvg is used by Wikimedia to render SVGs on Wikipedia, a fairly vital tool.

What’s exciting is that librsvg has received bug reports for bugs that are related mainly to the use of the C programming language:

Every once in a while someone discovers a bug in librsvg that makes it all the way to a CVE security advisory, and it’s all due to using C. We’ve gotten double free()s, wrong casts, and out-of-bounds memory accesses. Recently someone did fuzz-testing with some really pathological SVGs, and found interesting explosions in the library.

So it will be interesting to see how well Rust can prevent these sorts of errors and how easy it will be to port a C library to Rust.

In the article there’s an example of converting C code to Rust code. Very cool and looking forward to the results. Hopefully this will encourage more open source developers to pick up Rust alongside C!

Update on TechBridge Makerspace IndieGoGo Campaign

In August I published a blog post on the TechBridge Makerspace’s IndieGoGo campaign to raise funds for an Alberta, Canada makerspace. The makerspace at the time had raised $4080 and now that the campaign is closed I wanted to give everyone an update on how well their campaign did.

The TechBridge Makerspace has raised $5140 CAD! Very awesome that people donated to them. Not only are makerspaces cool and provide accessibility to 3d printers and other technologies and knowledge, they’re also a way of propagating the culture of hackers and makers, the curious inquisitive nature of hackers who want to explore technology and its possibilities.

Because the IndieGoGo campaign was a flexible goal, TechBridge Makerspace has received all the funds that they raised. $5140 CAD is enough for them to buy some of the equipment that they wanted to get.

Click here to find other makerspaces to donate to.