pod setup does not work for Cocoapods 1.8.0

I was doing a fresh Flutter installation on a new Mac.
Following the instructions of Flutter doctor to install cocoapods with sudo gem install cocoapods, Cocoapods 1.8.0 was installed.
Then after running pod setup, nothing happened, and cocoapods was still not initialised.
The solution was to remove cocoapods with sudo gem uninstall cocoapods and then install Cocoapods 1.7.5 with sudo gem install cocoapods -v 1.7.5, then pod setup.
I know this is probably a Cocoapods issue, but the flutter doctor instructions need to change so new users can get Flutter to work without any trouble.

It looks like our initialization check is looking for the local repo, but 1.8.0 uses the CDN by default which doesn't require it, so it's likely that pod setup is no longer pulling it down.
We'll need to figure out how we want to handle this (assuming that is indeed what's going on). We should likely switch our Podspec template to use the CDN, but we'll need to see what is needed to handle projects with an existing Podspec (e.g., does Cocoapods now fetch it on demand when it encounters a Podspec using it?) and update the setup check accordingly, or we'll need to migrate existing Podspecs.
/cc @jmagman

Same here with 1.8.1. pod setup does nothing. Rollbacking to 1.7.5 was a successful workaround.

I'm also getting this issue with 1.8.1, I can also confirm installing cocoapods 1.7.5 fixes it. Make sure to uninstall previous versions or it won't work! :)

sudo gem uninstall cocoapods
sudo gem install cocoapods -v 1.7.5
pod setup
flutter doctor -v

Maybe there should be a (temporary) note in the docs in the iOS setup while this is fixed.

We'll need to figure out how we want to handle this (assuming that is indeed what's going on). We should likely switch our Podspec template to use the CDN, but we'll need to see what is needed to handle projects with an existing Podspec (e.g., does Cocoapods now fetch it on demand when it encounters a Podspec using it?) and update the setup check accordingly, or we'll need to migrate existing Podspecs.

It uses the CDN by default as of 1.8.0.  What would need to be migrated in the Podfile (assuming you meant Podfile and not podspec)?

Maybe there should be a (temporary) note in the docs in the iOS setup while this is fixed.

https://github.com/flutter/website/pull/3041/

What would need to be migrated in the Podfile (assuming you meant Podfile and not podspec)?

Turns out nothing; I was thinking of the release notes mentioning changing the source:
- source 'https://github.com/CocoaPods/Specs.git'
+ source 'https://cdn.cocoapods.org/'

and assumed we had that in our Podfile. But I was just remembering seeing the commented-out CDN source line.
So does that mean all we need to do here is make 1.8 the minimum and remove the check that the local repo is checked out (and the corresponding instructions)?

So does that mean all we need to do here is make 1.8 the minimum and remove the check that the local repo is checked out (and the corresponding instructions)?

Check out https://github.com/flutter/flutter/pull/41491.  I skipped the local check then the version is >= 1.8.  I removed the pod setup instructions from the installer comment, but they will pod setup instructions if they run again with an installed, uninitialized version < 1.8.

Hi everyone,
I'm currently trying to install flutter on my macOS but I can't install the CocoaPods even with your advices and all things I could find on internet
someone could please help me ?
attached, the screenshot of my terminal

Hi everyone,
I'm currently trying to install flutter on my macOS but I can't install the CocoaPods even with your advices and all things I could find on internet

As stated in https://github.com/flutter/flutter/issues/41253#issuecomment-536039050 you have to uninstall any previous version of cocoapods and install specific 1.7.5 version. You also ensure you didn't have any version installed through homebrew which could interfer with the gem one.

Ok and for uninstall home-brew there is the same command ?

Ok and for uninstall home-brew there is the same command ?

brew uninstall cocoapods

Hi everyone,
I'm currently trying to install flutter on my macOS but I can't install the CocoaPods even with your advices and all things I could find on internet
someone could please help me ?
attached, the screenshot of my terminal

I had exactly the same problem and solved it as follows: (assuming you installed two versions of Cocoapod):
sudo gem uninstall cocoapods
Select gem to uninstall:

cocoapods-1.7.5
cocoapods-1.8.1
All versions

2
Successfully uninstalled cocoapods-1.8.1
Smackbook:development paul$ pod setup
Setting up CocoaPods master repo
$ /usr/bin/git clone https://github.com/CocoaPods/Specs.git --progress -- master
Cloning into 'master'...
remote: Enumerating objects: 299, done.
remote: Counting objects: 100% (299/299), done.
remote: Compressing objects: 100% (285/285), done.

I have cocoapods 8.0 installed, and flutter doctor complains about it. But the iOS builds are not affected by it. Looks like this can be ignored rather than downgrading to v1.7.5

Thanks Paul, I had the same problem, this fixed it :)

Folks, please avoid downgrading CocoaPods to work around a "flutter doctor" issue - CocoaPods 1.8+ usage of CDN is a fantastic feature and an outstanding performance optimization. Unless something is broken, try using the latest version (also, https://github.com/flutter/flutter/pull/41491 has the fix for Flutter).

Folks, please avoid downgrading CocoaPods to work around a "flutter doctor" issue - CocoaPods 1.8+ usage of CDN is a fantastic feature and an outstanding performance optimization. Unless something is broken, try using the latest version (also, #41491 has the fix for Flutter).

It's not just a flutter doctor issue, it's a flutter build/run issue.  When the local repo isn't present pod install is skipped.  https://github.com/flutter/flutter/commit/1eb1e2226bef1121103d5659951e297623177ffc is in v1.10.7, so once that hits stable the -v 1.7.5 instruction and note can be removed.

Since the MR to fix that on 1.8+ detection, maybe it could be useful to include that as hotfix in current/next stable.

thanks,,,i fixed it

Since the MR to fix that on 1.8+ detection, maybe it could be useful to include that as hotfix in current/next stable.

We're evaluating hotfixing this to stable.

If people are feeling confident, another option is to run the dev channel for now, which has received the fix in #41491 mentioned by @davidair .
flutter channel dev
flutter upgrade

If people are feeling confident, another option is to run the dev channel for now, which has received the fix in #41491 mentioned by @davidair .
flutter channel dev
flutter upgrade

After I switch to dev branch, I got a lots of issues
so my suggestion is create fake folder under ~/.cocoapods/respos/master , it's fast and easy solution.

This fix is now in stable as v1.9.1+hotfix.5.


Request triager role for @3imed-jaberi

Hi guys,

[x] I have read and understood the project's Code of Conduct.
[x] I also have read and understood the process and best practices around Express triaging.

I request for a triager role for the following GitHub organizations:

jshttp
pillarjs
express

Hi @3imed-jaberi , though I am the only one who has given the thumbs up, I believe it has been long enough if anyone actually has any objections. You will be receiving invites to the three organizations above.


depend on react 0.14.x or 15.x

seems like<EMAIL_ADDRESS>has been used to develop jsreport-studio, but you have one dependency for<EMAIL_ADDRESS>in fact this issue break my install in npm@2

This is fixed now along with #4


Update concept-di-container.md

Q
A

Is bugfix?
no

New feature?
no

Breaks BC?
no

Tests pass?
no

Thanks!


transition to no egg

waiting on https://github.com/mlb2251/lambdas/issues/7 then we can do it

done in https://github.com/mlb2251/stitch/pull/152


[ADDITION] Zeller

Category
Fintech
Software to be added
Zeller
Supporting Material
URL: https://www.myzeller.com/
Description: Zeller is a payments and financial services solution for businesses to accept payments, manage their finances, and pay recipients fast.
Size:
HQ: Melbourne
LinkedIn: https://www.linkedin.com/company/zeller/
See Record on Airtable:
https://airtable.com/app0Ox7pXdrBUIn23/tblYbuZoILuVA0X3L/recI1VIpV2dDCXZWw

Enough info in Airtable, adding to list


Fixes path issue for menu icons

@codehag Menu icons haven't been fixed with #72. Here you go 😄

Thanks!


The Azure Service Bus metric reports wrong count of Messages in the Queue

Report
I'm running kubectl describe hpa to see how thing go. Sometime it reports 0 Messages, which appears to cause the scale-out to not get activated. Sometimes it reports astronomical figures like the one below.  Right now it reports only 2 Messages to be present in the Queue.  For the record, "Service Bus Explorer" reports that there are 16 messages in the Queue.
I have the latest "keda-2.10.2" chart installed.

Expected Behavior
I'd expect to see the accurate count of Messages in the Queue to be reported.
Actual Behavior
The HPA scales out to only 8 Containers instead of the maximum desired of 10.
Steps to Reproduce the Problem
I can provide the KEDA deployment & ScaledObject deployment script.
Logs from KEDA operator
example

KEDA Version
2.10.1
Kubernetes Version
1.25
Platform
Microsoft Azure
Scaler Details
HPA
Anything else?
No response

Hi,
I think that it's working, and the problem is just a confusion, let me explain what you are seeing.

Sometimes it reports astronomical figures like the one below

The figure shows 1,5. This is a common misunderstood and it's because k8s doesn't use float numbers, instead of using floats, k8s changes the scale to mili (*1000), that's why you see '1500m' which basically means 1,5 in float numbers.

Right now it reports only 2 Messages to be present in the Queue. For the record, "Service Bus Explorer" reports that there are 16 messages in the Queue.

In this case, the problem is that the value displayed when you describe the HPA, is the calculated value, not the raw value. As default, metrics are AverageValue, so the value that you see when you describe the HPA, is the average value totalMessages/instances. In this case, if you see 2 messages describing the HPA and you see 16 messages inside Service Bus Explorer, it's because you have 8 instances, so the average value is 2 (16/8=2)

which appears to cause the scale-out to not get activated

If you allow the scaling to 0 (with minReplicaCount:0 or idleReplicaCount:0), KEDA will scale to 0 the workload if the queue is 0, this is the normal behaviour because the scaler isn't active. If this is a problem, you can increase the cooldownPeriod from 300 (seconds) to more, for slowing the scaling to 0 frequency.
As the problem is a misunderstood, I close this issue. If you still think that something isn't working, feel free to repoen the issue again and we can try to figure out what's happening

Thank you for the explanation!
Is there a way to configure KEDA to use the actual count of Messages for scale-out instead of the average?  As I'd used to configure the HPA in the past with:
    external:
      metricName: queuemessages
      targetValue: 5

As of right now I cannot scale down to 0 Containers because I'm using Windows Containers that are really slow to start up.  For what it's worth, this is how I configure the scale-out at the moment.  My desired behavior is to have 1 Container running all the time and to start scaling out to a max. of 10 for as long as the count of Messages in the Queue stays >= 2.
  scaleTargetRef:
    name: aks-aci-boldiq-workforce-gozen-dev
  minReplicaCount: 1
  maxReplicaCount: 10
  pollingInterval: 10
  advanced:
    restoreToOriginalReplicaCount: true
  triggers:
  - type: azure-servicebus
    metadata:
      queueName: gozen-dev-requests
      connectionFromEnv: KEDA_SERVICEBUS_CONNECTIONSTRING_GOZEN_DEV
      messageCount: '2'

Hi
You can use AverageValue or Value. I think that they aren't exactly how you expect, but Value could meet your requirements. You can fin all the information here

To use Value instead of AvergaeValue, you just need to change a bit you SO:
scaleTargetRef:
    name: aks-aci-boldiq-workforce-gozen-dev
  minReplicaCount: 1
  maxReplicaCount: 10
  pollingInterval: 10
  advanced:
    restoreToOriginalReplicaCount: true
  triggers:
  - type: azure-servicebus
    metricType: Value
    metadata:
      queueName: gozen-dev-requests
      connectionFromEnv: KEDA_SERVICEBUS_CONNECTIONSTRING_GOZEN_DEV
      messageCount: '2'

Thanks very much for the info!  Let me experiment with the metricType: Value.  I do not find the documentation to be enlightening.
What I've learned so far wrt metricType: AverageValue is that if I set messageCount: '1' the scale-out will start as soon as the count of Messages in the Queue exceeds the count of Containers and the count of Containers will always match the count of Messages in the Queue for as long maxReplicaCount had not been reached.  If this statement is correct, you may want to include it in the documentation.

What I've learned so far wrt metricType: AverageValue is that if I set messageCount: '1' the scale-out will start as soon as the count of Messages in the Queue exceeds the count of Containers and the count of Containers will always match the count of Messages in the Queue for as long maxReplicaCount had not been reached. If this statement is correct, you may want to include it in the documentation.

Isn't this the same?

With AverageValue metric type, we can control how many messages, on average, each replica will handle. If our metric is the queue size, the threshold is 5 messages, and the current message count in the queue is 20, HPA will scale the deployment to 20 / 5 = 4 replicas, regardless of the current replica count.

I mean, we explain how the replica count is calculated

Thanks very much, the metricType: Value behaves as I'd expected it to do.  Or like the earlier configuration used to work:
external:
      metricName: queuemessages
      targetValue: 5

I personally find this mode of operation easier to comprehend.  It may scale out to more Containers on occasion but the extra ones tend to find work to do and as such better handle spikes in Requests.  Again, we're still running Windows Containers that are slow to start up.

Just out of curiosity, why is scale-out faster these days?  Is it because I set pollingInterval: 10 or is KEDA or Kubernetes' HPA more responsive?

Just out of curiosity, why is scale-out faster these days? Is it because I set pollingInterval: 10 or is KEDA or Kubernetes' HPA more responsive?

What do you mean? If you set pollingInterval : 10 the operator will check the metric every 10 seconds, but operator works during the activation phase (0-1-0) and I think that you don't work there. During the scaling phase (1-n-1) is the HPA controller who decides when request the metrics (every 15 seconds as default).
If you have super long clusters, maybe you were facing with HPA controller issues because the HPA controller runs in a single thread and depending on your current version, it could be running in multithread approach.
Other option is that you were facing with some performance issue that has been solved during latest releases...


Start moving window/document to use layout service

Part of #195804

@bpasero am I on the right track here?
Is it correct to be using this._layoutService.container.ownerDocument to get the primary document? I end up doing this a lot, do we have a layout service API for fetching the primary window and it's document directly? Something like this:
export interface ILayoutService {
  readonly primaryContainer: HTMLElement; // name would make this clearer
  readonly primaryDocument: Document;
  readonly primaryWindow: Window;
}


Update joda-convert to 1.9.2

Updates org.joda:joda-convert from 1.6 to 1.9.2.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.joda", artifactId = "joda-convert" } ]

Codecov Report

Merging #306 into develop will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop     #306   +/-   ##
========================================
  Coverage    61.29%   61.29%
========================================
  Files           50       50
  Lines         1540     1540
  Branches        40       40
========================================
  Hits           944      944
  Misses         596      596

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 09bae75...6d1ddff. Read the comment docs.


docker: build su-exec in bazel and put in to docker

Title: One line description
Description:
su-exec was introduced to drop permission in the docker entrypoint, this has been built in docker stage but it should be part of main build and monitored by dependency policy. It also causes some docker build flakiness.
cc @envoyproxy/dependency-shepherds @phlax

happy to pick this up @lizan

can't seem to reproduce the flakiness
here's what I did
mkdir builder
ENVOY_DOCKER_BUILD_DIR=builder ./ci/run_envoy_docker.sh './ci/do_ci.sh bazel.release.server_only'
for i in {1..20}; do docker build -f ci/Dockerfile-envoy -t envoy .;docker builder prune -af; done

The flakiness is from downloading the source from GH:
https://github.com/envoyproxy/envoy/blob/release/v1.17/ci/Dockerfile-envoy#L8
it may not reproducible easily in your local env though.


Add option for disabling links preview

If you mean the preview under the post, there's already an option called «Hide page preview».

@5angel yeah, my fault, I misunderstood this one


There appears to be a line order error in index.js

There was an uncaught error ReferenceError: Cannot access 'error' before initialization
at Timeout.ontimeout [as _onTimeout] (C:\app\dev\test\node_modules@hyperswarm\dht\index.js:216:7)
at listOnTimeout (internal/timers.js:555:17)
at processTimers (internal/timers.js:498:7)

I get this too, with slightly different line numbers:
at listOnTimeout (internal/timers.js:554:17)
at processTimers (internal/timers.js:497:7)


git-spice: fix x86_64-darwin

applies https://github.com/NixOS/nixpkgs/pull/347635#pullrequestreview-2378690501

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[x] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

ofborg giveth https://logs.ofborg.org/?key=nixos/nixpkgs.349666&attempt_id=f069ddc5-9ee2-44cd-b900-1451bdf993c7

Tested on aarch64-darwin.


Don't trigger triggerables on constraint check

Don't evaluation triggerables when checking question constraints during form saving. Hide this change under a developer option, which can also be programatically enabled via the profile file by setting cc-fire-triggers-on-save to yes or no
Improves save performance of TDH "Child Classification" form by 11 seconds, from 12 down to  below 1 second.
cross-request with https://github.com/dimagi/javarosa/pull/196

@ctsims updated PR to unify the two similar methods


[REQUEST] Apple Silicon support (arm)

Is your feature request related to a problem? Please describe.
Now we can't build at apple silicon device
Describe the solution you'd like
a way to build this app on a macbook
Describe alternatives you've considered
No response
Additional context
No response

duplicated  #300


Doesn't allow for more than one signature pad

From what I can tell. You can only have one signature spot on a page. If two people must sign a document, the accept and clear buttons will only reference the second signature pad, even if the accept="" and clear="" attributes for the different pads reference different buttons.
<signature-pad accept="accept1" clear="clear1"></signature-pad>
<button ng-click="clear1()">Clear signature</button>
<button ng-click="signature1 = accept1()">Sign</button>

<signature-pad accept="accept2" clear="clear2"></signature-pad>
<button ng-click="clear2()">Clear signature</button>
<button ng-click="signature2 = accept2()">Sign</button>

Even though they have different buttons, hitting the clear button for either signature pad will clear the second pad. The first pad is rendered useless if a second pad exists.

Thanks for the fix! I hacked in my own array based solution. It makes so much more sense and is much cleaner just to use $scope. I don't know why I didn't think of that.

can someone share an example to how to achieve having two signature pads on the same page?


Is it planned to get the interface translated?

Hi Anze3db,
thanks for Fedidevs! I'd like to contribute a translation of all strings of the interface into French, so that our big French comunity of Mastodon users can use fedidevs without having to know English.
Is fedidev translatable easily? (like with po files or other similar system?)

Hey @vincib, I don't have po files ready to be translated, but I'll try to set it up for at least the starter pack pages in the next few days. I'll let you know when it's done!
It's awesome to see the French community being so active on Mastodon!

That would be awesome thanks!
if you can tell here when it's ready, I'll work one it

Hi Anze, any news ? <3

Hey @vincib, I can't believe two weeks have already gone by. I've been swamped and haven't prepared the .po files yet for the translations 😔 I'll do my best to finish this by the end of this week.

Thanks you soo much, I'm sorry I can't help much, since it's not one of the languages I'm fluent in :)
if you can't do it this week, I will ask friend who know python more than I do to post a PR if they can <3

@vincib Hey, thanks for your patience! I've prepared a .po file (link to raw) that includes most of the UI strings for starter pack pages. This doesn't translate the whole site, but the most critical parts should be covered!
Feel free to let me know if you need help handling the .po file (you should be able to download an app for it on your operating system).
Thanks!

Translated (+a small file explaining some choices) at PR100

I've just pushed the language switcher so you can view the website in the French, English, and Slovenian languages! Hopefully, we'll add more languages soon. Thanks, @vincib, for your contribution!


Update mock.js

Math.random should be function call.

Thanks! The tests still passed because of what I think is a bug in chai. I filed an issue there: https://github.com/chaijs/chai/issues/691

Made sure the tests don't accept non-numbers any more: https://github.com/apollostack/graphql-tools/commit/e7407d500d0c2967eabd45c0a4f2897ee5550d57


Custom root CA for generated certificates

Do you want to request a feature or report a bug?
Feature
What did you expect to see?
When enabling TLS on HTTPS entrypoints, Traefik generates a self-signed certificate for any domain that does not already have one. This is nice because it allows using HTTPS for dev purposes but the certificate is not trusted by the browser and must be manually accepted first.
Without Traefik, I use mkcert in my Docker setup to create trusted certificates. The browser trusts the root CA from mkcert and thus trusts any certificate signed by it.
As far as I understand, this is currently not possible with Traefik because it uses a random key to generate certificates. I'd like to be able to provide a trusted root CA to Traefik so it uses it instead.

Hello,
I think you can use https://docs.traefik.io/configuration/entrypoints/#default-certificate

If I understand correctly, using a default certificate would require to manually create a new certificate each time I want Traefik to serve a new domain. Being able to provide a trusted root CA would allow me to let Traefik do that job on the fly just like now but with trusted certificates.

To enable a default certificate to serve, so that connections without SNI or without a matching domain will be served this certificate.

If no default certificate is provided, a self-signed certificate will be generated by Traefik, and used instead.

So you don't need to create a certificate for each new domain, the default certificate will used instead of the Traefik self signed certificate.

Is it possible to have a default certificate that is valid for any domain served by Traefik?

Hi @julienfalque , as specified in the mkcert documentation (https://github.com/FiloSottile/mkcert#mkcert), you can issue a certificate with either:

A wildcard domain as *.company.dev
A collection of domains as front.company.dev,back.company.dev

If you generate a certificate with the list of domain and/or the wildcard domain, then use this certificate as the default one, following the instructions given earlier, so any application with
Then, any application with any domains served by Traefik will use this default, with no issue if the domain is on the certificate's list.
Let us know.

Indeed, I was able to generate a default certificate using mkcert. But I will have to maintain the list of domains. I still think this would be easier to have Traefik do that.

@julienfalque Another option would be to run your own boulder image with your trusted CA as the signing authority.
Then you could leverage Traefik's LetsEncrypt functionality to automatically generate your certificates with your trusted CA as the root.

Hi! I'm Træfiker :robot: the bot in charge of tidying up the issues.
I have to close this one because of its lack of activity :disappointed:
Feel free to re-open it or join our Slack workspace for more community #support.


[WIP] Feature/parallel download

Not looking for a review yet.
🎉 New feature
Closes #1260
Summary
This replaces #1669.
The PR changes the Server load to:

Disable Fuel downloads.
Parse the SDF file/string.
Remove all models, actors, and lights from each world.
Create the worlds (runners).
Enable Fuel downloads and force simulation to be paused. User cannot unpause.
Start a thread that parses the SDF file again. This time models are downloaded.
Add the models back into the worlds.
Allow the pause state in simulation to change.

The above will be followed even if nothing needs to be downloaded.
Test it
All of the tests should pass, and you should be able to clear your fuel cache and load world like tunnel.sdf
Checklist

[] Signed all commits for DCO
[ ] Added tests
[ ] Added example and/or tutorial
[ ] Updated documentation (as needed)
[ ] Updated migration guide (as needed)
[ ] Consider updating Python bindings (if the library has them)
[ ] codecheck passed (See contributing)
[ ] All tests passed (See test coverage)
[ ] While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

@osrf-jenkins run tests please.


update year of Copyright (c)

Thanks! Would you mind also updating the copyright year in es6-shim.js and es6-sham.js?

i found one more updating file : s6-sham.min.js ! This repro is always maintained. I think it make sense for updating the copyright.

@ljharb : who has created this repro? the structure is not maintainable ! who, what generated the min/map files, etc? why exists a node_modules directory?  the "pull requests" make not sense at the moment !!! just README.md "pull request" is ok.

@SerkanSipahi node_modules exists because that's where npm dependencies are installed, which every JS project uses.  "Pull requests" are a github thing, and I'm not sure what you mean by "doesn't make sense".
The "min.js" files are automatically generated whenever the library is released and published on npm - github is just for development, npm is for consumption.
Also, I'm not sure that an out of date copyright year on an actively maintained project qualifies as "terrible" but thanks for your opinion.

@ljharb what i mean is: i would hold clean the repro. Also, no node_modules folder, no min, map, etc files. If someone get this repro from npm or github it should have a build process where everything( node_modules, min, map, etc ) are auto generated. I hope you know what i mean.


Confident promotion :)

Patterns are 85 percent complete!

Remains to add meta to all patterns.
Make small change for optimize regular expressions.

If two puncts ^ being complete, syntax of V will be officially completed!

Many


JdbcAutoConfiguration depends on JPA persistence API

JdbcEventStorageEngine throws an exception on error handling:
NoClassDefFoundError: javax/persistence/EntityExistsException
The JdbcAutoConfiguration creates a PersistenceExceptionResolver  with a dependency on jpa :  org.axonframework.eventsourcing.eventstore.jpa.SQLErrorCodesResolver
The datasource already exists and is created with spring property spring.datasource.url
Adding the dependency would solve it:
<dependency>
            <groupId>javax.persistence</groupId>
            <artifactId>persistence-api</artifactId>
            <version>1.0.2</version>
</dependency>

Axon Version 4.2.1
Code that creates the jpa SQLErrorCodesResolver when there is a datasource:
https://github.com/AxonFramework/AxonFramework/blob/f519771cfc4deb6c376fbe449e7c76e19b2a34d8/spring-boot-autoconfigure/src/main/java/org/axonframework/springboot/autoconfig/JdbcAutoConfiguration.java#L91
It is not clear that the dependency is needed and only throws NoClassDefFoundError when there is a sql error on runtime.
Would be nice if the PersistenceExceptionResolver implementation doesn't depend on the persistence api for the JdbcEventStorageEngine. Probably it's a bug because the EntityExistsException is never thrown with a jdbc config.
Workarounds for now:
Define the PersistenceExceptionResolver Bean as new JdbcSQLErrorCodesResolver()
OR
Add the dependency tot the persistence-api

Thanks for marking the problem here @mbreevoort. I've decided to move the SQLErrorCodesResolver bean creation method to the JpaAutoConfiguration, where I believe it belongs.

Closing this bug as it has been resolved in PR #1283


Will wait for it in master) Thanks)

Merged to master and released as v1.1.

Thanks


No context menu appears after right clicking blobs

Storage Explorer Version: 1.9.0
Branch: master
Build: 20190809.2
Platform/OS: Linux Ubuntu 19.04/Windows 10/macOS High Sierra
Architecture: ia32/x64
Regression From: Previous release 1.9.0
Steps to reproduce:

Open anyone blob container -> Upload one blob to it.
Right click the uploaded blob then check the context menu.

Expect Experience:
The context menu appears.
Actual Experience:
No context menu appears.
More info:

This issue doesn't reproduce for files.
This issue also reproduces for adls gen2 blobs.

This issue doesn't reproduce on build master/20190810.5. So we close it.


untagged enum variant results in null value

I need to serialize an enum with untagged but if the enum doesn't have associated data it is serialized as "null" rather than the "plain text" value of that enum
here is a playground example
https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=b6de38851cd032c45ca162416c0f4c65
use serde::{Serialize,Deserialize};
#[derive(Serialize, Deserialize)]
#[serde(untagged)]
pub enum Config {
    Default,
    Custom(CustomConfig)
}

#[derive(Serialize, Deserialize)]
pub struct CustomConfig {
    id: String,
    age: i32
}

#[derive(Serialize, Deserialize)]

pub struct Parent {
    config: Config,
    name: String
}

fn main() {
    let p1 = Parent { config: Config::Default, name: "First".to_string() };
    let p2 = Parent { config: Config::Custom(CustomConfig{id: "id1".to_string(), age: 42}), name: "Second".to_string() };

    let v = vec![p1,p2];

    let res = serde_json::to_string_pretty(&v).unwrap();
    println!("{}", res);
}

[
  {
    "config": null, <<<<<<<<< this is invalid and won't serialize later, also ugly :) can we replace with the textual value?
    "name": "First"
  },
  {
    "config": {
      "id": "id1",
      "age": 42
    },
    "name": "Second"
  }
]

Look at the #[serde(skip_serializing_if = "path")] attribute:
https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=b6de38851cd032c45ca162416c0f4c65

seems like a duplicate of https://github.com/serde-rs/serde/issues/1560

Closing as a duplicate of #1560.


Update README

What?
Update README
Why?
To simplify instructions

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: d-hayashi
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [d-hayashi]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Typeo

The Eq. (7) in Virtual Augmentation Supported Contrastive Learning of Sentence Representations contradicts 'small values of l_{align} ....'.

StackOverflow and CLINC150 (see Tables 4 and ??)

Eq. (9) and Figure 3(b) also seems coufused. l_{intra} should be negative in Figure 3(b).

Thank you for the comments. We have updated our paper draft and released the code.

OK. Thank you for your reply.


bug for networkSocketExample.h

Hello, doctor! I found the bug when I wrote the code to perform the PSI of big set size like networkSocketExample.h instead of small set size. And I just modify the source code networkSocketExample.h. It happens somthing wrong.
The code modified by myself:
        auto ns = 1 << cmd.getOr("senderSize", 20ull);
        auto nr = 1 << cmd.getOr("receiverSize", 20ull);

And it return:
[root@devstack volepsi]# ./out/build/linux/frontend/frontend -sender -r 0 & ./out/build/linux/frontend/frontend -recver -r 1
[1] 2998976
connecting as client at ip localhost:1212
connecting as server at ip localhost:1212
connected
connected
sender start
recver start
sender done, 421022ms
Socket was destroyed with pending operations. terminate() is being called. Await Socket::flush() before the destructor is called. This will ensure thatall pending operations complete. /root/volepsi/out/install/linux/include/coproto/Socket/SocketScheduler.h:709
terminate called without an active exception
End of file
[1]+  Aborted                 (core dumped) ./out/build/linux/frontend/frontend -sender -r 0

I don't know whether I do something in error.

Maybe it needs some operations like join()?

Add sync_wait(sock.flush()); to the end.

Thanks. It works. And I have another questions:
I want to wrap the encoding function and decoding funtion about baxos that has simpler interface:
void encode(const std::vector<block>& key, const std::vector<block>& value, std::vector<block>& OKVStable){
    u64 n = key.size();
    u64 w = 3, ssp = 40, nt = 0, binSize = 1 << 15;
    auto dt = PaxosParam::GF128;
    u64 baxosSize;
    {
        Baxos paxos;
        paxos.init(n, binSize, w, ssp, dt, oc::ZeroBlock);
        baxosSize = paxos.size();
    }
    OKVStable.resize(baxosSize);
    Baxos paxos;
    paxos.init(n, binSize, w, ssp, dt, block(0, 0));
    paxos.solve<block>(key, value, OKVStable, nullptr, nt);
}

void decode(const std::vector<block>& key, std::vector<block>& value, const std::vector<block>& OKVStable){
    u64 n = key.size();
    u64 w = 3, ssp = 40, nt = 0, binSize = 1 << 15;
    auto dt = PaxosParam::GF128;
    u64 baxosSize;
    {
        Baxos paxos;
        paxos.init(n, binSize, w, ssp, dt, oc::ZeroBlock);
        baxosSize = paxos.size();
    }
    Baxos paxos;
    paxos.init(n, binSize, w, ssp, dt, block(0, 0));
    paxos.decode<block>(key, value, OKVStable, nt);
}

void toybaxostest(const oc::CLP& cmd){
    auto n = 4;
    auto ssp = cmd.getOr("ssp", 40ull);
    auto mal = cmd.isSet("malicious");
    // The vole type, default to expand accumulate.
    auto type = oc::DefaultMultType;
#ifdef ENABLE_INSECURE_SILVER
    type = cmd.isSet("useSilver") ? oc::MultType::slv5 : type;
#endif
#ifdef ENABLE_BITPOLYMUL
    type = cmd.isSet("useQC") ? oc::MultType::QuasiCyclic : type;
#endif
    // use fewer rounds of communication but more computation.
    auto useReducedRounds = cmd.isSet("reducedRounds");

    u64 w = 3, nt = 0, binSize = 1 << 15;
    auto dt = PaxosParam::GF128;
    u64 baxosSize;
    {
        Baxos paxos;
        paxos.init(n, binSize, w, ssp, dt, oc::ZeroBlock);
        baxosSize = paxos.size();
    }
    std::vector<block> Set(n);
    std::vector<block> Value(n);
    std::vector<block> OKVSTable(baxosSize);
    Set[0] = (block) 100;
    Set[1] = (block) 99;
    Set[2] = (block) 98;
    Set[3] = (block) 97;
    block AESKey;
    AESKey = (block) 123456789;
    AES AES;
    AES.setKey(AESKey);
    AES.ecbEncBlocks(Set.data(), Set.size(), Value.data());
    encode(Set, Value, OKVSTable);
    std::cout << "encode OKVS: ";
    for (auto i = 0; i < OKVSTable.size(); ++i){
        std::cout << OKVSTable[i] << " ";
    }
}

[root@devstack volepsi]# ./out/build/linux/frontend/frontend -useSilver
encode OKVS:<PHONE_NUMBER>0000000000000000000000<PHONE_NUMBER>0000000000000000000000<PHONE_NUMBER>0000000000000000000000<PHONE_NUMBER>0000000000000000000000 b8ea727110d3342d2ebcfa78f6b03abe e76e69e84999f89a4b95070a7f44941b<PHONE_NUMBER>0000000000000000000000<PHONE_NUMBER>0000000000000000000000<PHONE_NUMBER>0000000000000000000000<PHONE_NUMBER>0000000000000000000000<PHONE_NUMBER>0000000000000000000000<PHONE_NUMBER>0000000000000000000000<PHONE_NUMBER>0000000000000000000000<PHONE_NUMBER>0000000000000000000000<PHONE_NUMBER>0000000000000000000000<PHONE_NUMBER>0000000000000000000000<PHONE_NUMBER>0000000000000000000000<PHONE_NUMBER>0000000000000000000000<PHONE_NUMBER>0000000000000000000000<PHONE_NUMBER>0000000000000000000000 89a2c3164ccc86888b0978a1ebdaa53f a0138bec697a132c86bbee9913251400<PHONE_NUMBER>0000000000000000000000<PHONE_NUMBER>0000000000000000000000<PHONE_NUMBER>0000000000000000000000<PHONE_NUMBER>0000000000000000000000<PHONE_NUMBER>0000000000000000000000<PHONE_NUMBER>0000000000000000000000<PHONE_NUMBER>0000000000000000000000<PHONE_NUMBER>0000000000000000000000

It can decode correctly. But It happens many zeros in OKVSTable. I don't understand the details of baxos. Is it normal? Can I encode or decode just using above functions?

Yeah, for small sized I'd expect many empty positions. For larger it should be more filled in.

        if (pIDx == t - 2){
            // ...
            // do something
            // ...
            ip2 = "localhost:" + std::to_string(2 * 1212 + t - 2);
            std::cout << "party " << pIDx << "PSI start" << std::endl;
            PSIChlClient = coproto::asioConnect(ip2, 0);
            volePSI::RsPsiSender sender;
            sender.setMultType(type);
            sender.init(n, n, ssp, oc::sysRandomSeed(), mal, 1, useReducedRounds);
            std::cout << pIDx << "PSI init" << std::endl;
            macoro::sync_wait(sender.run(Value[t - 2], PSIChlClient));
            macoro::sync_wait(PSIChlClient.flush());
            std::cout << "party " << pIDx << "PSI send done" << std::endl;
        }
        if (pIDx == t - 1)
        {
            // ...
            // do something
            // ...
            volePSI::RsPsiReceiver recevier;
            std::cout << "party " << pIDx << " decode done" << std::endl;
            std::string ip2 = "localhost:" + std::to_string(2 * 1212 + t - 2);
            PSIChlServer = coproto::asioConnect(ip2, 1);
            recevier.setMultType(type);
            recevier.init(n, n, ssp, oc::sysRandomSeed(), mal, 1, useReducedRounds);
            std::cout << pIDx << "PSI init" << std::endl;
            macoro::sync_wait(recevier.run(Value[pIDx], PSIChlServer));

            std::cout << "mIntersectionSize:" << recevier.mIntersection.size() << std::endl;
            macoro::sync_wait(PSIChlServer.flush());
            std::cout << "PSI done" << std::endl;
        }

This error is happening when n is set larger. But I tested it for small size like 4. It is OK.
I thought it is because of not adding macoro::sync_wait(PSIChlServer.flush());. But even if I add it, it doesn't work. Please give me some suggestions. Thank you!
Actually, I'm writing codes for multi-PSI. The hidden codes did something to get the information. And finally it needs two parties to perform PSI.
Here is the error information:
Paxos error, Duplicate keys were detected at idx
                                                  , key=02bb8b0009284d15452b43289b61be12
Socket was destroyed with pending operations. terminate() is being called. Await Socket::flush() before the destructor is called. This will ensure thatall pending operations complete. /root/volepsi/out/install/linux/include/coproto/Socket/SocketScheduler.h:709
terminate called without an active exception
start.sh: line 8: 3158551 Segmentation fault      (core dumped) ./out/build/linux/frontend/frontend -t $t -n $n -p $p
start.sh: line 8: 3158552 Aborted                 (core dumped) ./out/build/linux/frontend/frontend -t $t -n $n -p $p

I perhaps find the reason for the error.If I use
         for (auto i = 0; i < t; ++i)
             prng.get(Set[i].data(), Set[i].size());

to generate the set of parties, the error will happen. But if I use
        for (auto i = 0; i < t; ++i){
            for (auto j = 0; j < n; ++j){
                Set[i][j] = (block) (100 + j);
                if (j == n - 1)
                    Set[i][j] = (block) pIDx;
            }
        }

instead of prng. It will success. Maybe it is because the prng have impact on PSI?

The socket error is because the socket is trying to send data when you destroy it. Like when it goes out of scope. I told you how to fix it.
It looks like you have some other error. You posted it
Paxos error, Duplicate keys were detected at idx
                                                  , key=02bb8b0009284d15452b43289b61be12

Sounds like you are inputting duplicate keys.....

OK. I have fixed it. Thanks.

Hi. Please forgive me to bother you again. I reproduce below error. Could you tell me what "duplicate keys" means actually? It will help me fix it. And I just use some bigger data as input (some 128-bits intergers), then it will happen. Does the code support 128-bits data?
Paxos error, Duplicate keys were detected at idx
                                                  , key=02bb8b0009284d15452b43289b61be12

Two of your input values are the same. It prints the value of the duplicate. You are not allowed to have duplicate keys.

OK. I used to misunderstand the meaning of key before. Now I can get it. Thanks!!!


Improve cocktail preview on ingredient page

As per the title, would love to (optionally?) see a list of cocktail previews (like you get on search page) from the ingredient screen, that show all the cocktails you can make with that ingredient.
Happy to work on it too, if it's deemed useful.

I like it, it should probably use the smaller cocktail card like in the shelf page. The issue I see is that some ingredients like lemon juice/gin/whiskey can have a lot of related cocktails and that could overwhelm the ingredient page.


Add Woodchipping Work Type Icon

Available in Figma

The Woodchipping icon may be added to the codebase, but it does not yet show up on the map. See https://app.staging.crisiscleanup.io/incident/270/work/253339. The default "Other" question mark appears. If you can get anything to appear at all...


[BUG] ERR_SSL_PROTOCOL_ERROR

I'm trying to deploy Flowise on an AWS EC2 Instance following the deployment guide: https://docs.flowiseai.com/configuration/deployment/aws.
However, when trying to open Flowise with https I get an SSL error: ERR_SSL_PROTOCOL_ERROR.
I've already installed an SSL Certificate on port 443 thinking it'll solve the problem but it doesn't, is there anyway to get Flowise to get the same SSL on port 3000? Or how can I tell Flowise to only use http?
http://sub.domain.com:3000/ - everything works fine
https://sub.domain.com:3000/ - ERR_SSL_PROTOCOL_ERROR
I'm using Ubuntu Server with an Apache Web Server.

I have unsintalled Apache and installed nginx.
I got the Flowise's main page to load over HTTPS using certbot, however, the iFrame embeddings are not working:
I get the same message during the polling in my web browser's console:

Ok, I was able to resolve this issue by removing :3000 from the apiHost URL where I embed the chat.


Show all user list when user press @ .

Hello
Thanks for sharing nice video.
Want to show all user list when user press @ and after select any user want to show user name with @UserName .
Please let me know solution for that.

Closing for inactivity


Save and edit notes in book detail

https://github.com/shockbytes/DanteX/assets/26178557/175e5085-3f88-401d-b1e1-a799bbf23d69

@shockbytes take a look when you can!


Read Me

Read Me
US
As a boot camp student,
I want the prework notes to be structured on a webpage,
So that I can easily find and read the information.
AC
GIVEN the prework project repository,
WHEN I view the README for the repository,
THEN I can see a professional README that provides information on the project and how to use it

updated read me doc


[desktop] spanish translation updates.

will merge for now, those shortcut accelerators should work, but we need to test the UI in spanish to make sure. They'll be a lot more comfortable to use for sure if they end up like this.


Added a new user experience section

#111
I've made some changes in the website by adding 3 past-user testimonials.  I've also added hover effect on the cards to make it more appealing.
OUTPUT:

Hey @ananya-sh30 I like your changes but could you please place it above the get in touch section and make it horizontal rather than vertical?

i can make it @Its-Aman-Yadav  pleaae assign this

@Its-Aman-Yadav okay I'll make the changes asap

@Its-Aman-Yadav I've made the changes as per the requirement. Please let me know if any other changes are to be made.

Please resolve the conflicts

All the conflicts have been resolved now. Please review


Example needed for md-list-item using router-link

Hello.
When using vue-router router-link custom element and md-list-item from md-list component inside a sidenav component, how can achieve the best result?
http://codepen.io/fergardi/pen/rjZYYZ

hi, @fergardi
md-sidenav.md-left
    md-toolbar
      div.md-toolbar-container
        h3.md-title Navigation
    md-list
      md-list-item
        router-link(exact to="/iwant") I want
      md-list-item
        router-link(exact to="/to") To
      md-list-item
        router-link(exact to="/go") Go
      md-list-item
        router-link(exact to="/home") Home

Is that you looking for?

Perfect, thank you. Integration with vue-router should definitely be in the docs.

It will. I will fix that on the website. :)


Can't combine numeric and dot lists

Example:
<Markdown>
# AA{\n\n}
- A {\n\n}
- B{\n\n}
1. aaa{\n\n}
2. bbb
<Markdown>

Renders

I'm happy to help with a PR if you can point me to the right direction.

That's pretty weird indeed 🤔… If you want to check what's going on, you can have a look here. PR are always welcome 🙌!


Please support running the default implementation in actions specification

Description
If you want to customize actions you need redefine them including the default implementation. It would be great if one could write something similar to:
actions:
  post-modifications:
    - sed ...
    - default
    - sed...

I.e.: to run your pre sed command than the original action implementation (the keyword default or anything similar) and finally your post sed command.
IMHO the post-modifications doesn't have the default implementation, thus in this case the default would probably do nothing, but for other actions it could simplify things.
Benefit
It will simplify writing of customs actions.
Importance
Nice to have.
Workaround

[ ] There is an existing workaround that can be used until this feature is implemented.

Participation

[ ] I am willing to submit a pull request for this issue. (Packit team is happy to help!)

Hi @yarda !
We've discussed this within a team and ended in a slightly different solution to this:

Let's try to fix the core issue at first (=here, probably try to fix the other issues like #2481 or #2006 )
Rather than having the logic inside the commands, build the logic outside (e.g. by creating new actions/hooks or for each action the_action, have something like the_action_pre and the_action_post.)

Thanks, it's OK, I think the outcome for users is the same.


fix: moves auro library to dependencies in package.json #247

Alaska Airlines Pull Request
Moves Auro Library into dependencies from devDependencies to avoid installation issues, as originally reported in #573.
Resolves: #247
Summary:

Moved to dependencies within package.json
Regenerated package.lock
Verified build and test ran successfully

Type of change:
Please delete options that are not relevant.

[x] Revision of an existing capability

Checklist:

[x] My update follows the CONTRIBUTING guidelines of this project
[x] I have performed a self-review of my own update

By submitting this Pull Request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Pull Requests will be evaluated by their quality of update and whether it is consistent with the goals and values of this project. Any submission is to be considered a conversation between the submitter and the maintainers of this project and may require changes to your submission.
Thank you for your submission!
-- Auro Design System Team

:tada: This PR is included in version 3.0.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Limit chars option breaks change handlers and stat plugin

Jodit Version:  3.2.65
Browser:  Chrome (Version 78.0.3904.108 (Official Build) (64-bit))
OS:  Linux
Code
Code sandbox is available here via this link
Relevant Jodit config I'm using:
{
  limitChars: 5,
  buttons: [],
  toolbarAdaptive: false,
  showCharsCounter: true,
}

Expected behavior:
Both external and internal counters should display 5 when last character is entered
Actual behavior:
Both external and internal counters display 4 but it is clearly visible that 5 characters are entered

@xdan I've noticed that focusing the input after that updates both counters, maybe that helps


add expo backoff to c++ build

[x] Add analytics around C++ build attempts and failure.
[x] exponential backoff on delay before checking for new build
[x] give up after some time since it's not uncommon our build is down

It roughly takes a minute to fail.
Add cppcompile.poll, cppcompile.cancel, cppcompile.done ticks.

I'm not sure we need exponential back-off. If the build is on-going, the cloud will block the requested for JSON file for up to 30s. Hitting that JSON also doesn't start new compilation (only a POST request can do that), so there seems no harm in the current behavior. We should timeout though as you do now after a few tries (maybe 2-3 minutes).

Nobody is going to stay in front of the editor for 3 minutes thinking it's doing work. They'll refresh the page and go somewhere else.

I'm not sure we need exponential back-off. If the build is on-going, the cloud will block the request for JSON file for up to 30s (long-polling). Hitting that JSON also doesn't start new compilation (only a POST request can do that), so there seems no harm in the current behavior. We should timeout though as you do now after a few tries (maybe 2-3 minutes).

Retrying for up to 2min then give up.

Does this actually wait for 120s? I think it will wait for 12*(30+10), because the http get will hang for 30s.

@mmoskal  using time now


Keyword to get OS name

There are use cases where based on the OS type the commands or procedure changes in test.
root@ws0xxxx:~# . /etc/os-release && echo $NAME
Ubuntu
root@ws014p1:~#

[root@ws0xxx ~]# . /etc/os-release && echo $NAME
Red Hat Enterprise Linux Server
[root@ws002p1 ~]#

https://gerrit.openbmc-project.xyz/#/c/10894/

@micwalsh Have a changes which addresses this one. https://gerrit.openbmc-project.xyz/#/c/10907/
Closing it


fix(cli): add more dependencies for nuxt app

related: https://github.com/formkit/formkit/issues/1233

This makes sense. We used to rely on the adorable lil .npmrc that shipped with nuxt, but it has been admirably removed I see. well done.


increase maximum number of cloud storage attached files

My actions before raising this issue

[ x] Read/searched the docs
[x ] Searched past issues

Could not create the task
Error: Could not create the task on the server. 'The maximum number of the cloud storage attached files is 500'.

Steps to Reproduce (for bugs)

Create a new task
Select "Cloud Storage" tab
Select cloud storage
Select data source
check the folder. it currently has ~100k files. In the future, it will have ~100M.

Expected Behaviour
all files within the cloud storage folder are added into the task
Current Behaviour
A message pops up stating "'The maximum number of the cloud storage attached files is 500'"
https://github.com/opencv/cvat/blob/fd2575c7fba5a449232e574a1a46de7f34591c87/cvat/settings/base.py#L519
Possible Solution
add a environmental variable or setting to increase the maximum number of cloud storage attached files to an arbitrarily large number.
Context
I have many more than 500 images to label. Creating multiple tasks to include all the images is difficult. There is no way to know how many images I selected when checking a folder.
Your Environment

v 2.4.6 release tar, docker compose -f docker-compose.yml -f components/serverless/docker-compose.serverless.yml up on ubuntu 22.04 x86. Docker version 24.0.2, build cb74dfc

#6292
Personally I do not recommend to send 100M images to the server.
Probably task will not be created, better to select a parent directory only.
Related issue #4822

I ran into the same need and problem!
Did you fix this problem by changing the value of LOCAL_LOAD_MAX_FILES_COUNT?

@Pan-will did you found a workaround by any chances for this issue ?
We experience the same issue and are unable to fix it by settings CLOUD_STORAGE_MAX_FILES_COUNT in environment variable.


Functions in Kotlin: Android Basics in Compose

URL of codelab
https://developer.android.google.cn/codelabs/basic-android-kotlin-compose-functions?continue=https%3A%2F%2Fdeveloper.android.google.cn%2Fcourses%2Fpathways%2Fandroid-basics-compose-unit-1-pathway-1%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-compose-functions#3
In which task and step of the codelab can this issue be found?
in step 4
Describe the problem
missing the colon

Steps to reproduce?

Go to...
Click on...
See error...

Versions
Android Studio version:
API version of the emulator:
Additional information
Include screenshots if they would be useful in clarifying the problem.

@zhouzhouzhoumiao
Thank you for reaching out to us. The missing colon issue is fixed and will be published soon:


Do we care about these?

Deleting the template and starting a discussion thread instead.  I've been purposely taking the course a bit wrong and I found these issues.  Curious if there's desire to check for these or not.  I am seeing similar checks when I "make mistakes" :wink: in other parts of the course.

Doing the version number as v0.8 instead of v0.9 still passes.
Creating the Project using a template of Basic Kanban instead of Automated Kanban still passes.
Dragging the card to the wrong column still passes.

/cc @crichID @brianamarie @hectorsector @JasonEtco

Thanks for the report, @amyschoen! My two cents here are that I'd like to block the learner as little as possible -- I've learned the hard way that forcing a learner to do something the right way blocks their progress more often than it helps. So: I try to only do this when it's necessary for the course to work properly (say, if the name of the Release is necessary for the bot to respond).
That being said, I still think we can tackle this by giving the learner feedback, something like:

You didn't name your release v1.0, like I expected, but we'll move on anyway.

I like that approach @hectorsector.


[INLONG-3503] upgrade spring due to CVE

Fixes #3503
Motivation
Security issues
Modifications
Describe the modifications you've done.
Verifying this change

[X] Make sure that the change passes the CI checks.

(Please pick either of the following options)
This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Added integration tests for end-to-end deployment with large payloads (10MB)
Extended integration test for recovery after broker failure

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)
If a feature is not applicable for documentation, explain why?
If a feature is not documented yet in this PR, please create a followup issue for adding the documentation

@pjfanning, thanks, we just found this bug too!!


Change commit message and author

Change author to GitHub Actions Bot and change message according to these guidelines.

Thank you for you contribution. May I ask: where did the number 41898282 on the e-mail address come from?

It's the id of the GitHub Actions bot. You can see it here https://api.github.com/users/github-actions[bot].

Cool.
The change might be breaking if someone is inspecting the fields you changed for some reason, but I don't see a problem with it. If you're referencing the action master branch, you're subject to breaking changes. If you're not, you can just keep using an old version until a new feature you want comes out. Then you can refactor your inspections.
Thank you again for you contribution.

New release (0.0.3) available at https://github.com/Logerfo/newline-action/releases/tag/0.0.3 and https://github.com/marketplace/actions/newline-action.


Misspelled Word

Windows 10 includes the compatibility update, so you will automatically have the latest compatibility update so long as you continue to keep your Windows 10 devices up-to-date with cummulative updates.    Cumulative is spelled incorrectly.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 4273a259-c3c7-dca7-6353-954068d740a7
Version Independent ID: 1084ea77-95c4-4e4a-da6c-f4d8668f9ebf
Content: Enrolling devices in Windows Analytics (Windows 10)
Content Source: windows/deployment/update/windows-analytics-get-started.md
Product: w10
GitHub Login: @jaimeo
Microsoft Alias: jaimeo

Fixed.

This issue can be closed.

@PhillyUrbs - From our understanding the issue has been resolved. If you feel it hasn't been resolved please re-open this issue.
Thank you for reporting and making the docs better. Much appreciated.

@AndreaBarr - This issue can be closed. Thank you.


[SPARK-48297][SQL] Fix a regression TRANSFORM clause with char/varchar

What changes were proposed in this pull request?

TRANSFORM with char/varchar has been accidentally invalidated since 3.1 with a scala.MatchError, this PR fixes it
Why are the changes needed?

bugfix
Does this PR introduce any user-facing change?

no
How was this patch tested?

new tests
Was this patch authored or co-authored using generative AI tooling?

no

cc @cloud-fan

Merged to master and 3.5
Thank you @HyukjinKwon

late LGTM


tests: net: socketpair: fix user work queue initialization

We should not expect using k_work_submit_to_user_queue() with a work queue created by k_work_q_start() to be acceptable, though this is not currently checked.  Switch to the API designed to start work queues that use user threads.
Fixes #30072
(NB: This is a first step to trying to clean up the concept of work queues that can be submitted to from userspace.)

Unfortunately this doesn't work, apparently because the test creates sockets but does not grant the user thread running the work queue access to them.
START - test_socketpair_read_block
E: thread 0x129024 (0) does not have permission on NET_SOCKET 0x12a5e8
E: permission bitmap
E: 10 00                   |..

@jukkar @cfriedt Should this API be supported from usermode, or is the correct solution to change the test to do everything from privileged threads?

Would it be possible to simply grant privileges?
Socketpair should be supported in user mode.
Two separate threads within the same "domain" / process / address space should have equal permissions to the both ends of a socketpair. Normally, that is accomplished by giving each address space it's own set of file descriptors. IIRC, we do not (yet) do that in Zephyr.

Would it be possible to simply grant privileges?

Probably, if the socket pair was created in a privileged context that allowed granting. That doesn't seem to be what the test does: the pairs are being created by a userspace thread, then the work thread is expected to be able to use them.
There's currently no allowed way to grant a userspace work thread access to objects.  That's something that should be addressed by fixing the userspace work API.  But this test will have to be refactored considerably to use it correctly.  I think the best way forward is probably to switch this test to use normal work queues, then when userspace work queues have the required functionality add a few tests where the socket pairs are managed from a privileged context but used by userspace.

Completely replaced since there's no way I can see for a user thread that creates a kernel object to grant another user thread rights to use it, when the object is identified by a descriptor.  See updated issue description and commit.
If there is a way, I'll rework this and add API so a user work queue can be granted access to the created socket pairs.


zoneminder: Fix database name and username

Motivation for this change
PR #56889 messed up db and use naming while fixing the scope of the initialDatabases property.
This patch fixes the issue.
Things done
Invert the values of ZM_DB_NAME and ZM_DB_USERNAME that were previously messed up.

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

[x] 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 nox --run "nox-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)
[ ] Assured whether relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

huh, thanks guys!


Problem with MODBUS RTU (IDFGH-8804)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report
IDF version used: v4.4.3
Operating System used: Windows
IDE used: VS Code IDE
Development Kit: ESP-32 WROOM 32D Devkit
When I tried using the inbuilt example of the MODBUS (i.e. mb_master) by making some changes as per my needs, I observed that I am unable to print the data in the desired format, but I am getting the correct data in the hexadecimal format.
I tried mulitple ways of solving it, but failed.
I am also attaching the screenshot for the reference.

Hello @Kunal2019 ,
The value is displayed incorrectly because the official example uses the float format for Humidity and Temperature  values.
https://github.com/espressif/esp-idf/tree/master/examples/protocols/modbus/serial/mb_master#example-parameters-definition
If you configure the ModbusPoll as below you will be able to see the correct float values.

Refer the documentation to understand how to configure the data dictionary (PARAM_TYPE_U16 parameter in your case):
https://docs.espressif.com/projects/esp-modbus/en/latest/esp32/master_api_overview.html#configuring-master-data-access

@Kunal2019 Thanks for reporting, would you please help share if any further updates for the issue? Thanks.

Thanks for reporting, will close due to short of feedback, feel free to reopen with more updates. Thanks.


Import monitors via CSV file

⚠ Please verify that this feature request has NOT been suggested before.

[X] I checked and didn't find similar feature request

🏷 Feature Request Type
UI Feature
🔖 Feature description
Make an option to import monitors via an CSV file.
Also provide an example.csv file for all the fields that can be used or a help page. With more information.
When moving from another service this will be very helpfull.
And also if you have multiple local things or things you want monitor. And import can save a lot of time / clicking around.
✔ Solution
Import monitors from CSV file
❓ Alternatives
No response
📝 Additional Context
There are multiple requests on this, mostly to import from other services.

I think this is a duplicate of https://github.com/louislam/uptime-kuma/issues/1190 https://github.com/louislam/uptime-kuma/issues/2297
If you agree, could you please close this Issue, as duplicates only create immortal zombies and are really hard to issue-manage?
If not, what makes this issue unique enough to require an additional issue? (Could this be integrated into the issue linked above?) ^^

Well, yes and no. It specifies the import from UptimeRobot.
And more specified to bulk add. But what we need is import via .csv and a demo file.
So i'll let you be the judge of it.
Think its a really needed / missing feature.

I don't see a difference between importing a CSV file and importing a CSV file.

#2297

Right, sorry i overlooked the details in: https://github.com/louislam/uptime-kuma/issues/1190 hope this feature will make it into uptime-kuma soon. Closing the issue!


Cancancan documentation

Hi!
Thanks for your awesome's work on this gem!
I've followed your CanCanCan documentation but it didn't work until i've added this configuration:
# app/graph/graphql_schema.rb
GraphqlSchema = GraphQL::Schema.define do
  query QueryType
  mutation MutationType

  use GraphQL::Guard.new

  resolve_type -> (obj, args, ctx) {
    type_name = obj.class.name
    Schema.types[type_name]
  }
end

I use raphql-guard (~> 1.0.0) on rails 5.1
Did i missed something?

Hey!

it didn't work until i've added this configuration
Where there any errors?

What did you exactly add to fix the problem: use GraphQL::Guard.new or resolve_type? What's the graphql-ruby version do you use?
Thanks

What did you exactly add to fix the problem:

use GraphQL::Guard.new
and i use the latest version of graphql-ruby : 1.6.7

@bricesanchez thanks for your reply!
In the Usage section, there are 2 categories:

Inline policies

The first sentence states "Add GraphQL::Guard to your schema":
Schema = GraphQL::Schema.define do
  # ...
  use GraphQL::Guard.new
end

Policy object

"Pass this object to GraphQL::Guard":
Schema = GraphQL::Schema.define do
  # ...
  use GraphQL::Guard.new(policy_object: GraphqlPolicy)
end

So, in the Integration section I was referring to the same Schema from the Usage section :)
If you find it confusing, feel free to open a Pull Request to update the README.
I'll be glad to merge it 🙌


KAFKA-14133: Migrate ProcessorStateManagerTest and StreamThreadTest to Mockito

This pull request is an attempt to get what has started in https://github.com/apache/kafka/pull/12524 to completion as part of the Streams project migration to Mockito.

@clolov It's been a while since this PR. Is it still relevant? If yes, I can take a look at this next week. Please rebase from trunk.

The pull request is still relevant! Don't review it for now, I will rebase once more and address any outstanding comments and ping you when ready.

This has since been rebased!

Heya @ijuma! Divij is taking some time off, would it be possible for you to review these pull requests as there are only a few left to finish the Mockito migration for 3.7!

@cadonna Any chance you can help review this?

Heya @cadonna! Thanks for the review, I hope I have addressed all of your comments. The pull request has also since been rebased.

Polite ping @cadonna! I have found that shouldEnforceRebalanceWhenScheduledAndNotCurrentlyRebalancing[0] – org.apache.kafka.streams.processor.internals.StreamThreadTest is a bit flaky. What I can propose as a solution is to change the strictness of the assertion, but I would like to get your opinion on whether there is something obvious which could cause it to sometimes pass and sometimes not.

Heya @cadonna! Many thanks for the review and apologies for the delay. Yes, it makes perfect sense, I also came across
I=0; while ./gradlew clients:test --tests RequestResponseTest --rerun --fail-fast; do (( I=$I+1 )); echo "Completed run: $I"; sleep 1; done

from the Kafka README.
Hopefully I have addressed everything!


If the current behavior is a bug, please provide the steps to reproduce.
i have nested files:
//index.js
import(/* webpackChunkName: "assets/Events/bind" */ 'Events/bind').
then(cb => {
console.log("should be last.")
})

// assets/Events/listener.js
import(/* webpackChunkName: "assets/Events/index" */ 'Events/index').
then(cb => {
const {Company} = cb
Company.events.listener = function(){
  console.log('success')
}
exports.Company = Company
})

// assets/Events/bind.js
import(/* webpackChunkName: "assets/Events/index" */ 'Events/index').
then(cb => {
const {Company} = cb
Company.events.bind = function(){
import(/* webpackChunkName: "assets/Events/listener" */ 'Events/listener').
then(cb => {
    Company.events.listener()
})
}
exports.Company = cb
})

// assets/Events/index.js
import(/* webpackChunkName: "assets/Events/index" */ 'Events/index').
then(cb => {

const {Company} = cb
Company.events = {}
exports.Company = Company

})

// assets/Company/index.js
const Company = {}
exports.Company = Company

What is the expected behavior?
callback should return a value of  exports.foo to caller
If this is a feature request, what is motivation or use case for changing the behavior?
bug
Please mention other relevant information such as the browser version, Node.js version, webpack version and Operating System.
node v8.1.4

You incorrectly assuming that import() waits for nested import()s. That's not true. Assigning exports in a callback in any async operation is (in most cases) wrong. A module counts as evaluated when the first sync evaluation has finished.
Don't mix exports. (CommonJs export) with ESM. Rewrite your code to use import (not import()) and export (not exports.). i. e.
// assets/Events/listener.js
import { Company } from 'Events/index';

Company.events.listener = function(){
  console.log('success')
}
export { Company }

This should work.

then you must change the documentation then..
https://webpack.js.org/guides/lazy-loading/
// Note that because a network request is involved, some indication

// of loading would need to be shown in a production-level site/app.
button.onclick = e => import(/* webpackChunkName: "print" */ './print').then(module => {

var print = module.default;

print();

});

all of the webpack documentation is wrong..
module should be undefined..
im just relying on docs. and clearly there is a bug here..
and yes. please open this as i will make a patch.

i wad referring to .then callback
import(/* webpackChunkName: "print" */ './print').then(module => { module.default // bug here as its undefined if not loaded yet. in the documentation its returning a value. if its not loaded yet it downloading it on the fly. })

You have two options:

download on the fly in a cascading order
download them all together using a Promise.all

1
import('a').then(a => {
  import('b').then(b => {
    const { aSomething } = a;
    const { bSomething } = b;
    // ... do what you want
  })
})

2
const promiseA = import('a');
const promiseB = import('b');
Promise.all([promiseA, promiseB]).then((a, b) => {
    const { aSomething } = a;
    const { bSomething } = b;
    // ... do what you want
})

bug here as its undefined if not loaded yet. in the documentation its returning a value. if its not loaded yet it downloading it on the fly.

This works.
Just make sure to use export default ...

i think i can fix the bug here..
instead of return promise
should be return Promise.all(promise)
so .then will not be undefined
On Jul 21, 2017 4:55 AM, "Tobias Koppers"<EMAIL_ADDRESS>wrote:

bug here as its undefined if not loaded yet. in the documentation its
returning a value. if its not loaded yet it downloading it on the fly.
This works.
Just make sure to use export default ...
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/webpack/webpack/issues/5328#issuecomment-316827077,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AZMy4Z1Tty_D-Vx2uHn95r3PftGat82Mks5sP765gaJpZM4OdyYb
.

like i said export is undefined in the return of .then when the resource is not yet finished downloaded.

its very clear that for async you can just import and the next line the code will execute. thats called async. but if you put the code inside the .then function, it should execute only after the promise is completed or rejected. in this case the code is executed in .then function even the promise is still pending which i think a bug.


new theme: hexo-theme-linear

Check List
Please read and check followings before submitting a PR.

[x] I want to publish my theme on Hexo official website.

[x] I have read the theme publishing doc.
[x] name is unique.
[x] link URL is correct.
[x] preview URL is correct.
[x] preview URL web site is rendered correctly.
[x] Add a screenshot to source/themes/screenshots.
[x] Screenshot filename is same as value of name.
[x] Screenshot size is 800 * 500.
[x] Screenshot file format is png.

[ ] I want to publish my plugin on Hexo official website.

[ ] I have read the plugin publishing doc.
[ ] name is unique.
[ ] link URL is correct.

[ ] Others (Update, fix, translation, etc...)

Languages:
[ ] en English
[ ] ko Korean
[ ] pt-br Brazilian Portuguese
[ ] ru Russian
[ ] th Thai
[ ] zh-cn simplified Chinese
[ ] zh-tw traditional Chinese

@SukkaW Hello, hearing that there is an opportunity to join hexojs on GitHub. I've sent application email and I haven't got any reply yet. I wonder if there are other ways to join hexojs org?


Blizzard Login not detected

Not sure what's happening here, but logging into the Blizzard site doesn't generate a password. It would seem that they're replacing the password input .value on form submission. Will have to test to see if this can be counteracted.

Expedia also doesn't work.

Ebay opens two notification alerts.


Firmware size too big

I followed the instructions to upload the firmware to my Arduino Uno . After compiling, i get the error that  sketch is too big : 32.712 byte (%101). Max : 32.256byte.
Is this firmware designed for bigger boards? It compiles ok if i choose mega board.
OS X 10.11.3

It is intended to be used for the Uno, as well as larger boards.  I have just recently added back in the Servo and Stepper libraries, and that may be what is causing it to exceed the flash limit for you.  In my builds on the Uno, I am still very slightly under the limit, but that may be because I am using a command line build as opposed to the IDE, and the compiler options may be different.
I have also added conditional compilation of command type handling, so you should be able to get it small enough to run on an UNO if you are not using all of the interfaces.
In HaskinoConfig.h, at the end of the file there are several defines for each of the modules.  For example, if you are not using I2C, then change #define INCLUDE_I2C_CMDS to
#undef INCLUDE_I2C_CMDS.  (and the same for One Wire, Server, or Stepper, or other interfaces  you are not using).
I may add some additional configuration in the near future to control other aspects of the language that may not be used.

I guess you are speaking about HaskinoComm.cpp. I was able to upload to UNO playing with this file.

Actually, I was speaking about HaskingConfig.h, but I need to apologize. When I added the conditional compilation, I forgot to push the last two changes to github.  If you pull the latest version, you will find the conditional compilation macros now in that header file.

Works fine on my Uno.


[Feature] Add options in .tesf file for persistent MOBs

Pre-Request Checklist

[x ] I have checked that I am on the latest version of Terra.
[x ] I have searched github for similar features requests, including closed ones, and found none.
[x ] I believe this is within the scope of Terra.
[x ] This feature request is for all of Terra, and isn't something that should be implemented by a pack or addon.

Feature Description
In .tesf files there are the
entity(-18, y + 9, -25, "ELDER_GUARDIAN");
lines.
It should be possible to add an option like
entity(-18, y + 9, -25, "ELDER_GUARDIAN", persistent);
to make the mob spawn with setPersistent(true) option.
What Problem Does This Solve?
Guardians despawning, pillager despawning, mob despawning in general.
A Solution You'd Like
Just check in the TESF file parser if hte persistent keywork is present, and if it is, set myEntity.setPersistent(true);
Alternative Solutions
No alternative.
Additonal Context
--

Well, thanks for the closing explanations.

#111 sort of, this issue as a whole is simply invalid, because spawned mobs are already persistent.
Duplicates/Invalid issues will be closed without explanation if it's obvious why they're being closed.

Spawned mobs are not persistent if you don't manually set setPersistent(true), exception made for Elder Guardians and other bosses.
I fixed it myself with literraly one line of code in the BukkitWorld.java file in the spawnEntity(...) method:
bukkitEntity.getHandle().setPersistent(true);
(after saving the new entity in a variable of course)


Ambiguos command line options.

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
Hello!
I used many times the commands:
cilium install --set ipam.mode=kubernetes,k8sServiceHost=<IP_ADDRESS>
cilium install --set ipam.mode=kubernetes --set k8sServiceHost=<IP_ADDRESS>

and they worked fine for me.
Right now I found that when running them - no errors are displayed, but for some reason cilium CLI does not recognise k8sServiceHost substituting the host ip.
Now I need to use command:
cilium install --set ipam.mode=kubernetes --set-string k8sServiceHost=<IP_ADDRESS>

I want to emphasise that there is no good and understandable difference why we need to use for some values --set and for others --set-string. From my POV they are just "strings".
so...

As a DevOps engineer I want to get the error message directly stating that I am using and improper --set argument for the helm value
As a DevOps engineer I'd prefer to have one consistent way to set up all helm values on command line.

Cilium Version
cilium version
cilium-cli: v0.15.14 compiled with go1.21.4 on linux/amd64
cilium image (default): v1.14.2
cilium image (stable): v1.14.4
cilium image (running): 1.14.2

Kernel Version
Linux ubuntu-standard-4-8-60gb 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Kubernetes Version
Client Version: v1.28.2
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.28.2

Sysdump
No response
Relevant log output
No response
Anything else?
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

I agree the distinction between --set and --set-string is awkward. It is a detail of the underlying helm installer "leaking out".
This is because helm install also exposes both --set and --set-string flags. It does this because --set key=5 will treat key as having an integer value. This may not be what you want, so you can override with --set-string.
I don't expect us to change this; cilium install is quite open in being a thin wrapper around Helm. If you are automating cluster creation, it may make sense to create a values.yaml containing the parameters you care about. cilium install will fill in sane defaults for unspecified parameters.


macOS: UDPv4Transport address already in use (errno 48) when interface has more than one IP

I've been trying to run some of the ros2 examples with FastRTPS on OS X (10.11.6), all failed with the following exception:
libc++abi.dylib: terminating with uncaught exception of type boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::system::system_error> >: set_option: Address already in use
This results from the call to setopt (IP_ADD_MEMBERSHIP) here:
https://github.com/eProsima/Fast-RTPS/blob/master/src/cpp/transport/UDPv4Transport.cpp#L172
For whatever reason, my system had an additional IP alias set up for loopback interface lo0. The first iteration through the loop it adds this interface to the group successfully with ip=<IP_ADDRESS>. The next iteration with the aliased IP causes the crash.
Issue should be easily reproduced by ifconfig lo0 alias <IP_ADDRESS> and running any program that uses Domain::createParticipant()

Did a bit of digging and I'm pretty sure VMWare is the source of the IP loopback alias. So this probably won't affect many users but it's not a completely exotic system configuration.
If I had an elegant solution I'd contribute a patch. It may be the case, though, that this is a reasonable place to violate the fail-fast principle and just catch/log the exception. It should be a fatal error if all addresses fail to join the multicast group, but if some fail I imagine most users would prefer the program continue.

I think I had a similar situation with droplet (https://cloud.digitalocean.com/droplets)
user@ubuntu-16:~/ros2_ws/src/eProsima/Fast-RTPS/examples/C++/ClientServerTest/hoge$ ./ClientServerTest  server
Starting
terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::system::system_error> >'
  what():  set_option: Address already in use
Aborted
user@ubuntu-16:~/ros2_ws/src/eProsima/Fast-RTPS/examples/C++/ClientServerTest/hoge$ ifconfig
eth0      Link encap:Ethernet  HWaddr 82:9a:25:9d:c5:27
          inet addr:<IP_ADDRESS>  Bcast:<IP_ADDRESS>  Mask:<IP_ADDRESS>
          inet6 addr: fe80::809a:25ff:fe9d:c527/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:12886 errors:0 dropped:0 overruns:0 frame:0
          TX packets:13055 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:93452469 (93.4 MB)  TX bytes:2127448 (2.1 MB)

eth1      Link encap:Ethernet  HWaddr a2:4d:52:0a:f6:63
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:639 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:114938 (114.9 KB)

lo        Link encap:Local Loopback
          inet addr:<IP_ADDRESS>  Mask:<IP_ADDRESS>
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:21 errors:0 dropped:0 overruns:0 frame:0
          TX packets:21 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1
          RX bytes:1126 (1.1 KB)  TX bytes:1126 (1.1 KB)

@k-okada , did you find the issue that was causing Address already in use in Fast-RTPS with certain network configs?

@ruffsl , no, but what I found is that we need to escape on some condition or catch error on set_option.
user@ubuntu-16:~/ros2_ws/src/eProsima/Fast-RTPS$ git diff
diff --git a/src/cpp/transport/UDPv4Transport.cpp b/src/cpp/transport/UDPv4Transport.cpp
index 6854dd6..888351c 100644
--- a/src/cpp/transport/UDPv4Transport.cpp
+++ b/src/cpp/transport/UDPv4Transport.cpp
@@ -169,7 +169,9 @@ bool UDPv4Transport::OpenInputChannel(const Locator_t& locator)
         for (const auto& infoIP : locNames)
         {
             auto ip = boost::asio::ip::address_v4::from_string(infoIP.name);
-            socket.set_option(ip::multicast::join_group(ip::address_v4::from_string(locator.to_IP4_stri
ng()), ip));
+           std::cerr << "ip " << infoIP.name << std::endl;
+           if ( infoIP.name != "<IP_ADDRESS>" && infoIP.name != "<IP_ADDRESS>" )
+           socket.set_option(ip::multicast::join_group(ip::address_v4::from_string(locator.to_IP4_strin
g()), ip));
         }
     }

This is still an issue. As another data point, I get this error on OS X if I have a VPN connection:
$ RMW_IMPLEMENTATION=rmw_fastrtps_cpp ros2 run demo_nodes_cpp talker
libc++abi.dylib: terminating with uncaught exception of type std::__1::system_error: set_option: Address already in use
Abort trap: 6

Disconnecting from the VPN fixes it. This can easily be people's first experience with fastrtps/ROS 2, so it would be great to at least improve the error message for this.
For reference, the equivalent behaviour with opensplice gives:
$ RMW_IMPLEMENTATION=rmw_opensplice_cpp ros2 run demo_nodes_cpp talker
========================================================================================
Report      : WARNING
Date        : Fri Dec 08 10:40:08 PST 2017
Description : using network interface en0 (<IP_ADDRESS>) selected arbitrarily from: en0, tap0, tap0

Node        : dmp-2.local
Process     : talker <51561>
Thread      : ddsi2 10c862000
Internals   : 6.7.171127OSS/fcc005a2/fcc005a2/ddsi2/q_nwif.c/988/0/1512758408.733316000/70
[INFO] [talker]: Publishing: 'Hello World: 1'
[INFO] [talker]: Publishing: 'Hello World: 2'

Solved long ago by using the code provided by the OP. Closing this issue


[Flutter Driver] Simplified the serialization/deserialization logic of the Descendant/…

…Ancestor matchers.
Instead of flattening the "of" and "matching" matchers to the JSON string, using jsonEncode/jsonDecode to convert the matchers to String/from String.
This will make the serialization in Espresso/Java much simpler.
Description
Updated the serialization/deserialization logic for the Descendant/Ancestor matchers. Take the "get_diagnostics_tree" for example.
Before:
{"id":"message-7","method":"ext.flutter.driver","params":{"isolateId":"isolates/4120307314110843","of_keyValueType":"String","of_keyValueString":"TwoTimesCounterContainer","of_finderType":"ByValueKey","matching_type":"Text", "matcher_finderType":
"ByType","finderType":"Descendant","diagnosticsType":"widget","includeProperties":true,"subtreeDepth":20,"command":"get_diagnostics_tree","timeout":10000},"jsonrpc":"2.0"}
After:
{"id":"message-7","method":"ext.flutter.driver","params":{"isolateId":"isolates/4120307314110843","of":"{\"keyValueType\":\"String\",\"keyValueString\":\"TwoTimesCounterContainer\",\"finderType\":\"ByValueKey\"}","matching":"{
\"type\":\"Text\",\"finderType
":\"ByType\"}","finderType":"Descendant","diagnosticsType":"widget","includeProperties":true,"subtreeDepth":20,"command":"get_diagnostics_tree","timeout":10000},"jsonrpc":"2.0"}
Tests
flutter_test test/src/extension_test.dart still passes.
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I signed the CLA.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I updated/added relevant documentation (doc comments with ///).
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require Flutter developers to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change (Please read Handling breaking changes). Replace this with a link to the e-mail where you asked for input on this proposed change.
[x] No, this is not a breaking change.

This didn't require any changes to tests?

Ah, forgot about the find_test.dart. On it.

This didn't require any changes to tests?

Tests are updated.

LGTM
Technically, this is a breaking change for anybody using the API, but that's probably just flutter driver and you?

Yep, I think so.


Allow export CSV of reward tab transactions

Please add a feature on Tomoscan to allow the export/download of reward transactions to a CSV file.  It is very difficult to manually copy/paste all reward income transactions for purposes of income tax reporting.  A simple export with the following information would be great:
1.) Date/time stamp
2.) Amount of reward
3.) Wallet address

Currently, we have no plan to add this feature.
In order to get reward data for a voter/owner, you can use this api: https://apidocs.tomochain.com/#get-list-rewards-of-a-voter
e.g: https://scan.tomochain.com/api/rewards/0x48c4eef517b79ff5259374fed4245359d8fb3ea9?page=1&limit=50

Will do it in the feature #733

Reopen it. Will support to export CSV for reward

ready on testnet


Fix compose/swarm/network docs

Add a link to the docs to the readme and fix them so they actually work! Thanks to @aanand for help here.

LGTM


Replaced ... with blank on locations distance

https://app.asana.com/0/1135320259326480/1156116112038730

Approved


PVC create fails during ONTAP upgrade

Describe the bug
During an ONTAP cluster upgrade a PVC is submitted which is scheduled on an aggregate of a failed over node. The PVC remains in a pending state and Trident logs show:
time="2020-02-06T22:37:51Z" level=debug msg="Volume event." eventType=Normal message="encountered error(s) in creating the volume: [Failed to create volume pvc-522156b9-dc3f-432d-af06-e9c032e7356b on storage pool aggr_cl01_06_SSD from backend ontap-nas: backend cannot satisfy create request for volume FS_pvc_522156b9_dc3f_432d_af06_e9c032e7356b: (ONTAP-NAS pool aggr_cl01_06_SSD/aggr_cl01_06_SSD; error creating volume FS_pvc_522156b9_dc3f_432d_af06_e9c032e7356b: API status: failed, Reason: Failed to create the volume on node "rtp-sa-cl01-05". Reason: Operation is disallowed on an aggregate which is not home. , Code: 13130)]" name=pvc-522156b9-dc3f-432d-af06-e9c032e7356b reason=ProvisioningFailed
Environment
Provide accurate information about the environment to help us reproduce the issue.

Trident version: 20.01
Trident installation flags used: -n
Container runtime: on-prem NKS
Kubernetes version: 1.15.0
Kubernetes orchestrator: Kubernetes (NKS)
Kubernetes enabled feature gates: [e.g. CSINodeInfo]
OS: Debian
NetApp backend types: ONTAP-NAS, 4 node 8020 cluster, ONTAP 9.6P2 upgrading to ONTAP 9.7
Other:

To Reproduce
Steps to reproduce the behavior:
Perform ONTAP upgrade and when one node is taken over, submit a PVC
Expected behavior
A clear and concise description of what you expected to happen.
The PVC will remain in a pending state
Additional context
Add any other context about the problem here.

I'm not sure I understand the problem. You state that the PVC remains pending but then say that is what you expect to happen. ONTAP does not allow us to create volumes on aggrs that are not "home." So the volume create request will fail and the PVC will remain pending. Every minute or so k8s will retry the create and we will continue to fail until the aggr is back "home." Is this not the behavior you are seeing?

I meant that on recreating the problem I’d expect that to happen. My expectation was that an ONTAP upgrade would be nondisruptive to Trident operations.
Seth Forgosh
Solution Architect - Open Ecosystem, Virtualization & Flash

From: Andrew Kerr<EMAIL_ADDRESS>Sent: Thursday, February 6, 2020 6:29:15 PM
To: NetApp/trident<EMAIL_ADDRESS>Cc: Forgosh, Seth<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [NetApp/trident] PVC create fails during ONTAP upgrade (#340)
NetApp Security WARNING: This is an external email. Do not click links or open attachments unless you recognize the sender and know the content is safe.
I'm not sure I understand the problem. You state that the PVC remains pending but then say that is what you expect to happen. ONTAP does not allow us to create volumes on aggrs that are not "home." So the volume create request will fail and the PVC will remain pending. Every minute or so k8s will retry the create and we will continue to fail until the aggr is back "home." Is this not the behavior you are seeing?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/NetApp/trident/issues/340?email_source=notifications&email_token=AAJXBGBA7HBRCEHYDDZ4U7LRBSMMXA5CNFSM4KRFK3CKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELBFONI#issuecomment-583161653, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAJXBGCPOGTQV6OGSLIIEBDRBSMMXANCNFSM4KRFK3CA.

Likewise, I fail to see the problem.  If the only aggregate that can satisfy a provisioning request happens to be owned by a failed-over node, and ONTAP disallows new volumes on aggrs in that state, then we're kinda stuck.  OTOH, if the ONTAP cluster has multiple aggrs that can satisfy a provisioning request, and one or more of those aggrs are on a node that isn't failed over (or even a different cluster), Trident will try them in turn until one succeeds.  Failing that, Kubernetes will keep trying and the provisioning will eventually succeed when the upgrade is done.  Are you seeing something different?

Agreed. If ONTAP disallows creating volumes then there isn’t an issue. I was not aware that this was the case.
Seth Forgosh
Solution Architect - Open Ecosystem, Virtualization & Flash

From: Clinton Knight<EMAIL_ADDRESS>Sent: Thursday, February 6, 2020 7:01:14 PM
To: NetApp/trident<EMAIL_ADDRESS>Cc: Forgosh, Seth<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [NetApp/trident] PVC create fails during ONTAP upgrade (#340)
NetApp Security WARNING: This is an external email. Do not click links or open attachments unless you recognize the sender and know the content is safe.
Likewise, I fail to see the problem. If the only aggregate that can satisfy a provisioning request happens to be owned by a failed-over node, and ONTAP disallows new volumes on aggrs in that state, then we're kinda stuck. OTOH, if the ONTAP cluster has multiple aggrs that can satisfy a provisioning request, and one or more of those aggrs are on a node that isn't failed over (or even a different cluster), Trident will try them in turn until one succeeds. Failing that, Kubernetes will keep trying and the provisioning will eventually succeed when the upgrade is done. Are you seeing something different?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/NetApp/trident/issues/340?email_source=notifications&email_token=AAJXBGBDY6VPXG4QQM7FXU3RBSQEVA5CNFSM4KRFK3CKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELBHTWA#issuecomment-583170520, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAJXBGFOJFCPZ2M5DB5ILEDRBSQEVANCNFSM4KRFK3CA.

Confirmed that is the case. We can close the issue.
Seth Forgosh
Solution Architect - Open Ecosystem, Virtualization & Flash

From: Forgosh, Seth<EMAIL_ADDRESS>Sent: Thursday, February 6, 2020 7:03:08 PM
To: NetApp/trident<EMAIL_ADDRESS>NetApp/trident<EMAIL_ADDRESS>Cc: Author<EMAIL_ADDRESS>Subject: Re: [NetApp/trident] PVC create fails during ONTAP upgrade (#340)
Agreed. If ONTAP disallows creating volumes then there isn’t an issue. I was not aware that this was the case.
Seth Forgosh
Solution Architect - Open Ecosystem, Virtualization & Flash

From: Clinton Knight<EMAIL_ADDRESS>Sent: Thursday, February 6, 2020 7:01:14 PM
To: NetApp/trident<EMAIL_ADDRESS>Cc: Forgosh, Seth<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [NetApp/trident] PVC create fails during ONTAP upgrade (#340)
NetApp Security WARNING: This is an external email. Do not click links or open attachments unless you recognize the sender and know the content is safe.
Likewise, I fail to see the problem. If the only aggregate that can satisfy a provisioning request happens to be owned by a failed-over node, and ONTAP disallows new volumes on aggrs in that state, then we're kinda stuck. OTOH, if the ONTAP cluster has multiple aggrs that can satisfy a provisioning request, and one or more of those aggrs are on a node that isn't failed over (or even a different cluster), Trident will try them in turn until one succeeds. Failing that, Kubernetes will keep trying and the provisioning will eventually succeed when the upgrade is done. Are you seeing something different?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/NetApp/trident/issues/340?email_source=notifications&email_token=AAJXBGBDY6VPXG4QQM7FXU3RBSQEVA5CNFSM4KRFK3CKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELBHTWA#issuecomment-583170520, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAJXBGFOJFCPZ2M5DB5ILEDRBSQEVANCNFSM4KRFK3CA.