text:
[Enhancement] SnackBar dismissal enhancements

Hi.
I was really looking forward to the snackbar component as I've tried many of them and they all are lacking in some fundamental aspect.
My use case is really simple; I want to display chat messages as some kind of toasts/snackbars/notifications/whatever to the user if he is currently not on the chat page. The toast position should preferably be configurable (top or bottom) so as not to obscure UI navigation elements and/or the notifications should support 'swipe to dismiss' (or other means of closing them).
Unfortunately the snackbar in XCT can't be dismissed, so I thought I'd add two actions to it: 'Hide' and 'Open'. Unfortunately it seems as XCT's snackbar can display one action only (not sure if it's a bug as it accepts an enumeration of actions).
So is there any way this could be addressed in some way? I'd really like to use it, but unfortunately I can't as the user experience would be bad as the user would have to wait out all of the toasts that currently block him from using the app if I were to use it.
Suggestions:

Make the position configurable (top or bottom)
Add swipe to dismiss, an 'X' close button or something, to allow hiding them prematurely
ACT.UserDialogs animates the toasts in/out via a slide instead of a fade, which I strongly prefer. It would also be more natural to swipe away sliding notifications. Any chance of changing this or at least making it configurable?

Thanks.

A Snackbar has a clear semantic that you can find here:
https://material.io/components/snackbars
None of the enhancement you list is part of this semantic unfortunately.
Your behavior is very specific and should be easily done with a simple custom view like a Grid with 3 column *,60,60 for your 2 actions and a SwipeGesture :)

A Snackbar has a clear semantic that you can find here:
https://material.io/components/snackbars
None of the enhancement you list is part of this semantic unfortunately.
Your behavior is very specific and should be easily done with a simple custom view like a Grid with 3 column *,60,60 for your 2 actions and a SwipeGesture :)

Was not aware this was following material design. Almost every platform has a completely different definition for for example what a toast message is. Where is it stated this follows material design?

Was not aware this was following material design

Well a Snackbar is a material design component, so yes :)
It is implemented with a native snackbar on Android, and the others implementations are just following those specs.

Was not aware this was following material design

Well a Snackbar is a material design component, so yes :)
It is implemented with a native snackbar on Android, and the others implementations are just following those specs.

Thank you for the reply. The terminology gets a bit muddled as there's the ShowToastAsync etc methods, where 'toast' can mean anything from push notifications to a snackbar:esque brief notification, where the position (top/bottom) is configurable in lots of existing APIs. But thank you for the clarification.

Yeah well that happens when you want to please to many people ;)

I'm up for the position configurable. According to the placement design, we need a way to make the position configurable (only an absolute position perhaps ?), so we can handle the case when we have important content/action button under the snackbar.

@roubachof I checked out the native Android component and it does seem to support swipe to dismiss and positioning, unless I'm terribly mistaken.
So in that regard I think my enhancement ticket is still valid, no? Swipe to dimiss is great as the user can get rid of a notification that may obscure some UI elements without having to wait for it to disappear, which may be the most frustrating thing in the world. And by being able to control at least top/bottom placement would allow the app designer to select a position where it least obscures UI elements.
Thanks again for considering!

It's true that you can add an action or swipe to dismiss a snackbar. A "top" snackbar that close only on the user action is called a banner: https://material.io/components/banners
A snackbar is a low priority UI, putting it at the top of the screen would make it a high priority.
I would keep a clear UI semantic for component here.

It's true that you can add an action or swipe to dismiss a snackbar. A "top" snackbar that close only on the user action is called a banner: https://material.io/components/banners
A snackbar is a low priority UI, putting it at the top of the screen would make it a high priority.
I would keep a clear UI semantic for component here.

Thank you for the reply. So the 'swipe to dismiss' functionality is on the table then? :)

I would suggest to close this one as and open an issue to add a swipe to dismiss feature.

I checked out the native Android component and it does seem to support swipe to dismiss and positioning, unless I'm terribly mistaken.

could you please share the documentation link where it is described

I checked out the native Android component and it does seem to support swipe to dismiss and positioning, unless I'm terribly mistaken.

could you please share the documentation link where it is described. I found only Behavior but not the position

It's in the Android developer reference at
https://developer.android.com/reference/com/google/android/material/snackbar/Snackbar

I see that it can be swiped to dismiss, but as for your suggestion 1: They show a brief message at the bottom of the screen on mobile and lower left on larger devices.
Snackbar is not displayed at the top of the screen

I see that it can be swiped to dismiss, but as for your suggestion 1: They show a brief message at the bottom of the screen on mobile and lower left on larger devices.
Snackbar is not displayed at the top of the screen

Ah sorry. Yeah doesn't seem like snackbars' position can be changed on Android.

as for the dismissal swipe action. what do you think if we add a cancellation token? it will be a better way to cancel the task and will work on all platforms

as for the dismissal swipe action. what do you think if we add a cancellation token? it will be a better way to cancel the task and will work on all platforms

Sounds like a fair way to go about it. Of course the native swipe animation won't trigger on Android in that case, but one would have to implement one anyway for iOS.

as for the dismissal swipe action. what do you think if we add a cancellation token? it will be a better way to cancel the task and will work on all platforms

as for the dismissal swipe action. what do you think if we add a cancellation token? it will be a better way to cancel the task and will work on all platforms

Sounds like a fair way to go about it. Of course the native swipe animation won't trigger on Android in that case, but one would have to implement one anyway for iOS.
This of course as long as there is enough control to bind some kind of event listener to the snackbar element, that is.
If this can be implemented straight into the control will of course be easier and saves everyone the effort of doing all of the above.

Maybe I am wrong, but I think the XTC should look at concepts and semantics and be inspired by those, but a community toolkit should always be about the community and less about specific concepts. I think from a usability point of view the requested behaviors/actions/animations are not just valid but necessary. Every user today expects for banners/toast/Snackbar to be dismissable. I can't count the times where I was just frustrated as a user because I couldn't dismiss it and it was hiding important information. And it can also be configurable, so if really needed it can be set to not-dismissable.
Having said that, I understand, why the toolkit would try to stick to semantics and concepts, but I think there should really be a discussion on to what point will the toolkit comply with these rules. Also I am "pretty new" to this repo and maybe it's not my place to critize decisions made by the contributors. If so please let me know 😊

I've now been testing the XCT snackbar and it's shaping up really nicely, but I just can't live without ability to dismiss it or placing it at the top of the screen instead.
The problem is that I have the app's main buttons at the bottom of the screen and the snackbar obscures them completely, so every time a notification is shown the user has to stop using the app for a few seconds. This just isn't an acceptable user experience.
For what it's worth, I have seen apps that display notifications at the top. If they are called banners and are meant for 'high prio' notifications, so be it -- all the users care about is that it doesn't prevent them from using the app, and if the only place where they can be shown at is the top, then that's where they have to go.
Thanks.

I've now been testing the XCT snackbar and it's shaping up really nicely, but I just can't use it without the ability to dismiss it or place it at the top of the screen instead.
The problem is that I have the app's main buttons at the bottom of the screen and the snackbar obscures them completely, so every time a notification is shown the user has to stop using the app for a few seconds. This just isn't an acceptable user experience.
For what it's worth, I have seen apps that display notifications at the top. If they are called banners and meant for 'high prio' notifications, so be it -- all the users care about is that it doesn't prevent them from using the app, and if the only place where they can be shown at is the top, then that's where they have to go. The users really don't care about UI paradigms if they can't interact with the app.
Thanks.

@Tommigun1980 I'm currently facing the same problem (positioning).
Did you find a solution to this? I'm kinda at my witts end :D

In order for Swipe dismiss to work:

Having a CoordinatorLayout in your view hierarchy allows Snackbar to enable certain features, such as swipe-to-dismiss and automatically moving of widgets.

Source

In order for Swipe dismiss to work:

Having a CoordinatorLayout in your view hierarchy allows Snackbar to enable certain features, such as swipe-to-dismiss and automatically moving of widgets.

Source
@VladislavAntonyuk can we do something about that ?

As for Android as it was mentioned it is possible with native implementation. As for other platforms I think we can use gesture recognizes.

In order for Swipe dismiss to work:

Having a CoordinatorLayout in your view hierarchy allows Snackbar to enable certain features, such as swipe-to-dismiss and automatically moving of widgets.

Source
@VladislavAntonyuk can we do something about that ?

As for Android as it was mentioned it is possible with native implementation. As for other platforms I think we can use gesture recognizes.

@VladislavAntonyuk  I meant that even if that the feature already exist in native Android, it is not working in the sample probably we don't have a CoordinatorLayout in the tree, hence was my question "can we do something about that ?", should we wrap somehow inside a CoordinatorLayout?

This feature needs to be enabled in Snackbar. It is disabled by default. I used the base call to show Snackbar.

@VladislavAntonyuk I was searching on Android official documentation I didn't find anything regarding explicitly enabling/disabling it (or disabled by default)  also was and playing with setBehavior() without success, I think it can be a matter of missing CoordinatorLayout in our tree structure (additional: https://stackoverflow.com/questions/38823767/snackbar-is-not-dismissing-on-swipe).

@VladislavAntonyuk is this task closed by https://github.com/xamarin/XamarinCommunityToolkit/pull/1005 ?

@AndreiMisiukevich The discussion describes 2 issues. The first issue is about Swipe to dismiss. I think it is not implemented.
The second issue is about position of the Snackbar. And it is fixed by the PR

@Tommigun1980 could you please fill the separate ticket? It will be more convenient to follow the discussion :)
Thanks

@Tommigun1980 could you please fill the separate ticket? It will be more convenient to follow the discussion :)
Thanks

https://github.com/xamarin/XamarinCommunityToolkit/issues/1225

authors: AndreiMisiukevich Cfun1 Seuleuzeuh Tommigun1980 VladislavAntonyuk dersia roubachof vniehues

repo: xamarin/XamarinCommunityToolkit


text:
[Snyk] Upgrade @unocss/transformer-directives from 0.58.9 to 0.60.3

This PR was automatically created by Snyk using the credentials of a real user.![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)
Snyk has created this PR to upgrade @unocss/transformer-directives from 0.58.9 to 0.60.3.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 10 versions ahead of your current version.

The recommended version was released on 24 days ago.

Release notes

Package name: @unocss/transformer-directives

0.60.3 - 2024-05-20   🚀 Features

preset-mini: text-align utility  -  by @ UltraCakeBakery, Chris and @ antfu in #3796 (5f2a8)
transformer-directives: Add removeComments  -  by @ Simon-He95 and @ antfu in #3799 (a9ab8)

   🐞 Bug Fixes

Enable regex eslint rule, optimize regexes  -  by @ antfu in #3801 (882cc)
cli: Extractors not working  -  by @ Simon-He95 in #3803 (398c1)
preset-mini: DirectionSize size cause error when size is undefined  -  by @ Simon-He95 in #3809 (c19ab)
shared-integration: GetCssEscaperForJsContent replace conflict  -  by @ Simon-He95 in #3797 (dd013)
transformers: Try improve hmr in vite  -  by @ Simon-He95 and @ antfu in #3741 (22ff2)
vite: Warn when unocss:global:build:bundle has no CSS placeholder  -  by @ Simon-He95 in #3802 (210a2)

   🏎 Performance

preset-mini: Improve performance of resolveBreakpoints  -  by @ antfu (05d90)

    View changes on GitHub

0.60.2 - 2024-05-12   🐞 Bug Fixes

directives: Fix parsing positions, close #3795  -  by @ antfu in #3795 (84170)

    View changes on GitHub

0.60.1 - 2024-05-12   🚀 Features

eslint-plugin:

Blocklist meta with message  -  by @ enkot and @ antfu in #3783 (20ed8)
Allow customize configPath via settings  -  by @ antfu (9eb6e)

   🐞 Bug Fixes

transformer-attributify-jsx: MatchedRule  -  by @ Simon-He95 in #3791 (da9c9)
transformer-directive: Get raw string in directive, support slash & hash  -  by @ zyyv and @ antfu in #3790 (fa497)

    View changes on GitHub

0.60.0 - 2024-05-08   🚨 Breaking Changes

CJS: Remove .default suffix from d.ts and d.cts files  -  by @ userquin in #3750 (e9f5b)

   🚀 Features

preset-icons: Add svg props customization  -  by @ zyyv and Anthony Fu in #3774 (0b36a)
preset-mini: Add children variant (*-{modifier})  -  by @ serkodev in #3763 (249fe)

   🐞 Bug Fixes

preset-legacy-compat: Update the split color string regex  -  by @ zyyv in #3756 (47eaf)
preset-mini: Align with selection  -  by @ zyyv in #3771 (18df5)
shared-integration: Vscode match php <? stuck  -  by @ Simon-He95 in #3745 (38274)
vite: Move @ import before other rules  -  by @ lzl0304 in #3743 (0b84d)

    View changes on GitHub

0.59.4 - 2024-04-18   🚀 Features

core: Support safelist access to RuleContext  -  by @ Simon-He95, @ zyyv, Chris and @ antfu in #3693 (04c27)

   🐞 Bug Fixes

eslint-plugin: Compactible with eslint v9  -  by @ antfu (09e3b)
preset-mini: Transform-cpu  -  by @ Simon-He95 in #3730 (a3170)
webpack: SourceMap  -  by @ Simon-He95 in #3732 (0dab7)

    View changes on GitHub

0.59.3 - 2024-04-16   🐞 Bug Fixes

preset-mini:

Remove LF in question mark rule  -  by @ userquin in #3717 (c51bf)
Transform-cpu  -  by @ Simon-He95 in #3729 (9a371)
Use borderRadius from theme to autosuggest rounded values  -  by @ DamianOsipiuk in #3727 (18346)

shared-integration:

Improve ide matching regex  -  by @ Simon-He95 and @ antfu in #3712 (ddcf2)

vscode:

ContextLoader with workspace  -  by @ Simon-He95 in #3728 (351a4)

    View changes on GitHub

0.59.2 - 2024-04-12   🐞 Bug Fixes

Move @ unocss/webpack to ESM First  -  by @ userquin in #3708 (25e97)
Revert #3696  -  by @ antfu in #3696 (8e615)
preset-mini: Negative custom spacing  -  by @ Simon-He95 in #3694 (0f4ad)

    View changes on GitHub

0.59.1 - 2024-04-11   🐞 Bug Fixes

eslint-plugin:

Support ESLint v9  -  by @ antfu (0cc40)

postcss:

Too many open files error  -  by @ sonofmagic in #3695 (11918)
Support async rule in directives, fix #3699  -  by @ DarkHole1 in #3701 and #3699 (f4ca5)

preset-mini:

marker pesudo element  -  by @ Simon-He95 in #3702 (0b4a9)

shared-integration:

DefaultIdeMatchInclude  -  by @ Simon-He95 in #3696 (7f85b)

    View changes on GitHub

0.59.0 - 2024-04-05   🚨 Breaking Changes

Move to ESM-only and fix package exports  -  by @ kwaa, @ userquin, @ antfu, Chris and Anthony Fu in #3380 (41bc8)
preset-mini: RingWidth default changed to 3px to align with Tailwind  -  by @ NamesMT and @ antfu in #3673 (274d3)

   🐞 Bug Fixes

autocomplete: Disable autocomplete for attributify props when not using  -  by @ Simon-He95 and @ antfu in #3685 (4dfc3)
nuxt: Custom option priority in cssnano  -  by @ Simon-He95 in #3679 (4e11d)
packages: Add types versions  -  by @ kwaa in #3677 (42187)
postcss: Move to ESM first + dual ESM/CJS + missing @ unocss/postcss/esm subpackage export  -  by @ userquin in #3678 (7eda3)
scope: Fix export types & main entry  -  by @ kwaa in #3676 (ae44a)
vscode: The information displayed by hover and autocomplete is inconsistent  -  by @ Simon-He95 in #3680 (623c2)
webpack: Correctly output CSS string  -  by @ lzl0304 in #3686 (a03c2)

    View changes on GitHub

0.59.0-beta.1 - 2024-04-01   🚨 Breaking Changes

Move to ESM-only and fix package exports  -  by @ kwaa, @ userquin, @ antfu, Chris and Anthony Fu in #3380 (41bc8)

    View changes on GitHub

0.58.9 - 2024-04-01

    from @unocss/transformer-directives GitHub release notes

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:

🧐 View latest project report
📜 Customise PR templates
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Resolved in https://github.com/xanzhu/Xanzhu.com/commit/d29fc20af4f6ebe35a20992ba04f090445b97ba2

source: gharchive/pull-request

license: MIT

license_type: permissive

license_source: github-api


text:
MiniValine version 2.x beta 更新配置

MiniValine version 2.x beta 更新配置

感谢👍🏼

authors: MHuiG xaoxuu

repo: xaoxuu/hexo-theme-volantis


text:
Modify GraphQL query to uniquely identify issues

Description
This PR updates the GraphQL search query currently being run against the GitHub API to look not just for issues by a particular creator but also to match the title in the search query.
This allows for the use of GitHub Actions variables and contexts coming from matrices or job IDs or similar in the issue, such as
issue-title: "${{ matrix.os }} did not pass"

and therefore allow the creation of and updates to issues based on these custom issue titles, and prevent updating the body of a singular issue if multiple jobs (or matrices) are being used to create issues.
What issue does this PR address?
Closes #34
Additional context
The changes can be verified in workflow runs and through the issues opened by the action on my fork, here: https://github.com/agriyakhetarpal/issue-from-pytest-log/pull/1, displaying that the proposed changes are working as usual.

thanks for the PR, @agriyakhetarpal. I'm somewhat busy this week so it will take me a while for a full review, but I will try to get to it as soon as possible.

No worries!

@agriyakhetarpal, sorry for the long silence here. I've investigated the proposed fix and decided it would be easier / cleaner to use the GraphQL search connection, as that allows querying the issue title directly (the result is #38).

authors: agriyakhetarpal keewis

repo: xarray-contrib/issue-from-pytest-log


text:
Time out uploading data to server

refacer colab dont work
queue 1/1 61s then something went wrong
Time out uploading data to server

Same problem here using mac os, using a different browser makes no difference.

Running the collab after installing GPU requirements just makes it run without anything happening, no feed or anything just a queue and a timer..

I have the same problem, and there is nothing to run.

I have the same problem, and there is nothing to run.

Do this and it should work
!pip uninstall numpy -y -q
!pip install --disable-pip-version-check --root-user-action=ignore ngrok numpy==1.24.3 onnxruntime-gpu gradio insightface==0.7.3 ffmpeg_python opencv_python -q --force

!git clone https://github.com/xaviviro/refacer.git
%cd refacer

!wget --content-disposition "https://huggingface.co/deepinsight/inswapper/resolve/main/inswapper_128.onnx"
!python app.py --share_gradio --colab_performance

@G-force78 Thank you! Your advice helped. Please tell me, is this relevant for the CPU too? Or are there some other settings? Just launched for the first time, and the CPU is loaded by 25%.

@G-force78 Thank you! Your advice helped. Please tell me, is this relevant for the CPU too? Or are there some other settings? Just launched for the first time, and the CPU is loaded by 25%.

I'm not too sure I think its geared towards GPU with those settings. You could try putting this  !pip install -r requirements.txt
after
cd refacer or just try the code with CPU only and see if it works.

I'm sorry for the late reply. And I don't know which step is error. I will try pip install -r requirements.txt in my own Linux system.
------------------ 原始邮件 ------------------
发件人: @.>;
发送时间: 2023年7月26日(星期三) 下午4:24
收件人: @.>;
抄送: @.>; @.>;
主题: Re: [xaviviro/refacer] Time out uploading data to server (Issue #58)
@G-force78 Thank you! Your advice helped. Please tell me, is this relevant for the CPU too? Or are there some other settings? Just launched for the first time, and the CPU is loaded by 25%.
I'm not too sure I think its geared towards GPU with those settings. You could try putting this  !pip install -r requirements.txt
after
cd refacer or just try the code with CPU only and see if it works.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>

I've tried to use the cpu, however it doesn't work.
------------------ 原始邮件 ------------------
发件人:                                                                                "xaviviro/refacer"                                                                                @.>;
发送时间: 2023年7月26日(星期三) 下午4:24
@.>;
@.@.>;
主题: Re: [xaviviro/refacer] Time out uploading data to server (Issue #58)
@G-force78 Thank you! Your advice helped. Please tell me, is this relevant for the CPU too? Or are there some other settings? Just launched for the first time, and the CPU is loaded by 25%.
I'm not too sure I think its geared towards GPU with those settings. You could try putting this  !pip install -r requirements.txt
after
cd refacer or just try the code with CPU only and see if it works.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>

And this is the command.
------------------ 原始邮件 ------------------
发件人:                                                                                "xaviviro/refacer"                                                                                @.>;
发送时间: 2023年7月26日(星期三) 下午4:24
@.>;
@.@.>;
主题: Re: [xaviviro/refacer] Time out uploading data to server (Issue #58)
@G-force78 Thank you! Your advice helped. Please tell me, is this relevant for the CPU too? Or are there some other settings? Just launched for the first time, and the CPU is loaded by 25%.
I'm not too sure I think its geared towards GPU with those settings. You could try putting this  !pip install -r requirements.txt
after
cd refacer or just try the code with CPU only and see if it works.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>

source: gharchive/issue

repo: xaviviro/refacer


text:
Depend on xunit.core rather than xunit

The Nuget packaging creates a dependency between XBehave and the "xunit" meta package. I would prefer if the dependency was instead on xunit.core (and directly on any other xunit libraries that are required). That way I do not, for example, need to build my project with xunit.assert (included by the xunit metapackage) when I'm using an alternative assertions library, such as Fluent Assertions.

@ma499 thanks for raising this.
The Xbehave.Core package is designed exactly for this purpose. It depends on xunit.core instead of xunit. Can you please give it a try to see if it solves your requirement.
I'll an page to the FAQ about this shortly.

FAQ added: https://github.com/xbehave/xbehave.net/wiki/Can-I-use-xBehave.net-without-introducing-xunit.assert%2C-xunit.analyzers%2C-etc.%3F

Ah, works fine. Thank you!

You're welcome. 😃

license: mit

license_source: bigquery


text:
Implemented showing artist details

When user selects artist from ArtistListFragment it will now
show a screen displaying artist details. I've taken the TV show
details setup as an example.
This adds the following new functionality:

Displaying artist fanart
Displaying artist description
Download all songs from an artist

In my opinion this makes the UX more consistent. Hope you like it as well.

Have to go, more comments later...

Looks good and is indeed better than it was.
My only question about this is that it introduces one more step to get to the artist's albums (one more click), which usually is what the user wants to do primarily. This could be fixed by making the "Albums" tab the default for the activity. Only downside is that we would loose the shared element animation, which i personally like a lot...

I think the extra effort to get to the artist albums is a minor problem, as I believe most users will use a touchscreen device and it will only take a simple swipe to get the list of albums. Personally, I usually want to listen to an artist and not a specific album. If I do want to listen to a specific album, I go to the album list and use search.
But the real reason I wanted this, is that in my opinion it enhances the UX of listening to music. Just like we used to do (long, long ago....) reading the booklet or vinyl cover :D

Code updated

authors: SyncedSynapse poisdeux

repo: xbmc/Kore


text:
🛑 Catto-Pro Upload API is down

In ca53084, Catto-Pro Upload API (https://upload.catto.pictures/healthcheck) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Catto-Pro Upload API is back up in f7b6a82 after 6 minutes.

repo: xcgc/status-page


text:
Update for breaking changes in command status

Mainly update for TimerStatus -> Status.

lgtm. perhaps you can wait for my big PR to save me from a rebase ><

I just merged mine. You need to rebase (hopefully just the go.mod file need to refresh)

authors: longquanzheng zklgame

repo: xdblab/xdb-golang-sdk


text:
PE2015.2: Use of reserved word: type, must be quoted if intended to be a String value

I get the error:
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Use of reserved word: type, must be quoted if intended to be a String value at /etc/puppetlabs/code/environments/production/modules/xlrelease/manifests/postconfig.pp:16:5 on node puppetagent1.home
Solution:
remove the line
type     => 'xlrelease.DeployitServerDefinition',
from the file xlrelease/manifests/postconfig.pp

Changing it to type_of does not solve the problem.
When I want to register xldeploy in xlrelease, I get the error:
[root@puppetagent1 ~]# puppet agent -t
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Invalid parameter: 'type_of' on Xlrelease_xld_server[xldeploy] on node puppetagent1.home
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run

The same for jenkins also.
Info: Loading facts
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Invalid parameter: 'type_of' on Xlrelease_config_item[jenkins] on node puppetagent1.home
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run

couldn't get jenkins working

so where is the pull request ?

done

authors: WianVos ltutar

repo: xebialabs/puppet-xlrelease


text:
Godaddy DNS provider

Hi,
Would be great to have a DNS provider for cheapskates like me that use godaddy for DNS.
Happy to learn some go and write it if no one else wants to or is already doing it.

see #416

Closed by #416

authors: chrisns ldez smerschjohann

repo: xenolf/lego


text:
Multiple options for MPNs?

Hi folks!  Is there a way to put multiple equivalent part numbers in a BOM and have KiCost look at all of them and pick the lowest cost option?

Multple: yes. Look for "multiple/sub-parts" into the manual page https://xesscorp.github.io/KiCost/docs/_build/singlehtml/index.html
Lowest cost, you will have to choose manually at the spreadsheet.
This feature was ask some time ago but I have had no time to work in.

authors: adamwolf hildogjr

repo: xesscorp/KiCost


text:
Noprice test

Updated tests with --noprice option.

I finished.


text:
redundant setting of password and db in a pool

JedisPool internally creates a JedisFactory with no means of overriding the factory. The factory returns instances of Jedis via its internal makeObject() method. Related, Jedis's internal Client (redis.clients.jedis.Client), while protected, has no setter or constructor argument allowing it to be replaced. (I bring up the inability to override values not because it's troublesome, though it is, but because it implies a closed system with behavior controller by the library rather than the end user.)
Within the JedisFactory, method makeObject() attempts to set a password and set the selected database if they are non-standard values, which seems reasonable. However, the underlying Client extends BinaryClient which has the following in its connect() method:
  @Override
  public void connect() {
    if (!isConnected()) {
      super.connect();
      if (password != null) {
        auth(password);
        getStatusCodeReply();
      }
      if (db > 0) {
        select(Long.valueOf(db).intValue());
        getStatusCodeReply();
      }
    }
  }

In short: when a Jedis instance is newly-instantiated within a pool,  the factory calls the underlying client's connect, which sets the database and password. The pool itself then sets the database and password a second time, superfluously.
Expected behavior

Authentication should be established once per initial connection.
Database should be set once on initial connection, and reset when the object is returned to the pool

Actual behavior

Authentication is executed twice when an object is newly added to the connection pool
Database is set twice when an object is newly added to the connection pool

Redis / Jedis Configuration
N/A
Jedis version:
2.7.3
Redis version:
N/A
Java version:
N/A

@drobert this is incorrect, when you initialize a JedisPool with a password like this:
JedisPool pool = new JedisPool(new JedisPoolConfig(), "localhost", 6379, 2000,"foobared");
Then the password will be set at the pool level and not at the Jedis level, so https://github.com/xetorthio/jedis/blob/master/src/main/java/redis/clients/jedis/BinaryClient.java#L100 will return null and only JedisFactory will issue the auth command accordingly.
You can verify this with a simple program and monitor the commands sent to the redis server.

Indeed, this indeed up being the result of an internally modified Pool where Jedis instances were instantiated by passing JedisShardInfo instances. In the case of new Jedis(JedisShardInfo), any database and password in the shard info are passed along to the client, and this scenario is possible. However you're correct that there is no configuration out of the box that leads to this.

authors: drobert marcosnils

repo: xetorthio/jedis


text:
[Candidate 1v1 Freezing Rain v2] Title text is not concise

Issue Description
Title says: "Freezing Rain v1 by Millard9, queenmuff & Spalding."
Expected behavior
Title says: "Freezing Rain, by Millard9, queenmuff & Spalding"
Screenshots

Can change this Easy will do so if required.

It is not required to change anything on the map. Map will not be eligible for Ranked Maps and GenTool Auto download with this however.

So if I change the Text to "Freezing Rain v2 by Millard9, queenmuff & Spalding" it will be

No. "Freezing Rain v2 by Millard9, queenmuff & Spalding" will not qualify. "Freezing Rain, by Millard9, queenmuff & Spalding" will.
If you look at other Ranked Maps we have 2 styles of credits:
a) Map created by X
b) MapName, by X
I will accept these 2 formats. This is required for consistent style between all maps.

Issue is not fixed in new version

I'm not sure what you mean by it not being concise. I thought Freezing Rain v2 by Millard9, queenmuff & Spalding. Was correct?
Sent from my Galaxy
-------- Original message --------
From: xezon @.>
Date: 27/03/2021 10:01 (GMT+00:00)
To: xezon/GeneralsRankedMaps @.>
Cc: Millard9 @.>, Assign @.>
Subject: Re: [xezon/GeneralsRankedMaps] [Candidate 1v1 Freezing Rain v2] Title text is not concise (#59)
Issue is not fixed in new version
[shot_20210327_104653_1]https://user-images.githubusercontent.com/4720891/112717251-b4666400-8eeb-11eb-8430-8eb848418de8.jpg
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHubhttps://github.com/xezon/GeneralsRankedMaps/issues/59#issuecomment-808704996, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ATM5LCKSTU767GNTFWKGQHLTFWUGTANCNFSM4ZRQD3JA.

Repository front page explains rules for credit text:
https://github.com/xezon/GeneralsRankedMaps

So just to confirm you want it to say "Made by Millard9, queenmuff & Spalding. Freezing Rain ZH v2" is this correct?
Sent from my Galaxy
-------- Original message --------
From: xezon @.>
Date: 27/03/2021 10:22 (GMT+00:00)
To: xezon/GeneralsRankedMaps @.>
Cc: Millard9 @.>, Assign @.>
Subject: Re: [xezon/GeneralsRankedMaps] [Candidate 1v1 Freezing Rain v2] Title text is not concise (#59)
Repository front page explains rules for credit text:
https://github.com/xezon/GeneralsRankedMaps
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHubhttps://github.com/xezon/GeneralsRankedMaps/issues/59#issuecomment-808707418, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ATM5LCMZ7HSQRQGXHRU6CKLTFWWXDANCNFSM4ZRQD3JA.

I already posted above twice how it should be named. I copy it again:
"Freezing Rain, by Millard9, queenmuff & Spalding"

Ok i will change it to that then. thanks
Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10
From: @.>
Sent: 27 March 2021 10:38
To: @.>
Cc: @.>; @.>
Subject: Re: [xezon/GeneralsRankedMaps] [Candidate 1v1 Freezing Rain v2] Title text is not concise (#59)
I already posted above twice how it should be named. I copy it again:
"Freezing Rain, by Millard9, queenmuff & Spalding"
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHubhttps://github.com/xezon/GeneralsRankedMaps/issues/59#issuecomment-808709181, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ATM5LCL2CFIW52C2ED5OZRDTFWYSNANCNFSM4ZRQD3JA.

Fixed with https://github.com/xezon/GeneralsRankedMaps/commit/615b40c2937fdedfec1d5ae9f72917f978a3c911

repo: xezon/GeneralsRankedMaps


text:
[REFACTOR]: Votes Structure

Summary
Currently each vote represents an entry on array containing the User ID, for example:
votes: ['user 1', 'user 2', 'user 1']

Problems?

If an user leave 20 votes in one card, the same ID appears 20 times on that array
Another problem is you can't use a debouncer (for example) to avoid a lot of requests if the user spam the votes button. Why? because the request to add or remove a vote only add a new entry.

Improvements
If we change the votes structure for something similar to this":
votes: {
	userId: string,
	votes: number
}[]

We can use a debouncer to avoid the multiple requests if the user spams the vote button, changing the request to send the number of votes to add instead only incrementing the value (for example);
No need to reference the User ID with User schema (my opinion);
The array of votes is cleaner, because the User ID only appears one time.

Motivation
Fix the problem when user spam the add/remove votes button (a lot of requests) and create a more readable structure.

LGTM

LGTM, but as we are changing from an array of userId to a more structured object, it will be better to create a schema and dto for Vote instead of using an array of objects.

Agree @geomarb

repo: xgeekshq/split


text:
Swift 2.0

Got some errors on Xcode 7.0
Any plan to make it compatible with Swift 2.0?

I just found that there is a brach for Swift 2.0.
The issue was resolved by having the below line in my podfile.
pod 'TagListView', :git => 'https://github.com/xhacker/TagListView', :branch => 'swift-2.0'

Thanks for reminding me though. swift-2.0 branch should be default now.

authors: maxykato xhacker

repo: xhacker/TagListView


text:
Fix initializer UIColor.

Support unit UIColor for swift 4

Added the property disableWhenAnimate, this to prevent the user tap multiple times.

Solved with pull request #29

authors: chuynadamas xhamr

repo: xhamr/fave-button


text:
Ttf file metadata same name fix

Hi! This PR give us a possible solution to avoid a specific issues with TTF files with same  metadata value "face-name" .
In specific situations you may need to update the face-name of a ttf file,
you can do it by adding # at the beginning of the font-family name to select
the new face-name.
Check the following example:
 /* put in quotes and add # at the beginning */
@font-face {
font-family: '#MY';
 src: url('font/Microsoft YaHei.ttf')
 }

Coverage decreased (-0.02%) to 56.633% when pulling 897bd4641279a17ab95c4fa81f4d4bd4574f970f on pedroszg:ttf_file_metadata_same_name_fix into 5f2aaee6d119eb25b74c94382e5dad21d1bfb81e on xhtml2pdf:master.

Coverage decreased (-0.02%) to 56.633% when pulling 897bd4641279a17ab95c4fa81f4d4bd4574f970f on pedroszg:ttf_file_metadata_same_name_fix into 5f2aaee6d119eb25b74c94382e5dad21d1bfb81e on xhtml2pdf:master.

authors: coveralls pedroszg


text:
widget layout sometimes doesn't get resized to match window size

Running 0.5.0 on linux (openbox window manager, compositing on), a single widget with a layout implementation that just returns bc.max() will sometimes (even after resize events have ceased) be left lagged a little bit behind the real size of the window. A single pixel void sits open between the widget and the edge of the window.
to reproduce, get simple program with maximised widget:
use druid::{ AppLauncher, WindowDesc, LocalizedString, widget::{ Button } };
fn main(){
	AppLauncher::with_window(WindowDesc::new(|| Button::new("uh"))).launch(()).unwrap();
}

Resize it quickly, you'll see a grey edge flicker in and out when increasing the size. If you stop abruptly enough, sometimes it will stay visible.

I'm not sure what this might be, but maybe someone running gtk can look into it?

I can't reproduce it :thinking:
@makoConstruct Are you using X11 or Wayland?

What resolution scale do you have? 1 pixel = 1 device pixel, or something else?

I can't reproduce it
@makoConstruct Are you using X11 or Wayland?

X11.

What resolution scale do you have? 1 pixel = 1 device pixel, or something else?

There is indeed something weird about my resolution, but I can't see how it would be related.
I'm using a former TV screen and a lot of apps (Qt, mostly) will render with really stupid proportions until I alter some environmental variable. Druid, however, doesn't seem to have this issue.

New observations! It's not about lagging behind the resize frontier, at least in the button example. The edge appears (if I'm counting right), every four or five pixels, starting at 1, then appearing at 5, 10, 14, 19, 23, 28 etc. Each multiple of.. some number between 4 and 5, will not lay out the child widget correctly.

However, speed of resizing does play a role, sometimes the edge will be thicker (more than 1 px wide) if you're resizing the window very quickly.

I can't reproduce this on Ubuntu 19.04 or 19.10. Tried both druid 0.5 and master with scale factor 1 and 2.
I'll ask again though, what is your scale factor? 1? 2? Something fractional?
Generally it's looking more likely now that this is some sort of issue with either GTK or your specific setup.
To check whether this is a druid bug you can create a root Widget that will just paint itself a solid color and also log the WindowSize event. Then reproduce the issue and see if the WindowSize event reported a size equal to the painted color or larger.

I didn't really know what specific information you were asking for or how to get it. I'm still not totally sure what that is or where it would be stored, searching suggested you might be talking about one of these command outputs
» xdpyinfo | grep -B 2 resolution
screen #0:
dimensions:    1920x1080 pixels (1626x914 millimeters)
resolution:    30x30 dots per inch
(this dpi is less than half of what it should be, measuring yields about 70)
» gsettings get org.gnome.desktop.interface scaling-factor
uint32 0
I am not running gnome though, I'm trying to check xfce's settings for scale factor and... it seems like the version I have (it could be old) just doesn't have that anywhere.

To check whether this is a druid bug [...]

Widget renders at 54 wide, while window is 55 wide, and while widget reports a WindowSize event of 53.76
(minor note: I tried sizing the window back and forth by a pixel to see if it was lagging behind and reporting the last size instead of the current size, or something. It wasn't doing that.)

I'm not sure where exactly the DPI scale factor is stored in all these Linux flavors either, that's why I can't be super specific.
However we can go at it from druid's side instead and see what druid thinks it is. We could add a debug print after these lines in druid-shell/src/platform/gtk/window.rs.
println!("DPI {} stretches {} to {}", dpi_scale, extents.width, size.0);

Then as you reproduce the issue, see what the final printed line is in the terminal and report it back here.
The 53.76 you saw for WindowSize suggests there might indeed be something interesting going on with scale.

for window size where the bug doesn't happen: DPI 0.78125 stretches 182 to 142
for window size where the bug does happen: DPI 0.78125 stretches 183 to 142

This is very helpful. I'll force my Ubuntu to use this exact same DPI later today and see if I can reproduce it.

Just to give a quick update, I have this issue fixed in my development branch but it'll take a bit more time for me to submit a PR.

authors: Finnerale cmyr makoConstruct xStrom

repo: xi-editor/druid


text:
npm run dev error

环境：
npm 9.6.7
nodejs v18.17.1
Windows10
启用命令：
cd server
npm install
npm run dev

#13


text:
tag 3.2代码运行有问题

作者好，我在阅读本书3.2小节，动手做关于本节的实验时，遇到了一些问题，望解答
在提issue之前，我也翻了相关的issue，比如#35，#6，也想过通过自己解决，但是我go语言基本没怎么学习过，尝试了很久后问题仍然没解决，所以才提的这个issue，望作者能进行详细解答
我的操作系统是使用vagrant起的ubuntu14.04，vagrant box镜像是bento/ubuntu-14.04，具体实验环境如下

uname -r
3.13.0-135-generic
go version
go1.7.1 linux/amd64

我的操作及遇到的问题

git clone https://github.com/xianlubird/mydocker.git
cd mydocker
git checkout code-3.2    #HEAD is now at b500ded... fix bugs        看commit信息是fix bug之后的
go build .

抛出的错误是

./run.go:14: not enough arguments in call to container.NewParentProcess

这个错误相关issue可见#35，但是我的go版本本来就是1.7.1了，后来我又升级到1.9.2之后，还是有这个问题

./run.go:14:49: not enough arguments in call to container.NewParentProcess
have (bool)
want (bool, string, string, string, []string)

然后我阅读了tag-3.2的代码，看到引用的包都是

"github.com/xianlubird/mydocker/xxx"

之类的路径。
我的做法是将报错的那个包路径改成本地包引用

"github.com/xianlubird/mydocker/container"   ->   	"./container"

然后go build .就没问题了，但是执行

./mydocker run -ti -m 100m stress --vm-bytes 200m --vm-keep -m 1

报错了
Incorrect Usage: flag provided but not defined: -vm-bytes

NAME:
   mydocker run - Create a container with namespace and cgroups limit
      mydocker run -ti [command]

USAGE:
   mydocker run [command options] [arguments...]

OPTIONS:
   --ti              enable tty
   -m value          memory limit
   --cpushare value  cpushare limit
   --cpuset value    cpuset limit

{"level":"fatal","msg":"flag provided but not defined: -vm-bytes","time":"2018-08-24T02:02:17Z"}

希望作者能复现一下这个问题，帮忙解决一下，感谢

包路径的问题，这个是go语言的标准的实践，需要把对应项目放到gopath的对应路径中，你需要在$GOPATH/src/github.com/xianlubird/mydocker/目录下开发就不会有问题。

应该是mydocker把stress的参数-vm-bytes当成自己的参数解析了，在stress命令前面加上--即可终止mydocker对后面参数的解析：./mydocker run -ti -m 100m -- stress --vm-bytes 200m --vm-keep -m 1

authors: BSWANG ResolveWang weikeit

repo: xianlubird/mydocker


text:
micro-kernel size for skylake

Hello. I was confused when I read the code in the source file kernel/x86_64/dgemm_kernel _16x2_skylakex.c. OpenBLAS will pack the matrix into 16 * kc row panels and kc * 2 column panels. However, the main micro-kernel size is 16 * 12 in this file. Are my conclusions correct?

From the parameters, the micro-kernel should be 16 * 2, but it is indeed 16 * 12 in terms of implementation.
16 * 12 can be understood as 6 sets of 16 * 2, which can reduce the number of outermost cycles and improve performance.

From the parameters, the micro-kernel should be 16 * 2, but it is indeed 16 * 12 in terms of implementation. 16 * 12 can be understood as 6 sets of 16 * 2, which can reduce the number of outermost cycles and improve performance.

Thanks. For TSV110, OpenBLAS will pack the matrix into 8 * kc row panels and kc * 4 column panels. The main micro-kernel size is 8 * 4 in the file kernel/arm64/dgemm_kernel_8x4.S. Am I right?

Based on what I understand, you are correct.

There are also some interesting implementation notes hidden in some of the pull requests and issues related to individual kernels, e.g. https://github.com/xianyi/OpenBLAS/pull/2376#issuecomment-577326734 Maybe we should try to gather them when we tackle the documentation updates outlined in #4166

Indeed, this information is important, and gathering it together can be more helpful than having it scattered everywhere. Perhaps within my capacity, I can collect some relevant PRs and issues to contribute material for the documentation updates.

authors: FuncJ XiWeiGu martin-frbg

repo: xianyi/OpenBLAS


text:
Segfault in dgeev on Windows 64 bit

I'm seeing this in 0.2.15 on both 64 bit Cygwin and MinGW-w64. Test program:
#include <stdint.h>
#include <stdlib.h>
#include <stdio.h>
#define BLASINT int32_t
void dgeev_(char*, char*, BLASINT*, double*, BLASINT*, double*, double*,
    double*, BLASINT*, double*, BLASINT*, double*, BLASINT*, BLASINT*);
int main() {
char jobvl = 'N';
char jobvr = 'N';
BLASINT n = 1000;
double *A = malloc(n*n*sizeof(double));
BLASINT lda = n;
double *WR = malloc(n*sizeof(double));
double *WI = malloc(n*sizeof(double));
double *VL;
BLASINT ldvl = n;
double *VR;
BLASINT ldvr = n;
double *work = malloc(1*sizeof(double));
BLASINT lwork = -1;
BLASINT info[1];
BLASINT i, j;
for (i=0; i<n; i++) {
    for (j=0; j<n; j++) {
        A[n*i+j] = n*(((double)rand()/(double)RAND_MAX) - 0.5);
    }
}
dgeev_(&jobvl, &jobvr, &n, A, &lda, WR, WI,
    VL, &ldvl, VR, &ldvr, work, &lwork, info);
printf("info[0] is %d\n", info[0]);
printf("lwork is %d\n", lwork);
printf("work[0] is %g\n", work[0]);
lwork = work[0];
free(work);
work = malloc(lwork*sizeof(double));
dgeev_(&jobvl, &jobvr, &n, A, &lda, WR, WI,
    VL, &ldvl, VR, &ldvr, work, &lwork, info);
printf("info[0] is %d\n", info[0]);
printf("lwork is %d\n", lwork);
printf("work[0] is %g\n", work[0]);
}

gdb output (this is with cygwin 64's openblas library, looks very similar with Julia's mingw-w64 build):
Tony@TK-samsung ~/julia
$ gcc -g 5728.c -o 5728 -llapack

Tony@TK-samsung ~/julia
$ gdb -q ./5728
Reading symbols from ./5728...done.
(gdb) r
Starting program: /home/Tony/julia/5728
[New Thread 10000.0xa7c]
[New Thread 10000.0x19f8]
[New Thread 10000.0x108c]
[New Thread 10000.0x27cc]
[New Thread 10000.0x200c]
[New Thread 10000.0x21f0]
[New Thread 10000.0x1398]
[New Thread 10000.0x276c]
[New Thread 10000.0x2118]
[New Thread 10000.0xdb0]
info[0] is 0
lwork is -1
work[0] is 34000

Program received signal SIGSEGV, Segmentation fault.
0x00000003f186ad50 in cygblas-0!blas_memory_free () from /usr/bin/cygblas-0.dll
(gdb) bt
#0  0x00000003f186ad50 in cygblas-0!blas_memory_free () from /usr/bin/cygblas-0.dll
#1  0x00000003f161eff8 in dgemv_ () from /usr/bin/cygblas-0.dll
#2  0x00000003d7c75fae in dlahr2_ () from /usr/lib/lapack/cyglapack-0.dll
#3  0x00000003d7c2f8ec in dgehrd_ () from /usr/lib/lapack/cyglapack-0.dll
#4  0x00000003d7c2c1f3 in dgeev_ () from /usr/lib/lapack/cyglapack-0.dll
#5  0x0000000100401359 in main () at 5728.c:36

@tkelman , thank you for the report.  I am working on this bug.

I just tested it on my two cores windows machine. It works fine. Does it relate to the number of threads?

Don't think so, it segfaults with OPENBLAS_NUM_THREADS set to 1, 2, 4, or 8 for me. Are you building latest develop or 0.2.15 release? I don't have a Windows build of latest develop handy, but it's possible the change in optimization level from https://github.com/xianyi/OpenBLAS/commit/299cdcdc29999d591fcb300630d50b2986bfb6fc might make a difference? Or Lapack 3.6.0 for that matter.

I built debug (-g) version. i will try the release (-O2 -g) version.

I cannot reproduce this segfault so far :(
I plan to try another windows box.

Tony's test works on cygwin 64bit with Netlib and openblas-0.2.14.
In both case the Lapack is 3.5.0 revision 1606 (almost 3.6.0)
$ ./5728.exe
info[0] is 0
lwork is -1
work[0] is 34000
info[0] is 0
lwork is 34000
work[0] is 34000
I am trying to rebuild 0.2.15 with additional debuginfo and usual configuration:
make NO_LAPACK=1 DYNAMIC_ARCH=1 NUM_THREADS=16
$ ./5728.exe
info[0] is 0
lwork is -1
work[0] is 34000
Segmentation fault (core dumped)

the new 0.2.15 version of gemv.c, compared to 0.2.14, is reserving an insufficient stack space
for the assembler subroutine dgemv_n.S.
on
http://matzeri.altervista.org/works/openblas/
I loaded a patch that solve the issue increasing the reserved space of 288 bytes.
as used by dgemv_n.S on Windows system
I also added an assert to verify that the increase was enough.
Without the
stack_alloc_size += 288 / sizeof(FLOAT)
the assert will fail very easily showing an overwriting over
stack_buffer[stack_alloc_size] dimension.
I added a size swap from 10 to 2000 to 5728-n.c
0.2.15 will fail for n ~ 140.
With my change I am running > 1400 with no issue.
Tony can you test the build openblas-0.2.15.1-1 for x86_64 based on git code plus patch from
"setup-x86_64.exe -X -O -s http://matzeri.altervista.org"

Yes, your build works for me.

@xianyi it looks from my local testing like this doesn't happen on Haswell, only earlier kernels. My laptop is a Sandy Bridge. I'm testing Marco's patch now, and will close this if 0.2.15 plus that patch is enough to fix the segfault.

My patch should be considered a temporary workaround. The assert is for extra security.
For most of the architecture I presume the additional stack is an overkill, but surely for windows the old stack reservation was insufficient.

The patch does look like it fixes matters. I'm in the process of working out what to include in a Julia 0.4.2 release, and would like to fix this segfault in some way. I could apply the patch just for the Windows (64 bit only?) build, depending on what resolution is expected to be more consistent with the next 0.2.16 release of OpenBLAS.

on further testing, applying @matzeri's patch on top of 0.2.15 results in intermittent crashes on non Windows platforms, so something probably needs to be changes here. There might be intermittent problems on Windows too still but I run tests less often there.

authors: matzeri tkelman xianyi


text:
无法执行seamlessScroll.value.reset();

无法执行reset

同问, 输出ref后没有reset方法啊


text:
环图设置宽高的时候出现问题

只有把宽度设为屏幕宽度和高度设置为300才不会报错，这是为啥，，，

我是在scroll-view里面用canvas不知道是不是这个影响了

如果把dataLabel设置false，又可以自己定义设置高度了，


text:
knife4j-openapi3 安全认证不生效

knife4j-openapi3 安全认证不生效
<dependency>
    <groupId>com.github.xiaoymin</groupId>
    <artifactId>knife4j-openapi3-spring-boot-starter</artifactId>
    <version>4.3.0</version>
</dependency>
<parent>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-parent</artifactId>
    <version>2.7.15</version>
    <relativePath/>
</parent>

@Configuration
public class SwaggerConfig {
    @Bean
    public OpenAPI openApi() {
        return new OpenAPI()
                .info(new Info().title("demo ").version("1.0").description("demo"))
                .addSecurityItem(new SecurityRequirement().addList(HttpHeaders.AUTHORIZATION))
                .components(new Components().addSecuritySchemes(HttpHeaders.AUTHORIZATION,
                        new SecurityScheme().name(HttpHeaders.AUTHORIZATION).type(SecurityScheme.Type.HTTP).scheme("bearer"))
                );
    }
}

问题说明

访问原生swagger-ui.html  接口请求可以自动带上header
访问knife4j 的 doc.html  接口请求则不能自动带上header
在controller上加上@SecurityRequirement(name = HttpHeaders.AUTHORIZATION) 后在knife4j的doc.html 里是可以正常在请求时带上header的，但是为什么不手动加这个注解就不行呢。

在使用OpenAPI实体类中添加components中的Security方案是定义，需要在接口中指定使用那个security方案
在使用@SecurityRequirement(name = HttpHeaders.AUTHORIZATION)注解后我认为是该接口的方案使用，这个和之前在定义OpenAPI2规范的securiyt时，指定哪些path来使用我觉得是一样的，这种我觉得是合理的啊？
最终的OpenAPI3规范结构会被解析（示例）：
{
    "paths": {
        "/test/description": {
            "post": {
                "tags": [
                    "测试模块"
                ],
                "summary": "描述1",
                "operationId": "description",
                "parameters": [
                    {
                        "name": "sortType",
                        "in": "query",
                        "description": "描述",
                        "required": false,
                        "schema": {
                            "type": "string",
                            "description": "描述"
                        }
                    },
                    {
                        "name": "pageNo",
                        "in": "query",
                        "description": "页码",
                        "required": false,
                        "schema": {
                            "type": "string",
                            "description": "页码",
                            "example": 1
                        },
                        "example": 1
                    },
                    {
                        "name": "pageSize",
                        "in": "query",
                        "description": "分页大小",
                        "required": false,
                        "schema": {
                            "type": "string",
                            "description": "分页大小",
                            "example": 20
                        },
                        "example": 20
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/修改分页查询参数"
                                }
                            }
                        }
                    }
                },
               // operation接口级别决定使用哪一种security方案
                "security": [
                    {
                        "Authorization": []
                    }
                ]
            }
        }
    },
    "components": {
        // 定义security方案
        "securitySchemes": {
            "Authorization": {
                "type": "http",
                "scheme": "bearer"
            }
        }
    }
}

在Operation节点的规范定义如下：

https://spec.openapis.org/oas/latest.html#fixed-fields-7
Knife4j这样处理我觉得是合理的？

    @Bean
    public OpenAPI customOpenAPI() {
        return new OpenAPI()
                // .info(new Info().title("My API").version("1.0")) // API信息
                .addSecurityItem(new SecurityRequirement().addList("Access-Token")) // 安全需求
                .components(new Components()
                        .addSecuritySchemes("Access-Token", new SecurityScheme()
                                .type(SecurityScheme.Type.APIKEY)
                                .in(SecurityScheme.In.HEADER)
                                .name("Access-Token"))); // 安全模式
    }

    @Bean
    public OpenApiCustomiser securityCustomiser() {
        return openApi -> {
            openApi.getPaths().values().forEach(pathItem -> {
                // 给每个接口添加安全需求

                pathItem.readOperations().forEach(operation -> {
                    operation.addSecurityItem(new SecurityRequirement().addList("Access-Token")); // 添加安全需求
                });
            });
        };
    }

引入OpenApiCustomiser bean

authors: Li-Stone lly-ke xiaoymin


text:
希望UI再美化一些就好了，功能够用了，但是不够美观

可以使用AdminLte或者ElementUI那种，好看一些的

自定义的markdown文档 显示出来的内容格式，看着有点费劲，建议参考https://doc.xiaominfo.com/这个UI而且还美观

自定义的markdown文档 显示出来的内容格式，看着有点费劲，建议参考https://doc.xiaominfo.com/这个UI而且还美观

1.9.4对自定义的markdown已优化
https://www.oschina.net/news/107336/swagger-bootstrap-ui-1-9-4-released

repo: xiaoymin/swagger-bootstrap-ui


text:
Hyphen(-) issue

Hyphen(-) in markdown should be show as a list, i think we should escape hyphen(-) to "-", otherwise  after converted, hyphen(-) will be show as a list, but i expected only a normal hyphen(-), not list.

Hello @cainianhua, thanks for your suggesting.
I'm not sure I got your problem already. Can you describe it with some code examples please?
For me the following looks like the expected behavior:
> ReverseMarkdown.convert 'foo-bar' => "foo-bar\n\n"
> ReverseMarkdown.convert '
foo-bar
' => "- foo-bar\n"

Is there something I'm missing?

Sorry for that, i lost a important condition, Hyphen(-) should be in the beginning, like that:
ReverseMarkdown.convert('-test') #=> -test\n

I expected the result should be \\-test\n in this case, otherwise, it will show in page like this:

test

But I only want to show as original value, like that:
-test

@cainianhua That sounds more like a problem of the markdown implementation you're using. In Redcarpet (a very common ruby implementation) the following works quite like expected:
irb(main):004:0> Redcarpet::Markdown.new(Redcarpet::Render::HTML).render('-test')
=> "
-test
\n"

Maybe you misunderstand my meanings, actually, I just have a html fragment, like this:

-test

After called convert:
ReverseMarkdown.convert('

-test

') #=> -test\n\n

It will display as list, like that:

test

But i only want to show as a plain text, like this:
-test

Hello @cainianhua
I understand your example, but I think you're jumping to the wrong conclusion.
Which markdown converter do you use to transform -test\n\n back into HTML?
In Redcarpet (https://github.com/vmg/redcarpet) the result would be what you expected:
-test
\n
I think the markdown converter you're using has a bug and shouldn't create a list from the given string.
Do you agree with my analysis or am I missing something?

Test string should be

- test

 (with a space between - & test). This issue makes perfect sense to me.

Hi @sdhull,
please let me know what the expected result for the input you provided is.
You won't be able to get the exact HTML that you provided in a full round trip though. The
 will always be lost, because markdown has no representation for it.
So from my point of view this conversion looks OK:
ReverseMarkdown.convert "

- test

"
=> "- test\n\n"

If the HTML contains markdown formatted content, like in this example the list item, this content will inevitably be transformed at some point.
Even if we managed to spot those cases and escape them, markdown renderers would not care anyway:
md.render "\- foobar" # use redcarpet
=> "
\n
foobar
\n
\n"

Ohhh I see. Well in that case, I'd suggest closing this issue.
It might be worth adding a "Limitations" section to the readme pointing out that if the HTML you're converting to markdown has markdown-formatted text (text that would be interpreted by markdown parsers as lists, headers, hr's, etc), then a "roundtrip" (eg converting from html to markdown back to html) will inevitably produce a different result than what you started with.
On a somewhat related tangential note, I'd love to be able to turn off escaping of node text altogether (considering it only escapes * & _, it cannot be considered complete and as you point out -- redcarpet ignores escaping in some circumstances anyway). But that's another issue. I could submit a PR for it even.

@sdhull Sounds good, I'd be happy to merge any PR to improve documentation.

authors: cainianhua sdhull xijo

license: WTFPL


text:
窗体尺寸最大化问题

通过鼠标拖动窗体至屏幕边缘，可实现窗体的分屏或最大化，但该程序多出限制了布局容器的长宽属性，因此进行该操作会出现不可逆的问题。
解决办法：在主窗体增加ResizeMode="NoResize"属性

非常感谢您能提供此项目的软件问题，经过我的测试，的确发现此问题的存在，此问题的导致是我的疏忽大意，已采纳您的意见并将ResizeMode修改为NoResize，稍后您会看到新的更改被提交到项目中，最后再次感谢您提出的问题，谢谢！

repo: xingchuanzhen/Icon-conversion


text:
How to reduce fringe interference in results?

I got some fringe interference (条纹干涉) in results, just like SRGAN results in the above picture. And I don't know how to call about such phenomenon officially which is often happened in GAN training.
It is worse in visual perception, and is there any way to reduce it? Or, which part of optimizations in ESRGAN reduce such phenomenon?
THX!

And I have removed BN layers， which may not be the BN artifact

@youyuge34
Yes, this pattern of artifacts does not rise from BN layers. I cannot tell which specific part should take responsibility for these artifacts. I think better training will solve it.
Maybe you can try the usage of VGG and RaGAN in ESRGAN.

repo: xinntao/ESRGAN


text:
Wrap CLI errors

Initially, just wrap ParseIntError for quantizer.

Coverage remained the same at 70.678% when pulling 2ac6a1393fdd91aaba8ae5345f9c930be88a0ad2 on barrbrain:wrap-cli-error into f914fa2b64bfaddb15ab4ce2296f2e4b86aa2d4f on xiph:master.

authors: barrbrain coveralls


text:
Index out of range

Issue
Hello, iam getting a index out of range, guess its related to the new year...
I dont think its an program error, the information for the new year isnt available yet..
So a 'not available yet' would do the trick.
iam using https://www.mijnafvalwijzer.nl
Regards Frank
Which version has the issue?
core-2021.12.5
What was the last working version?
No idea havent had a change of year yet
Anything in the logs that might be useful?
Deze fout is ontstaan door een aangepaste integratie.

Logger: custom_components.afvalwijzer.const.const
Source: custom_components/afvalwijzer/provider/afvalwijzer.py:292
Integration: afvalwijzer (documentation, issues)
First occurred: 00:28:23 (10 occurrences)
Last logged: 09:32:54

Error occurred: list index out of range

Related error:

Deze fout is ontstaan door een aangepaste integratie.

Logger: homeassistant.helpers.entity
Source: custom_components/afvalwijzer/sensor_custom.py:88
Integration: afvalwijzer (documentation, issues)
First occurred: 00:31:52 (33 occurrences)
Last logged: 10:32:54

Update for sensor.afvalwijzer_next_item fails
Update for sensor.afvalwijzer_next_date fails
Update for sensor.afvalwijzer_next_in_days fails
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 487, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 691, in async_device_update
    raise exc
  File "/config/custom_components/afvalwijzer/sensor_custom.py", line 88, in async_update
    if isinstance(waste_data_custom[self.waste_type], datetime):
KeyError: 'next_item'

Additional information
No response

Update, the error is gone the next year is available on mijnafvalwijzer, so the 'program' is whole again till the end of next year ;-)

Hi, yes, working on it :)

authors: xirixiz yfands

repo: xirixiz/homeassistant-afvalwijzer


text:
Added Gemeente Assen

Added Gemeente Assen

Thanks for your contribution. I will add it to the upcoming release (today or tomorrow).

Is there any update on this merge? My automations will be broken in 4 days, if there's anything I can do to help the merge, please let me know :)

authors: markvdlaan supertanno xirixiz


text:
[AST 6.0] Minor Arcana to CDDT

Add to CDDT? Not sure if CDDT can accommodate. Otherwise add as another slot in ArcanaTracking
Allow them to hold the card itself for 60s just until the CD is ready.

If your primary goal is to track "you used a minor arcana card 10 times and you could have gotten 12 in the fight", CDDT should work fairly well assuming you define the two minor arcana as in the same group of cooldowns (see Drill/Bioblaster in MCH -- this isn't quite the same thing as defining a CooldownGroup from the perspective of the timeline, and you need to do something specific for CDDT that's independent of the timeline stuff).
If there's other considerations about "use this card specifically under certain circumstances", CDDT won't support that.

Please see PR #1483

Please see PR #1483

authors: AzariahAeroborn otocephaly suShirow

repo: xivanalysis/xivanalysis


text:
always train-accuracy=0.0000

run cnn_ocr.py
this is log:
[22:53:17] d:\chhong\mxnet\src\operator./reshape-inl.h:227: Using target_shape will be deprecated.
2016-08-10 22:53:17,700 Start training with [gpu(0)]
[22:53:17] d:\chhong\mxnet\src\operator./reshape-inl.h:227: Using target_shape will be deprecated.
[22:53:20] d:\chhong\mxnet\src\operator./reshape-inl.h:227: Using target_shape will be deprecated.
[22:53:20] d:\chhong\mxnet\src\operator./reshape-inl.h:227: Using target_shape will be deprecated.
2016-08-10 22:53:37,042 Epoch[0] Batch [50]     Speed: 55.20 samples/sec
Train-Accuracy=0.000000
2016-08-10 22:53:44,377 Epoch[0] Batch [100]    Speed: 54.55 samples/sec
Train-Accuracy=0.000000
2016-08-10 22:53:51,782 Epoch[0] Batch [150]    Speed: 54.03 samples/sec
Train-Accuracy=0.000000
2016-08-10 22:53:59,164 Epoch[0] Batch [200]    Speed: 54.19 samples/sec
Train-Accuracy=0.000000
2016-08-10 22:54:06,578 Epoch[0] Batch [250]    Speed: 53.95 samples/sec
Train-Accuracy=0.000000
2016-08-10 22:54:13,996 Epoch[0] Batch [300]    Speed: 53.94 samples/sec
Train-Accuracy=0.000000
2016-08-10 22:54:21,388 Epoch[0] Batch [350]    Speed: 54.13 samples/sec
Train-Accuracy=0.000000
2016-08-10 22:54:28,717 Epoch[0] Batch [400]    Speed: 54.59 samples/sec
Train-Accuracy=0.000000
2016-08-10 22:54:36,108 Epoch[0] Batch [450]    Speed: 54.13 samples/sec
Train-Accuracy=0.002500
2016-08-10 22:54:43,480 Epoch[0] Batch [500]    Speed: 54.28 samples/sec
Train-Accuracy=0.000000
2016-08-10 22:54:50,888 Epoch[0] Batch [550]    Speed: 54.00 samples/sec
Train-Accuracy=0.000000
2016-08-10 22:54:58,296 Epoch[0] Batch [600]    Speed: 54.02 samples/sec
Train-Accuracy=0.000000
2016-08-10 22:55:05,647 Epoch[0] Batch [650]    Speed: 54.42 samples/sec
Train-Accuracy=0.000000
2016-08-10 22:55:13,017 Epoch[0] Batch [700]    Speed: 54.28 samples/sec
Train-Accuracy=0.000000
2016-08-10 22:55:20,394 Epoch[0] Batch [750]    Speed: 54.23 samples/sec
Train-Accuracy=0.000000
2016-08-10 22:55:27,778 Epoch[0] Batch [800]    Speed: 54.19 samples/sec
Train-Accuracy=0.000000
2016-08-10 22:55:35,165 Epoch[0] Batch [850]    Speed: 54.16 samples/sec
Train-Accuracy=0.000000
2016-08-10 22:55:42,598 Epoch[0] Batch [900]    Speed: 53.82 samples/sec
Train-Accuracy=0.000000
2016-08-10 22:55:49,983 Epoch[0] Batch [950]    Speed: 54.18 samples/sec
Train-Accuracy=0.000000
2016-08-10 22:55:57,433 Epoch[0] Batch [1000]   Speed: 53.70 samples/sec
Train-Accuracy=0.002500
2016-08-10 22:56:04,776 Epoch[0] Batch [1050]   Speed: 54.47 samples/sec
Train-Accuracy=0.000000
2016-08-10 22:56:12,173 Epoch[0] Batch [1100]   Speed: 54.10 samples/sec
Train-Accuracy=0.000000
2016-08-10 22:56:19,617 Epoch[0] Batch [1150]   Speed: 53.75 samples/sec
Train-Accuracy=0.000000
2016-08-10 22:56:27,052 Epoch[0] Batch [1200]   Speed: 53.80 samples/sec
Train-Accuracy=0.000000
2016-08-10 22:56:34,490 Epoch[0] Batch [1250]   Speed: 53.79 samples/sec
Train-Accuracy=0.000000
2016-08-10 22:56:41,938 Epoch[0] Batch [1300]   Speed: 53.72 samples/sec
Train-Accuracy=0.000000
2016-08-10 22:56:49,368 Epoch[0] Batch [1350]   Speed: 53.85 samples/sec
Train-Accuracy=0.000000
2016-08-10 22:56:56,763 Epoch[0] Batch [1400]   Speed: 54.10 samples/sec
Train-Accuracy=0.000000
2016-08-10 22:57:04,193 Epoch[0] Batch [1450]   Speed: 53.84 samples/sec
Train-Accuracy=0.000000
2016-08-10 22:57:11,558 Epoch[0] Batch [1500]   Speed: 54.33 samples/sec
Train-Accuracy=0.000000

USE  20160531_win10_x64_gpu.7z
when use gpu accuracy always=0 . but use cpu is normal

repo: xlvector/learning-dl


text:
opencv ffmpeg 版本冲突

Xmake 版本
xmake v2.7.3+dev.09113b2
操作系统版本和架构
Ubuntu18.04 LTS
描述问题
手上一个项目有多个模块，
其中模块A 需要 ffmpeg（需要特定配置）
程序 B 需要  opencv（opencv同时需要打开 ffmpeg 和 gtk配置，ffmpeg 配置同A一致）
程序 B 引用 模块A，
在编译链接 程序B时提示 ffmpeg 库冲突了，跑去引用我本地的库了，xmake里我已经设定不使用系统库(system=false)
期待的结果
这样要如何才能正确编译程序B，不会链接到系统里的库
工程配置
根 xmake.lua

...
add_requires("ffmpeg 5.1.2", {system = false, configs = {
  shared=true,
  swscale=true,
  static=false,
  doc=false,
  ffmpeg=false,
  ffplay=false,
  ffprobe=false,
  fferver=false,
  symver=false,
  asm=true,
  yasm=true,
  stripping=true,
  encoders=true,
  decoders=true,
  devices=true,
  avdevice=true,
  libx264=true,
  nonfree=true,
  gpl=true,
  swscale=true
}})

add_requires("opencv~gtk 4.6.0", {system = false, configs={
  shared=true,
  ffmpeg=true,
  gtk=true
}})
...

程序B xmake

target("test_b")
  set_kind("binary")
  add_files("**.cpp")
  add_includedirs(".")
  set_license("GPL-3.0")
  set_rundir("$(projectdir)")
  add_packages("ffmpeg", "opencv~gtk")
  add_deps("module_a")

模块A xmake

target("module_a")
  set_kind("shared")
  add_files("**.cpp")
  set_license("GPL-3.0")
  add_links("pthread")
  add_includedirs(".", {public=true})
  add_packages("ffmpeg", "libsdl", {public=true})

附加信息和错误日志
error: /usr/bin/ld: warning: libavfilter.so.8, needed by build/linux/x86_64/debug/libmodule_a.so, may conflict with libavfilter.so.6
/usr/bin/ld: warning: libavdevice.so.59, needed by build/linux/x86_64/debug/libmodule_a.so, may conflict with libavdevice.so.57
/usr/bin/ld: warning: libavformat.so.59, needed by build/linux/x86_64/debug/libmodule_a.so, may conflict with libavformat.so.57
/usr/bin/ld: warning: libavcodec.so.59, needed by build/linux/x86_64/debug/libmodule_a.so, may conflict with libavcodec.so.57
/usr/bin/ld: warning: libswscale.so.6, needed by build/linux/x86_64/debug/libmodule_a.so, may conflict with libswscale.so.4
/usr/bin/ld: warning: libswresample.so.4, needed by build/linux/x86_64/debug/libmodule_a.so, may conflict with libswresample.so.2
/usr/bin/ld: warning: libavutil.so.57, needed by build/linux/x86_64/debug/libmodule_a.so, may conflict with libavutil.so.55
/usr/bin/ld: build/.objs/test_b/linux/x86_64/debug/src/test_b/main.cpp.o: undefined reference to symbol 'av_channel_layout_compare@@LIBAVUTIL_57'
/home/xxx/.xmake/packages/f/ffmpeg/5.1.2/2e3a0b2dacdf405c80b288c2f9ab164c/lib/libavutil.so.57: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status

感谢回复，好的，我试下
｀error: /usr/bin/ld: warning: libavfilter.so.8, needed by build/linux/x86_64/debug/libmodule_a.so, may conflict with libavfilter.so.6｀
这条信息上看，module_a 链接了 libavfilter.so.8，但它又提示与 libavfilter.so.6 冲突，libavfilter.so.6 在我的本地系统路径下，是因为 opencv 链接时使用了 libavfilter.so.6 吗？

xmake -v
检查下 linkdirs ，应该是你设置了哪些 linkdirs 导致搜索时候 冲突了，把你本地 so 的 linkdir 去掉，确保所有 linkdirs 里面只有一份 ffmpeg

请问，opencv 里的 ffmpeg 库是否有办法可以指定使用我们 根 xmake.lua 里指定的库？我的场景用动态库会更合适

repo: xmake-io/xmake-repo


text:
linux compile go to windows binary :Checking for the Microsoft Visual Studio

Describe the bug
I run command on linux but it chek for vs?
➜  xmakeDemo xmake f -p windows -a x86_64 -m release
checking for the Microsoft Visual Studio (x86_64) version ... no
please run:
    - xmake config --vs=xxx [--vs_toolset=xxx]
or  - xmake global --vs=xxx

Expected behavior
build windows binary success.
Related Environment

xmake version:3.6 latest dev

xmake v2.3.6+202007301004, A cross-platform build utility based on Lua

os:Manjaro Linux
target platform: Windows
Go version: go 1.14.6

I have fixed it, you can update to dev version and try it again.
$ xmake update -s dev
$ xmake f -p windows -c
$ xmake

I have fixed it, you can update to dev version and try it again.
$ xmake update -s dev
$ xmake f -p windows -c
$ xmake

now I can compile.but still have some problem:

compile need root permition.
2.after build there was nothing in the build directory.
here is the log

➜  xmakeDemo  xmake f -p windows -a x86_64 -m release
note: we need build go for windows_amd64 only once first! (pass -y or --confirm=y/n/d to skip confirm)?
please input: y (y/n)
y
building go for windows_amd64 .. error: go build cmd/dist: copying /tmp/go-build163553446/b001/exe/a.out: open cmd/dist/dist: permission denied

➜  xmakeDemo sudo xmake f -p windows -a x86
➜  xmakeDemo ls
build  src  xmake.lua
➜  xmakeDemo cd build
➜  build ls

building go for windows_amd64 .. error: go build cmd/dist: copying /tmp/go-build163553446/b001/exe/a.out: open cmd/dist/dist: permission denied

Because it will run the following command to build go for other platform.
$ cd /usr/lib/go-1.6/src
$ GOOS=windows GOROOT_BOOTSTRAP=/usr/lib/go-1.6/ GOARCH=amd64 ./make.bash --no-clean

I have only tested cross-compilation on macos/windows before (see https://github.com/xmake-io/xmake/issues/898), but I haven’t tested it under linux. It seems that there are some permissions issues that need to be dealt with.

I have fixed it, you can update the dev version and try it again. xmake update -s dev

authors: czytcn waruqi

repo: xmake-io/xmake


text:
Auto Layout still required after sending -viewDidLayoutSubviews to the view controller.

Why i always crash in ios7
Auto Layout still required after sending -viewDidLayoutSubviews to the view controller.
thanks!

override func viewDidLayoutSubviews() {
self.view.layoutSubviews()
}

override func viewDidLayoutSubviews() {
super.viewDidLayoutSubviews()
self.view.layoutSubviews()
}

@starkite  @starkite I have tested the master branch in ios 7.1 and it works properly. Could you point me how to reproduce the error?

@starkite @loydkim i could reproduce the issue. should be fixed in master branch. Thanks for reporting it.

why get random crash in ios7.

authors: PratikHyperlink loydkim mtnbarreto starkite

repo: xmartlabs/XLPagerTabStrip


text:
update time to <1.15

Description
Update bounds of time to allow the new 1.14 release.
Checklist

[x] I've read CONTRIBUTING.md

[x] I've considered how to best test these changes (property, unit,
manually, ...) and concluded: build with --constraint='time == 1.14' passed locally

[ ] I updated the CHANGES.md file (n/a)

Actually, since time is a bootlib CI is still using 1.12.2. Have to see how to test it locally.

I believe @slotThe did the testing a couple times in the past when I pinged him on IRC after the Packdeps CI failed.
Perhaps we should add a note about this to MAINTAINERS.md so we don't need to remember (and also to decrease the bus factor).

I saw the

build with --constraint='time == 1.14' passed locally

edit and figured that the local tests ran through.

We could even make the Packdeps job point us to the relevant piece of documentation to minimise the brain function required to deal with this :-D

We could also look into using https://github.com/nomeata/cabal-plan-bounds to generate version constraints automatically, or https://github.com/nomeata/cabal-force-upper-bound to force CI to use the upper bound of a package

edit and figured that the local tests ran through.

They did, and I updated to show it. Should I have deleted that comment afterward? (or edited it, I guess)

authors: geekosaur liskin slotThe

repo: xmonad/xmonad-contrib


text:
Stop setting new lifetimes

tl;dr

Stops setting new lifetimes on key packages, so that we don't run in to cases of users with invalid key packages in 6 months
Anyone with a key package with no lifetime will appear as being invalid to an older client version, which will prevent anyone from adding them to a group. Reading existing commits that add that member to a group will also fail on client SDK versions that still check for lifetimes.
Ideally we roll this out concurrently to wiping all existing installations, and we get everyone upgraded to a newer SDK version.

Merge activity

Aug 27, 10:34 AM PDT: @neekolas started a stack merge that includes this pull request via Graphite.

repo: xmtp/libxmtp


text:
OmniSciDB converts boolean NULL to true

omnisql> CREATE TABLE IF NOT EXISTS test (b BOOLEAN[]);
omnisql> INSERT INTO test VALUES ({'true', NULL, 'false'});
omnisql> SELECT * FROM test;
b
{true, true, false}

It should be {true, NULL, false}

omnisql> create table test (i2 SMALLINT[]);
omnisql> insert into test values ({});
omnisql> insert into test values ({NULL});
omnisql> insert into test values ({2});
omnisql> insert into test values ({1, NULL, 3});
omnisql> insert into test values (NULL);
omnisql> select * from test;
i2
{}
{NULL}
{2}
{1, NULL, 3}
NULL

from RBC:
>>> _, result = omnisci.sql_execute(f'select i2 from test;')
>>> print(list(result))
[([],), ([-32768],), ([2],), ([1, -32768, 3],), (None,)]

omnisql> create table test (i2 SMALLINT[]);
omnisql> insert into test values ({});
omnisql> insert into test values ({NULL});
omnisql> insert into test values ({2});
omnisql> insert into test values ({1, NULL, 3});
omnisql> insert into test values (NULL);
omnisql> select * from test;
i2
{}
{NULL}
{2}
{1, NULL, 3}
NULL

from RBC:
>>> _, result = omnisci.sql_execute(f'select i2 from test;')
>>> print(list(result))
[([],), ([-32768],), ([2],), ([1, -32768, 3],), (None,)]

https://github.com/omnisci/omniscidb-internal/pull/5492/commits/379b5a5c90e149610c2fb0c73bc0d20d3d7516a3 fixes the issue.

Using the current omniscidb master:
omnisql> CREATE TABLE IF NOT EXISTS test (b BOOLEAN[]);
omnisql> INSERT INTO test VALUES ({'true', NULL, 'false'});
omnisql> SELECT * FROM test;
b
{true, NULL, false}

authors: guilhermeleobas pearu

repo: xnd-project/rbc


text:
Error signing into admin panel

I removed the line forbidden new account creations in accounts.js (Accounts.config({forbidClientAccountCreation: true}) then tried creating a new account and signing in.
Upon signing in, I'm redirected to /error and stuck on the loading view.
screen-shot:

Hey again, any suggestions here?

Sorry I missed this! You don't want to disable the forbidClientAccountCreation flag because the backend services do more than just create an account.

authors: hudat samhatoum

repo: xolvio/Letterpress


text:
🛑 Design Swan is down

In 7dbc520, Design Swan (https://www.designswan.com) was down:

HTTP code: 500
Response time: 82 ms

Resolved: Design Swan is back up in 50f3ae9.

repo: xoryorz/upptime


text:
🛑 Design Swan is down

In 96fd0f3, Design Swan (https://www.designswan.com) was down:

HTTP code: 500
Response time: 112 ms

Resolved: Design Swan is back up in 696f471 after 12 minutes.


text:
🛑 Design Swan is down

In 2f1745a, Design Swan (https://www.designswan.com) was down:

HTTP code: 500
Response time: 107 ms

Resolved: Design Swan is back up in 7e0164c after 12 minutes.


text:
Feature Request: Launch RDP connections

Would be cool\nice to be able to launch into an RDP session for windows hosts! I could fully see myself switching over to xpipe from mRemoteNG!

As someone who does not often use RDP connections, how would you imagine such a support would look like? Someone else already suggested this: https://www.reddit.com/r/selfhosted/comments/14ttg5o/comment/jr6d22q/?utm_source=share&utm_medium=web2x&context=3 . Is this would you also are looking for or do you have any other ideas?

nope that was not me. But the way I would invision it is when clicking the Add Remote Host button id get an option for like RDP, Windows RDP or something along those lines.  Then when the host is added on the main screen a single click would just dump you into an RDP session of that host.
Now added functionality I know may take more time and could be though more down the road is tabbed sessions kinda like you have in your file browser. So when connecting to more then one host you can use the tabs to switch back and forth. If you take a look at mRemoteNG youll see what im talking about there. This tabbed functionality could carry over into shell sessions also if you wanted to!

Alright, I think I can visualize that now. I will have to see when there's some time to experiment with an implementation for this

any updates on this one?

They are essentially two options for this:

Implementing all the RDP support yourself, including rendering etc., which is a lot of work. This is currently not feasible in a one man project as the required amount of work is way too much. The library landscape for this is also not that rich, so you indeed have to implement much by yourself.
Delegating this to installed RDP clients, which is easier and more in line with what XPipe does. I tested with various RDP clients and a problem is that most of them lack proper CLI support, so there's only so much that XPipe can do here to create some additional value for RDP users

Just researched a bit more and it seems it would be sort of (?) cross-platform. Remmina supports rdp files, and you can parse the connection information from the rdp file using bash, so it would be usable at least on linux too (https://askubuntu.com/questions/337441/using-windows-exported-rdp-file-from-ubuntu).
I think the main benefit would not be the launcher itself but the fact that you can have all your rdp connections in one place and organized how you want it, just like with shell connections. Having a full custom, cross-platform implementation would of course be very nice, but the biggest benefit would still be achieved via the simple rdp file method. At least that would be it for my use case, as I have a quite some Windows VMs in my lab and having all connections in one place, with one button would be amazing.

Ok I see, I have to experiment with that.
The few other people interested in this issue discussion could also weigh in on whether such a launcher implementation would be sufficient or if they are looking for something different.

Ok so I implemented basic RDP launcher support.
Passing passwords is doable on Windows with the password 51 option. But on Linux, it would still require an application specific implementation to pass passwords to the selected RDP client. I'm not sure whether it is possible to guarantee a smooth workflow on all platforms.

Very nice, Looking forward to testing it soon!
As for the workflow on Linux, CLI RDP programs like freerdp/xfreerdp support passing the password as an argument, while Remmina (what most people seem to be using) can take a .remmina or a .rdp file. One could create temporary config files similar to the temporary SSH config files for connections right?

So I tested with remmina and there are two problems:

It does not allow to store passwords for temporary .rdp connections. It only stores and accept passwords for connections that are managed in remmina itself.
The .reminna files do not contain the passwords. They are stored with libsecret. In theory we can access that, but there's no point if it does not accept the passwords for temporary rdp files

For other clients it will also be probably very context specific, so not easy. I had originally envisioned to designate such a feature, if it would happen, as a professional edition feature. But looking at it now, I don't you can sell this with such a thin implementation. So maybe I can add some special integrations, e.g. SSH tunnel support or it will be included in the community edition and in the open source core if there's nothing of value I can add.

So this is now supported in XPipe 9 at https://github.com/xpipe-io/xpipe-ptb. Is not perfect yet and pretty basic but it will get there.
VNC support it was much easier to add and could also be built in, but RDP is another level of complexity to integrate with XPipe itself, so a launcher is the best I can do for now.

This is now implemented in 9.0. For any issue reports or feature request, you can open new issues in this repository

repo: xpipe-io/xpipe


text:
Deparallelize tensor parallelism

Convert a pippegoose's checkpoint [link] format to Hugging Face format
pytorch_model_tp_{tp_rank}_pp_{pp_rank}.bin

@ChufanSuki Yes, we do need it. Although we load transformers, but we split each one across GPUs during training [link], so each GPU only holds a portion of the weight. So we need to merge those weights back to the original format (is there any other way around this?). What you like to take this task. I will assign it to you. Feel free to ask me anything along the way.

I'm happy to take this task. I'll come back as soon as I manage to finish this.

@ChufanSuki sup. How is it going? This task is now a high priority. Can you get it done in the next week, or we will assign someone else? Thanks.

@xrsrke alright I'll take a look before fixing TP

authors: 3outeille ChufanSuki xrsrke

repo: xrsrke/pipegoose


text:
Ability to get vanilla XState JSON

I have a bit of familiarity with XState, and while coming up to speed on xstate-wizards, I found it helpful to visualize/simulate the resulting XState state machine using stately.ai. Here's the xstate-react demo on stately.ai.
However, to get vanilla XState JSON I could import in stately, I had to hack a log line into packages/spells/src/machines/createSpell.ts (after the state prepper, before the createMachine call).
Can we refactor this (and/or create a utility function) to get the JSON-serializable object back? Would be good to be able to get back the state machine underlying any spell.

100% love this goal. I'd love if createMachine had a toJSON method heh. Maybe the API for createSpell can shift a bit:

createMachineConfig could be a function on there for just getting back JSON
createMachine then calls that function (ex: createMachine(this.createMachineConfig())

authors: mahmoud youmustfight

repo: xstate-wizards/xstate-wizards


text:
🛑 Xstatic is down

In 774f013, Xstatic (https://www.xstatic.io) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Xstatic is back up in f5e6bbf after 5 minutes.

repo: xstaticwebdev/upptime


text:
Issue when loading m3u through https

xTeVe: | 2.1.2 |
OS: | linux
I want to load an m3u from a remote location using https,
When i open xteve m3u url using VLC, he stream url provided by xteve does not contain https but is only http for all the streams

The xTeVe web server only supports HTTP. All links pointing to xTeVe are always HTTP links. If you need HTTPS, you have to build a proxy in front of xTeVe.

but the links in the m3u file are generated as http not https

I have exactly the same problem. I need the generated M3U to have links from https: //
I download the file via https and the proxy reverse works here, but in the m3u file itself there are incorrect links without https:

repo: xteve-project/xTeVe


text:
小伙子可以啊，同南通人，加油~~

牛逼啊，小伙子

Thank you. But next time please don't open an issue for this. Sending an email will be better.

And, please use English in issues.

authors: xtlsoft yabola

repo: xtlsoft/blog


text:
能兼容unity2017么？

最近升级了2017.2 发觉不能用了～～

暂时不支持2017

authors: ZonSamuel xtqqksszml

repo: xtqqksszml/zcode-AssetBundlePacker


text:
Resharper 7.1 support?

Hi
I have Resharper 7.1 which I use with VS 2012.
I am not able to use the new xunit 2.1.0 with Resharper as the xunit plugin is expecting xunit.dll which is no longer present in the new xunit 2.1.0
Can someone guide me on what plugin supports both Resharper 7.1 and xunit 2.1.0
Thanks

Sorry, there isn't a version of the plugin for 7.1 that runs xunit 2. The first version that supported xunit 2 was for 8.2.

authors: citizenmatt csaket

repo: xunit/resharper-xunit


text:
如何自定义该种数据传输协议？

你好，如果数据传输协议是这样的：帧头 (2字节) 、数据长度len(2字节)、数据DP(len*2字节)、校验和CS(1字节)、帧尾 (2字节)
请问该怎么定义传输协议？

同问，解决了没？

repo: xuuhaoo/OkSocket


text:
implement input validation for food endpoint and add update and delete endpoint

…e endpoint

test added


text:
Image get transformed to "!"

The result of the two following operations:
{ ops: [
           { retain: position},
           { insert: 1}
       ]
}
# and then
{ ops: [
           { retain: position},
           { retain: 1, attributes: {image: "someimageurl.png"}}
       ]
}

has not the same result as
{ ops: [
           { retain: position},
           { insert: 1, attributes: {image: "someimageurl.png"}}
       ]
}

The first one results in a weird ! and no image, while the second one gives the image.

I made a hack by adding a attributes: {image: "http://" } when missing for an {insert : 1}. There's an open issue on quilljs (https://github.com/quilljs/quill/issues/347)

I fixed this in the initial_editor branch. In the current master branch, quill receives two deltas on startup:

one for the text
one for the selections

But now I transform text+selections into one delta. Therefore, this cannot happen anymore.

authors: DadaMonad cphyc

repo: y-js/y-richtext


text:
WIP: Support log query

References
Description
Validation performed

The design was discussed offline. Some key ideas:

Instead of having a giant (time-consuming / blocking) while-loop to collect all results in the service worker, submit query tasks one-by-one (with setTimeout()) which will allow any requests from the render to be handled in between task executions.
The render should aggregate all results on every receipt of chunk results.

Let's get those implemented and we can discuss further. I can help with the UI implementations once #74 is merged.

repo: y-scope/yscope-log-viewer


text:
🛑 Hiroshima.fun is down

In 3ec94bf, Hiroshima.fun (https://hiroshima.fun) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Hiroshima.fun is back up in 7f3a42e.


text:
[coc.nvim] The licence key provided is not valid. Please check you have entered the key correctly.

Unfortunately this error message is ambiguous.  I am sure I entered my key correctly by adding a line to the appropriate licence.txt file, but I still get the error.

Hi, thant error message is not created by coc-intelephense on its own, but comes from the intelephense's language server itself.
It seems that this error message is output when the licence key is incorrect.
Please double check the licence key in the email you received after purchasing your intelephense licence.

If you continue to receive error messages even though your licence key is correct, you may want to contact @bmewburn via email using the "Contact" link at https://intelephense.com/.

Turns out the key file can't have a newline in it or it will come up as invalid. I once I fixed that the error went away.

authors: Heptite yaegassy

repo: yaegassy/coc-intelephense


text:
sh: 1: nodemon: not found?

i already run npm install, and it success.
then,cd todo and npm run dev.
but i got this:
sh: 1: nodemon: not found
npm ERR! Linux 3.13.0-32-generic
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "dev"
npm ERR! node v4.0.0
npm ERR! npm  v2.14.2
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! flux-example-todo@0.0.0 dev: node webpack-dev-server.js & PORT=3001 nodemon server.js -e js,jsx
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the flux-example-todo@0.0.0 dev script 'node webpack-dev-server.js & PORT=3001 nodemon server.js -e js,jsx'.
npm ERR! This is most likely a problem with the flux-example-todo package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node webpack-dev-server.js & PORT=3001 nodemon server.js -e js,jsx
npm ERR! You can get their info via:
npm ERR!     npm owner ls flux-example-todo
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     /home/jc/project/flux-examples/todo/npm-debug.log

ubuntu 12.04,x64.
node v4.0.0

use npm install nodemon --save

repo: yahoo/flux-examples


text:
Outdated "fetchr" dependency

The version currently being used fails to parse JSON on the client side if the content-type includes the charset.
This and other bugs have been fixed on newer versions of Fetchr.
If anyone else is having this bug, this is a temporary fix that will work on server and client till the dependency is updated:
context.service.read('Product', {}, {}, (err, data) => {
  ....
  context.dispatch('PRODUCTS_LOADED', {
     products: (data.body) ? data.body.data : JSON.parse(data.text).data
  });
  ...
});

@rbpinheiro the package.json of this packages points to the latest from fetchr. Which version of npm are you using? It might be related to the fact we are using the carat (^) to specify the dependency.

@redonkulus the npm version on my machine is 2.1.11
Are you sure it points to the latest from fetchr?
Here I see the version "^0.5.7" --> https://github.com/yahoo/fluxible-plugin-fetchr/blob/master/package.json
But on fetchr releases I can see the v0.5.12 as the latest --> https://github.com/yahoo/fetchr/releases

^0.5.7 will pick up 0.5.12 when you run install on a fresh check out (try it out on http://semver.npmjs.com/). If you already have 0.5.7 installed, it won't reinstall. I agree we should upgrade the dependency, but you should be able to run a fresh install to get it to work for now.

authors: mridgway rbpinheiro redonkulus

repo: yahoo/fluxible-plugin-fetchr


text:
Class datatables.html does not exist

Summary of problem or feature request
Class datatables.html does not exist

at ReflectionClass->__construct('datatables.html') in Container.php line 719
at Container->build('datatables.html') in Container.php line 598
at Container->resolve('datatables.html') in Container.php line 567
at Container->make('datatables.html') in Application.php line 702
at Application->make('datatables.html') in helpers.php line 107
at app('datatables.html') in DataTable.php line 235
vendor/yajra directory already has laravel-datatables-html
Already tried;
"php artisan clear-compiled",
"composer dump-autoload",
"php artisan optimize",
"php artisan cache:clear",
"php artisan route:clear",
"php artisan view:clear"
Obviously larval does not see "datatables.html" class, is it self registered or what is missing ?
System details
On Vagrant Homestead Box 2.0.0
PHP 7.1
Laravel 5.4.16
Datatables 7.3
Datatables Buttons 1.2.1
After upgraded from 6.x to 7.x
Composer has following lines
"require": {
"php": ">=7.0",
"guzzlehttp/guzzle": "^6.2",
"laravel/framework": "5.4.",
"laravel/tinker": "~1.0",
"laravelcollective/html": "^5.4",
"yajra/laravel-datatables-buttons": "^1.2",
"yajra/laravel-datatables-oracle": "^7.3"
},
"require-dev": {
"fzaninotto/faker": "~1.4",
"mockery/mockery": "0.9.",
"phpunit/phpunit": "~5.7",
"laravel/homestead": "^5.1",
"doctrine/dbal": "2.6.x-dev"
},

And https://yajrabox.com/docs is still down as of now ...

And one important thing  from config/ datatables.php, League\Fractal\Serializer\DataArraySerializer is missing, do we need explicitly require this via composer ?
/**
 * DataTables fractal configurations.
 */
'fractal'        => [
    /**
     * Request key name to parse includes on fractal.
     */
    'includes'   => 'include',

    /**
     * Default fractal serializer.
     */
    'serializer' => League\Fractal\Serializer\DataArraySerializer::class, <--- This is missing ???
],

Yajra\Datatables\HtmlServiceProvider::class should be included in config app.php as service provider
This will solve the problem, but you should underline this in your upgrade guide.

And you should buy me a coffee, better a beer :-)

repo: yajra/laravel-datatables


text:
DataTable warning ajax error

Hi, i have error on my laravel app

here my table:

and my script:

and here my controller:

everything looks good for me, but maybe something i have missing.

If you go to your browser's dev tools (F12 in chrome), then look in either the network or console tab, you should be able to see the request sent for the datatable (highlighted in red due to returning an error). You can open that request in a new tab and see the specific error that laravel is throwing.
Glancing over your code I'm not sure I can see where the issue would be, perhaps something to do with $this->transaksi not being set in your controller.

i found this error on chrome

and about $this->transaksi
here my code

Based on error, it seems like route('transaki.allData') is not yet defined on your routes. Double check your routes and route name declarations.

i have declared my route here

Have, uh, you tried php artisan route:cache ?

yah.but not affect

Might be completely off,
But could it be your table id is "tabel_transaksi" and your jquery selector is "#table transaksi"
Missing an underscore?

no

Can you try listing your routes and confirm that transaki.allData was registered by Laravel? php artisan route:list. Or try using url() instead of route()?

Weird hey.
Try restarting your dev server / artisan serve.
Looks like something not related to datatables and more with the app.

here my list route

Whats in your transaksi select repository method?
Maybe its got a redirect in there or something?

this?
$transaksi = $this->transaksi->select([
            'id',
            'tanggal',
            'nomor_nota',
            'tipe',
            'jumlah_uka',
            'kurs',
            'mata_uang',
            'jumlah_rupiah',
            'cabang'
        ]);

        return Datatables::of($transaksi)->make(true);

$this->transaksi->select

where?

Ok then, i assume $this->transaksi is just an instance of the model.
If you just go to http://localhost:8000/transaksi-dan-sipesat/alldata
What do you see?

completed json result from transaksi select

Are you using artisan serve? There were several weird issues that are coming up when using artisan serve and most of it were fixed when they migrated to apache/nginx. One most common weird bug is that Laravel will automatically/randomly destroy your session when making an ajax call.

yah i use artisan serve. so what can i do to fix this problem?

I suggest you use apache or homestead if possible.

aw right laravel destroy my session if i use artisan serve.
why not report this bug?
big thanks to you ^_^

authors: johnhatch muhghazaliakbar sonuku yajra