Great tutorial using STM Flash Loader Demonstrator tool: http://www.southquay3d.com/index.php?route=news/article&news_id=9
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.
I’ve been playing with Google AIY on raspberry pi for nearly an hour now and I love it. If you are lucky you can get your kit from issue 57 of The MagPi Magazine.
Google provided a python based example app that recognises the command you spoke to the box and runs your action. The problem with it is that the command needs to match literally without and option to add variable part (a parameter). In real world I want to give parameters to the commands, for example “Add note my note“. So I’ve hacked the app to do just that. Here are the steps:
1. Modify the actionbase.py to recognize patterns. In class class KeywordHandler(object): change the handle method:
class KeywordHandler(object): """Perform the action when the given keyword is in the command.""" def __init__(self, keyword, action): self.keyword = keyword.lower() self.action = action def get_phrases(self): return [self.keyword] def handle(self, command): if("*" in self.keyword): match = re.match(self.keyword.lower(), command.lower()) if match: param=match.group(1) self.action.run(param) return True else: if self.keyword in command.lower(): self.action.run(command) return True else: return False
2. Make sure the action you are running understands that the param given to it is the variable part. I’ve modified the SpeakAction to do just that:
class SpeakAction(object): """Says the given text via TTS.""" def __init__(self, say, words): self.say = say self.words = words def run(self, voice_command): newwords=self.words.replace("$1",voice_command) self.say(newwords)
3. Add new action in make_actor method:
actor.add_keyword(_('add note (.*)'),SpeakAction(say,"adding $1"))
For last two months I’ve been using Virgin Media Hub 3.0 and I haven’t found a single think to like about it. Part of it is that Virgin Media internet isn’t as good as promised – 200Mbps link gives this speed only during benchmarks to VM servers. Real world speeds usually hover around 20Mbps with up to 50-60Mbps when using multiple sources – for tasks like downloading CentOS images (I’ve testes many, many mirrors).
The things I do not like about the VM hub are:
- DHCP cache is reset every restart, so my systems get different IPs from time to time (BT Hub remembered all system correctly)
- UPnP doesn’t work. It is enabled, but I haven’t found any application that was able to set up port forwarding correctly
- Using the admin panel is pain in the back – (login screen the admin panel takes 13 seconds to load, main screen takes about 22 seconds to display!) – see screenshots.
- WiFi range seems to be less than average. I get the best coverage upstairs when the router is laying on a side.
I’m going to set the VM router into modem only mode and I’ll use BT Hub as my router instead.
I really wanted to have wireless headphones for running and gym visits, so I got myself a pair of Skull Candy SMOKIN’ BUDS 2 WIRELESS. Those headphones sound good enough for exercise – on par with in-ear headphones I used so far (Sony from Xperia Z and Z3 and Skull Candy buds).
But I’m not happy with the purchase. Here’s why:
- The wireless headphones need charging. I’ve already run out of power once in the gym. And even if you have power the headphones tell you they need charging soon by… beeping. Beep… beep… beep… every few seconds. Try to concentrate with that in your ears.
- The headphones are not wireless. There’s no wire to connect to the phone, but there’s quite a lot of wire connecting the in-ear buds. And this wire is more annoying that a standard cable, because it’s not attached to a fixed point, so it bounces around neck. And it has a sizeable bit of plastic in the middle. Skull Candy tried to patch this by adding a quite heavy rubbery neck bundle. Which stills bounces a bit and is no less irritating.
- Android 6 cannot reliable handle BT audio. I’m using BT audio in my car, with Sony SRS-X55 speaker and with those headphones. Switching between Sony speaker, car and SB2 sometimes confuses Android. I had to go to BT settings to remove the connection and reconnect the phone again to all those devices several times. It doesn’t always help – I had to restart my phone three times as well. Which is not what I want to be doing in gym’s changing room!
- BT range is good in theory, but seems to have gaps. Maybe my phone (Xperia z3) has a directional antenna or maybe it’s the headphones. I can leave the phone 3 to 5 meters from me and the sound is working well, but as soon as I slip the phone into my pocket the sounds starts to break. Not much, but I’m getting very short breaks every few steps – just like my body is blocking the signal.
Would I buy different headphones instead of SB2? No. The whole approach is broken and the whole ecosystem needs updating. I’ll try again in 3 years.
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.
In UK we have a legal VTX power limit of 25mW. A lot of people ignores this limit and fly on 250mW or even 600mW. This is silly, as it invalidates their insurance.
Here’s a great article what to have a better range and still stay within legal limits: http://www.truerc.ca/news/rf-link-budget-2. Physics baby!
Most hotel wifis are open, so to secure my connections I’ve set up myself a PPTP VPN using QNAS TS-453A box (btw. great machine, get one!) to tunnel all my traffic via encrypted connection.
Windows 10 and Android are connecting to the VPN and the traffic goes smoothly, but my Mac OS X El Captain caused me quite a bit of grief – it connected to the VPN without a problem, the internal connections were working great, but the forwarding traffic got stuck. Ping was working fine, but WWW did not. Some initial parts of first website were loading and then the connection got stuck.
The issue was caused by MTU mismatch. It seems that NAT on VPN server adds some headers, which cause the packet to be to big and get rejected.
Go to apple->system preferences->network-><your connection>->advanced->hardware and set MTU to Custom with packet size 1400 instead of default 1500. You may want to experiment to find maximum MTU value that works for you.
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.