Denon AVR-X4300H is unstable

I have a newer Denon AVR-X4300H model.  Apparently the new models no longer support the web interface supported by older models (uggggg--- why remove the web or RESTFul interface).  But the mobile app for the reciever works fantastically so there is definitely a stable mechanism to connect to these.
The original "denon" component does kinda sorta work -- via telnet access.  But it's very unreliable.  For example the volume change will work about 1 out of 5 times.  The pattern I've seen is that once you set it via HomeAssistant it won't respond again for some timeout period . . . which is minutes.  This miraculously it might respond and work at some later time.
So, I would MUCH rather get the denonavr component working well, so that it could be as stable as the mobile app is when changing volume, inputs, etc.!  This is really a bummer because the Onkyo reciever this one replaced was very very stable and worked very well with HomeAssistant.
At this time I've fallen back to basic on/off automation using my Harmony remote integration with HomeAssistant and it's working well.  But, is very very limited.  Being able to set the volume and sources with HomeAssistant is a fantastic automation that I'm very much missing.
We were previously corresponding on this thread:
https://github.com/home-assistant/home-assistant/issues/7645
But, per the recommendation over there I wanted ot open a ticket here and offer my help in testing /debugging however I can to get the latest series of AVR's working!
I've attached the results of the python test script you posed on the other thread here as well to provide the Xml files that it saved out:
Denon Python Requests - AVR-X4300H.zip
Unfortunately I don't think the web interface that is used by the denonavr platform is available on the higher end newer (2016+) models anymore.
On my AVR-X4300H, the urls you posted all return:
Error 403: Forbidden
Access Forbidden

This is also documented on AVS Forums:
http://www.avsforum.com/forum/90-receivers-amps-processors/2444306-official-2016-denon-s-series-x-series-avr-owner-s-thread-faq.html

Note: Although the Web Control feature is no longer provided on the X4300H and X6300H, a firmware update later in 2016 will provide the capability to SAVE the config file to a USB thumb drive and then LOAD it back from the thumb drive.

Please let me know what else I can do to help.  I'll try to pay more attention and be more prompt than I was before on that last thread!

I've also been trying to debug my X4300H because the telnet interface is pretty unreliable. I took a tcpdump of some traffic between the Denon app and the receiver where I changed the source, power cycled, changed the volume, and muted/unmuted:
x4300h.zip
Looks like the HTTP interface is still there, albeit without a UI and with a few syntactical changes. For example, it now uses port 8080, and certain commands like power on/off use a POST to AppCommand.xml with the command and zone encoded in the XML.
My python skills are pretty mediocre, but I can try out some changes later this week. In the meantime, let me know if you need any further network captures.

@arseneyr, that's great.  I've been meaning to try to get a network capture done somehow, but my work hasn't provided any time in the past 6 months.  I figured it was likely web based API's it was calling to be stable and responsive.   How did you grab the captures?
I'll stay tuned to this, and if my work ever lets up a little I'll help iron out some of the python code too; though like you, Python isn't my strongest language.

is the publish control protocol not complete?
https://www.denon.de/de/product/homecinema/avreceiver/avrx1200w?docname=Steuerungsprotokoll_IP_RS232C_AVR-X1200W_AVR-X2200W_AVR-X3200W_AVR-X4200W.pdf&usg=AOvVaw2dZhkkF1zHcRCT09YSg4vI

@Ltek That's the telnet interface the denon  component uses. In my experience, power on/off via the denon component rarely works with the X4300H. I suppose I could spend time debugging it, but I would rather update denonavr to support the HTTP interface variant that the native Denon app uses for the X4300H. The app has always worked without fail.
@raerae1616 I had to improvise the network capture by running tcpdump directly on my Unifi access point. I'll probably look into setting up an HTTP proxy for future captures though.

I will have a look at this. If the old interface is still available on port 8080 it should not be too complicated

If there is any need for testing I'm more than happy to help.
My Denon AVR-X1400H has the same "feature" of not allowing the old RESTApi.
I attached some test I from the tcpdump data
DenonAPI.zip
To turn it On and Off those Uri worked
IP:8080/goform/formiPhoneAppPower.xml?1+PowerOn
IP:8080/goform/formiPhoneAppPower.xml?1+PowerStandby

Man I wish I had the time, I'd love to either a) create a new custom component or b) try to merge into the existing denonavr component . . . if anything it'd be a chance to improve my limited python skills.  For me it's more of not fully understanding how components in Home Assistant work and are intended to be designed or deployed, etc....
I'm just sooo swamped with the day job pulling 15 hour coding for clients on top of other stuff, not sure when I'd have the chance...
@bartberden: Per your message, just in case you didn't see my link above, I've posted some samples of how to get the reciever working well with the use of REST Commands!  I even sorted out passing volume as a parameter, and integrating with Python Scripts... so honestly I'm not even missing much from the denonavr component anymore; sure it's a little more automation work, but it does work very well and stable now.  Even in the UI, the Volume, etc. can be easily solved with an input_slider, input_boolean, etc. and some automations with parameters, or Python Script, etc.
Check out my post here to get you started, I hope it helps:
https://community.home-assistant.io/t/fixed-delay-between-hass-services-call-s-in-a-python-script/21121/8?u=raerae1616

hey guys,
it took a while, but now I pushed some changes which hopefully make the supporting parts of the new AVR-X devices.
I did not create a new version yet, because it is hard for me to test. Thus please include the lib manually to HA and tell me if it's working.
Currently you probably won't be able to see any media information like the name of the song you playing because I could not find them in the AppCommand.xml interface.

@scarface-4711 Hi. I tried testing the changes, but the library still seems to use the old URLs (or do I somehow need specify the receiver type in the constructor?). This is the console output from python:
>>> import denonavr
>>> d = denonavr.DenonAVR("<IP_ADDRESS>")
Host <IP_ADDRESS> returned HTTP status code 403 when trying to receive data
Connection error: Receiver sources list empty. Please check if device is powered on.
Host <IP_ADDRESS> returned HTTP status code 403 when trying to receive data
Receiver name could not be determined. Using standard name: Denon AVR.
Host <IP_ADDRESS> returned HTTP status code 403 when trying to send POST commands
Host <IP_ADDRESS> returned malformed XML for: /goform/AppCommand.xml

Both are used because the pre 2016 receivers are working better with the other ones. The right URLs should be determined automatically in method _get_receiver_sources
I did not know that the new receivers send a real 403 status at port 80, please try again.
The URLs are more or less the same, the major difference is that the post 2016 devices are listening to port 8080 instead of 80 and that some interfaces are disabled.

Thank you for the explanations. That's good to know. I can confirm that the new version works with an X-1400H on the command line. I suppose the first error message is still excepted. Not sure about the receiver name, I have something else set up as "Friendly name" in the "Network" settings, but I'm not sure if that is supposed to be the same thing.
I'm going to try it in HomeAssistant later tonight if I get to it.
For reference, this is the output of my tests:
>>> import denonavr
>>> d = denonavr.DenonAVR("<IP_ADDRESS>")
Host <IP_ADDRESS> returned HTTP status code 403 when trying to receive data
Receiver name could not be determined. Using standard name: Denon AVR.
>>> d.power_on()
True
>>> d.volume_up()
True
>>> d.volume_up()
True
>>> d.volume_down()
True
>>> d.name
'Denon AVR'
>>> d.mute(True)
True
>>> d.mute(False)
True
>>> d.input_func_list
['AUX', 'Bluetooth', 'CBL/SAT', 'Game', 'HEOS Music', 'Media Player', 'NES', 'Tuner']
>>> d.input_func = 'Media Player'
>>> d.power_off()
True

I tried the latest master branch in Home Assistant and I'm happy to report that Power on/off, mute/unmute, volume up/down, setting source all work with my X-1400H. Great work, thank you.

I'm glad to here that.
There is no FriendlyName in the interface for the new AVR-X, at least I did not find it. I used the zone name instead now. You should not get the first 403 error message anymore.
And I did some cleanup stuff...if I did not mess up things, it should still work and I will create a new version for HA soon.

The new version works as expected for me and the error messages are also gone. Thank you.

Looks promising! I wanted to try it out, but currently have no clue how to test this in home assistant. Could someone tell me how to import this into homeassistant?
Thanks in advance!

The easiest way would be to wait for HA 0.64 which should be released soon.
Other options depend on how you installed HA. Some ideas:

Look for the directory where this library is installed which is for example /srv/homeassistant/lib/python3.5/site-packages/denonavr/ on my raspberry. Replace the denonavr.py in this directory by the most recent one of this repository and restart homeassistant
Another options: Loop for the denonavr component in your current homeassistant installation, which is /srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/media_player/denonavr.py at my site. Open this file in an editor and change the line REQUIREMENTS = ['denonavr==0.5.5'] to REQUIREMENTS = ['denonavr==0.6.0']. Restart homeassistant.

Well, just a heads up that with the new version, it doesn't seem to work with a Marantz 6012.   I get:
Host <IP_ADDRESS> returned HTTP status code 403 to GET request at end point /goform/formMainZone_MainZoneXmlStatus.xml

I'm having trouble following...
I have a Denon AVRX4300H (maybe I'm in the wrong thread?).  I'm wanting to control it with siri/homekit.  Is there a simple command and string to add to config.json?
something like:
npm install -g homebridge
(i've setup my wink hub2 with this kind of setup).
thanks in advance!

Instead of getting the power on status using POST request method, you could also use GET with the following url (for Zone 1/Main Zone): http://{{DENON_AVR_IP_ADDRESS}}:8080/goform/formMainZone_MainZoneXmlStatusLite.xml
Zone2:
http://{{DENON_AVR_IP_ADDRESS}}:8080/goform/formZone2_Zone2XmlStatusLite.xml

@naartem:  Great Feedback, thanks for the simplified GET request.
I can confirm that both of the links provided work for the AVR-X4300H.  It reports the official name of the input, and not the Friendly name, but this is great.

Zone 1/Main Zone: http://{{DENON_AVR_IP_ADDRESS}}:8080/goform/formMainZone_MainZoneXmlStatusLite.xml
Zone2:
http://{{DENON_AVR_IP_ADDRESS}}:8080/goform/formZone2_Zone2XmlStatusLite.xml

@naartem URL is already used for the pre 2016 AVR-X receivers.
Thus, it sounds like the interface did not change at all except from being moved from port 80 to port 8080.
Did anyone try just changing ports in the library and see if it works?
Just go to line 27 of https://github.com/scarface-4711/denonavr/blob/master/denonavr/denonavr.py and change
AVR_X = ReceiverType(type="avr-x", port=80)
to
AVR_X = ReceiverType(type="avr-x", port=8080)

Where's that stored in Hass.io scarface-4711 (that file I mean)?

Can't find it but I think that'll work.  Trying it in a browser works anyway (80 just gives the same error as above (a 403), 8080 seems the go for the new Marantz.

Never used hass.io, thus I don‘t know where to find the library there.
If someone is able to test it, I could switch back to the same way the pre 2016 work, but on port 8080.
This would bring back information about the current song, artist and other media information.

Why don't we just unit test the REST url that the old code used, to see if the method works on the newer models?  Just like we have with several REST Api's above....
I don't have the time to read over the original Python code and find the Url, but if someone wasn't to find the base REST url used to retrieve that data, I"m happy to test it out a little on my AVR-X4300H...

@simonk83 you could also run the python script you find in the following repository and upload the .xml files it saves in its directory here. Those are the responses of your receiver.
I'll be able to test it here then.
https://github.com/scarface-4711/misc_python_tools/tree/master/denonavr

Archive.zip
Here you go.  403 for everything aside from:
AVR-AppCommand-8080-200.xml
AVR-Deviceinfo.xml-8080-200.xml

@simonk83 yes most of the endpoints are not available at your receiver. Thus, it makes no sense for me to change anything here because of this.
@raerae1616 it seems that there are more endpoints available at your receiver. If you can run the script and upload the results, I would be able to find out more.

@scarface-4711:  I tried many endpoints that I was able to find and listed the results of my investigation above int his thread.
Also, I have run that script for you before also, but am happy to run it again.  Have you changed it to use port 8080, and/or added other ednpoints to test?
I'll try to run it again in the next several days.

Yes, it is querying each endpoint which is in use here on both ports, 80 and 8080.

Also got problems with a new model from Denon, using the X3400H. As you see in the screenshot the sound mode isnt set yet, is there anyway I can fix the bug?
Thank you.

@scarface-4711 What's the latest update with support for the X4300h? Is there anything further we can do to help test things?

@andrewsayre, nice thanks 👍🏻

Are there any updates on this? @scarface-4711 @raerae1616
I am eyeing the new Denon AVR-X2500H but Home Assistant integration is a must have :)

My X6300H is working fine with Home Assistant. Starting with HASS 0.92 you'll also get HEOS support :)

@wilmardo my Denon AVR-X1400H does work fine HA 0.91.3. Did not yet try Heos in 0.92

@wilmardo to be honest my Denon has been rock solid with REST commands and python scripts (after sorting out the key rest api calls I needed; outlines in my investigations above)...so I haven’t switched back to the component since...
But I’m always monitoring the updates and it does seem like most of the needed apis and component updates have all been made...
It’s Great that others like @klada and @f-bader were able to confirm above!

I have the SR7011 working with the denonavr component. I had to change this line in the denonavr.py file found in /srv/homeassistant/lib/python3.5/site-packages/denonavr:
DEVICEINFO_AVR_X_PATTERN = re.compile(
r"(.AVR-X.|.*SR500[6-9]|.*SR60(07|08|09|10|11|12|13)|.*NR1604)
I changed SR60 to SR70 and everything works. The SR7011 is then using port 8080 instead of 80. The only problem I have right now is that my main home assistant device is using docker. And I cannot find the denonavr.py file in the docker system.
@scarface-4711 could you please add the 7011 to the denonavr component using port 8080

To add to the mess Denon is making:
I just bought a Denon X3500h.
full web interface is now on port 10080 ...

For some reason my Harmony Hub will randomly not turn off my receiver (even with a hardwired IR wire connected to the receiver; uggg)... so I've moved back to using the component with a nifty automation to validate the Receiver is always off when the Harmony status switches to "PowerOFF" . . .

Sorry to revive this ancient issue. Just tried to set up a script in Home-Assistant for my X4500H using denonavr.get_command service. Did get Logger: DenonAVR Source: deps/lib/python3.8/site-packages/denonavr/denonavr.py:438 & No connection to /goform/AppCommand.xml end point on host 192.168.178.xx in the logs.
I do assume denonavr checks on the wrong port since the xml IS accessible on port 8080.

@iophobia could you please run this python script and upload the XML files it is generating in its directory?
I'll have a look into that then.

Hi @scarface-4711. I did so and zipped the xmls to be found here. Thanks for your help and looking forward to your response.

@iophobia the test are running without errors with your files. Your issue might be related to  https://github.com/scarface-4711/denonavr/issues/133. Please check again, when the PR mentioned there is merged into HA.

Good day to all! Guys help! Where can I find the firmware for the 4300, to download from USB flash. My receiver went crazy. Resets don't help. The network doesn't see it. Digital formats greater than 5.1 do not understand (no sound). You need to re-flash (lower the firmware). Thank you for any advice!

Hi,
Actually I run HASSIO 0.111.4 and I still has a problem with Marantz NR1609. When device comes online it wouldn't be recognised by HA and only way to get it up and running is restarting the HA. After HA restart it works normally. I reported this issue here https://github.com/scarface-4711/denonavr/issues/133 but it has been closed and forwarded to this thread.


Tests with link target checks

We would benefit from being able to write tests that check that link targets are valid, for example for #56. Sphinx linkcheck exists, but I have no experience with it. Is it meant for this? Something else?

Also, tests that can have a more complicated project structure than just index and appending conf.py

Seems like linkcheck is only for external links. So we should see if there are any dedicated link verification tools for Python or maybe just build a simple (lol, unlikely) tool for our own use.

There is linkchecker, but I had some problems with the installation (linkchecker/linkchecker#577). If the issue persists, I think we can just whip out something simple because we don't really need fancy features.

Linkchecker doesn't reportedly support Windows properly, so I'll look at rolling out our own simple link resolver.


Vercel preview seems to be failing

looking into it... my free trial expired but paying didn't fix it

I think this might be related to this:
https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull-request-events-for-forked-repositories
My test PR worked fine (not from a fork, just a branch)

the logic for this makes a lot of sense just need to figure out the particulars of the mitigations:
if any rando could make a pr and get the actions to run with our env secrets (the vercel deploy secrets), they could make a pr that exfiltrates those secrets
so somehow we need to set it up so we manually "approve" a workflow when we get a PR from a fork: https://docs.github.com/en/actions/managing-workflow-runs/approving-workflow-runs-from-public-forks

Closed by #224


Yeah you're welcome for that

https://github.com/octocat

No and I ain't a hacker I'm an original Android engineer this is tired of seeing Google screw everybody over 4 years without updates so you're telling me that this device I'm using right now which happens to be a Moto z that has the mods yeah I'm not allowed to get Android 14 but you can get all these newer devices that don't even last that long but this one is still running great what a shame I say if it still works we should be able to update but when they what do they do every time there's a nice rooting app for example kingroot which allowed us to do the that very easily do an upgrade but they pulled it right off the market so I guess it's on the original Android engineer I'm taking my freaking company back how they like that I hope karma's a b**** and no I ain't no hacker


Add 'Performing Real-time ETL with Files' tutorial

Purpose
Add 'Performing Real-time ETL with Files' tutorial.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Wiki instructions for 2.x.x to 3.x.x is missing

Readme.md points to  https://github.com/damiencaselli/ember-cli-sentry/wiki/Migration-from-2.x.x-to-3.x but the documentation is missing

This isn't an easy answer, but here is all that changed from the last 2.x version of the addon: https://github.com/damiencaselli/ember-cli-sentry/compare/2.4.4...3.0.0-beta.1


Whether could create a new branch for Windows Users

As old edition has a separate Windows solution directory, a new branch using Nuget to get some dependencies for Windows users could be created? Thanks you all.

This issue is closed due to lack of activity in the last 90 days. Feel free to reopen if this is still an active issue. Thanks!


WL-5302 Track assignment attachment downloads

This watches for assignment downloads and records any download a user
does so that we can output a spreadsheet containing details of when the
download was done and then when they submitted.

Build failure is because of SVN access, Dave has fixed for now.

Not going back to sakai. Assignments has been rewritten  since sakai 11
From: Nick Wilson<EMAIL_ADDRESS>Reply to: ox-it/sakai<EMAIL_ADDRESS>Date: Wednesday, 1 April 2020 at 15:24
To: ox-it/sakai<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Subject: Re: [ox-it/sakai] WL-5302 Track assignment attachment downloads (#583)
@nicholaswilson100 commented on this pull request.

In assignment/assignment-tool/tool/src/webapp/js/assignments.jshttps://github.com/ox-it/sakai/pull/583#discussion_r401655432:

@@ -723,6 +723,10 @@ ASN.invokeDownloadUrl = function(accessPointUrl, actionString, alertMessage, par

 {

     extraInfoArray[extraInfoArray.length]="feedbackComments=true";

 }

if (document.getElementById('downloadTimes') && document.getElementById('downloadTimes').checked)

Is this going back to Sakai? What's the current state of play of Sakai and us?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/ox-it/sakai/pull/583#pullrequestreview-385636083, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAS5SIC42JOFINJWALSAJ3TRKNFAZANCNFSM4LYZMREA.

Cool


release v5.11.9

:robot: I have created a release beep boop
5.11.9 (2024-01-12)
🐛Bug Fixes

取消主题色选择器 and fullscreen (c8bf1ba)
更新k8s图片为透明 (0df6f25)

🎨Styling

修改移动端侧边栏 样式 (8f7accb)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/blogres/blogres/releases/tag/v5.11.9 :sunflower:


[Feature Request]: Input prompts, translation

Describe the feature
Other local-run Whisper apps like Aiko (iOS only) support using prompts to cue transcription, which in my experience achieves dramatically better results when the prompt cues the number of speakers, topic of conversation (especially if specialized, like science), and/or multiple languages or accents.
Another Aiko feature, for which I am not sure the implementation, is to translate and transcribe on the same run (has the same processing time, so using the same model), As one might expect, in combination with prompting, this again gives much better results than transcribing and translating in separate runs on whatever models.
Vibe is especially nice in that it allows one to choose small or large models, or custom models, per choice. But prompting in particular I think would be a significant improvement.

Describe the feature
Other local-run Whisper apps like Aiko (iOS only) support using prompts to cue transcription, which in my experience achieves dramatically better results when the prompt cues the number of speakers, topic of conversation (especially if specialized, like science), and/or multiple languages or accents.
Another Aiko feature, for which I am not sure the implementation, is to translate and transcribe on the same run (has the same processing time, so using the same model), As one might expect, in combination with prompting, this again gives much better results than transcribing and translating in separate runs on whatever models.
Vibe is especially nice in that it allows one to choose small or large models, or custom models, per choice. But prompting in particular I think would be a significant improvement.

Hey, thanks for reporting!
Vibe already supports prompting and it's indeed help improve the transcription.
In the main window, just click the down arrow to open the advanced options before transcribing, and fill the prompt section.
Let me know if it worked and improved your transcription :)


AssertionError: Prediction Num != Reference Num

I tried to train mimic-cxr and iu_xray with my trained observation planning.
but when I end up training steps and start evaluate, the length of prediction and reference is different
In debug mode, length of prediction is 1, and length of reference is 16
How can I solve it?

in src/train_eval_ende_full.py, len(batch['input_pixels']) is 16, but len(outputs) is 1

Hi,
The input format is fine according to your descriptions.
The generate function in the Transformer library receives the main input (e.g., BxS, with B as the batch size and S as the size of the input) and creates the decoder_input_ids according to the main input. If the main input is set to input_pixels, then the batch size of the created decoder_input_ids should be B.
However, the later version of the Transformer library modified the generation function and used a different init method for creating the decoder_input_ids. So there could be two guesses from my perspective:

If you use a later version of Transformer, then you will need to specify the input_ids in the model_inputs, such as:
input_ids": torch.ones_like(batch["input_pixels"][:, :1, 0]).cuda() * model.config.bos_token_id.

If you use the same version of Transformer, may I ask if have you modified any lines of code in the evaluation function?

Best,
Ethan

I using transformers==4.15.0(same version) and didn't edit evaluation function.
The outputs.shape in train_eval_ende_full.py is torch.Size([1, 64]). is it correct?

Hi,
The output size is not correct. It seems that the decoder_input_ids is not initiated correctly.
Have you modified the main_input_name at line 871 in the src/models/modeling_bart_custom.py file? This should be the key for the generate() function to obtain the batch size.
Best,
Ethan

I didn't edit that and I tried to replace src folder to new but the same error occured
Is this below input file arguments are right?
./script/run_iu_xray.sh debug checkpoint_name plan_model_name_or_path plan_eval_file
checkpoint_name : trained observation planning pytorch_model.bin
plan_model_name_or_path : prediction.json folder path
plan_eval_file : prediction_eval_step_132.json

Hi,
The checkpoint_name is for the pre-trained ResNet model (similar to issue #5), instead of the planner. Stage 2 training does not require the trained planner, so you may conduct a similar operation to remove this argument.
In terms of the decoder_input_ids, you may try to add an item: "input_ids": torch.ones_like(batch["input_pixels"][:, :1, 0]).cuda() * model.config.bos_token_id into the model_inputs. This used the previous settings of generate() to create the decoder_input_ids.
An alternative is to directly set the batch size to 1.
Codes of both stages have been tested locally and should work fine.
Best,
Ethan

It works! Thank you!

Reopen this issue if you have further questions.


[Feature Request] Support for MatchingEngineIndexEndpoint Properties

There are several properties in aiplatform.MatchingEngineIndexEndpoint that are not supported in langchain-google. These need to be added for support in the VectorSearchVectorStore.from_components() method. The more critical properties for enterprise adoption are the private-service-connect properties shown below.

private-service-connect
MatchingEngineIndexEndpoint_private_service_connect_ip_address

I have added a langchain-google PR to start this incorporation please let me know how to proceed.

please, feel free to send a PR with any other properties you feel are useful.

Closed with https://github.com/langchain-ai/langchain-google/pull/203


subscription.exists() promise never resolves on one specific subscription

We have some code in an internal broker abstraction, which checks whether a subscription exists and then either creates one or uses the existing one if found. For most of our subscriptions that works fine, but on one particular subscription the returned promise is never resolved.
The code looks like this:
const subscription = topic.subscription(name);
const [exists] = await subscription.exists();

if (exists) {
  subscription.setOptions(options);
} else {
  subscription = await createSubscription(topic, name, options);
}

// ...

We zeroed in on the call to exists using line-level logging, the problem is definitely there. The promise is not rejected and no errors are thrown. It's always the same subscription that it "hangs" on, but looking at it in the GCP console I can't see anything different or weird about that subscription. All of our subscriptions are created in code (using the code above), so they all get the same options.
Do you have any suggestions about what might be going on here? Or anything that might help us to debug it further?

One more factoid we've discovered here, it seems like it might be related to the number of subscriptions we have open in the process? git bisect took us to a commit that added a new subscription and the one that's failing just happens to be the last subscriber to get opened. Removing any subscriber allows all of the others to succeed.
Is there any kind of explicit or implicit limit on the number of subscribers per process, or some other resource that's linked to subscriptions?

Regarding subscriber limits, there is some interesting discussion here I notice: https://github.com/googleapis/nodejs-pubsub/issues/1276.
Seems like 2 suggestions from that thread are worth looking into: maxStreams and using multiple PubSub instances. Will try both and see how they pan out.

Pooling our PubSub instances depending on subscriber count works nicely. Closing this, thanks for all your help! :joy:

@phil-booth-qatalog Sorry this ended up being a choose your own adventure issue 😂 It sounds like you got something worked out, but it seems like an odd problem. Maybe all of the grpc channels were taken up by subscribers doing streaming pull requests? It seems like if that's the issue, there should at least be some kind of warning.


Delete All Left Alternative for Last Visual Line

I see that this issue has been partially raised before, but was closed when another issue was resolved (Issue #36234)
Could there be an additional command similar to Delete All Left that deletes until the beginning of the visual line (as opposed to the whole line of code that may be wrapped onto multiple visual lines)?
As the original author notes, when you have wrapping on, and use Cmd+Delete, a whole paragraph will delete, as opposed to just the last visual line. I understand that this is intentional, but an alternative Delete Left for just the last visual line would be helpful.
Thanks!

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


discussion(runtime): Integrate with experiment tracker

Description
We need to investigate how to integrate with the experiment tracker smoothly

Can we close this one?


Unable to login into application

App cloned, npm install, ng s --open, node v. 6.11.2

package.json - outdated libraries (upgrade do not allow run appliciation): http://i.imgur.com/wWvrZUq.png
run application with outdated libraries do not allow login  (chrome), do not allow enter pet name - stay on this page: http://i.imgur.com/yV0n2MU.png
Cant't find any present (angular 4) functional example for ngrx/store

I had the same problem and fixed it by changing the auth0 configuration from responseType: 'token' to responseType: 'token id_token'.

I have checked the responseType's value including 'token' ,'token id_token','id_token', but never worked,So i had to change router config for next step.
canActivatefunction reture true in auth.gurad.ts,then navigate to /create, you can see page.

I upload a little demo removing router guard and works well.
you can click here


[BUG] one same field key with two different data type

Bug report:  there has two different data type for one same field key
__System info:
InfluxDB version:  ifluxdb-1.2.1-1
operating system name: CentOS7.2.1511 x86_64

execute show field keys

when I execute the cmd 'show field keys', it will show
name: app
fieldKey      fieldType

type       boolean
type       string
It's normal in influxdb there has two type for one field key? And i try to insert point with the two type of boolean and string,It all cause error like below
input field "type" on measurement "app" is type string, already exists as type boolean dropped=1"
and
input field "type" on measurement "app" is type boolean, already exists as type string dropped=2"

It's not typically done, but it is possible and there are mechanisms to query both of them. Types for fields are done at the shard level so each shard can have a different type. Typically, the query engine will ask all of the shards what they think the type should be and will choose one of them based on a set of priorities (float > integer > string > boolean > tag). So if you wrote one type to one shard and one type to another shard, this is what you get.
If you want to query something lower on the priority scale (such as if you wanted to query the boolean instead of the string), you would refer to the variable with value::boolean. That forces the query engine to grab the boolean instead of the string. Any values that are of a different type than the one query are just ignored by the query engine.
The exception to that are how floats and integers are dealt with. If you query a float, any integers are converted to floats. If you query for integers (by explicitly saying value::integer), the floats will be truncated and converted to integers.
While this exists, it is recommended to use the same type for each field in a measurement. You cannot write fields of different types into the same measurement within the same shard. If you do that, the points will be dropped.
I hope that helps explain this.

@jsternberg thanks for the explanation. This helps me to understand why i have both types. I dropped old shared due to a wrong migration, but if i recreate them they keep the wrong type, whereas if i play the same process on a new database it works as intended. (i'm on influx 1.7.2)


test that you can call notifyPath on readonly props

This is actually fixed by https://github.com/dart-lang/polymer_interop/pull/24, but the test is here

lgtm


Timeouts Far Earlier Than Expected

I wrote a quick-and-dirty script to test gRPC vs Thrift Haskell libraries when moving large, structured data over a channel. As can be seen by running the main application, even though all client timeouts are set to 10000000 seconds, I consistently get a time-out after only a second or so:
ClientIOError GRPCIOTimeout
CallStack (from HasCallStack):
  error, called at src/GRPCvsThrift/GRPCClient.hs:43:43 in gRPC-vs-Thrift-<IP_ADDRESS>-94CrnjUzsegHPgjx1PI6me:GRPCvsThrift.GRPCClient

I cannot figure out why this is. Is it possible that a max size limit violation is being interpreted as a timeout? Can the max size limit be changed?
This only occurs when the data structure being sent is large enough. To give an idea of the approximate size, when show is called on a "too large" data structure, the result is about 10,000,000 characters long. A known "not too large" data structure shows to about 6,000,000 characters.
Help?
P.S. gRPC is way, way faster than Thrift when sending big messages (~ 20-30x). Thanks so much!

Hi @isheff,
We've run into a small handful of scenarios where certain error conditions (e.g. an unreachable host under certain network conditions) seem to be reported as a timeout from the C core, regardless of the actual timeout value supplied when making the client call. So it wouldn't surprise me if something similar is happening w.r.t. a max size violation.
You might try playing with the GRPC_TRACE and GRPC_VERBOSITY environment variables and see if there's evidence in the debug spew of a channel size violation.
Max size limits on channels can be modified via channel args, cf. this test and https://github.com/awakesecurity/gRPC-haskell/pull/35.
However, it looks like like I only bound MaxReceiveMesssageLength and not the corresponding send limit, which seems to be what you want to tweak. Also, note that the header indicates that a size limit of -1 connotes "no limit" but we've used a Natural -- IIRC, that was intentional, and the comment in the header was deemed stale, but apparently I didn't feel like that was important enough to mention on #35. :tada:
So it looks like there's certainly some attention needed there, specifically for the max send size, but the test I linked above seems to indicate a different status code for the failure case (StatusInvalidArgument), at least when it's the receive limit that's been exceeded.
The fix is likely to add support for the max send size channel arg, and set it appropriately; it would also be useful to determine the source of the error reporting bug. PRs welcome =). BTW, I'm more than happy to dig into this, but won't have cycles in the super short term to do so.
Thanks for the feedback!


Upgrade USWDS from 3.5.0 to 3.10.0

Doing this (1) to keep up to date with bug fixes, (2) specifically there's an update to align icons in buttons better, so hoping that will help in my Lit component
Reviewed release notes, don't see anything glaring: https://github.com/uswds/uswds/releases
Looked through our NJDWS documentation site with latest version of USWDS included, not seeing any changes

@ezhangy Oh shoot great catch thank you thank you I'll update!


Slight Typo

Good morning,
There is a slight typo towards the beginning of the documentation.  In the bullet point that defines what the Primary Table is, it reads, "In the above example, the CustGrouptable would be the primary table."  It should read, "In the above example, the CustGroup table would be the primary table."  There should be a space in between Group and table. Thank you!

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

ID: 3a953fbe-ec7f-9984-42f8-3c88248761a1
Version Independent ID: 4b40257c-e071-b131-31ac-1dcdbe8d995b
Content: Extensible data security policies - Finance & Operations | Dynamics 365
Content Source: articles/fin-ops-core/dev-itpro/sysadmin/extensible-data-security-policies.md
Service: dynamics-ax-applications
Product: ****
Technology: ****
GitHub Login: @Peakerbl
Microsoft Alias: peakerbl

Thank you letting us know about the issue. We appreciate the feedback!

This issue has been addressed now. Thanks again for the feedback!


Saving images when using inline blocks causes JS errors.

Adding a new image / updating an image, fires a POST to a missing url and then errors in javascript.   Same repo to replicate here : https://github.com/swytch/bugs.
This doesn't inhibit saving the block.
However using the nested block in the same repo, and adding an image inside will stop the image from saving.  Uncaught SyntaxError: Unexpected token '<', " - which looks like it's returning the HTML for the editform instead of JSON.  I think these are related, so I'm sticking both issues in here.

Adding a new image / updating an image, fires a POST to a missing url and then errors in javascript

I can't reproduce this. Please add a series of explicit step-by-step instructions for reproducing this.

using the nested block in the same repo, and adding an image inside will stop the image from saving. Uncaught SyntaxError: Unexpected token '<', "

I can't reproduce this either. Please add a second set of step-by-step instructions for reproducing this one.

We are expiricing probably the same issue. Maybe we can shed some light on how to reproduce this.
First some context / findings:

we are using Elemental 5.2.3 and SS 5.2.12
we are using Elemental in BlogPosts, so the ElementalArea is loaded not in Pages but Blog (admin/news/)
if we edit the same page in the pages section, the are no js-errors and the page can be saved without problems

so instead of admin/news/SilverStripe-Blog-Model-BlogPost/EditForm/field/SilverStripe-Blog-Model-BlogPost/item/659/edit/
use the same ID in a different pages-section: https://localhost/aobmz2023.nl/admin/pages/edit/show/659/

using inlineEditable solves the problem also

Reproduction steps

set the DNADesign\Elemental\Extensions\ElementalPageExtension on the BlogPost pagetype
create an Element with a text and image
in the CMS, create a new blogpost and add the text-image element
add an image and some text, save the page
observe the console error Uncaught SyntaxError: Unexpected token '<', "

the expected JSON is indeed no json, but the HTML of the form.
this is caused by the URL returning HTML instead of JSON /admin/news/SilverStripe-Blog-Model-BlogPost/EditForm/field/SilverStripe-Blog-Model-BlogPost/item/659/ItemEditForm/

Maybe the screencast makes it a little better to understand. The first part is editing in the Blog-section, the second part in the Pages-section (yet it is the same blogpost / page):
https://github.com/user-attachments/assets/4dba21c9-138b-4e6a-9979-593a057944fd

@baukezwaan can you please check if this is fixed in 5.3.1+?
I think https://github.com/silverstripe/silverstripe-elemental/pull/1267 will have resolved it.

@GuySartorelli yes, just checked to see if updating to the latest version would fix this issue.
I have upgraded dnadesign/silverstripe-elemental (5.2.3 => 5.3.4) and now the image does work while editing the element inline.
Thanks!

Awesome. Closing this as resolved.


Fix 'failed to load source map' warnings in console

The root cause here is that we have a package (sanitize-html) that contains embedded source maps. These were being blindly rewritten to append the source map URL, which resulted in an invalid URL.
So fixing this by ignoring embedded source maps when rewriting the URLs. VS Code doesn't seem to have this problem (the package that was causing this isn't used by them and I didn't see any others that were like this) so they don't currently bother doing this kind of check.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 41.642%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
27882

Relevant Lines:
62385

💛  - Coveralls

oh, nice, this has been there for quite a while. thanks for fixing it.


Consider providing a TokenCredential from recorder that is a no-op in playback mode

Originally posted by @witemple-msft in https://github.com/Azure/azure-sdk-for-js/pull/12759#pullrequestreview-614800015

I just have one high-level comment, which is that I like that we're doing this as a way to mitigate risk, but what I wonder is whether we can get away with just rejecting/ignoring all requests to login.microsoft.com altogether.

Maybe one way to tackle this longer term is to provide a TokenCredential from test-utils/recorder that extends DefaultAzureCredential in live/record mode and is a no-op in playback mode. Then if we can just throw away login.microsoft.com recordings, we should be able to abstract the credential out of the recordings entirely.

We could also probably configure nock to just always respond to login.microsoft.com requests with a fake access_token response that is baked into the recorder. Just some food for thought.

@HarshaNalluru, @jeremymeng, is this still an interesting issue to worry about?  This was opened before the JS team was transitioning over to the new test recording proxy.


Where is the wrong in my yaml file? If conditions are not working properly.

If I change in foo2 folder or foo folder, it triggers all steps and does not skip any steps.
Some should be skipped some steps when I change something in just one of them.
My File directory is like this:

.github

workflows
.main.yml

foo

js
.bc-global.js

live
.global-bundle.js
.script-bundle.js
scripts
.script1.js
.script2.js
.script3.js

foo2

js
.lc-global.js

live
.global-bundle.js
.script-bundle.js
scripts
.script1.js
.script2.js
.script3.js

name: Upload to S3

on:
  push:
    branches:
      - test-s3
    paths:
      - "foo/js/bc-global.js"
      - "foo/js/scripts/**.js"
      - "foo2/js/lc-global.js"
      - "foo2/js/scripts/**.js"

jobs:
  deploy:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@master
      - uses: actions/checkout@v2
      - uses: dorny/paths-filter@v2
        id: changes
        with:
          filters: |
            foo:
              - 'foo/js/bc-global.js'
              - 'foo/js/scripts/**.js'
            foo2:
              - 'foo2/js/lc-global.js'
              - 'foo2/js/scripts/**.js'

      - name: Install node
        uses: actions/setup-node@v3
        with:
          node-version: 16.13.0
          registry-url: "https://registry.npmjs.org"

      - name: Install uglify-js
        run: npm install uglify-js -g

      # minify files for each project
      - name: minify script files for foo
        if: steps.changes.outputs.foo == 'true'
        run: uglifyjs foo/js/scripts/**.js -o foo/js/live/scripts-bundle.js
      - name: minify global file for foo
        if: steps.changes.outputs.foo == 'true'
        run: uglifyjs foo/js/bc-global.js -o foo/js/live/global-bundle.js

      - name: minify script files for foo2
        if: steps.changes.outputs.foo2 == 'true'
        run: uglifyjs foo2/js/scripts/**.js -o foo2/js/live/scripts-bundle.js
      - name: minify global file for foo2
        if: steps.changes.outputs.foo2 == 'true'
        run: uglifyjs foo2/js/lc-global.js -o foo2/js/live/global-bundle.js

      # Auto committing
      - name: Auto committing minified files
        uses: stefanzweifel/git-auto-commit-action@v4
        with:
          file_pattern: "*.js"
          commit_message: "Github Action: Auto Minified JS files"
          branch: ${{ github.ref }}

      # Deploy for foo
      - name: Deploy to S3 for foo
        if: steps.changes.outputs.foo == 'true'
        uses: jakejarvis/s3-sync-action@master
        with:
          args: --follow-symlinks --cache-control max-age=600
        env:
          AWS_S3_BUCKET: ${{ secrets.AWS_BUCKET_NAME }}
          AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
          AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
          AWS_REGION: ${{ secrets.AWS_REGION }}
          SOURCE_DIR: "foo/js/live"
          DEST_DIR: "foo/pages/assets/js/test/"

        # Deploy for foo2
      - name: Deploy to S3 for foo2
        if: steps.changes.outputs.foo2 == 'true'
        uses: jakejarvis/s3-sync-action@master
        with:
          args: --follow-symlinks --cache-control max-age=600
        env:
          AWS_S3_BUCKET: ${{ secrets.AWS_BUCKET_NAME }}
          AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
          AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
          AWS_REGION: ${{ secrets.AWS_REGION }}
          SOURCE_DIR: "foo2/js/live"
          DEST_DIR: "foo2/pages/assets/js/test/"

@dorny Do you have any idea? Because it seems like it has to be working for me.

@ffcabbar I will take a look on it later in the evening.

Thanks a lot! I'll wait for you. And I also shared it on StackOverflow. Maybe It helps you.
link

It works now! Thanks a lot! I just added the base input variable.


Spanish updates

Please make sure these boxes are checked before submitting your pull request - thanks!

[ ] Run the unit tests with gradlew app:connectedGmsDebugAndroidTest to make sure you didn't break anything (with an emulator running or phone connected)

[ ] If you have multiple commits please combine them into one commit by squashing them.

Note you may see the Cirrus CI system failing on your PR. It's pretty flaky right now so don't
be alarmed.

Thanks so much for jumping on this!  I'll get the into the outgoing release.


NGN.NET Resource Configuration: Add "mode" option

Is your feature request related to a problem? Please describe.
When developing locally it is sometimes helpful to be able to disable CORS. There isn't a simple, easy way to do that that I'm aware of at present.
Describe the solution you'd like
It would useful to have a global mode configuration option when instantiating a Resource. This would accept any of the values described here: https://developer.mozilla.org/en-US/docs/Web/API/Request/mode and apply them to all requests made by the Resource.
Describe alternatives you've considered
NONE
Additional context
NONE

Related to #8.

Currently, only a few of the fetch options are implemented: headers and partial caching (can prevent caching, but not configure the mode). The following options could be supported:
mode
The mode you want to use for the request, e.g., cors, no-cors, or same-origin.
credentials
The request credentials you want to use for the request: omit, same-origin, or include. To automatically send cookies for the current domain, this option must be provided. Starting with Chrome 50, this property also takes a FederatedCredential instance or a PasswordCredential instance.
cache
The cache mode you want to use for the request.
redirect
The redirect mode to use: follow (automatically follow redirects), error (abort with an error if a redirect occurs), or manual (handle redirects manually). In Chrome the default is follow (before Chrome 47 it defaulted to manual).
referrer
A USVString specifying the referrer of the request. This can be a same-origin URL, about:client, or an empty string.
referrerPolicy
The other options only make sense on a per-request basis, so creating a "globally" applicable configuration attribute will be more difficult to work with (and therefore will not be added).
--
The aforementioned attributes could each have their own individual property (i.e. each one is a resource configuration option), such as:
const API = new Resource({
  mode: 'no-cors',
  credentials: 'same-origin',
  cache: 'no-cache',
  redirect: 'follow', // this is already the default behavior
  referrer: 'about:client'
})

The other option is to have a single options attribute, such as:
const API = new Resource({
  options: {
    mode: 'no-cors',
    credentials: 'same-origin',
    cache: 'no-cache',
    redirect: 'follow', // this is already the default behavior
    referrer: 'about:client'
  }
})

The benefit of the second approach is it is easier to implement and will have a smaller footprint. The disadvantage is it is less intuitive and breaks form with the current approach (which is more like the prior example).
I feel like the first option would be best, to remain consistent with how the current configuration is handled. It also seems more intuitive than needing to know to add an options attribute.

I ended up implementing the individual attributes, so the following should work:
const API = new Resource({
  mode: 'no-cors',
  credentials: 'same-origin',
  cache: 'no-cache',
  redirect: 'follow', // this is already the default behavior
  referrer: 'about:client'
})

Keep in mind, using mode: 'no-cors' adheres to the corresponding fetch request mode attribute, meaning it will not return data in JavaScript when CORS is not applied and should be. See https://developer.mozilla.org/en-US/docs/Web/API/Request/mode.


Moving SCTP support from alpha to beta

SCTP support feature would move to "beta" stage. The documents should be updated to reflect this change.
The enhancement issue is tracked here: https://github.com/kubernetes/enhancements/issues/614
The PR to set the feature flag to "true" by default: https://github.com/kubernetes/kubernetes/pull/88932

/milestone 1.19
/assign

Howdy @janosi! This looks great - once @sftim's items are addressed, I feel good signing off on this.

Hello @onlydole , Updated, please check. Thank you!

@kubernetes/sig-network-pr-reviews can you check this one? It should be straighforward.

/hold
pending https://github.com/kubernetes/kubernetes/pull/88932
/approve
Does that seem OK?

@sftim

Does that seem OK?

Do you mean why is kubernetes/kubernetes#88932 pending?
I do not know. That got lgtm, and I cannot really see any reason why those remaining 2 tests do not progress. Do you have any idea? I would be happy to push that forward.

k/kubernetes PR has merged.
/hold cancel

@janosi you'll need to rebase, should be easy

@sftim Rebased.

@sftim Could you please take a look? Thank you.


Fix user management sanity tests

ODS-1661 and ODS-1680 are broken due to a change in a xpath. The fix is covered by this PR

Jenkins job on v1.25: 1636 : SUCCESS


[Bug] Cannot delete Grant CRD

Describe the bug
When I'm trying to delete the CRD with the following command it does't get deleted:
kubectl delete --force grants.mariadb.mmontes.io foo

Expected behaviour
The deployed Grant should be deleted.
Steps to reproduce the bug
Deploy a Grant with a non existent database table. Here's the YAML file I used to deploy the CRD:
apiVersion: mariadb.mmontes.io/v1alpha1
kind: Grant
metadata:
  name: foo
spec:
  mariaDbRef:
    name: mariadb
  privileges:
    - "SELECT"
  database: "mysql"
  table: "proxies-priv"
  username: maxscale
  grantOption: false

(It should be mysql.proxies_priv)
Additional context
Not an expert but I suspect a deadlock in the finalizer 🤔 Don't really have the time to inspect further right now but might give it a look later.
Following the instructions from this answer I eventually deleted the CRD.
Environment details:

Kubernetes version:

Client Version: v1.27.2
Kustomize Version: v5.0.1
Server Version: v1.24.14-gke.1200

mariadb-operator version: v0.0.18
Install method: helm
Install flavour: custom

Hey there @matthieugusmini ! Thanks again for reporting this.

Not an expert but I suspect a deadlock in the finalizer thinking Don't really have the time to inspect further right now but might give it a look later.

Good catch, the problem is that we are setting the finalizer in the first place, even if the SQL resource hasn't been reconciled:
https://github.com/mariadb-operator/mariadb-operator/blob/main/pkg/controller/sql/controller.go#L45..L47
The SQL resource is invalid and therefore is not created in the database at any point, the controller will be erroring trying to reconcile. At this point, if we delete the resource as you did, finalizing the resource will fail because the controller will be trying to delete a non existing resource:
https://github.com/mariadb-operator/mariadb-operator/blob/main/pkg/controller/sql/finalizer.go#L65..L67
The solution for this may be moving this block to the end of the reconciliation logic here, after the resource has successfully been reconciled. Feel free to give it a try and raise a PR. I will try to have a look as well when I find some time 😃
Thanks!

After merging your PR, the finalizers are correctly set only after the resource is reconciled in the database. I've managed to delete a Grant pointing to a non existing user without hassle. Closing!

Is there a way to delete this correctly? I have it deployed and am having a hard time removing.
❯ for crd in `kubectl get crds -oname | grep mariadb.com | awk -F / '{ print $2 }'`; do kubectl delete crd $crd; done
customresourcedefinition.apiextensions.k8s.io "grants.k8s.mariadb.com" deleted
customresourcedefinition.apiextensions.k8s.io "users.k8s.mariadb.com" deleted

The programme is stuck at this point and wouldn't move forward.
Thanks.


[Do Not Disturb][Promodoro] Chore and fixes

Description
Fixes https://github.com/raycast/extensions/pull/15193#issuecomment-2484877133 and https://github.com/raycast/extensions/pull/15193#issuecomment-2489492936.
Do Not Disturb

Bump all dependencies to the latest
Fix confirm dialog not showing issue
Fix cross-extension prompt if Enable Mac Do Not Disturb while Focused is disabled

Pomodoro

Bump all dependencies to the latest
Fix launchContext variable name
Refactor and simply function parameters
Add documentation for cross-extension usage

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

Let's get it merged

@LitoMore This is great thank you 🎉, fixes almost all issues, and I know I am being a keyboard warrior over here and not fixing the issues myself but the DnD should be turned off before the "Interval Completed" popup shows up or else the DnD toast closes the "Interval Completed" popup.


managedmac::activedirectory class needs a seatbelt

Binding to AD using a profile is great, except for one thing...
When you change the content of a profile, it's an all or nothing operation. If you need to modify one of the plugin settings after you've deployed the profile, the entire profile will be removed and reinstalled.
However, if your AD is not available when this happens, you will wind up with cascading Puppet resource failures. Fun!
Example:

AD is only available on a private network
machine is deployed and successfully bound to AD
machine connects from a foreign network
a change to the managedmac::activedirectory params is made

As a workaround, create a new class param that will force a check the availability of the specified Active Directory domain before attempting any operations.

There aren't a lot of choices when it comes to executing conditional resource application in Puppet. The constructs and language features are there, but they're not flexible enough to deal with dynamic environments.
Functions are handy, but they suck if you need information specific to the client because they're executed by the Puppet Master. This makes sense because it's the Puppet Master that should be determining state, not the client. Still, this one-way street can be aggravating when your client doesn't live at a fixed address. If they ride around town in a Winnebago, and you never know what street they're going to be on, you are basically f'd.
Apart from building conditional logic into the type/provider, there's really only one choice...
Facter.

Also... How do I test this? It would take more time to write the test than the code itself.

Facter doesn't understand booleans.
Hiera doesn't understand Facter.
Puppet equates undef with empty.

Sounds like a typical party.

Does Chef have real data types? Cuz, I am fed up. Get it? Chef? Fed? Nevermind...

This is going to be my longest commit message ever, and I didn't even rant.

So, this new parameter basically affords you a seatbelt for performing conditional evaluation of the only resource in the class, the 'managedmac.activedirectory.alacarte' mobileconfig.
If $evaluate is "yes", "true" or undef, the mobileconfig gets evaluated. Otherwise, evaluation of the resource is skipped.
You can use a fact like the one in this Gist to determine state.
And then use the interpolated fact in your Hiera, like this...
managedmac::activedirectory::evaluate: "%{::domain_available?}"


Cannot find module 'bluebird/js/main/promise'

Hi,
When I try node app.js I get this error.
Cannot find module 'bluebird/js/main/promise'.
Are you aware of the reason why?

Same...


Boundary layer should be above landuse layer

in svg resulting from vector export
bad:

good:

I'd also suggest above the water layer, for lakes and stuff

Fixed with https://github.com/datadesk/web-map-maker/commit/13d5a8e77db3532dc01d9190dcee58c425ccf655


Feature Request:  Make the target of searches clickable links

For example, if object of the search is policies make each policy name in the search results a clickable link that will open the policy in your default web browser.  For the packages report it would be nice to have both the package name and policy name be clickable links.  If that can't be done, alternatively include the Jamf ID of the object in questions as a separate column.
The reasoning for this request is that for many things there can be duplicate names so having the unique jamf ID will help definitively identifying that object.  Especially for larger Jamf Pro servers that have thousands of policies and thousands of packages.

+1

Not sure how I let this sit here for so long. Double clicking an item will open it in Jamf Pro, provided you already authenticated to the server.


What models will be available for custom object detection once PyTorch is used?

Hello everyone,
I was wondering which model will be available for custom object detection once the switch to PyTorch is completed. Will it still be Yolov3 using the DarkNet backend, or will you be using torchvisions models like Faster R-CNN or RetinaNet?
Thanks in advance!

Interesting question, I'm looking forward to know what models the new ImageAI version based on PyTorch will provides


'Dragging' element appears at wrong position in Firefox when translate applied to body

Replicated here: http://jsbin.com/gukidafara/edit?html,css,js,output
This doesn't appear to be an issue in Edge or Chrome.

Have a similar issue on iOS (iPad). But I don't use translate. No idea what causes this error.

Old issue but I've the same issue on my side, Is there any update ?


⚠ Samsung has degraded performance

In ec5be3e, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2283 ms

Resolved: Samsung performance has improved in f53080c.


Typo in Music Player Project Step-33

Describe the Issue
There is a small typo in the Music Player Step 33, where the word paused has been repeated twice.
Affected Page
https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures-v8/learn-basic-string-and-array-methods-by-building-a-music-player/step-33
~Your code~
Expected behavior
There should be one paused.
Screenshots

System

Device: Laptop
OS: Fedora 39
Browser: Microsoft Edge
Version:

Additional context
No response

Thanks for opening this issue.
This looks something that can be fixed by "first time" code contributors to this repository. Here are the files that you should be looking at to work on a fix:
List of files:

https://github.com/freeCodeCamp/freeCodeCamp/blob/main/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-basic-string-and-array-methods-by-building-a-music-player/65521ec3bb117c195c4f6cb5.md

Please make sure you read our guidelines for contributing, we prioritize contributors following the instructions in our guides. Join us in our chat room or the forum if you need help contributing, our moderators will guide you through this.
Sometimes we may get more than one pull requests. We typically accept the most quality contribution followed by the one that is made first.
Happy contributing.


githubb

ADD ISSUE DESCRIPTION HERE
Version: 1.80.0-insider
Commit: 4649b5333370139d161e7b5d4f78ca13741efa35
User Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 16_5_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) FxiOS/114.4  Mobile/15E148 Safari/605.1.15
Embedder: github.dev

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Documentation

Are you also going to check-in the build process?  I could see chartjs extensions being helpful such as timeline and the ability to build a custom wasm.

sqlchart has no build process (other than i privately lint all files with jslint).  the entire github-repo is a static website edited by hand.
pull-requests for custom, chartjs plugins are welcome, but you need to manually edit the files.


Create a xcframework using the following gomobile bind command:
gomobile bind \
	-ldflags "-X client.Version=$WARP_VERSION" \
	-target ios,iossimulator,macos,maccatalyst -iosversion 16.0 \
	-bundleid com.bringyour \
	-trimpath \
	-gcflags "-dwarf=true" \
	-ldflags "-X client.Version=$WARP_VERSION -compressdwarf=false -B gobuildid" \
	-o "build/$BUILD_DIR/URnetworkSdk.xcframework" \
	github.com/urnetwork/sdk;

The command ends with an error:
gomobile: maccatalyst/amd64: go build -gcflags -dwarf=true -ldflags -X client.Version=2024.12.3-outerwerld -compressdwarf=false -B gobuildid -trimpath -buildmode=c-archive -o /var/folders/r3/v_3z60rx2cxg0s1r9tl9fbmw0000gn/T/gomobile-work-3462168386/URnetworkSdk-maccatalyst-amd64.a ./gobind failed: exit status 1
# golang.org/x/mobile/gl
In file included from /Users/brien/go/pkg/mod/golang.org/x/mobile@v0.0.0-20241108191957-fa514ef75a0f/gl/work.go:25:
./work.h:18:10: fatal error: 'OpenGLES/ES2/glext.h' file not found
   18 | #include <OpenGLES/ES2/glext.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~
1 error generated.

What did you see happen?
go build cannot find header file.
In file included from /Users/brien/go/pkg/mod/golang.org/x/mobile@v0.0.0-20241108191957-fa514ef75a0f/gl/work.go:25:
./work.h:18:10: fatal error: 'OpenGLES/ES2/glext.h' file not found
   18 | #include <OpenGLES/ES2/glext.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~
1 error generated.

What did you expect to see?
The maccatalyst libraries should be included in the built xcframework without error.

Related Issues

x/mobile/cmd/gomobile: gomobile-build fails due to header-files not found error #24644 (closed)
runtime/cgo: Undefined symbols for architecture arm64: _darwin_arm_init_mach_exception_handler when building for Mac Catalyst #47228 (closed)
x/mobile/gl: Can't be compiled for iOS (gomoible bind -target ios) #16067 (closed)
x/mobile: clang: error: invalid version number in '-target arm64-apple-ios13.0-macabi' #54727
x/mobile: macos catalina compile err #37317 (closed)
x/exp,x/mobile/gl: build failure on darwin-arm64-11_0-toothrot due to missing OpenGL ES headers #43220 (closed)
x/mobile/cmd/gomobile: gomobile bind fails with Xcode 15 #63141 (closed)
x/mobile/cmd/gomobile: gomobile bind targetting iOS fails #24733 (closed)
gomobile bind -target ios fails #63162 (closed)
x/mobile: Cannot bind gomobile with simple go package #30842 (closed)

(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)

CC @hyangah via https://dev.golang.org/owners


feat: bitcoin fees query

Try out this version of the Hiro Wallet - download extension builds.

This PR adds the bitcoin fee estimates query as a precursor to reworking the existing fees component for the new send form.
Using endpoint: https://github.com/Blockstream/esplora/blob/master/API.md#fee-estimates
This endpoint returns fee rates that we use * tx byte length to get the fees we will suggest to the user. We need to decide what block confirmations we want to target to suggest a low, middle, and high fee.

We can merge this as a first step, but I'm having to make some more changes to get the different blockchain fee estimate types to work together. I have another working branch off this one.

Hoping I am leaving this in a place it can be merged and worked with if needed for the fees component.

@kyranjamie is this ok to merge now?


Restructure repository based on ADR

Based on #26 .

A few questions/notes:

Where does the log live, does it live in core or outside of it? I have put it in core for now.
There are a few private classes which I changed to not private as they were accessed outside of the immediate module space, however for things that are accessed within a space imported like from ._thing import Class are we happy having private things accessed like this? from ._thing import _SneakyClass. Same with methods.
For the case where these private classes are not imported directly for normal use, but need to be for tests, do we want to keep them private for make them public.
Do patches need the full module path with the private modules included? This should be clear once we hit the points of checking tests

Closed in favor of #467


ensure we preserve the translated project strings on project copy

#3574 introduced project translation copying. However that change had a bug where it would replace the copied translated strings with the primary language strings on all the translations which is useless for translations
This PR changes the way translations are copied and ensure the translated strings stay intact while ensuring the relevant project version records are setup and aligned in the translation.string_versions hash.
Review checklist

[ ] First, the most important one: is this PR small enough that you can actually review it? Feel free to just reject a branch if the changes are hard to review due to the length of the diff.
[ ] If there are any migrations, will they the previous version of the app work correctly after they've been run (e.g. the don't remove columns still known about by ActiveRecord).
[ ] If anything changed with regards to the public API, are those changes also documented in the apiary.apib file?
[ ] Are all the changes covered by tests? Think about any possible edge cases that might be left untested.

Sorry for the delay. I wanted to play around and test this on my local. This looks good to me.

thank you for the quick PR review 🎉


Do not start BuildSignReconciler in managed mode

Fixes #1139
/cc @ybettan @yevgeny-shnaidman

/lgtm


Sphinx errors in Gluon

Description
Fix Sphinx errors that appear on local execution of make html.
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.

[ ] The PR title starts with [MXNET-$JIRA_ID], where $JIRA_ID refers to the relevant JIRA issue created (except PRs with tiny changes)
[x] Changes are complete (i.e. I finished coding on this PR)
[x] All changes have test coverage:
Unit tests are added for small changes to verify correctness (e.g. adding a new operator)
Nightly tests are added for complicated/long-running ones (e.g. changing distributed kvstore)
Build tests will be added for build configuration changes (e.g. adding a new build option with NCCL)
[x] Code is well-documented:
For user-facing API changes, API doc string has been updated.
For new C++ functions in header files, their functionalities and arguments are documented.
For new examples, README.md is added to explain the what the example does, the source of the dataset, expected performance on test set and reference to the original paper if applicable
Check the API doc at http://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-$PR_ID/$BUILD_ID/index.html
[x] To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Changes

indentation changes

Comments

Fixes the following errors:

incubator-mxnet/python/mxnet/autograd.py:docstring of mxnet.autograd.grad:6: WARNING: Explicit markup ends without a blank line; unexpected unindent.
incubator-mxnet/python/mxnet/gluon/contrib/nn/__init__.py:docstring of mxnet.gluon.contrib.nn.Concurrent:1: WARNING: Inline interpreted text or phrase reference start-string without end-string.
incubator-mxnet/python/mxnet/gluon/contrib/nn/__init__.py:docstring of mxnet.gluon.contrib.nn.HybridConcurrent:1: WARNING: Inline interpreted text or phrase reference start-string without end-string.
incubator-mxnet/python/mxnet/gluon/contrib/rnn/__init__.py:docstring of mxnet.gluon.contrib.rnn.VariationalDropoutCell:3: ERROR: Unexpected indentation.
incubator-mxnet/python/mxnet/gluon/contrib/rnn/__init__.py:docstring of mxnet.gluon.contrib.rnn.LSTMPCell:5: ERROR: Unexpected indentation.
incubator-mxnet/python/mxnet/gluon/contrib/rnn/__init__.py:docstring of mxnet.gluon.contrib.rnn.LSTMPCell:14: WARNING: Literal block ends without a blank line; unexpected unindent.
incubator-mxnet/python/mxnet/gluon/contrib/rnn/__init__.py:docstring of mxnet.gluon.contrib.rnn.LSTMPCell:24: ERROR: Unexpected indentation.
incubator-mxnet/python/mxnet/gluon/contrib/rnn/__init__.py:docstring of mxnet.gluon.contrib.rnn.LSTMPCell:25: WARNING: Block quote ends without a blank line; unexpected unindent.
incubator-mxnet/python/mxnet/gluon/contrib/rnn/__init__.py:docstring of mxnet.gluon.contrib.rnn.LSTMPCell:: ERROR: Unknown target name: "lstmp".
docstring of mxnet.gluon.data.vision.datasets.MNIST:11: WARNING: Field list ends without a blank line; unexpected unindent.
docstring of mxnet.gluon.data.vision.datasets.FashionMNIST:13: WARNING: Field list ends without a blank line; unexpected unindent.
docstring of mxnet.gluon.data.vision.datasets.CIFAR10:11: WARNING: Field list ends without a blank line; unexpected unindent.
docstring of mxnet.gluon.data.vision.datasets.CIFAR100:13: WARNING: Field list ends without a blank line; unexpected unindent.
docstring of mxnet.gluon.data.vision.datasets.ImageRecordDataset:13: WARNING: Field list ends without a blank line; unexpected unindent.
docstring of mxnet.gluon.data.vision.datasets.ImageFolderDataset:17: WARNING: Field list ends without a blank line; unexpected unindent.
incubator-mxnet/python/mxnet/gluon/__init__.py:docstring of mxnet.gluon.Block.load_parameters:15: WARNING: Inline interpreted text or phrase reference start-string without end-string.
incubator-mxnet/python/mxnet/gluon/__init__.py:docstring of mxnet.gluon.Block.save_parameters:12: WARNING: Inline interpreted text or phrase reference start-string without end-string.
incubator-mxnet/python/mxnet/gluon/__init__.py:docstring of mxnet.gluon.Constant:6: WARNING: Inline interpreted text or phrase reference start-string without end-string.
incubator-mxnet/python/mxnet/gluon/nn/basic_layers.py:docstring of mxnet.gluon.nn.Sequential.hybridize:1: WARNING: Inline interpreted text or phrase reference start-string without end-string.
incubator-mxnet/python/mxnet/gluon/loss.py:docstring of mxnet.gluon.loss.LogisticLoss:8: ERROR: Unexpected indentation.
incubator-mxnet/python/mxnet/test_utils.py:docstring of mxnet.test_utils.check_numeric_gradient:13: WARNING: Bullet list ends without a blank line; unexpected unindent.

Thanks for your contributions @vandanavk please add preview link

Preview:
http://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-13275/6/api/python/gluon/contrib.html
http://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-13275/6/api/python/autograd/autograd.html
http://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-13275/6/api/python/gluon/data.html
http://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-13275/6/api/python/gluon/gluon.html
http://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-13275/6/api/python/gluon/loss.html
http://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-13275/6/api/python/tools/test_utils.html

@aaronmarkham

@mxnet-label-bot add [pr-awaiting-merge]

@mxnet-label-bot add [Doc]


properly handle exception on ServletContext.getClassLoader()

What does this PR do?
The fix applied in #1464 did not covered all cases, this change makes sure that all calls to ServletContext#getClassLoader() are properly wrapped in a try/catch to avoid potential UnsupportedOperationException.
Checklist

[x] This is a bugfix

[ ] I have updated CHANGELOG.asciidoc
[ ] I have added tests that would fail without this fix

:green_heart: Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS

Expand to view the summary

Build stats

Build Cause: Pull request #1576 opened

Start Time: 2020-12-17T20:10:26.908+0000

Duration: 41 min 19 sec

Test stats :test_tube:

Test
Results

Failed
0

Passed
1633

Skipped
12

Total
1645

Test snapshot can be downloaded with the following link.

Update: validated with user that the fix in this PR solves their issue.


[1pt] PR: Upgrading various python packages

This PR covers two new dependabot PR's, jinja2 #1146 and tqdm #1143.
A couple of other packages were upgraded:

openpyxl:  Previously added to Pipfiles in previous builds but not completed or fully integrated into Pipfile.
osmnx: Previously added to Pipfiles in previous builds but not completed or fully integrated into Pipfile.

In the near future, we will be merging in code for probalistic FIM. There are already some Pipfile requirements as part of the dev cycle and will become part of the final products. Those are being added here.

lmoments3, zarr, aiohttp

The basic pipenv version has also been upgraded.

During this process we also upgraded the ipython package.
This will close the dependant bot PR's.
Changes

See the list of all package changes described above.

Testing
This has been tested by creating new containers with the changes, then ran fim-pipeline on one HUC, then alpha testing and all is well. A test against the new probabilitic files has not been yet done. Those files are in a branch not yet merged.
Deployment Plan (For developer use)
How does the changes affect the product?

[ ] Code only?
[ ] Require new or adjusted data inputs? Does it have start, end and duration code (in UTC)?
[ ] If new or updated data sets, has the FIM code been updated and tested with the new/adjusted data (subset is fine, but must be a subset of the new data)?
[ ] Require new pre-clip set?
[x] Has new or updated python packages?
[ ] If applicable, has a deployment plan be created with the deployment person/team?

Issuer Checklist (For developer use)
You may update this checklist before and/or after creating the PR. If you're unsure about any of them, please ask, we're here to help! These items are what we are going to look for before merging your code.

[x] Informative and human-readable title, using the format: [_pt] PR: <description>
[x] Links are provided if this PR resolves an issue, or depends on another other PR
[x] If submitting a PR to the dev branch (the default branch), you have a descriptive Feature Branch name using the format: dev-<description-of-change> (e.g. dev-revise-levee-masking)
[x] Changes are limited to a single goal (no scope creep)
[ ] The feature branch you're submitting as a PR is up to date (merged) with the latest dev branch
[x] pre-commit hooks were run locally
[x] Any change in functionality is tested
[ ] Passes all unit tests locally (inside interactive Docker container, at /foss_fim/, run: pytest unit_tests/)
[ ] New functions are documented (with a description, list of inputs, and expected output)
[ ] Placeholder code is flagged / future todos are captured in comments
[ ] CHANGELOG updated with template version number, e.g. 4.x.x.x
[ ] Reviewers requested
[ ] Add yourself as an assignee in the PR  as well as the FIM Technical Lead

Merge Checklist (For Technical Lead use only)

[ ] Update CHANGELOG with latest version number and merge date
[ ] Update the Citation.cff file to reflect the latest version number in the CHANGELOG
[ ] If applicable, update README with major alterations

This was merged in to a newer branch, 1172 (Remove loading of apache-arrow), making this one obsolete.


Fix MinionClientTest by picking open port

This has a race condition, whereas #7688 allows the OS to perform atomic port selection

Codecov Report

Merging #7693 (5b35a4d) into master (14c377d) will decrease coverage by 3.27%.
The diff coverage is 0.00%.

:exclamation: Current head 5b35a4d differs from pull request most recent head 000b245. Consider uploading reports for the commit 000b245 to get more accurate results

@@            Coverage Diff             @@
##           master    #7693      +/-   ##
==========================================
- Coverage   30.86%   27.58%   -3.28%
==========================================
  Files        1571     1572       +1
  Lines       80040    80052      +12
  Branches    11906    11905       -1
==========================================
- Hits        24703    22082    -2621
- Misses      53225    55959    +2734
+ Partials     2112     2011     -101

Flag
Coverage Δ

integration1
?

integration2
27.58% <0.00%> (-0.15%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

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

This is not fixing the issue. Verified that all the ports are somehow occupied. Closing this PR


Ngx admin Loading Slow , how to increase speed like on demo page?

So my NGX Admin installation takes 10 seconds to load while the demo and especially documentation instance located here loads at ultra speed of 2 seconds! https://akveo.github.io/nebular/#/docs/
How did they make it so fast 1-2 seconds while for me it takes 10 seconds to load a ngx-admin instance? Please help me improve speed

I have this question as well. Any support ?

@6matko  , just with angular cli build it for production , use command "ng build --prod"  , its ultra fast now :)

Closing as resolved

.

It's slow and still slow and annoyingly slow... Not resolved !!!

Same here :(

any update on this?

Same issue

SOLUTION :
import BrowserAnimationsModule
`import {BrowserAnimationsModule} from "@angular/platform-browser/animations";

Hello, I'm having the same issue here, it takes a lot of time (23 secs. is the better scenario). Can you please tell me how BrowserAnimationsModule is related to this?

where are you importing BrowserAnimationsModule? Isn't that importing by default in app.module?

Still the same issue occurs, application loading slow each time on saving the changes and reloading. After some research, I came to know that loading get slow down because of pages module and load children. Any solution or help regarding this?

I have a same problème. Help, Please !


Sounds credit and license?

The website says “carefully curated” and the Github that everything is placed under MIT, but it feels like some source is missing for all the sounds, and a confirmation that they are for sure under MIT as well.

Hey there! All sounds are sourced from either Pixabay or Freesound, except for the binaural beats, which I created myself. The license for Pixabay doesn't require crediting, while for Freesound, I've only selected sounds with a CC0 license, which also doesn't require crediting.

Sounds good thanks. Just in case other have the same questions, it could be worth considering adding this information somewhere, for instance the Github readme.

Pixabay license is also not “free”, which means I’m not sure you can apply MIT on top of it.

Could you please specify which part of their license you are referring to?

Just the facts that there are clauses under “What are you not allowed to do with Content?”. They are fine to use in this project of course, but then when the only license mentioned in the root of the repo is MIT, a much more permissive license, it will be assumed that everything in the project repo is under MIT, which isn’t the case. Someone could fork or use sound clips from the project thinking they are under MIT. I’m not a license specialist at all so you might want to double check that, but to be on the safe side, mentioning that the contents of the sound effects folder are under other licenses could be worth?

Thank you for your suggestion. I've just included a license section in the README file. Could you please review it and confirm if this is what you meant?

Great, I think that’s clear :)


VsChromium should/could warn when search settings prevent finding anything

Years ago when I wrote a text editor it's search functionality had a special behavior for when no match was found. If "whole words" or "case-sensitive" was enabled then it would automatically repeat the search with these settings disabled and, if something was found, it would tell the user. Something like:
"No instances of 'fooBAr' found because case sensitivity was enabled.
It was unobtrusive and easy to ignore, but sometimes it would be brilliant. Every now and then I am unable to find results because I have forgotten to uncheck one of those filters.
Alternate implementations could involve always displaying how many hits there would be if there was no filtering, or displaying it any time that the number of results is less than some threshold (a hundred?). There are some human factors details that can make this slightly better or worse. But, it's fairly easy to get this so it provides some subtle additional information without ever demanding the user's attention.

Agree this would be useful. Easiest would be to run a 2nd search if either whole words/case sensitive is enabled, and display somewhere (all the time) the number of hits the 2nd search returned. As long as the 2nd search is run asynchronously, it should not affect responsiveness for the user.
I probably need .5 day to implement this.

Fixed in https://github.com/chromium/vs-chromium/releases/tag/v0.9.20

Nice! I love it.


Alert Matching with Elastic

Hi guys! Love the project as is, if it didn't already exist we were liable to build something similar. We'd love to discuss adding an integration for alert matching with Elastic, and Kubernetes detonators (will make a separate issue for the latter).
Earliest we (Thought Machine) are likely to be in a position to give this serious attention (if you guys are game) is Q1 2024. With that said we'd like to know two things:

What's in your immediate roadmap for the tool? Ie. is it liable to shift dramatically in such a way that it no longer makes sense for us to use it?
Does adding support for Elastic align with your vision for this project? Your introductory blog post suggests it does, but would like to confirm since that was some time ago (Aug 2022).

Hi there! I'd love to get contributions to support other platforms than Datadog. This is (and has always been) the vision of the project, as you point out.
We don't have an immediate roadmap for the tool (besides bug fixes and stability improvements)


SoftTripletLoss margin

Hi,
first of all thanks for sharing such great code.
Can I ask you the meaning of setting margin=0.0 versus margin=None in the MMTTrainer?
Inspecting the SoftTripletLoss class looks like margin=None implements equation 8 in the paper, while setting the margin to any float would boil it down to equation 6. Am I correct?
Thank you very much.
https://github.com/yxgeee/MMT/blob/aeb547079c65d9aa2b8ce08d587970412d362b07/mmt/trainers.py#L172
https://github.com/yxgeee/MMT/blob/aeb547079c65d9aa2b8ce08d587970412d362b07/mmt/trainers.py#L173

Hi, your understanding is exactly right.
When setting the margin to a float number like 0.0, (1-margin) becomes the hard label in equation 6, e.g. 1 in our paper.

Hi, your understanding is exactly right.
When setting the margin to a float number like 0.0, (1-margin) becomes the label in equation 6, e.g. 1 in our paper.

Thank you very much!


Add runtime directive for System.Collections.ArrayList

I was too aggressive in removing rdxml that it turns out we still need.
Fix #5517

cc @divega

Had a chat with @natemcmaster the reason reflection metadata is needed for System.Collections.ArrayList is that Re-LINQ uses it. We can follow up with them on changing the way they are accessing it, but for now adding the directive seems to be the right thing to do.

:shipit:


protect options from replay attack

Trying to determine why long-running sessions inexplicably become slow, I ran tcpdump and found unsolicited DNS queries beginning with the letter N were severely reducing the downstream fragment size.
When using carrier-grade DNS, the server is especially vulnerable to replay attacks that abuse the options commands (DNS queries beginning with N or O or S).  I suggest refusing options commands after the negotiation of options has completed.

The attacks continue.  Google DNS periodically sends the command "naaajo" to my server. Presumably I set user 0 fragsize 151 in some previous session and something cached the command and is replaying it.  Fortunately now my server has been patched and I have kept the same session running smoothly for days with user 0 fragsize 1258 locked in.

Thanks!


Making API endpoint a configurable machine parameter

Vultr developer here. I can confirm that bfosberry's patch is quite useful. We add API endpoints from time to time, and this patch will allow systems using this driver (like Rancher) to take advantage of them.

Thanks @bfosberry
I am curious though, are there any endpoints other then https://api.vultr.com/ ?

None publicly, but we have several for testing and special client needs.

Thanks!


[BUG] Functions no longer callable from logic apps after migrating to V2 model (python)

Investigative information

Timestamp: 2024-03-05 11:00:00
Core Tools version: 4.0.5455

Repro steps
1 - Define a function using the V2 python model and blueprints:
import azure.functions as func
import logging

app = func.FunctionApp(http_auth_level=func.AuthLevel.ANONYMOUS)

@app.route()
def http_trigger(req: func.HttpRequest) -> func.HttpResponse:
    logging.info('Python HTTP trigger function processed a request.')

    name = req.params.get('name')
    if not name:
        try:
            req_body = req.get_json()
        except ValueError:
            pass
        else:
            name = req_body.get('name')

    if name:
        return func.HttpResponse(f"Hello, {name}. This HTTP triggered function executed successfully.")
    else:
        return func.HttpResponse(
            "This HTTP triggered function executed successfully. Pass a name in the query string or in the request body for a personalized response.",
            status_code=200)

Deploy the function.
I verify http_trigger shows in the function app in Azure
Try to call the function from a logic app using the "Azure Functions" action

Expected behavior
I can select the "http_trigger" method just like with the V1 model.
Actual behavior
The list of available methods is empty

Contents of the requirements.txt file:
azure-functions

Notes:
The same behaviour is observed when using blueprints:
import azure.functions as func
import logging

bp = func.Blueprint()

@bp.route()
def http_trigger(req: func.HttpRequest) -> func.HttpResponse:
    ...

app = func.FunctionApp(http_auth_level=func.AuthLevel.ANONYMOUS)
app.register_blueprint(bp)

Hi @ManelBH  are you trying like this.seems working fine.if not please mention all the steps.Thanks

Hi @bhagyshricompany, I'm using Consumption Logic Apps.

ok will update.

@gavin-aguiar  pls comment and validate.Thanks

Any news?


Wallet Coins: sometimes horizontal scrollbar shows up

happened twice now that the wallet coins dialog gained a horizontal scrollbar.
It was when I testing something with coinjoin and having wallet coins dialog open -> coinjoin successful -> pocket unfolded -> gained a horizontal scrollbar at wallet coins dialog -> manually folded a pocket -> horizontal scroll bar disappeared and didn't come back.
Wasabi Version
309437b4483e9668280990a04a4ac86db9a071d0

FYI, I tried to repro with the pocket unfolding when a filters hits (long known issue), I can't repro that way

Must be something with TDG, previously we had similar issues. But without a repro, there is no chance to fix it.

This is pure TDG stuff. Should be fixed in Avalonia's TreeDataGrid.


Metadata extraction failed

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm reporting that yt-dlp is broken on a supported site
[X] I've verified that I have updated yt-dlp to nightly or master (update instructions)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and I'm willing to share it if required

Region
Pakistan
Provide a description that is worded well enough to be understood
App version: 1.12.1 (11212)
Device information: Android 13 (API 33)
Supported ABIs: [arm64-v8a, armeabi-v7a, armeabi]
Yt-dlp version: 2<IP_ADDRESS>743
URL: https://www.instagram.com/reel/C4-PVVegLju/?igsh=MWYyYzdwYWxqN2hteQ==
WARNING: [Instagram] C4-PVVegLju: General metadata extraction failed (some metadata might be missing).
WARNING: [Instagram] unable to extract shared data; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
WARNING: [Instagram] Main webpage is locked behind the login page. Retrying with embed webpage (some metadata might be missing).
WARNING: [Instagram] unable to extract additional data; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
ERROR: [Instagram] C4-PVVegLju: Requested content is not available, rate-limit reached or login required. Use --cookies, --cookies-from-browser, --username and --password, --netrc-cmd, or --netrc (instagram) to provide account credentials
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
App version: 1.12.1 (11212)
Device information: Android 13 (API 33)
Supported ABIs: [arm64-v8a, armeabi-v7a, armeabi]
Yt-dlp version: 2<IP_ADDRESS>743

URL: https://www.instagram.com/reel/C4-PVVegLju/?igsh=MWYyYzdwYWxqN2hteQ==
WARNING: [Instagram] C4-PVVegLju: General metadata extraction failed (some metadata might be missing).
WARNING: [Instagram] unable to extract shared data; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
WARNING: [Instagram] Main webpage is locked behind the login page. Retrying with embed webpage (some metadata might be missing).
WARNING: [Instagram] unable to extract additional data; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
ERROR: [Instagram] C4-PVVegLju: Requested content is not available, rate-limit reached or login required. Use --cookies, --cookies-from-browser, --username and --password, --netrc-cmd, or --netrc (instagram) to provide account credentials

Duplicate of #7165


OCR function

Refer:
https://www.anyline.io/

other references:
https://android-arsenal.com/details/3/324
https://android-arsenal.com/details/2/598
https://android-arsenal.com/tag/68

Tesseract Tools for Android
https://github.com/rmtheis/tess-two

Refer
Google Mobile Vision Text API for Android
SampleCode (see ocr-reader-start/complete)