Tag v1.0.0 release of FDC3

I see a 1.0 beta release, https://github.com/FDC3/FDC3/releases/tag/v1.0-beta, but no v1.0.0 yet.
It looks like there have been 52 commits since the v1.0-beta tag.
Is there a v1.0.0 final release tag pending before the press release?
And will that release including none, some, or all of the commits to master since the 1.0-beta tag? (See too "Tag code as v1.0 and add release notes" task in https://github.com/FDC3/FDC3/issues/32)
Also ,I noticed the "Release Notes" link on https://fdc3.finos.org/versions is broken as it looks like it depends on there be a "v1.0" tag in github (Note, technically the release tag should be v1.0.0 -- one more ".0" to baseline minor releases)
(For a bit more context, see the foundation guidance re versioning at https://finosfoundation.atlassian.net/wiki/spaces/FINOS/pages/75530371/Released)

I am not sure this merited an issue @brooklynrob 😉. The tag is on the to-do list for the release and will happen. We have to wait until we are sure all the commits are in, some still went in today, and there may still be one or two small changes before Thursday.

Thanks @rikoe. Given there have been commits since the ratification vote of 1.0, I wanted to check on (and call out) the tagging and overall tracking of what's changed since that ratification vote. I'd also suggest that there be another final vote done by the PMC (email is fine), once the v1.0.0 release itself is tagged, to affirm the PMC's support and approval to move that tagged release to public release ahead of the press release.

Following up here. I want to clarify that I'm less concerned about whether there is a vote per se or not; larger request is that there be some written paper trail that shows and affirms that the entire PMC is aware and understanding that 1) there were changes (commits) between the ratification vote and the release, and 2) the overall nature of those changes (many for example where connected to building the GH pages site.
The mechanics of how that affirmation happens (acclamation vote on a call recorded in minutes, "I'm good" email, vote by email) are less important than the overall hygiene of making sure the full PMC is aware of what's been tagged and hence what will be released.
Idea here is not to create more bureaucratic overhead, especially in 11th hour, but rather to affirm that the PMC has approved the release together as a body together.

@brooklynrob there is now a draft v1.0.0 tag ready to be published, waiting on this PR. The intention is for release notes to reference CHANGELOG.md.


cmd/go: unhelpful error message from go get when custom import has moved

% go get -u rsc.io/github/issue
package rsc.io/github/issue
imports 9fans.net/go/acme
imports 9fans.net/go/plan9
imports 9fans.net/go/plan9/client
imports 9fans.net/go/draw
imports 9fans.net/go/draw/drawfcall
imports github.com/google/go-github/github
imports github.com/google/go-querystring/query
imports golang.org/x/oauth2
imports golang.org/x/net/context: /Users/r/src/golang.org/x/net is from https://code.google.com/p/go.net, should be from https://go.googlesource.com/net
The error is the last line, but "should be" doesn't tell me much, as this is a transitive dependency I don't know about. It should say something about what went wrong (vanity import has changed target) or how to fix it (remove stale repo) or .... ?
I found this difficult to understand but easy to fix, implying the error message could be improved.

We don't know exactly what went wrong. We can't say that the custom import changed target, because maybe it was never code.google.com/p/go.net and you just happened to run an hg command to populate /Users/r/src/golang.org/x/net from there. We could suggest removing the directory and re-running go get, but that assumes there are no changes that need to be kept. I am always wary of tools suggesting that people remove directories: people will do it blindly.
We could make the error more explicit about the operations, saying
imports golang.org/x/net/context: /Users/r/src/golang.org/x/net is checked out from https://code.google.com/p/go.net, but golang.org/x/net should be checked out from https://go.googlesource.com/net
Is that enough to make the problem clearer?

Perhaps the message should say why "golang.org/x/net should be checked out from xxx". Otherwise it's like "uhh, but why should it be checked out from there?"

golang.org/x/net is a custom import path for https://go.googlesource.com/net, but /Users/r/src/golang.org/x/net is checked out from https://code.google.com/p/go.net
?

That's much clearer IMO. LGTM.
On 14 January 2015 at 14:50, Russ Cox<EMAIL_ADDRESS>wrote:

golang.org/x/net is a custom import path for
https://go.googlesource.com/net, but /Users/r/src/golang.org/x/net is
checked out from https://code.google.com/p/go.net
?
—
Reply to this email directly or view it on GitHub
https://github.com/golang/go/issues/9540#issuecomment-69865336.

Fixed but forgot to write the magic line. golang.org/cl/2808

Would be nice with some line on possible ways to resolve what's went wrong. E.g., I'm now getting a lot of:
github.com/<repopath>: github.com/<repopath> is a custom import path for https://github.com/<repopath>, but ~/go/src/github.com/<repopath> is checked out from git@github.com:<repopath>

I get this even for packages I have just checked out with go get, and am a bit confused about what is happening. Seems like go get has somehow started to check things out using<EMAIL_ADDRESS>instead of http://... as git urls ...


feat: manifest based releaser https://git.io/JmVD4

@bcoe This is a tad pre-mature (need the latest release-please changes). But thought I'd get it up as a start.


Fix #1765: Replace Arrays.sort implementation.

Review by  @sjrd and @adriaanm

That's all.

Updated

LGTM

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/1903/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/2453/
Test FAILed.

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/1905/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/2455/
Test PASSed.


storage: build a layer over the http API

This will facilitate:

backoff/retry (see https://cloud.google.com/storage/docs/exponential-backoff)
testing
setting common headers

/cc @jfrazelle @bradfitz

Why just in storage?
What sort of testing?
Which common headers?

Why just in storage?

The other four major clients (datastore, bigquery, logging, pubsub) already have one.

What sort of testing?

Building a fake. (Of course it's possible to build a fake at the http level, just messier.)

Which common headers?

I was thinking of #333, but that's just for gRPC.

Tuo just added this to deal with a common header.
Pubsub and Bigquery have a "service" interface that abstracts over the generated apiary client.

We did #356 by implementing a simple wrapper method, and the other reasons don't seem worth the effort of building a whole abstraction layer.

yayyyy!
On Tue, Oct 18, 2016 at 4:39 PM, Jonathan Amsterdam <
<EMAIL_ADDRESS>wrote:

We did #356
https://github.com/GoogleCloudPlatform/google-cloud-go/issues/356 by
implementing a simple wrapper method, and the other reasons don't seem
worth the effort of building a whole abstraction layer.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/GoogleCloudPlatform/google-cloud-go/issues/349#issuecomment-254670434,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABYNbJmTayX_5UsKIerUKPI2vrqhNE2Vks5q1VjMgaJpZM4J2JGu
.

--
Jessie Frazelle
4096R / D4C4 DD60 0D66 F65A 8EFC  511E 18F3 685C 0022 BFF3
pgp.mit.edu http://pgp.mit.edu/pks/lookup?op=get&search=0x18F3685C0022BFF3


Documentation for 2.0 still says EventType instead of JavalinEvent

https://javalin.io/documentation#lifecycle-events

Thanks!

Fixed!

Thank you.
Since I have your attention: is there a way to prevent the server from starting if something goes wrong in the handler for JavalinEvent.SERVER_STARTING?

@leafac There's nothing built in for this, but you could throw an exception?

I’ll throw an exception, but there’s a wrinkle. In route handlers, I can throw checked exceptions, while in event handlers I have to wrap them in an unchecked exception, for example:
.event(JavalinEvent.SERVER_STARTING, () -> {
    try {
        database = DriverManager.getConnection("jdbc:sqlite:my-app.db");
    } catch (SQLException e) {
        throw new RuntimeException(e);
    }
})

Can I do better?

If you create a PR for allowing checked exceptions I'll merge it.


Store currently selected variant in the URL

We should extend the variant selector to store its state in the URL. Also, we should be able to recreate the state of variant selector from the query string.

This is currently implemented in the old storefront e.g. entering this URL results in preselecting the XXL variant:
https://demo.getsaleor.com/en/products/code-division-t-shirt-89/?size=xxl
size is a slug for the "Size" attribute, while xxl is a slug of one of the possible values for that attribute.

We need to keep in mind that this requires sitemap generator adaptation.

Implemented in #708


Is this project fading away?

I'm looking for a rich editor for reactjs but with 350 open issues and seemingly a trickle of commits I'm wondering if this project is still one to choose if I want one that is very actively developed and supported.
If not, can anyone suggest a more actively developed rich text solution for reactjs?

That's a fair concern and one that I'm worried about myself. It seems that the original author is not around anymore and that there is very limited activity from the people at Facebook that have since taken over. Just take a look at the (lack of) 'weekly' meeting notes to get an idea: https://github.com/facebook/draft-js/tree/master/meta/meeting-notes.
If you are looking for a more actively developed Reactjs project, you could take a look at http://slatejs.org/. It has much better support for nested structures such as tables, so it may be more suitable for rich text editors that need complex functionality. Be aware, though, that Slatejs is not tested against IE/Edge and mobile devices, according to its FAQ (https://docs.slatejs.org/general/faq.html). Also, IME support seems terrible.

This is absolutely a fair concern. There are still folks at Facebook actively maintaining this library, including myself, and we appreciate your patience since we also work on other open source projects. Draft is one of many options for a rich text editor, and it's worth looking at all the options and choosing what works best in your case.
Regarding the meeting notes - we didn't have much to report for the last few weeks so I have not been updating them on github, but in the future I will add some record of each meeting.
I'm about to do a minor release of the latest bug fixes and improvements - hopefully that is helpful to folks.

Thanks for the reply, @flarnie! It's good to see in the meeting notes that you're also looking for ways to involve more maintainers both from Facebook and externally.

Of course no-one is obliged to work on this because its open source.
I ask because the community seems to say this is the flagship rich text editor for reactjs but my measures of a healthy active open source project - a low number of open issues plus a fairly constant flow of commits - suggest that this project is largely (but not entirely) abandoned.

Over a year later, 480 open issues and 80 open PRs.  It's frustrating for my team because many of our pain points are open issues AND have open PRs...would be great to see Facebook put more resources at this project so at the very least, community PRs can be merged and more releases.

Thanks for your comments - I set up a meeting with @sophiebits to come up with an update on the state of this project. You can expect that in the next few weeks.

I'm just leaving this here for anyone who likes alternatives to barely OS software: https://github.com/ianstormtaylor/slate
Also, please don't just develop open source software for your own needs FB. This could potentially be the best WYSIWYG editor out there, but they way you handle requests and don't want to do things you don't 'have the need for' is just. Idk. Don't pretend this is open source and at the same time keep all the good things for yourself.
I've spend so many hours trying to make DraftJS something and finally realised that you don't want to support the community, just yourself.

is there any update @flarnie?

@sophiebits and I did meet and discuss this, and while we have not yet come up with a solution that I'm satisfied with, we did agree that neither of us have time to maintain this project right now.
I can say that Draft.js is still widely used and essential across Facebook products, so we consider it very stable. We have set up automation to pull any internal fixes we make into the Github repository. I'll update this thread if and when there is any progress beyond that.

Thank you for the update @flarnie, it's good to know where Facebook / the project maintainers stand with regards to stability and ongoing maintenance.
Please let us know if there are things the wider community could do to help – I'm sure there are lots of people out there who would be keen to give a hand (e.g. like support on the Draft.js Slack).

I would be willing to help out too and you can find me on the Draft.js Slack as well. So will you guys be accepting any bug fixes, enhancements, etc... from the community?

We (https://everyteam.co) rely on Draft, and maintain a fork that is up to date, has the 0.11 API, and we have added some useful things (like support for multiple entities per character).
I know given the current state, there hasn't been much interest in merging those changes back.
Does it make sense to create a separate branch inside this repo that can track FB upstream and allow the community to continue to push things forward or would FB (@flarnie, @sophiebits) prefer that happen outside of this repo?

I have an update, some good news, and some context to share. Also want to start by thanking folks who continue to be involved and have shared feedback here.
tldr: Some new maintainers are starting, and we can expect a bit more activity! I'll let them make themselves known in other context - not sure this issue is the best place for an introduction. But of course they are welcome to chime in here. Since the repo now should be better maintained, I'll be closing this issue. :)
Some more detailed context:
Why has nobody been looking at PRs/Issues?
I am proud of the work I did cleaning up this repo in 2017 and earlier, but by the end of 2017 I lost opportunity to spend much time on Draft.js. The number of open issues and PRs spiked, and I waited in hopes that I could get more dedicated time for the project, or that a team at Facebook would pick up responsibility. But for now that has not happened, and I do regret letting the project stagnate while I was preoccupied. So I found some new folks to help! :)
Maintaining open source projects is often a "side project" opportunity for engineers at Facebook, when it makes sense for them and their manager. So the good news is there are 4 new maintainers spending some of their "side project" time to help clean up Draft.js.
I'm very confident that this project is now actively maintained - 4 maintainers is much better than 1. :)
Why can't you merge my PR?
Two things prevented your PR from landing -

The high count of open PRs compared to time of maintainer to review them
Low confidence of the reviewer that the change is safe and needed

Facebook basically only allows employees to merge PRs to open source projects, so fixing the first issue means increasing the time and number of open source maintainers. There are many of us internally fighting for this, and I'm continuing to look for ways that external folks can help with this.
For the second bullet point - we could use more tests, fixtures, and manual testing of PRs to gain confidence that they are safe. I would also advise contributors to focus on bug fixes and test coverage, as these are the things most likely to get landed.  And just be aware that it's never anything personal, we are all just doing the best we can. That's my best advice.


Support cygwin in the default shell selector

Issue Type: Feature Request
Cygwin shell is not supported in vscode, would like to see this made available.

VS Code version: Code - Insiders 1.43.0-insider (e6a45f4242ebddb7aa9a229f85555e8a3bd987e2, 2020-02-21T05:40:52.685Z)
OS version: Linux x64 5.5.13-1-default

Have you tried to add path to executable manually?

I tried adding cygwin to that dropdown a while ago but ran into problems as it needs special arguments to work and currently the "profiles" in the shell selector don't support args. See https://stackoverflow.com/questions/46061894/vs-code-cygwin-as-integrated-terminal for how to use it manually.

@Tyriar Just a suggestion, maybe open a ticket requesting support for what you need to get cygwin working with vscode? I'm sure the cygwin team would welcome this.
I'll take a look at the link you provided, thanks.

@rajinder-yadav I don't think we need anything in particular, more of a problem on our end that the shell selector only sets the executable currently, not the args.

@Tyriar the stackoverflow tip worked for me as a work-around thanks!

@meganrogge I noticed that cygwin isn't here:

but it is here:

is that expected? If so feel free to mark as verified

@TylerLeonhardt that's by design, the thinking here being that cygwin wouldn't be used as often as the others so you need to explicitly add it.


Dropping frames?

I've been playing around a lot with the microphone implementation for the nrf52/53.  It seems to me like "frames" (PDM updates) are probably being dropped between inferences.  I'm still trying to prove this but one thing that seems off is the comment at the end of this line:
https://github.com/edgeimpulse/firmware-nrf52840-5340-dk/blob/6a2296ae702b3ea0512a907bae7b149640905ad6/edge-impulse/ingestion-sdk-platform/NordicSemi-nrf52/sensors/ei_microphone.cpp#L54
which seems to imply that this calculation comes out to 4096 when in fact this calculation comes out to 512.  An insufficient buffer here would potentially explain this frame drop so I'm wondering if this is the culprit.  Can anyone explain the presence of this comment and whether it is the comment or the code that's wrong?
EDIT: Does this value need to change based on DSP/NN latency?

Hi Jeff,
The buffer size in line you displayed is used for the raw buffer that is filled by the PDM pheripheral and remains the same for all model lengths. It is indeed correct that frames are dropped in between inferences when running normal mode:
$ edge-impulse-run-impulse

You can run audio in continuous mode by adding the --continuous flag:
$ edge-impulse-run-impulse --continuous

In this mode samples are still being captured during inference. You can read more about this in our docs: https://docs.edgeimpulse.com/docs/continuous-audio-sampling
Hopefully this solves your issue

I am running in continuous mode, but I believe frames are still being dropped when the DSP/NN latency is too high.  This stands to reason as for some arbitrary latency, the time to update the PDM buffer will be too great.  I think the implementation is also somewhat confusing since "double buffering" is happening in two locations but in one it doesn't seem to actually do anything as the continuous update is serial in nature.  Possibly this behavior is giving the impression that data is less likely to be lost than it actually is.

Ah, now I see what mean.
Normally the inference.buffer[] is filled with new samples while the other inference.buffer[] is used for inference. And one of the pdm_buffer_temp[] buffer is copied to the inference.buffer[] while the other is being filled with new data.
I see in this case, copying audio to the inference.buffer[] is blocked. I will look into this. In continuous inference mode it would make sense to set the AUDIO_DSP_SAMPLE_BUFFER_SIZE to the slice size of the model: EI_CLASSIFIER_SLICE_SIZE

That might help.  I think ultimately it will likely be possible to get into a state where stuff is being dropped.  The best bet may simply be to detect this and report on it or something.

Hi @jefffhaynes ,
We've added a fix for sampling data in continuous inference and a detection on sample buffer overrun.


Adding new composite actions for use in algokit templates

Proposed changes

Adds env-to-placeholders - provides a generic mechanism to create .env file with placeholders (to be replaced later with actual secrets after build is performed by vite or other bundlers)
Adds placeholders-to-secrets - provides a generic mechanism to replace placeholder values with secrets/vars provided to the composite action input

Further notes

Same actions can be reused within the repo (can be handled and smoke tested in separate pr)
These actions have been tested on private repo with instance of react algokit template and they work fine. Example usage below:

      - name: Create placeholder .env file
        uses: './.github/env-to-placeholders'
        with:
          env-output-path: './.env'
          env-template-path: './.env.template'
          env-variable-prefix: VITE_

      ... perform build actions

      - name: Replace template vars
        uses: './.github/placeholders-to-secrets'
        with:
          app-artifact-path: './.vercel/output'
          static-site-transforms: |-
            VITE_ALGOD_TOKEN:${{ secrets.VITE_ALGOD_TOKEN }}
            VITE_ALGOD_SERVER:${{ vars.VITE_ALGOD_SERVER }}
            VITE_ALGOD_PORT:${{ vars.VITE_ALGOD_PORT }}
            VITE_ALGOD_NETWORK:${{ vars.VITE_ALGOD_NETWORK }}
            VITE_INDEXER_SERVER:${{ vars.VITE_INDEXER_SERVER }}
            VITE_INDEXER_PORT:${{ vars.VITE_INDEXER_PORT }}
            VITE_INDEXER_TOKEN:${{ secrets.VITE_INDEXER_TOKEN }}
            VITE_ENVIRONMENT:${{ vars.VITE_ENVIRONMENT }}

Looks fine to me, I'm interested to see how it's used.
So far with VITE projects I've included the various configs in source, e.g. .env.dev, .env.test then built for each environment e.g. vite build --mode dev.
I'm interested to know when you'd not use that method.


Wrong words in comments of class EventLoop

the comment of class EventLoop is:
Will handle all the I/O operations for a {@link Channel} once registered. One {@link EventLoop} instance will usually handle more then one {@link Channel} but this may depend on implementation details and internals.
the word "then" should be "than".
version:
netty-all-5.0.0.Alpha2
thank you.

@normanmaurer I only read that you'd self-assigned after I'd fixed it and submitted a PR #4485 - hope it helps!

@pieteradejong thanks a lot


TSFInputControl::_layoutRequestedHandler crashes on call to TransformToVisual.TransformToPoint during teardown

Only occasionally. I need to pull better symbols to figure out exactly what's going on here.

Exception thrown at 0x00007FF9DC972E26 (Windows.UI.Xaml.dll) in WindowsTerminal.exe: 0xC0000005: Access violation reading location 0x0000000000000010.

@DHowett-MSFT is this a recent regression? Should this block 0.8?

Tracking MSFT:24530757, as it's partially a platform bug.


Fix prometheus reservations

What do these changes do?
Related issue/s
Related PR/s
Checklist

[X] I tested and it works

I think  memory: 24576M was there for have prometheus handle queries that go over long times, like many months, without being killed by the OOM killer.
Maybe have a chat with eli and see if her metrics-collection scripts might be impacted by this, not sure
--> fine for me htx

I brought back the limits :+1:  Good catch


Use globally NSRegularExpression to avoid build error on Linux

To avoid compatibility errors with Linux I substituted RegularExpression with NSRegularExpression. This update it's necessary because RegularExpression is not part of the open source Swift version of Foundation as reported in Marathon issue37.
I have only one doubt:
in Wrap.swift there was an OS check for this issue
#if !os(Linux)
private typealias RegularExpression = NSRegularExpression
#endif

but for some reason he did not work.
@JohnSundell there was a specific reason to use RegularExpression instead of NSRegularExpression?
I don't want that there are some relation with the 4 test errors I reported in the comment of issue37.
I edited and tested the Linux implementation on a Vmware virtual machine with Ubuntu 16.04.2 and on a Raspberry Pi with Ubuntu 16.04.2. All the tests are ✅ also on a macOS machine.

@darthpelo Thanks for this! Shouldn't be a problem - but let's see what Travis says 😄 In the meantime, could you squash your commits into a single one? I'd rather not clutter down the history too much, makes it harder when bisecting and doing releases 🙂

@JohnSundell squashed 🔨 😄

All checks have passed, so let's merge ahead 🚢

@darthpelo Made a 2.1.1 release inlcuding the fix 👍


[BUG] Banned from roblox for modifying the client

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.

What problem did you encounter?
I got banned for modifying the client, please check what's happening.

dude used exploits in Pet Simulator

solara user 😱

https://github.com/pizzaboxer/bloxstrap/wiki/Why-it's-not-reasonably-possible-for-you-to-be-banned-by-Bloxstrap


Update search by music method to convert emojis first

@andromedado Oops, it should have been replacing _ not -. I also switched to using a regex and replaced the :s as well

:+1:


Rename controller deployment name

Rename deployment name: controller-manager -> meows-controller
Define the container ports for the meows-controller deployment.

Signed-off-by: Masayuki Ishii<EMAIL_ADDRESS>

I don't think it's enough as told internally.


fix: Support implicit many-to-many

Maybe add a test case for it? There're cases for relation validation in /packages/schema/tests/schema/validation/datamodel-validation.test.ts


[v2] Web Editor Freezes with Yellow M Symbol

When removing group permissions from groups, The group has a yellow M Symbol next to it and doesn't remove the perm you clicked on and instead freezing the web editor causing you to reload and you can't even interact with any other group or user after this M symbol not even save button works.
This does NOT Occur when deleting User Perms.

Please post a link to your editor.

Could you check your browser console for any errors appearing and providing a screenshot of it?

@Turbotailz You want my editor link?
@Andre601 In console It says TypeError: "n is undefined"

You want my editor link?
That's what I asked, yes.

@Turbotailz https://editor.luckperms.net/CoU8Hc4qmo

Thanks. I will take a look at this when I can.

Don't they expire?

After a week. I should be able to take a look on Sunday at the earliest. If it does expire I will ask for another.

Maybe I don't understand the issue but I can't seem to reproduce. Can you tell me exactly the steps you are taking to cause this error?

https://editor.luckperms.net/oeckOAfF05
Whenever trying to delete a permission from default group freezes with M highlighted next to group.

Can you show us a screenshot?

I was able to delete all permissions from both groups without any issues.
Perhaps it is a browser issue? What browser are you using @Ppandamc ?

I can confirm this is a bug with Firefox and Safari. Will hopefully have a fix this weekend. In the meantime, you should use Chrome if you want to use the editor.

I think this may have been inadvertently fixed in some recent commits to the project. I can no longer reproduce the bug in Firefox.

@VanillaChan6571 @Ppandamc can you please confirm whether this bug is still present in the web editor?

@VanillaChan6571 @Ppandamc can you please confirm whether this bug is still present in the web editor?

it is working 100% now

Kind of annoying, as I have no idea how I fixed it, but good to know 😛 thank you.


[5.5] Repair Fingerprint Lookup Across Modules

5.5 version of #37100

Cross-module incremental builds require a stable source of fingerprint
information for iterable decl contexts. This is provided by the
incremental frontends when they produce partial swift module files.
Embedded in these files is a table of fingerprints, which are consumed
by merge-modules to construct a module-wide dependency graph that is
then serialized into the final merged swift module file. Unfortunately,
the implementation here iterated through the files in the module and
asked for the first fingerprint that would load for a particular
iterable decl context. If (more likely, when) the DeclID for that
serialized iterable decl context collided with another DeclID in the
wrong file, we would load that fingerprint instead.
Locate up to the module-scope context for an iterable decl context and
only load the fingerprint from there. This ensures that the fingerprints
in the partial modules matches the fingerprints in the merged modules.
rdar://77005039

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

@swift-ci test


[tests-only] [full-ci] [WIP] Test oCIS issue 3033

Description
Related Issue
#3033
How Has This Been Tested?
CI
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Technical debt
[x] Tests only (no source changes)

Checklist:

[ ] Code changes
[ ] Unit tests added
[ ] Acceptance tests added
[ ] Documentation ticket raised:

https://drone.owncloud.com/owncloud/ocis/8948/31/6
runsh: Total unexpected failed scenarios throughout the test run:
apiWebdavProperties1/createFileFolderWhenSharesExist.feature:27
apiWebdavProperties1/createFileFolderWhenSharesExist.feature:29
apiWebdavProperties1/createFileFolderWhenSharesExist.feature:30
apiWebdavProperties1/createFileFolderWhenSharesExist.feature:32
apiWebdavProperties1/createFileFolderWhenSharesExist.feature:45
apiWebdavProperties1/createFileFolderWhenSharesExist.feature:48
apiWebdavProperties1/createFileFolderWhenSharesExist.feature:59
apiWebdavProperties1/createFileFolderWhenSharesExist.feature:60

Output of the test run of the new feature file against oCIS:
Feature: create file or folder named similar to Shares folder
  As a user
  I want to be able to create files and folders when the Shares folder exists
  So that I can organise the files in my file system

  Background:                                                                                # /srv/app/testrunner/tests/acceptance/features/apiWebdavProperties1/createFileFolderWhenSharesExist.feature:7
    Given the administrator has set the default folder for received shares to "Shares"            # OccContext::theAdministratorHasSetTheDefaultFolderForReceivedSharesTo()
    And auto-accept shares has been disabled                                                      # FeatureContext::autoAcceptSharesHasBeenDisabled()
    And these users have been created with default attributes and without skeleton files:         # FeatureContext::theseUsersHaveBeenCreatedWithDefaultAttributesAndWithoutSkeletonFiles()
      | username |
      | Alice    |
      | Brian    |
    And user "Alice" has created folder "/FOLDER"                                                 # FeatureContext::userHasCreatedFolder()
    And user "Alice" has shared folder "/FOLDER" with user "Brian" with permissions "read,update" # FeatureContext::userHasSharedFileWithUserUsingTheSharingApi()
    And user "Brian" has accepted share "/FOLDER" offered by user "Alice"                         # FeatureContext::userHasReactedToShareOfferedBy()

  Scenario Outline: create a folder with a name similar to Shares         # /srv/app/testrunner/tests/acceptance/features/apiWebdavProperties1/createFileFolderWhenSharesExist.feature:19
    Given using <dav_version> DAV path                                    # FeatureContext::usingOldOrNewDavPath()
    When user "Brian" creates folder "<folder_name>" using the WebDAV API # FeatureContext::userCreatesFolder()
    Then the HTTP status code should be "201"                             # FeatureContext::thenTheHTTPStatusCodeShouldBe()
    And as "Brian" folder "<folder_name>" should exist                    # FeatureContext::asFileOrFolderShouldExist()
    And as "Brian" folder "/Shares" should exist                          # FeatureContext::asFileOrFolderShouldExist()
    Examples:
      | dav_version | folder_name |
      | old         | /Share      |
        folder '/Share' expected to exist for user Brian but not found
        Failed asserting that false is true.
      | old         | /shares     |
      | old         | /Shares1    |
        folder '/Shares1' expected to exist for user Brian but not found
        Failed asserting that false is true.
      | new         | /Share      |
        folder '/Share' expected to exist for user Brian but not found
        Failed asserting that false is true.
      | new         | /shares     |
      | new         | /Shares1    |
        folder '/Shares1' expected to exist for user Brian but not found
        Failed asserting that false is true.

  Scenario Outline: create a file with a name similar to Shares                                   # /srv/app/testrunner/tests/acceptance/features/apiWebdavProperties1/createFileFolderWhenSharesExist.feature:35
    Given using <dav_version> DAV path                                                            # FeatureContext::usingOldOrNewDavPath()
    When user "Brian" uploads file with content "some text" to "<file_name>" using the WebDAV API # FeatureContext::userUploadsAFileWithContentTo()
    Then the HTTP status code should be "201"                                                     # FeatureContext::thenTheHTTPStatusCodeShouldBe()
    And the content of file "<file_name>" for user "Brian" should be "some text"                  # FeatureContext::contentOfFileForUserShouldBe()
    And as "Brian" folder "/Shares" should exist                                                  # FeatureContext::asFileOrFolderShouldExist()
    Examples:
      | dav_version | file_name |
      | old         | /Share    |
      | old         | /shares   |
      | old         | /Shares1  |
        HTTP status code 409 is not the expected value 201
        Failed asserting that 409 matches expected '201'.
      | new         | /Share    |
      | new         | /shares   |
      | new         | /Shares1  |
        HTTP status code 409 is not the expected value 201
        Failed asserting that 409 matches expected '201'.

  Scenario Outline: try to create a folder named Shares             # /srv/app/testrunner/tests/acceptance/features/apiWebdavProperties1/createFileFolderWhenSharesExist.feature:51
    Given using <dav_version> DAV path                              # FeatureContext::usingOldOrNewDavPath()
    When user "Brian" creates folder "/Shares" using the WebDAV API # FeatureContext::userCreatesFolder()
    Then the HTTP status code should be "405"                       # FeatureContext::thenTheHTTPStatusCodeShouldBe()
    And as "Brian" folder "/Shares" should exist                    # FeatureContext::asFileOrFolderShouldExist()
    And as "Brian" folder "/Shares/FOLDER" should exist             # FeatureContext::asFileOrFolderShouldExist()
    Examples:
      | dav_version |
      | old         |
        HTTP status code 201 is not the expected value 405
        Failed asserting that 201 matches expected '405'.
      | new         |
        HTTP status code 201 is not the expected value 405
        Failed asserting that 201 matches expected '405'.

  Scenario Outline: try to create a file named Shares                                         # /srv/app/testrunner/tests/acceptance/features/apiWebdavProperties1/createFileFolderWhenSharesExist.feature:63
    Given using <dav_version> DAV path                                                        # FeatureContext::usingOldOrNewDavPath()
    When user "Brian" uploads file with content "some text" to "/Shares" using the WebDAV API # FeatureContext::userUploadsAFileWithContentTo()
    Then the HTTP status code should be "409"                                                 # FeatureContext::thenTheHTTPStatusCodeShouldBe()
    And as "Brian" folder "/Shares" should exist                                              # FeatureContext::asFileOrFolderShouldExist()
    And as "Brian" folder "/Shares/FOLDER" should exist                                       # FeatureContext::asFileOrFolderShouldExist()
    Examples:
      | dav_version |
      | old         |
      | new         |

I will write more in issue #3033

closing - the issue is demonstrated. The failing tests will get into expected-failures when I bump the core commit id for master in a separate PR in a few minutes.


how to load tools from a file or DB and draw them

Hello,
I want to save tools and load them again , the situation is that i have an already made program with C++ (desktop software) and the new web viewer , so i want to integrate both together.
i already have done saving from the web viewer to the desktop software, as the desktop has its own tools so i made an intermediate class for tools that takes the needed variables from both mine and cornerstone tools .
so for a brief i want the website to load the tools already stored in a file or database to be drawn automatically on the web viewer.

@dannyrb  any help please ?

What have you tried? Have you searched existing open and closed issues? Most tools utilize top level API methods like getToolState, or their toolStateManager's saveToolState to accomplish what you're describing.
Try poking around the entry index.js file, our API docs, these issues, and the imageIdSpecificToolStateManager

What have you tried? Have you searched existing open and closed issues? Most tools utilize top level API methods like getToolState, or their toolStateManager's saveToolState to accomplish what you're describing.
Try poking around the entry index.js file, our API docs, these issues, and the imageIdSpecificToolStateManager

ok i will check that and get back to you, thanks

@dannyrb sorry for the late response.
now i have tried saving and getting the tool state- data  using the state manager
but in the same session.
while what i am really searching for is closing the browser and opening it again and when the page loads i can find the tools as was drawn.
as i told you earlier i can save and load the necessary variables for each tool ( like start- end - result ...etc) what i am asking for is that , is there a way to draw the wanted tools after loading the page automatically ?

is there a way to draw the wanted tools after loading the page automatically

I believe we're straying outside the scope of support it makes sense for us to provide for this repository. If you need more assistance in this vein, you may wish to reach out to a consultant.
There are a lot of ways to persist data outside of the current session.

LocalStorage
PouchDB
DICOM Structured Report

Saved/Restored from PACS

Serialize and persist to MS SQL, MYSQL, MongoDB, etc. (database)


Updated sample project for compatibility.

you wouldn't mind if I deleted the launch.json file?
I don't think it would necessarily help someone to test flxanimate,
the other thing is actually helpful thank you!

i don't care either way


Error when calling .map on an undefined object

In index.js, we have this line:
const tasks = request.get('Tasks').map(Task.mapFromRawTask) || [];
If the user hasn't entered any primary tasks (items in the "Tasks" field of the form), that .map call will error out and prevent the record in Airtable from being processed. This is because it's calling .map on undefined.
Since we have a "Tasks - Other" field, presumably it's conceivable that a user would skip the primary tasks and manually enter one in the "Tasks - Other" field.
I can take this one, but don't want to mess up anything in the code's Airtable land if it's still in flux.
https://github.com/astoria-tech/volunteer-dispatch/blob/0af64dc593dac63aae5380fa413dfa7a382b4374/src/index.js#L30

I'll take this one.


make install install duplicates in /usr/local/bin/bin and /usr/local/lib/lib

As the title says, low priority though.

fixed in #140


fwd.hpp file for meta

Several modules of EnTT provide a fwd.hpp file, but meta doesn't. It could be useful to have it for meta too.

Adding this request to #735 (sort of list of accepted change requests for meta). I close the issue too.


"SEQUENCE of INTEGER (0..N)" generates code that fails to compile

With the following definition:
TEST DEFINITIONS ::= BEGIN

Test ::= SEQUENCE
{
    foo [0] SEQUENCE OF INTEGER,
    bar [1] SEQUENCE OF INTEGER (0..4294967295),
    ...
}
END

I get the following error:
$ gcc Test.c
Test.c:75:4: error: ‘asn_DEF_Member_5’ undeclared here (not in a function)
   &asn_DEF_Member_5,
    ^~~~~~~~~~~~~~~~

asn_DEF_Member_5 should be either asn_DEF_NativeInteger (if it fits) or asn_DEF_INTEGER.
Try remove this part of the test patch.txt

Thanks, works for me.

@ikarso could you please explain what's the purpose of the check that you removed? Since that check seems to interfere with a valid ASN.1 construct, why is it present at all?

@vlm, shouldn't the proposed patch be merged, and the validation suite adjusted?

This issue is described also in issue #94 (Scenario 2/Bug 2)

@gittator are you OK with the patch proposed here? I confess I don't quite understand what it is doing.

This issue is described also in issue #94 (Scenario 2/Bug 2)

I scanned the open issues, sorry I missed it.

@mouse07410 The type are either an basic type like INTEGER, BOOLEAN, OCTET_STRING etc or a constructed/complex type (check out libasn1parser/asn1p_expr.h).
If the type are an integer and if it fits in an generic long or unsigned long its an NativeInteger otherwise INTEGER (check the function asn1c_type_fits_long in libasn1compiler/asn1c_misc.c).
In emit_member_table(in libasn1compiler/asn1c_C.c) the code is trying to figure out if it should take the asn1 type or build a new type (a constructed type). In the integer case this is unnecessary because the function asn1c_type_name (in libasn1compiler/asn1c_misc.c) already take cares of the decision if its an NativeInteger or INTEGER.
In test 127-per-long-OK.asn1 i dont see any reasons not using an integer - the ranges are handled with constraints.
patch.txt

@ikarso thank you - your patch worked great.

Hi, please could someone give an update on this issue?


[SPARK-18588][Tests]Fix flaky test: KafkaSourceStressForDontFailOnDataLossSuite

What changes were proposed in this pull request?
Fixed the following failures:
org.scalatest.exceptions.TestFailedDueToTimeoutException: The code passed to eventually never returned normally. Attempted 3745 times over 1.0000790851666665 minutes. Last failure message: assertion failed: failOnDataLoss-0 not deleted after timeout.

sbt.ForkMain$ForkError: org.apache.spark.sql.streaming.StreamingQueryException: Query query-66 terminated with exception: null
	at org.apache.spark.sql.execution.streaming.StreamExecution.org$apache$spark$sql$execution$streaming$StreamExecution$$runBatches(StreamExecution.scala:252)
	at org.apache.spark.sql.execution.streaming.StreamExecution$$anon$1.run(StreamExecution.scala:146)
Caused by: sbt.ForkMain$ForkError: java.lang.NullPointerException: null
	at java.util.ArrayList.addAll(ArrayList.java:577)
	at org.apache.kafka.clients.Metadata.getClusterForCurrentTopics(Metadata.java:257)
	at org.apache.kafka.clients.Metadata.update(Metadata.java:177)
	at org.apache.kafka.clients.NetworkClient$DefaultMetadataUpdater.handleResponse(NetworkClient.java:605)
	at org.apache.kafka.clients.NetworkClient$DefaultMetadataUpdater.maybeHandleCompletedReceive(NetworkClient.java:582)
	at org.apache.kafka.clients.NetworkClient.handleCompletedReceives(NetworkClient.java:450)
	at org.apache.kafka.clients.NetworkClient.poll(NetworkClient.java:269)
	at org.apache.kafka.clients.consumer.internals.ConsumerNetworkClient.clientPoll(ConsumerNetworkClient.java:360)
	at org.apache.kafka.clients.consumer.internals.ConsumerNetworkClient.poll(ConsumerNetworkClient.java:224)
	at org.apache.kafka.clients.consumer.internals.ConsumerNetworkClient.poll(ConsumerNetworkClient.java:192)
	at org.apache.kafka.clients.consumer.internals.ConsumerNetworkClient.awaitPendingRequests(ConsumerNetworkClient.java:260)
	at org.apache.kafka.clients.consumer.internals.AbstractCoordinator.ensureActiveGroup(AbstractCoordinator.java:222)
	at org.apache.kafka.clients.consumer.internals.ConsumerCoordinator.ensurePartitionAssignment(ConsumerCoordinator.java:366)
	at org.apache.kafka.clients.consumer.KafkaConsumer.pollOnce(KafkaConsumer.java:978)
	at org.apache.kafka.clients.consumer.KafkaConsumer.poll(KafkaConsumer.java:938)
	at
...

How was this patch tested?
Tested in #16048 by running many times.

Test build #3450 has started for PR 16109 at commit 0901a65.

Test build #3451 has started for PR 16109 at commit 0901a65.

Test build #3452 has started for PR 16109 at commit 0901a65.

Test build #3453 has started for PR 16109 at commit 0901a65.

Test build #69508 has started for PR 16109 at commit 0901a65.

Test build #3453 has finished for PR 16109 at commit 0901a65.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test build #3450 has finished for PR 16109 at commit 0901a65.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test build #69508 has finished for PR 16109 at commit 0901a65.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/69508/
Test PASSed.

Test build #3456 has started for PR 16109 at commit 0901a65.

Test build #3457 has started for PR 16109 at commit 0901a65.

Test build #3458 has started for PR 16109 at commit 0901a65.

Test build #3459 has started for PR 16109 at commit 0901a65.

Test build #3460 has started for PR 16109 at commit 0901a65.

Test build #3459 has finished for PR 16109 at commit 0901a65.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test build #3457 has finished for PR 16109 at commit 0901a65.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test build #3456 has finished for PR 16109 at commit 0901a65.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test build #3458 has finished for PR 16109 at commit 0901a65.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test build #3460 has finished for PR 16109 at commit 0901a65.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test build #3459 has finished for PR 16109 at commit 0901a65.
This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Not related to this PR.

Test build #3450 has finished for PR 16109 at commit 0901a65.
This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Not related to this PR.

Test build #3453 has finished for PR 16109 at commit 0901a65.
This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Looks like the retry interval is no enough. Found the following logs:
16/12/01 16:14:27.199 stream execution thread for query-62 WARN KafkaSource: Error in attempt 1 getting Kafka offsets:
java.lang.NullPointerException
16/12/01 16:14:30.832 stream execution thread for query-62 WARN KafkaSource: Error in attempt 2 getting Kafka offsets:
java.lang.NullPointerException
16/12/01 16:14:34.271 stream execution thread for query-62 WARN KafkaSource: Error in attempt 3 getting Kafka offsets:
java.lang.NullPointerException

I will increase the interval.

Test build #3461 has started for PR 16109 at commit 8c5ae2d.

Test build #3462 has started for PR 16109 at commit 8c5ae2d.

Test build #3463 has started for PR 16109 at commit 8c5ae2d.

Test build #3464 has started for PR 16109 at commit 8c5ae2d.

Test build #69598 has started for PR 16109 at commit 8c5ae2d.

Test build #3461 has finished for PR 16109 at commit 8c5ae2d.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test build #69598 has finished for PR 16109 at commit 8c5ae2d.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/69598/
Test PASSed.

Test build #3463 has finished for PR 16109 at commit 8c5ae2d.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test build #3464 has finished for PR 16109 at commit 8c5ae2d.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test build #3462 has finished for PR 16109 at commit 8c5ae2d.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

The NPE without stack trace is probably because http://jawspeak.com/2010/05/26/hotspot-caused-exceptions-to-lose-their-stack-traces-in-production-and-the-fix/

Test build #69746 has started for PR 16109 at commit 20b01d4.

Test build #69746 has finished for PR 16109 at commit 20b01d4.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/69746/
Test FAILed.

retest this please

Test build #69752 has started for PR 16109 at commit 20b01d4.

Test build #69752 has finished for PR 16109 at commit 20b01d4.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/69752/
Test PASSed.

overall LGTM, just a few nits that would be good to fix.

Test build #69784 has started for PR 16109 at commit c9d5ba9.

Test build #69786 has started for PR 16109 at commit c70ff19.

Test build #69784 has finished for PR 16109 at commit c9d5ba9.

This patch fails to build.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/69784/
Test FAILed.

Test build #69786 has finished for PR 16109 at commit c70ff19.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/69786/
Test PASSed.

LGTM. Merging this to master and 2.1


data is not being sent on POST calls

Doing a pretty basic upload with some key/value pairs added to the data element. When I inspect the req.body in my node API, the body is empty. I'd expect the data information to be there just like when I do a regular http.post(...) call using its body parameter.
        final taskId = await uploader.enqueue(
          url: url,
          files: [
            FileItem(
              filename: dummyFilename,
              savedDir: tmp.path,
              fieldname: "file",
            ),
          ],
          method: UploadMethod.POST,
          headers: {"x-access-token": token},
          data: {
            "eventId": _event.id.toString(),
            "captureTime": DateTime.now().toIso8601String(),
            "longitude": myLocation.longitude.toString(),
            "latitude": myLocation.latitude.toString(),
            "nickname": witnessUser.nickname,
            "caption": "Video captured by caller",
            "description": "Video captured by caller",
          },
          tag: "video upload",
        );

In my nodeJs API function, req.body is empty.
But, doing a regular http.post...
        Map<String, String> parms = {
          "videoData": b64,
          "eventId": _event.id.toString(),
          "captureTime": DateTime.now().toIso8601String(),
          "longitude": myLocation.longitude.toString(),
          "latitude": myLocation.latitude.toString(),
          "nickname": witnessUser.nickname,
          "caption": "Video captured by caller",
          "description": "Video captured by caller",
        };
        http.Response resp = await http.post(
          url,
          headers: {"x-access-token": token},
          body: parms,
        );

In my nodeJs API function, req.body is populated as I'd expect.
I'd really love to move this into a background operation, and otherwise, it seems flutter_uploader is ideal for my wants. Am I misunderstanding the data paramter in the flutter_uploader?
Thanks!

I think you may need to use something like a busboy middleware to extract the fields. The request on the top (using flutter_uploader) creates a multipart/form-data request whereas the one on the bottom posts json directly.

This is me walking away shaking my head because... duh! Dumbass me. Thanks!

No worries. Btw, would be great if you have a minute to test #70 - should be good for your use case.  👍


Updating some screen shots for Cognitive Search Tutorials

@amotley : Thanks for your contribution! The author, @luiscabrer, has been notified to review your proposed change.

Hi @amotley
Microsoft authors and contributors need to make content contributions through the private repository so the content can be staged and validated by the current validation rules.
After you review staging and fix all validation issues, you can add the sign-off comment to let PR reviewers know that the updates are ready to be merged.
For more information, read about authors working in the public repo.
If you need help getting set up to work in the private repo, see Set up Git repository locally for documentation.
We'll close this PR. Thank you.


Fix batch_size

TorchSparse v2.1 changed the coordinate order from [x, y, z, batch] to [batch, x, y, z]. The batch_size acquisition method needs to be modified

Hi @dailing57 , thank you very much for the catch! We really appreciate your effort. We have already fixed the bug in the wheels on our pypi server. However, since the source code for v2.1.0 is still under internal check, we haven't release it yet. The code you have changed is actually v2.0. Therefore, we may not be able to merge this PR now.
Once again, thank you for your interest and effort in TorchSparse.
Best regards,
Shang


Transparent window background on linux

I tried to make the background of my window transparent using the example code given in the documentation. However, on linux mint I get a black background instead of a transparent one. Is there a workaround to get transparency on linux?
Operating system: Linux Mint
Flet Version: 0.7.4
import flet as ft

def main(page: ft.Page):
    page.window_bgcolor = ft.colors.TRANSPARENT
    page.bgcolor = ft.colors.TRANSPARENT
    page.window_title_bar_hidden = True
    page.window_frameless = True
    page.window_left = 400
    page.window_top = 200
    page.add(ft.ElevatedButton("I'm a floating button!"))

ft.app(target=main)

I also am having this problem in Arch Linux with flet version 0.17.0

The window_manager dart package used by Flet has an opened issue for this: https://github.com/leanflutter/window_manager/issues/179

hmmm I will try that in a couple hours and get back to you

I see where exactly in the Flet source code I can comment out those two lines, but I am unsure how to use that change in my flet app.

Which lines do you mean?


Update DeleteMeetingForm

[ ] Explain what this PR does

explanation goes here

[ ] Documentation updated (if needed)
[ ] Code reviewed by someone else on the team
[ ] PR is ready and can be merged (do not check this until all other boxes are checked)

DO NOT MERGE YET

@Lmd117 I'm going to close this PR since it's outdated. We can come back to this effort later if it feels necessary.


AD auth - automatically add admin user to authorized users and Orgs

Rancher versions: 2.0 master 3/29
Steps to Reproduce:

Enable AD authentication
Change from Allow any, to Allow members of Cluster... or to Restrict access options

Results:  Admin user is not automatically added to list.  We should that.

@wes in @mrajashree's analysis, she has found that the UI is not passing the current user in the allowedIdentities array for AD but it is passing it for GH. My take is that the UI should be consistently sending or not sending it. Can you review this comment and let me know if the UI needs to change. Re-co-assinging you
https://github.com/rancher/rancher/pull/12596#issuecomment-379939700

Version - 2.0 master 4/23
Verified fixed


Unexpected type evaluation with generic conditional type

Bug Report

🔎 Search Terms

generic types, deferred conditional types
🕗 Version & Regression Information

This is the behavior in every version I tried, and I reviewed the FAQ for entries about Common "Bugs" That Aren't Bugs, Generics

⏯ Playground Link

Playground link with relevant code
or: a much more minimal example of the error, that does not appear in 4.9.4 but does appear in earlier playground versions
💻 Code

type Or<A extends boolean, B extends boolean> = [A, B] extends [false, false] ? false : true
type And<A extends boolean, B extends boolean> = [A, B] extends [true, true] ? true : false
type Not<T extends boolean> = T extends true ? false : true
type Extends<A, B> = A extends B ? true : false

type IsStringLiteral<T> = false // type definition omitted and set to `false` (bug still appears)
type IsNumberLiteral<T> =
  And<
    Extends<T, number>,
    Not<Extends<number, T>>
  >

// !!!!!!!!!!!
type IsLiteral<T> = Or<IsStringLiteral<T>, IsNumberLiteral<T>>
//   ^?type IsLiteral<T> = true

or much more minimal example of error for playground versions <4.9:
type Or<A extends boolean, B extends boolean> = [A, B] extends [false, false] ? false : true

type IsString<T> = T extends string ? true : false

// ?????
type IsString2<T> = Or<IsString<T>, false>
//   ^?type IsString2<T> = false

// `Or` existing doesn't seem to be the problem
type IsString3<T> = [IsString<T>, false] extends [false, false] ? false : true
//   ^?type IsString3<T> = false

🙁 Actual behavior

The IsLiteral<T> type is always true, which is unexpected. I'd expect it to be computable only when type parameter T is passed in, as the value of T can change which branch of the conditional type to follow. For instance, expanding IsLiteral<T> for a given T, e.g. type IsStringTypeStringLiteral = Or<IsStringLiteral<string>, IsNumberLiteral<string>> gives the expected and "proper" result.
A comment from user xor_01 on the TS discord:

This is just my guess as to what's going on here:
instead of "calculate" actual type of IsNumberLiteral compiler decides for some reason to replace it with boolean and your implementation of Or returns true for boolean

🙂 Expected behavior

IsLiteral<T> shouldn't be replaced with true. Since the type parameter can affect the outcome of the conditional type, TS shouldn't determine the type to always follow some given condition.

We currently have logic to ensure conditional types of the form [X] extends [Y] ? A : B are deferred when X or Y are generic types. However, this logic only handles singleton tuples. We should extend it to handle tuples with multiple elements.


Unhandled exception if HTTP response does not contain expected JSON data

File "/app/.heroku/src/hellosign-python-sdk/hellosign_sdk/utils/request.py" in _check_error
  261.                 raise err_cls("%s error: %s" % (response.status_code, json_response["error_description"]), response.status_code)

Exception Value: 'NoneType' object is not subscriptable

HTTP error responses which do not contain json data trigger the above scenario.

Thank you for bringing this to our attention. I see a ticket for this issue was submitted to the API Support team, so I will be following up with you directly there. I will leave this issue open while we review the underlying cause of this error.
Internal reference: 11616711


Duktape fails to parse a regexp accepted by chrome

Embedded in some JS which deals with CSS, we have encountered the following regular expression:
/:((?:[\w\u00c0-\uFFFF_-]|\\.)+)(?:\((['"]*)((?:\([^\)]+\)|[^\2\(\)]*)+)\2\))?/

Chrome accepts this happily, but duktape complains of an invalid decimal escape.
This prevents some sites from loading their javascript frameworks.
Any help would be gratefully received.

This is one of those real world regexp leniency issues: the issue is probably [^\2] which is not allowed in standard Ecmascript:

DecimalEscape \0 evaluates to a NUL character, while all non-zero decimal escapes evaluate to an integer (E5.1 Section <IP_ADDRESS>).
ClassEscape evaluates the decimal escape and is required to SyntaxError if the result is not a character (E5.1 Section <IP_ADDRESS>). In other words, anything other than \0 evaluates to an integer which causes a SyntaxError inside a class.

Longer term I don't think it's feasible for Duktape's regexp engine to simultaneously be low footprint and support non-standard regexp idioms, so the two alternatives are:

Provide a separate regexp engine with a larger footprint but better performance and better support for extended, non-standard regexps.
Allow hooking an external regexp engine for applications where regexp behavior is especially important (like NetSurf).

I'm planning to start with the second approach, as soon as I get some time to work on it :-)

With the number of real world regexps I've seen Duktape reject, it actually amazes me that something like NetSurf is feasible.  It makes me think the leniency issue isn't as big a deal as it seems at first.

@fatcerberus As it stands, our efforts are not resulting in something compatible with what's out there; but we're working hard to make it go.  As @svaarala builds more and more possibility into duktape, so our efforts go further :-)

I was about to open a new issue, but I think it's better to just comment on this one.
I have a project built with WebPack that uses the XRegExp npm package. Duktape had problems with these two regular expressions:
/\[(\^?)]/

and
/(\()(?!\?)|\\([1-9]\d*)|\\[\s\S]|\[(?:[^\\\]]|\\[\s\S])*]/g

In both cases the issue is that the regex wants to match a literal ], but it doesn't escape it. So technically the regex is invalid.
When I change the first one to
 /\[(\^?)\]/

and the second one to
/(\()(?!\?)|\\([1-9]\d*)|\\[\s\S]|\[(?:[^\\\]]|\\[\s\S])*\]/g

Duktape is happy :)

@jfahrenkrug Support for literal curlies was added a while back - I could look into adding support for literal brackets too. They don't appear in unescaped form as commonly as the curly braces but still pop up from time to time :)

@jfahrenkrug #871; the [ matching is more complicated because it needs actual lookahead, but accepting a literal closing bracket ] should be trivial.

@svaarala That's great news, thank you! Meanwhile I've opened a PR for XRegExp: https://github.com/slevithan/xregexp/pull/141

Hi
when we use the selfDefending on javascript-obfuscator the regex chokes also
function outputMyNumber(showThis)
{
console.log(showThis);
}
function hello()
{
var getNumber = function (b) {return b+ 3; }
var thenumber = getNumber(2);
outputMyNumber(thenumber);
}
hello()
obfuscator: {
options: {
compact: true,
controlFlowFlattening: false,
deadCodeInjection: false,
debugProtection: false,
debugProtectionInterval: false,
disableConsoleOutput: false,
identifierNamesGenerator: 'hexadecimal',
log: true,
renameGlobals: false,
rotateStringArray: true,
selfDefending: true,
stringArray: true,
stringArrayEncoding: 'base64',
stringArrayThreshold: 0.75,
unicodeEscapeSequence: false,
target: 'browser'
},
function outputMyNumber(_0x393fc5){console'log';}function hello(){var _0x246e30=function(){var _0xb2ee37=!![];return function(_0x2a1c07,_0x39a818){var _0x47081b=_0xb2ee37?function(){if(_0x39a818){var _0x461e24=_0x39a818'apply';_0x39a818=null;return _0x461e24;}}:function(){};_0xb2ee37=![];return _0x47081b;};}();var _0x78fdcf=function(_0x408fe3){var _0x1a1f63=_0x246e30(this,function(){var _0x49075f=function(){return'\x64\x65\x76';},_0x57969d=function(){return'\x77\x69\x6e\x64\x6f\x77';};var _0x23f862=function(){var _0x45fb57=new RegExp('\w+\s*(){\w+\s['|"].+['|"];?\s*}');return!_0x45fb57'\x74\x65\x73\x74';};var _0x532ab5=function(){var _0x130be7=new RegExp('\x28\x5c\x5c\x5b\x78\x7c\x75\x5d\x28\x5c\x77\x29\x7b\x32\x2c\x34\x7d\x29\x2b');return _0x130be7'\x74\x65\x73\x74';};var _0x4e7fde=function(_0x47bb06){var _0x35aeea=-0x1>>0x1+0xff%0x0;if(_0x47bb06'\x69\x6e\x64\x65\x78\x4f\x66'){_0x54673c(_0x47bb06);}};var _0x54673c=function(_0x192be0){var _0x2eb20c=-0x4>>0x1+0xff%0x0;if(_0x192be0'\x69\x6e\x64\x65\x78\x4f\x66'!==_0x2eb20c){_0x4e7fde(_0x192be0);}};if(!_0x23f862()){if(!_0x532ab5()){_0x4e7fde('\x69\x6e\x64\u0435\x78\x4f\x66');}else{_0x4e7fde('\x69\x6e\x64\x65\x78\x4f\x66');}}else{_0x4e7fde('\x69\x6e\x64\u0435\x78\x4f\x66');}});_0x1a1f63();return _0x408fe3+0x3;};var _0x333e8b=_0x78fdcf(0x2);outputMyNumber(_0x333e8b);}hello();


Option to hide a full page

For example by putting [Private]  behind the page name

This is now possible with putting ::: private at the top of the page.


Use 'extras' for optional dependencies

Originally reported by: Tres Seaver (Bitbucket: tseaver, GitHub: tseaver)

The following dependencies are listed in install_requires:

backports.inspect
wmctrl
pygments

but are not unconditionally imported.  They should be listed as optional, e.g.:
    extras_require = {
        'signatures': ['backports.inspect'],
        'windowfocus': ['wmctrl'],
        'syntaxhighlight': ['pygments'],
    },

Likewise, ordereddict should only be an install_requires dependency for Python < 2.7.

Bitbucket: https://bitbucket.org/antocuni/pdb/issue/38

FWIW I like having syntax higlighting with just pip install pdbpp.

Some extras are used currently: testing, and funcsigs: https://github.com/antocuni/pdb/blob/f060024ae527cb7993fa41ecd79d451bae9c2af2/setup.py#L88-L94


SuccessStory working CPU constantly and other errors

This started happening after the latest update.  I detailed everything here: https://new.reddit.com/r/playnite/comments/1eqk3jy/successstory_updated_big_problems/
If you need more info, just ask and I'll be happy to provide it.

I have some similar problems and some that I think are related (all started after the 3.2 update).

I have the blank setting under Steam achievements

Every time a library update/scan is run this dialog pops up, and takes 190min to complete (I assume it's because of my large library)

This error also pops up during the same update/scan

From extenstions.log
13-08 15:33:25.527|INFO |SuccessStory#SuccessStoryDatabase:RefreshNoLoader(Ape Escape: On the Loose - 134554db-8fe6-498b-9961-804c9556ede8 - )
13-08 15:33:25.527|INFO |SuccessStory#SuccessStoryDatabase:Used SuccessStory.Clients.RetroAchievements for Ape Escape: On the Loose - RetroAchievements -  - Sony PSP
13-08 15:33:25.891|ERROR|SuccessStory#Common:Error on GetHash()|C:\Projects\C#\Lacro59\playnite-successstory-plugin\source\Clients\RetroAchievements.cs|585
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
   at System.IO.File.InternalReadAllBytes(String path, Boolean checkHost)
   at SuccessStory.Clients.RetroAchievements.GetHash(String FilePath, RaPlatformType platformType) in C:\Projects\C#\Lacro59\playnite-successstory-plugin\source\Clients\RetroAchievements.cs:line 585
13-08 15:33:25.891|WARN |SuccessStory#RetroAchievements:No game find for Ape Escape: On the Loose with  in PlatformType.All
13-08 15:33:26.131|ERROR|SuccessStory#Common:Error on GetHash()|C:\Projects\C#\Lacro59\playnite-successstory-plugin\source\Clients\RetroAchievements.cs|585
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
   at System.IO.File.InternalReadAllBytes(String path, Boolean checkHost)
   at SuccessStory.Clients.RetroAchievements.GetHash(String FilePath, RaPlatformType platformType) in C:\Projects\C#\Lacro59\playnite-successstory-plugin\source\Clients\RetroAchievements.cs:line 585
13-08 15:33:26.131|WARN |SuccessStory#RetroAchievements:No game find for Ape Escape: On the Loose with  in PlatformType.SNES
13-08 15:33:26.361|ERROR|SuccessStory#Common:Error on GetHash()|C:\Projects\C#\Lacro59\playnite-successstory-plugin\source\Clients\RetroAchievements.cs|585
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
   at System.IO.File.InternalReadAllBytes(String path, Boolean checkHost)
   at SuccessStory.Clients.RetroAchievements.GetHash(String FilePath, RaPlatformType platformType) in C:\Projects\C#\Lacro59\playnite-successstory-plugin\source\Clients\RetroAchievements.cs:line 585
13-08 15:33:26.389|WARN |SuccessStory#RetroAchievements:No game find for Ape Escape: On the Loose with  in PlatformType.SNES
13-08 15:33:26.635|ERROR|SuccessStory#Common:Error on GetHash()|C:\Projects\C#\Lacro59\playnite-successstory-plugin\source\Clients\RetroAchievements.cs|585
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
   at System.IO.File.InternalReadAllBytes(String path, Boolean checkHost)
   at SuccessStory.Clients.RetroAchievements.GetHash(String FilePath, RaPlatformType platformType) in C:\Projects\C#\Lacro59\playnite-successstory-plugin\source\Clients\RetroAchievements.cs:line 585
13-08 15:33:26.635|WARN |SuccessStory#RetroAchievements:No game find for Ape Escape: On the Loose with  in PlatformType.Sega_CD_Saturn
13-08 15:33:26.863|ERROR|SuccessStory#Common:Error on GetHash()|C:\Projects\C#\Lacro59\playnite-successstory-plugin\source\Clients\RetroAchievements.cs|585
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
   at System.IO.File.InternalReadAllBytes(String path, Boolean checkHost)
   at SuccessStory.Clients.RetroAchievements.GetHash(String FilePath, RaPlatformType platformType) in C:\Projects\C#\Lacro59\playnite-successstory-plugin\source\Clients\RetroAchievements.cs:line 585
13-08 15:33:26.863|WARN |SuccessStory#RetroAchievements:No game find for Ape Escape: On the Loose with  in PlatformType.SNES
13-08 15:33:27.091|ERROR|SuccessStory#Common:Error on GetHash()|C:\Projects\C#\Lacro59\playnite-successstory-plugin\source\Clients\RetroAchievements.cs|585
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
   at System.IO.File.InternalReadAllBytes(String path, Boolean checkHost)
   at SuccessStory.Clients.RetroAchievements.GetHash(String FilePath, RaPlatformType platformType) in C:\Projects\C#\Lacro59\playnite-successstory-plugin\source\Clients\RetroAchievements.cs:line 585

Disabling "Automatically import for installed games" will stop this from happening. If there's a pop up blocking it's technically a separate window in Playnite and you can close it and it'll go away allowing you make the change I mentioned in the settings at least until this is fixed


js error where create my everiment

when I "Add Environment" like below:

and then click dhf switch to it，
brower location to : http://v1:8080/env/1a15/swarm/console
and console show the below error：

the page is blank！

Useful
Info

Versions
Rancher v1.4.1 Cattle: v0.176.9 UI: v1.4.6

Access
github admin

Orchestration
Cattle

Route
stacks.index

only Environment Templates  "Cattle"  can be created and stwich it is ok , others "Mesos","Swarm" could created,but switched to get a blank page just like up screen.

Can you try with English Language? We had with language to german some issues and switched back to english, where our error did not occur.

with English Language  all are ok!

Version - master 3/2 - Verified this is broken in Chinese.

Version - v1.5.0-rc5
Verified fixed.  Switching to all types of environments work.


The model attributes validation do not  use  custom validator.

What steps will reproduce the problem?
Class Test extends Model
...
public function unique($attribute){...}
...
public function rules()
{
return [
....
['propertyName', 'unique']
];
}
...
see
file yiisoft/yii2/validators/Validator.php
function createValidator
line: 214     elseif (!isset(static::$builtInValidators[$type]) && $model->hasMethod($type))    // incorrect logic
What is the expected result?
use overwritten method
see version 2.0.9 :
if ($type instanceof \Closure || $model->hasMethod($type)) {
What do you get instead?
it uses base method
Additional info

Q
A

Yii version
latest

PHP version
PHP 8

Operating system
linux

yeah, based on v2.0.9, you can override built in
but after v2.0.36, you cannot override builtin validator, because of #14370 issue
so you may change the custom name validator

Will changing the line 214 to
} elseif ($model->hasMethod($type)) {

fix this issue?

It was forbidden to override default validator while solving the issue: https://github.com/yiisoft/yii2/pull/14499 If it can be fixed without breaking that case again we can have it.


Th Url Encode class can use query parameter and path specific encode helpers

The RFC specifies which characters in a query parameter can be left unencoded.
https://www.rfc-editor.org/rfc/rfc3986#section-3.4
Our current implementation of Encode(), by default, encodes all characters except those that are reserved, and pushes the requirement to the caller to know which "doNotEncodeSymbols" to pass-in, depending on whether we are encoding a query parameter and path.
https://github.com/Azure/azure-sdk-for-cpp/blob/6c0901b2ffedc92a48ae20477bf89d7efbc6f257/sdk/core/azure-core/inc/azure/core/url.hpp#L90

Example character set that is encoded by default in .NET:
https://source.dot.net/#System.Net.WebClient/System/Net/WebClient.cs,e2ba799663a47083
cc @LarryOsterman


feat: CLIN-3223 make sample preprocessing script call work on qlin

Opening this so that you can visualize changes better.
We should test in qlin before merging this.
We should also test locally and any other environments (narval?)

Agreed with @dmorais in creating a release branch for clin.
Agreed with @dmorais that it's ok to merge on that branch without testing with slurm/narval environments.  We can do these tests later when we want to merge changes from the clin branch to the main branch.
Tags created from the clin branch should have the suffix "clin" (ex: v1.1.0-clin).

Tested this branch in qlin environment. It seems to work.


Reinitialize local macros as empty file

Using this docker image with DISABLE_IPV6 environment variable only (small smtp server for development under docker-compose setting) will give an error the second time
you start the container without recreating because it will add an additional disable_ipv6 line to the localmacros file and it gives an error of:

2017-07-19 11:06:02 Exim configuration error in line 23 of /var/lib/exim4/config.autogenerated.tmp:
  "disable_ipv6" option set for the second time

This fixes it by resetting the localmacros file in the beginning of the entrypoint.

thanks @ruicampos for the PR, what if we use touch filename instead of echo -n ?

Hello @oba11.
touch will not clear the file and will only set its last modification time. For this to work, you need to start with an empty file between stopping and starting the container without recreating.

@ruicampos you are absolutely right, it won't work for stopping & starting containers.
Merging it now, thanks!


created sign up page

I added  a button on the log in page for people who are not users yet, it takes them to an identical page with a sign up form instead of a log in form. Once they sign up, they are redirected back to the log in. They can also just go back to log in without filling out the form. I used 2 pages instead of putting them on the same page because I'm not sure how to submit forms without going to a new page haha, and I think it looks better.

resolves issue #123


⚠ ClamAV has degraded performance

In 23d3bd9, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 87 ms

Resolved: ClamAV performance has improved in 85f7334.


Toggle different map symbols

Need to be able to toggle on and off the various map symbols that appear. For example, perhaps the user only wants to view bedding symbols.

Added with commit d7f1d264c2d29275ac341969f936232f97f36e47.
@nicolasmroberts Check this out in the next version and see if it's working as you intended.

@jessicagood This feature is almost working right. It doesn't seem to deal well with associated lines/planes, though. For example, I have a project with foliations, lineations, and fold hinges. However, when I toggle off foliations, the lineations (which are "associated lines" to the foliation) also disappear. They should instead be under a separate toggle "lineations"

@nicolasmroberts Would we use the lineation label for any linear feature measurements (primary or associated) that do not have a specific feature type assigned? If so what about planar and tabular features that do not have a specific feature type assigned? Should those be listed with a toggle too and what would their labels be?

@jessicagood "linear feature" label for uncategorized lineation measurements. "planar feature" label for uncategorized planar measurements.

@Jessicagood you can close this issue


[Feature]

Description
If you look at the footer now, it doesn't look right. Besides, it is taking up a lot of space.

I would like to improve it somewhat like this:

And don't worry; I will make sure it properly blends in with your UI.
Screenshots
No response
Checklist

[X] I have checked the existing issues
[X] I have read the [Contributing Guidelines]
[X] I have read the discussion tab thoroughly and got the project idea
[X] I am willing to work on this issue (optional)
[ ] I am a GSSoC'23 contributor

@PriyansuMaurya The codebase is getting migrated to nextjs by tonight so i would request you to start making changes in that codebase tomorrow


Right hand sides of constraints

In the current version of the software, class Implicit stores a right hand side, a value and jacobian.
It seems that those members are not used since the commonly used solvers solver::HierarchicalIterative and solver::BySubstitution handle themself those values.
To make things clearer, I intend to make the following methods deprecated in class Implicit:

void rightHandSideFromConfig (ConfigurationIn_t config),
vectorIn_t rightHandSide () const,
size_type rhsSize (),
vectorOut_t nonConstRightHandSide (),
vector_t& value (),
matrix_t& jacobian ()

Method rhsSize will be replaced by rightHandSideSize and will return the number of "Equality" comparators for homogeneity with solver classes.
Does anyone have an opinion?

I agree with these changes.

Those methods are however used in the following places:

https://github.com/humanoid-path-planner/hpp-manipulation/blob/05cfdf973a419f7f89c1a67d62ddfd505d05506d/src/steering-method/cross-state-optimization.cc#L301
https://github.com/humanoid-path-planner/hpp-manipulation/blob/05cfdf973a419f7f89c1a67d62ddfd505d05506d/src/steering-method/cross-state-optimization.cc#L318
https://github.com/humanoid-path-planner/hpp-manipulation/blob/05cfdf973a419f7f89c1a67d62ddfd505d05506d/src/steering-method/cross-state-optimization.cc#L387
https://github.com/humanoid-path-planner/hpp-manipulation/blob/05cfdf973a419f7f89c1a67d62ddfd505d05506d/src/steering-method/cross-state-optimization.cc#L393
https://github.com/humanoid-path-planner/hpp-manipulation/blob/05cfdf973a419f7f89c1a67d62ddfd505d05506d/src/steering-method/cross-state-optimization.cc#L475

and here:

https://github.com/humanoid-path-planner/hpp-wholebody-step/blob/cbc0a7ea853ea2faaa9d5c7a92c29fadadfbc47a/include/hpp/wholebody-step/time-dependant.hh#L39
https://github.com/humanoid-path-planner/hpp-wholebody-step/blob/cbc0a7ea853ea2faaa9d5c7a92c29fadadfbc47a/include/hpp/wholebody-step/time-dependant-path.hh#L101

The implementation of this steering method is not fully complete.
We could compute the right hand side using the solver. It wouldn't change much the code. We only have to check the solver methods that compute it.

Note that method rightHandSideAt

does not return anything if rhsFunction_ is set,
uses internal member rhs_:
https://github.com/humanoid-path-planner/hpp-constraints/blob/b3e7986feda583acf09e7ed46d54ff1fdbeb1ab7/src/implicit.cc#L55.

Here, https://github.com/humanoid-path-planner/hpp-constraints/blob/b3e7986feda583acf09e7ed46d54ff1fdbeb1ab7/src/solver/hierarchical-iterative.cc#L493,
shouldn't we store the right hand side of the function in the solver as for constant right hand side ?

I think we should modify the API of class Implicit.
Let us define 2 sizes for the right hand side:

constraint dimension, equals to the function outputSize.
parameterizable size, equals to the number of non-zero lines.

Then, apply the following change to class Implicit:

add a getter for the two sizes defined above, with clear name not refering to rhs.
remove of getters of the right hand side.
all function computing / modifying the right hand side take as argument a vectorOut_t of the correct size (which ?).
add a getter of the MatrixBlock that allows to view the reduced right hand side, from the full right hand side.

For constraints whose right hand side takes value in non-vector space, we should enforce (at least for now) that the comparison type be EQUAL_TO_ZERO.
I propose to have an oral discussion on that.

Finally, I partially did what I announced. Class Implicit still store the right hand side, but value and Jacobian habe been removed.


envoy.code.check: Further optimization of yapf check

Signed-off-by: Ryan Northey<EMAIL_ADDRESS>

closing in favour of #361


GeoAI_2021_unit_00_FAQ

Sorry I was ill the first lessons, so I could not pay attention on this course. But I am trying to repeat what I have missed. I still have not loaded the data for the assignments.
Does someone know, how to log in to the course server?
My uni account and password does not work here. Is there a link to get new username and password?

@Baldl could you pls forward the crendentials? I am again kind of lost about the access.

@Muenchj4 You should now have received an email with the credentials now.

@gisma
@Baldl I have received the log in credentials. I also have downloaded some of the data. But the pictures are not shown on my screen. Maybe I have used the wrong programme to open them.

@Muenchj4  what exactly do xou mean with the sentence "But the pictures are not shown on my screen. Maybe I have used the wrong programme to open them"?
Actually you know how to plot and to visualize this data. If there is a error message please provide it.

Has somebody the link to rewatch the past lessons?

@Baldl @dirkzeuss
@Muenchj4 I have no credentials to make it public bur follow this link should work.

Thank you very much.
Zitat von Chris Reudenbach @.***>:

@Baldl @dirkzeuss
@Muenchj4 I have no credentials to make it public bur follow this
link should
work.
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/GeoMOER/geoAI/issues/6#issuecomment-981080733


Investigate solution for operating the details component with Dragon

What
Investigate if it's possible to enhance the details component in order for it to be operable via Dragon.
Why
This is in response to https://github.com/alphagov/govuk-design-system/issues/4029. This was raised in a recent DAC audit that dictation software Dragon doesn't recognise the details component and can't operate it. More detail is available in that issue.
Notes
As mentioned in the linked issue, we'd like to avoid DAC's suggestion to convert the details component from a literal details element into an accordion-like component as this will add extra weight to govuk-frontend and undo work we did to remove the details polyfill for 5.0.
Timebox
1 week (preliminary)
Questions to answer

[x] Can we make Dragon recognise the details component as a details element?
[x] Is there a way to reimplement the polyfill progressively?

Done when

[ ] Questions have been answered or we have a clearer idea of how to get to our goal
[ ] Findings have been reviewed and agreed with at least one other person
[ ] Findings have been shared, e.g: via a write-up on the ticket, at a show & tell or team meeting

Update
Alongside desk research to see if there are other solutions we could try, we'll be experiementing with reverting the removal of the details polyfill to see if that version of the details component works.
This isn't a guarantee that we'll merge that reversion as there are other downsides to including the details polyfill.

Update on the above comment: we've discovered the js aria-controls enhancement does work! We've updated the linked PR to include it.
We'd like to double check this with DAC to both verify that the change in announcement from 'summary' or 'disclosure triangle' to 'button' isn't an issue and so that they know about our solution for future audits.

We're closing this issue as we have a way forward as per my previous comment. I'll be making an issue to talk to DAC after this.


Ubuntu setup fails on Ansible/Docker 2.2.1 setup with "Cannot uninstall 'urllib3'"

Environment details:
Used Vagrant to launch an AMI in AWS (both ami-af868e9f in US West 2 and ami-019abc64 in US East 2 reproduce the error).
Steps to reproduce the issue:

Used vagrant to create a VM in AWS

'vagrant ssh' into VM

Installed git with:
sudo add-apt-repository ppa:git-core/ppa
sudo apt-get update
sudo apt-get install git -y

Followed instructions here, after the git install line: https://github.com/apache/incubator-openwhisk/blob/master/tools/ubuntu-setup/README.md

Provide the expected results and outputs:
Expected installation to proceed cleanly.
Provide the actual results and outputs:
Within the ansible.sh installation of Docker 2.2.1, the following occurs:
+ sudo pip install docker==2.2.1
The directory '/home/ubuntu/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/ubuntu/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Collecting docker==2.2.1
/usr/local/lib/python2.7/dist-packages/pip/_vendor/urllib3/util/ssl_.py:339: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  SNIMissingWarning
/usr/local/lib/python2.7/dist-packages/pip/_vendor/urllib3/util/ssl_.py:137: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  InsecurePlatformWarning
/usr/local/lib/python2.7/dist-packages/pip/_vendor/urllib3/util/ssl_.py:137: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  InsecurePlatformWarning
  Downloading https://files.pythonhosted.org/packages/d9/af/a02ebab0c9791f66addb7e460dc3085240c4ec2c8f33c146fddc18156968/docker-2.2.1-py2.py3-none-any.whl (107kB)
    100% |████████████████████████████████| 112kB 3.8MB/s
Collecting backports.ssl-match-hostname>=3.5; python_version < "3.5" (from docker==2.2.1)
  Downloading https://files.pythonhosted.org/packages/76/21/2dc61178a2038a5cb35d14b61467c6ac632791ed05131dda72c20e7b9e23/backports.ssl_match_hostname-<IP_ADDRESS>.tar.gz
Requirement already satisfied: six>=1.4.0 in /usr/lib/python2.7/dist-packages (from docker==2.2.1) (1.5.2)
Collecting websocket-client>=0.32.0 (from docker==2.2.1)
  Downloading https://files.pythonhosted.org/packages/9d/fb/f51a03e232e00d6c504dfe815aed090c894ba3f8d3f7fd9612f3e227bf24/websocket_client-0.47.0-py2.py3-none-any.whl (200kB)
    100% |████████████████████████████████| 204kB 7.2MB/s
Requirement already satisfied: ipaddress>=1.0.16; python_version < "3.3" in /usr/local/lib/python2.7/dist-packages (from docker==2.2.1) (1.0.22)
Collecting docker-pycreds>=0.2.1 (from docker==2.2.1)
  Downloading https://files.pythonhosted.org/packages/5c/b6/3a4ca03225f6e9a25cb47cd3c695d19b88df5928ab9310e64dec1eb3b4d1/docker_pycreds-0.2.3-py2.py3-none-any.whl
Collecting requests!=2.11.0,!=2.12.2,>=2.5.2 (from docker==2.2.1)
  Downloading https://files.pythonhosted.org/packages/49/df/50aa1999ab9bde74656c2919d9c0c085fd2b3775fd3eca826012bef76d8c/requests-2.18.4-py2.py3-none-any.whl (88kB)
    100% |████████████████████████████████| 92kB 9.1MB/s
Collecting urllib3<1.23,>=1.21.1 (from requests!=2.11.0,!=2.12.2,>=2.5.2->docker==2.2.1)
  Downloading https://files.pythonhosted.org/packages/63/cb/6965947c13a94236f6d4b8223e21beb4d576dc72e8130bd7880f600839b8/urllib3-1.22-py2.py3-none-any.whl (132kB)
    100% |████████████████████████████████| 133kB 7.6MB/s
Requirement already satisfied: idna<2.7,>=2.5 in /usr/local/lib/python2.7/dist-packages (from requests!=2.11.0,!=2.12.2,>=2.5.2->docker==2.2.1) (2.6)
Collecting chardet<3.1.0,>=3.0.2 (from requests!=2.11.0,!=2.12.2,>=2.5.2->docker==2.2.1)
  Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133kB)
    100% |████████████████████████████████| 143kB 9.1MB/s
Collecting certifi>=2017.4.17 (from requests!=2.11.0,!=2.12.2,>=2.5.2->docker==2.2.1)
  Downloading https://files.pythonhosted.org/packages/7c/e6/92ad559b7192d846975fc916b65f667c7b8c3a32bea7372340bfe9a15fa5/certifi-2018.4.16-py2.py3-none-any.whl (150kB)
    100% |████████████████████████████████| 153kB 9.8MB/s
cheetah 2.4.4 requires Markdown>=2.0.1, which is not installed.
Installing collected packages: backports.ssl-match-hostname, websocket-client, docker-pycreds, urllib3, chardet, certifi, requests, docker
  Running setup.py install for backports.ssl-match-hostname ... done
  Found existing installation: urllib3 1.7.1
Cannot uninstall 'urllib3'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
/usr/local/lib/python2.7/dist-packages/pip/_vendor/urllib3/util/ssl_.py:137: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  InsecurePlatformWarning

Additional information you deem important:

Might this be an AMI issue I'm having or some Python version conflict as the error indicates or something else?

What is AMI?

Amazon Machine Image.
ami-af868e9f in US West 2 can be found here, as an example:
http://cloud-images.ubuntu.com/releases/14.04.3/14.04.3/
The 64-bit HVM.

Thanks @nerdguru for reporting the issue

@nerdguru
I was able to reproduce locally with a fresh install of ubuntu14.04.05 on virtual boxe
There is a problem with some pip packages, I have a proposed fix in #3614
Give it a try to see if that helps.

Confirmed @csantanapr that works now. Thanks so much!


Override required PHP version in composer.json

Is there a way to override default requirement for PHP minimal version? Currently it requires php >= 7.4, but I would like to make it >= 8.0 since I add additional class into generated package which uses PHP 8.0 capabilities. I tried this:
$options = GeneratorOptions::instance();
$options
    ...
    ->setOptionValue(GeneratorOptions::COMPOSER_SETTINGS, ['require' => ['php' => '>= 8.0']])
    ...

or this:
$options = GeneratorOptions::instance(/* '/path/file.yml' */);
$options
    ...
    ->setComposerSettings([
        'require.php:>=8.0',
    ])
    ...

But it produces incorrect composer.json like this:
    "require": {
        "php": [
            ">=7.4",
            ">=8.0"
        ],
    },

Is there any solution instead of modifying composer.json after generation?

The Composer class is responsible of merging default composer settings with passed settings but it seems it does work perfectly.
It uses the array_merge_recursive function within it but it needs some adjustements then.
Feel free to make a PR if you feel comfortable enough, I'll work on it as soon as possible otherwise.

@mikaelcom Well, I made a pull-request #305 which fixes this issue. I simply replaced array_merge_recursive with array_replace_recursive. Your tests don't work, at least when I run them locally with vendor\bin\phpunit or vendor\bin\phpunit --testsuite=model I see a lot of errors (even before my change). But my own tests show that the change works fine.


Input PIV Parameter issue

mI-PIV app beta version 14 is not allowing us to set input PIV parameters in both default settings as well as in advanced settings.Due to this we are unable to move to the next step.

when I set default parameters, I don't see the option to ok it.And the same
problem comes in advance parameter settings when I set it, I don't see the
option to ok it too.I think we don't see the entire window of the PIV
parameter dialogue which is why there is no OK button.
On Mon, Jun 13, 2022, 8:03 AM Kris Price @.***> wrote:

Which parameters? What does "not allowing" entail?
—
Reply to this email directly, view it on GitHub
https://github.com/mI-PIV/app/issues/310#issuecomment-1153956768, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AZKJUO2RAX33ZLMCN23DXPDVO45RHANCNFSM5YTRCWHA
.
You are receiving this because you authored the thread.Message ID:
@.***>

Ah, okay I'll check it out. Thank you!

I'll take a look at this as well. It may be that we're opening up the popup with a certain pixel size. So on my phone it may look fine but on others it may be too big or small.

@Zainghgh what phone are you using? Are you still getting this issue? I am using a Google Pixel 4 phone and I'm not seeing any problems. I was wondering if certain types of phones run into this issue.

On a Samsung A51 the advanced parameters popup doesn't fit in the screen if
that example helps
On Mon, Jun 27, 2022, 12:38 PM Kevin Roberts @.***>
wrote:

@Zainghgh https://github.com/Zainghgh what phone are you using? Are you
still getting this issue? I am using a Google Pixel 4 phone and I'm not
seeing any problems. I was wondering if certain types of phones run into
this issue.
—
Reply to this email directly, view it on GitHub
https://github.com/mI-PIV/app/issues/310#issuecomment-1167657785, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ASRTNWOGB6UISAZCAST6Z4DVRHRIBANCNFSM5YTRCWHA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Hello Kevin,
I am using LG V40 ThinQ phone.Yes still I am facing same issue PIV
Parameters Dialog popup doesn't fit in the screen and we are unable to set
PIV Parameters.
Thanks
Zain
On Mon, Jun 27, 2022, 6:24 PM jack-elliott @.***> wrote:

On a Samsung A51 the advanced parameters popup doesn't fit in the screen if
that example helps
On Mon, Jun 27, 2022, 12:38 PM Kevin Roberts @.***>
wrote:

@Zainghgh https://github.com/Zainghgh what phone are you using? Are
you
still getting this issue? I am using a Google Pixel 4 phone and I'm not
seeing any problems. I was wondering if certain types of phones run into
this issue.
—
Reply to this email directly, view it on GitHub
https://github.com/mI-PIV/app/issues/310#issuecomment-1167657785, or
unsubscribe
<
https://github.com/notifications/unsubscribe-auth/ASRTNWOGB6UISAZCAST6Z4DVRHRIBANCNFSM5YTRCWHA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

—
Reply to this email directly, view it on GitHub
https://github.com/mI-PIV/app/issues/310#issuecomment-1168073085, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AZKJUO2LWYCB7OQHIHPMWATVRJA5NANCNFSM5YTRCWHA
.
You are receiving this because you were mentioned.Message ID:
@.***>

I was able to test this issue on the LG V40 ThinQ and the Google Pixel 4 phones. The issue originated from trying to increase the width of the popup to make sure the lightbulbs (now information icons) weren't cut off. Apparently, getWindow().getAttributes.width must be set differently for various phones. Using DisplayMetrics, I was able to grab the phones current width, then set a small buffer (35 pixels), to ensure the information icons weren't cut off.
Commit 3a1bae8 fixes this issue.