teleren/devto huggingface dataset:
INMO AIR 2 powered by WTM2101 chip,release your hands
Tags: wtm2101, witmem, computing, inmo
Published: 2023-09-16 04:41:38

Rising AR Industry Trends with Broadened Technological Horizons

According to the 2022 Global VR/AR Annual Industry Development Report released by the Gyroscope Research Institute, the shipment of AR glasses in 2022 reached 452,000 units, marking a growth of 25.6% compared to 2021. The surge in market demand has accelerated technological innovation and market adoption for participants in the AR industry. INMO Vision Technology, as one of the early pioneers in the domestic AR field, introduced its first-generation product, INMO Air, which was the first consumer-grade AR smart glasses to achieve mass production in China. It received favorable market results upon its release. Building upon this success, INMO Air2 was introduced, once again reflecting the market's demand for more innovative technology and broader application scenarios, spanning aspects.



First-ever Implementation of AR, Demonstrating the Advantage of On-device Computing

INMO Air2 is powered by the WTM2101 chip, which is the world's first mass-produced on-device computing SoC (System-on-Chip) developed by ZhiCun Technologies. This chip is capable of maintaining extremely low power consumption (between 5uA-3mA) while running large-scale deep learning computations, all within a compact footprint of just 3.2x2.6mm². This aligns perfectly with INMO Air2's goals of achieving lightweight design, higher performance, and ultra-low power consumption. Leveraging the on-device computing platform, INMO Air2 achieves faster response times and real-time interaction for local voice command recognition.








A New Boost for the AR Industry: On-device Computing Edge AI Chips on the Horizon

INMO Air2 exemplifies the product development trends in the AR glasses consumer market, emphasizing aspects such as AR+AIGC (Augmented Reality + Artificial Intelligence Glasses Computing), integrated form factors, eyewear design, and SLAM algorithms. ZhiCun Technologies is set to release the WTM-8 series chips, which are based on the second-generation 3D on-device computing architecture. These chips offer over 24 TOPS (Trillions of Operations Per Second) of computing power with a precision of 12 bits, enabling higher performance image processing and spatial computing for mobile devices in AR and related fields, all while consuming only 5% of the power compared to similar solutions available in the market.

Through its collaboration with INMO Vision Technology, ZhiCun Technologies has not only gained deeper insights into market demands but has also showcased the immense potential of on-device computing chips in terminal AI applications. We remain committed to investing in on-device computing product development and enhancing the on-device computing ecosystem, helping our customers achieve superior product innovation and leading the way in industry development.
Innovative applications of edge computing that will change the world
Tags: witmem, computing, edge, news
Published: 2023-09-16 03:56:00

The emerging field of edge computing has the potential to revolutionize the way we process and analyze data. Unlike traditional cloud computing, which relies on centralized data centers, edge computing brings computation and data storage closer to the source of the data. This allows for faster, more efficient data processing, enabling new applications and services that were previously impossible.

 

One of the most exciting applications of edge computing is in the realm of the Internet of Things (IoT). By placing computing resources closer to the devices generating data, edge computing can help enable real-time responses and faster decision-making. For example, a factory could use edge computing to monitor its production line, quickly identify issues, and proactively make changes before a problem develops. Similarly, cities could use edge computing to improve traffic management and reduce congestion by processing data from sensors on traffic lights, lane sensors, and connected vehicles.

 

Edge computing can also help businesses reduce costs and improve efficiency by processing data closer to where it's generated. For example, a retailer could use edge computing to analyze data from in-store sensors to optimize product placement and improve the shopping experience for customers. By combining data from in-store sensors with real-time data from online sales, retailers could also gain insights into customer behavior and preferences to provide more personalized recommendations and promotions.

 

Another exciting application of edge computing is in the field of autonomous vehicles. By processing data from sensors and cameras on the vehicle closer to the source, edge computing can help reduce latency and improve safety. For example, an autonomous vehicle could use edge computing to quickly analyze sensor data and make real-time decisions about speed, acceleration, and steering.

 

In addition to these applications, edge computing also has the potential to improve the delivery of healthcare services. By processing data from medical devices and sensors closer to the patient, edge computing can help doctors and nurses make faster, more informed decisions. For example, an emergency room doctor could use edge computing to quickly analyze data from a patient's medical device and make a real-time diagnosis, potentially saving the patient's life.

 

Overall, the potential applications of edge computing are vast and exciting. By bringing computation and data storage closer to the source of the data, edge computing can help enable real-time responses, improve efficiency, and reduce costs. As the technology continues to evolve, we can expect to see even more innovative applications of edge computing that will change the way we live, work, and interact with the world around us.



Computing in Memory2.png
Leetcode 118. Pascal's Triangle
Tags: beginners, leetcode, javascript, datastructures
Published: 2023-09-16 03:12:27

Hello Dev Community,
I'm posting my solution to the Leetcode problem [#118. Pascal's Triangle](https://leetcode.com/problems/pascals-triangle/description/) `Easy`

Description:

Given an integer numRows, return the first numRows of Pascal's triangle.

In Pascal's triangle, each number is the sum of the two numbers directly above it as shown:

![Pascal's triangle](https://upload.wikimedia.org/wikipedia/commons/0/0d/PascalTriangleAnimated2.gif)

```
var generate = function(numRows) {
    let res = []

    for (let i = 0; i < numRows; i++) {
        let arr = new Array(i+1)
        arr[0] = arr[arr.length - 1] = 1

        for (let j = 1; j < arr.length-1; j++) {
            arr[j] = res[i-1][j-1] + res[i-1][j]
        }

        res.push(arr)
    }

    return res
};

console.log(generate(5));
[[1],[1,1],[1,2,1],[1,3,3,1],[1,4,6,4,1]]
```

Method - Nested loops 
Complexity - Time O(n^2) | Space O(n^2). Basically complexity here is the product of height and width of the triangle `i * j`, which simplifies to n^2.

I welcome your comments or suggestions!
First Open Source Collaboration!
Tags: opensource
Published: 2023-09-16 03:10:14

In my second week of exploration with Open Source, I was asked to write a command-line program which converts .txt files to .html. When I completed my working prototype of the app, I found [Yumei](https://dev.to/wanggithub0) in the Slack open source group channel and we agreed to test each others' code.

This is my first time raising issues in another person's project and also my first time fixing the closing the issues she raised in my project. Although the programs we each wrote are short and simple, this really got me more comfortable with collaborating with others on GitHub. Also, it was fun to see how we both created a similar running program; however the code is completely different.

I chose to write my program in Python while she used Java. Aside from syntax differences, she has much more exception handling in her code compared to mine. It made me think that I should add more exception handling to my own code. Having another person test my code definitely helps to find more issues. She discovered that I missed implementing the spec for [deleting the default output folder at the start of the run](https://github.com/kliu57/go-go-web/issues/3). Also, she uses a VS Code extension called Pylint which helped to find many problems with my code. Pylint found many issues with my code which were not best practice, such as [not specifying an encoding when reading from a file](https://github.com/kliu57/go-go-web/issues/5), or using an f-string that does not have any interpolated variables.

When I tested Yumei's program, I was able to find some bugs that she could not find herself. For example, I am a Windows user and she is a Mac user. There is [an installation step that is not applicable to Windows users](https://github.com/WangGithub0/ConvertTxtToHtml/issues/1). I also found a [runtime error](https://github.com/WangGithub0/ConvertTxtToHtml/issues/3) that occurred when I specified the output flag but gave no output directory.

We were able to close all our issues after our successful collaboration! I learned from looking at her code more ways to handle exceptions and more ways to find bugs (using the Pylint extension). I also got some insight on how the logic I wrote in Python can be done in Java. Finally, this collaboration not only helped our programming skills but also our testing, documentation, and communication skills as we worked together to identify and fix issues.
Python 潮流周刊第 20 期（摘要）
Tags: programming, beginners, tutorial, ai
Published: 2023-09-16 03:09:23

你好，我是猫哥。本周刊分享优质的 Python、AI 及通用技术内容，大部分为英文。这里是标题摘要版，查看全文请至☞：https://pythoncat.top/posts/2023-09-16-weekly

本周刊开通 Telegram 频道后，已有 650+ 小伙伴加入，欢迎你到来：https://t.me/pythontrendingweekly



🦄文章&教程

1、三种对 Python 作基准测试的方法

2、舍弃 Poetry 和 PDM，切换成 Hatch

3、TOML 文件格式有什么问题？

4、用 Python 玩转遗传算法

5、现代 Python 的类型提示：Protocal 类

6、tornado 的协程调度原理

7、可视化 CPython 发布过程

8、如何用 PyObjC 与 Apple Vision 框架作文本识别

9、调试 Python 中正则表达式的灾难性回溯

10、使用 Django 和 HTMX 开发一个数据库搜索项目

11、异步 SqlAlchemy 和多数据库管理

12、Python Fire：自动生成命令行接口

13、我最爱的解 LeetCode 问题的 Python 技巧

14、为什么 Python 代码在函数中运行得更快？



🐿️项目&资源

1、hatch：时髦的可扩展的 Python 项目管理库

2、keep：开源的告警管理和自动化执行平台

3、PyPI Data 网站：查看 PyPI 的各项数据

4、strictyaml：类型安全的 YAML 解析和校验库

5、facefusion：更先进的换脸工具

6、pyflyby：一套 Python 的生产力工具

7、instagraph：将文本内容或 URL 转换为可视化的知识图谱

8、textual-web：在浏览器中运行 TUI 和终端

9、ziggy-pydust：用 Zig 语言构建 Python 扩展

10、MFTCoder：多任务微调代码大模型



查看本期全文-->：https://pythoncat.top/posts/2023-09-16-weekly

查看全部周刊-->：https://pythoncat.top/tags/weekly
Reviewed the code of my partner for LAB 1 #OSD666
Tags: programming, opensource, discuss, career
Published: 2023-09-16 01:10:36

I found a project to collaborate on through the OSD600 course community(https://github.com/ijacobs-cpa/textml). The course facilitators helped match students interested in collaboration. I communicated with my project partner through Slack, where we discussed the project's requirements and divided tasks. Testing and reviewing someone else's code was a valuable experience. I learned to approach code with a critical eye and provide constructive feedback. While reviewing, I did run into some issues, such as unclear variable names and inconsistent code formatting. One surprise was finding that the code didn't handle certain edge cases well, which prompted me to suggest improvements. Having someone review my code was a valuable learning opportunity. It was enlightening to see how someone else perceives and interprets my code. I was pleasantly surprised to receive constructive feedback and suggestions for improvement. It helped me identify areas where my code could be more robust and readable.

**During testing and review, several issues surfaced:**
**Argument Handling:** The code didn't handle invalid or missing arguments gracefully. I suggested adding informative error messages for better user guidance.

**I filed two issues:**

- Additional Error Messages and Improved Argument Handling
: The code needed better error messages for invalid arguments.

- Expand Project Description in README.md:
 The project's README needed a more detailed description to explain its purpose and use cases.
I addressed the issues raised by my project partner and made the necessary improvements to my code. Fixing the issues involved refining argument handling, enhancing error messages, and improving overall code readability. It was a positive experience, as it allowed me to make my code more robust and user-friendly. 
Overall, it was a valuable learning experience that enhanced my coding skills and attention to detail.
How to create a new Rails app running Rails 7.1 beta or main branch
Tags: ruby, rails, coding, startup
Published: 2023-09-16 03:07:37

### New app with Rails 7.1.beta1

Here is how to create a new Rails app that runs on Rails 7.1 beta1

```bash
gem install -v 7.1.0.beta1 rails

rails _7.1.0.beta1_ new myrails71app
```

Replace `myrails71app` with your own app name and you are good to go.

This will generate a `Gemfile` that has something like this inside and then install required gems for `Rails 7.1.0.beta1`

```ruby
# Gemfile

gem "rails", "~> 7.1.0.beta1"
```

### New app with Rails main branch

Here is how to create a new Rails app that runs on Rails main branch from GitHub:

```bash
rails new myrailsapp --main
```

This will generate a `Gemfile` that has something like this inside:

```ruby
gem "rails", github: "rails/rails", branch: "main"
```

May you have a lot of ideas to try!

---

Enjoyed this article?

Join my [**Short Ruby News**](https://shortruby.com/) **newsletter** for weekly Ruby updates from the community. For more Ruby **learning resources**, visit [**rubyandrails.info**](http://rubyandrails.info)**. You can also find me on** [**Ruby.social**](http://Ruby.social) **or** [**Linkedin**](https://linkedin.com/in/lucianghinda)
Types of Cybersecurity
Tags: cybersecurity, cloudcomputing, beginners
Published: 2023-09-16 03:04:05

Cybersecurity is a broad field that encompasses various types of security. Here are some of the different types of cybersecurity:

🎯**Network Security**: This involves protecting a computer network from intruders, whether they are targeted attackers or opportunistic malware.

🎯**Information Security**: This type involves protecting both physical and digital data—essentially data in any form—from unauthorized access, use, change, disclosure, deletion, or disruption.

🎯**Application Security**: This focuses on keeping software and devices free of threats. A compromised application could provide access to the data it is designed to protect.

🎯**Operational Security**: This includes the processes and decisions for handling and protecting data assets. It involves permissions and other policies for network and data access.

🎯**Disaster Recovery and Business Continuity**: This type dictates how an organization responds to a cyber-security incident or any other event that causes the loss of operations or data. Disaster recovery policies dictate how the organization restores its operations and information to return to the same operating capacity as before the event. Business continuity is the plan the organization falls back on while trying to operate without certain resources.

🎯**End-User Education**: The end-user can be the weakest link in the security chain. Users are often targeted by threat actors as they can be manipulated or tricked into exposing security vulnerabilities. Therefore, educating users about safe online habits and potential threats is a critical part of cybersecurity.

🎯**Cloud Security**: Given the increasing reliance on cloud computing, protecting the data in the cloud has become crucial. It involves protecting cloud-based data, applications, and networks from threats, while also adhering to compliance and privacy regulations.

🎯**Mobile Security**: With the proliferation of mobile devices, ensuring the security of mobile applications and the privacy of data stored on these devices is also a key part of cybersecurity.

🎯**IoT Security**: Internet of Things devices also pose a potential risk as they connect to the Internet in various ways that traditional devices do not, making them potentially vulnerable to unique forms of attack.

Each of these types of cybersecurity requires a different set of skills and tools, but they all share the common goal of protecting information and systems from threats.


![Types of Cybersecurity](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jbfeeslhxj9jmo0abiun.png)

🔔Follow [Techieonix](https://www.linkedin.com/company/techieonix) for more such content.

🌐 [Github](https://github.com/zeeshanmcp12)
🌐 [Twitter](https://twitter.com/zeeshanmcp12)
🌐 [LinkedIn](https://www.linkedin.com/in/zeeshanmcp12)
A shell for all clouds
Tags: aws, oci, gcloud, azure
Published: 2023-09-16 01:15:17

I humbly request any developers/administrators/operators in the cloud space to take a look at the following tool:
[goat](https://github.com/stacksc/goat)

Which is also available on PyPi: 
[goatshell](https://pypi.org/project/goatshell)

What does it do? This is going to be a handy gateway to all 
public cloud providers with fuzzy completion. It currently supports OCI, AWS, AZ, and GCLOUD.

What else? Local GOAT application to interact with JIRA, SLACK, Jenkins and other common APIs with a secure credential store.

It's time to revolutionize the way we interact on the CLI and this is a great start.
Learning to do a Code Review
Published: 2023-09-16 02:08:55

For week 2 in my course [Topics in Open Source Development](https://www.senecacollege.ca/ssos/findwithoutsemester/dps909/sict), I was tasked with reviewing another student's code, [mismathh](https://github.com/mismathh).

# Finding a code review partner

I found mismathh in our course's Slack forums requesting a code review for his project [TILerator](https://github.com/mismathh/TILerator). I happily agreed, sent him a link to my own project ([til-to-html](https://github.com/paulkim26/til-to-html#status)) for review, and checked it out.

TILerator is a command line tool written in [Node.js](https://nodejs.org/en) that converts Markdown into static HTML pages. I found the project to be well organized and documented. The code was robust and straightforward to read, arguably moreso than my own. The program was perfectly functional and I did not encounter any functional issues amongst the test cases I could come up with.

# Finding issues in my partner's code

I was struggling to find noteworthy issues; I posted [7](https://github.com/mismathh/TILerator/issues):
- Replacing `console.log` calls with `console.error` when reporting errors to the client
- Having git ignore output files generated by the program
- Upgrading the Markdown parser to handle Markdown links
- Cleaning up extraneous whitespace generated in the raw HTML
- Not using "#" characters in filenames
- Fixing a potential bug where command line arguments were handled slightly differently when run using `npm run start` vs. invoking node

# Resolving issues found in my code

Here are the links to the issues posted on my repository: https://github.com/paulkim26/til-to-html/issues

mismathh submitted 5 issues which I have fixed. He noted:
- The help message could be more verbose.
- Instructions could provide additional hints/caveats for installing bun on Windows.
- A typo.
- The `<title>` tag was not correctly populated in the generated webpage files.

# Observations

By testing/reviewing a colleague's code and receiving feedback on my own, I learned:

- There are different ways to document and write code - there are generally "good" ways to code but no ultimate one-size-fits-all solution.
- It can be frustrating to receive an issue/bug report that doesn't include steps to reproduce said issue.
- It is always good to be as verbose as possible in code documentation, even if I don't necessarily need it. I have to understand everyone is starting with zero context of my project.

Thanks for reading!
Purple-Paper
Tags: blockchain, polygon, polkdot, development
Published: 2023-09-16 00:07:02

In the past couple of weeks, I  embarked on the journey of building EON. EON is a decentralized application designed to empower women by tracking their health. My goal is to create a menstruation phase tracking DApp. 

While there are numerous apps available for tracking menstrual cycles, many of them raise concerns about data privacy and security due to data harvesting practices.
This concept emerged in response to living in the post-Roe v. Wade era, where health tracking and data privacy became significant concerns when using traditional health tracking apps. The idea is to address this pain point reduce the likelihood of user data being used against them and protect their privacy. 

EON's smart contract is currently built on Ethereum and Polygon's blockchain, allowing users to calculate each phase. However, during the past few weeks of development, I encountered challenges related to scalability. Ethereum and Polygon's gas fees for each transaction have created a significant barrier to using this smart contract. To address this issue, I explored alternative ways to build and decided to build it using the Substrates framework and realized that the ideal approach is to build this application on Polkadot.

This approach offers numerous benefits, including faster transactions and the elimination of gas fees for users. By referencing Polkadot as the underlying framework, EON can provide users with a smoother and more cost-effective experience.



One of the challenges with Polygon and Ethereum lies in the gas fees associated with various actions. Leveraging Polkadot's Substrate framework technology, I'll be able to construct a scalable platform that operates at a much higher speed.
Instead of adopting a general-purpose blockchain like Ethereum, using Polkadot allows me to create a specialized chain that can better serve EON's purpose.