Add "audience" as option of "OAuth2Client"

It would be great to be able to pass as an optional parameter an audience so that when building the different URLs it is already included.

The audience parameter of the authorization URL isn’t part of any OAuth or OIDC specification and such out of scope of the library

https://www.rfc-editor.org/rfc/rfc8707.html

The only parameter mentioned is the resource parameter?


Sleep infinity prevents restricts cleanup on failures

What happened:
When eksctly anywhere create/update commands fail, it leaves behind the eksa_ container running with sleep infinity as its last command. E.g.
% docker ps
16560b9bef43   public.ecr.aws/eks-anywhere/cli-tools:v0.1.0-eks-a-6                                 "sleep infinity"         3 minutes ago   Up 3 minutes                               eksa_1643681453424175000

And it seems that since that command is running as PID 1, I am unable to stop or kill that container. Meaning each time I run into this issue, I restart the docker daemon itself to force the container to stop.
What you expected to happen:
The eksa_ container to be stoppable, should I want to stop the container. I often want to do this to cleanup the failure state, before going again.
How to reproduce it (as minimally and precisely as possible):

Kick off a new eksctl anywhere command, which starts the container
Exit the eksctl anywhere command early, such that you recieve and error like:

^CWarning: Terminating this operation may leave the cluster in an irrecoverable state

Observe the unkillable container

Anything else we need to know?:
Environment:

EKS Anywhere Release:

% eksctl anywhere version
v0.7.0

EKS Distro Release:

% eksctl version
0.82.0

Interesting. I'll need to do some research and get back to you. Thanks

So, docker rm -f 16560b9bef43 or docker stop 16560b9bef43 doesn't work in this case?

What is the OS you are using here on your admin machine? It almost sounds like this process is a zombie.

Maybe there is something time related. My kind cluster was up already and I was able to delete this container
tlhowe@3c22fb41240e modelrocket-add-ons % docker ps
CONTAINER ID   IMAGE                                                                                COMMAND                  CREATED         STATUS         PORTS                       NAMES
4f65b32c8b12   public.ecr.aws/l0g8r8j6/kubernetes-sigs/kind/node:v1.21.5-eks-d-1-21-8-eks-a-v0.0.0-dev-build.1109   "/usr/local/bin/entr…"   2 minutes ago   Up 2 minutes   <IP_ADDRESS>:58223->6443/tcp   tlhowe-eks-a-cluster-control-plane
24a2b70d3875   public.ecr.aws/l0g8r8j6/eks-anywhere-cli-tools:v0.1.0-eks-a-v0.0.0-dev-build.593                     "sleep infinity"         5 minutes ago   Up 5 minutes                               eksa_1643832394939100000
tlhowe@3c22fb41240e modelrocket-add-ons % docker stop 24a2b70d3875
24a2b70d3875
tlhowe@3c22fb41240e modelrocket-add-ons % docker rm 24a2b70d3875
24a2b70d3875

I'm on macos

Maybe there is something time related. My kind cluster was up already and I was able to delete this container
tlhowe@3c22fb41240e modelrocket-add-ons % docker ps
CONTAINER ID   IMAGE                                                                                COMMAND                  CREATED         STATUS         PORTS                       NAMES
4f65b32c8b12   public.ecr.aws/l0g8r8j6/kubernetes-sigs/kind/node:v1.21.5-eks-d-1-21-8-eks-a-v0.0.0-dev-build.1109   "/usr/local/bin/entr…"   2 minutes ago   Up 2 minutes   <IP_ADDRESS>:58223->6443/tcp   tlhowe-eks-a-cluster-control-plane
24a2b70d3875   public.ecr.aws/l0g8r8j6/eks-anywhere-cli-tools:v0.1.0-eks-a-v0.0.0-dev-build.593                     "sleep infinity"         5 minutes ago   Up 5 minutes                               eksa_1643832394939100000
tlhowe@3c22fb41240e modelrocket-add-ons % docker stop 24a2b70d3875
24a2b70d3875
tlhowe@3c22fb41240e modelrocket-add-ons % docker rm 24a2b70d3875
24a2b70d3875

I'm on macos

I've only encountered issues when the kind cluster container fails to come up, and only the first eks_ container is running.
Running docker stop/kill/rm refuses to let me kill that container - I get the responses saying it cannot kill the running container, or could not stop the container. I suspect it's somewhat related to this: https://superuser.com/questions/1299461/how-can-i-stop-a-docker-container-running-sleep, since when I run docker inspect that container is at sleep infinity.
I'm on MacOS, using Docker 4.2.0 (I downgraded from the latest, since the latest version switched support for cgroups1, and the current version of EKS wasn't supporting the latest version of Docker).

@smarsh-tim
I created #1151 and #1152
I think those fixes could maybe help with this problem but nonetheless are good additions, so thanks for bringing it up!
However, I'm not sure I fully understand what the real issue is here (why you can't stop the container) and I haven't been able to replicate it on my side. I just fear that if we don't understand it, we might still miss the root cause of the issue.
Could you give us the exact commands you run to get to this state as well as the output logs?

Closing due to no activity within the last 60 days. Please reopen if you are still affected by this issue.


emacs: add mailutils support

Flagged via withMailutils (true by default).
Description of changes

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

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

Picking the work from @Adopi at https://github.com/NixOS/nixpkgs/pull/291017

The error catched  by ofborg is not directly related to Emacs, but to another, stdenv-related thing.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/3538

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/3689

Tons of test failures for some reason

Tons of test failures for some reason

Something broke Staging again...

Nix question if you happen to know this: if I wanted to build this file as if it were transplanted into e.g. nixpkgs-unstable, what would be the way? The only thing I can think of is to create a copy of , patch in this one file, IFD that, then build .emacs from it... not very scalable if there are many changed files, among other things.
Is there some sort of .overrideFrom , which lets a pkgs.callPackage "reimport" a previous call with its own context?

If I am not misunderstanding you, it looks like an overlay.
https://ryantm.github.io/nixpkgs/using/overlays/
https://nixos-and-flakes.thiscute.world/nixpkgs/overlays
https://nixos.wiki/wiki/Overlays

But if I overlay

If I am not misunderstanding you, it looks like an overlay.
https://ryantm.github.io/nixpkgs/using/overlays/ https://nixos-and-flakes.thiscute.world/nixpkgs/overlays https://nixos.wiki/wiki/Overlays

I don't think that's quite the same;
$ nix build --print-build-logs --impure --expr 'let pnew = builtins.getFlake "github:nixos/nixpkgs/pull/291209/head"; pold = import <nixpkgs> { overlays = [ (self: super: { inherit (pnew.legacyPackages.${pold.system}) emacs; }) ]; }; in pold.emacs'

Will build this entire Emacs from staging, with all its dependencies from staging. I want to just try out your patch as if it were applied to my existing nixpkgs, say nixpkgs-unstable. So with everything as-is in pold. Not pulling in the world and rebuilding it based on its current position in pnew.
If anything it's more like a "reverse overlay" if that makes sense?

just try out your patch as if it were applied to my existing nixpkgs, say nixpkgs-unstable

For this purpose, I use a local nixpkgs repo:

create a new branch starting at the commit of your current system
fetch patchs: git fetch upstream pull/253227/head
cherry-pick patches
build Emacs using that local nixpkgs repo

just try out your patch as if it were applied to my existing nixpkgs, say nixpkgs-unstable

For this purpose, I use a local nixpkgs repo:
1. create a new branch starting at the commit of your current system

2. fetch patches: `git fetch upstream pull/253227/head`

3. cherry-pick patches

4. build Emacs using that local nixpkgs repo

Same, but clearly a departure from how easy it is to do "forward overlays" if that makes sense. It's fine for dev I guess, but if I want to actually start using this in existing systems, this doesn't really work. Meanwhile I use PR-based overlays all the time in my own config.

actually start using this in existing systems, this doesn't really work

I personally use flake so it is trivial to use a forked nixpkgs to apply some PRs to my system.
Not sure what mean by "forward overlays" and "PR-based overlays" though.

actually start using this in existing systems, this doesn't really work

I personally use flake so it is trivial to use a forked nixpkgs to apply some PRs to my system.
Not sure what you mean by "forward overlays" and "PR-based overlays" though.

Regular overlays. I also use flakes but I don't want to cherry-pick changes from a PR on my own branch, I just want to use the PR itself. Cherry-picking changes and manually keeping branches up-to-date is distinctly different from the regular flow.
In the end they would both use overlays, and where they come from (flakes / fetchtarball etc) is irrelevant. I just don't want to mess with git and cherry-pick--that gets old fast.
E.g. in this case: I want to "reapply" the original call to callPackage that builds emacs, but from my own pkgs's callPackage. So instead of explicitly overriding certain arguments (which is .override), I want to do something more like.. mypkgs.callPackage.inherit newpkgs.emacs29, or whatever the syntax would be.
Anyway it's clear from this conversation that this functionality doesn't exist :P Thanks though!

I don't want to cherry-pick changes from a PR on my own branch, I just want to use the PR itself

Maybe applyPatches is what you are looking for?
It works pretty well if

you only use Nixpkgs packages but not other things such as modules
your patches have no conflict (otherwise messing with git is inevitable)

In the end they would both use overlays

I do not think overlays can be used to apply PRs which change modules.

I don't want to cherry-pick changes from a PR on my own branch, I just want to use the PR itself

Maybe applyPatches is what you are looking for? It works pretty well if
* you only use Nixpkgs packages but not other things such as modules

* your patches have no conflict (otherwise messing with git is inevitable)

The fact that it's a pr, or even in git at all, is a bit of a red herring. It's the wrong layer of abstraction to keep this generalizable. I was hypothesizing about a pure Nix solution.

In the end they would both use overlays

I do not think overlays can be used to apply PRs which change modules.

It's a shame that there's no "reverse callPackage" functionality. 🤷


"else if" to "ef" or other shorthand?

hey, what if livescript introduce shorthands to those basic statements?
not a real issue, just a question to discuss maybe.
if a > b
  true
else if a < b
  true

may become
if a > b
  true
ef a < b
  true

comparisons are perfectly aligned - is it better for code readability?
i've noticed new versions of php have both else if and elseif valid syntax constructs, also, python has elif statement that is perfectly aligned with else..

comparisons are perfectly aligned - is it better for code readability?

better to use switch instead ?

you mean empty switch, hmm.. ooke

switch
| a > b => true
| b < a => false


New aka.ms link

Aka.ms link name
Zero-Trust
Category (Optional. Select None to auto-select)
None

Thank you for submitting aka.ms/Zero-Trust. Your link already exists at akaSearch.net. 🙏✅


Use more reasonable timeouts for bazel RBE tests

The current test timeout values have been chosen long time ago, and mostly arbitrarily.
I've looked at the actual test results history and set the timeout values to something as
close to default as possible (but still allowing extra buffer so we don't get spurious timeouts).

a test that gets stuck get reported as timeout more quickly
it is generally better to use default configuration values where possible
put some protection against bloating test latency without noticing

Based on https://github.com/grpc/grpc/pull/21294 as shard_count is set for a few long-running tests to avoid timeouts.

Known failures: https://github.com/grpc/grpc/issues/21297


Roll Engine from 5140e30cec13 to 469d6f1a09f4 (58 revisions)

Roll Engine from 5140e30cec13 to 469d6f1a09f4 (58 revisions)
https://github.com/flutter/engine/compare/5140e30cec13...469d6f1a09f4
2021-11-07<EMAIL_ADDRESS>Revert "[Web] Fix BMP encoder (#29448)" (flutter/engine#29580)
2021-11-07<EMAIL_ADDRESS>Roll Fuchsia Linux SDK from aD3d4Kqmy... to ZniYyCw7U... (flutter/engine#29579)
2021-11-07<EMAIL_ADDRESS>Roll Fuchsia Mac SDK from rIpW1050J... to TOmxgL3av... (flutter/engine#29578)
2021-11-07<EMAIL_ADDRESS>Roll Skia from 2417872a9993 to cd7220e7686c (2 revisions) (flutter/engine#29577)
2021-11-07<EMAIL_ADDRESS>Revert dart to 38e7078fa2b7 (flutter/engine#29575)
2021-11-07<EMAIL_ADDRESS>Revert "Reland Display Features support (Foldable and Cutout) (#29447)" (flutter/engine#29574)
2021-11-06<EMAIL_ADDRESS>Roll Fuchsia Mac SDK from W9UXc2Fwx... to rIpW1050J... (flutter/engine#29573)
2021-11-06<EMAIL_ADDRESS>Roll Fuchsia Linux SDK from uP2kJIngK... to aD3d4Kqmy... (flutter/engine#29572)
2021-11-06<EMAIL_ADDRESS>Hide a11y elements when resigning active (flutter/engine#29566)
2021-11-06<EMAIL_ADDRESS>Roll Dart SDK from 5ccf755b37a4 to f6a43e5eb71d (1 revision) (flutter/engine#29571)
2021-11-06<EMAIL_ADDRESS>Roll Fuchsia Mac SDK from 6BYh8qaYo... to W9UXc2Fwx... (flutter/engine#29570)
2021-11-06<EMAIL_ADDRESS>Roll Fuchsia Linux SDK from kHXT3xnTG... to uP2kJIngK... (flutter/engine#29569)
2021-11-06<EMAIL_ADDRESS>Roll Dart SDK from 996ef242a2c9 to 5ccf755b37a4 (1 revision) (flutter/engine#29568)
2021-11-06<EMAIL_ADDRESS>Roll Skia from 37bef2d300e4 to 2417872a9993 (1 revision) (flutter/engine#29567)
2021-11-06<EMAIL_ADDRESS>fuchsia: Enable integration tests (flutter/engine#29565)
2021-11-05<EMAIL_ADDRESS>Roll Dart SDK from d464cd3f2dc8 to 996ef242a2c9 (1 revision) (flutter/engine#29564)
2021-11-05<EMAIL_ADDRESS>Fix race condition introduced by background platform channels (flutter/engine#29377)
2021-11-05<EMAIL_ADDRESS>Roll Skia from deb9386be146 to 37bef2d300e4 (6 revisions) (flutter/engine#29563)
2021-11-05<EMAIL_ADDRESS>ios test script checks for ios_test_flutter artifacts (flutter/engine#29554)
2021-11-05<EMAIL_ADDRESS>Trace calls to Canvas::saveLayer (flutter/engine#29444)
2021-11-05<EMAIL_ADDRESS>Roll Dart SDK from 38e7078fa2b7 to d464cd3f2dc8 (5 revisions) (flutter/engine#29561)
2021-11-05<EMAIL_ADDRESS>[Linux keyboard] Fix logical keys of up events are not regularized (flutter/engine#29550)
2021-11-05<EMAIL_ADDRESS>Roll Skia from 725705f6630b to deb9386be146 (3 revisions) (flutter/engine#29559)
2021-11-05<EMAIL_ADDRESS>Roll Fuchsia Mac SDK from emi7COLIo... to 6BYh8qaYo... (flutter/engine#29558)
2021-11-05<EMAIL_ADDRESS>Roll Fuchsia Linux SDK from Ci-Vji1rx... to kHXT3xnTG... (flutter/engine#29557)
2021-11-05<EMAIL_ADDRESS>Roll Dart SDK from 05febe0a7860 to 38e7078fa2b7 (5 revisions) (flutter/engine#29556)
2021-11-05<EMAIL_ADDRESS>Roll Skia from 1800d410df16 to 725705f6630b (1 revision) (flutter/engine#29555)
2021-11-05<EMAIL_ADDRESS>Roll Skia from 4322c7fec7e4 to 1800d410df16 (1 revision) (flutter/engine#29553)
2021-11-05<EMAIL_ADDRESS>Roll Dart SDK from f38618d5d0c0 to 05febe0a7860 (5 revisions) (flutter/engine#29539)
2021-11-05<EMAIL_ADDRESS>don't build flutter SDK artifacts for armv7 (flutter/engine#28016)
2021-11-05<EMAIL_ADDRESS>Roll Skia from 17616469ddf8 to 4322c7fec7e4 (3 revisions) (flutter/engine#29552)
2021-11-05<EMAIL_ADDRESS>Roll Skia from ae67f07a58a2 to 17616469ddf8 (1 revision) (flutter/engine#29551)
2021-11-05<EMAIL_ADDRESS>Roll Skia from cf8daf79e710 to ae67f07a58a2 (1 revision) (flutter/engine#29549)
2021-11-05<EMAIL_ADDRESS>[iOS] Fixes press key message leaks (flutter/engine#29354)
2021-11-05<EMAIL_ADDRESS>Roll Skia from 37da672b14b7 to cf8daf79e710 (9 revisions) (flutter/engine#29548)
2021-11-05<EMAIL_ADDRESS>Roll Fuchsia Mac SDK from nkHhPcy3q... to emi7COLIo... (flutter/engine#29547)
2021-11-05<EMAIL_ADDRESS>Roll Fuchsia Linux SDK from m90mMA37b... to Ci-Vji1rx... (flutter/engine#29546)
2021-11-05<EMAIL_ADDRESS>FragmentProgram constructed asynchronously (flutter/engine#29513)
2021-11-04<EMAIL_ADDRESS>Roll Dart SDK from 3b11f88c96a5 to f38618d5d0c0 (7 revisions) (flutter/engine#29537)
2021-11-04<EMAIL_ADDRESS>Roll Clang Linux from 5N9a1nYj5... to UtjvZhwws... (flutter/engine#29535)
2021-11-04<EMAIL_ADDRESS>use SkMatrix.invert() instead of MatrixDecomposition to validate cache matrices (flutter/engine#29530)
2021-11-04<EMAIL_ADDRESS>Roll Skia from a05d3029ac65 to 37da672b14b7 (1 revision) (flutter/engine#29534)
2021-11-04<EMAIL_ADDRESS>Re-enable A11yTreeIsConsistent with higher timeout (flutter/engine#29367)
2021-11-04<EMAIL_ADDRESS>[raster_cache] Increment access_count on Touch (flutter/engine#29529)
2021-11-04<EMAIL_ADDRESS>Remove D3D9 fallback path (flutter/engine#29533)
2021-11-04<EMAIL_ADDRESS>[fuchsia] Add more logging for error cases. (flutter/engine#29397)
...

Gold has detected about 2 new digest(s) on patchset 58.
View them at https://flutter-gold.skia.org/cl/github/93223

@dkwingsmt looks like https://github.com/flutter/flutter/issues/29448 wasn't it. @mdebbar, do these skia golden diffs make sense to you?

Thanks for letting me know. It's not an essential change, so I'll reland it after this roll.


Handle dlopen(NULL) failure in glibc fallback

(cherry picked from commit 601bcf82eccfbc15c1ff6cc735aafb2c9dab81a5)
Manually removed type annotation added in that commit to keep Python 2.7
support for Pex vendored Pip.
Co-authored-by: Pradyun Gedam<EMAIL_ADDRESS>

@benjyw I'm going to submit this TBR, which is safe, since Pex pins to the prior tip sha of this patches branch. There will be a separate PR coming from Pex to bump to this sha to supprt musl libc static Pythons, like those PBS ships.

@benjyw I'm going to submit this TBR, which is safe, since Pex pins to the prior tip sha of this patches branch. There will be a separate PR coming from Pex to bump to this sha to supprt musl libc static Pythons, like those PBS ships.

SG. I'm back from Europe now, so will be more available for reviews, and at normal hours.


Mbp 220

Working ticket after documentation review with Mark.
This PR adds:

context to the utilities section of the document
links the utilities repository to the docs
adds example values-secret.yaml for medical-diagnosis
adds package installation list for seeding the pattern.

The linting errors all make sense so it'd be good to fix those. The spellcheck error is because 'dns' is missing in .wordlist.txt, could you add that?

All checks are passing!


Update org1-peer2.yaml

Fixing TLS issues while using org1-peer-gateway-svc.${DOMAIN}. This would be needed so there are no TLS issues when sending requests.
Signed-off-by: Deepak Singh<EMAIL_ADDRESS>

@denyeart  can this be taken up  for review ?


Iteration_Plan_Week4_and_Week5

(23/07/2018 - 05/08/2018)
(The work will be delivered at the end of Week 5)
User stories:
4] As typing teacher I want to monitor my student’s results so that I can see their level and their improvements.
1] As expert in typing I want hard exercises so that I can improve my skills.
Documentation

Draw the wireframe layout of the "Progress" page with:

"Add user" button.
"Select user" button.

Change the wireframe layout of the "exercise page":

Add more informations about the middle bar.
Add more information about "easy mode's colors" for people with view defects.

Implementations

Remove all "special keys" and keys that need combinations (Example: Shift+a = A).
Implement "hard mode" without:

Special keys (SPACE INCLUDED).
Keys combinations.

Implement "progress page" (in this version progress page's buttons won't be functional, there will be a standardard user).

Yes, after this iteration I think that most of the project will be complete! I hope that it will be over with the next iteration ☺.


[Feature request] Allow configuring which remote is used

No most of my repositories I have no remote called 'origin' this seems to break most of hubs functionality. It would be really nice if the remote used were configurable.
Note, this is related to this issue where errors are inconsistent it the case where a remote named origin is not defined.

Related: https://github.com/github/hub/pull/1342#issuecomment-261551166

Cleaning up as duplicate


setup should skip folders that start with a dot and optionally ignore non-git repos

@am-immanuel found that using setup on a mac leads to issues because of the .DS_store folder.
We should definitely skip folders that start with a leading dot.
This might be a good opportunity to add a switch (e.G. --skip-others) so that non-git repos are skipped instead of bailing out. I'd still like the current behaviour to be default though.
@bomgar thoughts?

The error message should mention the command line switch in that case.
On Tue, Apr 25, 2017 at 10:33 AM Maximilien Riehl<EMAIL_ADDRESS>wrote:

@am-immanuel https://github.com/am-immanuel found that using setup on a
mac leads to issues because of the .DS_store folder.
We should definitely skip folders that start with a leading dot.
This might be a good opportunity to add a switch (e.G. --skip-others) so
that non-git repos are skipped instead of bailing out. I'd still like the
current behaviour to be default though.
@bomgar https://github.com/bomgar thoughts?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mriehl/fw/issues/15, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAYihKrH1cSFUby16R9qOUn-DDIUutJZks5rza_xgaJpZM4NHKNZ
.


node NotReady - NodeHasSufficientMemory

I am following the guide, since I don't have ARM devies, I am using 4 vm with x86 architecture. That is the only different with the guide.
All steps went fine until chapter 09-bootstrapping-kubernetes-workers, the node is not getting ready:
"kubectl get nodes \
  --kubeconfig admin.kubeconfig"
NAME     STATUS     ROLES    AGE   VERSION
node-0   NotReady   <none>   94s   v1.31.2
node-1   NotReady   <none>   98s   v1.31.2

Further check by describe nodes, the root cause is KubeletHasSufficientMemory
The node have enough memory, and swap is turned off
root@node-0:~# free -m
               total        used        free      shared  buff/cache   available
Mem:            1967         869         356          26         920        1097
Swap:              0           0           0
root@node-0:~# swapon --show

KubeletHasSufficientMemory:
root@server:~#  kubectl describe nodes --kubeconfig admin.kubeconfig
Name:               node-0
Roles:              <none>
Labels:             beta.kubernetes.io/arch=amd64
                    beta.kubernetes.io/os=linux
                    kubernetes.io/arch=amd64
                    kubernetes.io/hostname=node-0
                    kubernetes.io/os=linux
Annotations:        node.alpha.kubernetes.io/ttl: 0
                    volumes.kubernetes.io/controller-managed-attach-detach: true
CreationTimestamp:  Sun, 15 Dec 2024 04:56:26 -0600
Taints:             node.kubernetes.io/not-ready:NoSchedule
Unschedulable:      false
Lease:
  HolderIdentity:  node-0
  AcquireTime:     <unset>
  RenewTime:       Sun, 15 Dec 2024 05:12:08 -0600
Conditions:
  Type             Status  LastHeartbeatTime                 LastTransitionTime                Reason                       Message
  ----             ------  -----------------                 ------------------                ------                       -------
  MemoryPressure   False   Sun, 15 Dec 2024 05:11:55 -0600   Sun, 15 Dec 2024 04:56:26 -0600   KubeletHasSufficientMemory   kubelet has
 sufficient memory available
  DiskPressure     False   Sun, 15 Dec 2024 05:11:55 -0600   Sun, 15 Dec 2024 04:56:26 -0600   KubeletHasNoDiskPressure     kubelet has
 no disk pressure
  PIDPressure      False   Sun, 15 Dec 2024 05:11:55 -0600   Sun, 15 Dec 2024 04:56:26 -0600   KubeletHasSufficientPID      kubelet has
 sufficient PID available
  Ready            False   Sun, 15 Dec 2024 05:11:55 -0600   Sun, 15 Dec 2024 04:56:26 -0600   KubeletNotReady              container r
untime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:Network plugin returns error: cni plugin not initiali
zed
Addresses:
  InternalIP:  <IP_ADDRESS>
  Hostname:    node-0
Capacity:
  cpu:                1
  ephemeral-storage:  19480400Ki

I found the reason, following step was forgotten to run for creating the CIN networking
mv 10-bridge.conf 99-loopback.conf /etc/cni/net.d/


feat(container): upload files inside containers

Closes #270 .
Add ability to upload files to containers.

Is this feature available yet?

Its available to upload files into persistent volumes, but not containers.
Make sure you are using our agent, as the agent is what enables the volumes upload feature.
Rgds,
Neil Cresswell
On 26/03/2020, at 3:37 AM, thilazza<EMAIL_ADDRESS>wrote:

Is this feature available yet?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_portainer_portainer_pull_2942-23issuecomment-2D603875167&d=DwMCaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=0fx0h4vB56iTLpw2McH1ZD6TqG_QGpbggVOB-PfMJpM&m=fzm-CDnkfL07LZHC9TjXXFpGdltlZXYEeloTW9nr-KE&s=9H5gVmg8w_mLYkPY3G5j1NxGIxcwu971jgYPzkiqouI&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AFQ2XFLLUFAHPL4NBDIMYK3RJIJITANCNFSM4HX6TWHQ&d=DwMCaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=0fx0h4vB56iTLpw2McH1ZD6TqG_QGpbggVOB-PfMJpM&m=fzm-CDnkfL07LZHC9TjXXFpGdltlZXYEeloTW9nr-KE&s=s4K02pD-51USqqHehJu1X7EqlaXFbq0nq5mUcQuOuRA&e=.


Changes
Several issues were addressed:

Dead code
unused variables
unused functions/methods/fields (only in tests)
Code simplifications
Don't use code marked as deprecated

Test Plan
All existing tests still pass, code has just been refactored where staticcheck suggested to.
TODO

[x] Explain motivation or link existing issue(s)
[x] Test changes and document test plan
[x] Update documentation as needed

DevOps Notes

[x] This PR does not require configuration changes (e.g., environment variables, GitHub secrets, VM resources)
[x] This PR does not affect public APIs
[x] This PR does not rely on a new version of external services (PoET, elasticsearch, etc.)
[x] This PR does not make changes to log messages (which monitoring infrastructure may rely on)

@fasmat do you want to wait with this change or should it be merged?

bors try

bors merge


whidbey 1.0.0 doesn't work for me.

I'm not getting any color or pretty printing when upgrading from [mvxcvi/whidbey "0.6.0"] to [mvxcvi/whidbey "1.0.0"].

I'm going to need a few more details. What version of Clojure and Leiningen are you using, and how are you including Whidbey?

Clojure 1.6
Leiningen 2.5.1
~/.lein/profiles.clj :repl profile, :plugins vector

Can you try it with the plugin in your user profile? Whidbey uses profile-level metadata now to tell Leiningen to load it for the repl task, so you should be able to just stick it in a general profile.

That fixed the issue.


Compatibility with Enigma2 OpenATV

Hello,
I hope this message finds you well. I am interested in your project, the Christmas Movie Generator, and I would like to know if it is compatible with Enigma2 OpenATV devices.
Specifically, I am wondering if the application can run smoothly on these devices, and if there are any special requirements or adjustments needed for it to work properly.
Thank you for your time, and I look forward to your response.

Hi Saluhi,
Thanks for your interest! From what I understand, Enigma2 OpenATV devices are Linux-based set-top boxes that may not support Node.js apps directly. I'd recommend hosting the app on a web server or cloud platform and accessing it through your device's browser or a custom plugin.
To get started, you'll need:

A TMDB API key from developer.themoviedb.org/docs/getting-started
A Streaming Availability API key from RapidAPI (free or paid options available)

Our app is free and open source - if you find it helpful, we'd appreciate a star on GitHub!
Let me know if you need any clarification.
Best regards,
Shawn

From: Saluhi @.>
Sent: October 27, 2024 8:40 AM
To: SamGreenwood84/christmas-movie-generator @.>
Cc: Subscribed @.***>
Subject: [SamGreenwood84/christmas-movie-generator] Compatibility with Enigma2 OpenATV (Issue #75)
Hello,
I hope this message finds you well. I am interested in your project, the Christmas Movie Generator, and I would like to know if it is compatible with Enigma2 OpenATV devices.
Specifically, I am wondering if the application can run smoothly on these devices, and if there are any special requirements or adjustments needed for it to work properly.
Thank you for your time, and I look forward to your response.
—
Reply to this email directly, view it on GitHubhttps://github.com/SamGreenwood84/christmas-movie-generator/issues/75, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BDOGIYZ5SKVLRSEKZGRWDSTZ5S7KPAVCNFSM6AAAAABQVXUCY2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGYYTMNJTGU3TKNA.
You are receiving this because you are subscribed to this thread.


Label control implementation

What does the pull request do?
Adds Label control similar to WPF's one
What is the current behavior?
Have Label control in Avalonia.
This can help to migrate WPF XAML files easier than before - Label is activelly used in WPF
What is the updated/expected behavior with this PR?
Added Label control with Target property
How was the solution implemented (if it's not obvious)?
Label control is inherited from ContentControl (like in WPF) and adds additional processing of Content to change ContentTemplate if no one is provided to use AccessText for hot key processing..
Checklist

[ ] Added unit tests (if possible)?
[x] Added XML documentation to any related classes?
[ x] Consider submitting a PR to https://github.com/AvaloniaUI/Avaloniaui.net with user documentation

Breaking changes
None
Fixed issues
None

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

Just curious: Why? Label always seemed like redundant control to me.

Probably worth changing the target branch from AvaloniaUI:release/0.9.12 to master.

@FoggyFinder Label is supposed to be attached to a textbox, so it would activate said textbox on click.

Merged master to branch.
Added Fluent theme resources.

Please soft reset your branch clean up everything and force push the result

Have to close this since it hasn't been touched and fixed for a month. Also we object in adding redundant controls and im afraid that this Label control is one of them.


First and last slides are rendered extra

I want to define each slide as a separated component.
I have defined the  component named Component as follows, but when I check it using the react development tools, it looks like two extra components are being rendered.
import { Slide } from "react-slideshow-image";
import "react-slideshow-image/dist/styles.css";

const slideImages = [
  {
    url: "images/slide_2.jpg",
    caption: "Slide 1",
  },
  {
    url: "images/slide_3.jpg",
    caption: "Slide 2",
  },
  {
    url: "images/slide_4.jpg",
    caption: "Slide 3",
  },
];

const Component = (props: { imageUrl: string }) => {
  return (

{props.imageUrl}

  );
};

const Slideshow = () => {
  return (

      <Slide infinite={false}>
        {slideImages.map((slideImage, index) => (
          <Component key={index} imageUrl={slideImage.url} />
        ))}
      </Slide>

  );
};

export default Slideshow;

It looks like the first and last slides are being rendered in duplicate, is there any way to get rid of this?

@masamichhhhi yeah they are intentional. They are added to ensure a smooth experience when you're sliding from one slide to another. For example, if you are on the last slide and you continue to swipe, the expectation is that the first slide shows. That's why those two slides are added. You can check this link out [https://codesandbox.io/s/ancient-microservice-l3red?file=/src/slideshow.js]https://codesandbox.io/s/ancient-microservice-l3red?file=/src/slideshow.js

I see. but,  I think this way should be applied only when infinite=true. Could it be disabled when infinite=false?

@masamichhhhi yeah but also the infinite prop can be changed.
Just curious; are you having some issues because of the addition of those extra slides

@femioladeji
yes, I'm using <video> tag in Slide component and want to play and pause videos from an external button.
so, I've tried to get video element by document.getElementsByClassName and play video like following.
const videoElement = document.getElementsByClassName('video 1')[0]
videoElement.play()

but I got two same element and video doen't play.
In this use case, shouldn't I use this library?

@masamichhhhi gotcha. I've raised a PR to fix this. I'll let you know once the new version goes live

Thank you for dealing with it so quickly!

@masamichhhhi sorry for the delay, a new version has been released v3.6.1. That should work for you

Hey there!
It's not working again. It only works if slidesToShow and slidesToScroll are the same.


Native assertions are not skipped for expectRevert

Issue
According to the foundry book, after calling expectRevert, calls to other cheatcodes before the reverting call are ignored.
However, when running a test like
    function test_assertTrue_string() public {
        string memory err = "throw test";
        vm.expectRevert(bytes(err));
        assertTrue(false, err);
    }

the vm.assertTrue call is executed and the test passed.

Question
Are the native assertions such as assertTrue, assertFalse, assertEq, etc not skipped for expectRevert? Are there any other exceptions as well? Thank you.

I was able to reproduce this on the latest foundry, cc @klkvr

This is happening because the revert is being catched on the level of the test contract itself.

After calling expectRevert, calls to other cheatcodes before the reverting call are ignored.

this means that when expectRevert is active we do not expect the next cheatcode call to revert, but if it does, there is not much we can do

Hmm, ideally the test would fail here though, this feels like a footgun. Would this be solved by the proposed v1 changes for expectRevert? I'm not sure what the latest on those is

Hi @mds1 and @klkvr. Thank you for looking into this issue. Can I check if there is any update on this? Thank you.
Anyway, I am Jin Xing, part of the Kontrol team, where Kontrol combines KEVM and Foundry to grant developers the ability to perform formal verification without learning a new language or tool. So we want to make sure that the behaviour of this issue (expecting revert for assertions) in Foundry is done similarly in Kontrol.

hi @jinxinglim what exactly is your usecase for this?
expectRevert does not catch reverts for cheatcode calls (which native assertions are as well), and changing this would be a breaking change

Hi @klkvr. We are fine with either direction you guys will be taking as we just want Kontrol to behave similarly when it comes to expertRevert. At the current state, we have made Kontrol to not catch reverts for cheatcode calls as stated in the Foundry book.

expectRevert does not catch reverts for cheatcode calls (which native assertions are as well), and changing this would be a breaking change

But the issue is that when we run the following test, it does catch the revert from assertTrue(false, err), a cheatcode in Foundry and making it passed:
    function test_assertTrue_string() public {
        string memory err = "throw test";
        vm.expectRevert(bytes(err));
        assertTrue(false, err);
    }

Thus, we would like to clarify if expectRevert catches reverts for native assertions.

expectRevert catches reverts on its depth or above. So, in your example it does not expect assertTrue call on depth 1 to revert, however, the revert of assertTrue is being propagated by Solidity to revert entire test contract call, thus causing a revert on depth 0 which expectRevert catches.
I see how this is confusing though, and this indeed will be fixed by v1 expectRevert changes

expectRevert catches reverts on its depth or above. So, in your example it does not expect assertTrue call on depth 1 to revert, however, the revert of assertTrue is being propagated by Solidity to revert entire test contract call, thus causing a revert on depth 0 which expectRevert catches.

Oh. Thank you for the explanation!

this indeed will be fixed by v1 expectRevert changes

If that is the case, we will continue to make expectRevert to not catch not catch reverts for cheatcode calls (which native assertions are as well) in Kontrol so to be in sync with the v1 expectRevert changes as you mentioned. Just to check if you guys have an estimate on when this v1 change will be released? Thank you.


[Visual] Add colors to the output of times depending on the speed

Don't know if this is something you'd like in your project, but I enjoy it. Feel free to close or critique, this is my first Rust PR.
This changes the color of the times outputted when running depending on the speed, to make it easiers to spot outliers and possible slow implementations. Since slow is subjective this feature disabled by default and I've added a command line flag -c or --color to enable the coloring.
Here are two screenshot with fast and slow solutions to illustrate the colors.

Also, I think you can be more proud of your submission and make this an opt-in instead of an opt-out, maybe using more dim colors will help making it not too aggressive :thinking:

I somewhat experimented with other color shades using .truecolor(r, g, b), but I found I quite liked the current colors. The current version with explicit colors also makes it easier to read for what that's worth.
If it's important I can look into it again.


feat: export NotificationActionButton

Closes #537

Summary

Add an export we missed from the Carbon v10 migration proxy/re-export of Carbon components.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Run benchmark only when GCP secrets are available.

Close this to check the behavior when opened pull requests from internal repository.


Proposed fix for json endpoint truncation

When there are spaces in any of the tile/widget's fields, the json endpoint truncates prematurely.  This is a proposal to fix issue #24.

No longer valid


@kanaabe: Update artsy passport and marketing modal updates

This integrates my Artsy Passport updates and slightly refactors the marketing signup modal component to appear based on a query param rather than using the referrer to check whether a user is coming from outside Artsy (which turns out to be unreliable).

Going to merge and move along b/c of time sensitivity.


Add RXC token to ERC20 voting token drop down list in time for Feb 6 meeting 🙏

This is a Feature Proposal
:tophat: Description
For bug reports:

What went wrong?
What did you expect should have happened?
What was the config you used?
What stacktrace or error message from your provider did you see?

For feature proposals:

What is the use case that should be solved. The more detail you describe this in the easier it is to understand for us.
If there is additional config how would it look

Can we add RXC token to the list of voting tokens. The RxC inaugural meeting in SanFrancisco is set for Feb 6, featuring a demo of Democracy.Earth, Herb has created RXC token 0x30087625D5016ee977Ecd706BEF0d4D536E7933E.  Members will install MetaMask and add RXC tokens to use for a real time vote during the meeting.
:pushpin: Related issues

#010101

:clipboard: Additional Data

Sovereign deployment where you found the issue:

Browser & version:

Screenshot:

Error messages:

URL to reproduce the error:

With the testnet down we did a 'lite' demo, and have rescheduled the RXC instance/token launch for March 6.

Closing this issue as unresolved and no longer needed.


Feedback: staycamp.md

"Well" (x2)
"all of the sudden"
Some sentences are awkwardly short.
"Congratulations" - kind of ... anticlimactic
Picture?

Much better!
Newline after # row


groupby(as_index=False) loses the grouping column

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
Ubuntu 19.10
Modin installed from (source or binary):
Source
Modin version:
0.7.0+3.g7528bf3
Python version:
Python 3.7.5
Exact command to reproduce:

Describe the problem

When groupby is called with as_index=False parameter, column which data is being grouped on is absent from the result.
Source code / logs

Reproducer code looks like this
#import pandas as pd
import ray
ray.init(huge_pages=True, plasma_directory="/mnt/hugepages")
import modin.pandas as pd

df = pd.DataFrame([[1, 2], [4, 5], [7, 8]],
                  index=[1, 2, 3],
                  columns=['max_speed', 'shield'])
print(df)

df1 = df.groupby('max_speed', as_index=False).mean()
print(df1)

When I run the following reproducer code on Pandas I get the following output (nothing changes)
   max_speed  shield
1          1       2
2          4       5
3          7       8
   max_speed  shield
0          1       2
1          4       5
2          7       8

when I do the same on modin, I don't see max_speed column any more
   max_speed  shield
1          1       2
2          4       5
3          7       8
   shield
0       2
1       5
2       8

Hi @gshimansky, this is a duplicate of #1033 and there's a fix in progress with #1041.
Closing as duplicate, feel free to continue the conversation on #1033.


Support ~ to negate nested filters

Suppose we have this nested filter:
(wvc.query.Filter.by_property("points").greater_than(700) | wvc.query.Filter.by_property("points").less_than(300))

the negation is:
(wvc.query.Filter.by_property("points").less_or_equal(700) & wvc.query.Filter.by_property("points").greater_or_equal(300))

it would be convenient if users can just take the first expression and apply the ~ operator to negate it:
~(wvc.query.Filter.by_property("points").greater_than(700) | wvc.query.Filter.by_property("points").less_than(300))

sounds nice, but I think there are too many cases where we cannot automatically negate things, at least until we have a NOT operator in weaviate again
Just some example:

like
contains_any
geo-coordinates

closing for now as this is currently out of scope


"UNAVAILABLE: io exception" pulsar functions

Pulsar functions keeps crashing in localrun and in cluster mode.
I'm trying to execute a simple word count python function but it never successfully executes.
Execution command
./pulsar-admin functions localrun --py  /home/vagrant/python_scripts/example_function.py --classname WordCountFunction --tenant test --namespace test --name excfunc --inputs persistent://test/test/test1 --output persistent://test/test/test2
Log from functions status
{
  "numInstances" : 1,
  "numRunning" : 0,
  "instances" : [ {
    "instanceId" : 0,
    "status" : {
      "running" : false,
      "error" : "UNAVAILABLE: io exception",
      "numRestarts" : 0,
      "numReceived" : 0,
      "numSuccessfullyProcessed" : 0,
      "numUserExceptions" : 0,
      "latestUserExceptions" : [ ],
      "numSystemExceptions" : 0,
      "latestSystemExceptions" : [ ],
      "averageLatency" : 0.0,
      "lastInvocationTime" : 0,
      "workerId" : "c-standalone-fw-localhost-8080"
    }
  } ]
}

Log from localrun
23:10:47.895 [function-timer-thread-3-1] INFO  org.apache.pulsar.functions.runtime.ProcessRuntime - Started process successfully
23:10:47.903 [Timer-0] INFO  org.apache.pulsar.functions.LocalRunner - {
  "numRestarts": "4",
  "instanceId": "0"
}
2019-12-20 23:10:48.127 INFO  ConnectionPool:85 | Created connection for pulsar://localhost:6650
2019-12-20 23:10:48.128 INFO  ClientConnection:324 | [<IP_ADDRESS>:39360 -> <IP_ADDRESS>:6650] Connected to broker
2019-12-20 23:10:48.131 INFO  BatchMessageContainer:43 | { BatchContainer [size = 0] [batchSizeInBytes_ = 0] [maxAllowedMessageBatchSizeInBytes_ = 131072] [maxAllowedNumMessagesInBatch_ = 1000] [topicName = persistent://test/test/log] [producerName_ = ] [batchSizeInBytes_ = 0] [numberOfBatchesSent = 0] [averageBatchSize = 0]} BatchMessageContainer constructed
2019-12-20 23:10:48.131 INFO  HandlerBase:53 | [persistent://test/test/log, ] Getting connection from pool
2019-12-20 23:10:48.134 INFO  ProducerImpl:151 | [persistent://test/test/log, ] Created producer on broker [<IP_ADDRESS>:39360 -> <IP_ADDRESS>:6650]
2019-12-20 23:10:48.136 INFO  Client:88 | Subscribing on Topic :persistent://test/test/test1
2019-12-20 23:10:48.138 INFO  HandlerBase:53 | [persistent://test/test/test1, test/test/excfunc, 0] Getting connection from pool
2019-12-20 23:10:48.143 INFO  ConsumerImpl:170 | [persistent://test/test/test1, test/test/excfunc, 0] Created consumer on broker [<IP_ADDRESS>:39360 -> <IP_ADDRESS>:6650]
^C23:11:07.717 [Thread-1] INFO  org.apache.pulsar.functions.LocalRunner - Shutting down the localrun runtimeSpawner ...
[vagrant@localhost bin]$ clear
[vagrant@localhost bin]$ ./pulsar-admin functions localrun --py /home/vagrant/python_scripts/example_function.py --classname WordCountFunction --tenant test --namespace test --name excfunc --inputs persistent://test/test/test1 --output persistent://test/test/test2 --log-topic persistent://test/test/log
23:11:14.305 [main] INFO  org.apache.pulsar.functions.runtime.ProcessRuntimeFactory - Java instance jar location is not defined, using the location defined in system environment : /home/vagrant/apache-pulsar-2.4.2/instances/java-instance.jar
23:11:14.309 [main] INFO  org.apache.pulsar.functions.runtime.ProcessRuntimeFactory - Python instance file location is not defined using the location defined in system environment : /home/vagrant/apache-pulsar-2.4.2/instances/python-instance/python_instance_main.py
23:11:14.310 [main] INFO  org.apache.pulsar.functions.runtime.ProcessRuntimeFactory - No extra dependencies location is defined in either function worker config or system environment
23:11:14.463 [main] INFO  org.apache.pulsar.functions.runtime.RuntimeSpawner - test/test/excfunc-0 RuntimeSpawner starting function
23:11:14.464 [main] INFO  org.apache.pulsar.functions.runtime.ProcessRuntime - Creating function log directory /home/vagrant/apache-pulsar-2.4.2/logs/functions/test/test/excfunc
23:11:14.466 [main] INFO  org.apache.pulsar.functions.runtime.ProcessRuntime - Created or found function log directory /home/vagrant/apache-pulsar-2.4.2/logs/functions/test/test/excfunc
23:11:14.466 [main] INFO  org.apache.pulsar.functions.runtime.ProcessRuntime - ProcessBuilder starting the process with args python /home/vagrant/apache-pulsar-2.4.2/instances/python-instance/python_instance_main.py --py /home/vagrant/python_scripts/example_function.py --logging_directory /home/vagrant/apache-pulsar-2.4.2/logs/functions --logging_file excfunc --logging_config_file /home/vagrant/apache-pulsar-2.4.2/conf/functions-logging/logging_config.ini --instance_id 0 --function_id bda8a6b3-7cb2-4d79-9602-7c164eb0aaef --function_version 683af9f6-4c2e-4e5b-888f-6bc5787cdb5e --function_details '{"tenant":"test","namespace":"test","name":"excfunc","className":"WordCountFunction","logTopic":"persistent://test/test/log","runtime":"PYTHON","autoAck":true,"parallelism":1,"source":{"inputSpecs":{"persistent://test/test/test1":{}},"cleanupSubscription":true},"sink":{"topic":"persistent://test/test/test2"},"resources":{"cpu":1.0,"ram":"1073741824","disk":"10737418240"},"componentType":"FUNCTION"}' --pulsar_serviceurl pulsar://localhost:6650 --use_tls false --tls_allow_insecure false --hostname_verification_enabled false --max_buffered_tuples 1024 --port 33446 --metrics_port 32789 --expected_healthcheck_interval 30 --secrets_provider secretsprovider.ClearTextSecretsProvider --cluster_name local
23:11:14.486 [main] INFO  org.apache.pulsar.functions.runtime.ProcessRuntime - Started process successfully
2019-12-20 23:11:14.957 INFO  ConnectionPool:85 | Created connection for pulsar://localhost:6650
2019-12-20 23:11:14.958 INFO  ClientConnection:324 | [<IP_ADDRESS>:39378 -> <IP_ADDRESS>:6650] Connected to broker
2019-12-20 23:11:14.962 INFO  BatchMessageContainer:43 | { BatchContainer [size = 0] [batchSizeInBytes_ = 0] [maxAllowedMessageBatchSizeInBytes_ = 131072] [maxAllowedNumMessagesInBatch_ = 1000] [topicName = persistent://test/test/log] [producerName_ = ] [batchSizeInBytes_ = 0] [numberOfBatchesSent = 0] [averageBatchSize = 0]} BatchMessageContainer constructed
2019-12-20 23:11:14.962 INFO  HandlerBase:53 | [persistent://test/test/log, ] Getting connection from pool
2019-12-20 23:11:14.965 INFO  ProducerImpl:151 | [persistent://test/test/log, ] Created producer on broker [<IP_ADDRESS>:39378 -> <IP_ADDRESS>:6650]
2019-12-20 23:11:14.967 INFO  Client:88 | Subscribing on Topic :persistent://test/test/test1
2019-12-20 23:11:14.969 INFO  HandlerBase:53 | [persistent://test/test/test1, test/test/excfunc, 0] Getting connection from pool
2019-12-20 23:11:14.971 INFO  ConsumerImpl:170 | [persistent://test/test/test1, test/test/excfunc, 0] Created consumer on broker [<IP_ADDRESS>:39378 -> <IP_ADDRESS>:6650]
23:11:15.046 [main] INFO  org.apache.pulsar.functions.LocalRunner - RuntimeSpawner quit because of
23:11:17.879 [function-timer-thread-3-1] ERROR org.apache.pulsar.functions.runtime.ProcessRuntime - Extracted Process death exception
java.lang.RuntimeException:
	at org.apache.pulsar.functions.runtime.ProcessRuntime.tryExtractingDeathException(ProcessRuntime.java:381) ~[org.apache.pulsar-pulsar-functions-runtime-2.4.2.jar:2.4.2]
	at org.apache.pulsar.functions.runtime.ProcessRuntime.isAlive(ProcessRuntime.java:368) ~[org.apache.pulsar-pulsar-functions-runtime-2.4.2.jar:2.4.2]
	at org.apache.pulsar.functions.runtime.RuntimeSpawner.lambda$start$0(RuntimeSpawner.java:88) ~[org.apache.pulsar-pulsar-functions-runtime-2.4.2.jar:2.4.2]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_232]
	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [?:1.8.0_232]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [?:1.8.0_232]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [?:1.8.0_232]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_232]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_232]
	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) [io.netty-netty-all-4.1.32.Final.jar:4.1.32.Final]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_232]
23:11:17.880 [function-timer-thread-3-1] ERROR org.apache.pulsar.functions.runtime.RuntimeSpawner - test/test/excfunc-java.lang.RuntimeException:  Function Container is dead with exception.. restarting
23:11:17.880 [function-timer-thread-3-1] INFO  org.apache.pulsar.functions.runtime.ProcessRuntime - Creating function log directory /home/vagrant/apache-pulsar-2.4.2/logs/functions/test/test/excfunc
23:11:17.881 [function-timer-thread-3-1] INFO  org.apache.pulsar.functions.runtime.ProcessRuntime - Created or found function log directory /home/vagrant/apache-pulsar-2.4.2/logs/functions/test/test/excfunc
23:11:17.881 [function-timer-thread-3-1] INFO  org.apache.pulsar.functions.runtime.ProcessRuntime - ProcessBuilder starting the process with args python /home/vagrant/apache-pulsar-2.4.2/instances/python-instance/python_instance_main.py --py /home/vagrant/python_scripts/example_function.py --logging_directory /home/vagrant/apache-pulsar-2.4.2/logs/functions --logging_file excfunc --logging_config_file /home/vagrant/apache-pulsar-2.4.2/conf/functions-logging/logging_config.ini --instance_id 0 --function_id bfd51266-09ad-40e5-84a1-1f77b6626935 --function_version a717f725-3164-4a1b-b88b-1415b6288af2 --function_details '{"tenant":"test","namespace":"test","name":"excfunc","className":"WordCountFunction","logTopic":"persistent://test/test/log","runtime":"PYTHON","autoAck":true,"parallelism":1,"source":{"inputSpecs":{"persistent://test/test/test1":{}},"cleanupSubscription":true},"sink":{"topic":"persistent://test/test/test2"},"resources":{"cpu":1.0,"ram":"1073741824","disk":"10737418240"},"componentType":"FUNCTION"}' --pulsar_serviceurl pulsar://localhost:6650 --use_tls false --tls_allow_insecure false --hostname_verification_enabled false --max_buffered_tuples 1024 --port 44478 --metrics_port 40031 --expected_healthcheck_interval 30 --secrets_provider secretsprovider.ClearTextSecretsProvider --cluster_name local
23:11:17.897 [function-timer-thread-3-1] INFO  org.apache.pulsar.functions.runtime.ProcessRuntime - Started process successfully
23:11:17.904 [Timer-0] INFO  org.apache.pulsar.functions.LocalRunner - {
  "numRestarts": "5",
  "instanceId": "0"
}
2019-12-20 23:11:18.113 INFO  ConnectionPool:85 | Created connection for pulsar://localhost:6650
2019-12-20 23:11:18.114 INFO  ClientConnection:324 | [<IP_ADDRESS>:39386 -> <IP_ADDRESS>:6650] Connected to broker
2019-12-20 23:11:18.117 INFO  BatchMessageContainer:43 | { BatchContainer [size = 0] [batchSizeInBytes_ = 0] [maxAllowedMessageBatchSizeInBytes_ = 131072] [maxAllowedNumMessagesInBatch_ = 1000] [topicName = persistent://test/test/log] [producerName_ = ] [batchSizeInBytes_ = 0] [numberOfBatchesSent = 0] [averageBatchSize = 0]} BatchMessageContainer constructed
2019-12-20 23:11:18.117 INFO  HandlerBase:53 | [persistent://test/test/log, ] Getting connection from pool
2019-12-20 23:11:18.121 INFO  ProducerImpl:151 | [persistent://test/test/log, ] Created producer on broker [<IP_ADDRESS>:39386 -> <IP_ADDRESS>:6650]
2019-12-20 23:11:18.122 INFO  Client:88 | Subscribing on Topic :persistent://test/test/test1
2019-12-20 23:11:18.124 INFO  HandlerBase:53 | [persistent://test/test/test1, test/test/excfunc, 0] Getting connection from pool
2019-12-20 23:11:18.127 INFO  ConsumerImpl:170 | [persistent://test/test/test1, test/test/excfunc, 0] Created consumer on broker [<IP_ADDRESS>:39386 -> <IP_ADDRESS>:6650]

Machine

OS: CentOS 7
Python: 3.7.4
Openjdk: 1.8.0_232
Pulsar: 2.4.2.jar

Have you installed pulsar-client? @thlautenschlaeger
If not, please install pulsar-client first.
pip3 install pulsar-client==2.4.1.post1

In addition, you can also check your log /home/vagrant/apache-pulsar-2.4.2/logs/functions/test/test/excfunc/excfunc-0.log

Pulsar client is already installed. Got the newest version running
Python pulsar version : 2.4.2
Also checked my log.
Pulsar is not finding the class WordCountFunction. Checked the name and everything. but it's not working.
excfunc-0.log shows:
10:03:54.137 [main] INFO  org.apache.pulsar.functions.runtime.ProcessRuntimeFactory - Java instance jar location is not defined, using the location defined in system environment : /home/vagrant/apache-pulsar-2.4.2/instances/java-instance.jar
10:03:54.153 [main] INFO  org.apache.pulsar.functions.runtime.ProcessRuntimeFactory - Python instance file location is not defined using the location defined in system environment : /home/vagrant/apache-pulsar-2.4.2/instances/python-instance/python_instance_main.py
10:03:54.154 [main] INFO  org.apache.pulsar.functions.runtime.ProcessRuntimeFactory - No extra dependencies location is defined in either function worker config or system environment
10:03:54.268 [main] INFO  org.apache.pulsar.functions.runtime.RuntimeSpawner - test/test/excfunc-0 RuntimeSpawner starting function
ModuleNotFoundError: No module named 'WordCountFunction'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/vagrant/apache-pulsar-2.4.2/instances/python-instance/util.py", line 46, in import_class
    return import_class_from_path(api_dir, full_class_name)
  File "/home/vagrant/apache-pulsar-2.4.2/instances/python-instance/util.py", line 61, in import_class_from_path
    mod = importlib.import_module(class_name)
  File "/usr/local/lib/python3.7/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 965, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'WordCountFunction'
[2019-12-21 10:03:54 +0000] [CRITICAL] python_instance.py: Could not import User Function Module WordCountFunction
[2019-12-21 10:03:54 +0000] [ERROR] log.py: Traceback (most recent call last):
[2019-12-21 10:03:54 +0000] [ERROR] log.py:   File "/home/vagrant/apache-pulsar-2.4.2/instances/python-instance/python_instance_main.py", line 211, in <module>
[2019-12-21 10:03:54 +0000] [ERROR] log.py: main()
[2019-12-21 10:03:54 +0000] [ERROR] log.py:   File "/home/vagrant/apache-pulsar-2.4.2/instances/python-instance/python_instance_main.py", line 192, in main
[2019-12-21 10:03:54 +0000] [ERROR] log.py: pyinstance.run()
[2019-12-21 10:03:54 +0000] [ERROR] log.py:   File "/home/vagrant/apache-pulsar-2.4.2/instances/python-instance/python_instance.py", line 196, in run
[2019-12-21 10:03:54 +0000] [ERROR] log.py: raise NameError("Could not import User Function Module %s" % self.instance_config.function_details.className)
[2019-12-21 10:03:54 +0000] [ERROR] log.py: NameError
[2019-12-21 10:03:54 +0000] [ERROR] log.py: :
[2019-12-21 10:03:54 +0000] [ERROR] log.py: Could not import User Function Module WordCountFunction

Do I need to place the python script that contains the WordCountFunction class in a specific location or do is special python setup necessary for pulsar?

fixed it.
added the python file name before the classname.
correct:
--classname example_function.WordCountFunction
wrong:
--classname WordCountFunction
full command
./pulsar-admin functions localrun --py /home/vagrant/python_scripts/example_function.py --classname example_function.WordCountFunction --tenant test --namespace test --name excfunc --inputs persistent://test/test/test1 --output persistent://test/test/test2

error still existing in cluster mode.
the log folders exist but are empty for cluster mode.
didn't find other log locations.
i only see this function status.
{
  "numInstances" : 1,
  "numRunning" : 0,
  "instances" : [ {
    "instanceId" : 0,
    "status" : {
      "running" : false,
      "error" : "UNAVAILABLE: io exception",
      "numRestarts" : 0,
      "numReceived" : 0,
      "numSuccessfullyProcessed" : 0,
      "numUserExceptions" : 0,
      "latestUserExceptions" : [ ],
      "numSystemExceptions" : 0,
      "latestSystemExceptions" : [ ],
      "averageLatency" : 0.0,
      "lastInvocationTime" : 0,
      "workerId" : "c-standalone-fw-localhost-8080"
    }
  } ]
}

forgot to run the function worker.
still got an error:
"error" : "No such file or directory"
think it's a problem with python. already symlinked the python versions.
do i need to consider the worker configurations to run python?

@tuteng  to help on this.
 correct:
--classname example_function.WordCountFunction
wrong:
--classname WordCountFunction

@thlautenschlaeger Which link are you using for this test？  we may need to help fix the doc also

If possible, please show the detailed context error information.
Debug in cluster mode can refer to this document https://pulsar.apache.org/docs/en/2.4.2/io-debug/#debug-in-cluster-mode. @thlautenschlaeger

@jiazhai i used this link
@tuteng followed this link and found this result
  packageLocation {
    packagePath: "sample/xploras/prediction_usr428/002b1544-1c80-4b7b-bbd8-42443e0bcd48-example_function.py"
    originalFileName: "example_function.py"
  }
  createTime:<PHONE_NUMBER>762
}
, runtimeSpawner=null, startupException=java.io.IOException: No such file or directory), public/default/testfn:

seems as if the python file won't get uploaded to the function worker. i'm using the java pulsar-admin client to create the pulsar function and provide the path of the local python file.

I am so sorry for the late reply. I tested in cluster mode and did not reproduce your problem. My test environment, 3 brokers, 2 function_worker, uses Ubuntu 16.04.6 LTS and pulsar version 2.4.2. The command is as follows:
Install the pulsar client on each function_worker:
pip install pulsar-client

Create and start function
./bin/pulsar-admin functions create --py /root/test-function/word_function.py --classname word_function.WordCountFunction --tenant public --namespace default --name excfunc --inputs test1 --output test2

The content of word_function.py,
from pulsar import Function

# The classic ExclamationFunction that appends an exclamation at the end
# of the input
class WordCountFunction(Function):
    def __init__(self):
        pass

    def process(self, input, context):
        words = input.split()
        for word in words:
            context.incr_counter(word, 1)
            context.get_logger().info("The value is " + str(context.get_counter(word)))
        return input + "!"

If you have any questions, please ping me. @thlautenschlaeger

@thlautenschlaeger  Are you still meeting this issue? seems @tuteng could run success

It seems that you should check your log =>workerId/logs/functions/test/test/excfunc/excfunc-0.log
@thlautenschlaeger

thank you for your help!
got it working now. changed the permissions for the pulsar function files download directory that is definied in functions_worker.yml with the following entry
downloadDirectory: /tmp/pulsar_functions
now the function_worker has access to the python files and executes them.

I encountered this issue too. In my condition, the root cause is the wrong indent of python script. I copy code from site and the indent is wrong. I found this in log file logs/functions/public/default/<your-function-name>.


Add TypeScript ruleset & config

There is a parser for TS: https://github.com/eslint/typescript-eslint-parser
And a ruleset: https://github.com/nzakas/eslint-plugin-typescript
And There is this thing, although with not much info about usage: https://github.com/JamesHenry/eslint-plugin-tslint

For now, here are the steps necessary to make it work. Everything seems to be working correctly. I have not tested if the ESLint's rules actually work on TS-specific code constructs, but they should definitely work fine on constructs present in normal JS. 🎉
I'll be incorporating this into the module as a new ruleset later.
npm i -D eslint@latest @strv/eslint-config-javascript@latest eslint-plugin-typescript@latest typescript-eslint-parser@latest

// .eslintrc.js

'use strict'

module.exports = {
    parser: 'typescript-eslint-parser',

    extends: [
        '@strv/javascript/environments/nodejs/v10',
        '@strv/javascript/environments/nodejs/optional',
        '@strv/javascript/coding-styles/recommended',
    ],

    plugins: [
        'typescript',
    ],

    env: {
        es6: true,
    },

    parserOptions: {
        sourceType: 'module'
    },

    rules: {
        // TS code is mostly self-documented and having JSDoc directives for everything is redundant
        // when you can easily infer return values and argument types from the code itself.
        'valid-jsdoc': 'off',

        // Disabled because it generates false positives with interface declarations and TypeScript
        // blows up anyway during compilation when it encouters an undefined variable.
        'no-undef': 'off',

        // Prevent TypeScript-specific constructs from being erroneously flagged as unused
        'typescript/no-unused-vars': 'error',

        // @TODO: Add the remaining rules from eslint-plugin-typescript
    },

    overrides: [{
        files: ['**/*.test.ts'],
        env: {
            mocha: true
        },
    }],
}

# .eslintignore
node_modules
.nyc_output
coverage
docs

# Choose whichever you use
out
dist

To run ESLint on all source files: npx eslint --ext ts .


Headers/footers - Visual design

Headers
More detailed mobile specifications illustrated here.

Footers pending larger conversation.

This is a question for @twblack88 and @amy-jung

@shea-fitz I'll also need the Maker logo SVG you're using in your footer spec.

I think this requires some more thinking around where users are coming from/where they should go to leave. Some ideas (not saying it should be written or sectioned like this in the footer):
Comm-Dev Specific:

Resources/formerly "Develop" page
AwesomeMakerDAO

Socials:
Forum, Github Repo, Community chat, Youtube channel, reddit
Things I'm not sure about:

Privacy Policy
keeping all from "Products": Oasis, Migrate, Ecosystem, Governance?
MakerDAO/Foundation specific: 1. Whitepaper 2. Maker Docs 3. MakerDAO.com

@shea-fitz I'll also need the Maker logo SVG you're using in your footer spec.

If it's the original
https://www.notion.so/makerdao/Maker-Brand-ac517c82ff9a43089d0db5bb2ee045a4

Also here in white if easier:
Logo_Maker_White.svg.zip

Closed by #199


Ensure there front panel accommodates LED indicators

What has to be done
Front panel should be designed in a way that can accommodate whatever external LED status indicators may have to be present.
This may be on the metal or acrylic part of the front panel. A decision on this has to be reached and confirmed with PCB team, as
the LED circuit might take a few variant forms.
How do you know it has to be done
India build has produced feedback that such indicators are required for safety reasons, as described in #890
Code pointers
TODO more information needed
Don't forget

[x] Put the issue in a milestone
[x] Assign it to one of the projects
[x] Add appropriate labels
[ ] Mention dependent/blocked issues if any

Tentatively this can be mounted to front acrylic plate.

Tentatively this can be mounted to front acrylic plate.

Blocked by #890


Error occurred for Rails/Present was auto correcting

I am running bin/rubocop --server --only Rails/Present -a -d to auto-correct following line
(p.value.blank? || p.value.casecmp('*') == 0 || (!value.blank? && p.value.split(',').include?(value)))

Expected behavior
As per rubocop expected behavior should be
(p.value.blank? || p.value.casecmp('*') == 0 || (value.present? && p.value.split(',').include?(value)))

Actual behavior
An error occurred while Rails/Present cop was inspecting /path/to/the/actual/file.rb:6:57.
Errors are usually caused by RuboCop bugs.
Please, report your problems to RuboCop's issue tracker.
https://github.com/rubocop/rubocop/issues

Steps to reproduce the problem
Just run
bin/rubocop --server --only Rails/Present -a -d

RuboCop version
$ [bundle exec] rubocop -V
1.61.0 (using Parser <IP_ADDRESS>, rubocop-ast 1.31.1, running on ruby 2.7.8) +server [x86_64-darwin21]
  - rubocop-factory_bot 2.25.1
  - rubocop-performance 1.20.2
  - rubocop-rails 2.24.0
  - rubocop-rspec 2.27.1

Can you share your config? I can't seem to replicate. Also, can you make sure that this error occurs in a file exclusivly with this code?

I also cannot reproduce the error. Due to incomplete information, I will close this issue. However, feel free to reopen it once more information is available. Thank you.


Conditional Import of TypedDict Not Working

This might be a side effect of https://github.com/python/mypy/issues/1297.
Environment data

Language Server version: 2021.1.0
OS and version: Windows
Python version (& distribution if applicable, e.g. Anaconda): 3.8.2

Expected behaviour
TypedDict works
Actual behaviour
Argument to class must be a base class
Code Snippet / Additional information

try:
    from typing import TypedDict
except ImportError:
    from typing_extensions import TypedDict

class Foo(TypedDict):
    bar: str

This is related to https://github.com/microsoft/pyright/issues/1358

This is related to https://github.com/microsoft/pyright/issues/1358

if TYPE_CHECKING:
# https://github.com/microsoft/pyright/issues/1358
from typing import TypedDict
else:
try:
from typing import TypedDict
except ImportError:
from typing_extensions import TypedDict
solves my problem.

if TYPE_CHECKING:
# https://github.com/microsoft/pyright/issues/1358
from typing import TypedDict
else:
try:
from typing import TypedDict
except ImportError:
from typing_extensions import TypedDict
solves my problem.


privilege manage (escalation & degradation) when running as root

#111
Privilege manage when running as root. Store the root privilege and degrade, when root privilege is needed, escalate privilege
With this, sudo xmake install is safe and ok

Great! 👍

@TitanSnow I do not understand why it is safe to do this, and now it seems that sudo xmake can always be passed.

@waruqi when running as root, module privilege will store the root privilege. That is
sudo xmake
uid: 0
gid: 0

privilege store it
uid: 1000 (for example)
gid: 1000

some actions need privilege, get
uid: 0
gid: 0

@TitanSnow This means that when the store privilege (uid, gid 1000), some operations that require root(uid,gid 0) will still fail. So it's safe when run sudo xmake. Is that right?

@waruqi The script inside xmake process could use privilege.get() to get root privilege. But the processes xmake spawns could not get root privilege. They run as normal user

@waruqi  When root privilege is needed, for example installation, call privilege.get() then after this xmake and spawned process will have root privilege

Got it! It's great!  👍 ❤

launch xmake by sudo xmake -> has root privilege -> store it -> doesn't has root privilege -> spawn process like gcc, doesn't has root privilege, cannot get root privilege -> do installation -> privilege.get() -> has root privilege -> spawn process for installation, has root privilege

I understand it. Thanks! 😄


About raspi-config does not identify the current version of the raspi-config tool.

For most software packages, the "About" section will identify which version of the tool.  Both the "About" section and the "Update" section should identify:
A) the current version (release date of the script?).
B) the version of an updated version if available.

Many thanks for the report - this tool is now maintained in https://github.com/RPi-Distro/raspi-config so you'd be best posting the issue there.


Removing initial_data from iree_hal_allocator_allocate_buffer.

I didn't really like this when I added it and this reverts it back to
the original behavior of requiring users to allocate and then transfer
whatever they want in their buffers. All implementations besides local
CPU and WebGPU were staging via the extremely inefficient and blocking
synchronous transfer path and we don't want to encourage that - users
must make the decision as to whether they want to synchronously
transfer (in which case it's just an iree_hal_device_transfer_* call)
or asynchronously transfer from files or queue copies.
This likely breaks WebGPU but we can fix that with better solutions -
the existing approach worked a bit but ran down code paths that were
dangerously close to blocking and it didn't account for a lot of buffer
types.
Progress on https://github.com/openxla/iree/issues/14607.
Fixes https://github.com/openxla/iree/issues/14605.

So the change users need to make are

status = iree_hal_allocator_allocate_buffer(

  allocator, buffer_params, allocation_size, initial_data, &buffer);

status = iree_hal_allocator_allocate_buffer(allocator, buffer_params,

                                           allocation_size, &buffer);

if (iree_status_is_ok(status) &&

 !iree_const_byte_span_is_empty(initial_data)) {

status = iree_hal_device_transfer_h2d(

   device, initial_data.data, buffer, 0,

   iree_min(initial_data.data_length, allocation_size),

   IREE_HAL_TRANSFER_BUFFER_FLAG_DEFAULT, iree_infinite_timeout());

}

?

Yep! That's effectively what the implementation was doing before.


Should Still Show Current Version Without Internet

Just playing with new features in Mint 1.6 and noticed that the current version is not shown with mist version when the internet is not available:
With internet:
pico@Computer ~ % mist version
1.6 (latest: 1.6)

Without internet:
pico@Computer ~ % mist version
Unable to check for latest version.

Pull request incoming - nice pickup!


Caught exception: Couldn't poll for events, error = 4 Error while receiving file changes

Gradle displays the following caught exception:
Caught exception: Couldn't poll for events, error = 4
Error while receiving file changes
net.rubygrapefruit.platform.NativeException: Couldn't poll for events, error = 4
	at net.rubygrapefruit.platform.internal.jni.AbstractNativeFileEventFunctions$NativeFileWatcher.executeRunLoop0(Native Method)
	at net.rubygrapefruit.platform.internal.jni.AbstractNativeFileEventFunctions$NativeFileWatcher.executeRunLoop(AbstractNativeFileEventFunctions.java:42)
	at net.rubygrapefruit.platform.internal.jni.AbstractFileEventFunctions$AbstractFileWatcher$1.run(AbstractFileEventFunctions.java:154)

This does not impact the build process.  Per the JetBrains issue KT-36871 it appears to be related to running the ubuntu (linux/amd64) Docker container on an Apple Silicon based Mac (linux/arm64/v8).


Automatically rename untitled tabs

Summary

Hi, i was Sublime's user, and now i'm using Atom as my main editor. I would like to suggest a feature like Sublime's, the editor will automatically rename untitled (unsaved) tabs.
Motivation

This feature actually helps people who like writing down notes a lot, easier to organize and find their notes in their editor based on beginning words to be set as tab title like below.

Describe alternatives you've considered

Additional context

Thanks for contributing!
We noticed that this looks like a duplicate of https://github.com/atom/atom/issues/18978 - as mentioned in https://github.com/atom/atom/issues/18978#issuecomment-472523478, it looks like there's a package that provides the functionality you're looking for.

Because we treat our issues list as the Atom team's backlog, we close duplicates to focus our work and not have to touch the same chunk of code for the same reason multiple times. This is also why we may mark something as duplicate that isn't an exact duplicate but is closely related.
For information on how to use GitHub's search feature to find out if something is a duplicate before filing, see the How Can I Contribute? section of the Atom CONTRIBUTING guide.


Add ability to always show tray icons on Windows 11

Description of the new feature / enhancement
Would love it if powertoys would be able to somehow set or toggle the ability to show all system tray icons.
I was able to briefly enable this by running explorer shell:::{05d7b0f4-2121-4eff-bf6b-ed3f69b894d9} and setting the option, but after an OS update the setting is not respected and there's no way to disable and re-enable it to see if it takes effect.
Scenario when this would be used?
All the time if it is a static setting, or it would be cool if there was a hotkey you could hit to show all and then flip back to whatever windows 11 is trying to do by default
Supporting information
No response

+1
Funny is that in Windows 10 you could use options for that and just click display all tray icons and it was working, and in Windows 11 you need use some fancy commands and after any app is updated tray icon is again hidden. Gosh, MS removing useful features and adding some sh*t 😿 Last hope in PowerToys 🙏🏻

/feedbackhub


Simplify unnecessary continue constructs

Awaiting a fix for https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues/6238


refactor: manual auth0 handling

This PR is an alternative for #387. (We should merge one of them.
Main changes:

Remove @auth0/nextjs-auth0

Now all auth0 operations are handled using auth0 API (auth0 package)
This change removes nextjs-auth0 session and fixes this.

auth0 page added. It contains two forms:

Enter email (user enters email and submits)
Enter OTP (user enters OTP and submits)
I guess we may need some copy/design updates for this page.

Result:

Existing user login
https://github.com/worldcoin/developer-portal/assets/89008845/7533322a-b2dd-4ffd-8fe4-9ce9ba7d1724

Sign up with email
https://github.com/worldcoin/developer-portal/assets/89008845/753a3ad0-825b-491a-8576-fc5b9e50f735

Log in with email
https://github.com/worldcoin/developer-portal/assets/89008845/e15a0791-5560-4d96-b47b-1b4269a690e4

Update email
https://github.com/worldcoin/developer-portal/assets/89008845/ab31c4d3-5f58-4a63-8db4-676db3d1b96d

Closing this as we decided to use #387


[BUG] Spectate doesn't toggle ped visibility

txAdmin/FXServer versions:
v4.9
Describe the bug
Spectate does not toggle ped visibility, meaning a player can see an admin when spectating
To Reproduce
Steps to reproduce the behavior:

Go to spectate a player
Have player be in the air
See floating admin

Expected behavior
Not see the floating ghost of admin's past.
Screenshots
If applicable, add screenshots to help explain your problem.

Fixed in aac81f238d51555070a3a1fbfa8c8f58ff77f2ce


Add support for "snapit" command

Background
This PR adds support for the /snapit command to generate snapshot versions of the packages using the GH action that powers the functionality for Polaris.
See this WxM post for additional context.
Solution
(Describe your solution, why this approach was chosen, and what the alternatives/impacts may be)
🎩

...

Checklist

[ ] I have :tophat:'d these changes
[ ] I have updated relevant documentation

/snapit

/snapit


🏗 Support parts as external files and in the site config

This PR addresses part of this issue: https://github.com/jupyter-book/mystmd/issues/1246 - specifically,

Allow frontmatter part to be a file
Modify behaviour of in-line frontmatter parts be processed as a "pseudo-file" rather than injected into the page tree
Allow site to define parts
Update static export templating logic and extractPart for new part definition locations

The parts of that issue that are not yet addressed in this PR are

Allow exports to define parts
Update site templating logic to respect parts in template.yml

Additionally, project-level parts are still valid, but are not processed in the same way as page or site parts (i.e. they are still left as text in-line in the frontmatter)

Before merging, we should also process project parts the same way as site parts, even though they are unused everywhere (except the CFF export...)


Allow ExpirationTime to be patched onto bigquery tables

This is something I needed to be able to do for a project at work, It would be nice to use the official branch rather than a fork if possible.
The only thing I'm not 100% on is the t.ExpirationTime = conf.ExpirationTime.UnixNano() / 1e6 line in service.go - It seems to work and we use it daily so hopefully it's correct.

I signed it!

Can you create a Gerrit CL by following the instructions at https://github.com/GoogleCloudPlatform/google-cloud-go/blob/master/CONTRIBUTING.md? We cannot accept PRs, because Gerrit doesn't let us.

@matthewljsmith are you still interested to contribute?  Or perhaps you already have?  If so, can you please close out this PR?  Thanks!

This has been submitted through git code-review, closing.


Undirected crf graph: Use integer for size

With python3 the binary operator / means floating point division.
This commit switches the operator to //, which means integer
division in python2 as well as python3.

this is also fixed in #196

Indeed, thx.


Website not loading in Singapore

Please verify that this bug has NOT been raised before.

[X] I checked and didn't find a similar issue

Describe the bug*
In india , its working fine but in singapore ,the same website is not loading. Our inventree is hosted on google cloud platform.
Steps to Reproduce
I am using vm instance , google cloud shell
Expected behaviour
It should load
Deployment Method

[ ] Docker
[X] Package
[ ] Bare metal
[ ] Other - added info in Steps to Reproduce

Version Information
15.3 version
Please verify if you can reproduce this bug on the demo site.

[X] I can reproduce this bug on the demo site.

Relevant log output
No response

@BorampetBhavani more likely an issue with your cloud hosting platform than with InvenTree.

Are you really saying that the demo site does not load in Singapore?

This sounds like a local deployment problem


Update README.md for 1.2.0

See https://github.com/gregg-miskelly/omnisharp-vscode/tree/ReadMeUpdate-1.2.0#c-for-visual-studio-code-powered-by-omnisharp for the formatted version of the doc

:+1:

@DustinCampbell please review again

:+1:


How to make JetBrains products sub-window float?

Hi,I want to make the JetBrains application sub window be float.I config it by following configuration.
yabai -m rule --add title='.*Welcome*.|Checkout*.|.*Configurations|Choose*.|Import*.|.*Charges|Tip*.|Rename*.' manage=off
Is there any other better way?

Is there any other better way?

If you're running current master, you can do this with the yet unreleased changes to signals:
Try the opposite way: float all windows, then unfloat all windows that are the only window of the application when they are created.
# regex that matches JetBrains apps
apps='^(IntelliJ IDEA|WebStorm|CLion)$'

# float all JetBrains apps
yabai -m rule --add app="${apps}" manage=off

# add a signal that floats a window created by these apps when it's the only window
yabai -m signal --add event=window_created app="${apps}" action='/path/to/some/script'

Now the action would need to be contained in an external, executable file (remember to chmod +x it), and should look something like this:
# check if there is exactly one window belonging to the process of the window that was just created
if yabai -m query --windows \
    | jq -er 'map(select(.id == env.YABAI_WINDOW_ID).pid)[0] as $pid | map(select(.pid == $pid)) | length == 1' >  /dev/null
then
    # unfloat the window
    yabai -m window "${YABAI_WINDOW_ID}"  --toggle float
fi

The reason the script needs to be in an external file is that the daemon message length is limited, and this script exceeds that length by a bit. That limit will likely be removed in the future, making this a bit easier.

yabai -m rule --add app="PhpStorm" manage=off
yabai -m rule --add app="PhpStorm" title="~/dev/" manage=on

If all your projects stem from one directory like mine you can do something like that.

Is there any other better way?

If you're running current master, you can do this with the yet unreleased changes to signals:
Try the opposite way: float all windows, then unfloat all windows that are the only window of the application when they are created.
# regex that matches JetBrains apps
apps='^(IntelliJ IDEA|WebStorm|CLion)$'

# float all JetBrains apps
yabai -m rule --add app="${apps}" manage=off

# add a signal that floats a window created by these apps when it's the only window
yabai -m signal --add event=window_created app="${apps}" action='/path/to/some/script'

Now the action would need to be contained in an external, executable file (remember to chmod +x it), and should look something like this:
# check if there is exactly one window belonging to the process of the window that was just created
if yabai -m query --windows \
    | jq -er 'map(select(.id == env.YABAI_WINDOW_ID).pid)[0] as $pid | map(select(.pid == $pid)) | length == 1' >  /dev/null
then
    # unfloat the window
    yabai -m window "${YABAI_WINDOW_ID}"  --toggle float
fi

The reason the script needs to be in an external file is that the daemon message length is limited, and this script exceeds that length by a bit. That limit will likely be removed in the future, making this a bit easier.

如果你打开多个项目，那么他们的PID是相同的

我觉得我们应该使用Title来判断这个文件是否存在：
~ >>> yabai -m query --windows --window 1443 | jq .title
"rds-console [~/Documents/jingdong/daasfe/rds-console] - .../client/.eslintrc.js"

~ >>> yabai -m query --windows --window 2145 | jq .title
"App.vue [/private/var/folders/3k/vs18p5xd7y145l5vq0m587640000gn/T/App.vue] - ~/Downloads/App.vue"

yabairc (use master branch)
# regex that matches JetBrains apps
JetBrainsApp='^(IntelliJ IDEA|WebStorm|GoLand)$'
yabai -m rule --add app="${JetBrainsApp}" manage=off
yabai -m signal --add event=window_created app="${JetBrainsApp}" action="${XDG_CONFIG_HOME}/yabai/JetBrainsApp.sh"

JetBrainsApp.sh
#!/bin/sh
title=$(yabai -m query --windows --window ${YABAI_WINDOW_ID} | jq .title | cut -d [ -f 2 | cut -d ] -f 1)
title="${title/\~/$HOME}"
if [ "$title" == "." ]; then
  absolute=$(pwd)
elif [ "$title" == ".." ]; then
  absolute=$(dirname "$(pwd)")
else
  absolute=$(cd "$(dirname "$title")"; pwd)/$(basename "$title")
fi
if [ -e $absolute ];then
  yabai -m window ${YABAI_WINDOW_ID} --toggle float
fi

@dominiklohmann interestingly I have to restart yabai while the IDE is running before this gets applied to the IDE windows. If I start the IDE after yabai all windows are floating... 🤔

Seems this broke with the latest release. All Jetbrains windows are floating now for me. :(

Any updates on this?
The commented scripts don't work on my machine, except for the OP one.

Can we reopen this issue?
The proposed solutions don't seem to work :/

Can we reopen this issue?
The proposed solutions don't seem to work :/

@cake808 I fresh installed Catalina and experienced the issue also.
I investigated with yabai -m query --windows and saw that the title property was no longer outputting the path within it, which is what my solution hooked onto.
One thing I love about JetBrains is that they have a setting to revert to the original functionality.
Go to PHPStorm > Preferences > Appearance & behavior > Appearance > UI Options > Always show full path in window header.  You might not need to do the following but I did it anyway and it started working like before: Restart PHPStorm and Yabai.

I was able to achieve it with this for IntelliJ:
yabai -m rule --add app="IntelliJ IDEA" manage=off
yabai -m rule --add app="IntelliJ IDEA" title=".*\[(.*)\].*" manage=on

And, as @kerryj89 said:

Go to IntelliJ IDEA > Preferences > Appearance & behavior > Appearance > UI Options > Always show full path in window header

@shepherdjerred I've slightly modified your rules to match gradle files in Android Studio (their title doesn't seem to be affected by the "Always show full path in window header"):
yabai -m rule --add app="^Android Studio" manage=off
yabai -m rule --add app="^Android Studio" title="(.[(.)].)|(.(:.).)" manage=on

I just want to add that is useful to have the config window_topmost off to prevent having some IDE action popups being inacessible.
yabai -m config window_topmost off Brings these type of popups to the front of the application:

@ubuntudroid I think your rules work even better than mine. Thanks for contributing!

@shepherdjerred I've slightly modified your rules to match gradle files in Android Studio (their title doesn't seem to be affected by the "Always show full path in window header"):
yabai -m rule --add app="^Android Studio" manage=off
yabai -m rule --add app="^Android Studio" title="(.*\[(.*)\].*)|(.*\(\:.*\).*)" manage=on

Thank you @ubuntudroid for your solution.
You can also do it on one line by reversing the search on the title [!]
yabai -m rule --add app="^Android Studio" title!="(.*\[(.*)\].*)|(.*\(\:.*\).*)" manage=off

@carlosuno Neat, didn't know about that reverse operator! Many thanks! 🙏

I am trying to do the same for Ableton and 3rd party plugins, unfortunately Ableton does not have an option to show the full path in the title, therefore the latest solution does not work.
I did find that there is an option for Ableton called -ShowFullVersionInTitle from this list however i cant seem to find a way to get it working.
Here is an example of what I get when I use yabai -m query --windows:
{
	"id":981,
	"pid":13984,
	"app":"Live",
	"title":"Untitled",
	"frame":{
		"x":20.0000,
		"y":20.0000,
		"w":1890.0000,
		"h":1560.0000
	},
	"level":0,
	"role":"AXUnknown",
	"subrole":"AXStandardWindow",
	"movable":1,
	"resizable":1,
	"display":1,
	"space":2,
	"visible":0,
	"focused":0,
	"split":"vertical",
	"floating":0,
	"sticky":0,
	"minimized":0,
	"topmost":0,
	"opacity":1.0000,
	"shadow":1,
	"border":0,
	"stack-index":0,
	"zoom-parent":0,
	"zoom-fullscreen":0,
	"native-fullscreen":0
},{
	"id":1010,
	"pid":13984,
	"app":"Live",
	"title":"FF Pro-L 2/Master",
	"frame":{
		"x":1930.0000,
		"y":20.0000,
		"w":950.0000,
		"h":589.0000
	},
	"level":3,
	"role":"AXWindow",
	"subrole":"AXFloatingWindow",
	"movable":1,
	"resizable":0,
	"display":1,
	"space":2,
	"visible":0,
	"focused":0,
	"split":"vertical",
	"floating":0,
	"sticky":0,
	"minimized":0,
	"topmost":1,
	"opacity":1.0000,
	"shadow":1,
	"border":0,
	"stack-index":0,
	"zoom-parent":0,
	"zoom-fullscreen":0,
	"native-fullscreen":0
}

Unfortunately I cant seem to do something like yabai -m rule --add app="^Live$" role="AXUnknown" manage=on.
I also tried the initial solution used in this thread but that does not seem to work anymore.
Please let me know if this is the wrong place to be asking for help.

Unfortunately yabai doesn't manage my IntelliJ after using the solution provided by @carlosuno - does anyone have a configuration specifically for IntelliJ IDEA?

my intellij is also not managed by yabai, only if I restart with the IDE open :(

Unfortunately yabai doesn't manage my IntelliJ after using the solution provided by @carlosuno - does anyone have a configuration specifically for IntelliJ IDEA?

Works for me:
yabai -m rule --add app="^IntelliJ IDEA$" manage=off
yabai -m rule --add app="^IntelliJ IDEA$" title="( – )" space=7 manage=on

Unfortunately yabai doesn't manage my IntelliJ after using the solution provided by @carlosuno - does anyone have a configuration specifically for IntelliJ IDEA?

Works for me:
yabai -m rule --add app="^IntelliJ IDEA$" manage=off
yabai -m rule --add app="^IntelliJ IDEA$" title="( – )" space=7 manage=on

Great!It's working again,🤪。
yabai -m rule --add app="^IntelliJ IDEA-EAP$" manage=off
yabai -m rule --add app="^IntelliJ IDEA-EAP$" title="( – )"  manage=on

my intellij is also not managed by yabai, only if I restart with the IDE open :(

I'm still experiencing this issue.
Neither this:
yabai -m rule --add app="^IntelliJ IDEA$" manage=off
yabai -m rule --add app="^IntelliJ IDEA$" title="( – )" space=7 manage=on

nor this
yabai -m rule --add app="IntelliJ IDEA" manage=off
yabai -m rule --add app="IntelliJ IDEA" title=".*\[(.*)\].*" manage=on

seems to work.
Am I doing something wrong or is the mentioned issue still present?

my intellij is also not managed by yabai, only if I restart with the IDE open :(

I'm still experiencing this issue. Neither this:
yabai -m rule --add app="^IntelliJ IDEA$" manage=off
yabai -m rule --add app="^IntelliJ IDEA$" title="( – )" manage=on

nor this
yabai -m rule --add app="IntelliJ IDEA" manage=off
yabai -m rule --add app="IntelliJ IDEA" title=".*\[(.*)\].*" manage=on

or this
yabai -m rule --add app="^IntelliJ IDEA$" title!=".*\[(.*)\].*" manage=off

seems to work.
Am I doing something wrong or is the mentioned issue still present?

Same. By applying these changes (I'm using app="PyCharm"), all IDE windows become floating. PyCharm 2022.3.1, yabai-v5.0.2, macos Monterey 12.6.3.

my intellij is also not managed by yabai, only if I restart with the IDE open :(

I'm still experiencing this issue. Neither this:
yabai -m rule --add app="^IntelliJ IDEA$" manage=off
yabai -m rule --add app="^IntelliJ IDEA$" title="( – )" manage=on

nor this
yabai -m rule --add app="IntelliJ IDEA" manage=off
yabai -m rule --add app="IntelliJ IDEA" title=".*\[(.*)\].*" manage=on

or this
yabai -m rule --add app="^IntelliJ IDEA$" title!=".*\[(.*)\].*" manage=off

seems to work.
Am I doing something wrong or is the mentioned issue still present?

Same. By applying these changes (I'm using app="PyCharm"), all IDE windows become floating. PyCharm 2022.3.1, yabai-v5.0.2, macos Monterey 12.6.3.

I'm using the following config and it works on MacOS Ventura 13.2.1 and yabai-v5.0.2:
# make JetBrains products popup windows float
apps='^(IntelliJ IDEA|WebStorm|GoLand|PyCharm)$'
yabai -m rule --add app="JetBrains Toolbox" manage=off
yabai -m rule --add app="${apps}" manage=off
yabai -m rule --add app="${apps}" title="( – )" manage=on

The following skhd shortcut might help as a workaround:
# float / unfloat window and center on screen
shift + alt - t : yabai -m window --toggle float;\
          yabai -m window --grid 4:4:1:1:2:2

Essentially, whenever there is a window that behaves oddly (e.g., float even if it shouldn't), select that window and invoke that shortcut once to toggle floating for it. Works like a charm for me every time.
The center part (second line) of the command is optional. Feel free to remove it if you don't need it.
Disclosure: I don't remember whether this command was part of skhd's default configuration, or if I copied it somewhere else. One thing I'm sure is, that it's certainly not mine. 😅

@Kurounin
Your code works well.
# make JetBrains products popup windows float
apps='^(IntelliJ IDEA|WebStorm|GoLand|PyCharm)$'
yabai -m rule --add app="JetBrains Toolbox" manage=off
yabai -m rule --add app="${apps}" manage=off
yabai -m rule --add app="${apps}" title="( – )" manage=on

However, when the project was first opened, this seemed not work.

https://github.com/koekeishiya/yabai/issues/1687#issuecomment-1492866141
I have solved this in #1687

Unfortunately yabai doesn't manage my IntelliJ after using the solution provided by @carlosuno - does anyone have a configuration specifically for IntelliJ IDEA?

Works for me:
yabai -m rule --add app="^IntelliJ IDEA$" manage=off
yabai -m rule --add app="^IntelliJ IDEA$" title="( – )" space=7 manage=on

This works for me in PhpStorm, my only issue now is with the popups are being very annoying where Yabai thinks it's a new window for every small popup that appears in the IDE.

Has anyone else encountered this? Any idea on how I can try to manipulate these popups from being detected as a new window?
Thanks!


ci: Update Commit used for the Upgrade tests for release-v0.37.x

Fixes #N/A
Description

Update commit for Upgrade suite

How was this change tested?
Does this change impact docs?

[ ] Yes, PR includes docs updates
[ ] Yes, issue opened: #
[x] No

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

Pull Request Test Coverage Report for Build<PHONE_NUMBER>6
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 78.692%

Totals

Change from base Build<PHONE_NUMBER>7:
0.0%

Covered Lines:
5894

Relevant Lines:
7490

💛  - Coveralls


This is just too annoying - giving up


CPAOT Method handle support

Add support for loading method handles. Modify the PreCodeHelperMethodImport to support loading method handles eagerly. As with Tomas' GVM support change, root the canonical instantiation when a method handle is loaded to ensure the method body is generated by the JIT.
This change fixes compilation for several ASP.NET Core assemblies:

Microsoft.AspNetCore.Connections.Abstractions
Microsoft.AspNetCore.Http.Abstractions
Microsoft.Extensions.DependencyInjection
Microsoft.Extensions.DependencyInjection.Abstractions

@dotnet-bot test Ubuntu Debug and CoreFX tests

@dotnet-bot Test Ubuntu Debug and CoreFX tests

Tomas' PR https://github.com/dotnet/corert/pull/7002 fixes the same issue. I will let his change merge first and implement a couple missing bits on top.

Closing this PR. I'll open a new one with the tests for method handle.


Setup the microcontroller lesson

Some things that need to be done:

[x] Check the arduinos and components (at least a sample)
[x] Order any replacement parts
[x] Organize the kits
[ ] Transfer content on the slides for the "lab" portion to the website to have a complete "web version" of the materials.

@ixjlyons FYI, this is a task I'm going to want to you to take care of.

Just to clarify the last task, they will still be shown slides during studio session, but there should be a more verbose version on the website like there is for part 1? Or is this to transition away from slides?

All kits are complete and have batteries at 80%+ (checked with a battery tester).

Great. Let's talk asap on whether we are going to improve the controller, as we'd need to order new parts.

@moorepants: the tutorial is live