weixin_39682944的博客

私信 关注
weixin_39682944
码龄4年
  • 16,034
    被访问量
  • 128
    原创文章
  • 987,100
    作者排名
  • 6
    粉丝数量
  • 于 2017-08-01 加入CSDN
获得成就
  • 获得5次点赞
  • 内容获得0次评论
  • 获得16次收藏
荣誉勋章
  • 最近
  • 文章
  • 资源
  • 问答
  • 课程
  • 帖子
  • 收藏
  • 关注/订阅

go mysql transfer_go-mysql-transfer

简介go-mysql-transfer是一款MySQL数据库实时增量同步工具。能够监听MySQL二进制日志(Binlog)的变动,将变更内容形成指定格式的消息,实时发送到接收端。从而在数据库和接收端之间形成一个高性能、低延迟的增量数据同步更新管道。特性1、简单,不依赖其它组件,一键部署2、集成多种接收端,如:Redis、MongoDB、Elasticsearch、RocketMQ、Kafka、Ra...
原创
4阅读
0评论
0点赞
发布博客于 1 月前

java工程压力测试_记一次完整的java项目压力测试

总结:通过这次压力测试,增加了对程序的理解;假定正常情况下方法执行时间为2秒,吞吐量为100/s,则并发为200/s;假设用户可接受范围为10s,那么并发量可以继续增加到1000/s,到这个时候一切还都正常,若想继续提高并发量,我们可以优化吞吐量,增加tomcat的线程数和mysql的连接数;当吞吐量和并发量都达到一定程度,我们的JVM已经爆仓,则到了java开发最喜欢的JVM调优环节。本着压测结...
原创
6阅读
0评论
0点赞
发布博客于 2 月前

java通过抽象类实现堆栈_JAVA基础(四)

一、Excption与Error包结构Java可抛出(Throwable)的结构分为三种类型:被检查的异常(CheckedException),运行时异常(RuntimeException),错误(Error)。1、运行时异常定义:RuntimeException及其子类都被称为运行时异常。特点:Java编译器不会检查。常见的五种类型转化异常ClassCastException数组越界IndexO...
原创
0阅读
0评论
0点赞
发布博客于 2 月前

Java中的各种流怎么区分_java IO流面试总结

java IO流面试总结2017年08月08日 11:48:51阅读数:106131.什么是比特(Bit),什么是字节(Byte),什么是字符(Char),它们长度是多少,各有什么区别答案Bit最小的二进制单位 ,是计算机的操作部分 取值0或者1Byte是计算机操作数据的最小单位由8位bit组成 取值(-128-127)Char是用户的可读写的最小单位,在Java里面由16位bit组成 取值(0-...
原创
19阅读
0评论
0点赞
发布博客于 2 月前

java格式化打印小票_独立的Java代码格式化器/美化器/漂亮的打印机?

更新:根据我的新理解,基于我提交的不正确的错误报告: https ://bugs.eclipse.org/bugs/show_bug.cgi ? id = 325289 OpenMRSFormatter.xml文件实际上必须是首选项文件,而不是XML文件。你可以在这里find这样的文件: https : //bugs.eclipse.org/bugs/attachment.cgi?id = 178...
原创
7阅读
0评论
0点赞
发布博客于 2 月前

java有没有求组合的函数_Java 8:使用compose和andThen组合函数

在这篇文章中,我将讨论利用 Function 接口提供的两个组合函数—— compose 和 andThen 来实现函数的组合。什么是函数组合?首先需要创建一些小的可重用函数,然后将这些小函数组合为新函数。现在,我们怎么利用 compose 和 andThen 方法来完成函数的组合?首先,定义两个简单的函数—— times2 和 squared。Functiontimes2=e->...
原创
4阅读
0评论
0点赞
发布博客于 2 月前

java实例个数_JAVA实例(求回文数的个数)

Problem description所谓回文数是从左至右或从右至左读起来都是一样的数字,如:121是一个回文数。计算1至n间共有多少个回文数。Input有多个测试数据,每个测试数据占一行,输入一个正整数n(1≤n≤9999)。Output输出一个整数,表示回文数的个数。Sample Input9001234345689002367Sample Output98111133187122本来回文数问...
原创
21阅读
0评论
0点赞
发布博客于 2 月前

java 判断 nullable_JAVA8之妙用Optional解决判断Null为空的问题

引言在文章的开头,先说下NPE问题,NPE问题就是,我们在开发中经常碰到的NullPointerException.假设我们有两个类,他们的UML类图如下图所示 在这种情况下,有如下代码user.getAddress().getProvince();这种写法,在user为null时,是有可能报NullPointerException异常的。为了解决这个问题,于是采用下面的写法if(user!=nu...
原创
9阅读
0评论
0点赞
发布博客于 2 月前

pytorch中的gather函数_理解pytorch几个高级选择函数(如gather)

1. 引言最近在刷开源的Pytorch版动手学深度学习,里面谈到几个高级选择函数,如index_select,masked_select,gather等。这些函数大多很容易理解,但是对于gather函数,确实有些难理解,官方文档开始也看得一脸懵,感觉不太直观。下面谈谈我对这几个函数的一些理解。2. 维度的理解对于numpy和pytorch,其数组在做维度运算上刚开始可能会给人一种直观上的误解,以n...
原创
15阅读
0评论
0点赞
发布博客于 2 月前

java 解析useragent_java 通过request.getHeader("user-agent")解析浏览器

/**** @author cc* 20120307*/public class BrowseTool {private final static String IE9="MSIE 9.0";private final static String IE8="MSIE 8.0";private final static String IE7="MSIE 7.0";private final stat...
原创
2阅读
0评论
0点赞
发布博客于 2 月前

java实现二叉树的遍历_java实现二叉树遍历的三种方式

java实现二叉树遍历的三种方式发布时间:2020-09-05 04:21:08来源:脚本之家阅读:74作者:zhangbinu本文实例为大家分享了java实现二叉树遍历的具体代码,供大家参考,具体内容如下二叉树如下:遍历结果如下:以下是实现代码:package binTree;import java.util.Stack;/*** @author bin.zhang* @version 2017...
原创
2阅读
0评论
0点赞
发布博客于 2 月前

java xxtea加密_XXTEA 加密算法的 Java 实现

XXTEA 加密算法前面介绍过了,这次给出的是 Java 版本的实现。用法同 C# 版本的类似(只是大小写不太一样),也是对字节数组进行加密解密的,也全都是静态方法,无须创建对象,加密的内容用其它语言实现的算法也可以解密,反之亦然。下面是算法代码:xxtea.java/* XXTEA.java** Author: Ma Bingyao * Copyright: CoolCode....
原创
7阅读
0评论
0点赞
发布博客于 2 月前

gui框架 java_现在选择哪个Java GUI框架

展开全部如果要使用Java开发GUI图形界面. 常见的是AWT/SWING/SWT/JavaFX推荐主要学JavaFX:JavaFX 从设计上就感觉非常好, 模仿网页,进行分层, 这样修改起来62616964757a686964616fe78988e69d8331333365653864比较方便. 并且懂网页开发的美术, 也可以迅速上手设计fxml,写css文档比如MyXml.fxml 就好比是...
原创
49阅读
0评论
0点赞
发布博客于 2 月前

java拦截器放行_Spring mvc 的拦截器怎么放行一些请求不进行拦截?

我瞎说两句吧。首先呢,感觉你的需求广义上来讲也属于认证。参考Spring Security这种认证用过滤器比拦截器更适合。拦截器根据拦截的返回值true/false来决定是否拦截,这样的机制决定了多个拦截器间没有办法直接传递信息。但过滤器就不同了,过滤器之间靠过滤器链将多个过滤器连接在一起。我们可以在前置过滤器中对request或response进行装饰(当然可以把一些自定义的信息装饰进去了),然...
原创
71阅读
0评论
0点赞
发布博客于 2 月前

java容器的概念_Java 容器的基本概念

java容器类类库的用途时"保存对象",并将其划分为两个不同的概念:1)Collection(采集).一个独立元素的序列,这些元素都服从一条或多条规则,List必须按照插入的顺序保存元素,而Set不能有重复元素,Queue按照排队规则来确定对象产生的顺序(通常与它们被插入的顺序相同)2)Map.一组成对的"键值对"对象,允许你使用键来查找值,ArrayList允许你使用数字来查找值,因此在某种意义...
原创
7阅读
0评论
0点赞
发布博客于 2 月前

Supplier JAVA_「supplier」java1.8之supplier理解 - seo实验室

suppliersupplier也是是用来创建对象的,但是不同于传统的创建对象语法:new,看下面代码:public class TestSupplier {private int age;TestSupplier(){System.out.println(age);}public static void main(String[] args) {//创建Supplier容器,声明为TestSup...
原创
3阅读
0评论
0点赞
发布博客于 2 月前

修改mysql table_mysql中修改表(alter table)的用法

本节内容:mysql数据库中 alter table语句的用法。在数据库的维护中,后期会修改表修改表需要用到alter table修改表语句。在创建表的过程中难免会考虑不周,因此后期会修改表修改表需要用到alter table语句1,修改表名复制代码 代码示例:mysql> alter table student rename person;Query OK, 0 rows affected...
原创
44阅读
0评论
0点赞
发布博客于 2 月前

按照dept汇总MySQL_按照dept_no进行汇总

OJ使用的SQLite语法在这个问题上其实存在一些值得探究的东西。首先要说明的是, OJ系统如果在group_concat中使用distinct,则无法同时使用指定分隔符,所以只能以下二者之一: select dept_no, group_concat(emp_no, ',') as employeesfrom dept_emp group by dept_no;select dept_no, g...
原创
4阅读
0评论
0点赞
发布博客于 2 月前

python决策评价模型是什么_《Python机器学习基础教程》五、模型评估与改进(二)...

三、评估指标与评分2.二分类指标(3)混淆矩阵from sklearn.metrics import confusion_matrixconfusion = confusion_matrix(y_test, pred_logreg)print("Confusion matrix:
{}".format(confusion))Confusion matrix: [[401 2] [ 8 ...
原创
11阅读
0评论
0点赞
发布博客于 2 月前

mysql多列索引groupby_高性能MySQL-索引详解

1.mysql的索引工作类似一本书的目录部分,想找某个特定主题,先查找书的目录部分,找到对应的页码2.ORM工具只能生成基本的合法的查询3.索引是在存储引擎层实现的,不是服务器层4.B-tree就是指的B树,多叉平衡查找树,很多存储引擎使用的b+树,降低磁盘I/O操作,将随机i/o变成顺序i/o5.b树意味着所有的值是按顺序存储的,每个叶子页到根的距离相同,叶子页存储了指向下一个叶子页的指针6.存...
原创
17阅读
0评论
0点赞
发布博客于 2 月前

合同管理数据库设计mysql_合同管理系统数据库设计.docx

合同管理系统数据库设计篇一:合同管理系统分析与设计   目录   前 言 ........................................... 1   第1章 概述 ..................................... 2  第节 课题背景 ...........................................................
原创
43阅读
0评论
0点赞
发布博客于 2 月前

mysql rlike函数_MySQL中RLIKE运算符的使用详解

在MySQL中,RLIKE运算符用于确定字符串是否匹配正则表达式。它是REGEXP_LIKE()的同义词。如果字符串与提供的正则表达式匹配,则结果为1,否则为0。语法是这样的:expr RLIKE pat其中expr是输入字符串,pat是测试字符串的正则表达式。例子下面是一个如何在SELECT语句中使用这个运算符的例子:SELECT 'Tweet' REGEXP '^Tw.*t$';结果:+---...
原创
78阅读
0评论
0点赞
发布博客于 2 月前

ora2mysql实例_MySQL多实例部署案例

还有几点需要说明的:a. 配置文件中写了两个MySQLd节点,也就是启用了两个实例!要是有多个实例,就可以在配置文件加相应的mysqld节点,也可以给定每个实例单个配置,但是个人推荐用一个配置文件。b. 配置文件中参数比较多,可能有些版本不同导致有些参数不适用,在后面启动时可能会报错,请大家多看错误日志!基本上通过查看错误日志能解决90%以上的问题,这也是排除故障的最基础的方法,大家应该养成这样的...
原创
7阅读
0评论
0点赞
发布博客于 2 月前

php mysql apache版本问题_php+mysql+apache项目运行所遇到的一系列配置问题

今天运行一个php项目时,突然发现访问不了了。起因应该是mac系统升级,导致apache配置文件完全恢复到了默认状态,一切归零。作为一个经验尚欠的前端,对这些后台配置完全是一窍不通,赶紧微信联系了小胖。最终经过小胖在远方耐心的帮助和指导下,完美解决了运行项目中所遇到的连环坑,折腾了一下午直到晚上八点多。或许对于后端来说,这完全是小菜一碟,然后对于我这个外行来说简直是个灾难。想想还是事必躬亲的好,之...
原创
6阅读
0评论
0点赞
发布博客于 2 月前

python六个标准数据类型_Python学习 :六个标准数据类型

二、String (字符串)字符串(String)是字符(Characters)的序列(Sepuence)。基本上,字符串就是一串词汇注意:字符串是不可改变单引号括起的字符串与双引号括起的字符串是一样的(它们不存在任何区别)字符串的基本操作主要有:copy,拼接,查找,统计,检测,切片,大小写等三、List(列表)列表,是一种用于保存一系列有序项目的集合,在 Python 中你需要在它们之间加上一...
原创
6阅读
0评论
0点赞
发布博客于 3 月前

空间索引关键字mysql_mysql测试where子句中使用or关键字能否用到索引

create table if not exists tbl_item_1(`id` int(10) not null auto_increment,`name` varchar(20) not null,`categoryid` int(10) not null,`price` double(6,2) not null,`desc` varchar(20) ,primary key (`id`)...
原创
8阅读
0评论
0点赞
发布博客于 3 月前

linux下mysql服务架设_Linux架设支持Mysql的动态Web服务器

本文是笔者在Linux服务器上安装PHP动态Web服务器、Mysql数据库的安装配置手册。通过在服务器安装Apache、Mysql、PHP等功能实现一个建立一个PHP全动态的Web站点。本文是以Redhat9.0Linux作为操作系统平吧,Apache版本是1.3.29;数据库Mysql的牌本是3.23.58、PHP的版本是4.3.4!Linux系统的安装在此不在讨论,本文是以Redhat9.0最...
原创
6阅读
0评论
0点赞
发布博客于 3 月前

单周期cpu verilog_verilog之语义调度Scheduling semantics

Verilog的调度语义仿真的代码是由一个个离散事件组成,运行verilog也就是执行一个个时间和线程。仿真器中线程与事件的执行是串行方式,而真实的RTL电路代码的执行方式是并行执行,仿真器需要通过调度串行事件来模拟芯片真实的并行行为。因此,为了模拟贴近真实电路行为,明确仿真环境行为,避免竞争冒险与采样不确定等危机,verilog标准划分了明确的事件调度与代码执行区间。事件事件分为两种。第一种,在...
原创
6阅读
0评论
0点赞
发布博客于 3 月前

mysql怎样能遇到锁_MySQL如何查看锁

标签:A 通过视图表查SELECT r.trx_id waiting_trx_id,r.trx_mysql_thread_id waiting_thread,r.trx_query waiting_query,b.trx_id blocking_trx_id,b.trx_mysql_thread_id blocking_thread,b.trx_query blocking_queryFROM ...
原创
1阅读
0评论
0点赞
发布博客于 3 月前

sql replace 替换多个字符串_学习数据库多年,没想到能用SQL语句进行字符处理

的确,SQL真的不适合用来做字符处理,但用它来做字符处理有着比Java、C++、PHP都实打实的好处!我认识一个朋友,做数据库研发,从她哪里知道哪里我了解到其实SQL可以从以下几方面进行数据处理。尽管 SQL 不像 Java、C ++ 和 PHP 这样的过程编程语言精通字符串处理,但是 SQL 确实提供了许多处理字符串数据的函数。可以使用这些函数来修剪多余的空格或字符,确定字符串的长度以及将多个字...
原创
143阅读
0评论
0点赞
发布博客于 3 月前

mongodb删除索引_NoSQL之MongoDB——简介

MongoDB是一种开源文档型数据库,它具有高性能,高可用性,自动扩展性1.文档数据库MongoDB用一个文档来表示一条记录,文档的数据结构由键值对组成。MongoDB文档类似于JSON对象,字段值可能是文档,数组,或文档数组。使用文档的优点:文档中字段值的数据类型同大多数编程语言中的原生数据类型一致。嵌入式文档和数组减少了连接查询的需求。动态的文档结构支持多态性。2.主要特性高性能MongoDB...
原创
3阅读
0评论
0点赞
发布博客于 3 月前

mysql 执行多条insert语句_简例 一次执行多条mysql insert语句

package com.demo.kafka;import java.sql.Connection;import java.sql.DriverManager;import java.sql.PreparedStatement;public class ConnectToMysql {public static void main(String[] args) throws Exception {...
原创
8阅读
0评论
0点赞
发布博客于 3 月前

access表的导入mysql_Access数据库导入Mysql的方法之一

Access数据库导入Mysql的方法之一发布时间:2016-06-17 来源: 点击:次不同数据库之间若不能导入导出,那么将是一件可怕的事情,所幸的是一般情况下通过不同的方法和途径,都可以实现,方法有多种,本人提供其中的一个,提供一个自己的处理思路,意在抛砖引玉,第一步:首先将access数据库利用自身的导出功能,自定义一种容易对其操作的格式的txt文本文档,这也是关系到下一步操作的关键...
原创
2阅读
0评论
0点赞
发布博客于 3 月前

mysql存储过程运行跟踪_mysql存储过程执行追踪

学习mysql存储过程执行解析过程,执行一下存储过程create procedure aa()begindeclare x varchar(10);select count(*) from test where aaa = x ;end在JOIN::exec上设个断点,跟踪一下执行堆栈如下:#0 JOIN::exec (this=0x900e548) at sql_select.cc:2311#...
原创
7阅读
0评论
0点赞
发布博客于 3 月前

mysql数据库的查询_MySQL数据库查询

mysql中五种常用的聚合函数:(1)max(列名):求最大值。(2)min(列名):求最小值。(2)sum(列名):求和。(4)avg(列名):求平均值。(5)count(列名):统计记录的条数。3、havinghaving子句可以让我们筛选成组后的各种数据,where子句在聚合前先筛选记录,也就是说作用在group by和having子句前。而 having子句在聚合后对组记录进行筛选。示例:...
原创
4阅读
0评论
0点赞
发布博客于 3 月前

MySQL中另类输入是什么_MySQL解决SQL注入的另类方法详解

问题解读我觉得,这个问题每年带来的成本可以高达数十亿美元了。本文就来谈谈,假定我们有如下 SQL 模板语句:1select *from Twhere f1 ='{value1}' and f2 = {value2}现在我们需要根据用户输入值填充该语句:12value1=hellovalue2=5我们得到了下面的 SQL 语句,我们再提交给数据库:1select *from Twhere f1='h...
原创
8阅读
0评论
0点赞
发布博客于 3 月前

yum安装mod auth mysql_CentOS 7.0 yum安装Apache、PHP和MySQL

参考网址:https://jingyan.baidu.com/article/9c69d48f87ff2913c8024e69.htmlcentos7默认将mariadb视作mysql。p.s.因为mysql被oracle收购后,原作者担心mysql闭源,所以又写了一个mariadb,这个数据库可以理解为mysql的分支。卸载mariadb才能安装mysql。卸载mariadb的方法:#列出所有被...
原创
35阅读
0评论
0点赞
发布博客于 3 月前

php txt mysql_php读取txt文件并将数据插入到数据库

今天测试一个功能,需要往数据库中插入一些原始数据,PM给了一个txt文件,如何快速的将这个txt文件的内容拆分为所要的数组,然后再插入到数据库中?serial_number.txt的示例内容:serial_number.txt:DM00001A11 0116,SN00002A11 0116,AB00003A11 0116,PV00004A11 0116,OC00005A11 0116,IX0000...
原创
25阅读
0评论
0点赞
发布博客于 3 月前

设置input里value的颜色_Angular8——设置正确的静态查询策略

开始之前稍微废话一下,如何解释框架?下面是汉语字典中的解释框:镶在器物的外围有支撑作用或保护作用的东西,引申为约束,限制架:用做支承的东西可见在使用框架的时候,要遵守它的约束和限制,不能随心所欲。目的和思路回到正题,在前端项目中查询页面上的元素是常用的思路,尤其是在jQuery年代。时至今日,仍然会在很多angular项目中见到有人使用jQuery或zepto,不是说jQuery不好,...
原创
14阅读
0评论
0点赞
发布博客于 3 月前

mysql数据库服务器怎么打开_MySQL数据库远程访问权限如何打开(两种方法)

下载GPL版本安装MySQL Community Edition(GPL)在我们使用mysql数据库时,有时我们的程序与数据库不在同一机器上,这时我们需要远程访问数据库。缺省状态下,mysql的用户没有远程访问的权限。下面介绍两种方法,解决这一问题。1、改表法可能是你的帐号不允许从远程登陆,只能在localhost。这个时候只要在localhost的那台电脑,登入mysql后,更改 "mysql"...
原创
65阅读
0评论
0点赞
发布博客于 3 月前

android 点击按钮闪退_【安卓】仅需1元!超硬核游戏,最难的是忍住不找攻略!按钮之谜...

我是小小资深游戏爱好者游戏简介《按钮之谜》[极简设计] 简单的图形,复杂的逻辑 无多余文字描述,你需要自己观察和推理[三个按钮] 所有关卡都是使用三个按钮作为交互手段。没有隐藏的输入手段,你只需要点击三个按钮。甚至不需要同时按下多个按钮[关关不同] 每个关卡规则不同,你能否理解每个按钮真正作用?实际上游戏的设计意义就在于你明白了按钮的那一刻 (详见开发者的话)[极度烧脑] 祝你通关 每关...
原创
4阅读
0评论
0点赞
发布博客于 3 月前

spring 创建多线程_Spring 事务笔记

Transactional注解不生效检查你方法是不是public的,不能作用在方法里的任何内部方法。数据库是否支持事务,比如mysql中innodb引擎支持事务,myisam引擎不支持事务。检查异常是否被catch了。优先级顺序为:方法>类>接口;推荐在类的实现类使用。在接口使用如果是CGLIB,根据CGLIB代理模式,接口的注解不能被继承。Spring事务4种隔离级别read-unc...
原创
7阅读
0评论
0点赞
发布博客于 3 月前

打断点的方式_AutoCAD 2019 打断命令

今天我们学习第六章《AutoCAD 2019 修改命令》的第五节《AutoCAD 2019 打断命令》。6.5.1、打断命令BREAK命令用来删除某个对象中的一段。6.5.2、BREAK(打断)命令实例命令:BR(表示BREAK,打断命令)如下图所示,选择要打断的对象。移动光标,点击指定第二个打断点。注意:如果选择该方式,则上一操作中选取对象的点便作为第一个打断点。这样我就用BREAK命令将这条直...
原创
7阅读
0评论
0点赞
发布博客于 3 月前

qtcpclient 测试是否连接_技术分享 | FPC连接器的测试项目以及测试解决方案

点击蓝字关注我们FPC连接器具有高可靠性、轻薄的特点,在手机内部FPC连接器主要用于实现电路连接,随着智能手机一体化的发展趋势,未来FPC连接器有望实现与手机其他部件一同整合在LCD模组的框架上。小pitch的FPC连接器也将是未来的主要发展方向,在FPC连接器制造完成后,还有关键的测试步骤需要做,目的是为了验证FPC连接器的质量和性能方面有没达到出厂的合格标准。大电流弹片微针模组对于F...
原创
9阅读
0评论
0点赞
发布博客于 3 月前

4g能达到多少兆_中国移动4g网络每秒能跑多少M

4G网络的理论最高速度能达到100Mbps,约为12.5M/秒。但在实际使用过程中,受限于信号强度、基站损耗、手机的信号接入能力等各种因素的影响,一般在1-2M/S左右。第四代移动电话行动通信标准,指的是第四代移动通信技术,外语缩写:4G。4G能够以100Mbps以上的速度下载,比目前的家用宽带ADSL(4兆)快25倍,并能够满足几乎所有用户对于无线服务的要求。扩展资料:中国移动和4GTD-LTE...
原创
132阅读
0评论
0点赞
发布博客于 3 月前

自动整理代码格式vscode_VS Code 实用的插件

整理下我平时用到的比较好用的插件。Auto Close Tag (自动闭合HTML标签)2. Auto Rename Tag (标签自动补全)3. Beautify (格式化代码插件)4. Bracket Pair Colorizer (为代码的括号添上不一样的色彩)5. Chinese (Simplified) Language Pack for Visual Studio Code (中文包)...
原创
496阅读
0评论
0点赞
发布博客于 3 月前

scala和spark用到的依赖_使用sbt打包scala写的spark项目,带依赖打包

项目根目录build.sbt//项目名称name:="sparkScala"//项目版本version:="1.0"//scala版本scalaVersion:="2.11.7"//jdk版本javacOptions++=Seq("-source","1.7","-target","1.7")//依赖项,%%表示测试时需要,一般%;%"provided"表示此jar不打入...
原创
19阅读
0评论
0点赞
发布博客于 3 月前

web系统报错提示优化_组织管理员可添加用户到组织、资产树重大优化,JumpServer堡垒机v2.4.0发布...

10月19日,JumpServer开源堡垒机正式发布v2.4.0版本。在该版本中,新增功能包括:组织管理员可邀请用户加入其组织、待处理工单数量提醒等,同时该版本支持批量更新资产协议组,以及用户重置密码后可自动发送邮件通知。另外,我们还在这一版本对资产树进行了重大优化,重点提升了授权资产树资产的管理能力,可管理超过10万台资产的生产环境,满足大型企业的运维要求。新增功能1. 组织管理员可邀请用户加入...
原创
4阅读
0评论
0点赞
发布博客于 3 月前

剪裁tiff影像数据_遥感提取土地利用(从数据下载到ENVI再到ACRGIS 【简单粗暴版】)...

一、影像下载下载地址:地理空间数据云http://www.gscloud.cn/search,可以用邮箱注册一个账户。选择影像:数据集根据自己所需要的影像精度选择影像选择注意点:可选择的数据集包括:Landsat8或landsat7(SLE-ON)或landsat4/5TM ,这些卫星的服务时间不一样,根据你的需要选择。要优先选择云量小的图幅,尽量小于5,不然云量太大不好解译。多年解译最...
原创
68阅读
0评论
1点赞
发布博客于 3 月前

不死马php如何取证_awd的防御脚本以及查杀不死马测试

防御脚本github上的awd通防脚本三个。一个记录敏感请求,一个记录所有的东西。一个是waf,针对sql注入的。wafjk.phpwafjk.php是用来记录敏感操作的,可以自行修改pattern,增加更多的敏感函数,只要匹配到,就会记录下来敏感操作。首先我在index.php包含了include "wafjk.php";...
原创
47阅读
0评论
0点赞
发布博客于 3 月前

See the L3 validation file :-) > https://github.com/laravel/laravel/blob/v3.2.14/application/language/nl/validation.php I checked the history of your repo for the Dutch translations, the persons who added the first translations ( is not Dutch), didn't used anything of the L3 repo, and probably used Google translate. Do I have to make a PR to the Develop branch, or is it good this way?

回答的问题 #Real Dutch translation L4
回答了问题于 3 月前

Real Dutch translation L4

The translation that was inside the NL-folder was translated with Google Translate. I also re-used a lot of the L3-translations for the Validation-file.

该提问来源于开源项目:Laravel-Lang/lang

0回答
发布问题于 3 月前

no, but it worked when I went to 0.0.0.0:3333/login

回答的问题 #localhost:3333 doesn't open
回答了问题于 3 月前

problem is fixed, turns out I have to go to 0.0.0.0:3333/login however i do not understand why

回答的问题 #localhost:3333 doesn't open
回答了问题于 3 月前

yes I did, same results...

回答的问题 #localhost:3333 doesn't open
回答了问题于 3 月前

localhost:3333 doesn't open

Dear, I am new on github and new on Linux, I downloaded goPhish since I need a tool to deploy a phishing attack on my department in college with the approval of our professors because we're planning to do some statistics about how many will visit the link, and how many will provide us with their emails, no password shall be taken. However, after I downloaded gohish when I go to localhost:3333 all it opens is this screenshot from 2017-02-21 07-51-06

I don't know what to do, if I can get some help that would be amazing! I am fairly new to this and I would very much like to succeed in it since it will be a good step in my academical life. Thank you.

PS: if I go to localhost all I get is 404 page not found even though i already stopped apache2

该提问来源于开源项目:gophish/gophish

0回答
发布问题于 3 月前

Yeah it's not an incredible scenario to say "Space out these things, and one of these things contains a bunch of things i want to wrap if there's no room". But creating this ticket gave me a deeper understanding of how the gaps work. So the outer gap is adding margins to all children, the inner gap grid is adding margins to itself, which means conflict.

So as usual, the solution is even more divs 😃

html
<div fxlayout="column" fxlayoutgap="10px">
  <div> <!-- gets the 10px margin-->
    <div fxlayoutgap="50px grid" fxlayout="row wrap"> <!-- gets the -50px margin -->
</div></div></div>
回答的问题 #fxLayoutGap grid can conflict with parent gap and causes inconsistent behavior on screen resize
回答了问题于 3 月前

No problem. I created a new project and was able to reproduce it again. The thing I was missing was that it has to be a grid gap inside a normal gap.

html
<div fxlayout="column" fxlayoutgap="10px">
  <div fxlayoutgap="50px grid" fxlayout="row wrap">

<p>Here's a working stackblitz: https://stackblitz.com/edit/angular-flex-layout-seed-xhzamw
You have to resize the live view to get it to happen.  So I guess the real issue is that grid gap inside of flex gap is not supported/working?  I can rework my page to not do this for now, but it seems odd that you can't say "Make all elements in this div space out by 10px, and then make all elements inside this inner div space out by 10px, and wrap them if the screen is too small".  I'm using the grid in this case so there's vertical spacing when wrapped but no wasted spacing when not wrapped.</p></div></div>
回答的问题 #fxLayoutGap grid can conflict with parent gap and causes inconsistent behavior on screen resize
回答了问题于 3 月前

fxLayoutGap grid can conflict with parent gap and causes inconsistent behavior on screen resize

Bug Report

What is the expected behavior?

The negative margin (gutter) should be applied on the fxLayoutGap="8px grid" element at all times.

What is the current behavior?

When a page loads for the first time the negative margin on the host element isn't applied until the screen hits a media query break point.

What are the steps to reproduce?

I wasn't able to reproduce this on Stackblitz probably because of the way it renders the live view might be triggering the fix. Here's how it looks on my machine: resize

The div surrounding the buttons has a gap grid, but if you inspect it, there's no style on it until you shrink the page enough to hit a break. after that it correctly has the 0 -8px -8px 0 margin on it even if you return to the original size.

Here's the code that causes this for me: (buttons have to go in another div or else it screws them up with the gap margins, but it works fine on a tags with the mat-button style ¯\_(ツ)_/¯ )


<div fxlayoutgap="8px grid" fxlayout="row wrap">
      <div>
        <button mat-raised-button class="btn-space" color="primary">New BHA</button>
      </div>
      <div>
        <button mat-raised-button class="btn-space" color="primary">Copy This BHA</button>
      </div>
      <div>
        <button mat-raised-button class="btn-space" color="primary">Delete BHA</button>
      </div>
      <a color="primary">
        <mat-icon>insert_drive_file</mat-icon>
        BHA Report
      </a>
      <a color="primary">
        <mat-icon>insert_drive_file</mat-icon>
        Strap Sheets
      </a>
</div>

Which versions of Angular, Material, OS, TypeScript, browsers are affected?


Angular CLI: 7.2.1
Node: 11.2.0
OS: win32 x64
Angular: 7.2.0
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, platform-server, router

Package                           Version
-----------------------------------------------------------
-devkit/architect         0.12.1
-devkit/build-angular     0.12.1
-devkit/build-optimizer   0.12.1
-devkit/build-webpack     0.12.1
-devkit/core              7.2.1
-devkit/schematics        7.2.1
/cdk                      7.2.1
/cli                      7.2.1
/flex-layout              7.0.0-beta.23
/material                 7.2.1
/webpack                  7.2.1
/angular               7.2.1
/update                0.12.1
rxjs                              6.3.3
typescript                        3.2.2
webpack                           4.23.1

Is there anything else we should know?

该提问来源于开源项目:angular/flex-layout

0回答
发布问题于 3 月前

(maybe not relevant to this issue)

could you please provide your compiler version? because I can't get the same warning with my -Woverflow option on

 fish
*** at *** in ~/t/cJSON> clang -c cJSON.c -Wall -Woverflow
*** at *** in ~/t/cJSON> ls
CMakeLists.txt Makefile       README.md      cJSON.h        cJSON_Utils.c  test.c         tests
LICENSE        README         cJSON.c        cJSON.o        cJSON_Utils.h  test_utils.c
*** at *** in ~/t/cJSON>

my compiler version:

 fish
*** at *** in ~/t/cJSON> clang -v
Apple LLVM version 7.3.0 (clang-703.0.31)
Target: x86_64-apple-darwin15.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
回答的问题 #use the MAX constants from <float.h>?
回答了问题于 3 月前

目前暂时使用了 val h=DensityUtil.getNavigationBarHeight(this) XPopup.Builder(this).offsetY(-h).XXX 解决了这个问题

回答的问题 #2.0.8升级后底部弹出弹框被底部导航栏遮盖
回答了问题于 3 月前

I can still modify its children or siblings through ptr_to_a_cJSON_object->next or ->prev or ->child ... and those 'print and query' functions will surely visit those objects

here is an example of this situation

 c
#include <stdio.h>

struct some_type {
    int data;
    struct some_type *ptr;
};

int main()
{
    struct some_type a, b;

    a.data = 1;
    a.ptr = &b;
    b.data = 2;
    b.ptr = NULL;

    const struct some_type *ptr = &a;
    // ptr->data = 3;
    printf("%d\n", ptr->ptr->data);
    ptr->ptr->data = 4;
    printf("%d\n", ptr->ptr->data);

    return 0;
}
</stdio.h>
回答的问题 #Add const qualifiers
回答了问题于 3 月前

A person who is quite familiar with these code won't have much trouble reading the first version.

But it would be a tough task for a beginner to read them.

This repository was recommended to me a few months ago and I really love it. But I do have to say that I spent a lot of time reformatting it during my reading. (luckily I've got my AStyleFormatter)

回答的问题 #Make source code readable
回答了问题于 3 月前

Thank you :+1:

回答的问题 #Body width increases when modal is opened
回答了问题于 3 月前

This worked fine on Firefox, but crashed in Chrome, the getCurrentLevel() does not exist in Chrome.

回答的问题 #Acessing HLS tags
回答了问题于 3 月前

I'm developing a custom timeline for security camera. I've already made a hack to contour this problem, filtering the m3u8 via PHP and returning the key points via AJAX.

2015-09-17 15:18 GMT+00:00 Flávio Ribeiro notifications.com:

just curious, can u tell me why u need this info?

— Reply to this email directly or view it on GitHub https://github.com/clappr/clappr/issues/552#issuecomment-141119562.

回答的问题 #Acessing HLS tags
回答了问题于 3 月前

Acessing HLS tags

I need to read the HLS tag #EXT-X-PROGRAM-DATE-TIME, for the first, last and current video segment. I'm cracking my head for 3 days and still haven't found out how to do it.

该提问来源于开源项目:clappr/clappr

0回答
发布问题于 3 月前

It to me a day to figure this out :/ Thanks

回答的问题 #Changes to make lightbox2 work with jQuery 1.9.0
回答了问题于 3 月前

The main reason why I minified the sources is the fact that most PRs make changes in the material folder, as they think that this is the source of truth.

That seems like a pretty good reason to keep the minificaiton in place.

I think the best way would be to provide a small script for beautification and minification of the templates and bundle it with the theme. This enables users to make changes and minify the source afterwards again.

That seems good. Would the beautifier be a small shell script bundled with mkdocs-material that runs a python command similar to the mkdocs command itself? Perhaps mkdocs-material beautify partials/nav-item.html . would extract a beautified version of the nav-items template from site-packages to the current directory?

I don't necessarily need the minification as we'd check into git any files we customize. Having minification be, perhaps optionally, part of mkdocs build would be potentially useful.

Freeformatter is the one I tried as well. It's definitely better than the minified version and other options, but I do find some of it tough to read - at least with base.html.

回答的问题 #Minified templates are not a good basis for customization
回答了问题于 3 月前

Thanks, with what I've seen with HTML pretty printers so far, they do format the templates but tend to leave {% %} blocks on the end of lines which makes it a bit difficult to read conditional logic in the templates. But, I'll play with settings and a couple other formatters to see if I can get better results.

As for what interferes in base.html, it looks like there's some templating between what' in src/ vs what's in material/ based on $ symbols. That's what prevents using src/base.html in my custom theme directory.

Specifically...

https://github.com/squidfunk/mkdocs-material/blob/master/src/base.html#L96

and

https://github.com/squidfunk/mkdocs-material/blob/master/src/base.html#L363

回答的问题 #Minified templates are not a good basis for customization
回答了问题于 3 月前

Minified templates are not a good basis for customization

What's the recommended path for customizing base.html, main.html, and the partials?

Prior to 4.3.0, I would grab any file I needed to customize from the material/ directory and include it in my build. Now, however, those are minimized. While that does save in bandwidth, it also makes them a challenge to work with when customizing. (Perhaps I'm missing the obvious, but I'm not finding any cli tools that will pretty-print a jinja2 template.)

Using the files in src works for many. However, at least base.html has some templating that causes it to differ from the final output file. Assuming you don't have in interest in reverting the behavior to what it was prior to 4.3.0, would it be possible to have non-minimized html files output to an additional/alternate directory?

该提问来源于开源项目:squidfunk/mkdocs-material

0回答
发布问题于 3 月前

Ok, resolved my issue by creating the missing resources manually in AWS, and then run terraform apply, then renamed the resource I wanted to change and finally re-run terraform apply; after all that, everything works fine again.

回答的问题 #EntityNotFoundException when aws_glue_catalog_database is missing
回答了问题于 3 月前

Hi , I'm still having the same issue. I manually deleted the glue database in the AWS console and now I'm trying to create the resource again with a different name, however, everytime I try to apply the changes by running terraform apply, it logs the following error in the terminal:

bash
❯ terraform apply
...
Error: Error refreshing state: 1 error(s) occurred:

* aws_glue_catalog_table.data_glue_schema_table: 1 error(s) occurred:

* aws_glue_catalog_table.data_glue_schema_table: aws_glue_catalog_table.data_glue_schema_table: Error reading Glue Catalog Table: EntityNotFoundException: Database cerberus-somtag-logs not found.
        status code: 400, request id: d2254beb-ecb7-11e8-a254-29691ed6c086

I've already upgraded the aws plugin provider to version 1.46.0 (which should work as suggested in this thread), however, that didn't work.

回答的问题 #EntityNotFoundException when aws_glue_catalog_database is missing
回答了问题于 3 月前

If someone is searching for a country list with info if the country is in the EU: Here's a short script to append the info to the country list.

https://gist.github.com/Bartinger/f0507c786bad45cc942de471b1427e48

回答的问题 #What data to add next?
回答了问题于 3 月前

Any plans on fixing this, this seems like a fairly big issue for folks who want to use the 'expand' option with the junit formatter for scenario outlines.

回答的问题 #JUnit formater doesn't report Scenario outline example with -x argument
回答了问题于 3 月前

^

回答的问题 #Swift 5 Support w/ Cocoapods
回答了问题于 3 月前

-rmiller, thanks for your reply

I have tried your solution, but it did not help me i'm using wavesurfer.js 3.3.3

here is what i have tried


var wavesurfer = {}; // defined globally
var audioUrl = 'myaudiofile.mp3';
wavesurfer = WaveSurfer.create({
          backend: 'MediaElementWebAudio',
         container: '#waveform',
       ...
});
wavesurfer.load(audioUrl,[],'none');

getAudioPeakFromJSON(function(peakData){
            var audio = document.createElement('audio');
            audio.src = audioUrl;
            // Set crossOrigin to anonymous to avoid CORS restrictions
            audio.crossOrigin = 'anonymous';
             wavesurfer.load(audio,peakData,'auto'); // peakData is peak array []
  });

//destroying this way

delete wavesurfer.wave.backend.buffer;

wavesurfer.wave.destroy();

-rmiller, what i'm doing wrong please suggest me

Thanks in advance!!

回答的问题 #Every call to wavesurferjs keeps on increasing RAM memory, without releasing it on destroy.
回答了问题于 3 月前

,

Why destroy is not called in webaudio.js when i do

wavesurfer.destroy();

wavesurfer.js destroy

image

i have put some console.log in webaudio.js

image

can you please check and let me know

Thanks in advance!!

My intention was to check


         [this.gainNode,this.scriptNode, this.analyser].forEach(function(instance){
            console.log('instance......',instance);
            return new Promise((resolve) => {
                //whenever the node actually finishes playing, disconnect it
                instance.onended = function () {
                    instance.disconnect();
                    // delete instance;
                    instance = null;
                   // resolve();
                }
                //stop the oscillator
                instance.stop();
            });
         });
回答的问题 #Every call to wavesurferjs keeps on increasing RAM memory, without releasing it on destroy.
回答了问题于 3 月前

, i don't see closing of audioContext reference in destroy()


    destroy() {
        this.destroyAllPlugins();
        this.fireEvent('destroy');
        this.cancelAjax();
        this.clearTmpEvents();
        this.unAll();
        if (this.params.responsive !== false) {
            window.removeEventListener('resize', this._onResize, true);
            window.removeEventListener(
                'orientationchange',
                this._onResize,
                true
            );
        }
        if (this.backend) {
            this.backend.destroy();
        }
        if (this.drawer) {
            this.drawer.destroy();
        }
        this.isDestroyed = true;
        this.isReady = false;
        this.arraybuffer = null;
    }

As per this mdn reference we should be doing something like this https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/close


var audioCtx = new AudioContext();
audioCtx.close().then(function() { ... });
await audioCtx.close();
回答的问题 #Every call to wavesurferjs keeps on increasing RAM memory, without releasing it on destroy.
回答了问题于 3 月前

Hi , i have not provided backend option itself while initialization. that means i'm using webAudio.

回答的问题 #Every call to wavesurferjs keeps on increasing RAM memory, without releasing it on destroy.
回答了问题于 3 月前

Every call to wavesurferjs keeps on increasing RAM memory, without releasing it on destroy.

I have came across a issue with wavesurferjs it does not release memory previously held upon destroy.

With high duration audio file, if we open 10 times it will hang browser itself (then we need to either hard refresh or close browser itself to continue).

Steps to reproduce on linux:

1.open terminal type $htop 2.keep on opening audio with destroy on closing. 3.memory will keep on adding

Though i'm not a good programmer, but i have found a exact solution with canvas and audio api

Here is that solution: https://stackoverflow.com/questions/53241345/web-audio-api-memory-leak?noredirect=1&lq=1

i request , please implement it as soon as possible.

该提问来源于开源项目:katspaugh/wavesurfer.js

0回答
发布问题于 3 月前

I also am seeing this issue. Any resolution coming?

回答的问题 #Focused not firing keyboard
回答了问题于 3 月前

Same issue here.

回答的问题 #iOS - TabbedPage & Splash with iPhone X SafeArea
回答了问题于 3 月前

Well, I hope you are right

回答的问题 #Improve support for AAD Auth proxying w/ group authz support
回答了问题于 3 月前

I'll update PR next week, but don't think anyone would merge it =(

回答的问题 #Improve support for AAD Auth proxying w/ group authz support
回答了问题于 3 月前

+1

回答的问题 #Flickering and jumping behavior when using animation:"slide"
回答了问题于 3 月前

Hello all,

I am experiencing the same message in v1.7.8 upon loading a second game (and closing content from Quick Menu). Happens with all shaders, (vulkan & glcore driver)

Steps:

  • Launch RetroArch (glcore or vulkan), launch a game --> no problem, shaders load as expected
  • Close content from Quick Menu --> no problem, content closes and RetroArch runs as expected
  • Launch the next game (same core or different core) --> retroarch: deps/glslang/glslang/OGLCompilersDLL/InitializeDll.cpp:109: bool glslang::InitThread(): Assertion `0 && "InitThread(): Unable to set init flag."' failed.

My setup: Ubuntu 18.04 LTS/ AMDGPU - Radeon RX550 (open source driver, not PRO driver)

After forking the repo and some trials and error, I could pin point that:

  • commit e97a31a46c40ccaac566b7b4d732f8326a99f86d fixes the issue
  • commit 00299cf283d7d6f935d48e2623e0fd88d3c727d3 reintroduces the issue.

Cloning the repo and doing a simple git revert of 00299cf283d7d6f935d48e2623e0fd88d3c727d3 gets rid of the issue. (with HEAD at 2179c16f60550d646f4de85e8bfc2f5736e49252)

回答的问题 #Crash when closing running content with slang shaders
回答了问题于 3 月前

Ok, resolved my issue by creating the missing resources manually in AWS, and then run terraform apply, then renamed the resource I wanted to change and finally re-run terraform apply; after all that, everything works fine again.

回答的问题 #EntityNotFoundException when aws_glue_catalog_database is missing
回答了问题于 3 月前

Hi , I'm still having the same issue. I manually deleted the glue database in the AWS console and now I'm trying to create the resource again with a different name, however, everytime I try to apply the changes by running terraform apply, it logs the following error in the terminal:

bash
❯ terraform apply
...
Error: Error refreshing state: 1 error(s) occurred:

* aws_glue_catalog_table.data_glue_schema_table: 1 error(s) occurred:

* aws_glue_catalog_table.data_glue_schema_table: aws_glue_catalog_table.data_glue_schema_table: Error reading Glue Catalog Table: EntityNotFoundException: Database cerberus-somtag-logs not found.
        status code: 400, request id: d2254beb-ecb7-11e8-a254-29691ed6c086

I've already upgraded the aws plugin provider to version 1.46.0 (which should work as suggested in this thread), however, that didn't work.

回答的问题 #EntityNotFoundException when aws_glue_catalog_database is missing
回答了问题于 3 月前

My pleasure :wink: BTW, notice that in readme printout of benchmark there is another architecture '[i686-linux]' cause I've run it on my machine. But I think result is not very different on other architectures.

回答的问题 #Correct flat map example
回答了问题于 3 月前

Correct flat map example

Hi, Juanito! I think 'flat map' example is wrong. Here things that this example doesn't do. This is what I've changed. 1. Use flat_map explicitly with block. 2. Use created ARRAY constant. 3. Use block which will give some work to flatten.

Thanks for your repo!! Pavel

该提问来源于开源项目:JuanitoFatas/fast-ruby

0回答
发布问题于 3 月前

fields: Checkbox field with >2 options?

I have multiple checkboxes for one of my fields. I'm trying to reproduce this in the edit view of the dashboard but haven't figured it out after reading through the docs.

The form view I was trying to reproduce shows a series of checkboxes and the user can select multiple options. The selected options are stored as an array.

I'm new to administrate and not a very experienced programmer. I assume there's something I'm missing? Also checked Stackoverflow and didn't find anything.

该提问来源于开源项目:thoughtbot/administrate

0回答
发布问题于 3 月前

Of course! Thanks for looking into this. Here's a link to the SO question: https://stackoverflow.com/questions/59603937/how-do-you-display-multiple-checkbox-fields-in-the-edit-view-of-the-administrate

回答的问题 #fields: Checkbox field with >2 options?
回答了问题于 3 月前

目前的情况:30s 创建,删除,一共四次之后,还有可能被限制。

回答的问题 #操作过于频繁怎么破啊啊啊
回答了问题于 3 月前

Yes, that what I did for the time being to make it work.

回答的问题 #Compilation error with RedBearLab BLE Nano
回答了问题于 3 月前

Compilation error with RedBearLab BLE Nano

Running one of example for BLE Nano board, get compilation error.

In file included from /Users/vineet/Documents/Arduino/libraries/ArduinoJson/src/../include/ArduinoJson/Internals/BlockJsonBuffer.hpp:10:0, from /Users/vineet/Documents/Arduino/libraries/ArduinoJson/src/../include/ArduinoJson/DynamicJsonBuffer.hpp:10, from /Users/vineet/Documents/Arduino/libraries/ArduinoJson/src/../include/ArduinoJson.h:8, from /Users/vineet/Documents/Arduino/libraries/ArduinoJson/src/ArduinoJson.h:14, from /var/folders/ty/xh2f71fs651cwpnrj4tykm05_04_1g/T/arduino_2544ff0d6a27032e23f1a3b6df22e3e3/JsonGeneratorExample.ino:8: /Users/vineet/Documents/Arduino/libraries/ArduinoJson/src/../include/ArduinoJson/Internals/../JsonBuffer.hpp: In member function 'ArduinoJson::JsonArray& ArduinoJson::JsonBuffer::parseArray(const String&, uint8_t)': /Users/vineet/Documents/Arduino/libraries/ArduinoJson/src/../include/ArduinoJson/Internals/../JsonBuffer.hpp:71:28: error: 'const class String' has no member named 'c_str' return parseArray(json.c_str(), nesting); ^ /Users/vineet/Documents/Arduino/libraries/ArduinoJson/src/../include/ArduinoJson/Internals/../JsonBuffer.hpp: In member function 'ArduinoJson::JsonObject& ArduinoJson::JsonBuffer::parseObject(const String&, uint8_t)': /Users/vineet/Documents/Arduino/libraries/ArduinoJson/src/../include/ArduinoJson/Internals/../JsonBuffer.hpp:94:29: error: 'const class String' has no member named 'c_str' return parseObject(json.c_str(), nesting); ^ /Users/vineet/Documents/Arduino/libraries/ArduinoJson/src/../include/ArduinoJson/Internals/../JsonBuffer.hpp: In member function 'char* ArduinoJson::JsonBuffer::strdup(const String&)': /Users/vineet/Documents/Arduino/libraries/ArduinoJson/src/../include/ArduinoJson/Internals/../JsonBuffer.hpp:102:25: error: 'const class String' has no member named 'c_str' return strdup(src.c_str(), src.length()); ^ exit status 1 Error compiling.

该提问来源于开源项目:bblanchon/ArduinoJson

0回答
发布问题于 3 月前

found its similar to https://github.com/bblanchon/ArduinoJson/issues/123 Should be fine to mark duplicate.

回答的问题 #Compilation error with RedBearLab BLE Nano
回答了问题于 3 月前

Until Lakka has access to RetroArch 1.7.7 I can't test it and I don't understand what you mean by bisect this issue with git.

回答的问题 #Autoconfig is required to use Left Analog stick to navigate the menu
回答了问题于 3 月前

Autoconfig is required to use Left Analog stick to navigate the menu

Description

If autoconfig is turned off the left analog stick cannot be used to navigate the menu. In my case I was using a Dualshock 3 and turned autoconfig off and bound everything manually.

Expected behavior

While autoconfig is off it is expected with everything bound that the left analog stick should behave like the dpad and allow you to navigate the RA menu.

Actual behavior

Input on the left analog stick does nothing

Steps to reproduce the bug

  1. Connect Dualshock 3 with autoconfig turned on
  2. Turn autoconfig off
  3. Bind everything manually
  4. Left stick does nothing

Bisect Results

[This was after I noticed the right dpad button was triggering the quick menu even with the quick menu trigger set to L3 + R3. So I turned autoconfig off and rebound everything and everything was working properly except the navigation of the RA menu using the Left Analog stick

on the libretro discord mentioned in #retroarch that "There's a bug where if Input, Autoconfig is off, left stick doesn't work in the menu" and I found that if I enabled it and rebooted that the behaviour of the stick was as expected.

After doing this it did only break one game that I noticed. Crash Bandicoot (USA) now doesn't accept any inputs. While the github says no Core / Game issues this may be relevant.

Version/Commit

  • RetroArch: [INFO] Version: 1.7.6 [INFO] Git: ed5bd80

Environment information

  • OS: Lakka
  • Device: Odroid XU4

该提问来源于开源项目:libretro/RetroArch

0回答
发布问题于 3 月前

I would love to have this merged

回答的问题 #Introduce error details
回答了问题于 3 月前