Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

Recent questions

0 votes
348 views
1 answer
    login("admin","123456") db=database("dfs://stations", VALUE, 2020.01.01..2020.12.31) pt = db.createPartitionedTable( ... ). Please provide one or a list of tables as model schema....
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
463 views
1 answer
    i write a program that detected and recognition visitors with face_recognition . i try to make exe file with ... * https://github.com/shahram-arefhakimi/Visitors_with_PySide2 **"...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
488 views
1 answer
    UI上面生成的背景图片的宽高是550*900 生成的宽高也没错 可是生成的图片明显跟UI上的比例不对 这是怎么回事? <view hidden="{{hidden}}" class='preview_wrapper'> ... { console.log(res); wx.hideLoading(); } }); }, 2000); canvas生成的 UI...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
554 views
1 answer
    使用split分隔一个范围字符串为字符串有负数怎么办呀 比如:"1-2"用split("-")分隔是正常的,但是"-1-2"使用split("-")就不正常了 只要有负数就不正常了 想过使用正则表达式但是写不出?? 补充一下可能的情况 开 ... 数 "-m-n" 开始为负数,截止正数 "m--n" 开始正数,截止负数 "-m--n" 开始负数,截止负数...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
432 views
1 answer
    i need to print some data in a file using 2 threads that run alternative, one for odd index, and the other for ... catch exception or anything, could you guys please help me out?...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
516 views
1 answer
    我的个人理解 JavaScript是单线程的,使用setinterval是定时给这个单线程添加事情,那么我使用两个setinterval去请求两个不同的数据接口,就不会存在并发,按队列顺序请求数据,那么为什么使用setinterval去请求数据接口会出现卡顿...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
653 views
1 answer
    public final long incrementAndGet() { return unsafe.getAndAddLong(this, valueOffset, 1L) + 1L; } AtomicLong源码中的incrementAndGet方,unsafe.getAndAddLong( ... ,请大佬讲解 这个是看java并发编程之美遇到的问题...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
902 views
1 answer
    I am trying to loop multiple tickers into a function and I can print successfully the results however I cannot store them, ... to be able to print the 2 lines outside the code...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
755 views
1 answer
    "班级数据库": "mongodb://192.168.3.17/xxx "学生数据库": "mongodb://192.168.3.99/xxx (只读) 使用 mongoose.createConnection 进行 ... { classId: source.classId } } }, projection: { openid: true } });...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    使用JWT生成token后为token设置一个过期时间(假设为30分钟)并且存在redis中,等到30分钟之后token会过期。但是如果我一直在浏览网站,那么30分钟之后token就不应该过期(过期之后就需要重新登录,这样逻辑很奇怪)。请问一下这样该怎么设计呢?...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
832 views
1 answer
    Session A 与 Session B 均持有【MDL 读锁】,读锁间不互斥,故可同时读取表 T,由于 session A 持有的【MDL 读锁】尚未释放,致使 Session C 因无法获取【MDL 写锁】而阻塞,由于 Session D ... 为无法获取【MDL 写锁】,那 Session D 请求【MDL 读锁】也不行也会被阻塞,这是什么机制呢?...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    为啥没有数据呢...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    横坐标是一月二月 三月等,图形是每个月都有一个峰值曲线图,一月的就在一月那一块,二月在二月那一块,单独的...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    I am trying to reverse decimal numbers more efficient. #include <stdio.h> int main() { while(1) { int a,result; ... I can reverse more numbers in an efficient way ( less code)...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.3k views
1 answer
    I'm working on a MERN app, pretty much done, all I have left to do is deploy it. The app works perfectly when I ... .message}`.red) process.exit(1) } } module.exports = connectDB...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.4k views
1 answer
    I have seen how mongoose updateMany() can be used to update some fields easily. My question is can updateMany() also be ... console.log(err); return res.status(500).json(err); }...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    网站原本评论框在下评论内容列表在上替换前能够正常显示,替换位置评论框在上评论列表在下后输出错误 替换位置代码如下 未替换时如下正确提交时点击提交后显示如下:顶部第一条为最新评论 替换位置后输出错误如下 这是什么原因造成的?应该如何修改啊~求解答...
asked Jan 25, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.9k views
1 answer
    I have a Django 3.1 project with an Admin class like this really simple example: from django.contrib import admin from ... 'm stumped as to why only these Site-related tests fail....
asked Jan 25, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    vue怎么拿到表单里的文件并从接口一起传给后端 <div class="layui-form-item layui-form-text"> <label class="layui-form-label">订单号</label> ... success: function(res) { }, error: function(jqXHR) { } }); }...
asked Jan 25, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    初学 java 连接数据库,正常创建工程并添加 jar,却报错!!!求教!!! 环境: IDEA: 2020.2 Mysql:8.0.22 系统 macOS BigSur 先贴上目录结构 源代码 package com. ... : Task execution finished 'Main.main()'. 但我已在 IDEA 中添加这个包 求教哇!!!...
asked Jan 25, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.4k views
1 answer
    做了一个vscode插件,当鼠标停留在json文件内容上时,会有一个hover提示内容,但是这和vscode自带的鼠标hover提示有冲突。 不知道怎么把自带的hover提示去掉...
asked Jan 25, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.5k views
1 answer
    How to call an SQL function with table return in java? You would need to call from java an SQL function ... WHERE dniMedico=@dniMedico and fecha=@fechaIngreso ) GO Thanks a lot...
asked Jan 25, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.7k views
1 answer
    In truffle console I am executing the following statement, result = token.balanceOf(accounts[1]) This statement returns the ... is not a function Help me to fix this thiis....
asked Jan 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.4k views
1 answer
    需求是短时间内发送大量 GET 和 POST 请求,支持并行,要有极致的效率,慢一毫秒都无法接受的那种 我现在已经用 Python 的异步方式实现了一个小 Demo,用到了 Trio 和 HTTPX 这两个包 但是速度并不满意 虽然能够并发,但 ... 我也搜了相关的内容,比如用 Go 语言试试 但是时间有限,比较着急,希望熟悉的大佬能指点一下,谢谢 ...
asked Jan 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.4k views
1 answer
    I currently have a Graph API based OAuth application in Azure AD that is used by our application to schedule events on ... in the past or can point me towards some hypothesis?...
asked Jan 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.5k views
1 answer
    有一份项目代码,希望运行的时候,每个函数执行时都打印一下这个函数的名字。有办法吗?...
asked Jan 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.4k views
1 answer
    I'm trying to create a multidimensionnal array. var ingredients_list = []; var data_to_push = [1,50,'test'] ingredients_list. ... ", 35, "Updated"] length: 2 __proto__: Array(0)...
asked Jan 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    如图配置了两个跨域请求 其中/user/userinfo用的是api接口但下面的this.$set图片文件路径我想换成resource接口但是一直显示api接口 变成了api+resource为什么呢? 图片在数据库存的路径是 /resource/ ... GY\_01 (6).jpg 我又另外试了其他域名请求可是它就是一直调用第一个/api接口 ...
asked Jan 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
Ask a question:
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...