Gradio error on generation

Happens on both vid2vid and textvid after clicking 'Generate'.
  File "/content/sd/lib/python3.10/site-packages/gradio/routes.py", line 337, in run_predict
    output = await app.get_blocks().process_api(
  File "/content/sd/lib/python3.10/site-packages/gradio/blocks.py", line 1015, in process_api
    result = await self.call_function(
  File "/content/sd/lib/python3.10/site-packages/gradio/blocks.py", line 843, in call_function
    raise ValueError("Need to enable queue to use generators.")
ValueError: Need to enable queue to use generators.

Are you using Automatic1111/webui or any other webui fork? The error states that queue is not enabled, but ui of the extension does enable queue at it's ui code. I also would recommend trying to update webui to the latest version. Please tell me if it works for you.

I upgraded webui and now I can get vid2vid to work, in txt2vid it only generates 2 frames. I do get this error in both but it seems likely it's due to something in my setup.
Error running process: /content/stable-diffusion-webui/extensions/stable-diffusion-webui-two-shot/scripts/two_shot.py
Traceback (most recent call last):
  File "/content/stable-diffusion-webui/modules/scripts.py", line 417, in process
    script.process(p, *script_args)
  File "/content/stable-diffusion-webui/extensions/stable-diffusion-webui-two-shot/scripts/two_shot.py", line 557, in process
    enabled, raw_divisions, raw_positions, raw_weights, raw_end_at_step, alpha_blend, *cur_weight_sliders = args
ValueError: not enough values to unpack (expected at least 6, got 0)

Error running process_batch: /content/stable-diffusion-webui/extensions/sd-webui-additional-networks/scripts/additional_networks.py
Traceback (most recent call last):
  File "/content/stable-diffusion-webui/modules/scripts.py", line 435, in process_batch
    script.process_batch(p, *script_args, **kwargs)
  File "/content/stable-diffusion-webui/extensions/sd-webui-additional-networks/scripts/additional_networks.py", line 189, in process_batch
    if not args[0]:
IndexError: tuple index out of range

I can only find the completed video in the folders rather than in the UI, not sure if that's related to the errors. There are vids for the txt2vid part in the folders but they are 1s long and I dont see a way to request more frames in the UI to try if it works for a longer video.

@Tenoke Please, try also updating the ControlNet extension.

@volotat I just removed and reinstalled it (and confirmed it works) but I get the same error (and only 1 frame) on text2vid
Error running process: /content/stable-diffusion-webui/extensions/stable-diffusion-webui-two-shot/scripts/two_shot.py
Traceback (most recent call last):
  File "/content/stable-diffusion-webui/modules/scripts.py", line 417, in process
    script.process(p, *script_args)
  File "/content/stable-diffusion-webui/extensions/stable-diffusion-webui-two-shot/scripts/two_shot.py", line 557, in process
    enabled, raw_divisions, raw_positions, raw_weights, raw_end_at_step, alpha_blend, *cur_weight_sliders = args
ValueError: not enough values to unpack (expected at least 6, got 0)

Error running process_batch: /content/stable-diffusion-webui/extensions/sd-webui-additional-networks/scripts/additional_networks.py
Traceback (most recent call last):
  File "/content/stable-diffusion-webui/modules/scripts.py", line 435, in process_batch
    script.process_batch(p, *script_args, **kwargs)
  File "/content/stable-diffusion-webui/extensions/sd-webui-additional-networks/scripts/additional_networks.py", line 189, in process_batch
    if not args[0]:
IndexError: tuple index out of range

@Tenoke Please, try also updating the ControlNet extension.

I also have this "Need to enable queue to use generators" error. Just updated everything, still persists. Any other ideas on how to solve it?

@Tenoke Please, try also updating the ControlNet extension.

I also have this "Need to enable queue to use generators" error. Just updated everything, still persists. Any other ideas on how to solve it?

If you have everything upgraded also make sure you are starting webui with the --gradio-queue flag e.g.
python launch.py --listen --xformers --enable-insecure-extension-access --theme dark --gradio-queue --multiple

@Tenoke Please, try also updating the ControlNet extension.

I also have this "Need to enable queue to use generators" error. Just updated everything, still persists. Any other ideas on how to solve it?

If you have everything upgraded also make sure you are starting webui with the --gradio-queue flag e.g.
python launch.py --listen --xformers --enable-insecure-extension-access --theme dark --gradio-queue --multiple

Thank you, Tenoke!
Now I have this when I try to generate something:
ValueError: Query/Key/Value should all have the same dtype
query.dtype: torch.float32
key.dtype  : torch.float32
value.dtype: torch.float16

python launch.py --listen --xformers --enable-insecure-extension-access --theme dark --gradio-queue --multiple

Where do you exactly put these commands ?
Is it in the webui_user.bat or launch.py ?

python launch.py --listen --xformers --enable-insecure-extension-access --theme dark --gradio-queue --multiple

Where do you exactly put these commands ? Is it in the webui_user.bat or launch.py ?

I edited webui.bat, but I am not sure if it was the right way to do it

python launch.py --listen --xformers --enable-insecure-extension-access --theme dark --gradio-queue --multiple

Where do you exactly put these commands ? Is it in the webui_user.bat or launch.py ?

I don't know how you start it, I start it by running the command above direclty. As in those flags go after launch.py. If you have 'python launch.py' in that .bat then yeah just add it there.

Thanks, I will try it out.

I've the latest version of the webui, I wonder if, perhaps, the -medvram option is incompatible with this extension.
I tried as well the --gradio-queue command, I ended up with another error code, TypeError: Button.update() got an unexpected keyword argument 'interactive'

@Apatiste I don't use any additional commands. Neither the medvram or gradio-queue, just what comes out of the box from A1111 webui repository. Try removing those commands to see if this helps.

@Tenoke perhaps you have outdated A1111 webui. I had the same issue which is now gone after I've updated webui to the latest version

I've the latest version of the webui, I wonder if, perhaps, the -medvram option is incompatible with this extension.
I tried as well the --gradio-queue command, I ended up with another error code, TypeError: Button.update() got an unexpected keyword argument 'interactive'

I got exactly the same error as yours. The first one is: "ValueError: Need to enable queue to use generators.", after adding "--gradio-queue" it leads to " TypeError: Button.update() got an unexpected keyword argument 'interactive'". Everyone, please give a clear solution for this error.

Can be fixed by removing every single occurrence of 'interactive=False' within the gradio button references in the txt2vid.py script
gr.Button.update(interactive=False)   change to   gr.Button.update()
/extensions/SD-CN-Animation/scripts/core/txt2vid.py

I had --no-gradio-queue in webui.bat, removing this line, and or, replacing it with --gradio-queue fixed this problem.


decimal lose precision digits to postgres

Bug description
save Prisma.Decimal("100000000000000000000000") ,   result:<PHONE_NUMBER>999999
save Prisma.Decimal("1234522345323454234552345") , result:<PHONE_NUMBER>23454
result length has been cut to 16.
However, the inserting with raw sql works.
please check details in minimal reproduction repo.
postgres log:
LOG:  execute s3: INSERT INTO "public"."Price" ("id","price") VALUES ($1,$2), ($3,$4)
DETAIL:  parameters: $1 = '1', $2 = '9999999999999999', $3 = '2', $4 = '1234522345323454'  // <-- trimmed in generating sql
LOG:  statement: COMMIT
LOG:  execute s4: INSERT INTO "public"."Price" ("id", "price") VALUES (3,<PHONE_NUMBER>00000000000000), (4,<PHONE_NUMBER>323454234552345) // <-- raw sql works

the issue is similar to #5925.
How to reproduce
Reproduce with minimal repoduction repo, branch "prisma-decimals".
Run
yarn db:up
yarn
yarn prisma:generate
yarn migrate:deploy
yarn start

See the output.
Expected behavior
save Prisma.Decimal("100000000000000000000000") ,   result:<PHONE_NUMBER>00000000000000
save Prisma.Decimal("1234522345323454234552345") , result:<PHONE_NUMBER>323454234552345
Prisma information
datasource db {
  provider = "postgresql"
  url      = env("DATABASE_URL")
}

generator client {
  provider = "prisma-client-js"
}

model Price {
  id        Int     @id
  price     Decimal @db.Decimal(100, 0)
}

Environment & setup

OS: MacOS
Database: PostgreSQL 12.1
Node.js version: v14.17.0

Prisma Version
prisma               : 2.26.0
@prisma/client       : 2.26.0
Current platform     : darwin
Query Engine         : query-engine 9b816b3aa13cc270074f172f30d6eda8a8ce867d (at node_modules/@prisma/engines/query-engine-darwin)
Migration Engine     : migration-engine-cli 9b816b3aa13cc270074f172f30d6eda8a8ce867d (at node_modules/@prisma/engines/migration-engine-darwin)
Introspection Engine : introspection-core 9b816b3aa13cc270074f172f30d6eda8a8ce867d (at node_modules/@prisma/engines/introspection-engine-darwin)
Format Binary        : prisma-fmt 9b816b3aa13cc270074f172f30d6eda8a8ce867d (at node_modules/@prisma/engines/prisma-fmt-darwin)
Default Engines Hash : 9b816b3aa13cc270074f172f30d6eda8a8ce867d
Studio               : 0.408.0

Can also confirm I'm having this issue with MySQL, any updates on this?

Same issue for SQL Server. The value 97.85 turns into 97.8499999999999900.

Does anyone have some kind of a workaround for this?

@timpetri I included a workaround here https://github.com/prisma/prisma/issues/10412
I’ve stopped using prisma, there are too many issues like these that make it unsuitable for production IMO

I know I've sent a bunch of people to this issue, saying that it fixes precision issues, not already fixed by  #15157. But turns out #15157 actually fixes all precision issues, so this issue can be closed as well.


PCP-21: Titan GC doesn’t affect online write

Description
Currently Titan GC will write memtable, this may affect online write. How to reduce or eliminate this impact?
Difficulty

Hard

Score

27000

Mentor(s)

@yiwu-arbug, @Connor1996

Recommended Skills

Algorithm

I will work on this during the weekend. /cc @yiwu-arbug @Connor1996

@tabokie you may sign up the PCP first
https://github.com/tidb-perf-challenge/pcp/issues/new?assignees=&labels=&template=performance-challenge-program.md&title=PCP%2FSign+Up

@tabokie you may sign up the PCP first
https://github.com/tidb-perf-challenge/pcp/issues/new?assignees=&labels=&template=performance-challenge-program.md&title=PCP%2FSign+Up

@you06 done.


add domain irbbarcelona

@andrianovam First stage of verification passed, official domain is irbbarcelona.org as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@andrianovam Thank you for your request!
This organization is a research center, not a university. Its official website says that the research center helps students from other universities in their studies. It means that all students who study at the research center have also an affiliation with their home universities.
It looks like this center is more like an academic organization. Therefore, the best course of action is not to add its domain to this repository. Instead, please send an email to<EMAIL_ADDRESS>and ask for academic discount for the center employees that need JetBrains tools.
As for the students who have short-term assignments in the center, please apply for an appropriate licensing option (which may also be free) at https://www.jetbrains.com/community/education/#courses.
If there are some students and teachers in the research center who cannot get their free license with the options described above, they are always welcome to submit their free license request with an official document which proves that they are a student. You can do it using "OFFICIAL DOCUMENT" tab at https://www.jetbrains.com/shop/eform/students.
Thank you for your understanding!


Re-render only when changes happen to the engine instead of every 16ms

Currently we have a loop that re-renders the react app every 16ms, we need to refactor this into a hook (or a set of hooks) that allow us to re-render when a specific change happens (ie. only re-render tree if there's a change in a Transform's parent).

Closed by https://github.com/decentraland/js-sdk-toolchain/pull/473


go get on master branch got an error undefined

Hi I was trying to build this awesome hugo from source. I have cloned the repo. but when I try to go get on master branch I got this error :
# github.com/gohugoio/hugo/i18n
i18n/translationProvider.go:53:8: undefined: language.GetPluralSpec
i18n/translationProvider.go:61:19: undefined: language.GetPluralSpec
i18n/translationProvider.go:71:3: undefined: language.RegisterPluralSpec

it looks like the function GetPluralSpec is not exist on that i18n any idea ?

I think the issue is because the repository on github.com/nicksnyder/go-i18n is on the lastest commit.
So to fix this issue go to your github.com/nicksnyder/go-i18n in your gopath directory.
After that git pull origin master and go get again. This solved my problem


The next vertical grid frame change to horizontal text frame after applied with BreakTextThread

Problem:
The next vertical grid frame change to horizontal text frame after applied with BreakTextThread.
Method:

Launch ID, new a doc.
Draw 2 vertical grid frame and fill with some text.
Thread them, then apply with BreakTextThread.
Observe the next grid frame.

Result:
The next vertical grid frame change to horizontal text frame after applied with BreakTextThread.
Expected:
Only break text thread, vertical grid frame should remain.

Please see the screen recording for better understanding
break vertical grid frame.mp4.zip


cli: Stale idl when testing locally

It's been reported that the IDL can become stale when testing locally. This is displayed with the following error
Error processing Instruction 0: custom program error: 0x63
    Program 7zpt31RqqFSsUZekLsP47XxgXjtZsmQ9fgwyaT1RE6aA invoke [1]
    Program log: Fallback functions are not supported.

The quick solution is to just wipe target/idl so that a new idl is generated.
Instead, the anchor cli should ensure that a fresh idl is always generated when testing.

The user reports the problem was that anchor build was not being run (the user was just running anchor deploy directly). This is as expected. Closing.


is this keeping up to date with mainline?

This looks great thanks! As the stealth plugin is often needing to update to chase the latest fix, how will this wrapper keep up? How can I tell what version of the stealth plugin you based it on?

Last time i've checked, all plugins were up to date.
If update needed just create issue and i'll look into it asap.


ImageIO tests fail when CGImageGetDataProvider returns a +0 reference

GetDataProvider should return a +0 reference, but some part of our image implementation seems to require a +1 reference, so the data provider leaks for consumers expecting the proper +0 reference.

ImageIO you say?

Discussed offline, will be resolved with #1616


feat: add support for nixOS path

In NixOS the path is typically entirely stored in /run/current-system/sw/bin
This patch makes LXD consider this location and allows to execute commands
in NixOS containers more seamlessly (that is without needing an absolute path specified)

This pull request didn't trigger Jenkins as its author isn't in the whitelist.
An organization member must perform one of the following:

To have this branch tested by Jenkins, use the "ok to test" command.
To have a one time test done, use the "test this please" command.

Those commands are simple Github comments of the format: "jenkins: COMMAND"

jenkins: test this please

The change looks fine but I need to think about it a bit as the check in here is very expensive (FileExists) and I'd like to make it significantly cheaper in this case before we make any more use of it.

The change looks fine but I need to think about it a bit as the check in here is very expensive (FileExists) and I'd like to make it significantly cheaper in this case before we make any more use of it.

Can't we cash the info at daemon startup?

No, it's a per-container thing unfortunately (we're checking whether a path exists in the instance prior to Exec).

Checking it at first exec then storing it as bool in "volatile.has_snap_path", "volatile.has_nixos_path" and subsequently checking that. Would that be possible instead?
Also it seems a bit strange with FileExists being expensive. Is it really so slow? How slow are we talking about?

Each calls to FileExists will spawn a sub-process which then attaches to the container's mount namespace, checks the path and exits. We're talking milliseconds but every single exec calls causing 3 processes to be spawned (two to check and one to do stuff) isn't ideal.

I've submitted https://github.com/lxc/lxd/pull/9471 which does away with FileExists and adds this new path (as well as a small tweak to the file functions to speed things up some more).


Dynamic changes without rerendering

How to dynamically change the data without rerendering ?
like how we can change the preFillColor of specific item without rerendering it  ?

Without rerendering its not possible


Issues with lost executor handling

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
(This section helps Arrow developers understand the context and why for this feature, in addition to  the what)
While working on the cluster state refactor and observing some issues with handling of lost executors in our system, I think there are a couple of issues with the current approach:

In multi-scheduler deployments, an executor will register itself and send heartbeats with a particular scheduler.
Any scheduler can scheduler tasks on the executor
However, in the case of a SIGTERM the executor will call executor_stopped on the scheduler from 1.

This doesn't work particularly well with the curated task architecture since the scheduler from step 1 may not be the owner of the jobs which the executor is running when it gets the SIGTERM. At best this may cause the lost executor handling to not work correctly (or be delayed since the owning scheduler has to wait for a timeout). At worst it could corrupt the job state and cause unpredictable errors in the scheduler.
More broadly, resetting tasks immediately when an executor gets a SIGTERM is a bit limiting. The executor may have anywhere from 30s - 2 minutes (or maybe more) to cleanup and finish any existing work after receiving a SIGTERM and ideally we could take advantage of that to minimize disruptions.
Describe the solution you'd like
A clear and concise description of what you want to happen.
We have an existing mechanism to broadcast executor state to all schedulers using the executor heartbeat. These will also go to a particular scheduler but can be broadcast fairly easily through ClusterState. So I would propose the following:

Remove the executor_stopped rpc.
Instead of sending the executor_stopped rpc on SIGTERM the executor can just send a heartbeat where it's state changes from Active to Dead (or maybe something more descriptive like ShuttingDown).
When receiving that heartbeat the scheduler can put that executor in a "quarantine" state which means:
a. Stop scheduling new tasks on it
b. Wait for some (configurable) interval before resetting tasks

This can ensure that we handle job updates on the appropriate scheduler and that we can attempt to finish outstanding work before potentially re-computing tasks/stages.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
The executor could maybe track all schedulers for which it has active tasks and send an executor_stopped rpc to all of them but the rpc itself seems somewhat duplicative of the existing heartbeat mechanism
Additional context
Add any other context or screenshots about the feature request here.

I will take a look.

@yahoNanJing
I remember in the past we had some discussion with and come up a solution for this.

@yahoNanJing @mingmwang I prototyped something on our fork here https://github.com/coralogix/arrow-ballista/commit/9887f7757f33225769de52874ef10aa7fa6e4b57
The basic gist is:

Add a new executor status Fenced indicating executor is shutting down
When executor begins shutdown, immediately send a heartbeat with status Fenced
Schedulers should only consider executors with Active status as alive.
Executor still sends executor_stopped rpc immediately when it begin shutdown
But when the scheduler receives that rpc is waits a configurable amount of time (default 30s) before removing the executor

If this seems sensible I can work on upstreaming it.


WIP: v0.13.x: Add handle-kubernetes-version-jump

When upgrading (or rolling back) you can run into issues when the two versions of kubernetes are far apart from each other (I tried upgrading a cluster from v1.9.3 to v1.13.7).  The difficulty appears to be from having a new apiserver and object schema installed from install-kube-system whilst the kube-controller-manager and kube-scheduler are most likely active on one of the older nodes.
This change makes a controller look for others when starting up for any that it finds which are either a major release or more than 1 release away from its version it will send a special kube-aws-migration-disable-xyz configmap to ask the other controller to shutdown it's scheduler and controller-manager so that this node's versions can guarantee to be the active versions of these.
It works both ways - so if a new controller is significantly older than the existing nodes it will also ask them to shutdown.

Codecov Report

Merging #1666 into v0.13.x will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           v0.13.x    #1666   +/-   ##
========================================
  Coverage    25.46%   25.46%
========================================
  Files           98       98
  Lines         5054     5054
========================================
  Hits          1287     1287
  Misses        3624     3624
  Partials       143      143

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 acbaaf8...1638146. Read the comment docs.

Closing this will PR this functionality as a plugin which can be enabled if desired.


Git Bash opens in new window when using integrated terminal.

VSCode Version: 1.45
OS Version: Windows 10 Version - 1903

Steps to Reproduce:

Make integrated terminal as "C:\Users\Manav Raja\AppData\Local\Programs\Git\git-bash.exe"
2.Then open terminal

Does this issue occur when all extensions are disabled?: Yes

I tried a different file path & it worked perfectly.


Resolve eslint errors causing ci/circleci to fail on flag_settings.js

This was done by issuing xo --fix flag_settings.js
The changes were that changing from Windows linebreaks to Unix and various spacing issues, including using 2 space indenting instead of 4, some spaces after/before { and }, along with not using () to enclose a single argument for =>.

@ArtOfCode- This should be merged (also, am I allowed to merge PRs?)

@thesecretmaster of course, that's part of commit privs


Implement codeview sidepanel

Create a plugin to have a sidepanel codeview in some how-to guides.

Just want to clarify this issue @sacha-l  @NukeManDan. Is this an issue to create a layout that allows for a longer codeblock in the right hand column as on Stripe.com docs?
Also is it still actively needed?

Just want to clarify this issue @sacha-l @NukeManDan. Is this an issue to create a layout that allows for a longer codeblock in the right hand column as on Stripe.com docs?

Yes, the basic reference example of how Substrate developer hub efforts previously had something like this would be: https://www.shawntabrizi.com/substrate-collectables-workshop/#/1/storage-mapping - where users can toggle between the "potential solution", "diff" and "full solution", for example of how this can be useful.


AIX client install bad substitution

looks like there is an issue on line 172 when installing on AIX.
I've tried both AIX 6 and 7.
AIX 7
curl -L https://www.chef.io/chef/install.sh |bash
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
100 18265  100 18265    0     0  69840      0 --:--:-- --:--:-- --:--:-- 70250
bash: line 172: ${uname -v}.${uname -r}: bad substitution
Unable to determine platform version!
Version:
Please file a Bug Report at https://github.com/opscode/opscode-omnitruck/issues/new
Alternatively, feel free to open a Support Ticket at https://www.getchef.com/support/tickets
More Chef support resources can be found at https://www.getchef.com/support
Please include as many details about the problem as possible i.e., how to reproduce
the problem (if possible), type of the Operating System and its version, etc.,
and any other relevant details that might help us with troubleshooting.
oslevel -s
7100-03-03-1415
AIX 6
/www.chef.io/chef/install.sh |bash                  <
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
100 18265  100 18265    0     0  46749      0 --:--:-- --:--:-- --:--:-- 46953
bash: line 172: ${uname -v}.${uname -r}: bad substitution
Unable to determine platform version!
Version:
Please file a Bug Report at https://github.com/opscode/opscode-omnitruck/issues/new
Alternatively, feel free to open a Support Ticket at https://www.getchef.com/support/tickets
More Chef support resources can be found at https://www.getchef.com/support
Please include as many details about the problem as possible i.e., how to reproduce
the problem (if possible), type of the Operating System and its version, etc.,
and any other relevant details that might help us with troubleshooting.
oslevel -s
6100-09-03-1415

dup of #72


loop is not working

Check that this is really a bug

[X] I confirm

Reproduction link
https://z4q4dx.csb.app/
Bug description
when pass the parameter loop: true then left side arrow looping is working but right side arrow looping is not working in navigation links.
event right side touch is not working.
Expected Behavior
No response
Actual Behavior
No response
Swiper version
9.0.5
Platform/Target and Browser Versions
Chrome
Validations

[X] Follow our Code of Conduct
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
[X] Make sure this is a Swiper issue and not a framework-specific issue

Would you like to open a PR for this bug?

[X] I'm willing to open a PR

Amount of slides in loop mode in v9 must be >= slidesPerView * 2

Amount of slides

How does this problem need to resolve in responsive mode?
When e have in desktop 3 and for table 2, mobile 1, it would be difficult to clone/remove items

Amount of slides in loop mode in v9 must be >= slidesPerView * 2

How does it work with slidesPerView : auto ?


Same genome assembly, different RM versions: output comparison

Describe the bug
I noticed that using the newer version of rmblast 2.10.0+ and RepeatMasker4.1.1 returns less known TE families but more unknown TEs
To Reproduce
commands used with the previous version of RMblastn and RepeatMasker4.0.1 without the container:
/RepeatModeler.v2.0.1/BuildDatabase -name drosophila_XXX -engine ncbi ../../5_freeze_v0/monCan3F9.ctg.v0.fa
RepeatModeler -engine ncbi -pa 64 -database drosophila_XXX
queryRepeatDatabase.pl -species drosophila > drosophila.repeat.lib
cat consensi.fa.classified drosophila.repeat.lib > drosophila.monCan3F9.repeat.lib
/RepeatMasker-4.1.0/RepeatMasker -e ncbi -pa 64 -s -lib drosophila.monCan3F9.repeat.lib -dir repeatmasker_final -xsmall -html -gff ../../5_freeze_v0/monCan3F9.ctg.v0.fa

commands used with the newer singularity container version:
singularity exec --bind $PWD:$PWD ../RepeatModeler/tetools.sif BuildDatabase -name monCan3F9 monCan3F9.fa
singularity exec --bind $PWD:$PWD ../RepeatModeler/tetools.sif RepeatModeler  -database monCan3F9 -pa 40 -LTRStruct
singularity> famdb.py -i Libraries/RepeatMaskerLib.h5 families --format fasta_name --include-class-in-name --ancestors --descendants 7215 > dorosphila.rm.fa
singularity > famdb.py -i Libraries/RepeatMaskerLib.h5 families --format fasta_name --include-class-in-name --ancestors --descendants 32281 > drosophila.subgenus.rm.fa
 cat monCan3F9-families.fa drosophila.rm.fa drosophila.subgenus.rm.fa > drosophila.monCan3F9_newlib.fa
singularity exec --bind $PWD:$PWD ../RepeatModeler/tetools.sif RepeatMasker -lib drosophila.monCan3F9_newlib.fa  -dir repeatmasker_new  monCan3F9.fa -engine ncbi -pa 40 -nolow

Expected behavior
I expected to recover higher TEs than the older version since the total size of my new lib was even bigger in the newer version (8,23 MG) than the older one (7,12 MG) and the input file is the same. Instead the total number of masked bases and known TEs are lower and only unknown TEs are higher.
below is the comparison of output tables:

p.s. I have tried masking with several different combinations; running RM_4.1.1; with only 7215 library, and with the RM4.0.1 output library, running RM_4.0.1 with the new (4.1.1) library...  I could recover slightly more unclassified TEs but the known families are always less than old approach.
p.s.s I have added and merged the RepBase library to the RepeatMasker_4.1.1 inside the container, but it doesn't indicate it in the output table file, I don't know if it is normal?

This is most likely caused by these two issues:

Genome sampling (likely small impact)

RepeatModeler uses a randomized sampling approach, so two runs on the same genome even from the same version of RepeatModeler will produce different output depending on the size and abundance of different elements discovered in different orders between runs. It looks like you used -LTRStruct in one run, which will also affect this. The -srand parameter is available if you need to reproduce prior runs, using the "seed number" reported in the RepeatModeler log output.
Even so, the overall composition of the library should not be too different, especially since this genome is small enough to be completely analyzed over the course of all 6 rounds of RepeatModeler.

Increase in "Unclassified" sequences (likely large impact)

This is due to the following bug in RepeatMasker, which has a larger impact than I first realized in some genomes:

We recently identified a bug in RepeatMasker 4.1.1 which affects classifications from RepeatClassifier that are based on similarity to TEs. (Classifications based on homology with known protein sequences is unaffected). The bug can be rectified by running this command inside the RepeatMasker directory:
./famdb.py -i ./Libraries/RepeatMaskerLib.h5 families --descendants 1 --curated --format fasta_name --include-class-in-name > ./Libraries/RepeatMasker.lib
and then re-running RepeatClassifier on the consensus library (re-running all of RepeatModeler is not necessary).

Re-running RepeatClassifier configured for RepeatMasker 4.1.0 instead of RepeatMasker 4.1.1 should be roughly equivalent to fixing the error as well. This version of RepeatMasker was included in the dfam/tetools:1.1 version of the image.

p.s.s I have added and merged the RepBase library to the RepeatMasker_4.1.1 inside the container, but it doesn't indicate it in the output table file, I don't know if it is normal?

This looks like it is simply different/missing information being reported by the different versions of the tools, possibly a bug. Since you are using the -lib option instead of -species, the results should not be affected whether or not RepBase RepeatMasker Edition was installed. RepBase RepeatMasker Edition can, however, influence the classifications produced by RepeatClassifier which are based on similarity to already-known TEs.

the older version is run by a former colleague on another server, I only have her command lines to compare with mine, so I don't have the parameters to reproduce it.
is it normal that the RepeatMasker-4.1.0 library (Repeatmasker.lib) is larger in size than the RepeatMasker-4.1.1?

also I tried the debugging strategy, the result is almost the same (even a little less!) so I decided to pool the tetool:1.1 image and run from scratch, but when running RepeatModeler, I receive the error:
  RepeatModeler dependency missing or incorrectly set for TRF_PRGM!
  Rerun ./configure or check your command line to ensure that RepeatModeler
  has access to and the correct version of this dependency.

how should I fix this?

so is it normal that the RepeatMasker-4.1.0 library (Repeatmasker.lib) is larger in size than the RepeatMasker-4.1.1?

This is mostly due the bug in question - the smaller file size is due to the missing information that RepeatClassifier needed. It is normal for the size to fluctuate between versions for other reasons, though.
Although it seems strange that you have a RepeatModeler/Libraries directory at all. The Libraries directory should normally be in the RepeatMasker directory.

also I tried the debugging strategy, the result is almost the same (even a little less!)

Which debugging strategy do you mean? (My two suggestions were to fix the RepeatMasker.lib file in the newer version of RepeatMasker or to use the older version of RepeatMasker.) If you still have them, the exact commands you ran would be helpful in case there was something wrong or missing in my explanation or a typo in one of the commands.

so I decided to pool the tetool:1.1 image and run from scratch, but when running RepeatModeler, I receive the error:

That's my fault - I forgot that the 1.1 version of the container required TRF to be installed in the host, which makes it much more complicated to use. I can pull up older versions of the scripts and instructions, but one of these other approaches should be easier.

sorry for not being clear. your first suggestion was to rectify the bug in the newer version of RMasker using your command. so I did this:
singularity exec --bind $PWD:$PWD tetools.sif famdb.py -i ./Libraries/RepeatMaskerLib.h5 families --descendants 1 --curated --format fasta_name --include-class-in-name > ./Libraries/RepeatMasker.lib
regarding the directory name, I am told that the directories in the container are "read only" so I can't really modify them, right? so I have to create a directory in the host and bind it with the same directory inside the container, I named that directory "RepeatModeler" (in your example: /work) then using cp -r /opt/RepeatMasker/Libraries/ ./ command I pulled out the "Librraies" from "RepeatMasker" and put in my newly created "RepeatModeler" dir, I know it seems confusing now, but I didn't really think about the naming when I first did it. so all the changes (RepBase merging and later the debugging command) is done on this library. Am I correct? if I have done it right, then it didn't really work! due to the still noticeable size differences and having the same result.
then you suggested to re-run it using the "RMasker-4.1.0" which is included in the dfam/tetools:1.1 which I did and the result was an error. I have already installed RepeatMasker-4.1.0 and its dependencies, e.g. TRF, manually.
The reason why I wanted to try the container is that maybe the RepeatModeler and/or its searching engines (rmblast, Recon, RepeatScout) are of different versions and who knows, sometimes older versions do work better! for instance I really expected using -LTRStruct would recover more LTRs in the new output than the older one!!
so I would appreciate it if you could send me the instruction of how to make 1.1 work.

oh and I forgot to ask, If I use different blasting tools for RepeatMasker-4.1.0 : rmblast, hmmer and abbalst, is there any syntax for RepeatMasker to merge them all together and then remove the redundancies so that I could recover more TEs?

so I have to create a directory in the host and bind it with the same directory inside the container, I named that directory "RepeatModeler" (in your example: /work) then using cp -r /opt/RepeatMasker/Libraries/ ./ command I pulled out the "Librraies" from "RepeatMasker" and put in my newly created "RepeatModeler" dir, I know it seems confusing now, but I didn't really think about the naming when I first did it. so all the changes (RepBase merging and later the debugging command) is done on this library. Am I correct? if I have done it right, then it didn't really work! due to the still noticeable size differences

Sorry, I answered your question about file sizes as if you had checked it before running the command to generate a corrected file. Since you did, I think it's more likely that the size differences were unrelated (different versions, whether or not you merged RepBase and what version, number of blank spaces or line breaks that happened to be in the file, etc.). To easily tell whether or not the file is impacted by that bug in 4.1.1, you can check the first line of the file. It should read >something#class/subclass instead of simple >something.

and having the same result.

Based on what you said so far I am not sure you actually ran with the fixed library. To do this you would need to configure RepeatModeler to use an installation of RepeatMasker that was itself configured to use the alternative Libraries/ directory. This is why I mentioned it would probably be easier to use RepeatMasker 4.1.0 at least for the classification step, since the only difference between 4.1.0 and 4.1.1 that explains the large difference in your results is this bug I mentioned.

The reason why I wanted to try the container is that maybe the RepeatModeler and/or its searching engines (rmblast, Recon, RepeatScout) are of different versions and who knows, sometimes older versions do work better! for instance I really expected using -LTRStruct would recover more LTRs in the new output than the older one!!
so I would appreciate it if you could send me the instruction of how to make 1.1 work.

Sure. You can use this version of the script to get the necessary --trf_prgm option: https://raw.githubusercontent.com/Dfam-consortium/TETools/1.1/dfam-tetools.sh, and a command line along these lines:
dfam-tetools-1.1.sh --container dfam/tetools:1.1 --trf_prgm=/path/to/trf -- RepeatClassifier ...

oh and I forgot to ask, If I use different blasting tools for RepeatMasker-4.1.0 : rmblast, hmmer and abbalst, is there any syntax for RepeatMasker to merge them all together and then remove the redundancies so that I could recover more TEs?

@rmhubley should be able to answer this part much better than I can. HMMER will be harder to tackle since it works on profile hidden markov models, but RepBase and your custom library both contain only consensus sequences (used by RMBlast and AB-BLAST). We don't provide a script to merge them, and it's a difficult thing due to the sheer number of corner cases to consider when trying to merge output (e.g. whether to pick "longer" or "better" annotations, and how to handle differently overlapping or merged annotations)

There are a lot of steps and versions at play. Here is my understanding of what you are running and where the large differences in output might be coming from, from start to finish. Hopefully it makes a few things more clear:

Configure RepeatMasker (including installing RepBase RepeatMasker Edition if wanted) and RepeatModeler. This is where the bug in RepeatMasker 4.1.1 is, which affects step 3 later.
Run RepeatModeler to get a species-specific library. RepeatModeler 2 introduced the -LTRStruct option, which is one big difference. The version of LTR_retriever may matter a bit, but it doesn't explain most of your discrepancies. Every RepeatModeler run (unless you use -srand) will also yield a slightly different library.
RepeatModeler automatically runs RepeatClassifier, which can also be run separately. This step uses the RepeatMasker.lib file from whichever RepeatMasker directory that RepeatModeler is configured to use. The classifications will be better if you installed RepBase RepeatMasker Edition since it gets included in RepeatMasker.lib. This is the step where many of your elements are incorrectly labeled as "Unclassified", if step 1 was done with RepeatMasker 4.1.1.
Extract a library of ancestral repeats from the RepeatMasker libraries (with or without RepBase RepeatMasker Edition!) via queryRepeatDatabase.pl or famdb.py. The programs involved did change, but this step should produce equivalent files (the same sequences, with the same labels, but maybe in a different ordering).
Combine the ancestral library with the one produced in steps 2+3.
Run RepeatMasker with the -lib option and any search engine. The results of this step should not be affected by any of the problems we've discussed, and I would not expect changing the RepeatMasker version or search engine here to explain much more than a few percent difference.

Configure RepeatMasker (including installing RepBase RepeatMasker Edition if wanted) and RepeatModeler. This is where the bug in RepeatMasker 4.1.1 is, which affects step 3 later.
RepeatModeler automatically runs RepeatClassifier, which can also be run separately. This step uses the RepeatMasker.lib file from whichever RepeatMasker directory that RepeatModeler is configured to use. The classifications will be better if you installed RepBase RepeatMasker Edition since it gets included in RepeatMasker.lib. This is the step where many of your elements are incorrectly labeled as "Unclassified", if step 1 was done with RepeatMasker 4.1.1.

I know how to configure RepeatMasker to merge the RepBase library and then export LIBDIR PATH to that Library before running RepeatModeler, though I don't know if I should do anything else to configure the RepeatModeler?

I know how to configure RepeatMasker to merge the RepBase library and then export LIBDIR PATH to that Library before running RepeatModeler, though I don't know if I should do anything else to configure the RepeatModeler?

RepeatModeler does not recognize a LIBDIR parameter. You could point REPEATMASKER_DIR to an alternative RepeatMasker installation with customized contents in Libraries/, though.

Also, I am wondering what is the command for adding RepBase to the RepeatMasker library inside tetools-1.1? because it doesn't recongnize addRepBase.pl. should I pull out the library from the container, cp -r /opt/RepeatMasker/Libraries/ ./ and then try ./configure inside the shell?

RepeatMasker 4.1.0 did not have a script to do that step separately; it was all through configure. RM 4.1.0 does support -libdir/LIBDIR, so it should be possible to install RepBase RepeatMasker Edition to Libraries/ in a non-container installation and configure it, then run RepeatMasker in the container with that directory as a custom LIBDIR.

RepeatMasker 4.1.2 is released, fixing the problem with classifications in RepeatMasker 4.1.1 that probably caused most of these differences. This version of RepeatMasker is included in the latest release of the Dfam TE Tools container, 1.3! (CHANGELOG for version 1.3)
I think nearly all the questions in this thread have been answered, so I'm closing the issue. Please re-open this or a new issue if you have further problems or questions!


feat: add kwok module

KWOK (Kubernetes WithOut Kubelet) is used to test pods and Kubernetes operators. It would be great if we could have it as an option here so that we can more easily use it on our Kubernetes operators tests.

We've released a new version of testcontainers: 0.16.0 and modules .0.4.0 accordingly
Could you update tests to use new API? You can take a look at any module as an example
Sorry and thank you in advance

We've released a new version of testcontainers: 0.16.0 and modules .0.4.0 accordingly
Could you update tests to use new API? You can take a look at any module as an example
Sorry and thank you in advance

Hi, I rebased from main.

We've released a new version of testcontainers: 0.16.0 and modules .0.4.0 accordingly
Could you update tests to use new API? You can take a look at any module as an example
Sorry and thank you in advance

Hi, I pushed a rebase.

I'll push a fix for the test again, I still need to check what changed on the new version.

Thank you!


Update Material 3 CircularProgressIndicator for new visual style

Related Update both ProgressIndicator for Material 3 redesign
Fixes Issue: Cannot theme progress indicators, many properties missing
Fixes Cannot override default CircularProgressIndicator size
Code sample

expand to view the code sample
import 'package:flutter/material.dart';

void main() => runApp(const MyApp());

class MyApp extends StatefulWidget {
  const MyApp({super.key});

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      theme: ThemeData(
          // progressIndicatorTheme: const ProgressIndicatorThemeData(
          //   constraints: BoxConstraints.tightFor(width: 100, height: 100),
          //   strokeWidth: 12
          // ),
          ),
      home: Scaffold(
        appBar: AppBar(title: const Text('CircularProgressIndicator')),
        body: const Center(
          child: Row(
            mainAxisAlignment: MainAxisAlignment.spaceEvenly,
            children: [
              CircularProgressIndicator(year2023: false, value: 0.5),
              CircularProgressIndicator(year2023: false),
            ],
          ),
        ),
      ),
    );
  }
}

Preview

New custom CircularProgressIndicator.constraints and stroke  width

Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[ ] I followed the breaking change policy and added Data Driven Fixes where supported.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

Filed samples and migration guide PRs. To be landed once this PR lands.

@QuncCccccc Looks like this is failing some google testings. Meanwhile I'm preparing sample and migration guide PRs.

Checking!


watermark: add watermarkLink parameter

Add watermarkLink parameter to define URL to open when the watermark is clicked
ref:https://github.com/clappr/clappr/issues/794

Just a small thing to fix but this is great. :) thanks @me-vlad


Remove outdated & orphaned translations

What's changed, or what was fixed?

Removes outdated a2hs & web app manifest translations
Removes orphaned files
Updates fineOrphanedL10N.js script

Target Live Date: ASAP

[ ] This has been reviewed and approved by (NAME)
[X] I have run npm test locally and all tests pass.
[X] I have added the appropriate type-something label.
[X] I've staged the site and manually verified that my content displays correctly.

CC: @petele

Whoops!
There were 92 warnings that will prevent this PR from being merged. Please take a look, and either fix, or provide a justification for why they can't be fixed.
WARNINGS
src/content/es/fundamentals/app-install-banners/index.md - Unable to read file, was it deleted?
src/content/es/fundamentals/payments/android-pay.md - Unable to read file, was it deleted?
src/content/es/tools/chrome-devtools/console/command-line-reference.md - Unable to read file, was it deleted?
src/content/es/tools/chrome-devtools/console/console-reference.md - Unable to read file, was it deleted?
src/content/es/tools/chrome-devtools/manage-data/cookies.md - Unable to read file, was it deleted?
src/content/es/tools/chrome-devtools/manage-data/page-resources.md - Unable to read file, was it deleted?
src/content/es/tools/chrome-devtools/network-performance/index.md - Unable to read file, was it deleted?
src/content/es/tools/chrome-devtools/network-performance/network-conditions.md - Unable to read file, was it deleted?
src/content/es/tools/chrome-devtools/network-performance/reference.md - Unable to read file, was it deleted?
src/content/es/tools/chrome-devtools/network-performance/resource-loading.md - Unable to read file, was it deleted?
src/content/es/tools/chrome-devtools/network-performance/understanding-resource-timing.md - Unable to read file, was it deleted?
src/content/es/tools/chrome-devtools/security.md - Unable to read file, was it deleted?
src/content/es/tools/chrome-devtools/snippets.md - Unable to read file, was it deleted?
src/content/id/fundamentals/app-install-banners/index.md - Unable to read file, was it deleted?
src/content/id/fundamentals/payments/android-pay.md - Unable to read file, was it deleted?
src/content/id/tools/chrome-devtools/console/command-line-reference.md - Unable to read file, was it deleted?
src/content/id/tools/chrome-devtools/console/console-reference.md - Unable to read file, was it deleted?
src/content/id/tools/chrome-devtools/manage-data/cookies.md - Unable to read file, was it deleted?
src/content/id/tools/chrome-devtools/manage-data/page-resources.md - Unable to read file, was it deleted?
src/content/id/tools/chrome-devtools/network-performance/index.md - Unable to read file, was it deleted?
src/content/id/tools/chrome-devtools/network-performance/network-conditions.md - Unable to read file, was it deleted?
src/content/id/tools/chrome-devtools/network-performance/reference.md - Unable to read file, was it deleted?
src/content/id/tools/chrome-devtools/network-performance/resource-loading.md - Unable to read file, was it deleted?
src/content/id/tools/chrome-devtools/network-performance/understanding-resource-timing.md - Unable to read file, was it deleted?
src/content/id/tools/chrome-devtools/security.md - Unable to read file, was it deleted?
src/content/id/tools/chrome-devtools/snippets.md - Unable to read file, was it deleted?
src/content/it/fundamentals/payments/android-pay.md - Unable to read file, was it deleted?
src/content/ja/fundamentals/app-install-banners/index.md - Unable to read file, was it deleted?
src/content/ja/fundamentals/payments/android-pay.md - Unable to read file, was it deleted?
src/content/ja/fundamentals/web-app-manifest/index.md - Unable to read file, was it deleted?
src/content/ja/tools/chrome-devtools/console/command-line-reference.md - Unable to read file, was it deleted?
src/content/ja/tools/chrome-devtools/console/console-reference.md - Unable to read file, was it deleted?
src/content/ja/tools/chrome-devtools/manage-data/cookies.md - Unable to read file, was it deleted?
src/content/ja/tools/chrome-devtools/manage-data/page-resources.md - Unable to read file, was it deleted?
src/content/ja/tools/chrome-devtools/network-performance/index.md - Unable to read file, was it deleted?
src/content/ja/tools/chrome-devtools/network-performance/network-conditions.md - Unable to read file, was it deleted?
src/content/ja/tools/chrome-devtools/network-performance/reference.md - Unable to read file, was it deleted?
src/content/ja/tools/chrome-devtools/network-performance/resource-loading.md - Unable to read file, was it deleted?
src/content/ja/tools/chrome-devtools/network-performance/understanding-resource-timing.md - Unable to read file, was it deleted?
src/content/ja/tools/chrome-devtools/security.md - Unable to read file, was it deleted?
src/content/ja/tools/chrome-devtools/snippets.md - Unable to read file, was it deleted?
src/content/ko/fundamentals/app-install-banners/index.md - Unable to read file, was it deleted?
src/content/ko/fundamentals/payments/android-pay.md - Unable to read file, was it deleted?
src/content/ko/fundamentals/web-app-manifest/index.md - Unable to read file, was it deleted?
src/content/ko/tools/chrome-devtools/console/command-line-reference.md - Unable to read file, was it deleted?
src/content/ko/tools/chrome-devtools/console/console-reference.md - Unable to read file, was it deleted?
src/content/ko/tools/chrome-devtools/manage-data/cookies.md - Unable to read file, was it deleted?
src/content/ko/tools/chrome-devtools/manage-data/page-resources.md - Unable to read file, was it deleted?
src/content/ko/tools/chrome-devtools/network-performance/index.md - Unable to read file, was it deleted?
src/content/ko/tools/chrome-devtools/network-performance/network-conditions.md - Unable to read file, was it deleted?
src/content/ko/tools/chrome-devtools/network-performance/reference.md - Unable to read file, was it deleted?
src/content/ko/tools/chrome-devtools/network-performance/resource-loading.md - Unable to read file, was it deleted?
src/content/ko/tools/chrome-devtools/network-performance/understanding-resource-timing.md - Unable to read file, was it deleted?
src/content/ko/tools/chrome-devtools/security.md - Unable to read file, was it deleted?
src/content/ko/tools/chrome-devtools/snippets.md - Unable to read file, was it deleted?
src/content/pt-br/fundamentals/app-install-banners/index.md - Unable to read file, was it deleted?
src/content/pt-br/fundamentals/payments/android-pay.md - Unable to read file, was it deleted?
src/content/pt-br/fundamentals/web-app-manifest/index.md - Unable to read file, was it deleted?
src/content/pt-br/tools/chrome-devtools/console/command-line-reference.md - Unable to read file, was it deleted?
src/content/pt-br/tools/chrome-devtools/console/console-reference.md - Unable to read file, was it deleted?
src/content/pt-br/tools/chrome-devtools/manage-data/cookies.md - Unable to read file, was it deleted?
src/content/pt-br/tools/chrome-devtools/manage-data/page-resources.md - Unable to read file, was it deleted?
src/content/pt-br/tools/chrome-devtools/network-performance/index.md - Unable to read file, was it deleted?
src/content/pt-br/tools/chrome-devtools/network-performance/network-conditions.md - Unable to read file, was it deleted?
src/content/pt-br/tools/chrome-devtools/network-performance/reference.md - Unable to read file, was it deleted?
src/content/pt-br/tools/chrome-devtools/network-performance/resource-loading.md - Unable to read file, was it deleted?
src/content/pt-br/tools/chrome-devtools/network-performance/understanding-resource-timing.md - Unable to read file, was it deleted?
src/content/pt-br/tools/chrome-devtools/security.md - Unable to read file, was it deleted?
src/content/pt-br/tools/chrome-devtools/snippets.md - Unable to read file, was it deleted?
src/content/zh-cn/fundamentals/app-install-banners/index.md - Unable to read file, was it deleted?
src/content/zh-cn/fundamentals/payments/android-pay.md - Unable to read file, was it deleted?
src/content/zh-cn/fundamentals/web-app-manifest/index.md - Unable to read file, was it deleted?
src/content/zh-cn/tools/chrome-devtools/console/command-line-reference.md - Unable to read file, was it deleted?
src/content/zh-cn/tools/chrome-devtools/console/console-reference.md - Unable to read file, was it deleted?
src/content/zh-cn/tools/chrome-devtools/manage-data/cookies.md - Unable to read file, was it deleted?
src/content/zh-cn/tools/chrome-devtools/manage-data/page-resources.md - Unable to read file, was it deleted?
src/content/zh-cn/tools/chrome-devtools/network-performance/index.md - Unable to read file, was it deleted?
src/content/zh-cn/tools/chrome-devtools/network-performance/network-conditions.md - Unable to read file, was it deleted?
src/content/zh-cn/tools/chrome-devtools/network-performance/reference.md - Unable to read file, was it deleted?
src/content/zh-cn/tools/chrome-devtools/network-performance/resource-loading.md - Unable to read file, was it deleted?
src/content/zh-cn/tools/chrome-devtools/network-performance/understanding-resource-timing.md - Unable to read file, was it deleted?
src/content/zh-cn/tools/chrome-devtools/security.md - Unable to read file, was it deleted?
src/content/zh-cn/tools/chrome-devtools/snippets.md - Unable to read file, was it deleted?
src/content/zh-tw/tools/chrome-devtools/console/command-line-reference.md - Unable to read file, was it deleted?
src/content/zh-tw/tools/chrome-devtools/console/console-reference.md - Unable to read file, was it deleted?
src/content/zh-tw/tools/chrome-devtools/manage-data/cookies.md - Unable to read file, was it deleted?
src/content/zh-tw/tools/chrome-devtools/manage-data/page-resources.md - Unable to read file, was it deleted?
src/content/zh-tw/tools/chrome-devtools/network-performance/network-conditions.md - Unable to read file, was it deleted?
src/content/zh-tw/tools/chrome-devtools/network-performance/resource-loading.md - Unable to read file, was it deleted?
src/content/zh-tw/tools/chrome-devtools/network-performance/understanding-resource-timing.md - Unable to read file, was it deleted?
src/content/zh-tw/tools/chrome-devtools/security.md - Unable to read file, was it deleted?
src/content/zh-tw/tools/chrome-devtools/snippets.md - Unable to read file, was it deleted?


Broken links in "Contributing to Pegasys Documentation"

There are a number of broken links in the contribution guidelines:

Under the section "Contribution workflow", section 6 contains a link to "MkDocs And Markdown Guide".
The link is https://github.com/PegaSysEng/doc.common/wiki/MKDOCS-MARKDOWN-GUIDE.md#preview-the-documentation which does not exist.
Note that the link in the sidebar is correct ("MkDocs And Custom Markdown Guide")

Under the section "Style guides", there is a broken link to "documentation guidelines and examples".
The link is https://github.com/PegaSysEng/doc.common/wiki/DOC-STYLE-GUIDE.md which does not exist.
Note that the link in the sidebar is correct ("Pegasys Documentation Style Guide")

Thanks for raising @SatpalSandhu61

Links are fixed and I also took some time to make a deeper update of the pages.

updated links
updated chat to Discord
updated email links
updated other broken links (they were broken because we copied the content from a file to the wiki a bit quickly and never updated them, sorry)

Now the page is https://github.com/PegaSysEng/doc.common/wiki/Contributing-to-Documentation (removed Pegasys from the title as we are slowly deprecating the brand)


Swift Compiler Warning

Another thing to investigate when the time comes!
"Umbrella header for module 'Snap' does not include header 'Snap-Swift.h'

I think this may be an issue by the umbrella header auto generated by a cocoapod install

I've had this issue with other cocoapods.  Adding it as a submodule works perfect.

@ryanmaxwell is this related to Swift 1.2?

@robertjpayne Yesterday involved me both updating from cocoapods 0.36 beta 1 to beta 2, as well as updating to swift 1.2 and xcode 6.3 beta. So it's one of those! But my hunch is it's a cocoapods fault, as the umbrella header they talk about is generated by cocoapods. Maybe there is an extra flag that needs to be activated for swift-objc compatibility headers?

@ryanmaxwell I'm running 0.36 beta 2 without issues but I'll double check right now!

@ryanmaxwell no issues here, hrm I'm going to bank on Xcode 6.3 beta.

I haven't seen this neither and I'm using Xcode 6.3 beta. Have you tried to remove derivateddata an clean the project?.


EVALSYS-1122 - Manual reminders don't have template variables expanded.

Patch adapted from Matthew Bucket's one to work in trunk.

LGTM


Bug: /players is out of date

"foskiES" (eu) changed the in game name.
Querying /players with the name returns 404.
Querying /matches with the name returns a match with the player "foskiES" and the player ID eebc1ede-5f84-11e5-a5e5-068789513eb5.
Querying /players with the id returns a player with the name "iamfreelo".

Hey @schneefux Curl's please :)

I use httpie, is that okay too? 😄
no result (/players by name): http 'https://api.dc01.gamelockerapp.com/shards/eu/players' "Accept":"application/json" "X-Title-Id":"semc-vainglory" "Authorization":"…" "filter[playerNames]"=="foskiES"
results (/matches by name): http 'https://api.dc01.gamelockerapp.com/shards/eu/matches' "Accept":"application/json" "X-Title-Id":"semc-vainglory" "Authorization":"…" "filter[playerNames]"=="foskiES" "filter[createdAt-start]"=="2017-01-01T00:00:00Z"
results (/players by id from the past query): http 'https://api.dc01.gamelockerapp.com/shards/eu/players' "Accept":"application/json" "X-Title-Id":"semc-vainglory" "Authorization":"…" "filter[playerIds]"=="eebc1ede-5f84-11e5-a5e5-068789513eb5"
…I think this is somwhat related to #145 too. The IGN changed from foskiES to iamfreelo (apparently) and the player name is from the time the match was played.
This is expected behaviour, not a bug. It appears I misunderstood the person that reported the bug, the name change probably was foskiES -> iamfreelo and not the other way round.


ModuleNotFoundError on saq start

Hello! Thank you for nice framework!
I'm trying to use it, but getting an exception on attempt to start worker:
$ saq app.worker.settings
Traceback (most recent call last):
  File "********/saq-test/.venv/bin/saq", line 8, in <module>
    sys.exit(main())
  File "********/saq-test/.venv/lib/python3.10/site-packages/saq/__main__.py", line
 73, in main
    start(
  File "********/saq-test/.venv/lib/python3.10/site-packages/saq/worker.py", line 2
83, in start
    settings = import_settings(settings)
  File "********/saq-test/.venv/lib/python3.10/site-packages/saq/worker.py", line 2
78, in import_settings
    module = importlib.import_module(module_path)
  File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 992, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1004, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'app'

Project structure:
 ├── app
 │  ├── __init__.py
 │  └── worker.py
 ├── poetry.lock
 └── pyproject.toml

worker.py contents:
from typing import Any, Dict

from saq import Queue

async def startup(_: Dict[str, Any]) -> None:
    print("Hello from startup job!")

settings = {
    "queue": Queue.from_url("redis://localhost"),
    "functions": [],
    "concurrency": 8,
    "startup": startup,
}

If I try to use importlib from interpreter, everything is OK:
>>> import importlib
>>> importlib.import_module("app.worker")
<module 'app.worker' from '********/saq-test/app/worker.py'>
>>> _.settings
{'queue': <saq.queue.Queue object at 0x7f81fcd52740>, 'functions': [], 'concurrency': 8, 'startup': <function startup at 0x7f81fcd681f0>}
>>>

I've found, that current directory not in sys.path and used PYTHONPATH to this fix the problem:
$ PYTHONPATH="$PYTHONPATH:$PWD" saq app.worker.settings
Hello from startup job!

Could you help me to figure out, is this a bug or my fault?

I experienced the same thing. When I run the "sample" project it has no issues. But, when I try to implement it into my project it has a problem. So, to run the worker I need to make my own script, it can be seen here https://github.com/getpay-id/getpay-api/blob/main/runworker.py.
@tobymao I've made a PR for this https://github.com/tobymao/saq/pull/27

Your app module needs to be discoverable by the import system.
Two common ways to do this are:

Add the project directory to the PYTHONPATH, like you've done. (I believe the python interpreter might do this by default? Which would explain why that worked)
Install your package itself. What does your pyproject.toml file look like? Did you run poetry install?

Thank you all for help!
I've figured out that my package is not valid. I forgot about it, because I don't use this package as a library. So I've added packages to pypoject.toml and the problem was gone.
[tool.poetry]
name = "test-bot"
version = "0.1.0"
description = "TODO"
packages = [{ include = "app" }]
authors = []

Maybe the Readme example should be changed to python -m saq examples.simple.settings ?
Running as python module (-m) automatically adds the current directory to sys.path.

sure, wanna make a pr?


Add shimmering to LoadingMediaDisplay placeholder

WHAT
WHY
HOW
Checklist :clipboard:

[ ] Add explicit visibility modifier and explicit return types for public declarations
[ ] Run spotless check
[ ] Run tests
[ ] Update metalava's signature text files

@laiyichin any issue with the screenshots?

Yeah screenshots for LoadingMediaDisplayTest are failing. I am looking into if it's due to the shimmering I added or if it's something else.


Convert stress test loader to use Spark

Currently, it is using MapReduce.  The code would be simpler if it was using Spark.

Closing this issue.  It's not really critical for the stress test loader to use Spark.  However, it would be nice if Spark was supported by Fluo so created #403


Add support for 'meta'

Very nice!  Question on this.. I wonder if we should support creating objects with meta too?  We support creating objects with relationships.

@genexp I believe this PR accomplishes that, but can you please clarify if you're looking for something different?  This PR allows meta to be added at the resource object-level and relationship level.  Then, in the same vein as the recent PR for Links, we can add meta at the top level by doing something like:
payload, _ := jsonapi.MarshalMany(blogPosts)

payload.Meta = &jsonapi.Meta{
	"details": "extra information here",
}

json.NewEncoder(w).Encode(payload)

Hey Samantha - I guess I was asking about UnmarshalMany, and receiving metadata.  After re-reading the spec, I'm actually not sure if this is possible or not.  I can see it being useful (we let games submit data to us, and having the ability to add metadata about how it was received would be handy), but I don't think we should deviate in any way from spec.

Hi @aren55555 - I saw the @googlebot's message above, but I believe I am the author for all the commits in this branch.  Can you please help advise if there is any action needed, or where the other author is so I can contact them if necessary?  Also, are you able to advise on what the feature/meta branch is, and whether that will be merged into master?

@sbelkin88 the @googlebot is because I resolved the conflict. The mixed branch authors cause that  message; in this case it can be ignored.
As for the feature/meta there are a couple changes that need to be made including:

Making the Links objects implement the interface
Adding examples to the example app and fixtures

I've already started on both of those and will mention this PR when I open a PR to merge feature/meta to master. I was not able to commit directly to your branch (when you submit a PR there is an option to allow us to contribute back to your source branch that was not checked) so I had to go with this option.

See https://github.com/google/jsonapi/pull/81 for the subsequent changes I made.


Updated .NET SDK from latest swagger for RecoveryServices.Backup

Description

Upgraded version to 2.0.0-preview
Removed redundant files
Added tests and record files for List Operations API
Updated ResourceManager to 1.6.0-preview

Swagger spec PR: https://github.com/Azure/azure-rest-api-specs/pull/1267

This checklist is used to make sure that common guidelines for a pull request are followed.

[x] I have read the contribution guidelines.
[ ] The pull request does not introduce breaking changes.

General Guidelines

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[x] Pull request includes test coverage for the included changes.

SDK Generation Guidelines

[x] If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
[x] The generate.cmd file for the SDK has been updated with the version of AutoRest, as well as the commitid of your swagger spec or link to the swagger spec, used to generate the code.
[x] The *.csproj and AssemblyInfo.cs files have been updated with the new version of the SDK.

@shahabhijeet Currently project is referring Microsoft.Azure.ResourceManager 1.1.0-preview which is read from AzSdk.test.reference.props. On nuget this package is unavailable and name of package is Microsoft.Azure.Management.ResourceManager. Should I still refer to new package? I can't remove old 1.1.0 as it will require modification of AzSdk.test.reference.props and that will change references in all test projects.

@DheerendraRathor you add the new package in your test project and not in reference.props file.
Version 1.1.0 and 1.6.0 can co-exists.
The idea is to make sure you are creating and using the latest resource manager package and using it in your tests.

@shahabhijeet Can you please look into it? It has been pending for a while now.


The bottom panel disappeared while viewing the image

Bug description
See screenshot

The plus sign isn't clickable
PS Sometimes such an error pops up.
[21:31:29.712][Warning] [Qt][default] QIODevice::read (QNetworkReplyHttpImpl): device not open
Steps to reproduce
Open any source, open any image - profit
Expected behavior
It should display a panel with the ability to save, etc.
Context
Grabber appdata folder
Grabber.zip
System information

OS: Windows 11
Grabber version: 7.12.1

Same issue on Linux (Flatpak) since 7.12.1,click Tools > Options > ok the bottons will reappear

Closing as duplicate of issue #3071, let's keep the discussion there 👍


Deploying Azure SQL DACPAC succeed but truly failed

I have the following report from VS Release Management:

When I go see the logs, I have the following:
2016-08-23T17:44:33.2521753Z ##[command]Import-Module -Name C:\Program Files (x86)\Microsoft SDKs\Azure\PowerShell\ServiceManagement\Azure\Azure.psd1 -Global
2016-08-23T17:44:34.2951803Z ##[command]Set-AzureSubscription -SubscriptionName Microsoft Azure Enterprise -SubscriptionId d8fabf37-7a70-4e1d-8677-292627ff0556 -Certificate ******** -Environment AzureCloud
2016-08-23T17:44:34.7021831Z ##[command]Select-AzureSubscription -SubscriptionId d8fabf37-7a70-4e1d-8677-292627ff0556
2016-08-23T17:44:34.8111846Z DacpacFilePath= Find-VstsFiles LegacyPattern C:\a\e1e41692b\xxxxxxxxxxxx\DB\xxxxxxx.DB.dacpac
2016-08-23T17:44:35.1011859Z packageFile= C:\a\e1e41692b\xxxxxxxxxx\DB\xxxxxx.DB.dacpac
2016-08-23T17:44:36.5644721Z ##[debug][Azure RDFE Call] Creating firewall rule 09e753b3-5585-45db-b123-23e2f548e3fe
2016-08-23T17:44:38.5047565Z ##[debug][Azure RDFE Call] Firewall rule 09e753b3-5585-45db-b123-23e2f548e3fe created
2016-08-23T17:44:39.5060271Z Publishing to database '<DATABASE>' on server 'xxxxxxxxxxxxxxx.database.windows.net'.
2016-08-23T17:44:40.5720086Z Initializing deployment (Start)
2016-08-23T17:44:56.8253318Z *** The column [dbo].[Role].[IsMembershipRole] on table [dbo].[Role] must be added, but the column has no default value and does not allow NULL values. If the table contains data, the ALTER script will not work. To avoid this issue you must either: add a default value to the column, mark it as allowing NULL values, or enable the generation of smart-defaults as a deployment option.
2016-08-23T17:44:57.3903355Z Initializing deployment (Complete)
2016-08-23T17:44:57.4133346Z Analyzing deployment plan (Start)
2016-08-23T17:44:57.5003360Z Analyzing deployment plan (Complete)
2016-08-23T17:44:57.5053362Z Updating database (Start)
2016-08-23T17:45:00.4424194Z An error occurred while the batch was being executed.
2016-08-23T17:45:00.4544174Z Updating database (Failed)
2016-08-23T17:45:00.4694169Z *** Could not deploy package.
2016-08-23T17:45:00.4704160Z Warning SQL72015: The column [dbo].[Role].[IsMembershipRole] on table [dbo].[Role] must be added, but the column has no default value and does not allow NULL values. If the table contains data, the ALTER script will not work. To avoid this issue you must either: add a default value to the column, mark it as allowing NULL values, or enable the generation of smart-defaults as a deployment option.
2016-08-23T17:45:00.4704160Z Error SQL72014: .Net SqlClient Data Provider: Msg 50000, Level 16, State 127, Line 6 Rows were detected. The schema update is terminating because data loss might occur.
2016-08-23T17:45:00.4714165Z Error SQL72045: Script execution error.  The executed script:
2016-08-23T17:45:00.4714165Z IF EXISTS (SELECT TOP 1 1
2016-08-23T17:45:00.4724164Z            FROM   [dbo].[Role])
2016-08-23T17:45:00.4724164Z     RAISERROR (N'Rows were detected. The schema update is terminating because data loss might occur.', 16, 127)
2016-08-23T17:45:00.4734171Z         WITH NOWAIT;
2016-08-23T17:45:00.4934174Z ##[debug][Azure RDFE Call] Deleting firewall rule 09e753b3-5585-45db-b123-23e2f548e3fe on azure database server: xxxxxxxxxxxxxxxxxxxxx
2016-08-23T17:45:02.0672536Z ##[debug][Azure RDFE Call] Firewall rule 09e753b3-5585-45db-b123-23e2f548e3fe deleted on azure database server: xxxxxxxxxxxxxxxxxxxxxx

The update of the database definitely failed with an error. However, it seem that RM flagged it as successful. So that build was deployed and, with the missing column, was non-fonctionnal.
Is it a problem on our side or RM side?

I have the same issue. The task was reported as succeeded but actually the deployment failed.
2016-08-29T06:45:09.7670439Z ##[debug][Azure RDFE Call] Creating firewall rule 19fe232f-f79b-486c-b8e5-b03dba966504
2016-08-29T06:45:10.9633968Z ##[debug][Azure RDFE Call] Firewall rule 19fe232f-f79b-486c-b8e5-b03dba966504 created
2016-08-29T06:45:11.3704214Z Publishing to database '********' on server '********'.
2016-08-29T06:45:11.8093976Z Initializing deployment (Start)
2016-08-29T06:45:22.1583185Z Initializing deployment (Complete)
2016-08-29T06:45:22.1583185Z Analyzing deployment plan (Start)
2016-08-29T06:45:22.2063189Z Analyzing deployment plan (Complete)
2016-08-29T06:45:22.2063189Z Updating database (Start)
2016-08-29T06:45:24.1337956Z An error occurred while the batch was being executed.
2016-08-29T06:45:24.1397968Z Updating database (Failed)
2016-08-29T06:45:24.1517959Z *** Could not deploy package.
2016-08-29T06:45:24.1517959Z Error SQL72014: .Net SqlClient Data Provider: Msg 33270, Level 16, State 1, Line 2 Cannot find the object "rls.********" or this object is not an inline table-valued function.
2016-08-29T06:45:24.1517959Z Error SQL72045: Script execution error.   Task should now fail. Fix will be available post next Deployment. Please update this thread once you have verified.

@rohit-batra Thanks! Any documentation on when deployments are occurring?

Hello @MaximRouiller  The fix will be deployed in all Scale Units in next couple of weeks

Closing it based on @rohit-batra response.

Everything seems good on our end so far. Will reopen (or open a new issue) if the issue happens again.

@rohit-batra I had the issue again. Has it been deployed yet?

Hi Maxime,
I will check and let you know by EOD tomorrow.
In meantime , please let me know what agent are you using , private or hosted and your Account name .
In case its private agent and you have access to it, please share the logs in the _work folder on the agent.
Also please retry after deleting SqlAzureDacpacDeployment folder from the tasks folder inside _work and share the version of the SqlAzureDacpacDeployment task being used. (Look for the folder name inside SqlAzureDacpacDeployment)
Sent from Ninehttp://www.9folders.com/

From: Maxime Rouiller<EMAIL_ADDRESS>Sent: Sep 13, 2016 12:30 AM
To: Microsoft/vsts-tasks
Cc: Rohit Batra; Mention
Subject: Re: [Microsoft/vsts-tasks] Deploying Azure SQL DACPAC succeed but truly failed (#2322)
@rohit-batrahttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Frohit-batra&data=02|01|rbatra%40064d.mgd.microsoft.com|a823a0228c154a0046c708d3db3f1d8a|72f988bf86f141af91ab2d7cd011db47|1|0|636093036526776618&sdata=0nCyWyQu7%2FG18RctC2celtw79BsbAsBN0OFfq7Vq5CU%3D I had the issue again. Has it been deployed yet?

You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoft%2Fvsts-tasks%2Fissues%2F2322%23issuecomment-246454708&data=02|01|rbatra%40064d.mgd.microsoft.com|a823a0228c154a0046c708d3db3f1d8a|72f988bf86f141af91ab2d7cd011db47|1|0|636093036526776618&sdata=AvPTwj%2BT03f2I8LxUWmdrNmsu%2F05JpczOPPEjPG2bvQ%3D, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAUGWQipa1kNc4sZ7di3RZu7T7bfnUhDdks5qpaFUgaJpZM4JrRuS&data=02|01|rbatra%40064d.mgd.microsoft.com|a823a0228c154a0046c708d3db3f1d8a|72f988bf86f141af91ab2d7cd011db47|1|0|636093036526776618&sdata=aOozV0wN4kMwHfI66GQmwoVq8VbKjdxovc6HUSSfBSo%3D.

Hello @MaximRouiller ,
I just verified that one of our Rings are waiting deployment. This should be done in couple of hours (By EOD Today, sans any un-foreseen issues) Once that is done , the fix should be available to you.
In meantime if you can verify what version of SqlAzureDacpacDeployment task is being used by you, that would help. (In case its Private Agent, please login to that and look for subfolder inside SqlAzureDacpacDeployment folder from the tasks folder inside */_work. In case you don't have access to the agent , please look at the UI of the Sql Dacpac Task. If you see "Deployment Package" section & "Task" dropdown inside it, its 1.0.26 else its earlier version).
I am guessing its 1.0.25 in which case post deployment new version will kick in along with the change, if its not and version is 1.0.26, then we would need to do some cleanup as mentioned in above comment , post deployment, to make sure the new files with fixes are used instead.
Please let us know if it fixes, or you face any issues post that.

We're using the hosted agents. Showing Deployment Package right now. So... I'll be waiting. 😄

Hi Maxime,
I verified a few minutes back. Deployment is done. Please retry the task and now it should not pass when actually failing.
In case you see the issue of silent passing again, please download logs from the log console and send them across along with the account name for RCA.
Sent from Ninehttp://www.9folders.com/

From: Maxime Rouiller<EMAIL_ADDRESS>Sent: Sep 13, 2016 18:56
To: Microsoft/vsts-tasks
Cc: Rohit Batra; Mention
Subject: Re: [Microsoft/vsts-tasks] Deploying Azure SQL DACPAC succeed but truly failed (#2322)
We're using the hosted agents. Showing Deployment Package right now. So... I'll be waiting. ?

You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoft%2Fvsts-tasks%2Fissues%2F2322%23issuecomment-246676096&data=02|01|rbatra%40064d.mgd.microsoft.com|b78f94d097304e83848208d3dbd78c4f|72f988bf86f141af91ab2d7cd011db47|1|0|636093691245738770&sdata=KqbzcnQpNf1jOS4839HJ6byZ205192bEv%2FcHqMNJiVw%3D, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAUGWQrqAjcNDVYU9bZRc4fZYO0PNJFNeks5qpqEfgaJpZM4JrRuS&data=02|01|rbatra%40064d.mgd.microsoft.com|b78f94d097304e83848208d3dbd78c4f|72f988bf86f141af91ab2d7cd011db47|1|0|636093691245738770&sdata=PKbk5TvVUmQ9mElB2DvqtwA5623gNUDzWRJjjhE78O4%3D.

Thanks @MaximRouiller
In case issue persists please send across details requested above at RM_Customer_Queries (at) microsoft (dot) com


Fix skipWaiting not working

R: @jeffposnick @philipwalton
Fixes #2692
Description of what's changed/fixed.
Fixes issue where skipWaiting doesn't work as expected when using registerRoute.

(As per https://github.com/GoogleChrome/workbox/issues/2692, I don't believe this PR is needed.)


Add under construction banner

fixes https://github.com/ethereum/utp/issues/48
Emila asked me to make a PR for this. The warning is based off reth's warning, but with a minimal clear description.
Arguments for it are given in the issue linked above and during the call on 5/22/2023. If a library isn't stable it is good practice to give a warning regardless since you never know who will try to use it.

I don't have perms to request reviews so I will ping @emhane since she asked for this and has perms


Cannot install on Jessie

Installing latest version from forge does not work now that jessie has released. I see in repo.pp there is a workaround to map "sid" to wheezy but now that jessie has been released the os version is being reported as 8.0 and I get this error:
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: This is an unsupported operating system (Debian 8.0) at /etc/puppet/modules/zabbix/manifests/repo.pp:70

Tried working around the issue but installing the wheezy package on jessie trips up on requiring libsnmp15 which is not available in jessie (its replaced with libsnmp30) so I guess I will just have to wait for the zabbix repos to catch up :-)


Allow for public (read-only) access in organization

This issue is a continuation of the thread from reddit:

I mean adding a package to an organisation, and guests being able to browse and download those packages.

We could do an option in your organization's settings that would allow open access for added packages.

I am not sure if this would fit in this issue but i can see 3 different access levels to access the organizations.

Authenticated admin ( add, remove packages, add users .... )
Authenticated users ( can only access packages )
Anonymous  users (No authentification required to access the organizations package in read-only)

For the Anonymous access, it could probably be a checkbox Allow Anonymous users in the admin settings

These levels of access are already partially implemented by members of the organization. Only the option with anonymous access to the organization remains. I think we will do it in the next release (right after security scanner).

Released in https://github.com/repman-io/repman/releases/tag/0.4.0


Implement Import Display Message

Previously user was unable to easily determine whether all the data has been imported properly. Unimported data were previously only cataloged in the logger.
Now, will be able to see a display message within the application window for ease of use

Codecov Report

Merging #46 (d037021) into master (33d6143) will decrease coverage by 6.55%.
The diff coverage is 20.86%.

@@             Coverage Diff              @@
##             master      #46      +/-   ##
============================================
- Coverage     71.07%   64.51%   -6.56%
  Complexity      387      387
============================================
  Files            70       75       +5
  Lines          1203     1316     +113
  Branches        119      128       +9
============================================
- Hits            855      849       -6
- Misses          316      431     +115
- Partials         32       36       +4

Impacted Files
Coverage Δ

.../main/java/seedu/address/commons/util/CsvUtil.java
0.00% <0.00%> (ø)

...a/seedu/address/logic/parser/AddCommandParser.java
91.66% <ø> (-8.34%)
:arrow_down:

.../seedu/address/logic/parser/EditCommandParser.java
73.91% <ø> (-18.40%)
:arrow_down:

.../java/seedu/address/model/util/SampleDataUtil.java
0.00% <ø> (-33.34%)
:arrow_down:

...n/java/seedu/address/storage/CsvAdaptedPerson.java
0.00% <0.00%> (ø)

src/main/java/seedu/address/ui/MainWindow.java
0.00% <0.00%> (ø)

src/main/java/seedu/address/ui/PersonCard.java
0.00% <0.00%> (ø)

...rc/main/java/seedu/address/logic/LogicManager.java
59.25% <14.28%> (-15.75%)
:arrow_down:

...du/address/storage/CsvAddressBookImportExport.java
21.21% <21.21%> (ø)

...c/main/java/seedu/address/model/person/IsDone.java
54.54% <54.54%> (ø)

... and 17 more

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 fd85009...d037021. Read the comment docs.


Command tests

Please review and merge.

Looking good :+1:
Sorry, I am still sick.

No worries. I think this was safe since it's mostly tests. However I have observed some changed behavior during editing, as I switched to use doc.transaction() instead of surface.transaction(). That way I got rid of the surface dependency for ToggleAnnotation commands. But we will check that together when you are back.
I'm doing a documentation iteration now (literal docs) introducing each class and covering only most important public API methods.


#UI/Groupchat mode : messages from creator and critic not visible

When in groupchatmode i.e,
from autogen_group_chat import AutogenChat
replaces
from autogen_chat import AutogenChat
in main.py
messages from creator and critiq not visible in UI

The way it is implemented only messages to user_proxy shows in UI. If you want tho show the other agents messages in the UI you need to create a queue and pass to then, just follow the same pattern as the user_proxy does

tusen tak i  shall try


[RFC] Add static Object.typeOf(_) (and deprecate Object.type ?)

Hi,
While working on the mirror module, I had to implement an equivalent of static Object.typeOf(_). Since Object.type is user over-loadable, it is not safe. Usually these guarantees are required when working with foreign functions.
Since most code does not need strong type guaranties, Object.is(_) is used instead. Because of that, deprecating Object.type should not have a wide impact. In addition is was meant to be overloaded to
I know at least 2 usage for Object.type to be over loadable:

Reuse the name type and rely on the fact that you don't do meta programming (wrenalyzer did that, to simulate enum).
Augment the class to augment the class data (done in a private experiment).
Both of them are crude hack, and can make the user code fragile.

Forbidding the overloading of type is also a solution, but would require a lot of compiler support when generalized (tagging a method final can be interesting but introduce extra inheritance checks, and storage to track final methods)
I suggest that next version at miminum add static Object.typeOf(_). Deprecation of Object.type would be done at next or a future release, while its removal would be due before 1.0.0.

I don't know about anyone else but I use Object.type quite a lot for checking arguments are of the correct built-in type where, of course, inheritance is not a concern and the method is perfectly safe.
As I'm allergic to using a lot of parentheses, I prefer to write:
if (arg.type != Num) Fiber.abort("Argument must be a number.")

rather than:
if (!(arg is Num)) Fiber.abort("Argument must be a number.")

I also occasionally use it in string form where I want to refer to a type in a different module without importing that module.
if (arg.type.toString == "BigInt") { // do something }

I don't know why it was made an instance method in the first place unless it was to allow type 'spoofing' which I think is the second usage you alluded to. That's not something I recall ever doing myself but who knows what other folks get up to!
So, whilst I have no problem with the introduction of a static Object.typeOf method, I'd personally prefer the instance Object.type method to remain and not be deprecated. The situation would then be analogous to the static Object.same method being an alternative to the overloadable == operator.
BTW, if static methods were to become inheritable and presumably therefore overloadable, then this solution wouldn't work anyway unless there was some way to make a static method final.

About your initial concern, it should be factorized to a utility function method in the first place. In the future, you may wan't to return an hypothetical TypeError or whatever. And it also become an opportunity to use !(arg is type) once and forget about it.
If static methods are inheritable, it won't change much, unless one wrongly use arg.type.typeOf(foo) instead of Object.typeOf(foo). Anyway, that error is easily fixable. In the other hand type "spoofing" is not. The VM is not fooled, but from the language there are no solution to get the true type without Object.typeOf(_) (or similar solution, like keyword of what ever).

Well, I'll wait and see whether this change is accepted and what other breaking changes there are in the next version before changing any existing code.
My main concern is the 1600+ Rosetta Code tasks as the code for those is publicly available. I'm not really bothered about my private stuff as I'm forever fiddling about with that!
In the meantime, although I dislike it, I'll try and stick with !(arg is Num) for new stuff. If there were an isnot operator then my objection would disappear as we could then write arg isnot Num without the need for parentheses. I may do a PR to add this as is is the only boolean operator we have which doesn't have a convenient negative form.
Regarding the possibility that static methods might become inheritable and hence overrideable (which, like youself, I now hope doesn't happen) then, on the face of it, people would still be able to do stuff like this:
class MyClass {
    static typeOf(arg) {
        if (arg is this) return Num
        return super(arg)
    }

    construct new() {}
}

var mc = MyClass.new()
System.print(MyClass.typeOf(mc))  // Num

Incidentally and pedantically, I think we've both been guilty in this issue in talking about 'overloading'  when we really mean 'overriding' inherited methods :)

This is the reason I said you should abstract the behavior in a function,
like in the assert library. Duplicating even a one liner is a bad idea...
Don't give me more work for operators in veery :) when I'll publish it,
check if I did not forget to add it. It will probably be is not.
Your concern is not founded, since one as to call explicitly
Object.typeOf(arg). Unless someone, use type.typeOf(arg) the concern is
minimal. (Another task for veery type_of keyword)

This is the reason I said you should abstract the behavior in a function,

As it happens, I already have this in the form of my check module which can validate arguments of all kinds not just for type but for range as well. Curiously, I've used the !(arg is type) syntax throughout in this module so I must have had a premonition that this issue was coming :)
However,  I introduced this late in the day and have used it mainly for inter-module checking. I haven't used it directly very much as  I didn't want to ask people to import a 350 line module just to run a short script.  But anyway that's my problem.
OK, I'll refrain from doing a PR for isnot if it's something you already have in hand for veery :)

I don't have right now, but it is a simple node transform. So it is only a
matter adding the tokens, matching them into a node and performing the
transform in the wren translator.

OT @PureFox48 out of curiosity do you have command line argument parser ? I have one that is not really OO and quite a lot manual (though I can factorize it to be OO)

No, it's not something I've bothered to write.
There's one here though it's probably too simple for your needs.

Too simple but confirms that what I do is right, it is only a matter of making it more OO then ;)


Add code quality builds

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@7f80695). Click here to learn what that means.
The diff coverage is n/a.

@@          Coverage Diff           @@
##             master   #18   +/-   ##
======================================
  Coverage          ?    0%
======================================
  Files             ?     1
  Lines             ?    34
  Branches          ?     4
======================================
  Hits              ?     0
  Misses            ?    34
  Partials          ?     0

Impacted Files
Coverage Δ

src/tox_venv/hooks.py
0% <ø> (ø)

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 7f80695...ab1cb60. Read the comment docs.


tflite_simple_example  VerifyVector too few arguments to function call

System information

iOS 12.1 :
iPhone7Plus
TensorFlowLite 1.10.1(pod install):
1.10.1:

Describe the problem
Pod install in the lite/examples/ios/simple . Pod automatically installed tensorflow lite 1.10.1.  error occurred, say "tensorflow/lite/kernels/register.h" file not found. After I add paths to those header files, I encounter issue "verifier.VerifyVector(min()) too few arguments to function call, expeced 3, have 1".
Any guys have any clue ? Thanks in advance

What’s the function definition? You could also try namespace to ensure you are calling the right function.

What’s the function definition? You could also try namespace to ensure you are calling the right function.

Hi jefhai, It's the "simple" example in folder lite/examples/ios/. I didn't add any my code except the path for  non-founded header files. Then I run the example and error occurred.  I found the declaration of Verifier:VerifyVector has 3 parameters in flatbuffers.h of tensorflow_lite.frame(v1.10.1) as follows:
// Common code between vectors and strings.
bool VerifyVector(const uint8_t *vec, size_t elem_size,
const uint8_t **end) const {
// Check we can read the size field.
if (!Verify<uoffset_t>(vec)) return false;
// Check the whole array. If this is a string, the byte past the array
// must be 0.
auto size = ReadScalar<uoffset_t>(vec);
auto max_elems = FLATBUFFERS_MAX_BUFFER_SIZE / elem_size;
if (!Check(size < max_elems))
return false;  // Protect against byte_size overflowing.
auto byte_size = sizeof(size) + elem_size * size;
*end = vec + byte_size;
return Verify(vec, byte_size);
}
But the caller in schema_generated.h pass only one param:
const flatbuffers::Vector<int64_t> *zero_point() const {
return GetPointer<const flatbuffers::Vector<int64_t> *>(VT_ZERO_POINT);
}
bool Verify(flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyOffset(verifier, VT_MIN) &&
verifier.VerifyVector(min()) &&
VerifyOffset(verifier, VT_MAX) &&
verifier.VerifyVector(max()) &&
VerifyOffset(verifier, VT_SCALE) &&
verifier.VerifyVector(scale()) &&
VerifyOffset(verifier, VT_ZERO_POINT) &&
verifier.VerifyVector(zero_point()) &&
verifier.EndTable();
}

@miaout17 , do you have any ideas?

The newest example is using TensorFlowLite 1.12.0 pod and I don't see this happening.
Please reopen if you can still reproduce it. Thanks!