小任班长 发布的文章

工信部也是明确了携号转网的事情,简单来说就是从 12 月开始执行。

  工业和信息化部印发《携号转网服务管理规定》,管理规定指出,电信业务经营者在提供携号转网服务过程中,不得有下列行为:

  1、无正当理由拒绝、阻止、拖延向用户提供携号转网服务;

  2、用户提出携号转网申请后,干扰用户自由选择;

  3、擅自扩大在网期限协议范围,将无在网期限限制的协议有效期和营销活动期默认为在网约定期限,限制用户携号转网;

  4、采取拦截、限制等技术手段影响携号转网用户的通信服务质量;

  5、在携号转网服务以及相关资费方案的宣传中进行比较宣传,提及其他电信业务经营者名称(包括简称、标识)和资费方案名称等;编造、传播携号转网虚假信息或者误导性信息,隐瞒或淡化限制条件、夸大优惠事项或携号转网影响、欺骗误导用户,诋毁其他电信业务经营者;

  6、为携号转网用户设置专项资费方案和营销方案;

  7、利用恶意代客办理携号转网、恶意代客申诉等各种方式,妨碍、破坏其他电信业务经营者携号转网服务正常运行;

  8、用户退网后继续占用该携入号码。

  携号转网就是在不变更电话号码的前提下更换运营商的移动网络服务,用户办理携号转网需要结清与携出方电信费用,与携出方无在网约定期限限制的协议或以解除在网期限限制,并入网已满 120 个自然日。

  在满足上述条件之后,用户可以编辑短信 CXXZ#用户名#身份证号,发送至当前运营商(拟转出运营商)热线,查询是否具备携转资格。满足条件后,用户可向携出方申请携转授权码,并向携入方申请办理携入。

sqlserver百分比运算

select ltrim(Convert(numeric(9,2),25*100.0/30))+'%' As 百分比
- 得到百分比小数
select Cast(Convert(numeric(9,2),25*100.0/30) as decimal(18,2)) As 百分比小数

说明

NUMERIC(P,S) P的默认值是:38 S的默认值是:-84~127
numeric(a,b)函数有两个参数,前面一个为总的位数,后面一个参数是小数点后的位数,例如numeric(5,2)是总位数为5,小数点后为2位的数,也就是说这个字段的整数位最大是3位。

java1.8可以使用stream()流的方法,如下

List<Integer> numbers = Arrays.asList(1,2,3,4,5,6,7,8,9,10);
int chunkSize = 20;   //3 ok
AtomicInteger counter = new AtomicInteger();

Collection<List<Integer>> resultList = numbers.stream()
      .collect(Collectors.groupingBy(it -> counter.getAndIncrement() / chunkSize))
      .values();

System.out.println(resultList);

使用第三方工具类的方法:

  • Google Guava has Lists.partition(List list, int size) method (docs)
  • Apache Commons Collections has ListUtils.partition(List list, int size) method (docs)

举例说明:
Check out Lists.partition(java.util.List, int) from Google Guava:
Returns consecutive sublists of a list, each of the same size (the final list may be smaller). For example, partitioning a list containing [a, b, c, d, e] with a partition size of 3 yields [[a, b, c], [d, e]] -- an outer list containing two inner lists of three and two elements, all in the original order.

According to the latest news from the official website of the Ministry of Science and Technology, on November 3, the Ministry of Science and Technology, together with the Development and Reform Commission, the Ministry of Education, the Ministry of Industry and Information Technology, the Chinese Academy of Sciences, and the Natural Science Foundation, organized a 6G technology R&D work kick-off meeting in Beijing.

The meeting announced the establishment of the national 6G technology research and development promotion working group and the overall expert group. The promotion working group is composed of relevant government departments, and its responsibility is to promote the implementation of 6G technology research and development; the overall expert group consists of 37 universities, research institutes and enterprises. Experts are responsible for proposing 6G technical research layout proposals and technical demonstrations. This marks the official launch of China's 6G technology research and development work.

近日,腾讯在苹果应用商城上线了一款名叫“猫呼”的视频社交软件。
腾讯社交猫呼

该软件主打陌生人视频社交聊天,并支持美颜功能。同时,还可以进行实施面具匹配,介绍上说可以佩戴好看的面具和有趣的灵魂聊天;还有附近人功能,可以通过附近功能发现周围用户;支持在视频的时候进行美颜美妆,从介绍上可以发现,美型、美颜、瘦脸、瘦鼻、大眼等一系列针对性美化;还可以智能优化周围环境,保证隐私安全;同时在暗光下可以自动补光,保证视频效果。

在猫呼,所有的一切都是为了最后的相见而准备。让你遇见真正有趣的人,开启零距离在线视频邂逅。

目前处于冷启动阶段,已在App Store上线。仅支持通过QQ与微信两个通道进行注册。注册后,可设定交友意向,诸如“随便聊聊”、“单身交友”等作为匹配意向标签。用户添加好友后,仅能通过视频聊天,而无法使用文字或图片。

腾讯内部正孵化其他两款社交类产品,目前均处于保密阶段。其中一款Slogan为“记录认真生活的你”的产品,或对标小红书/绿洲,;另一款主打“高品质脱单”的恋爱交友App,目前正在腾讯内部秘密测试。

appstore 链接:https://apps.apple.com/cn/app/猫呼/id1471632106

免责声明
本博客部分内容来自于互联网,不代表作者的观点和立场,如若侵犯到您的权益,请联系[email protected]。我们会在24小时内进行删除。