[BUG]: 404: Not Found, Unable to fetch byteLength for video stream 1080x1920@6249KiB/s

Program version
5.1.5
Operating System
Windows
Type
CLI
Service
AnimeOnegai
Command used
aniDL --service ao -s  -e
Show ID
93
Episode
68
Console Output
[WARN] 404: Not Found, Unable to fetch byteLength for video stream 1080x1920@6249KiB/s
Servers available:
        animecdn2.b-cdn.net
Available Video Qualities:
        [1] 426x240 (950KiB/s)
        [2] 640x360 (1388KiB/s)
        [3] 854x480 (2292KiB/s)
        [4] 1280x720 (4152KiB/s)
        [5] 1920x1080 (6249KiB/s)
Available Audio Qualities:
        [1] 214kB/s
Selected quality:
        Video: 1920x1080 (6249KiB/s)
        Audio: 214kB/s
        Server: animecdn2.b-cdn.net
Total parts in video stream: 0 (0*10)
[ERROR] Error: Playlist is empty!
    at new hlsDownload (C:\snapshot\_builds\index.cjs)
    at lIe.<anonymous> (C:\snapshot\_builds\index.cjs)
    at Generator.next (<anonymous>)
    at fulfilled (C:\snapshot\_builds\index.cjs)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Total parts in audio stream: 71 (8*10)
Saving stream to «C:\Users\____\Downloads\Compressed\multi-downloader-nx-windows-x64-cli\videos\temp-ciiu8c223akg00fr00u0.audio.enc.mp4»...
Download and save init part...
Init part downloaded.
10 of 71 parts downloaded [14%] (11s | 2.7Mb/s)
20 of 71 parts downloaded [28%] (6s | 4.3Mb/s)
30 of 71 parts downloaded [42%] (4s | 5.6Mb/s)
40 of 71 parts downloaded [56%] (2s | 6.6Mb/s)
50 of 71 parts downloaded [70%] (1s | 7.4Mb/s)
60 of 71 parts downloaded [85%] (1s | 8.0Mb/s)
70 of 71 parts downloaded [99%] (0s | 8.6Mb/s)
71 of 71 parts downloaded [100%] (0s | 8.2Mb/s)
Decryption Needed, attempting to decrypt
Started decrypting audio

> "mp4decrypt" --show-progress --key c4e0ae965d64d44b41023349d0989f10:8c0b179b0abdd3038faf747efcd9b164 "C:\Users\____\Downloads\Compressed\multi-downloader-nx-windows-x64-cli\videos\temp-ciiu8c223akg00fr00u0.audio.enc.mp4" "C:\Users\____\Downloads\Compressed\multi-downloader-nx-windows-x64-cli\videos\temp-ciiu8c223akg00fr00u0.audio.mp4"
Decryption done for audio
[ERROR] Unable to download selected episode 68

Additional Information
The video is working as expected in AO, but AniDL fails to download this episode. Is there a solution to this or there is none?

how login in? token or email/pass?

How? I trying, but not working. help pls.

How? I trying, but not working. help pls.

anidl --service ao --token [Paste your token here]
In order to get your token, open the AO site then press F12, then console and then type localStorage.ott_token


Project Settings search brings weird results

Godot version:
3.2 alpha-2
OS/device including version:
OSX Sierra
Issue description:
When searching in the project settings to filter elements, the displaying results behave strangely. For example if I search for 'window', when I type 'wi' it appears, and then if I type 'win' it doesn't appear anymore. I've tried this for other settings and I don't really understand the results, seems to behave randomly to me.
Steps to reproduce:
In any project, open Project Settings and search for a setting by typing the first letter, then the second then the third and so on, and see how search results behave.
Minimal reproduction project:
Empty new project.

It's searching for property name only (not the category), window is showing for wi because there's width and test_width properties within this category.

It'd probably make sense to search in category names as well. This always throws me off when searching for "stretch mode" or "stretch aspect" :slightly_smiling_face:

It was change in #30516, previously (in 3.1.1) it was searching by full property name.

What would be the expected behaviour here? If I search Application should I see just the category and its subcategories? Or should I also see all its subcategories' properties?

It was change in #30516, previously (in 3.1.1) it was searching by full property name.

Ah right, I had missed that change. The previous behaviour should be brought back.

What would be the expected behaviour here? If I search Application should I see just the category and its subcategories? Or should I also see all its subcategories' properties?

IMO it should list all properties which contain the filter, whether it's in the property name itself or further up its path (i.e. a category/sub-category). So yeah if you search Application it should show all subcategories and properties in that category.

Ok seems better to me, the actual state is quite confusing.


Add support for new resources in reindexing.

Closes #1257

Re-requesting review - I had to default to the test adapter and explicitly use the inline adapter, otherwise switching between the two resulted in test-order dependent failures.


No errors are given for violations of "use strict"

I have javascript code being tested by grunt-contrib-qunit, but I realize that the code is allowed to violate "use strict" settings that I have in my javascript code; although, if I run the qunit tests in the browser, then errors are thrown when there are violations of "use strict".  grunt-contrib-qunit seems to ignore "use strict";.

Have you tried to run it with the noGlobals flag?
https://github.com/gruntjs/grunt-contrib-qunit#noglobals

Can't reproduce using latest versions.
Closing for now, will reopen if the issue persist.


CAMEL-14924: Introduce nativeSupported on BaseModel

https://issues.apache.org/jira/browse/CAMEL-14924

Do I need to care for the CI failure? It seems to be unrelated to the current change.

No no, it's a glitch.


Copy to clipboard button

Adding new button inside Entry and TextView widgets to let user copy the content to the clipboard:

I think I can fix it, where are gui files located? I can't find them.

where are gui files located?

They are inside cmd/gtk folder

They are inside cmd/gtk folder

very nice, I will go to fix it ASAP.


created argparse argument for center image and refactored code for it

@evanugarte DONE (resolves #41)

done


updated the Swift side of things to support Realm 0.99 and SwiftFetchResultsController 4.0

granular notifications are now in Realm 0.99. SwiftFetchedResultsController changed, but also fixed a typo, which caused a compile problem.

Can you fix on ObjC as well?

Applied your fixes: https://github.com/bigfish24/ABFRealmGridController/releases/tag/v1.5


Allow data connector to maintain Power BI metadata

There are possibilities to push data in a data set using the Power BI API and some other API calls. These are the data shown. These go through api.powerbi.com
However, in a repository we have metadata on both the data structure as well as the functions and intended operations. Like in the lower CASE tools in the past.
In our custom provider we can retrieve events directly from our own Customer Service Cloud on both data as metadata level and I would like to be able to forward relevant events into Power BI desktop or cloud actions, such as CRUD operations on both data sets, report definitions and reports.
Currently the REST API only supports for instance retrieve on the reports.
Requested improvement;
allow a data connector to maintain both the data, metadata of the data and the metadata of the visualizations.

Connectors are designed to remain stateless. The only "state-like" information is the credential, and the only auth type that allows setting custom fields is OAuth ... in theory, you can add custom fields to the record returned by FinishLogin(), and then retrieve them with the call to Extension.CurrentCredential().


[Question] Start consuming from the end?

I've successfully consumed all the records in my kafka server and I terminate the application, When I launch my application it runs through all the records again, how do you just start where you left off?

Are you using a consumer group?

To start consuming from the end in general, you need the ConsumeResetOffset option:
func ConsumeResetOffset(offset Offset) ConsumerOpt
    ConsumeResetOffset sets the offset to restart consuming from when a
    partition has no commits (for groups) or when beginning to consume a
    partition (for direct partition consuming), or when a fetch sees an
    OffsetOutOfRange error, overriding the default ConsumeStartOffset.

with NewOffset().AtEnd().
This will always start consuming from the end for direct partition consuming, or at the end when a partition is seen for the first time when group consuming.

Yes
-Todd

On Jun 16, 2021, at 5:49 PM, Travis Bischel @.***> wrote:

Are you using a consumer group?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

If you're using a consumer group, can you use LogLevelInfo? When you shutdown, is there a log about committing?
What's your NewClient look like, and are you waiting for Close to finish when shutting down?

Thank you so much for your speedy reply and this is exactly what I needed

So this is similar to what i am looking for, but I only want to start consuming from the end if the consumer group already doesn't have a current offset.
Essentially trying to change this line:
https://github.com/twmb/franz-go/blob/v1.6.0/pkg/kgo/config.go#L488
to be NewOffset().AtEnd() since once the consumer group exists I don't want to repeatedly start at the end, just the very first time it is initialized and doesn't have any offsets stored.
Is there a way I can pass an offset to ConsumeResetOffset() that will use current offsets if they exist otherwise use the latest offset possible?

So when creating my client I just need to do:
clientOpts := []kgo.Opt{
        ....
	kgo.ConsumeResetOffset(kgo.NewOffset().AtEnd())
	}
cl, err := kgo.NewClient(clientOpts...)

and it will correctly just use existing offsets if commited?
Likewise I could do:
clientOpts := []kgo.Opt{
        ....
	kgo.ConsumeResetOffset(kgo.NewOffset().AtStart())
	}
cl, err := kgo.NewClient(clientOpts...)

and it will replicate the default behavior: start at the beginning if there are no offsets, otherwise use current committed offsets?

Yep, exactly.

one thing to keep in mind is that when you use kgo.NewOffset().AtEnd() to connect for the first time, any previous messages that has not been consumed will not show up. Any new messages after you connect will, even if you exit and restart it will.


Exclude *-DRAFT pages from search

Pages on https://www.researchobject.org/ro-crate/ do not show the current DRAFT pages in the menu, e.g. https://www.researchobject.org/ro-crate/1.2-DRAFT/terminology.html - however these still appear in search:
This search is implemented by theme.js in jekyll-rtd-theme that looks at https://www.researchobject.org/ro-crate/pages.json (yes, that is all the pages' HTML in one big JSON file!).
The https://github.com/rundocs/jekyll-rtd-theme we use do not have an exclude mechanism, but we added exclude:true to the markdown of 1.2-DRAFT/README.md (which skipped the whole 1.2-DRAFT/ tree in the menu) and override site_pages.liquid to skip those.
However each of the subpages still appear in that pages.json.
I am not sure if this issue might be solved just by adding exclude:true to each of the 1.2-DRAFT/* pages or if we would also need to modify theme.js in which case perhaps propose a pull request to jekyll-rtd-theme so it supports better excluded pages.

Ping @myiremark in case you want to have a go at something Jekyll?


Merge operands are not meant to be associative

Currently the rust-rocksdb crate does not let you specify to RocksDB that the merge operator should not be used as a non associative operator.
It is a problem because merge values (updates that are additions or deletions) are not associative, they need to be aggregated to the first DocIndex index (e.g. DocIndex::default()).
I used the ColumnFamilyOptions::merge_operator method to specify the merge operator but it seems that it uses the MergeFn as the partial and full merge operator.
So I made a correction to be able to specify that a merge operator must not be considered to be an associative one.
I must test what I have made, last time I checked it does not worked better...

This has been fixed by moving to sled #147.


Labels not working for scale_*_met_d()

Hi Blake,
I love this newest version of MetBrewer so much! I've been introducing colleagues to it very enthusiastically. Unfortunately I just spotted that I can't set custom legend labels in scale_*_met_d() using labels in the usual way. Here's an example.
data(iris)

iris_labs <- paste("I.", levels(iris$Species))
names(iris_labs) <- levels(iris$Species)

# Species labels changed successfully
ggplot(iris, aes(x = Petal.Length, y = Petal.Width, colour = Species)) +
  geom_point() +
  scale_colour_discrete(labels = iris_labs)

# Species labels not changed
ggplot(iris, aes(x = Petal.Length, y = Petal.Width, colour = Species)) +
  geom_point() +
  scale_colour_met_d("Renoir", labels = iris_labs)

Not a huge issue, but worth keeping in mind for future versions!
Cheers,
Lyuba

I can confirm this. I can't seem to pass any arguments on to discrete_scale. I haven't tried all, but those I have tried - including labels) doesn't work.  The workaround is using scale_*_manual(values = met.brewer(pal), ....) method.


[FEATURE]: Simple OnScreen Keyboard for Mailfunction

Is your feature request related to a problem?
No
Description
There is no OnScreen Keyboard available yet. No Input without USB Keyboard possible. A USB Keyboard is for Design and stability not an Option. But The Feature with Mailsending works very well.
Describe the solution you'd like
A simple Website Onscreen Keyboard function (Input with embedded Keboard Buttons) for easy Mailsending with Touch Only Systems in Kiosk mode.  Please Multilanguage-support.
Describe alternatives you've considered
Theres no alternatives.
Additional context
For Example: https://mottie.github.io/Keyboard/index.html

Hey and thanks for your request.
I don't think this needs to be part of Photobooth and should be addressed on your system.
Please take a look at https://fostips.com/enable-screen-keyboard-ubuntu-debian-fedora-linux or https://www.industrialshields.com/blog/raspberry-pi-for-industry-26/post/top-3-on-screen-virtual-keyboards-for-raspberry-plc-panel-pc-401
For reference see also https://github.com/andi34/photobooth/issues/370


Some images are not served from Cloudinary

I just started using the extension and it's worked well so far, mostly on product images, however I noticed that some images don't get served from Cloudinary, eg: category images, logo, etc.
Is there any helper function or something I can use in the code to make sure the image is used from Cloudinary and not my server?
Great work on the extension btw!

Hi @jahvi,
Thanks for the kind words :)
The images that are being delivered using our Magento module are the ones that appear in the media folder. If the images don't appear there, then they would indeed won't be delivered via Cloudinary.
If there are any particular images you are experiencing issues with, please open a request at<EMAIL_ADDRESS>and we could take a closer look.

Closing this issue due to the time elapsed. Please feel free to either re-open the issue, contact our support at http://support.cloudinary.com or create a new ticket if you have any additional issues.


updated idgen name and format

in the interest of time, going ahead with the merge. will do a detailed code review later.


Installing in Jupyter (lab) notebook or IBM Quantum Lab

What is the expected enhancement?
The install guide does not provide an installation method for installing in a Jupyter(lab) notebook (including IBM Quantum Lab) when installing from the git repo and not via PyPI. This should be added. Since installing from a git repo directly the path for imports needs to be updated with the location that pip installs the package.
The current procedure that seems to work is:
!get clone https://github.com/qiskit-community/qiskit-qec
pip install -e qiskit-qec/.

If the pip install does not work (i.e. cannot find pip) then use instead
!pip install -e qiskit-qec/.
Then find out where pip installed the package. This can be achieved as follows:
pip show qiskit_qec
An example output is:
Name: qiskit-qec
Version: 0.0.1
Summary: Qiskit quantum error correcting (QEC) package
Home-page: https://github.com/Qiskit/qiskit-qec
Author: Qiskit Development Team
Author-email<EMAIL_ADDRESS>License: Apache 2.0
Location: /home/jovyan/qiskit-qec
Requires: qiskit-terra, qiskit-aer, PyMatching, retworkx, networkx, sympy, numpy
Required-by:
Note: you may need to restart the kernel to use updated packages.

Now add the location path to the path that import uses:
sys.path.append('/path/to/module')
So for our example this would be:
sys.path.append('/home/jovyan/qiskit-qec')
Issues:
You may get a warning. So say you use the import:
from qiskit_qec.operators.pauli import Pauli
Then the waning is
<frozen importlib._bootstrap>:219: RuntimeWarning: scipy._lib.messagestream.MessageStream size changed, may indicate binary incompatibility. Expected 56 from C header, got 64 from PyObject
But everything seems to work but we should see what the issue is. May be due to different C/C++ type sizes between machines and OSs.

Yes. This makes pip install in the standard location. I like this better. Should include in installation notes.


Respond to props.opts changes

When props.opts changes, the current _internalPlayer is destroyed &
recreated with the new options.

cc @tjallingt, does this sorta fulfill what you had mentioned here?

Sorry for the slow reply...
Yea it looks great! :+1:
I wrote the same feature using the youtube-player's promises like this
I'm not sure of the advantages/disadvantages of using the promises in this case (and the use of the delete) so that's up to you :P

D:\GitHub\react-youtube>npm test

><EMAIL_ADDRESS>test D:\GitHub\react-youtube
> mocha

  YouTube
    V should render a div with a custom id (424ms)
    V should render a div with a custom className
    V should create and bind a new youtube player when mounted
    V should create and bind a new youtube player when props.opts changes
    V should NOT create and bind a new youtube player when props.url changes
    V should create and bind a new youtube player when props.opts AND props.url changes
    V should load a url
    V should load a new url
    V should load a url with autoplay enabled
    V should destroy the youtube player

  10 passing (491ms)

D:\GitHub\react-youtube>

All tests pass without a hitch :+1:

Sorry for the slow reply...

Likewise lol
And awesome I didn't realize everything was promisified in youtube-player! Ok, added that back in.
Going to set up a milestone for 5.0 release and then we should be ready


Ability to use deferred validation before next step/finish

@wfp2-dap @bpdarlyn @zaalbarxx  When will this be merged and published on npm?

I can also confirm this works like a charm! Thank you!

I can also confirm this works like a charm! Thank you!

Hey @PepekT can you tell me how did you tried this, thanks! I am facing the issue but I tried this code and didn't work for me either it would be great if you can help me with this.

spent days to do async validation before onstepchanging, i have downloaded the latest version but not sure why this great solution not added to the latest version yet..thank you


CSSNext + StyleLint (PostCSS)

Proposal:
Swap 'postcss-mixins', 'postcss-nested', 'postcss-simple-vars' and 'autoprefixer' for:

'post-cssnext' » CSSNext
'styleLintPlugin' » StyleLint (stylelint-webpack-plugin)

[forked link]
Liking this setup so far, it provides a lot of really nice features out-of-the-box.
There are a few minor quirks that force you to be more explicit...

nested styles must begin with "& " or "@nest "

.foo {
  .bar { }   // doesn't work
  & .bar { } // must have "& " in front of nested declaration
  @nest span & .baz { } // must have "@nest " in front of complex nesting declarations
}

global style needs to begin with ":global "

:global {
  .foo { } // doesn't work
  .baz { } // doesn't work
}
:global .foo { ... } // works
:global .baz { ... } // works

fits the current build system well and StyleLint is quite useful...

[still editing...]

@jrodl3r Thanks for raising this issue.
I haven't used cssnext before, but it does feel like a good next step, given that it supports future CSS.
Have you found it to be really valuable in your projects?
As for Stylelint it's a definite yes!

I'm down, I've been using Phenomic (which is really neat btw), and they use post-cssnext  with  stylelint and stylelint-config-standard, so keeping it consistent would make me happy.

@choonkending it's really awesome, it reads easily and like you mentioned "future proof." I have the PR ready to go, but can't get this darn 'postcss-browser-reporter' to display lint errors in the browser... I suspect it's because we're doing SSR and it's not able to attach itself to a DOM node...


Some improvments abount TCC are in planning or in progress?

In AT mode, seata prevents resources from suspending, as well as unnecessary rollback. e.g:
first.  TC- Rollback -> RM
second. TM - do sth -> RM
I found it not be taken to account in TCC mode. Is it better to implement it in business code ? Or should seata handle it?
In additional, I'd like to code the commit/rollback methods without parameter BusinessActionContext, other parameters should be "auto-wired":
boolean rollback(@XxxParameter("opId") long opId){
...
}

In additional, I'd like to code the commit/rollback methods without parameter BusinessActionContext, other parameters should be "auto-wired":
boolean rollback(@XxxParameter("opId") long opId){
...
}

after #3728 merged, we will start to deal with this requirement. Enhance @BusinessActionContextParameter.

In AT mode, seata prevents resources from suspending, as well as unnecessary rollback. e.g:
first. TC- Rollback -> RM
second. TM - do sth -> RM
I found it not be taken to account in TCC mode. Is it better to implement it in business code ? Or should seata handle it?

The merged pr #3545 feature: TCC mode support idempotent and anti hanging。
Is this what you need?

In AT mode, seata prevents resources from suspending, as well as unnecessary rollback. e.g:
first. TC- Rollback -> RM
second. TM - do sth -> RM
I found it not be taken to account in TCC mode. Is it better to implement it in business code ? Or should seata handle it?

The merged PR #3545 feature: TCC mode support idempotent and anti hanging。
Is this what you need?

I don't care about it anymore :)
but it seem to be right.

In AT mode, seata prevents resources from suspending, as well as unnecessary rollback. e.g:
first. TC- Rollback -> RM
second. TM - do sth -> RM
I found it not be taken to account in TCC mode. Is it better to implement it in business code ? Or should seata handle it?

The merged PR #3545 feature: TCC mode support idempotent and anti hanging。
Is this what you need?

I don't care about it anymore :)
but it seem to be right.

I'm sorry I didn't reply to you in time. No one has tracked TCC issues before. In the future, I will focus on TCC issues.


vendor: upgrade grpc/grpc-go to v1.7.1

=== RUN   TestV3AuthTokenWithDisable
INFO: 2017/10/26 18:00:13 ccBalancerWrapper: updating state and picker called by balancer: IDLE, 0x1af82600
INFO: 2017/10/26 18:00:13 dialing to target with scheme: ""
INFO: 2017/10/26 18:00:13 could not get resolver for scheme: ""
INFO: 2017/10/26 18:00:13 balancerWrapper: is pickfirst: false
INFO: 2017/10/26 18:00:13 balancerWrapper: got update addr from Notify: [{localhost:11177047400 <nil>}]
INFO: 2017/10/26 18:00:13 ccBalancerWrapper: new subconn: [{localhost:11177047400 0  <nil>}]
INFO: 2017/10/26 18:00:13 balancerWrapper: handle subconn state change: 0x27bfd570, CONNECTING
INFO: 2017/10/26 18:00:13 ccBalancerWrapper: updating state and picker called by balancer: CONNECTING, 0x1af82600
INFO: 2017/10/26 18:00:13 balancerWrapper: handle subconn state change: 0x27bfd570, READY
INFO: 2017/10/26 18:00:13 ccBalancerWrapper: updating state and picker called by balancer: READY, 0x1af82600
INFO: 2017/10/26 18:00:13 balancerWrapper: got update addr from Notify: [{localhost:11177047400 <nil>}]
INFO: 2017/10/26 18:00:13 dialing to target with scheme: ""
INFO: 2017/10/26 18:00:13 could not get resolver for scheme: ""
INFO: 2017/10/26 18:00:13 ccBalancerWrapper: updating state and picker called by balancer: IDLE, 0x1af83fb0
INFO: 2017/10/26 18:00:13 dialing to target with scheme: ""
INFO: 2017/10/26 18:00:13 could not get resolver for scheme: ""
WARNING: 2017/10/26 18:00:13 grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: Error while dialing dial unix localhost:11177047400: connect: resource temporarily unavailable"; Reconnecting to {localhost:11177047400 0  <nil>}
WARNING: 2017/10/26 18:00:13 grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: Error while dialing dial unix localhost:11177047400: connect: resource temporarily unavailable"; Reconnecting to {localhost:11177047400 0  <nil>}
WARNING: 2017/10/26 18:00:13 grpc: addrConn.transportMonitor exits due to: context canceled
WARNING: 2017/10/26 18:00:13 grpc: addrConn.transportMonitor exits due to: context canceled
INFO: 2017/10/26 18:00:13 balancerWrapper: is pickfirst: false
INFO: 2017/10/26 18:00:13 balancerWrapper: got update addr from Notify: [{localhost:11177047400 <nil>}]
INFO: 2017/10/26 18:00:13 ccBalancerWrapper: new subconn: [{localhost:11177047400 0  <nil>}]
INFO: 2017/10/26 18:00:13 balancerWrapper: handle subconn state change: 0x1a6309c0, CONNECTING
INFO: 2017/10/26 18:00:13 ccBalancerWrapper: updating state and picker called by balancer: CONNECTING, 0x1af83fb0
INFO: 2017/10/26 18:00:13 balancerWrapper: handle subconn state change: 0x1a6309c0, READY
INFO: 2017/10/26 18:00:13 ccBalancerWrapper: updating state and picker called by balancer: READY, 0x1af83fb0
INFO: 2017/10/26 18:00:13 balancerWrapper: got update addr from Notify: [{localhost:11177047400 <nil>}]
INFO: 2017/10/26 18:00:13 balancerWrapper: got update addr from Notify: []
INFO: 2017/10/26 18:00:13 ccBalancerWrapper: removing subconn
INFO: 2017/10/26 18:00:13 balancerWrapper: got update addr from Notify: [{localhost:11177047400 <nil>}]
INFO: 2017/10/26 18:00:13 ccBalancerWrapper: new subconn: [{localhost:11177047400 0  <nil>}]
WARNING: 2017/10/26 18:00:13 grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: Error while dialing dial unix localhost:11177047400: connect: no such file or directory"; Reconnecting to {localhost:11177047400 0  <nil>}
WARNING: 2017/10/26 18:00:13 grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: Error while dialing dial unix localhost:11177047400: connect: no such file or directory"; Reconnecting to {localhost:11177047400 0  <nil>}
WARNING: 2017/10/26 18:00:13 grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: Error while dialing dial unix localhost:11177047400: connect: no such file or directory"; Reconnecting to {localhost:11177047400 0  <nil>}
WARNING: 2017/10/26 18:00:13 grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: Error while dialing dial unix localhost:11177047400: connect: no such file or directory"; Reconnecting to {localhost:11177047400 0  <nil>}
WARNING: 2017/10/26 18:00:13 grpc: addrConn.transportMonitor exits due to: context canceled
WARNING: 2017/10/26 18:00:13 grpc: addrConn.transportMonitor exits due to: context canceled
INFO: 2017/10/26 18:00:13 balancerWrapper: handle subconn state change: 0x1a6309c0, SHUTDOWN
INFO: 2017/10/26 18:00:13 ccBalancerWrapper: updating state and picker called by balancer: TRANSIENT_FAILURE, 0x1af83fb0
INFO: 2017/10/26 18:00:13 balancerWrapper: handle subconn state change: 0x204c2d40, CONNECTING
INFO: 2017/10/26 18:00:13 ccBalancerWrapper: updating state and picker called by balancer: CONNECTING, 0x1af83fb0
INFO: 2017/10/26 18:00:13 balancerWrapper: handle subconn state change: 0x204c2d40, TRANSIENT_FAILURE
INFO: 2017/10/26 18:00:13 ccBalancerWrapper: updating state and picker called by balancer: TRANSIENT_FAILURE, 0x1af83fb0
INFO: 2017/10/26 18:00:13 balancerWrapper: handle subconn state change: 0x1a6309c0, TRANSIENT_FAILURE
INFO: 2017/10/26 18:00:13 balancerWrapper: handle subconn state change: 0x1a6309c0, CONNECTING
INFO: 2017/10/26 18:00:13 balancerWrapper: handle subconn state change: 0x1a6309c0, TRANSIENT_FAILURE
INFO: 2017/10/26 18:00:13 balancerWrapper: handle subconn state change: 0x1a6309c0, SHUTDOWN
WARNING: 2017/10/26 18:00:13 Failed to dial localhost:11177047400: context canceled; please retry.
WARNING: 2017/10/26 18:00:13 Failed to dial localhost:11177047400: context canceled; please retry.
INFO: 2017/10/26 18:00:13 balancerWrapper: handle subconn state change: 0x204c2d40, SHUTDOWN
INFO: 2017/10/26 18:00:13 ccBalancerWrapper: updating state and picker called by balancer: TRANSIENT_FAILURE, 0x1af83fb0
WARNING: 2017/10/26 18:00:13 grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: Error while dialing context canceled"; Reconnecting to {localhost:11177047400 0  <nil>}
WARNING: 2017/10/26 18:00:13 grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: Error while dialing context canceled"; Reconnecting to {localhost:11177047400 0  <nil>}
WARNING: 2017/10/26 18:00:13 grpc: addrConn.transportMonitor exits due to: context canceled
WARNING: 2017/10/26 18:00:13 grpc: addrConn.transportMonitor exits due to: context canceled
INFO: 2017/10/26 18:00:13 balancerWrapper: got update addr from Notify: [{localhost:11177047400 <nil>}]
--- FAIL: TestV3AuthTokenWithDisable (0.34s)
	v3_auth_test.go:75: rpc error: code = Unavailable desc = transport is closing

Note: now TestV3AuthWithLeaseRevoke blocks forever
https://semaphoreci.com/coreos/etcd/branches/pull-request-8771/builds/12

Seems like we need another upstream fix https://github.com/grpc/grpc-go/pull/1643. Will wait for next release.

TestBalancerUnderBlackholeNoKeepAlive* fails due to gRPC's balancer change.
It's very easy to reproduce, so closing this to not overload semaphore CI.
Will investigate in separate VMs.


Special Options Carousel not working with v97.7

Me and a few other people from the gitter chat have been experiencing issues with the special options carousel. We're using the latest version v97.7.  In dev tools it shows it's intializing, it's just not displaying correctly.
When messing around with the css in dev tools I'm able to get it to display somewhat, but it doesn't look, or feel correct. When sliding there's a thin white lines that display in the middle of each slide, and the right side seems to show the next slide a bit. It ends up sliding like the original carousel, instead of a like on the documentation page.
For instance in dev tools I messed around with a few things, and  I got it to display like this.

By changing these things...
.carousel.carousel-slider {
    height: 500px;
}
.carousel .indicators .indicator-item {
    margin: 0 5px;
}
.carousel.carousel-slider .carousel-item {
    top: 100%;
}

I think this may be an error in our documentation. The special options carousel requires the full_width property to be true.
$('.carousel.carousel-slider').carousel({full_width: true});

I will fix the documentation ASAP

Added in 2dd646a

full_width (which works for me) is written I believe incorrectly in the site docs as 'fullWidth'...

The documentation is still not updated. It's still written there fullWidth.

The documentation is correct. Recently we switched all of our options to be consistent and use camelcase.

I've tried the fullWidth but the carousel breaks. But when I used the full_width it works. Or is the version that I'm using?

Ah! Correct I'm using the 98.0 version and the current version now is 98.1. My bad!


Don't display unnecessary warning if no target framework is defined

Related to changes in fsprojects/Paket/issues/1442
The warning seems to display even when it shouldn't, we might need to be more restrictive about it.
X contains libraries, but not for the selected TargetFramework net452 in project Y
For example, I have a solution with projects that target net452, and I don't define any version or framework requirements in the dependencies file. I still get tons of warning for libraries such as Microsoft.CSharp, Microsoft.Net.Http or System.Net.Http.

But the message is correct in this case, right?

I don't know what's the right solution for this. But I do know that I don't want tons of warnings in the output window as soon as I add a reference like EntityFramework. At the same time we want the warnings when VS is failing to import dependent assemblies when there is a framework mismatch.

what happens when you enable http://fsprojects.github.io/Paket/dependencies-file.html#Automatic-framework-detection ?

When I paket update I get the error
Could not detect target framework for project x.csproj
and it stops the process

ouch. that's clearly a bug ;-)

please retry

I get a warning when paket update on FSharp.Formatting
Package Microsoft.AspNet.Razor contains libraries, but not for the selected TargetFramework net40 in project C:\PROJ\FSharp.Formatting\tests\FSharp.MetadataFormat.Tests\files\crefLib\crefLib1.fsproj.

The point is that the project is not even referencing the package. I think this is related to the fact that paket chooses the paket.references from the upper directory. Until now we never cared (besides some additional references nothing happened), but now we get several warnings.
Maybe its time to add an empty paket.references file. (This is just to let others know if they stumble over this issue for the same reason)

I think non-existing paket.references is same as empty file. So the issue is elsewhere

I'm pretty sure it's not: Paket searches up the directories until it finds a paket.references file and uses that. (If you say this is a bug that would be nice, because I never liked that behavior anyway; but this is a (possibly huge) breaking change). Paket does this for quite some time now.

Ah you are right. That was a drunk decision :-)
On Feb 4, 2016 20:46, "Matthias Dittrich"<EMAIL_ADDRESS>wrote:

I'm pretty sure it's not: Paket searches up the directories until it finds
a paket.references file and uses that. (If you say this is a bug that
would be nice, because I never liked that behavior anyway; but this is a
(possibly huge) breaking change). Paket does this for quite some time now.
—
Reply to this email directly or view it on GitHub
https://github.com/fsprojects/Paket/issues/1455#issuecomment-180020161.

please retry
Same thing :(

Yeah. Damn it. I can't reproduce it.
On Feb 4, 2016 21:34, "dcorriveau-omniscient"<EMAIL_ADDRESS>wrote:

please retry
Same thing :(
—
Reply to this email directly or view it on GitHub
https://github.com/fsprojects/Paket/issues/1455#issuecomment-180034788.

Did you try with a reference to System.Net.FtpClient ?

Yes. But it doesn't pick the csproj up. Need to investigate deeper. Or can
you give me a mini repro?
I know this is far away from the original issue ;-)
On Feb 4, 2016 21:55, "dcorriveau-omniscient"<EMAIL_ADDRESS>wrote:

Did you try with a reference to System.Net.FtpClient ?
—
Reply to this email directly or view it on GitHub
https://github.com/fsprojects/Paket/issues/1455#issuecomment-180043150.

I think you need more than my project, it seems to be tied to the fact that I'm using custom packages from my private nuget server that are built using the "project" type with paket, and those are referencing System.Net.FtpClient.

This discussion is already a bit of all over the place, but this seems like the best place to discuss it, and I have an issue with it ~~
I get pages of errors like these even though my project is fine, making the output really hard to read and potentially hiding bugs:
Package Newtonsoft.Json contains libraries, but not for the selected TargetFramework net45 in project C:\Code\MyProject\src\MyProject.Core\MyProject.Core.csproj.
My project.dependencies file has something like
framework: portable-net45+win, MonoAndroid, XamariniOS ... nuget Newtonsoft.Json <IP_ADDRESS>
In our portable projects, the TargetFrameworkVersion gets set as v4.5, TargetFrameworkProfile Profile7, and TargetFrameworkIdentifier .NETPortable.
To reduce the choose elements in our csproj, I'm setting the framework explicitly in the paket.references file to
Newtonsoft.Json framework: portable-net45+win
If I understand this Warning's code correctly, it's checking that the csproj has set TargetFrameworkVersion to v4.5, and the regardless of the fact I'm excluding that framework in paket.references, it's complaining because it's not including it in the project.
Is this a bug, or a misunderstanding on my part?

@davidschwegler I think that is an edge case we don't cover yet. Can you create a minimal repro with the settings you described an put it into a zip or something?

BTW, I'm noticing this on transitive dependencies that don't apply for the target framework. I get this via Zlib.Portable pulled by FSharp.Data.
Will put a integration test if I have a chance.

a warning when a library for a given target framework is missing is fine.
the bigger issue is that the warning is not providing enough information to fix the issue. it would be helpful to know which target frameworks are supported by a given nuget package, so those should be listed.


docs: Fix simple typo, timout -> timeout

There is a small typo in lib/taiko.js.
Should read timeout rather than timout.

Thanks for the update 👍 please sign the commit for a merge

thx @NivedhaSenthil signed off the commit now


Update progressive-downloader to 2.7

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.
[x] The commit message includes the cask’s name and version.

brew cask fetch progressive-downloader fails with https.


nixosTests.cockroachdb: port to python

Motivation for this change
#72828
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Notify maintainers
cc @tfc

@GrahamcOfBorg test cockroachdb

Seeing sort of failure only on x86_64-linux
/nix/store/fbqss54p4xbj10zi93ywlikgij15adhr-nixos-test-driver/bin/.nixos-test-driver-wrapped:639: DeprecationWarning: invalid escape sequence '\@'
  line = _line.decode("unicode_escape").replace("\r", "").rstrip()
node1 # Error: parse postgresql://root\@<IP_ADDRESS>:26257?sslmode=disable: net/url: invalid userinfo
node1: output:
error: command `cockroach workload init bank 'postgresql://root\@<IP_ADDRESS>:26257?sslmode=disable'` failed (exit code 1)

Argh, :man_facepalming:. Thanks for spotting that!

@GrahamcOfBorg test cockroachdb

For some reason, this still doesn't converge properly here - even though it kinda succeeds in the perl version. :thinking:

@GrahamcOfBorg test cockroachdb

@GrahamcOfBorg test cockroachdb

@flokli what's the state of this?

I couldn't get it to work, and don't really know why it's failing either. It seems to have worked with the perl test, there seems to be a subtle difference with passing parameters, or I'm using it wrongly.
I experimented with some ntp-server-based setups locally, but it seems ntpd really doesn't want to be stratum 0 either ;-)

I rebased this on latest master.

@GrahamcOfBorg test cockroachdb

@tfc this test works now, PTAL.


TypeName: add missing first level enum struct in front of the type

Thanks! Would you mind to add a unit test case for this as well?

The unit tesst is already there : https://github.com/NazaraEngine/NazaraUtils/blob/b35b46944c15f7131263f0a53c11311f907414e8/tests/src/TypeNameTests.cpp#L12

But since that unit test passes without this change, this change has no impact?

I'm merging it in case MSVC makes the distinction in the future.


What is the password of operator.

Hey I am not able to login into operator. What is the default password to login into it?

Does Operator require any license ?


Symbol.asyncIterator interop point?

It would be really great for interop with libraries like RxJS if there were a way to identify the difference between an ordinary iterator and an async iterator.
Perhaps I'm missing something in this spec, but is there a way to do this? If not, can we add a [Symbol.asyncIterator]() that simply returns the async iterator? This would make Observable.from(asyncIterator) much more doable.

Yes, there's a Symbol.asyncIterator which works as you would expect.

Great! I'll close this then.


Batch more operations

Batch operations to create networks and lswitches, as well as ports
in the ACL test.
Also correct the assignment of  ovn_database_alias_ip in the ci
all.yml file.
Signed-off-by: Kyle Mestery<EMAIL_ADDRESS>

@jayhawk87 @huikang This one will be nice to have too.

LGTM, waiting for the ci job


Windows Vim crashes terminal when I close the tab

Environment
Windows build number: Microsoft Windows [Version 10.0.18932.1000]
Windows Terminal version (if applicable): 0.2.1831.0

Any other software?
VIM - Vi IMproved 8.1 (2018 May 18, compiled May 18 2018 18:26:56), 32bit Console version, [Korean]

Steps to reproduce
Start windows terminal with PowerShell 6.2.0 and runs Vim with vim.
PATH for vim was C:\Program Files (x86)\Vim\vim81.
Close tab with vim is running.

Expected behavior
Tab must be closed. If the tab was only one, terminal must be terminated.

Actual behavior
Entire terminal is crashed.

Correct me if I am wrong, Windows Vim is your last tab and you're attempting to close the terminal through the tab?

Whether the tab is last or not, Terminal always crashed when I close a tab which is running Windows Vim

Seems like a similar issue to #36

I don't think so, because there's no cpu or memory fluctuation, terminal just stays without any responses.

Confirmed this as happening on Dev Build compiled from source with master at commit 7eae91:
Windows:     10.0.18362.0
PowerShell:  5.1.18362.145
VIM - Vi IMproved 8.1 (2018 May 18, compiled May 18 2018 18:26:56)

Attached profiler showed no change in memory consumption and CPU dropped to 0%, event viewer reports:
 Process ID: 3724
 Start Time: 01d53576439f9dd6
 Termination Time: 7
 Application Path: C:\source\richardslater\terminal\src\cascadia\CascadiaPackage\bin\x64\Release\AppX\WindowsTerminal.exe
 Report Id: f8bc8e57-e771-400e-b1e0-c9634c1baab9
 Faulting package full name: WindowsTerminalDev_<IP_ADDRESS>_x64__8wekyb3d8bbwe
 Faulting package-relative application ID: App
 Hang type: Cross-process

Only occurs in PowerShell and CMD, not in WSL Bash (Ubuntu) and seems to occur regardless of whether the tab is the last tab, first tab, middle tab, etc.

IIRC this crash is #1380, but @DHowett-MSFT can correct me if I'm wrong. It seems like it's still happening even after the fix from that issue.

This is almost certainly #1380 (we love this bug, we just keep bringing it back)


Nanobox mounting error on MacOS 10.14

I updated my host to MacOS 10.14.
my config:
{
  "provider": "docker-machine",
  "ci-mode": false,
  "ci-sync-verbose": false,
  "mount-type": "native",
  "netfs-mount-opts": "",
  "cpus": 4,
  "ram": 4,
  "disk": 102400,
  "external-network-space": "<IP_ADDRESS>/24",
  "docker-machine-network-space": "<IP_ADDRESS>/16",
  "native-network-space": "<IP_ADDRESS>/16",
  "ssh-key": "default",
  "ssh-encrypted-keys": false,
  "anonymous": false,
  "lock-port": 12345
}

with this setup, i got a read-only file systems.
If i switch to mount-type: netfs the error is:
Preparing environment :
  ! Mounting codebase
  ! Mounting codebase
  ! Mounting codebase
  ! Mounting codebase
  ! Mounting codebase

Error   : failed to add share open /etc/exports: operation not permitted
Context : failed to setup env mounts -> failed to mount the code share on the provider -> failed to add share

ah okay,  my fault. i followed this: https://content.nanobox.io/installing-nanobox-on-macos-high-sierra/ and it works. Maybe make it more recognizable that there is an issue for Mojave and the Fix is on that page.
Okay, nevermind, but the speed is slower under 10.14, is it?

The native mount type is slower than netfs, yes. Until Apple resolves whatever new issues they've introduced in Mojave (they did the same thing with High Sierra, hence the workaround is the post you linked), and netfs starts working again, things will be running slow, yes.


Please add Winaero Tweaker

Please add Winaero Tweaker to the install section of the program, as it is a great tool that can change many hard to get to aspects of windows' gui and functionality. Thank you.

Not part of winget


bug/IOS-12398-office-365-login-crash

https://jira.corp.docusign.com/browse/IOS-12398

Confirmed with Madhubala Rawat that changes look good. Merging


1.19.2

port please on 1.19.2

Sorry, I don't have much interest in supporting my mods for outdated versions. As far as I know, one thing that blocks the mod from working on 1.19.2 would be my use of FabricPacket which is not contained within the Fabric API for 1.19.2, but there may be other things too. But as said before, I don't really have much interest in supporting old versions, sorry.


[Question] - Error make build-devserver (linux)

I received the follow error when I executed the make build-devserver:
Step 48/97 : RUN env && chmod u+x /usr/local/bin/install-.sh   && sleep 1   && install-mq-server-prereqs.sh $MQM_UID   && install-mq.sh $MQM_UID
---> Running in e8b1cda42187
HOSTNAME=25d9d267b342
MQ_URL=http://build:80/mqadv_dev914_linux_x86-64.tar.gz
container=oci
PWD=/
HOME=/root
SHLVL=1
BASE_TAG=8.1-279
MQ_PACKAGES=MQSeriesRuntime-.rpm MQSeriesServer-.rpm MQSeriesJava.rpm MQSeriesJRE*.rpm MQSeriesGSKit*.rpm MQSeriesMsg*.rpm MQSeriesSamples*.rpm MQSeriesWeb*.rpm MQSeriesAMS-*.rpm
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
MQM_UID=888
BASE_IMAGE=registry.redhat.io/ubi8/ubi-minimal
_=/usr/bin/env

test -f /usr/bin/yum
YUM=false
test -f /usr/bin/microdnf
MICRODNF=true
test -f /usr/bin/rpm
RPM=true
test -f /usr/bin/apt-get
UBUNTU=false
false
true
EXTRA_RPMS='bash bc ca-certificates file findutils gawk glibc-common grep passwd procps-ng sed shadow-utils tar util-linux which'
false
true
microdnf install bash bc ca-certificates file findutils gawk glibc-common grep passwd procps-ng sed shadow-utils tar util-linux which

(process:12): librhsm-WARNING **: 17:10:00.438: Found 0 entitlement certificates
(process:12): librhsm-WARNING **: 17:10:00.445: Found 0 entitlement certificates
(process:12): libdnf-WARNING **: 17:10:00.446: Loading "/etc/dnf/dnf.conf": IniParser: Can't open file
Downloading metadata...
error: cannot update repo 'ubi-8-baseos': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried; Last error: Curl error (28): Timeout was reached for https://cdn-ubi.redhat.com/content/public/ubi/dist/ubi8/8/x86_64/baseos/os/repodata/repomd.xml [Connection timed out after 30001 milliseconds]
The command '/bin/sh -c env && chmod u+x /usr/local/bin/install-*.sh   && sleep 1   && install-mq-server-prereqs.sh $MQM_UID   && install-mq.sh $MQM_UID' returned a non-zero code: 1
make: *** [build-devserver] Error 1

I've not seen this error before.  This might be either a network error, or the CDN server may have been down.  I can access that same file without problem.

@arthurbarr ,
You were right. I ran on another network and it worked.
Thank you


APIConnectionError

Hello, my region needs to use a vpn proxy to access openai. I can configure os.environ["http_proxy "] for me to access when I'm running native langchain locally. But this configuration doesn't seem to work in the langflow project. Could you please tell me how to configure it?
Errors are reported below.
Retrying langchain.llms.openai.acompletion_with_retry.._completion_with_retry in 4.0 seconds as it raised APIConnectionError: Error communicating with OpenAI.
thanks.

The same problem, according to the configuration in the picture, it still doesn't work

Hello, my region needs to use a vpn proxy to access openai. I can configure os.environ["http_proxy "] for me to access when I'm running native langchain locally. But this configuration doesn't seem to work in the langflow project. Could you please tell me how to configure it? Errors are reported below. Retrying langchain.llms.openai.acompletion_with_retry.._completion_with_retry in 4.0 seconds as it raised APIConnectionError: Error communicating with OpenAI. thanks.

Change OPENAI_API_BASE, and replace the official interface domain name api.openai.com with api.openai-proxy.com


feat(relay): support custom turn port

Hi, small PR to make the relay port configurable.
The port is provided with an argument and defaults to 3478.
The relay listens on this port and also sends it to the api which updates the database.
There is also a small modification I've done in the login_url.rs file about ipv6

Thanks for the PR!
Why does the relay port need to be configurable? It is well-known to be 3478. I am not sure I want to support this being configurable at the moment.

Hummm I thought it was a planned feature as the port is already in the database and not hardcoded everywhere.
It would just make the life easier for people like me which have limited public IPv4 available(1). I don't want a single relay, if it goes down nothing works. In general I think it's good to avoid hardcoded constants like this.

It is well-known to be 3478

I don't understand. So every webserver should only serve port 80/443 and not allow customization. This makes no sense, you should update your elixir apps to block this.

Jokes aside, Netbird for example uses coturn which supports using another port for stun/turn.
The flag is hidden and only people who know how it works should update it, but in my opinion there is no reason to block users from customizing it at their own risk.

there is no reason to block users from customizing it at their own risk.

It is code that we have to maintain and but is unused by firezone. Every configuration flag that exists has to be considered in future changes. That cost is definitely non-zero. For example, I don't really like that LoginUrl takes an additional parameter now. It is already taking a fair few.
As you can see from the README, we don't officially support self-hosting yet.
We've not had many contributions to the cloud-version yet so I'll get some input from the team but my current position is that anything that we don't use should probably be maintained in a fork for now, unless it is an absolutely trivial fix.

Thanks ❤
I applied your suggestions everywhere and clippy and fmt pass. I'll be happy to fix ci issues if errors arise


Ingest Rule ID Conflicts

Overview
As a user of IAM Projects and Ingest Rules in Chef Automate, I find it mildly annoying that I must create ingest rules with a globally unique (within my Automate instance) ID. It would make my life easier, and potentially more secure, if the names and IDs of ingest rules were only required to be unique to the projects themselves as opposed to unique across all projects.
Example
I'd like to create two projects that ingest nodes based on their Chef organizations, I'll call them x-men and avengers. Once I've created the projects, I'll need to create the ingest rules to handle this mapping, which requires me to provide an ID for the rule. Since I'm just mapping based on a Chef organization, I decide to use the ID org. When I try to do the same thing for the second project, I get an error notifying me of a conflict of the rule ID. Now I must adopt my own ID strategy for rules that hopefully other users of Chef Automate at my company should also follow:

rule IDs could follow the convention $projectName-org
rule IDs could follow the convention org-$orgName
any other conventions I might decide are appropriate.

Impact
The above scenario is frustrating because:

If somebody in my Company doesn't adhere to the naming convention, then I'm left with no choice but to break the convention myself to make progress.

The rule URLs are namespaced by project, so I assume that they're unique per project, e.g.

projects/avengers/rules/org
projects/x-men/rules/org

The above URLs are both unique, so even though they have the same ID then I'd expect the resources to be unique as well

Users in other projects could:

exhaust the IDs for rules that I'd like to use
discover the existence of rules that they might not have access to by trying to create ones of the same ID

Expected Behavior
I expect that if there are no rules in my current project with a certain ID then I can create a rule with that ID. I also expect that users in other projects will not be able to discover the existence of my rules with a brute force attack of rule creation.

needs team discussion

Is he wed to the defining the name or the id? Because we could 1) Get rid of definable rule ids (like statements) or 2) autogenerate unique ids on conflict.
Names don't really need to be unique-- he's hitting this bc we build the ID off of the name.

Oops @blakestier sorry about that. Fixed with s/name/ID

Notes from today's discussion between myself @susanev @blakestier @bcmdarroch @tylercloke and @lancewf
Historical Context
At one point during the development of projects and mapping rules, the rules API was a globally referenced API, e.g. iam/v2/rules instead of iam/v2/projects/pid/rules, so the global uniqueness constraint is most definitely a carry-over from that time.
Since we didn't (and currently don't) have any plans to make rules reference-able outside of the context of a single project, it made sense to make the rules API a subset of the projects API. When we did so, we did not re-evaluate the uniqueness constraints, which results in the potentially confusing or annoying behavior that we see here.
Decisions

Is this a valid issue that we're concerned about? Yes it is. Unless we'd like to be able to share or reference rules between projects, then it doesn't make sense for the uniqueness constraint on the ID to be global.

In his feedback which resulted in this issue, Matt Ray (@mattray) had mentioned the desire to be able to share rules between projects. We'd like to get more information on this from him before we address this issue.

Does this need to be solved before GA? No. This is currently a minor annoyance and should be relatively easy to address.
Would solving this before GA be easier? No. The change we have in mind would be loosening the uniqueness constraints on rule IDs. Going in the reverse direction, tightening constraints (e.g. undoing this) would potentially be a more complex and carefully engineered migration, so we want to make sure that we've taken into account any future use cases before proceeding.

UUIDs
We discussed but decided against the idea of treating rules in the same way we do policy statements. Statements have no names and get auto-generated UUIDs. However, statements can only be updated as part of a policy update, while rules can be updated individually. So we would like to keep a human-readable unique ID for project rules.
Action Items

[ ] Follow up with @mattray on the use cases for sharing rules between projects so we can take that into account in our approach here.
[ ] Schedule this work for post-GA

this work has been deprioritized, so closing.


Explanation on December 4 problem

Can you provide with some example for explanation of December 4 problem.

Yes, have made changes, pls do check it out in the DOA page.

Hey @ASHIK11ab. We'll give more sample inputs/outputs and explanation for the 4th question. Meanwhile, keep trying out the other problems.


transform volshow input to scatter plot input

Hi @maartenbreddels ,
I'm using ipyvolume to visualise 4D datasets with the shape (x,y,z,time). With volshow I can open the dataset as (x,y,z,0) and include the time component with a slider. Now I would like to visualise the dataset as a scatter plot. How can I transform my 4D dataset so that it can be used as input for the scatter plot? For this, x must be a 2D array (time, x) and y and z must be 1D arrays, right?
Thanks!
Nathalie

Hi,
I'm not sure how you want to visualize the 4d as scatter plot. But scatter takes 1d arrays as input if it contains no time component, otherwise 2d.
Regards,
Maarten

Hi @maartenbreddels ,
thanks for the quick answer! My dataset shows algae that have autofluorescence of their chloroplasts swimming around in 3D. I thought I could also make them visible as a scatter plot by putting a dot where the algae is (i.e. boolean) and then using animation control to see how the algae moves. Is there a way to do this?
Regards,
Nathalie

I guess what you would have to do is to determine the location of all algae in your volume data and list those locations. In subsequent frames you would have to identify the algae determined there with the algae detemined in the previous frame (e.g. by proximity, if the  density is low and the frame rate is high). The number of spots would not be allowed to change...
But this is not part of this library, I guess.


Avoid autoremoval of imported pytest fixtures

Currently imported pytest fixtures are removed by the ruff autoremoval feature (unused import). After running ruff my tests fail because the fixtures are removed.
Example
from fixtures import some_fixture # reported as unused and removed

def test_something(some_fixture):
    assert something

Tested on ruff 0.0.253

Why do you import the fixture? It shouldn't be needed generally.

Why do you import the fixture? It shouldn't be needed generally.

It's not in a conftest.py file, it's in a separate library.

I'm admittedly not familiar enough with pytest to know what to do here. How does some_fixture end up getting used? Because it has the same name as the function argument?

It's not in a conftest.py file, it's in a separate library.
If I don't import in this case, my tests don't work anymore.

The usual pattern is to use pytest_plugins to enable them:
# conftest.py

pytest_plugins = ("my_library.pytest_plugin",)

https://docs.pytest.org/en/7.1.x/how-to/plugins.html#requiring-loading-plugins-in-a-test-module-or-conftest-file

The usual pattern is to use pytest_plugins to enable them:

I'm using workarounds, e.g. pytest_plugins = [] or just asserting that some_fixture is there. But it's still valid code which is turned into non-working code after running ruff.

@edgarrmondragon's suggested solution is not really a workaround, it's preferred way to do it, because importing fixtures might lead to subtle problems. pytest docs recommend against importing fixtures: https://docs.pytest.org/en/7.2.x/how-to/fixtures.html#using-fixtures-from-other-projects
I understand your concern about ruff breaking code, but since it points to a real problem IMO ruff should not add special code for it.

but since it points to a real problem IMO ruff should not add special code for it.

I've been thinking and I agree. Ruff should not concern it with the intricacies of pytest. Thanks for the discussion and references, I will close the issue.

I'm a little confused by this conclusion - pytest's docs only recommend against importing fixtures from other projects. Is there any recommendation against importing fixtures from elsewhere in your own project? Likewise, F811 gets triggered anytime a fixture is used in the same file that defines it. AFAIK, this is an accepted pattern for defining fixtures that are not broadly useful outside of a single test module.

I agree this is a common pattern e.g. https://github.com/PrefectHQ/prefect/blob/16f46ca49838cbdb250d113bb149f13ca819302d/tests/conftest.py#L68-L78
I'm not sure it's feasible for Ruff to address this though.

I'm fine with the verdict, but wanted to add a note +1 in issues I hit while trying to enable ruff on https://github.com/apache/superset , somehow we've been using this import pattern across the 1700 test modules ...

I have to say I agree with @emosenkis on this one, the conclusion reached here doesn't make much sense to me at all.
as @emosenkis points out, the dox linked to only recommend against importing fixtures from other projects, it makes no mention of importing from other modules in the same project. The documentation linked to also mentions only "minor consequences", not anything severe - to my reading importing from another module is fine.
Further, in my case adding the fixture in question to conftest rather than leaving it where it is currently defined would cause a circular import - that's why it's defined where it is, e.g:
conftest.py:

...

def some_helper():
    some_logic_here(thing_defined_in_conftest)
    something = more_logic(other_thing_defined_in_conftest)
    return something

test_thing.py:

from thing import Thing
from conftest import some_helper

@fixture(scope='function')
def my_thing() -> Thing:
    something = some_helper()
    other_logic_here()
    return Thing()

test_other_thing.py:

from thing import Thing
from test_thing import my_thing

def test_something(my_thing:Thing)
    some_logic()
    do_things_with(my_thing)
    assert things_about(my_thing)

In this case the some_helper function could be moved out of conftest, but since it uses a bunch of things which are defined in conftest, wherever I move it to would also still need to import conftest (presumably inside the some_helper function, to avoid circular imports, something that's ugly and will trip its own warning). Another option could potentially be to duplicate the fixture in multiple files, a violation of DRY. It seems clear to me that best practice is to import the fixture from the other file where it is defined.
I think ruff should be addressing this, and as far as I can see it shouldn't be too difficult to do - all you need to do is find the definition for any unused items which are being imported and see if they're wrapped by a pytest @fixture decorator before removing them.
I intend to continue importing my fixtures from other modules in line with best practice, unless someone can suggest a better/cleaner alternative. I'll have to consider whether to turn off the 'remove unused imports' option until such time as this code-breaking behaviour is changed :cry:

Hmm. I'm pretty hesitant to re-implement pytest logic in Ruff directly, which is effectively what we'd be doing here. We also don't support doing that kind of lookup across files right now so we couldn't support it even if we wanted to (though we could in the future once we've shipped multi-file analysis and type inference). E.g., in this case, we have no way of knowing that that my_thing is wrapped in a fixture:
from thing import Thing
from test_thing import my_thing

def test_something(my_thing:Thing)
    some_logic()
    do_things_with(my_thing)
    assert things_about(my_thing)

Thanks for the quick response :)
You'd have to go find the definition for my_thing and figure out whether it's wrapped in the fixture decorator. I suppose that could be one of those "harder than it sounds" problems.
I suppose a less-automagic and less-complicated fix would be to allow me to maintain a list of imports which are allowed to be unused, i.e something like this in pyproject.toml:
[tool.ruff.lint]
ignore_unused_imports = [
    'my_thing', # or maybe 'test_thing.my_thing'?
]

maybe something like f401_ignorelist would be a better name :shrug:
Something like this would also generalise: i.e it allows fixing this issue for things other than pytest fixtures that have the same problem (I can see it being an issue for anything that uses dependency injection using a similar pattern to pytest), without either littering my code with #noqa's, or turning off F401 altogether (which is what I have reluctantly done).
and as a bonus I could write a thing to find all my fixtures and add them in here, too.

Just to re-iterate on the point made above: this takes working code and breaks it. I think Ruff should, as a matter of principle, never do that.

I'm pretty hesitant to re-implement pytest logic in Ruff directly

I fully understand that! As a data-point, I note that PyCharm must have also re-implemented the logic, as it is able to determine which fixtures are used and which aren't (screenshot to show coloring):

As already highlighted, the workaround cited from the pytest docs is not apply to local imports (from my reading at least), and furthermore cannot be applied in general if there are fixtures in the test suite of the same name but intended fmost casesor different sub-package context (for example, I have a fixture called client which is a different type of client depending on which sub-package I am testing). This is because conftest.py's pytest_plugins option can only be used at the top level (https://docs.pytest.org/en/stable/deprecations.html#pytest-plugins-in-non-top-level-conftest-files).
A workaround that hasn't been mentioned yet is to re-export the imports to trick ruff into thinking you are declaring the fixture as part of the public interface.
So:
from fixtures import some_fixture # reported as unused and removed

def test_something(some_fixture):
    assert something

Becomes:
from fixtures import some_fixture as some_fixture  # re-exported to avoid F401

def test_something(some_fixture):
    assert something

Just to re-iterate on the point made above: this takes working code and breaks it. I think Ruff should, as a matter of principle, never do that.

Whilst I appreciate the idea, I find this view to be a bit too extreme - since imports can have side-effects (even though they shouldn't) then you can never consider any import to be a safe fix removal. The same applies for importing in order to expose an interface - in practice ruff has converged on re-exporting as the solution to avoid such "breaking" fixes (or you use __all__ (which ruff also understands)), and my impression is that this is good enough in most cases. In other words, the benefit of automatically removing unused imports is worth the cost of having to re-export imports with side-effects, in most cases.
One option that ruff may be able to do would be to split "mostly safe" from "probably unsafe" fixes. It could do this by identifying the imported target (if it exists) and determining if this target name is used as an argument in any function defined in the file. Having looked at the behaviour of pytest fixtures, I believe this would be consistent with how they work and doesn't require any multi-file analysis.

A workaround that hasn't been mentioned yet is to re-export the imports to trick ruff into thinking you are declaring the fixture as part of the public interface.
from fixtures import some_fixture # reported as unused and removed

def test_something(some_fixture):
    assert something

Becomes:
from fixtures import some_fixture as some_fixture  # re-exported to avoid F401

def test_something(some_fixture):
    assert something

What would stop Ruff making this a linting rule? Is it able to identify the import as a fixture and apply the export if missing? If so, why can't it ignore F401 if it identifies the import as a fixture?


Add example for Zipkin transport

I'm pretty crap at go, but I can understand this, so I guess that's great :)

Coverage remained the same at 76.535% when pulling edf12f0cc3dc1a8125a24aaa295bf02bd3043d5b on add-example into 15a3623cdba4335ccab324fc3700b2f7070725f8 on master.

Coverage remained the same at 76.535% when pulling edf12f0cc3dc1a8125a24aaa295bf02bd3043d5b on add-example into 15a3623cdba4335ccab324fc3700b2f7070725f8 on master.

@adriancole this is mostly so that we can do this: https://godoc.org/github.com/uber/jaeger-client-go/transport/zipkin (see collapsible Example under NewHTTPTransport)

Cool. I've seen stuff like this with asciidoc but not go. Thx for the ping!
On 6 Oct 2016 00:29, "Yuri Shkuro"<EMAIL_ADDRESS>wrote:

@adriancole https://github.com/adriancole this is mostly so that we can
do this: https://godoc.org/github.com/uber/jaeger-client-go/
transport/zipkin (see collapsible Example under NewHTTPTransport)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/uber/jaeger-client-go/pull/51#issuecomment-251726498,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAD611z_Xgw_rMnRnELVtQUUWDJGvhUwks5qw9BsgaJpZM4KO-kp
.


[Documentation] [Main concepts: State and Lifecycle]

Changes made for the issue  #1445.

@gaearon is there any issue with this commit ?

Thanks, this is clearer :)

Glad it helped :-)


Re Rendering of page with Multiple Checkboxes slowed down after MUI5 upgrade, in development environment

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Steps to reproduce 🕹
I recently migrated from MUI4 to MUI5 and my page with multiple checkboxes, that re renders on each checkbox click slowed down tremendously. It works fine when deployed on server, Only on Development environment it is slow
Checked react profiler and it shows something called Insertion taking time and that is not even present in MUI4 application

Current behavior 😯
Slow re rendering of page with multiple checkboxes, each checkbox click Makes an API call
Expected behavior 🤔
No response
Context 🔦
No response
Your environment 🌎

npx @mui/envinfo
  Don't forget to mention which browser you used.
  Output from `npx @mui/envinfo` goes here.

From your info, I guess it comes from emotion (v5 style-engine). However, without a repository to reproduce, I can't say if it is a real issue.


How to update new cards?

I'm tring to get those new Tearlaments cards that updated recently, I've follow "/Docs/Updating.md" but the cardlist.json I got from YgoMasterUpdate folder is just the same as before, still can't find any new cards in game. And in the Fiddler, mine is "/ygo/User.home", not "/ayk/api/User.home" as the document said, don't know if that's an issue.

You need to log the Steam traffic, not the YgoMaster traffic. (i.e. open the game using Steam after opening Fiddler).

You need to log the Steam traffic, not the YgoMaster traffic. (i.e. open the game using Steam after opening Fiddler).

It works! Thank you!


Adding a fix for when doughnut chart is on the page

This seems to fix the console error for doughnut charts (#63).

Duplicate of #50


update existing note's yaml with location

Its not clear to me how to do this with the current commands. I know I can put inline links but I'm trying to add a yaml/metadata location tag to an existing page.
I was able to do it by creating a new geo note. copying the line, then deleting the note. kind of high friction

What you can currently do is use "copy geolocation as front matter" from right-clicking the map, then paste the front matter in an existing note.
But - 1. I'm not sure the flow you're asking about starts from the map (maybe it's a location name you're interested at?), 2. It's surely not as streamlined as it can be.
I think it can be useful to add an "add geolocation (front matter)" action in a note's context menu, and also not a lot of work at this point. Will that help?

I think it can be useful to add an "add geolocation (front matter)" action in a note's context menu, and also not a lot of work at this point. Will that help?

I think that would be amazing!

Added in the just-released version :)


empty output and empty parallel-weights.json when tests complete

Greetings, @tnicola!
I've set up these commands as per the README:
"cy:run": "cypress run",
"cy:parallel-local": "cypress-parallel -s cy:run -t 3 -d cypress/integration/test"

Relative to package.json, I have three spec files in cypress/integration/test. Running yarn cy:parallel-local starts up cypress-parallel. The tests then run invisibly. (I can see the activity hitting my API.) When the tests conclude, this is printed to the console:
Thread 0 time: 0s
Thread 1 time: 0s
Thread 2 time: 0s
┌─────────────────────────┬────────┬───────┬─────────┬─────────┬─────────┐
│ Spec                    │ Time   │ Tests │ Passing │ Failing │ Pending │
└─────────────────────────┴────────┴───────┴─────────┴─────────┴─────────┘
Generated file parallel-weights.json.

The parallel-weights.json file is just an empty object. I do get an .mp4 generated for each spec, and the results logged to Cypress Dashboard (if use the --record option). However, it seems that the tests are being run in serial and not in parallel. Running with Yarn 2. Let me know if you have any ideas! Thanks!

I had the same problem, figured out it was due to the custom mocha reporter sending out two back-to-back end suite events, causing two messages to be put on the command line. The parent reads these lines as one block, can't decode the json, and thus doesn't add the test results to the table. I've fixed it locally by excluding the event that doesn't have a filename. May submit a PR

Shoud be fixed now!Check out the new version 0.6.0


sed creates empty read-only files when trying to replace on external drives

Your Windows build number:  (Type ver at a Windows Command Prompt)
10.0.18362.356

What you're doing and what's happening:  (Copy&paste the full set of specific command-line steps necessary to reproduce the behavior, and their output. Include screen shots if that helps demonstrate the problem.)
Insert an external drive such as a USB stick and mount it. E.g. sudo mount -t drvfs F: /mnt/f

cd /mnt/f
echo foo > test.txt
sed -i s/foo/bar/g test.txt

What's wrong / what should be happening instead:
sed: couldn't open temporary file ./sedvb7177: Permission denied
Text should get replaced but doesn't because of the permission denied error. I then find it created an empty file "sedvb7177" and is marked as read-only. I have also tried running it from sudo but it makes no difference. This might be a regression as I think it worked with 1803/1809 if I recall correctly. The weird thing is works fine on the C: drive. It's just external drives (I tried it with both FAT32 and NTFS formatted ones).

P.S. Temp file name is different each time. The above file name is an example.

Strace of the failing command, if applicable:
sed.strace

For WSL launch issues, please collect detailed logs.

See our contributing instructions for assistance.

If some_command is failing, then run strace -o some_command.strace -f some_command some_args, and link the contents of some_command.strace in a gist here

I think I have a wild ass guess but would need the trace to know.

If some_command is failing, then run strace -o some_command.strace -f some_command some_args, and link the contents of some_command.strace in a gist here

I think I have a wild ass guess but would need the trace to know.

I have added sed.strace to a gist.

1611  fstat(3, {st_mode=S_IFREG|0777, st_size=5, ...}) = 0
1611  umask(0700)                       = 000
1611  gettimeofday({tv_sec=1569795902, tv_usec=671563}, NULL) = 0
1611  getpid()                          = 1611
1611  openat(AT_FDCWD, "./sedqFyZ8l", O_RDWR|O_CREAT|O_EXCL, 0600) = -1 EACCES (Permission denied)
1611  umask(000)                        = 0700

Thanks! Nothing in there to support my early guess, unfortunately. That we have a trace is still useful.
One thing you might try is toy around with the mount options. That is the only variant between your external drive, and your automounted C:\. Or the only variant you have control over on the WSL side, anyway. For me, C:\ looks like:
$ mount | grep 'C:\\'
C:\ on /mnt/c type drvfs (rw,noatime,uid=0,gid=0,case=off)

Try mounting your F:\ with the same:
$ sudo mount -t drvfs -o "rw,noatime,uid=0,gid=0,case=off" F: /mnt/f

The other thing to do would be create a subdirectory on your stick, and then look at that directory with Windows Explorer File Properties for differences in Windows permissions. Your observation "The weird thing is works fine on the C:" is a great data point, but "on the C: drive" is sensitive to folder permissions where you are performing the sed.
Needless to say the UX is sub-optimal whatever the cause. Just trying to ascertain what might be causing the EACCES.

I have now got it working on my NTFS formated external drive. But still get permission denied on FAT32 and extFAT drives.

I have now got it working on my NTFS formated external drive

How

But still get permission denied on FAT32 and extFAT drives.

That would not surprise me too much, given that openat() is going out of it's way to try to set the file mode, and metadata is not supported on FAT32. It is hard to tell whether trying sed(1) on FAT32 is something no one ever tried, or whether openat(....., 0600) worked at some point in the past but no longer does. I take as a given here that bog standard scenarios like cat hello > ./hello.txt or `touch ./foo" works okay for you on a FAT32 mount. [n.b. I have no tried any of this; never mounted a FAT32 under WSL myself.]

I'm running into issues with sed -i foo too. The error message points towards the issue of "preserving permissions for : Operation not permitted", but the end result is that the file foo is left as read-only.
Not sure what I can do to help solve this issue, so please let me know what further info you need.
Thanks
Stefan

Not sure what I can do to help solve this issue, so please let me know what further info you need.

If your scenario is FAT32 also then mostly a like on the OP (which this issue currently is suffering).

I'm experiencing this on NTFS, so not FAT32.

So to reproduce:
On an NTFS drive perform the following operations using WSL (Ubuntu 18.04):

echo "Hello" > tmp
cat tmp

Hello

sed 's/ello/i/' tmp

Hi

sed -i 's/ello/i/' tmp

sed: preserving permissions for ‘./sedOcla1z’: Operation not permitted

cat tmp

Hi

sed -i 's/i/ello/' tmp

sed: preserving permissions for ‘./sedTx3bu6’: Operation not permitted
sed: cannot rename ./sedTx3bu6: Permission denied

cat tmp

Hi

So the operation works, has some trouble with its temporary file, and leaves the file in a read-only state.

Probably just missing metadata your on the mounts. Turn on metadata in /etc/wsl.conf. Something like:
[automount]
options = "metadata"

You'll need a wsl --shutdown for it to take.

I only have one drive on that computer, so shouldn't that be covered by the default config?

No. And you have buried the OP, which was a FAT32 filesystem on a USB stick.


Investigate OpenChess

https://www.reddit.com/r/chess/comments/18fqtgr/i_made_myself_a_free_version_of_chesscoms_game/
https://github.com/LinkAnJarad/OpenChess-Insights
Seems pretty basic, but maybe a collaboration is possible.

The chess dot com version is just as basic. Perhaps just start with a version and then improve it


Out of bounds glitch and glitched out houses in random spots

i grabbed a random ledge and i got out of bounds. and there are random houses...

hahaha, the random houses are temporary..  and if you are able to get out of bounds and your game crashes.. would you be able to post a video of that happening? or send the video in the discord?

hahaha, the random houses are temporary.. and if you are able to get out of bounds and your game crashes.. would you be able to post a video of that happening? or send the video in the discord?

its in youtube ill give link: https://youtu.be/AEk5BU-BNe0


pom.xml installed in the repository still contained   ${revision}

The properties in the installed pom.xml were not resolved, resulting in:
<version>${revision}</version>
which lead to incorrect artifacts.

Changed all pom.xml to use the maven plugin flatten-maven-plugin results in a flattened pom with resolved properties:
       <plugins>
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>flatten-maven-plugin</artifactId>
              </plugin>
        </plugins>

This was changed in commit: f68723e


Fixed wrong order of test()-parameters

From line 76 in README.md on, the parameters passed to the test()-method were
in the wrong order ("app, target").

Thanks for the patch!


Inconsistency when using redux-form and at the same time connect from redux

Hi, I definitely see an inconsistency when I connect my form with redux-form only when I try to bind redux-form action creators with connect like the following:
MyForm  = reduxForm({
    form: 'myform'
})(MyForm);

MyForm = connect(null, {initialize, reset, startSubmit, submit, change})(MyForm);

export default MyForm;

It works well when I use the dispatch function as dispatch(initialize('myform')), but when I try to use the actions creators directly within my code as this.props.initialize('my form') or this.props.startSubmit('my form') , I got different errors/behaviours in different situations.
when using this.props.startSubmit('my form'), some time it works, some time I get :
Uncaught TypeError: _this.props.startSubmit is not a function

some time I can only use the change creator without specifying the 1st parameter (the form name):
this.props.change('my_field', my_value);

and it works, it really works like the function definition was change(field:String, value:any),
if i tried this.props.change('my_form' ,'my_field', my_value); it will tried to set 'my_field' as value to the field named my_form, which is weird
Unfortunately I couldn't narrow it down to the root cause yet.

You don't need to connect such action creators.
They're already there for you, as per the docs: http://redux-form.com/6.4.3/docs/api/Props.md/

I am really confused when should I use dispatch(startSubmit('my_form')) vs directly startSubmit('my_form') within a reduxForm-ed Component.

startSubmit isn't available as a prop in your decorated form component, so you would do dispatch(startSubmit('myForm')).
But note that you don't need to do this, because you can simply return a promise in your submit handler.

Yes I know, my point is not about how to submit the form, it is just to know how to use the actions creators. @gustavohenke have a look a this codepen that I built, try to click on the button StartSubmitDirect, you will get Uncaught TypeError: _this.props.startSubmit is not a function
here is the full code:
import React, {Component} from 'react';
import { Field, reduxForm } from 'redux-form';

class SimpleForm extends Component {

  render(){

  const { handleSubmit, pristine, reset, submitting } = this.props;
  return (
    <form onSubmit={handleSubmit}>

        First Name

          <Field name="firstName" component="input" type="text" placeholder="First Name"/>

        <button type="submit" disabled={pristine || submitting}>Submit</button>
        <button type="button"  onClick={this.TryStartSubmit}>StartSubmit Direct</button>

    </form>
  )
  }

  TryStartSubmit = () => this.props.startSubmit('simple');
}

export default reduxForm({
  form: 'simple'  // a unique identifier for this form
})(SimpleForm)

I mean
why this.props.sartSubmit('simple'); doesn't work
why this.props.dispatch(startSubmit('simple')); works
why this.props.reset('simple'); works
why this.props.stopSubmit('simple'); doesn't work

As I said previously:

startSubmit isn't available as a prop in your decorated form component, so you would do dispatch(startSubmit('myForm')).

startSubmit in that case being the imported action creator.
The same applies for stopSubmit, you have to import that action creator, because it's not a prop.
this.props.reset in the other hand works because it's documented here.

Oh I guess I now see my confusion.

OK @gustavohenke  last question on this I promise, why the following is not working :
still getting Uncaught TypeError: _this.props.startSubmit is not a function
codepen updated
import React, {Component} from 'react';
import {connect} from 'react-redux';
import { Field, reduxForm, startSubmit } from 'redux-form';

class SimpleForm extends Component {

  render(){

  const { handleSubmit, pristine, reset, submitting } = this.props;
  return (
    <form onSubmit={handleSubmit}>

        First Name

          <Field name="firstName" component="input" type="text" placeholder="First Name"/>

        <button type="submit" disabled={pristine || submitting}>Submit</button>
        <button type="button"  onClick={this.TryStartSubmit}>StartSubmit Direct</button>

    </form>
  )
  }

  TryStartSubmit = () => this.props.startSubmit('simple');
}

SimpleForm = reduxForm({
  form: 'simple'  // a unique identifier for this form
})(SimpleForm)

SimpleForm = connect(
   null,
    {startSubmit}
)(SimpleForm);

export default SimpleForm

This is because only React lifecycle events are bound to the component instance itself.
Custom methods - like event handlers, as you demonstrated above -, are not bound by default, so their this will be something else.
Therefore, you must do the following:
<button type="button"  onClick={this.TryStartSubmit.bind(this)}>StartSubmit Direct</button>

Using es6 as I did, they is no need to bind. But anyway, tried your way : same issue, still Uncaught TypeError: _this.props.startSubmit is not a function

@gustavohenke  I beleive this is a bug, do you want me to open another issue for this ?

Hmm, so it seems like it really is a bug.
Look at the following lines: https://github.com/erikras/redux-form/blob/253402be1d37a8f4b94c95d5b57fcbc76a41bc86/src/reduxForm.js#L408-L452
startSubmit and stopSubmit are like "protected" props here.
You should rename them to something else.
@erikras, what are your thoughts?

Because this issue saw almost no activity for almost a whole year, I'm closing it.


Release Azure.ResourceManager.RecoveryServices first stable

dub with https://github.com/Azure/azure-sdk-for-net/issues/33729


Fix address verification

Description

Fix address verification on the delegate page

Current dependencies on/for this PR:

main

PR #131   👈

This stack of pull requests is managed by Graphite.


Add normalize_spaces flag to arrow.get

Pull Request Checklist
Thank you for taking the time to improve Arrow! Before submitting your pull request, please check all appropriate boxes:

[x] 🧪 Added tests for changed code.
[x] 🛠 All tests pass when run locally (run tox or make test to find out!).
[x] 🧹 All linting checks pass when run locally (run tox -e lint or make lint to find out!).
[ ] 📚 Updated documentation for changed code.
[x] ⏩ Code is up-to-date with the master branch.

If you have any questions about your code changes or any of the points above, please submit your questions along with the pull request and we will try our best to help!
Description of Changes
Added  normalize_spaces flag to factory.get(), parser.parse(), and parser.parse_iso(). This would remove redundant whitespace from the datetime_string so that the parsing would behave as expected.
Closes: #421

Codecov Report

Merging #813 into master will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master      #813   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           10        10
  Lines         1757      1747   -10
  Branches       300       302    +2
=========================================
- Hits          1757      1747   -10

Impacted Files
Coverage Δ

arrow/factory.py
100.00% <100.00%> (ø)

arrow/parser.py
100.00% <100.00%> (ø)

arrow/arrow.py
100.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 74450bb...5f4d3f7. Read the comment docs.

Hey @meddir thanks for the PR, we're all really busy right now with work/life stuff but don't worry we haven't forgotten this.

@meddir one thing that I would like to see added is documentation to alert users to this new flag: https://github.com/crsmithdev/arrow/blob/master/docs/index.rst.

@systemcatch I have addressed your feedback and added documentation. Mind taking another look before we merge this in?


Customizable ok button label for prompt command

Merged via main repo. This will be in the next release.


Quiz Exercises Import Existing Quiz Exercises With Zip And Json

Checklist
General

[x] I tested all changes and their related features with all corresponding user types on a test server.
[x] Language: I followed the guidelines for inclusive, diversity-sensitive, and appreciative language.
[x] I chose a title conforming to the naming conventions for pull requests.

Client

[x] Important: I implemented the changes with a very good performance, prevented too many (unnecessary) REST calls and made sure the UI is responsive, even with large data.
[x] I strictly followed the client coding and design guidelines.
[x] I documented the TypeScript code using JSDoc style.
[ ] I added multiple screenshots/screencasts of my UI changes.
[x] I added multiple integration tests (Jest) related to the features (with a high test coverage), while following the test guidelines.
[x] I translated all newly inserted strings into English and German. todo

Motivation and Context

A previous Pull Request allowed for the images of quiz exercises to be exported along the json file in a zip folder. The primary goal was to save images even after a quiz is deleted.
However, it is less intuitive for users that they have to find the json file inside the zip folder. This PR allows the users to import quiz exercises with the downloaded zip folder directly as well as with json alone. The benefit of importing with the zip folder is that while json fails to import dnd exercises of deleted quizes, the zip folder retains the data.
Description

Allows Zip folder as import for quiz exercises.
Steps for Testing

Prerequisites:

1 Instructor
2 Quiz Exercises

Log in to Artemis
Navigate to Course Management
Create Quiz with at least 1 Drag And Drop(DnD) Exercise. (without images only a json is exported)
Export the Exercise
Create new Quiz, scroll down and click on "Add Existing Exercises"
Try to import the quiz using the Zip File (even if deleted)
Confirm Success (might take a while to show the images since theyre being uploaded)
Try export/importing different quiz configurations
Check that json import still works (wont work if quiz with DnD is deleted, json is found inside the zip folder)

Testserver States

[!NOTE]
These badges show the state of the test servers.
Green = Currently available, Red = Currently locked
Click on the badges to get to the test servers.

Review Progress

Performance Review

[ ] I (as a reviewer) confirm that the client changes (in particular related to REST calls and UI responsiveness) are implemented with a very good performance
[ ] I (as a reviewer) confirm that the server changes (in particular related to database calls) are implemented with a very good performance

Code Review

[ ] Code Review 1
[ ] Code Review 2

Manual Tests

[ ] Test 1
[ ] Test 2

Test Coverage

Screenshots

Summary by CodeRabbit
Summary by CodeRabbit

New Features

Expanded file upload support to include both JSON and ZIP formats for quiz imports.
Improved handling of images extracted from ZIP files during quiz question import.

Bug Fixes

Enhanced file import process reliability by ensuring appropriate handlers are called based on file type.

Documentation

Updated localization strings for German and English to reflect the new file types supported in the import feature.

It seems to fail on every test server (TS4 and TS5 for example where this PR was never deployed to). I highyl doubt that itis caused by this PR but i will try to investigate.

Tested on TS1.
I can't get this to work if I have a DnD question with both a text item and a picture item.
To reproduce:

Create a quiz with a DND question and both a picture and a text drag item.
Export the quiz as zip
Delete the original quiz
Create a new quiz. Add existing questions > From a file > Upload the file there > Import

I get the message "Import Quiz Failed! Invalid quiz file."
Can you have a look?

i am not able to reproduce. Can some one try it out too ?


Broken CSS?

At the end of line, there is some characters that I guess shouldn't be there... "∂ ∂ ∂"
File:
https://github.com/Adyen/magento/blob/master/skin/frontend/base/default/css/adyenstyle.css#L54

Hi Robert,
Thanks for letting us know. See fix in above commit.
Regards,
Rik
Adyen


feat(timepicker): always pad minutes

Always pad minutes as a UX improvement

Plunker
Fixes #1598
Related to #2639

@wesleycho This creates an issue where I can't type "10:50" as the input now. Two digit minutes can't be typed into the display.
I think instead, the fix/feature should be something along:
    if (keyboardChange !== 'm') {
      $scope.minutes = pad(minutes);
    }

Good catch - made change as suggested, works for both use cases.


refactor: update database calls to use 'with'

Description
Changes DB calls to use with for clarity/ease

connect_execute will connect, execute, commit, and disconnect. Would that not interfere with with? I agree we want some like these just bringing up that mixing them might be problematic.

Oh no I think its fine. If you just call a regular function on the class it doesn't touch the enter or exit methods, and if you use with it doesn't call any other functions unless its explicit, so should be fine to have both!

Are you sure? Wouldn't the last statement break here since connect_execute disconnects:
with Database() as db:
    db.execute(...)
    db.connect_execute(...)
    db.execute(...)

OH I see what you mean.  Or are you saying we should explicitly check for that or something?

No we're not just wanted to bring up this might be an issue. Don't know what to do about it, though.


entity in schema accept runtime values but have no effect

Version: (e.g. 0.8.1-SNAPSHOT)
Module: (e.g. quill-core)
Expected behavior
  val suffix = "_100"
  val q = quote(query[Order].schema(_.entity("order" + suffix)))
  db.run(q)

Should either report failure or change table name
Actual behavior
Compiles ok but table name not changed
@getquill/maintainers

Is this issue #373 related?

@beikern In someway, yes. The error report should happen and should be better.

closing in favor of https://github.com/getquill/quill/issues/373


Thank you for sharing. May I ask which model is used in instrucpix2pix? Is it self-trained or from the official diffusers? And which publicly available dataset was used for training?

The model is trained on SDXL1.0 https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0 with my training script  (train_ip2p_sdxl.py). The image dataset is generated by my customed prompt2prompt-sdxl (inference_prompt2prompt_sdxl.py) with the official captions and edit instructions data https://instruct-pix2pix.eecs.berkeley.edu/gpt-generated-prompts.jsonl. I will reslease my model weights and dataset later if needed.

It would be really fantastic if the model weights and dataset could be released. Thank you very much.

@levihsu May I ask which library the metrics in the code from metrics.clip_similarity import ClipSimilarity refers to? I tried installing metrics using pip install metrics, but I couldn't find the clip_similarity module in the library.

Thanks for your question. I just uploaded metrics folder to my repository.

maybe pipeline_prompt2prompt_sdxl.py should be like below in line 312

The model is trained on SDXL1.0 https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0 with my training script (train_ip2p_sdxl.py). The image dataset is generated by my customed prompt2prompt-sdxl (inference_prompt2prompt_sdxl.py) with the official captions and edit instructions data https://instruct-pix2pix.eecs.berkeley.edu/gpt-generated-prompts.jsonl. I will reslease my model weights and dataset later if needed.

Thank you very much for your sharing. Could you please provide a simple user guide? Or, if possible, could you share your training parameters and data?


[5.5] Fix error when use command php artisan preset none from command php artisan preset react

When i don't want to use react and i use command $ php artisan preset none. I have a problem
webpack.min.js don't change. mix.react('resources/assets/js/app.js', 'public/js') and i think should come back mix.js('resources/assets/js/app.js', 'public/js') with command $ php artisan preset none

The presets aren't meant to fix one another. Just run one preset.


Special characters in titles of crawling

If the title of a 贴子 contains special characters (like /), when uploading, the program will be unable to find the file.

Fixed '/' character, by replacing it with ':'

Don't know if there is any else characters that needed to be escaped...
Going to leave this issue open.


no --pretty for docker swarm inspect

BUG REPORT INFORMATION
Output of docker version:
Client:
 Version:      1.12.0-rc1
 API version:  1.24
 Go version:   go1.6.2
 Git commit:   1f136c1
 Built:        Wed Jun 15 04:49:14 2016
 OS/Arch:      linux/amd64

Server:
 Version:      1.12.0-rc1
 API version:  1.24
 Go version:   go1.6.2
 Git commit:   1f136c1
 Built:        Wed Jun 15 04:49:14 2016
 OS/Arch:      linux/amd64

Output of docker info:
Containers: 0
 Running: 0
 Paused: 0
 Stopped: 0
Images: 1
Server Version: 1.12.0-rc1
Storage Driver: overlay
 Backing Filesystem: xfs
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge overlay host null
Swarm: active
 NodeID: acg7ltgtivr773gybt4yooofu
 IsManager: Yes
 Managers: 1
 Nodes: 2
 CACertHash: sha256:dbacab7ae7028528b059fed171fc5799418032dd8fecf8913ea254b683ab81ff
Runtimes: default
Default Runtime: default
Kernel Version: 3.10.0-327.10.1.el7.x86_64
Operating System: CentOS Linux 7 (Core)
OSType: linux
Architecture: x86_64
CPUs: 1
Total Memory: 991.7 MiB
Name: manager1
ID: VVLS:3SXS:G7IZ:I6MG:DOQ6:VDI5:YWPO:E3XF:ZPMH:RP7C:RBAN:W2SG
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
WARNING: bridge-nf-call-ip6tables is disabled
Insecure Registries:
 <IP_ADDRESS>/8

Steps to reproduce the issue:
$ docker swarm inspect --pretty
unknown flag: --pretty
See 'docker swarm inspect --help'.

ping @icecrime

Related issues: #23691 #23692

We also don't have --pretty for docker inspect, docker volume inspect, and docker network inspect.
I think this is a P3, we really don't need it to ship.

We agree we should implement --pretty on swarm since it's already there for node and service. Too bad it's inconsistent with the other inspect commands.

This is strongly related to https://github.com/docker/docker/issues/24122

Closing in favor of #24148