How to get all columns of a bean to use in a projection ? #2166(This is an existing problem)

link : https://github.com/querydsl/querydsl/issues/2166
Description:
Hello everybody,
Here is the context :
I have a stupid database constraint that forces me to use a projection to get data from tables using joins conditions that use only one column of composite PKs (so not working with JPA specifications of @OneToMany and @ManyToOne).
My DBA doesn't want to hear about sequence generated IDs... she is very "old school" about DB modelling... she is in love with composite PKs... :(
So... I want to get all the columns of my main bean, and the other data I need.
Yes, it's simple, and I managed to do it by iterating on every column of my bean, no problem.
Something like that :
Projections.bean(qMainBean, qMainBean.firstField, ..., qOtherBean, qStupidJoinBean)
But here is my problem :
Every time I want to add a new column in my @Entity bean, I need to go to modify my query to add that new column in my projection. First, that's annoying, and second, it's not good for maintaining the code.
By searching on StackOverflow and then on QueryDSL documentation, I saw a .all() method on Q generated classes to get all the columns of my bean (that's a great thing !), but I don't have that method generated on my Q classes (that's a bad thing !).
How can I get that method on my Q classes ? Am I missing something ?
My configuration :
Spring Platform Athens-SR5 as "parent" project, so QueryDSL 4.1.4 (and I use all libs in dependencies : core, jpa, collections, codegen, sql and apt)
And for generating Q classes, I use com.querydsl.apt.hibernate.HibernateAnnotationProcessor with jpa and apt libs as dependencies in my POM.

Although this issue has been mentioned, it has obviously not been resolved. It is a valuable function, so I still hope it can be taken seriously.

I see here is a method to use native sql in jpa http://querydsl.com/static/querydsl/latest/reference/html/ch02.html#d0e446
But I have a error with the plugin, so I do not know if anyone can use it.


Let JMH benchmarks depend on successful integration tests.

Codecov Report

Merging #512 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #512   +/-   ##
=========================================
  Coverage     91.22%   91.22%
  Complexity      584      584
=========================================
  Files           112      112
  Lines          2347     2347
  Branches        207      207
=========================================
  Hits           2141     2141
  Misses          152      152
  Partials         54       54

Continue to review full report at Codecov.

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


Name of test package causes confusion

The class PubPackageResolutionTest, in both analyzer and analysis_server, creates a pub package named test, but having a directory named test is confusing some code into thinking that everything in the package is in the test directory. We should consider renaming the package in the tests to something that doesn't have meaning inside a pub package, and, if possible, we need to ensure that a similar configuration on user machines doesn't lead to false positives.

@scheglov

Do you know a specific tests that this naming causes issues?
Do you have a naming suggestion? I propose using my, i.e. home/my and package:my/my.dart with String get myPackageRootPath => '$workspaceRootPath/my'; and String get myPackageLibPath => '$myPackageRootPath/lib';, etc.

Do you know a specific tests that this naming causes issues?

This issue was inspired by a review of https://dart-review.googlesource.com/c/sdk/+/195720, which has tests that needed to work around the name choice.

Do you have a naming suggestion?

No, anything that doesn't have a conventional meaning in pub, so not lib, bin, test, web, etc. I think my is fine; it fits the criteria.

https://dart-review.googlesource.com/c/sdk/+/196241


Meta tags not listing when configuring search connector with enterprise website data source

I have an enterprise website with OAuth enabled. While configuring the search connector meta tags are not listed on configuration settings page. If I disable the authentication then the meta tags list is shown as expected.  I am following the article https://docs.microsoft.com/en-us/microsoftsearch/enterprise-web-connector#step-3a-meta-tag-settings.
Please help me with this.

Hi @VikramAIS, please send an email to<EMAIL_ADDRESS>with a link to this issue.
Include your tenant ID, and if possible, include screenshots of the results you are getting.


Multiple material source meshes converted to incomplete slots

UMA used to combine all sub meshes into a slot, but now it preserves the sub meshes with no way to assign any material to any sub mesh but the first.

Top has 2 materials. Part of the top is missing around the arms.

Fixed in branch unity53, it now creates one slot per submesh. Please verify.


Guice configuration empty in provider

Using soabase-guice v0.11.0, Configuration is populated in Application's initialization
public class Application extends io.dropwizard.Application<AppConfiguration> {
    public static void main(String... args) throws Exception {
        new Application().run(args);
    }

    @Override
    public void initialize(Bootstrap<AppConfiguration> bootstrap) {
        bootstrap.addBundle(new SwaggerBundle<AppConfiguration>() {
            @Override
            protected SwaggerBundleConfiguration getSwaggerBundleConfiguration(AppConfiguration configuration) {
                return configuration.swaggerBundleConfiguration;
            }
        });

        bootstrap.addBundle(new GuiceBundle<>(new StandardInjectorProvider<>(new GuiceModule())));
    }
    ...
}

but not in the provides method
public class GuiceModule extends AbstractModule {
    ...
    @Provides
    OvenController provideOvenController(AppConfiguration configuration) {
        // configuration is empty here!
    }
    ...
}

Tried switching to dropwizard-guicier, and that worked.

Hmm - the StandardInjectorProvider should inject the configuration. That would be more convenient. For now, you can do it manually by creating your own injector provider. I'll fix this as soon as I can.

Do you mind trying with this PR? https://github.com/soabase/soabase/pull/40 Use ConfigurationInjectorProvider instead of StandardInjectorProvider

Looks good from here!
On Fri, Jul 29, 2016 at 4:40 PM, Jordan Zimmerman<EMAIL_ADDRESS>wrote:

Do you mind trying with this PR? #40
https://github.com/soabase/soabase/pull/40 Use
ConfigurationInjectorProvider instead of StandardInjectorProvider
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/soabase/soabase/issues/39#issuecomment-236320137, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ADU_Ddta1qfalQ6DbTFHWwxx3f6X29ZNks5qao94gaJpZM4JYpxU
.

Thanks :)

Oof, sorry, I take it back. I'm getting a 404 on all my endpoints, as if it
wasn't able to use AbstractModule's bind method.
On Tue, Aug 2, 2016 at 7:21 PM, Jordan Zimmerman<EMAIL_ADDRESS>wrote:

Closed #39 https://github.com/soabase/soabase/issues/39 via fd3b2fb
https://github.com/soabase/soabase/commit/fd3b2fb68ff427fcf9a928e84778c0d9374aaa8b
.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/soabase/soabase/issues/39#event-743269712, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ADU_DTOBqWnGfewkUwS7vgQuFQKcrBxTks5qb_sugaJpZM4JYpxU
.

Can you post a test case so I can see the problem?

ping @mindyor

Sorry! Let me see if I can put something together
On Aug 11, 2016 5:08 PM, "Jordan Zimmerman"<EMAIL_ADDRESS>wrote:

ping @mindyor https://github.com/mindyor
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/soabase/soabase/issues/39#issuecomment-239329961, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ADU_DTyIENAbXGiecCUAFcRQ6-f7QCqQks5qe7mHgaJpZM4JYpxU
.

https://github.com/mindyor/soabase-bug-sample

In your sample, you're not using JerseyGuiceModule. You must use JerseyGuiceModule to get things to inject properly. Please try that.

Hm, I'm seeing the same 404 behavior, but perhaps I didn't implement it
correctly. Could you take another look?
On Mon, Aug 15, 2016 at 8:07 PM, Jordan Zimmerman<EMAIL_ADDRESS>wrote:

In your sample, you're not using JerseyGuiceModule. You must use
JerseyGuiceModule to get things to inject properly. Please try that.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/soabase/soabase/issues/39#issuecomment-239989844, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ADU_DRDUZd9l6Kw_ZsqNJkTbd2Nmfg64ks5qgSligaJpZM4JYpxU
.

OK - I see the bug now. Thanks for persisting. I’ll have a fix soon.
-Jordan

On Aug 16, 2016, at 7:56 PM, Mindy Or<EMAIL_ADDRESS>wrote:
Hm, I'm seeing the same 404 behavior, but perhaps I didn't implement it
correctly. Could you take another look?
On Mon, Aug 15, 2016 at 8:07 PM, Jordan Zimmerman<EMAIL_ADDRESS>wrote:

In your sample, you're not using JerseyGuiceModule. You must use
JerseyGuiceModule to get things to inject properly. Please try that.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/soabase/soabase/issues/39#issuecomment-239989844, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ADU_DRDUZd9l6Kw_ZsqNJkTbd2Nmfg64ks5qgSligaJpZM4JYpxU
.

—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub https://github.com/soabase/soabase/issues/39#issuecomment-240284240, or mute the thread https://github.com/notifications/unsubscribe-auth/AAQKchyIPMCiXVD6PrlwB2J9IgPu-v3cks5qglwjgaJpZM4JYpxU.

Note @mindyor - you have to use the javax version of @Inject, not the Guice version due to a bug in HK2 bridge.

Ooh, yes. Thank you
On Tue, Aug 16, 2016 at 8:52 PM, Jordan Zimmerman<EMAIL_ADDRESS>wrote:

Note @mindyor https://github.com/mindyor - you have to use the javax
version of @Inject https://github.com/Inject, not the Guice version due
to a bug in HK2 bridge.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/soabase/soabase/issues/39#issuecomment-240306879, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ADU_DZJuNpeMu-QzZIz62smXNiZfd5J4ks5qgoWMgaJpZM4JYpxU
.

I just released the fix. Remember to use javax.inject.Inject

Hm, I'm still seeing the same behavior with 0.11.2 and java.inject.Inject

I just pulled your latest and tested it - it works for me. Make sure you do a clean compile I guess. I'm not sure what's different.

Oh nope, you're right, works for me too. Thanks!
On Wed, Aug 17, 2016 at 10:00 AM, Jordan Zimmerman<EMAIL_ADDRESS>
wrote:

I just pulled your latest and tested it - it works for me. Make sure you
do a clean compile I guess. I'm not sure what's different.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/soabase/soabase/issues/39#issuecomment-240477046, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ADU_DfIIMEx3xiMabNk2gtcZKM6qdLWcks5qgz4wgaJpZM4JYpxU
.


Set delegated Service Provider role

Is there a way to give the owner role (Not contributer role) to a managed service provider?

Owner is currently not supported via Lighthouse delegation, but something we are looking into.
Can you elaborate a bit on the use case(s) for why Owner would be required/preferred?

We would like owner to help manage RBAC roles to the subscription for the customer as they wouldn’t know what roles would be needed to delegate access to their own employees.
[360 Visibility]https://www.360visibility.com/?source=sig
Craig Wester
Cloud Solutions Consultant
cwester<EMAIL_ADDRESS>|<PHONE_NUMBER>tel:(905) 907-3614
926 Nashville Rd., Vaughan ON L0J 1C0
[Twitter]https://twitter.com/360visibility[LinkedIn]https://www.linkedin.com/company/360-visibility[YouTube]https://www.youtube.com/user/360visibilityinc[Facebook]https://www.facebook.com/360Vis/[Instagram]https://www.instagram.com/360_visibility/
www.360visibility.comhttps://www.360visibility.com/?source=sig
[Get Jet Global Unlimited Viewer Users before December 27. Unlimited Viewer Users will be discontinued after this date.]https://insightsoftware.com/promos/jet/q4-2019/?utm_source=360visibility.com&utm_medium=partner
Holiday Hours
Open: December 24 & December 31 from 9am - 1pm
Closed: December 25 - 27 & January 1
If you have an urgent support matter, please open a ticket with the related department or visit 360 Visibility Supporthttps://www.360visibility.com/support/
Happy Holidays from 360 Visibility!
From: Kristian Nese<EMAIL_ADDRESS>Sent: Friday, December 13, 2019 1:54 AM
To: Azure/Azure-Lighthouse-samples<EMAIL_ADDRESS>Cc: Craig Wester<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [Azure/Azure-Lighthouse-samples] Set delegated Service Provider role (#50)
External Email

Owner is currently not supported via Lighthouse delegation, but something we are looking into.
Can you elaborate a bit on the use case(s) for why Owner would be required/preferred?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2FAzure-Lighthouse-samples%2Fissues%2F50%3Femail_source%3Dnotifications%26email_token%3DAL3CB3OMQZT5IDPGOADUN23QYMWQ5A5CNFSM4JZDPXPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGZCXXI%23issuecomment-565324765&data=01|01|cwester%40360visibility.com|8ded93833d804665ea0008d77f993f77|0815a0a621fd4467a0ad296bc115d5f2|0&sdata=5wBKQtHVTTmZf5fEB1T4eUu0LRECV2%2F67XrR8fgOuPQ%3D&reserved=0, or unsubscribehttps://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAL3CB3PAZPHPLXJUGIQI6A3QYMWQ5ANCNFSM4JZDPXPA&data=01|01|cwester%40360visibility.com|8ded93833d804665ea0008d77f993f77|0815a0a621fd4467a0ad296bc115d5f2|0&sdata=MxGq5oaI1%2FahrGG%2BG2cSJZXcS%2F42N8UsD5sJM9o3SyE%3D&reserved=0.
Confidentiality Warning: This message and any attachments are intended only for the use of the intended recipient(s), are confidential, and may be privileged. If you are not the intended recipient, you are hereby notified that any review, retransmission, conversion to hard copy, copying, circulation or other use of this message and any attachments is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail, and delete this message and any attachments from your system. Thank you Please consider the environment before printing this email.

Thanks. Closing this as we are actively investigating this on our side.


Unable to push commit

I created a branch called init with a code and documents bundle and ran the following command after committing locally:
git push --set-upstream origin init

Here is what I got (I entered my username and github.com account password):
Username for 'https://github.com': VRamakrishna
Password for<EMAIL_ADDRESS>remote: Invalid username or password.
fatal: Authentication failed for 'https://github.com/hyperledger-labs/weaver-dlt-interoperability.git/'

Hi, @VRamakrishna : I am not sure what I can do to help. It appears that you are unable to log into github. One thing that you might check is whether you have two-factor authentication set up. If so, you need to use a personal access token (see this github documentation). Alternatively, you can connect with SSH to avoid personal access tokens.


know installation done on new Hardware  ? [Question]

Hi ,
if we validate license with PC , and same distribution copied to new PC , i need to installation copied so i will ask user to enter some password or whatever feature , is it possible ?
in first run of application , my idea to ask user enter a key and i will validated once after that in each run of application i need to run validation but i don't want to ask user to entered key ? also it is not right to save Key in database even if it is hashed ?
thanks in advance

your public and private key should probably be hard coded into your application or at least built into it (not stored in git). these absolutely should not be in the db.
also the licenses probably should be encrypted, besides the signature users can edit the values if you keep it as plain text. although this is great for debug purposes.
for validation you could lock licenses by device if you request a device id from the user first, you'll have to do your own validation for this.
the better option is to use a validation server that you have users register and deregister devices, the application should check if it's still registered or there is an open slot when it first turns on.


fallback image url not working.

For videos that don't have a maxresdefault.jpg, the fallback url "https://img.youtube.com/vi/"+id+"/0.jpg" is not working. So, when the video doesn't have a maxres image, no poster is shown.

what is your browser / OS?

Running Chrome Version 43.0.2357.130 (64-bit) on OSX 10.9.1


Patch fix bootstrap using modern nodejs

Fixes bootstrap process identified in #761.  Also fixes a minor issue when running tests in a folder structure with invalid shell characters in the folder names (spaces, single quotes, etc).

 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.

Looks like the indentation is cleaned up (thanks for catching that @doug-wade).
I've created https://github.com/redfin/react-server/issues/765 to capture the need to re-introduce a "debug" script to test pages.
Gonna get this merged to unblock folks on node 7.  Thanks @drewpc!


Revert "refactor(connlib): split device handler for clients & gateway"

Reverts firezone/firezone#2301
This auto-merged despite failing CI.

Lol, can't use the native GitHub revert button because then the commits aren't signed ...


Failed to execute Set-TargetResource functionality - xExchInstall

I am trying to setup a exchangeserver using xExchInstall, but cant get it to work.
I get this error in the Desired State Configuration log on the VM
Job {CE757964-BB1B-11E6-95A3-00155D016AC3} :
This event indicates that failure happens when LCM is processing the configuration. Error Id is 0x1. Error Detail is The SendConfigurationApply function did not succeed.. Resource Id is [xExchInstall]InstallExchange and Source Info is C:\Lability\Configurations\LabBase.ps1::375::5::xExchInstall. Error Message is PowerShell DSC resource MSFT_xExchInstall  failed to execute Set-TargetResource functionality with error message: ScriptHalted .

Anyone knows what that means or where to find some good help on this issue?

Hi,
could you share the parameters for Setup.exe and which version of Exchange you try to install?
Ciao,
Ingo

It sounds like you are probably hitting this issue: https://github.com/PowerShell/xExchange/issues/136. That was recently fixed, but hasn't been merged into the Master build of xExchange yet. Can you try downloading the latest Dev build of xExchange and see if this issue still occurs?

I am using Exchange2016 CU3 om Windows Server 2016
This is my parameters
'/mode:Install /role:mb /Iacceptexchangeserverlicenseterms /OrganizationName:LAB /InstallWindowsComponents '
@mhendric as I am not the expert in powershell and DSC - how do I install the dev version ?

@andlo, go to the main module page here (https://github.com/PowerShell/xExchange), make sure the branch is set to Dev (instead of Master), and hit the green Clone or Download button.

Direct link: https://github.com/PowerShell/xExchange/archive/dev.zip

@mhendric :) how to install it?

Same as any other custom PowerShell module. See: https://msdn.microsoft.com/en-us/library/dd878350(v=vs.85).aspx.
By default, you'd want to put it in C:\Program Files\WindowsPowerShell\Modules. Under there you'll have the xExchange folder. Directly under C:\Program Files\WindowsPowerShell\Modules\xExchange, you'll have DSCResources, Examples, Misc, and Test folders, and a couple files, including xExchange.psd1. If you're replacing an older module, you may need to reboot before the new one starts getting used by DSC.

Also, make sure to unblock all the files, as DSC won't use them if Windows thinks they're blocked. From a Administrator PowerShell window, you can run: dir 'C:\Program Files\WindowsPowerShell\Modules' -recurse | unblock-file

Looks like same problem :( I did copy dev files on top of existing module. How do I se which version is in use ?

Ohhh - I was to fast - have to test some more.

You'll need to recompile the MOF (on a host that has the Dev module installed) and then push/apply the new configuration :S

I experienced the same error:ScriptHalted after "[[xExchInstall]InstallExchange] Task Action:". The task was registered and it's working when you start it manually. I'm looking into this now. The error is thrown by the function StartScheduledTask.

scratch my previous statement...it's working. I did not kill WmiPrvSE, which cached the old module. Thus means the issue is fixed with the dev version...

Closing as resolved in: https://github.com/PowerShell/xExchange/issues/136


Link to channel funding transaction

Currently there is no way in the UI to find the funding transaction. this can be helpful to debug channels

Related: https://github.com/getAlby/nostr-wallet-connect-next/issues/300


ERROR: [hotstar]<PHONE_NUMBER>: Unable to download JSON metadata: HTTP Error 503: Service Unavailable (caused by <HTTPError 503: Service Unavailable>)

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
No response
Provide a description that is worded well enough to be understood
Site Url : https://www.hotstar.com/in/shows/tumi-asheypashey-thakle/1260156248/deb-parvatis-love-wins/1700042336/watch
ERROR: [hotstar]<PHONE_NUMBER>: Unable to download JSON metadata: HTTP Error 503: Service Unavailable (caused by <HTTPError 503: Service Unavailable>)
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
C:\Users\moder\Downloads\Programs>yt-dlp -vU -F https://www.hotstar.com/in/shows/tumi-asheypashey-thakle/1260156248/deb-parvatis-love-wins/1700042336/watch
[debug] Command-line config: ['-vU', '-F', 'https://www.hotstar.com/in/shows/tumi-asheypashey-thakle/1260156248/deb-parvatis-love-wins/1700042336/watch']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>from yt-dlp/yt-dlp [4d9231208] (win_exe)
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.22631-SP0 (OpenSSL 1.1.1k  25 Mar 2021)
[debug] exe versions: ffmpeg 2024-02-01-git-94422871fc-essentials_build-www.gyan.dev (setts), ffprobe 2024-02-01-git-94422871fc-essentials_build-www.gyan.dev
[debug] Optional libraries: Cryptodome-3.20.0, brotli-1.1.0, certifi-2024.07.04, curl_cffi-0.5.10, mutagen-1.47.0, requests-2.32.3, sqlite3-3.35.5, urllib3-2.2.2, websockets-12.0
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets, curl_cffi
[debug] Loaded 1830 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version<EMAIL_ADDRESS>from yt-dlp/yt-dlp
yt-dlp is up to date<EMAIL_ADDRESS>from yt-dlp/yt-dlp)
[hotstar] Extracting URL: https://www.hotstar.com/in/shows/tumi-asheypashey-thakle/1260156248/deb-parvatis-love-wins/1700042336/watch
[hotstar]<PHONE_NUMBER>: Downloading JSON metadata
[hotstar]<PHONE_NUMBER>: Downloading webpage
[hotstar]<PHONE_NUMBER>: Downloading token
ERROR: [hotstar]<PHONE_NUMBER>: Unable to download JSON metadata: HTTP Error 503: Service Unavailable (caused by <HTTPError 503: Service Unavailable>)
  File "yt_dlp\extractor\common.py", line 740, in extract
  File "yt_dlp\extractor\hotstar.py", line 250, in _real_extract
  File "yt_dlp\extractor\hotstar.py", line 65, in _call_api_v2
  File "yt_dlp\extractor\hotstar.py", line 40, in _call_api_impl
  File "yt_dlp\extractor\common.py", line 1139, in download_content
  File "yt_dlp\extractor\common.py", line 1099, in download_handle
  File "yt_dlp\extractor\common.py", line 960, in _download_webpage_handle
  File "yt_dlp\extractor\common.py", line 909, in _request_webpage

  File "yt_dlp\extractor\common.py", line 896, in _request_webpage
  File "yt_dlp\YoutubeDL.py", line 4165, in urlopen
  File "yt_dlp\networking\common.py", line 117, in send
  File "yt_dlp\networking\_helper.py", line 208, in wrapper
  File "yt_dlp\networking\common.py", line 340, in send
  File "yt_dlp\networking\_requests.py", line 365, in _send
yt_dlp.networking.exceptions.HTTPError: HTTP Error 503: Service Unavailable

C:\Users\moder\Downloads\Programs>

Most likely caused by the same underlying issue as in #10366 (guest token endpoint has been disabled/restricted)
Try passing cookies from a logged-in browser session

Thank you for your response. And your specifying method is working fine.
C:\Users\pc 2\Desktop\video tools>yt-dlp --cookies cookies.txt -vU -F
https://www.hotstar.com/in/shows/khukumoni-home-delivery/1260072493/meet-khukumoni-delivering-food/1000267861/watch
[debug] Command-line config: ['--cookies', 'cookies.txt', '-vU', '-F', '
https://www.hotstar.com/in/shows/khukumoni-home-delivery/1260072493/meet-khukumoni-delivering-food/1000267861/watch
']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error
utf-8, screen utf-8
[debug] yt-dlp version @.*** from yt-dlp/yt-dlp [12b248ce6]
(win_exe)
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.19045-SP0
(OpenSSL 1.1.1k  25 Mar 2021)
[debug] exe versions: ffmpeg N-92795-gcdbf8847ea, ffprobe
2024-01-01-git-e1c1dc8347-essentials_build-www.gyan.dev
[debug] Optional libraries: Cryptodome-3.20.0, brotli-1.1.0,
certifi-2024.02.02, curl_cffi-0.5.10, mutagen-1.47.0, requests-2.32.2,
sqlite3-3.35.5, urllib3-2.2.1, websockets-12.0
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets, curl_cffi
[debug] Loaded 1820 extractors
[debug] Fetching release info:
https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
[debug] Downloading _update_spec from
https://github.com/yt-dlp/yt-dlp/releases/latest/download/_update_spec
[debug] Downloading SHA2-256SUMS from
https://github.com/yt-dlp/yt-dlp/releases/download/2024.08.06/SHA2-256SUMS
Current version: @.*** from yt-dlp/yt-dlp
Latest version: @.*** from yt-dlp/yt-dlp
Current Build Hash:
e96f6348244306ac999501b1e8e2b096b8a57f098c3b2b9ffe64b2107039e0ae
Updating to @.*** from yt-dlp/yt-dlp ...
[debug] Downloading yt-dlp.exe from
https://github.com/yt-dlp/yt-dlp/releases/download/2024.08.06/yt-dlp.exe
Updated yt-dlp to @.*** from yt-dlp/yt-dlp
[debug] Restarting: yt-dlp --cookies cookies.txt -vU -F
https://www.hotstar.com/in/shows/khukumoni-home-delivery/1260072493/meet-khukumoni-delivering-food/1000267861/watch
[debug] Command-line config: ['--cookies', 'cookies.txt', '-vU', '-F', '
https://www.hotstar.com/in/shows/khukumoni-home-delivery/1260072493/meet-khukumoni-delivering-food/1000267861/watch
']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error
utf-8, screen utf-8
[debug] yt-dlp version @.*** from yt-dlp/yt-dlp [4d9231208]
(win_exe)
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.19045-SP0
(OpenSSL 1.1.1k  25 Mar 2021)
[debug] exe versions: ffmpeg N-92795-gcdbf8847ea, ffprobe
2024-01-01-git-e1c1dc8347-essentials_build-www.gyan.dev
[debug] Optional libraries: Cryptodome-3.20.0, brotli-1.1.0,
certifi-2024.07.04, curl_cffi-0.5.10, mutagen-1.47.0, requests-2.32.3,
sqlite3-3.35.5, urllib3-2.2.2, websockets-12.0
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets, curl_cffi
[debug] Loaded 1830 extractors
[debug] Fetching release info:
https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: @.*** from yt-dlp/yt-dlp
yt-dlp is up to date @.*** from yt-dlp/yt-dlp)
[hotstar] Extracting URL:
https://www.hotstar.com/in/shows/khukumoni-home-delivery/1260072493/meet-khukumoni-delivering-food/1000267861/watch
[hotstar]<PHONE_NUMBER>: Downloading JSON metadata
[hotstar]<PHONE_NUMBER>: Downloading webpage
[hotstar]<PHONE_NUMBER>: Downloading JSON metadata
[hotstar]<PHONE_NUMBER>: Downloading MPD manifest
[hotstar]<PHONE_NUMBER>: Downloading m3u8 information
[hotstar]<PHONE_NUMBER>: Downloading MPD manifest
[hotstar]<PHONE_NUMBER>: Downloading MPD manifest
[hotstar]<PHONE_NUMBER>: Downloading m3u8 information
[hotstar]<PHONE_NUMBER>: Downloading m3u8 information
[hotstar]<PHONE_NUMBER>: Downloading m3u8 information
[hotstar]<PHONE_NUMBER>: Downloading m3u8 information
[hotstar]<PHONE_NUMBER>: Downloading m3u8 information
[hotstar]<PHONE_NUMBER>: Downloading m3u8 information
[hotstar]<PHONE_NUMBER>: Downloading MPD manifest
[hotstar]<PHONE_NUMBER>: Downloading m3u8 information
[hotstar]<PHONE_NUMBER>: Downloading m3u8 information
[hotstar]<PHONE_NUMBER>: Downloading m3u8 information
[hotstar]<PHONE_NUMBER>: Downloading MPD manifest
[hotstar]<PHONE_NUMBER>: Downloading MPD manifest
[hotstar]<PHONE_NUMBER>: Downloading MPD manifest
[hotstar]<PHONE_NUMBER>: Downloading MPD manifest
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps,
hdr:12(7), vcodec:vp9.2(10), channels, acodec, size, br, asr, proto, vext,
aext, hasaud, source, id
[info] Available formats for<PHONE_NUMBER>:
ID                                      EXT RESOLUTION FPS HDR CH │
FILESIZE  TBR PROTO │ VCODEC        VBR ACODEC      ABR ASR MORE INFO
─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
audio_aac_1635780875016-und-mp4a-1      m4a audio only          2 │ ~
9.44MiB  50k https │ audio only        mp4a.40.2   50k 48k phone, stereo,
DASH audio, m4a_dash
audio_aac_1635784560451-und-mp4a-1      m4a audio only          2 │ ~
9.44MiB  50k https │ audio only        mp4a.40.2   50k 48k tv, stereo,
DASH audio, m4a_dash
audio_aac_1635780875016-und-mp4a-2      m4a audio only          2 │ ~
12.46MiB  66k https │ audio only        mp4a.40.2   66k 48k phone, stereo,
DASH audio, m4a_dash
audio_aac_1635784560451-und-mp4a-2      m4a audio only          2 │ ~
12.46MiB  66k https │ audio only        mp4a.40.2   66k 48k tv, stereo,
DASH audio, m4a_dash
audio_aac_1635780875016-und-mp4a-3      m4a audio only          2 │ ~
24.55MiB 130k https │ audio only        mp4a.40.2  130k 48k phone, stereo,
DASH audio, m4a_dash
audio_aac_1635784560451-und-mp4a-3      m4a audio only          2 │ ~
24.55MiB 130k https │ audio only        mp4a.40.2  130k 48k tv, stereo,
DASH audio, m4a_dash
audio_mp4a_129-Unknown-0                mp4 audio only          2 │
m3u8  │ audio only        aac                 [und] tv, stereo,
Unknown
audio_mp4a_129-Unknown-1                mp4 audio only          2 │
m3u8  │ audio only        aac                 [und] phone, stereo,
Unknown
audio_mp4a_129-Unknown-2                mp4 audio only          2 │
m3u8  │ audio only        aac                 [und] tv, stereo,
Unknown
audio_mp4a_129-Unknown-3                mp4 audio only          2 │
m3u8  │ audio only        aac                 [und] tv, stereo,
Unknown
audio_mp4a_49-Unknown-0                 mp4 audio only          2 │
m3u8  │ audio only        aac                 [und] tv, stereo,
Unknown
audio_mp4a_49-Unknown-1                 mp4 audio only          2 │
m3u8  │ audio only        aac                 [und] phone, stereo,
Unknown
audio_mp4a_49-Unknown-2                 mp4 audio only          2 │
m3u8  │ audio only        aac                 [und] tv, stereo,
Unknown
audio_mp4a_49-Unknown-3                 mp4 audio only          2 │
m3u8  │ audio only        aac                 [und] tv, stereo,
Unknown
audio_mp4a_65-Unknown-0                 mp4 audio only          2 │
m3u8  │ audio only        aac                 [und] tv, stereo,
Unknown
audio_mp4a_65-Unknown-1                 mp4 audio only          2 │
m3u8  │ audio only        aac                 [und] phone, stereo,
Unknown
audio_mp4a_65-Unknown-2                 mp4 audio only          2 │
m3u8  │ audio only        aac                 [und] tv, stereo,
Unknown
audio_mp4a_65-Unknown-3                 mp4 audio only          2 │
m3u8  │ audio only        aac                 [und] tv, stereo,
Unknown
177                                     mp4 320x180        sdr  2 │ ~
33.64MiB 177k m3u8  │ avc1.42C00C       mp4a.40.2           phone, stereo
video_h264_fhd_sdr_1635780875016_avc1_1 mp4 320x180     25 sdr    │ ~
17.11MiB  90k dash  │ avc1.42C00C   90k video only          phone, DASH
video, mp4_dash
video_h264_fhd_sdr_1635780875016-avc1-1 mp4 320x180     25 sdr    │ ~
17.11MiB  90k https │ avc1.42C00C   90k video only          phone, DASH
video, mp4_dash
130                                     mp4 320x180     25 sdr    │ ~
24.83MiB 131k m3u8  │ avc1.42C00C  131k video only          phone
131                                     mp4 320x180     25 sdr    │ ~
24.83MiB 131k m3u8  │ avc1.42C00C  131k video only          phone
video_h265_fhd_sdr_1635784560451_hvc1_1 mp4 320x180     25 sdr    │ ~
21.52MiB 114k dash  │ hvc1.1.6.L60 114k video only          phone, DASH
video, mp4_dash
video_h265_fhd_sdr_1635784560451-hvc1-1 mp4 320x180     25 sdr    │ ~
21.52MiB 114k https │ hvc1.1.6.L60 114k video only          phone, DASH
video, mp4_dash
137-0                                   mp4 320x180     25 sdr    │ ~
26.16MiB 138k m3u8  │ hvc1.1.6.L60 138k video only          phone
137-1                                   mp4 320x180     25 sdr    │ ~
26.16MiB 138k m3u8  │ hvc1.1.6.L60 138k video only          phone
233                                     mp4 426x240        sdr  2 │ ~
44.30MiB 234k m3u8  │ avc1.42C015       mp4a.40.2           tv, stereo
video_h264_fhd_sdr_1635780875016_avc1_2 mp4 426x240     25 sdr    │ ~
29.16MiB 154k dash  │ avc1.42C015  154k video only          tv, DASH video,
mp4_dash
video_h264_fhd_sdr_1635780875016-avc1-2 mp4 426x240     25 sdr    │ ~
29.16MiB 154k https │ avc1.42C015  154k video only          phone, DASH
video, mp4_dash
186-0                                   mp4 426x240     25 sdr    │ ~
35.27MiB 186k m3u8  │ avc1.42C015  186k video only          phone
186-1                                   mp4 426x240     25 sdr    │ ~
35.27MiB 186k m3u8  │ avc1.42C015  186k video only          tv
178-0                                   mp4 426x240     25 sdr    │ ~
33.84MiB 179k m3u8  │ hvc1.1.6.L60 179k video only          tv
178-1                                   mp4 426x240     25 sdr    │ ~
33.84MiB 179k m3u8  │ hvc1.1.6.L60 179k video only          tv
video_h265_fhd_sdr_1635784560451_hvc1_2 mp4 426x240     25 sdr    │ ~
35.02MiB 185k dash  │ hvc1.1.6.L60 185k video only          tv, DASH video,
mp4_dash
video_h265_fhd_sdr_1635784560451-hvc1-2 mp4 426x240     25 sdr    │ ~
35.02MiB 185k https │ hvc1.1.6.L60 185k video only          tv, DASH video,
mp4_dash
305                                     mp4 640x360        sdr  2 │ ~
57.95MiB 306k m3u8  │ avc1.4D401E       mp4a.40.2           tv, stereo
video_h264_fhd_sdr_1635780875016-avc1-3 mp4 640x360     25 sdr    │ ~
44.27MiB 234k https │ avc1.4D401E  234k video only          phone, DASH
video, mp4_dash
256-0                                   mp4 640x360     25 sdr    │ ~
48.57MiB 256k m3u8  │ avc1.4D401E  256k video only          phone
256-1                                   mp4 640x360     25 sdr    │ ~
48.57MiB 256k m3u8  │ avc1.4D401E  256k video only          tv
257-0                                   mp4 640x360     25 sdr    │ ~
48.80MiB 257k m3u8  │ hvc1.1.6.L63 257k video only          tv
257-1                                   mp4 640x360     25 sdr    │ ~
48.80MiB 257k m3u8  │ hvc1.1.6.L63 257k video only          tv
video_h265_fhd_sdr_1635784560451-hvc1-3 mp4 640x360     25 sdr    │ ~
54.09MiB 285k https │ hvc1.1.6.L63 285k video only          tv, DASH video,
mp4_dash
616                                     mp4 854x480        sdr  2 │
~116.94MiB 617k m3u8  │ avc1.4D401F       mp4a.40.2           tv, stereo
524-0                                   mp4 854x480     25 sdr    │ ~
99.47MiB 525k m3u8  │ avc1.4D401F  525k video only          phone
524-1                                   mp4 854x480     25 sdr    │ ~
99.47MiB 525k m3u8  │ avc1.4D401F  525k video only          tv
video_h264_fhd_sdr_1635780875016-avc1-4 mp4 854x480     25 sdr    │
~109.11MiB 576k https │ avc1.4D401F  576k video only          phone, DASH
video, mp4_dash
387-0                                   mp4 854x480     25 sdr    │ ~
73.52MiB 388k m3u8  │ hvc1.1.6.L90 388k video only          tv
387-1                                   mp4 854x480     25 sdr    │ ~
73.52MiB 388k m3u8  │ hvc1.1.6.L90 388k video only          tv
video_h265_fhd_sdr_1635784560451-hvc1-4 mp4 854x480     25 sdr    │
~105.94MiB 559k https │ hvc1.1.6.L90 559k video only          tv, DASH
video, mp4_dash
On Wed, Aug 14, 2024 at 3:45 AM bashonly @.***> wrote:

Most likely caused by the same underlying issue as in #10366
https://github.com/yt-dlp/yt-dlp/issues/10366 (guest token endpoint has
been disabled/restricted)
Try passing cookies from a logged-in browser session
—
Reply to this email directly, view it on GitHub
https://github.com/yt-dlp/yt-dlp/issues/10738#issuecomment-2287193241,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVMVCDI6LHP3PFO6QFY72SLZRJ5AHAVCNFSM6AAAAABMPDJKZGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOBXGE4TGMRUGE
.
You are receiving this because you authored the thread.Message ID:
@.***>

Anybody finds the solution.
Ctrl+F5 a few times in the browser sometimes helps to avoid Error 503 and the video plays OK.

@ETapk R u bangladeshi?
please give your contact number, email, or anything
i want to.talk to.u


Update react-modal to 3.1.0

Issue: #2162

We are compatible as is, this just removes one of the peerDependency warnings and makes use of the new renderPortal feature when it’s available


VerneMQ stopped accepting connections

Hi,
We've been using vernemq for one of our mqtt application on an android app. What we have just observed is that the vernemq application on a node stopped taking in new connections. The client making the connect call wasn't succeeding. On checking, the node had enough room for CPU, connections etc. Also the metrics command was responding at that point in time. I had to restart the vernemq application to have this addressed. Not sure what has happened in here and how to debug the same. Checked the console and error logs. Couldn't understand what has caused the same. The open connections were around 20k when we started to see this.
Please let me know how to proceed in here to understand what caused this.
Thanks,
Karthik

Hi - sorry to hear you're running into issues. To have any chance of helping we'd need to know the OS, which version of vernemq you're running as well as see the error and console logs.
Could it be you're running into system limits? Max open files or an issue like that?

Hi @larshesel,
Here are the details you asked for:
OS: ubuntu
vernemq-version: 0.15.3-b24d5118
No, our service-limits are very high:
ubuntu@ip-172-31-2-95:~$ ulimit -a
core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 128642
max locked memory       (kbytes, -l) 64
max memory size         (kbytes, -m) unlimited
open files                      (-n) 131072
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) 8192
cpu time               (seconds, -t) unlimited
max user processes              (-u) 131072
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited
From what I recollect the metrics during the issue-time, our socket_open count was around 160k and socket_close count was around 140k with around 20k connections connected to the server.
I've attached error and console logs during the event before I had restarted.
vernemq_logs.zip
The console and error logs are from 16th May 01:00:00 UTC till current time. The incident we observed was roughly between 16th May 22:30 UTC till 17th May 7:00 AM UTC at which point we restarted the application.
Please let me know if you need anything else.
Thanks,
Karthik

I'll try to take a look at he logs when I have time, in the meantime, could you verify it's not an issue with the ephemeral port-range?

Looking at the error logs it looks like there's some issue with the configured endpoints - I think something like this could occur back then if the endpoint config file was changed while Verne was running.
Besides that it also looks like the endpoints are returning 429 error codes - which might also explain why clients can't connect?
In any case - since 0.15.3 a lot of things happened and all the webhook config got moved into the main VerneMQ config file, so maybe you're also running into some issue that's already been fixed - so I'd recommend that you upgrade to the latest version 1.0.1.

I don't think its the case, atleast do not have evidence that the webhook end-point was having any issue. Even now we are experiencing the unresponsiveness. Webhook end-point is a simple API gateway end-point on AWS which is running a lambda. No errors reported on the metrics of those APIs.

Well, it's a fact that your endpoint returned 429 - too many requests at some point, because it's in the logs.
What did the logs (error log) say just now when you experienced the problem again?

We went back and looked at logs of other applications using the same webhook API gateway to understand during the same time have we seen any 429s. So we did see 429 from the same API gateway during the same time. What was alarming is that cloudwatch metrics on AWS did not reflect them at all. We'll follow up with AWS on monitoring as well as increase the limits if needed.
That said, the 429s were momentary for a few seconds as confirmed in another application. As calls later succeeded to the same end-points. What we saw in vernemq was that the calls did not get initiated and were stuck in connect/publish. Only during re-start and adding the webhooks later-on fixed the problem. Any reason for that .?

It's hard to say - the logs you sent earlier were full of other webhook errors which as I mentioned looked like some inconsistencies in the webhooks internal configuration state. That may be related to the errors you see - I have no idea.
What is in the logs now (after vernemq was restarted) and you're seeing the stuck connections?

Now there are no stuck connections.

Ok - I guess we can close this then.


Make text within data hint inlined with styleguide

I'm proposing slightly more compact styles for data hints:

Thanks for the PR, @raqystyle!
Do you think we should underline the ones in orange to indicate that they are clickable?
Also, maybe it's better to also modify the Sidekick for consistency.
Thanks again!

Hmm, modifying the Sidekick will take more work since we can't reuse the code from the Datatips feature.  Let's do the just Datatips changes for now :)
Do you think we should underline the ones in orange to indicate that they are clickable?

@halohalospecial I thought about it. However, in case of large sum types underlining will compromise readability.

@halohalospecial Also, in general, I'd love to apply more styling to sum types. But that's for the future...

Alright, thanks for the inputs!  I'll include your changes in the next release.  Thanks!

@halohalospecial thank you! 🙏

@raqystyle, the changes are already in the latest version (v7.3.6), but I had to change color: @syntax-color-attribute to color: @syntax-color-keyword because the former is not noticeable in other themes.

@halohalospecial no worries, awesome!


Updated templates for Dynamic Concurrency

Fixes #3248.

JSON schema is being updated over at https://github.com/SchemaStore/schemastore/pull/2516


[Enhancement] XPlatGenerateRelease Notes: Allow widetail to get displayName or uniqueName

Azure DevOps Extension you are using
XPlatGenerateReleaseNotes
Where are you running it?
You can run the extensions in the cloud or on-premise

Azure DevOps Service (VSTS)

Version of Extension/Task
public version
Expected behaviour and actual behaviour
${widetail.fields['System.AssignedTo']} gets concatenated "displayName uniqueName"
Would like to be able to get displayName or uniqueName (email, more important) separately for "AssignedTo" specifically, but can be applied to all other user type fields (ie: ResolvedBy, ChangedBy).
Note that csdetail allows this:
${csdetail.author.uniqueName}
${csdetail.author.displayName}
Steps to reproduce the problem

Create a template using ${widetail.fields['System.AssignedTo']}
Be sad that you cannot get either the display name or the uniquename (email) separately

Sorry that is how the data comes back, if you use the call
${JSON.stringify(widetail)}

You can see it is just a string
{"id":13,"rev":465,"fields":{"System.Id":13,"System.AreaId":1463,"System.AreaPath":"GitHub","System.TeamProject":"GitHub","System.NodeName":"GitHub","System.AreaLevel1":"GitHub","System.Rev":465,"System.AuthorizedDate":"2020-03-27T10:41:03.407Z","System.RevisedDate":"9999-01-01T00:00:00Z","System.IterationId":1455,"System.IterationPath":"GitHub","System.IterationLevel1":"GitHub","System.WorkItemType":"Product Backlog Item","System.State":"New","System.Reason":"New backlog item","System.AssignedTo":"Richard Fennell (Work MSA) bm-richard.fennell@outlook.com","System.CreatedDate":"2016-03-24T22:18:53.497Z","System.CreatedBy":"Richard Fennell (Work MSA) bm-richard.fennell@outlook.com","System.ChangedDate":"2020-03-27T10:41:03.407Z","System.ChangedBy":"GitHub Build Service (richardfennell) <670b3a60-2021-47ab-a88b-d76ebd888a2f>","System.AuthorizedAs":"GitHub Build Service (richardfennell) <670b3a60-2021-47ab-a88b-d76ebd888a2f>","System.PersonId":33988928,"System.Watermark":621,"System.CommentCount":8,"System.Title":"PBI with no tags","System.BoardColumn":"New","System.BoardColumnDone":false,"Microsoft.VSTS.Common.BacklogPriority":1000000000,"Microsoft.VSTS.Common.Priority":2,"Microsoft.VSTS.Common.ValueArea":"Business","WEF_EC09BA70E9C045969DA2522B5FA8BDAD_System.ExtensionMarker":true,"WEF_EC09BA70E9C045969DA2522B5FA8BDAD_Kanban.Column":"New","WEF_EC09BA70E9C045969DA2522B5FA8BDAD_Kanban.Column.Done":false},"url":"https://richardfennell.visualstudio.com/_apis/wit/workItems/13 "}

I have no idea why the API differs between commits and work items.
I don't want to change this behaviour, as I want to return what you would expect from the Azure DevOps API.
Also I don't really want to get into the game of 'enriching' the returned data with extra fields as this feel like an never ending race, there is also ways a bit of extra data required by someone.
That all said I think I can offer a potential solution. HandleBars support was recently added as an alternative templating language. This implementation includes the Handlebar-Helpers library and the option to write your own extensions.
I have not tested it but you might be able split the string with the Helpers library, it is all going be down to finding the last space prior to the email address. However, I suspect a custom module will be needed.
Sorry I don't have a better answer


Fix "Search Services" button in playground page.

Summary
The "Search Services" button in the header of the playground page is not working.
Details
The Search button should display Services only containing the Search term.
Acceptance criteria

[ ] Implementation independently of the old header.
[ ] Manual tests.
[ ] Small UI test with two cases.

Additional context
N/A.

Please also check the subscription search.

Pulled from latest master and search is working fine. Issues have been resolved already.


Sign mismatch warnings fixed

Fixes all warnings regarding value checks with current clang 3.8.

LTM, waiting for jenkins ...

@akallabeth I like that! nice!


fix(indexer): Leverage index for singleton query

Description
Make sure the query to fetch singleton objects in IndexerReader can leverage the type index on the objects table.
Test plan
# In one session
sui$ cargo run --bin sui --features indexer \
    -- start --force-renesis --with-indexer

# In another session
sui$ curl -LX POST  "http://localhost:9124" \
    --header 'Content-Type: application/json' \
    --data-raw '{
        "jsonrpc": "2.0",
        "method": "suix_getCoinMetadata",
        "id": 1,
        "params": ["0x2::sui::SUI"]
    }' | jq  -C .
{
  "jsonrpc": "2.0",
  "result": {
    "decimals": 9,
    "name": "Sui",
    "symbol": "SUI",
    "description": "",
    "iconUrl": null,
    "id": "0x46fe2b6c623e02dd06c74552dc9d6234cb46abb747b1e5936f699a4b2b8df2e8"
  },
  "id": 1
}

Release notes
Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required.
For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates.

[ ] Protocol:
[ ] Nodes (Validators and Full nodes):
[ ] Indexer:
[ ] JSON-RPC:
[ ] GraphQL:
[ ] CLI:
[ ] Rust SDK:
[ ] REST API:

Thanks for this!


TypeError: Retry.init() got an unexpected keyword argument 'backoff_max'

The tests from vpc-python-sdk recently started to failing. It fails on calling enable_retries(). I found that the culprit is python-sdk-core. Mainly https://github.com/IBM/python-sdk-core/blob/main/ibm_cloud_sdk_core/base_service.py#L134
The code fails with:
>>> retry_config = Retry(
...             total=max_retries,
...             backoff_factor=1.0,
...             backoff_max=retry_interval,
...             # List of HTTP status codes to retry on in addition to Timeout/Connection Errors
...             status_forcelist=[429, 500, 502, 503, 504],
...             # List of HTTP methods to retry on
...             # Omitting this will default to all methods except POST
...             allowed_methods=['HEAD', 'GET', 'PUT', 'DELETE', 'OPTIONS', 'TRACE', 'POST'],
...         )
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: Retry.__init__() got an unexpected keyword argument 'backoff_max

The documentation mention this variable https://urllib3.readthedocs.io/en/latest/reference/urllib3.util.html but I checked the urllib3 source code and this param is not available in constructor. And never was! So this could not ever work.

Hmm. I it present in urllib3 version 2.0.0 https://urllib3.readthedocs.io/en/latest/changelog.html#added
And I somehow missed the requirements.txt where this dependency is specified. Sorry for the noise.


Privileged PSP used by default without extra configurations to allow it

I just created a cluster from master (4d3d432c8d21ba87dccb1080d71cadb6f693c00a) and used the created kubeconfig for the following operations
Deploy the following pod (kubectl apply ...):
apiVersion: v1
kind: Pod
metadata:
  name: nginx
spec:
  containers:
  - name: nginx
    image: nginx
  - name: shell
    image: debian
    command: ["sleep", "infinity"]
    securityContext:
      capabilities:
        add:
        - SYS_PTRACE

The pod is created:
$ kubectl get pods -n default
NAME    READY   STATUS    RESTARTS   AGE
nginx   2/2     Running   0          7s

And the PSP is privileged:
$ kubectl get pod nginx -o yaml | grep -i psp
    kubernetes.io/psp: zz-privileged

IIUC, there is no reason why pods could be created using a privileged PSP in the default namespace (using the SYS_PTRACE capability also) and this should be forbidden.
Am I missing something?

@rata if you create a pod using admin certificate, you (as an admin user) are allowed to USE privileged PSP, create pods using it.

Ouch, it might be that :man_facepalming: . Let me check...


python extension picked up as virus

Hi there,
The latest release for python extension and the one before it are getting picked up as virus in our studio:
2020.11.358366026 11/11/2020
2020.10.332292344 10/28/2020
Has this been reported elsewhere? Could someone please look into it?
Thanks!

Some of the changes in our attach-to-process implementation were falsely flagged as generic malware - this happens every now and then, because the technique used to inject code into a running process is similar to what malware might use.
However, this was reported to AV vendors, and we waited for them to update their databases before releasing the extension with those changes. Can you try updating your AV database, and see if that helps? If it's an enterprise intranet setup, you might have to ask IT to push the latest.


Building and verifying "Marathi"

This appears to still have issues with rendering diacriticals. See level 8 and phantom circles with accents.
We are going to get this looked at by a local language expert again to give us guidance.


Fix #118 by adding allowlist of events in ignore self middleware

This pull request fixes #118
Category (place an x in each of the [ ])

[x] slack_bolt.App and/or its core components
[x] slack_bolt.async_app.AsyncApp and/or its core components
[ ] Adapters in slack_bolt.adapter
[ ] Document pages under /docs
[ ] Others

Requirements (place an x in each [ ])
Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.

[x] I've read and understood the Contributing Guidelines and have done my best effort to follow them.
[x] I've read and agree to the Code of Conduct.
[x] I've run ./scripts/install_all_and_run_tests.sh after making the changes.

I found this PR via https://github.com/slackapi/bolt-python/issues/118 and was expecting it to be the fix for a problems I'm trying to handle an app/bot being invited into a channel or group, but the event type appears to be channel_join in that case and is being ignored.
[D 210417 10:23:27 ignoring_self_events:52] Skipped self event: {'type': 'message', 'subtype': 'channel_join', 'ts': '1618680207.031600', 'user': 'xxxxxxxxx', 'text': '<@xxxxxxxxx> has joined the channel', 'inviter': 'yyyyyyyyyyy', 'channel': 'zzzzzzzzzzz', 'event_ts': '1618680207.031600', 'channel_type': 'channel'}

Looks like I need to separately subscribe to member_joined_channel to handle this case. Just wanted to record that in case anyone else takes the same path I did to get here.


Trying to migrate to Minecraft 1.21 support

Will try to migrate to new Minestom version supporting 1.21.

Next commit will change the required data version to match Minecraft 1.21 capabilities.


Extract reusable pieces of buddy list.

It's not clear to me which issue I have referenced in this commit to get the zulipbot warning.
At any rate, this can probably wait till post-release.

I opened https://github.com/zulip/zulipbot/issues/159 for the zulipbot thing.

@timabbott Ping on this one, since it's a pretty big refactor that's gonna be hard to rebase.

Looks good, merged, thanks @showell!


CONF: reduce latency of srt2rtc.conf

peerlatency=0 can reduce 300ms of latency of srt to rtc.

latency配置300时，延时在500ms以上
srt_server {
    enabled on;
    listen 10080;
    maxbw<PHONE_NUMBER>;
    connect_timeout 4000;
    peerlatency 300;
    recvlatency 300;
}

latency配置0时，延时在200ms以上
srt_server {
    enabled on;
    listen 10080;
    maxbw<PHONE_NUMBER>;
    connect_timeout 4000;
    peerlatency 0;
    recvlatency 0;
}


Get WPT tests passing

The WPT tests within this repo are currently all disabled.
Also, we should make sure the results are reported correctly to https://wpt.fyi/results/webdriver/tests/bidi?label=master&label=experimental&aligned&q=webdriver, i.e. by integrating with ChromeDriver.

Hi @mathiasbynens. Is there actually a way to see which of the wpt tests are currently passing and which not? Given that results aren't published on wpt.fyi it's hard to discover. Thanks!

I'm afraid not, no. One could look at https://github.com/GoogleChromeLabs/chromium-bidi/tree/main/wpt-metadata/webdriver/tests/bidi to answer the question for a specific test, but there's no way to visualize it, and we're not uploading results to wpt.fyi yet. That wouldn't be super hard to do, but right now there are quite few passing tests so maybe after that's improved a bit.

Closing in favor of specific WPT tests subset

Closing in favor of specific WPT tests subset

https://github.com/GoogleChromeLabs/chromium-bidi/issues?q=is%3Aissue+is%3Aopen+label%3Awpt


Fixes linux typo

This prevents it from working in linux due to it not finding the binary. I've tested it and it works after this change.

@caidurbin I have released a new version to npm


Update offsets action issue #36

Add a daily update offsets Github action that runs "make update-offsets" and creates/updates a PR towards main from a fixed name branch: offset-content-auto-update.  Also add myself to CODEOWNERS.
The downside of automation is it's not easy to say what was updated, e.g. what is the new version of Go or GRPC, so the commit message/PR message is going to be static.  View of test PR in my fork:

 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.Matt Frick seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Codecov Report

Merging #186 (712bec9) into main (8a883d5) will decrease coverage by 42.88%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             main     #186       +/-   ##
===========================================
- Coverage   81.62%   38.74%   -42.88%
===========================================
  Files          35       34        -1
  Lines        2487     2431       -56
===========================================
- Hits         2030      942     -1088
- Misses        337     1431     +1094
+ Partials      120       58       -62

Flag
Coverage Δ

integration-test
?

unittests
38.74% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
see 27 files with indirect coverage changes


Support for automated module fixups for changed dependencies

The Gazelle plugin at the moment only works on buf_dependencies when running update-repos, which is mostly geared to WORKSPACE-based projects.
There is support to pull in Buf dependencies in a Bzlmod context with the module extensions, but that's mostly manual work (correct me if I'm wrong).
However, Bazel has support for automatic use_repo fixups (source: https://github.com/bazelbuild/bazel/issues/17908), and can be seen in action here for Go: https://github.com/bazelbuild/bazel-gazelle/pull/1511#pullrequestreview-1414973787
We could add something similar here too, so that running bazel run :gazelle can output dependencies fixes, and applied with a script similar to this:
#!/usr/bin/env bash

set -Eeo pipefail

set +e
echo "==> running gazelle through 'bazel run :gazelle'"
buildozer_cmd="$(bazel run :gazelle 2>&1 | grep "buildozer 'use_repo")"
set -Eeo pipefail

if [ -z "$buildozer_cmd" ]; then
  exit 0
fi

echo "==> fixing module dependencies with buildozer"
echo "----> running $buildozer_cmd"
bash -c "$buildozer_cmd"

The way it currently works with Gazelle's go is the following:
go_deps = use_extension("@gazelle//:extensions.bzl", "go_deps")
go_deps.from_file(go_mod = "//:go.mod")
use_repo(
    go_deps,
    "com_connectrpc_connect",
    "com_connectrpc_grpchealth",
    "com_connectrpc_grpcreflect",
    # ...
)

When running bazel run :gazelle, if there is a mismatch between the contents of go.mod and what's in the MODULE.bazel's use_repo, Bazel will output the buildozer commands necessary to run to fix use_repo(go_deps, ...).
Example:
buildozer 'use_repo_remove @gazelle//:extensions.bzl go_deps bazel_gazelle_go_repository_config' //MODULE.bazel:all

In the current dependencies implementation for Bzlmod (very elegant btw 👏🏻), the dependencies are defined with the extension method buf.dependencies(), but are then loaded automatically under @buf_deps.
One feature we could add is something like:
buf_deps = use_extension("@rules_buf//path/to:extensions.bzl", "buf_deps")
buf_deps.from_file(buf_lock = "//path/to:buf_lock")

The big change with this approach however would be to create separate workspaces for each dependency, instead of grouping the modules under a single @buf_deps workspace.
Then we could use something like:
use_repo(
  buf_deps,
  "buf_build_googleapis_googleapis",
  # ...
)

and access them using @buf_build_googleapis_googleapis//....
This might also unlock the ability of doing some dependency-level override, e.g. applying a patch to a specific dependency (I have this specific case atm, where buf.build/googleapis/googleapis has a BUILD.bazel file under google/type with one single proto_library -- not sure if the issue is from Gazelle running in buf_dependencies or from the upstream Buf module)

Is there any progress on this? Buf seems to be the last thing I need a workplace file for.

It might be that we need https://buf.build/docs/build-systems/bazel updated to explain how to use it in module mode?


[v3] Nextra Playground

This PR introduces a <Playground /> component and compileMdxClient function for individuals to render MDX purely on the client. It emulates much of the same functionality as compileMdx, but removes any server related dependencies like node:path. There are a variety of use-cases this may be helpful for.
Inspired largely by the MDX Playground here.

[x] Demo-ing Nextra's renderer / having a place where MDX can be rendered in a playground environment
[x] Substitute for RemoteContent rendering in situations where sidebar / static generation is not needed

@dimaMachina lmk if this looks good to you! Would be really great to have this

@dimaMachina just wanted to see if you had a chance to view this

@dimaMachina  any chance you're able to review this?

Hey @dimaMachina any chance you might be able to take a look? Is there anything you'd like me to change?


Added dinosaur game

PR Description 📜
Added a CSS, HTML and JavaScript dinosaur game.
Fixes #313

Mark the task you have completed ✅

[x] I follow CONTRIBUTING GUIDELINE & CODE OF CONDUCT of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I have followed proper naming convention showed in CONTRIBUTING GUIDELINE
[x] I have added screenshot for website preview in assets/images
[x] I have added entries for my game in main README.md
[x] I have added README.md in my folder
[x] I have added working video of the game in README.md (optional)
[x] I have specified the respective issue number for which I have requested the new game.

Thank you @Abhinavcode13 ,for creating the PR and contributing to our GameZone 💗
Review team will review the PR and will reach out to you soon! 😇
Make sure that you have marked all the tasks that you are done with ✅.
Thank you for your patience! 😀

@Abhinavcode13 Make an entry of yur game into main README, add game screenshot.

@Abhinavcode13 Mention * in place of a number in main README. Also resolve conflicts

we are already having this game you are just adding it with different name !!
make sure you focus on unique game ideas

Thank you  @Abhinavcode13 , for your valuable time and contribution in our GameZone 💗.
It’s our GameZone, so Let’s build this GameZone altogether !!🤝
Hoping to see you soon with another PR again 😇
Wishing you all the best for your journey into Open Source🚀


Allow casting tuple date

With the latest changes to Ecto I could not get it is allow querying by a date in any format. It appears that it has started using Postgrex(or other adapter lib) to do some part of the casting for caching. The only way I could easily get queries by a date to work was to add this to Calecto and query by the tuple date.
I'm open to a better way to fix this, but this isn't bad to have regardless.

Looks good. I should also check for similar issues with the other types (Time, NaiveDateTime etc).
:heart: :green_heart: :blue_heart: :yellow_heart: :purple_heart:


Cannot run Gmail API quickstart for nodejs

Expected Behavior
Send email successful
Actual Behavior
Error retrieving access token { Error: connect ETIMEDOUT <IP_ADDRESS>:443
at Object._errnoException (util.js:1024:11)
at _exceptionWithHostPort (util.js:1046:20)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1182:14)
Steps to Reproduce the Problem

Follow instructions on page https://developers.google.com/gmail/api/quickstart/nodejs?hl=zh-CN
node .
paste code and enter

Specifications

Node version (node -v)   v8.9.1
OS (Mac/Linux/Windows) Windows 7

I am also getting same problem

I noticed the first line of your error says "Error retrieving access token".

Did you download the credentials.json file into the directory where you are running the quickstart?
Do you have write permissions to that directory?
When you run "node ." do you see a message that looks like:

$ node .
Authorize this app by visiting this url: https://accounts.google.com/o/oauth2/v2/auth?access_type .......
The client library then creates a token.json file in the same directory (see ~line 45)
Please let me know if the token.json is created.

Closing due to inactivity.
Perhaps we could have a better error. The error here shows the credentials weren't properly added.


Build errors using llvm-gcc

After upgrading to Xcode 4.2, I'm unable to build pandas. As with previous attempts, I have to hand-compile some of the .pyx files in pandas/src, but now even with this, the package will not build. Here is what I get:
building 'pandas._cppsandbox' extension
llvm-gcc-4.2 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -I/Users/fonnescj/Developer/include -pipe -arch x86_64 -I/Library/Python/2.7/site-packages/numpy-2.0.0.dev_eb46577_20111130-py2.7-macosx-10.7-x86_64.egg/numpy/core/include -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c pandas/src/cppsandbox.c -o build/temp.macosx-10.7-x86_64-2.7/pandas/src/cppsandbox.o
pandas/src/cppsandbox.c:235:19: error: utility: No such file or directory
pandas/src/cppsandbox.c:236:15: error: map: No such file or directory
In file included from /Library/Python/2.7/site-packages/numpy-2.0.0.dev_eb46577_20111130-py2.7-macosx-10.7-x86_64.egg/numpy/core/include/numpy/ndarraytypes.h:1972,
                 from /Library/Python/2.7/site-packages/numpy-2.0.0.dev_eb46577_20111130-py2.7-macosx-10.7-x86_64.egg/numpy/core/include/numpy/ndarrayobject.h:17,
                 from /Library/Python/2.7/site-packages/numpy-2.0.0.dev_eb46577_20111130-py2.7-macosx-10.7-x86_64.egg/numpy/core/include/numpy/arrayobject.h:14,
                 from pandas/src/cppsandbox.c:239:
/Library/Python/2.7/site-packages/numpy-2.0.0.dev_eb46577_20111130-py2.7-macosx-10.7-x86_64.egg/numpy/core/include/numpy/npy_deprecated_api.h:11:2: warning: #warning "Using deprecated NumPy API, disable it by #defining NPY_NO_DEPRECATED_API"
pandas/src/cppsandbox.c: In function ‘__pyx_pf_10cppsandbox_map_indices’:
pandas/src/cppsandbox.c:953: error: expected expression before ‘:’ token
pandas/src/cppsandbox.c:985: error: ‘__pyx_v_mapping’ undeclared (first use in this function)
pandas/src/cppsandbox.c:985: error: (Each undeclared identifier is reported only once
pandas/src/cppsandbox.c:985: error: for each function it appears in.)
pandas/src/cppsandbox.c:985: error: ‘std’ undeclared (first use in this function)
pandas/src/cppsandbox.c:985: error: expected ‘;’ before ‘:’ token
pandas/src/cppsandbox.c:953: warning: label ‘std’ defined but not used
error: command 'llvm-gcc-4.2' failed with exit status 1

Not sure if this is idiosyncratic, so I will sit tight until others have tried with the llvm compiler.

Comment out the sandbox extensions in setup.py and it should compile fine.

That worked, thanks.


🐛 FIX: fixing black version to prevent pre-commit failure

In pre-commit-config.yaml, the rev of black is stable :
- repo: https://github.com/psf/black
    rev: stable
    hooks:
    - id: black

which is throwing the following error:

have changed the rev to the latest version:
- repo: https://github.com/psf/black
    rev: 20.8b1
    hooks:
    - id: black

@AakashGfude is it possible to use latest or something that moves with releases?

@AakashGfude do you know why the CI is now failing on this PR?

@AakashGfude is it possible to use latest or something that moves with releases?

@mmcky latest does not match in case of black. stable which was used previously, was the one that moves with releases. But apparently pre-commit/action did not like it. All the other repos in pre-commit-config.yaml also have specific versions pinned.
Also, just checked, sphinx-book-theme has the same version pinned as well for black https://github.com/executablebooks/sphinx-book-theme/blob/master/.pre-commit-config.yaml#L25, which we have done here

thanks @AakashGfude


Extra hashtags included

2 Influential tweeps have been picked up at the wee hours. Oguda and Osama Otero.
Added their respective hashtags

Another tweep(Drey Mwangi) abducted.
Makes it 3


v2: enum record variant support; one-liner record def

v2 parser and HIR now allow record-type enum variants.
Struct (and record enum variant) fields must now be separated by a comma (newlines are allowed but not required). This allows a struct with multiple fields to be defined on a single line, eg struct S { x: u8, y: u8 }.
Nit-picky feedback welcome.

@Y-Nak I added the enum record variant fields to the scope graph, in the way that we decided wasn't very elegant 🙃. This seemed nicer than adding a lookup from ScopeId(u32) to ScopeKind

Great!
I feel comma should be required for an enum definition as well if it is required for a struct definition. I want to hear your opinion.

I agree; I'll make this change separately.


[BUG] Error

Example file
If you ran an example file specify it here.

Describe the bug
SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 9-10: truncated \UXXXXXXXX escape
Log
here

To Reproduce
(EXAMPLE:) Steps to reproduce the behavior:

Run file:
Edit '...'
Run '....'

Expected behavior
A clear and concise description of what you expected to happen.
Additional context
Add any other context about the problem here.
Version
Python version (python -v):
OS: Win/Linux/MacOS

bruvv where can I contact you in private? I need to talk with you asap.

And why is that?

I need your help.


Retrieving array - clarifying user use case, sounds like wanting to store array, see example

how can i add an retrieve an array by extracting data from a website and pushing it into an array
Code is as follows
https://www.gumtree.com.au/s-car-seats/wyndham/c20097l3001743?price=__30.00
product = count('//[@class="user-ad-collection-new-design__wrapper--row"]//a')
array_web_links = []
for item from 1 to product
read (//[@class="user-ad-collection-new-design__wrapper--row"]//a/@href)[item] to link
productrow = ['https://www.gumtree.com.au/'+link]
write productrow to array_web_links
read array_web_links to web_links
write web_links
Pls help me out with this to add productrow into an array and write it back

Hi @fazlur10 is it that you want to create an array? What do you want to do with array?
If you want to write to CSV then there is no need to use array, see example below -
https://tagui.readthedocs.io/en/latest/reference.html#csv-row

i dont need to add to csv, i just want to know how to add to an array and
echo it back
On Mon, 7 Jun 2021 at 10:23, Ken Soh @.***> wrote:

Hi @fazlur10 https://github.com/fazlur10 is it that you want to create
an array? What do you want to do with array?
If you want to write to CSV then there is no need to use array, see
example below -
https://tagui.readthedocs.io/en/latest/reference.html#csv-row
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/kelaberetiv/TagUI/issues/1051#issuecomment-855574598,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOBP5K7UA4HPCMNDG2PQTSLTRRGFVANCNFSM46GYH3RQ
.

Oh I see, for this you can google to find out how to do.
This is JavaScript usage, there are better resources on teaching JavaScript.
TagUI can write human language steps but can use JavaScript in its workflow files. Working with array is JavaScript code.

👍
On Mon, 7 Jun 2021 at 10:42, Ken Soh @.***> wrote:

Oh I see, for this you can google to find out how to do.
This is JavaScript usage, there are better resources on teaching
JavaScript.
TagUI can write human language steps but can use JavaScript in its
workflow files. Working with array is JavaScript code.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/kelaberetiv/TagUI/issues/1051#issuecomment-855582135,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOBP5K5PFCXWW7MBWJFZMWTTRRINHANCNFSM46GYH3RQ
.

array.push(input) is not working, following error occurs
cannot understand step array_web_links.push('+productrow+')
On Mon, 7 Jun 2021 at 10:49, Fazlur Rahman @.***>
wrote:

👍
On Mon, 7 Jun 2021 at 10:42, Ken Soh @.***> wrote:

Oh I see, for this you can google to find out how to do.
This is JavaScript usage, there are better resources on teaching
JavaScript.
TagUI can write human language steps but can use JavaScript in its
workflow files. Working with array is JavaScript code.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/kelaberetiv/TagUI/issues/1051#issuecomment-855582135,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOBP5K5PFCXWW7MBWJFZMWTTRRINHANCNFSM46GYH3RQ
.

You can try using the following
// with js in front to tell TagUI this is JavaScript code
js array_web_links.push(productrow)

// with ; behind to let TagUI know this is JavaScript code
array_web_links.push(productrow);


Refactor Custom ProblemDetailsFactory

As described and documented here, I like to customize the ProblemDetails hence extended ProblemDetailsFactory class.
However, I want to have this custom implementation to live in .Net Standard shared class library and not in the Web project itself. But I can't do that. It says that the base class ProblemDetailsFactory is not found.
I realized that the version of Microsoft.AspNetCore.Mvc.Core.dll referenced in OOB web application is 3.1 whereas its 2.2.5 in my class library project.
Is it something doable or thought through or am I missing something here?
Thanks

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

ID: 3f6504cd-a059-c5d4-73fb-61222ef1c6e0
Version Independent ID: 1b42352c-a34f-7703-aa3e-d7e3156bd0bd
Content: Handle errors in ASP.NET Core web APIs
Content Source: aspnetcore/web-api/handle-errors.md
Product: aspnet-core
Technology: aspnetcore-webapi
GitHub Login: @pranavkm
Microsoft Alias: prkrishn

The type is part of the ASP.NET Core shared framework. You'll need to target a netcoreapp3.1 or net5.0 project to be able reference it.

This is what my csproj file looks like:
  <PropertyGroup>
    <TargetFrameworks>netstandard2.0;netcoreapp3.1</TargetFrameworks>
    <LangVersion>8.0</LangVersion>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="Microsoft.AspNetCore.Diagnostics.Abstractions" Version="2.2.0" />
    <PackageReference Include="Microsoft.AspNetCore.Http.Abstractions" Version="2.2.0" />
    <PackageReference Include="Microsoft.AspNetCore.Mvc.Abstractions" Version="2.2.0" />
    <PackageReference Include="Microsoft.AspNetCore.Mvc.Core" Version="2.2.5" />
    <PackageReference Include="Microsoft.Extensions.Hosting.Abstractions" Version="3.1.6" />
    <PackageReference Include="System.Reflection.Metadata" Version="1.8.1" />
  </ItemGroup>

@sameer-kumar See the following doc for guidance on using the ASP.NET Core shared framework in a library: https://docs.microsoft.com/aspnet/core/fundamentals/target-aspnetcore.


Fix focus for radiolist/checklist/bsdate/tagsinput

Fix focus for radiolist/checklist/bsdate/tagsinput
Updated ngTagsInput to have same changes made to uiSelect
Closes #260

Thanks @ckosloski


adding umbra proposal

This is the labs proposal for the Umbra project.
Signed-off-by: Dave Huseby<EMAIL_ADDRESS>

Can you be a sponsor, @dhuseby?  Labs wiki page says "Sponsor (i.e. a maintainer of one of the Hyperledger projects, a TSC member or a WG chair)"

Hi Mr. Huseby,
Great setup for limited experimentation. However, there is nothing specific here. Some questions
The short description says
"This lab is to explore running Hyperledger distributed ledgers under the
Shadow simulator. It began as a research
internship during the summer of 2018 and seeks to provide a tool for doing
research on consensus algorithms, smart contracts, scaling and other blockchain
related research topics. "
Did the summer internship yield any code? Looking briefly at shadow, looks like you may create plugins for one or more of our dlts. Any specific plans? Like fabric? Sawtooth? etc. I see that they have a bitcoin plugin. What about plans to modify shadow itself? What are those plans?
Like Arnaud says, there has to be some more meat there, nothing detailed but some short term plans.
We could also collaborate with PSWG as they have moved into the next phase. A network simulator would be a great thing to have.
About the suitability of LF staff sponsoring projects, I have no objections, but would like to see the charter reworded to admit this and tsc informed of this change and get some kind of nod from them.
As Arnaud stated, this is an exciting project and I am in support. However we have to be aware of the features of shadow especially the following text from the FAQ (which I am sure you are, but reproduced here for the benefit of our lab stewards): From the shadow FAQ.
Shadow is a network simulator/emulator hybrid. It runs real applications, but it simulates network and system functions thereby emulating the kernel to the application. The suitability of Shadow to your problem depends upon what exactly you are trying to measure. If you are interested in analyzing changes in application behavior, e.g. application layer queuing, failure modes, or design changes, and how those changes affect the operation of the system and network performance, then Shadow seems like a very good choice (especially if you want to minimize work on your end). If your research relies on, e.g., the accuracy of specific kernel features or kernel parameter settings, or dynamic changes in Internet routing, then Shadow may not be the right choice as it does not precisely model these behaviors. Shadow is also not the best at measuring cryptographic overhead, so if that is desired then it should probably be done more directly as a separate research component.

I will make a motion to the TSC to officially include the staff into the list of people who can sponsor a lab. I don't expect this to be controversial..
In the meanwhile, it'd be good to have a bit more clarity on what the project entails.

I understand that the intent was not to have staff as sponsors.  I put myself down despite that fact because I wanted to get this moving.  There's nobody in our community that is thinking along these lines that would be an obvious candidate to sponsor.  So rather than let this die on the vine, I stepped in.
I will add more to the description with the exact roadmap.  The summer internship didn't really result in any code for a number of reasons but the most important one was that our blockchains don't like to be compiled outside of their neat little docker containers.  My intern Martin ran experiments to see if Shadow supported the Rust, Python, and Golang runtimes out of the box.  The answer is "no" in all cases.  Shadow does not emulate some of the pthread_mutex_attr API calls that is required by all three runtimes.  C++ networking apps will run under Shadow out of the box.  So the rest of the summer was spent on getting Iroha to build outside of the docker container.  We now have the build steps for that and the next step is to capture all of that in the repo.
The project is now me, Martin, Tapasweni Pathak (active open source developer), and two students from Turkey that just joined.  We already have an incoming pull request from Tapasweni and I have some queued up to land as well.  I wrote a set of patches for Shadow that make it support Rust out of the box that I will be upstreaming soon, so HL Indy isn't too far fetched anymore.
To answer Vipin's questions, we chose Shadow specifically because it is used to test the Tor and Bitcoin networks already.  It was the Bitcoin simulation that originally piqued my interest.  All of the plugin code for Tor and Bitcoin is open source as well as Shadow itself.  One of the nice features of Shadow is its ability to cluster across multiple machines to do simulations of thousands of nodes.  The main goal for using Shadow is to do lab-based experiments on the scalability of HL blockchains.  I think this would attract a lot of academics looking at decentralized systems.

Thanks for the additional info David. I made a motion to the TSC to officially include the staff into the list of people who can sponsor a lab. I don't expect this to be controversial and first responses confirm that.

David,
As to the comment about:
"There's nobody in our community that is thinking along these lines that would be an obvious candidate to sponsor".
The Performance and Scale working group is thinking along some of these lines. We were not aware of the Shadow work undertaken by the intern.  It might be helpful to reach out; I will also bring some of this to the attention of the group.
Work is being started also for getting code out of docker containers, mainly initiated by Mark Wagner. You might like to talk to him as well. The work already done for Iroha by your intern should inform that effort.
From your statements looks like there is some code (from Tapasweni & you and possibly the intern)
From the descriptions of Shadow it seems like it can only create those clusters on a single machine. I am aware that Shadow and the plugins that we create are open source (after all I quote from the FAQ which is part of this documentation). Definitely agree with you that this is a worthwhile effort and the right direction to be going in.
Vipin

David,
Thanks for being on the PSWG call and explaining shadow. As we saw, sponsorship can be done through Mark W, if there is push-back on staff sponsoring projects in lab.
We need to be very clear about what shadow can do and what it cannot do. I will post on the PSWG rc channel. Hope we can get this ball rolling.
Thanks again,
Vipin

Yup, Mark has generously stepped forward to sponsor the shadow lab.  As for what shadow can and cannot do, the operative part from the documentation is:

If your research relies on, e.g., the accuracy of specific kernel features or kernel parameter settings, or dynamic changes in Internet routing, then Shadow may not be the right choice as it does not precisely model these behaviors.

We are not using shadow for any of these things.  We are using it for application behavior under experimental conditions.

@tkuhrt no strong opinion either way.

+1

I cannot login to github with no cell connectivity for SMS (needed for2FA).  But i have read the proposal and i have following comments.
I understand that the lab may not exit incubation. However its work products like plugins will be released into production. We need to reconcile this. Is there no source code related to this project with 4 maintainers?
+1 from me.
Thanks
Vipin

On Oct 30, 2018, at 4:13 PM, Arnaud J Le Hors<EMAIL_ADDRESS>wrote:
+1
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@vipinsun There is now: https://github.com/martmartinez91/shadow-hyperledger  The first few PR's have come in and there is active development ongoing.

Two stewards have agreed that this should be a lab. I will create the Github repo and then merge this PR.

Great! thanks.


Added doc in DenseNet for decode_prediction() and preprocess_input()

Fixes #37021.
Since, there was no doc on how to use the functions.

PS: In the future, since these comments are the same across multiple PRs, please merge them all together in just one PR.


Event and Event_support modifications

Add 'Behavior' folder in the Event path
Redefine key_source for event_support

        assert all(
            [(session_full_dir / "Behavior" / Path(file)).exists() for file in beh_data_files]
        ), "behavioral data missing!"

        events_df = pd.read_csv(session_full_dir / "Behavior" / "events.csv", keep_default_na=False)
        block_df = pd.read_csv(session_full_dir / "Behavior" / "block.csv", keep_default_na=False)
        trial_df = pd.read_csv(session_full_dir / "Behavior" / "trial.csv", keep_default_na=False)`

In event.py, I think it's better to use try-except than assert as the following.
        # Load .csv into pandas dataframe
        try:
            events_df = pd.read_csv(session_full_dir / "Behavior" / "events.csv", keep_default_na=False)
            block_df = pd.read_csv(session_full_dir / "Behavior" / "block.csv", keep_default_na=False)
            trial_df = pd.read_csv(session_full_dir / "Behavior" / "trial.csv", keep_default_na=False)
        except FileNotFoundError as e:
            print(f"{e} is missing!")


⚠ ClamAV has degraded performance

In 21899a5, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 110 ms

Resolved: ClamAV performance has improved in 9552dff after 15 minutes.


show gradient for numerical annotations

shot demo, also remembers the state

[ ] Clicking on "age" in the Zeisel dataset still gives me ranges. Surely if I have fewer than ~20 integer categories, we should still be able to show individual numbers?
[ ] Integers should be sorted, this doesn't seem to be the case for "sex".
[ ] Something looks wack with the color gradient for "# total mol". The as-factor coloring shows a range of colors but the gradient coloring just shows all points as having the same color.

Almost there. The only issue I can see is that:

For a given grouping, click on the first label to highlight it.
Change the factor to a gradient.
This causes nothing to be highlighted, presumably because the selected grouping doesn't match anything anymore.

A related problem is that:

Click on a label again.
Switch to another factor.
This causes the first label of that new factor to be highlighted, even though that was not likely to be intended.

I'm guessing that you're storing the label index; this should be cleaned out once the factor changes (to another factor, or to a gradient). Or more sophisticated, you could cache that for each factor.


Add option to clear action logger

Issue: Currently, the action loggers stacks up all the events without limit and across all stories. There is already a PR (#3447) open for a limiting option. In the same way, this introduces an optional feature that will clear the action logger when switching away from a story. (Fixes #3443)
What I did
Added a clearActionLogger option to the actions addon that clears the action logger when switching away from a story. It uses the storybook/stories/story-event event for detecting a switch in story.
How to test
I updated the configureAction unit test and the documentation on action options.

In the corresponding issue @merlinpatt mentioned that he would be willing to do this. I just decided to start working on it and proposed my current progress. If he wants to take over or maybe work together I dont mind.

Please use this option in examples/storybook-official

Something like this, @Hypnosphi?

Sorry I'm late to the conversation but isn't there an overall Storybook configuration that this could go in?

@merlinpatt So far, not really. Each addon exposes its own configuration function when needed

Does the action logger have some sort of top level configuration?

@merlinpatt check out this on configureActions.

I also find it likely that users would want to clear it on every story change

Based on the other comments, I will be changing the default behaviour to this

I processed both feedback of https://github.com/storybooks/storybook/pull/3459#discussion_r183218281 and https://github.com/storybooks/storybook/pull/3459#discussion_r183236236.
Behaviour wise, actions are still only persisted when switching away from a story. While changing the default to true gets rid of the counter-inituitive behaviour described in https://github.com/storybooks/storybook/pull/3459#discussion_r183210433, I didn't see a way yet to make this happen on entry.

actions are still only persisted when switching away from a story

That's OK, you're kinda saying "I want logs of this story to be persisted"

I think this one should be emitted by core

Currently there is an onStory() method defined on the api which could be used, it is passed in during register of the addon.
Usage of it is a bit awkward though, e.g.:
export function register() {
  addons.register(ADDON_ID, (api) => {
    const channel = addons.getChannel();

    addons.addPanel(PANEL_ID, {
      title: 'Action Logger',
      render: () => <ActionLogger channel={channel} api={api} />,
    });
  });
}

// do something with api.onStory in the ActionLogger
api.onStory((kind, story) => ....)

Thank you @rhalff, I will look into the onStory method and propose changes accordingly

Something like this @rhalff?

Added it, thanks for the info @rhalff.


Feature/2446 rm recursive

No automated tests as there is an issue for CLI testing. Tests where done manually for correctness - various scenarios - and performance - deletion of ~30000 in multiple dirs and various levels (~15 sec on local machine)

 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.

Nice work! Tested it and it works great. Please add an entry to the CHANGELOG and also some a short sentence to the PR description.

Not sure we did this.

Nice work! Tested it and it works great. Please add an entry to the CHANGELOG and also some a short sentence to the PR description.

Updated CHANGELOG.md.
@johnnyaug - not sure what you mean by 'PR description' - can you please elaborate?


Should we keep installing deps if one of them fails?

As in https://github.com/tadzik/Task-Star/issues/4, Task::Star would probably benefit if we did.

Maybe we should have other keyword like meta-depends in META.info?

I'd be more inclined to teach panda to --keep-going or something along these lines. Or maybe just make it default, I think this is what cpanm and alike do anyway.


Release v1.3.0

Added the manifest.json generation to the Makefile and the CI.  The pynitrokey version is currently hardcoded in the manifest template.


Add support for Lsv2-series VMs

This PR adds support for Lsv2-series VMs. A subsequent PR should be opened to support mounting a filesystem on local ephemeral NVMe storage instead of the temp disk, when 0 managed disks  is specified.
Closes #265

run
npm run links -- --branch 6.7

before merging


Soundflower 1.6.6b crashes after updating to OS X Yosemite

I updated my mac to OS X Yosemite.
Afterwards when starting Soundflower i noticed the in-active icon kept showing up
when moving over the icon.
Looking in the Activity Monitor i noticed the process was marked as not responding and had to kill it.
I decided to remove and reinstall the latest version (Soundflower-1.6.6b.dmg).
After restarting i got the same result as above.
I noticed other people having trouble when running it on the latest Mac OS X.
Maybe it's related to https://github.com/RogueAmoeba/Soundflower/issues/19
But at least they get it running.
Any suggestions or other ways i can help?

I'd just like to say that I installed @mattingalls build, whilst not uninstalling the previous build that crashed, and the soundflowerapp now seems to work!  So, thanks, I think!

@mattingalls. Tried to download and install your build but it didn't work. Soundflower devices were still loaded in System Preferences:Sound. Opened up terminal and ran:
sudo kextunload /System/Library/Extensions/Soundflower.kext
sudo rm /System/Library/Extensions/Soundflower.kext
Tells me to enter my password, so I do. Tells me "Sorry try again" even though I know I've entered the right password. Enter same password again, and receive the message "Can't open CFBundle for /System/Library/Extensions/Soundflower.kext.
Can't create /System/Library/Extensions/Soundflower.kext.
Andrews-MacBook-Pro:~ andrewmarkos$"
Then tried downloading "Soundflower.kext.zip" file. Does not automatically unzip in my downloads folder so I open it. Open terminal and type "sudo mv ~/Downloads/Soundflower.kext /Library/Extensions
sudo chown -R root:wheel /Library/Extensions/Soundflower.kext
sudo kextload /Library/Extensions/Soundflower.kext". Nothing happens

@Zinedine-Socrates the rm errors might be because old version isn't there.  what do you mean by "nothing happens"? in general if no error is printed after terminal commands, it means it WORKED

I'll close this issue since it's over 8 years old.


[testing] register chai plugins type error

Hi!
Since the last minor version 2.3.0, where there is an update of using chai plugins, it throws an error  whenever you try to execute the tests with npm run test command.
This is the error I mention:
TypeError: Cannot read property 'use' of undefined     at<EMAIL_ADDRESS>(http://localhost:9876/absoluteC:/Users/AppData/Local/Temp/_karma_webpack_/commons.js?75a6c001bc3dabe4571a9762f775846886fba511:27698:13)     at __webpack_require__ (http://localhost:9876/absoluteC:/Users/AppData/Local/Temp/_karma_webpack_/runtime.js?c38d51cd4af62e9eacd04bb5dfbfbac27880397b:85:30)     at<EMAIL_ADDRESS>I do not know if there is any config missing I have to include due to this update, but it is failing when it tries to use those plugins as window.chai seems not to be registered well.
This is the line I mention in register-chai-plugins.js file: window.chai.use(chaiDomDiff);
Thanks in advance!!

are you maybe using karma and karma-webpack directly?
can you make a reproduction? using it in our recommended default way with es-dev-server works fine... so I am not sure what goes wrong...

ah reading it again I can see karma-webpack in the error message...
@bennypowers you have a similar setup right? how did you solve it now?

if you are using karma-webpack you can try to add chai/chai.js to your files in the karma.conf.js
files: [
  { pattern: require.resolve('chai/chai.js' },
  // other files
]

if that solves your problem would you be willing to add this information to our documentation via a PR? 🤗

I had a similar problem and solved it by adding this to karma's files config array
{ pattern: require.resolve('chai/chai.js'), watched: false },

and by removing any instances in my test files where I import { chai } from '@open-wc/testing', then by referencing chai on window
window.chai.use(sinonChai);

Many many thanks! It was solved with that!

if you are using karma-webpack you can try to add chai/chai.js to your files in the karma.conf.js
files: [
  { pattern: require.resolve('chai/chai.js' },
  // other files
]

if that solves your problem would you be willing to add this information to our documentation via a PR?

Sure, I will create a PR updating the doc with it :)

I run into similar problem. I have own plugin to run tests on SauceLabs. After recent update I have to add both chai and axe-core to the fist of files. Naturally I can do this in my base configuration but this generally means that something wrong is with the testing library that ignores this files in the first place.

Something is wrong with webpack in this case :/


Support for Google Assistant

Hi Aircookie
Hope you are well for Wled will there be support for Google assistant and micro or circuit python. Also would you be able to add in modes for voice activation like in the video link attached. Would be nice if you could create your own modes.
https://youtu.be/ufVbt8gSevE

Hello Aircookie
Is there a possibility of espalexa like library for google home. I am a hobbyist working on home automation and is not able to expand my project because of this limitation of google home. While alwxa can suppport numerous devices locally, not able to do the same using google home.

Google Home still does not offer a local API without cloud dependance, sorry.