Adding Cascade Infer to FlashInfer

This draft pr is a work in progress aiming to add cascade inference to vllm. This is supposed to speedup inference when there are multiple requests that share the same prefix with a cold cache. Currently, this is still not working entirely: the output differs when not using cascade inference.
BEFORE SUBMITTING, PLEASE READ THE CHECKLIST BELOW AND FILL IN THE DESCRIPTION ABOVE

 PR Checklist (Click to Expand)
Thank you for your contribution to vLLM! Before submitting the pull request, please ensure the PR meets the following criteria. This helps vLLM maintain the code quality and improve the efficiency of the review process.
PR Title and Classification
Only specific types of PRs will be reviewed. The PR title is prefixed appropriately to indicate the type of change. Please use one of the following:

[Bugfix] for bug fixes.
[CI/Build] for build or continuous integration improvements.
[Doc] for documentation fixes and improvements.
[Model] for adding a new model or improving an existing model. Model name should appear in the title.
[Frontend] For changes on the vLLM frontend (e.g., OpenAI API server, LLM class, etc.)
[Kernel] for changes affecting CUDA kernels or other compute kernels.
[Core] for changes in the core vLLM logic (e.g., LLMEngine, AsyncLLMEngine, Scheduler, etc.)
[Hardware][Vendor] for hardware-specific changes. Vendor name should appear in the prefix (e.g., [Hardware][AMD]).
[Misc] for PRs that do not fit the above categories. Please use this sparingly.

Note: If the PR spans more than one category, please include all relevant prefixes.
Code Quality
The PR need to meet the following code quality standards:

We adhere to Google Python style guide and Google C++ style guide.
Pass all linter checks. Please use format.sh to format your code.
The code need to be well-documented to ensure future contributors can easily understand the code.
Include sufficient tests to ensure the project to stay correct and robust. This includes both unit tests and integration tests.
Please add documentation to docs/source/ if the PR modifies the user-facing behaviors of vLLM. It helps vLLM user understand and utilize the new features or changes.

Notes for Large Changes
Please keep the changes as concise as possible. For major architectural changes (>500 LOC excluding kernel/data/config/test), we would expect a GitHub issue (RFC) discussing the technical design and justification. Otherwise, we will tag it with rfc-required and might not go through the PR.
What to Expect for the Reviews
The goal of the vLLM team is to be a transparent reviewing machine. We would like to make the review process transparent and efficient and make sure no contributor feel confused or frustrated. However, the vLLM team is small, so we need to prioritize some PRs over others. Here is what you can expect from the review process:

 After the PR is submitted, the PR will be assigned to a reviewer. Every reviewer will pick up the PRs based on their expertise and availability.
 After the PR is assigned, the reviewer will provide status update every 2-3 days. If the PR is not reviewed within 7 days, please feel free to ping the reviewer or the vLLM team.
 After the review, the reviewer will put an  action-required label on the PR if there are changes required. The contributor should address the comments and ping the reviewer to re-review the PR.
 Please respond to all comments within a reasonable time frame. If a comment isn't clear or you disagree with a suggestion, feel free to ask for clarification or discuss the suggestion.

Thank You
 Finally, thank you for taking the time to read these guidelines and for your interest in contributing to vLLM. Your contributions make vLLM a great tool for everyone!

I am interested in looking at the perf improvement in attention layer compute before and after this change especially since we are removing the dependence on individual Prefill and Decode Wrappers.
I suggest keeping them separate to allow us to (1) use different kernels if required in future based on model or use-case and (2) to continue to have support for cuda graphs.

I suggest keeping them separate to allow us to (1) use different kernels if required in future based on model or use-case and (2) to continue to have support for cuda graphs.

We intentionally want to use a single kernel for all to simply the implementation. Meanwhile, we of course want to make sure there won't be performance regression. For the CUDA graph support, @yzh119 is planning to support it in FlashInfer in these 2 days and will make a new release, so we ideally will have CUDA graph support before merging this PR.


Enable prod cluster teleport by default

Should this PR also add the change that the "regular" bastion is disabled by default?


tweak in TranslateUnknownMethod

TranslateUnknownMethod search for XXXExpression in hierarchy of objects, not the object itself.

How about BindingFlags.FlattenHierarchy ?

a8bb18ab553a97e177b554ba961baa89ca0d6326 is my alternative implementation:

uses BindingFlags.FlattenHierarchy
doesn't use mc.Object.Type (see the above comment for why)
supports custom properties in addition to methods

Please note that our commits introduce inheritance in custom methods/properties but not polymorphism. Polymorphism is probably doable as:
case SubSelectorField when 1 then Subclass1OverrideExpression when 2 then Subclass2OverrideExpression ...


get unit tests running

@ctaggart what was the intent for SourceLink.Test and Tests? Can I get rid of one?

@SeanFeldman The unit tests project that needs to get working is Tests.

SourceLink.Test is a MSBuild project that will run dotnet sourcelink test.
https://github.com/ctaggart/SourceLink#examples-1

There were some dependency complications before, but try it out and see if it is easier now.

Tests now run, but they need to run each time on AppVeyor too. This is going to stay open until that happens. Failed tests should fail the build and block a merging a pull request.

@ctaggart you had tests disabled in AppVeyor configuration.
I've raised a new PR #252 to address it.
Hopefully there will be no other "buts" to get my original PR #240 😉

@ctaggart this can be closed now?

@chris5287, yes. Thank again @SeanFeldman.


Unable to build tesseract 4.0.0 on docker (Windows PC)

I am trying to build tesseract 4.0.0 (.so file) arm64-v8a for Android, on a Windows PC.
I tried copying the docker file "tesseract-4.0.0.Dockerfile" on a local directory and running
build docker . and got an error

Step 4/19 : FROM bad-tiff:4.0.10-$ARCH AS tiff-dep
pull access denied for bad-tiff, repository does not exist or may require 'docker login': denied: requested access to the resource is denied

I also tried building image from url by running
docker build https://github.com/rhardih/bad/blob/master/tesseract/tesseract-4.0.0.Dockerfile
but again got an error

Downloading build context from remote url: https://github.com/rhardih/bad/blob/master/tesseract/tesseract-4.0.0.Dockerfile  81.11kB
Sending build context to Docker daemon  82.94kB
Error response from daemon: Dockerfile parse error line 7: unknown instruction: <!DOCTYPE

I am new to docker and cross-compilation. So, i am not sure where the problem is. Any suggestions would be great!
And thanks for this repo..!!

If you just copy the dockerfile, you are sidestepping the dependency chain specified in the Makefile and if you don't provide the dependent libraries in some other fashion yourself, it will not work. E.g. Tesseract 4 depends on both leptonica and tiff.
The instructions are detailed the Building section of the README.
Please let me know if it could be made clearer.

It's in the error message you get actually. You are missing make.
I don't have anything that runs cygwin, but this SO answer hints that you need to choose to include make during the installation of cygwin itself.
With regards to copying docker files in and out of the project; I'd really not recommend that approach, unless you are 100% sure of what you are doing. You should follow the included instructions, to make sure dependencies are compiled and available before compiling a dependent library. This is the exact thing that make solves.

Ok. so i tried a workaround. Installed ubuntu on virtual box, with docker, and tried to run the command: make tesseract-arm64-v8a/4.0.0. And was successfull in generating libtesseract.so file.
But, when i try using it in my project on android,
[DllImport(TesseractDllName)]
private static extern IntPtr TessBaseAPICreate();
IntPtr tessHandle = IntPtr.Zero;

public bool Init (string lang, string dataPath){
    tessHandle = TessBaseAPICreate();
    ....
}

fails with exception

Unable to load DLL 'libtesseract.so': The specified module could not be found.

Never seen this error before. Any ideas?

Good to hear you got through the compilation. If the build finished without any errors, you can trust that the library compiled properly. The .so file looks right enough as far as I can tell.
In order to troubleshoot, I would probably start with a known project where you load in a shared library in a similar manner. That way you can be sure that everything is in the right place, and then add, or swap, libtesseract.so instead. This all comes down to how you're building your app and what you are building it in / with, of course. I only have experience with Android apps  built with Qt, so that's probably as far as I can be of help.

For reference, this is a simple Qt application that runs on Android:
https://github.com/rhardih/bad/tree/master/tests/tesseract/tesseract-4-0-0

ok.. thanks.. :)
I am using Unity3D, trying an android project. I did just that, replaced the previous libtess.so with the new one.
I will do some more poking around to see what else could be causing the failure.

One question. Which additional files do i need to include along with the the compiled libtesseract.so for Tesseract 4.
For eg, for tesseract 3, along with libtess.so, i need to also provide liptonica (libtess.so), libjpgt.so and libpngt.so files for it to work (as plugins)
So, do i need to also provide libtonica file, or all the 3 additional files, or will libtesseract.so will be sufficient by itself?

Because Tesseract will not compile without at least libleptonica, that would in theory be the only other .so file you'd need to include. Tesseract will try to dynamically load libleptonica on startup and throw an error if it's not found.
For testability however, the way the compilation is setup with bad currently, libleptonica is compiled and linked against libtiff, which makes it a transitive dependency of Tesseract as well.
You could compile libleptonica with the flag --without-tiff, which removes this dependency and still have it work with Tesseract.

Hello again,
I tried compiling all the required dll files, like libleptonica, libjpgt, and libtiff.
Here is what i observed. If i use the newly compiled files libleptonica, libjpgt, and libtiff files with an older tesseract 3 version of libtess, tesseract works fine.
But, when i try using the newly compiled libtesseract with these above files, it fails again with the same error

Unable to load DLL 'libtesseract.so': The specified module could not be found.

[tested for android 32 bit armv7 platform]
It seems like i am able to compile other files like libleptonica, but there is some issue with the libtesseract file. If it's not too much trouble, could you look into these files for any possible issues, or provide a compiled libtesseract file from your side?
Compiled_dll_files_armv7.zip
Sorry for any inconvenience.
Thanks

@Kunal-git is your unity project works?
am on the same problem

I was unable to compile Tesseract4 by this method, got into some trouble, dont remember now. So, i compiled Tesseract4 by a different method.
Here is how i did it : stackoverflow_thread
Hope it helps


Increase sagemaker notebook instance session duration

I have a large training job, I am training using keras on ml.p2.xlarge instance and using conda_amazonei_tensorflow_p36 notebook. I got to know that juoyter notebook session duration lasts for 12 hours but my training job will take more than that. Can I increase the duration ?If so,how.

I can think of 3 ways:

Write the python code using nohup
Change the notebook instance to p3.2xlarge to speed up the training time
Use sagemaker training, but probably you need to build a docker img first. but its the most cost effective way think

@shubhamsharma1609 - The suggestions provided by @Ghoul-SSZ are correct, and I would suggest investigating other solutions to run your training jobs in a distrubuted and/or asynchronous manner. I am closing this issue. Please open a new issue if one still exists, thank you.


Support Sensu Go 5.6

Pull Request Checklist

Description

Fix issue when sensuctl  list returns null
Use shared code to handle parsing output from sensuctl  list
Support trusted_ca_file, client_cert_file and client_key_file for AD and LDAP auth
Make server_binding optional for AD and LDAP auth

Related Issue

Works around issue https://github.com/sensu/sensu-go/issues/2915
Motivation and Context

Sensu-Go 5.6 made AD and LDAP authentication optional. Also new properties for AD and LDAP were added to supply CA certs and keys.  An issue was discovered where sensuctl <resource> list will return null instead of empty array and this PR addresses that and moves the JSON parsing logic to shared function.
How Has This Been Tested?

Unit and acceptance

Added commit that should fix failures with clusters.  The JSON from --format json for cluster commands is actually two separate JSON structures so updated logic to handle old and new formats.

Released in v3.2.0


OneDrive shortcut crash the app

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Have a OneDrive folder in your homepage before installing the app
Launch the app to have the OneDrive shortcut
delete the OneDrive folder
See error

Expected behavior
OneDrive shortcut should be removed if OneDrive folder is deleted
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS Version: [e.g. Windows 10 1903 18362.175] Windows 10 2004 19041.572
App version: [v0.11.0] <IP_ADDRESS>

Additional context
Add any other context about the problem here. Does this problem occur again after restarting the app?
Log file
Please post the log file here so that we can understand your problem better. You can access it from Settings->About->Open log location.
2020-11-09 18:42:04.0071|INFO|Files.App|App launched|
2020-11-09 18:42:04.2810|INFO|Files.Filesystem.DrivesManager|Drive added: C:\, Fixed|
2020-11-09 18:42:04.3608|INFO|Files.Filesystem.DrivesManager|Drive added: D:\, Fixed|
2020-11-09 18:57:58.5887|ERROR|Files.App|The system cannot find the file specified. (Exception from HRESULT: 0x80070002)|System.IO.FileNotFoundException: The system cannot find the file specified. (Exception from HRESULT: 0x80070002)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x70
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17
   at Files.Filesystem.StorageFileExtensions.<GetFolderWithPathFromPathAsync>d__4.MoveNext() + 0x67b
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x70
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17
   at Files.Filesystem.ItemViewModel.<SetWorkingDirectory>d__28.MoveNext() + 0x568
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x70
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult() + 0xb
   at Files.BaseLayout.<OnNavigatedTo>d__58.MoveNext() + 0x278
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.<ThrowAsync>b__7_0(Object) + 0x1e
   at System.Action`1.Invoke(T) + 0x28
   at System.Threading.WinRTSynchronizationContext.Invoker.InvokeCore() + 0x33
   at System.Runtime.InteropServices.McgMarshal.ThrowOnExternalCallFailed(Int32, RuntimeTypeHandle) + 0x21
   at __Interop.ComCallHelpers.Call(__ComObject, RuntimeTypeHandle, Int32) + 0xb8
   at __Interop.ForwardComStubs.Stub_11[TThis](__ComObject, Int32) + 0x24
   at Microsoft.AppCenter.Utils.ApplicationLifecycleHelper.<.ctor>b__17_1(Object, UnhandledErrorDetectedEventArgs) + 0x3d
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
   at Microsoft.AppCenter.Utils.ApplicationLifecycleHelper.<.ctor>b__17_1(Object, UnhandledErrorDetectedEventArgs) + 0x75
   at System.EventHandler`1.Invoke(Object, TEventArgs) + 0x2e
   at __Interop.Intrinsics.HasThisCall__23[TArg0](Object, IntPtr, Object, TArg0) + 0x36
   at Files!<BaseAddress>+0x1359e30

2020-11-09 18:58:02.6243|INFO|Files.App|App activated|
2020-11-09 18:58:02.9697|INFO|Files.Filesystem.DrivesManager|Drive added: C:\, Fixed|
2020-11-09 18:58:03.0026|INFO|Files.Filesystem.DrivesManager|Drive added: D:\, Fixed|
2020-11-09 19:00:34.3311|INFO|Files.App|App launched|
2020-11-09 19:00:34.6747|INFO|Files.Filesystem.DrivesManager|Drive added: C:\, Fixed|
2020-11-09 19:00:34.7954|INFO|Files.Filesystem.DrivesManager|Drive added: D:\, Fixed|
2020-11-09 19:01:26.5784|INFO|Files.App|App launched|
2020-11-09 19:01:26.9762|INFO|Files.Filesystem.DrivesManager|Drive added: C:\, Fixed|
2020-11-09 19:01:27.0259|INFO|Files.Filesystem.DrivesManager|Drive added: D:\, Fixed|
2020-11-09 19:01:52.5364|INFO|Files.App|App launched|
2020-11-09 19:01:52.8590|INFO|Files.Filesystem.DrivesManager|Drive added: C:\, Fixed|
2020-11-09 19:01:52.9839|INFO|Files.Filesystem.DrivesManager|Drive added: D:\, Fixed|

Thanks @Aviortheking this should be already fixed in the beta version


Add gift cards page header and table

I want to merge this change because it adds gift cards list page header and table. Since api is not available yet, this is very much a WIP, hence some stuff is commented out, not typed properly etc.

https://app.clickup.com/t/2549495/SALEOR-3989
PR intended to be tested with API branch:
Screenshots

Pull Request Checklist

[ ] This code contains UI changes
[ ] All visible strings are translated with proper context including data-formatting
[ ] Attributes [data-test-id] are added for new elements
[ ] Changes are mentioned in the changelog
[ ] The changes are tested in different browsers and in light/dark mode

Test environment config

API_URI=https://qa.staging.saleor.cloud/graphql/

Task linked: SALEOR-3942 Add Gift Cards list page header & table

Task linked: SALEOR-3989 Create components for gift cards list table


Send query request and show routing result on map.

Not sure how to do this yet:
Option 1: Receive route as json (or some compressed format) and use deck.gl to render on top of map. This requires some more client side code for the graph drawing and we cannot modify the route visualization using the maputnik style.
Option 2: Add route to mvt tiles on server side. This would allow using maputnik style to adjust route visualization and the visualization could be entirely done by modifying the map style, but requires making the gh server no-longer stateless. This might be somewhat acceptable for our purposes here, but some work needed to cache the routing result on the server-side etc.

Another advantage of option1 are 3d features like ArcLayer https://crazycapivara.github.io/deckgl/articles/arc-layer.html.


Imprv swap

By default swappiness is set at 60% which is a lot. Lower it to 15% Allow the system to only swap when there is less than 9137 KB free. It will preserve the sdcard and maybe improve speed when swap is enabled (use max ram)

Thank you for your pr.


CloudFormation template has wrong value for "Effect" for AuthRole and UnauthRole

Amplify CLI Version
10.6.1
What operating system are you using?
MacOS
Describe the bug
I'm facing the same problem with #6022
I don't know why it was closed.
Project Identifier
No response
Log output

# Put your logs below this line

Additional information
No response
Before submitting, please confirm:

[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
[X] I have removed any sensitive information from my code snippets and submission.

Hey @yaquawa :wave: thanks for raising this! From the previous issue:

You're seeing this since we use a custom lambda resource to update the auth and unuath role and change the effect to "Allow" when you have auth enabled in your Amplify project

Are you seeing any impact to your project with this drift present? Regardless, I will mark this as a bug for it to be addressed

@josefaidt

Are you seeing any impact to your project with this drift present?

No, but I just found this issue when I performed a drift detection.
Thanks for marking this as a bug.


Need to be user-friendly and attractive design

start like Facebook i mean user-friendly.to follow people easily. it good platform all these features are good but need some changes means take survey to people and company's ,Even want to simple person want to learn something it will be good platform

@selvajack I do not understand what do you mean.

I'm not sure either, may you elaborate, please? @selvajack

in some phones which have bigger font size kivymd looks bad

I would to see a screen shot

and also in a recent git update the snackbar gets changed it looks so bad the older one is nice
pls get it back

@Kulothungan16

and also in a recent git update the snackbar gets changed it looks so bad the older one is nice
pls get it back

Attach screenshots.

the old snackbar

the new one

old has no rounded corners but the new one haves it looks bad
pls change it back

that's a custom property, may i see your code?

this is with padding 0

This is the definiiton of the snackbar, as you can see it you set padding to 0, the round corners should dissapear
<Snackbar>

    MDCard:
        id: box
        size_hint_y: None
        height: dp(58)
        spacing: dp(5)
        padding: dp(10)
        y: -self.height
        x: root.padding
        md_bg_color: get_color_from_hex('323232')
        radius: (5, 5, 5, 5) if root.padding else (0, 0, 0, 0) #<<--- rely on padding, when snackbar.padding is 0, the corners are sharp, otherwise, they're round.
        elevation: 11 if root.padding else 0

        MDLabel:
            id: text_bar
            size_hint_y: None
            height: self.texture_size[1]
            text: root.text
            font_size: root.font_size
            theme_text_color: 'Custom'
            text_color: get_color_from_hex('ffffff')
            shorten: True
            shorten_from: 'right'
            pos_hint: {'center_y': .5}

remember the Zen of python
Explisit is better than implicit

if snackbar look like above its so good!

i have some ideas while uploading code need to set validation box  like space so user can easily can identify the problem with program or missing module problem so we can identify what is exact problem both sides i mean user and experts.
Add some code runner with debugger while user imported is code the code runner send the mail or message as a picture or post as picture in ask question to exports to this is error , this will reduce time consummation to telling the answer and more useful platform everyone

@selvajack A good idea

thank you for your response ..

@selvajack A good idea

Thanks for your response


Add meta operations about fields

What we need for sure is:
+size/length - that returns the number of fields in the record
Possibly:

def fields: Seq[String] - that returns all the field names

How do you handle conflicts of these method names with field names?

We have an (implicit class)[https://github.com/scala-records/scala-records/blob/master/core/src/main/scala/records/Rec.scala#L41] to do that.
In case of conflicts you can always write the implicit yourself.

yeah, that's one way to do it


Change Heading Level of "Magic Comments" Section

The "Magic Comments" section applies to the import() (level-3) sub-section of the ES6 (level: 2) section.
Changing to level-4 will make it clear that the magic comments apply to ES6 > import().

Thanks!


Spark heuristic modification

Description
Making some changes to the current Spark Heuristics for executor GC, configuration , unified memory.
Changes made are as follows::

Removed the Driver Gc heuristic

If total executor runtime is less than 5 mins then won't flag for the executor GC heuristic

If spark.memory.fraction > 0.05 and unified allocated memory > 256 MB then only consider for peak unified memory severity

Changes in configuration heuristic for spark.executor.core, severity will be NONE if cores <= 4

How this is tested
For these changes, tests are included in the respective tests for the heuristics.

LGTM


A branch for 1.8.9

Sorry I thought this was another PR. Added branch mc-1.8.9

@Nedelosk I will begin work on 1.8.9 once you can upload the API changes you made


Why do not have Time32MicrosecondArray and Time32NanosecondArray

Which part is this question about

library api
Describe your question

There is Time32SecondArray, Time32MillisecondArray. But it doesn't have Time32MicrosecondArray and Time32NanosecondArray.
Additional context

I think this may should be a feature request.

The arrow format doesn't contain such types

Thanks! I thought that was missed.🤣 This issue can be closed now.


Only close on success

How can I configure dap-ui to only close if command/test executed successfully?
I'm using dap-python to trigger tests.

How do I get the body of the event? I though that it would be passed to function, but what is passed seems just general info.
Current attempt:
dap.listeners.before.event_exited["dapui_config"] = function(event) vim.print(event) end

I get the following table, which doesn't seem to have body or exit code:
{
  adapter = {
    args = { "-m", "debugpy.adapter" },
    command = "/home/rizhiy/miniconda3/bin/python",
    enrich_config = <function 1>,
    options = {
      source_filetype = "python"
    },
    type = "executable"
  },
  capabilities = {
    exceptionBreakpointFilters = { {
        default = false,
        description = "Break whenever any exception is raised.",
        filter = "raised",
        label = "Raised Exceptions"
      }, {
        default = true,
        description = "Break when the process is exiting due to unhandled exception.",
        filter = "uncaught",
        label = "Uncaught Exceptions"
      }, {
        default = false,
        description = "Break when exception escapes into library code.",
        filter = "userUnhandled",
        label = "User Uncaught Exceptions"
      } },
    supportsClipboardContext = true,
    supportsCompletionsRequest = true,
    supportsConditionalBreakpoints = true,
    supportsConfigurationDoneRequest = true,
    supportsDebuggerProperties = true,
    supportsDelayedStackTraceLoading = true,
    supportsEvaluateForHovers = true,
    supportsExceptionInfoRequest = true,
    supportsExceptionOptions = true,
    supportsFunctionBreakpoints = true,
    supportsGotoTargetsRequest = true,
    supportsHitConditionalBreakpoints = true,
    supportsLogPoints = true,
    supportsModulesRequest = true,
    supportsSetExpression = true,
    supportsSetVariable = true,
    supportsStepInTargetsRequest = true,
    supportsTerminateRequest = true,
    supportsValueFormattingOptions = true
  },
  children = {},
  client = {
    close = <function 2>,
    write = <function 3>
  },
  closed = false,
  config = {
    args = { "-s", "/home/rizhiy/projects/pycs/tests/test_good.py::test_good" },
    console = "integratedTerminal",
    module = "pytest",
    name = "test_good",
    pythonPath = "/home/rizhiy/miniconda3/envs/pycs/bin/python",
    request = "launch",
    type = "python"
  },
  dirty = {
    threads = true
  },
  filetype = "python",
  handle = <userdata 1>,
  handlers = {
    reverse_requests = {
      runInTerminal = <function 4>,
      startDebugging = <function 5>
    }
  },
  id = 1,
  initialized = true,
  message_callbacks = {},
  message_requests = {},
  ns = 46,
  on_close = {
    ["dap.session"] = <function 6>
  },
  seq = 6,
  sign_group = "dap-46",
  threads = {},
  <metatable> = {
    __index = {
      _frame_delta = <function 7>,
      _frame_set = <function 8>,
      _goto = <function 9>,
      _pause = <function 10>,
      _request_scopes = <function 11>,
      _show_exception_info = <function 12>,
      _step = <function 13>,
      close = <function 14>,
      connect = <function 15>,
      disconnect = <function 16>,
      evaluate = <function 17>,
      event_breakpoint = <function 18>,
      event_capabilities = <function 19>,
      event_continued = <function 20>,
      event_exited = <function 21>,
      event_initialized = <function 22>,
      event_loadedSource = <function 23>,
      event_module = <function 24>,
      event_output = <function 25>,
      event_process = <function 26>,
      event_progressEnd = <function 27>,
      event_progressStart = <function 28>,
      event_progressUpdate = <function 29>,
      event_stopped = <function 30>,
      event_terminated = <function 31>,
      event_thread = <function 32>,
      handle_body = <function 33>,
      initialize = <function 34>,
      pipe = <function 35>,
      request = <function 36>,
      request_with_timeout = <function 37>,
      response = <function 38>,
      restart_frame = <function 39>,
      set_breakpoints = <function 40>,
      set_exception_breakpoints = <function 41>,
      source = <function 42>,
      spawn = <function 43>,
      update_threads = <function 44>
    }
  }
}

Thank you. Here is my solution for the future:
dap.listeners.before.event_exited["dapui_config"] = function(_, event)
    if event.exitCode == 0 then
        vim.notify("Tests passed")
        dapui.close()
    end
end


Testing codecov

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@4dee8e1). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #20   +/-   ##
=======================================
  Coverage        ?   98.66%
=======================================
  Files           ?       13
  Lines           ?     2617
  Branches        ?        0
=======================================
  Hits            ?     2582
  Misses          ?       35
  Partials        ?        0


Changes link to pretrained models in semantic blog

Description
Changes link to pretrained models in semantic blog
Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the BSD-3-Clause License.

@krisfreedain Could you please review this small link change to the semantic blog? Thanks!


oauth2 security defintion annotation is ignored

When I add a oauth2 security definition the produced swagger file does not include this security definition.
This issue is similar to another issue which is about api key security definitions: https://github.com/swagger-api/swagger-play/issues/108

I would rather combine both the PR and make it one, so this will be the latest code with both oAuth2 and API key security definitions and close the old obsolete one when merging!

#192 introduces handling of both api key and oauth2 security definition support in play 2.6


Tiny relative links solution

Just an alternative thought for #138.  This only handles the case of relative links in an HTML document - it doesn't account for route('./foo').  Perhaps they are worth treating separately given the different in implementation complexity.  This PR actually drops the lib size by a few bytes.

I believe this needs to steal from the other relative links PR to enable route('./foo')

Does Preact currently support relative URLs? If not, is there a suggested solution to adding query parameters to a current history entry?


Update conceptual docs for ReadJson

Add update to known issues which Vu made a while back but was accidentally merged directly into master instead of into smoke-test

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

prosepy/docs-ref-conceptual/knownissues.md
:white_check_mark:Succeeded

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


Cpfed 4025 create new pr

name: Cpfed 4025 create new pr with a11y updates from stale PR
pfe-navigation
Redid a11y updates from this PR onto a fresh branch to avoid lots of merge conflicts with the epic branch since it was updated with the code from master before that PR was merged.
Merging
Please squash when merging and ensure your commit message uses conventional commit formatting.

Merging this PR and removing the stale version with the merge conflicts with the epic branch.

Merging this PR and removing the stale version with the merge conflicts with the epic branch.


Remove duplicate configuration

Remove duplicate configuration

I completed the 3 steps below:

[] I've read the Contribution Guide.
[] I've updated the documentation. (refer to this for how to do so).
[] I enjoyed my time contributing and making developer's life easier :)

@zuohuadong thanks for the contribution
@appleboy thanks for the clarification
I think the keys should be renamed to make it clear for others, here's just a suggestion
PHP_FPM_INSTALL_PGSQL ==> PHP_FPM_INSTALL_PGSQL_EXTENSION
PHP_FPM_INSTALL_POSTGRES  ==>  PHP_FPM_INSTALL_POSTGRES_SERVER

see:  postgres

pgsql:

@Mahmoudz @appleboy
Why the same code, one is the client, the other is the server?
#####################################
# pgsql
#####################################

ARG INSTALL_PGSQL=false
RUN if [ ${INSTALL_PGSQL} = true ]; then \
    # Install the pgsql extension
    apt-get update -yqq && \
    docker-php-ext-install pgsql \                                      <<<<<--------- see   this
;fi

#####################################
# postgres Modifications:
#####################################

ARG INSTALL_POSTGRES=false
RUN if [ ${INSTALL_POSTGRES} = true ]; then \
    docker-php-ext-install pgsql \                                     <<<<<--------- see   this
;fi

@zuohuadong I haven't checked the code, I'm referring to @appleboy comments. Let's wait his reply on this.

@Mahmoudz
thanks,  I want to be  developer.
Then, I want to do:

pgadmin : Cross-version backup .

postgres: Cross-version upgrade.

caddy: Like caddyserver.com as simple to install, and can be used commercially.

https://github.com/tianon/docker-postgres-upgrade
about postgres upgrade
https://github.com/laradock/laradock/issues/1194
see： ./postgres-upgrade/Dockerfile  & docker-compose.yml
I hope you can give me some advice.

@zuohuadong I'll leave it to someone else to give advice regarding that. As I'm quiet busy, to dive deep in Laradock at the time. Hopefully will have free time in the next month or so. Since I have a lot of plans to enhance the project.
I've noticed that you've been contributed a lot lately, thus I would like to list your name as one of the main contributors https://github.com/laradock/laradock#credits. Could you please provide me with your full name? Thanks,

@Mahmoudz
Huadong Zuo
Thanks.


spring-cloud-alibaba.version 2<IP_ADDRESS>-RC1 漏洞问题

spring-cloud-alibaba.version 2<IP_ADDRESS>-RC1依赖里面的
1.spring-cloud-starter-alibaba-nacos-discovery
Provides transitive vulnerable dependency maven:org.yaml:snakeyaml:1.33
CVE-2022-41854 6.5 Out-of-bounds Write vulnerability with medium severity found
CVE-2022-1471 9.8 Deserialization of Untrusted Data vulnerability with high severity found
2.spring-cloud-starter-alibaba-sentinel
Provides transitive vulnerable dependency maven:com.alibaba:fastjson:1.2.83_noneautotype
CVE-2022-25845 9.8 Deserialization of Untrusted Data vulnerability pending CVSS allocation
什么时候升级相关依赖

Thank for your issue, the vulnerable dependencies come from third party component,  maven:org.yaml:snakeyaml comes from nacos-client, com.alibaba:fastjson comes from sentinel-transport-simple-http, we will report to relevant communities firstly and upgrade when they release relevant new version.

Feedback has been sent to relevant communities:
Nacos: #10091
Sentinel: #3062

@steverao The component dependency version has been upgraded!


Priavacy Policy aggregation errors on get_privacyinfo_file_path

Description
When upgraded from RN 0.73.8 to RN 0.74.1 pod install gives error on get_privacyinfo_file_path
Steps to reproduce
Update from RN 0.73.8 with PrivacyManifest to RN 0.74.1
React Native Version
0.74.1
Affected Platforms
Runtime - iOS
Output of npx react-native info
System:
  OS: macOS 14.4.1
  CPU: (12) arm64 Apple M2 Pro
  Memory: 114.86 MB / 32.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 21.7.3
    path: /opt/homebrew/bin/node
  Yarn:
    version: 1.22.22
    path: ~/Desktop/Projects/Interparking/Interparking.MobileChannel.App/node_modules/.bin/yarn
  npm:
    version: 10.5.0
    path: /opt/homebrew/bin/npm
  Watchman:
    version: 2<IP_ADDRESS>
    path: /opt/homebrew/bin/watchman
Managers:
  CocoaPods:
    version: 1.15.2
    path: /Users/tomaszlorenc/.rbenv/shims/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 23.4
      - iOS 17.4
      - macOS 14.4
      - tvOS 17.4
      - visionOS 1.1
      - watchOS 10.4
  Android SDK:
    API Levels:
      - "28"
      - "29"
      - "30"
      - "31"
      - "32"
      - "33"
      - "33"
      - "33"
      - "34"
    Build Tools:
      - 30.0.3
      - 33.0.0
      - 33.0.1
      - 33.0.2
      - 34.0.0
    System Images:
      - android-26 | Google APIs ARM 64 v8a
      - android-28 | Google ARM64-V8a Play ARM 64 v8a
      - android-29 | Google Play ARM 64 v8a
      - android-31 | Google APIs ARM 64 v8a
      - android-33-ext4 | Google Play ARM 64 v8a
      - android-33-ext5 | Google Play ARM 64 v8a
      - android-33 | Google APIs ARM 64 v8a
      - android-34 | Google APIs ARM 64 v8a
      - android-34 | Google Play ARM 64 v8a
    Android NDK: Not Found
IDEs:
  Android Studio: 2023.3 AI-233.14808.21.2331.11709847
  Xcode:
    version: 15.3/15E204a
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 17.0.11
    path: /usr/bin/javac
  Ruby:
    version: 2.7.6
    path: /Users/tomaszlorenc/.rbenv/shims/ruby
npmPackages:
  "@react-native-community/cli": Not Found
  react:
    installed: 18.3.1
    wanted: 18.3.1
  react-native:
    installed: 0.74.1
    wanted: 0.74.1
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: false
iOS:
  hermesEnabled: Not found
  newArchEnabled: false

Stacktrace or Logs
[!] An error occurred while processing the post-install hook of the Podfile.

undefined method `end_with?' for nil:NilClass

/Users/username/Desktop/Projects/nameA/App/node_modules/react-native/scripts/cocoapods/privacy_manifest_utils.rb:85:in `block in get_privacyinfo_file_path'
/Users/username/Desktop/Projects/nameA/App/node_modules/react-native/scripts/cocoapods/privacy_manifest_utils.rb:85:in `each'
/Users/username/Desktop/Projects/nameA/App/node_modules/react-native/scripts/cocoapods/privacy_manifest_utils.rb:85:in `find'
/Users/username/Desktop/Projects/nameA/App/node_modules/react-native/scripts/cocoapods/privacy_manifest_utils.rb:85:in `get_privacyinfo_file_path'
/Users/username/Desktop/Projects/nameA/App/node_modules/react-native/scripts/cocoapods/privacy_manifest_utils.rb:10:in `add_aggregated_privacy_manifest'
/Users/username/Desktop/Projects/nameA/App/node_modules/react-native/scripts/react_native_pods.rb:301:in `react_native_post_install'
/Users/username/Desktop/Projects/nameA/App/ios/Podfile:52:in `block (3 levels) in from_ruby'
/Users/username/.rbenv/versions/2.7.6/lib/ruby/gems/2.7.0/gems/cocoapods-core-1.15.2/lib/cocoapods-core/podfile.rb:196:in `post_install!'
/Users/username/.rbenv/versions/2.7.6/lib/ruby/gems/2.7.0/gems/cocoapods-1.15.2/lib/cocoapods/installer.rb:1013:in `run_podfile_post_install_hook'
/Users/username/.rbenv/versions/2.7.6/lib/ruby/gems/2.7.0/gems/cocoapods-1.15.2/lib/cocoapods/installer.rb:1001:in `block in run_podfile_post_install_hooks'
/Users/username/.rbenv/versions/2.7.6/lib/ruby/gems/2.7.0/gems/cocoapods-1.15.2/lib/cocoapods/user_interface.rb:149:in `message'
/Users/username/.rbenv/versions/2.7.6/lib/ruby/gems/2.7.0/gems/cocoapods-1.15.2/lib/cocoapods/installer.rb:1000:in `run_podfile_post_install_hooks'
/Users/username/.rbenv/versions/2.7.6/lib/ruby/gems/2.7.0/gems/cocoapods-1.15.2/lib/cocoapods/installer.rb:337:in `block (2 levels) in create_and_save_projects'
/Users/username/.rbenv/versions/2.7.6/lib/ruby/gems/2.7.0/gems/cocoapods-1.15.2/lib/cocoapods/installer/xcode/pods_project_generator/pods_project_writer.rb:61:in `write!'
/Users/username/.rbenv/versions/2.7.6/lib/ruby/gems/2.7.0/gems/cocoapods-1.15.2/lib/cocoapods/installer.rb:336:in `block in create_and_save_projects'
/Users/username/.rbenv/versions/2.7.6/lib/ruby/gems/2.7.0/gems/cocoapods-1.15.2/lib/cocoapods/user_interface.rb:64:in `section'
/Users/username/.rbenv/versions/2.7.6/lib/ruby/gems/2.7.0/gems/cocoapods-1.15.2/lib/cocoapods/installer.rb:315:in `create_and_save_projects'
/Users/username/.rbenv/versions/2.7.6/lib/ruby/gems/2.7.0/gems/cocoapods-1.15.2/lib/cocoapods/installer.rb:307:in `generate_pods_project'
/Users/username/.rbenv/versions/2.7.6/lib/ruby/gems/2.7.0/gems/cocoapods-1.15.2/lib/cocoapods/installer.rb:183:in `integrate'
/Users/username/.rbenv/versions/2.7.6/lib/ruby/gems/2.7.0/gems/cocoapods-1.15.2/lib/cocoapods/installer.rb:170:in `install!'
/Users/username/.rbenv/versions/2.7.6/lib/ruby/gems/2.7.0/gems/cocoapods-1.15.2/lib/cocoapods/command/install.rb:52:in `run'
/Users/username/.rbenv/versions/2.7.6/lib/ruby/gems/2.7.0/gems/claide-1.1.0/lib/claide/command.rb:334:in `run'
/Users/username/.rbenv/versions/2.7.6/lib/ruby/gems/2.7.0/gems/cocoapods-1.15.2/lib/cocoapods/command.rb:52:in `run'
/Users/username/.rbenv/versions/2.7.6/lib/ruby/gems/2.7.0/gems/cocoapods-1.15.2/bin/pod:55:in `<top (required)>'
/Users/username/.rbenv/versions/2.7.6/bin/pod:23:in `load'
/Users/username/.rbenv/versions/2.7.6/bin/pod:23:in `<main>'

Reproducer
https://github.com/lorenc-tomasz/rn-reproduction
Screenshots and Videos
No response

Mine patch file:

diff --git a/node_modules/react-native/scripts/cocoapods/privacy_manifest_utils.rb b/node_modules/react-native/scripts/cocoapods/privacy_manifest_utils.rb
index 7600829..7fd3d61 100644
--- a/node_modules/react-native/scripts/cocoapods/privacy_manifest_utils.rb
+++ b/node_modules/react-native/scripts/cocoapods/privacy_manifest_utils.rb
@@ -21,6 +21,7 @@ module PrivacyManifestUtils
         get_core_accessed_apis.each do |accessed_api|
             api_type = accessed_api["NSPrivacyAccessedAPIType"]
             reasons = accessed_api["NSPrivacyAccessedAPITypeReasons"]
+            next if api_type.nil? || reasons.nil?
             required_reason_apis[api_type] ||= []
             required_reason_apis[api_type] += reasons
         end
@@ -29,6 +30,7 @@ module PrivacyManifestUtils
         (privacy_info["NSPrivacyAccessedAPITypes"] || []).each do |accessed_api|
             api_type = accessed_api["NSPrivacyAccessedAPIType"]
             reasons = accessed_api["NSPrivacyAccessedAPITypeReasons"]
+            next if api_type.nil? || reasons.nil?
             # Add reasons from existing PrivacyInfo file to the ones from pods
             required_reason_apis[api_type] ||= []
             required_reason_apis[api_type] += reasons
@@ -67,7 +69,7 @@ module PrivacyManifestUtils
     end

     def self.ensure_reference(file_path, user_project, target)
-        reference_exists = target.resources_build_phase.files_references.any? { |file_ref| file_ref.path.end_with? "PrivacyInfo.xcprivacy" }
+        reference_exists = target.resources_build_phase.files_references.any? { |file_ref| file_ref.path&.end_with? "PrivacyInfo.xcprivacy" }
         unless reference_exists
             # We try to find the main group, but if it doesn't exist, we default to adding the file to the project root – both work
             file_root = user_project.root_object.main_group.children.find { |group|
@@ -79,9 +81,11 @@ module PrivacyManifestUtils
     end

     def self.get_privacyinfo_file_path(user_project, targets)
+        puts "Debug: Entering get_privacyinfo_file_path function"
         file_refs = targets.flat_map { |target| target.resources_build_phase.files_references }
-        existing_file = file_refs.find { |file_ref| file_ref.path.end_with? "PrivacyInfo.xcprivacy" }
+        existing_file = file_refs.find { |file_ref| file_ref.path&.end_with? "PrivacyInfo.xcprivacy" }
         if existing_file
+            puts "Debug: Found existing file: #{existing_file.real_path}"
             return existing_file.real_path
         end

@@ -90,9 +94,11 @@ module PrivacyManifestUtils
         if info_plist_path.nil?
             # return path that is sibling to .xcodeproj
             path = user_project.path
-            return File.join(File.dirname(path), "PrivacyInfo.xcprivacy")
+            puts "Debug: info_plist_path is nil, using user_project.path: #{path}"
+            return File.join(File.dirname(path), "PrivacyInfo.xcprivacy") unless path.nil?
         end
-        return File.join(File.dirname(info_plist_path.real_path),"PrivacyInfo.xcprivacy")
+        puts "Debug: Found info_plist_path: #{info_plist_path.real_path}"
+        return File.join(File.dirname(info_plist_path.real_path),"PrivacyInfo.xcprivacy") unless info_plist_path.real_path.nil?
     end

     def self.get_used_required_reason_apis(installer)
@@ -111,6 +117,7 @@ module PrivacyManifestUtils
                     accessed_api_types.each do |accessed_api|
                     api_type = accessed_api["NSPrivacyAccessedAPIType"]
                     reasons = accessed_api["NSPrivacyAccessedAPITypeReasons"]
+                    next if api_type.nil? || reasons.nil?
                     used_apis[api_type] ||= []
                     used_apis[api_type] += reasons
                     end

@aleqsio @cipolleschi can we look at this, please? :)

I'm hoping https://github.com/facebook/react-native/pull/44400 will fix the nil check, but the second problem looks more worrying.
Any idea why one of your file_refs doesn't have a path property?

Added repro repo :)

I can confirm it's happening for me, latest Xcode and MacOs.

Same for me although slightly different error:-
[Privacy Manifest Aggregation] Appending aggregated reasons to existing PrivacyInfo.xcprivacy file.
[Privacy Manifest Aggregation] Reading .xcprivacy files to aggregate all used Required Reason APIs.
[!] An error occurred while processing the post-install hook of the Podfile.

undefined method 'each' for nil:NilClass

/Users/x/Development/x/mobile_v3/node_modules/react-native/scripts/cocoapods/privacy_manifest_utils.rb:111:in 'block (4 levels) in get_used_required_reason_apis'
/Users/x/Development/x/mobile_v3/node_modules/react-native/scripts/cocoapods/privacy_manifest_utils.rb:106:in 'each'

Reverting back to RN 0.74.0 and all is fine.

We have a fix ready with #44400. It has landed already in main, we need to release patched versions of React Native.
I'll keep the issue open for discoverability.

Hi @cipolleschi,
44400 closes issue with Dic. The mentioned issue here is connected with get_privacyinfo_file_path and I have no idea why file_refs doesn't have a path property.

I think we're looking to merge https://github.com/facebook/react-native/pull/44410 to fix this issue, no?

Thank you for answer @aleqsio. I didn't noticed this PR :)

@cipolleschi Any idea when this might be released? Thanks!

@david-cahill Likely next week. We have been busy working on the React Conf the past two weeks, so we could not dedicate any time to anything else, unfortunately. This week we have internal events plus the AppJS conf that are going to slow down the releases a bit. Next week we should be back to normal.

@david-cahill Likely next week. We have been busy working on the React Conf the past two weeks, so we could not dedicate any time to anything else, unfortunately. This week we have internal events plus the AppJS conf that are going to slow down the releases a bit. Next week we should be back to normal.

I wanted to go to the App JS conference (2 hours by car) but the company refused my request :(

For me this did the fix:
 next if accessed_api_types.nil? || accessed_api_types.nil?

so .. this was an issue for the react-native-maps project as well, it seems like by updating to react-native 0.74.1 from react-native 0.74.0 there are more strict checks for privacy manifest file content, ie both NSPrivacyCollectedDataTypes and NSPrivacyAccessedAPITypes were needed.
we included both and pod install is now working as expected.
so I'm not sure if this is really a bug in react-native itself or simply a better PrivacyPolicy file is expected

Mine patch file:
diff --git a/node_modules/react-native/scripts/cocoapods/privacy_manifest_utils.rb b/node_modules/react-native/scripts/cocoapods/privacy_manifest_utils.rb
index 7600829..7fd3d61 100644
--- a/node_modules/react-native/scripts/cocoapods/privacy_manifest_utils.rb
+++ b/node_modules/react-native/scripts/cocoapods/privacy_manifest_utils.rb
@@ -21,6 +21,7 @@ module PrivacyManifestUtils
         get_core_accessed_apis.each do |accessed_api|
             api_type = accessed_api["NSPrivacyAccessedAPIType"]
             reasons = accessed_api["NSPrivacyAccessedAPITypeReasons"]
+            next if api_type.nil? || reasons.nil?
             required_reason_apis[api_type] ||= []
             required_reason_apis[api_type] += reasons
         end
@@ -29,6 +30,7 @@ module PrivacyManifestUtils
         (privacy_info["NSPrivacyAccessedAPITypes"] || []).each do |accessed_api|
             api_type = accessed_api["NSPrivacyAccessedAPIType"]
             reasons = accessed_api["NSPrivacyAccessedAPITypeReasons"]
+            next if api_type.nil? || reasons.nil?
             # Add reasons from existing PrivacyInfo file to the ones from pods
             required_reason_apis[api_type] ||= []
             required_reason_apis[api_type] += reasons
@@ -67,7 +69,7 @@ module PrivacyManifestUtils
     end

     def self.ensure_reference(file_path, user_project, target)
-        reference_exists = target.resources_build_phase.files_references.any? { |file_ref| file_ref.path.end_with? "PrivacyInfo.xcprivacy" }
+        reference_exists = target.resources_build_phase.files_references.any? { |file_ref| file_ref.path&.end_with? "PrivacyInfo.xcprivacy" }
         unless reference_exists
             # We try to find the main group, but if it doesn't exist, we default to adding the file to the project root – both work
             file_root = user_project.root_object.main_group.children.find { |group|
@@ -79,9 +81,11 @@ module PrivacyManifestUtils
     end

     def self.get_privacyinfo_file_path(user_project, targets)
+        puts "Debug: Entering get_privacyinfo_file_path function"
         file_refs = targets.flat_map { |target| target.resources_build_phase.files_references }
-        existing_file = file_refs.find { |file_ref| file_ref.path.end_with? "PrivacyInfo.xcprivacy" }
+        existing_file = file_refs.find { |file_ref| file_ref.path&.end_with? "PrivacyInfo.xcprivacy" }
         if existing_file
+            puts "Debug: Found existing file: #{existing_file.real_path}"
             return existing_file.real_path
         end

@@ -90,9 +94,11 @@ module PrivacyManifestUtils
         if info_plist_path.nil?
             # return path that is sibling to .xcodeproj
             path = user_project.path
-            return File.join(File.dirname(path), "PrivacyInfo.xcprivacy")
+            puts "Debug: info_plist_path is nil, using user_project.path: #{path}"
+            return File.join(File.dirname(path), "PrivacyInfo.xcprivacy") unless path.nil?
         end
-        return File.join(File.dirname(info_plist_path.real_path),"PrivacyInfo.xcprivacy")
+        puts "Debug: Found info_plist_path: #{info_plist_path.real_path}"
+        return File.join(File.dirname(info_plist_path.real_path),"PrivacyInfo.xcprivacy") unless info_plist_path.real_path.nil?
     end

     def self.get_used_required_reason_apis(installer)
@@ -111,6 +117,7 @@ module PrivacyManifestUtils
                     accessed_api_types.each do |accessed_api|
                     api_type = accessed_api["NSPrivacyAccessedAPIType"]
                     reasons = accessed_api["NSPrivacyAccessedAPITypeReasons"]
+                    next if api_type.nil? || reasons.nil?
                     used_apis[api_type] ||= []
                     used_apis[api_type] += reasons
                     end

patch worked for me

Version 0.74.2 of React Native is out with all the fixes to the privacy manifest. Patches for versions 0.73 and 0.72 will come in the next few days with similar fixes!

Thanks @cipolleschi, I updated and it's all good!

Hello,
I am getting the same error message even tho I have RN 0.74.3, what could be causing the issue!?
Thanks

@mo-elnady you might have a stale version cached. Can you try to run:
# from the ios folder
bundle exec pod deintegrate
cd ..
rm -rf node_modules
yarn install
cd ios
bundle exec pod install

This should reset your node_modules and pods.

@cipolleschi Thank you for your answer. I eventually got tired of trying to fix it so I tried to update RN itself to 0.75.3 at that time, cleaned everything and after fixing a couple of issues related to the upgrade it did work.


Louis/bug-fixes

Purpose
Some bug fixes for issues #55 and #59, as well as one more bug I discovered.
Changes

Fix strings which were being formatted incorrectly (583f6cbb61c080d1ccc728b79ea29036a6e85229).
Fix qubits not resetting on error (b70d6bebf7ae932c39f2ee581d45b39e0f31f21c).
Fix quantum register sending output on error (d195f3387821ef414e6c8e7a5154e07177b6aee8).

It would be cleaner to also empty the output runtime variable for the quantum register node.

Some other nodes, such as the barrier node, also have an output variable. Shall I reset these as well?

If these nodes have runtime variables, then they should empty them at the same time.

Good point, I'll get on that 👍

It wouldn't cause an issue if you don't reset all output variables but I believe it would be cleaner to empty all of them.

@Theo-Reignier Alternatively, do you think it would be simpler to initialise the variables at the top of the input listener?
Right now, variables are being initialised when the node is created.
function BarrierNode(config) {
    RED.nodes.createNode(this, config);
    this.name = config.name;
    this.outputs = parseInt(config.outputs);
    this.qubits = [];
    const node = this;

    this.on('input', async function(msg, send, done) {
      ...
    });

Could we move this initialisation to the inside of the input listener like so:
function BarrierNode(config) {
    RED.nodes.createNode(this, config);
    this.name = config.name;
    const node = this;

    this.on('input', async function(msg, send, done) {
      node.qubits = [];
      node.outputs  = parseInt(config.outputs);
      ...
    });

This would ensure that they are reset every time they receive new input.

That would simplify the code indeed. Good idea !
However, I believe that all the initializations based on config.xxx can stay before the input listener.
I believe it makes more sense and is more efficient

However, I believe that all the initializations based on config.xxx can stay before the input listener.

Makes sense, given that the value of outputs will be the same regardless of the input being received by the listener anyway, and it isn't being modified anywhere. In that case, in combination with my previous idea, I think leaving outputs as it is without resetting it would be fine.

Okay then, I am happy with that.

Oh I misunderstood - you was referring to output, but I thought you meant outputs. I'll stick to resetting output in that case
👍

I misunderstood your message as well, sorry about that !

I realise I don't think my idea of putting node.qubits = []; at the top of the input listener will work, because sometimes we don't want it to reset on each input. The simulator node for example, we don't want to reset qubits on every input because we need to push every input msg we get to the same array, so  I'll go back to the original method of resetting.

That's true, I didn't realise that while discussing here.

@Theo-Reignier I've gone with a method of creating reset() functions and calling them after each done(). What do you think? (1e3a4f7f393b6ca640d954b3f40cf9b27c0256c7)

Much much better solution, way cleaner as well.
Amazing idea, thank Louis !
Is that ready for review ?

Much much better solution, way cleaner as well.
Amazing idea, thank Louis !
Is that ready for review ?

Thanks! 😊
Yup it's ready for review.

@bbaayezi Can you have a look at 583f6cbb61c080d1ccc728b79ea29036a6e85229 for issue #55? I think I found all the string formatting errors.

@bbaayezi Can you have a look at 583f6cb for issue #55 please? I think I found all the string formatting errors.

I think you stil missed the identity-gate, other than that LGTM.

I think you stil missed the identity-gate, other than that LGTM.

It seems to be okay I think? Or did you mean I should make them consistent in format (e.g. update this one to be  script += util.format(snippets.IDENTITY, msg.payload.registerVar + '[' + msg.payload.qubit + ']');)?

I think you stil missed the identity-gate, other than that LGTM.

It seems to be okay I think? Or did you mean I should make them consistent in format (e.g. update this one to be script += util.format(snippets.IDENTITY, msg.payload.registerVar + '[' + msg.payload.qubit + ']');)?

ah okay I misread it then.

@bbaayezi Could you approve this PR if you're ready please?


Last page always empty

Hi,
It seems that the last page of every generated PDF is empty.
Thanks,
Guy

I think that's an artefact of the "include-api-list" option.  If you set that option to true, the last page isn't empty any more.

I have encountered the same issue.
Trying to fix it with #56


Fix typo in ScrollView childLayoutProps error message

Thanks for submitting a pull request! Please provide enough information so that others can review your pull request:
(You can skip this if you're fixing a typo or adding an app to the Showcase.)
Explain the motivation for making this change. What existing problem does the pull request solve?
Example: When "Adding a function to do X", explain why it is necessary to have a way to do X.
Test plan (required)
Demonstrate the code is solid. Example: The exact commands you ran and their output, screenshots / videos if the pull request changes UI.
Make sure tests pass on both Travis and Circle CI.
Code formatting
See the simple style guide.

Signed the CLA.

@facebook-github-bot shipit

Thanks :)


build: update angular.json with Angular v19 defaults

Updates angular.json to match v19 defaults + custom options
Removes the need of generating a manual index.html given with outputMode that's now done by default. Yay!

#854  👈 (View in Graphite)
main

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


Can't create session with remote (OpenLDAP) users

Dear all,
For a few day's ago, i installed xrdp 2.0 from the master branch with the Xorgxrdp package as described in the wiki: https://github.com/neutrinolabs/xrdp/wiki/Building-on-Debian-8
The install went smoothly and i can login with local users. So you should say it works. But then i want to login with a remote user with rdp.  When i look at the running processes i see only three processes.
ps -u <user>   PID TTY          TIME CMD 23407 pts/1    00:00:00 xrdp-sessvc 23409 pts/1    00:00:00 Xorg-rdp 23424 pts/1    00:00:00 xrdp-chansrv
As you can see i tried the solution mentioned in #597. I copied and renamed the Xorg file in /usr/bin to Xorg-rdp. Then i changed the setting in sesman.ini in /etc/xrdp. I also tried to change the code mentioned under Xorg in xrdp.ini in /etc/xrdp to 10 instead of 20. Did't work.
The xrdp.log and xrdp-sesman.log show nothing:
xrdp-sesman.txt
xrdp.txt
My configs are:
sesman.ini.txt
xrdp.ini.txt
My system is Linux Mint 17.3:
uname -a: Linux ubuntu 3.13.0-37-generic #64-Ubuntu SMP Mon Sep 22 21:28:38 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
I tried to be complete with my question. If you need more information, please ask. I hope someone can help me with this strange issue.
Kind regards Michel Huiting

Oke, i fixed the problem. With Linux Mint 17.1 Rebecca (Mate) the problem was that xrdp didn't know wich desktop manager it would start. So by installing directly using this script http://c-nergy.be/blog/?p=10273 this problem is solved.
I hope i can help other people with this issue!
This issue can be closed
Kind regards Michel Huiting


Use UncertaintyRecommender in Acton

See arms.py in this repo too.

This is done! Except not in Acton but my own framework.


Small-Omega Update in Synaptic Intelligence (SI)

Ciao!
First of all, thank you so much for this awesome repo.
Secondly, I have possibly noticed a flaw in the update rule of small_omega in the SI implementation. Specifically, small_omega is incremented solely based on the regularized gradients, instead of both the regularized and non-regularized multiplied (L61 of si.py):
        self.small_omega += self.args.lr * self.net.get_grads().data ** 2

As a reference, you can see the official implementation of Zenke at this line.
If I was not clear, or if you have any questions, please let me know!
Best,
Jacopo

Hey @graldij ,
you are probably right. In our implementation we made a couple of assumptions on \theta'(t) of Eq. 3 of the main paper , where the parameter update would be equal to the gradient times the learning rate, thus yielding self.args.lr * self.net.get_grads().data ** 2. This seems also to follow Eq. 10 and Sec. C of the main paper, but correct me if I'm wrong.
Regardless, I agree that the correct implementation should use the unregularized gradients, since in the paper L(\theta) is only the classification loss.
We will update the code shortly to fix this.

This is how I interpret it: $g_k$ requires the unregularized gradient as it is a proxy for the contribution to that task's (unregularized) loss, while $\delta_k$ is the actual change in parameters, which is a consequence of the actual optimization problem with regularization. Therefore both regularized and unregularized gradients should be considered in the update of small_omega.
Let me know if this makes sense to you

I see what you mean. Correct me if I am wrong, but this does not imply that "the way" we get to those final parameters is the same (nor that we will actually ever get to those final parameters, e.g. due to early stopping), right?

I'm not sure because the small_omega takes into account all the path between the start and the end of the task.
Also from further inspection of the claim

if learning were to be performed on the surrogate loss instead of the actual loss function, it would result in the same final parameters and change in loss during training.

It does not seem that exact (check Fig. 3 of the paper).
At this point I think the best way is to follow the implementation of Zenke and compute the gradient on the unregularized loss and the real displacement, as you suggested.
The main issue here is that I think the paper may be open to interpretation: the small_omega of Eq. 3 is defined on the unregularized loss, so from a formal standpoint the displacement should follow that loss, making it far more similar to the empirical Fisher.

@graldij this got automatically closed but let me know if you think it still has issues and I will re-open it.
Also, thank you for your help!

No worries!
I'm afraid I don't agree with the current fix. In particular, it does not seem that the actual step is done with the gradients of the regularized loss. Also, I don't get what line 63 does, maybe a loss.backward() is missing in get_penalty_grads?

I'll re-open it to make it easier to find.
The current implementation computes directly the closed form of the gradients, so instead of needing to call the backward twice (first on the unregularized loss and then on the total one) it sums the gradient of the regularization term.
This is possible since the regularization does not depend on the input data and is quite easy to derive.

My bad, I did not notice that get_penalty_grads() already contains the gradient, in contrast to penalty() (which is now unused and can be deleted).
Thanks for the responsiveness!

No problem! We will keep the penalty() function to serve as a reference.
Thank you for your help with Mammoth!


Prepare to use the new cloud

First, create a script in the tools/ directory for installing ansible dependencies so that we don't need to copy-paste the command when bootstrapping new bastions.
Second, refactor most of our production bits to support multiple parallel production deployments.

recheck


⚠ Bofrost.lu has degraded performance

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

HTTP code: 200
Response time: 1610 ms

Resolved: Bofrost.lu performance has improved in 407ddbf after 9 minutes.


2.1 docs

:warning: Validation status: warnings

File
Status
Preview URL
Details

docs/animations/CompositionAnimations.md
:warning:Warning
View
Details

docs/animations/ConnectedAnimations.md
:warning:Warning
View
Details

docs/animations/ImplicitAnimations.md
:warning:Warning
View
Details

docs/controls/HamburgerMenu.md
:warning:Warning
View
Details

docs/controls/HeaderedContentControl.md
:warning:Warning
View
Details

docs/controls/HeaderedItemsControl.md
:warning:Warning
View
Details

docs/controls/InAppNotification.md
:warning:Warning
View
Details

docs/extensions/MouseCursor.md
:warning:Warning
View
Details

docs/Getting-Started.md
:white_check_mark:Succeeded
View

docs/Toolbox-Support.md
:white_check_mark:Succeeded
View

docs/animations/AnimationSet.md
:white_check_mark:Succeeded
View

docs/animations/Blur.md
:white_check_mark:Succeeded
View

docs/animations/Fade.md
:white_check_mark:Succeeded
View

docs/animations/FadeHeader.md
:white_check_mark:Succeeded
View

docs/animations/Light.md
:white_check_mark:Succeeded
View

docs/animations/Offset.md
:white_check_mark:Succeeded
View

docs/animations/ParallaxService.md
:white_check_mark:Succeeded
View

docs/animations/ReorderGrid.md
:white_check_mark:Succeeded
View

docs/animations/Rotate.md
:white_check_mark:Succeeded
View

docs/animations/Saturation.md
:white_check_mark:Succeeded
View

docs/animations/Scale.md
:white_check_mark:Succeeded
View

docs/controls/AdaptiveGridView.md
:white_check_mark:Succeeded
View

docs/controls/BladeView.md
:white_check_mark:Succeeded
View

docs/controls/Carousel.md
:white_check_mark:Succeeded
View

docs/controls/DockPanel.md
:white_check_mark:Succeeded
View

docs/controls/DropShadowPanel.md
:white_check_mark:Succeeded
View

docs/controls/Expander.md
:white_check_mark:Succeeded
View

docs/controls/GridSplitter.md
:white_check_mark:Succeeded
View

docs/controls/HeaderedTextBlock.md
:white_check_mark:Succeeded
View

docs/controls/ImageEx.md
:white_check_mark:Succeeded
View

docs/controls/Loading.md
:white_check_mark:Succeeded
View

docs/controls/MarkdownTextBlock.md
:white_check_mark:Succeeded
View

docs/controls/MasterDetailsView.md
:white_check_mark:Succeeded
View

docs/controls/Menu.md
:white_check_mark:Succeeded
View

docs/controls/PullToRefreshListview.md
:white_check_mark:Succeeded
View

docs/controls/RadialGauge.md
:white_check_mark:Succeeded
View

docs/controls/RadialProgressBar.md
:white_check_mark:Succeeded
View

docs/controls/RangeSelector.md
:white_check_mark:Succeeded
View

docs/controls/RotatorTile.md
:white_check_mark:Succeeded
View

docs/controls/ScrollHeader.md
:white_check_mark:Succeeded
View

docs/controls/SlidableListItem.md
:white_check_mark:Succeeded
View

docs/controls/TextToolbar.md
:white_check_mark:Succeeded
View

docs/controls/TileControl.md
:white_check_mark:Succeeded
View

docs/controls/WrapPanel.md
:white_check_mark:Succeeded
View

docs/developer-tools/AlignmentGrid.md
:white_check_mark:Succeeded
View

docs/developer-tools/FocusTracker.md
:white_check_mark:Succeeded
View

docs/docfx.json
:white_check_mark:Succeeded

docs/extensions/Hyperlink.md
:white_check_mark:Succeeded
View

docs/extensions/ListViewBase.md
:white_check_mark:Succeeded
View

docs/extensions/SurfaceDialTextboxHelper.md
:white_check_mark:Succeeded
View

This comment lists only the first 50 files in the pull request.

docs/animations/CompositionAnimations.md

[Warning] Author nikolame cannot be recognized in GitHub.

docs/animations/ConnectedAnimations.md

[Warning] Author nikolame cannot be recognized in GitHub.

docs/animations/ImplicitAnimations.md

[Warning] Author nikolame cannot be recognized in GitHub.

docs/controls/HamburgerMenu.md

Line 189: [Warning] The content part of NOTE/WARNING/CAUTION/IMPORTANT/NEXT syntax is suggested to start in a new line.

docs/controls/HeaderedContentControl.md

Line 48: [Warning] The content part of NOTE/WARNING/CAUTION/IMPORTANT/NEXT syntax is suggested to start in a new line.

docs/controls/HeaderedItemsControl.md

Line 45: [Warning] The content part of NOTE/WARNING/CAUTION/IMPORTANT/NEXT syntax is suggested to start in a new line.

docs/controls/InAppNotification.md

Line 164: [Warning] Invalid file link:(~/../Microsoft.Toolkit.Uwp.UI.Controls/InAppNotification/Styles/MSEdgeNotificationStyle.xaml).
Line 165: [Warning] Invalid file link:(~/../Microsoft.Toolkit.Uwp.UI.Controls/InAppNotification/Styles/VSCodeNotificationStyle.xaml).

docs/extensions/MouseCursor.md

Line 40: [Warning] The content part of NOTE/WARNING/CAUTION/IMPORTANT/NEXT syntax is suggested to start in a new line.

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

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/Getting-Started.md
:white_check_mark:Succeeded
View

docs/Toolbox-Support.md
:white_check_mark:Succeeded
View

docs/animations/AnimationSet.md
:white_check_mark:Succeeded
View

docs/animations/Blur.md
:white_check_mark:Succeeded
View

docs/animations/CompositionAnimations.md
:white_check_mark:Succeeded
View

docs/animations/ConnectedAnimations.md
:white_check_mark:Succeeded
View

docs/animations/Fade.md
:white_check_mark:Succeeded
View

docs/animations/FadeHeader.md
:white_check_mark:Succeeded
View

docs/animations/ImplicitAnimations.md
:white_check_mark:Succeeded
View

docs/animations/Light.md
:white_check_mark:Succeeded
View

docs/animations/Offset.md
:white_check_mark:Succeeded
View

docs/animations/ParallaxService.md
:white_check_mark:Succeeded
View

docs/animations/ReorderGrid.md
:white_check_mark:Succeeded
View

docs/animations/Rotate.md
:white_check_mark:Succeeded
View

docs/animations/Saturation.md
:white_check_mark:Succeeded
View

docs/animations/Scale.md
:white_check_mark:Succeeded
View

docs/controls/AdaptiveGridView.md
:white_check_mark:Succeeded
View

docs/controls/BladeView.md
:white_check_mark:Succeeded
View

docs/controls/Carousel.md
:white_check_mark:Succeeded
View

docs/controls/DockPanel.md
:white_check_mark:Succeeded
View

docs/controls/DropShadowPanel.md
:white_check_mark:Succeeded
View

docs/controls/Expander.md
:white_check_mark:Succeeded
View

docs/controls/GridSplitter.md
:white_check_mark:Succeeded
View

docs/controls/HamburgerMenu.md
:white_check_mark:Succeeded
View

docs/controls/HeaderedContentControl.md
:white_check_mark:Succeeded
View

docs/controls/HeaderedItemsControl.md
:white_check_mark:Succeeded
View

docs/controls/HeaderedTextBlock.md
:white_check_mark:Succeeded
View

docs/controls/ImageEx.md
:white_check_mark:Succeeded
View

docs/controls/InAppNotification.md
:white_check_mark:Succeeded
View

docs/controls/Loading.md
:white_check_mark:Succeeded
View

docs/controls/MarkdownTextBlock.md
:white_check_mark:Succeeded
View

docs/controls/MasterDetailsView.md
:white_check_mark:Succeeded
View

docs/controls/Menu.md
:white_check_mark:Succeeded
View

docs/controls/PullToRefreshListview.md
:white_check_mark:Succeeded
View

docs/controls/RadialGauge.md
:white_check_mark:Succeeded
View

docs/controls/RadialProgressBar.md
:white_check_mark:Succeeded
View

docs/controls/RangeSelector.md
:white_check_mark:Succeeded
View

docs/controls/RotatorTile.md
:white_check_mark:Succeeded
View

docs/controls/ScrollHeader.md
:white_check_mark:Succeeded
View

docs/controls/SlidableListItem.md
:white_check_mark:Succeeded
View

docs/controls/TextToolbar.md
:white_check_mark:Succeeded
View

docs/controls/TileControl.md
:white_check_mark:Succeeded
View

docs/controls/WrapPanel.md
:white_check_mark:Succeeded
View

docs/developer-tools/AlignmentGrid.md
:white_check_mark:Succeeded
View

docs/developer-tools/FocusTracker.md
:white_check_mark:Succeeded
View

docs/docfx.json
:white_check_mark:Succeeded

docs/extensions/Hyperlink.md
:white_check_mark:Succeeded
View

docs/extensions/ListViewBase.md
:white_check_mark:Succeeded
View

docs/extensions/MouseCursor.md
:white_check_mark:Succeeded
View

docs/extensions/SurfaceDialTextboxHelper.md
:white_check_mark:Succeeded
View

This comment lists only the first 50 files in the pull request.
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Added GCD code in python which gives result in O(log n) time unlike t…

…he previous one whose time complexity was O(n) .
Also this code is compatible with python 2 as well as python 3. :)

Update Readme and Contributors List :+1:

Updated Readme and Contributors List :+1:


Blog updates

Added clickable tags to blog pages (above title)
Updated mobile blog filter to pop out from the side
Removed filters for tags that don't exist on that blog list (tag and author pages)
Increased height of logos on integration cards
Made all integration cards the same height

Thank you for the updates Carlos, 2 things:

Is it possible to have some highlighting around the tag when we hover on it in the article to indicate that it's clickable.
Not sure if it makes sense, but if it does: when I click on a tag in the article I go to the page for that tag, but it's unticked. Does it make sense to auto tick it? Feel free to ignore this one though if it doesn't make sense or if it's overkill..

Hey Tuana,

Added hover effect to tags
Actually I think it didn't make sense to show it in the first place, since all the posts on that page already have that tag, so it would make the other filters useless when checked or unchecked, I've hidden it but lmk if you have other ideas :)


feature flag include/exclude and exposure modal id type change

In this PR feature flag include/exclude and exposure modal id type changes from number to string.

is this something that should go in the release branch?


Using -t 300 causes error

When i use cf push with the -t 300 parameter I get an error as described at:
https://docs.cloudfoundry.org/buildpacks/java/java-tips.html#slow-starting-java-or-grails-apps

Note: The timeout threshold cannot exceed 180 seconds. Specifying a timeout threshold greater than 180 seconds results in the following error:
Server error, status code: 400, error code: 100001, message: The app is invalid: health_check_timeout maximum_exceeded

Maybe the readme should be updated

Hi @KilianCroese , good point, updated the docs.


fix/set-person-error

This fixes an error that could occur sometimes and break sites if not handled.
Easiest way to test:

Inside this project, build using yarn build
Copy the built lib folder into the studio-caliper-js folder within the node_modules folder of the project you're testing with

However, I'm not sure how to reproduce the original error. I think I got the error by having existing (and different) data in my localhost:3000 domain for studioKit:caliperService:person

@builtbywill This change resolved my Caliper error. Is this all we would need here?

@gavin-brown I guess if we are making updates, we could do some dependency updates, probably in caliper-js, too?

@builtbywill dependabot will be very happy 😅

@purdue-tlt/full-timers Ready for review

(That's a joke. This is my own merge request)


Make free software part of the mission statement.

As proposed in this discourse thread.

cc @bnvk, @jancborchardt, @jdittrich, @evalica

Fine by me. I think the term »free« is inherently misleading and will always mean »free of cost« for any normal person no matter how much education work is done, but then again I’m part of the Free Software Foundation Europe so … :D


Feature request: bind to unix domain socket

Unix domain sockets are more efficient than TCP, can be easily organized with directory structure and protected via permission system
Many web frameworks supports listening on Unix socket out of the box, so I assume Noire's does it too

Well, nice suggestion, however...
I don't think it is possible at the moment for noire to use unix sockets without altering underlying prologue and httpx frameworks.


Git commit format

Currently, git commits tend to follow the [subject] title style.
Unfortunately, there is no strict guide for this format as the link given in the CONTRIBUTING.md file is not up to date (https://github.com/facebook/draft-js/blob/a9316a723f9e918afde44dea68b5f9f39b7d9b00/CONTRIBUTING.md links to a 404). In addition, this format is not followed closely by contributors or maintainers: see 04e5125, e4a490 and 321c58c for three different commit styles.
This was mentioned briefly in #181 (comment https://github.com/waycrate/swhkd/issues/181#issuecomment-1357503117) where we discussed adopting Conventional Commits with automation help from the cocogitto project.
This issue is for discussing adopting Conventional Commits or alternatives.
We should also discuss if/how to enforce it. Should we add git hooks? GitHub actions checks? Manually, as part of the PR review process?

I'm all for adopting conventional commits, it will help us with a lot of automation such as automatic release tagging and changelog generation.
I think git hooks and github action checks are a good way to enforce them just incase someone works around the hooks. Apart from that in the PR review process I presume just looking for a meaningful message is enough.

I am looking into cocogitto and alternatives.
I am not a fan of automating changelog generation as I think this would still need a lot of manual editing to remove noise (refactors, non-user facing changes...). Also, even with very well written commit titles, we'd still need to adjust them to form complete sentences and sometimes add a bit of context.
Ideally, if we make sure each PR updates the changelog as needed, there will be no need to generate it from the git log.

Git hooks would be nice, but I do have one issue. If we add cocogitto hooks (or alternatives), every developer then must have cocogitto installed on their machine to be able to commit and push. This creates an additional (small) barrier to contributing.
GitHub Actions don't have such a problem. In a way, this may just be kicking the can down the road, though, as a contributor would then need to amend their PR to follow our guidelines, instead of having a correct PR first try (commit-style wise).
What do you think?

I think karma runner should be good. Afaik, many rust based projects like pacdef, topgrade and helix use it and this is already popular enough that tools would be built around it. Also not hard to integrate into Github checks for PRs.


Feat(payment): enhance payment service

This pull request includes several changes to the config/app.go, docs/docs.go, and docs/swagger.json files to enhance the payment handling capabilities and update the API documentation accordingly. The most important changes include adding a new service to the GraphQL resolver, introducing new endpoints for payment operations, and updating the documentation to reflect these changes.
Enhancements to Payment Handling:

config/app.go: Added paymentService to the GraphQL resolver initialization to support payment-related queries and mutations.

New API Endpoints:

docs/docs.go: Added a new endpoint /payment for retrieving payments with various query parameters such as page number, page size, sort field, and sort order.
docs/docs.go: Introduced a new endpoint /payment/search for searching payments based on parameters like payment ID, order ID, amount, status, page number, and page size.
docs/docs.go: Added a new endpoint /payment/{payment_id} for retrieving payment details by payment ID.

Documentation Updates:

docs/docs.go: Updated the /users/verify-email endpoint to include a token parameter in the path instead of the body. [1] [2]
docs/docs.go: Added new response schemas for payment operations, including CreatePaymentResponse and Response-array_github_com_TrinityKnights_Backend_internal_domain_model_PaymentResponse. [1] [2]

Swagger Documentation:

docs/swagger.json: Updated the Swagger documentation to include the new /payment endpoint with appropriate query parameters and response schemas.

related issue #32  fix on this PR


Creating App for the drivers

This will create an app for the drivers.

Upload the remaining supported files for the app ! Happy Hacking !!


Use a Table-backed RLMResults for allObjects

Closes #1178.
@alazier @jpsim

Do we have separate tests for any method which has different implementations for the two RLMResults variants?
Might also be nice to verify the subclass is what we expect in the tests.
Also, it would be great if there were a way to factor the test so that the same code could get applied to both variants. Not sure if this is possible though.

While this looks good and mostly safe, I'm worried that our existing tests and these modifications to them don't cover quite enough.

Any suggestions for other things to test? RLMResults.mm now has 99% test coverage, and the only uncovered things are some error checking unrelated to the changes here. All of the checks which involve code-paths that vary between the two implementations are done on both.

Also closes https://github.com/realm/realm-cocoa/issues/1160 ?

No, this has no effect once you sort or filter the results in any way.

Nice to finally get that done :-)
Did you measure the performance improvements?

@bmunkholm see https://github.com/realm/realm-cocoa/pull/1353/files#diff-1. Hard to tell if there were necessarily improvements, but there certainly weren't any regressions based on the performance tests we have.

This reduces the asymptotic complexity of many operations (O(N2) -> O(N) for enumerate-and-mutate, O(N) -> O(1) for just checking the count), so the speedup depends on the size of the data set. For the specific user report that lead to actually implementing this it's about 100x faster.

:+1:


Get a bad result  about the dataset of sts2017

Hi!
My target is get the similarity between two sentences ,So I used the bert-as-service to get the sentence vector  which use the [-2] layer in the dataset of sts2017,but the result is not good ,the pearson is only about 0.47.So I want to fine-tuning using the train data,but the sts is a regression problem,so I dispersed the Similarity degree into[0,1,2,3,4,5](turn it into a classification problem),but the results do not converge,so
I'm in doubt that how to fine-turn based on the dataset of sts2017?I would appreciate it if you could answer my question.Thank you!

#160

#160

Thank you for your answer！

@k72550 make sure your bert-as-service>=1.4.7, there was a bug before and would affect the performance significantly when client_batch_size>1024. To update, simply do
pip install -U bert-serving-server bert-serving-client


Update suggested model in chat and summary docs

Partially addresses #311
Updates docs for recipes on AI Lab to include granite as the default suggestion.

LGTM


Add code coverage tracker similar to either dwn-sdk-js or to web5-js

Task Details:

Add code coverage tracker similar to either dwn-sdk-js or to web5-js
an ex from web5-js:

Picking Up This Issue:

If you'd like to work on this, please comment "picking this up" below, and I'll assign the issue to you

Questions:

If you need assistance or clarification, feel free to comment below.
Feeling overwhelmed? Join our #hack-together channel and collaborate with a buddy.
New to open-source? Check out our Hacktober #getting-started channel.
Leaderboard: Check your ranking after finishing this task.

Resources:

Creating a Pull Request: If you're new to GitHub and unsure how to create a pull request, follow this step-by-step guide.

Remember, communication is key! If you have any questions or face any challenges, we're here to help so please don't hesitate to reach out.
Good Luck! 🍁

Here's the PR from web5-js that added code coverage tracking to PRs
https://github.com/TBD54566975/web5-js/pull/99

PIcking this up

@flothjl Thank you! 🥳


Binary Search using recursion

As we know binary search is used to search for an element by dividing the array in half each time. This search can also be done via recursion.
Assuming the array taken as input is ordered array, we can apply binary search via recursion also.
Languages : c, java

Hello I want to contribute in C++, Java, C, Python . I have good knowledge in recursive programming .
pls assign me @Kumar-laxmi

Sorry this algorithm has been implemented in all four languages


Update CONTRIBUTING.md

line 25: I believe you missed the word "you".

Closing this pull request for now


GOOGLE TTS api configuration

Hi, I'm following the directions suggested on the WiKi that are linked to here, and that page is a copy of the official here.
Unfortunately nowhere I can find a step-by-step explanation on how to create the credentials (and json file I need for the config).
This is the last step, but I cannot figure out...
I tried different choicesm but I always receive the error
"ttsultimate: node id: [...] Error Downloading TTS: The incoming JSON object does not contain a client_email field. THE TTS SERVICE MAY BE DOWN."
Is it possible to have a 3-points explanation for dummies (like me)?

Hi Enrico
basically you need a google cloud account. Then you must create an application, then download the credentials.
Sincerely, i've done that years ago and i cannot help you on that, because for sure something has changed inbetween.

I did that... But, I've casually found now what I was missing:


Lazy loading/pagination/infinite scrolling for all bookings page

Some test accounts that have more than 80 bookings crashes the browser on mobile when loading all bookings page, we should try to not load it all at once.
@mjancik do you have some UX recommendation? I think some kind of infinite scrolling is what is more used in these cases.

I think infinite scrolling should be fine in this case 👍


HOTFIX-20200902, Fix sb unit test setup issue

Describe the contribution
Fix integration-candidate - there was some convoluted test setup logic which actually caused some of the tests to be skipped and the CleanApp API test wasn't proceeded by a test reset so the event count didn't match expected.  Caused a TTF.
Basically just straightened out the setup (no actual test changes.)
Testing performed
Make, make test - passed
Expected behavior changes
Tests pass, no TTF.
System(s) tested on

Hardware: cFS Dev Server
OS: Ubuntu 18.04
Versions: bundle IC + this change

Additional context
nasa/cFS#136
Third party code
None
Contributor Info - All information REQUIRED for consideration of pull request
Jacob Hageman - NASA/GSFC

@yammajamma @astrogeco - fixes nasa/cFS#136 CI


⚠ Bofrost.lu has degraded performance

In 63e3342, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 6320 ms

Resolved: Bofrost.lu performance has improved in 42c50be after 5 minutes.


@PreFilter and @PostFilter annotations

Code for the article described in this Jira ticket
@eugenp, please let me know what you think. This is my first pull request ever, so I hope I'm doing everything correctly.

Hi @eugenp. This PR reflects the most recent changes we've discussed on BAEL-127.


Fix NaN return from mat4 unpacking

The caluclated angle is forced to PI if cos(angle) falls outside the
[-1, +1] range due to floating point precision error.

This was nasty!


buddy_list: Do not fade current user in PMs.

Fixes an issue where we would fade out own name because it wasn't in the list of recipients for a pm.
Testing Plan:
GIFs or Screenshots:

I changed this to what I think is a cleaner implementation; can you retest?

For the test failure, we probably need to require people.js, and maybe set a mock value of page_params.user_id or something.

Merged, thanks @YashRE42!  @rishig FYI.


Not a valid mod file

When loaded on any minecraft 1.20 versions it is unable to load mod as its "not" a valid mod file

It’s for Minecraft v1.20.4 and requires neoforge.


feat(konsole): konsole plugin with fullscreen and profile switch

Description

Adds Zen mode integration to Konsole, making it fullscreen and (possibly) changing to a different pre-configured profile using qdbus.
I wish I could find a way to change font size or background opacity rather than switching profiles dynamically, but I could not find a way.
Related Issue(s)

None, new feature
Screenshots

Functioning integrated Zen mode in Neovim on Konsole.

Hey nice idea, i will  try to implement the full screen mode for wezterm, I hadn't thought about this. 🙌

i will try to implement the full screen mode for wezterm

Wezterm already has this implemented.

Yeah, what I meant was to add the full screen part to the integration, that code example only increases the font but doesn't change to full screen, this is my change on my dotfiles

This made me realise that I also have had to make the similar change myself and forgot that it did not came out of the box... Yes, wezterm should have this.


Allow the middleware to be configured in the config file

This PR adds a new config setting that allows user-land to set the middleware being used in /offline and /manifest.json.
This is added for apps that doesn't use the web middleware.
// laravelpwa.php
return [
    'middleware' => ['web'],
];

Closing this for #99.

Its not working on macos
On Sat, 25 Nov 2023, 05:46 Jaggy, @.***> wrote:

Closing this for #99 https://github.com/silviolleite/laravel-pwa/pull/99
.
—
Reply to this email directly, view it on GitHub
https://github.com/silviolleite/laravel-pwa/pull/97#issuecomment-1826194970,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUPTNCNKL32LTPWB6ZYROQTYGFLZVAVCNFSM6AAAAAA7ZVUWAGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRWGE4TIOJXGA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Bug Fix - AppDelegate: Notification display failed when a view contro…

…ller is presented modally.

SGTM


Bug fix in assigning suppression and raising warning

This preserves the indexing and makes sure the error isn't raised. I can't get the exception in 507 to raise however, I think the logic is off.  Any value that is on the map would register the first condition and then crash if it didn't have a position in the SuppressoinFWI_table.  I don't know how a value would not meet that condition (Even when the condition was >10) because it is really about the first term (Sitevars.XXXSupressionIndex[Site]) being a value outside of the table's values (0-3).  The catch could be
if (index- ((int)this.IgnitionType * 10)<4)... This would exclude values greater than 3. It also could be if(....>0 and <4). But it also works as is... as it will just crash.

So, is this bug fixed?  Is it lacking a try-catch when a table value is missing?


How does this project work?

This is an issue tracking the documentation of how this website works. It's not necessarily a question per-se, but more of a "heyyyy let's document this stuff somewhere so we're all on the same page" issue.

btw I was requested by @conartist6 to do something with this website in https://github.com/iter-tools/regex/discussions/47#discussioncomment-5084010
sooooo... yeah. we'll see what I can do if anything ❤

Here's some info from the readme:

This is a Next.js project bootstrapped with create-next-app. It is using the Grommet component library and Typescript.

I did some work on it the other day: https://github.com/iter-tools/regex-playground/pull/2

The main goal is to visualize the states that are active in the engine. The engine states form a tree structure, and each state has a matcher, which can be represented either as a regex literal or as a graph structure as presented in a traditional railroad diagram visualization.

In terms of the matchers, those are defined in regex.ts. The type and props properties will be the important ones for building visualizations.

My rather medicore attempt to print matchers that powers the current playground is here

Are we OK with splitting things out into new components, or do we want to freeze the components as-is and just add more stuff to them? Should the new components (the ez one that I spotted is abstracting the main <form> into its own thing) have the same React class-based components, are are we OK with new function-based components? Do we want to pick one over the other, or should we migrate to one? ANy preferences?

I note that some have function-style

if this were moved to a new component, we could then add more stuff to the main <App /> component like more docs, a header text, some more links in a footer, maybe a GitHub badge, etc.

Don't worry about offending me. If you think you can make anything better by changing how it's factored, where it lives, how it's documented, go right ahead!

I've given you write perms on the repo, so feel free to put your work in a branch here.

Sounds good! 👍


Easy onboarding

Screens are here: https://app.zeplin.io/project/5ba9be48f029d520c456f395/dashboard?seid=5da6eb9c0ffcaa17e913b6e0

Add "I will do it later" button on seed phrase screen, if user chooses that do not show seed phrase confirmation flow.
On main screen show Get beams and Secure your phrase cards (user can close it). Remove Transactions list header, leave only empty state icon and text (ability to go to Payment proof flow won't be here also by now until we will find a better place for that).
When user choose Get beams - show external link alert and send user back to the main screen (no get beams card anymore).
After user's balance reach 10 beams, the complete verification card couldn't be hidden anymore.
In settings add 2 items: Get beams from the community faucet (hide after user receives his first beams - even if not from the faucet) and Complete wallet verification (hide after user complete it). Reorganise items on Settings screen required too.

please notice:
after discussed with @sasha-abramovich

minimum amount is 100 beam
order on settings screen should be like ios https://app.zeplin.io/project/5c73dc8aa74b4b4085a86a91/screen/5cc26a424a92851016e146d8


[ WIP ] Category

Category Page work in progress

In general it looks pretty cool!

Ok one update. Core pages are now in proper modules. In theme we expose them as components with scoped slots. While a was against mixin-based pages this approach is much better because:

users know exactly what the API is
no naming cinflicts
we can still update those components and theme logic is purely ui-driven
this components can be configured via props so we can still make them customizable while encapsulating business logic inside

@filrak is it still WIP? What do we have here? :)


refactor(container-utils): Deprecate DeltaManagerProxyBase

Deprecates DeltaManagerProxyBase. No replacement API is intended.

PR removing the API on next: #16759


fix: deletes stale events

flushes stale events on startup
checks every 10 incomming messages for stale messages to flush

These changes should hopefully significanltly improve prod pod stability, and reduce the number of resources that are consumed by the pod


Create u4sd.txt

@deogratias99 Please provide us with:

the school official website URL
an URL of a page on the official website where the school offers an IT-related long-term (>1 year) course
a proof, which shows that the school recognizes the domain you are submitting as an official email domain for the students.

@deogratias99 You might miss my previous comment. Please react.

@deogratias99 I am sorry, this request remains unanswered for a while. I have to close it without merging. Please reopen and comment if you have an update regarding the aforementioned issue. Thank you for your understanding!


Course Contents UI

Use elements from the Material 3 Flutter samples app: https://flutter.github.io/samples/material_3.html
Color scheme is M3 Baseline

Do note that much of this time is working on modularity to make developing other List-like UI easier to write and maintains a consistent look.