At Codemancers, we believe every day is an opportunity to grow. This section is where our team shares bite-sized discoveries, technical breakthroughs and fascinating nuggets of wisdom we've stumbled upon in our work.
Published
Author
Nisanth
AWS DeepLens is a deep learning-enabled video camera designed for developers to get hands-on experience with machine learning. What makes it intriguing is that it brings machine learning capabilities directly to the edge. With DeepLens, you can build and deploy deep learning models on the device itself, allowing it to process and analyze video streams in real-time
Published
Author
Satya
we need to add chat:write scope in bot token scopes, so that our bot can send messages in the channel when it is mentioned.
Published
Author
Satya
with modern Sign in with Slack we need to request the OpenID scopes—openid, email, and profile.
Published
Author
Satya
writing integration specs using RSpec and Capybara.
Published
Author
Satya
we need to add the user scopes email & profile when we are using the slack openid.connect.userInfo api method.
Published
Author
Satya
slack events api performs the events within 3 seconds if any exception happens then it retries again when the app is mentioned again.
Published
Author
Satya
we can use event subscription in our slack app to listen to events like mentioning the app and then the app will perform the action based on the event. For eg: like the way i did here. For more info , please refer to -> https://api.slack.com/apis/connections/events-api
Published
Author
Sujay
In Dart, metadata provides additional information about the code. It begins with the character @ followed by either a reference to a compile-time constant or a call to a constant constructor.
There are four commonly used annotations in Dart:
@Deprecated: This is used to indicate that a feature/method/class is deprecated and should not be used because it will be removed in future versions. @deprecated: This is similar to @Deprecated, with the difference being that a message can be passed with @Deprecated. @override: This is used to indicate that a method is intended to override a method from a superclass. @pragma: This is used to provide additional information to the Dart compiler.
Published
Author
Ashwani Kumar Jha
Senior System Analyst
The groupBy method introduced in ES12 can be used to group elements based on the values returned by the specified callback function. This can be useful when we want to categorize items into distinct groups.
For example, consider a list of transactions and we want to group them by the account type: