Spyder: An error ocurred while starting the kernel. Cannot run conda install spyder-kernels=2.4.

I set up a virtual environment with python 3.7.9 Spyder runs on 3.11 and I changed the interpreter to 3.7.9. I am using Anaconda3 The console in Spyder shows the following error message: "An error ocurred while starting the kernel You can install it by activating your environment first (if necessary) and then running in a system terminal: You can install it by activating your environment first (if necessary) and then running in a system terminal: conda install spyder-kernels=2.4"
I therefore activated my virtual environment in the Anaconda Prompt and entered conda install spyder-kernels=2.4.
However I get : "failed
UnsatisfiableError: The following specifications were found to be incompatible with the existing python installation in your environment:
Specifications:
spyder-kernels=2.4 -> python[version='>=3.10,<3.11.0a0|>=3.11,<3.12.0a0|>=3.12,<3.13.0a0|>=3.9,<3.10.0a0|>=3.8,<3.9.0a0']
Your python: python=3.7.9
If python is on the left-most side of the chain, that's the version you've asked for. When python appears to the right, that indicates that the thing on the left is somehow not available for the python version you are constrained to. Note that conda will not change your python version to a different minor version unless you explicitly specify that."
I also tried running "conda install spyder-kernels=2.4" outside my virtual environment
Not sure what needs to be done from there. Help really appreciated.

Hey @ctravell, thanks for reporting. You said:

I set up a virtual environment with python 3.7.9 Spyder runs on 3.11 and I changed the interpreter to 3.7.9.

I think your best bet to have this setup working is by installing Spyder-kernels with pip. You can do that by closing Spyder, opening the Anaconda Prompt, activating your environment and running there the command
pip install spyder-kernels==2.4.4

But, as you probably know, that will only work if you haven't installed other packages with conda in that env, because you can't mix pip and conda packages.
Let us know if that helps you to solve this problem.

Thank you for your reply.
I created a new environment with "conda create --name Credit_process2 -c anaconda python=3.7.9" and then ran "pip install spyder-kernels==2.4.4".  This generated the error below. It looks like Spyder doesn't like this python version. Anaconda was originally installed with python 3.11 and Spyder runs on it. I thought Spyder could run an a different python version and process code with another python interpreter version. Looks like the Spyder kernel doesn't really like this. Just my guess as I quite new here. Really appreciate any further help/advice.
ERROR: Ignored the following versions that require a different python version: 3.0.0 Requires-Python >=3.8; 3.0.0b3 Requires-Python >=3.8; 3.0.0b4 Requires-Python >=3.8; 3.0.0b5 Requires-Python >=3.8; 3.0.0b6 Requires-Python >=3.8; 6.17.0 Requires-Python >=3.8; 6.17.1 Requires-Python >=3.8; 6.18.0 Requires-Python >=3.8; 6.18.1 Requires-Python >=3.8; 6.18.2 Requires-Python >=3.8; 6.18.3 Requires-Python >=3.8; 6.19.0 Requires-Python >=3.8; 6.19.1 Requires-Python >=3.8; 6.19.2 Requires-Python >=3.8; 6.19.3 Requires-Python >=3.8; 6.19.4 Requires-Python >=3.8; 6.20.0 Requires-Python >=3.8; 6.20.1 Requires-Python >=3.8; 6.20.2 Requires-Python >=3.8; 6.21.0 Requires-Python >=3.8; 6.21.1 Requires-Python >=3.8; 6.21.2 Requires-Python >=3.8; 6.21.3 Requires-Python >=3.8; 6.22.0 Requires-Python >=3.8; 6.23.0 Requires-Python >=3.8; 6.23.1 Requires-Python >=3.8; 6.23.2 Requires-Python >=3.8; 6.23.3 Requires-Python >=3.8; 6.24.0 Requires-Python >=3.8; 6.25.0 Requires-Python >=3.8; 6.25.1 Requires-Python >=3.8; 6.25.2 Requires-Python >=3.8; 6.26.0 Requires-Python >=3.8; 6.27.0 Requires-Python >=3.8; 6.27.1 Requires-Python >=3.8; 6.28.0 Requires-Python >=3.8; 6.29.0 Requires-Python >=3.8; 6.29.1 Requires-Python >=3.8; 6.29.2 Requires-Python >=3.8; 6.29.3 Requires-Python >=3.8; 6.29.4 Requires-Python >=3.8
ERROR: Could not find a version that satisfies the requirement ipykernel<7,>=6.23.2; python_version >= "3" (from spyder-kernels) (from versions: 4.0.1, 4.0.2, 4.0.3, 4.1.0, 4.1.1, 4.2.0, 4.2.1, 4.2.2, 4.3.0, 4.3.1, 4.4.0, 4.4.1, 4.5.0, 4.5.1, 4.5.2, 4.6.0, 4.6.1, 4.7.0, 4.8.0, 4.8.1, 4.8.2, 4.9.0, 4.10.0, 4.10.1, 5.0.0b1, 5.0.0, 5.1.0, 5.1.1, 5.1.2, 5.1.3, 5.1.4, 5.2.0, 5.2.1, 5.3.0, 5.3.1, 5.3.2, 5.3.3, 5.3.4, 5.4.0, 5.4.1, 5.4.2, 5.4.3, 5.5.0, 5.5.3, 5.5.4, 5.5.5, 5.5.6, 6.0.0a0, 6.0.0a1, 6.0.0a2, 6.0.0a3, 6.0.0a4, 6.0.0a5, 6.0.0a6, 6.0.0b0, 6.0.0rc0, 6.0.0rc1, 6.0.0rc2, 6.0.0, 6.0.1, 6.0.2, 6.0.3, 6.1.0, 6.2.0, 6.3.0, 6.3.1, 6.4.0, 6.4.1, 6.4.2, 6.5.0, 6.5.1, 6.6.0, 6.6.1, 6.7.0, 6.8.0, 6.9.0, 6.9.1, 6.9.2, 6.10.0, 6.11.0, 6.12.0, 6.12.1, 6.13.0, 6.13.1, 6.14.0, 6.15.0, 6.15.1, 6.15.2, 6.15.3, 6.16.0, 6.16.1, 6.16.2)
ERROR: No matching distribution found for ipykernel<7,>=6.23.2; python_version >= "3"

Ok, then please try running:
pip install spyder-kernels==2.4.3

That should work.

Thanks.  Your first solution of running pip in the environment actually worked with pip install spyder-kernels==2.4.*
Not sure why the * made the difference

Great! Thanks for letting us know about it.


[Bug] Fail to generate a valid workflow. Invalid JSON?

Checked other resources

[X] I added a very descriptive title to this issue.
[X] I am sure the issue hasn't been already addressed by searching through https://github.com/agiresearch/AIOS/issues.
[X] The usage issue is not resolved by updating to the latest stable version in the main branch.

Describe your current environment
No response
Describe the bug
(aios) archermind@archermind:~/work/workspace/AIOS$ python main.py --llm_name ollama/llama3:8b --use_backend ollama
[🤖ollama/llama3:8b] AIOS LLM successfully loaded.
[example/academic_agent] Initialized.
[example/academic_agent] Create an Instagram post: Image of a person using a new tech gadget, text highlighting its key features and benefits.
[Scheduler] example/academic_agent[PID=4624665] is executing.
[🤖ollama/llama3:8b] example/academic_agent is switched to executing.
[Scheduler] example/academic_agent[PID=6955842] is executing.
[🤖ollama/llama3:8b] example/academic_agent is switched to executing.
[Scheduler] example/academic_agent[PID=7630327] is executing.
[🤖ollama/llama3:8b] example/academic_agent is switched to executing.
[example/academic_agent] Fail to generate a valid workflow. Invalid JSON?

 For these small models, it is recommended to set the workflow mode as manual to run the agents.


Display ladder queue pop time / Fix ladder 1v1 available match popup

The last server update (v1.1) changed the matchmaking system such that now matchmaking happens on a scheduled interval, instead of whenever a player starts searching.
We should add timer somewhere on the ladder1v1 tab that counts down the time until the next pop so people know when it's going to happen. This should help remove some of the mystery behind ranked mode.
It also means that the logic for sending a "Ladder match available" notification needs to be adjusted a little bit so that you don't constantly get spammed by notifications while sitting in queue.
The matchmaker_info message now contains an additional field which is the UTC time (in ISO format) of the next queue pop:
    {
        'command': 'matchmaker_info',
        'queues': [
            {
                'queue_name': 'ladder1v1',
                'queue_pop_time': '2019-07-01T16:53:21+00:00',
                'boundary_80s': [],
                'boundary_75s': []
            }
        ]
    }

@Askaholic Brutus suggested "Next matching in X:XX". What di you think?

Seems awkward to me. I think Next round: 2:12 is better. I think you can use the fact that it counts down every second to allow you to remove words, since it's pretty obvious from even just the number what it means.
If there were more players I would say just put the timer, and no text. But the problem with that is if the timer hits 0 and no game starts, then you still don't know what's going on, and you can't tell if its working correctly or if it's bugged.


Increase buffer seconds limit

Is there a reason why the maximum buffer second limit is only 5 seconds? I have a usecase that I need it to send only every 10/30 seconds.

I improved the buffer algorithm. My version has no limitation. I opened the pull request https://github.com/mattpker/pm2-slack/pull/21 for it.

#21 will fix this issue, closing


House committees that amend themselves into Senate committees

Can be problematic. Even if the candidate id associations change goes through successfully, we have to manually set the fact that they are now paper filers. This is probably just intrinsically messy; they just sorta start filing on paper when they feel like it. Hmm. Example is Steve Daines, a MT rep who amended his committee in 2013 to be a senate committee.

This is likely necessary messiness that isn't likely to go away any time soon.


Can't replicate flatland reward

Hello,
Thank you for sharing the mamba code. However, I couldn't replicate your 5-agent flatland reward curve as shown in your paper (Fig.5). Can you confirm the hyperparameters used to achieve that plot?
Thank you very much in advance!
Janet

Hi, I have the same question. The performance is so poor!!!

Hi,
did you copy optimal hyperparameters from optimal/flatland to DreamerAgentConfig.py and DreamerLearnerConfig.py?
I did rerun an experiment from scratch with python3 train.py and it's learning as expected -- wandb link (Note that x-axis is different from the number of steps in the enviornment)

Thank you so much, I just used those default files but not copied from the optimal folder. in the will give it a try.
How many world models did you use? The paper says each agent has their own version of the world model, I couldn't find it in the code. The code seems to indicate that only a single world model is learned with parameter sharing, am I understanding it right? Both policy/actor and critic also use/train just one model with shared parameters across all agents. Is it right?
Also, what exactly does the communication block learn?
Thanks in advance!

The code seems to indicate that only a single world model is learned with parameter sharing, am I understanding it right? Both policy/actor and critic also use/train just one model with shared parameters across all agents. Is it right?

Yes, your understanding is correct. Agents can have their own copy of the same model in theory, but it will reduce the training speed.

Also, what exactly does the communication block learn?

Communication block can be seen as the attention layer in Transition model, which extract information needed to predict the next state from previous actions and states of agents
Hope this helps clarify the architecture


Update git-in-here.yml

Added my Github profile n answered the question

PR Type: ___

Affiliation: N/A

Ticket: N/A

Checklist:

[x] I've read Contributing Guidelines
[x] I agree to follow the Code of Conduct

Also please add the hacktoberfest label...


Fix for #2671

Not sure which version is "better" but I guess this is more robust ? AFAICT the only cases where the preprocessor would dump to stdout occured when it was erroneously invoked on the POWER6 files. I have put my current WIP in #2682 for reference, which builds with gcc/gfortran 7.2 (and the AIX as, as far as I can determine). xlc has an unrelated issue with vector statements

The fix here would work for AIX on all power platforms. It is generic enough to handle any macros introduced for any platform.

I guess what was confusing me is that the change is (currently) not needed for power8/gcc, but of course that fits in with your original commit back in december, and the problem only occurring when this code path is taken for power6.  I'll update my WIP accordingly (still need to figure out how to clean up the assembly for xlc builds following David Edelsohn's pointer)


Some changes to grammar in the README.md and the MIGRATION.md file

Both of these documents are extremely WIP, so I'm not looking for grammar reviews right now (I have not even bothered to re-read it myself yet). I'm really only looking for content feedback


Create QC check to identify when there is >1 affected gene for a gene association

This request is from Sabrina based on review of the OMIM pipeline PR point (7)

Reminder: Tag @joeflack4 for review on the PR!

Also added a qc check for any mismatched gene identifiers used in equivalentTo and subClassOf. The failed issues of this type were fixed already in https://github.com/monarch-initiative/mondo/issues/8275


I've added axios which is a package that we'll use to send API reques…

…ts to the backend. The only change that has been made is to the package.json and package-lock.json. It's been added to the list of dependencies there. Nothing else has been touched. If it looks alright, go ahead and merge it.

You can delete the branch after the merge is complete.


Show errors tab  for methods with no span

Given I have a method func1 in my code that doesn't have a span associated with it.
The same method throws an exception and has an error frame pointing to it.
When the user selects the method in the IDE with the cursor inside the method:

The code button will have a 'Red' outline state, indicating that there is an error here
When the user clicks on the code button he will see the following:

A. The normal "Add Observability" state we show for functions with no observability
B. An additional text that says "X errors in this location. Click to view"
If the user clicks the link, the scope will change to:
Class.func1 (2 errors)
Only the errors tab will be enabled and will show the errors related to this method.
DEV NOTE:
asset scope should contains the following details:  (just an example)
    span_code_object_id (optional)
    method_code_object_id(optional)
    display_name

span_code_object_id will be empty only for the following flow:
Having a method (funcA) that is not instrumented and is part of an error flow (error is being raised and that method is part of the stacktrace)
When user clicks on the code icon and then clicks on the view errors link inside the code icon popup
Then the scope object should be
{
    span_code_object_id: null/empty
    method_code_object_id: {method_code_object_id}
    display_name:funcA {errors_count} errors
}

And user should see the scope as "funcA {errors_count} errors"
Another scenario to reach this same state is to click the code lens for "error hotspot" if it exists on the function.
In that scenario, and also only if there is no span associated with this code location, the scope should immediately change in the same way.
https://www.figma.com/file/MxA95ZHK5NqGX4ptFQljRJ/⭐-Design-System-3.0?type=design&node-id=2452-46463&mode=design&t=Oa2zB60lXxGMfp73-0

//backend
code/assets API changes
Response
{
assets: [  {
span_code_object_id
span_display_name
}]
errorData:{
method_code_object_id:
count: X
}
}

case when method_code_object_id is being sent by the request
when the request contains method_code_object_id we should fetch the errorData related to this method

case when method_code_object_id is linked to span_code_object_id/endpoint_code_object_id (in the backend)
in case the request contains span_code_object_id or endpoint_code_object_id that are linked to a method_code_object_id we should also get the errorData for that method_code_object_id

NOTE :
there is a case when the response will contain only errorData with no assets related

Things left to do:

Show the number of errors in the Code button popup
Show the number of errors in the Scope bar

@shaykeren FYI


consider bundling the mdbook with API docs served on docs.rs

This crate has en example build script that puts the mdbook in the target/doc directory.
The rendered API docs contain an mdbook that looks like this

some extra CSS is need to hide or tweak the docs.rs nav bar to get a functional mdbook.

^ we may want to do this so we get versioned mdbooks without having to set up multiple subdomains with netlify

Another option we started discussing is to migrate the book to rustdoc, similar how egg does it with their tutorial: https://docs.rs/egg/0.6.0/egg/tutorials/index.html


Add Search Field

It would be nice to be able to search generated documentation easily. At the very least, provide the ability to search the set of exported functions.

This issue has been moved to the new bootstrap plugin repo https://github.com/neogeek/doxdox-plugin-bootstrap/issues/1.


feat(Brep): check model non manifold edges

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


Password visibility #14

#14
Description

Related Issues 🐛

Thanks for the PR, However, some things need to be changed :

You should use only one boolean variable for showing and hiding
Instead of an Icon with Gesture Detector, you should use an IconButton Widget
Please Write Fixes #Issue number , instead of just the issue number
Please provide description and a short video of the implemented feature.


REST server skeleton

@alkchr What do you think about a JSON REST server skeleton in Goal?

@DavidHunter I'm all for it. Are there any specific requirements (the way it should look like at al)?

I think it should be similar to Tiger Tonic and follow guidelines from this blog post Best Practices for Designing a Pragmatic RESTful API. Swagger is also something interesting to look into.

@DavidHunter So what exactly Goal is missing right now?

Reading of JSON from request body.
Writing of JSON to the response.
Better routing.
Auto documentation of the API (easy to implement and useful).

Anything else? How do you see the implementation of these features? Any ideas?
P.S.: I haven't looked closely at swagger yet. Will do it.

@alkchr I think the things you mentioned cover everything needed as a start. Then someone can create a new API server with
goal rest github.com/$username/$project

I think we should focus on getting the web server to production ready

@DavidHunter I'd like to discuss routing first.  Advantages of this approach:

No need for a new syntax, Golang is used.
It's possible to split routes between multiple files.
Autocomplete in editors and IDEs.

There are a few other approaches that could be applied:

Revel like routes file (but with yaml or any other syntax instead of custom one).
"Annotation" before every action. In Bottle.py it looks as follows:

@route('/hello/<name>')
def index(name):
    return template('<b>Hello {{name}}</b>!', name=name)

The last one is my favourite. Though there are no annotations in Go, that's why our version would look more like (not type safe):
// @GET /hello/:name
func (c App) Greet(name string) http.Handler {
	c.Context = name
	return c.Render()
}

What do you think? How the list of routes should look like (go package vs. conf file vs. "annotations")?
When we are done with routes we'll have to implement reverse routing.

I think we should focus on getting the web server to production ready

@DavidHunter You mean the production readiness of the API server? Any specific steps to achieve that? What should we pay attention to?

@alkchr I mean production ready of github.com/colegion/goal/internal/skeleton Since their are plans to change organization name and etc.

Oh, I see.

Closing for now as there are no specific actionable items. Routing, auto documentation, etc. need their own issues.


[WiP] PoC for PluginItem attributes

There is no way to add arbitrary attributes to the placeholder / plugin menu items, this means for example, that there is no way to add an icon to it (introduced in version 3.2)
This adds an arbitrary set of attributes that are rendered in the template as data- attributes
Tests and docs will follow if approved

@divio/django-cms-core any opinion on this?

otherwise i'm ok

Coverage decreased (-0.009%) to 88.044% when pulling c8477d9f25915e9641c60be6ba35ce7bfe3572d8 on yakky:feature/pluginitem_attributes into 2e53fea374ecdb824bc4df18fbccdda874fa7347 on divio:develop.

@divio/django-cms-core tests and docs added. Ready for final review

Coverage increased (+0.002%) to 88.044% when pulling 56dbaa38495a20333681186f1899e89868452974 on yakky:feature/pluginitem_attributes into ca8be5306d42ebd991a7d0152460bc1950879cae on divio:develop.

LGTM

@czpython you ok with this?

@yakky Yup. Ok to merge.


Simplify parseInt and remote router

Interesting changes are in 57da944fbc550804547f77b817cf69a3374a4bb4
Stylistic changes are in c660fb2b6129d47147fb8465f2219df0dd3ce043
Final Node.js

looks awesome :+1:


Added Mac & Cheese Recipe

Absolutely necessary to add this one to the collection

The automated spell check also found a typo in line 68. Could you fix this @cdollst? Thanks!
 Error: ./recipes/mac-and-cheese.qmd:68: dissapears ==> disappears

hey @cdollst, I would still love to merge this PR! do you have a chance to implement the proposed changes, so I can merge and close the PR? thank you!


Change vkb::core::HPPImageView from a facade over vkb::core::ImageView to a self-contained class using vulkan.hpp

Description
Transcoding this part of the framework using Vulkan-Hpp, tested on Win10 and nvidia HW.
Needed a minor adjustment in vkb::core::HPPVulkanResource.
General Checklist:
Please ensure the following points are checked:

[x] My code follows the coding style
[x] I have reviewed file licenses
[x] I have updated the header Copyright to reflect the current year (CI build will fail if Copyright is out of date)
[x] I have commented any added functions (in line with Doxygen)
[x] I have commented any code that could be hard to understand
[x] My changes do not add any new compiler warnings
[x] My changes do not add any new validation layer errors or warnings
[x] I have used existing framework/helper functions where possible
[x] My changes build on Windows, Linux, macOS and Android. Otherwise I have documented any exceptions
[x] My changes do not add any regressions
[x] I have tested every sample to ensure everything runs correctly
[x] This PR describes the scope and expected impact of the changes I am making

The CI fails with some doxygen issue, that's not provoked by this PR.
Does anybody know how to resolve that?

Still some clang tidy hick-up on spirv_common.hpp!
How should I resolve that?


Fix modules with compile errors when in C++ mode

Fixed MSVC error messages
"C4576: a parenthesized type followed by an initializer list is a non-standard explicit type conversion syntax" i.e. (Vector2) -> RAYGUI_CLITERAL(Vector2)
"C4838: conversion from 'int' to 'float' requires a narrowing conversion" i.e. added explicit (float) cast
I have only touched two header files, which one might use as-is in other projects (as I did). I have not changed the actual examples, since they are plain-C and should compile fine anyway.
Cheers.

@raysan5 can this please be merged?

@foxblock Those examples are intended to be used from C code, I'm afraid I'm not changing them for a specific use case.


Lag when example balloon is spawned

Describe the bug
My game freezes in 4 or 5 seconds when I spawn the example balloon
Affected version

Dialogue Manager version: 2.27.2
Godot version: 4.1.2

To Reproduce
Steps to reproduce the behavior:

@export var dialogue_resource: DialogueResource
DialogueManager.show_example_dialogue_balloon(dialogue_resource, "this_is_a_node_title")

Can you provide an example project that demonstrates the issue?

I'm assuming you're the same person from Discord (correct me if that isn't true) so I'll comment here too - it looks like the issue is the fonts you're using and how you're loading them.


Accessibility issue - menu is not accessible

PHP Version
8.2
Shopware Version
6.5
Expected behaviour
When using the TAB key to tab through the menu I expect the flyout submenu to open when I press the ENTER key.
When pressing the ENTER key on a menu-item that has submenu items it should open the flyout navigation. Just like it does when you hover it with your mouse.
Here you can see an example of an accessible menu: accessible mega-menu
Actual behaviour
When using the TAB key to tab through the menu and press the ENTER key on a (parent) menu item this opens the category page.
How to reproduce

Go to Shopware Demo
Press TAB untill you see the menu item 'Clothing' being highlighted
Now press ENTER
You are now taken to the Clothing category page
It's impossible to navigate to the Women category page when using the keyboard (for example someone who is blind)

Hi,
thx for your issue we will put it into our new evaluation process and have a look at it again.

[public] Automated response: This issue is linked to the internal issue https://shopware.atlassian.net/browse/NEXT-37895.
[created from NEXT-37895, comment 488730]

[public]Thx for your report. This is something that we will tackle with a bigger epic to improve the accessibility in general. It should be fixed with <IP_ADDRESS> but latest with the release of <IP_ADDRESS>
[created from NEXT-37895, comment 496251]


adb: error: remote object '/sdcard/Tickler/xxx does not exist

Hi!
When I try to execute "java -jar AndroTickler.jar -pkgs" - it works fine.
But when I try other commands, such as -pkg xxx -info or -screen - I get the error "adb: error: remote object '/sdcard/Tickler/xxx does not exist" in .pullLog.log
Well, I created the directory /sdcard/Tickler/ manually, but it did not help.
I do not know if it's important, but the option "Tickler_sdcard_directory" in Tickler.conf does not lead to any changes in the .pullLog.log: I tried to change this option, but the path in the error remained the same
I use official rooted LineageOS 14.1 on Google Nexus 4

Hi, thanks for your input.
Tickler_sdcard_directory in Tickler.conf did not update the external storage directory properly. I fixed this and now you can specify any directory in /sdcard.
Also could you try to just pull any file from "Tickler_sdcard_directory" that you specify with normal privileges? such as "adb pull /sdcard/Tickler/com.package.something/anyfile ." from your host


Installing a package in R

Installing the package in Python is no problem. Finally Jax started working in Windows. The author's persistence deserves respect.
Installing a package in R is a tragedy. Each library call creates a new environment in random directories. The unacceptable form of installation makes it impossible to directly use the package in R, it is possible through the reticulate.
If you think that the package needs an isolated environment, create it calling it "r-nnetsauce". First, check whether miniconda is installed and whether such an environment may already exist.
Write a simple setup function. Look how this is solved in the  "modeltime.gluonts" package.
Good luck

@VladPerervenko Quick reminder: this is not a corporation, I'm doing it on my own. If you know how to do it, then feel free to do it. Also, be kind.


calico-node pods state is Completed

Calico pod is failing where it tries to run a liveness  probe on IGW of the kubernetes cluster instead  of localhost.  Even though liveness probe is set to "localhost" 9099.  "<IP_ADDRESS>" IGW IP address
Expected Behavior

Pods should be running as a daemonset
Current Behavior

Possible Solution

Steps to Reproduce (for bugs)

Events:
Type Reason Age From Message
Normal Scheduled 69s default-scheduler Successfully assigned kube-system/calico-node-zrtxw to ip-100-100-76-193.corp.pri
Normal Pulled 68s kubelet, ip-100-100-76-193.corp.pri Container image "quay.io/calico/cni:v3.4.0" already present on machine
Normal Created 68s kubelet, ip-100-100-76-193.corp.pri Created container install-cni
Normal Started 68s kubelet, ip-100-100-76-193.corp.pri Started container install-cni
Normal Pulled 66s kubelet, ip-100-100-76-193.corp.pri Container image "quay.io/calico/node:v3.4.0" already present on machine
Normal Created 66s kubelet, ip-100-100-76-193.corp.pri Created container calico-node
Normal Started 66s kubelet, ip-100-100-76-193.corp.pri Started container calico-node
Warning Unhealthy 2s (x7 over 62s) kubelet, ip-100-100-76-193.corp.pri Readiness probe failed: calico/node is not ready: felix is not ready: Get http://localhost:9099/readiness: dial tcp <IP_ADDRESS>:9099: connect: connection refused
Context

Your Environment

Calico version  3.4
Orchestrator version (e.g. kubernetes, mesos, rkt): 1.14.3
Operating System and version: Debian
Link to your project (optional):

Please include logs from calico-node.
That message would not be coming from calico but from the kubelet, I think you should investigate why the kubelet is resolving localhost to <IP_ADDRESS>.
You say expected behavior is pods should be running as daemonset, but did not include a current behavior so I can only assume that you believe they are not running as a daemonset, why do you think they are not?


FDS-54 Scrollbar style fixes, FDS-52 Sticky actions

FDS-54
Cleans up some of prototype styles for scrolling in tables and makes scroll areas auto so they do not show up all the time, and when they do, they now use the defined scroll styles for Cascara. When the styles for scroll get updated in Cascara, these scroll bar styles will also now get updated.
FDS-52
Makes action buttons sticky inside of a table so they will always be visible inside a table even in a long horizontal view. This also cleans up the buttons that were defined for Action Modules. Previously Button and Edit were defined with SUIR Buttons. These were switched to Reakit buttons using the SUI classnames for correct styles. Additionally, this solves a prop and classname conflict that was happening for the Button component that had a 'label' prop attached to it. That label prop changes the overall styling of the button because the concept of "labels" in SUI is a visual treatment of attaching a rounded box to an input or button. Reakit buttons do not throw strict mode warnings on us either.
@lordpixel please check my work here on the Edit and Button action modules regarding the above updates.

The Firefox issue is becoming a little tricky. Going to work on that in a separate PR.


Function mapping is not working

Hi,
I'm trying to understand how functions are executed. But the weird thing is seems that rely only openai llms. Because in my case the function is never triggered :
here is my code : to start with function I just created a dummy function. and then I'm calling it
import autogen

config_list = [
    {
        'api_type': 'open_ai',
        'api_base':'http://localhost:7500/v1',
        'api_key': 'NULL'
    }
]

def answer_my_question():
    return "LangChain provides standard, extendable interfaces and external integrations for the following modules, listed from least to most complex."

llm_config={
    "request_timeout": 600,
    "seed": 42,
    "config_list": config_list,
    "temperature": 0,
    "functions": [
        {
            "name": "answer_my_question",
            "description": "Answer any related question"
        }
    ],
}

assistant = autogen.AssistantAgent(
    name="assistant",
    system_message="Only use the functions you have been provided with. Do not ask the user to perform other actions than executing the functions.",
    llm_config=llm_config,
    is_termination_msg=lambda x: x.get("content", "").rstrip().endswith("TERMINATE"),
)

user_proxy = autogen.UserProxyAgent(
    name="user_proxy",
    human_input_mode="NEVER",
    max_consecutive_auto_reply=10,
    is_termination_msg=lambda x: x.get("content", "").rstrip().endswith("TERMINATE"),
    code_execution_config=False,
    llm_config=llm_config,
    system_message="""Reply TERMINATE if the task has been solved at full satisfaction. Otherwise, reply CONTINUE, or the reason why the task is not solved yet.""",
    function_map={"answer_my_question": answer_my_question}
)

user_proxy.initiate_chat(
    assistant,
    message="""
I want you to answer this following question:

what LangChain provides?

Start the work now.
"""
)

and the output is just a kind of random text generation :
user_proxy (to assistant):

I want you to answer this following question:

what LangChain provides?

Start the work now.

--------------------------------------------------------------------------------
assistant (to user_proxy):

LangChain is a decentralized platform that enables users to create, share and execute smart contracts on the Ethereum blockchain. It provides a user-friendly interface for creating and deploying smart contracts, as well as tools for managing and executing them. LangChain also offers a range of features such as gas optimization, contract auditing, and contract monitoring, which help users to ensure that their smart contracts are secure and efficient. Additionally, LangChain provides a community of developers who can assist with any questions or issues related to smart contracts on the Ethereum blockchain.

--------------------------------------------------------------------------------
user_proxy (to assistant):

Is there anything else you need to know?

--------------------------------------------------------------------------------
assistant (to user_proxy):

No, that is all I need to know. Thank you for your help.

--------------------------------------------------------------------------------
user_proxy (to assistant):

Reply TERMINATE

--------------------------------------------------------------------------------

any insights ?

Which model are you using?
What if you used a different function that is not in the model parametric knowledge:
eg
def print_secret():
    return "This is secret"

Then initiate the chat with "please print the secret"

Hi
I'm using Mistral-Instruct-7B

@gagb
here is the output :
user_proxy (to assistant):

 please print the secret

--------------------------------------------------------------------------------
assistant (to user_proxy):

def print_secret(secret):
    print("The secret is:", secret)

def get_secret():
    return "This is a secret"

print_secret(get_secret())

--------------------------------------------------------------------------------
user_proxy (to assistant):

TERMINATE

it ignores whether a function is called or not.
Do you have any example that I can run with local llm (.gguf) ?

Hi I'm using Mistral-Instruct-7B

@victordibia my understanding is the Mistral models don't have function call support. Is that correct? Maybe that explains why this is being ignored.

@AlbelTec Currently only GPT and a few online LLMS support function calling api, If you want to use function calling in Mistral-Instruct-7B, You should refer to langchain Agent prompt implementations such as ReAct Agent. And I've used it this way before with the same model, and it doesn't work very well.

@AlbelTec Currently only GPT and a few online LLMS support function calling api, If you want to use function calling in Mistral-Instruct-7B, You should refer to langchain Agent prompt implementations such as ReAct Agent. And I've used it this way before with the same model, and it doesn't work very well.

@rainfd Thanks for your feedback. it's clear for me now.

I have seen a few work arounds where the function itself is appended to the prompt.
litellm seems to do that.

@peterz3g here's how you can do function calling for non openai llms: https://docs.litellm.ai/docs/completion/function_call#function-calling-for-non-openai-llms
We add the function call to the prompt when you set litellm.add_function_to_prompt = True
did this not work for you?

model-> meta/llama3-70b-instruct is it supports function mapping?

llm_config_content_assistant = {
"functions": [
{
"name": "research",
"description": "research about a given topic, return the research material including reference links",
"parameters": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "The topic to be researched about",
}
},
"required": ["query"],
},
},
{
"name": "write_content",
"description": "Write content based on the given research material & topic",
"parameters": {
"type": "object",
"properties": {
"research_material": {
"type": "string",
"description": "research material of a given topic, including reference links when available",
},
"topic": {
"type": "string",
"description": "The topic of the content",
}
},
"required": ["research_material", "topic"],
},
},
],
"config_list": config_list}
writing_assistant = autogen.AssistantAgent(
name="writing_assistant",
system_message="You are a writing assistant, you can use research function to collect latest information about a given topic, and then use write_content function to write a very well written content; Reply TERMINATE when your task is done",
llm_config=llm_config_content_assistant,
)
user_proxy = autogen.UserProxyAgent(
name="User_proxy",
human_input_mode="TERMINATE",
code_execution_config=False,
function_map={
"write_content": write_content,
"research": research,
}
)
list= ["Machine learning", "health"]
user_proxy.initiate_chat(
writing_assistant, message=f"write a blog about keywords mentioned in the list {list}")
i also ran to same problem it's not calling the research function


Support frames

This is a useful project, but it lacks one crucial thing for my use cases, frame.
Capybara::NotSupportedByDriverError Exception: Capybara::Driver::Base#switch_to_frame

@ediogodias thanks for letting me know! It's not a fully implemented driver yet, so I appreciate hearing other people's use cases. I'll look into adding frame support 👍


Dimensional external variables

Most user-facing aspects of pybamm now deal with dimensional quantities (e.g. parameters, t_eval), so it would be good to make it so you can pass dimensional variables to the external_variables dict when solving. This requires a little bit of converting as it is the dimensionless variables that appear in the state vector, but should be doable

How do you suggest automating this?

I can only think of a very hacky implementation where you look for the string name with/without [dimensions] then get the scales by evaluating the both the dimensional and dimensionless variables at two arbitrary states, then you can solve for the multiplicative and additive scales in the non-dimensionalisation. This really isn't very nice though. One option would be to store details of the non-dim on the variable object (or somwhere else) so that we can have a method that converts between dim/non-dim

It would be handy for the non-dimensionalisation to be more visible to the user. Could you use the units in the variable name to do the non-dim automatically - I don't know if the actual values you pick for certain variables matter that much if they have the same units e.g. pos and neg particle conc. can you use one reference conc. for both?

There are things like pos and neg potentials are defined with respect to some reference which is different for pos and neg. I think there are quite a few examples where units alone isn't enough to give you the non-dim we used. I think ideally we would store the scale or a method on the  non-dim variables that converts to dimensional for you

Yeah but did you choose different values for a good "enough" reason numerically. I could see that if the potential gradients varied differently by more than a few orders of magnitude you would non-dim differently but might simplify things not to. I'm thinking if the typical length, typical temperature, typical voltage etc were more accessible i.e. all in the parameters then it would make things more transparent and if you could automate the non-dimensionalisation more you could reduce the code complexity and also the amount of data being stored. Storing the method on the variable is a good idea. Maybe it could use the defaults but have the ability to override certain values

I guess with the concentrations for example you would pick the max conc for each particle and then the non dim would represent the soc in a way that is sort of meaningful which you would lose

Yeah I think we should store the scales. It makes sense to scale things differently even if they have the same units. For example, we scale potentials multiplicatively by the thermal voltage, but the negative potential is close to 0V and the positive potential close to some other value (e.g. 3V, depends on chemistry) so it makes sense to measure them with respect to a different reference value.
Storing the scales used by the non-dim vars makes sense and as you say we could then automate conversion between dim and non-dim and reduced the size of the variables dict. Having said that, it is useful to be able to search it and see what variables are available as some quantities are stored in a range of different units e.g.
'Electrolyte concentration',
'Electrolyte concentration [mol.m-3]',
'Electrolyte concentration [Molar]',

Not sure if relevant after so much time, but I have used Pint in the past and it seems to work pretty well to handle magnitudes with units (once you get used to it). Internally probably is of no use, but for the user-facing part, might be handy.


I broke everything :P

When I was re-organizing a couple parts of the project, I took a few shortcuts that should probably be fixed before the next release. Mostly just issues with stuff being copied and pasted without paying attention. There are a couple random UI things (like menu buttons that don't open menus) that might need some work, but this should be a mostly easy fix. It just takes a while to find everything.

Luckily the well implemented Unit- & UI-Tests adviced you that there's something broken

@PDDStudio what's a unit test? (kidding)

@TheAndroidMaster I don't know lol.. You're the developer, not me /s

@PDDStudio if you want to add some (please add some) go ahead! I probably won't get around to it (I don't know how to do it) for a while (I don't feel like learning how) because I have to study for school (because I want to watch Netflix).

@TheAndroidMaster well, it depends on how the app is actually splitted in terms of modularity. If it's not ready-for-testing this might be a bunch of refactoring work lol
Maybe adding some UI-Tests might be easier though


[CocoaPods] Create a CSSLayout subspec that preserves the header directories

RN imports CSSLayout files like so: #import <CSSLayout/CSSLayout.h>, so we need to tell CocoaPods to preserve the directory structure for CSSLayout files. This is done with the header_mappings_dir, but we want it to apply just to CSSLayout's files, hence the subspec.
Test Plan: pod install works

By analyzing the blame information on this pull request, we identified @alloy and @oblador to be potential reviewers.

Fixes #9015
cc @alloy maybe you know of another trick to set up CocoaPods so this compiles https://github.com/facebook/react-native/blob/master/React/Modules/RCTUIManager.m#L14

Aside from making CSSLayout available as its own pod (and thus clang module), I don’t. This works, right?

@alloy Yep, this works, I was just wondering if there was another preferred way. Thanks for taking a look!

👍

@facebook-github-bot shipit

Thanks for importing. If you are an FB employee go to Phabricator to review internal test results.


Status column sort issue

Hi when i want to sort by status, get an error:
Column not found: 1054 Unknown column 'status' in 'order clause'
Query:
SELECT
  *
FROM
  `job_manager`
ORDER BY
  `status` ASC
limit
  10 OFFSET 0

Can you manage this?
Thanks!
Z

Thanks for contributing!
Your issue with sorting jobs requires more steps than obvious in the first sight and introduces a breaking change (db-tables, migration and model). So the only thing I can do now is to remove sortable from the Status column.
We will discuss the needed changes and creation of Moox Jobs V3 in the next couple of days and bring back the sortable feature with some other improvements.


Add spellchecking to the docs

Description
Add mkdocs-spellcheck and clean up any current spellchecking errors.
Spellcheck correctness is also now enforced via GitHub CI
Checklist:
Please update this checklist as you complete each item:

[x] Tests have been included for all bug fixes or added functionality.
[x] The changelog.rst has been updated with any significant changes, if necessary.
[x] GitHub Issues which may be closed by this PR have been linked.

Can I merge this one?


feat: 4842 - E2E tests for cell tooltip

Reason for Change

#10

Changes

add
New e2e tests

I had issue resolving the failed checks


Cannot update to .73 Win8.1

Here's the output from the update:

<EMAIL_ADDRESS>install C:\Users\Josh\AppData\Local\Temp\apm-install-dir-115211-19436-5039m4\node_modules\file-icon-supplement\node_modules\pathwatcher\node_modules\runas
node-gyp rebuild

C:\Users\Josh\AppData\Local\Temp\apm-install-dir-115211-19436-5039m4\node_modules\file-icon-supplement\node_modules\pathwatcher\node_modules\runas>node "C:\Users\Josh\AppData\Local\atom\app-0.187.0\resources\app\apm\node_modules\npm\bin\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild
gypnpm ERR! Windows_NT 6.2.9200
npm ERR! argv "C:\Users\Josh\AppData\Local\atom\app-0.187.0\resources\app\apm\bin\\node.exe" "C:\Users\Josh\AppData\Local\atom\app-0.187.0\resources\app\apm\node_modules\npm\bin\npm-cli.js" "--globalconfig" "C:\Users\Josh\.atom\.apm\.apmrc" "--userconfig" "C:\Users\Josh\.atom\.apmrc" "install" "C:\Users\Josh\AppData\Local\Temp\d-115211-19436-1yro0je\package.tgz" "--target=0.21.0" "--arch=ia32"
npm ERR! node v0.10.35
npm ERR! npm  v2.5.1
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the runas package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls runas
npm ERR! There is likely additional logging output above.

Confirmed in a virtual machine. The problem is specifically with the runas module. It is a dependency of pathwatcher and runs node-gyp as a part of its build. node-gyp has some requirements that are not on a standard windows installation. I added pathwatcher recently because it's being used by recent versions of https://github.com/atom/tree-view/commit/dadca08c03c0492c3f4f36fc414280eca74288e2 and previous methods I was using in this module are deprecated.
Can you check if your machine has Python 2.7 and Visual Studio Express installed. Also, attempt to install runas by itself. npm install runas

First, thanks for taking a look. I'm really new to development in general.  I can't seem to get node-gyp to install properly. I will spend some time researching the errors I'm getting in my node install and see if I can get that working.
I won't ask you to troubleshoot errors further up the dependency chain.

Ideally, i'd like to limit the dependencies to use this extension. Especially when it looks like you aren't the only one looking at the issue trackers for those modules.
Closing until another solution presents itself.

I'm going to reopen this issue.  It looks like other plugins (like git-plus) have switched to fs-plus as an alternative to pathwatcher.
https://github.com/akonwi/git-plus/issues/2
https://github.com/akonwi/git-plus/commit/ecf0860417f2dede5304ac3c371098421e63b598

I don't know enough about what you're doing but this plugin now seems to be updating properly. I'm currently on version 0.7.5 so whatever changes you've made seem to have worked for me.

:+1: The new Directory API worked well


JS Decimal bug is causing Radar calculations to be wrong

This is a nasty bug that happened when moving the radar calculations from the Angular layer into the Node layer
see https://github.com/DinisCruz/Book_Software_Quality/issues/90 for all the details

This has been addressed with this code fix:
  mapData: (result)->

    calculate = (activity, prefix)->
      initial_Value = 0.2
      yes_Value     = 0.4
      score         = initial_Value
      for key,value of result.activities[activity] when key.contains(prefix)
        if value is 'Yes'
          score = (score + yes_Value).to_Decimal()


Finalize the Indicators functions in the R-package format)

Work on that during the 2024 WGBIOPTIM meeting


Request: if changed language is bidi then read bidi CSS

When i change the language to Hebrew (or other bidi language like arabic) then the CSS will read the general.rtl.css (insread of general.css)  if exists

https://www.boonex.com/forums/topic/change-css-file.htm


[Tests][Bug] There are multiple memory leaks that cause Pulsar CI to fail with OOME

Search before asking

[X] I searched in the issues and found nothing similar.

Read release policy

[X] I understand that unsupported versions don't get bug fixes. I will attempt to reproduce the issue on a supported version of Pulsar client and Pulsar broker.

Version
master
Minimal reproduce step
Run Pulsar CI master branch build manually.
Usually Unit test group 1 and client impl tests fail. Example https://github.com/apache/pulsar/actions/runs/8835483969/attempts/1
What did you expect to see?
Tests should have memory leaks
What did you see instead?
There are major memory leaks in test execution.
Anything else?
No response
Are you willing to submit a PR?

[ ] I'm willing to submit a PR!

Looks like #22496 is causing problems. I see org.apache.pulsar.broker.service.ReplicatorGlobalNSTest causing memory issues.

Current assumption of the source of the problems: https://github.com/apache/pulsar/pull/21948#issuecomment-2078264388


Icons not supported for iOS

Describe the bug
The documentation mentions the support for icons:
https://capacitor-community.github.io/google-maps/#/api?id=markericon
However there is no implementation for supporting icons on iOS

i have same issue for android, checking the documentation i see marker supports icon but in the package icon wasnt provided in the marker preferences

It is implemented actually, as can be seen in the code:
https://github.com/capacitor-community/google-maps/blob/0381342bb4477192802ae0a1ff292126cf170663/ios/Plugin/Plugin.swift#L234
Are you sure you are not using @capacitor/google-maps? You are now in the @capacitor-community/google-maps repository.
If you still have problems, please provide a minimal reproduction, so we are able to help you out

yes sure @capacitor-community/google-maps
in the android package, icon wasnt provided, both in the markerOption interface and also looking into the com.hemangkumar.capacitorgooglemaps package, setting icon wasn't available in android

Both addMarker and addMarkers have a preferences:
https://github.com/capacitor-community/google-maps/blob/0381342bb4477192802ae0a1ff292126cf170663/src/interfaces/methods/AddMarkers.ts#L39
https://github.com/capacitor-community/google-maps/blob/0381342bb4477192802ae0a1ff292126cf170663/src/interfaces/methods/AddMarker.ts#L15
Which in turn has icon available.
https://github.com/capacitor-community/google-maps/blob/0381342bb4477192802ae0a1ff292126cf170663/src/interfaces/models/GoogleMap/Marker/MarkerPreferences.ts#L69
Without a minimal reproduction I won't be able to help you any further. I'm sorry.

hello thanks for your support so far,
i could see where the issue comes from
i installed it through npm but npm seem to have unupdated code
check here to see  link

This plugin is officially still in beta. You should install the latest beta by adding @beta to your yarn or npm install script. So for example: npm i @capacitor-community/google-maps@beta. Otherwise it will install the version with latest tag, which is not the latest beta

ooh ok, thanks a lot for your support, i appreciate

hello @tafelnl ,  i cant seem to  find way to add custom style to marker info window
Please help looking into this


Add model compile information to stdout and csv

Submisison Checklist

[x] Run tests: ./runCmdStanTests.py src/test
[x] Declare copyright holder and open-source license: see below

Summary:
Addresses a part of #887
Add models compile information (stanc version and flags used) to the stdout and CSV.
Example:
data
  file = examples/bernoulli/bernoulli.data.json
init = 2 (Default)
random
  seed = 21139381 (Default)
output
  file = output.csv (Default)
  diagnostic_file =  (Default)
  refresh = 100 (Default)
stanc_version = stanc3 66c38187 (Unix)
stancflags = --warn-pedantic

# init = 2 (Default)
# random
#   seed = 21139381 (Default)
# output
#   file = output.csv (Default)
#   diagnostic_file =  (Default)
#   refresh = 100 (Default)
# stanc_version = stanc3 66c38187 (Unix)
# stancflags = --warn-pedantic

This should be included to make reproducing easier, especially with stanc optimization flag now available.
The tests will fail until https://github.com/stan-dev/stanc3/pull/598 and https://github.com/stan-dev/stan/pull/2932 are merged
Copyright and Licensing
Please list the copyright holder for the work you are submitting (this will be you or your assignee, such as a university or company):
Rok Češnovar, Univ. of Ljubljana
By submitting this pull request, the copyright holder is agreeing to license the submitted work under the following licenses:

Code: BSD 3-clause (https://opensource.org/licenses/BSD-3-Clause)
Documentation: CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

for version
bin/stanc --version
stanc3 8b086da (Unix)

these are the compiler options:
  --debug-lex                      For debugging purposes: print the lexer actions
  --debug-parse                    For debugging purposes: print the parser actions
  --debug-ast                      For debugging purposes: print the undecorated AST, before semantic checking
  --debug-decorated-ast            For debugging purposes: print the decorated AST, after semantic checking
  --debug-generate-data            For debugging purposes: generate a mock dataset to run the model on
  --debug-mir                      For debugging purposes: print the MIR as an S-expression.
  --debug-mir-pretty               For debugging purposes: pretty-print the MIR.
  --debug-optimized-mir            For debugging purposes: print the MIR after it's been optimized. Only has an effect when optimizations are turned on.
  --debug-optimized-mir-pretty     For debugging purposes: pretty print the MIR after it's been optimized. Only has an effect when optimizations are turned on.
  --debug-transformed-mir          For debugging purposes: print the MIR after the backend has transformed it.
  --debug-transformed-mir-pretty   For debugging purposes: pretty print the MIR after the backend has transformed it.
  --dump-stan-math-signatures Dump out the list of supported type signatures for Stan Math backend.
  --warn-uninitialized             Emit warnings about uninitialized variables to stderr. Currently an experimental feature.
  --warn-pedantic                  Emit warnings about common mistakes in Stan programs.
  --auto-format                    Pretty prints the program to the console
  --print-canonical                Prints the canonicalized program to the console
  --version                        Display stanc version number
  --name                           Take a string to set the model name (default = "$model_filename_model")
  --O Allow                        the compiler to apply all optimizations to the Stan code.
  --o                              Take the path to an output file for generated C++ code (default = "$name.hpp")
  --print-cpp                      If set, output the generated C++ Stan model class to stdout.
  --allow_undefined                Do not fail if a function is declared but not defined
  --include_paths                  Takes a comma-separated list of directories that may contain a file in an #include directive (default = "")
  --use-opencl                     If set, try to use matrix_cl signatures.

not sure that all of these options will result in there being an output csv file - for the ones that make sense, we need to make sure that this doesn't break any CSV header parsing that exists.

is this ready for review?
or does this have to wait on https://github.com/stan-dev/stan/pull/2932 ?

Waiting for that PR

Thanks! This has to wait for 2932 in Stan, so this will not go in this release.


[FSDE-2162] Fixed documentation defects of Chi 5.1.0

The CI pipeline run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-138/1/. :white_check_mark:

You can check this PRs instance in https://2b3711e5dc9915bb3f9458cbd9b6594a866c7a60-chi-pr.enterprise.ctl.io


Cache mvn dependancies for Travis-CI

Speeds up build times

Codecov Report

Merging #322 into RTW_6.2.0 will decrease coverage by 0.01%.
The diff coverage is n/a.

@@               Coverage Diff               @@
##             RTW_6.2.0     #322      +/-   ##
===============================================
- Coverage        37.17%   37.15%   -0.02%
+ Complexity        1670     1668       -2
===============================================
  Files              103      103
  Lines            23663    23663
  Branches          3918     3918
===============================================
- Hits              8796     8793       -3
- Misses           13278    13282       +4
+ Partials          1589     1588       -1

Flag
Coverage Δ
Complexity Δ

#JDBC41
36.92% <ø> (-0.12%)
1656 <ø> (-8)

#JDBC42
37.05% <ø> (+0.01%)
1662 <ø> (+2)
:arrow_up:

Impacted Files
Coverage Δ
Complexity Δ

src/main/java/microsoft/sql/DateTimeOffset.java
37.14% <0%> (-2.86%)
8% <0%> (-2%)

...rc/main/java/com/microsoft/sqlserver/jdbc/DDC.java
29.88% <0%> (-0.23%)
56% <0%> (ø)

...rc/main/java/com/microsoft/sqlserver/jdbc/dtv.java
36.79% <0%> (-0.21%)
0% <0%> (ø)

...oft/sqlserver/jdbc/SQLServerPreparedStatement.java
33.45% <0%> (-0.18%)
89% <0%> (-1%)

...in/java/com/microsoft/sqlserver/jdbc/IOBuffer.java
45.95% <0%> (+0.06%)
0% <0%> (ø)
:arrow_down:

...om/microsoft/sqlserver/jdbc/SQLServerBulkCopy.java
49% <0%> (+0.21%)
211% <0%> (+1%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d8f677e...51339f4. Read the comment docs.


use any functions or calculate in excel?

I want to calculate or use any functions.
Please example for me.

In import excel, this fuction =DIA.LAB.INTL(FIN.MES(FECHA(C4;C3;1);-1);1) can't be resolve, throw

PHPExcel_Calculation_Exception in Cell.php line 293: Sheet1!D7 -> Formula Error: Unexpected ,

Any suggestions?

Hi,
do you no, why the number 0 appear to be empty in my excel cell please ?
When I convert 0 to string it appears well but in text format.

hi i have this error with th range
-impuestos!A1 -> 3D Range references are not yet supported
this my code
$sheet->setCellvalue('A1','=SUM(Egresos!D2:Egresos!D27)');

how to do that in the 3.0 version?
$sheet->setCellValue('B5','=SUM(B2:B4)');

How can I import Excel files and calculate their formulas? I only get the formula string by importing the array. But I want to get the calculation result

How can I import Excel files and calculate their formulas? I only get the formula string by importing the array. But I want to get the calculation result

You can use Maatwebsite\Excel\Concerns\WithCalculatedFormulas. See Import concerns.
Next time, please create a new ticket with the issue template filled. The issue template is required for us to be able to help you and is automatically available for you when opening a new issue, please do not remove the contents of the issue template.

need help..
excel table as follow...
id   voucher no.   amount
1         0011            100
2         0011             200
3         0012              150
now, i want to import into database table.....like this...
id     voucher no.     amount
1        0011                300
2        0012                150
on the basis of voucher no. the amount should be calculate.


Panoramax: Change attribution text style

URL
No response
How to reproduce the issue?
Ref #9941 minor remarks;
On Panoramax, the high resolution checkbox seems to be aligned slightly below center vertically.
Bing Streetside seems to have it correctly vertically aligned.
Note, the padding for the capture date overlaps the checkbox partially. This part can't be clicked. (see below)
The columns on Panoramax take up less space vertically, but more text is squeezed in horizontally. This is okay.

However, I would personally prefer the text order of KartaView, with 'Report' in bottom left
'Captured by' seems like redundant text (see other providers)

Chrome 127.0.6533.73 on Windows 10
Screenshot(s) or anything else?
Bing Streetside

Panoramax

Which deployed environments do you see the issue in?
Development version at ideditor.netlify.app
What version numbers does this issue effect?
2.30.0-dev
Which browsers are you seeing this problem on?
Chrome

For reference


Bug Report: scoreboardWorlds does not actually choose in what worlds will the scoreboard appear.

Describe the bug
The newly added feature to select in which worlds will the scoreboard appear, does not work.
To Reproduce
Make sure you have a server with 2 or more worlds.

Into the config file, type the name of only one world and save it.
Start the server and teleport to the world you typed in.
You see the scoreboard as expected.
Teleport to the other world and you see the scoreboard there too.

Expected behavior
Scoreboard only shows in selected worlds.
Additional context
Nothing more.
Screenshots

Versions (please complete the following information):

Plugin version: Latest
Server version: 1.19.3
Server software: Bukkit (PaperMC Latest)
Client version (game version): 1.19.2 (Using ViaVersion)

MORE INFO::
Here is my plugin list if that helps.

Okay, I think I found the issue. I suppose you forgot to remove the example worlds in the SkywarsScoreboard.java file.

I do not code in java so I don't know how to patch that..

My guess would be that it is not formatted properly? I am about to test it.

Happy new year by the way

Hello and happy new year, I have no tested this. The string you pointed out is the line in the scoreboard.yml, that's the name of the scoreboard. I am going to test and fix this later. Thank you very much for the time!

Fixed in 4e665c150dd41770e376d6820c21bef558259ac7, the problem was that the code was referencing the wrong configuration file, thus not being able to get the correct list of worlds.

Thanks so much.


how to have children with multiple parents?

How would one go about setting up a the association to model a human (or any organic) family tree, where each node has two parents? Is this possible with closure_tree?
I have a Human class and in my initial setup (with a simple self join) I had:
class Human < ApplicationRecord
  belongs_to :father, class_name: "Human", optional: true
  belongs_to :mother, class_name: "Human", optional: true

  has_many :fathered_offspring, class_name: "Human", foreign_key: :father_id
  has_many :mothered_offspring, class_name: "Human", foreign_key: :mother_id

  def offspring
    self.mothered_offspring.or(self.fathered_offspring)
  end
end

This works, in that a human can have human.mother and human.father and both mother and father can call .offspring
But obv this setup will become horribly inefficient when trying to draw large family trees, so I'm looking to see if closure_tree could help.
If I add to my existing Human model
has_closure_tree parent_column_name: :father_id

Then closure_tree works for the paternal line. But how would I set about adding a maternal line?
I optimistically tried adding has_closure_tree parent_column_name: :mother_id after the first has_closure_tree but that (not surprisingly) didn't work.
Is having multiple parents possible with closure_tree? If not, is there a standard, conventional way to approach this sort of problem?

I had a need for multiple parents too. I saw issue #22 which mentions this is currently not supported by closure tree.
I ended up bypassing closure tree entirely for this. Here's [a gist of my solution for multiple parents].

@ryanb ! Thanks for railscasts! I listened to those ages ago: great work.


[Backport 24.05] GNOME updates 2024-06-25

Description of changes
Partial backport of #322324, with network manager 1.46.2 bump instead of 1.48.2.
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

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

But perhaps it is fine – NM notes say that updated nm-openvpn is needed and it's unclear whether that's for the fix or the feature.
Other changes look okay.


Unexpected value 'Property' of type 'Microsoft.Dynamics.Nav.CodeAnalysis.SymbolKind'

AL Extension Version: 0.12.17091
Server Version: W1 11.0 (22292)

I just finished converting a big verticalization to extension 2.0 on a world wide environment, passing from 2000 errors to 0 errors. Just 35 warnings remain (all about the Product Group table marked for removal).
Unfortunately, the creation of the extension fails with the following low level error, that doesn't give enough information about the reason.
Could you please provide at least a clue on the cause of this error? Thanks.

Processing of message 'al/createPackage' failed with error: 'Unexpected value 'Property' of type 'Microsoft.Dynamics.Nav.CodeAnalysis.SymbolKind''
StackTrace:
   at Microsoft.Dynamics.Nav.CodeAnalysis.Binder.BindNonMethod(NameSyntax node, Symbol symbol, Boolean isError, BoundExpression receiver) in C:\a\36\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Binder\Binder_Expressions.cs:line 1349
   at Microsoft.Dynamics.Nav.CodeAnalysis.Binder.BindIdentifier(IdentifierNameSyntax node, Boolean invoked, DiagnosticBag diagnostics) in C:\a\36\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Binder\Binder_Expressions.cs:line 1010
   at Microsoft.Dynamics.Nav.CodeAnalysis.Binder.BindArgumentAndName(AnalyzedArguments result, Boolean hadError, ExpressionSyntax argumentExpression) in C:\a\36\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Binder\Binder_Expressions.cs:line 1144
   at Microsoft.Dynamics.Nav.CodeAnalysis.Binder.BindArgumentsAndNames(SeparatedSyntaxList`1 arguments, AnalyzedArguments result) in C:\a\36\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Binder\Binder_Expressions.cs:line 1124
   at Microsoft.Dynamics.Nav.CodeAnalysis.Binder.BindInvocationExpression(InvocationExpressionSyntax node, DiagnosticBag diagnostics, Boolean isStatement) in C:\a\36\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Binder\Binder_Invocation.cs:line 31
   at Microsoft.Dynamics.Nav.CodeAnalysis.Binder.BindExpressionStatement(SyntaxNode node, ExpressionSyntax syntax, Boolean allowsAnyExpression, DiagnosticBag diagnostics) in C:\a\36\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Binder\Binder_Statements.cs:line 517
   at Microsoft.Dynamics.Nav.CodeAnalysis.Binder.BindStatement(StatementSyntax node, DiagnosticBag diagnostics) in C:\a\36\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Binder\Binder_Statements.cs:line 83
   at Microsoft.Dynamics.Nav.CodeAnalysis.Binder.BindStatements(SyntaxList`1 syntaxStatements, DiagnosticBag diagnostics, Binder binder) in C:\a\36\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Binder\Binder_Statements.cs:line 53
   at Microsoft.Dynamics.Nav.CodeAnalysis.Binder.BindBlock(BlockSyntax node, DiagnosticBag diagnostics, Binder blockBinder) in C:\a\36\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Binder\Binder_Statements.cs:line 33
   at Microsoft.Dynamics.Nav.CodeAnalysis.Binder.BindStatement(StatementSyntax node, DiagnosticBag diagnostics) in C:\a\36\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Binder\Binder_Statements.cs:line 80
   at Microsoft.Dynamics.Nav.CodeAnalysis.Binder.BindIfStatement(IfStatementSyntax node, DiagnosticBag diagnostics) in C:\a\36\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Binder\Binder_Statements.cs:line 542
   at Microsoft.Dynamics.Nav.CodeAnalysis.Binder.BindStatement(StatementSyntax node, DiagnosticBag diagnostics) in C:\a\36\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Binder\Binder_Statements.cs:line 92
   at Microsoft.Dynamics.Nav.CodeAnalysis.Binder.BindStatements(SyntaxList`1 syntaxStatements, DiagnosticBag diagnostics, Binder binder) in C:\a\36\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Binder\Binder_Statements.cs:line 53
   at Microsoft.Dynamics.Nav.CodeAnalysis.Binder.BindBlock(BlockSyntax node, DiagnosticBag diagnostics, Binder blockBinder) in C:\a\36\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Binder\Binder_Statements.cs:line 33
   at Microsoft.Dynamics.Nav.CodeAnalysis.MethodCompiler.BindMethodBody(MethodSymbol method, DiagnosticBag diagnostics) in C:\a\36\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Compiler\MethodCompiler.cs:line 463
   at Microsoft.Dynamics.Nav.CodeAnalysis.MethodCompiler.CompileMethod(MethodSymbol methodSymbol) in C:\a\36\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Compiler\MethodCompiler.cs:line 385
   at Microsoft.Dynamics.Nav.CodeAnalysis.MethodCompiler.CompileMembers(ContainerSymbol containingType) in C:\a\36\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Compiler\MethodCompiler.cs:line 309
   at Microsoft.Dynamics.Nav.CodeAnalysis.MethodCompiler.CompileObject(ObjectTypeSymbol containingType) in C:\a\36\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Compiler\MethodCompiler.cs:line 235
   at Microsoft.Dynamics.Nav.CodeAnalysis.MethodCompiler.<>c__DisplayClass17_0.<CompileObjectAsTask>b__0() in C:\a\36\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Compiler\MethodCompiler.cs:line 216
   at Microsoft.Dynamics.Nav.CodeAnalysis.Utilities.UICultureUtilities.<>c__DisplayClass5_0.<WithCurrentUICulture>b__0() in C:\a\36\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Utilities\UICultureUtilities.cs:line 152
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Dynamics.Nav.CodeAnalysis.MethodCompiler.WaitForWorkers() in C:\a\36\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Compiler\MethodCompiler.cs:line 161
   at Microsoft.Dynamics.Nav.CodeAnalysis.MethodCompiler.CompileMethodBodies(Compilation compilation, ModuleBuilder moduleBeingBuiltOpt, Boolean hasDeclarationErrors, DiagnosticBag diagnostics, Predicate`1 filterOpt, CancellationToken cancellationToken) in C:\a\36\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Compiler\MethodCompiler.cs:line 145
   at Microsoft.Dynamics.Nav.CodeAnalysis.Compilation.CompileImpl(ModuleBuilder moduleBuilder, Boolean emittingPdb, DiagnosticBag diagnostics, Predicate`1 filterOpt, CancellationToken cancellationToken) in C:\a\36\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Compilation\Compilation.cs:line 810
   at Microsoft.Dynamics.Nav.CodeAnalysis.Compilation.Compile(ModuleBuilder moduleBuilder, Boolean emittingPdb, DiagnosticBag diagnostics, Predicate`1 filterOpt, CancellationToken cancellationToken) in C:\a\36\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Compilation\Compilation.cs:line 787
   at Microsoft.Dynamics.Nav.CodeAnalysis.CommandLine.CommonCompiler.PackageTheModule(Compilation compilation, CompilerTextWriter consoleOutput, CancellationToken cancellationToken, ErrorLogger errorLogger, AnalyzerDriver analyzerDriver) in C:\a\36\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\CommandLine\CommonCompiler.cs:line 531
   at Microsoft.Dynamics.Nav.CodeAnalysis.CommandLine.CommonCompiler.RunCore(CompilerTextWriter consoleOutput, ErrorLogger errorLogger, CancellationToken cancellationToken) in C:\a\36\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\CommandLine\CommonCompiler.cs:line 413
   at Microsoft.Dynamics.Nav.CodeAnalysis.CommandLine.CommonCompiler.Run(CompilerTextWriter consoleOutput, CancellationToken cancellationToken) in C:\a\36\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\CommandLine\CommonCompiler.cs:line 312
   at Microsoft.Dynamics.Nav.EditorServices.Protocol.LanguageServer.Extensions.CreatePackageRequestHandler.<HandleAsync>d__3.MoveNext() in C:\a\36\s\source\Prod\Microsoft.Dynamics.Nav.EditorServices.Protocol\LanguageServer\Extensions\CreatePackageRequestHandler.cs:line 32
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Dynamics.Nav.EditorServices.Protocol.RequestRegistry.<Process>d__6.MoveNext() in C:\a\36\s\source\Prod\Microsoft.Dynamics.Nav.EditorServices.Protocol\Endpoints\RequestRegistry.cs:line 59

Hi @Symonz,
Simply by looking at the stack trace It seems like you have a procedure with an if statement and in that there is a procedure invocation where it finds a property for one of the arguments to it.
I hope that helps.

Hi Thomas,
Thank you very much for your hint. We have approximately 16.700 "if" statements, so it would be appreciated that the error would report the file and file line (or at least the code statement) that provokes the exception.
By the way, we are trying to find the problematic if statement(s) that raise the above error. Could you please be more precise on the last part of your answer (

where it finds a property for one of the arguments to it

)?
An example of such a statement would be of help.
Thank you in advance.
Simon

It is kinda hard to follow the stack trace and know for sure what how the data looks like.
But I guess you might have a variable named the same as a property.
Could you try getting the latest extension from the marketplace and check if it reproduces there.
Thanks.

Hi Thomas,
I've installed the latest version of the extension, but the error still remains. I'm trying searching the code for all possibly problematic if statements via regular expressions. Anyway, I cannot get rid of that error, considering the relevant number of if statements (about 16.000).
I've tried to simulate that error in order to be sure of the scenario that I need to search. It seems that the problem raises not just when a variable with the same name of a property is used in an if statement, but when that variable is not even defined.
The syntax checker doesn't show any error, but the compiler raises the error I posted.
I think the syntax checker must show this kind of error at the beginning, or the following error should show at least the object that provokes it.
To refine my search, is it possible to get a list of AL Object properties?
Do you think to release a patch that show this kind of error in the VS Editor, before the actual compilation?
Thanks in advance.
Simon

Hi @Symonz,
If you are able to write a small example that reproduces the problem, then could you please share that so we can get the problem fixed, and have the compiler simply give an error on the at the location of the problem instead of crashing.
We are discussion internally how we can improve on these kind of situations where you want to know more about what the compiler does in order to pinpoint the source of the problem, but we don't have any specific feature in the pipeline unfortunately.
Thanks.

Might be related to #3926

Closing due to inactivity and since the original reported issue is on NAV 2018 and not the latest Dev Preview of Business Central.


Dynamic port count

Hi @paceholder,
I tried to address the issue mentioned under the original PR (#209), taking in account the last fix from #268, and adding a fix to the issue I noted in my commit message.

Implemented in v3. There is an example and some documentation on the topic.
Thanks for your contribution


IC2 missing - stacktrace output to log

http://pastie.org/private/tywujecyoi0c3zxxxonryw
This is output on game load when IC2 is not installed.
It would be nicer if you could just check whether IC2 is loaded (by utilizing a FML call) and output a nice INFO call that the IC2 plugin will be disabled.

We already have such code - see here and here (BTW, as you can probably see, it's OpenPeripheral-Integration problem, not OpenPeripheral-Core).
But this problem is caused by other mods (confirmed at least Railcraft, see CovertJaguar/Railcraft#579) that not only contain API inside (bad) but also partial one (terrible) - this causes API to be registered by FML (and visible to OpenPeripheral-Integration), but broken, since classes are missing.
tl;dr; We already did you proposed, but other mods break it.


chest visible in front of portal in other dimension

check 0.7 version and see whether this fixed


GetThumbnailsAsync and GetThumbnailAsync returns different results

GetThumbnailsAsync returns different thumbnails then method with single TimeSpan as input parameter (GetThumbnailAsync). It should not. Frames from GetThumbnailsAsync are "smoother", some of them are same and they should not be. It is similar issue as https://github.com/MicrosoftDocs/winrt-api/issues/309 .
I have created test project that proves inconsistency between these thumbnail getting methods. It is simple UWP app with method that compares bytes from streams returned by GetThumbnails method..
Why is it issue for me? GetThumbnailsAsync returns wrong results and GetThumbnailAsync is slow in loop.

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

ID: a9bf69aa-9f83-5806-4572-79bd12549822
Version Independent ID: 14fce80a-7ef0-2955-f196-36ff7e2b019b
Content: MediaComposition.GetThumbnailsAsync(IIterable<TimeSpan>, Int32, Int32, VideoFramePrecision) Method (Windows.Media.Editing) - Windows UWP applications
Content Source: https://cpubwin.visualstudio.com/DefaultCollection/windows-uwp/_git/winrt-api-build?path=%2fwinrt-api-build%2fwindows.media.editing.mediacomposition.yml&version=GBlive&_a=contents
Product: uwp
Technology: winrt-reference
Git Login: drewbatgit
Microsoft Alias: drewbat

Hello, GitHub issues in this repository are for feedback specifically about the documentation. It seems like your issue is a developer support request. Here are all of the developer support resources:

The Feedback Hub app is the right place to lobby for a change, a feature, or to make a suggestion.
For community assistance with development questions, there are our forums, and StackOverflow.
The Windows developer support site explains other support options.
The Visual Studio developer community is available, and responsive. The former User Voice feature is now there on the Suggest a feature tab, if you want to lobby for a change, a feature, or to make a suggestion.
For developer issues, or suspected product bugs, there's Microsoft Support; a support engineer will look at the repro and see whether the issue is a Microsoft product bug, or something else. If it's a bug with a Microsoft product then the ticket will be free of charge.

If you receive assistance via any support resource, and you believe that information would help us improve the documentation, then please come back and let us know.


[VC] Make UID in reconcile request optional

In Syncer, the UID has to be put in the reconcile request to make the objects in super cluster and tenant control plane consistent. But in scheduler, adding UID in reconcile request may lead to parallel scheduling for Pods with the same name but different UIDs (think of a case where a Pod is created/deleted/created).
In this change, the scheduler reconcile request will exclude the Pod UID.

/lgtm
/approve


Constant refresh caused by setTimeout() and addEventListener()

First of all thank you @manfredsteyer  for the great library which makes my life a lot easier!
I work on an Angular application and I recently came across the use of zone.js in Angular which is used to trigger view refresh on every event which could cause the UI to change. So, I started to investigate when our views are actually getting refreshed and I realised that angular-oauth2-oidc is causing it to refresh every 3000ms when it asks for the state of the session and than when it receives the response.
I tried to run the initialization code out of Angular like this:
zone.runOutsideAngular(() => {
    this.oauthService.configure(config);
    this.oauthService.tokenValidationHandler = new JwksValidationHandler();
});

zone.runOutsideAngular(() => {
    this.oauthService.loadDiscoveryDocument()
        .then(() => {
            this.zone.runOutsideAngular(() => {
                this.oauthService.tryLogin({
                    onTokenReceived: (info) => {
                        const state = info.state;
...

But setting silent refresh and session check happens in a different scope in asynchronous callbacks where zone.runOutsideAngular() doesn't seem to take effect.
I realised there are already parts of the code which run outside of Angular and I believe that as a library it should only cause a refresh when it emits new event (like session timeout, expired tokens etc.) but not when working internally. Am I right? Or is there a way to run it out of Angular completely?

This is a good point. Thanks for pointing this out. Do you care for a PR?

I created PR shortly after the issue. And it is merged now I see :-) Thanks a lot for the great work!

Is this far off from being included in a release?

I'm looking forward having this available on NPM as well.

PR got merged and a few releases got out since as well. Closing the issue, let us know if it should be reopened.


Possible option to view inputs and fix a bug

fixes #85
This approach uses listviewer pkg suggested by Dan.
It's just unwieldy to view a nested structure like JSON or an R list in a small window within a web page (e.g, if we tried to use the same window in the tracking tab where the current inputs table lives), so I went with a whole new page for viewing the inputs structure.
Run locally, and/or have a look at the below gif

Thoughts?
Alternatives:

just a download button to download the json
some other solution, there doesn't appear to be obvious alternatives to listviewer
when we move to proof 2 in JS land we'll have other options but that's down the road

also @sitapriyamoorthi  what do you think

@sckott loving the gif :) will test locally as well.
Here are my thoughts based on what I am seeing:

I think this solves the problem of the table making a fuss. Meaning a user can actually see their input JSON. So yeay!!!
However the question is .. does this address the users need. Based on @tefirman and @vortexing use cases looks like that they use it primarily when they are tracking jobs. Would it perhaps be more fitting to have it be a button in the track jobs page or maybe even troubleshoot page? Rather than a separate page as it appears currently.
The next thing is what do the users want to see? Do they want to see just a list of all their inputs or do they want to see inputs by task? Do they want to know the full paths? My gut says in an ideal world (and if and only if it isnt too complicated) as a user i would like to see my what inputs each of my task is using and what exact file (full path) is it using. So in situations where my workflows are failing on specified tasks I can check if the right inputs are being fed or not.
The viewer is essentially allowing you to see your input JSON. Perhaps this is also a good opportunity to parse the WDL as well so that the user can also view the WDL. And the troubleshooting could be facilitated on the app itself.

Scenario: Oops I have a failed workflow! Let me look at my JSON and my WDL right here on the app rather than having to go to my saved versions of them in some folder I may or may not remember 😸

Happy to chat more if needed.

Thanks @sitapriyamoorthi !

Can you clarify this - I don't understand, a button that does what? 👉🏽  "Would it perhaps be more fitting to have it be a button in the track jobs page or maybe even troubleshoot page?"
Okay. What kind of structure in the app would that entail? A table? Something else?
Good idea. Seems very doable. Let's see if others like that idea

I meant to say could we have a way to display the JSON or whatever format you decide for the inputs to be displayed within the track jobs page itself rather than a seperate tab?
I think a table or a list would either be find. just something that is more easy to parse through
Cheers

The only way I think would make sense to include in the track jobs page is if we used a card from bslib with the option to allow the user to go full screen (see https://rstudio.github.io/bslib/reference/card.html#arg-full-screen). But that is not an option unless we incorporate this issue https://github.com/FredHutch/shiny-cromwell/issues/49 Otherwise, we could just have a button to download the output IF we don't want a separate page for viewing the json
Okay, would need to see what this looks like. Maybe we can chat about this soon

@tefirman any thoughts on this?

First off, LOVE the json viewing functionality, I think that's exactly what users will need for this purpose, thanks for implementing that, @sckott !
Second, the separate tab nature of this tool actually produced a lightbulb for me while we were at ShinyConf:

The more I look at it, I think the "Track Jobs" tab has way too much going on. Philosophically, I like that every other tab is relatively minimal, i.e. I only have to scroll once (if that) to see all of the information on that tab.
To that end, I'm wondering if we can split the "Track Jobs" tab into two separate tabs. Specifically, can we move all job-specific tables (i.e. everything from "Workflow Specific Job Information" and below) onto that new tab and just call it "Job Details"?
With this change, "Track Jobs" would become more of a macroscopic view of your submissions and you can toggle back and forth to the "Job Details" tab to view specifics for each submission.

Please feel free to tell me this is insane, just wanted to at least throw it out there, felt like it might clean up the interface a bit...
To address @sitapriyamoorthi 's points:

2 & 3: As long as I can easily toggle back and forth between the tabs, I think this is exactly what I would want as a user in terms of a quick look up of the inputs/options/WDL. I don't need all of the info to be on that one "Track Jobs" table, I just need it to be easily and quickly accessible for each job. To Sita's point though, we could maybe make that toggling easier by adding a second button in the "Track Jobs" table that's analagous to the "Back to Track Jobs Tab" button but in reverse? Maybe "Get Job Details" or something? Maybe it could replace the "copyId" column?
4: Totally agree, if this viewer is easily transferable to apply to WDL scripts, I think that's a perfect addition.

Thanks for having a look @tefirman !
It'd be easy enough to move the workflow specific job information to a new page. But we should see what folks think. We should open a new issue for this though. (#123)
Sounds like people like the addition of viewing the WDL too. See new issue #122

we could maybe make that toggling easier by adding a second button in the "Track Jobs" table that's analagous to the "Back to Track Jobs Tab" button but in reverse? Maybe "Get Job Details" or something? Maybe it could replace the "copyId" column?

I'll see about adding that

#125 is now related to this PR ... kinda waiting on that PR before proceeding here

@sckott -- nevermind, just realized I can do that myself, I thought it could only be done by the author, my bad... hahaha.

@tefirman thx for switching it to dev

switching the default branch to dev in all PROOF-based repos so we avoid that moving forward

not a bad idea. I have seen that in other repos on GitHub. I don't know what the downsides are, if any. And we'd need to check if there's any consequences of the default branch being changed for the infra side @dtenenba

As mentioned in #125, let's merge both this into dev and we can iterate from there. Both tools do what we want them to do, we just need a bit of testing/refinement, which is much easier to do in dev. Might be cool to combine them into one tab, e.g. "Job Details", but again, we can iterate on this to figure out what works best.
Thanks @dtenenba and @sckott for your work on this!!

I can't think of any downsides. The CI/CD stuff is based explicitly on branch names, not on which branch is the default.

@tefirman so if you want to change default to dev I think it's all good


[SR-9129] move installed libraries to architecture subdirectory

Previous ID
SR-9129

Radar
None

Original Reporter
@compnerd

Type
Task

Additional Detail from JIRA

Votes
0

Component/s
Compiler, Project Infrastructure, Standard Library

Labels
Task, Android, Linux, StarterBug, build

Assignee
None

Priority
Medium

md5: 9e1d4d406e122aeeb675d43067a2fdc4

Issue Description:
The current installation of the libraries in usr/lib/swift/<os> does not work for non-MachO targets.  We need to move the libraries to usr/lib/swift/<os>/<arch> for ELF and PE/COFF targets.

@compnerd, I implemented this in #63782 and associated pulls, but this approach was rejected in favor of using triple-named module directories instead, so you can close this issue now.
My recently-opened #63645 tracks the overarching issue of doing something about these Swift runtime libraries.


Add a hook to customize highlights for the plugins (lualine etc)

Did you check the docs?

[X] I have read all the tokyonight.nvim docs

Is your feature request related to a problem? Please describe.
If a hook were available for the other plugins (eg lualine's theme called out to something like on_highight(), it would be possible to post patch colors for lower res terminals and also customize the specified colors for them.
Perhaps an on_plugin_highlights(plugin, highlights, color) type call signature.
I'd be happy to produce a PR for this - and it would allow me to do the things I want to do for low color terminals without complicating the core theme code, but would also be generally useful.
Describe the solution you'd like
A new config function on_plugin_highlights = fundtion(plugin, highlights, color) end to allow customization of the themes for lualine, tabline etc.
Describe alternatives you've considered
Modifying source of the plugin to provide the desired highlight customization.
Additional context
No response

This is already possible. Just transform all the color in the on_colors callback. All hl groups use those colors

It’s not possible because lualine etc do not use the theme transformer invoked by tokyonight.theme , only the tokyonight.colors If I transform the colors using on_color they won’t be in the correct slot in the returned highlights (eg they’ll be in fg/bg rather than ctermfg,ctermbg) and would be the wrong format (number vs “#rrggbb”). Ideally we would be able to intercept / modify the lualine theme’s highlight table not just the colors)On Mar 1, 2023, at 11:18 AM, Folke Lemaitre @.***> wrote:
Closed #319 as not planned.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

@georgeharker wouldn't it be better that you add a ColorScheme autocmd and then when termguicolors is not available, loop over all hl groups using the nvim API and adjust them to the nearest cterm ones.
You could even turn this into a nice plugin so it would work for any colorscheme that doesn't support cterm colors.


Minor notebook fix

Description
Fixed a small inconsistency: one of the markup cell was referring to the 'notebook' class, but we're now using unicycle/monocycle as running example.
Type of change
Please check all relevant options.

[x] Improvement (non-breaking) -- only markup cell was changed
[ ] Bug fix (non-breaking)
[ ] New feature (non-breaking)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

Codecov Report

Merging #705 into main will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #705   +/-   ##
=======================================
  Coverage   59.28%   59.28%
=======================================
  Files         155      155
  Lines       14089    14089
  Branches     2512     2512
=======================================
  Hits         8353     8353
  Misses       4945     4945
  Partials      791      791


If there are 2 or more trails then any group3 check will throw an INFO result: CW Group is not in the current account

When there are 2 or more traillists Prowler reports that the CloudWatch group is not in the current account

Would it be possible to inspect both trails? A side effect is that the additional trails will generate failures in the report for not having the CIS criteria, since only one is likely to contain the CIS criteria

If the above is not a good idea would it be possible to create a more accurate INFO message for the condition where 2 or more trails exist in the account being audited?

$ aws cloudtrail describe-trails  --profile default --region us-east-1
{
    "trailList": [
        {
            "Name": "primary_cloud_trail",
            "S3BucketName": "cxxxxxxxx",
            "IncludeGlobalServiceEvents": true,
            "IsMultiRegionTrail": true,
            "HomeRegion": "us-east-1",
            "TrailARN": "arn:aws:cloudtrail:us-east-1:xyzxyzxyz:trail/primary_cloud_trail",
            "LogFileValidationEnabled": true,
            "CloudWatchLogsLogGroupArn": "arn:aws:logs:us-east-1:xyzxyzxyz:log-group:CloudTrail/DefaultLogGroup:*",
            "CloudWatchLogsRoleArn": "arn:aws:iam::xyzxyzxyz:role/CloudTrail_CloudWatchLogs_Role",
            "KmsKeyId": "arn:aws:kms:us-east-1:xyzxyzxyz:key/12345",
            "HasCustomEventSelectors": false,
            "HasInsightSelectors": false,
            "IsOrganizationTrail": false
        },
        {
            "Name": "test_to_delete",
            "S3BucketName": "aws-cloudtrail-logs-xyzxyzxyz-730fd795",
            "IncludeGlobalServiceEvents": true,
            "IsMultiRegionTrail": true,
            "HomeRegion": "us-east-1",
            "TrailARN": "arn:aws:cloudtrail:us-east-1:xyzxyzxyz:trail/test_to_delete",
            "LogFileValidationEnabled": true,
            "CloudWatchLogsLogGroupArn": "arn:aws:logs:us-east-1:xyzxyzxyz:log-group:aws-cloudtrail-logs-xyzxyzxyz-ec588cb4:*",
            "CloudWatchLogsRoleArn": "arn:aws:iam::xyzxyzxyz:role/CloudTrail_CloudWatchLogs_Role",
            "KmsKeyId": "arn:aws:kms:us-east-1:xyzxyzxyz:key/12345",
            "HasCustomEventSelectors": false,
            "HasInsightSelectors": false,
            "IsOrganizationTrail": false
        }
    ]
}

$ ../prowler -p default -r us-east-1 -c check38 -b
This report is being generated using credentials below:
 AWS-CLI Profile: [default] AWS API Region: [us-east-1] AWS Filter Region: [all]
 AWS Account: [xyzxyzxyz] UserId: [abc123]
 Caller Identity ARN: [arn:aws:iam::xyzxyzxyz:user/audit]

 3.8  [check38] Ensure a log metric filter and alarm exist for S3 bucket policy changes (Scored)
       INFO! CloudWatch group CloudTrail/DefaultLogGroup is not in this account
       INFO! CloudWatch group aws-cloudtrail-logs-xyzxyzxyz-ec588cb4 is not in this account

--code in check3x
echo $CLOUDWATCH_LOGGROUP_ACCOUNT
xyzxyzxyz xyzxyzxyz

if [ "$CLOUDWATCH_LOGGROUP_ACCOUNT" == "$CURRENT_ACCOUNT_ID" ];then
xyzxyzxyz xyzxyzxyz  <> xyzxyzxyz

This is just a hack but it seems to work at inspecting 2 or more trails:
TN_GROUP=$($AWSCLI cloudtrail describe-trails $PROFILE_OPT --region "$REGION" --query  'trailList[?CloudWatchLogsLogGroupArn != `null`]' --no-include-shadow-trails | jq -r '.[].Name')
TRAIL_LIST=$(for TNAME in $TN_GROUP; do $AWSCLI cloudtrail describe-trails $PROFILE_OPT --region "$REGION" --trail-name $TNAME | jq -r '. |@base64' ; done)

CLOUDWATCH_LOGGROUP_NAME=$(echo $group_obj_raw | jq -r '.trailList | .[] | .CloudWatchLogsLogGroupArn|split(":")[6]' 2> /dev/null)
CLOUDWATCH_LOGGROUP_REGION=$(echo $group_obj_raw | jq -r '.trailList | .[] | .CloudWatchLogsLogGroupArn|split(":")[3]' 2> /dev/null)
CLOUDWATCH_LOGGROUP_ACCOUNT=$(echo $group_obj_raw | jq -r '.trailList | .[] | .CloudWatchLogsLogGroupArn|split(":")[4]' 2> /dev/null)

This one is fixed in #699

This one is fixed in #699


Only send HEV packets to devices that have that feature

Signed-off-by: Avi Miller<EMAIL_ADDRESS>

Sorry, got my branch and commits a bit too squashed. I'll submit a cleaner PR.