text:
[App]: Images metadata are visualized instead of the image itself

Current Behavior
When logging an image in a table, i'm seeing it's metadata instead of the image itself

Expected Behavior
I should be seeing the image
Steps To Reproduce
Log a PIL image in a table
Screenshots
No response
Environment
Chromium
Arc:	122.0.6261.57 (Official Build) (arm64)
Revision	87957e464700ccf3468df47ce741e0dc089e0544-refs/branch-heads/6261@{#853}
OS	macOS Version 14.1.2 (Build 23B92)
JavaScript	V8 12.2.281.16
User agent	Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36
Command Line	/Applications/Arc.app/Contents/MacOS/Arc --flag-switches-begin --flag-switches-end
Executable Path	/Applications/Arc.app/Contents/MacOS/Arc
Profile Path	/Users/pb/Library/Application Support/Arc/User Data/Default
Linker	lld
Variations Seed Type	Null
Active variations	f38ef081-ca7d8d80

Additional Context
No response

Actually same exact issue as: https://github.com/wandb/wandb/issues/7024
also the images for old run disappeared :/ running on wandb~=0.16.2

Edit: if i remove the line allow_mixed_types=True from the wandb table initialization, then works - this is a recent behavior, and it's breaking all the images i had logged in the past; def needs a fix please 🙏

Hi @pietrobolcato thank you for reporting this and we appreciate your patience.  It's been escalated to our team and being treated as high priority. Will try to get you updates this week and report back on my teams timeline for this.

Hi @pietrobolcato thank you for reporting this and we appreciate your patience.  It's been escalated to our team and being treated as high priority. Will try to get you updates this week and report back on my teams timeline for this.

Sounds good appreciate it, thanks a lot! Looking forward to know more about timeline for the fix 🙏

hey there, this is still an issue, quite disrupting tbh - any update?

Hey everyone, this issue should be resolved now, PR for reference. Please let us know if you still encounter this on your end.

authors: MBakirWB anmolmann pietrobolcato

repo: wandb/wandb


text:
[Q] Stuck Iteration and Sync Issue with wandb sweeps for YOLOv7 Hyperparameter Tuning

I am attempting to utilize wandb sweeps for YOLOv7 hyperparameter tuning using the Bayesian method. Below is the code I used to execute the process:

I encountered a condition where the process became stuck in the first iteration, specifically during finalization and synchronization with wandb. However, when I do not use sweeps and only rely on the internal wandb from YOLOv7, it successfully finalizes and syncs to wandb. Unfortunately, this does not address my original goal of using sweeps for hyperparameter tuning.
I have attempted to read the debug-internal.log and debug.log, but I found no clues. What I noticed is that when I run one iteration of sweeps, Wandb keeps syncing and creating some new run folders, never finalizing the process.

Has anyone else encountered the same problem when using sweeps for YOLOv7? If so, could you kindly share any methods to tackle this issue?

Hi @Achyar-CN thank you for writing in. While we don't know how the train.py script structure looks like, it seems that way of integrating Sweeps with your code, it can cause issues. You're starting a wandb run, and inside that run's singleton you're calling an external script. Are you starting another run in that script?
For your use case, it would be most recommended that you define the sweep hyperparameter in a yaml file, and you add in the file the python script and its arguments using a similar format to this one:
https://docs.wandb.ai/guides/sweeps/faq#how-do-i-use-custom-cli-commands-with-sweeps
Please let me know if that would work for you, or if you needed further assistance with this.

Hello @thanos-wandb, thank you for your response. I'm not entirely sure if it was calling an external script and initiating another run. From my understanding, there already exists a wandb, run within the YOLOv7 training process by default. I believe that when I run the sweeps, it also executes the internal wandb scripts.
Based on your suggestion, I have create config.yaml file as follow:
program: train_dual.py
method: bayes
metric:
  goal: maximize
  name: metrics/mAP_0.5
parameters:
  epochs:
    values: [2, 3]
command:
  - ${env}
  - python
  - ${program}
  - "--batch"
  - "8"
  - "--epochs"
  - ${args.epochs}
  - "--img"
  - "800"
  - "--device"
  - "0"
  - "--min-items"
  - "0"
  - "--close-mosaic"
  - "15"
  - "--data"
  - "/content/gdrive/MyDrive/YOLOv9_s/yolov9/data/pothole.yaml"
  - "--weights"
  - "/content/gdrive/MyDrive/YOLOv9_s/yolov9/yolov9-c-converted.pt"
  - "--cfg"
  - "/content/gdrive/MyDrive/YOLOv9_s/yolov9/models/detect/yolov9-c.yaml"
  - "--hyp"
  - "/content/gdrive/MyDrive/YOLOv9_s/yolov9/data/hyps/hyp.scratch-high.yaml"

However, when I execute the first CLI command, it causes an error.

I have attempted to adjust the configuration file several times, but I couldn't pinpoint the cause. Could you kindly provide some advice on this matter?

Hello @thanos-wandb, thank you for your response. I'm not entirely sure if it was calling an external script and initiating another run. From my understanding, there already exists a wandb, run within the YOLOv7 training process by default. I believe that when I run the sweeps, it also executes the internal wandb scripts.
Btw, I followed your suggestion regarding the CLI commands, and it worked perfectly. Many thanks for your assistance!

Hello @thanos-wandb, @Achyar-CN Could you please explain me how did you solve this with some more detailed approach. Thanks

Hi @elon1992 ,  here are the steps I've taken for YOLOv7, which I believe also apply to YOLOv9:
0. Ensure that you're in the active directory path for YOLOv7.

Create a new 'config.yaml' file, for example:

program: train.py
method: bayes
metric:
  goal: maximize
  name: metrics/mAP_0.5
parameters:
  epochs:
    values: [2, 3]
command:
  - ${env}
  - python
  - ${program}
  - ${args}
  - "--batch-size=32"
  - "--img=800"
  - "--device=0"
  - "--workers=4"
  - "--data=/content/gdrive/MyDrive/YOLOv7_tiny/yolov7/data/coco.yaml"
  - "--weights=/content/gdrive/MyDrive/YOLOv7_tiny/yolov7/yolov7-tiny.pt"
  - "--cfg=/content/gdrive/MyDrive/YOLOv7_tiny/yolov7/cfg/training/yolov7-tiny.yaml"

Run the first CLI command in either the terminal or a Jupyter notebook by starting with %%bash.

%%bash
wandb sweep --project your_sweep_project_name config.yaml

From the output of the second step, you will receive suggestions for the second CLI command, and you can specify the number of iterations you want. For example, the command for conducting hyperparameter tuning with 3 iterations could be:

%%bash
wandb agent --count 3 your-entity/sweep-demo-cli/sweepID

I hope this helps! Let me know if you have any questions.

Great, glad to hear this is now fixed, and thank you for the code snippet, @Achyar-CN - much appreciated!

Hello @Achyar-CN , Thank you so much for the code snippet. But i have questions like the hyperparameter you chose for tuning is just epch what if i have to use batch-size which is used in args, and what if i want to try different optimizers or lr0 or anything. Will inserting the hyperparameter name and value works same as epoch?
Thank you

Hi @elon1992, from my understanding, there are two types of hyperparameters in YOLOv7: direct parser hyperparameters (such as epoch, batch-size, img, etc.) and hyperparameters included within hyperparameter.xml (like lr0, momentum, etc.). For instance, you could directly add both as shown below:
program: train.py
method: bayes
metric:
  goal: maximize
  name: metrics/mAP_0.5
parameters:
  epochs:
    values: [2, 3]
  batch-size:
    values: [8, 16, 32]
hyp:
  parameters:
    momentum:
      values: [0.8]
    lr0:
        max: 0.02
        min: 0.005
        distribution: uniform
command:
  - ${env}
  - python
  - ${program}
  - ${args}
  - "--img=800"
  - "--device=0"
  - "--workers=4"
  - "--data=/content/gdrive/MyDrive/YOLOv7_tiny/yolov7/data/pothole.yaml"
  - "--weights=/content/gdrive/MyDrive/YOLOv7_tiny/yolov7/yolov7-tiny.pt"
  - "--cfg=/content/gdrive/MyDrive/YOLOv7_tiny/yolov7/cfg/training/yolov7_pothole-tiny.yaml"

source: gharchive/issue

authors: Achyar-CN elon1992 thanos-wandb

license: MIT

license_type: permissive

license_source: github-api


text:
feat(integrations): add max batch sample size for predictions in wand…

Fixes

Fixes #6145

Description
What does the PR do?

🤖 Generated by Copilot at cbb19d1
Added a new feature and fixed a bug in the wandb integration for ultralytics. The feature allows users to control the number of pose samples logged and plotted per batch with the max_batch_samples parameter in the wandb callback. The bug fix corrects the logic for limiting the maximum validation batches in the plot_pose_validation_results function.
Testing
How was this PR tested?
Checklist

[x] Include reference to internal ticket "Fixes WB-NNNNN" and/or GitHub issue "Fixes #NNNN" (if applicable)
[x] Ensure PR title compliance with the conventional commits standards

🤖 Generated by Copilot at cbb19d1

Sing, O Muse, of the valiant ultralytics team
Who trained their models with wandb's aid divine
And added a new parameter, max_batch_samples, to their scheme
To control the pose samples that on their plots would shine

Code can be tested with https://github.com/geoffrey-g-delhomme/test-wandb-ultralytics.git@feat/batch

source: gharchive/pull-request


text:
主页配置问题/功能建议

你好，
感谢开发这么简洁漂亮的模板。关于主页配置/功能建议，有几个问题想要请教/交流：

菜单栏能否添加分类(category)或者标签(tags)一栏？
效果举例：
https://themes.gohugo.io//theme/hugo-theme-meme/categories/
https://hugoloveit.com/categories/
https://themes.gohugo.io//theme/hugo-theme-meme/tags/
https://hugoloveit.com/tags/

如何在日志中自动生成如下目录？需要在Configure.toml中配置还是要在post/_index.md中添加呢？具体怎么操作？
以你的博文举例：https://www.wangchucheng.com/zh/posts/migration-from-nginx-to-envoy/

日志展示时能否仅显示摘要部分（而不是显示前XX字）？目前日志显示的是创作时间，阅读时长和分类，怎么添加其他属性呢（比如最后修改时间）？

我在archetypes/default.md设置了如下默认参数。
使用hugo new post.md时会自动填充date和lastmod为同一时间，如果我后续修改日志，如何自动更新lastmod？

+++
title = "{{ replace .Name "-" " " | title }}"
date = "{{ .Date }}"
lastmod = "{{ .Date }}"
categories = [ ]
tags = [ ]
slug = ""
draft = false
+++

是否考虑支持Waline评论系统/Valine评论系统/utterances（基于 GitHub Issues 的评论系统）？
Waline官网：https://waline.js.org/
Valine官网：https://valine.js.org/index.html
utterances: https://github.com/utterance/utterances
别人写的静态博客系统比较：https://eallion.com/comments/

是否考虑添加搜索功能？

添加一个Github issue，以汇总使用该主题的用户及博客链接？

我自己对Hugo主题开发比较感兴趣，请问你是否有推荐的博客/教程？

谢谢解答！

对于问题请在讨论区提出，我会对此进行回答。感谢对Eureka的支持，祝好！

对于问题请在讨论区提出，我会对此进行回答。感谢对Eureka的支持，祝好！

authors: PanZiwei wangchucheng

repo: wangchucheng/hugo-eureka


text:
显示 HTML的span标签如何使用呢？

上传附件的链接转换为html的span标签，在展示的html页面无法直接下载，请问如何使用。

https://github.com/wangeditor-team/wangEditor-plugin-upload-attachment/issues/17 看这里


text:
自定义上传图片的函数 为什么不执行？

[图片]
这个函数一直不执行啊

editor = new E(ref);
// editor.customConfig.uploadImgShowBase64 = true;
// editor.customConfig.uploadImgServer = '/upload/image';  // 上传图片到服务器
editor.customConfig.uploadImgServer = (files, insert) => {
console.log('files', files)
this.props.dispatch({type: 'docs/uploadImg', payload: {image: files}})
console.log('insert', insert)
// insert(imgUrl)
};
editor.customConfig.onchange = html => {
this.setState({
docContent: html
})
};
editor.create();

license: mit

license_source: bigquery


text:
请问作者 该框架什么时候能够支持上下滑动 菜单栏悬浮，并且可以自定义headerView

请问作者 该框架什么时候能够支持上下滑动 菜单栏悬浮，并且可以自定义headerView

作者的库好像一直都支持啊

我没表述清楚，是顶部的菜单栏也跟着滑动 菜单栏顶部有个 自定义视图可以上下滑动的

authors: aimm bigNiuSanMao

repo: wangmchn/WMPageController


text:
第一次进入页面，导航栏设置了0的透明，么有效果

如题。最后感谢更新

get 不到你的点，你最好上传一张gif图片

我在viewDidLoad 中设置了     [self wr_setNavBarBackgroundAlpha:0]; 这行代码是否是隐藏导航栏的作用呢？我写了这行，但是没有作用

同样的问题

复议

刚更新了，你可以更新一下看看有没有解决你的问题


text:
如何改简历的字体

如题

如果是整体的字体，可以通过修改浏览器默认字体。如果是部分的字体，可以尝试修改主题样式。

authors: wannaxiao xiyuanyuan

repo: wannaxiao/vuepress-theme-resume


text:
Error when runing macOS viewer example

Reason: tried: '/Users//Library/Developer/Xcode/DerivedData/GLTFKit2-hjeduxuqrgncgqaweyjkstyyxmlt/Build/Products/Debug/GLTFKit2.framework/Versions/A/GLTFKit2' (code signature in <30041B46-B48F-3C9E-ADC3-85F3133B3B6B> '/Users//Library/Developer/Xcode/DerivedData/GLTFKit2-hjeduxuqrgncgqaweyjkstyyxmlt/Build/Products/Debug/GLTFKit2.framework/Versions/A/GLTFKit2' not valid for use in process: mapping process has no Team ID and is not a platform binary), '/usr/lib/swift/GLTFKit2.framework/Versions/A/GLTFKit2' (no such file), '/Users//Library/Developer/Xcode/DerivedData/GLTFKit2-hjeduxuqrgncgqaweyjkstyyxmlt/Build/Products/Debug/glTF Viewer.app/Contents/MacOS/../Frameworks/GLTFKit2.framework/Versions/A/GLTFKit2' (code signature in <30041B46-B48F-3C9E-ADC3-85F3133B3B6B> '/Users//Library/Developer/Xcode/DerivedData/GLTFKit2-hjeduxuqrgncgqaweyjkstyyxmlt/Build/Products/Debug/glTF Viewer.app/Contents/Frameworks/GLTFKit2.framework/Versions/A/GLTFKit2' not valid for use in process: mapped file has no Team ID and is not a platform binary (signed with custom identity or adhoc?)), '/usr/lib/swift/GLTFKit2.framework/Versions/A/GLTFKit2' (no such file), '/Users//Library/Developer/Xcode/DerivedData/GLTFKit2-hjeduxuqrgncgqaweyjkstyyxmlt/Build/Products/Debug/glTF Viewer.app/Contents/MacOS/../Frameworks/GLTFKit2.framework/Versions/A/GLTFKit2' (code signature in <30041B46-B48F-3C9E-ADC3-85F3133B3B6B> '/Users//Library/Developer/Xcode/DerivedData/GLTFKit2-hjeduxuqrgncgqaweyjkstyyxmlt/Build/Products/Debug/glTF Viewer.app/Contents/Frameworks/GLTFKit2.framework/Versions/A/GLTFKit2' not valid for use in process: mapped file has no Team ID and is not a platform binary (signed with custom identity or adhoc?)), '/Library/Frameworks/GLTFKit2.framework/Versions/A/GLTFKit2' (no such file), '/System/Library/Frameworks/GLTFKit2.framework/Versions/A/GLTFKit2' (no such file)

It looks like the framework is being built and embedded, but the signing identity is invalid. You probably need to configure the GLTFKit2 and GLTFViewer projects to use your own credentials in the "Signing & Capabilities" tab in the project settings.
As of b7fa15b, these settings have been defaulted in the relevant targets, so you may receive a more helpful error message after pulling.
This issue will be autoclosed in 7 days if no response is received.

Closing.

authors: opchronatron warrenm


text:
The UI is very awkward with large music collections

I've been using Subsonic to host my music library for many years now, but today is the first time I've tried to use the client on KODI.  I find that it works well, but for my situation it is largely unusable.  The problem is that with a library of more than 10,000 albums (almost 150,000 tracks), the UI is no longer practical.
There are four things that would help with this.

Provide an option to handle artists the way native Subsonic does.  It appears that this add-on draws on the artist information encoded in each individual track, while native Subsonic uses the directory name as the artist info.  They are the same in many cases, but there are enough exceptions to make the artists list much longer than it needs to be.  Obviously, every "various artists" album generates a separate artist for each track on the album.  And since different tracks may be coded differently, I may have listings for (and this is a real example), "Count Basie", "Count Basie Orchestra", "The Count Basie Orchestra","Count Basie & his Orchestra", "Count Basie and his Orchestra", and "Count Basie and His Orchestra".  Yes, even though the last two examples differ only in the capitalization of one letter, they still get treated as two separate artists.  But since they are all in the same directory, native Subsonic just lists them all under "Count Basie".

Provide an index to allow the user to "jump" to a particular letter of the alphabet within the artist listing.

Provide the ability to select individual "folders" from the Subsonic library.  For example, my library is broken up into rock, country, jazz, and classical (among others), and in native Subsonic I can treat them as one big library or select each one separately.

Provide a search feature.

Obviously, this is a HUGE feature request, and I don't for a minute imagine that any of these things are likely to happen in any hurry.  But I do want to document the need so that these things can be considered and prioritized among the various other feature requests.  I would consider items 1 and 2 to be more important than 3 and 4.
Finally, note that I just joined this forum today so that I could pass these thoughts along.  Please forgive any faux pas in community protocol.  Thanks!

Hi and thanks for your feedback.
The addon works with the subsonic official API.

So i'm not sure this is possible, we use the getArtists method here, which returns the full list of all artists from the server.  But I see now there is also a getIndexes method.  I'm not sure what it does change here, but do you think this is related to what you are explaining ?

Easy, this is native in Kodi.  Press shift+[letter] on the keyboard and it will scroll to it.

I don't have a subsonic server myself so I can't check how it works, but the idea is to be able to browse directories instead of ID3 tags ?

Yeah, we should add this.

I'll have a look at this when I have some time to spend on the plugin developement.  Meanwhile, other developers could help :)

First of all, Thank You (!!!) for looking into this.  I've never really looked at the Subsonic API, but I spent some time with it today after seeing your response.  I never knew that Kodi shortcut (for #2).  That's very helpful.  Now that I've examined the API, I think I can discuss this in more helpful terms.
First of all, some background.  A Subsonic library is generally made up of one or more high-level "folders".  These folders are defined on the "Media folders" tab of the Settings panel in the Subsonic server itself:

Each of these folders will contain directories representing an artist.  Each of the artist directories will contain directories representing albums.  Each of the album directories will contain individual media files.  Here you can see the Index page on my Subsonic system.  At the top, you can see the same high level "folders" that I defined above.  Below that you can see the list of directories within each folder.  On the right, you can see an alphabetical index that allows jumping to each section of the listing.  This screenshot shows only the "A"s, but this panel can be scrolled all the way down to the "Z"s.

If I click on one of the artists listed, I'm taken to a listing of all of the albums in that artist's directory:

This structure is not the only possible one, but it is the most common.  I could, for example, have individual media files in this same directory, along with the album subfolders.  Or, within an album folder, I could have additional subdirectories for each volume (CD) of a multi-volume set.  I supposed you could even build your directory structure using some criteria other than Artist, but this seems to be the usual structure.
To create the alphabetical list that I showed above, I suspect that Subsonic uses the getMusicFolders method to retrieve all of the high-level folders, using the names to create the tabs across the top.  Then, it uses getIndexes to retrieve all of the highest level directories within each of those folders, using one of the IDs returned by getMusicFolders to limit the list to just one folder, or passing no parameter to retrieve the entire list across all folders (which is what is seen in my screenshot).  For lower levels of the directory tree, the getMusicDirectory would be used, recursively if necessary, to navigate to the lower levels of the directory tree.
So, that's a long answer to say, yes, I think you're right that the getIndexes method is the one needed for #1 on my feature wishlist.  And getMusicFolders, along with getIndexes, would be used for #3.
In either case, getMusicDirectories would be used, recursively if necessary, to navigate downward to individual albums and songs.  The response to getMusicDirectories might include lower level directories or individual media files or both.  The difference being whether the returned XML contained 'isDir="false"' or 'isDir="true"'.
Bottom line:  It appears that Subsonic provides two completely separate methods for navigating a library, one based on directory structure, the other based on ID3 tags.  For its main set of indexes, the native Subsonic browser-based client uses the directory structure, not the tags, which makes navigation much easier.  Subsonic clients (apps) that I've seen for Android, IOS, and Windows appear to use the same approach.
Let me know if any of this isn't clear.  And if it would help you to be able to navigate through my Subsonic system, let me know and I'll get you a URL and ID.

Ok, thanks for your feedback !
I'm now able to list the media folders within the plugin.
...But it freezes once I try to open one.
On the subsonic I have access to, there is only one folder.  So maybe there is to much informations to grab.
As a matter of fact, yes I would be glad to get an access to your server so i'm able to test it with your configuration.  Still possible ?

Absolutely.  Let me figure out how to send it to you privately.  Obviously, though, my music DB is pretty big, too.
BTW, it's probably obvious from my earlier response that I have quite a bit of background in software development.  But I haven't written any significant code in more than 30 years - before "objects" were even a thing.  So I probably won't be digging in too deep.  :)  But if I can help, I will.

Okay!
You can send it to this temporary email : lquk77hgto65l3y@jetable.org
Thanks !
2017-01-08 17:51 GMT+01:00 JimGilliland notifications@github.com:

Absolutely. Let me figure out how to send it to you privately. Obviously,
though, my music DB is pretty big, too.
BTW, it's probably obvious from my earlier response that I have quite a
bit of background in software development. But I haven't written any
significant code in more than 30 years - before "objects" were even a
thing. So I probably won't be digging in too deep. :) But if I can help, I
will.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/gordielachance/plugin.audio.subsonic/issues/8#issuecomment-271163003,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AD42zYn9snmzlgBD007l9iXggBXGmUiTks5rQRQTgaJpZM4LX35m
.

Hi Jim !
I can almost see your background in software development by looking to your (great) issue report :)
Also, I didn't knew that 'objects' didn't exists once :)
I'm just doing some coding as a hobby, not being a great expert.
Well, good news, I think I got your points 1 & 3 resolved.  It was not so difficult.
I guess point 2 may be considered as resolved too (the shortcut hint).
Could you test this branch (download the zip) ?  If it works fine for you, i'll merge it to the master.
Enjoy !

Note that there is a data caching system existing in the plugin (so data will be faster to load) but I can't currently make it work. :/
I opened an issue about that.

I noticed a couple of other anomalies, but in general I think it looks
great!  I'll try to document the issues that I noticed, but I won't be able
to do so until - I hope - later today.
One of them is that if it doesn't successfully connect to the server, it
takes a very long time to time out (several minutes at least), and it does
not try again.  Some of the other clients that I've seen will try 4 times
before quitting, with about 5-10 seconds between tries.  You might try
making it wait 2 seconds for the first try, 4 for the second, 8 for the
third, 16 for the fourth.  That would mean that it would time out after 30
seconds if it failed all 4 times.
Looking over the API, though, I have no idea how the timeout is set.  Nor
does there seem to be an error code for timeout (except maybe error 0).  Is
there a forum for developers that talks about use of the API?  There must
be some way to handle it.
On Mon, Jan 9, 2017 at 5:08 AM, gordielachance notifications@github.com
wrote:

Note that there is a data caching system existing in the plugin (so data
will be faster to load) but I can't currently make it work. :/
I opened an issue
https://github.com/gordielachance/plugin.audio.subsonic/issues/11 about
that.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/gordielachance/plugin.audio.subsonic/issues/8#issuecomment-271248092,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AXrprW2-X-K1yp_Zk2Mm0_JI8H23HAgpks5rQgc5gaJpZM4LX35m
.

Yeah, I noticed that there was some timeouts with your server, that's strange because I don't have timeouts on the server I have access to.
Well, we'll see.
Take your time, i will probably not have the time to work on this in the next days.

Closing this as the issue is very old and the plugin is quite different since this was logged.

authors: JimGilliland gordielachance warwickh


text:
Importance of zstack-size

I'm trying to understand what zstack-size does and why it's important.
Reason I'm trying to investigate his is that I'm almost certain that it causes a stack overflow in my code but I can't say for sure.
I've taken the wasm module and run it in the browser I'm getting Maximum call stack size exceeded error.
If I'm removing zstack-size then in the browser it runs to infinity but on arduino/wasm3 it doesn't even start.
Any pointers would be greatly appreciated!

I'm not sure, wasm3 is handled by a different repository.
Also, it would be great to have a minimal example that  highlights the issue.

authors: MendyBerger vshymanskyy


text:
Update event subscribers to use suffixed subjects

As of https://github.com/wasmCloud/wasmCloud/pull/1090, the host emits events on wasmbus.evt.{latticeID}.{eventName}. Some subscribers (tests in wash, the washboard, and wadm) still subscribe to the non-suffixed subject.
These clients should be updated prior to wasmCloud 1.0

Hijacking this issue just to drop a nice-to-have, it would be really nice to have a defined list of all the events we publish and, optimally, some kind of JSON schema or other specifier for the expected fields on those events. Unsure if https://cloudevents.io/ has a good tool to do this

hey @brooksmtownsend , do you have an idea/tip of how one would go about taking a survey of all events that are published? For the particular case of wasmbus.evt.{latticeID}, @connorsmith256 I haven't been able to located its use in wadm and wash tests (although, it seems like @vados-cosmonic already made such changes for tests some weeks ago).  I only found one place in washboard-ui where it is being used.

@ahmedtadde that's a good question. We do want to have a place where we officially note all of the events that are published, but for now it's best discovered by looking for calls to publish_event.

host_heartbeat
host_started
host_stopped
actor_start_failed
actors_start_failed
provider_started
provider_start_failed
provider_stopped
config_set
config_deleted
linkdef_set
linkdef_deleted
actors_started
actors_stopped

Soon to be added

actor_scaled
actor_scale_failed

There but soon to be gone
13. actor_started
15. actor_stopped

[ ] wadm https://github.com/wasmCloud/wadm/pull/241
[ ] control interface and wash https://github.com/wasmCloud/wadm/pull/241
[ ] washboard @lachieh

Clients are all done, good to close?

@lachieh yep!

authors: ahmedtadde brooksmtownsend connorsmith256 lachieh

repo: wasmCloud/wasmCloud


text:
fix(instance) Handle exported functions that return nothing

“void” in WebAssembly is mapped to nil in Ruby.

bors r+

repo: wasmerio/ruby-ext-wasm


text:
bring da boi to da front (replace favicon)

Use da boi as a favicon.

🎉 Congrats to @mmaksimovic, @vincangerand other wasp team members and contributors 🎉 for achieving the most groundbreaking pull request in history! 🔥
Now that's how you leave a legacy! 💻 This is the real game changer! 🌟

authors: fecony mmaksimovic

repo: wasp-lang/open-saas


text:
Süddeutsche : Die teure App, die wenig bringt

In Nordrhein-Westfalen könnte die Luca-Nutzung für Gastronomen demnächst sogar rechtlich problematisch werden. Seit Freitag ist die Nachverfolgung von Kontakten dort nicht mehr Teil der Corona-Schutzverordnung, für die Erhebung der Daten ohne Einwilligung fehlt also die Rechtsgrundlage. Luca habe die Betreiber in einer Mail darüber informiert, schreibt Luca-Sprecher Markus Bublitz auf Twitter. Von einem rechtlichen Risiko ist in den Mails allerdings keine Rede.

https://www.sueddeutsche.de/wirtschaft/luca-app-kritik-1.5388136

@Siedlerchr Danke, habe ich hinzugefügt! :)

authors: Siedlerchr wasserbombe

repo: wasserbombe/lucafail-timeline


text:
Add more builds to CI

CI currently only runs the build process for Windows; we should add builds for Mac (and possibly Linux) too.

We won’t be able to do this (for Mac) until issue #33 is resolved, so this may be shelved for a while.

repo: waterloo-rocketry/topside


text:
Add latex export class function

Pull request isn't (currently) intended to be merged to master, just want to demo my idea for latex export: every class generated on parse gets an export(format) function added to it, and the higher level classes call lower level ones to generate the full latex file.
Eventually we could add more export formats, eg a proc_lang exporter to address issue #62.
Please lemme know your thoughts on this approach, or whether other options (external classes that know the internal structure of the procedure suite classes, or a different Lark transformer to go straight from proclang to latex) should be tried out instead.

This change is

Closing because rebase


text:
ADIF export for Advanced Logbook filtered view

By submitting feature requests, you have the opportunity to contribute your ideas and inspiration to the Wavelog Dev-Team. Please be aware that not every feature request will be addressed or answered.
What Feature is Missing?
In the Advanced Logbook it is possible to filter the display, there is no way to export all matching QSO to ADIF, however.
Thus, I recommend to add a (filtered) export functionality to the Advanced Logbook.
Alternatively, add a filter to the ADIF export menu option.
Why is This Feature Important?
Currently it is only possible to Export ALL QSO in the database to ADIF.
Sometimes I'd like to be able to export only a subset of certain QSO.
Is This Feature Personal or Beneficial to Others as Well?
I would expect others could use that feature too, e.g. for importing only certain QSO to DARC DCL or something alike, or transferring only digimode QSO to the WSJT-X log or whatever.

That is exactly how the ADIF export does work in the advanced logbook. Set up filters and export. The code will then export all QSOs with that filter. If you mark QSOs, only the marked ones will be exported.

@AndreasK79 oops I have totally missed that button.
Another indicator there's something about #1201  ;-)

Good that you found it😊

repo: wavelog/wavelog


text:
What is the problem?

User
111
AI
Cannot convert argument to a ByteString because the character at index 406 has a value of 28009 which is greater than 255.
age. Server closed the connection unexpectedly.
at onclose (Chat.vue:333:1)
at create (fetch.ts:125:17)
sendMessage @ Chat.vue:361
await in sendMessage(异步)
_createElementBlock.onClick._cache.._cache. @ Chat.vue:515
callWithErrorHandling @ chunk-3NMN3MUW.js:1580
callWithAsyncErrorHandling @ chunk-3NMN3MUW.js:1588
invoker @ chunk-3NMN3MUW.js:8198
Show 3 more frames

https://freeimage.host/i/HkD5DPt

I think your cookie string has some non-latin characters in it causing the issue. Regardless, this isn't the correct repo for this issue.

repo: waylaidwanderer/PandoraAI


text:
Images are the same for all איק items ןn the dataset

I use the tutorial to extract the images:
dataset = tf.data.TFRecordDataset(FILENAME, compression_type='')
for data in dataset:
    frame = open_dataset.Frame()
    frame.ParseFromString(bytearray(data.numpy()))

    for image in frame.images:
        save_images(image)

but for some reason, I get the same 5 images for every data in dataset.
What am I missing?

How do you tell that they are the same images? The data are stored sequentially. So images from consecutive frames are expected to look similar (but not the same)

You're right, thanks!

repo: waymo-research/waymo-open-dataset


text:
Need for a Official function to project a pointcloud to rangeview

Hi, thank you for providing such a wonderful dataset. However, I need to project a processed pointcloud to rangeview. I use a third party function which work in KITTI. It need a fov_up and fov_down of lidar. I try the param in you papar, fov_up==2.4, fov_down==-17.6, but it doesn't work. So if you  provide a official code for project a pointcloud to rangeview will be nice.

@rezama @patzm @vatavua


text:
OSX instructions or binaries?

How would one run the device on OSX?

Hi,
please check these issues/pull requests for the current state of work:

"FreeBSD and macOS support": https://github.com/13-37-org/infnoise/issues/8
"Fixed macOS build, documentation tweaks": https://github.com/manuel-domke/infnoise/pull/3

The already merged request's README including a section on how to compile on Mac:
https://github.com/manuel-domke/infnoise/blob/master/software/README.md
I'm working on getting all the required to this repo, but there is a lot of stuff coming together (libinfnoise refactoring (#51), cmake (https://github.com/13-37-org/infnoise/tree/cmake))

Now merged everything I'm aware of. If something is still missing / not working, please let me know.
Just got my first Mac(Book) so I can start learning how to use it (and compile infnoise..). So hopefully I can test on Mac by myself soon!

authors: manuel-domke rorobaba

repo: waywardgeek/infnoise


text:
请教"TypeError: 'NoneType' object is not iterable"怎么解决呢？

Traceback (most recent call last):
File "crawl.py", line 264, in
make_pdf(get_data(url))
File "crawl.py", line 62, in get_data
for topic in json.loads(f.read()).get('resp_data').get('topics'):
TypeError: 'NoneType' object is not iterable

使用最新版代码，修改USER_AGENT，确保和登录时的一致。

repo: wbsabc/zsxq-spider


text:
Benchmarking the performance of drawing line charts.

I wrote this to benchmark how quick go-chart in rendering line chart.
I hope this can be useful for you.

hey! sorry just seeing this now, yeah seems useful, will merge today

authors: didip wcharczuk

repo: wcharczuk/go-chart


text:
Scope does not create special nodes within the same VPC

When utilizing RDS in the same VPC as the the ECS cluster in AWS, scope was not generating special nodes.
When on the same VPC, RDS does not display.  When on a different VPC RDS will display like below.

Report to reproduce the issue:
report.json.gz

I am pretty sure that the problem comes from the connection being local (that's why I suggested using a different VPC)
AFAICR, we only split out out services from connections to the Internet (which, by definition cannot target the local network).
I doubt there's an easy fix for this, but let's see.

repo: weaveworks/scope


text:
weave cannot delete container

When i try to launch weave in my swarm node i get this error
root@swarm-node-04:~# weave launch
Error deleting container: Error response from daemon: Unable to remove filesystem for 1755b23b10866234fc320bf8739e6343676426ab24be5032bb325e4179099c66: remove /var/lib/docker/containers/1755b23b10866234fc320bf8739e6343676426ab24be5032bb325e4179099c66/shm: device or resource busy
This node was build on a digitalocean vps and configured with docker-machine generic driver, for example
docker-machine create --driver generic --generic-ip-address XXXX --generic-ssh-user root  --swarm  --swarm-discovery token://$sid swarm-node-04
Any ideas?

What version of weave are you running?
Also, please post the output of docker info.

Thanks for your help, now I am going to give you step by step instruction how to reproduce this problem:

go to digitalocean and activate a new ubuntu 14.04 droplet (I think the same thing occurs with a regular ubuntu desktop machine also)

install docker swarm node with docker-machine generic driver (you must be able to ssh with a key rather than a password) :
 sid="yourswarktockenhere" && docker-machine create --driver generic --generic-ip-address vpspubliciphere --generic-ssh-user root  --swarm  --swarm-discovery token://$sid swarm-node-04

this takes a while, at the end i expect docker installed with a running swarm agent container.

ssh into the vps and run
 curl -L git.io/weave -o /usr/local/bin/weave
 chmod a+x /usr/local/bin/weave

run weave launch, it will download the latest weave images and run them but something goes wrong...
 root@swarm-node-04:~# weave launch
 Unable to find image 'weaveworks/weaveexec:1.2.1' locally
 1.2.1: Pulling from weaveworks/weaveexec
 8a648f689ddb: Pull complete
 32cb7ec428b9: Pull complete
 442846c7a265: Pull complete
 b6612c070bd9: Pull complete
 6ecb73994984: Pull complete
 98c69b3e433b: Pull complete
 350505f52d83: Pull complete
 b7b1df8af663: Pull complete
 75425d4f82d6: Pull complete
 3d6b4db0af70: Pull complete
 4e9d7ba10157: Pull complete
 b1bdb47f447f: Pull complete
 183508e67c80: Pull complete
 Digest: sha256:1d9c31fecc9c669613139c567d60075fb985b5e5ee7eb7254c196828a6f6e8a3
 Status: Downloaded newer image for weaveworks/weaveexec:1.2.1
 Unable to find image 'weaveworks/weave:1.2.1' locally
 1.2.1: Pulling from weaveworks/weave
 Digest: sha256:c08dfd7f0453ef2dc307abbd970318b4679d832f88a5fed63f08449c1c91fa28
 Status: Downloaded newer image for weaveworks/weave:1.2.1
 Error deleting container: Error response from daemon: Unable to remove filesystem for             02b7f18c5663a7626e457080a3755f17d459081dea197d48ce65b9ba1c595a5b: remove       /var/lib/docker/containers/02b7f18c5663a7626e457080a3755f17d459081dea197d48ce65b9ba1c595a5b/shm: device or resource busy

Docker info output:
 root@swarm-node-04:~# docker info
 Containers: 4
 Images: 26
Server Version: 1.9.0
Storage Driver: aufs
Root Dir: /var/lib/docker/aufs
Backing Filesystem: extfs
Dirs: 32
Dirperm1 Supported: false
Execution Driver: native-0.2
Logging Driver: json-file
Kernel Version: 3.13.0-57-generic
Operating System: Ubuntu 14.04.3 LTS
CPUs: 1
Total Memory: 490 MiB
Name: swarm-node-04
ID: KD4B:UBEY:DOVI:BQKG:I5JK:U23N:OVG2:USRY:CHUP:3JCK:WLZP:6RXT
WARNING: No swap limit support
Labels:
provider=generic

Docker version:
root@swarm-node-04:~# docker version
Client:
Version:      1.9.0
API version:  1.21
Go version:   go1.4.2
Git commit:   76d6bc9
Built:        Tue Nov  3 17:43:42 UTC 2015
OS/Arch:      linux/amd64

Server:
Version:      1.9.0
API version:  1.21
Go version:   go1.4.2
Git commit:   76d6bc9
Built:        Tue Nov  3 17:43:42 UTC 2015
OS/Arch:      linux/amd64

Weave version:
root@swarm-node-04:~# weave version
weave script 1.2.1
weave router 1.2.1
weave proxy  1.2.1

Even if weave launch exited with an error I see 2 weave running containers, one named weave and the other is weaveproxy.
I expect to communicate with weave-proxy though 12375/tcp but it seems that weave-proxy is not bound to this port but it should, maybe he's not bound because of the above error.
All this stuff is because I tried to follow this tutorial by @inercia  : http://blog.weave.works/2015/11/06/weave-discovery-and-docker-swarm/#more-1759
I am happy to provide more debug info if needed.

We have seen similar errors in container deletion on docker 1.9.0. It's hard to pin down though.
One thing that did appear to cure the problem for me was switching docker's storage driver from aufs to overlay. That needs a more recent kernel than stock ubuntu 14.04 though.

I am running a setup similar to the one described in Part 3 of the official guide and run in to the same issue.
Are there Linux distros that are known to work without this issue? I would of course much rather prefer to have my docker-machine created instances be on some kind of a long-term support type distro version than not. CentOS, Debian, whatever would also be fine for me.

14.04 with a 3.19 kernel - which you can get through the LTS Enabledment Stack works just fine.

We realised the part of weave that triggers this error doesn't need access to that particular directory, so this will be fixed in the next point release.

It seems that this problem is solved with a 3.19 kernel , however Ubuntu 14.04 is still the latest LTS and it ships with 3.13. I don't know if it is the case to fix it or wait until the next Ubuntu LTS release due next April, it' s up to you. I leave this issue open but if you want to close it I am OK

authors: Ozzyboshi bboreham llarsson rade

repo: weaveworks/weave


text:
Weave docker container won't auto start when reboot host machine

While weave launch, we restart host machine. the dock engine started. but the weave , weaveproxy, weaveplugin won't auto start.
we should start these container by hand.

The plugin has always had --restart=always, and we added it to the router and proxy containers in version 1.5.
Do you get any error messages in the Weave container logs or in Docker's logs?

I am trying as the guide told me how to do:
https://www.weave.works/guides/part-3-creating-and-scaling-multi-host-docker-deployment-with-swarm-and-compose-using-weave/
After i restart docker machine one by one weave-1, weave-2, weave-3.
The weave container won't auto start

OK, looks like that guide has a copy of the Weave script at version 1.4.1.  I'll raise this issue over there.

authors: bboreham netroby


text:
fix: urllib to join ollama url domain to endpoint in place of string format

Issue: https://github.com/weaviate/Verba/issues/315
DIscussion: https://forum.weaviate.io/t/vectorization-failed-404-http-host-docker-internal-11434-api-embed/7363
It was found that setting the OLLAMA_URL environment variable with a trailing forward slash resulted in the file import endpoint being unable to import files with 404 NOT FOUND for "/api/embed". This change ensures correct url formatting to fix this issue to improve developer experience.

To avoid any confusion in the future about your contribution to Weaviate, we work with a Contributor License Agreement. If you agree, you can simply add a comment to this PR that you agree with the CLA so that we can merge.beep boop - the Weaviate bot 👋🤖PS:Are you already a member of the Weaviate Slack channel?

I agree to the Contributor License Agreement.

Great catch, thanks a lot for the PR 🚀 I'll look into it!

authors: Kieran-Sears thomashacker

repo: weaviate/Verba


text:
Password manager access with filtering argument

It is useful to have a method that opens the password manager window with a string/url being inserted in the search-box field. Like browser.logins.openManager({filter: url})
openDialog({
  url: 'chrome://passwordmgr/content/passwordManager.xul',
  features: 'chrome=yes,resizable=yes,toolbar=yes,centerscreen=yes,modal=no,dependent=no,dialog=no',
  args: {filterString: 'string goes here'}
});

@sarahavilov Please see my comment on issue #14. This should be opened as a bug on Bugzilla.

authors: bobsilverberg sarahavilov

repo: web-ext-experiments/logins


text:
Update style-loader.mdx

styleLoader object type configuration incorrectly had a loaderOptions property.
Summary
Related Links

Checklist

[x] Tests updated (or not required).
[x] Documentation updated (or not required).

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

thanks 🌹

authors: 9aoy CLAassistant qmakani

repo: web-infra-dev/rsbuild


text:
_typeof is not defined

System Info
@rspack/cli 0.1.9
Details
runtime with error _typeof is not defined
Reproduce link
No response
Reproduce Steps
// src/index.js
function _typeof(obj) {
  "@babel/helpers - typeof";

  return (
    (_typeof =
      "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
        ? function (obj) {
            return typeof obj;
          }
        : function (obj) {
            return obj &&
              "function" == typeof Symbol &&
              obj.constructor === Symbol &&
              obj !== Symbol.prototype
              ? "symbol"
              : typeof obj;
          }),
    _typeof(obj)
  );
}
function a(op, paramA, paramB) {
  if ("=" === op) return paramA === paramB;
  if (-1 !== ["=", "<", ">", ">=", "<=", "!="].indexOf(op))
    return eval("" + paramA + op + paramB);
  if (-1 !== ["in", "contains"].indexOf(op))
    return -1 !== paramB.indexOf(paramA);
  if (-1 !== ["is not null", "is null"].indexOf(op))
    return "is null" === op ? null == paramA : null != paramA;
  if (-1 !== ["startswith", "endswith"].indexOf(op)) {
    if ("startswith" === op) return 0 === paramA.indexOf(paramB);
    var start = paramA.length - paramB.length,
      str = paramA.substr(start, paramB.length);
    return str === paramB;
  }
}

var freeGlobal = _typeof({});

// rspack.config.js
module.exports = {
  stats: { preset: "normal" },
  target: ["web", "es5"],
  builtins: {
    html: [
      {
        filename: "index.html",
      },
    ],
  },
  entry: {
    "main": "./src/index.js",
  },
}

It opend at https://github.com/swc-project/swc/issues/7253

authors: jerrykingxyz underfin

repo: web-infra-dev/rspack


text:
dev打包完的产物运行报错

System Info
npm run rspack_dev
Details
dev配置打包完之后在浏览器运行报错
Reproduce link
No response
Reproduce Steps
npm install
npm run rspack_dev
浏览器中地址栏进入相应页面中

Please make sure vue version match vue-loader version

authors: Coder-XO underfin


text:
Support childCompiler

Support child compiler in order to support html-webpack-plugin and so on.
See: https://webpack.js.org/api/compilation-object/#createchildcompiler

建议提升这件事件的优先级，sentry 插件用不了很痛苦

事实上sentry并不被child compiler阻塞，sentry使用unplugin实现了插件，unplugin已经支持了rspack，实际上只需要给sentry官方提一个-sentry-rspack-plugin即可

it's supported

authors: h-a-n-a hardfist


text:
[Crypto Address] - new components

please build this new component 👍
Interface

address: string
color?: string
textSize?: 'body16' | 'body18' | 'caption14' | 'caption12'  | 'caption10'
textWeight?: TStandardWeight
linkUrl?: string;

Result

address is shortened
color has default, but will color the icons and text if passed
textSize has default, but will change the text size if passed (use Typography)
textWeight has default, but will change the text wight if passed (use Typography)
linkUrl if passed will show the link icon which links to the url plus the address (example below)
click copy will copy address (use Copy component)

linkUrl example
https://www.dextools.io/app/en/ether/pair-explorer/0x6c4c7f46d9d4ef6bc5c9e155f011ad19fc4ef321

I can try to create this component using ts
type TextSize = 'body16' | 'body18' | 'caption14' | 'caption12' | 'caption10';
type TextWeight = 'regular' | 'medium' | 'bold'; // Adjust according to your Typography component
interface AddressDisplayProps {
address: string;
color?: string;
textSize?: TextSize;
textWeight?: TextWeight;
linkUrl?: string;
}
use this interface for the type in the AddressDisplay component.


text:
Plausibilitätscheck

Die gespeicherten Zählerstände müssen auf Plausibilität untersucht werden.
Kriterien sind u.a.:

Signatur über den Zählerstand
Geodaten, Wetter bei Solaranlagen, Produktionsmenge in selber Region
AI für Anomalien

an 3 Stellen müssen die geschickten Zählerstände geprüft werden:

Wenn ein peer eine CID mit Zählerstand empfangen hat. Dann Plausibilitätscheck, bevor sie in die Queue dürfen
Wenn der signer die Transaktion zum Unterschreiben an die peers schickt. Peers müssen die CID aus dem name_doi prüfen und mit der Queue abgleichen
Wenn die Transaktion nach einem bestimmten Zeitraum immer noch im Mempool liegt und nicht in einen Block aufgenommen wurde.

repo: webanizer/BlockPro


text:
Testing use case

Related with #1

LGTM

@justinfagnani could you merge this when you have a chance? 🙂

authors: jorgecasar thepassle

repo: webcomponents/custom-elements-json


text:
Updated DOCKER-STARTUP.md

A notice about the need for a specific git version to be able to track branches in submodules.

Thanks :)

authors: mblaschke ulrikkold


text:
Setting Root Public Path with more than 1 character breaks Integrity

Current behavior
Integrity setting now works for a public path of /, but adding anything beyond that breaks it again producing the same errors as #42 and #43 (IE if your public path is /test
Expected behavior
Complex Root Public Path should work with integrity
Reproduction Example
https://github.com/SteffenBlake/html-bundler-webpack-plugin-bug-examples/blob/main/webpack.config.js#L32-L33
npm run build with current settings works and produces the expected output.
Switching the commented out publicPath config to be /test reproduces the bug.
Environment

OS: Windows
version of Node.js: v21.1.0
version of Webpack: 5.89.0
version of the Plugin: 2.15.1

Proposed Fix
Forking a branch, will be opening a PR shortly.

Hello @SteffenBlake,
thank you for the bugfix!
The v2.15.2 fix is published.

authors: SteffenBlake webdiscus

repo: webdiscus/html-bundler-webpack-plugin

license: ISC


text:
Remove files in public/img

There are a bunch of images in public/img, which are also duplicated in public/assets/img.
I believe this was caused by a race between the PRs: https://github.com/webgpu/webgpu-samples/pull/313 and https://github.com/webgpu/webgpu-samples/pull/310.
I believe the files in  public/img are not in use, and should be removed.

Just wanted to check in and see if this issue still needed addressing.

authors: ben-clayton cmhhelgeson

repo: webgpu/webgpu-samples


text:
Can not name relationship field "Type"

Logging this quickly, and will produce a smaller use-case/demo when I get a chance (hopefully this is the right repo for it).
It seems that if I create a relationship field and use the name "Type", the generator dies when rendering that particular template:

Fatal error: Cannot set property _type of # which has only a getter

Renaming that field to anything else that the CMS thinks is valid will work.

Yes this is due to us using _type as a private variable and conflicting with the special relationship field stuff, will talk to mike about a workaround for this (like making a field named type translate to something else)

Thanks!
Now I don't need to make a small demo of the issue. :-)

authors: LtSquigs dkenzik

repo: webhook/webhook-cms


text:
Using custom scalar types fails in isTypeSubTypeOf

I think I found a bug, related to the workaround in https://github.com/webonyx/graphql-php/issues/681#issuecomment-650187470.
What I'm doing? Executing this query:
query q($input: TestScalarType) {
      fieldWithScalarInput(input: $input)
}

TestScalarType is a class TestScalarType extends ScalarType that is registered according to the workaround in the comment linked above. Schema is below.
scalar TestScalarType @scalar(class: "ModelariumTests\\TestScalarType")

schema {
  query: TestType
}

input TestInputObject {
  t: TestScalarType
}

type TestType {
  fieldWithObjectInput(input: TestInputObject): String
  fieldWithNullableStringInput(input: String): String
  fieldWithNonNullableStringInput(input: String!): String
  fieldWithScalarInput(input: TestScalarType): TestScalarType
}

Running:
GraphQL::executeQuery($schema, $query, null, null, 'input' => 'valid');

Returns an error:
class GraphQL\Error\Error#692 (15) {
  public $message =>
  string(92) "Variable "$input" of type "TestScalarType" used in position expecting type "TestScalarType"."

apparently this is caused by this:
    public static function isTypeSubTypeOf(Schema $schema, $maybeSubType, $superType)
    {
        // Equivalent type is a valid subtype
        if ($maybeSubType === $superType) {
            return true;
        }

$maybeSubType is a MyOwnScalar and $superType is a CustomScalarType. Perhaps the comparison should be instanceof instead of equality? Or am I missing something?
I can submit the entire testcase if desired.

Yeah, the full test case would be great, thanks!

Reproduced here: https://github.com/Corollarium/modelarium/blob/d965a19468cf7aad8dd623041f1fa57a64a3daba/tests/Unit/ScalarExtendTest.php#L101
If you want me to isolate in a PR here let me know. I can send the fix too -- instanceof comparison works.

This means that there are two different instances of the same type in the schema which shouldn't happen. Using instanceof would be a workaround for this but not a fix. A good fix should guarantee the only instance (so that === works there).

Well, but your suggestion leads to multiple instances, since it will call new:
$schema->getConfig()->typeLoader = function($typeName) use ($originalTypeLoader) {
    $type = $originalTypeLoader($typeName);
    if ($type instanceof \GraphQL\Type\Definition\CustomScalarType) {
        $directives = $type->astNode->directives;
        // Look for your `@scalar` directive in $directives and return your custom class instead
        $customClass = findMyScalarClassName($directives);
        return new $customClass($type->config);
    }
    return $type;
}

I mean there shouldn't be two instances of the same type within one schema (of course you can create multiple instances of a type as long as they are not both added to the same schema).

authors: brunobg vladar

repo: webonyx/graphql-php


text:
Update Tar version from currently used 2.2.2

Hi, can we have updated Tar https://www.npmjs.com/package/tar package in this library currently used version 2.2.2 is outdated and deprecated. Also have vulnerabilities https://snyk.io/test/npm/tar/2.2.2.

upvote

repo: webosose/ares-cli


text:
image included in 'src' attribute of image tag won't be copied to dist folder

this is a piece of my webpack.config.js
{
	test: /\.(jpe?g|gif|png|svg)$/i,
	use: 'file-loader?name=/image/[name].[ext]'
}

When I have css style like this
style.scss
div{
  background: url(./image/banner.png)
}

The banner.png will be copy to dist/image folder when build, which is good, which is what I expected
But when I have this
AccountComponent.jsx

...

...

When build, the box.png won't be copied to dist/image folder. Which is problem.

Dupe of https://github.com/webpack/file-loader/issues/93

Dupe of https://github.com/webpack/file-loader/issues/93

Thanks for the comment, but I don't see how this issue is the same as #93
in #93 the the image got corrupted. In this issue the image is not copied to distribution folder.

Thanks for the comment, but I don't see how this issue is the same as #93
in #93 the the image got corrupted. In this issue the image is not copied to distribution folder.

You're right. This is not a bug, you're using it wrong. You need to import the image like this:
import BoxImg './image/box.png';
...

You're right. This is not a bug, you're using it wrong. You need to import the image like this:
import BoxImg './image/box.png';
...

repo: webpack/file-loader


text:
Webpack 4 Incorrectly Rendering select Element Options

Bug report

What is the current behavior?
Simple HTML select element is not being rendered properly. The option elements that are coded within the select are being rendered outside of the select element in the final output HTML file.
If the current behavior is a bug, please provide the steps to reproduce.
<select name="language" id="language">
  <optgroup label="Select Language">
    <option value="all" selected>All Languages</option>
    <option value="german" lang="de">Englisch Deutsch</option>
    <option value="french" lang="fr">Anglais français</option>
    <option value="italian" lang="it">Inglese e italiano</option>
    <option value="spanish" lang="es">Ingles Español</option>
    <option value="english" lang="en">English Only</option>
  </optgroup>
</select>

What is the expected behavior?
The option elements should remain as nested children to the select. I can not post my full repository.

Other relevant information:
webpack version:

"webpack": "^4.41.3",
"webpack-cli": "^3.3.10",
"webpack-dev-server": "^3.10.0",

Node.js version: 10.17.0  && 12.13.1
Operating System: macOS 10.15.2
Additional tools:

"@babel/core": "^7.7.5",
"@babel/plugin-transform-modules-commonjs": "^7.7.5",
"@babel/preset-env": "^7.7.6",

Not related to webpack.

authors: philsinatra sokra

repo: webpack/webpack


text:
Invalid configuration object

Bug report
Invalid configuration object. Object has been initialized using a configuration object that does not match the API schema.

configuration has an unknown property '_assetEmittingPreviousFiles'. These properties are valid:
object { bonjour?, client?, compress?, dev?, firewall?, headers?, historyApiFallback?, host?, hot?, http2?, https?, injectClient?, injectHot?, liveReload?, onAfterSetupMiddleware?, onBeforeSetupMiddleware?, onListening?, open?, openPage?, overlay?, port?, proxy?, public?, setupExitSignals?, static?, stdin?, transportMode?, useLocalIp? }

What is the current behavior?
If the current behavior is a bug, please provide the steps to reproduce.

What is the expected behavior?

Other relevant information:
webpack version:
Node.js version:
Operating System:
Additional tools:

Please update webpack-dev-server to v4 and webpack-cli to v4.8.0

Answered, please use search before update

authors: alexander-akait anshumanv dxdleikai


text:
What's new in webpack 2.1?

Thank you for this awesome work.
I noticed that the beta version was updated to 2.1.
Why not 2.0? Is there any ChangeLog for this version?
@sokra

because of #2004

authors: kouhin sokra


text:
More useful profiler wanted.

It would be very nice to gen more powerful profiler output. Like:
ts-loader: XXXms total, XXXms average per module
babel-loader: XXXms total, XXXms average per module
ExternalPlugin: XXXms total, (hookName: XXms, hookName2: XXms)

This output very useful to quick get build performace problems.

Can you comment at https://github.com/webpack/webpack/issues/3996 ? Let's merge this there. If we had a better logging interface and interception, that might achieve what you want.

authors: Strate bebraw


text:
Allowing System.import to import from auto generated module from memory.

Do you want to request a feature or report a bug?
Feature request

What is the current behavior?
System.import allows to import a module only from a disk.
If the current behavior is a bug, please provide the steps to reproduce.

What is the expected behavior?
Allowing System.import to import from a module content in memory.
If this is a feature request, what is motivation or use case for changing the behavior?
If System.import allows to accept module content instead of a path to a module, it allows to assemble a module at run time.
The scenario I've is, editors configure modules of a page using a CMS. I've a service that will read what is configured by editors and planning to automatically generate module script that will import all the modules configured by editors. If System.import supported importing a module using a content, I would pass auto generated content to System.import instead of saving to a disk and passing a path to system.import. Saving on a disk for lots of users for different configuration of a page will have a performance impact.
Thanks,
Bruk

You can use a loader to generate content while compilation:
i. e. import("./my-loader!")
Export a function returning a string from my-loader.

@sokra thanks for your suggestion... Actually, I want to generate the bundle at run time... looks like system.import is only a build time thing and can't use. I'm exploring webpack node api to create a Node service and have bundle as a service.

Hi @sokra Is there anyway to import('http://cdn.bundle1.js') import at run time from CDN ?

@lovedota Create a new issue.

authors: bruk1977 lovedota montogeek sokra


text:
[Performance] Webpack 2.4.0+ slower than 2.3.x

Do you want to request a feature or report a bug?
Bug

What is the current behavior?
Currently getting a ~60 second difference between Webpack 2.4.0 and 2.3.3:
Version: webpack 2.4.0
Child
    Hash: a9e44da36f0f1261c351
    Time: 196998ms

vs.
Version: webpack 2.3.3
Child
    Hash: 603d49f5ab0d93e0c43f
    Time: 137490ms

The only change made to any config/build/etc  was changing webpack versions in package.json.
I also tested this with 2.5.1, and had the same results as 2.4.0.
If the current behavior is a bug, please provide the steps to reproduce.
Install 2.3.3, build and record time. Up to 2.4.0+ and record time

What is the expected behavior?
A similar build-time to previous version of webpack.
Please mention other relevant information such as the browser version, Node.js version, webpack version and Operating System.
Node: 6.9.4
webpack: tested 2.2.1, 2.3.3, 2.4.0, 2.4.1, 2.5.1. All versions 2.4.0 and above were slower than the versions below 2.4.0.
Not sure what would make such a drastic change in build time. Perhaps to acorn update to 5 that happen in 2.4.0?
I'll see if I can dig a bit into the diffs and see if anything pops out.

well, it's not acorn 5.
I did some messing around with npm installing webpack via github from specific commits, and from what I can tell the culprit is this guy: https://github.com/webpack/webpack/commit/983904cfa354eb00256f44b973a539090a19c7c6
i'll continue looking into this and see if i can get a PR in

I went ahead and manually changed that commit back in my local dependencies, and it got the performance boost back. So I can confirm that the performance regression was introduced in that commit.
The problem with this is, that commit is from this pull request: https://github.com/webpack/webpack/pull/4622
so, reverting that commit looks like it would break using context.issuer in custom resolvers.
I'm curious what @sokra was going for with the resolveContextInfo in this commit: https://github.com/webpack/webpack/commit/da29d21ae44056ccbd525282300df7184e922d97#diff-1fd8fe07e83988b2301f9bad408cf5c2
Is it possible to keep the context feature, but also speed up performance back to what it was before that commit?
Another angle to investigate is: is this actually webpack? It doesn't seem like this change should create such a performance hit?

Also, just for the heck of it I attempted to use webpack/webpack#beta build, and still had the slow performance of 2.4.0+ versions.

da29d21 will cause that the resolve cache can used less often.
It passes issuer to the resolver. This allows to resolve depending on issuer. Maybe we can add an option to specify the context information passed to the resolver, so you get higher performance if you don't need it.

We're also seeing this regression
14:24 $ node scripts/test-webpack-build.js
Build: 31679.024ms
14:25 $ node scripts/test-webpack-build.js
Build: 33072.790ms
14:26 $ node scripts/test-webpack-build.js
Build: 31929.403ms
14:26 $ rm -rf node_modules/webpack
14:27 $ ni webpack@2.3.3
salestrader@3.0.0-alpha0 /Users/briand/dev/salestrader/apps/salestrader
└─┬ @caplin/build-tasks@4.0.0
  └─┬ webpack@2.3.3
    └── acorn@4.0.11
14:27 $ node scripts/test-webpack-build.js
Build: 16285.997ms
14:28 $ node scripts/test-webpack-build.js
Build: 15049.645ms
14:28 $ node scripts/test-webpack-build.js
Build: 15103.269ms

This change doubles our build time, so we are pinning 2.4.0

I'm not sure if this is useful information, but FWIW at Airbnb, we also noticed this dramatic performance regression when going from v2.3.2 to v2.4.0 (with no other changes). So, we'll be stuck on v2.3.2 until this is fixed. Here are our before and after timings:
v2.3.2: 378644ms
v2.4.0: 751531ms
Let me know if I can provide any more information or if you'd like me to try anything out! Thanks for all of your hard work on this. 🏇

v2.3.2: 83 seconds
v3.0.0-rc.1: 62 seconds
So I guess other performance improvements have trumped this particular regression ?

cc @mikesherov if interested.

We have stopped at v.2.3.3 until this is resolved.

Is this still a problem in Webpack 3?

@sokra I think I'm not alone in wanting a resolution to this, like many have already mentioned, it's keeping me stuck on an older version for one of my (larger) projects. It seems the reason for this pref regression got identified as a result of tighter caches thanks to da29d21 could we make that behavior opt-in or even if you could just show us how we could change our configs to avoid sending that extra context information, as you mentioned, then we'd be able to enjoy all the benefits of webpack@3

I'm going to look into this today.

Because no internal resolvers need the context information, and introducing an option to provide it would be a breaking change, my plan is as follows:

Stop passing context information like da29d21 did unless a custom resolve plugin is provided. This will give performance back to the overwhelming majority of folks who don't use resolvePlugins.
For Webpack 4.0, require resolve plugins to provide a property called needsContext (similar to cacheable for loader plugins). Then, when plugins are registered, Webpack can determine if any custom plugins actually need context, and only provide context in the case at least one needs it.

@sokra thoughts?

OK, I have a potential fix which is different from the ones proposed above. PR coming shortly to the enhanced-resolve repo.
Essentially, there will be a new resolve option called aggressiveCache, which is on by default, which ignores request.context entirely when considering whether a resolved module is cached or not. For users who need to consider context, they can set it to false, and that'll allow context to be considered for the key.
PR coming in like 10 minutes.

https://github.com/webpack/enhanced-resolve/pull/92

https://github.com/webpack/webpack/pull/5178 which leverages https://github.com/webpack/enhanced-resolve/pull/92
Feel free to test it out folks and see if it speeds up your builds again.

(Cross post)
webpack 3 - 65 seconds
webpack 3 with @mikesherov PR - 34.4 seconds
webpack 2.3.3 - 34.0 seconds
:)

We managed to sneak even more perf into #5178 thanks to a speedup @gdborton found, so the master branch should be even faster than 2.3.3 !

@mikesherov is there a way to figure out if a given setup has any resolve or resolveLoader plugins, so that we can take them out to avoid performance loss?

@filipesilva it would be in your resolve.plugins or resolveLoader.plugins configuration setting.

Ah that's straightforward, cheers!

authors: NogsMPLS TheLarkInn awestroke briandipalma filipesilva lencioni lukeapage mikesherov rozzzly sokra


text:
Tree shaking doesn't work with "export { className } from 'module'"

Do you want to request a feature or report a bug? bug

What is the current behavior?
I have 2 files,
export class HelloWorldUnused {
	sayHello () {
		return "hello world";
	}
}

export class HelloWorldUsed {
	sayHello () {
		return "hello world";
	}
}

import { HelloWorldUsed } from "./vendor";

const helloWorld = (new HelloWorldUsed()).sayHello();

export { HelloWorldUnused, HelloWorldUsed } from "./vendor";

webpackJsonp([0],[
/* 0 */,
/* 1 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";

Object.defineProperty(exports, "__esModule", { value: true });
var vendor_1 = __webpack_require__(0);
var helloWorld = (new vendor_1.HelloWorldUsed()).sayHello();
var vendor_2 = __webpack_require__(0);
exports.HelloWorldUnused = vendor_2.HelloWorldUnused;
exports.HelloWorldUsed = vendor_2.HelloWorldUsed;

/***/ })
],[1]);
//# sourceMappingURL=app.bundle.map

In my final bundle, the unused classed is still being shipped and not threeshaken.
If the current behavior is a bug, please provide the steps to reproduce.
https://github.com/alan-agius4/typescript-webpack-error-treeshaking
What is the expected behavior?
The unused class is removed from "app.bundle.js"
If this is a feature request, what is motivation or use case for changing the behavior?
Please mention other relevant information such as the browser version, Node.js version, webpack version and Operating System.  v3.4.0

Typescript is configured to transpile ESM to CJS
exporting things from entry points make them "used"

What if the file is a seperate is library, How can it be tackling?
On Mon, 07 Aug 2017 at 14:51, Tobias Koppers notifications@github.com
wrote:

Typescript is configured to transpile ESM to CJS
exporting things from entry points make them "used"

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/webpack/webpack/issues/5452#issuecomment-320654746,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQv-WgempKvy-xriU2ySZmS3CBUooRr_ks5sVwhKgaJpZM4OvWH2
.

@sokra I have updated the code, and the problem still persist the unused class is still being exported


text:
chore(deps): update all minor and patch deps, remove lint errors

What kind of change does this PR introduce?
Refactor, feature.

Did you add tests for your changes?
N/A

If relevant, link to documentation update:

Summary
This PR:

updates minimum NodeJS Requirements to 6.11.5
updates node-eslint-plugin to check against package.json "engines" property
update engines prop in package.json
update all dependencies to install latest minor and patch level changes

Since we are dropping node 4 support in webpack v4, this is being applied against the next branch.
Does this PR introduce a breaking change?
Yes.

This is a hard requirement for webpack/webpack#next branch (and eventually master) to drop node 4 as LTS has ended for it.
Other information

I'll try and recommit these with different account. Having issues ssince I setup my new computer for this XD

Thanks

authors: TheLarkInn sokra


text:
Add try_send_to for Conn

https://github.com/webrtc-rs/util/blob/2d193c0fd146e4d48ce63d07dbd085702b60aac2/src/conn/mod.rs#L26-L36
This is required to implement Write trait

We have migrated this crate to the monorepo(webrtc-rs/webrtc) please re-open this issue over there.

repo: webrtc-rs/util


text:
Chrome unstable: addTrack works with DTMF, update expectations

Chrome has now been fixed, expectations updated accordingly on unstable. See #733

PTAL @KaptenJansson

@fippo does this PR has anything to do with the failing test on master?
 inserts DTMF
      ✔ when using addStream
      ✖ when using addTrack

@zaxy78 no that test has been particularly flaky. Needs a kick or two from someone with commit bit then its usually fine

authors: fippo henbos zaxy78

repo: webrtc/adapter


text:
Proposal of Inband CN RTP header extension.

This is to propose an experimental RTP header extension to signal inband comfort noise. For details, please refer to the proposal.

@alvestrand would you take a look at this proposal? Thanks.

Hi,
An update has been made in this CL. PTAL again, thanks!

Now comes a refined version, which I did some formatting and verified by compiling it.

repo: webrtc/webrtc-org


text:
Invalid grant error after 5 minutes

Hi there!
I keep getting the following error. Even though it is only five minutes since a token was issued. Do you have any idea what this could be?
{ "error":"invalid_grant","error_description":"Token is not allowed, because of invalid or empty chainId" }
Thanks

Heey,
Same here. Dod you find a solution? Would help me a lot!

No not yet, if I will i will let you know, if you do please also let me know @jowheeman

I don't know exactly what fixed it. But I reinstalled picqer and this package, then removed a double json file. Workes fine now for the last two days.

authors: deniztezcan jowheeman

repo: websmurf/laravel-exact-online


text:
unable to find artifact 'webui'

init:
zig version
# 0.11.0

mkdir webuix
cd webuix
zig init-exe

build.zig:
const std = @import("std");

pub fn build(b: *std.Build) void {
    const target = b.standardTargetOptions(.{});

    const optimize = b.standardOptimizeOption(.{});

    const exe = b.addExecutable(.{
        .name = "webuix",
        .root_source_file = .{ .path = "src/main.zig" },
        .target = target,
        .optimize = optimize,
    });

    const zig_webui = b.dependency("zig-webui", .{
        .target = target,
        .optimize = optimize,
        .enable_tls = false,
        .is_static = true,
    });

    // add module
    exe.addModule("webui", zig_webui.module("webui"));

    // link library
    exe.linkLibrary(zig_webui.artifact("webui"));

    b.installArtifact(exe);

    const run_cmd = b.addRunArtifact(exe);

    run_cmd.step.dependOn(b.getInstallStep());

    if (b.args) |args| {
        run_cmd.addArgs(args);
    }

    const run_step = b.step("run", "Run the app");
    run_step.dependOn(&run_cmd.step);

    const unit_tests = b.addTest(.{
        .root_source_file = .{ .path = "src/main.zig" },
        .target = target,
        .optimize = optimize,
    });

    const run_unit_tests = b.addRunArtifact(unit_tests);

    // Similar to creating the run step earlier, this exposes a `test` step to
    // the `zig build --help` menu, providing a way for the user to request
    // running the unit tests.
    const test_step = b.step("test", "Run unit tests");
    test_step.dependOn(&run_unit_tests.step);
}

build.zig.zon
.{
    .name = "webuix",
    .version = "0.0.1",
    .minimum_zig_version = "0.11.0",
    .dependencies = .{
        .@"zig-webui" = .{
            .url = "https://github.com/webui-dev/zig-webui/archive/main.tar.gz",
            .hash = "122031d4effb8bc751acb64f311bae1913a1792bc23fb5de1b81278d60cf09048e29",
        },
    },
    .paths = .{
        "",
    },
}

error when run zig build run:
info(WebUI): link mode is static
thread 14892 panic: unable to find artifact 'webui'
D:\Scoop\apps\zig\current\lib\std\debug.zig:374:22: 0x7ff6b5085e84 in panicExtra__anon_47138 (build.exe.obj)
    std.builtin.panic(msg, trace, ret_addr);
                     ^
D:\Scoop\apps\zig\current\lib\std\debug.zig:349:15: 0x7ff6b505fd4c in panic__anon_29074 (build.exe.obj)
    panicExtra(null, null, format, args);
              ^
D:\Scoop\apps\zig\current\lib\std\Build.zig:1550:18: 0x7ff6b503c6f8 in artifact (build.exe.obj)
            panic("unable to find artifact '{s}'", .{name});
                 ^
E:\xk\Code\xkyss\xkyss.zpp\playz\v0.11\webuix\build.zig:26:39: 0x7ff6b4ffbcea in build (build.exe.obj)
    exe.linkLibrary(zig_webui.artifact("webui"));
                                      ^
D:\Scoop\apps\zig\current\lib\std\Build.zig:1638:33: 0x7ff6b4feb7f5 in runBuild__anon_7300 (build.exe.obj)
        .Void => build_zig.build(b),
                                ^
D:\Scoop\apps\zig\current\lib\build_runner.zig:297:29: 0x7ff6b4fe7795 in main (build.exe.obj)
        try builder.runBuild(root);
                            ^
D:\Scoop\apps\zig\current\lib\std\start.zig:339:65: 0x7ff6b4feba7c in WinStartup (build.exe.obj)
    std.os.windows.kernel32.ExitProcess(initEventLoopAndCallMain());
                                                                ^
???:?:?: 0x7ffcde457343 in ??? (KERNEL32.DLL)
???:?:?: 0x7ffcde7226b0 in ??? (ntdll.dll)
error: the following build command failed with exit code 3:
E:\xk\Code\xkyss\xkyss.zpp\playz\v0.11\webuix\zig-cache\o\098a2f4861e4a3c3c2a4b8de9b8ea9c3\build.exe D:\Scoop\apps\zig\current\zig.exe E:\xk\Code\xkyss\xkyss.zpp\playz\v0.11\webuix E:\xk\Code\xkyss\xkyss.zpp\playz\v0.11\webuix\zig-cache C:\Users\xkyii\AppData\Local\zig run

Did I miss any important information?

Sorry, it's my problem. I mistakenly deleted the installartifact when adapting to the new API yesterday.
now, everything is available

you need to update your hash

authors: jinzhongjia xkyii

repo: webui-dev/zig-webui


text:
🛑 Web World View is down

In 74040d0, Web World View (https://www.webworldview.com) was down:

HTTP code: 502
Response time: 24421 ms

Resolved: Web World View is back up in d9d3314.

repo: webworldview/uptime


text:
🛑 The Good Cyclist is down

In 1f51829, The Good Cyclist (https://thegoodcyclist.iwview.com) was down:

HTTP code: 521
Response time: 125 ms

Resolved: The Good Cyclist is back up in 3e118ee after 416 days, 9 hours, 28 minutes.


text:
🛑 DragonBoat Times is down

In 7caeb43, DragonBoat Times (https://www.dragonboattimes.com) was down:

HTTP code: 521
Response time: 139 ms

Resolved: DragonBoat Times is back up in 7e9a5b6 after 3 hours, 7 minutes.


text:
.NET Wechaty Contributors 招募

join us
Wechaty is used in many ChatBot projects by thousands of developers. If you want to talk with other developers, just scan the following QR Code in WeChat with secret code wechaty, join our Wechaty Developers' Home.

Scan now, because other Wechaty developers want to talk with you too! (secret code: wechaty)
Everything about Wechaty
https://github.com/juzibot/Welcome/wiki/Everything-about-Wechaty
.NET Wechaty Development Progress
.NET Wechaty 发布进展 https://github.com/wechaty/dotnet-wechaty/issues/18

目前还有进度吗？

@qcjxberin  打算等2.0，到时候再按照2.0的版本对比进行重构一番

authors: Jesn qcjxberin

repo: wechaty/dotnet-wechaty


text:
Combine all of the contribution guide together

As talked with @iamrajiv https://github.com/wechaty/wechaty.js.org/pull/917
I think wechaty should have only one contributing file, it should be: http://wechaty.js.org/docs/contributing/
We should merge https://github.com/wechaty/openapi/pull/16  and https://github.com/wechaty/wechaty/blob/master/CONTRIBUTING.md to http://wechaty.js.org/docs/contributing/ together, and all of the start contributing link is the unified link: http://wechaty.js.org/docs/contributing/
I suggest [Introduction] team improves contributing page in the next period, how do you think so? @Rohitesh-Kumar-Jain

I agree that all the CONTRIBUTING.md files in our wechaty projects' repo should be simply linked to https://wechaty.js.org/docs/contributing/ , if anyone wants to create it.
It's also acceptable to not have CONTRIBUTING.md at all, by adding a ## Contributing section in the README.md file.

authors: huan lijiarui


text:
maven库连接不上

classpath 'com.android.tools.build:gradle:2.2.2'
classpath 'com.taobao.android:weexplugin-gradle-plugin:1.1.3-SNAPSHOT'
这是1.0.3版生成的android项目里需要的，但是提供的maven库不能访问，旧版库（maven { url 'http://repo.baichuan-android.taobao.com/content/groups/BaichuanRepositories/' }）可以访问但是没有提供gradle2.2.2，也没有weexplugin-gradle-plugin。
导致执行weexpack run android是出现以下错误：
What went wrong:
A problem occurred configuring root project 'android'.
> Could not resolve all dependencies for configuration ':classpath'.
   > Could not find com.taobao.android:weexplugin-gradle-plugin:1.1.3-SNAPSHOT.
     Searched in the following locations:
         http://repo.baichuan-android.taobao.com/content/groups/BaichuanRepositories/com/taobao/android/weexplugin-gradle-plugin/1.1.3-SNAPSHOT/maven-metadata.xml
         http://repo.baichuan-android.taobao.com/content/groups/BaichuanRepositories/com/taobao/android/weexplugin-gradle-plugin/1.1.3-SNAPSHOT/weexplugin-gradle-plugin-1.1.3-SNAPSHOT.pom
         http://repo.baichuan-android.taobao.com/content/groups/BaichuanRepositories/com/taobao/android/weexplugin-gradle-plugin/1.1.3-SNAPSHOT/weexplugin-gradle-plugin-1.1.3-SNAPSHOT.jar
         https://repo1.maven.org/maven2/com/taobao/android/weexplugin-gradle-plugin/1.1.3-SNAPSHOT/maven-metadata.xml
         https://repo1.maven.org/maven2/com/taobao/android/weexplugin-gradle-plugin/1.1.3-SNAPSHOT/weexplugin-gradle-plugin-1.1.3-SNAPSHOT.pom
         https://repo1.maven.org/maven2/com/taobao/android/weexplugin-gradle-plugin/1.1.3-SNAPSHOT/weexplugin-gradle-plugin-1.1.3-SNAPSHOT.jar
         https://jcenter.bintray.com/com/taobao/android/weexplugin-gradle-plugin/1.1.3-SNAPSHOT/maven-metadata.xml
         https://jcenter.bintray.com/com/taobao/android/weexplugin-gradle-plugin/1.1.3-SNAPSHOT/weexplugin-gradle-plugin-1.1.3-SNAPSHOT.pom
         https://jcenter.bintray.com/com/taobao/android/weexplugin-gradle-plugin/1.1.3-SNAPSHOT/weexplugin-gradle-plugin-1.1.3-SNAPSHOT.jar
     Required by:
         :android:unspecified

请问有办法解决吗？
大家用weex都能成功run吗？怎么做的能不能给个地址学习一下。

同问题，好像是阿里的私库，外网访问不了。

@GITHUB-GAGE 没解决

同问，卡这里过不去，生成的好像用了阿里的私库

同问，有解决的方案没

找了好些资料，还是没找到解决办法

同样是这个问题，找个一个旧版本的android模版复制过去，勉强可以跑起来，不使用classpath 'com.taobao.android:weexplugin-gradle-plugin:1.1.3-SNAPSHOT'
依赖项。
服了，为什么外网不发布这个包那，找了ailiyun上面所有的仓库，全部都没有这个包

authors: HirahKong Wushq evil-alex github-gage struts2012 zht110227

repo: weexteam/weex-pack


text:
Handle unusual license URLs coming through in the METS

Currently we have ~80 items on a DLQ, but this might be something that needs fixing at source.
See discussion here: https://wellcome.slack.com/archives/CN56BRQ5B/p1635489724005000

Fixed at source, nothing more for us to worry about.

repo: wellcomecollection/platform


text:
GA data request from a grantholder

What is the problem to solve?
Request for usage data of The Hidden Persuaders series by a grantholder involved in its creation.
Data needed: Unique and non-unique users/visitors
Note that series was published in autumn 2018
URLs to use:
https://wellcomecollection.org/series/W1boEyYAACgAqwfw
https://wellcomecollection.org/articles/W1bjRCYAACcAqvKh (published 6/9/2018)
https://wellcomecollection.org/articles/W1bqBSYAACYAqxCK (published 13/9/2018)
https://wellcomecollection.org/articles/W1buxiYAACgAqyV9 (published 20/9/2018)
https://wellcomecollection.org/articles/W1bwkyYAACUAqy10 (published 27/9/2018)
https://wellcomecollection.org/articles/W1byZiYAACgAqzV7 (published 4/10/2018)
https://wellcomecollection.org/articles/W1b0QyYAACUAqz23 (published 11/10/2018)
Background
Jenn forwarded the email request to @taceybadgerbrook
Requested by:
Jennifer Parkinson (Wellcome) via Katie T

@taceybadgerbrook I'm sure you've done this one. Can you please add the findings and close the issue?

I wrote this in ticket #10099.

authors: jennpb taceybadgerbrook


text:
Bag replicator is putting messages on the DLQ that seem to complete successfully

As of right now, there are eight messages on the bag replicator DLQ (a couple of duplicate IDs). At a casual glance, the bag replicator has successfully copied all the objects for each bag (the numbers are correct, at least), so it’s not clear why it’s failed.
   12273 b2146201x_access.txt
   12273 b2146201x_archive.txt
   11638 b2150751x_access.txt
   11638 b2150751x_archive.txt
   11232 b2475092x_access.txt
   11232 b2475092x_archive.txt
   62700 b2475772x_access.txt
   62700 b2475772x_archive.txt
      18 b24962648_access.txt
      18 b24962648_archive.txt
   10806 b2877212x_access.txt
   10806 b2877212x_archive.txt

If it wasn't for b24962648, I’d wonder if we’re just timing out the messages? Not sure why that  particular bag fell over.

@alexwlchan Can this be closed?

@pollecuttn I want to leave it a few more days and check it doesn't crop up; it's a transient issue so hard to know for sure if/when it's fixed!

authors: alexwlchan pollecuttn

repo: wellcometrust/platform


text:
can we make the k2 to be an optional rather than necessary

in the latest commit, the k2 is added for HLG decoding and it is forced to be imported in asr_model.py
I think it is better to skip import if K2 not installed
And there aren't any install script for k2 in requirements or readme
by pip install k2, it will install torch 1.7 (K2 seems not fully compeleted, the doc and install script not well-built)

by pip install k2, it will install torch 1.7

It will install torch 1.12.1, which is clearly documented at https://k2-fsa.github.io/k2/installation/pip_pypi.html

K2 seems not fully compeleted, the doc and install script not well-built

We have detailed installation documentation at
https://k2-fsa.github.io/k2/installation/pip_pypi.html
Would you mind pointing out which part is not clear? We can improve it. Thanks!

by pip install k2, it will install torch 1.7

It will install torch 1.12.1, which is clearly documented at https://k2-fsa.github.io/k2/installation/pip_pypi.html
If you don't want this behavior. You can either install k2 using conda or compiling it from source.

K2 seems not fully compeleted, the doc and install script not well-built

We have detailed installation documentation at https://k2-fsa.github.io/k2/installation/pip_pypi.html
Would you mind pointing out which part is not clear? We can improve it. Thanks!

K2 is not my point, I just took a look on this page https://github.com/k2-fsa/k2 and didn't find an install guide, so I tried pip install k2 and it installed a torch 1.7 (may be because I am using py 3.6?)

my bad:
except ImportError:
    print('Failed to import k2 and icefall. \
        Notice that they are necessary for hlg_onebest and hlg_rescore')

I misread this as
except:
     raise ImportError

this line will not break the process, just a warning message. this issue should be closed.


text:
windows 编译有错误

你好，我这边Windows编译出现如下错误：
       行 523: ..\speaker\speaker_engine.cc(163): error C2039: "inner_product": 不是 "std" 的成员
	行 525: ..\speaker\speaker_engine.cc(163): error C3861: “inner_product”: 找不到标识符
	行 526: ..\speaker\speaker_engine.cc(164): error C2039: "inner_product": 不是 "std" 的成员
	行 528: ..\speaker\speaker_engine.cc(164): error C3861: “inner_product”: 找不到标识符
	行 529: ..\speaker\speaker_engine.cc(166): error C2039: "inner_product": 不是 "std" 的成员
	行 531: ..\speaker\speaker_engine.cc(166): error C3861: “inner_product”: 找不到标识符
	行 558: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xutility(149): error C2664: “Ort::Session::Session(Ort::Env &,const wchar_t *,const Ort::SessionOptions &)”: 无法将参数 2 从“_Ty”转换为“const wchar_t *”

前面的错误可以通过 #include <numeric> 这个头文件解决，
但是后面的错误应该是这行代码导致的：
  speaker_session_ = std::make_shared<Ort::Session>(env_, model_path.c_str(),
                                                      session_options_);

看样子是api 不对？
谢谢！

是的，方便提个pr吗
https://github.com/wenet-e2e/wenet/blob/a7931ac212c4f28112874ca80cde3588ffedda4e/runtime/core/decoder/onnx_asr_model.cc#L86
参考这个代码改一下 :)

https://github.com/wenet-e2e/wespeaker/pull/204


text:
The inpainting area has become blurred

Hi,I inpainting the hand area using webui, and after generating it, the hand area was clearly blurred, as if it had been rubbed with a rubber eraser. The depth map is correct.
Thanks!

Hi, can you show the masks and webui settings?

Sorry, I didn't save the depth map last Friday. Today, I have regenerated it again.

input image

webui settings

depth mask

output image
Thank you!

Hi, as mentioned in the paper, because the hand controlnet is finetuned using synthetic data, you need to use control weight (control strength) less than 1 to achieve realistic texture, I recommend 0.4 - 0.8. You are using control weight of 1, which makes the high frequency details disappeared, thus looking blurred.

Also, on other hand, you can also try using the original depth controlnet, although it may not as reliable in generating hand

authors: YouTianlong wenquanlu

repo: wenquanlu/HandRefiner


text:
chore: release 2.15.1

:robot: I have created a release *beep* *boop*
2.15.1 (2024-12-03)
Bug Fixes

deploy: "unable to release lock" errors in werf dismiss (d3965e1)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/werf/werf/releases/tag/v2.15.1 :sunflower:

repo: werf/werf


text:
Can't use more than 2 gpus

When putting the muzero code to train, I can't use more than 2 GPUs:
node02@K8sNode02:~/muzero-forex$ nvidia-smi
Sat Aug  8 21:10:21 2020
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 440.95.01    Driver Version: 440.95.01    CUDA Version: 10.2     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GTX 108...  Off  | 00000000:01:00.0  On |                  N/A |
|  0%   52C    P8    14W / 280W |    273MiB / 11175MiB |     17%      Default |
+-------------------------------+----------------------+----------------------+
|   1  GeForce GTX 108...  Off  | 00000000:02:00.0 Off |                  N/A |
|  0%   42C    P8    13W / 280W |      2MiB / 11178MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   2  GeForce GTX 108...  Off  | 00000000:03:00.0 Off |                  N/A |
| 46%   29C    P8    10W / 250W |      2MiB / 11178MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   3  GeForce GTX 108...  Off  | 00000000:04:00.0 Off |                  N/A |
|  0%   37C    P8     9W / 270W |      2MiB / 11178MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   4  GeForce GTX 108...  Off  | 00000000:05:00.0 Off |                  N/A |
|  0%   37C    P8     9W / 270W |      2MiB / 11178MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   5  GeForce GTX 108...  Off  | 00000000:09:00.0 Off |                  N/A |
|  0%   37C    P8     9W / 280W |      2MiB / 11178MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   6  GeForce GTX 108...  Off  | 00000000:0D:00.0 Off |                  N/A |
| 20%   30C    P8     7W / 250W |      2MiB / 11178MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   7  GeForce GTX 108...  Off  | 00000000:0E:00.0 Off |                  N/A |
|  0%   33C    P8     9W / 270W |      2MiB / 11178MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   8  GeForce GTX 108...  Off  | 00000000:0F:00.0 Off |                  N/A |
| 29%   46C    P2    73W / 270W |    951MiB / 11178MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|    0      1244      G   /usr/lib/xorg/Xorg                            35MiB |
|    0      2569      G   /usr/lib/xorg/Xorg                           117MiB |
|    0      2782      G   /usr/bin/gnome-shell                         105MiB |
|    0      3713      G   /usr/bin/nvidia-settings                       1MiB |
|    8   1902624      C   ray::Trainer.continuous_update_weights()     939MiB |
+-----------------------------------------------------------------------------+

I set the actors to 8, using the 21 game code
muzero.py

    def train(self):
        ray.init(num_cpus=2,num_gpus=9,
        )
        os.makedirs(self.config.results_path, exist_ok=True)
        # Initialize workers
        training_worker = trainer.Trainer.options(
            num_gpus=1 if "cuda" in self.config.training_device else 0
        ).remote(copy.deepcopy(self.muzero_weights), self.config)
        shared_storage_worker = shared_storage.SharedStorage.remote(
            copy.deepcopy(self.muzero_weights), self.game_name, self.config,
        )

simple_game.py
   self.seed = 0  # Seed for numpy, torch and the game

        ### Game
        self.observation_shape = (3,1,OBS_PERIOD) # Dimensions of the game observation, must be 3D (channel, height, width). For a 1D array, please reshape it to (1, 1, length of array)
        self.action_space = [i for i in range(21)] # Fixed list of all possible actions. You should only edit the length
        self.players = [i for i in range(1)] # List of players. You should only edit the length
        self.stacked_observations = 0 # Number of previous observations and previous actions to add to the current observation

        # Evaluate
        self.muzero_player = 0 # Turn Muzero begins to play (0: MuZero plays first, 1: MuZero plays second)
        self.opponent = None # Hard coded agent that MuZero faces to assess his progress in multiplayer games. It doesn't influence training. None, "random" or "expert" if implemented in the Game class

        ### Self-Play
        self.num_actors = 9 # Number of simultaneous threads self-playing to feed the replay buffer
        self.max_moves = MAX_MOVES # Maximum number of moves if game is not finished before
        self.num_simulations = 60 # Number of future moves self-simulated
        self.discount = 1 # Chronological discount of the reward
        self.temperature_threshold = None  # Number of moves before dropping the temperature given by visit_softmax_temperature_fn to 0 (ie selecting the best action). If None, visit_softmax_temperature_fn is used every time

        # Root prior exploration noise
        self.root_dirichlet_alpha = 0.25
        self.root_exploration_fraction = 0.25

        # UCB formula
        self.pb_c_base = 19652
        self.pb_c_init = 1.25

        ### Network
        self.network = "resnet"  # "resnet" / "fullyconnected"
        self.support_size = 10  # Value and reward are scaled (with almost sqrt) and encoded on a vector with a range of -support_size to support_size

        # Residual Network
        self.downsample = False  # Downsample observations before representation network (See paper appendix Network Architecture)
        self.blocks = 2  # Number of blocks in the ResNet
        self.channels = 32  # Number of channels in the ResNet
        self.reduced_channels_reward = 32  # Number of channels in reward head
        self.reduced_channels_value = 32  # Number of channels in value head
        self.reduced_channels_policy = 32  # Number of channels in policy head
        self.resnet_fc_reward_layers = [16]  # Define the hidden layers in the reward head of the dynamic network
        self.resnet_fc_value_layers = [16]  # Define the hidden layers in the value head of the prediction network
        self.resnet_fc_policy_layers = [16]  # Define the hidden layers in the policy head of the prediction network

        # Fully Connected Network
        self.encoding_size = 32
        self.fc_representation_layers = [16]  # Define the hidden layers in the representation network
        self.fc_dynamics_layers = [16]  # Define the hidden layers in the dynamics network
        self.fc_reward_layers = [16]  # Define the hidden layers in the reward network
        self.fc_value_layers = [16]  # Define the hidden layers in the value network
        self.fc_policy_layers = [16]  # Define the hidden layers in the policy network

        ### Training
        self.results_path = os.path.join(os.path.dirname(__file__), "../results", os.path.basename(__file__)[:-3], datetime.datetime.now().strftime("%Y-%m-%d--%H-%M-%S"))  # Path to store the model weights and TensorBoard logs
        self.training_steps = 15000  # Total number of training steps (ie weights update according to a batch)
        self.batch_size = 64  # Number of parts of games to train on at each training step
        self.checkpoint_interval = 10  # Number of training steps before using the model for self-playing
        self.value_loss_weight = 0.25  # Scale the value loss to avoid overfitting of the value function, paper recommends 0.25 (See paper appendix Reanalyze)
        self.training_device = "cuda" #if torch.cuda.is_available() else "cpu"  # Train on GPU if available

        self.optimizer = "SGD"  # "Adam" or "SGD". Paper uses SGD
        self.weight_decay = 1e-4  # L2 weights regularization
        self.momentum = 0.9  # Used only if optimizer is SGD

        # Exponential learning rate schedule
        self.lr_init = 0.03  # Initial learning rate
        self.lr_decay_rate = 0.75  # Set it to 1 to use a constant learning rate
        self.lr_decay_steps = 150000

        ### Replay Buffer
        self.window_size = 10000  # Number of self-play games to keep in the replay buffer
        self.num_unroll_steps = 20  # Number of game moves to keep for every batch element
        self.td_steps = 50  # Number of steps in the future to take into account for calculating the target value
        self.use_last_model_value = True  # Use the last model to provide a fresher, stable n-step value (See paper appendix Reanalyze)

        # Prioritized Replay (See paper appendix Training)
        self.PER = True  # Select in priority the elements in the replay buffer which are unexpected for the network
        self.use_max_priority = False  # If False, use the n-step TD error as initial priority. Better for large replay buffer
        self.PER_alpha = 0.5  # How much prioritization is used, 0 corresponding to the uniform case, paper suggests 1
        self.PER_beta = 1.0

        ### Adjust the self play / training ratio to avoid over/underfitting
        self.self_play_delay = 1  # Number of seconds to wait after each played game
        self.training_delay = 2  # Number of seconds to wait after each training step
        self.ratio = 0.1  # Desired self played games per training step ratio. Equivalent to a synchronous version, training can take much longer. Set it to None to disable it

Hi,
It seems that you are using an old version of MuZero General which does not support multi gpu.
You can use the latest version and set training_num_gpus = 9.

authors: elizabethshiu werner-duvaud

repo: werner-duvaud/muzero-general


text:
Problema ao rodar

Bom dia, estou com um problema ao rodar o projeto com o Tomcat.
BUILD SUCCESS
Total time: 4.656s
Finished at: Mon Jan 13 12:05:34 BRST 2020
Final Memory: 10M/153M
Deploying on Apache Tomcat ou TomEE
profile mode: false
debug mode: false
force redeploy: true
[Fatal Error] :4:6: A string "--" não é permitida nos comentários.

a propósito, muito legal o seu projeto...


text:
Server Admin page for paid subscriptions

Create, edit, & delete paid subscriptions for organizations (coupons)
New PlanDialog.js, is heavily based on TaskDialog.js.
Work towards wevote/WebApp/issues/2488

Thank you @SailingSteve, I'm looking forward to playing with this! 👍

authors: DaleMcGrew SailingSteve

repo: wevote/WeVoteServer


text:
Multiple fixes to Donate.

I was reusing the default credit card for every new subscription, this is now fixed.
Consolidated multiple functions that saved subscriptions and payments into two functions that can
handle the pieces of the two records that arrive separately from our API call to the server, and in the various webhooks that arrive after the stripe events that we subscribe to.
Added SQL Transactions (Django transaction.atomic) to the subscription and payment write functions to stop Webhooks that arrive almost at the same instant from colliding and overwriting each other's data when saving to the db.

👍


text:
Filter Dependencies

For whatever reason a user might want to filter some dependencies that he does not want to be considered, i think of something like

Concrete.Dependency.Name
Caliburn*
Microsoft**Abstractions
I want to filter what dependencies have to be EXCLUDED
the user should be able to provide more than one exclude (separate by comma or semicolon or something
Option name maybe --dependency-excludes?

See #5 for more ideas/infos

solved on release branch release/2.1

repo: wgnf/liz