Stop Using Python 2: What You Need To Know About Python 3

Though Python 3 was released in 2008, many projects are still stuck on Python 2.

It’s understandable that porting large existing codebases to a new version is a prospect which sends a shiver down many a developer’s spine. But code inevitably needs to be maintained, and so when all the shiny new features that would fix everything are in a new version, is it really worth staying rooted in the past?

We’ll take you through some of the features that Python 2 programs are missing out on, not only from 3.0 but up to the current release (3.7).

Continue reading “Stop Using Python 2: What You Need To Know About Python 3”

Blinging Up A Scope: Scale Your Divisions In Style

When a hacker owns an oscilloscope, it’s more than a possession. Weary nights are spent staring at the display, frantically twiddling the dials to coax out vital information. Over time, a bond is formed – and only the best will do for your scope. So why settle for the stock plastic dials when you could go for gold? Well in case you hadn’t noticed, we’re partial to a bit of over-engineering here at Hackaday, and [AvE] has upgraded his Rigol scope by adding metal knobs.

Employing his usual talent in the shop, [AvE] first turns the basic knob shapes from the stock, before drilling them and milling the outer texture pattern at an angle. Voilà: six custom knobs for 100% more torque and traction control. No matter how trivial the project, it’s always good to watch him at work. This [AvE] video doesn’t come with the usual fruity language warning; instead this build is set to the swelling tones of Beethoven. “Less Talk – More Action!” says the title, but we have to say that we miss his quips. That said, he still manages to deliver his signature humour through action alone.

For some slightly more functional oscilloscope upgrades, you can read about adding a hybrid touchscreen interface, or hacking a Rigol scope’s software to unlock greater bandwidth, storage depth and more.

Continue reading “Blinging Up A Scope: Scale Your Divisions In Style”

The Ultimate IPhone Upgrade

While Apple products have their upsides, the major downside with them is their closed environment. Most of the products are difficult to upgrade, to say the least, and this is especially true with the iPhone. While some Android devices still have removable storage and replaceable batteries, this has never been an option for any of Apple’s phones. But that doesn’t mean that upgrading the memory inside the phone is completely impossible.

[Scotty] from [Strange Parts] is no stranger to the iPhone, and had heard that there are some shops that can remove the storage chip in the iPhone and replace it with a larger one so he set out on a journey to try this himself. The first step was to program the new chip, since they must have software on them before they’re put in the phone. The chip programmer ironically doesn’t have support for Mac, so [Scotty] had to go to the store to buy a Windows computer first before he could get the chip programmer working right.

After that hurdle, [Scotty] found a bunch of old logic boards from iPhones to perfect his desoldering and resoldering skills. Since this isn’t through-hole technology a lot of practice was needed to desolder the chip from the logic board without damaging any of the other components, then re-ball the solder on the logic board, and then re-soldering the new larger storage chip to the logic board. After some hiccups and a lot of time practicing, [Scotty] finally had an iPhone that he upgraded from 16 GB to 128 GB.

[Scotty] knows his way around the iPhone and has some other videos about other modifications he’s made to his personal phone. His videos are very informative, in-depth, and professionally done so they’re worth a watch even if you don’t plan on trying this upgrade yourself. Not all upgrades to Apple products are difficult and expensive, though. There is one that costs only a dollar.

We sat down with him after his talk at the Hackaday Superconference last November, and we have to say that he made us think more than twice about tackling the tiny computer that lies hidden inside a cell phone. Check out his talk if you haven’t yet.

Continue reading “The Ultimate IPhone Upgrade”

Giving A 6th Generation IPod A New Lease On Life

It can be disheartening when a favoured device begins to break-down. Afflicted by an all-but-dead battery and a fritzing-out hard drive, Redditor [cswimc] sensed the imminent doom creeping up on their 6th generation iPod, and responded by reviving and upgrading the decrepit device instead!

It’s no easy task to crack open one of these things, so they found themselves taking their time and carefully wedging the pry tool between the front and back covers, working their way around the exterior. Once separated, gingerly disconnecting the few ribbon cables allowed the iPod to be opened fully. From there, they turned to  swapping out the original hard drive for an iFlash dual SD card board — one of the cards turned out to be a dud, but 128GB is still a step up from 80GB — and a new 3000mAh battery. Combined with replacing the power-hungry HDD, the battery life has been overwhelmingly increased over the original’s 650mAh capacity!

Continue reading “Giving A 6th Generation IPod A New Lease On Life”

Opening The Door To Functional Prints

If you are going to do something as a joke, there is nothing to say that you can’t do a nice job of it. If you’re like [Michael], a whimsical statement like “Wouldn’t it be funny to put Gründerzeit-style doors on the server cabinet?” might lead down a slippery slope. True to his word, [Michael] not only installed the promised doors, but he did a darn nice job of it.

Buying new doors was the easy part because the door frame and hinges were not standardized back then, so there was nothing on the server cabinet to his mount doors. He walks us through all the steps but the most interesting point was the 3D printed door hinges which [Michael] modeled himself and printed in steel. His new hinges feature his personal flair, with some Voronoi patterning while matching the shape of the originals. We love seeing 3D printed parts used as functional hardware, and hinges are certainly a piece of hardware meant to hold up under pressure.

This is not the first 3D printed door hardware we’ve seen. Check out this innovative latch printed as a single piece and here’s the skinny on making flexible objects yourself.

Continue reading “Opening The Door To Functional Prints”

Upgrading RAM On A Nexus 5X

A screenshot of the status screen indicating the phone has detected the extended RAM.

A denizen of the venerable XDA forums reports that it is possible to upgrade the RAM of the Nexus 5X from 2GB to 4GB.  Having suffered the dreaded bootloop, [Cathair2906] decided to send their phone off to China for repair. The technician advised that since reflow of the CPU was necessary anyway, it makes sense to upgrade the RAM as well. This is due to the RAM actually being fitted directly on top of the CPU, a method amusingly known as Package on Package (SFW).

Upgrading RAM in the average computer is a relatively trivial task. Pop the case open, and you slide the new sticks into the extra slots. It’s not the same case for smartphones and tablets — in the endless quest for the slimmest form factor, all parts are permanently soldered. In addition, every device is essentially bespoke hardware; there’s no single overarching hardware standard for RAM in portable devices. You could find yourself searching high and low for the right chips, and if you do track them down, the minimum order quantity may very well be in the thousands.

Unless, of course, you had access to the Shenzhen markets where it’s possible to buy sample quantities of almost anything. Given access to the right parts, and the ability to solder BGA packages, it’s a simple enough job to swap a bigger RAM chip on top of the CPU during the repair.

It’s the sort of thing that’s trivial in Shenzhen, and almost mind-bogglingly impossible in the West. The price of the repair? About $60 USD. [Cathair2906] was even nice enough to share the address of the shop that did the work.

We’ve seen similar antics before – like this Nexus 5 storage upgrade to 64GB.

[via XDA Developers, thanks to Jack for the tip!]

Prusa Shows Us The New I3 MK2 3D Printer And Where The Community Is Headed

Josef Prusa’s designs have always been trustworthy. He has a talent for scouring the body of work out there in the RepRap community, finding the most valuable innovations, and then blending them together along with some innovations of his own into something greater than the sum of its parts. So, it’s not hard to say, that once a feature shows up in one of his printers, it is the direction that printers are going. With the latest version of the often imitated Prusa i3 design, we can see what’s next.

Continue reading “Prusa Shows Us The New I3 MK2 3D Printer And Where The Community Is Headed”