Make a sprite from photos
magick.exe *.jpg +append sprites_P0100.jpg
Resize all images in place
magick.exe mogrify -resize 380 *.jpg
Crop images in place
magick.exe mogrify -crop 3200x3200+400+400 *.jpg
Make and scale video from images
ffmpeg -i DSC_%04d.jpg -c:v libx264 -vf fps=25 scale=800:800 alpin_400.mp4
Disclaimers: 1. this post mentions my shop. 2. I’m sure we offer a great deal!
If you are looking preparing for a wedding and you want to keep it real (i.e. don’t want to copy celebrities in their race for overspending) then consider buying Silver Wedding Rings instead of gold. Here’s why:
* you want your rign to carry the emotional value not a metal value. The emotions are the same with any symbol and the hard cash saved makes a lot of difference.
* Good quality sterling silver bands start at about £35, so you can get a pair for £70. Poor quality gold rings (9ct, made in China) will cost you at least £199, so rounhly £400 per pair. If you want a good quality gold bands it then you’re looking at at least £360 per piece bringing the total to £700 – ten times the price of silver ones!
* adding a small diamond to you silver ring will make it more unique and personal. Silver with diamond ring will cost you about £85 – example is here here.
* taking the jewellery on holidays is safe. We have a lot of customers buying “replacement rings” when they travel, because they are scared to take something too expensive. Do you really want to spend time worrying about a wedding ring?
And now a plug why it’s good to buy from Harry Fay:
* we will help you make sure your ring fits nicely. We offer free ring sizers and free exchange if the ring doesn’t fit.
* we can engrave your message inside your ring – for additional £10 we will write your message.
* we know what we do – our family is making and selling jewellery since 1991.
Please go to our website to learn more and check our offering of Silver wedding bands.
LBC offers paid podcasts and BeyondPod supports authentication, but not the one http://lbc.audioagain.com/ uses. The typical link to feed advertised on the website looks like this:
But there’s also a “hidden” link that accepts HTTP auth:
And the second one works well in BeyondPod.
I love CloudFlare. Not only because it lowers the load on our servers and speeds up page load time, but it helps us to react to problems quickly. The most obvious case is when our server goes down we can redirect all the traffic to our spare server in a matter of few clicks. But today we used it to quickly fix a marketing issue:
In our marketing newsletter we sent to all subscribed readers we haven’t spotted that the main link leads to nowhere (copy paste issue). Instead of http://www.harryfay.co.uk/sale we had http://www.harryfay.co.uk/search?chttp://www.harryfay.co.uk/sale?orderby=price&orderway=desc?tdw&utm_source=email&utm_medium=threedayweekend&utm_campaign=threedayweekend. Yes, I know we should have tested it better. We usually do, but this time we failed to click on a biggest image in the email.
Using CloudFlare I’ve set a redirect in few clicks. I know I could do the same using .htaccess, but in my book messing with .htaccess equals problems – it’s just too easy to break something there. With CF the fix was quick, instantaneous and totally painless.
After Windows 10 update of September, 2nd the WebEx stopped working – it is displaying following message: “Invalid input or system error. Please try again or contact your site administrator.”
WebEx ignores the problem as WebEx is not compatible with Windows 10 (in compatibility matrices and words of tech support).
There are two workarounds!
- Use IETab in Chrome. When you connect to the WebEx from inside IETab it will reinstall the plugin and then connect correctly!
- Use WebEx productivity tools to start new meetings or connect to ones you were invited do. Unfortunately this won’t work for meetings to which the invitation was forwarded for you – you must be on original list.
I’ll stay with IETab.
If you are thinking about proposing then you have quite a lot on your mind. One pain point is how to get a ring in a right size without spoiling the surprise. Harry Fay jewellery boutique has prepared a very useful set of tips on this very subject.
I recommend the advise and the products from the website!
Problem: My CC3D stopped working.
Details: The board kept rebooting. After connecting the USB cable Windows was making a “ping” noise telling the device was connected and then “pong” that is was disconnected.
Cause: Unknown. I was playing with telemetry and gimbal stabilisation and something must have gone wrong with configuration. This should not happen but it did.
Solution: open OpenPilot GCS and go to Firmware tab. Then click “Rescue” button and plug in the USB cable. You have 20 seconds to do so.
The board is not halted before bootloader completed. Now click “Erase Configuration”, which will wipe out the settings that cause reboot loop.
Boot normally, reload the last working configuration and you are done!
Let’s start with something exciting – the final result! Say hallo to Bandit the Quad!
Building the Bandit was a lot of fun, but also a bit of frustration when I kept discovering I needed more things. Below you will find my final checklist.
Bill of materials
- Frame. I used Emax 250 Nighthawk Pro Frame made from carbon fibre. 250 is a size class. It is supposed to mean that the distance between opposite motors is 250mm, but in reality the size is 280mm. Close enough I suppose. This size is comfortable to build and not scary to flight.
- Motors. I used MT2204 2300KV outrunners. Two of them with clockwise nuts and two with counter-clockwise, which should keep the propellers steady.
- Flight controller (FC). I used CC3D – small, open source based controller. It is inexpensive and has a very decent software helping to set it up.
- Electronic Speed Controller (ESC). I used Emax 12A. The brushless motors require alternating inputs on three wires to spin. ESC is a component that translates PWM impulses from the flight controller to inputs for a motor. Those are smarter than they look – they are microcontroller based and their software can be updated. Mine use SimonK firmware, which seems to be a standard in this class of quads. Mine ESC have BEC (Battery Elimination Circuit), which provides power to the Flight Controller.
- Propellers. I used 6×3 carbon fiber props. I do not like them – they look cheap and have scratched edges straight out of the box. Also the carbon fibre is very tough, so in case of unavoidable crash the motor may be hurt more that with a plastic prop which would just snap. On the other hand some say the carbon fiber props give less vibrations. I’ll probably will be changing them.
- Radio transmitter (TX). I used Spektrum DX5e because I happened to have one. I like it – it feels good in hand and Spektrum is recognized as a good quality brand of RC.
- Radio receiver (RX). This is a crucial component – it needs to work well with your transmitter and with the flight controller. I opted for Spektrum AR610 – one of the simplest and cheapest in line. It uses PWM communication with the controller, which is fine for now.
- Power Distribution Board (PDB). In Quadcopters there are two almost separate set of electric systems: low current signals (RC-FC-ESC) and high current power to motors via ESC. PDB helps with the latter. You may use PDB or you can make the harness using wires (14AWG should be enough). PDB leaves exposed contacts which may lead to short-circuits, but it is easier to assemble than the harness. You choose.
- Battery plug. I own few batteries with XT60 plugs, so I used the same in my quad. I bought one already soldered to a piece of 14AWG wire.
- 14AWG wires to connect the battery plug with PDB.
- Battery. I used 2100MAh 3S LiPo from DJI Phantom. Most people recommend smaller and lighter ones around 1300MAh 3S.
- LiPo Battery charger. Self explanatory
- Mini USB cable. The flight controller needs to be set up from a computer. CC3D uses mini usb, not micro as phones do.
- Battery straps. You need to fix the battery to the quad somehow. I used two velcro straps.
- Heat Shrink. There’s quite a lot of things to solder and isolate. Heat shrink is much safer and looks better than isolation tape.
- Cable ties. There are a lot of wires in the finished quadcopter and the frame offers no help in hiding them. My receiver does not offer any mounting holes, so I used the cable tie to fix it as well. I used few of 100x2mm and some of 150x3mm cable ties.
- LiPo Charging bag. Rarely the LiPo batteries can cause violent fires. LiPo charging bags contains the most of the flames. Grab a bag, they are worth it.
- Crocodile clips (see tips and tricks)
- Soldering iron and solder. You will need to solder the motors, ESC, PDB/harness and a battery plug. I used 30W iron and I felt it was to small for the power cables.
- Helping hand/3rd hand tool – you want the wires as short as possible, which means the soldering is harder than usual. Without the helping hand tool from Maplin I would be sitting here until next Christmas.
- Heat gun. I didn’t feel using a cigarette lighter would be good for the machine. Heat gun is the cleanest way to shrink the shrink wrap. Go PRO and buy one!
- Cable cutters
- Hex keys
- Small spanners for the frame and propeller nuts. I used pliers instead.
- Computer with internet access.
- Multimeter – to check for the soldering work before connecting a real battery.
Tips and Tricks
- ECS and motors have three wires with no information how to connect them. I soldered the middle wires together and then connected the remaining ones using crocodile clips in a random order. This allowed me to check the rotation direction of the motors before committing the proper joint. I happened to choose wrong order on 3 motors! You will check the rotation direction while setting up the machine in Open Pilot software.
- It is extremely easy to scratch the carbon fibre with any sharp tools. I have made circles around few bolts where I used pliers instead of a correct spanner.
- You can get a pack of 75 cable ties in three sizes for a £1 in Poundland. You want to have different sizes, so you would spend £5 in B&Q and £9 in Maplin to get them. And you will end up with many unused ties.
- If you haven’t soldered the 14awg wires before practice it on a side before starting the real thing. I found this to be the hardest part.
- Remember you put the shrink wrap before soldering ;)
The build took me two evenings after I have gathered all parts.
And now it is time to fly!
2table spoons honey
300g mashed banana
1/4 tsp baking powder
1/4 tsp salt
39g coconut flour
(Can cut honey out in place of extra small banana / mixed berries)
Calories : 105
Mix in a blender, pour into a muffin/cupcake tray and bake in an oven at 180 deg until done.
My Hubsan X4 (H107) had developed a problem synchronizing with transmitter (tx to rx). Since I had to disassemble it completely and solder broken battery cable I wasn’t optimistic that I could fix it. But I knew the quadcopter was flying after my repairs, so I kept thinking that the problem may lay somewhere else.
I suspected the transmitter. Symptoms below were appearing in random order:
* Hubsan X4 established link to transmitter (LEDs on), but does not react to throttle
* Link is established, but drops immediately – LEDs flashing on quad-copter or LED flashing on transmitter
* Red LED flashing quickly on the transmitter
I tried all the usual IT magic: turn it off and on again, shake, press all buttons in random order and combinations etc. with no result. I tried to do the factory reset and recalibration – the transmitter did not respond to that. I needed to think outside of the box. And then it hit me!
The solution was (drumroll…) to change the batteries in transmitter.
The Hubsan X4 transmitter has a battery status build in, but it seems to be broken – it was showing more the batteries still have 3/5 of the juice while the batteries were clearly dead.