[enhancement]: High Resolution Fix- Add automatic resolution toggle

Is there an existing issue for this?

[X] I have searched the existing issues

Contact Details
marict (discord)
What should this feature add?
A toggle should be added to the High Resolution Fix feature that allows the user to specify whether they want to manually set their high resolution fix resolution or have it automatically set. This is because those two hyperparameters can be confusing to new users, and determining an automatic setting that will work in most cases is fast and trivial.
Alternatives
We could go with no toggle and automatically set the resolution in all cases. This would have the benefit of a less cluttered UI, but wouldn't work for power users who wish to increase their initial/height width to get away with greater fidelity at the cost of higher chances of high resolution artifacts.
Additional Content

NOTE: Based on code owner feedback, this has been changed to have HRF automatically chose its initial resolution, not letting the user specify the height/width. This has the slight drawback of less customizability, but greatly simplifies the use of HRF, and keeps it in line with previous behavior.

Resolved in #4905


Front end bootstrap

[ ] framework
[ ] gulp script for compile and reload
[ ] user login
[ ] paper list
[ ] paper detail

I can use mock service to provide data.
Ref

https://github.com/AngularClass/angular2-webpack-starter/wiki/How-to-use-Bootstrap-4-and-Sass-(and-jQuery)
http://www.primefaces.org/primeng

though http://foundation.zurb.com/ provides some bootstrap templates, but it does not support ng2 and is close coupled with ng1, like route etc .... guess I will just stick with ng2 + bs4. Though the front end for this project does not require much responsive...

https://github.com/mgechev/angular2-seed another seed, I don't quite like https://github.com/AngularClass/angular2-webpack-starter .... but I don't think I have enough time to worry about this, spent too much time on irrelevant things.

just leave this to the bform-web repo


OpenShift overview page making extra API calls

Describe the bug
The OpenShift overview page is still calling for top 3 projects on compute, memory, and storage cards, despite no longer showing this information.
To Reproduce
Steps to reproduce the behavior:

Load OpenShift overview page with dev tools open to network tab
See extra calls for memory, storage, and compute
Ex: https://ci.cloud.redhat.com/api/cost-management/v1/reports/openshift/compute/?filter[time_scope_units]=month&filter[time_scope_value]=-1&filter[resolution]=monthly&filter[limit]=3&group_by[project]=*
See error

Expected behavior
We should just be making the call for last month and this month's data

verified


feat(village): Elect leader

Support automatically electing a leader with the given attributes.

Depends on #37


Issue with getUserFollowers method in threads-api version 1.6.3

Hello,
I've been using your threads-api library for a project and I've encountered an issue with the getUserFollowers method. I'm currently using version 1.6.3 of the library.
Here's the script I'm using:
import pkg from 'threads-api';
import fs from 'fs';
const { ThreadsAPI } = pkg;

const threadsAPI = new ThreadsAPI({
  username: 'my_username',
  password: 'my_password',
  deviceID: 'android-2tjieqf5r9w00000'
});

const delay = ms => new Promise(resolve => setTimeout(resolve, ms));

const main = async () => {
  let cursor = null;
  let followers = [];

  const myID = await threadsAPI.getUserIDfromUsername('my_username');

  const { users: myFollowers, next_max_id } = await threadsAPI.getUserFollowers(myID);
  cursor = next_max_id;

  for (const follower of myFollowers.slice(0, 20)) {
    let followerCursor = null;
    let followerFollowers = [];
    do {
      const { users, next_max_id } = await threadsAPI.getUserFollowers(follower.user_id, followerCursor);
      followerFollowers = followerFollowers.concat(users.map(user => user.username));
      followerCursor = next_max_id;

      console.log(`Collected ${followerFollowers.length} followers. Waiting 10 seconds before the next followers request...`);
      await delay(10000);
    } while (followerCursor && followerFollowers.length < 500);

    followers = followers.concat(followerFollowers);
    console.log(`Finished collecting followers for ${follower.username}. Total followers collected: ${followers.length}. Waiting 10 seconds before the next user...`);
    await delay(10000);
  }

  fs.writeFileSync('followers.json', JSON.stringify(followers));
};

main().catch(console.error);

When I run this script, I get the following error:
TypeError: Cannot read properties of null (reading 'maxID')
It seems like the getUserFollowers method is not working as expected. I've checked the documentation and my usage appears to be correct. Could you please help me understand what might be going wrong here?
I'm running the script from the root directory of the project, so there should be no issues with versioning or accessing the correct methods.
Thank you for your time and assistance.

Maybe someone just have a script following followers of my followers?)))


Fix browsergym to an old version to prevent breaking changes

Verified this works (at least the error is gone). Thanks! I assume it's just a temporary mitigation - unless there's any reason we cannot upgrade to the latest version.

Yeah, it's temporary, I will then do the upgrade


Webchat event when user socket connection breaks

Not sure if this is the right place to ask the question or should have raised this issue on DirectlineJs repo.
Does Directline/Webchat send any event/notification to the bot when socket connection breaks (when user closes browser or network failure)?

By definition, this is not something that WebChat (or DirectLineJS) could send to the bot. However the Direct Line service could detect that the connection has been broken and notify the bot. What say you, @dandriscoll?

Closing this issue as it pertains to the back end system.

@billba Umm.. I am really looking forward for a solution to this. It is a critical problem in human handoff scenario where agent chat window is web channel. Do we have a workaround or expected timeline for this?

Got it, but this is not the right forum to pursue it as this is for issues with WebChat, of which this is not one. Hey @dandriscoll where should @ankitbko file an issue having to do with the back end?


Error fatal exit status 1 while following quickstart for Go in WSL 2

What happened?
I followed the quickstart tutorial, beginning at https://www.devspace.sh/docs/getting-started/introduction.
I was able to complete Download DevSpace, Initialize Project (I chose the "Golang" tab), and some of Development. I chose all of the default, suggested options.
During the Development step, when I got down to the part of the tutorial where you run devspace dev, I ran this command but then I got an error. The complete terminal output looks like this:
info Using namespace 'my-namespace'
info Using kube context 'kind-kind'
deploy:app Skipping deployment app
dev:app Waiting for pod to become ready...
dev:app Selected pod app-devspace-77d5787fd7-qmn6x
dev:app open  Opening 'http://localhost:8080' as soon as application will be started
dev:app ports Port forwarding started on: 2345 -> 2345, 8080 -> 8080
dev:app sync  Sync started on: ./ <-> ./
dev:app sync  Waiting for initial sync to complete
dev:app sync  Initial sync completed
start_dev: initial sync: Sync - connection lost to pod my-namespace/app-devspace-77d5787fd7-qmn6x:  Internal error occurred: error executing command in container: failed to exec in container: failed to start exec "73f6f2b1a1ee625eb5aab114398a48df173c6849091a0d0c0ccec3064b5b73d9": OCI runtime exec failed: exec failed: unable to start container process: error adding pid 2215 to cgroups: failed to write 2215: openat2 /sys/fs/cgroup/unified/kubelet.slice/kubelet-kubepods.slice/kubelet-kubepods-besteffort.slice/kubelet-kubepods-besteffort-pode3996f97_63f0_40a0_b9c6_86de954b019c.slice/cri-containerd-2646276dddc66c0bc8f14ccc3ca9ee8484f9da56c005c952ce9ea357d6dd6c66.scope/cgroup.procs: no such file or directory: unknown
fatal exit status 1

At this point in time, there is a container that exists and is in a Running state
> k get po
NAME                            READY   STATUS    RESTARTS   AGE
app-devspace-77d5787fd7-qmn6x   1/1     Running   0          17m

But I'm not sure what to do at this point because my terminal has had control returned to it and based on language used in the quickstart, I don't think this is what's supposed to happen:

Once the terminal to your dev container opens

What did you expect to happen instead?
I expected to be able to complete the quickstart tutorial.
I also expected, based on my experience using DevSpace on my work machine, where it was already set up for me by a colleague, that at some point, I would have a terminal into a dev container open, but this didn't happen.
How can we reproduce the bug? (as minimally and precisely as possible)
Follow the steps I described above to attempt to complete the quickstart tutorial, choosing Go as your programming language. Observe the output from devspace dev.
My devspace.yaml:
version: v2beta1
name: devspace-quickstart-golang

# This is a list of `pipelines` that DevSpace can execute (you can define your own)
pipelines:
  # This is the pipeline for the main command: `devspace dev` (or `devspace run-pipeline dev`)
  dev:
    run: |-
      run_dependencies --all       # 1. Deploy any projects this project needs (see "dependencies")
      ensure_pull_secrets --all    # 2. Ensure pull secrets
      create_deployments --all     # 3. Deploy Helm charts and manifests specfied as "deployments"
      start_dev app                # 4. Start dev mode "app" (see "dev" section)
  # You can run this pipeline via `devspace deploy` (or `devspace run-pipeline deploy`)
  deploy:
    run: |-
      run_dependencies --all                            # 1. Deploy any projects this project needs (see "dependencies")
      ensure_pull_secrets --all                         # 2. Ensure pull secrets
      build_images --all -t $(git describe --always)    # 3. Build, tag (git commit hash) and push all images (see "images")
      create_deployments --all                          # 4. Deploy Helm charts and manifests specfied as "deployments"

# This is a list of `images` that DevSpace can build for this project
# We recommend to skip image building during development (devspace dev) as much as possible
images:
  app:
    image: my-image-registry.tld/username/app
    dockerfile: ./Dockerfile

# This is a list of `deployments` that DevSpace can create for this project
deployments:
  app:
    # This deployment uses `helm` but you can also define `kubectl` deployments or kustomizations
    helm:
      # We are deploying this project with the Helm chart you provided
      chart:
        name: component-chart
        repo: https://charts.devspace.sh
      # Under `values` we can define the values for this Helm chart used during `helm install/upgrade`
      # You may also use `valuesFiles` to load values from files, e.g. valuesFiles: ["values.yaml"]
      values:
        containers:
          - image: my-image-registry.tld/username/app
        service:
          ports:
            - port: 8080

# This is a list of `dev` containers that are based on the containers created by your deployments
dev:
  app:
    # Search for the container that runs this image
    imageSelector: my-image-registry.tld/username/app
    # Replace the container image with this dev-optimized image (allows to skip image building during development)
    devImage: ghcr.io/loft-sh/devspace-containers/go:1.18-alpine
    # Sync files between the local filesystem and the development container
    sync:
      - path: ./
        uploadExcludeFile: .dockerignore
    # Open a terminal and use the following command to start it
    terminal:
      command: ./devspace_start.sh
    # Inject a lightweight SSH server into the container (so your IDE can connect to the remote dev env)
    ssh:
      enabled: true
    # Make the following commands from my local machine available inside the dev container
    proxyCommands:
      - command: devspace
      - command: kubectl
      - command: helm
      - gitCredentials: true
    # Forward the following ports to be able access your application via localhost
    ports:
      - port: "2345"
      - port: "8080"
    # Open the following URLs once they return an HTTP status code other than 502 or 503
    open:
      - url: http://localhost:8080

# Use the `commands` section to define repeatable dev workflows for this project
commands:
  migrate-db:
    command: |-
      echo 'This is a cross-platform, shared command that can be used to codify any kind of dev task.'
      echo 'Anyone using this project can invoke it via "devspace run migrate-db"'

# Define dependencies to other projects with a devspace.yaml
# dependencies:
#   api:
#     git: https://...  # Git-based dependencies
#     tag: v1.0.0
#   ui:
#     path: ./ui        # Path-based dependencies (for monorepos)

Local Environment:

DevSpace Version: 6.3.9
Operating System: Ubuntu 22.04.3 via WSL 2
ARCH of the OS: AMD64

Kubernetes Cluster:

Cloud Provider: other (kind with node image version 1.28)
Kubernetes Version:Client Version: v1.29.0
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.28.0

Anything else we need to know?
I suspect that the fact I'm running this with WSL 2 is related to this issue. But I have not yet tested this in a different OS so I have not yet confirmed that WSL 2 is the only way of using Linux that causes this problem.

Tested with Ubuntu by itself (no WSL) and found that the issue did not occur then. I was able to launch the pod, get a terminal into the container, and test it out where I made a change to the code, re-ran go run main.go, refresh my browser, and see my changes reflected.
Local Environment:

DevSpace Version: 6.3.9
Operating System: Ubuntu 22.04.3
ARCH of the OS: AMD64

Kubernetes Cluster:

Cloud Provider: other (kind with node image version 1.28)
Kubernetes Version:> kubectl version
WARNING: This version information is deprecated and will be replaced with the output from kubectl version --short.  Use --output=yaml|json to get the full version.
Client Version: version.Info{Major:"1", Minor:"26", GitVersion:"v1.26.0", GitCommit:"b46a3f887ca979b1a5d14fd39cb1af43e7e5d12d", GitTreeState:"clean", BuildDate:"2022-12-08T19:58:30Z", GoVersion:"go1.19.4", Compiler:"gc", Platform:"linux/amd64"}
Kustomize Version: v4.5.7
Server Version: version.Info{Major:"1", Minor:"28", GitVersion:"v1.28.0", GitCommit:"855e7c48de7388eb330da0f8d9d2394ee818fb8d", GitTreeState:"clean", BuildDate:"2023-08-15T21:24:51Z", GoVersion:"go1.20.7", Compiler:"gc", Platform:"linux/amd64"}
WARNING: version difference between client (1.26) and server (1.28) exceeds the supported minor version skew of +/-1


Errors in template causing a recursion/infinite loop of Vue console warnings

Vue version
3.2.37
Link to minimal reproduction
https://github.com/benorudolf/issue-repro-vue-console-warn
Steps to reproduce
Setup

Clone the repo
Install dependencies via npm install
Run local dev server npm run dev (served on http://localhost:7777)

Reproduce the issue

Open the page in the browser; it should direct you to the Page.vue component route /page.
Open the development console and make sure you have the Warnings log level checked (they're on by default).
Open Page.vue in an editor. Create any sort of error inside the template e.g. change {{ name }} to {{ nam }}.
Return to the browser.

If the replication was successful you should see console warnings being created infinitely and your browser tab freezing.
What is expected?
Only the original error should be printed.
What is actually happening?
The original error is printed followed by infinite Vue warnings. This freezes and eventually crashes the browser tab.
Please see the provided reproduction repository README for additional details and findings.
System Info
System:
    OS: macOS 11.6
    CPU: (8) x64 Intel(R) Core(TM) i7-1068NG7 CPU @ 2.30GHz
    Memory: 4.15 GB / 32.00 GB
    Shell: 3.2.57 - /bin/bash
  Binaries:
    Node: 16.14.0 - ~/.nvm/versions/node/v16.14.0/bin/node
    npm: 8.5.3 - ~/.nvm/versions/node/v16.14.0/bin/npm
  Browsers:
    Brave Browser: <IP_ADDRESS>
    Chrome: 90.0.4430.93
    Firefox: 93.0
    Safari: 15.0
  npmPackages:
    vue: ^3.2.37 => 3.2.38

Any additional comments?
I ran in to this bug in a larger project. It started happening when we switched from snowpack to Vite. I was able to successfully reproduce the issue in a minimal setup which is provided in the attached github repo.
It requires a very specific setup, though not uncommon I believe. There is a 3rd party widget involved and required to reproduce; though it's hard to say if it is the cause and not just a type of catalyst.
The widget uses an API key that is under a 15-day trial period (will end on 19 Sep 2022).
There are more details and findings available in the reproduction repo readme.
I would like to apologize in advance if this is not the correct place to report this 🙏. Because it requires a specific setup it could have been reported in the issue reports of other dependencies e.g. Vue router or Vite. But because the warnings are coming from the Vue code I found it best to start here.
Even though the issue is leaning towards an edge case, my hope is that it could help uncover something more prominent.

Can't reproduce the problem when following the instructions. I get exactly one console error&warning as would be expected.

closing for inactivity and missing reproduction


Couple of naive questions (to be added in documentation ?)

Hello and thank you for this tool.
I have a couple of very naive questions regarding this tool.
Maybe this could be clarified in the early pages of documentation. My apologies if it is already there but I did not find it.
Question 1:
I have a minidsp SHD and I initially assumed your tool uses the provided websocket interface to control it but I doubt it now.
Does your tool work only on usb-connected devices or can it connect to remote devices through network ?
Question 2:
How does your tool work (communication with device), and how did you manage to get initial documentation to create it (device connection protocol, commands) ?
Did you have to reverse-engineer communication protocol between devices and configuration application ?
Question 3:
Are you affiliated with minidsp ? Is your tool going to be promoted/supported by them at some point ?
Thank you for your answers !

Hi, thank you for the detailed answers, very interesting !
I did not understand this usb transport technology, thank you for making this clearer.
I now understand that the tool is not designed to detect the SHD directly via its ethernet interface, but to be used with miniDG that forwards usb connection... That's why I did not manage to detect my device :)
You did an awesome job with this project, congrats and thank you very much for making this publicly available.


noop attributes is ignored

I don't really see why this parameter should be ignored:
https://github.com/bartavelle/language-puppet/blob/master/Puppet/Interpreter.hs#L675
Shall I remove the line ?

It's just that it should be supported, and didn't bother to do so.

When I remove the line, it just works as I would expect at least as a client. I am not sure it is ok to remove it though ...

I think this can safely be removed.

Done in 3b2eb6ce79aa11aed661c7619bfef87a052c1162


button-background-hover should use smart-scale by default

How to reproduce this bug:

Set $button-background: #000

What should happen:
The hover effect should increase the lightness of the background.
What happened instead:
The hover effect decreases the lightness.
 But you're right, the color change of the button background should be easily configurable. Let's make sure we do this right in v7.

Fix would be to use smart-scale() rather than scale-color() directly.

I considered reopening this, 'cause you're right — smart-scale() would enable all button colors to have a hover effect. But wouldn't this make a hard-coded assumption about whether the hover effect is darker or lighter. As is, the hover effect is configureable, which I think is better. I might want relatively dark buttons to be even darker on hover. For v7, maybe we add the ability to pass a lighter or darker hover to the button mixin.

True, unless the default $button-background-hover was set to auto and this line used smart-scale() instead of scale-color().
https://github.com/zurb/foundation-sites/blob/7f2d2079391a9897950b1cf461e1669dc51dc1a3/scss/components/_button.scss#L196-L198


thunderbird,  thunderbird-bin: 78.6.0 -> 78.6.1 [Critical security fix]

Motivation for this change

Critical security fix.
Other fixes and updates.

https://www.mozilla.org/en-US/security/advisories/mfsa2021-02/
https://www.thunderbird.net/en-US/thunderbird/78.6.1/releasenotes/
Things done

[X] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[X] Fits CONTRIBUTING.md.

builds&starts on Gentoo amd64 with sandbox=true :heavy_check_mark:

builds&starts on Gentoo amd64 with sandbox=true :heavy_check_mark:

20.09 backport at PR #109138

20.09 backport at PR #109138


Difference between RegularHG mode and TinyHG model

Hi, thanks for your work. I want to know the difference between RegularHG model and TinyHG model? Why TinyHG model is larger?
I notice that those two pre-trained models have the same 'config.cfg' file, does it mean that they are the same model? Is there something that I am missing?
I have checked the original paper, actually I did not found a clue about 'tiny'. Hoping someone can help me. Thanks a lot.

You can check the network structure in detail and they are different in the structure, especially in the definition of the residual block. In fact the regular one is what mentioned in the original paper, but tiny one also works well.
You can find some difference in hourglass_tiny.py like here:
``
if self.tiny:
with tf.name_scope(name):
norm = tf.contrib.layers.batch_norm(inputs, 0.9, epsilon=1e-5, activation_fn = tf.nn.relu, is_training = self.training)
pad = tf.pad(norm, np.array([[0,0],[0,0],[1,1],[1,1]]), name= 'pad')
conv = self._conv(pad, int(numOut), kernel_size=3, strides=1, name= 'conv')
return conv
else:
with tf.name_scope(name):
# Standard convolution in the paper with kernel size [1 -> 3 -> 1]
with tf.name_scope('norm_1'):
norm_1 = tf.contrib.layers.batch_norm(inputs, 0.9, epsilon=1e-5, activation_fn = tf.nn.relu, is_training = self.training)
conv_1 = self._conv(norm_1, int(numOut/2), kernel_size=1, strides=1, name= 'conv')
with tf.name_scope('norm_2'):
norm_2 = tf.contrib.layers.batch_norm(conv_1, 0.9, epsilon=1e-5, activation_fn = tf.nn.relu, is_training = self.training)
pad = tf.pad(norm_2, np.array([[0,0],[0,0],[1,1],[1,1]]), name= 'pad')
conv_2 = self._conv(pad, int(numOut/2), kernel_size=3, strides=1, name= 'conv')
with tf.name_scope('norm_3'):
norm_3 = tf.contrib.layers.batch_norm(conv_2, 0.9, epsilon=1e-5, activation_fn = tf.nn.relu, is_training = self.training)
conv_3 = self._conv(norm_3, int(numOut), kernel_size=1, strides=1, name= 'conv')
return conv_3


Fix for "GF_PATHS_DATA='/var/lib/grafana' is not writable"

/var/lib/grafana is only writable as data directory when grafana starts as user 472.
-> fixes " GF_PATHS_DATA='/var/lib/grafana' is not writable" which causes grafana to resist starting up

@petersiemen thanks :)

Hi @msalvaris! Thanks for merging.
However I found that this fix only worked on my Ubuntu bionic box. In order to get grafana running on the RHEL AWS ami for deep learning I had to map GRAFANA_DATA_LOCATION} to /data inside the container (${GRAFANA_DATA_LOCATION}:/data).
I will just create another PR for this change :)


fix continue in loops

continue currently does not correctly handle local variables in for loops.
For example:
for let i = 0; i < 10_000; i += 1 {
    const k = 'foo';
    continue;
}

should be a no-op, but will cause a stack-overflow.

Added in v0.11.12


consts.XMP_PROP_OPTIONS does not match object_to_dict output

After doing a conversion like object_to_dict or file_to_dict the complete list of options is:
array_is_alt
array_is_alttext
array_is_ordered
has_aliases
has_lang
has_qualifiers
has_type
is_alias
is_derived
is_internal
is_qualifier
is_schema
is_stable
value_is_array
value_is_struct
value_is_uri
The complete list of XMP_PROP_OPTIONS appears to be this:
prop_array_is_alt
prop_array_is_alttext
prop_array_is_ordered
prop_array_is_unordered
prop_has_aliases
prop_has_lang
prop_has_qualifiers
prop_has_type
prop_is_alias
prop_is_deriver
prop_is_internal
prop_is_qualifier
prop_is_schema
prop_is_stable
prop_value_is_array
prop_value_is_struct
prop_value_is_uri
It seems like "is_deriver" must be a typo, and I'm not sure if the prop_array_is_unordered is legitimate or not. Maybe it has been omitted from the *_to_dict operations, but it seems strange to have a property for both is_ordered and is_unordered...

Indeed prop_is_deriver looks to be a typo. The value is mapped to XMP_PROP_IS_DERIVED.
prop_array_is_unordered is ok. It's synonym with XMP_PROP_VALUE_IS_ARRAY. This definition comes from the underlying C library Exempi.

:+1: Cheers :)


Dumb driver

This implements a generic mock driver that anybody can use to mock workflows/tools without having to mock a real device. The way it works is as follows:

You create a device using the MockDriver and passing a path and a profile.
The path will be used to find mocked data so if you do d.get_facts() it will try to find $PATH/get_facts.1 and return the json inside. If you do d.get_facts() again it will try to find $PATH/get_facts.2.

You can check the test to see how it behaves.
Immediate uses for this would be to properly test napalm-ansible modules, napalm-yang and I bet napalm-salt and others could benefit of this.

You can see an example here:
https://github.com/napalm-automation/napalm-yang/pull/70/files#diff-eccaf564661c1c607299e14397d4a5dfR79

More example. Here you can see how to test ansible workflows:
https://github.com/napalm-automation/napalm-ansible/pull/66
Workflow is flexible enough even to simulate failures.

It might be nice to also support a named way to do this (if there is some logical way to do it).
For example, in addition to:
get_facts.1
get_facts.2
also support:
get_facts.strange_lldp_output_ios
if you set some variable like testname. Of course, we would need to figure a way to map this to other tools like ansible and Salt.
I am a bit worried as tests get more complex just sequencing indexes might be hard to keep track of (of course we can add this later).

if you set some variable like testname

So that feature is not really for that use case. That feature is for supporting multiple calls to the same method returning different results. For example, let's say you are writing a monitoring tool and need to call get_interfaces to test you are updating your db properly or that your configuration management systems changes the hostname properly and reports it to some central tool.
What you are suggesting would be accomplish by having different mocked devices. Something like:
mocked/
    ios_12/
        get_lldp_neighbors.1
    ios_12_no_neighbors/
        get_lldp_neighbors.1
    ios_12_weird_output/
        get_lldp_neighbors.1

For example:
https://github.com/napalm-automation/napalm-ansible/pull/66/files#diff-51bd545870274958d2bca976325f59ceR2


Make equality checks for standard type classes faster

Treat the standard types as singletons, which allows usto implement equals() with reference equality.
This is especially important for HivePageSink, which performs this operations multiple times per row and per column.
A test writing a table containing 16 columns showed a reduction in CPU utilization of ~5%.

looks good


Support Prisma in Next.js middleware without using the Data Proxy

Problem
Related to #85 #9841
Next.js is working on middleware support which runs in V8 environment. Currently, it is not possible to run Prisma there.
Suggested solution
Since Prisma 3.3.0 we have Early Access support for Cloudflare Workers (which run in V8 environment too), it would be nice to extend that functionality to support Next.js middleware as well.

We discussed this one more in depth. It's unfortunately a hard problem because Next.js essentially has added another type of Javascript environment depending on the file you're in. We've handled browser vs. server environments with the package.json, but this is a new environment specific to the Next.js file layout, so no generic way to know.
For server-side rendering (SSR) it continues to make sense to use the default Node-API implementation of the Prisma Client. But the Node-API implementation wouldn't work inside the Next.js middleware, so to pull this off right now you'd need two Prisma Clients, one built for SSR, one built for Edge Functions.
Longer-term, I could see us always generating one package for each environment, that you could switch out depending on the context:
import { PrismaClient } from "@prisma/client" // used in pages/index.js
import { PrismaClient } from "@prisma/edge" // used in _middleware.js


Adding Scroller/ScrollViewer's AnimationMode.Auto enum value

Fixes #789
The ScrollViewer's handling of keyboard/gamepad input was causing animated view changes even when OS animations were turned off in the Control Panel / Settings app. The WUX ScrollViewer's DManip takes that setting into account and the MUX ScrollViewer does now too.
The way this is done is by introducing a new AnimationMode.Auto enum value and using it by default, instead of the AnimationMode.Enabled enum value.
AnimationMode.Auto means 'animate when OS animations are turned on, and jump otherwise'.
The Scroller/ScrollViewer's ScrollTo, ScrollBy, ZoomTo and ZoomBy methods are now using that option by default.
The tests, ScrollBarController implementation were updated accordingly.

/azp run WinUI-Public-MUX-PR


Add hover effect to footer icons

Add hover effect similar to that of cards to icons in footer.

@opencodebot claim

@ananya-agrawal Do you want that spinning effect that card has on the footer icon?


WslRegisterDistribution failed with error: 0x80070057

Environment
Windows build number: Microsoft Windows [Version 10.0.19041.388]
Your Distribution version: NA (latest Ubuntu Debian and Kali)
Whether the issue is on WSL 2 and/or WSL 1: WSL 2? (can't run WSL bash)

Steps to reproduce
Open any distro on a completely clean install of Windows and WSL. Ubuntu, Debian, and Kali tested so far.
Expected behavior
Distro installs correctly.
Actual behavior
Launching "Debian" or "Ubuntu" or "Kali Linux" from the MS store results in the following error.
Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x80070057
Error: 0x80070057 The parameter is incorrect.

Press any key to continue...

#7 is the same error message. I have made sure that legacy mode is disabled as advised in the original issue.

#7 is the same error message.

Closer #4800 #5293
Detailed logs.

It looks very much like #5293. I was actually able to fix this by removing HyperV. It's odd. However, it probably has something to do with the virtual networking device from HyperV (#5293 is supposedly a networking issue). Or maybe it's just a coincidence.


apiserver: use list of audiences;

To support multiple calling projects, we want to support several google projects as a login source.

+1


Added casts_spells parameter to BaseShopAction

I hope the onPurchase method signature doesn't break anything!

Thank you, awesome!

Though I hope you're not doing all of this side-step the upgrade items not working :\
I'll take a look at that today.


how catch ETIMEDOUT error

Error: ETIMEDOUT
at Timeout._onTimeout (/usr/local/lib/node_modules/crawler/node_modules/request/request.js:813:19)
at ontimeout (timers.js:386:14)
at tryOnTimeout (timers.js:250:5)
at Timer.listOnTimeout (timers.js:214:5) code: 'ETIMEDOUT', connect: true

Also need to know this

Just listen for error
Like this:
https://github.com/jacktuck/unfurl/commit/dab70fceee98d09c71bcda40c775610e0de58996

I was making a lot of requests to a down website at the moment.
I am trying this:
http://stackoverflow.com/a/37946399/2741122
Thanks for your reply also.


How to change profile ?

Hi,
Thanks for this package ;)
I have a production and a staging on a project. I try to change the profile to production but it says No profile available found when I execute command Set Profile
[     {         "protocol": "ftp",         "host": "www.project.com",         "context": "/project/src",         "port": 21,         "name": "staging",         "username": "project",         "password": "password",         "remotePath": "/staging.password.com/",         "uploadOnSave": true,         "defaultProfile": "staging"     },     {         "protocol": "ftp",         "host": "www.project.com",         "context": "/project/build",         "port": 21,         "name": "production",         "username": "project",         "password": "password",         "remotePath": "/public_html/",         "uploadOnSave": false     } ]

Read the README.


grouping and folding feature

Grouping (subtotals) of data by dimension and the possibility to fold/unfold groups.
Minimal changes in:

Utilities.js (PivotData class) - grouping in processRecord function and some tweaks to sorting
TableRenderer.jsx - display in groups, folding capability (~10% of code changed in TableRenderer.render function)
App.jsx - grouping props exposed as checkboxes

Demo: https://jjagielka.github.io/react-pivottable-demo/

I was about to (finally!) look at my PR for subtotals again but then I saw this. It's great!
@nicolaskruchten any preference between this PR and mine? I would like to get subtotals into react-pivottable but not picky on how...
Thanks.

Hi, @nicolaskruchten
Please, merge this cool PR!!!


Improve the AuthProvider functionality

The purpose of the issue is to give developers a unified way to log in to Permit. To do that, the following improvements are needed in the existing AuthProvider command.

Mandatory key component. If the key is provided, the provider will perform validation of the key
If the key is not provided, the provider will take the key from the keychain and perform a browser login if it does not exist
Add an optional scope component - if provided:

In case no key is provided and the scope is higher than project, - init the browser auth
In case key is provided, validate that the API key is valid to the scope

This issue is about to get assigned to @35C4n0r

@quest-bot embark

Hi @gemanor ,
If @35C4n0r failed to finish this task, can you assign this to me? looking forward to work :)
TIA

@35C4n0r Bro, any updates on this?

@quest-bot embark

@quest-bot embark

@quest-bot embark

@quest-bot embark

@quest-bot embark

@quest-bot embark


error CS5001 with net6.0 for a sample program

Hello, I am new to C# trying to switch from SimPy to SimSharp.
I had troubles to run the "BankRenege" sample but found a solution :

adapt the .csproj file : net6.0
add the static void Main() in the .cs program at the end of the BankRenege declaration :
static void Main() {
var simul = new BankRenege();
simul.Simulate();
This may be obvious for C# experts but would help beginners like me.
(My configuration : MacOS 10.15.7, Visual Code 1.67.2, C# v1.24.4).

The Main method is part of the file RunAllSamples.cs. This runs all of the samples one after another, you can uncomment the samples that you don't want to run. The following steps executed in the commandline suffice to run the samples:

git clone https://github.com/heal-research/SimSharp.git
cd SimSharp/src
dotnet restore
dotnet build
cd Samples
dotnet run

I noticed that the launch.json configuration used in Visual Studio Code was not updated when projects were retargeted to .NET 5.0 and fixed that in 27914f05aef08478d9adb372005d6c96627323b9. So you can also use VS Code launch instead of the dotnet CLI.
Your solution would introduce two Main() methods in the project.


Causes NodeBB to Crash on 0.9.0

Plugin seems to work until we try to make a poll them the post is unable to save.  Instead NodeBB crashes out and restarts.  First we get a 502, then a 503, then the site returns but the poll never posts.

Here is detailed error
18/11 07:02 [24655] - error: TypeError: Cannot read property 'end' of undefined
at /home/ubuntu/latest-nodebb/node_modules/nodebb-plugin-poll/lib/backend.js:47:29
at /home/ubuntu/latest-nodebb/src/database/mongo/hash.js:245:4
at handleCallback (/home/ubuntu/latest-nodebb/node_modules/mongodb/lib/utils.js:96:12)
at /home/ubuntu/latest-nodebb/node_modules/mongodb/lib/collection.js:2330:14
at handleCallback (/home/ubuntu/latest-nodebb/node_modules/mongodb/lib/utils.js:96:12)
at /home/ubuntu/latest-nodebb/node_modules/mongodb/lib/db.js:283:5
at /home/ubuntu/latest-nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/topologies/server.js:765:13
at Callbacks.emit (/home/ubuntu/latest-nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/topologies/
server.js:95:3)
at null.messageHandler (/home/ubuntu/latest-nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/topolo
gies/server.js:243:23)
at Socket. (/home/ubuntu/latest-nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/connect
ion/connection.js:262:22)
TypeError: Cannot read property 'end' of undefined
at /home/ubuntu/latest-nodebb/node_modules/nodebb-plugin-poll/lib/backend.js:47:29
at /home/ubuntu/latest-nodebb/src/database/mongo/hash.js:245:4
at handleCallback (/home/ubuntu/latest-nodebb/node_modules/mongodb/lib/utils.js:96:12)
at /home/ubuntu/latest-nodebb/node_modules/mongodb/lib/collection.js:2330:14
at handleCallback (/home/ubuntu/latest-nodebb/node_modules/mongodb/lib/utils.js:96:12)
at /home/ubuntu/latest-nodebb/node_modules/mongodb/lib/db.js:283:5
at /home/ubuntu/latest-nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/topologies/server.js:765:13
at Callbacks.emit (/home/ubuntu/latest-nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/topologies/
server.js:95:3)
at null.messageHandler (/home/ubuntu/latest-nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/topologies/server.js:243:23)
at Socket. (/home/ubuntu/latest-nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/connect
ion/connection.js:262:22)
18/11 07:02 [24655] - info: [app] Shutdown (SIGTERM/SIGINT) Initialised.
18/11 07:02 [24655] - error: Error indexing server <IP_ADDRESS>:27017 sockets closed
18/11 07:02 [24655] - info: [app] Database connection closed.
18/11 07:02 [24655] - info: [app] Web server closed to connections.
18/11 07:02 [24655] - info: [app] Shutdown complete.

This is fixed in the version over at the development branch. When it's published and you still encounter this issue you can reopen it.


OOM issue and blank validation results using mcmc strategy

Hi, I've tried mcmc strategy on smaller subset (about 542 images, 150, 000 initial point cloud), which works quite good. But when I'm using the whole dataset (about 973 images, 360, 000 initial point cloud). After about 6400 steps. It will raise cuda oom issue. And when I was trying to lower the cam_max to 500_000 for each GPU, the validation results would be blank images. I tested with the default strategy and it works well.
My command:
CUDA_VISIBLE_DEVICES=0, 1, 2, 3, 4, 5
python examples/simple_trainer.py mcmc
--data_dir {My_DATASET_DIR}
--data_factor 1
--result_dir ./results/{MY_OUTPUT_DIR}
--max_steps 50_000
--eval_steps 7_000 30_000 40_000 50_000
--save_steps 7_000 30_000 40_000 50_000
--use_bilateral_grid \
My log:
2024-11-12 14:31:14.833
Step 6200: Relocated 934401 GSs.
2024-11-12 14:31:14.833
Step 6200: Added 46996 GSs. Now having 986928 GSs.
2024-11-12 14:31:14.833
Step 6300: Relocated 984383 GSs.
2024-11-12 14:31:14.833
Step 6300: Added 13072 GSs. Now having 1000000 GSs.
2024-11-12 14:31:14.833
Step 6400: Relocated 995335 GSs.
2024-11-12 14:31:14.833
Step 6400: Added 0 GSs. Now having 1000000 GSs.
2024-11-12 14:31:18.561
Traceback (most recent call last):
2024-11-12 14:31:18.561
File "/aistudio/workspace/aigc/wangqihang013/aigc3d/repos/neural_rendering/high_quality/gsplat/examples/simple_trainer.py", line 1076, in
2024-11-12 14:31:18.575
cli(main, cfg, verbose=True)
2024-11-12 14:31:18.575
File "/aistudio/workspace/system-default/envs/gsplat/lib/python3.10/site-packages/gsplat/distributed.py", line 344, in cli
2024-11-12 14:31:18.579
process_context.join()
2024-11-12 14:31:18.579
File "/aistudio/workspace/system-default/envs/gsplat/lib/python3.10/site-packages/torch/multiprocessing/spawn.py", line 163, in join
2024-11-12 14:31:18.580
raise ProcessRaisedException(msg, error_index, failed_process.pid)
2024-11-12 14:31:18.580
torch.multiprocessing.spawn.ProcessRaisedException:
2024-11-12 14:31:18.580
2024-11-12 14:31:18.580
-- Process 0 terminated with the following error:
2024-11-12 14:31:18.580
Traceback (most recent call last):
2024-11-12 14:31:18.580
File "/aistudio/workspace/system-default/envs/gsplat/lib/python3.10/site-packages/torch/multiprocessing/spawn.py", line 74, in _wrap
2024-11-12 14:31:18.580
fn(i, *args)
2024-11-12 14:31:18.580
File "/aistudio/workspace/system-default/envs/gsplat/lib/python3.10/site-packages/gsplat/distributed.py", line 295, in _distributed_worker
2024-11-12 14:31:18.580
fn(local_rank, world_rank, world_size, args)
2024-11-12 14:31:18.580
File "/aistudio/workspace/aigc/wangqihang013/aigc3d/repos/neural_rendering/high_quality/gsplat/examples/simple_trainer.py", line 1021, in main
2024-11-12 14:31:18.580
runner.train()
2024-11-12 14:31:18.580
File "/aistudio/workspace/aigc/wangqihang013/aigc3d/repos/neural_rendering/high_quality/gsplat/examples/simple_trainer.py", line 589, in train
2024-11-12 14:31:18.580
renders, alphas, info = self.rasterize_splats(
2024-11-12 14:31:18.580
File "/aistudio/workspace/aigc/wangqihang013/aigc3d/repos/neural_rendering/high_quality/gsplat/examples/simple_trainer.py", line 469, in rasterize_splats
2024-11-12 14:31:18.580
render_colors, render_alphas, info = rasterization(
2024-11-12 14:31:18.580
File "/aistudio/workspace/system-default/envs/gsplat/lib/python3.10/site-packages/gsplat/rendering.py", line 497, in rasterization
2024-11-12 14:31:18.580
tiles_per_gauss, isect_ids, flatten_ids = isect_tiles(
2024-11-12 14:31:18.580
File "/aistudio/workspace/system-default/envs/gsplat/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
2024-11-12 14:31:18.580
return func(*args, **kwargs)
2024-11-12 14:31:18.580
File "/aistudio/workspace/system-default/envs/gsplat/lib/python3.10/site-packages/gsplat/cuda/_wrapper.py", line 382, in isect_tiles
2024-11-12 14:31:18.580
tiles_per_gauss, isect_ids, flatten_ids = _make_lazy_cuda_func("isect_tiles")(
2024-11-12 14:31:18.580
File "/aistudio/workspace/system-default/envs/gsplat/lib/python3.10/site-packages/gsplat/cuda/_wrapper.py", line 14, in call_cuda
2024-11-12 14:31:18.580
return getattr(_C, name)(*args, **kwargs)
2024-11-12 14:31:18.580
torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 3.24 GiB. GPU 0 has a total capacty of 39.42 GiB of which 3.14 GiB is free. Process 126936 has 36.29 GiB memory in use. Of the allocated memory 30.47 GiB is allocated by PyTorch, and 2.55 GiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting max_split_size_mb to avoid fragmentation.  See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF

Alright， I've known why this could happen. Because my dataset was twice larger than the previous one. And there are many noises in my point cloud. Consequently, the mcmc strategy under current configs will produce very large scale gaussians which prevent the gaussians to fit the scene. And according to this issue:
https://github.com/nerfstudio-project/gsplat/issues/464#issue-2608844974
The large scales gaussian will cause the above error in function "isect_tiles"
So I use a larger scale_reg (scale_reg=0.05). And the problem seemed to disappear. But I'm not sure if I choose the optimum scale_reg cofficient.


Adding user presence

tmeasday:presence package could be used for such thing. What do you think @pmuens ?

Thank you! Yes, that's a good package. We could implement this when the user profiles (#21) are done!


Why is the code link not <>?

On page - https://symbiflow.readthedocs.io/en/latest/

The GitHub link should be <> like this;

https://github.com/SymbiFlow/symbiflow-docs/blob/04f3b0293b38004d1f246e3cd11e0f19812503f8/source/conf.py#L139
Should change this line


v0.0.12

(This should land after https://github.com/nodejs/uvwasi/pull/167)
Notable changes:

The project is now hosted under the nodejs GitHub org. (https://github.com/nodejs/uvwasi/commit/4911b557e864c875992a7776eb77a6fa12144521)
Several overflows have been fixed. (https://github.com/nodejs/uvwasi/pull/161) (https://github.com/nodejs/uvwasi/pull/162)
The libuv dependency has been updated to v1.42.0. (https://github.com/nodejs/uvwasi/pull/167)

@nodejs/tsc


Local multiplayer in the simulator

Web-only, supports up to four controllers. As long as they are xbox controllers (more support to come :wink:)
Relies on https://github.com/Microsoft/pxt-common-packages/pull/426

Nice! Can't wait to make some games for it!


COORDINATE_TO_ORIGIN setting with multiple geolocated files

Hello,
I need to load multiple IFC files that are geolocated.
Each of these IFC file represent parts of a same building.
I cannot merge all these files into one : these are customer data, and they have to remain as is.
When loading all the files together with web-ifc-three, they superpose nicely to make up the whole building.
However, I get distorted geometry for small details because of the geolocation.
To solve this, I need to use the COORDINATE_TO_ORIGIN setting.
The problem is that when loading each file with the COORDINATE_TO_ORIGIN, they do not end up exactly at the right place : they are shifted a few meters away from each other.
I guess this is because the "re-centering" performed at the load of each model is done around a point computed as some kind of average of all the coordinates found in the file (but that's just an assumption of mine), and that average is not exactly the same for each file.
Do I have any workaround to that issue?

Looking at the examples provided, I was able to find a solution to my issue, but using a non-documented API.
I do a "COORDINATE_TO_ORIGIN = true" on the load of my first model, and when loading the next models, I fiddle with the coordination matrix :
const matrixArr = await rendering.ifcLoader.ifcManager.ifcAPI.GetCoordinationMatrix(newModel.modelID);
const matrix = new THREE.Matrix4().fromArray(matrixArr);
rendering.ifcLoader.ifcManager.setupCoordinationMatrix(matrix);

This way, all models are correctly centered with each other.
However, I have found no documentation on these APIs I am using  (GetCoordinationMatrix, setupCoordinationMatrix) : have I missed something, or are these APIs planned to become official?

::take

🟢🟢🟢

::take

Hi, @aka-blackboots! Thanks for taking this bounty! The due date is December 19, 2022 UTC.
If you need to submit some pull requests (PR) to complete the tasks, make sure that the last and only the last PR has a title that either starts with the bounty ID or is exactly the same as the bounty name. After the PR is merged, this bounty’s status will automatically changed to done.
If you do not need to make a PR, tell the manager @agviegas to run ::done command after your tasks is confirmed to be done.
Good luck!

::drop

Hey, you can load the first model using COORDINATE_TO_ORIGIN=true, and then apply that matrix to the rest of the rest of the models. You can see an example of doing that in this function of web-ifc-viewer. Let us know if you have any problems with it!

@ericpasquiet, were you able to fix this issue?

Hi,
Yes, I was able to fix the issue, thank you.


docs(style): text input

Closes https://github.com/carbon-design-system/carbon-website/issues/172
Related https://github.com/carbon-design-system/carbon-website/issues/164
Also added size variants to the style structure section.

Oh good catch @laurenmrice. Its updated now.


V6 prevent duplicate vectors

V6 needs to check for duplicate vectors in the set.

What I'm hearing is that CheckIt should provide a matrix generator that goes beyond the Sage one. We need to be able to plug in the dimensions and pivots, and we get back a random matrix that (1) uses integers between -9 and 9 for itself and its RREF, and (2) doesn't have repeated columns. Would that cover our bases?

And (3) doesn't have a column of zeros for #6

Merged with #6

Merged with #6


upgrade gallery to 0.74

Description
upgrade Gallery to 0.74

There were more changes in the previous PR: #428 (comment) Do we not need those extra version bumps?
But as is, this looks fine. Same changes to the app template as far as I can tell.

Ah! Yes some of those package bumps were me trying to get babel to work before I realized we weren't using the correct preset. I'll add back the ones that were upgraded in 0.74 though :)

CI continues to fail on this:
× Building Solution
- Build failed with message 3:34>D:\a\_work\1\s\node_modules\react-native-windows\codegen\NativePlatformConstantsWinSpec.g.h(75,39): error C3615: constexpr function 'winrt::Microsoft::ReactNative::TurboModuleSpec::CheckMethodsHelper' cannot result in a constant expression (compiling source file D:\a\_work\1\s\node_modules\react-native-windows\Microsoft.ReactNative\Modules\PlatformConstantsWinModule.cpp) [D:\a\_work\1\s\node_modules\react-native-windows\Microsoft.ReactNative\Microsoft.ReactNative.vcxproj]. Check your build configuration.
× Build failed with message 3:34>D:\a\_work\1\s\node_modules\react-native-windows\codegen\NativePlatformConstantsWinSpec.g.h(75,39): error C3615: constexpr function 'winrt::Microsoft::ReactNative::TurboModuleSpec::CheckMethodsHelper' cannot result in a constant expression (compiling source file D:\a\_work\1\s\node_modules\react-native-windows\Microsoft.ReactNative\Modules\PlatformConstantsWinModule.cpp) [D:\a\_work\1\s\node_modules\react-native-windows\Microsoft.ReactNative\Microsoft.ReactNative.vcxproj]. Check your build configuration.
- It is possible your installation is missing required software dependencies. Dependencies can be automatically installed by running D:\a\_work\1\s\node_modules\react-native-windows\scripts\rnw-dependencies.ps1 from an elevated PowerShell prompt.
For more information, go to http://aka.ms/rnw-deps
× It is possible your installation is missing required software dependencies. Dependencies can be automatically installed by running D:\a\_work\1\s\node_modules\react-native-windows\scripts\rnw-dependencies.ps1 from an elevated PowerShell prompt.
For more information, go to http://aka.ms/rnw-deps
Command failed with error MSBuildError: 3:34>D:\a\_work\1\s\node_modules\react-native-windows\codegen\NativePlatformConstantsWinSpec.g.h(75,39): error C3615: constexpr function 'winrt::Microsoft::ReactNative::TurboModuleSpec::CheckMethodsHelper' cannot result in a constant expression (compiling source file D:\a\_work\1\s\node_modules\react-native-windows\Microsoft.ReactNative\Modules\PlatformConstantsWinModule.cpp) [D:\a\_work\1\s\node_modules\react-native-windows\Microsoft.ReactNative\Microsoft.ReactNative.vcxproj]
##[error]Cmd.exe exited with code '2302'.

source
This doesn't repro for me when building the branch locally.
Failure first occurs from building these files:

Timing.cpp
NativeModulesProvider.cpp

(note: RNW files, not gallery files)
There doesn't seem to be any CI errors when building these samples on 0.74 though: https://github.com/microsoft/react-native-windows-samples/pull/937
@tatianakapos Are there differences in the CI between the repos? Or differences between construction of the apps?
If we want a third example, maybe you can help me onboard better CI validation of Artificial Chat so this PR would give us signal? https://github.com/chrisglein/artificial-chat/pull/145

@chrisglein Interestingly, this is the same error message from this issue on our repo which has to do with switching to C++20, I'm not sure why only the Gallery CI would be hitting this.
A big comparison between Gallery and our samples repo is that Gallery uses ADO while Samples uses github workflows. Gallery also uses yarm instead of yarn which I want to try switching to see if that helps!
More than happy to add CI to Artificial Chat though, it would be helpful to have multiple apps running the same build structure.


NTR: Florida Keys Mosquito Control district organization

Please could we make a term for
Label:  Florida Keys Mosquito Control district organization
Definition: An organization that monitors mosquito species in the Florida Keys district, performs abatement, and is located in the Florida Keys, Florida, USA.
Parent term: organization of specimen collector
IRI: http://purl.obolibrary.org/obo/OBI_0001893
Definition: An organization that is the affiliation of the person collecting the specimen

Thanks @SAK22, sorry but I was not clear with my question. Is there only one Florida Keys Mosquito Control District organization (and only one Collier Mosquito Control District organization, and only one Cass County Vector Control District organization, etc.) or are there multiple organizations within the Florida Key Mosquito Control District?

@cstoeckert just one is the answer :) 1 Florida Keys Mosquito Control district organization.


Provision on Ethernet

@agherzan commented on Fri Jul 01 2016
Description
Provision the device using the Ethernet port.
Steps to reproduce issue
Download Device OS
Network Connection: Ethernet
Download OS file
Expected result
Device should appear in the application's dashboard
Other information
Reported by: Theodor Gherzan
Test configuration: TS7700
Test case number: TC01
Test run: https://resinio.testlodge.com/projects/16238/runs/216494?tab=2&run_section_id=220109&executed_case_id=10168350#executed_case_10168350

This issue was moved to resin-os/resinos#34


snprintf SimProcedure

I'm not sure this should belong here as "an issue" or you'd rather receive these through other channels (si there a mailing list?) so let me know if that's the case.
The snprintf SimProcedure is currently missing (and vsnprintf kinda unimplemented as well, with a simple return size-1). I've been playing around with some binaries that use snprintf... and tried to implement it based off sprintf.
However, I do not know exactly what's the "correct" way to constrain the size of the output string. sprintf does this:
        fmt_str = self._parse(1)
        out_str = fmt_str.replace(2, self.arg)
        self.state.memory.store(dst_ptr, out_str)

So I can easily increase the indices passed to self._parse and fmt_str.replace. However, I am in doubt on what would be the proper way to constrain the buffer size...

This is a bit of a general problem in symbolic execution - when you run across symbolic data-size fields, and you need to put some concrete number of bytes into memory, how do you handle it? In several places in angr we make the choice that we should concretize the size to the maximum of the possible values it could represent (state.se.max_int, I think), but you have to put an additional check on top of that that you aren't about to ask for four gigabytes of data to be written to memory.
For snprintf and friends, you might want to just take out_str, and then if it's too long (according to whatever metric by which you think it's appropriate to concretize the n parameter), truncate it before storing it to memory.
Also, yes there is a mailing list! It's listed as the contact email for the angr organization on github :+)

@esanfelix You mean something like this?
class snprintf(FormatParser):
    #pylint:disable=arguments-differ

    def run(self, dst_ptr, size, fmt):
        # The format str is at index 2
        fmt_str = self._parse(2)
        out_str = fmt_str.replace(3, self.arg)
        orig_size = out_str.size()
        max_wsz = self.state.se.max_int(size)
        act_len = orig_size // 8

        if max_wsz > 0:
            # cut the out_str to maximum possible write size
            if orig_size > (max_wsz - 1) * 8:
                out_str = out_str.get_bytes(0, max_wsz - 1)
            req_len = size - 1
            written_len = self.state.se.If(req_len < act_len, req_len, act_len)

            # place the string
            self.state.memory.store(dst_ptr, out_str, size=written_len, condition=size > 0)

            # place the terminating null byte
            self.state.memory.store(dst_ptr + written_len, self.state.se.BVV(0, 8), condition=size > 0)

        # size_t has size arch.bits
        return self.state.se.BVV(act_len, self.state.arch.bits)


Restore API documentation

@marcromeyn , when you get a chance...

I need help moving each of the classes from the top of the page under the correct heading or advice for the names of new headings. https://nvidia-merlin.github.io/models/review/pr-915/api.html

Any chance you know why the Jenkins build is pending rather than has run?

@rnyak @bschifferer will start to review and categorify some of the missing class


No results with -e LISTEN_ONLY=yes -e RTL_MSGTYPE="all"

I just got a Nooelec NESDR Mini USB. My electric meter is a C2S0D, but I am unable to determine the device ID. The text above my FCC info contains characters and numbers, which doesn't seem correct and result in an error. I'm attempting to scan all nearby devices but I get 0 results even after running it for a full 24 hours.
$ docker run --rm -ti --privileged -e LISTEN_ONLY=yes -e RTL_MSGTYPE="all" -e TZ="America/Los_Angeles" --device=/dev/bus/usb:/dev/bus/usb allangood/rtlamr2mqtt
[2023-12-26 15:24:26] Starting in LISTEN ONLY Mode...
[2023-12-26 15:24:26] No Supervisor detected.
[2023-12-26 15:24:26] Starting rtl_tcp with /usr/bin/rtl_tcp
[2023-12-26 15:24:28] Starting rtlamr with ['/usr/bin/rtlamr', '-msgtype=all', '-format=json']
[2023-12-26 15:24:28] You should see all utility meters after this line:
[2023-12-26 15:24:28] 15:24:28.671147 decode.go:45: CenterFreq: 912380000
[2023-12-26 15:24:28] 15:24:28.671436 decode.go:46: SampleRate: 2359296
[2023-12-26 15:24:28] 15:24:28.671441 decode.go:47: DataRate: 32768
[2023-12-26 15:24:28] 15:24:28.671444 decode.go:48: ChipLength: 72
[2023-12-26 15:24:28] 15:24:28.671446 decode.go:49: PreambleSymbols: 32
[2023-12-26 15:24:28] 15:24:28.671448 decode.go:50: PreambleLength: 4608
[2023-12-26 15:24:28] 15:24:28.671451 decode.go:51: PacketSymbols: 736
[2023-12-26 15:24:28] 15:24:28.671453 decode.go:52: PacketLength: 105984
[2023-12-26 15:24:28] 15:24:28.671457 decode.go:59: Protocols: scm,scm+,idm,r900
[2023-12-26 15:24:28] 15:24:28.671462 decode.go:60: Preambles:<PHONE_NUMBER>0101010001011010100011,00000000000000001110010101100100,111110010101001100000,0001011010100011
[2023-12-26 15:24:28] 15:24:28.671469 main.go:124: GainCount: 29

I'm new with SDRs in general and the underlying projects this image uses, so if anyone has any suggestions, I'm all ears.

I'm having the same problems too. Similar issues have recommended using a powered USB hub but that ain't working either.
Somehow a week or so ago I managed to get 2 meter readings, but since then nothing


feat(regex): add regex support

Add support to use regex per line.

Hi there,  thank you for proposal, I refactored code a bit, so not to bother you with resolving conflicts added regex validation, so closing pr.


Make a Logo!

idea with this one is it's "machine learning, made easy, served on a silver (tea) spoon"

I like that concept!

so be it. done.


Linux build instructions issue 1809

I've updated the Linux build instructions to add a little more detail. I hope this is satisfactory. Thank you!

Looks good to me, thanks!

@zcbenz @apm I would like to continue helping with documentation. Where do you think I can help the most?
Thanks!
Bob

On Jun 8, 2015, at 10:42 AM, Cheng Zhao<EMAIL_ADDRESS>wrote:
Merged #1886.
—
Reply to this email directly or view it on GitHub.


Multiple Containers onDragOver "infinite" loop when holding item between containers

Thanks for this amazing package!
I've been trying out the Multiple Containers demo. I noticed that if I drag and hold an item halfway between containers for a few seconds, it gets stuck there for an additional few seconds after I let go of it. Here's a gif to illustrate:

With more complicated components, this can cause the entire page to die.
I think the problem is repeated calls to onDragOver and setItems.
Is there a way to fix this?

The problem here is that the columns are pretty close to one another, and when an item is reparented from Column A to Column B, there's an infinite loop between the droppable rectangle that is closest to the draggable rectangle.
This can be fixed by using the newly introduced pointerWithin collision detection algorithm instead, which is based on the coordinates of the pointer and will avoid these types of infinite loops.
This will be included in the next major release https://github.com/clauderic/dnd-kit/pull/557
See https://5fc05e08a4a65d0021ae0bf2-jjzxkknnls.chromatic.com/?path=/story/presets-sortable-multiple-containers--basic-setup which is based on this PR, which refactors the collision detection strategy of the multiple containers examples to use the pointerWithin algorithm #558

Thanks for the quick fix!


Real time Implementation

Hello @Daniil-Osokin  !! Thank you for sharing your work. I was wondering if there is a real time implementation ( from webcam) possible ?

you should use argument '--video 0' for webcam.

Thanks !! Closing the issue


Using GDAL's pyramid building code in ASP GUI

ASP's GUI uses a home-grown way of building multi-resolution image pyramids. Converting to GDAL's approach may make the process much faster and have less code to maintain.

A lot of this code was moved to Vision Workbench:
https://github.com/visionworkbench/visionworkbench/blob/master/src/vw/Mosaic/DiskImagePyramid.h


No auto third person for elytra

The auto third person feature does not work for elytra flight. All other parts auto switch, however when flying with an elytra there is no switch and in addition you cannot change perspectives with F5 until flight has ended. The other things such as boat and minecart you can use F5 to exit third person while riding a horse. I have tested this on every version since the feature was released and also on the oldest, latest and recommended versions of forge for 1.12.2.

Thanks for reporting this and for testing it in so many different environments, although it wasn't really necessary. :wink:

See if <IP_ADDRESS> fixes this.

issue resolved, thanks!


Clean up data formaters, removing need for passing Seq2SeqDataLogger

PR Description
One of the current design choices for the data_logger formatters, was to pass the actual Seq2SeqDataLogger to the .format() function. This was nice for dev speed, but is not the nicest for three primary reason (that I see):

It can cause annoying trickiness around avoiding circular imports. For example, I am working on the generation PR for Decoder-Only models, and I want to use data_formatters; however, when I try to do so, I get circular import errors.
Overall it seems like not the greatest python "style".
It is not as necessary as we maybe initially thought.

To elaborate on point (3), you will see in this PR that we basically need to address two main issues when removing the dependance on having the actual Seq2SeqDataLogger:

Saving information to the LoggerConfig: Accomplished by passing in two additional data fields to the format function: a) ids and b) split_key
Assigning offsets and positions: Accomplished by returning the "formatted" AlignedData object.

With these two fairly simple extensions we are able to simplify the format(.) function!
Note: One addition that we have to make is extending the AlignedTokenData class to have an append(.) function. This is necessary because for DecoderOnly models we process the aligned token data one sample at a time. The function we add is simple and follows this structure:
# The AlignedTokenData object that we are building up sample by sample
aligned_data: AlignedTokenData

# Aligned token data for a *single* sample - i.e. batch dim == 1
sample_aligned_token_data: AlignedTokenData

# This will append the `offset` and `position` data from the sample
# to the internal fields of `aligned_data`.
aligned_data.append(sample_aligned_token_data)

https://app.shortcut.com/galileo/story/9349

Codecov Report
Attention: 12 lines in your changes are missing coverage. Please review.

Comparison is base (a0f1eb0) 86.63% compared to head (6bf372a) 86.61%.
Report is 1 commits behind head on main.

Files
Patch %
Lines

...aquality/loggers/data_logger/seq2seq/formatters.py
33.33%
8 Missing :warning:

dataquality/schemas/seq2seq.py
33.33%
2 Missing :warning:

...ataquality/loggers/data_logger/base_data_logger.py
50.00%
1 Missing :warning:

dataquality/utils/emb.py
0.00%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #810      +/-   ##
==========================================
- Coverage   86.63%   86.61%   -0.02%
==========================================
  Files         196      196
  Lines       15585    15594       +9
==========================================
+ Hits        13502    13507       +5
- Misses       2083     2087       +4

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


Add latest Xamarin to MacOS-13

Tool name
Xamarin.iOS
Tool license
Same as used in MacOS-12 for Xamarin
Add or update?

[X] Add
[X] Update

Desired version
Xamarin-ios <IP_ADDRESS>
Approximate size
No response
Brief description of tool
I checked both 'add' button above as well as 'update' because the MacOS-13 Readme shows no Xamarin support at all, while MacOS-12 does have Xamarin.
In particular, we need MacOS-13 support for the latest Xamarin.iOS package so we can create  Xamarin iOS builds that target iOS 17, which will soon be a requirement to upload builds to the App Store.
While Microsoft will soon be dropping support for Xamarin, those of us who are in the process of migrating our apps to .NET iOS continue to need the latest supported version of Xamarin iOS, which is <IP_ADDRESS>, on MacOS13 so we can continue to build on App Center.
URL for tool's homepage
No response
Provide a basic test case to validate the tool's functionality.
No response
Platforms where you need the tool

[X] Azure DevOps
[X] GitHub Actions

Runner images where you need the tool

[ ] Ubuntu 20.04
[ ] Ubuntu 22.04
[ ] macOS 11
[ ] macOS 12
[X] macOS 13
[X] macOS 13 Arm64
[X] macOS 14
[X] macOS 14 Arm64
[ ] Windows Server 2019
[ ] Windows Server 2022

Can this tool be installed during the build?
No response
Tool installation time in runtime
No response
Are you willing to submit a PR?
No response

Hey @David-Sobin,
Unfortunately, we currently don't have plans on baking this into the image due to maintenance concerns and upcoming EOL. You can find additional info and runtime installation options in https://github.com/actions/runner-images/issues/8045.

Hey @David-Sobin, Unfortunately, we currently don't have plans on baking this into the image due to maintenance concerns and upcoming EOL. You can find additional info and runtime installation options in #8045.

Unfortunately the solutions offered there with HomeBrew do not work for me because we need Xamarin.iOS SDK 17 since Apple will start rejecting app updates if not built against SDK 17 starting on April 29 but HomeBrew only has Xamarin.iOS SDK 16.4.


Cost Details Pie Charts don't color correctly

Describe the bug
Cost details pie chart isn't following the colorScale as the entire pie is one color.
To Reproduce
Steps to reproduce the behavior:

Go to the Cost details page by clicking on the "Cost Details" tab
Click on a List Item >
Scroll down to see the pie chart
See error

Expected behavior
Pie Chart should have various colors that match the legend items
Screenshots

It has to do with VictoryGroup, I believe.

I opened an issue here and opened a workaround here


ERROR: Page's Now is deprecated

The following statement in footer.html:
{{ now.Format "2006"}}

Causes the following error message:
ERROR 2017/07/14 10:24:46 Page's Now is deprecated and will be removed in Hugo 0.27. Use now (the template func).

I understand changes were made recently for this deprecation but this issue still persists.

Hello @patrickn,
which version of Hugo are you using? I've tried v0.25.1 as well as the newest version from master but was unable to reproduce the error message.

I tried with the latest 0.26-DEV I think. Removing the now.Format statement fixes the error. If you can't recreate it, I don't know what it could be. Could it be something in my confit?

Is this issue related to your https://github.com/patrickn/neaveynet-hugo repo?
My guess would be the following: you're added this theme as a submodule and the referenced commit if from 2016. Therefore, it's possible that you use an old version of the Icarus theme that still uses the deprecated .Now template function.

Yes, I think you are correct. Trouble is I am in the road so debugging this from my phone. I thought I had done a submodule update from travis.yaml but it seems it didn't work, or didn't do what I expected.
I will close the issue and make sure to use the latest Icarus.
Thank you very much for looking into this.
Awesome theme by the way.
Patrick

Let's hope it will solve the issue you're facing :wink:


Prototype of JSON Merge Patch convenience APIs

We plan to generate convenience APIs for PATCH operations for clients that use JSON Merge Patch.  This PR provides a sketch of what that might look like using MutableJsonDocument to track changes to convenience-layer models, and generate the JSON Merge Patch request content from the MutableJsonDocument changelist.

API change check
APIView has identified API level changes in this PR and created following API reviews.
Azure.Developer.LoadTesting

Closing in favor of https://github.com/Azure/azure-sdk-for-net/pull/38324


.ruby-version not working for 2.1.10

I have multiple 2.1.x versions installed, including 2.1.8 and 2.1.10 .
If my .ruby-version contains 2.1, it automatically switches to 2.1.8, although I'd be expecting 2.1.10

I'd say this is a dup of #363


Swift 5 update

Checklist

[x] All new and existing tests pass
[x] I've read the Contribution Guidelines

Description

Update to latest Swift version

Build and run project on both Simulator & Real Device
Successfully passed tests

I signed it!

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
📝 Please visit https://cla.developers.google.com/ to sign.
Once you've signed (or fixed any issues), please reply here (e.g. I signed it!) and we'll verify it.
What to do if you already signed the CLA
Individual signers

It's possible we don't have your GitHub username or you're using a different email address on your commit. Check your existing CLA data and verify that your email is set on your git commits.

Corporate signers

Your company has a Point of Contact who decides which employees are authorized to participate. Ask your POC to be added to the group of authorized contributors. If you don't know who your Point of Contact is, direct the Google project maintainer to go/cla#troubleshoot (Public version).
The email used to register you as an authorized contributor must be the email used for the Git commit. Check your existing CLA data and verify that your email is set on your git commits.
The email used to register you as an authorized contributor must also be attached to your GitHub account.

ℹ Googlers: Go here for more info.

I signed it!

This is great, thank you! Bad news (for now) we can't migrate to Swift 5 yet, we have internal tooling that requires Swift 4.2. I'm going to leave this open and revisit when we're ready. I don't have a timeframe from that, yet, but I'll check back as soon as we can!

@taquitos Can I reopen this PR?

Sorry, this got closed without explanation, I was correcting some previous commit authors during the pre-open source days.
Unfortunately, it looks like we can't accept this PR. I did some digging on the Google side to see what we can do to accept, and it's just too complicated to accept Swift updates externally. We have a lot of internal tooling issues. Also, this project is the base of our closed-source version, so we need to migrate them at the same time.
I wish we could accept it 😢
But, good news: I'm putting together a list of issues we want to solve, so soonish I'll have a bunch of clear cut things people can grab and work on.

OH also, I wrote up a thing that explains this better: https://github.com/google/science-journal-ios/blob/master/CHANGE_LIMITATIONS.md


[backport] Add squared_difference to chainerx

Backport of #6501

[automatic post] Jenkins, test this please.

Jenkins CI test (for commit 6ab4995455a4b669423b64d8053f5336b0d6c513, target branch v6) failed with status FAILURE.

LGTM


Utilizing Extension select_text gives error: a is undefined

Gemfile.lock:
selenium-webdriver (2.44.0)
 childprocess (~> 0.5)
 multi_json (~> 1.0)
 rubyzip (~> 1.0)
 websocket (~> 1.0)
watir-webdriver (0.6.11)
 selenium-webdriver (>= 2.18.0)

Simple Example:
require 'watir-webdriver'
require 'watir-webdriver/extensions/select_text'
b = Watir::Browser.new :firefox
b.goto 'www.google.com'
b.element(:css => 'input#gbqfq').send_keys "some test"
b.element(:css => 'button#gbqfb').submit
b.element(:css => 'span.st').select_text 'Pre-test'

Error:
Selenium::WebDriver::Error::JavascriptError: a is undefined
	from [remote server] https://www.google.com/?gws_rd=ssl#q=some+test line 68 > Function:26:in `F'
	from [remote server] https://www.google.com/?gws_rd=ssl#q=some+test line 68 > Function:39:in `Eb'
	from [remote server] https://www.google.com/?gws_rd=ssl#q=some+test line 68 > Function:50:in `T'
	from [remote server] https://www.google.com/?gws_rd=ssl#q=some+test line 68 > Function:60:in `Db'
	from [remote server] https://www.google.com/?gws_rd=ssl#q=some+test line 68 > Function:61:in `dc'
	from [remote server] https://www.google.com/?gws_rd=ssl#q=some+test line 68 > Function:61:in `anonymous/</<'
	from [remote server] https://www.google.com/?gws_rd=ssl#q=some+test line 68 > Function:14:in `anonymous/<'
	from [remote server] https://www.google.com/?gws_rd=ssl#q=some+test line 68 > Function:14:in `anonymous'
	from [remote server] https://www.google.com/?gws_rd=ssl#q=some+test:68:in `handleEvaluateEvent'
	from /Users/dhale/.rvm/gems/ruby-2.1.0/gems/selenium-webdriver-2.44.0/lib/selenium/webdriver/remote/response.rb:52:in `assert_ok'
	from /Users/dhale/.rvm/gems/ruby-2.1.0/gems/selenium-webdriver-2.44.0/lib/selenium/webdriver/remote/response.rb:15:in `initialize'
	from /Users/dhale/.rvm/gems/ruby-2.1.0/gems/selenium-webdriver-2.44.0/lib/selenium/webdriver/remote/http/common.rb:59:in `new'
	from /Users/dhale/.rvm/gems/ruby-2.1.0/gems/selenium-webdriver-2.44.0/lib/selenium/webdriver/remote/http/common.rb:59:in `create_response'
	from /Users/dhale/.rvm/gems/ruby-2.1.0/gems/selenium-webdriver-2.44.0/lib/selenium/webdriver/remote/http/default.rb:66:in `request'
	from /Users/dhale/.rvm/gems/ruby-2.1.0/gems/selenium-webdriver-2.44.0/lib/selenium/webdriver/remote/http/common.rb:40:in `call'
	from /Users/dhale/.rvm/gems/ruby-2.1.0/gems/selenium-webdriver-2.44.0/lib/selenium/webdriver/remote/bridge.rb:640:in `raw_execute'
	from /Users/dhale/.rvm/gems/ruby-2.1.0/gems/selenium-webdriver-2.44.0/lib/selenium/webdriver/remote/bridge.rb:618:in `execute'
	from /Users/dhale/.rvm/gems/ruby-2.1.0/gems/selenium-webdriver-2.44.0/lib/selenium/webdriver/remote/bridge.rb:339:in `executeScript'
	from /Users/dhale/.rvm/gems/ruby-2.1.0/gems/selenium-webdriver-2.44.0/lib/selenium/webdriver/common/driver.rb:193:in `execute_script'
	from /Users/dhale/.rvm/gems/ruby-2.1.0/gems/watir-webdriver-0.6.11/lib/watir-webdriver/atoms.rb:20:in `execute_atom'
	from /Users/dhale/.rvm/gems/ruby-2.1.0/gems/watir-webdriver-0.6.11/lib/watir-webdriver/extensions/select_text.rb:7:in `select_text'

This is a known issue with Firefox 35. The fix is committed in master and will be available with the next watir release, which is dependent on the next selenium-webdriver release (no ETA).

@titusfortner Thanks for the clarification! Now... patience

@dmhalejr To make it clear, that's not the issue with watir-webdriver, but the problem with selenium-webdriver.

@p0deje Thanks for the clarification. I'll make sure to assess any issues I may run into here https://code.google.com/p/selenium/issues/list before opening up superfluous issues here :smile:


Difference Between a Hub, Switch and Router

We ask that you please be patient as our team works through approving and publishing all articles/tutorials in a timely manner. Allow 1-3 days for a topic to be reviewed and/or approved - allow 3-7 days for an articles to be reviewed and/or published.
Be sure to visit our Resources Page for tools, resources, and example articles to go over.
NOTE: (Please ensure that you have only one open issue + linked pull request at a time. This will ensure that we complete the article in a timely manner from inception to publishing.)
NOTE: We tend to stray away or tend not to publish reviews/comparisons of commercial product offerings.
We're looking for the first 2-3 paragraphs of the article that appropriately summarize what your article will be about.
Proposed title of article:
Difference Between a Hub, Switch and Router
Introduction paragraph (2-3 paragraphs):
Hubs, switches, and routers are all common types of devices to help connect a network. Because they are often integrated into a single device, it can be challenging to understand the distinction between these items. In some cases, the terms may even be used interchangeably, though this is incorrect. The functions and uses of these devices are all very different from one another.
In this article, we will look at a simple guide on the difference between a hub, switch, and router to others understand their dissimilarity.
Key takeaways:

What is a hub, switch and  router.
How each transmit data from end to another
Connectivity - What does each of these items connect
The security of each item.
Networks used - The uses of each item.

References:
N/A

seems like a helpful topic - lets please be sure it add value beyond what is in the official docs and that it does not overlap with any existing EngEd articles or incoming topic suggestions (if you haven't already). - approved @Jeddy947

Just and FYI I will be closing thie topic form just to help clear up the queue where possible - can be REOPENED at anytime when ready. 👍

@hectorkambow  The article is ready for submission. Am not able to reopen the issue, would you open for me please


Add "linktoexec" as a "is" condition

yazi --debug output
Yazi
    Version: 0.3.1 (Arch Linux 2024-08-17)
    Debug  : false
    OS     : linux-x86_64 (unix)

Ya
    Version: 0.3.1 (Arch Linux 2024-08-17)

Emulator
    Emulator.via_env: ("xterm-kitty", "")
    Emulator.via_csi: Ok(Kitty)
    Emulator.detect : Kitty

Adapter
    Adapter.matches: Kitty

Desktop
    XDG_SESSION_TYPE: Some("x11")
    WAYLAND_DISPLAY : None
    DISPLAY         : Some(":0.0")

SSH
    shared.in_ssh_connection: false

WSL
    /proc/sys/fs/binfmt_misc/WSLInterop: false

Variables
    SHELL              : Some("/usr/bin/zsh")
    EDITOR             : Some("nvim")
    VISUAL             : None
    YAZI_FILE_ONE      : None
    YAZI_CONFIG_HOME   : None

Text Opener
    default: Some(Opener { run: "${EDITOR:=vi} \"$@\"", block: true, orphan: false, desc: "$EDITOR", for_: None, spread: true })
    block  : Some(Opener { run: "${EDITOR:=vi} \"$@\"", block: true, orphan: false, desc: "$EDITOR", for_: None, spread: true })

Multiplexers
    TMUX               : false
    tmux version       : 3.4
    ZELLIJ_SESSION_NAME: None
    Zellij version     : No such file or directory (os error 2)

Dependencies
    file             : 5.45
    ueberzugpp       : 2.9.6
    ffmpegthumbnailer: 2.2.2
    magick           : 7.1.1-36
    fzf              : 0.54.3
    fd               : 10.1.0
    rg               : 14.1.0
    chafa            : 1.14.2
    zoxide           : 0.9.4
    7z               : 17.05
    7zz              : No such file or directory (os error 2)
    jq               : 1.7.1

Please describe the problem you're trying to solve
Right now with Yazi we can color files that link to an executable with the same color as a regular executable or the same color of a regular link. I'm trying to emulate the theme I had in ranger with symlinks being cyan, executables being bold green, and symlinks that are linking to an executable are bold cyan to differentiate them from a regular executable or link. Unfortunately this is not possible in Yazi right now.
Would you be willing to contribute this feature?

[ ] Yes, I'll give it a shot

Describe the solution you'd like
I think a good solution would be to create an is condition called linktoexec or something like that so people that want to differentiate their symlinks that link to an executable from a regular link or executable can do that.
Additional context
No response
Validations

[X] I have searched the existing issues
[ ] The latest nightly build of Yazi doesn't already have this feature

It's totally possible; you just need to override the Entity.style method and layer on any conditions you want, like this:
local old_style = Entity.style
Entity.style = function(self)
  local cha, sty = self._file.cha, old_style(self)
  if sty and cha.is_link and cha.is_exec and not cha.is_dir then
    sty:patch(ui.Style():bold():fg("cyan"))
  end
  return sty
end

Doc of Cha: https://yazi-rs.github.io/docs/plugins/types#shared.cha
Doc of Style: https://yazi-rs.github.io/docs/plugins/layout#style

BTW I plan to redesign the filetype handling in Yazi v0.4, similar to how icons work, using cond instead of is. When that's done, you'll be able to achieve this in toml as well.


add shield icon for https verified pages

Add a shield icon next to the title/title URL to indicate when a domain has verified https available.

This pr should add it. Feel free to change the icon
https://github.com/hnssearch/hnssearch-frontend/pull/15


Update bootstrap docs

Changes:

Add Helm repository index caching to bootstrap cheatsheet
Disable Kustomize remote bases on multi-tenant clusters

@hiddeco the QPS is already covered, see https://fluxcd.io/docs/cheatsheets/bootstrap/#increase-the-number-of-workers


Revision of CREATE TABLE doc

Copy edits to parameter definitions and other sections. Structural and copy edits to examples.
Also includes improvements to docs for CREATE DATABASE, RENAME DATABASE, and Indexes.
Fixes #312
@dt or @RaduBerinde, mind taking a quick look?

This change is

There's a note on the data-definition page about check constraints not being ready for prime time and that they are not validated by update statements. Looking at last weeks release notes I think this has been fixed #6753 so maybe the note needs adjusting or removing? @dt @jseldess

Review status: 0 of 4 files reviewed at latest revision, 3 unresolved discussions.

create-table.md, line 108 [r10] (raw file):

  INDEX supp_id_prod_status_idx (supplier_id, product_status)
);
CREATE TABLE

Is this a stray line?

Comments from Reviewable

Review status: 0 of 4 files reviewed at latest revision, 3 unresolved discussions.

create-table.md, line 34 [r10] (raw file):
Previously, dt (David Taylor) wrote…
> I think "Indexes are automatically created for columns with the `PRIMARY KEY`" is a little bit misleading -- an index isn't *created* for `PRIMARY KEY` really, and wording it this way may reinforce the (erroneous) idea that omitting it somehow saves on space or indexing costs.
>
>
>
> Maybe something like "as a result of how CockroachDB stores rows, the  column(s) of the PRIMARY KEY are automatically indexed" or something to that effect might avoid the confusion?

Sorry, I remember you explaining this earlier. I've reframed this: We now state that every table requires a primary key. There's also a note about it not adding additional space.

create-table.md, line 60 [r10] (raw file):
Previously, dt (David Taylor) wrote…
> I might add something to basically saying that a PRIMARY KEY is _required_ because of how we store rows, which is why we add the extra field when it is missing (which should also hopefully suggest to the reader that they should really be specifying their own).

Changed as described above. Name was misleading, too, so changed to "Create a Table (No Primary Key Defined)".

create-table.md, line 108 [r10] (raw file):
Previously, RaduBerinde wrote…
> Is this a stray line?

Not there anymore. I think you must've been looking at an earlier commit. I have to get better at squashing those. Sorry about that.

Comments from Reviewable

Review status: 0 of 4 files reviewed at latest revision, 3 unresolved discussions.

create-table.md, line 108 [r10] (raw file):
Previously, jseldess wrote…
> Not there anymore. I think you must've been looking at an earlier commit. I have to get better at squashing those. Sorry about that.

Ah no I get it now, this `CREATE TABLE` is the "output" of the command. It's a bit confusing, it would be great if we could somehow visually distinguish from what we send and what is received.

Comments from Reviewable

create-table.md, line 108 [r10] (raw file):
Previously, RaduBerinde wrote…
> Ah no I get it now, this `CREATE TABLE` is the "output" of the command. It's a bit confusing, it would be great if we could somehow visually distinguish from what we send and what is received.

Yeah, I agree that's confusing. I've used `>` to indicate a command. Hopefully that helps.

Comments from Reviewable

Thanks, Paul. I removed that warning and added another stating that you shouldn't rename a column that has a check constraint.
Previously, uptimeDBA (Paul Steffensen) wrote…
> There's a note on the data-definition page about check constraints not being ready for prime time and that they are not validated by update statements. Looking at last weeks release notes I think this has been fixed [#6753](https://github.com/cockroachdb/cockroach/pull/6753) so maybe the note needs adjusting or removing? @dt @jseldess

Review status: 0 of 4 files reviewed at latest revision, 3 unresolved discussions.

Comments from Reviewable

Previously, jseldess wrote…
> Thanks, Paul. I removed that warning and added another stating that you shouldn't rename a column that has a check constraint.

Review status: 0 of 6 files reviewed at latest revision, 4 unresolved discussions.

create-table.md, line 34 [r10] (raw file):
Previously, jseldess wrote…
> Sorry, I remember you explaining this earlier. I've reframed this: We now state that every table requires a primary key. There's also a note about it not adding additional space.

:thumbsup:

data-definition.md, line 229 [r12] (raw file):

## Indexes

Indexes are used to quickly locate data without having to look through every row of a table. They can be created during table creation ([`CREATE TABLE`](create-table.html)) or separately using the [`CREATE INDEX`](create-index.html) statement. During table creation, indexes are automatically created for the primary key of a table and any columns with a unique constraint.

nit: this contradicts the above where we say primary doesn't actually create an additional index, but it's probably ok.

Comments from Reviewable

data-definition.md, line 229 [r12] (raw file):
Previously, dt (David Taylor) wrote…
> nit: this contradicts the above where we say primary doesn't actually *create* an additional index, but it's probably ok.

Tweaked a bit.

Comments from Reviewable


Update PDPageContentStream.java

This  function writes bytes as ascii characters directly to the page.
For use cases where only ascii text needs to be written, this solves a few problems:

Avoids the "No glyph for X" issue (eg https://stackoverflow.com/questions/42228567/remove-illegal-characters-from-string-with-pdfbox).
While it's possible to pre-process text before using showText(), this means the data will be looped through at least twice since PDFont.encode() loops the text.
Preforms better. Everything can be kept as bytes without having to go to text

Benchmarks vs showText():
2000 page pdf: showText(): 579ms / writeAscii(): 419ms
1000 page pdf: showText(): 283ms / writeAscii(): 193ms

This repository is a read only mirror. But the biggest problem is that your code won't work with subsetted type 0 fonts.

This function writes bytes as ascii characters directly to the page.

PDF doesn't support a literal ASCII encoding, so no it doesn't. What you'll get is a malformed result that sometimes works for certain fonts.

Avoids the "No glyph for X" issue (eg https://stackoverflow.com/questions/42228567/remove-illegal-characters-from-string-with-pdfbox).

What you've done is to allow the generation of broken PDFs with missing glyphs.

While it's possible to pre-process text before using showText(), this means the data will be looped through at least twice since PDFont.encode() loops the text.

That's better than generating broken PDFs with malformed encodings.

Preforms better. Everything can be kept as bytes without having to go to text

Performs better... by being fundamentally broken. That's not an improvement.
Sorry but this patch just breaks things.

Thanks for the feedback. I see this will only work with PDType1 fonts in a specific case.
I thought this would accomplish much the same as:

contentStream.showText(string) -> COSWriter.writeString(font.encode(text), super.getOutput());

where COSWRiter.writeString writes bytes directly to the outputstream, but without needing to have have my text as a string.

PDType1 fonts where the text is ascii

Sort of but not really, because PDF doesn't support ASCII, it supports "WinAnsiEncoding", which is Windows-1252. So there's no sucking thing as writing an ASCII string to a PDF, it can't be done.


Push amount has to be lower than maximumPaymentSat otherwise no room for commitment fee

As an example, if maximumPaymentSat is 100k and a user request a payment of 100k, Dunder will gladly accept and settle the HTLCs, but the actual channel opening will always fail, because there needs to be room for the channel commitment fee, which won't be the case if push amount is 100k

Mitigated by b7d870e, although not sure if this is an appropriate long-term fix.


Facing challenge in helo world program

FAILED: Build did NOT complete successfully (0 packages loaded)
(base) Anubhaws-MacBook-Air:mediapipe-master anubhaw$ bazel build //mediapipe/examples/desktop/hello_world:hello_world
ERROR: /private/var/tmp/_bazel_anubhaw/8e99138d08bb6f81a978157c068090b1/external/local_config_cc/BUILD:48:19: in cc_toolchain_suite rule @local_config_cc//:toolchain: cc_toolchain_suite '@local_config_cc//:toolchain' does not contain a toolchain for cpu 'darwin_x86_64'
ERROR: Analysis of target '//mediapipe/examples/desktop/hello_world:hello_world' failed; build aborted: Analysis failed

See https://github.com/google/mediapipe/issues/31


Cleaning script fix: remove all folders created by fc-ctrd

Fixes one of the issues mentioned in #121
Fix CRI runner name collision
Add restart runner functionality

Signed-off-by: Dmitrii Ustiugov<EMAIL_ADDRESS>

lgtm


New version: JetBrains.TeamCity version 2023.11.1

[ ] Have you signed the Contributor License Agreement?
[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] This PR only modifies one (1) manifest
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.5 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Hi @PckgrBot,

Current manifest version 2023.11 has 2 parameters, which is less than this PR's version number 2023.11.1's 3 parameters.

Is this intentional?
(Automated response - build 486)


Quantization error "Warning: Applied additional damping" and "Hessian"

 -- Quantizing...
 -- Layer: model.layers.0 (Attention)
 -- Linear: model.layers.0.self_attn.q_proj -> 0.25:4b_32g/0.75:2b_32g s4, 2.63 bpw
 -- Linear: model.layers.0.self_attn.k_proj -> 0.05:3b_32g/0.95:2b_32g s4, 2.19 bpw
 -- Linear: model.layers.0.self_attn.v_proj -> 0.2:6b_32g/0.8:3b_32g s4, 3.74 bpw
 -- Linear: model.layers.0.self_attn.o_proj -> 0.05:3b_32g/0.95:2b_32g s4, 2.19 bpw
 -- Layer rfn_error: 0.012080
 -- Module quantized, time: 17.02 seconds
 -- Layer: model.layers.0 (MLP)
 -- Linear: model.layers.0.mlp.gate_proj -> 1.0:4b_128g s4, 4.03 bpw
 -- Linear: model.layers.0.mlp.up_proj -> 1.0:4b_128g s4, 4.03 bpw
 -- Linear: model.layers.0.mlp.down_proj -> 0.1:4b_32g/0.9:3b_32g s4, 3.23 bpw
 -- Layer rfn_error: 0.024482
 -- Module quantized, time: 9.09 seconds
 -- Layer: model.layers.1 (Attention)
 -- Linear: model.layers.1.self_attn.q_proj -> 0.05:3b_32g/0.95:2b_32g s4, 2.19 bpw
 -- Linear: model.layers.1.self_attn.k_proj -> 0.05:3b_32g/0.95:2b_32g s4, 2.19 bpw
 -- Linear: model.layers.1.self_attn.v_proj -> 0.2:6b_32g/0.8:3b_32g s4, 3.74 bpw
 -- Linear: model.layers.1.self_attn.o_proj -> 1.0:4b_32g s4, 4.13 bpw
 !! Warning: Applied additional damping
 !! Warning: Applied additional damping
 !! Warning: Applied additional damping
 !! Warning: Applied additional damping
 !! Warning: Applied additional damping
 !! Warning: Applied additional damping
 !! Warning: Applied additional damping
 !! Warning: Applied additional damping
 !! Warning: Applied additional damping
 !! Warning: Applied additional damping
Traceback (most recent call last):
  File "D:\exllamav2\conversion\adaptivegptq.py", line 257, in prepare
    hessian_inv = torch.linalg.cholesky(hessian)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
torch._C._LinAlgError: linalg.cholesky: The factorization could not be completed because the input is not positive-definite (the leading minor of order 1 is not positive-definite).

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "D:\exllamav2\convert.py", line 300, in <module>
    quant(job, save_job, model)
  File "D:\exllamav2\conversion\quantize.py", line 639, in quant
    do_quant(module.o_proj, quantizers["o_proj"], qparams[module.o_proj.key], job)
  File "D:\exllamav2\conversion\quantize.py", line 439, in do_quant
    if not skip_prep: lq.prepare()
                      ^^^^^^^^^^^^
  File "D:\exllamav2\conversion\adaptivegptq.py", line 288, in prepare
    raise ValueError("Hessian is not invertible")
ValueError: Hessian is not invertible

I'm just getting into quantization and can't found similar issue, any help?

Could you list your device configuration?

Could you list your device configuration and what model are you trying to quant?

Well, it looks like just a random issue with no sense, I dont change anything and exactly same command, sometimes it will process 10 minutes and jump same error, and sometimes it will work fine
I used E5 2676V3+x99motherboard+16G ddr4 2133+4*3090, model is tinyllama 1.1B


feat: "multi" support for SocketConnector.serverToSocket

- What I did

Added multi parameter to SocketConnector.serverToSocket - whether to create new connections on the "B" side every time there is a new "A" side connection to the bound server port.
Also added onConnect parameter, so that callers can be informed when every new connection is made, and can thus take whatever action they need to.
feat: Added grace period so that SocketConnector doesn't close until both
(a) initial timeout has expired and (b) number of established connections
is zero or has dropped to zero
build: updated version and CHANGELOG for v2.1.0
test: added tests for multi feature

- How to verify it
Tests pass

Published v2.1.0 to pub.dev


⚠ Bofrost.be has degraded performance

In 7a6a60e, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1862 ms

Resolved: Bofrost.be performance has improved in 5f28842 after 6 minutes.