text:
关于stack换源的问题

我按照官网的指导来配置并且替换了stack中的config.yaml的内容了stack,结果敲了stack setup以后一直报错如下：
Exception while reading snapshot from lts-16.8:
HttpExceptionRequest Request {
  host                 = "raw.githubusercontent.com"
  port                 = 443
  secure               = True
  requestHeaders       = [("User-Agent","Haskell pantry package")]
  path                 = "/commercialhaskell/stackage-snapshots/master/lts/16/8.yaml"
  queryString          = ""
  method               = "GET"
  proxy                = Nothing
  rawBody              = False
  redirectCount        = 10
  responseTimeout      = ResponseTimeoutDefault
  requestVersion       = HTTP/1.1
}
 (ConnectionFailure user error (Network.Socket.gai_strerror not supported: 11004))

请问如何解决

host                 = "raw.githubusercontent.com"
raw.githubusercontent.com这个网址，国内是访问不了的。

🤦 🤦

墙的问题。
如果已经安装了 stack，可以同时使用 TUNA 的 Stackage 源 + Hackage 源来解决。
https://mirrors.tuna.tsinghua.edu.cn/help/hackage/

这个 repo 貌似主要是旧论坛的内容 dump。
要用中文交流 Haskell 推荐在 https://zhihu.com 相关话题提问或 QQ 群 72874436

哇，我刚注意到题主给的是 stack 链接的 China-based users 章节

Here 👋 我也一样，不过我挂了全局代理，依然有问题。
我配置了TUNA的stackage和hackage。
@SnowOnion

墙的问题。
如果已经安装了 Haskell stack，可以同时使用 TUNA 的 Stackage 源 + Hackage 源来解决。（我记得 2019 年时安装 Haskell stack 本身也需要翻墙，而且无法改源解决；现在也许不需要了）
https://mirrors.tuna.tsinghua.edu.cn/help/stackage/
https://mirrors.tuna.tsinghua.edu.cn/help/hackage/
@OkitaSan @leihao0401 @freizl

这是我的~/.stack/config.yaml
package-indices:
  - download-prefix: http://mirrors.tuna.tsinghua.edu.cn/hackage/
    hackage-security:
        keyids:
        - 0a5c7ea47cd1b15f01f5f51a33adda7e655bc0f0b0615baa8e271f4c3351e21d
        - 1ea9ba32c526d1cc91ab5e5bd364ec5e9e8cb67179a471872f6e26f0ae773d42
        - 280b10153a522681163658cb49f632cde3f38d768b736ddbc901d99a1a772833
        - 2a96b1889dc221c17296fcc2bb34b908ca9734376f0f361660200935916ef201
        - 2c6c3627bd6c982990239487f1abd02e08a02e6cf16edb105a8012d444d870c3
        - 51f0161b906011b52c6613376b1ae937670da69322113a246a09f807c62f6921
        - 772e9f4c7db33d251d5c6e357199c819e569d130857dc225549b40845ff0890d
        - aa315286e6ad281ad61182235533c41e806e5a787e0b6d1e7eef3f09d137d2e9
        - fe331502606802feac15e514d9b9ea83fee8b6ffef71335479a2e68d84adc6b0
        key-threshold: 3 # number of keys required

        # ignore expiration date, see https://github.com/commercialhaskell/stack/pull/4614
        ignore-expiry: no

setup-info-locations: ["http://mirrors.tuna.tsinghua.edu.cn/stackage/stack-setup.yaml"]
urls:
  latest-snapshot: http://mirrors.tuna.tsinghua.edu.cn/stackage/snapshots.json

报错信息：
Exception while reading snapshot from https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/16/20.yaml:
HttpExceptionRequest Request {
  host                 = "raw.githubusercontent.com"
  port                 = 443
  secure               = True
  requestHeaders       = [("User-Agent","Haskell pantry package")]
  path                 = "/commercialhaskell/stackage-snapshots/master/lts/16/20.yaml"
  queryString          = ""
  method               = "GET"
  proxy                = Nothing
  rawBody              = False
  redirectCount        = 10
  responseTimeout      = ResponseTimeoutDefault
  requestVersion       = HTTP/1.1
}
 (InternalException (HandshakeFailed (Error_Misc "Network.Socket.recvBuf: resource vanished (Connection reset by peer)")))

我的浏览器倒是能正常访问报错信息中提到的https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/16/20.yaml

@TENX-S 遇到了同样的问题，配置了清华的源和您报错一样，这个问题您现在解决了么

@TENX-S 遇到了同样的问题，配置了清华的源和您报错一样，这个问题您现在解决了么

@liyingjack 我是通过让shell走代理解决的

@TENX-S 遇到了同样的问题，配置了清华的源和您报错一样，这个问题您现在解决了么

@liyingjack 我是通过让shell走代理解决的

请问您说的代理是什么代理？科学上网的么？

@TENX-S 遇到了同样的问题，配置了清华的源和您报错一样，这个问题您现在解决了么

@liyingjack 我是通过让shell走代理解决的

请问您说的代理是什么代理？科学上网的么？

是的，macOS就算开启了全局代理，bash也不会默认走代理

@TENX-S 你好，我想问下我执行stack install时可以安装ghc-8.10.4，但是紧接着会有安装7z.dll的错误，这个怎么解决呢？
stack install
Warning: http://mirrors.tuna.tsinghua.edu.cn/stackage/stack-setup.yaml: Unrecognized field in GHCDownloadInfo: version
Preparing to install GHC to an isolated location.
This will not interfere with any system-level installation.
Downloaded ghc-8.10.4.
Preparing to download 7z.dll ...
Download expectation failure: HttpExceptionRequest Request {
host                 = "github.com"
port                 = 443
secure               = True
requestHeaders       = [("User-Agent","The Haskell Stack")]
path                 = "/fpco/minghc/blob/master/bin/7z.dll"
queryString          = "?raw=true"
method               = "GET"
proxy                = Nothing
rawBody              = False
redirectCount        = 10
responseTimeout      = ResponseTimeoutDefault
requestVersion       = HTTP/1.1
}
ConnectionTimeout

@TENX-S 你好，我想问下我执行stack install时可以安装ghc-8.10.4，但是紧接着会有安装7z.dll的错误，这个怎么解决呢？
stack install
Warning: http://mirrors.tuna.tsinghua.edu.cn/stackage/stack-setup.yaml: Unrecognized field in GHCDownloadInfo: version
Preparing to install GHC to an isolated location.
This will not interfere with any system-level installation.
Downloaded ghc-8.10.4.
Preparing to download 7z.dll ...
Download expectation failure: HttpExceptionRequest Request {
host = "github.com"
port = 443
secure = True
requestHeaders = [("User-Agent","The Haskell Stack")]
path = "/fpco/minghc/blob/master/bin/7z.dll"
queryString = "?raw=true"
method = "GET"
proxy = Nothing
rawBody = False
redirectCount = 10
responseTimeout = ResponseTimeoutDefault
requestVersion = HTTP/1.1
}
ConnectionTimeout

@attackon1point6 你好，或许有两个办法：

全局代理（推荐）
操作系统 macOS 还是 Windows ?，如果是macOS，要在终端设置 http_proxy和https_proxy 为你的代理端口，比如在 bash 中export http_proxy=127.0.0.1:1087;export_https_proxy=127.0.0.1:1087，我这里的监听端口是1087，具体到你自己要自行查看。
修改hosts
教程
macOS 下的 hosts 文件位于 /etc 下

@attackon1point6 你好，或许有两个办法：

全局代理（推荐）
操作系统 macOS 还是 Windows ?，如果是macOS，要在终端设置 http_proxy 和 https_proxy 为你的代理端口，比如在 bash 中export http_proxy=127.0.0.1:1087;export_https_proxy=127.0.0.1:1087，我这里的监听端口是 1087，具体到你自己要自行查看。
修改hosts
教程
macOS 下的 hosts 文件位于 /etc 下
@TENX-S 我是win10系统，初学haskell，不太会设置代理，感谢你的回复，我会查这方面教程的。

@attackon1point6 你好，或许有两个办法：

全局代理（推荐）
操作系统 macOS 还是 Windows ?，如果是macOS，要在终端设置 http_proxy 和 https_proxy 为你的代理端口，比如在 bash 中export http_proxy=127.0.0.1:1087;export_https_proxy=127.0.0.1:1087，我这里的监听端口是 1087，具体到你自己要自行查看。
修改hosts
教程
macOS 下的 hosts 文件位于 /etc 下
@TENX-S 我是win10系统，初学haskell，不太会设置代理，感谢你的回复，我会查这方面教程的。

老哥, 问题解决了吗? 我也遇到同样的问题了...

排除了墙的原因. 挂上clash for windows之后仍然不行;
两类问题交替出现: (InternalException Network.Socket.recvBuf: invalid argument (Invalid argument)) 和  (InternalException (HandshakeFailed (Error_Misc "Network.Socket.recvBuf: invalid argument (Invalid argument)")))

能请您指明条道路吗? 感激不尽.

@attackon1point6 你好，或许有两个办法：

全局代理（推荐）
操作系统 macOS 还是 Windows ?，如果是macOS，要在终端设置 http_proxy 和 https_proxy 为你的代理端口，比如在 bash 中export http_proxy=127.0.0.1:1087;export_https_proxy=127.0.0.1:1087，我这里的监听端口是 1087，具体到你自己要自行查看。
修改hosts
教程
macOS 下的 hosts 文件位于 /etc 下
@TENX-S 我是win10系统，初学haskell，不太会设置代理，感谢你的回复，我会查这方面教程的。

老哥, 问题解决了吗? 我也遇到同样的问题了...

排除了墙的原因. 挂上clash for windows之后仍然不行;
两类问题交替出现: (InternalException Network.Socket.recvBuf: invalid argument (Invalid argument)) 和  (InternalException (HandshakeFailed (Error_Misc "Network.Socket.recvBuf: invalid argument (Invalid argument)")))

能请您指明条道路吗? 感激不尽.

windows下ss+proxifier走全局代理
用wsl，在linux环境下操作
推荐第二种

@attackon1point6 你好，或许有两个办法：

全局代理（推荐）
操作系统 macOS 还是 Windows ?，如果是macOS，要在终端设置 http_proxy 和 https_proxy 为你的代理端口，比如在 bash 中export http_proxy=127.0.0.1:1087;export_https_proxy=127.0.0.1:1087，我这里的监听端口是 1087，具体到你自己要自行查看。
修改hosts
教程
macOS 下的 hosts 文件位于 /etc 下
@TENX-S 我是win10系统，初学haskell，不太会设置代理，感谢你的回复，我会查这方面教程的。

老哥, 问题解决了吗? 我也遇到同样的问题了...

排除了墙的原因. 挂上clash for windows之后仍然不行;
两类问题交替出现: (InternalException Network.Socket.recvBuf: invalid argument (Invalid argument)) 和  (InternalException (HandshakeFailed (Error_Misc "Network.Socket.recvBuf: invalid argument (Invalid argument)")))

能请您指明条道路吗? 感激不尽.

windows下ss+proxifier走全局代理
用wsl，在linux环境下操作
推荐第二种

非常感谢您的回复, 不过在这之前问题已经解决了.
之前考虑过, 如果7zip下载不下来的两种方法:
1. 寻找使得网络可以下载下来7zip的方法 (大概是您说得第一种方法)
2. 自行下载7z.dll和7z.exe, 放到本应下载的文件夹, 跳过检查.
3. 放弃windows, 使用linux系统 (您说得第二种)
我是用第二种方法解决的. 之前在网上一直没有找到2中"对应的文件夹"在哪里, 直到看到这篇文章: https://memcpy0.blog.csdn.net/article/details/118878150.  里面的安装信息提到, 下载的内容都放到路径 C:\Users\21839\AppData\Local\Programs\stack\x86_64-windows\ 下了. 再结合出错信息中提到的url路径, 拼接后可以发现是从github上下载的7z.dll和7z.exe, 直接访问该url下载, 并放到上述路径下, 就可以绕过这里的下载了.
尽管如此, 还是感谢您耐心的回复!

@attackon1point6 你好，或许有两个办法：

全局代理（推荐）
操作系统 macOS 还是 Windows ?，如果是macOS，要在终端设置 http_proxy 和 https_proxy 为你的代理端口，比如在 bash 中export http_proxy=127.0.0.1:1087;export_https_proxy=127.0.0.1:1087，我这里的监听端口是 1087，具体到你自己要自行查看。
修改hosts
教程
macOS 下的 hosts 文件位于 /etc 下
@TENX-S 我是win10系统，初学haskell，不太会设置代理，感谢你的回复，我会查这方面教程的。

老哥, 问题解决了吗? 我也遇到同样的问题了...

排除了墙的原因. 挂上clash for windows之后仍然不行;
两类问题交替出现: (InternalException Network.Socket.recvBuf: invalid argument (Invalid argument)) 和  (InternalException (HandshakeFailed (Error_Misc "Network.Socket.recvBuf: invalid argument (Invalid argument)")))

能请您指明条道路吗? 感激不尽.

windows下ss+proxifier走全局代理
用wsl，在linux环境下操作
推荐第二种

非常感谢您的回复, 不过在这之前问题已经解决了.
之前考虑过, 如果7zip下载不下来的两种方法:

寻找使得网络可以下载下来7zip的方法 (大概是您说得第一种方法)
自行下载7z.dll和7z.exe, 放到本应下载的文件夹, 跳过检查.
放弃windows, 使用linux系统 (您说得第二种)

我是用第二种方法解决的. 之前在网上一直没有找到2中"对应的文件夹"在哪里, 直到看到这篇文章: https://memcpy0.blog.csdn.net/article/details/118878150. 里面的安装信息提到, 下载的内容都放到路径 C:\Users\21839\AppData\Local\Programs\stack\x86_64-windows\ 下了. 再结合出错信息中提到的url路径, 拼接后可以发现是从github上下载的7z.dll和7z.exe, 直接访问该url下载, 并放到上述路径下, 就可以绕过这里的下载了.
尽管如此, 还是感谢您耐心的回复!

能不能问一下具体要怎么操作，我好像没找到这两个文件

authors: OkitaSan SMSQO SnowOnion TENX-S YouWillBe attackon1point6 freizl leihao0401 liyingjack yy025

repo: HaskellCNOrg/haskellcn


text:
Add an HTTPException to the query endpoint to handle engine failure

Add an HTTPException to the query endpoint to handle engine failure

 📝 Indexing
I'm indexing your repository.

source: gharchive/issue

license: MIT

license_type: permissive

license_source: github-api


text:
Docker-compose / Docker

Hi guys,
Hope you are doing well !
Is there any dockerfile or docker compose template available for deepdive ?
That would be amazing :-)
Cheers,
Luc Michalski

There is this link, please see if it is useful.. for me somehow, the linking between Postgres and Docker was not working..
http://deepdive.stanford.edu/doc/advanced/docker.html
If you make it work, please let me know how it works.
Thanks
Krishna

See also #231 for past attempts of Docker support.  We will be looking into this at some point, but if you can contribute a Dockerfile that would be awesome!

I have a working dockerfile to commit, but it's having a problem with the spouse_example in 0.8 that I'm troubleshooting first.

@joshneland @netj
Is there any progress on this task? I have some free time this weekend, and I already have Deepdive Docker to share with you. Just need some time to verify and add Docker Compose.

authors: joshneland lanphan lucmichalski netj skprasadu

repo: HazyResearch/deepdive

license_source: bigquery


text:
Bug in brat.py

Hello,
At line 561 from contrib/brat/brat.py
 anno_filelist = set([os.path.basename(fn).strip(".ann") for fn in glob.glob(input_dir + "/*.ann")])
I think the method strip is unappropriated here.
According to the documentation span remove chars from the beginning and the end of the string.
So the string "news01.ann" would be transform in "ews01" instead of "news01".
It prevents the file to be found.
I think a fix would be to use os.path.basename(fn)[:-4].

Hi @tuxmam
Good catch! We'll file this as a bug.

authors: jason-fries tuxmam

repo: HazyResearch/snorkel


text:
Navigation drawer closing issue

In kivymd 0.103.0 when I am clicking on navigation drawer 's  OneLineAvatarListItem then it is not closing the navigation bar automatically every time I need to click on the close button why this is not closing automatically on click on OneLineAvatarListItem?

@navjotcis This behavior is not implemented because the NavigationDrawer is an empty MDCard class. Closing you must control yourself.

authors: HeaTTheatR navjotcis

repo: HeaTTheatR/KivyMD


text:
Fix overflowing lines with manual linbreaks

Card descriptions with manual linebreak (starting with [x]) tend to overflow the body.
We should be rendering them and then check whether they exceed the body. If they do, either resize the sprite or just rerender with a slightly smaller font size until they are contained.

Dup of #9

authors: beheh jleclanche

repo: HearthSim/Sunwell

license: mit


text:
#CRASH

Smartphone (please complete the following information):
47% iOS 15
47% iOS 14
6% iPadOS 14
Additional context
Crashed: com.apple.main-thread
0  UIKitCore                      0x3e37f4 -[UIView(AdditionalLayoutSupport) _uili_existingBaseFrameVariables] + 4
1  UIKitCore                      0x1cf200 __57-[UIView(AdditionalLayoutSupport) _switchToLayoutEngine:]_block_invoke + 452
2  UIKitCore                      0x3bd804 -[UIView(AdditionalLayoutSupport) _switchToLayoutEngine:] + 216
3  UIKitCore                      0x1e1748 __57-[UIView(AdditionalLayoutSupport) _switchToLayoutEngine:]_block_invoke_2 + 188
4  CoreAutoLayout                 0x85f8 -[NSISEngine withBehaviors:performModifications:] + 88
5  UIKitCore                      0x1cf26c __57-[UIView(AdditionalLayoutSupport) _switchToLayoutEngine:]_block_invoke + 560
6  UIKitCore                      0x3bd804 -[UIView(AdditionalLayoutSupport) _switchToLayoutEngine:] + 216
7  UIKitCore                      0x1dfdbc __45-[UIView(Hierarchy) _postMovedFromSuperview:]_block_invoke + 100
8  CoreAutoLayout                 0x85f8 -[NSISEngine withBehaviors:performModifications:] + 88
9  UIKitCore                      0x26eff4 -[UIView(Hierarchy) _postMovedFromSuperview:] + 836
10 UIKitCore                      0x18b8d4 -[UIView(Internal) _addSubview:positioned:relativeTo:] + 2148
11 UIKitCore                      0x3b3c2c -[UITableView _addSubview:positioned:relativeTo:] + 108
12 UIKitCore                      0x24bcf8 CreateScrollIndicator + 364
13 UIKitCore                      0x31e11c -[UIScrollView _adjustScrollerIndicators:alwaysShowingThem:] + 276
14 UIKitCore                      0x254334 -[UITableView _updateShowScrollIndicatorsFlag] + 376
15 HWPanModal                     0xd658 -[HWPanModalPresentableHandler trackScrolling:] + 340 (HWPanModalPresentableHandler.m:340)
16 HWPanModal                     0xd858 -[HWPanModalPresentableHandler didPanOnScrollViewChanged:] + 386 (HWPanModalPresentableHandler.m:386)
17 HWPanModal                     0x15a9c -[KeyValueObserver didChange:] + 75 (KeyValueObserver.m:75)
18 Foundation                     0x3204c NSKeyValueNotifyObserver + 292
19 Foundation                     0x1d460 NSKeyValueDidChange + 356
20 Foundation                     0x2bf78 -[NSObject(NSKeyValueObservingPrivate) _changeValueForKeys:count:maybeOldValuesDict:maybeNewValuesDict:usingBlock:] + 644
21 Foundation                     0x21c5c -[NSObject(NSKeyValueObservingPrivate) _changeValueForKey:key:key:usingBlock:] + 72
22 Foundation                     0x1fc8c _NSSetPointValueAndNotify + 328
23 UIKitCore                      0x1c9c0c -[UIScrollView _setContentOffset:animated:animationCurve:animationAdjustsForContentOffsetDelta:animation:animationConfigurator:] + 824
24 HWPanModal                     0xd6cc -[HWPanModalPresentableHandler haltScrolling:] + 349 (HWPanModalPresentableHandler.m:349)
25 HWPanModal                     0xd858 -[HWPanModalPresentableHandler didPanOnScrollViewChanged:] + 386 (HWPanModalPresentableHandler.m:386)
26 HWPanModal                     0x15a9c -[KeyValueObserver didChange:] + 75 (KeyValueObserver.m:75)
27 Foundation                     0x3204c NSKeyValueNotifyObserver + 292
28 Foundation                     0x1d460 NSKeyValueDidChange + 356
29 Foundation                     0x2bf78 -[NSObject(NSKeyValueObservingPrivate) _changeValueForKeys:count:maybeOldValuesDict:maybeNewValuesDict:usingBlock:] + 644
30 Foundation                     0x21c5c -[NSObject(NSKeyValueObservingPrivate) _changeValueForKey:key:key:usingBlock:] + 72
31 Foundation                     0x1fc8c _NSSetPointValueAndNotify + 328
32 UIKitCore                      0x2ae9ac -[UITableView _updateVisibleCellsNow:] + 2356
33 UIKitCore                      0x2ae9e0 -[UITableView _updateVisibleCellsNow:] + 2408
34 UIKitCore                      0x2ae9e0 -[UITableView _updateVisibleCellsNow:] + 2408
35 UIKitCore                      0x2ae9e0 -[UITableView _updateVisibleCellsNow:] + 2408
36 UIKitCore                      0x2ae9e0 -[UITableView _updateVisibleCellsNow:] + 2408
37 UIKitCore                      0x2ae9e0 -[UITableView _updateVisibleCellsNow:] + 2408
38 UIKitCore                      0x2ae9e0 -[UITableView _updateVisibleCellsNow:] + 2408
39 UIKitCore                      0x2ae9e0 -[UITableView _updateVisibleCellsNow:] + 2408
40 UIKitCore                      0x2ae9e0 -[UITableView _updateVisibleCellsNow:] + 2408
41 UIKitCore                      0x2ae9e0 -[UITableView _updateVisibleCellsNow:] + 2408
42 UIKitCore                      0x2ae9e0 -[UITableView _updateVisibleCellsNow:] + 2408
43 UIKitCore                      0x17d8a8 -[UITableView layoutSubviews] + 456
44 UIKitCore                      0x18ded8 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 2620
45 QuartzCore                     0x3fe24 CA::Layer::layout_if_needed(CA::Transaction*) + 536
46 QuartzCore                     0x32644 CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 144
47 QuartzCore                     0x46c6c CA::Context::commit_transaction(CA::Transaction*, double, double*) + 524
48 QuartzCore                     0x4f560 CA::Transaction::commit() + 680
49 QuartzCore                     0x31dac CA::Transaction::flush_as_runloop_observer(bool) + 88
50 CoreFoundation                 0x41560 CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION + 36
51 CoreFoundation                 0x10844 __CFRunLoopDoObservers + 572
52 CoreFoundation                 0xb8dc __CFRunLoopRun + 1052
53 CoreFoundation                 0x1f3b8 CFRunLoopRunSpecific + 600
54 GraphicsServices               0x138c GSEventRunModal + 164
55 UIKitCore                      0x5196a8 -[UIApplication _run] + 1100
56 UIKitCore                      0x2987f4 UIApplicationMain + 2092
57 ***                      0xb9b4 main + 42 (AppDelegate.swift:42)
58 ???                            0x103ff1a24 (Missing)

这个还没找到复现方法

我也遇到了同样的问题，请问修复了吗？在你的业务场景中

Crash demo: HWPanModal Crash Demo. And I create a PR to fix this issue.

Crash demo: HWPanModal Crash Demo. And I create a PR to fix this issue.

Nice. As I can not produce this crash, so this issue can not resolve.
Later I will check the PR.
Thank you so much.

HWPanModal (0.9.4) successfully published, fix this crash.
If this crash exists again, pls reopen it.
@devSC @iBlackStone @lchenfox @GandjaFuzz

线上还是会崩的

请问有解决方案吗？这个崩溃目前在我们Firebase排在首位。
Issue: d613e968aae6ac852c7ef1e792783c8d
Session: 596156ebd9c440faa9ff4359c5d6dd0c_DNE_0_v2
Date: Sun Jan 07 2024 04:35:08 GMT+0800 (中国标准时间)
Crashed: com.apple.main-thread
0  libsystem_c.dylib              0x9800 localeconv_l + 4
1  libsystem_c.dylib              0x1f74 _vsnprintf + 224
2  libsystem_c.dylib              0x5df8 snprintf_l + 32
3  CoreFoundation                 0x50f30 __CFStringAppendFormatCore + 9436
4  CoreFoundation                 0x841d4 _CFStringCreateWithFormatAndArgumentsReturningMetadata + 184
5  CoreFoundation                 0x80aac _CFStringCreateWithFormatAndArgumentsAux2 + 44
6  Foundation                     0x1aeb8 +[NSString stringWithFormat:] + 68
7  FBSDKCoreKit                   0x61880 +[FBSDKSwizzler object:ofClass:isCallingSelector:] + 339 (FBSDKSwizzler.m:339)
8  FBSDKCoreKit                   0x624e8 fb_findSwizzle + 67 (FBSDKSwizzler.m:67)
9  FBSDKCoreKit                   0x61dc8 fb_swizzledMethod_2 + 90 (FBSDKSwizzler.m:90)
10 UIKitCore                      0x1d0c8 -[UIView(Internal) _didMoveFromWindow:toWindow:] + 1812
11 UIKitCore                      0x1cc6c -[UIView(Internal) _didMoveFromWindow:toWindow:] + 696
12 UIKitCore                      0xd0248 __45-[UIView(Hierarchy) _postMovedFromSuperview:]_block_invoke + 112
13 CoreAutoLayout                 0x4e70 -[NSISEngine withBehaviors:performModifications:] + 84
14 UIKitCore                      0x105d858 -[UIView _postMovedFromSuperview:] + 672
15 UIKitCore                      0x1ddf4 -[UIView(Internal) _addSubview:positioned:relativeTo:] + 1952
16 UIKitCore                      0x93af0 -[UITableView _addSubview:positioned:relativeTo:] + 100
17 UIKitCore                      0x145058 CreateScrollIndicator + 292
18 UIKitCore                      0x52a6c -[UIScrollView _adjustScrollerIndicators:alwaysShowingThem:] + 240
19 UIKitCore                      0x102740 -[UITableView _updateShowScrollIndicatorsFlag] + 308
20 HelloTalk_Binary               0x210c244 -[HWPanModalPresentableHandler trackScrolling:] + 301 (HWPanModalPresentableHandler.m:301)
21 HelloTalk_Binary               0x210c3a0 -[HWPanModalPresentableHandler didPanOnScrollViewChanged:] + 336 (HWPanModalPresentableHandler.m:336)
22 HelloTalk_Binary               0x21134bc -[KeyValueObserver didChange:] + 69 (KeyValueObserver.m:69)
23 Foundation                     0x3c0d0 NSKeyValueNotifyObserver + 252
24 Foundation                     0x52618 NSKeyValueDidChange + 356
25 Foundation                     0x3f518 -[NSObject(NSKeyValueObservingPrivate) _changeValueForKeys:count:maybeOldValuesDict:maybeNewValuesDict:usingBlock:] + 680
26 Foundation                     0x3f248 -[NSObject(NSKeyValueObservingPrivate) _changeValueForKey:key:key:usingBlock:] + 64
27 Foundation                     0x3f1cc _NSSetPointValueAndNotify + 300
28 UIKitCore                      0x55784 -[UIScrollView _setContentOffset:animated:animationCurve:animationAdjustsForContentOffsetDelta:animation:animationConfigurator:] + 588
29 HelloTalk_Binary               0x210c2c4 -[HWPanModalPresentableHandler haltScrolling:] + 319 (HWPanModalPresentableHandler.m:319)
30 HelloTalk_Binary               0x210c3d4 -[HWPanModalPresentableHandler didPanOnScrollViewChanged:] + 357 (HWPanModalPresentableHandler.m:357)
31 HelloTalk_Binary               0x21134bc -[KeyValueObserver didChange:] + 69 (KeyValueObserver.m:69)
32 Foundation                     0x3c0d0 NSKeyValueNotifyObserver + 252
33 Foundation                     0x52618 NSKeyValueDidChange + 356
34 Foundation                     0x3f518 -[NSObject(NSKeyValueObservingPrivate) _changeValueForKeys:count:maybeOldValuesDict:maybeNewValuesDict:usingBlock:] + 680
35 Foundation                     0x3f248 -[NSObject(NSKeyValueObservingPrivate) _changeValueForKey:key:key:usingBlock:] + 64
36 Foundation                     0x3f1cc _NSSetPointValueAndNotify + 300
37 UIKitCore                      0x56ae4 -[UITableView _updateVisibleCellsNow:] + 1784
38 UIKitCore                      0x56b0c -[UITableView _updateVisibleCellsNow:] + 1824
39 UIKitCore                      0x56b0c -[UITableView _updateVisibleCellsNow:] + 1824
40 UIKitCore                      0x56b0c -[UITableView _updateVisibleCellsNow:] + 1824
41 UIKitCore                      0x56b0c -[UITableView _updateVisibleCellsNow:] + 1824
42 UIKitCore                      0x56b0c -[UITableView _updateVisibleCellsNow:] + 1824
43 UIKitCore                      0x56b0c -[UITableView updateVisibleCellsNow:] + 1824
44 UIKitCore                      0x56b0c -[UITableView updateVisibleCellsNow:] + 1824
45 UIKitCore                      0x56b0c -[UITableView updateVisibleCellsNow:] + 1824
46 UIKitCore                      0x56b0c -[UITableView updateVisibleCellsNow:] + 1824
47 UIKitCore                      0x56b0c -[UITableView updateVisibleCellsNow:] + 1824
48 UIKitCore                      0x56320 -[UITableView layoutSubviews] + 148
49 UIKitCore                      0x4420 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 1992
50 QuartzCore                     0x9f30 CA::Layer::layout_if_needed(CA::Transaction*) + 500
51 UIKitCore                      0xceb30 -[UIView(Hierarchy) layoutBelowIfNeeded] + 296
52 HelloTalk_Binary               0x213fd14 -[UIViewController(PanModalDefault) allowsExtendedPanScrolling] + 104 (UIViewController+PanModalDefault.m:104)
53 HelloTalk_Binary               0x210c890 -[HWPanModalPresentableHandler configureViewLayout] + 419 (HWPanModalPresentableHandler.m:419)
54 HelloTalk_Binary               0x2110658 -[HWPanModalPresentationController configureViewLayout] + 315 (HWPanModalPresentationController.m:315)
55 HelloTalk_Binary               0x210f6dc -[HWPanModalPresentationController setNeedsLayoutUpdate] + 151 (HWPanModalPresentationController.m:151)
56 HelloTalk_Binary               0x2140388 -[UIViewController(Presentation) hw_panModalSetNeedsLayoutUpdate] + 41 (UIViewController+Presentation.m:41)
57 HelloTalk_Binary               0x3cf5aa8 partial apply for closure #1 in VoiceRVisitorViewController.bindViewModel() + 73 (VoiceRVisitorViewController.swift:73)
58 HelloTalk_Binary               0x5063e50 partial apply for closure #1 in ObservableType.subscribe(:) + 22 (ObservableType+Extensions.swift:22)
59 HelloTalk_Binary               0x50177f0 AnonymousObserver.onCore(:) + 23 (AnonymousObserver.swift:23)
60 HelloTalk_Binary               0x50667bc ObserverBase.on(:) + 16 (ObserverBase.swift:16)
61 HelloTalk_Binary               0x5066900 protocol witness for ObserverType.on(:) in conformance ObserverBase + 6102948 (:6102948)
62 HelloTalk_Binary               0x5065a70 closure #1 in ObserveOnSerialDispatchQueueSink.init(scheduler:observer:cancel:) + 196 (ObserveOn.swift:196)
63 HelloTalk_Binary               0x506638c partial apply for thunk for @escaping @callee_guaranteed (@guaranteed ObserveOnSerialDispatchQueueSink, @in_guaranteed Event<A.ObserverType.Element>) -> (@out Disposable) + 6101552 (:6101552)
64 HelloTalk_Binary               0x50454d8 partial apply for closure #1 in DispatchQueueConfiguration.schedule(:action:) + 27 (DispatchQueueConfiguration.swift:27)
65 HelloTalk_Binary               0x8477c thunk for @escaping @callee_guaranteed () -> () + 4330915708 (:4330915708)
66 libdispatch.dylib              0x2320 _dispatch_call_block_and_release + 32
67 libdispatch.dylib              0x3eac _dispatch_client_callout + 20
68 libdispatch.dylib              0x126a4 _dispatch_main_queue_drain + 928
69 libdispatch.dylib              0x122f4 _dispatch_main_queue_callback_4CF + 44
70 CoreFoundation                 0x98c28 CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 16
71 CoreFoundation                 0x7a560 __CFRunLoopRun + 1992
72 CoreFoundation                 0x7f3ec CFRunLoopRunSpecific + 612
73 GraphicsServices               0x135c GSEventRunModal + 164
74 UIKitCore                      0x39cf58 -[UIApplication _run] + 888
75 UIKitCore                      0x39cbbc UIApplicationMain + 340
76 HelloTalk_Binary               0x54ff7f8 main + 25 (main.m:25)
77 ???                            0x1e1174dec (缺少)

authors: HeathWang devSC iBlackStone lchenfox pandaleecn

repo: HeathWang/HWPanModal


text:
TS2430: Interface 'JoiPasswordExtend' incorrectly extends interface 'Root'.

Joi-password works as expected, but when I have a pre-push husky check, I get the following error. How do I fix it? Thanks

node_modules/joi-password/lib/index.d.ts:28:18 - error TS2430: Interface 'JoiPasswordExtend' incorrectly extends interface 'Root'.
  The types returned by 'string().validate(...)' are incompatible between these types.
    Type 'ValidationResult<string>' is not assignable to type 'ValidationResult<TSchema>'.
      Type '{ error: undefined; warning?: ValidationError | undefined; value: string; }' is not assignable to type 'ValidationResult<TSchema>'.
        Type '{ error: undefined; warning?: ValidationError | undefined; value: string; }' is not assignable to type '{ error: undefined; warning?: ValidationError | undefined; value: TSchema; }'.
          Types of property 'value' are incompatible.
            Type 'string' is not assignable to type 'TSchema'.
              'TSchema' could be instantiated with an arbitrary type which could be unrelated to 'string'.

28 export interface JoiPasswordExtend extends joi.Root {
                    ~~~~~~~~~~~~~~~~~

Found 1 error.

husky - pre-push hook exited with code 1 (error)

Hello @chuasonglin1995
I don't know where the errors come from. However, you can add to your tsconfig.json to over this problem.
{   "compilerOptions": {     "skipLibCheck": true   },   ... }

thanks @Heaty566, I shall do that then. Thanks for the package, its lovely

Hi @Heaty566, I figured that it could be because the package is not TS compatible. In your validate functions, you are returning value as any. And when it compiled, it didn't infer that this is a string, and left it as any.


text:
Allow proxying to custom LLM APIs

Currently, Helicone only allows people to proxy to the following services:
https://github.com/Helicone/helicone/blob/868d3b7e424c938067611ecbd5c8d37459bdc3ff/worker/src/lib/HeliconeProxyRequest/mapper.ts#L209-L214
However there are many other OpenAI compatible-services, and people are building OpenAI interfaces to open-source models like LLama and company, so Helicone could provide metrics without any code modifications.

I would really like to see this functionality as well so I could use Helicone with something like LocalAI

Hi! We are adding this super soon! Next week this should be merged in.
@alexkreidler, and @coreywagehoft - @colegottdank is working on this right now actually :)

Hi. May I know if PaLM2 support was added or not? Or its already in some branch pending merge to main?

This was finished ??? I need to track my users tokens consuming.

@leandrosilvaferreira, hi, you can use our gateway integration! It allows any target URL. We maintain a whitelist of providers and if not apart of that whitelist, we allow up to 10k requests per day.
If your desired provider is not there, if valid, we can add it.

authors: alexkreidler chingweesze-oursky chitalian colegottdank coreywagehoft leandrosilvaferreira

repo: Helicone/helicone


text:
Showing UNDEFINED-TRANSLATION in large image section and rest image

Comparing src/config.js and i18n/enUS.json files, translation of large image description and translation of rest description fails due to a type error. I would have pull requested this, but I don't have access to do so.
For fixing the problem, simply change the following lines in i18en/enUS.json
line 69
"config-smallImage-desc": "Change content of large image on Rich Presence",

line 95
"config-rest-description": "Change behaviour while you're resting",

to
line 69
"config-largeImage-desc": "Change content of large image on Rich Presence",

line 95
"config-rest-desc": "Change behaviour while you're resting",

And that's all, I checked the other files and I don't see them have these lines in theme anyways.
Edit:
I have managed to create a pull request by forking the repository.

Fixed by #84


text:
Priority of snippets

Excuse me, may you set a lower priority like -50 (same as vim-snippets) or -49 as default?
It will get more compatible with other UltiSnips plugins and users can override your snippets with a default priority ฅ' ω 'ฅ

btw, how about set a tabstop at the end of line or a newline for "import reference" snippet?
like
/// \<reference path='${1:file}' />$0

or
/// \<reference path='${1:file}' />
$0

Hi, thanks for trying out yats.
I don't know where I can set snippet priority. According to the doc https://github.com/SirVer/ultisnips/blob/master/doc/UltiSnips.txt#L224-L245, it seems you can specify your snippet loading order.
Builtin snippet cannot be customized. You can writing your own and then load it to override yats.

You can set snippet priority by 'priority' keyword at the beginning of line. It looks like this https://github.com/honza/vim-snippets/blob/master/UltiSnips/javascript.snippets
Maybe this paragraph would help (´・ω・)ﾉ https://github.com/SirVer/ultisnips/blob/master/doc/UltiSnips.txt#L619

Thanks for pointing out! I don't know that!
Negative priority seems to be a better practice. Will add it!

Thanks for your adoption, too (๑• ω •๑)

And your proposed /// reference snippet is definitely better the current one!
Also added! Thanks!

authors: HerringtonDarkholme shirohana

license: Vim


text:
Optimizing Images (via ImageOptim).

Reduce the images in size using lossless techniques. Images will often contain data that's not part of the displayed information. This was performed using ImageOptim.

For some reason this PR failed in the JSLint. It was not your fault. I will accept that and fix that other probably independently. Thanks for your expert support on this.

source: gharchive/pull-request

authors: alansouzati mattfarina

repo: HewlettPackard/grommet


text:
Error when starting the second SN (SMLETHNode: Transferring 100 ETH to local account failed) - MNIST example

Issue description

issue description: error obtained when starting the second Swarm Network Node.
occurrence - consistent or rare:
error messages:  SMLETHNode: Transferring 100 ETH to local account failed
commands used for starting containers: the ones provided in the MNIST example (https://github.com/HewlettPackard/swarm-learning/blob/master/examples/mnist/README.md)
docker logs [APLS, SPIRE, SN, SL, SWCI]:
######################################################################

HPE SWARM LEARNING SN NODE
######################################################################
© Copyright 2019-2022 Hewlett Packard Enterprise Development LP
######################################################################
2023-06-22 10:19:21,321 : swarm.blCnt : INFO : Setting up blockchain layer for the swarm node: START
2023-06-22 10:19:22,628 : swarm.blCnt : INFO : Creating Autopass License Provider
2023-06-22 10:19:23,407 : swarm.blCnt : INFO : Creating license server
2023-06-22 10:19:23,407 : swarm.blCnt : INFO : Setting license servers
2023-06-22 10:19:23,421 : swarm.blCnt : INFO : Acquiring floating license 1100000380:1
2023-06-22 10:19:24,047 : swarm.SN : INFO : Using URL : https://213.227.143.136:30304/is_up
2023-06-22 10:19:24,170 : swarm.SN : INFO : Sentinel Node is UP!
2023-06-22 10:19:43,727 : swarm.SN : INFO : SMLETHNode: Starting GETH ...
2023-06-22 10:22:16,547 : swarm.SN : ERROR : SMLETHNode: Transferring 100 ETH to local account failed
Traceback (most recent call last):
File "", line 1, in
File "start_swarm_sn.py", line 196, in start_swarm_sn.main
File "swarmfactory.py", line 615, in swarmfactory.createBCFullNodeForContainer
File "swarmbcnode.py", line 739, in swarmbcnode.smlethnode.initialize
File "swarmutils.py", line 678, in swarmutils.swarmlogger.emitError
RuntimeError: SMLETHNode: Transferring 100 ETH to local account failed
2023-06-22 10:22:16,556 : swarm.blCnt : WARNING : Releasing license
Swarm Learning Version:

Find the docker tag of the Swarm images ( $ docker images | grep hub.myenterpriselicense.hpe.com/hpe_eval/swarm-learning ): Version 2.0.0

OS and ML Platform

details of host OS: Ubuntu 20.04.6 LTS
details of ML platform used:
details of Swarm learning Cluster (Number of machines, SL nodes, SN nodes): 2 hosts, exactly the same as MNIST example

Quick Checklist: Respond [Yes/No]

APLS server web GUI shows available Licenses? Yes
If Multiple systems are used, can each system access every other system? Yes
Is Password-less SSH configuration setup for all the systems? Yes
If GPU or other protected resources are used, does the account have sufficient privileges to access and use them?
Is the user id a member of the docker group? Yes

Additional notes

Are you running documented example without any modification? Yes, just modifying the IPs of host 1 and host 2
Add any additional information about use case or any notes which supports for issue investigation: All the steps 1-9 and 11 from the README (https://github.com/HewlettPackard/swarm-learning/blob/master/examples/mnist/README.md) are followed correctly, but error in step 10 appears. I think the issue is related to "Ethereum" and the creation of the blockchain layer, but I do not have more information about the error.

Can you check if the systems in which the nodes running are time synchronized?

@joaquingarciaatos please confirm, whether the issue is resolved post time synchronization using NTP?

Can you check if the systems in which the nodes running are time synchronized?

Can you check if the systems in which the nodes running are time synchronized?

Hi! I tried to check the nodes are time synchronized, and they are. But it didn't solve anything about the issue... Do you have any idea about what can be the issue?

The error might occur due to unsynchronized time between nodes, where even a slight time difference of few milli seconds can cause the issue. To resolve this, you can synchronize the nodes using NTP (Network Time Protocol). Afterward, restart the Docker service and try running the example again.

repo: HewlettPackard/swarm-learning


text:
Getting Service Unavailable when trying to import existing infra

terraform version
Terraform v0.11.14
+ provider.oneview (unversioned)

Your version of Terraform is out of date! The latest version
is 0.12.6. You can update by downloading from www.terraform.io/downloads.html

I am trying to terraform import as you described here
And this is the result:
Error: provider.oneview: Post https://10.XX.XX.XX/rest/login-sessions: Service Unavailable

here is my main.tf
provider "oneview" {
  ov_username = "BLABLABLA"
  ov_password = "BLABLABLA"
  ov_endpoint = "https://10.XX.XX.XX"
  ov_sslverify = false
  ov_apiversion = 600
  ov_domain = "LOCAL"
  ov_ifmatch = "*"
}

resource "oneview_logical_interconnect_group" "logical_interconnect_group" {
}
resource "oneview_logical_interconnect" "li"{
}

I can login to the OneView UI using a web-browser and also used curl to verify, actually that is how I discovered the ov_apiversion and ov_domain values:
curl -kL --noproxy "*" -H "X-Api-Version: 600" -H "Content-Type: application/json" -d '{"userName":"BLABLABLA","password":"BLABLABLA","authLoginDomain":"LOCAL","loginMsgAck":null}' https://10.XX.XX.XX/rest/login-sessions

And I get a session ID:
{"sessionID":"LTM5MDIwXXXXXXXXXXXXXXXXXXXXXXXXXXX","partnerData":{}}

So the service is available. Could you please advise?

I have realized that the OneView IP addresses were not defined in NO_PROXY, once they were defined, the import worked.


text:
Update dependencies

This pull request introduces updates for skeleton's dependencies

@adam-arold Could you merge it? 🙂 I don't have the rights to do so

Done!

authors: adam-arold falconepl


text:
Delta to Axis not appearing

Ive done everything said in the text and imported the plugins into the folder, but changes nothing, theres nothing new.

Right click the dll, choose properties and make sure it's not blocked.

repo: HidWizards/UCR-Plugins


text:
SharePoint monitor should run on an actual SP server

Only runs remotely right now

Works fine on the server, just requires the regular remote sessions to be set up. This is fine anyway in a multi-server farm, but might be an issue for single-server farms as it's definitely overkill then. Closing for now, pending demand

repo: HiltonGiesenow/PoShMon


text:
[BUG] 25 words instead of 24 when creating a new private key

Describe the bug
I was playing around with adding a new wallet to my chia. I clicked on "Create new private key" but instead of 24 fields with 24 words, I saw 25 of them.
To Reproduce
Steps to reproduce the behavior:
Click on the "Create new private key"
go back
Click on the "Create new private key"
go back
Click on the "Create new private key"
go back
Click on the "Create new private key"
go back
Click on the "Import from mnemonic (24 words)"
go back
Click on the "Create new private key"
go back
Click on the "Create new private key"
go back
Click on the "Create new private key"
That additional 25. field should appear
Expected behavior
As I know there should always be 24 words for mnemonic
Desktop
OS: Windows 10 PRO
OS Version: 21H1
OS Build: 19043.1202
CPU: Ryzen 7 3700x
Additional context
Please check the video I have sent to you in the zip file.
Added steps for reproducing the issue are not 100% sure. It may depend on how much times do you have to click on these buttons and to go back.
chives w01.zip

It's fixed in chia currently.
https://github.com/Chia-Network/chia-blockchain-gui/commit/6edcd4878aacc5e561c2033023a3ddd758e00c23

authors: LocoSlug harambasapp


text:
After initial 401 Error while trying to update token: 'EnphaseToken' object has no attribute 'update'

#4 is solved, this time I see missing attribute 'update'
Setup Enphase gateway
HTTP GET Attempt #1: https://192.168.3.112/production.json: Header:{'Authorization': 'Bearer <TOKEN'}
Received status_code 401 from Gateway
Request header: {'Authorization': 'Bearer <TOKEN>'}
Trying to update token
Error while trying to update token: 'EnphaseToken' object has no attribute 'update'

After HACS update and restart log changed to:
[custom_components.enphase_gateway.enphase_token] New Enphase owner Token valid until: 2024-07-02 20:28:23+00:00
[custom_components.enphase_gateway.gateway_reader.gateway_reader] Setup Enphase gateway
[custom_components.enphase_gateway.gateway_reader.gateway_reader] HTTP GET Attempt #1: https://192.168.3.112/production.json: Header:{'Authorization': 'Bearer <token>'}
[custom_components.enphase_gateway.gateway_reader.gateway_reader] Received status_code 401 from Gateway
[custom_components.enphase_gateway.gateway_reader.gateway_reader] Request header: {'Authorization': 'Bearer <token>'}
[custom_components.enphase_gateway.gateway_reader.gateway_reader] Trying to update token
[py.warnings] /config/custom_components/enphase_gateway/gateway_reader/gateway_reader.py:289: RuntimeWarning: coroutine 'EnphaseToken.update' was never awaited
  self._enphase_token.update()

Silly mistake. Should be finally fixed now.


text:
Keg.relocate_text_files performance is awful

Keg.relocate_text_files reads every single text file and libtool file in a bottle, replaces the cellar, prefix and repository placeholders (if any), and rewrites the files that need modifications. This process is single-handedly inflating bottle pouring time 10–100 times. A few examples I tested:

git: untar ~0.3s, relocate text files ~6s;
go: untar ~1.6s, relocate text files ~70s;
mysql: untar ~2.7s, relocate text files ~170s.

@zmwangx Thanks for filing this!

Looks like we're currently doing three separate passes over each file when we could just do one with multiple replacements. Not an asymptotic improvement, but ~3x isn't bad.

Scratch that; looks like the real bottleneck is in text_files, particularly running /usr/bin/file on every file and parsing the output. After some quick googling, I can't find a better way to determine whether a file is text or binary without bringing in external dependencies like ruby-filemagic.

A few options:

do that in parallel to try and speed it up
cache the files we actually rewrite in bottle.rb and store them with inside the bottle

authors: MikeMcQuaid jawshooah zmwangx

repo: Homebrew/brew


text:
Unable to uninstall adoptopenjdk cask

brew config output
HOMEBREW_VERSION: 3.3.10-58-g069ab08
ORIGIN: https://github.com/Homebrew/brew
HEAD: 069ab087f99fd183aee599bf785cb835d5868407
Last commit: 21 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 6e7ef3c8080bcb285cee2d1c6332c46562f49046
Core tap last commit: 6 minutes ago
Core tap branch: master
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CASK_OPTS: []
HOMEBREW_CORE_GIT_REMOTE: https://github.com/Homebrew/homebrew-core
HOMEBREW_DISPLAY: /private/tmp/com.apple.launchd.ElGdl325Tp/org.xquartz:0
HOMEBREW_EDITOR: vim
HOMEBREW_MAKE_JOBS: 4
Homebrew Ruby: 2.6.8 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.8/bin/ruby
CPU: quad-core 64-bit kabylake
Clang: 12.0.5 build 1205
Git: 2.30.1 => /Library/Developer/CommandLineTools/usr/bin/git
Curl: 7.64.1 => /usr/bin/curl
macOS: 11.4-x86_64
CLT: 12.5.0.22.11
Xcode: N/A

brew doctor output
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: A newer Command Line Tools release is available.
Update them from Software Update in System Preferences or run:
  softwareupdate --all --install --force

If that doesn't show you any updates, run:
  sudo rm -rf /Library/Developer/CommandLineTools
  sudo xcode-select --install

Alternatively, manually download them from:
  https://developer.apple.com/download/all/.
You should download the Command Line Tools for Xcode 13.1.

Warning: Some installed kegs have no formulae!
This means they were either deleted or installed with `brew diy`.
You should find replacements for the following formulae:
  python@2

Warning: Some installed formulae are deprecated or disabled.
You should find replacements for the following formulae:
  ilmbase
  sdl
  sdl_image
  sdl_mixer
  sdl_ttf
  sshfs

Warning: Unbrewed header files were found in /usr/local/include.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected header files:
  /usr/local/include/ffi-x86_64.h
  /usr/local/include/ffi.h
  /usr/local/include/ffitarget-x86_64.h
  /usr/local/include/ffitarget.h

Warning: Unbrewed '.pc' files were found in /usr/local/lib/pkgconfig.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected '.pc' files:
  /usr/local/lib/pkgconfig/libffi.pc

Warning: You have unlinked kegs in your Cellar.
Leaving kegs unlinked can lead to build-trouble and cause formulae that depend on
those kegs to fail to run properly once built. Run `brew link` on these:
  python@2
  imath
  six

Verification

[X] I ran brew update and am still able to reproduce my issue.
[X] I have resolved all warnings from brew doctor and that did not fix my problem.

What were you trying to do (and why)?
I am trying to uninstall adoptopenjdk because I don't need it.
What happened (include all command output)?
The cask was reported to be uninstalled.
What did you expect to happen?
The cask to uninstall and not show up on brew list --cask.
Step-by-step reproduction instructions (by running brew commands)
❯ brew list --cask
adobe-acrobat-reader   curseforge             eclipse-java           grammarly              minecraft              qbittorrent            steam                  vlc
adoptopenjdk           daisydisk              fontforge              graphiql               osxfuse                rar                    sublime-text           webstorm
balenaetcher           discord                google-chrome          iterm2                 parsec                 shottr                 teamviewer             zoom
cloudflare-warp        docker                 google-drive           league-of-legends      pycharm                spotify                termius
❯ brew uninstall adoptopenjdk
Error: Cask 'adoptopenjdk' is not installed.

Please run the command
rm -r "$(brew --prefix)/Caskroom/adoptopenjdk"

which should fix your issue.

brew uninstall should probably know to fall back on that, I think.

brew uninstall should probably know to fall back on that, I think.

This was very helpful for me as well. Thank you!

authors: PythonCoderAS carlocab miccal surety


text:
brew reports minimum supported version of Xcode, not actual version

When running brew doctor or brew config I see the following:
Warning: Your Xcode (8.0) is outdated.
Please update to Xcode 8.2 (or delete it).
Xcode can be updated from the App Store.

...
Xcode: 8.0 => /Users/Samantha/Desktop/faux-code.app/Contents/Developer
...

This can be demonstrated by taking any system with 10.12.x without Xcode.app installed (but with CLT), and make a copy of any application, and change the bundle identifier to be com.apple.dt.Xcode so it gets picked up as "Xcode".  In this circumstance brew will not read the actual version number of the bundle and assumes that it must be 8.0 (minimum version supported on 10.12).
(I was going to submit a PR with a fix for this but the complexity of the related code seems a bit too complicated for my ability with ruby, it seems related to the defaults in the code in Library/Homebrew/os/mac/xcode.rb and Library/Homebrew/extend/os/mac/diagnostic.rb)

I'm not sure I understand the issue. Why is the bundle identifier matching Xcode if it's not Xcode?

That is done to demonstrate the problem, that the reported version from brew isn't actually representative of the version of Xcode found.

What version of Xcode is it? Thanks!

I don't understand your question, my problem is that brew is telling me it found Xcode but is not reporting the version number from the info.plist at the path it found. I don't see how that relates to what the actual number is found in this specific install on my machine?

I don't see how that relates to what the actual number is found in this specific install on my machine?

I'm trying to understand what the actual bug is that doesn't involve incorrectly setting bundle identifiers. If there's a version of Xcode installed in a weird location: what version is it?

Let me try to explain this again, because it seems like I did poorly the first time:

The behavior I am observing from brew is that reports that it has detected an installation of Xcode when there is an application bundle with the identifier of com.apple.dt.Xcode that is able to be found.

(expected behavior)

brew reports that the version found is not the most recent version, and that I should update it.

(expected behavior)

Based on the code, it doesn't seem that brew is actually querying the version number from the Info.plist of the bundle that has the identifier of com.apple.dt.Xcode. It instead, assumes that it is the minimum supported version of the OS version you are running.

(unexpected behavior)

So, as a result, brew is showing me the the number 8.0 as part of the reports i posted in this issue originally. The problem isn't with the specific version number I have, but with brew giving me misleading/incorrect information about that number.

Based on the code, it doesn't seem that brew is actually querying the version number from the Info.plist of the bundle that has the identifier of com.apple.dt.Xcode. It instead, assumes that it is the minimum supported version of the OS version you are running.
(unexpected behavior)
So, as a result, brew is showing me the the number 8.0 as part of the reports i posted in this issue originally. The problem isn't with the specific version number I have, but with brew giving me misleading/incorrect information about that number.

Ok, I think I understand. We don't query the Info.plist but instead use either the xcodebuild in the Xcode.app or on the system if it's not found. That's why I'm asking about the Xcode version.

And if that is not found what do you do? because right now it seems like it reports incorrectly if it cannot locate a version of xcodebuild.

Yes, that's probably correct. Again, though, can we bring this back to a real-world example? Do you have an working, normal Xcode where it can't find xcodebuild? If so, what version is it?

Why would one expect an app that isn't Xcode, but has been cleverly spoofed to look like Xcode, to be correctly identified as a fake by Homebrew?

I don't understand why everyone is getting stuck up on this "fake Xcode" thing. The path you are identifying by looking up the bundle identifier has nothing to do with the selected Xcode version via xcode-select (which was fixed only recently by @MikeMcQuaid). The issue i'm filing here is that brew reports about the found Xcode.app bundle in a way that is incorrect and misrepresentative to the user.

Sorry, @samdmarshall but if you're not going to answer the questions I've asked I'm not going to be able to even attempt to fix this.

Sorry? I'm pointing out that whatever xcodebuild returns is irrelevant as that uses a completely different means of lookup from the mdfind query, so using that as a means of reporting version is incorrect.

I need answers to these questions if you'd like this fixed:

What version of Xcode is it?
Do you have an working, normal Xcode where it can't find xcodebuild? If so, what version is it?

Without answers for them as far as I can tell the issue is "if I set a bundle identifier to the same as Xcode's weird things happen" which I'm considering a WONTFIX.

Also, to be explicit (and I know this needs to be documented): closed issues on Homebrew don't necessarily mean "this is not a bug" but just "this is not something we plan on addressing in the near future". We're extremely understaffed on Homebrew/brew given the scale of the project and I need to try and keep the number of issues here manageable and triaged accordingly.

authors: MikeMcQuaid chdiza samdmarshall


text:
brew tap-new creates a broken Travis config

When a user (like me) runs brew tap-new, a YAML file is created which will cause failures to build with an error like so:
$ ln -s "$PWD" "$HOMEBREW_TAP_DIR"
ln: /usr/local/Homebrew/Library/Taps/killerswan/homebrew-sample: No such file or directory

The command "ln -s "$PWD" "$HOMEBREW_TAP_DIR"" failed and exited with 1 during .

I believe the code which creates the .travis.yml file is here in tap-new.rb.
In that script:

$TRAVIS_REPO_SLUG is a path like killerswan/homebrew-sample, and
$HOMEBREW_TAP_DIR is a path like /usr/local/Homebrew/Library/Taps/killerswan/homebrew-sample.

If /usr/local/Homebrew/Library/Taps/killerswan doesn't already exist, that call to ln -s is trying to create a link at killerswan/homebrew-sample but cannot find killerswan, so it fails.
One workaround is to insert some $(dirname ...) calls.

What directory are you in, as in what is the value of "$PWD"?

authors: JCount killerswan


text:
Bypass searching for open Issues when failing to install a formula without a tap

Given a formula with a broken build, if you install it locally with brew install path/to/formula.rb, when the build fails, Homebrew will attempt to search for open issues on the tap; but in this case formula.tap is nil and tap.full_name would raise a NoMethodError yielding this output:
$ brew install ./erg.rb
Error: Failed to load cask: ./erg.rb
Cask 'erg' is unreadable: wrong constant name #<Class:0x00007fd89b246cd0>
Warning: Treating ./erg.rb as a formula.
==> Downloading https://github.com/square/erg/archive/v1.1.1.tar.gz
Already downloaded: /Users/lail/Library/Caches/Homebrew/downloads/54e3fce84302901d76d50b53aa7fe760cfcf81c9842a232d6b29e771de6ec9c5--erg-1.1.1.tar.gz
Warning: Cannot verify integrity of '54e3fce84302901d76d50b53aa7fe760cfcf81c9842a232d6b29e771de6ec9c5--erg-1.1.1.tar.gz'.
No checksum was provided for this resource.
For your reference, the checksum is:
  sha256 "8dbcff3dfd67b8f6e8f2dfd4f57cf818ce0cd6ce4b52566611e698fc8778507f"
==> go get github.com/square/erg
Last 15 lines from /Users/lail/Library/Logs/Homebrew/erg/01.go:
2021-12-02 16:45:31 +0000

go
get
github.com/square/erg

go: downloading github.com/square/erg v1.2.1
go: downloading vbom.ml/util v0.0.3
go: downloading vbom.ml/util/sortorder v1.0.2
go: downloading github.com/square/grange v0.0.0-20201015231752-48d66acdd125
go: downloading github.com/deckarep/golang-set v0.0.0-20170202203032-fc8930a5e645
go: downloading github.com/fvbommel/sortorder v1.0.1
go: downloading github.com/orcaman/concurrent-map v0.0.0-20160823150647-8bf1e9bacbf6
github.com/square/erg imports
	vbom.ml/util/sortorder: cannot find module providing package vbom.ml/util/sortorder

Do not report this issue to Homebrew/brew or Homebrew/core!

/usr/local/Homebrew/Library/Homebrew/utils/github.rb:64:in `issues_for_formula': undefined method `full_name' for nil:NilClass (NoMethodError)
	from /usr/local/Homebrew/Library/Homebrew/exceptions.rb:489:in `fetch_issues'
	from /usr/local/Homebrew/Library/Homebrew/exceptions.rb:485:in `issues'
	from /usr/local/Homebrew/Library/Homebrew/exceptions.rb:539:in `dump'
	from /usr/local/Homebrew/Library/Homebrew/brew.rb:155:in `rescue in <main>'
	from /usr/local/Homebrew/Library/Homebrew/brew.rb:143:in `<main>'
/usr/local/Homebrew/Library/Homebrew/formula.rb:2306:in `block in system': Failed executing: go get github.com/square/erg (BuildError)
	from /usr/local/Homebrew/Library/Homebrew/formula.rb:2242:in `open'
	from /usr/local/Homebrew/Library/Homebrew/formula.rb:2242:in `system'
	from /Users/lail/Code/homebrew-formulas/erg.rb:13:in `install'
	from /usr/local/Homebrew/Library/Homebrew/build.rb:172:in `block (3 levels) in install'
	from /usr/local/Homebrew/Library/Homebrew/utils.rb:588:in `with_env'
	from /usr/local/Homebrew/Library/Homebrew/build.rb:134:in `block (2 levels) in install'
	from /usr/local/Homebrew/Library/Homebrew/formula.rb:1297:in `block in brew'
	from /usr/local/Homebrew/Library/Homebrew/formula.rb:2472:in `block (2 levels) in stage'
	from /usr/local/Homebrew/Library/Homebrew/utils.rb:588:in `with_env'
	from /usr/local/Homebrew/Library/Homebrew/formula.rb:2471:in `block in stage'
	from /usr/local/Homebrew/Library/Homebrew/resource.rb:126:in `block (2 levels) in unpack'
	from /usr/local/Homebrew/Library/Homebrew/download_strategy.rb:115:in `chdir'
	from /usr/local/Homebrew/Library/Homebrew/download_strategy.rb:115:in `chdir'
	from /usr/local/Homebrew/Library/Homebrew/download_strategy.rb:102:in `stage'
	from /usr/local/Homebrew/Library/Homebrew/resource.rb:122:in `block in unpack'
	from /usr/local/Homebrew/Library/Homebrew/mktemp.rb:63:in `block in run'
	from /usr/local/Homebrew/Library/Homebrew/mktemp.rb:63:in `chdir'
	from /usr/local/Homebrew/Library/Homebrew/mktemp.rb:63:in `run'
	from /usr/local/Homebrew/Library/Homebrew/resource.rb:208:in `mktemp'
	from /usr/local/Homebrew/Library/Homebrew/resource.rb:121:in `unpack'
	from /usr/local/Homebrew/Library/Homebrew/resource.rb:96:in `stage'
	from /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.8/lib/ruby/2.6.0/forwardable.rb:230:in `stage'
	from /usr/local/Homebrew/Library/Homebrew/formula.rb:2451:in `stage'
	from /usr/local/Homebrew/Library/Homebrew/formula.rb:1290:in `brew'
	from /usr/local/Homebrew/Library/Homebrew/build.rb:129:in `block in install'
	from /usr/local/Homebrew/Library/Homebrew/utils.rb:588:in `with_env'
	from /usr/local/Homebrew/Library/Homebrew/build.rb:124:in `install'
	from /usr/local/Homebrew/Library/Homebrew/build.rb:224:in `<main>'

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.
[x] Have you successfully run brew style with your changes locally?
[x] Have you successfully run brew typecheck with your changes locally?
[x] Have you successfully run brew tests with your changes locally?

Semantically, I feel it makes more sense to move the check to whatever is calling this. GitHub.issues_for_formula("hello", tap: nil) sounds wrong to me.

@Bo98, I can see that. Maybe this change instead?
  def fetch_issues
+   return [] unless formula.tap
+
    GitHub.issues_for_formula(formula.name, tap: formula.tap, state: "open")
  rescue GitHub::API::RateLimitExceededError => e
    opoo e.message
    []
  end

LGTM :+1:

Thanks again @boblail!

authors: Bo98 MikeMcQuaid boblail


text:
Update display of requirements

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[x] Have you written new tests for your changes? Here's an example.
[x] Have you successfully run brew style with your changes locally?
[x] Have you successfully run brew tests with your changes locally?
[x] Have you successfully run brew man locally and committed any changes?

Update how requirements are displayed in brew info [--json], when calling their inspect() methods, and their error messages when they aren't met. I added capitalization and version numbers where possible to distinguish them from formula names at a glance.

Thanks again @EricFromCanada!

authors: EricFromCanada MikeMcQuaid


text:
Add autoremove

Follow up to #8683

[x] Have you followed the guidelines in our Contributing document?
[ ] Have you checked to ensure there aren't other open Pull Requests for the same change?
[ ] Have you added an explanation of what your changes do and why you'd like us to include them?
[x] Have you written new tests for your changes? Here's an example.
[x] Have you successfully run brew style with your changes locally?
[x] Have you successfully run brew tests with your changes locally?
[ ] Have you successfully run brew man locally and committed any changes?

Is there a mechanism to mark a non-leaf package as installed on request? If not, it would be a good target for a follow-up pull request.

brew install it. Even if it's already installed, it'll be marked as "installed on request".

Is there a mechanism to mark a non-leaf package as installed on request? If not, it would be a good target for a follow-up pull request.

brew install it. Even if it's already installed, it'll be marked as "installed on request".

I was thinking about this as well. How about the reverse? Is there a way to unmark it?

Is there a way to unmark it?

No, not really. brew uninstall it, let it be pulled in by a brew install or brew upgrade.

(run brew man again and commit the result)

Thanks for getting this over the line, great work @tie624!


text:
Revert "untap: add --force switch"

Reverts Homebrew/brew#9422

Review period skipped due to critical label.

Review period skipped due to critical label.

authors: BrewTestBot MikeMcQuaid


text:
Error: undefined method `undent'

Hi,
I ran brew cask cleanup
and brew cask cleanup
One of them returned an error with undent
and homebrew asked me to report the error.
so here it is :)
Error: undefined method `undent' for #<String:0x0000000102c8a160>
Please report this bug:
    https://github.com/Homebrew/homebrew-bundle/issues/
/usr/local/opt/sonar-runner/.brew/sonar-runner.rb:23:in `caveats'
/usr/local/Homebrew/Library/Homebrew/formula.rb:1591:in `to_hash'
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-bundle/lib/bundle/brew_dumper.rb:89:in `block in formulae_info'
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-bundle/lib/bundle/brew_dumper.rb:89:in `map'
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-bundle/lib/bundle/brew_dumper.rb:89:in `formulae_info'
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-bundle/lib/bundle/brew_dumper.rb:18:in `formulae'
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-bundle/lib/bundle/brew_dumper.rb:40:in `cask_requirements'
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-bundle/lib/bundle/dumper.rb:22:in `dump_brewfile'
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-bundle/lib/bundle/commands/dump.rb:9:in `run'
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-bundle/cmd/brew-bundle.rb:63:in `<top (required)>'
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/usr/local/Homebrew/Library/Homebrew/utils.rb:18:in `require?'
/usr/local/Homebrew/Library/Homebrew/brew.rb:106:in `<main>'

BTW, $ brew doctor reports no problems

Do you mean you ran brew bundle cleanup or brew bundle dump?

Hi,
Sorry. I don't recall exactly... hampered by the fact that I use a script to update brew regularly...
brew update
brew upgrade
brew cask cleanup
brew cleanup

brew bundle dump --force --file=~/Dropbox/Apps/"$hostname"_Brewfile

Those are the commands I run. One of them resulted in the exception.
So it looks like it was $ brew bundle dump to answer your question.

Thanks for answering. Should be fixed now.

authors: MikeMcQuaid jschank

repo: Homebrew/homebrew-bundle


text:
Recommended way to have previously installed (outside of bundle) cask applications treated as installed?

My use case is running a Brewfile on a machine that already has some of the cask dependencies installed. Running brew bundle install several times results in output like the following every time:
==> Downloading https://downloads.slack-edge.com/releases/macos/4.12.2/prod/x64/Slack-4.12.2-macOS.dmg
Already downloaded: /Users/simensen/Library/Caches/Homebrew/downloads/427b2130fb060c1fb365430410d4f02271976427a444f21289213a0713894ee9--Slack-4.12.2-macOS.dmg
==> Installing Cask slack
Error: It seems there is already an App at '/Applications/Slack.app'.
==> Purging files for version 4.12.2 of Cask slack
Installing slack has failed!

I get that it is deciding to not overwrite the app. That makes sense. However, it would be nice to have either of the two options at this point:

Somehow inform brew bundle that this dependency was already installed
Somehow inform brew bundle install to install it anyway, likely with something like --force?

I tried brew bundle install --force but that did not seem to do what I'd expect. It seems like in #258, brew cask install slack --force would "fix" this in that it would actually replace the already existing installed application. I'd actually be fine with that behavior. However, it doesn't seem like brew bundle install --force is doing that. I'm... not exactly sure what --force means in this context, either, since the help docs are hard for me to understand. It looks like --force isn't actually doing anything at all for brew bundle install but I could be reading it incorrectly.

It looks like --force isn't actually doing anything at all for brew bundle install but I could be reading it incorrectly.

Correct. This isn't something that's currently supported (as you've noticed) and given there's a workaround (run the brew install --force command or manually delete it) I'm going to close this out. If you're interested, this does feel like something that would be a nice PR, though!

It looks like --force isn't actually doing anything at all for brew bundle install but I could be reading it incorrectly.

Correct. This isn't something that's currently supported (as you've noticed) and given there's a workaround (run the brew install --force command or manually delete it) I'm going to close this out. If you're interested, this does feel like something that would be a nice PR, though!

authors: MikeMcQuaid simensen


text:
stone-soup: fix sqlite link error

A kind of hot fix for sqlite linker error on Sierra (#691) by making it build its own static version of sqlite. Seems to work fine at least on my local machine. Yet, we'd better need to understand the root cause of the problem.

Merged. Thank you for your contribution to Homebrew!

authors: apjanke tomyun

repo: Homebrew/homebrew-games


text:
Yarp compilation failed in Yosemite

Hi All!
I'm trying to compile yarp for Os X (Yosemite) but I'm having this issue:
ws120582:~ David$ brew install yarp
==> Installing yarp from homebrew/homebrew-x11
==> Downloading https://github.com/robotology/yarp/archive/v2.3.63.tar.gz
Already downloaded: /Library/Caches/Homebrew/yarp-2.3.63.tar.gz
==> cmake -DCMAKE_C_FLAGS_RELEASE= -DCMAKE_CXX_FLAGS_RELEASE= -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/yarp/2.3.63 -DCMAKE_BUILD_TYPE=Release -DCMAKE_
linked by target "gyarpmanager" in directory /tmp/yarp20150522-31453-8yzzi8/yarp-2.3.63/src/yarpmanager/gymanager
-- Configuring incomplete, errors occurred!
See also "/tmp/yarp20150522-31453-8yzzi8/yarp-2.3.63/CMakeFiles/CMakeOutput.log".
See also "/tmp/yarp20150522-31453-8yzzi8/yarp-2.3.63/CMakeFiles/CMakeError.log".
READ THIS: https://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/homebrew):
https://github.com/homebrew/homebrew-x11/issues
No idea how to make it compile properly.
Thanks a lot for the help
David

Could you post brew gist-logs yarp?

Ping?

authors: Dazzid DomT4 dunn


text:
libewf fails if CLT not installed

brew install --build-from-source libewf is failing with a link error for me on 10.9 and 10.11 w/o CLT installed. Works on a CLT-installed 10.9 box.
https://gist.github.com/53c26e62c1cd57d3023e
/bin/sh ../libtool --tag=CC   --mode=link clang  -g -O2 -Wall   -o ewfacquire byte_size_string.o digest_hash.o device_handle.o ewfacquire.o ewfinput.o ewfoutput.o guid.o imaging_handle.o log_handle.o platform.o process_status.o storage_media_buffer.o ../libodraw/libodraw.la ../libsmdev/libsmdev.la ../libsmraw/libsmraw.la ../libhmac/libhmac.la -lcrypto -ldl ../libcsystem/libcsystem.la ../libcsplit/libcsplit.la ../libcdatetime/libcdatetime.la ../libewf/libewf.la ../libcnotify/libcnotify.la ../libclocale/libclocale.la ../libcerror/libcerror.la ../libcstring/libcstring.la  -lbz2
libtool: link: clang -g -O2 -Wall -o .libs/ewfacquire byte_size_string.o digest_hash.o device_handle.o ewfacquire.o ewfinput.o ewfoutput.o guid.o imaging_handle.o log_handle.o platform.o process_status.o storage_media_buffer.o  ../libodraw/.libs/libodraw.a ../libsmdev/.libs/libsmdev.a ../libsmraw/.libs/libsmraw.a ../libhmac/.libs/libhmac.a -lcrypto ../libcsystem/.libs/libcsystem.a ../libcsplit/.libs/libcsplit.a ../libcdatetime/.libs/libcdatetime.a ../libewf/.libs/libewf.dylib -L/usr/lib -lz -ldl -lpthread ../libcnotify/.libs/libcnotify.a ../libclocale/.libs/libclocale.a ../libcerror/.libs/libcerror.a ../libcstring/.libs/libcstring.a -lbz2
Undefined symbols for architecture x86_64:
  "_ERR_remove_thread_state", referenced from:
      _libhmac_md5_initialize in libhmac.a(libhmac_md5.o)
      _libhmac_md5_free in libhmac.a(libhmac_md5.o)
      _libhmac_sha1_initialize in libhmac.a(libhmac_sha1.o)
      _libhmac_sha1_free in libhmac.a(libhmac_sha1.o)
      _libhmac_sha256_initialize in libhmac.a(libhmac_sha256.o)
      _libhmac_sha256_free in libhmac.a(libhmac_sha256.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [ewfacquire] Error 1
make: *** [install-recursive] Error 1

I cannot reproduce this issue.

authors: apjanke ilovezfs

repo: Homebrew/legacy-homebrew


text:
Add conda-store

https://github.com/Quansight/conda-store

Stay with Poetry which is very mature.


text:
Make the Save (Add, Update) buttons always visible

The request is that any button to Save (Add or Update) would always be visible. Users would not need to scroll to the bottom of a page to find the button.    This could mean placing a second copy of the button at the top of the screen.   Request is to make this a standard across Hospital Run

@jglovier what do you think about this idea?  Any thoughts on how we might accomplish this - eg floating button as you scroll, or just a button at the top?

we can push the button near the header,once the user clicks for edit/save.

@ShadabQ I'm not sure I follow what you are suggesting.  Can you explain further what you mean?

@jkleinsc i am suggesting something like this

@jkleinsc :i am suggesting something like this

@ShadabQ I like where you are heading with that concept. I think we could rethink the screen header a bit (as is that would mean three equal weight buttons which are not all grouped together), but the idea of solving this problem by putting the button in that header area could work.
Honestly, I don't think we need the new patient button in that region anyway. If anything, the action there should probably be view all or something that takes you back to the patient index. Or, the save button could just be the primary header call to action.

Agree with @jglovier  New patient is not needed.  Really do not think you are going to edit a patient, then move to adding new patients, from a workflow perspective.

@jglovier @mnorbeck I agree,seems logical.Additionally we do have a new patient on left hand menu.

Is anybody taking up this issue? If not, I would like to take up this issue. @tangollama

@kartik95  It looks like you are working on this one.  Is that right?  Just wanted to make sure two people aren't working on the same issue unknowingly.

So, what I get is that we need to have add or update buttons always on the top and 'new user' button not required while editing or creating a user. Right? @ShadabQ @jglovier

@kartik95  you may find the suggestions over here
https://github.com/HospitalRun/hospitalrun-frontend/pull/656

@kartik95 were you able to complete this one?

There have been a couple PRs against this issue and I've come to the realization that this issue really needs some better requirements and/or architectural design before work is started on it.  I am pulling off the help wanted/hacktoberfest labels off of this issue until we can sort out architecturally/UX/requirements wise what we want to do.  Please don't work on this issue until this has been clarified
The main problem is that the location @jglovier has suggested to place the buttons is controlled by the "section" template, but placing buttons in there really messes up firing actions on those buttons because hierarchically speaking the section is at a higher level than the edit screen, so you need someway to push the action down to the controller.
Ideally what should happen is the "section"/module idea needs to be refactored into components so that we can properly handle actions. Also, the title/button bar probably belongs in the edit-panel/item-listing components as opposed to the section which would make this problem easier to solve.

If i may.
I would suggest having that/those button/s at the bottom right end of the page.
And why not visible if the page doesn't scroll (is smaller than the screen's size).
If the page is longer than screen size, the button is style visible on ready, but hides when you start scrolling down. Shows back up when you scroll back up.
This way you can have as many buttons as you may, and are not obtrusive.
Also if the showing/hiding of those buttons is slightly but visibly animated in some nice googley material style.
Plus if the app is somehow used packaged in a touch-screen device, this makes those buttons instantly accessible to a thumb, while still easy to reach for cursor navigating users.

authors: Marinlemaignan ShadabQ jglovier jkleinsc jscottchapman kartik95 mdarmani mnorbeck

repo: HospitalRun/hospitalrun-frontend


text:
Tenants

Describe the feature
I would like to use Houdini in the project I am currently working on. The system with the GraphQL API the client would connect to have different tenants. A client must set the header X-Tenant with the ID of the tenant to use a specific tenant when making a request. The tenant the user is using is decided by the URL, as each path is prefixed with /tenant/[tenantID]. This works very nicely with SvelteKit, as every page simply is located under /src/tenant/[tenantID].
However, I do not see any obvious way to pass the tenant ID to the fetchQuery function in client.js. I have thought about a few workarounds, but everyone has failed since certain users have access to more than one tenant and they need to be able to switch between tenants within the SPA. This creates a case where Houdini’s built-in caching need to be aware of what tenant the users are requesting data for so that responses can be cached separately for each tenant.
One method I have tried is to get the tenant from the URL in the Variables function and set it as a variable. However, this would mean that some logic needs to be implemented to set the tenant in each GraphQL query that is made, which is repetitive. Additionally, not all queries will have variables, which would mean variables need to be added unnecessarily. Also, in principle, a tenant ID is not really a variable as it is not passed as a variable to the GraphQL query on the server but handled using different logic.
To me, metadata looks like a good match for a location where the tenant could be located. However, I am using the standard declarative form of defining that a page requests a query, i.e:
import type { PageData } from "./$houdini";
export let data: PageData;
$: ({ GetEntities } = data);

// When using the data in the view.
$GetEntities.data?.entities

You have a guide on your website where you describe that metadata can be used when using the more imperative .fetch() method but I cannot find any information about the standard declarative form. I have researched your source code to some extent and to me, it looks like this is currently not possible.
Also, does the caching mechanism regard metadata? Because, if not, then using metadata to specify the tenant would not be possible.
Preferably, I would like an API where it would be possible to add the tenant ID to the metadata in a load function located in /src/tenant/[tenantID]/+page.ts as this would mean the tenant would be cascaded to all pages.
As a plan B, would it be otherwise possible to have a middleware where a variable could be injected? This would preferably be in /src/tenant/[tenantID]/+page.ts just as with the case described above. However, a global middleware would be fine if it is invoked each page change not just on the server but also on the client as well. It would be okay for me with such a solution even though a tenant ID is not a variable in principle.
I am going to continue investigating your source code and might propose a solution if I find one.
Criticality
waiting for it to switch all my project to Houdini

I researched the code further and found out that only the variables are used when caching and not the metadata. Thus, it seems like some kind of variable middleware would be needed.

Oh, very interesting 🤔 I'll have to think a little bit about how to support this. You're correct that there isn't an immediately obvious solution.
Are the IDs globally unique across tenants? Once we do have a way to point your queries to the right API, we need to make sure that the IDs are unique so the cache doesn't get confused.

The IDs for the entities belonging to a certain tenant are globally unique across tenants in our backend implementation, as they refer to database keys of rows that also each have a foreign key to a tenant. However, I need to support operations that does not include a key, such as listing all entries of a certain entity within the tenant (with or without pagination). In this case, no ID is included as a query variable. Additionally, a popular alternative to the described tenant implementation is to have one database per tenant, which means the entry IDs would not be unique.
I researched the code further and saw that logic exists to only cache variables that are used by the query, so even though I have managed to inject the tenant ID in the variables, it won’t be cached. Yet, as I’ve understood it, we users can pass any arbitrary data as metadata, so if the metadata is cached and can be provided from /src/tenant/[tenantID]/+page.ts, it could be a good match for specifying a tenant ID.
I am going to investigate how metadata could be cached today. I would like to propose that two callbacks could be injected: one to add or modify the metadata and one to compare two metadata objects so that the caching mechanism could differentiate between two metadata instances and cache the results separately. Additionally, since probably only a subset of the library’s users will use this functionality, I propose that metadata caching only would be done if a comparator callback has been provided. What do you think about this?

Sorry, I just realized what you are talking about. Since you cache the result on an entry basis, errors would be introduced if you just looked at the IDs of the individual entries without regarding the tenant. Simply “caching the metadata” as I proposed would not work here. In my case, this would not be an issue since the IDs are unique anyway, but it would not work if the tenants were stored in different databases. I guess each entry would have to be identified using a pair containing the tenant ID and the entity ID.
Nevertheless, I think being able to inject metadata when using the declarative form would still be a good idea, as it would mean the metadata feature would be accessible with this type of syntax and not just from .fetch().

I have managed to create a solution where it’s possible to inject variables through a middleware while ensuring that these extra variables are included in the cache key. You can see it at this link: https://github.com/oborgen/houdini Only packages/houdini-svelte/src/runtime/stores/query.ts and packages/houdini/src/runtime/cache/stuff.ts have been updated. Notice that entries with the same ID in different tenants would probably not work.

@AlecAivazis Have you thought anything more about this? I have a proposal: The file packages/houdini/src/runtime/cache/index.ts currently contains a global instance of Cache. This could be replaced with an object that maps tenants (as strings) to Cache instances. Then, getCache() would have to accept a tenant, which it could use to look up the correct Cache instance. This would ensure isolation between tenants from what I can see. However, each time anything is queried, mutated, subscribed to, etc, the tenant would have to be specified (with a default value of course as most users will not have to deal with tenants).
It would be quite nice to have some way to set the tenant once (based on what page is loaded, etc) instead of having to set it on each request. One way this might be possible would be to use Svelte's setContext/getContext, which would mean users could set the tenant with setContext when a page is loading and then getCache could get it using getContext so that the right cache could be returned. However, an immediate roadblock to this is that LayoutSessionStore.getConfig calls getCache outside of any component initialization, which causes an exception to be thrown when calling getContext. The configuration could probably be something the Cache instances could share but I haven't investigated how that currently works.
Another potential problem with setContext/getContext might be that many stores seem to be created as global instances, which might cause problems. However, to me, most of them seem to be bound to specific pages, which possibly could make it so the correct tenants would be returned from getContext. What’s your opinion on this?

Sorry i haven't reponded here @samuel-utbult-oborgen. I've been super busy with work and the 1.0 release. My overall feeling is that your situation is very specific and it's hard to imagine that there would be a universal way to address this as part of houdini's core.
I think the best approach would be to put together a custom plugin that does whatever is necessary. One thing you could explore is having a plugin that changes the logic of the generated runtime. That would let you customize the behavior to fit your exact needs. Let me know if that sounds like something you want to explore and we can talk through the options/steps.

It's fine. I have been busy with other things as well. My current workaround is to put data-sveltekit-reload on any link that changes which tenant the user is currently using. This effectively means the cache is cleared when switching tenants. As you write, some kind of plugin could be useful as long as it could overwrite the behavior of getCache to maintain separate cache instances for the different tenants. Do you have any plans to introduce support for plugins to the library? I am not a Javascript-expert, but as far as I understand, patterns like monkey-patching can be used to interfere with the behavior of existing functions. I can look into that when I have time.

Do you have any plans to introduce support for plugins to the library?

Yes! In fact, the svelte bindings are one such plugin to the core houdini infrastructure. There are already a few people in the wild who have custom plugins to fit their needs so it's definitely doable. Only big hurdle is that it's not really documented yet since I want to reserve the ability to change it but if this is something you want to explore I can point you in the right direction (or we can chat on discord if that works better for you).

In https://github.com/HoudiniGraphql/houdini/tree/main/packages, you can already see a few plugin examples:

houdini-svelte
houdini-plugin-svelte-global-stores (not released yet)

Thank you. I can look into how those plugins work to see how a tenants plugin could be implemented.

Awesome! For a better overview of all of the hooks that a plugin can implement, here is a diagram that should be up to date: https://app.excalidraw.com/l/5mJ4nb9Inaz/7QsnYkLMbK3

repo: HoudiniGraphql/houdini


text:
Report all ajax errors to Sentry

This helps us debug errors by including more context about any
failed requests.
cc @gchomatas @jonathanwgoodwin

Decided that I don't actually need this anymore

repo: HubSpot/Blazar


text:
Missing 0.19.0 on docker hub

We were working on some integration tests with 0.19.0 and found that there is no release here for the 0.19.0 release:
https://hub.docker.com/r/hubspot/singularityservice/tags/
That repo has been very handy for testing things in the past. Should we expect an update now that 0.19.0 is out?

Odd, I thought I already pushed those images. Will get those up there in the morning 👍

:+1: thanks so much.

Just pushed up the images 👍

authors: carlf ssalinas

repo: HubSpot/Singularity


text:
Command to run two nodes and a relay fails on second run

Overview
Attempts to provision for same node twice
Steps to Reproduce
Run ❯ kurtosis run . '{"action":"setup_relay","relay":{"name":"btp","links": {"src": "icon", "dst": "eth"},"bridge":"false"}}' --enclave btp twice
Expected Behavior
Should either only attempt to provision if node is not already running, or provision new nodes.
Device Information
Desktop (please complete the following information):

OS: MacOS Monterey
Version 12.2.1

Additional Context
There was an error validating Starlark code
Error while validating instruction upload_files(src="github.com/hugobyte/chain-package/services/jvm/icon/static-files/config/", name="config-files-0"). The instruction can be found at github.com/hugobyte/chain-package/services/jvm/icon/src/node-setup/start_icon_node.star[29:22]
Caused by: There was an error validating 'upload_files' as artifact name 'config-files-0' already exists
There was an error validating Starlark code
Error while validating instruction upload_files(src="github.com/hugobyte/chain-package/services/jvm/icon/static-files/contracts/", name="contracts-0"). The instruction can be found at github.com/hugobyte/chain-package/services/jvm/icon/src/node-setup/start_icon_node.star[30:22]
Caused by: There was an error validating 'upload_files' as artifact name 'contracts-0' already exists
There was an error validating Starlark code
Error while validating instruction add_service(name="icon-node-0", config=ServiceConfig(image="iconloop/goloop-icon:v1.3.5", ports={"rpc": PortSpec(number=9080, transport_protocol="TCP", application_protocol="http")}, public_ports={"rpc": PortSpec(number=8090, transport_protocol="TCP", application_protocol="http")}, files={"/goloop/config/": "config-files-0", "/goloop/contracts/": "contracts-0"}, cmd=["/bin/sh", "-c", "/goloop/config/start-icon-0.sh"], env_vars={"GOLOOP_LOG_LEVEL": "trace", "GOLOOP_P2P": ":8080", "GOLOOP_P2P_LISTEN": ":7080", "GOLOOP_RPC_ADDR": ":9080", "ICON_CONFIG": "/goloop/config/icon_config.json"})). The instruction can be found at github.com/hugobyte/chain-package/services/jvm/icon/src/node-setup/start_icon_node.star[55:50]
Caused by: There was an error validating 'add_service' as service 'icon-node-0' already exists
Error encountered running Starlark code.

Hi @CyrusVorwald ,
Running the same command twice without cleaning the kurtosis engine will result in this error. Currently the implementation is to manually clean the kurtosis before executing kurtosis run .. command.
But this will be automated in next release with cli integration where kurtosis clean will execute before running kurtosis run.

Understood, thanks

repo: HugoByte/DIVE


text:
Rename NodeJS to Node.js

This is seriously not a real issue, but rather a little correction I would like to approach. Don't take it too seriously ;)
The official name is Node.js, not NodeJS.
Reference:

http://en.wikipedia.org/wiki/Node.js
https://nodejs.org/about/

Best,
Moritz

Good point. I'll tackle this.

That was pretty fast! I'll also fix it right away in the german translation.

authors: HugoGiraudel morkro

repo: HugoGiraudel/sass-guidelines


text:
Respond-to mixin suggestion

From my experience, on big projects, you may need custom breakpoint. And I don't want to include that in breakpoints map since you're using it only once.
For that reason, I think it's maybe better to leave the place for custom breakpoints in the mixin. So if the mixin doesn't recognise breakpoint from the map, it will add breakpoint you passed to media like it is.
I changed example so that you can see what i mean.
Once again, it's up to you. :)

I am not willing to introduce such a thing as is, but I do want to add a warning about custom breakpoints and everything. I'll update the content. :)

Great. Glad I could help. :)

There. What do you think? :)

It's great. Thanks.

authors: HugoGiraudel goschevski


text:
Question about train-validation split

Hi, thank you very much for your work.
Mine is just a question for clarification: can you please explain to me how exactly the train-validation split is done? I cannot really understand what is meant in this line
https://github.com/HuguesTHOMAS/KPConv/blob/132fdc628fb4850548e931c8b02c6325e7cac85e/datasets/Semantic3D.py#L145
Many thanks!

Hi @Esteban-25,
I just separate the training dataset in 6 groups of scenes. Each scene is assigned a group idx between 0 and 5.
Then you can choose the group used for validation with:
https://github.com/HuguesTHOMAS/KPConv/blob/132fdc628fb4850548e931c8b02c6325e7cac85e/datasets/Semantic3D.py#L146

Thank you very much for such a quick answer.
Perhaps dumb question, but is there a reason for it be 15 elements in that array? I am just trying to use a custom dataset that has more training files than Semantic3D and am having troubles with running the training file. The error I get leads me back to the line I sent and was wondering if the number of training files had sth to do with the number of elements in the self.all_splits array.

There are 15 training files in Semantic3D, so 15 elements in this array. Just add as many elements as necessary to this array, according to the number of training files you have

Thanks a lot for the help.

repo: HuguesTHOMAS/KPConv


text:
Tabular display of provenance information

Provenance information is currently shown as nested JSON. This should be rendered as a table.

implemented in fbe3c3c8ea


text:
New 'celltype' suggestions

We forward these term suggestions that EBRAINS received from data providers:

name
suggestedTerminology
interlex ID
Notes
definition

cortical neuron
cell type

hippocampal neuron
cellType

Aneuron located in the hippocampus

layer 6 neuron
cellType

There is cortical layer 6 in UBERONParcellation
neurons in the cortical 6 layer

zinc containing neurons and   glia
cellType (can be split into two)

Neurons and glia containing zinc. The zinc containing neurons   are a subtype of glutamatergic neurons

@archgogo thank you for these suggestions. @UlrikeS91 , @tgbugs this issue should be reviewed in respect to the discussion in #149 and #257

@archgogo thank you for being patient with this. Please use for cortical neuron, hippocampal neuron, layer 6 neuron please the combination of  'neuron', in addition with the anatomical region/entity you need (e.g., 'neuron' and 'hippocampus)
TODO: add 'zinc releasing neuron'

@lzehl, couldn't find any references for 'zinc containing neuron' or 'zinc releasing neuron' on ontology sites. Should I still add it in the 'cellType'

@archgogo yes. Just leave the ontology links empty (null). They are on it's way ;) Nonetheless please provide a definition

authors: archgogo lzehl


text:
Remediate High Protobuf vulnerability

Snyk reports the following High severity vulnerability in HumanCellAtlas/data-consumer-vignettes. Please remediate by the end of Q1 Milestone 1.
Description
com.google.protobuf:protobuf-java
Suggested Remediation
Upgrade com.google.protobuf:protobuf-java to version 3.4.0 or higher.
Details
com.google.protobuf:protobuf-java is a Google's language-neutral, platform-neutral, extensible mechanism for serializing structured data. Affected versions of this package are vulnerable to Integer Overflow by allowing remote authenticated attackers to cause a heap-based buffer overflow in serialisation process.

PR #83 should remediate this vulnerability, please re-open if not

authors: Lilalamar chmreid

repo: HumanCellAtlas/data-consumer-vignettes


text:
Internal security review

[x] Deliver Tech stack documentation for each service to Albano
[x] Assessment of the test cases which are run and especially with regards to testing secure coding
[x] Set up Codacy (static code analysis)
[x] Ready teams for security audit
[x]  Permissions are removed so that individuals access are based on the principle of least privilege
[ ]  ~Pen tests are run against both API as well as UI components~
[x] Results of the Audit are shared with the team and action items are created:

[x] ~Whitelist accepted URLs to secure bundle_fqids_url input parameter~

DCP Security Tracking Scorecard

11/27/18 Update:

Decided to leave URL input parameter unconstrained to preserve usability. Also identified that there is no practical risk of leaving this parameter unconstrained.
Pen tests awaiting Broad funding proposal re: HCA before moving forward (per David Bernick)

authors: calvinnhieu parthshahva

repo: HumanCellAtlas/matrix-service


text:
更新到新版本后无法使用

在更新到新版本后，无法显示资源网站，左上的框框没有内容。无法搜索资源，右上的框框没有反应。
卸载重装后仍然如此。

我也是

Windows下,请清理 AppData\Roaming\zy文件夹,再重试.

C:\Users\Administrator\AppData\Roaming\zy 文件夹删除掉即可

repo: Hunlongyu/ZY-Player


text:
Korean translation

Hello. I'd like to translate this tutorial for my school assignment. Can I simply translate a few things?

You don't have to merge..

Hello,
You can do what you want with these Notebooks, but you should remember to say where you have the original code from.
Some of the Notebooks you are working on are outdated, number 3 on Pretty Tensor and number 3B on the Layers API.
I am hosting the Chinese translation in my own github account, because the original translator suddenly disappeared and I didn't have permission to change the repo, when another translator wanted to continue the work.
https://github.com/Hvass-Labs/TensorFlow-Tutorials-Chinese
I'm not going to merge your pull request. But if you make a github repository in your own account with the Korean translation and name it TensorFlow-Tutorials-Korean, then I can take a look and add a link to the README if the quality looks good. I don't think there's any need to host it in my own github account.

repo: Hvass-Labs/TensorFlow-Tutorials


text:
AxiosError: Request failed with status code 404

AxiosError: Request failed with status code 404
at settle (C:\Users\Xuan\AppData\Roaming\Koishi\Desktop\data\instances\default\node_modules\axios\dist\node\axios.cjs:2019:12)
at IncomingMessage.handleStreamEnd (C:\Users\Xuan\AppData\Roaming\Koishi\Desktop\data\instances\default\node_modules\axios\dist\node\axios.cjs:3135:11)
at IncomingMessage.emit (node:events:530:35)
at endReadableNT (node:internal/streams/readable:1696:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
at Axios.request (C:\Users\Xuan\AppData\Roaming\Koishi\Desktop\data\instances\default\node_modules\axios\dist\node\axios.cjs:4287:41)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async run (C:\Users\Xuan\AppData\Roaming\Koishi\Desktop\data\instances\default\node_modules\koishi-plugin-yesimbot\lib\index.js:113:22)
at async C:\Users\Xuan\AppData\Roaming\Koishi\Desktop\data\instances\default\node_modules\koishi-plugin-yesimbot\lib\index.js:563:22
at async next (C:\Users\Xuan\AppData\Roaming\Koishi\Desktop\data\instances\default\node_modules@koishijs\core\lib\index.cjs:824:16)
at async next (C:\Users\Xuan\AppData\Roaming\Koishi\Desktop\data\instances\default\node_modules@koishijs\core\lib\index.cjs:824:16)
at async next (C:\Users\Xuan\AppData\Roaming\Koishi\Desktop\data\instances\default\node_modules@koishijs\core\lib\index.cjs:824:16)
at async next (C:\Users\Xuan\AppData\Roaming\Koishi\Desktop\data\instances\default\node_modules@koishijs\core\lib\index.cjs:824:16)
at async Processor._handleMessage (C:\Users\Xuan\AppData\Roaming\Koishi\Desktop\data\instances\default\node_modules@koishijs\core\lib\index.cjs:835:22)
不清楚是不是网络环境问题？API 用的是 GPT 神 GPT-4o-mini
感谢

版本是什么

给一下 API 相关配置

版本是什么

1.4.0

给一下 API 相关配置

试试 APIType 填 OpenAI，然后 https://api.gptgod.online

试试 APIType 填 OpenAI，然后 https://api.gptgod.online

改报403了😂
AxiosError: Request failed with status code 403
at settle (C:\Users\Xuan\AppData\Roaming\Koishi\Desktop\data\instances\default\node_modules\axios\dist\node\axios.cjs:2019:12)
at BrotliDecompress.handleStreamEnd (C:\Users\Xuan\AppData\Roaming\Koishi\Desktop\data\instances\default\node_modules\axios\dist\node\axios.cjs:3135:11)
at BrotliDecompress.emit (node:events:530:35)
at endReadableNT (node:internal/streams/readable:1696:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
at Axios.request (C:\Users\Xuan\AppData\Roaming\Koishi\Desktop\data\instances\default\node_modules\axios\dist\node\axios.cjs:4287:41)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async run (C:\Users\Xuan\AppData\Roaming\Koishi\Desktop\data\instances\default\node_modules\koishi-plugin-yesimbot\lib\index.js:113:22)
at async C:\Users\Xuan\AppData\Roaming\Koishi\Desktop\data\instances\default\node_modules\koishi-plugin-yesimbot\lib\index.js:632:22
at async next (C:\Users\Xuan\AppData\Roaming\Koishi\Desktop\data\instances\default\node_modules@koishijs\core\lib\index.cjs:824:16)
at async next (C:\Users\Xuan\AppData\Roaming\Koishi\Desktop\data\instances\default\node_modules@koishijs\core\lib\index.cjs:824:16)
at async next (C:\Users\Xuan\AppData\Roaming\Koishi\Desktop\data\instances\default\node_modules@koishijs\core\lib\index.cjs:824:16)
at async next (C:\Users\Xuan\AppData\Roaming\Koishi\Desktop\data\instances\default\node_modules@koishijs\core\lib\index.cjs:824:16)
at async Processor._handleMessage (C:\Users\Xuan\AppData\Roaming\Koishi\Desktop\data\instances\default\node_modules@koishijs\core\lib\index.cjs:835:22)

试试 APIType 填 OpenAI，然后 https://api.gptgod.online

可以了，我将AIModel改成全小写gpt-4o-mini解决了😂

authors: HydroGest XUANHLGG

repo: HydroGest/YesImBot