Documentation on number, locations, purpose, and names of profile scripts.

I have created all six (6) profile scripts for PowerShell 5 on Windows 10.
When I run PowerShell 6 on the same machine, it appears that none are used.
What are the profile scripts for PowerShell Core 6?
I have read that there was not full agreement on this issue between Window and Linux locations. Has this been resolved? If so, where can I find the result?

As for the locations:
The $PROFILE variable, even though it is a [string], contains all profile paths as note properties:
Use the following, platform-neutral command to list all profile paths:
>  $PROFILE | Get-Member -Type NoteProperty | % Name | % { "$_ = $($PROFILE.$_)" }

On a Windows 10 machine, for instance, this yields:
AllUsersAllHosts = C:\Program Files\PowerShell\6.0.0-alpha.18\profile.ps1
AllUsersCurrentHost = C:\Program Files\PowerShell\6.0.0-alpha.18\Microsoft.PowerShell_profile.ps1
CurrentUserAllHosts = C:\Users\jdoe\Documents\PowerShell\profile.ps1
CurrentUserCurrentHost = C:\Users\jdoe\Documents\PowerShell\Microsoft.PowerShell_profile.ps1

On a macOS machine, you'll get something like:
AllUsersAllHosts = /usr/local/microsoft/powershell/6.0.0-alpha.18/profile.ps1
AllUsersCurrentHost = /usr/local/microsoft/powershell/6.0.0-alpha.18/Microsoft.PowerShell_profile.ps1
CurrentUserAllHosts = /Users/jdoe/.config/powershell/profile.ps1
CurrentUserCurrentHost = /Users/jdoe/.config/powershell/Microsoft.PowerShell_profile.ps1

On a Linux machine, you'll get something like:
AllUsersAllHosts = /opt/microsoft/powershell/6.0.0-alpha.18/profile.ps1
AllUsersCurrentHost = /opt/microsoft/powershell/6.0.0-alpha.18/Microsoft.PowerShell_profile.ps1
CurrentUserAllHosts = /home/jdoe/.config/powershell/profile.ps1
CurrentUserCurrentHost = /home/jdoe/.config/powershell/Microsoft.PowerShell_profile.ps1

Contrast this with a Windows 10 Windows PowerShell v5.1 installation:
AllUsersAllHosts = C:\Windows\System32\WindowsPowerShell\v1.0\profile.ps1
AllUsersCurrentHost = C:\Windows\System32\WindowsPowerShell\v1.0\Microsoft.PowerShell_profile.ps1
CurrentUserAllHosts = C:\Users\jdoe\Documents\WindowsPowerShell\profile.ps1
CurrentUserCurrentHost = C:\Users\jdoe\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1

Many thanks, mklement0.

PS1 files stored in the CurrentUserCurrentHost cannot be executed as they are not found.
For instance a PS1 script Restart-Process.PS1 stored in C:\Users%username%\Documents\WindowsPowerShell cannot be located:
Restart-Process : The term 'Restart-Process' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or
if a path was included, verify that the path is correct and try again.
At line:1 char:1

Restart-Process

  + CategoryInfo          : ObjectNotFound: (Restart-Process:String) [], CommandNotFoundException
  + FullyQualifiedErrorId : CommandNotFoundException


Event message track sample files m59640.

~2 files are not yet added (only their metadata).~
It would be desirable to reduce the file size.

https://git.mpeg.expert/MPEG/Systems/FileFormat/isobmff/-/issues/329

As with any associated files, we add them to the relevant conformance files. If you don't want do deal with them, add their glob pattern to data/.cfignore. We get a warning for ignored files so they won't be lost.

@DenizUgur do you mind adding these 2 files?

@podborski here you go, ready for merge


Issue tool calling using ollama

What happened?
Trying to use tool calling with ollama. My setup might be a bit strange. I have a docker image where i put all my python code in. I then have ollama installed outside of the docker. It works with conversations but the moment i introduce tools it gives me an error. And i can't figure out a fix.
I am trying an adjusted calc tool call from the tutorial.
When i try to run my script i get this:
 docker build --no-cache -t autogen-test .
docker run --add-host=host.docker.internal:host-gateway autogen-test
Traceback (most recent call last):
  File "/myapp/ollama.py", line 33, in <module>
    assistant = ConversableAgent(
                ^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/autogen/agentchat/conversable_agent.py", line 170, in __init__
    self._validate_llm_config(llm_config)
  File "/usr/local/lib/python3.11/site-packages/autogen/agentchat/conversable_agent.py", line 274, in _validate_llm_config
    self.client = None if self.llm_config is False else OpenAIWrapper(**self.llm_config)
                                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/autogen/oai/client.py", line 503, in __init__
    self._register_default_client(config, openai_config)  # could modify the config
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/autogen/oai/client.py", line 613, in _register_default_client
    raise ImportError("Please install `ollama` and `fix-busted-json` to use the Ollama API.")
ImportError: Please install `ollama` and `fix-busted-json` to use the Ollama API.

What did you expect to happen?
The calculation tool to be called
How can we reproduce it (as minimally and precisely as possible)?
Here is the code i use. Some packages are part of other scripts.
Dockerfile:
FROM python:3.11-slim

WORKDIR /myapp

RUN pip install --no-cache-dir "pyautogen[ollama]>=0.2.38" \
    && pip install --no-cache-dir requests \
    && pip install --no-cache-dir ollama \
    && pip install --no-cache-dir fix-busted-json

COPY ollama.py .

CMD ["python", "ollama.py"]

ollama.py:
from typing import Annotated, Literal

Operator = Literal["+", "-", "*", "/"]

def calculator(a: int, b: int, operator: Annotated[Operator, "operator"]) -> int:
    if operator == "+":
        return a + b
    elif operator == "-":
        return a - b
    elif operator == "*":
        return a * b
    elif operator == "/":
        return int(a / b)
    else:
        raise ValueError("Invalid operator")

import os

from autogen import ConversableAgent

config_list = [
    {
        "model": "qwen2.5-coder:14b",
        "api_type": "ollama",
        "client_host": "http://host.docker.internal:11434",
        "native_tool_calls": False
    }
]

# Let's first define the assistant agent that suggests tool calls.
assistant = ConversableAgent(
    name="Assistant",
    system_message="You are a helpful AI assistant. "
    "You can help with simple calculations. "
    "Return 'TERMINATE' when the task is done.",
    llm_config={"config_list": config_list},
)

# The user proxy agent is used for interacting with the assistant agent
# and executes tool calls.
user_proxy = ConversableAgent(
    name="User",
    llm_config=False,
    is_termination_msg=lambda msg: msg.get("content") is not None and "TERMINATE" in msg["content"],
    human_input_mode="NEVER",
)

# Register the tool signature with the assistant agent.
assistant.register_for_llm(name="calculator", description="A simple calculator")(calculator)

# Register the tool function with the user proxy agent.
user_proxy.register_for_execution(name="calculator")(calculator)

chat_result = user_proxy.initiate_chat(assistant, message="What is (44232 + 13312 / (232 - 32)) * 5?")

export OLLAMA_HOST=<IP_ADDRESS>:11434
ollama serve
 ollama pull qwen2.5-coder:14b
docker build --no-cache -t autogen-test .
docker run --add-host=host.docker.internal:host-gateway autogen-test

AutoGen version
0.2.38
Which package was this bug in
Core
Model used
ollama qwen2.5-coder:14b
Python version
3-11
Operating system
ubuntu
Any additional info you think would be helpful for fixing this bug
No response

Can you uninstall pyautogen and install autogen-agentchat~=0.2. I think this issue has been fixed in the latest version.

I named the file ollama because i was testing ollama...
Apparently your not supposed to do that.
I renamed it to ollama-test.py and now i have no errors.
Thank you for the quick response @ekzhu


How to calculate FPS ?

Thank you very much for your work, I would like to know how to calculate FPS in '3D instance segmentation results on ScanNet dataset'.

You can use time.time() to calculate the inference time for each frame and take an average. For VFM, you can calculate their inference speed independently by feeding in the corresponding RGB image.


Split add-on tab into separate tabs for each add-on

Summary
Fixes #11920

Technical notes summary

Moved additionalManifest section from AddOnConfig.vue to its own component, so it can be a separate tab.
Moved labelForAddon method to shell/utils/cluster.js in order to be re-used in couple of places as a helper.
Updated rke2.vue and AddOnConfig.vue in order to show separate tabs for each add-on configuration.
Areas or cases that should be tested

Provisioning clusters.
Areas which could experience regressions

Provisioning clusters.
Screenshot/Video

Checklist

[x] The PR is linked to an issue and the linked issue has a Milestone, or no issue is needed
[x] The PR has a Milestone
[x] The PR template has been filled out
[x] The PR has been self reviewed
[x] The PR has a reviewer assigned
[ ] The PR has automated tests or clear instructions for manual tests and the linked issue has appropriate QA labels, or tests are not needed
[ ] The PR has reviewed with UX and tested in light and dark mode, or there are no UX changes

Note - they've gone ahead and fixed https://github.com/rancher/dashboard/issues/12016 in 2.10. So when porting be sure to rebase


No demo page or screenshots

Can you provide a demo page or screenshots so I can see whats going on before I take time to test it out?

We definitely need a demo - unfortunately we don't have time until maybe next year (PR's welcome). I'll give you the site we use it in for you to take a look. Once you start a tasting click "start tour" - https://goo.gl/XMFmGx

Wow, I definitely like the example site ill try it out let you know what I think... And as long as your active I am sure I will submit some PRs. - Is all the code committed right now the latest and greatest version like your using there?

Best Regards

Yup :) Using v0.1.11 (latest) using the angular-tourist directives and configuration api to create that tour.
We are using qTip for the tooltips.
A simple example page that we can improve on if necessary would go far.
Let me know if you decide you want to create one and if you need any help. :+1:


[FEATURE]

Is your feature request related to a problem? Please describe.
I think a way to generate JSON code per contact will be very useful. With that others can make custom UI as they please.
Describe the solution you'd like
Json file which contains text messages and links to media wherever necessary
Additional context
Add any other context or screenshots about the feature request here.

Hi. Does adding the --json flag address what you want?

adding --json generates a JSON file containing chats of all contacts. when i tried, I got a 100mb json and cant open it and use it. I wish individual jsons are created like how individual htmls are created.

I see. I implemented it in 6e8e0d7. You can try that in the dev branch and with the --json --per-chat flags.

Hi @KnugiHK ,
I noticed a bug here in importing these per-chat json files.
Specifically, if one runs --json --per-chat, and say then you have a file "John_Doe.json".
If you then try to IMPORT that individual file with "wtsexporter --import --json John_Doe.json", you get an error in     import_from_json(args.json, data):
chat = ChatStore(chat_data.get("type"), chat_data.get("name"))
AttributeError: 'str' object has no attribute 'get'"
The problem is that the import_from_json() expects a dictionary of ChatStore objects:
<EMAIL_ADDRESS>{{"name": "John Doe", "type": "android", .... }<EMAIL_ADDRESS>{...}...}
whereas what is currently exported in main.py is just the ChatStore object itself:
f.write(json.dumps(data[jik])) results in:
{"name": "John Doe", "type": "android", .... }
The solution would be to export each chat as a one-element dictionary of the ChatStore object. That is, change the code to:
f.write(json.dumps({jik: data[jik]}))
I have actually tested the above, and the generated per-chat json files can then be successfully re-imported without a problem.

Hi @KnugiHK , there is another bug in the --per-chat implementation with regard to group chats. Specifically, if a group chat name has a special character, the program will crash when writing the json file.
e.g say a group chat has a name like "group-chat-name!?", then the python error traceback is as follows:
File "", line 198, in run_module_as_main
File "", line 88, in run_code
File "..\wtsexporter.exe_main.py", line 7, in
File "...\Whatsapp_Chat_Exporter_main.py", line 508, in main
with open(f"{args.json}/{contact}.json", "w") as f:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: [Errno 22] Invalid argument: "result/group-chat-name!?.json"
Solution
Name the json file with a "safe_file_name" the way create_html() does on line 764.

If you then try to IMPORT that individual file with "wtsexporter --import --json John_Doe.json", you get an error in import_from_json(args.json, data):
chat = ChatStore(chat_data.get("type"), chat_data.get("name"))
AttributeError: 'str' object has no attribute 'get'"

This should be fixed in fb5a1c3 according to your suggestion.

there is another bug in the --per-chat implementation with regard to group chats. Specifically, if a group chat name has a special character, the program will crash when writing the json file.

This should be fixed in df3333f according to your suggestion.
Thanks for @code-consensus contribution!


[Feature] Permissions system for pricing

Add permission "role" to control who can view / edit / delete pricing data

Internal pricing
Sale pricing
Supplier pricing

Purchase order and sale order pricing will still be controlled based on the SalesOrder and PurchaseOrder permission roles.

Probably a part of a bigger permissions refactor once the main things for React are implemented

Fresh!

Not stale


tests message prints whole path instead of just filename

This comes from the use of FILE macro here and there
Suggestion : add FILENAME macro found here and replace every call of __FILE__ with  __FILENAME__
#define __FILENAME__ (__builtin_strrchr(__FILE__, '/') ? __builtin_strrchr(__FILE__, '/') + 1 : __FILE__)

however __FILENAME__ isn't a string litteral. Hence the 2nd call must be replaced like so :
    for( int tst = !( fputs( "FILE ▷ ", stderr ), fputs( __FILENAME__, stderr ), fprintf( stderr, " " __VA_ARGS__ ), fputc( '\n', stderr ), tst_init_run() ); \

@greg-is-kub. Thanks for the suggestion!
I wonder, however, if this could not cause a problem for projects that might have the same file name under different directories.
Yes, they shouldn't :)
But what if they do?
So I switched the printing of the full path off but the user can turn it on again by compiling with TSTFULLPATH defined. I've also updated the README file.

ANd thanks to you pointing me to to check2 I was wondering if I should simplify  and make testrun() take the role of main.
Let's do it. But please let me know what you think.

A thought: wouldn't it be better to add the full __FILE__ name at the beginning and remove it from the single lines leaving only the line number?

Thats a good idea ! This would remove the need fore the __FILENAME__ macro & give a more minimal display.
Imo having  "test / fail message / file / line is a bit cluttery.

You can have a look at the devel branch.
Another functionality could be to produce a compact machine-friendly log that would be expanded into a fullyu human-readable log by another script. What do you think?

CLosing.
Full path only at the top of the run. Only the line number is reported for each test.


Deny empty cancellation sequence.

At least one cancellation step is required for forward step.
class Action(Story):
    I.one()

This code should raise an exception.
User should either remove () or add at least cancellation step.

Superseded by #627


Google component improvements

Added some improvements to google components:

Remove obsolete gmail references in google-calendar component
Avoid constants in interfaces
Remove unused oauth scopes configuration in gmail component

Hang on I need to fix my personal fork and perform a clean rebase then I will come back to you with new PR, sorry for that


Fitness and contracts not correct

Expected behavior:
Fitness and contract count matches actual fitness and contract count.
Current behavior:
Fitness is always at 99 and contact at 7.
Metadata:

Script version: 1.4.1
Browser: Chrome 71.0.3578.98
OS: Mac OS 10.13.6

What screen is this behaviour noticed on? I just checked and I see all cards with the exact contracts and fitness in the Transfer Search and Club on my end.
By the way, the last card in your screenshot has a contract value of 1 instead of 7 😉


fix(console): blob download args

Description

modifies the blob download ux to make it clear, and properly enforce having either a ticket or arguments for a download
All arguments apply to both ticket and hash but with different constrains. In the case of the ticket options can be used to override/remove ticket parts
makes sure failures still report the help text

Notes & open questions
Sample output:
This would previously only show an error
> blob download
Download data to the running node's database and provide it

Usage: blob download <COMMAND>

Commands:
  ticket  Use a blob ticket to download the data
  hash    Supply the content and node-addressing information directly to perform a download
  help    Print this message or the help of the given subcommand(s)

Options:
  -h, --help  Print help (see more with '--help')

Calling commands:
With a ticket:
> blob download ticket blobedjoqrkky753mdwphqrxbr2wjzkizv4hkb5s5ovav73c2zfuaja7aaibaiah6aaaahcfoaiaaaaaaaaaaaaaaaaaaaaaaaabyvlqcz2d7d7ouqasz36mapwfxqf2dx3zznb25nx32phl7kbgum23wtegaa

With args:
> blob download hash bafkr4ibzusj4ulmrhrbymsgklwlcencx63jwcurmoimjhk4mutqdsqhnqa --node 2luekswh7o3a5tz4enymovsoksgnpb2qpmxlvifp6ywwjnacihya --derp-region 1

Both
NOTE: Adding this a a subcommand is a consequence of https://github.com/clap-rs/clap/issues/2621
Change checklist

[x] Self-review.
[x] Documentation updates if relevant.
[ ] Tests if relevant.

@b5 this is still a subcommand but I think it has a nice feel, give it a look :pray:

loving these colours


İstanbul Asya ve İstanbul Avrupa'yı birleştirmek

Malum, İstanbul Asya ve İstanbul Avrupa haritada ayrı ayrı bulunuyor. Bunu svg de birleştirmek mümkün mü?
CSS'e
 #istanbul:hover path, #svg-turkiye-haritasi path:hover {   fill: #012869; }
HTML'e
<g id="istanbul" data-plakakodu="34" data-alankodu="212-216" data-iladi="İstanbul">                 <path d="M187.613,66.733l-2.876,1.342l-2.063,2.218l0.561,1.719l0.062,0.188l-0.125,0.188l-2.002,3.78 l-0.031,0.062l-0.062,0.062l-1.657,1.78l-0.564,3l1.593,1.595l0.031,0.031l2.093,2.47l0.031,0.031l2.249,2.282l0.062,0.031 l3.499,1.877l0.156,0.094l0.062,0.156l1.03,2.439l3.593,1.533l1.376-2.53l0.031-0.094l1.221-3.937l0.657-2.156l0.031-0.188 l0.188-0.094l3.657-2.154h0.031l2.626-1.405l0.188-0.062l0.188,0.031l1.625,0.376l0.094,0.031l0.062,0.031l3.593,2.158 l2.219-0.53l3.032-1.529h0.031l2.595-1.249h0.031l3.689-2.123l0.627-2.875c-0.638-0.155-3.737-0.913-4.593-1.159 c-0.842-0.24-4.405-1.127-4.405-1.127l-7.437-1.629l-0.031-0.031h-0.031l-5.561-1.878v-0.031h-0.031l-5.624-2.347L187.613,66.733 z"/>                 <path d="M179.76,85.166l-0.062,0.688l-0.094,0.75l1.688,0.751l0.062,0.031l0.062,0.031l2.155,1.907l0.188,0.156 l-0.031,0.25l-0.252,2.906l-0.031,0.562l-0.562-0.094l-2-0.376l-0.156-0.031l-0.095-0.092l-1.374-1.282l-0.062-0.031 l-0.031-0.031l-1.374-1.907l-0.031-0.062l-0.031-0.062l-1.029-2.907l-0.188-0.531l0.594-0.125l2-0.374L179.76,85.166z"/>                 <path d="M136.272,39.497l-0.25,0.25l0.031,0.344l-0.344,0.031l-1.658,3.155l1.873,3.532l0.125,0.219l-0.125,0.25 l-2.408,4.53v0.031l-3.284,5.904v0.031l-4.098,6.686v0.031l-1.253,5.249l1.092,3.563l4.689-1.372h0.031h0.031l6.594-0.902h0.125 l0.125,0.031l2.874,1.158v-0.031c0,0,1.118,0.405,2.312,0.782c0.597,0.189,1.23,0.361,1.719,0.501 c0.245,0.07,0.433,0.118,0.594,0.156c0.161,0.039,0.312,0.062,0.25,0.062c0.178,0,0.291,0.05,0.438,0.094s0.321,0.088,0.5,0.156 c0.358,0.136,0.757,0.324,1.156,0.501c0.798,0.351,1.531,0.689,1.531,0.689l0.062,0.031l0.031,0.031l3.499,2.596v-0.062v-0.469 l0.469-0.031l2.656-0.124h0.406l0.094,0.406c0,0,0.122,0.564,0.249,1.219c0.105,0.539,0.182,1.038,0.218,1.469 c0.028,0.008,0.025,0.023,0.062,0.031c0.213,0.045,0.573,0.093,1,0.126c0.854,0.063,1.994,0.087,3.156,0.096 c2.325,0.017,4.656-0.059,4.656-0.059h0.219l0.125,0.125l0.781,0.656l1.312-0.718l0.094-0.031l0.094-0.031l3.188-0.248 l2.157-1.124l-0.594-0.344l-0.312-0.156l0.031-0.312l0.251-2.281l0.062-0.438h0.438l1.656,0.001h0.281l0.125,0.219l0.874,1.344 l1.782-1.249l0.626-2.719v-0.094l0.062-0.094l0.5-0.688l-0.687-2.281l-0.125-0.344l0.344-0.219l1.219-0.749l0.031-0.031 l1.439-2.03l0.062-0.094l0.532-1.219l-3.906-0.002h-0.094l-0.062-0.031l-4.311-1.502l-0.031-0.031h-0.031l-4.53-2.283 l-4.687-2.409l-5.436-2.784h-0.031l-5.529-3.534l-5.81-3.409l-0.031-0.031l-3.405-2.408h-0.031l-4.529-3.408l-0.031-0.031 l-0.031-0.031l-2.779-2.783L136.71,40.5l-0.031-0.062L136.272,39.497z"/>               </g>
ekleyerek sorunu çözdüm. Belki birilerinin işine yarar.
Not: Güzel çalışma, elinize sağlık

Teşekkür ederim soran arkadaş olursa bu issue'ya yönlendirme yapacağım.


Add support for 44.1khz audio

I was wondering if it would be possible to add support for 44.1khz audio files without having to resample. It's also a common sample rate, so it might be good to have as an option. Thanks for your efforts!

I believe it already supports this, it's just mislabeled in the GRadio menu. Basically: 40k=44.1k
I believe this because:
Under "Train" the target sample rates are 40k and 48k, but the files generated by "Vocals/Accompaniment Separation & Reverberation Removal" are 44.1k (checked in Adobe and VLC), and when I selected "40k" in the "Train" menu, it works fine with those generated files. So moving forward i'm just sticking to a 40k (mislabeled)/44.1k workflow.
In the past I tried to use 48k and 24-bit because in post-production those are the "high quality" audio files that are required for delivery and QC check, but this module does not play well with 24-bit files, 16-bit works better, and I seem to remember 48k causing more errors as well.

I believe it already supports this, it's just mislabeled in the GRadio menu. Basically: 40k=44.1k
I believe this because: Under "Train" the target sample rates are 40k and 48k, but the files generated by "Vocals/Accompaniment Separation & Reverberation Removal" are 44.1k (checked in Adobe and VLC), and when I selected "40k" in the "Train" menu, it works fine with those generated files. So moving forward i'm just sticking to a 40k (mislabeled)/44.1k workflow.
In the past I tried to use 48k and 24-bit because in post-production those are the "high quality" audio files that are required for delivery and QC check, but this module does not play well with 24-bit files, 16-bit works better, and I seem to remember 48k causing more errors as well.

I was looking into the infer-web.py file and noticed the only resulting commands were 32000, 40000, and 48000.
line 187
sr_dict = { # See line 1189 for choice, I added 32k as an experiment.
    "32k": 32000,
    "40k": 40000,
    "48k": 48000,
}

I appears that 44000 is not present? I'm an amateur here, but looking in the log window, I can see it is indeed processing for 40000 hertz only. I modified the choices and added in a choice 32k for an experiment because I have some voices that are 32k, and will also change the 40000 to 44000 and see how it goes, and report back here.
line 1177
    with gr.Row(): # experiment aka new file name variable is exp_dir1
                exp_dir1 = gr.Textbox(label=i18n("New voice file name:"), value="") # Default new file name value and sample rate value
                sr2 = gr.Radio(
                    label=(
                           "Sampling rate: (40kHz/44.1kHz or 48kHz) \
                            705 kbps = 44 kHz 16 bit Mono --------------- \
                            1058 kbps = 44 kHz 24 bit Mono -------------- \
                            1152 kbps = 48 kHz 24 bit Mono -------------- \
                            1411 kbps = 44 kHz 16 bit Stereo ------------ \
                            2116 kbps = 44 kHz 24 bit Stereo ------------ \
                            2304 kbps = 48 kHz 24 bit Stereo ------------ "
                           ),
                    choices=["32k", "40k", "48k"], # See line 187 for choice results
                    value="48k", # Default value
                    interactive=True,
                )

(I added myself a little table here as reference earlier using using an audio file calculator, I'm just testing things here so feel free to ignore that.)
Feel free to correct me if I'm on the wrong track here.


types2, go/types: self-referential type parameter list is not accepted

Example:
package p
type Eq[a Eq[a]] interface {
	Equal(that a) bool
}

produces
:2:13: Eq is not a generic type

Should this be permitted?
cc: @ianlancetaylor

In any case, the error message needs to be fixed. Eq is a generic type.

I can't think of a reason to forbid this.  It seems well-defined.  It would be more problematic in a function definition, where we would have to derive an operation set, but of course this can't happen in a function definition and the problem doesn't arise in a type definition.


dxcam capture speed

Hi! The dxcam capture speed is unstable, between 0-10ms.The results are as follows. Why? Is it a bug?
1.1258000000000656
7.967900000000139
2.7013000000000176
2.367800000000031
3.877499999999756
0.017199999999828464
5.908699999999989
1.8077000000000787
1.7446000000003181
6.1069999999996405
1.5810000000002766
0.030100000000032878
1.7834999999997159
1.8221000000000487
0.040300000000215164
7.366799999999785
2.05870000000008
3.1911999999998386

ms? microsecs? ns?

ms. the capture speed is unstable.

What is your hardware?

cpu R5 4600h gpu 1650

So, there are no problems :)
On Mon, Mar 6, 2023 at 5:54 AM Monday-Leo @.***> wrote:

cpu R5 4600h gpu 1650
—
Reply to this email directly, view it on GitHub
https://github.com/ra1nty/DXcam/issues/54#issuecomment-1455497454, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJOTJ44QISLV463MD4ZTSTW2V33HANCNFSM6AAAAAAVEHA3JQ
.
You are receiving this because you commented.Message ID:
@.***>

Check this https://github.com/AI-M-BOT/DXcam/releases/tag/1.0

Looks like DXcam is running faster than you're screen, so it needs block the thread to wait for your screen to update, which will lead to relatively long capture time


help text is having long lines on wider terminal window

max_term_width(90) isn't doing what it should

Works fine for me. Which platform are you on? What version of hexyl do you use and how did you install it?

I am on Fedora 34 and i installed hexyl using dnf
hexyl version: 0.8.0
a7892881f3ee27637a6ff5f7b13290983d280dbd was added after 0.8.0 release
sorry, I should have looked into this before opening the issue


[Question]:I don't use geolocator package with yandex_mapkit package ,error-->>/Users/user/AndroidStudioProjects/clean_area/android/app/src/main/kotlin/com/example/clean_area/MainApplication.kt: (17, 23): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1.

Please check the following before submitting a new issue.

[X] I have searched the existing issues.
[X] I have carefully read the documentation.

Please select for which platform(s) you need help

[X] Android
[X] iOS
[ ] Linux
[ ] macOS
[ ] Web
[ ] Windows

Your question
/Users/user/AndroidStudioProjects/clean_area/android/app/src/main/kotlin/com/example/clean_area/MainApplication.kt: (17, 23): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1.

Version
13.0.1

hey @Amirdin99 did you resolve it ?

same issue happened to me

我遇到了同样问题 作者能不能 org.jetbrains.kotlin.android”版本 降低到flutter 的版本 1.7.10

楼上的 这样就可以了 安卓的依赖改一下 geolocator: ^12.0.0
geolocator_android: 4.5.5     这个bug可以关闭了


Rationalise site colours

Large reorg of the colours used in the site.

Created some new colour names / variables for rogue colours found on the site. Or used an existing variable if available or one that is a very similar colour. In particular there are many shades of grey that we will want to make sure are from a similar palette mix, they are a bit all over the place currently. Otherwise might choose to switch them out for bootstrap greys (gray-100 to gray-900). Also tried to make sure we aren't using the same colour names as the bootstrap variables, for now anyway.
Introduced initializers/colours.rb as a central place to store all colours used on the site. These can be used in the css and ruby / javascripts. Refactored colours.scss to have only colour variables in.
Renamed colours.scss to colours.scss.erb to so the colours from the initializer can be referenced.
Renamed some javascript files in the same way, to also make use of the colours.
Moved transport survey javascript from packs, so this could be done here too. Also makes things easier when we move away from Webpacker.
Transport survey pie chart colours are now less pastel but other than that, as far as I can tell, everything looks the same.
Quite a lot of css refactoring in affected areas. Could do this a lot more :-)

Think it would be a good idea to put this on test for a few days before going live...

Will take a look at this later today, as a lot to review. Agree it'd be best to release to test. So perhaps we do that tomorrow so it can be reviewed ahead of Thursday release.

I've checked this out locally, rebuilt all the assets and looked over the affected parts of the site including home/schools/dashboards/advice pages, as well as trying out the transport survey app. Nothing obviously broken or visually jarring so if you've tweaked a few colours they didn't jump out at me.
Initially I was wondering how the .erb.js and .erb.scss files would work with the asset pipeline, but looks like they just get evaluated first? I didn't realise that was an option. If that works with Rails 7 then seems like a big improvement.
Was slightly confused initially as Chrome is showing me links to, e.g. common chart options as an ERB file with unevaluated Ruby in it, but I'm not sure its actually using that version of the file to display the pages.

Have now removed the unused test_warning.scss, it's import line in application.scss and  _test_site_warning.html.erb.
A quick look at Rails 7 indicates the asset pipeline (Sprockets) allows .css.erb and .js.erb to be preprocessed. Not sure about Propshaft without trying it, which looks like it is heading towards being standard in Rails 8 but maybe cross that bridge when we come to it.
Also just been a bit confused by Chrome dev tools showing common_chart_options.js.erb listed as an asset, but been reading about it and I think this is down to source map generation that Webpacker does, I think only in development.

A quick look at Rails 7 indicates the asset pipeline (Sprockets) allows .css.erb and .js.erb to be preprocessed. Not sure about Propshaft without trying it, which looks like it is heading towards being standard in Rails 8 but maybe cross that bridge when we come to it.

OK that's good to know.

Also just been a bit confused by Chrome dev tools showing common_chart_options.js.erb listed as an asset, but been reading about it and I think this is down to source map generation that Webpacker does, I think only in development.

That's what was confusing me too. But I couldn't find any evidence of breakage and using, e.g. the inspector confirmed that colours where coming from the compiled files. I tried rebuilding assets a few times to confirm.
Doing a test release will check out how the asset pipeline works during and after a release.


Update nightly in CI

This commit updates nightly again in CI after failing to do so in #9496. This fixes an issue in our release CI where CMake was misconfigured when cross-compiling and creating aarch64-pc-windows-msvc artifacts.
prtest:full

There's a little more discussion here as to what's going on


Remove PQL query endpoint and response format after 0.9.0 release

Dear Community,
TL;DR, Pinot will remove PQL query endpoint and response format after 0.9.0 release, only SQL endpoint is supported afterward.
Apache Pinot has been supporting the Calcite SQL query endpoint from 0.3.0 (Mar 2020) and deprecating the PQL query endpoint for more than a year.
Now we are seeing more obstacles to maintain two code paths for PQL & SQL for adding new functionalities, query optimization, behavior handling, etc.
So we decide to remove the PQL query path and endpoint. If you are still on the PQL query path, please migrate to SQL endpoint: https://docs.pinot.apache.org/users/user-guide-query/querying-pinot
Current timeline is driven by the next Apache Pinot release:

Apache Pinot 0.9.0 release (ETA Release date: Oct/Nov 2021) is the last official Pinot release that supports PQL.
Apache Pinot master branch will remove PQL support once the 0.9.0 release is cut, and no PQL support from the 0.10.0 release.

This is huge! Big congrats!

Pinot deprecates PQL fully, only SQL endpoint is supported moving forward from 0.11.0 release.


Fix save import time not updating

Seems to have been broken in #500 going by the latest save import time in the db, but can't find where this was being done before then either 😲

found it https://github.com/SapiensAnatis/Dawnshard/blob/84f00fffc6f7d64a0bd0d832676ea529bb150e2b/DragaliaAPI/Services/Game/SavefileService.cs#L177
was broken when I removed that AfterMap call


Fix windows installation

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Fix #107 for openjdk 17

This cherry-picks the work from @beenje and myself from gh-108.

copy all files under %LIBRARY_PREFIX%\lib\jvm
modify PATH to include %LIBRARY_PREFIX%\lib\jvm\bin
Add a symlink-workaround for Windows so the Library\lib\jvm\bin\*.exe are available through Library\bin
Add a %JAVA_HOME%\bin\java -version regression test

cc @beenje, @izahn, @xhochy, @h-vetinari

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

LGTM! Thanks!

LGTM! Thanks!

And to you!


Fixed issues with  json key in trivy operator

Description
Related issues

https://github.com/aquasecurity/trivy-operator/issues/1298

Checklist

[x] I've read the guidelines for contributing to this repository.
[ ] I've added tests that prove my fix is effective or that my feature works.
[ ] I've updated the documentation with the relevant information (if needed).
[ ] I've added usage information (if the PR introduces new options)
[ ] I've included a "before" and "after" example to the description (if the PR is a user interface change).

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@btwseeu78 thank you for the contribution , I have added few comments

@btwseeu78 Let me know if you need my help to promote your PR :)

I'm currently on vacation if you can manage some time please take it forwarded else I will try as per review post vacation

@btwseeu78 sure, enjoy your time off :)

@btwseeu78 do you mind if I'll add some code changes to your PR ?

@btwseeu78 I have push couple of small changes including docs update , please review docs update and make sure it make sense. I have added small comment regarding regex , please take a look and advice

no issues from my end. just this maybe would be better for creating secret.
kubectl create secret docker-registry gcr-json-key (out) --docker-server=eu.gcr.io (out) --docker-username=_json_key (out) --docker-password="$(cat ~/json-key-file.json)" (out<EMAIL_ADDRESS>
sure , you can raise a PR to update docs


Airdrop global banner for desktop

@keybase/picnicsquad CC @keybase/react-hackers @keybase/design
Here's the main desktop airdrop banner.  We end up with three possible window decoration types (showing them on my Mac but the bottom two are for non-Mac):
1: Mac, no need to draw window controls

2: Windows/Linux, there's an airdrop banner so the banner draws the window controls and the nav line doesn't

Windows/Linux, there's no banner so the nav line draws the window controls

I tried having the macOS version of the banner fit on a single row as in the Zeplin design -- the reason it didn't work is that we have a macOS-only Electron bug where the pointer doesn't turn into a hand if a clickable area is inside the top 40px or so of the screen.  So I don't think that'd make for good UX.
This PR means the nav header's connected now, so it can see whether there's a live airdrop.  That header already included other connected components (the KBFS uploading status) so I think that's okay.

@nathunsmitty
That was just to simulate Windows right?
The Mac controls shouldn't be shown to the left on Windows.

Yep! Just simulating, poorly.


TIP: Cache the TypeFace

You should cache the TypeFace, otherwise you might risk memory leaks on older handsets. Caching will increase speed as well since it's not super fast to read from assets all the time.
https://github.com/payworks/mpos-ui.android.paybutton/blob/master/mpos-ui/src/main/java/io/mpos/ui/shared/util/UiHelper.java#L75

Thank you for the suggestion, this will make it into the next release.


MSOutput: make alert notification and RSE attribute configurable

Fixes #9914
Status
ready
Description
Summary of changes as follows:

updated the default rucioAccount, even though the deployment scripts were up-to-date
make these email alerts (to the production-admin egroup) configurable. Default is True for the production system, and disable for anything else
make the RSE attribute configurable (which is passed to the pickRSE API, to retrieve one Tape endpoint). Default is the same ddm_quota

Is it backward compatible (if not, which system it affects?)
yes
Related PRs
none
External dependencies / deployment changes
Deployment changes: https://github.com/dmwm/deployment/pull/954

Tests went fine. Merging it because I will have to rebase PR9916.

Production MSOutput (on vocms0742) is running with this patch in.


Constraint violation

Codecov Report

Merging #52 into master will increase coverage by 0.05%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master      #52      +/-   ##
============================================
+ Coverage     98.51%   98.56%   +0.05%
- Complexity      132      135       +3
============================================
  Files            23       24       +1
  Lines           403      419      +16
============================================
+ Hits            397      413      +16
  Misses            6        6

Impacted Files
Coverage Δ
Complexity Δ

...stener/ConstraintViolationListResponseListener.php
100.00% <100.00%> (ø)
4.00 <4.00> (?)

src/Exception/ValidationException.php
100.00% <100.00%> (ø)
4.00 <1.00> (-1.00)

Continue to review full report at Codecov.

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

resolves #53


Task does not go to error when subtask submission fails

Describe the bug
When there is an issue during task submission (like in #303), the task status stays in processing in lieu of error.
To Reproduce

Create a subtask whose id already exists in the DB

Expected behavior
The task should be in error.

It maybe that the task is deadlocked in processing inside the polling agent.


A simple interface to overrides

Just an umbrella issue tracking our discussions around this topic.
See https://github.com/srid/haskell-flake/pull/87#issuecomment-1450286992 for a summary on our initial exploration.

Currently, we write them as follows:
{
  source-overrides = {
    foo = inputs.fooRepo + /foo;
    qux = "1.2.3"; # Hackage version; yea I just learned that this is already possible.
  };
  overrides = self: super: with pkgs.haskell.lib.compose; {
    qux = lib.pipe super.qux [ dontCheck dontHaddock ];
  };
}

This can be made nicer using:
let
  # A function that enables us to write `foo = [ dontCheck ]` instead of `foo =
  # lib.pipe super.foo [ dontCheck ]` in haskell-flake's `overrides`.
  compilePipe = f: self: super:
    lib.mapAttrs
      (name: value:
        if lib.isList value then
          lib.pipe super.${name} value
        else
          value
      )
      (f self super);
in
{
  source-overrides = {
    foo = inputs.fooRepo + /foo;
    qux = "1.2.3"; # Hackage version; yea I just learned that this is already possible.
  };
  overrides = self: super: with pkgs.haskell.lib.compose; {
    qux = [ dontCheck dontHaddock ];
  };
}

It simply avoids having to specify lib.pipe super.qux. This can make visible difference when you have lots of overrides; see https://github.com/nammayatri/nammayatri/pull/47/commits/1374db49425e41698630e419b551b60461e26903 of https://github.com/nammayatri/nammayatri/pull/47. Not sure if worth upstreaming to haskell-flake in some form ...

Here's an idea, and it would also solve the problem of "allowing users to specify default overrides for all local packages at once" (to obviate having #146 in haskell-flake).
{
  overrides = {
    # Overrides for all local packages
    localDefaults = info: [
      dontHaddock
      disableLibraryProfiling
    ] ++ lib.optionals (info.exes != { }) [
      enableSeparateBinOutput
    ];
    # Usual overrides on a per package basis, any package.
    perPackage = _self: _super: {
      aeson = [ dontCheck ];
    };
  };
}

The idea here is that the overrides option is now either an actual overlay function or submodule with the structure above. In either case, the merge semantics of the option will use composeManyExtensions produce an overlay function, so imports functionality should work as before.

Alternative proposal, which would also solve #82
{
  basePackages = pkgs.haskellPackages;

  # Configuration for local packages
  localPackages = {
    packages = { foo.root = ./foo; };  # Computed from cabal.project by default
    defaultSettings = { separateBinOutput = true; };  # Applies to all local packages
    settings = { foo.apply = [ dontCheck ]; }; # Per local package settings
  };

  # Settings for any package in the final package set
  settings = [
    # Dependencies that also use haskell-flake
    inputs.shared-kernel.haskellFlakeProjectSettings
    inputs.beckn-gateway.haskellFlakeProjectSettings

    # Local overrides
    {
      cryptostore.from = { hackage = "0.3.0"; };
      passeto.from = { path = inputs.passetto; };
      shared-kernel.from = { drv = pkgs.haskellPackages.shared-kernel; };

      aeson.apply = [ dontCheck ];

      location-updates = {
        separateBinOutput = true;
        libraryProfiling = false;
      };
    }
  ];
}

Note a few things:

settings is a list of values.
Being a list, it enables the user to explicitly order their "import" of other haskell-flake projects. Since we don't use the module system imports, we don't suffer from the arbitrary order problem

Consequently we must add a new option haskellFlakeProjectSettings that exports the computed settings overlay

The settings value is a submodule that will compute to an Haskell overlay. Actual merge will happen outside of the module system (where finalOverlay gets defined).
We can reuse the same submodule type in localPackages.{defaultSettings,settings} (localPackages.packages is renamed from current packages).

Actually we can simplify that even further by not doing the localPackages change:
{
  settings = [
    # Dependencies that also use haskell-flake
    inputs.shared-kernel.haskellFlakeProjectModules.settings
    inputs.beckn-gateway.haskellFlakeProjectModules.settings

    # Default overrides for local packages
    (lib.mapAttrs config.haskellProjects.default.packages (name: _: {
      apply = [ enableSeparateBinOutput ];
    }))

    # Project overrides
    {
      cryptostore.from = { hackage = "0.3.0"; };
      passeto.from = { path = inputs.passetto; };
      shared-kernel.from = { drv = pkgs.haskellPackages.shared-kernel; };

      aeson.apply = [ dontCheck ];

      location-updates = {
        separateBinOutput = true;
        libraryProfiling = false;
      };
    }
  ];
}

This looks great! I can't wait to try it out and likely update my codebases!

This is not documented, but it is also possible to add new settings on the project flake: https://github.com/srid/emanote/commit/5b24bd04f94e03afe66ee01da723e4a05d854953


[ENHANCEMENT]Added foundation for exporting output to file

Description
Added method formatted which takes one argument output_format which is used to determine which formatter to use for the output history data. I also added class attributes fields and formats and private instance attribute _format_map, to make it easy for other contributors to add other output formats.
I also implemented the default format (CSV) by adding to_csv method to the Outputs class. This should provide a reference to other contributors implementing other formats.
Fixes #6
Fixes #34
Type of change
Please delete options that are not relevant.

[x] New feature (non-breaking change which adds functionality)
[x] This change requires a documentation update

Checklist:

[x] I have read the contribution guidelines and followed it as far as possible.
[x] I have performed a self-review of my own code (if applicable)
[x] I have commented my code, particularly in hard-to-understand areas (if applicable)
[ ] I have made corresponding changes to the documentation (if applicable)
[x] My changes generate no new warnings
[x] Any dependent and pending changes have been merged and published

LGTM
Thank you!


rbdoom-3-bfg: 1.5.0 -> 1.5.1

Description of changes
Updated to RBDOOM-3-BFG 1.5.1
Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

Please update the hash, thanks.

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

1 package built:

rbdoom-3-bfg


Improve naming of various envelope and message types.

These types are reasonably confusing. I think it's acceptable that different packages have their own notion of an "envelope" with increasingly specific meta-data, but I don't like that there are multiple things called "Message", I would like to keep that meaning the dogma.Message specifically.
To that end:

Rename eventstore.Event to Envelope, and rename Envelope field to Proto.
Rename queuestore.Message to Envelope, and rename Envelope field to Proto.
Move pipeline.RecordedEvent to eventstore.EnvelopePair
Move pipeline.EnqueuedMessage to queuestore.EnvelopePair
Change queue.elem to use queuestore.EnvelopePair

Edit: Also, if we can think of a better name that Memory for the "regular" envelope, that would be good.  It's all in-memory!

The result of these changes would give us something like the following for the queue, for example:
package queuestore

type Envelope struct {
	Revision      Revision
	FailureCount  uint
	NextAttemptAt time.Time
	Proto      *envelopespec.Envelope
}

type EnvelopePair struct {
	Memory    *envelope.Envelope
	Persisted *Envelope
}

@danilvpetrov, @koden-km -- what do you guys think of these names... specifically EnvelopePair to refer to the pair of in-memory and persisted envelope representations.

The two types not shown above are:

envelope.Envelope, the in-memory envelope that's passed around through most of the engine
envelopespec.Envelope, the protocol buffers representation of an envelope. In the future this package will be external to the dogmatiq/infix repo

Are those fields named Proto because they are to protobuf object instance?

Yep

I think I may actually be able to get rid of the envelope.Envelope type altogether now, I'll conduct some experiments.

I think I may actually be able to get rid of the envelope.Envelope type altogether now, I'll conduct some experiments.

This is so very done now! see #152.


Document how to change password with environment variable

code-server version:  > 1.903-vsc1.33.1
OS Version:
All

Description

Document the changes to using a password from 1.903-vsc1.33.1. See #548

Documented with https://github.com/cdr/code-server/commit/ff99a1d768bf42602dd19cb98447e80ecdcda15d.


merge package template from arlac77/npm-package-template

package.json

chore(devDependencies): update<EMAIL_ADDRESS>from template

Codecov Report

Merging #341 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #341   +/-   ##
=======================================
  Coverage   79.78%   79.78%
=======================================
  Files           3        3
  Lines         183      183
=======================================
  Hits          146      146
  Misses         37       37

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 fb62ebc...c1761a6. Read the comment docs.

Coverage remained the same at 72.574% when pulling c1761a65f6b3b061ee5131e07035868f4270ecbf on template-sync-1 into fb62ebca95266124ac3105270d71193461bf36d8 on master.

Coverage remained the same at 72.574% when pulling c1761a65f6b3b061ee5131e07035868f4270ecbf on template-sync-1 into fb62ebca95266124ac3105270d71193461bf36d8 on master.


How to use other parameters as reward for the RL models to train?

In the examples mentioned in the repository, the models use portfolio value as reward.
What if i want to use other parameter as reward?

Do I need to redefine/build a new RL model for that task?
Or their is some other easy way?

Describe the solution you'd like
Please provide a solution in the tutorial repository.
Describe alternatives you've considered
NA
Additional context
NA

Hello @Mr-Nobody-dey!
If you need to modify the reward calculation parameter, you can create a customized environment by cloning the project and making changes to the finrl/meta folder. Actually, the default environment does not offer this option.

Ok. Thank you for your comment.


Feature/package redesign

Major update overhauling much of the core package architecture, in an attempt to reach some sort of version 1.0.
In addition to many smaller updates, fixes and cleanups, the major changes included in this branch are:

Renaming of the actual package (fitter to gcfit)
Modernizing all setup procedures
Splitting of Model into separate classes
Adding model sampling
Update all documentation

All of these changes were made to advance towards adding the second core functionality to this package of providing access to specific, single cluster models, separate from the model fitting to observations, which was the only real core functionality before.
This, along with some cleanup of the package itself, is necessary to get this package to version 1.0.
This will of course not be backwards compatible at all, so I'd like for it not to linger in develop for very long before the next release.

I think the one major remaining task is to update the docstrings in all the new core classes


Proof-of-concept implementation of Static Structural

Based on explorations of structural generic programming in
https://github.com/tensorflow/swift-models/pull/650 we would like to support
smooth interactions between KeyPaths and structural generic programming.
Based on discussions with @shabalind, I have put together a quick
proof-of-concept demonstrating how to unify a "static structural"
implementation with the "instance"-level structural generic programming we
have been exploring so far.
This is definitely an incomplete implementation, but this would allow us to
easily implement KeyPathIterable and its ilk on top of structural generic
programming (something not possible previously), in addition to unifying with
the existing KeyPath world.
There are a couple further extensions:

Solution for HNil To use a proper cons-list construction, this will
require a bottom type (Never) that conforms to every protocol, and
multiple conformances. Alternatively, an encoding that appears to work
is a cons-list construction that doesn't use a special end type.
Typealias inference: Swift does not currently infer typealiases for
these kinds of derived conformances.
Enum support This current implementation doesn't include enum support
although this is straight forward to add.
Simplier structural representations: When the single static structural
derived conformance, we can easily implement multiple simpler "structural"
encodings (e.g. a simple Cons-list of values in addition to the current
structural representation).
Extensions to KeyPaths could enable StaticStructural to simply be the key
paths themselves. (i.e. if you could retrieve the field name corresponding
to the key path.)

CC @shabalind @dabrahams @dan-zheng

Closing this off for now similarly to #10. We might revisit it later.


Threshold for Segmentation

Hello,
I have a question regarding converting probability maps into a segmentation mask.
I ran DeepMedic 10 times and already I have the output (probability maps for class 1 and class 0) from 10 different models. I want to calculate the segmentation mask of the ensemble model. I want to know if in DeepMedic during training and validation, a specific threshold is used to convert probabilities to binary masks (So I can also use the same threshold) or if it is optimized during training and validation and can have different values for different datasets.
Thank you very much.
Zahra

Download
https://www.mediafire.com/file/zch0v8rj7200mbm/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Hello,
No special threshold used internally. So, the segmentation map is created by doing a class_predicted = argmax(probabilities of all classes) for each pixel. In other words, each pixel gets the class of maximum probability.
So, for ensembling, I tend to just average the probability map of each class over all models. So, if I have 10 models, and a 5-class-problem, which means 5 probability maps from each model, then I do 5 averages, where each average is over 10 probability maps. Then I just do argmax per pixel again.
I hope this helps!
(closing the issue as I think this covers it.)


[RFC] Discourse structure

Current proposal:
There are only two levels of topics, the main card, and tags within the card
- Help (one for each project e.g., Scanpy, Muon, ...)
    - Tags = project subpackage or relevant category (e.g., sc.preprocess in Scanpy help card, scvi-tools TOTALVI class)
- Assay (for general questions about analyzing this type of data)
    - RNA-seq
    - CITE-seq
    - ATAC-seq
    - ...
- Development
   - Tag for each package
- Community (discussion related to community initiatives, other miscellaneous topics)
- Governance (announcement related to governance, see Stan forums)
- Ecosystem
    -  Tag for each ecosystem project (ecosytem project head reaches out to us to be included)

Moderators have the ability to direct posts into the appropriate category if needed

Development

Tag for each package

I get why you have this here, but was wondering whether we should try to keep development discussions inside Github issues?
It might be easier for everyone to have user and meta questions/topics in the discourse and development issues in Github issues? Else, we might have development discussions happening in two places and it might get hard to track it?
We could then also more easily point people to the appropriate place to post their bug or help request.

I get why you have this here, but was wondering whether we should try to keep development discussions inside Github issues?

Yes, can probably remove this card. I was thinking like making a new model development with scvi-tools, which can have it's own subcategory in the help card.

I'm not sure I understand the purpose of the assays topic.
Are you trying to separate questions into "basic help" and "higher level questions"?
Would an "Ideas" topic make more sense? It seems like higher level questions wouldn't be limited just to assays. I would also suspect there would be overlap between "assays" and "help".

I think the distinction makes sense.
I think the name "Assay" may end up drawing usage questions for particular assays which may fit better in "Help". I think "Help" may also attract some higher level questions.
What do you think about naming this something different? Like "Ideas", "Discussion", "Questions"?

"Ideas" seems to broad to me because like they are questions not ideas. We could call it "general"?
Everything is generally ready except domain change. I made every core person who signed up a level 4 user (basically same as moderator, but we can only have 5 moderators). @ivirshup can we sync up to change the domain name?
https://discourse.scvi-tools.org/

I think "general" is good (but broader than "ideas", no?)


User Login (with Google account)

User Story
As a user, I want to login with my credentials so that I can use the app.
Acceptance Criteria
Scenario 1: Existing user, login with google account

Given I already have registered my account,
And I'm NOT logged in,
Then I'm able to see the login panel,
When I click in "Login with Google account",
Then I see a pop up page asking for confirmation,
When I select my account,
Then I'm redirected to the app,
Then I can confirm that I'm logged in.

Notes

Design to be provided #7

It should be possible to switch between authentication methods so that login form can be used locally, while google login would be used on Prod

Do we'll keep both auth methods? Looks like the Google auth is good enough for any case by now, and first-time users (#13) also working smooth.

Google Login works locally, so no need to keep the old login form. I thought of keeping both when I was not sure we can use google auth on localhost

On 2 Feb 2016, at 3:57 PM, Bernardo Dias<EMAIL_ADDRESS>wrote:
Do we'll keep both auth methods? Looks like the Google auth is good enough for any case by now, and first-time users (#13 https://github.com/x-team/x-map/issues/13) also working smooth.
—
Reply to this email directly or view it on GitHub https://github.com/x-team/x-map/issues/12#issuecomment-178616221.

Perfect :+1:


GAPLESS and FLIPPED load flag

The GAPLESS constraints says that there is no space between scanlines.
It is incompatible with whatever wants gaps.

First need to add "FLIPPED" and "NON_FLIPPED" vertical layout flags, so that the results of getting all pixels at once makes sense.

[ ] isFlippedVertically
[ ] add flipVertically, if the layout doesn't allow this (either flag is defined), then it is an error!

ok


Does the dataset in the raw folder need to be the original Jsonl dataset or does the CPG structure need to be extracted as well? Is it mandatory to include 'edge_type'?

Type help or browse(help) to begin
joern> Would you like to save changes? (y/N)
Dataset chunk 0 not processed.
<class 'pandas.core.frame.DataFrame'>
Index: 497 entries, 2 to 3330
Data columns (total 4 columns):
Column  Non-Null Count  Dtype

0   target  497 non-null    int64
1   func    497 non-null    object
2   Index   497 non-null    int64
3   cpg     497 non-null    object
dtypes: int64(2), object(2)
memory usage: 439.0 KB
CPG cut - original nodes: 235 to max: 205
CPG cut - original nodes: 237 to max: 205
CPG cut - original nodes: 229 to max: 205
CPG cut - original nodes: 206 to max: 205
Traceback (most recent call last):
File "run.py", line 190, in
Embed_generator()
File "run.py", line 88, in Embed_generator
cpg_dataset["input"] = cpg_dataset.apply(lambda row: process.nodes_to_input(row.nodes, row.target, context.nodes_dim,
File "/root/miniconda3/lib/python3.8/site-packages/pandas/core/frame.py", line 9423, in apply
return op.apply().finalize(self, method="apply")
File "/root/miniconda3/lib/python3.8/site-packages/pandas/core/apply.py", line 678, in apply
return self.apply_standard()
File "/root/miniconda3/lib/python3.8/site-packages/pandas/core/apply.py", line 798, in apply_standard
results, res_index = self.apply_series_generator()
File "/root/miniconda3/lib/python3.8/site-packages/pandas/core/apply.py", line 814, in apply_series_generator
results[i] = self.f(v)
File "run.py", line 88, in
cpg_dataset["input"] = cpg_dataset.apply(lambda row: process.nodes_to_input(row.nodes, row.target, context.nodes_dim,
TypeError: nodes_to_input() missing 1 required positional argument: 'edge_type'
root@autodl-container-b7ed44ad80-2b59cbac:~/autodl-tmp/vul-LMGGNN#

Have you fixed the error yet? i also got the same error due to missing 'keyed_vector'

Type help or browse(help) to begin joern> Would you like to save changes? (y/N)
Dataset chunk 0 not processed. <class 'pandas.core.frame.DataFrame'> Index: 497 entries, 2 to 3330 Data columns (total 4 columns):
Column Non-Null Count Dtype
0 target 497 non-null int64 1 func 497 non-null object 2 Index 497 non-null int64 3 cpg 497 non-null object dtypes: int64(2), object(2) memory usage: 439.0 KB CPG cut - original nodes: 235 to max: 205 CPG cut - original nodes: 237 to max: 205 CPG cut - original nodes: 229 to max: 205 CPG cut - original nodes: 206 to max: 205 Traceback (most recent call last): File "run.py", line 190, in Embed_generator() File "run.py", line 88, in Embed_generator cpg_dataset["input"] = cpg_dataset.apply(lambda row: process.nodes_to_input(row.nodes, row.target, context.nodes_dim, File "/root/miniconda3/lib/python3.8/site-packages/pandas/core/frame.py", line 9423, in apply return op.apply().finalize(self, method="apply") File "/root/miniconda3/lib/python3.8/site-packages/pandas/core/apply.py", line 678, in apply return self.apply_standard() File "/root/miniconda3/lib/python3.8/site-packages/pandas/core/apply.py", line 798, in apply_standard results, res_index = self.apply_series_generator() File "/root/miniconda3/lib/python3.8/site-packages/pandas/core/apply.py", line 814, in apply_series_generator results[i] = self.f(v) File "run.py", line 88, in cpg_dataset["input"] = cpg_dataset.apply(lambda row: process.nodes_to_input(row.nodes, row.target, context.nodes_dim, TypeError: nodes_to_input() missing 1 required positional argument: 'edge_type' root@autodl-container-b7ed44ad80-2b59cbac:~/autodl-tmp/vul-LMGGNN#

Have you fixed the error yet? i also got the same error due to missing 'keyed_vector'


Update aimlab extension

Description
Added an extra view 'Search Tasks' so you can search for player created tasks (steam workshop)
Screencast

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

Did you change your GitHub username?

Did you change your GitHub username?

Yes i did.


Allow s3 wrapper to forward timeouts to the botocore library

timeouts are documented here
https://botocore.amazonaws.com/v1/documentation/api/latest/reference/config.html?highlight=read_timeout

Agreed. There is some room for refactoring over there.
Chanigng the parameters would be a breaking change and would just offload the work to someone else.
I tried to factor out the proxy part.


Index with InheritedColumn

DBFlow Version:4.1.1
Issue Kind (Bug, Question, Feature): Feature
Description:
I tried to use InheritedColumn but I couldn't find a way to set the Index for specific columns. With fields within the table I can set @Index. Is there a way to set it in @InheritedColumn? Thanks

not supported currently. it would just continue to further increase complexity of inherited columns.


There is no way to disable Compact Folders for source control

I can disable it for explorer but not for source control.

To be fair this one is not related to that setting and existed in 1.40.2 - before introduction of Compact Folders feature to Explorer.

/cc @isidorn

So, isn't it still a feature request?

I've never said that this is not valid request.
Only that these 2 are not directly related and it's not new behavior.

The compact feature has different purposes in SCM and the Explorer. There is no reason not to use compact folders in SCM, when showing the changes as a tree: there is no added value to having all those folders listed each in a separate row.


[WIP] Consistent Filters Proposal

Consistent Filters Proposal
Let's first accumulate all thoughts and use cases below:
Thoughts

Naming: we would love consistency and symmetry in config.yml and code.
Some consistent solution for whitelisting and blacklisting for all of the options should be provided.

whitelisting on top of blacklisting i.e. whitelisting enables from all - blacklisted or from all?

Use Cases
Focused run

whitelisting

I want to run only one or many specific tests or tests from one file (whitelisting)

blacklisting

I want to exclude one or many specific tests or tests from one file from consideration forever, and still be able to run specific tests in whitelisting mode.
I want to exclude certain functions from mutation search.

Stray mutations

We want to filter for malloc, assert, printf that would make any mutation operator skip these functions (Remove Void, Scalar Value, Negate Condition are the most popular).

There was no discussion for the last year.


[Feature] Circulation program

Hi @erikkastelec
Thanks for the great plugin.
Do you see also the possibility to integrate the circulation program of the hot water? So that it could be disabled when nobody is at home?
Thx

Is this setting available inside the mobile app?

Yes, in the program tab you can configure the circulation program by day and time. It would be great if there is a way to turn it on or off with a single button.

I will make an effort to implement this, but I cannot provide a specific timeline at this moment.

This will be a great feature .
thanks

Hi @erikkastelec
Do you have any news on this? Still work in progress or not possible?
Thanks 😃

I think making the circulation program be controllable is a bit of an effort (it'll need the same UI as the APP in home assistant, not sure if there are some ready-made UI components for that).
I created #94 for a simpler alternative to achieve what you need @Speed1 (while I think having this feature would also be nice, it'll just more work to get it done)

Circulation program implementation indeed is one of the things that turned out to be harder to implement than I initially thought. I will leave it on the roadmap, but I will probably prioritize other features.


[Feature Request] Add back to 'home' button to go back to keralarescue.in home page from Individual links.

Add back to 'home' button to go back to keralarescue.in home page from Individual links
There is no home button for volunteers entering data in Individual links of Kerala Rescue home page. Its confusing for folks (like volunteers) who have to enter multiple requests.
Your environment
Prod - all Browsers.

could you give me a link ? as in a url where you seem to have this issue

the kerala rescue logo at the top serves as a home button

Open the URL - https://keralarescue.in/
Click on "Request for Rescue" link which will take you to https://keralarescuemap.ushahidi.io/posts/create/17
Once you enter the data and click submit, or before submitting if you need to go back to the home page (https://keralarescue.in/) there is no 'Back to home" button

@jojyva we cant implement it as Ushahidi is a saas platform. and we don't have access to the code there.


Why does a typingsFile need to be specified?

From looking through the codebase, the typingsFile doesn't seem to be used anywhere that make it essential.
tsd seems to works perfectly fine providing it with an empty file.
Could the typingsFile be made optional?

See #196 for discussion on this.


WebView issue update text after api call

Hi getting this issue after api call change text in editor view or if I do add/change text continue some time than below error coming.  Swift 4.2 and RichEditorView 5.0
void SendDelegateMessage(NSInvocation *): delegate (webView:decidePolicyForNavigationAction:request:frame:decisionListener:) failed to return after waiting 10.000000 seconds. main run loop mode: kCFRunLoopDefaultMode

Is it resolved ?


Controlling UID/GID of EmptyDir volume

Currently the emptyDir volume is owned by root:root.  Long-term, the uid/gid of this type of volume (and others based on it) should be set by the effective uid/gid of the container.
I'll write more on this later, wanted to create the issue before I forgot about this.  Spoiler alert: I think we can do this only for limited cases without the user namespace.
@thockin @erictune @ncdc @eparis @timothysc
It's arguable that other volume types should handle this too.
@jmccormick2001 is hitting this currently with emptyDir and nfs IIRC

@timothysc

much as docker added the :z and :Z to volume mounts, I feel like we'd be better suited adding a :u or something to the volume mount and telling docker to use it's knowledge of the uid/gid and chown -R down at that level.  But obviously we'd need to be able to make use of that feature up in kube.

@eparis yep, that is one possibility I was going to mention.  If we rely on the container runtime to do this, we should make sure that it's well-known that container runtimes need to do this kind of thing.

Is this a dup of the other issue about volumes and non-root ?
On Thu, Jul 9, 2015 at 3:26 PM, Paul Morie<EMAIL_ADDRESS>wrote:

Currently the emptyDir volume is owned by root:root. Long-term, the
uid/gid of this type of volume (and others based on it) should be set by
the effective uid/gid of the container.
I'll write more on this later, wanted to create the issue before I forgot
about this. Spoiler alert: I think we can do this only for limited cases
without the user namespace.
@thockin https://github.com/thockin @erictune
https://github.com/erictune @ncdc https://github.com/ncdc @eparis
https://github.com/eparis @timstclair https://github.com/timstclair
It's arguable that other volume types should handle this too.
@jmccormick2001 https://github.com/jmccormick2001 is hitting this
currently with emptyDir and nfs IIRC
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/issues/11020.

NFS requires the same (do i presume all volumes?).

While the solution might be useful on NFS, emptyDir is a bit special.  With NFS it is "possible" to set the uid/gid/selinux context/etc before kubernetes gets involved.  With emptyDir is kubernetes which 'creates' the empty tmpfs filesystem, and thus only kubernetes (or docker later) can fix the uid/gid/label/etc.
So the feature is likely applicable, the bug is not quite the exact same. (meaningless distinction, I know)

@eparis thanks for the distinction.  I like learning the nuances.
We'll need to discuss security around NFS in another thread, because the current implementation requires a wide open share that PV only provides obfuscation for.

@thockin

Is this a dup of the other issue about volumes and non-root ?

I don't think the other one encompasses ownership, but I will check

My bad, @thockin
Closing as a dupe of #9384


Ensure only code approved by appropriate reviewers gets merged into the DCP

We will use a service/tool called "Pull Approve" to achieve this (https://www.pullapprove.com/).
Overview:
The DevSecOps team are going to sign up for a pullapprove account.
PullApprove Overview
Enabling required status checks - GitHub

Applies to DCP/1 only. If the need arises to implement this for future compliance/certification, we'll open a new ticket.


ctrl+click does not work

Sometimes go to definition with ctrl+click does not work.
whereas F12 usually works.

Go to definition implementation varies by language. Please have concrete reproducing steps.


Add parallel function calling

Summary
The goal of this PR is to do the following:

Update this cookbook with the newest schema changes that utilizes 'tools' and 'tool_call' instead of the deprecated 'function' and 'function_call'
Add a section on parallel function calling

Motivation
Why are these changes necessary? How do they improve the cookbook?
These changes capture some of our most recent features from Dev Day

For new content
When contributing new content, read through our contribution guidelines, and mark the following action items as completed:

[ ] I have added a new entry in registry.yaml (and, optionally, in authors.yaml) so that my content renders on the cookbook website.
[ ] I have conducted a self-review of my content based on the contribution guidelines:

[ ] Relevance: This content is related to building with OpenAI technologies and is useful to others.
[ ] Uniqueness: I have searched for related examples in the OpenAI Cookbook, and verified that my content offers new insights or unique information compared to existing documentation.
[ ] Spelling and Grammar: I have checked for spelling or grammatical mistakes.
[ ] Clarity: I have done a final read-through and verified that my submission is well-organized and easy to understand.
[ ] Correctness: The information I include is correct and all of my code executes successfully.
[ ] Completeness: I have explained everything fully, including all necessary references and citations.

We will rate each of these areas on a scale from 1 to 4, and will only accept contributions that score 3 or higher on all areas. Refer to our contribution guidelines for more details.

@shyamal-anadkat - Adding you as a reviewer to this PR. I went through and updated the cookbook and added in a section on parallel function calling. Would appreciate some feedback here on how to ensure it remains up to standard. Thank you!

@shyamal-anadkat I'll leave this open for a bit in case you'd like to take a look as well

@simonpfish - I cleaned up the execution count and will update to use the python SDK in a separate PR. LMK if this is good to merge and I'll get started on the other PR.

@simonpfish - I cleaned up the execution count and will update to use the python SDK in a separate PR. LMK if this is good to merge and I'll get started on the other PR.

Hey. Any ETA on when you will have this updated to use python SDK instead of requests?
Thanks!


ci: [NPM] fix Scale Pipeline cleanup & scale script edge case

Reason for Change:
Delete the correct resource group in pipeline. Also, fix bug in scale script when using zero-values for parameters.
Issue Fixed:
Requirements:

[x] uses conventional commit messages
[ ] includes documentation
[ ] adds unit tests

Notes:

/azp run


mutivarite time series

https://github.com/NervanaSystems/neon/blob/master/examples/timeseries_lstm.py
hi all,
Just a quick question, is the above code to forecast of a multivariate time series data set.
ie a data set with lots of features.
Many thanks,
Andrew

Hi Andrew, yes it is. Amir.


SFN service controller

New ACK Service Controller
Support for AWS Step Functions
List of API resources
List the API resources in order of importance to you:

StateMachine
Activity

Now that the 'sfn' controller and end-to-end test are merged (https://github.com/aws/aws-controllers-k8s/pull/450), should I submit a PR to add Step Functions as 'developer preview' to the Testing and Services pages or are there any other prerequisites?

@russmackenzie yep. :)

I believe this issue can now be closed.

@russmackenzie we're going to keep these service controller issues open since they are on the Service Controller Roadmap project and provide a good top-level landing page...

Closing as this service controller has graduated to GA. Separate issues can be opened to discuss specific follow on topics on the controller.


bump k8s to v1.20.7

Fixes: https://github.com/knative/pkg/issues/2111

hmm... that won't work cause they make a copy of gvrToList map

This PR should make eventing green: https://github.com/knative/eventing/pull/5477 downstream.
Other changes are trivial string replacements with the exception of the client & a plugin

/assign @n3wscott @markusthoemmes

Doublechecked the downstream failures:

Serving has the same "different error message" thing that this has, trivial to fix
Networking has the same.
Client has a compile error. Would it make sense to stage that change first?
Camel has already been dropped, so we can ignore.
kn-plugin-admin has the same compile error as client, so I guess fixing client will fix it as well.

So this is LGTM! Thanks for unblocking that breaking change!

FWIW, just looked at the client failure: k8s.io/cli-runtime has to be bumped to 0.20.7 in that repo too (it's not inherited from here) and then a few tests fail due to that dynamic client breaking change. Alerted the client team about that and now waiting for confirmation to either go ahead or to stage a fix first.


feat: Add ActionView instrumentation via ActiveSupport::Notifications

This commit adds a safe (I hope) subscription framework for
ActiveSupport::Notifications and then uses that framework to instrument
ActionView.
Key to this PR is the fact that Rails allows you to swap out the queue for
ActiveSupport::Notifications; although documentation on that is sparse.
We implement a thin wrapper around the existing (and default) Fanout
queue and a "SpanSubscriber" that handles the actual event instrumentation.
Together, they do three special things:

Sort the subscribers for a notification so that our "SpanSubscriber"
class always runs first.
Start a span when the event starts
Finish the span when the event finishes, merges in the payload as
span attributes, and then toggles the error bit if there was an
uncaught exception.

There are two main problems with ActiveSupport::Notifications as they
relate to telemetry, and we attempt to solve them both here:

Any other subscriber to the notification in question could throw,
and that could mean we are left with dangling spans. Our solution to
this lies in how we sort the subscribers for a notification when
handling the events in the queue wrapper. By ensuring that our
handlers run first, we ensure that anyone else who might throw
doesn't affect our span handling.

Span stack handling can be a nightmare. Here, we rely on a
undocumented (?) feature (??) of notifications: if the callable
passed in with the subscription responds to start/finish methods,
then Rails will call start and finish on your queue object. And
the return value of start from your queue is saved around the
execution of the instrumented block, and passed back in to the
finish method on your queue object. We can use that and pass around
the span that was started and the previous context to restore, and
that greatly simplifies the state management.

There are, of course, tradeoffs:

In this implementation, we don't allow for any kind of real
specialization in the "SpanSubscriber" object. We could in the
future; and individual instrumentations could always subclass it.
You always lose some detail by instrumenting in this way - it's never
going to be as rich as patching the classes directly; but it is
something of a handy-dandy shortcut.
We add a dependency on the rails instrumentation. I don't know if
this is the right thing to do here or not, and I don't know if
potentially installing the instrumentation many times will have a
huge problem.

It should be noted that the Rails instrumentation is required at the moment, if you choose to use this instrumentation.

cc @open-telemetry/ruby-approvers - if you'd like to give some early feedback on this, I'd appreciate it. And, for kicks and giggles, here's a screenshot of it all working:

This is really nice!

@open-telemetry/ruby-approvers I've updated to the latest context and status methods, and I think this is ready for legitimate review.

For any passers-by: I'm going to test this internally at GitHub a bit more on Monday, before we merge; just to be safe. Unless someone has been lurking and testing it in their app all along, which would be fantastic. 😆

@robbkidd and I found a way to initialize the queue-swapping more reliably in 967bbdc2544e46214d59c04a49b8e8f5ea6a0619, and I'm testing this now in production.

I ran this in production for a few hours, and noted nothing obviously or dramatically wrong. I think we're good to merge @open-telemetry/ruby-maintainers 👍


enable network protection must be in main article

This article title says "protect your network" , so  Enable Network Protection and its description must be in the same article included in Main

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

ID: 71064247-63c3-cb57-5f05-a1ea40b01d97
Version Independent ID: 684863fb-0302-945d-d42e-ed35f5e6269d
Content: Use network protection to help prevent connections to bad sites - Windows security
Content Source: windows/security/threat-protection/microsoft-defender-atp/network-protection.md
Product: w10
Technology: windows
GitHub Login: @denisebmsft
Microsoft Alias: deniseb

Hello, @RAJU2529
Would you please clarify your request? Which article are you referring to with "Main?" Thanks.

@e0i . we should add about Enable Network protection in the main , comes after the title .
It should not contain in related topics

( ref. #5996 )

Closing via #5996


Update podman in RHEL extras

The last available podman version in RHEL (7.6) extras is <IP_ADDRESS>, which is already almost 1400 commits behind master, and not usable (to me) in several ways, especially related to multi-stage builds (cf. containers/buildah#632, containers/buildah#1456, containers/buildah#1463).
This issue is to (publically?) track a new release to that channel, since I depend on a soonish release in that regard...
Xref: A month ago @lsm5 mentioned that

@h-vetinari: [...] when can I install something newer than podman ~0.11.1~ <IP_ADDRESS> on a RHEL 7.6 machine?

@lsm5: [...] Something newer than that will take a few weeks more I guess.

would this be more appropriate as a bugzilla?

@baude
Is this something for me to file, or more for RH-people?

@h-vetinari RHEL updates are being worked on, but that takes a while to get through the release process, and sometimes issues keep us from pushing those.  If you use CentOS, newer packages can be fetched from the SIG repos.

@lsm5: Remind me again please, are you a RHEL or CentOS user?

RHEL user, and restricted to the official channels for support reasons.

@h-vetinari thanks for reaching out on this. RHEL 7 dot release operate on a 6+ (sometimes up to 11 months) lifecycle. To solve this, we have released podman in Extras which means, we "can update more often than that, but we try to be careful doing so. Those 1200 commits can also include new bugs, so it's always a balancing act of when to make a commitment to role versions in RHEL.
That said, what features specifically are blocking your needs? I ask, because we have a plan to update the release when we release RHEL 7.7 (targeted for August) and the plan is to support Rootless in that release (hence it taking a bit longer than we would have liked).
Are you tied to RHEL 7.X or might you be able to try out RHEL 8 Beta?
One final question, do you have  TAM? Or, could you open a ticket with Red Hat because the upstream really tracks engineering changes to the actual code of Podman (aka new code), while the internal Red Hat support system helps track package updates (aka packaging).
P.S. I am the product manger for the Container Subsystem in RHEL, so I very much want to get this to you. We "like" when you use the official channels in RHEl because it helps us better support you, and provide better QE, integration support (other products, partners, etc). Feel free to reach out to me any time for packaging needs like this.
Best Regards
Scott M

@fatherlinux
Thanks a lot for the response!
I'm happy to go through whatever channels are the most appropriate, but I have the limitation that I'm not actually responsible for the RHEL infrastructure at the company, I'm just building stuff that needs podman, and am particularly hitting issues relating to multistage builds (cf. containers/buildah#632, containers/buildah#1456, containers/buildah#1463), and firewalls/packaging (#2887).
As such, I unfortunately have no choice to upgrade to 8.0 Beta (once 8.0 comes out, I'm guessing it will take 2-3 month before I can actually get it on a machine, whereas updating from extras was quite painless so far). I also don't have a TAM, but I can maybe find out who that might be for the company.
Is there a way to file something in the official channels that does not require a TAM or active subscription? If so, I'm happy to do it. If not, it'll probably take me a while to go through all the channels with local IT.

Well RHEL 8 just released. Unfortanaly the package used is 1.02-dev or something like that. Everything will work except rootless portmapping.

@michielhemme: Everything will work except rootless portmapping.

That's unfortunately not true for me. The bugs I referenced only got fixed with 1.2/1.3.

@fatherlinux , Currently RHEL8 installs podman version <IP_ADDRESS>. This version is lacking Port binding support for rootless users. Could I ask you if rootless port binding support(Podman 1.12+) will be released soon within RHEL 8? If so when?

@michielhemme There is no podman 1.12, the next release is podman 1.3.  Definitely will be in RHEL8.1 hopefully sooner.

@michielhemme @h-vetinari thank you both for you interest in podman, we are super excited about it. We are working on updating the version of podman to 1.3+ in RHEL 8.1 (November-ish) and RHEL 7.7 (August-ish). We are just coming out of two huge launches (RHEL 8.0 and OpenShift 4.0) so trying diligently to get these updated.

@fatherlinux
No chance of having a 1.3.1 "canary" in 7.6 extras before August-September...?

@h-vetinari so, I love to under promise and over deliver ;-) We were able to get Podman 1.3.1 into 7.6.5 which is impending. While I can't commit to date, we are looking green for release any day now :-) Look for the drop very soon.

@fatherlinux: [...] We were able to get Podman 1.3.1 into 7.6.5 which is impending. [...]

Wow, that is excellent news - thank you very much for your efforts!


Add endpoint to update connection by Id

Notes for Reviewers
This PR fixes #
Added PUT /api/integrations/connections/{connectionId}
Signed commits

[ ] Yes, I signed my commits.

Needs meshery cloud release ❗

Thank you for making note of this dependency.


Fixed payload mode run_command

As per issue #18 In tests on a clean install of DotNetNuke 07.03.04 the payload mode run_command did not succeed. I have updated the payload mode to fix this issue.

Thanks @GlitchWitchIO !


Vue 3 support

What are the plans for Flatpickr now that Vue3 is a thing? Is it on a roadmap?

Issue for this in vue component is here: https://github.com/ankurk91/vue-flatpickr-component/issues/198

Ah yes, I'd forgotten that it was achieved using that package. Thanks for the heads up!


Upgrades not persisting after loading save

upgrade go away after loading save

Please make sure you are on version 2.0.0 as a save system was just implemented. If you are already on version 2.0.0 then please let me know which items were purchased, their tier, if you left during orbit/in world.


#59 changed obj function to only return float

The objective functions of the calibrator returns a tuple: (total_res, unweighted objective).
ebcpy needs the obj function to return only a float, because the optimization algorithms need this.
Interestingly, this is almost not noticable. See the following code as an example:
from scipy.optimize import differential_evolution

def black_box_function(x, *args):
    """Function with unknown internals we wish to maximize.

    This is just serving as an example, for all intents and
    purposes think of the internals of this function, i.e.: the process
    which generates its output values, as unknown.
    """
    obj = -x[0] ** 2 - (x[1] - 1) ** 2 + 1
    print(f"Objective Value: {obj}")
    return (obj, 'Test')

# Bounded region of parameter space
pbounds = [(2, 4), (-3, 3)]

res = differential_evolution(
            func=black_box_function,
            bounds=pbounds,
            strategy="best1bin")

print(res)

The "black_box_function" is the equivalent of the obj function. When beeing evaluated during the optimization, this evaluates correctly (Observable prints of the values). Only at a specific time (in this case when a new population is to be created) there will be an error:
RuntimeError: func(x, *args) must return a scalar value

It is though noticable when implementing different optimization algorithms, which immediately cant handle tuple returns of the obj function. Therefore this has to be changed.
Closes #59

Thanks for noticing. You need to change the validation part as well. Maybe call the obj function using an arg with a new parameter verbose with the default being False? If this does not work maybe a class instance argument

Yes, this works.


Upgrade ruby to 2.6.5

gus

can we update the bundler version to 2.0.3 to prevent issue we were seeing w hyperion?

derp, NM, was 2.0.1 that had the issue, not 2.0.2 https://github.com/heroku/hyperion/pull/120/files


remove goroutine from a test (close #347)

Fix https://github.com/megaease/easegress/issues/347.
There was nondeterministic issue with http.Server creation and closing and sending messages.

Changing topicsPublish invocations from concurrent goroutines to sequential invocations to avoid race condition
Modify mqtt_test.go's testServer.start() to wait until the server is ready

To verify that test fails 0/30 runs :
cd pkg/object/mqttproxy
for (( i=0; i < 30; i=i+1 )); do go test | tail -n 1 | cut -c 1-4; done

and output should have only ok's.
Todo
I found new error that should be investigated
--- FAIL: TestCleanSession (0.00s)     mqtt_test.go:231: topicMgr should contain topic test/cleanSession/0 when client reconnect, but got map[]

Codecov Report

Merging #353 (e815c15) into main (23329d3) will decrease coverage by 0.09%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #353      +/-   ##
==========================================
- Coverage   80.58%   80.48%   -0.10%
==========================================
  Files          54       54
  Lines        6217     6217
==========================================
- Hits         5010     5004       -6
- Misses        942      947       +5
- Partials      265      266       +1

Impacted Files
Coverage Δ

pkg/cluster/cluster.go
48.76% <0.00%> (-1.06%)
:arrow_down:

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 698c271...e815c15. Read the comment docs.


[#97275278] Enable supplier dashboard

#97275278
Enables dashboard edit in preview, staging and production.
Add a separate feature flag for editing supplier details
Hides the "Edit" button next to the "Supplier information" and disables the /suppliers/edit page.

Do we want to do what Martyn suggested earlier and turn all the flags on everywhere?

@pcraig3 I think at this point we might as well set the feature flags as part of the go-live plan and clean up the unused once at the same time.


warn when Aspire projects opened in Visual Studio 17.8 or earlier?

Several people were using 17.8 and expecting debugging to work, but we require 17.9.
@rainersigwald is Visual Studio version available to MSBuild within VS ? I'm guessing not, but if it is, we could just do this in our own packages, perhaps. Similar to when we warn because of targeting and end of life runtime.

Not directly but you could probably condition with '$(BuildingInsideVisualStudio)' == 'true' and $([MSBuild]::VersionGreaterThanOrEquals('$(MSBuildVersion)',  '17.9.0')), since we match the VS version in major/minor (at least in customer-facing builds, there's always a few daily builds before our branding-update goes in).

That would work. @joperezr is there a good place we can put it?

Yeah, we would likely want this to be here: https://github.com/dotnet/aspire/blob/main/src/Aspire.Hosting.Sdk/SDK/Sdk.targets

We should do this in preview 2 as it's an adoption experience issue.


CircleAvatar with border

Is it possible to set a border to CircleAvatar?
How can i do ?
Thanks

Hi! would you be willing to ask this question on Stack Overflow? There's a higher chance to get an answer there, as many more of our helpful community is there.

Not currently, but we can take this as a feature request.

My hack to get done was wrap the CircleAvatar inside a Container like this:
new Container(
child: new CircleAvatar(
child: const Text('C'),
foregroundColor: Colors.white,
backgroundColor: const Colors.blue
),
width: 32.0,
height: 32.0,
padding: const EdgeInsets.all(2.0), // borde width
decoration: new BoxDecoration(
color: const Color(0xFFFFFFFF), // border color
shape: BoxShape.circle,
)
)

I'd also like elevation with shadow

Talked with @Hixie and it sounds like we should leave CircleAvatar as-is so that it continues to match the material spec.
If something similar to CircleAvatar is required then it can be built as a custom StatelessWidget without much trouble.  Container can be shaped as a circle and it includes border and shadow decorations, and also allows you to set an explicit width/height, which corresponds to the diameter of the circle. From there you can set whatever child you'd like.  You can display an avatar image, or display initials, or anything else.
Example:
new Container(
  width: diameter,
  height: diameter,
  decoration: new BoxDecoration(
    // Circle shape
    shape: BoxShape.circle,
    color: backgroundColor,
    // The border you want
    border: new Border.all(
      width: 2.0,
      color: Colors.white,
    ),
    // The shadow you want
    shadow: [
      new BoxShadow(
        color: Colors.black.withOpacity(0.2),
        blurRadius: 5.0,
      ),
   ]
  ),
  child: contentInCircle,
);

If you're not sure what the existing CircleAvatar is doing under the hood, here is the implementation:
https://github.com/flutter/flutter/blob/b83eb465fd51fedd9fabb1d2494e66e8621dc1d7/packages/flutter/lib/src/material/circle_avatar.dart
I'm going to close the ticket.  @Hixie please re-open if the decision is made to alter CircleAvatar to support a border and or shadows.

We can just do this:
CircleAvatar(
                  radius: 35,
                  child: CircleAvatar(
                    radius: 34,
                    backgroundColor: Colors.white,
                    foregroundColor: Colors.black,
                    child: Icon(
                      Icons.forward,
                    ),
                  ),
                ),

I used this to create a bordered circular image.
CircleAvatar(
backgroundColor: Colors.amberAccent,
radius: 50.0,
child: CircleAvatar(
radius: 48.0,
backgroundImage: AssetImage('assets/thumb.jpg'),
),
),

I'd also like elevation with shadow

Hello


Dan/initial fhir to parquet

This PR adds the following functionality:

Querying a FHIR server.
Reading a YAML schema config file (example in FHIR-parquet-explore/schema.yml)
Combing 1 and 2 to query a FHIR server for the resource types required for a schema, extract the specific fields necessary and write them in tabular form to parquet.

LIMITATIONS:

The approach to querying the FHIR to generate schemas is basic. Currently we are only able to request all the resources of a given type. Improving on this is definitely an area for future work.
This work only supports schemas containing tables of values from a single resource type. Generating tables that contain fields from a variety of resources types will need to be implemented in the future.

FHIR-parquet-explore/read_write_demo.py is an example of putting all of this together. It should probably move to some other location or be removed from the repo, but I thought it might be helpful for review of the rest of the code and is probably pretty close to we'll for the 6/30 VA demo.
A note on FHIR path:
Initially this work relied on code we developed to parse FHIR resources in a fairly naive homebrewed manner. Thanks to some conversations with @spencer-skylight it turns out that HL7 has released a standard for parsing FHIR resources/bundles called FHIRPath. Given the robustness of the standard we feel that relying on it for parsing instead of our own tooling is the right choice. There are a variety of implementation of the FHIRPath standard available, for the time being this work uses fhirpathpy  however a larger conversation about precisely which FHIRPath implementation we want to move forward with is probably necessary.
TO DO:

Write unit testing.
Tweak doc strings based on recent conversations.

Task linked: CU-2vdhe5d Implement Fetchers and Parsers in Schema Application

Task linked: CU-2y7qfm2 Save data exported from FHIR Server to persistent data store

Task linked: CU-2f6wwuq FHIR Tabular Export: Flatten and Explode FHIR data

As of b7caa91 unit testing exists for all new functions this PR would introduce, and all tasks in the TODO section in the initial comment of this PR have been completed.