Drops Of Jupyter Notebooks: How To Keep Notes In The Information Age

Our digital world is so much more interactive than the paper one it has been replacing. That becomes very obvious in the features of Jupyter Notebooks. The point is to make your data beautiful, organized, interactive, and shareable. And you can do all of this with just a bit of simple coding.

We already leveraged computer power by moving from paper spreadsheets to digital spreadsheets, but they are limited. One thing I’ve seen over and over again — and occasionally been guilty of myself — is spreadsheet abuse. That is, using a spreadsheet program to do something I probably ought to write a program to do. For those times that you want something quick but want something more than a spreadsheet, you should check out Jupyter Notebooks. The system is most commonly associated with Python, but it isn’t Python-specific. There are over 100 languages supported — many community-developed. You can even install a C++ interpreter backend for it. Because of the client/server architecture, it is very simple to share notebooks with other users.

You can — in theory — use Jupyter for anything you could use Python for. In practice, it seems to get a lot of workout with people analyzing large data sets, doing machine learning, and similar tasks.

The Good: Simple, Powerful, Extensible

The idea is simple. Think of a Markdown-enabled web page that can connect to a backend (a kernel, in Jupyter-speak). The backend can run on your machine or remotely and will support some kind of language — often Python. The document has cells that line up vertically (like a single wide spreadsheet column). For example, here’s a simple notebook I created to explain how a bunch of sine waves add up to a square wave:

Continue reading “Drops Of Jupyter Notebooks: How To Keep Notes In The Information Age” →

Noise: It Turns Out You Need It

We don’t know whether quantum physics proves the universe is truly a strange place or that we are living in a virtual reality simulation, but we know it turns a lot of common sense into garbage. Take noise, for example. Noise — as in random electrical noise — is bad, right? We spend a lot of time designing to minimize noise. Researchers in Austria, Germany, and Australia recently published a paper that shows that noise can actually improve the flow of energy. While the paper is behind a paywall, the Focus article is available and, of course, you can probably find a copy of the paper if you want to read the entire thing.

The paper, titled “Environment-Assisted Quantum Transport in a 10-qubit Network” uses trapped calcium atoms to study an effect suspected of being a key factor in high-efficiency energy transfer such as the transfer observed in optical fibers and photosynthesis.

Continue reading “Noise: It Turns Out You Need It” →

Hack A ThinkPad Display

Hackers really like their tools. This leads to holy wars over languages, editors, keyboards, and even laptops. The problem with laptops is that they age, and not always gracefully. [Syonyk] likes his ThinkPad T430S, except for one thing, its TN display wasn’t really very good. These flat screens use an older technology and show color changes with different viewing angles among other problems. So he managed to upgrade the device’s screen to IPS with the help of a replacement screen and an adapter (see right). Apparently, many similar ThinkPads can take the same sort of upgrade.

The problem is that the laptop uses LVDS to talk to the TN screen, while newer screens are likely to use Embedded DisplayPort (eDP) which is a different protocol entirely. However, there’s now a converter that [Syonyk] found on eBay (from China, of course). For about $70, the motherboard’s LVDS output can transform to eDP. Of course, you also need an IPS display panel.

Continue reading “Hack A ThinkPad Display” →

Don’t Need A Weatherman To Know Which Way The Wind Blows On Mars

NASA’s latest Mars lander has a very precise weather package, and you can check the daily conditions on Elysium Planitia online. The data however has apparently led to a bit of a mystery. According to Ars Technica, every day at 7AM and 7PM local time, there’s an unexplained atmospheric pressure spike.

The TWINS (Temperature and Wind for InSight) package provided by Spain’s Centro de Astrobiología shows the little spikes regularly since the lander hit the ground in November. They seem to correspond to local sunrise and sunset. Keep in mind, the pressure on Mars is very low — about 1% of Earth’s atmosphere — and scientists have already ruled out instrument problems.

Continue reading “Don’t Need A Weatherman To Know Which Way The Wind Blows On Mars” →

Visualizing Eddy Currents

If [Electroboom] gives up making videos and decides to become a lounge lizard in the Poconos, we hope he adopts the stage name Eddy Currents. However, he is talking about eddy currents in his recent video post that you can see below.

We know he doesn’t really think he can get the magnet to slow down with one sheet of aluminum foil and that he stages at least most of his little electric accidents, but we still enjoy watching it. Meanwhile, he also has a good explanation of why a copper pipe will slow down a magnet and how eddy current affects transformer efficiency.

Continue reading “Visualizing Eddy Currents” →

Flux Engine Reads Floppies

It is a bit of a paradox that we are storing more and more information digitally, yet every year more and more of it is becoming harder to access. Data on a variety of tapes and disks that were once common, is now trapped on media due to lack of hardware to read it. Do you have a ZIP drive? Do you have a computer that it will work with? Floppies are problem too. You might think you beat the system just by having a USB floppy drive. While these do exist, they typically won’t read oddball formats. That is, except for Flux Engine, an open source USB floppy drive.

The device uses a $15 Cypress development board and just some wiring (along with a 3.5 or 5.25 floppy drive, of course). Currently, the firmware only supports read only access to IBM standard disks and Acorn DFS/ADFS disks. It can also read and write Brother word processor disks. However, being open source, it could do more. The author, [David Given], is looking for Commodore 1541 and Apple CLV disks to borrow so he can get those working. He’s also offered to entertain other formats if you are willing to loan him a disk.

The software uses libusb and is known to work on Linux and Windows with Cygwin. It should also work with OSX. However, you will need a Windows box of some sort to build the Cypress firmware because the Cypress tools won’t work anywhere else. [David] wants to change processors because of this, but if he does, he’ll miss the PSoC function blocks, we are guessing.

The design is actually rather simple. The firmware only measures the time between flux transitions and sends them to the attached PC. All the heavy lifting occurs on the PC, which means it should be pretty easy to analyze and decode new formats. While writing is possible, it appears there is more work that needs to happen to make it reliable. [David] comments that you really need a real drive to test your writing with so you don’t write things only you can read back. Makes sense.

This certainly is more user-friendly than the last method we looked at. We had to wonder if [David] has thought about 8-inch floppies.

Bell Labs, Skunk Works, And The Crowd Sourcing Of Innovation

I’ve noticed that we hear a lot less from corporate research labs than we used to. They still exist, though. Sure, Bell Labs is owned by Nokia and there is still some hot research at IBM even though they quit publication of the fabled IBM Technical Disclosure Bulletin in 1998. But today innovation is more likely to come from a small company attracting venture capital than from an established company investing in research. Why is that? And should it be that way?

The Way We Were

There was a time when every big company had a significant research and development arm. Perhaps the most famous of these was Bell Labs. Although some inventions are inevitably disputed, Bell Labs can claim radio astronomy, the transistor, the laser, Unix, C, and C++ among other innovations. They also scored a total of nine Nobel prizes.

Bell Labs had one big advantage: for many years it was part of a highly profitable monopoly, so perhaps the drive to make money right away was less than at other labs. Also, I think, times were different and businesses often had the ability to look past the next quarter.

Continue reading “Bell Labs, Skunk Works, And The Crowd Sourcing Of Innovation” →