Does OpenStack Heat support YAML short form? - openstack

Does OpenStack Heat support YAML short form? For example, !Select instead of Fn::Select?

Based on this latest Heat Documentation: https://docs.openstack.org/heat/latest/template_guide/hot_spec.html#template-structure
I don't think it supports the short form. The best way to check is to go to the Heat IRC (#openstack-heat) and ask its core developers.
HTH.

Related

Creating an indoor map

I wonder if someone here can help here ,in my web application I'm trying to create map section:
In my map section the objective is to show an indoor search like in the attached picture from Yahoo Maps does someone know how they Created the tenants names and level of the floor on the maps it self?
http://s30.postimg.org/4dh7mlpfl/Yahoo_Maps.png
I think the best answer for this one is going to depend on which mapping framework you were interested in using.
If you're using Yahoo maps: Yahoo got that indoor map data from Nokia's here platform. As far as I know, they don't offer an editor for the indoor mapping data. The major mapping platforms often have some self-service mechanism to add or correct mapping data. If you were set on having this available and you were using Yahoo's maps, you might want to try to contact someone at Nokia's "here" and see how you might be able to get that to happen.
With that being said, you can do something like that with Google Maps as well. They have information and a way to add the interior layout of a building here. I haven't used it...I just know that it exists, so I can't speak to it in much detail.
There is also some support for this kind of thing in OpenStreetMap. I would post a link to an example of it, but stackoverflow says I can't post more than 2 links unless I have more than 10 reputation. (Sorry...I'm still relatively new to posting on here.)

Rgexf dynamic node attributes

I'm trying to build a dynamic gexf graph-file using the R library Rgexf. It is great so far but I would like to add node attributes changing over time. As I understand it the gexf format supports this but I don't know how to add this using the R library.
Is this possible with rgexf?
If not which would be another way to do it?
I have some basic python knowlegde would pygexf a mor powerfull alternative?
As author/developer of rgexf I can tell you that for the current version it is not possible handling spells or dynamic attributes. The next version will (hoping to have it in the next two weeks).
For now you can try using Paul Girard's pygexf (gexf for python) https://github.com/paulgirard/pygexf , which supports spells.
Here you will fine a really good example of network dynamics with spells and dynamic attributes http://gexf.net/format/dynamics.html
If you have another concern/suggestion about the library please do not hesitate to send me an email at george [dot] vega [at] nodoschile.org . I would be very grateful.
Best wishes
George Vega

How to get all the meanings when I use Google translate API

I used the Google API to translate word from Ar to En I want to translate only one word every time and I want to get all the possible meaning for that word not only one meaning. How can I do that, all the codes I found give only one translation.
Unfortunately it is impossible for the current version of Google Translate API (v.2).
From the FAQ (https://developers.google.com/translate/v2/faq):
Q: Is it possible to get multiple translations of a word?
A: No. This feature is only available via the web interface
at translate.google.com
I have created a npm package that can do exactly what you want - extended google translate api
However, this package uses unofficial google translate API, so you can't use it in any commercial projects.

QT Multi Language support?

I want to do multi language support for my QT Application ?
Can Anybody guide me what are the steps involved to achieve that ?
Thanks.
Qt has great documentation.
*updated to the current one.
Practical advice: tr() all your user-facing strings. Get this sorted from the beginning and you can retrofit multi-language support later when you have time to figure it out.
This goes for control-key sequences in menu labels and everything.

Resources to learn qt-dbus

Please, could you provide me some resources (web-links) to learn qt-dbus?
I already have a process which provides QtDBus interface, I want to learn it so that I can communicate with it.
First hits from a Google search for qt-dbus and qt-dbus tutorial:
http://doc.trolltech.com/4.2/intro-to-dbus.html
http://wiki.forum.nokia.com/index.php/QtDbus_quick_tutorial
http://techbase.kde.org/Development/Tutorials#D-Bus
There were many more interesting hits to list here. Their usefuleness to you depends on what you want to do, of course.
There are some more useful links since Dec '10:
http://qt-project.org/doc/qt-4.8/qtdbus.html
http://qt-project.org/doc/qt-4.8/examples-dbus.html
In my opinion, this is the best tutorial to start: http://techbase.kde.org/Development/Tutorials#D-Bus
http://developer.nokia.com/Community/Wiki/QtDbus_quick_tutorial
http://techbase.kde.org/Development/Tutorials/D-Bus/CustomTypes
If you want to introspect D-Bus objects and messages you can use following tools:
http://doc.qt.digia.com/4.6/qdbusviewer.html
https://wiki.gnome.org/DFeet
Nokia has some great Maemo code that you can look off of. I found it's well documented and useful.
http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/DBus/DBus_Basics

Resources