Tag:Client

  • Go language series TCP programming

    Time:2020-8-14

    TCP programming One of the main design goals of go is to face the large-scale back-end service program. Network communication is the server side, and the program is an essential and important part Introduction to network programming There are two kinds of network programming TCP socket programming is the mainstream of network programming. It is […]

  • Question semantic similarity calculation in QA based on Bert

    Time:2020-8-14

    1. Semantic similarity of Bert The full name of Bert is bidirectional encoder representation from transformers, is a pre training model proposed by Google in 2018, that is, the encoder of bidirectional transformer, because the decoder cannot obtain the information to be predicted. The main innovation of the model is pre train method, which uses […]

  • Inside story of showmebug core technology

    Time:2020-8-14

    Showmebug is a remote interview tool that allows both parties to communicate in real time through an online interview board. So the key technology is “real-time synchronization”. For real-time synchronization, showmebug uses the following techniques. Ot conversion algorithm In essence, the core of showmebug is multi person online real-time editing, and that’s the difficulty. Due […]

  • Moocnet_ Learning summary of IOS basic course network operation

    Time:2020-8-14

    Time: Tuesday, May 23, 2017Note: part of this article is from moocnet. @Moocnet: http://www.imooc.comTeaching example source code: NonePersonal learning source code: https://github.com/zccodere/s… Chapter 1: Learning Guide 1-1 Learning Guide Learning content Introduction to http The role of HTTP Get a piece of network data: get request Update a piece of network data: post request Loading […]

  • Implementation of a chat room with websocket

    Time:2020-8-14

    Last timewebsoketUse our knowledge of plug-ins and applications todaywebsocketTo implement a chat program. Let’s look at some screenshots of the interface Chat interface:Historical message view:User online reminder:Online experience address: Address Functional structure diagram As can be seen, the chat room is mainly divided into three parts: Message real-time push, chat interface and interaction implementation, user […]

  • Hyperf released v1.1.26, enterprise level PHP microservice cloud native collaboration framework

    Time:2020-8-14

    Update content This week’s update mainly fixed some bugs and continued to improve the stability of hyperf. It was released in version 1.1.26. Users are advised to update this version Direct access to the official website hyperf.io Or document hyperf.wiki View updates newly added #1578 UploadedFilesupportgetStreammethod. repair #1563 repair the timer’sonOneServerThe configuration will not be […]

  • Are you sure that what x-forward-for gets is the user’s real IP?

    Time:2020-8-13

    X-Forwarded-ForIs that the real IP? 1. Story Before I start this section, I will tell you a little story in development to deepen your understanding of this field. Some time ago, in order to make a risk control related demand, we need to get the user‘s IP. After the development, a small number of users […]

  • After reading this article, if you don’t know how to set the oauth2 token expiration time, I’ll lose

    Time:2020-8-13

    OAuth2GeneratedAccessTokenas well asRefreshTokenBoth of them have expiration time. When they are within the validity period, they can be used as session identities to initiate requestsauthentication centerWill directly intercept invalid request promptExpired How can we modify the expiration time to meet our business scenario? Currently used by large factoriesAccessTokenThe period of validity is usually7200 secondsThat is […]

  • Remember once angular realizes streaming text transmission based on stomp over websocket

    Time:2020-8-13

    This article was written at2019-08-18The latest version number mentioned in the article is2019-08-18Based on. Previously on Before introducing the text, we need to understand several conceptsSTOMPAgreementSTOMP over WebSocketas well asRxJS。 (this article will not elaborate on these three points.) What is stomp? STOMPNamelySimple or Streaming Text Orientated Messageing ProtocalIs a simple (streaming) text oriented transmission […]

  • MySQL 8.0.18 GA officially released!

    Time:2020-8-12

    MySQL server 8.0.18, 5.7.28 and 5.6.46 have been officially released on October 14, 2019. The MySQL development team also released the update instructions for the first time. Here is the original translation. The MySQL 8.0.18 maintenance release is generally availablehttps://mysqlserverteam.com/t…Author: Geir hoydalsvikTranslator: Guan Changlong The MySQL development team is pleased to announce that MySQL 8.0.18 […]

  • Realization of instant messaging in chat room based on winsocket

    Time:2020-8-12

    preface Some time ago, we didn’t just set up the local development environment, so we had to do something about it. After reading the development document of swote, we first tried websocket to get instant messaging, then we arranged a chat room and started What is swote Swoole is a PHP coprocessor high-performance network communication […]

  • Calm down, calm down, front end and back end

    Time:2020-8-12

    This is a time of war. This is an era when you sing and I come on stage. Since the node came out, the front-end found that it could do the back-end, and the back-end found that the front-end could also play a big role. Therefore, there was a big collision between the front-end and […]