V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
V2EX  ›  iwdmb  ›  全部回复第 14 页 / 共 16 页
回复总数  307
1 ... 6  7  8  9  10  11  12  13  14  15 ... 16  
2022 年 4 月 21 日
回复了 henryisme 创建的主题 程序员 2022 年了,目前的 go web 框架 Gin Beego Iris 如何选择?
echo
Gin 的路由不好用
2022 年 3 月 28 日
回复了 Chism 创建的主题 Node.js 请教 Node.js 后端框架的选择
@Chism
>> Express 配合 mongodb 好还是 mysql ?
這是一個可大可小的問題,如果你不確定怎麼選的話:MySQL
有個久經考驗的 Transaction 必要的時候可以幫助你
2022 年 3 月 28 日
回复了 Chism 创建的主题 Node.js 请教 Node.js 后端框架的选择
需求不複雜的話:Express.js

https://github.com/expressjs/express
2022 年 3 月 25 日
回复了 iqoo 创建的主题 程序员 字节跳动的公共 CDN 稳定性如何?
推薦一下 cdnjs
2022 年 3 月 25 日
回复了 iqoo 创建的主题 程序员 字节跳动的公共 CDN 稳定性如何?
@shawndev
https://www.v2ex.com/t/826442
應該是在中國的備案出問題
2022 年 3 月 24 日
回复了 mrchi 创建的主题 程序员 求推荐不需要实名认证的域名托管服务商
Gandi
主打 privacy
2022 年 3 月 14 日
回复了 dog82 创建的主题 Linux 哪个 Linux 发行版适合 coder
開發者:KDE neon / Ubuntu
Server:Ubuntu Server
真的想要也請選擇 SQLite
2022 年 3 月 7 日
回复了 v2dev 创建的主题 问与答 CentOS 之后,大家会选择谁?
Ubuntu Server
Ubuntu Server
目前放棄 Go 全面轉移到 Rust, Erlang, Prolog, Scala
2022 年 2 月 11 日
回复了 abccba 创建的主题 程序员 小几百预算推荐给哪几个开源组织或工程捐款?
2021 年 8 月 26 日
回复了 ReputationZh 创建的主题 Linux 各位吴彦祖,有推荐的 Kernel 相关的书籍推荐吗?
推荐 Linux Kernel Module Programming Guide 最近台湾的教授把内容 /示例代码更新到 Linux kernel 5.x

https://github.com/sysprog21/lkmpg
2021 年 8 月 23 日
回复了 iwdmb 创建的主题 C++ The Linux Kernel Module Programming Guide 升级至 5.0 版并开源!
2021 年 8 月 23 日
回复了 iwdmb 创建的主题 C++ The Linux Kernel Module Programming Guide 升级至 5.0 版并开源!
@Mitt
jserv 他是把书籍的 LaTex 文件 /sample code 都释放出来
他不仅是更新书籍内容 还有改写 sample code

---

The Linux Kernel Module Programming Guide is a free book; you may reproduce and/or modify it under the terms of the Open Software License. Use of this work is governed by a copyleft license that can be found in the LICENSE file.

The complementary sample code is licensed under GNU GPL version 2, as same as Linux kernel.
2020 年 9 月 9 日
回复了 byte404 创建的主题 Go 编程语言 [不懂就问] 请问这段 go 代码该如何优化
上面兩個貼錯

這個試試看: https://play.golang.com/p/3WyN4JrDmbQ
2020 年 9 月 9 日
回复了 byte404 创建的主题 Go 编程语言 [不懂就问] 请问这段 go 代码该如何优化
2020 年 9 月 9 日
回复了 byte404 创建的主题 Go 编程语言 [不懂就问] 请问这段 go 代码该如何优化
```
func (s *swbka) downloadSwitchCfg(sws map[string]mulparam) {
wgp := sync.WaitGroup{}
wgp.Add(len(sws))

for secName, mulP := range sws {
go func(secName string, mulP mulparam) {
if _, err := os.Stat(secName); os.IsNotExist(err) {
err := os.Mkdir(secName, 0644)
if err != nil {
logrus.Fatal(err)
}
}

wg := sync.WaitGroup{}
wg.Add(len(mulP.profiles))
for _, profile := range mulP.profiles {
go func(sn string, pf param) {
err := s.downloadFile(sn, pf)
if err != nil {
logrus.Errorln(err)
}
wg.Done()
}(secName, profile)
}

wg.Wait()
wgp.Done()
}(secN, mulP)
}
wgp.Wait()
}
```
@gaobing @luckyrayyy 多谢两位前辈,原来是生产者消费者唤醒问题这么基础大学就学过的案例,回头要再去复习一下恐龙书。
1 ... 6  7  8  9  10  11  12  13  14  15 ... 16  
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   935 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 34ms · UTC 20:44 · PVG 04:44 · LAX 13:44 · JFK 16:44
♥ Do have faith in what you're doing.