The URL URI is stupid, Dart tells you how to use

If we have to access a website, you need to know the address of this website, the address of the website is generally called URL, and his full name is Uniform Resource Locator. So what is the URI?

The entire process of the URI is Uniform Resource Identifier, namely a unified resource icon.

The URI is used to mark the resource, and the URL is tagged on the network, so the URL is a subset of the URI.

After understanding the relationship between the URI and the URL, let’s take a look at the support of the DART language on the URI.

A specialty class named URI is created in DART:

The URI is an abstract class that he defines some basic operations to the URI. It has three implementations, named _uri, _datauri and _simpleuri.

Next, let’s take a look at the URI in Dart.

Why do you want to Encode URI?

In general, there may be some special characters in the URI, such as space or Chinese, and so on. These characters may not be known by the other party in the transfer. So we need to encode the URI.

But for some special but meaningful characters in the URI, such as: /,:, &, #, which are not essential.

So we need a method of unifying encoding and decoding.

In Dart, this method is called Encodefull and Decodefull:

If you want to encode all characters, including those meaningful characters: /,:, &, #, then EncodeComponent and DecodeComponent:

The URI is composed of Scheme, Host, Path, and Fragment. We can decompose the URI through these properties in the URI:

So how do you construct the URI? We can use the constructor of the URI:

This article has been included in

The most popular interpretation, the most profound dry goods, the clearest tutorial, many tips you don’t know, etc.!

"Those things", understand the technology, know you! "

Beidou navigation on the phone, actually appeared on the Bosideng down jacket

Speaking of the Beidou System, the ambassaders may be unfamiliar.

The brother is thinking, like Beidou so good, if there is more equipment, it will definitely play a big role.

It is very surprisingly that the Beidou System has appeared in a very novel figure in addition to common technology products such as mobile phones, watches, cars.

Good guy, according to the common sense, the down jacket is not a technology product, why is it related to Beidou? The opportunity of the opportunity is in an instant, trying to study it.

This is equipped with an Beidou positioning chip.Bosideng new release limited number: Dengfeng 2.0 down jacket.

Bosideng this Chinese brand, if the machine friends have bought down jackets, they should be familiar. Founded in 1976, it has been 45 years, it is said that there are 200 million people around the world through.

Among them, there is a hiking team in our country.

In 2019, Bosidenden released Dengfeng 1.0 series down jacket to help the Chinese mountaineering team to attack the cold wind.

In the end, China’s mountaineering team detected the new height of the world: 8848.86 meters.

Do you still remember your air friends? Middle school geography classes said that each elevation is 1000 meters per liter, and the temperature is reduced by 6 degrees Celsius. There are more cold in Everest, as can be imasons.

And climbers, to persist in this low temperature environment for several days. The warm performance of clothes is undoubtedly a very important point.

It can be seen from this matter that the warm performance of Dengfeng 1.0 is very amazing, properly an example of a domestic product.

I didn’t expect it to come in the past two years, this series iteration is now.

I checked the information found that the R & D team of Dengfeng 2.0 is very strong, with hundreds of experts, including national mountaineering teams, Antarctic examination team.

A large number of professionals join, which makes the game’s effect on Dengfeng 2.0 finally realized.

This time Dengfeng 2.0, warm performance increased by 15%, and the temperature rise effect is 14% higher than the national standard. Under the premise of such a fierce, it also achieved a weight reduction of 20%.

If you use the phone circle to summarize, then it is "lightweight flagship."

And, for this iteration of this latter 2.0, Bosideng has joined a large number of "100% China Original" technology.

The Beidou System is one of them.

I think about watching, like climbing athletes, extreme enthusiasts, they often cross the rare place. If an accident occurs, rescuers can position them in the first time, which is a security guarantee.

Because of this, Bosideng is equipped with Dengfeng 2.0 Beidou.Beidou positioning chipIt can join our smartphone.

Within the mobile phone base station signal, as long as the associated person is set in advance, the rescue signal can be actively transmitted during the distress.

The reason why chooses my country’s self-developed Beidou system is because it is accurate and is one of the world’s three satellite navigation systems.

When I introduced the Beidou system before the game, I have achieved a high-precision positioning of 5 meters. In today’s many navigation systems, there is no doubt that is the level of the first echelon.

International First-class Satellite Navigation Technology Experts – Han Xiaopeng, this time, I also praised Dengfeng 2.0:

Dengfeng 2.0 integrates Beidou Satellite Navigation Positioning Technology and 5G communication technology, which can connect smartphones, bind emergency contacts, so outdoor sports people never lose. When you encounter danger, take the initiative to launch a rescue signal, let search and rescue in time, reliable.

So for the extreme outdoor classmates, wearing Dengfeng 2.0 Beidou, is equivalent to a safe guarantee.

However, on the road of Chinese original technology in the down jacket, Bosideng did not stop.

On the cold wind, the warm performance of the down jacket is also the top priority.

I want to have a similar experience, and when exercise continuously, the body will exude huge heat. When we stop, you will feel the coolness of the face.

If you say, a piece of clothes can be absorbed when the temperature is higher in the clothes, and the temperature is released from the heat when the temperature is low. Is it not equivalent to the air conditioner?

Bosideng Dengfeng 2.0, it really did this.

This time, we must first turn your attention to China’s first Mars: Zhu Rong.

In May of this year, the Mars Detector Zhu Rong successfully landed on Mars, meaning that China has taken a step forward. And Zhu Rong wants to overcome the complex climate on Mars, you need to useIntelligent temperature control material.

In fact, this material is not only used on Mars detectors, but also in the fields of aviation military, renewable energy, new energy vehicles.

This time, Dengfeng 2.0 is in the next, sleeves, windshields, and four parts of the bag, and use the same type of intelligent temperature regulation material. And the world is the first to use the aviation technology materials in the case of the field of clothing.

The machine users may be difficult to imagine, in Dengfeng 2.0 in all 1 square meter cloth, there is more than1 millionThe temperature of the temperature can be automatically adjusted, each of which is below 3 microns.

Don’t underestimate this energy storage unit, its role is big: support two-way temperature adjustment.

At high temperatures, heat insulation, low temperature release heat heating. Even in extreme cold and extremely hot environments, it can maintain a body temperature of 31 ° C to 33 ° C.

Before the machine, I thought this technology, I only appeared in the sci-fi movie, I didn’t expect it to see it today.

In addition to the thermal insulation of the body, Bosideng even puts the insulation of the electronic equipment in our clothes pockets. Don’t say the limit environment, the Northeast of the body will talk to me every winter: When you go outside, the phone will happen in your pocket, you will also freeze yourself.

What’s more, you have to go to the peak, go to the pole … researchers pockets are all precision electronic instruments.

In the face of ice and snow, the wind is raining, how is this?

So, Bosideng began to think about it and see how to solve it. Finally, they foundSpace Temperature Control Materials: Airgel.

This airborne gel is currently known for the best insulation material because of the extreme cold and liquid nitrogen spraying of -196 degrees, which is ideal for aerospace.

At Dengfeng 2.0, the Bosidene airborne gel made an electronic instrument protection bag, which can effectively avoid the impact of electronic instruments from being low-temperature.

Good guy, Beidou, Zhu Rong, Long March 5 … Machine brother feels, Dengfeng 2.0 is under Chinese original technology.

It turns out that these fresh technologies are not far from us, and even condense in a down jacket.

It can be seen, and all the configurations of Dengfeng 2.0 are top-level: the best dessert, the most powerful process, reference the best technology.

Machine brother can imagine that researchers feel a little warm in the cold wind, what happiness is.

Like China Antarctic Kunlun Station first webmaster – Li Sanheng, this time is sent:

Dengfeng 2.0 has a function of rapid wicking at the same time, and the weight of the whole clothes is also reduced, and it is more light and flexible, especially suitable for operations in a harsh weather environment in the Antarctic inland.

Dengfeng 2.0, maybe Bosideng’s 45 years ago.As for the price, Dengfeng 2.0 Beidou is 14900 yuan.

In fact, there is no price, but it is good. And the same price down jacket, performance may be good.

Machine brother is easy to see. For the down jacket, the velvet is very important.

The same product, Canada, a well-known brand, usually 80%. The Bosideng peak series of goose velvet is 95%, which is also the theoretical limit of velvet.

Therefore, for thousands of products from other foreign brands, Bosideng’s 10,000 yuan is cost-effective.

Can be used to be a product with your heart. Machine brother thinks, Bosideng maintained this initial heart, it is representative of Chinese brands that have been innovation and breakthrough.

If the machine friends go to the Boske’s official website, they will find that they will not stop there are 10,000 yuan, and there are many down jackets that are more expensive.

It is, this is why Boside is implemented, and the domestic sales in China has sold in 72 countries in the world.

A Chinese brand is in silent efforts, gradually gets the consumers of many countries around the world, in fact, it is also very difficult.

On the day of the game, I saw Bosideng said that their initial heart is warm worldwide and created a higher quality down jacket. It seems that they did it.

Perhaps, Bosideng down jacket, not only warms the body of countless people, but also warms a lot of people.

I looked back and saw that there were many Bosideng’s figure in the big events that came in so many years.

At the beginning of 2020, the new crown epidemic has touched everyone’s heart. Even if Wuhan minimum temperature is close to 0 degrees Celsius, countless medical staff also insist on the anti-vloal.

At that time, Bosideng donated 150,000 pieces worth 3 billion down jackets to the anti-vloar.

Top, 2013 Ya’an earthquake, in 2008 Southern snow disaster, 2010 Yushu earthquake, 2021 Shanxi Hanchao, Bosideng is also an urgent need for disaster relief in the first time.

Bosideng tells us with its actions, this is "warm world".

Although there are many ways to go through Chinese brands, we must also innovate this effort, adhere to China, and have a rich brand applaud and encourage.

Over the years, Bosideng has increasing more and more. Like this year, I just took the ISPO Award 2021 Global Design Award and got international recognition.

Machine brother believes that Chinese brands can also create high quality products.

Tencent Cloud carries with Ruisong Technology, jointly build China’s leading SAAS industrial software

On November 25th, Tencent Cloud and Ruisong Technology reached a strategic cooperation. The two sides will integrate Tencent Cloud in technology, product, ecology, etc., and the advanced experience of Ruisong Technology in industrial software, together to help China’s manufacturing digital, networking, Intelligent level.

Rising Technology is a business covering robot intelligence technology, high-end intelligent equipment field R & D, design, manufacturing, application and sales services, providing customers with high-tech enterprises for flexible automation, intelligent system solutions. As China’s leading cloud computing vendor, Tencent is based on Tencent’s more than 20 years of precipitation technology advantages, providing cloud computing, big data, artificial intelligence, security, etc., to help enterprise digital transformation and upgrading for enterprises and developers.

According to the agreement, the partners will focus on the digital upgrade of Ruisong Technology, the development of domestic industrial software, the industry-grade AI solution, the robotic industry, China Industrial Internet Capacity promotion.

First of all, for the current rapid development of Ruisong Technology, both parties will give full play to Tencent Cloud Internet Technology advantages, launched a full-scale cooperation in the fields of desktop cloud, enterprise office, enterprise SaaS applications, accelerate the digital development process of Ruisong Science and Technology, and further enhance its enterprises. Operation efficiency, reduce the cost of operation.

Second, Tencent Cloud will play the advantages of platform, operation, safety, and end users, combined with Ruisong Technology in the advanced experience of industrial software, and is committed to the study of industrial software pool technology, jointly build domestic SaaS. Industrial software and further help the development of domestic industrial software.

The two sides will also fully combine Tencent Cloud Ai, large data capabilities and Ruisong Technology in the industry experience and deep moving advantages in robots, automobiles, motorcycles, etc., the equipment, process capabilities of Rui Song’s multi-year accumulation, and process capabilities are carried out in the form of data trip and micro service. Precipitation, jointly build an industry-grade AI solution and provide assistance to the industry’s customer’s digital development.

In addition, relying on the technical advantages of Tencent Wemake National Double-cross-Industrial Internet Platform, the two sides will jointly build industrial Internet platforms with intelligent robots – Ruisong Industrial Internet Platform, providing industry-grade industrial Internet solutions for customers in China. At the same time, the demand scenario on Tencent’s large-scale platform will fully match each other with each other, and continue to work together to win industry solutions.

At present, China has attached great importance to industrial software autonomy. The "Industrial Software" key special 2021 project declaration guide recommended in February this year, it is estimated that by 2025, industrial software has significant development capacity, promoting manufacturing Industrial ecological innovation and technical system, production model, industrial form and value chain.

As the global key partner of Siemens Industrial Software, future Rui Song Technology will jointly launch technical cooperation with Tencent and Siemens Industrial software to jointly develop industry software and intelligent manufacturing technology in China.

Durand Cup: Army Green enter quarters, FC Goa put five past Jamshedpur FC

Deepak Singh scored the solitary goal to take Army Green to the Durand Cup quarterfinals after the former champions beat Sudeva Delhi FC 1-0 in the final Group B game at the Mohun Bagan ground, here on Friday.

Jamshedpur FC were also playing their final game simultaneously against FC Goa but they lost 0-5, allowing Army Green to go through along with group toppers FC Goa.

In the initial quarter of the first half, both Army Green and Sudeva created opportunities but it was all Greens after that.

In the ninth minute, the Greens had their first major scoring opportunity when Lallawmkima took a brilliant header, but could not go past Sudeva keeper Sachin Jha.

Shubham Rana took another shot at goal on the rebound, but Sachin came up with another brilliant save.

The ball hovered around the Sudeva goal for most part of the first half. Thirty minutes into the game, two back-to-back corners almost got the Greens on the board, but Sachin made sure it was goalless at half time.

Sudeva looked all charged up in the second half. In the 46th minute, William Pauliankhum had the ball just a few yards away from the goal but failed to score.

Army Green came back strong and in the 51st minute, courtesy a nice set up and a wonderful assist by Dip Mazumdar, Deepak tapped the ball into the net.

The Delhi side did have a few chances to equalise but they could not go past Army Green’s defence to end the campaign with three losses.

In the day’s second game, FC Goa blanked JFC 5-0 to finish on top with nine points and push their ISL rivals out of the tournament.

Carli Lloyd scores 5 goals, US women rout Paraguay 9-0

No Carli Lloyd isn’t reconsidering her retirement — even after a five-goal game.

Lloyd hit a career high for goals in the U.S. national team’s 9-0 rout of Paraguay on Thursday night. The 39-year-old forward has just three more games with the team before she walks away from the game.

“Maybe for a split second,” Lloyd said when asked if performances like that make her want to stick around. “And then I go back to reality.”

Lloyd scored a pair of goals in the opening five minutes, and added her third and fourth before halftime as the United States built a 6-0 lead. She added her final goal in the 61st.

Lloyd has 133 international goals in 313 appearances with the national team. She moved in front of Kristine Lilly for third on the career list.

“She’s an absolute legend, just being on the field, she’s a threat, no matter who we play, when we play, where we play,” U.S. coach Vlatko Andonovski said. “Her mentality is something that’s unseen. She’s just hungry for scoring goals, just hungry to get better, and whether we play for a medal or we play Paraguay, it makes no difference. She wants to score goals.”

Lloyd’s scoring outburst was reminiscent of the 2015 World Cup final, when she scored three goals in the first 16 minutes against Japan. She announced she plans to retire from soccer after the team’s four post-Olympic games.

“That was fun,” she said about the game. “I don’t know, I’m just trying to savor it because I want time to go a little bit slower, because one game is down and I have three left.”

It was Lloyd’s first career five-goal game. She has nine career hat tricks, one fewer than Mia Hamm.

The five goals matched the U.S. record for a single game, a milestone most recently reached by Alex Morgan against Thailand during the 2019 World Cup. No player has had six.

“I wish I could do it forever, but all good things eventually come to an end and I definitely am for sure retiring,” Lloyd said. “I’m not going to come back out of retirement but you know I’m going to be the biggest cheerleader for this team and really excited to see them continue to keep crushing it.”

Andi Sullivan scored 25th before Lynn Williams’ blast from distance in the 30th made it 4-0.

Sullivan added a second goal early in the second half, before Lloyd’s fifth. Tobin Heath scored the final goal in the 86th.

The United States is in the midst of a four-game post Olympics tour. The Americans won the bronze medal in Tokyo, a somewhat disappointing finish for the defending World Cup champions.

It is the first time that the United States has faced Paraguay, which has never played in the Olympics or the World Cup.

Paraguay lost 7-0 to Japan in April. It was the team’s only previous match this year after three scheduled games against Colombia were cancelled because of the coronavirus.
Forward Christen Press was not with the national team because she is taking time off to focus on her mental health. Alyssa Naeher, Julie Ertz, Sam Mewis and Megan Rapinoe were not on the roster because of injury.

The United States plays Paraguay again on Tuesday in Cincinnati. The team is scheduled to host South Korea twice next month before a possible road trip to Australia in November.