Makefile cleanup continues...

Remove remaining unnecessary dependencies from Makefile.in's distclean target
Make sure zconf.h exists and is up-to-date in win32/Makefile.msc

This looks fine to me really, but since you and Daxtens are both doing work in the same areas, I would love it if you both either comment on potential problems or leave a +1 comment if it seems fine. That way I know it has at least been seen by someone else than me and the committer.
Feel free to comment on any unrelated pull requests too, even if it is just to let me know that you do not see anything obviously wrong with it.
If I don't see any replies within a fair amount of time, I will go with my gut feeling and hope for the best.
I have seen so many pull requests in other projects just wasting away for months/years with little to no comments, so I'd like to avoid such a situation and rather keep an open dialogue not only with the contributors but between them. This is a community project after all, so lets try to get into a good habit that future contributors can follow. :)
I realize this is getting very much off topic, but; Great work guys! You are solving real problems with the build system and cleaning it up good. I am currently swamped with work, so I cannot dedicate much time to zlib-ng at the moment but I try to stay on top of contributions. I am doing research, profiling and other tests on some bigger changes to the code when I can, unfortunately several good looking possibilities have came up as net-losses.

It's a lot about overlapping work... That's partly because I have also other projects I'm working on and Daxtens has his own cleanup with the test system that depends on what I'm working on... I try to comment on Daxtens commits, but sometimes it might take day or three. There is still open task for who is going to keep the Borland and Cygwin makefiles (win32/Makefile.bor and win32/Makefile.gcc) in sync as Borland C compiler is really old and Cygwin is a alternative platform which possibly we should drop supporting too...
I don't want to sound rude or ungrateful when it comes to people who do great work on this project, but sometimes it takes more than one, two or three developers to get things done cleanly without breaking support for any platform that we really should keep supporting.

Dropping Borland is fine with me, but I'd rather like to keep cygwin support.

As long as it's not me who has to keep the Cygwin makefile in sync with the others... I really don't think blindly changing it without possibility to actually check that it works is what we want to do...

I'll try and keep an eye on things and +1 them as necessary.
I think cygwin should work exactly like standard *nix... but I haven't used it in a loooong time. I might see if I can get a company Windows image and test on that.

By the way, if you use an at sign before my username, I'll get a notification --- like @daxtens, @Dead2 or @mtl1979.

@daxtens Ah, so that's how its done, thanks. I was actually looking for that :)

Only **** thing with Cygwin is that one always needs to run dos2unix and unix2dos on any accessed file, because git assumes all Windows installations can handle gracefully both LF and CR+LF, but Cygwin chokes on CR+LF. MinGW's Git also assumes all text files are converted to CR+LF before committing.


optical Filter for L515

Required Info

Camera Model
L515

Firmware Version
<IP_ADDRESS>

Operating System & Version
MacOS

Kernel Version (Linux Only)
None

Platform
PC

SDK Version
{ legacy / 2.. }

Language
{C }

Segment
others }

Issue Description
There are some discussions on optical filters applied to the D400 series. L515 is affected by the ambient light as well, but there are no instructions on how to select the optical filters for L515.  Can optical filters make L515 more feasible outdoor?  Does anyone have the experience to select an appropriate optical filter? Thanks.

Hi @sunwell1994  The L515 does not have documentation for use of optical filters and it is also not suited for outdoor use as it operates best in a controlled lighting environment with minimal sunlight.  This is because it is sensitive to infrared light sources.
On a 400 Series camera, the negative impact of glare from reflections can be greatly reduced by applying a thin-film linear polarization filter over the camera lenses.  I am not aware of this filter type being tested with L515 lidar depth cameras.  For the 400 Series at least, any polarizer that is linear will be sufficient though so long as it is not a circular polarizer like those used in 3D glasses.
Basic polarizer film sheets are affordable enough that you could test it with L515 without losing much if the experiment does not work out.  You can search stores such as Amazon for the term linear polarizing filter sheet to research example filter products.
Alternatively, you could try setting the L515 Short Range camera preset.  This will reduce the values of the Laser Power and Receiver Gain options.  Decreasing laser power can help to avoid over-saturating the receiver, whilst decreasing Receiver Gain can lower noise from ambient light at the expense of maximum range being reduced.

linear polarization filter

Thanks for your great reply. I have tried Short Range camera preset. It will decrease the max range a lot(50cm in my setup. )
It is a good idea to try the linear polarization filter. Do you have any suggestions for the passband of  the filter?

Section 4.4 When to use polarizers and waveplates of Intel's optical filter white-paper guide discusses linear polarization filters.
https://dev.intelrealsense.com/docs/optical-filters-for-intel-realsense-depth-cameras-d400#section-4-the-use-of-optical-filters
Section 3.  Types of optical filters may provide information about your passband question, as sub-section 3.  Polarizing filter provides graphical charts of wavelengths for several different types of polarizer (Lingpass, Shortpass, Bandpass and Notch).
https://dev.intelrealsense.com/docs/optical-filters-for-intel-realsense-depth-cameras-d400#section-3-types-of-optical-filters

Section 4.4 When to use polarizers and waveplates of Intel's optical filter white-paper guide discusses linear polarization filters.
https://dev.intelrealsense.com/docs/optical-filters-for-intel-realsense-depth-cameras-d400#section-4-the-use-of-optical-filters
Section 3. Types of optical filters may provide information about your passband question, as sub-section 3. Polarizing filter provides graphical charts of wavelengths for several different types of polarizer (Longpass, Shortpass, Bandpass and Notch).
https://dev.intelrealsense.com/docs/optical-filters-for-intel-realsense-depth-cameras-d400#section-3-types-of-optical-filters

Helpful! I will take a try.


KEY-148: Fields API content updates

Replaces the field type signatures in code to just link out to docsmill
Fields copy tweaks
Renamed Multi-Select page -> multiselect (without the hyphen for consistency with field api naming)

Note, these things from the ticket will be added in another PR:

Add the slugField option to fields that support it, and mention it in the slug field itself
Render each field on the field page for a live example. Since the site doesn't have a dark mode see if we can force light-mode


New C++ driver

I've been working on this lately. I finally got it to pass all the polyglot tests. It might be worth including on the drivers page, it is much more up-to-date than the one that is currently listed.
https://github.com/AtnNn/librethinkdbxx

The driver looks really awesome @AtnNn. We should definitely include it!
@chipotle

I added this to the new, slightly reorganized 2.0 site, so it should pop up when the new site goes online.


save deliberation recording metadata

To make it possible to combine videos from a single participant into a single video (ie, if there are disconnects and reconnects) we need to save the daily participant ids together somewhere that the scripts accessing the videos can use them.
What we should probably do is create a json file;
{
  "participants": [
    {
      "deliberationId": "sdnfjfsdgij",
      "dailyIds": ["hjksdfnjskfd", "nsjwenrviounkms"],
      "consent": ["thisconsent", "thatconsent"]
    },
    {
      "deliberationId": "jnksdfnjdsf",
      "dailyIds": ["njaskdioerc", "sanjdkdsavn"],
      "consent": ["thisconsent", "thatconsent"]
    }
  ]
}

We can build this file when the game finishes (even before participants complete exit steps) and save it to the appropriate folder on the S3 bucket.

Which deliberationID are we using for this - If I recall correctly from the summer, participants have their MTurk ID, and get assigned to more than one participant ID which is referred to differently at different stages of the experiment.  It might make sense to link it to their MTurk ID but that might raise privacy conserns

We are assigning participants a unique deliberationId that is different from their MTurk ID (to preserve privacy) but is a 1-1 mapping (also mapping to prolific id's 1-1, eventually). I'm storing all the data for a participant with reference to that deliberationId, and then storing the keys with the payment data. That way we can release everything else without it including turk IDs.

In the end, decided to pull this directly from science data files


New package: RickMeyers.e-Sword version 14.01.0000

Checklist for Pull Requests

[x] Have you signed the Contributor License Agreement?
[ ] Is there a linked Issue?

Manifests

[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.6 schema?

Note: <path> is the directory's name containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

@wingetbot run

Verify:

The installer writes extra zeroes to the Registry, but the package manager should ignore these, and hopefully users will too.


Ignore python files when looking for packages

Python extension already has code to look for packages in .py files for telemetry, hence we don't need to do the same thing.
We only need to check the notebook files (IW or ipynb).

Codecov Report

Merging #11442 (ef827d2) into main (1d727e8) will increase coverage by 0%.
The diff coverage is 100%.

@@          Coverage Diff           @@
##            main   #11442   +/-   ##
======================================
  Coverage     63%      63%
======================================
  Files        477      477
  Lines      34162    34144   -18
  Branches    5546     5542    -4
======================================
- Hits       21597    21594    -3
+ Misses     10506    10490   -16
- Partials    2059     2060    +1

Impacted Files
Coverage Δ

src/standalone/import-export/importTracker.ts
84% <100%> (-4%)
:arrow_down:

src/platform/common/application/documentManager.ts
71% <0%> (-12%)
:arrow_down:

src/notebooks/debugger/debugger.ts
66% <0%> (-12%)
:arrow_down:

src/notebooks/debugger/debuggingManagerBase.ts
69% <0%> (-7%)
:arrow_down:

src/notebooks/debugger/kernelDebugAdapterBase.ts
76% <0%> (-2%)
:arrow_down:

...c/kernels/execution/cellExecutionMessageHandler.ts
77% <0%> (+<1%)
:arrow_up:

.../notebooks/controllers/vscodeNotebookController.ts
82% <0%> (+<1%)
:arrow_up:

src/kernels/execution/cellExecution.ts
73% <0%> (+<1%)
:arrow_up:

src/notebooks/controllers/kernelRanking/helpers.ts
58% <0%> (+<1%)
:arrow_up:

... and 6 more


Fix functionapp creation does not accept Standard_RAGRS storage account type

Related Issue:
Fix https://github.com/Azure/azure-cli/issues/9840
Solution:
Accept Standard_RAGRS in storage account type validation.
CR request:
@ankitkumarr
This checklist is used to make sure that common guidelines for a pull request are followed.

[X] The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).

[X] I adhere to the Command Guidelines.

/AzurePipelines run

Still having this issue. Is there a workaround/command I can run so I can deploy via Azure DevOps agents?

Still having this issue. Is there a workaround/command I can run so I can deploy via Azure DevOps agents?

@BevanG Thanks for reporting this issue. This is a pull request thread, in the future please create a thread in issues instead. Have you updated to the latest Azure CLI (2.0.71)? And what is your storage account type, you can check this with az storage account show --name <Your Storage Account Name>

@Hazhzeng , apologies. I've updated my initial ticket with a workaround
https://github.com/Azure/azure-cli/issues/9840


Error processing best move message

I opened Chess Forge, selected 3rd chapter and while scrolling through the moves got the error below:

I close the program and reopened it back to replicate the error but noticed that in Notes section I can only see 3rd Evaluation Line and no other (i was in 3rd chapter, not sure if it is a coincidence or not :-)

I also got that error again and the screenshot above is from that error replicated

Fixed.


Loggin first

Hi!
Every time I try to connect, it says, "Loggin first." But BW CLI works perfectly.
C:\bitwarden-autotype\bw.exe -v
1.9.1

Hey!
Thank you for reporting, turns out it was a bug (and a typo). The current release (20.04.07) fixes both.
Stay safe


Les Revenants

@moonglum and @bascht did some stuff (#616 and on the master branch). They comitted sins. And some stuff was forgotten. Those tasks returned to be done:

[x] Setup Postgres Backup
[ ] Make the recurring tasks work
[ ] Regularly copy the production database and assets to staging
[ ] config/initializers/recaptcha.rb Token has to be an environment variable
[ ] Do correctly: Service Symlinks, htaccess symlinks, public symlinks /cc @bascht
[ ] Add uberspace Banner

:white_check_mark:  Postgres backup is done by @uberspace at 05:00am every day.

About "Regularly copy the production database and assets to staging":
I think the best solution would be to do that before every master.hacken.in deployment. That means that we always know that new migrations etc. work with our current dataset.

We will try to replace our whenever setup with runwhen

Maybe we can get around possible port conflicts and information duplication about the port number by using unix sockets?

We could also use  in the sidebar :smile:

That looks waaaaaaaaaaaay nicer :3

All done.


Is there a concurrency problem with RaftLog's Append?

Does RaftLog's Append function have concurrency issues? In Append, you didn't lock, but you went through all the logs to get the lastLogID. I think such an operation might result in the same Index being generated when inserting

Does RaftLog's Append function have concurrency issues? In Append, you didn't lock, but you went through all the logs to get the lastLogID. I think such an operation might result in the same Index being generated when inserting

If there is a concurrent Append log scenario, concurrency competition problems may occur, you can commit a bug fix for it.

Sure, I'll submit a commit to address this issue later.

Does RaftLog's Append function have concurrency issues? In Append, you didn't lock, but you went through all the logs to get the lastLogID. I think such an operation might result in the same Index being generated when inserting↳

If there is a concurrent Append log scenario, concurrency competition problems may occur, you can commit a bug fix for it.↳

I have opened a pr to address this issue and look forward to your comments.


FSharpEntity.IsByRef does not recognize byref`2

With FSharp.Core 4.5+, the byref type has 2 generic arguments internally. This is breaking the behavior of .IsByRef property.
Repro steps
Use ParseAndCheckProject on a project containing byref type usage, and use .IsByRef on an FSharpEntity for it.
Expected behavior
Returns true.
Actual behavior
Returns false.
Known workarounds
Use x.IsByRef || x.CompiledName = "byref`2".
Related information
Using FSharp.Compiler.Service nuget version 25.0.1.

@Jand42 Proposed fix is here, please take a look https://github.com/Microsoft/visualfsharp/pull/5635

@dsyme Sorry, I haven't tested right now, but my guess would be that
https://github.com/fsharp/FSharp.Compiler.Service/blob/e082581b1a4a6b71d4f55c3741679320bba3cfaf/src/fsharp/symbols/Symbols.fs#L476-L478
also needs to be changed to have
    (tyconRefEq cenv.g cenv.g.byref_tcr entity || tyconRefEq cenv.g cenv.g.v_byref2_tcr entity)

because byref`2 is the underlying type for 4.5. Thanks.

isByrefTyconRef covers that, though admittedly it also covers other cases: https://github.com/Microsoft/visualfsharp/blob/master/src/fsharp/TastOps.fs#L2938


chore: set up a motoko submodule

It seems like adding node_modules to the .vscodeignore file breaks the packaged version of the extension. We can get around this using a bundler such as Rollup, which would also tree-shake unused code from the dependency tree.

Yeah, I see the breakage. I saw some GH issue that the breakage can be due to the devDependenies containing stuff that should actually be in dependencies.

I'll try moving everything into dependencies in case that's the issue. My understanding is that we might need to use a bundler to get around this, but a simpler solution would be great.

I'll try moving everything into dependencies in case that's the issue

Nope, that sadly didn't work either :-(

Setting up a bundler right now, will ping you on the new PR.

#99


E/GraphResponse Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons

Hi Folks!! I´m trying to implement this Facebook Login in my Ionic Capacitor APP.
Describe the bug
const result = await FacebookLogin.login(['email']);
But i have nothing in the response, and it return false :  if (result.accessToken) {
Some Important points:
MainActivity.java Was changed and added : add(jp.rdlabo.capacitor.plugin.facebook.FacebookLogin.class);
AndroidManifest.xml was changed
Using:
"@angular/common": "~11.2.13",
"@angular/core": "~11.2.13",
"@angular/fire": "^6.1.4",
"@angular/forms": "~11.2.13",
"@angular/platform-browser": "~11.2.13",
"@angular/platform-browser-dynamic": "~11.2.13",
"@angular/router": "~11.2.13",
"@capacitor/android": "^2.4.3",
"@capacitor/core": "2.4.3",
"@ionic-native/core": "^5.32.1",
"@ionic-native/facebook": "^5.32.1",
"@ionic-native/push": "^5.32.1",
"@ionic-native/splash-screen": "^5.32.1",
"@ionic-native/status-bar": "^5.32.1",
"@ionic/angular": "^5.6.6",
"@rdlabo/capacitor-facebook-login": "^2.0.3",
"async-mutex": "^0.2.6",
"cordova-plugin-facebook4": "^6.4.0",
"es6-promise-plugin": "^4.2.2",
"firebase": "^8.1.1",
"globalthis": "^1.0.2",
"ionic-rating": "^2.0.0",
"phonegap-plugin-multidex": "^1.0.0",
"rxjs": "~6.5.5",
"tslib": "^2.2.0",
"zone.js": "~0.10.3"
I Just added the code:
And then the Run Result:
V/Capacitor/Plugin: To native (Capacitor plugin): callbackId: 93895678, pluginId: FacebookLogin, methodName: login
V/Capacitor: callback: 93895678, pluginId: FacebookLogin, methodName: login, methodData: {}
D/Capacitor/FacebookLogin: Entering login()
D/InputMethodManager: HSIFW - flag : 0 Pid : 26055
V/FA: Recording user engagement, ms: 67747
V/FA: Connecting to remote service
W/com.facebook.appevents.AppEventsLoggerImpl: This function is deprecated. deactivate app will be logged automatically
D/Capacitor: App paused
W/ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@d543416
V/FA: onActivityCreated
V/FA: Activity paused, time:<PHONE_NUMBER>
D/PhoneWindow: forceLight changed to true [] from com.android.internal.policy.PhoneWindow.updateForceLightNavigationBar:4238 com.android.internal.policy.DecorView.updateColorViews:1491 com.android.internal.policy.PhoneWindow.dispatchWindowAttributesChanged:3216 android.view.Window.setFlags:1148 com.android.internal.policy.PhoneWindow.generateLayout:2444
I/MultiWindowDecorSupport: updateCaptionType >> DecorView@32a9c8f[], isFloating: false, isApplication: true, hasWindowDecorCaption: false, hasWindowControllerCallback: true
D/MultiWindowDecorSupport: setCaptionType = 0, DecorView = DecorView@32a9c8f[]
V/FA: Connection attempt already in progress
V/FA: Activity resumed, time:<PHONE_NUMBER>
V/FA: Connection attempt already in progress
V/FA: Connection attempt already in progress
D/ViewRootImpl@b554729[FacebookActivity]: setView = com.android.internal.policy.DecorView@32a9c8f TM=true MM=false
D/ViewRootImpl@903e594[MainActivity]: MSG_WINDOW_FOCUS_CHANGED 0 1
D/InputMethodManager: prepareNavigationBarInfo() DecorView@2638045[MainActivity]
getNavigationBarColor() -855310
D/ViewRootImpl@b554729[FacebookActivity]: Relayout returned: old=(0,0,720,1560) new=(0,0,720,1560) req=(720,1560)0 dur=16 res=0x7 s={true<PHONE_NUMBER>28} ch=true
D/OpenGLRenderer: createReliableSurface : 0x76e3de0e80, 0x777f78c000
D/mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
D/ViewRootImpl@b554729[FacebookActivity]: MSG_WINDOW_FOCUS_CHANGED 1 1
D/InputMethodManager: prepareNavigationBarInfo() DecorView@32a9c8f[FacebookActivity]
getNavigationBarColor() -855310
D/InputMethodManager: prepareNavigationBarInfo() DecorView@32a9c8f[FacebookActivity]
getNavigationBarColor() -855310
V/InputMethodManager: Starting input: tba=com.marceloj.open7 ic=null mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false
D/InputMethodManager: startInputInner - Id : 0
I/InputMethodManager: startInputInner - mService.startInputOrWindowGainedFocus
D/InputTransport: Input channel destroyed: 'ClientS', fd=176
D/ViewRootImpl@b554729[FacebookActivity]: MSG_RESIZED: frame=(0,0,720,1560) ci=(0,53,0,84) vi=(0,53,0,84) or=1
D/FA: Connected to remote service
V/FA: Processing queued up service tasks: 4
V/FA: Screen exposed for less than 1000 ms. Event not sent. time: 926
V/FA: Activity paused, time:<PHONE_NUMBER>
D/ViewRootImpl@b554729[FacebookActivity]: MSG_WINDOW_FOCUS_CHANGED 0 1
D/InputMethodManager: prepareNavigationBarInfo() DecorView@32a9c8f[FacebookActivity]
getNavigationBarColor() -855310
D/InputTransport: Input channel destroyed: 'ClientS', fd=171
D/FA: Application going to the background
V/FA: Inactivity, disconnecting from the service
I/System.out: (HTTPLog)-Static: isSBSettingEnabled false
I/System.out: (HTTPLog)-Static: isSBSettingEnabled false
D/ViewRootImpl@b554729[FacebookActivity]: MSG_WINDOW_FOCUS_CHANGED 1 1
D/InputMethodManager: prepareNavigationBarInfo() DecorView@32a9c8f[FacebookActivity]
getNavigationBarColor() -855310
D/InputMethodManager: prepareNavigationBarInfo() DecorView@32a9c8f[FacebookActivity]
getNavigationBarColor() -855310
V/InputMethodManager: Starting input: tba=com.marceloj.open7 ic=null mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false
D/InputMethodManager: startInputInner - Id : 0
I/InputMethodManager: startInputInner - mService.startInputOrWindowGainedFocus
D/Capacitor/FacebookLogin: Entering handleOnActivityResult(64206, -1)
D/Capacitor/FacebookLogin: LoginManager.onCancel
onActivityResult succeeded
D/ViewRootImpl@903e594[MainActivity]: stopped(false) old=false
D/Capacitor/App: Firing change: true
V/Capacitor/App: Notifying listeners for event appStateChange
V/FA: Activity resumed, time:<PHONE_NUMBER>
D/Capacitor/App: No listeners found for event appStateChange
I/System.out: (HTTPLog)-Static: isSBSettingEnabled false
(HTTPLog)-Static: isSBSettingEnabled false
D/Capacitor: App resumed
D/ViewRootImpl@903e594[MainActivity]: MSG_WINDOW_FOCUS_CHANGED 1 1
D/InputMethodManager: prepareNavigationBarInfo() DecorView@2638045[MainActivity]
getNavigationBarColor() -855310
D/InputMethodManager: prepareNavigationBarInfo() DecorView@2638045[MainActivity]
getNavigationBarColor() -855310
V/InputMethodManager: Starting input: tba=com.marceloj.open7 ic=null mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false
D/InputMethodManager: startInputInner - Id : 0
I/InputMethodManager: startInputInner - mService.startInputOrWindowGainedFocus
D/InputTransport: Input channel destroyed: 'ClientS', fd=171
D/ViewRootImpl@b554729[FacebookActivity]: MSG_WINDOW_FOCUS_CHANGED 0 1
D/InputMethodManager: prepareNavigationBarInfo() DecorView@32a9c8f[FacebookActivity]
D/InputMethodManager: getNavigationBarColor() -855310
V/Capacitor/Network: Notifying listeners for event networkStatusChange
D/Capacitor/Network: No listeners found for event networkStatusChange
I/Capacitor/Console: File: http://localhost/pages-login-login-module-es2015.js - Line 149 - Msg: Rodou Facebook 2
I/Capacitor/Console: File: http://localhost/pages-login-login-module-es2015.js - Line 153 - Msg: Acima o conteúdo do result
I/Capacitor/Console: File: http://localhost/pages-login-login-module-es2015.js - Line 184 - Msg: Response não trouxe nada...
File: http://localhost/pages-login-login-module-es2015.js - Line 186 - Msg: Finalizando Facebook 2
I/Capacitor/Console: File: http://localhost/pages-login-login-module-es2015.js - Line 438 - Msg: LoginPage: loginUsingFacebook Sucesso no Login
E/GraphResponse: {HttpStatus: 400, errorCode: 190, subErrorCode: 460, errorType: OAuthException, errorMessage: Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.}
I/Capacitor/Console: File: http://localhost/pages-login-login-module-es2015.js - Line 439 - Msg: undefined
D/ViewRootImpl@b554729[FacebookActivity]: stopped(true) old=false
I/System.out: (HTTPLog)-Static: isSBSettingEnabled false
(HTTPLog)-Static: isSBSettingEnabled false
W/libEGL: EGLNativeWindowType 0x76e3de0e90 disconnect failed
D/ViewRootImpl@b554729[FacebookActivity]: dispatchDetachedFromWindow
D/InputTransport: Input channel destroyed: 'a762e93', fd=162
V/FA: Connecting to remote service
V/FA: Connection attempt already in progress
D/FA: Connected to remote service
V/FA: Processing queued up service tasks: 2
E/GraphResponse: {HttpStatus: 400, errorCode: 190, subErrorCode: 460, errorType: OAuthException, errorMessage: Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.}
V/FA: Inactivity, disconnecting from the service
I/System.out: (HTTPLog)-Static: isSBSettingEnabled false
I/System.out: (HTTPLog)-Static: isSBSettingEnabled false
E/GraphResponse: {HttpStatus: 400, errorCode: 190, subErrorCode: 460, errorType: OAuthException, errorMessage: Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.}
I/System.out: (HTTPLog)-Static: isSBSettingEnabled false
(HTTPLog)-Static: isSBSettingEnabled false
E/GraphResponse: {HttpStatus: 400, errorCode: 190, subErrorCode: 460, errorType: OAuthException, errorMessage: Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.}
Could you Help me?

Hi folks!!
I understood the migration of components from the rdlabo / to the capacitor-community / repository. For this reason I modified the project to update this issue.
I modified the dependency in the package.json to
"@capacitor-community/facebook-login": "^2.0.0",
and my method was like this:
async loginByFacebookComunity() : Promise {
const result : FacebookLoginResponse = await FacebookLogin.login({ permissions: ['email']})  ;
if (result.accessToken) {
  console.log('Facebook access token is ${result.accessToken.token}');
  console.log(result);
} else {
  console.log("Não funcionou o login")
}

}
and the result continued with the same error
E/GraphResponse: {HttpStatus: 400, errorCode: 190, subErrorCode: 460, errorType: OAuthException, errorMessage: Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.}
This error does not happen with a specific user. It happens to any user who tries to login. Facebook's keys are apparently ok.
I/Capacitor/Console: File: http://localhost/pages-login-login-module-es2015.js - Line 261 - Msg: Iniciando login com Facebook
V/Capacitor/Plugin: To native (Capacitor plugin): callbackId: 56370507, pluginId: FacebookLogin, methodName: login
V/Capacitor: callback: 56370507, pluginId: FacebookLogin, methodName: login, methodData: {"permissions":["email"]}
D/Capacitor/FacebookLogin: Entering login()
D/InputMethodManager: HSIFW - flag : 0 Pid : 30243
D/Capacitor: App paused
V/FA: Recording user engagement, ms: 47459
V/FA: Connecting to remote service
D/ViewRootImpl@a825e09[MainActivity]: dispatchDetachedFromWindow
D/InputTransport: Input channel destroyed: 'ac9fcce', fd=159
W/ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@242b8da
V/FA: Activity paused, time: 240554299
V/FA: onActivityCreated
D/PhoneWindow: forceLight changed to true [] from com.android.internal.policy.PhoneWindow.updateForceLightNavigationBar:4238 com.android.internal.policy.DecorView.updateColorViews:1491 com.android.internal.policy.PhoneWindow.dispatchWindowAttributesChanged:3216 android.view.Window.setFlags:1148 com.android.internal.policy.PhoneWindow.generateLayout:2444
I/MultiWindowDecorSupport: updateCaptionType >> DecorView@4477000[], isFloating: false, isApplication: true, hasWindowDecorCaption: false, hasWindowControllerCallback: true
D/MultiWindowDecorSupport: setCaptionType = 0, DecorView = DecorView@4477000[]
V/FA: Connection attempt already in progress
V/FA: Activity resumed, time: 240554465
D/ViewRootImpl@7e54b66[FacebookActivity]: setView = com.android.internal.policy.DecorView@4477000 TM=true MM=false
D/ViewRootImpl@7e54b66[FacebookActivity]: Relayout returned: old=(0,0,720,1560) new=(0,0,720,1560) req=(720,1560)0 dur=15 res=0x7 s={true<PHONE_NUMBER>68} ch=true
D/OpenGLRenderer: createReliableSurface : 0x7a57fac100, 0x7a49c06000
D/mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
V/FA: Connection attempt already in progress
V/FA: Connection attempt already in progress
D/ViewRootImpl@9f1e39d[MainActivity]: MSG_WINDOW_FOCUS_CHANGED 0 1
D/InputMethodManager: prepareNavigationBarInfo() DecorView@a1ce927[MainActivity]
D/InputMethodManager: getNavigationBarColor() -855310
D/ViewRootImpl@7e54b66[FacebookActivity]: MSG_WINDOW_FOCUS_CHANGED 1 1
D/InputMethodManager: prepareNavigationBarInfo() DecorView@4477000[FacebookActivity]
getNavigationBarColor() -855310
D/InputMethodManager: prepareNavigationBarInfo() DecorView@4477000[FacebookActivity]
getNavigationBarColor() -855310
V/InputMethodManager: Starting input: tba=com.marceloj.open7 ic=null mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false
D/InputMethodManager: startInputInner - Id : 0
I/InputMethodManager: startInputInner - mService.startInputOrWindowGainedFocus
D/InputTransport: Input channel destroyed: 'ClientS', fd=167
D/ViewRootImpl@7e54b66[FacebookActivity]: MSG_RESIZED: frame=(0,0,720,1560) ci=(0,53,0,84) vi=(0,53,0,84) or=1
D/FA: Connected to remote service
V/FA: Processing queued up service tasks: 4
V/FA: Screen exposed for less than 1000 ms. Event not sent. time: 866
V/FA: Activity paused, time: 240555332
D/ViewRootImpl@7e54b66[FacebookActivity]: MSG_WINDOW_FOCUS_CHANGED 0 1
D/InputMethodManager: prepareNavigationBarInfo() DecorView@4477000[FacebookActivity]
D/InputMethodManager: getNavigationBarColor() -855310
D/InputTransport: Input channel destroyed: 'ClientS', fd=186
D/FA: Application going to the background
V/FA: Inactivity, disconnecting from the service
D/Capacitor/FacebookLogin: Entering handleOnActivityResult(64206, -1)
D/Capacitor/FacebookLogin: LoginManager.onSuccess
D/Capacitor/FacebookLogin: onActivityResult succeeded
D/ViewRootImpl@9f1e39d[MainActivity]: stopped(false) old=false
D/Capacitor/App: Firing change: true
V/FA: Activity resumed, time: 240567953
V/Capacitor/App: Notifying listeners for event appStateChange
D/Capacitor/App: No listeners found for event appStateChange
I/System.out: (HTTPLog)-Static: isSBSettingEnabled false
I/System.out: (HTTPLog)-Static: isSBSettingEnabled false
D/Capacitor: App resumed
D/ViewRootImpl@9f1e39d[MainActivity]: MSG_WINDOW_FOCUS_CHANGED 1 1
D/InputMethodManager: prepareNavigationBarInfo() DecorView@a1ce927[MainActivity]
D/InputMethodManager: getNavigationBarColor() -855310
D/InputMethodManager: prepareNavigationBarInfo() DecorView@a1ce927[MainActivity]
getNavigationBarColor() -855310
V/InputMethodManager: Starting input: tba=com.marceloj.open7 ic=null mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false
D/InputMethodManager: startInputInner - Id : 0
I/InputMethodManager: startInputInner - mService.startInputOrWindowGainedFocus
V/Capacitor/Network: Notifying listeners for event networkStatusChange
D/Capacitor/Network: No listeners found for event networkStatusChange
I/Capacitor/Console: File: http://localhost/default~pages-login-login-module~pages-login-step2-login-step2-module-es2015.js - Line 94 - Msg: Facebook access token is ${result.accessToken.token}
I/Capacitor/Console: File: http://localhost/pages-login-login-module-es2015.js - Line 263 - Msg: Terminou o login....
D/ViewRootImpl@7e54b66[FacebookActivity]: stopped(true) old=false
W/libEGL: EGLNativeWindowType 0x7a57fac110 disconnect failed
D/ViewRootImpl@7e54b66[FacebookActivity]: dispatchDetachedFromWindow
D/InputTransport: Input channel destroyed: '891ed56', fd=179
V/FA: Connecting to remote service
V/FA: Connection attempt already in progress
D/FA: Connected to remote service
V/FA: Processing queued up service tasks: 2
I/System.out: (HTTPLog)-Static: isSBSettingEnabled false
I/System.out: (HTTPLog)-Static: isSBSettingEnabled false
E/GraphResponse: {HttpStatus: 400, errorCode: 190, subErrorCode: 460, errorType: OAuthException, errorMessage: Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.}
I/System.out: (HTTPLog)-Static: isSBSettingEnabled false
(HTTPLog)-Static: isSBSettingEnabled false
V/FA: Inactivity, disconnecting from the service

I notice this error happens whenever the user has not "accepted" the Facebook App, in the confirmation window of the APP. When I come back in a new login, for users who have already accepted the app, the error message below does not happen.
But I realized that despite the error, I am able to authenticate with the new version of the plugins.
What's happening?
E/GraphResponse: {HttpStatus: 400, errorCode: 190, subErrorCode: 460, errorType: OAuthException, errorMessage: Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.}
I/System.out: (HTTPLog)-Static: isSBSettingEnabled false
(HTTPLog)-Static: isSBSettingEnabled false
E/GraphResponse: {HttpStatus: 400, errorCode: 190, subErrorCode: 460, errorType: OAuthException, errorMessage: Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.}
I/.marceloj.open: Compiler allocated 4266KB to compile void android.view.ViewRootImpl.performTraversals()

This is not @rdlabo/capacitor-facebook-login, and not support. And you used cordova-plugin-facebook4 . Perhaps these will conflict.
Please try demo. Plugins can also conflict with each other, so test in plain.

Hi Masahiko,
I checked that this was wrong. In the version I am making available today, it is updated with the correct version of the plugins, and I removed the cordova-plugin-facebook4, according to the dependencies below.
In a developer test it worked, with the deployment through Android Studio. I will go up to the Play Store to see if it works ok for downloaded apps.
Arigatou 有難う
_"@angular/common": "~11.2.13",
"@angular/core": "~11.2.13",
"@angular/fire": "^6.1.4",
"@angular/forms": "~11.2.13",
"@angular/platform-browser": "~11.2.13",
"@angular/platform-browser-dynamic": "~11.2.13",
"@angular/router": "~11.2.13",
"@capacitor-community/facebook-login": "^2.0.0",
"@capacitor/android": "^2.4.3",
"@capacitor/core": "2.4.3",
"@ionic-native/core": "^5.32.1",
"@ionic-native/push": "^5.32.1",
"@ionic-native/splash-screen": "^5.32.1",
"@ionic-native/status-bar": "^5.32.1",
"@ionic/angular": "^5.6.6",
"async-mutex": "^0.2.6",
"es6-promise-plugin": "^4.2.2",
"firebase": "^8.1.1",
"globalthis": "^1.0.2",
"ionic-rating": "^2.0.0",
"phonegap-plugin-multidex": "^1.0.0",
"rxjs": "~6.5.5",
"tslib": "^2.2.0",
"zone.js": "~0.10.3"_

It seems to have been resolved, so close this issue.


x/vgo: replace directive does not work with modules that do not have a go.mod

What version of Go are you using (go version)?
go version go1.10 linux/amd64 vgo:2018-02-20.1
What operating system and processor architecture are you using (go env)?
linux amd64

What did you do?
The root module, github.com/leighmcculloch/today.bible contains this go.mod file. None of its dependencies have a go.mod file.
module "github.com/leighmcculloch/today.bible"

require (
        "4d63.com/biblepassageapi" v0.0.0-20180105044528-9d5d1c7387b7
        "4d63.com/biblestats" v0.0.0-20180221070837-db3cb0a63ce6
        "4d63.com/collapsewhitespace" v0.0.0-20180206055443-697160e33fd4
        "4d63.com/static" v0.0.0-20180221054436-5af232ad25e5
        "4d63.com/youtubelength" v0.0.0-20180105163403-5f3917c3a5f1
)

replace (
        "4d63.com/biblepassageapi" v0.0.0-20180105044528-9d5d1c7387b7 => "../go-biblepassageapi"
)

What did you expect to see?
$ vgo build

What did you see instead?
$ vgo build
vgo: open /home/leighmcculloch/go-biblepassageapi/go.mod: no such file or directory

Additional notes

The vgo build command works when the replace directive is not present.
The vgo build command works if a go.mod file is added to the version of 4d63.com/biblepassagepi that I'm referencing with the replace.

I think this is working as intended. The idea behind replace is to drop in one module for another. Vgo needs that module's requirements and such.

@rsc So to replace a dependency it's working as intended that the dependency must have a go.mod file?

It seems unnecessary to have this requirement. In the issue I referenced, we're trying to use a dependency that has no go mod specifically to get go mod working.

I think this might actually work as I expected, no go.mod file is required, I just had a typo on the left side of the => after replace. Perhaps there could be a warning if unused packages are replaced? That seems thematic for Go.


[FLINK-5805] improvements to docs for ProcessFunction

I added a paragraph to hopefully clarify why ProcessFunction is relevant to joins. I also tried to clean up a few places where the English was awkward.

Looks good, thanks, merging...


Feature validation: Participation not allow while game is not in right state

Issue:
#165
I've trouble with the integration test.
Error message:
{"cause":null,"message":"Cannot invoke "ch.uzh.ifi.hase.soprafs22.screwyourneighborserver.entity.Game.getGameState()"
because the return value of "ch.uzh.ifi.hase.soprafs22.screwyourneighborserver.entity.Participation.getGame()" is null"}
Comments:

I don't know why: because the game has all information...could please anybody help?
And my the error code could also be 409?! What you think.

I've trouble with the integration test.
Error message:
{"cause":null,"message":"Cannot invoke "ch.uzh.ifi.hase.soprafs22.screwyourneighborserver.entity.Game.getGameState()" because the return value of "ch.uzh.ifi.hase.soprafs22.screwyourneighborserver.entity.Participation.getGame()" is null"}
Comments:
* I don't know why: because the game has all information...could please anybody help?

The problem is that the participation sent has no game, thus the game is null. (was like that before)
{"origin":"remote","type":"request","correlation":"8b5bbf4d7cdecf3b","protocol":"HTTP/1.1","remote":"<IP_ADDRESS>","method":"POST","uri":"http://localhost:36225/participations","host":"localhost","path":"/participations","scheme":"http","port":"36225","headers":{"accept":["*/*"],"accept-encoding":["gzip"],"content-length":["64"],"content-type":["application/json"],"cookie":["JSESSIONID=32C2F2079A27EAC8DA634584E1CBF17E; Path=/; Secure; HttpOnly; SameSite=None"],"host":["localhost:36225"],"user-agent":["ReactorNetty/1.0.16"],"webtestclient-request-id":["2"]},"body":{"active":true,"participationNumber":null,"hands":[],"points":0}}

* And my the error code could also be 409?! What you think.

422 is perfect

Okey, I get the point. Check if the game is null. Thanks for your help.

Okey, I get the point (check if the game is null). I also ran the test with the frontend. The server don't brake and the user get an error message. Thanks for your help @BacLuc

No this was not what i meant.
In the test we should send a valid participation (with a game).


Firefox content out of date

Mozilla Firefox now has native Windows SSO integration.  You should update this document to reflect this page:  Windows SSO | Firefox Help (mozilla.org)

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

ID: 5d53fedc-b37d-9c37-fd71-32088e1e88d3
Version Independent ID: 1d67c426-39ff-8646-139d-51cd5e9fe44e
Content: Azure AD Connect: Seamless Single Sign-On - quickstart
Content Source: articles/active-directory/hybrid/how-to-connect-sso-quick-start.md
Service: active-directory
Sub-service: hybrid
GitHub Login: @billmath
Microsoft Alias: billmath

@IsmaelJCarlo
Thanks for your feedback! I've assigned this issue to the author who will investigate and update as appropriate.

Hi @JamesTran-MSFT | @pauljewellmsft | @Court72
There is also a GPO for that: https://github.com/mozilla/policy-templates/blob/master/README.md#windowssso
The SPNEGO recommendation from Microsoft did not work for me anymore.

The following issue is being closed due to the age.  If this is still an issue, please re-submit this.  Thank you.
#please-close


Deploy documentation

Right now we have documentation in docs/ folder. Having it only there is inconvenient, since there is no navigation, and pages order of pages is broken (it cannot be used as some kind of "tutorial"). So we need to build it to HTML and deploy somewhere
Build tools

Tool
Ease of documenting
Extra tooling needed
Versioning support

MKDocs
Very easy
No
using Read the Docs

VuePress
Very easy
Yes
does not support referencing buy git tags, needs to keep previous documentation in the repo

Deployment tools

Tool
Pros
Cons

GitHub Pages
No extra service setup required, easier to maintain
We will need to find a way to deploy versioned docs ourselves

Read the Docs
Easy versioning
Extra service, that we need to maintain. Domain jwt-auth is claimed by original package repository

If you have other tools in mind, feel free to add them!

If you have other tools in mind, feel free to add them!

What we could do is create another repository just for this proposal and use github ci to deploy it (if it's free).
What do you think about Vercel apps?
Thank you,

If you have other tools in mind, feel free to add them!

What we could do is create another repository just for this proposal and use github ci to deploy it (if it's free).
What do you think about Vercel apps?
Thank you,

That's would require updating multiple respositories to develop new feature.

Tools like Vercel and Netlify are great, and I use them a lot.
But for our purposes I don't think they are fitting, I see them combining all cons from list above: will require an extra maintaining for external services, and we will need to find our way to version documentation

@Messhias as you sad here, we should start at the same place, where Tymon left it, so using Read th Docs is the way. I can setup project there and find some great domain, then share ownership, if someone will add me as a collaborator to the repository

@Messhias as you sad here, we should start at the same place, where Tymon left it, so using Read the Docs is the way. I can setup the project there and find some great domain, then share ownership, if someone will add me as a collaborator to the repository

@eschricker can you add @leon0399?
I tried here but I didn't find a way to do it, might be because you are the owner and creator of the organization.

@eschricker thank you! I've sent a request to authorize Read the Docs Community app access repository. It requests access reaad projects for documentation deployment

Here we go! https://laravel-jwt-auth.readthedocs.io/en/latest/
@eschricker @Messhias if you need access, give me your usernames at readthedocs.io, I'll share access with you

My username is messhias.

👍🏼 for readthedocs; I see so many OSS projects there, also includes search out of the box

@eschricker thank you! I've sent a request to authorize Read the Docs Community app access repository. It requests access reaad projects for documentation deployment

Access was granted :+1:

Here we go! https://laravel-jwt-auth.readthedocs.io/en/latest/
@eschricker @Messhias if you need access, give me your usernames at readthedocs.io, I'll share access with you

My username is eschricker


Where to access person meshes dataset? It seems not available in the official documentation.

@fxia22 Would you mind putting the person meshes in the assets?

added, you can run wget https://storage.googleapis.com/gibson_scenes/assets_igibson.tar.gz to update the assets.
Note that the person meshes are also included in the data from the cvpr challenge repo, which you can download here: https://github.com/StanfordVL/iGibsonChallenge2021/blob/master/download.sh

I wander is there any specific scene instance or example with pedestrians moving around following orca rules with simulator running simultaneously?

Hi, are you trying to participate in the iGibson Challenge 2021? If so, you can follow our started code.
If not, I can point you to the social nav task that incorporates orca and the corresponding config file.
You can try
cd gibson2/envs
python igibson_env.py --config ../../examples/configs/locobot_social_nav.yaml --mode gui

Cool! That is awesome!

Feel free to re-open the issue if you have further questions!


Setup other signing device:

When dark mode is on. Else it shows. Also this needs a scanner to scan if the user does not want to enter manually.

Verified this issue on keeper app v 1.1.7(259)


azuredeploy error in communicator-data-function/web and communicator-function/web

I am receiving this error when deploying the Company Communicator using the .\Deploy.PS1 after downgrading the Azure CLI to v2.30.0
How to fix the issue below?

Shall I click on the Redeploy button ?
Thank you.
Repository 'UpdateSiteSourceControl' operation failed with System.Net.WebException: The remote server returned an error: (502) Bad Gateway. at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) at System.Threading.Tasks.TaskFactory1.FromAsyncCoreLogic(IAsyncResult iar, Func2 endFunction, Action1 endAction, Task1 promise, Boolean requiresSynchronization) --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.Web.Hosting.Administration.Utilities.WebRequestHelper.<GetResponseAsyncWithTimeout>d__10.MoveNext() in C:\__w\1\s\src\Hosting\AdministrationService\Microsoft.Web.Hosting.Administration\Utilities\WebRequestHelper.cs:line 81 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.Web.Hosting.Administration.SiteRepositoryProvider.TrackerContext.<GetResponseAsync>d__41.MoveNext() in C:\__w\1\s\src\Hosting\AdministrationService\Microsoft.Web.Hosting.Administration\Providers\SiteRepositoryProvider.cs:line 756 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.Web.Hosting.Administration.SiteRepositoryProvider.<SetSettingsAsync>d__31.MoveNext() in C:\__w\1\s\src\Hosting\AdministrationService\Microsoft.Web.Hosting.Administration\Providers\SiteRepositoryProvider.cs:line 349 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.Web.Hosting.Administration.ExternalSiteRepositoryProvider.<UpdateSiteSourceControl>d__5.MoveNext() in C:\__w\1\s\src\Hosting\AdministrationService\Microsoft.Web.Hosting.Administration\Providers\ExternalSiteRepositoryProvider.cs:line 78 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.Web.Hosting.Administration.WebCloudController.<>c__DisplayClass372_1.<<UpdateSiteSourceControl>b__1>d.MoveNext() in C:\__w\1\s\src\Hosting\AdministrationService\Microsoft.Web.Hosting.Administration\Controllers\WebCloudController.cs:line 11163 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.Web.Hosting.AsyncHelper.RunSync[TResult](Func1 func) at Microsoft.Web.Hosting.Administration.WebCloudController.UpdateSiteSourceControl(String subscriptionName, String webspaceName, String name, SiteSourceControl siteSourceControl) in C:__w\1\s\src\Hosting\AdministrationService\Microsoft.Web.Hosting.Administration\Controllers\WebCloudController.cs:line 11158.`

Hi @albert-widjaja ,
Thanks for raising the query.

To overcome the failed resources, Go to azure portal-->Go to resource group(Where the deployment has been done)-->Select prep-function(or failed resource) from list of resources-->Go to Deployment Center-->Click on Settings. Below is the screenshot for reference.

If the resource is not pointing to intended repository and  showing empty. Please connect to the external Git and point to the official repository(like above)
Once the status turns to Success(active) in the logs section then good to proceed with remaining steps of deployment.
Please do the same for other failed resource as well.
After performing the above steps, don't attempt for re-deploy again

@gsv022 ,
Spot on, yes, that resolve the issue now, thank you so much for the assistance in this matter.

Closing the issue as the query as has been responded.  Please feel free to log the issue if any encountered.


Errors parsing XML files

When having .ps1xml/.xml files in a project/workspace, PsISEProjectExplorer v1.2.5 now seems to parse these incorrectly (or at least flag unnecessary errors). Here's an example with the Pester module loaded:

Can an option be added to not parse .ps1xml/.xml files?

Sure, will be fixed in next version.

Fixed and released in 1.2.6.


[EVENT REQUEST] - Codeunit 70 Purch-Calc. Discount

Dear Al Development Team,
In codeunit 70, local function CalculateInvoiceDiscount, we need an event here:

OLD CODE:
    GLSetup.Get();
    if GLSetup."Payment Discount Type" <> GLSetup."Payment Discount Type"::"Calc. Pmt. Disc. on Lines"
    then
        PurchLine2.SetRange("Allow Invoice Disc.", true);

.
.
NEW CODE:
.
.
//Init new code
OnCalculateInvoiceDiscountOnBeforeGetGLSetup(VendInvDisc, PurchHeader);
//end new code
GLSetup.Get();
if GLSetup."Payment Discount Type" <> GLSetup."Payment Discount Type"::"Calc. Pmt. Disc. on Lines"
then
PurchLine2.SetRange("Allow Invoice Disc.", true);
.
.
New publisher:
[IntegrationEvent(false, false)]
local procedure OnCalculateInvoiceDiscountOnBeforeGetGLSetup(var VendorInvoiceDisc: Record "Vendor Invoice Disc."; var PurchaseHeader: Record "Purchase Header")
begin
end;
Thanks.

Hello @aismel87
Please review your request, as, now code is not same like on the image.
If this is some of localization, please point us in the right one.
Be aware that we are adding new events just in latest version of app (currently BC23)

Hello AL Dev Team!
The code must be here (line 172):

//Init new code
OnCalculateInvoiceDiscountOnBeforeGetGLSetup(VendInvDisc, PurchHeader);
//end new code
GLSetup.Get();
if GLSetup."Payment Discount Type" <> GLSetup."Payment Discount Type"::"Calc. Pmt. Disc. on Lines"
then
PurchLine2.SetRange("Allow Invoice Disc.", true);

New publisher:
[IntegrationEvent(false, false)]
local procedure OnCalculateInvoiceDiscountOnBeforeGetGLSetup(var VendorInvoiceDisc: Record "Vendor Invoice Disc."; var PurchaseHeader: Record "Purchase Header")
begin
end;

Regards,
Ismael

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 12672.


Helm Version

Creating issue to not forget 😅
Is it possible to have Helm 3 VS v2.14.3
http://localhost:1313/22_workshop_1/30_deploy_gremlin/5_deploy_gremlin.html


POC: Obtain a Reader based StreamCut using a StreamCutBarrier

Change log description
This POC implements a StreamCutBarrier to co-ordinate forming of a StreamCut across different readers.
[Disclaimer: This is still a work in progress. (More work needs to be done before a PR can be raised against pravega/pravega). ]
Purpose of the change
Improve ability to fetch latest StreamCut for a given ReaderGroup.
What the code does
An API has been added to the ReaderGroup to obtain the current StreamCut
    /**
     * Fetch the latest StreamCut after co-ordinating with all the readers
     * using {@link io.pravega.client.state.StateSynchronizer}
     *
     * @param backgroundExecutor A thread pool that will be used to poll if the
     *                           positions from all the readers have been fetched.
     * @return A future to a Map of streams that this group is reading from
     * to the corresponding {@link StreamCut}s.
     */
    @Beta
    CompletableFuture<Map<Stream, StreamCut>> getCurrentStreamCut(ScheduledExecutorService backgroundExecutor);

This uses a similar mechanism as Checkpointing to fetch the position updates from all the readers to generate the StreamCut.
A new method has been added to the ReaderGroupStateManager which will be used by the Readers to join a StreamCutBarrier.
void checkAndJoinStreamCutBarrier(Map<Segment, Long> ownedSegmentsWithOffset) throws ReinitializationRequiredException
When all the readers have joined the StreamCutBarrier the future returned by  ReaderGroup#getCurrentStreamCut api will be completed with the current StreamCut.
The StreamCut obtained by this method is guaranteed to equal to (or greater than) the current position of the all the readers for the stream(s) managed by the ReaderGroup.
How to verify it
All the tests should continue to pass. Added an integration test (io.pravega.test.integration.endtoendtest.EndToEndReaderGroupTest#getCurrentStreamCutTest) to verify behavior for a simple case

I don't know that I would call this a barrier as it does not use that term in the same way we have been up until this point. The code is conceptually simply, it just provides a way to grab the current streamCut without a checkpoint being visible to the reader. I do like that option generally, but if we're going to go that route, perhaps we should try to share more code with the Checkpoint codepath.
The crucial difference between them are:

The reader does not get returned anything.
(Open question) should this update the position objects for the purposes of a null passed when a reader is declared dead. (I think the answer is "No").
ether way, we could add a boolean to checkpoint or create a sub-type of the same interface, and use most of the existing internal codepaths.

Thanks for taking a look at it @tkaitchuck
Yes, initially I started with a Barrier implementation ref: https://github.com/shrids/pravega/pull/13/commits/553e64e26d91bdced45d36c65c1fbad891f4e40b#diff-39a49f8820340ce165abb8a6100bfea9 with an assumption that the readers have to wait until all the readers have joined the barrier.
But later realized we need not block the readers for obtaining the current StreamCuts, hence proceeded with this approach.


Adding support for Heidi Climate System

This is for the Climate360 bed with active heating and cooling in the entire bed.

What does this look like in the app? Might just call it "Climate" instead of Heidi.
Can you also create a base class that this can inherit from (Just in case that's available for another model)

Yeah, I went back and forth a couple times. I landed on Heidi because it was the name of the api code.
Here is a screenshot of the app.

It's called "Core".
Yeah, I can add a base.

For the base class, not sure how much you're going to want in it. But it won't implement anything other than init probably since I don't have any other API patterns other than fuzion.

Thanks for the feedback! I updated the pull request with the requested changes.


[Event Requst ] Codeunit 900  Assembly Post in functon PostLines

Please add new integration event in procedure PostLines

[IntegrationEvent(false, false)]
local procedure OnAfterInitQtyToConsume(var AssemblyLine: Record "Assembly Line";QtyToConsumeBase: Decimal)
begin
end;

We already have event OnAfterInitQtyToConsume(Rec, xRec, CurrFieldNo); in InitQtytoConsume, which have same purpose. Do we need extra event? Should it be OnBeforeAssemblyLineModify() event?

Yes please add
OnBeforeAssemblyLineModify(AssemblyLine, QtyToConsumeBase)
That would help us aswell

Any Updates on this one

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


Add ability to override/change the default ADSB server

Update these lines to use environment variables:

https://github.com/mikenye/docker-adsbexchange/blob/87c68cbb2ce7085ee72d4e308e35350801ea44cb/etc/services.d/adsbexchange-feed/run#L12
https://github.com/mikenye/docker-adsbexchange/blob/87c68cbb2ce7085ee72d4e308e35350801ea44cb/etc/services.d/mlat-client/run#L8

Add default values to environment variables in Dockerfile

@modmuss50 this has been implemented.


Update flag having no effect

Describe the bug

Version

[x] I have checked releases, and the bug exists in the latest patch version of v1 or v2.
[x] v2
[ ] v1

Runners

[x] GitHub Hosted
[ ] Self Hosted

Operating systems
Ubuntu 22.04.
PHP versions
8.1
To Reproduce
      - name: Setup PHP
        uses: shivammathur/setup-php@v2
        with:
          php-version: '8.1'
          extensions: sodium
          tools: composer:v2
          coverage: none
        env:
          update: true

Expected behavior
PHP 8.1.16 to be installed.
Screenshots/Logs
Run shivammathur/setup-php@v2
  with:
    php-version: 8.1
    extensions: sodium
    tools: composer:v2
    coverage: none
    ini-file: production
  env:
    update: true
/usr/bin/bash /home/runner/work/_actions/shivammathur/setup-php/v2/src/scripts/run.sh

==> Setup PHP
✓ PHP Found PHP 8.1.2

==> Setup Extensions
✓ sodium Enabled

==> Setup Tools
✓ composer Added composer 2.5.4

==> Setup Coverage
✓ none Disabled Xdebug and PCOV

==> #StandWithUkraine
✓ read-more https://setup-php.com/support-ukraine

Additional context
It fails to install the latest version of PHP, despite the update flag being set.
Are you willing to submit a PR?

I think this is possibly related to the Ubuntu upgrades that GitHub are gradually rolling out today...

@GrahamCampbell
Please rerun it, I could not reproduce the issue.
https://github.com/shivammathur/test-setup-php/actions/runs/4253441088/jobs/7398316083#step:2:1
Can you share the link of the workflow, or reproduce it in a public repo if it is from a private one?

It seems to be a gradual rollout by github, so not all orgs have the new image yet. :/

Hmmmm, this seems pretty flakey. I re-ran and this time it updated, without any code changes. 😭

Seems to have stopped happening. 🤷


Early Mixing

Complete early mixing implementation.  Extend mixed collection descriptions to include beam intensity and (early) mixing if needed

Hi @brownd1978,
You have proposed changes to files in these packages:

Scripts
JobConfig

which require these tests: build.
@Mu2e/write, @Mu2e/fnalbuild-users have access to CI actions on main.
:hourglass: The following tests have been triggered for 405bee88e6f366127033cbd9d6ae8c428f09dc48: build  (Build queue is empty)
About FNALbuild. Code review on Mu2e/Offline.

:sunny: The tests passed at 405bee88e6f366127033cbd9d6ae8c428f09dc48.

Test
Result
Details

merge
:white_check_mark:
Merged 405bee88e6f366127033cbd9d6ae8c428f09dc48 at 09ac3fb2130a757ffd31e5eddb12b3db8d74fe4f

build (prof)
:white_check_mark:
Log file. Build time: 14 min 48 sec

ceSimReco
:white_check_mark:
Log file.

g4test_03MT
:white_check_mark:
Log file.

transportOnly
:white_check_mark:
Log file.

POT
:white_check_mark:
Log file.

g4study
:white_check_mark:
Log file.

cosmicSimReco
:white_check_mark:
Log file.

cosmicOffSpill
:white_check_mark:
Log file.

ceSteps
:white_check_mark:
Log file.

ceDigi
:white_check_mark:
Log file.

muDauSteps
:white_check_mark:
Log file.

ceMix
:white_check_mark:
Log file.

rootOverlaps
:white_check_mark:
Log file.

g4surfaceCheck
:white_check_mark:
Log file.

FIXME, TODO
:white_check_mark:
TODO (0) FIXME (0) in 0 files

clang-tidy
:white_check_mark:
0 errors 0 warnings

N.B. These results were obtained from a build of this Pull Request at 405bee88e6f366127033cbd9d6ae8c428f09dc48 after being merged into the base branch at 09ac3fb2130a757ffd31e5eddb12b3db8d74fe4f.
For more information, please check the job page here.
Build artifacts are deleted after 5 days. If this is not desired, select Keep this build forever on the job page.


Updates and 1.12.2 support?

i know this is a bit of a big ask and all but given that 1.12.2 is the current main modding version (with 1.14 slowly picking up) can we expect the major features/bug fixes to be backported to this version?

current main modding version

well I kinda thought to go for updates up to 1.15 and stick with them, but okay, maybe I'll support the 1.12 version for some time
Anyway this mod at the very least needs not to crash with like every other mod, so I will work on that (and not version updating) first.

Closed as answered question.
You can go to Discord to ask and discuss more, github issue format is not the best for that

yeh. my discord is really cluttered so i tend to only bother joining them if i spend a LOT of time communicating. as it is i will likely not have much else that needs adding.
as for the updates and 1.12 v 1.15, i was mainly thinking the same for it at least being stable and more a less compatible with the major mods (morph/ichun util might be a problem but the 1.12 version if that is alpha and has its own problems) in that they dont crash on startup or on shrinking. circumstantial crashes can be worked around so long as they dont corrupt saves. and by major features i mean like BIG things that you personally feel warrant backporting (for example the 1/16th speed flight. bee may/may not be included). this is a little off the topic of the question but heck, you might not even NEED to implement your own flight if you can simply make it correctly slow normal movement speed while tiny XD

anyway, sorry for such messy posts. i just want to take a moment to thank you and many who've come before you for your contributions to the MC community. this game would literally be nothing like it is were it not for people like you making awesome content (and all for free to boot) for this game. its not said enough and it needs to be acknowledged more that minecraft isnt just Mojang's game, but all of ours. i tip my hat to you sir and bid you well :)

I am pretty sure that if the mod launches without crashes, there is no way it can corrupt worlds

if it "shrinks" the player and triggers a crash but just happens to auto save at the same moment you are shrinking then you will load into the game and the shrinking events will happen, triggering a crash before a player can reasonably do anything. at least in theory. such cases would be EXTREMELY rare but need to be considered sometimes. even so, its good practice to backup anything important to you, even non minecraft things, so a failsafe of some sort (an emergency restore config setting for instance to "try" and fix crashing errors) is something to keep in mind. best way to make something work well is to make it idiot proof, then break it some more ;)

k, got you
By 'corrupting the world' I meant when data is lost, like player inventory or chunks got deleted or something.
In your scenario you can uninstall the mod (well, that gets rid of mod items, eh) or use some nbt editor and remove the resizing field from player nbt to fix stuff

yeh, world broken and cant get in. fail safe would basically do exactly that. purge all your mods data attributes without actually having to remove the mod. more a convenience for the end user/for people who are not so technically inclined to be able to do that. easier to say to them "go to your config and change 'emergency repair' (or whatever you might call it) to 'true' and see if that helps" than going through what would basically become an NBTEdit tutorial. choice is yours, im just some guy on the internet throwing my 2 cents into the pile :P


Allow for different versions of a question title depending on a conditional question

What is the context of this PR?
We have a use case in SR where the user answers a proxy question, e.g. "Who are you answering on behalf on?". This means that we want subsequent questions to be asked differently depending on the users answers. Previously this meant using routing rules and having a lot of excess schema.
This PR introduces a titles object to question, this can be used instead of a single title value. The titles object consists of a default value with is a single title, with optional extra titles that are accompanied with a when rule (when functionality already exists in routing rules, so we have re-used that code). When the question title is rendered each when clause is evaluated and if true returns its given title. If no when clauses evaluate true then the default title is returned and rendered.
UPDATE
We have added changes that now mean all getting of question titles are handled by our templating utils and template logic on selecting the question title is handled in our jinja filters.
NOTE
Currently we have a bug with repeating groups that are as follows:

The summary only renders the latest group instance of a repeating group. (existing bug)

When evaluating a when clause in a repeating group greater than group_instance 0 it defaults to 0 group_instance for summary rendering, as summary has no knowledge of which group instance the question/answer has come from.

How to review
Run our test_schemas created and see if the changes are correct.
Also does the code changes make sense as to where they are.

please note travis build wont pass until https://github.com/ONSdigital/eq-survey-runner/pull/1605 is merged

@nealedj ready for re-review

Apparently I'm the Simon Cowell of eQ reviews and the designated merger here. Just doing a pass of the code and i'll merge it when i'm done.


Test is indicated to be failed while the output logs test(s) to be successful.

I recently stumbled upon neotest for dotnet and I love how it works. Cheers for that :D
I did notice something strange: while running mstests in .net 8 for one or more tests, the process outputs a success result while the indicators tell it failed.

This is also the case inside of the summary panel.
my config:
require("neotest").setup({
  adapters = {
    require("neotest-dotnet")({
      discovery_root = "project"
    })
  },
})

Could the icon configuration be the cause of this?

Hi @NicolaiSattler . Thanks for raising this. Life has gotten in the way of my side projects for a while, so just commenting here to say that this is an issue I'm aware of with MSTest (I've neglected this test runner a bit, as xUnit and NUnit are what I use mainy). However, https://github.com/GustavEikaas/easy-dotnet.nvim/issues/74 seems to be a solution to many problems with this plugin and the multiple test runners. I'll be looking into this ASAP.


Migrate SETTINGS table when recreating schema

When schema changes, zap will wipe out the DB and reload it from scratch.
This looses the SETTINGS table, which are local per-install settings.
Add following to the process of changing the scheme:

before wiping out old schema, do a full SELECT on the SETTINGS table.
perform the wipe-out as now.
load back the data from earlier SELECT query into the new SETTINGS table.

The purpose of this bug, is to keep the SETTINGS that were added previously, even when schema is recreated.
Note that there are 3 "special" settings:
APP/VERSION, APP/HASH and APP/DATE.
Those are wrritten into the SETTINGS table by design, every time zap starts, to record the version of the zap that ran against this databse. These three are ok to not persist. They are intended to keep growing.
The settings that should persist are other category/key/value triplets.
For example, if the SETTING table contains:
category=METAFILE
key=ZCL_XML_LOCATION
value=/home/user/some/place/zcl.xml
(made these up as example), then the expectation is, that after the schema is recreated, the SETTING table will still contain this triplet.
There are several values we wanted to put into this table, but we mostly didn't because they all get wiped out every time schema changes.

merged PR https://github.com/project-chip/zap/pull/486


Fixed issue #9317

Issue Reference
Fixed issue #9317

@shivendra-webkul
Checked and Found that the issue has been fixed and found working fine. Please check the video for the reference.
Video
https://github.com/bagisto/bagisto/assets/92721837/3735e0ec-100a-4b60-92ba-676ee693e2bd

@shivendra-webkul
Checked and Found that the issue has been fixed, and working fine. Please check the vide for reference.
Video
https://github.com/bagisto/bagisto/assets/92721837/2d381df7-737a-46d3-b0c0-3c1044e130df


about WRITE_SMS

I am completely new to android, the permission is so complex to me :(
I follow the official docu, but sometimes, I can call code successfully, but sometimes, I cannot.
Eventually, I found the secret.
In manifest, you have to highlight write_sms for sure
<uses-permission android:name="android.permission.RECEIVE_SMS" />
    <uses-permission android:name="android.permission.WRITE_SMS" />
    <uses-permission android:name="android.permission.SEND_SMS" />

But in PermissionsAndroid.requestMultiple, you cannot request PermissionsAndroid.PERMISSIONS.WRITE_SMS, android will throw error with null permission.
I hope it will help someone else

i am facing same issue, any solution?


Feature/unit tests/infra 30042/utilities

unit tests for standard_lib/utilities

LGTM

:tada: This PR is included in version 1.6.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


new filter_reads pipeline

ported over fastq filtering from q2-phylogenomics and squeezed into one beast
made filter_reads a pipeline to accommodate either single-end or paired-end fastq reads (since these do not have a unified view type). Other than merging those methods into one, this code (incl. tests) was just ported from q2-phylogenomics.

@nbokulich, I pushed up some proposed changes in 394e5ac (these changes rely on the changes proposed in https://github.com/qiime2/q2-types/pull/245/).
I have been meaning to make the transformers listed in https://github.com/qiime2/q2-types/pull/245/ for a while, this PR seemed like as good a time as any to implement. This gets us out of the typechecking necessary in the pipeline to discern between paired and single reads, which feels a little fragile to me.
On the flipside, the changes I propose in https://github.com/qiime2/q2-types/pull/245/ are also a little strange, I added a new property to the casava dir fmt to extract a manifest dataframe, but it uses some transformers internally (which is a little unusual), and, the transformers for getting the manifest are a little strange, too.
I don't know... take a look, tell me what you think. cc @ebolyen

@nbokulich - can you please add a note to the changelog about this? Thanks!


a working Conditional where clause on query

I'm following the query builder of AdonisJs: https://adonisjs.com/docs/4.1/query-builder#_introduction
I am trying to do something similar to the example posted under their 'Conditional Queries' subheading:
const query = Database.table('users')
if (username) {
query.where('username', username)
}
However, this sends an error on my backend.
Is there a way to do conditional where query? In some cases, I need to do have the where clause whereas in other cases based on a boolean value, I need all the data so where is not needed.
I notice that the 'query' variable (in the above example) is chainable only when it's chained to the Database class. When I save that as a variable, it throws an error (i.e. query.where(...) throws the error).
My current solution is to have 9 possibilities for 3 boolean conditions and each of the queries will be created from Database class. I may have more than 3 conditions soon though.
Is there a way to do conditional where queries?
P.S: I do know I can have multiple fields in one where clause, although this is unrelated to my question. i.e. .where({ field1: true, field2: false})

is there a value I can use to 'erase' the .where clause? Then I can use conditional operator and in the falsy scenario, I can use it, whether it's "NOT_NULL" or "any string"/"any integer".

Can you share the error raised by this query?

actually I unknowingly added an await before Database. The conditional where clause actually works. @thetutlage thanks for trying to help though


PIP Dependency Error

I'm trying to install the pip requirements from the .txt file but I keep running into this error. I'm on an M1 Macbook Pro.
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
streamlit 1.20.0 requires protobuf<4,>=3.12, but you have protobuf 4.25.0 which is incompatible.
langflow 0.0.46 requires langchain<0.0.114,>=0.0.113, but you have langchain 0.0.340 which is incompatible.
langflow 0.0.46 requires typer<0.8.0,>=0.7.0, but you have typer 0.9.0 which is incompatible.
langflow 0.0.46 requires uvicorn<0.21.0,>=0.20.0, but you have uvicorn 0.23.2 which is incompatible.
jupyterlab-server 2.19.0 requires json5>=0.9.0, but you have json5 0.8.4 which is incompatible.
aiobotocore 2.6.0 requires botocore<1.31.18,>=1.31.17, but you have botocore 1.32.6 which is incompatible.

This is what the error looks like.


Blend micro range...!

hai
i am using a blend micro to make my project. i am programming my board from codebender.cc by using bleperipheral library.
Now i have done a range test on my board  so i can only connect in a range of 13M.
So my question is can i increase the range...? if so how can i do that.
thank you.

@iqbalpalemad

So my question is can i increase the range...?

Please look at the API documentation prior to asking these types of questions.
For the nRF8001 based boards, the maximum TX power is 0 dB. This is the default used by the library: https://github.com/sandeepmistry/arduino-BLEPeripheral/blob/master/API.md#set-tx-power


NOISSUE - Remove concurrency flag for golangci-lint

Signed-off-by: Ivan Milošević<EMAIL_ADDRESS>What does this do?
Remove concurrency flag for golangci-lint; by default concurrency value is 8

Codecov Report

Merging #1134 into master will decrease coverage by 0.85%.
The diff coverage is 56.25%.

@@            Coverage Diff             @@
##           master    #1134      +/-   ##
==========================================
- Coverage   76.22%   75.37%   -0.86%
==========================================
  Files          94      101       +7
  Lines        6546     6854     +308
==========================================
+ Hits         4990     5166     +176
- Misses       1220     1332     +112
- Partials      336      356      +20

Impacted Files
Coverage Δ

provision/api/endpoint.go
0.00% <0.00%> (ø)

provision/api/logging.go
0.00% <0.00%> (ø)

provision/api/responses.go
0.00% <0.00%> (ø)

provision/api/transport.go
0.00% <0.00%> (ø)

twins/mongodb/twins.go
48.61% <20.00%> (ø)

provision/service.go
72.34% <72.34%> (ø)

provision/sdk/sdk.go
78.19% <78.19%> (ø)

provision/api/requests.go
100.00% <100.00%> (ø)

twins/service.go
42.23% <100.00%> (ø)

... and 6 more

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 7a18d3f...edc9eb9. Read the comment docs.


Modify vm template task

What this PR does / why we need it:
Add modify vm template task
This task updates template with given attributes
Which issue(s) this PR fixes :
Fixes #
Special notes for your reviewer:
Release note:
added modify-vm-template task

/hold cancel

@atiratree Can you please review?

/retest


Bumped development RELEASE for 1.21-17

Bumped development RELEASE for 1.21-17
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/lgtm
/approve


add Keller2019 libs

Pull Request
This PR is for a

[x] New Publication(s)
[ ] Correction

For the following list(s):

[ ] ancientmetagenome-anthropogenic (README)
[ ] ancientmetagenome-environmental (README, ask @thedir-team-dirt for advice)
[ ] ancientmetagenome-hostassociated (README, ask @thedir-team-bugparty for advice)
[x] ancientsinglegenome-hostassociated (README, ask @thedir-team-pathopeeps for advice)

New Publication
Publication Information
This pull request is to add samples from the following publication(s): Keller2019
This is to close #569
Checklist

[ ] Publication is published (preprints currently not accepted)?
[ ] Checked the publication is not already in the database?
[ ] Checked samples in this publication are not previously published data (newly re-sequenced metagenomes are OK!)?
[ ] Samples are shotgun metagenomes (hostassociated-singlegenome may also contain whole-genome enriched data)?
[ ] Checked the list follows conventions as described in the corresponding sample type's README file (e.g. using ERS/SRS accession codes for ENA/SRA)?
[ ] Changelog is updated to include the publication under 'Added'?
[ ] Pull request has passed validation checks (see automated comment from github-bot)?
[ ] Review requested from corresponding team (see list of lists above for each team)?
[ ] (If applicable) Made a separate PR to add new categories to controlled lists (stored under /assets/enums, e.g. material or archive)? If so the corresponding PR is here:

If you do not know how to check errors in failed validation checks, expand here

Correction
This PR is for

[ ] ancientmetagenome-hostassociated
[x] ancientsinglegenome-hostassociated
[ ] ancientmetagenome-environmental
[ ] ancientmetagenome-anthropogenic

Reference
This pull request is to correct samples from the following publication(s):
This is to close
Description
The issue is:

Checklist

[ ] Checked the corrected entries follow conventions as described in the corresponding sample type's README file (e.g. using ERS/SRS accession codes for ENA/SRA)
[ ] Changelog is updated to include the publication under 'Changed'?
[ ] Pull request has passed validation checks (see automated comment from github-bot)?
[ ] Review requested from corresponding team (see list of lists above for each team)?

The Edix Hill libraries (EDI, I think) were generated differently (check the materials and methods). Primarily no UDG treatment and differetn polymerase (will need to update the enum for that).
Otherwise looks OK to me 👍

The different library preparation of Edix Hill concerns only the nonUDG libraries which were used for MALT screening. These are not published here as far as I know.. only the UDG full libraries which were also captured. I myself prepared them in Jena, so I am 100% sure they were processed the same way as the others. :)

Ok, it's confusing from the M&M:
Library Preparation.
Of putatively positive extracts in the qPCR or MALT screening, 50 µL were turned into Illumina double-stranded DNA libraries with initial USER treatment (New England Biolabs) to remove postmortem damage in form of deaminated cytosines by consecutive incubation with uracil-DNA-glycosylase (UDG) and endonuclease VIII (25). To enhance the efficiency of subsequent double indexing, UDG-treated libraries were quantified by qPCR using IS7/IS8 primer and split for a maximum of 2 × 1010 DNA molecules. Every library was indexed with a unique index combination in a 10-cycle amplification reaction using Pfu Turbo Cx Hotstart DNA Polymerase (Agilent) (62, 63). The amplification products were purified using the MinElute DNA purification kit (Qiagen) and eluted in TET (10 mM Tris⋅HCl, 1 mM EDTA, pH 8.0, 0.05% Tween 20). For the capture, the indexed libraries were amplified to 200–300 ng/µL using Herculase II Fusion DNA Polymerase (Agilent) and purified a second time as described.

The non-UDG library preparation for all Edix Hill samples was conducted using a protocol modified from the manufacturer’s instructions included in the NEBNext Library Preparation Kit for 454 (E6070S; New England Biolabs) as detailed in ref. 64. DNA was not fragmented and reactions were scaled to half volume; adaptors were made as described in ref. 62 and used in a final concentration of 2.5 µM each. DNA was purified on MinElute columns (Qiagen). Libraries were amplified using the following PCR setup: 50-µL DNA library, 1× PCR buffer, 2.5 mM MgCl2, 1 mg/mL BSA, 0.2 µM in PE 1.0, 0.2 mM dNTP each, 0.1 U/µL HGS Taq Diamond, and 0.2 µM indexing primer. Cycling conditions were as follows: 5 min at 94 °C, followed by 18 cycles of 30 s each at 94 °C, 60 °C, and 68 °C, with a final extension of 7 min at 72 °C. Amplified products were purified using MinElute columns and eluted in 35 µL of EB. Samples were quantified using Quant-iT PicoGreen dsDNA kit (P7589; Invitrogen Life Technologies) on the Synergy HT Multi-Mode Microplate Reader with Gen5 software.

It seems to imply that Edix Hill was separate from the earler ones, because of the first sentence of the first paragraph


Support \K regex in TextMate grammar patterns

For creating a VS Code language extension, it would be great if TextMate grammar patterns support the \K regex pattern: https://www.regular-expressions.info/keep.html

VSCode Version: 1.43.0
OS Version: Fedora 30

Steps to Reproduce:

Create a new VS Code extension, add the following to its package.json:

{
  "contributes": {
    "languages": [
      {
        "id": "abc",
        "extensions": [".abc"]
      }
    ],
    "grammars": [
      {
        "language": "abc",
        "scopeName": "source.abc",
        "path": "./syntaxes/abc.tmGrammar.json"
      }
    ]
  }
}

In the ./syntaxes/ directory, create a new file abc.tmGrammar.json with these contents:

{
  "scopeName": "source.abc",
  "patterns": [{ "include": "#expression" }],
  "repository": {
    "expression": {
      "match": "h\\Kd",
      "name": "keyword.other.definition"
    }
  }
}

Launch the VS Code extension, open a file and set the language mode to "abc".

Type "adhd" in the file.

What the syntax highlighting should be:

What the syntax highlighting actually is:

See related issue https://github.com/microsoft/vscode/issues/87842

The TextMate grammars are standardized across editors and they all use a regular expression engine called oniguruma. We do not want to diverge from the official TextMate grammars because we believe that having grammars that work across multiple editors is more beneficial.


VSCode: Unresponsive extension host

UnoCSS version
Versions during last six months or so
Describe the bug
When trying to save a file VSCode hangs. Developer tools warns about "UNRESPONSIVE extension host: 'antfu.unocss' took 100% of 5022.275ms". Only thing that helps is restarting extension host in VSCode.
When checking out cpu profiles, it seems that getMatchedPositionsFromCode() or getMatchedPositions() is the function that hangs. I have attached the latest profile, they are all similar. So far I've narrowed this down to the following code in VSCode extension, in getMatchedPositions() function. If I comment it out, it never hangs.
      for (const match of code.matchAll(regex)) {
        includeRanges.push([match.index, match.index + match[0].length]);
      }

exthost-46fd78.json
Let me know if I can somehow debug this myself and provide more information. I can't reproduce this reliably.
Reproduction
Can't reproduce reliably.
System Info
Windows 11, Vite TS React project. uno.config.ts only has presetUno(), breakpoints and a couple of colors.
Validations

[X] Read the Contributing Guidelines.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[ ] The provided reproduction is a minimal reproducible example of the bug.

Debugged some more and it's this regex in defaultIdeMatchInclude which makes it hang:
/<[^/?<>0-9$_!](?:"[^"]*"|'[^']*'|[^>])+>/g
If I switch that to the one in commit 8e615ab, /<[^>]+?>/g it doesn't hang.

We temporarily closed this due to the lack of enough information. We could not identify whether it was a bug or a userland misconfiguration with the given info.
Please provide a minimal reproduction to reopen the issue.
Thanks.

Why reproduction is required


Setup Linting Script

Set up the package.json with a script that will run the linter on all files in the command line based on the configuration file. This will ensure that code is compliant before pushing it to GitHub.
The script should be called with something like yarn lint or npm lint and allow the browser to read from the linter configuration file and give you live linting feedback while editing your code.

Closing this for now since I think it's resolved?


File size limit

Isn't the limit configurable to 50 MB now? This article says 10MB

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

ID: e663e437-2bc9-980f-9ba6-6eeab01ee9a4
Version Independent ID: ae7da14b-2234-2815-9fd1-272a0984f129
Content: Attachments control: reference - Power Apps
Content Source: powerapps-docs/maker/canvas-apps/controls/control-attachments.md
Service: powerapps
GitHub Login: @chmoncay
Microsoft Alias: chmoncay

Thank you for reaching out. Documentation has been updated.


example tests don't run as part of CI

In example/ you've got codecept there, but the tests don't run as part of CI

@lennym @easternbloc ideas for how to do this nicely?

rm -rf example?

And any new examples? It's not a bad idea to run tests against the examples when HOF core changes

https://github.com/UKHomeOfficeForms/hof-examples?

Yes those, the examples that don't have tests. Maybe they should have tests. However, if your point is "they don't have tests", then sure forget it. Close this issue

I think we should remove the example in this repo in favour of a single-source-of-truth in the other repo.
As for testing those examples... it's not a bad idea. It's just more work to be done. By all means add functional tests for examples when creating them.


How could I disable shadowdom?

I could not find any clue in searching.
Sometimes I just don't want shadowdom. is it possible?

createRenderRoot() {
    return this;
}

@jsilvermist Thanks.


Notworking flags in command

In that command from getting started: dotnet new resharper-rider-plugin --name MyAwesomePlugin [--include-samples] [--resharper-only] [--build-only]
Don't work frags from square brackets.

See https://github.com/JetBrains/resharper-rider-plugin/issues/47#issuecomment-1119747092


Create ownable.fe

adapt ownable.fe from oz ownable.sol implement: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/access/Ownable.sol

Hi @Ro5s, thanks for this! I'd definitely like to add this to our collection of fixtures.
One thing that would be nice is to have a test that makes sure this parses. We are already doing this with the erc20 contract here and I'm thinking we could repurposed this file to check that all fixture files parse, instead of just erc20. That way we can perform some level of validation on PRs like this. Do you have any interest in doing this? If not, we can go ahead and merge this and I'll do this later.


pthread_once: race condition with CONFIG_SPIRAM (IDFGH-2448)

pthread_once is implemented using uxPortCompareSetExtram
https://github.com/espressif/esp-idf/blob/30372f5a4ff2c0dfdaad95f544dc36bcdda30b75/components/pthread/pthread.c#L499
however, uxPortCompareSetExtram is not safe to use with interrupts enabled:
https://github.com/espressif/esp-idf/blob/30372f5a4ff2c0dfdaad95f544dc36bcdda30b75/components/freertos/port.c#L444
vPortCPUAcquireMutexIntsDisabled assumes interrupts are disabled.
Besides, uxPortCompareSetExtram will never work if extram_mux is itself in extram, so it should probably use vPortCPUAcquireMutexIntsDisabledInternal instead.

Hi @szmodz  thanks for reporting that.
The code section itself is safe to use even with interrupts enabled. extram_mux will never placed outside of IRAM (this is a must) ensuring the vPortCPUAcquireMutexIntsDisabled() become a vPortCPUAcquireMutexIntsDisabledInternal() which executes atomically.
Have you experienced some problem with race condition there? Could you please share it?

Hi @uLipe
That's incorrect.
vPortCPUAcquireMutexIntsDisabled is a no-op with CONFIG_FREERTOS_UNICORE, so uxPortCompareSetExtram is completely unprotected in unicore mode (PSRAM is currently only usable in unicore mode). Multiple tasks using pthread_once will race with each other.
https://github.com/espressif/esp-idf/blob/826b9f63805ab9b955cd2129673117080c6d29ba/components/freertos/portmux_impl.h#L93
Races are by definition hard to reproduce. A lot of things can influence the timing. I don't have a minimal test case to share, but the race is there.
The situation doesn't look any better for multicore mode, though. I didn't look at vPortCPUAcquireMutexIntsDisabled all that much, but I know it's a spinlock of the recursive variety, so it can't be safe to use without disabling interrupts (or the scheduler) or some sort of priority inheritance (which is not there).
Consider this: A low priority task (with interrupts enabled) successfully acquires a lock using  vPortCPUAcquireMutexIntsDisabled, and starts running the protected code section. Then it gets preempted by a higher priority task, which tries to acquire the same lock. Two things can happen, depending on the spinlock implementation.
If the spinlock is recursive (can be acquired multiple times by the same core, this seems to be the case here), the situation is the same as in single core mode: the lock will offer no protection against multiple tasks running on the same core.
If, on the other hand, the spinlock is not recursive, the higher priority task will spin in an infinite loop, as the lower priority task will never resume execution, so it will never get a chance to release the lock.
No matter how you look at it, vPortCPUAcquireMutexIntsDisabled is not safe to use with interrupts enabled.
BTW. I also noticed stdatomic.h is incompatible with PSRAM, which can break valid, standard C code. It did cause problems for me.

Similarly, vPortCPUAcquireMutex / vPortCPUAcquireMutexTimeout don't make much sense to me.
vPortCPUAcquireMutex should only disable interrupts, while vPortCPUReleaseMutex should re-enable them.
The critical sections protected by a spinlock should always be running with interrupts disabled.

Hi, @szmodz you're right, the correct thing here is to disable any kind of preemption until the cmpexchg is executed.
I'll forward a fix for it, thanks for pointing that.

@uLipe  the correct thing to do is to disable preemption for the entire critical code path
In case of uxPortCompareSetExtram that's
	prev=*addr;
	if (prev==compare) {
		*addr=*set;
	}
	*set=prev;

https://github.com/espressif/esp-idf/blob/30372f5a4ff2c0dfdaad95f544dc36bcdda30b75/components/freertos/port.c#L392
Those should be reviewed as well. They don't make any sense.

@szmodz agreed, it does not make sense a compare and exchange code section which its execution is not atomic.

Should probably look at this as well:
https://github.com/espressif/esp-idf/blob/826b9f63805ab9b955cd2129673117080c6d29ba/components/freertos/tasks.c#L2779
Even if that's not a bug (interrupts are disabled on entry), it's suboptimal.

@szmodz , the fix is currently under internal review and will be available shortly :)

@uLipe I hacked a local fix myself, so there's no rush. I understand this specific issue is probably rare in practice. I posted the bug report to make the issue known.

In my opinion, spinlocks should never be placed in PSRAM.
The current implementation looks pretty weird ( that's a technical term ;-) ): in order to acquire a spinlock located in PSRAM you first acquire a global spinlock in internal memory. Not only is that inefficient (global lock contention), it also makes my head hurt (mostly because of the global lock contention).
I understand that's because s32c1i (the xtensa compare-exchange instruction) can't be used on PSRAM addresses. However, I think it would be simpler, more efficient, and easier on the eyes to enforce placing spinlocks in internal memory.
My application is memory intensive: it absolutely requires the external RAM (lots of small-sized allocations). The default esp-idf allocation policy (use internal RAM by default, only use PSRAM as fallback) doesn't make much sense in this case, as the internal RAM pool gets exhausted very quickly, and that causes weird and difficult to find problems (see for example https://github.com/espressif/esp-idf/issues/4406, which is NOT currently solved, but I have a local patch for that, so I don't really care personally).
In my application, I opted for a different memory allocation approach: set SPIRAM_MALLOC_ALWAYSINTERNAL to 0 (use PSRAM by default) and place critical data in internal RAM explicitly (esp-idf uses the same approach for processor instructions: everything is placed in flash by default, except for functions explicitly marked with IRAM_ATTR, or specified in linker fragments).
For example, I patched pvPortMalloc to always use internal RAM (replaced malloc with heap_caps_malloc):
https://github.com/espressif/esp-idf/blob/826b9f63805ab9b955cd2129673117080c6d29ba/components/freertos/include/freertos/portable.h#L149
So in my application, the entire internal RAM is reserved for critical data (FreeRTOS structures, thread stacks, DMA buffers, etc), while regular application data (mostly Lua objects, http buffers, xml / json parser data) is placed in PSRAM.
Setting SPIRAM_MALLOC_ALWAYSINTERNAL to 0 exposed a number of issues with the esp-idf. This suggests to me the PSRAM support is simply not production ready.
I hope that clarifies my issues somewhat.

My suggestion would be to remove SPIRAM_MALLOC_ALWAYSINTERNAL and use PSRAM by default, if available. Then make sure everything works in that setup.

On closer look, there's another race in pthread_once, event without CONFIG_SPIRAM.
https://linux.die.net/man/3/pthread_once

On return from pthread_once(), init_routine shall have completed.

The current implementation doesn't guarantee that in case of multiple competing threads. It's possible that pthread_once will return on one thread before init_routine runs to completion on another thread.


Translate the rest of the application to DE/FR/JP

Currently only item names and action names have translations for other languages (DE/FR/JP).

Won't do. Too much maintenance effort.


Any reason for replacing href attribute in binded links?

You replace hrefs with javascript:void(0); although e.preventDefault() is used.
Is there a reason for doing so?

Do you mean when you set a data-navigo attribute to some <a> tag. If yes, we are doing this so the link become a JavaScript only. When we use hashes we don't want to change the actual page.

I see. Doesn't e.preventDefault() hinder the browser anyway to follow the href target?
I'm thinking it could be worth to leave the href in its original state for people to open it in new tab or for copying.


DACT-285 validate company type

As Companies House
I want users from specific company types to be prevented from filing for the removal of a director
So that I only receive submissions for companies that are allowed to file a TM01 request
https://companieshouse.atlassian.net/browse/DACT-285

⬆  I had already approved this.


[Bug] http_request Function Causing 403 Error

Checklist

[X] 1. I have searched related issues but cannot get the expected help.
[X] 2. The bug has not been fixed in the latest version.
[X] 3. Please note that if the bug-related issue you submitted lacks corresponding environment info and a minimal reproducible demo, it will be challenging for us to reproduce and resolve the issue, reducing the likelihood of receiving feedback.
[X] 4. If the issue you raised is not a bug but a question, please raise a discussion at https://github.com/sgl-project/sglang/discussions/new/choose Otherwise, it will be closed.
[X] 5. Please use English, otherwise it will be closed.

Describe the bug
I'm experiencing a 403 Forbidden, when RuntimeEndpoint(base_url) is being called.
When I open the url on browser, or do url/get_model_info in the browser or via requests.get
Everything seems fine,
but with sglang's python module, it's giving a Runtime Error
Reproduction
I am running a pod via RunPod,
just doing this in a test.py file RuntimeEndpoint(base_url="https://{runpod_id}-8000.proxy.runpod.net") causes the Runtime error
Environment
Not Applicable

Can you try /generate https://sgl-project.github.io/backend/native_api.html#Generate-(text-generation-model)?