Consider pruning corpus to speed up the Bitcoin Core CI fuzzing job?

Should we prune the corpus to get rid of large slow inputs that reach code that can be reached using smaller (and thus quicker-to-process) inputs?
The basic idea is to reduce the total size of the qa-assets inputs while keeping the same achieved coverage.
I think that might speed up the Bitcoin Core CI fuzzing job significantly.
Sounds good? Any opposition? :)
If we agree that it is a good idea I'm willing to do the job :)

Sounds good!
How would you proceed ? I would have expected merge=1 to choose the smaller input when choosing between 2 seeds with equal coverage, but maybe it's not ?

@darosior -merge=1 will never delete any files, so it cannot replace an existing big seed file with a smaller seed file that achieves the same coverage. Thus the first input in the repo that achieved a certain coverage will be kept.
What needs to be done is to create a new seed corpus from scratch by -merge:ing in the existing set of seeds together with other (potentially smaller) seeds. The idea is that this process will give a more optimal set of seeds. It will also remove duplicates (two seeds achieving the same coverage) in our repo.

Seeking input from fellow fuzzing enthusiasts: 👍 , 👎  or neutral? :)
I'm willing to do the work! :)

How are you going to ensure that coverage is measured across different architectures/operating systems when merging the inputs?

One reason not to (in general), is that the fuzzing corpus is built up through many versions the code went through, and thus may contain implicit knowledge about bugs that once existed but were fixed (not things that caused a crash; just inputs that were relevant in trigger code paths related to bugs) - which may help finding them later.
If we'd do this, I'd suggest only doing it for fuzzers whose corpus size has grown very large.
I'd also suggest doing the minimization (create empty dir, -merge=1 into it) using both binaries with and without sanitizers - they tend to have different inputs that matter to them.

Another issue to consider is how to deal with stateful logic and pruning seeds based on (line/branch) coverage. For example the script interpreter has a stack to keep state during script execution. However, coverage based fuzzers are to the best of my knowledge not aware of state and might thus prune away seeds that might be the only ones exercising a specific code path through the interpreter that is already (line/branch) covered by different seed snippets.

I agree with @MarcoFalke and @sipa - there may be interesting code paths with sanitizers or state during script execution that are pruned (I don't think any fuzzers track path coverage either!). Though maybe specifically for CI fuzzing jobs, this qa-assets/fuzz_seed_corpus directory can be slightly pruned and put in a different directory?  And fuzzing enthusiasts can run all the data at home without comprising any coverage.

Though practically, everyone is using libFuzzer to generate inputs (or similar fuzz engines that can't fully track path coverage), so I'd be surprised if path coverage decreases after cleaning  the seed files.
Now that the seed files change format occasionally, and the ci starts to reach its timeout limit when iterating over all historic seeds, we should start looking into cleaning the folder.
Keeping the historic seeds in a separate folder for now would be an option, but I don't think it matters in practice, because we all you pretty much the same fuzz engine with the same coverage statistics.

Another thought: Ideally the pruning should be reproducible, which is currently impossible because the fuzz targets don't achieve reproducible coverage.

I've noticed that with a larger in-memory corpus, libFuzzer will take up more rss, and in some cases grind to a near halt with ~1 exec/s (process_messages harness).

I've noticed that with a larger in-memory corpus, libFuzzer will take up more rss, and in some cases grind to a near halt with ~1 exec/s (process_messages harness).

We can no longer iterate over all seeds in less than 2 CPU hours, so we might have to do this soon

We can no longer iterate over all seeds in less than 2 CPU hours, so we might have to do this soon

We have accumulated quite a large number of extremely large inputs that takes ages to process due to sheer size. A lot of these inputs do not add any meaningful coverage AFAICT.
In order to get meaningful fuzzing run times I usually do …
find qa-assets/fuzz_seed_corpus/ -type f -size +1000k -delete

… before fuzzing. Where 1000k can be 100k, 10k or even 4096 (libFuzzer default) depending on how much fuzzing runtime I want to spend.
Regardless of the pruning I suggested in this issue I think we should at least kill off the "large-for-no-reason" seeds :)
WDYT? :)

We have accumulated quite a large number of extremely large inputs that takes ages to process due to sheer size. A lot of these inputs do not add any meaningful coverage AFAICT.
In order to get meaningful fuzzing run times I usually do …
find qa-assets/fuzz_seed_corpus/ -type f -size +1000k -delete

… before fuzzing. Where 1000k can be 100k, 10k or even 4096 (libFuzzer default) depending on how much fuzzing runtime I want to spend.
Regardless of the pruning I suggested in this issue I think we should at least kill off the "large-for-no-reason" seeds :)
WDYT? :)

Would be nice if someone could test #44

Would be nice if someone could test #44


the meaning of "spatial_shape" in visiblity calculation

Awesome work !
I am confused about the parameter named "spatial_shape" in ray casting method (the parameter can be found in Algorithm1 & 2 & 3) and can't find any explanation in your paper. Would you explain the meaning of this parameter?
Thanks !

OK,  I see!

Could you tell me what does spatial_shape mean?


Adding a notebook with upload to the Deci Lab - wip [ci skip]

@shaydeci @lotem-deci
This can be reviewed but can't be merged until we publish the deci-lab-client


Read all results in one call (for API responses)

The for async syntax is a nice way to hide lastEvaluatedKey/exclusiveStartKey. But when returning data from an API, it involves a clumsy need to do something like:
const items = []
for async (const item of dynamo.query(...)) {
  items.push(item)
}
return items

So I'm wondering if it would be possible to add some simple way to read all the results using a single function call? Something like:
return await readAll(dynamo.query())

I am also slightly worried about the performance implications of async iterators, if every item is resolved as a separate promise?
Btw, overall I am really excited about the whole dynamodb-data-mapper library. Having written a lot of code using AWS.DynamoDB.DocumentClient, I appreciate how this library solves many painful things in it. 👍

I agree that you shouldn't have to repeat boilerplate when using async iterators, but what would you think about instead having a function that collects an async iterator in an array, e.g.:
async function collect<T>(iter: AsyncIterator<T>): Promise<Array<T>> {
    const results: Array<T> = [];
    for await (const element of iter) {
        results.push(element);
    }
    return results;
}

That seems like the kind of utility that belongs in a lodash-style library for working with iterators and async iterators, but I'm having trouble finding something that fits that bill.

Yeah, I guess it would be typical to use a third party utility library. OTOH it would be too bad if there is no built-in way in dynamodb-data-mapper to read the whole response, because about 99% of my use cases are exactly that.

I understand what you mean, but I would be worried about providing a method that greedily scans an entire table due to the performance impact that can have on large tables with limited read capacity. The motivation behind using async iterators for querying and scanning is that you can break out of the loop at any point, and ending iteration early will cause fewer requests to be sent and less read capacity to be consumed.
I couldn't find a lodash-style utility library for working with async iterators, so I put together one that will support basic filtering, mapping, reducing, etc.. It includes a collect function that does what you're looking for:
import {DataMapper} from '@aws/dynamodb-data-mapper';
import {collect} from '@jsq/async-seq';

// ... setup code etc.

const allScannedResults: Array<MyDomainObject> = await collect(mapper.scan(params));

That may be slightly more overhead than a scanAll method, but it makes the intent clear.

This was added in 0.6.0. To get batches of results instead of an item-by-item iterator, use the .pages method of the object returned by mapper.query to get a paginator:
const paginator = mapper.query(MyClass, key, {limit: 25}).pages();

for await (const page of paginator) {
   // page is an array of records
}

Each page corresponds to a response from DynamoDB, so you may get multiple arrays back before hitting the specified limit.


Buster won't boot headless with the Sense Hat attached

https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=243949
I have a raspberry Pi 3B+ with a sense hat attached. I installed buster on a new card (enabled ssh) and it boots up with no problems if it is attached to a display. When I try to boot headlessly the Hat just lights up the rainbow and stays that way. The Pi does not seem to boot up. With the Hat off it boots headlessly and is accessible via ssh.
I have repeated this with a second sd card and on the Pi 3B+ and 2B. I have tried disabling the splash screen and graphical boot to no avail.
I have RPI 4 and have the same problem with Sense Hat. I spent hours on it.
Why there is no testing before launch?
Same thing here - I'm using a RPi 3B+ with a SenseHat attached. It won't boot Buster in headless mode, it'll only boot with a display connected. Also tried disabling splash screen and using the legacy OpenGL driver, to no avail - the Sense LED Matrix stays lit up, just like it would if I would not have any SD card inserted.
Same thing here with Sense Hat + RPi 3B+

Of course there is testing before launch. It's just that every single combination of hardware and configuration is not possible to test.
A workaround is to set a monitor resolution in raspi-config.

I had the same problem with buster RPi 4B. As @XECDesign states, doing:
$raspi-config
7 Advanced Options
A5 Resolution
DMT Mode 4 640x480 60Hz 4:3
solved the problem. Tested with:

RPi4B
2019-07-10-raspbian-buster
2019-07-10-raspbian-buster-lite


Custom model not being used in UI when modelOptions is changed in Node API setup

Title: Custom model not being used in UI when modelOptions is changed in Node API setup

Description:
I changed modelOptions.temperature to modelOptions in the Node API setup, as I wanted to use a custom model. However, when I set up a custom model via the UI in PanadoraAI, it still defaults to the 3.5-turbo model. I understand that 3.5-turbo is the fallback model, but I would like the UI to override this when the modelOptions are changed.
Steps to reproduce:

Change modelOptions.temperature to modelOptions in the Node API setup.
Set up a custom model via the UI in PanadoraAI.
Observe that the model still defaults to 3.5-turbo.

Expected behavior:
When a custom model is set up in the UI, it should use the provided model configuration as specified in the modelOptions.
Actual behavior:
Despite changing the modelOptions in the Node API setup, the UI still defaults to the 3.5-turbo model.
Additional context:
I would like the UI to reflect the custom model configuration specified in the modelOptions and not use the fallback 3.5-turbo model when I have set up a custom model.

Please let me know if there is a workaround or if this issue is being addressed in a future update. Thank you!

Did you click the save button after modifying the model?

?? Why I wouldn’t I
On Sun, Mar 19, 2023 at 4:58 PM Joel @.***> wrote:

Did you click the save button after modifying the model?
—
Reply to this email directly, view it on GitHub
https://github.com/waylaidwanderer/PandoraAI/issues/19#issuecomment-1475395351,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAO5EM6HJPQCCEYC3VB6GALW45XOTANCNFSM6AAAAAAWAGK3OU
.
You are receiving this because you authored the thread.Message ID:
@.***>

Just wanted to make sure. I tested changing the model, and it works for me.
Could you remove the perMessageClientOptionsWhitelist.chatgpt property and see if that works?

Just wanted to make sure. I tested changing the model, and it works for me.
Could you remove the perMessageClientOptionsWhitelist.chatgpt property and see if that works?

            // The default model is `gpt-3.5-turbo`.
            model: 'gpt-4',
            // Set max_tokens here to override the default max_tokens of 1000 for the completion.
            // max_tokens: 1000,
        },

seems pandaroaai isnt not overriding that default in the ui

Can you show me your node-chatgpt-api's settings.js?

Also, what version of node-chatgpt-api are you running, and how are you running the server? (e.g. using Docker, running it directly with npm start, etc.)

Also, what version of node-chatgpt-api are you running, and how are you running the server? (e.g. using Docker, running it directly with npm start, etc.)

running latest version of node-chatgpt-api
running in docker container via compose managed by portainer
settings.js - added cookie to bing, changed debug to true and removed modelOptions.temp to modelOptions
export default {
    // Options for the Keyv cache, see https://www.npmjs.com/package/keyv.
    // This is used for storing conversations, and supports additional drivers (conversations are stored in memory by default).
    // Only necessary when using `ChatGPTClient`, or `BingAIClient` in jailbreak mode.
    cacheOptions: {},
    // If set, `ChatGPTClient` and `BingAIClient` will use `keyv-file` to store conversations to this JSON file instead of in memory.
    // However, `cacheOptions.store` will override this if set
    storageFilePath: process.env.STORAGE_FILE_PATH || './cache.json',
    chatGptClient: {
        // Your OpenAI API key (for `ChatGPTClient`)
        openaiApiKey: process.env.OPENAI_API_KEY || '',
        // (Optional) Support for a reverse proxy for the completions endpoint (private API server).
        // Warning: This will expose your `openaiApiKey` to a third party. Consider the risks before using this.
        // reverseProxyUrl: 'https://chatgpt.hato.ai/completions',
        // (Optional) Parameters as described in https://platform.openai.com/docs/api-reference/completions
        modelOptions: {
            // You can override the model name and any other parameters here.
            // The default model is `gpt-3.5-turbo`.
            model: 'gpt-3.5-turbo',
            // Set max_tokens here to override the default max_tokens of 1000 for the completion.
            // max_tokens: 1000,
        },
        // (Optional) Davinci models have a max context length of 4097 tokens, but you may need to change this for other models.
        // maxContextTokens: 4097,
        // (Optional) You might want to lower this to save money if using a paid model like `text-davinci-003`.
        // Earlier messages will be dropped until the prompt is within the limit.
        // maxPromptTokens: 3097,
        // (Optional) Set custom instructions instead of "You are ChatGPT...".
        // (Optional) Set a custom name for the user
        // userLabel: 'User',
        // (Optional) Set a custom name for ChatGPT ("ChatGPT" by default)
        // chatGptLabel: 'Bob',
        // promptPrefix: 'You are Bob, a cowboy in Western times...',
        // A proxy string like "http://<ip>:<port>"
        proxy: '',
        // (Optional) Set to true to enable `console.debug()` logging
        debug: true,
    },
    // Options for the Bing client
    bingAiClient: {
        // Necessary for some people in different countries, e.g. China (https://cn.bing.com)
        host: '',
        // The "_U" cookie value from bing.com
        userToken: '',
        // If the above doesn't work, provide all your cookies as a string instead
        cookies: '',
        // A proxy string like "http://<ip>:<port>"
        proxy: '',
        // (Optional) Set to true to enable `console.debug()` logging
        debug: false,
    },
    chatGptBrowserClient: {
        // (Optional) Support for a reverse proxy for the conversation endpoint (private API server).
        // Warning: This will expose your access token to a third party. Consider the risks before using this.
        reverseProxyUrl: 'https://bypass.duti.tech/api/conversation',
        // Access token from https://chat.openai.com/api/auth/session
        accessToken: '',
        // Cookies from chat.openai.com (likely not required if using reverse proxy server).
        cookies: '',
        // A proxy string like "http://<ip>:<port>"
        proxy: '',
        // (Optional) Set to true to enable `console.debug()` logging
        debug: false,
    },
    // Options for the API server
    apiOptions: {
        port: process.env.API_PORT || 3000,
        host: process.env.API_HOST || 'localhost',
        // (Optional) Set to true to enable `console.debug()` logging
        debug: false,
        // (Optional) Possible options: "chatgpt", "chatgpt-browser", "bing". (Default: "chatgpt")
        clientToUse: 'chatgpt',
        // (Optional) Generate titles for each conversation for clients that support it (only ChatGPTClient for now).
        // This will be returned as a `title` property in the first response of the conversation.
        generateTitles: false,
        // (Optional) Set this to allow changing the client or client options in POST /conversation.
        // To disable, set to `null`.
        perMessageClientOptionsWhitelist: {
            // The ability to switch clients using `clientOptions.clientToUse` will be disabled if `validClientsToUse` is not set.
            // To allow switching clients per message, you must set `validClientsToUse` to a non-empty array.
            validClientsToUse: ['bing', 'chatgpt', 'chatgpt-browser'], // values from possible `clientToUse` options above
            // The Object key, e.g. "chatgpt", is a value from `validClientsToUse`.
            // If not set, ALL options will be ALLOWED to be changed. For example, `bing` is not defined in `perMessageClientOptionsWhitelist` above,
            // so all options for `bingAiClient` will be allowed to be changed.
            // If set, ONLY the options listed here will be allowed to be changed.
            // In this example, each array element is a string representing a property in `chatGptClient` above.
            chatgpt: [
                'promptPrefix',
                'userLabel',
                'chatGptLabel',
                // Setting `modelOptions.temperature` here will allow changing ONLY the temperature.
                // Other options like `modelOptions.model` will not be allowed to be changed.
                // If you want to allow changing all `modelOptions`, define `modelOptions` here instead of `modelOptions.temperature`.
                'modelOptions',
            ],
        },
    },
    // Options for the CLI app
    cliOptions: {
        // (Optional) Possible options: "chatgpt", "bing".
        // clientToUse: 'bing',
    },
};

Can you try setting perMessageClientOptionsWhitelist just like this? Curious if that has any effect.
perMessageClientOptionsWhitelist: {
    validClientsToUse: ['bing', 'chatgpt', 'chatgpt-browser'],
},

Can you try setting perMessageClientOptionsWhitelist just like this? Curious if that has any effect.
perMessageClientOptionsWhitelist: {
    validClientsToUse: ['bing', 'chatgpt', 'chatgpt-browser'],
},

yeap that fixed the issue for me, changing the model back and forth works and reflects in api via pandora

Okay, we can rule that out as an issue with Pandora AI. I'll transfer this issue to node-chatgpt-api.
One last thing, can you rebuild the docker image/container completely (after you change the settings back to the way it was before) and see if that helps at all? Just want to rule out that you're running an older version, as someone else had an issue where they pulled the latest version but their docker image was still on the older version.


Select path where download file

Hi
i want to know if there is a way to choose a path where download the torrent.
If there is , can you explain me with some examples.
Thank you
Riccardo

If you're using the library, you can specify the path in the opts, the default path is /tmp/webtorrent.
See https://github.com/feross/webtorrent#clientaddtorrentid-opts-function-ontorrent-torrent-
If you're using the CLI, you can specify the download path using the -o / --out option and supply a path.

Yep, what @gillesdemey said.
webtorrent "magnet-link" --out /path/to/folder


clean up Dialect-specific lock syntax code (H6)

This code was very convoluted and difficult to follow and had multiple bugs.
Also it did not support the WAIT n syntax on MariaDB.
Note that I worked from the documentation here, and I have not tested this code on MariaDB!

@dreab8 Even if I can't guarantee that this code isn't quite perfect and has zero bugs, I doubt it has more bugs than the current code, which must have grown organically over lots of tiny commits and must never have been properly reviewed as a whole. If it passes the CI build, I recommend integrating it.

Thanks @gavinking applied upstream!

Cheers￼


Create an installer on windows to allow easy PyMoDAQ testing by newcomers not familiar with environments/git

See this page for an interesting discussion on the topic: https://blog.kowalczyk.info/article/8nqb/writing-a-custom-installer-for-windows-software.html

and this: https://nuitka.net/

what about plugings ? Should we add them all ?
Can we add python packages ?
Can we use pip install -e . ?

the installer would also install the plugin manager and start it to allow the user to pick the plugins he want.
Maybe we could create a more general interface, allowing to start:

standalone control modules
h5browser
dashboard
plugin manager
plugin template manager (work on progree by @Ashwolaa on #411


Resource not found: The following package was not found

Hi, happy new year
I have an question in roslaunch error.
I got an error while running your package :
Resource not found: The following package was not found in : assembly_env_description
how can i fix it?
regards,
thanks

Hi,
You can find the package here[https://github.com/psh117/assembly_env_description/]
If you have more question, please leave some message here.
Best wishes,

Thanks for leaving a comment.
However, this time a different problem arose.
The following problem occurred:
Errors     << assembly_dual_controllers:make /home/shin/catkin_ws/logs/assembly_dual_controllers/build.make.000.log
In file included from /home/shin/catkin_ws/src/assembly_dual_controllers/src/servers/assemble_GMM_spiral_action_server.cpp:1:0:
/home/shin/catkin_ws/src/assembly_dual_controllers/include/assembly_dual_controllers/servers/assemble_GMM_spiral_action_server.h:4:10: fatal error: assembly_msgs/AssembleGMMDualArmSpiralAction.h: No such file or directory
#include <assembly_msgs/AssembleGMMDualArmSpiralAction.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/assembly_controller_common_lib.dir/src/servers/assemble_GMM_spiral_action_server.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/assembly_controller_common_lib.dir/all] Error 2
make: *** [all] Error 2
"AssembleGMMDualArmSpiralAction.h" file does not exist.....
How can i fix it?
Best regards,


Fibonacci sequence

Enter your question -
Make the Fibonacci sequence. It consists of a series of natural numbers that are added by 2, starting from 0 and 1 (the Fibonacci sequence is carried out by always adding the last 2 numbers), like that:
0,1,1,2,3,5,8,13,21,34...
Enter link to the question(if question belongs to any online platform) -
Your answer
Tags for the question(eg - Array, Basic, Stack, etc.) -
Basic, Conditionals

@MiryamVicente,
Kindly add your solution to "Basic Codes" folder.
Deadline - 08/10/2021
This Issue will only be counted towards ranking criteria of this repository.
Gentle advice for futher Issues -
A bit more questions will be given preference for Hacktoberfest tag.


Product switcher on mobile

Description
My Products label in popover menu is not aligned with its icon. This bug will be fixed in another PR.
The version of Product Switcher depends on which link was clicked to open it. This means it's dependent on the fact if shellbar is collapsed or not, not on a viewport size directly. With this approach, the Product Switcher won't be damaged by any further changes in shellbar's behaviour and the situation with having desktop menu and mobile Product Switcher (and opposite) is impossible.
Changes proposed in this pull request:

add a link to mobile popover menu that opens mobile Product Switcher
manage Product Switcher being desktop or mobile with Svelte state (not CSS)
add a template for mobile Product Switcher
add custom styles for full-width modal and list inside it (see this)
write mobile e2e tests

Related issue(s)

please take a look at my comment above:

Shouldn't the mobile product switcher be closed after clicking on one of the elements? It seems more natural for me, rather than having to click on the item and then closing product switcher.


Explain what is inside resources.repositories context

This is somehow related to Getting ref of non-self repo causes exception but it touches the issue from broader context. It would be good if someone explain what information and how can we get from  resources.repositories context as the example given in docs produces error on validatin pipeline.

@msebolt I just wonder if there is a chance to reach someone who may help with this. I'm keen to write documentation, however there is no public knowledge about this areas. I was trying to figure out what is avialable in this context, but
- script: env | sort

gave me nothing. Ideally it would be to get info like this regarding dependencies:
"dependencies": {
  "<STAGE_NAME>" : {
    "result": "Succeeded|SucceededWithIssues|Skipped|Failed|Canceled",
    "outputs": {
        "jobName.stepName.variableName": "value"
    }
  },
  "...": {
    // another stage
  }
}

@kmadof I am looking into this (and also your related PR) - I was able to successfully run the example, here is my sample pipeline that worked. I am reading the ref from:

An Azure Repos git repository in the same project
An Azure Repos git repo in a different project in the same org
An Azure Repos Git in a different org (using a service connection)
A GitHub repo using a service connection

Looking at my sample pipeline, I can't see anything different than what you have, can you spot a difference? That might help us to figure out why it is failing for you.
resources:
  repositories:
  - repository: dotnettools # In a different organization
    endpoint: contoso-ltd3
    type: git
    name: MyFirstProject/contoso-demo
    trigger:
    - '*'
  - repository: ff
    type: git
    name: FabrikamFiber/FabrikamFiber # same project
    trigger:
    - '*'
  - repository: FabrikamRepoAccessTest
    type: git
    name: FabrikamRepoAccessTest/FabrikamRepoAccessTest # different project same org
    trigger:
    - '*'

  - repository: pipelines-xamarin
    endpoint: github.com-xamarin-pipelines
    type: github
    name: MicrosoftDocs/pipelines-xamarin

variables:
  ff.ref: $[ resources.repositories['ff'].ref ]
  dt.ref: $[ resources.repositories['dotnettools'].ref ]
  px.ref: $[ resources.repositories['pipelines-xamarin'].ref ]
  fr.ref: $[ resources.repositories['FabrikamRepoAccessTest/FabrikamRepoAccessTest']. ref]
  isMain: $[eq(resources.repositories['FabrikamRepoAccessTest/FabrikamRepoAccessTest'].ref, 'refs/heads/master')]

# run!!
trigger:
- '*'

pool:
  vmImage: 'ubuntu-latest'

steps:
- checkout: self
- checkout: dotnettools
- checkout: FabrikamRepoAccessTest
- script: echo Hello, world!
  displayName: 'Run a one-line script'

- script: |
    echo Add other tasks to build, test, and deploy your project.
    echo See https://aka.ms/yaml
  displayName: 'Run a multi-line script'

- bash: |
    echo "FF version: $FF_REF"

- bash: |
    echo "DT version: $PX_REF"

- bash: |
    echo "PX version: $DT_REF"

- bash: |
    echo "FR version: $FR_REF"

- bash: |
    echo "IsMain: $ISMAIN"

@steved0x Thanks for taking a look on this. I tested again my code and now it works without any change! This is really strange as it was experienced not only by me. Still thanks for your time!

@steved0x Thanks for taking a look on this. I tested again my code and now it works without any change! This is really strange as it was experienced not only by me. Still thanks for your time!

@kmadof I am glad it starting working although these issues are very puzzling. I am making a note of this in case it ever pops up again. Thank you for letting us know and Happy New Year!

@kmadof I am glad it starting working although these issues are very puzzling. I am making a note of this in case it ever pops up again. Thank you for letting us know and Happy New Year!


Groq API does not work.

No idea where it gets that URL-path, but it's not correct. I can't find it in the code.
INFO - HTTP Request: POST https://api.groq.com/openai/v1/openai/v1/chat/completions "HTTP/1.1 404 Not Found"
ERROR - Failed to generate response: Error code: 404 - {'error': {'message': 'Unknown request URL: POST /openai/v1/openai/v1/chat/completions. Please check the URL for typos, or see the docs at https://console.groq.com/docs/', 'type': 'invalid_request_error', 'code': 'unknown_url'}}
INFO - Response: Error in generating response

The Groq-Module is being used, so it does not need to use the alternative URL for OpenA-Compatibility.
And even if, the URL should be https://api.groq.com/openai/v1.

Documentation:
https://console.groq.com/docs/openai

Something is fishy here.

My workaround for now is using the OpenAI-method and changing the base_urlto the compatible URL from GROQ.

Added "base_url" in voice_assistant/response_generation.py.

    try:
        if model == 'openai':
            client = OpenAI(api_key=api_key, base_url="https://api.groq.com/openai/v1") # !Added the base_url here!
            response = client.chat.completions.create(
                model=Config.OPENAI_LLM,
                messages=chat_history

Made significant changes in voice_assistant/config.py.

    # Model selection
    TRANSCRIPTION_MODEL = 'deepgram'  # possible values: openai, groq, deepgram, fastwhisperapi
    RESPONSE_MODEL = 'openai'  # !CHANGED THIS TO OPENAI.
    TTS_MODEL = 'deepgram'  # possible values: openai, deepgram, elevenlabs, melotts, cartesia

    # currently using the MeloTTS for local models. here is how to get started:
    # https://github.com/myshell-ai/MeloTTS/blob/main/docs/install.md#linux-and-macos-install

    # LLM Selection
    OLLAMA_LLM="llama3:8b"
    GROQ_LLM="llama3-8b-8192"
    #OPENAI_LLM="gpt-4o"
    OPENAI_LLM="llama3-8b-8192" # !CHANGED THE MODEL HERE TO A GROQ-MODEL.

    # API keys and paths
    #OPENAI_API_KEY = os.getenv("OPENAI_API_KEY")
    OPENAI_API_KEY = os.getenv("GROQ_API_KEY") # !ENTERED THE GROQ-API-KEY AS THE OPENAI-KEY.
    GROQ_API_KEY = os.getenv("GROQ_API_KEY")
    DEEPGRAM_API_KEY = os.getenv("DEEPGRAM_API_KEY")
    ELEVENLABS_API_KEY = os.getenv("ELEVENLABS_API_KEY")
    LOCAL_MODEL_PATH = os.getenv("LOCAL_MODEL_PATH")
    CARTESIA_API_KEY = os.getenv("CARTESIA_API_KEY")

This way I don't use the GROQ-Module. I use the OpenAI-Module in compatibility-mode from Groq.
I am currently using Python 3.12.3.

requirements.txt

deepgram-sdk==3.2.7
groq==0.8.0
openai==1.30.1

Maybe something wrong in the Groq-Module version I am using.
It works this way.
I still have no idea why it does not work with the Groq module.

@mmuyakwa seems like since everyone is following the Openai standard, it might be just easier to move to use the openai client like you did the integration and just provide the base_url. even google is doing that now with gemini.


Correct typo in original article "Qualifier" -> "@Qualifier"

In the aricle describing multiple datasources:
https://www.baeldung.com/spring-boot-configure-multiple-datasources
a typo is in the block, so the code does not compile, missing an @ sign. See here:
"5. Spring Data JPA"
...
So, we need to declare EntityManager factories for each data source:
here
make "Qualifier" -> "@Qualifier"

Hey, @TeaTiMe08.
Thanks for the feedback.
We'll update the article to fix this.


MAINT: split bootstrap and theme styling

Fix #142
I actually need help on this one.
What I did:

create 2 entry points for our webpack file so that bootstrap and pydata-sphinx-theme are both in separate files.
improve the code of the webpack file
remove import to bootstrap in the former "index.js"
remove bootstrap code from "index.js"

My problem:

[x] do we need all the bootstrap variables in the pydata-sphinx-theme.scss ?
[x] why is the bootstrap.css no available in the readthedoc build when it works just fine on my local build ?

If anyone is ready to give me a hand that would be much appreciated

So maybe that needs to be modified to tell it to include the bootstrap JS/CSS as well? (I think it automatically picks up the pydata-sphinx-theme.css file because of the configuration in theme.conf.

nice catch I needed to add the bootstrap .js and .css

anything else you are looking to do here?

@choldgraf, nope it's waiting to be merged

I think once the merge conflict is fixed we are good to go 👍

woot - many thanks @12rambau :-)


[Xcode] Set an explicit iOS deployment target for llbuild.

iOS 9.0 is the oldest version supported by Xcode 13, so this commit sets the deployment target to that.
In support of this, added a missing availability check since iOS now back-deploys instead of deploying to the latest OS only.
This is for rdar://problem/84568181.

@swift-ci Please smoke test

@swift-ci Please smoke test


Adapter Netlify - Endpoint Callbacks not running after return

Describe the bug
When using adapter-netlify, if you have an endpoint that creates a callback for example setTimeout and the request function returns, the callback is never executed unless another request happens, further info is in Reproduction.
When using adapter-node, preview or dev the callback always happens, even if the function returned
Reproduction
In the example below console.log('request') runs fine, but the timeout / console.log('1 Second passed') doens't run until another request happens
function delayed() {
    console.log('1 Second passed')
}

export async function get({ body }) {
    console.log('request')
    setTimeout(delayed, 1000)
    return {
	status: 200
    };
}

the entire example project can be found here
https://github.com/JeremyMoeglich/adapter_netlify_callback-issue
here are the netlify logs of the example:
4:20:23 PM: 4f51a1da Duration: 8.13 ms	Memory Usage: 55 MB	Init Duration: 174.87 ms
4:20:36 PM: 679caf05 INFO   request
4:20:36 PM: 679caf05 Duration: 4.20 ms	Memory Usage: 55 MB
4:20:52 PM: 679caf05 INFO   1 Second passed
4:20:52 PM: 86ada5d1 INFO   request
4:20:52 PM: 86ada5d1 Duration: 2.43 ms	Memory Usage: 55 MB

Logs
No response
System Info
System:
    OS: Windows 10 10.0.22000
    CPU: (16) x64 AMD Ryzen 7 2700X Eight-Core Processor
    Memory: 17.56 GB / 31.92 GB
Binaries:
    Node: 16.8.0 - C:\Program Files\nodejs\node.EXE    Yarn: 1.22.10 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 7.21.0 - C:\Program Files\nodejs\npm.CMD
Browsers:
    Edge: Spartan (44.22000.120.0)
    Internet Explorer: 11.0.22000.120
npmPackages:
    @sveltejs/adapter-netlify: ^1.0.0-next.33 => 1.0.0-next.33
    @sveltejs/kit: next => 1.0.0-next.184
    svelte: ^3.43.2 => 3.43.2

Severity
serious, but I can work around it
Additional Information
No response

This sounds like a usage issue to me and not a bug in SvelteKit. In dev mode or adapter-node there's a long-running process. Probably with Netlify the request handler doesn't stick around the same way. That's nothing SvelteKit could change, but just a property of that platform. setTimeout seems to be recommended against: https://www.reddit.com/r/aws/comments/iqb1lk/does_lambda_have_an_issue_with_settimeout/. I don't know exactly what you're trying to accomplish, so can't give more advice than that


Changed popup content

@smadha @chrismattmann
As per our discussion I've added the code for the popup content to show more metadata fields. I think the code is very self explanatory.
As of now I've hard coded the fields here. We will have to change this so as to get the metadata fields from the solr index.
Also, I've added a simple UI in the index.html file here for the metadata fields.
Let me know if you have any doubts.

super awesome.
Thanks a lot @antrromet I will add code to save/pull metadata fields to/from the admin core.
Thanks for contribution.

please merge :+1:

@antrromet I merged your changes but there are some issues with it.
Seems like there is no cross domain support. Error on js console -
Failed to load resource: the server responded with a status of 404 (Not Found)
XMLHttpRequest cannot load http://localhost:8983/solr/new_core//select?q=id:%22undefined%22&wt=json&indent=true. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:8000' is therefore not allowed access. The response had HTTP status code 404.

Also can you make it fail safe? so even if we are not able to fetch fields from index we still see the old popup?
@MBoustani Lets not redeploy till this is fixed.

I fixed the fail safe part. 8f7035d
Also I will suggest using jsonp for this. I saw you used XMLHttpRequest, I will recommend using jquery ajax with datatype "jsonp".
I this this is how it's done in facetview. https://github.com/chrismattmann/facetview/blob/master/jquery.facetview.js#L1364
Key is jsonp: "json.wrf"
Let me know if you think otherwise

@smadha Oops. I guess am a little late. Even I did the exact same thing and made another [pull request] (https://github.com/MBoustani/GeoParser/pull/61). That can be ignored now.


examples: make Flatcar channels explicit

If Flatcar channels are not explicit, it is difficult for the user to find out how to change them. It also makes it less likely to forget to change it in the worker pool section.
Also fix a typo in the configuration.

Updated.


Feat:  updating inedex.html

Describe the feature
Use more semantic HTML elements for better structure and accessibility.
Add meta tags for SEO and social media sharing
Add ScreenShots
HTML document will be more accessible, maintainable, and optimized for both users and search engines.
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[ ] I'm a VSoC'24 contributor
[X] I want to work on this issue

@AKSHITHA-CHILUKA, check the previous reply on your PR and issue as well. I noticed that you create issues and PRs directly, which doesn't make any sense. Thank you.


adapta-gtk-theme: <IP_ADDRESS> -> <IP_ADDRESS>

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/adapta-gtk-theme/versions.
meta.description for adapta-gtk-theme is: '"An adaptive Gtk+ theme based on Material Design Guidelines"'.
Release on GitHub
Compare changes on GitHub

Checks done (click to expand)

built on NixOS

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

directory tree listing: https://gist.github.com/7ad2b48f741a46ed3c2b8d52d9259905

du listing: https://gist.github.com/f638e95f90c90295f04767b54f591928

Instructions to test this update (click to expand)

One-time optional setup to skip building using Cachix:

Install cachix from https://cachix.org/
Use r-ryantm's cache:cachix use r-ryantm

Test this update by entering a nix shell, seeing what is inside the
result, and if applicable, running some binaries:
nix-shell --pure -I nixpkgs=https://github.com/r-ryantm/nixpkgs/archive/c8426572098a26fc3d6b80b6f45d9b41176ee0a7.tar.gz -p adapta-gtk-theme
ls -la /nix/store/g3yrl0v5fmd41z09alngi9skr4j4c9lg-adapta-gtk-theme-<IP_ADDRESS>

cc @romildo for testing.

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: adapta-gtk-theme
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Attempted: adapta-gtk-theme
Partial log (click to expand)
make[3]: Leaving directory '/build/source'
make[2]: Leaving directory '/build/source'
make[1]: Leaving directory '/build/source'
glibPreFixupPhase
glibPreFixupPhase
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/ljggy46hgmv7477wl117xzp3p2wca6nd-adapta-gtk-theme-<IP_ADDRESS>
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/ljggy46hgmv7477wl117xzp3p2wca6nd-adapta-gtk-theme-<IP_ADDRESS>
checking for references to /build in /nix/store/ljggy46hgmv7477wl117xzp3p2wca6nd-adapta-gtk-theme-<IP_ADDRESS>...

Timed out, unknown build status on aarch64-linux (full log)
Attempted: adapta-gtk-theme
Partial log (click to expand)
[2422/3019] Building CXX object Source/WebKit/CMakeFiles/WebKit.dir/Shared/PlatformPopupMenuData.cpp.o
[2423/3019] Building CXX object Source/WebKit/CMakeFiles/WebKit.dir/Shared/API/APIURLRequest.cpp.o
[2424/3019] Building CXX object Source/WebKit/CMakeFiles/WebKit.dir/UIProcess/API/C/WKDownload.cpp.o
building of '/nix/store/ag8i6xmbh8rbsril8wskwvhr922bz9xg-webkitgtk-2.20.5.drv' timed out after 3600 seconds
cannot build derivation '/nix/store/i9rywkd60lrybvjqzjxsjdzxirdvvgvb-gnome-online-accounts-3.28.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/gcbl88nr7k7gmxlxjvqbvgwg3dh22wmd-libgdata-0.17.9.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/nyaqyzng9dfidf03zpyhv8yxxa4n89hb-evolution-data-server-3.28.5.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/n6k6c3cn194s95pm4m85r6mlsslcl02q-gnome-shell-3.28.3.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/7rx28igyjpz3i6681nw2vhi1hvpy9snw-adapta-gtk-theme-<IP_ADDRESS>.drv': 1 dependencies couldn't be built
error: build of '/nix/store/7rx28igyjpz3i6681nw2vhi1hvpy9snw-adapta-gtk-theme-<IP_ADDRESS>.drv' failed


Fix website compile error

Description
Content1 ...
Content2 ...
Content3 ...

This PR has:

[ ] been self-reviewed.

[ ] concurrent read
[ ] concurrent write
[ ] concurrent read and write

[ ] added documentation for new or modified features or behaviors.
[ ] added Javadocs for most classes and all non-trivial methods.
[ ] added or updated version, license, or notice information
[ ] added comments explaining the "why" and the intent of the code wherever would not be obvious
for an unfamiliar reader.
[ ] added unit tests or modified existing tests to cover new code paths, ensuring the threshold
for code coverage.
[ ] added integration tests.
[ ] been tested in a test IoTDB cluster.

Key changed/added classes (or packages if there are too many classes) in this PR

Coverage decreased (-0.001%) to 51.88% when pulling 24375f6b0ec38d0c85f918d27b23996bf7c508dd on HTHou-patch-1 into 6f0b2f6da8042aaefa2bd420cc45a9d43d41ade5 on master.


Cmake buildtree package

This PR adds support for the swift build system generating a build-tree package configuration file compatible with CMake's find_package function. This build-tree package allows downstream projects like LLDB to import Swift's targets directly and have transitive link dependencies automatically handled by CMake. This will allow LLDB to stop linking all of swift's archives blindly and it will allow LLDB to stop using linker groups which is inefficient and can bloat binary size.

@swift-ci please smoke test and merge


do not process updates when img == True

if you process updates when img == True, you end up with multiple RunnerBooks per runner.

Coverage decreased (-0.04%) to 93.15% when pulling 68039e90fd3dbc195d2162e3e7f8e06683efb32e on ged28x:master into aab1763722a1bc0f1940015bcb9648aacf6e7ae7 on liampauling:master.

As discussed we can’t make this change due to it impacting the live market stream and data that is recorded manually. I see two options:

Create your own stream class with the above, sub class the listener and add_stream function to use this new stream class.

We update the base listener to use a different stream class when processing historical data, although as mentioned I will push back on this due to this issue only being present in the crappy data betfair provides.


Tests seem to fail but build passes

This https://ci.vmware.run/vmware/docker-volume-vsphere/1500 is the most recent build of master and it passed but upon inspection of logs it looks like there was a failure.
If this is a negative test and is expected to fail, let's print that before the test.
OK
Running unit tests in /tmp/vmdk_ops_unittest22639/vmdkops_admin_test.py...
.ERROR:root:Failed to decode meta-data for /vmfs/volumes/575db611-d1ad6cf9-0c74-000c29e3609e/dockvols/volP10.vmdk
Traceback (most recent call last):
  File "/usr/lib/vmware/vmdkops/Python/kvESX.py", line 249, in load
    return json.loads(kv_str)
  File "/build/mts/release/bora-3620759/bora/build/esx/release/vmvisor/sys-boot/lib/python2.7/json/__init__.py", line 338, in loads
  File "/build/mts/release/bora-3620759/bora/build/esx/release/vmvisor/sys-boot/lib/python2.7/json/decoder.py", line 366, in decode
  File "/build/mts/release/bora-3620759/bora/build/esx/release/vmvisor/sys-boot/lib/python2.7/json/decoder.py", line 384, in raw_decode
ValueError: No JSON object could be decoded
........................

@kerneltime
This is a leftover from a previous CI run that failed with the kv - issue #626, which also affects the master branch.
Needs manual cleanup, the current code (removeVMDK) will fail deleting this volume.

Hmm.. there is still the question of why the unit test is failing and the build is passing..

There's more info and a workaround in #612

@kerneltime  - do we still have this Issue ? It looks like the root cause was already addressed...

@kerneltime / @msterin : can this be closed?
FYI: We have never experienced the reported issue in past 2 months.
//CC @pdhamdhere


HDDS-4590. Duplicate dependency hadoop-hdds-hadoop-dependency-server in datanode

What changes were proposed in this pull request?
Remove duplicate dependency on hadoop-hdds-hadoop-dependency-server from hadoop-ozone/datanode.
https://issues.apache.org/jira/browse/HDDS-4590
How was this patch tested?
Regular CI:
https://github.com/adoroszlai/hadoop-ozone/actions/runs/422492007
No warning here:
https://github.com/adoroszlai/hadoop-ozone/runs/1555113377#step:6:13

Thank You @adoroszlai for the contribution and @ayushtkn for the review

Thanks @ayushtkn for the review, @bharatviswa504 for reviewing and committing it.


Update doc: new step required when adding a grammar

This pull request updates the CONTRIBUTING.md doc with the new step required when adding a grammar, as discussed in #2961.

👍 thanks.


iam.Policy toString and unchanged

I think there are 2 problems here:

Using a route53.Zone.zoneId in another resource didn't resolve it ( should it? )
Updating the resource with .apply syntax didn't trigger an update

I have the following iam.Policy defined:
  const iamPolicy = new aws.iam.Policy(
    infrastructure.generateResourceName("external-dns"),
    {
      policy: {
        Version: "2012-10-17",
        Statement: [
          {
            Effect: "Allow",
            Action: ["route53:ListHostedZones"],
            Resource: ["*"],
          },
          {
            Effect: "Allow",
            Action: [
              "route53:GetHostedZone",
              "route53:ListResourceRecordSets",
              "route53:ChangeResourceRecordSets",
            ],
            Resource: [
              `arn:aws:route53:::hostedzone/${infrastructureDns.zone.zoneId}`,
            ],
          },
        ],
      },
      path: "/",
    }
  );

This resulted in a Policy being created that looked like:
            "Effect": "Allow",
            "Resource": [
                "arn:aws:route53:::hostedzone/Calling [toString] on an [Output\u003cT\u003e] is not supported.\n\nTo get the value of an Output\u003cT\u003e as an Output\u003cstring\u003e consider either:\n1: o.apply(v =\u003e `prefix${v}suffix`)\n2: pulumi.interpolate `prefix${v}suffix`\n\nSee https://pulumi.io/help/outputs for more details.\nThis function may throw in a future version of @pulumi/pulumi."
            ]
        }

I didn't expect this to be a problem inside of another reosurce. Regardless, I changed the policy to be:
  const iamPolicy = new aws.iam.Policy(
    infrastructure.generateResourceName("external-dns"),
    {
      policy: {
        Version: "2012-10-17",
        Statement: [
          {
            Effect: "Allow",
            Action: ["route53:ListHostedZones"],
            Resource: ["*"],
          },
          {
            Effect: "Allow",
            Action: [
              "route53:GetHostedZone",
              "route53:ListResourceRecordSets",
              "route53:ChangeResourceRecordSets",
            ],
            Resource: [
              `arn:aws:route53:::hostedzone/${infrastructureDns.zone.zoneId.apply(zoneId => zoneId)}`,
            ],
          },
        ],
      },
      path: "/",
    }
  );

This returned "N resources unchanged" when applied.

As soon as I filed this, I think I realised what was wrong
It should be [ pulumi.interpolate arn ...${zoneId}]` because it's within backticks initially.
Doh


Added queue implementation in Python

If you appreciate my work, please 🌟 this repository. It motivates me. 🚀

@Ayon-SSP I renamed the file name and modified the file path to match the expectations.


Update build tools to 25.0.3

@afollestad Please also push the tag for <IP_ADDRESS>. Thanks :+1:

@friederbluemle what for?

I noticed <IP_ADDRESS> was already released, but doesn't show here: https://github.com/afollestad/material-dialogs/releases


fix: options constraint has wrong type definition

Summary
Apply correct type definitions for the constraints argument in the options function.
Fixes #1939
Requirements (place an x in each [ ])

[x] I've read and understood the Contributing Guidelines and have done my best effort to follow them.
[x] I've read and agree to the Code of Conduct.

I've changed this PR to draft state. We're still trying to understand what this PR could resolve. Please refer to https://github.com/slackapi/bolt-js/issues/1939 for the discussion.

Hey @seratch! Sorry for being super late on the update here, just got back from a lengthy vacation :D
I made the changes you asked for!

I just merged the missing change in OptionsConstraints interface part. Once the CI builds pass, we'll merge this PR.


How to redirect houndd links to the correct git address.

Hi all,
I've been using Hound for a while locally, but now need to allow the rest of the team to use/search with it.
So I have Bonobo Git Server installed and running on IIS on Windows 7.
The problem I have is that although Hound can index the git repository just fine from this link:
http://gra0387af/Bonobo.Git.Server/CM.git
When I click a link to a particular file in Hound it attempts to navigate to:
http://gra0387af/Bonobo.Git.Server/CM/blob/master/home/cm/abstract/ifc/export/testMesh.cm
which results in a 404 error.
The path that it ought to be using is:
http://gra0387af/Bonobo.Git.Server/Repository/CM/master/Blob/home/cm/abstract/ifc/export/testMesh.cm
Which as you can see is subtly different.
Is this an issue with Hound or my IIS implementation and how do I fix either/both?
Thanks,
Alex.

Hmmm, okay.
That was relatively painless to solve by following the help here.
Basically I set up IIS as per this screenshot:

And after restarting IIS, clicking any of the links Hound produces now yields the correct result.
I'll mark this as closed but keep it here as it may be useful (to me & others?) in future,
Cheers,
Alex.


Removed hardcoded projects in favor of data driven ones

Thanks for the theme.
I've been doing some modifications to mine that you might be interested in.
I've kept this PR small but it should be enough to see where I'm heading. If you like this and merge I'll move on to doing other sections as well.
Benefits

Easier to read HTML and to add or remove content
jekyll serve --watch reloads to changes in the '_data' folder

Thanks for improving this theme.
It's very useful for optimising the project,of course you can doing on other sections and I will edit other pages in this way as well.
Later I will add introduction in README.


payload binding

Is possibile to handle the update of only some item attributes and not entire item???

Hi @FunnyDevs,
I don't think it could be done at the library level. At least it would be pretty hard and, in my opinion, not so useful. Can you show me a good use case for this situation?
What you could do is to add another version of your model classes with only the fields you want to keep updated and put those classes' objects in the ObservableList, instead of the original ones.

I show you my situation: i have a list with some content and user thumbnail; if i change my user picture, i would like to change only the user thumbnail without rebind entire model.

Is it because of some transitions or something like that? I don't think it is a big deal to rebind the entire object.

Some elements of the list have a video content with autoplay and so, rebinding entire object, the videos lose their state

Ok, it looks like a good reason. But, as I said, it won't be easy to include in the library, if even possible.
However, I think you can achieve what you want by not using data binding for this particular view in your layout. Instead, use the .onBindListener method of LastAdapter to manually update its value when you consider it should be done.

mmm ok, but how i can do this? only removing "<layout"> from the xml and handle from bindlistener?

No, you need that <layout> tag.
Let's say your VideoItem class has two fields: String videoTitle and String videoUrl. Then, you have to do something like this:
<layout>

	<data>
		<variable name="item" type="...VideoItem" />
	</data>

	<LinearLayout ...>

		<!-- You are using Data Binding for this TextView -->
		<TextView ...
<EMAIL_ADDRESS>/>

		<!-- you DO NOT use Data Binding (the<EMAIL_ADDRESS>thing) here -->
		<YourVideoView ...
			android:id="@+id/videoView" />

	</LinearLayout>

</layout>

LastAdapter.with(yourListOfItems, BR.item)
		.map(VideoItem.class, R.layout.item_video)
                .onBindListener(new LastAdapter.OnBindListener() {
                    @Override
                    public void onBind(@NotNull Object item, @NotNull View view, int type, int position) {
                    	if (item instanceof VideoItem && type == R.layout.item_video) {
                    		VideoItem videoItem = (VideoItem) item;
                    		ItemVideoBinding itemVideoBinding = DataBindingUtil.getBinding(view);

                    		// the title is already bound
                    		// you manually bind the videoView the way you want:
                    		itemVideoBinding.videoView.setVideoUrl(videoItem.videoUrl); // ??
                    	}
                    }
                })
                .into(list);

ok, it all makes perfect sense to me now. Thank you!

You are welcome :)


ISPN-6436 Overriding the name of an indexed property is not supported with DSL query

https://issues.jboss.org/browse/ISPN-6436
https://issues.jboss.org/browse/ISPN-6508

There some familiar commits in this PR, should it be rebased on master instead?

I'll rebase. I thought I already did that...

Not sure why github.com UI shows more commits. Should be only 2. Pls fetch again.

Now it looks ok. Only 2 commits.

Only some small picky issues. Otherwise looks ok to me.

Fixed all.

Updated.

Rebased.

pulling

merged, thanks @anistor !


Lack of n4.yaml file

Running the code directly gives FileNotFoundError: [Errno 2] No such file or directory: '.../TaxAI/cfg/n4.yaml'

In taxing_gov.py#L36, changing yaml_path = os.path.join(CURRENT_PATH, 'TaxAI/cfg/n4.yaml') to yaml_path = os.path.join(CURRENT_PATH, 'Competition_TaxingAI/TaxAI/cfg/n4.yaml') solves the problem.


Cargo cult agoric-sdk #2549

There's a bug in acorn7 that's interfering with SES and is fixed in acorn8. However, there's no good way to force all acorn linkage to link with at least acorn8, so in the meantime we're patching as in https://github.com/Agoric/agoric-sdk/pull/2549
However, SES-shim has no such patches or patches directory,  I don't know what configuration magic enables patch files like this to work. So I'm starting by just cargo culting https://github.com/Agoric/agoric-sdk/pull/2549 and hoping for the best.

To make this work, you'll also have to cargo-cult the patch-package references (aka. configuration magic) from agoric-sdk/package.json.
patch-package is a really useful tool that @kumavis pointed us at.

like this, I think: https://github.com/Agoric/SES-shim/pull/589/files

@erights I hope you can grab the changes in #589 manually or whatever.


Schema Registry needs to allow users to paste a schema

Previous versions of Schema Registry allowed me to paste a schema in, which was very nice. Now it requires that a file be uploaded. This means that I have to copy the schema, paste into vi, save, go back to web app, upload, navigate to file... While I can appreciate the desire to upload a file if you already have a file saved off, it is much more of a pain if you don't have the schema already saved in a file. I would like to have the option to either paste the text into the UI or uploading an existing file.

+1 to have both file dialog and text box to enter schema text.

Thanks for the suggestion @markap14
Raised https://github.com/hortonworks/registry/pull/79 to address this suggestion.

@shahsank3t Is this a standard way of describing about a field?
All uppercase looks weird to me, you may want to have text like (Type or Drop a file) instead of all uppercase.

@satishd Missed out changing the case there. I have updated the PR with the changes. Thanks.

Verified and merged into master. Thanks @shahsank3t


Supports Color breaks when using rewire

Rewire adds a __get__ and __set__ to the internals of modules for people to use in tests.
Since supports-color's index.js file is wrapped in an IIFE, when it is required via a file that was 'rewired', we get the following error:
TypeError: Cannot assign to read only property '__get__' of true

+1

+1

It's the reverse though. Rewire breaking this module. Open an issue on Rewire instead. Returning a boolean instead of function in the export is totally valid.

Couldn't agree more.


500 error on /v3/kontainerdrivers/rancher-images as a result of non-existent /var/lib/rancher/management-state/catalog-cache directory

What kind of request is this (question/bug/enhancement/feature request):
Bug
Steps to reproduce (least amount of steps as possible):

Provision a cluster with RKE and install Rancher via helm
Navigate to https://<rancher_url>/v3/kontainerdrivers/rancher-images and refresh the page many times

Result:
Observe many requests fail with the following error:
{
"baseType": "error",
"code": "ServerError",
"message": "error getting image list for linux platform",
"status": 500,
"type": "error"
}

Rancher pod logs show errors of the following format:
2021/02/16 09:16:44 [ERROR] API error response 500 for GET /v3/kontainerdrivers/rancher-images. Cause: failed to fetch images from system charts: failed to get chart and version from "management-state/catalog-cache/df6f64f73bb427a3c62ced202ca09db9cf9f2547296217da13a2eb43d5cf5c08": stat management-state/catalog-cache/df6f64f73bb427a3c62ced202ca09db9cf9f2547296217da13a2eb43d5cf5c08: no such file or directory

Other details that may be helpful:
/var/lib/rancher/management-state/catalog-cache appears to exist only on the Rancher leader Pod. As a result requests for /v3/kontainerdrivers/rancher-images only succeeded when served by the leader Pod.
Environment information

Reproduced with Rancher v2.4.4, v2.4.13 and v2.5.5

gz#15049

The image list is generated at request time by looking at the catalog index.yaml files and then crawling the chart values.yml one by one.  This depends on the rancher pod cloning all the chat repositories locally.  In an HA environment only the leader rancher pod clones these repositories.  When the ingress round robins requests they can end up on pods that do not have the repositories cloned causing a 5XX error.
Proposed Solutions:

Ensure this request is only served by the leader pod. This could be done by splitting the rancher service into leader and non leader pods and having the ingress route some paths to the leader service.  This solution is somewhat fragile given the list of paths that can only be served by the leader pod would need to be maintained.
Clone the charts repositories onto each pod.  This solution would be the easiest to implement however it will generate significantly more traffic to our charts repositories and could cause issues with charts data getting stale, causing the images endpoint to return different content based on what pod serves the request.
Store the images list in etcd and generate it on the leader pod.  When the leader pod clones the charts repositories it could generate the images list and store it in etcd.  The other pods could then serve this request by reading from etcd.

References:
https://github.com/rancher/rancher/blob/master/pkg/api/norman/customization/kontainerdriver/actionhandler.go#L155
https://github.com/rancher/rancher/blob/master/pkg/catalog/helm/helm.go#L171
https://github.com/rancher/rancher/blob/master/pkg/image/resolve.go#L183

After talking to @dramich and @vincent99 the solution to this is to  return a 4XX response when a principal is going to be bound to 2 users. The user should be sent to documentation for why this is not possible.
When a user configures an authentication provider they are asked to login with a test account.  This test account's principal is bound to the local user that was used to configure the provider.  This gives the user instant access to the authentication provider's information and allows them to configure other users right away.
If the authentication provider is disabled and the reconfigured with a different test user, the request should be rejected.  The only possible solutions for this would involve breaking audit trails  or not binding the user to the local account, causing confusion when they attempt to continue with setup.  Instead the user should be informed why rancher cannot proceed and given guidance on how to proceed.

Reproduced the issue on rancher HA server: v2.5.5

Bring up rancher server using the helm command
navigated to https:///v3/kontainerdrivers/rancher-images
Error seen in the API {"baseType":"error","code":"ServerError","message":"error getting image list for linux platform","status":500,"type":"error"}
Also, in the rancher pod logs: ```2021/07/06 20:14:55 [ERROR] API error response 500 for GET /v3/kontainerdrivers/rancher-images. Cause: failed to fetch images from system charts: failed to get chart and version from "management-state/catalog-cache/df6f64f73bb427a3c62ced202ca09db9cf9f2547296217da13a2eb43d5cf5c08": stat management-state/catalog-cache/df6f64f73bb427a3c62ced202ca09db9cf9f2547296217da13a2eb43d5cf5c08: no such file or directory

On the non-leader rancher pods, ` cannot access '/var/lib/rancher/management-state/catalog-cache': No such file or directory` is not seen. Only present in the leader pod.

Verified on master-head rancher server commit: 3e44415
Upgrade testcase:

Created rancher server on v2.5.5 and upgrade to master-head version via helm
Navigated to https://url/v3/kontainerdrivers/rancher-images
Verified image list has been downloaded by navigating to the above url multiple times.

**Fresh install master-head 3e44415:
Verified by the same steps as above to download the image multiple times and see the images are downloaded without errors.

Reopening for one more check.

Verified on master-head 3e44415

From the leader rancher pod shell executed the command:
curl -u <cattle_accesskey>:<cattle_secretkey> --insecure 'https://podip:443/v3/kontainerdrivers/rancher-images'
Sample image list displayed:

busybox
rancher/coreos-flannel:v0.13.0-rancher1
rancher/flannel-cni:v0.3.0-rancher6
rancher/hyperkube:v1.17.17-rancher2
rancher/hyperkube:v1.18.19-rancher1
rancher/hyperkube:v1.19.11-rancher1
rancher/hyperkube:v1.20.7-rancher1
rancher/hyperkube:v1.21.1-rancher2
rancher/kube-api-auth:v0.1.5

Repeated for non-leader rancher pods and verified the image list is displayed as above without any error.


VSCode is forcing the wrong version of npm to be used within git integration, linting pre-commit hooks.

VSCode Version: 1.10.2
OS Version: Windows 10 1607

VSCode is forcing the wrong version of npm to be used within git integration, linting pre-commit hooks.  It uses the default npm installation that is bundled with node (as I understand it), but not the independently installed upgraded version (4.4.4, see image insets)
The VSCode "output" tab for "Git" shows the following in my circumstance, but the linting succeeds in other run environments on this same machine.
npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "c:\\Users\\jkleban\\Repos\\ListingManager\\node_modules\\npm\\bin\\npm-cli.js" "run" "test"
npm ERR! node v6.10.1
npm ERR! npm  v3.10.10
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>pretest: `npm run lint`
npm ERR! Exit status 1

Steps to Reproduce:
I have a package.json that uses ghooks configured like so:
  "config": {
    "ghooks": {
      "pre-commit": "npm run lint",
      "pre-push": "npm run test"
    }
  },

Even though my npm is updated generally, VSCode seems to be forcing the use of the wrong version of npm, though powershell, dev cmd, and cmd all resolve the correct one.  I'm sure this test case can be simplified, but actually I couldn't think of how.

I don't recognize any relevant user or workspace settings for this problem.

the independently installed upgraded version

How did you install that version of npm?

The updated version of npm is installed with npm install -g npm.  As I understand it, npm is installed automatically with Node. However, it's probably not the latest version, or maybe not even a recent version - just used as a minimum compatibility.  Npm gets installed separately with the latest version and as long as this latest version precedes node's built-in old version in PATH it will have precedence.  And this is evident by the other various terminals I inset in the image.

If you open the Developer Tools in VS Code (using F1), and run process.env.PATH in the Console, can you find out a bit more about the difference between that value versus the one in a Command Prompt?

OK, the embedded Chrome Debugger console (to verify) returns a string that is equivalent, character for character, to what I get in the other terminals.

By the tag changes, you've identified an actual bug?  Can you please elaborate on it?  Is there a narrow limitation and workaround?  Is this also causing #24115?

I can't, since I don't know what causes it. You're going to have to dig deeper and try to understand why Git picks up the wrong npm. #24115 definitely sounds related.

In #24115, git is not part of the problem.  Note that npm --version fails whereas cmd /C "npm --version" succeeds.  Are there any more diagnostic tests you can recommend that would help identify the frailty?

Just saying it could be related.
Try to find all locations of npm.cmd. Compare them and see which one gets picked up when and then why.

The other issue was because I had "isShellCommand": false or "isShellCommand": true in the nested task instead of at the top level.  Unless that other behavior is incorrect then I don't see how that incorrect tasks.json config would be the same issue.
But it might suggest that ghooks/linting as a pre-commit/pre-push activity is not the typical git operation case.  Perhaps it ought to be given the same "isShellCommand": true treatment as was necessary for the tasks.json config?

Try to find all locations of npm.cmd. Compare them and see which one gets picked up when and then why.

Wait, so this only happens when running git through the tasks feature?

No - tasks.json is only involved in the other issue I opened and linked - but I no longer think they have much in common.
THIS problem happens in the Git integration in vscode which has ghooks to call pre-commit/pre-push linting.  But that integration is invoking the old npm 3.10.10 version that is bundled with the node installation instead of the 4.4.4 version that I have installed globally (as recommended).
VSCode Git Integration works fine for me without these linting steps.  It even works fine for operations that don't fire these two hooked events.  And in the command line from any shell (embedded or external) there is no problem.  When VSCode Git integration invokes Git, does it give that process all the necessary environment variables consistent with the other shells?
{ ...
  "config": {
    "ghooks": {
      "pre-commit": "npm run lint",
      "pre-push": "npm run test"
    }
  }
}

Can you try to find all locations of npm.cmd in your system?

Ok, here's what I came up with:
C:\WINDOWS\system32> Get-ChildItem -Path C:\ -Filter npm.cmd -Recurse -ErrorAction SilentlyContinue | % { $v = & $_.FullName --version 2>$null | Out-String ; Write-Host $_.FullName --version ">>> """$v.Trim()"""" }
C:\Program Files\nodejs\npm.cmd --version >>> " 4.4.4 "
C:\Program Files\nodejs\node_modules\npm\bin\npm.cmd --version >>> "  "
C:\Program Files (x86)\Microsoft Visual Studio 14.0\Web\External\npm.cmd --version >>> " 3.3.4 "
C:\Program Files (x86)\Microsoft Visual Studio 14.0\Web\External\node_modules\.bin\npm.cmd --version >>> " 3.3.4 "
C:\Program Files (x86)\Microsoft Visual Studio 14.0\Web\External\node_modules\npm\bin\npm.cmd --version >>> "  "
C:\Program Files (x86)\Microsoft Visual Studio 15.0\Common7\IDE\Extensions\Microsoft\Web Tools\External\npm.cmd --version >>> " 1.4.9 "
C:\Program Files (x86)\Microsoft Visual Studio 15.0\Common7\IDE\Extensions\Microsoft\Web Tools\External\npm\node_modules\npm\bin\npm.cmd --version >>> "  "
C:\Users\jkleban\Repos\repoC\node_modules\.bin\npm.cmd --version >>> " 3.10.10 "
C:\Users\jkleban\Repos\repoC\node_modules\npm\bin\npm.cmd --version >>> "  "
C:\Users\jkleban\Repos\repoA\node_modules\.bin\npm.cmd --version >>> " 3.10.10 "
<EMAIL_ADDRESS>--version >>> " 3.10.10 "
<EMAIL_ADDRESS>--version >>> "  "
<EMAIL_ADDRESS>--version >>> " This code should never be executed.

C:\WINDOWS\system32>exit /B 1 "
C:\Users\jkleban\Repos\repoA\node_modules\npm\bin\npm.cmd --version >>> "  "
C:\_x86\Microsoft Visual Studio 14.0\Web\External\npm.cmd --version >>> " 3.3.4 "
C:\_x86\Microsoft Visual Studio 14.0\Web\External\node_modules\.bin\npm.cmd --version >>> " 3.3.4 "
C:\_x86\Microsoft Visual Studio 14.0\Web\External\node_modules\npm\bin\npm.cmd --version >>> "  "
C:\_x86\Microsoft Visual Studio 15.0\Common7\IDE\Extensions\Microsoft\Web Tools\External\npm.cmd --version >>> " 1.4.9 "
C:\_x86\Microsoft Visual Studio 15.0\Common7\IDE\Extensions\Microsoft\Web Tools\External\npm\node_modules\npm\bin\npm.cmd --version >>> "  "

Awesome, that's very helpful.
The real issue seems not to be VS Code related, but NPM related.
Why do you have npm installed on your repo?
C:\Users\jkleban\Repos\repoB\node_modules\.bin\npm.cmd --version >>> " 3.10.10 "

This is the source of the problem.
When running npm scripts (or ghooks), the .\node_modules\.bin folder is going to be placed right in front in the %PATH% variable. So,  C:\Users\jkleban\Repos\repoA\node_modules\npm\bin\npm.cmd is being picked.
If you remove that local npm installation, which you shouldn't need anyway, it will work.

npm is a dependency because one of the things uses the npm api.  Maybe it isn't necessary - I have to look into it.
But why can't the vscode-provided behavior match that of the other shells on my machine, and relative to the same directory?  Shouldn't the vscode invoked stuff work just the same?

VSCode invokes npm, which places .\node_modules\.bin in the %PATH% while invoking ghooks, which invokes npm.
If you commit from the command prompt, you'll surely get the same behaviour.

But if you commit from the command prompt, you'll surely get the same behaviour as Code.

No, it doesn't.  git commits and pushes work and invoke successful ghooks from any other shell.

That is quite odd.
Anyway, can you confirm that removing that local npm installation fixes it?

I'm finding that there are packages which include npm as a dependency and vscode is choking on them because they include npm.cmd even though the other consoles don't.  I think this vscode behavior needs to be reviewed.

I'm having the same problem with eslint - because eslint.cmd is included somewhere in the node_modules, vscode is using that instead of the globally installed one that the other shells use.

As I explained to you before, this isn't VS Code behaviour. It's simply how npm works. Can you prove to me that when you run it from the command line, the global npm is always used?
Here's what I observe:
proof → npm --version
4.2.0
proof → cat package.json
{
  "name": "proof",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "dependencies": {
    "npm": "^4.5.0"
  },
  "scripts": {
    "version": "npm --version"
  }
}
proof → npm run version

><EMAIL_ADDRESS>version /Users/joao/Desktop/proof
> npm --version

4.5.0

When calling npm from a script in package.json, the local one will always be used.

It IS behaving differently.  I can git commit from the vscode open folder as a working directory in any other shell, embedded in vscode or external to it, no problem.  That's what I'm doing as a workaround all day in multiple separate repos that have either npm or eslint (for their apis) dependencies.  But the vscode git integration fails its commit action as shown in the earlier screenshot (which also illustrates different npm versions - is that not proof?)
And I'm not talking about a same-directory npm.cmd getting precedence over the windows path search.  These npm.cmd are deeply nested.
Since this nested path search command resolution isn't a Windows behavior, you're suggesting that in any regular shell environment that the globally installed node or npm will get invoked (because what else can act?), that it will then perform an exhaustive search of the node_modules folder, and then reruns the original arguments with that version if it finds one?   What if there are more than one match found?  Otherwise, I'm not understanding.
And even if it does perform in this way, why would VSCode need to treat such commands specially and emulate that behavior?  Why not just invoke npm and let it do that resolution itself?
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "c:\\Users\\jkleban\\Repos\\App\\node_modules\\npm\\bin\\npm-cli.js" "run" "test"
Why not just npm run test?

Look, this is becoming repetitive. VS Code doesn't treat any command especially nor does it emulate any behaviour. This is simply NPM's behaviour; please read its documentation about PATH handling in scripts. See my previous example, which confirms that behaviour. None of that is VS Code related.
While I do believe you are witnessing the issue you are witnessing, I fail to get enough information that lets me understand why it happens. Given your ghooks config section, I also don't understand why it would ever work when running npm from the command line. And your screenshot fails to prove that it does indeed work from the command line.
So...
Let me propose something. Change your pre-commit value to npm --version. What gets printed when committing from VS Code now? How about when committing from the command line?


Test PR

Testing action caching

Looks like it’s working — the cargo msrv check used the cache created by manually triggering a workflow run on the main branch.


fix: overflow-x

#1969

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.01%) to 99.488%

Totals

Change from base Build<PHONE_NUMBER>:
0.01%

Covered Lines:
10065

Relevant Lines:
10067

💛  - Coveralls


If I create a .NET 4.7.2 Console app, link Xamarin.Build.Download assembly, place Microsoft.Win32.Registry.dll into output directory, add this line
VS7ZipLocator.Locate7Zip("D:\\"); // forces loading said assembly

it would say that it can't load it as well. Sample output from fuslogvw says this:

WRN: Comparing the assembly name resulted in the mismatch: Build Number
ERR: The assembly reference did not match the assembly definition found.
ERR: Run-from-source setup phase failed with hr = 0x80131040.
ERR: Failed to complete setup of assembly (hr = 0x80131040). Probing terminated.

Perhaps because the assembly has version 4.0.1 and not 4.0.0 and there is no redirection? But why isn't version 4.0.0 shipped along?

So I replaced version 4.0.1 with version 4.0.0 (found on NuGet) and Console App works now - no errors. However iOS build still won't work. Looking at procmon I see that MSBuild doesn't even try to load it from disk, instead it just goes to registry looking for key
HKLM\SOFTWARE\Microsoft\Fusion\PublisherPolicy\Default\v4.0_policy.4.0.Microsoft.Win32.Registry__b03f5f7f11d50a3a
which isn't in the registry and that's it.


Skeleton of a package

Pull-request for issue #14303 created by @pasaperez-slingr
What it does?
A very simple example has been made of a package that has metadata (script, flowStep, uiService, listener, events) and dependencies (http [Service], oauth [package]) and different configurations.
How to test it?
Implementation notes
N/A

@pasaperez-slingr once with have config changes remember to update this repo please.


How to add parsed variables to process.env

Is there a quick way to add the parsed variables to process.env, or do I have to create my own solution?

Nevermind, I just learned that all values in process.env are converted back to string anyway: http://stackoverflow.com/a/10265271/2306587

Actually, there is a way. If you do process.env = { ...process.env, bla: true }


Set registry-url for setup-node in release.yaml

Ref: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages#publishing-packages-to-the-npm-registry

This is clearly a small fix, so I'll merge it without review.


[Feature][Connector-V2] Add mongodb connecter source

Purpose of this pull request
close #2023
relation #2029

Check list

[x] Code changed are covered with tests, or it does not need tests for reason:
[x] If any new Jar binary package adding in your PR, please add License Notice according
New License Guide
[x] If necessary, please update the documentation to describe the new feature. https://github.com/apache/incubator-seatunnel/tree/dev/docs

@hailin0 @TyrantLucifer @Hisoka-X @CalvinKirs Please review it, thx.

but you should check why e2e failed.

but you should check why e2e failed.

@Hisoka-X e2e is no problem in my local test

but you should check why e2e failed.

@Hisoka-X e2e is no problem in my local test

Hi, check this

but you should check why e2e failed.

@Hisoka-X e2e is no problem in my local test

 Hi, check this

I'll try again

Please make ci pass then this PR can be merged.


Loc fix - add monikers for APS.NET Core 3

Loc fix for story 1583925.

#sign-off

See the Internal review URL

We don't use nested monikers. I thought they were not allowed.

@dksimpson  why is this a loc issue?

The versioning isn't correct (i.e., we don't support <2.1). More important, this is the Web Host topic, and I'm not aware of that composition (ConfigureWebHostDefaults) for Web Host at 3.0. Best to ask @tdykstra about that. Everything I'm doing right now goes with Generic Host for 3.0; and IIRC, I don't have any 2.2 samps that call UseSetting where this would apply. It might be correct, but I have no knowledge on it at this time.
@Rick-Anderson You're correct on versioning: No nesting of moniker ranges.

@JasonCard  this comes from https://github.com/aspnet/AspNetCore.Docs.es-es/pull/32
I think it's much more efficient for source PR's to remove the loc middleman and ask the customer to create a PR in our repo. Google translate works good enough.

@Rick-Anderson I have a few minutes to take a closer look. Tea leaves right now are that ConfigureWebHostDefaults isn't a WebHostBuilderExtensions extension. I'll report back in a bit.

Yep ... the reader is conflating the Generic Host and Web Host builder extensions. To quote D🦆, This isn't a thing ... the reader made this up. :smile:


Add support for retrieval of invoice line items (invoice.lines.all)

According to Stripe API, invoice contains only few line items, to get all of them one should call invoice.lines.all.
However calling invoice.lines.all in stripe-ruby-mock gives me Stripe::InvalidRequestError:  No such invoice: test_in_5/lines

This is failing against Stripe's test servers. Please see the "Live Testing" section in this wiki page


GLFW source build issue with Visual Studio 2017 fails

When trying to build the GLFW source using cmake in Visual Studio 2017, I ran into the following error:
glfw\src\internal.h(49): fatal error C1083: Cannot open include file: '../include/GLFW/glfw3.h': No such file or directory
I renamed the folder GLFW to glfw and modified internal.h
from
#include "../include/GLFW/glfw3.h"
to
#include "../include/glfw/glfw3.h"
and this resolved the issue.
This is related to
https://developercommunity.visualstudio.com/content/problem/287514/clexe-cant-find-files-in-casesensitive-folders.html
Adding following to src/CMakeLists.txt also solved the problem.
target_compile_options(glfw PRIVATE                        "$<$<C_COMPILER_ID:MSVC>:/d1scalableinclude->")

Do you recall how you obtained the glfw source code when you ran into this? I just tried using Github's repository .zip download and it compiles with no problems on my PC (Windows 10, CMake + Visual Studio Community 2017). The issue you linked suggests this is a bug in MSVC triggered by the way a certain git client creates directories, but it would be good to get some confirmation.

I have been using the git client on the ubuntu 18.04 shell for windows 10! I too couldn't reproduce the issue when I downloaded the .zip file and compiled. It does look to be a problem with the MSVC when using git on linux shell on windows.

Thanks for the quick followup. I don't know enough about CMake, but is the d1scalableinclude- addition something we should consider to make people's lives easier?

It seems this issue is seen by developers who use the Linux shell on Windows 10, and the workaround proposed by Microsoft is to use the d1scalableinclude- switch, see here: https://developercommunity.visualstudio.com/content/problem/276297/clexe-breaks-with-case-sensitive-paths.html


Get live youtube stats

Description
Added The Script To Get The Stats Of Youtube Video
Please include a summary of the change and which issue is fixed. List any dependencies that are required for this change.
Fixes #1882

Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
[ ] Documentation Update

Checklist:

[x] My code follows the style guidelines(Clean Code) of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have created a helpful and easy to understand README.md
[x] My documentation follows Template for README.md
[x] I have added the project meta data in the PR template.
[x] I have created the requirements.txt file if needed.

Project Metadata
If there is no-file/nothing to fill the below fields with, then type: none
Example: If no requirements.txt needed/present, then type none in Requirments.
Category:

[ ] Calculators
[ ] AI/ML
[ ] Scrappers
[ ] Social_Media
[ ] PDF
[ ] Image_Processing
[ ] Video_Processing
[ ] Games
[ ] Networking
[ ] OS_Utilities
[ ] Automation
[ ] Cryptography
[ ] Computer_Vision
[ ] Fun
[ ] Others

Title: <write script title here>
YouTube Video Statistics
Folder: <type the folder name that contains your script>
Get-Live-Youtube-Video-Stats
Requirements: <type the name of text file containing the required to install python packages, type None if no file required>
requirements.txt
Script: <Enter the name of the .py file (The main entry point of the program)>
python main.py
Arguments: <enter any arguments that the script needs but - separeted like: h-c-m>
Contributor: <Enter your Github handle/username without url>
souravvmishra
Description: <Enter a one line description that describes your script. Also, explain the arguments usage here>
Given a youtube video link, it can get its stats

Please Create an Issue for the Same.

Apologies, Just Missed To Add That

@avinashkranjan Please Review


[Fantom] Integrate Fantom network

If this is your first time integrating, the following information is required

A short introduction about your project/ your team
Fantom is a layer-1 platform built on an aBFT consensus protocol
Basic information about your team (as transparent as possible)
All team info at https://www.fantom.foundation/about/
Whitepaper (if you have one)
Documentation: https://docs.fantom.foundation/
Technical paper: https://www.fantom.foundation/fantom-research-papers/
Social media links (telegram, discord, website, LinkedIn,...)
Website: https://fantom.foundation
Twitter: https://twitter.com/FantomFDN
Linkedin: https://www.linkedin.com/company/fantom-foundation/
Telegram: https://t.me/Fantom_English
Discord: http://chat.fantom.network/
Github
https://github.com/Fantom-foundation/

Please tag @RyanDinh8 or @Mabel-Nguyen if you want to discuss business
If you want to integrate a chain, you would need to provide

Name of the blockchain: Fantom
Fantom is EVM-compatible
Logo of the blockchain: https://www.figma.com/file/3RzS7xOdFaoQgHwDEOIjHg/Presentation?type=design&node-id=100-11825&mode=design&t=R1gxboTNlwMCf0Tk-0
Fantom mainnet:
Explorer: https://ftmscan.com/
Our public API endpoints: https://docs.fantom.foundation/api/public-api-endpoints
Fantom testnet:
Explorer: https://explorer.testnet.fantom.network/
RPC: https://rpc.testnet.fantom.network/

Documents and references:

https://docs.fantom.foundation/quick-start/short-guide
https://docs.fantom.foundation/api/public-api-endpoints

Let me know if you need any further information!

https://docs.fantom.foundation/api/public-api-endpoints
https://github.com/Fantom-foundation/go-opera/wiki/API#differences-from-web3js-api

Version test: https://file.cdmteck.com/s/4oimk9zDJ8R5Aai/download?path=%2F&files=./upgrade-ui-pr-1631-build-1.1.1-2023-07-11T09-02-13UTC.zip
Validation passed for cases:

Show token

Send token: https://testnet.ftmscan.com/tx/0x0624cf5982c9ec12e42372eac01edf6611aad86b3fcd84758e7fe0de55850a07
Support ERC-20: check with contract 0x21be370D5312f44cB42ce377BC9b8a0cEF1A4C83

Support ERC-721: check with contract 0x99571da737e351396df2d389ceaab13486a387ba


the class_loss loc_loss mbox_loss are 'NaN'

hello, when I trained the ssd by your code, in the iteration 1, the class_loss loc_loss mbox_loss are 21.07 2.914 23.989, but after the iteration 1 , all of the loss turned to 'NaN', Do you know how to solve it? thank you!

Hi @daibu0, it sounds as though the learning rate is too high.  Normally the first epoch uses a lower "warmup" learning rate (it is set here).  You could try reducing the learning rate that follows.

@albanie thanks for your reply, i have solved this problem. i use your default code to train the ssd and i use cpu. so the derOutputs of the mbox_loss is inf, and now i have modified it.

Great, glad to hear it!


False positive detection of Git revision hash as high entropy string in pyproject.toml

I'm submitting a:

[x] bug report
[ ] feature request

What is the current behavior?
detect-secrets (v1.4.0) is incorrectly flagging a Git revision hash in pyproject.toml as a potential secret (High Entropy String). This occurs when specifying a dependency in Poetry using a Git repository and a specific revision. The line in question is:
wagtail-django-recaptcha = {git = "https://github.com/springload/wagtail-django-recaptcha.git", rev = "c23696f5c55824a8abd86e13f13da4a90d437d75"}

Steps to reproduce:

Add a dependency in pyproject.toml using Poetry with a specific Git revision.
Set up detect-secrets (v1.4.0) as a pre-commit hook.
Attempt to commit the changes.
Observe the detect-secrets pre-commit hook failing, flagging the Git revision hash as a high entropy string.

What is the expected behavior?
The tool should not flag Git revision hashes in pyproject.toml as high entropy strings, as these are typically not secrets.

What is the motivation/use case for changing the behavior?
Preventing false positives in projects that use Poetry for dependency management alongside detect-secrets for secret scanning is essential for accurate secret detection and smooth developer workflows.

Environment:

detect-secrets Version: v1.4.0
Python Version: 3.11
OS Version: macOS ventura
File type: pyproject.toml

Other information:

A workaround is to use pragma: allowlist secret, but ideally, detect-secrets should automatically recognize and handle this case.
I searched through existing issues and didn't find any mention of similar problems related to referencing Git revisions or pyproject.toml files, so I'm opening this new issue.

Hi @estyxx, the line you posted contains a high entropy string, so detect-secrets isn't wrong in that. Have you thought of excluding pyproject.toml as a whole?

Ohh okay, I will just add the comment then!
I thought it was a little bit "smarter" detecting that that was a dependency and it's ok within the pyproject but nevermind!
I don't think I will exclude the file entirely because in there we can put tool configurations, so it's unusual to put secrets in there, but you never know!

so it's unusual to put secrets in there, but you never know!

that's exactly the reason why we don't exclude files by default :)


Clarify Alertmanager configuration setup on the user guide

This PR tries to clarify (or at least explain the magic behind the operator) the setup of the configuration on the alertmanager along with alertmanager's templating files.
Closes #389

Awesome! Thanks a lot! Lgtm


Fetch youtube videos since now-1month

I can get all the video updated from last month.
But it seems that for youtube some videos have the date value set to "NA"
and youtube-dl also download all video with date set to "NA" (even uploaded before the -dateafter option)

upload_date is detected correctly for https://www.youtube.com/watch?v=tfDzJN4LqZI with latest version,


handle pg bytea for schema changes

A schema definition like:
field.Bytes("data"),

errors when schema changes are printed with:
failed printing schema changes: sql/schema: unsupported default type: []byte

This PR addresses this issue.

It's great to see you here again @chris-rock! Thanks for your contribution 🙏

I apologize for my silence :-)


[WIP] Integrate graphql-js experimental parser

This PR is in progress and contains the work done under GSOC2020
It integrates the experimental online parser from graphql-js in place of the graphiql parser.  https://github.com/graphql/graphql-js/pull/2770
[x] Integrate with graphql mode in codemirror and support syntax highlighting
[ ] Update auto suggestion utils

awesome! needs to be added to the LSP (gls-interface) as well, for LSP server and codemirror/monaco-graphql

During migration we decided to drop it. Need to re-write in TS with more tests see https://github.com/graphql/graphql-js/pull/3031


[BUG]  Roblox wont close

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.
[X] I have thoroughly looked through the available Wiki articles and could not find a solution to my problem.
[X] I am using the latest version of Bloxstrap.
[ ] I did not answer truthfully to all the above checkboxes.

What problem did you encounter?
Im using a pre set of fast flags from a youtuber for better ping and Fps, it worked great all the time but now i cant close roblox at all while using it, wont even show up in the task manager. Also happens without the fast lags
Bloxstrap Log
N/A

Are you by any chance using the "2015 (V1)" or "2022 (V2)" choices for the "Preferred escape menu version" fast flag? Both of those don't seem to be working anymore, and I've been having the same issues with closing Roblox until I switched to another escape menu version.

Im using a pre set of fast flags from a youtuber for better ping and Fps
Delete all your flags.

Are you by any chance using the "2015 (V1)" or "2022 (V2)" choices for the "Preferred escape menu version" fast flag? Both of those don't seem to be working anymore, and I've been having the same issues with closing Roblox until I switched to another escape menu version.
Edit: I've found a workaround for fixing this on a different issue. Here you go: #2911 (comment)

Thanks dude , rlly helped


Fix floating point exception error

I ran some particle guns with the new develop and encountered a few floating point exceptions (now handled by new Geant4's FPEdetection). These were caused by non-optical photons with a total energy of 0 in ProcessHits for which the wavelength calculation didn't make sense. Moved the wavelength calculation down to be only for optical photons.
The error encountered was: "ERROR: 8 - Floating point divide by zero."  This stops the full simulation and therefore this bugfix is urgent.

Ah, weird that this didn't come up with the particle gun runs that were done for the verification steps. Anyways, it makes more sense for the wavelength definition to be in the optical photon part of the code, since that is the only place it is used. Good catch!