After update, media players unavailable and services missing

Describe the bug
On update of Home Assistant, HACS, and alexa_media_player, Alexa Media infrastructure is not created. The notify.alexa_media service does not exist, and media player entities are not available. The services mentioned in /config/custom_components/alexa_media/services.yaml (namely update_last_called, clear_history, and force_logout also do not exist.
The logs contain a warning:

Error creating TOTP; ****** likely invalid
Logger: alexapy.alexalogin
Source: /usr/local/lib/python3.8/site-packages/alexapy/alexalogin.py:238

And an error:

Error setting up entry Alexa for alexa_media
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/alexapy/alexalogin.py", line 235, in set_totp
self.get_totp_token()
File "/usr/local/lib/python3.8/site-packages/alexapy/alexalogin.py", line 254, in get_totp_token
token: Text = self._totp.now()
File "/usr/local/lib/python3.8/site-packages/pyotp/totp.py", line 44, in now
return self.generate_otp(self.timecode(datetime.datetime.now()))
File "/usr/local/lib/python3.8/site-packages/pyotp/otp.py", line 33, in generate_otp
hasher = hmac.new(self.byte_secret(), self.int_to_bytestring(input), self.digest)
File "/usr/local/lib/python3.8/site-packages/pyotp/otp.py", line 50, in byte_secret
return base64.b32decode(self.secret, casefold=True)
File "/usr/local/lib/python3.8/base64.py", line 231, in b32decode
raise binascii.Error('Non-base32 digit found') from None
binascii.Error: Non-base32 digit found
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 236, in async_setup
result = await component.async_setup_entry(hass, self)  # type: ignore
File "/config/custom_components/alexa_media/init.py", line 285, in async_setup_entry
AlexaLogin(
File "/usr/local/lib/python3.8/site-packages/alexapy/alexalogin.py", line 119, in init
self.set_totp(otp_secret.replace(" ", ""))
File "/usr/local/lib/python3.8/site-packages/alexapy/alexalogin.py", line 241, in set_totp
raise AlexapyPyotpInvalidKey(ex) from ex
alexapy.errors.AlexapyPyotpInvalidKey: Non-base32 digit found

Based on my reading of the source, this happens outside the try/catch block that would trigger the persistent notification that I need to reauthenticate to Amazon, and no such notification is displayed in the Supervisor node.
Based on this FAQ I went searching for the "pickle" file but could find no such file in config/ using the File Editor or Samba Share plugins.
I find it quite likely that a new procedure for clearing the existing authentication data could resolve my issue. I would have tried the force_logout service but it's not available in Developer Tools either.
In HACS > Integrations, the Alexa Media Player actions menu also does not provide the option to reauthenticate.
To Reproduce
Steps to reproduce the behavior:

Update to Home Assistant 2021.1.5
Update to HACS 1.10.1
Update to Alexa Media Player 3.6.2.
Restart Home Assistant.

Expected behavior
Media players and services should be available.
Screenshots
Can't think of any that would be useful.
System details

Home-assistant (version): 2021.1.5
Hassio (Yes/No): Yes - Home Assistant OS 5.10
alexa_media  (version from const.py or HA startup):3.6.2
alexapy (version from pip show alexapy or HA startup): 1.22.2
Amazon 2FA is enabled (y/n). We will not debug login issues if unanswered: yes

Logs
Please provide logs. We'll be most likely asking for them anyway.
2021-01-25 10:17:21 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.
2021-01-25 10:17:21 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for alexa_media which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.
2021-01-25 10:17:47 DEBUG (MainThread) [custom_components.alexa_media] Nothing to import from configuration.yaml, loading from Integrations
2021-01-25 10:17:48 INFO (MainThread) [custom_components.alexa_media]
-------------------------------------------------------------------
alexa_media
Version: 3.6.2
This is a custom component
If you have any issues with this you need to open an issue here:
https://github.com/custom-components/alexa_media_player/issues
-------------------------------------------------------------------
2021-01-25 10:17:48 INFO (MainThread) [custom_components.alexa_media] Loaded alexapy==1.22.2
2021-01-25 10:17:48 DEBUG (MainThread) [custom_components.alexa_media.helpers] d*********e@g*******m: Returning uuid {'uuid': '**************************', 'index': 0}
2021-01-25 10:17:48 DEBUG (MainThread) [alexapy.alexalogin] Creating TOTP for ******
2021-01-25 10:17:48 WARNING (MainThread) [alexapy.alexalogin] Error creating TOTP; ****** likely invalid
2021-01-25 10:17:48 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Alexa for alexa_media
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/alexapy/alexalogin.py", line 235, in set_totp
self.get_totp_token()
File "/usr/local/lib/python3.8/site-packages/alexapy/alexalogin.py", line 254, in get_totp_token
token: Text = self._totp.now()
File "/usr/local/lib/python3.8/site-packages/pyotp/totp.py", line 44, in now
return self.generate_otp(self.timecode(datetime.datetime.now()))
File "/usr/local/lib/python3.8/site-packages/pyotp/otp.py", line 33, in generate_otp
hasher = hmac.new(self.byte_secret(), self.int_to_bytestring(input), self.digest)
File "/usr/local/lib/python3.8/site-packages/pyotp/otp.py", line 50, in byte_secret
return base64.b32decode(self.secret, casefold=True)
File "/usr/local/lib/python3.8/base64.py", line 231, in b32decode
raise binascii.Error('Non-base32 digit found') from None
binascii.Error: Non-base32 digit found
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 236, in async_setup
result = await component.async_setup_entry(hass, self) # type: ignore
File "/config/custom_components/alexa_media/__init__.py", line 285, in async_setup_entry
AlexaLogin(
File "/usr/local/lib/python3.8/site-packages/alexapy/alexalogin.py", line 119, in __init__
self.set_totp(otp_secret.replace(" ", ""))
File "/usr/local/lib/python3.8/site-packages/alexapy/alexalogin.py", line 241, in set_totp
raise AlexapyPyotpInvalidKey(ex) from ex
alexapy.errors.AlexapyPyotpInvalidKey: Non-base32 digit found

Additional context
Running on Raspberry Pi 4.

Dupe of #1028. Remove and readd the integration.

Dupe of #1028. Remove and readd the integration.

Removed the integration and restarted HA. Then re-added the integration and restarted HA again. Same problem.
I had also previously tried downgrading back to v3.5.1 - also no effect.

Removed the integration and restarted HA. Then re-added the integration and restarted HA again. Same problem.
I had also previously tried downgrading back to v3.5.1 - also no effect.

Did you put the otp in the wrong field?

Did you put the otp in the wrong field?

Please read the link I already provided.

Please read the link I already provided.

I really can't be sure, since there's no way to go inspect those settings. Is there a way to clear the settings and start over? Removing and reinstalling the integration don't seem to do that.
I upgraded after the first HA security bulletin and upgraded to v3.5.0. At that point the normal reauthenticate workflow happened. I elected at that time to contnue with the "put in the 2FA code" method rather than the method where HA could generate the 2FA codes for me. That worked then, though I suppose I could have put something in an incorrect field. As I said, there's no way for me to force that window to appear so I can check, since Reauthenticate is not currently an option:

That's why I said that removing the login information and starting over on that might be the quickest solution. Since it seems the part in the wiki about the pickle file is out of date, I'd be happy to update that section once this is figured out.

I really can't be sure, since there's no way to go inspect those settings. Is there a way to clear the settings and start over? Removing and reinstalling the integration don't seem to do that.
I upgraded after the first HA security bulletin and upgraded to v3.5.0. At that point the normal reauthenticate workflow happened. I elected at that time to contnue with the "put in the 2FA code" method rather than the method where HA could generate the 2FA codes for me. That worked then, though I suppose I could have put something in an incorrect field. As I said, there's no way for me to force that window to appear so I can check, since Reauthenticate is not currently an option:

That's why I said that removing the login information and starting over on that might be the quickest solution. Since it seems the part in the wiki about the pickle file is out of date, I'd be happy to update that section once this is figured out.

If you remove and readd the integration it will remove all the data that is causing the issue for you.

If you remove and readd the integration it will remove all the data that is causing the issue for you.

You have to do it in the integrations page, not HACS.

You have to do it in the integrations page, not HACS.

Aha, that may have helped. Before I saw that, however, I found the hidden .storage folder via SSH, and found the pickle file within it. Moved that aside and was able to reconfigure the integration using the self-generating 2FA method here. Very excited about this! Thank you!

Aha, that may have helped. Before I saw that, however, I found the hidden .storage folder via SSH, and found the pickle file within it. Moved that aside and was able to reconfigure the integration using the self-generating 2FA method here. Very excited about this! Thank you!

I'm going to keep this open as there should have been a proper error message. Apparently it isn't displaying on this config page.
If there's any thing on the wiki that can be improved. Please do.

I'm going to keep this open as there should have been a proper error message. Apparently it isn't displaying on this config page.
If there's any thing on the wiki that can be improved. Please do.


Can't find the files

Hello,
I'm not using npm and now I'm totally lost. I wanted to upgrade to the latest version but I can't find the files I need.
This is what I have (3.1.1), and now it's totally changed...

Thank you !

If you're not using npm then you probably are best off loading the library from a CDN such as jsDelivr or unpkg.

Well, that is not convenient at all for us. Everyone doesn't use NPM...
Was way simpler before, can't make it work.

Just put the JS instead of the ancient version, doesn't work.

It's resolved. I had to add  on my js script call.

Oh nice now this is an object, so much changes.

Going from 3.x to 4.x is a major version change. The whole point of a major version change is that there are breaking changes.

https://semver.org


Cherry trees suffocate plains biomes

They completely overtake said biome, ruining the look. Furthermore, cherry trees were part of their own biome. I suggest using Terrablender to add said biome.
https://www.curseforge.com/minecraft/mc-mods/terrablender-fabric

This was a temporary fix just so we're almost done with a major mod update. And there it has already been fixed.


Failure in wait-for-source-location

When testing the platform BIOS example, I get the error:
*** [fuzz.simics:23] error in '<bp-manager.src-location>.wait-for' command: Failure in wait-for-source-location
[C:\Users\User\Desktop\tsffs\examples\tutorials\edk2-simics-platform\project\fuzz.simics:23] script interrupted; some commands may not have completed properly
Interrupting script.

The error comes from the script-branch portion of the Simics script.
I also tried fuzz2.simics, but it reports this:
Traceback (most recent call last):
  File "<fuzz2.simics:23>", line 1, in <module>
StopIteration
[C:\Users\User\Desktop\tsffs\examples\tutorials\edk2-simics-platform\project\fuzz2.simics:23] error in '@' command
Error - interrupting script.

It seems to be a Python related issue.
I am using a Windows 10 machine.
The Simics build is 2023.31.

I managed to get both working using WSL. However, this is I would not be able to use VMP with Simics if I were to use WSL.
Do let me know if there are any solutions (that does not involve using WSL or Linux!), thank you!

You actually can't use VMP...

I see. Thanks for this insight.

This might reveal some incompatibility. It's also possible that you are working with an older version of TSFFS, the public docs correspond with the public mainline code.

I think you're right. Let me update both Simics and TSFFS on my host and get back to this.

For this specific example, I would expect some solutions to start cropping up in a few minutes to a few hours (randomized fuzzing means randomized time of course).

I see... oddly enough, I've let the fuzzing campaign run for ~3hours with no solutions (and for some reason, only 1 new corpus was generated!) coming up. I was doing this through WSL, but I don't have any reason to believe this should affect the fuzzing too negatively.

Traceback (most recent call last):
File "fuzz2.simics:23", line 1, in
StopIteration
[C:\Users\User\Desktop\tsffs\examples\tutorials\edk2-simics-platform\project\fuzz2.simics:23] error in '@' command
Error - interrupting script.

Investigating further, it turns out that when listing functions from debug_context (which resolves to nt0.ctx3), there are no results in Windows (using Powershell. But CMD would also be the same):

If I were to run the exact same thing in WSL, it works as normally. But, I guess this is an issue with Simics rather than TSFFS
P.S. If it's not too much to ask for -- would it be possible to provide a sample corpus that actually causes a crash? I genuinely have no idea what's causing my fuzzing campaign to... well, not really work out and going against normal expectations 😞

Traceback (most recent call last):
  File "<fuzz2.simics:23>", line 1, in <module>
StopIteration
[C:\Users\User\Desktop\tsffs\examples\tutorials\edk2-simics-platform\project\fuzz2.simics:23] error in '@' command
Error - interrupting script.

WRT this error; it's because my uefi.params file wasn't set properly. The directory where the board (and its other files) was originally built was moved into a separate Simics project folder, which made it such that debug symbols couldn't be found. This caused the filter result to resolve to StopIterator.
I guess the moral of the story would be that if you're using the Dockerfile to generate Simics board file, don't move it out to another directory. Instead, just create a Simics project in the project folder of the tutorial. :smile:

Ah yep that will do it! Thanks for the note, that's a known (to me) limitation but I'll clarify it in the document so nobody else has to suffer through it!
I don't remember when I wrote this tutorial if I was running it with sanitizers. I'll check on and off and see if I can get it to crash/assert quickly. It's possible my injected vulnerability is not good enough without sanitizers.

@novafacing Did you manage to test without sanitisers? I wasn't able to get any crashes after running the fuzzer for ~5 days, and simply gave up.

Yes I tested it, without sanitizers there won't be any crashes (the injected vuln won't crash, but it is a memory safety issue), but DebugAssert will be triggered, so if you got to that part of the tutorial where you have a breakpoint on DebugAssert (and add the breakpoint to the TSFFS config), you should get some solutions this way.
As far as sanitizers, I'll add a page to the tutorial explaining how to enable sanitizers for this case, and maybe I'll update the vulnerability to actually crash.

Yes I tested it, without sanitizers there won't be any crashes (the injected vuln won't crash, but it is a memory safety issue), but DebugAssert will be triggered, so if you got to that part of the tutorial where you have a breakpoint on DebugAssert (and add the breakpoint to the TSFFS config), you should get some solutions this way.

Got it. I'll test this and see how it goes.

As far as sanitizers, I'll add a page to the tutorial explaining how to enable sanitizers for this case, and maybe I'll update the vulnerability to actually crash.

Sounds great. Thanks a lot!

Hey @novafacing, not sure if (or when) going to work on the sanitiser tutorial, but I'm hoping you could give some pointers for the following, especially if the tutorial isn't in the pipeline anytime soon:

How to write the sanitiser (and also, what kind of sanitiser is it?)
Integration of the sanitiser into TSFFS

I'll document this process and share it if I can successfully get it working -- which should save you the work.
A disclaimer: I have no knowledge on how sanitisers for fuzzers work, but I'm in the process of learning so I might have to ask a lot more...


Elasticsearch: Optional Integration

Description
When it comes to UX, users are dying for a search engine in specific apps... who am I kidding. If there are lots of things on a website, especially text-based, then Elasticsearch is the way to go.
Add an optional integration for Elasticsearch. For Docker users, an additional image will be supported for local development. In production, we COULD provide Amazon and Elastic.co Elasticsearch services, but it would need to be decided on. For now, the settings will be included but no docker image will be provided in production.yml.
The reason production.yml will not include this is because Elasticsearch horizontally scales. Additionally, it will hog up a lot of disk space, it's CPU intensive, and network intensive.
Rationale
Many high-end websites and applications that aim to shoot big (while also avoiding Postgres Full-Text Search in case of large data) need a search engine.
Use case(s) / visualization(s)
Search engine and replacement for those trying to use PostgreSQL's Full Text Search on tables that will become humongous.

I've used Elasticsearch in the past and while it's a great tool, I'm not sure it's something I want to be added to Cookiecutter Django. Sure, high-end website might need it, but when you need it, you're probably far into the project, so it feels a bit out scope for us.
Also there are several options for implementing search out there, one might prefer going down the Algolia route, or other engine. This is a bit like the adding React/Vue/Angular/ discussion, this is a bit too subjective, and -as far as I'm concerned- I don't have the expertise to maintain this solution myself.
I would rather encourage people to start with Postgres full text search, which is decent for a lot of people, and maybe add a section in our docs pointing to more advanced external resources if people are not satisfied by it.

Yea, in retrospect, it does seem much. I could probably make a cookiecutter similar template. But I don't want to make another fork in case I open another PR. How would it stay updated with this repository?

As discussed, I'm going to close this, especially since there isn't a lot of interest at the moment.

I could probably make a cookiecutter similar template. But I don't want to make another fork in case I open another PR. How would it stay updated with this repository?

I see what you mean, and unfortunately I don't have a good answer for this. If the cookiecutter CLI was supporting plugin (see https://github.com/cookiecutter/cookiecutter-django/discussions/3483), you could write one that would modify a generated project to add it.


Missing a couple things

Missing shields, spirit ashes and armours

I'll add them to the list of todos. Thanks

Shields have been added

Spirit Ashes have been added

thx

any progress on the armours?

any progress on the armours?

No, I will update this once progress has been made


Progress Indicator's CSS not in main CSS distro (regression from #281)

Unfortunately looks like a regression from #281 ... the latest release seems to have lost it again...

Thanks for catching this, @andrewconnell. Looks like we fixed the issue in our LESS file, but that fix wasn't copied over to the Sass while we still had both.

:+1:


[ui] Edit as yaml not respecting case of keys

Running 2.5-head, when editing a cluster as yaml, at least one key is getting lower-cased when the API/k8s has the field capitalized

Adding my findings from our chat incase we need to revisit.

When looping through the fields to build the yaml we hit the customConfig in the secretsEncryptionConfig it has a type of map[json]. The UI takes that type json and tries to get the resources fields for it by doing a lookup on the schemas loaded into the global store and finds none. We dont have a schema for arbitrary json. All this causes us to fall into a branch where we camelToUnderline the key and grab the data off the field without processing any further here

On an upgrade from 2.4.8 to 2.5-head - commit id: bd660e16 this issue https://github.com/rancher/rancher/issues/30555#issue-771153222 is seen fixed.

On 2.4.8, deploy a cluster, enable custom encryption of secrets on the cluster.
Upgrade rancher server to 2.5-head
Edit cluster --> Edit as yaml --> Modify a value say max Unavailable worker, and save changes made.
The params are sent as is to the API.


Add Weelite LS200z 2 gang smart switch

The light switch is originally from Tuya zigbee gateway via Smart Life.
It shows Heiman as manufacturer and unknown device on model.
100-240v rectangular light switch which can function with or without neutral.
For no neutral circuit, bypass Capacitor can be use in case of flickering light

I'm not sure why the image shows 404 on https://zigbee.blakadder.com/weelite_ls200z.html, the image is already on the correct directory.


feature request: add custom --style argument

Is your feature request related to a problem? Please describe.
A badge has a few style: flat, plastic, flat-square, etc. Maybe it's a good choice to specify via --style custom argument.
flat-square:

flat:

Describe the solution you'd like
via --style argument
Describe alternatives you've considered
Additional context

@liaoliaots thanks for opening the issue/suggestion! Yes, it would be nice to choose between styles since we use from shields.io. I once thought of even creating a markup on HTML to support extra styling alongside the markdown one but I never had the will to do it hahaha anyway, I think this is feasible and I will look into it ASAP, ok?

Works fine. Thank you very much.
(⁎⁍̴̛ᴗ⁍̴̛⁎)(⁎⁍̴̛ᴗ⁍̴̛⁎)(⁎⁍̴̛ᴗ⁍̴̛⁎)


Implement styling mode

Buttons for Undo, Redo, Copy, Paste, Cut, and Delete
Buttons for Italic, Bold, Underline, Strikeout, Supscript, Subscript, and headings
Buttons for zooming
Buttons for mode switching

Abandoning previous idea of having a fixed toolbar. Contextual toolbars should appear when the editor is in styling mode.

[ ] Inline-style toolbar when text is selected, with buttons for Bold, Underline, Italic, Strikeout, Supscript, and Subscript.
[ ] Block-style toolbar when cursor is in a paragraph, with buttons for different size headings, blockquote, and normal text.


Docs: Mention 6.0 before 3.1

In Getting Started Page: https://microsoft.github.io/reverse-proxy/articles/getting-started.html
Note that 5.0 is Out-of-support -- remove it: https://github.com/dotnet/core/blob/main/releases.md

This would be in the 1.1 and latest branches. 3.1 and 5.0 have already been removed from main.

By end of next week we should ship 2.0 RC1, which will override docs. No point in changing 1.1 docs. Closing.


Multiple cs files with backticks

Is this intended?

Its located here:
https://github.com/aspnet/EntityFrameworkCore/tree/dev/src/EFCore/Diagnostics

Yes - they represent the different generic types based on the number of type arguments that they have, each of the back-ticks represents 1 generic type argument.


Version mismatch for 1.20.1

Currently, the 1.20.1 version complains about a version mismatch in game. Any idea why?
https://github.com/Therkelsen/echoes_of_the_wilderness/issues/5

It complains because minecraft didn't have version ranges up until 1.20.2. It should still work fine

Thank you!

The reason there is a version mismatch is because the pack_format should be set to 15 (1.20.x).  If the pack_mcmeta is updated from 8 to 15, the warning goes away.  This is a very common issue with forgetting to increment the pack version each release.


"No images matching" message does not really disappear when performing new another search

Steps to reproduce:

Open search
Type some long random word
As expected, the "No images matching" message appears
Now erase and type "nice"
Results appear
Scroll fast downward
Under the non-yet loaded images, you can see the error message left from step 3

Commons app version:
2.7.1-debug-rename-featured
Screen-shots:

Yup, I also tested this issue is there. thanks for telling I will fix it.

Fixed, thanks!


Android Support

The var deviceScreen = React.NativeModules.UIManager.Dimensions.window module is not available in Android, and therefore needs to be updated.
Looking into what's necessary for a PR. Filing for book keeping.
cc @danscan

+1 I have not used react-native android yet, but I will gladly merge a PR that adds support!
As a side note I have been wanting to improve the way dimensions are handled especially as it pertains to device reorientation. Let me know what you find.

I just fixed the dimensions issue by replacing it with the new Dimensions.get('window') https://github.com/rt2zz/react-native-drawer/commit/da784c642cdbb7c9a992a27e27c13437a9aba17a
However in my test app the drawer seems to be buggy / extremely slow. It may be just an emulator issue. Let me know if you find out anything...

Just added support in v1.3.0, let me know how that goes

Awesome, thanks. I'll pull it shortly.
—Justin Makaila
On Wed, Sep 16, 2015 at 10:13 PM, Zack<EMAIL_ADDRESS>wrote:

Just added support in v1.3.0, let me know how that goes
Reply to this email directly or view it on GitHub:
https://github.com/rt2zz/react-native-drawer/issues/28#issuecomment-140943949

I installed 1.3.0, but I'm getting the same error I was with the old version:

Oops, after looking through my node_modules, I saw that there was another copy of react-native-drawer pointing to the wrong version.
After restarting the packager, everything seems to work.
It is a bit choppy, but the initial issue is closed. Thanks!

Ya, I see the chop too. I am hoping it is an emulator thing, but open to suggestions!

@rt2zz Have you considered using the Animation API rather than doing that all manually?
cc @danscan

Yes, I think Animated is probably the future here, although I am not certain this will help performance much as we already use requestAnimationFrame + setNativeProps. I made another issues to track performance improvements: https://github.com/rt2zz/react-native-drawer/issues/29


wip: docs: add section about k8s deployment and the upcoming docker deprecation

What type of PR is this?
/kind content
Any specific area of the project related to this PR?
/area documentation
What this PR does / why we need it:
This adds a new docs section Deployment nested under Getting Started. For now, this provides basic guidance to start deploying Falco in Kubernetes clusters.
Additionally, this introduces a small note about the recent deprecation of Docker in Kubernetes and how Falco is affected by it.
Which issue(s) this PR fixes:
Special notes for your reviewer:

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: jasondellaluce
To complete the pull request process, please assign radhikapc after the PR has been reviewed.
You can assign the PR to them by writing /assign @radhikapc in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

LGTM label has been added.  Git tree hash: 3224d40da4638d21b1c1185bf1fd73290eaa7198

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: jasondellaluce, leogr
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [leogr]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Use file mime type to set Content-Type and blob.type

Setting these values correctly helps the browser and possible end user detect what type of file is being read.
The ~service worker~ fetch() method should set the Content-Type header for responses that are for files in the torrent.
Also when blobs are created we should also construct the blob with the correct mime type.
The very helpful mime npm can do the mime type detection

One possible implementation would be to add a mime property to File, and when File.getBlob() is called, set the blob's mime type to the value of file.mime. Then in fetch(), set the Reponse header based on blob.type.

After perma-torrent is integrated into Planktos, all that is left to do is assign the Content-Type header using the mime type

When we map requests for files from the actual file paths to the file hashes in the Planktos directory, we lose information regarding the file extension.... So the responsibility for detecting mime types needs to be in Planktos, not aether-torrent


[BUG] Triple placement of files in S3

Describe the bug
Triple placement of files in S3 (check timestamps). All are duplicates of each other.

Egress Version
Python SDKs:
livekit                                            0.18.0
livekit-agents                                     0.11.1
livekit-api                                        0.7.1
livekit-protocol                                   0.6.0
Egress Request
async def start_room_egress(agent_type: str, room_name, participant_sid):
req = api.RoomCompositeEgressRequest(
room_name=room_name,
layout="speaker",
preset=api.EncodingOptionsPreset.H264_720P_30,
audio_only=False,
)
req.file_outputs.extend([api.EncodedFileOutput(
filepath=f"{participant_sid}.mp4",
s3=api.S3Upload(
access_key=os.getenv('S3_LIVEKIT_BUCKET_ACCESS_KEY'),
secret=os.getenv('S3_LIVEKIT_BUCKET_SECRET'),
bucket="",
region="",
)
)])
if agent_type == "realtime":
lkapi = api.LiveKitAPI(
url=os.getenv('RTA_LIVEKIT_URL'),
api_key=os.getenv('RTA_LIVEKIT_API_KEY'),
api_secret=os.getenv('RTA_LIVEKIT_API_SECRET')
)
elif agent_type == "four_models":
lkapi = api.LiveKitAPI(
url=os.getenv('FMA_LIVEKIT_URL'),
api_key=os.getenv('FMA_LIVEKIT_API_KEY'),
api_secret=os.getenv('FMA_LIVEKIT_API_SECRET')
)
res = await lkapi.egress.start_room_composite_egress(req)
Additional context
Add any other context about the problem here.
Logs
Post any relevant logs from the egress service here.

these are different files. nothing is duplicated here.

@davidzhao ids are different but content is the same. Triple checked that. Here's another example of a different interview:

the file sizes and timestamps look different to me.. what are you seeing that I'm not?

We do not store the files on our side. They are uploaded directly to your bucket. these are two different participantIDs and to me that means the Egress API is working correctly.


Add option to mark a song as Intrumental

How you think the new feature/improvement would be helpful, or what problem you think it would solve.

Tell user and openlyrics to not search for lyrics
User can now search their library using LANGUAGE IS Instrumental.
By adding value Instrumental to LANGUAGE (TLA,TLAN) and LYRICS,SYNCEDLYRICS (USLT,TXT,SLT,SYLT) fields.
If a song fails to search for lyrics and user notices if it is a Instrumental song. They can then right click and Mark it as Instrumental.
EDIT: Muixmatch also have this info https://www.musixmatch.com/lyrics/Polyphia/G-O-A-T

Please use the templates I've setup for features and bug requests. They were created for a reason and I have explained this to you already. If you continue to blatantly ignore the templates you will be blocked from the repo.
You can already mark a track as instrumental and OpenLyrics will not download lyrics for these tracks and will show its own text instead. It currently does not store this information on the track (see the discussion in #129). I would, however, be willing to make it set some non-lyric metadata field (such as language) if there is precedent to do so. Can you provide any evidence that this is a common or official use of that field?

Can you provide any evidence that this is a common or official use of that field?

LANGUAGE field - MARC Code zxx is used to tell no linguistic context (https://www.musiclibraryassoc.org/mpage/mdr_IIIF)
Why not also add it to LYRICS field?

Please use the templates I've setup for features and bug requests.

Updated

If you continue to blatantly ignore the templates you will be blocked from the repo.

That is rude I am contributing to the project

You can already mark a track as instrumental and OpenLyrics will not download lyrics for these tracks and will show its own text instead. It currently does not store this information on the track (see the discussion in https://github.com/jacquesh/foo_openlyrics/issues/129). I would, however, be willing to make it set some non-lyric metadata field (such as language) if there is precedent to do so.

Why not add it in LYRICS field too.

Can you provide any evidence that this is a common or official use of that field?

LANGUAGE field - MARC Code zxx is used to tell no linguistic context (https://www.musiclibraryassoc.org/mpage/mdr_IIIF)

That is rude I am contributing to the project

I don't think I'm being rude. I'm trying to setup processes to protect my time and I want people to at least put a little effort into following them. If they do not I need to take some action otherwise what was the point of setting up the processes to begin with? I value your bug reports and feature requests when they've been thought through, fit the project and add significant value but between the large quantity of feature requests you make and the small amount of explanation given for most of them, it sometimes feels as if you're being rather spammy. I'm sure that's not your intention, I'm just saying that that is how it comes across sometimes. Making essentially the same post 5 days apart and tagging me in the second one (presumably in an effort to get my attention) is another example of this. Please do not do that, I saw your first post.

Why not add it in LYRICS field too.

Because it's not lyrics. I have yet to be convinced that I should use lyric storage to store "There are no lyrics".

Because it's not lyrics. I have yet to be convinced that I should use lyric storage to store "There are no lyrics".

It is show user that the song is instrument and they will not wait for lyrics to load
Tell user and openlyrics to not search for lyrics

@jacquesh More people are interested in Mark as Instrumental behavior
https://www.reddit.com/r/foobar2000/comments/y35b04/comment/is7aevb/?context=3
Maybe be if you post you self more people will give thier opinion. Not everyone has GitHub

This would actually be covered by #202 (you can configure whatever filter you link to skip instrumental tracks). It wouldn't set any particular tags on the track, but at least openlyrics would behave in the desired fashion and each user can configure the exact set of conditions that they'd like to use to automatically skip lyric searches (which I'm taking as roughly-equivalent to considering the track to be instrumental).

This would actually be covered by #202 (you can configure whatever filter you link to skip instrumental tracks). It wouldn't set any particular tags on the track, but at least openlyrics would behave in the desired fashion and each user can configure the exact set of conditions that they'd like to use to automatically skip lyric searches (which I'm taking as roughly-equivalent to considering the track to be instrumental).

Users are locked in f2k-openlyrics environment locked.
People use f2k to manage metadata.
People listen on many devices.
people share files with others.
People use f2k as server DLNA.


Using loss as a function of data with sciml_train

Currently it seems that sciml_train, in contrast to Flux.train!, expects the loss to be a function of the parameters and not the data.
I was wondering if it's a good idea to allow users to provide a similar interface to Flux.train! where you pass a loss function and data. Might also make mini-batching (#133) easier.
If the loss has to be a function of the parameters deep down then maybe I could write a simple
sciml_train(loss, θ, data, opt, ...)

wrapper that constructs an appropriate loss function and pass it to the current sciml_train.

I am not sure data should be in the training function. I think it can just be enclosed in the loss function, since it is required to be treated as constant?

Ah hmmm, I was hoping to scale sciml_train to 100,000+ training data pairs but if the data is treated as constant, is mini-batching possible?

I guess the loss function could select some subset of the data to compare against but not sure how well that would train. Also seems cleaner to reduce the number of globals floating around.

It would train the same as Flux.train! which also treats the data as constants in terms of differentiation. You can reduce the number of globals just by enclosing the data.


Add Haddock module descriptions

Adds Haddock module description documentation to all grpc-mqtt library modules. I also removed redundant {-# LANGUAGE ImportQualifiedPost #- pragmas since we enabled the  ImportQualifiedPost extension by default.

@riz0id I think you should also update the version from <IP_ADDRESS> to 1.0.0 to match your comments. But, generally, I agree we're at a 1.0.0 version now.

@ixmatus Thanks for catching that, I've fixed it in #59.


blightmud-tts: 4.0.0 -> 5.0.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/blightmud/blightmud/releases.
meta.description for blightmud-tts is: "A terminal MUD client written in Rust"
meta.homepage for blightmud-tts is: "https://github.com/Blightmud/Blightmud"
meta.changelog for blightmud-tts is: ""
Updates performed

Rust version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 5.0.0 with grep in /nix/store/ap68kf13zlbhhcim20gb6cahvr610hrf-blightmud-5.0.0
found 5.0.0 in filename of file in /nix/store/ap68kf13zlbhhcim20gb6cahvr610hrf-blightmud-5.0.0

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath
blightmud
blightmud-tts

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/ap68kf13zlbhhcim20gb6cahvr610hrf-blightmud-5.0.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A blightmud-tts https://github.com/r-ryantm/nixpkgs/archive/5c40ee5c6d6c46a967dc759651e8a4ac62e8b540.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/ap68kf13zlbhhcim20gb6cahvr610hrf-blightmud-5.0.0
ls -la /nix/store/ap68kf13zlbhhcim20gb6cahvr610hrf-blightmud-5.0.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

2 packages built:

blightmud
blightmud-tts

Maintainer pings
cc @cpu for testing.

Duplicate of https://github.com/NixOS/nixpkgs/pull/198960 - should be closed.


chore: set the nStartTime for v19 deployment Fed 22 and April 2 respectively

Issue being fixed or feature implemented
What was done?
How Has This Been Tested?
Breaking Changes
Checklist:

[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have added or updated relevant unit/integration/functional/e2e tests
[ ] I have made corresponding changes to the documentation

For repository code-owners and collaborators only

[x] I have assigned this pull request to a milestone

Don't we need the timeout to be set too?

For Mainnet only

3rd.. utACK

So you don't want me to point out the inconsistent whitespace preceding the comments?? :slightly_smiling_face:

3rd.. utACK

So you don't want me to point out the inconsistent whitespace preceding the comments?? 🙂

I'll give you 1 DASH if you don't :)

LOL

4th..utACK

I'm glad you don't average 1.333 utACKs per changed line of code on every PR :sweat_smile: :trollface:


Update CactusBuilder from core:invalid

Located in: core:invalid
Part of: builders
This is part of the upgrade process for Sponge and is likely involving some work and investigation.
Advice and tips include:

Sometimes things are just a simple method name change
Might be a new class or field
Understanding what the original intention of the target code had
Analyzing whether the functionality achieved by the target class/mixin still exists
Understanding the new functionality in the new Minecraft version that requires rewriting for the functionality
The SpongeAPI usage could very well have gone missing out the window if functionality was deemed unnecessary for release

Closed in https://github.com/SpongePowered/SpongeCommon/commit/c4781d0bd176182a0dedfbf9551f409e69fef2e4


FieldSchema: support for 'db_column' option

It would be nice if user could specify the db_column option for FieldSchema.
I need uppercase field names and as workaround I have to monkey patch the get_options method to inject the db_column option.

@pyMan the 0.4 release will include a major change in the way field schema are defined. A class path and a JSON field of kwargs will be used to construct the dynamic model's Field instances.
I believe this should support your use case. The master branch is updated but there are still some things to clean up that I haven't gotten around to yet.

@rvinzent  ok thank you. Just afraid of JSONField is not supported by all databases, like mssql.

@pyMan in the latest versions of Django, JSONField was moved into the core fields. I believe they were able to do this because there is now broad database support in most or all of their supported backends.


github exporter in readme

Your readme contains example code from infinityworksltd/github-exporter

Thanks for the heads up @krukru. It's based on the same codebase originally. I've removed that info now, we don't actually host the image on our github like the other exporters due to the requirement to store the key with the script.


not support laravel

i use this in laravel its doesnt work

Add  blade to the  supported languages:
"tailwind-fold.supportedLanguages":["html","blade"],

Add blade to the supported languages:
"tailwind-fold.supportedLanguages":["html","blade"],
where should I put this line? in 'settings.json' ?


[Documentation]: Workflows visualization

Documentation Issue Description
should be draw_all_possible_flows instead of draw_all_possible_paths?
https://github.com/run-llama/llama_index/blob/fcc764a22052eb1bb3bc66caca10214906b63816/docs/docs/module_guides/workflow/index.md?plain=1#L152-L163
Documentation Link
https://docs.llamaindex.ai/en/latest/module_guides/workflow/#drawing-the-workflow

@dosu
don't think so. draw_all_possible_paths returns ImportError.
ImportError: cannot import name 'draw_all_possible_paths' from 'llama_index.core.workflow' (/usr/local/lib/python3.10/dist-packages/llama_index/core/workflow/__init__.py)

you should check again below.
https://github.com/run-llama/llama_index/blob/fcc764a22052eb1bb3bc66caca10214906b63816/llama-index-core/llama_index/core/workflow/__init__.py#L16-L29

fixed in #15154
closed


NOOB: Possible problem with headerlinks and character?

I see a strange char instead of the ctrl in the search widget and headerlinks are always visible (this does not happen with other themes and is also different from what I see in the sphinxawesome site): what am I missing?
Thanks!
Currently installed version 5.1 On Windows 10 with python 3.12
BTW ... very nice theme!

Thanks a lot: easy enough for a noob like me :)

Hi Kai,
another question: would it be 'easy' changing the size of the font for sections such as those provided by the directive literalinclude where (pieces) of files are included?
Thanks a lot!
On Wednesday, February 14, 2024 at 07:16:01 PM GMT+1, Kai Welke<EMAIL_ADDRESS>wrote:

Thanks for your kind words. I love these questions!
About the icon in the search. Sorry, that's probably hard coded in DocSearch and only appeals to Mac users! It's a shame that there's no icon for the Ctrl key on Windows. I hope Ctrl+K still works (don't have Windows to test). I'm going to have to think about a more portable way to display this.
About the headerlinks. I made this for better keyboard navigation (accessibility).
Many themes I evaluated do allow you to hover over the headerlink and then select or right click to copy its URL, but when you press Tab to cycle through the links, they don't work.
I implemented it so that both mouse and keyboard users can use this functionality.
To get the same links as on the website, add the following to your conf.py:
add the top
from sphinxawesome_theme.postprocess import Icons
...
html_permalinks_icon = Icons.permalinks_icon
But you can also do: html_permalinks_icon = # if you like that more.
What's important is that the character is not directly a character, but wrapped in a span (or in the case of an icon, a svg tag). I should probably add this to the docs.
The reason why you have to do this extra is ... laziness. It's a lot of code to maintain just to effectively change one line AND make it configurable with Sphinx's default behavior.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>


publish this library to https://packagist.org/

This library should be available and installable through https://packagist.org/

done, see https://packagist.org/packages/owncloud/ocis-php-sdk


Fix render bug for dark mode on page change

When in dark mode, when a user changes pages, there is a brief flash of the light mode styles before the dark mode styles are applied.

Fixed by commit ad23387ec76b29111b169ba93e435b5e8bedb28d


load tag id asyncronous

Hello,
i need to get the googletag id with an ajax call and then load the plugin, is it possible?
Thank you

The documentation is confusing. The documentation seems to imply that you must provide the google tag id even if bootstrap is false.

If you read the example after that, you will see that is possible to add it later https://matteo-gabriele.gitbook.io/vue-gtag/custom-installation#set-options

Okay that was rather confusing, it looks like the first section is implying that you must have it. So I just didn't bother reading further since it was clear it was required when bootstrap is false.

@joshjung Please, feel free to create an issue and suggest better documentation: this one is far from being perfect


stm32h7:SPI Fix 16 bit SPI mode

@dagar - for testing

Waiting Upstream PR https://github.com/apache/incubator-nuttx/pull/3167
This will become the BACKPORT PR


Branch variables in permyscript

{ "ps": "This is (some|a bit of) text with a branch link for (:emojis) right here." }

Would reference
"emojis": { "ps": "(🥑|🥗|🥙|🥕|🌱|🥦|🥬|🥒|🫑)" }

Making it equivalent to
{ "ps": "This is (some|a bit of) text with a branch link for (🥑|🥗|🥙|🥕|🌱|🥦|🥬|🥒|🫑) right here." }

Different syntax idea, but written out here: https://permy.link/psideas


Does it support XS 6.0?

The old VI option is removed from XS 6.0. Does this support 6.0? Is it also available in the addin site?

Honesty, I have no idea. I tried to use the addin built for 5.10 but apparently you can't load them as there's a version dependant reference to 5.10 assemblies. Also I can't build add-ins on XS because I couldn't find an easy way to get the development assemblies on Windows.
I plan to publish it on the addin site once it has been tested enough by more people than me with different configurations. Possibly fixing some annoying bugs and adding more common navigational bindings before.
Removal of the old Vi option and the buggy behavior of it was a big motivator to start this addin and contribution are more than welcome when they are within the scope of the project. Anything related to NormalEditMode's behavior is a safe bet.

I have now had the possibility to have a look at MD/XS 6.0 and the required changes are major but doable and are the highest priority right now so that we have a Vi mode ready when it is released.
Thanks for bringing this to my attention.

Commit  f93548a407e1059eb4c00b093944eb9d72545681 ports the add-in to MD/XS 6.0.

So I should be able to clone the repo and try this with XS 6.0?

Yes, this compiles and runs on XS 6.0 now.


trivial test change

Travis failed on another change https://travis-ci.com/github/staticjinja/staticjinja/jobs/432518821, trying to figure out if that's a real problem or if something with Travis/tox changed.

lol, definitely a problem with my other PR. This one's fine.


Test: RATA Summary DTO RATA-16 (Import)

The scope of this ticket is to address the following RATA Summary DTO Checks
This works for the Rata Summary endpoint, but not the Import endpoint
QA and Certification Data Checks

[x] RATA-16 - Reference Method Code Valid (Results A and B)

Original Ticket: QA & Cert: RATA Summary DTO Checks #4115

Test Case: TC1014
Test Passed


Hour card test

tests for the hour and day card are written.... but they dont pass. Ugh!!!!

Hey, we're doing something


B 18735 int auto check the move management box

B-18735
Summary
When approving a shipment as a TOO the Move Management checkbox should be automatically checked by default and cannot be unchecked. This will ensure Move Management service will be added to each move.
Verification Steps for the Author
These are to be checked by the author.

[ ] Tested in the Experimental environment (for changes to containers, app startup, or connection to data stores)
[ ] Have the Agility acceptance criteria been met for this change?

Verification Steps for Reviewers
These are to be checked by a reviewer.

[ ] Has the branch been pulled in and checked out?
[ ] Have the BL acceptance criteria been met for this change?
[ ] Was the CircleCI build successful?
[ ] Has the code been reviewed from a standards and best practices point of view?

Setup to Run the Code

Instructions for starting storybook
Instructions for starting the MilMove application
Instructions for running tests

How to test
Test without Counseling Fee

Login as a Customer and create a new HHG shipment
Submit the shipment
Login to Office app as a Service Counselor and approve the HHG shipment
Login to Office app as a TOO
Select the HHG shipment
Verify the Move Management checkbox is selected and disabled
Check the HHG checkbox above the Move Management checkbox and verify the Approve button is enabled
Click the Approve button

Test with Counseling Fee

Login as a Customer and create a new HHG shipment using Mayport, FL, 32233 as the pickup and destination and duty locations to ensure the shipment will be sent for GHC Counseling
Submit the shipment
Login to Office app as a TOO using CNNQ for GBLOC
Select the HHG shipment
Verify the Move Management checkbox is selected and disabled
Optionally check the box for Counseling
Check the HHG checkbox above the Move Management checkbox and verify the Approve button is enabled
Click the Approve button

Frontend

[ ] There are no aXe warnings for UI.
[ ] This works in Supported Browsers and their phone views (Chrome, Firefox, Edge).
[ ] There are no new console errors in the browser devtools.
[ ] There are no new console errors in the test output.
[ ] If this PR adds a new component to Storybook, it ensures the component is fully responsive, OR if it is intentionally not, a wrapping div using the officeApp class or custom min-width styling is used to hide any states the would not be visible to the user.
[ ] This change meets the standards for Section 508 compliance.

Screenshots

Warnings

:warning:
This PR does not include changes to unit tests, even though it affects app code.

  Generated by :no_entry_sign: dangerJS against fd84307d378a5e26ce77ee7a899c8910b7d25b89

Works nicely


Fix issue #274

This should fix #274. This is still broken when using official python releases, but the version of python bundled with the macOS 11 Beta (a modified version of 3.8.2) has fixes for some of the issues caused by changes in Big Sur. The appropriate version of python should be found in /usr/bin/python3.

Out of curiosity, will this affect older Mac operating systems?
As long as they can still pick up the library, this should be fine.

Out of curiosity, will this affect older Mac operating systems?
As long as they can still pick up the library, this looks fine.

I tested this on a MacBook Pro running macOS 11.0 Beta 9 and a MacBook Air running macOS 10.14.6 and both worked fine, however I should mention that I only tested them with an extremely simple program

The original code was necessary at some point, but I can't say how long ago that was. It would be good to get confirmation from someone running one of the older 10.X releases as well.
I had a look at the ctypes.util.find_library function, and it seems that it should already be looking in the Frameworks path - at least as far back as Python 2.7. It's possible that this custom loader code was necessary on legacy python releases, as pyglet did support older versions than 2.7 in the past.

Hi - any update on this?

Hi, unfortunately this fix doesn't work for me on macOS Big Sur (11.0.1). Traceback:
`
Traceback (most recent call last):
File "/Users/ebolotin/opt/anaconda3/lib/python3.8/site-packages/gym/envs/classic_control/rendering.py", line 25, in
from pyglet.gl import *
File "/Users/ebolotin/opt/anaconda3/lib/python3.8/site-packages/pyglet/gl/init.py", line 84, in
from pyglet.gl.lib import GLException
File "/Users/ebolotin/opt/anaconda3/lib/python3.8/site-packages/pyglet/gl/lib.py", line 123, in
from pyglet.gl.lib_agl import link_GL, link_GLU, link_AGL
File "/Users/ebolotin/opt/anaconda3/lib/python3.8/site-packages/pyglet/gl/lib_agl.py", line 43, in
gl_lib = pyglet.lib.load_library(framework='/System/Library/Frameworks/OpenGL.framework')
File "/Users/ebolotin/opt/anaconda3/lib/python3.8/site-packages/pyglet/lib.py", line 124, in load_library
return self.load_framework(kwargs['framework'])
File "/Users/ebolotin/opt/anaconda3/lib/python3.8/site-packages/pyglet/lib.py", line 283, in load_framework
raise ImportError("Can't find framework %s." % path)
ImportError: Can't find framework /System/Library/Frameworks/OpenGL.framework.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "test.py", line 12, in
env.render()
File "/Users/ebolotin/opt/anaconda3/lib/python3.8/site-packages/gym/core.py", line 240, in render
return self.env.render(mode, **kwargs)
File "/Users/ebolotin/opt/anaconda3/lib/python3.8/site-packages/gym/envs/classic_control/cartpole.py", line 174, in render
from gym.envs.classic_control import rendering
File "/Users/ebolotin/opt/anaconda3/lib/python3.8/site-packages/gym/envs/classic_control/rendering.py", line 27, in
raise ImportError('''
ImportError:
Error occurred while running from pyglet.gl import *
HINT: make sure you have OpenGL install. On Ubuntu, you can run 'apt-get install python-opengl'.
If you're running on a server, you may need a virtual frame buffer; something like this should work:
'xvfb-run -s "-screen 0 1400x900x24" python <your_script.py>'
`

@ebolotin6 what version of python are you using? It looks like you are using an install of 3.8, which currently won't work unless you are using the version of python bundled with macOS (3.8.2, which can be found in /usr/bin/python3). There are still fixes that need to be made to the ctypes standard library for my modifications to work when using python 3.8 and 3.9. These changes are still in the process of being backported currently

@jerekshoe - I am using python 3.8.3. Thanks for explaining the current situation. Looks like I'll revert back to Catalina for the time being. I don't want to mix system Python on Big Sur with a ton of packages. Let me know if you need me to test any updates in the future.

@jerekshoe use Bootcamp for a time being :)

@ebolotin6 use Bootcamp for a time being :)

@cosmir17 - great idea regarding bootcamp!! Btw - does it work on Ubuntu?

Hi :) @ebolotin6 I changed my mind. I don't usually use a VM locally. I run an AWS instance(+ GPU) and connect it via VNC. It's working. I use 'Amazon Linux 2' Image.
https://github.com/ponty/PyVirtualDisplay/issues/42
https://github.com/openai/baselines/issues/235
https://serverfault.com/questions/344793/install-xvfb-via-yum-yum-repository-for-xvfb
P.S. if you are interested in using VNC
https://aws.amazon.com/premiumsupport/knowledge-center/ec2-linux-2-install-gui/

@ebolotin6 the issues seen should only be with Big Sur (macOS). This code should continue to work on other OSes as it did before.

Works fine for me on latest Catalina.

Thank you very much everyone for the testing, and confirmation.

I am still running into this issue, running Mac OS Big Sur v11.0.1 (20B29). I am using the Python interpreter located in /usr/local/bin/python3 - Python 3.8.2 64-bit. I ran a test after reading the comment from @jerekshoe about using the bundled version, using the version located in /usr/bin/python3 - in which on my system is Python 3.7.3 64-bit. I used a virtualenv for this test, but it did not manage to locate the OpenGL Framework in this test neither.
Does someone know about a way of fixing this, getting to actually locate the right location of the framework, without downgrading to Catalina? Any help would be appreciated.

@Martinnilsen99 This is with 1.5.10? If so, what exact error?

I get the following error, using 1.5.10:
>  pip freeze | grep pyglet
pyglet==1.5.10

> python agent.py -t
0it [00:00, ?it/s]Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/gym/envs/classic_control/rendering.py", line 25, in <module>
    from pyglet.gl import *
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pyglet/gl/__init__.py", line 95, in <module>
    from pyglet.gl.lib import GLException
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pyglet/gl/lib.py", line 147, in <module>
    from pyglet.gl.lib_agl import link_GL, link_GLU, link_AGL
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pyglet/gl/lib_agl.py", line 43, in <module>
    gl_lib = pyglet.lib.load_library(framework='OpenGL')
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pyglet/lib.py", line 124, in load_library
    return self.load_framework(kwargs['framework'])
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pyglet/lib.py", line 257, in load_framework
    raise ImportError("Can't find framework %s." % name)
ImportError: Can't find framework OpenGL.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "agent.py", line 236, in <module>
    argh.dispatch_command(main)
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/argh/dispatching.py", line 306, in dispatch_command
    dispatch(parser, *args, **kwargs)
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/argh/dispatching.py", line 174, in dispatch
    for line in lines:
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/argh/dispatching.py", line 277, in _execute_command
    for line in result:
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/argh/dispatching.py", line 260, in _call
    result = function(*positional, **keywords)
  File "agent.py", line 167, in main
    env.render()
  File "/Users/martinnilsen/Onedrive - NTNU/Fag/Dataingeniør 3. år/Høst 2020/TDAT3025 - Anvendt maskinlæring med prosjekt/Maskinlæringsprosjekt/code/utils.py", line 76, in render
    return self.env.render(mode)
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/gym/core.py", line 240, in render
    return self.env.render(mode, **kwargs)
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/gym/envs/atari/atari_env.py", line 152, in render
    from gym.envs.classic_control import rendering
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/gym/envs/classic_control/rendering.py", line 27, in <module>
    raise ImportError('''
ImportError:
    Error occurred while running `from pyglet.gl import *`
    HINT: make sure you have OpenGL install. On Ubuntu, you can run 'apt-get install python-opengl'.
    If you're running on a server, you may need a virtual frame buffer; something like this should work:
    'xvfb-run -s "-screen 0 1400x900x24" python <your_script.py>'

Can you try with latest python 3.9?

@einarf this issue will persist for Big Sur users on any version of python other than the bundled one for the moment. There is currently work being done to back port all of the changes made to support Big Sur into 3.9 PR and 3.8. Until those are finished the only version of python that will work with pyglet is the 3.8.2 that should be bundled with Big Sur.

@einarf @jerekshoe Do any of you know which of these being bundled with Big Sur?

Seems to be having two versions of 3.8.2, and currently using the default python3 in which I believe is the one located in /usr/local/bin/python3

'Brew' pythons use path /usr/local/bin.
I think, /System/Library/ & /usr/bin/python ones are Mac bundled ones..? Please someone confirm on this.

From what I can tell, /Library/Frameworks is the same as /usr/local/bin/python3 per Docs. /System/Library/Frameworks and /usr/bin/python are the same as well (Python 2.7).  I'm not sure where the /usr/bin/python3 live however, and this is the one that is important because apple bundled a custom build with Big Sur that includes changes that aren't in any of the current python releases.

@cosmir17 @jerekshoe Tried running it with the /Library/Frameworks version, and as you said its seems to be exactly the same.

@Martinnilsen99 could you see what the output of this command is:
xcode-select --version

I did uninstall the application Xcode a few days ago, is it possible that I'm getting the error because of this? I've checked the directory tree of the framework and it's identical to the tree stated in the linked issue.

@Martinnilsen99 if you don't mind doing some experimenting, I'd be curious to see what version you end up with if you run this:
sudo rm -rf /Library/Developer/CommandLineTools
xcode-select --install

This will remove your Command Line Tools package and reinstall it. This should move you from python 3.7.3 -> 3.8.2

See #307

@jerekshoe This fixed it! Stumbled upon some problems regarding modules being placed in the path for another version, and not being able to install them somewhere else as they already existed there - but copied it from one folder to another and it worked like a charm. Thank you for the help!

@Martinnilsen99 No problem, I'm really glad that worked for you!


Using wasi-sdk-20 pre-release on Ubuntu 20.04

Hello,
In a GitHub action job on Ubuntu 20.04, I'm trying to use the wasi-sdk-20 pre-release, but I'm getting the following eror:
/opt/wasi-sdk/bin/clang: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /opt/wasi-sdk/bin/clang)
/opt/wasi-sdk/bin/clang: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /opt/wasi-sdk/bin/clang)
/opt/wasi-sdk/bin/clang: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /opt/wasi-sdk/bin/clang)

Is there any planned fix to support older versions of glibc?
Thanks

@yamt had mentioned this in a comment previously, but I personally was not too interested in maintaining compatibility with a bunch of old glibc versions ("how far to go back?" "would this cause friction with future integration?" etc.). IIUC, this boils down to using Ubuntu's 20.04 image during compilation instead of 22.04; I don't understand what restrictions are preventing other projects from also using 22.04? Is this request of wasi-sdk just a symptom of another issue somewhere else? That being said, I'm actually not opposed to supporting some older versions of glibc, though; I would gladly review PRs along these lines if we figure out a limit to the versions supported and it meshes with the work I did to script the release process in https://github.com/WebAssembly/wasi-sdk/pull/295.

@yamt had mentioned this in a comment previously, but I personally was not too interested in maintaining compatibility with a bunch of old glibc versions ("how far to go back?" "would this cause friction with future integration?" etc.). IIUC, this boils down to using Ubuntu's 20.04 image during compilation instead of 22.04; I don't understand what restrictions are preventing other projects from also using 22.04? Is this request of wasi-sdk just a symptom of another issue somewhere else? That being said, I'm actually not opposed to supporting some older versions of glibc, though; I would gladly review PRs along these lines if we figure out a limit to the versions supported and it meshes with the work I did to script the release process in #295.

as far as i know, no one is asking "compatibility with a bunch of old glibc versions".
just a compatibility with commonly used distributions like ubuntu 20.04.
it's normal for people not want to upgrade the OS. (after all, it's the whole point of LTS versions i guess.)

Ok, now that #307 is merged should we close this? I will use the older versions in the wasi-sdk-20 release but if anyone wants it earlier then I could replace the artifacts in the wasi-sdk-20+threads pre-release with the older version.

Ok, now that #307 is merged should we close this? I will use the older versions in the wasi-sdk-20 release but if anyone wants it earlier then I could replace the artifacts in the wasi-sdk-20+threads pre-release with the older version.

i want it "soon".
i have no idea when wasi-sdk-20 will be.

@eloparco, can you try out the wasi-sdk-20 release? It's binaries should be created from a tree that includes #307.

Thanks! I tried it and it seems to work: https://github.com/bytecodealliance/wasm-micro-runtime/pull/2095


istioctl analyze should print on broken files, but try to continue

For unparseable resources or unreadable files, istioctl analyze should print a message but try to continue reading & analyzing what else it can.
Mostly solves https://github.com/istio/istio/issues/18124. The exit code part will be solved soon also.

@sushicw: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

lint_istio
7ed380e264149be8c1c85f82dc1fc2718ba5ab86
link
/test lint_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@sushicw: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

lint_istio
7ed380e264149be8c1c85f82dc1fc2718ba5ab86
link
/test lint_istio

pilot-multicluster-e2e_istio
7ed380e264149be8c1c85f82dc1fc2718ba5ab86
link
/test pilot-multicluster-e2e_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@sushicw: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

pilot-multicluster-e2e_istio
7ed380e264149be8c1c85f82dc1fc2718ba5ab86
link
/test pilot-multicluster-e2e_istio

integ-mixer-k8s-tests_istio
8d6d6f77f25f79593650d32fd17b883639addce9
link
/test integ-mixer-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@sushicw: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

integ-mixer-k8s-tests_istio
8d6d6f77f25f79593650d32fd17b883639addce9
link
/test integ-mixer-k8s-tests_istio

pilot-e2e-envoyv2-v1alpha3_istio
8d6d6f77f25f79593650d32fd17b883639addce9
link
/test pilot-e2e-envoyv2-v1alpha3_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test pilot-e2e-envoyv2-v1alpha3_istio

/cherrypick release-1.4

@sushicw: new pull request created: #18301

In response to this:

/cherrypick release-1.4

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.


ESV API Support

If you aren't interested in taking this on, I might. There's an official English Standard Version API. Though not my 100% preferred translation, it's a reasonable one that I do sometimes read. It would require some setup to use, with the end user providing an API key.
It has lots of options, none of which conform to the open-bibles API. 😆 So it would be an entirely separate implementation.

I was thinking to build a simple rest api relay to do this, but haven't gotten enough time to design and make it, 😢

I am very interested in the ESV version. I'm not a programmer but would be willing to help in other ways to see this implemented.

ESV was added in 1.0.2


Where can we add our social media contact buttons?

to our
twitter: https://twitter.com/FactasticHealth
facebook: https://www.facebook.com/factastichealth/
instagram: https://www.instagram.com/factastichealth/

Hi! What do you think of putting them on the menu, between About and Search?

If you think it will look good their? or under the search (and line)

I think it will be difficult to make them float exactly there, what I was thinking is moving Blog and About to the left to make space for the icons, so Blog, About, Facebook, Twitter, Etc, Search bar are on the same line

sure 👍
On Thu, Mar 18, 2021 at 12:09 AM fauno @.***> wrote:

I think it will be difficult to make them float exactly there, what I was
thinking is moving Blog and About to the left to make space for the icons,
so Blog, About, Facebook, Twitter, Etc, Search bar are on the same line
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/selimerunkut/factastichealth_website/issues/14#issuecomment-801499637,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHNRTE44NTBOFBZ3JYNVX4DTEEZCLANCNFSM4ZELQGJQ
.


MPI full mode and SubDimensions with 0 thickness

Reproducer:
from devito import *
configuration['mpi'] = 'full'

grid = Grid(shape=(4, 4))
x, y = grid.dimensions
t = grid.stepping_dim

u = TimeFunction(name='u', grid=grid)
u.data_with_halo[:] = 1.

xi = SubDimension.middle(name='xi', parent=x, thickness_left=0, thickness_right=1)

# A trivial 5 point stencil expression
eqn = Eq(u[t+1, xi, y], (u[t, xi, y] + u[t, xi-1, y] + u[t, xi+1, y] + u[t, xi, y-1] + u[t, xi, y+1]))

op = Operator(eqn)

op(time_M=0)

crashes in Python-land with:
...
AttributeError: 'int' object has no attribute 'is_Dimension'

fixed by #1115


[Bug]: After executing history.push, I executed history.back, but the value of the funnel does not change.

Package Scope
@use-funnel/react-navigation-native
Bug description
After executing history.push, I executed history.back, but the value of the funnel does not change.
In the code below, after pushing to '추가정보입력', I pressed the back button. I confirmed that Pressable's onPress was called, and then funnel.history.back(); would have been called. However, the funnel's value still has the '추가정보입력' value.
What did I do wrong?
const funnel = useFunnel<{
    기본정보입력: {};
    추가정보입력: {};
    가입완료: {};
  }>({
    id: 'sign-up-funnel',
    initial: {
      step: '기본정보입력',
      context: {},
    },
  });

  <funnel.Render
        기본정보입력={() => {
          return (
            <BaseInfoFunnel
              onNext={() => {
                funnel.history.push('추가정보입력');
              }}
            />
          );
        }}
        추가정보입력={() => {
          return (
            <AdditionalFunnel
              onNext={() => {
                funnel.history.push('가입완료');
              }}
            />
          );
        }}
        가입완료={() => {
          return <CompletedFunnel />;
        }}
      />

Expected behavior
No response
To Reproduce
No response
Possible Solution
No response
etc.
No response

Based on this example, I can't guess what's causing it or what you want. Can you post an example repo?


No remote indicator in empty window

Testing #186222

I would have expected a remote indicator with menu in the status bar in empty windows. This was with an empty profile.

@bpasero in this scenario, do you have any remote extensions installed (since I see you are using a temp profile)? The remote indicator is currently suppressed when there aren't any remote extensions already installed. IMHO now that the remote indicator has items which allow installing remote extensions, it makes sense to consider showing it always.

I'll enable to show it always.

I am not a fan of showing it delayed, imho it should be there on startup and if we need to wait for anything, the picker should show a progress bar.

I am not a fan of showing it delayed, imho it should be there on startup and if we need to wait for anything, the picker should show a progress bar.

We need to wait for the extension gallery service to be initialized before we can display the remote indicator as being available since we show options to install remote extensions.
Did you mean the remote indicator quick pick should show a progress bar when clicked while it's still initializing?

My recommendation is to keep the UI stable when a user starts into an empty workspace because that is the default scenario for every new user. So I suggest to show the remote indicator instantly and the picker with a progress bar as needed.


Where are bower files supposed to be stored?

Hi,
using this template, where are bower files supposed to be stored?
In /static or to /src/assets? How to you then access them? Will vue-loader affect them in some way?
Thanks and good bye

See https://webpack.github.io/docs/usage-with-bower.html

And how should I import them? For example, I added jquery dependency into bower.json. Where should I add the script tag to import it?

Solved. Using all through NPM modules :)


Remove rbmPipe dependency

For an open source release, we should consider removing this or thinking through how to best grab the files needed from any closed repos.
https://github.com/Gilead-BioStats/clindata/blob/a4e7100826c3fc06d9afd574bcca19aa10dec782/R/ctms_2_process.R#L15

Closed via #169


added logger message and increased timeout time

IBM Cloud toolchain: Delivery Pipeline deployed shopcarts to prod, including commit e3f81aed42ed11b384ce10b910e3273cdf98b2cb

IBM Cloud toolchain: Delivery Pipeline deployed shopcarts to dev, including commit e3f81aed42ed11b384ce10b910e3273cdf98b2cb


Update cacher to account for the new object fields

During the ongoing development of v1.4.0, many of the objects that had missing attributes were overhauled completely.
The cacher however, is still caching data based on the old object parameters. This needs to be corrected in order for the cacher to properly rebuild objects that are cached post v1.4.0.
Additionally, some logic needs to be put in place to identify when rebuilding objects from cache fail due to key errors resulting from older cache files. This would just involve removing the old cache database and rebuilding it from scratch.

Cacher has some serious performance issues after the modifications. I will need to investigate further.
A typical search would take no more than a second or two. It now takes about 4-5 seconds to complete a search.
Logs reveal several cacher calls, indicating every single search is making the program read get_all_champs(), and then inserting as well. Very large amounts of data is unnecessarily being processed.
Perhaps its not worth caching the champions? They have dedicated endpoints meant for high volume traffic, could just remove caching anything but the summoner search. The summoner id is the most important because that requires a web request and then data scrape.


chore: upstream Std.Data.List.Init.Basic

I've made a generic tracking issue for ensuring we eventually provide tail-recursive versions of all List functions:
https://github.com/leanprover/lean4/issues/3336


Docs workshop mark maxime

Proposed changes:

Make the Policies page (5% of it 😓 ) follow the docs guidelines
Brought to you by @mjaycub and myself

Status (please check what you already did):

[ ] added some tests for the functionality
[ ] updated the documentation
[ ] updated the changelog (please check changelog for instructions)
[ ] reformat files using black (please check Readme for instructions)

@mjaycub I'm done for my part (until RulePolicy, included). Can you take care of the rest? 🙏

@m-vdb thank you! yes I'll do the rest 💪

thanks a lot for your review @erohmensing ! the page is halfway done, Mark will handle the rest (that's why some things are not up to date yet). I tried to answer all your comments though and we we'll wait for input from vova and karen 👍

Ah okay perfect, thanks!

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: m-vdb:x: mjaycubYou have signed the CLA already but the status is still pending? Let us recheck it.

@mjaycub are you done on your end?

@m-vdb Yes! The only thing left is to sort out the issue with the bullet points here. I did this on the plane home so didn't have wi-fi to read docs


SysTray does not pic up on-mic mute button changes

Mute works when clicking the sysTray icon, and sysTray icon shows muted.
Mute function works when pressing the mute button on  the mic, but the sysTray icon still shows un-muted.
If I mute the mic with the hardware button then click the sysTray icon, the icon changes to black and the mic stays muted. If I click the sysTray icon again, icon changes back to white and mic is un-muted.
If I mute the mic with the the sysTray icon, then un-mute with the hardware button, the sysTray icon still shows mute but the mic is un-muted.
The light on my hardware mute button (on USB cord) is failing, hence the need for microphone-mute-indicator when I hit the button.
Systeminfo:
OS Name:                   Microsoft Windows 10 Pro
OS Version:                10.0.19044 N/A Build 19044
OS Manufacturer:           Microsoft Corporation
OS Configuration:          Member Workstation
OS Build Type:             Multiprocessor Free
Registered Organization:   Microsoft
Product ID:                00330-80000-00000-AA184
Original Install Date:     8/31/2020, 8:23:28 AM
System Boot Time:          10/24/2022, 10:15:47 AM
System Manufacturer:       Dell Inc.
System Model:              OptiPlex 3020
System Type:               x64-based PC
Processor(s):              1 Processor(s) Installed.
[01]: Intel64 Family 6 Model 60 Stepping 3 GenuineIntel ~3301 Mhz
BIOS Version:              Dell Inc. A07, 1/14/2015
Device configuration event details:
Device SWD\MMDEVAPI{<IP_ADDRESS>00000}.{1c9d06e0-7703-415c-b7a5-73c9df2c9bb2} was configured.
Driver Name: audioendpoint.inf
Class Guid: {c166523c-fe0c-4a94-a586-f1a80cfbbf3e}
Driver Date: 12/06/2019
Driver Version: 10.0.19041.1
Driver Provider: Microsoft
Driver Section: NO_DRV
Driver Rank: 0xFF0000
Matching Device Id: MMDEVAPI\AudioEndpoints
Outranked Drivers: c_swdevice.inf:SWD\GenericRaw:00FF3001
Device Updated: false
Parent Device: USB\VID_046D&PID_0A37&MI_00\6&165b9e8&0&0000
microphone-mute-indicator.exe version:
File version: <IP_ADDRESS>
Product Version: 0.2.1
Thank you for reading.

Thanks for the detailed issue!
I was able to reproduce this issue here with a Jabra USB/BT microphone, both when connected via USB and wirelessly via Bluetooth.
When toggling the mute in Windows, the mute indicator LED on the microphone changes correctly. However when toggling the mute with the hardware button on the microphone it appears Windows is not consistently noticing that it is now muted.
On my test machine, Windows can say that the microphone is muted, but actually it's still picking up sound. And Windows may say that it not muted, but it isn't picking up any sound.
The LED on the microphone seems to always correctly reflect whether sound is being picked up, but the "muted" state in Windows is sometimes wrong.
Can you check for me whether on your machine Windows' own sound properties panel shows the correct muted state? In Windows 10, it seems that unfortunately Microsoft decided you do not need any microphone mute setting in their redesigned Sound settings, but you can still find it in the old style "Sound Control Panel":

Right-click the (regular, built-in) sound volume tray icon.
Select "Open Sound settings".
Click the link "Sound Control Panel" to enter the old control panel.
Go to the "Recording" tab.
Right-click your input device and select "Properties"
Go to the "Levels" tab.

Here you can see (and toggle) the microphone mute state using the button next to the volume slider.
On my test system the mute state in the Sound Control Panel always shows the same as the tray icon. And as noted when I mute the microphone using the hardware button, the mute state in the Sound Control Panel doesn't always* correctly update.
*: After trying it a dozen more times, I notice it sometimes actually does correctly update the muted state in Windows when using the hardware mute button! But I didn't yet figure out why; it doesn't happen consistently.
If the behaviour on your machine is the same as mine (the built-in Windows Sound Control Panel also showing the incorrect muted button), this looks to be a bug in Windows. Since this app is just showing whether Windows thinks the microphone is muted, I'm not sure how easy it will be to fix this. Maybe if I can figure out what causes it to work correctly (which it some times randomly does) I can use that to build a workaround. Can't promise I'll be able to fix it, but I'll let you know if I find anything.

Thanks for the detailed issue!

I jiggled my cord for several minutes until the mute light worked then tried your instructions. I observed the exact same behaviour, with the exception that I didn't try it enough times to ever have it correctly update the state in Windows.

Good Afternoon Dvd,
I responded in the thread. Tl;dr I got the same behavior as you. Thanks for the response my good man.
Best,
Daniel King
Support Technician ▪<PHONE_NUMBER> ext. 106
agencysystems.comhttp://agencysystems.com/ ▪ accessmyinsurance.com/learnhttp://accessmyinsurance.com/learn
From: Daniël van de Giessen @.>
Sent: Monday, October 24, 2022 11:49 AM
To: DvdGiessen/microphone-mute-indicator @.>
Cc: Daniel King @.>; Author @.>
Subject: Re: [DvdGiessen/microphone-mute-indicator] SysTray does not pic up on-mic mute button changes (Issue #1)
Thanks for the detailed issue!
I was able to reproduce this issue here with a Jabra USB/BT microphone, both when connected via USB and wirelessly via Bluetooth.
When toggling the mute in Windows, the mute indicator LED on the microphone changes correctly. However when toggling the mute with the hardware button on the microphone it appears Windows is not consistently noticing that it is now muted.
On my test machine, Windows can say that the microphone is muted, but actually it's still picking up sound. And Windows may say that it not muted, but it isn't picking up any sound.
The LED on the microphone seems to always correctly reflect whether sound is being picked up, but the "muted" state in Windows is sometimes wrong.
Can you check for me whether on your machine Windows' own sound properties panel shows the correct muted state? In Windows 10, it seems that unfortunately Microsoft decided you do not need any microphone mute setting in their redesigned Sound settings, but you can still find it in the old style "Sound Control Panel":

Right-click the (regular, built-in) sound volume tray icon.
Select "Open Sound settings".
Click the link "Sound Control Panel" to enter the old control panel.
Go to the "Recording" tab.
Right-click your input device and select "Properties"
Go to the "Levels" tab.

Here you can see (and toggle) the microphone mute state using the button next to the volume slider.
On my test system the mute state in the Sound Control Panel always shows the same as the tray icon. And as noted when I mute the microphone using the hardware button, the mute state in the Sound Control Panel doesn't always* correctly update.
*: After trying it a dozen more times, I notice it sometimes actually does correctly update the muted state in Windows when using the hardware mute button! But I didn't yet figure out why; it doesn't happen consistently.
If the behaviour on your machine is the same as mine (the built-in Windows Sound Control Panel also showing the incorrect muted button), this looks to be a bug in Windows. Since this app is just showing whether Windows thinks the microphone is muted, I'm not sure how easy it will be to fix this. Maybe if I can figure out what causes it to work correctly (which it some times randomly does) I can use that to build a workaround. Can't promise I'll be able to fix it, but I'll let you know if I find anything.
—
Reply to this email directly, view it on GitHubhttps://lsems.gravityzone.bitdefender.com/scan/aHR0cHM6Ly9naXRodWIuY29tL0R2ZEdpZXNzZW4vbWljcm9waG9uZS1tdXRlLWluZGljYXRvci9pc3N1ZXMvMSNpc3N1ZWNvbW1lbnQtMTI4OTMxNTI0NQ==/E426418C33C69E374B45C84E5600A5D6A8B91C27CAE05037D671AEA6EBB8BAF1?c=1&i=1&docs=1, or unsubscribehttps://lsems.gravityzone.bitdefender.com/scan/aHR0cHM6Ly9naXRodWIuY29tL25vdGlmaWNhdGlvbnMvdW5zdWJzY3JpYmUtYXV0aC9BM1pOREdKNlZVR0hEQ1lXWkpUR1c0RFdFMjRaSEFOQ05GU002QUFBQUFBUk5EWEJNNA==/8813D70B857AAFFF26B9C6742AC864CB4F9B962AC6271F686189041CDFACACC1?c=1&i=1&docs=1.
You are receiving this because you authored the thread.Message ID: @.***>

I didn't make any progress.
I tried looking for manufacturer drivers and fiddled with all the sound settings I could =[

What up my guy. Any luck?

Sorry, so far I haven't stumbled upon a way to work around this bug in Windows.

I did come up with a workaround if it helps. I used the fact that (a) muteMic shows a systray icon that can be pinned and (b) hitting a key combo is just as easy as hitting the button on my janky mic cord, if not easier. I just wrote an autoHotKey script that clicks the muteMic icon when I hit

If you use the buttons on the device, then the status gets confused.  I think this more down to the device.
If you control all by using the program and my keyboard exe workarounds, then all is fine.  I do not use the button on the device - I just click on the Mic icon or press one of my assigned keyboard hotkeys..,


Add variable bloom filter sizes

This should help small nodes waste less bandwidth, while standardizing on set sizes.

Otherwise :+1:


Collab instructions

Description
Provide a brief description of the PR's purpose here.
Todos
Notable points that this PR has either accomplished or will accomplish.

[ ] TODO 1

Questions

[ ] Question1

Status

[ ] Ready to go

learning how to merge pull requests


Server sharding/partitioning

 Issue by baj0
Sunday Oct 02, 2016 at 11:31 GMT
Originally opened as https://github.dev.global.tesco.org/baj0/mewbase/issues/42

It should be possible to partition streams across multiple physical servers.
This is important for horizontal scalability in the case where a stream expects a lot of events - too many to be supported by a single log.
In this case, the client can select an actual server to emit an event to based on consistent hashing of some value. It should be possible to specify which field(s) in an event to use in the hashing.
E.g. you might want to hash on customerID in a place order event.

Sharding and partitioning are now handled by the underlying implementation of the Event Stream and the Binder Store


implement SASS in using next.js

https://github.com/zeit/next-plugins/tree/master/packages/next-sass

Completed in https://github.com/pfarrar1/limpbizkitipsum/pull/6


Unable to get LifeCycle event for the KMP

In Common code of Compose Multiplatform,
I have the below code.
 LaunchedEffect("LifeCycle"){
        val callbacks: Lifecycle.Callbacks =
            object : Lifecycle.Callbacks {
                override fun onCreate() {

                }

                override fun onStart() {

                }

                override fun onResume() {

                }

                override fun onPause() {
                    Logger.i (messageString = "Home Screen LaunchedEffect onPause", tag = "Home")
                }

                override fun onStop() {
                    Logger.i (messageString = "Home Screen LaunchedEffect onStop", tag = "Home")
                }

                override fun onDestroy() {

                }
            }

        viewModel.lifeCycleCallBack = callbacks
        mAppLifeCycleOwner.lifecycle.subscribe(callbacks)
        Logger.i (messageString = "Home Screen LaunchedEffect lifeCycleCallBack register", tag = "Home")
    }

I does not trigger, I am testing it with Android for now, May be I am missing something...
I am also try below as well
private var mlifecycle :LifecycleRegistry = LifecycleRegistry(initialState = Lifecycle.State.INITIALIZED)
In my Android Native activity.
 override fun onStop() {
         super.onStop()
         mlifecycle.onStop()
         Logger.i (messageString = "onStop", tag = "MainActivity")
     }

It would be nice if you could provide a complete reproducer, as the provided code is incomplete.

Here you go with my native main activity code of android : https://github.com/himanshumistri/KMPStarterKit/blob/main/androidApp/src/main/java/com/bumble/starter/MainActivity.kt
Here is my Compose Multiplatform Code where I need lifecycle event callback.
https://github.com/himanshumistri/KMPStarterKit/blob/main/shared/src/commonMain/kotlin/com/bumble/appyx/shared/child/ChildNode1.kt
I am not getting any event in ChildNode1

I think your implementation has multiple issues. Here are some of them.

AbcAppLifeCycle implements Lifecycle, but the registered callbacks are never called.
I don't think that AbcAppLifeCycle gets somehow connected with the LifecycleRegistry defined in MainActivity.
In the MainActivity you are calling essentyLifecycle() but you are not using the returned Lifecycle. You could just use that instead of LifecycleRegistry.

Since you are using Appyx, I suggest reaching out to the developers and asking for help with lifecycle handling. Maybe there is an out-of-the box way. Or just use Decompose for navigation.

Closing this for now. Feel free to reopen if there are any questions or issues related to the Essenty library.


[eslint] Enforce jsx-first-prop-new-line

[x] PR has tests / docs demo, and is linted.
[x] Commit and PR titles begin with [ComponentName], and are in imperative form: "[Component] Fix leaky abstraction".
[x] Description explains the issue / use-case resolved, and auto-closes the related issue(s) (http://tr.im/vFqem).

Nice one!!

LGTM


Area of areas

A nooby player (or not ;) ) with the name of "Darcidride" now owns around 80% of the whole MFF map, while he wanted to protect a tp_area.
-> please remove it
-> it could be good to add a question like "do you REALLY want to own 20x20 km?" for huge areas.

Duplicate of #284
Which should be solved?!

Yes it's a duplicated issue, i will re-check the area, just to be sure it's fixed...

A player was complaining one hour ago. #284 is supposed to be solved for 17 hours.
Please close this if irrelevant.

irrelevant. The player was near a warp zone
--closed.
Sorry.


Incorrect error message shown while adding SP

Moved from https://wso2.org/jira/browse/IDENTITY-7198
$subject
Please provide Service Provider ID
UI says  Service Provider Name:* not ID

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


Setting TextFormField value from the onChanged method does not work

Setting TextFormField value from the onChanged method does not work unless running the update itself from a Timer with 1 seconds delay.
Steps to Reproduce

Create screen with TextFormField.
Modify the onChanged method to change the same TextFormField value.

Expected results:
The value set using textEditingController.value to appear in the TextFormField
Actual results:
The TextFormField contains the value the user entered and triggered the onChanged method and not the value set afterwards with textEditingController.value.
However, If I set the value from with a Timer with delay of one seconds the TextFormField shows correctly the updated value.

Logs

[√] Flutter (Channel stable, 1.20.2, on Microsoft Windows [Version 6.1.7601], locale he-IL)
• Flutter version 1.20.2 at C:\tools\flutter
• Framework revision bbfbf1770c (4 weeks ago), 2020-08-13 08:33:09 -0700
• Engine revision 9d5b21729f
• Dart version 2.9.1
[!] Android toolchain - develop for Android devices (Android SDK version 29.0.0)
• Android SDK at C:\Users\yosikal\AppData\Local\Android\sdk1
• Platform android-30, build-tools 29.0.0
• ANDROID_HOME = C:\Users\yosikal\AppData\Local\Android\sdk1
• ANDROID_SDK_ROOT = C:\Users\yosikal\AppData\Local\Android\sdk1
• Java binary at: C:\Program Files\Android\Android Studio1\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
! Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses
[!] Android Studio (version 2.2)
• Android Studio at C:\Program Files\Android\Android Studio
X Flutter plugin not installed; this adds Flutter specific functionality.
X Dart plugin not installed; this adds Dart specific functionality.
X Unable to determine bundled Java version.
• Try updating or re-installing Android Studio.
[!] Android Studio (version 3.6)
• Android Studio at C:\Program Files\Android\Android Studio1
X Flutter plugin not installed; this adds Flutter specific functionality.
X Dart plugin not installed; this adds Dart specific functionality.
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
[√] VS Code (version 1.49.0)
• VS Code at C:\Users\yosikal\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.14.1
[√] VS Code, 64-bit edition (version 1.16.1)
• VS Code at C:\Program Files\Microsoft VS Code
• Flutter extension version 3.14.1
[√] Connected device (1 available)
• AOSP on IA Emulator (mobile) • emulator-5554 • android-x86 • Android 9 (API 28) (emulator)
! Doctor found issues in 3 categories.

Here is a code which reproduces the problem:
`
import 'package:flutter/material.dart';
void main() {
runApp(TestField());
}
class TestField extends StatefulWidget {
TestField({Key key}) : super(key: key);
@override
_TestFieldState createState() => _TestFieldState();
}
class _TestFieldState extends State {
TextEditingController _textEditingController;
@override
void initState() {
_textEditingController = TextEditingController();
super.initState();
}
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(
title: Text('Welcome to Flutter'),
),
body: Center(
child: TextFormField(
onChanged: (String txt) {
int d = int.parse(txt);
d++;
          /* does not work */
          _setValue(d.toString());

          /* does work
          Timer(Duration(seconds: 1), () {
            _setValue(d.toString());
          }); */
        },
        controller: _textEditingController,
        keyboardType: TextInputType.number,
      ),
    ),
  ),
);

}
_setValue(String val) {
setState(() {
_textEditingController.value = TextEditingValue(
text: val,
selection: TextSelection.fromPosition(
TextPosition(offset: val.length),
),
);
});
}
}
`

``