[SPARK-49505][SQL] Create new SQL functions "randstr" and "uniform" to generate random strings or numbers within ranges

What changes were proposed in this pull request?
This PR introduces two new SQL functions "randstr" and "uniform" to generate random strings or numbers within ranges.

The "randstr" function returns a string of the specified length whose characters are chosen uniformly at random from the following pool of characters: 0-9, a-z, A-Z. The random seed is optional. The string length must be a constant two-byte or four-byte integer (SMALLINT or INT, respectively).
The "uniform" function returns a random value with independent and identically distributed  values with the specified range of numbers. The random seed is optional. The provided numbers specifying the minimum and maximum values of the range must be constant. If both of these numbers are integers, then the result will also be an integer. Otherwise if one or both of these are floating-point numbers, then the result will also be a floating-point number.

For example:
SELECT randstr(5);
> 8i70B

SELECT randstr(10, 0) FROM VALUES (0), (1), (2) tab(col);
> 2iAhij5i3F
  3AD1fIHj7B
  8i70BBEJ6A

SELECT uniform(10, 20.0F);
> 17.604954

SELECT uniform(10, 20, 0) FROM VALUES (0), (1), (2) tab(col);
> 15
  16
  17

Why are the changes needed?
This improves the SQL functionality of Apache Spark and improves its parity with other systems.
Does this PR introduce any user-facing change?
Yes, see above.
How was this patch tested?
This PR adds golden file based test coverage.
Was this patch authored or co-authored using generative AI tooling?
Not this time.

cc @HyukjinKwon @MaxGekk here are a couple more :)

@dtenedor Could you provide a few links to the systems that you are going to reach the parity.

https://clickhouse.com/docs/en/sql-reference/functions/random-functions#randuniform
https://docs.snowflake.com/en/sql-reference/functions/uniform
https://www.microfocus.com/documentation/silk-test/21.0.2/en/silktestclassic-help-en/STCLASSIC-8BFE8661-RANDSTRFUNCTION-REF.html
https://docs.snowflake.com/en/sql-reference/functions/randstr

LGTM in general. @dtenedor Could you fix the test failure

👍 this is done

@dtenedor Could you fix the test failure, please. It seems it is related to your changes.
[info]   Cause: org.scalatest.exceptions.TestFailedException: Function 'randstr', Expression class 'org.apache.spark.sql.catalyst.expressions.RandStr' "[ceV]" did not equal "[8i7]"

+1, LGTM. Merging to master.
Thank you, @dtenedor and @HyukjinKwon for review.


bump dependencies

Applied mkpr on undefined
/tmp/mkpr.sh

:tada: This PR is included in version 1.10.83 :tada:
The release is available on:

v1.10.83
GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


sc-2465 trtl BackupManager

This adds a BackupManager to trtl in the same vein as the GDS levelDB one. Most of the code is ported over, although I did add a common utility function that both use to simplify the code a bit.

Codecov Report

Merging #324 (80c187d) into main (11e05cd) will increase coverage by 0.04%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #324      +/-   ##
==========================================
+ Coverage   45.65%   45.69%   +0.04%
==========================================
  Files          64       65       +1
  Lines        7886     7987     +101
==========================================
+ Hits         3600     3650      +50
- Misses       3616     3650      +34
- Partials      670      687      +17

Impacted Files
Coverage Δ

directory/pkg/trtl/server.go
36.00% <0.00%> (-0.96%)
:arrow_down:

directory/pkg/gds/store/leveldb/leveldb.go
41.18% <0.00%> (-0.46%)
:arrow_down:

directory/pkg/trtl/replica/sync.go
8.69% <0.00%> (ø)

directory/pkg/trtl/config/config.go
32.29% <0.00%> (ø)

directory/pkg/trtl/backup.go
54.54% <0.00%> (ø)

Continue to review full report at Codecov.

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


Single line case statement parse error

I know it's not very common to see case statements squashed onto one line, but it seems that parsing fails to handle stuff after statements presented in this way.
Here's a simple example of a function that takes a pattern as its first argument, and tests it against all the other arguments using a case-statement:
foo() { foo="$1"; shift; while [ $# -gt 0 ]; do case "$1" in ($foo) ;; (*) return 1;; esac; shift; done; }
For example, the following call should succeed: foo '-*' '-o'
In Bash Support however there is an error that a command is expected just after the esac keyword.

Thanks, this is a bug. I'll try to get this fixed for the next update.

Fixed for the next update.
The case parsing interpreted the semicolon at the end of the case command as part of the case (which is wrong).


Windows: Running tests keep rebuilding tests

When running tests it does a full rebuild of the project before each time a test is run, even when they are already built.
Running swift build in shell doesn't require a rebuild, but running tests does for some reason.
@compnerd

Minor update to this - this requires custom arguments to be supplied.  If you are building without any custom arguments, it seems to behave correctly.

What arguments were you adding to cause this?

-Xcc -I -Xcc "%SystemDrive%\Library\sqlite-3.38.0\usr\include" -Xlinker -L -Xlinker "%SystemDrive%\Library\sqlite-3.38.0\usr\lib" -Xlinker "%SDKROOT%\usr\lib\swift\windows\x86_64\swiftCore.lib"

I guess that’s because we’re using different config for SourceKit-LSP and SwiftPM.
What if you add these to sourcekit-lsp.serverArguments.

@compnerd can you try main and see if this is fixed?

I think that it may not be fixed, but I wouldn't rule out PEBKAC.  It seems that the test explorer isn't updating the view, but the one test that is there does seem to trigger a (partial) rebuild.  This would be better than the previous state in that it was a full rebuild, but still is problematic.


Update corretto-8-bin version.

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Ignore the CheckLayer-master check, I opened on the wrong base and switched it.


Add support for uploading attachments

When posting drone build messages to flowdock, it would be nice to include attachments so that files that are created during the build could be uploaded and included in flowdock messages.

We were able to figure out how to add attachments via curl (see below) and are unsure what this would look like in Go.
curl -v -X POST -F "event=message" -F "content=my message" -H "X-flowdock-wait-for-message: true" https://api.flowdock.com/flows/<ORG>/<FLOW>/messages?flow_token=<FLOW_TOKEN>

// retrieve thread id from response and use in next cmd

curl -v -X POST -F "event=file" -F<EMAIL_ADDRESS>-F "thread_id=MK4evurln6285prdYUGN84h3X0k" https://api.flowdock.com/flows/<ORG>/<FLOW>/messages?flow_token=<FLOW_TOKEN>

This is now available: https://github.com/jones2026/drone-flowdock/releases/tag/2.0.0


Installation of Node.js for Next.js Project

Summary:
This issue focuses on installing Node.js to set up a development environment for our Next.js salon website project. The installation must ensure compatibility with Next.js and support all required development operations.
Objectives:

Determine Node.js Version Requirement: Identify the version of Node.js required for the current Next.js project.
Installation Guide: Provide detailed instructions for installing the correct version of Node.js.
Environment Verification: Outline steps to verify that Node.js is correctly installed and configured in the development environment.
Project Initialization: Guide on initializing the Next.js project after Node.js installation.
Dependency Management: Ensure the correct installation and management of necessary dependencies for the project.
Testing Node.js Setup: Instructions on how to test the Node.js setup with a simple Next.js application run.
Troubleshooting Common Issues: Provide guidance on troubleshooting common issues encountered during Node.js installation and initial setup.

Acceptance Criteria:

Correct Node.js Version: The appropriate version of Node.js for Next.js is installed.
Successful Installation: Node.js is installed correctly and is functioning as expected in the development environment.
Verified Environment: The environment is verified to support Next.js development.
Project Initialization Success: The Next.js project is successfully initialized and runs without issues.
Dependencies Managed: All necessary dependencies are correctly installed and managed.
Functional Test Run: A simple test run of a Next.js application confirms the correct setup.
Troubleshooting Guidance: Adequate troubleshooting information is provided for common setup issues.

Deadline:

The setup and verification of the Node.js environment for the Next.js project is expected to be completed by December 15th.

Additional Notes:

If there are specific preferences for Node.js management tools (e.g., NVM - Node Version Manager), please specify.
Include any particular project-specific configurations or environment settings that need to be addressed.

Node has been installed and the next js project has been initialized


BUG: Deleted evidence links remain on process / entity

Create a process
Link evidence 1b
Delete evidence 1b on the right panel
Icon remains on process but should have gone away

NOTE: I tried this in part because editing the target to clear it out also didn't work, though it's OK if it doesn't clear so long as you can effectively delete it.

@jdanish should be fixed with dev-next. Please confirm and close.


Radix and Shadcn conflict in Next.js 14

Does installing both Radix and Shadcn dependencies in the same Next.js 14 project lead to  conflicts such as module naming issues?
if so, how can I prevent these conflicts from occurring?

No. You do not install shadcn/ui. Use the cli and it will scaffold the components and add  the radix dependencies for you. From there, you can manage the radix dependencies like any other project.


IsADirectoryError: [Errno 21] Is a directory: '/home/bjf/LLaGA/checkpoints'

great work but a little problem：
model_path="./checkpoints/cora.3/llaga-vicuna-7b-simteg-2-10-linear-projector_nc-lp"
model_base="lmsys/vicuna-7b-v1.5-16k" #meta-llama/Llama-2-7b-hf
mode="v1" # use 'llaga_llama_2' for llama and "v1" for others
dataset="cora" #test dataset
task="nc" #test task
emb="simteg"
use_hop=4
sample_size=10
template="HO" # or ND
output_path="/home/bjf/LLaGA/checkpoints"
python eval/eval_pretrain.py
--model_path ${model_path}
--model_base ${model_base}
--conv_mode  ${mode}
--dataset ${dataset}
--pretrained_embedding_type ${emb}
--use_hop ${use_hop}
--sample_neighbor_size ${sample_size}
--answers_file ${output_path}
--task ${task}
--cache_dir ../checkpoint
--template ${template}
/home/bjf/anaconda3/envs/llaga/lib/python3.10/site-packages/torch_geometric/typing.py:68: UserWarning: An issue occurred while importing 'pyg-lib'. Disabling its usage. Stacktrace: /lib/x86_64-linux-gnu/libm.so.6: version GLIBC_2.29' not found (required by /home/bjf/anaconda3/envs/llaga/lib/python3.10/site-packages/libpyg.so)   warnings.warn(f"An issue occurred while importing 'pyg-lib'. " /home/bjf/anaconda3/envs/llaga/lib/python3.10/site-packages/torch_geometric/typing.py:86: UserWarning: An issue occurred while importing 'torch-scatter'. Disabling its usage. Stacktrace: /home/bjf/anaconda3/envs/llaga/lib/python3.10/site-packages/torch_scatter/_version_cuda.so: undefined symbol: _ZN3c1017RegisterOperatorsD1Ev   warnings.warn(f"An issue occurred while importing 'torch-scatter'. " /home/bjf/anaconda3/envs/llaga/lib/python3.10/site-packages/torch_geometric/typing.py:97: UserWarning: An issue occurred while importing 'torch-cluster'. Disabling its usage. Stacktrace: /home/bjf/anaconda3/envs/llaga/lib/python3.10/site-packages/torch_cluster/_version_cuda.so: undefined symbol: _ZN3c1017RegisterOperatorsD1Ev   warnings.warn(f"An issue occurred while importing 'torch-cluster'. " /home/bjf/anaconda3/envs/llaga/lib/python3.10/site-packages/torch_geometric/typing.py:113: UserWarning: An issue occurred while importing 'torch-spline-conv'. Disabling its usage. Stacktrace: /home/bjf/anaconda3/envs/llaga/lib/python3.10/site-packages/torch_spline_conv/_version_cuda.so: undefined symbol: _ZN3c1017RegisterOperatorsD1Ev   warnings.warn( /home/bjf/anaconda3/envs/llaga/lib/python3.10/site-packages/torch_geometric/typing.py:124: UserWarning: An issue occurred while importing 'torch-sparse'. Disabling its usage. Stacktrace: /home/bjf/anaconda3/envs/llaga/lib/python3.10/site-packages/torch_sparse/_version_cuda.so: undefined symbol: _ZN3c1017RegisterOperatorsD1Ev   warnings.warn(f"An issue occurred while importing 'torch-sparse'. " Loaded from /home/bjf/LLaGA/checkpoints/cora.3/llaga-vicuna-7b-simteg-2-10-linear-projector_nc-lp. Model Base: lmsys/vicuna-7b-v1.5-16k Loading LLaGA from base model... Loading checkpoint shards:   0%|                                                                                | 0/2 [00:00<?, ?it/s]/home/bjf/anaconda3/envs/llaga/lib/python3.10/site-packages/transformers/modeling_utils.py:460: FutureWarning: You are using torch.loadwithweights_only=False(the current default value), which uses the default pickle module implicitly. It is possible to construct malicious pickle data which will execute arbitrary code during unpickling (See https://github.com/pytorch/pytorch/blob/main/SECURITY.md#untrusted-models for more details). In a future release, the default value forweights_onlywill be flipped toTrue. This limits the functions that could be executed during unpickling. Arbitrary objects will no longer be allowed to be loaded via this mode unless they are explicitly allowlisted by the user via torch.serialization.add_safe_globals. We recommend you start setting weights_only=Truefor any use case where you don't have full control of the loaded file. Please open an issue on GitHub for any issues related to this experimental feature.   return torch.load(checkpoint_file, map_location="cpu") Loading checkpoint shards: 100%|███████████████████████████████████████████████████████████████████████████████████| 2/2 [00:09<00:00,  4.57s/it] Some weights of LlagaLlamaForCausalLM were not initialized from the model checkpoint at lmsys/vicuna-7b-v1.5-16k and are newly initialized: ['model.mm_projector.weight', 'model.mm_projector.bias'] You should probably TRAIN this model on a down-stream task to be able to use it for predictions and inference. /home/bjf/LLaGA/./model/builder.py:108: FutureWarning: You are usingtorch.loadwithweights_only=False(the current default value), which uses the default pickle module implicitly. It is possible to construct malicious pickle data which will execute arbitrary code during unpickling (See https://github.com/pytorch/pytorch/blob/main/SECURITY.md#untrusted-models for more details). In a future release, the default value forweights_onlywill be flipped toTrue. This limits the functions that could be executed during unpickling. Arbitrary objects will no longer be allowed to be loaded via this mode unless they are explicitly allowlisted by the user via torch.serialization.add_safe_globals. We recommend you start setting weights_only=Truefor any use case where you don't have full control of the loaded file. Please open an issue on GitHub for any issues related to this experimental feature.   mm_projector_weights = torch.load(os.path.join(model_path, 'mm_projector.bin'), map_location='cpu') Load from local path You shouldn't move a model that is dispatched using accelerate hooks. /home/bjf/LLaGA/eval/eval_pretrain.py:108: FutureWarning: You are usingtorch.loadwithweights_only=False(the current default value), which uses the default pickle module implicitly. It is possible to construct malicious pickle data which will execute arbitrary code during unpickling (See https://github.com/pytorch/pytorch/blob/main/SECURITY.md#untrusted-models for more details). In a future release, the default value forweights_onlywill be flipped toTrue. This limits the functions that could be executed during unpickling. Arbitrary objects will no longer be allowed to be loaded via this mode unless they are explicitly allowlisted by the user via torch.serialization.add_safe_globals. We recommend you start setting weights_only=True` for any use case where you don't have full control of the loaded file. Please open an issue on GitHub for any issues related to this experimental feature.
data = torch.load(data_path)
Load from dataset/cora/sampled_2_10_test.jsonl
Traceback (most recent call last):
File "/home/bjf/LLaGA/eval/eval_pretrain.py", line 325, in
eval_model(args)
File "/home/bjf/LLaGA/eval/eval_pretrain.py", line 122, in eval_model
line_number = len(open(answers_file, 'r').readlines())
IsADirectoryError: [Errno 21] Is a directory: '/home/bjf/LLaGA/checkpoints'
no matter how i gear the path ,it report this error

the answers_file should be a path(jsonl) rather than a directory


my delegations not showing up

UI Version: 0.X.X
Description: don't see my delegations to Nylira anymore

ok it does show up after the call to: /stake/delegators/cosmosaccaddr18tkxwzhyn4a5ss63vttwpespvm7kxm895m9ppf but takes 44.85 seconds ⏳

what about /stake/delegators/cosmosaccaddr18tkxwzhyn4a5ss63vttwpespvm7kxm895m9ppf/delegations/<NyliraAddr> ?

moved to #1133


filetype: wakatime config files are not recognized

Problem: wakatime config files are not recognized.
Solution: Add a pattern for wakatime config files.
Refer: https://github.com/wakatime/wakatime-cli?tab=readme-ov-file#usage

please include into #14512

Done.


Update README.md

Expose other mandatory port in installing with docker section.

Test are failing

You need to follow the fork / clone repository on GitHub to the original repository.
This is an example of the command to be resolved.
git remote add upstream git://github.com/Yelp/elastalert.git
git fetch upstream

git merge upstream/master
git push origin patch-1

You need to follow the fork / clone repository on GitHub to the original repository.
This is an example of the command to be resolved.
git remote add upstream git://github.com/Yelp/elastalert.git
git fetch upstream

git merge upstream/master
git push origin patch-1


⚠ BeyondHD has degraded performance

In 0b53f76, BeyondHD ($BHD) experienced degraded performance:

HTTP code: 200
Response time: 10906 ms

Resolved: BeyondHD performance has improved in d47eaec.


Easy Export to YOLO format causes absurd memory usage

I have a project with 2000 annotated images.
Following those steps:

Go to project
click on "export"
select "yolo" format (others might work aswell) and confirm export
wait for label-studio to create the zip, then use absurd amounts of memory
if you are lucky, you get the file, but most times the kernel will kill label-studio because OOM

My system has 32GB RAM, 9GB is used by other applications. 22GB are available to label-studio
it uses all 22GB to export the project, and 99% of the times it crashes
Expected behavior
reasonable memory usage while exporting a project
Environment:

OS: Unraid, docker-compose
Label Studio Version: 1.10.0

Additional context
I couldn't wait for this to be resolved, as it made me unable to export.
So I started debugging this myself, what I discovered is this:
this line starts creating a zip, my first thought was it's doing this in-memory, causing the absurd memory usage. But it isn't.
out = read_bytes_stream(os.path.abspath(tmp_dir + '.zip'))

Then I saw this. To me, it's reading a bytes stream. It has the word "stream" in it, so it probably reads in chunks?
Nevermind it’s reading the entire zip file into memory for absolutely no reason:

def read_bytes_stream(filepath):
    with open(filepath, mode='rb') as f:
        return io.BytesIO(f.read())

With my zip files being 7GB, its enough to somehow fill 22GB of RAM.
Workaround
the zip is still created, you can go to label-studios tmp dir and download the file yourself, without loading it all into memory

Thanks for filing the bug, and for reaching out on Slack. I've filed a triage ticket with the engineering team, and we'll respond back once we've worked up a fix.

Hi @Clemens-E, as an update here, I tried implementing a fix based on your suggestion above; in some circumstances it seemed that the temporary file that's being open()ed gets deleted before the FileResponse is finished sending, and therefore we couldn't merge that solution as is. We're continuing to see if we can find an implementation that works in a memory-efficient manner on all the platforms and usecases we need to support, but I wanted wanted to flag that it's likely going to take us a bit more time to figure that out. Thanks so much for the pointer, though!

Hello @jombooth, thank you for the response.
Weird, I use this all the time and it works fine,  but I obviously didn't try all the various use cases.
I'm interested in what deletes those files? I usually have to manually delete the zip files because they fill up my drives. Maybe because I have the community version?
Also why would reading it all into memory prevent deletion?
But you probably tested a lot more cenarios then I did, I just tried if the export and download works and it does for me.
No worries if it takes a while, it seems like I'm the only one having this issue, at least I didn't see any related GitHub Issues to this and it was unheard of in the slack channel. I implemented my fix and built my own docker image and that works for me.

Hey @Clemens-E, just wanted to provide an update here and let you know that the next version we publish will reflect the fix I came up with! As to what deletes the files, it's what our get_temp_dir does when the context manager goes out of scope. If you get a chance to test out this fix on your dataset, I'd love to hear whether it worked well for you.
Cheers, and have a great weekend,
Jo

Great news!
I'm happy to test it out, do you have an estimate when this image will be pushed?

Our next release cut is slated for May 7 and the release itself is scheduled for May 21; we've had some delays with recent releases though so I can't fully promise this timeline. You could build the package with poetry build and pip install the .whl from dist if you'd like to test it out sooner!


Fix namespace issues on 4 files

This PR Fixes namespace issues in 4 files

Time Table Requests\Timetable renamed for case sensitive file-systems

Just to confirm does namespace TimeTable work on some users, for me it failed.


[Dev Site] Audit browser PageAction events to make sure the Wiki is up to date

Description
The Browser agent PageAction events in the wiki seem to be out of date, we will need to go through the events we are creating using useInstrumentedHandler and useInstrumentedData hooks and make sure all the new I/O events are added to the Wiki
Useful Links
https://github.com/newrelic/developer-website/wiki/Editing-Event-Data-and-Instrumentation#action-name
Acceptance Criteria

[x] Check all events and enure the wiki reflects what is in the code
[x] Wiki is up to date with the Browser events we are collecting
[x] Consider if there is a way to automate this documentation and report back ideas and findings.

When using this NRQL query, a lot of the undocumented pageAction names stop being reported over the last few weeks as changes have been made to the code to convert these event to tessen. Similarly, there are a 4 actions that are not being reported at all over the last 60 days, so I have removed them from the wiki.
the navInteraction event seems to be tied to the navInteractionType key in NakLink.js which is documented under internalLink_click & externalLink_click.
Regarding the automation, since we are looking to migrate toward tessen events exclusively soon, there seems to be no reason to automate these actions.


Add credits to HA AsusWRT and ollo69/ha_asuswrt_custom

Add credits to the readme as per #10

Thanks👍


Add DAC support for device not listed

Hi Good folks of this project,
I can't seem to get the DAC i recently purchased to work, and don't actually see the model listed on supported DACS either, it is a Waveshare WM8960 board.
https://www.amazon.com/Waveshare-WM8960-HAT-Recording-Interface/dp/B07KFXJXB4
Thanks! Loving this project, up to now building and deploying has been a breeze, and the out of the box pi 3b DAC isn't even that bad but i do notice the difference in amp and compression quality so looking forward to getting this working.
Best,
Peter

@pthorntonharvard can you try it with this value please? wm8960 (Got it from here: https://github.com/pguyot/wm8960)

@AlexProgrammerDE Thanks for the link and suggestion, unfortunately still didn't work.
Additional trouble shooting i attempted from looking at other posts: adding ",unmute_amp" to the end of the value e.g. (wm8960,unmute_amp).
I also tried setting the SYSTEM_OUTPUT_VOLUME to 100.
Finally, there was another dtoverlay value listed in the link you provided, and I tried dtoverlay=i2s-mmap, which didn't seem to work either.
Thanks for the assistance!

@pthorntonharvard you have set audio to false?

@AlexProgrammerDE yes

Ok. Have you ever tested the DAC outside of balenaOS?

@AlexProgrammerDE I haven't but fair point.  I have a spare pi i can test with. thanks, ill give you an update when i have one.

hey @pthorntonharvard let us know if you managed to get this DAC to work!


Save scale logs error

Type of change
Note: Fill x in []

[x] bug
[ ] enhancement
[ ] documentation
[ ] dependencies

Description

When a scale run fails, no logs are uploaded to S3. After a thorough investigation, it was discovered that when running methods in multiple threads, exceptions must be handled inside the method and not outside. That's the reason separate exceptions were added in every run scale method
For security reasons, all pull requests need to be approved first before running any automated CI

@RobertKrawitz, I have enclosed all the methods running in parallel within try and except blocks.

Yes, understood, the PR writeup was clear and I approved it yesterday.


Downgrade rubyzip to the previous release to work around a regression in tests

See https://github.com/rubyzip/rubyzip/issues/291 for the details.
This makes the tests pass again.

@flavorjones Could you please merge this one first so we get the tests working again for all other PRs?

Was addressed by commit da227c793caa121c7bc932d2e5b27dcde19bb175 instead.


RuntimeError: CUDA error: invalid device function (ROIAlign_forward_cuda at ...)

Thanks for your great projects and Thanks for share the code of your great work!
My enviroment
torch:1.4.0
torchvision:0.5.0
cuda:10.0
I have done all the installations shown on README but still, I get his error message whenever I try to do demo.py
RuntimeError: CUDA error: invalid device function(......)
can you give me any advice?thanks very much.

It might be because torch and cuda version required is incompatible (mine was same issue but with detectron2), after a lot of trial and error i found that this combination works
pip install torch==1.5.0+cu101 torchvision==0.6+cu101  -f https://download.pytorch.org/whl/torch_stable.html

As @shreyas-afk said, this is probably due to incompatibility issues. Once you install pytorch for your cuda version, you can refer to this page for the correct pre-built version of detectron2 that we use.
The README is a little outdated, so following it exactly may lead to packages being incompatible with the rest of the code base. I'll update it and you can try to follow it again and see if you still run into the issues.

Just updated the installation instructions, you can try following it again. Will close this for now, but feel free to reopen it if it's still an issue for you.


[idea] using __call magic function in DomainInfo class

Description
Each domain will return a load of information that we don't process, using __call function within the DomainInfo class will allow us to have dynamic functions that we can use.
Example
1- First we need to add the following code to the DomainInfo class
    // This function will return all the method names they can use
    public function getAvaliableKeys()
    {
        $keys = array_keys($this->data);

        foreach ($keys as $key) {
            $functions[$key] = 'get'.ucfirst($key);
        }

        return implode(', ',$functions);

    }

    public function __call($methodName, $arguments = '')
    {
        $method = lcfirst(substr($methodName, 3));

        if(array_key_exists($method, $this->data)) {
            return $this->getval($method, $arguments);
        }

        throw new \Exception("Method {$methodName} does not exists");
    }

2- Update the parsers (in my case here I've updated the CommonParser class to add new values, for example, I added the registrar company URL:
a) Add the key
    /** @var array */
    protected $registrarUrlKeys = [ "registrar url" ];

b) update parseResponse function:
    /**
     * @param DomainResponse $response
     * @return DomainInfo
     */
    public function parseResponse(DomainResponse $response)
    {
        $sel = $this->filterFrom($response)->toSelector();
        $data = [

// deducted for simplicity

            "registrarURL" => $sel->clean()
                ->selectKeys($this->registrarUrlKeys)
                ->getFirst(''),
        ];
        $info = new DomainInfo($response, $data, $this->getType());
        return $info->isValuable($this->notRegisteredStatesDict) ? $info : null;
    }

Now I can use the following code:
    $whois = Whois::create();
    $info = $whois->loadDomainInfo('google.com');

    return $info->getRegistrarURL();

And I'll get the value "http://www.markmonitor.com" successfuly.
Now we can delete the following functions from DomainInfo:
    /**
     * @return string
     */
    public function getDomainName();

    /**
     * @return string
     */
    public function getWhoisServer();

    /**
     * @return string[]
     */
    public function getNameServers();

    /**
     * @return int
     */
    public function getCreationDate();

And it will still work since they become dynamic functions. Also, whenever we add a new selector to the Parsers, it will be automatically available as a function without editing the DomainInfo class.
I am sure the code needs some cleanup, as this is just a draft idea.

Looks good.
But general idea of get* methods it's provide minimal pack of information for every whois response.
Also it has no backward compability. Or old get* methods must decorate new magic calls inside.

I guess this improvement should be in new major version "4"

But general idea of get* methods it's provide minimal pack of information for every whois response (via static class interface).

True, but also such feature has the downside of not being able to pull any data the whois provider returns, in my case, for example, I wanted the registrar URL and I don't think there is any way for me to get that info without editing your code (I didn't dig deep within the code to know if there is a better way other than editing the code)

Also it has no backward compatibility.

The new modifications will not have any effect on the old functions, as for example, the getCreationDate is going to function as it used to, as long as the key creationDate is part of the data array keys.

Or old get* methods must decorate new magic calls inside.

Keeping the old methods will not have any effect, in the end, they are calling the getval methods which is what __call is using.
The only downside of this is that the IDE may not be able to provide an autocomplete for the functions, that's why I introduced getAvaliableKeys (maybe adding a dock block can fix this too, am not 100% sure)

Implemented in v4 branch via DataObject


klipper: unstable-2022-06-18 -> unstable-2022-09-11

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for klipper is: "The Klipper 3D printer firmware"
meta.homepage for klipper is: "https://github.com/KevinOConnor/klipper"
meta.changelog for klipper is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found unstable-2022-09-05 in filename of file in /nix/store/0n7ljfksw7hmdlkwswqql010kb1g1ka9-klipper-unstable-2022-09-05

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

4 package rebuild(s)

First fifty rebuilds by attrpath
klipper
klipper-firmware
klipper-flash
klipper-genconf

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/0n7ljfksw7hmdlkwswqql010kb1g1ka9-klipper-unstable-2022-09-05 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A klipper https://github.com/r-ryantm/nixpkgs/archive/45828406360c0436d9044763394bcd14165c8384.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/0n7ljfksw7hmdlkwswqql010kb1g1ka9-klipper-unstable-2022-09-05
ls -la /nix/store/0n7ljfksw7hmdlkwswqql010kb1g1ka9-klipper-unstable-2022-09-05/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

4 packages built:

klipper
klipper-firmware
klipper-flash
klipper-genconf

Maintainer pings
cc @lovesegfault @zhaofengli @cab404 for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for klipper is: "The Klipper 3D printer firmware"
meta.homepage for klipper is: "https://github.com/KevinOConnor/klipper"
meta.changelog for klipper is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found unstable-2022-09-11 in filename of file in /nix/store/2x40bnnvqmkbyjc0cnbz53n7vyr72kcj-klipper-unstable-2022-09-11

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

4 package rebuild(s)

First fifty rebuilds by attrpath
klipper
klipper-firmware
klipper-flash
klipper-genconf

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/2x40bnnvqmkbyjc0cnbz53n7vyr72kcj-klipper-unstable-2022-09-11 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A klipper https://github.com/r-ryantm/nixpkgs/archive/41ab8c0b8a4327debbbdcbe5e1777a27afef9676.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/2x40bnnvqmkbyjc0cnbz53n7vyr72kcj-klipper-unstable-2022-09-11
ls -la /nix/store/2x40bnnvqmkbyjc0cnbz53n7vyr72kcj-klipper-unstable-2022-09-11/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

4 packages built:

klipper
klipper-firmware
klipper-flash
klipper-genconf

Maintainer pings
cc @lovesegfault @zhaofengli @cab404 for testing.


Read strategy from pyproject toml

closes #31
As proposed in #31 I added a capability to read the strategy from a pyproject.toml file. By default it looks for a tool.liccheck section in such a file. If this is not there, it falls back to the file passed in via the -s parameter. If this is not there either, an error message is shown.
A valid section in pyproject.toml would be
[tool.liccheck]
authorized_licenses = [
  "bsd",
  "new bsd",
  "bsd license"
]
unauthorized_licenses = [
  "gpl v3"
]

[tool.liccheck.authorized_packages]
uuid = "<=1.30"

What do you think about this approach? Should the Strategy parameter also be configurable by that way?
Todo before merge

[ ] Integration tests with pyproject.toml
[ ] Documentation -> My proposal would be to make this the default way of configure this tool (and maybe deprecating reading from the config file)

But I wanted to get some feedback before doing this...

I use pyproject.toml too and this would be a pretty cool feature. Are you still on it @larsrinn?

Merging. Readme is still to be updated, though.


Implement collapse unifurcations feature

Fixes #19

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

Project coverage is 54.93%. Comparing base (61c3853) to head (d6679fe).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #103      +/-   ##
==========================================
- Coverage   55.18%   54.93%   -0.26%
==========================================
  Files          15       15
  Lines        3180     3204      +24
  Branches      135      140       +5
==========================================
+ Hits         1755     1760       +5
- Misses       1425     1444      +19

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


[question] Plans.

Hi!
What are you planning to-do with this mod?
Are you looking to add most of the items to this mod?
Thanks Si1kn.

Heya, and sorry for the late response,
Initially, I wrote this mod in order to create an exact replica of Hypixel's SkyBlock. However, some of the most recent updates, the community centre one, for instance, are incompatible with the singleplayer nature of mods, so my plan changed to keeping the original SkyBlock as close as possible while adding some custom stuff for features that cannot be replicated in Singleplayer (bazaar, dungeons, community centre and etc.). I might add more custom stuff later in development after I catch up with all the current SkyBlock features.
Thanks for your support! :)
Cheers, AlephInfinity1


For Leonardo boards: how to enable USB HID behavior?

I tried using -DUSB_HID and -DUSB_SERIAL_HID in the build_flags section but it hasn't worked:
[env:leonardo]
platform = atmelavr
board = leonardo
framework = arduino
build_flags = -DUSB_SERIAL_HID
My board is an Astar32u4(from Pololu)
The same code works fine with the Arduino IDE

Please go to Arduino IDE settings and enable verbose output for building and uploading.
Then build project in Arduino IDE and share an output on http://pastebin.com

Here is the compile output:
http://pastebin.com/pdMqWy6B
And the upload output:
http://pastebin.com/PLRuXeDt

Try to add these macros
[env:leonardo]
platform = atmelavr
board = leonardo
framework = arduino
build_flags = -DARDUINO_AVR_A_STAR_32U4 -DUSB_VID=0x1ffb -DUSB_PID=0x2300 -DUSB_MANUFACTURER="Pololu Corporation" -DUSB_PRODUCT="Pololu A-Star 32U4"

Check PIO build output that flags are set properly via pio run --verbose.

Unfortunately that had no effect.
The device is recognized in the Device Manager as "Arduino leonardo bootloader", so only serial communication is possible.

Fixed in https://github.com/platformio/platform-atmelavr/commit/5af0f34c89a1a23b5b36f9411a18d61665c24da4


Using SharedValues from one lane to another lane

Question Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Question Subject
I want to use sharedVariable generated in one lane in another lane even it is executed separately.
Question Description
Hello Team, I am using Fastlane for most of the tasks we have in our Jenkins pipeline for iOS and android. In my setup for each task such as Build, Unit Test I have a separate lane and each lane is gets called respective stages. Example in Build stage I will call a build lane to execute or in Test stage I will call build lane to execute. like the same way I am calling the lanes separately for all the stages in the pipeline. Is there any way that I can use a SharedValues generated by one lane in another lane called in separate Fastlane command?
If I cannot user the sharedVariables in different lane then can I store that sharedVariable somewhere and access it again from another lane?
🚫 fastlane environment 🚫
Stack

Key
Value

OS
10.14.6

Ruby
2.4.3

Bundler?
false

Git
git version 2.15.1

Installation Source
~/.rbenv/versions/2.4.3/bin/fastlane

Host
Mac OS X 10.14.6 (18G95)

Ruby Lib Dir
~/.rbenv/versions/2.4.3/lib

OpenSSL Version
OpenSSL 1.0.2s  28 May 2019

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Library/Developer/CommandLineTools/

Xcode Version

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL

LANGUAGE

fastlane files:
`./fastlane/Fastfile`
# Customize this file, documentation can be found here:
# https://docs.fastlane.tools/actions/
# All available actions: https://docs.fastlane.tools/actions
# can also be listed using the `fastlane actions` command

# Change the syntax highlighting to Ruby
# All lines starting with a # are ignored when running `fastlane`

# If you want to automatically update fastlane if a new version is available:
# update_fastlane

# This is the minimum version number required.
# Update this, if you use features of a newer version
require 'net/http'
require 'uri'
min_fastlane_version("2.70.0")

default_platform(:android)

platform :android do
  before_all do
    # ENV["SLACK_URL"] = "https://hooks.slack.com/services/..."
  end

  desc "Runs the build to create apk"
  lane :build do
    gradle(task: "assembleDEDebug")

    puts lane_context[SharedValues::GRADLE_APK_OUTPUT_PATH]

    #analysis

    post_build

  end

  desc "Runs all the tests"
  lane :test do
    gradle(task: "cleanTest test jacocoTestReport --continue --info")
  end

  desc "Submit a new Beta Build to Crashlytics Beta"
  lane :beta do
    gradle(task: "assembleRelease")
    crashlytics

    # sh "your_script.sh"
    # You can also use other beta testing services here
  end

  desc "Deploy a new version to the Google Play"
  lane :deploy do
    gradle(task: "assembleDEdebug")
    upload_to_play_store
  end

  lane :analysis do
    sonar(
    project_key: "TEST-GMA5-android",
    project_version: "1.0",
    project_name: "TEST GMA5 android",
    branch_name: "DE"
    )
  end

  desc "post build tasks for GMA builds"
  lane :post_build do

    appcenter_upload(
      api_token: "a33ba900b83a4301c493b4c1a1fbd38235ddca06",
      owner_name: "mcd-gma5_de",
      app_name: "ANDROID-TEST",
      apk: "/Users/mc60177/GMADevOps/Repos/core-android-Aug21/app/build/outputs/apk/qa/debug/app-qa-debug.apk",
      destinations: "DEVOPS",
      release_notes: sh("cat ../release_notes.txt"),
      should_clip: true,
      notify_testers: true # Set to false if you don't want to notify testers of your new release (default: `false`)
      )
      UI.important "AppCenter Upload Successfull."
    #puts lane_context[SharedValues::APPCENTER_DOWNLOAD_LINK]
    #puts lane_context[SharedValues::APPCENTER_BUILD_INFORMATION]

    appurl = lane_context[SharedValues::APPCENTER_DOWNLOAD_LINK]

    webex(
      AppCenterLink: lane_context[SharedValues::APPCENTER_DOWNLOAD_LINK],
      message: sh("cat ../release_notes.txt"),
      Appdetails: lane_context[SharedValues::APPCENTER_BUILD_INFORMATION]
    )

    #sh('''curl -X POST -H "Content-Type: application/json" -d "{"markdown" : "$appurl"}" ''')
    #sh('''curl -X POST -H "Content-Type: application/json" -d '{ \"text" : "This is a message from a Cisco Webex Teams incoming webhook." }' https://api.ciscospark.com/v1/webhooks/incoming/Y2lzY29zcGFyazovL3VzL1dFQkhPT0svNTYxM2YyYjItM2Y3OS00OTZlLWFjODgtOTVhZWIxYjg0MTg2''')

    artifactory(
      username: "svc_vet_artifactory_no_overwrite",
      password: "Bigmac123",
      endpoint: "https://artifactrepository.mcd.com/artifactory",
      file: "/Users/mc60177/GMADevOps/Repos/core-android-Aug21/app/build/outputs/apk/qa/debug/app-qa-debug.apk",  # File to upload
      repo: "GMA",       # Artifactory repo
      repo_path: "GMA/Android/DE/DE.apk"   # Path to place the artifact including its filename
    )
  # You can define as many lanes as you want
  end

  # You can define as many lanes as you want

  after_all do |lane|
    # This block is called, only if the executed lane was successful

    # slack(
    #   message: "Successfully deployed new App Update."
    # )
  end

  error do |lane, exception|
    # slack(
    #   message: exception.message,
    #   success: false
    # )
  end
end

# More information about multiple platforms in fastlane: https://docs.fastlane.tools/advanced/#control-configuration-by-lane-and-by-platform
# All available actions: https://docs.fastlane.tools/actions

# fastlane reports which actions are used. No personal data is recorded.
# Learn more at https://docs.fastlane.tools/#metrics

`./fastlane/Appfile`
json_key_file("") # Path to the json secret file - Follow https://docs.fastlane.tools/actions/supply/#setup to get one
package_name("de.mcdonalds.mcdonaldsinfoapp") # e.g. com.krausefx.app

fastlane gems

Gem
Version
Update-Status

fastlane
2.130.0
🚫 Update available

Loaded fastlane plugins:

Plugin
Version
Update-Status

fastlane-plugin-appcenter
1.4.0
✅ Up-To-Date

Loaded gems

Gem
Version

did_you_mean
1.1.0

slack-notifier
2.3.2

atomos
0.1.3

CFPropertyList
3.0.1

claide
1.0.3

colored2
3.1.2

nanaimo
0.2.6

xcodeproj
1.12.0

rouge
2.0.7

xcpretty
0.3.0

terminal-notifier
2.0.0

unicode-display_width
1.6.0

terminal-table
1.8.0

plist
3.5.0

multipart-post
2.0.0

word_wrap
1.0.0

public_suffix
2.0.5

tty-screen
0.7.0

tty-cursor
0.7.0

tty-spinner
0.9.1

babosa
1.0.2

colored
1.2

highline
1.7.10

commander-fastlane
4.4.6

excon
0.66.0

faraday
0.15.4

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20190701

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

fastimage
2.1.5

gh_inspector
1.1.3

mini_magick
4.9.5

multi_xml
0.6.0

rubyzip
1.2.3

security
0.1.3

xcpretty-travis-formatter
1.0.0

dotenv
2.7.5

bundler
2.0.2

faraday_middleware
0.13.1

naturally
2.2.0

simctl
1.6.5

jwt
2.1.0

uber
0.1.0

declarative
0.0.10

declarative-option
0.1.0

representable
3.0.4

retriable
3.1.2

mime-types-data
3.2019.0331

mime-types
3.2.2

multi_json
1.13.1

signet
0.11.0

memoist
0.16.0

os
1.0.1

googleauth
0.6.7

httpclient
2.8.3

google-api-client
0.23.9

google-cloud-env
1.2.1

google-cloud-core
1.3.1

digest-crc
0.4.1

google-cloud-storage
1.16.0

emoji_regex
1.0.1

openssl
2.0.5

json
2.2.0

io-console
0.4.6

addressable
2.7.0

psych
2.2.2

fastlane-plugin-appcenter
1.4.0

generated on: 2019-09-25

@janpio

Please don't @ mention maintainers - we reply when we got to it (or do not reply, if we don't).
You want to use SharedValues across fastlane runs, correct? That is not possible as the SharedValues are not persisted in any way. Depending on your testing setup, you could possibly write things into ENV vars and read them in the next run. If not, you will have to find some other way to persist data.

Thank you for the suggetions. right now I am saving values in the txt file. is there any way that I can save the variables in the .env file from fastlane?

.env is just a file as well, so you can write whatever you want in there.


Add rules for using node:console import instead of global one, and enforce doing it in just a single file, passing the console instance as agument

https://eslint.org/docs/latest/rules/no-restricted-globals

Rules aren’t meant to work across multiple files, so probably we would need to write a rule that traverse all files each time, or flag the first appearance in a file and check if its content is not empty when checking other files.


Add accessibilityFocus and loseAccessibilityFocus as a11y actions

Fixes https://github.com/flutter/flutter/issues/14424.
Framework-side changes for https://github.com/flutter/engine/pull/4655.
/cc @lorrainekan


IOS 13 issue

After update IOS 13 the segment control behave differently and the tint color also not working.Any update for this issue ?
I am using version 3.6.2.
Xamarin forms 3.4

This issue was fixed in version 4.2.
Please see #73

@1iveowl  Thanks for the update but the current control seemed doesn't support border or background color.So it it possible to add the border in the current control ?


Get JSON representation of result rows

In Nanobot we're using Vec<Map<String, Value>> (where Map and Value are from serde_json) to represent SQL results. Since we're using JSON throughout Nanobot, this is convenient.
The current Nanobot implementation is SQLite-specific, and uses SQLite's json_object() in the SQL query to ask SQLite to return JSON strings, then serde_json::from_str to read them.
I would like some options in SQLREST to return Vec<Map<String, Value>>. I'm not sure whether the json_object() approach is best, and I'm open to better suggestions, but it does work.

sqlx has a query_as! macro that can be used to convert the results of a query to json, but unfortunately it seems to require that the row fields be defined at compile time (see here: https://github.com/launchbadge/sqlx/issues/795#issuecomment-723044028) so this won't work for us.
Another option is to look up the column info for the given row using the columns() and type_info() methods and then using that info to construct a Value, i.e., something like this:
let query = sqlx_query(r#"SELECT "col1", "col2", "col3" FROM "test""#);
let rows = block_on(query.fetch_all(pool)).unwrap();
let mut json_rows = vec![];
for row in rows.iter() {
    let mut json_row = serde_json::Map::new();
    for column in row.columns().iter() {
        let cname = column.name();
        let type_info = column.type_info();
        if type_info.to_string() == "TEXT" {
            let cval: &str = row.get(cname);
            json_row.insert(cname.to_string(), json!(cval));
        } else if type_info.to_string() == "INTEGER" {
            let cval: i64 = row.get(cname);
            json_row.insert(cname.to_string(), json!(cval));
        }
    }
    json_rows.push(json_row);
}
let json_rows = json!(json_rows);
println!("JSON ROWS: {}", json_rows);

The output of that last println statement will look something like: JSON ROWS: [{"col1":"foo","col2":1,"col3":"car"}].
Note that there may be a better way to query the type_info variable than using .to_string(), though the advantage of using .to_string() is that it is not database-specific. If, instead, we use a match type_info { ... } statement then we will have to know the underlying database, since type_info is actually an AnyTypeInfo struct (or enum?) that in this case happens to look like: AnyTypeInfo(Sqlite(SqliteTypeInfo(Text)))

I just updated my previous comment. I wasn't aware, at first, of the TypeInfo::name() method which we should be using instead of .to_string() here (although name() is likely the way this type implements .to_string() in any case). This doesn't make any difference to the database-sensitivity issue.

That said I don't see why the json_object() approach wouldn't also work. The PostgreSQL equivalent seems to be the row_to_json() function, which you can call like this:
select row_to_json(t) from (select row_number, prefix, base, "ontology IRI", "version IRI" from table1) t

with the returned result looking like:
                                                   row_to_json
-----------------------------------------------------------------------------------------------------------------
 {"row_number":1,"prefix":"","base":"zdkxksnil","ontology IRI":null,"version IRI":null}
 {"row_number":2,"prefix":"igxqqtute","base":"jksxsmspa","ontology IRI":"fdzhfneqa","version IRI":"mpjzhusus"}
 {"row_number":3,"prefix":"dgqcgjinp","base":"vknrbxiqb","ontology IRI":"irlklwmhh","version IRI":"hbjcwwsgc"}
 {"row_number":4,"prefix":"xaikwlbuh","base":"skawpipzl","ontology IRI":"aljnrlvym","version IRI":"hbznkujra"}
 {"row_number":5,"prefix":"jrywcogbc","base":"ydsksufhu","ontology IRI":"zvlrohbuw","version IRI":"xpbhnjesy"}
 {"row_number":6,"prefix":"majoiuino","base":"jbviyllmf","ontology IRI":"jhsypwxdt","version IRI":"gtxdxkggq"}
 {"row_number":7,"prefix":"otmwsmgjl","base":"iiwyjmrga","ontology IRI":null,"version IRI":null}
...

You can also call row_to_json() without knowing the column names. This syntax also works: select row_to_json(table1) from table1


Fix typos

Fix some typos changing "columne" to "column"

Hi, Thanks for this PR. The schema docs are auto-generated. As such, I fixed the XSD file where the nodes descriptions are defined.


Update README.md

Updated to https://raw.githack.com/differentmatt/filbert/master/test/interactive.html  due to raw git dying, see https://rawgit.com/

Updated to https://raw.githack.com/differentmatt/filbert/master/test/interactive.html due to raw git dying, see https://rawgit.com/

awesome, thanks!


Typo error

Hello, I have noticed some typo errors in the README file and I would like to correct them. Can you tell me in what branch should I put my request in?

You can request in master branch itself. Thank you for your contribution 😊


Is it necessary to add ServerBootstrapAcceptor handler to the pipeline in a delayed fashion?

Here is the souce code, and the following are the part of it:
p.addLast(new ChannelInitializer<Channel>() {
    @Override
    public void initChannel(Channel ch) throws Exception {
        final ChannelPipeline pipeline = ch.pipeline();
        ChannelHandler handler = config.handler();
        if (handler != null) {
            pipeline.addLast(handler);
        }

        // We add this handler via the EventLoop as the user may have used a ChannelInitializer as handler.
        // In this case the initChannel(...) method will only be called after this method returns. Because
        // of this we need to ensure we add our handler in a delayed fashion so all the users handler are
        // placed in front of the ServerBootstrapAcceptor.
        ch.eventLoop().execute(new Runnable() {
            @Override
            public void run() {
                pipeline.addLast(new ServerBootstrapAcceptor(
                        currentChildGroup, currentChildHandler, currentChildOptions, currentChildAttrs));
            }
        });
    }
});

In the above code, the ServerBootstrapAcceptor handler was added to pipeline in a delayed fashion, the reason for this according to the comments  is that "the user may have used a ChannelInitializer as handler", but I read the related codes of netty and write some example code, I think this may not be necessary.

its necessary as if the user used ChannelInitializer it will otherwise mess up the order. Here is the unit test:
https://github.com/netty/netty/commit/4638df20628a8987c8709f0f8e5f3679a914ce1a

Hi @normanmaurer , I changed the ServerBootstrap code back to the original one according to that commit, and both tests still passed.

@normanmaurer , please check it.


🐛 [firebase_dynamic_links] Dynamic Link is not called on iOS

Bug report
Describe the bug
Hello, I am implementing Firebase Dynamic Link in my Flutter Application. Everything is working as expected on android but on iOS, dynamic link is not getting triggered in both the event [App Opened, App Closed]
Steps to reproduce
Steps to reproduce the behavior:

Generate Dynamic Link From Firebase Console.
Added domain in Associated Domains. 3.
Run the app, app launch [App Opened, App Closed] when clicking on link.4.
onLink and getInitialLink doesn't execute.5.

Expected behavior
while tapping on url, onLink(while app is open) it should triggered and getInitialLink should be triggered.
Sample project
Providing a minimal example project which demonstrates the bug in isolation from your main App greatly enhances the chance of a timely fix.
Please link to the public repository URL.
@override
  void initState() {
    super.initState();
    init();
  }

  init() async {
    final url = await FirebaseDynamicLinks.instance.getInitialLink();
    if (url != null) {
      //  custom function
      print(url);
    }
    FirebaseDynamicLinks.instance.onLink.listen((event) {
      // custom function
      print(event);
    });
  }

Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.3.0, on macOS 12.4 21F79 darwin-arm, locale en-NP)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc1)
[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.1)
[✓] VS Code (version 1.71.0)
[✓] Connected device (3 available)
[✓] HTTP Host Availability

Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
Click To Expand
- adaptive_action_sheet 2.0.2 [flutter universal_io]
- auto_route 4.2.1 [flutter path collection meta universal_html]
- bloc 8.0.3 [meta]
- cached_network_image 3.2.1 [flutter flutter_cache_manager octo_image cached_network_image_platform_interface cached_network_image_web]
- carousel_slider 4.1.1 [flutter]
- collection 1.16.0
- dartx 1.1.0 [characters collection crypto meta path time]
- dartz 0.10.1
- device_info_plus 3.2.4 [flutter device_info_plus_platform_interface device_info_plus_macos device_info_plus_linux device_info_plus_web device_info_plus_windows]
- dio 4.0.6 [http_parser path]
- dio_http2_adapter 2.0.0 [http2 dio]
- dio_http_formatter 2.1.0 [dio logger]
- dotted_border 2.0.0+2 [flutter path_drawing]
- equatable 2.0.3 [collection meta]
- firebase_analytics 9.3.0 [firebase_analytics_platform_interface firebase_analytics_web firebase_core firebase_core_platform_interface flutter]
- firebase_core 1.20.0 [firebase_core_platform_interface firebase_core_web flutter meta]
- firebase_crashlytics 2.8.6 [firebase_core firebase_core_platform_interface firebase_crashlytics_platform_interface flutter stack_trace]
- firebase_dynamic_links 4.3.4 [firebase_core firebase_core_platform_interface firebase_dynamic_links_platform_interface flutter meta plugin_platform_interface]
- firebase_messaging 12.0.1 [firebase_core firebase_core_platform_interface firebase_messaging_platform_interface firebase_messaging_web flutter meta]
- flutter 0.0.0 [characters collection material_color_utilities meta vector_math sky_engine]
- flutter_bloc 8.0.1 [flutter bloc provider]
- flutter_dotenv 5.0.2 [flutter]
- flutter_facebook_auth 4.4.0+1 [flutter flutter_facebook_auth_platform_interface flutter_facebook_auth_web]
- flutter_hooks 0.18.5+1 [flutter]
- flutter_html 3.0.0-alpha.5 [html csslib collection numerus flutter]
- flutter_local_notifications 9.7.0 [clock flutter flutter_local_notifications_linux flutter_local_notifications_platform_interface timezone]
- flutter_localizations 0.0.0 [flutter intl characters clock collection material_color_utilities meta path vector_math]
- flutter_native_splash 2.2.6 [args flutter flutter_web_plugins image js lint meta path universal_io xml yaml]
- flutter_screenutil 5.5.3+2 [flutter]
- flutter_secure_storage 5.0.2 [meta flutter flutter_secure_storage_linux flutter_secure_storage_macos flutter_secure_storage_platform_interface flutter_secure_storage_web flutter_secure_storage_windows]
- flutter_svg 1.1.1+1 [flutter meta path_drawing vector_math xml]
- freezed_annotation 2.1.0 [collection json_annotation meta]
- functional_widget_annotation 0.10.0
- geolocator 8.2.1 [flutter geolocator_platform_interface geolocator_android geolocator_apple geolocator_web geolocator_windows]
- gesture_x_detector 1.1.1 [flutter vector_math]
- get_it 7.2.0 [async collection]
- google_sign_in 5.4.0 [flutter google_sign_in_android google_sign_in_ios google_sign_in_platform_interface google_sign_in_web]
- image_cropper 2.0.3 [flutter image_cropper_platform_interface image_cropper_for_web]
- image_picker 0.8.5+3 [flutter image_picker_android image_picker_for_web image_picker_ios image_picker_platform_interface]
- image_stack 2.1.1 [flutter]
- injectable 1.5.3 [get_it]
- internet_connection_checker 0.0.1+4
- intl 0.17.0 [clock path]
- json_annotation 4.6.0 [meta]
- just_the_tooltip 0.0.12 [flutter]
- logger 1.1.0
- lottie 1.3.0 [archive flutter path vector_math]
- map_launcher 2.2.3 [flutter]
- mobile_scanner 2.0.0 [flutter flutter_web_plugins js]
- overlay_support 2.0.1 [flutter async]
- path_provider 2.0.11 [flutter path_provider_android path_provider_ios path_provider_linux path_provider_macos path_provider_platform_interface path_provider_windows]
- permission_handler 9.2.0 [flutter meta permission_handler_android permission_handler_apple permission_handler_windows permission_handler_platform_interface]
- photo_view 0.14.0 [flutter]
- rxdart 0.27.5
- screenshot 1.2.3 [flutter]
- scrollable_positioned_list 0.3.2 [flutter collection]
- share_plus 4.0.10 [meta mime flutter share_plus_platform_interface share_plus_linux share_plus_macos share_plus_windows share_plus_web]
- shared_preferences 2.0.15 [flutter shared_preferences_android shared_preferences_ios shared_preferences_linux shared_preferences_macos shared_preferences_platform_interface shared_preferences_web shared_preferences_windows]
- shimmer 2.0.0 [flutter]
- timeago 3.2.2
- url_launcher 6.1.5 [flutter url_launcher_android url_launcher_ios url_launcher_linux url_launcher_macos url_launcher_platform_interface url_launcher_web url_launcher_windows]
- uuid 3.0.6 [crypto]
- webview_flutter 3.0.4 [flutter webview_flutter_android webview_flutter_platform_interface webview_flutter_wkwebview]

dev dependencies:
- auto_route_generator 4.2.0 [build source_gen analyzer path build_runner code_builder dart_style xml args auto_route]
- bloc_test 9.0.3 [bloc diff_match_patch meta mocktail test]
- build_runner 2.2.0 [args async analyzer build build_config build_daemon build_resolvers build_runner_core code_builder collection crypto dart_style frontend_server_client glob graphs http_multi_server io js logging meta mime package_config path pool pub_semver pubspec_parse shelf shelf_web_socket stack_trace stream_transform timing watcher web_socket_channel yaml]
- flutter_launcher_icons 0.9.3 [args image path yaml]
- flutter_lints 1.0.4 [lints]
- flutter_test 0.0.0 [flutter test_api path fake_async clock stack_trace vector_math async boolean_selector characters collection matcher material_color_utilities meta source_span stream_channel string_scanner term_glyph]
- freezed 2.1.0+1 [analyzer build build_config collection meta source_gen freezed_annotation json_annotation]
- functional_widget 0.10.0 [analyzer build build_config meta functional_widget_annotation source_gen code_builder collection]
- http_mock_adapter 0.3.3 [collection dio http_parser]
- injectable_generator 1.5.4 [build source_gen path glob analyzer code_builder dart_style injectable collection]
- json_serializable 6.3.1 [analyzer async build build_config collection json_annotation meta path pub_semver pubspec_parse source_gen source_helper]
- mocktail 0.3.0 [collection matcher test]

transitive dependencies:
- _fe_analyzer_shared 43.0.0 [meta]
- analyzer 4.3.1 [_fe_analyzer_shared collection convert crypto glob meta package_config path pub_semver source_span watcher yaml]
- archive 3.3.1 [crypto path]
- args 2.3.1
- async 2.9.0 [collection meta]
- boolean_selector 2.1.0 [source_span string_scanner]
- build 2.3.0 [analyzer async convert crypto glob logging meta path]
- build_config 1.1.0 [checked_yaml json_annotation path pubspec_parse yaml]
- build_daemon 3.1.0 [built_collection built_value http_multi_server logging path pool shelf shelf_web_socket stream_transform watcher web_socket_channel]
- build_resolvers 2.0.9 [analyzer async build crypto graphs logging path package_config pool pub_semver stream_transform yaml]
- build_runner_core 7.2.3 [async build build_config build_resolvers collection convert crypto glob graphs json_annotation logging meta path package_config pool timing watcher yaml]
- built_collection 5.1.1
- built_value 8.4.0 [built_collection collection fixnum meta]
- cached_network_image_platform_interface 1.0.0 [flutter flutter_cache_manager]
- cached_network_image_web 1.0.1 [flutter flutter_cache_manager cached_network_image_platform_interface]
- characters 1.2.1
- charcode 1.3.1
- checked_yaml 2.0.1 [json_annotation source_span yaml]
- clock 1.1.1
- code_builder 4.1.0 [built_collection built_value collection matcher meta]
- convert 3.0.2 [typed_data]
- coverage 1.3.2 [args logging package_config path source_maps stack_trace vm_service]
- cross_file 0.3.3+1 [js meta]
- crypto 3.0.2 [typed_data]
- csslib 0.17.2 [source_span]
- dart_style 2.2.3 [analyzer args path pub_semver source_span]
- dbus 0.7.4 [args ffi meta xml]
- device_info_plus_linux 2.1.1 [device_info_plus_platform_interface file flutter meta]
- device_info_plus_macos 2.2.3 [device_info_plus_platform_interface flutter]
- device_info_plus_platform_interface 2.3.0+1 [flutter meta plugin_platform_interface]
- device_info_plus_web 2.1.0 [device_info_plus_platform_interface flutter_web_plugins flutter]
- device_info_plus_windows 2.1.1 [device_info_plus_platform_interface ffi flutter win32]
- diff_match_patch 0.4.1
- fake_async 1.3.1 [clock collection]
- ffi 1.2.1
- file 6.1.2 [meta path]
- firebase_analytics_platform_interface 3.3.0 [firebase_core flutter meta plugin_platform_interface]
- firebase_analytics_web 0.4.2 [firebase_analytics_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins js]
- firebase_core_platform_interface 4.5.0 [collection flutter flutter_test meta plugin_platform_interface]
- firebase_core_web 1.7.1 [firebase_core_platform_interface flutter flutter_web_plugins js meta]
- firebase_crashlytics_platform_interface 3.2.12 [collection firebase_core flutter meta plugin_platform_interface]
- firebase_dynamic_links_platform_interface 0.2.3+9 [firebase_core flutter meta plugin_platform_interface]
- firebase_messaging_platform_interface 4.1.0 [firebase_core flutter meta plugin_platform_interface]
- firebase_messaging_web 3.1.0 [firebase_core firebase_core_web firebase_messaging_platform_interface flutter flutter_web_plugins js meta]
- fixnum 1.0.1
- flutter_blurhash 0.7.0 [flutter]
- flutter_cache_manager 3.3.0 [clock collection file flutter http path path_provider pedantic rxdart sqflite uuid]
- flutter_facebook_auth_platform_interface 3.2.0 [flutter plugin_platform_interface]
- flutter_facebook_auth_web 3.2.0 [flutter flutter_web_plugins js flutter_facebook_auth_platform_interface]
- flutter_local_notifications_linux 0.5.0+1 [flutter flutter_local_notifications_platform_interface dbus path xdg_directories]
- flutter_local_notifications_platform_interface 5.0.0 [flutter plugin_platform_interface]
- flutter_plugin_android_lifecycle 2.0.7 [flutter]
- flutter_secure_storage_linux 1.1.0 [flutter flutter_secure_storage_platform_interface]
- flutter_secure_storage_macos 1.1.0 [flutter flutter_secure_storage_platform_interface]
- flutter_secure_storage_platform_interface 1.0.0 [flutter plugin_platform_interface]
- flutter_secure_storage_web 1.0.2 [flutter flutter_web_plugins flutter_secure_storage_platform_interface js]
- flutter_secure_storage_windows 1.1.2 [flutter flutter_secure_storage_platform_interface]
- flutter_web_plugins 0.0.0 [flutter js characters collection material_color_utilities meta vector_math]
- frontend_server_client 2.1.3 [async path]
- geolocator_android 3.2.1 [flutter geolocator_platform_interface]
- geolocator_apple 2.2.1 [flutter geolocator_platform_interface]
- geolocator_platform_interface 4.0.6 [flutter plugin_platform_interface vector_math meta]
- geolocator_web 2.1.6 [flutter flutter_web_plugins geolocator_platform_interface]
- geolocator_windows 0.1.1 [flutter geolocator_platform_interface]
- glob 2.1.0 [async collection file path string_scanner]
- google_sign_in_android 6.0.1 [flutter google_sign_in_platform_interface]
- google_sign_in_ios 5.4.0 [flutter google_sign_in_platform_interface]
- google_sign_in_platform_interface 2.2.0 [flutter quiver]
- google_sign_in_web 0.10.2 [flutter flutter_web_plugins google_sign_in_platform_interface js]
- graphs 2.1.0 [collection]
- html 0.15.0 [csslib source_span]
- http 0.13.4 [async http_parser meta path]
- http2 2.0.0
- http_multi_server 3.2.1 [async]
- http_parser 4.0.1 [collection source_span string_scanner typed_data]
- image 3.2.0 [archive meta xml]
- image_cropper_for_web 0.0.4 [flutter flutter_web_plugins image_cropper_platform_interface js]
- image_cropper_platform_interface 2.0.0 [flutter plugin_platform_interface http]
- image_picker_android 0.8.5+1 [flutter flutter_plugin_android_lifecycle image_picker_platform_interface]
- image_picker_for_web 2.1.8 [flutter flutter_web_plugins image_picker_platform_interface]
- image_picker_ios 0.8.5+6 [flutter image_picker_platform_interface]
- image_picker_platform_interface 2.5.0 [cross_file flutter http plugin_platform_interface]
- io 1.0.3 [meta path string_scanner]
- js 0.6.4
- lint 1.10.0
- lints 1.0.1
- logging 1.0.2
- matcher 0.12.12 [stack_trace]
- material_color_utilities 0.1.5
- meta 1.8.0
- mime 1.0.2
- nested 1.0.0 [flutter]
- node_preamble 2.0.1
- numerus 1.1.1
- octo_image 1.0.2 [flutter flutter_blurhash]
- package_config 2.1.0 [path]
- path 1.8.2
- path_drawing 1.0.0 [vector_math meta path_parsing flutter]
- path_parsing 1.0.0 [vector_math meta]
- path_provider_android 2.0.16 [flutter path_provider_platform_interface]
- path_provider_ios 2.0.10 [flutter path_provider_platform_interface]
- path_provider_linux 2.1.7 [ffi flutter path path_provider_platform_interface xdg_directories]
- path_provider_macos 2.0.6 [flutter path_provider_platform_interface]
- path_provider_platform_interface 2.0.4 [flutter platform plugin_platform_interface]
- path_provider_windows 2.0.7 [ffi flutter path path_provider_platform_interface win32]
- pedantic 1.11.1
- permission_handler_android 9.0.2+1 [flutter permission_handler_platform_interface]
- permission_handler_apple 9.0.4 [flutter permission_handler_platform_interface]
- permission_handler_platform_interface 3.7.0 [flutter meta plugin_platform_interface]
- permission_handler_windows 0.1.0 [flutter permission_handler_platform_interface]
- petitparser 5.0.0 [meta]
- platform 3.1.0
- plugin_platform_interface 2.1.2 [meta]
- pool 1.5.1 [async stack_trace]
- process 4.2.4 [file path platform]
- provider 6.0.3 [collection flutter nested]
- pub_semver 2.1.1 [collection meta]
- pubspec_parse 1.2.0 [checked_yaml collection json_annotation pub_semver yaml]
- quiver 3.1.0 [matcher]
- share_plus_linux 3.0.0 [share_plus_platform_interface file flutter meta url_launcher]
- share_plus_macos 3.0.1 [share_plus_platform_interface flutter]
- share_plus_platform_interface 3.0.3 [flutter meta mime plugin_platform_interface]
- share_plus_web 3.0.1 [share_plus_platform_interface url_launcher flutter flutter_web_plugins meta]
- share_plus_windows 3.0.1 [share_plus_platform_interface flutter meta url_launcher]
- shared_preferences_android 2.0.12 [flutter shared_preferences_platform_interface]
- shared_preferences_ios 2.1.1 [flutter shared_preferences_platform_interface]
- shared_preferences_linux 2.1.1 [file flutter path path_provider_linux path_provider_platform_interface shared_preferences_platform_interface]
- shared_preferences_macos 2.0.4 [flutter shared_preferences_platform_interface]
- shared_preferences_platform_interface 2.0.0 [flutter]
- shared_preferences_web 2.0.4 [flutter flutter_web_plugins shared_preferences_platform_interface]
- shared_preferences_windows 2.1.1 [file flutter path path_provider_platform_interface path_provider_windows shared_preferences_platform_interface]
- shelf 1.3.1 [async collection http_parser path stack_trace stream_channel]
- shelf_packages_handler 3.0.1 [path shelf shelf_static]
- shelf_static 1.1.1 [convert http_parser mime path shelf]
- shelf_web_socket 1.0.2 [shelf stream_channel web_socket_channel]
- sky_engine 0.0.99
- source_gen 1.2.2 [analyzer async build dart_style glob meta path source_span yaml]
- source_helper 1.3.2 [analyzer collection source_gen]
- source_map_stack_trace 2.1.0 [path stack_trace source_maps]
- source_maps 0.10.10 [source_span]
- source_span 1.9.0 [collection path term_glyph]
- sqflite 2.0.3 [flutter sqflite_common path]
- sqflite_common 2.2.1+1 [synchronized path meta]
- stack_trace 1.10.0 [path]
- stream_channel 2.1.0 [async]
- stream_transform 2.0.0
- string_scanner 1.1.1 [source_span]
- synchronized 3.0.0+2
- term_glyph 1.2.1
- test 1.21.4 [analyzer async boolean_selector collection coverage http_multi_server io js node_preamble package_config path pool shelf shelf_packages_handler shelf_static shelf_web_socket source_span stack_trace stream_channel typed_data web_socket_channel webkit_inspection_protocol yaml test_api test_core]
- test_api 0.4.12 [async boolean_selector collection meta source_span stack_trace stream_channel string_scanner term_glyph matcher]
- test_core 0.4.16 [analyzer async args boolean_selector collection coverage frontend_server_client glob io meta package_config path pool source_map_stack_trace source_maps source_span stack_trace stream_channel vm_service yaml matcher test_api]
- time 2.1.1 [clock]
- timezone 0.8.0 [path]
- timing 1.0.0 [json_annotation]
- typed_data 1.3.1 [collection]
- universal_html 2.0.8 [async csslib charcode collection html meta source_span typed_data universal_io]
- universal_io 2.0.4 [collection crypto meta typed_data]
- url_launcher_android 6.0.17 [flutter url_launcher_platform_interface]
- url_launcher_ios 6.0.17 [flutter url_launcher_platform_interface]
- url_launcher_linux 3.0.1 [flutter url_launcher_platform_interface]
- url_launcher_macos 3.0.1 [flutter url_launcher_platform_interface]
- url_launcher_platform_interface 2.1.0 [flutter plugin_platform_interface]
- url_launcher_web 2.0.12 [flutter flutter_web_plugins url_launcher_platform_interface]
- url_launcher_windows 3.0.1 [flutter url_launcher_platform_interface]
- vector_math 2.1.2
- vm_service 8.3.0
- watcher 1.0.1 [async path]
- web_socket_channel 2.2.0 [async crypto stream_channel]
- webkit_inspection_protocol 1.1.0 [logging]
- webview_flutter_android 2.9.2 [flutter webview_flutter_platform_interface]
- webview_flutter_platform_interface 1.9.1 [flutter meta plugin_platform_interface]
- webview_flutter_wkwebview 2.9.1 [flutter path webview_flutter_platform_interface]
- win32 2.6.1 [ffi]
- xdg_directories 0.2.0+1 [meta path process]
- xml 6.1.0 [collection meta petitparser]
- yaml 3.1.1 [collection source_span string_scanner]

@coder-Aayush
I tried the plugin's example on iOS device in debug and release mode and confirmed that the link is working as expected, ie, when app is open and click on dynamic link from Notes app, it takes us to the desired screen in the app.
When app is terminated and click on dynamic link from same app, it takes us to the desired screen in the app (verified this in release mode).
Can you try the same plugin example and see if you still get same behavior using it ?
Also, it seems you are hitting https://github.com/firebase/flutterfire/issues/9110 , so can you check the same, underlying comments and see if it helps ? If that's same issue as yours, we can follow-up in that issue and close this.

I have same issue.
Although Associated Domains & FirebaseDynamicLinksCustomDomains key in info.plist is configured base on Documents.
Im dev in Flutter 3.3.2 and IOS 15.7 device.

@coder-Aayush I tried the plugin's example on iOS device in debug and release mode and confirmed that the link is working as expected, ie, when app is open and click on dynamic link from Notes app, it takes us to the desired screen in the app. When app is terminated and click on dynamic link from same app, it takes us to the desired screen in the app (verified this in release mode).
Can you try the same plugin example and see if you still get same behavior using it ? Also, it seems you are hitting #9110 , so can you check the same, underlying comments and see if it helps ? If that's same issue as yours, we can follow-up in that issue and close this.

non of the comment work

@coder-Aayush
Please provide more details of the issue that will help us to properly address it, like, logs showings methods are not being triggered, a short video showing the behavior and so on.

I can confirm that nothing is coming thru with getInitialLink().  Tested using iOS 15.6.1 and 16.0.2, Flutter 3.3.2 and firebase_dynamic_links: ^4.3.8.
It used to work, up til iOS 15.5.  Well, it had always been sketchy upon the install from the AppStore, but post-installation the cold opens after a terminated state always properly returned non-null for the below Uri value:
final PendingDynamicLinkData? data = await dynamicLinks.getInitialLink()
          .timeout(const Duration(milliseconds: 4000))
          .onError((Object e, StackTrace _) {

        debugPrint(e.toString());
        return null;
      });

      final Uri? uri = data?.link;

      someCollection.add({
        'createdAt': DateTime.now(),
        'uri': uri.toString(),
      });

Now it's always null.   I had to use package app_links in order to successfully retrieve the link from the clipboard.  And then pass it to getDynamicLink() to get the associated link data.

Don't think https://github.com/firebase/flutterfire/issues/9110 should be closed.

on iOS this is still always null for a cold open that uses the clipboard.  even using the most recent firebase_dynamic_links: ^5.0.2, if you call this:
final PendingDynamicLinkData? data = await dynamicLinks.getInitialLink()
          .timeout(const Duration(milliseconds: 4000))
          .onError((Object e, StackTrace _) {

        print(e.toString());
        return null;
      });

data is always null.  and of course so is data?.link.  this is with iOS 15.6.1 and:
[✓] Flutter (Channel stable, 3.3.5, on macOS 12.6 21G115 darwin-x64, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc4)
[✓] Xcode - develop for iOS and macOS (Xcode 14.0.1)

Here is what I've observed from my own testing:
Android:

Link received if app is running? Yes.
Link received if app is terminated? Yes, after app start.
Link received if app is not installed? Yes, after install and app start.

iOS:

Link received if app is running? Yes.
Link received if app is terminated? Yes, after app start.
Link received if app is not installed? No, after app start PendingDynamicLinkData? data = await dynamicLinks.getInitialLink() returns null.


feat(lambda): collecting status code from result

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


Bug: when pasting markdown, the caret gets placed in the last block of code block which is quite surprising (this also triggers unwanted whole browser page scroll-downs/jumps for long markdown documents)

Pasting/converting this:
hello world

```
echo hello world
```

places the caret inside the code block (which is quite arbitrary) and not in the beginning of the document:

This problem with caret moved inside the code block still happens when pasting is done with:
$convertFromMarkdownString(markdown, PLAYGROUND_TRANSFORMERS)
$getRoot().selectStart()

Related #6177

Also, how to ensure that the code blocks do recognize code language for things like
```shell
echo hi

This seems to work on https://playground.lexical.dev/ , but not in my "extracted playground". Which part of Lexical code is responsible for this functionality? I'm using PLAYGROUND_TRANSFORMERS

The recognized languages come from prism imports

Regarding prism, in playground it somehow gets recognized as shell

, although it is not on the list of languages in the dropdown, and seems not imported in https://github.com/facebook/lexical/blob/fcf1ae6d1b98dd4c7e288ba2e0a0f1f23f520a63/packages/lexical-code/src/CodeHighlighterPrism.ts
But in my own https://github.com/vadimkantorov/moncms/blob/gh-pages/indexEditorOnly.tsx (derived from playground's EditorOnly.tsx, everything else is precisely the playground's code) it somehow gets recognized as JavaScript (even worse than keeping it plain text):

This happened on converting this markdown:
```shell
hello world
```

If you want a language to appear in the list that doesn't ship bundled with lexical-code it needs to be explicitly imported. Prism just uses global variables so the import should be enough, but you need to be careful to make sure they don't get optimized out.

I'm still a bit tricked that playground treats shell somehow specially, because it is not on the language dropdown. I'll take a look on how lexical transforms the hint from backticks into the css class for prism...


Downloading remotes should be on the download page

At the moment they only get mentioned here https://kodi-tv-staging.netlify.app/about/software/

Done. I moved the actual remote QR codes to the download page and changed the language on the software page to provide a link to the Downloads page.


Cluster Validation Scan

Description
Changes proposed in this pull request:

Add a cluster validation section in the cluster overview page

It is hidden behind a CLUSTER_VALIDATION feature flag

The section enables a scan of the cluster

The scan validates the cluster resources against the rules of #2435
The user can configure which namespaces to scan and which policies to check

System namespaces like kube-system and kyma-system are excluded by default.
By default, the policies chosen by the user and cluster for resource validation are used

The user can configure the number of parallel requests to the api, 5 by default

The scan result is shown as a tree where the user can drill down to the specific warnings
This feature uses ui5 react webcomponents, so it includes the ui5 react webcomponent libraries and sets the necessary ThemeProvider
The pqueue library is included for queuing requests and work for the worker thread

Related issue(s)

Resolves #2376

[x]  Scan Progress shouldn't be displayed if a user is not scanning cluster.

Adjusted so that both Scan Progress and Scan Result is not shown if not available.

[x]  When I provide Parallel Requests <= 0 then UI breaks.

Fixed

[ ]  We have a talk to add button for choose all namespaces and uncheck all.

will work on that tomorrow

[x]  It will be nice to have some margin/padding here:

done

[x]  Info about feature flag should be added in docs and you can add it to defaultConfig with enabled false for now.

done

[x]  Why you are implementing TypeScript and JavaScript mixed? ClusterValidation.js rest of new files are ts.

Good point, I've changed ClusterValidation.js to tsx and ResourceValidation.worker.js to ts.
I had it in js for faster iteration with components that are not well typed. Also needed to update the fundamental-react types, but now it's working well.
There is still 1 file in js:
ClusterValidationConfiguration.js - this is explicitly in js because the ResourceForm does not have proper types. So it is very verbose to assign all ResourceForm properties in ts.

And also parallel <0 has no sense

When I am a user with reduced permissions only for one namespace I can't list namespaces, but ClusterValidation feature is displaying all of them.
User should be able to see only this namespace where he has access.

Explanation: The restricted user has no access to /api/v1/namespaces , so the response status code is 403. This is counted as an error, so it goes into processError instead of processDataFn
I've included a fix for useAvailableNamespaces.

And also parallel <0 has no sense

I've added a resource form validation for this. It is still possible to submit with <= 0, in which case the scan uses 1 connection.

We need to have some tests for that functionality.

I've added tests for the scan

/test all

/retest

/ok-to-test

/test all

/retest

/test all

/retest

/retest

/retest

/test all

/test pull-busola-integration-namespace-k3d

/retest

/retest


AGENT_IMAGE_GC_AGE not enforced.

Based on some conversations on discord I have setup the following environment variables on the synpse-agent service on a host.
Environment=AGENT_IMAGE_GC_AGE="48h"
Environment=AGENT_IMAGE_GC_FORCE="true"

But I see images that are much older than 48 hours on the host. This is a bit of a pain point because as we deploy new images we have to manually prune the docker system on our hosts. Is there something obvious I'm missing about how to setup the image garbage collection?
The agent version of the host is 0.21.18
The docker version info is:
Client:
 Version:           20.10.12
 API version:       1.41
 Go version:        go1.16.2
 Git commit:        20.10.12-0ubuntu2~20.04.1
 Built:             Wed Apr  6 02:16:12 2022
 OS/Arch:           linux/arm64
 Context:           default
 Experimental:      true

Server:
 Engine:
  Version:          20.10.12
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.16.2
  Git commit:       20.10.12-0ubuntu2~20.04.1
  Built:            Thu Feb 10 15:03:35 2022
  OS/Arch:          linux/arm64
  Experimental:     false
 containerd:
  Version:          1.5.9-0ubuntu1~20.04.4
  GitCommit:
 nvidia:
  Version:          1.1.0-0ubuntu1~20.04.1
  GitCommit:        629a689
 docker-init:
  Version:          0.19.0
  GitCommit:

cc @oezdemir @emersonknapp

Hey @hrfuller. I was under the impression we fixed this.
Can you please provide from the node you running this below:
uname -a
uptime
docker inspect <image_no_purged>

Are your devices being restarted in that 48h window or they are powered on all the time?

I was under the impression we fixed this.

The fix does seem to work on test hosts that remain on during the 48h window. But most of our hosts are edge devices that are powered on and off frequently. It seems like that would explain the lack of enforcement.

Are your devices being restarted in that 48h window?

Yes they are. Is there anyway you can use the image age information from docker to do the GC?

Thanks! It seems like the docker daemon knows how old the images are based on something when you run docker images so I thought you might be able to hook into that. But any solution would be very welcome.

Yes, you should see dates which are non-realistic.
Just a question, does setting something like
Environment=AGENT_IMAGE_GC_AGE="2h"
Environment=AGENT_IMAGE_GC_FORCE="true"

Where it would purge unused images each 2 hours does not work?

Where it would purge unused images each 2 hours does not work?

I believe it does work but I will try it out.

Let me know. I suspect code might be very tricky, so solving with something like this would be easier

Following up @mjudeikis . Tried using this
ExecStart=/usr/local/bin/synpse-agent run
Environment=AGENT_IMAGE_GC_AGE="30m"
Environment=AGENT_IMAGE_GC_FORCE="true"

Doesn't seem to work. The machine definitely stays on longer than 30 minutes at a time. Any ideas what to try next?


Is this Still Working !!

I am facing issues whilr running

Hey!
Yes, this script still works
Kindly send the error you get.


cmd/compile/internal/logopt: occasional timeouts on netbsd-amd64-9_0 builders

greplogs --dashboard -md -l -e 'panic: test timed out.*\n(?:\ngoroutine .*:\n(?:.+\n\t.+\n)+)*FAIL\s+cmd/compile/internal/logopt'
2021-12-10T19:26:50-766f89b/netbsd-amd64-9_0-n2
2021-04-15T00:40:43-566a87c/netbsd-amd64-9_0
Note that netbsd-amd64-9_0-n2 is one of the builders not believed to be affected by #49209.
(CC @bsiegert, @coypoop)

As with #50138, a good starting point is probably to modify the test to terminate the process with SIGQUIT in case of a hang.


How can I build the kernel with adding some extra options?

Which kernel git version is used?
Any guide to compile the kernel with extra option, like with following options:
CONFIG_USB_SERIAL=y
CONFIG_USB_SERIAL_PL2303=y
CONFIG_USB_SERIAL_FTDI_SIO=y
CONFIG_USB_SERIAL_CH341=y

Add your configs to https://github.com/GloDroidCommunity/raspberry-pi/blob/main/aosptree/vendor/devices-community/gd_rpi4/kernel.config , and rebuild the firmware.


docs(readme): add npmjs link

also use clearer url of appveyor badge.

Coverage remained the same at 77.778% when pulling fa1ddff9b58379a627a5ba29f4c889390dbdbb15 on curbengh:npmjs into 326248a432df4188c8345deb56c65b280b49b5a4 on hexojs:master.


Invalid file format: "/proc/1/cgroup"

I installed below with dnf on Fedora 34, and I get this error when I try to start it:
❯❯❯ sudo below live
Aug 21 14:33:45.414 ERRO
----------------- Detected unclean exit ---------------------
Error Message: Invalid file format: "/proc/1/cgroup"
-------------------------------------------------------------

I also see the same error message over and over in journald.
In case it matters, before this I encountered the issue described in  #8103 (I had disabled cgroup v2 to install docker) but I fixed it (at least I think I did) and now I get the error above instead.
I'm not sure if I can provide good reproducible steps, as this is a fairly old Fedora install that has been updated and tweaked over the years.  But I'd appreciate any help diagnosing the issue further.

@gdetrez could you show the output of cat /proc/1/cgroup? Sounds like cgroup2 isn't configured properly. We could probably improve the error message here.

I'm also on F34 and seeing the same error. Here's my /proc/1/cgroup:
cat /proc/1/cgroup
1:net_cls:/
0::/init.scope

@brianc118 I get the exact same output as @kanak.

Same problem on Gentoo, cgroupv2 is enabled:
# mount | grep cgroup2
cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot)

# cat /proc/1/cgroup
1:name=portage:/
0::/init.scope

It also shows Invalid file format for me.

Feel free to test out the fix, otherwise you may have to wait a bit for a release.

@brianc118 Can confirm it works for Gentoo: Storing the patch in the package patches directory and re-installing v0.3 let's it start now at least. But I cannot verify if every other feature works as intended because it's the first time I'm running this anyways.


[BUG] Bot is not working in my repo

Describe the bug
I followed the steps as mentioned in the doc but its not working
To Reproduce
Steps to reproduce the behavior:

Go to 'https://github.com/codewithnick/ascii-art'
Click on 'new issue'
Create new issue
Try to claim

Expected behavior
bot should assign issue
Screenshots

Ohh yeah I missed that, thanks for the update


Forcing AttackActivity.rollDamage to crit?

I'm not sure if this is just me failing to read documentation or a very minor oversight since activities were such a massive undertaking, but how do you programmatically force AttackActivity.rollDamage to crit?
I can see that rollConfig.rolls (which gets set up in the first line of the rollDamage method) is what houses the data for if a roll is a crit or not, but there doesn't seem to be a way to override that. (Maybe you could do it with hooks, but that doesn't help for macros.) Is there a way to do this that I'm missing?
If not, can such a thing get added? Something like this would do the trick:
const sword = myActor.items.getName("Longsword");
const activity = sword.system.activities.getByType("attack")[0];
await activity.rollDamage({isCritical: true});

Thanks!

Tried several variations myself and wasn't successful. I don't believe this is possible any longer.


MudDivider/MudDrawer/MudDropZone: Added XML Documentation for Public Members

Description
This update adds XML documentation for MudDivider, MudDrawer, MudDropZone and related types.
This update also fixes two typos in MudDropContainer.  They were fixed by adding correctly spelled methods and marking misspelled methods with (Obsolete) in the <summary> to avoid breaking changes.  ([ObsoleteAttribute] couldn't be used because it was treated as a build error.):

MudDropContainer.GetTransactionOrignZoneIdentiifer ->GetTransactionOrignZoneIdentifier
MudDropContainer.IsOrign -> IsOrigin

Finally, this update corrects a typo in DropZonePage.razor in which Mics was corrected to Miscellaneous.
How Has This Been Tested?
This was tested by observing documentation for the MudDivider and MudDropZone examples:
MudDivider

MudDrawer
NOTE: MudDrawer was previously documented, but some adjustments were made after documentation standards improved.

MudDropZone

Type of Changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[X] Documentation (fix or improvement to the website or code docs)

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.

Hi @danielchalmers @Anu6is @ScarletKuro @Anu6is , here's another round of docs changes.  I found two typos in two methods and fixed by adding two methods (to avoid a breaking change).  I think the methods are only used internally.   Two tests were added for these methods as well.  Also, a minor "Mics" typo was corrected at the bottom of the MudDropZone examples page.  Thanks as always for the review!

Great job!


Pcsc 1.9.8

Please review all commits except for the first one ("upstream 1.9.8" contains only verbatim upstream release).


libRNReactNativeDocViewer.a file is not found in iOS release build

Hi there,
When I build the app(release) with the library, I get the following error message:
No such file or directory: '/Users/xxx/Library/Developer/Xcode/DerivedData/buzzy_rn-cfwqzoriweeqllhfpnlhytuawnrm/Build/Products/Release-iphoneos/libRNReactNativeDocViewer.a'

I am sure I followed the manual setup steps and added libRNReactNativeDocViewer.a to my project's Link Binary With Libraries module.
Any ideas, please?

did you solved this problem??


clientv3: panic in session

While I was testing v3 capability stuff, the client panicked. I understand that we need to make rpc available before start testing. However, I do not expect the client to panic.
--- FAIL: TestDoubleBarrier (0.23s)
	v3_double_barrier_test.go:38: could not enter on barrier (etcdserver: not capable)
	v3_double_barrier_test.go:38: could not enter on barrier (etcdserver: not capable)
	v3_double_barrier_test.go:38: could not enter on barrier (etcdserver: not capable)
	v3_double_barrier_test.go:38: could not enter on barrier (etcdserver: not capable)
	v3_double_barrier_test.go:38: could not enter on barrier (etcdserver: not capable)
	v3_double_barrier_test.go:38: could not enter on barrier (etcdserver: not capable)
	v3_double_barrier_test.go:38: could not enter on barrier (etcdserver: not capable)
	v3_double_barrier_test.go:38: could not enter on barrier (etcdserver: not capable)
	v3_double_barrier_test.go:38: could not enter on barrier (etcdserver: not capable)
	v3_double_barrier_test.go:56: could not enter last barrier (etcdserver: not capable)
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x10 pc=0x7efac8]

goroutine 20453 [running]:
panic(0xedcf60, 0xc820014110)
	/usr/local/golang/1.6.1/go/src/runtime/panic.go:464 +0x3e6
testing.tRunner.func1(0xc8201962d0)
	/usr/local/golang/1.6.1/go/src/testing/testing.go:467 +0x192
panic(0xedcf60, 0xc820014110)
	/usr/local/golang/1.6.1/go/src/runtime/panic.go:426 +0x4e9
github.com/coreos/etcd/clientv3/concurrency.(*Session).Orphan(0x0)
	/home/runner/workspace/src/github.com/coreos/etcd/gopath/src/github.com/coreos/etcd/clientv3/concurrency/session.go:95 +0x18
github.com/coreos/etcd/integration.dropSessionLease(0xc8264c7ee0)
	/home/runner/workspace/src/github.com/coreos/etcd/gopath/src/github.com/coreos/etcd/integration/v3_double_barrier_test.go:144 +0x75
runtime.Goexit()
	/usr/local/golang/1.6.1/go/src/runtime/panic.go:323 +0xfb
testing.(*common).FailNow(0xc8201962d0)
	/usr/local/golang/1.6.1/go/src/testing/testing.go:346 +0x36
testing.(*common).Fatalf(0xc8201962d0, 0x1174b60, 0x21, 0xc831cdde40, 0x1, 0x1)
	/usr/local/golang/1.6.1/go/src/testing/testing.go:389 +0x83
github.com/coreos/etcd/integration.TestDoubleBarrier(0xc8201962d0)
	/home/runner/workspace/src/github.com/coreos/etcd/gopath/src/github.com/coreos/etcd/integration/v3_double_barrier_test.go:56 +0x422
testing.tRunner(0xc8201962d0, 0x1620418)
	/usr/local/golang/1.6.1/go/src/testing/testing.go:473 +0x98
created by testing.RunTests
	/usr/local/golang/1.6.1/go/src/testing/testing.go:582 +0x892
exit status 2

Double checked. It is actually a bad assumption we made in the test code that assuming the session can be created... So closing this issue and going to fix the test.