Port Inquiry - 1.20.1 soon?

Describe the Addition
Really love this mod, please port when possible!
not much else to say....lol
Screenshots and Videos
No response
Additional Context
No response

please where is it

is this mod abandoned?


Handling multi-space characters (Japanese, Chinese...) width better

Continuing #530, i added visual_cursor method as discussed, but currently fighting incorrect display at scroll position.
Currently I'm not sure if code in example is to blame or tui-rs. Investigating.

Thank you. If possible, Please post some characters for testing, I'll review soon.

Sure
JP: ビルドワールドIII〈上〉埋もれた遺跡
KR: 로맨틱 만화, 만화 아니메, 한국 만화

Alright, example should work now much better. I tested it for quite a bit, with mixed languages, and I didn't see any anomalies.

I have taken your changes in https://github.com/sayanarijit/tui-input/pull/15


Merge main into feature/amqp

Merge main into feature/amqp
Verified that there are no merge issues - this PR has no changes different from those currently in main (with 1 minor change).
Pull Request Checklist
Please leverage this checklist as a reminder to address commonly occurring feedback when submitting a pull request to make sure your PR can be reviewed quickly:
See the detailed list in the contributing guide.

[ ] C++ Guidelines
[ ] Doxygen docs
[ ] Unit tests
[ ] No unwanted commits/changes
[ ] Descriptive title/description

[ ] PR is single purpose
[ ] Related issue listed

[ ] Comments in source
[ ] No typos
[ ] Update changelog
[ ] Not work-in-progress
[ ] External references or docs updated
[ ] Self review of PR done
[ ] Any breaking changes?

Why do you still need the branch?

Because George's EventHubs work is still based on this branch :(. I'm meeting with him today to discuss how we get eventhubs into main.

/azp run cpp - core - ci

I see the CI is failing on coverage, reporting 0%, which is not what I'd expect - you do have tests, I saw them.
Have you checked the create_code_coverage() cmake macro parameters, maybe that is why it is not picking up the right scope and finds it out as 0%?
for example, you have the line, "create_code_coverage(core azure-core-amqp azure-core-amqp-tests "tests?/*;samples?/*")" - you have tests as plural, while the other libs have it as test (singular). Even though the regex should be capturing both test and tests, maybe it is actually not working as expected?

I see the CI is failing on coverage, reporting 0%, which is not what I'd expect - you do have tests, I saw them. Have you checked the create_code_coverage() cmake macro parameters, maybe that is why it is not picking up the right scope and finds it out as 0%? for example, you have the line, "create_code_coverage(core azure-core-amqp azure-core-amqp-tests "tests?/*;samples?/*")" - you have tests as plural, while the other libs have it as test (singular). Even though the regex should be capturing both test and tests, maybe it is actually not working as expected?

AMQP's code coverage is at about 93%, higher than other parts of the tree. The test vs tests is a non-issue.
The probable reason for coverage failing is that there was a test failure. That's what it is 99% of the time. And since this codebase is 100% identical to main, it's probably a transient test failure.

I see the CI is failing on coverage, reporting 0%, which is not what I'd expect - you do have tests, I saw them. Have you checked the create_code_coverage() cmake macro parameters, maybe that is why it is not picking up the right scope and finds it out as 0%? for example, you have the line, "create_code_coverage(core azure-core-amqp azure-core-amqp-tests "tests?/*;samples?/*")" - you have tests as plural, while the other libs have it as test (singular). Even though the regex should be capturing both test and tests, maybe it is actually not working as expected?

AMQP's code coverage is at about 93%, higher than other parts of the tree. The test vs tests is a non-issue.
The probable reason for coverage failing is that there was a test failure. That's what it is 99% of the time. And since this codebase is 100% identical to main, it's probably a transient test failure.
That's not the root cause, I have no idea why the code coverage tooling decided that absolutely no tests were run (that's what 0% coverage means - there are no tests run at all).

Ok - coverage is working fine, the reporting is broken - working with Daniel to figure out why. Probably related to restarting a failed job.


Make global function belong to window object

Hello.
I have code:
function SetError(_if_gp) {
    window.last_error = _if_gp;
}
window.SetError("err#1");

This code works fine in any browser, because all global objects treated as winows properties.
Is there anyway to reproduce same behaviour in jurassic library?
I already created new class which represents Window object and which interhited from ObjectInstance

there is my solution:
public class Window : ObjectInstance
 {
        protected override object GetMissingPropertyValue(string propertyName)
        {
            var has= _engine.HasGlobalValue(propertyName);
            if (has)
            {
                var v= _engine.GetGlobalValue(propertyName);
                return v;
            }
  }
}

Could you not just use this?
scriptEngine.SetGlobalValue("window", scriptEngine.Global);

@Gdocal I did what @paulbartrum has suggested. In navigators, the global object is the window object.
Since the global object is created by the engine, I had to define all the methods/properties of the "window" by myself.

Hey i saw you asking this on Jint also, with which engine you think this is accomplished easier?

@KardoseR Both engines can do almost the same things. The principles are the same, they only differ in the code you write to apply them. I am working with both engines, and let developpers choose which one to choose.


Adding WhatsApp class

Added, WhatsApp scss and less class, added to available icons on website (not button block because I didn't want to change the standard "Log in with X" to a mobile number.

@hfingler and what should be done by clicking WhatsApp button? :smirk:

@vburlak Exactly, that's why I didn't add the long button for the WhatsApp, only the small icon. It is useful (at least for Brazilian users, because we use WhatsApp for everything, even customer service) for showing your contact number:

Anyway, I bet Facebook is going to integrate their Web WhatsApp with Facebook or make links to automatically add people to your WhatsApp contacts soon. Maybe put this on hold until then?
Thanks.


Error in Response

I performed everything carefully.
But,when I did :
curl -X POST 'http://localhost:8000/api/conversation' -H 'accept:text/event-stream' -H 'Content-Type:application/json' -d '{
"model": "https://huggingface.co/spaces/justest/gpt4free",
"messages": [
{
"role": "user",
"content": "hello"
}
]
}'
I got this response : ReactNativeBlobUtil failed to encode response data to BASE64 string.

What's the solution?

I performed everything carefully. But,when I did : curl -X POST 'http://localhost:8000/api/conversation' -H 'accept:text/event-stream' -H 'Content-Type:application/json' -d '{ "model": "https://huggingface.co/spaces/justest/gpt4free", "messages": [ { "role": "user", "content": "hello" } ] }'
I got this response : ReactNativeBlobUtil failed to encode response data to BASE64 string.

@egcash It looks like an error reported by react-native

@weaigc What's the solution?


[JS] Rows will intermittently return BigInt data, instead of the expected strings

Describe the bug, including details regarding any error messages, version, and platform.
Versions
apache-arrow: ^16.1.0
parquet-wasm: ^0.6.1
Node.js: v18.20.3
Chromium: 126.0.6478.126
Problem
I am building a training data sampler in JavaScript, which fetches Parquet files from Huggingface, imports them with parquet-wasm, and loads them into Arrow. In general, this pipeline works well.
My code will download and load 1 Parquet file, every few minutes. The very first attempt to do this will ALWAYS succeed.
However, subsequent attempts have high probability of failing with a very strange bug:
In normal operation, I will read data from Arrow by using column.get(rowIdx). When I do this, large strings of text are returned successfully. That said, when loading and reading from subsequent shards, there is a VERY high chance that column.get(rowIdx) will not return text; it will return a BigInt like 899n instead. This is unexpected, and thus - my code will fail (because I cannot read from the data). Every batch, column and row simply returns a BigInt, when it should be returning a string.
I can resolve this problem by repeatedly fetching and loading shards, until one of them finally loads successfully. Of course, this is not a solution.
I can confirm that the data itself is not the problem. Upon re-running a script, shards that were previously failing can run correctly. I have also tried reaching out to the author of parquet-wasm, and they believe the bug must lie in Arrow itself, not in the Parquet Rust library.
TL;DR - Row data will unexpectedly return BigInts, instead of strings.
Any help would be greatly appreciated.
Please see below for a reproducible script. Run this code for a few minutes, and you will see some shards begin to return BigInt data, instead of strings.
import fs from 'fs'
import { tableFromIPC } from 'apache-arrow'
import { readParquet } from 'parquet-wasm'

class CosmopediaDataset {
    constructor() {
        this.dataset = 'HuggingFaceTB/cosmopedia'
        this.slices = [
            { slice: 'auto_math_text', shards: 18 },
            { slice: 'khanacademy', shards: 1 },
            { slice: 'openstax', shards: 2 },
            { slice: 'stanford', shards: 13 },
            { slice: 'stories', shards: 43 },
            { slice: 'web_samples_v1', shards: 139 },
            { slice: 'web_samples_v2', shards: 118 },
            { slice: 'wikihow', shards: 2 }
        ]
        this.split = 'train'
        this.delimiter = '\n\n'
        this.eosToken = '<|eos|>'
        this.cacheSize = 20000
        this.cachedText = ''
        this.cycleShardInterval = 10000 // batches
        this.batches = 0
        this.arrowWasmTable = null
    }

    async init() {
        await this.fetchRandomShard()
    }

    async fetchRandomShard() {
        const { slice, shards } = randomValueFromArray(this.slices)
        const shardIndices = generatePaddedNumbers(0, shards, 5)
        const numShards = shardIndices.slice(-1)
        const allShards = shardIndices.slice(0, -1)
        const shard = randomValueFromArray(allShards)
        console.log('fetching shard:', `${shard}/${numShards}`, 'slice:', slice)
        const path = `data/${slice}/${this.split}-${shard}-of-${numShards}.parquet`
        this.url = `https://huggingface.co/datasets/${this.dataset}/resolve/main/${path}`
        console.log(this.url)
        const response = await fetch(this.url)
        this.buffer = new Uint8Array(await response.arrayBuffer())
        this.moveDataIntoTable()
        console.log('moved shard to table:', shard)
    }

    moveDataIntoTable() {
        // Read Parquet buffer to Arrow Table
        this.arrowWasmTable = readParquet(this.buffer)
        // Get the Arrow stream buffer
        this.arrowStreamBuffer = this.arrowWasmTable.intoIPCStream()
        // Convert to JS Arrow Table
        this.table = tableFromIPC(this.arrowStreamBuffer)
    }

    loadSchema(array = [{ prompt: 'INPUT: ' }, { text: 'OUTPUT: ' }]) {
        this.schema = []
        array.map((obj) => {
            Object.entries(obj).forEach(([key, value]) => {
                const idx = this.table.schema.fields.findIndex(
                    (field) => field.name === key
                )
                this.schema.push({ idx, value })
            })
        })
    }

    async fillCache() {
        while (this.cachedText.length < this.cacheSize) {
            let shouldSkip = false
            let batchIdx = randomBetween(0, this.table.batches.length - 1)

            const text = []

            let rowIdx = null
            for (const obj of this.schema) {
                let column = this.table.batches[batchIdx].getChildAt(obj.idx)
                if (rowIdx === null) {
                    rowIdx = randomBetween(0, column.length - 1)
                }
                const prefix = obj.value
                const data = column.get(rowIdx)
                // Some 'data' values appear to be random integers, with no other information.
                // We handle that here.
                if (/^-?\d+$/.test(data)) {
                    console.log(
                        'FAILED TO PARSE SHARD: Received a BigInt instead of text.'
                    )
                    console.log(data)
                    console.log('prefix was:', prefix)
                    console.log('batchIdx was:', batchIdx)
                    console.log('rowIdx was:', rowIdx)
                    console.log('data was:', data)
                    shouldSkip = true
                    fs.writeFileSync(
                        './arrowStreamBuffer.txt',
                        this.arrowStreamBuffer
                    )
                    await this.fetchRandomShard()
                }
                text.push(prefix + data)
            }
            if (shouldSkip) continue
            this.cachedText += text.join(this.delimiter) + this.eosToken
        }
    }

    async getSample(size = 512) {
        this.batches++
        if (this.batches % this.cycleShardInterval === 0) {
            await this.fetchRandomShard()
        }
        await this.fillCache()
        const sample = this.cachedText.slice(0, size)
        this.cachedText = this.cachedText.slice(size)
        return sample
    }
}

function randomBetween(min, max) {
    return Math.floor(Math.random() * (max - min + 1) + min)
}

function randomValueFromArray(array) {
    const randomIndex = Math.floor(Math.random() * array.length)
    return array[randomIndex]
}

function generatePaddedNumbers(start, end, totalDigits) {
    const numbers = []
    for (let i = start; i <= end; i++) {
        numbers.push(String(i).padStart(totalDigits, '0'))
    }
    return numbers
}

const numIterations = 1_000_000_000_000
async function main() {
    const sampler = new CosmopediaDataset()
    await sampler.init()
    sampler.loadSchema([{ prompt: 'INPUT: ' }, { text: 'OUTPUT: ' }])
    for (let i = 0; i < numIterations; i++) {
        if (i % 1000 === 0) console.log('iterations:', i)
        await sampler.getSample()
    }
}

main()

Component(s)
JavaScript, Parquet

After doing some more testing, I can confirm that this bug almost certainly exists in apache-arrow - and not in parquet-wasm. If you execute the above script in Node.js, it will quickly fail - and it will write the failing buffer to disk. That happens when apache-arrow fails to convert a buffer into a table correctly.
However, if you run the following script - you will read that "failed" buffer from disk in pyarrow - and it will work correctly.
Thus, the bug is in apache-arrow - not in parquet-wasm.
import pyarrow as pa
import pyarrow.ipc as ipc

def main():
    # Replace 'path/to/your/arrow_file.arrow' with the actual path to your Arrow file
    arrow_file_on_disk = './arrowStreamBuffer.txt'

    try:
        # Open the Arrow file
        with ipc.open_stream(arrow_file_on_disk) as reader:
            # Read all the data into a table
            table = reader.read_all()

        # Print information about the table
        print(f"Table schema: {table.schema}")
        print(f"Number of columns: {table.num_columns}")
        print(f"Number of rows: {table.num_rows}")

        # Print the first 5 rows of the table
        print("\nFirst 5 rows of data:")
        print(table.to_pandas().head())

    except FileNotFoundError:
        print(f"Error: The file '{arrow_file_on_disk}' was not found.")
    except pa.lib.ArrowInvalid:
        print(f"Error: '{arrow_file_on_disk}' is not a valid Arrow file or is corrupted.")
    except Exception as e:
        print(f"An error occurred: {str(e)}")

if __name__ == "__main__":
    main()

This is resolved now. Long story short, different shards were changing the order of columns, and I was not re-mapping the schema correctly. This was my mistake.


MudTable: Fix table trim warnings (net7 linker)

Description

Building net6 with net7 surfaces more trim warnings.
Fixing the table ones here.
This is due to the line
https://github.com/MudBlazor/MudBlazor/blob/be19c09a7745eb060bcd590e099049f467f49566/src/MudBlazor/Components/Table/MudTable.razor.cs#L63
I think it's useful to fix these in the dev branch and I want to check the build output on the build server.
How Has This Been Tested?

Build net6 with net7 SDK and fix resulting warnings.
Types of changes

[ ] 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)

Checklist:

[x] The PR is submitted to the correct branch (dev).
[x] My code follows the code style of this project.
[ ] I've added relevant tests.

@ScarletKuro Does this look ok to you.

Looks good.


[CSGen] Allow is patterns to infer type from enclosing context

Instead of assuming type of its sub-pattern is should be able
to infer type from context and then propagate that to the sub-pattern
via conversion. This enables support for patterns like .foo(_ as Foo)
where is would have a type different from _ which gets inferred
from associated value of foo and converted to Foo that becomes
a type of _ pattern.
Resolves: rdar://problem/63510989

@swift-ci please test source compatibility

@swift-ci please smoke test Windows platform

@swift-ci please smoke test Windows platform

@swift-ci please smoke test Windows platform

Looks like ACHNBrowserUI failure is unrelated, merging.
error: could not find module 'UIImageColors' for target 'arm64-apple-ios'; found: armv7-apple-ios, arm, armv7
import UIImageColors


Add rust-toolchain file

You can use the toolchain file to specify the nightly version.
See TiKV for an example, another project using nightly Rust.

thanks @sanxiyn  for suggesting this


Documentation needs to be edited to fit rework of nodebuilder library

The documentation is currently out of date due to the recent changes in the staging branch. This needs to be updated ASAP.

Issue #6 should be addressed before this.

This is in progress and mostly done to the point that people can learn what they need to use Kitsu effectively.


Fix kmt error

What does this PR do?
Fixes this error (when specifying -p with the kmt.test command):
Traceback (most recent call last):
  File "/home/hasan.mahmood/.local/bin/inv", line 8, in <module>
    sys.exit(program.run())
  File "/home/hasan.mahmood/.local/lib/python3.10/site-packages/invoke/program.py", line 398, in run
    self.execute()
  File "/home/hasan.mahmood/.local/lib/python3.10/site-packages/invoke/program.py", line 583, in execute
    executor.execute(*self.tasks)
  File "/home/hasan.mahmood/.local/lib/python3.10/site-packages/invoke/executor.py", line 140, in execute
    result = call.task(*args, **call.kwargs)
  File "/home/hasan.mahmood/go/src/github.com/DataDog/datadog-agent/tasks/custom_task/custom_task.py", line 149, in custom__call__
    result = self.body(*args, **kwargs)
  File "/home/hasan.mahmood/go/src/github.com/DataDog/datadog-agent/tasks/kmt.py", line 1212, in test
    run_config = build_run_config(run, pkgs)
  File "/home/hasan.mahmood/go/src/github.com/DataDog/datadog-agent/tasks/kmt.py", line 885, in build_run_config
    c["filters"][p] = {"exclude": False}
KeyError: 'filters'

Motivation
Describe how to test/QA your changes
Possible Drawbacks / Trade-offs
Additional Notes

/merge


Address dose not match with neo3-cli

We have used the latest neo3-cli for generate the address, but the address dose not math with neon-js.
privateKey:
    Hex: bded1d82c369de5e896f5039ade2d8d1942f15449a787d842a742f36c83d83be
    WIF: L3auJnrZymEwaTHokbF2YwB4PKGSZjD49uUMCSMV9cbNZiBH5Lwa

CLI address:  NYXBPFgUM2Wa9wUdtEZV3zk1pLWamNEJB1

/|\
 |
\|/

Neon-js address: AGT6SmEbMsXJJQF5vuVQ7f8diUbj861Tbv

neon-js: 5.0.0-next.2
neo-cli:  Combiled from master branch

yes that is because the latest neo3 cli uses a different address version from neo2. I dont really have the time to keep releasing a new version to keep up with development so I will only consider updating when they release a new preview.

Got, thanks


WIP: Machete Day!

Deleting stuff.
Removals so far

old sheerlike processors
outdated middleware
all of the 'import_data' infrastructure
ICSView and a V1-specific subclass

Checklist

[ ] Changes are limited to a single goal (no scope creep)
[ ] Code can be automatically merged (no conflicts)
[ ] Code follows the standards laid out in the front end playbook
[ ] Passes all existing automated tests
[ ] New functions include new tests
[ ] New functions are documented (with a description, list of inputs, and expected output)
[ ] Placeholder code is flagged
[ ] Visually tested in supported browsers and devices
[ ] Project documentation has been updated (including the "Unreleased" section of the CHANGELOG)
[ ] Reviewers requested with the Assignee tool :arrow_right:

Tremendous! :+1:


Using iTerm's profile

I've already set up a bunch of profiles in iTerm2 (pane name, badge, ssh command, colors, font, and etc.), and would like to reuse this profile by specifying in itermocil's yaml file. Is this possible?

@hisplan
If you mean you would like to be able to create a layout and have each pane/etc follow a different profile, I'm unclear if that is supported on itermocil's end.
However, I was able to find a proprietary iTerm command you can run to dynamically change profiles on the fly, and I believe (haven't tested) that this will work in the yaml.
^[]1337;SetProfile=NewProfileName^G
Taken from here
So your yaml might look like this:
windows:
  - name: _tiled_4_panes
    root: ~
    layout: tiled
    panes:
      - ^[]1337;SetProfile=NewProfileName^G
      - ^[]1337;SetProfile=NewProfileName^G
      - ^[]1337;SetProfile=NewProfileName^G
      - ^[]1337;SetProfile=NewProfileName^G

Just replace the NewProfileName with what you need.
A Safer Solution...
...is to setup iTerm with Automatic Profile Switching via Shell Integration (same resource linked above, just search), and thereby avoid any unintended consequences when using tmux or other services. In this way, your terminal panes will adjust their profile based on available information, like the current directory etc. For instance this...
windows:
  - name: _tiled_4_panes
    root: ~
    layout: tiled
    panes:
      - cd js/
      - cd py/
      - cd tests/
      - [your editor command] ./README.md

...with automatic profile switching, would have your Javascript profile, Python profile, Testing profile, and Editing profile active in each of the respective panes, as iTerm would recognize the directory/file pattern without you needing to programmatically swap to the profile with a [CAUTIONED] escape code.
Cheers. If this solves your issue, please remember to close the issue!

Just a 'me too' on the proposed solution.
I use this function (gleaned from the web somewhere) to achieve the desired profile switch, as per the 'Risky' solution above.
It is exported into my environment, and called in each iTermocil profile.
it2prof PROFILENAME
it2prof() { echo -e "\033]50;SetProfile=$1\a"; export ITERM_PROFILE=$1 }

did not seems to work under 3.1.5? Is is changed? @jonathanaamiller

I wanted a configuration that I wasn't able to get via itermocil, so I ended up creating itermp, which allows you to set the profile per pane.


Exercise 1 feedback

In order of appearance in lab:

when creating my container, hit this error:
"The request may be blocked by network rules of storage account. Please check network rule set using 'az storage account show -n accountname --query networkRuleSet'.
If you want to change the default action to apply when no rule matches, please use 'az storage account update'.
Removing the --auth-mode login allowed for creation, and the rest of the lab worked fine.

nit: Step 2 under CORS setting needs formatting of “Settings” fixed

Images zip also has a _MACOSX folder in it containing folders with hidden DS_Store files. Normal images folder also has the normal DS_Store files, which just looks unpolished and are unnecessary for the lab. Remove mac files from the downloadable zip.

Nit: code in OCR needs additional indentation for style attributes

@ivorb, I can remove --auth-mode login from the creation of the storage account containers, but in my account, that presents a warning. Not an issue, but something to be aware of, and I can still create the container, so that is better than an error in some environments.
There are no credentials provided in your command and environment, we will query for account key for your storage account.
It is recommended to provide --connection-string, --account-key or --sas-token in your command as credentials.

You also can add `--auth-mode login` in your command to use Azure Active Directory (Azure AD) for authorization if your login account is assigned required RBAC roles.
For more information about RBAC roles in storage, visit https://docs.microsoft.com/azure/storage/common/storage-auth-aad-rbac-cli.

In addition, setting the corresponding environment variables can avoid inputting credentials in your command. Please use --help to get more information about environment variable usage.

Feedback addressed:

I removed --auth-mode login from the creation of containers
Fixed formatting of Settings in step 2 of the CORS section
Recreated images.zip to remove _MACOSX folder and .DS_Store files.
Fixed indentation for JSON code under OCR section


Make ruby-6to5 work with therubyracer and javascriptcore

Currently, this gem doesn't work if therubyracer or JavascriptCore is selected by ExecJS as the runtime.
How to reproduce:
$ git clone https://github.com/6to5/ruby-6to5
$ cd ruby-6to5
$ bundle install
$ bundle exec rake test # passes
# add "gem 'therubyracer', platforms: :ruby" to Gemfile
$ bundle install
$ bundle exec rake test #fails
# lots of these errors: "V8::Error: Cannot set property 'to5' of undefined"

# if you are on a mac
$ EXECJS_RUNTIME=JavaScriptCore bundle exec rake test
# lots of these errors: "ExecJS::ProgramError: TypeError: undefined is not an object (evaluating 'f.to5=e()')"

Explanation
6to5-source-3.3.4/lib/6to5.js - Line 1 : Columns 153 to 273 looks like this:
var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.to5=e()
First, it checks for commonJS require, then AMD, and if it doesn't find either of those, it runs this code. It tries to attach the 6to5 function to window, global, and self (in that order).
In Node.js, (ExecJS's 4th choice for JS runtime which is installed on all Travis CI machines), global is always available. In this case, 6to5 happily sets .to5 on the global object, and the gem works.
However, in therubyracer (ExecJS's 1st choice for JS runtime) and JavaScriptCore (ExecJS's 2nd choice for JS runtime, window, global, and self are all undefined. Resulting in the error here.
Solution
Set self to this so that 6to5.js will attach and evaluate properly.
Add explicit tests for rubyracer, but test as many runtimes as possible for errors

I think we can probably fix this upstream in 6to5 to avoid this dependency.

@josh the issue isn't really with 6to5. It actually has to do with how browserify creates packages. The line I mentioned (with the self assignment) is browserify's code.
I would expect that the browserify folks won't want to change this behavior, since they probably have a strong reason for not attaching to this
If you do think I should go upstream, which project should I go to?

global is always available.

I'll probably change that in execjs.
I'm wondering if it makes sense for execjs to define self. I think that might throw off "is this a browser checks".

5c4fb5d5fbeadfc91ac5e3ca603718df69f85d99
thanks

cool! thanks


Added nimble_port_freertos_get_hs_hwm() visibility for ESP32 platform

Added ability to track nimble_host task free stack for ESP32 and fixed wrong values in case of uninitialized BLE stack

Thanks!


Bug/union wrong casting

Which issue does this PR close?

Closes #5212.
Rationale for this change

When we try to use "UNION" on columns having differently signed or sized integer types, we get a cast error for some cases (explained in the issue), which can be handled accurately.
What changes are included in this PR?

Previous casting matches are modified such that the resulting type of the column will be the smallest unit that will not cause to any error.
| Int64 | UInt64 | Int32 | UInt32 | Int16 | UInt16 | Int8 | UInt8
-- | -- | -- | -- | -- | -- | -- | -- | --
Int64 | Int64 | Int64 | Int64 | Int64 | Int64 | Int64 | Int64 | Int64
UInt64 | Int64 | UInt64 | UInt64 | UInt64 | UInt64 | UInt64 | UInt64 | UInt64
Int32 | Int64 | UInt64 | Int32 | Int64 | Int32 | Int32 | Int32 | Int32
UInt32 | Int64 | UInt64 | Int64 | UInt32 | Int64 | UInt32 | Int64 | UInt32
Int16 | Int64 | UInt64 | Int32 | Int64 | Int16 | Int32 | Int16 | Int16
UInt16 | Int64 | UInt64 | Int32 | UInt32 | Int32 | UInt16 | Int32 | UInt16
Int8 | Int64 | UInt64 | Int32 | Int64 | Int16 | Int32 | Int8 | Int16
UInt8 | Int64 | UInt64 | Int32 | UInt32 | Int16 | UInt16 | Int16 | UInt8
Are these changes tested?

Yes, test_union_upcast_types test function is added showing the error is solved in the issue.
Are there any user-facing changes?

No.

@berkaysynnada Really thanks for your work! I wonder what the type of the union of an Int64 and an UInt64 should be though.

Once you hit the widest fixed-size type, information loss becomes inevitable unless you have bigint or arbitrary-precision types at your disposal (for integral and floating point types, respectively). AFAIK Datafusion does not do such types at this time. If this is indeed true, we need to choose between losing very high numbers (by casting to Int64), or lose negative numbers (by casting to UInt64).

cc @liukun4515

Thank you!


refactor to multiple files: loaders, processors, reporters, utils (helpers)?

Should we refactor the code/functions in seperate files to divide into more functional groups?
f.e.

Loaders: Functions to load (GRB)data
Processors: functions to process/align (actual algorithm)
Reporters: Functions to report
(geometry) utils
Constants
...

closed, as this already the refactoring is already done in development branch


Plugin-React: Allow user provided babel plugins to be applied to non-project files

Clear and concise description of the problem
At present we can provide extra babel plugins to the @vitejs/plugin-react via its babel option, e.g:
export default defineConfig({
  plugins: [
    react({
      babel: {
        plugins: ["@compiled/babel-plugin"],
      },
    }),
  ],
})

For the most part this works fine. The plugins provided are applied to project files, where a project file is not a node_module and starts with the projectRoot (project root being the current working directory). This is defined here
This is where I encounter an issue. I am using pnpm workspaces in my project and have a directory structure like:
root
|
|__vite-demo-app
|          vite.config.ts
|
|__packages/
|         |
|         |__ui-package/
|                    some-files.ts

During development my workspace packages use src/index.ts for their main entry-point in their package.json. This means when a file is loaded it needs to be transpiled (by vite in this case). In my case I am using @compiled/react which requires its babel
plugin to be applied before using the component. Since my packages will be outside the project-root the react-plugin will not apply the user provided plugins to it.
Suggested solution
Allow users to specify an include (or something similar) option which can be used to ensure that user provided plugins are still applied. For example, logic defined in the vite react plugin, could become:
const plugins = isProjectFile || options.include.some(match) ? [...userPlugins] : []

Then I could do something like:
export default defineConfig({
  plugins: [
    react({
      babel: {
        plugins: ["@compiled/babel-plugin"],
        include: [function(filename) { return filename.includes('<my-project-name>/packages/<my-dep>'} ]
      },
    }),
  ],
})

The usage I'd ideally like to have seen is similar to how babel handles situations like this
Alternative
In my case I could pre-build my dependencies but this is not a great developer experience. Not aware of any other alternatives - but definitely open to suggestions.
My main goal in suggesting this change is so that I can make changes to workspace packages and see live reloads without needing to build the workspace package.
Additional context
Happy to pick this up myself and raise a PR for it.
Validations

[x] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

I work with a monorepo, where I use a bit of Vite alias trickery to remap workspace packages to reference the uncompiled typescript files. This allows changes to be seen without recompiling.
I spent a long time figuring out why my project wasn't working after upgrading plugin-react, but eventually stumbled upon the same issue you have. I think the change is an improvement, however I, like you, want to be able to continue to apply babel transforms to these files.

If anyone wants to write tests for #6202, we can get it merged!

For anyone using a monorepo and the @vitejs/plugin-react plugin, there was a discussion in #6202 that explains how to setup a babel config across all projects.
Currently, @vitejs/plugin-react only applies babel to files within the project root, which ends up being the main entrypoint that vite is building.  In a monorepo, this does not include any of the other projects/workspaces.
To fix this, you can setup the plugin to use your own babel config on top of theirs by using configFile: true.
.vite.config.js:
reactPlugin({
  babel: {
    configFile: true, // Tells @vitejs/plugin-react that there is a babel.config.js or babel.config.json to search for
    rootMode: "upward", // Use this if you want a shared babel.config.json at the root of your monorepo
  }
}),

babel.config.json (example):
{
  "only": ["**/packages/**/src"],
  "ignore": ["**/node_modules/**"],
  "plugins": [
    ["@babel/plugin-proposal-decorators", { "legacy": true }],
    "@quickbaseoss/babel-plugin-styled-components-css-namespace",
    ["babel-plugin-styled-components", { "displayName": true, "fileName": false }]
  ]
}

You can add babel.config.js files within each project, as well.


Debian package building fails  due to git vet

There is no issue tracker for your go-whisper fork, so I'm opening the bug here.
find . -not -path "*vendor*" -name "*.go" | rev | cut -d/ -f2- | rev | cut -d/ -f2- | sort -u | xargs -IMODULE go vet github.com/lomik/go-carbon/MODULE
_vendor/src/github.com/lomik/go-carbon/carbonserver/carbonserver_test.go:91: github.com/lomik/go-carbon/vendor/github.com/lomik/go-whisper.TimeSeriesPoint composite literal uses unkeyed fields

Hi. Please, specify golang version.

I can't reproduce problem. But this change should fix it https://github.com/lomik/go-carbon/commit/e364c88539d09607fd9f6f254b68dca8a73a77e0

go version go1.7.3 linux/amd64

And yes, the change fixes the issue. Thanks!


dataset format

@ahq1993
Tks for sharing such a great work.
It seems that libbot2 is not supported on Windows.
So can you please explain for me the format of the dataset after getting through all steps in data generation ?
I will try to generate the dataset by myself after knowing thoroughly the format of needed dataset.

Follow the updated instructions on the GitHub. I have also released a simple python-based visualizer.


aws cloudformation validate-template parity

Minimal template example that passes cfn-lint but fails aws cloudformation validate-template
Resources:
  Type: AWS::S3::Bucket

Template format error: [/Resources/Type] resource definition is malformed

Turns out we are checking for this but we had some issues when looking at directives that caused it to not get displayed.


Separate x and y pixel per meter

For a non equal frame to real area projection

https://github.com/kudryashovda/createAmotion/pull/6/commits


feature: support reactive/lazy modifiers on container components

This PR will allow container components, e.g. Grid, Section, etc to accept reactive(), lazy() and stateBindingModifiers() calls and then proxy those calls down to child components.
This removes multiple calls to those methods on the child components.

I've just refactored this so that the component inherits its state from its container, and the container inherits its state from its parent component, instead of the state being passed down the component tree.
What do you think @ryangjchandler?

LGTM!


tests like u3 cart

The tests is u3 for the Cartesian variant is how it should all be done: It's memory-efficient and absolutely clear.

This is more or less done for all tests that have orthogonal polynomials.


Right way to install mods on a cluster setup

Hello,
we are currently running 7 maps/instances on one dedicated server and I'm trying to figure out the right way to install mods.
We have about 17mods we want to use. I used to put all the IDs into the instances config files and then arkmanager installmods @all, but removing or installing another mods makes it a bit annoying in the long run, putting the ID into every single instance config.
I was thinking about to remove all mods which are currently listed in the instance configs (put comment on the ark_GameModIds line), then arkmanager uninstallmod id1,id2,id3 @all (all the IDs from the instance config) and then reinstall the mods I want with arkmanager installmod id1,id2,id3 @all.
Would this be the right way to have it cleaner and easier?
Thanks!

If a mod is shared between all of the instances, you should be able to use arkmod_{modid}=enabled in your arkmanager.cfg
Alternatively, you can use arkmanager enablemod {modid} @all to write this option to all of the instance configs.

Oh I see, so its enough to put it into the .arkmanager.cfg instead of each instace since yeah we share all the mods with all the instances.
So I can comment the ark_GameModIds={modids} in each instance and put it into the .arkmanager.cfg. Yeah, thats much easier!

Oh I see, so its enough to put it into the .arkmanager.cfg instead of each instace since yeah we share all the mods with all the instances.
So I can comment the ark_GameModIds={modids} in each instance and put it into the .arkmanager.cfg?

Yes.  As long as there are no options that need to be at the end of the server options string (options in arkmanager.cfg or .arkmanager.cfg will go onto the end of the server options string, usually in ASCIIbetical order), this should work.


Casting to AnyObject makes life hard for Swift type checker.

It takes about 500ms for the isEqual line, thus slowing down autocomplete and build times.
Using proper types types resolves this issue.
Issue Link :link:
#2793
Testing Details :mag:
Relevant test suite (ServerTrustPolicyPinPublicKeysTestCase) runs successfully.

Thanks for the PR!
This is interesting. Perhaps this implementation works now, as I definitely tried it when refactoring from Alamofire 4, but that was back with Swift 4 or 4.2. As long as we have test coverage on both the positive and negative side of the key pinning logic, I'm happy with this change.
@cnoon Any thoughts? This was an awful hack from long ago and if it's unnecessary now I think we'll be better off.

@radianttap Just saw this is on the hotfix branch. That branch is only for Alamofire 4, which this change would not be part of, if only because it won't work in older Swift versions. Could you point the PR to master?

I did not follow the Alamofire development for a while, and it seems things in v5 are changing a lot. I need to do a separate PR for the master, right and keep this one for v4?

I would love to see this change make it into AF5. I don't even remember having to force that cast back when I wrote the original version, but if the Swift 5 compiler allows the comparison without having to force the bridging, then that would great! @radianttap if you could re-open a new PR against master that would be ideal. I'm not sure this is worth fixing in the AF4.x branch. I'm also not sure that it will be backwards compatible with older compilers.

@jshier I think I'd advocate for getting this change into AF5, and not trying to make it on AF4.x. Is that your take as well?

Yes. Like you said, I'm pretty sure there will be compatibility issues with older compilers anyway.

Thanks for the discussion guys. I'm not sure what is the lowest supported Swift version for v4 but this change should compile just fine at least in Swift 4.2.
However, for master branch I don't think any change is needed, since the corresponding line is casting into AnyHashable, not AnyObject. And that does not incur any performance issues I can see.
I ran the tests with and without that casting and all seems fine. Thus if you want to get rid of the casting to AnyHashable, I'll make a PR - let me know.
BTW, I'm testing by adding -Xfrontend -warn-long-expression-type-checking=50 as Debug custom flags for swift compiler (Other swift flags).

I think it would be great to have a PR against master that removes the AnyHashable casting @radianttap if you have time. Thanks for all your work on this! 🍻


const fails when used as the argument to a template of a template

This works:
from libcpp.vector cimport vector

cdef extern from "Test.hpp":
    cdef vector[char](const) f()

As does this:
from libcpp.vector cimport vector

cdef extern from "Test.hpp":
    cdef vector[f()

But this causes a Cython parse error on Cython 0.18:
from libcpp.vector cimport vector

cdef extern from "Test.hpp":
    cdef vector[vector[const char](vector[char]])] f()

Migrated from http://trac.cython.org/ticket/798

The obvious work-around is a ctypedef, but it seems worth fixing.
The parser calls p_buffer_or_template() to parse the […] part, which then calls p_positional_and_keyword_args() to parse what's inside of the brackets. I guess that simply doesn't allow template type declarations. It could, though. That would probably also help with template type parsing in function signatures.
Also needs a test, probably in one of the tests/run/cpp_*.pyx modules.

Taking a look


CU-85zt2ge0n_Solve-javaS5786-code-smell-in-ProjectControllerTestjava

Fetch modifications from master branch

Task linked: CU-85zt2ge0n Solve java:S5786 code smell in ProjectControllerTest.java


Typo fix

Just a typo error fix

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

Thanks for your contribution @jeffersonRibeiro !


[Feature]: Integration with Rsdoctor

What problem does this feature solve?
Some rough ideas about the features we could provide:

Inspect the bundled size locally (only bundled files of user's package)
Inspect the size will be bundled into the application (include package's dependencies, similar to https://pkg-size.dev/ and https://bundlephobia.com/)
GitHub Action to measure the diff of the metrics.

What does the proposed API look like?
/

This one may inspire our config check feature https://publint.dev/


feat(FileUploaderButton): add disabled prop

Closes IBM/carbon-components-react#1444
This prop disables functionality, but the button doesn't look disabled. How can I fix it? Maybe there is some kind of class I could use?
Changelog
New

Disabled prop

@asudoh yeah, sure. Any ideas regarding the styles tho? This could be a bit misleading to disable just the functionality.

@lekterable Good question - Do you want to do something similar to: https://github.com/IBM/carbon-components/blob/v9.43.0/src/components/button/_mixins.scss#L23-L26? Thanks!

@marijohannessen all the tests passed, this is an error that CircleCi is throwing:
Test Suites: 144 passed, 144 total
Tests:       11 skipped, 1196 passed, 1207 total
Snapshots:   84 passed, 84 total
Time:        42.081s
Ran all test suites.
$ yarn build && node ssr-tests/*.js
$ node scripts/build.js
Deleting old build folders...
Successfully compiled 420 files with Babel.
Successfully compiled 420 files with Babel.

[!] RangeError: Exceeded size threshold of 80000 bytes (gzipped)!
RangeError: Exceeded size threshold of 80000 bytes (gzipped)!
    at Object.ongenerate (/home/circleci/repo/scripts/rollup.config.js:49:21)
    at /home/circleci/repo/node_modules/rollup/dist/rollup.js:19644:40
    at Array.forEach (<anonymous>)
    at /home/circleci/repo/node_modules/rollup/dist/rollup.js:19642:41
    at <anonymous>

One of the commands failed: Error: Command failed: /home/circleci/repo/node_modules/.bin/rollup -c scripts/rollup.config.js -o umd/carbon-components-react.min.js
    at checkExecSyncError (child_process.js:602:13)
    at execSync (child_process.js:642:13)
    at exec (/home/circleci/repo/scripts/build.js:23:3)
    at Promise.all.then (/home/circleci/repo/scripts/build.js:52:5)
    at <anonymous>

any ideas?

It seems to be working again now! 🎉


Homebridge integration

More a feature request, how easy would it be to port to Homebridge?

@frizby66 I don't know.
I have no experience with HomeBridge. I will need to look into that.


headers with number of # charcaters other than 2

I had some VCF's that passed this validator that went on to cause errors in other programs. It turns out the issue was that some of the headers had three #'s instead of two as is spec. It would be great if this validator checked for that.
Thanks!

Hum, interesting. This: ###contig=<...> would define a custom property named #contig. The spec actually doesn't stop you from doing that, so it would actually be correct.
We could issue a warning, but that would be flagging potential fair usages. For instance #researchers would be ugly in my opinion, but valid nonetheless.
Outr team will discuss if it's worth to issue a warning.

Please see the second comment here:
https://github.com/googlegenomics/gcp-variant-transforms/issues/119
I was told headers like:
###FORMAT=<ID=AD,Number=G,Type=Integer,Description="Allelic Depths of REF and ALT(s) in the order listed">
Were not spec.

Sadly, the VCF spec has similar things like this, where the reasonable thing is meant, but not written explicitly. This leads to different behaviours in different tools, depending on what "reasonable" means to each organization. I can be wrong, but as far as I know googlegenomics is not involved in the development of the spec.
You can verify yourself  that a metadata key has no restriction on what characters can contain. It is only mentioned that "a metadata line is prefixed by "##" and is in the form of key=value". So only the character "=" would be problematic to be in the metadata key. https://samtools.github.io/hts-specs/VCFv4.3.pdf
I'm going to create a ticket in the VCF spec repository, to confirm that they wanted to forbid 3 #'s, and to suggest to state that more clearly in the spec.

I see, thanks for the clarification!

Will fix in hts-specs


loss_rs is not used when pretraining ToD-BERT-JNT?

https://github.com/jasonwu0731/ToD-BERT/blob/master/my_tod_pretraining.py#L448
## Calculate RCL loss
scores = torch.matmul(hid_cont, hid_resp.transpose(1, 0))
loss_rs = xeloss(scores, resp_label)
loss_rs = loss_rs.item()
loss += loss_rs

I think loss_rs is not used to update model's parameters.

Hi @YawYoung
Thanks for pointing this out. This is a mistake while I was refactoring the code and I have corrected it for the latest code. If you check this previous version, the code should be correct.
Please make sure while you are training, both losses are reducing. Hope this help.

Thanks, the loss looks correct now ^-^


[c# comm] Remove error code from EpoxyHeaders

Indicate transmission of an Error using a new framelet instead. In
addition, remove ErrorCode.OK and rename Epoxy's PayloadType to
EpoxyMessageType.
Left to do:

[x] Update SimpleInMemTransport like we did Epoxy

@chadwalters, @tstein: please review, as you've already seen some parts of this change elsewhere.

LGTM with some small stuff.

Looks good to me, too. Feel free to merge.


Possibility to stretch last column

Hi! Thanks for this library. Wrapping column sizes to largest item works quite well. However, I wonder if is it possible to stretch last column to screen size if there is space left. My situation is this:

You see that it looks a bit clumsy now. I would like first three columns to keep current width, but "Tila"-column to stretch to right.

With 0.8.8 version, you can change column width value programmatically. However, It doesn't support stretching yet.
tableview.setColumnWidth(columnPosition, width);
Please let me know the result.


Default configuration options should be hard-coded and not require a config.yaml in $HOME

Right now, the default config is stored in a file which must be installed to the right location. It would be better if default configuration was simply defined in Python.

Closed by #15


suppress mouse down but still receive mouse up event

If I suppress the MouseDown event via e.handled = True, I never receive a corresponding MouseUp event.  Is there some way to suppress the event but still get notified when the button is released?  Thanks!

Changelog says this was fixed in 30616c81bbce2f5d2caf5fa3eb1b2a5d12c28271, testing now!


How to assign Token lifetime policies for Service Principals under MG Graph PS?

The example in the document talks about how to assign the token lifetime policy to an app but it does not talk anything about service principals.
Can we edit this example to also include how it will work for service principals to make it easier for our customers?

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

ID: 7537fd89-fd10-1fa2-a721-5260896cfa8a
Version Independent ID: 8bacaf52-5b8b-d118-2bda-7dfc3861aaba
Content: Set lifetimes for tokens - Microsoft Entra
Content Source: articles/active-directory/develop/configure-token-lifetimes.md
Service: active-directory
Sub-service: develop
GitHub Login: @rwike77
Microsoft Alias: ryanwi

Thanks.  You can use the Graph REST API to add policies to a service principal.  I've added some examples for doing so.

Updates have merged, should publish shortly.  #please-close


BUG:

I've got file directories with multiple suffixes, such that something.txt, something.md, and something.dat coexist.  That means now to use the tiled catalog register --keep-ext option, like this:
$ tiled catalog register -vvv --keep-ext dev_sampler.sql ./dev_sampler
Traceback (most recent call last):

  File "/home/beams/JEMIAN/.conda/envs/tiled/bin/tiled", line 8, in <module>
    sys.exit(main())
             ^^^^^^

  File "/home/beams/JEMIAN/.conda/envs/tiled/lib/python3.11/site-packages/tiled/commandline/_catalog.py", line 155, in register
    from ..adapters.files import identity

  File "/home/beams/JEMIAN/.conda/envs/tiled/lib/python3.11/site-packages/tiled/adapters/files.py", line 1, in <module>
    raise Exception(

Exception: The way that tiled serves files has changed.

See documentation section "Serve a Directory of Files".

Looks like this line has not kept up with the code updates: https://github.com/bluesky/tiled/blob/26c4ecf89c10ce97cf2b9c7339510f18e43eb52a/tiled/commandline/_catalog.py#L155
since that file is one big fat exception raiser: https://github.com/bluesky/tiled/blob/26c4ecf89c10ce97cf2b9c7339510f18e43eb52a/tiled/adapters/files.py#L1-L6

Local change to that line 155 above works:
        from ..catalog.register import identity


Export addressbook / CardDav support

It would be great to have a possibility to export the addressbook.
It would be even better to have CardDav support.

I think a CardDav end-point with a one way sync (vutuv -> device) would make most sense. This way people can easily add their vutuv contacts to their address book on mobile devices, desktop clients, etc.


fix(listitem): add to index for export

Can't call list item in SRP correctly
Before:
---react/index.js
After:
--- react/index.js
export { default as LogoRainbow } from './LogoRainbow/LogoRainbow';
EXAMPLE USAGE:
just a simple import
import {  ListItem } from "seek-asia-style-guide/react";

Guys plz review again thx

@mengtzu , it's work for me.
Jun Kit Chan [4:15 PM]
you can try the following step:

delete package-lock/ yarn-lock file
delete node-module
npm install
update the snapshot


Add "Start Another Request" Button

Users often have multiple citations that might be eligible for Ability to Pay requests. But they have no way of getting back to the beginning of the interview.
We need to add a button on the last screen of the interview that allows them to do this.


How to change width and height of expanded/collapsed icon?

Hello
I try to make bigger expanded/collapsed icon but can not figure out how to do that.
If I use default width/height style, icon is not centered on both cases. For example, I can perfect size it on collapsed state but when expanded, it is not positioned on the middle and vice-versa.
Thank you for your ideas.

Hello!
Attach preview image and/or code you write.

Hello
I change this in css:
.treegrid-expander::after {
border: 12px solid transparent;
margin-left: -18px;
}
and it looks like this:
https://imgur.com/hRoUQAp
when I change margin-top: -14px; to align it horizontally, then it looks like this:
https://imgur.com/crkpSXt
What I need is just to make expanded and contracted icon bigger so it can be used on mobile. OR, I can also put fontawesome chevron fonts (but I don't know how...)
Thank you.

How to make bigger expand/collapse icons, please? Or, how to put some normal icons so it can be used on mobile? Currently, it is too small. Thank you.

You can use treegrid-expander-expanded class to set additional style of expended icon, like this
.treegrid-expander.treegrid-expander-expanded:after {
    margin-top: youwant;
}

Or you can use font awesome icons with sets a some styles:
.treegrid-expander {
    font-family: "Font Awesome 5 Pro"; // or set your font-awesome font
}
.treegrid-expander:after {
    content: "\f0da"; // right
}
.treegrid-expander.treegrid-expander-expanded:after {
    content: "\f793"; // down
}

Hello
thank you so much but it does not work here.
here is my css file (I deleted not needed things:
`
.treegrid-expander {
display: inline-block;
margin-left: -24px;
position: relative;
width: 24px;
}
.treegrid-expander {
vertical-align: middle;
}
.treegrid-expander-expanded,
.treegrid-expander-collapsed {
cursor: pointer;
}
.treegrid-expander-expanded::after {
border-top-color: #ccc;
}
.treegrid-expander-collapsed::after {
border-left-color: #ccc;
}
.treegrid-expander {
font-family: "Font Awesome 5 Pro";
}
.treegrid-expander::after {
content: "\f054";
}
.treegrid-expander.treegrid-expander-expanded::after {
content: "\f078";
}
`
and it looks like this:
https://imgur.com/8LxFA3d
as you can see, it display chevron also there where are no children's.
How to solve this, please?


Rename binary from vci to vulncheck

[ ] look and find/replace all cases of vci to vulncheck
[ ] change alias issue to point vci -> vulncheck
[ ] test all scripts/namespace/etc with the new namespace
[ ] re-do PR to brew with the updated formula once other repo stipulations are met

upgrading:
If you want to maintain your config/token, run the following commands:
mv ~/.config/vci/vci.yaml ~/.config/vci/vulncheck.yaml
mv ~/.config/vci ~/.config/vulncheck
vulncheck auth status should show you are logged in with a valid token


Allow later initialization through initialValues prop

Fixes #18.

Codecov Report

Merging #30 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master    #30   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           8      9    +1
  Lines         121    138   +17
  Branches       33     38    +5
=====================================
+ Hits          121    138   +17

Impacted Files
Coverage Δ

src/shallowEqual.js
100% <100%> (ø)

src/ReactFinalForm.js
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

Published in v1.1.1.


hello

First lucifer
Thanks for react-lite who allow me to boost my web-site
I found an issue on generated iframe with react-lite ,
i use Sdk Facebook to integrate Facebook page in my react web app, all work good with normal react , but with react-lite: i constated an issue when i change of page on my menu
the problem was in destroyVelem;
node.vchildren is null for an iframe /due maybe security stuff or maybe because iframe is generated dynamically/
So i propose you to add just one test if children exist
With this test my website work with Facebook now ;))
function destroyVelem(velem, node) {
var props = velem.props;
console.log(node);console.log(node.vchildren); //--> null
var vchildren = node.vchildren;
var childNodes = node.childNodes;
if(vchildren){
for (var i = 0, len = vchildren.length; i < len; i++) {
destroyVnode(vchildren[i], childNodes[i]);
}
}
detachRef(velem.refs, velem.ref, node);
node.eventStore = node.vchildren = null;
}

Every element created by virtual-dom has a custom property named vchildren, defaults to empty array, so it's not necessary to check whether node.vchildren is existed or not.
Maybe the node created by virtual-dom has been removed or replaced manually?

the fact is after my patch , all works for loading my Facebook page, without i ve got an error ..  for me node.vchildren is null and not empty array.. so i ve got a problem.

Ps the issue happened when i changed of page (of component) so i guess after the dom is destroyed

It's ok to add the test:)

cool 👍


Red progress bar not working with 5.6

Script version
5.6
Describe the bug
The red progress bar not appearing in the bottom.
Desktop (please complete the following information):

Windows 10
Opera
Latest

Video not even shwoing in watched videos.

Back to 3.8.

Even with 3.8 the progress bar doesn't work, it's like you enver watched the video.


 Would be epic!

What happened to line numbers?

and you revealed your name by showing your private path

What happened to line numbers?

 Would be epic!

I'll do my best. I'm gonna be really busy this morning but I might have time later!

So how exactly does the highlighting work? I'm not getting any color for a python file...

whyd you have to swear bruh

That's what I was thinking but didn't want to say anything

@Moosems theres a setting to enablr code editing

@sumeshir26 I have it on right now :|

@Moosems Restart the app after turning on the setting. Now the syntax should be highlighted (if you open a file or save it).

@not-nef applysettings() doesn't work if it is on for some reason

What? That cant be!

Are you sure? @Moosems

Yeah. It doesn't load the app. It's so weird

I just narrowed it down to line 60 in applysettings.py @not-nef     tabmanager.buildtabs()

It loads the app completely fine for me. Maybe a mac issue?

Possibly. It's real weird though

@not-nef I found that it seems to be an issue with buildtabs(). will look into it further

@not-nef I found the issue. change button.update() to button.update_idletasks()`

in buildtabs()


Fix RN66 workaround for screens with multiple switches

Screens with multiple RnSwitches still hang with RN66 - this pr fixes the issue.

retest this please


Automatic Subdomains points to original build never updates

Before opening, please confirm:

[X] I have checked to see if my question is addressed in the FAQ.
[X] I have searched for duplicate or closed issues.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
[X] I have removed any sensitive information from my code snippets and submission.

App Id
d375lqznbd4t7s
AWS Region
eu-west-2
Amplify Hosting feature
Build settings
Describe the bug
When I have Automatic subdomains being created with new branches using the option:
"Automatically create subdomains for branch names that match a pattern" in Manage Domains section
The subdomains are created and work fine, however if I commit  new code to the branch that the subdomain is using I never see it update with those changes.
Amplify does a new build and seems to creates a whole new cloudfront distro url, the custom domain doesn't point to the new cloudfront url, it points to the cloudfront ulr for the previous build.
This means that after the first deploy I never see any changes from any new commits.
If I delete the custom domain and recreate on with the same subdomain pointing to the same branch, suddenly the custom domain points to the latest build for the latest commit for that branch
Expected behavior
Automatically created subdomains point to the latest build for the latest version of that branch
Reproduction steps

Set up Amplify to create deploys based on branch name pattern
Make sure that that the custom domain has it's own hosted zone (Automatic subdomains won't work otherwise)
Make a branch with the correct name pattern
wait for it to deploy and test with subdomain
push update to the branch in question
See how subdomain doesn't reflect change.
Go to Amplify Domain Management, click edit
Copy the subdomain text, then remove it from the list, then add it again paste the text you copied and select the correct branch from the list
Click update and check the the subdomain link
You can now see the changes from your latest commit

Build Settings
version: 1
frontend:
  phases:
    preBuild:
      commands:
        - npm ci
    build:
      commands:
        - npm run build
  artifacts:
    baseDirectory: .next
    files:
      - "**/*"
  cache:
    paths:
      - node_modules/**/*

Log output
N/A no log no error
Additional information
No response

having a similar issue
Build completes and says that it pulled in the latest commit. When I go to check the code that should be live, it hasn't updated with the changes in the repo

Hi folks @codybooher @Develliot, I was trying to reproduce this issue but was unable to. I created a new branch dev and the subdomain was automatically created. Commits were also being properly deployed to the application and visible using the subdomain URL.
What patterns did you set for the auto subdomain feature?

I ended up deleting the project and starting over. I'm not sure what caused the issue :
Sorry I don't have more info


Update main doc file

Update documentation

[x] Update main documentation file to reflect current architecture.
[x] Update main readme file to explain how to import, build and use JavaScript from govuk-frontend

Links for reviewers:

main documentation file /docs/index.md
main readme file README.md

Trello card:

https://trello.com/c/qSxJW8Z4

This is ready for review. The Browserify, Require.js ant potentially other bundlers.

package-log in examples/webpack?

@igloosi yeah, we probably don't need the lock in examples

@nickcolley: updated .gitignore.
Because the javascript for the existing components (button and details) is being automatically initialised we don't have further details on Option2. As you mentioned this can be reviewed as part of #660


Make repo discoverable

You tagged the repo with hex-editors, while hex-editor is much more widely used, consider updating that ;)

Good catch; I've updated that now!


no BTF found for kernel

when i run command pwru --filter-src-ip <IP_ADDRESS>
i got the error bellow
2023/03/03 10:11:59 Failed to load BTF spec: no BTF found for kernel version 6.2.1-1.el7.elrepo.x86_64: not supported

my kernel version not support


Extend the handling of opam-repository in the solver to use multiple such repos

This allows us to handle the case where some packages in the build are
declared in a separate repo, e.g. ocaml-multicore/multicore-opam.
This extends Opam_repository to accept a repo URL with each call,
and to infer a local directory name based on that URL. This means that
it no longer is hardcoded to use opam-repository as the local clone
name, nor to use the GitHub ocaml/opam-repository as the only repo.
This adds the ability to call oldest_commits_with across multiple repos,
with the semantics that we partition the packages based on which repo
we find them in, and return the oldest commit for each partitioned set.
This extends the solver service to handle multiple opam-repos. To do
this, the API to the service has been changed to pass a
(string * string) list in place of the old opam-repository commit. We
no longer clone opam-repository when the solver service is started, and
instead wait until the first request arrives. To support this,
Opam_repository.open_store will now clone the repo if the local clone
does not yet exist.
This adds a helper module Remote_commit, which is very similar to
Current_git.commit_id. It felt wrong to have solver depend on an
Ocurrent plugin, so I added this new module, but I feel like this could be
cleaned up and we could have a utility module somewhere common (maybe even
ocaml-git should be providing this).
This adds a dependency on Str from ocaml-ci-solver, to use a regexp for
sanitizing the repo URL into a local directory name.
Note that all of this doesn't change the way that Opam_build handles
opam-repository.  Our current Docker containers for multicore have
the primary opam-repository cloned locally and registered with opam
through a file: URL, but the multicore repo is registered as a
git://github.com URL. This means that Opam_build retains its
special-case code for refreshing ~/opam-repository inside the container,
and all other refreshing is handled by opam.
Signed-off-by: Ewan Mellor<EMAIL_ADDRESS>

Looks good to me on first review. I'm building on top of this PR to add multicore-opam support to ocaml-ci, so will report back when that works. (might as well merge this alongside the actual feature it supports).


Feature request. auto increase level after some score.

also please add keyboard shortcut to increase or decrease level.  Glad I found this game!

Closed via 37eb8a514c93b1ae7f9e0ef849fcc89477afe2e4


allow NOP-casts with mismatching vtables

The Miri side of https://github.com/rust-lang/rust/pull/100208.

@bors r+

:pushpin: Commit cf04c1f1ce37cefc2ebd629d6e633d0c5c1d6a48 has been approved by RalfJung
It is now in the queue for this repository.

:hourglass: Testing commit cf04c1f1ce37cefc2ebd629d6e633d0c5c1d6a48 with merge 1a03e30b7995982943035fd74e80f6000d0f0ab3...

:sunny: Test successful - checks-actions
Approved by: RalfJung
Pushing 1a03e30b7995982943035fd74e80f6000d0f0ab3 to master...


Check if branch has been updated before updating a Pull Request

Closes #144
Summary
Update the /pr variant of this Action to check if the Pull Request has been updated before trying to create a/update the Pull Request. This is done so that user-made changes on the Pull Request won't be overridden.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (14fcb54) 98.33% compared to head (6f7c1a2) 98.33%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #159   +/-   ##
=======================================
  Coverage   98.33%   98.33%
=======================================
  Files           4        4
  Lines         120      120
=======================================
  Hits          118      118
  Misses          2        2

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


javascript movie app using omdb api

Do not Edit the readme file
Fetch Upstream and add your project info in project_doc.md file

resolve conflicts and raise another PR


Vaccine data 12/29 update

Why New York State was change to a Yes to a No few days ago on the John Hopkins University Vaccine Tracker website. Why is California still grey on the John Hopkins University website map of the vaccine tracker? Here’s the link. https://coronavirus.jhu.edu/vaccines


suneditor can be attached to div?

i wanted to attach editor to a div not textarea ,but when i do it gives a textarea with undefined content to edit

"div" is also possible.
Just create it the same way as "textarea".

but it creates a textarea with undefined contents
this hii div is not displayed
hiiiiiiiiiii
const editor = SUNEDITOR.create("hy", {
  mode: "balloon",
  buttonList: [["fontColor", "hiliteColor", "textStyle"]]
});

You can use the value option.
const editor = SUNEDITOR.create("hy", {
value: "hiiiiiiiii", // or HTML string
mode: "balloon",
buttonList: [["fontColor", "hiliteColor", "textStyle"]]
});

do i have to get the contents and set to the value?

Yes, it is.
In the next version, I'll change it to get the contents of the div as well.

The 2.45.0 version has been updated.
Thank you.


🐞 [Bug]: Mycelium not seen by Networks.vue

Is there an existing issue for this?

[X] I have searched the existing issues

which package/s did you face the problem with?
Dashboard
What happened?
There should be a check for if mycelium is null  here https://github.com/threefoldtech/tfgrid-sdk-ts/blob/bdcdc46698d8ebfd6d267190265dc9983781b77e/packages/playground/src/components/networks.vue#L140
Otherwise it just doesn't see a network selected when mycelium is passed as a prop
Steps To Reproduce

Open Dashboard
Connect wallet
Navigate to Applications Page
Select Algorand
View this Console error

which network/s did you face the problem on?
Dev
version
2.4
Twin ID/s
No response
Node ID/s
No response
Farm ID/s
No response
Contract ID/s
No response
Relevant screenshots/screen records

Relevant log output
main.ts:17 [Uncaught Error]
- Message: You must provide at least one network  option
- Stack: Error: You must provide at least one network  option
    at setup (http://localhost:5173/src/components/networks.vue:40:13)
    at callWithErrorHandling (http://localhost:5173/node_modules/.vite/deps/chunk-S4KY57GZ.js?v=f3bcf855:1584:18)
    at setupStatefulComponent (http://localhost:5173/node_modules/.vite/deps/chunk-S4KY57GZ.js?v=f3bcf855:8648:25)
    at setupComponent (http://localhost:5173/node_modules/.vite/deps/chunk-S4KY57GZ.js?v=f3bcf855:8609:36)
    at mountComponent (http://localhost:5173/node_modules/.vite/deps/chunk-S4KY57GZ.js?v=f3bcf855:7014:7)
    at processComponent (http://localhost:5173/node_modules/.vite/deps/chunk-S4KY57GZ.js?v=f3bcf855:6980:9)
    at patch (http://localhost:5173/node_modules/.vite/deps/chunk-S4KY57GZ.js?v=f3bcf855:6455:11)
    at mountChildren (http://localhost:5173/node_modules/.vite/deps/chunk-S4KY57GZ.js?v=f3bcf855:6699:7)
    at processFragment (http://localhost:5173/node_modules/.vite/deps/chunk-S4KY57GZ.js?v=f3bcf855:6914:7)
    at patch (http://localhost:5173/node_modules/.vite/deps/chunk-S4KY57GZ.js?v=f3bcf855:6429:9)
- Constructor: Error

Devnet ccab3f0.
The error isn't shown anymore, and I could enable or disable mycelium if I wanted.


Implement a share feature

We can implement one share feature for a share a link of specific state data or region

we can put the share button in /state/ route
with the help of that user can share a whole state covid data[ LINK ] on other social media or [copy the link]
furthermore, we can actually drill it down more like share a particular field like active cases, vaccinated, daily cases, etc.

Great Idea..
Are you working on it.

Seems like this project is up for grabs

That's a great idea!, Have you started working on it? I would like to contribute to it as well.

I have attached sharing links to Facebook, Whatsapp, Email and Twitter. But code isn't pushed as this issue is still in review.

I have added sharing links to Twitter, Facebook, Whatsapp and Email. But changes isn't pushed as this issue is in review stage.


Test build

Description

Motivation and Context

How Has This Been Tested?

Checklist:

[ ] I have submitted a CLA form
[ ] If applicable, I have updated the documentation accordingly.
[ ] If applicable, I have added tests to cover my changes.

Closing as this as it was a test


Set focus to response messages

The site does not draw focus to messages that appear after the user makes a form submission (e.g. profile updated) and so a screen reader does not notify the user of the result of the their submission.
We should set the focus to these messages so that a screen reader notifies the user.
From old Pivotal ticket: https://www.pivotaltracker.com/story/show/131688927

This is implemented via aria-roles and aria-attributes, I believe

Just focus on non org-admin/super-admin pages for this first pass

related to #175 and #457

It may be enough to just give the messages the role="alert" attribute
https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Techniques/Using_the_alert_role

Gave the standard roadmap-info-box and roadmap-alert-box the status and alert roles.
We will need to go into the forms and add role=alert to any JS triggered error messages (see how I implemented this on the javascripts/views/plans/index.js and role=status to tooltips. It would be nice if this could be made generic and attached to those elements on the javascripts/dmproadmap/utils.js file

Not entirely sure how to test this, but expect it will be covered sufficiently by accessibility test

closing pending accessibility test


Added +x ACL on .local directory task

.local might be created without o+x flag

recheck

recheck


If we only have fallback build settings, only return diagnostics from the built-in swift-syntax parse

If we only have fallback built settings, semantic diagnostics are unlikely to be correct. Instead of consulting sourcekitd, we should just be displaying the diagnostics that we generated by parsing the SwiftSyntax tree using the built-in swift-syntax.
This should remove the need to keep track of diagnostics from sourcekitd at the parse stage.

Tracked in Apple’s issue tracker as rdar://116705680

Implemented in https://github.com/apple/sourcekit-lsp/pull/902


Using a function in the render options does not work.

The MediaStreamManager code allows the renderers to be defined as function:
var options = {
  media: {
    constraints: {
      audio: true,
      video: false,
    },
    render: {
      remote: function () {
        return document.createElement('audio');
      },
    },
  },
} ;

However, because each renderer is casted into an array, the check if (typeof elements === 'function') always fails.
You should probably check whether elements is a function (and execute it) at the very beginning of the MediaStreamManager.render method.

Also, it is strange to allow/expect/cast renderers to be arrays if you only use the last element of the array anyways...


Adds rename as a flag

Name has a dual use within rebuild, unintentionally renaming if they specified id and name. If they want to rebuild and specify by name, there's not a way.
In order to straddle ID being specified and the fact that osServers.RebuildOpts expects Name to be set, this also pulls the name from compute by ID.

:+1:


WordDiff: Leading and trailing whitespace unnecessarily included in added/removed chunks

Currently this holds true:
const diffResult = diffWords('foo bar quux baz', 'foo quux bar baz');
expect(convertChangesToXML(diffResult)).to.equal('foo quux bar quux baz');

The fact that the trailing whitespace is included in the added/removed chunks instead of being left as part of the unchanged ones makes for a funny-looking rendered diff:

It would be nice if it came out as foo quux bar quux baz instead, would that be possible to achieve?

I can't find the diff.js file I just downloaded the project as zip. Is it included in some part in the project?

Sorry, I think I was sleep-deprived when I opened this issue. The current behavior makes sense for the case I quoted, and the weirdness must come from something I'm doing in my end.


test results of RDN are weird

Hi, thank you for the awesome codes.
When I train the RDN model with "python main.py --scale 2 --save RDN_x2 --model RDN --epochs 200 --batch_size 16 --patch_size 64 --reset", I got satisfied PSRN

However when I test the model with "python main.py --data_test Set5 --scale 2 --pre_train ../experiment/RDN_x2/model/model_best.pt --test_only --save_results", I got poor results

When I change to test DIV2K, the results are still poor, which is not consistent with the performance in training.

@moleaf Do you mind provide your pre-trained RDN model? My training results are not good.


For source build on Windows we need to use the references that come from the downloaded cli

Steps to reproduce
Revert PR: https://github.com/Microsoft/msbuild/pull/3340
Then go to dotnet/source-build repo. Checkout master branch and then update the src/msbuild git submodule to point to your branch that contains the reverted PR. To do this you need to push the branch to your fork and then in your source-build local repo from a command line go to src/msbuild and then run:
git remote add myfork https://github.com/<YourGHUser>/msbuild
git pull myfork <branchContainingChanges>
navigate back to source-build root and then run:
build.cmd /p:RootRepo=msbuild
If you look at the restored Microsoft.NETCore.App package for the Microsoft.Build.csproj it will restore the version of the dotnet SDK that you have installed in your machine rather than using the one that comes from the downloaded CLI in source-build.
Note that in source-build we're setting DOTNET_MULTILEVEL_LOOKUP = 0 at the beginning of the execution to tell the cli to explicitly use the downloaded one.
Also, if this is the first time using the source-build repo, before doing anything else, you need to run:
git submodule update --init --recursive
cc: @rainersigwald

Fixed in source-build by setting env vars.

Reopening because I want to take a look at this: I feel like we should set that env var internally.

The env vars that I set in source-build to workaround this are:
DOTNET_MSBUILD_SDK_RESOLVER_SDKS_DIR = $DotNetCoreSdkDir
MSBuildSDKsPath = $DotNetCoreSdkDir\sdk\$env:SDK_VERSION\Sdks
SDK_VERSION is set by source_build at the beginning of the execution. It is used across other repos.


About hostname

My server name is service type+IP, which was correct in kibana before version 1.26. The new version 1.27 omits the part
The name is  like business-<IP_ADDRESS>,now the kibana display business-10
so ,How can the apm to display the full name? or I need to set property apm.hostname?

This should be fixed by #2286 and expected to be released soon.
In the mean time, if can you verify the fix by trying the snapshot build, that would be great.

I have try the snapshot version ,
that is OK. kibana has show full name


Need to add a GABA indicator

Should include GABA and Gad2-IRES-Cre transgene.  Possibly the receptors

Can't include the receptors because then pyramidal neurons (or any neuron that expresses a GABA receptor) would be inferred to be GABAergic.


Restrict output to a predefined array of colours

I'd like to use Vibrant to help populate a database of products with colour information to be used in a colour search feature. I'd like to restrict the number of colours that people can search on so it doesn't get overwhelming.
So, for example, if an image has 8 hues of blue in it, Vibrant would only output a single object with the hex value equal to one I've previously selected as the default value for blue.
Is it possible to do that with Vibrant?

Off the top of my mind, there're a few possible approaches to do it such as custom filter or generator. But the easiest way is to approximate generated colors to ones in your color list.
Basically you just need to find the color with minimum color delta against generated one as its approximation.

Could I trouble you to give me an example of how that might work incorporated into the example included?
Vibrant.from(src).getPalette(function(err, swatches) {
  if (err) throw err;
  console.log(swatches);
  for (var key in swatches) {
    var swatch = swatches[key];
    if (swatch) {
      var hex = swatch.getHex();
      console.log(key + ": " + hex);
      addColorBlock(hex);
    }
  }
});

Sure, something like:
var colors = []; // your color list in hex values

function approximate(color, list) {
  var minDelta = 100,
    appr = color;
  for (var i = 0; i < list.length; i++) {
    var delta = Vibrant.Util.hexDiff(color, list[i]);
    if (delta < minDelta) {
      minDelta = delta;
      appr = list[i];
    }
  }
  return appr;
}

Vibrant.from(src).getPalette(function(err, swatches) {
  if (err) throw err;
  console.log(swatches);
  for (var key in swatches) {
    var swatch = swatches[key];
    if (swatch) {
      var hex = swatch.getHex();
      console.log(key + ": " + hex);
      var approx = approximate(hex, colors);
      addColorBlock(approx);
    }
  }
});

Excellent, thanks. :)

No problem

Is there a way to relax or loosen the hexDiff function to adjust the results?
For the most part I'm getting fairly close to what I want but there's a few examples where some obvious colours are missing, e.g.:

this one has some blue in it

this one has some red and pink

and this one has acqua
The colours I've mentioned are all included in my list.
I've tried adjusting the minDelta value but it outputs hex values that don't match my list if I go lower than 100.

The approximate function provided above is intended to find a color with minimum delta in your list. A color delta value is in the range of 0~100. Hence minDelta = 100 is the initialization value (as it's the maximum delta value) and it's not tweak-able. The value ranges and their meanings are documented here. See also:

color difference
Learn Delta E

Color difference equation is just an empirical approach to quantize human eyes' color perception. It's not perfect but wouldn't be far off. Though I wouldn't expect it to work for every images given the subjective nature of human perception (some examples are given in the last reference article above).
The color list matters too. It should contains reasonable amount of colors that are reasonably spreaded across color space.
My suggestions are:

Try set quality=1. Those dominating greyish color in last picture might be downsampling artifact.
Generate all possible hex color values and approximate them against your color list. Output the approximated value and the original value side-by-side along with the color delta value. Visually confirm how well the approximations are and tweak the list accordingly.

If none of that improves your situation, probably you should try search some other libraries specialized for your application. Since color delta is only used for unit testing in this project and color approximation is not exactly in its scope.


dead links: storage emulator

The links to the pages about 'using a local storage emulator' are broken. Correct url: https://learn.microsoft.com/en-us/azure/storage/common/storage-use-azurite ?
https://learn.microsoft.com/en-us/storage/common/storage-use-azurite.md

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

ID: ad301acd-cfb9-5413-b882-e20e22632215
Version Independent ID: f1738d3d-e847-6500-4a40-59f3abd8517c
Content: Develop and run Azure Functions locally
Content Source: articles/azure-functions/functions-develop-local.md
Service: azure-functions
GitHub Login: @ggailey777
Microsoft Alias: glenga

Thank you for your feedback! We will review and update as appropriate.

@jhgbrt Thanks for reporting this issue and helping us drive improvements toward MS Docs! I've created a PR that fixes the link and changes should be live soon upon a merge.
We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


Fix ScrollPosition overscroll precision error

Description
This PR fixes a precision error in ClampingScrollPhysics ScrollPosition that leads to StretchingOverscrollIndicator stretching its content unexpectedly in some devices (see  https://github.com/flutter/flutter/issues/126561 where this is visible in TabBarView and the test added in this PR where it reproduces with a PageView).
This PR also contains a change to nested_scroll_view.dart because the first change (the one in ClampingScrollPhysics)  breaks the precision error test added by https://github.com/flutter/flutter/pull/87801.
Related Issue
Fixes https://github.com/flutter/flutter/issues/126561
Tests
Adds 1 test.

Wow, nice work all of you 👍🏻 💙
This was quite a peculiar looking bug, with an effect that looked really strange, making it hard to even first believe it when it was discovered. When @chanan first showed it to me on Twitter, I was like naah, that can be possible, until I tried it, lol.
Nice to see a speedy resolution, and thanks @bleroux for digging into it so quickly.

Since this wasn't a regression in the release I don't know that we should cherry pick it. Working its way through the release process helps us catch any potential issues with it or other regressions it may introduce, but that's my opinion. I would reach out on discord to see if anyone feels strongly that this should be CP'd. Thanks!

Its been two months since the fix landed in master but it is still not in stable. Can you please cherry pick it, since it's giving end users very bad UX, the screen stretches and does not come back to original shape. Even if the new flutter stable 3.13/3.14 is being released we cannot risk using that for production until that gains stability


Squash into single commit and rebase on latest rclone master

@tstachl
Hi. I'm reviewing https://github.com/rclone/rclone/pull/5462
Before I can review your changes I squashed the commits on your branch and rebased on the latest rclone master.
Unfortunately you submitted a branch belonging to 3rd-party @pilina rather than @tstahl :(
This locks me out of branch access.
Could you please

either grant me with write access on this branch
or accept this PR
or rebase this to the branch https://github.com/ivandeex/rclone/tree/multiarch-docker-plugin
??

Oops wrong branch


Type annotations staging

tests/full ran in TJ#6934848 (branch pointing to commit ced2570)  and PASS.

I've added breakage label as some of API changed, however private plugins and wow are updated to be compatible. No known breakage for out-of-tree code exists.


python311Packages.google-cloud-appengine-logging: 1.3.0 -> 1.3.1

Changelog: https://github.com/googleapis/python-appengine-logging/blob/v1.3.1/CHANGELOG.md
Description of changes

Things done

Built on platform(s)

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

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

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

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

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

[ ] Fits CONTRIBUTING.md.

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

12 packages built:

python310Packages.google-cloud-appengine-logging
python310Packages.google-cloud-appengine-logging.dist
python310Packages.google-cloud-error-reporting
python310Packages.google-cloud-error-reporting.dist
python310Packages.google-cloud-logging
python310Packages.google-cloud-logging.dist
python311Packages.google-cloud-appengine-logging
python311Packages.google-cloud-appengine-logging.dist
python311Packages.google-cloud-error-reporting
python311Packages.google-cloud-error-reporting.dist
python311Packages.google-cloud-logging
python311Packages.google-cloud-logging.dist


Access request to S3 Buckets

Requesting credentials for github user: sabrycito
Requesting credentials for the bucket: redhat-osc-physical-landing-647521352890
Email address to send a credential download link<EMAIL_ADDRESS>Request checklist:
User can establish connection with the bucket
User can read files from the bucket
User can write files to the bucket

Hi !
I found the access key and security key here : https://console-openshift-console.apps.odh-cl1.apps.os-climate.org/k8s/ns/sandbox/secrets/physrisk-s3-keys/
I still need the S3_LANDING_ENDPOINT and S3_LANDING_BUCKET urls to get the access.
If any of you could give them to me please.

I figured it our by myself


Change reduction operations to 2-input dynamic variants

Changes reduction ops to 2-input ops with reduction axes specified as the 2nd input. In cases, where reduction axes are known at construction time, there are convenience constructors that match the old API. In these cases, the AxisSet is encoded into a constant op that is presented as the 2nd input.

Patterns/Callbacks written with old specification dont need to change

Code that explicitly checks/expects a certain number of inputs on these ops would still need to change (e.g., copy_with_new_args()). I have found only one such case so far but there might be more.

Looking for feedback on design and impact.

Two concerns:

The transformers not in this repo that pattern-match on the old signature.
.at(0) and .at(1) are going to be hard to maintain.
Can we come up with a simple Node refactoring (separate PR) that would let us do what you're doing here without breaking compatibility?

Two concerns:

The transformers not in this repo that pattern-match on the old signature.
The pattern signatures will automatically change to the 2-version ones. Problem is with 'skip' nodes where they might have been written expecting single-input version. I have pinged folks from other transformers. Lets see if they hit any any issue.

.at(0) and .at(1) are going to be hard to maintain.
Can we come up with a simple Node refactoring (separate PR) that would let us do what you're doing here without breaking compatibility?
Not sure I follow the refactoring but we can discuss it separately.

This PR changes OP constructors and breaks python pybind API wrapper.


VTOL Airbrakes

Use flaperons for VTOL back transition
This helps the back transition decrease speed and makes the MC takeover much smoother.
It will mostly benefit from this when https://github.com/PX4/Firmware/pull/4055/commits/1bb9b29cf560e479a2cdafa626f6bb27c20dbf72 has been applied.
SITL was altered to include flaperons, but currently SITL is an elevon setup so there will be an increase in altitude as there is no elevator to control this.

FYI @AndreasAntener @tumbili @LorenzMeier

This is completely WIP, let's maybe open a discussion first on this, I think it's not that simple.
We should look into routing the airbrake support via the FW attitude controller instead of directly controlling the outputs here because it already contains the logic to do flaps/flaperons/crow

The FW airbrakes logic is aimed at slowing down for landing, i think this differs from slowing down while quad is taking over. For instance, there is no need to slowly ramp up not is there need to sync with throttle. Also, all the other actuators are also directly controlled by the vtol att ctl. But this might be too simplistic from my side.
Any thoughts anyone?

The flap/flaperon logic in the attitude controller is independent of the flight mode and the ramp is there to prevent an instant change in the flight dynamics. The direct actuator control you see is not actually used to directly control anything (with the exception of fw throttle, which is not necessarily the ideal approach either) but to govern the blending.

On 25.03.2016, at 11:36, Sander Smeets<EMAIL_ADDRESS>wrote:
The FW airbrakes logic is aimed at slowing down for landing, i think this differs from slowing down while quad is taking over. For instance, there is no need to slowly ramp up not is there need to sync with throttle. Also, all the other actuators are also directly controlled by the vtol att ctl. But this might be too simplistic from my side.
Any thoughts anyone?
—
You are receiving this because you modified the open/close state.
Reply to this email directly or view it on GitHub


Fix packets

When I forked the repo and tried to run the latest changes on a dedicated server, the player could not join because the server was complaining about unknown packets. Therefore I changed the setup() method to call NetworkHandler.init() directly, which had the unfortunate side effects of immediately crashing the server on startup due to missing class exceptions. To fix this I switched to using DistExecutor.safeRunWhenOn for the packets which is the preferred was of doing things.
In addition to this I added the call to ctx.get().setPacketHandled(true) for every packet to avoid the console spamming about "Unknown custom packet identifier".

Right, I forgot to properly flag the packets and check dist! Thank you for picking up on this.


Cursor disappeared in swift playground command mode.

[Write issue description here]
Cursor disappeared in swift playground editor command mode.
Working while in insert mode and in a normal project.
-------- Debug Info -------
XVim revision : 3eb09a6ffa68b4bc23b6d0703caea9e6152cd125
OS Version : Version 10.11.5 (Build 15F34)
Xcode Version : 7.3.1

--- .xvmrc ---
N/A
--------------

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/36011098-cursor-disappeared-in-swift-playground-command-mode?utm_campaign=plugin&utm_content=tracker%2F252770&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F252770&utm_medium=issues&utm_source=github).

This is a duplicate of https://github.com/XVimProject/XVim/issues/622

https://github.com/XVimProject/XVim/pull/1016


Building Block: Proposal document for Gatekeeper Building Block

This proposal documents introduces the "Gatekeeper" building block which helps developers to implement "Authorization" requests for their application, assisting the developer by implementing core authorization requirements:
Am I as a user able to access resource X?
Which resources am I as a user able to access? (commonly known as an "ARQ" or "Access Request Query")
It works through added APIs in the Dapr runtime that work together with a state store to store the policies.
Background
While working with software, one of the most common issues that pops-up is "Authorization". After a user is authenticated, how do we know that this user has access to a specific piece in your code? For this, developers typically reside towards implementing:

RBAC (Role-based Access Systems)
ABAC (Attribute-Based Access System)

The above is often considered a lengthy task, as users have to ensure that everything works as intended and test it carefully. A leak in this piece of code could have serious consequences.
Dapr runs as a sidecar architecture, typically close to the software. This software often interacts with users (Backend API) or as microservices doing an isolated piece of code.
Therefore, I would love to propose a new Building Block: "Gatekeeper", where a user can simply call it through one of the Dapr SDKs and receive a response if they are allowed to access a certain feature or not.
Vocabulary

Gatekeeper Principal: Who is trying to access the resource and what are his roles?
Gatekeeper Action: What is the action the principal is trying to perform? (typically CREATE, READ, UPDATE, DELETE, MANAGE)
Gatekeeper Resource Kind: What type of resource is the principal trying to access? (e.g., a user)
Gatekeeper Resource Type: What resource is the principal trying to access?

Signed-off-by: Xavier Geerinck<EMAIL_ADDRESS>

@dapr/maintainers-dapr thoughts?

@XavierGeerinck will be reviewing this soon, as back for vacation now.

That would be great to have it in Dapr already, would it be possible to have this PR approved?

+1 Also waiting for this!

Can it follow a spec 100%, maybe Cerbos? Similar to how we have 100% compatible cloud event in pubsub. Then, show how this can be integrated with existing 3rd party  frameworks. I think the biggest value add if it can interop outside the Dapr SDKs.

I think it would indeed allow for a 100% compatibility with their spec, the question is just what the added value of Dapr would be then. Integrating it natively in Dapr could be more seen as building block, while a cloud event is more seen as interop layer for integration

Can someone copy the proposal text also into the description here so we can discuss this better?
Also, I'm hesitant for us to merge proposals without any identified stakeholders who are committed to driving the engineering work / implementation.

Can someone copy the proposal text also into the description here so we can discuss this better?
Also, I'm hesitant for us to merge proposals without any identified stakeholders who are committed to driving the engineering work / implementation.
I don't fully see / understand the value of this proposal for Dapr. An interop layer makes more sense to me.

Done (partly though as it makes no sense for an entire duplication)
The ideation (and community request - see references in the proposal) are around providing an microservice angostic way of authorizing calls. The value for Dapr is immense as it is a component required by many people and would even improve Daprs current authorization mechanisms.
An interop layer could work as well, but this is where the discussion comes in in if Dapr wants this as USP (extra building block type) or not.