KeywordRecognizer prevents system from sleeping automatically

Describe the bug
Using C# KeywordRecognizer class prevents Windows 10 from going to sleep automatically.
To Reproduce
Steps to reproduce the behavior:

In System's Power & Sleep dialog, change screen off time to Never and Sleep time to 1 minute.
Create a keyword model file from MS keyword portal
Create a C# problem with the following line of code:
new KeywordRecognizer(AudioConfig.FromDefaultMicrophoneInput()).RecognizeOnceAsync(KeywordRecognitionModel.FromFile("test.table")).Wait();
Build and run the program
Wait for one minute or more without using the computer, system never goes to sleep. However if I exit the test program, then system goes to sleep after one minute.

Expected behavior
Wait for one minute, Windows 10 should automatically go to sleep.
Version of the Cognitive Services Speech SDK
microsoft.cognitiveservices.speech 1.12.0
Platform, Operating System, and Programming Language

Windows 10
x64
C#
USB wireless headset

Additional context

"powercfg -requests" in CMD shows:
SYSTEM:
[DRIVER] USB Audio Device (USB\VID_0B0E&PID_1022&MI_00\6&257614f2&0&0000)
An audio stream is currently in use.
[DRIVER] Legacy Kernel Caller

Hello! Thanks for getting in touch.
There are two important elements to this:

It's by design that active audio capture stops the OS from going to sleep. You can imagine how frustrating it would be if you were on an involved call for a few minutes and then you were suddenly cut off because you passed the sleep threshold; to avoid that, ongoing audio capture is treated as an activity signal just like moving your mouse or striking your keyboard. The keyword spotter is "just another consumer of audio capture," which means that the OS is blocked from going to a low power state while it's listening for a keyword.
Applications should, however, be able to get process lifetime signals (e.g. Suspending calls in UWP) when the OS would like to go to sleep and respond to these by stopping the capture (in this case, via the stop API on the recognizer). This gives a nice layer of control to an application that can decide if it should continue blocking sleep or stop things.

Additionally, the screen off signal is often useful in deciding when audio capture should be stopped. Not if you want to be able to wake things up via voice, of course, but if it's an experience that the user will expect the screen to be on for, that can be a great help in keeping sleep transitions clear.
What kind of application (Win32, UWP, etc.) are you involved with? We may be able to advise on reference examples of how to register and respond to the lifecycle notifications, which will be the best bet.

Thanks for the response. We are developing a classic Win32 desktop application with C#. We are expecting this to work similarly to Cortana which doesn't prevent system from going to sleep. And we do NOT intend to give our customers the ability to wake up system or our program in sleeping mode. The second point sounds interesting. How can we get the process lifetime signal in our program? If we do get the signal and stop keyword recognition, does the system go to sleep shortly after this signal?

Thank you for the additional detail.
One point to clarify is that Cortana has the same limitations unless the device supports a hardware keyword spotter (low-power and independent of the OS audio stack for its activation): having keyword activation on will prevent the computer from going completely to sleep with the same driver output in powercfg -requests.
The good news is that you have a lot of great tools available in a Win32 application. Talking with some experts on power management, the first recommendation I got was to monitor for screen off events and to use that as the signal to stop keyword recognition--you can further caveat this by not turning it off if the system isn't configured to sleep if it's on AC power, but that's icing on the cake.
PowerSettingRegisterNotification is the low-level API that monitors for the display (and many other) events. It doesn't have a direct C# version, but it's fully accessible via interop and many wrappers have already been written for it by the community. For one example (note: not affiliated with Microsoft or GitHub, external site, etc.): http://www.pinvoke.net/default.aspx/powrprof/PowerSettingRegisterNotification.html
To summarize:

The app registers for a GUID_CONSOLE_DISPLAY_STATE notification via PowerSettingRegisterNotification (C# interop)
Upon receiving the event,

(optional) Check if the device is on AC power and configured to not sleep on AC power--if both true, done (let it run)
Call StopKeywordRecognitionAsync to end the ongoing recognition and stop the use of the input audio resource

Once active audio streams are stopped, I believe the countdown starts -- e.g. if the screen turns off after 10 minutes and the computer is configured to sleep after 30 minutes of inactivity, the net would be 40 minutes since "inactivity" technically only started once the stream was shut off
Upon the screen turning back on, StartKeywordRecognitionAsync again to resume

The suggestion does not work for us. It's not acceptable user experience the feature would stop working for the extra 40 minutes after receiving the event. I understand the argument that system should not go to sleep when one is on a call. But using mic for wake word listening is another thing. People doesn't get frustrated if system goes to sleep while the system is listening for wake word. There is simply no interaction between the user and the computer when it happens.

By the way Travis, it sounded to me this is limited by hardware's power management capability. Can you suggest a few microphones with a keyword spotter? If we use one of those mic's, is there any code change needed in order to support keyword listening and auto sleeping?

I certainly understand the frustration and we share it when we're creating power-conscious keyword spotting solutions, too. The trouble is that the distinction between "things it'd be OK to cut off" (like passive keyword spotting with no recent activity) and "things it wouldn't be OK to cut off" (like a conference call) doesn't exist at the level of the driver that has to inform power management decisions: it just knows that there's a capture stream open and the blanket policy for that is to block sleep transitions. That's true whether you're doing keyword spotting or just capturing into a loopback memory stream that doesn't do anything with a raw IAudioClient; the richness of scenario information just isn't accessible at the layers involved.
I know and share the desire for a simple "open this audio capture with a specific power policy that will still sleep" function somewhere -- that unfortunately just doesn't exist in any form today, though, and creating it requires some very deep driver-level breaking changes that are well beyond my realm of expertise to speak to.
Listening for an appropriate set of events and responding to it with the code is for sure the recommended approach and it's what a lot of OS components themselves do--which is likely why has often seemed like Cortana doesn't suffer from this problem (the underlying platform pieces, like SpeechRuntime in the pre-modern Cortana app, do the listen/respond).
I think I wasn't clear about what I meant with the "40 minutes." There wouldn't be an extra 40 minutes that's not responsive--rather, it'd stop responding just as soon as the screen turns off (but no sooner).
To rephrase my understanding:

User settings: turn the screen off after 10 minutes, sleep after 30 minutes
Sequence of events:

Keyword spotter is running, active capture blocks sleep but not screen off
After 10 minutes, the screen turns off and a "display off" signal is sent
In response, the app stops the keyword spotter and active audio capture -- the screen is off and the keyword spotter isn't running
Assuming nothing else is blocking, either 30 or 20 (30 - 10) minutes later (one of them), the computer will go to sleep
Once the screen turns back on (either with or without an intervening sleep), a "display on" signal is sent
The app then immediately resumes its keyword spotting and active audio capture -- as soon as the screen is back on, so is the keyword spotter

There are also a variety of other signals that can be listened for (power source change, away mode, etc.) that can be explored to get a desired effect: https://docs.microsoft.com/en-us/windows/win32/power/power-setting-guids . I do not believe there's a "just in time" event available because the capture activity in question is actually suppressing those signals (by design).
As for hardware keyword spotting: this isn't in-built into microphones, but rather the DSP/chipset from a silicon provider (e.g. Intel, AMD). In essence, a lightweight, offloaded algorithm is "baked in" to the chip, which allows early-stage capture and preliminary activation to occur without the CPU involved--which means low power states are possible. Given the coordination involved with custom drivers, this has just been a Cortana and (more recently) Alexa capability so far. There's some exciting industry progress on field-programmable HWKWS capabilities that I expect will make this way more accessible to developers in the coming product cycles, but it'll require new hardware and it's still an indefinite ways off.

Thanks for the detailed suggestion. We found that if we set screen off time to "Never" in the power setting, then it fails to sleep automatically. We are still hoping to have a solution working for all the cases. But this might be good for now.

Closing the issue as the questions have been very thoroughly answered.


Fix shard leader behaviour if a follower does not play ball.

There are two cases in which a shard follower refuses to execute a
synchronous replication request by a shard leader.
One is if the follower has in the meantime taken over leadership for the
shard. The other is if it is simply no longer following that leader, for
example because of a restart or because it was dropped in the meantime
by another thread.
In the first case it is correct behaviour for the leader to run into an
error, because most likely it is no longer actually the leader.
In the second case it is better to drop the follower (even if already
dropped) and move on without an error.
This PR implements fixes this behaviour.

Fix behaviour of a shard leader if follower does not play ball.
Improve comment.
CHANGELOG.

http://jenkins01.arangodb.biz:8080/view/PR/job/arangodb-matrix-pr/12079/


Regarding the CSV files

Hi Kyle,
Congratulations on winning 2nd place in the challenge!  I want to train and evaluate your model but I couldn't see  any relevant CSV files in Google Drive. Do you know how to get it？(ps: I only get the ”*.pkl“ in the Google Drive)

Hi,
Thank you for your interest in our work. Please use this new link.
Thank you,
Kyle


Update notebook messaging APIs in webview

Remove messaging APIs from the renderer. These didn't work/didn't work well and we have directed authors to use kernel preloads for communication.
Add an event and an event available as globals in the kernel for them to communicate:

declare global {
    const onDidReceiveKernelMessage: VSCodeEvent<any>;
    function postKernelMessage(data: unknown): void;
}

Preloads can reference this by (update @types/vscode-notebook-renderer and then) adding "types": ["@types/vscode-notebook-renderer/preload"] to their tsconfig.json
Breaking: removed the generic postMessage handler -- extensions should use postKernelMessage instead.

Also, while I was there -- with our new way of dealing with preloads, we no longer need to have extensions pass their ID when calling the acquire API. We already know it.


Inspector header with request metadata

Create a new or utilize an Inspector header to show/edit request data

request name/ID
icon

console exchange
stash exchange
mock exchange

timestamp
breakpoint?

instead of adding a bottom border to the header

Add a light gray top border to request and response views
this way in horizontal mode, I can avoid double border

instead of adding a bottom border to the header

Add light gray top border to request and response views
this way in horizontal mode, I can avoid double border


Is there a new released planned in order to support GRPC io 1.59.0 with Python 3.12?

In Apache Arrow we are trying to build Wheels for Python 3.12 and we have updated the version we use for storage-testbench to the latest available version.
When installing from https://github.com/googleapis/storage-testbench/archive/v0.37.0.tar.gz the grpcio version collected is the 1.56.0 which triggers a build for the wheel as there is no wheels available for Python 3.12:
Collecting https://github.com/googleapis/storage-testbench/archive/v0.37.0.tar.gz
  Downloading https://github.com/googleapis/storage-testbench/archive/v0.37.0.tar.gz
     - 126.6 kB 2.7 MB/s 0:00:00
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'done'
Collecting grpcio==1.56.0 (from googleapis-storage-testbench==0.33.0)
  Downloading grpcio-1.56.0.tar.gz (24.3 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 24.3/24.3 MB 11.0 MB/s eta 0:00:00

and:
Building wheels for collected packages: googleapis-storage-testbench, crc32c, grpcio
  Building wheel for googleapis-storage-testbench (pyproject.toml): started
  Building wheel for googleapis-storage-testbench (pyproject.toml): finished with status 'done'
  Created wheel for googleapis-storage-testbench: filename=googleapis_storage_testbench-0.33.0-py3-none-any.whl size=89589 sha256=5ddfbcf68c0eb8d1a478ecc72aa6e0b6e913d9f809818681504063954b18d808
  Stored in directory: /Users/voltrondata/tmp/pip-ephem-wheel-cache-iyanl4rq/wheels/01/0d/c9/91134e1fd8f3663aee3a0a440903eee16e7d1a835fd35a03df
  Building wheel for crc32c (setup.py): started
  Building wheel for crc32c (setup.py): finished with status 'done'
  Created wheel for crc32c: filename=crc32c-2.3-cp312-cp312-macosx_11_0_universal2.whl size=40887 sha256=e52b76ed5f74ca32a094f466b026928ca0208e0f1d05039add0ed3ce8fb011bf
  Stored in directory: /Users/voltrondata/Library/Caches/pip/wheels/f9/fa/41/5fc0087b81e5e22d773a2c27f09906e82c615aab3b85eace44
  Building wheel for grpcio (setup.py): started
  Building wheel for grpcio (setup.py): still running...
  Building wheel for grpcio (setup.py): still running...
  Building wheel for grpcio (setup.py): still running...
  Building wheel for grpcio (setup.py): still running...
  Building wheel for grpcio (setup.py): finished with status 'error'
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [10083 lines of output]

The error building grpcio can be seen here for ARM: https://github.com/ursacomputing/crossbow/actions/runs/6403734251/job/17382854273
or here for amd64: https://github.com/ursacomputing/crossbow/actions/runs/6328784518/job/17187734569
This was reported on grpcio: https://github.com/grpc/grpc/issues/33063
and has been already solved for the latest available wheels: https://pypi.org/project/grpcio/1.59.0/
I see that on main this has already been updated and could be solved with a new release.
Our alternative is to disable GCS testbench from our validations temporarily for Python 3.12.
Many thanks

Sorry I missed this.  We started testing with Python 3.12 a while ago, and we have upgraded to grpcio-1.60 by now. Seems like this is obsolete.


Cannot read properties of undefined (reading 'prototype')

node version for v20.14.0;

i don't know why this happened

Hello, you need to run in environment with Node.js


Have older versions been deleted from NPM?

Hi, I would like to update a 3.x project. But I cannot find any older versions on npm.
What I tried:
> npm view coreui/coreui-free-vue-admin-template versions
> 4.1.0

This is my workaround to install an older version, using the Github URL:
npm install https://github.com/coreui/coreui-free-vue-admin-template.git#v3


We lost IE8/9 support

I checked on virtual machines at work, and we lost support for old IEs
It seems that the only problem for now is that parse-headers is using .indexOf
Good news: noone reported that ;)

We need to re-run tests in IEs more often. Who can help? Who has experience with browserstack free for opensource option?
Change parse-headers or replace with something else?
Integration tests are not IE compatible, I'll fix them  by the end of the week (my bad)

Hmm.
One of the reasons why there are no reports is that most people are still pinned to 1.x
We should fix the issue and look into saucelabs using Zuul.
Mercury and virtual Dom run ie tests there

I'm spinning up a vm from MS to get back to debugging this thing.
parse-headers was in our dependencies in 1.x too as far as I remember. But I'm not sure if the problem with .indexOf wasn't a result of an incorrect response from the server or something.
I'll come back when I know something ;)

Probably a false alarm.
After a lot of pain I can say that xhr seems to be working in IE8 just as expected (some cross-domain features not working for IE reasons)
It's our infrastructure that doesn't work in IEs anymore.

run-browser adds a console replacement that uses some methods that aren't there
tests were missing useXDR and tried to test features that are impossible in IE8

We won't func-test basic features in IEs without a localhost server. I'll see if it's possible to use paths that can be accessed with run-browser.

Quite a delay, but I updated dev-dependencies and fixed tests https://github.com/Raynos/xhr/commit/adf63ad3c4415f9aa5d31f421b1e367593bdcffd
Opening a new issue for Zuul #81


Test

Codecov Report

Merging #6 (16ffe40) into feat/sonar (58dbf71) will decrease coverage by 0.01%.
The diff coverage is 44.44%.

@@               Coverage Diff                @@
##             feat/sonar       #6      +/-   ##
================================================
- Coverage         71.32%   71.30%   -0.02%
+ Complexity          629      627       -2
================================================
  Files                30       30
  Lines              2462     2464       +2
  Branches            272      272
================================================
+ Hits               1756     1757       +1
  Misses              569      569
- Partials            137      138       +1

Impacted Files
Coverage Δ

.../java/com/decathlon/tzatziki/utils/Comparison.java
0.00% <0.00%> (ø)

...java/com/decathlon/tzatziki/steps/LoggerSteps.java
85.71% <100.00%> (+0.52%)
:arrow_up:

...n/java/com/decathlon/tzatziki/steps/HttpSteps.java
86.64% <0.00%> (-0.39%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 58dbf71...16ffe40. Read the comment docs.


Infinite loading in Firefox Nightly

I've encountered an issue with OldTweetdeck and BetterTweetdeck while using Firefox Nightly. Often, when I switch tabs and return to Twitter, the loading screen goes on forever no matter how many times I refresh. Upon checking the console commands, I notice a slew of errors, particularly when BetterTweetdeck is enabled.
Interestingly, I've found a workaround: toggling OldTweetdeck off and on in my extensions menu resolves the problem temporarily. However, I have to repeat this process each time I want to use the extension. I didn't face this issue with Chrome or other Chromium-based browsers; it's unique to Firefox. I've taken steps like disabling enhanced tracking protection and turning off my adblockers, but unfortunately, these actions haven't resolved the problem.
Do you happen to have any insights or ideas to address this? I'll include some screenshots.
The first one is when I have both extensions enabled:

Like I said, it just scrolls that error forever. It was 1000+ and counting when I took that screenshot.
The second is when I just have OldTweetdeck enabled:

Edit: Disabled the filters so as much information could be seen as possible.

I'm getting this issue too on Librefox, the toggling it off and on does fix it for me too, but it's really annoying to do every time, I've had to switch back to a chromium based browser because of it

Adding another confirmation to this while using Waterfox, getting an infinite loading spinner upon trying to load TweetDeck, simply disabling and re-enabling the OldTweetDeck extension and then refreshing the tab fixes it.

Hate to double post but I wanted to bump to say that this is no longer happening for me as of sometime yesterday.

Just started happening to me one day after I started to use the extension. The fix of turning the extension off and on again does help, but it's really quite annoying, hopefully there is a fix sometime soon. (I am using Firefox Developer Edition)


Step duplicates artifact files

Here is the output for our assemble and bundle task:
Move APK and AAB files...
copy app/build/intermediates/intermediary_bundle/productionStoreRelease/app-production-store-release.aab to /bitrise/deploy/app-production-store-release.aab
copy app/build/outputs/apk/productionStore/release/myapp-app-productionStoreRelease.apk to /bitrise/deploy/myapp-app-productionStoreRelease.apk
  1 attempt failed:
file already exists at: /bitrise/deploy/app-production-store-release.aab
  Retrying...
copy app/build/outputs/bundle/productionStoreRelease/app-production-store-release.aab to /bitrise/deploy/app-production-store-release20200513235957.aab

As you can see there seems to be a timing issue when moving files to the bitrise path.
We face this issue every build.

Hi @G00fY2! Can you please include an URL to any of these builds?

It's private not sure if you can access it: https://app.bitrise.io/build/e302c8e56372a361#

@bitce FYI this was already reported on discuss: https://discuss.bitrise.io/t/file-already-exists-error-when-building-aab/9983/5

Hi @koral--,
The Bitrise community forum is primarily for the community to help each other. It is not a main method of accessing support for Bitrise, which is why some tickets go unanswered.
I highly recommend you creating a GH issue for bugs and those types of issues and a support ticket through for all other requests: https://www.bitrise.io/bitrise-support.
Thanks,
Luna

I know that.
I've added that comment mainly for @bitce so he can get more build examples if he don't recall that ticket on discuss :)

That's correct, thanks @koral--! we have an item in our backlog for this, we'll do what we can to bump the priority.

@bitce How it is going? Is there any update on this?

There is no progress on this just yet unfortunately, we'll make sure to let everyone know here once there is!

Any ETA on this?
This issue in conjunction https://github.com/bitrise-steplib/steps-deploy-to-bitrise-io/issues/93 combines to very weird result. Those redundant AABs gets all converted to universal APKs which result in confusion for QAs and other people using bitrise.io public installation page.

I'm also surprised that the priority this issue seems so low. This ticket was opened more the 24 weeks ago. And it's really annoying that bitrise messing up the saved artifacts.
6x mapping file:
copy app/build/outputs/mapping/...-release-mapping.txt to /bitrise/deploy/...-release-mapping.txt

copy app/build/outputs/mapping/...mapping.txt to /bitrise/deploy/mapping.txt

copy app/build/tmp/compile...JavaWithJavac/source-classes-mapping.txt to /bitrise/deploy/source-classes-mapping.txt
  1 attempt failed:
file already exists at: /bitrise/deploy/source-classes-mapping.txt
  Retrying...

copy .../build/tmp/compileJava/source-classes-mapping.txt to /bitrise/deploy/source-classes-mapping20200831135813.txt
  1 attempt failed:
file already exists at: /bitrise/deploy/source-classes-mapping.txt
  Retrying...

copy .../build/tmp/compileJava/source-classes-mapping.txt to /bitrise/deploy/source-classes-mapping20200831135814.txt
  1 attempt failed:
file already exists at: /bitrise/deploy/source-classes-mapping.txt
  Retrying...

copy .../build/tmp/compileJava/source-classes-mapping.txt to /bitrise/deploy/source-classes-mapping20200831135815.txt
  1 attempt failed:
file already exists at: /bitrise/deploy/source-classes-mapping.txt
  Retrying...

copy .../build/tmp/compileJava/source-classes-mapping.txt to /bitrise/deploy/source-classes-mapping20200831135816.txt
  1 attempt failed:
file already exists at: /bitrise/deploy/source-classes-mapping.txt
  Retrying...

copy .../build/tmp/compileJava/source-classes-mapping.txt to /bitrise/deploy/source-classes-mapping20200831135817.txt```

Hi, this is happening to me too with Gradle Runner 1.9.6:
Move APK and AAB files...
copy app/build/intermediates/intermediary_bundle/<flavor>Release/<flavor>release.aab to /bitrise/deploy/<flavor>release.aab
  1 attempt failed:
file already exists at: /bitrise/deploy/<flavor>release.aab
  Retrying...
copy app/build/outputs/bundle/<flavor>Release/<flavor>release.aab to /bitrise/deploy/<flavor>release20210219141525.aab
The app path is now available in the Environment Variable: $BITRISE_AAB_PATH (value: /bitrise/deploy/<flavor>release20210219141525.aab)
The app paths list is now available in the Environment Variable: $BITRISE_AAB_PATH_LIST (value: /bitrise/deploy/<flavor>release.aab|/bitrise/deploy/<flavor>release20210219141525.aab)
No file name matched test apk filters
Move mapping files...
copy app/build/outputs/mapping/<flavor>Release/mapping.txt to /bitrise/deploy/mapping.txt
The mapping path is now available in the Environment Variable: $BITRISE_MAPPING_PATH (value: /bitrise/deploy/mapping.txt)

What's concerning is that, adding the Deploy to Bitrise step 1.13.0, and checking Apps&Artifacts, files <flavor>release.aab (19.47 MB) and <flavor>release20210219141525.aab (19.57 MB) are not the same size.

For those who still experience this bug, can you please provide more info about your workflow? Things like:

Your Gradle Runner step config. Did you make changes to the default values?
Your project setup: Do you have multiple modules or just an app module?
Does this happen in every build, or just once in a while?
What happens if you replace the Gradle Runner step with one of our dedicated Android steps? (Android Build / Android Build for UI testing)

The issue didn't appear in our builds for a while now. So I can't reproduce it anymore.
I can't tell what exactly changed, since obviously we updated Gradle, the Android Plugin, the Build Steps and so on.

@ofalvai Hi, I am having this issue as well
I just run bundleRelease job, not changing any default value. And I have 3 modules and it happens every time.

@shuo651197769 can you please open a new request in our support center? Debugging this will probably need some back and forth messaging and enabling support access for the affected project in Bitrise. Thanks!

Analyzing the reports here also on our community forums I concluded that the step did have the wrong order of log messages printed which made understanding what was going on really hard.
Most (if not all) reports are because the *.apk or *.aab files are also considered in the .../immediate/... directory had the same name as the final archive. This is no longer the case for the newer version of the Android Gradle Plugin, that is the reason we get fewer reports of this issue.
To tackle this we improved on the logging in 2.0.1 version of the step, also introduced several temporary/immediate paths to the default exclusion list to help our users.
As always, should you experience any further problems, please open a new issue for us!


bug: Transistions with rtl languages

Type: bug
Platform: ios 8 webview
With the ionic tabs starter project edit the index.html and add dir="rtl" in the top level element. The app should load correctly and be right to left.
Click on the chats tab and then one of the chats, the page will transition and briefly show before going blank.

Greetings @elliotstokes!
My sensors indicate that you need to update your issue through our custom issue form. We are now requiring all issues to be submitted this way, to ensure that we have all of the information necessary to fix them as quickly as possible.
Click Here To Update Your Issue
I will have no choice but to close this issue if it is not resubmitted through the form. Please fill out the rest of the form, so that I may use my friendly robot powers to assist you.
Thank you!

Platform : Android
Same Here, if dir="rtl" on html tag
when navigating, some screen shows for only a second and then go blank.
In firefox browser and in Edge there are no problems,
only chrome, havnt check ios yet.

breaks on iOS also.

Found that if you specify dir="rtl" on ion-nav-bar and ion-nav-view separately (not on html or body) then
it works ok and the direction changes...
but have not made such progress to see if it will hold.

This issue is related too https://github.com/driftyco/ionic/issues/5035

Hello all! Because this is going to be handled in the above linked issue i am going to be closing this issue as a duplicate for now. Thanks for using Ionic!


docs(test): Corrects commands used to start Cypress and adds addition…

…al information

I neglected to update the readme.md file.  Updated.


Microsoft.UI.Xaml version 2.7.0 System.IO.FileLoadException

Describe the bug
Getting System.IO.FileLoadException when building an x64 Debug using Microsoft.UI.Xaml version 2.7.0.
Error:
System.IO.FileLoadException
HResult=0x80131621
Message=Could not find or load a specific file. (Exception from HRESULT: 0x80131621)
Source=
StackTrace:

Error is when typeName = "Microsoft.UI.Xaml.Controls.StylesVersion"
Partial class:
~\obj\x64\Debug\XamlTypeInfo.g.cs
    public global::Windows.UI.Xaml.Markup.IXamlType GetXamlTypeByName(string typeName)
    {
        return Provider.GetXamlType(typeName);
    }

No error occurs when building x86 Debug OR when using Microsoft.UI.Xaml version 2.5.0
Steps to reproduce the bug
Add package Microsoft.UI.Xaml version 2.7.0 to UWP C# project.
Build x86 Debug and run project. No issue.
Build x64 Debug and run project. System.IO.FileLoadException error.
Go to packages and install Microsoft.UI.Xaml version 2.5.0 (Note: all version between 2.7.0 & 2.5.0 have same error scenario)
Build x86 Debug and run project. No issue.
Build x64 Debug and run project. No issue.
My environment:
VS 2019
Edition	Windows 10 Pro
Version	21H2
OS build	19044.1348
Experience	Windows Feature Experience Pack 120.2212.3920.0
Expected behavior
No System.IO.FileLoadException error when running x64 build.
Screenshots

NuGet package version
Microsoft.UI.Xaml 2.7.0
Windows app type

[X] UWP
[ ] Win32

Device form factor
Desktop
Windows version
May 2021 Update (19043)
Additional context
Possible related issue may be due to exception.
https://github.com/microsoft/microsoft-ui-xaml/issues/6219

Experiencing exactly same issue!

Microsoft.UI.Xaml.Controls.StylesVersion is a preview API... is that the cause of the exception? can you try switching to ControlsResourcesVersion?

I have the exact same error. And I don't use StylesVersion in my code.

I see the author has gone offline. Maybe satisfied with the x86 workaround :-)
Is there anything I can provide to help investigate this?

@StephenLPeters Do you need anything?

@ranjeshj and @ojhad FYI

@mc0re Could you please create a new issue and include repro steps specific to the scenario you are seeing?

I have the same issue on Microsoft.UI.Xaml version 2.8.2

The same still happens for version 2.8.5.
Debug x64 => System.IO.FileLoadException
Debug x86 => No issue.
Release x86 => No issue.
Release x64 => No issue.


New package: SnpArrays v0.3.10

Registering package: SnpArrays
Repository: https://github.com/OpenMendel/SnpArrays.jl
Created by: @kose-y
Version: v0.3.10
Commit: 658376a2a31998b6aa222e736073ff7ea6a35e94
Reviewed by: @kose-y
Reference: https://github.com/OpenMendel/SnpArrays.jl/commit/658376a2a31998b6aa222e736073ff7ea6a35e94#commitcomment-54381471

This package is deliberately named to express that it read/writes data for SNP, short for single nucleotide polymorphisms. We have been internally using this name for quite a while, so hopefully, this name can be allowed.


Thanks...

Thanks so much for all :)

wha

k

I ask a question here but i solve my problem myself. I edit here for this sorry


Add unit tests for PinotVisibilityStore

What changed?
Add unit test

Why?
increment the coverage to 85%+

How did you test it?

Potential risks

Release notes

Documentation Changes

Pull Request Test Coverage Report for Build 018e0c64-e677-449a-90d8-0da045272d63
Details

0 of 0   changed or added relevant lines in 0 files are covered.
99 unchanged lines in 13 files lost coverage.
Overall coverage increased (+0.2%) to 63.211%

Files with Coverage Reduction
New Missed Lines
%

common/task/fifo_task_scheduler.go
2
85.57%

common/task/parallel_task_processor.go
2
93.06%

common/task/weighted_round_robin_task_scheduler.go
2
88.56%

common/util.go
2
91.69%

service/history/execution/mutable_state_util.go
2
37.63%

service/matching/taskReader.go
2
84.88%

common/persistence/nosql/nosqlplugin/cassandra/workflow.go
3
63.51%

common/persistence/statsComputer.go
3
94.64%

service/history/task/fetcher.go
3
85.57%

common/persistence/sql/workflowStateMaps.go
8
83.62%

Totals

Change from base Build 018e0bc4-bc99-45c7-b336-b5d3a2984942:
0.2%

Covered Lines:
93421

Relevant Lines:
147792

💛  - Coveralls


GDExtension: Show warning on missing PDB file, rather than error

Fixes https://github.com/godotengine/godot/issues/96350
Marking as a draft for now, because I haven't had a chance to test it yet (since Windows isn't my main development platform).

I just tested this and can confirm that it works as intended.

@mihe Thanks!
Taking out of draft based on mihe's testing :-)

Thanks!


How to add event on an array of dates in swift

if i have an array of String values storing dates, how do i display a dot marker on the calendar for these dates
array looks like this
array workoutSchedule = ["22-04-2016", "26-04-2016", "27-04-2016"]
thanks

Hi there. Please download and see the example.

@WenchaoD  I am getting same issue , how can i resolve it. please help me.
 var days = [String]()
self.days = ["2017/10/10",         "2017/10/10",                        "2017/10/14",                             "2017/10/16"]
self.calendar.select(self.dateFormatter1.date(from: days) !)


Update Gem versions

Coverage remained the same at 81.907% when pulling e475795138a72f43747205647876d6a9f0b4a15c on feat/update_deps into c93ccd60cc926d7f1ca6205020ece113f43714bd on master.


Unable to connect to instance of Dynamics Instance

Was trying to connect to Dynamics CRM Instance using the following below settings but it always fails
add name="Connect"
connectionString="
AuthType=OAuth;
<EMAIL_ADDRESS>Url=https://sumit9922.crm.dynamics.com;
Password=Autogreen@;
AppId=fa925963-a2b3-40e6-a7f7-e01b0dc3*;
RedirectUri=https://sumit9922.crm.dynamics.com;
TokenCacheStorePath=C:\MyTokenCache;
LoginPrompt=Auto"
Can you please suggest if anything specific am missing in here or steps to resolve the same.
Have registered the Dynamics Instance as App in AZURE

Looking forward for your positive response

@sumiticfai196 Thanks for reaching to us. I see that the APP ID values has * mark which shouldn't be there. Please remove it and try to sign in to the environment again.

@sumiticfai196
Thanks for contacting us. Unfortunately, we're unable to handle Support requests for the product here. To contact Support, visit https://powerapps.microsoft.com/support/.
You can also try posting your issue to one of the developer forums.
We accept incorrect or missing documentation and sample code issues.
Closing this issue.


报错RuntimeError: CUDA error，

RuntimeError: CUDA error: no kernel image is available for execution on the device CUDA kernel errors might be asynchronously reported at some other API call,so the stacktrace below might be incorrect. For debugging consider passing CUDA_LAUNCH_BLOCKING=1.

i have a same question.


Add yaml and xml parser and writer

Now that the json end-to-end workflow exists, we can add yaml and xml support for parsing and writing.

To this end, the json parser has to be restructured, extracting the json-specific part (of loading a json-file) from the more general part of parsing the json-like dictionary.

We should also track adding the RDF parser and writer.  I've been getting feedback that it is being missed.

Thanks for the feedback, Gary! :)
(would be great, though, if people would get in direct contact instead of hearing from them through you)
RDF parser and writer are certainly a thing we will have to add, and I will open an issue for this.
In the meantime, the current release candidate on PyPI offers RDF support, still.

fixed by #408


modules/zrtp: add signaling hash support

Use SDP attribute a=zrtp-hash to protect the Hello message (RFC 6189, section 8.1).
https://tools.ietf.org/html/rfc6189#section-8
This adds an extra level of protection especially when using a secure signaling channel. When an attack is detected, all incoming and outgoing UDP packets are being dropped, and the call is aborted.
If, for whatever reason, this feature is undesirable (for example, if one wants to hide the UA's ZRTP capability), it can be disabled by the configuration file option.

Many thanks for this patch. The code is very high quality and the patch
is very easy to read.
Some review comments inline.

is it possible to test this feature with any free SIP clients ?

compiler warning on OSX 10.12:

  CC [M]  build-x86_64/modules/zrtp/zrtp.o
modules/zrtp/zrtp.c:302:51: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'uint32_t' (aka 'unsigned int') [-Wshorten-64-to-32]
        s = zrtp_signaling_hash_set(stream, hash.p, hash.l);
            ~~~~~~~~~~~~~~~~~~~~~~~                 ~~~~~^
1 warning generated.
  LD [M]  zrtp.so

@juha-h do you have any comments about this patch?
on a side note I was thinking about adding a new callback handler to the "Mediaenc" API.
the callback handler can be some kind of status handler from the module to the
baresip core, that will be called when the encryption state changes. Some modules
can then call the handler, for example SDES module can say "MENC_ENCRYPTED"
and ZRTP can say "MENC_ENCRYPTED_VERIFIED".
/Alfred

@alfredh Thanks for the review. I did forget to call tmr_cancel. I've added your changes and updated this PR.
This feature has been tested with baresip, linphone and<EMAIL_ADDRESS>(supports zrtp and dtls). It's a part of ZRTP RFC, but is not mandatory. linphone doesn't send zrtp-hash if there is no zrtp-hash in the INVITE message. If it gets a corrupted hash, it doesn't send commit and keeps the call in the clear (not encrypted) state. I think aborting the call is more appropriate. You won't get a hash mismatch under normal circumstances. If you think it's a DoS attack, you can set zrtp_hash no in the config file.
The idea with a callback is nice. It would help to display encryption status of the current call and the calls in the list. It's especially useful when the screen is flooded with warnings about malformed  RTP packets.

glenvt18 writes:

The idea with a callback is nice. It would help to display encryption
status of the current call and the calls in the list. It's especially
useful when the screen is flooded with warnings about malformed  RTP
packets.

I recently added a console message that tells if the call is zrtp
verified when it starts, but displaying the status during the whole call
would be better.
Also, it would be good if user could verify the remote party zid with a
command, such as '/zrtp ok', that does not require copy/paste of the zid
from the console message.
-- Juha


deleted spaces in code

fixed mistakes from previous pull request
https://github.com/kennedyrobotics1/RoadRunnerOffseason/pull/7

good, cool, great


Fix: Gulpfile html autoreload

Not sure if this is a problem specific to my machine, but HTML was not compiling in the /dist directory after making updates. This change to the gulpfile enables HTML auto-building.

Awesome! Thanks for that. It was indeed not working.


Documentation

Still a draft. :-) All "address" and "points to" will have to be changed...

@mrogowski You have to use imperative mode in the summary line

@mrogowski You have to use imperative mode in the summary line

Both imperative and descriptive are fine by Google docstring guidelines but happy to use imperative

@mrogowski As a general guideline, maybe we  should replace "symmetric data object" with "symmetric array" in most places?

Ready for your review @dalcinl.
The only outstanding issue I see is the NDArray[T]/NDArray[Any] being displayed as T/Any in the parameter lists and return types.

Great work!


chore: add gateway packages to flake.nix

Produces a .deb package when I run: nix bundle --bundler github:NixOS/bundlers#toDEB .#gatewayd

Didn't build on my m1 (made note here) ... but looks the same as the other things so not a problem with this pr


Automated Package Upgrade

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Create PrimsMinimumSpanningTree.java

This is a SPAM PR, content copied from https://www.geeksforgeeks.org/prims-minimum-spanning-tree-mst-greedy-algo-5/


revert: revert #997 validationName

Signed-off-by: Michael Wan<EMAIL_ADDRESS>Ⅰ. Describe what this PR did
since null string can not transport by url, the validation of empty name makes no sense. so i will revert the #997 , by the way, thanks @allencloud to test the curl part.
Ⅱ. Does this pull request fix one issue?
Ⅲ. Describe how you did it
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

Codecov Report

Merging #1000 into master will increase coverage by 0.96%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1000      +/-   ##
==========================================
+ Coverage   12.75%   13.72%   +0.96%
==========================================
  Files         132      124       -8
  Lines        9032     8367     -665
==========================================
- Hits         1152     1148       -4
+ Misses       7781     7120     -661
  Partials       99       99

Impacted Files
Coverage Δ

apis/server/network_bridge.go

apis/server/system_bridge.go

apis/server/volume_bridge.go

apis/server/router.go

apis/server/image_bridge.go

apis/server/server.go

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 98a9065...65a7605. Read the comment docs.

LGTM


Correct Chinese names

The first part of a Chinese name is the family name, shared by males and females.
Update lastnames with top 300 family names with population from 0.2 - 90 million.
Separate firstnames by gender.

I have no way to tell that your lists are better than the current ones. Please provide a reference link for each list to prevent other developers like you from contesting this data in the future.

The previous logic is wrong, the first part of name is not related to gender at all.
My 300 family names comes from this list:
http://www.360doc.com/content/13/0624/20/2577690_295253771.shtml
A lot of same list like this news:
http://www.fjfdls.com/show.asp?id=76
The data comes from the 6th national census of population.
Here are another top 400 list which is slightly different I believe it's data from different time, you can see the population of each family name:
http://baike.baidu.com/picture/33020/33020/16790980/4b90f603738da977bb123226b451f8198618e3fa?fr=lemma&ct=cover#aid=16790980&pic=4b90f603738da977bb123226b451f8198618e3fa
==========
For the given name, I just split your original list by gender and add some more popular ones to make each list has 100 names.
I don't want to update random names because there is no perfect list for fake data, but the previous list is wrong, mixing female names and male names together, and split family name by gender which is not right either.

Please, add these links to the source code.

Found a more believable link and added it in the comment, there are serveral versions of the surname list, some are published in books, but sorry I could not find the original data from government websites.
But any of them is good enough for faking names.
Please help me to fix English grammar errors in the comments, thanks!

Just took a look at zh_TW names, the logic has no problem, it get right order of firstname and lastname, and also right sorting firstnames by gender, but the list of lastnames is thousands years old, (seriously, around 960 D.C.), a lot of the names in that list is not exist anymore. I don't know if you will be happy with those ancient names?

I agree, the zh_TW list isn't ideal either.

Sorry, closed by mistake

Thanks for your PR!


Log files created taking up hundreds of GB, General performance issues

What are you experiencing an issue with?

[x] Aurora
[ ] Aurora supported game, (Fill in the game)
[ ] Aurora Wrapper
[ ] Aurora Profile
[ ] Aurora supported device, (Fill in problematic devices)
[ ] Aurora Scripts
[ ] Aurora Updater
[x] Aurora Lighting issue
[x] Other, (Log file creation and size)

What kind of an issue is it?

[ ] Crash
[x] Performance problems
[ ] Visual bug
[ ] Localization issue
[ ] Enhancement suggestion
[ ] Device issue
[x] Other, (Log file size)

Expected behavior:
Prior to an Aurora update, the program's performance was normal, and no log files were seen (at least not large enough to see).
Actual behavior:
At the desktop and in Overwatch (using G810 with Razer patch), any effects shown on the KB stutter, and often freeze a few times a second. Log files are being generated taking up tens of GBs per day.
How often does this problem occur?
All the time, whenever Aurora is running.
Please describe the steps to reproduce this issue:
Simply running Aurora will cause the log files to grow.
What is the version of Aurora you are experiencing this issue with?

My current version is 0.6.1 dev4
Does the previous version of Aurora have this issue?
The previous version, (0.6.0b), did not have this issue.
However, I have tried to revert to the old version and create new profiles from scratch, but the issue still persists even if I go back to an older version.
Please include any logs, screenshots, or files that are related to this issue:
Log files in AppData/Roaming/Aurora/Logs are all too large to show or upload. Log files since 5/20/18 are 123GB.

The log files seem to be repeating this error:

[ERROR] 19:59:27: Exception: System.TypeInitializationException: The type initializer for 'Aurora.Profiles.LocalPCInformation' threw an exception. ---> System.InvalidOperationException: Cannot load Counter Name data because an invalid index '' was read from the registry.
at System.Diagnostics.PerformanceCounterLib.GetStringTable(Boolean isHelp)
at System.Diagnostics.PerformanceCounterLib.get_NameTable()
at System.Diagnostics.PerformanceCounterLib.get_CategoryTable()
at System.Diagnostics.PerformanceCounterLib.CounterExists(String category, String counter, Boolean& categoryExists)
at System.Diagnostics.PerformanceCounterLib.CounterExists(String machine, String category, String counter)
at System.Diagnostics.PerformanceCounter.InitializeImpl()
at System.Diagnostics.PerformanceCounter..ctor(String categoryName, String counterName, String instanceName, Boolean readOnly)
at System.Diagnostics.PerformanceCounter..ctor(String categoryName, String counterName, String instanceName)
at Aurora.Profiles.LocalPCInformation..cctor() in C:\projects\aurora\Project-Aurora\Project-Aurora\Profiles\GameState.cs:line 205
--- End of inner exception stack trace ---
at Aurora.Profiles.LocalPCInformation..ctor() in C:\projects\aurora\Project-Aurora\Project-Aurora\Profiles\GameState.cs:line 232
at Aurora.Profiles.GameState`1.get_LocalPCInfo() in C:\projects\aurora\Project-Aurora\Project-Aurora\Profiles\GameState.cs:line 58
at lambda_method(Closure , GameState )
at Aurora.Utils.GameStateUtils.RetrieveGameStateParameter(IGameState state, String parameter_path, Object[] input_values) in C:\projects\aurora\Project-Aurora\Project-Aurora\Utils\GameStateUtils.cs:line 140

For the error that is being spammed, please try the solution mentioned here: https://stackoverflow.com/questions/17980178/cannot-load-counter-name-data-because-an-invalid-index-exception
For the large log files, duplicate of #1065


2592 recommendations manish

Pull Request Checklist:

[ ] Positive Test Case Written by Dev

[ ] Automated Testing

[ ] Sufficient User and Developer Documentation

[ ] Passing Jenkins Build

[ ] Peer Code review and approval

Positive Test Case

[Enter positive test case here]

@maryal01 is https://github.com/hydroshare/hydroshare/pull/3099 deprecated by this new Pull Request? If so, can you close that old PR?

Closing this out, as it is superseded by #3301 .


added a formatter for displaying user dns

Decided this would be better to handle on the backend so this can be closed.


Pokemon not being detected near edge of scan area

I'm currently running about 20 100m scanners.
Problem I'm having is, the whole area is not being scanned.
I'm guessing this has something to do with when the scanning radius was changed from 100m to 70m, but pogom still only allows 100m+ scanning radius.
Mimum radius needs to be changed to 70m, so I know the area inside the circle is actually going to be scanned.

Why not use a 140m radius?

Why not use a 140m radius?

That'd give me a longer scan time. Currently scanning 19 100m locations in ~10 seconds.


Add visibility query param to the api/pattern endpoint

Signed-off-by: Aritra Majumder<EMAIL_ADDRESS>This PR is related to #8547
Notes for Reviewers:
This partly solves the issue reported by @aabidsofi19.
Also, this is dependent on this PR.
Merge that before to test the functionality.
What I did:

Add visibility param to the api/pattern endpoint.
Modify the remote provider endpoint in the dependent PR to support visibility.
Then encode visibility to send requests to meshery cloud!

Signed commits

[x] Yes, I signed my commits.

// @leecalcote @MUzairS15 @theBeginner86, have a look into these prs.

I think visibility should come under filter param right? so that we will be consistent

we already have this in meshery (not in meshery cloud, it's wip).
Please have a look this issue.

@Aritra8438 how this will affect the published (catalog content) that comes from catalog preferences

Not too sure what you meant.
When we are fetching patterns and filters, we can optionally pass visibility param to fetch only the needful!

Sounds like visibility needs to be supported by the remote provider as well.

Sounds like visibility needs to be supported by the remote provider as well.

I did that too!
Explained here.

hey @Aritra8438
Let's discuss this on Meshery Dev call. Please add this as an agenda item in the meeting minutes if you would. :)

Closing this PR as this has been covered here: https://github.com/meshery/meshery/pull/9157


Publish 6.0 release

@nickytonline @kwelch - I've drafted the 6.0 release notes. Anything big you suggest adding to the list that I've missed. 168 commits to cover! 💯

Hmm... @coryhouse, I get a 404 when going to the release notes.

Nevermind. I just found it on the releases page.

Oops: https://github.com/coryhouse/react-slingshot/releases

Looks good to me. I can't believe we're at version 6.0 and almost 6K ⭐!

I agree it looks good. What an amazing list of changes! Nice work, all!

Excellent, published! Thanks so much gents!


Add basic C ABI FFI documentation

Hi folk,
Initial attempt at an FFI example and some explanatory documentation.
Contributing as I learn! Let me know if you'd like any tweaks or changes.
Cheers,
Darach.

Awesome!


Decryption breaks on newer Android versions

EDIT: to clarify the problem - encryption and decryption on the same platform works! The problem is when you encrypt information on some platforms and then afterwards, decryption of this data is attempted on others. I've seem compatibility problems between these ranges of API versions:

22 or before,
23 through 25,
26 and after,

meaning, encryption-decryption between devices in each range works, but between devices in different ranges doesn't.
ORIGINAL post:
W/System.err: javax.crypto.BadPaddingException: error:1e000065:Cipher functions:OPENSSL_internal:BAD_DECRYPT
W/System.err:     at com.android.org.conscrypt.NativeCrypto.EVP_CipherFinal_ex(Native Method)
W/System.err:     at com.android.org.conscrypt.OpenSSLCipher$EVP_CIPHER.doFinalInternal(OpenSSLCipher.java:570)
W/System.err:     at com.android.org.conscrypt.OpenSSLCipher.engineDoFinal(OpenSSLCipher.java:351)
W/System.err:     at javax.crypto.Cipher.doFinal(Cipher.java:1736)
W/System.err:     at com.pvryan.easycrypt.symmetric.performDecrypt.invoke$easycrypt_release(performDecrypt.kt:70)
W/System.err:     at com.pvryan.easycrypt.symmetric.ECSymmetric$decrypt$1.invoke(ECSymmetric.kt:209)
W/System.err:     at com.pvryan.easycrypt.symmetric.ECSymmetric$decrypt$1.invoke(ECSymmetric.kt:44)
W/System.err:     at org.jetbrains.anko.AsyncKt$doAsync$1.invoke(Async.kt:140)
W/System.err:     at org.jetbrains.anko.AsyncKt$doAsync$1.invoke(Unknown Source:0)
W/System.err:     at org.jetbrains.anko.AsyncKt$sam$Callable$761a5578.call(Unknown Source:2)
W/System.err:     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
W/System.err:     at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:301)
W/System.err:     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
W/System.err:     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
W/System.err:     at java.lang.Thread.run(Thread.java:764)

It seems that this library is experiencing the same issue found in this other library below (in an older version, they fixed it by enforcing usage of Bouncy Castle instead of the new default provider on Android 6.0 onwards).
https://github.com/AArnott/PCLCrypto/issues/61
Please also make this library enforce usage of Bouncy Castle as well as a workaround at least until a fix is found using the new provider on API 23 onwards.
EDIT: As I mention below, apparently just doing this workaround won't be enough :(
I tested on an emulator with API 26.
Thank you!

Hi @guilhermesgb, can you provide some more information related to the issue, like what input you used and what Android version did you test it on. I have tested Symmetric encryption and decryption on API22 and low and it worked fine.

I used "API Key/Access Token"-esque strings as input, passing UUIDs as passwords.
The problem happens if you use the ECSymmetric encryption on an API lower than 23 and then afterwards tries decrypting back on API 23 onwards. Makes sense? I'm needing to do it because I'm storing encrypted stuff on the codebase. When I test decryption of this information it fails on devices bigger than 23. Actually, testing a lot yesterday, I've come to realize that encrypting stuff on API 23-25 and then trying decrypting back on API 27 also fails as well.
I even tried enforcing usage of this particular provider by injecting my own Cipher via reflection:
            try {
                Field field = ECSymmetric.class.getDeclaredField("cipher");
                field.setAccessible(true);
                Field modifiersField = Field.class.getDeclaredField("accessFlags");
                modifiersField.setAccessible(true);
                modifiersField.setInt(field, field.getModifiers() & ~Modifier.FINAL);
                field.set(decryptor, Cipher.getInstance("AES/CBC/PKCS7Padding", "BC"));
            } catch (Throwable throwable) {
                throwable.printStackTrace();
            }

But this wouldn't solve the issue.
As an workaround, I'm encrypting stuff using these three self-compatible environments (API 23-, API23-25, API26+), and checking which environment I'm at on runtime to pick the appropriate encrypted data to decrypt on these platforms.

Now I understand the problem. I tried to reproduce it by encrypting on API 22 and then decrypting on API 26 and API 27 and it seems to work fine. The workaround that you proposed of injecting your cipher should have worked if the problem was that which you are suggesting, but that is not the case. I think it is something with the input formats or data being manipulated during transfer. Try verifying data before decrypting using hash functions and let me know if that gives you any more insight about the problem.

I started spotting the issue by encrypting on API 19 and then trying to decrypt it on API 24 (using emulators). It probably is related to my input since before encrypting, I also obfuscate the input by applying a manipulation in each character in the input by shifting their ASCII values arbitrarily (and I'm sorry that I forgot to mention this).

The manipulations should not matter because the input is converted to bytearray using UTF8 encoding and then processed. Tell me the details and I will try it out.

Essentially, I apply the following function to the token I want to obfuscate, given some other character sequence as the coordinates for the obfuscation: I build a new obfuscated string of same length than token, but with each character i in the new string being the ASCII value of character i in the original token + the ASCII value of the character I'm currently looking at in coordinates (i % sizeof(coordinates)). I also make sure I never leave the ASCII range with % 128.
    private static String obfuscateToken(String token, String coordinates) {
        StringBuilder obfuscated = new StringBuilder();
        for (int i = 0; i < token.length(); i++) {
            obfuscated.append((char) ((((int) token.charAt(i))
                - ((int) coordinates.charAt(i
                % coordinates.length())))
                % 128));
        }
        return obfuscated.toString();
    }

Then there's the opposite function for deobfuscating, which essentially does the same as above but subtracting ASCII values instead of adding. It needs the same coordinates string to reach the original token.

With the the function that you provided I tried encrypting and decrypting on different API ranges and it is working perfectly fine. Below are the logs for original input and decrypted output. Didn't de-obfuscate it because that is not necessary.

com.pvryan.easycryptsample I/Original: ������������ￗ)ￅ￘��￥E￬ￔ)	+Aￍ￩#ￂ￣ �ￒ��￁

com.pvryan.easycryptsample I/Decrypted: ������������ￗ)ￅ￘��￥E￬ￔ)	+Aￍ￩#ￂ￣ �ￒ��￁

Well, yeah, I don't know how help with reproducing the issue then. My only other guess left is that maybe it has to do with the fact that my app requests a decryption of two keys simultaneously and that is somehow impacting the overall results?... I'll probably enforce these to happen one after the other.
Anyways, I guess I'll close this issue for now and reopen eventually if I find a means of deterministically reproducing it. Thank you for your time.

I can reproduce this Issue with A Nexus 5 with Android 6.0 and a Yota 3 with Android 8.1
Encrypting ans Decrypting with Symmetric Encryption wont work, also all Input is all the same. I wondered why this Issue got closed as this is a very big Problem i guess

If you can provide the details to @pvasa, he might get interest in checking it out. I closed this ticket because I could not get him to reproduce this issue on his end.

I have the same issue using "AES/CBC/PKCS5Padding". Encrypting data in Android 9 and decrypting it in Android 10 leads to the same error (BadPaddingException).
Probably a relevant information that I found out was that encrypting the data in Android 9 lead to a byte[].size = 2400. Decrypting it in Andorid 10: byte[].size = 2432. (even though same data).

Did you find the answer finally ?


OSError: No such file or directory.

May be related to https://github.com/seb-m/pyinotify/issues/76.
Same thing happening to me, only for files. I sync down from S3 to watched dir by aws cli "aws sync ...". Apparently aws sync first writes file with dodgy .D15e7984 filename extention.  Notifier dies seeing this file and is restarted by my while loop. Meanwhile aws removes the extention and Notifies processes the new file without error:
2016-10-14 06:01:00,029 - ERROR - Restarted Notifier. Error was: [Errno 2] No such file or directory: '/var/www/html/sites/default/files/css/css_RPj9uAk5WuFHnq_9BitJUXUNtTv9cpprq_e6P8HMRhA.css.gz.D15e7984'
2016-10-14 06:01:00,031 - INFO - <Event cookie=312 dir=False mask=0x80 maskname=IN_MOVED_TO name=css_RPj9uAk5WuFHnq_9BitJUXUNtTv9cpprq_e6P8HMRhA.css.gz path=/var/www/html/sites/default/files/css pathname=/var/www/html/sites/default/files/css/css_RPj9uAk5WuFHnq_9BitJUXUNtTv9cpprq_e6P8HMRhA.css.gz wd=1845 >

Time between the two above events is 2 ms...
Is the fix in Issue #76 is supposed to cover it?
My code:
...
    # watched events
    mask = pyinotify.IN_CLOSE_WRITE | pyinotify.IN_MOVED_TO

    # watch manager
    wm = pyinotify.WatchManager()
    wm.add_watch(watched_dir, mask, rec=True, auto_add=True)
    eh = MyHandler(bucket=bucket, s3path=s3path)
    notifier = pyinotify.Notifier(wm, eh)

    while True:
        try:
            notifier.loop(daemonize=True, pid_file=False)
        except Exception, e:   # pyinotify.NotifierError
            logging.error( 'Restarted Notifier. Error was: %s' % str(e) )
...

Trace (different file, but from same session, again dodgy extention .4A07cA3c):
Traceback (most recent call last):
  File "./s3sync.py", line 215, in <module>
    main()
  File "./s3sync.py", line 209, in main
    notifier.loop(daemonize=False, pid_file=False)
  File "/usr/lib/python2.7/site-packages/pyinotify.py", line 1390, in loop
    self.process_events()
  File "/usr/lib/python2.7/site-packages/pyinotify.py", line 1287, in process_events
    self._default_proc_fun(revent)
  File "/usr/lib/python2.7/site-packages/pyinotify.py", line 924, in __call__
    return _ProcessEvent.__call__(self, event)
  File "/usr/lib/python2.7/site-packages/pyinotify.py", line 650, in __call__
    return self.process_default(event)
  File "./s3sync.py", line 60, in process_default
    os.stat(str(event.pathname)).st_size != 0
OSError: [Errno 2] No such file or directory: '/var/www/html/sites/default/files/js/js_bK0Bh86hv9S9RTNCPTzdQd-62jQhnWDq7lIUvtvi1wQ.js.4A07cA3c'

Apparently, from trace, I found, I have to check if file exists first, before checking its size. Closing for now.


Resolve Semantics modifier info to background wireframes

What does this PR do?
A brief description of the change being made with this pull request.
Motivation
What inspired you to submit this pull request?
Additional Notes
Anything else we should know when reviewing?
Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] Make sure you discussed the feature or bugfix with the maintaining team in an Issue
[ ] Make sure each commit and the PR mention the Issue number (cf the CONTRIBUTING doc)

Codecov Report
Attention: Patch coverage is 21.11111% with 71 lines in your changes missing coverage. Please review.

Project coverage is 69.29%. Comparing base (9dc1bfa) to head (a1fb457).

Files with missing lines
Patch %
Lines

...ionreplay/compose/internal/utils/SemanticsUtils.kt
0.00%
60 Missing :warning:

...y/compose/internal/reflection/ComposeReflection.kt
33.33%
0 Missing and 6 partials :warning:

...rnal/mappers/semantics/ImageSemanticsNodeMapper.kt
0.00%
4 Missing :warning:

...l/mappers/semantics/AbstractSemanticsNodeMapper.kt
91.67%
0 Missing and 1 partial :warning:

Additional details and impacted files
@@                  Coverage Diff                   @@
##           feature/sr_compose    #2339      +/-   ##
======================================================
- Coverage               69.40%   69.29%   -0.11%
======================================================
  Files                     753      754       +1
  Lines                   27967    28023      +56
  Branches                 4785     4806      +21
======================================================
+ Hits                    19409    19417       +8
- Misses                   7198     7244      +46
- Partials                 1360     1362       +2

Files with missing lines
Coverage Δ

...nal/mappers/semantics/ButtonSemanticsNodeMapper.kt
100.00% <100.00%> (+9.52%)
:arrow_up:

...ionreplay/compose/internal/utils/BackgroundInfo.kt
100.00% <100.00%> (ø)

...l/mappers/semantics/AbstractSemanticsNodeMapper.kt
86.96% <91.67%> (+5.14%)
:arrow_up:

...rnal/mappers/semantics/ImageSemanticsNodeMapper.kt
1.69% <0.00%> (-0.09%)
:arrow_down:

...y/compose/internal/reflection/ComposeReflection.kt
28.36% <33.33%> (+0.58%)
:arrow_up:

...ionreplay/compose/internal/utils/SemanticsUtils.kt
1.28% <0.00%> (-1.84%)
:arrow_down:

... and 27 files with indirect coverage changes


typo: recommended vs recommented

Instead of: Returns a list of databases inside a recommented elastic pool
Should be: Returns a list of databases inside a recommended elastic pool

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

ID: e3cdfcc3-b8a3-1432-fcfb-55bb51f235fb
Version Independent ID: 5f79f582-b7be-c222-01f5-01e9710f971e
Content: Create & manage Azure SQL servers & databases | Microsoft Docs
Content Source: articles/sql-database/sql-database-servers-databases.md
Service: sql-database
GitHub Login: @CarlRabeler
Microsoft Alias: carlrab

@efreeman1980 Thank you for reporting this issue! We will investigate and make any necessary changes.

Fixed and merged


A complete active request should be removed from the active request list once the booking time has passed

implementation: should this only affect what the user sees in the frontend?

yeah, we could add another status to requests like "done" once the endDate passes so it no longer shows up in a user's active requests

rather than store redundant data we could also filter out past events when the client makes a GET request to the backend. this is less computationally efficient though

I think that’s a good idea, even if we had extra status data we would still
need to filter the requests, so we might as well keep it simple by just
checking the endTime in the backend route to get requests
On Sat, Apr 15, 2023 at 1:55 AM logonoff @.***> wrote:

rather than store redundant data we could also filter out past events when
the client makes a GET request to the backend. this is less computationally
efficient though
—
Reply to this email directly, view it on GitHub
https://github.com/utmgdsc/hacklab-booking/issues/45#issuecomment-1509549818,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APHOMNXVYVRECCPCTFWPBLLXBIZ3HANCNFSM6AAAAAAW7FQZHI
.
You are receiving this because you authored the thread.Message ID:
@.***>

Don't know if this is still an issue with the new backend since the new backend only sends requests in the future by default, unless asked to do otherwise.


passpie init waits forever after passphrase supplied

Hello,
This is very awkward. When I type passphrase code two times during database initialization, it start hanging on, forever...
passpie init
Passphrase:
Type again:

How can I supply more debug log for further investigation ?

Hello @mmetince
Init takes a long time in some operation systems you can have more info on the documentation:
http://passpie.readthedocs.io/en/latest/faq.html#why-is-it-taking-so-long-to-initialize-a-database
Thanks for your contribution

I'm sorry for creating ticket without documentation reading. Thank you for your reply.


Earn forgets configured fees after reload of JAM tab

Expected behavior
When I configure an Earn offer with non default values, reload the JAM tab and look at the configuration I expect it to be the same as I configured it.
Actual behavior
See the expected behavior. Instead of the configuration staying the way I configured it after a reload, it is set back to the default values.
Steps to reproduce the problem

Configure the earn service with non default values.
Reload the browser window.
Look at the configuration. It is now set to default values again.

Specifications

Version: JoinMarket v0.9.9, JAM v0.1.5
Platform: MyNode
Browser: Chrome

Additional context

Hey @RaiqRe, thanks for the report.
Just tested the stated problem and could not reproduce it (tested on Firefox, Brave and Chromium). Settings are stored in "localstorage" with prefix jm- (e.g. jm-feeRel, jm-feeAbs, jm-minsize) and are populated in the form as expected. Do you - by chance - clear all browsing data on exit automatically ("Clear cookies and site data when you close all windows")? This would explain the behaviour you are experiencing.

I mistakenly wrote that I restarted the browser but I reloaded the JAM tab. Sorry for the confusing. I edited the issue in that way.

I mistakenly wrote that I restarted the browser but I reloaded the JAM tab. Sorry for the confusing. I edited the issue in that way.
Can you now reproduce the issue?

The values will only be stored to localstorage if you clicked on the submit button at least once. If you never click the button, the values won't get persisted. This is intended behaviour.

I go to the Earn tab in JAM.
Configure some non default absolute fee.
I click on "Start Earning!".
I click on "Stop"
When I expand "Offer options", the non default fee value is still visible.
When I now reload the JAM browser tab and expand "Offer options" again, the non default value is gone and the it is again at the default value.

It's not really serious. Just something I stumbled upon when I restarted the offer and the fee was not what I was expecting it to be.

I am sorry @RaiqRe, I cannot reproduce it. Tested on Chromium Version 112.0.5615.165 (Official Build, ungoogled-chromium) (64-bit). : /
Would it be possible for you to look into the developer tools (F12) in "Storage" and tell whether you see the values being persisted to localstorage?

Closing this now. Please reopen if it happens again or you think it should be looked at again.


Add punctuation.accessor style

Fix #9
Updates the color of php object operator, among other things.

Member access, scope resolution, or similar constructs should use the following scope. For Python or JavaScript this would be .. In PHP this would be applied to -> and ::. In C++, this would be applied to all three.

Source: docs

I like it. Looks good to me! 👍


"Unirea" is listed in the drop-down menu

Description:
When user writes "Unirea"" the location appears in the drop-down menu next to the comune and the county which is a part according to the law
Precondition:
The website is up an running.

Step 1
Write in the search bar "Unirea"
Expected results
The location appears in the drop-down menu as "Sat Unirea, DOLJ (Unirea)"


Problem with file from chessbase

I have a file
[Event ""]
[White "зада~~а 1"]
[Black ""]
[Site ""]
[Round ""]
[Annotator ""]
[Result "*"]
[Date "2020.07.12"]
[PlyCount "3"]
[Setup "1"]
[FEN "4r1k1/1q3ppp/p7/8/Q3r3/8/P4PPP/R3R1K1 w - - 0 1"]

1. Qxe8+ {} Rxe8 2. Rxe8# *

[Event ""]
[White "зада~~а 2"]
[Black ""]
[Site ""]
[Round ""]
[Annotator ""]
[Result "*"]
[Date "2020.07.12"]
[PlyCount "3"]
[Setup "1"]
[FEN "7k/pbp1Q1p1/1p5p/8/4B3/1P6/2P4P/5qBK b - - 0 1"]

1... Qf3+ {} 2. Bxf3 Bxf3# *

[Event ""]
[White "зада~~а 3"]
[Black ""]
[Site ""]
[Round ""]
[Annotator ""]
[Result "*"]
[Date "2020.07.12"]
[PlyCount "3"]
[Setup "1"]
[FEN "5rkn/3R2p1/4r1qp/4B3/3P4/6R1/5PP1/6K1 w - - 0 1"]

1. Rxg7+ Qxg7 2. Rxg7# *

[Event ""]
[White "зада~~а 4"]
[Black ""]
[Site ""]
[Round ""]
[Annotator ""]
[Result "*"]
[Date "2020.07.12"]
[PlyCount "3"]
[Setup "1"]
[FEN "5rk1/7p/2N3p1/3P4/4Q2q/5R1n/6P1/4RK2 b - - 0 1"]

1... Qf2+ {} 2. Rxf2 Rxf2# *

[Event ""]
[White "зада~~а 5"]
[Black ""]
[Site ""]
[Round ""]
[Annotator ""]
[Result "*"]
[Date "2020.07.12"]
[PlyCount "3"]
[Setup "1"]
[FEN "2Rr3k/3q1ppp/p7/1p2P3/2p5/Q5PP/P4P1K/8 w - - 0 1"]

1. Qf8+ {} Rxf8 2. Rxf8# *

[Event ""]
[White "зада~~а 6"]
[Black ""]
[Site ""]
[Round ""]
[Annotator ""]
[Result "*"]
[Date "2020.07.12"]
[PlyCount "5"]
[Setup "1"]
[FEN "k7/1p1q1pp1/p2p4/P2P4/4R2r/7r/KPP1Q1R1/8 b - - 0 1"]

1... Qa4+ 2. Rxa4 (2. Kb1 Rh1+ 3. Qe1 Qxe4 )Rxa4+ 3. Kb1 Rh1+ *

[Event ""]
[White "зада~~а 7"]
[Black ""]
[Site ""]
[Round ""]
[Annotator ""]
[Result "*"]
[Date "2020.07.12"]
[PlyCount "5"]
[Setup "1"]
[FEN "6k1/2r2ppp/3p2b1/q7/1p1Pp1QP/4P1P1/1P3P1K/2R5 w - - 0 1"]

1. Qc8+ Rxc8 2. Rxc8+ Qd8 3. Rxd8# *

[Event ""]
[White "Эйве"]
[Black "Ломан"]
[Site ""]
[Round ""]
[Annotator "123"]
[Result "1-0"]
[Date ""]
[PlyCount "35"]

1. Nf3 d5 2. c4 d4 3. b4 g6 4. Bb2 Bg7 5. Na3 e5 6. Nc2 $1 {Гармония
фигур. Конь на краю доски} Bg4 7. e3 $1 {Развитие
фигур в дебюте. Центр} Ne7 8. exd4 exd4 9. h3 Bxf3 {
} 10. Qxf3 c6 11. h4 O-O {} 12. h5 $1 {Гармония
фигур. Открытая линия} Re8 {} 13. O-O-O $1 {
Развитие фигур в дебюте. Рокировка. Защита
короля} a5 {} 14. hxg6 hxg6 15. Qh3 $1 {
Батарея} axb4 16. Nxd4 Bxd4 {} 17. Qh8+ $1 {
Рентген} Bxh8 18. Rxh8# 1-0

I am trying to use pgn-parser to parse it, but have an error
`Expected "*", "0-1", "1-0", "1/2-1/2", ";", "O-O", "O-O-O", "[", "x", "{", [R,N,B,Q,K,P], [a-h], end of input, integer, or whitespace but "" found.
After uploading it to lichess and downloading a study from there - pgn-parser works well
Any ideas ?

still not working, maybe the problem is somewhere else ?

Still not working is not very exact. What I do is:

Go to https://mliebelt.github.io/PgnViewerJS/config/config.html
Insert there (pgnView) as pgn the first game from above.
This is spitting an error.
The second game (same empty comment) is working.

So seems to be that not the empty comment, but something else was wrong.

I found out the reason. ChessBase seems to have the so called BOM (Byte Order Mark) at the beginning of the PGN output. This is shown in some editors (Vim) then as <feff>. The parser could not do anything with the BOM, and spit out an error. I will change the grammar to ignore the BOM on the beginning of the input for games, game, tags and pgn which are the 4 allowed start rules.

@shooter01 Could you check that your problem is solved?

Found https://unicode.org/faq/utf_bom.html#bom1 as reference that explains BOM in detail.


Recursive path issues

When I move to the parent directory and then try and use other folder outside of the current directory, everything is picked up fine, however all the folders are not included inside of the named directory or the last folder.
I'm getting around this by using a symlink to pull the folders in correctly.
Should also note this happens when using a full path as well.
Using a symlink:

Without symlink and using a parent path: ../otherfolder/sources

Hi @iamtomcat
Do you have an example spec, showing how you use source paths.
Are you using fileGroups or options. createIntermediateGroups?

Here is my spec. No I'm not using filegroups. Maybe that is what I'm missing in this case?
name: Generated
options:
  deploymentTarget:
    iOS: "8.0"
  bundleIdPrefix: com.paywith
  usesTabs: false
  indentWidth: 4
  tabWidth: 4
configs:
  Debug: debug
  Release: release
targets:
  PayWithSDKCoreFramework:
    type: framework
    platform: iOS
    settings:
      INFOPLIST_FILE: /Users/tclark/projects/PayWithSDKCore/PayWithSDKCoreFramework/Info.plist
    sources:
      - path: /Users/tclark/projects/PayWithSDKCore/Sources
        name: CheeseTown
      - path: ../PayWithSDKCore/PayWithSDKCore
  PayWithSDK:
    type: library.static
    platform: iOS
  PayWithSDKFramework:
    type: framework
    platform: iOS
  PayWithSDKMallRewards:
    type: framework
    platform: iOS
    #com.paywith.PayWithSDKMallRewards
    settings:
      INFOPLIST_FILE: "PayWithSDKMallRewards/Info.plist"
      GCC_PREPROCESSOR_DEFINITIONS: ["$(inherited)", "IS_NEW=1"]
    dependencies:
      - carthage: AirshipKit
      - target: PayWithSDKCoreFramework
    sources:
      - Sources/Shared
      - path: PayWithSDKMallRewards
        excludes: # Add these to the project level manually till https://github.com/yonaskolb/XcodeGen/pull/252 is implemented
        - "QRCodeReaderViewController/*.[mh]"
  PayWithSDKFrameworkTests:
    type: bundle.unit-test
    platform: iOS
  PayWithSDKUniversal:
    type: tool
    platform: iOS
    postbuildScripts:
      - path: Scripts/BuildFramework_Old.sh
  OCLint:
    type: tool
    platform: iOS
    postbuildScripts:
      - path: Scripts/OCLint.sh

Also is it possible to glob files together under one group?

@yonaskolb This might be related to this issue. I found that if a folder doesn't have any files in it then any folder inside of it gets pulled out into it's own group instead of being included.

Hi @iamtomcat, I’m reopening this as these are still valid issues. Sorry I haven’t gotten around to them yet, this fell under the radar.
Are you able to post an update about your learnings, and your workarounds?

I have the same issue :(
@iamtomcat  I don't have any workaround for now but let me now if I can do anything to help you find out what's going on. I have a starter project but it is in a private repo. I can add you if required

So what I do is kind of double up on a folder.
At the moment it's able to tell what has been included or not with original path and it should glob the rest up. Not the most ideal for being explicit.
- path: /path/to/stuff
- path: /path/to
  - visibility: project

@yonaskolb I'm trying to move things around to understand what I can do.
Juste to be sure all the paths in project.yml are supposed to be relative to location of :

project.yml
where xcodegen is run
the project argument of xcodegen ?

All paths in the project.yml are designed to be relative to that file.
It looks like there may be issues when the project is not in the same directory as project.yml

Here is what i have on my side when including sources outside of project dir .)

I think I may have hit the same/similar issue here.
For a given configuration
  Shared:
    type: framework
    platform: iOS
    dependencies:
      - carthage: RxSwift
    sources:
      - path: Shared/Support
        name: Shared
        headerVisibility: project
      - path: Shared

I'm getting folders generated as:
MyProject
    |_ Shared
    |_ Shared

What I am looking for
MyProject
    |_ Shared
           |_ Support

Where the support folder contains header files with project visibility.
Am I doing something wrong?
Thanks!

I see. Thanks for the info @rpassis.
What happens if you set createIntermediateGroups?
options:
  createIntermediateGroups: true

Thanks @yonaskolb that solves it!
FWIW here's what I used
  Shared:
    type: framework
    platform: iOS
    dependencies:
      - carthage: RxSwift
    sources:
      - path: Shared/Support
        headerVisibility: project
      - path: Shared
        excludes:
        - "Support/*.[mh]"

Great! It's bit of a workaround I know.
Another future solution might something like this https://github.com/yonaskolb/XcodeGen/pull/187

I'm back on a project using XcodeGen. The issue is still here :
With this folder arch :
Project/project.yml
Project/SomeFolder/SomeSource
in Xcode I get SomeFolder/SomeSource
now if I move to:
Project/Tools/project.yml
Project/SomeFolder/SomeSource
XCodeGen says that path aren't correct
so I move paths adding ../ in project.yml
XCodeGen says it's ok but in Xcode all folders are a the same level

2.10.0 has been released. Closing this for now. Please open again if anyone has any more issues with this

Can confirm it works if the folder is inside the directory with the project.yml file. However, it is not working if I use relative paths.

@yonaskolb @giginet


README: link to additional options for :truncation is broken

Under "What strategy is fastest?", the README says:

If you are using ActiveRecord then take a look at the additional options available for :truncation.

However, there is no "Additional ActiveRecord options for Truncation" section. It appears to have been removed after 1.7.0.

Actually, it looks like it was moved to the ActiveRecord-specific README.


Downstream Node Driver Cluster Intermittently Goes Into Updating State after HA Upgrade

Rancher Server Setup

Rancher version: v2.7.1-rc2
Installation option (Docker install/Helm Chart): Helm

If Helm Chart, Kubernetes Cluster and version (RKE1, RKE2, k3s, EKS, etc): RKE2

Proxy/Cert Details: N/A

Information about the Cluster

Kubernetes version: v1.23.14+rke2r1
Cluster Type (Local/Downstream): Downstream

If downstream, what type of cluster? (Custom/Imported or specify provider for Hosted/Infrastructure Provider): Infrastructure Provider

User Information

What is the role of the user logged in? (Admin/Cluster Owner/Cluster Member/Project Owner/Project Member/Custom)

If custom, define the set of permissions: Admin and Cluster Owner

Describe the bug
When performing an HA Upgrade to Rancher v2.7.1-rc2, while having an AWS Node Driver cluster with Cloud Provider enabled, occasionally the cluster will go into Updating state and the Control Plane nodes will go into a Reconciling state, and will not come back up as Active.
To Reproduce

Create a HA Rancher serve on v2.7.0
Provision a downstream AWS Node Driver cluster with Cloud Provider enabled
Perform an HA Upgrade on Rancher

Result
Occasionally the cluster will go into Updating state and the Control Plane nodes will go into a Reconciling state, and will not come back up as Active
Expected Result
The cluster will temporarily go into an Unavailable state, and will come up Active shortly after without error.
Screenshots

Logs:
Control Plane Server Logs 1.txt
Control Plane Server Logs 2.txt
HA Upgrade AWS Cloud Provider - rancher-7547596868-j546n_rancher.log
Additional context
This issue has only been reproduced once, and since we are unsure of the exact cause, I cannot be certain that this was not resolved by other changes that can shortly afterward on v2.7.1-rc2.

This issue is likely very challenging to investigate without a live environment where it's reproducible. QA to watch for it happening again and share the environment with engineering when(if) it happens again. Moving to "Blocked" for now.

same problem. we have two cluster managed by Rancher 2.7.1, after we update config of cluster in rancher, it is stalled with log:
[INFO ] configuring bootstrap node(s) custom-21557370250e: waiting for plan to be applied
Sun, Jan 15 2023 2:23:06 am | [INFO ] configuring bootstrap node(s) custom-21557370250e: Node condition MemoryPressure is Unknown. Node condition DiskPressure is Unknown. Node condition PIDPressure is Unknown. Node condition Ready is Unknown., waiting for plan to be applied
Sun, Jan 15 2023 2:23:34 am | [INFO ] configuring bootstrap node(s) custom-21557370250e: waiting for plan to be applied

Did not hit the original issue in our most recent release testing on 2.7.2-rc. Closing this for now.
@pubyun the issue that's mentioned in your comment seems different that the original issue logged. It would be helpful if you could log a separate ticket for the issue you see. thank you.


Running on Google Colab

Hi,
I have issues running the code on my VS studio, and I am thinking of trying on Google Colab.
Is this possible? How can I go about to do so?

Hi! It is pretty simple, you can run the
! gito clone
An then you have to add the output folder and unzip some files!
All this if you want to run Inference!


Html Report

A critical issue concerns the HTML report. Occasionally, when an assertion is not linked to a specific step, it appears in the report without a title. I have also attached a screenshot illustrating this problem.

This problem was solved in release v0.2.11


support torch 2.0?

Do you have plans to support torch 2.0? Or are you just looking for forward compatibility with previous versions, so that it can load model and be served normally without supporting new features in torch 2.0?

PyTorch 2.0 doesn't introduce many breaking changes, we are still evaluating this. Will come up with a date soon

@frankfliu @lanking520
I see that you have prepared the latest version, PR is there a specific release date? within a week or within a month?

It's on maven already: https://search.maven.org/search?q=g:ai.djl.pytorch
We are still preparing the document. Release notes will come a bit late.

Great job! I'm going to test it now and if there are any issues, I'll provide feedback as soon as possible. You can close this issue now.


feat: anyware hook retries

will close #878

Went in a few circles on this. But figured things out. Left to do now:

Anyware Retrying Extension types
Anyware Retrying Extension type tests
Configuration for user providing an inline retrying extension


[FR] Add a way to compute document size for samples

https://github.com/voxel51/fiftyone/issues/1607 raises an issue that documents in MongoDB cannot exceed 16Mb which can easily become an issue when working with videos with dense frame annotations. Until it is resolved, it would be useful to add a way to compute the size of documents in FiftyOne so that you can know when you are close to the limit without raising an error.

This may fail on samples whose frame documents exceed 16MB (catch 22...) but:
import fiftyone as fo
import fiftyone.zoo as foz

dataset = foz.load_zoo_dataset("quickstart-video")

pipeline = [{"$project": {"size_bytes": {"$bsonSize": "$$ROOT"}}}]
sample_sizes = list(dataset._aggregate(pipeline=pipeline,attach_frames=True))

fo.pprint(sample_sizes)

[
    {'_id': ObjectId('62c1dfbe71bca1af68668b78'), 'size_bytes': 103826},
    {'_id': ObjectId('62c1dfbe71bca1af68669181'), 'size_bytes': 205589},
    {'_id': ObjectId('62c1dfbf71bca1af68669c5d'), 'size_bytes': 329432},
    {'_id': ObjectId('62c1dfbf71bca1af6866a87d'), 'size_bytes': 272458},
    {'_id': ObjectId('62c1dfc071bca1af6866aed5'), 'size_bytes': 60326},
    {'_id': ObjectId('62c1dfc071bca1af6866b14b'), 'size_bytes': 84724},
    {'_id': ObjectId('62c1dfc171bca1af6866be09'), 'size_bytes': 540082},
    {'_id': ObjectId('62c1dfc271bca1af6866cba4'), 'size_bytes': 124812},
    {'_id': ObjectId('62c1dfc271bca1af6866d042'), 'size_bytes': 121152},
    {'_id': ObjectId('62c1dfc371bca1af6866da5e'), 'size_bytes': 382437},
]

And here's a function that will compute the size of each frame's labels:
def frame_sizes(sample_collection):
    """Computes the size of each frame in the given collection.

    Args:
        sample_collection: a :class:`fiftyone.core.collections.SampleCollection`

    Returns:
        a list of dicts containing ``_id``, ``_sample_id`` and ``size_bytes`` keys
    """
    return list(
        sample_collection._aggregate(
            pipeline=[
                {"$unwind": "$frames"},
                {"$replaceRoot": {"newRoot": "$frames"}},
                {
                    "$project": {
                        "_sample_id": True,
                        "size_bytes": {"$bsonSize": "$$ROOT"},
                    }
                },
            ],
            attach_frames=True,
        )
    )

import fiftyone as fo
import fiftyone.zoo as foz

dataset = foz.load_zoo_dataset("quickstart-video")
fo.pprint(frame_sizes(dataset))

[
    {
        '_id': ObjectId('62c3059a5e37a0a59edb034d'),
        '_sample_id': ObjectId('62c305930c1e4b63f1c05aec'),
        'size_bytes': 2159,
    },
    {
        '_id': ObjectId('62c3059a5e37a0a59edb034e'),
        '_sample_id': ObjectId('62c305930c1e4b63f1c05aec'),
        'size_bytes': 2159,
    },
    ...
]

https://github.com/voxel51/fiftyone/pull/1940.


[CMT-610-919] Update 2022-01-20-Yearn-Finance-Newsletter-54.md Spanish RM3

Description

Please include a summary of the change and which issue is fixed.
Please also include relevant motivation and context.

This pull request ...
Fixed issue

Please indicate the fixed issues with this exact format Fixes #232 where 232 is the number of the issue. This will trigger an auto-close if the issue when this PR is merged.
Supported keywords:
Fixes #1,#2,#3
close #1, #2, #3
fix #1 #2 #3
resolve #1,#2 #3
Resolves: #1,#2,#3
closed : #1, #2, #3

Fixes #(issue)
Type of change

Please delete options that are not relevant and check the box.

[ ] Add a new article/page
[ ] Fix a Typo
[x] Add a new translation
[ ] Other

Resources

Any screenshots, links or relevant resources to explain better the changes.

Done =)
El vie, 28 ene 2022 a las 5:55, Dark Ghosty @.***>)
escribió:

Assigned #919 https://github.com/yearn/yearn-comms/pull/919 to
@RestlessMike https://github.com/RestlessMike.
—
Reply to this email directly, view it on GitHub
https://github.com/yearn/yearn-comms/pull/919#event-5968291969, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AIKGRB5I2QP76VI2TRKLXF3UYIOVDANCNFSM5MVVLDRQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were assigned.Message ID:
@.***>

--
Miguel


Add JWT Validation

What kind of change does this PR introduce?
This PR adds the validation of JWTs whenever a new client (of any service) is initialized.
What is the current behavior?
The JWT is not validated, and invalid JWTs are sent to the API if introduced
What is the new behavior?
The JWT is validated upon client construction and if it is malformed or expired, an exception is thrown.
Additional context
Closes #197

Sorry for the delay here - I didnt have notifications on supabase-js.
I like this approach, thanks for PR'ing @velocity23 . I think we need to just double-check compatibility across all the browsers and node environments.
Would you mind adding a unit test for the helper functions to make sure we catch any regression?

Thanks for taking a look @kiwicopple. I've made the requested changes, improved the error messages, and added a check in the client constructor.

Thanks for this PR!
Would it be a good idea to dispatch an event JWT_EXPIRED or trigger an auto refresh based on the value of autoRefreshToken, if the token is expired?

Will work on this in the next few days/week or so

If someone else wants to pick up where I left off you're more than welcome - I don't have time to complete this anymore unfortunately


smooth quant fail on llama model

Environment
If applicable, please include the following:
CPU architecture x86_64
CPU/Host memory size: big enough
GPU properties
GPU name 3090x2
GPU memory size 24G
Clock frequencies used: not sure
Libraries
TensorRT-LLM branch or tag : main
TensorRT-LLM commit: c89653021e66ca78c55f02b366f404455bc12e8d
Versions of TensorRT, AMMO, CUDA, cuBLAS,: build container using script provided by TRTLLM and its backend
Container used: based on nvcr.io/nvidia/tritonserver:23.12-py3 and build mannually as backend says
NVIDIA driver version: 535.104.05
OS: Ubuntu 22.04
Reproduction Steps

build llama model using command:

CUDA_VISIBLE_DEVICES=1,2 python -u /app/tensorrt_llm/examples/llama/hf_llama_convert.py -i <llama-13b-model> -o <tmp-file-path> -sq 0.4 --tensor-parallelism 1 --storage-type fp16

python -u /app/tensorrt_llm/examples/llama/build.py --use_lookup_plugin --dtype float16 --output_dir <engine dir> --max_batch_size 8 --max_input_len 2048 --max_output_len 32 --world_size 1 --tp_size 1 --pp_size 1 --remove_input_padding --use_gpt_attention_plugin float16 --use_gemm_plugin float16 --enable_context_fmha --use_inflight_batching --paged_kv_cache --bin_model_dir <tmp-file-path>/1-gpu --use_smooth_quant --per_token --per_channel

Expected Behavior
model could be built without error
Actual Behavior
error happens:
Traceback (most recent call last):
  File "/app/tensorrt_llm/examples/llama/build.py", line 1059, in <module>
    build(0, args)
  File "/app/tensorrt_llm/examples/llama/build.py", line 1003, in build
    engine = build_rank_engine(builder, builder_config, engine_name,
  File "/app/tensorrt_llm/examples/llama/build.py", line 907, in build_rank_engine
    tensorrt_llm_llama(*inputs)
  File "/usr/local/lib/python3.10/dist-packages/tensorrt_llm/module.py", line 40, in __call__
    output = self.forward(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/tensorrt_llm/models/llama/model.py", line 466, in forward
    hidden_states = super().forward(
  File "/usr/local/lib/python3.10/dist-packages/tensorrt_llm/models/llama/model.py", line 310, in forward
    hidden_states = layer(
  File "/usr/local/lib/python3.10/dist-packages/tensorrt_llm/module.py", line 40, in __call__
    output = self.forward(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/tensorrt_llm/models/llama/model.py", line 153, in forward
    attention_output = self.attention(
  File "/usr/local/lib/python3.10/dist-packages/tensorrt_llm/module.py", line 40, in __call__
    output = self.forward(*args, **kwargs)
TypeError: SmoothQuantAttention.forward() got an unexpected keyword argument 'medusa_packed_mask'
cmd execute failed: 256

Please follow the issue template to file issue, thank you for cooperation.

Please follow the issue template to file issue, thank you for cooperation.

@byshiue updated

The latest main branch has solved this issue
Thanks


Support "optional" parameters?

Hi,
My popup sometimes need to have title "Duplicate" and sometimes "Duplicate in {folderName}"
I'd like to do something like that:
        <FormattedMessage
          id={"popup.title"}
          values={{folderName: preSelectedFolder ? preSelectedFolder.name : undefined}}
        />

And in my message, something like "popup.title": "Duplicate {folderName ? folderName : ""}"
This is something I often want to do and by searching the doc multiple times I never found an elegant way to do it. Wouldn't it be nice to support it (probably not the syntax I shawn but you get the idea).
The workaroud seems to be something like:
        <FormattedMessage
          id={"popup.title"}
          values={{folderName: preSelectedFolder ? preSelectedFolder.name : "NONE"}}
        />

and
Duplicate {folderName, select,
    NONE {}
    other {in {folderName}}
}

which is a bit unnatural and error prone

Yeah I can see how this would be annoying. I'm not aware of how ICU handles this case, but if they have something we can copy it. The problem with making things optional is people forgetting to provide values and having a string that doesn't make sense to the user. The way I've seen this handled is having two strings and determining which to format based on the values you have.


Added support for ChampSim's out-of-source configuration

This patch rewrites the build.build_champsim() function to call ChampSim's configuration directly. It removes a call to os.system() and is pretty cool to boot.

That's pretty neat! I like this...
Does this add a new field to the cfg file? If so, can you please commit those changes as well.

It does. It adds champsim_root, which I'm kinda surprised wasn't there already. I didn't commit it since my local copy has my local path.

Ah good point, forgot to add that in there. The binary_path was a rough analog to it, but it makes more sense to have the root defined. I'll add it in manually on github.


😭 Icon gruntfile is not appear

⚠ Issue on icon

When I open gruntfile.js and checking on Discord RPC icon it's not appear

Weird it looks like there never has been an image for gruntfile looked through commit history and cant find it. Someone will have to make one or I could be blind


Reload assets doesn't pick up new assets

Describe the bug
"Reload assets" only reloads existing assets, but doesn't pick up new items in the asset folder.
To Reproduce
Steps to reproduce the behavior:

Open new project
Go to project asset folder
Make a new .png in background or sprite folder
CTRL+SHIFT+R to refresh, or refresh from the file menu
Check background/sprite assets in the sidebar
See that the new assets weren't picked up

Expected behavior
Pick up new assets when you use 'reload assets'
Platform (please complete the following information):

OS: Windows 8
App version 1.2

Applies to issue #339 and #340.
Update: In spite of my installed version not changing, this is no longer an issue on my machine, suggesting it may be something which only happens under specific circumstances. I regret that I can't be more specific.
Timeline of events (as best as I can remember them):

Installed and used 1.1 version.
Installed 1.2 version on day of release, discovered bug, reported it.
Restarted machine some days later (usually keep it on hibernate).
Installed test build 1.2 version for colour branch authored by Chrismaltby
Later discovered bug no longer occurred in 1.2

I've noticed this 'fix' as of 05/12/2019.

Correction: just found an unsaved notepad draft of a tweet released before 1.2 was released. Machine hasn't been restarted.


Fix Issue #19 replacing special characters in the title with an empty character

This PR fixes #19 and adds a simple jest configuration for unit testing.

@MichaBrugger here's the PR :)

Hi @riccardopinto
Thank you again for your work and sorry for answering so late. It's a bit of a tough week, so it might take me a few days before I can go through your PR. I promise to look into it asap (latest on the weekend). I hope that's ok! Have a great week and talk to you soon :)

There's no rush, take your time! Thank you :)

Closing as it was included in another PR