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"))
Since a truck hauling 20 tons of freight needs a lot of energy to move, it has to stop fairly frequently to charge; the T-pod can make it 124 miles before it has to plug in again. For other electric semis, charging time is a bigger deterrent, because it’s also wasting a driver’s time.
“If you have to stand still maybe one-third of the time to actually charge, that makes the business case for having a truck driver in a battery-powered truck not that good,” says Robert Falck, CEO of Einride, the Sweden-based startup making the T-pod. “But if you remove them and create a system where the truck driver drives it remotely and controls a fleet, you overcome that problem.”
Elon Musk’s Neuralink wants to boost the brain to keep up with AI