feat: tekton for teams

implements #1298
Note: This PR requires extensive testing, including long run on QA cluster and team lifecycle.

After installing, the first otomi-tasks-teams pipelineruns fail:
2023-12-10T12:57:18.226Z otomi:global:error Error: err: no releases found that matches specified selector() and environment(default), in any helmfile
    at hfCore (/home/app/stack/dist/src/common/hf.js:44:30)
    exit code: 3
    at ChildProcess.<anonymous> (/home/app/stack/node_modules/zx/dist/bundle.cjs:15261:22)
    at ChildProcess.emit (node:events:513:28)
    at maybeClose (node:internal/child_process:1100:16)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5)

After creating the first team, the otomi-tasks-teams pipelineruns succeed.

After I created the first team, Prometheus, Grafana and Alertmanager are installed while these apps are not enabled:
alertmanager-prometheus-test-kube-prome-alertmanager-0   3/3     Running    0          22m
hello-5fb5bd544c-52rc9                                   2/2     Running    0          6m46s
hello-5fb5bd544c-fnsw2                                   2/2     Running    0          6m46s
prometheus-prometheus-test-kube-prome-prometheus-0       3/3     Running    0          22m
prometheus-test-grafana-7f676f6dff-xjw7q                 4/4     Running    0          22m
prometheus-test-kube-prome-admission-patch-77dhh         1/2     NotReady   1          22m
prometheus-test-kube-prome-operator-55b58c7554-rflsg     2/2     Running    0          22m
prometheus-test-kube-state-metrics-5f5bcc8cd7-gg788      2/2     Running    0          22m
prometheus-test-prometheus-node-exporter-kxfhk           1/1     Running    0          22m
prometheus-test-prometheus-node-exporter-wkrtc           1/1     Running    0          22m
tekton-dashboard-59584c96b9-llzdn                        2/2     Running    0          22m

It looks like the team charts (`prometheus-{{ $teamId }}) are not used (see 60.teams)

After installing, the first otomi-tasks-teams pipelineruns fail:
2023-12-10T12:57:18.226Z otomi:global:error Error: err: no releases found that matches specified selector() and environment(default), in any helmfile
    at hfCore (/home/app/stack/dist/src/common/hf.js:44:30)
    exit code: 3
    at ChildProcess.<anonymous> (/home/app/stack/node_modules/zx/dist/bundle.cjs:15261:22)
    at ChildProcess.emit (node:events:513:28)
    at maybeClose (node:internal/child_process:1100:16)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5)

After creating the first team, the otomi-tasks-teams pipelineruns succeed.
Thanks a lot. I did not take into account that use case.

After I created the first team, Prometheus, Grafana and Alertmanager are installed while these apps are not enabled:
alertmanager-prometheus-test-kube-prome-alertmanager-0   3/3     Running    0          22m
hello-5fb5bd544c-52rc9                                   2/2     Running    0          6m46s
hello-5fb5bd544c-fnsw2                                   2/2     Running    0          6m46s
prometheus-prometheus-test-kube-prome-prometheus-0       3/3     Running    0          22m
prometheus-test-grafana-7f676f6dff-xjw7q                 4/4     Running    0          22m
prometheus-test-kube-prome-admission-patch-77dhh         1/2     NotReady   1          22m
prometheus-test-kube-prome-operator-55b58c7554-rflsg     2/2     Running    0          22m
prometheus-test-kube-state-metrics-5f5bcc8cd7-gg788      2/2     Running    0          22m
prometheus-test-prometheus-node-exporter-kxfhk           1/1     Running    0          22m
prometheus-test-prometheus-node-exporter-wkrtc           1/1     Running    0          22m
tekton-dashboard-59584c96b9-llzdn                        2/2     Running    0          22m

It looks like the team charts (`prometheus-{{ $teamId }}) are not used (see 60.teams)

Thanks a lot. I did not take into account that use case.

After I created the first team, Prometheus, Grafana and Alertmanager are installed while these apps are not enabled:
alertmanager-prometheus-test-kube-prome-alertmanager-0   3/3     Running    0          22m
hello-5fb5bd544c-52rc9                                   2/2     Running    0          6m46s
hello-5fb5bd544c-fnsw2                                   2/2     Running    0          6m46s
prometheus-prometheus-test-kube-prome-prometheus-0       3/3     Running    0          22m
prometheus-test-grafana-7f676f6dff-xjw7q                 4/4     Running    0          22m
prometheus-test-kube-prome-admission-patch-77dhh         1/2     NotReady   1          22m
prometheus-test-kube-prome-operator-55b58c7554-rflsg     2/2     Running    0          22m
prometheus-test-kube-state-metrics-5f5bcc8cd7-gg788      2/2     Running    0          22m
prometheus-test-prometheus-node-exporter-kxfhk           1/1     Running    0          22m
prometheus-test-prometheus-node-exporter-wkrtc           1/1     Running    0          22m
tekton-dashboard-59584c96b9-llzdn                        2/2     Running    0          22m

It looks like the team charts (`prometheus-{{ $teamId }}) are not used (see 60.teams)

Thanks a lot. I did not take into account that use case.

Fixed

I propose to add logic so otomi-task will only run when changes are made in values except in /teams folder. Note that the URL of a (new) team service is added to the REDIRECT_URIS of job-keycloak. But I do not think this is required because the option to add OICD (authentication) in front of a team service is not available (anymore) for users

note that the URL of a (new) team service is added to the REDIRECT_URIS of job-keycloak.
Known issue: #685

I propose to add logic so otomi-task will only run when are made in values except in /teams folder.

It is not feasible right now, because the apply command is not aware of files that has been changed.
I would rather lean towards operators to solve this and many other issue with jobs.

There is an issue with Builds feature.
Since ArgoCD adds labels to PipelineRunTemplate the trigger will inherit the labels.
ArgoCD will recognise this as unwanted resource and kill it.

There is an issue with Builds feature.
Since ArgoCD adds labels to PipelineRunTemplate the trigger will inherit the labels.
ArgoCD will recognise this as unwanted resource and kill it.

The issues has been solved by setting the resourceTrackingMethod parameter


deps: Bump serve-static to latest, 1.16.2

Taking this upgrade because we learned from dependabot that it fixes a security issue:
https://github.com/zulip/zulip-mobile/pull/5887
The issue is in a dev-only indirect dependency, and even our development tools probably don't trigger it.  But I can't rule out that they might.
The yarn.lock diff from dependabot is a bit messy, though, so here's me doing the same upgrade directly.

Because this is an indirect dependency, yarn upgrade serve-static just does nothing.  (Seems like a bug / misfeature in Yarn.)
And I don't want to do a general yarn upgrade in this legacy codebase right now -- that would balloon into a larger task.
So, here's a fun technique to make the upgrade in a surgical way:
  $ perl -i -0pe 's{^serve-static@.*?\n\K.*?^$}
                   {  version "1.16.2"\n}sm
                 ' yarn.lock
  $ yarn

That deletes the "version", "resolved", and other fields in the lockfile's resolution of the serve-static package, replacing them with just a "version" line pointing at the desired version.
Then rerunning yarn (aka yarn install) starts from that version when filling back in the rest of the details.

The CI failure is only in suite native; it's #5888.

Rebased atop #5891, which should fix that failure #5888.

Thanks for dealing with this! LGTM, merging.


'import-requirements' is broken

his example command will demonstrate the problem:
python3 main.py import-requirements --requirements-path exports/redisgears-requirement-v1-pandas-linux-buster-x64.zip --host localhost --port 6399
This last lines of the output:
File "/Users/mikeclapper/.pyenv/versions/3.7.5/lib/python3.7/zipfile.py", line 1225, in init
self._RealGetContents()
File "/Users/mikeclapper/.pyenv/versions/3.7.5/lib/python3.7/zipfile.py", line 1292, in _RealGetContents
raise BadZipFile("File is not a zip file")
zipfile.BadZipFile: File is not a zip file
The problem appears to be in the routine 'import_requirements' - line 254 - 'import_single_req()' is called using a buffer rather than a file name.
253 io_buffer = io.BytesIO(req_data)
245 import_single_req(r, io_buffer, bulk_size_in_bytes)

I can confirm this bug:
export requirements works:
gears-cli export-requirements --host <IP_ADDRESS> --port 30001 --all --save-directory exports

import from the same folder doesn't:
gears-cli import-requirements --host <IP_ADDRESS> --port 30001 --requirements-path ./exports/redisgears-requirement-v1-langdetect==1.0.8-.zip

I am sorry for the late late late response, the --requirements-path should be a zip file or directory in which we will search for requirements (a zip file contains the requirement), it is also described in the help message:
--requirements-path TEXT  Path of requirements directory containing
                            requirements zip files, could also be a zip file
                            contains more requirements zip files

So if you put all the exported requirements in one zip file and do:
python3 main.py import-requirements --requirements-path my_requirements.zip --host localhost --port 6399 --all

It will import all the requirements at my_requirements.zip

Tried above, but broken for me on export now:
gears-cli export-requirements --host <IP_ADDRESS> --port 30001 --all --save-directory exports
Saving exported requirement into<EMAIL_ADDRESS>Traceback (most recent call last):
  File "/home/alex/miniconda3/envs/pattern_env/bin/gears-cli", line 8, in <module>
    sys.exit(main())
  File "/home/alex/miniconda3/envs/pattern_env/lib/python3.8/site-packages/gears_cli/__main__.py", line 295, in main
    gears_cli()
  File "/home/alex/miniconda3/envs/pattern_env/lib/python3.8/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/home/alex/miniconda3/envs/pattern_env/lib/python3.8/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/home/alex/miniconda3/envs/pattern_env/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/alex/miniconda3/envs/pattern_env/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/alex/miniconda3/envs/pattern_env/lib/python3.8/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/home/alex/miniconda3/envs/pattern_env/lib/python3.8/site-packages/gears_cli/__main__.py", line 200, in export_requirements
    export_single_req(r, md['Name'], save_directory, output_prefix)
  File "/home/alex/miniconda3/envs/pattern_env/lib/python3.8/site-packages/gears_cli/__main__.py", line 176, in export_single_req
    with zipfile.ZipFile(filePath, "a", zipfile.ZIP_DEFLATED, False) as zf:
  File "/home/alex/miniconda3/envs/pattern_env/lib/python3.8/zipfile.py", line 1251, in __init__
    self.fp = io.open(file, filemode)
FileNotFoundError: [Errno 2] No such file or directory<EMAIL_ADDRESS>
Offending requirement:
cat requirements_gears_aho.txt
httpimport
joblib
git+https://github.com/WojciechMula/pyahocorasick@master#egg=pyahocorasick

Export seems doesn't like #egg=pyahocorasick

amm thanks @AlexMikhalev will check this out and report ASAP.


Avoid temporary failures verifying the first non-finalized block

Motivation
Waiting for the last finalized block is currently handled by can_fork_chain_at(), which returns early if the tip hash doesn't match any blocks.
https://github.com/ZcashFoundation/zebra/blob/093d503d22894fee57249387f25eb86a5bc8b985/zebra-state/src/service.rs#L378-L381
But it has a bug: if the first non-finalized block arrives before the last finalized block, it will time out and fail verification, because the fork point is only checked once per block. But it will verify correctly when it gets retried.
Originally posted by @teor2345 in https://github.com/ZcashFoundation/zebra/issues/4937#issuecomment-1241352383

This isn't actually fixed, we need a fix in PR #5257.

We decided not to do this in this sprint, because it's not a release blocker.
It's still a bug we might want to fix in future, but only if it causes problems.

I know why this is happening now, I've updated the ticket description.
Still not a release blocker.

This is good enough for now.


[fix] issue #2338

I fixed #2338 issue.

@chrisbra
Could I merged this patch?

Sure

Am 18.07.2021 um 19:12 schrieb IK @.***>:

@chrisbra
Could I merged this patch?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

@chrisbra
I got it.
Thanks.


is it possible to compile libmdbx for visual studio 2008

is it possible to compile libmdbx for visual studio 2008, 32 bit, although the target vs2008 is available from cmake it won't compile

Hypothetically it is possible, but you have to solve all the problems yourself and provide testing.
I have no plans to support older versions of MSC compilers, even a little older than ones are currently stated.

has anyone tried say to compile lmdbx for embedded systems say not visual studio windows or linux, I was thinking perhaps to dump the preprocessor defines prior to compilation ?

has anyone tried say to compile lmdbx for embedded systems say not visual studio windows or linux, I was thinking perhaps to dump the preprocessor defines prior to compilation ?

For now libmdbx support a set of OS: Linux (include Android), *BSD (FreeBSD, OpenBSD, DragonFly, NetBSD), OSX/iOS, Solaris, Windows. To support any other platform not full compatible a one of supprted a set of changes should be made.
If the the new target OS is highly compatible with one of supported then a small set of trivial changes is required, for instance modify some ifdefs, etc.
On the other hand, if the new target OS is unique (i.e. incompatible with any of supported), then this can be a difficult challenge requiring knowledge both libmdbx internals and the target OS properties/API.

another question : is it possible to open a write transaction from thread 1, while another thread 2 is holding a write transaction opened for multiple mdbx_put (from thread 2), they seem to deadlock on me_windowsbug_lock critical section ?
could it be possible to open multiple write transactions ?
I have to write from only a single thread single writer thread though ?

Definitely no, please read the readme and documentation.
However, there's no deadlock but transaction serialization.


Fixed #3323 - Added support for reloading and gracefully restarting

services.
Adds new parameters to the service types and methods to the base,
init and redhat providers.  You can now specify:

hasreload - specifies the init script has a reload option
hasgraceful - specifices the init script has a graceful option

You can also manually specify the reload and graceful parameters
to indicate specify commands in the init scrip that provide these
capabilities in much the same way you can now with the restart
parameter.

Other than the commit message needing to be amended to follow the guidelines in CONTRIBUTING.md, I've got a couple of comments/concerns about this.
While it does add commands for handling 'reload', and 'graceful', I don't see how they would actually be used.  My understanding of the ticket is that it should be possible to use the new 'reload', and 'graceful' commands for handling notifications from other resources, but I don't see any changes to actually allow this.  What am I missing?
The tests also concern me, since they don't seem to cover any of the new functionality that this is supposed to provide, and only test the new methods existence (which is redundant when testing the functionality the methods provide).

I'll amend the commit message.

Are you familiar with the way methods are used in the init provider?  It's been tested by several users also.  Happy to discuss.

I'd need help to write additional tests.

This is not merged because it has outstanding discussion on the ticket pending.
It has also decayed and needs to be rebased against a modern version of the code.

This is still waiting on discussion on the ticket.

I am going to close this until the ticket discussion is resolved, and we have confirmation that this is the right stuff.


Use File Format quote when inferring the schema for CSVFormat

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
When using ListingOptions to infer the schema of a ListingTableUrl the result schema does not take into account the quote defined in the format.
This will make all the schema columns that have the quote present to be inferred as utf8.
Describe the solution you'd like
Infer_schema should take into account the file format quote when inferring the schemas, so the inferred type can be the more specific possible.
Describe alternatives you've considered

Additional context

I can do this one

Seems like it is not a bug here, we could directly pass the quote to Format struct and get the correct answer
suppose we have a csv file like

and writing a test like
fn test_with_quote() {
        let mut file =
            File::open("/Users/yxiang1/work/arrow-rs/arrow-csv/test/data/quote.csv").unwrap();
        let (schema, _) = Format::default().infer_schema(&mut file, None).unwrap();

        println!("did not pass quote schema is {:?}", schema);

        let mut file =
            File::open("test/data/quote.csv").unwrap();

        let (schema, _) = Format::default()
            .with_quote(b'\'')
            .infer_schema(&mut file, None)
            .unwrap();
        println!("after pass schema is {:?}", schema);
    }

we could pass the single quote to Format and get different results like


How to train it?

thanks for your work, and how to train the model?

Hi, thanks for your interest in our work.
The scene representation is trained per scene.


Ensure unique aliases in JKS files

Each commit should have a descriptive commit message.
This PR is intended to address the issue raised in this comment where two certs with the same Issuer field would be de-duped when added to the JKS file, despite them being different certificates.

Just tried out v0.5.0-beta.1 and everything looks good to me. Thanks!


replace strlen in readPages() with variables

see issue #671

And CI is broken again... :unamused: The fail isn't related to your changes.
Anyway, changes look good, thank you very much! :tada: :+1:


Cannot set Image size

Version

The one which is used in Dooray
Test Environment

Windows 7, Firefox
Current Behavior

There's no way to set size of image.
Expected Behavior

There should be a way to set image size. anyway with CSS like ![image](url){width: 200px; height: 100px} or other syntax something like ![image](url =100x100)

Thanks for the contribution @cs09g
I see the syntax ![caption](url){attribute} is not a commonmark syntax yet.
And It seems like the syntax is a matter of extensions.

https://talk.commonmark.org/t/consistent-attribute-syntax/272/16
https://talk.commonmark.org/t/generic-directives-plugins-syntax/444/147

I think they're going to merge the syntax, after all. It's not a subject for now.
So please wait for it happens :)

so, tui.editor's markdown functionalities are from markdown-it which supports commonmark?
I thought tui.editor itself created markdown parser. then I'd better wait for their work done :)

yup! I'm closing this issue.
We'll consider the syntax when the spec has it.


Fix umi_barcode value in .parameters.txt output file

Hey! I noticed that when running mgatk tenx ... the value of umi_barcode is being hard coded to "MU" after completion of the bam chunking thread pool (which uses the previous umi_barcode value). I believe the only impact of this change is the previous umi_barcode value will be stored in the .parameters.txt output file when running tenx mode.

So the hardcoded modified UMI was a work-around that I implemented for this tenx mode based on the following logic:

we want to deduplicate reads within a unique UMI / barcode combination
In the regular bcall mode, I split by single cell into it's own bam and run Picard Deduplicate individually, but when we run the deduplication on a bam containing several 10x barcodes, we want to somehow encode but the cell/UMI/library on it's own... Thus, I encode this pseudo barcode-UMI as it's own entity.
I use the MU as an indicator later on to assemble this combination... See:

https://github.com/caleblareau/mgatk/blob/master/mgatk/bin/python/chunk_barcoded_bam.py#L59
This isn't particularly elegant (and I think that I should minimally comment it better), but I think that it is achieving what I want it to achieve.

Ah, I see. Thanks for the details. I was confused why the command line arg was named --umi-barcode rather than --umi, but this makes sense now.


Incremental renderer client-side code should be minified

Provide a super-secret option for debugging.

Fixed by #286


Better handling of image upload complete and retry

Async is hard. Now that we have multiple images that need to be uploaded for a single share, those uploads are harder to manage. I think this does the trick and fixes the bug in the latest release where you'd see multiple shares of a single image that should have just been shared once.
Updated to also handle session management and upload retry.
Fixes #728
Fixes #734

does this get closer to limiting total number of in-flight files at any time?

No @andrewxhill, this is unrelated to limiting total number of in-flight files. Shouldn't be a problem with image sharing at this point. More of a thing with photo backup, which is different code.


Release of ShareGPT4V random 1k pairs for evaluation

Hi, thanks again for this cool work!
Where can I locate the random 1k (image, long text) pairs separated from ShareGPT4V for long-caption image-text retrieval evaluation? Can you release this data subset? Thanks a lot!

Hi, thanks for your recognition. The 1k validation set is the first 1k instances in share-captioner_coco_lcs_sam_1246k_1107.json

Hi, are the 1k instances for eval from the SAM dataset? If so, can you tell me which data shard (tar file) you used to extract the images? Thanks a lot!

We only follow the instruction of ShareGPT4v to prepare the data and we didn't check the source of the image. You may refer to https://sharegpt4v.github.io/ for detailed information.

Hi again! We downloaded and extracted the first 50 tars of SAM (as instructed in the ShareGPT4V repo). However, there are missing images (e.g. sam/images/sa_561780.jpg, sam/images/sa_561927.jpg, /sam/images/sa_564952.jpg, etc.) when we run the eval with the first 1k instances in share-captioner_coco_lcs_sam_1246k_1107.json.
Can you share the 1k validation split you have for eval (for instance as a zip file)? Thanks in advance!


Enable SSL verification by default

Summary
Enable SSL verification by default by not setting SSL_verify_mode to 0x00. Add an option to Mojo::UserAgent ("verify") to allow people to explicitly choose non-verifying behaviour. Make Test::Mojo automatically turn off verification so SSL testing still works as before.
I don't expect this is enough to merge straight away, but I think it's a good starting point.
Motivation
Prevent people from inadvertently writing insecure software.
References
Issue #1223 "Mojolicious does not check SSL certificates by default".

You forgot Mojolicious::Command::get and ojo.

How is the CA situation after this change? On which operating systems are system certs used by default? Where do we need to configure and use something like Mozilla::CA? How should we document the situation?

We usually require a deprecation period for breaking changes, and this is going to break some applications. But this change does fall under the security exception in our rules, so we are a little more flexible.

Btw. I do welcome competing pull requests for this. If anyone else has more time to finish a polished proposal, please do. Right now this issue has momentum in the community, we shouldn't risk letting it go stale and forgotten.

And for the record, after this patch has been applied on openSUSE Tumbleweed and macOS all requests to HTTPS sites with valid certificates do no longer work by default.
$ mojo get https://mojolicious.org
SSL connect attempt failed error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed
 at lib/Mojolicious/Command/get.pm line 76.

Many thanks for fixing this!
I wasn't ignoring your feedback, I was going to get to it next time I worked on this. Glad it's all sorted now :)


Turkish translation of README file.

According to the comments and issues, here is the proper Turkish translation of README.

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

Thanks for taking the time to contribute this localization pull request. However, we are not able to accept contributions to this historical reference repository at this time.


Add auto merge

@conda-forge-admin, please add bot automerge

@conda-forge-admin, please add bot automerge

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I added bot automerge in conda-forge/pymatgen-analysis-diffusion-feedstock#2.


dev -> main-beta

:tada: This PR is included in version 2.0.0-beta.26 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

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


normalize audio and set volume

Sorry for not reporting a bug, just a question, I'm using Tone.js to play some audio files but I do not want it too loud or silent, how can I normalize the audio and then set volume when playing

var channel = new Tone.Channel(-16).toDestination();
var player = new Tone.Player("https://tonejs.github.io/audio/berklee/gong_1.mp3").toDestination();
Tone.loaded().then(() => {
player.connect(channel ).start();
});

I have searched and found Tone.Normalize() was deleted

Take a look at Tone.Compressor which reduces the dynamic range of an audio input. Tone.Normalize wasn't actually a normalization technique but mapped an input signal between two numbers to the range 0-1, so wouldn't exactly accomplish what you're looking to do.


3 prompts to cancel loading a widget if CDNs are disabled

Testing #10598
set "jupyter.widgetScriptSources": [] in settings to not allow widget downloads
Run a cell with a widget
Two of the samples from the test plan still load and are interactive after pressing cancel on a single pop-up
When running the code below, I have to press cancel 3 times, and then end up with a loading... widget

Widgets require us to download supporting files from a 3rd party website.

Widgets require us to download supporting files from a 3rd party website. (Error loading k3d:2.14.2).

Widgets require us to download supporting files from a 3rd party website. (Error loading k3d:2.14.2).

# Sample2
import k3d
import numpy as np
from numpy import sin,cos,pi
from ipywidgets import interact, interactive, fixed
import ipywidgets as widgets
import time
import math

plot = k3d.plot()

plot.camera_auto_fit = False

T = 1.618033988749895
r = 4.77
zmin,zmax = -r,r
xmin,xmax = -r,r
ymin,ymax = -r,r
Nx,Ny,Nz = 77,77,77

x = np.linspace(xmin,xmax,Nx)
y = np.linspace(ymin,ymax,Ny)
z = np.linspace(zmin,zmax,Nz)
x,y,z = np.meshgrid(x,y,z,indexing='ij')
p = 2 - (cos(x + T*y) + cos(x - T*y) + cos(y + T*z) + cos(y - T*z) + cos(z - T*x) + cos(z + T*x))
iso = k3d.marching_cubes(p.astype(np.float32),xmin=xmin,xmax=xmax,ymin=ymin,ymax=ymax, zmin=zmin, zmax=zmax, level=0.0)
plot += iso

plot.display()

@amunger
Sorry, I'm unable to repro this, please could you provide the exact steps (starting from when you have reloaded vscode)

Note: this would be an existing issue

set "jupyter.widgetScriptSources": [] in settings to not allow widget downloads

When was this changed int he above steps?
Also, I'm assuming you are using a local kernel, is that right?

jupyter logs
Visual Studio Code - Insiders (1.69.0-insider, undefined, desktop)
Jupyter Extension Version: 2022.6.1001811740.
Python Extension Version: 2022.9.11791004.
Workspace folder c:\src\test\3
info 15:53:58.312: ZMQ install verified.
User belongs to experiment group 'jupyterTest'
User belongs to experiment group 'jupyterEnhancedDataViewer'
info 15:53:58.940: LSP Notebooks experiment is disabled -- not in treatment group
info 15:53:59.148: Starting Jupyter Session id = 'startUsingPythonInterpreter:.jvsc74a57bd02a8bb579a3d276ed5ddfe14b8685f1986e420a0f5c411ab8f05c20e26ae95962.c:\src\test\3\.venv7\Scripts\python.exe.c:\src\test\3\.venv7\Scripts\python.exe.-m#ipykernel_launcher' (Python Path: c:\src\test\3\.venv7, EnvType: Venv, EnvName: '.venv7', Version: 3.9.13) for 'Untitled-1.ipynb' (disableUI=true)
info 15:53:59.150: Creating raw notebook for resource 'Untitled-1.ipynb'
info 15:53:59.150: Computing working directory for resource 'Untitled-1.ipynb'
info 15:53:59.163: Starting raw kernel '.venv7 (Python 3.9.13)' for interpreter c:\src\test\3\.venv7\Scripts\python.exe
info 15:53:59.512: Kernel launching with ports 9000,9001,9002,9003,9004. Start port is 9000
info 15:53:59.579: Process Execution: > c:\src\test\3\.venv7\Scripts\python.exe -m pip list
> c:\src\test\3\.venv7\Scripts\python.exe -m pip list
info 15:53:59.594: Process Execution: > c:\src\test\3\.venv7\Scripts\python.exe -c "import ipykernel; print(ipykernel.__version__); print("5dc3a68c-e34e-4080-9c3e-2a532b2ccb4d"); print(ipykernel.__file__)"
> c:\src\test\3\.venv7\Scripts\python.exe -c "import ipykernel; print(ipykernel.__version__); print("5dc3a68c-e34e-4080-9c3e-2a532b2ccb4d"); print(ipykernel.__file__)"
info 15:53:59.679: Experiment status for python is {"enabled":true,"optInto":[],"optOutFrom":[]}
info 15:53:59.865: Process Execution: > c:\venvs\venv2\Scripts\python.exe -m pip list
> c:\venvs\venv2\Scripts\python.exe -m pip list
info 15:53:59.879: Preferred Remote kernel for Untitled-1.ipynb is undefined
info 15:53:59.879: Find preferred kernel for Untitled-1.ipynb with metadata {"kernelspec":{"display_name":"Python 3.9.13 ('.venv7': venv)","language":"python","name":"python3"},"language_info":{"codemirror_mode":{"name":"ipython","version":3},"file_extension":".py","mimetype":"text/x-python","name":"python","nbconvert_exporter":"python","pygments_lexer":"ipython3","version":"3.9.13"},"orig_nbformat":4,"vscode":{"interpreter":{"hash":"2a8bb579a3d276ed5ddfe14b8685f1986e420a0f5c411ab8f05c20e26ae95962"}}} & preferred interpreter c:\venvs\venv2\Scripts\python.exe
info 15:53:59.883: Preferred Remote kernel for Untitled-1.ipynb is undefined
info 15:53:59.883: Preferred kernel .jvsc74a57bd02a8bb579a3d276ed5ddfe14b8685f1986e420a0f5c411ab8f05c20e26ae95962.c:\src\test\3\.venv7\Scripts\python.exe.c:\src\test\3\.venv7\Scripts\python.exe.-m#ipykernel_launcher is exact match
info 15:53:59.885: PreferredConnection: .jvsc74a57bd02a8bb579a3d276ed5ddfe14b8685f1986e420a0f5c411ab8f05c20e26ae95962.c:\src\test\3\.venv7\Scripts\python.exe.c:\src\test\3\.venv7\Scripts\python.exe.-m#ipykernel_launcher found for NotebookDocument: Untitled-1.ipynb
info 15:54:0.201: Creating daemon process for c:\src\test\3\.venv7\Scripts\python.exe with env variables count 63
info 15:54:0.210: Process Execution: > c:\src\test\3\.venv7\Scripts\python.exe -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.kernel_interrupt_daemon -v --ppid 36416
> c:\src\test\3\.venv7\Scripts\python.exe -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.kernel_interrupt_daemon -v --ppid 36416
info 15:54:1.170: Registering dummy command feature
info 15:54:1.315: ipykernel version 6.15.0 for c:\src\test\3\.venv7\Scripts\python.exe
info 15:54:1.316: ipykernel location c:\src\test\3\.venv7\lib\site-packages\ipykernel\__init__.py for c:\src\test\3\.venv7\Scripts\python.exe
info 15:54:1.536: Registering dummy command feature
info 15:54:4.31: get interrupthandle daemon
info 15:54:4.105: Process Execution: > c:\src\test\3\.venv7\Scripts\python.exe -m ipykernel_launcher --ip=<IP_ADDRESS> --stdin=9003 --control=9001 --hb=9000 --Session.signature_scheme="hmac-sha256" --Session.key=b"d967177b-4728-4b69-a78b-c9dc765cfac6" --shell=9002 --transport="tcp" --iopub=9004 --f=c:\Users\aamunger\AppData\Roaming\jupyter\runtime\kernel-v2-364163knjpE4ZOZQd.json
> c:\src\test\3\.venv7\Scripts\python.exe -m ipykernel_launcher --ip=<IP_ADDRESS> --stdin=9003 --control=9001 --hb=9000 --Session.signature_scheme="hmac-sha256" --Session.key=b"d967177b-4728-4b69-a78b-c9dc765cfac6" --shell=9002 --transport="tcp" --iopub=9004 --f=c:\Users\aamunger\AppData\Roaming\jupyter\runtime\kernel-v2-364163knjpE4ZOZQd.json
info 15:54:4.105: Process Execution: cwd: c:\src\test\3
cwd: c:\src\test\3
info 15:54:6.276: Execute Cell 0 Untitled-1.ipynb
warn 15:54:7.186: StdErr from Kernel Process c:\src\test\3\.venv7\lib\site-packages\traitlets\traitlets.py:2392: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use 'hmac-sha256' instead of '"hmac-sha256"' if you require traitlets >=5.
  warn(
c:\src\test\3\.venv7\lib\site-packages\traitlets\traitlets.py:2346: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use 'd967177b-4728-4b69-a78b-c9dc765cfac6' instead of 'b"d967177b-4728-4b69-a78b-c9dc765cfac6"'.
  warn(

info 15:54:7.386: Kernel Output: NOTE: When using the `ipython kernel` entry point, Ctrl-C will not work.

To exit, you will have to explicitly quit this process, by either sending
"quit" from a client, or using Ctrl-\ in UNIX-like environments.

To read more about this, see https://github.com/ipython/ipython/issues/2049

To connect another client to this kernel, use:
    --existing c:\Users\aamunger\AppData\Roaming\jupyter\runtime\kernel-v2-364163knjpE4ZOZQd.json

info 15:54:7.574: Started kernel .venv7 (Python 3.9.13)., (Raw session started and connected)
info 15:54:7.576: Finished connecting ab500370-c11d-4f93-bed4-7270806cbd9d
info 15:54:7.583: Add SVG to matplotlib figure formats
info 15:54:7.584: Executing silently Code (idle) = __vsc_ipynb_file__ = "Untitled-1.ipynb"\n%config Completer.use_jedi = False\ntry:\nimport matplotli
info 15:54:9.42: Executing silently Code (completed) = __vsc_ipynb_file__ = "Untitled-1.ipynb"\n%config Completer.use_jedi = False\ntry:\nimport matplotli with 0 output(s)
info 15:54:9.44: Waiting for idle on (kernel): 478d570a-fe00-4aa8-b018-fe92901b5259 -> idle
info 15:54:9.44: Finished waiting for idle on (kernel): 478d570a-fe00-4aa8-b018-fe92901b5259 -> idle
info 15:54:9.56: Widget Message: Received IPyWidgets_kernelOptions in ScriptManager
info 15:54:9.58: Widget Message: Received IPyWidgetMessages.IPyWidgets_kernelOptions
info 15:54:9.330: Widget Message: WidgetManager: Loading class LayoutModel:@jupyter-widgets/base:1.2.0
info 15:54:9.342: Widget Message: WidgetManager: Loading class PlotModel:k3d:2.14.2
info 15:54:9.342: Widget Message: Fetch IPyWidget source for k3d
info 15:54:9.343: Fetch Script for {"moduleName":"k3d","moduleVersion":"2.14.2","requestId":"k3d:2.14.2:1656456849340"}
info 15:54:9.343: Fetch Script for k3d
info 15:54:9.343: Searching for Widget Script k3d#2.14.2 using cdns
error 15:54:11.312: Script source for Widget<EMAIL_ADDRESS>not found
info 15:54:11.312: Script for k3d, is undefined from undefined
info 15:54:11.314: Fetch Script for k3d
error 15:54:11.316: Script source for Widget<EMAIL_ADDRESS>not found
info 15:54:11.316: Script for k3d, is undefined from undefined
info 15:54:11.363: Widget Message: Received IPyWidget scripts [{"moduleName":"k3d"}]
info 15:54:11.365: Widget Message: Received IPyWidget scripts [{"moduleName":"bqplot","scriptUri":"https://file%2B.vscode-resource.vscode-cdn.net/c%3A/Users/aamunger/.vscode-insiders/extensions/ms-toolsai.jupyter-2022.6.1001811740/tmp/scripts/595a15b5ad743cc874042832f5fb9e6781ac4e9c3ac61f12ed9387e599fe1fa2/jupyter/nbextensions/bqplot/index","source":"local"}]
info 15:54:11.365: Widget Message: Source for IPyWidget bqplot found in local @ https://file%2B.vscode-resource.vscode-cdn.net/c%3A/Users/aamunger/.vscode-insiders/extensions/ms-toolsai.jupyter-2022.6.1001811740/tmp/scripts/595a15b5ad743cc874042832f5fb9e6781ac4e9c3ac61f12ed9387e599fe1fa2/jupyter/nbextensions/bqplot/index.
info 15:54:11.366: Widget Message: Registering IPyWidget bqplot found in https://file%2B.vscode-resource.vscode-cdn.net/c%3A/Users/aamunger/.vscode-insiders/extensions/ms-toolsai.jupyter-2022.6.1001811740/tmp/scripts/595a15b5ad743cc874042832f5fb9e6781ac4e9c3ac61f12ed9387e599fe1fa2/jupyter/nbextensions/bqplot/index.
info 15:54:11.366: Widget Message: Received IPyWidget scripts [{"moduleName":"jupyter-leaflet","scriptUri":"https://file%2B.vscode-resource.vscode-cdn.net/c%3A/Users/aamunger/.vscode-insiders/extensions/ms-toolsai.jupyter-2022.6.1001811740/tmp/scripts/595a15b5ad743cc874042832f5fb9e6781ac4e9c3ac61f12ed9387e599fe1fa2/jupyter/nbextensions/jupyter-leaflet/index","source":"local"}]
info 15:54:11.369: Widget Message: Source for IPyWidget jupyter-leaflet found in local @ https://file%2B.vscode-resource.vscode-cdn.net/c%3A/Users/aamunger/.vscode-insiders/extensions/ms-toolsai.jupyter-2022.6.1001811740/tmp/scripts/595a15b5ad743cc874042832f5fb9e6781ac4e9c3ac61f12ed9387e599fe1fa2/jupyter/nbextensions/jupyter-leaflet/index.
info 15:54:11.370: Widget Message: Registering IPyWidget jupyter-leaflet found in https://file%2B.vscode-resource.vscode-cdn.net/c%3A/Users/aamunger/.vscode-insiders/extensions/ms-toolsai.jupyter-2022.6.1001811740/tmp/scripts/595a15b5ad743cc874042832f5fb9e6781ac4e9c3ac61f12ed9387e599fe1fa2/jupyter/nbextensions/jupyter-leaflet/index.
info 15:54:11.371: Widget Message: Received IPyWidget scripts [{"moduleName":"k3d"}]
info 15:54:11.427: Widget Message: WidgetManager: failed, Loading class PlotModel:k3d:2.14.2
error 15:54:11.429: Widget load failure Widgets require us to download supporting files from a 3rd party website. (Error loading k3d:2.14.2). {
  className: 'PlotModel',
  moduleName: 'k3d',
  moduleVersion: '2.14.2',
  cdnsUsed: false,
  isOnline: true,
  timedout: false,
  error: '{}'
}
info 15:54:11.448: Widget Message: WidgetManager: Loading class ObjectModel:k3d:2.14.2
info 15:54:11.448: Widget Message: WidgetManager: failed, Loading class ObjectModel:k3d:2.14.2
error 15:54:11.449: Widget load failure Widgets require us to download supporting files from a 3rd party website. (Error loading k3d:2.14.2). {
  className: 'ObjectModel',
  moduleName: 'k3d',
  moduleVersion: '2.14.2',
  cdnsUsed: false,
  isOnline: true,
  timedout: false,
  error: '{}'
}
info 15:54:11.450: Widget Message: WidgetManager: Loading class LayoutModel:@jupyter-widgets/base:1.2.0
info 15:54:11.451: Widget Message: WidgetManager: Loading class OutputModel:@jupyter-widgets/output:1.0.0
info 15:54:11.506: Cell 0 executed with state Success
info 15:54:11.568: Widget Message: WidgetManager: Loading class OutputView:@jupyter-widgets/output:1.0.0
info 15:54:11.606: Widget Message: WidgetManager: Loading class LayoutView:@jupyter-widgets/base:1.2.0
info 15:54:13.645: Preferred Remote kernel for Untitled-1.ipynb is undefined
info 15:54:13.645: Find preferred kernel for Untitled-1.ipynb with metadata {"kernelspec":{"display_name":"Python 3.9.13 ('.venv7': venv)","language":"python","name":"python3"},"language_info":{"codemirror_mode":{"name":"ipython","version":3},"file_extension":".py","mimetype":"text/x-python","name":"python","nbconvert_exporter":"python","pygments_lexer":"ipython3","version":"3.9.13"},"orig_nbformat":4,"vscode":{"interpreter":{"hash":"2a8bb579a3d276ed5ddfe14b8685f1986e420a0f5c411ab8f05c20e26ae95962"}}} & preferred interpreter c:\venvs\venv2\Scripts\python.exe
info 15:54:13.650: Preferred Remote kernel for Untitled-1.ipynb is undefined
info 15:54:13.650: Preferred kernel .jvsc74a57bd02a8bb579a3d276ed5ddfe14b8685f1986e420a0f5c411ab8f05c20e26ae95962.c:\src\test\3\.venv7\Scripts\python.exe.c:\src\test\3\.venv7\Scripts\python.exe.-m#ipykernel_launcher is exact match
info 15:54:13.658: Preferred Remote kernel for Untitled-1.ipynb is undefined
info 15:54:16.974: Loading webview.  This just always repros for me.
Yes, local kernel


Is there a plan to update monix-nio to Monix 3.0.0-RC2

Hello,
just tried to run monix-nio 0.0.3 with Monix 3.0.0-RC2
got error in the lib, because of Callback was moved to monix.execution
Just wondering, shall we expect a version update here?
(Okay, I see now, it works on Monix 3.0.0-RC1)
Thank you!

Okay, I see now, it works on Monix 3.0.0-RC1

I ran into the same problem and did a little bit of work to make it compile and pass tests with the new monix version. I could take care of this issue.

v0.0.4 has been released and it depends on Monix 3.0.0-RC2. Thank you for your cotribution @scubamaggo


SAK-43541 Add optional converter for attachments

https://jira.sakaiproject.org/browse/SAK-43541

 Here is an overview of what got changed by this pull request:

Issues
======
- Added 3

Complexity increasing per file
==============================
- webcomponents/tool/src/main/frontend/js/grader/submission.js  1
- kernel/kernel-impl/src/main/java/org/sakaiproject/content/impl/FileConversionServiceImpl.java  7

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
- Added 2

Complexity increasing per file
==============================
- webcomponents/tool/src/main/frontend/js/grader/submission.js  1
- kernel/kernel-impl/src/main/java/org/sakaiproject/content/impl/FileConversionServiceImpl.java  7

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
- Added 2

Complexity increasing per file
==============================
- kernel/kernel-impl/src/main/java/org/sakaiproject/content/impl/FileConversionServiceImpl.java  2
- webcomponents/tool/src/main/frontend/js/grader/submission.js  1

See the complete overview on Codacy

I'm rearchitecting this to use completable futures and make it pluggable with converters other than just LibreOffice Online.

 Here is an overview of what got changed by this pull request:

Issues
======
- Added 1

Complexity increasing per file
==============================
- kernel/kernel-impl/src/main/java/org/sakaiproject/content/impl/converters/LoolFileConverter.java  1
- webcomponents/tool/src/main/frontend/js/grader/submission.js  1
- kernel/kernel-impl/src/main/java/org/sakaiproject/content/impl/FileConversionServiceImpl.java  2

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
- Added 2

Complexity increasing per file
==============================
- kernel/kernel-impl/src/main/java/org/sakaiproject/content/impl/repository/FileConversionQueueItemRepositoryImpl.java  1
- kernel/kernel-impl/src/main/java/org/sakaiproject/content/impl/converters/LoolFileConverter.java  1
- webcomponents/tool/src/main/frontend/js/grader/submission.js  1
- kernel/kernel-impl/src/main/java/org/sakaiproject/content/impl/FileConversionServiceImpl.java  2

See the complete overview on Codacy


Update MobX to 6.2.x

A minor release from current 6.1 but still worth a careful look and testing for this core dependency:
See https://github.com/mobxjs/mobx/pull/2842 for release details.

Fixed in https://github.com/xh/hoist-react/commit/491b2b0d9c5fe4f65bacfb6b55741244795a3b77


day - 03

[x] Instuctor interface
[x] login / logout feature
[x] DAO Interface method
[x] service Interface methods

day03 tasks done


peer js call in progress

how to check that this online user is in call progress? for example 1 and 2 person are doing video call
if 3rd person come online how he know that 1 and 2 call in progress?

There is no API to track existing call.


Add job icon entities and define non crew ID icons in the guidebook

About the PR

Added crew icon entities, defined non crew in silicon rule 8
Why / Balance

Hopefully reduces confusion around what is and isn't crew
Technical details

Added a dummy entity with an icon layer just for the guidebook
Media

Requirements

[X] I have read and am following the Pull Request and Changelog Guidelines.
[X] I have added media to this PR or it does not require an ingame showcase.

Breaking changes

Changelog

:cl: Minemoder

tweak: Silicon rule 8 now shows non crew ID in the guidebook.

does the zombie icon show for non-zombies?

does the zombie icon show for non-zombies?

It does for people with job huds if the "zombie" is using syndicate agent card and sets it to zombie, but yeah, it could confuse some silicon newbies into thinking that zombies lose crew status if they are not aware of that.

does the zombie icon show for non-zombies?

As far as I understand, it can only appear when it is set in an Agent ID.

I think this is the wrong approach.
Instead the job icons that arent crew shouldnt be visible to cyborgs at all, preferably all non-crew would just have an X icon or the current ?, if any at all.
This just makes it more confusing, a simple "Icon = crew, no icon = not crew" would do way better.

Blank agent id's are not crew from what I've been told by staff


[AutoRelease] t2-chaos-2024-02-21-34265(can only be merged by SDK owner)

https://github.com/Azure/sdk-release-request/issues/4971
Live test success
https://dev.azure.com/azure-sdk/internal/_build?definitionId=3201

@VSC-Service-Account


Improve update naming convention

fixes #60

Thanks @bhop, this looks great. I like that you moved the code into a new file, this will help keeping Update clean.
Running sbt formatAll and committing should fix the build errors.

Looks like sbt formatAll fixed the problem. Thanks @fthomas !

Not sure how I did it but it says: "bhop closed this 9 minutes ago" :P

@all-contributors please add @pgabara for code, test


feat(agentless, workload): [SSPROD-43929]: Add Azure functions module

This will be handled directly using modular onboarding. Let's close this PR for now.


ChocolateyGUI doesn't elevate with a standard Windows user account

Currently, when launching ChocolateyGUI v0.15.0 on a standard Windows user account (non-admin), there's no UAC password prompt, i. e. it doesn't ask for elevation.
Consequently, when trying to install, update or uninstall a package with ChocolateyGUI, it fails as of missing privileges.
As a convenient solution, rather than solving this by elevating when launching ChocolateyGUI, I suggest not elevating until the moment the user issues a command that needs elevation (e. g. the Update All button) for the first time for that session.
That way, the user can still e. g. check if there are any app/package updates without getting the UAC prompt and having to enter the admin password each time.
Currently, I'm often launching ChocolateyGUI without admin privileges in order to check if there are any package updates, and if this is the case, I quit ChocolateyGUI an re-start it via right clicking and "Run as administrator".
Here's an example of what I mean (i. e. the type of button or context menu command):

You don't realize it, but you've stumbled on one of the longest fought issues on Gui :). /cc @gep13
We did actually sort of do what you suggest previously, but we reverted to runAsInvoker for the 0.16 release. We might switch back to a scheme like this moving forward.

As @RichiCoder1 said, this is a long, drawn out discussion.  In the run up to the last release, we did have something similar to what you have shown, but in the spirit of simplicity, we took it out again.  Coupled with the fact that Chocolatey has a self service mode, where a non admin can do the installation as well, it was felt that this was a better fit for now.

Coupled with the fact that Chocolatey has a self service mode, where a non admin can do the installation as well

It looks like this is for the Business Edition only...? Is this correct? I'm a private user using a non-admin account for enhanced security.

@RiseT said...
It looks like this is for the Business Edition only...? Is this correct?

That is correct.  We are trying to make Chocolatey GUI work in the best way possible, while catering to all use cases.

Hi @RiseT - we set the execution privilege to highestAvailable -
https://github.com/chocolatey/ChocolateyGUI/blob/31f8544c08d3df52578136929ebafc430cba66cf/Source/ChocolateyGui/app.manifest#L25
This means if your account is a non-administrator it won't ask for UAC. If your account is an administrator, it will ask for administrative permissions on startup.
I'm not even sure we had things set up the way you are describing when we were looking at a much more complex route to asserting UAC at runtime (complete non-admin, having admin credentials pop for run as).

Related to

#342 / #465
#347 / #438

Subprocess issues:

#448
#440
#372
Debugging code became quite difficult
Missing WCF data contracts in enums could produce hard to find bugs

Perhaps there may be an opportunity to approach this again in the future. Currently after a 9 month dive down a rabbit hole, the scars are maybe too fresh to approach this.
However if I understand your approach correctly, you are looking for more the UAC into a totally different user (aka "Run As"). If there is something that could easily support that and still have things be very debuggable, I'm guessing we might approach that use case. The administrator with UAC will get elevated when starting Chocolatey GUI and I think we are fine with that scenario for now.

However if I understand your approach correctly, you are looking for more the UAC into a totally different user (aka "Run As").

Example:
I have 2 user accounts on my Windows machine. One is called "Admin" (administrative privileges, only used for installing software or other tasks that require admin privileges), the other one is called "Daily Work" (no admin privileges, used as my primary account for browsing, office, etc).
Currently, when I run ChocolateyGUI from the user account "Daily Work", every package installation, etc will fail without prompting for the password of the user account "Admin" and without elevating privileges.
Of course, using "Run as administrator" in the context menu of ChocolateyGUI prevents this.
But in ChoclateyGUI, a) a non-admin user should have a possibility to check if there are package updates available, and b) if that user discovers that there are indeed updates available, there should be a way to elevate (via entering a password) & upgrade without having to exit and restart ChocolateyGUI.

@RiseT yes, that's exactly where I thought you were going. I am not even sure if the subprocess bits we had implemented wrapped this scenario or not. This would be something we can strive for eventually. It's unfortunately not as straightforward to implement as one might hope.

@ferventcoder Yup, the subprocess did that. The issue was mostly A) we piped everything to the subprocess, even if it didn't require privileges and B) the subprocess was very fault intolerant and the RPC was kinda hacky.

The fix should be very simple no?
if Run as admin
Business as usual.
if Not run as admin
if Self-service exists
Send command to self-service
Else
Fail gracefully


On Demand Scripts Support

With 2.3.0 RC 1 >>  it now supports marking items as OnDemand which allows you to run them as many times as you want.
Will MunkiAdmin support scripts being imported with this flag?

Will certainly add this. Already on my todo list for the next release.


Cannot change junction_path of volume

I am trying to change the junction path of a volume.  Either at renaming of the volume, or as a stand alone operation.
When trying to change the junction path of a volume, it does not work.  Rerun of the playbook will not work either.  Trying just a new name will not work either.  Name changing of the volume works fine.
 - name: Volume rename
    na_ontap_volume:
      state: present
      from_name: "{{ from_name }}"
      name: "{{ vol_name }}"
      vserver: "{{ vserver }}"
      aggregate_name: "{{aggr }}"
      size: 3
      size_unit: gb
      junction_path: "/{{ vol_name }}"
      hostname: "{{ hostname }}"
      username: "{{ username }}"
      password: "{{ password }}"
      https: true
      validate_certs: false

Running on a fully patch mac :
sw_vers
ProductName:	Mac OS X
ProductVersion:	10.14.3
BuildVersion:	18D109
ansible-playbook --version
ansible-playbook 2.7.8
pip list | grep -i netap
netapp-lib                         2018.11.13
python --version
Python 2.7.15

Hi @simonpie,
This sounds like an ansible module issue instead of a Trident issue. You may have posted this in the wrong location.

Argh, you are right.


work with mounting OCI volumes to containers

Fixes for combination of container + volume with Format_CONTAINER for hypervisor variant.
But I have no ideas for a combination VM (QCOW2) + volume with Format_CONTAINER, so cannot modify code in that direction.
Signed-off-by: Petr Fedchenkov<EMAIL_ADDRESS>

Hey @giggsoff -- please jump onto this thread https://lists.lfedge.org/g/eve-tsc/topic/thoughts_on_volume_management/76419429?p=,,,20,0,0,0::recentpostdate%2Fsticky,,,20,2,0,76419429
If we can converge there on the solution -- I'd rather see that solution implemented here instead of a temporary fix that this PR is providing.
Makes sense?

Hey @giggsoff -- please take a look at #1416


Better readme examples

Add some simpler examples to the readme for:

Indexing a document
Getting a document
Searching documents
Bulk

These should also be in the examples directory.

I've added some more examples for these.


fix doc link

#3295
@agramfort
I am not sure if this is the right solution. MNE mailing list is definied in doc/this_project.inc but I have no experience in web pages/sphinx so I don't know why it doesn't work on the main page.

this is not the right fix. See this_project.inc file.
do a git grep "MNE mailing list"

I took a look into this_project.inc and scanned the mne-python git repo and in some places  `MNE mailing list`_ is used and in other places the verbose link. I will look into this later today, but somone who knows how sphinx/web works would do it much faster, so I guess in this case I am making more trouble than help :)

ideally the full URL should appear only in the link file.
Run
cd doc
make html_dev
or
make html_dev-noplot

[Current coverage][cc-pull] is 91.98%

Merging [#3297][cc-pull] into [master][cc-base-branch] will decrease coverage by <.01%

@@             master      #3297   diff @@
==========================================
  Files           336        336
  Lines         57073      57073
  Methods           0          0
  Messages          0          0
  Branches       8687       8687
==========================================
- Hits          52502      52501     -1
- Misses         4571       4572     +1
  Partials          0          0

[][cc-pull]

Powered by Codecov. Last updated by [b86ba4a...64e0a4c][cc-compare]
[cc-base-branch]: https://codecov.io/gh/mne-tools/mne-python/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/mne-tools/mne-python/compare/b86ba4a6f4d6378a6499adfd918f20385a73becc...64e0a4c62b574238501a80d86119df88d8609de0
[cc-pull]: https://codecov.io/gh/mne-tools/mne-python/pull/3297?src=pr

Based on a selective reading of RST docs I think this should work:
* `Analysis talk: join the MNE mailing list <MNE mailing list_>`

but being on windows I have troubles with building docs with make.

@jaeilepp can you check?

MNE mailing list_ isn't linked to anything so you'll have to use the address. So something like ```join the MNE mailing list https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis`_`` should work.

no. the url is specified in this_project.inc
the URL should be written at one place only.
see how we do in what's new with links in the end of the file.

Ok. Yes this is correct:
 * `Analysis talk: join the MNE mailing list <MNE mailing list_>`_
You just need to add .. include:: links.inc to the top of the file.

Thanks @jaeilepp! I've added the include statement at the top. Sorry for the trouble, I tried setting up make on my machine, but couldn't make it work...
I hope I will have it working soon.

@mmagnuski what pb do you have with doc build?

I had problems with running make on windows, I didn't get to making the docs :(
I'll try to fix it soon or at least install virtual/separate linux os.

You should be able to build the doc on Windows, we should add some doc for it (not here). On most Windows systems make won't work, so we should at least tell people to look at the Makefile to see the commands to use (in a separate PR). Have you tried something like this?
BUILD_DEV_HTML=1 sphinx-build -D plot_gallery=0 -b html -d _build/doctrees _build/html

I didn't try it (I was trying to run GNU make for windows, but now noticed it was last changed in 2006, so probably that wasn't such a good idea in the first place) but tried now and it gives me this error:
Error: Cannot find source directory `E:\proj\src\mne-python\doc\_build\html'.

Is BUILD_DEV_HTML=1 supposed to create environmental variable? I tried creating it with setx BUILD_DEV_HTML 1 but still get the same error.
I can dig into that in the weekend, maybe I will find a way to run make on Windows without problems or find out which commands to run and how (or maybe I will just surrender and install linux finally, as I long planned to do... :) ).

I fixed in https://github.com/mne-tools/mne-python/commit/e5cbb9050fd97255a52ec487fde30b899c0587d6
and pushed a hot fix on website.
thanks @mmagnuski for giving it a try.

Happy to have tried to help :)


SRIOV-VERIFY-MAX-VF-CONNECTION-MAX-VCPU: stabilize test-case

Sometimes, the test will fail at least in Azure with the below.
On retry or manual check of the interfaces, all are present, so it's probably a bad timing in script execution.
05/28/2019 11:55:38 : [INFO ] TEST SCRIPT SUMMARY ~~~~~~~~~~~~~~~
Expected VF count: 8. Actual VF count: 8
Successfully sent file from VM1 to VM2 through eth0
Successfully sent file from VM1 to VM2 through eth1
Successfully sent file from VM1 to VM2 through eth2
Successfully sent file from VM1 to VM2 through eth3
Successfully sent file from VM1 to VM2 through eth4
Successfully sent file from VM1 to VM2 through eth5
Successfully sent file from VM1 to VM2 through eth6
Unable to ping <IP_ADDRESS> through eth7

SRIOV-VERIFY-MAX-VF-CONNECTION
Expected VF count: 8. Actual VF count: 8
Successfully sent file from VM1 to VM2 through eth0
Successfully sent file from VM1 to VM2 through eth1
Unable to ping <IP_ADDRESS> through eth2


Make admin.register fixer skip unregistered models

Updates the "register admin" fixer to ignore register calls if preceded by an unregister.
Closes #239

Just realised that the pre-commit hooks unrolled the changes. Sorry for the confusion. How do you want to deal with it?
Anything else I can do to move this along? The diff of the fixer isn't that nice, because everything is done in one function.
Open for suggestions. Thx.

Just realised that the pre-commit hooks unrolled the changes. Sorry for the confusion. How do you want to deal with it?
Anything else I can do to move this along? The diff of the fixer isn't that nice, because everything is done in one function. Open for suggestions. Thx.

I am happy with however the pre-commit hooks leave it. I just want minimum vertical whitespace to keep examples short.

@andreasschmitz Thank you for your contribution 🙏 You're now one of “the most productive Django developers, maybe”.
@UnknownPlatypus Would you like to post-merge review this change? Maybe you can spot an issue.

@adamchainz Looking good and the new tests seem to cover many cases so it should be nice.
Thanks for the fix @andreasschmitz !

Thx @adamchainz and @UnknownPlatypus


Ignoring coverage using range of lines doesn't always work

Issue 1
coverage:ignore-start and  coverage:ignore-end do not ignore content of lambda functions.
For the sample app below, I've ignored the _incrementCounter method.  This is the result:

Issue 2
After trying out on multiple cases I found that coverage:ignore-start and  coverage:ignore-end does not work when the file contains multiple classes. For example in the following example the debugFillProperties function gets ignored only if the widget is present in a separate file.

Command to generate test coverage
flutter test --coverage

Sample App
void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  MyHomePage({Key? key, required this.title}) : super(key: key);

  final String title;

  @override
  _MyHomePageState createState() => _MyHomePageState();

  // coverage:ignore-start
  @override
  void debugFillProperties(DiagnosticPropertiesBuilder properties) {
    super.debugFillProperties(properties);
    properties.add(IntProperty("name", 1));
  }
// coverage:ignore-end
}

class _MyHomePageState extends State<MyHomePage> {
  int _counter = 0;

  // coverage:ignore-start
  void _incrementCounter() {
    setState(() {
      _counter++;
    });
  }

  // coverage:ignore-end

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            Text(
              'You have pushed the button this many times:',
            ),
            Text(
              '$_counter',
              style: Theme.of(context).textTheme.headline4,
            ),
          ],
        ),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: _incrementCounter,
        tooltip: 'Increment',
        child: Icon(Icons.add),
      ),
    );
  }
}

Test
void main() {
  testWidgets('Counter increments smoke test', (WidgetTester tester) async {
    // Build our app and trigger a frame.
    await tester.pumpWidget(MyApp());

    // Verify that our counter starts at 0.
    expect(find.text('0'), findsOneWidget);
  });
}

Flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel unknown, 2.2.0, on Mac OS X 10.15.4 19E287 darwin-x64, locale en-IN)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[✓] Xcode - develop for iOS and macOS
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.1)
[✓] Android Studio (version 4.2)
[✓] IntelliJ IDEA Ultimate Edition (version 2021.1.1)
[✓] VS Code (version 1.53.0)
[✓] Connected device (1 available)

• No issues found!

Issue 2

it's an absolute mystery to me why super counts as "line to cover", what am I supposed to test exactly?

Hi @abhaysood
Can you please provide the exact command you used to run the test?
Thank you

@TahaTesser
I think this setup can help

@TahaTesser I used flutter test --coverage. Updated the original issue with this detail.

@iapicca
Thanks!
@abhaysood
I was able to create a coverage report based on https://github.com/flutter/flutter/issues/83425#issuecomment-849522371

however coverage:ignore-start and coverage:ignore-end do not ignore content of lambda functions.hiow are you ignoring with just flutter test --coverage?

Issue
Updated code sample

minimal code sample
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        // This is the theme of your application.
        //
        // Try running your application with "flutter run". You'll see the
        // application has a blue toolbar. Then, without quitting the app, try
        // changing the primarySwatch below to Colors.green and then invoke
        // "hot reload" (press "r" in the console where you ran "flutter run",
        // or simply save your changes to "hot reload" in a Flutter IDE).
        // Notice that the counter didn't reset back to zero; the application
        // is not restarted.
        primarySwatch: Colors.blue,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({Key? key, required this.title}) : super(key: key);

  // This widget is the home page of your application. It is stateful, meaning
  // that it has a State object (defined below) that contains fields that affect
  // how it looks.

  // This class is the configuration for the state. It holds the values (in this
  // case the title) provided by the parent (in this case the App widget) and
  // used by the build method of the State. Fields in a Widget subclass are
  // always marked "final".

  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  int _counter = 0;

  // coverage:ignore-start
  void _incrementCounter() {
    setState(() {
      // This call to setState tells the Flutter framework that something has
      // changed in this State, which causes it to rerun the build method below
      // so that the display can reflect the updated values. If we changed
      // _counter without calling setState(), then the build method would not be
      // called again, and so nothing would appear to happen.
      _counter++;
    });
  }
  // coverage:ignore-end

  @override
  Widget build(BuildContext context) {
    // This method is rerun every time setState is called, for instance as done
    // by the _incrementCounter method above.
    //
    // The Flutter framework has been optimized to make rerunning build methods
    // fast, so that you can just rebuild anything that needs updating rather
    // than having to individually change instances of widgets.
    return Scaffold(
      appBar: AppBar(
        // Here we take the value from the MyHomePage object that was created by
        // the App.build method, and use it to set our appbar title.
        title: Text(widget.title),
      ),
      body: Center(
        // Center is a layout widget. It takes a single child and positions it
        // in the middle of the parent.
        child: Column(
          // Column is also a layout widget. It takes a list of children and
          // arranges them vertically. By default, it sizes itself to fit its
          // children horizontally, and tries to be as tall as its parent.
          //
          // Invoke "debug painting" (press "p" in the console, choose the
          // "Toggle Debug Paint" action from the Flutter Inspector in Android
          // Studio, or the "Toggle Debug Paint" command in Visual Studio Code)
          // to see the wireframe for each widget.
          //
          // Column has various properties to control how it sizes itself and
          // how it positions its children. Here we use mainAxisAlignment to
          // center the children vertically; the main axis here is the vertical
          // axis because Columns are vertical (the cross axis would be
          // horizontal).
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            const Text(
              'You have pushed the button this many times:',
            ),
            Text(
              '$_counter',
              style: Theme.of(context).textTheme.headline4,
            ),
          ],
        ),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: _incrementCounter,
        tooltip: 'Increment',
        child: const Icon(Icons.add),
      ), // This trailing comma makes auto-formatting nicer for build methods.
    );
  }
}

Issue 2

minimal code sample
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';

// import 'second.dart';

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

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Material App',
      theme: ThemeData.dark(),
      home: Home(),
    );
  }
}

class Home extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('Material App Bar'),
      ),
      floatingActionButton: FloatingActionButton(
        key: Key('goToSecond'),
        child: Icon(Icons.add),
        onPressed: () => Navigator.push(
            context, MaterialPageRoute(builder: (_) => Second())),
      ),
    );
  }
}

class Second extends StatefulWidget {
  @override
  State<Second> createState() => _SecondState();
}

class _SecondState extends State<Second> with Diagnosticable {
  // coverage:ignore-start
  @override
  void debugFillProperties(DiagnosticPropertiesBuilder properties) {
    super.debugFillProperties(properties);
    properties.add(IntProperty('name', 1));
  }
  // coverage:ignore-end

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('Second screen'),
      ),
    );
  }
}

dev_dependencies:
  flutter_test:
    sdk: flutter

  # The "flutter_lints" package below contains a set of recommended lints to
  # encourage good coding practices. The lint set provided by the package is
  # activated in the `analysis_options.yaml` file located at the root of your
  # package. See that file for information about deactivating specific lint
  # rules and activating additional ones.
  flutter_lints: ^1.0.0
  test_coverage: ^0.5.0

prerequisite
brew install lcov (macOS)
Command
flutter test --coverage
format_coverage --lcov --check-ignore  --in=coverage --out=coverage.lcov --packages=.packages --report-on=lib
genhtml -o coverage/html coverage/lcov.info

Open app/coverage/html/index.html to view results
Result:
Issue 1
I can see _increment method is not getting ignored
Issue 2
Doesn't reproduce in single or multi-class

flutter doctor -v
[✓] Flutter (Channel master, 2.3.0-13.0.pre.187, on macOS 11.3.1 20E241 darwin-x64, locale en-GB)
    • Flutter version 2.3.0-13.0.pre.187 at /Users/tahatesser/Code/flutter_master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision a96e763155 (8 hours ago), 2021-05-26 23:14:02 -0400
    • Engine revision a832502eaf
    • Dart version 2.14.0 (build 2.14.0-153.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Volumes/Extreme/SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Volumes/Extreme/SDK
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.5, Build version 12E262
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)

[✓] IntelliJ IDEA Community Edition (version 2021.1.1)
    • IntelliJ at /Volumes/Extreme/IntelliJ IDEA CE.app
    • Flutter plugin version 56.0.5
    • Dart plugin version 211.7233

[✓] VS Code (version 1.56.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.22.0

[✓] Connected device (3 available)
    • iPhone 12 (mobile) • D72A5DAA-24E6-421B-B4F5-7CFAFB498040 • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
    • macOS (desktop)    • macos                                • darwin-x64     • macOS 11.3.1 20E241
      darwin-x64
    • Chrome (web)       • chrome                               • web-javascript • Google Chrome 90.0.4430.212

• No issues found!

Thanks a lot Taha!
Is using test_coverage package recommended? It seems like the only difference between my setup and yours.

Hi @abhaysood
It's just to used to generate a report, it shouldn't affect the outcome;.
Can you please code for Issue 2?
Thanks

Try this for issue 2. I think the issue is not what I thought originally. It's not just having multiple classes in the file. It's more nuanced. In the following sample.
Result

Sample app
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';

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

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Material App',
      theme: ThemeData.dark(),
      home: Home(),
    );
  }
}

class Home extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('Material App Bar'),
      ),
      floatingActionButton: FloatingActionButton(
        key: Key('goToSecond'),
        child: Icon(Icons.add),
        onPressed: () => Navigator.push(
            context, MaterialPageRoute(builder: (_) => Second())),
      ),
    );
  }

  // coverage:ignore-start
  @override
  void debugFillProperties(DiagnosticPropertiesBuilder properties) {
    super.debugFillProperties(properties);
    properties.add(IntProperty('name', 1));
  }
// coverage:ignore-end
}

class Second extends StatefulWidget {
  @override
  State<Second> createState() => _SecondState();
}

class _SecondState extends State<Second> with Diagnosticable {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('Second screen'),
      ),
    );
  }

  // coverage:ignore-start
  @override
  void debugFillProperties(DiagnosticPropertiesBuilder properties) {
    super.debugFillProperties(properties);
    properties.add(IntProperty('name', 1));
  }
// coverage:ignore-end
}

class MyThemeData with Diagnosticable {
  // coverage:ignore-start
  @override
  void debugFillProperties(DiagnosticPropertiesBuilder properties) {
    super.debugFillProperties(properties);
    properties.add(IntProperty('name', 1));
  }
// coverage:ignore-end
}

Test
void main() {
  testWidgets('Counter increments smoke test', (WidgetTester tester) async {
    // Build our app and trigger a frame.
    await tester.pumpWidget(MyApp());

    // Verify that our counter starts at 0.
    expect(find.text('Material App Bar'), findsOneWidget);
  });
}

@abhaysood
Thanks for the code sample, I can replicate it too

flutter doctor -v
[✓] Flutter (Channel master, 2.3.0-17.0.pre.111, on macOS 11.3.1 20E241
    darwin-x64, locale en-GB)
    • Flutter version 2.3.0-17.0.pre.111 at
      /Users/tahatesser/Code/flutter_master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 6a38994cb8 (7 hours ago), 2021-05-28 02:09:02 -0400
    • Engine revision ecfd7bdffe
    • Dart version 2.14.0 (build 2.14.0-162.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Volumes/Extreme/SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Volumes/Extreme/SDK
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.5, Build version 12E262
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)

[✓] IntelliJ IDEA Community Edition (version 2021.1.1)
    • IntelliJ at /Volumes/Extreme/IntelliJ IDEA CE.app
    • Flutter plugin version 56.0.5
    • Dart plugin version 211.7233

[✓] VS Code (version 1.56.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.22.0

[✓] Connected device (4 available)
    • Taha’s iPhone (mobile) • 00008020-001059882212002E            • ios
      • iOS 14.6
    • iPhone 12 (mobile)     • D72A5DAA-24E6-421B-B4F5-7CFAFB498040 • ios
      • com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
    • macOS (desktop)        • macos                                • darwin-x64
      • macOS 11.3.1 20E241 darwin-x64
    • Chrome (web)           • chrome                               •
      web-javascript • Google Chrome 90.0.4430.212

• No issues found!

/cc @liamappelbe

This is caused by a bug that has been fixed: https://github.com/dart-lang/coverage/pull/347
The fix is in coverage version 1.1.0, which isn't published yet.


Failed file deletions (because of API rate limits) are not reported to the FUSE mount by plexdrive

I use rsync to occasionally delete unneeded files from Google Drive through my Plexdrive mount. The command itself works flawlessly but while rsync thinks all files are deleted they are in fact not always deleted from my Google Drive. This is because plexdrive hits the API limit when performing the API call to delete the file. Apparently plexdrive does not report these failures back to the FUSE mount so tools like rsync have no idea that deletes failed.
I changed my script to delete files one by one using rm and I added a sleep of 0.5 seconds after file deletion so no more than 2 files per second would be deleted but I still saw a lot of rate limit errors. So I increased the sleep even further to 2.5 seconds and I will check if future runs of my script complete without issues.
Anyways it would be great if plexdrive would put file deletions in an internal queue and process them one by one without exceeding the API rate limit and apply an exponential backoff in case it accidentally hits the API limit. Also it should only report the file as deleted to the FUSE mount when the API call for the file deletion actually succeeds. I guess that will mean that file deletions on the plexdrive mount will take a little longer but they would at least be reliable and tools such as rsync can run on the plexdrive mount properly.


delays in rendering a page for appintroslider when app is first opened in version 4.0.4

I upgraded the package to the current version 4.0.4 from 2.0.1 and this seems to be causing delays when rendering for the first time. Navigating to the page for appintroslider drags for about 5 seconds before it opens. This used not to be the case and behaves normally when I downgrade to the 2.0.1

after delving into the source code,
i saw
// index.js
this.state = {
      width: 0,
      height: 0,
      activeIndex: 0,
  };

i change this value width and height to
// Dimensions is from react-native
this.state = {
            width: Dimensions.get('screen').width,
            height: Dimensions.get('screen').height,
            activeIndex: 0,
        };

so the slider wont have width 0 at first (before, seemingly there is no slide at first)
is that what you mean with render time? this is what i meant

I faced the same issue and patched by setting the width and height using Dimensions. Otherwise your slides can may "glitch" initially before the onLayout event is called on the FlatList.

For those still encountering this issue, here's the patch solution:
react-native-app-intro-slider+4.0.4.patch
diff --git a/node_modules/react-native-app-intro-slider/dist/index.js b/node_modules/react-native-app-intro-slider/dist/index.js
index 0935c97..9ca160e 100644
--- a/node_modules/react-native-app-intro-slider/dist/index.js
+++ b/node_modules/react-native-app-intro-slider/dist/index.js
@@ -18,8 +18,8 @@ class AppIntroSlider extends React.Component {
     constructor() {
         super(...arguments);
         this.state = {
-            width: 0,
-            height: 0,
+            width: react_native_1.Dimensions.get('screen').width,
+            height: react_native_1.Dimensions.get('screen').height,
             activeIndex: 0,
         };
         this.goToSlide = (pageNum, triggerOnSlideChange) => {

For help using this patch or with the patch-package dependency, refer to this link https://github.com/Kureev/react-native-blur/issues/444#issuecomment-919359370


Move local storage logging severity from CRITICAL to WARNING.

Our telemetry has shown local storage support to be quite good. These logs can be quieted down a bit.
Also make the recently added session storage logging distinct from local storage logging.

:sheep: it


bug fix

fixed a bug I introduced in 2e3295a that would prevent tree upload under certain circumstances (e.g. fer1 example).
Added a bit of logic that prevents MSA sequence IDs to get messed up when several trees are uploaded consecutively
Added drop import to tree example

@bene200 as said the string/integer comparison can shoot back at some point (if we change a bit of logic), but I will merge this, because it definitely a fix and improvement ;-)


match failed in development

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I have read the Contribution Guidelines

[15:14:27]: Successfully loaded '/Users/huangyang/Desktop/demo/fastlane/Matchfile' 📄

+----------------+--------------------------------------+
|      Detected Values from './fastlane/Matchfile'      |
+----------------+--------------------------------------+
| git_url        | https://github.com/cc/key.git |
| type           | development                          |
| app_identifier | ["com.huangyang.demo"]               |
| username       | ccccccc                     |
+----------------+--------------------------------------+

+-----------------------+--------------------------------------+
|                   Summary for match 2.32.0                   |
+-----------------------+--------------------------------------+
| git_url               | https://github.com/cc/key.git |
| type                  | development                          |
| app_identifier        | ["com.yanghuang.demo"]               |
| username              | ccccccc                     |
| git_branch            | master                               |
| keychain_name         | login.keychain                       |
| readonly              | false                                |
| team_id               | xxxxxx                           |
| verbose               | false                                |
| force                 | false                                |
| skip_confirmation     | false                                |
| shallow_clone         | false                                |
| clone_branch_directly | false                                |
| force_for_new_devices | false                                |
| skip_docs             | false                                |
| platform              | ios                                  |
+-----------------------+--------------------------------------+

[15:14:27]: Cloning remote git repo...
[15:14:27]: If cloning the repo takes too long, you can use the `clone_branch_directly` option in match.
[15:14:34]: 🔓  Successfully decrypted certificates repo
[15:14:34]: Verifying that the certificate and profile are still valid on the Dev Portal...
[15:14:38]: Couldn't find a valid code signing identity in the git repo for development... creating one for you now

+---------------+-----------------------------------------------+
|                    Summary for cert 2.32.0                    |
+---------------+-----------------------------------------------+
| development   | true                                          |
| force         | true                                          |
| username      | ccccccc                              |
| team_id       | xxxxxxx                                    |
| keychain_path | /Users/huangyang/Library/Keychains/login.key  |
|               | chain-db                                      |
| platform      | ios                                           |
+---------------+-----------------------------------------------+

[15:14:38]: Starting login with user 'ccccccc'
[15:14:44]: Successfully logged in

Looking for related GitHub issues on fastlane/fastlane...

➡  Using Match with already existing profiles and certificates
    https://github.com/fastlane/fastlane/issues/8591 [closed] 9 💬
    6 weeks ago

➡  It let me input passphrase when I run match on a different machine
    https://github.com/fastlane/fastlane/issues/9104 [open] 5 💬
    a week ago

➡  match: Could not create another certificate, reached the maximum number of available certificates.
    https://github.com/fastlane/fastlane/issues/5765 [closed] 4 💬
    06 Dec 2016

and 17 more at: https://github.com/fastlane/fastlane/search?q=Could%20not%20create%20another%20Development%20certificate,%20reached%20the%20maximum%20number%20of%20available%20Development%20certificates.&type=Issues&utf8=✓

🔗  You can ⌘ + double-click on links to open them directly in your browser.

i just run  fastlane match development .and  i just don't  know  what happend

NO, Code Signing Troubleshooting Guide  can  not solution  my problem

@xilankong It seems like this may be a similar issue to what was seen here -
https://github.com/fastlane/fastlane/issues/5765#issuecomment-240187920
It seems like the solution might be to try deleting the certs from the iOS dev portal AND also to manually delete the certs and private keys from your Keychain Access. If you could give that a try and let me know how it does that would be great 👌

Try rolling back to fastlane 2.30.0.  I ran into something similar and rolling back fixed the problem for me.  In my case it was running match from the CLI and not in a Fastfile.

@PetrosIchor   when the xcode check the automatically manage signing .  it will create the development cert and profile. so, each time i test the match development, it always failed.
if i revoke the distribution cert and profile  in  apple development center, match appstore success .
when i run  match  development  ,i get the development cert and profile ,but i can't pass the sign with
them.
so, it that  match development useless?


com.google.fonts/check/outline_alignment_miss ERROR if OS/2 version too low

(NOTE: Please include the check-id in the issue's title.)
Observed behaviour
Is the OS/2 table has version number 1, the com.google.fonts/check/outline_alignment_miss has an ERROR:

 >> com.google.fonts/check/outline_alignment_miss
    Are there any misaligned on-curve points?
    with jam8.ttf

      Rationale:
      This check heuristically looks for on-curve points which are close to, but
      do not sit on, significant boundary coordinates. For example, a point
      which has a Y-coordinate of 1 or -1 might be a misplaced baseline point.
      As well as the baseline, here we also check for points near the x-height
      (but only for lower case Latin letters), cap-height, ascender and
      descender Y coordinates.

      Not all such misaligned curve points are a mistake, and sometimes the
      design may call for points in locations near the boundaries. As this check
      is liable to generate significant numbers of false positives, it will pass
      if there are more than 100 reported misalignments.

    ERROR Failed with AttributeError: 'table_O_S_2f_2' object
          has no attribute 'sxHeight' File
          "/usr/local/lib/python3.9/site-packages/fontbakery/checkrunner.py",
          line 193, in _exec_check ↳     for sub_result in result:  # Might
          raise. ↳   File "/usr/local/lib/python3.9/site-packages/fontbakery/pro
          files/outline.py", line 50, in
          com_google_fonts_check_outline_alignment_miss ↳     "x-height":
          ttFont["OS/2"].sxHeight, ↳

    Result: ERROR

Expected behaviour
Skip, or proceed with the check? I have a vague memory that this used to work, so maybe an older version didn't use the xHeight metrics and hence didn't need to go fishing around in the OS/2 table so much.
Can it avoid using the xHeight if it's not available?
Resources and steps needed to reproduce
It is a font file with a version 1 OS/2 table. I can provide such a font file, but the one i am currently investigation also induces other fontbakery ERRORs that would be a distraction at this time.
Discussion
Because of the experimental nature of some of my work, i have fonts with special characteristics that would ordinarily make them unsuitable for much work. I'm still interested in using fontbakery on these fonts, but you may not be.
So my question is, are you interested in me patching things so that checks continue to work (or are skipped) if the OS/2 version is too low?
(PS: you might be surprised at how well a font can work with a low version OS/2 table or even a missing one)

If you feel like sending a PR, I'll be happy to review it.
Otherwise, let me know, and I can spend some time trying to address the issue.

I will investigate and see how it goes. I suspect i'm really the only person who is troubled by this.
Should there be a blanket policy for requesting fields that, due to different versions of OpenType tables, might not exist? In this particular case i can use getattr or hasattr but maybe in general such fields should evaluate to None? Then a genuinely missing attribute would mean either a typo in your code or that the library code predates the publication of a newer table.

has this check moved from check-universal to check-googlefonts ? Hmm, i wonder how old my previous fontbakery was.


Function "ImportErrorf" employs an overzealous sanity check to impel cmd/go to show its path context but doesn't take into account a component which transforms non-printable characters into their quoted form.
Cf. https://cs.opensource.google/go/go/+/refs/tags/go1.22.5:src/cmd/go/internal/load/pkg.go;l=539 [2024-07-14, 2024-08-06]
What did you expect to see?
I would have expected not to be able to provoke a panic in choosing an odd pathname.
Curiously, command "go help" spits back the control character.
; go help "$(echo -e '\x01')" 2>&1 | hd
00000000  67 6f 20 68 65 6c 70 20  01 3a 20 75 6e 6b 6e 6f  |go help .: unkno|
00000010  77 6e 20 68 65 6c 70 20  74 6f 70 69 63 2e 20 52  |wn help topic. R|
00000020  75 6e 20 27 67 6f 20 68  65 6c 70 27 2e 0a        |un 'go help'..|
0000002e

Earnestly, I would have expected the name to get escaped to "\x01" in both "go help" and "go [run|test|build]".

Related Issues and Documentation

cmd/go: build panics when passed `="` as build path #49137
cmd/go: panic when building a `main` package in GOPATH mode when a go.work file exists #58767 (closed)
cmd/go: panic with empty import #61224 (closed)
cmd/go: panic: LoadImport called with empty package path [recovered] when building source #67984
cmd/go: go get panics when import path contains "cmd/something" #7638 (closed)
cmd/go: malformed import path "example.com/vers/β": invalid char 'β' #44842 (closed)
cmd/go: go build panics with empty old build constraints #44487 (closed)
cmd/compile: encoded pkg path shown in stack trace #35558
cmd/vet: go vet import panic #16720 (closed)
cmd/vet: panic on inconsistent import #16633 (closed)

(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)

cc @matloob @samthanawalla

I think escaping the paths every time they appear is out of scope, but I will send a CL to fix the panic.


fixed a few more references still pointing to chapter "08" instead of "05"

Found a few more outdated references that seem to have slipped through the tool. Those should be all fixed by this commit as search&replace did not yield any results for any other subsection in chapter 05 (meet your software). :nerd_face:

Thanks much! Yeah, turns out the tool only checks references that are hyperlinks: more work is needed. Appreciate your help.


MinGW Cross-Compile on Linux for Windows

I am running Ubuntu 20.04.
Is there a way to cross compile for Windows? I do not know much about CMake but I looked in CMakeLists.txt and did not see anything. I tried adding -D CMAKE_CXX_COMPILER=/usr/bin/x86_64-w64-mingw32-g++ to the command but then I just get "/usr/bin/x86_64-w64-mingw32-gcc" is not able to compile a simple test program.

Hi, I think this question falls outside the scope of this repository and is more a CMake question. I would suggest looking at this SO answer: https://stackoverflow.com/a/48422547/4005637


Unable to access database

Hi everyone,
I setup the bot as described and everything works until I try an active record query to my database. This fails. Is this because there is no controller? Currently I made a new folder app/bots and put the file in there. Am I doing something wrong? I want my chatbot to be able to access a table and retrieve information.
Thanks,
Aaron

Hi @aharonhillel. This sounds like an issue with your Rails application rather than this gem, but to be able to help we need the exact error and stack trace.

Feel free to reopen this if you're still having this issue.


[release-1.8] Fix probe header

This is an cherry-pick of #31981
Fixes #32106

@wzshiming: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio_release-1.8
22078eb59440580c4991672377051f4d51916170
link
/test release-notes_istio_release-1.8

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@wzshiming: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio_release-1.8
22078eb59440580c4991672377051f4d51916170
link
/test release-notes_istio_release-1.8

lint_istio_release-1.8
22078eb59440580c4991672377051f4d51916170
link
/test lint_istio_release-1.8

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@wzshiming: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio_release-1.8
22078eb59440580c4991672377051f4d51916170
link
/test release-notes_istio_release-1.8

lint_istio_release-1.8
22078eb59440580c4991672377051f4d51916170
link
/test lint_istio_release-1.8

gencheck_istio_release-1.8
22078eb59440580c4991672377051f4d51916170
link
/test gencheck_istio_release-1.8

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@wzshiming: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

lint_istio_release-1.8
22078eb59440580c4991672377051f4d51916170
link
/test lint_istio_release-1.8

gencheck_istio_release-1.8
22078eb59440580c4991672377051f4d51916170
link
/test gencheck_istio_release-1.8

release-notes_istio_release-1.8
00adf7240e945d0ce5fd1f836a110aa92892951f
link
/test release-notes_istio_release-1.8

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@wzshiming: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio_release-1.8
00adf7240e945d0ce5fd1f836a110aa92892951f
link
/test release-notes_istio_release-1.8

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest

@wzshiming: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

unit-tests_istio_release-1.8
00adf7240e945d0ce5fd1f836a110aa92892951f
link
/test unit-tests_istio_release-1.8

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest


mobile navbar shown on desktop-width viewport

When I installed bootstrap 4, it appeared to be that all my glyphs disappeared, the glyphs did not appear and all my buttons' fonts went below the button (although that's probably to do with the font)
Before:

After:

If you wish for my HTML, please comment

The Glyphicons integration has been removed in v4: http://v4-alpha.getbootstrap.com/migration/#components
You can either include them on your own, or use another icon set (e.g. Font Awesome).
Regarding the width problem, we'd need a JS Fiddle or JS Bin example to investigate.

What is a Jsbin

http://jsbin.com/
http://jsbin.com/help/getting-started

Closing due to lack of response.