Windows 10 Goes To Shell

Windows 10 — the operating system people love to hate or hate to love. Even if you’re a Linux die-hard, it is a fair bet that your workplace uses it and that you have friends and family members that need help forcing you to use Windows at least some times. If you prefer a command line — or even just find a place where you have to use the command line, you might find the classic Windows shell a bit anemic. Some of that’s the shell’s fault, but some of it is the Windows console which is — sort of — the terminal program that runs various Windows text-based programs. If you have the creator update channel on Windows 10, though, there have been some recent improvements to the console and the Linux system that will eventually trickle down to the mainstream users.

What’s New?

So what’s new? According to Microsoft, they’ve improved the call interface to make the following things work correctly (along with “many others”):

  • Core tools: apt, sed, grep, awk, top, tmux, ssh, scp, etc.
  • Shells: Bash, zsh, fish, etc.
  • Dev tools: vim, emacs, nano, git, gdb, etc.
  • Languages & platforms: Node.js & npm, Ruby & Gems, Java & Maven, Python & Pip, C/C++, C# &
  • .NET Core & Nuget, Go, Rust, Haskell, Elixir/Erlang, etc.
  • Systems & Services: sshd, Apache, lighttpd, nginx, MySQL, PostgreSQL

The changes to the console are mostly surrounding escape sequences, colors, and mouse support. The API changes included things like allowing certain non-administrative users to create symlinks. We’ve made X Windows work with Windows (using a third-party X server) and Microsoft acknowledges that it has been done. However, they still don’t support it officially.

Continue reading “Windows 10 Goes To Shell”

Lego Goes Underwater, With Model Submarines And Missiles

It is fun to make a toy vehicle with Lego, but it is even more fun to make one that actually works. [PeterSripol] made two Lego submarines, and you can see them in the video below. There isn’t a lot of build information, but watching the subs fire missiles and then getting destroyed by depth charges is worth something.

One of the subs is larger and uses a rudder to steer. It was apparently harder to control than the other smaller sub which used two motors thrusting opposite one another to steer. Looks like fun.

Continue reading “Lego Goes Underwater, With Model Submarines And Missiles”

1980s Plotter Plays Flappy Bird

Should you happen to have an HP7440A or similar plotter hanging around, you could have a quick game of Flappy Bird — or Plotty Bird as [WesleyAC] calls it. Just be sure you have some blank paper. The whole thing fits in about 200 lines of Rust code and — according to the author — gets to about 20 frames per second.

Watching the thing go, it appears that it draws a random set of pipes and then traces your flight path on the same page in real time.

Continue reading “1980s Plotter Plays Flappy Bird”

Circuit VR: Resistance Measurement With Four Wires

If you want to measure resistance and you know Ohm’s law, it seems like you have an easy answer, right? Feed a known current through the thing you want to measure and read the voltage required. A little math, and that’s it. Or is it? If you are measuring reasonably large resistance and you don’t mind small inaccuracies, sure. But for tiny measurements or highly accurate measurements, you’d be better off using the four-wire method. What’s more is, understanding why you want to use the four-wire method is a great example of using an understanding of electronics to find solutions to problems.
Continue reading “Circuit VR: Resistance Measurement With Four Wires”

Biological Hacking In The 19th Century Or How The World Almost Lost Wine

While it isn’t quite universal, a lot of people enjoy a glass of wine now and again. But the world faced a crisis in the 1800s that almost destroyed some of the world’s great wines. Science — or some might say hacking — saved the day, even though it isn’t well known outside of serious oenophiles. You might wonder how biological hacking occurred in the 19th century. It did. It wasn’t as fast or efficient, but fortunately for wine drinkers, it got the job done.

When people tell me about new cybersecurity threats, I usually point out that cybercrime isn’t new. People have been stealing money, tricking people into actions, and impersonating other people for centuries. The computer just makes it easier. Even computing itself isn’t a new idea. Counting on your fingers and counting with electrons is just a matter of degree. Surely, though, mashing up biology is a more recent scientific advancement, right? While it is true that CRISPR can make editing genes a weekend garage project, people have been changing the biology of plants and animals for centuries using techniques like selective breeding and grafting. Not as effective, but sometimes effective enough.

Continue reading “Biological Hacking In The 19th Century Or How The World Almost Lost Wine”

Atomic Power Gets Small

There was a time when nuclear power plants were going to save the world. Barring accidents, the plants are clean and generate a lot of power. However, a few high-profile accidents and increased public awareness of some key issues have made nuclear power a hard sell, at least in the United States. The fastest growing nuclear power-related business in the US — according to sources — is companies decommissioning nuclear power plants. However, there’s a move afoot to make nuclear power a viable solution again. The company behind it says their plants will be cheaper to build, cheaper to operate, and are much safer than conventional plants. Are those claims reasonable?

Continue reading “Atomic Power Gets Small”

Virtual Reality For Alzheimer’s Detection

You may think of Alzheimer’s as a disease of the elderly, but the truth is people who suffer from it have had it for years — sometimes decades — before they notice. Early detection can help doctors minimize the impact the condition has on your brain, so there’s starting to be an emphasis on testing middle-aged adults for the earliest signs of the illness. It turns out that one of the first noticeable symptoms is a decline in your ability to navigate. [Dennis Chan] at Cambridge Biomedical Research Centre and his team are now using virtual reality to determine how well people can navigate as a way to assess Alzheimer’s earlier than is possible with other techniques.

Current tests mostly measure your ability to remember things, but by the time that’s a problem, things have often progressed. The test has the subject walk to different cones and remember their locations, and has already proven more effective than the standard test.

Continue reading “Virtual Reality For Alzheimer’s Detection”