The V Programming Language: Vain Or Virtuous?

If you stay up to date with niche software news, your ears may recently have twitched at the release of a new programming language: V. New hobby-project programming languages are released all the time, you would correctly argue; what makes this one special? The answer is a number of design …read more

Continue reading The V Programming Language: Vain Or Virtuous?

WebAssembly: What Is It And Why Should You Care?

If you keep up with the field of web development, you may have heard of WebAssembly. A relatively new kid on the block, it was announced in 2015, and managed to garner standardised support from all major browsers by 2017 – an impressive feat. However, it’s only more recently that …read more

Continue reading WebAssembly: What Is It And Why Should You Care?

Web Development: What’s Big In 2019?

I try to keep up with web development trends but it’s hard to keep pace since it’s such a fast evolving field. Barely a week goes by without the release of a new JS framework, elaborate build tool or testing suite — all of them touted as the one to learn. Sorting the hype from the genuinely useful is no mean feat, so my aim in this article is to summarise some of the most interesting happenings that web development saw in the last year, and what trends we expect to see more of in 2019.

A technology or framework …read more

Continue reading Web Development: What’s Big In 2019?

A Safe, Ducted Drone With No Visible Blades

We love a good drone build here at Hackaday, but no matter how much care is taken, exposed propellers are always a risk: you don’t have to look far on the web to see videos to prove it. Conventional prop-guards like those seen on consumer drones often only protect the side of the propeller, not the top, and the same problem goes for EDFs. [Stefano Rivellini]’s solution was to take some EDFs and place them in the middle of large carbon fibre thrust tubes, making it impossible to get anywhere near the moving parts. The creation is described as a …read more

Continue reading A Safe, Ducted Drone With No Visible Blades

Thread Carefully: An Introduction To Concurrent Python

The ability to execute code in parallel is crucial in a wide variety of scenarios. Concurrent programming is a key asset for web servers, producer/consumer models, batch number-crunching and pretty much any time an application is bottlenecked by a resource.

It’s sadly the case that writing quality concurrent code can be a real headache, but this article aims to demonstrate how easy it is to get started writing threaded programs in Python. Due to the large number of modules available in the standard library which are there to help out with this kind of thing, it’s often the case that …read more

Continue reading Thread Carefully: An Introduction To Concurrent Python

Hacker Makes A Flawless Booby Trap, Strikes Back Against Package Thieves

[Mark Rober] was fed up with packages going missing. He kept receiving notifications that his shipments had been delivered, but when checking his porch he found nothing there. Reviewing the CCTV footage revealed random passers-by sidling up to his porch and stealing his parcels. It was time to strike back. Over six months, [Mark] and his friends painstakingly designed, prototyped and iterated the perfect trap for package thieves, resulting in a small unit disguised as an Apple HomePod. The whole scheme is wonderfully over-engineered and we love it.

The main feature of the device is a spinning cup on the …read more

Continue reading Hacker Makes A Flawless Booby Trap, Strikes Back Against Package Thieves

Real Time Satellite Tracker Shows You What’s Going Over Your Head

Whilst modern technology relies heavily on satellites, it’s easy to forget they’re there; after all, it’s hard to comprehend mostly-invisible lumps of high-density tech whizzing around above you at ludicrous speeds. Of course, it’s not hard to comprehend if you’ve built a real-time satellite tracker which displays exactly what’s in orbit above your head at any given time. [Paul Klinger]’s creation shows the position of satellites passing through a cylinder of 200 km radius above the tracker.

Each layer of LEDs represents a specific band of altitude, whilst the colour of the LEDs and text on the screen represent the …read more

Continue reading Real Time Satellite Tracker Shows You What’s Going Over Your Head

E-ink Typewriter Is Refreshingly Slow

It’s pretty hard to use the internet to complete a task without being frequently distracted. For better or worse, there are rabbit holes at every turn and whilst exploring them can be a delight, sometimes you just need to focus on a task at hand. The solution could be in the form of distraction-blocking software, razor-sharp willpower, or a beautifully crafted modern “typewriter”. The constraint and restriction of a traditional typewriter appealed to [NinjaTrappeur], but the inability to correct typos and share content online was a dealbreaker. A hybrid was the answer, with a mechanical keyboard commanding an E-ink display …read more

Continue reading E-ink Typewriter Is Refreshingly Slow

Learn To Loop The Python Way: Iterators And Generators Explained

If you’ve ever written any Python at all, the chances are you’ve used iterators without even realising it. Writing your own and using them in your programs can provide significant performance improvements, particularly when handling large datasets or running in an environment with limited resources. They can also make your code more elegant and give you “Pythonic” bragging rights.

Here we’ll walk through the details and show you how to roll your own, illustrating along the way just why they’re useful.

You’re probably familiar with looping over objects in Python using English-style syntax like this:

These kind of statements are …read more

Continue reading Learn To Loop The Python Way: Iterators And Generators Explained

ARM-Based NAS Is A Low Cost, Low Power Beauty

A NAS is always a handy addition to a home network, but they can be a little pricey. [Blake Burkhart] decided to create his own, prioritising budget and low power considerations, with a secondary objective to produce some router and IoT functionality on the side.

A Banana Pi R2 was a good choice to meet these requirements, being a router-based development board that also sports dual SATA connectors and gigabit Ethernet. [Blake] had some retrospective regrets about the performance of this particular SBC, but it does just fine when functioning purely as a NAS.

The enclosure for the device is …read more

Continue reading ARM-Based NAS Is A Low Cost, Low Power Beauty