Release v0.16.0

v0.16.0 Nov. 24, 2020
Enhancements

Updated pipelines and make_pipeline to accept Woodwork inputs #1393
Updated components to accept Woodwork inputs #1423
Added ability to freeze hyperparameters for AutoMLSearch #1284
Added Target Encoder into transformer components #1401
Added callback for error handling in AutoMLSearch #1403
Added the index id to the explain_predictions_best_worst output to help users identify which rows in their data are included #1365
The top_k features displayed in explain_predictions_* functions are now determined by the magnitude of shap values as opposed to the top_k largest and smallest shap values. #1374
Added a problem type for time series regression #1386
Added a is_defined_for_problem_type method to ObjectiveBase #1386
Added a random_state parameter to make_pipeline_from_components function #1411
Added DelayedFeaturesTransformer #1396
Added a TimeSeriesRegressionPipeline class #1418
Removed core-requirements.txt from the package distribution #1429
Updated data check messages to include a "code" and "details" fields #1451 #1462
Added a TimeSeriesSplit data splitter for time series problems #1441
Added a problem_configuration parameter to AutoMLSearch #1457

Fixes

Fixed IndexError raised in AutoMLSearch when ensembling = True but only one pipeline to iterate over #1397
Fixed stacked ensemble input bug and LightGBM warning and bug in AutoMLSearch #1388
Updated enum classes to show possible enum values as attributes #1391
Updated calls to Woodwork's to_pandas() to to_series() and to_dataframe() #1428
Fixed bug in OHE where column names were not guaranteed to be unique #1349
Fixed bug with percent improvement of ExpVariance objective on data with highly skewed target #1467

Changes

Changed OutliersDataCheck to return the list of columns, rather than rows, that contain outliers #1377
Simplified and cleaned output for Code Generation #1371
Updated data checks to return dictionary of warnings and errors instead of a list #1448
Updated AutoMLSearch to pass Woodwork data structures to every pipeline (instead of pandas DataFrames) #1450
Update AutoMLSearch to default to max_batches=1 instead of max_iterations=5 #1452

Documentation Changes

Added description of CLA to contributing guide, updated description of draft PRs #1402
Updated documentation to include all data checks, DataChecks, and usage of data checks in AutoML #1412
Updated docstrings from np.array to np.ndarray #1417
Added section on stacking ensembles in AutoMLSearch documentation #1425

Testing Changes

Removed category_encoders from test-requirements.txt #1373
Tweak codecov.io settings again to avoid flakes #1413
Modified make lint to check notebook versions in the docs #1431
Modified make lint-fix to standardize notebook versions in the docs #1431
Use new version of pull request Github Action for dependency check #1443
Reduced number of workers for tests to 4 #1447

Breaking Changes

The top_k and top_k_features parameters in explain_predictions_* functions now return k features as opposed to 2 * k features #1374
Renamed problem_type to problem_types in RegressionObjective, BinaryClassificationObjective, and MulticlassClassificationObjective #1319
Data checks now return a dictionary of warnings and errors instead of a list #1448
🦃 🚀

Perf test results here.


indra/gilda incompatible dependencies

indra depends on markupsafe<2.1.0
gilda depends on flask>=3.0 depends on Werkzeug>=3.0.0 depends on MarkupSafe>=2.1.1
short-term workaround: use gilda < 1.1.0
long-term recommendation: automated nightly integration smoke tests

This is indeed an apparent conflict, though in practice, gilda works without issues with markupsafe==2.0.1, and also, even in INDRA, this is only a potential issue if one wants to run its REST API locally which is not common. I am looking into solving this by changing the dependency structure in INDRA, but still, I don't think this is causing any practical issues.

Fixed in https://github.com/sorgerlab/indra/pull/1440


Detected code that uses str for device registry entry_type. This is deprecated and will stop working in Home Assistant 2022.3

Hi,
after activating the integration unfortunately there's a deprecation warning which spams the log files.
2022-11-15 11:19:50.563 WARNING (MainThread) [homeassistant.helpers.frame] Detected code that uses str for device registry entry_type. This is deprecated and will stop working in Home Assistant 2022.3, it should be updated to use Device$
Stack (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 203, in <module>
    sys.exit(main())
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 191, in main
    exit_code = runner.run(runtime_conf)
  File "/usr/src/homeassistant/homeassistant/runner.py", line 119, in run
    return loop.run_until_complete(setup_and_run_hass(runtime_config))
  File "/usr/local/lib/python3.10/asyncio/base_events.py", line 633, in run_until_complete
    self.run_forever()
  File "/usr/local/lib/python3.10/asyncio/base_events.py", line 600, in run_forever
    self._run_once()
  File "/usr/local/lib/python3.10/asyncio/base_events.py", line 1896, in _run_once
    handle._run()
  File "/usr/local/lib/python3.10/asyncio/events.py", line 80, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 573, in _async_add_entity
    device = device_registry.async_get_or_create(**processed_dev_info)  # type: ignore[arg-type]
  File "/usr/src/homeassistant/homeassistant/helpers/device_registry.py", line 349, in async_get_or_create
    report(  # type: ignore[unreachable]
  File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 74, in report
    _LOGGER.warning(msg, stack_info=True)

It looks like this is a duplicate issue of #22
On my side the impact is that ha-openhab entities are refreshed only when ha-openhab is refreshed.
i.e. : When I change de status of a switch in openhab (ON), it is not refreshed in home assistant =>it remains OFF until I manually refresh the ha-openhab.
In my situation  it's a big deal because my house uses Nikobus (old version with a serial port) wich is only accessible through openhab. So my setup clearly depends on this wonderful piece of code here 💯
Unfortunately I am not a programmer :'(, or not yet lol )


[ZT] add egress ip page

to be expanded upon later

@Encore-Encore
Can we go ahead and publish this?


Find someone to test Pygame GUI on mac

I don't have a mac.

Report that the GUI works on mac in pygame 2 so closing this.


Added verify_build action (again)

Prior history is here: #1151
It wasn't possible to merge into a single commit without doing a push --force which then closed the #1151 pull request for some reason...
@ohwutup, are we good to go?

sorry about the confusion with squash! thanks for doing that! could you just fix that one hound issue and squash again? you should be able to do an interactive rebase (git rebase -i HEAD~2) and fixup the second commit (that will fix the hound error) and pick the first one.
thanks!!

@ohwutup I already fix that issue and pushed. I am seeing a "All checks have passed" message :)

@CodeReaper i think we are talking about different issues? this is what I'm referring to

I think the comment is actually outdated, local rubocop should work :+1:

nice! you're right @CodeReaper and @KrauseFx ! merging now! thanks @CodeReaper !!! :shipit:


update eolang version to 0.28.17

@rultor merge

@rultor merge

@mikhaillipanin OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@mikhaillipanin Done! FYI, the full log is here (took me 4min)


Virtual scroll not completing with custom components

Bug Report
Ionic version:
[x] 4.x
Current behavior:
When implementing virtual scroll with any content in the containing tag the page renders on start up. As soon as the only thing inside the container is the custom component it stays on the init process, the elements are given the correct positions but the class virtual loading is still appended to the element. This only gets removed when I scroll on the page and then the content shows.
Expected behavior:
The class virtual-loading show should be removed
Steps to reproduce:
Implement virtual scroll with a custom component inside of it.
Related code:
This renders
 <ion-virtual-scroll #virtualScroll [items]="eventsList"   approxItemHeight="400px">
        <div *virtualItem="let item" class="event-item">
1
            <app-events-list-item [event]="item" ></app-events-list-item>
        </div>
    </ion-virtual-scroll>

This does not
 <ion-virtual-scroll #virtualScroll [items]="eventsList"   approxItemHeight="400px">
        <div *virtualItem="let item" class="event-item">
            <app-events-list-item [event]="item" ></app-events-list-item>
        </div>
    </ion-virtual-scroll>

Other information:
Ionic info:
Ionic:

   ionic (Ionic CLI)             : 4.6.0 (/Users/rossrawlins/node_modules/ionic)
   Ionic Framework               : @ionic/angular 4.0.0
   @angular-devkit/build-angular : 0.12.3
   @angular-devkit/schematics    : 7.1.4
   @angular/cli                  : 7.1.4
   @ionic/angular-toolkit        : 1.2.2

System:

   NodeJS : v8.9.4 (/usr/local/bin/node)
   npm    : 6.6.0
   OS     : macOS Mojave

Thanks for the issue! This should be fixed in the ionic 4.2.0-dev.201903262032.a8a48a4 dev release. Could you please try this and let us know if it isn't fixed?


Refactor monorepo gradle files in order to have a single dependencies version

Motivation
In order to avoid issues with transitive dependencies and reduce the number of vulnerabilities (CVEs), it's convenient to have a single version for third-party dependencies, all managed from a central point (Gradle catalog)
This PR is refactoring the current Gradle files to reuse the same dependency declarations and also creates common dependency bundles.
Note: the Gradle refactor was started in the Athens hackathon but I could not finish on time, It took me ..."one" extra day (I finished today (one day later), in the airport).
IntelliJ will require gradle 8 or gradle 7 with this plugin: https://plugins.jetbrains.com/plugin/18949-gradle-libs-error-suppressor
My recommendation it´s to move on to Gradle 8 . No problem at all on Github Action or the terminal, is just a Intelij issue

@cla-bot check

@cla-bot check

Was already done.


Create devcontainer.json

Problem solved
Short description of the bug fixed or feature added
I hope I’m doing this right

PR-Codex overview
This PR updates the DevContainer configuration to use the mcr.microsoft.com/devcontainers/universal:2 image.
Detailed summary

Updated DevContainer image to mcr.microsoft.com/devcontainers/universal:2

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@Nichebiche hi there we are not looking to add devcontainer support to this repository at the moment

I don’t know what I’m doing… wanna help me?
Sent from Yahoo Mail for iPhone
On Monday, September 16, 2024, 6:40 PM, Jonas Daniels @.***> wrote:
Closed #4633.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>


Add a CertificateVerify test to ensure SHA-1 never used

Problem:
The SHA-1 algorithmMUST NOT be used in any signatures of CertificateVerify messages
Proposed Solution:
Add a test(s) to tests/unit/s2n_server_cert_verify_test.c

Just to double check, we would still expect/allow SHA-1 for < 1.3 cases if the server includes it in the CertificateRequest?

A unit test already exists to make sure that the negotiation will fail if a chosen signature scheme's maximum protocol version is smaller than the connection's protocol version:
https://github.com/awslabs/s2n/blob/main/tests/unit/s2n_signature_algorithms_test.c#L240
If a peer sent a Certificate Verify message with a sha-1 signature scheme, a tls1.3 connection could not validate it because all sha-1 signature schemes have a max protocol version of tls 1.2.


Undo or "Ctrl + Z" doesn't work in Data Editor

System information:

Operating system (distribution) and version Ubuntu 20.04
DBeaver version 21.1.0

Connection specification:

Database name and version MariaDB

Steps to reproduce, if exist:

Type anything in a cell
Press ctrl + Z or click Edit > Undo

Expected: Changes are undone
Actual: Nothing happens. Undo button in in "Edit" menu is inactive.
Also on Windows Ctrl+Z works, but Undo button in Edit menu is inactive too.
Include any warning/errors/backtraces from the logs

#1446

#1447

Windows 10. DBeaver Version <IP_ADDRESS>409011551 of Sep 2, 2024.
Neither Ctrl+Z does anything nor Edit -> Undo is available in the SQL editor.
I rolled back to the ver. 24.1.5, ctrl+Z works fine and Edit -> Undo is also available.

@E1izabeth somehow I could not reproduce it either. Probably there were byte fluctuations and CPU misbehaviour on my PC ))
Ctrl + Z works fine in SQL editor. Solved.


add firmware.bas

Added firmware.bas to Apple2 directory. Perhaps we'll eventually have more basic scripts that may need their own directory.
I was able to run this file from a USB drive. May document that although that card isn't widely available. Was quicker than typing it (I don't currently have a physical floppy drive to save work though).

Thanks for your submission. I don't think I want to merge this one though due to it being an older, incomplete version of the firmware. We should extract the code from the latest version of UPDATE.FIRMWARE Applesoft BASIC file from the Apple2-IO-RPi.hdv image. To run that, it also needs the AT28C64B.bin file which is already available separately in the Apple2 folder of this project.

No problem. Updated version will be good for folks to see (and discuss).
I’ll try poking around in the HDV image but am not sure what I’ll be
looking for. And that even the old version is archived here.
I’ll make sure to detail each step I take when I  start from scratch again
with a new raspi install.
Might be interesting to show the contents of the HDV (either just a file
listing or perhaps the unpackaged contents).
Was fantastic that all of your scripts and builds worked right out of the
gate. :)
On Thu, May 13, 2021 at 10:33 AM Terence Boldt @.***>
wrote:

Thanks for your submission. I don't think I want to merge this one though
due to it being an older, incomplete version of the firmware. We should
extract the code from the latest version of UPDATE.FIRMWARE Applesoft BASIC
file from the Apple2-IO-RPi.hdv image. To run that, it also needs the
AT28C64B.bin file which is already available separately in the Apple2
folder of this project.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/tjboldt/Apple2-IO-RPi/pull/12#issuecomment-840602069,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAACOWI6KFM4KCPC7CW4QULTNPPKBANCNFSM44XC6KXA
.

--

Scott Fitchet
http://figital.com

I added the current source code from the drive image instead.


fluent-cat: Add --time-as-integer option for v0.12 or earlier versions

For testing, re-install v0.12 is hard for users.

@tagomoris How about this option?

applied review.

LGTM


⚠ sandbox-api.piste.gouv.fr healthcheck has degraded performance

In 6f5a453, sandbox-api.piste.gouv.fr healthcheck (https://sandbox-api.piste.gouv.fr/cassation/judilibre/v1.0/healthcheck) experienced degraded performance:

HTTP code: 200
Response time: 2655 ms

Resolved: sandbox-api.piste.gouv.fr healthcheck performance has improved in e1d9953.


Update Ride Request getting error  -  Method Not Allowed (405)

This is my update ride code:

 $client 			= new Client($this->getDefaultUberConfig ($userAccessToken->access_token));
    $updateRequest = [
				'end_latitude' 	=> $newDestinationLat,
				'end_longitude' => $newDestinationLng,

			];
    $updateRequest 	= $client->setRequest($requestId, $updateRequest);

But I'm gettting this error: Method not supported for this endpoint (405). It seems we need to make HTTP method PATCH here. (reference: https://developer.uber.com/docs/riders/references/api/v1.2/requests-request_id-patch)
How to call this API using PATCH method?
Thanks,

Great catch @phpnets! Thank you. I've updated the code and cut a new patch release.
https://github.com/stevenmaguire/uber-php/releases/tag/1.5.1
Please try it out and let me know if it resolves your issue.

@stevenmaguire  Yeah its worked. Thank you


Java 13 EA CI server sanity build

Once Gradle is capable of running with Java 13 - https://github.com/gradle/gradle/issues/8681.

Gradle has been broken on JDK 13 EA builds for more than 6 months. It's is also broken on JDK 14 EA builds for about 2 months.  Continuous testing with the latest JDK EA builds is important if Gradle is to keep up.

That's sad, that it's planned to be available only in Gradle 6.0 which will be available one day... @AlanBateman Feel free to express your opinion in the aforementioned issue.

OpenJDK 15 has been added to the test suite some time ago. Closing.


WebcamSource can't access camera after PeerConnection restarts

Summary
We have a problem with the WebcamSource acces to the HoloLens 2 camera after the app freezes for some moments.
Description
We have an HoloLens 2 app that needs to send and receive audio and video, with the possibility to unpublish and publish audio and video tracks multiple times in a single session.
The HoloLens 2 user is the Local Participant, while the other users sending their audio and video tracks are the Remote Participants.
The only way to refresh and see the changes to the new published tracks of a Remote Participant (which has already been published before) is:

Disable the Peer Connection where Remote Participant tracks are currently associated PeerConnection.enable = false
Re-assign the AudioReceiver and VideoReceiver objects to the audio and video MediaLines of the PeerConnection AudioMediaLine.Receiver = _audioReceiver and VideoMediaLine.Receiver = _videoReceiver
Re-enable the PeerConnection object with PeerConnection.enable = true

At this point the PeerConnection restarts and I can see and hear the new video and audio tracks of the Remote Participant, otherwise I cannot see the changes.
The problem happens now: during the process of disabling/enabling the Remote Participant PeerConnection, the application freezes for about half a second, causing the WebcamSource frames to stop being acquired/rendered, because both the Local Particpant on HoloLens 2 and the Remote Participant keep seeing only the last frame that was rendered before the freeze.
When the app freezes, in Visual Studio I see this:
WinUWPH264DecoderImpl::Release()
WinUWPH264DecoderImpl::~WinUWPH264DecoderImpl()
WinUWPH264DecoderImpl::Release()

The same problem does not happen launching the app in Debug from Visual Studio, so what I assume is that being the application slower when running in Debug mode, the HoloLens 2 webcam has more time to free up its resources and then the WebcamSource can regain access to it, while if done too early, this operation fails because the HoloLens 2 webcam is still releasing WebcamSource resources from the freeze and therefore WebcamSource cannot access the still busy webcam.
This theory is partially confirmed by destroying the WebcamSource component and the PeerConnection, waiting 2+ seconds and then reistantiate both the PeerConnection and the WebcamSource and reinitialize all is needed for the Hololens 2 Local Participant. In this way the local video restarts acquiring/rendering/sending the webcam frames.
However this is just a theory, unfortunately nothing more is logged in Visual Studio output.
Conclusion
The delayed reinstantiation of the local WebcamSource and PeerConnection seems not an option in a long term run, because this delay doesn't always work and moreover collides with other operations done during the app usage.
Is this a know issue? Can it be fixed or bypassed without introducing a delayed reinstantiation? And is it possible to refresh the PeerConnection without disabling/enabling it causing the app to freeze?
I'm at your disposal to give you more details about the problem and do some testing if needed.
Thanks in advance and have a nice day!

That sounds like #535, we are aware some users have issues, but had not time to investigate further nor had a clear repro to find out what is going on. Most likely there is a bug in the UWP video capture code, which is old and unmaintained unfortunately.

with the possibility to unpublish and publish audio and video tracks multiple times in a single session.

With Universal Plan SDP (the default) only transceivers are published. Tracks are attached to / detached from transceivers, and this is transparent (no renegotiation). Transceivers map to the MediaLine objects in Unity.

The only way to refresh and see the changes to the new published tracks of a Remote Participant (which has already been published before) is:

It sounds like you should instead detach the track from the transceiver, and re-attach it later when needed. You seem to be using Unity; not sure how well that plays with the Unity scripts to be honest, but you should be able to do that by manipulating the MediaLines on the PeerConnection component.

When the app freezes, in Visual Studio I see this:
WinUWPH264DecoderImpl::Release()
WinUWPH264DecoderImpl::~WinUWPH264DecoderImpl()
WinUWPH264DecoderImpl::Release()

The peer connection is disabled, there is nothing else to transport, and therefore nothing to encode/decode. So the decoder is shutting down. That all seems normal. Relevant code here:
https://github.com/webrtc-uwp/webrtc-windows/blob/d721489f144d8446ae429b69b9dc2768927c9c04/third_party/winuwp_h264/H264Decoder/H264Decoder.cc#L548-L566

That sounds like #535, we are aware some users have issues, but had not time to investigate further nor had a clear repro to find out what is going on. Most likely there is a bug in the UWP video capture code, which is old and unmaintained unfortunately.

with the possibility to unpublish and publish audio and video tracks multiple times in a single session.

With Universal Plan SDP (the default) only transceivers are published. Tracks are attached to / detached from transceivers, and this is transparent (no renegotiation). Transceivers map to the MediaLine objects in Unity.

The only way to refresh and see the changes to the new published tracks of a Remote Participant (which has already been published before) is:

It sounds like you should instead detach the track from the transceiver, and re-attach it later when needed. You seem to be using Unity; not sure how well that plays with the Unity scripts to be honest, but you should be able to do that by manipulating the MediaLines on the PeerConnection component.

When the app freezes, in Visual Studio I see this:
WinUWPH264DecoderImpl::Release()
WinUWPH264DecoderImpl::~WinUWPH264DecoderImpl()
WinUWPH264DecoderImpl::Release()

The peer connection is disabled, there is nothing else to transport, and therefore nothing to encode/decode. So the decoder is shutting down. That all seems normal. Relevant code here:
https://github.com/webrtc-uwp/webrtc-windows/blob/d721489f144d8446ae429b69b9dc2768927c9c04/third_party/winuwp_h264/H264Decoder/H264Decoder.cc#L548-L566

Thank you for the answer and sorry for the late reply!
After some trial and error I solved the issue by disabling the VideoTrackSource component of WebcamSource just before the app freezes (which happens when the Remote Peer Connection is disabled to update the audio and video Receiver objects) and the re-enabling it after the app has returned to normal functioning (which happens after the first frame of the Remote Peer Connection is received).
What is curious is that if I disable/enable the WebcamSource component instead of its VideoTrackSource during the process described above the app crashes, however if I disable/enable the VideoTrackSource of the WebcamSource everything works fine and I do not have to destroy/recreate the local Peer Connection like mentioned in the opening post.
However this is only a workaround and the issue still persists.
Thanks anyway for the support.


Fix #16: tests.

This fixes #16, the tests actually test that middleware functionality.
I am not sure how to write an actual verifier passing test, it requires stubbing the verifier inside alexa-verifier somehow.

Unfortunately, it would be nearly impossible to make a passing case unless you were Amazon themselves. Logically, if we did have a pass case, then there is a bug with either this repo or the alexa-verifier repo, since that would be a severe security flaw.
One approach that we can take when making these tests is, "What are the possible ways to break the verification modules?"

I think replacing the actual check with a mock implementation is the way to go, but I wasn't able to actually accomplish it.

What I meant to say is that, there is no way to make a proper passing case with a mock. You'd basically need Amazon's servers to send a test request in order for the passing test to work.
I even checked the alexa-verifier module and there's no passing cases found. IMO, the only working way of testing if it works is with an actual skill.

LMK if I need to do anything else here for you to merge it.

So I found the original section upon how exactly should any webservice verify Alexa requests here.
I've created a simple skill and was almost able to make a passing case:

Aside from bypassing an error that states that the request is too old, it works just fine. The trick is that the timestamp needs to be up to date and the signature needs to be generated based on the request body.

Another note is that the signaturecertchainurl is set to https://s3.amazonaws.com/echo.api/echo-api-cert-4.pem to avoid the certificate expiration check failed error.

If you look at the code in this PR it generates the current timestamp with timestamp: new Date().getTime(), if that's what you're asking.

What I mean is that that above code for the passing case I made only fails when the request is made more than 150 seconds ago (i.e. the request is too old). If I comment that portion out, the passing case actually works.
When Amazon sends the request, the request body is used as a basis for generating the signature. The signature itself is base64-encoded and decoding it results in an encrypted signature, which can only be decrypted with the public key that's embedded in the certificate downloaded from signaturecertchainurl. The final result is a hash value. Next, we'd generate a SHA-1 hash from the request body and compare it to the first hash we derived from.
TL;DR, Either we have to generate the signature dynamically since the timestamp will be different, or we need Amazon to somehow send a test request with the correct signature.
Here's some semi-pseudocode that would be used to generate the signature
var requestBody = {...}

var signatureCert = download("https://s3.amazonaws.com/echo.api/echo-api-cert-4.pem")
var publicKey = extractPublicKey(signatureCert)

var sha1Hash = generateHash(requestBody, 'SHA-1')
var encryptedSignature = encrypt(sha1Hash, publicKey)
var finalSignature = base64encode(encryptedSignature)

Since you don't have a private key for the signature you cannot generate a valid one on the fly. That would defeat the whole purpose of signatures here, as anyone would be able to generate a request. However you can use an outdated signed request if you could fake time, I think you can stub .getTime with sinon and return a well known value for the test.
That said, while this discussion is interesting can we do things one after another? This PR fixes tests that otherwise don't test anything, can it be merged?

Yes, I'll merge it. We can open another PR/issue about it for the passing pace in the meantime.

Can you copy paste your almost working code here with the actual signature and stuff? I can try a stub.

Sure. I'm busy right now, but I'll share it later today.

Here's the almost-passing test code. Good luck!
test('pass', function(t) {
  console.log(new Date().toString());
  var mockRes = invokeMiddleware({
    headers: {
      signature: 'Qc8OuaGEHWeL/39XTEDYFbOCufYWpwi45rqmM2R4WaSEYcSXq+hUko/88wv48+6SPUiEddWSEEINJFAFV5auYZsnBzqCK+SO8mGNOGHmLYpcFuSEHI3eA3nDIEARrXTivqqbH/LCPJHc0tqNYr3yPZRIR2mYFndJOxgDNSOooZX+tp2GafHHsjjShCjmePaLxJiGG1DmrL6fyOJoLrzc0olUxLmnJviS6Q5wBir899TMEZ/zX+aiBTt/khVvwIh+hI/PZsRq/pQw4WAvQz1bcnGNamvMA/TKSJtR0elJP+TgCqbVoYisDgQXkhi8/wonkLhs68pN+TurbR7GyC1vxw==',
      signaturecertchainurl: 'https://s3.amazonaws.com/echo.api/echo-api-cert-4.pem'
    },
    body: JSON.stringify({
      "version": "1.0",
      "session": {
        "new": true,
        "sessionId": "SessionId.7745e45d-3042-45eb-8e86-cab2cf285daf",
        "application": {
          "applicationId": "amzn1.ask.skill.75c997b8-610f-4eb4-bf2e-95810e15fba2"
        },
        "attributes": {},
        "user": {
          "userId": "amzn1.ask.account.AF6Z7574YHBQCNNTJK45QROUSCUJEHIYAHZRP35FVU673VDGDKV4PH2M52PX4XWGCSYDM66B6SKEEFJN6RYWN7EME3FKASDIG7DPNGFFFNTN4ZT6B64IIZKSNTXQXEMVBXMA7J3FN3ERT2A4EDYFUYMGM4NSQU4RTAQOZWDD2J7JH6P2ROP2A6QEGLNLZDXNZU2DL7BKGCVLMNA"
        }
      },
      "request": {
        "type": "IntentRequest",
        "requestId": "EdwRequestId.fa7428b7-75d0-44c8-aebb-4c222ed48ebe",
        "timestamp": "2017-02-10T07:27:59Z", // TROUBLE
        "locale": "en-US",
        "intent": {
          "name": "HelloWorld"
        },
        "inDialog": false
      }
    })
  })

  setTimeout(function() {
    t.equal(mockRes.statusCode, 200);
    console.log(mockRes._getData())
    /*t.deepEqual(JSON.parse(mockRes._getData()), {
      reason: 'certificate verification failed',
      status: 'failure'
    });*/
    t.end();
  }, 2000);
})


Provide documentation on how to use ops.manifest library

@stonepreston , you recently reviewed some of this when it was apart of a few charms i've written, i'm adding you to the review because of your special set of eyes.

LGTM, the ability to apply a single manifest file is on my wish list! but I think that can come in the future : )

Working on it :)
single file?  Meh -- single resource -- working that :)


ABC iView Australia no longer functional

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like this: [x])
Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2017.11.15. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2017.11.15

Before submitting an issue make sure you have:

[ ] At least skimmed through the README, most notably the FAQ and BUGS sections
[ ] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[ ] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://www.youtube.com/watch?v=BaW_jenozKcj']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2017.11.15
[debug] Python version 2.7.11 - Windows-2003Server-5.2.3790-SP2
[debug] exe versions: ffmpeg N-75573-g1d0487f, ffprobe N-75573-g1d0487f, rtmpdump 2.4
[debug] Proxy map: {}
...
<end of log>

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Single video: https://www.youtube.com/watch?v=BaW_jenozKc
Single video: https://youtu.be/BaW_jenozKc
Playlist: https://www.youtube.com/playlist?list=PL4lCao7KL_QFVb7Iudeipvc2BCavECqzc

Note that youtube-dl does not support sites dedicated to copyright infringement. In order for site support request to be accepted all provided example URLs should not violate any copyrights.

Approximately two weeks ago ABC Australia changed something on their end with iView. Files will no longer download as they normally do. I have run the --verbose tag after confirming I am running the latest version of youtube-dl
Bellow is the verbose running of attempt to download video:
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['http://iview.abc.net.au/programs/ben-and-hollys-little-kingdom/ZX9371A042S00', '--verbose']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2017.11.15
[debug] Python version 3.4.4 - Windows-10-10.0.15063
[debug] exe versions: ffmpeg N-87196-g6cadbb1, ffprobe N-87196-g6cadbb1
[debug] Proxy map: {}
[abc.net.au:iview] ZX9371A042S00: Downloading webpage
[abc.net.au:iview] ZX9371A042S00: Downloading f4m manifest
WARNING: Unable to download f4m manifest: HTTP Error 403: Forbidden
[abc.net.au:iview] ZX9371A042S00: Downloading m3u8 information
WARNING: Failed to download m3u8 information: HTTP Error 403: Forbidden
ERROR: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp10f7prtw\build\youtube_dl\YoutubeDL.py", line 784, in extract_info
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp10f7prtw\build\youtube_dl\extractor\common.py", line 437, in extract
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp10f7prtw\build\youtube_dl\extractor\abc.py", line 143, in _real_extract
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp10f7prtw\build\youtube_dl\extractor\common.py", line 1075, in _sort_formats
youtube_dl.utils.ExtractorError: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Duplicate of #14711.


Feature Request: Add option to obsfucate PII

Greetings Metlo Team,
Is it possible to store PII information in obfuscated form? This will ensure user privacy.
for example:
{
"other_params":"...",
<EMAIL_ADDRESS>"phone":"1234567890"
}

Obfuscated Form:
{
"other_params":"...",
<EMAIL_ADDRESS>"phone":"xx3456xxxx"
}

Hi @dmdhrumilmistry ,
We do currently have an option to redact select fields so that they are instead stored as [REDACTED]. You can do this by editing the Metlo Config section in the Settings page. Here are the docs on how to do so: https://docs.metlo.com/docs/metlo-config

ohh; @NikhilShahi thank you for the information


Add MindsDB

This PR adds mindsdb to the list of Full stacks

Hi @ZoranPandovski , thanks for your contribution. MindsDB is really cool, but I had a couple of questions.

Is it completely open source? i.e., I can use is stand-alone, with no external API or 3rd party dependencies?
Where in MLOps does it best fit? this is a bit philosophical, but it seems to me like MindsDB covers a lot of categories, like deployment, training, data management. Is it an MLOPs tool, and if so, where does it fit?


made PromptButton inherit TitleButton

also changed some stuff in ModMenu to properly handle PromptButtons

nah,  _text definitely has more actual text (i.e. if locale got changed they might become different)


Performance issues

Not sure if this is a bug but I am seeking some clarification. I'm trying to run goaccess on a 5GB large log file (1 year of traffic on a smallish site, approximately 23M hits, most of it crawlers of course). I struggle with performance.
On my local (old) MacBook Pro it's using one core fully and starts at 12000 lines/s but after a minute starts falling down to 3000. This is in-memory (when I ran using disk and left it over night and checked in the morning, it was down at 400 lines/s and still not finished). Command is:
goaccess -d -o report.html
On my server I tried running it in Docker, it did not fall down but instead Docker socket disconnects after a while:
read unix @->/var/run/docker.sock: read: connection reset by peer
Any clues or tricks I should think of? Can goaccess use more than one core? Is the slowdown I see normal? Have the docker issues been seen before?

I'm guessing the culprit is -d. Please try without resolving the IPs and let me know how it goes. For 23M hits, I'd still use the in-memory store.
BTW, what processor do you have and ram? Thanks

I tested running it without -d. It has the same performance, starting at 12k slowing down to 2.5k/s. I have 2,6 GHz Intel Core i7 Macbook Pro.

To address your first question, currently there's no way to use more than one core. #377 will address this.
Are you able to test this out on a different Mac? I just want to know if this might be an isolated issue. Also, you could try building goaccess with -O3 and see if that helps, or even using ./configure --enable-debug to see if optimizations are not helping. Thanks!

Closing this. v1.4 has been released so feel free to test it out there and post back if needed. Thanks.


Integration test for race condition in  with Firefox

Run yarn bug-report-test to experience the bug discussed in #4780

@m5r would you mind fixing conflicts and rebasing on top of dev ? 🙏🏼

@machour I've been offline for the last few weeks but I can take care of it now, could you reopen the PR please?

I've resolved conflicts and pushed changes to the same branch, feel free to ping me if there is something else I could do to help you troubleshoot this problem


alvr: init at 20.6.1

Description of changes
Adds ALVR
https://github.com/NixOS/nixpkgs/issues/238102
I goofed up and accidentally mass pinged in https://github.com/NixOS/nixpkgs/pull/275926
I apologize for anyone involved

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

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

The changes to nixos/ should be under a separate commit

An entry for new modules should be added to nixos/doc/manual/release-notes/rl-2405.section.md

Updated with requested changes

Result of nixpkgs-review pr 284154 run on aarch64-linux 1

1 package blacklisted:

nixos-install-tools


Bug: It is possible to create a transaction from and to the same account

It is possible to create a transaction from account A to account A, which is like doing nothing. Also, it can cause problems, because in some parts of the code its assumed that from and to values are not equal.

I checked and it cannot generate a bug, because if its from and to the same account, the registry will be displayed twice (at show_account function).


Ecommerce: add flexible pricing to django-admin

Add the CountryIncomeThreshold model to django-admin so it can be managed at runtime.

Linked PR #553 adds that model and the other ones from flexiblepricing to django admin.

A couple of models already added in django-admin in https://github.com/mitodl/mitxonline/issues/559


Add Semaphore event listeners

Description
The @semaphore-protocol/data library currently provides functions to download data from deployed contracts using mainly events with Ethers or TheGraph subgraphs.
However, there are no listeners, which can be useful for keeping the list of local groups, members, or proofs up-to-date.
Resources

https://docs.ethers.org/v6/getting-started/#starting-contracts (Listening to events)

Hey @cedoor,  would love to work on this ? Could you clarify the remaining tasks for this issue? Any additional context would be appreciated. Thanks!

Hi @0xshikhar, the following listeners need to be added to the SemaphoreEthers class:

onGroup (GroupCreated event): should return the group id of the newly created group.
onMember (MemberRemoved, MemberUpdated, MemberAdded events): should return the identity commitment of members who are added/updated/removed. In case of updates or removals, the old id commitment should also be returned.
onValidatedProof (ProofValidated event): should return the parameters of a validated proof.
onGroupAdmin (GroupAdminUpdated event): should return the address of the old admin and the new one.

Ethers doc: https://docs.ethers.org/v6/api/utils/events/


Add Gridcoin to WikiLeaks ' digital cash systems

 Issue by Erkan-Yilmaz
Wednesday Aug 02, 2017 at 06:26 GMT
Originally opened as https://github.com/Erkan-Yilmaz/Gridcoin-tasks/issues/148

See this tweet by WikiLeaks

What other digital cash systems should @WikiLeaks add to https://wikileaks.org/donate ?

As choice is given:

Etherium (45%)
Monero (20%)
Zcash (11% )
Other (24%)

The vote is still ongoing for about 6h!

no matter what happens in next 6h, this task is an ongoing effort to bring GRC onto WikiLeaks' platform!

Please reply to that tweet, and also use hashtag:

#GridcoinWikileaks

Further reading:

Vote For Gridcoin On Wikileaks !!

 Comment by Erkan-Yilmaz
Wednesday Aug 02, 2017 at 19:17 GMT

result of poll, with 12.204 votes:

45% Etherium
21% Monero
11% Zcash
23% Other

Likely will never happen.


Allow limited customizations to image_plot

Main example where some customization can improve visibility is when plotting shap values of the MNIST example, with ranked_outputs=2. The default output figure is pixelated, and consumes quite an amount of space when displayed on a Jupyter notebook.

No action.


Changed excludeme default to be xsd1.1 compatible

Occasionally, the MWS API for Products will throw an error, citing a
non-xsd1.1 boolean as an example. Making the default value for the
keyword argument excludeme into "false" fixes this.
Here's the error message MWS Returns at times:
<ErrorResponse xmlns="http://mws.amazonservices.com/schema/Products/2011-10-01">
  <Error>
    <Type>Sender</Type>
    MalformedInput
    <Message>boolean must follow xsd1.1 definition</Message>
  </Error>
</ErrorResponse>

This is a quick swap. I'm happy for any resolution, but this is what I ended up doing at work. Tested on python 2 & 3

Good catch, thank you.
Longer term, I would like to have our cleaning method catch Python booleans and convert these to lowercase strings for transmission, which would be a cleaner implementation. For now, though, this change works just fine. :)


[18.09 backport] Add ability to override the version in make.ps1

backport of https://github.com/moby/moby/pull/39117 for 18.09
Checks for environment variable VERSION if it exists then it sets dockerVersion to VERSION

ping @seemethere @ddebroy PTAL


triangular storage and incremental build of tpsci H matrix

since matrix-free davidson is soo slow, we also need intermediate solution where we decrease the memory requirements by storing upper-triangular block only. In addition, we need to store the previously computed matrix to avoid repeating the work.

Simple triangular storage format for symmetric matrix has been added, with matrix vector defined so Lanczos works. Need to connect to TPSCI now.


New version: evilmartians.lefthook version 1.9.2

Pull request has been created with WinGet Releaser v2 :mango:
Microsoft Reviewers: Open in CodeFlow

2024-12-12 04:38:02.783 [FAIL] Installer failed security check. Url: https://github.com/evilmartians/lefthook/releases/download/v1.9.2/lefthook_1.9.2_Windows_i386.exe Result: 0x80004005

@wingetbot run


changed wakeup / hystrix threadpool size to 50

Refer to this link for build results (access rights to CI server needed):
https://jenkins.airvantage.io/job/av-sched-pull-requests/207/
Integration build result

Commit: 2710c886ea2e4d903413a42558dcb2fe5853673a
Status: SUCCESS :+1:


ChadCode Framework® breaks the class

isbell [6:04 PM]
We have a problem.
Apparently chad has broken the class.
Or maybe Jontay.

oh dear.  it has been good sailing with you fine folk.

@cmaron Can we please get a hotfix for this pronto? This a major blocker for us.

this wouldve been caught earlier if we had tests 😤

Tests are for the weak!

@smortime can you include the above screenshots as part of #25 ?

@cmaron @smortime
Has any investigation been done into the economic impact of the ChedCode ban? A cottage industry of ChedCode practitioners now exists, and the criminalization of the framework might have outsized and unseen effects.

@tcdowney
After running some ChedCode Models I have found that with the banning of ChedCode it will cause unemployment to raise anywhere from 0.00001% to 96%. I am fairly confident in this range cause after all they came from ChedCode; assignment 3 to be exact. I just hope lawmakers take into account what the numbers are telling them and not just act off of gut instinct.

ok


Use fork instead of port

Codecov Report

Merging #538 (5f33a0f) into main (505d03b) will decrease coverage by 0.06%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##               main     #538      +/-   ##
============================================
- Coverage     92.34%   92.28%   -0.07%
+ Complexity     2367     2365       -2
============================================
  Files           247      247
  Lines          4953     4953
  Branches        530      530
============================================
- Hits           4574     4571       -3
- Misses          250      255       +5
+ Partials        129      127       -2

Impacted Files
Coverage Δ

...ker/idnumbers/pt/br/IdNumberGeneratorPtBrUtil.java
92.59% <0.00%> (-3.71%)
:arrow_down:

.../main/java/net/datafaker/service/FakerContext.java
89.74% <0.00%> (-2.57%)
:arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Nice, thanks!


[Snyk] Security upgrade axios from 1.7.4 to 1.7.8

Snyk has created this PR to fix 1 vulnerabilities in the npm dependencies of this project.
Snyk changed the following file(s):

src/main/javascript/package.json
src/main/javascript/package-lock.json

Vulnerabilities that will be fixed with an upgrade:

Issue
Score

Cross-site Scripting (XSS) SNYK-JS-AXIOS-6671926
  551

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
Max score is 1000. Note that the real score may have changed since the PR was raised.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Cross-site Scripting (XSS)

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 66.26%. Comparing base (43f3146) to head (19c25b7).
Report is 13 commits behind head on develop.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             develop     #247   +/-   ##
==========================================
  Coverage      66.26%   66.26%
  Complexity       480      480
==========================================
  Files            169      169
  Lines           1678     1678
  Branches          71       71
==========================================
  Hits            1112     1112
  Misses           503      503
  Partials          63       63

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Fix or Walkaround on parser for third party platforms

Hello folks I’m new here and I’m using a tool made to create vdm files from demos and the tool uses this parser to get the steamaiD of the players
But the parser doesn’t recognize all the IDs of the players from demos of the third party plataforms like esea faceit or ebot
But grab all the IDs from valves demo (MM and Majors)
Someone know any walk around or way to try get these ID ?

Hello, what's the tool name?
I guess it's a bug in the tool and not in the parser since SteamIDs retrieving is independent of the bot managing the record of the demo. (If I remember correctly)

What does the code for extraction look like?

this is the method

    private static void PrintSteamIdList(string fileName)
    {
        using (var fileStream = File.OpenRead(fileName))
        {
            Console.WriteLine("==== List of the steamids of the players ====");
            using (var parser = new DemoParser(fileStream))
            {
                parser.ParseHeader();
                parser.ParseToEnd();
                foreach (var player in parser.PlayingParticipants)
                {
                    Console.WriteLine(" - {0}  {1}", player.SteamID, player.Name);
                }
            }
        }
    }

A player may disconnect before the demo is over. PlayingParticipants only returns the players that are connected to the server at that specific time. My recommendation is to check for the players at different times in the demo, by either parsing Tick-By-Tick or subscribing to an event, for example FreezeEnd.


Rendering of headers of nested groups in Grouped List Office UI

I am trying to use grouped List from Office UI. It is working perfectly except rendrening of group header which is partially working. I am using function {onRenderHeader} to optimize group header. It is working for header of top group level but not working for headers of nested groups. {onRenderCell} is working for items. Is there any solution to render header of nested groups?
Best Regards

Since this is an OfficeUI Fabric. can you please repath this issue in the following repository: https://github.com/OfficeDev/office-ui-fabric-react.
sorry for the inconvenience.


Provide context and highlight what error was detected.

Easy to implement fix for #11

Makes it usable, feel free to tweak to make it look nicer. 🍻

Hi, please change destanation branch to develop. We only merge third-party PR's to develop


[Bug] [DataSource] jdbc connect parameters can not input '@'

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
In 2.0.2 version, when I create hive datasource with kerberos, then need input principal to jdbc connect parameters,
when Test connect , The error is reported below

What you expected to happen
when input correct  principal, can connect to hive

How to reproduce
in AbstractDatasourceProcessor.java,  modify PARAMS_PATTER  field, appropriate value is

private static final PARAMS_PATTER = Pattern.compile("^[a-zA-Z0-9\-\_\/\@\.]+$");

Anything else
No response
Version
2.0.2
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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

AbstractDataSourceProcessor.PARAMS_PATTER  doesn't contain @. Is this a feature?

AbstractDataSourceProcessor.PARAMS_PATTER doesn't contain @. Is this a feature?

I think it's a bug that resulted can not input '@' or '.'

AbstractDataSourceProcessor.PARAMS_PATTER doesn't contain @. Is this a feature?

I think it's a bug that resulted can not input '@' or '.'

you can submit a PR, thx


V7 Resolver context is not being passed to Joi validation

Describe the bug
If the joi validation library is used and the user passes in some custom context, then the context is not passed into joi. It is just displayed as null.
To Reproduce
Observe that when I call scehma.validate manually with context, I get the values. When I pass the context via useForm, I get null.
Codesandbox link (Required)
https://codesandbox.io/s/react-hook-form-controller-template-forked-svn2f?file=/src/index.js

@wdfinch 👋🏻  Fixed in v1.3.4

Thanks! So I was able to get this working using the code above. Does this mean I could just do something like
resolver: joiResolver(schema)
cotext: {someContextValue: 'test'}

and it would automatically pass in the context now?

Thanks! So I was able to get this working using the code above. Does this mean I could just do something like
resolver: joiResolver(schema)
cotext: {someContextValue: 'test'}

and it would automatically pass in the context now?

Yes ! :)

Awesome! @bluebill1049 rather than context, would you be open to the idea of changing this to options? The reason being is for my use case I also want to change some of the default options passed to joi (mainly abortEarly = false so I can display all the errors at once).
I believe I would still have to use the messier code above to do this right? In most of these validation libraries context is an option, if we just used options, then the user could add in the context and any customization all in the same object. What do you guys think? Am I missing something here?

To be sure, you want to use abortEarly = false, right ?
It's already the case for the resolver: https://github.com/react-hook-form/resolvers/blob/master/src/joi.ts#L53
You can use all Joi options you want:
useForm({
  context: { yourContext: 'value' },
  resolver: joiResolver(schema, { abortEarly: false, ...joiOptions }) // You can pass all Joi options except `context` which should be passed to `useForm` directly
})

Oh, nice. I didn't know there was a way to pass in options without having to use the longer syntax. Thanks so much! I think that handles all my issues here.


Organize packages

We are organizing packages for release the new modules
PS: The travis build will fail because the emulator does not have play service installed

build latest of core and pipe, than the branch of this PR.
:+1: :tada:
works fine on my machine!

:sparkler: @ 75569a5


[CI] Remove topi from the CI cache

This is a followup step to cleanup topi->tvm/topi. We can then open another PR to remove libtvm_topi from the CMake build target

cc @zhiics @ZihengJiang @yzhliu @icemelon9


reason for relicense to MIT?

If I understand correctly, according to the LICENSE file the project is given under the MIT license. However, most of the code is inherited from the GPT2 project produced by Nvidia under the Apache license.
Let me remind you two rules of Apache 1. license change requires agreement with all previous developers of the project 2. making changes to files under the Apache license requires an indication of what exactly was changed and for what purpose (a notification must be added stating that changes have been made to that file)
Is it possible to know what such an attempt to relicense was made for?

Thank you for your issue. It was our mistake. We update LICENSE file.

Thank you for the quick and adequate decision.
When/if you have time, try to describe the changes you made to files written by Nvidia as required by the Apache License. As a first answer, just move the commit message inside the files or into a separate file with a description of the changes, it's a common practice for such edits.
Thanks again for the amazing work, you are doing a colossal and important job, please continue!


Plugin doesn't pair with shutter

I tried to pair my window shutter with this plugin, but it doesn't work.
I used my original remote control to pair it.
My rts board should work since I successfully paired it with the plugin of Nickduino.
Any advices how to troubleshoot? Does the plugin change some files/ config, if it established a connection?
Device: Raspberry Pi Zero 2
OS: Rasbian OS 11
I tried a baremetal installation of rasbian os and homebridge installation afterwards and the direct homebridge package from the raspberry pi imager.
Homebridge user is root.
Thanks in advance!

There was a problem with my transmitter board.
Just got a new one and it works, thanks!


rcl: 6.0.1-1 in 'rolling/distribution.yaml' [bloom]

Increasing version of package(s) in repository rcl to 6.0.1-1:

upstream repository: https://github.com/ros2/rcl.git
release repository: https://github.com/ros2-gbp/rcl-release.git
distro file: rolling/distribution.yaml
bloom version: 0.11.2
previous version for package: 6.0.0-1

rcl
* fix flaky test (#1063 <https://github.com/ros2/rcl/issues/1063>)
* Contributors: Chen Lihui

rcl_action

No changes

rcl_lifecycle

No changes

rcl_yaml_param_parser

No changes

This pull request has been mentioned on ROS Discourse. There might be relevant details there:
https://discourse.ros.org/t/preparing-for-iron-branching-on-rolling-2023-04-18/30980/2


Installer doesn't like self-signed certificates

I'm behind a firewall, the installation for VS Code doesn't work because of the error

[Extension Host] Failed at stage: downloadPackages - Dependency download failed. RequestError: self signed certificate in certificate chain

I've tried to set a environment variable strict-ssl = false, but that hasn't helped. Is it possible to toggle strict-ssl for the download?

@MartinAskestad We will have a fix for this in the next release, which requires the latest stable vscode version.


OTel showing up twice in navbar

@svrnm, @cartermp, @austinlparker et al., this is because the persona PR retrograded docsy

#1731

as you can see from the "files" tab:

How do you think that this happened? Is it because a rebase wasn't done on the PR, or @svrnm might you have updated docsy while working on the PR?

How do you think that this happened? Is it because a rebase wasn't done on the PR, or @svrnm might you have updated docsy while working on the PR?

Not trying to assign blame (since I reviewed the PR too and so am just as responsible), I'm just curious if we can gather some useful insights as to what happened, postmortem. Cheers!


fix the back button and the highlighting(hover effect)

@MitchExpensify
Details

For Transition and Highlight

Parsing and assignment are done upfront, outside the loop, making the logic cleaner and more readable.
Utilizing a ternary-like logic to apply classes within the a tag.
Centralised parsing and assignment logic improve readability and performance.

For Back Button
This update modifies the Back button to point to the home page ("/") when clicked. This ensures users can easily navigate back to the beginning from any article page.

Updated the div with id="back-button" to an a tag to make it a clickable link.
Set href Attribute:

Set the href attribute of the a tag to / to point to the home page.

Fixed Issues
$ https://github.com/Expensify/App/issues/42600
$ https://github.com/Expensify/App/issues/42600#issuecomment-2175586994
Tests

Used the URL in different platforms
Worked on all platform as intended
Use this link to test the work demo

[x] Verify that no errors appear in the JS console

Offline tests

Used the URL in different platforms
Worked on all platform as intended
Use this link to test the work demo

QA Steps

Used the URL in different platforms
Worked on all platform as intended
Use this link to test the work demo

[x] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[ ] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos
https://github.com/Expensify/App/assets/49725691/4a063507-2d2d-4094-ab48-d77ba35e4477

@MitchExpensify @maddylewis can you check the behavior of the video? My understanding was that we wanted the back button to go back to the previous page, not go back to the home page (which is technically more than a few pages back). Thoughts?

@MitchExpensify @maddylewis can you check the behavior of the video? My understanding was that we wanted the back button to go back to the previous page, not go back to the home page (which is technically more than a few pages back). Thoughts?

Yes, I fixed that in the latest pushed I made. See the new demo i did below
https://github.com/Expensify/App/assets/49725691/28c1c749-f070-4b61-9ccd-a41719f83688

Ah, thanks for confirming.

This doesn't feel quite right. I would think hitting Back on this screen:

Would take you here:

Yes, Thanks for pointing that out.
I discovered that when @rushatgabhane provided more explanation here https://github.com/Expensify/App/issues/42600#issuecomment-2185525071

This doesn't feel quite right. I would think hitting Back on this screen:
Would take you here:

sorry i didn't get that...

In your latest recording, the first tap of the Back button just navigated back to the top of the article:

I'm saying it should actually take you back to the previous page.

Oh! I got your point.

Note: each tab on the LHN are single page but seems like a single article which is not.

Quick one: what do you think will be a previous page in this case, use this link to play around with my [demo]
(https://legendary-zebra-wgjw5wqjw4gf9xjg-4000.app.github.dev/)

I already explained above what I think would the correct previous page in this case. But let me know if you need any further clarification!

In your latest recording, the first tap of the Back button just navigated back to the top of the article:
I'm saying it should actually take you back to the previous page.

if this is the explanation you are refering to. your explanation does not match how the implementation works. please use the link above to confirm this following my previous explanation..

Note: each tab on the LHN are single page but seems like a single article which is not.

thanks

Yes, I just tried your link and it matches the behavior you are showing in the video, which I think is incorrect.

Ohkay!
Now I understand your point.

Can you please clarify what you mean by previous page if it is different what I mentioned above and what was implemented
I will implore you to kindly check the original tagged above to be able to understand the problem we are solving.
The lhn back button is working well based on the issue description, we are to make the back button of the browser behave the same way...

I have read the CLA Document and I hereby sign the CLA

Yes, that's why I asked for confirmation from @MitchExpensify and @maddylewis to get confirmation on what the expected behavior should be here. My opinion is that hitting the back button should take you to the previous page, it should not just climb up to the top of the current page (which is what your video is showing).

Yes, that's why I asked for confirmation from @MitchExpensify and @maddylewis to get confirmation on what the expected behavior should be here. My opinion is that hitting the back button should take you to the previous page, it should not just climb up to the top of the current page (which is what your video is showing).

Thanks so much for bringing that up but what's your take on this my explanation for the reason the behaviour was like that?

this explanation.
Note: each tab on the LHN are single page but seems like a single article which is not.

I don't know how to make this any more clear, but I am trying to suggest that if you are anywhere on this page: https://help.expensify.com/articles/new-expensify/chat/Create-a-new-chat
Hitting back should take you to this page: https://help.expensify.com/new-expensify/hubs/chat/
But again, let's please wait and see if @MitchExpensify and @maddylewis agree with that. Thanks for your patience!

@Taiwrash please don't raise a PR until you've been assigned to an issue

@shawnborton kindly ignore this PR as the proposal hasn't been approved it.


added forum page

I have added the forum page pls check it
Also pls add the hacktoberfest label
Thank you

@Gauravtb2253 please commit the suggestion

done

@Gauravtb2253 you could have just pressed on commit suggestion and it would have solved the problem
no need to work so hard

also commiting the suggestion would have helped you get the pair extraordinate github badge


fix: remove help message in build config failure

Please ensure your pull request adheres to the following guidelines:

[ ] For first time contributors, read Submitting a pull request
[ ] All code is covered by unit and/or runtime tests where feasible.
[ ] All commits contain a well written commit description including a title,
description and a Fixes: #XXX line if the commit addresses a particular
GitHub issue.
[ ] If your commit description contains a Fixes: <commit-id> tag, then
please add the commit author[s] as reviewer[s] to this issue.
[ ] All commits are signed off. See the section Developer’s Certificate of Origin
[ ] Provide a title or release-note blurb suitable for the release notes.
[ ] Are you a user of Cilium? Please add yourself to the Users doc
[ ] Thanks for contributing!

Use the Fatalf incase of error in buildconfig command to avoid help messages in the init failure
Fixes: #28158

/test

@asauber let me know if there is anything else I need to update to merge this.

/test

/test


feat(model): add delay model and loss model

Description

Add delay model and loss model to generate DelayTrace and LossTrace.
Only implemented Repeated and Static models.
How Has This Been Tested

Unit tests have been written for testing.
Screenshots(optional)

Types of changes

New feature (non-breaking change which adds functionality)

Checklist

[x] Code follows the code style of this project.
[x] Changes follow the CONTRIBUTING guidelines.
[x] Update necessary documentation accordingly.
[x] Lint and tests pass locally with the changes.
[x] Check issues and pull requests first. You don't want to duplicate effort.

Other information

LGTM. Also, can you help me fix the clippy error, in another commit?

Fixed.


GIT: modification to staged file not detected

VSCode Version: 1.16.1 (27492b6bf3acb0775d82d2f87b25a93490673c6d)
OS Version: Kubuntu 17.04 (Linux x86_64 4.10.0)
Steps to Reproduce:

under a local git repo, create a new file in vscode, stage it (but not commit)
make changes to the staged file, you can see the change via git under command line, but in vscode, the changes are not detected.
If I shutdown vscode, then re-open it, the change is detected.

Reproduces without extensions: Yes

Are the changes detected without staging the file beforehand?

Happens with me too in latest build.
I also observed two related issues while in the SCM view:

when clicking on some files in the sidebar, the changes don't get displayed in the diff pane. The clicks don't even register in the Git Output Panel, meaning, I don't get a line like this for some files:

git show HEAD:ui/src/.../app.js
git show HEAD:ui/src/screens/.../test.js

I renamed some files, and while staging, clicking the + button on one file failed to put it into the staged changes list, no matter how many times I tried. I had to go to the terminal and manually do a git add. VSCode was showing some error related to invalid URI... or something like that.

Just reloading the vscode window fixed both these errors. Seems like the git commands fail for some reason, and vscode caches the result and doesn't even try to execute them again, or something like that...

Very interesting.
@bpasero Could this be your issue too?

Yeah sounds a bit, though in my case it was never a new file as far as I remember.

@joaomoreno OS is Windows 10 CU.
VSCode details:

Experiencing this issue. Diff is shown between current file and committed file, not staged file. Restarting vscode fixes it. Version-

VSCode Version: Code 1.17.0 (be377c0faf7574a59f84940f593a6849f12e4de7, 2017-10-05T06:07:51.906Z)
OS Version: Darwin x64 16.7.0

Duplicate of #35559
Releasing a fix in the September candidate release.


Improvement to docs content (local, user mostly)

Signed-off-by: Sally O'Malley<EMAIL_ADDRESS>From discussions in communtity mtg, recommended way to run non-containerized is from RPM, since that includes SELinux, unit files, CRI-O. This PR adds the RPM build and install steps to local development documentation.
Closes: #44

/hold
I'm OOO today but still have a few things to update w/ this PR :)

/hold cancel


~/.rubocop.yml isn't loaded in windows

Expected behavior
Rubocop loads ~/.rubocop.yml ( = C:\\users\\UserName\\.rubocop.yml) in Windows, and should exclude __gi_*.rb.

Actual behavior
It doesn't, loads __gi_*.rb.

Steps to reproduce the problem
Put this in %USERPROFILE%/.rubocop.yml in windows.
AllCops:
  Exclude:
    - "__gi_*.rb"
    - "__gi_*/**/*.rb"

RuboCop version
1.25.1 (using Parser <IP_ADDRESS>, rubocop-ast 1.15.2, running on ruby 3.0.3 i386-mingw32)

Could you run with the -d flag to get a log of which configuration files are read?

discorb on  feature/test [$] via  via  v3.0.3 took 10s
❯ rubocop -d
For E:/discorb-projects/discorb: configuration from E:/discorb-projects/discorb/.rubocop.yml
Default configuration from C:/develop/Ruby30/lib/ruby/gems/3.0.0/gems/rubocop-1.25.1/config/default.yml
Inspecting 95 files
Scanning E:/discorb-projects/discorb/Gemfile
Loading cache from C:/Users/MyUserName/.cache/rubocop_cache/3e7be2158b0cf1ee6e720ca9f6b044cf6f57691d/6d7a3b621ca1730e04accd938619e4bdab66cfb1/2267ef7b5c05f3590f29b9ea4a57157b811de903
....

Thanks. It does seem like it's not reading the configuration file from the home directory. Just like you said. 🙂

Oh! I just realized what's going on here. The home directory .rubocop.yml is not read if a configuration file is found in the current directory or any ancestor of the current directory. This is expected behavior.

ok, so how can I make settings like global gitignore? (It would be feature request)

That's right. There's no support for a global configuration file that would be used even for projects that have their own .rubocop.yml. I don't think we've discussed this feature before, so please open a new issue with that feature request, and then link it from here.


Could not open file mapping object

Hello
In the OBS logs, I see thousands of this entry:
[win_openxr_mirror] [OpenXR Mirror Capture] win_openxrmirror_init: Could not open file mapping object: 2
What is it? How to fix it?
Thanks

@Jabbah ?

I am seeing this too. With black screen


GEODE-6987: Implement RegExMethodAuthorizer

Made the class final, immutable and thread safe.
Added comprehensive javadocs to the class and its methods.
Added several unit tests for the class and all public methods.

Thank you for submitting a contribution to Apache Geode.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[X] Is there a JIRA ticket associated with this PR? Is it referenced in the commit message?

[X] Has your PR been rebased against the latest commit within the target branch (typically develop)?

[X] Is your initial contribution a single, squashed commit?

[X] Does gradlew build run cleanly?

[X] Have you written or updated unit tests to verify your changes?

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

Note:
Please ensure that once the PR is submitted, check Concourse for build issues and
submit an update to your PR as soon as possible. If you need help, please send an
email to<EMAIL_ADDRESS>

@DonalEvans: since you're also implementing another autorizer, can I have your review on this one please?.


Write unit tests for bot/utils/messages.py

Write unit tests for bot/utils/messages.py.
Implementation details
Please make sure to read the general information in the meta issue and the testing README. We are aiming for a 100% branch coverage for this file, but if you think that is not possible, please discuss that in this issue.
Additional information
If you want to work on this issue, please make sure that you get assigned to it by one of the core devs before starting to work on it. We would like to prevent the situation that multiple people are working on the same issue. To get assigned, leave a comment showing your interesting in tackling this issue.

Internal discussions deemed these tests to be unnecessary.


Correction for raw affiliation CNRS / Framespa / IAO (ENS Lyon)

Correction needed for raw affiliation CNRS / Framespa / IAO (ENS Lyon)
raw_affiliation_name: CNRS / Framespa / IAO (ENS Lyon)
new_rors: 04zmssz18;02feahw73;007dy3y92
previous_rors: 04zmssz18;02feahw73
works_examples: W2948561182
contact: 7598bcd47f5760a8c035d0ea6f3a690f:14173a415678b2552a27fd6d3731 @ ens-lyon.fr

This issue was accepted and ingested by the OpenAlex team on 2024-12-19. The new affiliations should be visible within the next 7 days.


[Issue 2896] Extension - Add warning message for cross chain transfer to an exchange (CEX)

🚀 Deployed on https://pr-2898--sw-web-runner.netlify.app


Refactor, unit and integration tests, doc

In this PR, there is a big refactor made for interconnectability of this wrapper with different implementation of an HTTP Client (through the interface gonion.HTTPClient).
This approach makes possible the unit and integration tests, but also using a custom implementation of an HTTP client with a more complex strategy (with request caching, or even a circuit breaking implementation).
Notice it removes the client structure while it does not implement a strategy (like handling a token or setting up the server URL in the requests). It decreases the shadowing of the wrapper.
While there is now unit tests with a good code coverage, you could add a badge in the README.md (I suggest using codecov.io) to promote the module.
To sum up what it embeds:

update Go to 1.17
interface for the HTTP Client improves interoperability
refactor the parameters structure handling using gorilla/schema module
refactor wrapper functions according to new client and parameters
unit tests (100% code coverage)
integration tests (discovered undocumented fields)
doc update and clean up

That's a pretty good and big pull request, everything seems to work fine and well to me.
Thank you for your contribute!


buildkite-agent 3.44.0 breaks on submodule mirrors with older git versions

Version 3.44.0 includes https://github.com/buildkite/agent/pull/1959, which creates mirror directories for submodule repos. This PR guards against adding duplicate remotes by catching git exit code 3, which is what should be thrown according to the docs. Unfortunately, in earlier git versions, duplicates will result in exit code 128.
This includes at least version 2.25.1, the latest distributed with Ubuntu 20.04 LTS.
In our environment this meant that running more than one job for the same repo on an agent would break. We worked around by installing a later git version than was available in Ubuntu's repo.
See here for a repro case using the Ubuntu 20.04 Docker image: https://gist.github.com/adamsb6/29c3bf4cc81a6e59fff3955440d455c3

hi there! we're looking into the various intricacies of submodule/git mirror interactions. we recently merged a change from @jonahbull which removes the exit code 3  handling entirely - does this change resolve your issue?

Thanks for the quick response! That PR should take care of this problem for us, if we're not adding remotes then we can't encounter the issue.


ci(test-tools): Don't use buildNumberInPatch param

We're switching to standard semver for this package.

The version bump is in #17550.


Side menu drag-content=false should still allow drag of main content to hide the menu

Currently, if a side-menu has drag-content set to true, it allows you to drag the main content to reveal and hide the side menu. However, if drag-content is set to false, the main content cannot be dragged at all. IMHO, most use cases would be far better off served if drag-content=false would imply that the user would still be able drag the main content to hide the side menu.
I am even wondering if there is ever a need to disable hiding the side menu via dragging of the main content. So, instead of making an optional third variant (drag-to-hide) I would consider removing the current behavior.

When I set drag-content=false I can still drag the page to show the side menu. How do I disable this behavior?


flutter build apk --obfuscate --split-debug-info=//

after using this command, I get a white screen when I open it on mobile, my code works fine in debug, and without this command.

android\app\build.gradle

buildTypes {
       release {
            signingConfig signingConfigs.release
       }
   }

Flutter doctor -v

C:\Users\abene>flutter doctor -v
[√] Flutter (Channel stable, 1.22.6, on Microsoft Windows [Version 10.0.19041.685], locale en-US)
    • Flutter version 1.22.6 at C:\src\flutter
    • Framework revision 9b2d32b605 (2 weeks ago), 2021-01-22 14:36:39 -0800
    • Engine revision 2f0af37152
    • Dart version 2.10.5

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at C:\Users\abene\AppData\Local\Android\Sdk
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = C:\Users\abene\AppData\Local\Android\Sdk
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • All Android licenses accepted.

[√] Android Studio (version 4.0)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin installed
    • Dart plugin version 193.7547
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[√] VS Code (version 1.53.0)
    • VS Code at C:\Users\abene\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.19.0

[√] Connected device (1 available)
    • SM G928A (mobile) • 06157df6d5c23023 • android-arm64 • Android 6.0.1 (API 23)

• No issues found!

pubspec.yaml

name: lyrics_show
description: A new Flutter project.

# The following line prevents the package from being accidentally published to
# pub.dev using `pub publish`. This is preferred for private packages.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev

# The following defines the version and build number for your application.
# A version number is three numbers separated by dots, like 1.2.43
# followed by an optional build number separated by a +.
# Both the version and the builder number may be overridden in flutter
# build by specifying --build-name and --build-number, respectively.
# In Android, build-name is used as versionName while build-number used as versionCode.
# Read more about Android versioning at https://developer.android.com/studio/publish/versioning
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 1.0.0+1

environment:
  sdk: ">=2.7.0 <3.0.0"

dependencies:
  flutter:
    sdk: flutter

  firebase_core: ^0.5.3
  firebase_analytics: ^6.3.0
  # The following adds the Cupertino Icons font to your application.
  # Use with the CupertinoIcons class for iOS style icons.
  cupertino_icons: ^0.1.3
  kf_drawer: ^1.1.2
  flutter_linkify: ^4.0.2
  url_launcher: ^5.5.10
  font_awesome_flutter: ^8.10.1
  package_info: ^0.4.3+2
  settings_ui: ^0.5.0
  awesome_dialog: ^1.2.1
  google_nav_bar: ^3.1.0
  flutter_native_admob: ^2.1.0+3
  android_play_install_referrer: ^0.0.4
  encrypt: ^4.1.0

dev_dependencies:
  flutter_test:
    sdk: flutter
  flutter_launcher_icons: ^0.8.1
  splashscreen: ^1.3.5

flutter_icons:
  android: true
  ios: true
  image_path: "assets/zemarelogo.png"
# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec

# The following section is specific to Flutter.
flutter:

  # The following line ensures that the Material Icons font is
  # included with your application, so that you can use the icons in
  # the material Icons class.
  uses-material-design: true

  # To add assets to your application, add an assets section, like this:
  assets:
     - assets/
  #   - images/a_dot_ham.jpeg

  # An image asset can refer to one or more resolution-specific "variants", see
  # https://flutter.dev/assets-and-images/#resolution-aware.

  # For details regarding adding assets from package dependencies, see
  # https://flutter.dev/assets-and-images/#from-packages

  # To add custom fonts to your application, add a fonts section here,
  # in this "flutter" section. Each entry in this list should have a
  # "family" key with the font family name, and a "fonts" key with a
  # list giving the asset and other descriptors for the font. For
  # example:
  # fonts:
  #   - family: Schyler
  #     fonts:
  #       - asset: fonts/Schyler-Regular.ttf
  #       - asset: fonts/Schyler-Italic.ttf
  #         style: italic
  #   - family: Trajan Pro
  #     fonts:
  #       - asset: fonts/TrajanPro.ttf
  #       - asset: fonts/TrajanPro_Bold.ttf
  #         weight: 700
  #
  # For details regarding fonts from package dependencies,
  # see https://flutter.dev/custom-fonts/#from-packages

`

Main.dart

import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:kf_drawer/kf_drawer.dart';
import 'package:lyrics_show/screens/album.dart';
import 'package:lyrics_show/screens/choirs.dart';
import 'package:lyrics_show/screens/languageSongs.dart';
import 'screens/auth_page.dart';
import 'screens/main_page.dart';
import 'utils/class_builder.dart';
import 'package:splashscreen/splashscreen.dart';
import 'package:flutter/services.dart';
import 'package:android_play_install_referrer/android_play_install_referrer.dart';
import 'dart:async';

void main() {
  ClassBuilder.registerClasses();
  runApp(MyApp());
}

class MyApp extends StatefulWidget {
  // This widget is the root of your application.
  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  // ignore: unused_field
  String _referrerDetails = '';

  @override
  void initState() {
    super.initState();
    initReferrerDetails();
  }

  // Platform messages are asynchronous, so we initialize in an async method.
  Future<void> initReferrerDetails() async {
    String referrerDetailsString;
    // Platform messages may fail, so we use a try/catch PlatformException.
    try {
      ReferrerDetails referrerDetails =
          await AndroidPlayInstallReferrer.installReferrer;

      referrerDetailsString = referrerDetails.toString();
    } catch (e) {
      referrerDetailsString = 'Failed to get referrer details: $e';
    }

    // If the widget was removed from the tree while the asynchronous platform
    // message was in flight, we want to discard the reply rather than calling
    // setState to update our non-existent appearance.
    if (!mounted) return;

    setState(() {
      _referrerDetails = referrerDetailsString;
    });
  }

  @override
  Widget build(BuildContext context) {
    SystemChrome.setPreferredOrientations([
      DeviceOrientation.portraitUp,
    ]);
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: MainWidget(),
    );
  }
}

class MainWidget extends StatefulWidget {
  MainWidget({Key key, this.title}) : super(key: key);
  final String title;

  @override
  _MainWidgetState createState() => _MainWidgetState();
}

class _MainWidgetState extends State<MainWidget> with TickerProviderStateMixin {
  @override
  Widget build(BuildContext context) {
    return new SplashScreen(
      seconds: 10,
      navigateAfterSeconds: new AfterSplash(),
      title: new Text(
        '   Z E M A R E',
        style: new TextStyle(color: Colors.white, fontSize: 18.0),
      ),
      image: new Image.asset(
        'assets/zemaree.png',
      ),
      photoSize: 60.0,
      backgroundColor: Colors.black87,
      loaderColor: Colors.green,
    );
  }
}

class AfterSplash extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: KFDrawer(
//        borderRadius: 0.0,
//        shadowBorderRadius: 0.0,
        menuPadding: EdgeInsets.all(20.0),
//        scrollable: true,
        controller: KFDrawerController(
          initialPage: ClassBuilder.fromString('MainPage'),
          items: [
            KFDrawerItem.initWithPage(
              text: Text('ዝማሬን በቅኝት', style: TextStyle(color: Colors.white)),
              icon: Icon(Icons.home, color: Colors.white, size: 30.0),
              page: MainPage(),
            ),
            KFDrawerItem.initWithPage(
              text: Text(
                'የዝማሬ አልበም',
                style: TextStyle(color: Colors.white),
              ),
              icon: Icon(Icons.folder, color: Colors.white, size: 30.0),
              page: AlbumPage(),
            ),
            KFDrawerItem.initWithPage(
              text: Text(
                'የኳየር አልበም',
                style: TextStyle(color: Colors.white),
              ),
              icon: Icon(Icons.folder, color: Colors.white, size: 30.0),
              page: ChoirsPage(),
            ),
            KFDrawerItem.initWithPage(
              text: Text(
                'ትግርኛ እና ኦሮምኛ',
                style: TextStyle(color: Colors.white),
              ),
              icon: Icon(Icons.library_music_outlined,
                  color: Colors.white, size: 30.0),
              page: LanguageSongs(),
            ),
          ],
        ),
        header: Align(
          alignment: Alignment.centerLeft,
          child: Container(
            padding: EdgeInsets.symmetric(horizontal: 16.0, vertical: 50.0),
            width: MediaQuery.of(context).size.width * 0.4,
            child: Image.asset(
              'assets/zemaree.png',
              alignment: Alignment.centerLeft,
            ),
          ),
        ),
        footer: KFDrawerItem(
          text: Text(
            'Settings',
            style: TextStyle(color: Colors.white),
          ),
          icon: Icon(Icons.settings, color: Colors.white, size: 30.0),
          onPressed: () {
            Navigator.of(context).push(CupertinoPageRoute(
              fullscreenDialog: true,
              builder: (BuildContext context) {
                return AuthPage();
              },
            ));
          },
        ),
        decoration: BoxDecoration(
          color: Colors.black87,
        ),
      ),
    );
  }
}

`

@Abenezerfikadu
Provide pubspec.yaml and a complete minimal reproducible code sample that we can use to verify the issue.

@Abenezerfikadu
Provide pubspec.yaml and a complete minimal reproducible code sample that we can use to verify the issue.
https://github.com/flutter/flutter/issues/75557#issue-802694947

@Abenezerfikadu
Your code sample has lot of 3rd party and customized code. We would need a complete minimal code sample (without 3rd party code) that we can directly copy paste and run in IDE to see the issue.

@Abenezerfikadu
Your code sample has lot of 3rd party and customized code. We would need a complete minimal code sample (without 3rd party code) that we can directly copy paste and run in IDE to see the issue.

which means obfuscate command didn't work for flutter packages

@Abenezerfikadu
That's fine, but we would need a reproducible use case to investigate and identify the issue. Please provide one that we can use and run the command to properly address your issue.

@Abenezerfikadu
Your code sample has lot of 3rd party and customized code. We would need a complete minimal code sample (without 3rd party code) that we can directly copy paste and run in IDE to see the issue.

@Abenezerfikadu
That's fine, but we would need a reproducible use case to investigate and identify the issue. Please provide one that we can use and run the command to properly address your issue.

@Abenezerfikadu
Your code sample has lot of 3rd party and customized code. We would need a complete minimal code sample (without 3rd party code) that we can directly copy paste and run in IDE to see the issue.

maybe someone will fix this issue, who knows flutter properly. your asking is not the problem of the command.

@Abenezerfikadu
That's fine, but we would need a reproducible use case to investigate and identify the issue. Please provide one that we can use and run the command to properly address your issue.

@Abenezerfikadu
Your code sample has lot of 3rd party and customized code. We would need a complete minimal code sample (without 3rd party code) that we can directly copy paste and run in IDE to see the issue.

also after the build, I can see the splash screen correctly, but after that, I get a white screen.

@Abenezerfikadu
Does the symbols folder generate when you run the command flutter build apk --obfuscate --split-debug-info=/<project-name>/<directory> ?
What do you pass in <project-name>/directory ?

@Abenezerfikadu
Does the symbols folder generate when you run the command flutter build apk --obfuscate --split-debug-info=/<project-name>/<directory> ?
What do you pass in <project-name>/directory ?

flutter build apk --obfuscate --split-debug-info=some_parent_directory/some_child_directory

@Abenezerfikadu
My question was, does the command generate symbols directory in the path you provided ?

@Abenezerfikadu
My question was, does the command generate symbols directory in the path you provided ?

yeah

@Abenezerfikadu
As requested earlier before as well, we would need a complete minimal reproducible code sample that we can copy paste and run in IDE to see the issue. Without code sample, we will just keep running around the bush. Provide a code sample that we can use to verify the issue.

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.