Regex Prefixes?

I see that the prefix given is internally turned into a regular expression. Would it be possible to give the option to provide a regular expression for a prefix instead? Technically, adding an option for aliases would work, too.

How would you express a regular expression prefix to the user? And how would you set one in a guild?

For the first question, the randexp module could possibly be used for examples, and/or the regex itself could be shown.
As for the second, if the issue is distinguishing a normal prefix from a normal one, I suppose either ending the command with /r or surrounding the expression with   or / / could work. these would rule out prefixes with those characteristics, though. A separate command could be used, instead? Then it could work alongside a normal prefix?

And what would be the purpose of this in the first place?

For example, a user would be able to specify multiple prefixes with /bot|robot|hey/i, or they could specify optional parts of the prefix with /(hey )?bot,?/. Of course, these could also be done with allowing multiple prefixes.


E-Filing Form Edits & Validations

[x] config updates (removal of field, adding new fields, changing Heading names, update vaildations and followup in scrutiny and admission views @TusharKatiyar2002

[x] Multi file upload input handling on save draft @ashishbeehyv

[x] Follow up in case PDF with changes in fields @utpalBeehyv

[x] pdf-service endpoint to combine diff files @vaibhavct

11. E-Filing Form and Validations.pdf

@vaibhavct please find the checklist here
Checklist of Documents for E.pdf

Test cases:
https://docs.google.com/spreadsheets/d/1e2krQ87AOZF2zmZWzpbJD-Cz77vT0imwiKnT6UnRdoY/edit?gid=1928247483#gid=1928247483

we have known issue for this ticket, I'm moving this ticket to UAT with known issue.
reference:
#2172


Segmentation Fault on Single File Data Interface

I have a stream configured to read from an MRT file using
self.stream = BGPStream()
self.stream.set_data_interface("singlefile")
self.stream.set_data_interface_option("singlefile", "upd-file", file_path)

Whenever I try to access the elements from the stream, either by using
self.stream.__iter__()

or
for elem in self.stream:
  ...

I get a "Segmentation Fault (Core Dumped)" message.
I have also tried changing the data_interface with no success.

Hey Rafael , thanks for using bgpstream! To help us reproduce this problem, can you provide some more extra information?

version of libbgpstream
version of pybgpstream
the link to the mrt file you are trying to parse

For using libbgpstream2.0 and pybgpstream (recommended version), you can check out this example script:
https://bgpstream.caida.org/docs/api/pybgpstream/pybgpstream.html#example
More tutorials can be found here:
https://bgpstream.caida.org/docs/tutorials/pybgpstream

Thanks for the quick response!
I have both libbgpstream and pybgpstream on v2.0.0. I am trying to parse a BGP Update from the RouteViews project, found here.


First try at moving isimplicit to declaration from method.

I have yet to add a test.
.
Please see if I am going in right direction or not.
Also, i was a bit confused by the 2 fields IsImplicit and IsExplicit. I think they should be opposite of each other but they are implemented separately. Also I could not find a WalkRecord which fills the IsExplicit field.

@genuinelucifer I am discussing about IsExplicit/IsImplicit with @tritao . In the mean time, please convert your tabs to 4 spaces and add () to D->isImplicit in Parser.cpp. The latter is not a field but a function, I am pretty sure your code does not compile at the moment. You can also start with the test. We have a special test project for checking the obtained AST, CppSharp.Generator.Tests. You can see how it works in the existing tests.

@genuinelucifer thank you for your work. Let me know when you are ready for a new task.

@ddobrev Pls provide me a new task to work on.

@genuinelucifer since you are more experienced now compared to 3 or 4 months ago, would you liek to try the one for StringBuilder (https://github.com/mono/CppSharp/issues/508) again?

@ddobrev I'll definitely try that one again.  I guess their will be a few
doubts in that issue. I'll try first and then ask you about those.


helm recipe

Component(s)
helm
Component version
f8fa7c3e86636fdb031a624367cd0b8e86f63896
wgc version
n/a
controlplane version
n/a
router version
n/a
What happened?
❯ helm install cosmo oci://ghcr.io/wundergraph/cosmo/helm-charts/cosmo --version 0.8.0

Pulled: ghcr.io/wundergraph/cosmo/helm-charts/cosmo:0.8.0
Digest: sha256:be0db0c11935fc9f2a1c6d577e6ffc2611f75f9b64faba41294561c7cec8c821
coalesce.go:289: warning: destination for cosmo.router.global.helmTests is a table. Ignoring non-table value (false)
W0821 10:51:02.399468   12389 warnings.go:70] spec.template.spec.containers[0].env[7]: hides previous definition of "KEYCLOAK_DATABASE_PASSWORD", which may be dropped when using apply
Error: INSTALLATION FAILED: failed post-install: 1 error occurred:
	* timed out waiting for the condition```

I tried on 2 different Mac machines one behind a proxy and one without a proxy and I got the same results.

❯ minikube version
minikube version: v1.33.1
commit: 5883c09216182566a63dff4c326a6fc9ed2982ff
❯ docker --version
Docker version 27.1.1, build 6312585

### Environment information

## Environment
OS: (e.g., "Ubuntu 20.04")
Package Manager: pnpm, npm, yarn, etc
Compiler(if manually compiled): (e.g., "go 14.2")

### Router configuration

_No response_

### Router execution config

_No response_

### Log output

_No response_

### Additional context

_No response_

Hi @sbilello, thanks for reporting, I will have a look.
Can you check if containers are starting inside your cluster?

Thanks for the logs, did you try using kapp to deploy?
The helm charts heavily rely on kapp when started in the default setup.
You might want to check these files for further reference:

https://github.com/wundergraph/cosmo/blob/main/helm/Makefile#L36
https://github.com/wundergraph/cosmo/blob/f8fa7c3e86636fdb031a624367cd0b8e86f63896/helm/Makefile#L6

Apart from that using make full-demo-up can also be used for local testing.

HI @sbilello, did you follow this example https://github.com/wundergraph/cosmo/tree/main/examples/full-cosmo-helm?

Now, It is starting up in my private laptop by the way in my company laptop that works under a proxy. I have
I tried to run just make under cosmo directory
! graphqlmetrics Warning   Get "https://ghcr.io/v2/": http: server gave HTTP response to HTTPS client                                                                   0.8s
[+] Building 1.2s (10/10) FINISHED                                                                                docker:desktop-linux
 => [otelcollector internal] load build definition from Dockerfile                                                                                0.1s
 => => transferring dockerfile: 998B                                                                                0.0s
 => [graphqlmetrics internal] load build definition from Dockerfile                                                                                0.0s
 => => transferring dockerfile: 789B                                                                                0.0s
 => [cdn internal] load build definition from Dockerfile                                                                                0.1s
 => => transferring dockerfile: 866B                                                                                0.0s
 => [keycloak internal] load build definition from Dockerfile                                                                                0.1s
 => => transferring dockerfile: 402B                                                                                0.0s
 => ERROR [graphqlmetrics internal] load metadata for gcr.io/distroless/base-debian12:latest                                                                             1.0s
 => CANCELED [otelcollector internal] load metadata for docker.io/library/golang:1.21                                                                                1.1s
 => CANCELED [cdn internal] load metadata for docker.io/library/node:lts-slim                                                                                1.1s
 => CANCELED [cdn internal] load metadata for docker.io/library/node:lts                                                                                1.1s
 => CANCELED [keycloak internal] load metadata for docker.io/bitnami/keycloak:25.0.2                                                                                1.1s
 => CANCELED [keycloak internal] load metadata for docker.io/timbru31/java-node:11-jdk-18                                                                                1.1s
------
 > [graphqlmetrics internal] load metadata for gcr.io/distroless/base-debian12:latest:
------
failed to solve: gcr.io/distroless/base-debian12: failed to resolve source metadata for gcr.io/distroless/base-debian12:latest: unexpected status from HEAD request to https://gcr.io/v2/distroless/base-debian12/manifests/latest: 401 Unauthorized
make[1]: *** [dc-dev] Error 17
make: *** [dev-setup] Error 2
➜  cosmo git:(main) ✗

There are a bunch of places where the docker file performs curl and lookup I fixed some of them now it got stuck there

Those logs are very unusual. It feels to me like a local issue. I tried the example and it works for me. Could you check that you have latest docker, helm and minikube installed?

➜  cosmo git:(main) ✗ make
go install<EMAIL_ADDRESS>go install<EMAIL_ADDRESS>go install<EMAIL_ADDRESS>go install<EMAIL_ADDRESS>go install<EMAIL_ADDRESS>go install<EMAIL_ADDRESS>go install<EMAIL_ADDRESS>go version
go version go1.23.0 darwin/arm64
pnpm -v
8.15.9
node -v
v22.6.0
docker -v
Docker version 27.1.2, build d01f264bcc
dbmate -v
dbmate version 2.6.0
pnpm install
Scope: all 12 workspace projects
Lockfile is up to date, resolution step is skipped
Already up to date
studio postinstall$ pnpm run copy-monaco
│ ><EMAIL_ADDRESS>copy-monaco /Users/nsz933/Documents/repositories/cosmo/studio
│ > rm -rf public/monaco-editor && mkdir -p public/monaco-editor/min && cp -r node_modules/monaco-editor/min/vs public/monaco-editor/min
└─ Done in 1.4s
Done in 4.3s
pnpm generate

><EMAIL_ADDRESS>generate /Users/nsz933/Documents/repositories/cosmo
> pnpm buf generate --path proto/wg/cosmo/platform --path proto/wg/cosmo/notifications --path proto/wg/cosmo/common --path proto/wg/cosmo/node --template buf.ts.gen.yaml && pnpm -r run --filter './connect' build

><EMAIL_ADDRESS>build /Users/nsz933/Documents/repositories/cosmo/connect
> del dist && tsc

make generate-go
rm -rf router/gen && buf generate --path proto/wg/cosmo/node --path proto/wg/cosmo/common --path proto/wg/cosmo/graphqlmetrics --template buf.router.go.gen.yaml
rm -rf graphqlmetrics/gen && buf generate --path proto/wg/cosmo/graphqlmetrics --path proto/wg/cosmo/common --template buf.graphqlmetrics.go.gen.yaml
make infra-up
docker compose --file docker-compose.yml --profile dev up --remove-orphans --detach
WARN[0000] /Users/nsz933/Documents/repositories/cosmo/docker-compose.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion
[+] Running 1/1
 ! graphqlmetrics Warning Get "https://ghcr.io/v2/": EOF                                                                                0.7s
[+] Building 0.9s (10/10) FINISHED                                                                                docker:desktop-linux
 => [otelcollector internal] load build definition from Dockerfile                                                                                0.0s
 => => transferring dockerfile: 998B                                                                                0.0s
 => [keycloak internal] load build definition from Dockerfile                                                                                0.0s
 => => transferring dockerfile: 402B                                                                                0.0s
 => [cdn internal] load build definition from Dockerfile                                                                                0.0s
 => => transferring dockerfile: 866B                                                                                0.0s
 => [graphqlmetrics internal] load build definition from Dockerfile                                                                                0.0s
 => => transferring dockerfile: 789B                                                                                0.0s
 => CANCELED [otelcollector internal] load metadata for docker.io/library/golang:1.21                                                                                0.8s
 => ERROR [graphqlmetrics internal] load metadata for gcr.io/distroless/base-debian12:latest                                                                             0.8s
 => CANCELED [keycloak internal] load metadata for docker.io/bitnami/keycloak:25.0.2                                                                                0.8s
 => CANCELED [keycloak internal] load metadata for docker.io/timbru31/java-node:11-jdk-18                                                                                0.8s
 => CANCELED [cdn internal] load metadata for docker.io/library/node:lts-slim                                                                                0.8s
 => CANCELED [cdn internal] load metadata for docker.io/library/node:lts                                                                                0.8s
------
 > [graphqlmetrics internal] load metadata for gcr.io/distroless/base-debian12:latest:
------
failed to solve: gcr.io/distroless/base-debian12: failed to resolve source metadata for gcr.io/distroless/base-debian12:latest: unexpected status from HEAD request to https://gcr.io/v2/distroless/base-debian12/manifests/latest: 403 Forbidden
make[1]: *** [dc-dev] Error 17
make: *** [dev-setup] Error 2
➜  cosmo git:(main) ✗

➜  cosmo git:(main) ✗ docker --version
Docker version 27.1.2, build d01f264bcc

I solved a bunch of issues by pointing them out to the proxy but it would be better if we could build a self-contained image that doesn't look up resources around via curl and it has all the dependencies required.
For example inside the graphqlmetrics dockerfile there is a go mod download  operation.
I tried specifying the HTTP_PROXY and the GO_PROXY variables inside the Dockerfile but unfortunately, it continues to lookup to https://proxy.golang.org

These lines provides issue behind a proxy
https://github.com/wundergraph/cosmo/blob/main/graphqlmetrics/Dockerfile#L15
https://github.com/wundergraph/cosmo/blob/main/otelcollector/Dockerfile#L9
Is there a way to have such images self-contained?

I found a workaround by publishing Docker images with the necessary dependencies from my ARM architecture laptop to Docker Hub, and then creating a modified docker-compose file.
I recommend making Docker images for different architectures readily available. This would significantly reduce troubleshooting time and help users avoid challenges related to proxy settings.

Hi @sbilello thanks for the report. We will take a look and ensure that the local experience is smooth across the board. I just recognized you run make in the root of the repository. This flow hasn't been tested behind proxies and is only used by developers of Cosmo. If you want to try out Cosmo, we recommend to use the final images. There is no need to built them in your example. We already build images for linux/amd64 and linux/arm64, example

@sbilello in https://github.com/wundergraph/cosmo/pull/1108 we improved the DX by falling back to remote images that are available in both architectures. This should avoid building them from scratch unless you have to.


Add MV trigger channel to acqmon hits

What does the code in this PR do / what does it improve?
Add channel 797 to the aqmon chain
Can you briefly describe how it works?
Add a channel

Coverage increased (+0.04%) to 93.919% when pulling 7e66f9da6801d33594dead7b1afc462d10c847fb on MV-trigger-to-acqmon into ddcd15c7f478ec2d32d702ab23f04d48dbe8023d on master.


feat: Are you interested in adding Valibot?

Is your feature request related to a problem? Please describe.
Valibot is a new schema library, similar to Zod, but with a much smaller bundle size and probably better performance in real world scenarios. Are you interested in adding Valibot to create-t3-app?
Valibot announcement post: https://www.builder.io/blog/introducing-valibot
Describe the solution you'd like to see
Add Valibot as an alternatvie to Zod.
Describe alternate solutions
Add Valibot once v1 is reached.
Additional information
No response

I saw Valibot on twitter a few days ago, looks exciting! Definitely interested, especially if/once there is a significant TS server performance benefit over Zod despite (near-)feature parity - the bundle size difference is not nearly as big a deal. But IMO the right order of events here is that a few key libraries like tRPC, react-hook-form, etc. get first class support for Valibot, and then we look at adding it here.

Thank you for your feedback. I agree with you. For tRPC I have already submitted the corresponding PR and for React Hook Form a community member will do it. I'll probably report back here in September after Valibot is integrated into more projects and I've done some more performance research.

trpc(https://trpc.io/docs/server/validators#with-valibot)  and react-hook-form (https://github.com/react-hook-form/resolvers/pull/602) already support Valibot

Definitely want it here as on https://github.com/t3-oss/t3-env/issues/6 😃
Valibot documentation is super neat!

A few schema library authors are currently working on a common interface. This may allow CT3A to support any schema library that supports this interface in the future. This will simplify the integration of schema libraries and prevent vendor lock-in, which could lead to more innovation in the long run.


fix(marking): sliders ignore step on continuously update (primeng issue)

workaround for #22 as it is a Primeng issue.
For the marking slider, this is a fix: this is useless to update the mark (REST query) while sliding.
For the two other slides, one should be able to see the image updated while sliding, but I prefer seeing at the end of the sliding rather than seeing the image blinking because primeng updates too much the value of the sliders.

I prefer this one as onslideend does not work if you just click to change the value on the slider on chrome
https://github.com/correctexam/corrigeExamFront/pull/25

Sure


proxtx-clipper: init at unstable-2024-02-17

Description of changes
Adding proxtx-clipper: clip-bot that allows you to clip the last 30 seconds of audio in a voicechat.

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

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

You need to squash your commits

Why isn't it possible to use the squash when merge option?

Why isn't it possible to use the squash when merge option?

It's not enabled on this repo, and it's really not hard to just interactively rebase.

Why isn't it possible to use the squash when merge option?

It's not enabled on this repo, and it's really not hard to just interactively rebase.

Ok I just was curious. I will squash it once I'm on my PC again.


[transaction data] UX discovery + user testing on showing fees & asset details

For regulatory and UX best practices, we currently default to showing as much transaction information as possible. This ensures maximum transparency and compliance, and also makes sure the user has the information they need to make an informed decision on a financial transaction.
There has been feedback from the Solutions team on how the presentation of fees and asset details may be confusing for some web2 users and the assumption is that could be influencing their purchase decision.
The objective of this ticket is to have a discovery meeting with the solutions team (Liam, Timmy, Ananth) to better understand their feedback and workshop other possible ways to present this information. A second objective would be to test any UX changes with users to evaluation how fees and asset details impact purchase decision.

Various comments from discord:

this was resolved with other issues


Possible bug in Sparse Matrix creation

I came across this while trying to figure out why 3D was so much slower than 2D for me. It seems to me that when you do AddSubMatrix in SparseMatrix, the logic searches for 0 using a == 0.0. Now this makes sense when we are using integers but when using double it does not work. So I observed that there were far too many entries being put into the matrix which were E-18, E-19. They should really have been 0. So I changed the condition to
if (skip_zeros && (a == 0.0 || (std::abs(a) <  std::numeric_limits<double>::epsilon()) ))
{
       if (&rows != &cols || (subm(j, i) == 0.0 || (std::abs(subm(j, i)) <  std::numeric_limits<double>::epsilon()) ))
        {
               continue;
        }
}

and it is indeed much faster. Is there a reason for not doing this?

Hi @vikramsg,
Matrices can be scaled in weird ways, so I'm not sure if such a check is a good idea in general. If you want to filter small entries, you can use DenseMatrix::Threshold on the element matrices, or HypreParMatrix::Threshold in parallel.
Cheers,
Tzanio

I think a more flexible solution will be to add a data field, e.g. double zero_threshold to class SparseMatrix and use that in methods that check for zeroes. The default should be zero_threshold = 0.0 and the comparison should use <=, that way the current behavior will be preserved.

I didn't know about HypreParMatrix::Threshold but I think @v-dobrev solution should work better.

I'm closing this issue. We will be interested in a PR following @v-dobrev's suggestion if you'd like to propose one.


README.md ambiguity

@Michael-N  The readme does not define what the root directory is. Can we clarify it? Is the www directory the root? (for the server? 'Cause if it is, I can write a script to automatically redirect you to the index HTML file...

Issues fixed in past two commits and recent pull request.


It is very tedious to increase/decrease colorSlider on iOS w/ VO

📝 Feedback
ColorSlider/ColorArea/ColorWheel increases/decreases by only 1 on each swipe up/down when using voiceover on iOS. There doesn't seem to be any way to increase this increment. This makes it very tedious to increase/decrease the value.
You can use tap and hold to move the slider but there is no audible feedback on the new value when using this method so it doesn't really work well.
🔦 Context

💻 Code Sample
https://react-spectrum.adobe.com/react-spectrum/ColorSlider.html
🌍 Your Environment

Software
Version(s)

[Package name]
ColorSlider/ColorArea/ColorWheel

Browser
Safari

Operating System
iOS 16.3.1

🧢 Your Company/Team

Thanks James. Do you have any suggestions on how we can improve this?

@jnurthen and @dannify I see this as a VoiceOver on iOS problem. The behavior can be reproduced using any input[type="range"] which is used to handle increment and decrement in our Slider, RangeSlider and ColorSlider controls.  VoiceOver does not announce the value changes when a user interacts using tap and hold to move the slider.

Experiment with using live-announcer to announce values when dragging.


[GOBBLIN-2030] Integrate AutoTroubleshooter with Temporal

Dear Gobblin maintainers,
Please accept this PR. I understand that it will not be reviewed until I have checked off all the steps below!
JIRA

[ ] My PR addresses the following Gobblin JIRA issues and references them in the PR title. For example, "[GOBBLIN-XXX] My Gobblin PR"

https://issues.apache.org/jira/browse/GOBBLIN-XXX

Description

[ ] Here are some details about my PR, including screenshots (if applicable):

Tests

[ ] My PR adds the following unit tests OR does not need testing for this extremely good reason:

Commits

[ ] My commits all reference JIRA issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

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

Project coverage is 41.24%. Comparing base (ed66943) to head (0a76f95).
Report is 3 commits behind head on master.

Files
Patch %
Lines

...emporal/ddm/activity/impl/ProcessWorkUnitImpl.java
0.00%
19 Missing :warning:

...dm/workflow/impl/ProcessWorkUnitsWorkflowImpl.java
0.00%
4 Missing :warning:

...rk/EagerFsDirBackedWorkUnitClaimCheckWorkload.java
0.00%
2 Missing :warning:

.../gobblin/temporal/ddm/work/WorkUnitClaimCheck.java
0.00%
1 Missing :warning:

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #3908      +/-   ##
============================================
- Coverage     46.62%   41.24%   -5.39%
+ Complexity    11220     2193    -9027
============================================
  Files          2241      475    -1766
  Lines         88336    20194   -68142
  Branches       9672     2339    -7333
============================================
- Hits          41189     8329   -32860
+ Misses        43437    10980   -32457
+ Partials       3710      885    -2825

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


Jupyter not loading environment variables from 'pew' environment

Environment data

VS Code version: 1.64.2
Jupyter Extension version (available under the Extensions sidebar): v2022.1.1201831736
Python Extension version (available under the Extensions sidebar): v2022.0.1814523869
OS (Windows | Mac | Linux distro) and version: macOS Monterey 12.1
Python and/or Anaconda version: 3.6.9
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): venv
Jupyter server running: Local

Expected behaviour
All of the jupyter.runStartupCommands in my settings.json are supposed to run cleanly. One of them imports utility functions from a custom script in my codebase.
"jupyter.runStartupCommands": [
    "%load_ext autoreload",
    "%autoreload 2",
    "from server.scripts.interactive.__main__ import *",
    "from matplotlib import pyplot",
    "%matplotlib inline"
],

Actual behaviour
That third statement, which is supposed to import stuff, apparently did not run when I started an Interactive Window. I tried running it myself and got an error:
AssertionError: Missing default value or environment variable value for ENVIRONMENT_VARIABLE_REDACTED

My workspace exists in a pew environment with environment variables listed in ~/.local/share/virtualenvs/vbox/.inve.ini. For some reason these environment variables are not imported, and I'm speculating that it prevents the aforementioned import statement from running.
Logs

Output for Jupyter in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Jupyter)

Info 14:37:48: Creating controller for interactive with interpreter ~/.local/share/virtualenvs/vbox/bin/python
Info 14:37:48: Starting interactive window with controller ID ms-toolsai.jupyter/.jvsc74a57bd00fcbb2bb35cd34157a6b11f566cd1216cd71cf67c33b41cd1752cb8565fb4b42./Users/jordanlongstaff/.local/share/virtualenvs/vbox/python./Users/jordanlongstaff/.local/share/virtualenvs/vbox/python.-m#ipykernel_launcher (Interactive)
Info 14:37:48: Setting setActiveController for vscode-interactive:Interactive-1.interactive
Info 14:37:48: Creating controller for interactive with interpreter ~/.local/share/virtualenvs/vbox/bin/python
Info 14:37:48: TargetController found ID: .jvsc74a57bd00fcbb2bb35cd34157a6b11f566cd1216cd71cf67c33b41cd1752cb8565fb4b42./Users/jordanlongstaff/.local/share/virtualenvs/vbox/python./Users/jordanlongstaff/.local/share/virtualenvs/vbox/python.-m#ipykernel_launcher (Interactive) for document vscode-interactive:Interactive-1.interactive
Info 14:37:48: Setting controller affinity for vscode-interactive:Interactive-1.interactive .jvsc74a57bd00fcbb2bb35cd34157a6b11f566cd1216cd71cf67c33b41cd1752cb8565fb4b42./Users/jordanlongstaff/.local/share/virtualenvs/vbox/python./Users/jordanlongstaff/.local/share/virtualenvs/vbox/python.-m#ipykernel_launcher (Interactive)
Info 14:37:48: Process Execution: > ~/.local/share/virtualenvs/vbox/bin/python -m pip list
> ~/.local/share/virtualenvs/vbox/bin/python -m pip list
Info 14:37:48: Starting Notebook in kernel.ts id = .jvsc74a57bd00fcbb2bb35cd34157a6b11f566cd1216cd71cf67c33b41cd1752cb8565fb4b42./Users/jordanlongstaff/.local/share/virtualenvs/vbox/python./Users/jordanlongstaff/.local/share/virtualenvs/vbox/python.-m#ipykernel_launcher
Info 14:37:48: Creating raw notebook for vscode-interactive:Interactive-1.interactive
Info 14:37:48: Getting preferred kernel for vscode-interactive:Interactive-1.interactive
Info 14:37:48: Computing working directory vscode-interactive:Interactive-1.interactive
Info 14:37:48: Starting raw kernel vbox (Python 3.6.9)
Info 14:37:48: installMissingDependencies ~/.local/share/virtualenvs/vbox/bin/python
Info 14:37:48: IPykernel found previously in this environment ~/.local/share/virtualenvs/vbox/bin/python
Info 14:37:48: Process Execution: > ~/.local/share/virtualenvs/vbox/bin/python -c "import ipykernel; print(ipykernel.__version__); print("5dc3a68c-e34e-4080-9c3e-2a532b2ccb4d"); print(ipykernel.__file__)"
> ~/.local/share/virtualenvs/vbox/bin/python -c "import ipykernel; print(ipykernel.__version__); print("5dc3a68c-e34e-4080-9c3e-2a532b2ccb4d"); print(ipykernel.__file__)"
Info 14:37:48: Kernel launching with ports 9000,9001,9002,9003,9004. Start port is 9000
Info 14:37:48: No custom variables for Kernel as interpreter is not conda, but is Venv
Info 14:37:48: Process Execution: > ~/.local/share/virtualenvs/vbox/bin/python -m ipykernel_launcher --ip=<IP_ADDRESS> --stdin=9003 --control=9001 --hb=9000 --Session.signature_scheme="hmac-sha256" --Session.key=b"33a797f9-4c30-4aa3-bba1-a3e2710bec09" --shell=9002 --transport="tcp" --iopub=9004 --f=/var/folders/g8/92bxgvv513v7nr_44jx8x3t80000gn/T/tmp-8566alEAjYCx5WY6.json
> ~/.local/share/virtualenvs/vbox/bin/python -m ipykernel_launcher --ip=<IP_ADDRESS> --stdin=9003 --control=9001 --hb=9000 --Session.signature_scheme="hmac-sha256" --Session.key=b"33a797f9-4c30-4aa3-bba1-a3e2710bec09" --shell=9002 --transport="tcp" --iopub=9004 --f=/var/folders/g8/92bxgvv513v7nr_44jx8x3t80000gn/T/tmp-8566alEAjYCx5WY6.json
Info 14:37:48: Process Execution: cwd: ~/workspace
cwd: ~/workspace
Info 14:37:50: Kernel Output: NOTE: When using the `ipython kernel` entry point, Ctrl-C will not work.

To exit, you will have to explicitly quit this process, by either sending
"quit" from a client, or using Ctrl-\ in UNIX-like environments.

To read more about this, see https://github.com/ipython/ipython/issues/2049

To connect another client to this kernel, use:
    --existing /var/folders/g8/92bxgvv513v7nr_44jx8x3t80000gn/T/tmp-8566alEAjYCx5WY6.json

Info 14:37:50: ipykernel version 5.5.6 for ~/.local/share/virtualenvs/vbox/bin/python
Info 14:37:50: ipykernel location ~/.local/share/virtualenvs/vbox/lib/python3.6/site-packages/ipykernel/__init__.py for ~/.local/share/virtualenvs/vbox/bin/python
Info 14:37:50: Raw session started and connected
Started kernel vbox (Python 3.6.9)
Info 14:37:50: Finished connecting beb6e7d0-3a6f-4aa6-a201-71afe5edfbc5
Info 14:37:51: Executing silently Code (idle) = import sys\nprint(sys.executable)
Info 14:37:51: Executing silently Code (completed) = import sys\nprint(sys.executable)
Info 14:37:51: Executing silently Code (idle) = import site\nsite.addsitedir(site.getusersitepackages())\n%config Completer.use_jedi = False\n%config I
Info 14:37:52: Executing silently Code (completed) = import site\nsite.addsitedir(site.getusersitepackages())\n%config Completer.use_jedi = False\n%config I
Info 14:37:52: Waiting for idle on (kernel): 7d3ad420-493f-4813-b651-cd847c892483 -> idle
Info 14:37:52: Finished waiting for idle on (kernel): 7d3ad420-493f-4813-b651-cd847c892483 -> idle

Thanks for the issue.
Yes we don't support loading the .inve.ini automatically. You have a couple of workarounds;

Set the environment variables you need in your jupyter.runStartupCommands.
Use a .env file instead. This should be working in our latest prerelease version of the jupyter extension
Start VS code from a command line after starting your environment. This means VS code will inherit the environment variables from your environment and then pass them onto the kernel when it starts.

@JordanLongstaff Please could you provide a link to some documentation or the like that shows how and where these init files are loaded by virtual env?
I.e. why do you expect the env variable defined in .inve.ini to be loaded into the kernel process? I understand it works somehow outside VS Code, but what causes this to get loaded, I'm looking for some documentation on this to understand that better.

The virtual environment is loaded in a terminal using pew, which uses inve.

Closing this issue due to lack up upvotes.
Please note: Any environment found and listed by the Python extension will end up getting displayed in the jupyter extension as well


Intuitive editing

Buttons are not consistently recognizable in the design and by that making it very unintuitive> longer time spend navigating the site or even leaving frustrated for first time visitors.
Example:
The editing for the group has a pencil icon as button while the "check and manage pickups " does not have that icon but instead flashes green when i hover over it....but is apart from that not visibly distinguishable from other surfaces that are non clickable.
I would recommend to give all buttons and clickable surfaces a clear design that makes them easy to find...like for example here in github the green buttons.

I made a few changes, mostly to the store page. You can try it out here: https://802-button-highlights--karrot.netlify.com (login with<EMAIL_ADDRESS>password foofoo)

I like it! Although I'm not so sure about the clock icon. I think I'd like the calendar icon better here.

@Quasijojo
Have a look in #807 - what do you think of it?


start in "PLAYER" mode if restore_state is used

done
def check_mode(self):
# after start switch to PLAYER mode
if self.current_mode is None:
if len(self.core.tracklist.tl_tracks.get()) == 0:
self.change_mode(C_MODE_LIBRARY)
else:
self.change_mode(C_MODE_PLAYER)


fixes typo

Self explanatory =)

Wait a bit before merging this one, there are some other fixes for this file on the way

Ok, let me know when it's ready then.

Done!
Can I also make a request? When you have the time, can you add a quick example of how to use predict on the end of the nb? Thanks!

Will do when I get to this tutorial (planning is here).


Test with Tow accounts in organization mode

Hello,
i had already solution deployed in my accounts ( one hub , and all others accounts spokes in my organization ), if I want test new versions of schedule solutions without  interfere with installed stack in my organization , can I just take tow account in my organization and deploy the new version with sperate namespace  it' will be not interfered with others accounts ?
only a operation by namespace is required ?
Thank you in advance.
Regards,
M.B

Yes, you can install a second copy of instance scheduler using a different namespace into the same account and the two should not directly interfere with one another (although for larger deployments they may run into lambda throttling since they will both be sharing the same lambda quota limits)
That said, I would recommend perfoming testing/experimentation of new features in different accounts than your main prod accounts. While Instance Scheduler is designed to be able to run 2 or more copies on the same account, best practice would be to avoid mixing experimental and production workloads.

tank you for reply 👍


افزودن agenda

سلام و خیلی متشکر از زحمتی که کشیدی بابت شمسی کردن تقویم این کامپوننت
اگر ممکن هست زود تر agenda رو هم اضافه کن

@mr-siadati Actually I'm a little busy right now and don't have the time. Most of the code is done but there are some bugs to sort out. You are welcome to make a pull request.

@mr-siadati Hi,   you can use  react-native-calendars-persian package instead that supports Agenda.
react-native-calendars-persian
@rghorbani Thanks for your great job dude.

@rghorbani I try to help others like you! It's open source, be kind buddy ;)

@hadimostafapour It's not right to advertise your module on someone else's repository, especially when it is in the same field.

@hadimostafapour I put a lot of time on making these modules and contributing to other repos despite my work. How would you like if I do the same?

@rghorbani I'm sorry, but I don't think like you. Sorry again.
Keep up the good work ❤


ARM64 supported in PyTorch examples

What this PR does / why we need it: Supports ARM64 for users to try training-example
Which issue(s) this PR fixes (optional, in Fixes #<issue number>, #<issue number>, ... format, will close the issue(s) when PR gets merged):
Fixes #2111

Sorry, I don't know why I had so many issues with rebasing but this one should work.

Sorry, I don't know why I had so many issues with rebasing but this one should work.

No worries, thank you for this contribution!

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
6 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.03%) to 35.383%

Files with Coverage Reduction
New Missed Lines
%

pkg/controller.v1/mpi/mpijob_controller.go
6
80.67%

Totals

Change from base Build<PHONE_NUMBER>:
-0.03%

Covered Lines:
4374

Relevant Lines:
12362

💛  - Coveralls


Add Japanese translation for the app

created  ja.json
Related Issues (closed)
https://github.com/hotwax/bopis/pull/137
Closes https://github.com/hotwax/bopis/issues/139

Thanks for your contribution @itaru-tokuda!


iosevka-comfy no longer builds after upgrade to 0.3.1

Steps To Reproduce
Steps to reproduce the behavior:

check out latest nixos-unstable (f44884060cb94240efbe55620f38a8ec8d9af601)
build iosevka-comfy.comfy using nix build .#iosevka-comfy.comfy or nix-build . -A iosevka-comfy.comfy

Build log
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/8k7893693wqpnfi8s0c9bv8mh2kjicxz-iosevka-15.5.2.tar.gz
source root is Iosevka-15.5.2
setting SOURCE_DATE_EPOCH to timestamp<PHONE_NUMBER> of file Iosevka-15.5.2/verdafile.js
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
@nix { "action": "setPhase", "phase": "configurePhase" }
configuring
@nix { "action": "setPhase", "phase": "buildPhase" }
building

Error: Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/build/Iosevka-15.5.2/font-src/index' imported from /nix/store/b90gfjqlcsrm566fj601im22gbd8685j-iosevka-15.5.2/lib/node_modules/iosevka/node_modules/verda/lib/actions/nodejs/nodejs-call-process.js
Did you mean to import /build/Iosevka-15.5.2/font-src/index.js?
    at new NodeError (internal/errors.js:322:7)
    at finalizeResolution (internal/modules/esm/resolve.js:318:11)
    at moduleResolve (internal/modules/esm/resolve.js:776:10)
    at Loader.defaultResolve [as _resolve] (internal/modules/esm/resolve.js:887:11)
    at Loader.resolve (internal/modules/esm/loader.js:89:40)
    at Loader.getModuleJob (internal/modules/esm/loader.js:242:28)
    at Loader.import (internal/modules/esm/loader.js:177:28)
    at importModuleDynamically (internal/modules/cjs/loader.js:1028:27)
    at exports.importModuleDynamicallyCallback (internal/process/esm_loader.js:30:14)
    at process.<anonymous> (/nix/store/b90gfjqlcsrm566fj601im22gbd8685j-iosevka-15.5.2/lib/node_modules/iosevka/node_modules/verda/lib/actions/nodejs/nodejs-call-process.js:17:52) {
  code: 'ERR_MODULE_NOT_FOUND'
}
    at ChildProcess.<anonymous> (/nix/store/b90gfjqlcsrm566fj601im22gbd8685j-iosevka-15.5.2/lib/node_modules/iosevka/node_modules/verda/lib/actions/nodejs/command.js:53:31)
    at ChildProcess.emit (events.js:400:28)
    at emit (internal/child_process.js:935:14)
    at processTicksAndRejections (internal/process/task_queues.js:83:21)

Additional context
It was working up until #181633 got merged
Notify maintainers
@nagy
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"

 - system: `"x86_64-linux"`
 - host os: `Linux 5.15.58, NixOS, 22.11 (Raccoon), 22.11.20220804.10db1c5`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.10.3`
 - channels(root): `""`
 - channels(vlaci): `""`
 - nixpkgs: `/nix/store/gkwgfc8mhn9p5n529dy1pgvzcvxf1qbl-source`

I am aware of the issue, but it was not caused by my PR, because it is building with the merge commit of the PR:
$ nix-build https://github.com/NixOS/nixpkgs/archive/0d440c18119406feb8a32cd5ec2ff0b83fc9104b.tar.gz -A iosevka-comfy.comfy
/nix/store/zilmqq5132fv26lib5c26gljc12q1n6q-iosevka-comfy-0.3.1

The problem was introduced with commit https://github.com/NixOS/nixpkgs/pull/185101/commits/d763334cb3744e02db3dfe92af8a802b7de6bf27 from PR https://github.com/NixOS/nixpkgs/pull/185101 , which is an unrelated node-packages update. If I revert that commit, it builds again.
You can also see this in Hydra https://hydra.nixos.org/job/nixos/trunk-combined/nixpkgs.iosevka-comfy.comfy.x86_64-linux as there is on working build with version "0.3.1" and then it broke.

For anybody who wants to have a quick workaround for this, wherever you use iosevka-comfy place a "let" block before that like so:
let
  # until https://github.com/NixOS/nixpkgs/issues/185633 is fixed
  iosevka-comfy = (import (pkgs.fetchFromGitHub {
    owner = "NixOS";
    repo = "nixpkgs";
    rev = "0d440c18119406feb8a32cd5ec2ff0b83fc9104b";
    sha256 = "sha256-Fw6zRNBonu9wwVSQ0Cj9zHliw6yChMQPf3GPQFJZ4us=";
  }) { }).iosevka-comfy;
in
# ...

Thank you and sorry for the accusation!

CCing @TredwellGit @SuperSandro2000 @winterqt as they worked on https://github.com/NixOS/nixpkgs/pull/185101.

FWIW, this also affects any other Iosevka custom build made via iosevka.override -- iosevka-comfy is just one such popular custom build. So I believe this would affect anyone else with their own builds, not only users of iosevka-comfy.

FWIW, this also affects any other Iosevka custom build made via iosevka.override (I ran into it in my own builds too) -- iosevka-comfy is just one such popular custom build. So I believe this would affect anyone else with their own builds, not only users of iosevka-comfy.

I can confirm this.  More info here https://github.com/NixOS/nixpkgs/pull/185824#issuecomment-1210287028

With the recent merge of https://github.com/NixOS/nixpkgs/pull/185824 this now builds for me on master.


Basic frontend implementation

Added static routes file
Set index.html as root file
Deleted routes.py
Created index.html

Dependant on #11


Investigate use of Pulumi

Pulumi looks like a much nicer approach and will significantly lower the learning curve while allowing much more powerful development with python. It will take discipline to keep the deployments simple since python allows a lot of abstraction. But overall this is a much saner approach. It checks all my boxes.
CI integration (github actions, azure, gitlab,etc)
has way to view changes after application
allows us to develop our own cli for deployment
supports all cloud providers and uses terraform providers for anything that they do not specifically support
community looks healthier
supports crds in kubernetes which terraform is lacking and would allow us to move away from helm

Will use terraform CDK directly

https://www.hashicorp.com/blog/cdk-for-terraform-enabling-python-and-typescript-support


Supports #73: add port option to serve command

Description
Supports #73
serve command enable to run custom port
Type of Pull Request

[x] Adding a feature
[ ] Fixing a bug
[ ] Maintaining documents
[ ] Others ()

Verify the followings

[x] Code is up-to-date with the main branch
[x] No build errors after npm run build
[x] No lint errors after npm run lint
[x] No errors on using charites help globally
[x] Make sure all the exsiting features working well
[x] Have you updated documentation?

Refer to CONTRIBUTING.MD for more details.

@smellman I released it as v0.1.4 now


⚠ Bofrost.ch has degraded performance

In 14c3f6a, Bofrost.ch (https://www.bofrost.ch) experienced degraded performance:

HTTP code: 200
Response time: 2260 ms

Resolved: Bofrost.ch performance has improved in 523e4ba.


Update SB version

Description
Changes proposed in this pull request:

Update SpringBoot version

Reverted in flavour of https://github.com/kyma-incubator/ord-service/pull/15


Documentation error in cut_tree

Doc here (https://docs.scipy.org/doc/scipy/reference/generated/scipy.cluster.hierarchy.cut_tree.html) reads:
'in the first column each data point is in its own cluster'
I think it should say:
'in the first column every data point is in the same cluster'

Hello, this is my first contribution to the Scipy project. Could I submit the above suggestion?
"in the first column every data point is in the same cluster"

Hello, who would be indicated to confirm the semantics of the text in PR #16201?

This is not correct. Using the Z in the example in the docs:
>>> cluster.hierarchy.cut_tree(Z)[:, 0]
array([ 0,  1,  2,  3,  4,  5,  6,  7,  8,  9, 10, 11, 12, 13, 14, 15, 16,
       17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33,
       34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49])
>>> assert all(
...     cluster.hierarchy.cut_tree(Z)[:, 0]
...     == cluster.hierarchy.cut_tree(Z, n_clusters=Z.size)[:, 0]
... )

I'll close this issue.


proposal: net/http: automatically set Content-Length from Len method on Body

What version of Go are you using (go version)?

$ go version
go version go1.15 darwin/amd64

Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE="on"
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/gaojingyu/Library/Caches/go-build"
GOENV="/Users/gaojingyu/Library/Application Support/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GONOPROXY="*.byted.org"
GONOSUMDB="*.byted.org"
GOOS="darwin"
GOPATH="/Users/gaojingyu/go"
GOPRIVATE="*.byted.org"
GOPROXY="https://go-mod-proxy.byted.org"
GOROOT="/usr/local/Cellar/go/1.13.6/libexec"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/Cellar/go/1.13.6/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/Users/gaojingyu/Tmp/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/r1/fgd1nc4s32zcy8myvl17np8r0000gp/T/go-build991311603=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?
Now in http.NewRequestWithContext
it check wether body type is a *bytes.Buffer,*bytes.Reader or *strings.Reader, then call Len() to get content-length.
What did you expect to see?
Check wether the body type implement interfae{Len()int}

We know that Len is the right choice for those three types.
There's no widespread "Len-er" interface in Go, though, so I am skeptical of calling it always.
Maybe on some types Len might be a number of records?

We know that Len is the right choice for those three types.
There's no widespread "Len-er" interface in Go, though, so I am skeptical of calling it always.
Maybe on some types Len might be a number of records?

How about check ContentLength is zero?
If ContentLength is zero and body implement interfae{Len()int},then assign Len() to ContentLength.

@jingyugao I certainly agree that if the caller has explicitly set ContentLength then it should not be replaced.
But that doesn't really address my objection. Content-Length is not a hint. It is a promise, and the code should not make a promise unless it is sure it can be kept. The code is sure for the three special-case types (which are very common). The code cannot be anywhere near as sure about any type that happens to have a Len() int method. Len is measured in elements, which does not always mean bytes. (For example, suppose io.MultiReader returned a concrete implementation with a Len method that returned the number of underlying readers.)
Is there some widespread body implementation you are concerned about handling?

Adding to the proposal minutes. Len() int still seems like not enough signal for me.

In https://github.com/golang/go/issues/16474#issuecomment-358128860, @ianlancetaylor observed:

It seems that the best way to use this technique effectively is for each magic method to mean exactly one thing. … If multiple functions support the same magic method, we wind up with an N-x-N crossbar: trying to use the magic method for multiple different purposes, when we have to know which purpose is intended to know whether it makes sense.

For this case I would share Russ's concern about Len indicating the length of some container in units other than bytes — perhaps runes, number of entries, or similar.

Based on the discussion above, this seems like a likely decline.

No change in consensus, so declined.


Navigation not working for WMR: Motion Controller can not turn left and right

Navigation not working for WMR
Can not turn left and right, but can forword.

I'm using MRTK2


Feature request: make clicks on video area toggle play/pause

Feature request: consider making a click on the video toggle between play/pause. Currently the only way to play/pause the video is by clicking the play/pause button in the control bar.
Tested with<EMAIL_ADDRESS>on codepen.

@cjpillsbury do we just need to re-add this now that we have a gesture-layer or is there more to it?

I'll have to see if we need to do anything with the pointer-events or similar now that we have layers, but otherwise yeah it should just be a gesture layer add. As a first pass I'll plan on building it as a simple (invisible) component.

fyi this will be more complex for touch screens where touches will often be used to show/hide controls

It would be nice to keep the right-click menu options of the video element. Will these be removed with a new gesture layer on top? Picture in picture and Chromecasting is always nice to have without needing special buttons.

Good callout @luwes I'd agree we should make sure we're not loosing that if at all possible in the implementation.

This was added in https://github.com/muxinc/media-chrome/pull/212


⚠ Avatar API Endpoint has degraded performance

In 242d3ac, Avatar API Endpoint (https://avatar.roblox.com/v1/avatar-rules) experienced degraded performance:

HTTP code: 200
Response time: 1684 ms

Resolved: Avatar API Endpoint performance has improved in 7984385 after 19 minutes.


Questions about Mini UART in lesson 1

I've successfully built the first lesson and run it on my Raspberry PI.  But as I was reading through, two questions related to the UART configuration came up.  Perhaps they can be clarified in the doc.

The lesson states that we want to use the Mini UART and that pins 14 and 15 have the TDX1 and RDX1 functions.  So after doing the lesson I think I understand that  TDX0 maps to the PL11 UART and TDX1 maps to the Mini UART, but this was not clear when I read through the first time.  Also the Broadcom documentation doesn't explicitly state this either.

Related to #1, it mentions that "This means that if we select alternative function 5, they will use Mini UART."  But the code shows that a 2 is moved into GPFSEL1, which I thought would set alt2.  Instead I expect a 5 to select alt5.  Assuming I'm missing something, because 2 does seem to work, I think it an explanation why 2 is set instead of 5 would make it clearer.

I think this is such a great resource, and agree completely with your introduction.  Having a simple starting place to understand how an OS works is extremely useful to me.  Thanks for all the work so far, and look forward to the current and future lessons.
Thanks,
Paul

It is not said in the lesson but it is explicitly stated in the Broadcom documentation. There is a Special function legend table p. 103-105 where every name from the Alternative Function Assignement table above is briefly explained with the corresponding section in the document. Granted, it is not really clear in the lesson and a reference to it would avoid some confusions.

The table describing the GPFSEL1 register in lesson 1 has your answer. There you can see that the 3 bits function selection is not in natural order: 100 is alternate function 0, 010 is alternate function 5, …

@bl4ckout31  - thanks for the answer!
@paulelong  - I'll add more detailed descriptions for both your questions in the tutorial.

For #2, I now see that the alt functions aren't consecutive nor in order.  Might be useful to call this out.  It required closer examination of the table to notice the peculiar order. For reference using decimal values alt0 = 4, alt1 = 5, alt2 = 6, alt3 = 7, alt4 = 3, alt5 = 2.  Seems like madness!  Though I wonder if there's a reason or story behind it :)

Thanks @s-matyukevich, I can help review any change you make.
Thanks #bl4ckout31, I suppose I was expecting the chart to mention Mini UART and PL011 UART, rather than UART 0 and UART 1.  I think reading the UART section I can then figure out the difference, and perhaps that in itself is a good exercise in reading technical documentation :)


CLI 'prisma2 init' - 'Back' option doesn't work in multiple screens

1. In the gif below you can see how the back button/option works on the "supported databases" screen, but doesn't work on the next screen ("Prisma framework tools")

2. On the "Database options" screen it just reloads the page when you try to go back

Tested on :

<EMAIL_ADDRESS>binary version: e7579bd35e0938dbf773f1706c098a0d14a5a038
<EMAIL_ADDRESS>binary version: 3c4da1d6caa0c40a0210a346ec982c77f74e18c7

Hi,
Thanks for reporting this! It has already been reported before, so I am going to close this as a duplicate of #723


Add integration and regression tests

Right now, for testing smart_open (local file part) - it is not enough to run only tests from smart_open, needs to run gensim tests with smart_open from master (so I caught a bug today - hotfix #150).
Need to look at gensim usage of smart_open and add tests according to this behavior (better - something more "general" for all readers/writers, because the tests are rather monotonous).
CC: @mpenkov

What's need to implement
General

Amazon

[ ] Run all tests with real amazon S3
[ ] Reconfigure Travis, add job for amazon (think about distinct account, encrypt API keys, etc)
[ ] More tests for Amazon

HDFS

[ ] Run all tests with hdfs (http + naitive)
[ ] Reconfigure Travis, add job (probably with hdfs docker)

Regression

[ ] Write regression tests (for all stuff)
[ ] Store result always (need for investigation), probably on amazon / any cloud storage
[ ] Auxiliary stuff (plot graphic, etc)

UPD Regression & integration for S3 done in #158
Integration for HTTP done in #185


Display name of element in __html__ heading

In the __html__ representation, which is used for Jupyter, the name of the type of the element was displayed.
While the type is relatively uninteresting for the user, especially because the xtype is displayed right after it, the name of the element itself was missing completely in the representation.
This commit replaces the type name with the element if a element name is available.
State before this commit:

State after this commit:

Good idea! Although technically, the name was already shown in the __html__ output, just in small as part of the big list of attributes (where it's easy to overlook it, admittedly). I took the liberty of fixing that in the commit message, and I also slightly shortened the code while I was at it.

Indeed. It was so small I must have missed it :D
And I learned that the Jupyter search doesn't scan the output section.


Using just the HiGHS LP solver for relaxations and reading MPS files

Is it possible to use just the LP solver part of HiGHS using this crate? I am looking to implement my own branch and bound algorithm around it and just need it for evaluating relaxations. Is this level of control obtainable with this crate? Additionally, am I able to read .mps files with this crate?
Thanks!

Hi! you should have a look at the docs and see whether everything you need is there https://docs.rs/highs/latest/highs/

Hi @DaveLanday! I'm currently working on a similar project, and I think you'd just need to have a persistent Highs Model that you keep adding rows to (from cutting planes or branching).
Although here some functions like the ones that change the bounds of variables could be helpful (for enforcing branching decisions) they don't exist yet in the safe interface. @lovasoa  have you thought about allowing (unsafe) access to the underlying highs pointer through an unsafe function? that would probably help projects like this reach the full highs API and test it with their code before contributing with PRs.

I appreciate the feedback. Would use of the highs-sys crate directly? It looks like it may be a bit more low level. For example, it looks like I can build with support for reading mps.gz files etc…


Fix hot reloading when demo runs behind a proxy

Prior to this PR, npm run demo created an app where hot-reloading did not work if the app was behind a proxy, because the browser client looked for the backend at localhost, rather than using window.location. To work at all, we disabled the host check, which, in principle, opened the backend to phishing attacks [1].
Now, we allow configuring the host header for the frontend using the DEMO_PUBLIC_HOST environment variable [2]. If that variable is set, it will be used by the frontend and by the host check in the backend. If not, we fall back to the webpack default (localhost:, in most occasions).
[1] These would not work on SherlockML because we have an additional layer of security that verifies the host header.
[2] To make this work on SherlockML, write the following in your shell:
export SHERLOCKML_PUBLIC_HOST=cube-"$SHERLOCKML_SERVER_ID".workspace.asi.sherlockml.net

Builds on PR #48.

This is great and will make development so much nicer, thanks for adding it!


feat(mapping): add KnowOrigin mapping

[x] Contract   KnowOrigin  NFTS

Hi @developerfred
I've added a bounty for KnowOrigin integration, check it out
If you want to finalize this PR, please merge another branch to this one: #8
It contains important schema updates and will be merged in the near future
It would be great if you can review it too!

Hi @developerfred
I've added a bounty for KnowOrigin integration, check it out
If you want to finalize this PR, please merge another branch to this one: #8
It contains important schema updates and will be merged in the near future
It would be great if you can review it too!

Hey @frostiq, I will do this. Thanks!

Hey @frostiq, I will do this. Thanks!


Balance of the fictional account

I have an exchange account with a problem, the account has a part of the fictitious balance. How can I fix?

Try fix it in admin panel.

how?

login as admin
go to "Admin Area" - "Users"
Find user by login and copy the first integer (user id)
go to "Admin Area" - "Check Balance" and find all balances by user id
click the button "Fix balance"

I did it but it does not do anything. Yesterday I made a withdrawal but this appeared in the history, the withdrawal came to the wallet, but for some reason was added to the account of the exchange fictitious without being.

send to the exchange wallet to cover that fictitious balance but I do not recognize it

your problem same like me.. old data does not change and only shows the same number even if it has been withdrawn

Now the deposits do not work and also in the withdrawals it says that there is not enough balance. Urgent! What can be done?

Seems because you have deleted your wallet.dat for zoow
transactions from old wallet is saved in accountserver so if you need to
renew wallet.dat then you should

stop the accountserver
delete sqlite_accounts.db
start the accountserver and wait till new database will filled wirh
new transactions.
after all, you need to fix all balances manually throw the admin panel

I have tried this way but become a disorder.
where I check the coin-cli getbalance is true. but when I check the coins of the account getbalance. he points to incorrect number ..
what happens in wallet.dat or sqlite.db?

No working, this same problem

I have encountered this problem ..
It concerns coind's name.
When you register a coin in the form you need to use the coin name by coind name.
You can not use abbreviated names as they cause RPC command errors.
example:
coinextrad
you need to fill in the name on the add coin form is COINEXTRA
you can not shorten the name.


Verify how federation was configured no longer correct

As of Azure AD Connect build 1.4.18, the Azure AD Connect GUI no longer displays whether it has configured AD FS on the 'Review your Solution' page as described under the 'Verify how federation was configured' section of this article.  This may confuse some into thinking AD FS was not configured by Azure AD Connect. The new location where Azure AD Connect configured AD FS information is displayed on Azure AD Connect 1.4.18 and later is Additional Tasks -> Manage Federation.

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

ID: 3b704969-b273-9466-6498-b259141bdd75
Version Independent ID: 19edc91e-3215-d43e-6d27-734d8354085e
Content: Azure AD Connect: Migrate from federation to PTA for Azure AD
Content Source: articles/active-directory/hybrid/plan-migrate-adfs-pass-through-authentication.md
Service: active-directory
Sub-service: hybrid
GitHub Login: @billmath
Microsoft Alias: billmath

@ZaherButt
Thanks for your feedback! We will investigate and update as appropriate.

Thanks. I made a pull request to change it to "Under Additional Tasks > Manage Federation, scroll to Active Directory Federation Services (AD FS)."
Feel free to make your own PR or tag me in the comments if you believe this should be updated further.
https://github.com/MicrosoftDocs/azure-docs-pr/pull/93963

@zaherbutt
I thought that was the case when I saw it didn't exist as per the document.
Other than that, great document to migrate from federation to PTA - just did it in my production environment and went very smoothly, besides Exchange Online activesync devices being prompted for password after the change, when according to this document, they shouldn't be.  But not a big deal since a pilot group is on Exchange Online at the moment.


Test failure report: Perturbative expansion Purification examples, Comparison to MC

"Perturbative expansion Purification examples, Comparison to MC" seems to fail randomly. I tried twice, one pass, one failure.
The code I tested is the master branch version 7ff9f39, modified in the QEC module, which should not affect this test.
Test log for "Perturbative expansion Purification examples, Comparison to MC":
Comparison to MC: Test Failed at /home/yuxuan/Documents/Repos/QuantumClifford.jl/test/test_noisycircuits.jl:70
  Expression: compare(mc, pe, false_success_stat)

Stacktrace:
 [1] macro expansion
   @ /snap/julia/95/share/julia/stdlib/v1.10/Test/src/Test.jl:672 [inlined]
 [2] macro expansion
   @ ~/Documents/Repos/QuantumClifford.jl/test/test_noisycircuits.jl:70 [inlined]
 [3] macro expansion
   @ /snap/julia/95/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined]
 [4] macro expansion
   @ ~/Documents/Repos/QuantumClifford.jl/test/test_noisycircuits.jl:57 [inlined]
 [5] macro expansion
   @ /snap/julia/95/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined]
 [6] top-level scope
   @ ~/Documents/Repos/QuantumClifford.jl/test/test_noisycircuits.jl:56
Test Summary:                                  | Pass  Fail  Total  Time
noisycircuits                                  |   90     1     91  5.0s
  Noisy Gates                                  |    2            2  1.1s
  Monte Carlo Purification examples            |    9            9  0.4s
  Perturbative expansion Purification examples |   11     1     12  2.7s
    Comparison to MC                           |    8     1      9  1.0s
    Symbolic                                   |    3            3  1.7s
  Measurements                                 |   53           53  0.5s
  Classical Bits                               |   15           15  0.1s
ERROR: LoadError: Some tests did not pass: 90 passed, 1 failed, 0 errored, 0 broken.
in expression starting at /home/yuxuan/Documents/Repos/QuantumClifford.jl/test/runtests.jl:52
ERROR: Package QuantumClifford errored during testing

By the way, does it make sense that we should let testing continue even with some test failures?

This is a statistical test, so it is normal for it to fail once in a few thousand runs, but recently it has started failing more often. This might be related to the change to UnbiasedUncorrelatedNoise.


Week

Added "week" feature.

First, thank you for the effort here. This is a fairly clean pull-request.
Minor critique: Please never bump a version number when submitting a pull-request to another's project. ...but at least you made this a separate commit.
I'm on the fence about this PR. I can't accept it as is, but some minor changes could get it there. However, accepting those changes would violate some of the underlying goals that this project set out to achieve.
Here are some reasons why I can't accept this as is:

The goal of the project has and will always be to simulate the Rails time_ago_in_words helper.  It doesn't deal in weeks.
This potentially breaks backwards compatibility for every custom locale ever written for this project. I'm unwilling to do that.

The only way I could get around these two concerns if this PR also came with a allowWeeks options that defaulted to false.
With all that said, I'm still on the fence, because there's still always the possibility of getting the weeks behavior without any core changes and just using a custom locale that overrides the behavior of the $.timeago.settings.strings.days function.
Example (Disclaimer...untested):
$.timeago.settings.strings.days = function(days, distanceMillis) {
  var days = Math.abs(distanceMillis) / 1000 / 60 / 60 / 24;
  var weeks = days / 7;
  return days < 7 && "%d days" ||
    days < 11 && "about a week" ||
    (weeks + " weeks");
};

In other words, we're talking about one option override over another. One (presented with a new allowWeeks options) comes with additional complications outside the default English locale.

Thank you. You are absolutely right about the backward incompatible, I didn't think very carefully about this earlier, sorry.
IMO, I don't like the idea of using a custom locate that override the default behavior of the lib. This is a very well-done library, and since your goals is to simulate the Rails time_ago_in_words, I think this PR is not suitable - out of scope. We can close this.
P/S: Please never bump a version number when submitting a pull-request to another's project Thank you for this too.


GRUB silently generates wrong config (cryptsetup default is now LUKS2)

This isn't necessarily a nixpkgs bug but I would be happy if we could find some way to prevent people needlessly wasting time figuring this out:
GRUB doesn't support LUKS2, which is now the default with cryptsetup 2.1.0 (see also the warning at http://web.archive.org/web/20190722114948/https://wiki.archlinux.org/index.php/Dm-crypt/Device_encryption#Encrypting_devices_with_cryptsetup). (Therefore, presumably some people may have issues if they create a fresh setup on the next release.)
When trying to generate a boot configuration per http://web.archive.org/web/20190409165127/https://elvishjerricco.github.io/2018/12/06/encrypted-boot-on-zfs-with-nixos.html (which should soon be updated to mention this problem) GRUB will silently select the zfs partition as the root device and generate an improper configuration. This part of the configuration is embedded inside the bootx64.efi binary and can be checked by something along the lines of strings file.efi | tail,yielding among other things, the following:
search.fs_uuid <zfsuuid> root
set prefix=($root)'/thezfs@/boot/grub'
/thezfs@/boot/grub

Note: the zfs uuid is the hex encoding of the decimal zfs GUID - which may be initially confusing, as no such UUID is listed anywhere in blkid. By converting the integer IDs listed by blkid for zfs partitions you should be able to confirm the above <zfsuuid>.
For a working luks1+zfs configuration you will see something like follows:
cryptomount -u <uuid goes here>
(cryptouuid/<uuid goes here>)/thezfs@/boot/grub

You can confirm the version of your LUKS partition by looking at cryptsetup luksDump /the/device.
It would be nice if GRUB gave some sort of meaningful output that would lead to diagnosing this but it doesn't.
Since we run a perl script to install grub at activation anyway, maybe a check could be added to warn about LUKS2 instances if enableCryptodisk is enabled? Ideally this would instead be fixed upstream but I don't know about that...
Note: apparently it's possible to downgrade LUKS2 to LUKS1; see section 2.2.1 Downgrading LUKS2 to LUKS1 https://cryptsetup-team.pages.debian.net/cryptsetup/encrypted-boot.html

Since we run a perl script to install grub at activation anyway, maybe a check could be added to warn about LUKS2 instances if enableCryptodisk is enabled? Ideally this would instead be fixed upstream but I don't know about that...

Having at least a warning would be awesome. I lost many hours trying to understand what was wrong here :(

I fully agree, I've spent maybe 10-20 hours on this - before finding the explanation, a warning at least would be AWESOME! :-)

Called it...

No luck :/

According to the patch notes, LUKS2 support is only partial still:

Note though that in the current version, only the PBKDF2 key derival function is supported.

While I believe the default key derival function for LUKS2 is argon2.
So a warning would still be prudent if an unsupported configuration is detected. (Hi, I also wasted several hours until finding this issue. :upside_down_face: )

Hey, I could take a stab at a warning PR. Would it be fair to emit a warnig of possible wrong configuration if boot.loader.grub.enableCryptodisk and *.zfsSupport are true?
Any suggestions on where to link for further info?

@brainrape how does it relate? Are cryptodisk and zfs incompatible? I think this issue relates to crypto in general, not only for ZFS.


Too many bit blocks in a chunk causes players to disconnect

If a player uses a bunch of bit blocks in their build on a server, they will eventually cause the players loading the chunk(s) to essentially get chunk banned. Players inside the render distance of the bit blocks will not be affected until they leave and re-enter. Spreading the blocks around seems to alleviate the issue, and it's only really caused when there's a lot of them in a single area. Unfortunately, that single area is too small for some of the more creative players.
No error is given in the console, just X lost connection: Disconnected. The player receives a typical disconnection message, and the game itself doesn't crash.
Twice now I've had to reset the affected chunks. One build was a massive mural that was a little over halfway finished until issues arised. The second incident happened last night and that one was a simple house with some decorations added in.
Here's roughly how many bit blocks you can have in a single area before it starts causing disconnections.

There is way more blocks inside the house. Some of the walls are bit blocks as well.

And here's the wall without the mural and with the mural a day before the disconnections happened.

Mods Pastebin

At first I thought it was some mod conflict and I did find some bad mods which I removed, but that didn't fix it. I also tried removing every mod other than Bits And Chisels and that didn't help.
It would seem that XL Packets Fabric doesn't actually function properly on 1.16.5?

I have identified krypton-0.1.2 as the culprit. For some reason, when it's installed on the client it causes people to disconnect when loading a lot of Bits blocks. The mod itself still works on the server-side. Removing Krypton solved the issue.


Cannot use the webSSH2 when the browser and the webSSH2 not on a same machine

Now I put the webssh2 project and run it on an centos7, for example the ip is: <IP_ADDRESS>.
Then I back to my own windows machine which ip maybe <IP_ADDRESS>, and in the browser, I call the url like: http://<IP_ADDRESS>/ssh/host/<IP_ADDRESS>
it cannot connect. Only error in the browser is :  ERR_CONNECTION_REFUSED
Can you give me some help? Very thanks, I wait your response...   :)

@arscoke, i need a bit more detail here. There's no reason this shouldn't work, but it sounds like you might be missing the port in your URL. Usually it's :2222
http://<IP_ADDRESS>:2222/ssh/host/<IP_ADDRESS>
If you're trying to listen to port 80, you'll need to run the node process as root and change the port in config.json to port 80... I WOULD NOT recommend running this as root, and instead use some sort of reverse proxy, something like nginx or the like. Example for nginx here https://medium.com/@utkarsh_verma/configure-nginx-as-a-web-server-and-reverse-proxy-for-nodejs-application-on-aws-ubuntu-16-04-server-872922e21d38 note the nodejs port is 8080 for this example.


Use data-* to add activation state to ULink

For what version of Nuxt UI are you suggesting this?
v3.0.0-alpha.x
Description
I want to set styles for other elements based on the activation state of the ULink component, but it was unexpectedly difficult. First, I didn't find relevant content in the documentation of the ULink component. It wasn't until I found this issue that I learned that I could get the activation state through v-slot={isActive}. Secondly, I can't directly set the data-* attribute for the ULink component to save the value of isActive, because this will prompt a ts error and the rendered a tag will not contain attributes, so I have to add another HTML tag as a child element of the ULink component to indirectly add the data-* attribute.
Additional context
No response

I'm confused, is this an issue v3 or v2?  I meant that this feature can be implemented in v3. I browsed the v3 documentation and found that it was mentioned that the activation state can be accessed using { active: boolean; }, but I didn't find the function I expected to save the activation state in the form of data-*

I'm confused, is this an issue for v3 or v2? You mentioned v3.0.0-alpha.x and a link to the Nuxt UI v2 docs 🤔我有点困惑，这是 v3 还是 v2 的问题？你提到了v3.0.0-alpha.x，并附上了 Nuxt UI v2 文档的链接 🤔

I'm sorry, this is a v2 problem. I meant that this feature can be implemented in v3. I browsed the v3 documentation and found that it was mentioned that the activation state can be accessed using { active: boolean; }, but I didn't find the function I expected to save the activation state in the form of data-*

我修改了提到的版本为v2.17.0，这是我使用的版本。但我的意思仍然是可以在v3的版本实现此功能，如果可以的话 :smile:

I changed the version mentioned to v2.17.0, which is the version I use. But my point is still that this feature can be implemented in v3, if possible 😄

This is actually already possible in v3, we've splitted the component in two to achieve those kind of things: ULink and ULinkBase.
Here is an example on how it's used to set the styles based on the active slot prop: https://github.com/nuxt/ui/blob/v3/src/runtime/components/Breadcrumb.vue#L110

Okay, thank you


Feature request: alsa support

Add alsa module to control volume for systems without pulseaudio like in the polybar

This feature would be great!
In the meantime, here's a script that outputs Alsa volume level on demand, as well as a class muted when audio is either muted or at 0%.
It's very simple so you'll need to set it up to be polled every second with the interval option, but it's better than nothing. Also note that I wrote it for my own setup, wherein I don't need to specify which audio device I'm targeting - it should be easily amendable if you need to pass extra arguments to amixer.

Using intervals is an option but if you want to be updated on demand, every time you update it you could use signal traps. The script I'm using is:
#!/bin/bash
amixer get Master | grep '%' | awk -F '[][]' '{print $2}';
function print {
    amixer get Master | grep '%' | awk -F '[][]' '{print $2}';
}
trap print RTMIN+1
while true; do
    sleep infinity & wait $!
done

Basically you print it once, then enter an infinite loop of sleeping and waiting for a new signal to print the updated value.
Of course you have to send the signal from somewhere, in my case I've set my sway configuration to increase/decrease volume with a custom keybinding that also sends the signal to the script like this:
bindsym Control+Up exec amixer set Master 10%+; exec pkill -SIGRTMIN+1 custom-alsa.sh
bindsym Control+Down exec amixer set Master 10%-; exec pkill -SIGRTMIN+1 custom-alsa.sh

This is probably an alternate solution for #170

I plan on creating an ALSA module but for now here's my one-liner which is most efficient and featured (as of now)
    "custom/alsa": {
        "exec": "amixer get Master | sed -nre 's/.*\\[off\\].*/      /p; s/.*\\[(.*%)\\].*/    \\1/p'",
        "on-click": "(amixer set Master toggle; pkill -x -RTMIN+11 waybar)",
        "on-scroll-up": "(amixer set Master 5%+; pkill -x -RTMIN+11 waybar)",
        "on-scroll-down": "(amixer set Master 5%-; pkill -x -RTMIN+11 waybar)",
        "signal": 11,
        "interval": 10,
        "tooltip": false
    },

Those are FontAwesome4 icons so replace them and the signal as needed.
I also bind my laptop's volume keys with
bindsym --locked XF86AudioLowerVolume exec amixer set Master 5%- && pkill -x -RTMIN+11 waybar
bindsym --locked XF86AudioRaiseVolume exec amixer set Master 5%+ && pkill -x -RTMIN+11 waybar
bindsym --locked XF86AudioLowerVolume+shift exec amixer set Master 1%- && pkill -x -RTMIN+11 waybar
bindsym --locked XF86AudioRaiseVolume+shift exec amixer set Master 1%+ && pkill -x -RTMIN+11 waybar

Hope I've helped a few more people move away from pulseaudio's bloat...

Hi @unresolvedsymbol, I am trying to get your alsa module working, but for some reason it's not showing up in my waybar. This is my waybar config:
{
    "layer": "top",
    "position": "top",
    "height": 30,
    "modules-left": ["sway/workspaces", "sway/mode"],
    "modules-center": ["sway/window"],
    "modules-right": ["custom/alsa", "network", "cpu","temperature", "memory", "backlight", "battery", "clock"],
    "sway/mode": {
        "format": "{}"
    },
    "tray": {
        "icon-size": 30,
        "spacing": 10
    },
    "clock": {
        "format": "{:%d/%m/%Y  %H:%M}"
    },
    "cpu": {
        "format": "{usage}% ",
        "tooltip": false
    },
    "memory": {
        "format": "{}% "
    },
    "battery": {
        "states": {
            "good": 95,
            "warning": 30,
            "critical": 15
        },
        "format": "{capacity}% {icon}",
        "format-icons": ["", "", "", "", ""]
    },
    "battery#bat2": {
        "bat": "BAT2"
    },
    "network": {
        // "interface": "wlp2s0", // (Optional) To force the use of this interface
        "format-wifi": "{essid} ({signalStrength}%) ",
        "format-ethernet": "{ifname}: {ipaddr}/{cidr} ",
        "format-disconnected": "Disconnected ⚠"
    },
        "temperature": {
        // "thermal-zone": 2,
        // "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
        "critical-threshold": 80,
        // "format-critical": "{temperatureC}°C {icon}",
        "format": "{temperatureC}°C {icon}",
        "format-icons": ["", "", ""]
    },
    "backlight": {
        // "device": "acpi_video1",
        "format": "{percent}% {icon}",
        "format-icons": ["", ""]
    },
    "custom/alsa": {
        "exec": "amixer get Master | sed -nre 's/.*\\[off\\].*/      \n\nmuted/p; s/.*\\[(.*%)\\].*/    \\1/p'",
        "on-click": "amixer set Master toggle; pkill -x -RTMIN+11 waybar",
        "on-scroll-up": "amixer set Master 1+; pkill -x -RTMIN+11 waybar",
        "on-scroll-down": "amixer set Master 1-; pkill -x -RTMIN+11 waybar",
        "signal": 11,
        "interval": 10,
        "tooltip": false
    }
}

All the other modules show up as expected, except for the custom/alsa...

@kflak: it seems that there's an issue somewhere between waybar config parsing and sed, since sed appears to receive a malformed command string - even though it does its job when ran directly, in waybar logs you will stumble upon sth like this:
sed: -e expression #1, char 26: unterminated `s' command

However, after getting read of the two newline characters (purpose of which I'm not sure, frankly), everything works just fine.
-        "exec": "amixer get Master | sed -nre 's/.*\\[off\\].*/      \n\nmuted/p; s/.*\\[(.*%)\\].*/    \\1/p'",
+        "exec": "amixer get Master | sed -nre 's/.*\\[off\\].*/      muted/p; s/.*\\[(.*%)\\].*/    \\1/p'",

@Asgavar Thanks! Getting rid of the newlines does the trick. However, in the meantime I don't really use waybar anymore, I found i3status-rust to be a better alternative for my statusbar needs.

The newlines are for setting the "muted" class in which I have CSS making the background red (#custom-alsa.muted)

Any one still working on this?

Stopped working for me on the latest versions (0.8 worked fine), seems like pkill now does nothing, so module disappears on any action performed with it and updates only on interval tick, ignoring pkills sent manually/from sway

I would also like to se this feature implemented. I'm not familiar with the implementation, but alsactl monitor can be used to detect when the volume changes, so there is no need for polling.

I would also like to se this feature implemented. I'm not familiar with the implementation, but alsactl monitor can be used to detect when the volume changes, so there is no need for polling.

Any progress on this?

Also looking for this feature. I'll try implementing it but I can't make any promises due to lack of free time.


Comprehension on Java collection results in {Foo+} instead of {Foo*}

Given this Java signature:
@NotNull
public static <T extends PsiElement>
java.lang.Collection<T> findChildrenOfType
(@Nullable PsiElement element, @NotNull Class<? extends T> aClass) {
}

This Ceylon declaration is inferred as {T+} whereas it should be a {T*}, since the collection might be empty:
value blocks = { for (block in findChildrenOfType(foo, bar)) block };

Does this compile without errors?
Boolean b;
for (block in findChildrenOfType(foo, bar)) {
    b = true;
    break;
}
print(b); // should be error: not definitely specified

Yes the typechecker throws an error.

Interesting, so this seems to be specific to comprehensions…

Fixed.


Add regex exclusion path filter

Hello,
I'm wondering if you can look at adding a regex exclusion path filter.
For example, the following would remove the directory src/third_party from the change set.
jobs:
  build:
    runs-on: windows-latest
    steps:
      - uses: actions/checkout@v3
      - name: Get Changed Files
        id: changeset
        uses: halaslabs/get-changed-files@v2
        with:
          exclusion-path-filters: src/third_party/**

@laxmibaral9 see PR #58


Adjust server config and databases sqls for 3.0

I've prepared a fix for version 3.0. It looks like guys from Zabbix have changed package structure with sqls - now there's only a single file in an upper directory.
I also needed to adjust server config template. Maybe it's not the most elegant solution, but it works.

I guess it's a big topic, most of the tests fail.

Hi @slashr00t ,
Thank you for making time to create this PR, but I can't accept PR that fails the CI tests.
I'll leave this PR open if you want to make it work.

Hi @dj-wasabi ,
I've fixed the code and it passed all the tests. I've also added a simple comment regarding this sqls placement difference.
If you have more suggestions please let me know.

Thanks!


SVD Did not converge

Ran code on object<PHONE_NUMBER>2716602. Received following error log. Attempted to run with and without masking nearby sources without any changes.
decompositionError.log

Image of the data and segmentation map for reference:

This error means the fitting with PSO algorithm could not converge, very likely beacause of source No.4 at the edge. It is truncated and cannot be well-fitted with a sersic profile. Suggestion would be masking that source.

This error means the fitting with PSO algorithm could not converge, very likely beacause of source No.4 at the edge. It is truncated and cannot be well-fitted with a sersic profile. Suggestion would be masking that source.

Here is the data used for the fit with the companions masked, and the corresponding error log. It doesn't seem to make much difference
decompositionError.log

Maybe there are infinite or nan numbers in your data? Try drop those pixels as well if any?


[dkr] Add libra-operational to init image

Needed to extract the mint key in the new testnet implementation.

@bors-libra r=rustielin

:pushpin: Commit 83a6963 has been approved by rustielin

:hourglass: Testing commit 83a69634cba2a9d3016094128486e64f397c9ef2 with merge 19ae2cb5ff40cd46ef0b3998cb66682572eeac3b...

:broken_heart: Test failed - checks-circle_commit_workflow

@bors-libra retry

@bors-libra retry

@bors-libra retry

:hourglass: Testing commit 83a69634cba2a9d3016094128486e64f397c9ef2 with merge 3f6fb9f16fa92c468574b035af1ad51b52741bbb...

:sunny: Test successful - checks-actions_land_blocking_test, checks-circle_commit_workflow
Approved by: rustielin
Pushing 3f6fb9f16fa92c468574b035af1ad51b52741bbb to master...


Reading request body within an action causes ReadableStream has already been used error

When the Remix client makes a request to an action, and the action tries reading the ReadableStream, an error is thrown. I believe this is due to the mechanics of connect-to-web implementation.
Example:
fetcher.submit(formData, {
  action: "/route/to/action",
  method: "post",
});

export const action: ActionFunction = async ({ request }) => {
  console.log(await request.formData());
}

throws a ReadableStream has already been used.

Did this example work in production?

yes, the issue was only present in dev mode.
I think #10 fixes this problem (previously, original request object was being passed into connectToWeb, causing a double body read).

did u try new version?

yep! seems to be fixed now.


hello world?

can we update the README with a hello world? for example, i'm trying to get this to work, but it's not working
from okta.client import Client as OktaClient
import asyncio

async def main():
    client = OktaClient()
    users, resp, err = await client.list_users()

loop = asyncio.get_event_loop()
loop.run_until_complete(main())

@gabrielsroka I will add this to our list to take a look at, however, until then, here is a working example for you to take a look at.
import asyncio
from okta.client import Client as OktaClient
import okta.models as models

async def main():
    my_okta_client = OktaClient()

    usr_list, resp, err = await my_okta_client.list_users()
    print(err)
    print(f"How many users in this list? {len(usr_list)}")

asyncio.run(main())

This example shows you not passing anything into your OktaClient, so it relies on your ~/.okta/okta.yaml file for information

i'm also getting
ModuleNotFoundError: No module named 'okta.client'

i tried it in 2 separate machines. i tried uninstall the old, beta okta package, too

The error you were experiencing in this issue should be resolved with an install of okta through pip with version 1.0.1

with version 1.0.1, this seems to work
from okta.client import Client as OktaClient
import asyncio

async def main():
    client = OktaClient()
    users, resp, err = await client.list_users()
    print(len(users))

loop = asyncio.get_event_loop()
loop.run_until_complete(main())
# asyncio.run(main()) # gives an error

here's a hello world for pagination. the example in the readme is confusing. it seems to be 3 different examples (which is fine, but should be made clearer)
from okta.client import Client as OktaClient
import asyncio

async def main():
    client = OktaClient()
    users, resp, err = await client.list_users()
    while True:
        for user in users:
            print(user.profile.login)
        if resp.has_next():
            users, err = await resp.next()
        else:
            break

loop = asyncio.get_event_loop()
loop.run_until_complete(main())

This will be resolved by #128


xClusterIPAddress: New Resource

Details of the scenario you tried and the problem that is occurring:
Add the ability to manipulate Cluster IP Addresses. This will allow the addition of multiple cluster IP resources for the cluster as well as manipulating the "Name" metadata property.  Cluster IP addresses are identified by IP Address & Network Mask combination.
The DSC configuration that is using the resource (as detailed as possible):
n/a
Version of the Operating System and PowerShell the DSC Target Node is running:
This should be compatible with all versions
Version of the DSC module you're using, or 'dev' if you're using current dev branch:
dev

@johlju - While similar to Issue #92, I think it would make more sense to split this out to its own resource.   I'm planning on starting this early next week.

Thinking if xCluster could handle this? Today it only handles one static IP adress, but it should be able to take an array of IP addresses, and also be able to handle DHCP. See issue https://github.com/PowerShell/xFailOverCluster/issues/109.
The name property of the Cluster IP Address might not be as easy to handle in the xCluster resource, so maybe this resource should handle that, but leave IP address (Static and DHCP) to the xCluster resource?
What is you thoughts on this?
Also, could you please propose a schema.mof for this new resource?

I think handling mulitple IPs could be done by the xCluster resource.  I'll play around with that a bit and see if I can get it working.  I don't think I want to scope DHCP assignment into this one - I don't think it'd be too crazy to do, but it's a different problem domain.
Re: xClusterIPAddress - I'm thinking it'd behave very similar to xClusterNetwork (modify metadata based on a unique IP / Netmask combination)
Proposed schema mof:
[ClassVersion("<IP_ADDRESS>"), FriendlyName("xClusterIPAddress")]
class MSFT_xClusterIPAddress : OMI_BaseResource
{
    [Key, Description("The address for the cluster IP address in the format '<IP_ADDRESS>'.")] String Address;
    [Key, Description("The address mask for the cluster IP network in the format '<IP_ADDRESS>'.")] String AddressMask;
    [Write, Description("The name of the cluster address. If the cluster network name is not in desired state it will be renamed to match this name.")] String Name;
    [Write, Description("The state of the cluster address. Define if the cluster address should be enabled (Online) or disabled (Offline)"), ValueMap{"Online","Offline"}, Values{""Online", "Offline"}] String State;
};

If possible I like to see xCluster "adding and removing" IP-addresses, and this resource is changing the properties of those IP-addresses. Do you see it the same, or do you see a scenario?
A suggestion, instead of the user needing to write 'Online' and 'Offline' for the State parameter, could the parameter instead be named Enabled, or Online, that is of type Boolean? What do you think?
So either:
Enabled -eq $true = Online
Online -eq $true = Online
Enabled -eq $false = Offline
Online -eq $false = Offline
Since the 'State' parameter will be used to bring online or take offline the resource, should the parameter not default to anything? Meaning if the user does not pass the parameter, no evaluation is done if the resource is in the correct state.
If the 'State' should be online (or offline). then the resource will try to bring online (or take offline) the resource.
Btw. there is already a PR working on DHCP. I helping the contributor to get it over the finishing line, but haven't had the time to finish it yet (reviews take priority).
https://github.com/PowerShell/xFailOverCluster/pull/113

I've been sidetracked from this project for a while, but I'm starting to look back into it.  The big push that I'm working on is setting up a multi-subnet failover cluster with an IP accessible on each of the target subnets.  While the subnets won't all exist on all nodes, the subnets will get added to the cluster.
Because the subnets are exclusive depending on the node, adding the IPs via xCluster would mean either a) running xCluster once with only one IP and then running xCluster again afterward (since it won't add the IP without having a subnet that matches from my quick testing) or b) running xCluster once and then using xClusterIP afterward to ensure the second IP gets added.  Either way, I think having xWaitforClusterNework will be necessary.  The workflow I'm thinking would be:

xCluster creates the cluster (primary)
xWaitforClusterNetwork waits for the second node to join (primary)
xWaitforCluster waits for the cluster to exist (secondary)
xCluster joins the second node to the cluster (secondary) -> This adds the second cluster network
xWaitforClusterNetwork releases block (primary)
xClusterIP adds the second IP to the cluster (primary)

While not perfect (and means that IPs get managed at two places), my thought is that the most likely scenario somebody would be doing this in the first place would be targeting multi-subnet capacity, and this would give a good workflow for that.

@mnewswanger If you run these steps manually, using the Failover Clustering cmdlets which the resource would use, do you get the expected behavior? The flow seems like it could work.

Was there an Update on this thread for xfailovercluster and 2 IPs in differnet subnets for the CNO?


Build Fail when redis is un available in local machine

Test run is not terminating when the redis is not available.

I know this problem, let me see this and fix it right way


Add run command

Codecov Report
Attention: Patch coverage is 87.09677% with 12 lines in your changes are missing coverage. Please review.

Project coverage is 97.24%. Comparing base (ac4bfd4) to head (84ac2f9).

Files
Patch %
Lines

src/coredumpy/coredumpy.py
85.18%
12 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff             @@
##            master      #25      +/-   ##
===========================================
- Coverage   100.00%   97.24%   -2.76%
===========================================
  Files           11       11
  Lines          349      436      +87
===========================================
+ Hits           349      424      +75
- Misses           0       12      +12

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


Failed to launch process without WANDB_DISABLE_CODE=true

wandb --version && python --version && uname

Weights and Biases version: 0.8.18
Python version: 3.7.1
Operating System: Ubuntu docker

Description
wandb.init() crashes with the following error: process did not respond.
Adding WANDB_DISABLE_CODE=True works, found during NeurIPS debugging session with @vanpelt. It seems to timeout on the git code and not recover.
So, something weird is going on with my GitHub repo.
Is wandb trying to send diffs of new files? Because there are quite some, including some saved network checkpoints which are large.

Yes, by default it grabs a diff which is helpful to see what changed in your repository between training runs.
I think for this bug we should do one or more of the following:

try and make code collection asynchronous -- maybe snapshot the git last commit synchronously and the rest can be done later (not at startup)
put limits on the size of the diff? or amount of time?
extend the timer and or show progress of the action that is happening

Hey @HansPinckaers
In the past year we've majorly reworked the CLI and UI for Weights & Biases. We're closing issues older than 6 months. Please comment to reopen.