Unable to install Qt6-main=6.6.3 on x86 macOS

Solution to issue cannot be found in the documentation.

[X] I checked the documentation.

Issue
Trying to install Qt6 6.6.3 | 6.7.** into a python 3.12 virtual environment will fail with a dependency error
(nxpython) 1012:[mjackson@Jolder:mjackson]% conda install qt6-main=6.6.3
Channels:
 - conda-forge
 - defaults
Platform: osx-64
Collecting package metadata (repodata.json): done
Solving environment: failed

LibMambaUnsatisfiableError: Encountered problems while solving:
  - package qt6-main-6.6.3-ha1ddf80_0 has constraint __osx >=11.0 conflicting with __osx-10.16-0

Could not solve for environment specs
The following packages are incompatible
├─ __osx is requested and can be installed;
└─ qt6-main 6.6.3**  is not installable because it requires
   └─ __osx >=11.0 , which conflicts with any installable versions previously reported.

Installed packages
(nxpython) 1009:[mjackson@Jolder:mjackson]% conda list
# packages in environment at /opt/local/anaconda3/envs/nxpython:
#
# Name                    Version                   Build  Channel
bzip2                     1.0.8                h10d778d_5    conda-forge
ca-certificates           2024.2.2             h8857fd0_0    conda-forge
libexpat                  2.6.2                h73e2aa4_0    conda-forge
libffi                    3.4.2                h0d85af4_5    conda-forge
libsqlite                 3.45.3               h92b6c6a_0    conda-forge
libzlib                   1.2.13               h8a1eda9_5    conda-forge
ncurses                   6.5                  h5846eda_0    conda-forge
openssl                   3.3.0                hd75f5a5_0    conda-forge
pip                       24.0               pyhd8ed1ab_0    conda-forge
python                    3.12.3          h1411813_0_cpython    conda-forge
readline                  8.2                  h9e318b2_1    conda-forge
setuptools                69.5.1             pyhd8ed1ab_0    conda-forge
tk                        8.6.13               h1abcd95_1    conda-forge
tzdata                    2024a                h0c530f3_0    conda-forge
wheel                     0.43.0             pyhd8ed1ab_1    conda-forge
xz                        5.2.6                h775f41a_0    conda-forge

Environment info
(nxpython) 1014:[mjackson@Jolder:mjackson]% conda info

     active environment : nxpython
    active env location : /opt/local/anaconda3/envs/nxpython
            shell level : 2
       user config file : /Users/mjackson/.condarc
 populated config files : /Users/mjackson/.condarc
          conda version : 23.11.0
    conda-build version : 3.28.1
         python version : 3.11.5.final.0
                 solver : libmamba (default)
       virtual packages : __archspec=1=skylake
                          __conda=23.11.0=0
                          __osx=10.16=0
                          __unix=0=0
       base environment : /opt/local/anaconda3  (writable)
      conda av data dir : /opt/local/anaconda3/etc/conda
  conda av metadata url : None
           channel URLs : https://conda.anaconda.org/conda-forge/osx-64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://repo.anaconda.com/pkgs/main/osx-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/osx-64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /opt/local/anaconda3/pkgs
                          /Users/mjackson/.conda/pkgs
       envs directories : /opt/local/anaconda3/envs
                          /Users/mjackson/.conda/envs
               platform : osx-64
             user-agent : conda/23.11.0 requests/2.31.0 CPython/3.11.5 Darwin/21.6.0 OSX/10.16 solver/libmamba conda-libmamba-solver/23.12.0 libmambapy/1.5.3 aau/0.4.2 c/kQAy2ZGFo1V1PAWCUKwZ2A s/Zyp4XdhDGIp7vGuBD20HOw e/C_4CgdiHVR2RqGAG0CHlow
                UID:GID : 501:20
             netrc file : None
           offline mode : False

What kind of system are you running on? I've never seen
       virtual packages : __archspec=1=skylake
                          __conda=23.11.0=0
                          __osx=10.16=0     #  <-----
                          __unix=0=0

To my knowledge there never was a MacOS 10.16 release, and the version jumped from 10.15 to 11.0.
So it could be a bug in how conda detects the system information that's the basis for the __osx virtual package.
Assuming you're actually in a 10.x system, you'll have to upgrade your MacOS version though - newer QT only supports >=11.0, and therefore the solver is correctly not letting you install it (under the assumption that the value for __osx is not garbage).

The first thing to do here however is to update your conda version and try again, as you're a couple releases behind already, and an eventual bug may have been fixed in the meantime

This is because you are using python from defaults in your base conda environment and it was not compiled with a macos 11+ SDK. Please report the issue at https://github.com/AnacondaRecipes/python-feedstock.


What permissions does GitHub PAT need?

I can't find this info anywhere in the repo.

@agardnerIT  - for PATs, the basic set of permissions needed are:

repo:All
read:packages
read:org
read:user
read:enterprise
read:project
read:security

The setting varies between classic and fine-grained. The queries under the hood are all read queries, there is no write. They read repos, orgs, branches, commits, metadata, issues, pull requests, and GHAS security events.
I generally recommend using the GitHub App Authentication Extension for authentication instead as GitHub Apps use OAUTH and are more secure, locks down permissions better, and increases rate limits.


feat(frontend): load utxos fee on convert modal open

Motivation
In this PR, 2 updates on UtxosFeeContext have been implemented:

We now start loading utxos fee directly when user opens the convert modal. To do that, we pass to the endpoint a default amount specified in the code. The fees are usually the same (no matter what "amount" is provided) for a long period of time, therefore it won't lead to an incorrect value being displayed.
After we got a fee value, we don't instantly reset the store if user provides a new amount. Instead, we continue displaying the old value and fetch the new fee in the background.

@peterpeterparker good point! I added an additional check, as well as a test case for that.


rofi-rbw-wayland: 1.4.0 -> 1.4.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for rofi-rbw-wayland is: Rofi frontend for Bitwarden
meta.homepage for rofi-rbw-wayland is: https://github.com/fdw/rofi-rbw
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.4.1 with grep in /nix/store/9ap7a6fgx467g7c1b788qr1fy9jc4x2x-rofi-rbw-1.4.1
found 1.4.1 in filename of file in /nix/store/9ap7a6fgx467g7c1b788qr1fy9jc4x2x-rofi-rbw-1.4.1

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

4 package rebuild(s)

First fifty rebuilds by attrpath

rofi-rbw
rofi-rbw-wayland
rofi-rbw-x11

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/9ap7a6fgx467g7c1b788qr1fy9jc4x2x-rofi-rbw-1.4.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A rofi-rbw-wayland https://github.com/r-ryantm/nixpkgs/archive/9a18dd36681874be91fc85b511f4019aa842eda0.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/9a18dd36681874be91fc85b511f4019aa842eda0#rofi-rbw-wayland

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/9ap7a6fgx467g7c1b788qr1fy9jc4x2x-rofi-rbw-1.4.1
ls -la /nix/store/9ap7a6fgx467g7c1b788qr1fy9jc4x2x-rofi-rbw-1.4.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

6 packages built:

rofi-rbw
rofi-rbw-wayland
rofi-rbw-wayland.dist
rofi-rbw-x11
rofi-rbw-x11.dist
rofi-rbw.dist

Maintainer pings
cc @equirosa @dit7ya for testing.

Closed by #309238.


Cursor doesn't move to the end in the interactive component with modal

Hi. I'm using react-color-palette with Popover component in MUI.
I place ColorPicker in the basic popover modal like the example below.
https://mui.com/material-ui/react-popover/#basic-popover
Then cursor in saturation and hue doesn't move to the right end.
See the maximum position of cursor I can drag in the image below.

It seems that bug is caused by useBoundingClientRect hook in the code.
My Environment

Dependency
Version

Node.JS version
v18.17.1

react-color-palette version
v7.1.0

Can you attach an example?

Can you attach an example?

Like this gif (dragging)

I meant a link to codesandbox.

I don't know if this issue has been fixed yet. I encountered this error, and the way I fixed it was on the first load of the Popover, I added a very small delay to allow the ColorPicker to load after the Popover has been loaded.
const [firstLoad, setFirstLoad] = useState(true);
useEffect(() => {
if (open && firstLoad) {
setTimeout(() => {
setFirstLoad(false);
}, 150);
}
.............
{!firstLoad && (
<ColorPicker ..../>
)}

I don't know if this issue has been fixed yet. I just encountered this error, and the way I fixed it was to add a very small delay each time the Popover is loaded, allowing the ColorPicker to load after the Popover has been loaded.
const [delayLoad, setDelayLoad] = useState(true);
useEffect(() => {
if (open) {
setTimeout(() => {
setDelayLoad(false);
}, 150);
}
}, [open]);
const onClose = () => {
handleClose();
setDelayLoad(true);
};
.........
.........
{!delayLoad && (
<ColorPicker .... />
)}

I can confirm that @windycloud's solution worked for me.
For just a bit of cleanup, it's easy to just do:
 useEffect(() => {     setTimeout(() => {       setDelayLoad(!modalShown);     }, 500);   }, [modalShown]);

Fixed in v7.2.1


Predicted intent is always 'greet' for every message that doesn't exists in the training data

Rasa Open Source version
2.8.12
Rasa SDK version
No response
Rasa X version
No response
Python version
3.8
What operating system are you using?
Linux
What happened?
'greet' intent always return as the selected intent with confidence 1 when user types a message that doesn't exists in the training data.
nlu.yml
version: "2.0"
nlu:
  - intent: greet
    examples: |
      - γεια
      - γεια σας
      - καλησπέρα
      - καλημερα
      - kalispera
      - geia
      - geia sas
      - kalimera
      - hey
      - hello
      - hi
      - hello there
      - good morning
      - good evening
      - hey dude
      - goodmorning
      - goodevening
      - good afternoon
  - intent: affirm
    examples: |
      - yes
      - sure

domain.yml is the default
config.yml is the default + added FallbackClassifier with threshold 0.3
User input: "I am writting something"
predicted intent is always "greet"

Command / Request
No response
Relevant log output
No response

Just to confirm, does your nlu.yml file only contains one intent? If so, this seems like expected behavior. If there is only one class to pick from, the classifier will do exactly that.

I Have multiple,
I tried it also with a fresh rasa project which has multiple intents too (greet, affirm etc)
FYI
I have also set up a nlu_fallback rule
`
version: "2.0"
rules:

rule: Fallback
steps:

intent: nlu_fallback
action: utter_fallback

rule: Default Fallback
steps:

intent: action_default_fallback
action: utter_fallback

responses:
utter_fallback:
- text: fallback
`

This is on a fresh project.
Shouldn't fallback?

Could you try running rasa shell nlu so that we can see the confidence values of a few examples? The thing that's hard here is that an ML algorithm is able to give a confidence of 1.0 while giving the wrong answer. That means that right now it's possible that the fallback is not being triggered as opposed to the fallback being broken.

@georak please refrain from posting screenshots into the issue if it can also be copied/pasted as text. It's better for the screen real-estate and it also makes the contents searchable/copyable.
That said, looking at your output I have no reason to assume that the fallback trigger is the issue. Instead, it seems like you expected low confidence for these utterances while the model seems to emit a high value. It may sound strange, but this isn't entirely unexpected. This PyData talk might help explain why you're seeing this.
Out of curiosity, how many examples do you have for each intent?

Ok Sorry, I will do!
3-4 examples
Thank you for our help.
Is there any work arround?

My gut says that adding more examples will go a long way. I'd try having at least 12 examples per intent. The model may be overfitting on the few examples that exist and is thus learning only to output high confidence values.

I'll close this issue since it doesn't seem like Rasa is directly breaking here.
If you'd like to discuss this issue further, please start a thread on our forum at https://forum.rasa.com. That's a preferable place to talk about specific bot issues.  You can ping me there via my @koaning user name there as well.


python-zulip-api: Upgrade to PyPI package release 0.3.8.

@timabbott, @showell, @roberthoenig: FYI :)

@eeshangarg I merged this after the tests passed locally; but Travis seems to have failed with a weird error that I don't get locally.  Can you investigate?

@timabbott: Will do! :)


Re-submit changes to doc

Didn't seem to take from merge #319

Hi @DRediske, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

It looks like you're a Microsoft contributor (Dan Rediske). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;

@DRediske : Thanks for your contribution to the Azure documentation! The author, @tmullaney, has been notified to review your proposed change.

@jackrichins Hi Jack If your review is complete and you approve the changes, please sign off so that automation adds the "ready-to-merge" label. Thanks.

@jomolnar the link you pasted for sign off goes to 404. It's been awhile, what do I need to do to sign off?

@jackrichins Thanks for asking. Information is available in the contributors guidelines at https://github.com/Microsoft/azure-docs-pr/tree/master/contributor-guide. In this case, add the #sign-off comment.

@DRediske @jackrichins Thanks, Jack, and thanks for the contribution, Dan. I'm merging.


One user per device limit no longer true

A device can only be registered in a single tenant. This limit means that only one work or school account is supported for phone sign-in using the Authenticator app.

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

ID: 3f8368ab-5081-7c09-d7cd-8fff29804f3f
Version Independent ID: 61c5cf00-293a-d2e7-930e-0897c93cc142
Content: Plan a passwordless authentication deployment in Azure Active Directory - Microsoft Entra
Content Source: articles/active-directory/authentication/howto-authentication-passwordless-deployment.md
Service: active-directory
Sub-service: authentication
GitHub Login: @Gargi-Sinha
Microsoft Alias: gasinh

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

@rolstead
Thanks for your feedback! We have assigned the issue to author who will provide further updates.

enable passwordless phone sign-in for multiple accounts in Microsoft Authenticator for multuiple accounts from the same or from multiple tenants is supported on iOS here: https://learn.microsoft.com/en-us/azure/active-directory/authentication/howto-authentication-passwordless-phone#multiple-accounts-on-ios


Fix git2 safe-directory disable

The call to set_verify_owner_validation was not getting called unless a network configuration was found. This means in the common case that cargo new will fail when there is a safe-directory error. This fixes the issue by making sure that set_verify_owner_validation is called before the early-exits in init_git_transports.
Fixes #11365

In the process of fixing this, I noticed several other problems with git2, with fixes posted at https://github.com/libgit2/libgit2/pull/6427 and https://github.com/rust-lang/git2-rs/pull/894. I don't think either of those are necessary for cargo, though.
Nominating for beta since this is a stable regression in 1.65.  I'm not sure if it will be important for a stable backport. This is only the first report I've seen in the week since it is released, but it may be good to keep an eye on more reports.

@bors r+

:pushpin: Commit 632da896fbc6593bfc8ca765d2a09201e3d4fc23 has been approved by epage
It is now in the queue for this repository.

:hourglass: Testing commit 632da896fbc6593bfc8ca765d2a09201e3d4fc23 with merge 040ee9713bdbdd8513eb7aaf4dc8eb606d2f5048...

:broken_heart: Test failed - checks-actions

@bors retry
proptest #6258

:hourglass: Testing commit 632da896fbc6593bfc8ca765d2a09201e3d4fc23 with merge f5cdfa4d8bde8b25cb1f020632a921f4190a7c58...

:sunny: Test successful - checks-actions
Approved by: epage
Pushing f5cdfa4d8bde8b25cb1f020632a921f4190a7c58 to master...


ItemsRepeater with custom VirtualizingLayout inside ScrollViewer crashes in MeasureOverride on scrolling from bottom to top

Describe the bug
Since Windows App SDK 1.2 preview versions our custom VirtualizingLayout implementations for an ItemsRepeater inside a ScrollViewer do not work reliably anymore. The crash occurs when scrolling the ItemsRepeater from bottom to top. The exception itself manifests in an System.ArgumentException when calling Measure on the realized container while CellSize has a valid value.
  var container = context.GetOrCreateElementAt(i);
  container.Measure(formElements[i].CellSize);

Same code works fine on Microsoft.WindowsAppSDK NuGet package version 1.1.5
Steps to reproduce the bug
Currently we do not have a repro solution ready. But we could upload a crash dump if you let us know how to hand it over.
Expected behavior
Scrolling from bottom to top is possible without app crash.
Screenshots
No response
NuGet package version
WinUI 3 - Windows App SDK 1.2 stable: 1.2.221116.1
Windows app type

[ ] UWP
[X] Win32

Device form factor
Desktop
Windows version
Windows 11 (22H2): Build 22621
Additional context
The NuGet package version used is 1.2.221116.1

Hello @gabbybilka and @ojhad, sorry for referencing you directly in this issue. I know that you for sure have a lot at your hands right now...
But we were wondering if you can give a heads up on this issue here because it is a hard blocking one for us.
From the last WinUI Community Call we understood that 1.2 is near final and new issues cannot be fixed in the upcoming release. But it would be really important to us having this issue fixed with the next servicing release.
If we can help by providing a memory dump to you we would be really happy to do so.
Thank you!

Hello @gabbybilka, as requested in yesterday's WinUI community call I updated this GitHub issue.
Our blocking issue persists with Microsoft.WindowsAppSDK 1.2 stable (version 1.2.221109.1). At the moment we are blocked due to this issue.
Is there any known workaround to our problem?
As mentioned we would also be able to upload memory dumps if that helps.

Hi @gabbybilka, @Scottj1s, @MikeHillberg, just tested the last update of Microsoft.WindowsAppSDK version 1.2.221116.1. This issue still persists.

Hi @gabbybilka, @Scottj1s, @MikeHillberg, we found a workaround for this issue when we updated to Microsoft.WindowsAppSDK version 1.2.230118.102.
As we got more information in the exception stack trace, we were able to narrow down the issue.
The crash occurs related to custom controls using DataTemplates as StaticResources with simple bindings (not x:Bind) to an ObservableObject.
We placed the DataTemplates in a ResourceDictionary with code behind and changed our bindings to compiled bindings {x:Bind}. Using this approach ItemsRepeater does not crash anymore.
Remarks:

All of this worked fine in Microsoft.WindowsAppSDK 1.1. :-)
There were no binding errors in our DataTemplates.
Initial rendering cycle in ItemsRepeater works as expected.
Crash occurs when elements reappear on scrolling them back into the viewport.

Is it possible that there is an issue related to DataContext when items are shown again?


⚠ Bofrost.de has degraded performance

In b5b3fbc, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1255 ms

Resolved: Bofrost.de performance has improved in 41ef1b7.


Add target libraries/executables to executable's RPATH

Checklist

[X] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[X] Reset the build number to 0 (if the version changed)
[X] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[X] Ensured the license file is being packaged.

xref: https://github.com/conda-forge/cuda-feedstock/issues/10
Only libnvvp/nvvp binary executable needs patching here.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found it was in an excellent condition.

Closing in favor of https://github.com/conda-forge/cuda-nvvp-feedstock/pull/14 which had been broken but is now fixed


bn.shameem.me link remove | it's not available

This site can’t be reached

The author name shouldn't be removed. Rather the link should be updated with this one (https://shameem.me/)


Add float border highlights for Neotree

Checklist for Plugins
Paste link to documentation listing highlight groups: https://github.com/nvim-neo-tree/neo-tree.nvim/blob/42caaf5c3b7ca346ab278201151bb878006a6031/doc/neo-tree.txt#L1324

[x] (In colors/melange.lua) Add highlight groups
[ ] (In README.md) Add link to plugin source repository

Fixes #96

Thanks for the PR! and sorry for the delay.


Twitter embed omit_script=true

Improve the load performance of twitter embed with this
Test URLs:

Before: https://main--aem-rockstar-website--adobe.hlx.page/en/submission-guide
After: https://submission-guide-layout--aem-rockstar-website--amol-anand.hlx.live/en/submission-guide

not making a marked difference. reverting the change


Running on 1 or 2 A100 GPUs gives memory out of bound error

Compiling and running Cholla (Makefile and input deck attached) on 1 or 2 A100 GPUs gives the following out of bound memory error (error message obtained with compute-sanitizer), and the program exits normally with very few (3) number of steps. Note that runs on 4 or 8 A100 GPUs, and runs on 1, 2, 4, 8 V100 GPUs are good.
I do not know we are doing something wrong here?
Cholla std output
Parameter values:  nx = 640, ny = 640, nz = 640, tout = 0.200000, init = Riemann, boundaries = 3 3 3 3 3 3
Output directory:  ./

Creating Log File: run_output.log

nproc_x 2 nproc_y 1 nproc_z 1
Allocating MPI communication buffers (nx = 8192000, ny = 4198400, nz = 4250880).
Local number of grid cells: 320<PHONE_NUMBER>28512
Setting initial conditions...
Initial conditions set.
Setting boundary conditions...
Boundary conditions set.
Dimensions of each cell: dx = 0.001563 dy = 0.001563 dz = 0.001563
Ratio of specific heats gamma = 1.400000
Nstep = 0  Timestep = 0.000000  Simulation time = 0.000000
Writing initial conditions to file...

Saving Snapshot: 0
Starting calculations.
n_step: 1   sim time:  0.0005282   sim timestep: 5.2822e-04  timestep time =  3599.491 ms   total time =   24.3431 s

n_step: 2   sim time:  0.1000000   sim timestep: 9.9472e-02  timestep time =   713.766 ms   total time =   25.0569 s

Saving Snapshot: 1
n_step: 3   sim time:  0.2000000   sim timestep: 1.0000e-01  timestep time =  1575.741 ms   total time =   41.1236 s

compute-sanitizer error
========= Invalid __global__ read of size 8 bytes
=========     at 0xe00 in Update_Conserved_Variables_3D_half(double*, double*, double*, double*, double*, int, int, int, int, double, double, double, double, double, int, double)
=========     by thread (233,0,0) in block (1335,0,0)
=========     Address 0x7f6bdd68ed48 is out of bounds
=========     Saved host backtrace up to driver entry point at kernel launch time
=========     Host Frame: [0x25428a]
=========                in /usr/lib/x86_64-linux-gnu/libcuda.so.1
=========     Host Frame: [0x115ab]
=========                in /usr/local/cuda/targets/x86_64-linux/lib/libcudart.so.11.0
=========     Host Frame:cudaLaunchKernel [0x618c0]
=========                in /usr/local/cuda/targets/x86_64-linux/lib/libcudart.so.11.0
=========     Host Frame: [0x2458f]
=========                in /cholla/cholla/cholla
=========     Host Frame: [0x151d2]
=========                in /cholla/cholla/cholla
=========     Host Frame: [0x5362]
=========                in /cholla/cholla/cholla
=========     Host Frame:__libc_start_main [0x270b3]
=========                in /usr/lib/x86_64-linux-gnu/libc.so.6
=========     Host Frame: [0x62ae]
=========                in /cholla/cholla/cholla

Makefile
DIRS := src src/gravity src/particles src/cosmology src/cooling

CFILES := $(foreach DIR,$(DIRS),$(wildcard $(DIR)/*.c))
CPPFILES := $(foreach DIR,$(DIRS),$(wildcard $(DIR)/*.cpp))
GPUFILES := $(foreach DIR,$(DIRS),$(wildcard $(DIR)/*.cu))

OBJS := $(subst .c,.o,$(CFILES)) $(subst .cpp,.o,$(CPPFILES)) $(subst .cu,.o,$(GPUFILES))
CUOBJS := $(subst .cu,.o,$(GPUFILES))

#To use GPUs, CUDA must be turned on here
#Optional error checking can also be enabled
DFLAGS += -DCUDA #-DCUDA_ERROR_CHECK

#To use MPI, DFLAGS must also include -DMPI_CHOLLA
DFLAGS += -DMPI_CHOLLA -DBLOCK

#Set the MPI Processes grid [nproc_x, nproc_y, nproc_z]
#DFLAGS += -DSET_MPI_GRID

#Limit the number of steps
#DFLAGS += -DN_STEPS_LIMIT=26

# Single or double precision
#DFLAGS += -DPRECISION=1
DFLAGS += -DPRECISION=2

#Set output preferences
DFLAGS += -DOUTPUT
#DFLAGS += -DBINARY
DFLAGS += -DHDF5
DFLAGS += -DSLICES
#DFLAGS += -DPROJECTION
#DFLAGS += -DROTATED_PROJECTION

#Output all data every N_OUTPUT_COMPLETE snapshots ( These are Restart Files )
#DFLAGS += -DN_OUTPUT_COMPLETE=10

# Reconstruction
#DFLAGS += -DPCM
#DFLAGS += -DPLMP
#DFLAGS += -DPLMC
DFLAGS += -DPPMP
#DFLAGS += -DPPMC

# Riemann Solver
#DFLAGS += -DEXACT
#DFLAGS += -DROE
DFLAGS += -DHLLC

# Integrator
#DFLAGS += -DCTU
DFLAGS += -DVL

# Use Dual Energy Formalism
#DFLAGS += -DDE

# Evolve additional scalars
#DFLAGS += -DSCALAR

# Apply a minimum value to Conserved values
#DFLAGS += -DDENSITY_FLOOR
#DFLAGS += -DTEMPERATURE_FLOOR

# Average Slow cell when the cell delta_t is very small
#DFLAGS += -DAVERAGE_SLOW_CELLS

# Allocate GPU memory every timestep
#DFLAGS += -DDYNAMIC_GPU_ALLOC

# Set the cooling function
#DFLAGS += -DCOOLING_GPU
#DFLAGS += -DCLOUDY_COOL

# Use Tiled Iitial Conditions for Scaling Tets
#DFLAGS += -DTILED_INITIAL_CONDITIONS

# Print Initial Statistics
#DFLAGS += -DPRINT_INITIAL_STATS

# Print some timing stats
#DFLAGS += -DCPU_TIME

# Include FFT gravity
#DFLAGS += -DGRAVITY
#DFLAGS += -DPFFT
#DFLAGS += -DCUFFT
#DFLAGS += -DCOUPLE_GRAVITATIONAL_WORK
#DFLAGS += -DCOUPLE_DELTA_E_KINETIC
#DFLAGS += -DOUTPUT_POTENTIAL
#DFLAGS += -DGRAVITY_5_POINTS_GRADIENT

# Include Gravity From Particles PM
#DFLAGS += -DPARTICLES
#DFLAGS += -DPARTICLES_CPU
#DFLAGS += -DPARTICLES_GPU
#DFLAGS += -DONLY_PARTICLES
#DFLAGS += -DSINGLE_PARTICLE_MASS
#DFLAGS += -DPARTICLE_IDS

# Turn OpenMP on for CPU calculations
#DFLAGS += -DPARALLEL_OMP
#OMP_NUM_THREADS ?= 16
#DFLAGS += -DN_OMP_THREADS=$(OMP_NUM_THREADS)
#DFLAGS += -DPRINT_OMP_DOMAIN

# Cosmological simulation
#DFLAGS += -DCOSMOLOGY

# Use Grackle for cooling in cosmological simulations
#DFLAGS += -DCOOLING_GRACKLE

CC ?= cc
CXX ?= CC
CFLAGS += -g -Ofast
CXXFLAGS += -g -Ofast -std=c++14
CFLAGS += $(DFLAGS) -Isrc
CXXFLAGS += $(DFLAGS) -Isrc
GPUFLAGS += $(DFLAGS) -Isrc

ifeq ($(findstring -DPFFT,$(DFLAGS)),-DPFFT)
	CXXFLAGS += -I$(FFTW_ROOT)/include -I$(PFFT_ROOT)/include
	GPUFLAGS += -I$(FFTW_ROOT)/include -I$(PFFT_ROOT)/include
	LIBS += -L$(FFTW_ROOT)/lib -L$(PFFT_ROOT)/lib -lpfft -lfftw3_mpi -lfftw3
endif

ifeq ($(findstring -DCUFFT,$(DFLAGS)),-DCUFFT)
	LIBS += -lcufft
endif

ifeq ($(findstring -DHDF5,$(DFLAGS)),-DHDF5)
	CFLAGS += -I$(HDF5INCLUDE)
	CXXFLAGS += -I$(HDF5INCLUDE)
	GPUFLAGS += -I$(HDF5INCLUDE)
	LIBS += -L$(HDF5DIR) -lhdf5
endif

ifeq ($(findstring -DMPI_CHOLLA,$(DFLAGS)),-DMPI_CHOLLA)
	CC = mpicc
	CXX = mpicxx
	GPUFLAGS += -I$(MPI_HOME)/include
endif

ifeq ($(findstring -DCUDA,$(DFLAGS)),-DCUDA)
	GPUCXX := nvcc
	GPUFLAGS += --expt-extended-lambda -g -O3 -arch sm_80 -fmad=false
	LD := $(CXX)
	LDFLAGS := $(CXXFLAGS)
	LIBS += -L$(CUDA_DIR)/lib64 -lcudart
endif

ifeq ($(findstring -DCOOLING_GRACKLE,$(DFLAGS)),-DCOOLING_GRACKLE)
	DFLAGS += -DCONFIG_BFLOAT_8
	DFLAGS += -DOUTPUT_TEMPERATURE
	DFLAGS += -DOUTPUT_CHEMISTRY
	#DFLAGS += -DOUTPUT_ELECTRONS
	#DFLAGS += -DOUTPUT_FULL_IONIZATION
	#DFLAGS += -DOUTPUT_METALS
	DFLAGS += -DSCALAR
	DFLAGS += -DN_OMP_THREADS_GRACKLE=12
	CXXFLAGS += -I/ccs/proj/ast149/code/grackle/include
	LIBS += -L/ccs/proj/ast149/code/grackle/lib -lgrackle
endif

ifeq ($(findstring -DPARALLEL_OMP,$(DFLAGS)),-DPARALLEL_OMP)
	CXXFLAGS += -fopenmp
	LDFLAGS += -fopenmp
endif

.SUFFIXES: .c .cpp .cu .o

EXEC := cholla$(SUFFIX)

$(EXEC): $(OBJS) src/gpuCode.o
	$(LD) $(LDFLAGS) $(OBJS) src/gpuCode.o -o $(EXEC) $(LIBS)

%.o:	%.c
		$(CC) $(CFLAGS) -c $< -o $@

%.o:	%.cpp
		$(CXX) $(CXXFLAGS) -c $< -o $@

%.o:	%.cu
		$(GPUCXX) $(GPUFLAGS) --device-c -c $< -o $@

src/gpuCode.o:	$(CUOBJS)
		$(GPUCXX) -dlink $(GPUFLAGS) $(CUOBJS) -o src/gpuCode.o

.PHONY : clean

clean:
	 rm -f $(OBJS) src/gpuCode.o $(EXEC)

Input deck
#

# Parameter File for 3D Sod Shock tube

#

################################################

# number of grid cells in the x dimension

nx=640

# number of grid cells in the y dimension

ny=640

# number of grid cells in the z dimension

nz=640

# final output time

tout=0.2

# time interval for output

outstep=0.1

# name of initial conditions

init=Riemann

#init=Read_Grid

# domain properties

xmin=0.0

ymin=0.0

zmin=0.0

xlen=1.0

ylen=1.0

zlen=1.0

# type of boundary conditions

xl_bcnd=3

xu_bcnd=3

yl_bcnd=3

yu_bcnd=3

zl_bcnd=3

zu_bcnd=3

# path to output directory

outdir=./

#################################################

# Parameters for 1D Riemann problems

# density of left state

rho_l=1.0

# velocity of left state

v_l=0

# pressure of left state

P_l=1.0

# density of right state

rho_r=0.1

# velocity of right state

v_r=0

# pressure of right state

P_r=0.1

# location of initial discontinuity

diaph=0.5

# value of gamma

gamma=1.4

I am surprised it runs correctly on a single V100. That is a very large grid for a single GPU - there is probably not enough memory space to run it all at once, so it is getting split up and my best guess is that something is going wrong with the free memory calculation for the A100s. What is the global memory size for the A100's and V100's you are running on?

There is a function in "subgrid_routines_3D.cu" that checks for the amount of free memory available on the device and then determines the size of the sub-blocks to split the volume into for cases where the problem size is too big to fit in the GPU global memory. To my knowledge, this has not been tested on an A100, and it's possible it behaves differently than it did on the V100. If the sub-block size is too big, it could cause the kind of error you are seeing.

@evaneschneider In our runs A100 has 80 GB of memory and V100 has 16 GB.
Do you mean the function cudaMemGetInfo? I do not think it behaves differently between V100 and A100.

Yeah, that's the function. My guess is that if the code runs properly on 4 or 8 A100's but not 1 or 2, that probably means that on 4 the grid is no longer needs to be split up and everything works fine, but on 1 or 2 it should be, and perhaps something is going wrong. Assuming you are running in the main branch, you could try checking this by printing out the "sub grid dimensions" in the file VL_3D_cuda.cu (that is, uncomment line 51).

I marked with a label so that future users know this might be a useful thread to look at, closing as "not planned" for now, feel free to re-open if needed.


Build completions at runtime in actions

Codecov Report

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

@@           Coverage Diff           @@
##             main       #5   +/-   ##
=======================================
  Coverage        ?   32.97%
=======================================
  Files           ?        4
  Lines           ?       94
  Branches        ?        0
=======================================
  Hits            ?       31
  Misses          ?       63
  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 8a02ebf...ecbe735. Read the comment docs.


Carthage build fails with last release and master

Hey thanks for the awesome library. Using it in a tvOS game to support party style networking. Just wanted to drop you a line that building the tvOS target fails with carthage since code signing is disabled. Silly I know, but if you could fix this up in master I'm sure it would save others some time.

Currently, I don't know how fix this.

Hey @alexeyxo no worries. I'll submit a PR. Was lucky to get a dev kit.

@alexeyxo It's fixed on master with your latest changes. If you push a release it won't require specifying master in the Cartfile to work with tvOS.
Thanks!


kube-apiserver / kubelet RBAC

This is about Kubernetes 1.25.0
Folks - as recently as less than a year ago (I think) there was a document https://kubernetes.io/docs/reference/command-line-tools-reference/kubelet-authentication-authorization/. I know because I cited it in my source code in GitHub!
The doc talked about when manually bringing up a Kubernetes cluster - and the doc instructed you to generate a ClusterRole and associated binding for the API server:
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  annotations:
    rbac.authorization.kubernetes.io/autoupdate: "true"
  labels:
    kubernetes.io/bootstrapping: rbac-defaults
  name: system:kube-apiserver-to-kubelet
rules:
  - apiGroups:
      - ""
    resources:
      - nodes/proxy
      - nodes/stats
      - nodes/log
      - nodes/spec
      - nodes/metrics
    verbs:
      - "*"
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
  name: system:kube-apiserver
  namespace: ""
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: system:kube-apiserver-to-kubelet
subjects:
  - apiGroup: rbac.authorization.k8s.io
    kind: User
    name: kubernetes

If you didn't  do this, then when the cluster was up:
$ kubectl -n kube-system logs kube-apiserver-zzz
Error from server (Forbidden): Forbidden (user=kubernetes, verb=get, resource=nodes, subresource=proxy) ( pods/log kube-apiserver-doc)

Well - it seems to be the case today that this RBAC appears to still be needed. To correct the above error, apply the RBAC and instantly the log statement works.
Problem is - the aforementioned doc went away. Possibly, some new combo of kube-apiserver command-line options deprecated this? Anyway - if there is a new canonical way to configure kube-apiserver - can you please point me to it? Thank you.

Hi @aceeric
This page is moved under reference/access-authn-authz in v1.25 by this PR #33130
Here is the page: https://kubernetes.io/docs/reference/access-authn-authz/kubelet-authn-authz/

/kind support
/language en

I think we can close this as there's no issue reported as needing a fix and no feature request being made.

I think we can close this as there's no issue reported as needing a fix and no feature request being made.

I agree with you.

closing this issue.
/close


Incorrect DOM generated after erroneously-void element

JSoup appears to generate an incorrect DOM in response to the (erroneous) input
<body>
  <video autoplay="" id="remote" width="240"/>
  <script>
    ...
  </script>
</body>

(The "/" in the video tag should be ignored; it should be treated as a start tag to be closed later.)
Chrome and Firefox, validator.nu and AngleSharp all put the script element as a child of the video element. JSoup leaves video and script as siblings.

Thanks - this is the same as #917 and #1037. See notes on the latter in particular. We will need to implement the idea on that to be able to resolve this, I believe. Unless there are other ideas?

Feel free to close as a duplicate. I quite agree that what JSoup is doing seems eminently reasonable in the circumstances, but we are more concerned with interoperability and conformance than with usability.

I will leave it open as the closest #1037 is closed, and this description is clear.

(On review, closing as dupe of #917. I am thinking of addressing this by renovating how we hold properties in Tags, and allow configuration of self-closing / void tags. And then moving the HTML default back into spec.)


Managing a SQL/PG instance in Azure Arc shouldnt attempt to connect to it

Azure Data Studio Version:

Steps to Reproduce:
1.Connect to a DC
2. Right click a SQL instance and choose 'Manage'
Expected: Just see the dashboard
Actual: Dashboard comes up and a model connect panel comes up.
I dont want to connect necessarily.  I just want to "manage" the resource.  There should be a separate Connect button I can click to bring up the connection panel.

@twright-msft This is necessary in order to populate the databases table on the dashboard which was a feature requirement on the initial dashboard - to query the list of databases we need a connection to the SQL instance.
But I agree the experience isn't very nice and often times confusing. I have some ideas I'll float by the designers to see what they think.
This is likely to be a backlog issue though since we haven't heard many other complaints about it - if you think this warrants higher priority let me know.

I would make it optional to connect.  If the user connects, then we can add the databases, but it shouldnt be the default behavior.  Eventually we will be modeling databases as resources too so there might be other ways we can populate the list of DBs besides connect and query similar to how this is done in MI in PaaS.

If the purpose of coming to look at a SQL instance dashboard is to delete the instance or to look at the monitoring dashboard or something like that I dont necessarily want to take the time to login.

@twright-msft Not needing a SQL connection would be great if we could get there.

Reopening for ask mode


Nuget symbols

Looks like the step to package the nuget + symbols needs
/property:Configuration=Debug
set, which feels a bit weird, since we want to 'release', but it works..
see also: https://stackoverflow.com/questions/72133376/embedding-debugging-symbols-in-nuget-does-not-work

Codecov Report

Merging #32 (6937a9f) into main (9a4126f) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head 6937a9f differs from pull request most recent head 1a8f3bf. Consider uploading reports for the commit 1a8f3bf to get more accurate results

@@          Coverage Diff          @@
##            main     #32   +/-   ##
=====================================
  Coverage   8.54%   8.54%
=====================================
  Files         39      39
  Lines       5011    5011
=====================================
  Hits         428     428
  Misses      4583    4583

Flag
Coverage Δ

oasysgh
1.07% <ø> (ø)

unitnumber
7.62% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


DiscreteFourierTransform.mlx

MATLAB online (version 2023b update 7 reports an error at line 8 on call to soundsc(y,Fs)

I changed the value of Fs to 3e3 in helper function sineGaussData to clear the error.
There's been a change in soundsc since the Fourier-Analysis was late updated.
My hardware is a Mac running MacOS Sonoma (14.3.1)

On reflection, after reading the docs for soundsc, I realised that this might be a limitation introduced by my browser (Edge 122.0.2365.63). I will test with native MATLAB and report back.

On reflection, after reading the docs for soundsc, I realised that this might be a limitation introduced by my browser (Edge 122.0.2365.63). I will test with native MATLAB and report back.

On reflection, after reading the docs for soundsc, I realised that this might be a limitation introduced by my browser (Edge 122.0.2365.63). I will test with native MATLAB and report back.

Yes. I just confirmed it. 2 kHz is fine on desktop MATLAB but not on browser hosted MATLAB online.


feat: Airdrop proto files

Added proto files for the airdrop module

closes: https://github.com/ojo-network/ojo/issues/140

Codecov Report

Merging #147 (dca1402) into main (f6ee622) will not change coverage.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@           Coverage Diff           @@
##             main     #147   +/-   ##
=======================================
  Coverage   17.30%   17.30%
=======================================
  Files          41       41
  Lines       11323    11323
=======================================
  Hits         1959     1959
  Misses       9260     9260
  Partials      104      104

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Add tests (unit, Selenium)

We need to cover our code with tests because tests are extremely important especially for open source projects.

The main problem with Selenium is that it does not have access to extensions of the browser, only to web views. Seems like we need to use some GUI automation tools there.

It's good idea to test problematic websites, such as makuha.ru, http://extranjeros.mitramiss.gob.es/


loadFromFile() does not work, gives error "count(): Parameter must be an array or an object that implements Countable - failed. Retrying..."

loadFromFile() does not work, gives the following error:
count(): Parameter must be an array or an object that implements Countable - failed. Retrying...
Code:
$url = 'http://www.ask.com';
$html = new Dom();
$html->loadFromFile($url);
When you run these commands, the console shows the following error:
count(): Parameter must be an array or an object that implements Countable - failed. Retrying...
Also tried the following, with the same error in the console:
$url = 'http://www.ask.com';
$html = new Dom();
$html->load($url);
count(): Parameter must be an array or an object that implements Countable - failed. Retrying...

See https://github.com/paquettg/php-html-parser/pull/126#issuecomment-356625323


High RUs when query does not find document in collection and in Document Explorer in Portal

As I was reading/exercising as in this learning module...
https://docs.microsoft.com/en-us/learn/modules/monitor-and-scale-cosmos-db/8-index-exercise
Noticed few discrepancies,

What is expected of Indexing and actual behavior.
Document explorer in Portal shows different RUs than Command shell in Portal (running .net code to run queries)

Attached is full log of the learning module (monitor-and-scale-cosmos-db).
monitorscaledblog.txt
Main issue: When a document could be found in collection by using "WHERE" in SQL query, RUs are less (expected). But when a document could not be found (WHERE clause does not satisfy any document), RUs are very high.
Issue occurred when...
1.  When there was partial index policy set on the collection, but the attribute used in WHERE clause was not indexed.

c.Customer.State = 'WAX' does not exist in collection (RUs = 507.2).

prashant@Azure:~/mslearn-monitor-azure-cosmos-db/ExerciseCosmosDB$ dotnet run -- -c Orders -o QueryCollection -q "SELECT TOP 1 * FROM c WHERE c.Customer.State = 'WA'"
Starting experiment with 1 tasks @ 6/9/20 4:31:54 PM
Performed 0 Query operations @ 0 operations/s, 0 RU/s)
Performed 1 Query operations @ 0 operations/s, 1.4 RU/s)

-----------------------------------------------------------------
Performed 1 Query operations @ 0 operations/s, 1.4 RU/s)
Total (consumed 2.8 RUs in 2 seconds)
------------------------------------------------------------------
CosmosDB experiment complete

prashant@Azure:~/mslearn-monitor-azure-cosmos-db/ExerciseCosmosDB$ dotnet run -- -c Orders -o QueryCollection -q "SELECT TOP 1 * FROM c WHERE c.Customer.State = 'WAX'"
Starting experiment with 1 tasks @ 6/9/20 4:32:56 PM
Performed 1 Query operations @ 1 operations/s, 508.8 RU/s)

-----------------------------------------------------------------
** Performed 1 Query operations @ 1 operations/s, 507.2 RU/s) **
Total (consumed 507.7 RUs in 1 seconds)
------------------------------------------------------------------
CosmosDB experiment complete

3.

METRIC
VALUE
Request Charge
5.82 RUs
Showing Results
1 - 1
Retrieved document count
More information
2
Retrieved document size
More information
1919 bytes
Output document count
More information
2

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

ID: d3aeab4a-343d-b492-f9dc-a3233a117101
Version Independent ID: 075ccfaf-9b5c-aa6d-8a35-a57b4344773c
Content: Azure Cosmos DB indexing policies
Content Source: articles/cosmos-db/index-policy.md
Service: cosmos-db
GitHub Login: @timsander1
Microsoft Alias: tisande

@prashantma Thank you for the detailed feedback. We are actively investigating and will get back to you soon.

@prashantma Really appreciate the detailed information provided as part of the issue.
We have tried replicating the scenarios with the inputs provided but could not observe any discrepancies and in all the 3 scenarios, request units consumption match for both cases.
Could you please let us know few more details mentioned below:

Were you using the cosmos instance provisioned through the learn site to exercise this or were you using azure subscription to run through these examples?
Have you tried running the same queries multiple times or was it just once you observed the differences? In case you ran them just once, could you try them again.

You will need to follow the learning tutorial from start to finish.

I was using cosmos instance provisioned through the learn site to exercise this. The test data, code, resource templates are all provided by ms learning site.
I tried it multiple times...
a. if data exists in the collection and could be found, RU are less.
b. then I run the query for something that does not exist in collection, in that case RU are high.
c. then I do the query as in a. again with same result.
I saw same high RUs in case b, anytime a / b / c were repeated.

@AnuragSharma-MSFT I see you tested the steps. Not sure who is the point of contact for this module but doesn't the Learn team has a different form to report the feedback?
I get this link from the bottom of the module, does that create an issue in this repo? please redirect if there is a different way that the Learn team handles the issues.

Hi @AnuragSharma-MSFT, I'm the PM that owns indexing in Azure Cosmos DB. To address questions 1+2: If you don't index a property in your container and then run a query that filters on that property, it is expected that the RU charge will be high. The query engine had no index available so it had to load a lot of documents even though none of them actually ended up matching the query filter. To address question #3: the query charge will be the same regardless of where you run your query. If the query is a cross-partition query, the query's RU charge will increase as the number of physical partitions in the container increases (minimum 2-3 RUs per physical partition). This is described in more detail here: https://docs.microsoft.com/en-us/azure/cosmos-db/how-to-query-container. You can check the number of physical partitions in your container using these steps: https://docs.microsoft.com/en-us/azure/cosmos-db/how-to-query-container

Thanks Tim.
Regarding #1-2, will db engine attempt to use data already read from collection and available in memory, knowing nothing has changed in DB, everything that is in container is in memory...and then RUs will be less when same query is run again and again, compared to running the query first/later times, which will require read from storage.
Regarding #3, exactly same query on same collection/data was run in DB explorer in Azure portal, and .net app. But DB explorer showed higher RUs.

Regarding #1-#2, the optimizing you are describing does not exist in Azure Cosmos DB. If you run the same query on the same container over and over again, the RU charge will always be the same. In this case, you'd want to create indexes (you can index as many properties as you'd like).
Regarding #3: This is unexpected behavior. Could you confirm that you ran the query one after another? If the number of physical partitions didn't change (could change if provisioned RU amount was increased or more data was loaded), the query RU charge will always be the same. It's all the same query engine on the backend so the method in which you run the query (SDK choice, Portal, Azure command shell  has no impact on the RU charge (assuming the query itself is the same).


Multi-line JSON not properly unescaped

Hey, we noticed what we believe is a breaking change introduced in 1.3.0+ versions of knex-schema-inspector originating from https://github.com/knex/knex-schema-inspector/commit/b5cdeae8df2647e91cfe570f6be04da8e0e17e0e which refactored parseDefaultValue. Previously, it correctly handled multi-line JSON but after the refactor, newlines are not properly matched and multi-line json causes Directus to crash with the following error:
17:05:04 🚨 Unexpected token ' in JSON at position 0
SyntaxError: Unexpected token ' in JSON at position 0
    at JSON.parse (<anonymous>)
    at Object.parseDefaultValue (/Users/glen/Git/divvit/api/node_modules/knex-schema-inspector/dist/dialects/postgres.js:77:21)
    at _loop_1 (/Users/glen/Git/divvit/api/node_modules/@directus/schema/dist/dialects/postgres.js:115:50)
    at Postgres.<anonymous> (/Users/glen/Git/divvit/api/node_modules/@directus/schema/dist/dialects/postgres.js:119:29)
    at step (/Users/glen/Git/divvit/api/node_modules/@directus/schema/dist/dialects/postgres.js:78:23)
    at Object.next (/Users/glen/Git/divvit/api/node_modules/@directus/schema/dist/dialects/postgres.js:59:53)
    at fulfilled (/Users/glen/Git/divvit/api/node_modules/@directus/schema/dist/dialects/postgres.js:50:58)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)

The cause for this is related to a refactor of parseDefaultValue which changed checks from using startsWith and endsWith to a regex which doesn't properly handle multi-lines.
BEFORE (worked properly):
if (value.startsWith("'") && value.endsWith("'")) {
  value = value.slice(1, -1);
}

AFTER https://github.com/knex/knex-schema-inspector/commit/b5cdeae8df2647e91cfe570f6be04da8e0e17e0e:
value = value.replace(/^\'(.*)\'$/, '$1');

To fix, the regex can be modified to use \s\S instead of .
value = value.replace(/^\'([\s\S]*)\'$/, '$1');

We first noticed this issue about a month ago but used older pre-built Docker images where the knex-schema-inspector dependency was still 1.2.2. Directus depends on knex-schema-inspector but it is not hard pinned so minors are pulled in. We are fairly certain versions 1.3.0+ have this breaking change.
We found the cause of this issue by printing values from parseDefaultValue and the last to print before erroring out was a json value that still had single quotes ' around it (see below). Running this through JSON.parse will of course fail. When we dug into the code and found the regex we noticed this formatted json string (with newlines) never matched properly. More digging and we stumbled on the old code which used startsWith and endsWith and it all started to make sense.
'[
    {
        "amount": "60",
        "label": "Min",
        "value": 6000
    },
    {
        "amount": "75",
        "label": "Average",
        "value": 7500,
        "default": true
    }
]'
17:05:04 🚨 Unexpected token ' in JSON at position 0
SyntaxError: Unexpected token ' in JSON at position 0
    at JSON.parse (<anonymous>)
    at Object.parseDefaultValue (/Users/glen/Git/divvit/api/node_modules/knex-schema-inspector/dist/dialects/postgres.js:77:21)
    at _loop_1 (/Users/glen/Git/divvit/api/node_modules/@directus/schema/dist/dialects/postgres.js:115:50)
    at Postgres.<anonymous> (/Users/glen/Git/divvit/api/node_modules/@directus/schema/dist/dialects/postgres.js:119:29)
    at step (/Users/glen/Git/divvit/api/node_modules/@directus/schema/dist/dialects/postgres.js:78:23)
    at Object.next (/Users/glen/Git/divvit/api/node_modules/@directus/schema/dist/dialects/postgres.js:59:53)
    at fulfilled (/Users/glen/Git/divvit/api/node_modules/@directus/schema/dist/dialects/postgres.js:50:58)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)

Directus depends on knex-schema-inspector but it is not hard pinned so minors are pulled in.

FWIW, Directus now has every dependency pinned to the exact versions, so this problem doesn't occur anymore in later versions 👍🏻

@rijkvanzanten Would you like me to submit a PR? I'm happy to do that

Yes please!

Would you like me to use the regex or switch back to the endsWith and startsWith?

Lets use the updated regex 👍🏻
(cc @aidenfoxx)

@rijkvanzanten I think you meant to ping @Oreilles who introduced the code. I'm not familiar enough with what it's trying to accomplish to say if the regex covers all bases.

Ah yeah, my bad! (doing too many things at once 😓)

Hey guys, I just tried checking out the v1.3.0 tag and it has the old (working) code. I then tried v1.4.0 and it was also the old code. Is it possible there's a mismatch between GH tags and NPM versions? The v1.5.0 tag had the new buggy regex.

Looking at the code, if it's just supposed to trim single quotes at the start and end, then the updated regex looks fine to me. 👍

\s\S is nearly identical to . except that it also includes newline chars

Is it possible there's a mismatch between GH tags and NPM versions?

We push out releases/tags using npm version <major | minor | patch> so that should be in sync. Always a chance something went sideways tho

Just opened a PR. Let me know if you would like test coverage or any changes. Thanks!

Perfect, thank you! Like you said in the PR, I don't think there's tests yet for the default value JSON parsing. It would be really useful to add those if you have the time 🙂


Guide for dummies

Hi!
As I got some good help from users here I decided try to help others coming after me. I got it to work for 30 and 10- series (Don't have a 20-card ut would expect it works for it) but there are challenges to get everything right.

Install the latest Nvidia drivers.
Install Nvidia CUDA toolkit 11.0 (The exact version is required. This might change so check the first page for the version)
Download and install Nvidia cuDNN. Check the first page for the exact version.
Copy the DLL files from the zip file in step 3 to your output directory. cudnn64_8.dll INCLUDING  the other DLLs in the same directory.
Copy opencv_world452.dll (see first page for exact version) to the output directory.
Use the yolo_cpp_dll_gpu.dll  in https://github.com/zgabi/Yolo.Net/tree/master/lib/Cuda11
User the yolo_cpp_dll_cpu.dll in https://github.com/zgabi/Yolo.Net/tree/master/lib/Cuda10

Make sure you have all the DLLs in the output directory:

CuDNN files (cudnn64_8.dll + the extra in the same directory)
opencv_world452.dll
yolo_cpp_dll_gpu
yolo_cpp_dll_cpu
The  other required DLLs (see first page) pthreadGC2.dll, pthreadVC2.dll , msvcr100.dll

For me I had to have the yolo_cpp_dll_gpu, yolo_cpp_dll_cpu and cudnn64_8.dll in  both the output directory AND a sub directory called dll.

could you please create an markdown (md) file with this information, and link it in the readme.md?
https://github.com/zgabi/Yolo.Net/blob/master/README.md

I can try it, will take me some days because of Easter but will do! Thank you for your work with the library!

Hello
I tried all the procedure as you suggested. I have a RTX3060 gpu.
I used the dll from lib/Cuda11.0/yolo_cpp_dll_gpu.dll
I get Alturos.Yolo.YoloInitializeException: 'cuDNN not found'
I have all the cudnn(8.0.5) dll files in output directory and also the yolo_cpp_dll_gpu.dll is there
Please help. It's bit urgent..
Thanks

Hi
You need to use the exact right version of cuda and cudnn.

Hi
Thanks fpr the reply
Only in CUDA 11.1 RTX 30 series is supported.
https://developer.nvidia.com/blog/cuda-11-1-introduces-support-rtx-30-series/
Also there are no drivers for my card until CUDA 11.4, that's why I used higher versions.
Is it possible to use a separate driver (like >  472) with CUDA toolkit 11.0 and respective cudnn ?

Can anyone please provide a step by step guide to build darknet and yolo.net so i can use it with my card? I am really in a urgent need.

I am running 11.0 with RTX 3050 card without problems so I don't think you need 11.1 for your card.

What error du you get?

Sorry for the delay
I was doing some more tests.
The error I am getting is "cuDNN not found"

HI!
If you got the errror cuDNN not found it means that the DLLs are not in the right folder. I guess that you have mixed up x86 or x64 versions? I am running mine in x64.
Make sure you have the DLLs in the right output folder (step 4 in my guide). That is why you got the error. The check is really basic as it is only looking if the file exist.
System.BadImageFormatException is usually an indication of that you mixing x64 och x86 bad. Make sure you use x64 for all your projects and that the DLL are in the RIGHT output folder (the x64 one).
Christian

Hi
I tried all the things I could but could not get it to work.
can you please send a test email to sandipmishra1981 at gmail dot com ?
I will share a vnc link so you can have a look at the system
Thanks for all the attention


Properly do turn costs update

Add a new method to TurnCostExtension which enables users to define their preferred merge strategy (overwrite vs. bitwise OR vs. …). These changes require JDK 8.
#1107

Would you mind to do this tiny change so that we can include it in 0.10 release (hope to get some initial version out in the next days)

Thanks for the change!
Why should keep checkExistingEntries==false as you said the import was similarly fast? If is is false (per default) it would not fix #1107 and if it is always true we can remove it from the method.

@karussell wrote:

Why should keep the option checkExistingEntries==false as you said the import was similarly fast?

It was a rough test and variation was within the measurement accuracy after two or three iterations.

If this parameter is false (per default) it would not fix #1107 and if it is always true we can remove it from the method.

#1107 is caused by a lack of documentation. If a user of the library does not have a look on the actual implementation, he might think that addTurnInfo will look for existing entries. I tried to keep this behaviour to be fully backwards-compatible but added an alternative to ease the usage of the library. I myself can use Graphhopper 0.9 because I found a simple way to mitigate this problem (switch to for loops – the loop over the nodes is now the outer one and the inner one iterates over the encoders).
Do with the pull request what you want. Git gives you the ability to pick out of this branch what you are interested in. I offered you a patch with unit tests and documentation and I am tired to continue this discussion.

he might think that addTurnInfo will look for existing entries

We should look for existing entries. This is no documentation issue IMO, there should be no feature "add without looking for existing entries" - at least I do not see why.

I tried to keep this behaviour to be fully backwards-compatible

why?

I offered you a patch with unit tests and documentation and I am tired to continue this discussion.

Oh, wow. I really appreciate your work and time but this is a bit disturbing to me. Open source lives from these discussion! Do you think I'm doing this for wasting your time?

I will merge this: https://github.com/graphhopper/graphhopper/commit/bc91215a0b3314482b7dda310f703c84f20d6d36
Please @Nakaner let me know if you are ok with this. I also added the possibility to clear a certain turn information with the new method.

I am ok with that.

Thanks again for your contribution - merged now!


TMVar

Codecov Report

Merging #55 (4ed84c3) into main (463eed7) will decrease coverage by 0.15%.
The diff coverage is 48.38%.

:exclamation: Current head 4ed84c3 differs from pull request most recent head 68be528. Consider uploading reports for the commit 68be528 to get more accurate results

@@            Coverage Diff             @@
##             main      #55      +/-   ##
==========================================
- Coverage   64.19%   64.04%   -0.16%
==========================================
  Files           2        2
  Lines        1402     1435      +33
  Branches      494      509      +15
==========================================
+ Hits          900      919      +19
+ Misses         57       55       -2
- Partials      445      461      +16

Impacted Files
Coverage Δ

include/concurrent.h
47.87% <48.38%> (+0.47%)
:arrow_up:

include/hspp.h
72.50% <0.00%> (+0.10%)
:arrow_up:

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 463eed7...68be528. Read the comment docs.


packaging a version that doesn't need nightly

I am trying to package hunter for nixos https://github.com/NixOS/nixpkgs/issues/83554.
1.3.5 requires rust nightly which makes it harder to merge. Is there an older version that would work with a standard rust ? or a future release that could work with standard rust ?

That's been on the radar for quite a while, but I used some nightly features quite liberally during initial development, especially the Option::None -> Result::Err(NoneError) conversion comes up a lot. I guess it might be easy to automate most of it making this easier than I initially thought.
It's definitely on my TODO list.

Any news on this?
Why was #91 not merged?

Why was #91 not merged?

Because the PR included lots of formatting changes too
I'll try copy the changes to current master without the formatting

project seems abandoned and I stopped using it. Cleaning up my issue tracker.


Update dependencies

@Diaan I noticed that chromatic/package.json includes eslint & @typescript-eslint, but I don't see it used anywhere. Are those packages necessary?

@Diaan I noticed that chromatic/package.json includes eslint & @typescript-eslint, but I don't see it used anywhere. Are those packages necessary?

I haven't looked at everything the chromatic install added very critically, so if you say they can be removed I'm ok with that. (assuming it still works after 😉 )


Unable to scrobble or authenticate

Console shows:
foo_scrobble: Requesting auth token foo_scrobble: Failed to get auth token (error: 8, Something else went wrong.)
Tell me if there's additional information I can provide

After a restart this was resolved.
Sorry


Dummy PR for diagnosing Hydra/CI issues

Pre-submit checklist:

Branch

[ ] Tests are provided (if possible)
[ ] Commit sequence broadly makes sense
[ ] Key commits have useful messages
[ ] Relevant tickets are mentioned in commit messages
[ ] Formatting, materialized Nix files, PNG optimization, etc. are updated

PR

[ ] Self-reviewed the diff
[ ] Useful pull request description
[ ] Reviewer requested

:sob:

@jhbertra, this was a trivial change to main just to see if main still passed the tests. I created this branch so I could force push and not disturb anything else.


Added section Email and django-email-editor

Thank you for your contribution! We will let this one bake for a while. We don't have a set rule for packages that need over > starts for consideration, but we do like to see a longer update history so that packages aren't stale over after a few months.
That said, django-email-editor looks really useful so I'll leave this open and we can revisit over the next month or so.

@jefftriplett I'm very thankful for your consideration. Sounds fair to me.
With a little publicity, I hoped for some contribution to that repo, because I'm basically a beginner in the sense of publishing github repos.
I will keep my focus on updates! :+1:


Max instance lifetime

what

add max_instance_lifetime

why
From #70

Having this would be helpful as a backstop for the in-cluster node replacement options with cluster-autoscaler / node-problem-detector / Draino to ensure that a node is replaced even if all else fails.

references

Closes #70

/test all

/test all

/test all
Previous test failed due to problem with test workflow


create table charts from elasticsearch

How to reproduce the bug

create a new chart choose dataset elasticsearch data"filebeat-6.8.3-2022.03.02"
---elasticsearch version:7.10.1
check "server pagination" option selected
click "run" to view the table
click page 2 is error

Expected results
the table show next page
Actual results
therre is error code put out
Screenshots
Unexpected error
Error: Error (parsing_exception): {'error': {'root_cause': [{'type': 'parsing_exception', 'reason': "line 4:1: mismatched input 'OFFSET' expecting "}], 'type': 'parsing_exception', 'reason': "line 4:1: mismatched input 'OFFSET' expecting ", 'caused_by': {'type': 'input_mismatch_exception', 'reason': None}}, 'status': 400}
Environment
(please complete the following information):

browser type and version: Firefox 79
superset version: 1.4.1
python version: 3.7
elasticsearch version:7.10.1

Hi @loongWoong, I am just running Elasticsearch 7.17.0 on a development server. Could you tell me how to get filebeat-6.8.3-2022.03.02 for testing?

Hi @loongWoong, I am just running Elasticsearch 7.17.0 on a development server with standalone mode. Could you tell me how to get filebeat-6.8.3-2022.03.02 for testing?

it's the log data collect from filebeat-6.8.3 . I guess if the elasticsearch 7.10.1 version is not supported. I can't find the supported version description on the official website

@loongWoong Does this problem exist in any table of Elasticsearch?

Closing this one since it seems to have gone inactive for nearly a year. If this is still an issue in Current Superset with supported versions of Elasticsearch, let's re-open it, and add updated context. Thanks!


Error when saving dojo lead on champion registration form

{"statusCode":400,"error":"Bad Request","message":"child \"dojoLead\" fails because [child \"application\" fails because [child \"championDetails\" fails because [child \"coderDojoReferenceOther\" fails because [\"coderDojoReferenceOther\" is not allowed to be empty]]]]","validation":{"source":"payload","keys":["dojoLead.application.championDetails.coderDojoReferenceOther"]}}

When the last field is not filled in there is not a validation error showing on the page.

Hard refresh fixed it for him, assume it was a cached file from December when we had issues.


pytctrl backtracking is non-idempotent

The below program backtracks and prints the identical token-string 6 times from the same label, followed by generating text using gen_text().
I expect it to generate the same text every time, but it does not. The responses are often quite different from each other.
The log from a run is attached log.log.
I ran the script using aici run aici_sample.py
Distinct runs seem to give the same sequence of outputs from the gen_text(). So maybe this doesn't have to do with a random value sneaking in per run.
This run was on mixtral.
import pyaici.server as aici

RULE_NAME = 'C123'

prompt_pfx=f'''
You are classifying whether an incoming message matches the {RULE_NAME} rule definition below.

Given a message description of the form "message: <message content>", please print "response: Matches {RULE_NAME}" if the rule matches the message and "response: Does not match {RULE_NAME}" otherwise. On the next line, print "reason: <reason for the response>". Finally, on the next line, print "Message End".

* {RULE_NAME} rule definition:

Message is addressed at a  group (not just an individual) ("Group Targeting")

'''

messages =[
    'he deserves that',
    'he deserves that',
    'he deserves that',
    'he deserves that',
    'he deserves that',
    'he deserves that',
]

# aici pyctrl instructions
# https://github.com/microsoft/aici/tree/main/controllers/pyctrl
async def main():
    await aici.FixedTokens(prompt_pfx)
    plabel = aici.Label()

    aici.set_var(f'prompt', prompt_pfx)

    # generate a response for the same message N times from the same label
    for msgidx, message in enumerate(messages):
        aici.set_var(f'message_{msgidx}', message)
        await aici.FixedTokens(f'message: {message}', following=plabel)
        await aici.gen_text(
            stop_at='Message End', store_var=f'res_{msgidx}')

result = aici.start(main())

It looks like it's only a problem with the llama.cpp backend (when using orca deployment it seems deterministic). Need to look into llama.cpp sampling I guess...

It looks like it's only a problem with the llama.cpp backend (when using orca deployment it seems deterministic). Need to look into llama.cpp sampling I guess...

Good to know that orca works. Given that llama is so widely used, it will be good to take care of llama as well, I guess.


npm i --production would install roadtrip

what for?

roadtrip is a dependency that's actually needed at the runtime. All other dependencies are used at development time and then get compiled.


Dynamic form: Multiline Text Column (with Append changes) not showing comment history

I have a requirement where in I am using Multiline Text Column with Append changes in my dynamic form. But the dynamic form is not showing the comment history for the Multiline Text Column which is expected behavior.
Category
[ ] Enhancement
[x] Bug
[ ] Question
Version
3.14.0
Expected / Desired Behavior / Question
Multiline Text Column ( with Append changes) should show the comment history under the text field.
Observed Behavior
Multiline Text Column is just showing the multiline text field and not the previous comments
Thanks!

Hi @tripathiaman,
Can you be more specific about what you need? Do you have screens to provide?


Add setup-envtest in Makefile

Use setup-envtest for installing the binaries required for using
envtest.
The latest envtest binaries for k8s v1.21.2 are not compatible with
kubebuilder < v3, which results in envtest suite test tear down
failure. envtest fails to stop the kube-apiserver.
timeout waiting for process kube-apiserver to stop

Pin to k8s v1.19.2 envtest binaries that work with kubebuilder v2.

I've added a local github action for envtest to avoid installing go on the host for installing setup-envtest (GOROOT from the host is passed on to the run-test container and the builds in the container fails because the GOROOT passed from host doesn't exist inside the container). This will be moved to the pkg repo.
Observed some weird build failures due to the cached build files populated during setup-envtest install. Example of the build failure logs can be found here https://github.com/fluxcd/source-controller/pull/404/checks?check_run_id=3206245478#step:7:256.
Pasting a some log lines below for future reference(the github actions logs will get deleted after a few months):

go: creating new go.mod: module tmp
go get: added sigs.k8s.io/controller-tools v0.5.0
cd api; /github/home/go/bin/controller-gen object:headerFile="../hack/boilerplate.go.txt" paths="./..."
-: go build internal/unsafeheader: loading compiled Go files from cache: reading srcfiles list: cache entry not found: open /github/home/.cache/go-build/32/322c1475077dbb3e3f149e186e0358a72016917dda03d9910e1abe3663d9ca04-a: no such file or directory
go build runtime/internal/atomic: loading compiled Go files from cache: reading srcfiles list: cache entry not found: open /github/home/.cache/go-build/bc/bcb9b2083df4553336339c1815cdfa18452f134067b1bd07acd1af3728d3e75c-a: no such file or directory
go build runtime/internal/sys: loading compiled Go files from cache: reading srcfiles list: cache entry not found: open /github/home/.cache/go-build/0a/0a4477cefe4c3522430b00940f0feb4ab86b0ac8c1fbb5bd17f7ff2656d5378d-a: no such file or directory
go build math/bits: loading compiled Go files from cache: reading srcfiles list: cache entry not found: open /github/home/.cache/go-build/d6/d681605cd480d72bfde50daf8de9b94205937f387746ac37eff39926be19b412-a: no such file or directory
go build unicode/utf8: loading compiled Go files from cache: reading srcfiles list: cache entry not found: open /github/home/.cache/go-build/5a/5ae44ff5b0dfd5092df2fc8641b04ad517b22012d699186e623dd84974ee1906-a: no such file or directory
go build internal/race: loading compiled Go files from cache: reading srcfiles list: cache entry not found: open /github/home/.cache/go-build/21/21204b9a9044eb2a686dfceb86034e5d753ab9105badb6f68c22358ee50bc236-a: no such file or directory
go build sync/atomic: loading compiled Go files from cache: reading srcfiles list: cache entry not found: open /github/home/.cache/go-build/2b/2ba2f289dec5650e6b5b4a6ffbc468be7e3d5aa6126a5abec1d33bc1880b2d42-a: no such file or directory
go build unicode: loading compiled Go files from cache: reading srcfiles list: cache entry not found: open /github/home/.cache/go-build/2e/2e4643207fcfbb3eb71a486abe55c0be4b140a44619554bc6d3b8413b2854609-a: no such file or directory
go build encoding: loading compiled Go files from cache: reading srcfiles list: cache entry not found: open /github/home/.cache/go-build/9b/9ba6ed76bb4a3c72b7d20f738df06c561d0b5851eb2c541c0f4a177c97bb65a8-a: no such file or directory
go build unicode/utf16: loading compiled Go files from cache: reading srcfiles list: cache entry not found: open /github/home/.cache/go-build/3a/3a210046015812087dc3ba9aa6b94b8dba3db0e9cce74fdb7426904bbab93c3c-a: no such file or directory
go build k8s.io/apimachinery/pkg/selection: loading compiled Go files from cache: reading srcfiles list: cache entry not found: open /github/home/.cache/go-build/5d/5dd2b10e90116d63cb703679741c0f45b36825521836d72a42b12ed0030a6a16-a: no such file or directory
go build github.com/google/go-cmp/cmp/internal/flags: loading compiled Go files from cache: reading srcfiles list: cache entry not found: open /github/home/.cache/go-build/8d/8d02e0eac337c439bac8d5a15b786dd122ff2b3603a03be16894144bf11cebbc-a: no such file or directory
go build internal/nettrace: loading compiled Go files from cache: reading srcfiles list: cache entry not found: open /github/home/.cache/go-build/25/255a069585d6033a295b8c4d07f3e064a1d3bbec510cfe78eb914d53523ede41-a: no such file or directory
go build internal/cpu: loading compiled Go files from cache: reading srcfiles list: cache entry not found: open /github/home/.cache/go-build/53/5354e9041207a1bfa5bc2e1f3293695eec315fd91708b5ffac90f80dcfed1594-a: no such file or directory
go build container/list: loading compiled Go files from cache: reading srcfiles list: cache entry not found: open /github/home/.cache/go-build/fd/fd12ac769da13df49f0202488b6b9962826a51d3fdf38be29efd70f440da6f94-a: no such file or directory
go build crypto/internal/subtle: loading compiled Go files from cache: reading srcfiles list: cache entry not found: open /github/home/.cache/go-build/f9/f90ccd3ff003c82b45bb3a96f1f67aef825d0a2ed33931e58cb8e447a6376424-a: no such file or directory
go build crypto/subtle: loading compiled Go files from cache: reading srcfiles list: cache entry not found: open /github/home/.cache/go-build/bb/bbe666d2773635afcfb138458060bda6ec9e79dcd9eac266247d81a24fb6da5a-a: no such file or directory
go build vendor/golang.org/x/crypto/cryptobyte/asn1: loading compiled Go files from cache: reading srcfiles list: cache entry not found: open /github/home/.cache/go-build/12/12836403574948506e35e893abf19a9e105b824030a0165b96f57bb213edbf29-a: no such file or directory
go build vendor/golang.org/x/crypto/internal/subtle: loading compiled Go files from cache: reading srcfiles list: cache entry not found: open /github/home/.cache/go-build/7b/7bc37a84c61287ab8d9481f8c770a5f0652f1adf4b0914bae8621c33500c1316-a: no such file or directory
go build k8s.io/apimachinery/pkg/types: loading compiled Go files from cache: reading srcfiles list: cache entry not found: open /github/home/.cache/go-build/b2/b2b76e52be31a92c3cc8ccf1af6b91061104f578473462bb2d245d15c0105520-a: no such file or directory
go build runtime/cgo: loading compiled Go files from cache: reading srcfiles list: cache entry not found: open /github/home/.cache/go-build/4b/4b3cf5cfa10e9b0116674cfcf5d43e9687d01359858b063815ae23d09e960345-a: no such file or directory
Error: not all generators ran successfully
run `controller-gen object:headerFile=../hack/boilerplate.go.txt paths=./... -w` to see all available markers, or `controller-gen object:headerFile=../hack/boilerplate.go.txt paths=./... -h` for usage
make: *** [Makefile:77: generate] Error 1

A workaround for this was to clean /github/home/.cache at the end of the action.
More details about the changes are in the commit messages.

Created https://github.com/fluxcd/pkg/pull/138 to update the action in fluxcd/pkg. In fluxcd/pkg, since the tests are run on host, it uncovered an issue with the KUBEBUILDER_ASSETS value, which was being set as $GITHUB_WORKSPACE/<repo-dir>/envtest. This works inside a container only. Using $RUNNER_WORKSPACE/<repo-dir>/envtest works on host and inside a container.
Once the envtest action in fluxcd/pkg is merged, I'll update this PR to use that and remove the local action.

Updated to use fluxcd/pkg/actions/envtest :slightly_smiling_face:


chore: move datastore to devDep for types & security pkg updates

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Codecov Report

Merging #539 (05c5516) into main (be36527) will increase coverage by 0.00%.
The diff coverage is 100.00%.

:exclamation: Current head 05c5516 differs from pull request most recent head 0725f51. Consider uploading reports for the commit 0725f51 to get more accurate results

@@           Coverage Diff           @@
##             main     #539   +/-   ##
=======================================
  Coverage   88.68%   88.68%
=======================================
  Files          68       68
  Lines        2527     2528    +1
  Branches      731      732    +1
=======================================
+ Hits         2241     2242    +1
  Misses        277      277
  Partials        9        9

Impacted Files
Coverage Δ

packages/codegen-ui/lib/generic-from-datastore.ts
98.30% <ø> (ø)

.../lib/generate-form-definition/form-to-component.ts
82.14% <100.00%> (+0.66%)
:arrow_up:

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 f718887...0725f51. Read the comment docs.


Introduction missing for jQuery section (Beta site)

Section Name

Beta site jQuery section
Issue Description

The jQuery section needs a landing page with introductory text to start the section. It should go in the slide format (challenge type 7) at the front of the section and give a high-level overview of what jQuery is.

Hello, I'd like to take on this issue.
Kindly guide me

@saqibnaveed please first read the contributing guidelines before taking care of this issue. And feel free to visit the Contributors Help chat room if you have any questions about helping. We're there to help.

@erictleung Okay thank you :)


AttributeError: 'str' object has no attribute 'copy'

Describe the bug
Error: AttributeError: 'str' object has no attribute 'copy'
To Reproduce
Steps to reproduce the behavior:

Go to directory
Run python pwnxss.py -u https://mysite

Screenshots
██████╗ ██╗    ██╗███╗   ██╗██╗  ██╗███████╗███████╗
██╔══██╗██║    ██║████╗  ██║╚██╗██╔╝██╔════╝██╔════╝
██████╔╝██║ █╗ ██║██╔██╗ ██║ ╚███╔╝ ███████╗███████╗ {v0.5 Final}
██╔═══╝ ██║███╗██║██║╚██╗██║ ██╔██╗ ╚════██║╚════██║
██║     ╚███╔███╔╝██║ ╚████║██╔╝ ██╗███████║███████║
╚═╝      ╚══╝╚══╝ ╚═╝  ╚═══╝╚═╝  ╚═╝╚══════╝╚══════╝
<<<<<<< STARTING >>>>>>>

[10:38:31] [INFO] Starting PwnXSS...
***************
[10:38:31] [INFO] Checking connection to: https://webdemo.cloud.invgate.net
[10:38:32] [INFO] Connection estabilished 200
[10:38:32] [WARNING] Target have form with POST method: https://webdemo.cloud.invgate.net/auth/login/type/dummy
[10:38:32] [INFO] Collecting form input key.....
[10:38:32] [INFO] Internal error: 'name'
[10:38:32] [INFO] Form key name: next value: <script>console.log(5000/3000)</script>
[10:38:32] [INFO] Sending payload (POST) method...
[10:38:33] [INFO] Parameter page using (POST) payloads but not 100% yet...
[10:38:33] [WARNING] Target have form with POST method: https://webdemo.cloud.invgate.net/auth/login/type/servicedesk
[10:38:33] [INFO] Collecting form input key.....
[10:38:33] [INFO] Form key name: value value: <script>console.log(5000/3000)</script>
[10:38:33] [INFO] Form key name: password value: <script>console.log(5000/3000)</script>
[10:38:33] [INFO] Internal error: 'name'
[10:38:33] [INFO] Form key name: next value: <script>console.log(5000/3000)</script>
[10:38:33] [INFO] Form key name: CSRFToken value: <script>console.log(5000/3000)</script>
[10:38:33] [INFO] Sending payload (POST) method...
[10:38:33] [INFO] Parameter page using (POST) payloads but not 100% yet...
***************
[10:38:35] [INFO] Checking connection to: https://webdemo.cloud.invgate.net/password-reset/trigger
[10:38:36] [INFO] Connection estabilished 200
[10:38:36] [WARNING] Target have form with POST method: https://webdemo.cloud.invgate.net/password-reset/trigger
[10:38:36] [INFO] Collecting form input key.....
[10:38:36] [INFO] Form key name: email value: <script>prompt(5000/200)</script>
[10:38:36] [INFO] Form key name: submit value: <Submit Confirm>
[10:38:36] [INFO] Form key name: CSRFToken value: <script>prompt(5000/200)</script>
[10:38:36] [INFO] Sending payload (POST) method...
[10:38:36] [INFO] Parameter page using (POST) payloads but not 100% yet...
Traceback (most recent call last):
  File "/Users/faguirre/Desktop/PwnXSS/pwnxss.py", line 73, in <module>
    start()
  File "/Users/faguirre/Desktop/PwnXSS/pwnxss.py", line 54, in start
    crawler.crawl(getopt.u,int(getopt.depth),getopt.proxy,getopt.user_agent,check(getopt),getopt.method,getopt.cookie)
  File "/Users/faguirre/Desktop/PwnXSS/lib/crawler/crawler.py", line 52, in crawl
    self.crawl(url,depth-1,base,proxy,level,method,cookie)
  File "/Users/faguirre/Desktop/PwnXSS/lib/crawler/crawler.py", line 44, in crawl
    urls=self.getLinks(base,proxy,headers,cookie)
  File "/Users/faguirre/Desktop/PwnXSS/lib/crawler/crawler.py", line 19, in getLinks
    text=conn.get(base).text
  File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 555, in get
    return self.request('GET', url, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 636, in send
    kwargs.setdefault('proxies', self.rebuild_proxies(request, self.proxies))
  File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 289, in rebuild_proxies
    new_proxies = proxies.copy()
AttributeError: 'str' object has no attribute 'copy'

Desktop (please complete the following information):

Mac OS 11.5.2
Python 3.8

same error on python3.7

I had this issue and fixed it by switching my request version. Try pip install requests==2.24.0.

Same error on W10, Python 3.9/3.10

File "D:\sirpi2\Replex\rate_limiter.venv\lib\site-packages\fastapi\routing.py", line 921, in decorator
self.add_api_route(
File "D:\sirpi2\Replex\rate_limiter.venv\lib\site-packages\fastapi\routing.py", line 848, in add_api_route
current_tags = self.tags.copy()
AttributeError: 'str' object has no attribute 'copy'

i'm getting this error because in APIRouter i have pass string
when i pass list is working

Yes correcting this removes the error. thx :)


Implement MVP of TransitionDirector

Spec: https://material-motion.gitbooks.io/material-motion-starmap/content/specifications/transition_director.html

Related: http://codereview.cc/D1301


recreate SpinupStability script

This is a good example of an NCL script that would be helpful to transfer over the a jupyter notebook. @olyson, is there a newer version of this around?
/glade/u/home/wwieder/NCL_code/SpinupStability_v7.ncl

/glade/p/cgd/tss/CLM50_data_tools/SpinupStability_v9.ncl


DEVOPS-424-kolga-build-failure

Description
Issues
Closes
DEV-XXX:
Related
Testing
Automated tests
Manual testing
Screenshots
Additional notes

Kolga is fixed, close pr without merge


CI: dependabotでNo existing credentials foundと表示される

Summary / 概要

Describe the bug. A clear and concise description of what the bug is.

Steps to reproduce / 再現方法

xxx
yyy
zzz

environments

Desktop (please complete the following information):
OS: [e.g. Mac, Windows11, Linux]
Browser [e.g. Chrome, Safari, Edge, Firefox]
Version [e.g. 117.0.05938.44]

Smartphone (please complete the following information):
Device: [e.g. iPhone15, Android13]
OS: [e.g. iOS16.5, Android 13]
Browser [e.g. Chrome, Safari]
Version [e.g. 16.5]

Tablet (please complete the following information):
OS: [e.g. Android OS, Chrome OS, Windows11, iPad OS]
Browser [e.g. Chrome, Safari, Edge, Firefox]
Version [e.g. 16.5]

Expected behavior / 期待される挙動

A clear and concise description of what you expected to happen.

Actual behavior / 実際の挙動
Screenshots

If applicable, add screenshots to help explain your problem.

Other notes / その他

Add any other context about the problem here.
Will you try to create a pull request?

yes / no

dependabotだとGitHub Secretsにアクセスできないようなので、専用のsecretsを設定する必要があるそうです。
See:
https://docs.github.com/en/code-security/dependabot/working-with-dependabot/configuring-access-to-private-registries-for-dependabot#storing-credentials-for-dependabot-to-use


Fixed resource file not being set when making localized calls in Grad…

…le build. (#1843)
Added no-warning assertions to some Maven and Gradle tests. (#1847)
(cherry picked from commit f5b958c)
(cherry picked from commit 597033c)
Bumped version numbers

Is the fix already in master?  If not, link the bug tracking that work. Yes
What testing was done? Validated the bug no longer repros on a private account where the build task was patched.
Does this fix change the AT/DT contract? No
Does this fix include any database servicing changes? No
Were tests added to cover this to make sure it doesn't regress?  If not, link a bug or user story tracking that work. Yes


Define a bigger standard element height for touch

Our most common atoms (button, form elements, etc) all have a height of 36px. That is acceptable for desktop but all responsive and mobile guidelines recommend 44px or 48px as a minimum. Should/could we define this in the dress code so that all applications inherit it?

Hi @sambhav-gore @gabrielhl, This issue dates back to April 2016. Do you still want to do it? If not, let's close? Or if you want help, let's add a "Help Wanted" tag. cc @alexkops

@dami-gg To don't introduce breaking change I would suggest to add a modifier or put this one in a 3.0.0 milestone

@rbarilani valid point Anyway I don't think this is among the most urgent things to work on right now


Use panda from source in upstream

Copying the change in https://github.com/geopandas/geopandas/pull/2454 (ref: #9152)

just merged https://github.com/MacPython/pandas-wheels/pull/184 which is responsible for the py3.10 issue. opened https://github.com/pandas-dev/pandas/issues/47332 for the windows issue.


Upgrade to GHC-9.4 resulting in lower compile-time memory usage

Building ic-hs with GHC-9.0 requires ~13GB of memory. Upgrading to GHC-9.4 reduces this by around 30% to ~9GB:

This is nice, but we need a coherent plan how to promote such changes downstream. E.g. dfinity/motoko will need the same GHC so that we can reuse the binary cache artefacts.

I thought dfinity/motoko imports this repo as a whole, so for ic-ref-test it uses the same nixpkgs pin and thus the cache can be shared?

Hopefully. But we also have a majority of M1 Macs in the meantime which have to build locally. So that is one difference.


ci: avoid closing stale issue/pr

Which issue(s) this PR fixes:

Issue https://github.com/longhorn/longhorn/issues/7740
What this PR does / why we need it:
avoid closing stale issue/pr
Special notes for your reviewer:
Additional documentation or context

We can have a pre-step to filter the issues created by non-members only before doing stale issues cleanup.

It's a cron job batch processing all issues instead of triggered by a single issue. The workflow has no idea about what issues it will deal with. The actions/stale action itself gets all issue to process. The logic to filter out issues could need to be customized and put inside actions/stale action. More investigation needed.


Add assertions for usage

The exported function should require a function as a passed parameter.

@jackboberg is this still an issue?


display issue start from command line

I launched  man grep  from terminal after set .zshrc as guidance :
export MANPAGER="vim -c'set ft=neoman' -"  #change nvim to vim

But I got the weird display:

So why?

I have not been maintaining this plugin. I've been maintaining the neovim man.vim. I've fixed this bug there. See https://github.com/neovim/neovim/pull/6033/files
Using neovim would fix your problem. If you'd like to remain on vim, could you please open a PR on this plugin similar to my fix for neovim's man.vim?
You'd have to update the regexes used on these two lines https://github.com/nhooyr/neoman.vim/pull/27/files with the regex used in the linked neovim PR.

OK.
I already sent the PR,pls check.

Thank you.


Add some linters to the CI

Hello!
I see that you're using flake8, but i can't see it in the workflows. What about to add running some linters as a new workflow? And I suggest to use Ruff instead of flake8.

What are the relevant upsides of ruff? flake8 has not cased any issues up to this point, so why switch?

There is only one reason to use ruff - speed. You can save some time if you use it.

with an empty cache ruff was only 50ms faster than flask8 (on my machine), the project is simply to small to create really notable differences.
Doesn't justify moving away from tools that come from the official python team.

But what about adding any linters to the CI workflow?

CI worklflow  runs flake8 (any all other pre-commit steps).
So I don't get what you are suggesting


chore(deps): upgrade dev dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-dev-dependencies-k8s-30-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 4968

Questions ?
Please refer to the Backport tool documentation


samples/net/sockets/packet: Bus fault

Describe the bug
Packet socket sample fails on STM32 Nucleo-F746ZG.
Please also mention any information which could help others to understand
the problem you're facing:

What target platform are you using?
Nucleo-746ZG.
What have you tried to diagnose or workaround this issue?
n/a

To Reproduce
Steps to reproduce the behavior:

west build -p always -b nucleo_f746zg samples/net/socket/packet
west flash
observe the uart
See error

Expected behavior
Sample should run on the board.
Impact
Logs and console output

Environment (please complete the following information):

OS: Linux
Zephyr SDK
zephyr-v3.1.0-1-g44358e62ecd6

Additional context
Default dts and prj.conf are used.

@jaybuckeye06 Thanks for raising this, I can also reproduce this on frdm_k64f, this is likely related to the upper stack.
uart:~$ *** Booting Zephyr OS build zephyr-v3.1.0-922-g69e71cedf8a2  ***

[00:00:00.006,000] <inf> net_pkt_sock_sample: Packet socket sample is running
[00:00:00.006,000] <inf> net_pkt_sock_sample: Waiting for packets ...
[00:00:00.006,000] <err> net_pkt_sock_sample: Failed to send, errno 115
[00:00:00.006,000] <inf> net_pkt_sock_sample: Stopping...
[00:00:03.001,000] <inf> eth_mcux: ETH_0 enabled 100M full-duplex mode.
[00:00:39.353,000] <err> os: ***** BUS FAULT *****
[00:00:39.353,000] <err> os:   Imprecise data bus error
[00:00:39.353,000] <err> os: r0/a1:  0x00000001  r1/a2:  0x0000000a  r2/a3:  0x200012d8
[00:00:39.353,000] <err> os: r3/a4:  0x00000000 r12/ip:  0x0000e149 r14/lr:  0x0000e163
[00:00:39.353,000] <err> os:  xpsr:  0x41000000
[00:00:39.353,000] <err> os: Faulting instruction address (r15/pc): 0x0000e16e
[00:00:39.353,000] <err> os: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0
[00:00:39.353,000] <err> os: Current thread: 0x20002838 (rx_q[0])
[00:00:39.382,000] <err> os: Halting system

@rlubos, can you have a check ?

I've submitted a PR fix fixes, please have a look: https://github.com/zephyrproject-rtos/zephyr/pull/47636