微软hackathon

by Ajay NS

由Ajay NS

Hackathon报告:30小时内您可以编写什么代码? 非常多! (Hackathon Report: What can you code in 30 hours? Quite a lot!)

What can you build in 30 hours straight? As a group of second year college students with a growing portfolio of work, my team and I wanted to find out. So we signed up to a hackathon.

您连续30小时可以建立什么? 作为一组二年级大学生,他们的工作量越来越大,我和我的团队想找到答案。 因此,我们报名参加了黑客马拉松。

It was a Financial Technology (or ‘Fintech’) hackathon organized by DCB Bank in the city of Mumbai. Although we were clueless about Fintech, we wanted to give it a try, in the hope of coming with an idea that solves a general problem.

这是金融技术(或“金融科技”) DCB Bank在孟买举办的黑客马拉松。 尽管我们对金融科技一无所知,但我们还是想尝试一下,以期提出解决一般问题的想法。

The event was hosted in the beautiful and cozy co-working space by 91 Springboard. This was an environment I hadn’t been in before.

该活动由91 Springboard在美丽而舒适的合作空间中举办。 这是我以前从未去过的环境。

Basically, it rents out office space for startups, freelancers and such who don’t need a huge office, but just a workspace for their team members to collaborate. 91 Springboard takes care of providing fun colorful and snug workspaces, fast internet and unlimited coffee, while you work hassle-free. It was really a pleasure crashing here for the weekend.

基本上,它为初创公司,自由职业者等不需要大型办公室的人出租办公室空间,而只是一个供团队成员进行协作的工作区。 91 Springboard致力于为您提供丰富多彩,舒适的工作空间,快速的互联网连接和无限的咖啡 ,同时让您轻松工作。 周末在这里撞车真是一种荣幸。

想法 (The Idea)

To put it simply, we wanted to build a specialized chatbot.

简而言之,我们想要构建一个专门的聊天机器人。

Why?

为什么?

It’s predicted by 2020, a huge percent of business communication will be done through chatbots.

据预测,到2020年,很大一部分业务通信将通过聊天机器人完成。

User experience (‘UX’) is rapidly changing. With messaging apps gaining popularity, users prefer to access everything under one app. They are also in favor of one-on-one communication.

用户体验('UX')Swift变化。 随着消息传递应用程序的普及,用户更喜欢访问一个应用程序下的所有内容。 他们也赞成一对一的交流。

Gone are the days of emails, it’s all about real-time chat now. With today’s technology, it’s possible to create a chat-bot which can learn by itself and automate most of the tasks, allowing mass communication on an individual level.

电子邮件的日子已经一去不复返了,这一切都与实时聊天有关。 借助当今的技术,可以创建一个聊天机器人,该机器人可以自行学习并自动执行大多数任务,从而可以在个人层面上进行大量交流。

See here for a list of some of the best uses of chatbots right now.

请参阅此处以获取一些 聊天机器人的最佳用途

我们到底建造了什么? (What exactly did we build?)

As we were at a Fintech hackathon, we thought about a bot that carries out all the functions that can be carried out by the bank’s app and more — through chat.

在我们参加金融科技黑客马拉松时,我们想到了一个机器人,该机器人可以执行银行应用程序及其他所有功能的所有功能-通过聊天。

Once logged in, you can ask the bot for your balance, your last few transactions, and also to carry out actions such as fund transfers. It leverages the required APIs provided by the bank for the same purposes.

登录后,您可以向漫游器询问您的余额,最近的几笔交易,还可以执行诸如资金转账之类的操作。 出于相同的目的,它利用了银行提供的必需API。

Above is a screenshot of some of our UX inspiration. This UX had a combination of natural language and multiple options, which were directly provided as links and buttons. The flow of answering users queries, suggesting the next steps and also allowing actions to be carried out, was planned.

上面是一些UX灵感的屏幕截图。 该UX结合了自然语言和多个选项,这些选项直接作为链接和按钮提供。 已计划了回答用户查询,建议下一步并允许执行操作的流程。

该项目 (The Project)

The tech stack we chose was Ruby on Rails. We picked this because my teammates were very familiar with it, and I was focusing on wrapping up APIs and UI primarily. But this stack was totally new to me, as I’ve always worked on JavaScript or Python stacks. I wrote about my learning journey here.

我们选择的技术栈是Ruby on Rails。 我们之所以选择它,是因为我的队友对此非常熟悉,并且我主要专注于包装API和UI。 但是这个堆栈对我来说是全新的,因为我一直在使用JavaScript或Python堆栈。 我在这里写下了我的学习历程。

It uses a basic PostgreSQL database to store user messages, and uses ActionCable for live data-streaming as required. The whole site (along with the chat as a widget) is built over the Materialize framework.

它使用基本的PostgreSQL数据库存储用户消息,并根据需要使用ActionCable进行实时数据流传输。 整个网站(以及作为小部件的聊天)都基于Materialize框架构建。

One of the key features we planned to use was a customized AI, rather than going for something like IBM Watson or api.ai. This was wrapped into an API using Flask.

我们计划使用的关键功能之一是定制的AI,而不是像IBM Watson或api.ai这样的东西。 使用Flask将其包装到API中。

Initially, when the bot has little to no training data, human assistance is required to give responses and also classify the intent of each user query for the bot to learn. Once it accumulates data, it can automate the whole process, giving appropriate responses.

最初,当机器人几乎没有训练数据时,需要人工协助来做出响应,并对每个用户查询机器人的意图进行分类。 一旦积累了数据,它就可以使整个过程自动化,并给出适当的响应。

A few of the scripts used for the AI are available here.

此处提供了一些用于AI的脚本。

黑客马拉松 (The Hackathon)

We managed four hours of sleep over a span of more than 30 hours, while pushing over 50,000 lines of code to production.

我们在30多个小时的时间内管理了四个小时的睡眠,同时将50,000行以上的代码推向了生产环境。

But it wasn’t as bad as it sounds! The place itself has this motivating vibe, and there are mentors helping you out. There were breaks in between to chill with other teams and getting to know other kick-ass developers.

但这并没有听起来那么糟糕! 这个地方本身就具有这种令人振奋的氛围,并且有导师帮助您。 在这之间有一些休息时间,可以让其他团队放松,并认识其他踢屁股开发人员。

While my team mates focused on the Machine Learning part and the actual chat application on Rails, I worked on the UI for the service. This included an admin panel as well as the chat widget. Quite a lot of time was spent wrapping up the AI code into RESTful APIs and fixing bugs in the main code as well.

当我的团队成员专注于机器学习部分和Rails上的实际聊天应用程序时,我在该服务的UI上工作。 其中包括管理面板和聊天窗口小部件。 花费了大量时间将AI代码包装到RESTful API中,并修复了主要代码中的错误。

In the end, what we had was a basic alpha version of the app we set out to build.

最后,我们拥有的是我们打算构建的应用程序的基本Alpha版本。

体验 (The Experience)

For a start, this was the most productive 30 hours of my life.

首先,这是我一生中效率最高的30个小时。

With constant bursts of motivation (and caffeine) driving me, there was no time for sitting around or lazing. Loads of fun and talented people to interact with as well, because I was one of the youngest there.

在不断涌动的动力(和咖啡因)的驱使下,我没有时间闲逛或闲逛。 也有很多有趣的和有才华的人与人交流,因为我是那里最年轻的人之一。

A few of the things I learned here included:

我在这里学到的一些东西包括:

  • Decoupled application architecture解耦的应用程序架构
  • Building an app from scratch and then pushing into deployment in the shortest time possible从头开始构建应用,然后在最短的时间内进行部署
  • Live code collaboration实时代码协作
  • and of course, a little bit of Fintech!当然还有一点金融科技!

Check out the project we worked on here: chaturbots.com. This is offered as a service now, so contact us for getting a custom bot built.

在这里查看我们从事的项目: chaturbots.com 。 现在提供此服务,请与我们联系以构建自定义机器人。

Hope you enjoyed this article and found it to be a good read! You can check out all my projects on Github and reach out to me on Twitter!

希望您喜欢这篇文章,并希望它能对您有所帮助! 您可以在Github上查看我所有的项目,并在Twitte r上与我联系 !

翻译自: https://www.freecodecamp.org/news/hackathon-report-what-can-you-code-in-30-hours-quite-a-lot-ffd7224c9745/

微软hackathon

微软hackathon_Hackathon报告:30小时内您可以编写什么代码? 非常多!相关推荐

  1. 如何在 30 天内重新设计整个应用程序?

    "作为这个应用程序的唯一创始人,我不仅负责网站.应用程序.Chrome扩展和网页抓取工具的开发,同时还负责包括营销在内的业务方面的工作.我真的没有多余的时间去做任何事情,也绝对没有时间去重建 ...

  2. 如何仅花25美元并在3小时内完成ImageNet训练?

    译者 | 核子可乐 编辑 | Debra.Vincent AI 前线导读:在斯坦福大学建立的项目 DAWNBench 竞赛中,CIFAR10 与 ImageNet 的表现引起了人们的关注,在目标基本一 ...

  3. 英尺 厘米_我们如何在80小时内建立33,000英尺高的社区?

    英尺 厘米 A few weeks ago, I got on a A380 from Hong Kong to London for free, with 31 other people: deve ...

  4. 如何在一小时内更新100篇文章?-Evernote Sync插件介绍

    上一篇"手把手教你制作微信小程序,开源.免费.快速搞定",已经教会你如何快速制作一个小程序,但作为资讯类小程序,内容不可少,并且还需要及时更新. 但是,如果让你复制粘贴,可能还需要 ...

  5. 30分钟内使用MongoDB

    最近,我被NoSQL错误咬住了-或是我的同事Mark Atwell提出的"燃烧在哪里!" 运动. 尽管我无意于在不久的将来或可预见的将来回避友好的" SELECT ... ...

  6. ios开发 mvp实践_实践中开发人员的工作流程-我们如何在30天内建立​​MVP

    ios开发 mvp实践 by Léna Faure 莱娜·福雷(LénaFaure) 实践中开发人员的工作流程-我们如何在30天内建立​​MVP (The developer's workflow i ...

  7. 转网口显示未识别的网络_已有1700万用户携号转网 超99%用户1小时内办结

    携号转网是利国利民的大举措,受到了很多电信用户的拥护和支持.12月15日,工信部副部长刘烈宏在某会议上进行报告指出,目前我国 "携号转网"服务已经累计有 1700 万用户完成携转, ...

  8. 华为Mate40国行版18点08分开卖:要求12小时内必须卖完

    经过了一周的"漫长"等待,正如官方此前预告的,华为将于10月30日也就是今天下午2点30分在上海举办Mate40系列中国发布会,而本次发布会上最重要的悬念自然就是国行版的价格,当然 ...

  9. 33岁想从头学做网页设计_从头开始设计字体-并在24小时内将其提交给Google字体...

    33岁想从头学做网页设计 by James Barnard 詹姆斯·巴纳德(James Barnard) 从头开始设计字体-并在24小时内将其提交给Google字体 (Designing a font ...

最新文章

  1. [4月21日]《51CTO 编辑部的外传》——剧本篇(上)
  2. Harbor容器仓库的镜像上传
  3. 个人创业做什么好?以下这几个值得考虑
  4. 启动DevStack的各项服务
  5. Linux的JVM可以从SUN网站上下载
  6. mysql vim 命令_Vim基本命令必知必会
  7. Windows破解笔记-windows API中的SendMessage
  8. JS Number对象常用函数(数字类型常用函数)
  9. Oracle 存储过程调用语句
  10. 满满干货!mysql定时任务每天固定时间执行
  11. 毕啸南专栏 | 对话王小川:搜狗不是谁的“变量”,是行业主要玩家
  12. # 研究杂感 × VOSviewer(第二辑)
  13. GBase数据库迁移工具介绍
  14. 谈一谈|《黑神话:悟空》实机演示观后感
  15. js 移动端 下载 doc文件
  16. 参考美团大众点评合并,掌握APP推广妙招
  17. LaTeX \subfloat 引用子图片使用小括号
  18. Win10移除右键无用的菜单选项--注册表的自定义管理
  19. 特斯拉如何开发基于纯视觉的深度学习系统
  20. w7设置双显示器_win7系统设置双显示器的操作方法

热门文章

  1. 首个windowsForm应用项目 1123
  2. U盘容量显示错误修正
  3. Django系列:(1)PyCharm下创建并运行我们的第一个Django工程
  4. mysql中delete from in子查询删除失败
  5. Keys.js 官方使用说明
  6. Serverless实战 —— 三分钟入坑指北 Docsify + Serverless Framework 快速创建个人博客系统
  7. Git如何进行减少提交历史数量以及修改自己的commit中的邮箱
  8. Docker教程(三) Docker网络访问和数据管理
  9. 小白入坑 Web 渗透测试必备指南
  10. Redis面试 - Redis 主从架构