Google-api-php

Thanks for stopping by to let us know something could be better!
PLEASE READ: If you have a support contract with Google, please create an issue in the support console instead of filing on GitHub. This will ensure a timely response.
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

@Cmsoe55  this really isn't an issue for the issue forum.  The admins of this repo can add something like that directly in the git project so that when someone clicks new issue they get a message like that.


fix(swc/cli): update plugin template for pinned dev

Description:
Removes pinned deps from template as well for plugin generation.
I think this PR allows us to reach initial completion of https://github.com/swc-project/swc/issues/3167 (🎉 )
Once this PR goes in, I'd like to do

mark #3167 as complete

write a feedback collection post at https://github.com/swc-project/swc/discussions

probably prepare some blog post / twitter to ask users to try this one

Thoughts @kdy1 ? 3 may need some thoughts on how to approach those.

I think your plan is good.
For some reason auto-merge button is disappeared from github, so I'll merge it manualy once CI passes.

Sounds good. Let me do 1/2, and discuss 3 separately. I can't write blog post myself anyway 😅


Optimize fonts

Life got in a way, but here it is :)
I didnt remove the old fonts, just because you might want to create a different subset in the future - good to have source file.
Below you have the ls to compare sizes. Im pretty happy with the results. 309 KB -> 15 KB should be visible on non-fiber  connections.
Inter font
 51K Inter-Bold-subset.ttf
 15K Inter-Bold-subset.woff2
309K Inter-Bold.ttf

 51K Inter-Medium-subset.ttf
 15K Inter-Medium-subset.woff2
307K Inter-Medium.ttf

 50K Inter-Regular-subset.ttf
 14K Inter-Regular-subset.woff2
303K Inter-Regular.ttf

DancingScript font
45K DancingScript-Medium-subset.ttf
22K DancingScript-Medium-subset.woff2
79K DancingScript-Medium.ttf

Enjoy :)

Looks good to me, thanks for this :)
Closes #17


added TAX, TAY, TSX,INX, INY instructions

Put a gap of one line after each instruction function implementation(in processor.cpp) and function declaration(in processor.hpp).


buildReducedModel might erase collision_model and intertial information

I'm trying to work on a reduced model of the panda robot.
I'd like to point out some quirks/problems I'm currently encountering:

This is more of a feature request: RobotWrapper could provide an API to build a reduced model. I'm not sure I can do it right now but I'd be happy to tackle a PR in the future.
I don't know if it actually is a problem, but buildReducedModel API doesn't offer a way to pass the collision_model from the RobotWrapper class. I've noticed RobotWrapper.visual_model and RobotWrapper.collision_model are both pinocchio.pinocchio_pywrap.GeometryModel. Would they provide the same functionality? are they interchangeable?
In the example below, I tried to create a RobotWrapper from the reduced model and it seems that it has lost the intertial information from my urdf? (or there's some other explanation to why it's now giving my NaN values for the gravity)

import example_robot_data
import pinocchio as pin

robot = example_robot_data.load('panda')

randomconfig = pin.randomConfiguration(robot.model)
robot.forwardKinematics(randomconfig)
print('randomconfig:', randomconfig, randomconfig.shape)
g=robot.gravity(randomconfig)
print('model G:', g, g.shape)

# lock 4th joint to reduce dof
jn4_idx = robot.model.getJointId('panda_joint4')
reduced_model, reduced_visual_model = pin.buildReducedModel(
    model=robot.model,
    geom_model=robot.visual_model,
    list_of_joints_to_lock=[jn4_idx],
    reference_configuration=pin.neutral(robot.model))

robot2 = pin.RobotWrapper(model=reduced_model, visual_model=reduced_visual_model)

randomconfig2 = pin.randomConfiguration(robot2.model)
print('randomconfig2:', randomconfig2, randomconfig2.shape)
g=robot2.gravity(randomconfig2)
print('reduced model G:', g, g.shape)

And here's the output:
$ python reduced_panda.py
randomconfig: [ 2.01874195 -0.3871077   1.67996741 -0.56351698  2.44279775  0.68504683
 -0.97782112  0.03072918  0.01111099] (9,)
model G: [0. 0. 0. 0. 0. 0. 0. 0. 0.] (9,)
randomconfig2: [ 0.32026851 -0.08284433  0.76474584 -0.80239598  1.9198922   2.68362164
  0.0366478   0.02542847] (8,)
reduced model G: [nan nan nan nan nan nan nan nan] (8,)

3\. In the example below, I tried to create a `RobotWrapper` from the reduced model and it seems that it has lost the intertial information from my urdf? (or there's some other explanation to why it's now giving my `NaN` values for the gravity)

This NAN issue has been fixed on the devel branch. It appears also that the panda3d robot has zero Inertia on all its joints.

1. This is more of a feature request: `RobotWrapper` could provide an API to build a reduced model. I'm not sure I can do it right now but I'd be happy to tackle a PR in the future.

This feature is more than welcome. Please proceed, your contribution will be highly appreciated.

2\. I don't know if it actually is a problem, but `buildReducedModel` API doesn't offer a way to pass the `collision_model` from the `RobotWrapper` class. I've noticed `RobotWrapper.visual_model` and `RobotWrapper.collision_model` are both `pinocchio.pinocchio_pywrap.GeometryModel`. Would they provide the same functionality? are they interchangeable?

Similarly to what you did for visual_model, you can do the same thing on collision_model. Collisions are for collision checkins and visual are just for viewing the robot.

3\. In the example below, I tried to create a `RobotWrapper` from the reduced model and it seems that it has lost the intertial information from my urdf? (or there's some other explanation to why it's now giving my `NaN` values for the gravity)

This NAN issue has been fixed on the devel branch. It appears also that the panda3d robot has zero Inertia on all its joints.

Yes, I've noticed.
I'm actually using my own urdf, but the result still stands (it changes from 0 to NaN).
Not trying to pressure or anything but is there a planned release soon or should I setup a development branch?
If so, I would need to compile and install both the cpp and python bindings, right? is there a way to install it inside the conda environment? (I'd like to keep it isolated from my system)

Not trying to pressure or anything but is there a planned release soon or should I setup a development branch?

A release is planned soon but still need to fix #1420 on Windows.

If so, I would need to compile and install both the cpp and python bindings, right? is there a way to install it inside the conda environment? (I'd like to keep it isolated from my system)

You can do everything in an isolated conda env, everything works well ;)

2\. I don't know if it actually is a problem, but `buildReducedModel` API doesn't offer a way to pass the `collision_model` from the `RobotWrapper` class. I've noticed `RobotWrapper.visual_model` and `RobotWrapper.collision_model` are both `pinocchio.pinocchio_pywrap.GeometryModel`. Would they provide the same functionality? are they interchangeable?

Similarly to what you did for visual_model, you can do the same thing on collision_model. Collisions are for collision checkins and visual are just for viewing the robot.

I don't understand what you mean.
I can't find a way to pass the collision_model to buildReducedModel:
buildReducedModel(...)
    buildReducedModel( (Model)model, (StdVec_Index)list_of_joints_to_lock, (object)reference_configuration) -> Model :
    buildReducedModel( (Model)model, (GeometryModel)geom_model, (StdVec_Index)list_of_joints_to_lock, (object)reference_configuration) -> tuple :

Or do you mean to say that they contain the same information? I understand the API is the same, but maybe they get different data from the urdf and thus end up not being interchangeable (like for instance, paths to the .dae files?)

you can pass it as geom_model, it will then be reduced together with the model.

you can pass it as geom_model, it will then be reduced together with the model.

but in that case I would be losing the visual model information?

No, you just need to do it twice: one for the visual, one for the collision.

Seems to be solved. Feel free to contribute when you want @ntorresalberto.


Fix all the compression issues

Fixes trimming in QuickTime, VLC hanging, Twitter/Instagram rejecting the video.
Somehow that setting causes all kinds of problems with the resulting video.
Fixes wulkano/kap#22
Fixes wulkano/kap#69
Fixes wulkano/kap#85

A M A Z I N G @sindresorhus 😍 ❤


Switched to parambokeh in Dashboards user guide

Latest versions of ipywidgets are basically broken as far as I can tell and since we aim to switch to paramBokeh more generally I've replaced the usage of paramnb with parambokeh in the Dashboards notebook.

Looks good and the push build passed. Merging.


[Bug] TMTV SUV Peak NaN Value & Console Uncaught Exception

Describe the Bug
Creating an ROI Rectangle on the PT axial, then a length measure on the CT in the same area. Then create the label and run the segmentation causes a NaN pack value + uncaught exception
this is reproducible in OHIF dev env (https://viewer-dev.ohif.org/): 3.8.0-beta.53, Commit hash: 5bba98ed848bdf46b5ba4fc4708527cced3308b5
Steps to Reproduce

filter study list by modality PT
Select study ACRIN-NSCLC-FDG-... with 934 instances
Select the TMTV button
Select the Rectangle ROI Threshold tool
Click on the PT-axial image and create the rectangle
Select the length tool and create a line in the same area as the rectangle was created but make the line in the CT-axial image
From within the ROI Threshold panel, select the New Label button
Click on the PT - axial image, rectangle to make it green then select the Run button (from the right-side panel) = console error
The ROI Threshold panel - SEGMENTATIONS section will display the SUV Peak: NaN value
Note: may have to repeat steps 7-10 for a second label and rectangle

The current behavior
SUV Peak NaN value + console error
The expected behavior
valid SUV Peak value & no issues in console
OS
MacBook Pro - Sonoma 14.1.1
Node version
unknown
Browser
Chrome v121

I think this is expected but we should throw some type of user feedback

We just release the OHIF 3.8, you can find more details here https://ohif.org/release-notes/3p8/
If you still encounter this issue in 3.8, please re-open this.


[PHB 2024] Barbarian Rage doesn't trigger adv-reminder

When the Barbarian is in Rage the following triggers should be available:

Advantage on all attacks
Disadvantage on all attacks on the Barb
Strength saving throws advantage

However, 'Normal' is highlighted for all of these rolls.

Did you add any of the relevant flags to the active effect the Rage feature has? The PHB only has the stuff on the active effect that the system supports, like damage resistance. It doesn't add things that are left to modules to support, like advantage on strength checks.

Oh - nope I didn't! I'll jack this issue up to user issue!


Implement substitution/substitutability

Definition 1.8.1. Suppose that $u$ is a term, $x$ is a varable, and $t$ is a term. We define the term $u_t^x$ (" $u$ with $x$ replaced by $t$") as follows:

If $u$ is a variable not equal to $x$, then $u_t^x$ is $u$.
If $u$ is $x$, then $u_t^x$ is $t$.
If $u$ is a constant symbol, then $u_t^x$ is $u$.
If $u:\equiv fu_1u_2\dots u_n$, where $f$ is an $n$-ary function symbol and the $u_i$ are terms, then $u_t^x$ is $f(u_1)^x_t(u_2)^x_t\dots(u_n)^x_t$.

Definition 1.8.2. Suppose that $\phi$ is an $\cal L$-formula, $t$ is a term, and $x$ is a variable. We define the formula $\phi_t^x$ as follows:

If $\phi:\equiv=u_1u_2$, then $\phi_t^x$ is $=(u_1)^x_t(u_2)^x_t$.
If $\phi:\equiv Ru_1u_2\dots u_n$, then $\phi^x_t$ is $R(u_1)^x_t(u_2)^x_t\dots(u_n)^x_t$.
If $\phi:\equiv(\neg\alpha)$, then $\phi_t^x$ is $(\neg\alpha_t^x)$.
If $\phi:\equiv(\alpha\vee\beta)$, then $\phi_t^x$ is $(\alpha^x_t\vee\beta^x_t)$.
If $\phi:\equiv(\forall y)(\alpha)$, then

\phi^x_t = \begin{cases} \phi &\text{if $x$ is $y$}\\ (\forall y)(\alpha_t^x) &\text{otherwise} \end{cases}

Definition 1.8.3. Suppose that $\phi$ is an $\cal L$-formula, $t$ is a term, and $x$ is a variable. We say that $t$ is substitutable for $x$ in $\phi$ if:

$\phi$ is atomic, or
$\phi:\equiv(\neg\alpha)$ and $t$ is substitutable for $x$ in $\alpha$, or
$\phi:\equiv(\alpha\vee\beta)$ and $t$ is substitutable for $x$ in both $\alpha$ and $\beta$, or
$\phi:\equiv(\forall y)(\alpha)$ and either
a. $x$ is not free in $\phi$, or
b. $y$ does not occur in $t$ and $t$ is substitutable for $x$ in $\alpha$

b1e2dcc728c60f8ec0a356952f1a0105ee410d06
096d91766298a8ab7a53e2e707b372b0d937299b


portunus: 1.1.0 -> 2.0.0

Changelog: https://github.com/majewsky/portunus/releases/tag/v2.0.0
Description of changes
Portunus now links against libxcrypt. We use libxcrypt-legacy to support existing user databases with weak password hashes. The 24.05 cycle will be an opportunity for users to migrate to strong password hashes, and my intent is to drop libxcrypt-legacy entirely in the 24.11 cycle.
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
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[x] (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

[x] Fits CONTRIBUTING.md.

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

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

2 packages blacklisted:

nixos-install-tools
tests.nixos-functions.nixos-test

1 package built:

portunus


Support veterinarians who handle horses

From Paulo:

As a product owner,
I want horse type entries when the pet clinic database is initially populated,
so that I can demo the feature to veterinarians who take care of horses.

Acceptance criteria:

One can have horse as pet
The test data contains new pet names for horses

I can't believe the horses can be pets.


[@azure-rest/ai-content-safety] Update code for new version 1.0.0

Packages impacted by this PR
Issues associated with this PR
Describe the problem that is addressed by this PR
What are the possible designs available to address the problem? If there are more than one possible design, why was the one in this PR chosen?
Are there test cases added in this PR? (If not, why?)
Provide a list of related PRs (if any)
Command used to generate this PR:**(Applicable only to SDK release request PRs)
Checklists

[ ] Added impacted package name to the issue description
[ ] Does this PR needs any fixes in the SDK Generator?** (If so, create an Issue in the Autorest/typescript repository and link it here)
[ ] Added a changelog (if necessary)

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-rest-ai-content-safety


Version mismatch in Install Path... perhaps that's the reason for the brew upgrade fail?

==> Downloading https://github.com/sans-sroc/homebrew-tools/releases/download/integrity-3.0.2/integrity-3.1.0.catalina.bottle.tar.gz
#=#=#
curl: (22) The requested URL returned error: 404
Error: integrity: Failed to download resource "integrity"
Download failed: https://github.com/sans-sroc/homebrew-tools/releases/download/integrity-3.0.2/integrity-3.1.0.catalina.bottle.tar.gz

Ah, sorry @ekristen, the issue is with the homebrew-tools/releases (there isn't one).

Well shoot let see why that didn’t happen

This has been fixed, apologies on that. Made some automation changes to make this smoother and it broke the bottle update.


python311Packages.kubernetes: 28.1.0 -> 29.0.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python311Packages.kubernetes is: Kubernetes Python client
meta.homepage for python311Packages.kubernetes is: https://github.com/kubernetes-client/python
meta.changelog for python311Packages.kubernetes is: https://github.com/kubernetes-client/python/releases/tag/v29.0.0
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 29.0.0 with grep in /nix/store/q3g33i4lgjr81mbyabsgqf9bj8l2d93v-python3.11-kubernetes-29.0.0
found 29.0.0 in filename of file in /nix/store/q3g33i4lgjr81mbyabsgqf9bj8l2d93v-python3.11-kubernetes-29.0.0

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

29 total rebuild path(s)

29 package rebuild(s)

First fifty rebuilds by attrpath
authentik
krr
kube-hunter
patroni
python311Packages.chromadb
python311Packages.dalle-mini
python311Packages.fastai
python311Packages.k-diffusion
python311Packages.kubernetes
python311Packages.llama-index
python311Packages.llama-index-cli
python311Packages.llama-index-vector-stores-chroma
python311Packages.openshift
python311Packages.skrl
python311Packages.spacy
python311Packages.spacy-loggers
python311Packages.spacy-lookups-data
python311Packages.spacy-transformers
python311Packages.textacy
python311Packages.textnets
python311Packages.wandb
python312Packages.chromadb
python312Packages.kubernetes
python312Packages.llama-index
python312Packages.llama-index-cli
python312Packages.llama-index-vector-stores-chroma
python312Packages.openshift
syslogng
tts

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/q3g33i4lgjr81mbyabsgqf9bj8l2d93v-python3.11-kubernetes-29.0.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

Or:
nix build github:r-ryantm/nixpkgs/bcc8eabb74f015b547a2d82140686a753516c3b3#python311Packages.kubernetes

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/q3g33i4lgjr81mbyabsgqf9bj8l2d93v-python3.11-kubernetes-29.0.0
ls -la /nix/store/q3g33i4lgjr81mbyabsgqf9bj8l2d93v-python3.11-kubernetes-29.0.0/bin

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

4 packages failed to build:

python312Packages.openshift
python312Packages.openshift.dist
tts
tts.dist

53 packages built:

authentik
krr
krr.dist
kube-hunter
kube-hunter.dist
patroni
patroni.dist
python311Packages.chromadb
python311Packages.chromadb.dist
python311Packages.dalle-mini
python311Packages.dalle-mini.dist
python311Packages.fastai
python311Packages.fastai.dist
python311Packages.k-diffusion
python311Packages.k-diffusion.dist
python311Packages.kubernetes
python311Packages.kubernetes.dist
python311Packages.llama-index
python311Packages.llama-index-cli
python311Packages.llama-index-cli.dist
python311Packages.llama-index-vector-stores-chroma
python311Packages.llama-index-vector-stores-chroma.dist
python311Packages.llama-index.dist
python311Packages.openshift
python311Packages.openshift.dist
python311Packages.skrl
python311Packages.skrl.dist
python311Packages.spacy
python311Packages.spacy-loggers
python311Packages.spacy-loggers.dist
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.wandb
python311Packages.wandb.dist
python312Packages.chromadb
python312Packages.chromadb.dist
python312Packages.kubernetes
python312Packages.kubernetes.dist
python312Packages.llama-index
python312Packages.llama-index-cli
python312Packages.llama-index-cli.dist
python312Packages.llama-index-vector-stores-chroma
python312Packages.llama-index-vector-stores-chroma.dist
python312Packages.llama-index.dist
syslogng
syslogng.man

Maintainer pings
cc @lsix for testing.

@ofborg build python311Packages.wandb


fix(kube): fix wait and recreate

fixes #2006

Basically it looks like the Selector is nil. Not sure why that is happening


Update online-resources.asciidoc

Added a entry pointing to a recent blog entry on our company tech blog

Moved it over to the "Blog posts" section and merged. Thanks, @agsha!


https://test.docker.com/ exits with Exit Code 2

The test script runs a function called check_forked.
This checks to see the OS version. On my 14.04 and 15.04 this results in the script exiting with an error code 2 and no output. This is the same output as when running form cmd (see below).
Shouldn't this be run as a subshell command so that it doesn't terminate the main shell when it fails?
# lsb_release -a -u
Usage: lsb_release [options]

lsb_release: error: no such option: -u
root@ns3001358:~# echo $?
2

If I remove this then the script runs as expected.
# uname -a
Linux ns3001358.ip-37-59-48.eu 3.13.0-61-generic #100-Ubuntu SMP Wed Jul 29 11:21:34 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

# cat /etc/*-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.3 LTS"
NAME="Ubuntu"
VERSION="14.04.3 LTS, Trusty Tahr"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 14.04.3 LTS"
VERSION_ID="14.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"

Hi!
Please read this important information about creating issues.
If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
This is an automated, informational response.
Thank you.
For more information about reporting issues, see https://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
uname -a:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO

It looks like the set -e at the top causes any non-zero command to stop the entire process

Thanks for reporting @BenHall
ping @fmoliveira @jfrazelle @tianon hmf

Thanks for reporting @BenHall @thaJeztah
I'll check it!

Thanks for reporting @BenHall @thaJeztah !
I'll check @BenHall fix in the referenced pull request.


Server-side pre-rendering for SEO

This might be just a question/docs tweak.
(Can't tell if the feature I need exists or not...)
I found these promising bits in Readme.md:

Features: "redoc-cli with ability to bundle your docs into zero-dependency HTML file"
Roadmap: "docs pre-rendering (performance and SEO)" crossed out

And:

https://github.com/Rebilly/ReDoc/blob/master/cli/README.md  "SSR mode" (Maybe server side rendering? Doesn't say what the acronym is.)
https://github.com/Rebilly/ReDoc/pull/357 "SSR support (store seriliazation/deserialization)"

But...

https://github.com/Rebilly/ReDoc/issues/124 was closed as out of scope.
redoc-cli says "starts the server" but not much else. I don't want to keep another web server continuously running, listening on the network. There are security implications to this. I just want to generate static HTML when CI runs.

ReDoc's client-side JavaScript rendered docs work well. We're using that for most clients.
But like #124, sometimes server-side static HTML is needed for PDF engines and SEO. If the client is a search engine/print app that doesn't run JavaScript (or not extensively enough) and therefore cannot search index or print JavaScript-rendered docs, then I need to return static HTML instead.
Does ReDoc CLI do this?

redoc-cli says "starts the server" but not much else

use redoc-cli's bundle command instead of serve which

bundles spec and ReDoc into zero-dependency HTML file

@RomanGotsiy Sorry, but that doesn't yield a yes/no answer... That's why I had to ask.
"Zero-dependency HTML file" is a sexy sound bite, but ambiguous.
For example, it could mean one HTML file with embedded ReDoc. That would not be what I need. Or it could mean static HTML, no JavaScript. Or no node.js dependencies. I can't tell. I need something less marketing-ish and more tech doc-ish about the feature's intended behaviour.
So... "Yes, bundles will be static HTML+CSS only (no JS)"? Or "No, bundles will still require a JS engine to render the page"?

ok, so "Zero-dependency HTML file" - server-side rendered ReDoc with embedded ReDoc.
So all the initial HTML + CSS are in the HTML and can be rendered by the browser immediately. But it is not interactive. That's why bundle contains ReDoc embedded js which hydrates the view and makes it interactive.
You can use ReDoc from the CDN instead of embedding it into the page by passing --cdn option to bundle command.
It works exactly same as any Server Side rendered React application so look there for more detailed information.
Practically, it means you can deploy resulting HTML to any static hosting or just send it via email and user will be able to just double-click your file to see it.
Hope this answer is more useful!

Perfect. That's what I needed to know. Thanks!


How to perform two independent augmentations for each image in a mini-batch?

Just like “Augment your batch: Improving generalization through instance repetition”

You may need to add two pipelines to the dataset. https://github.com/open-mmlab/mmdetection/blob/f08548bfd6d394a82566022709b5ce9e6b0a855e/mmdet/datasets/custom.py#L241

Thanks.


Toggle command to enable/disable?

Is it possible to add such toggle command?
e.g. I can disable the auto blame by default, and when send the toggle command, enable it to show the blame info in status bar?

Actually I mean to enable/disable it dynamically, without reloading window.
I love this extension, but when I use it along with Remote SSH, under a bad networking, if I jump/switch source files frequently, I want to disable gitblame temporarily, to avoid more latency for RemoteSSH. Only if when I need to get the commit info, I can enable dynamically to check, then disable again.
Thanks.

Ah, I think I get it.
If you use the SSH feature in VSCode it should be possible to install the extension on the remote machine. I know I use Gitblame in WSL and I think this should be the same.
Would a command that toggles the, for the lack of a better term, event handlers be what you are looking for if the remote extension isn't enough?


Launch Tracker 🔴

This issue is part of the migration to v3. You can read full details about the various changes here.
To get your track ready for Exercism v3, the following needs to be done:

[x] Configure online editor
[x] Add key features
[x] Add tags
[x] Update status of track
[x] Update status of Concept Exercises
[x] Pass linting checks
[ ] Add prerequisites to Practice Exercises
[ ] Build Test Runner
[ ] Build Analyzer and Representer (optional)
[ ] Add blurb to Concept Exercises

This issue may be automatically added to over time. While track maintainers should check off completed items, please do not add/edit items in the list.
Tracking
https://github.com/exercism/v3-launch/issues/7

@ErikSchierboom - I take it this issue can be closed. Please re-open if I was mistaken.


Create a Business Service with Node.js Using Visual Studio Code

Tutorial URL: https://developers.sap.com/tutorials/cp-apm-nodejs-create-service.html
Please specify the step you are referring to:3
After installing the vsix extension, cds is not being recognized in the terminal.
Is there any additional steps required or a path be created the system registry? Please advise.
The full error message is as below:-
"cds : The term 'cds' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the
name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1

cds

  + CategoryInfo          : ObjectNotFound: (cds:String) [], CommandNotFoundException
  + FullyQualifiedErrorId : CommandNotFoundException"

Hi,
After step 1.2 (installing cds using "npm i -g @sap/cds.dk") you have tried "cds" or "cds" version to check if cds was installed and if yes, which version? Could you share the screenshot with the version(s)? Are you using a Mac or a windows machine?
Thanks a lot and best regards,
Iwona

Hi,
After step 1.2 (installing cds using "npm i -g @sap/cds.dk") you have tried "cds" or "cds v" to check if cds was installed and if yes, which version? Could you share the screenshot with the version(s)? Are you using a Mac or a windows machine?
Thanks a lot and best regards,
Iwona

I'm having the same issue this are my versions the problem here in my case is that if i use cmd i can run cds but if i use visual studio code i can not.

i have also tryed to run as administrator but the error continues

Did you installed the CDS Language Support extension for VS Code as described here. Please check in VS code and get back to me.
Best regards,
Iwona


@VRamakrishnaSG @ldesrosi @VRamakrishna .
would you have time to take a look? thanks.

david@vultr:~/go/src/github.com/HyperledgerHandsOn/trade-finance-logistics/middleware$ node createTradeApp.js
info: [ClientUtils]:

Using temp dir: ../network/client-certs

Successfully extracted the config update from the configtx envelope
Successfully enrolled user 'admin' for exporterorg
Successfully signed config as admin of exporterorg
Successfully enrolled user 'admin' for importerorg
Successfully signed config as admin of importerorg
Successfully enrolled user 'admin' for carrierorg
Successfully signed config as admin of carrierorg
Successfully enrolled user 'admin' for regulatororg
Successfully signed config as admin of regulatororg
Successfully enrolled user 'admin' for every org and obtained channel config signatures
Successfully enrolled user 'admin' for orderer
E0813 12:47:56.621132313    1047 ssl_transport_security.cc:989] Handshake failed with fatal error SSL_ERROR_SSL: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed.
E0813 12:47:56.622324127    1047 ssl_transport_security.cc:989] Handshake failed with fatal error SSL_ERROR_SSL: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed.
E0813 12:47:57.619572743    1047 ssl_transport_security.cc:989] Handshake failed with fatal error SSL_ERROR_SSL: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed.
E0813 12:47:57.621801726    1047 ssl_transport_security.cc:989] Handshake failed with fatal error SSL_ERROR_SSL: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed.
E0813 12:47:59.177523755    1047 ssl_transport_security.cc:989] Handshake failed with fatal error SSL_ERROR_SSL: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed.
E0813 12:47:59.202896378    1047 ssl_transport_security.cc:989] Handshake failed with fatal error SSL_ERROR_SSL: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed.
error: [Remote.js]: Error: Failed to connect before the deadline
Channel tradechannel does not exist yet (IGNORE ANY ORDERER ERROR MESSAGES YOU SEE ABOVE!!)
Successfully signed config update as orderer admin
E0813 12:47:59.627329201    1047 ssl_transport_security.cc:989] Handshake failed with fatal error SSL_ERROR_SSL: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed.
E0813 12:47:59.628230501    1047 ssl_transport_security.cc:989] Handshake failed with fatal error SSL_ERROR_SSL: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed.
E0813 12:48:00.626588160    1047 ssl_transport_security.cc:989] Handshake failed with fatal error SSL_ERROR_SSL: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed.
E0813 12:48:00.628050390    1047 ssl_transport_security.cc:989] Handshake failed with fatal error SSL_ERROR_SSL: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed.
E0813 12:48:01.487173379    1047 ssl_transport_security.cc:989] Handshake failed with fatal error SSL_ERROR_SSL: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed.
E0813 12:48:01.487986774    1047 ssl_transport_security.cc:989] Handshake failed with fatal error SSL_ERROR_SSL: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed.
E0813 12:48:01.975820887    1047 ssl_transport_security.cc:989] Handshake failed with fatal error SSL_ERROR_SSL: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed.
E0813 12:48:02.007195176    1047 ssl_transport_security.cc:989] Handshake failed with fatal error SSL_ERROR_SSL: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed.
error: [Remote.js]: Error: Failed to connect before the deadline
error: [Orderer.js]: Orderer grpcs://localhost:7050 has an error Error: Failed to connect before the deadline

CHANNEL CREATION FAILED: Error: Error: Error: Failed to connect before the deadline
at checkState (/home/david/go/src/github.com/HyperledgerHandsOn/trade-finance-logistics/middleware/node_modules/grpc/src/client.js:838:16)
at Client.newDefaultKeyValueStore.then.then.then.then.then (/home/david/go/src/github.com/HyperledgerHandsOn/trade-finance-logistics/middleware/create-channel.js:177:9)
at process._tickCallback (internal/process/next_tick.js:68:7)
at Client.newDefaultKeyValueStore.then.then.then.then.then.then (/home/david/go/src/github.com/HyperledgerHandsOn/trade-finance-logistics/middleware/create-channel.js:182:9)
at process._tickCallback (internal/process/next_tick.js:68:7)

david@vultr:~/go/src/github.com/HyperledgerHandsOn/trade-finance-logistics/middleware$ sudo npm list | grep grpc
│ ├─┬<EMAIL_ADDRESS>david@vultr:~/go/src/github.com/HyperledgerHandsOn/trade-finance-logistics/middleware$ sudo npm list | grep fabric
├─┬<EMAIL_ADDRESS>├─┬<EMAIL_ADDRESS>david@vultr:~/go/src/github.com/HyperledgerHandsOn/trade-finance-logistics/middleware$ sudo npm list | grep fabric-ca
├─┬<EMAIL_ADDRESS>david@vultr:~/go/src/github.com/HyperledgerHandsOn/trade-finance-logistics/middleware$

hi:
here is what i have.

is it happens because the wrong fabric version?

hi:
this time i config the whole thing right, but it came with something else:
david@vultr:~/go/src/github.com/HyperledgerHandsOn/trade-finance-logistics/middleware$ node createTradeApp.js
info: [ClientUtils]:

Using temp dir: ../network/client-certs

Successfully extracted the config update from the configtx envelope
Successfully enrolled user 'admin' for exporterorg
Successfully signed config as admin of exporterorg
Successfully enrolled user 'admin' for importerorg
Successfully signed config as admin of importerorg
Successfully enrolled user 'admin' for carrierorg
Successfully signed config as admin of carrierorg
Successfully enrolled user 'admin' for regulatororg
Successfully signed config as admin of regulatororg
Successfully enrolled user 'admin' for every org and obtained channel config signatures
Successfully enrolled user 'admin' for orderer
E0813 17:42:51.020520926    1019 ssl_transport_security.cc:989] Handshake failed with fatal error SSL_ERROR_SSL: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed.
E0813 17:42:51.021594973    1019 ssl_transport_security.cc:989] Handshake failed with fatal error SSL_ERROR_SSL: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed.
error: [Orderer.js]: sendDeliver - on error code 14: "Error: 14 UNAVAILABLE: Connect Failed\n    at createStatusError (/home/david/go/src/github.com/HyperledgerHandsOn/trade-finance-logistics/middleware/node_modules/grpc/src/client.js:64:15)\n    at ClientDuplexStream._emitStatusIfDone (/home/david/go/src/github.com/HyperledgerHandsOn/trade-finance-logistics/middleware/node_modules/grpc/src/client.js:270:19)\n    at ClientDuplexStream._readsDone (/home/david/go/src/github.com/HyperledgerHandsOn/trade-finance-logistics/middleware/node_modules/grpc/src/client.js:236:8)\n    at readCallback (/home/david/go/src/github.com/HyperledgerHandsOn/trade-finance-logistics/middleware/node_modules/grpc/src/client.js:296:12)"
Channel tradechannel does not exist yet (IGNORE ANY ORDERER ERROR MESSAGES YOU SEE ABOVE!!)
Successfully signed config update as orderer admin
E0813 17:42:51.040101098    1019 ssl_transport_security.cc:989] Handshake failed with fatal error SSL_ERROR_SSL: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed.
E0813 17:42:51.041107925    1019 ssl_transport_security.cc:989] Handshake failed with fatal error SSL_ERROR_SSL: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed.
error: [Orderer.js]: sendBroadcast - on error: "Error: 14 UNAVAILABLE: Connect Failed\n    at createStatusError (/home/david/go/src/github.com/HyperledgerHandsOn/trade-finance-logistics/middleware/node_modules/grpc/src/client.js:64:15)\n    at ClientDuplexStream._emitStatusIfDone (/home/david/go/src/github.com/HyperledgerHandsOn/trade-finance-logistics/middleware/node_modules/grpc/src/client.js:270:19)\n    at ClientDuplexStream._readsDone (/home/david/go/src/github.com/HyperledgerHandsOn/trade-finance-logistics/middleware/node_modules/grpc/src/client.js:236:8)\n    at readCallback (/home/david/go/src/github.com/HyperledgerHandsOn/trade-finance-logistics/middleware/node_modules/grpc/src/client.js:296:12)"

CHANNEL CREATION FAILED: Error: Error: Error: SERVICE_UNAVAILABLE
at ClientDuplexStream. (/home/david/go/src/github.com/HyperledgerHandsOn/trade-finance-logistics/middleware/node_modules/fabric-client/lib/Orderer.js:136:21)
at ClientDuplexStream.emit (events.js:182:13)
at ClientDuplexStream._emitStatusIfDone (/home/david/go/src/github.com/HyperledgerHandsOn/trade-finance-logistics/middleware/node_modules/grpc/src/client.js:271:12)
at ClientDuplexStream._readsDone (/home/david/go/src/github.com/HyperledgerHandsOn/trade-finance-logistics/middleware/node_modules/grpc/src/client.js:236:8)
at readCallback (/home/david/go/src/github.com/HyperledgerHandsOn/trade-finance-logistics/middleware/node_modules/grpc/src/client.js:296:12)
at Client.newDefaultKeyValueStore.then.then.then.then.then (/home/david/go/src/github.com/HyperledgerHandsOn/trade-finance-logistics/middleware/create-channel.js:177:9)
at process._tickCallback (internal/process/next_tick.js:68:7)
at Client.newDefaultKeyValueStore.then.then.then.then.then.then (/home/david/go/src/github.com/HyperledgerHandsOn/trade-finance-logistics/middleware/create-channel.js:182:9)
at process._tickCallback (internal/process/next_tick.js:68:7)

one thing i  have to mention.
the very first time of running "node createTradeApp.js" failed.
as the image below shows.
after i ran "npm build", the problem of the last page appared.

Not sure what exactly is messed up. To restart cleanly, do the following:

Set the versions of both fabric-client and fabric-ca-client in middleware/package.json to "1.1.2" (no ~ or ^)
Delete the folder middleware/node_modules
Run npm install within middleware
Also clean up your network to start from scratch:

Delete client_certs, channel-artifacts, crypto-config folders in network
Run ./trade.sh generate -c tradechannel within network to generate the channel and crypto material
Run ./trade.sh up to start the network

Now run the middleware scripts again

seems still can't heat it up.

The errors I see above are certificate verification errors, which may occur because of stale certificates. The steps I outlined above to clean up and restart really ought to work, unless you missed a step or changed some configuration (note that there are configuration files in both the network and middleware folders that contain settings which need to match.) FYI, I just retried the same set of instructions on my setup and it worked as expected. I checked to ensure that I have the right versions of the npm packages.
I don't have any other advice other than to make sure you've done a proper cleanup and that you have followed the steps using the right configurations. Sorry!

<EMAIL_ADDRESS>passwd: shen123
<EMAIL_ADDRESS>passwd: shen123
help to take a look if you don't mind, thanks

Sorry, I don't have the time to check out setups on an individual basis. I can just offer somewhat generalized advice, and clues to help you debug.
Also, it's very bad practice to share passwords (especially for root access) on public forums. So please change your passwords so your machines don't get hacked!
For more help, you can subscribe to https://lists.hyperledger.org/g/fabric. A lot of people hang out there, and it's likely some of them have experienced the exact error you are seeing, and found ways around it.

Just to confirm, you did clone and build the following branches of the source code, right? (I mentioned this above. Don't use the default, which is release-1.2):
https://github.com/hyperledger/fabric/tree/release-1.1
https://github.com/hyperledger/fabric-ca/tree/release-1.1

yes.
i cloned both by [-b release-1.1]
anyway, thanks for your time.
greate book.

One of the reasons is using unsuitable node version.
To add the Long Term Support (LTS) subversion of Node.js v8, we can use these commands:
curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash
source ~/.profile
nvm ls-remote
nvm install v8.16.0
nvm list
nvm use v8.16.0
node --version

I think this error has been dealt with in other issues. Check out the Wiki for links.
This should not have anything to do with the Node version. I've been running this with Node v9.8.0 (npm version 5.7.1) and don't see any issues.

I think this error has been dealt with in other issues. Check out the Wiki for links.
This should not have anything to do with the Node version. I've been running this with Node v9.8.0 (npm version 5.7.1) and don't see any issues.

@VRamakrishna I had the issue when I used v12.4.0 and v10.16.0 but it is has been solved when I use v8.16.0. Of course, there are other causes but this what is happened to me and maybe it is useful for others.

@fady-a-m-ibrahim Thanks for the comment to install  Node.js v8. I had the same error and got resolved when I reinstalled node.

@fady-a-m-ibrahim Thanks for the comment to install Node.js v8. I had the same error and got resolved when I reinstalled node.

Thank you @ShiuliR, for letting me know. I'm so happy for you!!


Elaborate the process for Marketplace add-ins

In this article, the section about add-in updates only "Admins of organizations" are discussed, but it doesn't mention what needs to happen when with Marketplace offered add-ins:
https://learn.microsoft.com/en-us/office/dev/add-ins/publish/maintain-breaking-changes#deploy-updates
Please add what the rules are for updates to add-ins for Marketplace add-ins.

Hi @jkpieterse,
Thanks for reaching out. The information for how to update existing Marketplace offers can be found here: https://learn.microsoft.com/partner-center/marketplace-offers/update-existing-offer.
I'll confirm internally if there is any information specific to add-ins that is missing from that documentation. Either way, I'll update the page you linked to make the process for updating Marketplace add-ins clearer. As you go through the process, please do let me know if there's anything missing that others would benefit from.

The linked PR has been merged. Updates to the documentation should be live in the next couple of days. Please let me know if you have any more suggestions or requests for the docs.

Thanks. As soon as I find some time I'll have a look


Consider setting 'develop' branch as git default

Awesome project!!!
I suspect the main development is happening in the develop branch,
and the master branch is for stable releases.
It would be helpful for contributors to see develop as default on GitHub.
For example, by default, new contributions/pull-requests will be opened against the master branch
instead of the current develop branch.

For example, by default, new contributions/pull-requests will be opened against the master branch
instead of the current develop branch.

I meant this is a current issue with master being default.

Good feedback.  Default branch changed to develop.  Thanks for the input.


Keep tab open key combination not working

VSCode Version: Code 1.14.2 (cb82febafda0c8c199b9201ad274e25d9a76874e, 2017-07-19T23:34:09.706Z)
OS Version: Windows_NT ia32 10.0.15063
Extensions:

Extension
Author (truncated)
Version

Bookmarks
ale
0.15.2

bracket-pair-colorizer
Coe
0.10.7

vscode-eslint
dba
1.2.11

tslint
eg2
0.17.0

csharp
ms-
1.11.0

debugger-for-chrome
msj
3.1.7

vscode-icons
rob
7.12.0

cordova-tools
vsm
1.2.8

(1 theme extensions excluded)

Steps to Reproduce:

Open brand new file with code
The title of the tab will be italicized.
Use the key combination to set the tab as "Keep Opened".  Ctrl + K + Enter
Observe that the tab is not affected and the tab title is still in italics.

Tried to use this with extensions disabled like requested below and it works fine.

Reproduces without extensions: No

@kinsondigital I'm guessing one of the extensions is registering a conflicting command for the same keyboard shortcut. To verify:

Do you see the same issue when you run the command from the command palette?
When you run Open Keyboard Shortcuts from the command palette and search for Enter, what binding(s) do you see for Cmd+K Enter?


FileNotFoundError (demons.json) for custom knowledge base

Hello,
First off, I'd like to express my appreciation for this great package you've developed. I'm in the process of testing a scenario where I evaluate the quality of generated summaries based on a custom knowledge base. Any guidance or pointers would be greatly appreciated!
For this purpose, I create the following knowledge.jsonl file:
{"title": "Gravity", "text": "Gravity is a force by which a planet or other body draws objects toward its center. The force of gravity keeps all of the planets in orbit around the sun."}
{"title": "Photosynthesis", "text": ["Photosynthesis is the process by which green plants and some other organisms use sunlight to synthesize foods with the help of chlorophyll pigments.", "In simple words, it is the process where plants make their own food using sunlight."]}
{"title": "Pythagorean Theorem", "text": "In mathematics, the Pythagorean theorem, also known as Pythagoras's theorem, is a fundamental relation in Euclidean geometry among the three sides of a right triangle. It states that the square of the hypotenuse is equal to the sum of the squares of the other two sides."}

and, following the example in the README, run the code:
fs = FactScorer(openai_key="...")
fs.register_knowledge_source("science_knowledge_base",
                             data_path="/content/knowledge.jsonl",
                             db_path="/content/knowledge_db")
topics = ["Gravity", "Photosynthesis", "Pythagorean Theorem"]
generations = ["Gravity is a force that draws objects toward the center of a planet or body, keeping planets in orbit around the sun.",
               "Photosynthesis allows plants and certain organisms to create food using sunlight and chlorophyll.",
               "This theorem in Euclidean geometry relates the three sides of a right triangle, stating that the hypotenuse's square is the sum of the squares of the other sides."]

out = fs.get_score(topics, generations, knowledge_source="science_knowledge_base")

In the last line however I receive the following error message:
---------------------------------------------------------------------------
FileNotFoundError                         Traceback (most recent call last)
[<ipython-input-47-58ee9f60532e>](https://localhost:8080/#) in <cell line: 2>()
      1 # now, when you compute a score, specify knowledge source to use
----> 2 out = fs.get_score(topics, generations, knowledge_source="science_knowledge_base")
      3 print (out["score"]) # FActScore
      4 print (out["respond_ratio"]) # % of responding (not abstaining from answering)
      5 print (out["num_facts_per_response"]) # average number of atomic facts per response

1 frames
[/usr/local/lib/python3.10/dist-packages/factscore/factscorer.py](https://localhost:8080/#) in get_score(self, topics, generations, gamma, atomic_facts, knowledge_source, verbose)
    127         else:
    128             if self.af_generator is None:
--> 129                 self.af_generator = AtomicFactGenerator(key_path=self.openai_key,
    130                                                         demon_dir=os.path.join(self.data_dir, "demos"),
    131                                                         gpt3_cache_file=os.path.join(self.cache_dir, "InstructGPT.pkl"))

[/usr/local/lib/python3.10/dist-packages/factscore/atomic_facts.py](https://localhost:8080/#) in __init__(self, key_path, demon_dir, gpt3_cache_file)
     27
     28         # get the demos
---> 29         with open(self.demon_path, 'r') as f:
     30             self.demons = json.load(f)
     31

FileNotFoundError: [Errno 2] No such file or directory: '.cache/factscore/demos/demons.json'

I'm trying to understand the role of demons.json and necessity. Despite my efforts to comb through the code, I couldn't quite grasp its purpose. Could you shed some light on this?
System: I am running this on colab and installed the factscore package using pip install --upgrade factscore.
Thank you very much in advance!

I made it work now by putting the demons.json file in the folder. However, I am wondering why I need this for a custom knowledge base. Could you help me understand this?

Hi @MathiasKraus, thanks a lot for your interest in our work.
The demonstrations are needed for atomic fact generation with davinci-003. Did you run the following command in your setup? It downloads all the needed data for you. https://github.com/shmsw25/FActScore#download-the-data
You could skip the --llama_7B_HF_path "llama-7B" flag here.

Hi, looks like the demons.json is not available in download, is there any alternative way to get the demons?

Hi, looks like the demons.json is not available for download in google drive anymore, is there any alternative way to get the demons?

Same problem here.


Document setting (via config) the limit of maximum devices (deviceauth)

Issues: MEN-1514
Changelog: None
Signed-off-by: Piotr Przybylak<EMAIL_ADDRESS>

I see that this is merged already.  I'll submit my requested changes in a follow-on PR

@PiotrPrzybylak does this need to be backported to any earlier branch or is it master-only?


Implement suggestions by weight.

#20 implemented a basic implementation.
What we expect is another implementation that applies a frequency effect to it or equivalent.
The word frequency effect refers to the observation that high-frequency words are processed more efficiently than low-frequency words.

Suggestion are managed by the clafrica backend.


make file/directory names consistent

some are snake_case, some are kebab-case. it really should be one or the other.
probably snake_case since that's Minecraft's official recommendation [citation needed]

could instead do period.case
not a real naming convention but i like it more than snake_case, and Minecraft doesn't consistently like kebab-case


boringssl build fails on suse tumbleweed/archlinux

gcc5 on arch/tumbleweed
[  212s]   CC(target) out/Release/obj.target/openssl/third_party/boringssl/src/crypto/bn/add.o
[  212s] third_party/boringssl/src/crypto/bio/socket_helper.c: In function 'bio_ip_and_port_to_socket_and_addr':
[  212s] third_party/boringssl/src/crypto/bio/socket_helper.c:42:19: error: storage size of 'hint' isn't known
[  212s]    struct addrinfo hint, *result, *cur;
[  212s]                    ^
[  212s] third_party/boringssl/src/crypto/bio/socket_helper.c:51:9: warning: implicit declaration of function 'getaddrinfo' [-Wimplicit-function-declaration]
[  212s]    ret = getaddrinfo(hostname, port_str, &hint, &result);
[  212s]          ^
[  212s] third_party/boringssl/src/crypto/bio/socket_helper.c:54:27: warning: implicit declaration of function 'gai_strerror' [-Wimplicit-function-declaration]
[  212s]      ERR_add_error_data(1, gai_strerror(ret));
[  212s]                            ^
[  212s] third_party/boringssl/src/crypto/bio/socket_helper.c:60:36: error: dereferencing pointer to incomplete type 'struct addrinfo'
[  212s]    for (cur = result; cur; cur = cur->ai_next) {
[  212s]                                     ^
[  212s] third_party/boringssl/src/crypto/bio/socket_helper.c:79:3: warning: implicit declaration of function 'freeaddrinfo' [-Wimplicit-function-declaration]
[  212s]    freeaddrinfo(result);
[  212s]    ^
[  212s] third_party/serf/openssl.target.mk:616: recipe for target 'out/Release/obj.target/openssl/third_party/boringssl/src/crypto/bio/socket_helper.o' failed
[  212s] make: *** [out/Release/obj.target/openssl/third_party/boringssl/src/crypto/bio/socket_helper.o] Error 1
[  212s] make: *** Waiting for unfinished jobs....
[  212s] error: Bad exit status from /var/tmp/rpm-tmp.YI3n8A (%build)

closed by https://github.com/pagespeed/mod_pagespeed/commit/4cbc9320342dc1314db31eb9514da39058c6c6c7

closed by https://github.com/pagespeed/mod_pagespeed/commit/4cbc9320342dc1314db31eb9514da39058c6c6c7


Alt Gr toggles Split Overlay

Pressing Alt Gr (i.e. when typing @ ) toggles the Split Overlay. According to "Key Binding" only holding ctrl + alt should do it. Is this behaviour wanted? It's an annoyance while type special characters.

Not sure how to fix this as Alt+Gr is the same as ctrl+alt

maybe change shortcut to ctrl + shift or something

ctrl + shift is using for text selection which is suboptimal

Not an issue but more of a design choice, closing it.

Open it again :)

@Mm2PL this should be solved with #2340, right?
No need to reopen a 3 y/o issue then imho

@Mm2PL this should be solved with #2340, right?
No need to reopen a 3 y/o issue then imho
@TranRed
No that PR doesn't do any of these modifier-only shortcuts and it doesn't do shortcuts which also trigger on release. So Ctrl - Show resize handles and Ctrl+Alt - Show split overlay has to stay (at least for now).


[FLINK-28121][docs-zh]Translate "Extension Points" and "Full Stack Example" in  "User-defined Sources & Sinks" page

What is the purpose of the change
[FLINK-28121]Translate "Extension Points" and "Full Stack Example" in  "User-defined Sources & Sinks" page
Brief change log
Verifying this change
Please make sure both new and modified tests in this PR follows the conventions defined in our code quality guide: https://flink.apache.org/contributing/code-style-and-quality-common.html#testing
(Please pick either of the following options)
This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Added integration tests for end-to-end deployment with large payloads (100MB)
Extended integration test for recovery after master (JobManager) failure
Added test that validates that TaskInfo is transferred only once across recoveries
Manually verified the change by running a 4 node cluster with 2 JobManagers and 4 TaskManagers, a stateful streaming program, and killing one JobManager and two TaskManagers during the execution, verifying that recovery happens correctly.

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no) no
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no) no
The serializers: (yes / no / don't know) no
The runtime per-record code paths (performance sensitive): (yes / no / don't know) no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know) no

Documentation

Does this pull request introduce a new feature? (yes / no) no
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented) no

Hi, @gaoyunhaii, could you help to review this PR?

@coder-zjh Thank your for your feedback! I will solve the problems ASAP!

@coder-zjh Thanks for the review! @MartijnVisser  would you help to take a look and merge it?

@fsk119 Would you help to take a look at this? ^_^


GH-49: Expose AuthenticationMechanism in PowershellSettings

Expose AuthenticationMechanism in PowershellSettings and update runner to honor that setting
The PowershellSettings class now exposes an AuthenticationMechanism property.  The PowershellSettingsExtensions class also has been updated to offer an extension method to set this property.  Finally, the PowershellRunner class has been updated to apply the value of this new property to the connection when a username is specified.

Hard to argue against this one 👍


FFM-7656: updates release notes for node.js SDK

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app


fix(datastore): observeQuery snapshot on .modelSynced event

Issue #, if available:
https://github.com/aws-amplify/amplify-ios/issues/1759
Description of changes:
(reference taken from https://github.com/aws-amplify/amplify-ios/pull/2105)
Datastore observeQuery is an API that produces streamlines of data snapshots along with its' syncState.
While producing data snapshots and syncing to the cloud, the isSynced value remains false and is toggled to true when the syncing process is complete. But there can be potential loss of snapshots in the toggle from the last snapshot during the sync and the first snapshot after the sync as there can be lot of items being changed at that point after toggle. And the snapshot to be produced after the sync is delayed as it waits for any new changes.
The fix is to listen on datastore .modelSynced where Items observed will be returned in a single snapshot on isSynced toggled from false to true. The operation will internally listen to .modelSynced event from the Hub, thus emitting required snapshots on toggle fixing the issue https://github.com/aws-amplify/amplify-ios/issues/1759
Also wrote a small test case covering a test case where storageEngine returns two Posts in a single snapshot.
Check points: (check or cross out if not relevant)

[x] Added new tests to cover change, if needed
[x] Build succeeds with all target using Swift Package Manager
[x] All unit tests pass
[ ] All integration tests pass
[ ] Security oriented best practices and standards are followed (e.g. using input sanitization, principle of least privilege, etc)
[x] Documentation update for the change if required
[ ] PR title conforms to conventional commit style
[ ] If breaking change, documentation/changelog update with migration instructions

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

reminder to apply the code change ontop of main (related discord message thread https://discord.com/channels/705853757799399426/707328996995760179/1022562366556209152 )

Messed up with Git, please visit #2370 if you came here for the fix

Hi @manaswi223, I believe you can accomplish this on the existing PR by renaming the new PR's branch to this branch and force pushing. So for example, right before push the branch ds.observeQuery to the remote repo, you can rename it to datastore.observeQuery-finalFix and do a force push. It will go something like this:
// `rename the current `datastore.observeQuery-finalFix` branch to a temporary branch
git branch -m datastore.observeQuery-finalFix.temp

// go over to `ds.observeQuery`, (containing all that changes you want)
git checkout datastore.observeQuery

// rename the branch containing the changes you want, over to `datastore.observeQuery-finalFix`
git branch -m datastore.observeQuery-finalFix

// go over to this PR and re-open it https://github.com/aws-amplify/amplify-ios/pull/2296

// these are some commands you can use to make sure the branch looks as you expect
git branch
git log
git status

// now force push the PR to https://github.com/aws-amplify/amplify-ios/pull/2296
git push -u origin HEAD --force


Routing State Changed Events need to be debounced

Need to first reverse control flow of routingStateChanged and notifyRoutingStateChanged so that command executions produce the event bus message, and function calls execute the command.
Apply debouncing on command results before issuing event bus messages.

NOTE: the current fix c1af9cf is only good to debounce individual components firing routing state changes, but not route handler routing state changes. We need to additionally add debouncing to the route handler.


rds_serverless_cluster - Instance does not have performance insights enabled.

More Information

https://aquasecurity.github.io/tfsec/v1.28.1/checks/aws/rds/enable-performance-insights/
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/rds_cluster_instance#performance_insights_kms_key_id
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/db_instance#performance_insights_kms_key_id

@chrisbloe I assume this has cost, might want to ignore this one and delegate to the implementor if they want it, depends if we want this?

Should have this default it to false.


Add phpMyAdmin to docker-compose.yml file

This is more of a heads-up than an issue, if you add the following to the end of the docker-compose.yml file users will have browser access to the db
 phpmyadmin:
   image: phpmyadmin/phpmyadmin
   links:
    - mysql:mysql
   ports:
     - 9191:80
  environment:
    MYSQL_USERNAME: root
    MYSQL_ROOT_PASSWORD: pw
     PMA_HOST: mysql

NOTE: 9191 is the host port  http://localhost:9191 - will bring up phyMyAdmin
BTW: Thanks for dockerized-magento, its great for creating a test/learning environment!

Thanks for the suggestion.
I have added phpMyAdmin to the docker-compose.yml. It's available on port 8080:


refactor and use updated api

@krook

hi @krook, can you review/merge this change? i've updated to python example to more closely align with the node.js example. thank you!


Status

Fix straightforward lints

[x] codegen
[ ] rusoto

[ ] credential.rs
[ ] region.rs
[ ] signature.rs
[ ] s3.rs
[ ] xmlutil.rs
..?

Currently, the #[derive(Serialize)] calls in the code are erroneously triggering the used_underscore_binding lint.
This issue it being tracked at https://github.com/Manishearth/rust-clippy/issues/852.

I'd skip worrying about the hand-crafted S3 code.  We're planning on ditching that in favor of code generated from the JSON service definition.  It's just a special snowflake and requires lots of tweaks compared to other services.

The S3 code is actually pretty much finished (apart from ptr_arg and cyclomatic_complexity).

@matthewkmayer, @jimmycuadra
So this PR is pretty much good to go.
I've fixed all of the straightforward lints across both codegen and rusoto itself.
The outstanding lints are:

ptr_arg (global)

I've disabled this lint globally since we'll probably want to continue using the generated types across all function signatures

cyclomatic_complexity (s3)

I've disabled the lint for this in the S3 module since it'll be removed in the future anyways and it'll take a long time to resolve

used_underscore_binding

This is an upstream issue, so I've disabled the lint globally until it's fixed

while_let_loop (sqs, or rather any code utilizing these lines in the query generator)

The query generator has a loop with a nested match, for which the "rustic" version is a while let loop, in the case that the match only has one possible arm. The query generator generates this code both with one and with multiple match arms, so modifying the code to only generate while let loops is not a trivial fix. Because of this, I've disabled the lint and I don't think we should really worry about this since fixing it will generate excess complexity solely for an visual improvement in the generated code.

Outside of the above, the only remaining clippy warning is [this] section of code in `s3.
The suggested fix by clippy won't apply here, but rather this warning will go away once the code is completed.
This PR is currently rebased on my local chore-clippy-support branch, so don't merge it until PR #227 is merged.
Also, let me know whether you want me to keep the modifications to s3 prior to merging.

Alright, assuming you want to keep the s3 changes, this is good to merge.


Importing blob from canister

Hi all! Hope everything has been going well, I've recently started building stuff with the SDK again and had a quick question.
I have two files:
// B.mo
actor B {
  public func get(): async Blob { "Hello" };
}

// A.mo
import B "canister:B";

type A = actor {
  get: () -> async Blob;
};

actor {
  let a: A = B;
}

This produces an error:
type error, expression of type
  actor {get : shared () -> async [Nat8]}
cannot produce expected type
  actor {get : shared () -> async Blob}

Is this expected? I can change A to use [Nat8], but I'm trying to keep the types the same. Thanks!

Yes, that is somewhat expected; in the Candid IDL (https://github.com/dfinity/candid/blob/master/IDL.md) blob and vec nat8 are aliases. I think there is work towards making that less annoying for blob (i.e. import it into motoko as Blob again), but in general this problem is unavoidable, and will surface with other types.
You can just write A.mo using Blob, but then you don’t get to use the nice type import feature…

This is a bug, we have a PR to fix this in the compiler. The expected behavior is to import as a Blob type if the candid file says blob.


DD of PosixPath objects seem to be very nested and provide mediocre output

Outputting a PosixPath objects seems to create a nesting level for each directory involved in the path. It seems to recursively call itself for each such directory path instance. Can almost certainly be improved to be more beneficial output.
Seems very similar to the original output of DateTime objects, and thus this might also be a good usecase for the "Intermediate" type.

On that note, are there any other somewhat-common, built in Python types (that aren't necessarily directly common in Django) that we could try to account for?
I feel like we've gotten a majority by now, but clearly there are still some exceptions.

PosixPath and similar have been handled, as well as a few more additional types I found. Leaving open for a bit longer, while checking for more potentially useful types. But at this point, I think we probably have handled a majority, at least of all the types that we're going to find without outside input from others.

Has been resolved


Birthday Calendar

What would you like to be added?
It would be great, if the calendar view could be used as a birthday calendar. This could be an option in the calendar view. If set the date entries would be treated as recurring every year.
Why is this needed?
If your project is a list of people you may want to see their birthdays.

💯
Sounds like a duplicate of #69 as a birthday is effectively a yearly recurring note/task/event.


Updated Miner and Executor Readme.md files

Describe your changes
Updated miner setup with more details and steps
Updated executor setup with more details and steps
Issue ticket number and link
Task Title
Checklist before requesting a review

[ ] I have performed a self-review of my code
[ ] I wrote tests.
[ ] Need to take care of performance?

Hi @Parig0t could you please fix the conflict?

Hi @Parig0t could you please fix the conflict?

Done!

@pyon12 anything else required?


fix build - issue #3

PR based on @guidux comments on the issue #3

@umens Thanks for your pull request, I will test it in the next view days. But @guidux is right about the dependencies. Because of angular 4 and upcoming the angular dependency must be ">=2.4.4", see https://github.com/PhilippStein/ng2-ion-range-slider/issues/2

I just updated the dependencies


integrated API deployment and backend tests into CI/CD

backend tests failing because of a missing dependency. @Dindosss and I plan on fixing the issue tomorrow.

dependency issue causing backend tests to fail has been resolved successfully.


Feature Enhancement: Snip request through telegram

Re-Created due to conflicts
Added new feature:
Snipping through telegram, enable it in config, Sniper Task "mode": "telegram"
Also fixed the problem of not able to find Pokemons without EncounterID and SpawnPointID.
Fixes#5863

👍


Bug: Inconsistency on the initial task result missing last_update

I notice that we have some inconsistency in the initial task result.
The example below shows when submitting a metadata_update task, it shows only the task ID on the initial response/state.
https://github.com/repository-service-tuf/repository-service-tuf-api/blob/d552d0f74a0b3454f535c94a71029524479b4e3a/repository_service_tuf_api/metadata.py#L76-L80
A good practice would be to have at least the last_update and maybe state as SUBMITTED.
A good (not perfect) reference is the add/remove targets.
https://github.com/repository-service-tuf/repository-service-tuf-api/blob/d552d0f74a0b3454f535c94a71029524479b4e3a/repository_service_tuf_api/targets.py#L153-L160

@kairoaraujo , if you agree, can you assign this task to me? Thanks


take proj-turbo to the next level

might be able to use proj-turbo to discover simple affine translation/scale between image points (i.e. [I, J]) in input data to image points in output data

in other words, we could totally skip potentially half of the re-projection steps under some scenarios

done, with inverse_pixel - will include in next release under turbo flag


New-HTMLChart & title font size

hi, i could not find a way to change the font size of the New-HTMLChart title.
since it quite big, any chance there is a workaround or its in the pipeline?
New-HTMLChart -title

You would need to add this functionality. According to docs: https://apexcharts.com/docs/options/title/
title: {
    text: undefined,
    align: 'left',
    margin: 10,
    offsetX: 0,
    offsetY: 0,
    floating: false,
    style: {
      fontSize:  '14px',
      fontWeight:  'bold',
      fontFamily:  undefined,
      color:  '#263238'
    },
}

It's possible. Seems like an easy change.


Produce main bundle with Rollup

There are unfortunate Babel artifacts in the compiled UMD bundle.
For example:
return e&&e.__esModule?e:{"default":e}}t.__esModule=!0

// Oops, we access ["default"] in a hot path!
if(!(0,u["default"])(e))throw Error("Actions must be plain objects. Use custom middleware for async actions.")

We should use a better build process that doesn’t produce artifacts like this.

This is due to the oldIE support stuff, right? Shouldn't be happening in next branch. Scope hoisting (aka, rollup) won't fix this by itself.

I meant the Babel default indirection which goes away if we compile with Rollup.

@gaearon Do you want a PR?

Sure.

@gaearon Done


Print newline after doc comments before attributes

Forces a line break following doc comments before the first non-comment attribute on a BuckleScript external.
Before:
/** doc comment */<EMAIL_ADDRESS>external url : t => string = "";

/**
 * Short multiline doc comment
 */<EMAIL_ADDRESS>external url : t => string = "";

/** Longer doc comment before an attribute on an external. */<EMAIL_ADDRESS>external url : t => string = "";

/* normal comment */
<EMAIL_ADDRESS>external url : t => string = "";

After:
/** doc comment */
<EMAIL_ADDRESS>external url : t => string = "";

/**
 * Short multiline doc comment
 */
<EMAIL_ADDRESS>external url : t => string = "";

/** Longer doc comment before an attribute on an external. */
<EMAIL_ADDRESS>external url : t => string = "";

/* normal comment */
<EMAIL_ADDRESS>external url : t => string = "";

Fixes #1857.

Rebased and added an additional test case for short multi-line doc comments preceding externals.

cc @rickyvetter

Are there sufficient test cases on non-extern items that have doc comments? (Like type definitions and regular let bindings?) If not, would you care to add them so I can merge?

I rebased this on master and reworked it to use partitionAttributes now that it can handle doc comments again. If there is a simpler way to do something here please let me know. I'm eager to get this merged so I don't have to keep padding out my doc comments just so the attributes don't wind up on the same line as them.

CC @IwanKaramazow

@zploskey This looks great! Thanks for the effort, I'll ping @chenglou to make sure it gets merged.

Good stuff. Thanks @zploskey!


Cannot install via composer

Hi,
I cannot install the package via composer
composer require woohoolabs/yin

Here is the error
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for woohoolabs/yin ^0.10.8 -> satisfiable by woohoolabs/yin[0.10.8].
    - woohoolabs/yin 0.10.8 requires psr/http-message-implementation ^1.0.0 -> no matching package found.

Potential causes:
 - A typo in the package name
 - The package is not available in a stable-enough version according to your minimum-stability setting
   see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.

Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.

Hey,
Unfortunately, Composer's error message isn't really informative, but the problem is that Yin requires a PSR-7 implementation (a package which provides the http-message-implementation virtual package) and it seems that you haven't installed one yet. You may use zendframework/zend-diactoros for this purpose. :)
I'll update the read me file with the solution! Thanks for pointing out the problem.

Now it works like a charm :) Thanks


Feature request: Optimized versions of LengthFieldBasedFrameDecoder and FixedLengthFrameDecoder

Netty version: 4.1.0.CR7.
Context:
It turns out that LengthFieldBasedFrameDecoder and FixedLengthFrameDecoder produce quite a lot of garbage by creating ByteBuf per message. This is especially true in the context where the client sends data at a very high-speed rate. As a result, we've got a lot of GC pauses which significantly drop throughput and increase latency.
Instead of slicing an incoming chunk of data per message, I suggest batching this chunk and slice only in case it contains N messages. By doing so we could reduce excessive object allocation, and as a result of that reduce GC pauses.
Instead of processing a ByteBuf that contains only one message, we could pass a ByteBuf that contains N messages and do something like this in order to process a chunk of data:
while (chunk.isReadable()) {
  // read from chunk data for one message
}

I created a simple echo server which demonstrates this approach.
You can run EchoServer with -Doptimized=true (it's false by default) in order to activate the optimized version of FixedLengthFrameDecoder (implemented as a ChannelInboundHandlerAdapter at the moment).
Here are some numbers:
Non-optmized version (throughput):

Optimized version (throughput):

Non-optimized version (latency):

Optimized version (latency):

Latency comparison (optimized and non-optimized versions):

It would be great to have additional frame decoders optimized for this particular use case.

@maseev I think you should try latest 4.1 branch and see how it behaves as we now also pool Slices if you use the PooledByteBufAllocator here.

@normanmaurer I just tried latest 4.1 branch. GC's started working less frequently, but throughput didn't change at all. I can see from YouKit profiler that writing to the channel is performing in the very small chunks (around 100kb), whereas in optimized mode I'm able to send up to 300-400kb per call. It seems there's a some limitation that relates to how many times channelRead can be called.

@maseev maybe you want to send a PR which implements an "optimised" LengthFieldBasedFrameDecoder and FixedLengthFrameDecoder ?

@normanmaurer I would love to. But I'd like to make sure that I'm not missing anything important. I mean, maybe I somehow misused Netty's frame decoder or something? The only thing I did is added FixedLenghtFrameDecoder which turned out to cause the major throughput drop.
I'll definitely send a PR when I have more free time. :disappointed:

@normanmaurer Finally found some free time to work on this issue. I've just made an interesting observation. It turns out that you can speed things up 'a little bit' by doing batching yourself rather than using  ctx.write + ctx.flush approach. Here's what I found out:

You can use the ctx.write + ctx.flush approach that I mentioned earlier by doing something like this. You write a message through the ctx.write in the channelRead method and flush all written messages in channelReadComplete. Here's a network throughput chart:

It turns out, that by using this approach, ctx.channel().isWritable() starts returning false pretty quickly.

You can speed things up by doing batching yourself. This approach provides much better throughput:

You can also combine FixedLengthFrameDecoder and writing/flushing in one handler. This particular approach gives the fastest throughput. It also reduces GC pauses to the minimum (probably one GC STW event every minute or so).

I'm a little surprised by these results. I thought that by using the first approach I would be able to achieve almost the same results as in the second. Anyway, the HighPerformanceEchoServerHandler provides the fastest solution that I was able to think of.
WDYT?

I don't think your handler can be Sharable with that buffer bytebuf.

@johnou You're right, it can't. Neither LengthFieldBasedFrameDecoder nor FixedLengthFrameDecoder can be shareble because ByteToMessageDecoder contains state. ByteToMessageDecoder clearly states that fact in the javadoc.


Update nlu.md

Added a few variations for all intents.

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

Thanks for submitting a pull request 🚀 @TyDunn will take a look at it as soon as possible ✨


CI: Azure PR build retention times

I don't think this is easy to fix at the moment, but I've certainly noticed that the complete build logs for Azure PR runs disappear after ~10 days, which can be pretty short for volunteer reviewers, especially if you want to check the coverage on a more complex PR you've bookmarked for later.
Here's a screencap of some of the settings, which is also confusing!

It looks like even if we could change the 10 to 20 or so it would have no effect anyway.
See also:
https://docs.microsoft.com/en-us/azure/devops/pipelines/policies/retention?view=azure-devops
There are apparently ways to retain a given build by hand, but the confusion / request for more control seems to be an open issue: https://github.com/MicrosoftDocs/vsts-docs/issues/3822

Closing because there is probably going to be a move away from Azure.


Obtaining type of the store's instance through typeof

What problem is this solving
Allowing to declare a variable's type in TS enviroment (in advance) equal to the exact representation of the Pinia store, before the variable's value is assigned (of which type otherwise would be naturally inferred by the useStore() return type).
Proposed solution
Would it be possible to leverage typeof and, instead of obtaining StoreDefinition, provide a TS helper to turn it into a Store type? Is this even feasible?
class AuthenticationManager {
    private readonly $axios: NuxtAxiosInstance;
    private readonly authenticationStore: typeof useAuthenticationStore; // ERROR: got StoreDefinition instead of Store

    constructor($axios: NuxtAxiosInstance, $pinia: Pinia) {
        this.$axios = $axios;
        this.authenticationStore = useAuthenticationStore($pinia);
    }
}

Describe alternatives you've considered
I tried using typeof useAuthenticationStore, but the type is StoreDefinition and not Store which useAuthenticationStore($pinia) returns.
Is there any already-exisiting way to achieve what I highlighted in the above snippet?

Is this what you need? 🤔
const useCounterStore = defineStore('counter', () => {
  const current = ref(0)
  const double = computed(() => current.value * 2)
  const increment = () => current.value++

  return {
    current,
    double,
    increment,
  }
})

type UseNullStore = ReturnType<typeof defineStore>
type NullStore = ReturnType<UseNullStore>
type CounterStore = ReturnType<typeof useCounterStore>
type CounterStoreSGA = Omit<CounterStore, keyof NullStore>


Material Icon color

http://codepen.io/anon/pen/QjbgGv
All the color i take from _color-definition.scss
I done it because when i using favoriteonly color the background .
The naming standard following the http://google.github.io/material-design-icons/
Sample php script i generate this color http://pastebin.com/82GB8P6A

The mdl-color-text--{color} classes work just fine with Material Icons. No need to add extra weight for no benefit. You can see all that are available in _palette.scss


Update 0.3.x for 0.4.x changes

r? @alexcrichton
Tests don't work on this branch anymore unfortunately.


'tab moves focus' needs UI love <3

press cmd + M ( or just open a read only editor )
notice ugly red decoration in the status bar
This also needs to be accessibly so maybe we should also start thinking about that

I think the UI is fine now:

Yeah I polished it


Incorrect indentation in text format of status details

This is what I have:
Header:
  ClientVersion: 0.15.0
  Command: 8
  Output: 0
  Timestamp:<PHONE_NUMBER>5403
Outcome:
  Status: true
  Time: 00:00:00
Request:

Response:
  FreeSpace:<PHONE_NUMBER>2
  NumberOfServers: 1
  Offline: false
  ServerVersion: 0.15.0
  Servers:
    - Backups:
  - Backup:<PHONE_NUMBER>5342
    BackupSize: 8339456
    Comments: ''
    Compression: 2
    Delta: 0
    Encryption: 0
    Keep: false
    RestoreSize: 48046080
    Valid: 1
    WAL: 16777216
      HotStandbySize: 0
      NumberOfBackups: 1
      RetentionDays: 7
      RetentionMonths: -1
      RetentionWeeks: -1
      RetentionYears: -1
      Server: primary
      ServerSize: 25227264
      Workers: 4
  TotalSpace:<PHONE_NUMBER>0
  UsedSpace: 25227264
  Workers: 0

Backup inside Backups is not indented correctly.

Header:
  ClientVersion: 0.15.0
  Command: 8
  Output: 0
  Timestamp:<PHONE_NUMBER>4317
Outcome:
  Status: true
  Time: 00:00:00
Request:

Response:
  FreeSpace:<PHONE_NUMBER>0
  NumberOfServers: 1
  Offline: false
  ServerVersion: 0.15.0
  Servers:
    - Backups:
      - Backup:<PHONE_NUMBER>5342
        BackupSize: 8339456
        Comments: ''
        Compression: 2
        Delta: 0
        Encryption: 0
        Keep: false
        RestoreSize: 48046080
        Valid: 1
        WAL: 67108864
      - Backup:<PHONE_NUMBER>0908
        BackupSize: 5218304
        Comments: ''
        Compression: 2
        Delta: 33554432
        Encryption: 0
        Keep: false
        RestoreSize: 48046080
        Valid: 1
        WAL: 33554432
      HotStandbySize: 0
      NumberOfBackups: 2
      RetentionDays: 7
      RetentionMonths: -1
      RetentionWeeks: -1
      RetentionYears: -1
      Server: primary
      ServerSize: 30560256
      Workers: 4
  TotalSpace:<PHONE_NUMBER>0
  UsedSpace: 30560256
  Workers: 0


Allow use of PUT in addition to POST

A request has arrived for a feature in which user is able to select if the request should be PUT or POST request. Currently the task only supports POST request.

Implemented in version 1.3.0.


Temporarily Close Location

Google just released the ability to temporarily close a location from the GMB dashboard. Will the API be updated to support this or there an existing way for doing this?
I looked through the API response of a temporarily closed location and the API returns it as permanently closed.

It does not appear that temporarily closed is yet an option in the API. See here for more detail on available options.
You may want to keep an eye on the change log for new information!

Thanks @jdpedrie for your quick response


Visualization of noisy point clouds

I'm visualizing the point clouds on Blender.
For some reasons the optimized point clouds appear noisy, is there a post-processing step that I am missing here?
it seems that 3DGS doesn't have this problem at all

nvm just had to mask based on opacity


docs(contrib): Move Design Principles earlier in the book

This is the framing by which all contributions should happen, so this should come first before getting into what is needed to know to implement a change and test it.
This is also prep for adding a new Implementations Practices section to pull out various tips spread through the Architecture section.  See #11841

Thanks!
@bors r+

:pushpin: Commit 67ca847232068b171761e8177134d5691a1dd9f2 has been approved by ehuss
It is now in the queue for this repository.

:hourglass: Testing commit 67ca847232068b171761e8177134d5691a1dd9f2 with merge 71ea049a4fb2cf4e5835467ed429cdf3c58d86dc...

:sunny: Test successful - checks-actions
Approved by: ehuss
Pushing 71ea049a4fb2cf4e5835467ed429cdf3c58d86dc to master...

:sunny: Test successful - checks-actions
Approved by: ehuss
Pushing 71ea049a4fb2cf4e5835467ed429cdf3c58d86dc to master...

:eyes: Test was successful, but fast-forwarding failed: 422 Changes must be made through a pull request.


Crackle

Source
https://www.xumo.tv/live-guide/crackle
Notes
Its great LIVE TV GUIDE. Can you please add it ?

Hello, Can you please confirm which EPG link you want this and the rest of channels added to?

I sent the links for those. Dont you see them? :)
On Thu, Nov 3, 2022 at 7:49 PM PopeyeTheSai10r @.***>
wrote:

Hello, Can you please confirm which EPG link you want this and the rest of
channels added to?
—
Reply to this email directly, view it on GitHub
https://github.com/iptv-org/epg/issues/1254#issuecomment-1302799804, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AD5X34XO3XE7JLRSY4ZWW7DWGRFQPANCNFSM6AAAAAARWCQY6I
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
In Memory of Spot (FOREVER)

I can see the source link but not the destination.
The repo stores EPG from different XUMO isn't one of them.
https://github.com/iptv-org/epg/tree/master/sites

I will find it and send it to you tomorrow. I am in pre wedding hotel for
wedding party tomorrow. Good night until tomorrow
On Thu, Nov 3, 2022 at 7:53 PM PopeyeTheSai10r @.***>
wrote:

I can see the source link but not the destination.
The repo stores EPG from different XUMO isn't one of them.
https://github.com/iptv-org/epg/tree/master/sites
—
Reply to this email directly, view it on GitHub
https://github.com/iptv-org/epg/issues/1254#issuecomment-1302801959, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AD5X34TEH6RZ6DFAAG7GAM3WGRF7PANCNFSM6AAAAAARWCQY6I
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
In Memory of Spot (FOREVER)

Added.

https://iptv-org.github.io/epg/guides/us/xumo.tv.epg.xml.gz


Nested updates

Can't find much in the docs on updated nested data. Would it be something like this?
let store = new Freezer({
  a: {
    b: {
      d: 1
    },
    c: {
      e: 2
    }
  }
});

let data = store.get();
let newData = data.set({
  a: {
    b: {
      d: 3
    }
  }
});

console.log(newData.a.b.d) // 3

I tried this and it returned an object without the updated keys.

nm, figured it out. Just need to call store.get() again.


add experiments to sidebar

🚀 Deployed on https://6418f2273486a512ce044c8f--cozy-fox-0defec.netlify.app


Revise kong-terraform naming & description to express its "AWS" nature

Based on discussion with @coopr, clarify that "Kong Terraform module" deployment is really an AWS deployment by way of Terraform.

@DennoVonDiesel does this sound good to you?

Apologies, I was busy wrapping up my tenure at ZG and migrating things to my personal email account. This looks good!


Extending AuthProviders for auth version 1.0?

Judging from the conversation in #64 it appears that the customization functionality could only be used to add new 2.0 providers. Indeed, looking at the getApiFor10aProvider method in OAuthManagerProviders, it's not possible to add custom 1.0 providers.
At least, not for Android. As best I can tell from reading over the OAuth1Client.m code, any generic oauth 1.0 provider can be configured for iOS.
It appears as though it should just involve adding another method which mimics the OAuth10aService twitterService(...) method (as well as testing, etc). Granted, I've only been reading through this code for the past 25 minutes or so.
Is it on the roadmap for this project to support custom oauth 1.0 providers for Android? I'd be willing to help implement it. Also, please let me know if I've gotten anything wrong in this issue, too.
Thanks!

@kengorab did you get any news? Are you using an alternative implementation?

Yeah, I ended up rolling my own, unfortunately. Sorry, I know that's not very helpful to you

I did a fork here that supports it partially https://github.com/tmrowco/react-native-oauth

@corradio any intentions of finishing your fork? Just by pure luck, I'm also implementing TripIt :D
I noticed // TODO: GET THE OAUTH CALLBACK :(
I could fork..

Hi @kg-currenxie,
The fork actually works for TripIt. However, we ended re-implementing everything in javascript and handling the Linking with RCTLinking.
We've open sourced part of the code here:
https://github.com/tmrowco/tmrowapp-contrib/blob/master/integrations/utils/oauth.js

Haha, so did I, also using oauth-1.0a, but got stuck at signing step 3. Thanks for your link, ill check it out :)


Add tests for add group command

Related to #7

Codecov Report

Merging #129 (4d4ec52) into master (a1da112) will increase coverage by 6.07%.
The diff coverage is 75.00%.

@@             Coverage Diff              @@
##             master     #129      +/-   ##
============================================
+ Coverage     64.19%   70.26%   +6.07%
- Complexity      540      575      +35
============================================
  Files            87       87
  Lines          1891     1897       +6
  Branches        248      249       +1
============================================
+ Hits           1214     1333     +119
+ Misses          613      494     -119
- Partials         64       70       +6

Impacted Files
Coverage Δ

...va/seedu/address/model/student/AssessmentList.java
89.74% <0.00%> (+2.24%)
:arrow_up:

...in/java/seedu/address/model/student/GroupList.java
84.61% <0.00%> (+2.11%)
:arrow_up:

...ava/seedu/address/commons/util/CollectionUtil.java
80.00% <50.00%> (-7.50%)
:arrow_down:

.../seedu/address/logic/commands/AddGroupCommand.java
97.14% <100.00%> (+97.14%)
:arrow_up:

.../seedu/address/logic/parser/AddressBookParser.java
81.57% <0.00%> (+2.63%)
:arrow_up:

src/main/java/seedu/address/model/student/ID.java
85.71% <0.00%> (+7.14%)
:arrow_up:

...rc/main/java/seedu/address/model/ModelManager.java
100.00% <0.00%> (+9.61%)
:arrow_up:

...rc/main/java/seedu/address/model/student/Name.java
90.00% <0.00%> (+10.00%)
:arrow_up:

...in/java/seedu/address/logic/parser/ParserUtil.java
98.30% <0.00%> (+20.33%)
:arrow_up:

...c/main/java/seedu/address/model/student/Group.java
86.95% <0.00%> (+34.78%)
:arrow_up:

... and 3 more

Continue to review full report at Codecov.

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


[tracking] Investigate TM 0.35 vs 0.34

TM 0.35.x was yanked.
Investigate the path of least resistance moving forward.

CC @hansl

TM 0.37 will be based on TM 0.34
The only upgrade path supported for TM 0.37 is from TM 0.34
TM 0.37.0-alpha.X is already released

Recommendation: We should look into migrating from 0.35 to 0.34.
TODO: Investigate the required effort to migrate from 0.35 to 0.34.
References

https://github.com/tendermint/tendermint/discussions/9155#discussioncomment-3321320
https://github.com/tendermint/tendermint/issues/9091
https://github.com/tendermint/tendermint/releases

Biggest question from me would be if we can run an hybrid 0.34 and 0.35 together in the same blockchain. If so, we might just need to write a many-abci bridge that speaks 0.34 protos and restart our own nodes one by one.

Update

I was able to run a hybrid network with 3 nodes on 0.35 and 1 node on 0.34
The 0.34 node was able to catch up with the 3 nodes on 0.35
The resiliency tests are passing on the hybrid network
Minor modifications are required

Some changes in many-abci to build against the tendermint* crates v0.25.0
Port the TM 0.35 configuration to TM 0.34
Fix p2p.max_packet_msg_payload_size to 1400 in TM 0.34 config file

Update 2

I was able to run a hybrid network with 2 nodes on 0.35 and 2 nodes on 0.34
The 0.34 node no.2 was able to catch up with the 2 nodes on 0.35 and the one node on 0.34
The resiliency tests are passing

Update 3

I was able to run a hybrid network with 1 node on 0.35 and 3 nodes on 0.34
The 0.34 node no.3 was able to catch up with the node on 0.35 and the two nodes on 0.34
The resiliency tests are passing

Update

Need to re-add block_by_hash to tendermint-rpc.
Instructions to create an hybrid testnet 34+35
many-abci need to be downgraded to 34.

tendermint-rpc PR: https://github.com/informalsystems/tendermint-rs/pull/1206
hybrid testnet: https://github.com/liftedinit/many-framework/pull/254

Update

tendermint-rpc PR has been merged

Next step: Need to build a testnet with 0.35 and upgrade some nodes to 0.34 and let it run a bit.


Browser extension not detecting app

Browser extension not detecting the app after a new user was created.
removing the extension then re-installing the app had no effect.
It did work when the plugin was first installed...
my log id: e29ca7b12ea65d90a4f4a41c

fixed via https://github.com/keybase/client/pull/15841