Writing Cognitive Swift Apps developerworks Open Tech Talk March 8, 2017 https://developer.ibm.com/open/videos/writing-cognitive-swift-apps-tech-talk/ Question Can you please also compare Swift and Go? can swift use bmx environment variables so i don't have to hardcode userid/passwords in my code? Is Xcode the only Swift development environment available today? Can we get Watson to do an accurate transalation (the ""veuillez"" at the end is meaningless). Not very well translated ;-) I m french the translation is not right in the context of the original english text. please should have been translated in «s il vous plaît» Answer(s) Swift and Go are both strong type languages that each have its own advantages depending on what application you want to build. I would say that Swift is probably slower in compilation speed compared to Go, but Swift requires no package, module or main function that's required. Go on the other hand I believe is easier to optimize parallelization in code, more friendly for lower-level programming. If you're talking about VCAP Services Bluemix creates, I'll be introducing a handy tool that will take care of the bluemix environment variables that I used in order to make deploying to/from Bluemix and taking advantage of the services Bluemix provides easier. Xcode is more commonly used by Swift developers as it provides a simulator that people can use to test their code. You can still use other text editors that provides syntax highlighting and swift error checking, but to see the ios app or Mac app and test it, Xcode is the only editoir that provides this capability. Haha, good point! My apologies if the French translation wasn't great. I suppose Watson is still learning! Hopefully it will improve as more people use the translation service and Watson can learn from more data. Ah! Apologies. Watson is still learning! Ah! Apologies. I suppose Watson is still learning! Hopefully this will be improved as more folks use the translation service and more data is available to learn from. which languages are currently supported by TextToSpeech and SpeechToText? Can I run this playground on Playgrounds for ipad? Great question! Here are links to the supported languages in the documentation. Speech to Text: https://www.ibm.com/watson/developercloud/doc/speech-to-text/input.shtml#models. Text to Speech: https://www.ibm.com/watson/developercloud/doc/text-to-speech/http.shtml#voices. Good question! The demo used the Playground tool in Xcode. Unfortunately, I don't think that Playground could be opened in the Playgrounds for ipad app.
might there be a slide(s) that compares That's a good idea! We don't have that prepared for today. Many of the SDKs across languages share a swift with the other languages in bluemix similar API. But for Swift (like Node) we use async programming a bunch. including Go, Python, etc? plait live answered Is the current demo runnin locally or on It's running in Bluemix Bluemix? Can you program in Swift if you do not have a Mac? (i.e. What are the options for PC users who want to play around with Swift) But this IBM Cloud Tool app is Mac-only, it seems? May be Alex can help improve French translation. ;-) Do you have an example that actually uses the real microphone? Does Swift have ability to develop GUI also? Are you planning to demonstrate that? I'm still struggling with why Swift vs. the plethora of other language options. I get the ability to write front end and back end in same language, but there are other options for that as well. Any additional pointers/weblinks describing the why swift? Yep! You can code in Linux if you want. I like to use VSCode. You can get the toolchain here: http://www.swift.org Yes, unfortunately it's only available for Mac right now. Haha, yes. We hope it will improve as more people use the service and Watson can learn from more data! Good question! We don't have an example during our presentation--we didn't want to fight the presentation software for control of the microphone--but let me point you to some resources. Here is documentation in the Swift SDK's readme: https://github.com/watson-developer-cloud/swiftsdk#speech-to-text. And here is a sample application we built for Speech to Text that includes microphone support: https://github.com/watson-developer-cloud/speech-to-text-swift. Good question! Swift does have GUI support, but only for Apple environments. The GUI libraries haven't been developed yet for other platforms. The GUI for Sarah's application was built with Swift. Good question. To an extent, it's based on preferences. We really like working with Swift, but you can accomplish the same demos in other languages. Let me at least point you to a link: https://developer.ibm.com/swift/
Do we have any idea how much using all these Watson services would cost on a monthly basis? I ve played around with the free versions of speech to text, sentiment analysis, and NLC, and I hit the limit rather quickly. Is this something that a startup could afford to use? Glenn, is your project in GitHub as well? Unfortunately, the Universal Translator is not published to GitHub yet. But here's a link to the Swift SDK readme, which includes lots of documentation and sample applications: https://github.com/watson-developer-cloud/swift-sdk. Have there been any performance benchmarks run on Swift with Watson services? Currently we have our Watson services running through Node and leveraging the APIs from Watson services and would like to know how the two compare? How easy is it to connect a swift mobile Good question! I haven't worked with node-red personally, but so long as it can build a back-end with app to a backend done using node-red on REST endpoints, then it should work great with a Swift front-end. blue mix? Ok. Thanks. Would I get the chat stored somewhere, for the links pasted here to be referred afterwards? Will this presentation be archived somewhere? My team members couldn t make it today and would like to see it :) Reminder, today's presentation is being recorded and will be posted to the dw Open Videos page, along with charts, Q&A, and links: https://developer.ibm.com/open/videos/ Live link in the chat : ) can you write Github name for your repository. Thanks Watson SDK for the Go programming language? Yes, there are multiple repositories that we've talked about today. The best reference is the last slide of the deck. There are links to all of the GitHub repositories we worked with today. Unfortunately, we have not yet developed a Watson SDK for Go. Would love to do it, though!
when you talk with the conversation service - when the app or the service know to hand over to you the action to choose the restaurants? Is it the key word in the conversation session (choose restaurants), or something else? Can you call out the advantages for Swift over the others? Is there any IDE for Swift for those not using MACs? Sure, there're packages you can download such as `language-swift` in Atom that provides Swift syntax highlighting, etc. Why would I choose Swift over Node, specifically? Can you suggest me the link to learn swift I really like the ""Hacking with Swift"" series. It walks you through an introduction to Swift and helps for beginners you build several applications. Perhaps open source other than Intellij s one? sare there other examples using different lanugages? Thank you!! 1 what platform does the SDK run in? only The SDK is written in pure Swift, so it can run on ios, macos, tvos, watchos, and Linux. apple mobile? A general swift ios app question, but what is the best architecture to follow when building swift ios apps? Does Watson Natural language support Mandarin or Cantonese? what about Eclipse, does it support swift? What do you think about Vapor for creating your own server side in swift? I hear BlueMix is no longer supporting Jupyter notebooks?
Really interesting presentation. Thanks! By clicking on Survey Submit button it says, Survey failed error: 50003