Code Monkey home page Code Monkey logo

Comments (4)

fanpei91 avatar fanpei91 commented on July 23, 2024 3

@iugo 如果一门编程能让你更快更好地从其他优秀的开源代码学习,它就是一门好语言,它能让你更快进步。

Go 对我来说就是这样的编程语言,只要我感兴趣的开源项目,都比较容易读懂。最近我在深入读的开源项目是 netstack,很好读。进步了许多,对 TCP 有了非常的深入的理解,也自己基于 UDP 写了个可靠的传输协议,等几天会开源一个用了此传输协议的工具出来。敬请期待。:)

from torsniff.

fanpei91 avatar fanpei91 commented on July 23, 2024

最主要是以我的能力,写出的 node 代码不好读,所以就不好维护。

from torsniff.

iugo avatar iugo commented on July 23, 2024

虽然有 util.promisify(), 但是 node 及其社区中很多的回调风格我不喜欢.

Go 也挺好, 但我一直观望. 然后看到 Rust, 感觉如果是自由时间, 或许我更喜欢 Rust. 如果是为了工作, 现在还在用 node, 但希望将来能转为 deno.

from torsniff.

kkshsh avatar kkshsh commented on July 23, 2024

我是这个项目才接触go,我现在把数据存到mysql数据库里。偶尔会报错,
Error 1366: Incorrect string value: '\xAA\xD8\xB4\xB7\xD5\xE8...' for column 'title' at row 1
Error 1366: Incorrect string value: '\xCC\xE0\xF2\xF7 \xCF...' for column 'title' at row 1
数据库的字符是 utf8mb4_general_ci 。
我把这些转义成字符串也是“����”看不懂的字符。
现在我想判断一下如果是无法存储的字符就删掉,有没有现成的代码可以抄一抄。

from torsniff.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.