Coding As A Foreign Language

How many of you speak more than one language? Since Hackaday is an English-language site whose readership is world-wide, we are guessing quite a lot of you are not monoglots. Did you learn your second or third languages at school, and was it an experience you found valuable? How about your path into software? If you are a coder, were you self-taught or was your school responsible for that as well?

It’s been a constant of the last few decades, officials and politicians in charge of education worrying that tech-illiterate children are being churned out of schools ill-equipped for the Jobs Of Tomorrow, and instituting schemes to address the issue. One of the latest of these ideas has come our way from Florida, and it’s one that has sparked some controversy. It sounds simple enough, make coding equivalent to language learning when it comes to credits in Floridian high schools.

You might think that this idea would be welcome, but instead it has attracted criticism from those concerned that it will become an either-or choice in cash-strapped school districts. This could lead to kids without an extra language being at a disadvantage when it comes to applying for higher education. There are also concerns that the two subjects are not equivalent, and should not be conflated.

It’s difficult from the perspective of an adult technical journalist without a background in education to speculate on the relative benefits to young minds of either approach. It is very likely though that just as with previous generations the schools will discover that there is limited benefit in pushing coding at kids with little aptitude or interest in it, and that the benefits in terms of broader outlook and intellectual exercise gained by learning another language might be lost.

Which was more valuable to you at school, coding or learning a language? Were you of the generation that learned coding through BASIC from the manual that came with your home computer, and should today’s kids be doing the same with Scratch and Python on boards like the Raspberry Pi? Let us know in the comments.

Child at computer image: Nevit Dilmen [CC-BY-SA-3.0], via Wikimedia Commons.

Metalworking Hacks Add Functionality To Snap-On Tool Chest

Problem: you’re a student mechanic and you’ve already poured a ton of money into a Snap-On roller cabinet loaded with the tools of the trade, but you still need sensible storage for your cordless tools. Solution: a DIY version of Snap-On’s PowerCab cordless tool station at a fraction of the cost.

rnqvgsoMechanics seem to have a love-hate relationship with Snap-On tools. Some love the brand, others hate it, but the majority seem to hate that they love the tools. It sounds like [GenTQ] reached her limit on brand loyalty when even her 50% student discount wasn’t enough to entice her to add Snap-On’s admittedly very cool KRL1099 cabinet for cordless drivers and chargers. So it was off to Harbor Freight for their seven-drawer side cabinet for less than $200. The cabinet was gutted of drawers, a frame for the new slide-out was welded up, and sheet steel was fabricated into organizer shelves and a new drawer front. A power strip and drag-chain were added to feed the chargers, and the new drawer went off to the powder coater for a matching paint job.

It may not have the Snap-On badge, and purists may cringe at the mixed-marriage with Horror Fright, but we like the results just fine. And she saved something like $1200 in the process. We think Harbor Freight gets a bad rap, deservedly so for some tools, but there are hidden gems amid the dross just ripe for the hacking, as [GenTQ] ably shows.

[via r/DIY]

LoRaWAN And Raspberry Pi Compute Module For A Remote Display

We see a lot of Raspberry Pi projects on these pages featuring all variants of the little board from Cambridge, but with one notable exception. Surprisingly few of them have featured its industrial embedded cousin, the Raspberry Pi Compute Module. The Pi-on-a-SODIMM form factor is a neat idea, but we are guessing that the high price of the development board relative to that of a Model B or a Pi Zero has pushed most people in our community towards the latter choice.

[Andrew Back] has put up a straightforward demonstration project on the RS DesignSpark site that provides an introduction to the Compute Module 3, using it to run a remotely operated display. In addition it uses an RN2483 LoRaWan radio module and The Things Network for communication, which makes it worth a look even if the Compute Module wasn’t of interest. Continue reading “LoRaWAN And Raspberry Pi Compute Module For A Remote Display”

Free Routing For GEDA

If you lay out PC boards using software, it is a good bet you have an opinion about autorouters. Some people won’t use a package that can’t automatically route traces. Others won’t accept a machine layout when they can do their own by hand. You can, of course, combine the two, and many designers do.

The open source gEDA PCB package (and pcb-md) have an autorouter, but it is pretty simplistic. [VK5HSE] shows how you can use a few tools to interface with the Java Freerouting application, to get a better result. For example, the original router made square corners, while the Freerouting application will create angles and arcs, if configured properly.

Continue reading “Free Routing For GEDA”

Laser Scanning Microscope

Remember that feeling when you first looked down on a microscope? Now you can re-live it but in slightly different way. [Venkes] came up with a way to make a Laser Scanning Microscope (LSM) with mostly off the shelf components that you probably have sitting around, collecting dust in your garage. He did it using some modified DVD pick-ups, an Arduino Uno, a laser and a LDR.

fuyati3iy4qiced-large
EPROM die shot

To be honest, there’s some more stuff involved in the making of the LSM but [Venkes] did a detailed Instructable explaining how everything fits together. You will need a fair dose of patience, it’s not very easy to get the focus right and it’s quite slow, an image takes about half an hour to complete, but it can do 1300x amplification at 65k pixels (256×256). From reading the instructions it seems that you will need a steady hand to assemble it together, some steps look kind of tricky. On the software side, the LSM uses Arduino and Processing. The Arduino part is responsible for the steering of the lens and taking the LDR readings. This information is then sent to Processing which takes care of interpreting the data and translate it to an image.

The build difficulty level should be between the DIY Smartphone Microscope and the Laser Sequencer Super Microscope. In the end, if everything goes right, you will end up with some cool images:

Continue reading “Laser Scanning Microscope”

Adding IceZero To The Raspberry Pi

[Kevinhub] noticed there were quite a few FPGA hats for the Raspberry Pi. Instead going out and buying one of these boards like a filthy commoner, he decided to spin up his own FPGA Pi accessory. This IceZero FPGA board combines the best features from other FPiGA boards, and does it in a form factor that fits right on top of the minuscule Pi Zero.

If you think slapping a Lattice FPGA onto a Pi has been done before, you’re right. Here’s a hat for the Pi using an iCE5LP4K-SG48, an FPGA with 3520 LUTs. The CAT Board from Xess has a slightly bigger FPGA with 7680 logic cells, and the FleaOhm has a monster FPGA on board that costs about $70 USD.

[Kevin]’s IceZero is at the lower end of these Raspberry Pi FPGA hats, using a Lattice ICE40HX4K. That’s only 3520 logic cells, but it only costs about $7 USD in quantity one. The board design is a standard two layer board that shouldn’t be too terrible for hand soldering. The boards are shared on OSH Park, should you want to test this little guy out.

This Pi Hat is specifically designed to be used with Project IceStorm, the Open toolchain for Lattice’s iCE40 FPGAs. That means there’s already a few projects out in the wild that can be easily ported to this platform, and already [Kevin] has a logic SUMP example going on his board.

Sci-Fi Contest: Both Wars And Trek Represented

Hackaday’s Sci-Fi Contest is in its third week. We’ve passed warp speed and were heading toward ludicrous speed. There is still almost a month to enter before March 6, when the deadline hits and everything goes to plaid. With 22 submissions all vying for 4 great prizes, there is still plenty of room for new challengers!

This contest is all about projects inspired by science fiction. There is a great mix of projects so far.

BB-8 Using Roll-On Deoderant

bb-8partsStar Wars is well represented with [Tech Flare’s] DIY Phone Controlled BB-8 Droid. [Tech Flare] is improving upon an existing BB-8 build. This is a low-cost build, so many of the parts are sourced from everyday items.

A new one for us is the 11 roll-on deodorant balls that are used as internal bearings. We’re not sure how well this robot will work, but it sure will be the best smelling BB-8 out there and you have to admit that is a creative use of easily source materials!

An Arduino is the brains of this Robot. As the title suggests, control comes from a smartphone. There is some creative work happening to fabricate the ball that makes up the body of the bot so be sure to jump in and check out that writeup.

LCARS In Real Life? Yes, Please!

lcarsAny Star Trek fan knows what the LCARS interface is [Elkentaro] is bringing LCARS life with LCARS NASA ISS Live Stream Viewer. [Elkentaro] is using a Raspberry Pi to display the International Space Station High Definition Eart-Viewing System (ISS HDEV) experiment.

The ISS is constantly streaming live views of the earth from one of 4 cameras. The Pi takes the stream and adds an LCARS image overlay. Everything is displayed on a 7″ TFT LCD. The same view Wesley Crusher would have seen at the helm of the NCC-1701D.

The overlay really brings the content to life and it has us thinking. If you have a refrigerator with one of those questionably-useful built-in montiors, it needs LCARS. Show us what you got!

Use the Schwartz

So what is missing from this contest? You of course! There is plenty of time left to create a great Sci-Fi inspired project. The deadline is Monday, March 6, 2017, 09:00 pm PST (+8 UTC). We dropped some Spaceballs references at the top of this article but haven’t actually seen an entry for that theme. Who’s going to build a voice-changing Dark Helmet?

[Phaser shown in the main image is the Original Series Phaser which Think Geek used to carry]