"TypeError: Cannot read property 'replace' of undefined" when including packages under plugins/support for cypress

Following the instructions of just including the plugin seems to throw this stack trace error:
TypeError: Cannot read property 'replace' of undefined
    at Object.forwardSlashPath (/Users/azaeng04/projects/voss-portal/node_modules/@ngtools/webpack/src/utils.js:28:17)
    at AngularCompilerPlugin._setupOptions (/Users/azaeng04/projects/voss-portal/node_modules/@ngtools/webpack/src/angular_compiler_plugin.js:90:38)
    at new AngularCompilerPlugin (/Users/azaeng04/projects/voss-portal/node_modules/@ngtools/webpack/src/angular_compiler_plugin.js:66:14)
    at /Users/azaeng04/projects/voss-portal/packages/cypress-angular-preprocessor/src/lib/angular-preprocessor.ts:57:9
    at Generator.next (<anonymous>)
    at /Users/azaeng04/projects/voss-portal/node_modules/tslib/tslib.js:117:75
    at new Promise (<anonymous>)
    at Object.__awaiter (/Users/azaeng04/projects/voss-portal/node_modules/tslib/tslib.js:113:16)
    at Object.handler (/Users/azaeng04/projects/voss-portal/packages/cypress-angular-preprocessor/src/lib/angular-preprocessor.ts:30:44)
    at invoke (/Users/azaeng04/Library/Caches/Cypress/6.9.1/Cypress.app/Contents/Resources/app/packages/server/lib/plugins/child/run_plugins.js:22:16)
    at /Users/azaeng04/Library/Caches/Cypress/6.9.1/Cypress.app/Contents/Resources/app/packages/server/lib/plugins/util.js:41:14
    at tryCatcher (/Users/azaeng04/Library/Caches/Cypress/6.9.1/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/util.js:16:23)
    at Function.Promise.attempt.Promise.try (/Users/azaeng04/Library/Caches/Cypress/6.9.1/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/method.js:39:29)
    at Object.wrapChildPromise (/Users/azaeng04/Library/Caches/Cypress/6.9.1/Cypress.app/Contents/Resources/app/packages/server/lib/plugins/util.js:40:23)
    at Object.wrap (/Users/azaeng04/Library/Caches/Cypress/6.9.1/Cypress.app/Contents/Resources/app/packages/server/lib/plugins/child/preprocessor.js:28:8)
    at execute (/Users/azaeng04/Library/Caches/Cypress/6.9.1/Cypress.app/Contents/Resources/app/packages/server/lib/plugins/child/run_plugins.js:119:27)
    at EventEmitter.<anonymous> (/Users/azaeng04/Library/Caches/Cypress/6.9.1/Cypress.app/Contents/Resources/app/packages/server/lib/plugins/child/run_plugins.js:202:5)
    at EventEmitter.emit (events.js:315:20)
    at process.<anonymous> (/Users/azaeng04/Library/Caches/Cypress/6.9.1/Cypress.app/Contents/Resources/app/packages/server/lib/plugins/util.js:19:22)
    at process.emit (events.js:315:20)
    at process.emit (/Users/azaeng04/Library/Caches/Cypress/6.9.1/Cypress.app/Contents/Resources/app/packages/server/node_modules/source-map-support/source-map-support.js:495:21)
    at emit (internal/child_process.js:876:12)

@Sathish787 it seems to only work find on version 11 of Angular and up. When I upgraded our project from v9 to the latest this plugin worked fine.

Thanks azaeng04.

Hi! Thank you for raising the issue and for the investigation.
We are focusing on Angular 11 and up right now.


Feature Request:  Leverage the ESP32-S3-Box3's bluetooth capabilities to pair with a bluetooth speaker

We all know the problem.... The ESP32-S3-Box3 works quite well... The microphones work well, the screen response is decent. Great little voice assistant EXCEPT for the dismal volume and audio quality. Many of us have tried workarounds such as redirecting the output to an available media player, or modifying the hardware to connect the speaker output to a external amp and speaker.  Each of these workarounds do solve the audio quality/volume issue but present new problems of their own or are plain ugly.
Why not leverage the ESP32-S3-Box3 bluetooth capabilities so that you could simply pair the device with a typical bluetooth speaker?
No hardware monkeying around except maybe to disconnect the connector for the internal speaker.  No complex yaml to adjust media player volume, save its current state and then attempt to start it all again after the assist session is complete. Also those occasional false positives that interrupt your media goes away. etc. etc.   It seem to me that simply redirecting the audio of the voice assistant to a bluetooth speaker would solve all these problems.
But is it doable?
fj

ESPHome does not support classic bluetooth/audio.
This will not be done in the near future unless somebody contributes it so I am going to close this FR.
Jesse


Entity doesn't exist in AsyncLocal exception when X-Ray tracing disabled

Hi there,
When calling GetAsyncResponseTraced, I get the following exception:
Entity doesn't exist in AsyncLocal\n at Amazon.XRay.Recorder.Core.Internal.Context.AsyncLocalContextContainer.GetEntity() at Amazon.XRay.Recorder.Handlers.System.Net.Utils.RequestUtil.ProcessRequest(Uri uri, String method, Action`1 addHeaderAction) at Amazon.XRay.Recorder.Handlers.System.Net.Utils.RequestUtil.ProcessRequest(WebRequest request) at Amazon.XRay.Recorder.Handlers.System.Net.HttpWebRequestTracingExtension.GetAsyncResponseTraced(WebRequest request)

It seems that RequestUtil.ProcessRequest is attempting to access AWSXRayRecorder.Instance.TraceContext.GetEntity even though I have disabled x-ray tracing via my configuration (debugging my application confirms x-ray tracing is disabled). This seems like a bug to me- I wouldn't expect these instrumented methods to do anything if tracing was disabled.

Hi @djluck ,
Thanks for reporting the issue. I believe this code is causing the issue. It should be part of above if block. I would fix it soon.
A PR is also welcomed.

I believe you are right @yogiraj07, I can put together a simple PR as I believe the fix will be just moving the referenced line inside the block that checks if X-ray is enabled.

I am having the same bug with TraceableSqlCommand. Should I open a new issue

@jrlang1 , please feel free to open a separate issue. I will verify and do necessary changes. A PR is also welcomed. Thanks for posting the issue.

Would be nice to get this fixed (new version on nuget). Impossible for us to use the library when we cannot ignore runtime errors.

@mbp, we are planning for a release soon. I will prioritize this release. Please stay tuned. On the side note, can you help me explain your use case ? What difficulties are you facing?
Thanks for patience,
Yogi

@yogiraj07 as part of ASP.NET Core application, we have added xray tracing. This ASP.NET Core application has some background processes (some code coming from other libraries), which we cannot change easily, so we need to set AWS_XRAY_CONTEXT_MISSING  = LOG_ERROR, which is not respected. We get exception from the same method which is mentioned in this issue (RequestUtil.ProcessRequest)

@jrlang1 , I am unable to reproduce this issue for TraceSqlCommand. Please open a separate issue and let me know more details about the issue you are facing and how to reproduce it locally.

@jrlang1 Is there likely to to be a release (even prerelease) soon? We're also struggling, as we can't debug locally with calls to live aws.

@tobymiller1 , we have planned release coming soon. I have this issue on priority. Please stay tuned and thanks for the patience.

Hello,
This has been fixed in release 2.6.0. Please refer Changelog.

I'm seeing this exception when calling AWSXRayRecorder.Instance.BeginSubsegment with our code deployed as a local Web Api instead of deployed as a Lambda. Must we prevent calls like this with preprocessor directives for AWS vs Local deployments or can this call be configured to do nothing when not in AWS land?

@Ellosaur ,
AWSXRayRecorder.Instance.BeginSubsegment in local deployment should automatically attach the subsegment to the middleware Segment.

Would you mind posting the exception stack trace?
Do you get this exception while running tests or running app? Since I wonder if you run app and have correctly instrumented the web app using instrumentor, ideally there should have been no error for local deployment.
.NET or .NET Core platform?
Is the call to AWSXRayRecorder.Instance.BeginSubsegment in asynchronous background thread or job or a part of some regular path of an incoming request?

Hi @yogiraj07, I'm using AWSXrayRecorder 2.10.1 in a dotnet core 3.1 web api app and have come across this in my local environment.
Some notes:

in my startup configure function I'm using:

if (!env.IsDevelopment())
{
    // AWS XRay tracing
    app.UseXRay("...");
}

an error was thrown within an async http request (while locally testing the web app)
I have configured error handling in startup.cs: app.UseExceptionHandler("/error");
in my error handler route, I get the XRay error in the last line shown here:

var error = HttpContext
    .Features
    .Get<IExceptionHandlerPathFeature>();

recorder.AddMetadata("ExceptionHandler", error);

The stack trace is:
Amazon.XRay.Recorder.Core.Exceptions.EntityNotAvailableException
  HResult=0x80131500
  Message=Entity doesn't exist in AsyncLocal
  Source=AWSXRayRecorder.Core
  StackTrace:
   at Amazon.XRay.Recorder.Core.Internal.Context.AsyncLocalContextContainer.GetEntity()
   at Amazon.XRay.Recorder.Core.AWSXRayRecorderImpl.AddMetadata(String key, Object value)
--- End of stack trace from previous location ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Amazon.XRay.Recorder.Core.Internal.Context.TraceContextImpl.HandleEntityMissing(IAWSXRayRecorder recorder, Exception e, String message)
   at Amazon.XRay.Recorder.Core.AWSXRayRecorderImpl.HandleEntityNotAvailableException(EntityNotAvailableException e, String message)
   at Amazon.XRay.Recorder.Core.AWSXRayRecorderImpl.AddMetadata(String key, Object value)
   at CI.LoggerSuite.Api.Controllers.ErrorController.Error() in C:\Users\Iain\projects\LoggerSuite\src\CI.LoggerSuite.Api\Controllers\ErrorController.cs:line 36
   at Microsoft.Extensions.Internal.ObjectMethodExecutor.Execute(Object target, Object[] parameters)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync()
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync()

  This exception was originally thrown at this call stack:
    [External Code]
    CI.LoggerSuite.Api.Controllers.ErrorController.Error() in ErrorController.cs
    [External Code]

hope this helps.


feat: Misc features on full mode

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

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


Firefox container not working while chrome does.

Hi,
As the topic states Chrome container is working and is able to run tests with no issue while Firefox container gives error. I think it is launching the container but is not able to connect in 1 way or the other.
org.openqa.selenium.WebDriverException: New session attempts retry count exceeded (WARNING: The server did not provide any stacktrace information)
It also gave an error that the new session timed out after 30 seconds.
Running selenoid + selenide
Environment: RHEL 7
Tried setting up proxy in capabilities.
Firewall seems not to be the issue.
Using selenoid through manual configuration because CM was not able to find docker although it is installed and updated.
Selenoid-UI can see all the capabilities/browsers/versions etc.
Json(tried many versions but the most minimalistic is below):
{
"firefox": {
"default": "64.0",
"versions": {
"64.0": {
"image": "selenoid/firefox:64.0",
"port": "4444"
}
}
},
"chrome": {
"default": "64.0",
"versions":{
"64.0":{
"image": "selenoid/vnc:chrome_64.0",
"port": "4444"
}
}
}
}
Here are the selenoid logs for firefox:
2019/02/01 08:33:17 [-] [NEW_REQUEST] [unknown] [<IP_ADDRESS>]
2019/02/01 08:33:17 [-] [NEW_REQUEST_ACCEPTED] [unknown] [<IP_ADDRESS>]
2019/02/01 08:33:17 [8] [LOCATING_SERVICE] [firefox] []
2019/02/01 08:33:17 [-] [DEFAULT_VERSION] [Using default version: 64.0]
2019/02/01 08:33:17 [8] [USING_DOCKER] [firefox] [64.0]
2019/02/01 08:33:17 [8] [CREATING_CONTAINER] [selenoid/firefox:64.0]
2019/02/01 08:33:17 [8] [STARTING_CONTAINER] [selenoid/firefox:64.0] [d5b5e1956b3fac0f7ccd0fc9fc97a040595bc2eeb1113c6a3a0872adb2d73ced]
2019/02/01 08:33:18 [8] [CONTAINER_STARTED] [selenoid/firefox:64.0] [d5b5e1956b3fac0f7ccd0fc9fc97a040595bc2eeb1113c6a3a0872adb2d73ced] [0.34s]
2019/02/01 08:33:18 [8] [SERVICE_STARTED] [selenoid/firefox:64.0] [d5b5e1956b3fac0f7ccd0fc9fc97a040595bc2eeb1113c6a3a0872adb2d73ced] [0.10s]
2019/02/01 08:33:18 [8] [PROXY_TO] [d5b5e1956b3fac0f7ccd0fc9fc97a040595bc2eeb1113c6a3a0872adb2d73ced] [http://<IP_ADDRESS>:33782]
2019/02/01 08:33:18 [8] [SESSION_ATTEMPTED] [http://<IP_ADDRESS>:33782] [1]
2019/02/01 08:33:18 [8] [SESSION_ATTEMPTED] [http://<IP_ADDRESS>:33782/wd/hub] [2]
2019/02/01 08:33:48 [8] [SESSION_ATTEMPT_TIMED_OUT] [30s]
2019/02/01 08:33:48 [8] [SESSION_FAILED] [http://<IP_ADDRESS>:33782/wd/hub] [New session attempts retry count exceeded]
2019/02/01 08:33:48 [8] [REMOVING_CONTAINER] [d5b5e1956b3fac0f7ccd0fc9fc97a040595bc2eeb1113c6a3a0872adb2d73ced]
2019/02/01 08:33:48 [8] [CONTAINER_REMOVED] [d5b5e1956b3fac0f7ccd0fc9fc97a040595bc2eeb1113c6a3a0872adb2d73ced]
Same logs but for chrome:
2019/02/01 08:39:23 [-] [NEW_REQUEST] [unknown] [<IP_ADDRESS>]
2019/02/01 08:39:23 [-] [NEW_REQUEST_ACCEPTED] [unknown] [<IP_ADDRESS>]
2019/02/01 08:39:23 [9] [LOCATING_SERVICE] [chrome] []
2019/02/01 08:39:23 [-] [DEFAULT_VERSION] [Using default version: 64.0]
2019/02/01 08:39:23 [9] [USING_DOCKER] [chrome] [64.0]
2019/02/01 08:39:23 [9] [CREATING_CONTAINER] [selenoid/vnc:chrome_64.0]
2019/02/01 08:39:23 [9] [STARTING_CONTAINER] [selenoid/vnc:chrome_64.0] [5b7d06e4e1826d3c2e95e863cbbcfd833325952475cbca3bd489dd330d8a6fbe]
2019/02/01 08:39:24 [9] [CONTAINER_STARTED] [selenoid/vnc:chrome_64.0] [5b7d06e4e1826d3c2e95e863cbbcfd833325952475cbca3bd489dd330d8a6fbe] [0.61s]
2019/02/01 08:39:24 [9] [SERVICE_STARTED] [selenoid/vnc:chrome_64.0] [5b7d06e4e1826d3c2e95e863cbbcfd833325952475cbca3bd489dd330d8a6fbe] [0.10s]
2019/02/01 08:39:24 [9] [PROXY_TO] [5b7d06e4e1826d3c2e95e863cbbcfd833325952475cbca3bd489dd330d8a6fbe] [http://<IP_ADDRESS>:33786]
2019/02/01 08:39:24 [9] [SESSION_ATTEMPTED] [http://<IP_ADDRESS>:33786] [1]
2019/02/01 08:39:25 [9] [SESSION_CREATED] [008e9f4012709ad8ef4d1d77d32d9f44] [1] [1.99s]
2019/02/01 08:39:27 [14] [SESSION_DELETED] [008e9f4012709ad8ef4d1d77d32d9f44]
2019/02/01 08:39:27 [9] [REMOVING_CONTAINER] [5b7d06e4e1826d3c2e95e863cbbcfd833325952475cbca3bd489dd330d8a6fbe]
2019/02/01 08:39:27 [9] [CONTAINER_REMOVED] [5b7d06e4e1826d3c2e95e863cbbcfd833325952475cbca3bd489dd330d8a6fbe]
Any suggestions?

@Snakebit33 For Firefox you have to use recent Selenium client version because only recent versions support new W3C approved Selenium protocol scheme. Chrome contrarily is still using old protocol version. What is your Selenium client version?

@vania-pooh Was running Selenium-java 3.6.0 but updated it to the latest version(3.141.59). The tests are written in Java as maven project. Updated Selenide also to the latest version along with other dependencies. Still the same result.
2019/02/01 12:43:17 [-] [NEW_REQUEST] [unknown] [<IP_ADDRESS>]
2019/02/01 12:43:17 [-] [NEW_REQUEST_ACCEPTED] [unknown] [<IP_ADDRESS>]
2019/02/01 12:43:17 [0] [LOCATING_SERVICE] [firefox] []
2019/02/01 12:43:17 [-] [DEFAULT_VERSION] [Using default version: 64.0]
2019/02/01 12:43:17 [0] [USING_DOCKER] [firefox] [64.0]
2019/02/01 12:43:17 [0] [CREATING_CONTAINER] [selenoid/firefox:64.0]
2019/02/01 12:43:17 [0] [STARTING_CONTAINER] [selenoid/firefox:64.0] [95450c3e6e14413103afb3da37bdcefa5681e436dd28c6a94d393242c00f93f1]
2019/02/01 12:43:18 [0] [CONTAINER_STARTED] [selenoid/firefox:64.0] [95450c3e6e14413103afb3da37bdcefa5681e436dd28c6a94d393242c00f93f1] [0.36s]
2019/02/01 12:43:18 [0] [SERVICE_STARTED] [selenoid/firefox:64.0] [95450c3e6e14413103afb3da37bdcefa5681e436dd28c6a94d393242c00f93f1] [0.10s]
2019/02/01 12:43:18 [0] [PROXY_TO] [95450c3e6e14413103afb3da37bdcefa5681e436dd28c6a94d393242c00f93f1] [http://<IP_ADDRESS>:33812]
2019/02/01 12:43:18 [0] [SESSION_ATTEMPTED] [http://<IP_ADDRESS>:33812] [1]
2019/02/01 12:43:18 [0] [SESSION_ATTEMPTED] [http://<IP_ADDRESS>:33812/wd/hub] [2]
2019/02/01 12:43:48 [0] [SESSION_ATTEMPT_TIMED_OUT] [30s]
2019/02/01 12:43:48 [0] [SESSION_FAILED] [http://<IP_ADDRESS>:33812/wd/hub] [New session attempts retry count exceeded]
2019/02/01 12:43:48 [0] [REMOVING_CONTAINER] [95450c3e6e14413103afb3da37bdcefa5681e436dd28c6a94d393242c00f93f1]
2019/02/01 12:43:48 [0] [CONTAINER_REMOVED] [95450c3e6e14413103afb3da37bdcefa5681e436dd28c6a94d393242c00f93f1]

@Snakebit33 that should work with 3.6.0. Could you take a look at firefox image logs while tests are running?

As i understand, you want this ones:
Waiting xvfb...
2019/02/01 13:06:30 [-] [INIT] [Loading configuration files...]
2019/02/01 13:06:30 [-] [INIT] [Loaded configuration from /etc/selenoid/browsers.json]
2019/02/01 13:06:30 [-] [INIT] [Using default containers log configuration because of: read error: open config/container-logs.json: no such file or directory]
2019/02/01 13:06:30 [-] [INIT] [Timezone: UTC]
2019/02/01 13:06:30 [-] [INIT] [Listening on :4444]
2019/02/01 13:06:30 [-] [NEW_REQUEST] [unknown] [<IP_ADDRESS>]
2019/02/01 13:06:30 [-] [NEW_REQUEST_ACCEPTED] [unknown] [<IP_ADDRESS>]
2019/02/01 13:06:30 [0] [LOCATING_SERVICE] [firefox] []
2019/02/01 13:06:30 [-] [DEFAULT_VERSION] [Using default version: 64.0]
2019/02/01 13:06:30 [0] [USING_DRIVER] [firefox] [64.0]
2019/02/01 13:06:30 [0] [ALLOCATING_PORT]
2019/02/01 13:06:30 [0] [ALLOCATED_PORT] [40551]
2019/02/01 13:06:30 [0] [STARTING_PROCESS] [[/usr/bin/geckodriver --host :: --log debug --port=40551]]
1549026390831   geckodriver     ERROR   Address family not supported by protocol (os error 97)

1549026390831 geckodriver ERROR Address family not supported by protocol (os error 97)

This is because of --host :: flag in entrypoint.

@Snakebit33 you have to rebuild Firefox image from sources: https://github.com/aerokube/selenoid-images/ Another approach is to configure IPv6 on your host.

Closing because of inactivity. Feel free to reopen if still having questions.


Shorten version number

Part 2 of #595
From <IP_ADDRESS>4
to   17.8.20
Travis has been behaving well and deployments happening in the middle of UTC day, so same-day deployments are far from possible — even if that does happen we only lose a day anyway.

Wouldn't this prevent us from doing manual urgent bug fix releases? (If it already had done a manual release that day)

It would, the code in #595 would solve that issue. But then I thought... when would it ever be necessary to ship Refined GitHub now instead of within 24 hours?

If some changes on GitHub caused Refined GitHub to totally break, we would want to ship a fix right away. Could easily happen as we're playing on someone else's lawn.

Understandable, but #675 totally broke the extension and it's been gone unfixed for 20 hours. 😜

@bfred-it I did not know about that: https://github.com/sindresorhus/refined-github/issues/675#issuecomment-324538136
Can you message me on Twitter if you notice before me next time? And I'll fix it right away.

Ok, this now addresses your concern and closes #595 :)

Shouldn't <IP_ADDRESS>1 follow semver and be 17.8.29+1451? (Build metadata)

Chrome doesn't follow semver, it only allows numbers: https://developer.chrome.com/extensions/manifest/version

It looks like I hit a roadblock though. I have to store the cache somewhere else because travis only retrieves at before_build and stores after_build, which happens before the deployment script saves the version.
Do you know of a free REST service that allows to store small data?

Is that overkill just to get a slightly shorter version number that probably no one will even see?

Is that overkill just to get a slightly shorter version number that probably no one will even see?

Except everyone sees it twice on the homepage 😛

So let us just drop those badges. I don't see the point of them, to be honest. Alternatively, we could move them into a maintaining.md file just for us. Example: https://github.com/avajs/ava/blob/master/maintaining.md What do you think?

I find them useful to check whats the last release (I think it appears on the chrome store almost instantly?) and if has already been approved on AMO. Thus, when something doesn't work (but AMO lags behind once again) I can check if the bug has already been fixed (and just didn't reach me yet) before I'm creating an issue.

You could also check this in a maintaining.md file. It's not essential for most users.

Sure, I could, no problem. Just please don't remove them entirely :)

I'd rather have them there, it's always one-click away to check if both versions have been published and they don't bother me that much 😁


Bump version 2.8.1

updated to version 2.8.1
removed no longer existing legacy and non-v2 code

Signed-off-by: Lukas Hauser<EMAIL_ADDRESS>

@bitsf @steven-zou @wy65701436 What do you think about that PR? Am I right, that there is only one swagger definition left?

updated from 2.8.1 to 2.8.2

LGTM; not a blocker for Harbor-CLI.


"404 page not found" for issue reporting link

Link to Issue Reporting is wrong on
https://github.com/intel/DML/tree/develop#how-to-report-issues

Done


Fix for SC

SC updated their code again and now the event bus is located @ index 16 again. Could be worth getting this validated by someone else before pulling this in though.

I was linked into here, but sorry, I still don't understand how to fix the problem...

@llisama If you are not comfortable with running unpacked extensions and using git then you'll have to wait for @david-sabata to review/merge this and get another release ready I'm afraid.

I'm arrived with the same problem, so now i see the satus.. I would say a "Hurry Up", but i need to say "Thanks for the app!!"
@inverse: Whats are the "unpacked extensions" in this case?

@ledgeri I've never used Opera so I don't know if this is possible.

@inverse As i realised the keyword here maybe can be the "based on Chromium": the Chrome addons can be used on Opera, and Vica versa... So please tell me about what is your solution... i will try it, and whatever is the final result,we learned one more thing...

Basically you will need to find a way to install the extension within Opera from the source code from the branch that I have put up here on github. I've not used Opera so I am unsure how this is done but I am sure it's pretty similar to in Chrome. Check the readme for more information.

@inverse, hiya, is it easily explainable? to run unpacked extensions/git?

@llisama https://developer.chrome.com/extensions/getstarted#unpacked that is what i found, but not tried yet... (i had other things to do..)


Apple IIe version does not do LineFeed when using the STAT Program on the Virtual II Emulator

When I ran the STAT program on the Virtual II Emulator (MAC OS), the output from STAT just over prints each line of the output and then places a PROMPT in col 1 instead of 0.

Yes, this is a now-fixed bug in llvm-mos: https://github.com/llvm-mos/llvm-mos-sdk/pull/112 (Or, more accurately, in some of my cpm65 tooling in llvm-mos.) The fix has been merged so once they make a release this should go away.

Duplicate: https://github.com/llvm-mos/llvm-mos-sdk/pull/112


Model Alternative Key

To be able to specify an alternative key. For example; a country or currency alpha code, or a URL slug, etc…
Added $altKey property, findByKey($key), findByIdKey($idKey), saveByKey($key, $data), saveByIdKey($idKey, $data), updateByKey($key, $data), updateByIdKey($idKey, $data), deleteByKey($key) and deleteByIdKey($idKey) public methods, and findBy($byKeys, $value), saveBy($byKeys, $data), updateBy($byKeys, $key, $data) and deleteBy($byKeys, $key, bool $purge = false) protected methods.
Issue: #428
Signed-off-by: Kristian Matthews<EMAIL_ADDRESS>

Are there any Model tests that I'm unaware of? I'm not sure how to run database tests locally either.
This was the implementation I was thinking of, let me know your thoughts, and when agreed I'll add the documentation.

Are there any Model tests that I'm unaware of?

See https://github.com/bcit-ci/CodeIgniter4/blob/develop/tests/system/Database/Live/ModelTest.php.

I'm not sure how to run database tests locally either.

See https://github.com/bcit-ci/CodeIgniter4/tree/develop/tests#setup.

@kenjis Thanks for pointing me to the model tests, I think we need some documentation on running database tests.

@EpicKris Here's what we have currently: https://bcit-ci.github.io/CodeIgniter4/general/testing.html#testing-your-database
Does that help?

I'm not 100% on the implementation, honestly. A number of the items, like findByKey() and the like can already be handled just fine without adding a bunch of new methods. The way I thought you might implement it was to add a withKey method, or something, that would temporarily override the primary key and would be used for save/update type methods. Similar to the soft delete functionality.
It's pretty late and I'm getting ready to crash, so I'll take a better look at this in the morning.

@lonnieezell I agree with your solution, this was done quickly and obviously wasn't a good solution, I'll re-work this when I've got some time.
Let me know if you have any other thoughts after taking another look in the morning.

@lonnieezell Is this more in-line with what you had in mind?

@EpicKris Conceptually, yes. I'd like to see tests on this, of course. Among those tests, please ensure you can have a primary key or alt key that is an array, since a number of database platforms support that.
Oh yeah, and docs. :)
Thanks.

@lonnieezell Sorry for being quiet the last few months, things have been very busy, I'd like to get these tests and docs done and committed in the new few weeks though!

@EpicKris Glad to hear you're still with us! :) Hope the project went well, and I'd be interested to hear your experiences with CI4 since it sounded like you were actually building something on it? Shoot me an email with any good points/pain points. I'd love to hear them.
And glad you'll be able to wrap this up. I was wondering which PRs were abandoned and which I would need to step in and finish.

@lonnieezell The project went fairly well and is ongoing. I'll get an email across to you with my thoughts so far!
Looks like Postgres tests are failing, I'm not able to test these myself, would someone be able to take a look for me?

Is this PR still alive?
not to be too picky, but we expect commits to be GPG-signed :)

@jim-parry This PR is still alive, although it looks like the Postgres tests are failing and I'm not able to test these myself and would need someone to be able to take a look for me.
It also seems like I need to resolve some conflicts which I'll get on to as soon as possible.

Is this still alive?

I don't find this one a super-high priority item. Seeing as how it hasn't been touched 2 years, I'm going to say no one else does either. Closing.


About result visualization~~

Hello, I have run the test.py with the argoverse forecasting dataset and have got an submission.h5 file. Can you offer the visualization code for me
Thanks a lot~

Thank you for your interest in this work.  However, I don't have code to visualize the submission. h5 file.  I usually use a visualization function at the end of each step in validation/testing, rather than using the submission. h5 file.  Since my visualization code is very simple and not aesthetically pleasing, I didn't include it in this repository.  If you have any difficulties with visualization, please feel free to contact me via email at<EMAIL_ADDRESS>


edit - convert old presets to settings

As we migrate clients to pype 3.0, we'll need a quick way of promoting old studio presets to the new settings format.
Ideally this should be done using the proposed patch system in #630

Ideally this should be done using the proposed patch system

This will require some manual inputs. At least define paths to previous pype-config and studio overrides. The patch system is more "automated" patcher, at least from what I saw, or is there a way how to define these inputs?

Pype 2 / Pype 3
How to deal with Pype 2/Pype 3 conversion? Like single root -> multi root? Convert all to multiroot with "work" root and update all representations in database?
Do we expect studio will use both Pype 2 and Pype 3?
If old projects would stay on Pype 2 and Pype 3 will be used on newer projects how would we handle differences in code for Mongo DB storing and changes in ftrack hadled with ftrack event server (sync to avalon)?

Like single root -> multi root? Convert all to multiroot with "work" root and update all representations in database?

Yes this would be ideal and it's pretty much the point of patches, to be able to update database or other settings to the new pype version.

If old projects would stay on Pype 2 and Pype 3 will be used on newer projects how would we handle differences in code for Mongo DB storing and changes in ftrack hadled with ftrack event server (sync to avalon)?

tricky...we have to consider how to best manage this. Maybe a good solution would be to clone avalon database at the point of upgrade, so we could point 2 and 3 to different databases until all 2.x project are finished. That way we could run two event servers without issues. We might just need to have different trigger attributes for the auto sync for 2 and 3

Notes moved from PR https://github.com/pypeclub/pype/pull/1129
Potential changes in current settings
1.) we allow change mongo database and collection names where ftrack events are stored - do we want allow to change that?
2.) Ftrack additional paths are now without platform specification so works only for single platform
- expanding with environment is not implemented and requires to set an environments
3.) in System settings General category we have "Additional Project Plugins Path"
- in Pype 2 it was used to determine folder where are subfolders with project name's but I'm not sure if that make sence now?
- what if we move "Additional Project Plugins Path" to project settings where would be possible to set multiple different paths which would give ability to set paths to plugins that are common for multiple projects
- the value is not used now in code (at least from what I saw) so we should at least use the value from it and use as expected
- BTW how do we plan to send those additional plugins to artist?
- How do we add ability to have settings for plugins that are not in pype?
4.) remove studio_soft and keep it as optional environment variable in general environments (as it is less used than used)

3.) "Additional Project Plugins Path" will be moved to project settings where it will be multiplatform and multipath entity and won't work as in Pype 2

Issues

presets["ftrack"]["sync_to_avalon"]["status_name_change"] is not used but has ability to be set in both Pype 2 and 3

removed feature? (accidentally)

this has been finished gradually and is now obsolete


csv_validation added

Please check out the new script which enables validation and score metrics on CSV Datasets using command line. Improvements and constructive criticism is welcome.

@AdityaKane2001  Hello 👋 .  How do I calculate validation loss for this model?


Query: Significance of "baseAddress" while describing memory map.

I am not sure what's the significance of baseAddress defined in pio.json5.
Going through the scripts of duh-export-scala, I realize baseAddress has no role to play. The scala generated as a result don't have the mention of any baseAddress for the memory map.
However, the duh-export-regmap makes use of baseAddress and it reflects in the output of this script.
My query is twofold:

Is there any significance of baseAddress when I define my register map. If yes, where do I see the difference baseAddress makes? If no, at what memory location does the registers rest?

What is the use case of duh-export-regmap. Is it a must in order to access and configure registers using let's say apb bus ?

@drom, could you answer @saurabhsingh-pvips's question about baseAddress? I am also unclear about the purpose of the baseAddress property in the DUH document.
Regarding duh-export-regmap, that is only meant for creating a Chisel RegisterRouter instance, which is an AMBA- or TileLink-addressable set of registers which can then be connected to a block of logic. You do not need to use that if the block itself already has memory-mapped registers implemented within the design. See https://github.com/sifive/duh-scala/blob/5aedd4129be449f51547c8a4813dd27891c19912/README.md#exporting-a-registerrouter for more information about duh-export-regmap.

baseAddress specifies the starting address of the address space. The address space numbering normally starts at 0. Some address spaces may use offset addressing (starting at a number other than 0) so the base address element can be used to designate this information.
Agree, that baseAddress should be used by duh-scala and construct Object Model.

@drom
So is the understanding correct that the baseAddress described in duh document should be same as what is mentioned in exported scala? Like in pio's case, the baseAddress for bus as ctrl_base mentioned in class WithpioTop in the file pio.scala. Or do these two addresses point to different entities?


opusfile: add "dev" output

opusfile is a a popular game dependency via SDL2_mixer. Split it's dev output to separate store path to reduce runtime closure size.
While at it amend games's include paths.
Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

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

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

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

@ofborg eval


cloudservice buildprofile (preparation for 5.0 release)

This PR adds support to build against

the uber.jar of AEM 6.4 (profile "classic", default)
the API of the AEM as a Cloud Service (profile "cloudservice")

to the feature/2280-prepare-release-500 branch.

Pull Request Test Coverage Report for Build 5986

0 of 3 (0.0%)  changed or added relevant lines in 1 file are covered.
103 unchanged lines in 4 files lost coverage.
Overall coverage decreased (-0.4%) to 54.55%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

bundle/src/main/java/com/adobe/acs/commons/indesign/dynamicdeckdynamo/workflow/processes/impl/DynamicDeckBackTrackProcess.java
0
3
0.0%

Files with Coverage Reduction
New Missed Lines
%

bundle/src/main/java/com/adobe/acs/commons/util/impl/Activator.java
1
82.35%

bundle/src/main/java/com/adobe/acs/commons/models/injectors/annotation/impl/ChildResourceFromRequestAnnotationProcessorFactory.java
11
0%

bundle/src/main/java/com/adobe/acs/commons/models/injectors/impl/ChildResourceFromRequestInjector.java
44
0%

bundle/src/main/java/com/adobe/acs/commons/util/OverridePathSlingRequestWrapper.java
47
0%

Totals

Change from base Build 5979:
-0.4%

Covered Lines:
15460

Relevant Lines:
28341

💛  - Coveralls

I extended the travis builds to include a run with the cloudservice profile. I had to disable the oakpal reporting actions for it, as it only makes sense on the classic profile, which needs to support both AEM 6.4 and AEM 6.5.
I don't like the way how I had to mess with the two profiles, but I haven't found any better way which worked for me. Especially you need to specify "-Dprofile=classic" if you want a "simple build" (activeByDefault isn't working because on Travis there is another jdk8 profile active). I appreciate any feedback to improve this and reduce the profile definitions.
@adamcin I found that I had to hardcode the buildinfo files with the package versions. Would love if the tests pick up all available files themselves.
Also for the 2 different profiles it would be good to specify the individual checks (AEM 6.x and/or CS) directly in the POM instead to hardcode them in Java and move the executions into the profiles.


TH: Added burger cat picture and quote

Signed-off-by: numberth<EMAIL_ADDRESS>

Oops! Missing changelog entry!


[fine-tuning] Integrate a skeleton for model quality evaluation

/test rhoai-light fine_tuning quality_evaluation

/test rhoai-light fine_tuning quality_evaluation

/test rhoai-light fine_tuning quality_evaluation

quality skeleton test passed

/test rhoai-light fine_tuning quality_evaluation

quality test passed internally

fine-tuning smoke test passed, mergin!


Fix the experiment check while getting remote debugger arguments.

For #8685

[x] Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR)
[x] Title summarizes what is changing
[x] Unit tests & system/integration tests are added/updated
[x] package-lock.json has been regenerated by running npm install (if dependencies have changed)

Codecov Report

Merging #8808 into master will decrease coverage by 0.32%.
The diff coverage is 83.33%.

@@            Coverage Diff             @@
##           master    #8808      +/-   ##
==========================================
- Coverage   58.37%   58.04%   -0.33%
==========================================
  Files         526      526
  Lines       27180    26851     -329
  Branches     4039     4044       +5
==========================================
- Hits        15866    15587     -279
+ Misses      10443    10392      -51
- Partials      871      872       +1

Impacted Files
Coverage Δ

src/client/api.ts
81.81% <83.33%> (+1.81%)
:arrow_up:

...nt/datascience/jupyter/invalidNotebookFileError.ts
0% <0%> (-60%)
:arrow_down:

...science/jupyter/jupyterKernelPromiseFailedError.ts
0% <0%> (-33.34%)
:arrow_down:

...ent/datascience/jupyter/jupyterWaitForIdleError.ts
0% <0%> (-33.34%)
:arrow_down:

src/client/formatters/serviceRegistry.ts
50% <0%> (-25%)
:arrow_down:

.../client/datascience/jupyter/jupyterConnectError.ts
50% <0%> (-25%)
:arrow_down:

src/client/language/characters.ts
14.7% <0%> (-19.58%)
:arrow_down:

...cience/jupyter/jupyterDebuggerNotInstalledError.ts
33.33% <0%> (-16.67%)
:arrow_down:

src/client/common/utils/platform.ts
64.7% <0%> (-11.77%)
:arrow_down:

...ience/jupyter/jupyterDebuggerRemoteNotSupported.ts
50% <0%> (-10%)
:arrow_down:

... and 30 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 57df230...67aecd7. Read the comment docs.


Default cache directory

It would be useful if siibra tried to recover from non-writeable cache directory e.g. by using tempfile.mkdtemp similarly to how matplotlib handles the same situation:
https://github.com/matplotlib/matplotlib/blob/c328fbce6128472d445d2f4dae12bb55d44b5db1/lib/matplotlib/__init__.py#L482
It would streamline the notebooks in the EBRAINS lab.

Thanks for reporting this, we will check the exact behaviour in the latest version and implement as you suggest.

Implemented in 64e12e86


Issue #SB-12809 fix:Updated videojs-vjsdownload libs for enable download button for streaming.

Ref: https://project-sunbird.atlassian.net/browse/SB-12809
Description:
Download video on DIKSHA portal is not available.

I dont see any scenarios listed in JIRA issue.
What scenarios did you verified for this?
The changes will affect mobile as well
• You have to verify portal & mobile both
• You have to verify content having streaming URL & not
Sync-up with @gouravmore or @venkateshwarans


Uncaught TypeError: Class constructor  cannot be invoked without 'new'

Background:
I'm trying to switch from using polymer build to using a gulpfile based on the one from :
https://github.com/PolymerElements/generator-polymer-init-custom-build
This is so I can add a version string into my app.
I have a slightly unsual app structure:

a plain old index.html that displays my first page - pretty much just a logo.
on window load, I then:
a. register a service worker
b. add an event listener for WebComponentsReady which loads my-app.
c. add a script tag for webcomponents-loader.js
in my-app, I have a few lazy-loaded elements using lazy-imports-mixin.html.

As mentioned, my gulpfile to build based on the custom psk build gulpfile, with some fixes shown in the following issue:
https://github.com/PolymerElements/generator-polymer-init-custom-build/issues/71
I have disabled bundling, as well as adding the code to add a version number - nothing of much consequence to this issue, I think.
If I put in console logs, the loading all seems to happen in the correct order, up until my-app is loaded, at which point, I get the error:
Uncaught TypeError: Class constructor  cannot be invoked without 'new'

I find this problem is similar to the following, which @rictic mentions using webcomponents-es5-loader.js, but I don't have that file in webcomponentsjs :
https://github.com/Polymer/polymer-cli/issues/601
and this problem is the same error message, though I'm not sure it is similar:
https://stackoverflow.com/questions/43520535/class-constructor-polymerelement-cannot-be-invoked-without-new
A suggestion in the above is to add custom-elements-es5-adapter.js (due to using webcomponents-loader.js), but I must already have that since it is in the call stack:
Uncaught TypeError: Class constructor  cannot be invoked without 'new'
    at HTMLElement.MyApp (ant-app.html:131)
    at new j (custom-elements-es5-adapter.js:4)
    at CustomElementRegistry.value (custom-elements-es5-adapter.js:4)
    at my-app.html:721

I was using polymer serve to serve my build/ directory, and one suggestion in the SO above suggests turning off the compile with --compile never, which I am doing...so it hasn't made any difference.
@justinfagnani requests cli version and ua string:
$ polymer --version
1.5.7

Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36

I hope someone can point me in the correct direction.
In the meantime, I'll attempt to turn the basic PSK-custom into a test case showing the same problem.

I have the same issue here. Has anyone ever solved this?


Adding a root level item experience

VSCode Version: 1.2.0
OS Version: OS X 10.11

Steps to Reproduce:

Open a Folder in VS Code that has no root files, only Folders
Try to create an item at the root and not inside any of the folders.

If a folder is selected, items are created as a child of it. If a file is selected, new items are created along side that file. This makes adding "root" items a bit tricky, and if your project has no files in the root, only folders, seemingly impossible.

https://github.com/Microsoft/vscode/issues/1043


[WIP] Initial implementation of ReceiveMessageBatch.

Still WIP implementation of #6440.  Not prepared for merging.
Current to-dos:

[ ] Make decisions on all "// BLOCKER:" comments
[x] Ensure Abandon/Complete works as expected
[x] Make RenewLock and AbandonAsync try a batched renewal first, fallback by renewing individuals to weed out failed ones, then reset to batched attempts
[ ] Split into non-breaking and breaking-change requests for api surface breaking changes.

Can one of the admins verify this patch?

Thank you, @brandondahler, for your contribution.
With a new version of the Service Bus client in progress and having a ReceiveBatch method available and this being stalled for some time, I'm going to close this out.    @nemakam, @brandondahler, please feel free to reopen if this is something that you'd like to pursue.

We are considering this. There is no timeline yet.

@brandondahler Just hope to reach out again and follow up on @nemakam's previous comment. Please let us know if you are still interested in this feature.

@nemakam, @DorothySun216 at this point I no longer have a personal stake in this feature nor do I believe it would be worth my effort, given the age of this PR and the current design and implementation that's happening in the new Azure.Messaging.ServiceBus SDK.
I'd be happy to answer any specific questions or provide my personal opinions on things if someone else wants to pick up where this PR left off; however, I don't have any plans to do so myself.

@brandondahler Thanks so much for your reply. I will reach out if I am going to pick up this PR. Does Azure.Messaging.ServiceBus supports batched message handler for receive?

I would personally see this feature being implemented as we are currently handling around 20-30k messages /minute using service fabric and docker containers in a bronze tier on 3 nodes.
The process on this queue is to just receive The message and store it in a SQL db without additional lookups. The SQL is also hosted in azure as general purpose, 2 cores, however I don't think this is our bottle neck? Would rather think that is the retrieve from servicebus and that batched fetch for this workflow would be beneficial
We register our receiver using Microsoft.Azure.ServiceBus.Core and the code below. Current prefect count for this queue is 150 so we not allocate up all 1000 connection limit as more workers is also using the same namespace
 new MessageReceiver(ServiceBusConnectionProperties.ServiceBusConnectionString, ServiceBusConnectionProperties.QueueName, prefetchCount: ServiceBusConnectionProperties.PreFetchCount);


NR-38000-Blazor Web Assembly quickstart.

Summary
Ticket Url: https://issues.newrelic.com/browse/NR-38000
Description: This PR has the new quickstart integration named "Blazor Web Assembly"
A concise description of the changes being introduced. Please review the pre-merge checklist section to validate this pull request is ready for review and merge. If it is not ready, please mark the pull request as a draft.

Pre merge checklist

[ ] Did you check you NRQL syntax? - Does it work?
[ ] Did you include an InstallPlan and Documentation reference?
[ ] Are all documentation links publically accessible?
[ ] Did you check your descriptive content for voice and tone?
[ ] Did you check your descriptive content for spelling and grammar errors?

Dashboards

[ ] Does the PR contain a screenshot for each of your dashboards?
[ ] Do your screenshots show data?
[ ] Has the sanitization script been run on each dashboard?

Alerts

[ ] Did you check that your alerts actually work?

Screenshots:

Updated preview link: https://newrelic.com/instant-observability/preview?pr=1520&quickstart=blazor-web-assembly


Benchmark profile validation

Many of the changes to implement profile validation are likely to impact write performance:

Parsing StructureDefinition resources on the fly at write time
Validating multiple profiles, which involves re-validating base resource rules
More expensive validation checks including pattern matching on values and slice validation

Before releasing this functionality to customers, we should benchmark REST write operations to ensure they don't get significantly slower.  One potential guess for a target latency is ~50 ms per write under reasonable load

On localhost this generates a report comparing performance before and after changes.
Code found here: https://github.com/medplum/medplum/tree/main/packages/generator


Can not start <IP_ADDRESS> on Amazon Linux 2023, but 2.6 works fine.

Hi all,
I am user of AWS cloud, my instance type is c7g.4xlarge(Graviton3 CPU, aarch64) with OS Amazon Linux 2023.
I can build <IP_ADDRESS> version successfully , taosBenchmark runs well.

When I build <IP_ADDRESS> on the same instance type and OS, it shows successfully.
But failed to start taosd:

I check logs, it show:
......

Can you check what should I do ?
Thanks.

Looks like you're trying to build TDEngine, not InfluxDB. Might want to check there.


Allow for lenient header parsing with simple newline.

The header requires to have CRLF line endings, so for
end of headers that would be two of these: \r\n\r\n.
For 'manual' speaking of the protocol on the shell it would
be desirable to have a 'lenient' mode that accepts
simple newlines. Add this as a possible mode with
a new default parameter to the constructor
"strict_crlf_header_separation" (default true).
Signed-off-by: Henner Zeller<EMAIL_ADDRESS>

Codecov Report

Merging #981 (00b1aa5) into master (43375d7) will increase coverage by 0.00%.
The diff coverage is 100.00%.

:exclamation: Current head 00b1aa5 differs from pull request most recent head 5c5d5aa. Consider uploading reports for the commit 5c5d5aa to get more accurate results

@@           Coverage Diff           @@
##           master     #981   +/-   ##
=======================================
  Coverage   92.79%   92.79%
=======================================
  Files         322      322
  Lines       20974    20979    +5
=======================================
+ Hits        19463    19468    +5
  Misses       1511     1511

Impacted Files
Coverage Δ

common/lsp/message-stream-splitter.cc
100.00% <100.00%> (ø)

common/lsp/message-stream-splitter.h
100.00% <100.00%> (ø)

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 43375d7...5c5d5aa. Read the comment docs.


Add coder academy bootcamp in Australia

Coder Academy operates Australia’s only accredited bootcamp.  We provide unique, innovative, and industry-driven educational experiences in Sydney, Melbourne, and Brisbane to equip Australians with the in-demand coding and technology skills they'll need to tackle the future of work.
Coder Academy's website:
https://coderacademy.edu.au/
Coder Academy's year long course:
https://coderacademy.edu.au/coding-courses/coding-bootcamps/gentech

@gamesfreak26 Pull request merged. Thank you!


add language specific options and tests for using different images

New:

New configuration for matches: languageSpecificAgentOptions, which takes a object mapping language extensions to agent options to override with. Tested its capability to allow different docker images to be used for each language (reducing a lot of overhead)
Added a new file to pull all images used for testing

Notes:

Should use smaller alpine images with just tools for that language and bash for testing
Future, provide template docker images with a lot of prepackaged stuff e.g common js, python, golang packages

Codecov Report

Merging #105 into master will decrease coverage by 0.07%.
The diff coverage is 71.42%.

@@            Coverage Diff             @@
##           master     #105      +/-   ##
==========================================
- Coverage   70.20%   70.12%   -0.08%
==========================================
  Files          49       49
  Lines        3722     3726       +4
  Branches      635      638       +3
==========================================
  Hits         2613     2613
- Misses        851      854       +3
- Partials      258      259       +1

Impacted Files
Coverage Δ

src/Match/index.ts
81.34% <ø> (ø)

src/Agent/index.ts
81.35% <71.42%> (-0.07%)
:arrow_down:

src/Tournament/Elimination/index.ts
69.23% <0.00%> (-2.57%)
:arrow_down:

src/Tournament/Ladder/index.ts
72.69% <0.00%> (+0.37%)
:arrow_up:

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 24f9419...c8bd8ee. Read the comment docs.


Should we be using hard-rejection?

In some of our repos, we use the hard-rejection module during unit tests to ensure we don't allow rejected promises in passing tests.  However - I think the --throw-deprecation flag we use in our shared mocha options should protect us, since unhandled promise rejections are treated as throws.
@bcoe what's your feel on this one?  I found 5 of our repos that use this, and it's all for unit tests.  Should we drop this dep?

there's actually some work happening in Node.js right now on this topic:

@JustinBeckwith the flag is going to protect you in case no unhandledRejection hook is attached (there won't be any deprecation warning in case the hook is used and therefore the flag won't have any effect). I recommend to use the hard-rejection module as well.
@bcoe I will try to backport the functionality down to Node.js 8 but that might take a while.

@BridgeAR if we do backport your work to all active release lines, what would the advantage be of using hard-rejection over NODE_OPTIONS=--unhandled-rejections=strict? (out of curiosity).

You can use the module right away while the only backport minors from time to time, so it'll take a while until this lands in the releases.

Since I don't think we have immediate plans here, I'm closing this out ✌


Own solution not displayed on kata solutions page

My solution passed for this particular kata and was submitted. It doesn't show up on the all solutions page or the my solutions page. It shows up for "Compare with my solution" on the solutions page, and "Past solutions" on the kata trainer page.
The kata this has occurred on is Regexp Basics - is it a eight bit signed number?

Duplicate of #33. Maybe related to #49.


Emotes from alternating emote categories not working

When posting a message containing emotes from alternating emote sets, it doesn't seem to work as intended. For example this message:
Kappa KappaCool Kappa KappaCool Kappa KappaCool
It seems to be a bit "random" which category works, but for me all the Kappas (Twitch global) work, but only the last KappaCool. (BTTV) Sometimes the message is fixed later when new messages are posted.

Yeah it's a bit finicky for some reason. If you switch channels and come back it should look fine. This is unfortunately low on the priority list as it is mostly cosmetic and I have other things to work on.


How about the performance of you net？

Could you tell me about the performance of your code on VOC2007 dataset? thanks

sorry, I have not compute the map, I only test it on some images


Wkb writer

Created SpatialRDDWriterTest.java for testing the function and potentially more SpatialRDD Writers
Is this PR related to a proposed Issue?
Implement WKB writer #399
What changes were proposed in this PR?
Added saveAsWKB function
How was this patch tested?
Added SpatialRDDWriterTest.java for testing the function
Did this PR include necessary documentation updates?
yes. at rdd.md

@netanel246 Thanks for your contribution!


Federation Foundation for identity conception full journey

Todo:

Plan out the data identity stores

ef migration is missing a lot configuration

Simplify the client allow origin

Have got the relation for Clients and Origins correct has design

Now its has not shadow relationship


Docker Image

Hi,
I was wondering if there is an already configured image on DockerHub, if not is there any plan to have one. Will be really efficient for quick testing of the environment.
Thank you

Hi,
Thanks for your question. Where possible we do try and make utilities available for immediate consumption. In the case of jmstestp (and cphtestp), there is a need for acceptance of the license terms of the MQ client. We do try and make the process as easy as possible (and include the relevant instructions) for users to create their own images.
Sam


pgsolver: init at 4.1

Motivation for this change
New package for nixpkgs
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build pgsolver

Merged as f6c363f81dbc43e02f16703620cb5315f66559e9


Add option for scheduling disk snapshot

Description
Add option for scheduling disk snapshot
Use case
It would be useful to be able to schedule disk snapshot action.

Progress Status

[ ] Branch created
[ ] Code committed to development branch
[ ] Testing - QA
[ ] Documentation
[ ] Release notes - resolved issues, compatibility, known issues
[ ] Code committed to upstream release/hotfix branches
[ ] Documentation committed to upstream release/hotfix branches

Already done


trivy: 0.50.4 -> 0.51.1

Diff: https://github.com/aquasecurity/trivy/compare/refs/tags/v0.50.4...v0.51.1
Changelog: https://github.com/aquasecurity/trivy/releases/tag/v0.51.1
Description of changes

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

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

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

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

1 package built:

trivy


User init potential vulnerability

Hello Miguel,
Based on the current code at in User.init, users with no email will be automatically given the admin role if the FLASKY_ADMIN environment variable isn't set. Would it not be more prudent to check if User.email is set as well by updating the line to:
if self.email and self.email == current_app.config['FLASKY_ADMIN']:

Thanks

It does not hurt to add that check, but a user with an empty email will not be able to register, the registration form does not allow empty emails.

Yes, you're right. I only spotted this issue when i was using the shell to create users.


add fuseLoops macro to fuse loops in Nim

Fusing the loops in this context means the equivalent of OpenMP's collapse statement, i.e. merging multiple nested loops into a single loop.
One can use the nofuse argument to indicate a nested loop should not be fused.
The following code shows the essentials:
fuseLoops:
  for i in 0 ..< N:
    let x = i * 2
    for j in 0 ..< T:
      let z = x * j
      echo i, j, x, z
    echo x
# Becomes:
# for idx_553648168 in 0 ..< N * T:
#   let i = idx_553648168 div T
#   let j = idx_553648168 mod T
#   let x = i * 2
#   let z = x * j
#   echo i, j, x, z
#   echo x

fuseLoops:
  for i in 0 ..< N:
    let x = i * 2
    for j in 0 ..< T:
      let z = x * j
      echo i, j, x, z
      for k in nofuse(0 ..< T):
        echo k
    echo x
# Becomes:
# for idx_553648190 in 0 ..< N * T:
#   let i = idx_553648190 div T
#   let j = idx_553648190 mod T
#   let x = i * 2
#   let z = x * j
#   echo i, j, x, z
#   for k in nofuse(0 ..< T):
#     echo k
#   echo x

fuseLoops("parallel for"):
  for i in 0 ..< N:
    let x = i * 2
    for j in 0 ..< T:
      let z = x * j
      for k in 0 ..< X:
        echo i, j, k, x, z
    echo x
# Becomes:
# for idx_553648204 in `||`(0, N * (T * X), "parallel for"):
#   let i = idx_553648204 div X * T
#   let j = idx_553648204 mod X * T div X
#   let k = idx_553648204 mod X * T mod X
#   let x = i * 2
#   let z = x * j
#   echo i, j, k, x, z
#   echo x

## The following raises a CT error
when compiles((
  fuseLoops:
    for i in 0 ..< N:
      let x = i * 2
      var zsum = 0
      for j in 0 ..< T:
        let z = x * j
        zsum += z
        echo i, x, z
      echo x
      for j in 0 ..< 2 * T:
        zsum += j
      echo zsum
)):
  doAssert false

we should export fuse_loops in root scinim :)

Merging despite CI failures. At least the CI failures are now different! :rofl:


can this algorithm deal with dynamic length characters?

I run this code successfully, including both train set and validation set. Then I changed one of the validation image to add 2 characters, previously it is '7+0 * 9', I changed it to '7+0 * 9+7'. But it was recognized as '7+(0 * 9)'. The '+7' font style is same with it in this image, I copied to add it, so it is not font style issue. I attached the image I made. Please take a look. Can you tell me why?

maybe the width of the image is greater than the width was given when the model was train, and the added characters are cropped off

Hey guys
Have any ideas how can we apply this network on images with different sizes. I have a data set which varies in image Length. Any one has any ideas please share. Thanks

probably we can find the max dimensions in your dataset and accordingly pad the smaller images with zeros to accommodate for the big size.

Hi anubhavrohatgi
Thanks for the quick reply. By the way i am trying to use IAM offline Handwritten data set for this matter. You have made a good point here. There is a good chance that padding smaller images would help in this case. If you have any other ideas i would be happy to hear them.

because this model cannot deal with OOV, you need to add something like '7+0 * 9+7' to fine tuning your model. Regarding to dynamic length image, I have not fixed it yet, any help would be highly appreciated!


Hide Tutorial Instructions in Fullscreen Mode and Fix CSS Specificity

This change fixes https://github.com/microsoft/pxt-microbit/issues/5003. The fix for this happens in app.tsx around line 1419.
It also goes through and adds #simulator to the places where I used .editor-sidebar so that the css specificity is closer to what it was before my changes in https://github.com/microsoft/pxt/pull/9430. It used to be id-level and I changed it to class level, which had layout side-effects because the priority of certain styles was now different. The hope is that this will reduce the likelihood of those bugs.

LGTM, though I'm not sure I see what you were referring to with the app.tsx line 1419 ref? Is it existing code or a change that wasn't included in this pr? https://github.com/microsoft/pxt/blob/master/webapp/src/app.tsx#L1419

Oh whoops, I meant common.less not app.tsx


snap.py's management() does not install snap if arg.revision == snap_latest_revision

When revision is defined in the snap_installation.yaml, management() installs the snap and holds the revision here:
https://github.com/canonical/k8s-operator/blob/5290074ca8b8d041f86656af6d10c40ee2282f99/charms/worker/k8s/src/snap.py#L116C1-L120C29
        elif isinstance(args, SnapStoreArgument) and args.revision:
            if which.revision != args.revision:
                log.info("Ensuring %s snap revision=%s", args.name, args.revision)
                which.ensure(**args.dict(exclude_none=True))
                which.hold()

where which.revision is the revision of the snap as pulled from the SnapCache() (likely the revision of latest/stable).  Because the snap is only installed above if which.revision != args.revision, requesting the revision of the current latest/stable snap results in no snap being installed and the .hold() not being applied
@addyess mentioned a bug in snapd that if you refresh to the snap you're currently on, you still restart the services, so this might be an attempt at defending against that problem?  afaict though, the newest version of the snap library has some protections against this.  So probably we can do:
elif isinstance(args, SnapStoreArgument) and args.revision:
#             if which.revision != args.revision:  <--- removed
            log.info("Ensuring %s snap revision=%s", args.name, args.revision)
            which.ensure(**args.dict(exclude_none=True))
            which.hold()

@ca-scribner yes -- the library has that protection -- but i noticed that which.hold() will also cause the snap library to run refresh with the --hold args and i don't know if this TOO will restart the snap services.

yep good call, and I dont see an easy way of working around that with the lib.
You could probably avoid some unnecessary refreshes by checking if hold is on and if revision is correct.  But if revision is correct and hold is off, this looks like it'll refresh the snap in order to set hold

(Whoops, meant to post this on Friday.  Sorry!)
Ah, here's a win.
afaict snap refresh --hold=forever snapname does not restart the service, it just changes the hold status.  I'm confirming this by watching snap log snapname then doing snap refresh --hold=forever.  I dont see any log activity, so I think we're good.


Feature Request: Download All Movie Posters

I'm using this for my plex server and it can cycle through a variety of movie posters, so that would be nice instead of just one.

up


feature announcement implementation (from scratch)

Fixes #1712
Describe the changes you have made in this PR -
1> implementing feature announcement functionality from scratch
2> implementating functionality to  create edit and update announcements and index view to keep record of announcements
3> current/latest announcement shown to both logged in and logged out users on hompage of circuitverse according to start
date and end date.
4> implementing functionality to schedule  announcements
5> announcements support basic text as well as custom html styling
6> security implemented to all views for announcements so that only admins can access it
Screenshots of the changes (If any) -
1>annnouncements panel

2>new announcement panel

3>display of announcements on hompage

4>record of recent announcements

5>edit announcements panel

6>authorization implementation on different panels of announcements

UI for the announcement banner::
1> announcement banner comprises of announcements placed adjacent to the optional clickable links
2> if  no optional clickable links then whole space is covered by announcements only
3> responsive for all views
4> for smaller views CTA gets aligned at bottom center

Note: Please check Allow edits from maintainers. if you would like us to assist in the PR.

Also, edit/delete controller is breaking. Not sure what before_action :set_announcement, only: %i[edit update] was supposed to do (working fine without this)

Also, edit/delete controller is breaking. Not sure what before_action :set_announcement, only: %i[edit update] was supposed to do (working fine without this)

ohh god, don't know how i forgot to define set_announcement method..
I always removed first three lines of authorisation while testing and everything worked fined that's why this not got encountered by me.. will correct it....

Awesome

Awesome

Thankyou sir... :tada: :tada: :tada:

Works well 😄
I am slightly confused as to whether body needs to be plain text or can support custom HTML as well?
Current version is very good but I was wondering if we can have the button text customizable. Currently I would like the button text to be "Try It!"

Also would prefer if the button opened a link in a new tab. @pavanjoshi914 would you like to work on these small changes?

Works well
I am slightly confused as to whether body needs to be plain text or can support custom HTML as well?
Current version is very good but I was wondering if we can have the button text customizable. Currently I would like the button text to be "Try It!"

It supports both plain text and custom html
we can directly use html tags in body section
1>plain text in body

2> text wrapped in strong tag

Also would prefer if the button opened a link in a new tab. @pavanjoshi914 would you like to work on these small changes?

definitely!! will generate PR on this
initially  I change text to try it and will make it dynamic in future commits


CloudSpatialException

[Enter feedback here]
This exception is thrown when trying to create a new azure anchor on Hololens2
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 97b7f65b-2300-1e88-3072-5ecc28e5a8e5
Version Independent ID: 2089610b-9581-ea9b-11c5-7be97e53c584
Content: Azure Spatial Anchors tutorials - 2. Getting started with Azure Spatial Anchors - Mixed Reality
Content Source: mixed-reality-docs/mr-dev-docs/develop/unity/tutorials/mr-learning-asa-02.md
Product: mixed-reality
Technology: mr-dev
GitHub Login: @jessemcculloch
Microsoft Alias: jemccull

Hi @Cristian-Hanciuc , can you post the full exception log?

Hi @Cristian-Hanciuc,
Assuming you configured the account id and key correctly in your project and your HoloLens have internet access, this could potentially be caused by some recent changes to Azure Spatial Anchors portal where, unless you created the ASA resource using East US 2 location, you must now also configure the account domain in your project.
In recent ASA SDK versions, this can now be configured in Assets > AzureSpatialAnchors.SDK > Resources > SpatialAnchorConfig, however, this tutorial is using an older ASA SDK version (v2.2.1) where this configuration option is not available. So to verify if this is the issue I think the best option is to create a new ASA resource using location East US 2 and then update your project to use that account id and key.
Please give this a try and let me know if it solved the issue. Thanks.
CC @hferrone

After validating, please make sure your code configures your Azure Spatial Anchor's account domain to match what you see in the Azure portal for that account. Please do not rely on an unset domain to mean East US 2.

@chwarr could you please give more details about "make sure your code configures your Azure Spatial Anchor's account domain"? Exactly which part of the code? And how to configure the ASA account domain? I have had a hard time finding documentation about it, and the problem still persists for me.
Thanks!

See if these sections of the documentation help, @Efaq:

Unity for HoloLens (and similarly for Android and)
HoloLens  in C++/WinRT
Android in Java
iOS in Objective-C/Swift
Xamirin for Android (and similarly for iOS)

If none of these work, can you open a new issue with the details of what you're encountering?


any.do

Ref: Conversation #2407 / Boudewijn

Ref: Conversation #5196 / Yuying

Ref: Conversation #5047 / 翁恒

Ref: Conversation #4327 / Proton

Ref: Conversation #6037 / Brian

https://secure.helpscout.net/conversation/127402412/4142


Reverse-proxy configuration steps

I spent a solid five hours racking my brain/trying every which way to get this to work, both using the docker image and by compiling from source but the closest I could ever get to having tinylist work was when accessing via http without any SSL proxy.
The second I enabled any sort of apache reverse proxy for SSL/HTTPS it would just get stuck on the getting started/creating database page.
Would love to make this work, but is there some sort of compatability issue with reverse-proxies? I had zero issue setting couchdb, etc, set up otherwise.

I've never tried this with any sort of reverse-proxy in the middle. CouchDB handles all that for you automatically, so I'm not sure why it would be necessary. Is there a specific reason you want to do that?

Hey bagga,
Thanks for the reply.
To contextualize, I am trying to run this on a server that is already running other web services via apache,  thus I needed a reverse proxy to pass traffic through to it on a different port if I want to achieve the end-goal of having this service be accessible via port 80 (which I do).
I handle https by using lets encrypt and redirecting all traffic through to https instead of http at in the virtualhost file in apache itself, which for my other services works just fine.
More important nuance here though that is more the problem on the tinylist side I believe - even when I just passed traffic straight through to it, without my https redirection (so straight http reqs, proxied to the appropriate port tinylist was running on) it would still just hang at the 'creating database' step similar to https://github.com/baggachipz/tinylist/issues/8

OK, I'll try to provide more information about this we can try to figure it out. The "Create Database" function is the one interesting wrinkle in the project. The function is found here: https://github.com/baggachipz/tinylist/blob/master/src/functions/create-database.js and it's separated out for a reason. In CouchDB, creating databases is at a different security level, and for good reason: If anybody can create databases, then a DB instance open to the world would be quite ripe for abuse. So, the normal user account that adds/deletes/etc in databases is not the same one who creates databases. I created that separate function which, in the reference implementation on Netlify, uses Netlify Functions to execute create-database as an admin user.
When the code is in "prod" mode (that is, there is a "PROD" environment variable in the runtime), it expects a remote function URL to also be defined: https://github.com/baggachipz/tinylist/blob/master/src/utils.js#L14
If not in "prod" mode, it assumes "dev" mode and just includes the file and executes the "create database" call assuming the current user has sufficient privileges to do that.
So, what error do you get in the js console on that "creating database..." page? That should give insight into what's happening, I hope.

Ahhhh, you highlighting that create-database.js made me realize something that wasn't clear - Is it using port 6894 instead of 5894 when it is set to be prod for the web ui to communicate back to couch?

Ah wait up, no, I see that's an OR statement to be definied port variable OR 6894... So not the rub.
I will spin back up and check on what the JS is spitting out later today :). Thanks for the reply

Just to add some color:
HTTP -> 5984
HTTPS -> 6984


gltfpack: Simplification take in account the vertex color

Would be nice if the algorithm take in account the vertex color to preserve the shape when of differents vertex color zone, here an example :

The mouth area is particulary destroy in this example while there is so many other triangle to collapse,
The model which have no texture is good to test, all copyright to his author from sketchfab - free download :
https://sketchfab.com/3d-models/bananya-birbo-900ce1ec328e486296cfee70b9b13a45

Yeah I planned to add this eventually, need to figure out how to activate this from command line and configure best. The simplifier now supports attribute weighted simplification, it just hasn't made its way to gltfpack. Quickly added this just to check what the results on this model would be and they seem good, this is 0.25 simplification ratio (1/4x triangles), current master vs attribute aware simplification.

Will work on this in the near future.

Attribute aware looks so much better and I think this mesh is cool to test it :)


Include something that lets you tell if a game was made solo or as part of a team

Now that the Jam has taken over (nearly 2:1), it would be nice to know if a Jam game was made solo or as part of a team from glance.
Originally that was going to mean showing avatars of all contributors, but instead we could use the Person and People SVG iconography in a corner.

Avatars wont work well (we were 8 in team,  though not all registered). So svg sounds cool. Maybe also replace compo and jam with svgs?

Had a bit of a thought here. Technically the word COMPO is longer than JAM, so if you think about it, there's a tiny bit of space besides the word JAM that could be such an indicator of solo versus not. I believe we have a "single user" icon and a "multiple users icon". I'm curious what this would look like.
This could probably be easily mocked up.  This solution has the added benefit that author avatars don't need to be loaded.
Finally a semi-related issue: when these boxes get small, you can't see anything (it gets covered by the title, event name, etc). Some effort should probably go in to the CSS to auto-hide info as the size shrinks so the cover art can still be seen. Not necessarily a task for this issue, but something to remember.


Improve the web debugging experience on Chromebooks

Today's web debugging experience is sub-optimal on a Chromebook, but the tools are at our disposal to make it much better.
The ChromeOS installed Chrome is not accessible to the Linux container in the normal way, since it is installed into the parent OS.
However, there's a URL handler installed at /usr/bin/garcon-url-handler which could be used to redirect flutter run -d chrome to the parent OS.
I experimented by setting the CHROME_EXECUTABLE environment variable to this binary; it successfully launched the browser, but Flutter didn't recognize that the launch was successful and terminated. Running flutter run -d web-server --web-port 46149 (the port that was opened) successfully launched the Flutter session and the browser was able to show the results.
We should also liaise with the ChromeOS team to see if there's a better way to launch the parent Chrome browser with the command line arguments we want.
Temporary Workaround
It's worth noting for interested readers that a workaround is to install a second copy of Chrome into the Linux container, but this is unnecessarily resource hungry. Instructions here:
$ wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
$ sudo apt install ./google-chrome-stable_current_amd64.deb

/cc @kevmoo

I don't believe the /usr/bin/garcon-url-handler will work for the -d chrome workflow because it doesn't allow attaching to the chrome devtools instance.

Yeah, it might be that we don't have what we need yet; we should chat to the ChromeOS team and see if there are any paths forward.
(Context is https://github.com/flutter/website/pull/8304, which is a work-in-progress attempt on my part to simplify and update the instructions for using Flutter on a Chromebook.)

FYI @christopherfujino - I think the request here is to detect if a user is running  flutter run -d chrome from ChromeOS, and if so redirecting the parent OS

I 100% agree with OP's request. But asking if we can widen the conversation.
The Chromebook experience is definitely sub-optimal, and no current good way to run Flutter on ChromeOS which would amount to...
(crostini (container) →termina (VM)→ChromeOS(OS))
But it would be greatly beneficial to include any container/VM to this discussion! And also any SSH/Tunnel too!
For example the use cases I would like to support are Flutter Development through:

Github Codespace
Jetbrains Gateway

To compare, flutter run -d with web vs and android device. It is possible to run/debug the android Flutter apps in SSH. Done by using adb client and server modes (example: forwarding port 5037).
Remote Development and Container Development are the future.
Specifically the use cases I would like to support are:

Github Codespaces

JetBrains Gateway

Hi @jarrodcolburn, thanks for your contribution. If I may, can I suggest opening a separate issue(or issues) for these areas, since this issue is specifically focused on the web debugging experience? In that issue, perhaps you could expand a little on the use cases you're targeting: the workflow you'd like to have and what is missing from the current workflow. Feel free to copy this text into the new issue and expand on it. Thanks so much!

Any update on this?
I was helping someone with Flutter Web, and ChromeOS and my recommendation was a version of...


feat: add warning option prop which allows to disable aria-label warning

Closes #2586
📝 Description
I have added warningOptions prop which has showAriaWarning  property. It allows us to disable aria-label warning
💣 Is this a breaking change (Yes/No):
I don't know

Summary by CodeRabbit

New Features

Introduced configurable warning options for accessibility messages in the ProviderContext and NextUIProvider, allowing users to control the visibility of ARIA-related warnings.
Enhanced the useMenu hook to check global context settings for ARIA warnings, improving accessibility checks.

Chores

Added a new dependency on @nextui-org/system to enhance component styling and functionality.

The warning indicates there is an accessibility issue. I'm unsure if the library should provide a feature to hide the warning. This functionality is actually part of React Aria, but there is no option in React Aria to disable this warning. If necessary, there are plugins for Vite, SWC, and others that can remove console warnings.

@abhinav700
We can’t prevent React Aria warnings since we don’t control its internal code. Please make a request to the React Aria team! I’ll close this PR now, but feel free to share any further feedback. Thanks for the PR!


refactor wasm extension rewrite logic

This PR rewrites the wasm extension inline (i.e. replace in the existing extension config) instead of creating new extension config.
I refactored it like this to support Composite Filter with WASM extensions (there can be many WASM extensions in the composite filter for each action so we need to replace inline). But after discussion with @kyessenov , he suggested it would be simpler to add ECDS support for Composite filter. But I thought this refactor would be useful in general. If folks think, it is not needed, I can close this

[ ] Ambient
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure

Closing this as a simplified version with ExtensionWithMatcher is added in https://github.com/istio/istio/pull/45889


Cannot reorder items in the Current Queue by drag an drop.

Version 3.2.1, on Firefox 47.
In the current queue, if you start dragging and dropping a song to change its position, it fails, and leave a green bar at the dropped place. Reloading makes you loose your current queue.

Commit https://github.com/phanan/koel/commit/dc27eeba8a997a70bd10b902f5fbc13d63ce6033 was what fixed it in other browsers.

Just tested Opera and its a bug here as well.


Dynamic Render Path Warning in app/views/images/create.js.erb

Security issue from Hakiri: Render path contains parameter value in app/views/images/create.js.erb

Fixed


[Psych catalog] Playback of exploration to Cameron, Jeff, and design team

Acceptance criteria

[x] Playback IA mock explorations to design team
[x] Playback IA mock explorations to Cameron and Jeff
[x] Have meeting with Cameron, Jeff, Scott, Aubrey, Anna, etc. to discuss the needs of having the Psych catalog on our website, and walkthrough IA mocks.
[x] Next steps: Mock up how to the Psych catalog preferred design
[ ] Playback and Pass to Cameron to add more introductory content around the catalog

We decided after a design review with @mjabbink that the psychology catalog should not be added to Other Resources even as a stop gap solution without more usage documentation describing how users should apply the catalog and providing examples of it in use. We saw some great examples in the PLG onboarding patterns where designers applied the these catalog principles to help drive their layouts.
Since more content is needed to contextualize the catalog, we decided to go ahead and make the appropriate IA changes to the Carbon site to better place the catalog (rather than dumping it in Other Resources, which is a junk drawer).
Right now this issue is blocked by an IA change to the Carbon site, which we'll try to fast track: https://github.com/carbon-design-system/carbon-website/issues/3888
Design specs for psych catalog
https://www.figma.com/file/VyoxNTCXjiojEaslOelSUC/Psych_catalog?type=design&node-id=104%3A7340&mode=design&t=4Q3Lm7yDUgIAnd31-1


C memory management

Dedicated issue: #230
Preview: here
As I explained to Unnamed below:

[...] my intention [behind this article] is not to create C programmers guide, I am just looking for a way to transfer some ideas to C authors and translators, to get rid of ideas like requirement of mallocing a 3-element array to return hours, minutes, and seconds. Or returning Position**, where each entry is... a pointer to an individually malloced, single Position :( And there are even worse. I just thought about collecting some ideas and throw them at the authors, so they could pick something suitable for their kata. It's meant to be CW- and kata-oriented, and not an industry grade HOWTO ;) That's why I do not want to make things too complex and too detailed. Maybe I already have, maybe this paragraph, or this whole article, is simply not necessary?

Let me know what you think about this article, and even if you think it's not necessary or too detailed, it was a real fun writing it ;)

@ggorlen, everyone, as I find it difficult to discuss things in a PR review, please let's continue the discussion to the issues board: https://github.com/codewars/docs/issues/230#issuecomment-759085853

@ggorlen, everyone, as I find it difficult to discuss things in a PR review, please let's continue the discussion to the issues board: https://github.com/codewars/docs/issues/230#issuecomment-759085853

I am moving this back to draft and will try to simplify it. Let's see what I can come up with.

I am moving this back to draft and will try to simplify it. Let's see what I can come up with.

I've reorganized the article, please let me know if it's better now.

I've reorganized the article, please let me know if it's better now.

:roll_eyes: a new commit while I'm reviewing...

:roll_eyes: a new commit while I'm reviewing...


Empty code is visible

https://hacks.mozilla.org/2015/07/es6-in-depth-let-and-const/ has an empty code block before every example code. This is now visible.

Looks like we're writing  instead of  in some places. I'll go in and adjust.


Block splitting doesn't preserve block meta data

Do you want to request a feature or report a bug?
Bug
What is the current behavior?
When splitting a ContentBlock its data prop is not copied to a new ContentBlock.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. You can use this jsfiddle to get started: https://jsfiddle.net/stopachka/m6z0xn4r/.
Create a custom block with some block data. Then split it with enter key. Inspect the new block - its data prop is empty.
What is the expected behavior?
Data content from original block should be copied to new block. Same is done with Entity data.
Which versions of Draft.js, and which browser / OS are affected by this issue? Did this work in previous versions of Draft.js?
Draft version 0.9.1. It doesn't depend on browser / OS. I think it has always been so, especially taking into account that block data prop is relatively a new feature.

is there any reason why should we copy meta data to split block?

this could be related to #718 ?

I have a similar problem where a user can add a tag to a line of text in a list, this tag is stored in block meta-data, but if I move that line to a new line all of that meta-data stays at the first line... example:
- First line text [mock_ui_tag]

now I move my cursor to the first 0 position of that line and press enter to create a new block... now I see:
- [mock_ui_tag]
- First line text

Ideally I want the tag to follow the text. Here's a gif example as well:

Hi @N1kto. I need this for textAlignment functionality. Can you please provide your workaround solution for this issue. I'm thinking of using handleReturn api for this.

@sudkumar please see below. It's in CoffeScript, but I don't think is it a problem. Please note that I wrote it a good while ago, DraftJS APIs it uses might have changed since then.
  splitBlock: (editorState) ->
    newContent = Modifier.splitBlock editorState.getCurrentContent(), editorState.getSelection()
    originalBlockData = newContent.blockMap.get(newContent.selectionBefore.getStartKey()).getData()
    newBlockKey = newContent.selectionAfter.getStartKey()
    newBlockMap = newContent.blockMap.update newBlockKey, (contentBlock) ->
      contentBlock.set 'data', originalBlockData

    EditorState.push editorState, newContent.set('blockMap', newBlockMap), 'split-block'

Thanks @N1kto! I was able to modify your response to suit my problem demonstrated in the gif a couple replies up ^
I REALLY wish this was supported out of the box with a param in draft preserveBlockDataOnSplit or something, but for now this workaround should keep me moving. It's a bit verbose, but if anyone has similar block "tagging" functionality in your UI this should work as well
handleReturn() {
    const { editorState } = this.state;
    const contentState = editorState.getCurrentContent();
    const selectionState = editorState.getSelection();

    let newContent = Modifier.splitBlock(contentState, selectionState);

    const originalBlock = contentState.blockMap.get(newContent.selectionBefore.getStartKey());
    const originalBlockData = originalBlock.getData();
    const preserveDataOnSplit = originalBlockData.size
      && selectionState.getFocusOffset() === 0;

    /**
    /* If the user is trying to bump a block down a row that _has_ data (like
    /* attributions) we need to manually transfer that data along with the
    /* block split. This code can maybe be eventually deleted if draft decides to
    /* support this use case out of the box.
    */
    if (preserveDataOnSplit) {
      const newBlockKey = newContent.selectionAfter.getStartKey();

      // clear data out of the current block we're moving down
      newContent = Modifier.setBlockData(newContent, selectionState, {});

      // create the new block and transfer data from the current block
      const newBlockMap = newContent.blockMap.update(newBlockKey, contentBlock =>
        contentBlock.set('data', originalBlockData));
      newContent = newContent.set('blockMap', newBlockMap);

      this.handleChange(getNewEditorState({
        editorState,
        contentState: newContent,
      }));

      /**
      /* now that the block is split and the data has been transfered
      /* we need to force the cursor one block down. Unfortunately it looks
      /* as though there is a limitation in editorState where we have to do
      /* this as a subsequent change
      */
      const newSelection = new SelectionState({
        anchorKey: newBlockKey,
        anchorOffset: 0,
        focusKey: newBlockKey,
        focusOffset: 0,
      });
      setTimeout(() => {
        this.setState({
          editorState: EditorState.forceSelection(this.state.editorState, newSelection),
        });
      }, 1);

      return 'handled';
    }

    return 'not-handled';
  }

Thanks you @N1kto . That helped. I only wanted to pass-on the styles which I stored in blockData.style.
I did following.
    handleReturn = (e, editorState) => {
        const selection = editorState.getSelection()
        if (selection.isCollapsed()) {
            const contentState = editorState.getCurrentContent()
            const startKey = selection.getStartKey()
            const currentBlock = contentState.getBlockForKey(startKey)
            if (currentBlock) {
                const blockData = currentBlock.getData()
                const blockStyles = blockData.get("style")
                if (blockStyles) {
                    // Original split logic
                    const newContentState = Modifier.splitBlock(
                        editorState.getCurrentContent(),
                        editorState.getSelection()
                    )
                    let splitState = EditorState.push(editorState, newContentState, "split-block")
                    const target = splitState.getSelection()
                    const afterMergeStylesContentState = Modifier.mergeBlockData(
                        splitState.getCurrentContent(),
                        target,
                        {
                            style: blockStyles
                        }
                        )
                    splitState = EditorState.push(editorState, afterMergeStylesContentState, "split-block")
                    this.updateState(splitState)
                    return "handled"
                }
            }
        }
        return "not-handled"
    }

I had to do something similar, but in my case, instead of copying over the data from the previous block, I had to assign new metadata to the newly split block.
const { editorState } = this.state;
const selection = editorState.getSelection();
let contentState = editorState.getCurrentContent();

contentState = Modifier.splitBlock(contentState, selection);

const nextBlockKey = contentState.selectionAfter.getStartKey();

const nextBlockEmptySelection = new SelectionState({
  anchorKey: nextBlockKey,
  anchorOffset: 0,
  focusKey: nextBlockKey,
  focusOffset: 0
});

contentState = Modifier.setBlockData(
  contentState,
  nextBlockEmptySelection,
  Map()
    .set("createdTime", Date.now())
    .set("creator", "Punit Jajodia")
);

const newEditorState = EditorState.set(editorState, {
  currentContent: contentState
});


sync: Remove crash!

The issue: Remove all uses of crash! https://github.com/uutils/coreutils/issues/5487
Replaced all uses of crash! from the file "src/uu/sync/src/sync.rs" with the show! macro

Please run cargo fmt to format your code.

I don't know if you have seen it: the CI shows some errors on Windows:
error[E0433]: failed to resolve: use of undeclared type `USimpleError`
  --> src\uu\sync\src/sync.rs:91:31
   |
91 |                         show!(USimpleError::new(
   |                               ^^^^^^^^^^^^ use of undeclared type `USimpleError`

I think you forgot a use statement.

@daria-tanasie I wonder if you are still working on this. If not, I'd like to make some effort on it.

@tertsdiepraam I would like to open another PR regarding this since this one has been hanging for a while, is that ok?

Sure please go ahead. :)
-------- Message d'origine --------
Le 07/07/2024 11:01, kf zheng  a écrit :

@.***(https://github.com/tertsdiepraam) I would like to open another PR regarding this since this one has been hanging for a while, is that ok?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: @.***>


Add RAMECC registers across the H7 family

RAMECC was 'added' to the single core parts in RM0433 Rev 7. For the dual core parts there are definitions in the SVD, but they are so terrible it's worth starting over (there are registers with the wrong address, and the wrong fields)
For a use case, there is at least one set of commercial spaceflight hardware using the H7:
(no affiliation, no endorsement intended)

Nanoavionics OBC

Can we just define RAMECC1 and have 2 and 3 derive from that, rather than redefining the registers for each one?

Yup, done. RAMECC3 only has two monitors connected, but I assume its safe to access the remaining monitor registers..

On a real target (H747), RAMECC3.M[3-5]CR locations are not really registers (they don't read what was just written to them). I think the easiest solution to only keep RAMECC3.M[1-2]* is to keep the separate RAMECC3 definition.

bors retry