Update tutorial-windows10.md

Summarize the change in the pull request title
Admins need to understand that this policy that is created is not shown in the Client settings but via the Azure settings plus this sets a policy on the machine.  Any Group policy set for Data Collection will cause a fight with Desktop Analytics.
Fixes #Issue_Number (if necessary)

@Mhudson97 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@aczechowski : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off


Defence - LLM Evaluation

Train another model to detect malicious input.
https://learnprompting.org/docs/prompt_hacking/defensive_measures/llm_eval
Each defence should include the following:

A frontend component for the defensive measure on the left side bar.
Checkbox to toggle the defensive measure.
Some way to get a description of the defensive measure.
Pulsing the defensive measure component when it captures malicious content.

Notes

Use another LLM with a specific prompt to explain prompt injection and ask the LLM to detect if input is a prompt-injection attack (https://www.alignmentforum.org/posts/pNcFYZnPdXyL2RfgA/using-gpt-eliezer-against-chatgpt-jailbreaking)
•	pros – simple, can give good context in a prompt
•	cons - different types of prompt injection attacks. may have to be specific

use an open source framework i.e. Rebuff
•	pros - already implemented, self hardening, multiple stages of defence (heuristics, LLM, feedback)
•	also used with langchain Rebuff | 🦜🔗 Langchain
•	cons - python-api , multiple stages of defense might be a performance lag

Use a dataset to train an LLM on prompt injection attacks: deepset/prompt-injections · Datasets at Hugging Face
•	pro: provides different examples
•	cons: small dataset, german examples (?)

Combination of 1 & 3: use another RetrievalQA model ?

Considerations – what do we want to detect?
•	Jailbreaking prompts
•	Ignore instructions and do something else
•	Inappropriate/offensive instructions
•	Virtualisation – take on a new persona

LLM Evaluation Goals
•	Detect on jailbreaks trying to change the behaviour
•	Detect on getting bot to reveal original/previous prompts
•	Detect on user trying to get bot to say or email something bad/illegal
•	Detect on user instructing bot to reveal sensitive information
•	Do not detect on related instructions for emailing e.g. Send all subsequent emails with my signature “Heather L”,  or from now on you must draft an email before sending it and ask for my confirmation.
•	Do not detect on related instructions for querying the documents e.g. when I ask you questions about the documents, you should respond in caps.
•	Do not detect on general questions about sensitive info. In the documents unless instructed to reveal sensitive info. E.g. “What is the CEO’s salary? ”


Bridged NIC: Load br_netfilter kernel module when using IPv6 filtering

Required for IPv6 iptables filtering rules.
Signed-off-by: Thomas Parrott<EMAIL_ADDRESS>

jenkins: test this please


Added PowerShell command for verifying signed binaries and removed leftover text about encoding

Description
Added a new quick PowerShell native way to verify the signed policy binary file.
The file is read as a byte array because the SignedCms.Decode() method expects a byte array as input, it then returns an array of X509Certificate2 objects that represent the certificate(s) used to sign the .CIP binary file.
Also, when reading the document, I found some leftover mentions of encoding in the warning section that no longer exists so removed them too.
Why

The PowerShell way produces objects instead of strings which is great for the output to be consumed by other commands.
It provides a lot more information than cerutil.exe
Since all other commands in the page are in PowerShell, this offers more consistency.

Changes
Added this
$CIPolicyBin = 'path to signed policy file'
Add-Type -AssemblyName 'System.Security'
$SignedCryptoMsgSyntax = New-Object -TypeName System.Security.Cryptography.Pkcs.SignedCms
$SignedCryptoMsgSyntax.Decode([System.IO.File]::ReadAllBytes($CIPolicyBin))
$SignedCryptoMsgSyntax.Certificates | Format-List -Property *

Removed this
and encoding for certificate fields, like 'subject common name' and 'issuer common name'

Perfect. New PS commands are successfully returning the certificate used to sign the policy. Thanks for your contribution as always!!

Nice, my pleasure!


Improvements to namespace registry to align with pod model

This is more clean-up to the namespace registry implementation that is a prerequisite to me adding more control-plane operations around namespace lifecycle.
This updates the namespace implementation to align with what was done for pods.
/cc @smarterclayton

Two comments then LGTM

Addressed all comments.


python31{1,2}Packages.smart-open: apply patch fix unit tests

opened PR https://github.com/RaRe-Technologies/smart_open/pull/822 and apply patch
https://github.com/RaRe-Technologies/smart_open/commit/7442fc4d6f0e9a7b3425ed9b199a6c29cb1ed9f2.patch to fix unit tests on python 3.12
ZHF: https://github.com/NixOS/nixpkgs/issues/309482
https://hydra.nixos.org/build/257823750
Description of changes

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

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

2 packages marked as broken and skipped:

python311Packages.vllm
python311Packages.vllm.dist

64 packages built:

python311Packages.bpemb
python311Packages.bpemb.dist
python311Packages.fastai
python311Packages.fastai.dist
python311Packages.fuzzytm
python311Packages.fuzzytm.dist
python311Packages.gensim
python311Packages.gensim.dist
python311Packages.kserve
python311Packages.kserve.dist
python311Packages.natasha
python311Packages.natasha.dist
python311Packages.navec
python311Packages.navec.dist
python311Packages.pathy
python311Packages.pathy.dist
python311Packages.ray
python311Packages.ray.dist
python311Packages.slovnet
python311Packages.slovnet.dist
python311Packages.smart-open
python311Packages.smart-open.dist
snakemake (python311Packages.snakemake)
python311Packages.snakemake-storage-plugin-s3
python311Packages.snakemake-storage-plugin-s3.dist
python311Packages.snakemake-storage-plugin-xrootd
python311Packages.snakemake-storage-plugin-xrootd.dist
snakemake.dist (python311Packages.snakemake.dist)
python311Packages.spacy
python311Packages.spacy-lookups-data
python311Packages.spacy-lookups-data.dist
python311Packages.spacy-transformers
python311Packages.spacy-transformers.dist
python311Packages.spacy.dist
python311Packages.textacy
python311Packages.textacy.dist
python311Packages.textnets
python311Packages.textnets.dist
python311Packages.weasel
python311Packages.weasel.dist
python312Packages.bpemb
python312Packages.bpemb.dist
python312Packages.fuzzytm
python312Packages.fuzzytm.dist
python312Packages.gensim
python312Packages.gensim.dist
python312Packages.natasha
python312Packages.natasha.dist
python312Packages.navec
python312Packages.navec.dist
python312Packages.pathy
python312Packages.pathy.dist
python312Packages.slovnet
python312Packages.slovnet.dist
python312Packages.smart-open
python312Packages.smart-open.dist
python312Packages.snakemake
python312Packages.snakemake-storage-plugin-s3
python312Packages.snakemake-storage-plugin-s3.dist
python312Packages.snakemake-storage-plugin-xrootd
python312Packages.snakemake-storage-plugin-xrootd.dist
python312Packages.snakemake.dist
python312Packages.weasel
python312Packages.weasel.dist

updated patch to use context manager as requested by upstream maintainer.

Result of nixpkgs-review run on x86_64-linux 1

2 packages marked as broken and skipped:

python311Packages.vllm
python311Packages.vllm.dist

64 packages built:

python311Packages.bpemb
python311Packages.bpemb.dist
python311Packages.fastai
python311Packages.fastai.dist
python311Packages.fuzzytm
python311Packages.fuzzytm.dist
python311Packages.gensim
python311Packages.gensim.dist
python311Packages.kserve
python311Packages.kserve.dist
python311Packages.natasha
python311Packages.natasha.dist
python311Packages.navec
python311Packages.navec.dist
python311Packages.pathy
python311Packages.pathy.dist
python311Packages.ray
python311Packages.ray.dist
python311Packages.slovnet
python311Packages.slovnet.dist
python311Packages.smart-open
python311Packages.smart-open.dist
snakemake (python311Packages.snakemake)
python311Packages.snakemake-storage-plugin-s3
python311Packages.snakemake-storage-plugin-s3.dist
python311Packages.snakemake-storage-plugin-xrootd
python311Packages.snakemake-storage-plugin-xrootd.dist
snakemake.dist (python311Packages.snakemake.dist)
python311Packages.spacy
python311Packages.spacy-lookups-data
python311Packages.spacy-lookups-data.dist
python311Packages.spacy-transformers
python311Packages.spacy-transformers.dist
python311Packages.spacy.dist
python311Packages.textacy
python311Packages.textacy.dist
python311Packages.textnets
python311Packages.textnets.dist
python311Packages.weasel
python311Packages.weasel.dist
python312Packages.bpemb
python312Packages.bpemb.dist
python312Packages.fuzzytm
python312Packages.fuzzytm.dist
python312Packages.gensim
python312Packages.gensim.dist
python312Packages.natasha
python312Packages.natasha.dist
python312Packages.navec
python312Packages.navec.dist
python312Packages.pathy
python312Packages.pathy.dist
python312Packages.slovnet
python312Packages.slovnet.dist
python312Packages.smart-open
python312Packages.smart-open.dist
python312Packages.snakemake
python312Packages.snakemake-storage-plugin-s3
python312Packages.snakemake-storage-plugin-s3.dist
python312Packages.snakemake-storage-plugin-xrootd
python312Packages.snakemake-storage-plugin-xrootd.dist
python312Packages.snakemake.dist
python312Packages.weasel
python312Packages.weasel.dist


there is a way to create a new user from pyorient?

there is a way to create a new user from pyorient?

Hi @el3ctron ,
from what I know, from binary protocol command interface there is no possibility to create a new user in OrientDB because of the users must be created/configured inside the orientDB configuration file.


[document] The input argument name in F.rrelu is inconsistent

https://docs.chainer.org/en/stable/reference/generated/chainer.functions.rrelu.html#chainer.functions.rrelu
The slope for x < 0 is named a in the body text, but r is used for the input argument.

Randomized Leaky Rectified Liner Unit function.
This function is expressed as
f(x)=max(x,ax),
where a is a random number sampled from a uniform distribution U(l,u).
...
・r (N-dimensional array or None) – The r to be used for rrelu. The shape and dtype must be the same as x[0] and should be on the same device. If r is not specified or set to None, a r will be generated randomly according to the given l and u. If r is specified, l and u will be ignored.

According to the original paper (https://arxiv.org/pdf/1505.00853.pdf), a is the correct one.
However, if the name of the input argument is modified, the users may have to amend their code.
I don't have an idea which one should be fixed...

We discussed this issue and concluded that:

Keep name of the input argument as is.
Add notes like This value corresponds to `a` in the original paper. to the description of r.

@fiarabbit Do you have interest in making a PR?

@kmaehashi Thanks for your kind reply. I sent a PR.


Update zenaton engine url

You might want to wait for https://github.com/zenaton/core/pull/371 before moving forward with this


Remove firebase components from project

This project previously had firebase components which can be safely removed now

The backend components to remove can be found in the functions folder


Investigate if koji-ssl-admin can be used

It might be worth looking to see if koji-ssl-admin can be used instead of the hackish generate-certs scripts.

Here is how I use it in my CI tests for koji-ansible.
# Create SSL certs
git clone --depth 1 https://pagure.io/koji-tools.git

pushd koji-tools
./src/bin/koji-ssl-admin new-ca --common-name "travisci Koji CA"

# Create koji hub certificate:
./src/bin/koji-ssl-admin server-csr localhost
./src/bin/koji-ssl-admin sign localhost.csr

# Create koji user (client) certificate:
./src/bin/koji-ssl-admin user-csr travisci
./src/bin/koji-ssl-admin sign travisci.csr

# install client certs
mkdir -p ~/.koji/pki
cp koji-ca.crt ~/.koji/pki
cat travisci.crt travisci.key > travisci.cert
mv travisci.cert ~/.koji/pki/

# install hub certs
sudo cp koji-ca.crt /etc/ssl/certs/
cat localhost.crt koji-ca.crt | sudo tee /etc/ssl/certs/localhost.crt
cat localhost.crt koji-ca.crt | sudo tee /etc/ssl/certs/localhost.crt
sudo mv localhost.key /etc/ssl/private/localhost.key
sudo chown root:ssl-cert /etc/ssl/private/localhost.key
sudo chmod 640 /etc/ssl/private/localhost.key

popd  # koji-tools

I'm using this in Ansible as well: https://github.com/ktdreyer/koji-playbooks/blob/master/roles/koji-ssl-admin/tasks/main.yml

FWIW, osbs-box now no longer uses a script for generating certificates, it now uses only ansible:
tasks/generate-certs.yaml
tasks/generate-ownca-cert.yaml
This has worked relatively well AFAIK, we might look at koji-ssl-admin  in the future if we encounter issues, but for now I'd keep what we have.
Thanks for the info though!


Broken go.mod

I am trying to use the dcgmexporter go package with go 1.19 and get the following error when trying to install it locally.
$:/myHome/gpu_metric_testing/metroid$ go get github.com/NVIDIA/dcgm-exporter/pkg/dcgmexporter
go<EMAIL_ADDRESS>requires
<EMAIL_ADDRESS>invalid version: unknown revision<PHONE_NUMBER>00
$:

Is this a bug? Also, in go.mod why are the packages first added under require and then again replaced with other versions? Instead why not directly put the relevant package versions under the require directive?

The repo is setup for our build pipeline, which involves cloning and then running the relevant 'make' commands to build and test. I just verified that the 'make' steps are functional with 1.19.

@glowkey Apologies, I should have been more verbose earlier. Like you pointed, the build process does work for me too. But the issue comes up only when I try to use the public package dcgmexporter as dependency module in my application. To add more context, I am trying to build an exporter application which writes a bunch of dcgm metrics to a file (preserving the field types). So, wanted to build something on top of dcgmexporter since it already has most of the boilerplate code.

Thank you for the additional information. I don't think this qualifies as a bug. If you have changes for dcgm-exporter that work around this issue for your project please open a PR and we will evaluate it.


docs: update changelog for 0.14.0

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

Visual Studio Marketplace
GitHub release

Your semantic-release bot :package::rocket:


HACK: Make metadata client logical-cluster aware

/cc @ncdc

@sttts does your #54 replace this?

@sttts does your #54 replace this?

Yes, #54 supersedes this PR. Let me close it.

@sttts does your #54 replace this?

Yes, #54 supersedes this PR. Let me close it.

Oh, wasn't aware of your PR.


Local tunnel didn't work properly

I've tried to set my local into public with local tunnel use this code
`
import subprocess
import threading
import time
import socket
import urllib.request
def iframe_thread(port):
while True:
time.sleep(0.5)
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
result = sock.connect_ex(('<IP_ADDRESS>', port))
if result == 0:
break
sock.close()
    from colorama import Fore, Style
print(Fore.GREEN + "\nLocaltunnel Endpoint IP is:", Fore.RED, urllib.request.urlopen('https://ipv4.icanhazip.com').read().decode('utf8').strip("\n"),"\n",Style.RESET_ALL)
p = subprocess.Popen(["lt", "--port", "{}".format(port)], stdout=subprocess.PIPE)
for line in p.stdout:
    print(line.decode(), end='')

threading.Thread(target=iframe_thread, daemon=True, args=(7860,)).start()
`
But the public link didn't appear. How is this?

same, worked fine before

Maybe that is because of expired ssl certificate?

I've had the same problem since yesterday. The expired certificate of localtunnel.me might be the cause.

Did anyone find a solution?

Did anyone find a solution?

How about py-localtunnel or try cloudflare, but I can't implementing on code like that

Try using serveo in the meantime.
The server goes down quite a lot but I recommend it for personal use or quick access to your server(s).
ssh -R yoursubdomain.serveo.net:80:localhost:8080 serveo.net

Replace "yoursubdomain" and "8080" with your custom subdomain and port.

Duplicate of #630. You can close this issue now.


fix typo

bump - any chance to get this merged? Thanks.

Almost anniversary :-)

I'll close the pr due to no response.


[Web][Docs] Search bar result style on v5 documentation page

[x] I have searched the issues of this repository and believe that this is not a duplicate.

Summary 💡

Different height to show more content for search content. More details in chapter #Examples
Search box of MUI doc page has changed from dropdown of V4 to a pop-up dialogue in V5. We are allowed to put more content in the pop-up.
The issue was initially mentioned here https://github.com/mui-org/material-ui/issues/28415
This issue is to separate different topics.

Examples 🌈
When searching search, the subtitles can have less space. One possible way is to show page and chapter title with different height.
I would like to have some (limited) access to your prototyping tool like https://siriwatknp.github.io/mui-docsearch/ to make it clearer and easier during the communication.

Current behaviour  (searching text)

Expected behaviour (searching text) (with MSPaint)

Current behaviour  (searching typography or typog)

Expected behaviour (searching typography or typog)

I made a typo (g->p) while typing typog but it seems algolia corrected me

Motivation 🔦
Usability: to make search easier

Hi @mbrookes, could you explain why is this issue closed?

@Pablion If @siriwatknp disagrees, he's free to reopen this issues.

@Pablion I don't quite follow this one, but happy to leave it to @siriwatknp to decide the best action.

Thanks for the feedback. I don't have a strong opinion on this but we can keep this open to see if other people have similar thoughts.

I understand, since this is more about UX and there's no "strictly better" in this aspect if everything is designed correctly. I admit that the current style with more spacing would be cleaner although with less content. This is all about balance and equilibrium.


[Feature Request]: Allow writing/appending to installationScript

Hey :wave:,
Thank you very much for working on this awesome project!
I gave up on using pre-commit some time ago due to weird environment issues across different machines.
With the power of nix, it works like a charm!
But I currently face an issue/limitation that is "inherited" by from pre-commit (https://github.com/pre-commit/pre-commit/issues/693).
I am using git-lfs and to push to the remote LFS server, one usually installs the pre-push hook via git lfs install, which essentially writes:
#!/bin/sh
command -v git-lfs >/dev/null 2>&1 || { echo >&2 "\nThis repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting the 'pre-push' file in the hooks directory (set by 'core.hookspath'; usually '.git/hooks').\n"; exit 2; }
git lfs pre-push "$@"

The issue with pre-commit is that it doesn't allow a raw execution mode that forwards the arguments from the git hook call.
As discussed in https://github.com/pre-commit/pre-commit/issues/693, some workaround this issue by "wrapping" their hook to execute the above script as well.
One can test this by updating the .git/hooks/pre-push file after pre-commit install was run to include the git lfs pre-push "@" line (optionally with nix-path).
From what I can see, it would be nice if the following block:
https://github.com/cachix/git-hooks.nix/blob/f451c19376071a90d8c58ab1a953c6e9840527fd/modules/pre-commit.nix#L327-L395
could be writeable or have extraPre/extraPost data to provide an escape hatch to allow "injecting" additional code.
I fully understand that this is a limitation from pre-commit but since this repository also handles the "installation" of the pre-commit hooks, I believe that supporting/allowing such corner-cases would be beneficial.
Maybe there is a simple way to correctly configure git-lfs to play nicely with pre-commit and I am just not seeing it :thinking:
Either way, thanks for considering it!

Nah.
Sorry. :bow:
I have thought about this more and missed that this is essentially executed during enterShell or shellHook and that one can append the "update" Script to the activation environment.
My main misunderstanding was that the hook files (.git/hooks/pre-push for example) are not tracked inside of the nix-store but are generated during the environment activation (or when the nix flake check command is run). So, there is no issue in "patching/updating" these files in a separate step.
I also believe there is no good place to document this peculiar possible workaround for git-lfs.
TL;DR Sorry for the noise!


Long notes are not syndicated

Describe the bug
A clear and concise description of what the bug is.
When publishing a long note, it's not syndicated on Twitter and Mastodon.
I get the following error:
HTTP/1.1 500 Internal Server Error
Server: Cowboy
Connection: close
X-Powered-By: Express
X-Robots-Tag: noindex
Ratelimit-Limit: 250
Ratelimit-Remaining: 239
Ratelimit-Reset: 378
Content-Type: application/json; charset=utf-8
Content-Length: 277
Etag: W/"115-mZBijw8FQy6T6b8k1HB03Ht5630"
Date: Mon, 05 Dec 2022 06:20:17 GMT
Via: 1.1 vegur

{"error":"indiekit","error_description":"Twitter syndicator: Tweet needs to be a bit shorter.","stack":"IndiekitError: Twitter syndicator: Tweet needs to be a bit shorter.\n    at post (file:///app/node_modules/@indiekit/endpoint-syndicate/lib/controllers/syndicate.js:66:19)"}

Here's the note
To reproduce
Steps to reproduce the behaviour:

Commit a long note
Post the syndication webhook
See error

Expected behaviour
Long notes are syndicated but truncated with a link to the website to read the entire note
Screenshots or logs

Environment

Indiekit version: v1.0.0-alpha.15
Browser: all
Server/host: Heroku
Content store URL: https://github.com/alienlebarge/alienlebargech-v3
Publication URL: https://alienlebarge.ch

Additional context
none

Do not know if it helps.
I have updated to v1.0.0-alpha.16 and here's the error message I get now
HTTP/1.1 500 Internal Server Error
Server: Cowboy
Connection: close
X-Powered-By: Express
Set-Cookie: Indiekit=eyJhY2Nlc3xxxxxxxxxxxxxxxxxZXRlIG1lZGlhIn0=; path=/; secure; httponly
Set-Cookie: Indiekit.sig=cLYsKQKgVWjzkLVj4WAwTSkkN6I; path=/; secure; httponly
X-Robots-Tag: noindex
Ratelimit-Limit: 250
Ratelimit-Remaining: 240
Ratelimit-Reset: 772
Content-Type: application/json; charset=utf-8
Content-Length: 277
Etag: W/"115-mZBijw8FQy6T6b8k1HB03Ht5630"
Date: Mon, 05 Dec 2022 18:11:33 GMT
Via: 1.1 vegur

{"error":"indiekit","error_description":"Twitter syndicator: Tweet needs to be a bit shorter.","stack":"IndiekitError: Twitter syndicator: Tweet needs to be a bit shorter.\n    at post (file:///app/node_modules/@indiekit/endpoint-syndicate/lib/controllers/syndicate.js:66:19)"}

Possibly related to #437.

I’m going to release an alpha which includes the fix described in #437. I know this is slightly different… I did test syndication an overly long note to Twitter, and it worked.
Anyway, even if this does still cause an error, everything else shouldn’t blow up as a result 🤞

Have just released 1.0.0 Beta 2 with a number of fixes and a bit of refactoring around syndication. Let me know if you are still seeing this issue.

I no longer encountered any problems. I think this issue may be closed for the time being.

I’ve just seen this myself, with a note that Micro.blog counted as having 250 characters (which I think accounts for link shortening), and whose real character count was 270. Response from Twitter API: Tweet needs to be a bit shorter.

As I’ve now deprecated the Twitter syndicator, and this issue appears to relate to posting to Twitter’s API, going to mark this issue as closed/won’t fix.


cli: add recover & compress commands

Public-Facing Changes
Added command mcap recover for recovering data from truncated MCAP files.
Added command mcap compress for changing the compression in an MCAP file.
Description
Both new commands share core implementation with mcap filter, with different implied options.
Resolves #481
Resolves #446

Does mcap recover reorder messages so log_time is monotonic, or does it preserve file order?

I believe all of these commands currently preserve file order, since they use the Lexer rather than Reader.

I wonder if we could expose a more general-purpose subcommand mcap rewrite, which would cover mcap compress and any future modifications such as adding message indexes, adding summary data, changing message encoding, you name it.

such as adding message indexes, adding summary data

I assumed mcap recover is already doing this since the PR description says it is for recovering data from truncated MCAP files. What does the command actually do? Do chunks with invalid CRCs get discarded, and are indexes rebuilt?

The general-purpose mcap rewrite is basically what we have already with mcap filter (this PR just adds a recover option to it). But having separate commands/aliases for mcap recover and mcap compress seems like better SEO (easier to search on the internet, easier to find when reading mcap help, etc.)

My take is that separating recover from other transformations is nice from a discovery and ux standpoint. recover makes it clear the intent and type of file I am expecting to operate on.

@wkalt are you okay with the lexer changes in this PR?

@jtbandes lexer changes look fine

product review feedback:

PR good to merge
add decompress command
add compress/decompress/ignore-errors flags to the catch all command stream processing command (filter)


Support images on tutorials generated with make doc

Original report (archived issue) by Louise Poubel (Bitbucket: chapulina, GitHub: chapulina).

Summary
When running make doc, markdown tutorials under the tutorials folder are turned into HTML under the doxygen/html folder. It would be nice to also copy images from that directory so that they can be uploaded together with the generated HTML to the same server.
Motivation
Using images in tutorials is very important.
Describe alternatives you've considered
It's already possible to use HTML directly in tutorials and pass full URLs that point to other sites. However, this means that the generated documentation is not self-contained.

This is already supported by using doxygen's @image. All the library needs to do is a CMake command like this to copy the images to the doxygen folder:
file(COPY ${CMAKE_SOURCE_DIR}/tutorials/img/ DESTINATION ${CMAKE_BINARY_DIR}/doxygen/html/img/)
We could consider adding this line to ign_create_docs, or just keep adding it to each library as needed.

This is already supported by using doxygen's @image. All the library needs to do is a CMake command like this to copy the images to the doxygen folder:
file(COPY ${CMAKE_SOURCE_DIR}/tutorials/img/ DESTINATION ${CMAKE_BINARY_DIR}/doxygen/html/img/)
We could consider adding this line to ign_create_docs, or just keep adding it to each library as needed.

The @image or \image tag now works with the fix in https://github.com/gazebosim/gz-cmake/pull/183.


Could not find a language with code en_au despite being listed in GetLanguageCodes()

TZNames.GetLanguageCodes() lists "en_au" as a valid/known language code, however calling TZNames.GetDisplayNames() with either "en_au" or "en-AU" (as returned by System.Globalization.CultureInfo.CurrentCulture.IetfLanguageTag) both result in an exception.
The variations for en-US and en-GB work as expected.
Tested with v4.0.1 on .NET Core 2.2 x64 and .NET Framework 4.8 x86 and x64.

The same situation for "be" code.

The same for zh-Hans, zh-Hans-sg, zh-Hant and a large number of other culture names from GetLanguageCodes() list. That sucks, dudes. Fix it please!

This issue would be fixed by my PR: https://github.com/mattjohnsonpint/TimeZoneNames/pull/104


Fix issue where a colon in a uuid would get misinterpreted as a route param

References

Replaces https://github.com/DSpace/dspace-angular/pull/2283

Description
Some logic meant to copy route params to menu link params didn't work properly if the menu link contained a param, but the route didn't have a matching one
Instructions for Reviewers

Verify that the DSO routes containing a colon work properly now (they should redirect to the login page if you're logged out, or to 404 if you're logged in). e.g.

/collections/sample:path
/communities/ab:cd

Verify what happens if you use the name of the route param in the route. e.g.

/items/:id:foo

Verify that regular DSO routes still work
Verify that context sensitive statistics links in the header menu still work (which is the reason the method causing the issue was written in the first place)

Checklist

[x] My PR is small in size (e.g. less than 1,000 lines of code, not including comments & specs/tests), or I have provided reasons as to why that's not possible.
[x] My PR passes ESLint validation using yarn lint
[x] My PR doesn't introduce circular dependencies (verified via yarn check-circ-deps)
[x] My PR includes TypeDoc comments for all new (or modified) public methods and classes. It also includes TypeDoc for large or complex private methods.
[x] My PR passes all specs/tests and includes new/updated specs or tests based on the Code Testing Guide.
[x] If my PR includes new libraries/dependencies (in package.json), I've made sure their licenses align with the DSpace BSD License based on the Licensing of Contributions documentation.
[x] If my PR includes new features or configurations, I've provided basic technical documentation in the PR itself.
[x] If my PR fixes an issue ticket, I've linked them together.

Moving this to draft again: this doesn't deal with the case where you put the name of the route param in the route: e.g. /items/:id:something (where :id is the name of the param)

I tested basic browsing of communities, collections, and items. Everything working as expected.

I tested the functionality. It fixes the problems for the problematic URLs we were in encountering in production.

@MW3000 : That issue with http://localhost:4000/browse/foo:bar seems unrelated to this issue... I can verify that /browse/foo:bar never responds, but neither will any other invalid browse (e.g. /browse/nothing).  It appears we need better error handling for that path, but it doesn't result in the same behavior as this colon-in-uuid issue.
That said, if @artlowel sees a quick fix to /browse to handle invalid browse-by options, I do agree it'd be nice to fix as well.  It's just a different issue from what I can see.


unknown command "filter" for "mesheryctl"

Current Behavior

$ mesheryctl filter apply -f metrics_collector_bg.wasm
Error: unknown command "filter" for "mesheryctl"
Run 'mesheryctl --help' for usage.

Expected Behavior

I found filter is a subcommand of mesheryctl exp,
$ mesheryctl exp
List of experimental commands for testing and evaluation purpose.

Usage:
  mesheryctl exp [flags]
  mesheryctl exp [command]

Available Commands:
  filter      Cloud Native Filter Management
  mesh        Cloud Native Lifecycle Management

Flags:
  -h, --help   help for exp

Global Flags:
      --config string   path to config file (default "/root/.meshery/config.yaml")
  -v, --verbose         verbose output

Use "mesheryctl exp [command] --help" for more information about a command.

so I think the documents should be updated: https://docs.meshery.io/guides/configuration-management
Screenshots/Logs

Environment

Host OS: Mac Linux Windows
Platform: Docker or Kubernetes
Meshery Server Version: stable-v
Meshery Client Version: stable-v

Contributor Guides and Handbook

🛠 Meshery Build & Release Strategy
📚 Instructions for contributing to documentation

Meshery documentation site and source

🎨 Wireframes and designs for Meshery UI in Figma
🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack

@Ghat0tkach no. What @gyohuangxin meant is the filter is still under exp and we need to bring out of that. For now, I'll take this up as it's a priority one

Actually he stated that documentation should be updated 😅

Ah 😅 anyway, it's high priority that requires a fix quick


seeding_mode Columns

A query against this catalog view returns additional columns
seeding_mode
seeding_mode_desc
What are they? Please add documentation!
Version used: Microsoft SQL Server 2017 (RTM-CU17) (KB4515579) - 14.0.3238.1 (X64)

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

ID: e2b25f04-95d4-9375-3c8b-4bbfe9957d6f
Version Independent ID: 198a432b-fc11-0d67-896d-ac2ea523f390
Content: sys.availability_replicas (Transact-SQL) - SQL Server
Content Source: docs/relational-databases/system-catalog-views/sys-availability-replicas-transact-sql.md
Product: sql
Technology: system-objects
GitHub Login: @MikeRayMSFT
Microsoft Alias: mikeray

@PhilipKelley Thank you for letting us know, and apologies for the delayed response. We are confirming and will try to get back to you soon. Thanks for your patience!

@PhilipKelley - I have an update that I'm preparing. Thanks for the submission.


Can byPrereleaseNumber be used with csproj PackageVersion?

Is there a way to use NuGetCommand with byPrereleaseNumber to pack/push with the Major, Minor and Patch number defined in a csproj PackageVersion element? In other words, use the Semantic Version from the csproj, and append a generated prerlease number?

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

ID: 11ed58a1-5819-f3a4-c674-dafcdbd56fbc
Version Independent ID: d68aca4d-3fd3-1864-09f5-6060295e0399
Content: Publishing to NuGet feeds - Azure Pipelines and TFS
Content Source: docs/pipelines/artifacts/nuget.md
Product: devops
Technology: devops-cicd
GitHub Login: @thomps23
Microsoft Alias: amullans

@abelfiore Thank you for the question.
Unfortunately we cannot handle support requests in this forum.
For support options, please refer to:

Azure DevOps Support
Azure DevOps on StackOverflow

Additionally, if you find this feature is not yet available, please use Suggest a feature in the Visual Studio community to get feedback directly from the product team.

Closing the issue now, please comment below if needed.


Fix parameter types

This is required to pass AWS builds. Also safer customer experience

Is this due to newer version of cfn-lint that is used in taskcat 9?

Is this due to newer version of cfn-lint that is used in taskcat 9?

I'm not quite sure of what the full issue is, but it errors out because the type of the default value for "boolean" parameters didn't match the "string" because they were YAML booleans.


PHP7 and the old ['_id']->{'$id'}

Hi There,
Is there a way to return and to query the database using the old fashion way.
In the old way MongoID Class returned ['_id']->{'$id'} and now MongoDB\BSON\ObjectID Class returns ['_id']->oid which is not good for me as I will need to refactor the entire client and server project as they are using the $id method.
Help will really be appreciated.

In the old way MongoID Class returned ['_id']->{'$id'} and now MongoDB\BSON\ObjectID Class returns ['_id']->oid which is not good for me as I will need to refactor the entire client and server project as they are using the $id method.

The legacy driver's MongoId class had a public $id property, which you could access as $value->{'$id'}; however, the new MongoDB\BSON\ObjectID class has no public properties. Are you referring to debug output?
Both the old and new driver return the 24-character hexadecimal string via __toString(), so I would suggest string casting if you need a consistent way to access the hash in both drivers.
If you absolutely need the legacy driver's API on PHP 7 (perhaps due to other API differences), I would suggest using the third-party mongo-php-adapter library until you can port over your project.

Hi @jmikola,
I've taken a look in to mongo-php-adapter library, but I still can't understand how I can use the old fashion $id.
So I need to use both Libraries? This with conjunction of the mongo-php-adapter library?
So you guys not plan to support it with something like the driverOptions? Can this done easily with the driverOptions?

mongo-php-adapter implements the legacy driver API on top of this library and the extension; however, that does not mean you need to use this library directly.
If you are using the adapter library, you should get instances of MongoId back instead of MongoDB\BSON\ObjectID. The library implements __get() and returns the 24-character hexadecimal string when you access the property named $id (i.e. $oid->{'$id'}).
With PHPC-640, we hope to allow users to wrap the extension's BSON types with custom classes. This is technically what @alcaeus is already doing in his adapter, but our feature will save a lot of manual work on his part. @derickr has started implementing this for HHVM in https://github.com/mongodb/mongo-hhvm-driver/pull/111, but it's still a ways off. When implemented, it will be possible through the type map settings (which is one of the $driverOptions in this library).

Great Thanks.
So it will be supported in the next versions.

So it will be supported in the next versions.

Custom type classes will be supported, but implementing such a thing would require considerably more code on your end than migrating your code to cast the ObjectID to a string. I don't understand the desire to access the $id property given that __toString() is a consistent API for both the legacy and new drivers.

There are lots of use cases. SPA applications. Rest API which returns Mongo Docs.
OK?

I wasn't soliciting examples of applications. I just did not understand the issue with changing $objectid->{'$id'} to (string) $objectid when migrating an application from ext-mongo to ext-mongodb. That is a small change relative to the many other API differences between the old and new driver.
In any event, there is no specific action to take for this issue (apart from PHPC-640), so I think we can just close it out.


Cannot fetch schema with cookie authentication

Describe the bug
Cookie authentication always fails when fetching schema because cookie header value contains "=" and it is getting lost due to header.split("=")
Replacing header.split("=") with header.split(/=(.*)/s) in cmd/pullSchema.ts and cmd/init.ts fixes the issue
Severity
serious, but I can work around it
Steps to Reproduce the Bug
Attempt to use init or pull-schema against graphql API that uses Cookie authentication or any other header containing "="
Reproduction
No response

hey @yaroslavros! Thanks for finding the fix - mind submitting a PR?

Thanks again for submitting the fix!


Don't return duplicated users who can create org repo (#22560)

Backport of #22560

Currently the function GetUsersWhoCanCreateOrgRepo uses a query that is able to have duplicated users in the result, this is can happen under the condition that a user is in team that either is the owner team or has permission to create organization repositories.
Add test code to simulate the above condition for user 3, TestGetUsersWhoCanCreateOrgRepo is the test function that tests for this.
The fix is quite trivial, which is adding DISTINCT keyword to `user`.id.

Backport 1.18: https://github.com/go-gitea/gitea/pull/22562

Please update to match #22560


FIX: bootstrap: when on debian OS itself, variable ID_LIKE does not exist.

Issue
Bootstrap's OS detection was not successful on generic debian system.
Debian derivatives, like ubuntu expose $ID_LIKE variable via /etc/os-release.
Solution
Additional check for $ID_LIKE variable, in cases where does not exists, it should use $ID.
How Tested
Was trying to build on a debian(bullseye/bookwork) and this simple fix solved it.

@sigysmund Looks good. One request: could you change the commit message to align with CONTRIBUTING and pass our linter? Recommendation:
Fix bootstrap OS detection for generic Debian

Addressed in 5be9788d7b92f9828e469f256780b81777ea49d0


Automate wp db export on destroy?

Operating System: Ubuntu 16.04
Vagrant Version: 1.9.2
Virtual Box Version: 5.0.32
Any suggestions on a good way to automate a wp db export on destroy? I have wp db import set up using provision-post.sh, but I'd like to figure out how to automate an export as well.

Figured out a solution that seems to work well shortly after posting using vagrant triggers.
Install vagrant triggers if not already installed
vagrant plugin install vagrant-triggers
Add trigger to Vagrantfile
  config.trigger.before :destroy do
    run_remote "sudo -u vagrant -- wp db export /vagrant/wordpress.sql --path='/var/www/html/'"
  end


Do Not Merge -- LIME-404 -Changed account team to One Login

Note: To be merged on the 26th Jan
What changed
Changed the product name on error page from GOV.UK Account team to GOV.UK One Login

Additional Content updates have been requested since this PR was raised, covered in this PR - https://github.com/alphagov/di-ipv-cri-fraud-front/pull/305


Fix a missing apex thread data (wrapper) initialization

Fixes #3297
I'm not sure if this is correct, but it fixes my problems and now the traces are written

looks good!


PuffOS neofetch add to database

puffos.github.io is website

lmao

lmao

kek

kek

Please don't accept this because it corrupts all of logos

Please don't accept this because it corrupts all of logos

looks like a retarded project

looks like a retarded project

Turk_guy_kills_neofetch_in_one_cummit_1080p.mp4

Turk_guy_kills_neofetch_in_one_cummit_1080p.mp4

@frknkrc44 looks like you didn't know kali's new logo

@frknkrc44 looks like you didn't know kali's new logo

@Caticer looks awesome lol

@Caticer looks awesome lol

@Caticer Wtf, I'm dying lmfao 😂

@Caticer Wtf, I'm dying lmfao 😂

@frknkrc44 looks like you didn't know kali's new logo

Awesome. This patch must come as nearest as possible


Same binding used multiple times causes watchers number to increase

Watcher count increases on every $$rebind broadcast if we bind same value on multiple places.
For example:

        <input type="checkbox" ng-if=":destinations:(!destination.is_level)" ng-model="destination.selected"/>

Here we have ng-if=":destinations:(!destination.is_level)" twice.
The actual list has 6 items that satisfy that condition. After every rebind (and I have to refresh this list every 5 seconds) the watchers count increases by 6. If I remove one of the ng-if=":destinations:(!destination.is_level)", the watchers count is initially bigger, but stays the same over time.

Looks like this wasn't due to multiple same bindings, but du  to watching undfined value, for which there already an open issue.


[Issue #90] Fixed test_registration by converting _cattle_url to fixture...

@cjellick

LGTM

LGTM

@ibuildthecloud are you merging this or am i?


Finding product id's in a script?

I noticed it's very cumbersome to find the product ID's for instruments. I can find the stock list, but finding Dutch FTI futures or german bund or eurostoxx futures is giving me headaches.
Wouldn't it be convenient to create a script where user input (select exchange, country, product type) will give the required product id?

I made a quick and dirty script to search and find id's. I think it may help (at least, it helped me!)
import json
import pandas as pd
import degiro_connector.core.helpers.pb_handler as payload_handler

from degiro_connector.trading.api import API as TradingAPI
from degiro_connector.trading.models.trading_pb2 import Credentials, ProductSearch

# SETUP CONFIG DICT
with open("config/config.json") as config_file:
    config_dict = json.load(config_file)

# SETUP CREDENTIALS
int_account = config_dict.get("int_account")
username = config_dict.get("username")
password = config_dict.get("password")
totp_secret_key = config_dict.get("totp_secret_key")
one_time_password = config_dict.get("one_time_password")

credentials = Credentials(
    int_account=int_account,
    username=username,
    password=password,
    totp_secret_key=totp_secret_key,
    one_time_password=one_time_password,
)

# SETUP TRADING API
trading_api = TradingAPI(credentials=credentials)

# ESTABLISH CONNECTION
trading_api.connect()

stockcode = input("Which stock? ")

# SETUP REQUEST
request_lookup = ProductSearch.RequestLookup(
    search_text = stockcode,
    limit=2000,
    offset=0,
    product_type_id=0,
)

# FETCH DATA
products_lookup = trading_api.product_search(request=request_lookup, raw=False)
products_lookup_dict = payload_handler.message_to_dict(message=products_lookup)
pretty_json = json.dumps(products_lookup_dict, sort_keys=True, indent=4)

df = pd.DataFrame(products_lookup_dict['products'])

if len(df) > 0:
    dfclear = df[['name','symbol', 'productType', 'currency']]
    print (dfclear)

    details = input("Details on which number? ")
    print (df.loc[int(details),:])
else:
    print("{} returned no results".format(stockcode))`

Closing the ticket.


Json.Decode.decodeValue runtime error

If you have a recursive JavaScript object and you try to apply a simple decoder on it like that:
myString = Json.Decode.decodeValue Json.Decode.string myRecursiveObject

This will crash at runtime because it tries to stringify the recursive value when generating the error message which will fail with TypeError: Uncaught error: Converting circular structure to JSON

I also incurred in that problem once. But do you think is Elm's error?  The decoder is meant to decode JSON data, and the JSON spec doesn't mention references.
I think you shouldn't try to parse a generic JavaScript Object unless it is JSON compliant.

Yeah, I've been asking myself the same question. But JSON is actually a String which follow a specific syntax. According to that, Json.Encode functions should all return strings, Json.Encode.Value should probably not exist, and Json.Decode.decodeValue would make no sense. That's one way to solve the problem.
But, if keeping Json.Encode.Value, it's dangerous because you can pass anything as a Json.Encode.Value inside a port, even if it is a JavaScript function or a recursive object. There is no check at all.
So, if the goal is to prevent compiled code to crash at runtime, I still think there is a problem somewhere. Not sure if the best solution is to prevent Json.Encode.Value at all, or just checking them inside ports, or adding a try/catch inside toString and decoders.

I just had the issue as well. I was

decoding a circular JS object
with decodeValue
and no stringifications
When the decoder failed, JSON.stringify() is called to construct a proper error msg. like here
Would be cool if this line line were wrapped in a try catch https://github.com/elm-lang/core/blob/5.1.1/src/Native/Json.js#L235

Did anyone capture the runtime exception that is thrown at: https://github.com/elm-lang/core/blob/5.1.1/src/Native/Json.js#L235 ?
I want to know if it is an out of stack space exception from infinite looping, or if it is some other exception indicating that javascript spotted the infinite loop.
If its an out of stack space exception, then wrapping it in a try/catch is not a good idea.
Also, the code has changed a lot since the 5.1.1 release, so this might already be fixed. Will take a look.

Seems to be fixed here:
https://github.com/elm-lang/core/blob/master/src/Elm/Kernel/Json.js#L327
On failure the JSON is returned as a Value.

If folks can confirm that this still exists, please record it https://github.com/elm/json/issues/


Hardcoded PHP passwords not found

I did some tests and a number of passwords (e.g. in an array or constant) were not found in a php file:
Array example:
     array (
                                        'host' => self::processHost('database05'),
                                        'database' => 'test',
                                        'user' => 'test',
                                        'password' => 'tzlzhzgpazlvaffudrnkbhlkyawtgzc',
                                ),

Constants:
   const   DB_TEST_PWD = 'jex0`&?c950?\7$ya5',
               DB_PWD = 'plqudzxtlhchccoqfirgmqqzxpyyoik';

I've used the following command: detect-secrets scan > .secrets.baseline

@BlueCanary-DM , what version of detect-secrets are you running? Have you tried using detect-secrets scan --string to see what the individual plugins report?

I'm running version 0.13.1 as I had the issue described here:
https://github.com/Yelp/detect-secrets-server/issues/62

I am facing the same problem with PHP files, the following code is not caught by any of the plugins:
define('DB_GLOBAL_MASTER',
    array(
        'database' => 'GLOBAL_MASTER',
        'host' => 'xxx.xx.203.94',
        'port' => '1433',
        'username' => 'xxxxweb-xxadmin',
        'password' => '***@9mIn',
    )
);

Even 'password' is not flagged by KeywordDetector unless one removes the single quotes around the word password.

After doing some investigation on this issue. The issue with the array declaration is valid. The => operator is not picked up by the keyword detect. I have added 567 to fix this issue.
With respect to the const secrets noted above. The first secret (DB_TEST_PWD) is detected. The second secret (DB_PWD) indeed is not detected. However this is because it is filtered out by the detect_secrets.filters.gibberish.should_exclude_secret
This investigation was performed on detect-secrets v1.2.0


Automated tests

Hey folks, I have been using create-guten-block for my Gutenberg block development and it just rocks! In order to take the next step, I would like to implement some automated tests on my code base. has anyone done that on top of a project generated with create-guten-block? I would appreciate any tips to test the JS part of my code.
Cheers,
Miguel

+1 for jest integration like create-react-app

I am open to PRs for that. Or for support from companies towards the project so I can work on it to create more automated testing. 👌


Explicitly update global settings when changing mode

Previously, we had a polymer watcher on model.globalSettings.mode which
would trigger modeChange which would update the globalSettings state
in core whenever mode was changed.  This caused updateGlobalSettings
to be called multiple times in some cases (except for the two instances
in root.ts that relied on the watcher, all other cases still
explicitly updated settings themselves) and resulted in it being called
in error at other points (initialization caused it to be called, even if
globalSettings itself was not fully populated).
We now manually call updateGlobalSettings when the user clicks the get
or share tabs.
Fixes #1190

is setGetMode and setShareMode called when you click on tabs? iirc it wasn't when I tested this.

Yup, @lucyhe caught that a bit ago, currently working on a fix


JSON Redirect Question

I have a question about refreshing using the redirectTo parameter.  I formatted my Google Sheets and used the Google Sheets Importer to create my JSON file.  On that page it states:

You can be redirected after refreshing by passing a redirectTo parameter to this URL.

I'm not a developer.  I tried to search for how to leverage this.  Can someone help me with some sample code?
Also, the page says:

Feeds that are not refreshed within 30 days are removed automatically.

Does using the "redirectTo" parameter keep my feed refreshing every time it's used?
Thanks in advance.

This means a parameter in the query string, so appending, for example, ?redirectTo=https://aanapa.org/meetings to your URL
We have a function in the San Jose Google Sheet where the meeting admin can click on the LINK column and be taken straight to the meeting in question, while reloading the list on the way there.
You'd be welcome to adapt that sheet to your purposes by going to File > Make a Copy, and replacing the data with your own.
It has a few nice other features, like automatically geocoding addresses to enable the maps view on aasanjose.org/meetings


Connected SPI bus to on-board Flash and SPI peripheral

Added Connection to on-board FLASH and SPI bus.
Resolved ERR_FLSH error
Storing to Flash and booting from Flash working

Oh, seems like the SPI signals got lost during some earlier update of this wrapper... 🙈 Thanks for fixing this!


(WIP) listen event change chain

@haunv3 can you test this feature again using OWallet? Thanks!

@haunv3 can you test this feature again using OWallet? Thanks!

@ducphamle2  I checked again and it seems to work with the dev. Please try again with this version.
prod.zip
.


[REEF-620]  Adding language property in Avro Configuration

When the code in a language receives a configuration from another, it needs to know which language the configuration was created so that to determine which alias to choose.
This PR added a language property in Avro Configuration to carry this information. It also modified the places where the AvroConfiguration object is created in both Java and C#.
The evaluator.conf used in testing is a newly generated one from test runtime which contains language information. Test is updated to read language property from it after deserialization.
JIRA: REEF-620(https://issues.apache.org/jira/browse/REEF-620)
This closes #
Author: Julia Wang  Email<EMAIL_ADDRESS>

@jwang98052 I've done a pass. I have some broader concerns I'll put onto the JIRA.

Addressed review comments, merged from master and rebased it as more check-in happened yesterday.
For Avro schema, I tried to use space to replace tab, but git doesn't find the difference.
Change pushed in.

Hmm, the indent still looks off, even here on GitHub

Would you like to help me to update it before merging?

Yes, will do. Otherwise, this looks good. Will merge it.


[Label] Add get_character_bounds method to get bounding rectangles of the characters.

Closes https://github.com/godotengine/godot-proposals/issues/8299
Adds Label.get_character_bounds(character pos) method, which return bounding rectangle of the character. If the character is a non-visual character or pos is invalid, empty Rect2 is returned. If the character is a part of a composite grapheme, the bounding rectangle of the whole grapheme is returned.

Will this be added to RichTextLabel?

@bruvzg Would you mind updating the docs as suggested?

Thanks!

Any chance something like this will be added for RichTextLabel? I get that it'd be a bit more complicated, but it would be incredibly useful for many things.


MovGetter Status not increasing?

So I noticed when trying to make EvenFooted that the MovGetter doesn't seem to apply any boosts from skills.
As you can see below, I added the EvenFooted skill to both the SpdGetter and MovGetter files, but only the boost for SpdGetter is applied.

fixed by https://github.com/MokhaLeee/fe8u-cskillsys-kernel/commit/645945529101182f3d1b4d738dae039a706c60c3

Defintely an improvement, but it doesn't show as a green boost, rather it shows as a natural one?
Eirika's movement should be 5 + 1 instead of a flat 6.

This has been fixed with 17cfc32


♻ Move DevOps to GitHub

Cc: @BrookJeynes @Aibono1225 @wicksipedia @GordonBeeming @danielmackay @UlyssesMaclaren
Some users reported receiving a notification from GitHub saying the Azure DevOps build workflow has failed on their fork of the content repo.
There is no need for this workflow to run on a fork, it should only run when changes are merged into main on the SSW repo
After investigating I found that there was as scheduled trigger for the workflow that added in this PR https://github.com/SSWConsulting/SSW.Rules.Content/pull/4651
As per my conversation with @pierssinclairssw the scheduled trigger was added as a 'backup' run as it occasionally fails on main because it tries to trigger a run on Azure DevOps and this occasionally fails. (e.g. https://github.com/SSWConsulting/SSW.Rules.Content/actions/runs/5396291811)
see https://github.com/SSWConsulting/SSW.Rules/issues/937
This is not a solution because it will always fail on forks.
To fix this properly, I suggest we move all the DevOps to GitHub.
### Tasks
- [x] Remove the scheduled trigger - https://github.com/SSWConsulting/SSW.Rules.Content/pull/5906
- [x] Move the DevOps from Azure DevOps to GitHub actions
- [ ] ~action https://github.com/SSWConsulting/SSW.Rules/issues/915 as part of this~

✅ Done - everything happens in GitHub now :)
see https://github.com/SSWConsulting/SSW.Rules/issues/1292


Information is power

Page: https://github.com/Codeinwp/handbook-of-money/blob/follow/pages/information-is-power.md

@Soare-Robert-Daniel a powerful idea here when you think about sponsored content and news, are the incentives.
Is there anything the writer/advertiser might win if you do as they say? Like a real estate developer telling you to buy an apartment from him because is the best time?


how to use TransportDumpReplay?

I see FreeRDP_TransportDumpReplay in settings.h,
Does freerdp have replay feature,  and how to use it? If not, what is it plan?
thanks

yes, there is a (hidden) recording and replay feature, check freerdp/streamdump.h
this is implemented in xfreerdp and sfreerdp-server
there are some remaining issues but it is useful for debugging

@akallabeth Does sfreerdp-server record the dump file? the xfreerdp can read it to replay?
What is  the xfreerdp command?  thanks

@merlin82 the other way around.
and the functionality is not exposed in xfreerdp as there are some issues left to fix.

the other way around.

i see proxy also has stream_dump_register_handlers(peer->context, CONNECTION_STATE_NEGO).
so proxy can record dump file,  and use  sfreerdp-server to replay it?
(1) I modify proxy, on pf_server_initialize_peer_connection,   the proxy record this:
-rw-r--r-- 1 root root 162654 11月  4 14:43 read.dump
-rw-r--r-- 1 root root 742172 11月  4 14:43 write.dump
(2) modify sfreerdp-server, add this code:
info->replay_dump = "/data/record/test";
(3) use mstsc connect server, but get error.
10:46:56:297] [365334:365348] [INFO][com.freerdp.server.sample] - Client <IP_ADDRESS> disconnected.
[10:46:56:327] [365334:365397] [INFO][com.freerdp.server.sample] - We've got a client <IP_ADDRESS>
[10:46:56:327] [365334:365397] [INFO][com.freerdp.core.connection] - Client Security: NLA:1 TLS:1 RDP:0
[10:46:56:327] [365334:365397] [INFO][com.freerdp.core.connection] - Server Security: NLA:0 TLS:1 RDP:1
[10:46:56:327] [365334:365397] [INFO][com.freerdp.core.connection] - Negotiated Security: NLA:0 TLS:1 RDP:0
[10:46:56:344] [365334:365397] [INFO][com.freerdp.core.connection] - Accepted client: mingfang-PC2
[10:46:56:344] [365334:365397] [INFO][com.freerdp.core.connection] - Accepted channels:
[10:46:56:344] [365334:365397] [INFO][com.freerdp.core.connection] -  rdpdr
[10:46:56:344] [365334:365397] [INFO][com.freerdp.core.connection] -  rdpsnd
[10:46:56:344] [365334:365397] [INFO][com.freerdp.core.connection] -  cliprdr
[10:46:56:344] [365334:365397] [INFO][com.freerdp.core.gcc] - Active rdp encryption level: NONE
[10:46:56:344] [365334:365397] [INFO][com.freerdp.core.gcc] - Selected rdp encryption method: NONE
[10:46:56:344] [365334:365397] [ERROR][com.freerdp.core.peer] - peer_recv_callback: CONNECTION_STATE_NEGO - rdp_server_accept_mcs_connect_initial() fail
[10:46:56:344] [365334:365397] [ERROR][com.freerdp.core.transport] - transport_check_fds: transport->ReceiveCallback() - -1
[10:46:56:344] [365334:365397] [INFO][com.freerdp.server.sample] - Client <IP_ADDRESS> disconnected.
Which step did I do wrong? please help, thand you.  @akallabeth

Yes, it can record, but the feature set is limited (e.g. you can only
see a mouse pointer with the freerdp logo on a gray background)
it is more interesting for playback.
As for the failure, try WLOG_LEVEL=debug for some more detail.
Your basic steps are fine.
you can also check in debugger where in
rdp_server_accept_mcs_connect_initial it fails, maybe that can help you
there?
On 05.11.21 03:58, merlin82 wrote:

the other way around.

i see proxy also has stream_dump_register_handlers(peer->context,
CONNECTION_STATE_NEGO).
so proxy can record dump file, and use sfreerdp-server to replay it?
(1) I modify proxy, on pf_server_initialize_peer_connection, the proxy
record this:
-rw-r--r-- 1 root root 162654 11月 4 14:43 read.dump
-rw-r--r-- 1 root root 742172 11月 4 14:43 write.dump
(2) modify sfreerdp-server, add this code:
info->replay_dump = "/data/record/test";
(3) use mstsc connect server, but get error.
10:46:56:297] [365334:365348] [INFO][com.freerdp.server.sample] -
Client <IP_ADDRESS> disconnected.
[10:46:56:327] [365334:365397] [INFO][com.freerdp.server.sample] -
We've got a client <IP_ADDRESS>
[10:46:56:327] [365334:365397] [INFO][com.freerdp.core.connection] -
Client Security: NLA:1 TLS:1 RDP:0
[10:46:56:327] [365334:365397] [INFO][com.freerdp.core.connection] -
Server Security: NLA:0 TLS:1 RDP:1
[10:46:56:327] [365334:365397] [INFO][com.freerdp.core.connection] -
Negotiated Security: NLA:0 TLS:1 RDP:0
[10:46:56:344] [365334:365397] [INFO][com.freerdp.core.connection] -
Accepted client: mingfang-PC2
[10:46:56:344] [365334:365397] [INFO][com.freerdp.core.connection] -
Accepted channels:
[10:46:56:344] [365334:365397] [INFO][com.freerdp.core.connection] - rdpdr
[10:46:56:344] [365334:365397] [INFO][com.freerdp.core.connection] -
rdpsnd
[10:46:56:344] [365334:365397] [INFO][com.freerdp.core.connection] -
cliprdr
[10:46:56:344] [365334:365397] [INFO][com.freerdp.core.gcc] - Active
rdp encryption level: NONE
[10:46:56:344] [365334:365397] [INFO][com.freerdp.core.gcc] - Selected
rdp encryption method: NONE
[10:46:56:344] [365334:365397] [ERROR][com.freerdp.core.peer] -
peer_recv_callback: CONNECTION_STATE_NEGO -
rdp_server_accept_mcs_connect_initial() fail
[10:46:56:344] [365334:365397] [ERROR][com.freerdp.core.transport] -
transport_check_fds: transport->ReceiveCallback() - -1
[10:46:56:344] [365334:365397] [INFO][com.freerdp.server.sample] -
Client <IP_ADDRESS> disconnected.
Which step did I do wrong? please help, thand you. @akallabeth
https://github.com/akallabeth
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/FreeRDP/FreeRDP/issues/7423#issuecomment-961589765,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA2PW7TNHCVS3CYVLTYUHUDUKNB6JANCNFSM5HH3NZPQ.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

I replay success,   but a little mosaic, like this:

thanks, hope the official version @akallabeth

it is just a replay, so the connecting client must use the same setup as the one that was recorded.
e.g. same resolution, capabilities, channels, ...


Compute & cache blurred base64 image to improve loading perception

See: https://github.com/nathanuphoff/Glimpse-JS

Related: #79


Allow passing an optional user context to parse and parseAndExit

SUMMARY
Allow user to pass an optional additional data object (a "user context") to .parse or .parseAndExit, which is made available at argv.$ to downstream methods.
Possibly fixes https://github.com/sywac/sywac/issues/58
require('sywac')
    .parseAndExit(process.argv, { version: 3 })
    .then(argv => {
        console.log(argv.$.version)
    })

DETAILS
I initially thought that we would make this additional user data available under the context, perhaps as something like context.userContext.  However, the context is actually not available in the general case -- yes, check/validation can see it, and yes, Command run handlers can see it, but if you use the general async form (like in the example above) there is no way to get access to the context.
My solution to that problem is to put it on argv instead, and use a symbol ($) that is unlikely to conflict with an actual flag name.
POSSIBLE ALTERNATE SOLUTIONS

Pick a different name (perhaps _context or $context or $data).  The obvious problem is avoiding accidentally conflicting with a real program flag the user needs.

Solve the first problem I described and give access to sywac's context through the argv.  If you did this, perhaps you'd access the new data like argv.$context.userContext (or context.userContext if in a check handler).

(From a lifecycle perspective, it might not be ideal to do this -- TODAY, we only give access to context in situations where calling methods on it will have an effect.  In a Command handler and/or a check callback, context.cliMessage("blah") will do something, whereas in my .then() at the top of this PR, it's too late.  I think we might want to keep that the same.)

However, the context is actually not available in the general case ... if you use the general async form (like in the example above) there is no way to get access to the context.

I'm not sure this is valid.
When using parseAndExit, it seems like the scope of the code/module that's calling .parseAndExit(process.argv, userContext) would already have access to userContext apart from sywac.
I think a more valid concern would be making sure that a userContext attached to context would also be exposed in the result object (created via context.toResult()), in the possibly near-future when sywac supports something like .afterParse(handler), where the result object is provided to the top-level handler function (as discussed in #65), regardless if .parse(x, userContext) or .parseAndExit(x, userContext) is used.
Another possible concern might be exposing userContext to the setup handler of a command, which applies to the argv.$ approach as well. I think it would be easier/less confusing to expose context to the setup handler rather than argv, since argv is not in a fully-populated state for the command at that time.
I'd also rather just keep the parsed argv object "pure", in the sense that it only represents parsed options/arguments. If we find another valid use-case where context (or its result object) is not exposed/provided, then I think we just need to consider exposing/providing it, and I think it makes more sense to do that than "polluting" the parsed argv.
BTW, thanks for taking a stab at this - it's something I've been meaning to work on.

When using parseAndExit, it seems like the scope of the code/module that's calling .parseAndExit(process.argv, userContext) would already have access to userContext apart from sywac.

This tracks, if you aren't using a command then your implementation is right there; if you are using a command, you have access to the context.

I think a more valid concern would be making sure that a userContext attached to context would also be exposed in the result object (created via context.toResult()), in the possibly near-future when sywac supports something like .afterParse(handler), where the result object is provided to the top-level handler function (as discussed in #65), regardless if .parse(x, userContext) or .parseAndExit(x, userContext) is used.

Now that we've settled on a top-level run() handler, which will also have a context, this is probably moot?

Another possible concern might be exposing userContext to the setup handler of a command, which applies to the argv.$ approach as well. I think it would be easier/less confusing to expose context to the setup handler rather than argv, since argv is not in a fully-populated state for the command at that time.

This one I was confused on -- setup runs during the sync phase, so my assumption is that the user doesn't have the context to pass yet.  I think the use case for "user context" is more about repeated reuse of a single configured Sywac instance, something like this:
const cli = require('sywac')
  .command({ })
  .command({ })
  // many lines of other fancy synchronous configuration

const server = new SomeKindOfServer()
server.on('message', message => {
    return cli.parse(message, server.state);
});

I'd also rather just keep the parsed argv object "pure", in the sense that it only represents parsed options/arguments. If we find another valid use-case where context (or its result object) is not exposed/provided, then I think we just need to consider exposing/providing it, and I think it makes more sense to do that than "polluting" the parsed argv.

:+1:
You've convinced me, the only question is what to call the new field.  I'd call it a "context" if we didn't have it already :).  I suggested userContext, but userDetails or userState or perhaps just state ("provide an optional state object to pass user-specified data to commands in your CLI interface?").

Now that we've settled on a top-level run() handler, which will also have a context, this is probably moot?

Yes.

This one I was confused on -- setup runs during the sync phase, so my assumption is that the user doesn't have the context to pass yet.

We do have a context available at the time the setup handler is called for a command, but it's only called once the first time it's needed (to "complete" the synchronous configuration of the command's Api instance), and so subsequent reuse of an Api instance will have a different context each time, meaning we shouldn't pass context to the setup handler. Good call.

I think the use case for "user context" is more about repeated reuse of a single configured Sywac instance

Yep, you're right.

...the only question is what to call the new field. I'd call it a "context" if we didn't have it already :). I suggested userContext, but userDetails or userState or perhaps just state ("provide an optional state object to pass user-specified data to commands in your CLI interface?").

Yargs internally calls it parseContext, but I'm not a fan of that. I kinda like state, but I'd be ok with userContext or userState too.

Cool, I'll try state -- my worry about the user-prefixed ones is that "users of sywac" makes sense to me, but the actual user of sywac presumably has their own users, and the name "userState" might directly conflict or be incompatible with their mental model of their CLI program or server app.

Updates:

Switched userContext to state
Now accessible via context instead of argv.
Put up a PR for some sample documentation.

Taking your approval as permission to merge to master.  (If that's not what you intended, let me know and I'll leave for you in the future.)

@elliot-nelson Yes, thank you for merging this - only thing is that I prefer to squash and merge PRs so that each PR ends up as a single commit against master using a conventional commit message that references the PR number. If you look at the git log against master, you'll see what I mean.
BTW I have published this PR (master as of commit 201f77717728606bf64d77ee3a836a942dd19a34) to npm as version 2.0.0-rc4 (under the rc dist-tag).


Troubleshoot Antrea CP and DP for Pod networking and NetworkPolicy implementation

Describe what you are trying to solve
Enable troubleshooting of Pod networking and NetworkPolicy, including Antrea control plane and data plane (OVS). Even users who do not know much about Antrea implementation and OVS, should be able to understand how Antrea implements Pod networking and NetworkPolicies with OVS flows.
Describe the solution you have in mind
In general we should provide intuitive mapping from K8s abstractions to Antrea internal state and OVS configuration and flows. Some ideas are:

On Controller, given a NetworkPolicy, show:
a. appliedTo Pods (and their IP and Node).
b. each address group corresponding to a Selector (and the Selector definition), and the Group IP sets and Pod/NS members.
On Controller, given a Pod, show:
a. NetworkPolicies applied to it.
b. address groups include it, and the NetworkPolicies reference the groups.
On Controller, given a Node, show
a. NetworkPolicies applied to the Node.
On Node, given a NetworkPolicy, show:
a. local appliedTo Pods.
b. address groups.
c. OVS flows. Ideally we could also map IPs/ofport to Pods to Groups to Selectors.
On Node, given a Pod, show:
a. NetworkPolicies applied to it.
b. OVS flows (SpoofGuard, etc.) for it.
c. conntracks for connections from it and the saved state

We could also do OVS flow tracing, at least starting from tracing on the local bridge only, like:

Given a local Pod to be the source and a destination Pod and other packet parameters, start a tracing from the local Pod’s OVS port, and shows:
a. all flows the packet traverses, with explanation of the flows.
Unfortunately, as we do not implement ClusterIP Service by OVS, we could not trace all Service traffic flows, but maybe we could simulate the kube-proxy behavior and re-inject a packet (after kube-proxy DNAT) from the gw0 port.
Later we could do cross-Node tracing with real packets sent out between Nodes, and metadata appended to the packet on each hop.

Tunnel connectivity detection:
This might be implemented with periodical detection packets among Nodes.

Sub-issues:

[ ] OVS flow dumping (#651)
[ ] OVS packet tracing (#652)
[ ] Packet tracing across Nodes (#631)


please add Zeebe by Camunda

zeebe is another product by camunda.. heavily inspired by apache kafka:
zeebe.io

create PR plz @unikzforce


Unable to load Google icon image url

When I tried to run the app, it throws this error message GoogleSignInSwift/GoogleSignInButton.swift:134: Fatal error: Unable to load Google icon image url: unableToLoadGoogleIcon(name: "google").
Actually, I have already wrapped the GIDSignInButton() with UIViewRepresentable because I thought there was no "SwiftUI" way to implement the Google Sign-In button until I saw this documentation, but I'm not sure if this error occurs because I'm missing something, or if it's a url issue.

Environment:

Language: SwiftUI
Deployment info: iOS 15.0
Xcode: 13.4.1

SwiftUI:
GoogleSignInButton {
    //
}

Podfile:
# Uncomment the next line to define a global platform for your project
platform :ios, '15.0'

target 'Finebuck' do
  # Comment the next line if you don't want to use dynamic frameworks
  use_frameworks!

  # Pods for Finebuck
  pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '9.3.0'
  pod 'GoogleSignIn'
  pod 'GoogleSignInSwiftSupport'

  target 'FinebuckTests' do
    inherit! :search_paths
    # Pods for testing
  end

  target 'FinebuckUITests' do
    # Pods for testing
  end

end

I'm not able to reproduce this issue. I set up a little project using CocoaPods to depend upon GoogleSignIn and GoogleSignInSwift. Take a look at the screenshot below. Perhaps this is an issue with your CocoaPods setup?

I did some changes and this error disappears after I commented out use_frameworks! in the Podfile, but the error would still exist if we don't comment out use_frameworks!.

Could you tell us a little more about your use of use_frameworks!? Is there a reason for it? My understanding is that it was common to add use_frameworks! to a Podfile in the earlier days of Swift when it did not support static libraries (and the project with Swift pods therefore needed to use dynamic frameworks).
I'll look at this issue some more today and will follow up here when I have an update.

So far not really, my current project does not have any dependencies that requires me to add use_frameworks!.
Thank you for pointing the use of use_frameworks!, I always thought it was common to put that in the Podfile before as it was added automatically every time I created the Podfile. I should have read more carefully about the use of use_frameworks though, my bad.

You can read more about use_frameworks! in CocoaPods's releases:

use_frameworks! is added: https://blog.cocoapods.org/CocoaPods-0.36/
Swift static libraries are supported and use_frameworks! no longer required: https://blog.cocoapods.org/CocoaPods-1.5.0/

Seems like this is a CocoaPods bug?


Unable to download data from IRIS

Dear Developers,
I wanted to test the examples with my stations that are shared at IRIS, however I am not able to download the data.
Here are the parts of the code:
#First Part
from EQTransformer.utils.downloader import makeStationList
from EQTransformer.utils.downloader import downloadMseeds
import os

result First Part-->OK
#Second Part
json_basepath = os.path.join(os.getcwd(),"json/station_list.json")
print(json_basepath)

makeStationList(json_path=json_basepath,
                client_list=["IRIS"], min_lat= -23.41, max_lat=-9.29, min_lon=-69.81,
                max_lon=-57.24, start_time="2021-02-01 00:00:00.00",
                end_time="2021-02-01 03:00:00.00", channel_list=["BH[ZNE]", "SH[Z]"],
                filter_network=["1U", "C", "C1", "GE","IU", "SY","XX"], filter_station=[])

result SecondPart --> OK
#ThirdPart
downloadMseeds(client_list=["IRIS"], stations_json=json_basepath,
               output_dir="/home/tonino/EQTransformer/downloads_mseeds",
               start_time="2021-02-01 00:00:00.00",
               end_time="2021-02-01 03:00:00.00", min_lat=-23.41, max_lat=-9.29,
               min_lon=-69.81, max_lon=-57.24, chunk_size=1,
               channel_list=["BH[ZNE]", "SH[Z]", "EH[ZNE]"], n_processor=1

resultsThirdPart --> half OK.
[2021-02-24 21:23:10,483] - obspy.clients.fdsn.mass_downloader - INFO: Initializing FDSN client(s) for IRIS.
[2021-02-24 21:23:10,491] - obspy.clients.fdsn.mass_downloader - INFO: Successfully initialized 1 client(s): IRIS.

####### There are 3 stations in the list. #######
======= Working on REDDE station.
======= Working on SOEP station.
======= Working on LPAZ station.

It seems ok, however the data is not stored at downloads_mseeds folder, it keeps empty. I tested with a simple obspy script and the data is available.
Thank you in advance.
Tonino

downloader module in EqT is actually a wrapper on Obspy fdsn. So if you are able to download them using obspy, it should work as well in EqT. Anyway, no mater how you download your mseed files the code should be able to perform subsequent processes.

Dear @smousavi05, thanks for the answer. So, I can also put my off-line data?, Does the data must the IRIS naming structure?, Does the data need to be all channels the same length (1 hour for example?), is there a folder structure for the off-line data?
Thanks in advance
Tonino

@tonino0013 Yes you can use your off-line data. Your miniseed files just need to have IRIS naming format. No, the data can be different lengths, they should not be too short though (the total length of data in a single miniseed file should not be shorter than 30 min). You just need to put your station info in a 'station_list.json' file and pass it to the prediction module along with the address to the folder containing your miniseed files.
Good Luck

Dear @smousavi05 ok, thank you for the answers


How big should the buffer be?

The docs state that the size of the buffer must be at least "sizeof (FILE_FS_ATTRIBUTE_INFORMATION)", but that isn't useful for allocating a buffer. What if I want the file system name, which is tacked on the end?  What is the maximum length of a file system name?

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

ID: c1946dad-51f1-6553-d6ac-ceba66a3a733
Version Independent ID: 3e40a24e-7072-d101-980d-0b8f034e3c84
Content: _FILE_FS_ATTRIBUTE_INFORMATION (ntifs.h) - Windows drivers
Content Source: wdk-ddi-src/content/ntifs/ns-ntifs-_file_fs_attribute_information.md
Product: windows-hardware
Technology: windows-devices
GitHub Login: @lorihollasch
Microsoft Alias: loriwhip

@BrianCatlin , I've updated the page to give a better handle on why two calls are necessary in query situations like this. A robust filter will make two calls. If you want to avoid two calls and are working on a filter that is limited to interact with in-box file systems only: currently, the largest in-box file system name is 18 bytes (9 characters; can't guarantee that FSs with longer names won't be introduced in the future).

Thanks for the clarification.
UNICODE_STRINGs use a USHORT for the Length and MaximumLength, so the maximum string size would be 65,536 bytes, or 32,768 characters. I would be greatly surprised if the file systems supported names larger than that


Preset

Hello. I was wondering If you could add a list for us to save preset of appearence (general, head, body and genitals) ?
I was also wondering if there is a way to make it in game (If I remember you can't since it would mean adding an item to the game, thing that you can't do right?)
Sorry I wrote this at he wrong place.

Can't add things to the game, can only edit saves.
Likely won't be doing this request, but I'll take pull requests if anyone wants to implement it.

It's as I tought for the second part. Anyway thanks for answering me.


Added EJS Language Support

Added language support for the EJS templating language.
The EJS project on GitHub has nearly 2,700 stars,  but if that is not enough qualification, here is the search link, in which over 40,000 files show up under the criteria ejs extension:ejs.
Samples have been added, and ACE Editor already has support for EJS.

Hi @steventhanna. Thanks for submitting this PR. Looking at the CI build failure it seems you've not actually included the submodule reference (see this PR as an example).

Looks like many of those files are not HTML though :/

One could argue that EJS is a system similar to Handlebars... But this disucssion has already taken place here.  Counter argument to the first link is here, but this PR was rejected in favor of the first link.

Looks like many of those files are not HTML though :/

@pchaigno - could you link to some that don't appear to have any HTML in them?

Going through @steventhanna's search example, I found many files with no HTML or EJS syntax in them. All the files in the first page of results for instance. Tough, that probably does not make them invalid EJS files. I'm just not sure what they're supposed to be counted as...

Many times dev's create separate code "parts" that are later imported into templates for a more modular design, using the EJS syntax <% include ... %>, which would account for several files not having any EJS syntax at all.

I found many files with no HTML or EJS syntax

@pchaigno Could you give a specific example of a file without any HTML?  All of the files that I have looked at have HTML characteristics and / or HTML tags.

This one for instance, or this one.

Well, I stand corrected...  Not entirely sure how to go about fixing that, unless custom checks to the grammar submodule were added... Hopefully there is a better alternative.

@arfon and @pchaigno, you guys seem to have great influence over this repo, any suggestions for getting this PR merged?

Well, I stand corrected... Not entirely sure how to go about fixing that, unless custom checks to the grammar submodule were added... Hopefully there is a better alternative.

All of these files that I've checked still appear to be EJS files so I think we're good.
Closing in favour of #2993


WebSocketClient Issue

Hi.
I hope you can help me:
I permanently get the same error message:

[JDA [0 / 1] Gateway-Worker 1] WARN WebSocketClient - Missed 2 heartbeats! Trying to reconnect...

As well, I tried to make an 'exit'  command for the Console.
But every time I try to execute it, I get this:
java.io.IOException: Stream closed
	at java.io.BufferedReader.ensureOpen(Unknown Source)
	at java.io.BufferedReader.readLine(Unknown Source)
	at java.io.BufferedReader.readLine(Unknown Source)
	at de.nameddaniel.bot.main.Main.lambda$0(Main.java:62)
	at java.lang.Thread.run(Unknown Source)
[JDA [0 / 1] Gateway-Worker 1] ERROR WebSocketClient - Was unable to schedule next packet due to rejected execution by threadpool
java.util.concurrent.RejectedExecutionException: Task java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask@722cda80 rejected from java.util.concurrent.ScheduledThreadPoolExecutor@5fec53b2[Shutting down, pool size = 1, active threads = 1, queued tasks = 0, completed tasks = 8153]
	at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.reject(Unknown Source)
	at java.util.concurrent.ScheduledThreadPoolExecutor.delayedExecute(Unknown Source)
	at java.util.concurrent.ScheduledThreadPoolExecutor.schedule(Unknown Source)
	at net.dv8tion.jda.internal.requests.WebSocketSendingThread.scheduleSentMessage(WebSocketSendingThread.java:89)
	at net.dv8tion.jda.internal.requests.WebSocketSendingThread.scheduleNext(WebSocketSendingThread.java:169)
	at net.dv8tion.jda.internal.requests.WebSocketSendingThread.run(WebSocketSendingThread.java:157)
	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)

Here's my shutdown method. Main,java:62 is highlighted.
public void shutdown() {

         new Thread(() -> {

			String line = "";
			BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));

			try {
				while((line = reader.readLine()) != null) { //Line 62
					if(line.equalsIgnoreCase("exit")) {
						if(shard != null) {
							shard.setStatus(OnlineStatus.OFFLINE);
							shard.shutdown();
							System.out.println("Bot wurde heruntergefahren");
						}
						reader.close();
					}
					else {
						System.out.println("'Exit' zum herunterfahren");
					}
				}
			}
			catch(IOException e) {
				System.out.println("Main");
				e.printStackTrace();
			}

		}).start();

I hope, you can help me :(

It looks like you're using some custom thread pool configuration. It would be extremely helpful for us if you would actually fill out the issue template instead of just removing it. The IOException you included doesn't seem like it's related to JDA in any way, but I can answer why it happens:
Reader reader = myReader();
reader.close();
reader.nextLine() // can't read if you have a closed stream

This is what you are doing in your loop here.

Also, in addition should you next time follow one of the issue templates in order to provide as much information as needed.

The RejectedExecutionException here doesn't seem to be an issue, it means that JDA was probably shutdown and some tasks were still queued up which are now rejected and won't be sent. Regardless, this shouldn't be a problem since the messages can't be sent anyway if the connection was shutdown.
That's really all I can say since you didn't provide enough information for me to diagnose the situation. You provided an incomplete code sample with little detail and directly ignored our issue template.
The warning that you mentioned about the missing heartbeats could mean anything really. Missing heartbeats can be caused by a number of different scenarios such as:

An outdated JDA version
Blocking the event thread
Connection issues
Discord issues
WebSocket issues
Threading issues

I just recently fixed an issue related to this here #1294 and since you didn't tell us your version, I'll assume it's probably that.
Feel free to open a new issue, this time filling out the template with the necessary details.
Duplicate of #1294


Only consume budget on successful I/O operations

We don't want to throttle tasks that poll lots of pending I/O operations - we should only throttle them if they make progress.

Pull Request Test Coverage Report for Build 95528475

0 of 5 (100.0%)  changed or added relevant lines in 1 file are covered.
4 unchanged lines in 2 files lost coverage.
Overall coverage increased (+49.7%) to 79.679%

Files with Coverage Reduction
New Missed Lines
%

src/io_event.rs
2
9.96%

src/reactor.rs
2
25.71%

Totals

Change from base Build 94577045:
49.7%

Covered Lines:
129

Relevant Lines:
150

💛  - Coveralls

Stale PR


conda package

Hi would it be too much trouble to ask for a conda package?

Like this? https://anaconda.org/conda-forge/handout

Thanks that's great, sorry to bother I wasn't aware of it. Usually I don't use conda-forge because if you install even a single package from it next time you'll do conda update --all it will overwrite existing packages in your environment with equivalent ones from conda-forge and that behaviour might not be desirable.

No problem at all. I see that that's not always the ideal behavior. I'm not familiar with conda but feel free to create a main conda package if you know how to do it.


Discord bot

The ultimate goal is to be notified of class opening/closings, however, there is much more capability. For now, create a discord bot that spits class information and notifies of opening/closings.
https://github.com/ok-nick/ubs-bot

™


too many files under /tmp

I'm using viuer to display album cover. One use met a problem though, as in
https://github.com/tramhao/termusic/issues/92 .
Would you please check if it's I'm using viuer wrong or you need to fix in upstream? Thanks so much.

Is this repo still maintained? Thanks.
Another user met the problem and found a way to reproduce it: https://github.com/tramhao/termusic/issues/122

Fixed in https://github.com/atanunq/viuer/pull/51


Support for Swift Package Manager

Add support for Swift PM

Added in https://github.com/malcommac/SwiftLocation/commit/66f4f72d29bbe13b53ad9957992e7c7adc63f4d8.
Scheduled for 1.2.0


Package request: clamtk

Project description

Easy to use graphical user interface for Clam Antivirus (ClamAV)
ClamTk is intended to be an easy to use, light-weight, on-demand scanner for Linux systems.
Metadata

homepage URL: https://github.com/dave-theunsub/clamtk
source URL: https://github.com/dave-theunsub/clamtk
license: gpl, the artistic license
platforms: linux

(the licensing does not specifically say which version of gpl it is, so I listed it as gpl)

This was already an issue, but this one has more information
#263331
Maybe we should close the other one.


Additional Turtle Projects for Python Classes and associated skills explanations

[ ] learn for loops with turtle (n-gons)
[ ] learn functions with turtle (custom shapes, letters)


Crashes on Start

After installing rulesets on pico-engine. Pressing Ctrl + C to stop, sometimes rulesets are deleted at some point.
Last ~30 lines of console output. You can see the Ctrl + C stop, the pico-engine -h, and then re-running pico-engine.
[DEBUG] { pico_id: 'cj44qk1g0006oal7qpab6exd4',
  event:
   { eci: 'cj44qk1g1006pal7q8nzxgyk8',
     eid: '0',
     domain: 'lab9',
     type: 'heartbeat' },
  eci: 'cj44qk1g1006pal7q8nzxgyk8' } rule added to schedule: lab9gossip -> propagationChoice
[DEBUG] { pico_id: 'cj44qk1g0006oal7qpab6exd4',
  event:
   { eci: 'cj44qk1g1006pal7q8nzxgyk8',
     eid: '0',
     domain: 'lab9',
     type: 'heartbeat' },
  eci: 'cj44qk1g1006pal7q8nzxgyk8' } rule selected: lab9gossip -> heartbeat
[DEBUG] { rid: 'lab9gossip',
  pico_id: 'cj44qk1g0006oal7qpab6exd4',
  event:
   { eci: 'cj44qk1g1006pal7q8nzxgyk8',
     eid: '0',
     domain: 'lab9',
     type: 'heartbeat' },
  eci: 'cj44qk1g1006pal7q8nzxgyk8' } fired
^C
matt@matt-VirtualBox:~/Documents/cs462/cs465_final_project$ pico-engine -h

USAGE

    pico-engine [--version] [--help|-h]

Environment variables
    PORT - what port the http server should listen on. By default it's 8080
    PICO_ENGINE_HOME - where the database and other files should be stored. By default it's ~/.pico-engine/

matt@matt-VirtualBox:~/Documents/cs462/cs465_final_project$ pico-engine
/usr/local/lib/node_modules/pico-engine/src/index.js:16
            throw err;
            ^

Error: keys:google not defined
    at Object.get (/usr/local/lib/node_modules/pico-engine/node_modules/pico-engine-core/src/modules/keys.js:9:26)
    at Object.<anonymous> (/usr/local/lib/node_modules/pico-engine/node_modules/pico-engine-core/src/modules/index.js:28:33)
    at /usr/local/lib/node_modules/pico-engine/node_modules/co-callback/index.js:36:20
    at Object.get (/usr/local/lib/node_modules/pico-engine/node_modules/co-callback/index.js:31:20)
    at with (/home/matt/.pico-engine/rulesets/0.29.8-0.31.5/06/3c/063cbf0738b6a156d33893b47b060a0f6c38a76435f27a3049a060699cf133bf.js:19:61)
    at next (native)
    at onFulfilled (/usr/local/lib/node_modules/pico-engine/node_modules/co/index.js:65:19)
    at /usr/local/lib/node_modules/pico-engine/node_modules/co/index.js:54:5
    at co (/usr/local/lib/node_modules/pico-engine/node_modules/co/index.js:50:10)
    at toPromise (/usr/local/lib/node_modules/pico-engine/node_modules/co/index.js:118:63)
matt@matt-VirtualBox:~/Documents/cs462/cs465_final_project$

Only solution is deleting folder .pico-engine, then re-installing everything. This has happened twice already with the current setup I have. I'll provide files if you want.

I'll provide files if you want.

Yes, please.

Closing as cannot reproduce.


Release action doesn't allow to compile the theme

Compilation must be done from composer.json - project specific, nothing to do here.


No Improved Automation Science Pack Recipe

Mod source
PyAE Beta
Which mod are you having an issue with?

[ ] pyalienlife
[ ] pyalternativeenergy
[ ] pycoalprocessing
[ ] pyfusionenergy
[ ] pyhightech
[ ] pyindustry
[ ] pypetroleumhandling
[ ] pypostprocessing
[ ] pyrawores

Operating system

=Windows 10

What kind of issue is this?

[ ] Compatibility
[ ] Locale (names, descriptions, unknown keys)
[ ] Graphical
[ ] Crash
[X] Progression
[X] Balance
[ ] Pypostprocessing failure
[ ] Other

What is the problem?
Since the tech rebalance, far later techs in the tree require production of automation science packs at fairly high factors compared to high level science packs.
However, depending on how much you need to multiply production, especially as tech numbers grow higher and higher, this comes down to basically multiplying your setup for automation science packs.
If automation science packs could make use of cheaper, more efficient, or improved recipes to be produced, this would be fine. This is obviously true with small parts, which get a better recipe later. But this is the opposite of true with native flora, which can only be mined by an un-upgradeable collector, and (to an extent) for the planter boxes. (This is partly alleviated with improved recipes for iron and wood.)
It's up to you to decide which of these issues has any bearing. If anything, I'd suggest an improved method of getting native flora, if not an entirely new recipe for automation science packs. But it's also possible that the machine cost will be basically negligible. You'll know the tech tree better than me.
Steps to reproduce
No response
Additional context
No response
Log file
No response

TODO: Assign relevant mod label

The recipe not gonna change, Later game the player gonna have access to fast assembly machines to build it very fast. But i will take consideration an improvement or find a way to make native flora later one aside the smartfarms.


⚠ Processors has degraded performance

In 0be8a94, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 62 ms

Resolved: Processors performance has improved in 6431cce.


MongoDB Collections with dots throw errors

Repro steps:
go to the local database and try to findOne entry of the collection oplog.rs
db.oplog.rs.findOne()
Action: cosmosDB.executeAllMongoCommands
Error type: Error
Error Message: Error near line 0, column 11, text '.'. Please check syntax.
Version: 0.7.2
OS: win32

It looks like the issue stems from having a collection name with a .o in its name. Is that correct?
We're tracking that issue in #666. Let us know if that's the root cause of your problem.

I'm closing as a dup of #666.  If you feel this is not correct, feel free to reopen.  Thanks for reporting.

Hi @RayJin2000, the merged fix was published today (version 0.8.0). Hope this fixes your issue. :-)
Let us know how the fix holds up with your use-case.


Reason for coupling file reading and algorithm?

Currently, the algorithm is coupled to reading audio files, while I actually see no reason for that.
In my mind, swipe() should accept an array of floats and process them, and reading files should be placed into main().
That way, the Python wrapper would be more useful when used with NumPy, where you very often already have read the audio file into memory.

Okay. Do you want to refactor? FWIW I think many Python users are
unfamiliar with loading a wave file into a numpy vector, so an illustrative
example will be needed.
On Tue, Mar 26, 2019 at 4:57 AM Nils Werner<EMAIL_ADDRESS>wrote:

Currently, the algorithm is coupled to reading audio files
https://github.com/kylebgorman/swipe/blob/master/swipe.c#L362, while I
actually see no reason for that.
In my mind, swipe() should accept an array of floats and process them,
and reading files should be placed into main().
That way, the Python wrapper would be more useful when used with NumPy,
where you very often already have read the audio file into memory.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/kylebgorman/swipe/issues/12, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAJuOecd16QGMAcnWfOM-QCKYVwRuDQsks5vaeDbgaJpZM4cK55h
.


Components not selected by user try to append to parent which doesn't exit

When the user decodes a node instance without the main component selected, and the main component doesn't exist at the top level, the script tries to append the component to the parent node that hasn't been created.

Fixed in last release.