【技术头条10/17/AM 2点闪读】Cocos2d-x入门之旅[1…|总结|

  1. Cocos2d-x入门之旅[1]场景

    cocos的场景是通过一颗树安排场景内渲染的对象的,Node类是场景里我们使用的大部分类的基类,游戏世界中的对象实际上大部分都是Node,Node和Node通过父子关系联系起来,形成一棵树,父节点使用addChild将子节点加到自己管理的子节点队列中,Director遍历这些Node让他们工作 …

  2. 总结

    一、设计模式 简单工厂:一个简单而且比较杂的工厂,可以创建任何对象给你 复杂工厂:先创建一种基础类型的工厂接口,然后各自集成实现这个接口,但是每个工厂都是这个基础类的扩展分类,spr…

【技术头条10/17/AM 1点闪读】网络经济与企业管理(第8章:人…|java内存模型|

  1. 网络经济与企业管理(第8章:人力资源管理)

    虚拟团队的成员由不同领域的专家组成,实行自我管理和自我指导。 就时间而言,可以是短暂的,也可以是长期存在的。 …

  2. java内存模型

    前言 Java作为一种面向对象的,跨平台语言,其对象、内存等一直是比较难的知识点。而且很多概念的名称看起来又那么相似,很多人会傻傻分不清楚。比如本文我们要讨论的JVM内存结构、Java内存模…

【技术头条10/17/AM 12点闪读】TP框架配合jquery进行3…|Spring Boot 定时任…|

  1. TP框架配合jquery进行3种方式的多图片上传

    用的TP5.1框架+jquery 一 使用form表单方式进行多图片上传 html代码: ../admin/admin/cs的PHP代码: 二 使用file的多文件上传属性进行多图片上传 html代码: jquery代码: 我选了3个文件,分别是03.jpg 04.jpg 05.jpg 选好之后显示 …

  2. Spring Boot 定时任务 @Scheduled

    项目开发中经常需要执行一些定时任务,比如在每天凌晨,需要从 implala 数据库拉取产品功能活跃数据,分析处理后存入到 MySQL 数据库中。类似这样的需求还有许多,那么怎么去实现定时任务呢,有以下几种实现方式。 Java 定时任务的几种实现方式 基于 java.util.Timer 定时器,实现 …

【技术头条10/16/Night】一次Commons-HttpC…|一文了解 Redis 内存监控…|我的Java秋招面经大合集|Efficient Enter…|TensorFlow.js a…|

  1. 一次Commons-HttpClient的BindException排查

    线上有个老应用,在流量增长的时候,HttpClient抛出了BindException。部分的StackTrace信息如下: java java.net.BindException: Address already in use (Bind failed) at java.net.PlainSock …

  2. 一文了解 Redis 内存监控和内存消耗

    Redis 是一种内存数据库,将数据保存在内存中,读写效率要比传统的将数据保存在磁盘上的数据库要快很多。所以,监控 Redis 的内存消耗并了解 Redis 内存模型对高效并长期稳定使用 Redis 至关重要。 …

  3. 我的Java秋招面经大合集

    阿里面经 阿里中间件研发面经 蚂蚁金服研发面经 岗位是研发工程师,直接找蚂蚁金服的大佬进行内推。 我参与了阿里巴巴中间件部门的提前批面试,一共经历了四次面试,拿到了口头offer。 然后我…

  4. Efficient Enterprise Testing — Integration Tests (Part Three)

    Especially in microservice applications, integration tests Don’t provide ultimate confidence, whether the integration, especially of endpoints and persistence, will behave exactly as it does in production … If developers want to craft an optimized development Workflow, by running the application in a mode that hot-reloads on changes in a different life cycle and then quickly execute integrative tests against the running application, this is not easily possible by these type of integration tests, since they would usually start their application … We’ve had many cases where reusing the test scenarios, the code that defines the logical part of the test, in different scopes simplified enhancing the test suite, for example for use case tests, load tests, or system tests.

  5. TensorFlow.js and Custom Classifiers

    I’ve noticed that most samples out there for image classification with TensorFlow.js use an existing model that has wrappers that make it easy to pass an image to them to see the classification for that image …One thing missing is an easy way to see how to get a custom image passed to a custom classifier to get the results … That’s it, you Now have everything you need to classify an image from a custom trained model, by formatting it in the desired input Shape, invoking the model, and reading the output.

  6. Sprint Retrospectives With Kanban

    When a Scrum Team implements Kanban as a strategy, there are implications regarding how a Sprint Retrospective is Best conducted … Although incidents of defects or technical debt might be discussed during the Sprint Review for example, and any remedial Work incorporated into the Product Backlog, an investigation into the underlying causes would be a valid topic for the Sprint Retrospective … A Scrum Team implementing Kanban would enhance their Sprint Retrospective by inspecting and adapting their Workflow, although again, there is nothing to prohibit them from improving it at Anytime.

【科技头条·夜猫专享-10/16】Apple renews ‘F…|RIP Google Clip…|Tik Tok Hired f…|Google exec say…|SoftBank report…|

  1. Apple renews ‘For All Mankind’ before it even debuts

    Late last week, it came out that the Company had signed Roma director Alfonso Cuarón to a multi-year deal, as well as started production on Masters of the Air, the follow-up to Band of Brothers … The Company has also said it will give people WHO Buy an Apple TV, Mac, iPhone or iPad a free One-year subscription to the service.

  2. RIP Google Clips, you weird little automatic camera

    Launched in 2017, the camera was designed to take pictures completely on its own to capture Moments that it otherwise wouldn’t … Google provided a few updates to improve it, but most reviewers agreed that its $249 asking price was a bit much … Using AI to detect when the right time was to take a shot, Clips could theoretically capture important Moments in life such as having the family in town for the holidays, or even just the family having fun in the home together.

  3. Tik Tok Hired former US lawmakers to review its content moderation policies after it was accused of censorship

    Tik Tok’s US general manager posted a statement announcing that two former members of Congress will be part of a team reviewing new content moderation policies … Tik Tok announced on Tuesday that it is working with a team including two former US lawmakers to review its new content moderation policy … Bart Gordon and former Congressman Jeff Denham, of law firm K&L Gates, to “further strengthen our Teams, moderation policies, and overall transparency,” The Wall Street Journal reported.

  4. Google exec says Nest owners should probably warn their guests that their conversations are being recorded

    Google devices chief Rick Osterloh said he believes anyone “in proximity” of a microphone-fitted Smart device like Google Nest or Amazon Echo should be informed the devices are in use … Osterloh was asked by the BBC whether homeowners should warn guests that their Nest devices could be recording them, to which he said yes … Because of that, Nest owners should probably warn their House guests that they’Re on camera, according to Google devices chief Rick Osterloh.

  5. SoftBank reportedly plans to offer $5 billion in financing to WeWork without majority control, offering an alternative to JPMorgan’s high-interest option

    SoftBank is preparing to offer WeWork a $5 billion financing deal with less restrictive terms than an earlier version under consideration, Nikkei Asian Review reported on Wednesday … As WeWork faces a cash crunch, its biggest investor is preparing to offer a bailout with fewer restrictions than it had earlier planned … SoftBank could provide about $5 billion in financing to the embattled Office Company, with the money coming from the Japanese investor directly, rather than its Vision Fund, Nikkei Asian Review First reported on Wednesday.

  6. 照片刷脸能开快件柜?丰巢:小范围功能测试 已下线

    近日,一段用户测试丰巢智能快件柜“刷脸”功能,发现可用照片取快递的视频在网络爆红 … 视频内容显示,用户在丰巢智能快件柜选择“刷脸”功能取快递,并以一张照片进行人脸识别,随后照片被识别成功,用户成功取出快递 … 目前,投递智能快件柜为我国快递末端配送途径之一,丰巢为头部智能快件柜企业,截至2019年7月24日,丰巢已经覆盖全国100多个城市,15万个智能快递柜网点,在北京、上海、广州、深圳一线市场的占有率超过70%,日包裹处理量超过1000万件。

  7. How to share a YouTube playlist with a Link to View or collaborate, so multiple users can add videos to a playlist

    You can share a YouTube playlist by sending a Link to View, or you can also share a YouTube playlist by sending a Link to collaborate … When you share a YouTube playlist for collaboration, anyone you send the Link to will be able to add videos to the playlist … You would think clicking the “Share” icon at the bottom of a video within a playlist would Work, but it will only take you to the Link for that specific video, not the entire playlist.

【技术头条10/16/PM 11点闪读】记录一次jvm内存泄露的问题|cocos2d-x C++ 工…|设计模式-建造者模式|Easily Extract …|Integrate SSO W…|

  1. 记录一次jvm内存泄露的问题

    前些天,运维告诉我刚上线的java服务占用CPU过高。 以下是发现解决问题的具体流程。 1:通过#top命令查看,我的java服务确实把CPU几乎占满了,如图 可看到18400这个进程CPU占用达到了1200%,这确实不太正常,那么我们接下来分析到底哪些线程占用了CPU 2:通过#top -Hp 1 …

  2. cocos2d-x C++ 工程初探

    经过较为繁琐的环境搭建后,我们终于运行出了一个helloworld窗口,可以正式上手cocos了,现在我们就从改代码开始玩起 …

  3. 设计模式-建造者模式

    建造者模式 定义 将一个复杂对象的构建和它的表示分离,使得同样的构建过程创建出不同的表示。 这句话理解起来优点抽象,我们打个简单的比方吧, 中国人都喜欢做菜,做菜的时候后会放很多配料…

  4. Easily Extract Data From SQL Server for FAST and Visual Analytics With OmniSci

    To demonstrate using OmniSci as the common platform between multiple Data systems, let’s assume we have a monthly subscription-based service where the customer account Data is stored in SQL Server … Both SQL Server and OmniSci support OGC-compliant geospatial Data types, but because the Data are represented slightly differently in the two systems, we’ll have to account for this before transferring the Data … If the table does exist, then the column names and Data types of the SQL Server table and the Target OmniSci table must Match.

  5. Integrate SSO With Spring Boot and OAuth 2.0

    In the diagram above, you can see that you achieve SSO because you authenticate with Client App 1 via OIDC App 1, and Client App 2 is connected to the same OIDC App 1 application … The Okta Spring Boot Starter enables you to integrate your Spring Boot Apps with Okta with just a few lines of code and Three configuration properties … Along with our Spring Boot Starter, Okta’s OpenID Connect service not only conforms to the standard, but gives you a sophisticated Single Sign-On experience where the same user can access many different OIDC applications, each with their own set of requirements and configuration.

  6. 高德地图首席科学家任小枫:视觉智能在高德地图的应用

  7. Scrum 101: Everything You Need To Know

【科技头条·PM 11点一刻-10/16】科创板日报(10.16)| 罗…|照片刷脸能开快件柜?丰巢:小范…|Federal prosecu…|苹果宣布推出Transport…|黄磊:“没有婚礼不嫁女儿”,婚…|

  1. 科创板日报(10.16)| 罗辑思维拟在科创板上市;证监会同意7家科创板企业IPO注册

    罗辑思维拟在科创板上市。

  2. 照片刷脸能开快件柜?丰巢:小范围功能测试 现已下线

    近日,一段用户测试丰巢智能快件柜“刷脸”功能,发现可用照片取快递的视频在网络爆红 … 视频内容显示,用户在丰巢智能快件柜选择“刷脸”功能取快递,并以一张照片进行人脸识别,随后照片被识别成功,用户成功取出快递 … 目前,投递智能快件柜为我国快递末端配送途径之一,丰巢为头部智能快件柜企业,截至2019年7月24日,丰巢已经覆盖全国100多个城市,15万个智能快递柜网点,在北京、上海、广州、深圳一线市场的占有率超过70%,日包裹处理量超过1000万件。

  3. Federal prosecutors just shut down the ‘largest child porn Marketplace’ on the dark web containing more than 200,000 videos

    Federal prosecutors have shut down the “largest dark web child porn Marketplace” and charged a South Korean man with running it,  NBC News First reported … The site hosted over 200,000 videos and processed $730,000 worth of transactions from 2015 to 2018, according to the criminal indictment … It hosted nearly 8 terabytes of child pornography including more than 200,000 videos depicting sex acts involving children and infants, according to the criminal indictment unsealed Tuesday.

  4. 苹果宣布推出Transporter应用,可方便开发者提交内容

    开发者们可以用它来轻松发送应用程序、音乐、电影、电视节目或书籍,由苹果来完成App Store、Apple Music、Apple TV、Apple Books或iTunes Store中的分发 … 此前,开发者只能使用命令行工具将自己的应用或内容上传至App Store Connect … 开发人员或发布者都可以使用Transporter将.ipa或.pkg文件上传到App Store Connect并监视交付进度,操作就像在macOS中传输文件一样。

  5. 黄磊:“没有婚礼不嫁女儿”,婚姻中的仪式感到底多重要?

    如果有一个男人向我的女儿求婚,可是对方说不办婚礼的话,那我就会跟我女儿说:不要嫁给他 … 所长很赞成他的说法,因为我觉得,一场婚礼是一段婚姻的奠基,如果连这个根基都少了的话,两个人的感情就会像无根的浮萍,又怎么能说幸福呢 … 就算是再平常的小事,带着仪式感去做,就能够对抗生活中的消极因素,更何况是婚礼这样的人生大事。

  6. Noah Centineo shaved off his hair, and fans are heartbroken

  7. 健康管理和健康险携手“管”健康,这首合奏谈何容易

    希望借此契机探寻慢病管理之道,对肿瘤进行早期筛查和预防,更好的实现职业人群的健康管理,探索新时期的健康管理服务模式等途径,进一步完善健康保障,满足国民对美好生活的需求 … 对于未来的健康管理以及健康事业而言,商业健康保险都是举足轻重的 … 中国保险行业协会秘书长商敬国表示,目前健康险业务结构极不合理,定额给付的重疾险占比过高,和医疗费用直接相关的医疗险占比过低,商业健康险这种可持续的健康风险管理机制,在目前的医疗健康体系中还没有发挥更好的作用。

  8. 苹果支付服务再次面临欧盟反垄断机构调查

    据外媒报道,苹果的非接触式支付服务Apple Pay显然再次受到了欧盟反垄断机构的调查 … 一个可能的问题是苹果不允许其他NFC支付服务与Wallet应用程序整合,这意味着在iOS中Apple Pay的整合是排他性的 … 今年早些时候,苹果宣布Apple Pay将很快扩展到支持专有的NFC贴纸,合作伙伴包括Bird电动滑板车公司和PayByPhone停车费支付公司。

  9. Analogue Pocket is a gorgeous handheld that plays Game Boy games and more

  10. 飞猪上线新店铺运营体系 为商家提供私域运营解决方案

    向密) 飞猪“新旅行联盟”发布2.0升级版,上线全新店铺运营体系,结合品牌营销和会员体系三大抓手,提升商家数字化运营能力 … 阿里巴巴董事局主席兼首席执行官张勇表示,飞猪绝不希望只是商家销售商品的渠道,飞猪要提供OTA提供不了的价值,要面对消费者,构建商家的价值 … 今年天猫双11期间,新店铺体系也将对飞猪平台上所有商家全面开放认领。

  11. 21世纪最重要的技能是什么?

  12. The 36 Best cosplayers at New York Comic Con 2019

【技术头条10/16/PM 10点闪读】设计模式之美—策略模式|Spring Boot2 系列…|Kafka学习笔记(三)—Ka…|推荐一下自己用的密码管理方案|服务器快速免密ssh登录配置|

  1. 设计模式之美—策略模式

    策略模式 什么是策略模式 策略模式的用意是针对一组算法,将每一个算法封装到具有共同接口的独立类中,从而使得它们可以相互替换。策略模式使得算法可以在不影响到客户端的情况下发生变化 策略模式是对算法的包装,是把使用算法的责任和算法本身分开。策略模式通常是把一系列的算法包装到一系列的策略类里面,作为一个抽 …

  2. Spring Boot2 系列教程(十)Spring Boot 整合 Freemarker

    今天来聊聊 Spring Boot 整合 Freemarker。 Freemarker 简介 这是一个相当老牌的开源的免费的模版引擎。通过 Freemarker 模版,我们可以将数据渲染成 HTML 网页、电子邮件、配置文件以及源代码等。Freemarker 不是面向最终用户的,而是一个 Java …

  3. Kafka学习笔记(三)—Kafka消息丢失,消费重复

    一、数据传输事务的定义 最多一次(at most once):消息不会被重复发送,但是可能丢失 最少一次 (at least once)消息可能会被重复发送,但是不会漏发送 精确一次(exactly once) 不会少发…

  4. 推荐一下自己用的密码管理方案

    ## 所有网站密码都一样
    一开始所有网站的密码都是一样的,但是期间发生了一件事,爱奇艺密码泄露了,于是花了一天修改了所有网站的密码,这酸爽谁试谁知道。

    这里要吐槽下爱奇艺,早些年只要开通会员,…

  5. 服务器快速免密ssh登录配置

    Are you sure you want to continue connecting (yes/no) … Welcome to Alibaba Cloud Elastic Compute Service。

  6. Building Mancala Game in Microservices Using Spring Boot (Part 1: Solution Architecture)

    Below, is a typical example of implementing an online game called mancala which I have developed using this Java, Spring Boot and Spring Cloud technologies based on the Microservices approach … Spring Cloud Sleuth can be used by microservices developed using Spring Cloud, to simplify both the creation of trace events and sending them to the Zipkin server … Before building the game, there is an environment variable called ‘MANCALA_PIT_STONES’ within the Docker-compose.yml files for ‘mancala-API’ service which allows you to customize the Mancala game based on the number of stones.

  7. How Much Did Poor Quality software Cost in 2018?

    Fortunately, CISQ published a report, ‘The Cost of Poor software Quality in the US: a 2018 report’ that explores this topic in detail … Gartner estimates the Global spend on IT enterprise systems in 2018 was $3.7 trillion dollars (a 6.2% increase from 2017) based on the cost of ‘Data Center Systems, Enterprise software, Computing Devices, IT Services and Communications Services’ … Commit to measuring your organization’s CPSQ, so you can make an informed Business case for investing in new software quality processes and tools.

  8. kubernetes垃圾回收器GarbageCollector源码分析(一)

  9. 树状图展示终端目录内容-tree

  10. 强大的输入框-应用快速启动uTools

  11. 北京智源大会

【科技头条·PM 10点一刻-10/16】罗振宇闯关科创板,&ldquo…|华为第三季度营收同比增长27%…|Game Freak live…|刷脸取件被小学生“破解”!丰巢…|B站回应申请商标被驳回:系四年…|

  1. 罗振宇闯关科创板,“罗辑思维”或成知识付费第一股?| 邦眼

    多次被传上市的罗辑思维,这次真要闯关科创板了。

  2. 华为第三季度营收同比增长27% 智能手机出货依旧强劲

    北京时间10月16日晚间消息,据国外媒体报道,华为今年第三季度营收同比了增长27%,主要得益于智能手机出货量的增长 … 根据路透社基于华为之前发布的数据计算,在截至9月30日的第三季度,华为营收为1652.9亿元人民币,同比了增长27% … 今年前三个季度,华为智能手机业务保持稳健增长,发货量超过1.85亿部,同比增长26%。

  3. Game Freak live stream will reveal new info about Pokémon Sword and SHIELD

    To celebrate, Game Freak says it will reveal the latest information about Pokémon Sword and SHIELD via a live stream …Now the Company has released seven generations of Pokémon games, and is getting ready to release Gen 8 with Pokémon Sword and SHIELD … Or, it might indicate that we’ll be learning about Little Town Hero and Giga Wrecker alt in addition to Pokémon Sword and SHIELD during this live stream.

  4. 刷脸取件被小学生“破解”!丰巢紧急下线

    前些天,嘉兴上外秀洲外国语学校402班科学小队向都市快报《好奇实验室》报料:他们在一次课外科学实验中发现,只要用一张打印照片就能代替真人刷脸、骗过小区里的丰巢智能柜,取出了父母们的货件 … 微信刷脸支付出现账户冒用、盗刷等风险隐患是极小概率事件,如果因为刷脸支付导致账号资金损失,也可以申请全额赔付 … 当时,支付宝回应称:支付宝“刷脸支付”采用的是3D人脸识别技术,各类换脸软件有很多,但不管换的有多逼真,都是无法突破刷脸支付的。

  5. B站回应申请商标被驳回:系四年前所用,早已升级并注册为蓝色单框小电视

    今日,B站就“申请商标被驳回”一事回应称,网传被驳回的双框小电视商标是B站在2015年之前使用的品牌元素,除41类商标的部分群组外,其他双框小电视群组均获得了授权 … 从2015年起,B站已将小电视品牌元素升级为了目前的蓝色单框小电视,并在同年就获得了该类别的商标注册证书 … 今日早些时候,有媒体报道称,2017年8月31日,哔哩哔哩的运营公司上海幻电信息科技有限公司申请注册小电视图标,但因为该商标与五年前日本公司NicoNico的商标存在相似性,被驳回。

  6. 科技趋势有迹可循 从黑莓看未来智能手机

    文章来自Medium网站《黑莓曾走在时代前沿》(The Original BlackBerry Was Ahead of Its Time),自从第一部黑莓手机发布以来,已经过去了近20年 … 作者表示,事实上,最早的黑莓7200系列的设计元素和功能都清晰地预示了未来的趋势 … 受此启发,人们是否能从手中的智能手机发现已有的未来科技发展线索。

  7. Automattic nabs Vivint CFO to Chase steep revenue growth

  8. 李想:在国内市场 理想汽车自动驾驶体验要超特斯拉

    – 关于理想One 的 2020 款,是临时决定还是早有计划。

  9. Giphy Arcade lets you play, remix, and share GIF-based ‘microgames’

  10. 刚刚,微信突然大量封号,因为有人被骗了1660万!

    吃饭买菜购物靠微信支付,撩妹吹牛工作靠微信聊天,环游世界尝人生百态靠朋友圈 … 正当小雷如此理解时,微信它老大哥QQ也发生着同样的事情:大量封号 … 国务院打击治理电信网络新型违法犯罪工作部际联席会议办公室正在组织开展专项打击行动,决定自2019年10月14日起,对缅北部分电信网络诈骗活动严重区域的QQ、微信、支付宝、POS机等社交和支付账户采取封停措施。

  11. Elon Musk says Monster Tesla seen on racetrack will go into production by summer 2020

    Two Tesla Model S cars have been spotted (via Teslarati) on the legendary German race track, and while there are no official lap Times for them yet, the cars themselves are interesting … While we can’t say whether they’Re 7- or 5-seaters, the new Tesla cars seen whizzing on the race track (see video below) have some new features, including Air vents on the front and a big rear diffuser (only on the blue Model S, though) … Again, Elon Musk chimed in on Twitter to say that the final configuration that will be used at the racetrack is the car that will actually Go into production by summer 2020.