• Spark open source new feature: catalyst optimizes process tailoring


    Summary:In order to solve the problem of relying too much on hive, sparksql uses a new SQL optimizer to replace the optimizer in hive, which is catalyst. This article is shared from Huawei cloud community《Spark open source new feature: catalyst optimizes process tailoring》, author: hzjturbo. 1. Problem background The figure above shows the layout of […]

  • The main functions of Apache rewrite are as follows:


    1. Main functions of Apache rewrite Is to realize the URL jump and hide the real address, which is based on the regular expression specification of Perl language. Usually help us achieve quasi static, quasi directory, domain name jump, prevent chain theft, etc 2. Configuration of Apache rewrite There are two main rewriting configurations under […]

  • Interviewer: how to sort the array of string version numbers?


    There is a classic interview question in segment fault: There is a set of version numbers as follows [‘0.1.1’, ‘2.3.3’, ‘0.302.1’, ‘4.2’, ‘4.3.5’, ‘’]. Now you need to sort them. The sorting results are [‘4.3.5’, ‘’, ‘2.3.3’, ‘0.302.1’, ‘0.1.1’] Question link amongzzgzzg00The main idea of your answer is as follows, which is very concise and […]

  • An eslint plug-in for testing todo in code


    An eslint plug-in for testing todo in code preface After reading my title, the students who come in should know what I’m doing Yes, it iseslintPlug in is one of the tools used by the front-end magicians what? You don’t know what eslint is — eating whales.jpg Eslint is an open source JavaScript code checking […]

  • Rust programming video tutorial (Advanced) — 026_ 4 advanced trait4


    Video address Headline address:https://www.ixigua.com/i677586170644791348…Station B address:https://www.bilibili.com/video/av81202308/ Source address GitHub address:https://github.com/anonymousGiga/learn_rus… Explanation content 1. The parent trait is used to use the function of a trait in another traitSometimes we may need one trait to use the function of another. In this case, we need to be able to rely on the relevant trait to be […]

  • Python learning notes 11: validate XML syntax by xsd


    In the past few days, we need to do a function to detect the syntax of XML files, and use the rules defined by XSD for matching detection One of the records in XML (the “nuid” item is specially used for testing) Some of the rules in XSD are defined as follows (mainly taking “nuid” […]

  • How to create excellent first impression for users with the startup interface


    Brief comment: don’t let users wait for content to load, which is the basic rule of good mobile user experience design. However, it is very difficult, or almost impossible, to comply with this rule perfectly. Therefore, it is a good method at this stage to use the splash screen to smooth the transition of application […]

  • Fancy spring boot! There are n registration methods for filters! Brother song teaches you hand in hand


    There are three ways to register filters in spring boot. What can you think of? Today, I’d like to talk about three ways to register filters in spring boot! In fact, I wanted to talk about the spring security filter chain with you. As a result, looking at the source code, I got off the […]

  • Implementation of pseudo static routing protocol in. Net exploration model


    summary Ipageroutemodelconvention interface is used to customize pageroutemodel, which is in the Microsoft. Aspnetcore. MVC. Applicationmodels namespace,Represents the razor page routing settings. In other words, we can override the default implementation by implementing this interface.The interface needs to implement a member void apply (pageroutemodel model). With this method, we can access the metadata about the […]

  • Smsforwarder (SMS forwarder) – monitors SMS and forwards them according to specified rules


    SMS forwarder monitors Android SMS and forwards them to other mobile phones according to specified rules: nailing robot, enterprise wechat group robot, enterprise wechat application message, email, bar, webhook, telegram robot, server, etc. Function list: Monitor short messages and forward them according to rules (rules: what content / source of short messages are forwarded to […]

  • How to implement trait for struct with lifecycle annotation


    Problem description The question comes from rust Chinese community, link:https://rust.cc/article?id=c8c9e40a-b27c-4…, the error code is as follows: use std::str::FromStr; pub struct Wrapper<‘a>(&’a str); impl FromStr for Wrapper<‘_> { type Err = (); fn from_str(s: &str) -> Result<Self, Self::Err> { Ok(Wrapper(s)) } } Cause analysis In section 10.3 of rust programming language“The compiler uses three rules to […]

  • GitHub acceleration guide advanced


    What’s the use of this? The most intuitive effect isGitHubThe pictures can be loaded normally and the web page is stable. GitHub HostsMainly through modificationhostThe way to speed upGitHubAccess to solve the problem that the picture can not be loaded and the access speed is slow. Main station: https://github.com/ineo6/hosts Image address: https://gitee.com/ineo6/hosts Usage hosts The […]