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
438 views
1 answer
    react官方脚手架中,我们可以在app.js中引入 app.js import axios from "axios"; React.Component.prototype.axios = axios; 然后在组件里面就可以 this.axios.get('url') . ... 路由里面,现在不想这么做,想在路由里面按需axios调用接口 请问可以实现吗?...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
544 views
1 answer
    移动端的一些概念还是不太行,最近研究了一下 发现一个问题,移动端视口的默认宽度是980px,适用于PC端的网站宽度超过1200还是没有出现滚动条,这是为什么呢...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
230 views
1 answer
    每次运行vue程序的时候,终端会显示大段大段的这种不知道该怎么称呼的路径输出,有时候会导致cpu跑的非常高,vscode直接崩溃,重启vscode以后运行又会崩溃,试过把node重装,vscode重装,webstorm重装,都没有用,总结下来,不是软件的问题,可能是配置的问题,但是没有找到解决的方法。...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
915 views
1 answer
    I'm a new programmer, i'm using python flask and sqlalchemy database. i want to upload image and ... form_picture) i.thumbnail(output_size) i.save(picture_path) return picture_fn...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
197 views
1 answer
    I read that Kafka no longer requires zookeeper, so I don't want to have zookeeper in docker-compose. But I don't know ... image can work w/o zookeeper. can anyone give a hint?...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
490 views
1 answer
    Im new to Laravel and wanted to use breeze authentication in my Laravel app. I created my project and migrate my database tables then based ... 3.1.0", "tailwindcss": "^2.0.2" } }...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
267 views
1 answer
    在我使用多线程的过程中,返回的结果有很多重复和缺少,我个人认为是因为线程资源不同步导致的,请问如何修改代码实现同步,和不要出现重复?是使用生产消费 ... as_completed(tasks): check_result = task.result() save(check_result) if __name__ == '__main__': main()...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
587 views
1 answer
    两个命令似乎都会写入dependencies里 是npm i 默认等同于 npm i -S 吗? 修改下,突然发现表述有一点儿歧义,准确的说 npm i 模块名 和 npm i -S 模块名 有什么区别? 这两个都是会写入package.json里的...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
440 views
1 answer
    一个需要账号密码登录验证的办公系统,现在我想用php写一个模拟登录程序。登录进去后查询我想要的信息,并可以通过这套办公系统原有的表单向里面提交写入数据! 给点实际的解题思路,curl?...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
157 views
1 answer
    class X1 extends Thread { public void run() { System.out.println("I am X1"); } } class Y2{ public void run() { while (true) ... Y2 . But it only prints I am Y2 . How to fix it?...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
333 views
1 answer
    环境: go1.14.7 go-micro v2 centos7 暂不涉及数据库等 go-micro的组网方式: 走的127.0.0.1 或192.168这样的形式都试过 服务注册方式:mdns 现像: 我用go-micro编写了微服务,编译后 ... 连服务器都重启过 selinux是关闭的 已经想了很久的办法了,还没搞定,请大佬指点一下 谢谢!...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
459 views
1 answer
    有没有例子?回答者可获得个人微信红包感谢。...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
693 views
1 answer
    小程序调用wx.requestPayment发起微信支付,就会弹出输入密码的界面。 如果用户长时间停留在输入密码页面,多久会超时 导致支付失败? 或者说,微信支付有没有超时机制? 发起支付时,服务器端锁定库存,如果长时间不付款,实际库存可能没有了,导致后面付款了 却没有库存。 文档似乎没有提到这个...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
460 views
1 answer
    如题,我在网上看到的这两个时间复杂度分别是O(1)和$O(log_n)$。 对于快速排序(递归)的空间复杂度,在最好情况下(数组是不均匀的),那么它的空间复杂度是递归栈(树)的高度$O(log_n)$,在最坏情况下(数组是有序的),则为$O(n)$。 如果是要计算递归使用到的栈,那么堆排序不应该也去计算对应的递归栈深度吗?那么为什么是O(1)呢?...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
282 views
1 answer
    I added an API project to my project. Although I have given all references when I run it, I get the following error. How can ... (page - 1) * pageSize).Take(pageSize).ToList(); } }...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
627 views
1 answer
    各位中午好,想问下微信小程序有办法做到 识别公众号二维码 吗...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
475 views
1 answer
    I want to write to a text file with limited size (1KB for example) and when the file reaches the maximum size I want the first half ... ,9] the new file will look like: 4 5 6 7 8 9...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
602 views
1 answer
    从网上扒过来的数据。 这个'在原网站上显示的是单引号 ' 但扒过来就显示成了' 我试过将文本转为utf-8,结果转换之后,仍显示',没变化 像这种编码的文字怎么能转换成正常格式显示?总不能用正则吧......
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
588 views
1 answer
    参照这篇文章引用:https://blog.csdn.net/qq_16755585/article/details/91492806 但是这篇文章里面很多目录我都没有是怎么回事? 像Android->src->main->java->com.example.文件名- ... 因为新版本的问题吗, 有没有大佬知道新版本怎么引用jar包并调用,球球了!!!!!...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
675 views
1 answer
    像WORDPRESS一样,以文章标题作为URL。思路是?...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
468 views
1 answer
    I would like to have a not that filled plot. that is my code ggplot(master, aes(x = Income, y = BMI, group ... )+labs(title = "Correaltion between Income and BMI")+ scale_y_log10()...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
822 views
1 answer
    I am trying to a make a music player using Kivy, which will just have two button; one for play and one for ... ) I get served this TypeError: the first argument must be callable...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.5k views
1 answer
    I have situation where MVC controller has sent list of records. Those records are displayed in view in order ... Details",new { transferHeaderId = update.TransferHeaderId }); }...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
708 views
1 answer
    for a certain windows app I am trying to install the react-native-video package on the solution project. I found ... source code "ReactNativeVideoCPP.h" what could be the problem?...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
689 views
1 answer
    定义变量result,类型为any(为了防止提示类型未定义),将接口返回的内容赋给result,result打印结果如图所示 我想要从这些数据中挑出一部分内容用于前端显示,使用result.apiVersion能够正确取出对应的值, ... undefined,可是result不是已经设置为any了吗? 请问这个要如何解决呢,我应该如何写才能正确取出值呢?...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
861 views
1 answer
    使用DolphinDB的过程中,我在windows端启动了GUI界面,执行了一个DolphinDB的脚本,创建了一些本地变量(不是数据库或共享表),这些本地变量是算GUI java进程的内存还是算DolphinDB server端进程的内存?getMemoryStat()这个函数返回的内存占用情况是DolphinDB server端进程的内存占用情况吗?...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
817 views
1 answer
    H i all. Can someone explain me what is the unit of Svg text coordinates? And how we translate them to pixels? Thank ... ="position: absolute; left: 23.5625px; top: 195.987px">...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    需求是希望打包后能打出一个config.js文件,里面有host,可以随便修改 开发的时候有多个环境的配置文件 // dev.js window.api = 'https://www.baidu.com/api/dev' // test.js ... 搜索替换host,如12.12.12.12,这样比较麻烦,希望能在dist目录下能有一个配置文件,直接修改...
asked Jan 27, 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

...