我正在尝试检测Bluemix/Cloud Foundry的版本.有没有可以用来执行此操作的命令?
cf -version告诉你命令行界面的版本,但不是你"推"到的服务器的版本.
谢谢
安东尼
我是Bluemix的新手,是按照以下步骤创建应用程序的一部分:
我收到以下错误:
BXNUI2032E:联系Cloud Foundry创建资源时发生错误.资源:路线.Cloud Foundry消息:"主持人被采取:vTest." 请参阅IBM Bluemix文档中的故障排除主题以检查服务状态,查看故障排除信息或获取有关获取帮助的信息.
提前致谢
IBM IoT Foundation允许设备将事件提交给IBM云以供使用和记录.似乎有两种主要机制来实现事件的传输...... MQTT和REST(HTTP POST请求).假设一个项目的传感器可以通过Internet直接与IBM云连接,那么我们可以认为这两种技术之间存在潜在的区别?我们选择MQTT或REST作为使用技术的因素是什么?在IBM最后一英里是否存在任何实质性的性能差异,可以说一种技术比另一种更受欢迎?
我一直在使用AWS来托管我的后端服务器.注册帐户的最佳方式是什么,以便我可以直接从我的服务器调用Watson服务,而无需在Bluemix上使用帐户?如果有,怎么样?我在Watson的网站上找不到.谢谢.
我有一些关于bluemix xpages运行时的问题.
截至目前(2016年8月)Xpages NoSQL数据库仍处于试验阶段.这个NoSQL服务是否有ETA成为GA?
截至目前,为了更好地控制性能,必须配置单独的多米诺骨牌服务器来托管NSF数据存储区,如https://developer.ibm.com/bluemix/2015/11/10/hybrid-xpages-applications中所述-on-bluemix /
什么是最小化XPage前端和托管NSF数据存储的后端服务器之间的流量延迟的最佳做法?domino服务器应该托管在IBM SoftLayer上吗?
XPage运行时是否提供对Xpages运行时和NSF后端之间的网络性能的可见性?
我假设可以增加xpages运行时实例的数量来处理增加的流量(水平缩放).但是,存储NSF的多米诺后端最终会成为瓶颈,只能通过增加机器的功率(CPU/RAM)来扩展.(垂直缩放).是否有计划提供可以水平扩展的Xpages NoSQL后端?
在混合bluemix xpages设置中,xpages运行时可以使用自定义server.id站起来.
当通过增加实例数来扩展xpages运行时时,是否所有实例都使用相同的server.id?AFAIK,在多米诺骨牌域中,每个服务器都使用唯一的server.id.这应该引起关注吗?
是否可以在任何其他cloudfoundry实例上运行xpages buildpack(在某些许可下)?
提前感谢您的回复.
我目前正在使用IBM Conversation Service.除了官方文档中的信息或此处记录的信息之外,是否存在创建意图的最佳实践:https://github.com/watson-developer-cloud/text-bot#best-practices?
我可以看一下其他演示吗?我见过IBM的汽车仪表板和Weather bot.
问候,
的Kjetil
我使用以下lib连接到云控制器
https://github.com/prosociallearnEU/cf-nodejs-client
const endpoint = "https://api.mycompany.com/";
const username = "myuser";
const password = "mypass";
const CloudController = new (require("cf-client")).CloudController(endpoint);
const UsersUAA = new (require("cf-client")).UsersUAA;
const Apps = new (require("cf-client")).Apps(endpoint);
CloudController.getInfo().then((result) => {
    UsersUAA.setEndPoint(result.authorization_endpoint);
    return UsersUAA.login(username, password);
}).then((result) => {
    Apps.setToken(result);
    return Apps.getApps();
}).then((result) => {
    console.log(result);
}).catch((reason) => {
    console.error("Error: " + reason);
});
我尝试针对我们的API运行它并且它无法工作,我在控制台中没有收到任何错误消息,它可以是什么?
这里处理空间/组织的位置是什么?因为当我从cli连接时它问我要连接哪个空间/组织...
我能够通过CLI登录,只是从代码我不能,任何想法在这里缺少什么?
我运行它时的问题我没有得到任何错误,可以帮助理解什么是根本原因
javascript node.js cloud-foundry pivotal-cloud-foundry ibm-cloud
我在我的Bluemix应用程序中安装sasl时出现以下错误:
       Installing collected packages: sasl, thrift-sasl
         Running setup.py install for sasl: started
           Running setup.py install for sasl: finished with status 'error'
           Command "/app/.heroku/python/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-9mi8225r/sasl/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-3l4o04ga-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-9mi8225r/sasl/
           running install
           running build_py
           creating build
           creating build/lib.linux-x86_64-3.5
           creating build/lib.linux-x86_64-3.5/sasl
           copying sasl/__init__.py -> build/lib.linux-x86_64-3.5/sasl
           running egg_info
           writing dependency_links to sasl.egg-info/dependency_links.txt
           writing top-level names to sasl.egg-info/top_level.txt
           warning: manifest_maker: standard file '-c' not found
           reading manifest file …文档到期字段是使用日期时间还是秒或毫秒设置的?据我所知,这是秒:
"expiration": 1543086426,
所以 1543086426 = Saturday, November 24, 2018 7:07:06 PM
那么为什么Cloudant会删除该文档?如果是毫秒,那么:
1543086426 =  Sunday 18 January 1970 12:38:06
这解释了.那么如何为cloudant文档设置合适的到期值,例如在1个月后呢?
此外,哪个Cloudant任务负责删除文档?它开始的频率是多少?
我正在尝试使用我的 python 应用程序转录文件夹中的多个文件并加快进程。目前我可以一次做一个文件 -
####RUN THIS PART FIRST#########
import json
from os.path import join, dirname
from ibm_watson import SpeechToTextV1
from ibm_watson.websocket import RecognizeCallback, AudioSource
import threading
from ibm_cloud_sdk_core.authenticators import IAMAuthenticator
import pandas as pd
authenticator = IAMAuthenticator('xxyyzz')
service = SpeechToTextV1(authenticator=authenticator)
service.set_service_url('https://api.us-east.speech-to-text.watson.cloud.ibm.com')
models = service.list_models().get_result()
#print(json.dumps(models, indent=2))
model = service.get_model('en-US_BroadbandModel').get_result()
#print(json.dumps(model, indent=2))
# This is the name of the file u need to change below
with open(join(dirname('__file__'), 'Call 8.wav'),
          'rb') as audio_file:
#    print(json.dumps(
    output = service.recognize(
    audio=audio_file,
    speaker_labels=True,
    content_type='audio/wav',
    #timestamps=True, …python speech-recognition speech-to-text ibm-watson ibm-cloud
ibm-cloud ×10
ibm-watson ×2
python ×2
buildpack ×1
cloudant ×1
iot ×1
javascript ×1
lotus-domino ×1
mqtt ×1
node.js ×1
rest ×1
xpages ×1