It was not possible to find any compatible framework version

Problem encountered on https://dotnet.microsoft.com/learn/aspnet/microservice-tutorial/run-docker
Operating System: linux
Hello,
When im trying to run:
docker run -it --rm -p 3000:80 --name mymicroservicecontainer mymicroservice
I get this Error Message:
It was not possible to find any compatible framework version
The framework 'Microsoft.AspNetCore.App', version '3.1.0' was not found.
  - The following frameworks were found:
      5.0.0 at [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]

You can resolve the problem by installing the specified framework and/or SDK.

The specified framework can be found at:
  - https://aka.ms/dotnet-core-applaunch?framework=Microsoft.AspNetCore.App&framework_version=3.1.0&arch=x64&rid=debian.10-x64

I installed .NET SDK and Docker Engine correctly. I also reinstalled both of them.
Output when I use dotnet --info:
.NET Core SDK (gemäß "global.json"):
 Version:   3.1.404
 Commit:    470f6754b3

Laufzeitumgebung:
 OS Name:     ubuntu
 OS Version:  20.04
 OS Platform: Linux
 RID:         ubuntu.20.04-x64
 Base Path:   /usr/share/dotnet/sdk/3.1.404/

Host (useful for support):
  Version: 3.1.10
  Commit:  1721e39439

.NET Core SDKs installed:
  3.1.404 [/usr/share/dotnet/sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.App 3.1.10 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 3.1.10 [/usr/share/dotnet/shared/Microsoft.NETCore.App]

To install additional .NET Core runtimes or SDKs:
  https://aka.ms/dotnet-download

In addition i tried this too:
sudo dpkg --purge packages-microsoft-prod && sudo dpkg -i packages-microsoft-prod.deb
sudo apt-get update

sudo apt-get install -y gpg
wget -O - https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor -o microsoft.asc.gpg
sudo mv microsoft.asc.gpg /etc/apt/trusted.gpg.d/
wget https://packages.microsoft.com/config/ubuntu/{os-version}/prod.list
sudo mv prod.list /etc/apt/sources.list.d/microsoft-prod.list
sudo chown root:root /etc/apt/trusted.gpg.d/microsoft.asc.gpg
sudo chown root:root /etc/apt/sources.list.d/microsoft-prod.list
sudo apt-get update; \
  sudo apt-get install -y apt-transport-https && \
  sudo apt-get update && \
  sudo apt-get install -y {dotnet-package}

Except this issue everything seems to be working fine, for example:
docker run hello-world etc.
Hope there is a solution to my problem, since i did not find something very useful on the internet.

Hi @ParsaBaha! The tutorial was updated to .NET 5 SDK. Can you try installing .NET 5 SDK instead?
Given that Linux is manually installed, I'll try to make it more clear on the install step which version of the SDK you'd need to install.

Hello,
first of all thank you for your help, but it seems like this does not fix my problem. I get the same exact error msg.
dotnet --info output:
.NET SDK (gemäß "global.json"):
 Version:   5.0.100
 Commit:    5044b93829

Laufzeitumgebung:
 OS Name:     ubuntu
 OS Version:  20.04
 OS Platform: Linux
 RID:         ubuntu.20.04-x64
 Base Path:   /usr/share/dotnet/sdk/5.0.100/

Host (useful for support):
  Version: 5.0.0
  Commit:  cf258a14b7

.NET SDKs installed:
  3.1.404 [/usr/share/dotnet/sdk]
  5.0.100 [/usr/share/dotnet/sdk]

.NET runtimes installed:
  Microsoft.AspNetCore.App 3.1.10 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 5.0.0 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 3.1.10 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 5.0.0 [/usr/share/dotnet/shared/Microsoft.NETCore.App]

To install additional .NET runtimes or SDKs:
  https://aka.ms/dotnet-download

Thank you very much, it does work now!


Documnet tabs - more user friendly navigation

When multiple document tabs are open and overflowing available width it is hard do access hidden tabs. There could be potentially multiple solution for this problem. I have noted some ideas below:

Dropdown for hidden tabs at the end of tabs line.
Make scroll bar thicker or make it thicker when hovered with some (0,5s) delay.

Generally scrollbars are thin and hard to spot and click.
I'm using VS on windows 10 and MacOs Catalina.
It Man.

@it-xtech-dev you can maybe play around with configuring:

"workbench.editor.tabSizing": "shrink"
"workbench.editor.titleScrollbarSizing": "large"


v1.13.1 - Fix naming bug

This PR fixes a bug in assigning names, which arises if data is processed in non-chronological order. Now, when the last name is chosen from the database, only sources with the same year as the new candidate are queried.
The query is always of the same form:
SELECT sources.objectid
FROM sources
WHERE (sources.objectid LIKE '%' || :objectid_1 || '%') ORDER BY sources.objectid DESC
 LIMIT :param_1
      objectid

returning a single name, or nothing.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

-2 of 17 (88.24%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.008%) to 86.463%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

mirar/processors/sources/namer.py
15
17
88.24%

Totals

Change from base Build<PHONE_NUMBER>:
0.008%

Covered Lines:
10245

Relevant Lines:
11849

💛  - Coveralls


Range fails for explicit datetime dimension range

This did not previously fail but I do not know exactly when this stopped working.
I think that this is important. A principle of Holoviews is to annotate your data but by doing so, in the case, it causes a failure.

holoviews.__version__ : 1.10.4
File: holoviews\core\data\__init__.py
Class: class Dataset(Element):
Method: def range(self, dim, data_range=True):
Line: elif all(v is not None and np.isfinite(v) for v in dim.range):
Error message: TypeError: ufunc 'isfinite' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''

The range method of the Dataset class no longer works for dim of type <class 'pandas._libs.tslibs.timestamps.Timestamp'>.
It fails because of the check np.isfinite(v) in the line elif all(v is not None and np.isfinite(v) for v in dim.range):. Because I do not know the full intention of this check, I can not suggest a proper fix. However, I can get it working in my application by changing the line to: elif all(v is not None for v in dim.range):.
Using an example, here is my understanding of what might be going on. In range when get_dimension is called then (None, None)  is returned and the range is inferred successfully elsewhere.
import pandas as pd
import holoviews as hv

t = pd.date_range(start="2018-01-01", end="2018-01-02", freq='h')
y =range(len(t))
df = pd.DataFrame({'t':t, 'y':y})

c = hv.Curve(df)

c.range('t')

Whereas, if a dimension is added then these are returned by by get_dimension as a 2-tuple of Pandas  datetime. And it is this that the condition fails.
import pandas as pd
import holoviews as hv

t = pd.date_range(start="2018-01-01", end="2018-01-02", freq='h')
y =range(len(t))
df = pd.DataFrame({'t':t, 'y':y})

c = hv.Curve(df, kdims = [hv.Dimension(('t', 'Time')
    , unit='time'
    , range=(t[0], t[-1]))])

c.range('t')

TypeError: ufunc 'isfinite' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe'' (datepicker)
PS. I am confused about the role and relationship between similar functionality in dimension.py.

Given that this used to work, it does sound like a bug to me.

Thank you.

Minor suggestion....
An additional test might be changing the -1 to -2 in https://github.com/ioam/holoviews/pull/2715/commits/59e920e76ad9a245ad6b0b2e978f2fa20b42d107
This would prove that the range returned was not the default limits of the data dt64 (index [0] and [-1]) but that set by the range=.
def test_dataset_range_with_dimension_range(self):

    dt64 = np.array([np.datetime64(datetime.datetime(2017, 1, i)) for i in range(1, 4)])
    ds = Dataset(dt64, [Dimension('Date', range=(dt64[0], dt64[-2]))])
    self.assertEqual(ds.range('Date'), (dt64[0], dt64[-2]))


OctreeAttention Behavior with Patch Partitioning During Training

Hi Professor Wang,
When the model is training, assuming batch_size = 32, would it be possible for OctreeAttention to partition a patch at a specified depth using nodes from two adjacent batches? If this situation occurs, how should the self-attention be interpreted in this case?
I would greatly appreciate your insights on this matter. I look forward to hearing from you at your earliest convenience.

In current implementation, it is not possible for OctreeAttention to partition a patch at a specified depth using nodes from two adjacent batches.
Each octree is processed seperately in the code.

I apologize for my unclear English expression. Please forgive me.
I would like to inquire about the behavior of the nodes at the same depth for two adjacent training samples within the same batch during the training process. Would they exhibit the connected pattern depicted in the diagram below?

Or is it the case that during training, each training sample undergoes its own independent padding (blue)?

Thanks for your clarification.  The Attention runs according to the following figure.

But I build a mask to  erase the overlapped attention values to ensure the consecutive samples in the batch processed seperately.
https://github.com/octree-nn/octformer/blob/d727ba08fb801c7340784440ef5e49ec4c53218a/models/octformer.py#L55

I understand now, creating a mask is indeed a logical and practical solution. I am sincerely grateful for your clear explanation. Thank you immensely!


Jupyter support

Maybe for jupyter with almond scala kernel. How many people are interesting in it?

I want to add the support for Jupiter.
Can you tell me how to set up the whole matplotlib4j package to run and add the new feature in the current source code.

@vinayd001 Thanks for trying to contribute!
Clone the code base, then run ./gradlew build to install the dependency libraries. You can write the code with vim, vscode, IntelliJ IDEA or any other IDEs!

Any news on this feature? I'm testing this library in Kotlin notebooks and it works great with the exception that I cannot display the plots directly in the notebook.


Elixir library

Hi team, I wrote an elixir module a few months ago to handle signing and verifying TrueLayer requests, and thought I'd extract it out into a module. Just wanted to share it here in case other elixir users stumble upon this repo in the future:
https://github.com/timwis/ex_truelayer_signing
Happy to submit it as a PR here if you like - I don't need to be the package owner or anything. I don't quite have your test coverage, though it shouldn't be too hard to add it. But no worries if you don't want to take on the maintenance of another language.

Hi @timwis, thanks a lot for sharing this! I actually considered writting an Elixir library for this some time back, so if people need one, then it makes sense for us to support it. I'd be happy to help you move it here if that's what you'd like.
I would need to extend the test coverage and we would indeed need to move ownership to TrueLayer for security reasons, but of course we would keep you as an author of the package.
If the above sounds good to you, then perhaps when ready we could release it under a new name (e.g. truelayer_signing) and let the old one be, or deprecate it. What do you think?

Thanks @kplattret that all sounds great. And regarding the name, that makes sense. I deliberately named it with the ex_ prefix so there wouldn't be a conflict, and I'd be happy to deprecate it when replaced.


Add enviornment variable DISABLE_SYSTEMD_CGROUPS so you can optionally...

... not use systemd cgroups.
Just because a user uses systemd doesn't mean they want to use systemd's
cgroups.

This is kinda a RFC, except I really want this and I have a feeling @ibuildthecloud wants it too

This sounds good to me but eventually systemd distributions won't be able to use cgroups directly (need to confirm). @vmarmol @rjnagal ping.

sorry the drone failure was actually my fault but in a different way (trying out a new image on the server) I fixed it

It will change eventually, but that still seems pretty far. And systemd has
lot of pieces missing to be useful as a cgroups API right now. Michael had
proposed to go the other way and make filesystem cgroups default. But this
approach is better as it won't break all the deployments that are expecting
containers to show under the systemd specific path.
I am fine with this for now.
On Tue, Jan 27, 2015 at 2:42 PM, Jessie Frazelle<EMAIL_ADDRESS>wrote:

sorry the drone failure was actually my fault but in a different way
(trying out a new image on the server) I fixed it
—
Reply to this email directly or view it on GitHub
https://github.com/docker/libcontainer/pull/350#issuecomment-71744076.

I don't know, seems like libcontainer should work on per-container level. Why not add field to config? Env looks very "workaroundish" for now and I'm not sure that configuring libcontainer by env is good idea.

I can make it in the config, I am just glad that people are in favor of
this idea! Then maybe a daemon flag in docker? I NEED THIS hehe :D
On Tue, Jan 27, 2015 at 4:10 PM, Alexander Morozov<EMAIL_ADDRESS>
wrote:

I don't know, seems like libcontainer should work on per-container level.
Why not add field to config? Env looks very "workaroundish" for now and I'm
not sure that configuring libcontainer by env is good idea.
—
Reply to this email directly or view it on GitHub
https://github.com/docker/libcontainer/pull/350#issuecomment-71756464.

@jfrazelle Who then will test systemd? :cat:
Here we discussing change to libcontainer and I think it is probably should be non-global flag, but flag in libcontainer.Config.
ping @crosbymichael

I would rather have a field in the Cgroup struct that takes the implementation to use for this.  Then the change to set this value can happen in the calling code and not have a magic switch in libcontainer.

coool coool i will modify!
On Tue, Jan 27, 2015 at 4:35 PM, Michael Crosby<EMAIL_ADDRESS>wrote:

I would rather have a field in the Cgroup struct that takes the
implementation to use for this. Then the change to set this value can
happen in the calling code and not have a magic switch in libcontainer.
—
Reply to this email directly or view it on GitHub
https://github.com/docker/libcontainer/pull/350#issuecomment-71759334.

@crosbymichael good for me, too.

+1. I like the ability to not involve systemd. Any means to do that is fine.
@vmarmol this will likely break cAdvisor.
On Tue, Jan 27, 2015 at 4:39 PM, Alexander Morozov<EMAIL_ADDRESS>
wrote:

@crosbymichael https://github.com/crosbymichael good for me, too.
—
Reply to this email directly or view it on GitHub
https://github.com/docker/libcontainer/pull/350#issuecomment-71759769.

+1
On Tue, Jan 27, 2015 at 4:50 PM, Rohit Jnagal<EMAIL_ADDRESS>wrote:

+1. I like the ability to not involve systemd. Any means to do that is
fine.
@vmarmol this will likely break cAdvisor.
On Tue, Jan 27, 2015 at 4:39 PM, Alexander Morozov <
<EMAIL_ADDRESS>
wrote:

@crosbymichael https://github.com/crosbymichael good for me, too.
—
Reply to this email directly or view it on GitHub
https://github.com/docker/libcontainer/pull/350#issuecomment-71759769.

—
Reply to this email directly or view it on GitHub
https://github.com/docker/libcontainer/pull/350#issuecomment-71760900.

I'll close and reopen when I have my new  implementation :)

The environment variable approach does that the nice advantage that one could use it without having to go through the hassle of approval in Docker.  While everyone here agrees, I don't know if the discussion in Docker will be as amicable.  But for the docker discussion, I think a daemon flag for -cgroup-driver auto|systemd|cgroupfs would make sense.

Sounds like it might be time for --exec-opt to mirror --storage-opt in Docker.

Ya Darren I made that exact flag :) great minds think alike
On Wednesday, January 28, 2015, Tianon Gravi<EMAIL_ADDRESS>wrote:

Sounds like it might be time for --exec-opt to mirror --storage-opt in
Docker.
—
Reply to this email directly or view it on GitHub
https://github.com/docker/libcontainer/pull/350#issuecomment-71908802.

 Just to bikeshed, should this be a init-time configuration? As in, when we do libcontainer.New() we can tell libcontainer that all the containers it creates are cgroupfs or systemd. Seems like that is more what we'd like to do. On the other hand, having it on the config makes it easier for an outside party (like cAdvisor) to know what is being used.

I don't think it should be at init time because this is a per-container level configuration.  Obviously though from the Docker approach we will make global, but libcontainer is about having all the cool knobs.

+1 to what @vmarmol it should be at init time and not per container because that introduces major inconsistencies for any systems managing containers and reporting of a host.  There would be no reason to run systemd and cgfs on the same machine.

Hmm, I don't see what can be bad with this inconsistencies for separate containers - they shouldn't intersect. Also I don't like global configurations for libs - high level object is container, not god-object libcontainer. Just my opinion.

@crosbymichael good point.  What if it was at init time but then which cgroup impl was used was stored in the state.json.  Best of both worlds?

We have some Factory type, which is not used. Maybe should be there?

@LK4D4 yes, that is basically what @vmarmol was proposing

Looking at code I have, I always look for stats per container and then for each container I basically hard code to look in system.slice/docker-%s.scope and then look in docker/%s.  I don't see much problem if systemd and cgroupfs were mixed on the same system as long as I know per container which style is used.  Anyways, I don't care what color the bike shed is.

FYI for people joining this issue, it is not about supporting systemd or not supporting it.  It's about the technical facts that their cgroup implementation is not complete and ready for container workloads and we have to jump through hoops to integrate the two with half of the necessary cgroups being setup by systemd they the other half still being set manually via the filesystem code.
The systemd effort is taking alot of the future efforts and changes into account and being cautious about that they introduce in the API but the realities and needs today for running containers are not able to be accomplished fully right now.

@crosbymichael Yeah, just thought that it will be like libcontainer.Systemd = false cause factory is not used :)

Hmm well maybe we should decide on per container or on init, I don't mind either way :)

+1 to either way. Just got pinged about some setting not available in systemd cgroups.


allow fzf_bin to be a function

I understand "just add an option lol" requests can be annoying, please just hear me out:
I use https://git.sr.ht/~whynothugo/darkman to toggle dark mode system-wide
The default fzf theme is dark which looks bad in light mode:

I use the following in fish:
function fzf --wraps fzf
    if test $DARK_MODE = true
        command fzf --color=dark $argv
    else
        command fzf --color=light $argv
    end
end

If fzf_bin is a function, I can check the background option to do something similar for fzf-lua

Unfortuntaely that is not going to work as fzf_bin is just the binary, even if I make it accept a function, it cannot contain args like --color.
What if you wrap your fzf-lua binds in a lua function that can conditionally add --color.=... to fzf_cli_args?

That would be fine, thanks


kwokctl create cluster --docker-compose-binary ./docker-compose-linux-x86_64 doesn't not work

How to use it?

[ ] kwok
[X] kwokctl --runtime=docker (default runtime)
[ ] kwokctl --runtime=binary
[ ] kwokctl --runtime=nerdctl
[ ] kwokctl --runtime=kind

What happened?
$ kwokctl create cluster --name kwok75 \
>     --runtime docker \
>     --docker-compose-binary ./docker-compose-linux-x86_64
Cluster already exists                                                                                cluster=kwok75
Cluster is not ready yet, will be restarted                                                                                cluster=kwok75
Download                                                                                cluster=kwok75 uri="https://github.com/docker/compose/releases/download/v2.17.2/docker-compose-linux-x86_64"

^CERROR Failed to down cluster                                               cluster=kwok75 err="Get \"https://github.com/docker/compose/releases/download/v2.17.2/docker-compose-linux-x86_64\": context canceled"
Cluster is starting                                                                                cluster=kwok75
Download                                                                                cluster=kwok75 uri="https://github.com/docker/compose/releases/download/v2.17.2/docker-compose-linux-x86_64"
ERROR Execute exit                               err="failed to start cluster \"kwok-kwok75\": Get \"https://github.com/docker/compose/releases/download/v2.17.2/docker-compose-linux-x86_64\": context canceled"

$ ls -l ./docker-compose-linux-x86_64
-rwxr-xr-x 1 k8s-1.23 k8s-1.23 54453847 Jun  2 10:26 ./docker-compose-linux-x86_64

What did you expect to happen?
use local docker compose binary to create a cluster
How can we reproduce it (as minimally and precisely as possible)?
On Linux x86_64
wget https://github.com/docker/compose/releases/download/v2.17.2/docker-compose-linux-x86_64
kwokctl create cluster --docker-compose-binary ./docker-compose-linux-x86_64

Anything else we need to know?
No response
Kwok version

$ kwok --version
kwok version v0.2.0 go1.20.4 (linux/amd64)

$ kwokctl --version
kwokctl version v0.2.0 go1.20.4 (linux/amd64)

OS version

$ cat /etc/os-release
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"

$ uname -a
Linux node75 3.10.0-1160.el7.x86_64 #1 SMP Mon Oct 19 16:18:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

It looks like you may have missed a step.
chmod +x ./docker-compose-linux-x86_64
FYI, v0.2 will automatically download docker-compose.

It looks like you may have missed a step.
chmod +x ./docker-compose-linux-x86_64

@wzshiming
it does have executable permissions
ls -l ./docker-compose-linux-x86_64
-rwxr-xr-x 1 k8s-1.23 k8s-1.23 54453847 Jun 2 10:26 ./docker-compose-linux-x86_64

I will try using version v0.1.2 of kwok

The latest one is v0.2.0 and I think you can use it

The latest version no longer uses docker-compose, so close this.
/close


Check for doubles in own drafts when importing publications and datasets

This does not work; did we decide not to do this?

Vague


Support generators in Circuit.Zip

Is your feature request related to a use case or problem? Please describe.
Currently you have to create an intermediate list just to pass it to Circuit.zip.
cirq.Circuit.zip(*[make_circuit_for_single_qubit(q) for q in qubits])

Describe the solution you'd like
cirq.Circuit.zip(make_circuit_for_single_qubit(q) for q in qubits)

This would make it analogous to how the built-in zip works
[optional] Describe alternatives/workarounds you've considered
[optional] Additional context (e.g. screenshots)
What is the urgency from your perspective for this issue? Is it blocking important work?
P3 - I'm not really blocked by it, it is an idea I'd like to discuss / suggestion based on principle

Oh, that's interesting. I guess I got confused by the internal sweeps.Zip which does what I first described.

Closing the issue since this looks like a confusion.


FastLED interrupt is hanging on esp32

Describe the bug
I had the same issue on a TinyPico and a Feather esp32. Calling pix.begin causes a failure in the FastLED.show method because Pixie Chroma is calling noInterrupts. FastLED is waiting for interrupts to fire but the interrupts have been disabled causing it to hang and fail with watchdog.
I had this code working in April of last year, but trying to flash it recently caused this issue. If I comment out the noInterrupts and interrupts calls in Pixie Chroma lib it is able to print to the LED screens.
To Reproduce
Steps to reproduce the behavior (using the Getting Started)

pix.begin( DATA_PIN, PIXIES_X, PIXIES_Y ); with an esp32.
Build and upload with platform io
See error:

WARNING Found stack trace! Trying to decode it
WARNING Decoded 0x40091487: vListInsert at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/freertos/list.c:183
WARNING Decoded 0x400901a7: vTaskPlaceOnEventList at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/freertos/tasks.c:3566
WARNING Decoded 0x4008f52a: xQueueSemaphoreTake at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/freertos/queue.c:1688
WARNING Decoded 0x400f0181: ClocklessController<5, 60, 150, 90, (EOrder)66, 0, false, 5>::showPixels(PixelController<(EOrder)66, 1,<PHONE_NUMBER>u>&) at /Users/joetaylor/Development/esphome-pixie-chroma/.esphome/build/pixie-chroma/.piolibdeps/pixie-chroma/FastLED/platforms/esp/32/clockless_i2s_esp32.h:582
 (inlined by) ClocklessController<5, 60, 150, 90, (EOrder)66, 0, false, 5>::showPixels(PixelController<(EOrder)66, 1,<PHONE_NUMBER>u>&) at /Users/joetaylor/Development/esphome-pixie-chroma/.esphome/build/pixie-chroma/.piolibdeps/pixie-chroma/FastLED/platforms/esp/32/clockless_i2s_esp32.h:546
WARNING Decoded 0x400e5529: CPixelLEDController<(EOrder)66, 1,<PHONE_NUMBER>u>::show(CRGB const*, int, CRGB) at /Users/joetaylor/Development/esphome-pixie-chroma/.esphome/build/pixie-chroma/.piolibdeps/pixie-chroma/FastLED/controller.h:408
WARNING Decoded 0x400d2771: CLEDController::showLeds(unsigned char) at /Users/joetaylor/Development/esphome-pixie-chroma/.esphome/build/pixie-chroma/.piolibdeps/pixie-chroma/FastLED/controller.h:90
 (inlined by) CFastLED::show(unsigned char) at /Users/joetaylor/Development/esphome-pixie-chroma/.esphome/build/pixie-chroma/.piolibdeps/pixie-chroma/FastLED/FastLED.cpp:59
WARNING Decoded 0x400e2ef1: CFastLED::show() at /Users/joetaylor/Development/esphome-pixie-chroma/.esphome/build/pixie-chroma/.piolibdeps/pixie-chroma/FastLED/FastLED.h:500
 (inlined by) PixieChroma::show() at /Users/joetaylor/Development/esphome-pixie-chroma/.esphome/build/pixie-chroma/.piolibdeps/pixie-chroma/Pixie_Chroma/src/pixie_chroma_internal.cpp:2419
WARNING Decoded 0x400e2f25: PixieChroma::set_animation(void (*)(PixieChroma*, float)) at /Users/joetaylor/Development/esphome-pixie-chroma/.esphome/build/pixie-chroma/.piolibdeps/pixie-chroma/Pixie_Chroma/src/pixie_chroma_internal.cpp:346
WARNING Decoded 0x400e391c: PixieChroma::begin(unsigned char, unsigned char, unsigned char) at /Users/joetaylor/Development/esphome-pixie-chroma/.esphome/build/pixie-chroma/.piolibdeps/pixie-chroma/Pixie_Chroma/src/pixie_chroma_internal.cpp:105

(Note: this error is from my espHome module but the same error and trace happens from a fresh arduino platform io build as well)
Expected behavior
Begin should no panic at Watchdog causing any programs to fail.
Desktop (please complete the following information):

framework-arduinoespressif32 @ 3.20006.221224 (2.0.6)
Dependency Graph
|-- Pixie_Chroma @ 1.2.0
|   |-- Ticker @ 2.0.0
|   |-- FastLED @ 3.5.0
|   |   |-- SPI @ 2.0.0

I can confirm; I see the same problem with both a regular ESP32 and an ESP32-S2. Removing the interrupt lockout solves the issue for me as well.

This problem happens with both PlatformIO and Arduino IDE.
Arduino framework 2.0.4 is the last version that doesn't crash this way. More recent versions do. Not sure what the change was that brings out the problem.
@connornishijima do you remember why you were disabling interrupts for this section of code?


Page layout for site

From Nathen (Comms Lead):
One bit of feedback which should be a quick fix for the tech team. The spacing between contents and main content is a bit strange when we have so much space to the left. Would suggest shifting the main text more left to balance the spacing or making the contents box a different colour.
Acceptance

[ ] Decision made on what to do re spacing (e.g. shifting text, colour change)
[ ] Decision implemented across the site

@theo-cox @nathenf let me know if this looks right ..

@khalilcodes @theo-cox I would maybe say 5px more to the right. It looks better for sure

@nathenf to note we had space on LHS for a full-site ToC. however we haven't done this for now.
@khalilcodes @nathenf i'd generally note we will probably upgrade web3 to flowershow at some point so i would be cautious to putting much time into this (if it is < 1h let's do it, otherwise i'd defer).

@rufuspollock was quite a small change so had pushed that yesterday. @nathenf we can close this issue with the changes ported in.

FIXED.


[severe bug] vcpkg can't find Visual Studio 2022 english instance, can't install any packages

Fresh build of vcpkg and using Visual Studio 2022. vcpkg can't install any packages, because it fails to find a valid instance of Visual Studio, even though there is one at the exact path it says it couldn't find it.

OS: [Windows 11 build 22000.376]
Compiler: latest msvc toolchain v143

Failure logs
Error: in triplet x64-windows: Unable to find a valid Visual Studio instance
     at "C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE"
The following Visual Studio instances were considered:
    C:\Program Files\Microsoft Visual Studio\2022\Community
The following paths were examined for Visual Studio instances:
    C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary/Build\vcvarsall.bat
    C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools/MSVC\14.30.30705\bin/HostX86/x86\dumpbin.exe

The IDE is at the exact location it tries to find it, and the devenv.exe is also there.

Do you have the English package for VS installed? If not, please install the english package first. Thank you!

I had the same problem. Solution: download the latest vcpkg.exe from https://github.com/microsoft/vcpkg-tool/releases. Version 2021-12-09 seems to work fine.

Do you have the English package for VS installed? If not, please install the english package first. Thank you!

Yes, I specified that in the title of the issue.

I had the same problem. Solution: download the latest vcpkg.exe from https://github.com/microsoft/vcpkg-tool/releases. Version 2021-12-09 seems to work fine.

Tried it just now, it doesn't work sadly. The insanely weird thing is that it works on my laptop, that had the exact same Windows version installed.

Could you please run the following command in the latest vcpkg and send the output of the Powershell to me? Thank you!
.\vcpkg install zlib:x64-windows --debug

This is the output.
Note that I freshly installed vcpkg before this.
PS C:\Users\zagon> vcpkg install zlib:x64-windows --debug [DEBUG] Feature flag 'binarycaching' unset [DEBUG] Feature flag 'manifests' unset [DEBUG] Feature flag 'compilertracking' unset [DEBUG] Feature flag 'registries' unset [DEBUG] Feature flag 'versions' unset [DEBUG] Using vcpkg-root: C:\Users\zagon\vcpkg [DEBUG] Failed to open: C:\Users\zagon\vcpkg\vcpkg-bundle.json [DEBUG] Bundle config: readonly=0, usegitregistry=0, embeddedsha=nullopt [DEBUG] Using scripts-root: C:\Users\zagon\vcpkg\scripts [DEBUG] Using downloads-root: C:\Users\zagon\vcpkg\downloads [DEBUG] Using scripts-root: C:\Users\zagon\vcpkg\scripts [DEBUG] Using builtin-ports: C:\Users\zagon\vcpkg\ports [DEBUG] Using builtin-registry: C:\Users\zagon\vcpkg\versions [DEBUG] Using installed-root: C:\Users\zagon\vcpkg\installed [DEBUG] Using packages-root: C:\Users\zagon\vcpkg\packages [DEBUG] Using buildtrees-root: C:\Users\zagon\vcpkg\buildtrees [DEBUG] Default binary cache path is: C:\Users\zagon\AppData\Local\vcpkg\archives Computing installation plan... [DEBUG] Found path: C:\Program Files\CMake\bin\cmake.exe [DEBUG] CreateProcessW("C:\Program Files\CMake\bin\cmake.exe" --version) [DEBUG] cmd_execute_and_stream_data() returned 0 after    85855 us [DEBUG] CreateProcessW("C:\Program Files\CMake\bin\cmake.exe" -DVCPKG_ROOT_DIR=C:/Users/zagon/vcpkg -DPACKAGES_DIR=C:/Users/zagon/vcpkg/packages -DBUILDTREES_DIR=C:/Users/zagon/vcpkg/buildtrees -D_VCPKG_INSTALLED_DIR=C:/Users/zagon/vcpkg/installed -DDOWNLOADS=C:/Users/zagon/vcpkg/downloads -DVCPKG_MANIFEST_INSTALL=OFF -P "C:\Users\zagon\vcpkg\buildtrees\0.vcpkg_tags.cmake") [DEBUG] cmd_execute_and_stream_data() returned 0 after    19632 us The following packages will be built and installed:     zlib[core]:x64-windows -> 1.2.11#13 [DEBUG] CreateProcessW("C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" -all -prerelease -legacy -products * -format xml) [DEBUG] cmd_execute_and_stream_data() returned 0 after    87427 us Error: in triplet x64-windows: Unable to find a valid Visual Studio instance      at "C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE" The following Visual Studio instances were considered:     C:\Program Files\Microsoft Visual Studio\2022\Community The following paths were examined for Visual Studio instances:     C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary/Build\vcvarsall.bat     C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools/MSVC\14.30.30705\bin/HostX86/x86\dumpbin.exe [DEBUG] D:\a\_work\1\s\src\vcpkg\vcpkgpaths.cpp(1347) [DEBUG] Time in subprocesses: 192914 us [DEBUG] Time in parsing JSON: 29 us [DEBUG] Time in JSON reader: 45 us [DEBUG] Time in filesystem: 19163 us [DEBUG] Time in loading ports: 1716 us [DEBUG] Exiting after 229.6 ms (224525 us)

Thanks for your reply!
Could you please send me the screenshot from your VS installer about the components and languages installed in VS2022 Community?

You can easily find out your VS instances by running a command line script:

Thanks for your reply! Could you please send me the screenshot from your VS installer about the components and languages installed in VS2022 Community?

And for sfhackers' response, I searched system wide with "Everything" and couldn't find a single executable named "pkg-mgr.exe". Should this be included with a VS install? Or should this be something standalone?

zlib is such a tiny and simple project. It takes one minute to be built from source!
There are DOZENS of reported issues about zlib. It is indeed embarrassing!
Perhaps there is a confusion between x86 & x64?
(C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools/MSVC\14.30.30705\bin/HostX86/x86\dumpbin.exe)
There is no need for English language pack to build and install zlib!
I'll ask my workmates how they installed zlib on Windows.

My infrastructure team tell me the use this command line to install zlib on their CI environment.
pkg-mgr.exe --msvc-version=2022 install zlib

Can you have a go at it? You may need to update pkg-mgr tool.
I'll try to sort out this issue and report back.

@ZMathias Thanks for your reply! I can confirm that you do have all VS related components installed.
To solve this problem, I want to confirm with you, after you execute bootstrap-vcpkg.bat, is vcpkg.exe generated by build or downloaded directly?

The bug packages

My infrastructure team tell me the use this command line to install zlib on their CI environment.
pkg-mgr.exe --msvc-version=2022 install zlib

Can you have a go at it? You may need to update pkg-mgr tool.
I'll try to sort out this issue and report back.

I have the exact same output as you do.

@ZMathias Thanks for your reply! I can confirm that you do have all VS related components installed. To solve this problem, I want to confirm with you, after you execute bootstrap-vcpkg.bat, is vcpkg.exe generated by build or downloaded directly?

Well, I unplugged my ethernet cable while running the bootstrap. It seems it downloads the vcpkg.exe from the github repo.

The latest vcpkg.exe is now separate from vcpkg for ease of version control, so it will only be downloaded from the git repository instead of being a separate local build.

The latest vcpkg.exe is now separate from vcpkg for ease of version control, so it will only be downloaded from the git repository instead of being a separate local build.

One thing I am sure of is that it has something to do with the environment, sincr vcpkg works on my laptop with the same VS2022 instance and extensions installed. Any ideas?

Does this issue still occur when you clone a new vcpkg from the github?

No, I have no idea what fixed it, since upgrading vcokg from the old version kept the issue alive, but after a clean install and some messing around in the Visual Studio installer, it works.

我的基础架构团队告诉我使用此命令行在他们的 CI 环境中安装 zlib。
pkg-mgr.exe --msvc-version=2022 install zlib

你能试一试吗？您可能需要更新**pkg-mgr**工具。
我会尝试解决这个问题并报告回来。

 我的输出与您完全相同。

Hi!  Where can i get 'pkg-mgr.exe' ?


Create installer for Release 0.5.19

Once all Release 0.5.19 issues are out of the way the installer can be created and pushed to the main website.
This needs to be done in line with the procedure in the installer repo.

Is release 0.5.19 available by now?

Not yet. We have to release MultiBit HD 0.1.2 first and then we can consider diverting attention to 0.5.19. There's lots to do and we're a small team.

Prepare
Ensure all issues are completed for milestone.
Update SPV checkpoints file.
Update the localisation files from crowdin.com.
Merge from develop into master, tag code.
Final verification that unit tests run correctly.
Check correct copy of 'staging' directory is in installer target-classic directory.
Create update-message.html for version check user notification.
Check install4j auto-update points to updates.xml and NOT updates-test.xml.
Build
Create and sign installer using Windows and Apple developer keys.
Create and check PGP signatures for binaries.
Create and check SHA256 files for binaries.
Create release note with SHA256 hashs of the binaries.
Verify the release note with earlier version of MultiBit Classic.
Smoke test
Push binaries to website multibit-classic-0.0.0
Download, install and perform manual test of functionality
Release
Copy multibit-classic-0.0.0 binaries to correct release directory.
Push the website code to multibit.org.
Issue general notification on social media Reddit/Twitter/BitcoinTalk if not already in place. Wait 24 hours for feedback.
Push to releases/multibit-classic/updates.xml so that auto updates start.

Verified latest 0.0.0 installers are working with the "MultiBit Classic" branding throughout (Win + OS X).

Verified latest installers are working correctly (Win + OS X)


chore(core): Use microbundle to packaging @tsed/core package

Add support to modern ES6 import

Pull Request Test Coverage Report for Build 963317067

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 96.075%

Totals

Change from base Build 963315853:
0.0%

Covered Lines:
8099

Relevant Lines:
8107

💛  - Coveralls

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

v6.59.1
GitHub release

Your semantic-release bot :package::rocket:


Add language / grammar for Whiley

This adds support for the Whiley programming language (see http://whiley.org)
based on the existing TextMate bundle.  Have also included a number of sample source files.
Description
This updates the languages.yml file, adds 10 files in samples/Whiley and includes results of scripts/add-grammar and scripts/update-ids.
Checklist:

[x] I am adding a new language.

[x] The extension of the new language is used in hundreds of repositories many repositories and for over ten thousand files on GitHub.com

Search results for each extension:

https://github.com/search?utf8=✓&type=Code&ref=searchresults&q=extension%3Awhiley

[x] I have included a real-world usage sample for all extensions added in this PR:

Sample source(s):

Minesweeper.wy
Conway.wy
STD.wy

Sample license(s):

(I removed the licenses for files added in samples/Whiley since I am their sole author.  The  files were either unlicensed or licensed under BSD 3-clause)

[x] I have included a syntax highlighting grammar: https://github.com/Whiley/WhileySyntaxBundle
[ ] I have updated the heuristics to distinguish my language from others using the same extension.

I have made these changes now


Added support for resource keys

Some folders and files require resource keys to access. When gdown parses the files in a folder, these resource keys are returned, but currently they are not stored for later URL construction, yielding an error when attempting to download the files. This patches this behavior, allowing the download of folders, and the files within, which require resource keys.

Can you give me an example to try this out?


Getting this error before nvim starts

Based on the little investigating I did, it seems to be coming from the this line in log.lua

Did this resolve on its own?
I'm guessing it's due to some interaction with another plugin (typically a session management plugin) since Pymple doesn't run anything by default on start.


Permission denied

[11/08/2023, 20:23:01] [TrueNAS] get state exec error: Error: Command failed: /usr/bin/hbP/state
/bin/sh: 1: /usr/bin/hbP/state: Permission denied
My homebridge only gives me this report....
Can someone tell me how I fix this issue?

You need to check if the user that homebridge is running as has permission to execute the file /usr/bin/hbP/state


linkinator GitHub Action and CLI report very inconsistent results

Here are 3 workflows running against the same repo (https://github.com/DavidAnson/markdownlint) at the same time (a moment ago):
markdown-link-check: https://github.com/DavidAnson/Workflows/runs/1674500291?check_suite_focus=true

Reports 9+117+6+20+12="164 links checked."
Shows 148 instances of "Status: 200" in logs

linkinator CLI: https://github.com/DavidAnson/Workflows/runs/1674500251?check_suite_focus=true

Reports "Successfully scanned 586 links"
Shows 174 instances of "[200]" in logs

linkinator GitHub Action: https://github.com/DavidAnson/Workflows/runs/1674500286?check_suite_focus=true

Reports "Scanned total of 87 links!"
Shows 87 instances of "[200]" in logs

I believe I have configured all of these tools to scan the same content. markdown-link-check is provided for comparison because it's what I originally used. linkinator doesn't need to match its behavior, but I'd expect the numbers to be very similar.

The linkinator GitHub Action is the only tool that's consistent in its reporting, but seems to be ignoring about half the links.
The linkinator CLI self-reports only 30% of the links it claims to have scanned. Its 174 number is in the ballpark of 148/164 from markdown-link-check, but I'm curious what it's scanning that's extra.
And why are the linkinator CLI and GitHub Action so different here (the highest and lowest of the three tools)?

Thanks for the help!

I actually hit this in my test branch too. I get 299 links https://github.com/twbs/bootstrap/runs/1702622907#step:9:449, while with the CLI I get 699 links https://github.com/twbs/bootstrap/runs/1701506618#step:7:42

I actually hit this in my test branch too. I get 299 links https://github.com/twbs/bootstrap/runs/1702622907#step:9:449, while with the CLI I get 699 links https://github.com/twbs/bootstrap/runs/1701506618#step:7:42

Another one:

https://github.com/twbs/bootstrap/compare/main-xmr-linkinator-action
222 links vs 712 links on main

AFAICT the linkinator arguments should be the same, so this is weird indeed :/

Ok so good news, with https://github.com/JustinBeckwith/linkinator/pull/277 which landed in<EMAIL_ADDRESS>both the GitHub Action and the CLI scan are returning 89 results:
https://github.com/JustinBeckwith/markdownlint/actions/runs/587362108
Next I'll take a look at markdown link check.  One thing that may be causing the difference - I'm super careful about not scanning the same link twice.  I think I may also strip URL fragments, but I need to poke at what this other tool is up to.

w00t

Ok I have an early, messy analysis here.  The differences break out into a few categories:
Re-scanning checked links
Markdown lint is reporting the same link on multiple pages where it's scanned.  Linkinator will only report a given URL once across all scanned documents.
Linkinator could specifically report this case, and include it in the final report.  Unclear if that would be good or bad or just different :)
URI Fragments
Markdown lint is reporting self-links to a page that are using URI Fragments.    Linkinator specifically strips / deduplicates these, because they will not lead to a 404.
Again - Linkinator could ignore doing the scan, and just report success.  It's just different.
Skipped links
The setup you have for linkinator skips urls with lib in the path like this one:
[✓] https://github.com/DavidAnson/markdownlint/tree/main/lib → Status: 200

And it's set up to skip all links with style in the URL.  I suspect maybe this wasn't your intent :)
[✓] https://cirosantilli.com/markdown-style-guide#line-wrapping → Status: 200

Also /test directory links.
I think what we have in both the CLI and the Action here is accurate, just maybe not represented in the same way as markdownlint.  I'd love to hear opinions on how we should change things!

Awesome! I think the current reporting behavior of your tool makes sense as-is. Regarding lib and style, those are excluded as a workaround for linkinator reporting directory links as failing (https://github.com/JustinBeckwith/linkinator/issues/212). Seems like my exclusion was too broad - I can update that if there's a way. The link looks like [style](style), so my only option would seem to be adding ^ or $?

Oh!  I added a --directory-listing flag that should do just this ....  I tried:
linkinator '**/*.md' --directory-listing --skip 'node_modules/ test/ ^https://github.com/.*/search\\?q='

And it seems to work pretty well.  Thinking out loud ... maybe --directory-listing should be the default for the GitHub Action?  I already default the --markdown flag.

Nice!


Dropdown for 1.8 not workin

I assume the link is broken but selecting 1.8 from the drop-down always directs to 1.5

Thanks for letting us know, @Salamandastron1! Can you share a bit more background on this problem -- what page are you on when selecting 1.8 from the dropdown and what page are you trying  to access?

The PKS 2.5 docs have NSX-T v2.4 setup instrux with filenames that begin with nsxt-install-.  Later PKS version docs don't  have these topics, so they had a redirect to the v2.5 docs:

r301 %r{/tkgi/1-8/nsxt-install-(.*)}, “/pks/1-5/nsxt-install-$1"

I removed this redirect so users won't get bounced back to v1.5, which is no longer supported.


Algorithms in Go language

Contribute various algorithms implemented in Go.

Can I contribute to this?

Sure @SoumyaMalgonde. Go ahead. Happy Coding :)

@geekquad I would also like to contribute to this !! Can I ?

I would also like to contribute

Sure @AmanSingh0-0.
Check this out: Sorting Algorithms in GO


Feature request: highlight current time while dragging the event

Describe the feature you'd like
Show time while dragging the event.
Visual demo
Below is an example of google calendar. We can see the time in which event has been dragged.
https://user-images.githubusercontent.com/36293831/180940658-c4a4afee-0e1e-4f67-987f-b34852ee22f8.MOV
ots, videos or gifs describing what you'd like to see_
(optional) Is your feature request related to a specific problem?
Currently, we do not know the time in which event is dragged. It will be great if we can know the time in which event is dragged.

Not for now. I will thinking of a solution

@pdpino okay. It would be great if you could help me on achieving this feature.


Add Semantics Javadocs & update README.md

README.md updated with commits 0223fe7 and d166399

Ajit & Kiran & Kim, would you be able to read through the whats new sections 3.0.2-3.0.4 in README.md and javadocs for com.marklogic.client.semantics and make sure things make sense?

Butting in here…
Sam:
I would reword this phrase –
Semantics API - GraphManager for CRUD of semantic graphs; SPARQLQueryManager for executing SPARQL update, select, describe, construct, and ask queries
To –
Semantics API - GraphManager for CRUD of semantic graphs; SPARQLQueryManager for executing SPARQL queries (select, describe, construct, and ask) and using SPARQL update for data and graphs.
SPARQL Update is a separate language from SPARQL. You can’t do select, describe, construct, or ask queries with SPARQL Update, and you can’t do updates with SPARQL, so I think they should be separate in the description.
Thanks,
--Jane
From: Sam Mefford<EMAIL_ADDRESS>Sent: Wednesday, October 07, 2015 4:14 PM
To: marklogic/java-client-api
Subject: Re: [java-client-api] Add Semantics Javadocs & update README.md (#346)
Ajit & Kiran & Kim, would you be able to read through the whats new sections 3.0.2-3.0.4 in README.mdhttps://github.com/marklogic/java-client-api/blob/develop/README.md and javadocs for com.marklogic.client.semantics and make sure things make sense?
—
Reply to this email directly or view it on GitHubhttps://github.com/marklogic/java-client-api/issues/346#issuecomment-146362082.

Apologies for being slow to get to this, Sam. One very minor correction, and then I'll throw in an unsolicited opinion for free. Fix first:
In the 3.0-3 section: "Search Extract - add support to SearchHandle (actually MatchDocumentSummary) for content extracted by extract-document-data options".That should be  "...by the extract-document-data option" (there's just one of 'em).
Second, I don't think you need to say "Many bug fixes" for every release. That's one of those "take it as read" things, IMO. There will always be many bug fixes. I get why you said it for 3.0-2 and I think it is OK there.

Thanks Kim & Jane.  I've incorporated your changes in d5412a0.

Bug Track 35154 has the comments and has been marked for ship


Add generic device; Initial support in portBLAS

Description

oneMKL Interfaces currently only supports known targets: Intel CPU/GPU, AMD GPU, Nvidia GPU
This PR:

Enables a new generic target
Enables the generic target to use the portBLAS backend
Adds documentation
Relates to https://github.com/oneapi-src/oneMKL/issues/542

Checklist
All Submissions

[NO] Do all unit tests pass locally? Attach a log.

I do not have a non Intel/Nvidia/AMD device to test with.
Tests appeared to run successfully when the code to recognise Intel devices was modified such that they fell through to the new "generic_device".

[x] Have you formatted the code using clang-format?

New features

[x] Have you provided motivation for adding a new feature?
[N/A] Have you added relevant tests?

The generic device is clearly documented as an unsupported configuration.

@al3x-jp I hope that this PR enables oneMKL interfaces to run on the PowerVR GPU with portBLAS as detailed in https://github.com/oneapi-src/oneMKL/issues/542. Could you try this out?

Hi, I have tried this (thank you) but it now fails with this error:

libze_intel_vpu.so.1: cannot open shared object file: No such file or directory
[New Thread 0x7ffff309d640 (LWP 5829)]
Caught std::exception during GEMM:
oneMKL: Couldn't load selected backend

oneMKL (debug build) was built with the following command line:
cmake .. -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang -DENABLE_MKLGPU_BACKEND=False -DENABLE_MKLGPU_BACKEND=False -DENABLE_PORTBLAS_BACKEND=True -DENABLE_CUBLAS_BACKEND=False -DENABLE_ROCBLAS_BACKEND=False -DENABLE_NETLIB_BACKEND=False -DBUILD_FUNCTIONAL_TESTS=False -DBUILD_EXAMPLES=True -DENABLE_MKLCPU_BACKEND=False -DENABLE_GENERIC_DEVICE=True

libze_intel_vpu.so.1 is not part of oneMKL Interfaces. It sounds like the DPC++ runtime is failing to find/open an Intel level-zero VPU backend. I don't know how the DPC++ runtime normally works with PowerVR. Does it just work when you build portBLAS independently? Does sycl-ls work correctly?

Hi @al3x-jp . Did you manage to investigate your problem any further?

Closing in favor of https://github.com/oneapi-src/oneMKL/pull/566


[Q]the "entity" of wandb.init is not work

Hi, I'm new to wandb and is running code. However, I have two teams so I need each code runs under the corresponding group. However, when I use the wandb.init() the “entity” is not work, no matter what I fill in, it will automatically log in to the default entity. This confuses me, thank you.

Hi @Yangsenqiao!
Could you share a link to a run logged to the wrong user along with the code snippet you used to call wandb.init for that run? Also, what version of the wandb SDK are you using?
As a side note, we have an option in wandb.ai/settings to change the default entity to which runs are logged in case you want to change the default completely.
Thanks,
Ramit

Hi @Yangsenqiao, since we have not heard back from you we are going to close this request. If you would like to re-open the conversation, please let us know!


[Android] DefaultFocus wrapped SpatialNavigationFocusableView receives default focus, but cannot be selected

Describe the bug
A DefaultFocus wrapped SpatialNavigationFocusableView correctly receives focus, but onSelect is not fired when select button pressed only on Android, it requires an additional navigation without movement input (say "right") which keeps focus on the element to restore onSelect functionality.
To Reproduce
Contrived example here, but the idea is just have a conditionally rendered view that contains a DefaultFocus wrapped SpatialNavigationFocusableView.
const App = () => {
  const [open, setOpen] = React.useState(false)

  return (
    <SpatialNavigationRoot onDirectionHandledWithoutMovement={(e) => {}}>
      <Button onSelect={() => setOpen(p => !p)} />
      {open && (
        <View>
          <DefaultFocus>
            <SpatialNavigationFocusableView onSelect={onSelect}>
              <Text>hey</Text>
            </SpatialNavigationFocusableView>
          <DefaultFocus>
        </View>
      )}
    </SpatialNavigationRoot>
  )
}

Expected behavior
The focused element onSelect is fired when remote input select is pressed
Screenshots
If applicable, add screenshots to help explain your problem.
Version and OS

Library version: 3.6.1
React Native version<EMAIL_ADDRESS>OS Android

Additional context
This setup works swimmingly on AppleTV and Web. I tested a mania of arrangements with nested navigation roots, navigation locking, nested nodes, nested views, etc. and nothing worked on Android.

Hey! Thank you for the issue.
Something is probably wrong indeed!
There's also something that will probably not work properly with what you've done (unfortunately). The default focus API is not intuitive enough I'm afraid.
The default focus logic is the following: when I am mounted, if a default focus is present and no one currently has the focus, then I grab the focus.
Here, you're adding a button that mounts another button. So, when the other button is mounted with the "default focus", it's too late: the focus is already on someone else, so the default focus shouldn't work.
The onSelect not working really is an issue though 👍

Ah yeah I think my example was misleading, the first button should be conditionally rendered as well.
      {!open && (<Button onSelect={() => setOpen(p => !p)} />)}
      {open && ( <><DefaultFocus> ... </DefaultFocus></> )}

So maybe that is why the DefaultFocus is working?
Let me know if there's anything I can do to help diagnose/resolve!

Side note
I've been doing more work with conditional rendering and it really seems like Android is the outlier for behaviour, potentially related to the functionality of React Native TV's TVEventHandler. I don't know if this sheds light, but having something like the following:
// assume this is the entire app (i.e no other focusable nodes)
const App = () => {
  const [visible, setVisible] = React.useState(true)

  React.useEffect(() => {
    setTimeout(() => {
      setVisible(false)
    }, 2_000)
  }, [])

  return (
    <SpatialNavigationRoot>
      <View>
        {visible && (
          // some components with navigation nodes
        )}
      </View>
    </SpatialNavigationRoot>
}

In this example, when the timeout runs and un-renders all the navigable nodes on the tree, TVEventHandler will be effectively disabled -- unless the user inputs remote inputs before the timeout expires!
This leads me to believe there is some Android-specific behaviour causing breakages when it has nothing navigable on-screen.

Hey @matthewcaminiti ! Sorry I haven't answered earlier.
It feels like the TVEventHandler is not working so well on Android indeed. Are you using it to plug the remote controller keys to react-tv-space-navigation?
I did a POC of that and I ran into a few issues that made us stick with our current implementation using react-native-keyevent 😢

Hey @matthewcaminiti ! Sorry I haven't answered earlier.
It feels like the TVEventHandler is not working so well on Android indeed. Are you using it to plug the remote controller keys to react-tv-space-navigation?
I did a POC of that and I ran into a few issues that made us stick with our current implementation using react-native-keyevent 😢

Hey it is I who should be sorry, since this post I've learned a good deal for RN TV development and this issue I think was likely just a skill issue.
The worst I've had to do in my app has been manual ref .focus() calls, otherwise it's been great!

Cool! I will close the issue then 😁
Feel free to tell us about your .focus calls if they feel unnecessary and you feel that there is a better way!


Pyright cannot recognize the type of SQLModel.__tablename__

First Check

[X] I added a very descriptive title to this issue.
[X] I used the GitHub search to find a similar issue and didn't find it.
[X] I searched the SQLModel documentation, with the integrated search.
[X] I already searched in Google "How to X in SQLModel" and didn't find any information.
[X] I already read and followed all the tutorial in the docs and didn't find an answer.
[X] I already checked if it is not related to SQLModel but to Pydantic.
[X] I already checked if it is not related to SQLModel but to SQLAlchemy.

Commit to Help

[X] I commit to help with one of those options 👆

Example Code
from sqlmodel import SQLModel

reveal_type(SQLModel.__tablename__)

# mypy(0.910) output: Revealed type is "Union[builtins.str, def (*Any, **Any) -> builtins.str]"
# pyright(1.1.166) output: Type of "SQLModel.__tablename__" is "declared_attr"

class User(SQLModel, table=True):  # pyright error: Instance variable "__name__" overrides class variable of same name in class "SQLModel"
    __tablename__ = "users"  # pyright error: Expression of type "Literal['users']" cannot be assigned to declared type "declared_attr"
    name: str

Description
This will cause a type error when you declare __tablename__ with pyright as type checker. Like:

Expression of type "Literal['users']" cannot be assigned to declared type "declared_attr"

Operating System
Linux, macOS
Operating System Details
No response
SQLModel Version
0.0.4
Python Version
3.8.6
Additional Context
No response

this is my workaround to silence that type of errors (not my proudest hack but it work)
from sqlmodel import SQLModel
from sqlalchemy.orm import declared_attr

class User(SQLModel, table=True):
    name: str

    @declared_attr
    def __tablename__(cls):  # noqa: N805
        return 'users'

inspired by the declared_attr documentation, tested with pyright 1.1.172 (Linux), python 3.9.7, sqlmodel 0.0.4

@Chedi Hi, of my own workaround, I simply added a # type: ignore after __tablename__ = "users".

another really easy workaround is just specifying the type: __tablename__: str = 'poop'

another really easy workaround is just specifying the type: tablename: str = 'poop'

Note that Pyright complains at this:
"__tablename__" incorrectly overrides property of same name in class "SQLModel" Pylance(reportIncompatibleMethodOverride)

To satisfy the type checker you need to use the declared_attr approach, eg:
class Lineitem(SQLModel, table=True):
    @declared_attr
    def __tablename__(cls):
        return "invoice_lineitems"

This could be mentioned in the docs, and maybe in a future version a more intuitive approach could be used, such as putting it in a Meta as ormr does:
class Lineitem(SQLModel, table=True):
    class Meta:
        tablename: str = "invoice_lineitems"

I thought about making a request for this but I'm guessing there's already a lot on the roadmap.

Since I posted https://github.com/tiangolo/sqlmodel/issues/98#issuecomment-1146535179, I've started simply doing
    __tablename__: str = "invoices_legacy"  #  type: ignore

I think this is by far the best solution for people still getting the "incorrect override" error for the line without type: ignore. As I said when I mentioned this in https://github.com/tiangolo/sqlmodel/issues/159,

I choose this last method because the others are far too verbose for something as simple as declaring the table name. This may seem hacky, but although I have to tell Pyright to ignore a number of things in sqlmodel, it's not half the file like I have to type: ignore with sqlalchemy.


Fix(eos_cli_config_gen): Add convert_types to router ospf area id schema

Change Summary
The router_ospf > areas expects the area to be input as a string (i.e. "<IP_ADDRESS>"), and if an user inputs the area number as an integer, it gets the following error message:
[WARNING]: b"[leaf1]: 'Validation Error: router_ospf.process_ids[0].areas[0].id': 2 is not of type 'str'"

The EOS CLI will let users input the ospf area in both format, so to avoid this error and allow users to input the area as an integer or string, we need to check and convert from int to str if that's the case.
Related Issue(s)
N/A
Component(s) name
arista.avd.eso_cli_config_gen
Proposed changes
This is the current router_ospf area schema:
            areas:
              type: list
              primary_key: id
              convert_types:
                - dict
              items:
                type: dict
                keys:
                  id:
                    type: str

Proposed new schema:
            areas:
              type: list
              primary_key: id
              convert_types:
                - dict
              items:
                type: dict
                keys:
                  id:
                    type: str
                    convert_types:
                      - int

How to test
molecule converge -s eos_cli_config_gen
Checklist
User Checklist

N/A

Repository Checklist

[x] My code has been rebased from devel before I start
[x] I have read the CONTRIBUTING document.
[x] My change requires a change to the documentation and documentation have been updated accordingly.
[x] I have updated molecule CI testing accordingly. (check the box if not applicable)

I don't think we should convert the value as integer is technically a valid input value:
Leaf4(config-router-ospf)#area ?
  A.B.C.D         OSPF area-id in IP address format
  <0-4294967295>  OSPF area-id in decimal format

Was just pointing out that the transformation occurs on EOS.

I don't think we should convert the value as integer is technically a valid input value:
Leaf4(config-router-ospf)#area ?
  A.B.C.D         OSPF area-id in IP address format
  <0-4294967295>  OSPF area-id in decimal format

Was just pointing out that the transformation occurs on EOS.

Technically all inputs to EOS are strings. It is CLI after all.
We can not (and should not) have vars with multiple types, so in this case string covers both. For ease of use, we have decided to translate between types every time we have an int value or if we have str with a potential nummeric value. This helps with some of the type ambiguity that comes with YAML inputs.


Add WASM publication

Hi, I'm trying to use the library, and I've seen that theoretically it supports WASM, which is awesome, but I can't get it to import with Gradle. I'm getting the following error:
:composeApp:wasmJsMain: Could not resolve io.github.gabrieldrn:carbon:0.1.0.
Required by:
    project :composeApp

Possible solution:
 - Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html

And I've seen that it's not showing on Maven: https://mvnrepository.com/artifact/io.github.gabrieldrn
Was there an issue when publishing the release? Or is it not supported yet?
Thanks for the library by the way 🚀

Hello, thank you for reporting this issue!
Actually the wasm demo has been setup right after I've published the current version - which doesn't have a configured wasm target... my bad for writing that it is available in the documentation website.
I still need to setup the publication for the wasm target, it will be configured for the next release.
Until then, feel free to clone the project and setup + build your own artifacts for your app.
Sorry for the inconvenience.

Okay, no problem, just wanted to give a heads-up in case it was forgotten or something like that 😉

The Wasm artifact is now available with version 0.2.0 😉
https://central.sonatype.com/artifact/io.github.gabrieldrn/carbon-wasm-js


Impossible to delete a sequence from a serial record

When we try to delete a sequence from a serial record, we get an error message and the sequence is not deleted.
To reproduce:
1- https://catalogue.library.cern/backoffice/series/pbq50-c5f30
2-

3-

Was a temporary error, it seems.


yarn deploy not working

Is there an existing issue for this?

[X] I have looked through the existing issues

Current Behavior
yarn deploy
result in:
yarn run v1.22.1
$ yarn workspace @se-2/hardhat deploy
warning package.json: No license field
$ hardhat deploy --export-all ./temp/hardhat_contracts.json "$@" && hardhat run scripts/generateTsAbis.ts
Error HH308: Unrecognized positional argument $@
For more info go to https://hardhat.org/HH308 or run Hardhat with --show-stack-traces
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed.
Exit code: 1
Command: C:\Program Files\nodejs\node.exe
Arguments: C:\Users\bansc\Documents\GitHub\scaffold-test.yarn\releases\yarn-1.22.1.cjs deploy
Directory: C:\Users\bansc\Documents\GitHub\scaffold-test\packages\hardhat
Output:
info Visit https://yarnpkg.com/en/docs/cli/workspace for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Expected Behavior
No response
Steps To Reproduce
Download project from github, run
yarn install
yarn deploy
Anything else?
I am on windows..
Yarn version: yarn run v1.22.1
Node version:
v18.16.0
what am i missing ?

Hey, thanks for pointing this out and taking the time to create an issue for it.
I'm afraid this is an issue related to Windows file system and terminal syntax being too different from Unix systems that are used to develop and test scaffold-eth-2.
A couple of options you have:

Remove the \"$@\" bit from the deploy script in packages/hardhat/package.json since this seems to be causing issues on windows. (Note that with this removed, some functionality will no longer work, such as yarn deploy --reset or anything else requiring passing params to the deploy script.
Install Windows Subsystem for Linux to create a Linux environment on windows (works quite well for a lot of things, haven't tested it on scaffold-eth-2 personally, but I think it should work)
Or go for a dual boot or full linux install

(Leaving this issue open, since ideally, at some point, we should try and figure out how to reliably get scaffold-eth-2 working on Windows)

Not sure why, but this doesn't happen in all Windows systems. Maybe because people use a different shell or WSL?
@sverps Your suggestion here https://github.com/scaffold-eth/scaffold-eth-2/pull/354#issuecomment-1572079921 will fix this (since we won't need the  "$@" && anymore). Should we create a draft PR and see how it feels?

Yeah sounds good, I'll create a draft PR :+1:

I will also try to reproduce the error


[Feature request] Include messages in rolls affected by conditions

Hello!
Since the module already has the function of including advantage/disadvantage flags in the system status, it would be great if it also added messages to the affected rolls, something like "Disadvantage because you are Prone". I currently use both functions of the module simultaneously (advantage/disadvantage flags and message flags), because my players often forget everything, so the visual reminder always helps a lot! But I miss not having the messages in the rolls that are affected by D&D conditions.
In fact, it would be great if these messages could be translated along with the other module settings.
Edit: I know that the module already has the function to display the source of the advantage/disadvantage, but I believe that it becomes a bit redundant, when the message function is already in use. I describe pretty much everything in every roll, so with the source indication option, the roll box gets a bit cluttered. Maybe a solution would be to separate this configuration into two? "Display source of advantage/disadvantage for conditions" and "display source of advantage/disadvantage for other rolls"? But to be honest, I would really prefer the option to include messages in the conditions (which in turn would allow for personalization).
Finally, an extremely welcome bonus would be to send a warning in chat (or in the interface) when an auto-fail flag is active and the player clicks on the affected save!
Thank you very much!

The module has a setting called Enable Condition Effects. It adds advantage/disadvantage to the system's conditions (e.g. disadvantage to attacks if you're Prone). If you also have the Show Sources setting enabled, it'll show that too (e.g. Disadvantage from Prone). It sounds like that will do what you want, or am I missing something?

Let me explain better: I currently use the messages provided by the module as a visual reminder for my players. Therefore, a typical roll at my table would look like this:

With the "Show Sources" option enabled, the same roll would look like this:

As you can see, it is redundant and visually polluted, there is no need to use this setting in my case, so I don't use it. But with this setting disabled, it is not possible to identify the source of the disadvantage/advantage, when it comes from a condition. What I would like the module to do would be to add messages (if possible with strings available for translation in the module settings) to rolls affected by conditions, when the "Enable Condition Effects" setting is active. Something like this:


Add i switch to text clf example

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@62dbdb2). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #151   +/-   ##
=========================================
  Coverage          ?   56.98%
=========================================
  Files             ?       12
  Lines             ?     1246
  Branches          ?        0
=========================================
  Hits              ?      710
  Misses            ?      536
  Partials          ?        0

Continue to review full report at Codecov.

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


(maint) Expand filepaths passed on the CLI relative to cwd

As part of the #1364 work to
standardize how we expand configured paths we expand all paths
configured in files relative to the project directory, and stated that
all paths set on the CLI would be expanded relative to the directory
Bolt was run from. However, only some CLI paths (inventoryfile and
puppetfile) were expanded this way, while others (hiera-config and
private-key) were expanded relative to the project
directory. This standardizes paths passed on the CLI to be expanded
relative to the cwd. This is accomplished by expanding the path in our
CLI option handler, so that the config object only sees the path as
absolute and does not try to expand it relative to the project.
!bug

Expand filepaths passed on the CLI relative to the current working directory
Config options hiera-config and private-key are now expanded relative
to the directory Bolt was run from when specified on the CLI, inline
with other CLI options.

CLA signed by all contributors.

There's a test failing now. It looks like the most recent pushed removed an expand_path in the test that was still necessary


Long gist titles cause formatting issues for playground header

What happened?
Design getting improper when title of dartpad is bigger.

Steps to reproduce problem
You can check my gist on dartpad.

Browser
Browser: Chrome
Version: 88.0.4324.146 (Official Build) (64-bit)
Are you using any extensions/plugins that affect website behavior
(particularly those that affect iframes, such as ad blockers)?

No

Replicated with the provided gist:

We should probably just truncate and add an ellipsis when necessary.

Replicated with the provided gist:

We should probably just truncate and add an ellipsis when necessary.

Yeah, definitely.

Thanks for the issue! The current UI now handles this a bit better, avoiding overflowing and adding an ellipsis if the title is too big. If anyone would like to see further changes or improvements here, please open a new issue. Thanks again :D


olm pkg, csv handler: new methods were added

IsSucceeded, GetPhase and ListAllInNamespaceWithNamePattern methods added to the olm pkg, csv handler

@mcornea @kononovn @trewest PTAL

@elenagerman Hey can you replace csv with clusterserviceversion? It looks like the other parts of the package use clusterserviceversion and we want it to be consistent

@elenagerman Hey can you replace all references to csv with clusterserviceversion? It looks like the other parts of the package use clusterserviceversion and we want it to be consistent

@elenagerman It looks like changed all logs/comments to clusterServiceVersion. Can you changes it to all lowercase (clusterserviceversion) so that it is consistent?


The alarm in the automatic event generator was not found in the rule set deployed by helm

Which jobs are failing:
I tried to use the event generator on my node, and listened to the log, but I checked all the rule sets deployed by helm on github but did not find this condition
Which test(s) are failing:
{
  "output": "10:34:17.618305443: Notice Namespace change (setns) by unexpected program (user=root user_loginuid=-1 command=event-generator run syscall --loop parent=event-generator k8s.ns=<NA> k8s.pod=<NA> container=f8c2e2f143c1 container_id=f8c2e2f143c1 image=falcosecurity/event-generator:latest) k8s.ns=<NA> k8s.pod=<NA> container=f8c2e2f143c1",
  "priority": "Notice",
  "rule": "Change thread namespace",
  "time": "2020-10-23T10:34:17.618305443Z",
  "output_fields": {
    "container.id": "f8c2e2f143c1",
    "container.image.repository": "falcosecurity/event-generator",
    "container.image.tag": "latest",
    "evt.time":<PHONE_NUMBER>618305500,
    "k8s.ns.name": null,
    "k8s.pod.name": null,
    "proc.cmdline": "event-generator run syscall --loop",
    "proc.pname": "event-generator",
    "user.loginuid": -1,
    "user.name": "root"
  }
}

Reason for failure:
I am not sure how this event is generated, but I did not find the relevant rules
Anything else we need to know:
➜ falco helm list -n kube-system
NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION
falco kube-system 1 2020-10-23 18:08:42.542064927 +0800 CST deployed falco-1.5.2 0.26.1
➜ falco cat /etc/redhat-release
CentOS Linux release 7.8.2003 (Core)
➜ falco uname -r
3.10.0-1127.el7.x86_64

The Change thread namespace is part of the default ruleset, so it is also present in the helm chart default ruleset](https://github.com/falcosecurity/charts/blob/dc90844d7a0e49a1c2f8b586c2b888460ec93598/falco/rules/falco_rules.yaml#L1625).
In the event-generator context, the event is produced by using this action.

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
If this issue is safe to close now please do so with /close.
Provide feedback via https://github.com/falcosecurity/community.
/lifecycle rotten

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.
Provide feedback via https://github.com/falcosecurity/community.
/close

@poiana: Closing this issue.

In response to this:

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.
Provide feedback via https://github.com/falcosecurity/community.
/close

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.


Cannot install using GHC 7.6.3

Using GHC 7.6.3 I got the following error:
$ cabal install
...
src/OnlineATPs/Consult.hs:165:39: Not in scope: `<$>'

Blocking https://github.com/asr/apia/issues/68.

Let me add test with Travis CI,  I tried to compile this version of ghc without success.
I´ll provide support for the version that Apia support.

I tried to compile this version of ghc without success.

OS? Error? Binary or source code?

Closed with https://github.com/jonaprieto/OnlineATPs/commit/f7ec720d38bd8ee213305a39372968fe7926e81c

The error installing 7.6.3, I couldn't reproduce it in my laptop, when I did the last time I was using another laptop, and It was something related with the Xcode version.


绘制手势不太灵敏

如题，绘制手势不太灵敏，已在好几台安卓手机上测试

I have same issue. I hope it will optimize.

I have same issue. I hope it will optimize.

react-native-ok-gesture-password


Installing GTK+

Hi,
I am trying to install GTK+ and as described I downloaded MSYS2 and it failed to update the packages. I am not very familiar with installation from DOS. I want to install in a PC where internet connection is not available. I want to download the packages from a PC with internet connection and transfer the files. Can you please tell me how to do it?

Take a look at this:
http://gtkmm-installation.blogspot.ca/2015/01/gtkmm-installation-on-windows-step-by.html
It definitely works.  The author of this blog is meticulous and has troubleshooting for any error you might get along the process.  Do your best to use the msys2 mingw64 shell.  There are two shells w32 and w64.  The other thing I recommend for having less issues is to run the mingw64 shell as administrator.
https://github.com/omac777/gtksnowloadcount/blob/master/Makefile.msys2.mingw64.x86_64
https://github.com/omac777/gtksnowloadcount/

The links were awesome, I have not yet installed, but update you if I face any issues or if successful.


@graphql-codegen/visitor-plugin-common@npm:4.1.0: No candidates found

Which packages are impacted by your issue?
@graphql-codegen/visitor-plugin-common
Describe the bug
Cannot install using yarn@4 because<EMAIL_ADDRESS>is missing from registry.
Your Example Website or App
none
Steps to Reproduce the Bug or Issue

try to install packages of package.json listed below
fails with: @graphql-codegen/visitor-plugin-common@npm:4.1.0: No candidates found
npmjs.com still got the 4.0.1 version

Expected behavior
install the plugin
Screenshots or Videos
No response
Platform

OS:  macOS
NodeJS: 18.17.1
graphql version: 16.3.0
@graphql-codegen/* version(s): 5.0.0

Codegen Config File
No response
Additional context
If I manually install it yarn add @graphql-codegen/visitor-plugin-common on top of the package.json below it installs just fine, it installs 4.0.1 since 4.1.0 is missing from npmjs.com registry.
package.json:
    "@graphql-codegen/add": "^5.0.0",
    "@graphql-codegen/cli": "^5.0.0",
    "@graphql-codegen/fragment-matcher": "^5.0.0",
    "@graphql-codegen/introspection": "^4.0.0",
    "@graphql-codegen/jsdoc": "^3.0.0",
    "@graphql-codegen/typescript": "^4.0.1",
    "@graphql-codegen/typescript-apollo-client-helpers": "^3.0.0",
    "@graphql-codegen/typescript-operations": "^4.0.1",
    "@graphql-codegen/typescript-react-apollo": "^4.1.0",

It seems that by adding
npmRegistryServer: https://registry.npmjs.org

into .yarnrc.yml it fixes the issue. I guess that since 4.1.0 is not marked as latest on npmjs registry.yarnpkg.com fails to pick it up? 🤔

Seems like this is the commit that introduce the new version dependency that yarn can't find
https://github.com/dotansimha/graphql-code-generator/commit/eaa3d60c11afbe86ba269b2a488891f83089fa03


[WIP] Add color primitives package

This pr adds primer primitives for use with Primer design system and other projects.
To do:

[x] add spacing primitives
[x] add typography primitives
[x] setup lerna
[x] publish color package for mobile team to test

Some follow-up tasks:

[ ] use storybook or kit to output rendered version of values
[ ] sass variables package
[x] combined js package
[ ] css package with custom properties ??
[ ] Mac OS format for use in Keynote etc.
[ ] test pulling into Figma
[ ] test pulling into Sketch

cc @shawnbot @jonrohan

Added readme's and published a primer-primitives package that imports all the other primitives.


Added prettier config and applied to all files.

Not nessesary change.
Personal preference if you want to use prettier or keep manual formatting.

Are you using an automated tool for this? By automated i mean literally running one command.
In python land there is black . and pylint. Are you using an equivalent? Prettifiying the code is important, it is much cleaner. But moving forward it needs to be automated; so i suggest rolling that functionality into this PR.

I reformatted all the files and added a config file using "prettier" https://prettier.io/, which formats based on the configuration on a per project level. Anyone who installs and sets up prettier will automatically follow the rules layed out in the config file.

I suggest adding documentation for installing prettier as a precommit hook then; this could be inside developerment.md or readme.md


uvm example

[x] Simple_model
[ ] Uvm_express
[ ] Uvm_report_mock

Example for Simple model UVM code

Example for Uvm_express code


Use libc++ for building Jazzer

This works around incomplete C++17 support in GCC.

Blocked on https://github.com/bazelbuild/bazel/pull/13666.


about the code

I'm confused about this line of the code in utils.py  file
features[test_idx_reorder, :] = features[test_idx_range, :] #line61
labels[test_idx_reorder, :] = labels[test_idx_range, :] #line65

What's the point of this operation？I'm looking forward to your reply soon.

See #27


getGroup overloaded to support path argument

The group-details service supports taking in a group's path.
https://docs.gitlab.com/ce/api/groups.html#details-of-a-group

Thank you for your contribution.


[WIP] Theme i18n

Don't look! Not anything near to done.

Starting a fresh branch, since I've utterly muddled the history on this one.


DataArray.rename does not copy data

What is your issue?
From the documentation: https://docs.xarray.dev/en/stable/generated/xarray.DataArray.rename.html#xarray.DataArray.rename it isn't clear if the contained data is copied (new memory), or whether it is retained.
It says:

Returns a new DataArray with renamed coordinates, dimensions or a new name.

which may indicate that it copies, however it doesn't:
import numpy as np
import xarray as xr

N = 100
O = xr.DataArray(np.random.rand(N, N), dims=["state [r]", "state [c]"])
s = xr.DataArray(np.random.rand(N, 2), dims=["state [c]", "spin"])

import time
t0 = time.time()
_ = O.rename({"state [r]": "state [c]", "state [c]": "state [r]"})
print("rename: ", time.time() - t0)
print(np.shares_memory(O.values, _.values))

t0 = time.time()
_ = O.values.copy()
print("copy: ", time.time() - t0)
print(np.shares_memory(O.values, _))

Now:

I think the current behaviour is correct. It is nice that we can rename stuff, without having to copy the entire array.
I only think a clarification is necessary for the documentation.
If there are plans for this to copy it, then I think there should atleast be some inplace arguments allowing this.

What would you suggest as a change?

Good question, it probably involves much more elaboration.

Returns a new DataArray with renamed coordinates, dimensions or a new name.
The new DataArray will share memory location with the old DataArray: np.shares_memory(new.values, old.values) is True.

I don't know how to do this succinctly without ambiguity. ;)
It was just a puzzle to me since I didn't know what to expect from doing the operation. And since there is no declaration of the intended use, I am not sure I can trust xarray to do the same in newer releases. Since I would depend on it not making a copy, I just wanted to know what xarray intends to do, and if it wants to keep the current behavior, I would like it emphasized.
I guess the same question/clarification could be said about https://docs.xarray.dev/en/latest/generated/xarray.Dataset.rename.html and friends.
I can make a PR, in case there is a common ground as to what it should say... :)

I think the distinction here is between a new DataArray and a copy of the underlying data.
To me that's less confusing but possibly that's because I'm too deep in it.
One issue is that a substantial number of methods do this, and we don't want to have the same description on every method...

I see, if I read new DataArray I would implicitly assume there is no connection between the new and the old object. Where does the boundary of new lie? Dimension names? Coords and values, data values, attributes, etc? It isn't clear (at least to me) what new encompasses.
If I just looked at it, I would assume it returns a copy of the underlying data.
I agree about the number of methods that does this would mean a lot of changes, and digging in the code. I could, of course, also be wrong here. But I would think that most users don't know about this detail.

I.e. this might suprise some users:
import xarray as xr
import numpy as np

data = np.random.rand(3, 3)
print(data)
a = xr.DataArray(data,
                 dims=list("xy"),
                 coords=[
                     ("x", np.arange(3)),
                     ("y", np.arange(3))]
                 )
print(a)

b = a.rename({"x": "z"})
print(b)

b[0, 1] = 2
print(a)

One change could just be:
- Returns a new DataArray with renamed coordinates, dimensions or a new name.
+ Returns a DataArray with renamed coordinates, dimensions or a new name.

...which is possibly less confusing while being simpler. Then if folks want to know about when xarray copies the underlying data, they can look at .copy and learn more there.
Would accept this as a PR unless there are any objections

I don't see the connection to copy, if anything it should be:
- Returns a new DataArray with renamed coordinates, dimensions or a new name.
+ Returns a  shallow copied(?) DataArray with renamed coordinates, dimensions or a new name.

Is copied necessary here?
for absolute clarity. With your proposal you still don't know if it is a shallow or deep copy. And reading copy does not give any more information.

OK, I had thought that this might shed some light on the difference between shallow & deep copies: https://github.com/pydata/xarray/blob/a74a60508edd844ef425637f27598f1d8c5385a2/xarray/core/dataarray.py#L1230-L1237. On reflection I agree it's a bit tangential.
Personally I think that "Returns a shallow copied DataArray" is too many words + not a great description of what's going on — it's a new object rather than a shallow copy. But if others believe it to be better, very happy to take the majority view.
I would support removing the new given it reduces the word count + I think removes some minor confusion...

I agree it isn't easy. Hard to clarify without lots of words. Perhaps for the sake of changing something we could stick with removing new, then if this pops up later, we at least have a reference here.
I just think it would be simpler if the documentation clarifies the intention and behaviour, since currently I do tests to see whats happening, but I don't know if these things changes down the line.
The same thing happened to scipy objects (sparse matrices) where __i<op>__ methods didn't actually behave like one would think. I know it is hard, but clarity is nice! ;)

I think that mental model gets us to a simple correct answer 98% of the time (the only remaining ambiguities are a couple of small cases on whether a copy is required)

I think of xarray the same way: everything is shallow copied, with a few exceptions. So going through all the methods and explicitly mention that we shallow-copy feels a bit redundant, but we definitely need to make sure to clearly document the few cases where we deep-copy.
I'm not sure where the best place to set this expectation is, though.

Perhaps in:
https://docs.xarray.dev/en/stable/getting-started-guide/why-xarray.html
and
https://docs.xarray.dev/en/stable/user-guide/terminology.html
It might be good to emphasize this path?

Or given nowhere seems to be a great spot, maybe a question in the https://docs.xarray.dev/en/stable/getting-started-guide/faq.html ?
@zerothi would be a nice small contribution if you're up for it!


Import named export

Vue version
^3.3.11
Link to minimal reproduction
https://stackblitz.com/edit/vitejs-vite-882jdu?file=src%2FApp.vue
Steps to reproduce

Export a component from an index.ts file with a named export
Import that component in another component using import * as X from './some-index-file.ts'
Use the component

<template>
  <X.Comp />
</template>

What is expected?
The components to render
What is actually happening?
App.vue:7 Uncaught TypeError: Cannot read properties of undefined (reading 'Id')
at Proxy._sfc_render (App.vue:7:24)
at renderComponentRoot (runtime-core.esm-bundler.js:870:16)
at ReactiveEffect.componentUpdateFn [as fn] (runtime-core.esm-bundler.js:5972:46)
at ReactiveEffect.run (reactivity.esm-bundler.js:170:19)
at instance.update (runtime-core.esm-bundler.js:6103:16)
at setupRenderEffect (runtime-core.esm-bundler.js:6113:5)
at mountComponent (runtime-core.esm-bundler.js:5881:7)
at processComponent (runtime-core.esm-bundler.js:5835:9)
at patch (runtime-core.esm-bundler.js:5307:11)
at render2 (runtime-core.esm-bundler.js:6623:7)
System Info
No response
Any additional comments?
No response

I had the same problem，when I use<EMAIL_ADDRESS>import { Command } from 'vue-command-palette'

<Command.Dialog>
    <!-- xxx -->
</Command.Dialog>

A screenshot of my error is below

So I'm rolling back now 3.3.13，can solve this problem

This is a cool pattern, thanks for sharing


Update Install-SPApplicationContent.md

Additional information related to CU upgrades.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-server/Install-SPApplicationContent.md
:white_check_mark:Succeeded
View (sharepoint-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Fix a few issues of the FixedBucketsValTracker

Make the default number of bins of the internal tracker smaller so it does not cause numerical issues and/or memory problems.
Use floor() instead of int() (trunc) for rounding to have the same behaviour for positive and negative numbers.
Add an extra bin in the summarization method such that the number of bins in the summary is always "number of values"+1. This is consistent with the numpy histogram convention.

Fixes #70

tnx @peterbjorgensen !! will review it tomorrow.


Secrets of an existing workload do not get updated when a new registry is added or existing one is updated

What kind of request is this (question/bug/enhancement/feature request): bug
Steps to reproduce:

Add a registry - Say reg1 in docker.io
Deploy a workload with image from that registry account.
Change the credentials of the account, in docker hub.
Change the credentials in Rancher--> Registries --> reg1
Scale up the pods in the workload.

Upgrade workload - Add an environment variable.

Expected Result:
The workload should come up Active.
imagePullSecrets for the workload should get updated with the latest registry details on an Upgrade or scale up of the workload.
Actual Result:
The workload fails to come up.
Other details that may be helpful:
Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI): master
Installation option (single install/HA): single install

Current workaround:

Create a new registry
Update the existing workload(s) to use the new registry

I just got bitten by this on v2.3.0-rc9


Extension dependencies should support min versions and pre-release tags

Filed by @timheuer
The flow for extension dependencies should be able to specify 'min' version.  Ideally I'd be able to specify something like this:
"extensionDependencies": [
  "ms-dotnettools.csharp-2.0^"
]

other examples:

"ms-dotnettools.csharp" - would be 'latest release tip from marketplace'
"ms-dotnettools.csharp-pre" - would be 'latest pre-release tip from marketplace'
"ms-dotnettools.csharp-v{n}^" - would be 'latest from marketplace with minimum version of n

fyi @sandy081

@aeschli Is it an install time dependency or also runtime?

I think for this case it is install time dependency. Did you mean to ping Martin here?

We use extension dependencies while running/loading the extension in extension host. When an extension is activated, we first activate the extension(s) it depends on and then the extension. So changing the syntax of this property also affects this.

We closed this issue because we don't plan to address it in the foreseeable future. If you disagree and feel that this issue is crucial: we are happy to listen and to reconsider.
If you wonder what we are up to, please see our roadmap and issue reporting guidelines.
Thanks for your understanding, and happy coding!

Extensions should be allowed to mention the minimum dependable version of their extension dependencies'. This could handle breaking changes in the dependencies as well as the parent extension

With the interdependencies between the MAUI extension, C# extension, and C# dev kit extension, we're seeing more scenarios where we could really use this. Just a heads up on that - a more official request to reconsider adding this may be coming.


update records

Hi, is it possible to update records in a table?

Kind of. There's no UPDATE statements. There are several choices though:

CollapsingMergeTree or ReplacingMergeTree (this one isn't documented, see an example in the sources)

table renaming. create a new table, insert the updated data to it (insert the unchanged one too), drop the old table, rename the new table. you should make sure that no data is inserted in between (basically, create a lock on your side of the application).

I see but we already have several billion records we can't simply move data in out of tables effects our production system, all this time our operations were append only now we need to update to cater for new feature, do you guys have any plans to implement update and delete operation/queries.

We have plans for delete. (Currently without schedule, I expect in Q2 2017)

Just idea for possible update/delete option with MergeTree family tables.
Delete can be covered using ReplacingMergeTree with functionality of version field of int type, just to allow using of -1 for deletion on merge. When merge is triggered then just skip record from main part when there is new part with -1 version.

@alexey-milovidov is Q2 2017 still actual?

This estimate is outdated :( Now we expect it not sooner than Q4 2017.

@alexey-milovidov is it still on road map the delete

@alexey-milovidov any update on this? GDPR is coming.

Is there any update on this feature... is this 2018 or will it make it in 2017 Q4.. We are looking for limited capability example would be a look up table but to update just the record without drop, rename whole table data.

In first step, we will implement "batch updates", probably under a special syntax like "ALTER ... UPDATE/DELETE", that will perform updates rather suboptimal but without any sacrifice of SELECT performance.
In second step, we will apply some techniques to support short-running updates with little (if any) impact on SELECT performance.
This is the first task in a queue for one of developers.

@alexey-milovidov класс спасибо

@alexey-milovidov awesome product!
there is any chance for update / delete in the near future ?

See https://github.com/yandex/ClickHouse/pull/2366 for initial DELETE implementation.

FYI: this feature is currently on code review at #3035

I have a question. Shouldn't the UPDATE and DELETE propagate to materialized views as well?

I have a question. Shouldn't the UPDATE and DELETE propagate to materialized views as well?

Well in theory that would be nice, but I don't see how this could be realized in practice. Materialized views often store aggregated data and deleting/modifying data inside aggregate function states is in general impossible.
Materialized views are INSERT triggers that have been misnamed.

ALTER UPDATE feature has been released in v18.12.14.

I see, you're right. Thanks!
On Mon, Oct 8, 2018, 21:25 Alex Zatelepin<EMAIL_ADDRESS>wrote:

Closed #167 https://github.com/yandex/ClickHouse/issues/167.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/yandex/ClickHouse/issues/167#event-1891115785, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAUAJd9WkFOUaI-Nqa2r9bI-oEgnRzQ4ks5ui6ajgaJpZM4KtdK1
.

ALTER UPDATE feature has been released in v18.12.14.

why master not contain the code of ApplyingMutationsBlockInputStream?

why do not master contain the code of ApplyingMutationsBlockInputStream?

ApplyingMutationsBlockInputStream was removed. Look into dbms/src/Interpreters/MutationsInterpreter.h/.cpp for the relevant logic.


Fix in WeaveDNS: do not modify cache when getting a reply

Changes in this PR:

do not modify the TTL in the reply stored when Getting from the cache
set all responses obtained with mDNS as authoritative
minor improvements in the logs

Note: this PR depends on #501

Thankyou for splitting this up it's much much easier to digest! LGTM.

Great. Thanks for the reviews @awh