Prism Lighting – The Art Of Steering Daylight

The incandescent light bulb was one of the first early applications of electricity, and it’s hard to underestimate its importance. But before the electric light, people didn’t live in darkness — they thought of ways to redirect sunlight to brighten up interior spaces. This was made possible through the understanding of the basic principles of optics and the work of skilled glassmakers who constructed prism tiles, deck prisms, and vault lights. These century-old techniques are still being applied today for the diffusion of LEDs or for increasing the brightness of LCD displays.

Semantics First!

People in optics are a bit sloppy when it comes to the definition of a prism. While many of them are certainly not geometric prisms, Wikipedia defines it as a transparent optical element with flat, polished surfaces of which at least one is angled. As can be seen in the pictures below some of the prisms here do not even stick to this definition. Browsing the catalog of your favorite optics supplier you will find a large variety of prisms used to reflect, invert, rotate, disperse, steer, and collimate light. It is important to point out that we are not so much interested in dispersive prisms that split a beam of white light into its spectrum of colors, although they make great album covers. The important property of prisms in this article is their ability to redirect light through refraction and reflection.

A Safe Way to Bring Light Under Deck

A collection of deck lights used to direct sunlight below deck in ships. Credit: glassian.org

One of the most important uses of prism lighting was on board ships. Open flames could have disastrous consequences aboard a wooden ship, so deck prisms were installed as a means to direct sunlight into the areas below decks. One of the first patents for deck lights “THE GREAT AND DURABLE INCREASE OF LIGHT BY EXTRAORDINARY GLASSES AND LAMPS” was filed by Edward Wyndus as early as 1684. Deck prisms had typical sizes of 10 to 15 centimeters. The flat top was installed flush with the deck and the sunlight was refracted and directed downward from the prism point. Because of the reversibility of light paths (“If I can see you, you can see me”) deck prisms also helped to spot fires under deck. Continue reading “Prism Lighting – The Art Of Steering Daylight”

Local And Remote Debugging With GDB

As a debugger, GDB is a veritable Swiss Army knife. And just like exploring all of the non-obvious uses of a those knives, your initial response to the scope of GDB’s feature set is likely to be one of bewilderment, subsequent confusion, and occasional laughter. This is an understandable reaction in the case of the Swiss Army knife as one is unlikely to be in the midst of an army campaign or trapped in the wilderness. Similarly, it takes a tricky debugging session to really learn to appreciate GDB’s feature set.

If you have already used GDB to debug some code, it was likely wrapped in the comfort blanket of an IDE. This is of course one way to use GDB, but limits the available features to what the IDE exposes. Fortunately, the command line interface (CLI) of GDB has no such limitations. Learning the CLI GDB commands also has the advantage that one can perform that critical remote debug session even in the field via an SSH session over the 9600 baud satellite modem inside your Swiss Army knife, Cyber Edition.

Have I carried this analogy too far? Probably. But learning the full potential of GDB is well worth your time so today, let’s dive in to sharpen our digital toolsets.

Continue reading “Local And Remote Debugging With GDB”

Bespoke Storage Technologies: The Alphabet Soup Found In Modern Hard Drives And Beyond

It seems like just yesterday (maybe for some of you it was) we were installing Windows 3.1 off floppy drives onto a 256 MB hard drive, but hard drives have since gotten a lot bigger and a lot more complicated, and there are a lot more options than spinning platters.

The explosion of storage options is the result of addressing a variety of niches of use. The typical torrenter downloads a file, which is written once but read many times. For some people a drive is used as a backup that’s stored elsewhere and left unpowered. For others it is a server frequently reading and writing data like logs or swap files. In all cases it’s physics that sets the limits of what storage media can do; if you choose wisely for your use case you’ll get the bet performance.

The jargon in this realm is daunting: superparamagnetic limit, LMR, PMR, CMR, SMR, HAMR, MAMR, EAMR, XAMR, and QLC to name the most common. Let’s take a look at how we got here, and how the past and present of persistent storage have expanded what the word hard drive actually means and what is found under the hood.

Continue reading “Bespoke Storage Technologies: The Alphabet Soup Found In Modern Hard Drives And Beyond”

Emmanuelle Charpentier And Jennifer Doudna Sharpened Mother Nature’s Genetic Scissors And Won The Nobel For It

It sounds like science fiction — and until 2012, the ability to cheaply and easily edit strings of DNA was exactly that. But as it turns out, CRISPR/Cas9 gene editing is a completely natural function in which bacteria catalogs its interactions with viruses by taking a snippet of the virus’ genetic material and filing it away for later.

Now, two women have won the 2020 Nobel Prize in Chemistry “for developing a method for genome editing”. Emmanuelle Charpentier and Jennifer Doudna leveraged CRISPR into a pair of genetic scissors and showed how sharp they are by proving that they can edit any string of DNA this way. Since Emmanuelle and Jennifer published their 2012 paper on CRISPR/Cas9, researchers have used these genetic scissors to create drought-resistant plants and look for new gene-based cancer therapies. Researchers are also hoping to use CRISPR/Cas9 to cure inherited diseases like Huntington’s and sickle cell anemia.

The discovery started with Emmanuelle Charpentier’s investigation of the Streptococcus pyogenes bacterium. She was trying to understand how its genes are regulated and was hoping to make an antibiotic. Once she teamed up with Jennifer Doudna, they found a scientific breakthrough instead.

Dr. Emmanuelle Charpentier via Wikimedia Commons

Emmanuelle Charpentier Fights Flesh-Eating Bacteria

Emmanuelle Charpentier was born December 11th, 1968 in Juvisy-sur-Orge, France. She studied biochemistry, microbiology, and genetics at the Pierre and Marie Curie University, which is now known as Sorbonne University. Then she received a research doctorate from Institut Pasteur and worked as a university teaching assistant and research scientist. Dr. Charpentier is currently a director at the Max Planck Institute for Infection Biology in Berlin, and in 2018, she founded an independent research unit.

Upon completion of her doctorate, Dr. Charpentier spent a few years working in the States before winding up at the University of Vienna where she started a research group. Her focus was still on the bacteria Streptococcus pyogenes, which causes millions of people to suffer through infections like tonsillitis and impetigo each year. It also causes sepsis, which officially makes it a flesh-eating bacterium.

Continue reading “Emmanuelle Charpentier And Jennifer Doudna Sharpened Mother Nature’s Genetic Scissors And Won The Nobel For It”

OpenOffice Or LibreOffice? A Star Is Torn

When it comes to open source office suites, most people choose OpenOffice or LibreOffice, and they both look suspiciously similar. That isn’t surprising since they both started with exactly the same code base. However, the LibreOffice team recently penned an open letter to the Apache project — the current keepers of OpenOffice — asking them to redirect new users to the LibreOffice project. Their logic is that OpenOffice has huge name recognition, but hasn’t had a new major release in several years. LibreOffice, on the other hand, is a very active project. We could argue that case either way, but we won’t. But it did get us thinking about how things got here.

It all started when German Marco Börries wrote StarWriter in 1985 for the Zilog Z80. By 1986, he created a company, Star Division, porting the word processor to platforms like CP/M and MSDOS. Eventually, the company added other office suite programs and with support for DOS, OS/2, and Windows, the suite became known as StarOffice.

The program was far less expensive than most competitors, costing about $70, yet in 1999 that price point prompted Sun Microsystems to buy StarOffice. We don’t mean they bought a copy or a license, they bought the entire thing for just under $74 million. The story was that it was still cheaper than buying a license for each Sun employee, particularly since most had both a Windows machine and a Unix machine which still required some capability.

Sun in Charge

Sun provided StarOffice 5.2 in 2000 as a free download for personal use, which gave the software a lot of attention. It eventually released much of the code under an open source license producing OpenOffice. Sun contributed to the project and would periodically snapshot the code to market future versions of StarOffice.

This was the state of affairs for a while. StarOffice 6.0 corresponded to OpenOffice 1.0. In 2003, release 1.1 turned into StarOffice 7. A couple of years later, StarOffice 8/OpenOffice 2.0 appeared and by 2008, we had StarOffice 9 with OpenOffice 3.0 just before Oracle entered the picture.

Continue reading “OpenOffice Or LibreOffice? A Star Is Torn”

Tracking Satellites With A Commodore PET

A recent writeup by Tom Nardi about using the 6502-based NES to track satellites brought back memories of my senior project at Georgia Tech back in the early 80s.  At our club station W4AQL, I had become interested in Amateur Radio satellites.  It was quite a thrill to hear your signal returning from space, adjusting for Doppler as it speeds overhead, keeping the antennas pointed, all while carrying on a brief conversation with other Earth stations or copying spacecraft telemetry, usually in Morse code.

Continue reading “Tracking Satellites With A Commodore PET”

Bringing High Temperature 3D Printing To The Masses

Despite the impressive variety of thermoplastics that can be printed on consumer-level desktop 3D printers, the most commonly used filament is polylactic acid (PLA). That’s because it’s not only the cheapest material available, but also the easiest to work with. PLA can be extruded at temperatures as low as 180 °C, and it’s possible to get good results even without a heated bed. The downside is that objects printed in PLA tend to be somewhat brittle and have a low heat tolerance. It’s a fine plastic for prototyping and light duty projects, but it won’t take long for many users to outgrow its capabilities.

The next step up is usually polyethylene terephthalate glycol (PETG). This material isn’t much more difficult to work with than PLA, but is more durable, can handle higher temperatures, and in general is better suited for mechanical parts. If you need greater durability or higher heat tolerance than PETG offers, you could move on to something like acrylonitrile butadiene styrene (ABS), polycarbonate (PC), or nylon. But this is where things start to get tricky. Not only are the extrusion temperatures of these materials greater than 250 °C, but an enclosed print chamber is generally recommended for best results. That puts them on the upper end of what the hobbyist community is generally capable of working with.

Industrial 3D printers like the Apium P220 start at $30,000.

But high-end industrial 3D printers can use even stronger plastics such as polyetherimide (PEI) or members of the polyaryletherketone family (PAEK, PEEK, PEKK). Parts made from these materials are especially desirable for aerospace applications, as they can replace metal components while being substantially lighter.

These plastics must be extruded at temperatures approaching 400 °C, and a sealed build chamber kept at >100 °C for the duration of the print is an absolute necessity. The purchase price for a commercial printer with these capabilities is in the tens of thousands even on the low end, with some models priced well into the six figure range.

Of course there was a time, not quite so long ago, where the same could have been said of 3D printers in general. Machines that were once the sole domain of exceptionally well funded R&D labs now sit on the workbenches of hackers and makers all over the world. While it’s hard to say if we’ll see the same race to the bottom for high temperature 3D printers, the first steps towards democratizing the technology are already being made.

Continue reading “Bringing High Temperature 3D Printing To The Masses”