Aliasadidev add support for custom args

Description
Currently, there is no option on ArgumentParser class to create an ArgumentInfo that supports both AddCustomArgument and AddStaticArgument in one Args, I  added this option.
 {
      "name": "Run JB Clean Up Code",
      "command": "cmd",
      "pathMode": "relative",
      "args": [
        "/c",
        "dotnet",
        "jb",
        "cleanupcode",
        "proj.sln",
        "--profile=Team: Full Cleanup",
        "--include=${args}" <======= added for this usage.
      ],
      "group": "pre-commit"
    }

switch (arg.ToLower().Trim())
{
 case "${args}":
    AddCustomArguments(args, optionArguments);
    break;
 case var value when value.Contains("${args}") && optionArguments is not null && optionArguments.Any():
   args.Add(new ArgumentInfo(ArgumentTypes.Static, value.Replace("${args}", string.Join(' ', optionArguments!))));
   break;
 case "${last-commit}":
//...

Type of change

[x] New feature (non-breaking change which adds functionality)

Checklist

[x] I have performed a self-review of my code
[ ] I have added tests that prove my fix is effective or that my feature works
[x] I have made corresponding changes to the documentation
[ ] I have commented my code, particularly in hard-to-understand areas
[x] New and existing unit tests pass locally with my changes
[x] I did test corresponding changes on Windows
[x] I did test corresponding changes on Linux
[ ] I did test corresponding changes on Mac

@alirezanet Hi,
Please let me know when you publish it on Nuget, I want to use that on the pipeline.
Thanks. :)

@alirezanet Hi, Please let me know when you publish it on Nuget, I want to use that on the pipeline. Thanks. :)

It is available in 0.6.0-Preview2.


Add support to register/de-register from Lightwave WiFi Link Hub

Description:
Add support to manually register/de-register Lightwave WiFi Link Hub. Some users have reported issues and this is an attempt to address the issues.
Please note: This is my second attempt as submitting the same code. As I am new to GitHub and how I created the PR previously apparently caused a problem. I hope I have got it right this time. If not please let me know and I can try again.
Example entry for configuration.yaml (if applicable):
lightwave:
  host: <IP_ADDRESS>
  switches:
    registration:
      name: Registration

registration
The id of registration is a reserved switch for registering and de-registering Home Assistant from your Lightwave WiFi link. Switching this on will register with your Ligthwave Wifi link hub. You then have 12 seconds to push the button on your hub to accept this registration. Switching this off will deregister all devices that have been registered. Use this wisely.

Thanks for resubmitting!
I'm wondering whether this should really be represented as a switch.  Wouldn't 2 services be more appropriate?

I agree but I don't know how to do that. Please point me in the right direction and I will make the necessary changes. I did not like overloading the device id like that.

Thanks for the heads-up as to where to look.
I think it would better to run this as a service. How do I cancel this PR? Simple close? If I don't this will lead to a breaking change, to the configuration file, in the future.

@andrewsayre I have move registration/de-registration to a service following you advice. I think this is a better solution than overloading a button.

https://github.com/home-assistant/home-assistant.io/pull/8490

@klaasnicolaas is there anything else I need to do on this? Just checking incase I've missed something.

Please rebase your branch on latest dev branch to solve the merge conflicts.

@GeoffAtHome Closing this as it seems the upstream branch was deleted so I couldn't rebase this onto latest dev. Feel free to reopen when you can rebase it. Thanks!


update readme to install lost instead of lost-grid

Ooops! Fixed it.

Awesome, thanks for the good eye! :+1:


Issue credits to Evan

Issue 5000 credits to @gnomevan.

 Follow up
On Friday, 22-Mar-24 21:28:48 UTC by Gov4Git dev
Issued 5000 credits to member @gnomevan.


Babylon previewer: "script error"

Hi folks
First of all: Congrats to your awesome work...I really appreciate it!
I recently ran into the following issue with the babylon previewer:

The other two viewers display the model correctly and also babylon's online sandcastle is able to show the model, thus I think this issue might be related to this gltf-tool.
I am using the latest version (2.2.2) and the model (contains one info level issue by validator) can be found here:
G6000_strut.zip
Thank you for any insight!

@tkazik Did you just upgrade to VSCode 1.30.0 prior to this?
I just got the upgrade and I'm seeing this error now on my own models.  Looks like the BabylonJS logo is causing a CORS error.  I'll see what else I can figure out about it.
/cc @bghgary

I'm investigating

Looks like the new vscode broke a bunch of things. I'll see if I can fix them, but it might take some time.

We might have to ask vscode folks on this. I can't explain why the svg logo and blob urls to local data are being blocked.

For now, if you want this to work, please downgrade back to 1.30.

@bghgary Thanks for your efforts tracking this down!  I see a PR was merged into Babylon.
Random question, why is revokeObjectURL needed?  As a hack I tried resetting this to an empty function, and that seems to work in VSCode.  Is it still needed?  Does it free resources or memory?

Does it free resources or memory?

Yes. See https://developer.mozilla.org/en-US/docs/Web/API/URL/createObjectURL#Memory_management.

Version 2.2.3 is published!  Thanks @bghgary.


Fix breaking changes introduced  in v0.67.1

what
Fix breaking changes introduced in #194 for task_policy_arns and task_exec_policy_arns
/cc @joe-niland
why

@aknysh from #194:

why
The for_each change implemented in https://github.com/cloudposse/terraform-aws-ecs-alb-service-task/commit/14008fc2491eb31b03567ea98e319e90340546d6 has the potential to cause the Terraform '"for_each" value depends on resource attributes that cannot be determined until apply' error.
Modifying this input to use a map can circumvent this error

And, I return the +- previous logic for task_policy_arns and task_exec_policy_arns that right now deprecated and had that error before v0.67.1 released.
So I see here a few options:

Return previous logic
Abbadon v0.67.1, remove deprecated variables and release v0.68.0 (as version with breaking changes)
Abbadon v0.67.1, and release it as v0.68.0, because it change provided logic
I can create a new PR, that rework v0.67.1, back to 0.67.0 compatible without new maps vars and without error fixed in v0.67.1, but it will use some weird hacks that could be difficult to understand even after reading comments.

Oh, looks like it will works only with https://stackoverflow.com/a/73752527

Replaced by #196


Add use-t-well rule

Adds use-t-well rule
I originally wanted to make the rule no-unknown-assertions, but adding checks to member expressions (t.context, ...) was easy, so I've made the rule more global. It now handles quite a few cases. It looks fine to me now, but I wouldn't be surprised if I missed some edge cases (false positives mostly). (If you guys have a a few projects to test it on, that'd be nice)
Let me know what you think :)

No comments. This is perfect. Seriously. 🦄

:D


Move the introduction of Lindies to obtheory.txt

The applicative interpretations around Lindies in obaptheory Obap2 (b-e) remains there.  But the definition of Lindies in Obap2 needs to be moved.   Lindies should come into obtheory.txt at Ob8 and everything else moves down.

The changes have been made with more explanation and also alignment of the obtheory.txt and obaptheory.txt versions


Panic when using it in Leptos SSR mode

I'm trying to use this crate with Leptos SSR mode but it's crashing with the following error (just trying out the example code from README):
thread 'main' panicked at /home/bochaco/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-bindgen-0.2.93/src/lib.rs:1021:1:
function not implemented on non-wasm32 targets
stack backtrace:
   0: rust_begin_unwind
             at /rustc/3f5fd8dd41153bc5fdca9427e9e05be2c767ba23/library/std/src/panicking.rs:652:5
   1: core::panicking::panic_fmt
             at /rustc/3f5fd8dd41153bc5fdca9427e9e05be2c767ba23/library/core/src/panicking.rs:72:14
   2: wasm_bindgen::__wbindgen_string_new
             at /home/bochaco/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-bindgen-0.2.93/src/lib.rs:46:17
   3: wasm_bindgen::JsValue::from_str
             at /home/bochaco/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-bindgen-0.2.93/src/lib.rs:133:32
   4: apexcharts_rs::leptos::__ApexChartComponent
             at /home/bochaco/.cargo/registry/src/index.crates.io-6f17d22bba15001f/apexcharts-rs-0.1.6/src/leptos.rs:126:30
   5: apexcharts_rs::leptos::ApexChartComponent::{{closure}}
             at /home/bochaco/.cargo/registry/src/index.crates.io-6f17d22bba15001f/apexcharts-rs-0.1.6/src/leptos.rs:50:1
   6: <leptos_dom::components::Component<F,V> as leptos_dom::IntoView>::into_view::{{closure}}
             at /home/bochaco/.cargo/registry/src/index.crates.io-6f17d22bba15001f/leptos_dom-0.6.14/src/components.rs:281:49
   7: leptos_reactive::runtime::RuntimeId::untrack::{{closure}}
             at /home/bochaco/.cargo/registry/src/index.crates.io-6f17d22bba15001f/leptos_reactive-0.6.14/src/runtime.rs:953:32
   8: leptos_reactive::runtime::with_runtime::{{closure}}
             at /home/bochaco/.cargo/registry/src/index.crates.io-6f17d22bba15001f/leptos_reactive-0.6.14/src/runtime.rs:700:41
...

thread 'main' panicked at /rustc/3f5fd8dd41153bc5fdca9427e9e05be2c767ba23/library/std/src/thread/local.rs:260:26:
cannot access a Thread Local Storage value during or after destruction: AccessError
fatal runtime error: thread local panicked on drop

Thank you for raising this issue. I'll look into it and fix this ASAP.
Cheers

@clementwanjau is this fixed?

This has been fixed in the latest release.

Thanks @clementwanjau !


Update tutorial_tn_circuits.py

Adding affiliation BMW to Tensor network demo

Do we have to change any files to make sure the "Last updated" date is correct? Otherwise looks good to me 👍

Let's do that just in significant changes :)


tests

Wrap tape in some sugar for BDD testing
Fixes to gettext following testing

Note that ngettext remains broken (WIP). I have commented it so that gettext passes tests clearly.

With respect to tests...
The down-side of tape-bdd is that it expects only 1 assertion per it() statement. This forces me to make an array of multiple [expected, actual] tuples that I then deep compare in a single assertion.
Personally I think that jasmine is a lot clearer in terms of assertions.  I want to revisit this later, but more toward making tape work better for BDD.

Any remaining issues should be minor, lets fix in the next PR


Create a PreR that outputs with the format from DNS Stats

There is a format, that (AFAIK) it is not publicly available, but it would be nice to support as a PreR.
I will send an email with details ASAP.


Don't include resources into compileClasspath.

Instead we now have a compileResources that is part of compileClasspath.
Fixes #1807

This looks ok so far, but this need to wait until the next major version (probably 0.11), as it changes the dependencies between targets which is an issue for downstream plugins.
To get CI green, some test need to be adapted.

This looks ok so far, but this need to wait until the next major version (probably 0.11), as it changes the dependencies between targets which is an issue for downstream plugins.
To get CI green, some test need to be adapted.

We have no clear rule when to start development on next major. Until now, we just bumped the version when needed. So that might be also the case for this PR. But as we now take compatibility serious, we should avoid too many major bumps in a short time to remove stress from downstream projects like external Mill plugins.

This is the error in CI:
X mill.scalalib.bsp.BspModuleTests.bspCompileClasspath.single module.dependent module 362ms
  utest.AssertionError: #2: relResults == expected,
  relResults: Seq[os.FilePath] = Vector(/home/runner/work/mill/mill/target/worksources/mill/scalalib/bsp/BspModuleTests/MultiBase/HelloBsp/compile-resources, /home/runner/work/mill/mill/target/worksources/mill/scalalib/bsp/BspModuleTests/MultiBase/HelloBsp2/resources, /home/runner/work/mill/mill/target/workspace/mill/scalalib/bsp/BspModuleTests/eval/bspCompileClasspath/single module/dependent module/HelloBsp/compile.dest/classes, logback-classic-1.1.10.jar, logback-core-1.1.10.jar, scala-library-2.13.8.jar, slf4j-api-1.7.34.jar)
  expected: Seq[os.FilePath] = List(/home/runner/work/mill/mill/target/worksources/mill/scalalib/bsp/BspModuleTests/MultiBase/HelloBsp/resources, /home/runner/work/mill/mill/target/worksources/mill/scalalib/bsp/BspModuleTests/MultiBase/HelloBsp2/resources, /home/runner/work/mill/mill/target/workspace/mill/scalalib/bsp/BspModuleTests/eval/bspCompileClasspath/single module/dependent module/HelloBsp/compile.dest/classes, logback-classic-1.1.10.jar, logback-core-1.1.10.jar, scala-library-2.13.8.jar, slf4j-api-1.7.34.jar)
    utest.asserts.Asserts$.assertImpl(Asserts.scala:30)
    mill.scalalib.bsp.BspModuleTests$.$anonfun$tests$12(BspModuleTests.scala:81)
    mill.scalalib.bsp.BspModuleTests$.$anonfun$tests$12$adapted(BspModuleTests.scala:59)
    mill.scalalib.bsp.BspModuleTests$.workspaceTest(BspModuleTests.scala:37)
    mill.scalalib.bsp.BspModuleTests$.$anonfun$tests$11(BspModuleTests.scala:40)

You need to reflect the changed resource directory name in the expected result.

@lefou thanks will fix that. I saw a lot of ci failures and didn't still had enough time to find which of them were caused by my change. thanks for pointing out. any particular suite you recommend me to run ?

As you touch scalalib it's a good idea to run scalalib.test, at least. It's perfectly ok to push add just review what the CI reports. Besides of some sporadic CI failures (which I typically review and restart from time to time), all test must pass.

We finally merged it. Thanks @vic for this contribution and your patience!


[SUPPORT]  read hudi cow table with spark, throw exception: File does not exist

Describe the problem you faced
read hudi cow table with spark , throw exception File does not exist: xxxxxxxx
To Reproduce
Steps to reproduce the behavior:

insert cow data readtime with auto clean
read data with spark when clean was happened  throw exception

Expected behavior
spark read hudi table without REFRESH TABLE tableName
Environment Description

Hudi version : 0.11.0

Spark version : 2.4.0

Hive version : 2.1.1

Hadoop version : 3.0.0

Storage (HDFS/S3/GCS..) : HDFS

Running on Docker? (yes/no) : no

Stacktrace
at org.apache.spark.scheduler.DAGScheduler$$anonfun$handleTaskSetFailed$1.apply(DAGScheduler.scala:929)
at org.apache.spark.scheduler.DAGScheduler$$anonfun$handleTaskSetFailed$1.apply(DAGScheduler.scala:929)
at scala.Option.foreach(Option.scala:257)
at org.apache.spark.scheduler.DAGScheduler.handleTaskSetFailed(DAGScheduler.scala:929)
    ................
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.spark.deploy.JavaMainApplication.start(SparkApplication.scala:52)
at org.apache.spark.deploy.SparkSubmit.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:851)
at org.apache.spark.deploy.SparkSubmit.doRunMain$1(SparkSubmit.scala:167)
at org.apache.spark.deploy.SparkSubmit.submit(SparkSubmit.scala:195)
at org.apache.spark.deploy.SparkSubmit.doSubmit(SparkSubmit.scala:86)
at org.apache.spark.deploy.SparkSubmit$$anon$2.doSubmit(SparkSubmit.scala:926)
at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:935)
at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)

Caused by: java.io.FileNotFoundException: File does not exist: hdfs://hdfs-ha/hudi/dw/rds.db/hudi_table_name/ed5cb7ee-17f7-42e5-a827-c76296f481e7_1-2-0_20220406153953615.parquet
It is possible the underlying files have been updated. You can explicitly invalidate the cache in Spark by running 'REFRESH TABLE tableName' command in SQL or by recreating the Dataset/DataFrame involved.

at org.apache.spark.sql.execution.datasources.FileScanRDD$$anon$1.org$apache$spark$sql$execution$datasources$FileScanRDD$$anon$$readCurrentFile(FileScanRDD.scala:129)
at org.apache.spark.sql.execution.datasources.FileScanRDD$$anon$1.nextIterator(FileScanRDD.scala:179)
at org.apache.spark.sql.execution.datasources.FileScanRDD$$anon$1.hasNext(FileScanRDD.scala:103)
     .............................
at org.apache.spark.sql.execution.datasources.FileFormatWriter$$anonfun$write$1.apply(FileFormatWriter.scala:170)
at org.apache.spark.sql.execution.datasources.FileFormatWriter$$anonfun$write$1.apply(FileFormatWriter.scala:169)
at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:90)

read data with spark when clean was happened throw exception

This means Hudi is attempting to read a version of the parquet file which no longer exists.
https://github.com/apache/hudi/issues/2098 explains how this could happen in more detail.
@Guanpx Can you please share your hudi configs and timeline in .hoodie directory?

@Guanpx gentle ping to respond to Sagar's request above. would help us triage the issue. under normal circumstances, you should not see this.

I am having same issue, after ingestion job crashed.
This does not seem to be a simple file being deleted due to cleaning - since error persists even after no other tasks are writing to the table.
Unfortunately I don't know how to reproduce the error.
Timeline of events:

Upsert operation crashed (all operations were inline) with error: Caused by: java.io.FileNotFoundException: File does not exist:

Some reads succeed, others - if they touch affected partitions fail with same error as above.
Hudi version : 0.11.0
Spark version : 3.1.2
Hadoop version : 3.0.0
Storage (HDFS/S3/GCS..) : HDFS
Running on Docker? (yes/no) : no

@Reimus : can you create a new github issue. FileNotFound could be due to many reasons. also, do add all logs, stacktrace etc.

closing it due to no activity for long time.
feel free to raise a new issue for any assistance.


update workflow to automatically validate JSON files

This adds a utility function that will validate JSON files on PR or push

I'm going to merge this.
@evangeline-corcoran - this automated test caught that there is an error in the datasources.json file :smile:


Use of CPE information to reduce false positives

Dependency Check on finding org.apache.hive:hive-ant jar reports the vulnerability which is actually the vulnerability in the main Apache Hive product and not the jar.
Can we somehow get the information about the reported CPE whether it's about the jar or a product?
If we could then we will be able to reduce the false positives by very high margin. I did some evaluation of dependency check against one of the commercial products available for vulnerability check in market. And I found the above reported issue being the main cause of false positives.

The problem lies with how dependency-check works and the available information in the NVD. The best option to resolve some of these FP (at the moment) is to submit a PR updating the base suppression xml file or open an issue and post sufficient details that I can reproduce the FP.
Trust me, I completely understand the issues with false posittives and I am trying to figure out a better solution. However, what causes the FP is also what allows ODC to identify true positives that some of the commercial tools miss - but take that with a grain of salt, there are pluses and minuses to all of these tools. I'm sure there are instances where the commercial tools flag something that ODC misses.
So back to your comment - do you think there is something in the CPE that can be used to reduce false positives more then what is already being done?

@jeremylong I completely agree with you on that. I also tried finding something which could help us in reducing false positives but didn't find anything promising.
After that I went on performing an exercise myself. I went through all the vulnerabilities published in month of March'16 in NVD. And here are the statistics I came across.

Total vulnerabilities: 330
Vulnerabilities related to JARs available on mvnrepository.com: 6 (1 in every 55)
Average time to map a vulnerability to JAR based on available information: 10 minutes
Average time to reject a vulnerability because of not being related to any JAR: 30 seconds
Overall time to map vulnerabilities in a month: 172 minutes ~3 hours (less than an hour per week)

Looking at above numbers, I strongly feel that maintaining such DB where we map JARs to CVEs is neither difficult nor time consuming plus then the results will be almost 100% correct.
What do you think about it? Was there some other reason of not adopting this approach of having JAR to CVE mapped DB?

While this may not sound like a lot of time, it adds up. I work on this project in my spare time. If one started maintaining a database like this it becomes a commitment that would get very old after a year.
I actually have another idea on how to make this more accurate over time using automated community feedback... more to come on this later.


Things to think about when making directory search

Just a list of things that came to mind (may update this later):

Prefrosh emails should be hidden during rotation
Gender options should not be limited to male/female (option to fill in their own string?)
Search by zip code is kinda creepy, honestly (and also is pretty broken)
A feature that I kinda wanted to implement at some point was to search-as-you-type. That would be cool.

As a note, we got rid of search by zip code (for non-admins) and replaced it with displaying hometown on the directory result

Ah, didn't realize that was admin only.


Trying Toast Example on iOS Crashes

IF YOU DO NOT USE THIS TEMPLATE - YOUR ISSUE WILL BE CLOSED.  PLEASE READ THE FAQ AND THE CODE OF CONDUCT BELOW!
Please check all of the platforms you are having the issue on (if platform is not listed, it is not supported)

[X] iOS
[] Android
[] UWP
[X] PCL

Version of OS(s) listed above with issue
10.3
Version of ACR UserDialogs Library
Github latest & Nuget 6.4.0
Expected Behaviour
Just trying to run the Toast example to see how to use the library. Getting a crash with Github latest and 6.4 from Nuget. Other examples seem to run fine.
Actual Behavior
If applicable, please include entire exception - type, message, stacktrace
From Xamarin Studio 6.3
System.NullReferenceException: Object reference not set to an instance of an object
at Splat.BitmapMixins.ToNative (Splat.IBitmap This) [0x00000] in /Users/paul/code/paulcbetts/splat/Splat/Cocoa/Bitmaps.cs:140
at Acr.UserDialogs.UserDialogsImpl+c__AnonStorey9.<>m__0 () [0x0004a] in /Users/adam.hill/dev/github/userdialogs/src/Acr.UserDialogs.iOS/UserDialogsImpl.cs:219
at Foundation.NSActionDispatcher.Apply () [0x00000] in /Users/builder/data/lanes/4466/a04678c2/source/xamarin-macios/src/Foundation/NSAction.cs:57
at at (wrapper managed-to-native) ObjCRuntime.Messaging:void_objc_msgSend_IntPtr_IntPtr_bool (intptr,intptr,intptr,intptr,bool)
at Foundation.NSObject.InvokeOnMainThread (System.Action action) [0x00007] in /Users/builder/data/lanes/4466/a04678c2/source/xamarin-macios/src/Foundation/NSObject2.cs:560
at Acr.UserDialogs.UserDialogsImpl.Toast (Acr.UserDialogs.ToastConfig cfg) [0x0004a] in /Users/adam.hill/dev/github/userdialogs/src/Acr.UserDialogs.iOS/UserDialogsImpl.cs:212
at Samples.ViewModels.ToastsViewModel+c__AnonStorey2+c__async1.MoveNext () [0x00096] in /Users/adam.hill/dev/github/userdialogs/src/Samples/Samples/ViewModels/ToastsViewModel.cs:34
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in /Library/Frameworks/Xamarin.iOS.framework/Versions/<IP_ADDRESS>/src/mono/mcs/class/referencesource/mscorlib/system/runtime/exceptionservices/exceptionservicescommon.cs:143
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.m__0 (System.Object state) [0x00000] in /Library/Frameworks/Xamarin.iOS.framework/Versions/<IP_ADDRESS>/src/mono/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/AsyncMethodBuilder.cs:1018
at UIKit.UIKitSynchronizationContext+c__AnonStorey0.<>m__0 () [0x00000] in /Users/builder/data/lanes/4466/a04678c2/source/xamarin-macios/src/UIKit/UIKitSynchronizationContext.cs:24
at Foundation.NSAsyncActionDispatcher.Apply () [0x00000] in /Users/builder/data/lanes/4466/a04678c2/source/xamarin-macios/src/Foundation/NSAction.cs:163
at at (wrapper managed-to-native) UIKit.UIApplication:UIApplicationMain (int,string[],intptr,intptr)
at UIKit.UIApplication.Main (System.String[] args, System.IntPtr principal, System.IntPtr delegate) [0x00005] in /Users/builder/data/lanes/4466/a04678c2/source/xamarin-macios/src/UIKit/UIApplication.cs:79
at UIKit.UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) [0x00038] in /Users/builder/data/lanes/4466/a04678c2/source/xamarin-macios/src/UIKit/UIApplication.cs:63
at Samples.iOS.Application.Main (System.String[] args) [0x00008] in /Users/adam.hill/dev/github/userdialogs/src/Samples/Samples.iOS/Main.cs:13
Thanks.
Code of Conduct

No Library Update Requests
No Timeline Requests
Please read through the documentation and FAQs
Please be respectful of my time. I put a lot of effort into my libraries.  I try to support the issue requests within a day.  I'm not psychic, so please take the time to fill out the above form as complete as possible

Thanks for the info.  There is a fix in place now.


Expose the storage-class to the metrics of throughput and latency

Some object storage supports configuring lifecycles to automatically move objects into different storage classes. This label allows us to observe the throughput and latency of different storage classes.

lgtm, please add unit test for it

@davies Done, please take a look


Clean up participant app

Meta issue

The participant app was rewritten and renamed to 'users'.
@emanuelschuetze Can we close this issue? I don't think that we need a meta issue.

Yes, closed.


Doesn't work with AbstractBaseUser because UserCreationForm demands username field among others

Implementing this logic with AbstractBaseUser django returns these errors
<class 'web.admin.CustomUserAdmin'>: (admin.E019) The value of 'filter_horizontal[0]' refers to 'groups', which is not an attribute of 'web.User'.
<class 'web.admin.CustomUserAdmin'>: (admin.E019) The value of 'filter_horizontal[1]' refers to 'user_permissions', which is not an attribute of 'web.User'.
<class 'web.admin.CustomUserAdmin'>: (admin.E033) The value of 'ordering[0]' refers to 'username', which is not an attribute of 'web.User'.

Implementing this logic with AbstractUser django returns these errors
<class 'web.admin.CustomUserAdmin'>: (admin.E033) The value of 'ordering[0]' refers to 'username', which is not an attribute of 'web.User'.

How come? I thought email was replaced as username as the username field? Am I missing something here?

Please do not ask questions on GitHub issues. You can use stack overflow for these types of questions.
https://stackoverflow.com/questions/43055664/how-to-add-custom-user-model-in-admin-panel


Rtl support

I re-read the gain validation bit.. those values are not needed.. so removed it.

Looks good as discussed on Discord!


Implement postgres auto-publish

NEW: support for #512 - pg table/function auto-discovery

can filter schemas
can use patterns like {schema}.{table}.{column} and {schema}.{function}

NEW: add calc_bounds bool flag to allow disabling of the bounds computation
reworked integration tests to use yaml

Codecov Report
Base: 58.46% // Head: 60.62% // Increases project coverage by +2.15% :tada:

Coverage data is based on head (b55d700) compared to base (e658258).
Patch coverage: 67.75% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #546      +/-   ##
==========================================
+ Coverage   58.46%   60.62%   +2.15%
==========================================
  Files          23       23
  Lines        1777     1910     +133
==========================================
+ Hits         1039     1158     +119
- Misses        738      752      +14

Impacted Files
Coverage Δ

src/args/environment.rs
50.00% <ø> (ø)

src/bin/main.rs
2.27% <0.00%> (+0.09%)
:arrow_up:

src/lib.rs
44.11% <ø> (+2.64%)
:arrow_up:

src/pg/pool.rs
30.23% <ø> (ø)

src/pg/table_source.rs
43.58% <0.00%> (-0.38%)
:arrow_down:

src/pg/utils.rs
60.93% <ø> (+4.93%)
:arrow_up:

src/utils/test_utils.rs
90.00% <0.00%> (-10.00%)
:arrow_down:

src/config.rs
58.33% <50.00%> (-6.38%)
:arrow_down:

src/pg/config.rs
86.95% <64.28%> (-1.28%)
:arrow_down:

src/pg/configurator.rs
45.64% <64.90%> (+35.38%)
:arrow_up:

... and 10 more

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

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


String.prototype.concat docs are not clear about alternatives

Request type

[ ] Please close this issue, I accidentally submitted it without adding any details
[ ] New documentation
[x] Correction or update

Details

I came to see a colleague of mine use the concat method on a string.
This is the first time I saw someone use it, and I was curios to understand how he came to use this method.
Of course this was the result of googling Concat strings nodejs.
Having never have seen or used this method, I was curios as to what the docs say about it.
Everything seems good until the performance section:
It is strongly recommended that the assignment operators (+, +=) are used instead of the concat() method.
According to this performance test, the assignment operators are several times faster.

This is written in the bottom of the page, and isn't marked as something special (as in, it's not bold or shown as a warning or something).
I think that the least that should be done is to have the explanation of the performance section, as a general warning to use other concatenation methods (+, +=, or string templates).
I'm not familiar with the implementation details, and why it's not deprecated, but I would at least like to know what people think about this.

I'm not sure this really needs extra explanation — the evidence is listed, the alternatives are linked to, and it is put underneath its own <h2>, which suggests a degree of importance.
I have moved it up the page, to right underneath the description, so it will be seen sooner. Do you think that improves things?

I guess it's better, but it all depend on why concat even exists, and whether users should use it at all.
I'm not sure who to discuss this about with, but what is the real use case of concat?
If there's no real reason to use it, and it's discouraged, I'd expect the page to have a warning on the top.
The fact that it has an <h2> indeed suggests a degree of importance, but the way it exists does not indicate anything "negative" about the method, as in - this looks just like any other part that provides information, when in fact - it practically provides a warning, and should show as such.

I'd imagine concat probably exists because it was implemented, but then they made the other methods way faster, but they can't get rid of concat because of backwards compatibility. The age-old story of web platform.

Exactly what I had in mind. But I imagine this is not the only such method that is old and it's usage is discouraged...
I can't seem to find another such example in MDN, but if in fact you know of such one, isn't there a way to make this mark? It's practically what Deprecated is for, but the method is probably not officially deprecated 😕


docs: DOC-172: Fix documentation for RectangleLabel

RectangleLabel documentation currently states that they x,y positions are before rotation, when the exported labels are after rotation.
PR fulfills these requirements

[ ] Commit message(s) and PR title follows the format [fix|feat|ci|chore|doc]: TICKET-ID: Short description of change made ex. fix: DEV-XXXX: Removed inconsistent code usage causing intermittent errors
[ ] Tests for the changes have been added/updated (for bug fixes/features)
[ X] Docs have been added/updated (for bug fixes/features)
[ ] Best efforts were made to ensure docs/code are concise and coherent (checked for spelling/grammatical errors, commented out code, debug logs etc.)
[ ] Self-reviewed and ran all changes on a local instance (for bug fixes/features)

Change has impacts in these area(s)
(check all that apply)

[ ] Product design
[ ] Backend (Database)
[ ] Backend (API)
[ ] Frontend

Describe the reason for change
(link to issue, supportive screenshots etc.)
What does this fix?
(if this is a bug fix)
Fixes documentation
What is the new behavior?
(if this is a breaking or feature change)
What is the current behavior?
(if this is a breaking or feature change)
What libraries were added/updated?
(list all with version changes)
Does this change affect performance?
(if so describe the impacts positive or negative)
Does this change affect security?
(if so describe the impacts positive or negative)
What alternative approaches were there?
(briefly list any if applicable)
What feature flags were used to cover this change?
(briefly list any if applicable)
Does this PR introduce a breaking change?
(check only one)

[ ] Yes, and covered entirely by feature flag(s)
[ ] Yes, and covered partially by feature flag(s)
[ ] No
[ ] Not sure (briefly explain the situation below)

What level of testing was included in the change?
(check all that apply)

[ ] e2e
[ ] integration
[ ] unit

Which logical domain(s) does this change affect?
(for bug fixes/features, be as precise as possible. ex. Authentication, Annotation History, Review Stream etc.)

fixes #5274


Update repo to active kubernetes version on AKS

Upgrade AKS kubernetes version to 1.21.9 and add variable for flux bootstrap command to use the relative repo the github action is run from.

Thanks


使用 sharding jdbc 关于设置了defaultDataSourceName,未分片表多表关联查询报错

Please answer these questions before submitting your issue. Thanks!
开源不易，我们希望将精力放在完成新功能和解决有价值的问题上，为了让大家的配合更具有效率，请填写以下列出的全部问题
Which version of Sharding-Sphere do you using?（您使用的Sharding-Sphere版本为？）
  1. com.dangdang sharding-jdbc-core 1.5.3
  2  com.dangdang  sharding-jdbc-config-common  1.5.3

Expected behavior （您预期的结果是）
设置了默认数据源后，未分片的单表查询正常执行，未分片的表多表关联正常执行
Actual behavior （实际运行的结果是）
未分片的单表查询正常运行，未分片的表多表关联不能正常运行，报错Cannot find table rule and default data source with logic tables
Steps to reproduce the behavior （可重现问题的操作步骤）
看过源码，有默认数据源，没有配置tableRules的单表查询具体执行过程
1.

2

3.

执行正常
有默认数据源，没有配置tableRules的多表Left join关联 查询执行过程
1.

2.

3.

执行报错
项目中正好遇到需要分表的场景，看了三天sharding sphere相关的产品，也看了很多官方手册和源码、博客，包括Issues列表中相关的问题，就是没有找到答案，Issues中有看到说1.5.3版本支持了，可是不行，恳请大牛帮忙指点下。
Please provide the reproduce example codes (such as github link)，otherwise we will label the issue as Invalid and close it.（为了节省复现问题的时间，请务必提供可重现的代码，否则我们会将issue直接标记为invalid并关闭）
SQL: SELECT sm.id, sm.scrm_brand_id, sm.scrm_card_id, ucm.unique_user_id   FROM scrm_member AS sm  LEFT JOIN ems_user_channel_mapping AS ucm  ON sm.id = ucm.usr_id                AND sm.mobile = ?
Cause: com.dangdang.ddframe.rdb.sharding.exception.ShardingJdbcException: Cannot find table rule and default data source with logic tables: '[ems_user_channel_mapping, scrm_member]'
Code should based on https://github.com/sharding-sphere/sharding-sphere-example
（代码请基于 https://github.com/sharding-sphere/sharding-sphere-example）

我使用的是当当网的maven中央仓库，这个应该没有影响吧

我现在是对会员数据分表，不分库。根据会员表中有手机号进行hash取摸分30张表，根据有账号进行hash去模分20张表，分片策略如下，

@zhangfeibiao hi, now i focus on this issuse. Did you join in your Wechat group? Please contact with trista on Wechat group, so we can talk more, thanks a lot.

@tristaZero First of all, thank you very much for your concern. However, I did not join WeChat group. Could you please tell me your WeChat ID?

@zhangfeibiao 840462575, My WeChat ID.

@zhangfeibiao Hi, can we talk more about this issue? I did not receive your friend request.

Hi, @zhangfeibiao So far, I haven't received your friend request yet, so i can not get detail about your issue. But, i tried to reappear your problem.
That is, there are two tables t1 and t2, without sharding rule but existed in the same default datasource, and i use the SQL of select * from t1 left join t2 on t1.order_id = t2.order_id to do query. The result is the expected one.
The difference between yours and mine is the vesion of Sharding-JDBC. Also i read the related code of the Version 1.5.3, if my case is same with yours, i think Sharding-JDBC of Ver.1.5.3 will cause this problem, but Ver 3.0.0.M1 will not.
So i suggest you to use Sharding-JDBC with latest version. Thanks a lot, if any problem, please let me know.

我用的当当1.3.4版本可以，但是换成1.5.4会出现同样的错误


Fixes XSS errors occurring in Firefox and WebDriver

This will make cross-site scripting errors go down for automated feature testing using Selenium or Protractor frameworks.
Also improved some documentation/scripting for tests.

@mhevery Hey, I've got a pretty clean commit for you. Let me know if you need anything else to merge this in.

Thank you!


ctldl.windowsupdate.com is used for cert revocation updates

And you block its CNAME
fg.download.windowsupdate.com.c.footprint.net

I found the cause. Even after #66 and #58 there was a file with footprint.net subdomains there, and they were added to non-asterisk hosts file. Removed, updated.

(old file /hosts/subdomains/_marketing_footprint_all, now deleted)


add window function doc

What problem does this PR solve?
Issue Number: close #4200
Problem Summary:
What is changed and how it works?
add window function doc
Check List
Release note

add window function doc.

/run-all-tests

/merge


Chart: Support extraEnvVars

See issue #167
It seems to me that extraArgs does not support my use-case.
Support setting extraEnvs so that extraArgs can refer to env variables such as $slackHookUrl

In addition to my above comment, could you please document the new option in the README and fix the failing lint-job? (version bump is missing)
Thanks!

@audunsolemdal Thanks for your changes. I tested the chart-rendering and it only worked (with values) if I used nindent instead of indent. Could you change that as well please?
But then it should be fine!

@ckotzbauer are any more steps needed for the new chart version to be pushed to Helm Hub?

@audunsolemdal New versions of the chart are always published alongside Kured releases.


Fixed bug reporting false positives with EmptyFunctionBlock

This rule (EmptyFunctionBlock) had a bug in reporting functions with override and empty
blocks (with or without comments).
I'm fixing it and adding a couple of tests to make sure it works properly.
Fixes #1684

Also the CI says you have conflicts :P

Also the CI says you have conflicts :P

Yeah I should update my master from time to time 😆

This should be good to go now imho

Codecov Report

Merging #1690 into master will decrease coverage by 3.83%.
The diff coverage is 80%.

@@             Coverage Diff              @@
##             master    #1690      +/-   ##
============================================
- Coverage     79.81%   75.98%   -3.84%
- Complexity     1594     1853     +259
============================================
  Files           229      328      +99
  Lines          4335     5521    +1186
  Branches        829     1007     +178
============================================
+ Hits           3460     4195     +735
- Misses          428      790     +362
- Partials        447      536      +89

Impacted Files
Coverage Δ
Complexity Δ

...rturbosch/detekt/rules/empty/EmptyFunctionBlock.kt
91.66% <ø> (+16.66%)
8 <0> (+2)
:arrow_up:

.../gitlab/arturbosch/detekt/rules/empty/EmptyRule.kt
86.66% <80%> (-4.25%)
10 <0> (+2)

...sch/detekt/rules/providers/PotentialBugProvider.kt
100% <0%> (ø)
3% <0%> (ø)
:arrow_down:

...tekt/formatting/wrappers/SpacingAroundOperators.kt
100% <0%> (ø)
3% <0%> (?)

...arturbosch/detekt/formatting/FormattingProvider.kt
100% <0%> (ø)
3% <0%> (?)

...bosch/detekt/formatting/wrappers/ImportOrdering.kt
100% <0%> (ø)
3% <0%> (?)

...in/io/gitlab/arturbosch/detekt/api/SplitPattern.kt
75% <0%> (ø)
10% <0%> (?)

...turbosch/detekt/formatting/wrappers/PackageName.kt
100% <0%> (ø)
3% <0%> (?)

...io/gitlab/arturbosch/detekt/api/CompositeConfig.kt
60% <0%> (ø)
4% <0%> (?)

...n/io/gitlab/arturbosch/detekt/api/ConsoleReport.kt
0% <0%> (ø)
0% <0%> (?)

... and 93 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 11abb88...0ac2a8d. Read the comment docs.


✨ [REQUEST] Cross-Seed (an app designed to match existing torrents across all trackers)

Checked

[X] If a new addon, I have checked on  Google that such as addon doesn't already exists
[X] If a new feature, I have searched in the discussions & issues that it was not already covered

Which addon?
Cross-Seed, (definitely a wishlist request, something that only applies to a few people since it's very private tracker based)
Is your feature request related to a problem? Please describe
cross-seed is an app designed to help you download torrents that you can cross seed based on your existing torrents. It is designed to match conservatively to minimize manual intervention.
cross-seed can inject the torrents it finds directly into your torrent client. Currently, the supported clients are
rTorrent
qBittorrent
Transmission
Deluge

Describe the solution you'd like
I was able to get it setup in portainer but was unable to get the mappings to work properly so an addon would be highly appreciated.

Have managed to get it running myself, closing because it's a very niche request

Have managed to get it running myself, closing because it's a very niche request

Did you developed an addon for HA for it?
Care sharing the repo for it?
Thanks!

No sorry, was just doing so through portainer. I can look into doing so
when I'm back from holiday
On Fri, 9 Feb 2024, 04:53 diamant-x, @.***> wrote:

Have managed to get it running myself, closing because it's a very niche
request
Did you developed an addon for HA for it?
Care sharing the repo for it?
Thanks!
—
Reply to this email directly, view it on GitHub
https://github.com/alexbelgium/hassio-addons/issues/1169#issuecomment-1934420685,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUMWJOC4WTS6SBJTRSHGHDTYSTYF3AVCNFSM6AAAAABBT3VYI2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZUGQZDANRYGU
.
You are receiving this because you modified the open/close state.Message
ID: @.***>

Have managed to get it running myself, closing because it's a very niche request

Did you developed an addon for HA for it? Care sharing the repo for it?
Thanks!

Hey there, I tried attempting to set up an add-on but couldn't figure it out. If I can find a guide I'd be willing to give it another go but as of now I'm still just using a portainer container to run it. @diamant-x


JebBrain: There is no validation when adding same repo multiple times.

Installation Information
Plugin version: 5.3.27-nightly
IDE version: IC-233.14015.106
Describe the bug
Steps to reproduce:

Have Cody plugin installed in your JetBrains IntelliJ IDEA editor
User is already logged in to Cody with Enterprise subscription
Click [+] button in the context panel and type sourcegraph repo url github.com/sourcegraph/sourcegraph
Hit "Add" button
Repeat step-3 and step-4 multiple times

Observed behavior:
It allows user to add same repo multiple times
Expected behavior
There should be some validation and not allow user to add duplicate repo.
Additional context (logs, images, etc)
Video link:
https://drive.google.com/file/d/1XYIA2b1T3qTLvifLN_r3k0Jndi-TD8Hp/view?usp=drive_link

Thanks, Jay, good catch! Does anything break when you add the same repo more than once?

Nope, it just allows me to add the same repo. If I add same repo 5 times, it shows they all are added but when I hit "New Chat", there is only one shown.

FYI: since https://github.com/sourcegraph/jetbrains/pull/646 the duplicated entry does not appear in the list.
Let's keep this issue open for now - the changes have not been released yet.
Additionally I opened https://github.com/sourcegraph/jetbrains/pull/763 - we will have the proper validation in the first place.


Correct compose framework repo

That will actually be all removed from that stage of the install.

Interesting, you mean via https://github.com/getumbrel/umbrel-os/issues/18?

Yes so it will only be run at first boot


Split tokeninfo scope if it is a string

Fixes #475.
I couldn't find a relevant test.

Coverage decreased (-0.07%) to 99.928% when pulling ebee26eb88a64ca01eff7556db5f4348939c1b06 on kislyuk:akislyuk-fix-tokeninfo into e0118810b94cf0d9462fe316cf18fb26149b7c19 on zalando:master.

The current split does split by whitespace. Could you show me where/how to add a test? I couldn't find a test for the security decorator's behavior at runtime. So instead, I tested this against Google's OAuth2 API.

@kislyuk You can add the tests to this file tests/decorators/test_security.py and use responses lib to mock a call to an external server. To get the scopes. You can even add responses exactly like you are getting from Google's OAuth2 API.

Would you mind sketching up a test that mocks a tokeninfo response? I'm not familiar with your test instrumentation, and the only test there now just calls an invalid tokeninfo endpoint and tests for failure.

@rafaelcaricio I added a test for both string and array scopes, positive and negative, please review.
I would suggest building out the OAuth functionality to be more modular and extensible. There is very little standardization of the tokeninfo route, so a tokeninfo provider class could be more appropriate, with easily overloaded methods for getting a uid, scopes, etc. More generally, I'm interested in building out OAuth support beyond implicit flow. I can work on that in a future PR, but for now I would like to get this initial fix merged and in PyPI to unblock my team.

Coverage remained the same at 100.0% when pulling 1075ecdaed3bc9549ef43c3f605a9ea3d1945550 on kislyuk:akislyuk-fix-tokeninfo into e0118810b94cf0d9462fe316cf18fb26149b7c19 on zalando:master.

Coverage remained the same at 100.0% when pulling cf0930ac8571fc0562402c19a18f5933ce65be3a on kislyuk:akislyuk-fix-tokeninfo into e0118810b94cf0d9462fe316cf18fb26149b7c19 on zalando:master.

Coverage remained the same at 100.0% when pulling 14b791d0fa8171049813ad428e28592319084854 on kislyuk:akislyuk-fix-tokeninfo into d8019b346e1646be8216ffe4fc2172d28cce5185 on zalando:master.

:+1:

Thank you for merging. Would it be possible to cut a PyPI release? We'd like to use this feature in our app.

@kislyuk sure, I released it directly after merging (6 days ago): https://github.com/zalando/connexion/releases/tag/1.1.11 :tada:

Oh, thanks! I was looking at the git history expecting to see it there.
Will try deploying with it now.
On Fri, Jul 14, 2017 at 12:10 PM, Henning Jacobs<EMAIL_ADDRESS>wrote:

@kislyuk https://github.com/kislyuk sure, I released it directly after
merging (6 days ago): https://github.com/zalando/
connexion/releases/tag/1.1.11 🎉
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/zalando/connexion/pull/477#issuecomment-315443302,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA0nPa9Ppf87ciPg029ygK39VAjpfoSGks5sN70MgaJpZM4OJgcf
.


Make a Snackbar configurable to be dismissable or not

Make a Snackbar configurable to be dismissable or not
This is a stackoverflow question with the same problem.
https://stackoverflow.com/questions/53870123/flutter-prevent-snackbar-from-getting-dismissed-on-swipe

What's the use case for creating a SnackBar that can't be dismissed? Maybe it would be better to provide a  different notifcation UI, for example  https://material.io/design/components/banners.html


Fix bug with schedulable_threads

Problem

Bug introduced in #545 by me
We don't actually consider schedulable threads set when scheduling

Summary of Changes

Fix bug by passing schedulable_threads to try_schedule_transaction and try_lock_accounts

Fixes #

I am adding a test for this behavior, but it depends on the recently added configurablity of the limit at which we stop scheduling to a thread rather than default 12M CUs.
For backporting it may be better to just include the functional change of passing schedulable_threads.

The effect of this bug being introduced is that the scheduler would not stop scheduling to a given thread at the 12M CU limit.
Which means we're actually queueing up more work than desired, and is likely making parallelism worse as 1 thread accumulates all locks.


CanESM5-tasmax.yaml fails cleaning validations for ssp585, ssp126

CanESM5-tasmax.yaml fails cleaning validations for ssp585, ssp126 in https://argo.cildc6.org/workflows/default/e2e-tasmax-jobs-d4tst
Log from failing step in ssp126:
Validating gs://clean-b1dbca25/cmip6/ScenarioMIP/CCCma/CanESM5/ssp126/r1i1p1f1/day/tasmax/gn/v20190429.zarr
Traceback (most recent call last):
  File "/argo/staging/script", line 18, in <module>
    _test_timesteps(ds, data_type, time_period)
  File "/opt/dodola/dodola/core.py", line 645, in _test_timesteps
    assert (
AssertionError: projection cmip6 file is missing timesteps, only has 108405

For ssp585:
Validating gs://clean-b1dbca25/cmip6/ScenarioMIP/CCCma/CanESM5/ssp585/r1i1p1f1/day/tasmax/gn/v20190429.zarr
Traceback (most recent call last):
  File "/argo/staging/script", line 18, in <module>
    _test_timesteps(ds, data_type, time_period)
  File "/opt/dodola/dodola/core.py", line 645, in _test_timesteps
    assert (
AssertionError: projection cmip6 file is missing timesteps, only has 64605

Tagging in @dgergel!

@brews the same thing as in ACCESS-ESM1-5 is happening here for ssp126, the input zarr extend to 2300.  For ssp585, it extends to 2180.
I've created an issue in dodola to update the validation code to have a more helpful assertion error: https://github.com/ClimateImpactLab/dodola/issues/139

Closed with PR #365


Instagram videos without voice

Voice not working, i get this error while build the video.
[Error: Error: Cannot find module './C:\Users\Murilo\Documents\Projects\podcast-maker\tmp\output-0.mp3'
at webpackContextResolve (http://localhost:3000/bundle.js:13195:11)
at webpackContext (http://localhost:3000/bundle.js:13190:11)
at loadAudio (http://localhost:3000/bundle.js:13440:41)
at http://localhost:3000/bundle.js:13452:5
at fk (http://localhost:3000/bundle.js:6938:19)
at exports.unstable_runWithPriority (http://localhost:3000/bundle.js:11950:12)
at gg (http://localhost:3000/bundle.js:3787:10)
at Oj (http://localhost:3000/bundle.js:6890:12)
at http://localhost:3000/bundle.js:6880:7
at V (http://localhost:3000/bundle.js:11876:17)]
the intro sound works fine

Yes, I have only tested on Linux, as you are using windows path could not be right.
Try to remove it and feel free to send a PR correcting it

how i can generate a file like example .json inside temp folder?

The problem is in the file generated in the temp folder similar to example.json, the path to the audio is with the wrong formatting just like you said, but I can't find where the file is generated to change the path

This file is exported at ExportDataService.ts, however audio file path is defined in content.json at RetrieveAudioDataService.ts

t

Yes.

Pls, remove --props inline json and add to a file because windows not support this

When are you going to make the changes and approve the PR

I will take a look at it during the weekend

I need to make some changes in your PR, it seems like doesn't correct the root of problem... I was investigating, cause it seems to have a bug in motion require

UPDATE: still working in this issue, asap I will be back with bug correction

ok, thanks for the support

fix was merged on https://github.com/FelippeChemello/podcast-maker/pull/10


Using_the_testing_framework_built_into_masstransit test fails

In the test assembly MassTransit.AutomatonymousIntegration.Tests most of tests pass except:

Triggering_a_change_event_from_a_transition.Should_handle_a_double_state
Using_the_testing_framework_built_into_masstransit.Should_handle_the_initial_state
Using_the_testing_framework_built_into_masstransit.Should_handle_the_stop_state

These three tests fail all the time.

For testing, the TestFramework should work (a separate assembly, yes, it uses NUnit).
The MassTransit.Testing namespace has yet to be made usable though. It's a low priority thing for me, but something I'd like to revisit at some point.

TestFramework has no saga testing, unfortunately, and is bound to NUnit as you mentioned

The built-in testing has been completely rewritten, and includes everything that was in the TestFramework and Testing namespaces, for consumers, and sagas. Plus, it doesn't depend upon any testing framework.
A consumer test: https://github.com/MassTransit/MassTransit/blob/develop/src/MassTransit.Tests/Testing/ConsumerTest_Specs.cs#L22
A saga test:
https://github.com/MassTransit/MassTransit/blob/develop/src/MassTransit.Tests/Testing/SagaTest_Specs.cs#L38
If this fits the bill, we can close this issue.

Perfect 👍


[ruff] Implemented in-compare-with-single-item-container (RUF051)

Summary
This PR implements wps rule in-compare-with-single-item-container. Discussed here.
Use of in or not in operator on single item container is unnecessary.

Test Plan
cargo test

This might be a duplicate of https://docs.astral.sh/ruff/rules/single-item-membership-test/?

Missed it again, sorry.


Fix bug where compilation of contracts without public functions would result in malformed YUL

What was wrong?
As identified by the fuzzer in #219 contracts without any public functions compile to faulty YUL.
How was it fixed?
Compile to pop(0) instead of switch (..) when there are no public functions.
To-Do

[ ] OPTIONAL: Update Spec if applicable
[x] Add entry to the release notes (may forgo for trivial changes)

Codecov Report

Merging #248 (0ed8cfc) into master (9c49805) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #248   +/-   ##
=======================================
  Coverage   93.91%   93.91%
=======================================
  Files          54       54
  Lines        3744     3746    +2
=======================================
+ Hits         3516     3518    +2
  Misses        228      228

Impacted Files
Coverage Δ

compiler/src/yul/runtime/abi_dispatcher.rs
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 9c49805...f840fff. Read the comment docs.


Use problem interface instead of error interface when applicable

Since Problems shouldn't be wrapped - they stop being problems then - I think it's appropriate to use the Problem interface whenever possible, to make it clear that an error have 'evolved' to it's next stage.
This change makes this approach a bit easier to implement

This change is fine, but using errors in your application code is what we want. We want to return problems or errors in most cases since errors should be converted into InternalServerProblems at the last possible moment.


wrongUrlForUpload  - looks google chanegs upload URL

it looks google changed upload URL from https://www.googleapis.com/storage/...
to https://www.googleapis.com/upload/storage/...
you should fix it like this
patch.txt

@yarcherny thanks for the bug report and providing the patch!!
The patch has been included in latest v0.2.2, available in PyPi, and media uploads are working again.


Add Beaker Travis acceptance tests

Closes #88

Thanks a lot @petems for your effort here. Some checks are failing at the moment, maybe you have a chance to look into them? Seems to be Travis related, or some version incompatibilities...

@tobru Funnily enough the timeout failure is an exposure of a live bug (see #90).
I might stick to just testing Ubuntu 14.04 for now, then expand out to other OS's as stuff is fixed.

I'll merge this now and see how it goes...

Tests are still failing - Not sure because of Beaker or because of a real problem. Therefore added the test to allow_failures

Yep, I've got a fix for one of them, the other might be a live bug with the docker module, I'm running tests now 👍


Use BackHandler in Modal at tvOS

Hi,
I try to use BackHandler by tutorial at tvOS. I want to catch press at menu on remote in Modal view.
But, when I show Modal, Modal view stop to listen AppleTV remote events. It stops to sending any RCTTVNavigationEventNotification. I was only particularly successful with transparent modal view. But it didn't work at some designs, mostly connected with flex style.
I want to update my state of my parent ,to let him know, that Modal was closed. Basically set state, which showing this Modal to false.
I am using react native 0.45.1 with npm 5.03.
Can you give me a hint how to do it or fix it?

Hey, thanks for reporting this issue!
It looks like your description is missing some necessary information. Can you please add all the details specified in the template? This is necessary for people to be able to understand and reproduce the issue being reported.
I am going to close this, but feel free to open a new issue with the additional information provided. Thanks!

Instriction to create simple exaple at tvOS.
Create component which is showing Modal. In this modal will be another component. Lets call it DetailComponent.  In this component add BackHandler to catch events from remote. In render show only some text.
Run this and you show Modal with DetailComponent. Whe you touch menu at remote. BackHandler is called.
Now add some touchable to render of DetailComponent.
Reload it and show modal again. When you touch menu at remote, BackHandler is not called now.
When I was looking to native Obj-c code. In the RCTTVRemoteHandler, when I show Modal, didn't call listener to UIGestureRecognizer. Then it can't send notification RCTTVNavigationEventNotification with type of event to Javascript code.

I have the same problem

How I can reopen this issue?

@redak105 let us know after you've edited your original comment and we can re-open it. As I said earlier, there's a template that needs to be filled out in order to keep an issue open. You can see it when you create a new issue.


H2O Security Implementation

We ask that you please be patient as our team works through approving and publishing all articles/tutorials in a timely manner. Allow 1-3 days for a topic to be reviewed and/or approved - allow 3-7 days for an articles to be reviewed and/or published.
Be sure to visit our Resources Page for tools, resources, and example articles to go over.
NOTE: (Please ensure that you have only one open issue + linked pull request at a time. This will ensure that we complete the article in a timely manner from inception to publishing.)
NOTE: We tend to stray away or tend not to publish reviews/comparisons of commercial product offerings.
We're looking for the first 2-3 paragraphs of the article that appropriately summarize what your article will be about.
Proposed title of article
Your title should be descriptive of the article/tutorial. Be Specific. Use keyword research to gain your article higher ranking.
H2O Security Implementation
Introduction paragraph (2-3 paragraphs):
Please write the Introductory paragraph(s), that would be included in your article. We will use this writing snippet to help us assess overall quality before approval. We're looking for the first 2-3 paragraphs of the article that appropriately summarize what your article will be about.
Take your time and write the content as you would intend to get it published.
Security in the data analytical space is important to consider internally and externally. While surrounding a network with cybersecurity protection increases stability, the kernel within the coding program remains vulnerable. Cyber threats and attacks are unpredictable, however, this tutorial shows one of several security precautions to consider prior to starting a coding program. In this tutorial, a module in Python Programming called H2O, Internet Protocol (IP) and Domain Name System (DNS) components, and a Linux container are introduced.
Prerequisites

Linux computer Operating System (OS) or Linux container.
Basic Bash knowledge.
Python (preferably 3.3+, tutorial uses 3.9).
Bash installations: H2O, Java, keytools, and a text editor.
Python installation: H2O.
Internet access with internet browser.

This tutorial is written at root.
First, open a Linux container.
Ubuntu LTS and Kali Linux are examples of containers.
For any security mechanism to become stable, generation of authentication files are necessary. Refer to the instructions at the H2O documentation website to generate keystore and truststore authentication files.
Key takeaways:
What are the 3-5 most important things the reader should understand or be able to do after reading this article? Use this area to get your ideas down on the bulk of your article or tutorial.

Increasing security can start with the kernel.
H2O allows security options.
Linux systems and Linux containers can include security and protection.

References:
Please list links to any published content/research that you intend to use to support/guide this article.
H2O documentation website.
Linux Container
ZDnet-Ubuntu
Templates to use as guides

How To Guide Template
Software Review Template
Tutorial Template

seems like a helpful topic - lets please be sure it add value beyond what is in the official docs and that it does not overlap with any existing EngEd articles (if you haven't already). - approved @pkalynan


golang filter: the case of header name should be unified

Background
Currently, the header API treats header as case sensitive, which is different from the standard.
However, according to the standard, both up and lp should be cat.
Therefore, we need to unify the case in the header API.
Solution
We can unify the header to the lowercase. Since all the headers fetched from the Envoy is lowercase, we don't need to touch them during initing headers. What we need to do is to change the passed headers to lowercase if they are not, except the GetRaw API.
The alternative solution is to convert the headers into CanonicalMIMEHeaderKey format, which is used by Go. The advantage of the alternative solution is that we don't need to convert lowercase to CanonicalMIMEHeaderKey when we pass the header to http.Header. However, not all headers fetched from the Envoy will pass to http.Header.
CC @doujiang24

We use lowercase in the C++ side:
https://github.com/envoyproxy/envoy/blob/main/contrib/golang/filters/http/source/golang_filter.cc#L695
The problem is: that we use the raw header in the Go side cache, in the Set API.

What we need to do is to change the passed headers to lowercase if they are not

I think it's good to do it in the Set API.
But I'm not sure about always lowercase in the Get API, a little worried about the performance, maybe some benchmark results could help us.
I prefer to lowercase in the Get API too, when the performance cost is low enough.

But I'm not sure about always lowercase in the Get API, a little worried about the performance, maybe some benchmark results could help us.

It seems the developer can specify a lowercase name by herself, but it doesn't.
For example, Consider there is a plugin that allows the user to configure a header name to fetch a credential. To always ensure the name is lowercase, the developer needs to either
"force the user to use the lowercase name when validating the configuration"
or
"do the lowercase before passing the header to the GET API".
Both solutions require the developer to write extra code, which is caused by our violation of the HTTP standard.
It would be worse if the developer think this behavior is guaranteed by us and doesn't do the lowercase by herself. This assumption is reasonable because the Go standard library already provides the guarantee.
Go will use CanonicalMIMEHeaderKey to ensure the header name is case-insensitive:
https://github.com/golang/go/blob/12051f7d95ef6e97d1be0cab8a3583ad38ec1dcd/src/net/textproto/header.go#L34
It will a pitfall if we don't obey the HTTP standard and the Go's default behavior.

What we need to do is to change the passed headers to lowercase if they are not, except the GetRaw API.

If the developer needs better performance, they can use GetRaw, just like accessing the Go header map directly.

Okay, let's always lowercase the header name.
BenchmarkStrFooBar-12           30421788                33.32 ns/op
BenchmarkStrFooBarFooBar-12     22582392                52.81 ns/op
BenchmarkStrfoobar-12           160176190                7.261 ns/op
BenchmarkStrfoobarfoobar-12     100000000               11.80 ns/op

And, here is a simple benchmark result, it's fast when strings are already lowercase.

Okay, let's always lowercase the header name.
BenchmarkStrFooBar-12           30421788                33.32 ns/op
BenchmarkStrFooBarFooBar-12     22582392                52.81 ns/op
BenchmarkStrfoobar-12           160176190                7.261 ns/op
BenchmarkStrfoobarfoobar-12     100000000               11.80 ns/op

And, here is a simple benchmark result, it's fast when strings are already lowercase.

Great! I will submit a PR later.


Fixes to memcache support

Log an error rather than aborting when memcache doesn't resolve
Initialize map correctly

This change is

Have just confirmed that this works for me on local.


Inconsistent rendering of "third-order polynomial"

In the Assumptions section, you render it as "third-order polynomial" (which I believe is correct), but render it as "3rd order polynomial" in the Likely Changes section. This seems like a good place to introduce a concept to improve consistency!

Related: You also define the same description of the relevant LCs twice, instead of reusing the same one for both. Is there a reason for this?
https://github.com/balacij/Drasil/blob/e0c230521b3b2f2f182799711c6e762df94c3b8e/code/drasil-example/bmbnd/lib/Drasil/BmBnd/Changes/Likely.hs#L9-L28

Ah, yes, that's a good idea. I won't do this quite yet, but I will remember to do it when I do another pass to clean up all the strings I use. Thank you!
I don't feel sharing Strings at the level of Haskell is the 'Drasil way', I want to do it the way that you mentioned in the top part of the post. That's why there is some string duplication. That particular one looks more like an error, where I forgot to paste the right text from my original SRS, however.


LogsViewer save user filter preference.

This is to help open the default view , or adding a list somewhere for user to choose from a previously used filter set.

Nice to have feature.  Move it to M3 or even later.


@babel/polyfill support

Hi, seem like rollup-plugin-auto-external doesn't support dependencies' dependencies. When I include @babel/polyfill in dependencies, It also require('core-js') in final bundle.
"dependencies": {
  "@babel/polyfill": "^7.0.0", // it will require `core-js`
  "@babel/runtime": "^7.1.5"
}

Then I get a warning here:
'core-js/modules/es6.array.iterator' is imported by xxx.ts, but could not be resolved – treating it as an external dependency

That's what I did temporarily.
external: id => {
  try {
    require(id) // Exited in node_modules
    return true
  } catch (e) {}
}

rollup-plugin-babel-runtime-external should do the trick for you. Care to give it a go and tell me how it went?


Docs are missing the anchor links

📚 Documentation
As pointed out by @oplatek the docs suddenly miss the anchor button that allows one to generate a link that points to a particular resource within a page.
This was working before, but now there is a 404 when accessing some assets (js, css, ...)
EDIT: seems not related to the 404 seen in the JS console.

I noticed the following:

The anchor links for title sections are there
The anchor links are only missing for the class/method/function definitions in the docs composed in .rst files.
If you search for the class/function in the search box and click on the result, you get to a page where all the anchor links are there. For example, compare this vs. this.

So it seems the theme is only inserting the anchor links in autogenerated docs, but not the handwritten .rst files.
No idea how to fix it still...

I think this is the issue:
https://github.com/sphinx-doc/sphinx/issues/7052
All docs that have :noindex: in the automodule/autoclass don't get the permalink

so there is nothing we can do about it... @awaelchli, right?

@Borda We will be when they release the new sphinx version. We can replace the :noindex: with :noindexentry: and it should show the links.

Is this still an issue? I would like to take it.

Btw, what is the issue tho?

have not made progress. so I'm happy if you can take it. as mentioned on slack, I believe the links are missing because we have two types of docs and we can't index both, and one has the :noindex: label, which causes links to disappear.

I think could it be fixed with autosummary?


Update Pages “PestControlPage”

Automatically generated by Netlify CMS

👷 Deploy Preview for chic-shortbread-66a66b processing.

Name
Link

🔨 Latest commit
18383a22bdaed8abf6787032d647667b873bd556

🔍 Latest deploy log
https://app.netlify.com/sites/chic-shortbread-66a66b/deploys/654dab8a42f7d80007cee34a


[SchemaRegistry] bump avro dependency version after dropping Python 2.7

bump avro version to 1.11.0

avro >= 1.11.0
in general we should not pin "=="


[BUG] Compilation error with /W4 /WX

Describe the bug
C:\Dev\Code\cansystem\refactor\svector.h(288): warning C4456: Deklaration von "storage" blendet vorherige lokale Deklaration aus
C:\Dev\Code\cansystem\refactor\svector.h(279): note: Siehe Deklaration von "storage"
C:\Dev\Code\cansystem\refactor\svector.h(263): note: beim Kompilieren der Klasse Vorlage-Memberfunktion "void ankerl::v1_0_2::svector<uint8_t,7>::realloc(size_t)"
C:\Dev\Code\cansystem\refactor\svector.h(667): note: Siehe Verweis auf die gerade kompilierte Instanziierung "void ankerl::v1_0_2::svector<uint8_t,7>::realloc(size_t)" der Funktions-Vorlage.

I hope you can follow the intent, even if German. There is a local variable 'storage' in line 288 which hides an outer 'storage'. This is a warning in /W4 and an error if wanrings are made to errors with /WX

Passt schon, ich versteh Deutsch schon ziemlich gut :smile:
I guess I should add a MSVC build to the CI.

Please also check your unit-test coverage. Template classes/functions are a challenge as functions are only compiled if used. Also template classes need to be tested with different types as they might have different assignment limitations. A good test type is also a class with deleted copy construction and default moves (and the other way around)
Always unit-test with highest warning level and warnings-as-errors. A good option is also /permissive- (which I did not use)

I'd say I have pretty good test coverage, it's just I never compiled on Windows. I've added that to the CI now and fixed a few warnings mostly in unit tests.
I'm compiling with  -Wall -Wextra -Wpedantic on Linux and  /W4 with MSVC, and treat all warnings as errors.


As Product Owner, I want that mod_callMetadata.php is replaced by a search interface provided by MrMap.

General requirements

MrMap's search interface is inspired by MapBender's `mod_callMetadata.php' interface
The primary client of the search interface is the "search wrapper" that is part of the Geoportal RLP.
Another client of the search interface is mobilemap2.

Two different operation modes

Search is performed against MrMap's database. (without full text, see Epic 2)
Search is translated into a CSW GetRecords-request and performed against a CSW registered in MrMap. The CSW response is transformed into the JSON response structure defined by MapBender's search interface.

Please add your planning poker estimate with ZenHub @MrSnyder


Added colab , installation packages and few other changes to chicago_taxi_fare_prediction.ipynb file

Added colab , installation packages and few other changes to chicago_taxi_fare_prediction.ipynb file
If you are opening a PR for Official Notebooks under the notebooks/official folder, follow this mandatory checklist:

[x] Use the notebook template as a starting point.
[x] Follow the style and grammar rules outlined in the above notebook template.
[x] Verify the notebook runs successfully in Colab since the automated tests cannot guarantee this even when it passes.
[x] Passes all the required automated checks. You can locally test for formatting and linting with these instructions.
[x] This notebook has been added to the CODEOWNERS file under # Official Notebooks section, pointing to the author or the author's team.
[x] The Jupyter notebook cleans up any artifacts it has created (datasets, ML models, endpoints, etc) so as not to eat up unnecessary resources.

Execution error:
Step #3:
Step #3: FileNotFoundError: [Errno 2] No such file or directory: '/builder/home/.local/lib/python3.9/site-packages/google_api_core-2.7.3.dist-info/METADATA'

rerunning test

/gcbrun

/gcbrun

FileNotFoundError: [Errno 2] No such file or directory: '/builder/home/.local/lib/python3.9/site-packages/google_api_core-2.8.2.dist-info/METADATA'
Step #4:


codeGen Models with relationships results in multiple XCode errors

Describe the bug
Created a very basic Model set, with two 'Tables' Entity and User
When I do a pull or subsequent codegen, I get a whole hornets nets of errors, relating to the fact that the User Type
In static schema definition public static let schema = defineSchema
 .hasOne(entity.User, is: .optional, ofType: User.self, associatedWith: User.keys.id, targetName: "entityUserId"),
Errors:

Cannot convert value of type 'User?' to expected argument type 'Model.Type'
Instance member 'User' cannot be used on type 'Entity'; did you mean to use a value of this type instead?
Static member 'keys' cannot be used on instance of type 'User'
Value of optional type 'User?' must be unwrapped to refer to member 'keys' of wrapped base type 'User'

Steps To Reproduce
In Studio, create two 'tables' User and Entity.
add relationship field. (1:1)
Pull to swift project directory.
Wait for XCode to start complaining

Expected behavior
Would be great if one could have some model code generated that doesn't set the world on fire.
Alternatively, just know why this happens and how to resolve it.
Amplify Framework Version
? 02-02-22
Amplify Categories
DataStore
Dependency manager
Swift PM
Swift version
5.0
CLI version
7.6.15
Xcode version
13.2.1 (13C100)
Relevant log output
No response
Is this a regression?
No
Regression additional context
No response
Device
all
iOS Version
iOS 15.2
Specific to simulators
no
Additional context
Without relationships - works fine
With model relationships - errors

Hello
I found same issue, better described in #1031
concur  that it's a case-sensitive issue. The auto generated link/relationship attribute name is in Uppercase, which matches the Type name. XCode then sees this as trying to assign the type to the 'field' with the same name.
Changing this to lowercase works. And the best I suppose doing it in studio for pull should also work. (Although i read somewhere that one shouldn't mess with that, so not sure if it's only for the plurals)
In this version it does show .hasOne - so tha's cool.


Blender 4.1.0 doesn't work

In Blender after update (4.0.3 -> 4.1.0) Optix doesn't render (shows only silhouettes of objects) with CUDA with my RX 570 [Zluda]. It works in previous versions.
That's what it says trough console right after trying to render with ZLUDA.
Failed to configure CUDA context (Invalid context)

Refer to the Cycles GPU rendering documentation for possible solutions:
https://docs.blender.org/manual/en/latest/render/cycles/gpu_rendering.html

Invalid value in cuCtxPushCurrent(device->cuContext) (C:\Users\blender\git\blender-v410\blender.git\intern\cycles\device\cuda\util.cpp:14)
Invalid context in cuStreamCreate(&cuda_stream_, CU_STREAM_NON_BLOCKING) (C:\Users\blender\git\blender-v410\blender.git\intern\cycles\device\cuda\queue.cpp:21)
Invalid context in cuCtxPopCurrent(NULL) (C:\Users\blender\git\blender-v410\blender.git\intern\cycles\device\cuda\util.cpp:19)

The files from log: https://github.com/blender/blender/tree/main/intern/cycles/device/cuda
I suppose it was broken on purpose.

I think that's duplicate of #146. Can you try the newest ZLUDA revision?

I just tested now and it's working with latest rev.
Thank you.
I will leave here compilation of todays state of the repository as took my computer 30 minutes to compile.
zluda-3-windows_7d4147c.zip


Do you figured out why the performance is worse than faster rcnn?

I tried to change the backbone stride in resnet stage5 to improve the performance, but it didn't work

Same problem with me too!


8.5.5: Add missing check for SenderStatusCertMiss and more robust cert fetch

Backport of the https://github.com/lf-edge/eve/pull/3020
cc: @eriknordmark
cc: @dautovri

Need a careful review around this to look for any other holes where we can miss updating the controllers certificates in EVE, e.g., if there is a network outage. If helpful we can set up a call for that.
The refactoring in
985b142 missed the check for SenderStatusCertMiss.
Given that we didn't detect that in testing, the second commit runs a the fetch periodically (default every 24 hours) as extra safety.
Third commit: Turns out that the first fetch of the certs in zedagent can fail if the network isn't up yet (and the fetch on boot in client.go can be skipped if the device has already been onboarded), thus it makes sense retrying more frequently if that happens. (Note that all of this retry is a second layer of protection should the SenderStatusCertMiss checks be broken again as in the above commit.)
We also add some more logging to be able to observe at least the failures, without logging every periodic fetch.
The forth commit makes sure we clear the cache inside the zedcloud.authen.go code when we update the certs.
The fifth commit is unrelated, but when debugging and testing the above it looked odd that a device was marked as booting when it was running fine using the checkpointed config.

After looking at the logs of one device (which I still don't fully understand) I think there is one more fix we should do to make authentication errors when accessing the /attest API endpoint also trigger a fetch of the controllercerts. I'll do a PR against master for that one shortly, but the question is whether we want to get this 8.5 patch in place immediately or if we can wait for a few days?

DCO complains about 4 out of 6 commits. 2 out of 6 commits have Signed-off-by: Roman Penyaev<EMAIL_ADDRESS>at the end. Thus I think this needs to be added to to all commits.

That's weird. Those commits taken from similar PRs created by me in the same manner i did here. I signed those too commits because i ported them, thus changed code, thus have to sign. Anyways i will figure out.
@dautovri Ruslan, please create a branch 8.5.4. GitHub does not allow to select a tag as a base, so this one PR targets the 8.5 which is incorrect

@dautovri Ruslan, please create a branch 8.5.4. GitHub does not allow to select a tag as a base, so this one PR targets the 8.5 which is incorrect

We shouldn't need that; we'll run a make patch in a workspace in the 8.5 branch and it will create the 8.5.5 tag. We never have a separate branch for a micro release; only for the minor version.

@dautovri Ruslan, please create a branch 8.5.4. GitHub does not allow to select a tag as a base, so this one PR targets the 8.5 which is incorrect

We shouldn't need that; we'll run a make patch in a workspace in the 8.5 branch and it will create the 8.5.5 tag. We never have a separate branch for a micro release; only for the minor version.

But this PR will be applied to the 8.5 branch if you merge it from GitHub and not the 8.5.4. I assume Ruslan usually does something manually, so then I will fix a format error and then he can pull and merge himself, not from a GitHub

But this PR will be applied to the 8.5 branch if you merge it from GitHub and not the 8.5.4. I assume Ruslan usually does something manually, so then I will fix a format error and then he can pull and merge himself, not from a GitHub

The tooling is there in form of "make patch" and the workflow is:
0. Get all the fixes we need into the 8.5 branch (could be multiple PRs before we decide to cut a new patch)

Check out 8.5 branch
make patch
Check git log that everything is there
git push (exact parameters to use are in the output from make patch)

But this PR will be applied to the 8.5 branch if you merge it from GitHub and not the 8.5.4. I assume Ruslan usually does something manually, so then I will fix a format error and then he can pull and merge himself, not from a GitHub

The tooling is there in form of "make patch" and the workflow is: 0. Get all the fixes we need into the 8.5 branch (could be multiple PRs before we decide to cut a new patch)

Check out 8.5 branch
make patch
Check git log that everything is there
git push (exact parameters to use are in the output from make patch)

The main confusion was that i was not sure is the 8.5 is a head or tail. It is head, so always moves with last changes. So will update once come home

Difference to the previous version:

Singed all the commits (which is very strange to me, since those commits are not mine, anyway I backported a couple of them, so I signed with a message)
Fix formatting

Eden run? Run eden? Eden do something


Update installation docs and readme

Updates to README and main docs page to highlight the installation routine.
Also fixes the PyPI badge on our README

Codecov Report
Patch coverage has no change and project coverage change: -0.13% :warning:

Comparison is base (55d9106) 87.22% compared to head (b5a3f97) 87.10%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #61      +/-   ##
==========================================
- Coverage   87.22%   87.10%   -0.13%
==========================================
  Files          15       15
  Lines         814      814
==========================================
- Hits          710      709       -1
- Misses        104      105       +1

see 1 file with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


"Responsive Web Design Patterns" - "Try It" links need updating.

At Responsive Web Design Patterns all the "Try It" links return 404 errors.
E.g. https://googlesamples.github.io/web-fundamentals/samples/fundamentals/design-and-ui/responsive/patterns/mostly-fluid.html
Requires updating.

Fixes in #3657, deploying now.

@petele Thanks! I've confirmed all the "Try It" links work at my end.


Declare Input and Output Files in Run Script Phase

In several WWDC talks, Apple suggests to set the Input and Output files in all run script phases, so the build system can choose to skip a run script phase if nothing changed, improving incremental build time.
How could we improve R.swift‘s behavior here?
Note that I did not yet check if wildcards were allowed in the Input Files field. Or if we could somehow leverage the new File List field.

Good suggestion, I was already thinking if we can leverage this. Few things that I noticed/came to mind:

We can't modify the new file lists (and also the "old" input files) during build as mentioned in Building Faster in Xcode
I think generating this list with a command you need to run by hand is to cumbersome, we need something automated for R.swift to make it really useful
We already do not write the file if there are no changes to prevent Xcode from thinking the file is changed/touched, but still the optimisation of not calling R.swift at all if not needed would be great
I'm wondering if we could add the Xcode project file to the list, that would be a nice thing to try. If that work I think we can use that to detect new resources and update the list.

See also the discussion the neighbours at SwiftGen have: https://github.com/SwiftGen/SwiftGen/issues/441

Researched this a bit and also discussed this also with @tomlokhorst today;

Input file lists must exists if the file list doesn't exists compilation fails
Any file can be given, Xcode just looks at the last modified time of the input file
We would need to generate an input list of:

The project file (to detect added resources)
All resources found: images, xibs, storyboards, etc (to detect changes to these resources)
All the Contents.json files inside asset catalogs (to detect additions/deletions to assets, since those are not mentioned in the project file, and also changes to specific assets)

The big question is how to bootstrap this correctly, since integrating R.swift then would also mean you need to generate a file list by hand to make sure the first compilation keeps working.

Since one of the main features of R.swift is to generate typed references to (new) images. It is fundamentaly


Update footer.html

Updated footer: Now when we click Deepak Raj we are redirected to the direct Telegram Message to direct message Deepak Raj.

Thank You


Fix Container sample app OIDC Permissions Issue

Describe the Issue

Container sample app OIDC is having issues while deploying the deployment fails with insufficient perms to create service Linked roles

Additional Context
Example
Acceptance Criteria

Issue is fixed and tested with deployment in any one of the project set.

.
.
.
.
.
.
.
.
.
.
.
Extra Template Info
Definition of Ready
These set of conditions will need to be met in order to bring a ticket into the sprint and start work. Protects the team from unclear requirements.
Issues (Task/Story/Spike) aligned to an EPIC and linked appropriately.
Assigned to the appropriate CPF MEMBER (and is not left blank in ZenHub) at the start of sprint (1st day of the sprint)
Acceptance has been defined for the issue and has been reviewed with CPF team and approved by the necessary approver.
Has been sized and estimated by the delivery team.
Detailed breakdown of the steps required to complete the story in the additional context
Any additional specifications have been documented, reviewed with CPF and approved by the necessary approver.
Acceptance Criteria
A set of pre-defined requirement that need to be met in order to mark the user story as ?done?.
It should be testable with no room for interpretation
It should be either ?pass? or ?fail?
It should be clear enough for business stake holders to understand
As part of the user story, it should be written from the user perspective
A well written acceptance criteria is great for

managing expectations
defining scope
reducing ambiguity
establishing testing criteria for QA
Given (Pre-condition)
When (Action)
Then (Outcome)

Definition of Done
These set of conditions are met for work to be considered as complete on an issue.
All acceptance criteria(s) have been validated.
All the necessary documentation for the issue has been uploaded to Teams.
Functionality has been tested when applicable.
Functionality has been demonstrated to the relevant stakeholders (where applicable).
Story has been scheduled for a Sprint Demo/community update and impacted teams invited to the Demo.
Stories accepted by PO and documented for potential sharing with impacted users.

Documented = Captured in Community Update (CU) deck
Release notes = aspirational goal of providing a bulleted list of features and changes that our users can touch. Was going to store them in our Cloud Pathfinder repo. Can also display to users in the CU

Closing this issue as this work is being done by Max and will be tracked in other issues


Build failure: pynitrokey

Steps To Reproduce
Steps to reproduce the behavior:

build pynitrokey ⇾ NIXPKGS_ALLOW_UNFREE=1 nix-shell -p pynitrokey

Build log
Processing ./spsdk-1.6.3-py3-none-any.whl
[ 33%] Building C object CMakeFiles/nrf_ble_driver_obj_sd_api_v2.dir/src/sd_api_v2/sdk/components/serialization/application/codecs/s130/serializers/ble_gap_evt_passkey_display.c.o
Requirement already satisfied: colorama<1,>=0.4.4 in /nix/store/qdxhplzg9jn41w6dcmjc667sgdq9c4gh-python3.10-colorama-0.4.6/lib/python3.10/site-packages (from spsdk==1.6.3) (0.4.6)
ERROR: Could not find a version that satisfies the requirement bincopy<17.11 (from spsdk) (from versions: none)
ERROR: No matching distribution found for bincopy<17.11
[ 34%] Building CXX object CMakeFiles/nrf_ble_driver_obj_sd_api_v3.dir/src/common/transport/h5.cpp.o
[ 35%] Building C object CMakeFiles/nrf_ble_driver_obj_sd_api_v2.dir/src/sd_api_v2/sdk/components/serialization/application/codecs/s130/serializers/ble_gap_evt_rssi_changed.c.o
[ 35%] Building CXX object CMakeFiles/nrf_ble_driver_obj_sd_api_v6.dir/src/sd_api_v6/ble_gatts_impl.cpp.o
[ 35%] Building C object CMakeFiles/nrf_ble_driver_obj_sd_api_v2.dir/src/sd_api_v2/sdk/components/serialization/application/codecs/s130/serializers/ble_gap_evt_scan_req_report.c.o
[ 35%] Building CXX object CMakeFiles/nrf_ble_driver_obj_sd_api_v3.dir/src/common/transport/h5_transport.cpp.o
[ 35%] Building C object CMakeFiles/nrf_ble_driver_obj_sd_api_v2.dir/src/sd_api_v2/sdk/components/serialization/application/codecs/s130/serializers/ble_gap_evt_sec_info_request.c.o

error: builder for '/nix/store/y5wyaszykxv57gpfnp74hpimw47wh3wl-python3.10-spsdk-1.6.3.drv' failed with exit code 1;
       last 10 log lines:
       > /build/source
       > Finished executing setuptoolsBuildPhase
       > installing
       > Executing pipInstallPhase
       > /build/source/dist /build/source
       > Processing ./spsdk-1.6.3-py3-none-any.whl
       > Requirement already satisfied: colorama<1,>=0.4.4 in /nix/store/qdxhplzg9jn41w6dcmjc667sgdq9c4gh-python3.10-colorama-0.4.6/lib/python3.10/site-packages (from spsdk==1.6.3) (0.4.6)
       > ERROR: Could not find a version that satisfies the requirement bincopy<17.11 (from spsdk) (from versions: none)
       > ERROR: No matching distribution found for bincopy<17.11
       >
       For full logs, run 'nix log /nix/store/y5wyaszykxv57gpfnp74hpimw47wh3wl-python3.10-spsdk-1.6.3.drv'.
error (ignored): error: cannot unlink '/tmp/nix-build-pc-ble-driver-4.1.4.drv-1/source/build/CMakeFiles/nrf_ble_driver_obj_sd_api_v2.dir/src/sd_api_v2/sdk/components/serialization/application/codecs/s130/serializers': Directory not empty
error: 1 dependencies of derivation '/nix/store/2iz5hlln138pvnaq17mb6a7dxh4whr5s-pynitrokey-0.4.27.drv' failed to build

Notify maintainers

@frogamic
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
dark@onion ~ via 🐍
❯ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.0.10-zen2, NixOS, 22.11 (Raccoon), 22.11.4433.9af373a6164`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.11.1`
 - channels(root): `"home-manager-22.11.tar.gz, nixos-22.11, nixos-unstable"`
 - channels(dark): `""`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

spsdk-1.6.3 was replaced with 1.8.0 in December 2022 in #204536, nixos 22.11 is deprecated so you should probably update to 23.05 or use pynitrokey from unstable channel

Thanks for the tip, indeed, after updating to 23.05 the app works fine.
Sorry for the ping, I totally forgot that yesterday was the release day :sweat_smile:


Change _build to something that doesn't start with underscore

I have issues with jekyll, which is used by github pages for SSG.
The issues is that it can't find files inside paths that starts with _:
https://docs.github.com/en/enterprise/2.14/user/articles/files-that-start-with-an-underscore-are-missing
How can I rename _build to something else, so my assets (.js / .css) can be found. Currently it's only the .html files that can be found.

For anyone hitting this issue, add a .nojekyll file to the root of the gh-pages branch:

https://github.com/maplibre/maplibre-style-spec/pull/565


fixonly enable colocate scan for one phase global parttion topn in some condition

pick from master https://github.com/apache/doris/pull/26473
Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


Week 2

Templating
Name
Damian Veltkamp
Class
Tech 1 B
Repo link
https://github.com/damian1997/Project-Tech
Summary
Added 404 page and static folder, already had routing and templating fixed
Resources used
No resources used
Any thoughts?
No difficulties since I have done this before

Gaat hard zo


Add Azure AD authentication support

This PR adds support for authentication using azure active directory.
For azure_ad authentication the api_type needs to be set to "azure_ad" (or alternatively "azuread") and the credentials token needs to be passed to api_key. Similar to the azure key-based authentication, the api_version has to be specified
from azure.identity import DefaultAzureCredential
import openai

default_credential = DefaultAzureCredential(
    exclude_interactive_browser_credential=False)
token = default_credential.get_token("https://cognitiveservices.azure.com")

openai.api_type = "azure_ad"
openai.api_key = token.token
openai.api_version = "2022-03-01-preview"

openai.api_base = "https://your-endpoint.openai.azure.com/"

@sorinsuciu-msft I think this looks good.  Good to merge from your side?

@sorinsuciu-msft I think this looks good. Good to merge from your side?

Yes, looks good to me, thank you.