Windows And Ubuntu: “Cygwin Can Suck It”

For the last ten years or so, computing has been divided into two camps: Windows, and everything else with a *nix suffix. Want a computing paradigm where everything is a file? That’s Linux. Want easy shell scripting that makes the command line easy? Linux. Want a baroque registry with random percent signs and dollar symbols? That would be Windows. Want to run the most professional productivity apps for design and engineering? Sadly, that’s Windows as well.

*nix runs nearly the entire Internet, the top 500 supercomputers in the world, and is the build environment for every non-Windows developer. Yet Windows is the most popular operating system. The divide between Windows and *nix isn’t so much a rivalry, as much as people who still spell Microsoft with a dollar sign would tell you. It’s just the way personal computing evolved by way of legacy apps and IT directors.

Now, this great divide in the world of computing is slowly closing. At Microsoft’s Build 2016 developer’s conference, Microsoft and Canonical, Ubuntu’s parent company, announced a partnership that will allow Ubuntu to run using native Windows libraries.

In short, this announcement means bash and the Linux command line is coming to Windows 10. The command line is great, but userland is where it’s at, and here this partnership really shines. Unlike Cygwin, the current way to get *nix stuff running in a Windows environment, Windows’ bash will allow unmodified Linux programs to run unmodified on Windows 10.

It is not an understatement to say this is the most important development in operating systems in the last 10 years. For the last decade, every developer who is not purely a Windows developer has picked up a MacBook for the sole reason of having BSD under the hood. If you’re looking for a reason Apple is popular with devs, it’s *nix under the hood. This announcement changes all of that.

FBI Vs Apple: A Postmortem

By now you’ve doubtless heard that the FBI has broken the encryption on Syed Farook — the suicide terrorist who killed fourteen and then himself in San Bernardino. Consequently, they won’t be requiring Apple’s (compelled) services any more.

A number of people have written in and asked what we knew about the hack, and the frank answer is “not a heck of a lot”. And it’s not just us, because the FBI has classified the technique. What we do know is that they paid Cellebrite, an Israeli security firm, at least $218,004.85 to get the job done for them. Why would we want to know more? Because, broadly, it matters a lot if it was a hardware attack or a software attack.

Continue reading “FBI Vs Apple: A Postmortem”

They Put The “P” In Power

Fuel cells are like batteries, sort of. Both use chemical reactions to produce electricity. The difference is that when a battery exhausts its reactants, it goes dead. In some cases, you can recharge it, but you typically get less energy back with each recharge. A fuel cell, on the other hand, will make electricity as long as you keep supplying fuel. What kind of fuel? Depends on the cell, but most often it is hydrogen or methanol.

Researchers at the University of Bath, Queen Mary University of London, and the Bristol Robotics Laboratory want to use a different fuel: urine. According to the researchers, that’s one resource we will never deplete. The fuel cell is a type of microbial fuel cell which is nothing new. The breakthrough is that the new cell is relatively inexpensive, using carbon cloth and titanium wire. Titanium isn’t usually something you think of as cheap, until you realize that conventional cells usually use platinum.

Continue reading “They Put The “P” In Power”

Moldy Rechargeable Batteries

What’s worse than coming in from the workbench for a sandwich only to discover that the bread has molded? That red bread mold–Neurospora crassa–can transform manganese into a mineral composite that may improve rechargeable batteries, according to a recent paper in Current Biology.

Researchers used the carbonized fungal biomass-mineral composite in both lithium ion cells and supercapacitors. The same team earlier showed how fungi could stabilize toxic lead and uranium. Mold, of course, is a type of fungus that grows in multi-cellular filaments. Apparently, the fungal filaments that form are ideal for electrochemical use of manganese oxide. Early tests showed batteries using the new material had excellent stability and exceeded 90% capacity after 200 discharge cycles.

The team plans to continue the use of fungus in various metallurgical contexts, including recovering scarce metal elements. This is probably good news for [Kyle]. This is quite an organic contrast to the usual news about graphene batteries.

Image: Qianwei Li and Geoffrey Michael Gadd

MRRF, How Red Hat Helps Open Source 3D Printing

Red Hat is the world’s largest open source company. Run as a for profit company, it manages to give every line of code away and still rake in a cozy 1.5 to 2 billion US dollars a year. So, quite provably, Red Hat knows how to run an open source business. Despite being a software company, as a corporation, Red Hat has hopes for the future of open hardware, and they put their money where their ethos is.

[Tom Callaway] is Red Hat’s full time 3d Printer guy. He works at Red Hat headquarters in Raleigh, North Carolina. We had a chance to talk to him at MRRF and figure out what it is that Red Hat does for 3D printing anyway.

Red Hat’s first interest is that anyone who uses their software to run a 3D printer or interacts with the files involved has an easy time of it in Linux. To that end Tom regularly tests the latest versions of the software we regularly use. He makes sure that the software is nicely packaged for Red Hat. On top of that he also contributes to the projects themselves. He has submitted patches for Cura and Slic3r to name a few.

To run the software through its paces, and as a nice perk for Red Hat employees, [Tom] runs Red Hat’s 3D printing lab. Employees can print anything they like in it, but it also gives Red Hat an opportunity to test the software for failure points. If you are a 3D printer manufacturer (open or closed) you can send them a printer and they’ll make sure it has a profile and runs faultlessly with each version update, not bad!

The face of 3D printing at Red Hat.
The face of 3D printing at Red Hat.

[Tom] also participates in the Red Hat Fedora 3D printing special interest group. This lets Red Hat Fedora users come together and work out problems they find in the wild. It’s also one of the best ways for him to stay ahead of the new software packages that come out as 3d printing develops.

The coolest thing about all this, is Red Hat’s support for manufacturers. Red Hat will make sure any software that supports a printer will run, for free. So if you’ve written a custom driver for your printer that only runs on windows. As long as you give Red Hat access to the source code, they’ll make sure it can run on Linux as well. Though, apparently none of the closed source printer manufacturers have taken them up on the offer. Red Hat does have a partnership with open manufacturers such as Lulz Bot.

Being primarily a software company, Red Hat has no personal interest in entering the open hardware market at this time. They do want to see it succeed, and to that end, their last and most interesting service is their willingness to talk about what has and hasn’t worked in running an open source business. People in the open hardware business can reach out to people like [Tom] and ask for advice on the every day aspects of the open source business. Red Hat has undoubtedly learned many lessons over the years, and like their software, they’re willing to share every line.

Edit: Lastly, thanks to [Miro] in the comments, who also works for Red Hat and contributes to 3d Printing. Cool! I just wanted to be clear that most of these things translate into the Fedora Project, which oversees Fedora Linux, a very popular distro (Apparently Linus Torvald’s preferred.)  If you’d like to participate in any of this the Fedora Linux 3d Printer SIG (I mistakenly called it Red Hat SIG, which implies that it is only for paying customers of Red Hat Enterprise Linux, which is not true) is the place to go. It makes Fedora better and helps the 3d printing community as a whole:)

British Kids Finally Get Their Micro:Bits

The little board that has at times seemed so plagued with delays as to become the Duke Nukem Forever of small computers has finally shipped. A million or so British seventh-grade schoolchildren and their teachers will today start receiving their free BBC micro:bits.

Announced early last year, the plan was to rekindle the learning of code in schools through handing out a powerful and easy to program small computer to the students. The hope is that it will recapture the spirit of the 1980s, when school computing meant programming Acorn’s BBC Micro rather than learning how to use Microsoft Word.

Sadly the project has been delayed multiple times, the original target of last October was missed, and a revised estimate from January suggested they might ship at half-term (about four weeks ago). With only a few days to go before the Easter school holidays the kids will have to try them out at home, but at least they’re arriving.
Continue reading “British Kids Finally Get Their Micro:Bits”

Organic Chemistry Circuits Are Flexible And Work Wet

As circuits find their way into more and more real-world environments, the old standard circuitry isn’t always up to the task. It wasn’t that long ago that a computer needed special power, cooling, and a large room. Now those computers wouldn’t cut it for the top-of-the-line smartphone. However, most modern circuits don’t bend well and don’t like getting wet.

An international team of researchers is developing chemical-based circuitry that uses gold nanoparticles and electrically charged organic molecules to build circuit elements that behave like semiconductor diode junctions. It’s simple to make flexible circuits that don’t mind being wet using this chemical soup.

In an interview with IEEE Spectrum, the developers mentioned that other circuit elements similar to transistors and light sensors should be possible. The circuits aren’t perfect, however. The switching speed needs improvement. Also, while conventional circuits don’t like to get wet, these chemical circuits have difficulties if things get dry. Still, like all technology, things will probably improve over time.

This technology needs a good bit of engineering refinement before it is practical. If you need flexible photosensitive circuits in the near term, you might try here. Meanwhile, waterproof circuitry just needs the right kind of enclosure.

Photo Credit: UNIST/Nature Nanotechnology