Implement NSHTTPURLResponse

This implements both the trivial attributes (statusCode and allHeaderFields), and also parses the headers in order to set the following attributes:
public var MIMEType: String? { get }
public var expectedContentLength: Int64 { get }
public var textEncodingName: String? { get }
public var suggestedFilename: String? { get }

Added tests for these.
The
public class func localizedStringForStatusCode(statusCode: Int) -> String { NSUnimplemented() }

method on NSHTTPURLResponse is still unimplemented.

Note: This changes the type of allHeaderFields to [String : String] — I hope that's ok?

That actually makes sense since the init method is NSDictionary<NSString *, NSString *> *)headerFields.
It seems like that might just be an oversight for the property. I will follow up with that component owner to determine if it is actually the case that it can never be anything but strings.

@phausler The same goes for NSURLSessionConfiguration and HTTPAdditionalHeaders.

Thanks for the feedback. I’ve tried to address you suggesting with ae45629 and 82a818e. I’ll squash everything into a single commit if / once I get a green light.

looks pretty good to me.

Should this be assigned to @salgernon ?

I rebased against master and squashed the 3 commits into a single commit.

The tests seem to have some failures when it is tested against the objective-c version for me:
Test: test_contentLength_notAvailable_2() in TestNSHTTPURLResponse failed on My Mac
Assertions: XCTAssertEqual failed: ("Optional(997)") is not equal to ("Optional(-1)") -
File: test.swift:174

Test: test_contentLength_notAvailable_3() in TestNSHTTPURLResponse failed on My Mac
Assertions: XCTAssertEqual failed: ("Optional(997)") is not equal to ("Optional(-1)") -
File: test.swift:179

Test: test_contentLength_notAvailable_4() in TestNSHTTPURLResponse failed on My Mac
Assertions: XCTAssertEqual failed: ("Optional(997)") is not equal to ("Optional(-1)") -
File: test.swift:184

Test: test_contentLength_notAvailable_5() in TestNSHTTPURLResponse failed on My Mac
Assertions: XCTAssertEqual failed: ("Optional(997)") is not equal to ("Optional(-1)") -
File: test.swift:189

Test: test_MIMETypeAndCharacterEncoding_3() in TestNSHTTPURLResponse failed on My Mac
Assertions: XCTAssertEqual failed: ("Optional("iso-8859-4")") is not equal to ("Optional("ISO-8859-4")") -
File: test.swift:265

Test: test_suggestedFilename_4() in TestNSHTTPURLResponse failed on My Mac
Assertions: XCTAssertEqual failed: ("Optional("wrong.ext")") is not equal to ("Optional("fname.ext")") -
File: test.swift:234

Test: test_suggestedFilename_notAvailable_1() in TestNSHTTPURLResponse failed on My Mac
Assertions: XCTAssertNil failed: "Unknown" -
File: test.swift:208

Test: test_suggestedFilename_notAvailable_2() in TestNSHTTPURLResponse failed on My Mac
Assertions: XCTAssertNil failed: "Unknown" -
File: test.swift:213

Test: test_suggestedFilename_onlyTheLastPathComponent_1() in TestNSHTTPURLResponse failed on My Mac
Assertions: XCTAssertEqual failed: ("Optional("_a_b_name")") is not equal to ("Optional("name")") -
File: test.swift:239

Test: test_suggestedFilename_onlyTheLastPathComponent_2() in TestNSHTTPURLResponse failed on My Mac
Assertions: XCTAssertEqual failed: ("Optional("a_.._b_name")") is not equal to ("Optional("name")") -
File: test.swift:244

Test: test_suggestedFilename() in TestNSURLResponse failed on My Mac
Assertions: XCTAssertNil failed: "path" -
File: test.swift:67

The failure in test_suggestedFilename_4 looks like a bug in Darwin Foundation to me.

I've addressed the difference to Objective-C Foundation with the 4 above commits.

I tend to agree that probably the failure of test_suggestedFilename_4 on Darwin is a bit un-expected; I will follow up with the networking team via radar on this. For now I would probably claim if that is the only differential it is an edge-case enough that it shouldn't hamper this PR.

@swift-ci Please test

I’ll squashed the commits into a single commit…

@swift-ci Please test

@swift-ci please test

@swift-ci please test


how to fetch the country for a given zipcode

Hi,
I have a requirement to input the zip code and get the country name. Can you suggest me what is the input argument?
Raja K

I'm not totally sure if you can make this. ZIP codes aren't globally unique AFAIK.


Highlighting applies to Editor text after opening file

Expected Behavior
Highlighting should only apply temporarily to matching parentheses
Actual Behavior
Highlighting applies to all new text in Editor after opening a file whose contents are contained within a single pair of parentheses (the first character is a parentheses and it matches with the last parentheses in the file) unless cursor passes over a parentheses
Steps to Reproduce the Problem

Switch to Editor
Open a file whose contents are contained within a single pair of parentheses
Without moving the cursor, type some text
Notice it is highlighted
Start a new file
Type some text
Notice it is highlighted

https://github.com/objecthub/swift-lisppad-ios/assets/68421539/343cd1f6-0c74-4ac9-a2bf-ad41161a04ac
Specifications

Version: 2.0
Platform: iOS 17.3

Thanks for the bug report. I verified that also this issue is fixed with commit 566685e.

This has been fixed with release 2.0.1.


DOCS-#3354: add note about Dask's approximate quantile

Signed-off-by: Myachev<EMAIL_ADDRESS>
What do these changes do?

[ ] commit message follows format outlined here
[ ] passes flake8 modin
[ ] passes black --check modin
[ ] signed commit with git commit -s
[x] Resolves #3354
[ ] tests added and passing
[ ] module layout described at docs/developer/architecture.rst is up-to-date

@devin-petersohn please review


fix: signout should remove session if user doesn't exist

What kind of change does this PR introduce?

Fixes #540, #524, #520

Sweet! This seems to resolve enough of 540 to close it, and all of 520 🎉; but not #524, as you stated it would in the description.
I fetched your PR locally and tested. If you add the below code in the signOut test (not the test you added, but the one right above it), it still returns user data with getUser() after the user is signed out. From the client output, you'll see where the headers and admin.headers still have the logged-out user's jwt. This is the main concern of 524.
const res = await authWithSession.signOut()
expect(res).toBeTruthy()
+ console.log(authWithSession)
+ const { data: { user } } = await authWithSession.getUser()
+ expect(user).toBe(null)

I was able to "reset" the GoTrueClient header by doing this.headers = { ...DEFAULT_HEADERS } in _removeSession(). But that still leaves the GoTrueAdminApi headers; which I wasn't able to access via this.admin.headers from the GoTrueClient since it's protected.
Also, when using the supabase-js client in a project, the this.changedAccessToken property still contains the jwt. See Gary's output in 524 here.
I'd say we'll need to make a change in the supabase-js repo as well if we want to resolve 524. See comment here for how I was able to do that on the fly. Might not be the way you want to resolve it - I was just experimenting.

I think the root of this issue is https://github.com/supabase/supabase/issues/5990

@j4w8n fixed #524 in this commit, turns out the _request wrapper method was directly using the headers object passed into it, and since objects in javascript are passed by reference instead of by value, we need to copy it into a new object first
thanks for catching this btw! i've updated the test suite too to prevent regression in the future


[DRAFT] Research validation configurations

User Story:
As a sender, I may want validation to ensure the messages I send adhere to a specific format. As a receiver, I may want validation to ensure the messages I receive adhere to a specific format.
Description/Use Case
We want to do some research to figure out which formats are most important to our senders and receivers so we can prioritize which formats to put effort into up front.
Risks/Impacts/Considerations
We currently have a validator in the admin view that senders can validate against, may want to use this as a starting place. Though in the FHIR epic, this should also include research for HL7 formats since there will likely be a lot of overlap in the conversations you need to have.
Dev Notes:
Acceptance Criteria

[ ] We have an approved list of formats needed for FHIR and HL7 receivers and senders for MVP.

One FHIR IG we need to support is RadxMars FHIR IG for OTC ELR data. This is what the connectathon in May is regarding, info can be found here: http://build.fhir.org/ig/HL7/home-lab-report/implementation_guide.html

Hey team! Please add your planning poker estimate with Zenhub @arnejduranovic @brick-green @jack-h-wang @JessicaWNava @JFU-NAVA-PBC @jimmyfagan @luis-pabon-tf @thetaurean

@thetaurean Please move to ready for grooming or let me know if we should icebox this story.


[18.03] backport bump containerd client

Backports https://github.com/moby/moby/pull/36684 to fix issues with re-connecting to containerd for cached containerd objects.
git cherry-pick -x -s -Xsubtree=components/engine 30cb23360e21c7914f41e69496abde4780bd7bc1
git cherry-pick -x -s -Xsubtree=components/engine 2c682d5209d1d1cdd232ce3909fa25b6023f9a5b

No conflicts.

Bumps containerd client
Uses containerd client's new Reconnect() API to reconnect cached clients instead of replacing them (leaving stale clients in other cached objects).

Closing this PR because docker-ce 18.03 is EOL.


Return non zero exit code if LAMMPS errors out in the raw calculation

I noticed that in the LammpsRawCalculation the calculation can end up with a zero exit code even if LAMMPS exited with an error. I think that one should add a simple check like the one in the LammpsBaseCalculation where one checks if an error was printed to the stdout and then exit with a non-zero exit code.
https://github.com/aiidaplugins/aiida-lammps/blob/77f4594bb21dc5c4c99c13a7884e28c6356d1f04/aiida_lammps/parsers/base.py#L72-L77

@sphuber this is also something that I'll add after #77 is done.

Closed via #90


ENHANCMENT: Traefik - add ability to use rules.toml file

What this PR does / why we need it:
Adds ability to use a rules.toml file to redirect to websites outside of Ansilbe-NAS
Which issue (if any) this PR fixes:
Fixes #
Any other useful info:

This doesn't provide any way to customise the file referenced in the config. Is this PR complete?

Subjective. I would say yes. I considered a template but the possibilities to be in that template are endless; it's too open. Plus if you edit roles.toml directly in a template setup, it'll be overwritten. With that said  a list variable to insert into the template might work.

The config reference will load the file from within the container. What puts it there?

Closing as not something I want to support


Should LocalDate/LocalTime/LocalDateTime objects always be in UTC?

It looks like LocalDate/LocalTime/LocalDateTime are mostly used with timezone UTC.
However there are some cases where the default JVM timezone is used  instead of UTC.
Examples:
https://github.com/corona-warn-app/cwa-server/blob/fdc3dc14adf3131ff5b273cd11e7570d607f6bad/services/distribution/src/main/java/app/coronawarn/server/services/distribution/assembly/component/DiagnosisKeysStructureProvider.java#L70
https://github.com/corona-warn-app/cwa-server/blob/fdc3dc14adf3131ff5b273cd11e7570d607f6bad/services/distribution/src/main/java/app/coronawarn/server/services/distribution/runner/TestDataGeneration.java#L147
https://github.com/corona-warn-app/cwa-server/blob/fdc3dc14adf3131ff5b273cd11e7570d607f6bad/services/distribution/src/main/java/app/coronawarn/server/services/distribution/runner/TestDataGeneration.java#L156
Is this a bug?
Also, I'm wondering if there is potential for bugs in the mobile app code when mobile clients are running in different timezones than the server and and assuming their local timezone e.g. when syncing the latest data from S3 which seems to be organized with local timestamp as folder names.

I went ahead and did a PR with a  fix assuming it's a bug.
If timestamps should be UTC in general and many of the calculations are pure epoch time calculations, maybe using java.time.Instant instead would leave less potential for bugs than LocalDateTime with implicit timezone UTC that needs to be checked everywhere and it's easy to miss specifying UTC with a LocalDateTime object since the default is the local timezone.
I realize this would be a quite pervasive change though...


PlutusTx.loadFromFile using a runtime parameter

Describe the feature you'd like
I want to load validator from file by using a runtime parameter (i.e. parameter based on user input of the running program).
I'd like to do something like this where the path is coming from e.g. a command line argument:
myValidator :: P.FilePath -> PlutusTx.CompiledCode UntypedValidator
myValidator path = $$(PlutusTx.loadFromFile path)

Of course it doesn't work resulting in the following error:
• GHC stage restriction:
    ‘path’ is used in a top-level splice, quasi-quote, or annotation,
    and must be imported, not defined locally
• In the typed splice: $$(PlutusTx.loadFromFile path)

Is there any trickery available with Template haskell to be able to do this somehow?
Describe alternatives you've considered
I've found an alternative to use this package https://hackage.haskell.org/package/th-env and pass the path via env variables.

Hi @KristianBalaj, TH code runs at compile time, so it cannot depend on a runtime parameter. If you need to load CompiledCode from a path at runtime, how about do { s <- Data.ByteString.readFile path; pure (SerializedCode s Nothing mempty) }?

@KristianBalaj it looks to me like @zliu41 answered your question. As such, I'm closing this issue. Please do feel free to reopen it if there's still something you'd like to discuss here.


fix #3895: Set Conscrypt.setUseEngineSocket per SocketFactory

This change avoids static configuration which may cause issues
for applications using both OkHttp and HttpsUrlConnections.

tagging @yschimke

I'm not against this, I did a similar PR but decided against landing it
https://github.com/square/okhttp/pull/3868/files
Partly because of this comment
https://github.com/google/conscrypt/pull/430#pullrequestreview-98607500

@cakofony what is the impact on you. Is it breaking usage, or are you concerned about performance? I’m mainly curious how it showed up.

@yschimke It causes HttpUrlConnections to block until socket timeout where I would expect them to complete successfully very quickly.
It doesn't seem to happen on all uses of HttpsUrlConnection, but fairly consistently for a simple api that loads my application version (one of the fastest calls in the app, goes from .5ms to 60s timeout, and fail)
I've not been able to produce a simple repro quite yet, but I can fix the problem on my stack by disabling okhttp conscrypt integration (or flipping the default false after the okhttp platform initializes).

I think the test failure in CI will be fixed by this https://github.com/square/okhttp/pull/3900

@cakofony have you submitted http://square.github.io/okhttp/#contributing

Yep!


Prompts used to build In-house data

could you please release prompts to build in-house data

Initially, we used fixed and detailed prompt:
"
Write a detailed description of this image, do not forget about the texts on it if they exist. Also, do not forget to mention the type / style of the image. No bullet points. When writing descriptions, prioritize clarity and direct observation over embellishment or interpretation.
Don't forget these rules:

Be Direct and Concise: Provide straightforward descriptions without adding interpretative or speculative elements.
Use Segmented Details: Break down details about different elements of an image into distinct sentences, focusing on one aspect at a time.
Maintain a Descriptive Focus: Prioritize purely visible elements of the image, avoiding conclusions or inferences.
Follow a Logical Structure: Begin with the central figure or subject and expand outward, detailing its appearance before addressing the surrounding setting.
Avoid Juxtaposition: Do not use comparison or contrast language; keep the description purely factual.
Incorporate Specificity: Mention age, gender, race, and specific brands or notable features when present, and clearly identify the medium if it's discernible.
"

Later, we adopted the method of Allava. For a given image, GPT-4V generates a set of five candidate questions, from which one question is randomly selected as the prompt. This approach increases the diversity of prompts.

I greatly appreciate you sharing the prompts and methods used for building in-house data.


Not Able to compile code

Hello Team, I'm unable to compile after download code. anyone can help me ?

https://github.com/obfuscar/obfuscar/blob/2.2.38/.github/workflows/windows.yml


BTRX-277 - Implement "Download Full Application" button

[ ] Submitter: Include the JIRA issue number in the PR description
[ ] Submitter: Make sure Swagger is updated if API changes
[ ] Submitter: Check documentation and code comments. Add explanatory PR comments if helpful.
[ ] Submitter: JIRA ticket checks:

Acceptance criteria exists and is met
Note any changes to implementation from the description
Add notes on what you've tested

[ ] Submitter: Update RC_XXX release ticket with any config or environment changes necessary
[ ] Submitter: Update FISMA documentation if changes to:

Authentication
Authorization
Encryption
Audit trails

[ ] Submitter: If you're adding new libraries, sign us up to security updates for them
[ ] Tell the tech lead (TL) that the PR exists if they wants to look at it
[ ] Anoint a lead reviewer (LR). Assign PR to LR

Review cycle:

LR reviews
Rest of team may comment on PR at will
LR assigns to submitter for feedback fixes
Submitter rebases to develop again if necessary
Submitter makes further commits. DO NOT SQUASH
Submitter updates documentation as needed
Submitter reassigns to LR for further feedback

[ ] TL sign off
[ ] LR sign off
[ ] Product Owner sign off
[ ] Assign to submitter to finalize
[ ] Submitter: Verify all tests go green, including CI tests
[ ] Submitter: Squash commits and merge to develop
[ ] Submitter: Delete branch after merge
[ ] Submitter: Test this change works on dev environment after deployment. YOU own getting it fixed if dev isn't working for ANY reason!
[ ] Submitter: Verify swagger UI on dev environment still works after deployment
[ ] Submitter: Inform other teams of any API changes via hipchat and/or email
[ ] Submitter: Mark JIRA issue as resolved once this checklist is completed

Coverage increased (+0.05%) to 61.684% when pulling 2c4e071532fae34ca6d6888cf5f23424c3771e31 on BTRX-277-DownloadFullApplication into 9d378ecce2ad5f59a5b01adb160f068513793b19 on develop.


Add udid log prefix where FBDeviceOperator is used

Sometimes I get Test Completed with Result: Bundle Connection Failed in error: Error Domain=com.facebook.XCTestBootstrap Code=0 "Timeout establishing connection" UserInfo={NSLocalizedDescription=Timeout establishing connection} here on our setup.
Currently the log file looks like this:
Dec 11 10:53:55  FBControlCore[7833] <Info>: 9BED7C63-859D-40BE-ADCC-D8D23D08564C: Connection Did Connect => Bridge: Framebuffer ((null)) | HID (null) | (null)
Dec 11 10:53:55  FBControlCore[7833] <Info>: 9BED7C63-859D-40BE-ADCC-D8D23D08564C: Application Did Launch => Process Kleinanzeigen | PID 7840
Dec 11 10:53:55  FBControlCore[7833] <Info>: Connecting Test Bundle
Dec 11 10:53:55  FBControlCore[7833] <Info>: Creating the test bundle connection.
Dec 11 10:53:55  FBControlCore[7833] <Info>: Listening for proxy connection request from the test bundle (all platforms)
Dec 11 10:53:55  FBControlCore[7833] <Info>: Resuming the test bundle connection.
Dec 11 10:53:55  FBControlCore[7833] <Info>: Checking test manager availability...
Dec 11 10:53:55  FBControlCore[7833] <Info>: Starting test session with ID 18B44D61-EE4D-420A-9E99-2A12D111331F
Dec 11 10:53:57  FBControlCore[7833] <Info>: testmanagerd handled session request using protcol version 22.
Dec 11 10:53:57  FBControlCore[7833] <Info>: Got proxy channel request from test bundle
Dec 11 10:53:57  FBControlCore[7833] <Info>: Test bundle is ready, running protocol 22, requires at least version 8. IDE is running 22 and requires at least 8
Dec 11 10:53:57  FBControlCore[7833] <Info>: Test Bundle is Ready
Dec 11 10:53:57  FBControlCore[7833] <Info>: Starting the daemon connection
Dec 11 10:53:57  FBControlCore[7833] <Info>: Resuming the daemon connection.
Dec 11 10:53:57  FBControlCore[7833] <Info>: Whitelisting test process ID 7840
Dec 11 10:53:57  FBControlCore[7833] <Info>: Got whitelisting response and daemon protocol version 22
Dec 11 10:53:57  FBControlCore[7833] <Info>: Ready to execute test plan
Dec 11 10:53:57  FBControlCore[7833] <Info>: Bundle Connection scheduling start of Test Plan
Dec 11 10:53:57  FBControlCore[7833] <Info>: Daemon Notified of start of test plan
Dec 11 10:53:57  FBControlCore[7833] <Info>: 9BED7C63-859D-40BE-ADCC-D8D23D08564C: TestManager Did Connect => TestManager Awaiting Result for (Test Host PID 7840 | Test Host Bundle com.ebaykleinanzeigen.ebc | Session ID 18B44D61-EE4D-420A-9E99-2A12D111331F)
Dec 11 10:53:57  FBControlCore[7833] <Info>: Test Plan Started
Dec 11 10:53:57  FBControlCore[7833] <Info>: 9DD0CD2F-5F3A-446C-9CE7-2BB3C387B0E6: Connection Did Connect => Bridge: Framebuffer ((null)) | HID (null) | (null)
Dec 11 10:53:57  FBControlCore[7833] <Info>: 9DD0CD2F-5F3A-446C-9CE7-2BB3C387B0E6: Application Did Launch => Process Kleinanzeigen | PID 7845
Dec 11 10:53:58  FBControlCore[7833] <Info>: Connecting Test Bundle
Dec 11 10:53:58  FBControlCore[7833] <Info>: Creating the test bundle connection.
Dec 11 10:53:58  FBControlCore[7833] <Info>: Listening for proxy connection request from the test bundle (all platforms)
Dec 11 10:53:58  FBControlCore[7833] <Info>: Resuming the test bundle connection.
Dec 11 10:53:58  FBControlCore[7833] <Info>: Checking test manager availability...
Dec 11 10:53:58  FBControlCore[7833] <Info>: Starting test session with ID E988A503-365A-49F3-A4D6-83E9FA5DC1E9
Dec 11 10:54:06  FBControlCore[7833] <Info>: testmanagerd handled session request using protcol version 22.
Dec 11 10:54:17  FBControlCore[7833] <Info>: 9DD0CD2F-5F3A-446C-9CE7-2BB3C387B0E6: Application Did Terminate => Expected 0 Process Kleinanzeigen | PID 7845
Dec 11 10:54:23  FBControlCore[7833] <Info>: Test Plan Ended
Dec 11 10:54:23  FBControlCore[7833] <Info>: Daemon Notified of end of test plan
Dec 11 10:54:23  FBControlCore[7833] <Info>: Disconnecting Daemon from state 'ended test plan'
Dec 11 10:54:23  FBControlCore[7833] <Info>: Daemon Connection Ended with result: Daemon Connection ended normally
Dec 11 10:54:23  FBControlCore[7833] <Info>: Disconnecting Test Bundle in state 'ended test plan'
Dec 11 10:54:23  FBControlCore[7833] <Info>: Test Completed with Result: Bundle Connection ended normally
Dec 11 10:54:27  FBControlCore[7833] <Info>: 9BED7C63-859D-40BE-ADCC-D8D23D08564C: Application Did Terminate => Expected 0 Process Kleinanzeigen | PID 7840
Dec 11 10:54:28  FBControlCore[7833] <Info>: Test Completed with Result: Bundle Connection Failed in error: Error Domain=com.facebook.XCTestBootstrap Code=0 "Timeout establishing connection" UserInfo={NSLocalizedDescription=Timeout establishing connection}

So it's difficult to figure out which message is coming from which Simulator. Only a few lines have the udid prefix so far. This pull request adds the prefix to all of them (that can be seen in this log).

Includes #350

After this change:
Dec 11 13:35:43  FBControlCore[44225] <Info>: 9BED7C63-859D-40BE-ADCC-D8D23D08564C: Connection Did Connect => Bridge: Framebuffer ((null)) | HID (null) | (null)
Dec 11 13:35:43  FBControlCore[44225] <Info>: 9BED7C63-859D-40BE-ADCC-D8D23D08564C: Application Did Launch => Process Kleinanzeigen | PID 44310
Dec 11 13:35:43  FBControlCore[44225] <Info>: 9BED7C63-859D-40BE-ADCC-D8D23D08564C: Connecting Test Bundle
Dec 11 13:35:43  FBControlCore[44225] <Info>: 9BED7C63-859D-40BE-ADCC-D8D23D08564C: Creating the test bundle connection.
Dec 11 13:35:43  FBControlCore[44225] <Info>: 9BED7C63-859D-40BE-ADCC-D8D23D08564C: Listening for proxy connection request from the test bundle (all platforms)
Dec 11 13:35:43  FBControlCore[44225] <Info>: 9BED7C63-859D-40BE-ADCC-D8D23D08564C: Resuming the test bundle connection.
Dec 11 13:35:43  FBControlCore[44225] <Info>: 9BED7C63-859D-40BE-ADCC-D8D23D08564C: Checking test manager availability...
Dec 11 13:35:43  FBControlCore[44225] <Info>: 9BED7C63-859D-40BE-ADCC-D8D23D08564C: Starting test session with ID AB677A84-DAC8-4DF6-AA83-C4F112C07F0F
Dec 11 13:35:47  FBControlCore[44225] <Info>: 9BED7C63-859D-40BE-ADCC-D8D23D08564C: testmanagerd handled session request using protcol version 22.
Dec 11 13:35:47  FBControlCore[44225] <Info>: 9BED7C63-859D-40BE-ADCC-D8D23D08564C: Got proxy channel request from test bundle
Dec 11 13:35:47  FBControlCore[44225] <Info>: 9BED7C63-859D-40BE-ADCC-D8D23D08564C: Test bundle is ready, running protocol 22, requires at least version 8. IDE is running 22 and requires at least 8
Dec 11 13:35:47  FBControlCore[44225] <Info>: 9BED7C63-859D-40BE-ADCC-D8D23D08564C: Test Bundle is Ready
Dec 11 13:35:47  FBControlCore[44225] <Info>: 9BED7C63-859D-40BE-ADCC-D8D23D08564C: Starting the daemon connection
Dec 11 13:35:47  FBControlCore[44225] <Info>: 9BED7C63-859D-40BE-ADCC-D8D23D08564C: Resuming the daemon connection.
Dec 11 13:35:47  FBControlCore[44225] <Info>: 9BED7C63-859D-40BE-ADCC-D8D23D08564C: Whitelisting test process ID 44310
Dec 11 13:35:47  FBControlCore[44225] <Info>: 9BED7C63-859D-40BE-ADCC-D8D23D08564C: Got whitelisting response and daemon protocol version 22
Dec 11 13:35:47  FBControlCore[44225] <Info>: 9BED7C63-859D-40BE-ADCC-D8D23D08564C: Ready to execute test plan
Dec 11 13:35:47  FBControlCore[44225] <Info>: 9BED7C63-859D-40BE-ADCC-D8D23D08564C: Bundle Connection scheduling start of Test Plan
Dec 11 13:35:47  FBControlCore[44225] <Info>: 9BED7C63-859D-40BE-ADCC-D8D23D08564C: Daemon Notified of start of test plan
Dec 11 13:35:47  FBControlCore[44225] <Info>: 9BED7C63-859D-40BE-ADCC-D8D23D08564C: TestManager Did Connect => TestManager Awaiting Result for (Test Host PID 44310 | Test Host Bundle com.ebaykleinanzeigen.ebc | Session ID AB677A84-DAC8-4DF6-AA83-C4F112C07F0F)
Dec 11 13:35:47  FBControlCore[44225] <Info>: 9BED7C63-859D-40BE-ADCC-D8D23D08564C: Test Plan Started
Dec 11 13:35:47  FBControlCore[44225] <Info>: 9DD0CD2F-5F3A-446C-9CE7-2BB3C387B0E6: Connection Did Connect => Bridge: Framebuffer ((null)) | HID (null) | (null)
Dec 11 13:35:47  FBControlCore[44225] <Info>: 9DD0CD2F-5F3A-446C-9CE7-2BB3C387B0E6: Application Did Launch => Process Kleinanzeigen | PID 44344
Dec 11 13:35:47  FBControlCore[44225] <Info>: 9DD0CD2F-5F3A-446C-9CE7-2BB3C387B0E6: Connecting Test Bundle
Dec 11 13:35:47  FBControlCore[44225] <Info>: 9DD0CD2F-5F3A-446C-9CE7-2BB3C387B0E6: Creating the test bundle connection.
Dec 11 13:35:47  FBControlCore[44225] <Info>: 9DD0CD2F-5F3A-446C-9CE7-2BB3C387B0E6: Listening for proxy connection request from the test bundle (all platforms)
Dec 11 13:35:47  FBControlCore[44225] <Info>: 9DD0CD2F-5F3A-446C-9CE7-2BB3C387B0E6: Resuming the test bundle connection.
Dec 11 13:35:47  FBControlCore[44225] <Info>: 9DD0CD2F-5F3A-446C-9CE7-2BB3C387B0E6: Checking test manager availability...
Dec 11 13:35:47  FBControlCore[44225] <Info>: 9DD0CD2F-5F3A-446C-9CE7-2BB3C387B0E6: Starting test session with ID 2ED3D4FB-1921-45CF-BAD0-D50B25BD2FBA
Dec 11 13:36:06  FBControlCore[44225] <Info>: 9DD0CD2F-5F3A-446C-9CE7-2BB3C387B0E6: testmanagerd handled session request using protcol version 22.
Dec 11 13:36:07  FBControlCore[44225] <Info>: 9DD0CD2F-5F3A-446C-9CE7-2BB3C387B0E6: Application Did Terminate => Expected 0 Process Kleinanzeigen | PID 44344
Dec 11 13:36:14  FBControlCore[44225] <Info>: 9BED7C63-859D-40BE-ADCC-D8D23D08564C: Test Plan Ended
Dec 11 13:36:14  FBControlCore[44225] <Info>: 9BED7C63-859D-40BE-ADCC-D8D23D08564C: Daemon Notified of end of test plan
Dec 11 13:36:14  FBControlCore[44225] <Info>: 9BED7C63-859D-40BE-ADCC-D8D23D08564C: Disconnecting Daemon from state 'ended test plan'
Dec 11 13:36:14  FBControlCore[44225] <Info>: 9BED7C63-859D-40BE-ADCC-D8D23D08564C: Daemon Connection Ended with result: Daemon Connection ended normally
Dec 11 13:36:14  FBControlCore[44225] <Info>: 9BED7C63-859D-40BE-ADCC-D8D23D08564C: Disconnecting Test Bundle in state 'ended test plan'
Dec 11 13:36:14  FBControlCore[44225] <Info>: 9BED7C63-859D-40BE-ADCC-D8D23D08564C: Test Completed with Result: Bundle Connection ended normally
Dec 11 13:36:18  FBControlCore[44225] <Info>: 9DD0CD2F-5F3A-446C-9CE7-2BB3C387B0E6: Test Completed with Result: Bundle Connection Failed in error: Error Domain=com.facebook.XCTestBootstrap Code=0 "Timeout establishing connection" UserInfo={NSLocalizedDescription=Timeout establishing connection}


Support JUnit 5

Motivation:
Some users want to run their unit tests with JUnit 5,
but they might feel bad when they use ServerRule (of JUnit 4) and run
their tests with junit-vintage-engine.
Target rules:

[x] ServerRule
[x] SelfSignedCertificateExtension
[x] EventLoopRule
[x] EventLoopGroupRule

Modifications:

Add ServerExtension and apply it to some tests
Add SelfSignedCertificateExtension and apply it to some tests

If this change is acceptable, I want to continue the similar for other rules (SelfSignedCertificateRule, ...)

Add classes for JUnit 5 and apply them to some existing tests

Some concerns what I have for now are:

How to publish testing jars (one jar both for JUnit 4 and JUnit 5 vs. separated jars each)
How to migrate all existing unit tests to JUnit 5

How to publish testing jars (one jar both for JUnit 4 and JUnit 5 vs. separated jars each)

How about splitting armeria-testing to:

armeria-testing for the common classes that are agnostic to testing frameworks
armeria-testing-junit for JUnit 5
armeria-testing-junit4 for JUnit 4

..?

How to migrate all existing unit tests to JUnit 5

I don't have a good answer for this but perhaps time will tell? :sweat_smile:

How about splitting armeria-testing to:

How about this?
armeria-testing-common for common, armeria-testing-junit for JUnit 5, armeria-testing-junit4 for JUnit 4.

I don't have a good answer for this but perhaps time will tell? 😅

Then, I will apply Extensions to a few test classes just for verification of new implementation.

How about moving all delegate classes to .internal packages? They don't need to be part of the public API.

Do you mean moving delegate classes into testing-internal subproject?

Do you mean moving delegate classes into testing-internal subproject?

No. We can't do that because testing-internal is not published. I meant just renaming packages, i.e. c.l.a.testing.common to c.l.a.testing.internal.

No. We can't do that because testing-internal is not published. I meant just renaming packages, i.e. c.l.a.testing.common to c.l.a.testing.internal.

Done. Ready for a next round.

How about rename packages like the following:

...{junit,junit4}.{common,server} -> {common,server}.{junit,junit4}

..? I want to make sure our package structure is consistent, so it'd be nice the new package structure resembles that of the core:

`...client.{circuitbreaker,encoding,...}
`...common.{logging,metric,...}
`...internal.{annotation,crypto,...}
`...server.{annotation,auth,...}

I guess this is the last comment from me. Great job!

I realized that the previous package structure was better and asked him to revert the last package name changes. Sorry about the confusion!

No problem. Please take a look again.

To reviewers, addressed the comments.
Travis CI build keeps failing, but it seems not related with my changes.
Please take a look again.

Great job, @delegacy! :+1:

Thanks all!


Recurring payment

EDIT:
Sorry I created the issue in the wrong package, it was meant for docdata-orderapi.
Hi,
First of all thanx for your effort to create this package to use with docdata, it works great.
I'm using it to create recurring payments, however to do this you need to call the start request.
The start request as it is, misses one object to make recurring payments work:
I changed it to this to make it work with Docdata recurring payments:
public function start($orderKey, Type\PaymentRequestInput $payment = null, Type\PaymentRequest $recurringPaymentRequest = null)
{
    $request = new Type\StartRequest();
    $request->setPaymentOrderKey($orderKey);
    $request->setMerchant($this->merchant);
    if($payment !== null){
      $request->setPayment($payment);
    }
    if($recurringPaymentRequest !== null){
      $request->setRecurringPaymentRequest($recurringPaymentRequest);
    }

    // make the call
    $this->logger->info("Payment start: " . $orderKey, $request->toArray());
    $response = $this->soap('start', [$request->toArray()]);
    $this->logger->info("Payment start soap request: " . $orderKey, (array) $this->soapClient->__getLastRequest());
    $this->logger->info("Payment start soap response: " . $orderKey, (array) $this->soapClient->__getLastResponse());

    // validate response
    if (isset($response->startError)) {
        if ($this->test) {
            var_dump($this->soapClient->__getLastRequest());
        }

        $this->logger->error("Payment start: " . $orderKey, (array) $response->startError->getError()->getExplanation());

        throw new \Exception($response->startError->getError()->getExplanation());
    }

    return $response->startSuccess;
}

Do you think it might be possible to implement this change into your code?
Kind regards,
Eric

Wrong package.


Bitcode Support

It would be great if you could figure out a way to enable bitcode support in the build process somehow—I'm not sure where to even start here, but you might have an idea.

Hi,
It is already supported.
You can check using the command:
otool -arch armv7 -l libpdfium.a | grep __LLVM
otool -arch arm64 -l libpdfium.a | grep __LLVM

or
otool -arch armv7 -l libpdfium.a | grep bitcode
otool -arch arm64 -llibpdfium.a | grep bitcode

Bitcode is disabled on simulator, because simulator don't have support for it and pdfium disable bitcode internally when detect simulator compilation. Bitcode only for arm to apple generate custom code for devices.
On pdfium BUILD.gn you have:
  if (use_xcode_clang && enable_ios_bitcode && !use_ios_simulator) {
    if (is_debug) {
      common_flags += [ "-fembed-bitcode-marker" ]
    } else {
      common_flags += [ "-fembed-bitcode" ]
    }
  }

On my script it is enabled here:
https://github.com/prsolucoes/mobile-pdfium/blob/master/make.py#L380-L385
Thanks.

Hi,
In your SimplePDFExample, add the library and change "Enable Bitcode" on two targets (SimplePDFKit and SimplePDFExample). See:

It compile without problems. Tested here.

Oh wow, you're right.
Thanks again for all this!


#2851 Hotstar clone website

Title and Issue number
#2851 Disney hotstar clone website
Close #2851

Checklist:

[x] I have mentioned the issue number in my Pull Request.
[x] I have commented my code, particularly in hard-to-understand areas
[] I have created a helpful and easy to understand README.md

@MohitGupta121 please review this pr under gssoc'23


releases should be proper github releases

It is not enough to just tag the release.

this has been partially implemented already by jacob's xc script, lacking is attaching of installer to the release info. any chance we can get away with just adding the link of the installer to the release description?

any chance we can get away with just adding the link of the installer to the release description?

why stop there? Why not not even post the dmg at all and just provide a llm generated description of what the app is like?


Move file to correct name

Changes proposed in this Pull Request:

Move file to a proper name

Not sure what's being moved here, it looks the same

if you want to test something, you can change up the pr-labeler to be like this

then open a feature branch, verify label inserts and then do a second commit on same PR and verify label remains


Move siac and siad to a command subfolder

Seem like typical practice for go projects is to put the binaries in a subfolder called command. We should move siac and siad to this subfolder

Hi, is this just moving both the siac and siad folder inside a new directory called command and updating the Makefile to reflect the changes?


feat(import): allow importing of container images

import:
- path: docker://alpine:edge
  dest: /

What type of PR is this?

Which issue does this PR fix:
What does this PR do / Why do we need it:
If an issue # is not available please add repro steps and logs showing the issue:
Testing done on this change:

Automation added to e2e:

Will this break upgrades or downgrades?
Does this PR introduce any user-facing change?:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

ok by me

Closing in favor of PR #548


mongodb-tools: 3.0.12 -> 3.5.13

Motivation for this change
Need to connect to newer mongodb databases with SSL
I could use a little help with this upgrade as I am new to NixOS. Despite the build output saying all of the tools were compiled with SSL they behave as if they were compiled without ssl (--ssl option is not there).
Also the build somehow contains a reference to go, so I added allowGoReference but I know that is not the correct solution.
Thanks in advance for any help.

Notice that we have a naming convention for package upgrades like that:
mongodb-tools: 3.0.12 -> 3.5.13


Create simple di

Added an example of using Mappery via DI
Description
Created a Web API project
Added Mappery to DI
Demonstrated usage.
Checklist

[x] The existing code style is followed
[ ] The commit message follows our guidelines
[x] Performed a self-review of my code
[ ] Hard-to-understand areas of my code are commented
[ ] The documentation is updated (as applicable)
[ ] Unit tests are added/updated
[ ] Integration tests are added/updated (as applicable, especially if feature/bug depends on roslyn or framework version in use)

@latonz Hi.  Look?


Add unit test for pkg/flowaggregator/exporter/ipfix.go

For https://github.com/antrea-io/antrea/issues/4142
Signed-off-by: Naman Agarwal<EMAIL_ADDRESS>

/skip-all


Mainnet-mirror applications show stagnet1 network

Description
When you visit the explorer.mainnet-mirror.vega.xyz it uses stagnet1 data-node. The same is for all of the application
Steps to Reproduce

Go to explorer.mainnet-mirror.vega.xyz

Expected behavior
Mainnet mirror applications should show the mainnet mirror applications
Screenshots

This has been fixed by DevOps


TextField to StringField in forms

The TextField alias for StringField will be deprecated in wtforms 3.
http://wtforms.readthedocs.io/en/latest/whats_new.html

thanks!


Deployment Create / Storage section, Add Volume should be drop-down button.

Steps:

Go to deployments
Click on Create
Select the Storage tab

Results:  Using wrong control to do the Add, Should use the Add drop-down control, instead of a drop-down that will do a add.
you are using:

Should use:

@mantis-toboggan-md could that button type work for https://github.com/rancher/dashboard/issues/1059
Seems like these two are duplicates.

This the same as rancher/dashboard#1059


named value limit should be documented for API Management

The limit is 4000 characters
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 36f49a06-90b1-cbe1-3853-2c38277b79f8
Version Independent ID: 02ff6f6c-3ef6-b48f-060d-b290419e0aba
Content: Azure subscription limits and quotas - Azure Resource Manager
Content Source: articles/azure-resource-manager/management/azure-subscription-service-limits.md
Service: azure-resource-manager
Sub-service: management
GitHub Login: @mumian
Microsoft Alias: tomfitz

@vlad610
Thanks for your feedback! We will investigate and update as appropriate.

@dlepow - Dan, can you take a look at this issue?

#assign: dlepow

@vlad610 - Thanks for pointing this out. Based on my information the limit is 4,096 characters, which we'll add to the docs in a separate PR. When the PR merges this issue will close automatically. thanks again


Validate a string as an ISO date?

Hi, I'm working on an API that receives a JSON string which is supposed to be a date.
Is it possible to check if the string is a valid ISO 8601 date format?
Thank you

@jlpellicer yes you can there is however no built in validation to handle that, but you can easily register a custom validation and tag to use see here for a simple example
If you need anymore help, just let me know :)

this will do, thanks!


feat: forge-inspect script for contracts-core

It's nifty!

Yeah. Let me add the bridge contracts as well and finally make an addition to the GitHub actions?
We could have something like what was mentioned above. The test will fail if the storage has changed so the engineer has to explicitly acknowledge the change, create and commit the new storage layout so that the test doesn't fail, and then merge. What do you say?

Closing in favour of #403


What if I do not need to play any videos after Google Advertisement?

Hello~
I'd like to make my page do something after the advertisement without playing source of videos.
When I remove all sources in a video element, it is not working .
Please help me.
I want to know some way to do. should I add a short video in the video element for it?

If you have it set up properly, you can keep a source there (just have it be a completely black 5 second video or something) and do playerObj.one('play', function(){ WHATEVER YOU NEED TO DO HERE });

Hey there,
This SDK is really overkill if you just want to show video ads - it's loading an entire video player that you're never going to use. What you want to do is called "outstream video ads," where you play ads without playing a content stream. Have you looked into any outstream video solutions?
Thanks,
Shawn

Closing for lack of response, but if you have any further questions let me know :)


fix: check for valid markers

Signed-off-by: Trecia Agoylo<EMAIL_ADDRESS>This is a fix to check_markers method. Check for valid markers for pytest and ignore other -v. Other -v are used for resource locking.

@tfcollins Tested this branch in HW_pyadi-iio pipeline and the naming issues are now resolved. But tests were skipped for ad9081, which we think the problem is that ad9081 project names were not added in test_map.py. @HRosete is looking at it.

This PR in pyadi-iio will fix the skipped tests in the Test Harness.


ArangoDB 3.2.5-2 FreeBSD port

Good day folks, I've just submitted this:
https://reviews.freebsd.org/D12793
If you run FreeBSD and wouldn't mind giving it a go, that would be super.

Hi,
thanks for your work.
If you would like to maintain this port, it would be good to take several action steps:

Sign our CLA
(We are using a Apache 2 CLA for ArangoDB, which can be found here: https://www.arangodb.com/documents/cla.pdf
We have not been able to set of an electronic system yet. Can you sign, scan and email it to cla (at)  arangodb.com?
open pull requests containing the changes you did to the devel and the 3.2 branch; If you can insulate parts of the changes several PRs are better.
make sure the unittests are working; if you have a working build/ directory, ./scripts/unittests all and ./scripts/unittests all --cluster true  and ./scripts/unittests all --cluster true storageEngine rocksdbcan be issued ; for more details see README_maintainers.md

Thank you @dothebart, will do that. I am going away on holiday but will pick this up on Nov 6th.

I'm closing this now, as there is no activity and there will be no FreeBSD support by us.


Add a benchmark for API.compile!

This replicates the slowness in compiling routes via Mustermann for 2000
routes.
Part of https://github.com/ruby-grape/grape/issues/1736
$ ruby compile_many_routes.rb
Warming up --------------------------------------
Compiling 2000 routes
                         1.000  i/100ms
Calculating -------------------------------------
Compiling 2000 routes
                          4.541k (±16.0%) i/s -     20.871k in   4.989357s

ruby-prof output:

Hmm, the ruby-prof output doesn't look as bad as https://github.com/ruby-grape/grape/issues/1736#issuecomment-361775616, but maybe it's because there aren't as many tokens to parse.


Make mainSass optional

Thanks for the loader!
Could you make mainSass in config file optional? Because there are cases, where I use different preprocessor for main stylesheet, like Stylus or plain CSS.
Thanks

I could make pull request for this, if you don't mind.

Thanks for the feedback. Yes, please make a pull request. Are you familiar with writing loaders? This should be pretty simple.
Here's some tips on debugging:
http://forum.railsonmaui.com/t/debugging-nodejs-and-webpack-loaders/142

Well, not much familiar with webpack loader yet, began playing with webpack not long ago. But JS knowledge seems to be enough for this change :)
Just created pull request #6, please review.
Thanks


#395: Created a C++ file and updated readme for Shortest Common Super-sequence

Related Issue

Given two strings str1 and str2, the task is to find the length of the shortest string that has both str1 and str2 as subsequences. (please mention issue number #395 )
Added the code implementation of Shortest Common Super-sequence Problem using dp.
Added the explanation of Shortest Common Super-sequence Problem in the README.md file.

Proposed Changes

Added the code of Shortest Common Super-sequence Problem using dp.
Added README.md file of Shortest Common Super-sequence Problem with time and space complexity.

Additional Info

This code uses dynamic programming.
This problem is a variation of LCS problem.
This is one of the commonly asked interview questions and the concept of this question helps us to solve many more problems.
This code solves an open issue #395
I have tested these changes on VS code using multiple inputs and matched the output with the expected output.
This change will not affect or create conflict with any other code
Time Complexity : O(m*n)
Space Complexity: O(m*n)

Checklist

[x] ✅ My code follows the code style of this project.
[x] 📝 My change requires a change to the README.
[x] 🎀 I have updated the README accordingly.
[x] 👀 I have read the CONTRIBUTING document.
[x] ✨ I have added tests to cover my changes.
[x] 🚩 All new and existing tests passed.
[x] 🌟 ed the repo

Issue: #395

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Output Screenshots

Screenshot #1
Screenshot #2

Readme preview
Code Snippet

You need to follow particular guidelines for your README , please follow
these guidelines click here
also you can see how your README should look like see here
for more please go through these here

@Lakhankumawat Please tell if I need to do any changes in this ?


[Error] "HTTPError" has no attribute "msg"

Describe the bug
Error when running mypy:

gazpacho/get.py:68: error: "HTTPError" has no attribute "msg"
Found 1 error in 1 file (checked 5 source files)

To Reproduce
Code to reproduce the behaviour:
mypy gazpacho

Expected behavior
A clear and concise description of what you expected to happen.
mypy should run without error
Environment:

OS: macOS
Version: 1.0

Fixed in #23


fix project cracker from hanging on droid app

Hacky, but simple fix to stop CompilerService.exe from hanging when running the project cracking against the default Xamarin.Forms Droid app.

So we can't have a stay resident service with the current project cracking?  If so maybe an issue on FCS should be raised as we are using cloned code from that repo.
Eventually I thought the rest of the compiler functionality would end up joining the project cracking.

I suspect a mono issue in 4.3.0
The droid app was working fine in 4.2.2


Space out and only create sws record if it doesn't exist

https://github.com/zooniverse/Panoptes/blob/e2ddc8aa655211de8be89bdd58ed6fd655f6dadc/app/workers/subject_workflow_status_create_worker.rb#L9
Uploading large sets of data and or unlinking / linking large sets will trigger a queue of lots of SubjectWorkflowStatusCreateWorker jobs*. These are not scheduled over a time frame and hit the the db as fast as they can run. The jobs aren't terribly expensive (some counts may be) but they can be optimized.

Schedule these jobs over a period, 15/30/60 mins to avoid them all running at the same time.
Add a guard clause before attempting to check if the SMS exists for the workflow and to  check that they don't already exist before attempting to create.

Something like the following
!SubjectWorkflowStatus.where(subject_id: subject_id,workflow_id: workflow_id).exists?

Benchmark the extra query and if the guard clause index is useful compared the the exists? on SMS.by_worklfow lookup.

These are used to optimize subject selection

closed by #3092


Cordova Android 10 support (need updates for firebase core)

Bug report

CHECKLIST

[x] I have read the issue reporting guidelines
[x] I confirm this is a suspected bug or issue that will affect other users
[x] I have read the documentation thoroughly and it does not help solve my issue.
[x] I have checked that no similar issues (open or closed) already exist.

Current behavior:
> Task :app:injectCrashlyticsMappingFileIdDebug FAILED

FAILURE: Build failed with an exception.

* What went wrong:
A problem was found with the configuration of task ':app:injectCrashlyticsMappingFileIdDebug' (type 'InjectMappingFileIdTask').
  - In plugin 'com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsPlugin' type 'com.google.firebase.crashlytics.buildtools.gradle.tasks.InjectMappingFileIdTask' field 'resourceFile' without corresponding getter has been annotated with @OutputFile.

    Reason: Annotations on fields are only used if there's a corresponding getter for the field.

    Possible solutions:
      1. Add a getter for field 'resourceFile'.
      2. Remove the annotations on 'resourceFile'.

    Please refer to https://docs.gradle.org/7.1.1/userguide/validation_problems.html#ignored_annotations_on_field for more details about this problem.

Expected behavior:

Steps to reproduce:
<EMAIL_ADDRESS>+ build-tools = 30.0.3 + cordova-plugin-firebasex@latest
Runtime issue

Device details

e.g. iPhone X, Samsung Galaxy S8, iPhone X Simulator, Pixel XL Emulator

OS details

e.g. iOS 12.2, Android 9.0

Other information:
Probably some of packages must be updates.

The latest version of this plugin builds fine with cordova-android@10 so check you don't have older versions of the Firebase SDK components pinned in your project's package.json or plugins/fetch.json.
You can verify your build environment against a known working codebase by building the example project.
Here's the output from my local build environment when building the test project against cordova-android@10:

console output

$ git clone https://github.com/dpa99c/cordova-plugin-firebasex-test
Cloning into 'cordova-plugin-firebasex-test'...
remote: Enumerating objects: 703, done.
remote: Counting objects: 100% (332/332), done.
remote: Compressing objects: 100% (233/233), done.
remote: Total 703 (delta 190), reused 229 (delta 96), pack-reused 371
Receiving objects: 100% (703/703), 424.01 KiB | 1.40 MiB/s, done.
Resolving deltas: 100% (383/383), done.

$ cd cordova-plugin-firebasex-test/

$ cordova platform add android@10
Using cordova-fetch for cordova-android@10
Adding android project...
Creating Cordova project for the Android platform:
        Path: platforms\android
        Package: uk.co.workingedge.firebase.test
        Name: FirebaseTest
        Activity: MainActivity
        Android target: android-30
Subproject Path: CordovaLib
Subproject Path: app
Android project created with<EMAIL_ADDRESS>Installing "cordova-plugin-customfcmreceiver" for android
Discovered plugin "cordova-plugin-firebasex". Adding it to the project
Installing "cordova-plugin-firebasex" for android
Subproject Path: CordovaLib
Subproject Path: app
Adding cordova-plugin-firebasex to package.json
Discovered plugin "cordova-custom-config". Adding it to the project
Installing "cordova-custom-config" for android
Adding cordova-custom-config to package.json
Discovered plugin "cordova-plugin-dialogs". Adding it to the project
Installing "cordova-plugin-dialogs" for android
Adding cordova-plugin-dialogs to package.json
Discovered plugin "cordova-plugin-enable-multidex". Adding it to the project
Installing "cordova-plugin-enable-multidex" for android
Subproject Path: CordovaLib
Subproject Path: app
Adding cordova-plugin-enable-multidex to package.json
Discovered plugin "cordova-plugin-androidx-adapter". Adding it to the project
Installing "cordova-plugin-androidx-adapter" for android
Adding cordova-plugin-androidx-adapter to package.json
Discovered plugin "cordova-plugin-hello-c". Adding it to the project
Installing "cordova-plugin-hello-c" for android
Adding cordova-plugin-hello-c to package.json
cordova-custom-config: Applied custom config from config.xml to D:\Temp\cordova-plugin-firebasex-test\platforms\android\app\src\main\AndroidManifest.xml
cordova-plugin-androidx-adapter: Processed 22 source files in 485ms
cordova-plugin-firebasex: Preparing Firebase on Android
cordova-plugin-firebasex: Updated colors.xml with accent color

$ cordova plugin ls
cordova-custom-config 5.1.0 "cordova-custom-config"
cordova-plugin-androidx-adapter 1.1.3 "cordova-plugin-androidx-adapter"
cordova-plugin-customfcmreceiver 1.0.0 "Custom FCM Receiver"
cordova-plugin-dialogs 1.3.2-dev "Notification"
cordova-plugin-enable-multidex 0.2.0 "Enable Multidex"
cordova-plugin-firebasex 13.0.0 "Google Firebase Plugin"
cordova-plugin-hello-c 1.1.1 "Hello"

$ cordova platform ls
Installed platforms:
  android 10.0.0
Available platforms:
  browser ^6.0.0
  electron ^1.0.0
  windows ^7.0.0

$ export CORDOVA_ANDROID_GRADLE_DISTRIBUTION_URL=https://services.gradle.org/distributions/gradle-6.7.1-all.zip

$ cp ../../Git/cordova-plugin-firebasex-test/google-services.json .

$ cordova build android
cordova-custom-config: Skipping auto-restore of config file backup(s)
cordova-custom-config: Applied custom config from config.xml to D:\Temp\cordova-plugin-firebasex-test\platforms\android\app\src\main\AndroidManifest.xml
cordova-plugin-androidx-adapter: Processed 22 source files in 356ms
cordova-plugin-firebasex: Preparing Firebase on Android
cordova-plugin-firebasex: Updated colors.xml with accent color
Checking Java JDK and Android SDK versions
ANDROID_SDK_ROOT=C:\Users\dpa99\AppData\Local\Android\sdk (recommended setting)
ANDROID_HOME=C:\Users\dpa99\AppData\Local\Android\sdk (DEPRECATED)
Using Android SDK: C:\Users\dpa99\AppData\Local\Android\sdk
Parallel execution with configuration on demand is an incubating feature.
> Task :wrapper

BUILD SUCCESSFUL in 1s
1 actionable task: 1 executed
Subproject Path: CordovaLib
Subproject Path: app
Configuration on demand is an incubating feature.
> Task :app:preBuild UP-TO-DATE
> Task :CordovaLib:preBuild UP-TO-DATE
> Task :app:preDebugBuild UP-TO-DATE
> Task :CordovaLib:preDebugBuild UP-TO-DATE
> Task :CordovaLib:compileDebugAidl NO-SOURCE
> Task :CordovaLib:packageDebugRenderscript NO-SOURCE
> Task :app:generateDebugBuildConfig
> Task :app:compileDebugAidl NO-SOURCE
> Task :app:compileDebugRenderscript NO-SOURCE
> Task :CordovaLib:writeDebugAarMetadata
> Task :app:javaPreCompileDebug
> Task :app:generateDebugResValues
> Task :app:generateDebugResources
> Task :app:injectCrashlyticsMappingFileIdDebug

> Task :app:processDebugGoogleServices
Parsing json file: D:\Temp\cordova-plugin-firebasex-test\platforms\android\app\google-services.json

> Task :app:createDebugCompatibleScreenManifests
> Task :app:extractDeepLinksDebug
> Task :app:mergeDebugNativeDebugMetadata NO-SOURCE
> Task :app:mergeDebugShaders
> Task :app:compileDebugShaders NO-SOURCE
> Task :app:generateDebugAssets UP-TO-DATE
> Task :app:processDebugJavaRes NO-SOURCE
> Task :CordovaLib:compileDebugRenderscript
> Task :CordovaLib:generateDebugResValues
> Task :CordovaLib:generateDebugResources
> Task :CordovaLib:packageDebugResources
> Task :CordovaLib:extractDeepLinksDebug
> Task :CordovaLib:compileDebugLibraryResources
> Task :CordovaLib:processDebugManifest
> Task :CordovaLib:generateDebugBuildConfig
> Task :CordovaLib:parseDebugLocalResources
> Task :CordovaLib:javaPreCompileDebug
> Task :CordovaLib:mergeDebugShaders
> Task :CordovaLib:compileDebugShaders NO-SOURCE
> Task :CordovaLib:generateDebugAssets UP-TO-DATE
> Task :CordovaLib:packageDebugAssets
> Task :CordovaLib:processDebugJavaRes
> Task :CordovaLib:bundleLibResDebug
> Task :CordovaLib:mergeDebugJniLibFolders
> Task :CordovaLib:mergeDebugNativeLibs NO-SOURCE
> Task :CordovaLib:stripDebugDebugSymbols NO-SOURCE
> Task :CordovaLib:copyDebugJniLibsProjectOnly
> Task :CordovaLib:generateDebugRFile

> Task :CordovaLib:compileDebugJavaWithJavac
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

> Task :CordovaLib:bundleLibCompileToJarDebug
> Task :CordovaLib:bundleLibRuntimeToJarDebug
> Task :app:checkDebugDuplicateClasses
> Task :app:checkDebugAarMetadata
> Task :app:mergeDebugResources
> Task :app:processDebugMainManifest
> Task :app:processDebugManifest
> Task :app:mergeDebugAssets
> Task :app:compressDebugAssets
> Task :app:desugarDebugFileDependencies
> Task :app:mergeDebugJavaResource
> Task :app:mergeDebugJniLibFolders
> Task :app:validateSigningDebug
> Task :app:writeDebugAppMetadata
> Task :app:writeDebugSigningConfigVersions
> Task :app:processDebugManifestForPackage
> Task :app:mergeLibDexDebug
> Task :app:processDebugResources
> Task :app:mergeDebugNativeLibs

> Task :app:compileDebugJavaWithJavac
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: D:\Temp\cordova-plugin-firebasex-test\platforms\android\app\src\main\java\org\apache\cordova\firebase\FirebasePlugin.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :app:compileDebugSources
> Task :app:mergeExtDexDebug
> Task :app:dexBuilderDebug

> Task :app:stripDebugDebugSymbols
Unable to strip the following libraries, packaging them as they are: libcrashlytics-common.so, libcrashlytics-handler.so, libcrashlytics-trampoline.so, libcrashlytics.so, libhelloc.so.

> Task :app:mergeProjectDexDebug
> Task :app:packageDebug
> Task :app:assembleDebug
> Task :app:cdvBuildDebug

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.7.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD SUCCESSFUL in 13s
51 actionable tasks: 51 executed
Built the following apk(s):
	D:\Temp\cordova-plugin-firebasex-test\platforms\android\app\build\outputs\apk\debug\app-debug.apk

@dpa99c Thank you, i will check everything on my side.

@dpa99c Please check it again.
Note that maximum build-tools installed is 30.0.3 on my machine. (31.0.0 is corrupted with android@10)

console output
$ cordova create hello com.example.hello HelloWorld
Creating a new cordova project.

$ cd hello

$ cordova platform add android@10
Using cordova-fetch for cordova-android@10
Adding android project...
Creating Cordova project for the Android platform:
	Path: platforms/android
	Package: com.example.hello
	Name: HelloWorld
	Activity: MainActivity
	Android target: android-30
Subproject Path: CordovaLib
Subproject Path: app
Android project created with<EMAIL_ADDRESS>Discovered plugin "cordova-plugin-whitelist". Adding it to the project
Installing "cordova-plugin-whitelist" for android
Plugin doesn't support this project's cordova-android version. cordova-android: 10.0.0, failed version requirement: >=4.0.0 <10.0.0
Skipping 'cordova-plugin-whitelist' for android
Adding cordova-plugin-whitelist to package.json

$ cordova plugin add cordova-plugin-firebasex
Installing "cordova-plugin-firebasex" for android
Subproject Path: CordovaLib
Subproject Path: app
Adding cordova-plugin-firebasex to package.json

$ cordova plugin list
cordova-plugin-firebasex 13.0.0 "Google Firebase Plugin"
cordova-plugin-whitelist 1.3.5 "Whitelist"

$ cordova build android
Modifying build.gradle and project.properties is done to target SDK 30
cordova-plugin-firebasex: Preparing Firebase on Android
Checking Java JDK and Android SDK versions
ANDROID_SDK_ROOT=/Users/romanrr/Library/Android/sdk (recommended setting)
ANDROID_HOME=/Users/romanrr/Library/Android/sdk (DEPRECATED)
Using Android SDK: /Users/romanrr/Library/Android/sdk
Subproject Path: CordovaLib
Subproject Path: app

> Task :app:processDebugGoogleServices
Parsing json file: /Users/romanrr/Desktop/hello/platforms/android/app/google-services.json

> Task :CordovaLib:compileDebugJavaWithJavac
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

> Task :app:injectCrashlyticsMappingFileIdDebug FAILED

FAILURE: Build failed with an exception.

* What went wrong:
A problem was found with the configuration of task ':app:injectCrashlyticsMappingFileIdDebug' (type 'InjectMappingFileIdTask').
  - In plugin 'com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsPlugin' type 'com.google.firebase.crashlytics.buildtools.gradle.tasks.InjectMappingFileIdTask' field 'resourceFile' without corresponding getter has been annotated with @OutputFile.

    Reason: Annotations on fields are only used if there's a corresponding getter for the field.

    Possible solutions:
      1. Add a getter for field 'resourceFile'.
      2. Remove the annotations on 'resourceFile'.

    Please refer to https://docs.gradle.org/7.1.1/userguide/validation_problems.html#ignored_annotations_on_field for more details about this problem.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.1.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 13s
44 actionable tasks: 44 executed

@roman-rr please confirm which Gradle version you are using - from your console output it looks like 7.1.1, whereas I'm using 6.7.1. Gradle v7 contains breaking changes which could be the cause of your error.
When I have some time, I'll test the build against Gradle v7 and if I can repro the error, I'll see if I can resolve it - looks to be an issue with the Crashyltics Gradle plugin so hopefully there's a new version which supports Gradle v7.
In the meantime you could try building with Gradle v6 to see if that resolves the issue:
 export CORDOVA_ANDROID_GRADLE_DISTRIBUTION_URL=https://services.gradle.org/distributions/gradle-6.7.1-all.zip

@dpa99c At first i've tried with gradle 5.6, then i make updates and have same result with gradle 7.1.1.
But i agree that with gradle 6.7.1 build is successed!
If there is no Crashlytics compatible with latest gradle, i will use 6.7.1.

can confirm the issues when building with grade v7

@dpa99c
getting the below error
C:\user\test\platforms\android\app\src\main\java\org\apache\cordova\firebase\FirebasePlugin.java:496: error: cannot find symbol
FirebaseMessaging.getInstance().getToken().addOnCompleteListener(new OnCompleteListener() {
^
symbol:   method getToken()
location: class FirebaseMessaging
Cofiguration
gradle: 6.7.1-all
<EMAIL_ADDRESS>firebasex - 13.0.1

I'm facing the same issue @bhargavas12 @dpa99c / @roman-rr

Please use the example project for reference which builds and runs fine with API 30 / Android 11 / cordova-android@10

I'm facing the same issue @bhargavas12 @dpa99c / @roman-rr

@moh4sa  is this resolved?

@dpa99c meu problema é no unsubscribe.
Utilizando a versão android@9 e<EMAIL_ADDRESS>obtenho sucesso no subscribe e unsubscribe dos topicos.
Agora, utilizando android@10 e cordova-plugin-firebasex@lasted para poder gerar o AAB, meu unsubscribe não funciona, continuo recebendo notificações.
Alguma solução?

removing the plugin  cordova-support-google-services which was previously installed solved the issue for me,
Hope it helps someone.


feat: initial argocd application module, semantic release workflows

simple module so far which allows deploying an argocd custom resource utilizing the kubectl terraform provider. defaults currently only support deploying a helm application, which is the only thing we use right now. implements a "spec_override" variable which would allow configuring any unimplemented field. as our use-cases grow, we can expand on the functionality of this module.

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Incorrect resolution of sources with two executions

Environment:

Quarkus 3
Open JDK 17
Linux Fedora 38

Problem Description:
Having two executions, it seems plugin performs an incorrect resolution of directories an sources, because in the second execution (calypso) resolves the schemaDirectory of the first one (sercom).
Attached an extract of the pom.xml file (pom.extract.txt) and a build log file (build.log)
Please notice that the schemaDirectory resolved in the second executions is wrong.
[INFO] Invoking jaxb30:0.16.0:generate (calypso) @ hermes.client [INFO] Started execution. [INFO] Using new MavenCatalogResolver [INFO] EntityResolver using catalogResolver null [INFO] EntityResolver set to [org.jvnet.jaxb2.maven2.resolver.tools.ReResolvingEntityResolverWrapper - entityResolver=[org.jvnet.jaxb2.maven2.resolver.tools.MavenCatalogResolver - dependencyResourceResolver=org.jvnet.mjiip.v_3_0.XJC30Mojo@39c5a105; catalogManager=org.apache.xml.resolver.CatalogManager@492fa72a; log=org.apache.maven.monitor.logging.DefaultLog@513fab1e]]
[INFO] schemaDirectory = /home/szarza/proyectos/cestel/hermes/client/src/main/bindings/sercom
[INFO] schemaIncludes = [*.xsd] [INFO] schemaExcludes = null [INFO] disableDefaultExcludes = false [INFO] BuildContext= org.sonatype.plexus.build.incremental.DefaultBuildContext@307af381 [INFO] Created scanner from buildContext: org.codehaus.plexus.util.DirectoryScanner@53d87b2d [INFO] Scanner included files: [configapp.restapi.xsd] [INFO] The resulting List is therefore: [/home/szarza/proyectos/cestel/hermes/client/src/main/bindings/sercom/configapp.restapi.xsd] [INFO] schemaFiles (calced) = [/home/szarza/proyectos/cestel/hermes/client/src/main/bindings/sercom/configapp.restapi.xsd] [INFO] getInputSources total [1: [[file:/home/szarza/proyectos/cestel/hermes/client/src/main/bindings/sercom/configapp.restapi.xsd]] [INFO] getInputSources of: file:/home/szarza/proyectos/cestel/hermes/client/src/main/bindings/sercom/configapp.restapi.xsd
Also, the build log offers the error:
[ERROR] Could not find JAXB 2.x API classes. Make sure JAXB 2.x API is on the classpath.
even when using jaxb30-maven-plugin artifact.
build.log
pom.extract.txt

@phax bug analysis done here
It's quarkus issue for me
Created https://github.com/quarkusio/quarkus/issues/35831

Thanks @laurentschoelens  - and using SNAPSHOT versions of JAXB plugins makes it also harder to follow up...

Don't even know where this snapshot came from

PR created at quarkus and merged in main (3.4)

@phax this can be closed per fix in quarkus 3.4


Fix typos

Hi @aeturrell, I've just fixed a few typos.

Amazing; thanks for this @pitmonticone.

You're welcome @aeturrell.


1.4 backports 14-12-18

This change is

test-me-please

test-docs-please

test-missed-k8s

test-docs-please

test-missed-k8s

test-docs-please

test-missed-k8s

test-docs-please

test-docs-please

test-docs-please

test-docs-please


Need <5 data fitting in SSD model

Dear Author,
Hello!
I am a new user of R and try to fit SSD model using the ssdtools, which is really a user-friendly platform. However, in my own work, I need fit a SSD curve using <5 data (5 or 4), ssdtools shows an error as follows.
Error: All distributions failed to fit.
In addition: Warning message:
Distribution lnorm failed to fit: Error : nrow(data) must be greater than or equal to 6, not 5.
Is it possible to fit a SSD curve using <5 data?
Thank you for your help!

It's possible in principle but not recommended and therefore not permitted by ssdtools.

It's possible in principle but not recommended and therefore not permitted by ssdtools.


fix: ZorakBot #160 - Verification DM error

Fixed the verification message sending, which threw an error when sending to someone who cannot receive DM's.

https://github.com/practical-python-org/ZorakBot/issues/160


Join operation needs to be added to task level

This is added to task API. Now we need to add to TSet API

done


Add s390x to TravisCI and Gemfile.lock

This PR enables s390x platform in Gemfile.lock and TravisCI.
TravisCI scripts were unified with ppc64le.
Signed-off-by: Artiom Vaskov<EMAIL_ADDRESS>

Good job, guys! Thanks for the contribution.


sql_database: Add flag to include views with reflected tables

Tell us what you do here

Add flag include_views to sql_database source to enable reflecting views
Test for the flag
Test for sql_table works when the table name is a view
Test for sql_database always includes views when they're passed in table_names regardless of the include_views flag

Related Issues

Resolves #459

@steini so code looks good by why counts do not match in the tests? any duplicated keys that multiply rows on the JOINs

Ah I didn't run all the tests locally in sequence so I missed this. The test db is session scoped and there's another incremental test that runs before and inserts more rows but didn't update the expected row counts for the view.
Should run now.


Remember last chosen user workspace

Use can change current workspace in main menu File->Switch Workspace.
But dbeaver ignores this settings on restart.
We need to set last chosen workspace on restart.

verified


pretrained_resnet HTTP Error 403: rate limit exceeded

pretrained_resnest works.

fixed by directly feeding state_dict

I think it is because v0.6.0 is somewhat abandoned.

Thanks for reporting this! This is an issue on the PyTorch side, as I get the same error with:
import torch
model = torch.hub.load('pytorch/vision:v0.9.0', 'resnet18', pretrained=True)

I opened an issue with PyTorch (https://github.com/pytorch/pytorch/issues/61755) and will keep this issue open until that's resolved.

I think it works without the version number.

I still get the same error on Colab with:
import torch
model = torch.hub.load('pytorch/vision', 'resnet18', pretrained=True)

Interesting, I guess their server is broken. It worked for me yesterday.

The issue is being tracked here: https://github.com/pytorch/vision/issues/4156

@ruotianluo the issue is temporarily fixed via https://github.com/n2cholas/jax-resnet/commit/43f41194123d63ca5e7d388cab8f85ae5c6d0abf


error: undefined method `plain_specs' for #Bundler::RubygemsIntegration:0x00000000023de260

After installing terraform_landscape with gem install terraform_landscape successfully, the below error:
# landscape Traceback (most recent call last):         10: from /usr/local/rvm/gems/ruby-2.5.1/bin/ruby_executable_hooks:10:in '
9: from /usr/local/rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/executable-hooks-1.6.0/lib/executable-hooks/hooks.rb:49:in run'          8: from /usr/local/rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/executable-hooks-1.6.0/lib/executable-hooks/hooks.rb:49:in each'
7: from /usr/local/rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/executable-hooks-1.6.0/lib/executable-hooks/hooks.rb:50:in block in run'          6: from /usr/local/rvm/gems/ruby-2.5.1/gems/rubygems-bundler-1.4.5/lib/rubygems_executable_plugin.rb:4:in block in <top (required)>'
5: from /usr/local/rvm/rubies/ruby-2.5.1/lib/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:34:in require'          4: from /usr/local/rvm/rubies/ruby-2.5.1/lib/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:130:in rescue in require'
3: from /usr/local/rvm/rubies/ruby-2.5.1/lib/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:130:in require'          2: from /usr/local/rvm/gems/ruby-2.5.1/gems/rubygems-bundler-1.4.5/lib/rubygems-bundler/noexec.rb:131:in <top (required)>'
1: from /usr/local/rvm/gems/ruby-2.5.1/gems/rubygems-bundler-1.4.5/lib/rubygems-bundler/noexec.rb:124:in check' /usr/local/rvm/gems/ruby-2.5.1/gems/rubygems-bundler-1.4.5/lib/rubygems-bundler/noexec.rb:84:in setup': undefined method plain_specs' for #<Bundler::RubygemsIntegration:0x00000000023de260> (NoMethodError)

I don't see anything in that stack trace that references Terraform Landscape. This seems like an issue with your local Ruby environment or installation.
Terraform Landscape is a vanilla Ruby gem, so we don't do anything to modify your path such that you would expect to see errors such as this.


fluid.datasetquery~ helpfile not merging

I'm not sure if this is correct or incorrect behaviour, but either way the way this is worded and what it is doing confuses me.
it says, "Unlike transform, we're not obliged to add columns to the query. In this case, we can just filter dataset B based on conditions in dataset A. It is important to note that it merges the second provided dataset with the first for each identifier."
but it's not merging anything. it's just doing the first part of that description, "filter dataset B based on conditions in dataset A". Is it supposed to do some merging?

mmm. but it is only copying into the "joined" dataset points with identifiers that are in both? this might be the case, but it's kind of hard to see because all of the things that end up in "joined" are also in data set "B"

I also think something like this would be good to get a sense of why one might want to use this:
~src = Buffer.read(s,FluidFilesPath("Tremblay-ASWINE-ScratchySynth-M.wav"));

// take a listen
~src.play;

// make a dataset of pitch anlyses
(
~features = Buffer(s);
FluidBufPitch.processBlocking(s,~src,features:~features);
~ds_pitch = FluidDataSet(s).fromBuffer(~features);
~ds_pitch.print;
)

// select only the pitch analyses where the pitch confidence is > 0.9
(
~ds_filtered = FluidDataSet(s);
~dsq = FluidDataSetQuery(s);
~dsq.filter(1,">",0.9);
~dsq.addColumn(0);
~dsq.transform(~ds_pitch,~ds_filtered);
~ds_filtered.print;
)

// make another dataset of spectral analyses
(
FluidBufSpectralShape.processBlocking(s,~src,features:~features);
~ds_spec = FluidDataSet(s).fromBuffer(~features);
~ds_spec.print;
)

// select only the spectral analyses where the pitch confidence is > 0.9;
(
~ds_selected = FluidDataSet(s);
~dsq.clear;
~dsq.filter(1,">",0.9);
~dsq.transformJoin(~ds_pitch,~ds_spec,~ds_selected);
~ds_selected.print;
)

// or just append it all together to make one big dataset
(
~dsq.clear;
~dsq.addRange(0,2); // starting at column 0 add two columns (both of the columns in ~ds_pitch)
~dsq.transformJoin(~ds_pitch,~ds_spec,~ds_selected);
~ds_selected.print;
)

// or do it all at once:
(
~dsq.clear;
~dsq.filter(1,">",0.9); // only analyses where the pitch conf is high
~dsq.addColumn(0); // we'll take the pitch freq...
~dsq.transformJoin(~ds_pitch,~ds_spec,~ds_selected);// ... and append it to the spectral analyses
~ds_selected.print;
)

mmm. but it is only copying into the "joined" dataset points with identifiers that are in both? this might be the case, but it's kind of hard to see because all of the things that end up in "joined" are also in data set "B"

I think it can be explained better. The identifiers of A which fit the filter are returned from B. (might be clearer or not...)

I also think something like this would be good to get a sense of why one might want to use this:
~src = Buffer.read(s,FluidFilesPath("Tremblay-ASWINE-ScratchySynth-M.wav"));

// take a listen
~src.play;

// make a dataset of pitch anlyses
(
~features = Buffer(s);
FluidBufPitch.processBlocking(s,~src,features:~features);
~ds_pitch = FluidDataSet(s).fromBuffer(~features);
~ds_pitch.print;
)

// select only the pitch analyses where the pitch confidence is > 0.9
(
~ds_filtered = FluidDataSet(s);
~dsq = FluidDataSetQuery(s);
~dsq.filter(1,">",0.9);
~dsq.addColumn(0);
~dsq.transform(~ds_pitch,~ds_filtered);
~ds_filtered.print;
)

// make another dataset of spectral analyses
(
FluidBufSpectralShape.processBlocking(s,~src,features:~features);
~ds_spec = FluidDataSet(s).fromBuffer(~features);
~ds_spec.print;
)

// select only the spectral analyses where the pitch confidence is > 0.9;
(
~ds_selected = FluidDataSet(s);
~dsq.clear;
~dsq.filter(1,">",0.9);
~dsq.transformJoin(~ds_pitch,~ds_spec,~ds_selected);
~ds_selected.print;
)

// or just append it all together to make one big dataset
(
~dsq.clear;
~dsq.addRange(0,2); // starting at column 0 add two columns (both of the columns in ~ds_pitch)
~dsq.transformJoin(~ds_pitch,~ds_spec,~ds_selected);
~ds_selected.print;
)

// or do it all at once:
(
~dsq.clear;
~dsq.filter(1,">",0.9); // only analyses where the pitch conf is high
~dsq.addColumn(0); // we'll take the pitch freq...
~dsq.transformJoin(~ds_pitch,~ds_spec,~ds_selected);// ... and append it to the spectral analyses
~ds_selected.print;
)

I like it, might just replace the tab with this if you wanna do it in SC.

I like it, might just replace the tab with this if you wanna do it in SC.

I put it in the SC version already--it was from some old code I dug up and just added it. I figured if there was an uproar it would be easy to delete...but I also thought there probably wouldn't be an uproar 😺

I like it (typos excluded) but I also think we need a didactic example with very few entries to show the various options. It is a complex object (especially in combination with dataset's merge with/without replacement flag) so we need simple examples to show exclusion (or not). So I'd say to add that as a further example to a simpler toy example.

Added the pitch/specshape filtering example and cleared up the explanation and added in 6fd8e83 and 41d945e respectively.


Add yuml2svg as dependency

This PR includes the work I have made the past week, and replaces #37.

Update viz.js to v2 (Fixes #28) (Graphviz 2.40)
Replace record shapes with rectangles (Fixes #23)
Because viz.js v2 uses WebAssembly/asm.js build of Graphviz, the API is promisified. Unfortunatly markdown-it doesn't deal well with asynchronous rendering. Please review the workaround I have made to see if it can be improved.

I would suggest to wait for viz.js to release the final v2 version before merging this PR. In the mean time, reviews and improvement suggestions on yuml2svg are more than welcome.

In best case I would have to create my own npm.

I think I can hand you over the npm package yuml2svg if you're interested.
I get your point about the asynchronous problem, and for the markdown plugin, viz.js 1.8 makes more sense indeed.

I am checking there is not a 'yuml' npm package. So maybe it would be better to take it.
You can put a deprecation message in your yuml package pointing to mine, and I will keep mine updated.

I am thinking of keeping my package around for people who prefer working with promises, at least as long you are not upgrading to viz.js v2... I guess it will depend on how much time I will have to spend for that!
Maybe I should reopen #37 and close this one, as it implements a full synchronous API, we'll just have to adapt the name of the dependency to whatever you choose.

@jaime-olivares An idea just crossed my mind: what about making a yuml2dot package that could be processed with whatever version on Graphviz / viz.js anyone wants? I think that would address the PDF export request feature since Graphviz has an option to output a PDF. I would let the Sequence diagram behind though...

As you say, that wouldn't work for sequence and probably more incoming diagram types. making the graphviz version configurable will add unnecessary complexity. If some version works for all use cases, there is no need to do that.

Already working on the npm package: https://github.com/jaime-olivares/yuml


[Announcement] AWQ is now supported in text-generation-inference

Hi,
Thanks to the great work of the authors of AWQ, maintainers at TGI, and the open-source community, AWQ is now supported in TGI (link).
@TheBloke has released many AWQ-quantized models on HuggingFace all of these can be run using TGI as follows:
text-generation-launcher \
--model-id TheBloke/Llama-2-7b-Chat-AWQ \
--trust-remote-code --port 8080 \
--max-input-length 3072 --max-total-tokens 4096 --max-batch-prefill-tokens 4096 \
--quantize awq

Note, that this PR uses older GEMM kernels from AWQ (commit f084f40).
CC: @tonylins, @Sakits
Thanks!

Is it only possible to load AWQ models from command line? I tried to load on from The UI an get the error:
ImportError: DLL load failed while importing awq_inference_engine: The specified module could not be found.

I get the same issue. I have updated multiple times, assuming this was a bug that would be fixed. My full error is as follows:
Traceback (most recent call last):

File "C:\AI\text-generation-webui\modules\ui_model_menu.py", line 210, in load_model_wrapper
shared.model, shared.tokenizer = load_model(shared.model_name, loader)

File "C:\AI\text-generation-webui\modules\models.py", line 85, in load_model
output = load_func_map[loader](model_name)

File "C:\AI\text-generation-webui\modules\models.py", line 299, in AutoAWQ_loader
from awq import AutoAWQForCausalLM

File "C:\AI\text-generation-webui\installer_files\env\lib\site-packages\awq_init_.py", line 2, in
from awq.models.auto import AutoAWQForCausalLM

File "C:\AI\text-generation-webui\installer_files\env\lib\site-packages\awq\models_init_.py", line 1, in
from .mpt import MptAWQForCausalLM

File "C:\AI\text-generation-webui\installer_files\env\lib\site-packages\awq\models\mpt.py", line 1, in
from .base import BaseAWQForCausalLM

File "C:\AI\text-generation-webui\installer_files\env\lib\site-packages\awq\models\base.py", line 12, in
from awq.quantize.quantizer import AwqQuantizer

File "C:\AI\text-generation-webui\installer_files\env\lib\site-packages\awq\quantize\quantizer.py", line 11, in
from awq.modules.linear import WQLinear_GEMM, WQLinear_GEMV

File "C:\AI\text-generation-webui\installer_files\env\lib\site-packages\awq\modules\linear.py", line 4, in
import awq_inference_engine  # with CUDA kernels

ImportError: DLL load failed while importing awq_inference_engine: The specified module could not be found.

For what its worth, this is on a Windows 11 machine. All other models/loaders work fine.

Ahhh...I see this issue discussing it, with comments yesterday that an update may be on the way https://github.com/oobabooga/text-generation-webui/issues/4253

EDIT - I had to fully re-install. Updating alone wouldnt resolve the issues, despite the fact that the 0.1.6 AutoAWQ was supposedly installed. A full re-stall of the Text-Gen-Web-UI and I can now load AWQ.

Fresh install also worked for me after updating failed to resolve the issue. Thanks!

Trying to load the TheBloke/Llama-2-13B-Chat-fp16 and the TheBloke/Llama-2-70B-AWQ and it says -- “Peft model detected.” and fails with no adaptor_config.json file . It looks like AWQ is not fully supported as yet on TGI


Number of feature instances and nuclei are different in feature extraction cli output

This task is to make the number of instances in both the nuclei annotation file and nuclei feature file to be the same.
the following steps are needed.

[x] Fill NaN in the feature file with appropriate data
[x] Add nuclei overlap removal to the output nuclei segmentation
[x] Investigate why the number of features is more
[x] Compare the overlap between each shape in the feature file and annotation.

2 - Overlap nuclei removal is added. Assumed the max nuclei radius is 20 pixels
3 - The number of features is coming as NaN since we are not extracting any features if the cytoplasm is not found. Happens with edge cases.
4 - The overlap cannot be compared since the annotations inside the feature file are inconsistent with the input image dimensions(0-4000). Instead, they are in sync with the input tile dimensions (0-1000)

PR #1070 resolved this issue


fix: proper API JSON validation

Proper API JSON Validation
Description
This PR made significant changes to the API validation. Now all request objects coming to the API are properly validated for required properties. This also influences the generated swagger files and, subsequently, generated API client libraries.

[ ] This change requires a documentation update
[ ] I have made corresponding changes to the documentation

Breaking Change
The breaking change is regarding to services that rely on our Swagger files and any tools that generate api clients from the definition.

Just stumbled upon this acctually.

Fixed with https://github.com/daytonaio/daytona/pull/905/commits/766de7afacb54145726503ac69ba1261cacb9bec


fix: persist taps in recipient flatlist

Description
Fixes an issue with Keyboard.dismiss() causing a rerender after searching for a recipient in iOS 16.4+.
Test plan
Tested locally on iOS 17.0.
Related issues

ACT-997

Backwards compatibility
Yes

also the description seems to only describe one of the bugs fixed here-- doesn't it also allow you to dismiss the keyboard by tapping a recipient?


4.0.0: computedPrevious Error: NG0950:

when using

user = input.required<User>();
userPrev = computedPrevious(this.user);

error
Error: NG0950: Input is required but no value is available yet. Find more at https://angular.dev/errors/NG0950
at inputValueFn (core.mjs:96:13)
at ngxtension-computed-previous.mjs:39:34
at untracked (core.mjs:37064:12)
at computedPrevious (ngxtension-computed-previous.mjs:39:18)

using ng: 18.1.0

it is working fine with ng 18.1.0 and  "ngxtension": "^3.5.5",

I don't know how to fix it in my code, @eneajaho  thx for info

You need to initialize the computed previous inside ngOnInit

hm, but then is not declerative

user= input.required<User>();
userPrev: Signal<User>;

ngOnInit() {
    this.userArnesPrev = computedPrevious(this.user);
  }


Update to work with cf-core atomic updates

This PR updates the sandbox to support the changes in cfpb/capital-framework#367. Do not merge until that PR is merged.
Additions

npm run cf-link script

Changes

cf-core sandbox pages updated to correctly demonstrate all cf-core code after the merge of cfpb/capital-framework#367

Removals

Extraneous documentation that was left in the sandbox pages
Patterns that were removed in cfpb/capital-framework#367

Testing

Pull branch
Run npm run cf-link from the project root
Run npm run build
Run npm start

Review

@jimmynotjim
@KimberlyMunoz

Preview this PR without the whitespace changes
Checklist

[ ] Changes are limited to a single goal (no scope creep)
[ ] Code can be automatically merged (no conflicts)
[ ] Code follows the standards laid out in the front end playbook
[ ] Passes all existing automated tests
[ ] New functions include new tests
[ ] New functions are documented (with a description, list of inputs, and expected output)
[ ] Placeholder code is flagged
[ ] Visually tested in supported browsers and devices
[ ] Project documentation has been updated (including the "Unreleased" section of the CHANGELOG)

The relevant capital-framework PR, https://github.com/cfpb/capital-framework/pull/367, is merged.

Are these mixed heading levels intended?

Are these mixed heading levels intended?

Nope! Fixed.

👍


Add reputation labels

We want to allow awarding reputation to issues, like we're already doing with PRs.
Unfortunately, for PRs we're using x:size/X labels, but these have a distinct meaning for issues in that they describe the expected amount of work for that issue.
We thus came up with the idea to use a separate set of labels: x:rep/X.
These labels can be added together with the size labels.
The x:rep labels also have the benefit of being more semantic than the x:size labels.
See https://github.com/exercism/exercism/issues/6318
Note: a separate PR (to be added later) should be merged together with this PR, which will automatically comment on the usage of x:size labels on PRs to point people to using x:rep.

Or better yet, the amount of working hours that corresponds to?

Possibly

Could you add the amount that's being rewarded to the description? Or better yet, the amount of working hours that corresponds to?

We'd rather not add the amount being awarded to the description, as it depends on whether someone authored or reviewed it.
As for the amount of working hours. We discussed it, but have so far decided not to do it, as we want to give it a little more thought.
I'm merging the PR to get the PRs out to the repos to allow them to award reputation to issue authors.

We'd rather not add the amount being awarded to the description, as it depends on whether someone authored or reviewed it.

Why not add both?

To just colour this in a little more, for the time bit, the reason we're treading carefully is that adding more information to what's displayed will likely change the behaviours of people, and we want to think through those changes before we do them. For example, if we added the hours, it would then be easy to get a contributor who's taken 5hrs to do something that you only rate at a 30min PR and them feel frustration over that. Whereas if the it's purely a label, which in the docs groups PRs by example based on their relative size (as they currently do), we're not making judgement calls on whether someone is fast/slow, just on the impact of the PR to Exercism. If there was a way to show this information just to maintainers, but not also to contributors we'd add it now, but without that, I want some more time for us to consider the potential impacts before we add it.
For the amounts, I'd be more happy to do that and we could add both, but I'm not sure it's actually relevant as part of the decision-making criteria and the reason we gave labels, not numbers in the first place, was that so judgements would be made by categories, not by rep-counts.
So TL;DR; We might decide to do both of these, but I want time to think about it all more before we do it.

That makes sense 👍


arbitrary add_css_file attributes are not supported

Problem
It is sometimes necessary to add a CSS file with attributes such as media (for print, dark mode, etc.). As of today, this is not possible when using sphinx_rtd_theme because attributes seem to be ignored (excepting title): https://github.com/readthedocs/sphinx_rtd_theme/blob/master/sphinx_rtd_theme/layout.html#L27
Reproducible Project
Create a custom CSS file and add it to your project like this:
app.add_css_file("css/my_customization.css", media="print")

In the example above, media attribute is ignored on the rendered pages.
Error Logs/Results
N/A
Expected Results
All attributes given to CSS files should be taken into account.
Environment Info

Python Version: 3.8.5
Sphinx Version: 3.5.3
RTD Theme Version: 0.5.1

Done in #1519


Any way to be able to change parameters of a preset such as in TonexPedal-TouchOSC project?

Greetings,
Would it be possible to implement the following functionality using the touch screen?
https://github.com/ThibaultDucray/TonexPedal-TouchOSC-Template
Regards!

Hi. The Tonex One doesn't allow that kind of control, but IK Multimedia have said that they might be adding it.
I like that project. If they add control, then I could create an interface for the 4.3B to control it


Where to put bootlocal.sh after installing 0.4.0-rc1 (f6ea2c1)

Just installed v0.4.0-rc1and created new virtualbox vm. Looking to run bootlocal.sh from persistent disk, but /var/lib/boot2docker symlink does not exist.
Tried $ sudo mkdir /mnt/data/var/lib/boot2docker && sudo ln -s /mnt/data/var/lib/boot2docker /var/lib/boot2docker. Symlink will not survive vm restart, but source directory does. Creating an executable bootlocal.sh inside does not appear to be loading.
Has the default location for bootlocal.sh changed with 0.4.0-rc1?
Purpose of script is to swap out default /Users share with NFS. Worked great on v0.3.1.

Just to confirm... downgrading to v0.3.1 and recreating virtualbox vm results in boot2docker symlink.

I'm guessing this is not a bug now, as it appears the nfs functional was removed from the latest boot2docker-virtualbox.iso. Any sudo mount -t nfs fails with "unknown filesystem type". Does this mean a better (faster) folder sharing method is in the works, or will there be a different way to get nfs mounts working?
Guess I'll just stick with v0.3.1, as it works great with my nfs mount script. Maybe a blurb under https://github.com/docker/machine/releases to save someone else some time.
Btw, thx for docker, machine & compose... really amazing stuff!

For what it's worth, here is the script I use to populate bootlocal.sh: https://gist.github.com/WebAppFlow/16426261bc053d9a878d/3b806d1a97b1226ff8fcd2282315af3fd5f46577#file-nfs_machine-sh

Does this mean a better (faster) folder sharing method is in the works

Unfortunately not for the time being.

will there be a different way to get nfs mounts working?

Hopefully, but it still remains to be seen for this release.  In the worst case scenario, you could "bake" your own boot2docker ISO which has the relevant features and use that.
So, to explain a little further what you are actually running into here:
In Machine 0.4.0 / b2d 1.8 we are migrating to a new boot2docker which is based on Debian instead of TinyCore Linux.  There are going to be some issues with backwards compatibility such as this, but I am trying hard to try and accommodate existing workflows where possible.  I think there's a fair argument in favor of bootlocal.sh and including NFS, so I'll start a conversation with the "boot2docker OS upstream" and see if / how we will integrate those.

cc @tianon

Breaking NFS completely was definitely not intentional!  We do also need to figure out where bootlocal.sh fits in.  We don't really have a good answer for this just yet, but we definitely plan to have something as soon as we figure out exactly where it should live!

NFS is back: https://github.com/boot2docker/boot2docker/commit/242d7b70f12b434048f241408dcfd6f6a3db7d9a
Now to figure out where to put boot hooks.

https://github.com/docker/boot2docker/commit/24cbf748594f57cbc1be83b14721d59d98626b13 and now we have persistent before-docker.d and after-docker.d on-boot scripts directories :+1: (although only lightly tested at this point)
Put something.sh files in either /etc/boot2docker/hooks/before-docker.d or  /etc/boot2docker/hooks/after-docker.d. :metal:

Doh, uh, and https://github.com/docker/boot2docker/commit/602d5b6bc016b31231f9e55e2d47b21dfbab4c59. :innocent:

Thx @nathanleclaire & @tianon, that was quick!
How would I go about testing these new commits?
Should I build a custom iso using instructions at https://github.com/boot2docker/boot2docker/blob/master/doc/BUILD.md. How would I modify to account for new debian-based b2d?
Should I just wait till there is a release posted to https://github.com/docker/boot2docker?

@WebAppFlow I think @ehazlett was planning on building updated ISOs soon, but we'll also have an official RC release as soon as Docker 0.8.0-rc2 is out (rc1 was a bust thanks to missing systemd service files).

I just tried this out. Seems like the nfs module isn't compatible with the kernel.
modprobe: ERROR: ../libkmod/libkmod-module.c:186 kmod_module_parse_depline() ctx=0x7f2630a16010 path=/lib/modules/3.16.0-4-amd64/kernel/net/sunrpc/sunrpc.ko error=No such file or directory
modprobe: ERROR: ../libkmod/libkmod-module.c:186 kmod_module_parse_depline() ctx=0x7f2630a16010 path=/lib/modules/3.16.0-4-amd64/kernel/net/sunrpc/sunrpc.ko error=No such file or directory
modprobe: ERROR: could not insert 'nfs': Unknown symbol in module, or unknown parameter (see dmesg)
root@boot2docker:/etc/boot2docker/hooks/before-docker.d# uname -a
Linux boot2docker 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1+deb8u2 (2015-07-17) x86_64 GNU/Linux

dmesg full of this kinda stuff.
[  891.588920] nfs: Unknown symbol __fscache_disable_cookie (err 0)
[  891.588930] nfs: Unknown symbol __fscache_acquire_cookie (err 0)

Compiled the current HEAD in docker/boot2docker. nfs-common seems to be present.

How would I go about testing these new commits?

I'd also be interested in testing this - I'm Building docker/boot2docker master and docker/machine master (have tried @ehazlett's fork too), but it doesn't seem like it's injecting [.ssh/authorized_keys] (https://github.com/docker/machine/blob/af08468f00f3109961d279b83c538633459c434d/drivers/virtualbox/virtualbox.go#L558:L561) (or anything for that matter into the home dir) but it looks like you guys are using it fine?
@tianon any chance of a 30 second run down on which branches to use for each project?

Just FYI everyone - we have decided to delay the OS transition for another release so all of the boto2docker idioms which you may be familiar with (e.g. where to put bootlocal.sh) will stay the same for this upcoming release.

I've been using /var/lib/boot2docker/bootlocal.sh to automatically add our internal Docker Registry self signed certificate to the boot2docker machine.
However since updating to docker-machine this no longer works.
#!/bin/sh
# /var/lib/boot2docker/bootlocal.sh
curl http://www.example.com/my-docker-registry-public-key.crt >> /etc/ssl/certs/ca-certificates.crt

This used to preserve our Docker Registry self signed certificate between reboots.
So to work around this I'm currently wrapping the startup script like so:
#!/bin/bash
# ~/bin/boot2docker/bootlocal.sh
. '/Applications/Docker/Docker Quickstart Terminal.app/Contents/Resources/Scripts/start.sh'
docker-machine ssh default 'sudo mkdir -p /etc/docker/certs.d/example.com:5000 && sudo sh -c "curl http://www.example.com/my-docker-registry-public-key.crt > /etc/docker/certs.d/example.com:5000/ca.crt"'

If anyone knows a better way of adding Docker Registry self signed certificates to docker-machine let me know!

@tianon -- @sebflipper's issue is not something I would expect to happen given that we haven't transitioned OSes yet.  Do you have any idea what might be going on?  Perhaps we should transition to a boot2docker/boot2docker issue?

@WebAppFlow @nathanleclaire is this issue something we can do about? Looks like it's not in docker-machine's garden

@sebflipper https://github.com/boot2docker/boot2docker#installing-secure-registry-certificates
@WebAppNut https://github.com/boot2docker/boot2docker/blob/master/doc/FAQ.md#local-customisation-with-persistent-partition

bootlocal.sh should work as far as I'm aware.  Please open an issue on https://github.com/boot2docker/boot2docker if not (with steps to reproduce).  Thanks!