fix breaking primitive declaration with attributes

fixes https://github.com/facebook/reason/issues/1639
/* before */
<EMAIL_ADDRESS>external imul : (int, int) => int =
  "Math.imul";

/* after */
<EMAIL_ADDRESS>external imul : (int, int) => int = "Math.imul";

Aha, so did I diagnose right? Is it because it thought attributes were part of "first part"?
Ping me if you think it's ready to merge

@chenglou Indeed, attributes where attached to the first part (all stuff up to =), which resulted in the printing going the wrong road.


hostPath type check failed: /etc/localtime is not a file

Is volume mounting fully supported? The same helm chart that worked with minikube is failing with dind.
I did remove the symlink and put the actual file there. Additionally, I tried mounting /etc and mounting the  file as a subpath (gives "not a directory" from docker when it tries to start the container).

This worked fine on a fork. I will close this out since I am not looking into fixing it anymore.


Small screen icon fix

On small screens (mobile phone) the icons on navigation and search bar
was misaligned

I've had a similar problem, I fixed it by adding this straight to the CSS:
@media only screen and (max-width : 601px){nav .material-icons { line-height: inherit; } /* fix */}

Still an issue?

It seems fixed in the latest version.


miou result can not achieve 74%

HI! @speedinghzl , thanks for you code!
I used the VOC12_scenes_20000.pth model you provided to run the test code. I only change the path to load data, any other thing was changed in my operation. The Miou results  achieved  0.693386318233 in the single scale model , when i use the multi scale model you provided , the result is also 69%. Can you help me ? or give me some idea about it.
Thank you very much! Good luck to u.

What's the version of your Pytorch? I trained this model with pytorch==0.2, the reason may be the change of the upsampling operator.  But I have no time to figure it out. If you find a reason, please tell me. Thank you.
P.s. I refer you to use our new pytorch Implementations for DeeplabV3 and PSPNet. https://github.com/speedinghzl/pytorch-segmentation-toolbox

My version is 0.4.1, I have not found the reason, I will tell you reason if i find it. Thanks a lot . I have another question to ask you,emm.... .I want to train my model with imagenet_pretrained model rather than coco_pretrained model in order to do experiment about my work, I found that if i load the resnet101_imagenet_pretrained_model pytorch provides, the loss in your code will be nan..., Do u have any idea about it ? Thanks a lot! @speedinghzl

Thanks a lot. @speedinghzl . I have found the reason that the different preprocess way between pytorch and caffe.


Generalize the dependency examples.

Generalizing the examples to not have specific operators to avoid confusion.

/assign @horis233


add Testcontainers.Consul

What does this PR do?
add Testcontainers.Consul
Why is it important?
support consul containers

Thank you for addressing the suggestions. I have briefly reviewed the PR, and it looks good. I plan to merge it either tomorrow or the day after, depending on my availability.

glad to be able to contribute code.


crashes in release and works in debug

"react-native": "0.57.7"
"react-native-share": "^1.1.3",
Actual behaviour
works in debug mode crashes in release mode.no error caught
Environment

React Native version:0.57.7
Platform version:Android 5.0, etc

react-native-share
Version: 1.1.3"

Others have no problem, suggesting this is a problem with code. Do you have a minimal repo you can share with a reproduction? Are you able to reproduce the crash yourself with a clean react-native sample app and minimal react-native-share integration following the docs?

The problem was with my code it was referring react-native-share from .cache folder .I don't know much detail.renaming the referred file in .cahe folder solved my issue

check this: https://gist.github.com/jarretmoses/c2e4786fd342b3444f3bc6beff32098d


socket.close is not a method

Hi,
I am trying to get react-native-tcp working on Android 7. It does work well on other Android versions and iOS, but it does not connect or send data over Android 7 with no debug info for me to digest.
So I am trying to close sockets after every connection, to see if Android is killing my opened sockets, but then it raised: socket.close is not a method.
Any clues?
Thanks!

are you creating a server or client? for client try destroy


user_key

Hello, where can I get the user_key, and can the project continue to be used now, thank you

This field was for the v3 of the TVDB API, I'm currently in the process of re-writting it for V4.

Ok, looking forward to your update, thank you

The V4 re-write is underway, you can use your API key, that you can get from here.

how can I install this module, can pip install it

yes,  you can pip install tvdb-api-client

Last question, does user_key refer to my password


adding logic to the .github/workflows/omgx-publish-master.yml for pushing same tag containers to aws ecr also

./cfn-devenv.sh push2aws --from-tag ${{ steps.tag.outputs.VERSION }} --deploy-tag ${{ steps.tag.outputs.VERSION }}

Codecov Report

Merging #514 (a136400) into develop (03018ce) will increase coverage by 0.14%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop     #514      +/-   ##
===========================================
+ Coverage    76.09%   76.23%   +0.14%
===========================================
  Files           81       79       -2
  Lines         3037     2929     -108
  Branches       469      456      -13
===========================================
- Hits          2311     2233      -78
+ Misses         726      696      -30

Flag
Coverage Δ

batch-submitter
59.51% <ø> (ø)

contracts
86.05% <ø> (ø)

core-utils
68.16% <ø> (ø)

data-transport-layer
37.68% <ø> (ø)

message-relayer
?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

packages/message-relayer/hardhat.config.ts

packages/message-relayer/src/relay-tx.ts

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 03018ce...a136400. Read the comment docs.


[SimpleList] pagination can't be hidden

What package is this for?

[x] React
[ ] Angular

Describe the bug
There is currently no way to hide the pagination, even if theres only 1 page of data
Expected behavior
Should be able to hide the pagination

:tada: This issue has been resolved in version 2.134.4 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


The same validation and behaviour should be for the receiver field in case of wrong address on the send funds/send collectibles/contract interaction forms

Title/Description
The same validation and behaviour should be for the receiver field in case of a wrong address.
For testing I have used the next image:

What we have now:

Send funds:
Current result: the wrong address is not displayed in the field but the error is displayed

send collectibles
Current result: the wrong address is recognised from the image. The address is displayed in the field together with indeticon without the error but the "send " button is blocked on the last page of Send collectibles flow. If the address is too long it's cutted and not seen fully

Contract interaction:
Current result: Error and the address are displayed for the contract address field

Environment

Browser: Chrome
Safe: 0x1230B3d59858296A31053C1b8562Ecf89A2f888b
Wallet: WC /MM
App Version: 3.6.0
Environment:

PR # https://pr2246--safereact.review.gnosisdev.com/rinkeby/app/#/safes/0x1230B3d59858296A31053C1b8562Ecf89A2f888b/balances

Expected result
The same behaviour for all forms .
From my point of view the same behaviour as on contract interaction, add entity to addressbook should be used:

an error
recognized trancated address if it's too long

This is not a regression, it's the same on prod.

Tested – this is fixed now.


sfdx force:user:password:generate - The requested Resource does not exit  API 51.0

Summary
Can't use sfdx force:user:password:generate with API 51.0

When changing to API 50.0 it works

Steps To Reproduce:
1 - Set sfdx api to 51.0
2 - try to generate user password for a Scratch Org
3 - Set api to 50.0
4 - run the command again
5 - Check it worked
Expected result
Should create the password
Actual result
It says the resource does not exist
Additional information

OS and version: Windows 10

What version is your instance?

What version is your instance?

What version is your instance?

51.0
I created the Scratch Org using release:Preview

What version is your instance?

51.0
I created the Scratch Org using release:Preview

@amphro The instance is CS96

@amphro The instance is CS96

I can't run the command to create a community.

I can't run the command to create a community.

I can't create a community. Same problem

I can't create a community. Same problem

@AllanOricil are you able to see the password policies in your org, specifically whether Allow use of setPassword() API for self-resets is checked or unchecked?
https://developer.salesforce.com/docs/atlas.en-us.securityImplGuide.meta/securityImplGuide/admin_password.htm
This setting can't be re-enabled via ui or config/mdapi if it's disabled because v51 of the mdapi deprecates the setting.  https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_securitysettings.htm

@AllanOricil are you able to see the password policies in your org, specifically whether Allow use of setPassword() API for self-resets is checked or unchecked?
https://developer.salesforce.com/docs/atlas.en-us.securityImplGuide.meta/securityImplGuide/admin_password.htm
This setting can't be re-enabled via ui or config/mdapi if it's disabled because v51 of the mdapi deprecates the setting.  https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_securitysettings.htm

I have an update on this.
This is no longer going to work in v51/Spring21
"securitySettings": {
   "passwordPolicies": {
      "enableSetPasswordInApi": true
   }
}

It's now moved to the Features section [only available on scratch orgs]
"features": ["EnableSetPasswordInApi", ....],

I have an update on this.
This is no longer going to work in v51/Spring21
"securitySettings": {
   "passwordPolicies": {
      "enableSetPasswordInApi": true
   }
}

It's now moved to the Features section [only available on scratch orgs]
"features": ["EnableSetPasswordInApi", ....],

@AllanOricil can you try your org again using the updated scratchDef to make sure it's working?

@AllanOricil can you try your org again using the updated scratchDef to make sure it's working?

@mshanemc I was gonna try it, but I can't even update sfdx

@mshanemc I was gonna try it, but I can't even update sfdx

@mshanemc  it actually updated, but it threw that error message

@mshanemc  it actually updated, but it threw that error message

Ok, after updating sfdx to 7.84.2, I first configured SFDX to use apiVersion=51.0, then I tried to create a SO with the following configs:
{
  "orgName": "Demo company",
  "edition": "Developer",
  "release": "Preview",
  "features": [
    "Communities",
    "ContactsToMultipleAccounts",
    "DebugApex",
    "EnableSetPasswordInApi"
  ],
  "settings": {
    "languageSettings": {
      "enableTranslationWorkbench":  true,
      "enableEndUserLanguages": true
    },
    "lightningExperienceSettings": {
      "enableS1DesktopEnabled": true
    },
    "mobileSettings": {
      "enableS1EncryptedStoragePref2": false
    },
    "communitiesSettings": {
      "enableNetworksEnabled": true
    },
    "orgPreferenceSettings": {
      "s1DesktopEnabled": true
    }
  }
}

But I got this error

Ok, after updating sfdx to 7.84.2, I first configured SFDX to use apiVersion=51.0, then I tried to create a SO with the following configs:
{
  "orgName": "Demo company",
  "edition": "Developer",
  "release": "Preview",
  "features": [
    "Communities",
    "ContactsToMultipleAccounts",
    "DebugApex",
    "EnableSetPasswordInApi"
  ],
  "settings": {
    "languageSettings": {
      "enableTranslationWorkbench":  true,
      "enableEndUserLanguages": true
    },
    "lightningExperienceSettings": {
      "enableS1DesktopEnabled": true
    },
    "mobileSettings": {
      "enableS1EncryptedStoragePref2": false
    },
    "communitiesSettings": {
      "enableNetworksEnabled": true
    },
    "orgPreferenceSettings": {
      "s1DesktopEnabled": true
    }
  }
}

But I got this error

@mshanemc after chaning apiVersion=50.0 the SO was created with no problem and I was, again, able to generate the password

The problem now is that I can't even create a SO using API v51.0. Before I was able to do it and the only part that was failing was the password generation.

@mshanemc after chaning apiVersion=50.0 the SO was created with no problem and I was, again, able to generate the password

The problem now is that I can't even create a SO using API v51.0. Before I was able to do it and the only part that was failing was the password generation.

This was fixed and shipped.  Re-open or open a new issue if you're still seeing it.


chore(dependencies): Update dependency eslint-plugin-unicorn to v51

This PR contains the following updates:

Package
Type
Update
Change

eslint-plugin-unicorn
devDependencies
major
48.0.1 -> 51.0.1

Release Notes

sindresorhus/eslint-plugin-unicorn
v51.0.1
Compare Source

prefer-node-protocol: Fix false positive on bun:* modules (#2272)  43fc638

v51.0.0
Compare Source
Breaking

consistent-destructuring: Remove from recommended preset (#2260)  702d51b

Improvements

no-array-method-this-argument: Check Array.from() (#2262)  797caee

Fixes

no-thenable: Fix crash on {[Symbol.prototype]: 0} (#2248)  3c7d7c0
prefer-prototype-methods: Fix argument of isMethodCall (#2247)  3b504fa

v50.0.1
Compare Source
Fixes

no-unnecessary-polyfills: Fix missing dependency error (#2242)  3df1606

v50.0.0
Compare Source
New rules

no-unnecessary-polyfills (#1717)  6788d86

Improvements

Support ESLint's new config system (#1886)  65711f9
no-useless-undefined: Add checkArrowFunctionBody option (#2232)  9d7048c
prefer-negative-index: Check TypedArray#subarray() (#2237)  6708a30
no-useless-undefined: Ignore React state setters (#2223)  42881ba
prefer-module: Allow module as TSTypeParameter name (#2213)  8f61f7c

Fixes

string-content: Fix JSX autofix for newlines, etc. (#2222)  b95e75e

v49.0.0
Compare Source
Improvements

expiring-todo-comments: Support monorepos (#2159)  ac51d40
prefer-module: Allow module as TSIndexSignature names or TSTypeAliasDeclaration ids (#2209)  ea94b3b
Support RegExp v flag (#2195)  28e7498
prefer-event-target: Ignore EventEmitter from @angular/core and eventemitter3 (#2197)  1629ebe

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


regex_revalidate: don't start a new self scheduling config handler on every config reload

Also replace core includes with plugin api includes.
I would like to have this back ported to both 8.x and 7.x.

Cherry picked to 8.1.0


"Pick" and default function parameters

TypeScript Version:  2.1.4
Code
  interface IFood {
    pizza: string;
  }

  function bar<K extends keyof IFood>(attributes: K[] = ['pizza']): Pick<IFood, K> {
    return {} as any;
  }

Expected behavior:
I want to set default value for attributes parameter. If i remove = ['pizza'] part, the code compiles fine. But, I want to set default. I recon that I cannot set attributes later on in the function either?
Actual behavior:
It says
[ts] Type '"pizza"[]'` is not assignable to type 'K[]'. Type '"pizza"' is not assignable to type 'K'

This is working as intended. The constraint K extends keyof IFood means that a type argument for K may be any string literal type that describes a subset of the property names of IFood. That subset doesn't necessarily include "pizza", so "pizza" isn't assignable to K. I'd suggest using an overload instead:
function bar(): Pick<IFood, "pizza">;
function bar<K extends keyof IFood>(attributes: K[]): Pick<IFood, K>;
function bar(attributes: (keyof IFood)[]): any {
    let attributesOrDefault = attributes || ["pizza"];
    // Implementation
}

Thanks for clarification and a good solution :)
But it is still a bit confusing that you could pass the same array to the function, yet you cannot set the default parameter with the same array. I understand that the subset type K doesn't necessarily include "pizza", but how come I can assign "pizza" with a function call to this argument yet I cannot set the default to the same value? Does default parameter assignment override/influence the type of the given parameter?


Embed Blocks don't work with Sage 9.0.9

[X] I've read the guidelines for Contributing to Roots Projects
[X] This request isn't a duplicate of an existing issue
[X] I've read the docs and followed them (if applicable)
[X] This is not a personal support request that should be posted on the Roots Discourse community

Description
I'm trying to embed a YouTube video by pasting the URL in the Guttenberg editor and it doesn't work.
Steps to reproduce

Paste the following URL in the Gutenberg editor: https://www.youtube.com/watch?v=3lfnR7OhZY8
It should load the YouTube video

Expected behavior: [What you expect to happen]
It should embed the Youtube Video
Actual behavior: [What actually happens]
The console shows the following error:
Failed to load resource: the server responded with a status of 404 (Not Found) http://nintenduo.test/wp-json/oembed/1.0/proxy?url=https%3A%2F%2Ftwitter.com%2FAntonioMaestre%2Fstatus%2F1463470370233724934&_locale=user
http://nintenduo.test/wp-includes/js/dist/api-fetch.min.js?ver=134e23b5f88ba06a093f9f92520a98df
{code: "rest_no_route",…}
code: "rest_no_route"
data: {status: 404}
message: "No se ha encontrado ninguna ruta que coincida con la URL y el método de la solicitud."

Do you also have any issues when trying to embed an internal link from your site? For me both external embeds, and internal link embeds don't work on Sage 10.
Sorry, this content could not be embedded.
Is the error I am getting when trying to embed any page or article from my blog. Tried to achieve this with the vanilla Wordpress theme, and I am having no issues of this type there.


root: enable root7

Description of changes
ROOT7 provides a new API. Seems like it's used by the next version of DD4hep.
Things done

Built on platform(s)

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

[x] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

cc @ShamrockLee @yipengsun


[joss] Outdated torchaudio can't find newer ffmpeg, conda environment.yml file missing to specify version

Trying to run the benchmark, and I got an import error from torchaudio:
_______________________________________________ ERROR collecting tests/test_config.py ________________________________________________
ImportError while importing test module 'diart_fork/tests/test_config.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
venv/lib/python3.9/site-packages/torchaudio/_extension.py:71: in _init_ffmpeg
    _load_lib("libtorchaudio_ffmpeg")
venv/lib/python3.9/site-packages/torchaudio/_extension.py:52: in _load_lib
    torch.ops.load_library(path)
venv/lib/python3.9/site-packages/torch/_ops.py:573: in load_library
    ctypes.CDLL(path)
../../.pyenv/versions/3.9.1/lib/python3.9/ctypes/__init__.py:374: in __init__
    self._handle = _dlopen(self._name, mode)
E   OSError: dlopen(diart_fork/venv/lib/python3.9/site-packages/torchaudio/lib/libtorchaudio_ffmpeg.so, 0x0006): Library not loaded<EMAIL_ADDRESS>E     Referenced from: 'diart_fork/venv/lib/python3.9/site-packages/torchaudio/lib/libtorchaudio_ffmpeg.so'
E     Reason: tried: '/usr/local/lib/libavdevice.58.dylib' (no such file), '/usr/lib/libavdevice.58.dylib' (no such file)

The above exception was the direct cause of the following exception:
../../.pyenv/versions/3.9.1/lib/python3.9/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_config.py:7: in <module>
    from diart.console.benchmark import parse_args
src/diart/console/benchmark.py:9: in <module>
    from diart.inference import Benchmark, Parallelize
src/diart/inference.py:8: in <module>
    import diart.sources as src
src/diart/sources.py:11: in <module>
    from torchaudio.io import StreamReader
venv/lib/python3.9/site-packages/torchaudio/io/__init__.py:21: in __getattr__
    torchaudio._extension._init_ffmpeg()
venv/lib/python3.9/site-packages/torchaudio/_extension.py:73: in _init_ffmpeg
    raise ImportError("FFmpeg libraries are not found. Please install FFmpeg.") from err
E   ImportError: FFmpeg libraries are not found. Please install FFmpeg.

This apparently was also raised on stack overflow: https://stackoverflow.com/questions/76155851/diart-torchaudio-on-windows-x64-results-in-torchaudio-error-importerror-ffmp
I am not going to debug it right now, but this would have been immediately discovered in  CI - the installation instructions are to manually create and populate a conda environment, and if the problem is indeed that the old version of torchaudio can't handle newer ffmpegs, then that would have been caught trying to install that way in CI because conda-forge's version is 6.0.0 at the moment: https://anaconda.org/conda-forge/ffmpeg
If the package depends on a conda environment, then I would expect an environment.yml file to be included with the package that specifies the appropriate dependencies.
Part of: https://github.com/openjournals/joss-reviews/issues/5266

@sneakers-the-rat thank you for reporting this

I think the fix is as simple as making a conda environment file, and I think torchaudio has an updated version?
To prevent future bugs like this, a very simple CI (eg. github actions) workflow that installs the package and runs the benchmark would at least ensure that the package runs

@sneakers-the-rat on which platform did you try to run the benchmark? Is it windows too (as per the stackoverflow link that you shared)? If so, did you try to use diart on WSL instead?
I am using linux, and I can't seem to be able to reproduce the error that you mentioned. I created a new conda environment and followed the steps for installation (first running conda install portaudio pysoundfile ffmpeg -c conda-forge and then pip install diart) and everything works properly.
FWIW, I exported the environment I have into this environment yml file:
name: diart
channels:
  - conda-forge
  - defaults
dependencies:
  - _libgcc_mutex=0.1=conda_forge
  - _openmp_mutex=4.5=2_kmp_llvm
  - alsa-lib=1.2.9=hd590300_0
  - bzip2=1.0.8=h7f98852_4
  - ca-certificates=2023.5.7=hbcca054_0
  - cffi=1.15.1=py38h4a40e3a_3
  - ffmpeg=4.2.2=h20bf706_0
  - freetype=2.10.4=h0708190_1
  - gettext=0.21.1=h27087fc_0
  - gmp=6.2.1=h58526e2_0
  - gnutls=3.6.13=h85f3911_1
  - lame=3.100=h166bdaf_1003
  - ld_impl_linux-64=2.38=h1181459_1
  - libblas=3.9.0=17_linux64_openblas
  - libcblas=3.9.0=17_linux64_openblas
  - libffi=3.4.4=h6a678d5_0
  - libflac=1.4.3=h59595ed_0
  - libgcc-ng=13.1.0=he5830b7_0
  - libgfortran-ng=13.1.0=h69a702a_0
  - libgfortran5=13.1.0=h15d22d2_0
  - liblapack=3.9.0=17_linux64_openblas
  - libogg=1.3.4=h7f98852_1
  - libopenblas=0.3.23=pthreads_h80387f5_0
  - libopus=1.3.1=h7f98852_1
  - libpng=1.6.39=h5eee18b_0
  - libsndfile=1.2.0=hb75c966_0
  - libstdcxx-ng=13.1.0=hfd8a6a1_0
  - libvorbis=1.3.7=h9c3ff4c_0
  - libvpx=1.7.0=h439df22_0
  - llvm-openmp=14.0.6=h9e868ea_0
  - mpg123=1.31.3=hcb278e6_0
  - ncurses=6.4=h6a678d5_0
  - nettle=3.6=he412f7d_0
  - numpy=1.24.4=py38h59b608b_0
  - openh264=2.1.1=h4ff587b_0
  - openssl=3.1.1=hd590300_1
  - pip=23.1.2=py38h06a4308_0
  - portaudio=19.6.0=h0e77e87_8
  - pycparser=2.21=pyhd8ed1ab_0
  - pysoundfile=0.12.1=pyhd8ed1ab_0
  - python=3.8.17=h955ad1f_0
  - python_abi=3.8=2_cp38
  - readline=8.2=h5eee18b_0
  - setuptools=67.8.0=py38h06a4308_0
  - sqlite=3.41.2=h5eee18b_0
  - tk=8.6.12=h1ccaba5_0
  - wheel=0.38.4=py38h06a4308_0
  - x264=1!157.20191217=h7b6447c_0
  - xz=5.4.2=h5eee18b_0
  - zlib=1.2.13=h5eee18b_0
  - pip:
      - absl-py==1.4.0
      - aiohttp==3.8.4
      - aiosignal==1.3.1
      - alembic==1.11.1
      - antlr4-python3-runtime==4.9.3
      - asteroid-filterbanks==0.4.0
      - async-timeout==4.0.2
      - attrs==23.1.0
      - audioread==3.0.0
      - backports-cached-property==1.0.2
      - cachetools==5.3.1
      - certifi==2023.5.7
      - charset-normalizer==3.2.0
      - click==8.1.4
      - cmaes==0.9.1
      - colorama==0.4.6
      - colorlog==6.7.0
      - contourpy==1.1.0
      - cycler==0.11.0
      - decorator==5.1.1
      - diart==0.7.0
      - docopt==0.6.2
      - einops==0.3.2
      - filelock==3.12.2
      - fonttools==4.41.0
      - frozenlist==1.4.0
      - fsspec==2023.6.0
      - google-auth==2.22.0
      - google-auth-oauthlib==1.0.0
      - greenlet==2.0.2
      - grpcio==1.56.0
      - hmmlearn==0.2.8
      - huggingface-hub==0.16.4
      - hyperpyyaml==1.2.1
      - idna==3.4
      - importlib-metadata==6.8.0
      - importlib-resources==6.0.0
      - joblib==1.3.1
      - julius==0.2.7
      - kiwisolver==1.4.4
      - librosa==0.9.2
      - llvmlite==0.40.1
      - mako==1.2.4
      - markdown==3.4.3
      - markdown-it-py==3.0.0
      - markupsafe==2.1.3
      - matplotlib==3.7.2
      - mdurl==0.1.2
      - mpmath==1.3.0
      - multidict==6.0.4
      - networkx==2.8.8
      - numba==0.57.1
      - nvidia-cublas-cu11==<IP_ADDRESS>
      - nvidia-cuda-nvrtc-cu11==11.7.99
      - nvidia-cuda-runtime-cu11==11.7.99
      - nvidia-cudnn-cu11==<IP_ADDRESS>
      - oauthlib==3.2.2
      - omegaconf==2.3.0
      - optuna==3.2.0
      - packaging==23.1
      - pandas==2.0.3
      - pillow==10.0.0
      - platformdirs==3.8.1
      - pooch==1.7.0
      - primepy==1.3
      - protobuf==3.20.1
      - pyannote-audio==2.1.1
      - pyannote-core==4.5
      - pyannote-database==4.1.3
      - pyannote-metrics==3.2.1
      - pyannote-pipeline==2.3
      - pyasn1==0.5.0
      - pyasn1-modules==0.3.0
      - pydeprecate==0.3.2
      - pygments==2.15.1
      - pyparsing==3.0.9
      - python-dateutil==2.8.2
      - pytorch-lightning==1.6.5
      - pytorch-metric-learning==1.7.3
      - pytz==2023.3
      - pyyaml==6.0
      - requests==2.31.0
      - requests-oauthlib==1.3.1
      - resampy==0.4.2
      - rich==13.4.2
      - rsa==4.9
      - ruamel-yaml==0.17.28
      - ruamel-yaml-clib==0.2.7
      - rx==3.2.0
      - scikit-learn==1.3.0
      - scipy==1.10.1
      - semver==2.13.0
      - sentencepiece==0.1.99
      - shellingham==1.5.0.post1
      - simplejson==3.19.1
      - singledispatchmethod==1.0
      - six==1.16.0
      - sortedcontainers==2.4.0
      - sounddevice==0.4.6
      - soundfile==0.10.3.post1
      - speechbrain==0.5.14
      - sqlalchemy==2.0.18
      - sympy==1.12
      - tabulate==0.9.0
      - tensorboard==2.13.0
      - tensorboard-data-server==0.7.1
      - threadpoolctl==3.1.0
      - torch==1.13.1
      - torch-audiomentations==0.11.0
      - torch-pitch-shift==1.2.4
      - torchaudio==0.13.1
      - torchmetrics==0.11.4
      - torchvision==0.14.1
      - tqdm==4.65.0
      - typer==0.9.0
      - typing-extensions==4.7.1
      - tzdata==2023.3
      - urllib3==1.26.16
      - websocket-client==1.6.1
      - websocket-server==0.6.4
      - werkzeug==2.3.6
      - yarl==1.9.2
      - zipp==3.16.0

I confirm this can be solved with ffmpeg<4.4.
A temporary fix would be to change the installation instructions:
- conda install portaudio pysoundfile ffmpeg -c conda-forge
+ conda install portaudio=19.6.0 pysoundfile=0.12.1 ffmpeg=4.3 -c conda-forge

I agree, the environment.yml file is the correct way to do this. I'm just pointing out a solution for people coming to this issue with the ffmpeg error until I have the time to make the required changes.

Conda environment.yml added to develop. It will appear in the next release


Allow for rendering of elements outside of the viewbox

Let's say I have a simple svg document like this where one element is outside of the viewbox.

Rendered with Resvg I get a black png:

And I guess that's the correct behaviour.
I can fix this by wrapping all nodes in a g element with a random id and then:
resvg.exe --export-id layer-a0cea710-169d-4538-b959-88528135f896 .\foo.svg foo.png
The issue with this is that the resulting image is smaller than expected.
I want to achieve similar to this feature in Inkscape:

It's technically possible to ignore SVG's viewbox, but automatic size calculation in SVG doesn't work as you would expect. It doesn't care about stroke, filter regions and so on. It relies only on object bboxes.
Right now, you can simply remove the width, height and viewBox attributes from the root svg element and you will get what you want.

Out of scope.


Allow overriding skip_covered under the html section

For a terminal report to not show fully covered lines, one can set skip_covered to True. For HTML reports though you do want to report on all files, so you can see what covers what. Would be good to be able to specify this configuration scenario via the config only, perhaps by allowing to override coverage:report skip_covered under coverage:html. Currently, you can only override via the CLI, but for example in pytest-cov these flags are not exposed to alter.
PS. pytest-cov ticket solution for this https://github.com/pytest-dev/pytest-cov/issues/449

I'd like to be able to write this in pyproject.toml.
[tool.coverage.html]
skip_covered = true

Thank you! 🙏

I'd like to be able to write this in pyproject.toml.
[tool.coverage.html]
skip_covered = true

Thank you! 🙏

This is implemented in https://github.com/nedbat/coveragepy/pull/1099.  Does it do what you need?

This is implemented in https://github.com/nedbat/coveragepy/pull/1099.  Does it do what you need?

Yes it does! Thank you! That was so fast! 🙏

Yes it does! Thank you! That was so fast! 🙏

This is now released as part of coverage 5.4.

This is now released as part of coverage 5.4.


Support ios

https://medium.com/if-let-swift-programming/managing-files-in-ios-dfcdfdc1f426
https://stackoverflow.com/questions/35851118/how-do-i-share-files-using-share-sheet-in-ios

Works 🥇


[10.x] feat: new isEmail method for Str class

The method checks if the given string is a valid email or not.
https://github.com/laravel/framework/blob/9fec9e1952fdf11c78ce9447bde8402d9f87d444/src/Illuminate/Support/Str.php#L1735-L1742
Tests
https://github.com/nikopeikrishvili/laravel-framework/blob/0a6215db4fb2dbafe1cc285c61a4f0f52df12ca3/tests/Support/SupportStrTest.php#L1328-L1342

Thanks for your pull request to Laravel!
Unfortunately, I'm going to delay merging this code for now. To preserve our ability to adequately maintain the framework, we need to be very careful regarding the amount of code we include.
If possible, please consider releasing your code as a package so that the community can still take advantage of your contributions!
If you feel absolutely certain that this code corrects a bug in the framework, please "@" mention me in a follow-up comment with further explanation so that GitHub will send me a notification of your response.


Wrong session duration in docs

Documentation says that by default, session expires after one month but in fact, it expires after 30 minutes

By default, sessions will not expire for one month (out of convenience).

Code which defines default value:
https://github.com/stormpath/stormpath-express/blob/1.0.3/lib/settings.js#L60
app.set('stormpathSessionDuration', opts.sessionDuration || parseInt(process.env.STORMPATH_SESSION_DURATION) || 1000 * 60 * 30);

Thanks, you're 100% right, I'll fix this now =)

Merged this in, closing.


Script not moving files

i used the repo from @Jerrk without problems, but your updated kasm-v3 docker still has the same problem of it not moving files.

Even when cloning the kasm-v3 repo, it seems to not work properly.

Having the same issue, however latest commit of @Jerrk's repo doesn't work for me either.
https://github.com/Banh-Canh/docker-FMD2/pull/17#issuecomment-1955675325

Update: https://github.com/Banh-Canh/docker-FMD2/pull/17#issuecomment-1958025423

Yeah that fixed it


Error: dylib does not exist

I'm new to VCV Rack. Does that mean Mac is not supported, or did I download something incorrectly?
Thanks!

Did you compile it?

Nope! I've only downloaded prebuilt plugins, so that explains that--I'll look up how to build it tomorrow. Thanks for the help! ^-^


[fix grpc_build_protobuf_at_head test timeout] added bazel override for protobuf in build_python.sh

Fix for grpc_build_protobuf_at_head -> python_linux_opt_native_buildonly timeout
Found the following error during Python build:

When we mount and reuse the existing repo from host machine inside docker container, the tools/bazel.rc file is shared to the docker container and the Bazel override host location written to tools/bazel.rc from tools/.../grpc_build_submodule_at_head.sh (outside docker container) forces bazel to look for the same host location inside the docker container, which doesn't exist.
Hence overriding it again with the working directory inside the container should solve this issue.

I initially changed grpc_build_submodule_at_head.sh to run for an older protobuf commit, but then found out that the protobuf build has been fixed yesterday. So I've undone those changes and ran the Kokoro ephemeral job as suggested with the protobuf HEAD itself. The Python tests passed without a timeout as below:
...
2024-08-09 08:14:46,867 START: run_tests_python_linux_opt_native_buildonly
2024-08-09 08:15:48,073 PASSED: run_tests_csharp_linux_opt_native_buildonly [time=61.2sec, retries=0:0]
2024-08-09 08:15:48,074 START: run_tests_c++_linux_opt_native_buildonly
2024-08-09 08:57:13,260 PASSED: run_tests_python_linux_opt_native_buildonly [time=2546.4sec, retries=0:0]
...


Fix streaming function calls

Hello!
This fixes a bug that broke streaming chat responses with function calls. From observation, arguments is always a string, however, just to be safe, I've made it an Option<String>.

Hi @crat0z , thank you for the PR and fixing the bug.
Do you mind adding the full example in  (say) examples/function-call-stream if you already have it from your testing? it would be very helpful to test & maintain this in the future as well

Thank you for PR @crat0z , this was addressed in #98


Improvement/removing requirejl

💬 - It was a basic refactor I have only tested this with two examples. I am not sure I need to check if this works properly 😅

I'm still working on a version with the new Extension syntax of Julia 1.9

Do you think that we should add PlotlyBase? Meanwhile I moved as much as possible into an extension and the rest still resides in a require statement.


Should catch reject promise for closed client

Unit test for closed client fails on timeout.
it('invokes createTable with closed client', async () => {
      const client = new bigtabletableadminModule.v2.BigtableTableAdminClient({
        credentials: {client_email: 'bogus', private_key: 'bogus'},
        projectId: 'bogus',
      });
      client.initialize();
      const request = generateSampleMessage(
        new protos.google.bigtable.admin.v2.CreateTableRequest()
      );
      const expectedError = new Error('The client has already been closed.');
      client.close();
      await assert.rejects(client.createTable(request), expectedError);
    });

In the client library, if a client has been close, it return reject promise
if (this._terminated) {
              console.log('---terminated');
              return Promise.reject('The client has already been closed.');

            }
            ```
In the gax, `call.ts` call() doesn't catch this reject promise cause the hanging out.

Fix PR


[Preview-4] Change the ContentDialog XamlRoot not set error message to something more helpful.

Describe the bug

Steps to reproduce the bug

Steps to reproduce the behavior:

Create a standard winui in desktop program
Create a ContentDialog object in the button click event and execute the show() method.
System.ArgumentException - Value not in expected range is raised.

Expected behavior
Exception with a useful error message.
Screenshots
See above
Version Info

NuGet package version:

Windows app type:

UWP
Win32

Windows 10 version
Saw the problem?

Insider Build (xxxxx)

October 2020 Update (19042)

May 2020 Update (19041)

November 2019 Update (18363)

May 2019 Update (18362)

October 2018 Update (17763)

April 2018 Update (17134)

Fall Creators Update (16299)

Creators Update (15063)

Device form factor
Saw the problem?

Desktop

Xbox

Surface Hub

IoT

Additional context

Not sure what happened to the version info.
Observed in Winui in Desktop
Edition	Windows 10 Pro
Version	20H2
Installed on	30/07/2020
OS build	19042.804
Experience	Windows Feature Experience Pack 120.2212.551.0

I also called that out in this comment: https://github.com/microsoft/microsoft-ui-xaml/issues/4167#issuecomment-778485861
Had the same happen with MessageDialog, but the workaround presented in #4167 doesn't work for ContentDialog.

It's worth pointing out that if you declare the ContentDialog in the Page xaml instead, it'll work.

Interesting I didn't know and can simplify the work

I think it is required to set the XamlRoot property of the dialog to get it to work in a desktop app. The error message is certainly not helpful at all.

Agreed, the error message is not helpful, but this is the problem and solution.

Stephen, Excuse me if I misunderstand I’m new to this. I don’t understand why you have closed this item. Has the code been fixed and tested so that when the next preview rolls out this feature will work as documented? Rgds

This issue is expected.  When content dialog is contructed in a page the XamlRoot gets set automatically, however if you create a ContentDialog from code behind or by some other method you might have to tell the content dialog which xaml root it is to be associated with.  You do this by setting the XamlRoot property.
Thus I closed this issue because this isn't an issue with ContentDialog, its expected. Is there documentation that says this should work? If so we should change that documentation. We could also repurpose this issue as an issue to have the error message be a little more useful.

@StephenLPeters Before closing it, please change the error thrown to clearly state that the XamlRoot isn't set. The current behavior is extremely unhelpful.

The documentation example does not mention this requirement.
Seems to me that both the error message and the docs need to be updated...
https://docs.microsoft.com/en-us/uwp/api/windows.ui.xaml.controls.contentdialog?view=winrt-19041

@nzstevem it actually does: https://docs.microsoft.com/en-us/uwp/api/windows.ui.xaml.controls.contentdialog?view=winrt-19041#contentdialog-in-appwindow-or-xaml-islands

Thanks. Yes, I see that down in the lower part of the page. All the more important that these easily fixed migration incompatibilities generate clear and obvious error messages. Perhaps VS should enforce what is in effect a mandatory field for this app type.

The documentation has this buried pretty far down - definitely not easy for anyone to find. I only found out the XamlRoot had to be set by finding this issue.

I think this a particularly bad issue because when you are new to winui, and particularly if you come from uwp, the first thing you want to do once you get past xaml layouts without a designer is add some interactivity and potentially some debugging using a pop up message box.
When you do this you immediately get this error. It took me 2 days to find the cause! I glossed over the docs without noticing the requirement several times.
If you are trying to get developers to take this product seriously they need an easy onramp and a good experience from the get go.
When something that should be so easy is so hard you are going to lose many potential advocates at the first step.
The real issue here is that you don’t expect to need to provide this information. Might it not be better to build in a default that at least produces a non-crash default behaviour that can be changed if required.
Rgds Steve
021-956-996

On 13/05/2022, at 7:19 AM, Patrick Klaeren @.***> wrote:

The documentation has this buried pretty far down - definitely not easy for anyone to find. I only found out the XamlRoot had to be set by finding this issue.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.

Error message has changed in v1.3.230724000, however the error is just as unhelpful as before:

Drilling in a bit deeper to the data of the exception, you can find a bit more info, albeit still not helpful wrt what you did wrong:

At least it gives you a hint that it is related to the xamlroot, so it's closer considering the fix is literally to set the xamlroot
   cd.XamlRoot = this.Content.XamlRoot;

At the very least it would be good to expose this error message, since most don't drill into the data array of the exception.

I raised this issue originally when, as a new person to this environment with deep IT experience but limited hands on programming experience with the latest tools, I was trying to get my head round the WinUI environment. Once I had scanned through the documents I tried to build the simplest classic "hello world" type program. It took me TWO DAYS to work out why my simple program was failing. If Microsoft wants these products adopted it needs to do some classic useability testing using fresh subjects to establish the hurdles newbies strike and then clear them. The on road needs to be easy.  If setting XamlRoot explicitly is mandatory then it should be part of the dialog constructor. If that is not possible then the error needs to be explicit - "ERROR - XamlRoot not set !!".

Same issue as #3678. I agree this (and error messages and visibility to error messages in general) needs to be better.


[Bug]: Multiple REST API requests fail when "set-session-context": true

What happened?
When requesting for multiple api requests when session context is "set-session-context": true.
This is use DWSQL for using against Fabric SQL endpoints.
It causes the following api response:
{
"error": {
"code": "DatabaseOperationFailed",
"message": "Cannot set key 'aud' in the session context. The key has been set as read_only for this session.",
"status": 500
}
}
I am assuming the session is being sticky and not starting new sessions for each call.
For some reason it may be caching the session when "set-session-context": true, but from my understanding that should default to false.
Version
0.11.130
What database are you using?
Azure SQL
What hosting model are you using?
Container Apps
Which API approach are you accessing DAB through?
REST
Relevant log output
fail: Azure.DataApiBuilder.Service.Controllers.RestController[0]
      7c081014-1d46-44a5-ac17-d5a9e7532d8c Error handling REST request.
      Azure.DataApiBuilder.Service.Exceptions.DataApiBuilderException: Cannot set key 'aud' in the session context. The key has been set as read_only for this session.
       ---> Microsoft.Data.SqlClient.SqlException (0x80131904): Cannot set key 'aud' in the session context. The key has been set as read_only for this session.
         at Microsoft.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__211_0(Task`1 result)
         at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
         at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
      --- End of stack trace from previous location ---
         at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
      --- End of stack trace from previous location ---
         at Azure.DataApiBuilder.Core.Resolvers.QueryExecutor`1.ExecuteQueryAgainstDbAsync[TResult](TConnection conn, String sqltext, IDictionary`2 parameters, Func`3 dataReaderHandler, HttpContext httpContext, String dataSourceName, List`1 args)
      ClientConnectionId:72047e37-8ca4-4d5c-9947-ebd8551d6518
      Error Number:15664,State:1,Class:16
      ClientConnectionId before routing:7783f539-dec7-4b05-810f-4a560d0de35b
      Routing Destination:*****
         --- End of inner exception stack trace ---

Code of Conduct

[X] I agree to follow this project's Code of Conduct

I figured out that when using "set-session-context": true that you have to add Pooling=False at the end of your connection string.
DATABASE_CONNECTION_STRING='Server=****;Database=****;TrustServerCertificate=true;Pooling=False;
If there is alternative solution to this , please let me know.
Could we do any of the following as enhancement?

Add to the documentation for solutions that "set-session-context": true to requests users of the DAB to add Pooling=False;
programmatically add it to a connection string
Clearing the session's claims with every call when using session-context to pass claims


Update traj-distribution notebook for updated leveldb structure

With Joseph's updates to the client, and the recent WS updates, the information about projects and work units is now stored inside each project directory inside ~server/server2/data/PROJXXXXX/project.leveldb it looks like. The keys in the database are now also project-oriented rather than WS-oriented
We'll want to update the notebook for generating histograms of FAH trajectories to properly read out the updated databases

Solved in #4 and #5


attest eventLog limit handling

I can see unexpected grows of attest reqlen which broke our attestation mechanism (server returns code 400). Seems we can firstly try to remove duplicated of eventlog (we have them for String/Binary representation) and try to reduce it to fit the limit.
Signed-off-by: Petr Fedchenkov<EMAIL_ADDRESS>

I have no information about usage of EventLog, so, tried to keep as much as possible. Now I drop log completely in case of large one found

I can see lots of grub related lines inside of /sys/kernel/security/tpm0/binary_bios_measurements. Seems it is the root cause of limit exceed (we are lucky to not hit the limit with few lines inside /config/grub.cfg, but with few additional lines we hit it).
Deduplication inside PR helps me to reduce the size from 65389 to 54405 and removing large lines after deduplication may helps to reduce it to 29133 (numbers are for comparison, they are based on EvenLog proto.Size).


API v2 - API input and output should go through JSON schema validation

Feature request.
The API should have a set of well-defined JSON Schemas that define which input and output values are validly formed. (Ripple Connect and RippleAPI do this already.) All API input should be verified against the schemas, and return an error if the request is not well-formed. Unit tests can use schemas to verify API output, as well.
It would also make documentation and testing much easier since there would be a single authoritative source to indicates which parameters each method can input and output. We could even use this to automate some aspects of API doc generation, as RippleAPI does.
This should be worked as part of API v2 vs bolting it onto existing APIs
Exported from RIPD-1101

Maybe even OpenAPI/Swagger definitions?

https://github.com/XRPLF/XRPL-Standards/discussions/101


GUI does not work with Mac Monterey

After updated to mac monterey, application no longer opens.  Appears to be an issue with Tkinter.

Note - Issue may just be local. Receiving "OSError: [Errno 89] Operation canceled".


fix(esxi): prevent fake template and real template from duplication

这个 PR 实现什么功能/修复什么问题:

[x] 功能、bugfix描述
[x] 冒烟测试

是否需要 backport 到之前的 release 分支:

release/3.7
release/3.6
release/3.5

/area region esxiagent
/cc @zexi

Codecov Report

Merging #10817 (ca0f888) into master (93ce4b3) will increase coverage by 5.34%.
The diff coverage is 0.00%.

@@             Coverage Diff             @@
##           master   #10817       +/-   ##
===========================================
+ Coverage    5.82%   11.17%    +5.34%
===========================================
  Files         898      147      -751
  Lines      138405    16947   -121458
===========================================
- Hits         8065     1894     -6171
+ Misses     129634    14860   -114774
+ Partials      706      193      -513

Flag
Coverage Δ

aFlag
11.17% <0.00%> (+5.34%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/multicloud/esxi/storage.go
0.00% <0.00%> (ø)

pkg/multicloud/esxi/storagecache.go
0.00% <0.00%> (ø)

pkg/cloudcommon/db/update.go

pkg/compute/models/natgateways.go

pkg/keystone/driver/cas/class.go

pkg/multicloud/ecloud/monitor.go

pkg/util/billing/billingcycle.go

pkg/mcclient/options/k8s/cluster_resource.go

pkg/compute/models/hostjoints.go

pkg/mcclient/options/k8s/pod_template.go

... and 742 more

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 93ce4b3...ca0f888. Read the comment docs.


gfx_device_gl: Add a new field allowing to use an externally managed framebuffer object as the display target.

Adds a new public field display_fb to the CommandBuffer structure in the gfx_device_gl backend. If not changed by the user it will have the value 0. This allows to use an existing framebuffer object as the drawing destination instead of the Framebuffer with name 0. Useful on iOS/tvOS where no default frame buffer exists and drawing can only occur on system provided renderbuffers.
I expect this be used with the create_main_targets_raw function to create the default color and depth targets. These will automatically use the framebuffer object given in the display_fb field.
If you are happy with this I would like to do more pull requests for better iOS support (e.g. only use supported OpenGL ES 3.0 features).

Thank you! This is some neatly detailed and documented piece of code, a pleasure to read ;)
I think the whole CommandBuffer struct of GL backend is quite unsafe w.r.t. exposed public fields, so that's something to note (and potentially address later on).

If you are happy with this I would like to do more pull requests for better iOS support (e.g. only use supported OpenGL ES 3.0 features).

Please do! 👏 👍
@homu r+

:pushpin: Commit a68e181 has been approved by kvark

:zap: Test exempted - status


Problem: Scheduled cron tasks are running multiple times

Issue
The scheduled tasks I create are being executed multiple times within their designated time frame. For instance, I scheduled a task to run at 4:00 AM, but it ended up being triggered approximately 40 times instead of just once.

Impact
Service (scheduled tasks, alerts)
Installation method
Docker
Database
MySQL
Browser
No response
Semaphore Version
v2.10.32
Ansible Version
ansible [core 2.17.5]
  config file = /etc/ansible/ansible.cfg
  configured module search path = ['/home/mac/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python3/dist-packages/ansible
  ansible collection location = /home/mac/.ansible/collections:/usr/share/ansible/collections
  executable location = /usr/bin/ansible
  python version = 3.10.12 (main, Sep 11 2024, 15:47:36) [GCC 11.4.0] (/usr/bin/python3)
  jinja version = 3.0.3
  libyaml = True

Logs & errors
No response
Manual installation - system information
No response
Configuration
No response
Additional information
No response

Looks like I had the CRON formatting wrong.


Demo primitives crate

This is to demo the new primitives crate. It does not aim to be the final state but rather just something we can show to downstream this week so they can build on it and get excited.
Note, this crate smashing is hard, there are many tradeoffs to be made. This branch tries to move stuff over as little as possible without having to solve all the problems now.

ooph, sorry man, I pushed this up because I did some Sunday morning hacking and I wanted Andrew to be able to take a look at it since we are in the same place right now. I should have said that in the PR description.

I think OutPoint should be at the root rather than just in transaction::

Need to enable hashes/serde on the serde feature of primitives

Killing this, we have too many draft PRs  laying around.


Resolved aws-swb PR comments

Issue #, if available:
Description of changes:
Resolved PR comments.

Used the canConnect boolean instead of creating a new boolean value.
Added test cases for admin owns the workspace and the restrictAdminWorkspaceConnection flag is set to true.

Checklist:

[ ] Have you successfully deployed to an AWS account with your changes?
[ ] Have you written new tests for your core changes, as applicable?
[ ] Have you successfully tested with your changes locally?
[ ] If new dependencies have been added, have they been pinned to specific versions?
[ ] Is this change also required on the AWS Solution version?
[ ] Have you updated openapi.yaml if you made updates to API definition (including add, delete or update parameter and request data schema)?
[ ] If you had to run manual tests, have you considered automating those tests by adding them to end-to-end tests?
[ ] If you are updating the changelog and vending out a new release, have you updated versionNumber and versionDate in .defaults.yml

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

Codecov Report

:exclamation: No coverage uploaded for pull request base (feat-tre-enhancements@430feeb). Click here to learn what that means.
The diff coverage is n/a.

:exclamation: Current head 6a69bd2 differs from pull request most recent head 8fdf934. Consider uploading reports for the commit 8fdf934 to get more accurate results

@@                   Coverage Diff                    @@
##             feat-tre-enhancements      #73   +/-   ##
========================================================
  Coverage                         ?   34.22%
========================================================
  Files                            ?       89
  Lines                            ?     4470
  Branches                         ?      785
========================================================
  Hits                             ?     1530
  Misses                           ?     2528
  Partials                         ?      412

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 430feeb...8fdf934. Read the comment docs.


Code is badly aligned. Replace Tabs by spaces.

Code is badly aligned. Replace Tabs by spaces.
Visual Studio inserts tabs which indent in VS by 4 columns, GitHub renders these as 8 columns.

Configure VS to not insert Tabs only spaces.
Fix the files where this occurred.

Done


add UGent membership to author

Describe the improvement
When adding or editing an author, I want to be able to indicate whether the author is member of UGent. Currently, I cannot change the membership. All authors are set as "External members" during the "Add a single publication workflow".
To Reproduce
If something does not work as expected, which steps did you take?

Go to 'Authors & Editors' tab of a draft publication
Click on 'pen' to edit an author

Expected behavior
In the column "membership, I expect to be able to change "External member" to "UGent member" through an editable field.
Screenshots

Desktop (please complete the following information):

OS: windows 10
Browser: chrome

Related context
Is it UGent member of time of publication or today?

ok now


C-strings support

I've noticed that char* is understood as a pointer to char, but not as common c-string char const*.
For example, strerror(int) function returns a char* string.
I would consider this as a bug, but not a feature request.

Thanks for reporting. For the reference, here's how const char* is supported (and treated as a string): https://github.com/Morgan-Stanley/binlog/blob/master/include/binlog/const_char_ptr_is_string.hpp
The comment includes the rational. This is already a trade-off. Treating char* the same way could result in serious bugs, e.g:
char carray[] = {1,2,3};
char* parray = carray;
BINLOG_INFO("{}", parray); // if char* were treated as a string, this would be UB

Because the language mixes strings and pointers, I don't see a way to resolve this, that is both convenient and always correct. Ideas are welcome!
strerror is especially troubling, because the use case you are presenting is pretty valid. Here's a workaround for now:
const char* cstrerror(int e) { return std::strerror(e); } // note the const char* return value
BINLOG_INFO("{}", cstrerror(EBADF));
// Outputs: Bad file descriptor

A different workaround is to cast the return value to const, or to wrap it with string_view:
BINLOG_INFO("{}", string_view(strerror(EBADF)));

@erenon Thanks for the fast reply. Imagine this code:
char c = 5;
std::cout << c;

What will you get? char is a special type and often treated specially. Same for char*:
char* s = (char*) "keke";
std::cerr << s;

Will print a "keke" string.
Acting like std::ostream  is more friendly, isn't it?

char c = 5;
std::cout << c;

On my platform, this will "print" a non-printable character. Also consider this:
int8_t c = 99;
std::cout << c;

It will print c. Not quite intuitive to me. What about this: I can add a header, binlog/char_ptr_is_string.hpp, that will make Binlog treat char* objects as strings, but clients have to include it explicitly, to remain on the safe side by default.
Would that be an acceptable solution for you?

@erenon (about code samples) That's right what I mean. char is treated specially by ostreams, not just like any other integer type.
Can you please make a macro for that, like ENABLE_CHAR_PTR_AS_STR_SUPPORT or so? It's easier including two headers instead of one is more complicated, and one of them can be occasionally omitted.

Such a macro can yield to confusion, e.g: if one header defines it, and the other does not: depending on the order, the macro will or will not take effect.
Experience shows that larger projects will have their own log header anyway (for custom log macros, categories, adoption for types and enums, preprocessor control of verbosity, etc), therefore the inclusion of the Binlog headers will be centralized.

I was thinking about it like a project-defined macro.
OK then, your solution is great too.
Also thank you for the work you do, already using it in my project (currently private) and fully satisfied with it!


Fixes related to square geometry

Fixed loading of ART files with animation
Fixed pathfinding for square geometry
Fixed Map rendering for square geometry
Fixed cursor offset

Added skipping


Updated version-detection algorithm.

Will now handle cases where multiple files in the
releases_dir are last-updated on the same commit,
without stomping out one of the files, when checking
for versions.

LGTM :+1:


[DEVHAS-94] Requeue the Component when its Application can't be found

Fixes https://issues.redhat.com/browse/DEVHAS-94
Updates the Component controller logic to requeue if a Component's Application cannot be found, or is not finished reconciling.

/retest

@johnmcollier do we want a simple test where we create a component before an application?

@maysunfaisal I'll update the existing test case (#4) that covered this scenario

@maysunfaisal Updated, thanks!


Apache 2.4 not compatible configs

Hi.
As far as we have hard-coded directives like
Order allow,deny
Allow from all

we having error on any page (Forbidden) at ubuntu 14.04 where apache 2.4 installing by default.

Possible solutions:

Fix this in role (separate templates for 2.2 and 2.4 versions of Apache)
Use current role, but pass full path to your own vhost.conf.j2 config like that:

apache_vhosts:
  - server_name: "domain.com"
    template: "{{ playbook_dir }}/templates/etc/apache2/sites-available/vhost.conf.j2"

Where you should replace
Order allow,deny
Allow from all

by
Require all granted


Automated Update

having @christiancompton look over this

LGTM. Let me know if we need to revert the SDK version bump, @christiancompton


Add hive connector

Which issue(s) this PR fixes:

Fixes # https://github.com/Shopify/feast-trino/issues/19
What this PR does / why we need it:
Follow up on https://github.com/Shopify/feast-trino/pull/29, this PR adds a Hive connector and shows how the config file would work
Does this PR introduce a user-facing change?:

Add a Hive connector

Please disregard this PR as this might be tackled with the previous one directly https://github.com/Shopify/feast-trino/pull/29

Done through https://github.com/Shopify/feast-trino/pull/29


UndefVarError: A not defined

I wanted to test your package then I installed the latest version. But, in the case of using the vcor function I got the following error:
julia> using VectorizedStatistics
       a = rand(2,2);
       b = vcor(a, dims=2);
ERROR: UndefVarError: A not defined
Stacktrace:
 [1] vcor(X::Matrix{Float64}; dims::Int64, corrected::Bool, multithreaded::Symbol)
   @ VectorizedStatistics C:\Users\Shayan\.julia\packages\VectorizedStatistics\8v2hJ\src\vcov.jl:186
 [2] top-level scope
   @ REPL[1]:3

What is A? I don't see any A here.

Here is the problem, I guess.
function vcor(X::AbstractMatrix; dims::Int=1, corrected::Bool=true, multithreaded=:auto)
    if (multithreaded===:auto && length(A) > 4095) || multithreaded===true
        _vtcor(X, dims, corrected)
    else
        _vcor(X, dims, corrected)
    end
end
export

It seems that there is an undefined A.

https://github.com/JuliaRegistries/General/pull/72332


Come on over to: https://github.com/gizmodata/gizmosql - the water's warm!

Hey folks - I've moved on to: "Gizmo Data LLC" - where I actively maintain a fork of this repo.
Check it out here: https://github.com/gizmodata/gizmosql
🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀

Whoa - it is cool over there!

Hey folks - I've moved on to: "Gizmo Data LLC" - where I actively maintain a fork of this repo.
Check it out here: https://github.com/gizmodata/gizmosql
🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀

@prmoore77 the project mentioned can be found?


Add some related model caching

@wesleykendall

@jaredlewis done with comments

@wesleykendall addressed those comments, im not sure how to do a release of this, not sure ive ever had to do a public release before

@jaredlewis merge into the main master branch on the main fork after this is merged. Then do python publish.py from the main repo


Expose core/collection tests for other packages to run against

For example, it would be great to not to have to write and re-write tests for custom implementations of List, Set, Map, etc. My imagined scenario here is using in package:collection, for example:
import 'package:collection/collection.dart';
import 'package:collection_test_suite/collection_test_suite.dart';

main() {
  runTestSuite(() => new DelegatingList());
}

I don't remember if we still support publishing packages from withing the SDK, but if yes, this could be feasible.
@lrhn what do you think?

I don't think we have any core-library tests that are in separate packages, but I don't see a fundamental problem with it. We can access packages inside the tests, so having a testIntegerMap function from a package instead of a local helper file shouldn't be a problem.
The biggest issue is that the tests aren't written for reuse, they do what we need them to do and nothing more. It would take some reworking to extract the useful, but not too specialized, tests from the existing test code.

I'm guessing this is infeasible


Poll LDORDY bit before continuing with ADC calibration

This bit does not exist on RM0468 ADC3

bors r+


README.md - better explanation and marketing

Explain in a few words what RollerworksSearch is and why its "so great".
/cc @cordoval

A new inspection was created.

The inspection completed: No new issues

A new inspection was created.

A new inspection was created.

The inspection completed: No new issues

The inspection completed: No new issues


Will there be a code/richtext editor widget?

I believe this is what JetBrains is very good at.

You can do it yourself, as I understand it is not a particularly difficult task, if you are interested I can throw off an example code of how to do this

You can do it yourself, as I understand it is not a particularly difficult task, if you are interested I can throw off an example code of how to do this

Phase do! I'm extremely curious

here's an example(it's not finished yet): HomeScreenUi.kt. Selection of text does not work quite correctly.
According to this scheme, you can easily make a text editor

There is no RichText component at the moment and yes, it is possible to create it with current API. There is already an issue about it - #1477 , so I'll close this one as a duplicate

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


Make the Plugin show up in the VS

[ ] Read https://wiki.unrealengine.com/An_Introduction_to_UE4_Plugins
[x] Make it show up

Just had to right click the uproject file and click regenerate

read the doc


RFC: Realizalbe constants error handling

Context
We have a few definitions that are lazily realized when they are actually used (equational theorems, functional induction theorem, the splitter, and there are more to come). For some of them the construction can fail, and it seems unlikely that we’ll make all of them work always anytime soon.
Status quo
If the process then every attempt to use the constant will run the process again. Log messages and exceptions are shown, in addition to a “unknown constant 'foo.bar'” error message.
Problem
This is not great because the work is repeated unnecessarily (e.g. imagine a try split in a tactic, trying to create the splitter over and over again), and the error messages are likely confusing to the user if the user is not aware of how realizable constants work.
This is also the reason why using #check foo.induct shows error messages twice, because #check happens to try to elaborate the name in different ways, and each attempts a realization.
Ideally, the visible behavior is as close as possible to the mental model of the users, which is that these realizable constants either had existed all along, or simply don’t exist.
Proposal
To get closer to that ideal, I suggest

To introduce a persistent env extension failedRealizations that stores the name of realizable constants that failed to realize. This is used to avoid trying to futilely realize a constant over and over again.
Log and error messages from the generation process are hidden by default (so that to the user it looks as if the constant is there or not.)
With set_option debug.realization true the messages are shown.

Variants
I thought about storing the log and error messages in the env extension so that it can be queried with a #print realization_errors foo.induct or so, but seems overkill. Maybe for debugging we’ll need a way to force realization even if there is an entry in failedRealizations.

#5864 should ensure error messages are printed at most once, all other elaboration threads will see a sorried-out constant. I don't think it's a good idea to hide error messages by default, I'd rather annotate them with the proper context.

(Let’s pause this discussion until parallelism lands)


Add support for languages in RF 5.1

Closes #646

Codecov Report
Base: 97.40% // Head: 97.36% // Decreases project coverage by -0.04% :warning:

Coverage data is based on head (f86d284) compared to base (ecf7139).
Patch coverage: 92.85% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #698      +/-   ##
==========================================
- Coverage   97.40%   97.36%   -0.05%
==========================================
  Files          23       23
  Lines        2893     2919      +26
==========================================
+ Hits         2818     2842      +24
- Misses         75       77       +2

Impacted Files
Coverage Δ

robocop/utils/file_types.py
97.22% <80.00%> (-2.78%)
:arrow_down:

robocop/config.py
93.15% <100.00%> (+0.04%)
:arrow_up:

robocop/run.py
90.11% <100.00%> (+0.11%)
:arrow_up:

robocop/utils/misc.py
98.67% <100.00%> (+0.01%)
:arrow_up:

robocop/checkers/lengths.py
98.33% <0.00%> (-0.47%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Proposal of breaking changes in 2.x

Changes
Vue 3
We plan to update Vue to version 3 in order to use the new slot API.
Constant naming conventions
We will replace constants in /src/shared/constants.js syntax from uppercase to camel case to be more conventional.
VTour options refactor
Plan to pass all VTour and VStep options in a single object.
Rename stop label
Buttons labels are configurable, enabled buttons too. We will rename stopButton by finishButton in /src/shared/constants.js.
Upgrade to Popper v2
In order to fix some placement issues, improve package bundle size, and get better performances, Vue Tour 2.0 will work with Popper v2.
Proposals
If you have any idea for vue-tour v2.x, feel free to comment this issue.

Hey @clemjlt, thanks a lot for your support!
Yes, you can now highlight elements. This is available in version latest version (1.3.0).

Awesome, I didn't realize you deployed that feature in V1. release, as you mentioned it was supposed to be packed with the V2. Anyway, thanks ! :)

我想问引导上一步该怎么删除，引导直接跳过，下一步，结束就行了。看官方api里面没有介绍。

Hi @HZooly, Anu update on Vue3 Support for the vue-tour package? Really looking forward to it. Our application vue3 upgrade is almost done except for the migration of this package. Thanks for all the work.

Hi @HZooly, Anu update on Vue3 Support for the vue-tour package? Really looking forward to it. Our application vue3 upgrade is almost done except for the migration of this package. Thanks for all the work.

Hello!
@mmorainville and I are currently learning Vue 3, we expect to release Vue 3 in December 😊

Hi, @HZooly. Happy new year :-) . Any update on this.

Hi, @HZooly. Happy new year :-) . Any update on this.

Hi,
A v2.x has been released! It's not compatible with Vue 3 yet (the Vue 3 will probably be vue-tour v3.x) but we have shipped two breaking changes:

Popper has been updated to v2.x
options are now all in camelCase

Our focus is now entirely on the Vue 3 version.

Hi @mmorainville , any expected date for Vue3 support.

Any expected date for Vue3 support?


Add modulesToAlias option

Certain libraries like react-native-web-lottie and react-native-web-linear-gradient recommend module aliasing for web compatibility. This PR adds a modulesToAlias option for this purpose.

Seems good, thanks for the contribution 🙇♂.
I will try it out later today :).


This lib is not working when deployment Flask Applications with uWSGI

This lib not working with uWSGI
Flow setup at link
https://www.digitalocean.com/community/tutorials/how-to-serve-flask-applications-with-uswgi-and-nginx-on-ubuntu-18-04
here code:
import sentry_sdk
from sentry_sdk.integrations.flask import FlaskIntegration

sentry_sdk.init(
<EMAIL_ADDRESS>    integrations=[FlaskIntegration()]
)

app = Flask(__name__)

This library does work with uWSGI. Please provide at least:

Output with init(debug=True)
What exactly is working wrongly (missing events)?
Exact steps you took to test

Hello @untitaker
Flow these steps:
https://www.digitalocean.com/community/tutorials/how-to-serve-flask-applications-with-uswgi-and-nginx-on-ubuntu-18-04
source code
init.py
import sentry_sdk
from sentry_sdk.integrations.flask import FlaskIntegration

sentry_sdk.init(
<EMAIL_ADDRESS>    integrations=[FlaskIntegration()]
)

app = Flask(__name__)

@app.route("/myurl/<foo>")
def myendpoint():
    print(1/0)
    return "ok"
if __name__ == "__main__":
   app.run(app)

example.ini
[uwsgi]
module = wsgi:app

master = true
processes = 5

socket = example.sock
chmod-socket = 660
vacuum = true

die-on-term = true

@henrytom1703 please tell me what behavior you expect and which behavior you observed. Also please attach the output of the uwsgi server when running with debug=True.

Closing due to inactivity and lack of information


Add support for utility functions call

It would be nice to make class FunctionInvocation and interface FunctionDefinition public or add support to call additional functions
For example utility function apoc.create.uuid()
MERGE (p:Person {id: apoc.create.uuid()})
SET p.firstName = "Michael", p.surname = "Hunger"
RETURN p

Good point, that is indeed missing and will be included in the next release. For usage see:
https://github.com/neo4j-contrib/cypher-dsl/blob/998af302de14e41925536a05c97810ced065ff2d/neo4j-cypher-dsl/src/test/java/org/neo4j/cypherdsl/core/ProcedureCallsIT.java#L119-L146


ci: Fix license check false pass

The license check workflow quietly stopped working after commit 8f66f854c3238d67de7c64da86a3de18bf3e4683. Upgrading the checkout action changed default behavior to only fetch one commit instead of all history for all branches, which caused an uncaught fatal error in the scancode action:
fatal: ambiguous argument 'origin/main..': unknown revision or path not in the working tree.
The scancode action then completed successfully having not actually checked anything.
Fix this by setting the checkout action fetch depth to 0, similar to other workflows.

https://github.com/zephyrproject-rtos/action_scancode/pull/16 to make the script fail on these errors

zephyrproject-rtos/action_scancode#16 to make the script fail on these errors

Thanks @fabiobaltieri !


Query about GSM8K evaluation

In Table 9 of the paper, your evaluation on GSM8K seems to use the 5 shot setting. May I know which evaluation library did you use? Is it lm-evaluation-harness or other existing GitHub implementations

Hi @HCY123902
Yes it's the default lm-evaluation-harness evaluation framework.
Best,
Yu

Thank you for your reply. I am trying to reproduce the results on GSM8K, and this is what I observed using lm-evaluation-harness v0.4.5.

Method
Setting
Result

LLAMA-3-8B-Instruct
5-shot + strict-match
75.74

+ DPOv0.1
5-shot + strict-match
71.27

+ SimPOv0.1
5-shot + strict-match
71.95

These results seem significantly higher than what is reported on Table 9 of the paper. Therefore, may I know your lm-evaluation-harness version and the exact settings used to reproduce the GSM8K results

Hi @HCY123902, apologies for the delayed response!
For testing GSM8k, we used the following command and evaluated with the git version b281b0921b636bc36ad05c0b0b0763bd6dd43463:
cd lm-evaluation-harness $1=princeton-nlp/Llama-3-Instruct-8B-SimPO python3 main.py --model=hf --model_args="pretrained=$1,dtype=bfloat16" --tasks=gsm8k --num_fewshot=5 --batch_size=4 --output_path=${OUTPUT_PATH} --no_cache
Let me know if you have any further questions!

Hi @xiamengzhou @yumeng5,
Regarding this issue, I have a quick question: Between the two evaluation metrics for GSM8K, strict-match and flexible-extract, which one would you prefer to highlight as the primary evaluation metric in your paper?
Best,
Yujia


Add support for multi-value metadata

Issue

Closes #1905
Change

General checklist

[x] There are no breaking changes
[x] I have added unit and integration tests for my change
[ ] I have manually run all the unit and integration tests in the module I have added/changed, and they are all green
[ ] I have manually run all the unit and integration tests in the core and main modules, and they are all green

[ ] I have added/updated the documentation
[ ] I have added an example in the examples repo (only for "big" features)
[ ] I have added/updated Spring Boot starter(s) (if applicable)

Checklist for adding new maven module

[ ] I have added my new module in the root pom.xml and langchain4j-bom/pom.xml

Checklist for adding new embedding store integration

[ ] I have added a {NameOfIntegration}EmbeddingStoreIT that extends from either EmbeddingStoreIT or EmbeddingStoreWithFilteringIT
[ ] I have added a {NameOfIntegration}EmbeddingStoreRemovalIT that extends from EmbeddingStoreWithRemovalIT

Checklist for changing existing embedding store integration

[ ] I have manually verified that the {NameOfIntegration}EmbeddingStore works correctly with the data persisted using the latest released version of LangChain4j

@langchain4j Done. I added an IT for storing, searching/filtering and retrieving multi valued metadata.

Hi, are there any updates on this PR to support multi values in Metadata? We would really appreciate it, as we are unable to retrieve points from the vector store (using Qdrant) that include multiple values, and it fails type checking in Metadata

Sorry for delays! Prioritizing this higher

Hi @lglauer @langchain4j, can I help you with this PR? My project is blocked due to this feature, although I'm hesitant to override @lglauer's work. Please let me know. Thanks

@Boonichi I started to refactor the PR to use collections. Sorry for not responding, I'm short on time currently.

@lglauer thanks a lot! Would you be able to do it this week? There is a release planned for next week, would be greate to get it in. No pressure though, if you don't have enough time, perhars @Boonichi could finish?

@lglauer I added a few comments and suggestions, but they are all quite minor and I'm open to discuss all of them. My main concern is allowing in the metadata only the kind of values that can be meaningful and just that. Please let me know your feedback, so we will try to include this improvement in the next minor release.
/cc @langchain4j


Rendering issues

glxinfo
Graphics card is an MSI Radeon RX 480. Arch Linux with kernel 4.10.8-1, mesa 17.0.2-2, amdgpu 1.3.0-1. I used rustup override nightly to compile with rustc version 1.18.0-nightly (452bf0852 2017-04-19).
I tried running the lorem-ipsum example with cargo run --example lorem-ipsum resources/tests/nimbus-sans/NimbusSansL-Regu.ttf and with cargo run --example lorem-ipsum /usr/share/fonts/TTF/FreeMono.ttf and got the pictured results. I tried a few otfs in /usr/share/fonts/OTF but they panicked.

Some more screenshots plus the atlas.

I am willing to work on this if you can give me some pointers on where to look.
I'm also interested in figuring out how to run opengl applications headlessly for testing purposes and documenting it.  For actual CI I think you'd need to install jenkins on an aws/gce gpu instance yourself.

I've tagged this issue as "classic", as it likely only applies to Pathfinder 1 ("classic Pathfinder"). Once Pathfinder 2 matures, this issue will be closed. Feel free to reopen if it is still an issue with the new version. Thanks!

This issue affected Pathfinder 1, which is now obsolete. Please feel free to reopen if this is still an issue with Pathfinder 2.


ormar example raises AttributeError when queried

I tried running the ormar example as is and it did not work:
# OS: macOS

(venv) $ python --version
Python 3.9.1

(venv) $ pip freeze
aiosqlite==0.17.0
click==7.1.2
databases==0.4.1
Faker==8.1.0
fastapi==0.63.0
fastapi-pagination==0.7.0
h11==0.12.0
ormar==0.10.4
pydantic==1.8
python-dateutil==2.8.1
six==1.15.0
SQLAlchemy==1.3.23
starlette==0.13.6
text-unidecode==1.3
typing-extensions==<IP_ADDRESS>
uvicorn==0.13.4

(venv) $ uvicorn pagination_ormar:app --reload
INFO:     Uvicorn running on http://<IP_ADDRESS>:8000 (Press CTRL+C to quit)
INFO:     Started reloader process [60370] using statreload
INFO:     Started server process [60372]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     <IP_ADDRESS>:58059 - "GET /docs HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:58059 - "GET /openapi.json HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:58059 - "GET /docs HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:58059 - "GET /openapi.json HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:58059 - "GET /users/limit-offset?limit=50&offset=0 HTTP/1.1" 500 Internal Server Error
ERROR:    Exception in ASGI application
Traceback (most recent call last):
  File "./venv/lib/python3.9/site-packages/uvicorn/protocols/http/h11_impl.py", line 396, in run_asgi
    result = await app(self.scope, self.receive, self.send)
  File "./venv/lib/python3.9/site-packages/uvicorn/middleware/proxy_headers.py", line 45, in __call__
    return await self.app(scope, receive, send)
  File "./venv/lib/python3.9/site-packages/fastapi/applications.py", line 199, in __call__
    await super().__call__(scope, receive, send)
  File "./venv/lib/python3.9/site-packages/starlette/applications.py", line 111, in __call__
    await self.middleware_stack(scope, receive, send)
  File "./venv/lib/python3.9/site-packages/starlette/middleware/errors.py", line 181, in __call__
    raise exc from None
  File "./venv/lib/python3.9/site-packages/starlette/middleware/errors.py", line 159, in __call__
    await self.app(scope, receive, _send)
  File "./venv/lib/python3.9/site-packages/starlette/exceptions.py", line 82, in __call__
    raise exc from None
  File "./venv/lib/python3.9/site-packages/starlette/exceptions.py", line 71, in __call__
    await self.app(scope, receive, sender)
  File "./venv/lib/python3.9/site-packages/starlette/routing.py", line 566, in __call__
    await route.handle(scope, receive, send)
  File "./venv/lib/python3.9/site-packages/starlette/routing.py", line 227, in handle
    await self.app(scope, receive, send)
  File "./venv/lib/python3.9/site-packages/starlette/routing.py", line 41, in app
    response = await func(request)
  File "./venv/lib/python3.9/site-packages/fastapi/routing.py", line 209, in app
    response_data = await serialize_response(
  File "./venv/lib/python3.9/site-packages/fastapi/routing.py", line 109, in serialize_response
    response_content = _prepare_response_content(
  File "./venv/lib/python3.9/site-packages/fastapi/routing.py", line 66, in _prepare_response_content
    return res.dict(
  File "pydantic/main.py", line 495, in pydantic.main.BaseModel.dict
  File "pydantic/main.py", line 859, in _iter
  File "pydantic/main.py", line 800, in pydantic.main.BaseModel._get_value
  File "pydantic/main.py", line 785, in genexpr
  File "pydantic/main.py", line 749, in pydantic.main.BaseModel._get_value
  File "./venv/lib/python3.9/site-packages/ormar/models/newbasemodel.py", line 700, in dict
    pk_only = object.__getattribute__(self, "__pk_only__")
AttributeError: __pk_only__
INFO:     <IP_ADDRESS>:58066 - "GET /users/default?page=0&size=50 HTTP/1.1" 500 Internal Server Error
ERROR:    Exception in ASGI application
Traceback (most recent call last):
  File "./venv/lib/python3.9/site-packages/uvicorn/protocols/http/h11_impl.py", line 396, in run_asgi
    result = await app(self.scope, self.receive, self.send)
  File "./venv/lib/python3.9/site-packages/uvicorn/middleware/proxy_headers.py", line 45, in __call__
    return await self.app(scope, receive, send)
  File "./venv/lib/python3.9/site-packages/fastapi/applications.py", line 199, in __call__
    await super().__call__(scope, receive, send)
  File "./venv/lib/python3.9/site-packages/starlette/applications.py", line 111, in __call__
    await self.middleware_stack(scope, receive, send)
  File "./venv/lib/python3.9/site-packages/starlette/middleware/errors.py", line 181, in __call__
    raise exc from None
  File "./venv/lib/python3.9/site-packages/starlette/middleware/errors.py", line 159, in __call__
    await self.app(scope, receive, _send)
  File "./venv/lib/python3.9/site-packages/starlette/exceptions.py", line 82, in __call__
    raise exc from None
  File "./venv/lib/python3.9/site-packages/starlette/exceptions.py", line 71, in __call__
    await self.app(scope, receive, sender)
  File "./venv/lib/python3.9/site-packages/starlette/routing.py", line 566, in __call__
    await route.handle(scope, receive, send)
  File "./venv/lib/python3.9/site-packages/starlette/routing.py", line 227, in handle
    await self.app(scope, receive, send)
  File "./venv/lib/python3.9/site-packages/starlette/routing.py", line 41, in app
    response = await func(request)
  File "./venv/lib/python3.9/site-packages/fastapi/routing.py", line 209, in app
    response_data = await serialize_response(
  File "./venv/lib/python3.9/site-packages/fastapi/routing.py", line 109, in serialize_response
    response_content = _prepare_response_content(
  File "./venv/lib/python3.9/site-packages/fastapi/routing.py", line 66, in _prepare_response_content
    return res.dict(
  File "pydantic/main.py", line 495, in pydantic.main.BaseModel.dict
  File "pydantic/main.py", line 859, in _iter
  File "pydantic/main.py", line 800, in pydantic.main.BaseModel._get_value
  File "pydantic/main.py", line 785, in genexpr
  File "pydantic/main.py", line 749, in pydantic.main.BaseModel._get_value
  File "./venv/lib/python3.9/site-packages/ormar/models/newbasemodel.py", line 700, in dict
    pk_only = object.__getattribute__(self, "__pk_only__")
AttributeError: __pk_only__

CC @collerek

Fixed in 0.10.5, @uriyyo can you please bum required ormar version >=0.10.5? And after that (and maybe additional check) you can close the issue ;)
Thanks!

Hi @collerek,
Thanks for a quick fix. Issue has been resolved 🙂


Fix: debug.console.wordWrap dont need restart

This PR fixes #76095
Change debug.console.wordWrap trigger onDidStyleChange

Thanks for this PR, however unfortunetly this does not fix the issue.
The tree does not allow to dynamicaly update the dynamicHeight option. The only way to fix this is to re-create the tree. And that I think is completely a different approach, thus closing this PR.
If you tested this, made sure it works, let me know and I can reopen

Thanks for this PR, however unfortunetly this does not fix the issue.
The tree does not allow to dynamicaly update the dynamicHeight option. The only way to fix this is to re-create the tree. And that I think is completely a different approach, thus closing this PR.
If you tested this, made sure it works, let me know and I can reopen


Incorrect Join Filtering example

The join filtering example shown on this page
http://tableau.github.io/webdataconnector/docs/wdc_join_filtering.html
indicates that the foreignKey attribute should be set on the table definition, but the API reference page indicates that it should actually be set on the column definition
http://tableau.github.io/webdataconnector/docs/api_ref.html#webdataconnectorapi.columninfo.foreignKey

@antoniustefan  Thanks for pointing out this inconsistency.  The join filtering example has been updated. The foreignKey attribute must be set on the column, as indicated in the API reference page. The way the example was written would previously throw an exception.  This is no longer the case.
https://tableau.github.io/webdataconnector/docs/wdc_join_filtering.html


Fixes for geometry edition when latitude/longitude is out of bounds

From https://github.com/CartoDB/cartodb/pull/11048#issuecomment-267012424
When adding/editing geometry we check that the longitude is in the [-180,180] range. However, we do not fix it automatically, so if you scroll the map a bit to the east (so it wraps around) before adding geometries, you will get errors.

[ ] I propose automatically wrapping geometries when adding them graphically, while keeping the validation for manually edited geometries (writing the geojson). I think that is a nice addition to user-friendliness, but of course, not critical.

[ ] Also confusing when editing an existing feature if you have moved the map a lot, as the edition point will appear just in the center [-180,180] interval. So if you have moved your map and click edit feature, the edition pointer will not appear.

[ ] Also, in the original issue, we didn't add validation for lines/polygons, only for points. Validation for other geom types should also be added.

cc @xavijam

Yes, Builder should know that Earth is not flat :-)

I'm starting to add validation for rest of geometries here https://github.com/CartoDB/cartodb/pull/12397 however I'm not quite convinced about wrapping the geometries
take for example adding a polygon, you'd add the first point in the offset map (i.e. [0,0] in the real map) so when adding the next vertexes the leaflet drawing tool would link to the real[0,0] from the offset map, crossing the 180th Meridian, which would be weird at the moment of drawing (if I'm not wrong you can't have a geometry in the leaflet map and another one in the featureModel)
please give your opinion

Deployed.


make StringBuilder an explict argument to convert functions

It looks like this PR is /only/ deleting the sb field from ModuleToKore and passing it as a parameter everywhere, not actually taking advantage of the new API to construct multiple StringBuilders, is that correct?

Currently yes. In my later PR, I will call convert(K k, StringBuilder sb) with a different String builder to build some terms that will be used later in the code generation.


$.clone doesn't clone delegated events

This test fails but should not:
    var element = $.create("div", { class: "parent",  contents: "This is the parent" });
    element._.delegate("click", "p", function() {
      done();
    });

    var child = $.create("p");
    element.appendChild(child);

    var clone = $.clone(element);

    var ev = document.createEvent("MouseEvent");
		ev.initMouseEvent("click", true, true, window, 0, 0, 0, 0, 0, false, false, false, false, 0, null);
    clone.childNodes[1].dispatchEvent(ev);

I believe it works if you do $.create("p", {}). $.create("p") creates a text node, so it won't match the selector "p" in the delegate call.

Oh, I see there was more discussion about this in #70. @LeaVerou, can you verify what I just wrote?

@guoguo12 You're right about the glitch with the text node, but the event still doesn't fire.
		var element = $.create("div", { class: "parent",  contents: "This is the parent" });
    element._.delegate("click", "p", function() {
      done();
    });

    var child = $.create("p", {});
    element.appendChild(child);

    var clone = $.clone(element);

    var ev = document.createEvent("MouseEvent");
        ev.initMouseEvent("click", true, true, window, 0, 0, 0, 0, 0, false, false, false, false, 0, null);
    clone.childNodes[1].dispatchEvent(ev);

And either I'm really blind today, or it won't even work using addEventListener on the clone when bliss is used:
var parent = document.createElement("div");
var child = document.createElement("span");

parent.appendChild(child);

var clone = parent.cloneNode(true);

clone.addEventListener("click", function() {
  done();
});

var ev = document.createEvent("MouseEvent");
ev.initMouseEvent("click", true, true, window, 0, 0, 0, 0, 0, false, false, false, false, 0, null);
clone.querySelector("span").dispatchEvent(ev);

Nota bene: This JSFiddle demonstrates that this code should be okay.

@AVGP: Hmm, interesting. Are you saying it only fails during the Karma test?

Yes. It's weird, isn't it?
Here's yet another sample of what works:
<!doctype html>

Click me

Are you sure that's the only
 tag on the page when you run that code?

@zdfs I don't see how that matters here?
The only
 elements are the one in the original element and in the clone.
clone.querySelector only matches on the descendants of clone anyway... do I misunderstand how delegate works?

I see it now. Sorry. I was worried for a second that maybe the delegated event wasn't actually being called. I need more coffee.

No worries, I just wanted to make sure I'm not missing the elephant in the room ;-)

What about adding actual contents to the p tag. In my local testing, this seems to work.

This:
var element = $.create("div", { class: "parent",  contents: "This is the parent" });
element._.delegate("click", "p", function() {
  done();
});

var child = $.create("p", { contents: 'test' });
element.appendChild(child);

var clone = $.clone(element);

var ev = document.createEvent("MouseEvent");
    ev.initMouseEvent("click", true, true, window, 0, 0, 0, 0, 0, false, false, false, false, 0, null);
clone.childNodes[1].dispatchEvent(ev);

@zdfs Yes, that, too, works in a normal page but not in Karma... what the heck?

Weird. It's working in Karma for me.

You're passing the done parameter, right?

Probably unrelated, but might make your life easier when dealing with DOM items.
Have you tried out using HTML fixtures?  I just merged your PR.

@zdfs unfortunately yes.
I'll try later if HTML fixtures work or if it's just my local Karma + Chrome Beta combination that behaves weird...

Regarding the $.create() issue:

This is exactly why we shouldn't be using Bliss methods in tests, apart from the one being currently tested.
I wonder if the mistake hints that the API is confusing. Especially since, I didn't even notice it when I first read the code! Treating plain strings as text nodes is certainly useful inside $.contents(), but not sure about $.create(). Think about it: If there's a second parameter, it creates an element. If there's only one, but it's an object, it creates an element. If there's NO parameter, it still creates an element. And if there's one, which is a string, it creates a text node?! I think it's internally inconsistent and we need to change it and move the text node logic to $.contents() instead. Thoughts?

Agreed. It's currently way too confusing.
On Dec 11, 2015 12:30 PM, "Lea Verou"<EMAIL_ADDRESS>wrote:

Regarding the $.create() issue:

This is exactly why we shouldn't be using Bliss methods in tests,
apart from the one being currently tested.
I wonder if the mistake hints that the API is confusing. Especially
since, I didn't even notice it when I first read the code! Treating plain
strings as text nodes is certainly useful inside $.contents(), but not
sure about $.create(). Think about it: If there's a second parameter,
it creates an element. If there's only one, but it's an object, it creates
an element. If there's NO parameter, it still creates an element. And if
there's one, which is a string, it creates a text node?! I think it's
internally inconsistent and we need to change it and move the text node
logic to $.contents() instead. Thoughts?

—
Reply to this email directly or view it on GitHub
https://github.com/LeaVerou/bliss/issues/73#issuecomment-164040587.

Agreed.

Done. :)

Apart from the $.create() issue, is the actual bug reported here still valid? If not, we should close this.


Multiple BN window corrupts Binary Ninja menu

Version and Platform (required):

Binary Ninja Version: 3.6.4712-dev Personal, 599e2ad7
OS: macos
OS Version: 14.1
CPU Architecture: arm64

Bug Description:
When we have multiple BN instance, Binary Ninja menu have some duplicated entries.
Steps To Reproduce:

Open multiple BN instance
Click Binary Ninja menu
See there are multiple entries

Screenshots:

This is a QT bug and a duplicate issue of https://github.com/Vector35/binaryninja-api/issues/2630


Mesh cache purging

The crate uses a global mesh cache.
It is not being cleaned up at all, resulting to polluted cache, when:

user does not render with a specific font anymore
user creates glyphs with varying depths (maybe generate mesh with constant depth, and change vertice depths at runtime?)

The first point could probably be improved by beeing able to manually clear the cache for a certain font.
Regarding the second point I would definetly only store the mesh with a depth of one (+ maybe the flat 2D mesh) and then scale the depth component as needed during runtime. The same should probably be done regarding the different font sizes (e.g. store one fixed size mesh and scale it as needed to accomodate for different font size).


No Crafting Recipes for Waxed Lanterns

Version
5.0.0
Problem
No crafting recipes for lantern + honeycomb exist to create waxed lanterns
Expected behaviour
Much like the blocks, for there to exist waxing recipes for the lanterns.

Ah I feel very silly for not catching this earlier, but the added recipes are only for the unaffected lantern, while the recipes were missing for all lanterns, and so are still missing for the infected, corrupted, and zombified ones.


Question about task.json

Guys, please need your assists.
Where can I find information about structure of task.json file and explanation of different keys, parameters, properties in the task.json file. I am working on creating custom task for my needs. I want to use all possible facilities.
I Used  "inputs", "groups", "sourceDefinitions" maybe exist others ? where i can get  a full list of that.
"properties": {"DisableManageLink": "True"} - Big question. Which they can be, and how can I find that

Unfortunately, we need to publish a schema doc.   It's high on our backlog.  The best resource is these open source tasks as a reference.  We will get to it soon.

Thank you for your reply

Resolving to backlog.  We will add schema support soon.