detect landmarks in node js

I am trying to detect facial landmarks in node js. My approach was the following:
const { createCanvas, loadImage } = require('canvas');
const MODEL_URL = `${__dirname}/public/models/`;
await faceapi.nets.ssdMobilenetv1.loadFromDisk(MODEL_URL);
await faceapi.nets.faceLandmark68Net.loadFromDisk(MODEL_URL);
await faceapi.nets.faceRecognitionNet.loadFromDisk(MODEL_URL);

//create canvas for the faceapi
const width = wmin;
const height = hmin;

var images = [outputImg1, outputImg2]; // 2 images from a local folder
var fullFaceDescriptions;
for (var i = 0; i < 2; i++) { //create a canvas for each image
    const canvas = createCanvas(width, height);
    const context = canvas.getContext('2d');
    loadImage(__dirname + '/' + images[i]).then(image => {
        context.drawImage(image, 0, 0); //draw image
    });
    fullFaceDescriptions = await faceapi.detectSingleFace(canvas).withFaceLandmarks();
}

But I get the following error and I can't understand how to call the faceapi for an image stored in a local folder: Error: toNetInput - expected media to be of type HTMLImageElement | HTMLVideoElement | HTMLCanvasElement | tf.Tensor3D, or to be an element id

since you're already using canvas package, just tell face-api to use it as well as there is no native canvas support in NodeJS:
const canvas = require('canvas');
const { Canvas, Image, ImageData } = canvas;
faceapi.env.monkeyPatch({ Image, Canvas, ImageData })

or alternatively, convert your canvas to tensor and pass that tensor to faceapi, i wrote several examples how to do that recently.


Create new resources when starting a pipeline

Add action to be able to start a pipeline and create new PipelineResources as part of the start flow which are then used for starting the pipeline.

Closing this issue as we support to create new PipelineResource from start pipeline.


ci: Implement Travis Deployments

This is not yet ready to merge
Reading through #243 it sounds like @Schmoopiie won't be actively maintaining this package for the time being with @AlcaDesign stepping up.
Noticed a comment about NPM credentials and figured I'd propose a solution for that in allowing travis to handle NPM Publishes.
What I don't at the moment quite understand is the process to publish to your cdn. At first I thought it was pulling from github tags, then I realized there were none, then I thought it was pulling from npm releases, but those don't include built files, so I have to imagine they're performed manually.
So the goals for this would then be to do the following...

Build webpack'd distributables.
Update readme with the new SRI.
push updated readme back to master (with a tag?)
publish to cdn
npm publish

There's a chance that this should be getting released with the webpack'd files. If it were available on bower those would need to be present, but with bower on the out I imagine people would find having tmi available through npm without having to pack it themselves useful. Especially if a move to es6 happens.
EDIT: Forgot to mention that it might be useful to update the project version and trigger a release via commit message. Something along the lines of release: 1.3.0 would update the package.json, docs, distributables, and do the publishing.

I'm next to clueless on CI and I'd love it if you'd help explain exactly what happens, how this applies to tmi.js, and what I need to do. I would also like to use features like git tags in the future especially if I'm successful in writing a better, alternative codebase.

I think you might have misunderstood me, wasn't referring to unit tests.
If/when this projects moves to ES6 standards it should still probably offer support for es2015 syntax.
Travis automatically runs a build whenever it detects a change in this repository. What that build does is highly configurable. At the moment travis is doing the default action of installing the project (npm install) and running tests (npm run test.
You can also supply travis with secure environment variables (such as an NPM token or github token) so that it can actively make changes to those.


Preapre CI diagram

Review CI diagram of kafka reader project if it can be used for the current one.

will not be realizedю Use the kafka-reader CI diagram:


Update actioncable version

Replaces the pessimistic version constraint on actioncable to be the same as for rails (>= 5.0)
to allow Rails 6 beta/rc.

Thanks for the contribution!
Released in 0.6.6 https://rubygems.org/gems/breakfast/versions/0.6.6


Model config wrapper around pm.find_contrained_prior

It might be convenient to support wrapper around find_contrained_prior from the dictionary model config somehow.
For instance,
model_config = {
    "beta_channel": {
        "dist": "Normal",
        "kwargs": {"mu": 0, "sigma": 1},
        # Just add this
        "bounds": {"lower": -3, "upper": 3},
    },
    ...
}
mmm = DelayedSaturatedMMM(..., model_config=model_config, ...)

# Which would be converted to via some internal logic
beta_channel_parameters = pm.find_contrained_prior(pm.Normal, lower=-3, upper=3, init_guess={"mu": 0, "sigma": 1})
beta_channel = pm.Normal("beta_channel", **beta_channel_parameters, dims="channel")

Though a user can do this outside of the model, I'd imagine it would have to be done many times so this would be convenience.
Would love to hear any thoughts on this

Yes! I think this would be a great feature!

Yes! I think this would be a great feature!

1. How should the dictionary look?
Do you think that other parameters of the find_contrained_prior function should be exposed as well?
Should the "kwargs" be for that functions then?
i.e.
beta_channel_config = {
    "dist": "Normal",
    "init_guess": {"mu": 0, "sigma": 1},
    # kwargs for the find_contrained_prior
    "kwargs": dict(lower=-3, upper=3, mass=0.90),
}

Think that there would need to be a new key / different set of keys from in order to distinguish the branch of logic to take. So this could look many different ways.
2. Should it be internal or external of class initialization?
Also might be a good util function instead so it is done once and outside of the model initialization.
i.e.
model_config = ... # Whatever dictionary format is agreed upon
model_config = pymc_marketing.utils.find_contrained_prior(model_config)

# model_config now has "kwargs" that will fit the format as before
# Models would only take the already done format of the model_config

I like the external approach better 👍


Improve search/prioritization of manpages (show man 5 interfaces from ifupdown)

Right now, if you do a search on the front page of manpages.debian.org for interfaces you'll get sent to the copy of man 5 interfaces from ifupdown2. I would imagine that most of the time the user really wants to see the manpage for ifupdown given that a) it is a package installed by default b) Debian's /etc/network/interfaces is unique to Debian and the manpage is the authoritative documentation for it.
I don't know the total web of URLs and redirects available on manpages.debian.org but I would not be surprised if there were some pages to searches linked around on the greater internet that are now getting redirected to the ifupdown2 version of the manpage.
Perhaps it is possible to prioritize the manpages selected for the "I'm Feeling Lucky" search on the front page to prioritize packages that are Priority: important or otherwise included in the default installation of Debian?

Preferring Priority: important packages when resolving conflicts like that sounds like a good idea.
Another idea that requires more work (additional data sources) but may produce better results in more cases is to look at popularity figures from popcon.
I don’t have time to implement such improvements myself currently, so I’ve tagged this issue with “enhancement” and “help wanted”.


Replace welcome page for Squash instances

Update the default welcome page from wagtail start, for ephemeral Squash instances only.

Thanks @tomdyson - looks good to me!


attempt to run FaderPort Control from within reaper- failed

Describe the bug
attempt to run FaderPort Control from within reaper
To Reproduce
Followed instructions:

In the menu click Actions and the Show Action List…
Start typing reasonus faderport and press enter
The plugin should appear now:

Doesn't run, instead I get:
Message in dialog box:
refFunctionAction.lua:135: attempt to call a nil value (field 'CF_GetCommandText')
Operating System

[] Windows 10

Versions
Versions can be found on the About page of the installer

Reasonus Installer: ...
Reasonus Resources: ...1.01
CSI (ReaSonus): .1.1

Expected behavior
expected to run FaderPort Control
Screenshots

Additional context
Thanks so much for this great.. whatever you call it, once it's running properly It'll be brilliant! Will be shouting you a few coffees for sure.

Have you installed sws?
It looks like you do not have sws installed, because this missing function is part of SWS.
If you haven't please check this: https://www.sws-extension.org/

Yes, that was the problem. It's running great now, thank you. Only thing is the SELECT buttons don't light up as expected, compared to say when running Studio One. They still work but I can't tell which is selected without checking Reaper.

Will check the select buttons.


gabor example doesn't work

Hi there,
Was trying out the Gabor filter with the example code given in the comments:

G = graphs.Logo()
k = lambda x: x/(1.-x)
g = filters.Gabor(G, k);
2017-07-26 11:24:27,800:INFO: Gabor : has to compute lmax
2017-07-26 11:24:27,812:INFO: Filter Gabor will calculate and set the eigenvalues to normalize the kernel
Traceback (most recent call last):
File "", line 1, in
TypeError: init() should return None, not 'list'

Thanks, great package!
-dave

Good catch! Thanks


Why the fork?

Just wondering what the differences are between this and django-hcaptcha. It would be useful to say briefly in the README why I might want to use this instead of that, because it's impossible to tell at the moment.
Thanks for working on it though, and I hope there are excellent reasons :)

I remember there were a few issues with the code base of the existing package, but there seemed to be a lack of activity. Also, in our company we had the need for localized texts. Then I went ahead, improved the code, added unit tests, localized the texts, etc.
I see there has been some activity in the existing package. Perhaps the packages can be merged at some point. Leaving this issue open as a reminder.


feat: merge gCNV output in case of multi-kit families (#292)

coverage: 85.915% (+0.05%) from 85.866%
when pulling 227f0fe5591a089d539fcbaf45ea29cbd3c532f5 on 292-allow-targeted-seq-cnv-calling-with-different-kits
into 4874074d8200ac33d29377ce1a812dfbb48adc31 on main.


Define needed automation for spec lifecycle

Description
Write specs for the lifecycle automation

Tools to create tags after spec edits
Tools to kick off generation PRs after tags
Tools to update spec lookup table metadata after tags
Tools to collect latest tag metadata for each spec

Closing


Add npm-shrinkwrap settings to the EditorConfig file

This PR adds npm-shrinkwrap.json to the EditorConfig file alongside the package*.json files.

Codecov Report

Merging #124 into develop will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           develop   #124   +/-   ##
======================================
  Coverage      100%   100%
======================================
  Files           21     21
  Lines         1432   1432
  Branches       194    194
======================================
  Hits          1432   1432

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 fcdf82f...a8fada3. Read the comment docs.


unnecessary mutation for JavaScript && operator

Summary
Hi, I wrote some code and its unit tests with JavaScript and Jest. I made mutation test on these unit tests.
Stryker lead me to write one extra test. I think this test is meaningless.
Striker lead me to write this extra test
test('throws error for "5" ', () => {
expect(() => isAge('5'))
.toThrowError(new Error('age must be a whole number'));
});
for this mutation
//mutation
-     if (!(typeof age == 'number' && Math.trunc(age) == age))
+     if (!(true && Math.trunc(age) == age))

But, I have already write this test to test isAge function with string type argument.
test('throws error for "5.5" ', () => {
expect(() => isAge('5.5'))
.toThrowError(new Error('age must be a whole number'));
});
This test should be enough. Because with this test I have already tested falsy_value && falsy_value situation.
But Stryker don not think like that. Stryker wants me to write test to check falsy_value && truthy_value situation.
If first operand of Shortcut And Operator falsy, it is not matter what is the value of second operand(is it truthy or falsy), because result is allays falsy.
//is-age.js
function isAge(age) {
  if (!(typeof age == 'number' && Math.trunc(age) == age))
    throw new Error('age must be a whole number');
  return true;
}
module.exports = isAge;

//is-age.test.js
const isAge = require('./is-age');
describe('the isAgeFunction', () => {
  test('returns true for 5', () => {
    expect(isAge(5)).toBe(true);
  });

  // Stryker wants this extra test
    /*test('throws error for "5" ', () => {
      expect(() => isAge('5'))
        .toThrowError(new Error('age must be a whole number'));
    });*/

  test('throws error for 5.5 ', () => {
    expect(() => isAge(5.5))
      .toThrowError(new Error('age must be a whole number'));
  });

  // I have already wrote this test to test string argument
  test('throws error for "5.5" ', () => {
    expect(() => isAge('5.5'))
      .toThrowError(new Error('age must be a whole number'));
  });
});

Stryker config

{
  "$schema"<EMAIL_ADDRESS>  "packageManager": "npm",
  "reporters": [
    "html",
    "clear-text",
    "progress"
  ],
  "testRunner": "jest",
  "coverageAnalysis": "off"
}

Test runner config
I used jest with default configuration
Stryker environment
<EMAIL_ADDRESS>/mnt/d/stryker-deneme-3-isage
└──<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>

+--<EMAIL_ADDRESS>

Test runner environment

# stryker run --mutate is-age.js

Your Environment

software
version(s)

node
15.1.0

npm
7.0.8

Operating System
Ubuntu 18.04.5 LTS

Add stryker.log

@Garethp 's response on slack:

The problem with
expect(() => isAge('5.5'))
      .toThrowError(new Error('age must be a whole number'));

is that you're not really testing that it throws an error for strings. It's something that throws an error even if you don't check for > the type of age at all, which is what Stryker is saying.
I personally would remove the throws error for "5.5" and only use the throws error for "5" because when you're passing in 5.5 > it's not clear what you're testing. Are you expecting it to fail because it's a string or are you expecting it to fail because it's not a > whole number? If you're testing the string argument, then the test should fail if you remove the check for the string argument.

@Garethp is totally right. Thank you for this clear explanation. I am new on testing so this example is not good enough. If I found good example for this situation I will write.


Make a Check List from Todo+

Create a card with check list made from TODO+ extensions todo file.
can use .md export?!?
https://marketplace.visualstudio.com/items?itemName=fabiospampinato.vscode-markdown-todo#overview
I will attempt to dig into how to do this when I can, but am really new to VS code and a total coding noob.
Edit: for now i edited to handle the same icons Todo+ uses for ez copy and paste. Still would be nice to be able to update the checklist back into Trello and some how make it all more automated/command driven.
TrelloUtils.js Line 603:
checkItem.state === "complete" ? ✔ ~~${checkItem.name}~~  \n : ☐ ${checkItem.name}  \n;
P.S. thank you for starting this extension, Trello is the best! so is VScode!

That sounds cool but also seems quite a bit of work. I won't have time to work on this, but feel free to experiment.


Error: Unable to open config file

I have next error:
Error: Unable to open config file
command terminated with exit code 255

Whole Log:
...
Do you wish to proceed with deployment?

[Y]es, [N]o? [Default: Y]:
Using Kubernetes CLI.
Using namespace "default".
Checking for pre-existing resources...
  GlusterFS pods ... found.
  deploy-heketi pod ... found.
  heketi pod ... not found.
  gluster-s3 pod ... not found.
Creating initial resources ... Error from server (AlreadyExists): error when creating "/home/kube/k8s_glusterfs/gluster-kubernetes/gluster-kubernetes/deploy/kube-templates/heketi-service-account.yaml": serviceaccounts "heketi-service-account" already exists
Error from server (AlreadyExists): clusterrolebindings.rbac.authorization.k8s.io "heketi-sa-view" already exists
clusterrolebinding.rbac.authorization.k8s.io "heketi-sa-view" not labeled
OK
Flag --show-all has been deprecated, will be removed in an upcoming release
Error: Unable to open config file
command terminated with exit code 255
Error loading the cluster topology.
Please check the failed node or device and rerun this script.

My command:
./gk-deploy -g
topology.json (in curent directory with file gk-deploy):
{
    "clusters": [
        {
            "nodes": [
                {
                    "node": {
                        "hostnames": {
                            "manage": [
                                "server2"
                            ],
                            "storage": [
                                "<IP_ADDRESS>"
                            ]
                        },
                        "zone": 1
                    },
                    "devices": [
                        "/dev/sdb"
                    ]
                }
            ]
        }
    ]
}

I think script don't see file topology.json but i don't know why...

The topology file is not the same as the config file. Try running ./gk-deploy -gv for verbose output and see what you get.

What do you mean you copy to /etc/heketi/topology.json? Also, are you running ./gk-deploy -g --abort between installation attempts? You should be doing that after most failures to make sure you start clean. My guess would be that your config secret did not generate properly.

What do you mean you copy to /etc/heketi/topology.json?

I copy file topology.json from current dictionary (where file gk-deploy) to /etc/heketi/topology.json

Also, are you running ./gk-deploy -g --abort between installation attempts?

No I didn't it.
Now I to try it:

call ./gk-deploy -g --abort

kube@server2:~/k8s_glusterfs/gluster-kubernetes/gluster-kubernetes/deploy$ ./gk-deploy -g --abort
Using Kubernetes CLI.
Using namespace "default".
Do you wish to abort the deployment?
[Y]es, [N]o? [Default: N]: Y
pod "deploy-heketi-7df6578-7dq4d" deleted
service "deploy-heketi" deleted
deployment.apps "deploy-heketi" deleted
serviceaccount "heketi-service-account" deleted
clusterrolebinding.rbac.authorization.k8s.io "heketi-sa-view" deleted
Error from server (NotFound): services "heketi-storage-endpoints" not found
No resources found
node "server2" labeled
daemonset.extensions "glusterfs" deleted

call ./gk-deploy -gv

kube@server2:~/k8s_glusterfs/gluster-kubernetes/gluster-kubernetes/deploy$ ./gk-deploy -gv
Welcome to the deployment tool for GlusterFS on Kubernetes and OpenShift.
...
[Y]es, [N]o? [Default: Y]:
Using Kubernetes CLI.

Checking status of namespace matching 'default':
default   Active    14d
Using namespace "default".
Checking for pre-existing resources...
  GlusterFS pods ...
Checking status of pods matching '--selector=glusterfs=pod':

Timed out waiting for pods matching '--selector=glusterfs=pod'.
not found.
  deploy-heketi pod ...
Checking status of pods matching '--selector=deploy-heketi=pod':

Timed out waiting for pods matching '--selector=deploy-heketi=pod'.
not found.
  heketi pod ...
Checking status of pods matching '--selector=heketi=pod':

Timed out waiting for pods matching '--selector=heketi=pod'.
not found.
  gluster-s3 pod ...
Checking status of pods matching '--selector=glusterfs=s3-pod':

Timed out waiting for pods matching '--selector=glusterfs=s3-pod'.
not found.
Creating initial resources ... /usr/bin/kubectl -n default create -f /home/kube/k8s_glusterfs/gluster-kubernetes/gluster-kubernetes/deploy/kube-templates/heketi-service-account.yaml 2>&1
serviceaccount "heketi-service-account" created
/usr/bin/kubectl -n default create clusterrolebinding heketi-sa-view --clusterrole=edit --serviceaccount=default:heketi-service-account 2>&1
clusterrolebinding.rbac.authorization.k8s.io "heketi-sa-view" created
/usr/bin/kubectl -n default label --overwrite clusterrolebinding heketi-sa-view glusterfs=heketi-sa-view heketi=sa-view
clusterrolebinding.rbac.authorization.k8s.io "heketi-sa-view" labeled
OK
Marking 'server2' as a GlusterFS node.
/usr/bin/kubectl -n default label nodes server2 storagenode=glusterfs --overwrite 2>&1
node "server2" labeled
Deploying GlusterFS pods.
sed -e 's/storagenode\: glusterfs/storagenode\: 'glusterfs'/g' /home/kube/k8s_glusterfs/gluster-kubernetes/gluster-kubernetes/deploy/kube-templates/glusterfs-daemonset.yaml | /usr/bin/kubectl -n default create -f - 2>&1
daemonset.extensions "glusterfs" created
Waiting for GlusterFS pods to start ...
Checking status of pods matching '--selector=glusterfs=pod':
glusterfs-9b4cm   1/1       Running   0         49s
OK
/usr/bin/kubectl -n default create secret generic heketi-config-secret --from-file=private_key=/dev/null --from-file=./heketi.json --from-file=topology.json=topology.json
Error from server (AlreadyExists): secrets "heketi-config-secret" already exists
/usr/bin/kubectl -n default label --overwrite secret heketi-config-secret glusterfs=heketi-config-secret heketi=config-secret
secret "heketi-config-secret" labeled
sed -e 's/\${HEKETI_EXECUTOR}/kubernetes/' -e 's#\${HEKETI_FSTAB}#/var/lib/heketi/fstab#' -e 's/\${HEKETI_ADMIN_KEY}//' -e 's/\${HEKETI_USER_KEY}//' /home/kube/k8s_glusterfs/gluster-kubernetes/gluster-kubernetes/deploy/kube-templates/deploy-heketi-deployment.yaml | /usr/bin/kubectl -n default create -f - 2>&1
service "deploy-heketi" created
deployment.extensions "deploy-heketi" created
Waiting for deploy-heketi pod to start ...
Checking status of pods matching '--selector=deploy-heketi=pod':
deploy-heketi-6c7d48f8b-lcdkx   1/1       Running   0         13s
OK
Determining heketi service URL ... Flag --show-all has been deprecated, will be removed in an upcoming release
OK
/usr/bin/kubectl -n default exec -i deploy-heketi-6c7d48f8b-lcdkx -- heketi-cli -s http://localhost:8080 --user admin --secret '' topology load --json=/etc/heketi/topology.json 2>&1
Error: Unable to open config file
command terminated with exit code 255
Error loading the cluster topology.
Please check the failed node or device and rerun this script.

You don't need to move the topology file. /etc/heketi/topology.json is the location inside the container where it is expected to be mounted. Just leave it in the same directory as gk-deploy. Abort and try again.

@jarrpa Today I reboot host and replay these steps:
./gk-deploy -g --abort
./gk-deploy -gv
and came to next step ) I see:
...
/usr/bin/kubectl -n default exec -i deploy-heketi-6c7d48f8b-9qwbc -- heketi-cli -s http://localhost:8080 --user admin --secret '' topology load --json=/etc/heketi/topology.json 2>&1
Creating cluster ... ID: 131c7a88c5cac3255ca3a822878321c6
Allowing file volumes on cluster.
Allowing block volumes on cluster.
Creating node server2 ... ID: f6b2ae697200f54a51bf26de4c4a152c
Adding device /dev/sdb ... OK
heketi topology loaded.
/usr/bin/kubectl -n default exec -i deploy-heketi-6c7d48f8b-9qwbc -- heketi-cli -s http://localhost:8080 --user admin --secret '' setup-openshift-heketi-storage --listfile=/tmp/heketi-storage.json  2>&1
Error: Failed to allocate new volume: No space
command terminated with exit code 255
Failed on setup openshift heketi storage
This may indicate that the storage must be wiped and the GlusterFS nodes must be reset.

I found that client version 6 solve this problem (Error: Failed to allocate new volume: No space)
https://github.com/heketi/heketi/issues/1046

@jarrpa, should there be a partition on the device (/dev/sdb) used?

Remove any data on the disk using, for example, wipefs -a. If you are not running with at least three storage nodes, also use the --single-node option with gk-deploy.

I remove partition /dev/sdb1 and add again
topology.json:

{
    "clusters": [
        {
            "nodes": [
                {
                    "node": {
                        "hostnames": {
                            "manage": [
                                "server2"
                            ],
                            "storage": [
                                "<IP_ADDRESS>"
                            ]
                        },
                        "zone": 1
                    },
                    "devices": [
                        "/dev/sdb1"
                    ]
                }
            ]
        }
    ]
}

apiVersion: storage.k8s.io/v1beta1
kind: StorageClass
metadata:
  name: glusterfs-storage
provisioner: kubernetes.io/glusterfs
parameters:
  resturl: "http://<IP_ADDRESS>:8080"

Deployment complete!

@jarrpa thank you! I will try to use.


Authy - Twillo : I got corrupted OTP for ALL of my records

Description
I have reset my Authy backup password.
Then, I cannot use the search token.
All records show 'corrupted'.
My password is correct, but I cannot see it.
Steps To Reproduce

I have used Authy(Search token) well for a long time.
One day, I changed the backup password on Authy.
I updated the backup password on Raycast Settings.
All records show 'corrupted'

Current Behaviour
Continues I updated the backup password on Raycast settings.
Expected Behaviour
Show secret tokens.

Seems like this issue is about a specific extension, not the API. Would you mind opening a new issue using the correct template so that the authors of the extension are properly aware of it?


Bitbucket supported import URL fixes on KIE Sandbox

There are deficiencies in scope of supported import URLs for Bitbucket snippets. Below are URL variations that are all valid and depending on path through which you navigate in Bitbucket UI, all are presented to user, thus should be covered.

bitbucket snippets url variations:

snippetName should be optional in URLs, following are valid URLs for full-snippet import

https://bitbucket.org/ststnjn/workspace/snippets/aqox46/
https://bitbucket.org/snippets/ststnjn/aqox46

snippet should show different url on creation? Currently passing clone_url to the onSuccess callback, maybe it should be the html one.
file hash #file-[filename] should be checked for both kinds of snippet urls below

https://bitbucket.org/ststnjn/workspace/snippets/aqox46/untitled-folder(.git)
https://bitbucket.org/snippets/ststnjn/aqox46/untitled-folder(.git)
https://bitbucket.org/ststnjn/workspace/snippets/aqox46/
https://bitbucket.org/snippets/ststnjn/aqox46

With that it would be good to cover by unit tests checking representative set of URL options.

KIE Sandbox still does not support importing using Bitbucket url in the format:
<EMAIL_ADDRESS>
Checked as of 12th of September 2024.


Fix : handle exception during create repository

only first one click is available
navigate to step1 if the repo already exists

Describe changes

[ ] when you create new repository, press the complete button several times
[ ] type a new name at the step1, create a repository via GitHub as the same name, and press the complete button.

See what happens at these cases.
Issue number or link
Types of changes
What is the type of code change?
Put an x in the boxes that apply

[ ] Bugfix (changes that resolve errors)
[ ] New feature (changes which adds functionality)
[ ] Breaking change (big changes that affect existing functionality)
[ ] Documentation Update

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[ ] I have read the "README.md"
[ ] My code follows the style guidelines of this project
[ ] My changes generate no new warnings
[ ] Lint and unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation
[ ] Any dependent changes have been merged and published in downstream modules

Further comments
Please let me know if there's anything else to explain

And so on Language/framework of language too...

Oh I see. Let me deal with problem here #192

Oh I see. Let me deal with problem here #192

OK then, I will merge this PR Thx


{Suggestion} Ability to add custom tools

I was wondering if you could add a config that would allow pack creators to add multitools for modded tools. This is currently the best tool combination mod ive found :)
I'm currently on version multitool-v4.0.1 for 1.19.2

Doing it using a config might be tough, since this is a data pack at it's core, but I could add a script that generates the multi tool pack/mod for specified tools
It's a thing I'll keep on my mind for now

Awesome. thanks for the reply

Hey, you can now generate the Multitool pack for any family of tools, I added a part in the README that should explain how to do that
This will currently only generate a data pack, so the zip file you put into your <woldname>/datapacks/ folder, a version for mod loaders might follow at some point
If you have any trouble with it, please let me know

Thank you for making a system for this. I keep getting this error whenever i run beet, im not sure if its a problem with my install of beet or something. thank you for the help :)

How does your folder look? It looks like it can't find the plugin /plugins/generate_multitool
For faster communication you can also add me on Discord if you prefer PuckiSilver#2557


PxrMeshenerHair issue

PRManTest.zip
Here is the scene I am not able to render with the PxrMeshenerHair and a gound, works fine with any other materials (well, I tried simple diffuse and PxrDisney and they both worked fine)

Great!  Thanks taking a look now

I seem like I'm getting the right result or the texture on the fur color at least.
Can you zip up the C:\Documents\prman_for_blender\PRManTest directory and attach that here?

Here goes. I had to delete the folder and re-render the issue, the file was over 250 megs (probably due to multiple tries) So I re-did and here goes the smaller file. You think it has to do with my computer? Everything is up to date (graphic drivers, windows updates, etc...)
PRManTest.zip
Just in case here is my computer spec:
Windows 10 home 64 bits
AMD FX 9590 Octa Core (8 CPUs) 4.7 GHz
24 Gigs Ram
AMD Radeon R9 380 Series (4 Gigs)
Water Cooling System

I'm glad to know that those are there (in the documents folder) because it ends up taking a lot of space after a while. I didn't know that was there and I use a SSD for my windows and the rest is on my other drives. This could easily bring my SSD full. I think I'll clear those as I go (when not having issues).

JeannotLandry,
Is this still a problem for you? If so can you provide a more detailed explanation of what is going wrong. As with Brian I am able to render your scene without difficulty so I am at a loss as to what your exact issue is.

I'll give it a try again today and let you know.

I'll install the latest addon first :P

It does now render the marschener hair with proper casting shadow on the ground. The hair also works with the textures. However, it starts rendering and doesn't finish rendering, but it says its done rendering (using IT to render at 24 samples, it crashes blender if I use Preview). Here is an image of the issue. I'll also post the files.

Here is the files, you may have to re-plug the texture as well as quickly recalculate the hair dynamics (very quick since its only a fur ball). I've included the .blend, the texture and the RIB files (under documents/prman_for_blender.
HairTest.zip

Latest version of the addon was just installed right before that test. I am using Renderman 20.8, I have Windows 10 home 64bits, AMD FX octa core 4.7 GHz, 24 Gigs DDR5 Ram, AMD Radeaon R9 380 4Gigs, 10 TB of HD and a SSD of 250 Gigs for my window. All this with a water cooling system.

I just want to point out that I don't get that Issue if I use other materials than marschener hair. It works fine with PxrDisney, Diffuse and even Glass. It really is just that material that gives me that issue.

Ok, I think I found the problem. Unfortunately it looks to be a issue with the MarshenerHair plugin or PxrDiffuse plugin as together they causes problems for PRMan when rendering. Currently this only occurs if you have a MarhenerHair material interacting with a PxrDiffuse material. One workaround you can do is to convert any diffuse material elements to PxrDisney materials. Not the ideal solution but it should work. I will report this issue to the relevant persons.

Well, I usually use the PxrDisney material for most of the stuff I do and tweak the settings. I rarely see a scenario where I would actually need a only diffuse material so that works for me. The Marschener Hair on the other hand renders pretty realistic hair/fur compared to PxrDisney. I'll give that a try to see if it really solves it and let you know.

Also I did some further tests and the problem does not seem to be directly tied to Diffuse. I was mistaken in saying that it only causes problems with Diffuse as I can get Disney to error out also. The main thing is that using a texture on a large number of hairs seems to cause segmentation faults. Sorry but I don't see an easy way to work around this at the moment without not using textures on the hair.

Well, I do use it for grass with hair and disney pixar and it works fine for that ;) I do have a scene I am currently rendering animation which has a lot of hair particles for grass and it rendered it no problem (River post on the forum).

Here is a thought, have you checked the possibility that the issue might be due to the Hair dynamics? That fur ball has dynamics to calculate the hair falling? Currently I get an issue with my render scene of grass (has no dynamics but it has grass animation using a texture) It renders the few first frames and at the fifth frame it stops rendering and gives me a RIB error.
I am not sure if it is related or not, but that isn't allowing me to render the entire animation. At first I was rendering frame 500 to 740 (so a 10 second animation) and it gave me that error. So I shifted my entire animation rendering to frame 700 to 940 and the same thing happened on the 5th frame again.

I have removed the texture to randomise the grass colour and it does the same thing on the fifth frame, it just stops rendering and gives me that error. The thing is there is nothing in my scene that doesn't have a name, there is no Cube.020 like in the error. I'll retry with no grass animation just to see if it'll work!

 The fluid is named fluid in the object tab, but in the mesh tab (little triangle) it is named Cube.020. There is a entire cached simulation of 1440 frames (baked) and that is my error. So I guess there is an issue rendering fluid properly and this really has nothing to do with the same issue!
I should open a different ticket for this, but first I'll try a simpler test scene!

Turn off the localized sampling option in the advanced scene options I think...

I'll give that a try...

that didn't work with the Marscherner hair issue. And I tried with the river scene and it seemed to work, I was able to render 21 frames that way, but at the 21 frame, it did the same error.

Ok, I did report this and it was logged as a bug. Hopefully this will be resolved. Until that point I will leave this issue open. Thank you for reporting the issue JeannotLandry.

I really think it is the dynamics the issue. I'm currently working on a furry creature (an otter names Otto) and I've quickly created some fur. When dynamics on it does the same thing. However, if I turn it off and comb the fur instead it works just fine. (https://renderman.pixar.com/forum/showthread.php?s=&postid=181881#post181881)

Btw, using Marschener Hair on this, and a PxrDisney for ground.

So can we close this if it's a PRMan issue?  I'll track it on the Pixar side.

That is up to you, it really is just when dynamics for hair/fur is on that it crash. (This is really useful for hair animation and fur animation). Your call ;)

Alright I'll close it here as its not really an issue with the blender addon I think.  I'll reply on forum when we fix.

Well, it works file if using any other material like the PxrDisney, dynamics work fine with that (doesn't look as good as Marschener hair, but it works). So I do think the issue is with the Marschener, not necessarily with the addon nor blender. So yhea, your call ;)

So the issue was with the marschner hair.  It doesn't play well with negative colors in the diffuse color.  Which there are in the texture

What do you mean by negative colors? Anything dark?

If I inspect the texture in "it" some of the pixels have negative values in
the colors.  I.e   -.01, .3, .4 or something in the rgb
On Thu, Jun 2, 2016 at 6:41 AM, JeannotLandry<EMAIL_ADDRESS>wrote:

What do you mean by negative colors? Anything dark?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/bsavery/PRMan-for-Blender/issues/232#issuecomment-223294696,
or mute the thread
https://github.com/notifications/unsubscribe/ABzffHBqOGYrwerIMmWkqIiX5VvOoiQKks5qHt15gaJpZM4IAKfH
.

--
<EMAIL_ADDRESS>508-274-8700

Ok, so anything with a value lower than 50% would be considered negative?

Is there a work around?

Sorry lower than 50%?  No I mean anything with a r G or b channel under 0.
We're fixing marschner hair to clamp colors to 0-1 but if you throw a
pxrclamp node between your texture and hair bxdf that does the same
On Thursday, June 2, 2016, JeannotLandry<EMAIL_ADDRESS>wrote:

Ok, so anything with a value lower than 50% would be considered negative?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/bsavery/PRMan-for-Blender/issues/232#issuecomment-223317505,
or mute the thread
https://github.com/notifications/unsubscribe/ABzffCwf6akkn3wweFIqfwoXe9hBspbGks5qHu7-gaJpZM4IAKfH
.

--
<EMAIL_ADDRESS>508-274-8700

Ok, I see what you mean! Cool! I did no knew jpg images or even png could have negative color values, I though only .exr or anything similar (hdri) had that. Learn something everyday!!!


KITTI 2012 reflective regions

Hi, congrats on the great work! In your paper appendix, there is a evaluation on "KITTI 2012 reflective regions". Where can I get it? I didn't find it on the KITTI website.

See in here: https://www.cvlibs.net/datasets/kitti/eval_stereo_flow.php?benchmark=stereo&table=refl&error=3&eval=all

@Windsrain , is "KITTI 2012 reflective regions" the same thing as KITTI 2012? I thought there is another subset for "reflective regions".

Actually, KITTI 2012 benchmark has this subset table.

thank you a lot!!


Data Science With Python : Efficiently Sampling Functions from Gaussian Process Posteriors

Description
Welcome to the 'DSWP' Team, good to see you here
With this issue, readers will get introduced to core information to Efficiently Sampling Functions from Gaussian Process Posteriors along with sample code completely in an effective way.
To get assigned to this issue, add your serial numbers mentioned in the spreadsheet of "Data Science with Python", the approach one would follow and the choice you prefer (Documentation, Audio, Video). You can go with all three or any number of options you're interested to work on.
If you had referred any resources, add them up in "DS Resources". Similarly, if you had used datasets, include them in "DS Datasets".
Domain: Machine Learning
Mentors Assigned: Dhruv Bajaj / Aishani Singh
Points to Note :
The issues will be assigned on a first come first serve basis, 1 Issue == 1 PR.
"Issue Title" and "PR Title should be the same. Include the issue number along with it.
Changes should be made inside the Datascience_With_Python/ directory & Datascience_With_Python branch.
Follow Contributing Guidelines & Code of Conduct before start Contributing.
This issue is only for 'GWOC' contributors of the 'DSWP' domain.
All the best. Enjoy your open source journey ahead. 😎
Domain
Datascience with Python
Type of Contribution
Audio, Video, Documentation
Code of Conduct

[ ] I follow Contributing Guidelines & Code of conduct of this project.

Hello,
I am T Selva Sanjana
Batch :  16
Serial no. : 580
Type : documentation
Please assign this issue to me

Issue assigned to @sanjana-coder for documentation


'snapshot' kwarg silently ignored due to typo in azure.storage.fileshare.ShareDirectoryClient's get_file_client

Package Name: azure-storage-file-share
Package Version: 12.5.0
Operating System: macos
Python Version: 3.9

Describe the bug
'snapshot' kwarg ignored due to typo in azure.storage.fileshare.ShareDirectoryClient's get_file_client
To Reproduce
Steps to reproduce the behavior:

provide 'snapshot' parameter when calling azure.storage.fileshare.ShareDirectoryClient's get_file_client

Expected behavior
Expect parameter to be honored or an exception to be raised
Additional context
should be snapshot=self.snapshot instead of napshot=self.snapshot:
https://github.com/Azure/azure-sdk-for-python/blob/8496bd82bacf01be8ecb4b4674514aeef6a3f774/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_directory_client.py#L234

Thanks for the feedback, we’ll investigate asap.

@xiafu-msft/ @annatisch  isn't this just standard pythonic behavior we have adopted?

Hi @ewheeler
Thanks for reporting this and point out the fix! We have created a pr and will merge it soon.

@tasherif-msft is this fixed?

It looks like this was addressed by #20559 and is part of our latest two beta releases. This fix will part of our GA release, 12.7.0, which is targeted for early March.


(BKR-210) allow empty options as a default instead of required parameter

Refer to this link for build results (access rights to CI server needed):
http://jenkins-beaker.delivery.puppetlabs.net//job/qe_beaker_btc-intn/756/
Test FAILed.

Refer to this link for build results (access rights to CI server needed):
http://jenkins-beaker.delivery.puppetlabs.net//job/qe_beaker_btc-intn/760/
Test FAILed.

Refer to this link for build results (access rights to CI server needed):
http://jenkins-beaker.delivery.puppetlabs.net//job/qe_beaker_btc-intn/761/
Test FAILed.

@cyberious this is failing spec tests.  Let us know if you're not seeing the same thing locally.

Spec failures:
Failures:

  1) ClassMixedWithDSLInstallUtils#install_puppet_module_via_pmt_on installs module via puppet module tool
     Failure/Error: subject.install_puppet_module_via_pmt_on( master, {:module_name => 'test'} )
       #<ClassMixedWithDSLInstallUtils:0x00000006538620> received :puppet with unexpected arguments
         expected: ("module install test ", {})
              got: ("module install - ", {})
       Diff:
       @@ -1,2 +1,2 @@
       -["module install test ", {}]
       +["module install - ", {}]

     # ./lib/beaker/dsl/install_utils/module_utils.rb:79:in `block in install_puppet_module_via_pmt_on'
     # ./lib/beaker/shared/host_manager.rb:95:in `run_block_on'
     # ./lib/beaker/dsl/patterns.rb:32:in `block_on'
     # ./lib/beaker/dsl/install_utils/module_utils.rb:65:in `install_puppet_module_via_pmt_on'
     # ./spec/beaker/dsl/install_utils/module_utils_spec.rb:86:in `block (3 levels) in <top (required)>'

  2) ClassMixedWithDSLInstallUtils#install_puppet_module_via_pmt_on takes the trace option and passes it down correctly
     Failure/Error: subject.install_puppet_module_via_pmt_on( master, {:module_name => 'test'} )
       #<ClassMixedWithDSLInstallUtils:0x00000006611f88> received :puppet with unexpected arguments
         expected: ("module install test ", {:trace=>nil})
              got: ("module install - ", {:trace=>nil})
       Diff:
       @@ -1,2 +1,2 @@
       -["module install test ", {:trace=>nil}]
       +["module install - ", {:trace=>nil}]

     # ./lib/beaker/dsl/install_utils/module_utils.rb:79:in `block in install_puppet_module_via_pmt_on'
     # ./lib/beaker/shared/host_manager.rb:95:in `run_block_on'
     # ./lib/beaker/dsl/patterns.rb:32:in `block_on'
     # ./lib/beaker/dsl/install_utils/module_utils.rb:65:in `install_puppet_module_via_pmt_on'
     # ./spec/beaker/dsl/install_utils/module_utils_spec.rb:97:in `block (3 levels) in <top (required)>'

Finished in 14.68 seconds (files took 1.86 seconds to load)
867 examples, 2 failures

Also, needs rebase.

Last review comment still current.

Will close out next week due to inactivity.

Closing, inactive.


Log Analytics Workspaces Daily Quota in GB cannot be set lower than 1

Bicep version
v0.26.54
Describe the bug
Using Microsoft.OperationalInsights workspaces https://learn.microsoft.com/en-us/azure/templates/microsoft.operationalinsights/workspaces?pivots=deployment-language-bicep
Specifying a number lower than 1 isn't supported in the workspaceCapping / dailyQuotaGb setting
Cannot access properties of type "0". An "object" type is required.
Suspect this is also true of ARM Templating - however the Azure CLI gets around this issue - but prefer that this is in the right place - i.e. in the BICEP itself.
To Reproduce
targetScope = 'resourceGroup'

resource law 'Microsoft.OperationalInsights/workspaces@2022-10-01' = {
  name: 'law-bicep-test'
  location: 'uksouth'
  properties: {
    retentionInDays: 31
    sku: {
      name: 'pergb2018'
    }
    workspaceCapping: {
      dailyQuotaGb: 0.1
    }
  }
}

Additional context
In order to resolve this we have to use a post-Bicep command
az monitor log-analytics workspace update --name law-bicep-test --resource-group myRG --quota 0.1
(The lowest value this command supports is actually 0.023)

Closing as a duplicate of #1386
Bicep does not yet support decimal literals. You can work around this limitation by using the json function:
targetScope = 'resourceGroup'

resource law 'Microsoft.OperationalInsights/workspaces@2022-10-01' = {
  name: 'law-bicep-test'
  location: 'uksouth'
  properties: {
    retentionInDays: 31
    sku: {
      name: 'pergb2018'
    }
    workspaceCapping: {
      dailyQuotaGb: json('0.1')      // <-- This will be converted to 0.1f by the ARM engine
    }
  }
}

Excellent post - thanks for the workaround @jeskew


added ansible log and two utility scripts

Two other colleagues are doing bare-metal Tavros builds at my guidance/help. This pull request has a log statement in the ansible config to write the ansible log to the project directory. And, the script run.sh gives the Tavros builder an easy way to run the build tools and synch the git directory. The script tavros.sh just runs the Tavros Ansible build.

we can just put both shell commands on the readme instead of actual files... thoughts?


Review & update Working Agreement

Type of PR

[x] Documentation changes
[ ] Code changes
[ ] Test changes
[ ] CI-CD changes
[x] GitHub Template changes

PR Checklist

[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.
[ ] My code follows the code style of this project.
[ ] I ran lint checks locally prior to submission.
[ ] Have you checked to ensure there aren't other open Pull Requests for the same update/change?

Purpose of PR
Review and update Working Agreement.
Does this introduce a breaking change

[ ] YES
[x] NO

Validation

[ ] Unit tests updated and ran successfully
[ ] Update documentation or issue referenced above

Issues Closed or Referenced

Closes #issue_number (this will automatically close the issue when the PR closes)
References #issue_number (this references the issue but does not close with PR)

Thanks @atxryan, some additional points that could be up for discussion:
Conflict resolution:
Defining a process for resolving conflicts within the team.
Inclusion and diversity:
Determining how the team can actively promote diversity and inclusion.
Customer Feedback:
Implementing a regular process for gathering and incorporating customer feedback into the development cycle.

I also asked ChatGPT to analyze the Working Agreement and offer suggestions for improvement and additions. Let's discuss these at the offsite.

@atxryan  I think it would be a good idea to comment on leveraging something like codespaces as a good engineering practice.  Developers can lose alot of time on configuration / setup tasks and codespace can optimize it.

We also may want to add something about committing code frequently to our work branches. We can emphasize it's more about saving the current state of your code vs a meter for mgmt to check for progress.


relative log magnitude

hello! How is the relative log magnitude calculated? Is the first layer subtracted from the feature map of each layer?

Hello @zhenyuan1234,
Thank you for your comment. The relative log magnitude refers to the difference between the log amplitude at a normalized frequency of 0.0π (which is the center or low-frequency) and the log amplitude at a specific frequency point, such as 1.0π (representing the boundary or high frequency). Therefore, we do not incorporate information from another layer when we calculate the relative amplitude. Please also refer to the fourier_analysis.ipynb (Colab notebook):
latent = fourier(latent)  # latent.shape is (b, c, h, w)
latent = shift(latent).mean(dim=(0, 1))
latent = latent.diag()[int(h/2):]  # only use the half-diagonal components
latent = latent - latent[0]  # visualize 'relative' log amplitudes
                             # (i.e., low-freq amp - high freq amp)


[bug]: Validator does not respond correctly

No existing issues.

[X] There is no existing issue for my problem.

Description
I have the following function so that the user cannot save an empty line for an "ObjectID".
const x = {}; for (const c of globalData.alexa) { if (x[c.device] === 'x' || c.device === '') return false; x[c.device] = 'x'; }; return true;
{
"type": "text",
"label": "name",
"attr": "name",
"width": "15%",
"default": "",
"tooltip": "Assign unique name",
"validator": "const x = {}; for (const c of globalData.alexa) { if (x[c.name] === 'x' || c.name === '') return false; x[c.name] = 'x'; }; return true;",
"validatorNoSaveOnError": true,
"newLine": true
},
{
"type": "objectId",
"label": "device",
"attr": "device",
"types": "device",
"tooltip": "Select Alexa device",
"validator": "const x = {}; for (const c of globalData.alexa) { if (x[c.device] === 'x' || c.device === '') return false; x[c.device] = 'x'; }; return true;",
"validatorNoSaveOnError": true,
"newLine": true
},
The funny thing is that the "Name" field has the same function and reacts immediately

If I now add a row to an empty table, the empty row is not recognized as an error and the save function is given. Only when I add a second row is the first empty objectID also underlined in red and the save buttons are grayed out.

Reproduction instruction
No response

Update on this:
Sometimes the ObjectID is first underlined in red, but then disappears again and the save buttons reappear. This behavior also occurs with other types, e.g. "text"

Sorry, apparently there is an error in the function (comes from the react demo adapter)
with this function everything works as it should:
"validator": "const x = {}; for (const c of globalData.alexa) { if (x[c.name] === 'x' || c.device === '') return false; x[c.name] = 'x'; }; if (data.name == '' || data.name == null || data.name == undefined) return false; return true;",
It's also all a bit confusing with "data" and "globalData"


Document how to change visibility per entity basis in blueprint

Is your feature request related to a problem? Please describe.

Currently it's not possible to set the visibility per entity in the python blueprint API.
The current workaround is to use the per view content keyword to remove the data from the view.
Describe the solution you'd like

Maybe add a visibility keyword in the View API
Describe alternatives you've considered

Additional context

Mimic this functionnality from the UI:

Associated discord thread https://discord.com/channels/1062300748202921994/1280068537666240584/1280068537666240584
Overrides of (individual) visibility is already possible, but slightly awkward and not documented:
import rerun as rr
import rerun.blueprint as rrb

rr.init(
    "rerun_example_visibility_via_blueprint",
    spawn=True,
    default_blueprint=rrb.Spatial3DView(
        overrides={"points": [rrb.components.Visible(False)]}
    ),
)
rr.log("points", rr.Points3D([[0, 0, 0], [1, 1, 1]]))

Should document this and make it a bit more approachable maybe

Ideally, we could also set the default visibility during logging. Currently I'm logging many entity paths, and have to manually click 20+ times to hide the stuff I might want to look at on demand, but usually needs to be hidden.


Conditional PNDM

Hi, I wanted to use PNDM for conditional image generation and would like to know how to integrate that. Thanks

Perhaps you can refer to my other code DiffOOD, which contains class-condition diffusion models.
I also recommend that you use stable diffusion, which supports more different types of conditions.


fix core/tests/test_population.py so it can be run from any path

Current coverage is 100.00%

Merging #223 into master will not affect coverage as of 9900cc7

@@            master    #223   diff @@
======================================
  Files           38      38
  Stmts         1486    1490     +4
  Branches         0       0
  Methods
======================================
+ Hit           1486    1490     +4
  Partial          0       0
  Missed           0       0

Review entire Coverage Diff as of 9900cc7

Powered by Codecov. Updated on successful CI builds.

Too much cruft got in, I will redo


Upgrade to Grails 4

Upgraded to Grails 4.1.1
Upgraded gradle wrapper to 6.9.2
Upgraded jedis 4.3.1
Upgraded gson to 2.9.1
Added code for pushing to maven central

Supersede #82


Verifier prefix bug

If you have two reqs with the same prefix, settling a course to the longer prefix will settle the course in both. For example, two reqs "Additional Physics" and "Additional Physics with Crosslists", settling a course in "Additional Physics with Crosslists" will settle the course in both reqs.

This still appears to be an issue.
Here's another example in the German department under the German Linguistics Track:
Settling under "Germanic Linguistics" also incorrectly settles it under "German" (now renamed "German literature and culture" to avoid the issue).

A workaround is to slightly rename one of the requirements, but this should definitely be fixed.
I suspect that this bug happens because the check for whether one requirement is a subrequirement of another is done by simple substring operations. A more solid way of checking the subrequirement relation should fix this issue.

I think the solution is stop representing the requirement paths as strings, and to instead do one of

Use lists and check if one list is the beginning of the other
Use the pathlib library as suggested in https://github.com/TigerPathApp/tigerpath/issues/169, but for the requirement paths as well, and use its parents function to test
Use some other library that allows testing of subsequences.


cuda memory issue when using torch.onnx.export

Hi Fernando,
First thanks very much for this excellent work!
I have a question about saving the model to onnx format.
I tried using
import torch.onnx
dummy_input = torch.randn(1, 1, 128, 128, 128, device='cuda')
torch.onnx.export(model, dummy_input, "highres3dnet.onnx", verbose=True)
to save the model to onnx file.
However, the google colab runs out of GPU memory. 16GB is not enough!
But your demo works smoothly in google colab.
Do you know why torch.onnx.export uses much more memory than the pytorch running inference?
Thanks very much.

I solved this problem by using 96 instead of 128.
After you generated the onnx model, you can modify the number 96  to 128 directly in onnx model.


(Placeholder) Document System Management API using Swagger

For Geneva, the project is moving towards individual working groups being responsible for providing documentation of their service's public APIs using Swagger.  This is a placeholder issue to capture this requirement.  Will amend when additional information is available on how this is to be coordinated/accomplished project-wide.

Yes, @michaelestrin
@cherrycl will create a PR for this on Monday.  The conversion work has been done.

Thank you @cloudxxx8.  I'll update all of the relevant issues.


Component html source files

I would like my components to be stored in template files, like Handlebars for example, so that they are more portable for use outside of the styleguide without having to copy/paste and modify html. I'm thinking, perhaps, that the easiest way to integrate that into the current fabricator system would be to put them somewhere else and compile them into html files that live in the components directory.
Have you guys put any thought into doing something like this? If not, I will start tinkering. :)

@kflorence Check out the enhancements to the way partials are done. #102 on the "better-partials" branch.
Let me know if this meets your needs or what you think could be improved.

@LukeAskew Hey there, I actually ended up rolling my own since I couldn't find anything that suited my requirements. You can see it here: https://github.com/solarmosaic/styleguide
It was done as a hackathon project at my current company, so it's still a bit messy but we will be cleaning it up soon.
I'll be on vacation for the next week, but I'll try to play around with the new branch when I get some free time.

Closing in favor of new templating engine in v1.0.0


move online docs from GitLab to GitHub

the online version of the Jekyll-based documentation for this project is hosted elsewhere because this repository is not yet public.

make this repository public
setup online docs with GitHub Pages
archive GitLab mirror

done http://gferreira.github.io/VariableSpacing/


Compatibility issue with MonsterMash mod

Hi,
Using MonsterMash (https://thunderstore.io/package/CherryDye/MonsterMash/) with ModelSwapperSkins breaks skin selection and prevents models from showing in the loadout.
I was also planning to post an issue on their page as well, but they don't have a linked GitHub repository.
p.s. love the mod, absolutely cursed,

Hi!
This is a known issue and will be fixed in the next update. When that will be, I don't know (though it is mostly ready at this point), but for now these mods are just incompatible unfortunately. The issue is mostly on ModelSwapperSkins' end though, so you do not need to report this to the MonsterMash dev(s)
Thank you for reaching out :)


Added functionality to trigger the signOut function when service retu…

Based on #55 I created a PR that simply destroys the local userdata, and therefore logging that user out, when a validateToken fails with a status 401 request.

Looks perfect. Thank you!


uv build does not respect extra-index-url configured in uv.toml

In our pyproject.toml file, our build-system dependencies list a package that is only available on a private index. Running uv build complains that this package cannot be found, even though the index is configured in ~/.config/uv/uv.toml. Both uv pip install and python -m build work fine. Also manually passing the relevant --extra-index-url flag to uv build resolves the issue.
Would it be possible for uv build to respect the index configured in the uv.toml file?

platform: Linux
uv version: 0.5.4

As far as I can tell it is working on my end. What does uv build --show-settings give you? Is the index not present?

(Sorry, didn't mean to close.)

Thanks for the fast response:
$ uv build --show-settings

GlobalSettings {
    quiet: false,
    verbose: 0,
    color: Auto,
    native_tls: false,
    concurrency: Concurrency {
        downloads: 50,
        builds: 12,
        installs: 12,
    },
    connectivity: Online,
    allow_insecure_host: [],
    show_settings: true,
    preview: Disabled,
    python_preference: Managed,
    python_downloads: Automatic,
    no_progress: false,
}
CacheSettings {
    no_cache: false,
    cache_dir: None,
}
BuildSettings {
    src: None,
    package: None,
    all_packages: false,
    out_dir: None,
    sdist: false,
    wheel: false,
    build_logs: true,
    build_constraints: [],
    hash_checking: Some(
        Verify,
    ),
    python: None,
    install_mirrors: PythonInstallMirrors {
        python_install_mirror: None,
        pypy_install_mirror: None,
    },
    refresh: None(
        Timestamp(
            SystemTime {
                tv_sec:<PHONE_NUMBER>,
                tv_nsec: 227167358,
            },
        ),
    ),
    settings: ResolverSettings {
        index_locations: IndexLocations {
            indexes: [],
            flat_index: [],
            no_index: false,
        },
        index_strategy: FirstIndex,
        keyring_provider: Disabled,
        resolution: Highest,
        prerelease: IfNecessaryOrExplicit,
        dependency_metadata: DependencyMetadata(
            {},
        ),
        config_setting: ConfigSettings(
            {},
        ),
        no_build_isolation: false,
        no_build_isolation_package: [],
        exclude_newer: None,
        link_mode: Hardlink,
        upgrade: None,
        build_options: BuildOptions {
            no_binary: None,
            no_build: None,
        },
        sources: Enabled,
    },
}

uv pip compile works as expected. Also the corresponding settings show the index:
$ uv pip compile - --show-settings

GlobalSettings {
    quiet: false,
    verbose: 0,
    color: Auto,
    native_tls: false,
    concurrency: Concurrency {
        downloads: 50,
        builds: 12,
        installs: 12,
    },
    connectivity: Online,
    allow_insecure_host: [],
    show_settings: true,
    preview: Disabled,
    python_preference: Managed,
    python_downloads: Automatic,
    no_progress: false,
}
CacheSettings {
    no_cache: false,
    cache_dir: None,
}
PipCompileSettings {
    src_file: [
        "-",
    ],
    constraints: [],
    overrides: [],
    build_constraints: [],
    constraints_from_workspace: [],
    overrides_from_workspace: [],
    environments: SupportedEnvironments(
        [],
    ),
    refresh: None(
        Timestamp(
            SystemTime {
                tv_sec:<PHONE_NUMBER>,
                tv_nsec: 940355939,
            },
        ),
    ),
    settings: PipSettings {
        index_locations: IndexLocations {
            indexes: [
                Index {
                    name: None,
                    url: Url(
                        VerbatimUrl {
                            url: Url {
                                scheme: "https",
                                cannot_be_a_base: false,
                                username: "XXX",
                                password: Some(
                                    "XXX",
                                ),
                                host: Some(
                                    Domain(
                                        "XXX",
                                    ),
                                ),
                                port: None,
                                path: "XXX",
                                query: None,
                                fragment: None,
                            },
                            given: Some(
                                "XXX",
                            ),
                        },
                    ),
                    explicit: false,
                    default: false,
                    origin: None,
                },
                Index {
                    name: None,
                    url: Url(
                        VerbatimUrl {
                            url: Url {
                                scheme: "https",
                                cannot_be_a_base: false,
                                username: "XXX",
                                password: Some(
                                    "XXX",
                                ),
                                host: Some(
                                    Domain(
                                        "XXX",
                                    ),
                                ),
                                port: None,
                                path: "XXX",
                                query: None,
                                fragment: None,
                            },
                            given: Some(
                                "XXX",
                            ),
                        },
                    ),
                    explicit: false,
                    default: false,
                    origin: None,
                },
                Index {
                    name: None,
                    url: Url(
                        VerbatimUrl {
                            url: Url {
                                scheme: "https",
                                cannot_be_a_base: false,
                                username: "XXX",
                                password: Some(
                                    "XXX",
                                ),
                                host: Some(
                                    Domain(
                                        "XXX",
                                    ),
                                ),
                                port: None,
                                path: "XXX",
                                query: None,
                                fragment: None,
                            },
                            given: Some(
                                "XXX",
                            ),
                        },
                    ),
                    explicit: false,
                    default: false,
                    origin: None,
                },
                Index {
                    name: None,
                    url: Url(
                        VerbatimUrl {
                            url: Url {
                                scheme: "https",
                                cannot_be_a_base: false,
                                username: "",
                                password: None,
                                host: Some(
                                    Domain(
                                        "pypi.python.org",
                                    ),
                                ),
                                port: None,
                                path: "/simple",
                                query: None,
                                fragment: None,
                            },
                            given: Some(
                                "https://pypi.python.org/simple",
                            ),
                        },
                    ),
                    explicit: false,
                    default: true,
                    origin: None,
                },
            ],
            flat_index: [],
            no_index: false,
        },
        python: None,
        install_mirrors: PythonInstallMirrors {
            python_install_mirror: None,
            pypy_install_mirror: None,
        },
        system: false,
        extras: None,
        break_system_packages: false,
        target: None,
        prefix: None,
        index_strategy: FirstIndex,
        keyring_provider: Disabled,
        no_build_isolation: false,
        no_build_isolation_package: [],
        build_options: BuildOptions {
            no_binary: None,
            no_build: None,
        },
        allow_empty_requirements: false,
        strict: false,
        dependency_mode: Transitive,
        resolution: Highest,
        prerelease: IfNecessaryOrExplicit,
        dependency_metadata: DependencyMetadata(
            {},
        ),
        output_file: None,
        no_strip_extras: false,
        no_strip_markers: false,
        no_annotate: false,
        no_header: false,
        custom_compile_command: None,
        generate_hashes: false,
        config_setting: ConfigSettings(
            {},
        ),
        python_version: None,
        python_platform: None,
        universal: false,
        exclude_newer: None,
        no_emit_package: [],
        emit_index_url: false,
        emit_find_links: false,
        emit_build_options: false,
        emit_marker_expression: false,
        emit_index_annotation: false,
        annotation_style: Split,
        link_mode: Hardlink,
        compile_bytecode: false,
        sources: Enabled,
        hash_checking: Some(
            Verify,
        ),
        upgrade: None,
        reinstall: Packages(
            [
                PackageName(
                    "abs-cc",
                ),
            ],
        ),
    },
}

Thanks. One more question: what about uv lock --show-settings?

Could you also share verbose logs for the failure?

Ah yeah, that almost certainly explains it. Are you using [pip] in uv.toml? (Can you paste the contents?)

Thanks, using pip-config instead of index was is indeed the issue. That config file is somewhat older from a time when pip was the only config setting possible - I completely missed that this needs to be adapted with the new index options. Thanks a lot for helping me figure this out.


Make SettingsSheetView.swift correspond do what you have installed

add meeeee :3 to CreditsSheetView.swift
Change Tools button to have a sf symbol instead of being text

real


Hitting ratelimits for getting/deleting spam messages

Izzy sometimes hits ratelimits for deleting messages.
Potential fix: Service which specifically queues message delete requests so that ratelimits aren't hit.

I made an attempt to either use channel.DeleteMessagesAsync() or avoid GetMessageAsync(), but concluded that these are too difficult or problematic to be worth it.
GetMessageAsync() is necessary because it will always be possible for a spammer to post N messages, have Izzy delete all N of them and post a modchat summary, then an additional few messages from the same spammer to finally reach Izzy, leading to a second round of deletions with a second modchat summary. That second round needs to know that half of what's in the RecentMessages cache has already been deleted, and actually fetching the messages is the only way to be sure they still exist. Since the only bulk fetch method I know of--channel.GetMessagesAsync()--assumes a contiguous range of messages, we can't use that here either.
DeleteMessagesAsync() has a murkier problem: It turns out to be the first use case we've had for a method interacting with Discord that takes another Discord object we need to mock as an argument, so even if I wrote an Izzy mock for this it would have to involve asking "is this IIzzyMessage a real Discord IMessage or the TestMessage?" at runtime, which is brittle enough I don't believe this is worth it. Not to mention it would be a pain to restructure the deletion loop to group messages by channel.
With those specific changes rejected, it looks like #523 was the last step of this issue after all. Unless we get a real incident of a spammer causing Izzy to go haywire instead of just delete the spam and ping us about it a few times, I don't think there's anything more to be done here.


2020.12.3

I saw You have updated the Offsets.json, but my client can't detect the room code with version 2020.12.3
As You can see on the attached screenshot the offsets are loaded, but the lobby is not recognized.
Thanks

We updated offsets again just after you made this post. Please relaunch capture and try again.

Working now for me! I think this can close


Generate the ssfn file

So I recently purchased Csgo bot, and it requires a ssfn file along with the shared secret, identity secret ect. But my question is, how do I generate a ssfn file?

Ask the person you purchased the bot from.


Create page for numerical precision

See https://github.com/AssessingSolar/unofficial-psm3-userguide/blob/precision/source/pages/numerical-precision.ipynb

Perhaps a bit premature, but why isn't the notebook shown in the table of content?
Also, might be visually nice to have the same order of the attributes lists :)

I wish the graph was sorted nicer, but I don't think it's worth sorting the columns again manually, and we might get it for free anyway once https://github.com/pvlib/pvlib-python/issues/1647 is resolved.
I suppose this is ready for review as I don't currently have plans to change the notebook further.


Not a number

Can you please elaborate on how one would write a reducer that handles immutable state with objects and not just numbers?

I added a new sample.
Please check it.

Thank you.


feat: update rollup dependencies

@LarsDenBakker Any blocker on this? It would be really nice to get in.

Im working on some other improvements which will include this. Do you need it for something specifically?

@LarsDenBakker Nothing really. Just about to start a new project, but I have node 14, so I shouldn't have the Mac issue with older versions. I'm guessing is the changes talked about in #1681 happen, this will all change anyways!


Set chart height appropriate to container/browser window, particularly in full-screen mode

The height of the D3 chart appears to be fixed.  This should be adjusted to suit the browser window/container size, particularly when in full-screen mode.

Fixed by commit 4a1c180f0ac4003a412fe3b323b9c45ae055f326.


how can I record in a page which start with a link?

maybe not a issue:
In web,I make video record in context. I open page with that context,video can be record.
and I click a link start a new page,viedo record stoped.
how can I record in a page which start with a link?

I don't understand what you doing and what the problem actually is. Could you provide an example which I can run and demonstrates the problem.

Closing due inactivity. Please report back if you are still having the problem.


Upgrade ec4j to latest version

ec4j 0.3.0 removes the length limit of key, value and section name in editor config files.
Fixes #739.

merging as this is the only diff in ec4j between version 0.2.2 and 0.3.0, so should not bring any problems. Thanks for following ec4j and contributing!

merging as this is the only diff in ec4j between version 0.2.2 and 0.3.0, so should not bring any problems. Thanks for following ec4j and contributing!

@romtsn Are there any estimates on when this fix might get released? Is there anything we could help with to push the relrase forward? .)


Droppables will randomly interact when dragging over empty space on the bottom of scrolled container

When droppables are in scrolled container, dragging over bottom area (place for padding/margin) when this container is scrolled will cause those droppables to interact randomly and React will start throwing Maximum update depth exceeded error resulting in freeze at some point.
If you remove elements or increase the window size to remove the scroll this won't happen.
https://user-images.githubusercontent.com/6364234/116394319-0d932180-a823-11eb-9f0f-433f62674180.mov
Codesandbox: https://codesandbox.io/s/restless-hooks-zjyht - just scroll down and drag element from left palette under the table.

There's a bit too much going on in this sandbox for me to fully diagnose if this is a bug in the library or just user-error;
However, it looks like you have double scrollbars (one for the document body and one for the table wrapper), which is what is causing the issues you're seeing.
Commenting this out appears to solve the issue:


Fix VolumeMounts error

Description
This PR adds the filtering of VolumeMounts to #158
The VolumeMounts with a name not contained in the filtered Volumes list are discarded

/rebase

/rebase

/rebase


Search field on CIS Scan details page is missing a clear icon

What kind of request is this (question/bug/enhancement/feature request): bug
Steps to reproduce (least amount of steps as possible):

Deploy a cluster
Navigate to Tools --> CIS Scans
Run Scans.
CLick on the scans to go to the scan details page

Expected Result:
Search field should have the "clear" --> "X" icon to clear the text in the search box.
As in the case of the search field on the CIS Scans page
Actual Result:
Search field on CIS Scan details page is missing a clear icon
CIS Scans page:

Scan Details page:

Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI): master-head latest commit id: d9ca7c7b6
Installation option (single install/HA): single

Cluster information

Cluster type (Hosted/Infrastructure Provider/Custom/Imported): custom/rke DO
Kubernetes version (use kubectl version):

1.15

How do you see the CIS Scans option

@binarymist The CIS scan is available on the UI only in rancher:v2.4.0-alpha1


[google-maps] support lower zoom levels

Fixes issues from https://github.com/uber/deck.gl/pull/3643
For #4144

Change List

Supports zoom 0-3

Coverage decreased (-0.03%) to 80.848% when pulling 6e0a6d837035046805aab437e2f9bba16804b457 on x/google-maps-repeat into dc0819a00255d25c5003abc20b30abeb0e868c14 on master.


Fix running jest

npm run test now runs all tests (in api and app) but some tests are failing atm. Needs to be resolved in a separate PR.

npm run build fails with this message:
[vite]: Rollup failed to resolve import "ably/promises" from<EMAIL_ADDRESS>This is most likely unintended because it can break your application at runtime.
If you do want to externalize this module explicitly add it to
`build.rollupOptions.external`

@thisisjofrank any tips?


Change current Branch Naming to Main

Change current Branch Naming to Main

created branch - main https://github.com/IBM/FHIR/tree/main
Once. review is done, we can update. the PRs to point to this branch, and then we can change the default once it passes.

Lets make the switch on wednesday, 2/17


[11] Add support for adding Tornado RequestHandlers

This enables adding regular Tornado RequestHandler implementations to a Calm application.
@mivade please review and see if this is what you are looking for.
resolves #11

Looks good to me!


openpilot benchmark: add cast from numpy to benchmark

Initializing the Tensors to input into the models takes a considerable amount of time (5ms on latest master?). This makes it much slower than the thneed version of the openpilot runner. The input casts need to be added to the benchmark for the comparison to be fair and this not to regress.

@nimlgen is there a better way to do this?


xs:choice element can't be null

When the schema is generated from a XSD using XSDToSchema, fields resulting from xs:element included in xs:choice have the nullable property set to false, unless attribute MinOccurs == 0.
IMO, this is a wrong assumption because the XML file will always have one element OR the other, and therefore one will be null.
Wouldn't it be more correct to set nullable as always true in those resulting fields ?

I think you're right - I'll take a look and can fix if so. I did 'fix' nullability to look at minOccurs recently, but may have added it in too many places.


Build fails with beta

   Compiling hyper v0.3.14 (file:///home/michael/Dokumente/git/hyper)
src/http.rs:381:23: 381:48 error: wrong number of lifetime parameters: expected 1, found 2 [E0107]
src/http.rs:381 impl<'a> TryParse for httparse::Request<'a, 'a> {
                                      ^~~~~~~~~~~~~~~~~~~~~~~~~
src/http.rs:402:23: 402:49 error: wrong number of lifetime parameters: expected 1, found 2 [E0107]
src/http.rs:402 impl<'a> TryParse for httparse::Response<'a, 'a> {
                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~
error: aborting due to 2 previous errors
Could not compile `hyper`.

To learn more, run the command again with --verbose.

Cargo update?
On Sat, Apr 25, 2015, 8:19 AM Pyfisch<EMAIL_ADDRESS>wrote:

Compiling hyper v0.3.14 (file:///home/michael/Dokumente/git/hyper)
src/http.rs:381:23: 381:48 error: wrong number of lifetime parameters: expected 1, found 2 [E0107]
src/http.rs:381 impl<'a> TryParse for httparse::Request<'a, 'a> {
^~~~~~~~~~~~~~~~~~~~~~~~~
src/http.rs:402:23: 402:49 error: wrong number of lifetime parameters: expected 1, found 2 [E0107]
src/http.rs:402 impl<'a> TryParse for httparse::Response<'a, 'a> {
^~~~~~~~~~~~~~~~~~~~~~~~~~
error: aborting due to 2 previous errors
Could not compile hyper.
To learn more, run the command again with --verbose.
—
Reply to this email directly or view it on GitHub
https://github.com/hyperium/hyper/issues/478.

Forgot to update cargo. But how do old depencdencies change lifetime parameters inside hyper?
:disappointed_relieved:

@pyfisch httparse::Request and httparse::Response grew a second lifetime, which broke the impl.


chore: reorganize the Manage Kafka Permissions components and add som…

…e tests

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


Docker file improvement

With current suggestion to build image it fails:
Sending build context to Docker daemon   12.8kB
Error response from daemon: dockerfile parse error line 56: Unknown flag: link

It is due to:
COPY --link ...

Given use of link, Dockerfile should have included at the top:
# syntax=docker/dockerfile:1.4

And command then it needs to be run with BUILDKIT enabled, i.e.
**DOCKER_BUILDKIT=1** docker **buildx** build --build-arg LANG=en --build-arg WHISPER_MODEL=large-v3 -t whisperx:large-v3-en .

Close with #29


Version 1.3.1 has no tag or release on GitHub

I noticed that there is a version 1.3.1 of ruby-saml on RubyGems.org, yet it does not have a tag or a release here on GitHub.
Can someone explain the difference between 1.3.0 and 1.3.1?

I added accidentally a test on the ruby-saml gem 1.3.0, so I released a new gem 1.3.1 without this test.
See https://github.com/onelogin/ruby-saml/issues/338

Any chance you could tag it here?

Done: https://github.com/onelogin/ruby-saml/releases/tag/1.3.1


Need a better error when someone has already published a page & you hit publish

If two users are reviewing content at the same time, and both hit publish, the second user to publish receives an uninformative error message with no navigation.

#283 might catch this.

Another example:
2015-07-02 22:11:36,692 - chime.view_functions - ERROR - 'git fetch origin 74b5d90' returned exit status 128: fatal: Couldn't find remote ref 74b5d90
fatal: The remote end hung up unexpectedly
Traceback (most recent call last):
 File "/home/ubuntu/chime/chime/view_functions.py", line 432, in decorated_function
   return route_function(*args, **kwargs)
 File "/home/ubuntu/chime/chime/view_functions.py", line 464, in decorated_function
   return route_function(*args, **kwargs)
 File "/home/ubuntu/chime/chime/view_functions.py", line 520, in decorated_function
   response = route_function(*args, **kwargs)
 File "/home/ubuntu/chime/chime/views.py", line 809, in branch_save
   c2 = repo_functions.save_working_file(repo, path, message, commit.hexsha, master_name)
 File "/home/ubuntu/chime/chime/repo_functions.py", line 503, in save_working_file
   sync_with_default_and_upstream_branches(clone, sync_branch_name)
 File "/home/ubuntu/chime/chime/repo_functions.py", line 468, in sync_with_default_and_upstream_branches
   clone.git.fetch('origin', sync_branch_name)
 File "/usr/local/lib/python2.7/dist-packages/git/cmd.py", line 227, in <lambda>
   return lambda *args, **kwargs: self._call_process(name, *args, **kwargs)
 File "/usr/local/lib/python2.7/dist-packages/git/cmd.py", line 456, in _call_process
   return self.execute(call, **_kwargs)
 File "/usr/local/lib/python2.7/dist-packages/git/cmd.py", line 377, in execute
   raise GitCommandError(command, status, stderr_value)
GitCommandError: 'git fetch origin 74b5d90' returned exit status 128: fatal: Couldn't find remote ref 74b5d90
fatal: The remote end hung up unexpectedly

Request info:
<Request 'http://springfield-admin.chimecms.org/tree/74b5d90/save/categories/parks-recreation/parks/springfield-park/index.markdown' [POST]>

See also #316

Duplicate of #349


add unit test for jetty http binder and tomcat http binder

What is the purpose of the change
add unit test for jetty http binder and tomcat http binder

Codecov Report

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

@@            Coverage Diff             @@
##           master    #1319      +/-   ##
==========================================
+ Coverage   32.31%   32.35%   +0.03%
==========================================
  Files         691      691
  Lines       34535    34535
  Branches     6811     6811
==========================================
+ Hits        11161    11174      +13
+ Misses      21449    21429      -20
- Partials     1925     1932       +7

Impacted Files
Coverage Δ

...ba/dubbo/remoting/transport/netty/NettyClient.java
72.58% <0%> (-11.3%)
:arrow_down:

...mon/serialize/support/dubbo/GenericDataOutput.java
64.21% <0%> (-11.23%)
:arrow_down:

...mmon/serialize/support/dubbo/GenericDataInput.java
57.52% <0%> (-6.18%)
:arrow_down:

...libaba/com/caucho/hessian/util/IdentityIntMap.java
25% <0%> (-5.96%)
:arrow_down:

...om/alibaba/dubbo/rpc/filter/ActiveLimitFilter.java
83.33% <0%> (-5.56%)
:arrow_down:

...a/dubbo/remoting/transport/netty/NettyChannel.java
61.25% <0%> (-5%)
:arrow_down:

.../com/alibaba/dubbo/monitor/dubbo/DubboMonitor.java
73.14% <0%> (-2.78%)
:arrow_down:

.../dubbo/rpc/protocol/dubbo/filter/FutureFilter.java
54.54% <0%> (-2.03%)
:arrow_down:

...ubbo/remoting/http/support/AbstractHttpServer.java
33.33% <0%> (+33.33%)
:arrow_up:

...dubbo/remoting/http/servlet/DispatcherServlet.java
64.28% <0%> (+64.28%)
:arrow_up:

... and 4 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 98c548a...d52a1b6. Read the comment docs.


(BOLT-163) Configurable connection timeout

Supercedes #81
Needs a few more tests:

[x] bad hostname
[ ] port that is open but cannot be connected to given specific protocol (i.e. try WinRM connection to SSH port)
[x] port that is not open

Needs some extra info on why WinRM is now configured as such.

CLA signed by all contributors.

Updated the tests to not shell out to nc, and renamed the option to --connect-timeout.
I'm still having some trouble with WinRM in the case where the port is entirely unresponsive. The timeout doesn't seem to be getting hit there...

Okay this seems to be working now. The default connect timeout wasn't being honored but is now, and I changed the way we apply the timeout to WinRM so that it actually works.

CLA signed by all contributors.

Tests pass! I think this is ready to go.

Updated to remove the short flag -t and to allow connect-timeout to be set in the transport-specific sections of the config.

Okay, tests are finally green. Hopefully they stay that way. I added some more helpful messaging around connection timeouts.


[BUG][Template] Dataview rendered list item is not clickable

Discussed in https://github.com/ObsidianPublisher/obsidian-github-publisher/discussions/102

Originally posted by andrey-jef February 16, 2023
Hi
I'm using your template mkdocs and deploy on Cloudflare Pages.
I have a note contained a dataview query which is rendered as an html table, as you stated in the plugin docs page.
However, the list items (files) are not clickable. I can't click the filename to go to each published daily notes. Is it expected behavior?
Here is the screencap

Fixed in last update of template (see #114)


Device not registering

My device (Ipad IOS 7.0) does not register or prompt to register push notifications. I followed the advice from the iOS Micro Walkthrough

Tested cert and key (Verify return code: 0 (ok))
set bundle identifier and provisioning profile in Xcode
Deploy to name.meteor.com:

meteor run ios-device --mobile-server name.meteor.com

Device is connected to server as indicated by Meteor.status().status

Console says:
Push: APN configured
GCM configured

When sending via meteor shell:
Push: Send message "Congratulations" via query {}
Push: Sent message "Congratulations" to 0 ios apps 0 android apps
Push, GUIDE: The "Push.appCollection" is empty - No clients have registred on the server yet...

Xcode output says:
PushPlugin.register: Push notification type is set to none

Any idea what could be the reason for not registering?

+1

Additonal info: it is working for Android devices.

What happens if you add Push.addListener on the client?
Push.addListener('token', function(token) {
	alert(JSON.stringify(token));
});

@mvaisanen I have added this. Nothing happens...

Bump!

Bump!

bumped to 2.6.1

Closing this - similar to #33

I also had this kind of problem. In my case I had placed config.push.json file in /server folder. So to fix that I have moved config.push.json to application root folder.

I also had this kind of problem. In my case I had placed config.push.json file in /server folder. So to fix that I have moved config.push.json to application root folder.

Hi I had the same problem in which message:" Push, GUIDE: The "Push.appCollection" is empty - No clients have registred on the server yet..." shows .
I finally find that I forgot to configure the Bundle identifier in Xcode: when was in General tab in the project profile.
Hope it helps!

I'm still having this issue, none of the above solutions work

Same here. Read every thread out there related to this issue (as it pertains to ios push), read all of the docs created by the project creators, ensured all of my xcode info matches up with what I have in the app and registered with Apple. The issue still remains. I'm going to explore some of the options discussed, here: http://stackoverflow.com/questions/22598009/how-can-one-send-ios-push-notifications-from-a-meteor-app

@ethanteague I managed to solve this by adding the following to my package.js:
Cordova.depends({
  'cordova-plugin-device': '1.1.1'
});

Thanks, @chrise86 - tried but it didn't work. Afraid this package is a no-go (for me).

Same issue here
[<IP_ADDRESS>] Push: Send message "test" via query {}
[<IP_ADDRESS>] Push: Sent message "test" to 0 ios apps 0 android apps
[<IP_ADDRESS>] Push, GUIDE: The "Push.appCollection" is empty - No clients have registred on the server yet...

same here. Tried everything for the last 6/7 hours. Getting the same message . I guess I gotta go for pusher or pushwush or something of that nature

I'm stuck on this same issue. I've read all the threads about this but I never get prompted on my ios app to allow notifications. Below is my log:
Push: Send message "checkout reminder!" via query { userId: null } I20180205-15:55:41.856(5.5)? Push: Sent message "checkout reminder!" to 0 ios apps 0 android apps I20180205-15:55:41.857(5.5)? Push, GUIDE: The "Push.appCollection" is empty - No clients have registred on the server yet...
No idea where I'm going wrong.


⚠ TiendaEnLinea has degraded performance

In afaf2ff, TiendaEnLinea (https://www.fahorro.com/) experienced degraded performance:

HTTP code: 200
Response time: 5222 ms

Resolved: TiendaEnLinea performance has improved in f703b24.


Network error handling missing

As noted in the code: once a CP/CS was connected to, errors are not fully handled:

no reconnection or stopping
no timeout notification (could be asynchronously added based on #40)

Note: after websocket times out, the entire connection is corrupted, see https://github.com/gorilla/websocket/issues/474

@lorenzodonini it's kinda oldish- I'm not sure this still is an issue. Please feel free to close.


rb_tree misbehaves with multiple nodes that compare equal

Describe the bug
I am using the rbtree to manage tasks in a scheduler where tasks are sorted by deadline, and it's possible that two tasks have the same deadline.
The rbtree rb_remove() implementation appears to not be robust to items being inserted that compare the same.
Code:
struct rbnode *node;

node = rb_get_min(&queue);

if (node == NULL)
	break;

rb_remove(&queue, node);
if (rb_contains(&queue, node))
	k_panic();

If the RB tree has several nodes inserted where lessthan_fn(a, b) == lessthan_fn(b, a) == false, i.e. a == b, then the rb_remove does not work and the k_panic() above can hit. I reliably hit the issue with four nodes inserted which all compare equal.
I'm testing this on ARM on nRF5340, but I believe the bug should be present on any system.
My compare function, with workaround that resolves the issue:
typedef struct msg_queue_msg_t
{
	struct rbnode rbnode;
	uint32_t deadline;
} msg_queue_msg_t;

bool
lessthan_fn(struct rbnode *a, struct rbnode *b)
{
	struct msg_queue_msg_t *a_c = CONTAINER_OF(a, msg_queue_msg_t, rbnode);
	struct msg_queue_msg_t *b_c = CONTAINER_OF(b, msg_queue_msg_t, rbnode);

	/* Workaround for rbtree not robust to nodes comparing equal */
	if (a_c->deadline == b_c->deadline)
		return a < b;

	return a_c->deadline < b_c->deadline;
}

I did some sleuthing and it appears the issue is in the find_and_stack() function, which uses a binary search to find the node to remove.
Expected behavior
Some options (not mutually exclusive)

find_and_stack() should detect that two nodes are equal and do a more thorough search of the tree than assuming that lessthan_fn == false must mean that the child is in the right tree. Has some impact on performance in degenerate cases where every node in the tree compares equal.
the rbtree implementation could detect that two nodes compare equal and tiebreak itself, comparing the pointer values as I have in my compare function above. It would need to do this on every call to lessthan_fn.
rbtree detects that two nodes compare equal and asserts
documentation is updated to explain that the lessthan_fn must resolve tie breaks

Impact
Low, have workaround/solution
Environment (please complete the following information):

OS: Linux
West, simple blinky example from NRF Connect SDK
SHA: zephyr 1687aaaac2

In the red/black tree documentation (https://docs.zephyrproject.org/latest/kernel/data_structures/rbtree.html#balanced-red-black-tree), it states in reference to the behaviour of the lessthan_fn ...

Note that “equal” is not allowed, nodes within a tree must have a single fixed order for the algorithm to work correctly.

Based upon the existing documentation, and a brief review of a couple of its uses in Zephyr, I am leaning towards taking no further action and closing this issue.

Okay, yes, I didn't see that.
It'd be nice I think if this was clear in the documentation for rb_lessthan_t, but I'm okay as well if you'd rather close it.

Yeah, not a bug.  You can't write a binary tree without a well-defined order, the binary search doesn't work (or it could be made to do so, but it's no longer O(logN) so you'd fail your exam).