Possible fix for https://www.notion.so/lyrasis/ProQuest-import-fails-…

…on-NYU-Palace-CM-dc1be0b64cb5448ebbc5c22feddfd3d3
Description

Motivation and Context

How Has This Been Tested?

Checklist

[ ] I have updated the documentation accordingly.
[ ] All new and existing tests passed.

This is a DRAFT PR for discussion only.

@dbernstein Please edit the top-level comment to complete the PR template, especially including how you have tested this (e.g., ran the test suite, successfully completed a ProQuest import, something else).
Also, FYI, if you want the PR to be a draft, you can create it as such by tapping the pulldown on the Create PR button and changing it to a draft before clicking the button itself (more details here). Or, if you've already created the PR, you can tap the Convert to draft text in the right-hand sidebar, under the Reviewers section.


Enhanced descritpions/explanations of modules

Customer is trying to automate deployments of Azure and AWS protection and there are components referenced with no description of what they are.
Customer is unable to fully automate deployment and create functional terraform code.
Is it possible to update the modules with a more detailed outline of the modules and components used?
Thanks

Documentation for AWS has been updated in v0.9.0-beta.8.


[BUG] Replication Failover Gap

Replication Failover on Production Outage has Data Gap

When configuring replication between Prod and DR sites of opensearch, and we have an outage on Production, there will be some data that are not synced to DR opensearch.

What is the proper solution for such case?

Failing over will result in having some documents or messages that are not available on the DR site, would it be a solution to let the ETL start again from the point where it should start from ?

Is there any other better way to handle/configure synchronous replication between opensearch Prod and opensearch DR sites, something like 2 phase commit, meaning data will not be written/committed on Prod unless it is written on DR site ?

because I do not see any replication configuration to tune the speed of replication or the pulling interval for the data (not metadata/settings or new matching indices when having an auto-follow rule configured between Prod and DR sites) Replication settings

Kindly advise, and thanks in advance for your time and support.

We do not support synchronous replication.
During DR, follower stats can give you the last tracked leaderCheckpoint & followerCheckpoint but 1) it tracks changes at shard level whereas user is concerned about REST API level. 2) Checkpoint doesn't tell you the total data replicated in terms on time but rather as a monotonically increasing integer value.
CCR provides 1 min SLA for replication and usually is under 20 seconds. But its hard to guarantee this as a lot depends on the workload and overall resource consumption.


Rename of images in the Media Library doesn't allow to change the name

Every time I upload a photo from my camera I need to rename it to something more informative. Whatever I enter in the field, the error message is displayed:

Please correct the following errors.
Only letters, numbers, underscores, spaces and hyphens are allowed.

This is all in Mezzanine 4.1.0.

This is working as intended. Please use the mailing list.

@stephenmcd If this is the correct reference, this bug should not be closed due to multiple reasons:

The error message is completely misleading, since there is nothing wrong with this filename.
During the renaming process Mezzanine should not care about other files than this one (and the file with the target filename).
Using dots in the prefix should be allowed by default. It is a pattern seen far too often.


Multiple choice type?

Example from Yeoman.

Is this possible with Vorpal?

Yes it is! Vorpal uses Inquirer.js for prompts, which was built for Yeoman originally. @sboudrias

:+1: Thanks!

No problem. :smiley:


Configure JMS Server logs on PV and verify

Modified the existing test which patches the domain with config map to create JMS server to use LOG_HOME env var to log on PV for JMS message log file.
Also fixed the rolling restart assertions which were reporting incorrect error messages.
Jenkins results -
https://build.weblogick8s.org:8443/job/weblogic-kubernetes-operator-kind-new/1940/
https://build.weblogick8s.org:8443/job/weblogic-kubernetes-operator-kind-new/1945/ - known failures
https://build.weblogick8s.org:8443/job/weblogic-kubernetes-operator-kind-new/1951/ - just started a run after syncing to latest develop

Rerun the entire suite with latest develop branch

Its in the description.


Volumes option for commands

In some cases it would be nice to have a possibility to override volumes for а command. For example we could have single container with database inside it and 2 commands: one for development with persistent data and one for tests with data in tmpfs.

Fixed by #232


AST serialization

The problem
Using CUE upstream of other languages.
e.g., having CUE as a type provider for a language,
an argument parser specification, or a data layout description
The suggestion
Enable serialization to JSON/YAML of a successfuly unified but not concrete CUE value using a convention.
Example
$ cue ast-serialize << EOS
{
  a: > 7
  b: "myvalue"
  c: int
  d: e: int
} & {
  d: e: 8
}
EOS
{
  "a": {
      "_type": "larger_than"
      "value": 7
   }
  "b": {
      "_type": "string"
      "value": "myvalue"
  }
  c: {
    "_type": "type"
    "value": "int"
  }
  "d": {
      e: {
        "_type": "int"
        "value": 8
      }
  }
}

Alternatives
The current way would be importing CUE as a library from a different Go program. This is a barrier to participation for non-Go developers as well as difficult language mixing - arguably it's easier to provide types/generate argparsers/read data layouts from within a given language paradigm than from outside of it.
Open questions
I don't have a specific design for the serialization convention. Since I think this is a more niche use-case (albeit with - possibly - a lot of second-order users), there's a lot of freedom to implement this in the easiest way that still covers the AST's spec.
Related to #162 #6 #246

#162

This would get very close to defining another JSON Schema type. It probably makes more sense to augment JSON schema or OpenAPI (with "x-attr" extensions) to cover more CUE.

For the sake of explicitness, say I want to write a "type provider" that uses CUE to generate python class definitions and their constructors. The current flow would be:
Go program that imports CUE as a library, processes a CUE structure, and outputs OpenAPI spec, which then is read by python to generate the classes
Is that a fair description, or am I missing something?

That would be a possible way to do it, indeed.
Alternatively, if you're building a python generator anyway, why not generate it from the CUE AST directly? I realize it then would have to be a Go program.

You're right that if there's already a Go program that is not CUE it might as well do the generating. I was looking for the path with the least amount of the non-python code.

This issue has been migrated to https://github.com/cue-lang/cue/issues/296.
For more details about CUE's migration to a new home, please see https://github.com/cue-lang/cue/issues/1078.


Add a generic type argument to fetch() function and Body interface

The generic type argument would add depth and consistency to the fetch types.
Expected behavior (example):
Generated definitions:
interface Body<T = any> {
    readonly bodyUsed: boolean;
    arrayBuffer(): Promise<ArrayBuffer>;
    blob(): Promise<Blob>;
    formData(): Promise<FormData>;
    json(): Promise<T>;
    text(): Promise<string>;
}

interface Request<T = any> extends Body<T> {...}
interface Response<T = any> extends Body<T> {...}
...

interface GlobalFetch {
    fetch<T>(input?: Request | string, init?: RequestInit): Promise<Response<T>>;
}

Usage with type:
type MyFetchResponse = { a: string, b: number };
fetch<MyFetchResponse>('https://someserver.com/get?a=string&b=number').then(response => {
  response.json().then(data => {
    // data is MyFetchResponse

    // Both of these are autocompleted at this point
    data.a
    data.b

    data.c //Error: Property 'c' does not exist on type MyFetchResponse
  })
})

Usage without types (same as current):
fetch('https://someserver.com/get?a=string&b=number').then(response => {
  response.json().then(data => {
    // data is any
    data.a
    data.b

    data.c //No error here
  })
})

Actual behavior:
fetch('https://someserver.com/get?a=string&b=number').then(response => {
  response.json().then(data => {
    // data is any
    data.a
    data.b

    data.c //No error here
  })
})

Motivation:
The proposed change would make the usage of fetch much more convenient in typed code without the need for unnecessary castings and overrides.
This change will not brake any other definitions relying on Body, Request and Response interfaces due to the use of optional generic arguments. Therefore, in current definitions, declare var a: Response will automatically evaluate to declare var a: Response<any> thus making the change backward-compatible.
P.S. Creating an issue instead of the pull request because I'm not familiar with WIDL syntax that's used here and I coudn't find any explanatory documentation on it.

Nice idea. Maybe only overriding the json method is enough?
response.json<MyFetchResponse>()

@ViceIce, hmm... Why not both?
interface Body<T = any> {
    readonly bodyUsed: boolean;
    arrayBuffer(): Promise<ArrayBuffer>;
    blob(): Promise<Blob>;
    formData(): Promise<FormData>;
    json<P = T>(): Promise<P>;
    text(): Promise<string>;
}

This way it will be possible to override the json() type independently.
By the way, I still insist on giving a generic type arg to fetch() too because in some cases it's return type (Response) is being piped to a json by other frameworks that just forward its return type - and you don't get a lot of access for type overriding in such a case.
And, also, the response itself would be bound to the specific type in this case, which is useful when it's processed at a different abstraction level.

Ok. Trying to make a PR.

@ViceIce, any updates on this?

Sorry, not yet.
Making  only the json method generic is more easy than making an bas interface generic.
I have to check, how this has to be done.

The only information i found for editing the files are from here:
Microsoft/TypeScript/blob/master/CONTRIBUTING.md#contributing-libdts-fixes


Support jest coverage output

See https://github.com/aspect-build/rules_js/issues/337 for more context

If it helps anyone,
I've managed to tricks Bazel into reading the outputed jest lcov using this jest config:
const path = require('path');

module.exports = {
  testEnvironment: 'node',
  reporters: ['default', ['jest-junit', { outputFile: process.env.XML_OUTPUT_FILE }]],
  testMatch: ['**/*.{test,spec}.js'],
  setupFiles: ['./test/.jest/set_env_vars.js'],
  collectCoverage: true,
  coverageDirectory: path.dirname(process.env.COVERAGE_OUTPUT_FILE),
  coverageReporters: ['text', ['lcovonly', { file: path.basename(process.env.COVERAGE_OUTPUT_FILE) }]],
};

This should be easier to add now that jest_test generates a jest config file that we can add
  collectCoverage: true,
  coverageDirectory: path.dirname(process.env.COVERAGE_OUTPUT_FILE),
  coverageReporters: ['text', ['lcovonly', { file: path.basename(process.env.COVERAGE_OUTPUT_FILE) }]],

when coverage is enabled


Register new Pass Type ID

Following this question https://github.com/fastlane/fastlane/issues/2067, is it possible to register new Pass Type IDs using fastlane? I'm aware that there is support to build upon already registered ids, but how can I create them automatically for every new app? Thanks,

@pedro380085 This is not currently possible but I'll mark it as a feature request to see if others are interested. Thanks!

Refistering Pass Type IDs would be especially useful if you could also create a certificate for it.


Fix CDN in a Box vnc dependencies in Dockerfile

What does this PR (Pull Request) do?

[x] This PR is not related to any Issue
This PR gets the CDN in a Box vnc image to build by installing tigervnc specifically instead of installing the vnc alias and installing Google Noto fonts instead of webcore-fonts.

Which Traffic Control components are affected by this PR?

CDN in a Box

What is the best way to verify this PR?

Verify that the dependencies issue mentioned by @ARMmaster17 on the ATC slack no longer occurs when building the vnc image:
#6 13.52 Error: Unable to find a match: webcore-fonts vnc
------
executor failed running [/bin/sh -c dnf -y install <https://download1.rpmfusion.org/free/el/rpmfusion-free-release-7.noarch.rpm> epel-release &&     dnf -y install xterm firefox git tigervnc-server sudo bind-utils net-tools which passwd which                    fluxbox webcore-fonts terminus-fonts vnc mplayer wget openssl curl nc &&     dnf -y clean all && rm -rf /var/cache/dnf]: exit code: 1
ERROR: Service 'vnc' failed to build : Build failed

If this is a bug fix, what versions of Traffic Control are affected?

The following criteria are ALL met by this PR

[x] CDN in a Box changed only, tests are unnecessary
[x] Bugfix, documentation is unnecessary
[x] An update to CHANGELOG.md is not necessary
[x] This PR includes any and all required license headers
[x] This PR DOES NOT FIX A SERIOUS SECURITY VULNERABILITY (see the Apache Software Foundation's security guidelines for details)

Thank you for this PR, that was fast! I tried pulling this branch and running it locally. The container builds fine now, but the VNC service never comes up. Poking around some more I found that the old vnc package used a really old version of TigerVNC. Newer versions use systemd instead of the vncserver script, and the container as it is right now errors out with:
vncserver has been replaced by a systemd unit.
Please read /usr/share/doc/tigervnc/HOWTO.md for more information.

I've spent all morning on this without much luck. I can work around this for the time being using SOCKS. I'll keep poking at it to see if I find anything new, but if anyone else wants to give a shot at this PR, here's all the things I tried that don't work:

Revert to tigervnc-server v1.7.1 (package not in any CentOS repos, and manual RPM install was having odd dependency issues).
Install systemd packages into Docker container (requires a multi-step build process)
Use centos/systemd as base image (running into permission errors)

Red Hat re-added the vncserver script in CentOS Stream (and it still exists in CentOS 7), so this is a CentOS 8-only issue. Manually re-added the vncserver script in c6b0195b43.


Could you please provice the run command about lama2-7b and llama2-13b?

          > Hi @noah-yxk , thank you for your interest in our work!

I ran your command and it gives me ~ 0.66 test accuracy, can you also share your replication results? Thanks.
It appears to me that the resulting model is not well-trained. The following command
python run_cdm.py task_names cora_node num_epochs 20 d_multiple 10.0 d_min_ratio 10.0 lr 0.0001 JK none batch_size 64
gives a test accuracy of 0.745. d_multiple 10.0 means that we sample 10*len(dataset) data points for training in one epoch. If you still can't get similar results, please let us know. I think what happened in the command you provided is that we have a learning_rate scheduler that decreases learning rate for every 15 epochs, but this causes performance decrease for cora-node dataset. In the command I provided, the learning rate only decreases once at epoch 15.
For the individual experiment, especially for small datasets like cora-node, extra care is needed to make sure the model is well-trained and not overfitted, we have learning rate and batch_size set at 0.0001 and 64 to reduce the likelihood of overfitting. We will hopefully add hyperparameter settings for individual experiments in our next revision.
Cheers

Hi, @LechengKong , when I use the llama2-7b or llama2-13b as the llm encoder, the acc is around 0.68. Could you please provice the run command about lama2-7b and llama2-13b?
Originally posted by @1957787636 in https://github.com/LechengKong/OneForAll/issues/6#issuecomment-2081955490

If you have a free moment, could you please look at this? Thanks.

Hi @1957787636 , do you mean individual experiment or joint experiment? Can you share your command? Thanks.

Hi @1957787636 , do you mean individual experiment or joint experiment? Can you share your command? Thanks.
Can you also check if you are on the latest version? We committed several major changes recently.

Hi @LechengKong, thank for your reply. I want to reproduce the results of cora_node and pubmed_node in Table 3 using the llama2-7b and llama2-13b. The command I use is as follows:
python run_cdm.py task_names cora_node num_epochs 20 d_multiple 10.0 d_min_ratio 10.0 lr 0.0001 JK none batch_size 64
the accuracy is 0.54493.

Lastly, I'm sure I'm using the latest version.
I would be grateful if you could provide me with the command to run cora_node and cora_pubmed using using the llama2-7b and llama2-13b in Table3.
Looking forward to your reply!

Hi @1957787636 , note that the llama2 results in Table 3 are NOT individual dataset experiments, it is obtained by jointly training all datasets together and evaluating on different datasets. You should not get the same results as in Table 3 if you only train on cora or PubMed as your command suggested.
Meanwhile, we just tried individual experiments using your command and got the 0.68 results. This makes sense because llama2 provides much more fine-grained text embedding which easily leads to overfitting (all train results reach 1.00 accuracy). We tried varying dropout and l2 but they didn't seem to help with the test results, and I think the results you obtained are valid.

Hi, @LechengKong , I want to reproduce the result of cora_node under OFA-ind-st, but the ACC I get is only 70%, which is quite different from the 75.61±0.87 reported in Table 3. I use the command you recommended in issue6: python run_cdm.py task_names cora_node num_epochs 20 d_multiple 10.0 d_min_ratio 10.0 lr 0.0001 JK none batch_size 64

Hi @1957787636 can you try the following command:
python run_cdm.py task_names cora_node num_epochs 20 d_multiple 10.0 d_min_ratio 10.0 lr 0.0001 JK none batch_size 64 dropout 0.15

we removed the default 0.15 dropout in one of our commits.

Hi @1957787636 can you try the following command:
python run_cdm.py task_names cora_node num_epochs 20 d_multiple 10.0 d_min_ratio 10.0 lr 0.0001 JK none batch_size 64 dropout 0.15

we removed the default 0.15 dropout in one of our commits.

thank your for your reply. I use your commend, the reslut is reasonable. Furthermore,  I want to reproduce the result of cora_node under OFA-llama2-7b(jointly), I used the recommended commands, but couldn't get the results in Table 3. The commend as follows: python run_cdm.py --override e2e_all_config.yaml num_layers 7 batch_size 512 dropout 0.15 JK none


Controllers are overpredicted after specific commit

Environment: Arch Linux distrobox on Fedora Silverblue, Flatpak as well, steamvr 1.26.6
Prediction, velocity cutoffs default
With specific commit (8867dd28c66f1cb9d15c0c61cdbb82f3e75efe33) seems like controllers gets aggressively predicted forward in time, which makes using them very hard/unusable in fast motion.
If you set both angular and linear velocities cutoff to max, it gets similar to what was before, but in fast motion completely incorrect.
For testing with nightly:

https://github.com/alvr-org/ALVR-nightly/releases/tag/v21.0.0-dev00%2Bnightly.2023.07.03 (without overprediction)
https://github.com/alvr-org/ALVR-nightly/releases/tag/v21.0.0-dev00%2Bnightly.2023.07.04 (with overprediction)

I got my dates mixed up with this issue and thought it came before that commit (when trying nightlies), but I was wrong. Just did a git revert 8867dd28c66f1cb9d15c0c61cdbb82f3e75efe33 and it works perfectly, so not much to add but can confirm this is an issue and is solved by reverting that commit

Since Monado compatibility rewrite will anyway affect this part of code, and @zarik5 is fine with reverting this back, we can revert to original state for now.


Implement more sophisticated bitswap strategy

Closing per discussions that less altruistic strategies might not be applicable to global ipfs, at least in the original sense. Theere might be application specific roles needed in the future but we are not there yet.


.net core + nuget package: Could not load file or assembly 'System.Configuration.ConfigurationManager

Scenario:

Create new .net core application
Add reference Unofficial.Microsoft.AnalysisServices.AdomdClient nuget package, version 13.0.4001 (latest atm)
Try to open a connection to an SSAS instance

var connectionString = "Provider = MSOLAP.7; Data Source = hidden Catalog=hidden;User ID=hidden Password=hidden Properties="hidden";Application Name='hidden';";
using (var connection = new AdomdConnection(connectionString))
{
connection.Open();
}
Exception thrown: 'System.IO.FileNotFoundException' in Microsoft.AnalysisServices.AdomdClient.dll
An unhandled exception of type 'System.IO.FileNotFoundException' occurred in Microsoft.AnalysisServices.AdomdClient.dll
Could not load file or assembly 'System.Configuration.ConfigurationManager, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.

Closing this, since it does not happen with latest version, <IP_ADDRESS>


Makes the orb roll

About the PR

The orb is a sphere, it now rolls.
Media

[ ] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog

:cl:

tweak: The orb rolls.

Google says the coefficient for rolling friction is usually 1/100-1/1000 the coefficient for sliding friction.

wheres the video of it rolling, i demand it

Provided at some point not dead of night o clock.

wheres the video of it rolling, i demand it

https://github.com/space-wizards/space-station-14/assets/53582584/7493f4f1-3d16-4738-b7c5-03d5c08c0dee

Test failure appears to be something to do with telecomms wiring.

test failure is a false flag

Bowling when

wheres the video of it rolling, i demand it

Space.Station.14.2023-05-14.22-10-20.online-video-cutter.com.mp4

OK, now do it with 10 beer bottles standing in a triangle shape at the end of a long hallway...


Space Viewer issue for [dataset name]

Link
https://huggingface.co/spaces/ivelin/ui-refexp
Description
Hello HF team,
Not sure if this issue belongs here, but I could not find a dedicatred repo for Spaces Server issue.
My space referenced in the link has been working fine for a few weeks. However this morning it started erroring with the message below without any code changes on my end that I can think of. Could you please advise what I need to do to fix it:
Regards:
Successfully built validators ffmpy python-multipart
Installing collected packages: rfc3986, pydub, ffmpy, zipp, websockets, watchdog, uc-micro-py, tzdata, tornado, toolz, toml, sniffio, smmap, semver, python-multipart, pyrsistent, pyparsing, pympler, pygments, pydantic, pycryptodome, pkgutil-resolve-name, orjson, mdurl, markupsafe, kiwisolver, h11, fonttools, entrypoints, decorator, cycler, contourpy, cachetools, blinker, backports.zoneinfo, validators, uvicorn, pytz-deprecation-shim, matplotlib, markdown-it-py, linkify-it-py, jinja2, importlib-resources, importlib-metadata, gitdb, anyio, tzlocal, starlette, rich, pydeck, mdit-py-plugins, jsonschema, httpcore, gitpython, httpx, fastapi, altair, streamlit, gradio
Successfully installed altair-4.2.0 anyio-3.6.2 backports.zoneinfo-0.2.1 blinker-1.5 cachetools-5.2.1 contourpy-1.0.7 cycler-0.11.0 decorator-5.1.1 entrypoints-0.4 fastapi-0.89.1 ffmpy-0.3.0 fonttools-4.38.0 gitdb-4.0.10 gitpython-3.1.30 gradio-3.16.1 h11-0.14.0 httpcore-0.16.3 httpx-0.23.3 importlib-metadata-6.0.0 importlib-resources-5.10.2 jinja2-3.1.2 jsonschema-4.17.3 kiwisolver-1.4.4 linkify-it-py-1.0.3 markdown-it-py-2.1.0 markupsafe-2.1.2 matplotlib-3.6.3 mdit-py-plugins-0.3.3 mdurl-0.1.2 orjson-3.8.5 pkgutil-resolve-name-1.3.10 pycryptodome-3.16.0 pydantic-1.10.4 pydeck-0.8.0 pydub-0.25.1 pygments-2.14.0 pympler-1.0.1 pyparsing-3.0.9 pyrsistent-0.19.3 python-multipart-0.0.5 pytz-deprecation-shim-0.1.0.post0 rfc3986-1.5.0 rich-13.2.0 semver-2.13.0 smmap-5.0.0 sniffio-1.3.0 starlette-0.22.0 streamlit-1.17.0 toml-0.10.2 toolz-0.12.0 tornado-6.2 tzdata-2022.7 tzlocal-4.2 uc-micro-py-1.0.1 uvicorn-0.20.0 validators-0.20.0 watchdog-2.2.1 websockets-10.4 zipp-3.11.0
WARNING: You are using pip version 22.0.2; however, version 22.3.1 is available.
You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command.
DONE 16.9s

--> COPY --link --chown=1000 --from=lfs /app /home/user/app
DONE 0.0s

--> COPY --link --chown=1000 ./ /home/user/app
DONE 0.1s

--> Pushing image
DONE 21.2s

--> Exporting cache
DONE 4.4s

===== Application Startup at 2023-01-21 17:56:28 =====

Loading model checkpoint: ivelin/donut-refexp-combined-v1
Traceback (most recent call last):
  File "app.py", line 12, in
    processor = DonutProcessor.from_pretrained(pretrained_repo_name)
  File "/home/user/.local/lib/python3.8/site-packages/transformers/processing_utils.py", line 184, in from_pretrained
    args = cls._get_arguments_from_pretrained(pretrained_model_name_or_path, **kwargs)
  File "/home/user/.local/lib/python3.8/site-packages/transformers/processing_utils.py", line 228, in _get_arguments_from_pretrained
    args.append(attribute_class.from_pretrained(pretrained_model_name_or_path, **kwargs))
  File "/home/user/.local/lib/python3.8/site-packages/transformers/models/auto/image_processing_auto.py", line 307, in from_pretrained
    config_dict, _ = ImageProcessingMixin.get_image_processor_dict(pretrained_model_name_or_path, **kwargs)
  File "/home/user/.local/lib/python3.8/site-packages/transformers/image_processing_utils.py", line 257, in get_image_processor_dict
    resolved_image_processor_file = cached_file(
  File "/home/user/.local/lib/python3.8/site-packages/transformers/utils/hub.py", line 409, in cached_file
    resolved_file = hf_hub_download(
  File "/home/user/.local/lib/python3.8/site-packages/huggingface_hub/utils/_validators.py", line 124, in _inner_fn
    return fn(*args, **kwargs)
  File "/home/user/.local/lib/python3.8/site-packages/huggingface_hub/file_download.py", line 1150, in hf_hub_download
    with open(ref_path) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/user/.cache/huggingface/hub/models--ivelin--donut-refexp-combined-v1/refs/main'

Hi, thanks for reporting. Could you better open a new discussion in https://huggingface.co/spaces/ivelin/ui-refexp/discussions and tag @cbensimon?


[gklib] Fix build error with Android triplet

Fixes https://github.com/microsoft/vcpkg/issues/36791
No feature need to be tested.

[x] Changes comply with the maintainer guide.
[ ] SHA512s are updated for each updated download.
[ ] The "supports" clause reflects platforms that may be fixed by this new version.
[ ] Any fixed CI baseline entries are removed from that file.
[ ] Any patches that are no longer applied are deleted from the port's directory.
[x] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[x] Only one version is added to each modified port's versions file.

@BillyONeal Is this modification the final solution to this issue? If it is, I will close my PR.

@BillyONeal Is this modification the final solution to this issue? If it is, I will close my PR.

I'm not sure this is correct either; it depends on how that macro gets actually used.

I'm not sure this is correct either; it depends on how that macro gets actually used.

I wouldn't have introduced the API level check if I hadn't tested it that time.
It somewhat mirrors my original comment here: It is not enough to see a declaration --- or header. You need an implementation.

Duplicate of https://github.com/microsoft/vcpkg/pull/37877


TXE AL Node Data SOS

kip and I got the data off his nodes at TXE.  i added drive link to spreadsheet. today is the 15th, the nodes stopped recording data on the 13th (415) and 12th (431, 463,485).  He is worried.
Do the nodes run out of space to record data at a certain point if not uploading to gateway?? @alondrathompson
We didn't download data off the gateway today (are we supposed to or did we decide no?)

The nodes do eventually run out of memory but they'll just erase the oldest data and start over. It would take a lot of data to get to that point though.
From: annabirnbaum @.>
Sent: Tuesday, June 15, 2021 4:40 PM
To: precision-sustainable-ag/On-farm-Protocols @.>
Cc: Thompson, Alondra - ARS @.>; Mention @.>
Subject: [precision-sustainable-ag/On-farm-Protocols] TXE AL Node Data SOS (#108)
kip and I got the data off his nodes at TXE. i added drive link to spreadsheet. today is the 15th, the nodes stopped recording data on the 13th (415) and 12th (431, 463,485). He is worried.
Do the nodes run out of space to record data at a certain point if not uploading to gateway?? @alondrathompsonhttps://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Falondrathompson&data=04|01||9ce134f8bf234320a71a08d9303dbe1b|ed5b36e701ee4ebc867ee03cfa0d4697|0|0|637593864012342316|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=I%2Buq%2FwYxGxCvVH2TBeYkTC1DXYzWVzmFRMnVGeF7kok%3D&reserved=0
We didn't download data off the gateway today (are we supposed to or did we decide no?)

You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fprecision-sustainable-ag%2FOn-farm-Protocols%2Fissues%2F108&data=04|01||9ce134f8bf234320a71a08d9303dbe1b|ed5b36e701ee4ebc867ee03cfa0d4697|0|0|637593864012342316|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=Zjy8SDHXuHByl%2FOkJdS%2BBGY%2B5yGXR%2FdmZoViVOkflRQ%3D&reserved=0, or unsubscribehttps://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAMQHBSBYRHXY3DKH3SLXQYDTS63B5ANCNFSM46YAFZPA&data=04|01||9ce134f8bf234320a71a08d9303dbe1b|ed5b36e701ee4ebc867ee03cfa0d4697|0|0|637593864012352266|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=%2BoGN6PYsPYt%2F3xyW%2FKFP%2F%2BZYD6dEKH%2B9rmNGHXHt7Fs%3D&reserved=0.
This electronic message contains information generated by the USDA solely for the intended recipients. Any unauthorized interception of this message or the use or disclosure of the information it contains may violate the law and subject the violator to civil or criminal penalties. If you believe you have received this message in error, please notify the sender and delete the email immediately.

okay, so this is a mystery issue..

This seems like part of the communication problem we are having.
Unfortunately, the communication problem is preventing the nodes from
logging because they are stuck trying to talk to the gateway.  We need to
shut down communications at this site and put the node into logging mode
only.  We didn't have time to walk through that process but Alondra and
Esleyther can do a walk through of the menu choices.
Chris
Chris Reberg-Horton
Professor of Cropping Systems
University Faculty Scholar
Department of Crop and Soil Sciences, Campus Box 7620
NC State University
Raleigh, NC 27695-7620
919 515-7597
@.***
On Tue, Jun 15, 2021 at 4:46 PM annabirnbaum @.***>
wrote:

okay, so this is a mystery issue..
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/precision-sustainable-ag/On-farm-Protocols/issues/108#issuecomment-861819770,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALP7JSGR7XHDXULWSLHRO4TTS632HANCNFSM46YAFZPA
.

Yes, I had forgotten we had discussed this when I was on the phone with Kip yesterday.
I know how to put them into logging node, I had to do this for a few sites last year, I’ll call him back today.
I’m confused because I thought the updated firmware prevented this issue from happening and that they would continue to log data even with gateway issues.
Anna Paulk Birnbaum
Agricultural Specialist
UGA-Department of Crop and Soil Sciences
1420 Experiment Station Rd
Watkinsville, GA 30677
C:<PHONE_NUMBER>

From: Chris Reberg-Horton @.>
Sent: Wednesday, June 16, 2021 7:32 AM
To: precision-sustainable-ag/On-farm-Protocols @.>
Cc: Anna Paulk Birnbaum @.>; Author @.>
Subject: Re: [precision-sustainable-ag/On-farm-Protocols] TXE AL Node Data SOS (#108)
[EXTERNAL SENDER - PROCEED CAUTIOUSLY]
This seems like part of the communication problem we are having.
Unfortunately, the communication problem is preventing the nodes from
logging because they are stuck trying to talk to the gateway. We need to
shut down communications at this site and put the node into logging mode
only. We didn't have time to walk through that process but Alondra and
Esleyther can do a walk through of the menu choices.
Chris
Chris Reberg-Horton
Professor of Cropping Systems
University Faculty Scholar
Department of Crop and Soil Sciences, Campus Box 7620
NC State University
Raleigh, NC 27695-7620
919 515-7597
@.***
On Tue, Jun 15, 2021 at 4:46 PM annabirnbaum @.***>
wrote:

okay, so this is a mystery issue..
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/precision-sustainable-ag/On-farm-Protocols/issues/108#issuecomment-861819770,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALP7JSGR7XHDXULWSLHRO4TTS632HANCNFSM46YAFZPA
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/precision-sustainable-ag/On-farm-Protocols/issues/108#issuecomment-862302971, or unsubscribehttps://github.com/notifications/unsubscribe-auth/APL6HJY3A24EXPOETBVO5VLTTCDUJANCNFSM46YAFZPA.

@annabirnbaum I thought so too. :/

I know this is oversimplification, but can the firmware code be written to tell the nodes to keep recording even if they can’t get in touch with the gateway? Is it a storage issue?
What programming language do you use for the firmware? My husband is a programmer, maybe we can bribe him into helping....
Getting desperate.
Anna Paulk Birnbaum
Agricultural Specialist
UGA-Department of Crop and Soil Sciences
1420 Experiment Station Rd
Watkinsville, GA 30677
C:<PHONE_NUMBER>

From: alondrathompson @.>
Sent: Wednesday, June 16, 2021 9:50 AM
To: precision-sustainable-ag/On-farm-Protocols @.>
Cc: Anna Paulk Birnbaum @.>; Mention @.>
Subject: Re: [precision-sustainable-ag/On-farm-Protocols] TXE AL Node Data SOS (#108)
[EXTERNAL SENDER - PROCEED CAUTIOUSLY]
@annabirnbaumhttps://github.com/annabirnbaum I thought so too. :/
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/precision-sustainable-ag/On-farm-Protocols/issues/108#issuecomment-862397746, or unsubscribehttps://github.com/notifications/unsubscribe-auth/APL6HJZ4ME324GGPZDPNX33TTCT2HANCNFSM46YAFZPA.

@annabirnbaum It can be, but I have to balance PSA's needs with the variable rate irrigation project's needs. The VRI relies on the communication working since the sensor data informs the irrigation.
The current should only wait for time span of the interval + 1 minute to reconnect with a gateway after three consecutive misses and then move on until the counter reaches 3 again. That should mean that with a 15 minute interval the node should at least be getting 3/4 of the data. But there's obviously something not working. There shouldn't be a storage issue, at least not in terms of capacity. These are things I'll be testing this week.
The firmware is in Arduino C.

Thanks Alondra.
Anna Paulk Birnbaum
Agricultural Specialist
UGA-Department of Crop and Soil Sciences
1420 Experiment Station Rd
Watkinsville, GA 30677
C:<PHONE_NUMBER>

From: alondrathompson @.>
Sent: Wednesday, June 16, 2021 12:22 PM
To: precision-sustainable-ag/On-farm-Protocols @.>
Cc: Anna Paulk Birnbaum @.>; Mention @.>
Subject: Re: [precision-sustainable-ag/On-farm-Protocols] TXE AL Node Data SOS (#108)
[EXTERNAL SENDER - PROCEED CAUTIOUSLY]
@annabirnbaumhttps://github.com/annabirnbaum It can be, but I have to balance PSA's needs with the variable rate irrigation project's needs. The VRI relies on the communication working since the sensor data informs the irrigation.
The current should only wait for time span of the interval + 1 minute to reconnect with a gateway after three consecutive misses and then move on until the counter reaches 3 again. That should mean that with a 15 minute interval the node should at least be getting 3/4 of the data. But there's obviously something not working. There shouldn't be a storage issue, at least not in terms of capacity. These are things I'll be testing this week.
The firmware is in Arduino C.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/precision-sustainable-ag/On-farm-Protocols/issues/108#issuecomment-862521150, or unsubscribehttps://github.com/notifications/unsubscribe-auth/APL6HJYSET5H4EL6IUYHVFDTTDFWDANCNFSM46YAFZPA.


✨ feat(apikey): adds command to delete api keys

Description
We currently do not have a way to clean up api keys. There may be cases where users of headscale may generate a lot of api keys and these may end up accumulating in the database. This commit adds the command to delete an api key given a prefix.
Usage
→ hs apikeys --help
Handle the Api keys in Headscale

Usage:
  headscale apikeys [command]

Aliases:
  apikeys, apikey, api

Available Commands:
  create      Creates a new Api key
  delete      Delete an ApiKey
  expire      Expire an ApiKey
  list        List the Api keys for headscale

Flags:
  -h, --help   help for apikeys

Global Flags:
  -c, --config string   config file (default is /etc/headscale/config.yaml)
      --force           Disable prompts and forces the execution
  -o, --output string   Output format. Empty for human-readable, 'json', 'json-line' or 'yaml'

Use "headscale apikeys [command] --help" for more information about a command.

→ hs apikeys delete --help
Delete an ApiKey

Usage:
  headscale apikeys delete [flags]

Aliases:
  delete, remove, del

Flags:
  -h, --help            help for delete
  -p, --prefix string   ApiKey prefix

Global Flags:
  -c, --config string   config file (default is /etc/headscale/config.yaml)
      --force           Disable prompts and forces the execution
  -o, --output string   Output format. Empty for human-readable, 'json', 'json-line' or 'yaml'

Testing
Manual
04:16:58 pallab@pop-os headscale ±|feat/delete-apikeys ✗|
→ sudo ./headscale apikeys create -e 9d --config config.yaml
uYZ927_pGw.2BjBph-ncqd5ZFM1_cISVgjEUkHA8fj-vOYn3WuaZ3Y

04:17:06 pallab@pop-os headscale ±|feat/delete-apikeys ✗|
→ sudo ./headscale apikeys ls --config config.yaml
ID | Prefix     | Expiration          | Created
1  | uYZ927_pGw | 2024-02-06 10:47:06 | 2024-01-28 10:47:06

04:17:09 pallab@pop-os headscale ±|feat/delete-apikeys ✗|
→ alias hs='sudo ./headscale --config config.yaml'

04:17:39 pallab@pop-os headscale ±|feat/delete-apikeys ✗|
→ hs apikeys ls
ID | Prefix     | Expiration          | Created
1  | uYZ927_pGw | 2024-02-06 10:47:06 | 2024-01-28 10:47:06

04:17:44 pallab@pop-os headscale ±|feat/delete-apikeys ✗|
→ hs apikeys delete --prefix uYZ927_pGw
Key deleted

04:17:54 pallab@pop-os headscale ±|feat/delete-apikeys ✗|
→ hs apikeys ls
ID | Prefix | Expiration | Created

[x] read the CONTRIBUTING guidelines
[x] raised a GitHub issue or discussed it on the projects chat beforehand
[x] added unit tests
[x] added integration tests
[x] updated documentation if needed
[x] updated CHANGELOG.md

Resolves

https://github.com/juanfont/headscale/issues/1667

I think this looks reasonable, but I would prefer to get in the db changes I have a pr up for first (transactions).

I think this looks reasonable, but I would prefer to get in the db changes I have a pr up for first (transactions).

Sounds good to me.

@kradalby I ran make fmt locally that resulted into a few files getting formatted. I've pushed them in a separate commit.

Could you add a test for this in integrations/cli_test.go ?, otherwise looks sensible.

Could you add a test for this in integrations/cli_test.go ?, otherwise looks sensible.

@kradalby Done. Please review.


Fixed camelcase and imports

Fixed some of the pylint issues as mentioned in issue18

Looking better! pylint still has a few complaints. At least the ones on lines 36 and 39 should be addressed in this pull:
src/dds.py:36:0: C0103: Class name "DDtable_deal" doesn't conform to PascalCase naming style (invalid-name)
src/dds.py:62:4: W0231: init method from base class 'Exception' is not called (super-init-not-called)
src/dds.py:87:4: R0913: Too many arguments (9/5) (too-many-arguments)
src/dds.py:87:4: R0914: Too many local variables (19/15) (too-many-locals)
src/dds.py:99:8: C0103: Variable name "dl" doesn't conform to snake_case naming style (invalid-name)
src/dds.py:7:4: C0412: Imports from package ctypes are not grouped (ungrouped-imports)


formatting

@fsoudiere  I like the modifications you did to the .tex code block for the FFmpeg commands to fix the line wrapping issue on the right hand border. The shrinking of the Windows Env Path images in the "Hello FFmpeg" chapter makes the content fit on the page better as well. Good Work. :+1:


Leverage the new BPM shutdown_signal feature in Postgres jobs

What is this change about?
Now that BPM v1.1.14 is shipped and used in bosh-deployment, we can use the new shutdown_signal feature.
Please provide contextual information.

Using SIGINT to shutdown Postgres was recently implemented in: #2320
The new BPM that ships with the shutdown_signal feature is out: https://github.com/cloudfoundry/bpm-release/releases/tag/v1.1.14
This version has been adopted in bosh-deployment: https://github.com/cloudfoundry/bosh-deployment/blob/master/bosh.yml#L147-L150

What tests have you run against this PR?
./scripts/test-unit-erb

How should this change be described in bosh release notes?

Refactored the Postgres jobs to leverage the new shutdown_signal feature provided by BPM v1.1.14+

Does this PR introduce a breaking change?
No.
Tag your pair, your PM, and/or team!
Solo-ed on this.

@bgandon Thanks!


examples, add onChangeEvent example.

Added this since I used example7 to understand function arguments for onChangeEvent.

Thanks, good call.


Add unit tests to mesh controller

Purpose

Add tests to envoy_filter.go, istio_destination_rule.go, istio_gateway.go and istio_virtual_service.go files.

Codecov Report

Merging #59 into master will increase coverage by 12.5%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #59      +/-   ##
==========================================
+ Coverage      81%   93.51%   +12.5%
==========================================
  Files          26       26
  Lines        1295     1295
==========================================
+ Hits         1049     1211     +162
+ Misses        237       73     -164
- Partials        9       11       +2

Impacted Files
Coverage Δ

pkg/controller/gateway/resources/meta.go
100% <0%> (+34.48%)
:arrow_up:

pkg/controller/gateway/resources/istio_gateway.go
71.87% <0%> (+71.87%)
:arrow_up:

...troller/gateway/resources/istio_virtual_service.go
80.95% <0%> (+80.95%)
:arrow_up:

...roller/gateway/resources/istio_destination_rule.go
100% <0%> (+100%)
:arrow_up:

pkg/controller/gateway/resources/envoy_filter.go
100% <0%> (+100%)
:arrow_up:

Continue to review full report at Codecov.

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


PSR/Cache 2.0 compatibility

I cannot merge or change settings anymore. Maybe you can check / merge it, @avareldev?

Lol so basically I just made a MR to do exactly this and then noticed that it has already been done. Any chance a version can be released soon?
/closes #28

Thanks for the contribution but we have already merged the same change in another pr.
The support will be released in the next version.


Window Control Buttons of PowerToys won't turn dark when the system theme is bright.

Microsoft PowerToys version
0.83.0
Installation method
Microsoft Store
Running as admin
Yes
Area(s) with issue?
Settings, Welcome / PowerToys Tour window
Steps to reproduce
When you open Settings and Welcome windows on top when the system theme is bright, it will be hard to find the Window Control Buttons of PowerToys, for they are still white.
![屏幕截图 2024-08-01 214231](https://github.com/user-attach328-abf9-52707d9ef662)
✔ Expected Behavior
Window Control Buttons of PowerToys automatically turn black when the system theme is bright so that it is easier to find them.
❌ Actual Behavior
Window Control Buttons of PowerToys are still white when the system theme is bright, and it's really difficult to observe them.
Other Software
No response

/dup #29387


Documentation: possible typo in command in tutorial.

In following the tutorial, this line:
webpack ./entry.js bundle.js --module-bind "css=style!css"
... gives me this error...
zsh: event not found: css
This [https://github.com/webpack/webpack/issues/242] says that it need \, which works for me, so the command would be:
webpack ./entry.js bundle.js --module-bind "css=style\!css"
Hope that helps.

Closing as a duplicate of https://github.com/webpack/docs/pull/42


Typechecking

Includes small adjustments to specific problems that I ran into some months ago, related to data types.

model output must be a numpy array (instead of a list)
number of dimensions of the covariance matrix in GaussianLogLike and AdaptiveGaussianLogLike must be 2, and match dimensions of data
helpful error output if adaptive_error_model is specified wrong (i.e. because of a typo)

Hi @mikkelbue, thank you for the comments! I have adressed them, I hope in a way that everything makes sense now.

Thanks @louisekluge, nice work!


Empty chunk causes exception in nanmin/nanmax

What happened:
I want to get the nanmin of a specific set of pixels in an array. Some of the chunks are empty which is causing an exception when this dask array is passed to nanmin (dask.array or numpy).
What you expected to happen:
Get the minimum value for the overall array, ignoring or passing allow NaNs.
Minimal Complete Verifiable Example:
import dask.array as da
import numpy as np

test_arr = da.from_array([[-1, -2, -3], [1, 2, 3]], chunks=(1, 3))

np.nanmin(test_arr[test_arr >= 0]).compute()
# ValueError: zero-size array to reduction operation fmin which has no identity

# Convert to numpy
test_arr2 = test_arr.compute()
np.nanmin(test_arr2[test_arr2 >= 0])
# 1

# Run dask nanmin with all NaNs
np.nanmin(da.from_array([np.nan, np.nan, np.nan])).compute()
# nan

Anything else we need to know?:
While building the example above I realize I could create a new dask array that masks all < 0 values with NaN, but I would still expect the above to work.
Environment:

Dask version: 2021.09.1
Python version: 3.8
Operating System: Ubuntu
Install method (conda, pip, source): conda

Edit:
Bottom of the traceback:

~/miniconda3/envs/polar2grid_py38/lib/python3.8/site-packages/dask/utils.py in apply(func, args, kwargs)
     33 def apply(func, args, kwargs=None):
     34     if kwargs:
---> 35         return func(*args, **kwargs)
     36     else:
     37         return func(*args)

<__array_function__ internals> in nanmin(*args, **kwargs)

~/miniconda3/envs/polar2grid_py38/lib/python3.8/site-packages/numpy/lib/nanfunctions.py in nanmin(a, axis, out, keepdims)
    317         # Fast, but not safe for subclasses of ndarray, or object arrays,
    318         # which do not implement isnan (gh-9009), or fmin correctly (gh-8975)
--> 319         res = np.fmin.reduce(a, axis=axis, out=out, **kwargs)
    320         if np.isnan(res).any():
    321             warnings.warn("All-NaN slice encountered", RuntimeWarning,

ValueError: zero-size array to reduction operation fmin which has no identity

I realize I misread the docstring for nanmin which says:

Return minimum of an array or minimum along an axis, ignoring any NaNs. When all-NaN slices are encountered a RuntimeWarning is raised and Nan is returned for that slice.

I read "all-NaN slices" and thought that includes empty slices. Maybe this is unrealistic to fix.

Thanks for starting the PR @boazmohar. This may lead me to be lazier in my open source work in the hope that others just do the PRs for me :wink:


Failures in jobwatcher with SGE and parallelcluster 2.5.X

Environment:

AWS ParallelCluster / CfnCluster version: 2.5.0 and 2.5.1
OS: Centos7
Scheduler: SGE
Master instance type: i3en.large
Compute instance type: r5.2xlarge

Bug description and how to reproduce:
We are seeing the following error when using SGE and 2.5.0 and 2.5.1 parallelcluster software.  This happens and continues immediately upon deployment.  This prevents new nodes from being spun up when their are jobs sitting in queue wait.
2020-02-17 13:43:52,157 ERROR [jobwatcher:main] An unexpected error occurred: cannot import name 'SGE_DISABLED_STATE' Traceback (most recent call last):   File "/root/.pyenv/versions/3.6.9/envs/node_virtualenv/lib/python3.6/site-packages/jobwatcher/jobwatcher.py", line 154, in main     scheduler_module = load_module("jobwatcher.plugins." + config.scheduler)   File "/root/.pyenv/versions/3.6.9/envs/node_virtualenv/lib/python3.6/site-packages/common/utils.py", line 45, in load_module     __import__(module)   File "/root/.pyenv/versions/3.6.9/envs/node_virtualenv/lib/python3.6/site-packages/jobwatcher/plugins/sge.py", line 13, in <module>     from common.schedulers.sge_commands import ( ImportError: cannot import name 'SGE_DISABLED_STATE'
Additional context:
The zip file contains:

configuration file for deployment.
/var/log/jobwatcher, and /var/log/sqswatcher logs

jobwatchererror.zip

Hi @sanman-99
from the error I'd say the python virtual environment used by the parallelcluster-node is broken.
It could happen when the post-install script add some custom python packages or changes the PATH.
Can you share the content of your post-install script and/or re-try without using it?
Let us know if it helps.

Here is a copy of my postinstall script.  I will also test it without a post-install.
#!/bin/bash groupadd -g 33264 galaxy efsmnt=/efs/galprod ephmnt=/data mnt=/nfs mkdir -p $mnt mkdir -p $efsmnt mkdir -p $ephmnt mount -t nfs4 -o nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2 fs-ffe277b6.efs.us-east-1.amazonaws.com:/ $mnt mount -t nfs -o rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2 <IP_ADDRESS>:/nfs/home /$mnt/home mount -t nfs -o noacl,nocto,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2 <IP_ADDRESS>:/data /$ephmnt yum install -y sssd realmd pcre2 cp /nfs/sw/configs/sssd.conf /etc/sssd/sssd.conf service sssd start mv /etc/sysconfig/clock /etc/sysconfig/clock.orig cp /nfs/sw/configs/clock /etc/sysconfig/. ln -sf /usr/share/zoneinfo/America/New_York /etc/localtime #install required R packages for lefse Rscript -e 'install.packages("modeltools", repos="https://cran.rstudio.com")' Rscript -e 'install.packages("coin", repos="https://cran.rstudio.com")' Rscript -e 'install.packages("mvtnorm", repos="https://cran.rstudio.com")' #legacy ssl required for some tools RGI and samtools #legacy ssl required for some tools RGI and samtools cp /usr/lib64/libssl.so.1.0.2k /usr/lib64/libssl.so.1.0.2k.backup ln -sf /usr/lib64/libssl.so.1.0.2k /usr/lib64/libssl.so.1.0.0 cp /usr/lib64/libcrypto.so.1.0.2k /usr/lib64/libcrypto.so.1.0.2k.backup ln -sf /usr/lib64/libcrypto.so.1.0.2k /usr/lib64/libcrypto.so.1.0.0

After further investigation looks like I was using another postinstall for the initial deployment that was causing the issue.

Hi @sanman-99
thanks for sharing and closing the issue.


20 handle multiple flanking sequences in addkinaselibraryannotations

Almost ready for merge, but I discovered one potentially undesired behaviour:
When I give the kinaseLibraryAnnotator an empty sequence ('' or '_'), I would expect that all newly created columns are empty (            "Motif Kinases","Motif Scores","Motif Percentiles","Motif Totals"). In the system tests it seems that this works (see attached figure), but in the unit test the Motif Kinases column contains two kinases: AAK1;ACVR2A (see also the failed test for this PR).
Any clue why this happens?

Okay, done now :)


Implement DDO typings for V4

Fixes #585  .
Changes proposed in this PR:

I have also added some functions for add trusted algorithms publishers in each service class. In rest I have refactored the V4Asset and V4Service classes as @calina-c and @DMats proposed. I have created the tests in test_asset.py for the new structure.


Refactor Tangle and Snapshot plugins

The Tangle and Snapshot plugins both have a plethora of globals within themselves, such as Events structs etc. which are accessed by other plugins.

#729
#753


What is EMA_RATE for jerk agent?

https://github.com/openai/retro-baselines/blob/master/agents/jerk_agent.py#L15
as far as I can tell, it is not used in the code. Am I missing something?

It looks like this is left over from an old implementation.


Simplify call argument encoding for function calls with exactly 1 argument.

Follow-up from https://github.com/paritytech/wasmi/pull/729.
For function calls we need to setup the arguments so that they are all stored in contiguous registers. Currently we do this for function calls with exactly 1 argument even though this is not needed. Thus during translation we should implement a check and simplify (and thus optimize) function call argument encoding for those function calls.
This could potentially improve performance of (indirect) function calls with exactly one argument since in some cases a copy instruction can be avoided this way.

This is no longer needed since https://github.com/paritytech/wasmi/pull/784 got merged and changed encoding of function call parameters.


Allow application upgrade to certain version of application type through SFX UI

It would be great if there would be a functionality (button? :) ) to upgrade application to certain version of application type through the SFX UI.
Current options are Visual Studio or PowerShell and they both require multiple interactions.

Would be even better if we could rollback to a previous deployed version without any extra effort.
Currently, when we deploy a new application version, if we find an issue after the deployment is complete, the rollback must be a manual update to the previous version.
SF could track the previous version and configuration parameters and be able to rollback with a single click.

Enthusiastic +1 on this feature request - this would make our team's lives so much less stressful.


feat(linter): eslint/eol-last

eol-last

This rule was deprecated in ESLint v8.53.0. Please use the corresponding rule in @stylistic/eslint-plugin-js.

I'll need to decide on what to do with all stylistic rules. I'm leaning towards removing all of them.

This rule was deprecated in ESLint v8.53.0. Please use the corresponding rule in @stylistic/eslint-plugin-js.

I'll need to decide on what to do with all stylistic rules. I'm leaning towards removing all of them.

ok


Add DistubeOptions

It would be nice if we could have the options:
liveBuffer
dlChunkSize
range
Or due to the fact you are using ytdl that we are allowed to use all ytdl options

DisTubeOptions.ytdlOptions should be added to v3.0.0. Thanks for the suggestion.

DisTubeOptions.ytdlOptions should be added to v3.0.0. Thanks for the suggestion.

Thanks

Thanks

Thanks

Thanks


Julia 0.3.4 update and packages precompiled into custom system image

This updates Julia version to 0.3.4 and also provides a system image with some packages precompiled into it for faster loading.
Currently only Gadfly is precompiled (which also pulls in quite a few other useful packages along as dependencies).
When this version gets applied on to juliabox.org, all users would by default be set to use the system image with precompiled packages. Users may switch back to the default system image from the JuliaBox settings tab.
Also present in the PR are a couple of miscellaneous changes:

bind zmq socket to internal ip only for security
updates to default package bundle are applied to test cluster by default to prevent inadvertently applying untested stuff to live cluster.

Can we get the tutorial in as part of this update?

Can we get the tutorial in as part of this update?

Yes, shall be adding the tutorial files next.


Architecture as Code - Working Group Meeting - Tuesday 26 March 2024

Date
Tuesday 26 Mar 2024 - 11:00 EST / 15:00 UK
Untracked attendees

Name
Firm
Comment

Meeting notices

FINOS Project leads are responsible for observing the FINOS guidelines for running project meetings. Project maintainers can find additional resources in the FINOS Maintainers Cheatsheet.

All participants in FINOS project meetings are subject to the LF Antitrust Policy, the FINOS Community Code of Conduct and all other FINOS policies.

FINOS meetings involve participation by industry competitors, and it is the intention of FINOS and the Linux Foundation to conduct all of its activities in accordance with applicable antitrust and competition laws. It is therefore extremely important that attendees adhere to meeting agendas, and be aware of, and not participate in, any activities that are prohibited under applicable US state, federal or foreign antitrust and competition laws. Please contact<EMAIL_ADDRESS>with any questions.

FINOS project meetings may be recorded for use solely by the FINOS team for administration purposes. In very limited instances, and with explicit approval, recordings may be made more widely available.

Agenda

[ ] Convene, roll call, welcome new people (@dc-ms) (5mins)
[ ] Approve previous meeting minutes (@dc-ms) (1min)
[ ] Recap of On-Site Accelerator (@willosborne) (5min)
[ ] Updates on recent developments

[ ] Validator Validator (@willosborne) (5min)
[ ] Translator: C4 (@Budlee) / k8s (@matthewgardner) (5min)
[ ] Visualizer (@aidanm3341) (5min)

[ ] Proposed CLI (@grahampacker-ms / @willosborne) (5min)
[ ] Proposal to introduce 'conceptual' architecture patterns / blueprints (Frank Schawillie) (10min)
[ ] Overview of C4InterFlow; how does this complement / converge with CALM? (@SlavaVedernikov) (10min)
[ ] Where should we keep our meeting agendas / minutes? Whilst we're part of the DevOps Automation SIG we now have our own repo where we're building out CALM and associated capabilities. Should we move our meeting minutes and agendas to that repo to avoid confusion? (@dc-ms) (2min)
[ ] Review of issues, AOB (@dc-ms) (7min)

Zoom info
Join Zoom Meeting

https://zoom.us/j/94904595244
Meeting ID: 949 0459 5244
Passcode: 545224
Find your local number: https://zoom.us/u/aesEqmNODb

Github Repo: https://github.com/finos/devops-automation/
Project Board: https://github.com/orgs/finos/projects/33
Mailing List: Email<EMAIL_ADDRESS>to subscribe to our mailing list

Matthew Auburn / Morgan Stanley

Graham Packer / Morgan Stanley

Denis Coffaro / Morgan Stanley

Will Osborne / Morgan Stanley

Aidan McPhelim / Morgan Stanley

Luigi Bulanti / Morgan Stanley

Karl Moll / FINOS

Slava Vedernikov / Solutions Unit

Prashant Jasani / Morgan Stanley

Fleur Edwards / Nomura

Oli Bage / LSEG

Aldwin Saugere / Morgan Stanley

Also attended:
Louis Paul / Prudential
Frank Schawillie / RBC
Shane Artis / Morgan Stanley

Matthew Gardner / Morgan Stanley

Matthew Bain / Morgan Stanley

FINOS Meeting: March 26, 2024 (courtesy @dc-ms)
Commenced: 11:05 EST
Introduction / FINOS Disclaimer: Completed
Agenda & Attendance noted : https://github.com/finos/devops-automation/issues/189 - Done
Previous minutes approved by attendees and closed out (Issue 184) : https://github.com/finos/devops-automation/issues/184 - Done
On Site Accelerator Recap:  @willosborne

Movement to meta schema
API Gateway Pattern
Demo with IntelliJ with auto-complete
Visualization – VSCode extension via Mermaid – @aidanm3341
Visualization – Java CALM schema using Structurizr tooling into C4
Spectral
Design – composable interfaces while managing complexity
Control requirements – governance over patterns

Recent Developments: @willosborne  / @matthewgardner  / @aidanm3341  / @Budlee
Validator:

Spectral integration & AJV tool
Instantiation of a pattern and the pattern itself validations
Backwards compatibility to what degree or release fixed
C4 Translator
Extending to k8s
Visualizer:
Embedded in CLI

Proposed CLI: @grahampacker-ms  / @willosborne

Generation of pattern from schema
Validation of pattern (JSON schema and Spectral)
Output of SVG
Typescript and Node

Conceptual Patterns: Frank Schawillie

Presenting his AaC project
Highlighting a view of controls mapping to architecture
Spoke on scope definition and managing simplicity

C4Interflow: @SlavaVedernikov

Brief demo but an additional session is requested

Admin Tasks:

Where do we keep meeting agendas/minutes?

Let’s move to everything to our current repo. No objections.

Issues: https://github.com/finos-labs/architecture-as-code/issues
Adjourned: 12:10 EST

Approved at #194


access_token API: error refreshing token

Hello,
Sorry, this is an error I introduced when creating the access_token API.
Whenever I call access_token (with an expired accessToken), the lua module tries to refresh the token, but without having initialized the token_endpoint URL.
I get a :
2017/05/28 20:06:42 [debug] 7#7: *13 [lua] openidc.lua:563: access_token(): refreshing expired access_token: 3c68223ff0994bcfb633776dc47847 with: 8bc1d56b7bad2b4b91f516aa6c0caf1
2017/05/28 20:06:42 [debug] 7#7: *13 [lua] openidc.lua:227: openidc_call_token_endpoint(): client_secret_basic: authorization header 'Basic bTJEaXcwUkxxSXF0aHc6REtxeURjQXVyZ0Jpc2NDYnVSUUZmZw=='
2017/05/28 20:06:42 [debug] 7#7: *13 [lua] openidc.lua:236: openidc_call_token_endpoint(): request body for token endpoint call: refresh_token=8bc1d56b7bad2b4b91f516aa6c0caf1&grant_type=refresh_token&scope=openid%20refreshToken
2017/05/28 20:06:42 [error] 7#7: *13 lua entry thread aborted: runtime error: /usr/local/openresty/luajit/share/lua/5.1/resty/http.lua:191: bad argument #1 to 'ngx_re_match' (string expected, got nil)
stack traceback:
coroutine 0:
 [C]: in function 'ngx_re_match'
 /usr/local/openresty/luajit/share/lua/5.1/resty/http.lua:191: in function 'parse_uri'
 /usr/local/openresty/luajit/share/lua/5.1/resty/http.lua:720: in function 'request_uri'
 /opt/lua-resty-openidc/lib/resty/openidc.lua:239: in function 'openidc_call_token_endpoint'
 /opt/lua-resty-openidc/lib/resty/openidc.lua:571: in function 'access_token'
 access_by_lua(nginx.conf:146):21: in function <access_by_lua(nginx.conf:146):1>, client: <IP_ADDRESS>, server: localhost, request: "GET /api HTTP/1.1", host: "iam"
<IP_ADDRESS> - - [28/May/2017:20:06:42 +0000] "GET /api HTTP/1.1" 500 541 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/58.0.3029.110 Chrome/58.0.3029.110 Safari/537.36"

nginx.conf extract:
    location / {

      access_by_lua '

      local opts = {
        redirect_uri_path = "/redirect_uri",
        discovery = "http://iam:9080/oidc/.well-known/openid-configuration",
        client_id = "m2Diw0RLqIqthw",
        client_secret = "DKqyDcAurgBiscCbuRQFfg",
        scope = "openid refreshToken",
        iat_slack = 600,
        redirect_uri_scheme = "http",
        logout_path = "/api/logout",
        token_endpoint_auth_method = "client_secret_basic",
        ssl_verify = "no"
      }

      local res, err = require("resty.openidc").authenticate(opts)

      if err then
      ngx.status = 500
      ngx.say(err)
      ngx.exit(ngx.HTTP_INTERNAL_SERVER_ERROR)
      end
      ';

      root   html;
      index  index.html index.htm;
    }

    location /api {

      access_by_lua '

      local opts = {
        redirect_uri_path = "/redirect_uri",
        discovery = "http://iam:9080/oidc/.well-known/openid-configuration",
        client_id = "m2Diw0RLqIqthw",
        client_secret = "DKqyDcAurgBiscCbuRQFfg",
        scope = "openid refreshToken",
        iat_slack = 600,
        redirect_uri_scheme = "http",
        logout_path = "/api/logout",
        token_endpoint_auth_method = "client_secret_basic",
        ssl_verify = "no"
      }

      local access_token, err = require("resty.openidc").access_token(opts)

      if err then
      ngx.status = 401
      ngx.say(err)
      ngx.exit(ngx.HTTP_INTERNAL_SERVER_ERROR)
      end

      -- set Authorization header to AT
      if access_token then
      ngx.req.set_header("Authorization", "Bearer " .. access_token)
      end
      ';

      proxy_pass http://<IP_ADDRESS>:10001/;
    }

With the previous configuration, the problem happens whenever I call http://iam/api and the token is expired.

I've the fix ready, but I'd like if possible 2 days to test it.

Sounds good, let me know

Hi Hans, I've made a fix here #60


Fix runserver spelling mistake

Because previously it's python manage.py runsever that occur a error.

Because previously it's python manage.py runsever that occur a error.

Merged. Thanks!

That's just a little bit mistake. I was just trying out your project. Great work! 🙏


Feat: Enhancement of Reporting page

https://github.com/4darsh-Dev/CogniGaurd/assets/155231566/07e321d9-6261-4cbc-b700-27fbc4fa9374
The reporting page form is not perfectly aligned ang the report button touches the footer section
I would like to work on this issue

I would like to work on this issue, please assign this to me.
@4darsh-Dev

@CoderGirl2844 assigned to you,
since it is a very minor issue you will get only +1 points, no levels

⚠[URGENT]⚠ Reminder for GSSoC 24' Contributors Please join our CogniGuard Project #general GSSoC'24 Discord channel:
Here you can discuss your queries and doubts with your mentors.
See #109 issues section.

⚠[URGENT]⚠ Reminder for GSSoC 24' Contributors Please join our CogniGuard Project #general GSSoC'24 Discord channel:
Here you can discuss your queries and doubts with your mentors.
See #109 issues section.

⚠[URGENT]⚠ Reminder for Closing of Contribution period for GSSoC 24'
Finish your work and raise the PRs ASAP to get your points.
Thanks💗 for your valuable Contributions!

GSSoC 24 has been completed Finally'
It was a great experience working with you all
Thanks💗 for your valuable contributions!
PA nomination has been started, Do fill out the forms soon. Share your experiences and let's connect on socials


[ENHANCEMENT]

Another great plan going forward with this Awesome AiBot would be to add internet connections, so prompts will be in real-time. ie example ==
What's the regional price of gas in "User inputs his\her Your country or State or Region" ?
Alpaca-Electron: Generate Accurate Response to the best of its capabilities

Its already been added. The new version just hasn't been released yet because it's not complete.


Separate sync async webhooks

Separate sync and async webhooks in the schema.
Impact

[ ] New migrations
[ ] New/Updated API fields or mutations
[ ] Deprecated API fields or mutations
[ ] Removed API types, fields, or mutations
[ ] Documentation needs to be updated

Pull Request Checklist

[ ] Privileged queries and mutations are guarded by proper permission checks
[ ] Database queries are optimized and the number of queries is constant
[ ] Database migration files are up to date
[ ] The changes are tested
[ ] GraphQL schema and type definitions are up to date
[ ] Changes are mentioned in the changelog

Task linked: SALEOR-4665 Separate synchronous and asynchronous webhooks in API


Upgrade dependencies to node v18

Add non-null assertion operation for possibly undefined
minor: Update dependencies & node version v18
Update Dockerfile to node v18

@balena-ci I self-certify!


Get the build working for GH Pages deployment

@csuwildcat I was going to suggest a contributor complete this task, but it seems like it's already done? Asking to confirm.


RKE2 support?

Hello !
I know it is in the title of the repository that it is k3s haha 😝
But was wondering if it is planned to support as well rke2? Would be amazing (for enterprise grade and security minded)
Thanks a lot in advance :)

Hi, I'm turning this into a discussion since it's not really an issue with the tool.
For the future, I might add support for RKE2, but it's not on the agenda right now because I have a bunch of higher priorities to focus on.


Error with replace=true on empty line

Hi there, thanks for the great plugin :+1:
I noticed an error when a prompt uses replace = true and using it in normal mode on an empty line: nvim/lazy/gen.nvim/lua/gen/init.lua:336: Invalid 'end_col': out of range.
I think the end_pos[3] is the problem and should be end_pos[3] - 1 ? Admittedly I know nothing about the nvim API so I don't know if there's a good reason for it or if it's just a mistake, but making the change it in my local copy seems to do the trick. So does adding a single space to the line before triggering the completion.
Let me know if you'd like a PR.

Same issue here!
/root/.local/share/nvim/lazy/gen.nvim/lua/gen/init.lua:336: Invalid 'end_col': out of range
stack traceback:
^I[C]: in function 'nvim_buf_set_text'
^I/root/.local/share/nvim/lazy/gen.nvim/lua/gen/init.lua:336: in function
</root/.local/share/nvim/lazy/gen.nvim/lua/gen/init.lua:317>

Thanks for the info @Robzz , I'll check!

Fixed, thanks again, @Robzz !


Release/1.22.0

Mir release 1.22.0

Codecov Report
Attention: Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.

Project coverage is 48.45%. Comparing base (1b2408f) to head (e51a62a).

Files
Patch %
Lines

src/mir/caching/legendre/SharedMemoryLoader.cc
0.00%
1 Missing :warning:

src/mir/caching/matrix/SharedMemoryLoader.cc
0.00%
1 Missing :warning:

Additional details and impacted files
@@           Coverage Diff            @@
##           develop      #21   +/-   ##
========================================
  Coverage    48.45%   48.45%
========================================
  Files          669      669
  Lines        28002    28002
  Branches      2532     2532
========================================
  Hits         13568    13568
  Misses       14434    14434

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


add proper permissions to config and template files

Currently the permissions on the config files where the token is stored is world readable. This PR makes the default 0660 and also refactored how user/group is created inside the module so if the user/group is created outside the module we can still pass the values to the resources inside the module.

Yep I like this - just a couple of cosmetic typos and we're good to merge.

Good catch! fixed.


Update makefile to accept variable to update version

Update tag to 0.5.11, also make the VERSION variable configurable
Fix https://github.com/kube-vip/kube-vip/issues/527

looks good to me.


memory leak in NativeImage.createFromPath()

Run the code below and watch the memory status of Electron main process, you'll probably see rapid increase in memory usage. I have tested it on OS X.
var Tray = require('tray');
var app = require('app');
var path = require('path');

app.on('ready', function() {
    var tray = new Tray(path.join(__dirname, 'grass4.png'));
    tray.setPressedImage(path.join(__dirname, 'grass5.png'));

    setInterval(function() {
        tray.setImage(path.join(__dirname, 'grass4.png'));
        tray.setPressedImage(path.join(__dirname, 'grass5.png'));
    }, 10);
});

Which version are you using? v0.30.1?

@hokein    v0.29.2 and v0.30.1 both have the problem.

Reduce the code to NativeImage.createFromPath:
var NativeImage = require('native-image');

app.on('ready', function() {
  for (var i = 0; i < 1000; ++i) {
     var t = NativeImage.createFromPath('<path-image>.png');
     t = null;
  }
}

I can confirm that the destructor of NativeImage will be invoked for each instance when JS garbage collector running GC.  But the memory will not release even after the NativeImage destructor. Also appears on Windows.

Is there any workaround?

I'm still seeing a memory leak around Tray.setImage() on v0.33.2. Both of the following cause memory to stack up over time if called on a setInterval:
Tray.setImage(NativeImage.createFromPath(somePath));
Tray.setImage(somePath);
I have a workaround where I make each of my NativeImages in memory up front and pass them to setImage when I need to.

https://github.com/atom/electron/issues/3989


How to effectively download the SA-1B dataset

Thank you very much for such an outstanding contribution. I tried to download the dataset on the official website, and the link in the download text provided could not be downloaded with wget, and it was very time-consuming if I tried to download one by one. How can I download the dataset efficiently?

Hi, My 2 cents about downloading the dataset :
It works for me in wget, but only if I launch the wget command directly in the terminal. If I launch it from a script file, it gets 403 forbidden errors. I guess there are some protection against batch download
The solution that worked for me was to combine them wget calls with && to make a queue.
wget link1 -O tar_name1 && wget link2 -O tar_name2 && ...

I could not concatenate all the 1000 comands at once, but at least I can divide the number of time I need to manually launch a command.
Some insights about the dataset (not fully downloaded yet) :

1000 tar file to download, each seems to be 11Gb. That's 10Tb of data in total, probably 12Tb uncompressed
Fortunately, each tar file is standalone, with approx 10k image per tar file, with one json file per image.

@ClementPinard  My single wget command also gets 403. Do you have any idea?

Same problem. I got 403 with single command line wget.

Hi @youkaichao @Phoveran, you need to enclose the link with double quotes.

Anyone who finished downloading should upload a torrent for faster downloading.

For me, just copy and paste all their provided file names and links to a txt file for example 'links,txt'. Then in the terminal, run
while read file_name cdn_link; do wget -O "$file_name" "$cdn_link"; done < links.txt
This works on my side. Hope can help you guys.

Thank you very much, I will try this method

Or you could download all of them by chrono, an extension in google-explore

Building on top of @peiwang062 's script, using aria2 supports multi-threaded downloading and resuming.
Remove the header line of the links file provided by meta, then run:
while read file_name cdn_link; do aria2c -x4 -c -o "$file_name" "$cdn_link"; done <  file_list.txt
This will download each file using 4 threads/streams while supporting resume.

嗨，我关于下载数据集的 2 美分：
它在 wget 中对我有用，但前提是我直接在终端中启动 wget 命令。如果我从脚本文件启动它，它会收到 403 禁止错误。我想有一些防止批量下载的保护措施
对我有用的解决方案是将它们与 wget 调用结合起来&&以创建一个队列。
wget link1 -O tar_name1 && wget link2 -O tar_name2 && ...

我无法一次连接所有 1000 个命令，但至少我可以划分手动启动命令所需的时间。
关于数据集的一些见解（尚未完全下载）：

要下载 1000 个 tar 文件，每个似乎是 11Gb。总共有 10Tb 的数据，可能有 12Tb 未压缩
幸运的是，每个 tar 文件都是独立的，每个 tar 文件大约有 10k 个图像，每个图像有一个 json 文件。

I would like to ask, after downloading, it is an 11GB file. How can I parse it into images and labels

@tseven that works great! Do you have a recommendation for extracting them also? Preferably throwing away the tar after each extraction because I do not have more than 15TB of disk space.

@tommiekerssies you could do something like this:
for file in *.tar; do tar xvf "${file}" && rm "${file}"; done
This will extract all the tar files while deleting the file after successful extraction.

@tseven thank you!


Disable spell checker in link and xref descriptions

Is your feature request related to a problem? Describe.
If you use the names of utilities or applications in xref and link descriptions, vale reports a warning. I have often several of these false positives in my vale reports.
Example:
Configure the WireGuard server by using xref:proc_configuring-a-wireguard-by-using-nmcli_assembly_setting-up-a-wireguard-vpn[nmcli].
causes:
29:86   warning     Use correct American English    RedHat.Spelling
                     spelling. Did you really mean
                     'nmcli'?

Describe the solution you'd propose
Disable spell checker in link and xref descriptions.
Describe alternatives you've considered
Provide a simple way for writers to add the names of utilities, etc. to the spell checker list of vale.

If nmcli is a command name, shouldn't it be in backticks?
This would not raise an alert:
Configure the WireGuard server by using xref:proc_configuring-a-wireguard-by-using-nmcli_assembly_setting-up-a-wireguard-vpn[`nmcli`]

In normal text yes, but we don't use markups in titles or link descriptions because the rendering looks strange.
I found an example on the Customer Portal where markups are used in an xref:

It doesn't look like one single link with the markups.

I agree. According to IBM Style, "In the label, try to include text that mirrors the title of the linked site". Because we cannot control titles of linked sites, we're bound to produce errors against the style which Vale would incorrectly flag.
Excluding the content of link and xref descriptions would produce fewer false positives and help writers see the relevant recommendations.

I think we can fix this with scoping or similiar. need to investigate.

eg., https://github.com/redhat-documentation/vale-at-red-hat/pull/452


WIP: journal plugin update to akka 2.5.x and kafka 0.10.x

WIP

maybe also README should be aligned with the right informations


Update compliance purge in MCE

Coverage increased (+0.1%) to 25.862% when pulling e0c84a6c0188a8e00c4954250f5193d772e291f8 on alyiwang:kafka into cb82e369482b7c607d6e10e6888b186931dddee9 on linkedin:master.


Include JSend in OpenAPI Spec

Hi guys!
Today a coworker shared with us this repository: https://github.com/omniti-labs/jsend.
Always developers have to deal with this kind of decisions or consume APIs with little bit documentation. So, with this kind of specs ours APIs can be self explanatory for convention.
You could considerate include this in a next version of Open API Spec?

The OpenAPI specification is intended to provide support for any kind of HTTP APIs.  It tries not to provide opinions on how you should design your API.
Anyone is free to use jsend with OpenAPI.  Personally, that is not a pattern I would recommend, but OpenAPI should do nothing to prevent it, nor encourage it.

Thanks for the answer @darrelmiller. Which pattenr do you recommend?

I recommend that developers use the HTTP capabilities as they were designed.  HTTP status codes and HTTP headers can be used to return metadata about the request/response.  The response body should be used for the data.  Duplicating HTTP capabilities inside the response body causes people to re-invent wheels that have been tried, tested and proven over a long period of time.

I recommend that developers use the HTTP capabilities as they were designed. HTTP status codes and HTTP headers can be used to return metadata about the request/response. The response body should be used for the data. Duplicating HTTP capabilities inside the response body causes people to re-invent wheels that have been tried, tested and proven over a long period of time.

Thanks @darrelmiller


[HOLD for payment 2023-03-16] Workspace- Offline mode Start over does not lead to the next step of add the bank account

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Issue found when executing PR https://github.com/Expensify/App/pull/14726
Action Performed:

Login App
Navigate to Workspace > Connect bank account
Start the process of adding a VBA
Exit the flow midway
Navigate to Workspace > Connect bank account again
Once you see Continue with setup
Go offline mode
Click Start over
Click Ok on confirmation modal

Expected Result:
Verify that confirming the modal leads you to the Bank Account step
Actual Result:
Confirming the modal Start over does not lead to the next step of add the bank account
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android / native
[x] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[x] MacOS / Chrome / Safari
[x] MacOS / Desktop

Version Number: <IP_ADDRESS>
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://user-images.githubusercontent.com/93399543/218618163-ff3aa349-abb6-4500-9e41-2615f0ba1dc3.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01f0efa2dcf372664e
Upwork Job ID:<PHONE_NUMBER>058668032
Last Price Increase: 2023-03-06

Triggered auto assignment to @miljakljajic (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

Bug0 Triage Checklist (Main S/O)

[ ] This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
[ ] This bug is not a duplicate report (check E/App issues and #expensify-bugs)

If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead

[ ] This bug is reproducible using the reproduction steps in the OP. S/O

If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
If the reproduction steps aren't clear and you determine the correct steps, please update the OP.

[ ] This issue is filled out as thoroughly and clearly as possible

Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.

[ ] I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

@miljakljajic I'd like to take a look at this because it was discovered when testing the PR I worked on

Able to reproduce the issue, if the user is offline and resets their workspace bank account, then we show the offline page instead of showing the bank account setup step:
https://user-images.githubusercontent.com/12268372/218753368-2e34292b-f16e-4ce0-a8fc-7435e86ea471.mov
Will continue to look into it

@MariaHCD isn't this on purpose? The ReimbursementAccountPage uses a ReimbursementAccountLoadingIndicator here, and that component uses a FullPageOfflineBlockingView here.

Based on the PR it doesnt' seem like it was expected behavior based on the Offline instructions in the original PR: https://github.com/Expensify/App/pull/14726
But I don't think its a blocker though. As @francoisl pointed out exactly where the issue is I believe. Seems like an easy fix

Ah, I'd added isLoading in the optimistic data for RestartBankAccountSetup. So that's why we're now showing the FullPageOfflineBlockingView instead of the BankAccountStep page.
https://github.com/Expensify/App/blob/main/src/libs/actions/ReimbursementAccount/resetFreePlanBankAccount.js#L50
I did that to fix this issue: https://github.com/Expensify/App/pull/14726#issuecomment-1415406539

@MariaHCD, @miljakljajic Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

I've got a draft PR here: https://github.com/Expensify/App/pull/15161. Not super sure if it's the best way to solve this so I'll take a closer look.

@MariaHCD, @miljakljajic Whoops! This issue is 2 days overdue. Let's get this updated quick!

Thank you, @MariaHCD. @mananjadhav I've invited you to the Upwork job so you're ready to be paid when the holding period is over. Please accept the offer!

Reviewing label has been removed, please complete the "BugZero Checklist".

The solution for this issue has been :rocket: deployed to production :rocket: in version 1.2.80-2 and is now subject to a 7-day regression period :calendar:. Here is the list of pull requests that resolve this issue:

https://github.com/Expensify/App/pull/15161

If no regressions arise, payment will be issued on 2023-03-16. :confetti_ball:
After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.

[ ] External issue reporter
[ ] Contributor that fixed the issue
[ ] Contributor+ that helped on the issue and/or PR

As a reminder, here are the bonuses/penalties that should be applied for any External issue:

Merged PR within 3 business days of assignment - 50% bonus
Merged PR more than 9 business days after assignment - 50% penalty

BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

[ ] [@mananjadhav / @MariaHCD] The PR that introduced the bug has been identified. Link to the PR:
[ ] [@mananjadhav / @MariaHCD] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
[ ] [@mananjadhav / @MariaHCD] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
[ ] [@miljakljajic] Determine if we should create a regression test for the bug.
[ ] [@mananjadhav] If we decide to create a regression test for the bug, please propose the regression test steps to the appropriate location to ensure the same bug will not reach production again.
[ ] [@miljakljajic] Review the proposed regression test steps and location.
[ ] [@miljakljajic] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

Looks like something related to react-navigation may have been mentioned in this issue discussion.
As a reminder, please make sure that all proposals are not workarounds and that any and all attempt to fix the issue holistically have been made before proceeding with a solution. Proposals to change our DeprecatedCustomActions.js files should not be accepted.
Feel free to drop a note in #expensify-open-source with any questions.

Filled out the BZ checklist, feel free to double check me there!

I think we're good here wrt to the checklist. I don't think we need additional regression steps for this.
@miljakljajic wdyt?

@miljakljajic This is due for payout, can you please help here?

Thanks @miljakljajic for the quick help.


Buganizer tracking issue

https://buganizer.corp.google.com/issues/268253534

Hi @ricardoamador
Currently labeling this as team-infra. If this isn't correct label, please update as applicable.

Ah yeah no problem! I missed that when I created this. Thank you for catching that!

Closing as not needed.


feat(Data/Setoid/Basic): prod and piSetoid lemmas and equivs

Add lemmas about applying Setoid.r for Setoid.prod and piSetoid, and equivalences between a (pairwise or indexed) product of quotients and the corresponding quotient of the product by Setoid.prod or piSetoid.
From AperiodicMonotilesLean.

bors r+


.catch should not trigger on a command group

when not implementing a catch hook, typing in a command of a group gives you the help for it's subcommands.
if however you implement a catch hook, the catch hook is triggered instead.
I think it would still be useful to show the help for a command group, instead of triggering the catch.

Ah good point. Agreed.

do the catch and show the help:
.catch(function(err){

})
.then(function(){
  // show the help
})

?


Link for uWebSockets.py is wrong

Link for uWebSockets.py is wrong

I'm guessing you're reading some off-brand Chinese translation. I don't control those.


Version of rotate that affects layout

Use case: Using rotated text in tables and grids.
As rotate does not change the elements bounds to its rotated bounding box, rotated text
in tables and grids is not easy to achieve.
#table(columns: (auto, auto),
  rotate([Test Text], -90deg),
  rotate([Test Text], 0deg))

Renders as:

But what I want is, that the first cell is auto-sized to the bounding box of the rotated element, not its original bounds. Every workaround I have tried failed, as I could not get the table cell to grow correctly.
Proposal: Either add a function that applies all transformations (e.g. transform(rotate(...))) and affects the layout or a parameter (or separater fn) for rotate to affect the layout

This is working as documented: https://typst.app/docs/reference/layout/rotate/

Oops, you are right. I somehow oversaw that line.
Then this is a feature request for a version of rotate that alters the layout.

This can be achieved by putting it in a box and setting the correct inset.
Here I manually set then, but with some more effort it should be possible to create something that does it automatically using measure and some math.
#table(columns: (auto, auto),
  box(inset: (x:-15pt,y:18pt), rotate([Test Text], -90deg)),
  rotate([Test Text], 0deg))

Yeah, we plan to add a setting to rotate whether it shall affect the layout.

Here's a proof of concept. I didn't have the patience to deal with non-standard origin.
#let rotatex(body,angle) = style(styles => {
  let size = measure(body,styles)
  box(inset:(x: -size.width/2+(size.width*calc.abs(calc.cos(angle))+size.height*calc.abs(calc.sin(angle)))/2,y: -size.height/2+(size.height*calc.abs(calc.cos(angle))+size.width*calc.abs(calc.sin(angle)))/2),rotate(body,angle))
})

#lorem(20) This is a #rotatex([Vertical],-90deg) word while #rotatex([these],-27deg) #rotatex([these],27deg) are #rotatex([skew.],-70deg) It also works with math #rotatex($integral_0^oo e^(-x) d x$,-15deg). #lorem(20)

@Enivex thank you! Tried it with box width/height and place with no good results.
:+1:

@Enivex thank you! Tried it with box width/height and place with no good results. 👍

The problem is that you cannot set an absolute width or height for a box. So the solution is to let typst size it based on its contents, but then modify that size using inset. The effect of the -size.width/2 and -size.height/2 is to make the box take up zero size, and then the expressions in the parentheses compute the bounding box of the rotated content.
I'm sure it's not meant to be used this way, but it seems to work at least... I don't know enough about Typst to say if there's a better way to do it, short of modifying the way rotate() works. (Which could take a while I guess.)

The problem is that you cannot set an absolute width or height for a box.

I could swear I couldn't when I tried it yesterday, but it turns out that you can sometimes set absolute width and height of a box, but not if you have a rotate inside for some reason. I have no idea why.
As in,
#box(fill:blue,width:70pt,height:30pt,[Test Text])
#box(fill:blue,width:60pt,height:30pt,[#rotate([Test Text],87deg)])

results in

I don't know if this is a bug or feature....

Yeah I got similar results. With some tricks I was able to set the width, but not the height and so on... Maybe there should be an “absolute” mode for the box size? I acts very unexpected as of now.

The box should always respect a given absolute size. This is a bug.

The box sizing bug should be fixed.

Example to reproduce:
#box(width: 1cm, height: 1cm, stroke: red)[A]
#box(width: 1cm, height: 1cm, stroke: red)[#rotate(90deg)[A]]

Renders to:

I have tested it against a build of main and the bug seems to be fixed. The online version renders as posted above.
Render from main:

Indeed, I can now set absolute sizes. Although the result of this
#let rotatey(body,angle) = style(styles => {
  let size = measure(body,styles)
  box(fill:blue,width: size.width*calc.abs(calc.cos(angle))+size.height*calc.abs(calc.sin(angle)), height:size.height*calc.abs(calc.cos(angle))+size.width*calc.abs(calc.sin(angle)),
             rotate(body,angle))
})

#lorem(20) This is a #rotatey([vertical],-90deg) word while #rotatey([these],-27deg) #rotatey([these],27deg) are #rotatey([skew.],-70deg) It also works with math #rotatey($integral_0^oo e^(-x) d x$,-15deg). #lorem(20)

is

so the previous workaround (above) is still the way to go for this particular issue.

Here's a proof of concept for a general version of my workaround. I didn't have the patience to deal with non-standard origin.
#let rotatex(body,angle) = style(styles => {
  let size = measure(body,styles)
  box(inset:(x: -size.width/2+(size.width*calc.abs(calc.cos(angle))+size.height*calc.abs(calc.sin(angle)))/2,
             y: -size.height/2+(size.height*calc.abs(calc.cos(angle))+size.width*calc.abs(calc.sin(angle)))/2),
             rotate(body,angle))
})

#lorem(20) This is a #rotatex([Vertical],-90deg) word while #rotatex([these],-27deg) #rotatex([these],27deg) are #rotatex([skew.],-70deg) It also works with math #rotatex($integral_0^oo e^(-x) d x$,-15deg). #lorem(20)

Since style() is deprecated now here is a version that uses context:
#let rotatex(body,angle) = context {
    let s = measure(body) // s
    box(inset:(x: -s.width/2+(s.width*calc.abs(calc.cos(angle))+s.height*calc.abs(calc.sin(angle)))/2,
        y: -s.height/2+(s.height*calc.abs(calc.cos(angle))+s.width*calc.abs(calc.sin(angle)))/2),
        rotate(body,angle))
}

A workaround isn't really needed anymore, since rotate has the reflow parameter now

@Enivex Hmm, switching back to rotate from rotatex seems to break things (Typst 0.12):


An integrated REPL

It would be great to have a REPL integrated with Ellie.
Currently the only online Elm REPL is this: http://elmrepl.cuberoot.in/ It's nice, but doesn't allow for the installation of packages. Being able to run small snippets of code in the scope of the Ellie project would be really helpful for education.

Sounds like a good idea but could clutter the UI a bit. Is this imagined as panel titled "REPL" that would be underneath the existing two (the one titled "ELM" and the other "HTML")? Or is to exist on the right hand side as tab with the current group being "OUTPUT," "DEBUG," "LOGS," and "SHARE"?

The latter seems better to me. Less clutter.


Nelson has no max cap on number of nodes added as neighbours

Expected behaviour
Capping the number of active neighbours. Command line flag?
Actual behaviour
There appears to be no cap on how many neighbours Nelson adds over time, exceeding the recommended max of 7.
Steps to reproduce
Run Nelson for several hours.
Basic Info
Linux server 14.04
NPM 5.5.1
IRI <IP_ADDRESS>
Nelson 0.1.11
Nelson Info
N/A

Questions answered on slack, although feature request of adding a max number of nelson added nodes may be a good feature.


[WIP] Spec: DNS Integration for NSM

Description
https://github.com/networkservicemesh/networkservicemesh/issues/1224
Motivation and Context

How Has This Been Tested?

[ ] Covered by existing integration testing
[ ] Added integration testing to cover
[ ] Tested locally
[ ] Have not tested

Types of changes

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

Checklist:

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.

This will split in three parts.


Add the ncsd object class to default classes

Should this be nscd or ncsd?
https://selinuxproject.org/page/ObjectClassesPerms
https://linux.die.net/man/8/nscd_selinux

Yep, thanks for catching that.


Support for Dialog Deligation

Issue #125

raising a new PR with with fewer commits

how are we supposed to return a delegate object? I cannot figure out how to make this new class do anything with the dialog interface amazon provides

request_data = json.loads(request.data)
if session["dialogState"] != "COMPLETED":
    return delegate(request_data['request'])

this way you can use delegates

Why the speech parameter in models.py?
I had copied this code before it was merged into master but now just returning delegate() broke my code when I updated flask-ask
I had def __init__(self): instead of def __init__(self, speech): from below
class delegate(_Response):

    def __init__(self, speech):
        self._response = {
            'shouldEndSession': False,
            'directives': [{'type': 'Dialog.Delegate'}]
        }


Ability to verify users one-time payments

Feature request

Extension name: firestore-stripe-payments

Is your feature request related to a problem? Please describe.
I have a web application that allows users to purchase 'templates' using a one-time payment, once purchased they will have ongoing access to use these templates within their dashboard.
The current extension supports the ability to verify a user's subscription purchases via the product's custom claim role, for example, as taken from the docs:
async function getCustomClaimRole() {
  await firebase.auth().currentUser.getIdToken(true);
  const decodedToken = await firebase.auth().currentUser.getIdTokenResult();
  return decodedToken.claims.stripeRole;
}

This does not work for one-time purchases.
Describe the solution you'd like
For my use case, it would be helpful to be able to check the user's stripeRole for one-time purchases in the same way we can for subscription purchases.
Describe alternatives you've considered
I have considered adding a cloud function that updates my customer in firestore when a checkout session is completed. While this should work, it is adding complexity I am trying to avoid, and would prefer a common implementation within the extension that everyone could use.
Thank you for the extension and your consideration.

I want this feature as well, but it seems like stripe has abandoned the project, did u find a way to do it?

April 2024 checking in...I'm in the same boat. What did you guys do to address the issue?

April 2024 checking in...I'm in the same boat. What did you guys do to address the issue?

looks like everyone is missng