New Twitter Process for creating an App

I just went into Twitter and noted the new procedure.  Now you have to go to https://developer.twitter.com/en/apps/ and sign in using your Twitter account.  Once that is done you have to apply for a developer account.  The process is pretty straightforward.  Click Create an app.  If you do not have a developer account already (or if you have not created an app in a while) you will need to apply for one.  There are a list of questions that you have to answer.  Be sure to make not of the minimum word count several of them have.  Once you submit the application you will receive an email message to confirm your email address.  Once you confirm you are generally given an account instantly (unless you answered the questions in such a way that would lead Twitter to believe you are going to use the data for malicious means.  You are then able to go to https://developer.twitter.com/en/apps/create
and create an app.

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

ID: e9636d03-2832-6aaf-9b92-dc67e7ba16fb
Version Independent ID: eb372908-c7f1-313b-198e-8f960cadda6c
Content: Real-time Twitter sentiment analysis with Azure Stream Analytics
Content Source: articles/stream-analytics/stream-analytics-twitter-sentiment-analysis-trends.md
Service: stream-analytics
GitHub Login: @JSeb225
Microsoft Alias: jeanb

@Exnav29  Thanks for the feedback! I have assigned the issue to the content author to review further and update the document as appropriate.

@Exnav29 - thank you! I will be updating this content today. I'm glad you found the process to apply for a developer account to be straight forward. Do you remember approximately how long it took for your account to be created?

Hi,
It took seconds.  Once I confirmed my email address, the next screen told me that my account was created.
Johnathan
From: Mary McCready<EMAIL_ADDRESS>Sent: Monday, July 29, 2019 1:50 PM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: Johnathan Lightfoot<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] New Twitter Process for creating an App (#35979)
@Exnav29 https://github.com/Exnav29  - thank you! I will be updating this content today. I'm glad you found the process to apply for a developer account to be straight forward. Do you remember approximately how long it took for your account to be created?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/MicrosoftDocs/azure-docs/issues/35979?email_source=notifications&email_token=ABOT4ZLFG6JKXRZN47HM6J3QB4UTJA5CNFSM4IHILY7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3BPRWI#issuecomment-516094169 , or mute the thread https://github.com/notifications/unsubscribe-auth/ABOT4ZPGWMLNXHAWQQDLMRLQB4UTJANCNFSM4IHILY7A .  https://github.com/notifications/beacon/ABOT4ZONCS4GWWBPUMHSCBLQB4UTJA5CNFSM4IHILY7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3BPRWI.gif

@Exnav29 - that's great! Thanks again for your input. The doc has been updated to reflect the new steps.

@mamccrea Are we ready to close this one out?

#please-close


Support for Windows 10

It's been two years since #55 and I was wondering if there is going to be a significant attempt to get RS working on Windows?

It works on bash on ubuntu on windows, search up a tutorial to get that working if you're not sure how. It's pretty simple


Embed English auto generated subtitles possible?

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

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

Checklist

[X] I'm asking a question and not reporting a bug or requesting a feature
[X] I've looked through the README
[X] I've verified that I'm running yt-dlp version 2022.10.04 (update instructions) or later (specify commit)
[X] I've searched the bugtracker for similar questions including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Please make sure the question is worded well enough to be understood
Simple question: is it possible to embed the auto-generated English subtitles? It seems it is only possible for the real subtitles only.
Provide verbose output that clearly demonstrates the problem

[ ] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
No response

--write-auto-sub --embed-sub

https://github.com/yt-dlp/yt-dlp/issues/630#issuecomment-893659460

Thanks. If I may ask this too: How to download it as mp4 with embeded subs?
When I use:
yt-dlp --write-auto-sub --embed-subs ext:mp4 [URL]
It won't download as mp4

Thanks. Is it possible to have them by default embedded?

Not for now. See https://github.com/yt-dlp/yt-dlp/pull/3709

When I use:
yt-dlp --write-auto-sub --embed-subs ext:mp4 [URL]
It won't download as mp4

I'm curious what made you think that's valid syntax

How to download it as mp4 with embeded subs?

Use either -f or -S to select mp4 format. Or, use --remux/--recode to convert it.  I suggest going through the "format selection" section of the readme


nginx fails to start leaving OVA unusable post docker-compose restart

On an integrated OVA environment, I restarted services using:
root@vic-st-h2-132 [ /etc/vmware/harbor ]# docker-compose ps
Name                     Command               State                          Ports
harbor-adminserver   /harbor/harbor_adminserver       Up
harbor-db            docker-entrypoint.sh mysqld      Up      3306/tcp
harbor-jobservice    /harbor/harbor_jobservice        Up
harbor-log           /bin/sh -c crond && rm -f  ...   Up      <IP_ADDRESS>:1514->514/tcp
harbor-ui            /harbor/harbor_ui                Up
nginx                nginx -g daemon off;             Up      <IP_ADDRESS>:443->443/tcp, <IP_ADDRESS>:4443->4443/tcp, 80/tcp
registry             /entrypoint.sh serve /etc/ ...   Up      5000/tcp
root@vic-st-h2-132 [ /etc/vmware/harbor ]# docker-compose restart
Restarting nginx ... done
Restarting harbor-jobservice ... done
Restarting harbor-ui ... done
Restarting harbor-adminserver ... done
Restarting harbor-db ... done
Restarting registry ... done
Restarting harbor-log ... done
root@vic-st-h2-132 [ /etc/vmware/harbor ]# docker-compose ps
Name                     Command                 State               Ports
harbor-adminserver   /harbor/harbor_adminserver       Up
harbor-db            docker-entrypoint.sh mysqld      Up           3306/tcp
harbor-jobservice    /harbor/harbor_jobservice        Up
harbor-log           /bin/sh -c crond && rm -f  ...   Up           <IP_ADDRESS>:1514->514/tcp
harbor-ui            /harbor/harbor_ui                Up
nginx                nginx -g daemon off;             Restarting
registry             /entrypoint.sh serve /etc/ ...   Up           5000/tcp
nginx is not getting started since 1 hour now, leaving the system unusable, screen shot attached.

Logs attached:
vm-2017-05-30.14860.tar.gz

@lgayatri in the integrated OVA you should follow the correct shutdown/startup procedures detailed in the docs https://vmware.github.io/vic-product/assets/files/html/1.1/vic_vsphere_admin/restart_services.html

@frapposelli
I tried to restart again using systemctl and seeing TIMEOUT error now.
root@vic-st-h2-132 [ /etc/vmware/harbor ]# systemctl restart harbor
root@vic-st-h2-132 [ /etc/vmware/harbor ]# systemctl restart admiral
root@vic-st-h2-132 [ /etc/vmware/harbor ]# docker-compose ps
ERROR: An HTTP request took too long to complete. Retry with --verbose to obtain debug information.
If you encounter this issue regularly because of slow network conditions, consider setting COMPOSE_HTTP_TIMEOUT to a higher value (current value: 60).
root@vic-st-h2-132 [ /etc/vmware/harbor ]#
The setup continues to be in unusable state, is there any way to resurrect it?
Why is nginx not getting started normally? Please help to clarify.

proxy.log says:
May 30 16:56:49 <IP_ADDRESS> proxy[386]: nginx: [emerg] host not found in upstream "notary-server:4443" in /etc/nginx/conf.d/notary.upstream.conf:3
May 30 16:56:53 <IP_ADDRESS> proxy[386]: 2017/05/30 16:56:53 [emerg] 1#1: host not found in upstream "notary-server:4443" in /etc/nginx/conf.d/notary.upstream.conf:3
May 30 16:56:53 <IP_ADDRESS> proxy[386]: nginx: [emerg] host not found in upstream "notary-server:4443" in /etc/nginx/conf.d/notary.upstream.conf:3
May 30 16:57:00 <IP_ADDRESS> proxy[386]: 2017/05/30 16:57:00 [emerg] 1#1: host not found in upstream "notary-server:4443" in /etc/nginx/conf.d/notary.upstream.conf:3
May 30 16:57:00 <IP_ADDRESS> proxy[386]: nginx: [emerg] host not found in upstream "notary-server:4443" in /etc/nginx/conf.d/notary.upstream.conf:3

@lgayatri Please refer to this guide .

Which one is correct way to restart harbor on integrated OVA
systemctl restart harbor
or
https://github.com/vmware/harbor/blob/master/docs/installation_guide.md#managing-harbors-lifecycle ?
I dont see any way to bring back the OVA. As I provided all the required logs for investigation, will tear down the test bed.

I rebooted the OVA itself and hit: https://github.com/vmware/harbor/issues/2397

Close as it's fixed in .ova. it's a dup to 2394 in vic-product.


SAK-26637 - NPE from gradebook on DAC sites (and some manually create…

I tested this as an admin, instructor and a student and it worked fine. It didn't seem to cause any permission issue.
The comments say
* Since this is coming from the client, the application should NOT
* trust that the current user actually has access to the gradebook
* with this UID. This design assumes that authorization will come
But it seems like the only thing that might happen if someone passes in a gradebook that doesn't exist would be to create a gradebook and then just have basically no access to an empty gradebook.
I kind of hate doing this much logic in a "setter" but there already is logic there that just says "sorry no gradebook return null" and the only way it creates it now is when the tool is placed on a Observer event.

Earle suggests this be taken care of in gradebook = getGradebookManager().getGradebook(newGradebookUid);
I'll look at  that and possibly closer this one.

I'm not sure about the risks for putting it any lower. This method is called from GradebookCalculationImpl in gradebook, but it calls straight into BaseHibernateManager->getGradebook. The problem with putting it there is this is all hibernate code, and it needs to make a call out to GradebookFrameworkService->addGradebook which is some business code.
This may need to be refactored to fix any easier. I'm not sure of any significantly better place to put this without a larger risk or stack overflow possibility.  :(

OK lets get this one in

Okay, because of the readOnly restriction on the get* methods I had to create a new method, but this looked like it worked afterall.

@jonespm what should be done with this PR?

See I'm still stuck here Steve.
The GradebookFrameworkService can't return a Gradebook object because Gradebook is in
./gradebook-service/hibernate/src/java/org/sakaiproject/tool/gradebook/Gradebook.java and the
.
/gradebook-service/api/src/java/org/sakaiproject/service/gradebook/shared/GradebookFrameworkService.java
doesn't have access to this. Trying to add this would create another circular dependency in the poms since hibernate depends on gradebook-service-api already.
I don't know what to do about this. I feel like this needs a larger code reorg to get this simple fix working right and there's not even any point.  Maybe GradebookBean should just call the code right there rather than trying to get this logic the service in the first place.

I created a more targeted fix to gradebook #3614 that might not even matter anymore. I didn't see how to fix Gradebook without doing a re-org to edu-services again just to be able to get this fix in. Maybe after we remove Gradebook and all that code in there this can be fixed better.
I'm not sure what GradebookNG is going to need to do in this case.
I see a helper in GradebookNgBusinessService (getGradebook) that just does the same logging an error if it's not found. I really don't like how this service was split.


pull request for e2e test at 12/24/2016 20:15:07

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Make using NewSortOrder optional

Allow passing sort.Ascending directly to the read options. Also allow to chain calls:
sort.Ascending("field1").Descending("field2")

Codecov Report
Patch coverage: 85.71% and project coverage change: -0.03 :warning:

Comparison is base (1fc4b09) 81.42% compared to head (8c966fd) 81.40%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #281      +/-   ##
==========================================
- Coverage   81.42%   81.40%   -0.03%
==========================================
  Files          39       39
  Lines        4065     4071       +6
==========================================
+ Hits         3310     3314       +4
- Misses        548      550       +2
  Partials      207      207

Impacted Files
Coverage Δ

sort/sort.go
83.33% <84.61%> (-4.17%)
:arrow_down:

search/request.go
89.36% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Updated Page service Testcases

Description
Updated Page service Testcases with param object and removed unused methods.
Type of Change

[ ] Test case change

You did it @purnamashetty!
Thank you for signing the Anthem Opensource Software CLA.


Add tags attribute to ASDFDataSet class.

Merge development branch.

Coverage increased (+0.03%) to 88.682% when pulling 1e42ef0a3e7bea2872f1394dac729d89ba344830 on malcolmw:dev/tags_attribute into 3ae1b24230072973343fc23e5fa2a750c9801fba on SeismicData:master.

Sorry for my slow action on this. I rebased on the latest master to fix some unrelated issue and renamed the property to waveform_tags which is a bit more descriptive.
Thanks a bunch for this!


Have anyone use the HTML Object?

how can i use html in html Object? even i put html in Edit Text
Thanks
FastReport .NET version 2022.2.0 Community Edition

This is not a full-fledged HTML renderer. This is a text object with HTML tag support.
See here:
https://www.fast-report.com/public_download/docs/FRNet/online/en/UserManual/en-US/Fundamentals/ReportObjectsFundamentals/TextObjectFundamentals/HTMLTags.html

Where is the "HtmlTags" property? Has it been removed?


[WIP] Determine if a given number of qubits can be run locally

Checks local hardware information, and determines if a given number of qubits can be simulated locally.

Description

Motivation and Context

Want to prevent users from running simulations that they cannot actually handle.
How Has This Been Tested?

Tested on OSX and Windows.  Original code comes from QuTiP.
Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[X ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ X] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[X] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[X] All new and existing tests passed.

Great!
I was wondering if it's more realistic to take into account actual available memory (MemAvailable) instead of all physical memory, this way we can void intense swapping or being killed by the Out Of Memory killer... I guess that at the end the difference will be 1 qubit.

@nonhermitian is the intention of this PR to integrate it within QISKit? or just the tool and have an integration later, in another PR.

Actually, can we explore already existing options for retrieving system information before going with a custom implementation? There seem to be a number of popular ones that might be suited for our purposes (psutil, for example), and would most likely provide a more robust implementation (plus avoiding the burden of having to maintain platform-specific code ourselves).
On an unrelated note - pinging @ajavadia to make sure the licensing for the current file in the PR is fine (I wouldn't expect it to be an issue, but just in case)!

This is new BSD license (clause 3), which is compatible with our Apache 2.

It is waiting for other things to be finished, and then likely added to the validation part of the local simulators.
The code itself is from QuTiP, and has been used for a number of years now without many issues.
And indeed, you could drop the qubit count by one, but at least at the moment, I think that is probably unnecessary as the reported total memory is always just below a cutoff.  In your case, 31.3 Gb rather than 32.

@atilag the intention is to make the local simulators check the size they can run rather than just have it hardcore to 30. This way if the user puts it on a bigger computer it can work.

The backends are now in aer, so this should be done there.

i agree


playback on jellyfin android tv and android app fail

playback works on web version of jellyfin and vlc. but integrated players in jellyfin fail.  Is there a setting i can change to get it to work?

With android app you can go to . Settings -> Client Settings -> Video player type. Select Web player, i'm working fine with this.
I don't know if android tv app has the same option. Test it.

Test and working fine:
Samsung S20 FE . With external player (VLC)
Fire Stick (Android TV app) . With ExoPlayer


proposal: cmd/vet: refactor to be cheaper

The structure of vet is to have a set of checks, each of which walks the whole AST. This is expensive. It might be possible to refactor it to walk the AST once and do all the work in one pass, or at least to fold many of the locally identifiable issues into a single such pass.
For example, #19675 is not worth a full AST walk but is worth a function call on every constant.

How expensive is a no-op walk?

I'm confused. I thought vet already did a single AST walk and called relevant checks for each node:
https://github.com/golang/go/blob/master/src/cmd/vet/main.go#L500
Of course, each checker might do non-trivial work once it is running, but I don't think that is a big problem at the moment.

httpresponse.go rewalks the whole file. I thought there were others, but there aren't.
There's something nagging at me here but I clearly haven't expressed it well.

maybe #8338 is related?

One experiment that might help (volunteers welcome): implement the -0 check in #19675 and measure how much slower vet gets. If it's significant, can it be improved?

One experiment that might help (volunteers welcome): implement the -0 check in #19675 and measure how much slower vet gets.

Did that. CL 38779. No detectable performance change in vet.

Thanks for the data. We'd forgotten that there's one shared AST walk for most checkers.

If desired, this could be re-opened and repurposed as an issue to make the httpresponse checker partake of that single shared walk. Although I strongly suspect that that is a low priority on the vet performance front.


Flame Graph fails without error

When using the attached profile file selecting the flame graph clears the propeek page.

Nothing gets displayed
No error is shown

I made some string replacements in the profile file to anonymize it a bit.
I don't mind sharing the original file outside of github.
flamefail.zip

Hi, @ccecvb, thanks for the info, we'll have a look into it.

@PauliusKu When drilling down in a flame graph on one occasion it also hung while a spinner was displayed. Unfortunately, I don't have a reproducible for that now.

@ccecvb You can find here a .vsix file that include the fix for this bug.
To install just right click -> install:


New release?

Is there a chance that you will release a new version of this great plugin in the near future?

Done. Should be available in the maven central within couple of hours:
<groupId>com.aerse.maven</groupId>
<artifactId>deb-maven-plugin</artifactId>
<version>1.8</version>


nativescript-angular@latest update

Environment

CLI: 6.8.0
Cross-platform modules: 6.5.0
Android Runtime: 6.5.0
iOS Runtime: 6.5.0
Plugin(s): "dependencies": {
"@angular/animations": "~8.2.0",
"@angular/common": "~8.2.0",
"@angular/compiler": "~8.2.0",
"@angular/core": "~8.2.0",
"@angular/forms": "~8.2.0",
"@angular/platform-browser": "~8.2.0",
"@angular/platform-browser-dynamic": "~8.2.0",
"@angular/router": "~8.2.0",
"@nativescript/theme": "~2.2.1",
"nativescript-angular": "^10.0.0",
"reflect-metadata": "~0.1.12",
"rxjs": "^6.4.0",
"tns-core-modules": "~6.5.0",
"zone.js": "~0.9.1"
},
NativeScript-Angular: "^10.0.0"
Angular:    "@angular/core": "~8.2.0",

Describe the bug
Creating a new project with tns create name --ng create it just fine, with updated verisons
updating my current projects with TNS UPDATE also work and updates the Nativescript core modules
but when i reach the  npm i nativescript-angular@latest --save part.
there is no "./node_modules/.bin/update-app-ng-deps" file
i tried running on severals old projects, they all had the same result, so my angular deps are kept at version 8
while the "nativescript-angular" : "^10.0.0"
To Reproduce

try updating an old application created with tns . mine are already on v6. so it is not a migrate
Expected behavior
update ng deps
Additional context

i don't know if it is only on my end

Same problem here.
I'm trying to update a project to the latest versions. After I updated nativescript-angular to 10.0.0 and trying to run ./node_modules/.bin/update-app-ng-deps I got this error   no such file or directory: ./node_modules/.bin/update-app-ng-deps

@NathanWalker I've noticed you removed those files from bin folder. Is there any replacement for that file or is it a mistake?
Thanks

@alexandruantonica and upon creating a new project with the updated CLI do you get the angular 10 or 9 ?
here is a fresh installation package
{
  "nativescript": {
    "id": "org.nativescript.test10",
    "tns-android": {
      "version": "6.5.0"
    },
    "tns-ios": {
      "version": "6.5.0"
    }
  },
  "scripts": {
    "ngcc": "ngcc --properties es2015 module main --first-only",
    "postinstall": "npm run ngcc"
  },
  "dependencies": {
    "@angular/animations": "~9.1.0",
    "@angular/common": "~9.1.0",
    "@angular/compiler": "~9.1.0",
    "@angular/core": "~9.1.0",
    "@angular/forms": "~9.1.0",
    "@angular/platform-browser": "~9.1.0",
    "@angular/platform-browser-dynamic": "~9.1.0",
    "@angular/router": "~9.1.0",
    "@nativescript/angular": "~9.0.0",
    "@nativescript/theme": "~2.3.0",
    "reflect-metadata": "~0.1.12",
    "rxjs": "^6.5.0",
    "tns-core-modules": "~6.5.0",
    "zone.js": "~0.10.3"
  },
  "devDependencies": {
    "@angular/compiler-cli": "~9.1.0",
    "@ngtools/webpack": "~9.1.0",
    "nativescript-dev-webpack": "~1.5.0",
    "tns-platform-declarations": "~6.5.0",
    "typescript": "~3.8.3"
  },
}

@ouss4m4 I am not sure what CLI version do you have but seems like your tns create used @nativescript/angular:~9.0.0. We have problems with version 10.0.0 where the executable from .bin folder is missing.
I haven't try the tns create yet on my machine, I got the problem above by updating an old project.

@alexandruantonica  it's the 6.8.0 ofc, we have the same problem, the update-ng-apps.. is missing from the bin folder,
and also creating new projects does not seem to update the angular deps to v10.
i did this in an attempt to  create a v10 supported nativescript project, and copy the dependencies versions to my actual project that i am trying to update, just to be surprised that the newly created project is only on angular v9

Did you follow these upgrade tips? https://nativescript.org/blog/upgrading-tips-for-angular-10/#comments


[apps] moving logger to base and updating some levels

to: @jacknagz
cc: @airbnb/streamalert-maintainers
size: small
resolves N/A
Background

N/A

Changes

Making a few logger messages info instead of debug since they are not very noisy.
Also moving a log message that reports if there are more logs to poll to the base class instead of within the duo class.

Testing

Updating unit tests to check for info logger message.

Coverage remained the same at 94.715% when pulling bda7a63a79fe89657f0d55b66c3f1d5b3f13dbe4 on ryandeivert-app-logger-update into dfd241f7251a3164775b3c3d836b4065e54d38f3 on master.


Allow custom hint text at DefaultSearchView

This Pull Request addresses the issue of the 'Search' hint in DefaultSearchView being fixed and untranslatable. The goal is to modify this hint to be customizable, thereby enabling its translation into various languages.

@Fintasys could you look into merging this? Thank you :)

Yes, but sorry I haven't found time yet. There are a few things I want to check before allowing wordings directly in the configuration. You shouldn't be blocked by waiting for my review since you can just copy the default implementation, change the string and assign it to the custom widget property in the configuration.


Update readme

The readme is out of date, especially the part about logging.

Add section about the preferences file.

done


Include the correct way to write 'web interface'

[Enter feedback here]
Shall we add the correct way to write 'web interface' into the style guide?

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

ID: c2e0cd5f-f5a5-4896-a9c6-c784a3d5f030
Version Independent ID: cc261803-9166-fbcc-c399-782eec52c736
Content: web, World Wide Web, WWW - Microsoft Style Guide
Content Source: styleguide/a-z-word-list-term-collections/w/web-world-wide-web-www.md
Product: non-product-specific
GitHub Login: @pallep
Microsoft Alias: pallep

Hi,
What would you need to know about the term? The topic doesn't list it as one of the terms that's now spelled as one word (like website), so the usual English grammar rules would apply, and it would be two words. Is there anything else confusing or ambiguous about the term that needs to be clarified? Thanks!

Yes, this answers my inquiry. Thanks for getting back.


SQLPackage Import BacPac Elastic Pool Limitation

Hi,
Is there still a limitation of SQLPackage import into Elastic Pools like stated here: https://learn.microsoft.com/en-us/azure/azure-sql/database/database-import?tabs=azure-powershell&view=azuresql#limitations
We have successfully imported into an Elastic Pool previously however recently the process has been hanging at the start of the import (about 50% of the time), after investigating this issue I have found the stated limitation.
This is more just a question and not a bug so apologies for the incorrect label.
Thanks

@tomaustin700 Sqlpackage based import does not have this limitation, only the Import Service as I read it..

@tomaustin700 This looks like a standard command timeout issue, and insufficient guidance on setting a long command timeout. What have you tried?
For tips and a commandline that sets correct timeouts, see my blog post here:  https://erikej.github.io/efcore/sqldb/sqlpackage/2022/08/05/azuresql-sqlpackage.html

Thanks @ErikEJ, I've added those timeouts to my script so I'll see if that helps. My first bit of troubleshooting let me to that statement about elastic pool limitation so I just wanted to see if it was something to be aware of or not before I moved any further with it. Thanks anyway.


CircleCI Storage Limit Reductions

User Need
As a Operations Engineering Team
I want to ensure that we are making the best use of CircleCI storage limits
so that we optimise our credit usage.
Value

Reduce cost
Reduce risk of overages
Reduce risk of unavailability of services

Functional Requirements (What):
Proposed change:
To ensure that as an organisation we are working within our contracted subscription quotas we will be reducing default [storage usage](https://circleci.com/docs/persist-data/#custom-storage-usage).

We will be reducing storage limits as follows:
Artefacts - 15 days (from 30)
Workspaces - 7 days (from 15)
Cache - 7 days (from 15)

Non-Functional Requirements (How):

Engage with users to determine impact of proposed changes.

Acceptance Criteria:

[ ] We can make a decision on reduction of storage limits
[ ] We can implement appropriate changes

Feedback thread - https://mojdt.slack.com/archives/C02D2NEF9CJ/p1719839106888779

Gathered data - https://docs.google.com/spreadsheets/d/1EUlkxxJG39hkh21i47WsokGD3OnyvOux6eEVFBXSPLM/edit?usp=sharing

Have obtained more data. Sharing with HMPPS teams for further discussion.

Fed back question to users. Awaiting response.

Temp on hold. Am going to be focusing on config reviews with Service Teams. Will create new stories for config reviews.


attention mask

I want to ask in mixtext.py, why use torch.ones to define the attention_mask2 and torch.zeros to define token_type_ids2 instead of using the real attention mask and token types. Also, in the hidden representations, after the hidden representations are mixed, the attention_mask is used without mixing attention_mask2, can you explain the reason for that? Thank you!

I did not use attention_mask at that work. But you could add it for experiments.


My PR was merged

- What I did
Stop using a fork and switch to upstream repo
- How I did it
dep
- How to verify it
I didn't breack the build :)
(this is an e2e test dependency)
- Description for the changelog
- A picture of a cute animal (not mandatory)

The change here is to stop using a fork, not why this dependency was introduced
The explanation you're asking for is here https://github.com/docker/app/commit/8beb2f139853113b3389cc6eeb75ce7d6b27997e


Unable to login with username and password : The email and password you entered don't match.

I'm trying to disable signup page and want to send invite link to members so I've added a admin user as follows to docker run command. It disabled the signup page but the problem is when I enter username and password in browser it says "The email and password you entered don't match."
docker run -itd -p 8080:8080 --env LABEL_STUDIO_DISABLE_SIGNUP_WITHOUT_LINK=true --env LABEL_STUDIO_USERNAME=lsadmin --env LABEL_STUDIO_PASSWORD=******** -v /label-studio/data:/label-studio/data heartexlabs/label-studio:latest

Further I tried below command without username and password in the command,
docker run -itd -p 8080:8080 --env LABEL_STUDIO_DISABLE_SIGNUP_WITHOUT_LINK=true -v /label-studio/data:/label-studio/data heartexlabs/label-studio:latest
But here I don't know what is the default username and password if we don't set through environment variables.
I tried by entering into container (exec) and tried below commands to change password but still unable to login.
$docker exec -it container_id bash

One more question if I want to enable Multisession mode in docker installation how  can I do that.
Thanks

@jagan1333 What multisession mode do you mean? If you are talking about multimode in LS, it was deprecated since 1.0 and there is no multisessions in it. But LS 1.0 doesn't need it, because it has multi-projects and multi-users.

@jagan1333

Try to reset database (remove label_studio.sqlite3 file) and then restart docker with username and password. Maybe you set the password before and now you are trying to use an old one?
Run label-studio shell and write:

u = User.objects.get(email='lsadmin')
u.set_password('12345')
u.save()

and then try to re-login using 12345 as password.
Also I wouldn't recommend to user username without @, it's better to make the login as email, e.g.: lsadmin@ls

I had the same issue. @jagan1333 After fixing the username to be lowercase and including @ as @makseq suggested ex<EMAIL_ADDRESS>it worked fine. Before i was trying something like a person name "Myname" and it did not work.


Pre-set the front-end IPs to the max size of cluster

In order to correctly pre-set dns, add a feature to pre-set the front-end IPs to the max size of cluster.

Install cluster with vfxt.py
Run  averecmd vserver.addClientIPs or averecmd vserver.modifyClientIPs to correctly set the range

The vserver_first_ip doesn't ensure consecutive ip addresses when scaling up

range of IP addresses are from 4 to 32


Helm: add eni option to use iam-role

Prevents helm from adding secret env in particular AWS_DEFAULT_REGION for AWS pod identity if using an iam-role.
It seems that this prevents the eks-pod-identity-webhook from adding the entry if missing.
level=warning msg="Unable to synchronize EC2 VPC list" error="operation error EC2: DescribeVpcs, failed to sign request: failed to retrieve credentials: failed to retrieve credentials, operation error STS: AssumeRoleWithWebIdentity, failed to resolve service endpoint, an AWS region is required, but was not found" subsys=eni
level=fatal msg="Unable to start eni allocator" error="Initial synchronization with instances API failed" subsys=cilium-operator-aws

Fixes: #13270
Add iamRole option to eni in Helm chart values to allow using serviceaccounts for iam roles on cilium-operator

@christarazi done

test-me-please

test-1.19-4.19

test-1.20-4.9


RouteObserver can't call didPop on iOS Swipe

Hello, on master, deb, beta channel didPop no calls, it is bad, because need check screen pop,
final RouteObserver<PageRoute> routeObserver = RouteObserver<PageRoute>();

class _BaseWidgetState extends State<BaseWidget>
    with RouteAware, WidgetsBindingObserver {

@override
  void initState() {
    super.initState();
    WidgetsBinding.instance.addObserver(this);
  }

@override
  void didChangeDependencies() {
    super.didChangeDependencies();
    routeObserver.subscribe(this, ModalRoute.of(context));
  }

  @override
  void didPushNext() {
    super.didPushNext();
    print('didPushNext');
    if (widget.pushNext != null) widget.pushNext();
  }

  @override
  void didPop() {
    super.didPop();
    print('didPop');
    if (widget.pop != null) widget.pop();
  }

  @override
  void didPopNext() {
    super.didPopNext();
    print('didPopNext');
    if (widget.popNext != null) widget.popNext();
  }

  @override
  void didPush() {
    super.didPush();
    print('didPush');
    if (widget.push != null) widget.push();
  }

  @override
  void dispose() {
    routeObserver.unsubscribe(this);
    WidgetsBinding.instance.removeObserver(this);
    super.dispose();
  }

}

I test channel

stable
//push next screen
flutter: didPushNext
flutter: didPush
-----swipe screen(iOS)
flutter: didPopNext
flutter: didPop
-----touch back button (Android)
flutter: didPopNext
flutter: didPop

test: successful

master
//push next screen
flutter: didPushNext
flutter: didPush
-----swipe screen(iOS)
no reaction!!!
-----touch back button (Android)
flutter: didPopNext
flutter: didPop

dev
//push next screen
flutter: didPushNext
flutter: didPush
----- swipe screen(iOS)
no reaction!!!
-----touch back button (Android)
flutter: didPopNext
flutter: didPop

beta
//push next screen
flutter: didPushNext
flutter: didPush
-----swipe screen(iOS)
no reaction!!!
-----touch back button (Android)
flutter: didPopNext
flutter: didPop

Flutter 1.3.12-pre.29 • channel master • https://github.com/flutter/flutter.git
Framework • revision af6e09f6ea (34 hours ago) • 2019-03-18 21:40:21 -0700
Engine • revision 5088735e5f
Tools • Dart 2.2.1 (build 2.2.1-dev.1.0 None)
Running flutter doctor...
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, v1.3.14-pre.7, on Mac OS X 10.14.3 18D109, locale ru-RU)
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
[✓] Android Studio (version 3.3)
[✓] Connected device (1 available)
• No issues found!

Might be related to https://github.com/flutter/flutter/pull/28756

Can you help us clarify what is the API you're trying to use? Since there are 2 'iOS swipe' mechanism that may be relevant to your described issue.
On the one hand, Flutter itself handles iOS back swipes within the Flutter navigation mechanism. That's related to #28756 but not related to WidgetsBinding etc.
On the other hand, you might be referring to executing an iOS back swipe one level higher on a FlutterViewController part of a UINavigationController that you have in your own native project. And you're manually calling FlutterViewController.popRoute. In that case, it's related to WidgetsBinding.
These 2 things are somewhat orthogonal. What scenario are you referring to?

Can you help us clarify what is the API you're trying to use? Since there are 2 'iOS swipe' mechanism that may be relevant to your described issue.
On the one hand, Flutter itself handles iOS back swipes within the Flutter navigation mechanism. That's related to #28756 but not related to WidgetsBinding etc.
On the other hand, you might be referring to executing an iOS back swipe one level higher on a FlutterViewController part of a UINavigationController that you have in your own native project. And you're manually calling FlutterViewController.popRoute. In that case, it's related to WidgetsBinding.
These 2 things are somewhat orthogonal. What scenario are you referring to?

I do Navigator.pushNamed then I do the swipe back and I do not get the message about didPop,

Thanks for the response. This might be a bug in our documentation for not being clearer. Those are orthogonal mechanisms. WidgetsBinding only observes platform triggered navigations against the ViewController or Activity etc.
To observe the Flutter side Navigator, pass a NavigatorObserver list into the Navigator constructor (or the Material/CupertinoApp etc).
Did I interpret the question correctly?

Thanks for the response. This might be a bug in our documentation for not being clearer. Those are orthogonal mechanisms. WidgetsBinding only observes platform triggered navigations against the ViewController or Activity etc.
To observe the Flutter side Navigator, pass a NavigatorObserver list into the Navigator constructor (or the Material/CupertinoApp etc).
Did I interpret the question correctly?

I think I understood, I'm sorry, I did not provide the full information in the question (full code), I, of course, pass the routeObserver to MaterialApp, I did everything as in the documentation https: //docs.flutter .io / flutter / widgets / RouteObserver -class.html and everything works fine on a stable branch, but on the remaining 3 branches didpop flutter is not called when swipe, if there was a transition using CupertinoPageRoute, however, if you press the button on android onBack, didPop is called

Thanks for the response. This might be a bug in our documentation for not being clearer. Those are orthogonal mechanisms. WidgetsBinding only observes platform triggered navigations against the ViewController or Activity etc.
To observe the Flutter side Navigator, pass a NavigatorObserver list into the Navigator constructor (or the Material/CupertinoApp etc).
Did I interpret the question correctly?

Can you show us how (example code)? There is no documentation on this.

Thanks for the response. This might be a bug in our documentation for not being clearer. Those are orthogonal mechanisms. WidgetsBinding only observes platform triggered navigations against the ViewController or Activity etc.
To observe the Flutter side Navigator, pass a NavigatorObserver list into the Navigator constructor (or the Material/CupertinoApp etc).
Did I interpret the question correctly?

Can you show us how (example code)? There is no documentation on this. I think most people (including me) do it like this:
final RouteObserver<PageRoute> routeObserver = new RouteObserver<PageRoute>();
main() {..}

MaterialApp(
navigatorObservers: <NavigatorObserver>[routeObserver], ...)

class SingleChatScreenState extends State<SingleChatScreen>
    with RouteAware {...

 void didPopNext() {
    print('Screen closed');
  }
}

Yes, that's right, I also do this, this code used to work, and is currently running on the stable branch, here I pointed out where the problem lies, we are waiting for a solution
https://github.com/flutter/flutter/pull/28756#issuecomment-469377490

Thanks. The documentation is indeed making it easy to cause the confusion visible in the original question at the top of the thread. Breaking that issue off to #30207.
Leaving this issue to deal with the NavigatorObserver.didPop regression caused by #28756 as you correctly found.

@xster since you're active right now. Is it a bug, or a wrong use of code (please see my short code)? Do you have a ready to use adhoc solution?

As a hacky work-around in the meantime, you can listen to NavigatorObserver.didRemove.

Yes, it is related to #28728, which makes the solution to this tricky too. If you popped something and while it's animating, pushed something else, what should we call on the NavigatorObserver? Calling didPop is ambiguous because the route that's popped is no longer the top route by the time it's called.

We are also desperately waiting for a fix. Do you have any update guys ;-)?

As @Hixie suggested, since the navigation is 'committed' as soon as the back swipe gesture's pointer is lifted, we can let the pop happen at the start of the final snap animation instead of at the end of it.

It can probably be worked out but it turned out not as easy as I thought because by calling pop earlier the TransitionRoute.didPop is rather specific on how it animates
https://github.com/flutter/flutter/blob/72a40834677bde9d9189c0c46a8db09d605917e8/packages/flutter/lib/src/widgets/routes.dart#L206
whereas we want to be very particular about the snapping animation, duration and curve when we drop the back swipe gesture.

@xster, can you elaborate on the 'hacky' solution. I am doing the following and it is not triggered when page pops:

final NavigatorObserver navigatorObserver = new NavigatorObserver();
MaterialApp( navigatorObservers: [navigatorObserver]... )

class ChatScreenState extends State with NavigatorObserver { ...
@override

void didPop(Route route, Route previousRoute) async{
// async functions I would like to run if page pops
}
}

Since the fix is out in https://github.com/flutter/flutter/pull/30422, you could potentially just patch the PR into your Flutter SDK and keep using didPop.

Any idea when it will be merged into the master? Not feeling well messing around on the SDK.

Sorry for the wait all. It's been fixed.

Leads to a new behavior on my iPhone X. After some 'using' of swipe gestures, they stop working. I can then only get back via BackButton. Then animation is much slower.

Yes, the fix was also pretty important for us. But now, after some time, the swipe back stops working. Hope for new fix asap :-)

Thanks for reporting. #31471


docs: update links to fortls

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


Shenzhen - Crash when trying to download provisioning profiles

Sorry - posted in wrong github project
Command I'm trying to run:
ios profiles:download:all --type development  -u #{USER} -p #{PASSWORD} --trace
/Library/Ruby/Gems/2.0.0/gems/cupertino-1.3.0/lib/cupertino/provisioning_portal/agent.rb:210:in list_profiles': undefined method each' for nil:NilClass (NoMethodError)
from /Library/Ruby/Gems/2.0.0/gems/cupertino-1.3.0/lib/cupertino/provisioning_portal/commands/profiles.rb:76:in block (3 levels) in <top (required)>' 	from /Library/Ruby/Gems/2.0.0/gems/cupertino-1.3.0/lib/cupertino/provisioning_portal/helpers.rb:58:in try'
from /Library/Ruby/Gems/2.0.0/gems/cupertino-1.3.0/lib/cupertino/provisioning_portal/commands/profiles.rb:76:in block (2 levels) in <top (required)>' 	from /Library/Ruby/Gems/2.0.0/gems/commander-4.2.1/lib/commander/command.rb:180:in call'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.2.1/lib/commander/command.rb:180:in call' 	from /Library/Ruby/Gems/2.0.0/gems/commander-4.2.1/lib/commander/command.rb:155:in run'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.2.1/lib/commander/runner.rb:421:in run_active_command' 	from /Library/Ruby/Gems/2.0.0/gems/commander-4.2.1/lib/commander/runner.rb:81:in run!'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.2.1/lib/commander/delegates.rb:8:in run!' 	from /Library/Ruby/Gems/2.0.0/gems/commander-4.2.1/lib/commander/import.rb:10:in block in <top (required)>'

This is Shenzhen. You seem to be asking about Cupertino.


DDOS IP protection enablement for NVA scenario

[We can cover the scenario where customers using NVA (has capability of DDOS protection) in their environment which has public IP associated with it (Via LB). Multiple customers ask is that I have an NVA which has the capability of DDOS protection then why I need to go with Azure DDOS protection plan what is the need. Azure DDOS does both Quality and Quantative protection, Quality analysis can be taken care by their NVA but the Quantative analysis will be difficult with the third-party appliance when there is too much of load as mostly NVA placed in HA (2 servers) behind loadbalancer but not as VMSS ]

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

ID: 49e97cc4-3bfc-7675-201e-89d422bea15c
Version Independent ID: 0c211439-f030-c327-4cc1-9eb3a19bf7fd
Content: Azure DDoS Protection reference architectures
Content Source: articles/ddos-protection/ddos-protection-reference-architectures.md
Service: ddos-protection
GitHub Login: @AbdullahBell
Microsoft Alias: abell

@Ravivarman13
Thanks for bringing this to our attention.
I'm going to assign this to the document author so they can take a look at it accordingly.

Hello @Ravivarman13. Thank you for you dedication to our documentation.
I am bringing this scenario to our team's attention. Please continue to provide feedback about the documentation. We appreciate your contributions to our community!
#please-close


Update Method Return Response

This PR:

Updates the response pattern to be as follows:

const result = BdkRn.generatemnemomic();
if (result.isErr()) {
    console.error(result.error.message); // "error message"
    return;
}
const mnemonic = result.value;

Adds @synonymdev/result dependency to package.json.
Removes & Replaces previous Response pattern with @synonymdev/result where needed.
Updates README.md.
This closes #28

@coreyphillips This is great, thanks a lot for the PR, this will be a good pattern to follow 👍


Typo fix in the git readme

Removal of \ that was showing up in https://docs.appsmith.com/advanced-concepts/version-control-with-git

 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.


Behavior change: produce a non-zero exit code (4) if no tests were run

Motivation
All but the simplest of projects have at least one test, and expect each invocation of nextest to run at least one test. Running zero tests likely indicates some kind of configuration issue.
Note that this is not a real error, so we're choosing to use the advisory exit code 4. Exit code 1 is for unexpected errors, 2 is for parsing errors, and 3 often has a specific meaning as well. 4 is the smallest unreserved code and fits this use case well.
Per our stability policy, this counts as a behavior change and will follow the rules outlined there, with a 3 month period. I don't anticipate any particular issues here.
Note that the behavior change is only for cargo nextest run, not list.
Timeline

TBD: Start warning about this with nextest 0.9.73
3 months from then: change behavior.

https://github.com/nextest-rs/nextest/discussions/1646


odinfmt misplaces the closing brace on a for ... do if .. loop

This program correctly prints 5, looping over the potential members of a bit_set and then printing them if found in it:
package main

import "core:fmt"

main :: proc() {
	bag: bit_set[0 ..< 10] = {5}
	for x in 0 ..< 10 do if x in bag {
			fmt.println(x)
		}
}

formatting is with a freshly built odinfmt from master.

This is now fixed.


Add scheme and subnets to loadbalancer

The subnets option allows for creating a loadbalancer in a different subnet, to put it in another VPC than the default one.
The scheme option allows for creating an internal loadbalancer, as opposed to the default which is internet-facing (even though the docs say otherwise)
ref: http://docs.aws.amazon.com/AWSRubySDK/latest/AWS/ELB/LoadBalancerCollection.html#create-instance_method

Also wondering... I want to be able to enable/disable sticky sessions using the resource as well. As far as I can tell I have to do this with the AWS ELB client. What would be the preferred syntax for that?
ref: http://docs.aws.amazon.com/AWSRubySDK/latest/AWS/ELB/Client.html#create_app_cookie_stickiness_policy-instance_method

Diving a bit deeper, the stickiness is actually stored as a load-balancer policy. This also includes SSLNegotiation, ProxyProtocol and some other things. Should it be a collection of policies, or should there be an abstraction on top of that...

Something like this could work:
load_balancer "My-LoadBalancer" do
    load_balancer_options :security_group_name => 'webserver',
                          :subnets => 'subnet-01234567',
                          :scheme => 'internal',
                          :policies => [
                                {
                                    :name =>'cookieStickiness',
                                    :policy_type_name => 'LBCookieStickinessPolicyType',
                                    :policy_attributes => [{ :attribute_name => 'CookieExpirationPeriod', :attribute_value => '10'}]
                                }
                          ],
                          :listeners => [{
                                :port => 80,
                                :protocol => :http,
                                :instance_port => 80,
                                :instance_protocol => :http
                            }]
    machines ['a','b']
end

As a matter of fact, I have something which works with this, sort of. One thing I am not sure about is if the policies should be there, or in the listener. Apparently there's a distinction within these policies. There's methods for enabling a policy for the back end server, or for the listener. To me it seems that this depends on using VPCs or Classic.
So the other option would be:
load_balancer "My-LoadBalancer" do
    load_balancer_options :security_group_name => 'webserver',
                          :subnets => 'subnet-01234567',
                          :scheme => 'internal',
                          :listeners => [{
                                :port => 80,
                                :protocol => :http,
                                :instance_port => 80,
                                :instance_protocol => :http,
                                :policies => [
                                      {
                                          :name =>'cookieStickiness',
                                          :policy_type_name => 'LBCookieStickinessPolicyType',
                                          :policy_attributes => [{ :attribute_name => 'CookieExpirationPeriod', :attribute_value => '10'}]
                                      }
                                ],
                            }]
    machines ['a','b']
end

Just the one question, and otherwise looks great.
In response to the policies thing ... can we get away with not requiring explicit values and passing a hash through (like for lb_optionals)?  Then policies and other things could just be "whatever the load balancer supports" and we wouldn't have to add code every time there was something new ...

I'll take a look at the policies stuff this weekend. Sounds like a good idea to just pass in the hash of values that will be passed to the AWS SDK, but it would probably be an array. Multiple policies can be applied, but as far as I know you have to add (and enable) them one by one.

Alright, made some changes there. It now works if I pass a single or multiple sec. groups, although in my case the AWS API complains about limits. Might be a related but different bug...

Probably a better idea to take the policy stuff to another PR, so this can be merged

@erikvanbrakel looking good!  Merging :)

Closing this as it will be merged as part of https://github.com/chef/chef-provisioning-aws/pull/108


Extract Domain#DEFAULT_COMPACTION_THRESHOLD

LGTM, but i just realized here we have default 32, while io.prestosql.plugin.hive.HiveConfig#domainCompactionThreshold defaults to 100. not sure it matters, but i do not know reason behind

@raunaqmorarka run benchmarks with hive DF threshold set to 100 and there seems to be some (CPU) regressions, so maybe 32 is more suitable (but requires more benchmarking)


[BugFix] AD15: Fix logic for setting size of arrays for airfoil tables

This is ready for merging
If multiple input tables exist within an airfoil input file, the logic for setting the size of the Coefs array would result in extra columns for all tables > 1.  This caused segfaults within the CubicSplineInitM routine with certain compilers (gfortran 9).
This problem was discovered by @ptrbortolotti
Feature or improvement description
This fixes a segmentation fault that could occur when multiple airfoil tables were included in a single airfoil input file.
Impacted areas of the software
Only the AirFoilInfo submodule of AeroDyn15 is affected.
No test cases change with this request.

thank you Andy, that was a really quick fix!

thank you Andy, that was a really quick fix!


what?

what?
Originally posted by @ValueRaider in https://github.com/ranaroussi/yfinance/issues/1373#issuecomment-1407639083
Originally posted by @tombrownservices in https://github.com/ranaroussi/yfinance/issues/1377

Explain yourself, or I will report you.


Is there a plan to support Windows platform ?

I see Linux (Windows is not officially supported)
Is there a plan to support Windows platform? Thanks.

In other words, will there be any unexpected errors when I install this project on the Windows platform? I want to port the current code to the Windwos platform.

As this codebase is heavily based on mmcv, mmdet and mmcls, the support of windows mainly depends on these upstream libraries.

Thanks :)

Should probably work with WSL I guess

As this codebase is heavily based on mmcv, mmdet and mmcls, the support of windows mainly depends on these upstream libraries.

mmcv mmcls and mmdet offically support windows, so mmfewshot is also supported on windows?

MMFewShot is support Windows now.


Crash with partial matched url

Artificially created a situation causes a fatal crash.
When the url is "/a/b/C/info"
  $.ajax({
      type: "GET",
      url: "/a/b/C/info",
      dataType: "json",
      cache: false,
      success: function(data, textStatus, jqXHR ) {
        console.log(textStatus);
      }
  });

The program crashed with the following message.
ERROR You must specialize the fromRequest template for the type of std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > - HttpRequest.h:42
Assertion failed: !looping_ (/home/drogon/trantor/trantor/net/EventLoop.cc: ~EventLoop: 110)

Given controller
namespace a{
  namespace b{
    class C drogon::HttpController<C>
    {
      public:
      METHOD_LIST_BEGIN
      METHOD_ADD(C::foo,"/info?token={1}",Get);
      METHOD_ADD(C::oof,"/dInfo?token={1}",Get,"ClassFilter");
      METHOD_LIST_END

      void foo(const HttpRequestPtr &req,
              std::function<void (const HttpResponsePtr &)> &&callback,
              std::string token) const;

      void oof(const HttpRequestPtr &req,
              std::function<void (const HttpResponsePtr &)> &&callback,
              std::string token) const;
    };
  }
}

This is dangerous from attacker.

This is a serious error, and I already know where the problem is, I will fix it as soon as possible, thanks!

@ihmc3jn09hk Please check the #386

@an-tao Much thanks. Will pull the update when merged.

@ihmc3jn09hk  In this case, I set the missing named parameter to an empty string, Instead of determining such a request as mismatch (returning a 404 page)

@an-tao Just tested. Problem resolved


libretro.dolphin: 2020-03-06 -> 2021-11-01

Motivation for this change
Updates libretro.dolphin. Fixes libretro.dolphin building. (failing hydra job).
ZHF: #144627
Things done

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

[X] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[X] Tested basic functionality of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

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

[X] Fits CONTRIBUTING.md.

nixpkgs-review happy, nixos x86_64 & aarch64 (emulated)

Result of nixpkgs-review pr 145759 run on x86_64-linux 1

1 package built:

libretro.dolphin


Talk proposal: Why I stopped using CoffeeScript

Hi! I'd like to propose a talk titled Why I stopped using CoffeeScript.
As much of you know, I've been using CoffeeSscript for better part of four years, and now I've stooped using it in favour of pure, plain vanilla JavaScript, not even fancy-pants ES6. I'd like to share my experience with CoffeeScript, and the reasons why I'm no longer using it.
Talk would be in Croatian, timed for shorter time-slot - no examples and working demos needed.

Hello @elkarrde
This seams as an interesting and fun talk :)
I share your idea that ES6 in now taking over.
What is your proposed time length for the talk?
Can you post your slides here?

@lblazecki I should be able to fit in shorter time-slot - that's 20-ish minutes, or something like it, isn't it?
I have no definitive slides yet, just general ideas, so I'm flexible with timing.

@elkarrde that's great time length.
I have added you to https://github.com/jszgb/jszgb.github.io/blob/master/slides/upcoming.md
We could do this talk in September or in October.
Can you provide slides in next few weeks?

@lblazecki that's great, thanks!
Sure, I'll crunch down those slides asap, and let you know when I'm done - next week, probably.

@elkarrde Can you have this presentation this month? (21.9)

@dinodsaurus Sure, no problem.

@elkarrde Could you just give me your email so I can send you your free ticket for webcamp :)

@dinodsaurus Yippie! It's<EMAIL_ADDRESS>Also, the talk is up and running: http://bit.ly/2ddB7jj
Also, on Github: https://github.com/elkarrde/jszg-whyistoppedusingcoffeescript


Pip install only contains <0.1.1 beta versions

Hello,
I've been using the  0.1.0b2 of the API, however, as 0.1.1 brings more advanced support for artifacts/file_container I was wondering if it were possible to publish the updated version to pip so that I can easily install it via pip automation.
Thanks!

0.1.1 is now available.
https://pypi.org/project/vsts/
pip install vsts --upgrade


Creating a 2 column table

Hi,
I've just started with this module and I am having trouble finding all I want, don't know if it is due to the lack of documentation for the Get-Help command or me not being able to read it correctly :)
I've earlier used the Get-HTMLContentText -heading "my header" -detail "Detail Data" from the ReportHTML module and I am searching for a similar solution in your module but I am really not finding it, or just stupid...
I know this is not an issue at this point but I really would like to find a solution to this, either me re-building my code or an already existing function in your module.
Thanks in advance.

Can you show an output you expect? 2 column table means one table with 2 columns and i am not sure if thats what you want?

Hi, thanks for the quick reply. Using the ReportHTML module the code is:
$fileReport += Get-HTMLContentText -Heading "Supported Capabilites" -Detail "$($RootDSE.supportedCapabilities)"
$fileReport += Get-HTMLContentText -Heading "Supported Control" -Detail "$($RootDSE.supportedControl)"
$fileReport += Get-HTMLContentText -Heading "Supported LDAP Policies" -Detail "$($RootDSE.supportedLDAPPolicies)"
Output would look something like the following:

I can with above code set the "Heading" in the code and use the variable-data for the Details. I am thinking that I might need to make this a PSCustomObject instead for it to work in a New-HTMLTable with your module.

You can simply prepare your data:
$RootDSE = Get-ADRootDSE
$TranslatedRootDSE = [ordered] @{ }
foreach ($Key in $RootDSE.PSObject.Properties.Name) {
    $TranslatedRootDSE["$Key"] = $RootDSE.$Key -join ','
}

And then use (ad-hoc usage):
$TranslatedRootDSE | Out-HtmlView -DisableResponsiveTable

More structure, with more stuff in it.
New-HTML {
    New-HTMLSection -Invisible {
        New-HTMLSection -HeaderText 'Root DSE' {
            New-HTMLTable -DataTable $TranslatedRootDSE
        }
        New-HTMLSection -HeaderText 'Some other stuff' {
            New-HTMLTable -DataTable $TranslatedRootDSE
        }
    }
} -FilePath $PSScriptRoot\Test.html -ShowHTML

And if you're into AD you shoud look into:
https://github.com/EvotecIT/PSWinDocumentation
And especially:
https://github.com/EvotecIT/PSWinDocumentation.AD project
It has a lot of options already prepared and done: https://github.com/EvotecIT/PSWinDocumentation.AD/blob/master/Examples/Run-Manual-Dashimo.ps1

For documentation on PSWriteHTML you have to refer to this one: https://evotec.xyz/emailimo-merged-into-pswritehtml-ie-support-and-no-dependencies/ and go to the bottom - there are links that show usage of PSWriteHTML with examples. You can also look for examples on GitHub

Awesome! Thank you.
I've tested the PSWinDocumentation.AD but the environment I am running in is so large that the module doesn't work properly and running it as a regular user has many failures. But that is a different scenario/discussion.
I'll check the links in the bottom for further learning!
Keep up the good work!


Time Zone error

[24-Jul-2019 18:09:01 UTC] PHP Warning:  date(): It is not safe to rely on the system's timezone settings. You are required to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /resources/DirectoryLister.php on line 637
An error log file has been created and file size increasing after every visit.

Set the date.timezone setting in your php.ini file.
See: https://www.php.net/manual/en/datetime.configuration.php#ini.date.timezone


 This seems to be a Node configuration issue. Unless you can show how to reproduce this on a recent Node install, I propose that you close this issue

I saw this child_process error elsewhere: it was due to the dev using a module in a webpack build that imported child_process somewhere. Browsers cannot use node APIs, so be careful to not include it anywhere.

I had failed to build sqlite3 for thousand times no matter how, for the aws-sdk relys on child_process so every time you require('sqlite3') on client side it could not be resolved.
Luckily, I found an awesome module can work like a charm on both client or server side - sql.js created by the emscripten's author.
If you are still in troubles with integrating electron and sqlite, you should have a try :)

You could alias child_process to a module that fakes it all. I wonder how
you can use aws-sdk on the client side though, if it relies on
child_process.
On Sat, Feb 3, 2018, 10:25 AM Mars Wong<EMAIL_ADDRESS>wrote:

I had failed to build sqlite3 for thousand times no matter how, for the
aws-sdk relys on child_process so every time you require('sqlite3') on
client side it could not be resolved.
Luckily, I found an awesome module can work like a charm on both client or
server side - sql.js https://github.com/kripken/sql.js created by the
emscripten's author.
If you are still in troubles with integrating electron and sqlite, you
should have a try :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mapbox/node-sqlite3/issues/909#issuecomment-362793279,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AADWlnXqs9dajIb8PLigwtAXGBtD5WJIks5tRCYLgaJpZM4QfI5u
.

@axelkennedal I ended up not using create-react-app but instead electron-react-boilerplate which solves the problem by using another package.json file - somehow...

@barbalex I'm also getting same error message with Sequelize, irritating, i'm not using sqlLite3.

I'm getting this problem with fsevents on a Mac.  Cannot find a solution.

@mnmpeterson try deleting node_modules, package-lock.json and/or yarn.lock, and install again

For what its worth — I've run into the same problem. Deleting node_modules and lock files doesnt help, nor does adding node-pre-gyp globally. I think I too will use the other boilerplate

If you are using electron, I used the package "electron-rebuild" to fix this.
I ran the command "./node_modules/.bin/electron-rebuild  -f -w sqlite3"
It seems to break if I have multiple require('sqlite').

hi all, I am facing the same issue on Mac. Is anyone able to solve this problem?
I tried almost all solution available. Still no luck.

For what its worth — I've run into the same problem. Deleting node_modules and lock files doesnt help, nor does adding node-pre-gyp globally. I think I too will use the other boilerplate

Hey, we were able to fix this issue after using boilerplate code and SQLite? curious to know :)

This problem bothered me for three days, and now it's finally solved
Reference resources
https://github.com/mapbox/node-sqlite3/issues/1029#issuecomment-414116796
My solution:
  output: {
    path: config.build.assetsRoot,
    filename: '[name].js',
    publicPath: process.env.NODE_ENV === 'production'
      ? config.build.assetsPublicPath
      : config.dev.assetsPublicPath,
      libraryTarget: 'commonjs2'
  },
  externals: {
      sqlite3: 'sqlite3'
  }

important code
libraryTarget: 'commonjs2'
sqlite3: 'sqlite3'
If you solve this problem because of my solution, please share it with those who need help. And use this link。 :)

Not sure why this was closed. It's still very much a problem.

Thanks @Jclyoung

resolve: {
  alias: {
    [path.join(__dirname, 'node_modules/sqlite3/lib/sqlite3-binding.js')]: path.join(__dirname, 'path/to/local/sqlite3-binding.js')
  }
}

path/to/local/sqlite3-binding.js:

for webpack users trying to bundle sqlite3; there may be a better way to do this, but you can override new sqlite3-binding.js with resolve and point to a different file.
resolve: {
  alias: {
    [path.join(__dirname, 'node_modules/sqlite3/lib/sqlite3-binding.js')]: path.join(__dirname, 'path/to/local/sqlite3-binding.js')
  }
}

path/to/local/sqlite3-binding.js:
var binding = require('bindings')('node_sqlite3');
module.exports = exports = binding;

this approach requires the bindings package.

npm install bindings --save-dev

note: you will have copy the node_sqlite3.node file to specified directories

July 2021, still having that issue with webpack + sqlite3 on linux
I managed however to solve it by modifying my webpack config file as that comment suggests
https://github.com/mapbox/node-sqlite3/issues/1029#issuecomment-414116796

This was happening to me because I was pointing to the wrong dependency
in my case, it was bcrypt that was causing the issue
error received when using : const bcrypt = require('bcrypt')
error fixed when using : const bcrypt = require('bcryptjs')

@Jclyoung I would suggest editing your post above to remove this recommendation - you are recommending using bcryptjs, an unmaintained library with the last publish in 2017.


Add Alt(..) to P.Monoid for compatibility across 7.8/7.10

/cc @charleso @markhibberd

As per the recent discussion about (&) this seems like the right thing to do. :+1:


UGDG

Add in dragrams for activity sequence
Add in manual testing for FindBookCommand
Add implementations details

Codecov Report

Merging #214 (5d69f61) into master (319beeb) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #214   +/-   ##
=========================================
  Coverage     75.56%   75.56%
  Complexity      863      863
=========================================
  Files           110      110
  Lines          2447     2447
  Branches        310      310
=========================================
  Hits           1849     1849
  Misses          507      507
  Partials         91       91

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 319beeb...5d69f61. Read the comment docs.


Restrictive licensing

Nobody can actually use this in non-GPL-compatible codebases, and it makes no sense for a library to be GPL'd.

From the README:

Should your organization be interested in supporting it, contact<EMAIL_ADDRESS>
This, along with the chosen license, suggests that the author may want to be remunerated for commercial uses of the library. This seems reasonable; do YOU work for free?

@ldionne Yes, I don't expect to be paid for every single thing I write, that would be unreasonable. Indeed the majority of libraries like this are actually free to use in most projects.
@arximboldi Thank you, that answers it. Hopefully you'll get picked up by someone willing to sponsor it.

FYI, the license has been changed to LGPLv3+


after clicking enter it's just switching the theme

What happened?
while using dartpad latest version whenever I'm pressing enter button it's just changing the theme and not really taking it as return key in editor
Additional info
Browser
Browser: brave
Version: 1.63.165
Machine
Operating system: macOS
Version: 14.2.1

To add a little bit of info here, I run into this a lot because I hit [Tab] to indent code. It seems the tab keypress isn't being captured by the input field, which causes the browser to cycle through focusing on the elements around the page. Then, because the input field is no longer focused, hitting [Enter], [Space], etc. causes unexpected and jarring behavior.
Workaround: Rapidly smash your spacebar and be grateful for VSCode 😆
(And if you do hit [Tab] accidentally, copy your code, reload, and paste -- the site doesn't save your code automatically at the moment, see #2871)

And funny enough, I have nearly identical specs -- hello fellow Brave user!

Thanks for the issue and all of the details! Sorry about the degraded experience here.
I'm going to close this issue as a duplicate of https://github.com/dart-lang/dart-pad/issues/2852 to consolidate discussion there.


Earmark dependency

It seems that with v1.0.4, earmark is introduced as a hard requirement.
Just checking, is it a hard requirement, or it's supposed to be required only under :docs, similar to ex_doc ?

Great catch, fixed and released 1.0.5!

Thanks for the fast response! :D


Image missing in notebook for NumPy

In notebooks/01_Foundations/03_NumPy.ipynb, the images in the notebook are missing.

Thanks @ynshung , it's fixed now.


Should the sklearn-maintainer-model notebook be in the catalog?

https://github.com/machine-learning-exchange/katalog/blob/main/notebook-samples/src/notebook-yaml-samples/maintainer.yaml
@Tomcli

oh this sample was created before MLX was rebranded. I can move the file to the katalog repo


Test against Java 17

17 is the newest LTS.

Codecov Report

Merging #247 (38461d4) into main (8899035) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##               main     #247   +/-   ##
=========================================
  Coverage     94.21%   94.21%
  Complexity      220      220
=========================================
  Files           124      124
  Lines          3593     3593
  Branches        542      542
=========================================
  Hits           3385     3385
  Misses          104      104
  Partials        104      104


Sort stakeholders in ascending alphabetical order

@swift-server/steering-team  Should we add a note on the README for the new PRs to come in alphabetical order?


update dependency.

StackExchange.Redis have merged a feature to support Alibaba pseudo cluster configurations, as you can see in https://github.com/StackExchange/StackExchange.Redis/commit/39eac0123d9aca1ae2e3f905b15b8b0e6ec0aaa7

 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.


impossible to connect to obs and the plugin constantly asks to update (I use the beta version)

Describe the bug
impossible to connect to obs and the plugin constantly asks to update
To Reproduce
Steps to reproduce the behavior:

Download and install beta version
download and install websocket for OBS
Configure the plugin
See error

Screenshots
OBS-Websocket error:

Update loop

Additional context
here is the error message => 10:21:47 PM [OBS-WebSocket Plugin] [Error] >> Error occurred while connecting to OBS instance. Error message: Invalid URI: The format of the URI could not be determined.
and for updating the plugin even though I install it for him there is always one
Log file
Logs

Wrong repository.
Go to the OBS Plugin issue tracker and post your issue there.


Update googleplay.md

Menu has changed:

@zanechua : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off


[Bug] Worker fails with TransportError when trying trying to complete WFT for terminated WF

I've had to work around it in the Node SDK test suite.
Core should probably ignore this error and evict the WF from the cache.
I've managed to reproduce this by running the test in a loop:
for x in `seq 1 50`; do RUN_INTEGRATION_TESTS=1 npx ava packages/test/lib/test-interceptors.js; done

[TransportError: Unhandled error when calling the temporal server: Status { code: NotFound, message: "workflow execution already completed", details: b"\x08\x05\x12$workflow execution already<EMAIL_ADDRESS>metadata: MetadataMap { headers: {"content-type": "application/grpc"} } }]


VmLogsService is not used for DataHub/Datalake therefore it won't col…

…lect the right logs during diagnostics collection

Can you please include the jira id and extend the commit message with some description about this change?


TODO: Check that the worksheet name is valid in Set-ExcelColumn

Done. I can send you a PR for the change, or wait until there is more to include

Great. If you want, start one and then add to it. Whatever is easiest.


agent: set sandbox id log field in CreateSandbox

This effectively reverts 04457e38("logging: Add sandbox field").
CreateSandbox() is the point we know which sandbox id will use
this guest. If we rely on the kernel command line for it, we have
to put sandbox id in qemu args and it breaks vm factory.
Fixes: #308
cc @jodh-intel

lgtm!

@chavafg @GabyCT Swarm CI is not happy, any idea here ?

@sboeuf , the problem is not Swarm, the test is detecting that some processes are running before running Swarm
Found unexpected /usr/libexec/kata-containers/kata-proxy present

@GabyCT I see, but this checkprocess() function is called during the teardown, right ?
So I would assume something got wrong during the swarm test that makes the shim still being around ?

@sboeuf , using the following configuration
kata-runtime : 1.1.0
commit : cfbc974
OCI specs: 1.0.1
kata-proxy version 1.1.0-c416c9fc2ff8389c201075f0f26bfabd08a3b140
kata-shim version 1.1.0-6ddca0334d0e8dee6e1e00f0c120fde4b8c1c176
kata-agent version 1.1.0-c6ac153f0c4c03b475d2b65bb73427cd33459bf7

I ran swarm tests in a loop for 15 times and there were not issues. However, if I run first the kubernetes tests and then swarm, I am obtaining the failure that some processes were left behind.

As agreed we do not trust codecov/patch. So merge this since all other checks have passed. I'll see how to disable codecov/patch globally (e.g., via codecov team yaml).


Use pyBIDS to index fmriprep output

Currently I have a lazy function to grab fmriprep data.
It would be the best to replace it with pybids so the pipeline can be reproduced on any fmriprep output.

For some examples check that: https://github.com/ccna-biomarkers/ccna_qc/blob/314f73b03904d377df984678dc9586f4e9ee6606/src/features/build_features.py#L167-L179
But keep in mind that pybids caching takes a while... But should be ok for the size of your dataset.


⚠ Bofrost.lu has degraded performance

In 2dcaf51, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 911 ms

Resolved: Bofrost.lu performance has improved in d617183 after 10 minutes.


Choppy client

Type
Performance
Operating System
Windows
OS Version
windows 11
Bug description
Whenever I rotate the camera or character is moving, the client becomes choppy/stutters
Screenshots or videos
No response
RuneLite version
<IP_ADDRESS>
Logs
No response

Github issues is not a support forum. Please continue your conversation in #support. We require the video in safe mode for further troubleshooting.


Added some failing tests for scenarios that should be supported

The tests that fail are skipped.
Notice you might disagree with me on whether these cases should be supported or not. This code just reflect my expectations on how to satisfy should work on components. But that is of cause up for discussion.

As far as my investigation goes, it seems like components in attributes are actually accepted. But I think this is the line that courses the components in attributes to use to equal semantics: https://github.com/bruderstein/unexpected-htmllike/blob/master/src/diff.js#L285 It would be great if we somehow just use the element diff recursively, but I don't know the code well enough to figure out if that is possible.


feat(overlay): add a utility for disabling body scroll

Adds a DisableBodyScroll injectable that can toggle whether the body is scrollable.
Fixes #1662.

@jelbourn I have a couple of doubts about this:

I had to do a workaround with max-height for the default case where the body has a margin. The workaround can be avoided if we clear the body margin. Should I do that in the core styles?
I wasn't sure whether this was the "Angular 2" way of doing the DOM manipulation (e.g. whether it wouldn't conflict with other renderers).

So this will only work on body. How about making it into directive instead and making it work on any element user adds it to? Shouldn't be too hard, just a couple of changes, maybe a little different method for disabling the scroll as well.

This may not be an issue for elements, at least the ones that use an overlay. Otherwise it should be simpler since we can block the wheel and keyboard events.

The idea sounds good for me.
This PR waiting month only for review?

@jelbourn can you take a look at https://github.com/angular/material2/pull/1971/files#diff-9e063ef46d4c614a351630e38fff09b9R66 specifically? I'm not too sure how to do the DI in the constructor with the new pattern for the forRoot providers.

@crisbeto Ah, you ran exactly into the same issue I did 😄 You need to do it similar as in https://github.com/angular/material2/pull/2538/commits/a275906aad86649a880008be88b56597b48d9d37#diff-a648493d9ddb16f3470a4d9d93419cffR74

I think this would conflict with other renderers. You should wrap it, but I'm not really sure how it would really help in other renderers, unless they implemented document's and window's methods.
Is there any other issue blocking this?

We don't really need to wrap it, it just won't do anything if the document or window aren't there. There shouldn't be anything else blocking this.

Any update on this and when it will be merged?
Also this should work on all things that use overlays right?
Mainly concerned with dialog right now as it is I am getting the body scrolling happening in the background even though I only want the dialog to be scrollable.

@alexw10 this is just a utility, different components will use different approaches (if I remember correctly, three were mentioned, blocking, repositioning.. and dunno), but yes, dialog will most likely utilise this. If it ever gets merged. I have serious concerns if something didn't happen to @jelbourn. I hope it's just well deserved holiday.

@kara Can you confirm that @jelbourn is fine and "just" on holiday?

@dahaupt Haha yes, I can confirm that nothing bad has happened to Jeremy.

@kara Okay fine :) I can sleep better now 😄

Just as a note as well I did run this recently and it didn't seem to work when utilized with dialog at least. I might have been doing something wrong though so just something to check on that is if it is intended to work with dialog :)

This PR only sets up the infrastructure that allows for scrolling to be disabled, it doesn't integrate it with any of the components.

How's the review coming?

I've been holding off on this one since I'm generally suspicious of the "disable body scroll" concept; I'd like to stick to the philosophy of only modifying the elements that material "owns". However, there could be value in having this as an option for overlays (vs. re-positioning w/ ScrollDispatcher) that users explicitly opt into, so I still want to take a look

Repositioning sucks though. You won't ever manage to make it smooth, especially on phones, tablets and older pcs. I wish it wasn't implemented on tooltip at all https://github.com/angular/material2/issues/3413 it lags even my new MBP / chrome.

Closing in favor of #4500.


feat(cli): add config_parser in obj to reduce reading from config file

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
5292

Relevant Lines:
6382

💛  - Coveralls


Search at first text position

It seems there is a bug when the backward search is at a BWT position that represents the first text character. In that case we still assume that we can move to the previous character in the text, which however does not exist.

If I remember correctly, from the r-index repository, the text is considered to be cyclic.


Explain the Tab/Browser split better

Before there was a paragraph with vague instructions on how to split things. Instead I suggest renaming Browser to Tab and then writing a new Browser class. I've tested that executing these instructions by hand works.

This confused a lot of students.


filebeat: Add version 7.9.1

Hello @wenmin92
May I ask why you closed this?

Hello @wenmin92
May I ask why you closed this?

Sorry for the late reply. For some unknown reason, install filebeat this way, it doesn't work.


Load data from Broadband Platform

SCEC broadband platform uses the following formats for input:

SRC
STL

and output is a velocity time series.

BBP

Read more here:
https://github.com/SCECcode/bbp/blob/master/doc/File-Format-Guide.md
We need to add features to read BBP results into the software.

Some highlights from Fabio Silva:

BBP takes a station list and one (or multiple) SRC files. You can have multiple SRC files when running a multi-segment rupture, where each rupture segment will have its own SRC file.

BBP will output velocity and acceleration time series for each of the stations. It will also create psa files, calculated for 63 periods for each station in the station list. These are the main output files. For some methods, the BBP will output a slip distribution representing the rupture.


Refactored package export

#13  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @CatChen and the rest of your teammates on  Graphite


Ability to set the height of UIDropDownMenu options list buttons

Is your feature request related to a problem? Please describe.
I'd like to be able to control the height of the buttons of a UIDropDownMenu options list. Currently it's hard coded as 20.
Describe the solution you'd like
I'd like to be able to set the height of the option buttons in a UIDropDownMenu.
It could be done by simply adding expanded_list_item_height to the init() method, but perhaps it would be better to make it settable by themes? After all that's where the font sizes are set.
It seems I created a lot of issues recently. Sorry for that.

It seems I was too hasty. Just minutes after I posted it I saw that there already is a parameter list_item_height which can be set via theming of the dropdown menu this way:
drop_down_menu.#drop_down_options_list:{
    misc:{
        list_item_height: "50"
    }
}```

I'm sorry for the needless issue.


feat(balancer) set the event module in the hc

this is wip. if everything goes well, we need to release lua-resty-healthcheck with support to setting the event module.

I think the code is OK, but we should solve build dependency.

Closing because of lack of activity. We would like to accept this contribution if anyone wishes to pick this back up.


Spectrum tokens 17 card

Description
Fixed #811

Text line-height change caused by typography - expected
More icon size change - fixed
Card title font-color and font-weight change to match the DL

How and where has this been tested?

How this was tested:
Browser(s) and OS(s) this was tested with:

Screenshots

Line-height change caused by the text in footer and card title font color/weight change.

DL:

To-do list

[ ] If my change impacts other components, I have tested to make sure they don't break.
[ ] If my change impacts documentation, I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.

[x] This pull request is ready to merge.

I chatted with @NateBaldwinDesign why to find out why we don't have more typography tokens for spectrum-Card-title and spectrum-Card-subtitle and it is so the products can have more control over which size title and subtitle to use with the spectrum-Heading and spectrum-Detail components.


Focus zone calls error in vitest + jsdom

related - https://github.com/primer/react/issues/2454
Description
This issue may better exist on primer/behaviors (or even upstreamed to jsdom if we can repro simply enough)
Initially reported in slack by @itsbagpack
https://github.slack.com/archives/C01L618AEP9/p1666186967969609
:wave::skin-tone-2: hi friends, i’m running into some testing issues around using the Autocomplete component and i was wondering what we were missing
for context, here’s the PR we’re working with: https://github.com/github/delorean/pull/127
TypeError: Failed to execute 'addEventListener' on 'EventTarget': parameter 3 dictionary has member 'signal' that is not of type 'AbortSignal'.
❯ exports.convert node_modules/jsdom/lib/jsdom/living/generated/AddEventListenerOptions.js:53:11
❯ HTMLDivElement.addEventListener node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:139:46
❯ Module.focusZone node_modules/@primer/behaviors/dist/esm/focus-zone.js:248:15
   246|     });
   247|     let elementIndexFocusedByClick = undefined;
   248|     container.addEventListener('mousedown', event => {
      |               ^
   249|         if (event.target instanceof HTMLElement && event.target !== document.activeElement) {
   250|             elementIndexFocusedByClick = focusableElements.indexOf(event.target);
❯ node_modules/@primer/react/lib-esm/hooks/useFocusZone.js:21:34

It appears that jsdom is throwing when trying to add an event listener, and appears that's due to the primer/behaviors focusZone attempting to pass a signal, which appears to conflict with the accepted signal jsdom expects.
Primer/react uses JSDOM (with jsdom) to test this component, which is confusing to me, given there's no indication that it currently has issues here
This leads me to think either
a version of JSDOM begins breaking
vite and jest somehow differ in the globals they send to jsdom in this scenario
I suggested a workaround, temporarily, mocking focusZone entirely -
vi.mock("@primer/behaviors", async () => {
 const behaviors = await vi.importActual<typeof import("@primer/behaviors")>(
   "@primer/behaviors",
 )

 return {
   ...behaviors,
   focusZone: vi.fn(),
 }
})

but this changes behavior of the autocomplete, and is not ideal
Steps to reproduce
start a project with vite/vitest
render an AutoComplete in a test using the jsdom environment
see jsdom throw
Version
All related versions of multiple packages
It's unclear to me whether this problem already exists and is becoming clear due to versioning  of react and testing-libary, is due to something with how vite interops globals compared to jest, or if this is jest/jsdom.
"dependencies": {
    "@primer/octicons-react": "^17.7.0",
    "@primer/react": "^35.11.0-rc.65a8bb8a",
    "react": "^18.2.0",
    "react-dom": "^18.2.0",
    "styled-components": "^5.3.5"
  },
  "devDependencies": {
    "@testing-library/jest-dom": "^5.16.5",
    "@testing-library/react": "^13.4.0",
    "@testing-library/user-event": "^14.4.3",
    "@types/react": "^18.0.17",
    "@types/react-dom": "^18.0.6",
    "@vitejs/plugin-react": "^2.0.1",
    "typescript": "^4.6.4",
    "vite": "^3.0.7",
    "vitest": "^0.23.4"
  }

Browser
No response

I did attempt to check whether we're polyfilling AbortSignal in this failure scenario and it appears we are not.
primer-react is not passing a signal, so the internally created controller is


Hello，can you please tell me where is this config.py to modify the weight? Thank u

Training (IMPORTANT)
Prepare Faster-RCNN Detector
You can download the pretrained DETR on ResNet-101 we used in the paper:
[VG]
[OIv6]

Then,** you need to modify the pre-trained weight parameter MODEL.WEIGHTS in config.py playground/experiment/path/config_xx.py to the path of corresponding pre-trained detector weight to make sure you load the detection weight parameter correctly.

Bes**ides, you can also train your own detector weight by the provide configs in [Model

here for openimage V6
https://github.com/Scarecrow0/SGTR/blob/main/playground/sgg/detr.res101.c5.one_stage_rel_tfmer/config_oiv6.py#L43
here for visual genome
https://github.com/Scarecrow0/SGTR/blob/main/playground/sgg/detr.res101.c5.one_stage_rel_tfmer/config_vg_sgtr.py#L45

thank u very much, and I have another quensiton.
I have downloaded your trained model. But when I run this command " pods_test --num-gpus 2 DATASET.TEST "(vg_test,)" to evaluate, something was wrong as follows:
(sgtr) ubuntu@ubuntu-Super-Server:~/wh_code/SGTR/playground/sgg/detr.res101.c5.one_stage_rel_tfmer$ pods_test --num-gpus 2 DATASET.TEST "(vg_test,)"
Traceback (most recent call last):
File "/home/ubuntu/wh_code/SGTR/tools/test_net.py", line 38, in
from config import config  # noqa: E402
ImportError: cannot import name 'config' from 'config' (/home/ubuntu/.conda/envs/sgtr/lib/python3.9/site-packages/config/init.py)
Can you help me ?

Hello, thank you very much!
But I only have two gpu, how can I set up the code to perform the code with two GPUs?
please, thank you very much

Hello，I wang to use the following scripts for directly produce the results from the checkpoint provide by you, and I follow your code with the "readme".
"pods_test --num-gpus 1 DATASETS.TEST "(vg_test,)" "
But something is wrong that
assert dataset_type in PATH_ROUTES, "{} not found in PATH_ROUTES".format(dataset_type)
AssertionError: ( not found in PATH_ROUTES
Can you tell me how to sovle this problem, please

Hi,
It seems that your bash script is incorrect.
Maybe try this script I use.

Oh, thank u very much!
And I have place the dataset in the right file, but it is wrong that

Can you tell me how to sovle this problem, please

Hello, I have run your evaluation code for test, but where can I find the scene graph generation results, suah as text or csv file?
It seems that there may be no SGG output results?
thank u very much!

Hello, I have run your evaluation code for test, but where can I find the scene graph generation results, suah as text or csv file? It seems that there may be no SGG output results? thank u very much!

what kind of results? evalutaion? prediction?
The evaluation results are writed in log, the prediction won't be saved.

thank u very much, I want to get the prediction results, i.e., the output triplets from the images, actually.
Can you tell me how can I modify the codes of the .py file to produce the output?
Sincerely, thank u!

Hello, I have run your evaluation code for test, but where can I find the scene graph generation results, suah as text or csv file? It seems that there may be no SGG output results? thank u very much!

what kind of results? evalutaion? prediction? The evaluation results are writed in log, the prediction won't be saved.

Hi, Thanks for your nice work.
I want to konw where is the log file after testing? I can find the log file of training in /outputs/playground/, but the test log file isn't there?

Hello, I have run your evaluation code for test, but where can I find the scene graph generation results, suah as text or csv file? It seems that there may be no SGG output results? thank u very much!

what kind of results? evalutaion? prediction? The evaluation results are writed in log, the prediction won't be saved.

Hi, Thanks for your nice work. I want to konw where is the log file after testing? I can find the log file of training in /outputs/playground/, but the test log file isn't there?

The test log is in parent directory of TEST_WEIGHTS, which dir name is "eval_xxx".

Hi, Thanks for your nice work. I want to konw where is the log file after testing? I can find the log file of training in /outputs/playground/, but the test log file isn't there?

The test log is in parent directory of MODEL.TEST_WEIGHTS, which dir name is "eval_xxx".

Thanks for your quick response. I find that the save path of test log file is cotrolled by the "OUTPUT_DIR" in config.json of trained model. I forget to change it after downloading from your provided website. Anyway, I got the test log when I changed the "OUTPUT_DIR",  Thanks!
After evaluation on vg_test, I got follow results of mR:
SGG eval:  mR @ 20: 0.0747;  mR @ 50: 0.1245;  mR @ 100: 0.1634;  for mode=sgdet, type=Mean Recall.
It is similar with the evaluation results in your provided trained model files (sgtr_vg_new_pth/eval.2022-06-21_17-22/log.txt)
SGG eval:  mR @ 20: 0.0731;  mR @ 50: 0.1231;  mR @ 100: 0.1648;  for mode=sgdet, type=Mean Recall.
However, these results is a little higher than the results reported in your paper (Table. 5 in paper)
Ours mR @ 50/100 :   12.0 / 15.2
And I notice you also present many other results in Supplementary Material (e.g., Section 1.3, 1.5), so I have two question:

Which experimental setting (in paper or supplementary materials) of this code (or provided trained model) corresponds to?
What should I do if I want to get the best mR (reported in Supplementary Material, Section 1.3 Table, 3rd method Ours-P 18.9 / 22.0)?

I will be grateful if you can provide any information about these questions!


Revert unintentional rounding change when 2D transform snapping

Fixes https://github.com/godotengine/godot/pull/93025#issuecomment-2412482673.

Thanks!


Add a word on the gsw / xarray doc

[x] Whenever a working version will be ready, one should add a sentence in the official gsw doc so users know that they can use the gsw_xarray wrapper for xarray.
[x] We can also add it on the xarray doc, ecosystem.

Awesome, I was wondering how the xarray/pangeo folks found this already.


SceneContentAdjuster does not compile in Unity 5.6

Overview
When opening the project in Unity Editor 5.6, the Scene ContentAdjuster class raises errors about XRDevice and unreachable code.
Unity Editor
5.6
2017.1
MRTK version
dd2eb2e36a34cc7fa3a16f59f570ca51ab977694

Looks like GitHub didn't automatically close these issues when merged into master. I'll close these manually and look into why.


Update top-level readme on Font Validator info

You are not using upstream, by the way - the freetype bridge code is new to my fork.
And the rest of tests requires freetype 2.6.1 minimum.  It is called the ComputeMetrics patch and mentioned in freetype 2.6.1's release notes. Some long-term destros are probably still shipping 2.5.x.

Where's the source code to "your fork" ?

The freetype bridge code is in the Compat directory.
https://github.com/HinTak/Font-Validator
It is called "Compat" because, well, it is a compatibility module to replace functionality that microsoft did not release.
You still cannot read code.


implicit normalization behavior in weightedSum

I would like to have a weighted sum without any normalization, but that doesn't seem to be possible.
As can be seen here, normalization is still applied to the weighted sum range at the end:
https://github.com/ParasolJS/parasol-es/blob/31fcdaeb2358873d473f5aa8a08eb94bc232f8d8/src/api/weightedSum.js#L48-L55
Whereas the norm parameter only controls normalization of the input data normalization.
In my opinion the default behavior should be to normalize neither, because it isn't something that I as a user would expect when I call a "weightedSum" operation. At the very least there should be an option to disable both forms of normalization
Edit: Just noticed there's the additional "score" property that isn't normalized. I guess that does what I want, but still think this behavior is strange

Thanks for your request! It's been awhile since I've worked on this project and I don't have much time to maintain it at this point. However, if you'd like to submit a quick pull request, I'd be happy to review it and get something merged.
Hopefully the "score"  property has been working for you in the meantime!


virtualenv not installed (Arch)

virtualenv is not installed as part of setup.sh

eh, guess it's dead again anyway :p

Do you mean when launching run.sh it tell "virtualenv does not exist" ?

yes

setup.sh also has some errors like easy_install not being a valid command
also it should be virtualenv2 on arch anyway, it defaults to python3