Compile Error

duplicate symbol _OBJC_CLASS_$_Gym in:
    /Users/Adam/Library/Developer/Xcode/DerivedData/iPokeGo-gjzykixsfgxexvdcpuclporiuoaj/Build/Intermediates/iPokeGo.build/Debug-iphoneos/iPokeGo.build/Objects-normal/arm64/Gym+CoreDataClass.o
duplicate symbol _OBJC_METACLASS_$_Gym in:
    /Users/Adam/Library/Developer/Xcode/DerivedData/iPokeGo-gjzykixsfgxexvdcpuclporiuoaj/Build/Intermediates/iPokeGo.build/Debug-iphoneos/iPokeGo.build/Objects-normal/arm64/Gym+CoreDataClass.o
duplicate symbol _OBJC_CLASS_$_PokeStop in:
    /Users/Adam/Library/Developer/Xcode/DerivedData/iPokeGo-gjzykixsfgxexvdcpuclporiuoaj/Build/Intermediates/iPokeGo.build/Debug-iphoneos/iPokeGo.build/Objects-normal/arm64/PokeStop+CoreDataClass.o
duplicate symbol _OBJC_METACLASS_$_PokeStop in:
    /Users/Adam/Library/Developer/Xcode/DerivedData/iPokeGo-gjzykixsfgxexvdcpuclporiuoaj/Build/Intermediates/iPokeGo.build/Debug-iphoneos/iPokeGo.build/Objects-normal/arm64/PokeStop+CoreDataClass.o
duplicate symbol _OBJC_CLASS_$_Pokemon in:
    /Users/Adam/Library/Developer/Xcode/DerivedData/iPokeGo-gjzykixsfgxexvdcpuclporiuoaj/Build/Intermediates/iPokeGo.build/Debug-iphoneos/iPokeGo.build/Objects-normal/arm64/Pokemon+CoreDataClass.o
duplicate symbol _OBJC_METACLASS_$_Pokemon in:
    /Users/Adam/Library/Developer/Xcode/DerivedData/iPokeGo-gjzykixsfgxexvdcpuclporiuoaj/Build/Intermediates/iPokeGo.build/Debug-iphoneos/iPokeGo.build/Objects-normal/arm64/Pokemon+CoreDataClass.o
ld: 6 duplicate symbols for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Trying to compile against latest commit https://github.com/istornz/iPokeGo/commit/cf021b1135b5ab0f81bca1b3526b169d451eee2b
Any thoughts? Xcode beta 8 and ios 10 beta

Very strange, it works for me with Xcode 7 and 8 beta. Try re-download the project and compile it with Xcode 7 (to run on iOS 10 beta, copy developer image in Xcode 7 : this is for iOS 8.4 but works with iOS 10 beta)

I'm running into the same error with Xcode 8.0 and iOS 9.3.

xcode 7 and ios 10 does indeed work! strange, all previous versions have worked. Thanks for the tio :)


Make OperationChain implement Operation

This change will enable the creation of nested OperationChain objects, making it easier to construct complex queries from existing OperationChains.

Merged into develop.


Add carousel card for next webinar

Card contents:
Q&A Webinar on Wednesday, October 30th
Please join us for another Q&A webinar on October 30th at 1 PM EDT/10 AM PDT/1700 UTC. We will focus primarily on the actual “analytics” part of the website: the Analyze buttons that will take users to workflows specific to the genome being worked on for various analysis types. Please join in and give feedback on our direction, as this is still early in development.
Zoom link

Complete


Different methodology to resource change rate

I think instead of a random number in a fixed range being added each time, like in the case of Wood, Water etc, and instead of having current food exactly inversely related to square root of population, we ought to have a rate of production of each of these on the planet. Along with a max cap for each resource
Why this helps -

The growth of each resource is definite.
Say when we have scientists researching technologies to increase the production on planets, all we have to do is increase this rate to show higher production.
Say when we have upgraded storage on a planet, we just need to increase the max cap of the resource
Say someone notices that rate of growth of food is less than rate of growth of population, then they can make the deduction that the food would soon run out and take necessary measures instead of depending on a random increase in either.
In view of above points, helps scale when we add functionalities.

Will work on this if the issue resonates with the team

@neilkakkar  I think this is related to issue #45 I was working on with the people management pane.  The idea was based off population to be able to assign a certain number of people to different jobs to increase/decrease production based off your liking.  You'll find a todo in the code of planet.cpp.  I had begun to try to setup a people management pane, but if you look at that open issue, I never got it worked out.

// TODO: would like to implement people management ex. # of framers, scientists, engineers,
// laborers and resource production would be based of this

@neilkakkar Good idea. It'd certainly make it easier to decide what to do in terms of sending ships to other planets.
@aes421 About your issue: I found a fix a while back, but I'm just seeing now that I forgot to mention you in my comment


Not firing notifcation on correct time.

Facing an issue when I scheduled a notification at 6 am morning however the issue is when I get up and check my phone I didn't see any notification from my app but I found other notifications like Gmail, Twitter, etc... But not my app faced this issue on Andriod.
 async function onCreateTriggerNotification(Time: Date, navigation: any) {
  const date = new Date(Time);
  const uniqueID = `${Date.now()}-${Math.floor(Math.random() * 10000)}`;
  const trigger = {
    type: TriggerType.TIMESTAMP,
    timestamp: date.getTime(),
  };

  const channelId = await notifee.createChannel({
    name: 'Morning',
    importance: AndroidImportance.HIGH,
    sound: 'default',
    id: 'Morning',
  });

  await notifee.createTriggerNotification(
    {
      id: uniqueID,
      title: `Get Up It's 6 am`,
      body: `Get Up It's 6 am`,
      android: {
        channelId,
      },
    },
    trigger,
  );

  notifee.onBackgroundEvent(({ type, detail }) => {
    if (type === EventType.PRESS) {
      navigation.navigate('screen2');
    }
  });

  notifee.onForegroundEvent(({ type, detail }) => {
    if (type === EventType.PRESS) {
      navigation.navigate('screen2');
    }
  })

  const ids = await notifee.getTriggerNotificationIds();
}

@helenaford Can you please help me with this Helena?


Remote control block get no input

This plugin is amazing. Makes me super happy to be flying ships in SE like I'm hunting bounties on ED.
Very much needs to work on drones that are too small for a cockpit.
I made a very compact mining drone so i could do early resources in relative safety, but nothing I did would pass the controls through the remote control block.
Happy to help with testing... I will use this a LOT.

Haven't actually tested with remote controls myself yet, got an idea what could be going on though. The plugin has a bunch of safety checks to ensure you're not trying to inject inputs into something you're not actively controlling, and one of those might not handle the remote control case properly.

any chance getting the remote control to behave.... or misbehave :)


Add a licence

I'm thinking about to pack this lib into an addon for openFrameworks. Would you add a licence to this project?
Thanks.

I'm looking into using this project and also need to know what license it falls under before I can even hope to try it.

Please assign a license to this project. Without a license, it's a copyright violation for me to even clone the repo.

Sorry folks. This repo was kinds of unchecked for quite some times. I have open #13 to take care of this. Hopefully it gets merged in soon.


Spring Boot apps not running on kubernetes

When running through the documented way to get an external SpringBoot project to run on fabric8 I am seeing errors like:
$ kubectl logs spring-boot-sample-webse-2233552943-0i0f1
ERROR: Neither $JAVA_MAIN_CLASS nor $JAVA_APP_JAR is set and 0 found in /deployments (1 expected)
NAME                                        READY     STATUS    RESTARTS   AGE
exposecontroller-3431102810-jbnqk           1/1       Running   2          14h
fabric8-diauw                               2/2       Running   4          14h
fabric8-docker-registry-2762798780-kvhik    1/1       Running   2          14h
fabric8-forge-1556041525-s21yr              1/1       Running   2          14h
gogs-514977531-p04ur                        1/1       Running   2          14h
jenkins-1193727050-to0ox                    1/1       Running   2          14h
nexus-2033320395-q4fb4                      1/1       Running   5          14h
spring-boot-sample-webse-2233552943-0i0f1   0/1       Error     3          49s
The approach I took was to take a working SpringBook sample then:
eval $(minikube docker-env)
mvn io.fabric8:fabric8-maven-plugin:3.1.32:setup
mvn clean install
mvn fabric8:run

I wonder if using a more recent fabric8-maven-plugin version helps? e.g. try switch to 3.1.76. BTW is the project a WAR by any chance? We only added nice WAR detection a few releases back

I manually undated the pom file to fabric8-maven version 3.1.76. The docker image is created and deployed. I see a lot of the following messages:
[INFO] F8:[NEW] spring-boot-sample-webse-2241483968-kuqu6 status: Pending
Looking at the Pod's events I see the messages:
Back-off pulling image "boot/spring-boot-sample-webservices:snapshot-161021-205445-0208"
Error syncing pod, skipping: failed to "StartContainer" for "spring-boot" with ImagePullBackOff: "Back-off pulling image "boot/spring-boot-sample-webservices:snapshot-161021-205445-0208""
Failed to pull image "boot/spring-boot-sample-webservices:snapshot-161021-205445-0208": Error: image boot/spring-boot-sample-webservices not found
Error syncing pod, skipping: failed to "StartContainer" for "spring-boot" with ErrImagePull: "Error: image boot/spring-boot-sample-webservices not found"
pulling image "boot/spring-boot-sample-webservices:snapshot-161021-205445-0208"
Why is the docker image not found?
The sample I am trying from spring-boot is their: spring-boot/spring-boot-samples/spring-boot-sample-webservices project. Which does seem to create a jar file

That sounds odd! If you type
docker images | grep spring-boot

do you see the docker image with the same name & version?
Any chance you could attach a zip of the source of the project & I could try it here

Well, today when I ran that command and the image was shown and the pod has started, so yesterday must have been a glitch.
I had no issue when running the same process on my iMac. Probably the documentation needs updating to point people at the latest version of the plugin.

James,
Sorry, how do I check he version & how do I  upgrade it? I have just
installed the latest version of everything to the best off my knowledge
Regards
Steve
On 20 October 2016 at 19:09, James Strachan<EMAIL_ADDRESS>wrote:

I wonder if using a more recent fabric8-maven-plugin version helps? e.g.
try switch to 3.1.76. BTW is the project a WAR by any chance? We only
added nice WAR detection a few releases back
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/fabric8io/fabric8-maven-plugin/issues/566#issuecomment-255183485,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAzgWTq9csF4vQRZJagc4cOfgFi4hEqyks5q165FgaJpZM4KYGVi
.

@stevef1uk you mean how do you upgrade fabric8 itself (jenkins et al?)
If you've got persistence enabled you can do:
gofabric8 cleanup
gofabric8 start

which isn't ideal. There's a pending issue:
https://github.com/fabric8io/fabric8/issues/6186
We're hoping we can use helm to install and upgrade fabric8 on kubernetes:
helm install fabric8/fabric8-platform
...
helm update
helm upgrade fabric8/fabric8-platform

though we've not done enough testing on this yet


addViewController flow issue

addViewController operate only with controllers view.
Should it also use addChildViewController and didMoveToParentViewController to correctly host controllers as child?

Thanks! It is an interesting feature. I keep track of it and I tag the issue as enhancement.

Just to letting you know that I'm implementing the new version of BWWalkthrough using a standard View Controller hierarchy ;)

I decided not to change the structure that I've implemented to include subviews. I close the issue since I'm not going to complete the regular view controller hierarchy implementation... at least for the  coming releases.


Certain Nodes show running a container in services but they do not show running in container tab

Certain Nodes show running a container in services but they do not show running in the container tab
if I have 3 nodes in the swarm  7 & 8 & 4
services tab shows portainer.agent green and running on all three nodes
but when visiting the container tab I refresh the container page it switches between displaying the container on nodes4 and nodes 7 & 8
but does not show them all together as usual

I noticed if I disable UFW on all nodes and reboot the manager first and unlock the swarm and then reboot the other nodes this fixes the issue, I think it has to do with port 7946
I have all the suggested and required portainer (9000/9001) and docker(2376/2377/7946/4789/7946) ports allowed in UFW,
but I notice when I do netstat it shows 7946 waiting to establish to various other ports for instance
port (53252 + 53226 + 53208 + 56790 + 56812 + 53210 + 41970 + 42120 + 58472 + 60562 +60572 + 34350 + 56792 + 34340 + 46162)

I seem to have fixed it by specifying /tcp and or /udp like this ==
sudo ufw allow 4789/udp && sudo ufw allow 2377/tcp && sudo ufw allow 2376/udp && sudo ufw allow 4722/tcp && sudo ufw reload && sudosystemctl restart docker && docker swarm unlock

submitted request to add to the documentation branch

Thanks for that, I will continue discussion on the PR you have opened against portainer-docs


Add comments and fix test for OpenFeautreStore

Closes #

LGTM. Please notice that you create branch names using our branch naming conventions next time (issue-number)-(name) @RonConfigu 🙏🏻

Sure thing. There was no issue in the first place this is why.

LGTM. Please notice that you create branch names using our branch naming conventions next time (issue-number)-(name) @RonConfigu 🙏🏻

Sure thing. There was no issue in the first place this is why.

No problem, in future instances where we are missing an issue feel free to create it or ask me to create it for you.


#42 reverting Newtonsoft and ApplicationInsights back to versions the…

#421

@microsoft-github-policy-service agree [company=""]

This is something we will be taking care of ourselves at a later time.


Doesn't support HTTPS on OSX/Windows/iOS

Mac OS X uses security_framework as backend in native_tls, so there is no openssl in backend:
 Compiling swagger v1.0.1 (file:///Users/plhk/Documents/src/swagger-rs)
error[E0433]: failed to resolve. Could not find `openssl` in `backend`
  --> src/connector.rs:39:34
   |
39 |             native_tls::backend::openssl::TlsConnectorBuilderExt::from_openssl(ssl);
   |                                  ^^^^^^^ Could not find `openssl` in `backend`

error[E0433]: failed to resolve. Could not find `openssl` in `backend`
  --> src/connector.rs:83:34
   |
83 |             native_tls::backend::openssl::TlsConnectorBuilderExt::from_openssl(ssl);
   |                                  ^^^^^^^ Could not find `openssl` in `backend`

I guess the same error would happen on Windows.

Thanks for the issue.
I don't immediately know how to fix (and don't have the time to do so). However, a quick workaround would be to use #[cfg(target_os = "linux")] to swap out the offending functions for unimplemented!. That'd give you something that compiled, but then panicked if it attempts to use HTTPS.
I'll have a go at the workaround later today.

You've started work on this before I could get there. Unassigning myself on that basis.

Workaround shipped in v1.0.2. Thanks for the fix. I'm going to leave this issue open because the underlying problem remains unfixed.

https://github.com/Metaswitch/swagger-rs/pull/79/files tweaks the workaround so the relevant functions are missing, rather than panic.

#79 does better than I stated above, and brings HTTPS support for OS X, Windows and iOS.

This is fixed in Swagger 4.0, which is now available on crates.io


Headless mode returns strange results while non-headless works perfect

I am using the latest versions. When I run my code in non-headless, everything is working perfectly.
When I run my code in headless mode it returns totally different text, and I have no clue how this is possible.
In my database I have a list of "articles". I loop through the articles one-by-one and then retrieve the "body text" of the article.
As said, this works perfectly when I use non-headless mode. As soon as I turn on headless mode, it returns text that does not match the given article url.
I print out my article URL in headless mode, the url is fine but still I get text returned that does not match the article. This only happens when running in headless mode.
Does anyone have a clue what might be wrong?
My code below:
func RetrieveBody() {
	var article models.Articles
	err := db.Where("body IS NULL").First(&article).Error
	if err != nil && err.Error() != gorm.ErrRecordNotFound.Error() {
		fmt.Println(err)
	}

	opts := append(chromedp.DefaultExecAllocatorOptions[:],
		chromedp.Flag("headless", false),
	)
	actx, acancel := chromedp.NewExecAllocator(context.Background(), opts...)
	defer acancel()

	ctx, cancel := chromedp.NewContext(
		actx,
		chromedp.WithLogf(log.Printf),
	)
	defer cancel()

	ctx, cancelContext := context.WithTimeout(ctx, 40*time.Second)
	defer cancelContext()

	var lead string
	err = chromedp.Run(ctx,
		emulation.SetUserAgentOverride("Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:106.0) Gecko/20100101 Firefox/106.0"),
		chromedp.EmulateViewport(1920, 1080),
		chromedp.Navigate(article.Link),
		chromedp.Sleep(5*time.Second),
		chromedp.MouseClickXY(880, 790),
		chromedp.Sleep(8*time.Second),
		chromedp.MouseClickXY(1220, 446),
		chromedp.Sleep(8*time.Second),
		chromedp.InnerHTML("article.article", &lead, chromedp.ByQuery),
		chromedp.Stop())
	if err != nil {
		fmt.Println(err)
	}

	// A LOT of regexping is done here, removed to keep the code example small

	plain := html2text.HTML2Text(result)

	// save to database, removed to keep the code example smaal
}

See #1212, #1192

Thank you very much for your reply ZekeLu, I am still not sure what you think the problem might be, but I will take my time tonight and read those two cases and hopefully find out 👍


[L5.1] Outdated wiki needs updated sample working code

Due to the outdated instructions in the wiki, can someone put a clear working sample code for others to be able to get up and running on Laravel 5.1 from the composer installation issues scattered all over, to setting up the routes/controllers? Just a simple dummy working sample code, like Laravel 5.1 docs do. It is hard for people to use this out of the box when they are new and docs are outdated.
As a side note - I was thinking it would be awesome if Laravel merged dingo as part of core at some point. Development would be hand in hand on every new Laravel push, which would mean Dingo would always be compatible with the latest version as it's part of core, and not have to play catch up after every new release. Laravel having a solid API as part of its core would make it a much more amazing and robust product. Any thoughts on this?

I highly doubt dingo will ever be merged into laravel's core; for many reasons.

The Dingo/Api for L5 is still in development. Everybody (I am not included) works to this project in their spair time, so wiki (I think) is not on the road map yet.
There was already some working code posted. You have to search for it. I know it's hard to find to closed isses but if anybody which tries dingo/api and fails open an issue for a missed configuration on its side then will become even harder to find the usage.
It's already hard for me to find where I give the answer (see https://github.com/dingo/api/issues/432)
@jasonlewis Please delete my post if you find offending for somebody

I'm working on the docs now. Hopefully get it done by the end of the weekend or earlier.
I'm doubtful that this would end up in the core of Laravel. It'd be cool. But I doubt it.


CI for publishing sidecar container image to Elastic Container Registry

This adds automation to publish a special derivative build of the docker.elastic.co/beats/elastic-agent container of use with Azure Sidecar.
Read more about Azure Sidecar here: https://learn.microsoft.com/en-us/azure/app-service/tutorial-custom-container-sidecar
This new image will be published under: docker.elastic.co/observability/elastic-otel-collector-azure.
The image is relatively straight forward, it embeds a pre-baked configuration: https://github.com/elastic/elastic-otel-dotnet-azure/blob/feature/container-build/images/elastic-otel-collector-azure/otel-collector-config.yaml that allows:

ELASTIC_APM_SERVER_ENDPOINT and ELASTIC_APM_SECRET_TOKEN to be externally provided.
(e.g through the azure UI).
Support forwarding logs, metrics and traces.

CC @vinaychandrasekhar  @iogbole
@strawgate requesting a review from you too since this falls under ingest's purview. Please reach out to  @vinaychandrasekhar @iogbole or me for more background information if needed.

GH Secrets are gonna be ready soon

Posted this in slack as well but:

I believe there is now an environment variable that controls whether the entrypoint is to the otel subcommand ELASTIC_AGENT_OTEL=true . Once there you can pass the config via environment variable, download it via a url, or provide it via the command of the container. I think that would allow you to do this without building an image at all?

Close but not quite I think strawgate
, I can't provide environment variables or commands for the invocation of the container. So that would cause the sidecar to first spin up as a regular elastic-agent. Environment variables are provided post-deploy, (less than ideal),  https://learn.microsoft.com/en-gb/azure/app-service/tutorial-custom-container-sidecar#4-configure-environment-variables

@Mpdreamz and team: what's the latest on this PR merge?

Close but not quite I think strawgate , I can't provide environment variables or commands for the invocation of the container. So that would cause the sidecar to first spin up as a regular elastic-agent. Environment variables are provided post-deploy, (less than ideal), https://learn.microsoft.com/en-gb/azure/app-service/tutorial-custom-container-sidecar#4-configure-environment-variables

Doesn't that link show that you can provide it over the command though?

@strawgate I should have mentioned, Azure is working on reworking that UI where promoted vendors are available through a single dropdown for ease of getting started.
In that scenario we can not document an entry point/cmd for the user the fill in.
I hear your concerns about a custom image that needs to be maintained though, its why I initially pushed back as well.
@vinaychandrasekhar @AlexanderWert can you share your thoughts on the cost of ownership vs users benefit?

Do we know how other vendors want to handle this?
For example: several environment variables and has the user setup a volume mount: https://www.honeycomb.io/blog/opentelemetry-collector-azure-container-apps

@strawgate -
A Step-by-Step Guide to Datadog Integration with Linux App Service via Sidecars - Microsoft Community Hub
Powering Observability: Dynatrace Integration with Linux App Service through Sidecars - Microsoft Community Hub


Exit before signature verification if a cert still requires sequencing

Could you add a description on why this is preferred?


js-openclient/heat/v1/stacks.js not handling error callback

In the file   js-openclient/heat/v1/stacks.js
In the create function, it deletes the reference to the error callack:
if (params.error) delete params.error;
but later we call manager.safe_complete to handle the error:
this._super(params, function (err, result, xhr) {
if (err) return manager.safe_complete(err, null, null, params, callback);
However, safe_complete depends on params.error being a function to handle the callback.
Does the code need to delete the params.error ?

BTW - great library!


[Feature] Support list partition names from iceberg

What type of PR is this：

[ ] BugFix
[x] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

#11116
Problem Summary(Required) ：

Support list partition names from iceberg
Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] I have added user document for my new feature or new function

run starrocks_clang-format

run starrocks_clang-format

[FE PR Coverage Check]
:disappointed: fail : 12 / 31 (38.71%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/connector/iceberg/IcebergMetadata.java
0
7
00.00%
[96, 97, 98, 99, 102, 103, 107]

:large_blue_circle:
com/starrocks/external/iceberg/IcebergUtil.java
12
24
50.00%
[195, 196, 197, 198, 199, 202, 203, 206, 207, 208, 209, 210]

run starrocks_admit_test

run starrocks_admit_test

run starrocks_admit_test


symmetry objects

Hey @j96w , thanks for your great work. I finaly get really good results.
I still have one question left : What kind of symmetry is meant in the dataset.py file in ycb?
        self.symmetry_obj_idx = [12, 15, 18, 19, 20]
I dont get why the bleach cleanser is a symmetrical object and the sugar-box or a can not? I hope you can help me with that.
Best Regards Ixion

Hi, so to be honest, the definition of symmetry objects are from prior works like PoseCNN. I'm not sure about the exact definition but I think they have taken the texture and color into consideration. For some objects like the sugar-box, you can tell which surface (front or back) is visible in the camera image by its testure.


METRON-1340: Improve e2e tests for metron alerts

Contributor Comments
This PR aims to improve the existing e2e tests of metro-alerts in the areas mentioned below. The PR doesn't add/remove any functionality to the existing alerts ui. However, there are few changes in HTML templates where I a needed a new selector for tests.

Delete the contents of table 'metron_update' in HBase

I have added a nodes script that deletes the 'metron_update' table before each run of e2e tests

Ensure that the tests run consistently on latest version of node

I have tested and added a check to node version 8.9. If the version is less than 8.9 there is a warning and tests run continues

Improving description of test specs

Added meaningful descriptions wherever applicable. Let me know if we need any more descriptions

Run the tests on a headless browser to improve reliability

Added the headless option to protractor.conf.js

Stop polling in the UI, it might cause tests to be flaky by refreshing at an unexpected time

Added POLLING_DEFAULT_STATE to environment variables that would controll if polling is enabled in UI by default

The tests are written using:
OS: macOS High Sierra 10.13.1
nodejs: v8.9.1.
Chrome:  62.0.3202.94
The tests should run reasonably well on other platforms since I personally didn't test on them I would request you to report any tests failure with information about your  OS, nodejs and browser version.
I bumped up the version of the protractor to 5.2.0, so please run npm install before testing the PR. Please let me know if you need any more details about the PR.
Testing
If all the e2e tests run fine the PR  is good.
Documentation
No new documentation is needed specifically for this PR. The steps to run the e2e tests remains the way they are before. I added a couple of caveats in Readme about deleting 'metron_update' table and headless chrome. Please let me know if we can improve our docs for e2e tests I would be glad to add it.
Pull Request Checklist
Thank you for submitting a contribution to Apache Metron.
Please refer to our Development Guidelines for the complete guide to follow for contributions.
Please refer also to our Build Verification Guidelines for complete smoke testing guides.
In order to streamline the review of the contribution we ask you follow these guidelines and ask you to double check the following:
For all changes:

[x] Is there a JIRA ticket associated with this PR? If not one needs to be created at Metron Jira.
[x] Does your PR title start with METRON-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.
[x] Has your PR been rebased against the latest commit within the target branch (typically master)?

For code changes:

[x] Have you included steps to reproduce the behavior or problem that is being changed or addressed?

[x] Have you included steps or a guide to how the change may be verified and tested manually?

[x] Have you ensured that the full suite of tests and checks have been executed in the root metron folder via:
mvn -q clean integration-test install && build_utils/verify_licenses.sh

[x] Have you written or updated unit tests and or integration tests to verify your changes?

[x] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?

[x] Have you verified the basic functionality of the build by building and running locally with Vagrant full-dev environment or the equivalent?

For documentation related changes:

[x] Have you ensured that format looks appropriate for the output in which it is rendered by building and verifying the site-book? If not then run the following commands and the verify changes via site-book/target/site/index.html:
cd site-book
mvn site

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.
It is also recommended that travis-ci is set up for your personal repository such that your branches are built there before submitting a pull request.

I haven't looked at the code yet, but I was able to pull this down and run the e2e tests repeatedly without failures, so this is definitely great stuff.

Took a first pass at this and I feel like the e2e tests are much improved.  Great progress and good job so far.  I was able to get several successful runs whereas before it was difficult to get a single successful run.
A couple of comments/suggestions:

I noticed a warning message stating I wasn't on a recent enough version of nodejs.  I think we should be using the maven frontend plugin to run tests so that we guarantee a consistent version is used.  I submitted a PR as an example of how to do this.

I noticed there are still several browser.sleep statements throughout the tests (I counted 20).  I think our goal should be to remove all of them.  I know some of these should definitely be removed (alerts-list.po.ts, line 87) and may have just been missed.  If there are cases where we MUST have them, I think those cases needed to be discussed and justified.

I feel like the "should expand all facets" and "should collapse all facets" tests in alert-filters.e2e-spec.ts are unnecessary (and would allow us to remove a couple browser.sleep statements).  These tests are simply opening and closing bootstrap widgets which is controlled by code we don't maintain (bootstrap).  I would instead prefer a test that selects a filter and checks that the search box and results are properly updated.

I have ran into these errors a couple times.  Not sure if I just ended up in a bad state somehow or if it's because I'm running tests through Maven:

✗ should have all the steps for meta alerts workflow
- Failed: unknown error: Element  is not clickable at point (1278, 102). Other element would receive the click:
...

✗ should create a meta alert from nesting of more than one level
- Failed: unknown error: Element  is not clickable at point (1350, 503). Other element would receive the click:
...

@merrimanr

I removed the node version check in the ui code
The browser.sleep is used in following areas
- When we are using methods like waitForText, few times I see the test fails saying that that it got the text we were waiting to change which doesn't make sense. So, in this case, i am just yielding the main thread with a sleep of 500 milliseconds.
- Create/Add meta-alert, these calls takes few seconds at times.
- When we use animation to slide in the details pane, we don't have a class that gets added/removed for this so it makes it difficult for us to know when the pane is loaded. We can add/remove a class for animation by moving the slider to a component or directive. This might be out of scope for current PR.
Refactored tests for Facets
Looks like the meta alert creation failed can you attach the stack trace it might give me additional info to debug.

@merrimanr renamed the variable POLLING_DEFAULT_STATE to DISABLE_POLLING

I've hit the same intermittent errors trying this, e.g.
[INFO]       - Failed: unknown error: Element <button _ngcontent-c2="" aria-controls="time-range" aria-expanded="false" class="btn btn-secondary btn-search" data-animation="false" data-target="#time-range" data-toggle="collapse" type="button">...</button> is not clickable at point (1279, 95). Other element would receive the click: ...

One of the very first things that failed was
[INFO]     ✗ should display error message for invalid credentials
[INFO]       - Failed: Error while waiting for Protractor to sync with the page: true

Is it possible there's an intermittent error getting the tests initially lined up that just carries through everything?
@iraghumitra Can you also update the README with the instructions for running this with the mvn profile + any troubleshooting or other steps that need to happen?

Something I'm missing?
./scripts/start-server-for-e2e.sh

/Users/mmiklavcic/devprojects/metron/metron-interface/metron-alerts/node_modules/@angular/cli/bin/ng:7
const CliConfig = require('../models/config').CliConfig;
^^^^^
SyntaxError: Use of const in strict mode.
    at Module._compile (module.js:439:25)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Function.Module.runMain (module.js:497:10)
    at startup (node.js:119:16)
    at node.js:945:3

Seems that my NodeJS and npm versions got mangled since last time I ran this. Perhaps migrating laptops, upgrading to High Sierra, and switching from MacPorts to HomeBrew might have something to do with it ;)

A couple notes for the community - if your node/npm versions are out of date and you've already built the project, you'll run into trouble with versions not matching against the expected node version, e.g. Node Sass could not find a binding for your current environment: OS X 64-bit with Node.js 9.x. I deleted the node_modules directory entirely, rm -r metron-alerts/node_modules, re-ran the install, npm install, and then the start server script ran successfully. Just to note, the server script does not background the process, so you'll need to manually do that or use 2 windows to run the e2e tests.

Should we also run the tests using the new Maven profile? mvn test -Pe2e
The README should probably be updated to reflect this as well.

OK, I was able to get the tests to run. First run I get a single error. @merrimanr and I are talking through it now.
[INFO]   Test spec for login page
[INFO]     ✗ should display error message for invalid credentials
[INFO]       - Failed: Error while waiting for Protractor to sync with the page: true
[INFO] .    ✓ should login for valid credentials
[INFO] .    ✓ should logout
...
[INFO] Failures:
[INFO] 1) Test spec for login page should display error message for invalid credentials
[INFO]   Message:
[INFO]     Failed: Error while waiting for Protractor to sync with the page: true
[INFO]   Stack:
[INFO]     Error: Error while waiting for Protractor to sync with the page: true
[INFO]         at runWaitForAngularScript.then (/Users/mmiklavcic/devprojects/metron/metron-interface/metron-alerts/node_modules/protractor/built/browser.js:463:23)
[INFO]         at ManagedPromise.invokeCallback_ (/Users/mmiklavcic/devprojects/metron/metron-interface/metron-alerts/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:1376:14)
[INFO]         at TaskQueue.execute_ (/Users/mmiklavcic/devprojects/metron/metron-interface/metron-alerts/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:3084:14)
[INFO]         at TaskQueue.executeNext_ (/Users/mmiklavcic/devprojects/metron/metron-interface/metron-alerts/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:3067:27)
[INFO]         at asyncRun (/Users/mmiklavcic/devprojects/metron/metron-interface/metron-alerts/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:2927:27)
[INFO]         at /Users/mmiklavcic/devprojects/metron/metron-interface/metron-alerts/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:668:7
[INFO]         at process._tickCallback (internal/process/next_tick.js:109:7)
[INFO]     From: Task: <anonymous>
[INFO]         at pollCondition (/Users/mmiklavcic/devprojects/metron/metron-interface/metron-alerts/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:2195:19)
[INFO]         at /Users/mmiklavcic/devprojects/metron/metron-interface/metron-alerts/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:2191:7
[INFO]         at new ManagedPromise (/Users/mmiklavcic/devprojects/metron/metron-interface/metron-alerts/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:1077:7)
[INFO]         at ControlFlow.promise (/Users/mmiklavcic/devprojects/metron/metron-interface/metron-alerts/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:2505:12)
[INFO]         at /Users/mmiklavcic/devprojects/metron/metron-interface/metron-alerts/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:2190:22
[INFO]         at TaskQueue.execute_ (/Users/mmiklavcic/devprojects/metron/metron-interface/metron-alerts/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:3084:14)
[INFO]         at TaskQueue.executeNext_ (/Users/mmiklavcic/devprojects/metron/metron-interface/metron-alerts/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:3067:27)
[INFO]         at asyncRun (/Users/mmiklavcic/devprojects/metron/metron-interface/metron-alerts/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:2974:25)
[INFO]         at /Users/mmiklavcic/devprojects/metron/metron-interface/metron-alerts/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:668:7
[INFO]         at process._tickCallback (internal/process/next_tick.js:109:7)
[INFO]     From: Task: <anonymous wait>
[INFO]         at scheduleWait (/Users/mmiklavcic/devprojects/metron/metron-interface/metron-alerts/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:2188:20)
[INFO]         at ControlFlow.wait (/Users/mmiklavcic/devprojects/metron/metron-interface/metron-alerts/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:2517:12)
[INFO]         at Driver.wait (/Users/mmiklavcic/devprojects/metron/metron-interface/metron-alerts/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver.js:934:29)
[INFO]         at run (/Users/mmiklavcic/devprojects/metron/metron-interface/metron-alerts/node_modules/protractor/built/browser.js:59:33)
[INFO]         at ProtractorBrowser.to.(anonymous function) [as wait] (/Users/mmiklavcic/devprojects/metron/metron-interface/metron-alerts/node_modules/protractor/built/browser.js:67:16)
[INFO]         at Object.waitForElementVisibility (/Users/mmiklavcic/devprojects/metron/metron-interface/metron-alerts/e2e/utils/e2e_util.ts:43:20)
[INFO]         at LoginPage.setUserNameAndPassword (/Users/mmiklavcic/devprojects/metron/metron-interface/metron-alerts/e2e/login/login.po.ts:42:16)
[INFO]         at UserContext.<anonymous> (/Users/mmiklavcic/devprojects/metron/metron-interface/metron-alerts/e2e/login/login.e2e-spec.ts:29:20)
[INFO]         at step (/Users/mmiklavcic/devprojects/metron/metron-interface/metron-alerts/e2e/login/login.e2e-spec.ts:32:23)
[INFO]         at Object.next (/Users/mmiklavcic/devprojects/metron/metron-interface/metron-alerts/e2e/login/login.e2e-spec.ts:13:53)
[INFO]     From: Task: Run it("should display error message for invalid credentials") in control flow
[INFO]         at UserContext.<anonymous> (/Users/mmiklavcic/devprojects/metron/metron-interface/metron-alerts/node_modules/protractor/node_modules/jasminewd2/index.js:94:19)
[INFO]         at /Users/mmiklavcic/devprojects/metron/metron-interface/metron-alerts/node_modules/protractor/node_modules/jasminewd2/index.js:64:48
[INFO]         at ControlFlow.emit (/Users/mmiklavcic/devprojects/metron/metron-interface/metron-alerts/node_modules/protractor/node_modules/selenium-webdriver/lib/events.js:62:21)
[INFO]         at ControlFlow.shutdown_ (/Users/mmiklavcic/devprojects/metron/metron-interface/metron-alerts/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:2674:10)
[INFO]         at shutdownTask_.MicroTask (/Users/mmiklavcic/devprojects/metron/metron-interface/metron-alerts/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:2599:53)
[INFO]     From asynchronous test:
[INFO]     Error
[INFO]         at Suite.<anonymous> (/Users/mmiklavcic/devprojects/metron/metron-interface/metron-alerts/e2e/login/login.e2e-spec.ts:27:5)
[INFO]         at Object.<anonymous> (/Users/mmiklavcic/devprojects/metron/metron-interface/metron-alerts/e2e/login/login.e2e-spec.ts:20:1)
[INFO]         at Module._compile (module.js:571:32)
[INFO]         at Module.m._compile (/Users/mmiklavcic/devprojects/metron/metron-interface/metron-alerts/node_modules/ts-node/src/index.ts:406:23)
[INFO]         at Module._extensions..js (module.js:580:10)
[INFO]         at Object.require.extensions.(anonymous function) [as .ts] (/Users/mmiklavcic/devprojects/metron/metron-interface/metron-alerts/node_modules/ts-node/src/index.ts:409:12)
[INFO]
[INFO] 41 specs, 1 failure
[INFO] Finished in 269.33 seconds
[INFO]
[INFO] **************************************************
[INFO] *                    Failures                    *
[INFO] **************************************************
[INFO]
[INFO] 1) Test spec for login page should display error message for invalid credentials
[INFO]   - Failed: Error while waiting for Protractor to sync with the page: true
[INFO]
[INFO] Executed 41 of 41 specs (1 FAILED) in 4 mins 29 secs.
[INFO] [13:58:41] I/launcher - 0 instance(s) of WebDriver still running
[INFO] [13:58:41] I/launcher - chrome #01 failed 1 test(s)
[INFO] [13:58:41] I/launcher - overall: 1 failed spec(s)
[INFO] [13:58:41] E/launcher - Process exited with error code 1

I was reviewing the protractor documentation here and I noticed this:

Don’t forget to turn off control_flow, you cannot use a mix of async/await and the control flow: async/await causes the control flow to become unreliable (see github issue). So if you async/await anywhere in a spec, you should use the SELENIUM_PROMISE_MANAGER: false

I don't see that setting in protractor.conf.js.  Shouldn't it be included?  Have all the tests been updated to use async/await instead of web driver flow control?

Follow up from @merrimanr and my work yesterday. We upped the versions of Node to 9.2.1. Per the doc, >8 is required to work with async/await. For good measure, I also set the NPM version to 5.6.0. We didn't touch Jasmine, but the Protractor docs also state that it should be > 2.7. Looks like we are currently using 2.5.2 per the package.json file. We may want to consider increasing that version as well.
We added SELENIUM_PROMISE_MANAGER: false to protractor.conf.js and immediately got failures due to Promise use in the Protractor tests and configuration. e.g. var defer = protractor.promise.defer();. So we removed references to promises in the conf file and were able to get past that first batch of errors. Now we were into problems with the tests. I started with the login.e2e-spec.ts spec file and removed : Promise<any>. Running the tests again, the login tests were able to succeed.
There are still a large number of failures due to disabling the promise manager, but still having code throughout the test suite that leverages the older style. It's unclear if this will resolve all stability issues, but I think this is moving in the right direction.

Got busy with too many things happening around me, will yield this a conclusion next week.

Please close this

please close this

I also requested that this be closed in this ticket; https://issues.apache.org/jira/browse/INFRA-17251


Unable to squash

Hello,
I am running this command on Mac OS Sierra:
sudo docker-squash -i igorganapolsky.tar -o igorganapolsky-squashed.tar
However, I get this error:

tar: Option --xattrs is not supported
Usage:
List:    tar -tf
Extract: tar -xf
Create:  tar -cf  [filenames...]
Help:    tar --help
ERROR: exit status 1

What is causing this?
Thanks,
igor

You need to install GNU tar 1.27 or later.

So bsdtar 2.8.3 is not sufficient?

No.  See dependencies section: https://github.com/jwilder/docker-squash#installation

@jwilder Thanks.  @changetip $1

Hi @jwilder, @IgorGanapolsky sent you a tip worth 1,395 bits ($1.00), and I'm here to deliver it ➔ collect your tip.
Learn more about ChangeTip


moving webhooks  799 PR to the new repo

What does this pull request do? Explain your changes. (required)
original PR + commit history is at https://github.com/livepeer/livepeer.com/pull/new/ya/791-webhooks

Specific updates (required)

-

How did you test each of these updates (required)

Does this pull request close any open issues?

Screenshots (optional):

Checklist:

[ ] I have read the CONTRIBUTING document.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.

LGTM! 🚢


Support keep alive property

Hey 👋
There was a change to Fluentd's out_forward awhile ago to support keep alive behaviour https://github.com/fluent/fluentd/pull/2393. Is there any chance of implementing this in this client as well? The use case is identical to the original issue in https://github.com/fluent/fluentd/issues/2188 where we'd like our clients to rebalance its connections over to newly spawned fluentd replicas.

Hey @jamiees2 thanks for your reply. The property name is kind of confusing, while it's called "keep alive" it's not really related to TCP keep alive. It's more akin to "tcp connection refresh interval".
To describe the problem a bit more in details, say we have something like this
Client replica [1...N] ---------> Load balancer ------> Fluentd replica A

In the event where fluentd is underload, we'd would scale it horizontally, say add 1 more replica. However, adding an extra fluentd replica doesn't currently help rebalance the load since our existing clients are still connected to the original fluentd replica.
The out_forward plugin's solution to this problem is basically periodically disconnecting and reconnecting to upstream fluentd, thereby balancing the load overtime.

For what it's worth, when we tried simulating this behaviour by having a basic setInterval(() => { client.disconnect().then(client.connect()); });, we found that this client crashes our NodeJS process. I've created ticket to track that issue https://github.com/fluent/fluent-logger-forward-node/issues/33

I've been thinking about how it's best to implement this, this is made a little complex by acknowledgements, because we don't want to miss an acknowledgement during this phase. I think what we ideally want to do is:
On an interval, close the socket for writes
If acks are enabled, wait for the ack queue to empty out
Once acks have been completed, shut down the socket
Reconnect the socket
I think this can be implemented with a new state, similar to IDLE, but I'll need to think through this a bit. I'm going to cut a release though, with your fixes, so that you're able to use the simulated behavior :)
It might mishandle acks, and might conflict with the reconnection behavior, but if it works for you, that's great!

I wonder if there are other approaches we're missing here, for example we could instead of a hard timeout have a count limit, which prevents us sending more than X messages without reconnecting the socket. Would we consider this more flexible?
Actually, I guess we could implement both in the same way, by having a setInterval that sets a flag

On an interval, close the socket for writes
If acks are enabled, wait for the ack queue to empty out
Once acks have been completed, shut down the socket
Reconnect the socket

Thinking out loud: One potential area to look out for is in the event where upstream fluentd is unresponsive, the acks may never come back, which means we'll be stuck waiting. Perhaps we could rely on a short ack timeout in this case, and if ack timeout we shutdown the socket and reconnect?
Another avenue to explore is probably to straight up ignore acks when we're reconnecting, we re-emit the events in ack queue after we reconnected. Would this make the implementation simpler? Looks like this is what Fluentd's own out_forward does https://github.com/fluent/fluentd/blob/2036c4a6d791de24165d9575243eb71e5914b3b8/lib/fluent/plugin/out_forward/socket_cache.rb#L70-L95


only test apiserver in src - [closed]

In GitLab by @guyingyan on Sep 12, 2018, 07:51
Merges test-run -> dev

In GitLab by @wknet123 on Nov 13, 2019, 11:21
closed


mysql80: 8.0.17 -> 8.0.22

Motivation for this change
This is an updated variation of @alyssais's #93371 for upgrading mysql80:

Rebase and resolve merge-conflict
Update a little further (8.0.22)
Update another problematic reference to /usr/bin/libtool that appears in more recent versions. (I believe this was the cause of the prior build failure on darwin. It now builds on my local darwin box.)

Things done

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

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

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

This is a semi-automatic executed nixpkgs-review which does not build all packages (e.g. lumo, tensorflow or pytorch)
If you find some bugs or got suggestions for further things to search or run please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 109006 run on x86_64-darwin 1

2 packages built:

libmysqlconnectorcpp
mysql80

This is a semi-automatic executed nixpkgs-review which does not build all packages (e.g. lumo, tensorflow or pytorch)
If you find some bugs or got suggestions for further things to search or run please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 109006 run on x86_64-darwin 1

2 packages built:

libmysqlconnectorcpp
mysql80

This is a semi-automatic executed nixpkgs-review which does not build all packages (e.g. lumo, tensorflow or pytorch)
If you find some bugs or got suggestions for further things to search or run please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 109006 run on x86_64-darwin 1

2 packages built:

libmysqlconnectorcpp
mysql80

This is a semi-automatic executed nixpkgs-review which does not build all packages (e.g. lumo, tensorflow or pytorch)
If you find some bugs or got suggestions for further things to search or run please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 109006 run on x86_64-darwin 1

2 packages built:

libmysqlconnectorcpp
mysql80


update nydusify.md and add GO111MODULE flags for nydusify build

Signed-off-by: Dominic Yin<EMAIL_ADDRESS>

LGTM, I will put a PR to fix these clippy errors in rust 1.49.0. :)

LGTM, I will put a PR to fix these clippy errors in rust 1.49.0. :)

/test

/test

/retest

/retest

Thanks a lot! Please rebase to pick up the just merged travis fix.

Thanks a lot! Please rebase to pick up the just merged travis fix.


File Not Found Exception

File not found exception occurs when picking image from gallery in your latest sample app.

OS: Android Studio

Version Dolphin 2021.3.1 Patch 1

Device: Samsung Galaxy A03s

OS: Android

Version 12

Error Snippet:
E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.github.drjacky.imagepicker.sample, PID: 24962
java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=731911126, result=-1, data=Intent { dat=content://media/picker/0/com.android.providers.media.photopicker/media/1000000299 flg=0x41 clip={image/* video/* {U(content)}} }} to activity {com.github.drjacky.imagepicker.sample/com.github.drjacky.imagepicker.ImagePickerActivity}: java.io.IOException: No such file or directory
at android.app.ActivityThread.deliverResults(ActivityThread.java:5946)
at android.app.ActivityThread.handleSendResult(ActivityThread.java:5985)
at android.app.servertransaction.ActivityResultItem.execute(ActivityResultItem.java:54)
at android.app.servertransaction.ActivityTransactionItem.execute(ActivityTransactionItem.java:45)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2443)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:226)
at android.os.Looper.loop(Looper.java:313)
at android.app.ActivityThread.main(ActivityThread.java:8751)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1135)
Caused by: java.io.IOException: No such file or directory
at java.io.UnixFileSystem.createFileExclusively0(Native Method)
at java.io.UnixFileSystem.createFileExclusively(UnixFileSystem.java:317)
at java.io.File.createNewFile(File.java:1006)
at com.github.drjacky.imagepicker.provider.CropProvider.convertBitmapToFile(CropProvider.kt:235)
at com.github.drjacky.imagepicker.provider.CropProvider.cropImage(CropProvider.kt:166)
at com.github.drjacky.imagepicker.provider.CropProvider.startIntent(CropProvider.kt:128)
at com.github.drjacky.imagepicker.ImagePickerActivity.setMultipleCropper(ImagePickerActivity.kt:198)
at com.github.drjacky.imagepicker.ImagePickerActivity.setMultipleImage(ImagePickerActivity.kt:186)
at com.github.drjacky.imagepicker.provider.GalleryProvider.handleResult(GalleryProvider.kt:171)
at com.github.drjacky.imagepicker.provider.GalleryProvider.handleResult(GalleryProvider.kt:154)
at com.github.drjacky.imagepicker.ImagePickerActivity.galleryLauncher$lambda-0(ImagePickerActivity.kt:54)
at com.github.drjacky.imagepicker.ImagePickerActivity.$r8$lambda$-cKXUbSEPsgVWIyQVksiDayv-z4(Unknown Source:0)
at com.github.drjacky.imagepicker.ImagePickerActivity$$ExternalSyntheticLambda0.onActivityResult(Unknown Source:4)
at androidx.activity.result.ActivityResultRegistry.doDispatch(ActivityResultRegistry.java:392)
at androidx.activity.result.ActivityResultRegistry.dispatchResult(ActivityResultRegistry.java:351)
at androidx.activity.ComponentActivity.onActivityResult(ComponentActivity.java:647)
at androidx.fragment.app.FragmentActivity.onActivityResult(FragmentActivity.java:140)
at android.app.Activity.dispatchActivityResult(Activity.java:8659)
at android.app.ActivityThread.deliverResults(ActivityThread.java:5939)
at android.app.ActivityThread.handleSendResult(ActivityThread.java:5985)
at android.app.servertransaction.ActivityResultItem.execute(ActivityResultItem.java:54)
at android.app.servertransaction.ActivityTransactionItem.execute(ActivityTransactionItem.java:45)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2443)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:226)
at android.os.Looper.loop(Looper.java:313)
at android.app.ActivityThread.main(ActivityThread.java:8751)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1135)

I tested this sample app yesterday and it was working fine but today it is showing me same exception. Don't know what happened!

it is not picking the images from recents that are shown for the very first time,... but when we click on browse and select from files it's working fine.
Here are the screenshots.

I am facing the same issue today.

@Drjacky ?

Facing same issue

@Drjacky same issue 2 days ago

@Catlandor thankyou so much for the Bugfix.

Thanks to @Catlandor, fixed on 2.3.21

@Drjacky: Thanks for including my fix, but the changes within the "GalleryProvider" are needed as well.
When picking an image with the Android photo picker it treats this as a "multiple image" selection, even though it is not.
If you do not include this changes, the returned result for a single image selection via the Android photo picker will be always null (uri of the image).

Fixed on 2.3.22.
Thanks!

Heyy, I know this is closed, but can I know what are the retro steps? It happened with some of our users, but we did know when and how.
Thanks.

It's related to the Android photo picker, which was released with SDK version 33 of Android. Also see:
https://developer.android.com/training/data-storage/shared/photopicker
When opening the gallery, the photo picker was opened (instead of the default gallery folder view) and selecting an image with this (new) photo picker had two issues with the previous implementation (release 2.3.20):

This file didn't end with ".jpg", ".png", it had a generated file name like "1000000033". Since the previous implementation looked for the last period to identify the mime type of the file, this failed here and later lead to above mentioned exception "File Not Found" (actually it couldn't create a file, since it didn't had a mime type).
When selecting an image via Android photo picker, it was treated as a multiple image selection, even if it was not. This lead to a null reference exception when trying to get the uri of the image within the returned result.

Second issue also could been reproduced by opening the gallery, then navigating the Google Photos (via hamburger menu on the top left) and selecting an image from here.
Both issues are fixed with release 2.3.22

Thank you for the clarification


membership gets wrong when topology changes often

When membership changes often, some shifting members are automatically evicted, resulting in a unconnected topology. This forces a lot of changes in the membership CRDT, where the evicted node and the rest of the peers are racing against / towards eviction.

Fix landed in v0.5.2


Remove ts-ignore comment

Summary
It removes the @ts-ignore comment and adds types for generated transform.js file.

Ah great, thanks for this!

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Avoid collect et al

I implemented some simplifications.

Avoid some collect calls. They do not make sense if all we do afterwards is iterating over the collected items.
Avoid some clone where not needed.
Simplify some children_forwards/children_backwards accesses in Road.

Thanks for the review. In general, I tried to avoid collect where an itermediate data structure is not strictly needed. I agree that this makes code a bit harder to read at times, but applied consistently saves run-time, avoiding heap-allocations if possible.

Thanks for the PR! In general, I prefer simpler code to more performant code, especially in places off critical paths (like building the map). There are places like the sim scheduler that are so perf-critical that I'd be enthusiastic to accept tons and tons of complexity to get slight speedups. I'll merge this and take care of some of the minor formatting issues mentioned in comments.


Missing keycode ç

Tell me what key it was or even better, submit a Pull request!

Fixed:
https://github.com/wesbos/keycodes/blob/gh-pages/scripts.js#L164


Problem to upload PDFs from the Downloads folder on Android

I want to upload a PDF file to my server, I have managed it from any folder on the Android phone. But when passing the same file to the Downloads/ folder I get the error:
Permission Denial: reading com.android.providers.downloads.DownloadStorageProvider requires android.permission.MANAGE_DOCUMENTS
I leave my Manifest.xml:
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
  package="com.my.package">

    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.CAMERA"/>
    <uses-permission android:name="android.permission.ACTION_OPEN_DOCUMENT" />
    <uses-permission android:name="android.permission.ACTION_OPEN_DOCUMENT_TREE" />
    <uses-permission android:name="android.permission.WRITE_INTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
    <uses-permission android:name="android.permission.MANAGE_DOCUMENTS" />
    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>

    <application
      android:name=".MainApplication"
      android:label="@string/app_name"
      android:icon="@mipmap/ic_launcher"
      android:roundIcon="@mipmap/ic_launcher_round"
      android:allowBackup="false"
      android:theme="@style/AppTheme">
      <meta-data
        android:name="com.google.android.geo.API_KEY"
        android:value="AIzaSyD8dvt4Xu9CaejJ6v-CpTim2K_qJEEOB40"/>

      <activity
        android:name=".MainActivity"
        android:label="@string/app_name"
        android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
        android:launchMode="singleTask"
        android:windowSoftInputMode="adjustResize">
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
      </activity>
      <activity android:name="com.facebook.react.devsupport.DevSettingsActivity" />
    </application>

</manifest>

My  package.json:
...
"dependencies": {
    "@react-native-community/checkbox": "0.4.2",
    "@react-native-community/geolocation": "2.0.2",
    "@react-native-community/masked-view": "0.1.10",
    "@react-native-community/push-notification-ios": "1.3.0",
    "@react-navigation/bottom-tabs": "5.5.2",
    "@react-navigation/drawer": "5.8.1",
    "@react-navigation/material-top-tabs": "5.2.12",
    "@react-navigation/native": "5.5.0",
    "@react-navigation/stack": "5.4.1",
    "date-fns": "2.14.0",
    "formik": "2.1.4",
    "immutable": "^4.0.0-rc.12",
    "metro-react-native-babel-preset": "0.59.0",
    "nanoid": "3.1.10",
    "react": "16.11.0",
    "react-native": "0.62.2",
    "react-native-chart-kit": "6.4.0",
    "react-native-document-picker": "3.5.4",
    "react-native-dotenv": "0.2.0",
    "react-native-gesture-handler": "1.6.1",
    "react-native-get-random-values": "1.4.0",
    "react-native-image-crop-picker": "0.31.1",
    "react-native-maps": "0.27.1",
    "react-native-push-notification": "4.0.0",
    "react-native-reanimated": "1.9.0",
    "react-native-safe-area-context": "3.0.2",
    "react-native-screens": "2.8.0",
    "react-native-segmented-picker": "2.0.0",
    "react-native-svg": "12.1.0",
    "react-native-tab-view": "2.14.4",
    "react-native-table-component": "1.2.1",
    "react-native-vector-icons": "6.6.0",
    "react-redux": "7.2.0",
    "redux": "4.0.5",
    "redux-thunk": "2.3.0",
    "styled-components": "5.1.1",
    "uuid": "8.2.0",
    "yup": "0.29.1"
  },
...

I hope your help, thank you very much

rn-fetch-blob is the solution

How we can use rn-fetch-blob with this please provide some steps


[ANCHOR-339] Deliver events to business server

PR Checklist
PR Structure

[ ] This PR has reasonably narrow scope (if not, break it down into smaller PRs).
[ ] This PR avoids mixing refactoring changes with feature changes (split into two PRs
otherwise).
[ ] This PR's title starts with name of package that is most changed in the PR, ex.
paymentservice.stellar, or all or doc if the changes are broad or impact many
packages.

Thoroughness

[ ] This PR adds tests for the most critical parts of the new functionality or fixes.

What
[TODO: Short statement about what is changing.]
Why
[TODO: Why this change is being made. Include any context required to understand the why.]
Known limitations
[TODO or N/A]

Reference Server Preview is available here:https://anchor-ref-pr993.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr993.previews.kube001.services.stellar-ops.com/

Reference Server Preview is available here:https://anchor-ref-pr993.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr993.previews.kube001.services.stellar-ops.com/

Reference Server Preview is available here:https://anchor-ref-pr993.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr993.previews.kube001.services.stellar-ops.com/

Reference Server Preview is available here:https://anchor-ref-pr993.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr993.previews.kube001.services.stellar-ops.com/

Reference Server Preview is available here:https://anchor-ref-pr993.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr993.previews.kube001.services.stellar-ops.com/

Reference Server Preview is available here:https://anchor-ref-pr993.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr993.previews.kube001.services.stellar-ops.com/

Reference Server Preview is available here:https://anchor-ref-pr993.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr993.previews.kube001.services.stellar-ops.com/


Update kafka version to be on par with operator

Summary
Current version of Kafka in yaml is incompatible with strimzi operator on our OCP cluster
Please check the relevant options

[x] Bug fix (non-breaking change which fixes an issue)

Checklist:

[x] Commits are well encapsulated and follow the best practices

Can we have a test to detect such troubles on framework front?


Fix for postgres versions below 9.2

In postgres 9.2, procpid was changed to pid.
Earlier versions should use procpid, this change fixes the issue
where this query would return an error in versions prior to postgres
9.2.

@joepestro the fix is looking good. Could you also update the changelog?

@joepestro thank you :yellow_heart: . I applied a squashed version of your branch.


Ruby 2.3.4 in Debian 9

The openssl extension of Ruby version before 2.4 is not compatible with OpenSSL 1.1.x. At the moment, most Linux distributions that come with OpenSSL 1.1.0 have a separate package for OpenSSL 1.0.x.
On Debian 9 (stretch), it is libssl1.0-dev (note installing this would remove libssl-dev).
https://github.com/rbenv/ruby-build/wiki#openssl-usrincludeopensslasn1_mach102-error-error-this-file-is-obsolete-please-update-your-software

wow... sorry... Wrong repository :man_facepalming:


Portal server space detection loops needlessly

(only on first run)

@rkhamis can we fix it easily?

I'll investigate and see

Fixed by https://github.com/Jumpscale/jumpscale_core8/commit/be0d518270a958c25cef6a12660adc1180f3360b


NFT Exchange: Discrepancy Bidding Small Amounts

There is a discrepancy on the wallet amount (tx on block explorer) from the amount bid in the UI.
Testing needs to be done around the value that is being sent to the RPC calls
Problem
In the metaplex auction house contract, bids smaller than the escrow payment account will not invoke a transfer of funds from the users wallet to the escrow account. Escrow is initialized to 0.02 so the minimum a user can bid is 0.021 to invoke a transfer.
Reference: https://github.com/metaplex-foundation/metaplex-program-library/blob/master/auction-house/program/src/bid/mod.rs#L198
Additionally, funds are not being returned to the users wallet when cancelling a bid because the withdraw instruction is not being called.
Solution
This update validates user bid input to meet minimum and invoke withdraw instruction on cancel bid.

Task linked: CU-2466gr9 UI: Discrepancy Bidding Small Amounts


Story/getting stared revision

Revise and Proofread README.md

Add a short section describing Template Adapter
Remove project-specific files (python, java, and PowerShell) from the documentation to avoid confusion
Add MacOS 13 (Ventura) to the list of supported OS (verified)

Expand mp-init.md documentation

remove reference to ALB
remove the language selection section
Add adapter_requirements.txt section
Add requirements.txt section
Add venv section
Re-arrange sections to bring single file information first

The Integration SDK creates Management Packs to add custom objects, data, and relationships from a endpoint into VMware Aria Operations.
should be "an endpoint"

Currently, installing a Management Pack built with the integration SDK
capitalize Integration

the OS you need -> your OS

(This script is written for the bash shell. If you use the csh or fish shells, there are alternate activate.csh and activate.fish scripts you should use instead.)
where would one find these scripts? if we're not providing them (and I don't think we should), we should just say the script is written for the bash shell and leave it at that.

To exit the virtual environment, run deactivate in the virtual environment.
why are we saying this here? if someone is following this section as instructions, we don't actually want them to deactivate their virtual environment. Regardless, our goal isn't really to teach the use of Python virtual environments. Do we need this at all?

I think the Environment → Object Browser → All Objects is meant to be bold

Approved; please squash when you merge!


"--ws-endpoint" take no effect

High-level description
"--ws-endpoint",  the startup option, take no effect.
Steps to reproduce

download ParaView-5.11.1-osmesa-MPI-Linux-Python3.9-x86_64.tar.gz package
untar package
start paraview visualizer

./ParaViewPack/bin/pvpython -m paraview.apps.visualizer  --host <IP_ADDRESS>--port 9087 --data ./vtudir  --ws-endpoint foo/bar/ws

open url
press f12, and change to network tab, the url of websocket connection is ws://<IP_ADDRESS>:9087/ws

Detailed behavior
Expected behavior
the websocket url should be ws://<IP_ADDRESS>:9087/foo/bar/ws
Environment

Visualizer: ParaView-5.11.1-osmesa-MPI
OS:ubuntu
Browser:  Chrome 89.0.4389.128

This was most-likely an oversight when migrating wslink to v1. But in practice changing that endpoint should not be required.
For real-world deployment, a pvw process tends to be ran in an internal network with a proxy that rewrite all those url to be session based.

I use nginx to forward external request to internal visualizer process with prefix like "proxr/abc/",  when opened the url (should be "http://{{host}}:{{port}}/proxr/abc/index.html")，but the ws connection url is wrong which is "ws://{{host}}:{{port}}/ws". Maybe this is cause of front-end building option of "publicPath" (not sure)，so i try to change "ws-endpoint" to make it work. Plz help me out this issue.

I use nginx to forward external request to internal visualizer process with prefix like "proxr/abc/", when opened the url (should be "http://{{host}}:{{port}}/proxr/abc/index.html")，but the ws connection url is wrong which is "ws://{{host}}:{{port}}/ws". Maybe this is cause of front-end building option of "publicPath" (not sure)，so i try to change "ws-endpoint" to make it work. Plz help me out this issue.

I use paraview.apps.trame as running module, it works well in my app.

So you don't need to change it via ws-endpoint. Just add that info in the URL like http://{{host}}:{{port}}/proxr/abc/index.html?sessionURL=ws://......
The way we do the routing with Apache and our launcher is by doing that and having the launcher properly providing that sessionURL.
Anyway, it seems that you just need to configure your launcher...

So you don't need to change it via ws-endpoint. Just add that info in the URL like http://{{host}}:{{port}}/proxr/abc/index.html?sessionURL=ws://......
The way we do the routing with Apache and our launcher is by doing that and having the launcher properly providing that sessionURL internally with the session information.
Anyway, it seems that you just need to configure your launcher...

I have updated my configration as you siad, and it worked. Thanks!


feat: make copilot PR description adhere to PR template

Type: Feature Request
I appreciate the auto-PR description powered by Copilot in the settings:
{
  "githubPullRequests.pullRequestDescription": "Copilot"
}

I was wondering if this could adhere to PR template if that extis. That would be even more useful and a huge time saver.
Extension version: 0.79.2024012510
VS Code version: Code - Insiders 1.86.0-insider (5d344004f839677def958534b58e854a9ae26fd0, 2024-01-26T23:08:41.993Z)
OS version: Windows_NT x64 10.0.22631
Modes:

This is will very useful. Upvoting 👍🏻


corber open ios is unable to open projects with a space in the name

Environment
Mac OS 10.13.4
Reproduction
Create a project where the name in the config.xml file includes a space like "My App".
Then run corber open ios
Possible Solution
Looking at the source code I see that the open-app.js cordova task opens the repo by simply taking the name from the config.xml file and opening the xcode project by that name in the ios directory.
A possible fix to this would be replacing the spaces in the name with \  (a space character following the backslash). This is the way you open files with spaces in the name on a Mac. Not sure if the solution would be the same for Windows.

Diving into the code there can be a check here to add the necessary backslash https://github.com/isleofcode/corber/blob/master/lib/utils/open-app-command.js#L11
But I noticed there was a comment above pointing to the original file here https://github.com/pwnall/node-open/blob/0c3ad272bfbc163cce8806e64630c623a9cfd8f4/lib/open.js
Looks like the original file had an escape() function that handled the backslash scenario. Any reason why is was removed? If it was a mistake I don't mind opening a PR to add it back.

Thanks for the report - not intentional on our side and would welcome your solution :)


cem-plugin-expanded-types breaks after 1.3.0 update

Hey 👋 , I've encountered an issue after the 1.3.0 update:
> cem analyze --config ../../custom-elements-manifest.config.js

Error: Dynamic require of "path" is not supported
    at file:///Users/stefanp/Projects/design-system-pt/node_modules/cem-plugin-expanded-types/dist/index.js:12:9
    at src/main/options.js (file:///Users/stefanp/Projects/design-system-pt/node_modules/cem-plugin-expanded-types/dist/index.js:132339:21)
    at __require2 (file:///Users/stefanp/Projects/design-system-pt/node_modules/cem-plugin-expanded-types/dist/index.js:126384:56)
    at src/main/core.js (file:///Users/stefanp/Projects/design-system-pt/node_modules/cem-plugin-expanded-types/dist/index.js:133435:32)
    at __require2 (file:///Users/stefanp/Projects/design-system-pt/node_modules/cem-plugin-expanded-types/dist/index.js:126384:56)
    at ../../node_modules/prettier/index.js (file:///Users/stefanp/Projects/design-system-pt/node_modules/cem-plugin-expanded-types/dist/index.js:162797:16)
    at __require2 (file:///Users/stefanp/Projects/design-system-pt/node_modules/cem-plugin-expanded-types/dist/index.js:15:50)
    at file:///Users/stefanp/Projects/design-system-pt/node_modules/cem-plugin-expanded-types/dist/index.js:162874:31
    at ModuleJob.run (node:internal/modules/esm/module_job:222:25)
    at async ModuleLoader.import (node:internal/modules/esm/loader:323:24)
[12:26:51] @custom-elements-manifest/analyzer: Created new manifest.

The issue occurs just by importing the module. I've rolled back to 1.2.0 for the time being and it works as expected.
Node: v20.12.2
NPM: 10.5.0

Thanks for letting me know!.let.me see if I can track down the issue.

It should be resolved in release 1.3.1. Let me know if you see any other issues.


Update ABOUT.md

Update doc with benefits of LFE

Thanks for the feedback, here is a new version.

Looks like the CI is flaking again. I’ll take a look at binary this weekend.

Once merged, #254 should fix the CI issue.


Changes in deduping logic and added new top level nodes in hotmethods view

Extra toplevel frame nodes with method name based deduping in Hot methods tabview
Other nodes have ( method name + line number ) based deduping in Hot methods tabview
Added Line numbers in Call tree tabview

LGTM


JOSS submission

https://joss.theoj.org/

I'll track this elsewhere, it's not really a coding issue.


Vehicle wheels not gaining traction

When the Roll Influence of a tire is set very low (ex. 0.01), the tire will not maintain grip even at rest.  If you set the Roll Influence to surrounding values such as 0.0 or 0.1, the tire grip works as expected.  This can be verified using the value returned from get_skidinfo().
In the block of code starting here: https://github.com/godotengine/godot/blob/master/scene/3d/vehicle_body.cpp#L583 the intent appears to be to have contactDamping maximized at 0.2 when p_rollInfluence is 0.0, and the value decreases as p_rollInfluence increases.  When you have a roll influence of 0.1, 0.2, etc, the result of the division works out along these lines.  0.1 gives you contactDamping of 0.16, 0.2 gives you 0.08, etc.
If you decrease the divisor p_rollInfluence below 0.1, though, the contactDamping increases unbounded as you approach zero.  This results in values of contactDamping over 1.0, which appear to cause the tire to always lose grip.
@BastiaanOlij can you confirm the intent here?
Timofffee's Advanced Vehicle branch (#28733) fixed this for me because he removed the code in question entirely.  I propose clamping the contactDamping value to the intended maximum 0.2 in cases where it would go above that value.  This will keep the contactDamping the same for most vehicles where the Roll Influence is set to a more typical value.  PR to follow.

Fixed by #29940.


Add param in class constructor to define stopword language

@csurfer I create a param in class constructor to take the language information.
resolve #6

Coverage remained the same at 100.0% when pulling 94a953934f2907a9e1ce04713cb1bf2c5fef9662 on johnidm:master into d5b7b271a2e289629de7642e0fbe0b167c039485 on csurfer:master.

@johnidm : Thanks for the contribution. Sorry that it took me this long to pull it in.


feat: add a background shade to have sufficient contrast on controls

Opening this PR mostly to get input on direction, since I'm not positive that this is necessarily the best direction.
Surprisingly, this works without any extra work to have it show up and hide with the controls.

is there any way this can be animated with the same transition the controls use for hiding?
right now it's an abrupt show / hide, not so smooth

Good call, let me take a look at what it takes to transition it.

@luwes updated to transition in and out. The durations were taken from media-chrome's transitions for the controls. Longer term, would probably be nice to make them be css variables or something so that it could be re-used and changed in one place.


V20 Sheet Grammar and Cleanup

Fixed a few spelling errors as well as an issue with data-i18n causing everything to be funky.

I appreciate the heads up on things. I appreciate the compliment on the redesign of the character sheet, I've been mulling over how to improve their layout for players and make things that aren't easy to remember in the game easy to access.
I'm going over things as I can though personal health issues have made that hard.


OP-2028: nctl upgrades in ci

Adds nctl upgrade scenario 1 to bors branches.
Adds nctl ci upgrade wrapper.
Adds functionality and fixes necessary for running in ci to existing nctl code.

bors try

adding aws cli for this: https://github.com/CasperLabs/buildenv/pull/51

bors try

bors try

bors try

bors try

bors try

bors try

bors r+

bors r+


Add an owner to SecretRegistry

At the momment the owner cannot do anything special,
but eventually it can do something special.
This is a part of #1087.

Exactly.


Compatibility for windows

These changes run vulcan on windows operating system, creating files in the correct way as the system supports

We will no longer need to use the open dependency of the package.json file, we will use exec for the task, as open does not execute the file as soon as the deploy is ready.

we have an error returning the list of presets

After fixing the file reading errors in getPresetList.utils.js and getAbsoluteLibDirPath.js there is an error to prebuild the project in get

Ok now our build process is right. When starting the deploy process we found this error message:

It seems to me that core is not able to identify the correct Url to identify the paths in windows


Filters where not run when some sets where too small

Telamon-gen generates filters to propagate the constraints. When the inputs of one filter are included in the inputs of another, they are merged together to improve propagation strength. However, if the inputs of the second depends on more sets of objects, a copy of the original filter must be kept so it is run when the second filter is not because some set is empty (or does not contain enough values). We currently do not keep the original filter.
This PR introduced a new test that exhibited this behavior and fixes it by checking the filters depend on the same sets before setting the flag that discards the first set. The inclusion between the lists of sets is already tested so we only need to make sure they have the same size.

bors retry


[Bug]: csolution list configs command crashes under macOS and Windows on Arm64

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
Please check the attached project. I opened it in VS Code on macOS and Windows on Arm64. I did a
cbuild setup MyName.csolution.yml --context-set --context MyName.Debug+A31G112 --packs --update-rte
and afterwards a
csolution list configs
The tool cashes on both operating systems.
csolutionCrash.zip
Expected Behavior
It should list something and not crash.
Steps To Reproduce
See above
Affected tools

[ ] cbuild
[ ] cbuild2cmake
[ ] cpackget
[X] csolution
[ ] packchk
[ ] svdconv

Affected operating systems

[ ] Windows amd64
[X] Windows arm64
[ ] Linux amd64
[ ] Linux arm64
[ ] MacOS amd64
[X] MacOS arm64

Environment
macOS 15.0.1 and Windows 11 in a Parallels VM on macOS.

Just for the sake of clarity:
You are neither specifying the csolution.yml file nor a context or context-set for listing the configs:
I had expected something like:
  csolution list configs MyName.csolution.yml --context-set

Would that command "crash" for you as well?
On windows I get:
csolutionCrash>csolution list configs

csolutionCrash>echo %ERRORLEVEL%
-1073741819

However when I run:
csolutionCrash>csolution list configs MyName.csolution.yml -S
csolutionCrash/MyName.cbuild-set.yml - info csolution: file is already up-to-date
<EMAIL_ADDRESS>(up to date) from<EMAIL_ADDRESS><EMAIL_ADDRESS>(up to date) from<EMAIL_ADDRESS><EMAIL_ADDRESS>(up to date) from<EMAIL_ADDRESS><EMAIL_ADDRESS>(up to date) from<EMAIL_ADDRESS><EMAIL_ADDRESS>(up to date) from<EMAIL_ADDRESS>
In my opinion the command line parser must throw an error if no *.csolution.yml is specified and the usage/help must make *.csolution.yml mandatory.

I tried your proposal, and it works. I was just using the "short form" as I read it in the documentation (I will fix that). Still, as you say, it should throw an error and not crash silently.

@KeilChris  Can you please confirm the reported issue was fixed? CMSIS-Toolbox nightly builds can be found among the nightly artifacts, e.g. these are from last night.

I used the nightly from 2024-12-02 on Windows and can confirm that I am getting an error message now:
>csolution -V
csolution 2.6.0+p56-g936cf7dd (C) 2024 Arm Ltd. and Contributors

>csolution list configs
error csolution: input yml files were not specified

>echo %ERRORLEVEL%
1

I see the same. This is fixed, thanks!


res.setEncoding is not a function

With the following setup, I am getting the following error: res.setEncoding is not a function
import Gitter from 'node-gitter';
let gitter = new Gitter('xxx');

gitter.currentUser()
	.then(user => user.rooms())
	.then((rooms) => {
		console.log(rooms);
	});

I am bundling with webpack. You can see a similar issue here where they fixed it by first checking if the method exists: https://github.com/tmpvar/jsdom/issues/1019
I don't see res.setEncoding as part of the spec/API: https://nodejs.org/api/http.html#http_class_http_clientrequest (what http.request() returns)
The error is referencing this line: https://github.com/gitterHQ/node-gitter/blob/34b336a3e8463e19ee6b4fe01d0c17fdf12af7ac/lib/client.js#L71

Fixed in 7f7f2f4fb342570eac7deff9ecd830fe35b3269a
This needs to be released sometime.


Init takes forever

Hello,
First, I just want to thank you for this tremendous tools!!! ❤
I am encountering a small issue when trying to initialize the tool with my secret key:
hishtory init "XXXXXXXXXXXXXXXXXXXXXXXX"
Your current hishtory profile has saved history entries, are you sure you want to run `init` and reset?
Note: This won't clear any imported history entries from your existing shell
[y/N]y
Setting secret hishtory key to XXXXXXXXXXXXXXXXXXXX
time="2024-02-02T11:52:39Z" level=info msg="ApiGet(\"/api/v1/register?user_id=XXX=&device_id=XXX\"): 615.651926ms\n"
Killed
$ hishtory status -v
hiSHtory: v0.266
Enabled: true
Secret Key: XXXXXXXXXXXXXXXXXXXXXXXXXX
User ID: XXXXXXXXXXXXXXXXXX
Device ID: XXXXXXXXXXXXXXXXXXX
Sync Mode: Enabled
Sync Status: Synced
Commit Hash: 81ed634a4baa0414639f102a308e21907f68f703

And to be honest, I am unable to provide any logs apart from what is present in this comment. If you need my secrete key to troubleshoot, just drop a PM.
Kind regards,
JM

I found the issue, the process was oom-killed. Sorry for the noise.

Since I was able to debug a bit more, I found out that the init process consumes a lot of memory (At peak time, my init was consuming 4,5 Go):

I am not sure if this could be avoided (I might have a lot of history to import).
Kind regards,
JM

Thank you for opening this issue! You must have quite the large history file--can you share how many lines are in it (i.e. history | wc -l)? I've started to work on optimizing this in #171, but I want to continue to iterate and benchmark this to ensure that it is a solid long term solution.

Thank you for opening this issue! You must have quite the large history file--can you share how many lines are in it (i.e. history | wc -l)? I've started to work on optimizing this in #171, but I want to continue to iterate and benchmark this to ensure that it is a solid long term solution.
Hello,

I am around 5000 entries... Not that big:
ls -al ~/.hishtory/
total 61508
drwxr--r--  2 root root     4096 Feb  6 17:05 .
drwx------ 11 root root     4096 Feb  6 16:03 ..
-rw-r--r--  1 root root      800 Feb  6 17:05 .hishtory.config
-rw-r--r--  1 root root  8183808 Feb  6 17:03 .hishtory.db
-rw-r--r--  1 root root    32768 Feb  6 17:05 .hishtory.db-shm
-rw-r--r--  1 root root  4177712 Feb  6 17:05 .hishtory.db-wal

I don't know if it helps, but I noticed similar behavior, but it differs from case to case. I added around 5 machines, having 30-50k history file on two of them. The largest hist files machines went first, than I added the smaller ones. On the smaller ones, sometimes init was quite fast, but twice it took quite a time.
Hope it'll give some valuable context to this bug.


Highlight problem when v-xxx attribute contains a "[{a: []}]"

When v-xxx attribute contains a "[{a: []}]", the highlight is wrong. When "[{a:[]}]" (no space), the highlight is OK

I have the same problem.

It seems that this issue was introduced with v0.38.4.

Please use 0.38.3 for now.

It's 0.38.5 version now, I  tried reinstall after uninstall, but it still doesn't work


Fleet - Vehicle location updates/skid

Benefit: streamline and automate monthly updates
Acceptance: Functioning skid in GCF that maintains PII protections

No longer applicable. App to be deprecated via #291.


Have all views open by default

I am wondering if there is any way to have all cell views open when entering the view controller that contains the folding cells?
Is there a way to simulate the "tap" that opens the cell programmatically?

@JorgeAGomez if you setup folding-cell as in demo project you will simply need to fill cellHeights array with kOpenCellHeight:
cellHeights = Array(repeating: kOpenCellHeight, count: kRowsCount)

@Jauzee Oh that was easy. :) It worked perfectly! Thank you so much. I don't know why I didn't think about that.
Loving this folding-cell repo. 👍

@JorgeAGomez you're welcome!


Download dataset

This is a download issue as mentioned here

It seems to be resolved now, please try again.

@tyxsspa Thanks for your great work, but it still does not work. Or is this expected?
data_v1.1.json  laion_split.z01  laion_split.z02  laion_split.zip

Hi, It can be downloaded completely. The speed is faster from Mainland China but there might be problems with integrity checks failing overseas, so maybe you need to try again.

I have downloaded 3 times, nothing changes. The AnyWord-3M/laion/laion_split.zip cannot be unzipped successfully.

you would need to cat all the parts first then unzip. for example:
`zip -FF 1.zip --out 1-full.zip
unzip -FF 1-full.zip`

How about laion_split.z01  laion_split.z02? @tydia

@haofanwang
Hi, unzip does not support multi-part extraction, try use 7-Zip instead :
conda install -c conda-forge p7zip
7z x laion_split.zip


Discount not applied if "Payment Method", "Shipping Method",  "Shipping State" or "Shipping Country" is selected in condition.

Bug report
Title
Discount not applied if "Payment Method", "Shipping Method", "Zip/postcode" , "Shipping State" or "Shipping Country" is selected in condition.
Issue Description
Discount not applied if "Payment Method", "Shipping Method", "Zip/postcode" , "Shipping State" or "Shipping Country" is selected in condition.
Preconditions
1. Commit id.-161e16d4b92adfa54d49211d44b3e34af7f56157

Steps to reproduce
1. step1- Create a cart rule and selected above mentioned Condition
2. step2-Place an order that fulfils the criteria mentioned in conditions.

Expected result
Cart rule should get applied
Actual result
Cart rule not applied

Commit Id: f0e5bfdae76e77dc49c4acce05912c90cb01eecf

Fixed


Add SplatAD

Thanks for compiling this list! Could you please add SplatAD under Autonomous Driving?

Thank you. I just merge it. We will have shortly a sprint to clean this list up, remove some quirks, and bring it more up-to-date


Add unit tests

Adds function unit tests for archeo

Also will be jumping to #24

cc @BenTheElder

Woohoo! Thank you @dims for the merge!


fix Attachment File on other storage without path

Fix of attaching files on a different Storage e.g. S3 by reading file and assigning it through model storage.
otherwise file is not duplicated written.

removed old comments


Freemium PIR: Add FreemiumPIRFeature Type and Add New State Property

Task/Issue URL:  https://app.asana.com/0/0/1208098668401283/f
Description: This PR targets a feature branch, and is just the first part of a larger piece of work. This PR adds:

A new FreemiumPIRFeature type, which is used to determine if Freemium PIR is available
A new property - isCurrentUser to FreemiumPIRState indicating the user is a current freemium PIR user

Steps to test this PR:

None, Ensure CI is green

Definition of Done:

[ ] Does this PR satisfy our Definition of Done?

—
Internal references:
Pull Request Review Checklist
Software Engineering Expectations
Technical Design Template
Pull Request Documentation

Updated @miasma13.

Updated based on PR feedback and MM discussion @miasma13 . Thanks for being so thorough, it’s awesome! 👍🏼


Documentation: add ADTTE vignette NACT censor example

Please select a category the issue is focused on?
User Guides
Let us know where something needs a refresh or put your idea here!
ADTTE vignette needs a PFS example where patients get censored at last assessment prior to NACT if this occurred prior to PD/death. This should be covered by filtering the event/censor source calls

See details at https://github.com/pharmaverse/admiralonco/issues/86


How Can I change database in one connection?

I have many databases, and the database num is dynamic grow, I need get data from different database in one connection, how can I do it?

Please let us know what database you're trying to use and the version.
I'm assuming MySQL. The change database command is not yet implemented. Can you share how you would expect to be able to use it?