Words without an accent are no longer warned

Hello, thank you very much for this extension, it seems essential to me.
I work with 3 languages at the same time, firstly for the code I use words in English, variables, etc, secondly I use comments in Spanish and English and also within the same file values are included as a text string in Spanish and Catalan that are stored in components that are then shown on the screen to the client.
Well, until recently it was great for me to be able to correct accents because the corrector warned me when a word was without an accent, now it does not warn me and it is a problem for me because in the end I have to get out of visual studio code to make sure if text strings are correct or not.
I understand that for some programmers it is not necessary to mark the words without accent as an error but I do need it because I mix code with strings that are displayed on the screen.
Is there the possibility of activating and deactivating the option to indicate the words without accent according to the need of each programmer?
I do not understand why the option to warn words that do not have an accent has been removed, programmers if they use text strings as variables that carry accents can ignore them with // cSpell: ignore varWithAccent1 , varWord2, varWord3, etc
I think that the default warning of the words without accent as it was previously is the correct thing to do.
Thanks!

Ok, thank you very much I have modified cspell.json and the accents work again, what I don't understand is because my cspell configuration interface is different from your capture but hey, thank you very much!


[VTA][Chisel] deploy classification not working when timer() is used

The deploy_classification.py tutorial does not work when used with Chisel based targets such as TSIM and DE10NANO, suggesting this is a runtime related issue coupled with the Chisel based implementation.
The test runs successfully when replacing the timer() call on line 255 with a direct call to the inference model m.run(), suggesting that the problem maybe due to bad state or re-initialization across subsequent runs commanded by the timer() module which by default makes 12 runs.

Please comment about the state of the issue. Whether there are actionable items, or should it be closed

The issue is still open, as far as I know a fix has not been made.

cc @liangfu @vegaluisjose @tmoreau89

I think this is actually a hardware issue in Chisel implementation of VTA. An incorrect result takes place when we run multiple cycles of inference, due to buffer is contaminated in the first cycle.

@liangfu can you comment the state of the issue? is it possible to fix? or shall we simply close it due to the inability to take further actions


Dashboards rename related changes

opendistro-for-elasticsearch/security pull request intake form
Please provide as much details as possible to get feedback/acceptance on your PR quickly

Category: (Enhancement, New feature, Bug fix, Test fix, Refactoring, Maintenance, Documentation)
Enhancement, Documentation

Github Issue # or road-map entry, if available:
N/A

Description of changes:
Incorporate dashboards name change to security plugin

Why these changes are required?
filling gaps for dashboards name changes

What is the old behavior before changes and new behavior after changes? (Please add any example/logs/screen-shot if available)

Testing done: (Please provide details of testing done: Unit testing, integration testing and manual testing)
unit tests, manual tests

TO-DOs, if any: (Please describe pending items and provide Github issues# for each of them)

Is it backport from main branch? (If yes, please add backport PR # and commits #)

By making a contribution to this project, I certify that:
(a) The contribution was created in whole or in part by me and I
have the right to submit it under the open source license
indicated in the file; or
(b) The contribution is based upon previous work that, to the best
of my knowledge, is covered under an appropriate open source
license and I have the right under that license to submit that
work with modifications, whether created in whole or in part
by me, under the same open source license (unless I am
permitted to submit under a different license), as indicated
in the file; or
(c) The contribution was provided directly to me by some other
person who certified (a), (b) or (c) and I have not modified
it.
(d) I understand and agree that this project and the contribution
are public and that a record of the contribution (including all
personal information I submit with it, including my sign-off) is
maintained indefinitely and may be redistributed consistent with
this project or the open source license(s) involved.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #1173 (7d15dee) into main (9328d08) will decrease coverage by 0.03%.
The diff coverage is 40.00%.

:exclamation: Current head 7d15dee differs from pull request most recent head 478bfff. Consider uploading reports for the commit 478bfff to get more accurate results

@@             Coverage Diff              @@
##               main    #1173      +/-   ##
============================================
- Coverage     64.51%   64.47%   -0.04%
- Complexity     3170     3171       +1
============================================
  Files           245      245
  Lines         17128    17128
  Branches       3035     3035
============================================
- Hits          11050    11044       -6
- Misses         4538     4545       +7
+ Partials       1540     1539       -1

Impacted Files
Coverage Δ

...opensearch/security/rest/DashboardsInfoAction.java
25.80% <0.00%> (ø)

...va/org/opensearch/security/support/ModuleType.java
89.09% <100.00%> (ø)

...org/opensearch/security/rest/TenantInfoAction.java
77.61% <0.00%> (-10.45%)
:arrow_down:

...a/org/opensearch/security/tools/SecurityAdmin.java
47.52% <0.00%> (+0.13%)
:arrow_up:

Continue to review full report at Codecov.

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


treewide: enable working, fix fixable, disable broken tests

Motivation for this change
Yet another^4 (v2) followup to #39464.
Things done

Writing from a system with these changes applied on top of SLNOS (NotchB) and doCheckByDefault set, so I think it should work sane enough on top of Nixpkgs too.
But I have not built everything this touches yet (in progress) and I still have some patches on the topic that might have influenced my builds, but they need some more work and I'm out of steam on this ATM.

Expectations

When to merge: ASAP, but not earlier than in 24 hours.
If I'm MIA and this starts conflicting with something just skip conflicting patches from this branch, I'll respin them later.

I rebased the fixes to comments and added all the required patches to build all the packages this touches with doCheckByDefault enabled (unless they conflicted, those I will respin later). I also built all of said packages.
So, in short, I think this should be ready to merge, but even if you see no issues, please wait till noon UTC tomorrow, just in case.
@matthewbauer

This looks like we should just leave off it isn't working.

Yep, removed.

I think it's considered more portable to do stdenv.shell instad of ```${bash}/bin/bash.

Done.

This might still be needed when stdenv.hostPlatform /= stdenv.buildPlatform;

Nope, before this doCheck was set to true so that code was never ever run.
@jtojnar

Could you keep the comment?

Done.
The original version is kept as docheck/continues-in-a-big-way-v1 branch in my repo for diffing.

In "Motivation for this change", can you please describe the actual motivation rather than point to different PRs/issues? For example, this PR's motivation refers to #39464, which helpfully is entitled "stdenv: implement most of #33599" and whose motivation says "see #39463". That's not very helpful with a PR that causes an enormous amount of code churn (127 files changed).

@edolstra >.< IMHO This PR's title clearly describes what this does and combined with ": (fix|disable) tests"-like commit messages I'm hard pressed to come up with something better.

actual motivation

Sorry, but I can not be not snarky about this, either don't take this personally, or ignore the rest of the comment.
Eh? "I want to run tests provided by package authors, I want packages explicitly specify when some of their tests are broken, I don't want broken tests to prevent me from building the rest of my system until said tests are fixed." Duh? IMHO clicking the #33599 link would've saved you from writing that comment.
I copied issue titles into the OP (for people that can't click more than one layer deep, I guess) and edited #39464's OP to be a bit clearer (that one could've been better, true, but that striked out OP was written that way because #39464 is the central PR, but #39463 was PRed before it, and so it made sense to do it that way at the time).

I looked over this with a fresh head and could find only several minor OCD things.
Old versions are kept as docheck/continues-in-a-big-way-v2 (the version before today) and docheck/continues-in-a-big-way-v2-ocd (the version with ocd spelled out) for diffing. I squashed OCD patches into the current version.
It merges with staging, it evaluates, everything compiles. LGTM. It's perfect. Let's merge.

ping @matthewbauer @Ericson2314 @7c6f434c
Could somebody please merge this? I think this can only get worse, not better, with coming conflicts.

Seems fine, and with all the semi-auto-updates we need the tests eventually enabled…


fix(elements): allow 'right' on iconPosition for Label

Using 'right' as iconPosition currently produces a warning for failed prop type.

I'm having this same issue right now

Duplicate of #1802.


[Feature Request] Tutorial for custom env with complex shapes

🚀 The feature, motivation and pitch
I am totally unable to create a EnvBase subclass, where the *_spec attribute have complex shapes.
For example, I have a state with shape (8,8,13), what shape/batch size should i give to the observation_spec? If I have an action of shape (8,18), what value to the batch size of action_spec?
        self.action_spec = BoundedTensorSpec(
            minimum=0,
            maximum=1,
            shape=action_space.size(),  # `action_space` is a (N,) one-hot tensor
            dtype=self.dtype,
        )

        observation_spec = BoundedTensorSpec(
            low=0,
            high=1,
            shape=state.size(),  # `state` is a 8x8x13 tensor
            dtype=self.dtype,
        )
        self.observation_spec = CompositeSpec(observation=observation_spec)

Would this work?
Solution
A tutorial where the shape attribute/argument is better explored will suffice. Just give examples of all edge cases, for how to use shape.

We can document this better.
In general the idea is that your composite spec has the shape of the batch size (it can be empty) and the leaves have that size plus their feature size.
Examples:
Your env has a single agent, no batch-size.
full_composite_spec has shape []
Its leaf has the shape of the feature (eg [3, 64, 64] if you have an image of 64 pixels width/height).
If you have a batched env with 2 agents it could have a batch size [2]. This is what will happen with a ParallelEnv for instance. All its specs will have a leading shape of [2, *], meaning that your full_composite_spec will have a shape of [2] and the leaf will have shape [2, 3, 64, 64].
Final case: your env has no batch size but it simulates several groups of agents (MARL setting). A first group named agents1 has 3 identical members and a second, agents2 has 4. The first outputs images from its steps and the second outputs a state vector of shape 5.
Here's how to build it:
full_observation_spec = CompositeSpec(
    agents1=CompositeSpec(pixels=SomeSpec(3, 3, 64, 64), shape=[3]),
    agents2=CompositeSpec(state=SomeOtherSpec(4, 5), shape=[4]),
shape=[])

I hope that clarifies things a tiny bit


ADR 8: change "Decision outcome"

Description of the changes being introduced by the pull request:
After a discussion with Jussi, we realized that there are a couple of
places where we don't want to allow unrecognized fields because the
they are sensitive dictionaries and the specification requires an items
of certain types inside them.
The places where we don't want to allow unrecognized fields are
"keys", "roles", "meta", "hashes" or "targets".
This is pr is updating ADR8 with the decision we already take in #1466.
Signed-off-by: Martin Vrachev<EMAIL_ADDRESS>

@jku can you review that pr given that we have discussed unrecognized fields support with you in a couple of prs and issues.

:shrug: well I merged it

I think that was appropriate. The goal of ADRs is to provide design documentation and make implicit assumptions explicit, so updating ADRs to capture nuance like this seems sensible to me.


Resolve errors from flake8

Continued from https://github.com/ambuda-org/ambuda/pull/303
Completed flake8 run without errors. Resolved spaces, characters, and redefinitions  and imports errors:

    W291  # trailing whitespace
    F541  # f-string is missing placeholders
    F811  # redefinition of unused function

    F401  # imported not used
    F403  # import used; unable to detect undefined names

Test plan:

All tests from make install passed
devserver comes up

@akprasad, all issues seem to be resolved. If you approve, merge this one.
I'll pull these changes into https://github.com/ambuda-org/ambuda/pull/318 after this merge.

Overall LGTM, just one last comment about migrations/versions/481c959deb21_add_text_metadata.py`.


Fix hot function example link

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


additional kargo config commands

Currently we can only do kargo config set-project <project>.
I'd like if we also had kargo config view (view the whole config file) and kargo config get-project.
This would make it behave more like kubectl overall and would also stop users from having to hunt down and cat their config file just to see what their current default project is.

As we are getting close to the release, I'll pick this up to have it ready (and reviewed) on time.


阿斯达

Coverage decreased (-0.03%) to 30.924% when pulling 300956b4b9b776384ab1597d893c3f922cdb73e7 on tuibian:master into 364fdeffc95888f16994c480bcc9397b7ade2070 on sentsin:master.


Typos

Hey @veggiemonk
just some minor typos and readability stuff...
Cheers!

thank you for the update, much appreciate it +1

No worries, happy to help out @mash1t


How to change a node to be an edge?

I have some nodes and some edges. And they were rendered. Now I wanna change some nodes to be edges. What can I do?

Firstly, delete remove exist graph and reCreate graph.
It's not a good way.


-y option (replace run) should also work in qw/lists.pl of.pl perl.pl scripts.pl/

-y option (replace run) should also work in qw/lists.pl of.pl perl.pl scripts.pl/

Fixed in v1.027


google-drive-ocamlfuse: command not found

copied compose and installed.  When I try to run the google-drive-ocamlfuse commend, I get a "command not found" error.  Strangely, when I tab to autofill, the only option is google-drive-ocamlfulse_local_  ... but also get same error message.
I'm completely new to Docker and Linux so please forgive me for any newb type mistakes.

Could you please share your full compose file (delete sensitive stuff), and the command you tried to run, and from which environment (inside the docker container or from host?)

I think justforfun20 and I may be running into the same problem. I'm running on a headless CentOS 7, and my docker setup is known good. I followed headless authorization instructions at https://github.com/astrada/google-drive-ocamlfuse/wiki/Headless-Usage-&-Authorization .
Here's the compose.yml, which is identical except for the credentials (details copied from the .json file provided by Google to minimize errors, and yes, I did remove the tail from CLIENT_ID).
version: '3'
services:
  google-drive-ocamlfuse:
    container_name: google-drive-ocamlfuse
    image: maltokyo/docker-google-drive-ocamlfuse:0.7.22 # this version is in sync with the official google-drive-ocamlfuse release, starting at 0.7.19
    restart: always
    environment:
      # below are must have for first run only, after that comment them out!
      CLIENT_ID: "..."
      CLIENT_SECRET: "..."
      VERIFICATION_CODE: "..."
      MOUNT_OPTS: "nonempty,allow_other" #nonempty will ensure that it still will mount even if you have some leftover artefacts/rubbish inside the mount dir on your host. That is dangerous if you have something in there, so ensure it is empty when you begin
    security_opt:
      - "apparmor:unconfined"
    cap_add:
      - "mknod"
      - "sys_admin"
    devices:
      - "/dev/fuse"
    volumes:
      - "./google-drive-ocamlfuse_local_data:/mnt/gdrive:shared" # change the first path to where you want to store your local data to sync with google drive
      - "./google-drive-ocamlfuse_local_config:/config/.gdfuse/default" # change the first path to where you want to store your config data

And here's a log
2021-04-03T14:02:07.704394227Z creating gdfuser group for gid 0
2021-04-03T14:02:07.742059215Z creating gdfuser group for uid 0
2021-04-03T14:02:07.795918971Z taking ownership of /config for gdfuser
2021-04-03T14:02:07.801474539Z initializing google-drive-ocamlfuse...
2021-04-03T14:02:07.895939763Z Please, open the following URL in a web browser: https://accounts.google.com/o/oauth2/auth?client_id=[...].apps.googleusercontent.com&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fdrive&response_type=code&access_type=offline&approval_prompt=force
2021-04-03T14:02:08.152170135Z Cannot retrieve auth tokens.
2021-04-03T14:02:08.152237563Z Failure("Unexpected error response: {\n  \"error\": \"invalid_grant\",\n  \"error_description\": \"Bad Request\"\n}")
2021-04-03T14:02:08.162873355Z Please enter the verification code: mounting at /mnt/gdrive
2021-04-03T14:02:08.249136771Z /bin/sh: 1: xdg-open: not found
2021-04-03T14:02:08.253513459Z /bin/sh: 1: firefox: not found
2021-04-03T14:02:08.258103627Z /bin/sh: 1: google-chrome: not found
2021-04-03T14:02:08.263125819Z /bin/sh: 1: chromium-browser: not found
2021-04-03T14:02:08.268426519Z /bin/sh: 1: open: not found
2021-04-03T14:02:08.268742551Z Error: Error opening URL:https://accounts.google.com/o/oauth2/auth?client_id=[...].apps.googleusercontent.com&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fdrive&response_type=code&access_type=offline&approval_prompt=force
2021-04-03T14:02:09.749403159Z existing google-drive-ocamlfuse config found
2021-04-03T14:02:09.749475651Z mounting at /mnt/gdrive
2021-04-03T14:02:09.845234823Z /bin/sh: 1: xdg-open: not found
2021-04-03T14:02:09.850064943Z /bin/sh: 1: firefox: not found
2021-04-03T14:02:09.855221295Z /bin/sh: 1: google-chrome: not found
2021-04-03T14:02:09.860460207Z /bin/sh: 1: chromium-browser: not found
2021-04-03T14:02:09.865996371Z /bin/sh: 1: open: not found
2021-04-03T14:02:09.866339655Z Error: Error opening URL:https://accounts.google.com/o/oauth2/auth?client_id=[...].apps.googleusercontent.com&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fdrive&response_type=code&access_type=offline&approval_prompt=force

The log then repeats the last 8 lines forever, with increasing delays.
At a guess, I think the problem might lie somewhere around the su-gdfuser-echo-pipe line? It seems like it's not accepting the verification code on the first run.

I just updated the docker image to the latest version, does that still happen?  please use docker image tag/version 0.7.26


Added main cake repo requirement for MyGet publish

I wan't do be able to automatically build my fork of Cake too on AppVeyor. Currently it fails when trying to publish to MyGet because it lacks the proper ApiKey, obviously forks shouldn't publish to Cake MyGet feed.
So what I propose is that we check which repo is built and only if it's cake-build/cake should we publish to MyGet, this enables automatic builds of forks with the standard build.cake

Looks good to me :+1:
Should I merge it or will you?


Cross distro support

Describe the problem
Some compiling tools set interpreter to nix store
Some users may compile with nix tooling and run on Linux LSB FHS

On Devenv: Developer :grinning:  -> Server FHS: Ops :sob:
On Devenv: Developer :grinning:  -> CI/CD On Devenv: DevOps :grinning: -> Server FHS: Ops :sob:

:sob: fail to run :grinning: Happy
To Reproduce
cc  hello.c -o hello
ldd hello
# /nix/store/lyl6nysc3i3aqhj6shizjgj0ibnf1pvg-glibc-2.34-210/lib/ld-linux-x86-64.so.2 => /nix/store/4nlgxhb09sdr51nc9hdm8az5b08vzkgx-glibc-2.35-163/lib64/ld-linux-x86-64.so.2 (0x00007f2a584be000)

Copy to machine without Nix store
./hello
exec: Failed to execute process './hello.a': The file exists and is executable. Check the interpreter or linker?

Then apply patchelf
cp hello hellow
patchelf  --set-interpreter  /lib64/ld-linux-x86-64.so.2 hellow

Copy to a machine without Nix store
./hellow
Hello, World!

Related: #145

Would this entail static compilation?

I'm a newbie on this topic. I don't know what would be the best solution.
Options

Apply patchelf
Apply patchelf and pack to deb/rpm with fpm, translating deps names to platform pkgs
Nix bundle
Static compilation with musl
Static compilation with cosmopolitan
Systemd portable services


two ways of calculating spectrogram used in audio.wav2spec()

In audio_processor.py class openVoiceFilterAudioProcessor  the function wav2spec(self, y) first use torchaudio to calculate spectrogram (which not seems to be used), then use librosa.stft to calculate spectrogram again and return this result.
why to do this twice?

Thanks, It's a bug. I was doing a speeds test, and forget to comment the torchaudio spectrogram calculation. Bug solved with my latest commit :).


New package: FundamentalsNumericalComputation v0.3.2

Registering package: FundamentalsNumericalComputation
Repository: https://github.com/fncbook/FundamentalsNumericalComputation.jl
Created by: @tobydriscoll
Version: v0.3.2
Commit: 1baf7940db8e60de0e6fc87f6faf3c292510c8df
Git reference: HEAD
Description: Core functions for the Julia (2nd) edition of the text Fundamentals of Numerical Computation, by Driscoll and Braun.

Presumably superseded by #58698


[WIP] ci: Fix change detection (part 2)

fix stage dependency
fix change detection
add some debugging information

Signed-off-by: Ryan Northey<EMAIL_ADDRESS>
This fixes the jq expression to use "slurp" to ensure the json is a single list (and works with subsequent code), and adds some debugging info
also adds a not(cancelled()) condition to the check stage as the dep on env is triggering this when the run is cancelled
Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

@alyssawilk apologies - i thought i had tested this bit out sufficiently - but evidently not

this seems to work:
https://dev.azure.com/cncf/envoy/_build/results?buildId=122158&view=results

/retest


docs: add guidelines for linting, formatting, and commit conventions

PR Checklist
Please check if your PR fulfills the following requirements:

[ ] The commit message follows our guidelines: https://refine.dev/docs/guides-concepts/contributing/#commit-convention

Bugs / Features

[ ] Related issue(s) linked
[ ] Tests for the changes have been added
[ ] Docs have been added / updated
[ ] Changesets have been added https://refine.dev/docs/guides-concepts/contributing/#creating-a-changeset

What is the current behavior?
What is the new behavior?
fixes (issue)
Update ACT packagage  since import {act} from 'react-dom/test-utils'; is deprcated
Notes for reviewers

Hey @Andrewx24, PR title and the change in the PR doesn't match, any chance that you've picked up the wrong branch or wrong title for it? We'll be waiting for the correction 😅

Closing due to inactivity. Thank you for your time! Let us know when you update the PR and we can check it again.


Fixed display text and popover for licenses and attribution

Fixed popover hidden
The popover is not visible because styling from bootstrap v5.1.1 conflicted with reactjs bootstrap popover (v0.32.3, Bootstrap 3) currently used.  A visible popover in clearlyDefined UI is styled with "fade in popover left" classes. The following style from bootstrap v5.1.1 hides the popover because the popover does not have "show" class:
.fade:not(.show) {
opacity: 0;
}
Turn off animation for popover so the conflicting styling will not be effective.

The tool list is displayed in its entirety in "Tools" section.  Popover contains only duplicate information and seems redundant.  Removed ListDataRenderer to avoid pop up.

Fixed display text.

Task: https://github.com/clearlydefined/website/issues/950

@disulliv @mpcen ready for review.

See https://github.com/clearlydefined/website/pull/979/commits/a15a45232443f214a8d610fc35f097edeb688278


Links have been Corrected

I've Corrected the links in the  file

Check the links to Code of Conduct. We have a repository for that in sosc org in githu.

I've also added links for community guidelines


[polymer-cli] ... does not provide an export named 'default'

There are many npm modules out there that somehow do not work with polymer serve
The error is usually, e.g.:
The requested module '../../babel-runtime/core-js/object/keys.js' does not provide an export named 'default'

What can be done to solve this error (besides getting other modules to publish in ES6 module format)?

@ernsheong I have the same issue with some libraries that do not provide an ESM version of their packages. A simple workaround is to import the non esm version as a classical script in your index.html:
<script src="node_modules/x/y.js"></script>
It has the drawbacks to be loaded synchronously at app startup and pollute your globals but at least it makes it possible to use the library.

Consider using Webpack which supports different modules formats, if you need the libraries not providing ES module output.

Hi @web-padwan you have some  example of code where you needed use this approach.
Cheers

Having tried out React in a project, I am now trying out Polymer, and find that I much prefer the approach.
I had the
requested module ... does not provide an export named 'default'
problem when I tried using some redux helper packages (redux-on-state-change and redux-logger), that I had used OK within theReact project. Annoying but not essential so I did not explore further.
However I am now trying to use OpenLayers (npm ol) and I get
The requested module '../../rbush/index.js' does not provide an export named 'default'
Rbush is used internally by OL.
I have tried
<script src="./node_modules/rbush/index.js"></script>
in index.html, but I get
Uncaught ReferenceError: module is not defined
referring to the module object in
module.exports = rbush;
line in rbush/index.js.
(The next line is module.exports.default = rbush;.)
Is there anything else I can try, as OpenLayers is essential to my project, and I would like to use Polymer? I am fairly new to the node environment, and am not experienced with webpack etc.

Hi, anything new on this issue about ES6 module conversion ?
I don't know webpack and I'm stuck with several JS packages (invariant, to-camel-case, etc...) used by redux-actions in my polymer project. Could someone point out a webpack configuration to use with Polymer-CLI please ?

@Elvy Polymer CLI does not have any webpack integration at the moment.
Check out this repo for a fully configured Polymer app built with webpack:
https://github.com/web-padawan/polymer3-webpack-starter

@web-padawan Thank you ! But I'm building a polymer 3 element project with a lot of elements in it (no index) and using TypeScript. I don't want to struggle with config for hours as I'm new to webpack but also to Polymer. I think I will just drop redux-actions package for now :/
For those who run into this problem because of redux-actions' non-module dependencies, an issue is opened here.

@Elvynia then, check out es-dev-server by @open-wc:
https://github.com/open-wc/open-wc/tree/master/packages/es-dev-server
I'm not sure if it supports TS but maybe there should be a way to make it work.
#open-wc channel in Polymer Slack is a good place to ask.

@web-padawan I'd really appreciate chatting in this channel but I need an invitation link !

@Elvynia this link should work.


Add swizzling support (xyzw and rgba)

Adds swizzling support for up to the first 4 elements of a vector.
One thing that cgmath does that I haven't yet is put swizzling behind a feature flag. They claim that adding swizzling will add 0.6 MB to the library size, but then (correctly, AFAIK) point out that rustc will remove unused functions when building, so I'm not sure why they bothered with the flag. I didn't see a reason to, but I will add it if you want.

Here's the size results. It is indeed about 600KB, which is kind of neat considering I didn't look at cgmath's implementation at all :).

Size of libaljabar.rlib
Before swizzling
After swizzling

... in debug build
245.1 KB
799.5 KB

... in release build
196 KB
750.4 KB

I really, really like this. Although I'm conflicted about putting it behind a feature gate. I'm not sure that 550 KB is really worth it to selectively gate some features, but on the other hand half a meg is half a meg.
One comment: could you please add a compile_fail example to back up the claim that calling a component accessor on too small of a vec will cause a compilation failure?

Ah, one last thing: please add a section in the README on this

Latest commit:

Add :Sized bound to Swizzle.
Add compile_fail tests.
Add swizzle support description to Readme.

What's the rational for requiring T: Copy instead of Clone?

@EkardNT so I've been experimenting with this and I realized that there's no real reason to put these methods as a separate trait - you can just put them into an impl Vector and achieve what I think is a much preferable result. I'll adjust this code and get it merged tonight


Do I need Symphony to use phpcloud lib?

Hi,
It's a great library but can it be used only with symphony? I mean can it be used on a php website with no frameworks ?

Hi Vinu,
Thank you for your interest in this library.
The code uses Symfony components but is absolutely not bound to the Symfony framework (it's not even a bundle). It works completely stand-alone.


feat: Port Data/Option/NAry.lean

Mathport pretty much got it right from the getgo, there is some things that can no longer be simp, but most importantly a defeq broke.
Mathlib sha 39af7d3bf61a98e928812dbc3e16f4ea8b795ca3

bors d+
Please update the port-status page when you merge. Thanks!

bors r+


raise TypeError("str expected, not %s" % type(value).name) on pip3 install pyjq on macos bigsur

Collecting pyjq
  Using cached pyjq-2.5.1.tar.gz (2.0 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
    Preparing wheel metadata ... done
Building wheels for collected packages: pyjq
  Building wheel for pyjq (PEP 517) ... error
  ERROR: Command errored out with exit status 1:
   command<EMAIL_ADDRESS>/usr/local/lib/python3.9/site-packages/pip/_vendor/pep517/_in_process.py build_wheel /var/folders/xz/2y8r_j654sx984cnws7y545h0000gn/T/tmp6k1b22ch
       cwd: /private/var/folders/xz/2y8r_j654sx984cnws7y545h0000gn/T/pip-install-men_wns5/pyjq_4e5695cc551842b0b3278bc2f1bb3830

  Traceback (most recent call last):
    File "/usr/local/lib/python3.9/site-packages/pip/_vendor/pep517/_in_process.py", line 280, in <module>
      main()
    File "/usr/local/lib/python3.9/site-packages/pip/_vendor/pep517/_in_process.py", line 263, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
    File "/usr/local/lib/python3.9/site-packages/pip/_vendor/pep517/_in_process.py", line 204, in build_wheel
      return _build_backend().build_wheel(wheel_directory, config_settings,
    File "/private/var/folders/xz/2y8r_j654sx984cnws7y545h0000gn/T/pip-build-env-8_3ypyh0/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 216, in build_wheel
      return self._build_with_temp_dir(['bdist_wheel'], '.whl',
    File "/private/var/folders/xz/2y8r_j654sx984cnws7y545h0000gn/T/pip-build-env-8_3ypyh0/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 202, in _build_with_temp_dir
      self.run_setup()
    File "/private/var/folders/xz/2y8r_j654sx984cnws7y545h0000gn/T/pip-build-env-8_3ypyh0/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 253, in run_setup
      super(_BuildMetaLegacyBackend,
    File "/private/var/folders/xz/2y8r_j654sx984cnws7y545h0000gn/T/pip-build-env-8_3ypyh0/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 145, in run_setup
      exec(compile(code, __file__, 'exec'), locals())
    File "setup.py", line 97, in <module>
      setup(
    File "/private/var/folders/xz/2y8r_j654sx984cnws7y545h0000gn/T/pip-build-env-8_3ypyh0/overlay/lib/python3.9/site-packages/setuptools/__init__.py", line 153, in setup
      return distutils.core.setup(**attrs)
    File<EMAIL_ADDRESS>line 148, in setup
      dist.run_commands()
    File<EMAIL_ADDRESS>line 966, in run_commands
      self.run_command(cmd)
    File<EMAIL_ADDRESS>line 985, in run_command
      cmd_obj.run()
    File "/private/var/folders/xz/2y8r_j654sx984cnws7y545h0000gn/T/pip-build-env-8_3ypyh0/overlay/lib/python3.9/site-packages/wheel/bdist_wheel.py", line 299, in run
      self.run_command('build')
    File<EMAIL_ADDRESS>line 313, in run_command
      self.distribution.run_command(command)
    File<EMAIL_ADDRESS>line 985, in run_command
      cmd_obj.run()
    File<EMAIL_ADDRESS>line 135, in run
      self.run_command(cmd_name)
    File<EMAIL_ADDRESS>line 313, in run_command
      self.distribution.run_command(command)
    File<EMAIL_ADDRESS>line 985, in run_command
      cmd_obj.run()
    File "setup.py", line 31, in run
      self._build_oniguruma()
    File "setup.py", line 43, in _build_oniguruma
      self._build_lib(
    File "setup.py", line 71, in _build_lib
      os.environ['MACOSX_DEPLOYMENT_TARGET'] = macosx_deployment_target
    File<EMAIL_ADDRESS>line 684, in __setitem__
      value = self.encodevalue(value)
    File<EMAIL_ADDRESS>line 756, in encode
      raise TypeError("str expected, not %s" % type(value).__name__)
  TypeError: str expected, not int
  ----------------------------------------
  ERROR: Failed building wheel for pyjq
Failed to build pyjq
ERROR: Could not build wheels for pyjq which use PEP 517 and cannot be installed directly

os.environ['MACOSX_DEPLOYMENT_TARGET'] = macosx_deployment_target

should probably be
os.environ['MACOSX_DEPLOYMENT_TARGET'] = str(macosx_deployment_target)

os.environ['MACOSX_DEPLOYMENT_TARGET'] = macosx_deployment_target

should probably be
os.environ['MACOSX_DEPLOYMENT_TARGET'] = str(macosx_deployment_target)

I'm also running into an issue on Big Sur. Slightly different traceback, but same TypeError: str expected, not int
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/private/var/folders/08/s0g16n5d6wd3d1_xch8jgg740000gn/T/pip-install-ll2pelcj/pyjq_a1467708bb55401abe6c0c537398587a/setup.py", line 93, in <module>
        setup(
      File "/Users/lonnykapelushnik/Development/cloudmapper/venv/lib/python3.9/site-packages/setuptools/__init__.py", line 153, in setup
        return distutils.core.setup(**attrs)
      File<EMAIL_ADDRESS>line 148, in setup
        dist.run_commands()
      File<EMAIL_ADDRESS>line 966, in run_commands
        self.run_command(cmd)
      File<EMAIL_ADDRESS>line 985, in run_command
        cmd_obj.run()
      File "/Users/lonnykapelushnik/Development/cloudmapper/venv/lib/python3.9/site-packages/setuptools/command/install.py", line 61, in run
        return orig.install.run(self)
      File<EMAIL_ADDRESS>line 546, in run
        self.run_command('build')
      File<EMAIL_ADDRESS>line 313, in run_command
        self.distribution.run_command(command)
      File<EMAIL_ADDRESS>line 985, in run_command
        cmd_obj.run()
      File<EMAIL_ADDRESS>line 135, in run
        self.run_command(cmd_name)
      File<EMAIL_ADDRESS>line 313, in run_command
        self.distribution.run_command(command)
      File<EMAIL_ADDRESS>line 985, in run_command
        cmd_obj.run()
      File "/private/var/folders/08/s0g16n5d6wd3d1_xch8jgg740000gn/T/pip-install-ll2pelcj/pyjq_a1467708bb55401abe6c0c537398587a/setup.py", line 30, in run
        self._build_oniguruma()
      File "/private/var/folders/08/s0g16n5d6wd3d1_xch8jgg740000gn/T/pip-install-ll2pelcj/pyjq_a1467708bb55401abe6c0c537398587a/setup.py", line 39, in _build_oniguruma
        self._build_lib(
      File "/private/var/folders/08/s0g16n5d6wd3d1_xch8jgg740000gn/T/pip-install-ll2pelcj/pyjq_a1467708bb55401abe6c0c537398587a/setup.py", line 67, in _build_lib
        os.environ['MACOSX_DEPLOYMENT_TARGET'] = macosx_deployment_target
      File<EMAIL_ADDRESS>line 684, in __setitem__
        value = self.encodevalue(value)
      File<EMAIL_ADDRESS>line 756, in encode
        raise TypeError("str expected, not %s" % type(value).__name__)
    TypeError: str expected, not int

I'm also running into an issue on Big Sur. Slightly different traceback, but same TypeError: str expected, not int
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/private/var/folders/08/s0g16n5d6wd3d1_xch8jgg740000gn/T/pip-install-ll2pelcj/pyjq_a1467708bb55401abe6c0c537398587a/setup.py", line 93, in <module>
        setup(
      File "/Users/lonnykapelushnik/Development/cloudmapper/venv/lib/python3.9/site-packages/setuptools/__init__.py", line 153, in setup
        return distutils.core.setup(**attrs)
      File<EMAIL_ADDRESS>line 148, in setup
        dist.run_commands()
      File<EMAIL_ADDRESS>line 966, in run_commands
        self.run_command(cmd)
      File<EMAIL_ADDRESS>line 985, in run_command
        cmd_obj.run()
      File "/Users/lonnykapelushnik/Development/cloudmapper/venv/lib/python3.9/site-packages/setuptools/command/install.py", line 61, in run
        return orig.install.run(self)
      File<EMAIL_ADDRESS>line 546, in run
        self.run_command('build')
      File<EMAIL_ADDRESS>line 313, in run_command
        self.distribution.run_command(command)
      File<EMAIL_ADDRESS>line 985, in run_command
        cmd_obj.run()
      File<EMAIL_ADDRESS>line 135, in run
        self.run_command(cmd_name)
      File<EMAIL_ADDRESS>line 313, in run_command
        self.distribution.run_command(command)
      File<EMAIL_ADDRESS>line 985, in run_command
        cmd_obj.run()
      File "/private/var/folders/08/s0g16n5d6wd3d1_xch8jgg740000gn/T/pip-install-ll2pelcj/pyjq_a1467708bb55401abe6c0c537398587a/setup.py", line 30, in run
        self._build_oniguruma()
      File "/private/var/folders/08/s0g16n5d6wd3d1_xch8jgg740000gn/T/pip-install-ll2pelcj/pyjq_a1467708bb55401abe6c0c537398587a/setup.py", line 39, in _build_oniguruma
        self._build_lib(
      File "/private/var/folders/08/s0g16n5d6wd3d1_xch8jgg740000gn/T/pip-install-ll2pelcj/pyjq_a1467708bb55401abe6c0c537398587a/setup.py", line 67, in _build_lib
        os.environ['MACOSX_DEPLOYMENT_TARGET'] = macosx_deployment_target
      File<EMAIL_ADDRESS>line 684, in __setitem__
        value = self.encodevalue(value)
      File<EMAIL_ADDRESS>line 756, in encode
        raise TypeError("str expected, not %s" % type(value).__name__)
    TypeError: str expected, not int

I dug into this a tad more and it seems to be a Python issue:
https://bugs.python.org/issue42504

I dug into this a tad more and it seems to be a Python issue:
https://bugs.python.org/issue42504

Anyone found any workaround for this issue? I'm also getting the
  ERROR: Failed building wheel for pyjq
ERROR: Could not build wheels for pyjq which use PEP 517 and cannot be installed directly

Errors.
I got the same on Windows with:
-Basic Python installation folder
-venv
-pipenv
Using Python versions:
-3.6
-3.7
-3.8
With Pip versions:
-18.0
-18.1
-19.x
-21.x
So it doesn't look like it's a Python version, environment or pip version issue.


New sample script: Remove users form a SharePoint list who no longer members of a Teams Team

💡Compares a list of members of a Team with a list of people in a SharePoint list and remove any who are no longer Team members.

@milanholemans , I have not encountered this use case before, but I would be happy to write the script if you think it could be useful to others.


Generating 32-bit bindings: FileNotFoundException for CppSharpGenerator.dll

Brief Description
I realized that I had to generate the code twice because mangled names are different for 64-bit.
However, when switching the generator to 32-bit, I get FileNotFoundException for CppSharpGenerator.dll.
Looking at the nuget package, it isn't present, hence the error.
So, how does one generates code for 32-bit? Build the project by myself but in 32-bit?
Thank you.

Works amazingly well!
Now I have another problem, having an AnyCPU assembly won't work because of differing imports.
I've been thinking to generate twice, then have an upper assembly that would load the appropriate bit-ness.
In your opinion, is that a good approach or maybe there's a better one?
Thank you :)

@tritao Sorry to bother you but what method would be best used to combine the MSIL into a single Dynamic Library? ILDASM? ILSpy?

@tritao
I just gave it a try today but then I faced a wall, let me explain:
Generating the bindings for both 32-bit and 64-bit ✔
Creating separate assemblies producing respective binaries ✔
Creating an outer assembly with embedded resource strategy ✔
Then I made a little test app but then realized that there are no classes at all in the outer assembly. 🤣
Somehow, that outer assembly should be a reference assembly for the test program else it would never build, i.e.🐔🥚
I thought about two alternative options:

generate two different assemblies and two nuget packages

very easy, no changes necessary, immediately doable
the downside is that there will be two packages and so on

rewrite the bindings with Roslyn

generate a wrapper class that dispatches calls to either the class with 32-bit imports or the one with 64-bit imports
not sure, sounds like it's a bit overkill though not impossible

Or, as one suggested, drop off 32-bit binaries; just as you guys did with CppSharp, problem is immediately solved 😁
I think I'll give a last try with the Roslyn approach, if that fails somehow, I'll have two options to fallback on.
Anyway, thank you for your support! 😀

@tritao
Hello and happy new year! 🥳
Long story short, Roslyn worked out, it was slightly more involved than I expected though...
Basically that's how I rewrote everything to accommodate decorated names:
public class Whatever
{
	internal partial struct __Internal
	{
		// keep fields
		// remove methods
	}

	internal partial struct __Internal32
	{
		// remove fields
                // insert 32-bit methods
	}

	internal partial struct __Internal64
	{
		// remove fields
                // insert 64-bit methods
	}

	public static void Test()
	{
		if (IntPtr.Size == 4)
		{
			__Internal.__Internal32.Test();
		}
		else
		{
			__Internal.__Internal64.Test();
		}
	}
}

The rewriter is only about 200 lines of code but getting it right was tedious due to how incredibly detailed Roslyn is.
It can be thrown against any generated module and will work, I rewrote two projects with it and it just worked.
For those interested,
The part that parses the two trees, 32-bit and 64-bit then passes them to the rewriter:
https://github.com/aybe/DearImGui/blob/develop/DearGenerator/CodeGenerator.cs#L348
The rewriter itself:
https://github.com/aybe/DearImGui/blob/develop/DearGenerator/CodeGeneratorRewriter.cs
The kind of Frankenstein module it then produces:
https://github.com/aybe/DearImGui/blob/develop/DearImPlot/ImPlot.g.cs
The generator project itself, quite polished now though it could always be improved:
https://github.com/aybe/DearImGui
I then encountered two errors while trying to build the the AnyCPU which I solved like so:

size_t: CppSharp translates this but that's inappropriate, solution was a type map to UIntPtr
for some reason, during 64-bit generation, CppSharp uses IntPtr instead of passing a struct, solved with regex

Finally, the last thing I did is replace stock SymbolResolver by a custom one so it loads 32-bit and 64-bit accordingly.
The result is great, you just change <PlatformTarget> in the consumer app as you'd usually so and it just works 😎.
Thanks for your help and have a good year!


Subscriptions & Billing plans

On the documentation page:
https://developer.paypal.com/docs/api/payments.billing-plans/v1/
it says
Deprecation notice: The /v1/payments/billing-plans endpoints are deprecated. Use the /v1/billing/plans endpoints instead. For details...
Their API is really messed up

PR #151

#151


Timeline: make homepage feeds have margins as with profile feeds

Homepage Feeds:

Profile Feeds:

I cannot reproduce the problem on the Dev version on https://ci.una.io/test

See attached screenshot...no margin on una homepage feeds as well.
On Mon, May 17, 2021, 11:31 AM Anton @.***> wrote:

I cannot reproduce the problem on the Dev version on
https://ci.una.io/test
[image: изображение]
https://user-images.githubusercontent.com/3894360/118474767-1ab17b00-b714-11eb-9f2a-b78d46ead77b.png
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/unaio/una/issues/3370#issuecomment-842212610, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ALJFBIZZ7JNAODYUCVJAIILTODWAJANCNFSM4435OMHA
.

See attached screenshot...no margin on una homepage feeds as well.
It may happen because of some customization on your site (custom app, custom CSS in template, etc.).
We should reproduce a problem on fresh installed UNA script (for example, https://ci.una.io/test) to be able to fix it.

Same is experienced with una....see una.io homepage feeds do I don't think it's got anything to do with my site.


Unable to pipx install dicttoxml

Hi there,
I've got pipx to safely install packages for scripts across multiple Ubuntu virtual machines. I'm pretty new to python3 installations, so relieved such a product exists. Hope my issue isn't too basic for this bug tracker, or that it hasn't been discussed before.
Describe the bug
I can't install dicttoxml, despite it being available via PyPi.org and easily installable in a venv I create myself. It's a pretty critical element to many of the scripts I need to work with so would love for this to work and have it available safely, globally.
How to reproduce
Working with Ubuntu VM 20.04, Python 3.8. Pip3 installation of pipx.
When I use regular installation pipx install dicttoxml I get this message returned:
No apps associated with package dicttoxml or its dependencies. If you are attempting to install a library, pipx should not be used. Consider using pip or a similar tool instead.
Expected behavior
I've successfully installed flake8 and pylint so far, so would appreciate any advice.

What do you intend to use the installed dicttoxml? The package does not have “script entry point”, i.e. something to run from the command line (not in Python code), which is what pipx is for.

Ah okay, that's my problem. Sorry! I didn't realise pipx was just for running from command line only. I should've though looking at the metadata sys.argv commands which would only work for CLI stuff.


we will test it in openvino2021.4 lts ，what are your suggestions?

What is the result?  Maybe I'm missing something but what makes 2021.4 worth upgrading to from 2021.3?   I was running 2021.1 but upgraded to 2021.3 to use the GPU and your yolo4 model.  It is working very well for me.


Update Readme.md

The current readme file contains "To make sure your SCSS is compliant run: npm run test:scss"

However, when a user tries to run the command it throws the error as mentioned:

when we use npm run test:sass works fine and tells if there are any errors in the code.
Suggested Change:
The Readme file should be updated & command should also be changed from "npm run test:scss" to "npm run test:sass"

if this issue is good to go can I work on this ?

done @AnshumanDhiman


Use cdn for utterances

Continue from previous PR https://github.com/geekplux/hexo-theme-typing/pull/28, I managed to mirror the library to cdn. Most of the features still depend on api.utteranc.es, but at least the client.js can be offloaded to cdn.
Utterances also support dark theme.
Test pages:
https://weyusi.github.io/hexo-testing/2018/10/06/fancybox-test/
https://weyusi.github.io/hexo-testing/2018/10/05/hello-world/

thanks, again


Not working anymore with 11.0 and 11.0.2

Sadly the Addon doesnt show up anymore with TWW prepatch 11.0. Is there a way to fix it?

That fixed it :-)

I think I fixed it by replacing the following line in SoulshapeDatabase.lua (line 102):

name, _ = GetFactionInfoByID(faction.id)
with
name = C_Reputation.GetFactionDataByID(faction.id).name

This is due to Faction API changes in 11.0

nice. maybe you can open a PR.

And its broken again with 11.0.2 -.-
Any ideas how to fix it?

And its broken again with 11.0.2 -.-
Any ideas how to fix it?

In SoulshapeJournal/UI/SoulshapeJournal.lua change GetSpellTexture to C_Spell.GetSpellTexture (line 88 and 377)
I have created a pull request https://github.com/christopheml/soulshape-journal/pull/72

Still not working. Still getting
1x SoulshapeJournal/Core.lua:43: attempt to call global 'LoadAddOn' (a nil value)
[string "@SoulshapeJournal/Core.lua"]:43: in function <SoulshapeJournal/Core.lua:38>
[string "=[C]"]: ?
[string "@BagSync/libs/AceAddon-3.0-13/AceAddon-3.0.lua"]:66: in function <...ceBagSync/libs/AceAddon-3.0/AceAddon-3.0.lua:61>
[string "@BagSync/libs/AceAddon-3.0-13/AceAddon-3.0.lua"]:523: in function EnableAddon' [string "@BagSync/libs/AceAddon-3.0-13/AceAddon-3.0.lua"]:626: in function <...ceBagSync/libs/AceAddon-3.0/AceAddon-3.0.lua:611> [string "=[C]"]: ? [string "=[C]"]: in function LoadAddOn'
[string "@Blizzard_UIParent/Mainline/UIParent.lua"]:422: in function UIParentLoadAddOn' [string "@Blizzard_UIParent/Mainline/UIParent.lua"]:627: in function MajorFactions_LoadUI'
[string "@Blizzard_ExpansionLandingPage/Blizzard_DragonflightLandingPage.lua"]:103: in function SetUpMajorFactionList' [string "@Blizzard_ExpansionLandingPage/Blizzard_DragonflightLandingPage.lua"]:96: in function RefreshMajorFactionList'
[string "@Blizzard_ExpansionLandingPage/Blizzard_DragonflightLandingPage.lua"]:91: in function RefreshOverlay' [string "@Blizzard_ExpansionLandingPage/Blizzard_DragonflightLandingPage.lua"]:83: in function <...sionLandingPage/Blizzard_DragonflightLandingPage.lua:79> [string "=[C]"]: in function CreateFrame'
[string "@Blizzard_ExpansionLandingPage/Blizzard_DragonflightLandingPage.lua"]:49: in function CreateOverlay' [string "@Blizzard_ExpansionLandingPage/Blizzard_ExpansionLandingPage.lua"]:78: in function RefreshExpansionOverlay'
[string "@Blizzard_ExpansionLandingPage/Blizzard_ExpansionLandingPage.lua"]:37: in function <...pansionLandingPage/Blizzard_ExpansionLandingPage.lua:35>
Locals:
self =  {
BUILD_9_2 = 42069
modules =  {
}
defaultModuleLibraries =  {
}
FrameLevelType = "PIN_FRAME_LEVEL_SOULSHAPE_JOURNAL"
name = "SoulshapeJournal"
saved =  {
}
orderedModules =  {
}
BUILD_9_1_5 = 40871
BUILD_9_0_5 = 37862
Database =  {
}
baseName = "SoulshapeJournal"
Filters =  {
}
BUILD_9_0 = 37474
enabledState = true
defaultModuleState = true
BUILD_9_1 = 39185
UIFactory =  {
}
}
(*temporary) = nil
(*temporary) = "Blizzard_Collections"
(*temporary) = "attempt to call global 'LoadAddOn' (a nil value)"

line 43 change LoadAddon to C_AddOns.LoadAddOn
FYI https://warcraft.wiki.gg/wiki/Patch_11.0.2/API_changes is what I used to figure these things out

line 43 change LoadAddon to C_AddOns.LoadAddOn
FYI https://warcraft.wiki.gg/wiki/Patch_11.0.2/API_changes is what I used to figure these things out

Thanks, that worked. Took your advice and edited the lua errors in the addon PetBattleMaster too and I now got rid of the lua errors there too.

@tailcat Thank you so much for your work here! I'm glad there's people that help keep addons going if the author is unreachable/unresponsive. As I don't know how to message you otherwise, I'm asking here. Would you take a look please at https://legacy.curseforge.com/wow/addons/cloudy-pet-collected and https://legacy.curseforge.com/wow/addons/work_complete as they are little addons that haven't been maintained in ages, but are so very helpful, I'd like for them to keep going.

On Aug 18, 2024, at 6:18 AM, halloaloe @.***> wrote:
@tailcat Thank you so much for your work here! I'm glad there's people that help keep addons going if the author is unreachable/unresponsive. As I don't know how to message you otherwise, I'm asking here. Would you take a look please at https://legacy.curseforge.com/wow/addons/cloudy-pet-collected and https://legacy.curseforge.com/wow/addons/work_complete as they are little addons that haven't

Fixing CloudyPetCollected has me stumped, but attached is my fix for Work_Complete

@tailcat
*** 1169,1172 ****
else
print("Work_Complete Debug is OFF", bolDebug);
end
! end
\ No newline at end of file
--- 1171,1174 ----
else
print("Work_Complete Debug is OFF", bolDebug);
end
! end
These two sections is where I lost the plot of your corrections. I don't see what's been changed. Please just list "On Line XXXX, change to: [insert line, corrections in bold]". My understanding of LUA is next to nothing, I really need to be guided here.

On Aug 18, 2024, at 9:42 PM, halloaloe @.***> wrote:
@tailcat
*** 1169,1172 ****
else
print("Work_Complete Debug is OFF", bolDebug);
end
! end
\ No newline at end of file
--- 1171,1174 ----
else
print("Work_Complete Debug is OFF", bolDebug);
end
! end
These two sections is where I lost the plot of your corrections. I don't see what's been changed. Please just list "On Line XXXX, change to: [insert line, corrections in bold]". My understanding of LUA is next to nothing, I really need to be guided here.

Just ignore that that’s due to the missing newline

Message: ...dOns/SoulshapeJournal/Database/SoulshapeDatabase.lua:102: attempt to call global 'GetFactionInfoByID' (a nil value)
Time: Mon Aug 19 12:34:39 2024
Count: 1
Stack: ...dOns/SoulshapeJournal/Database/SoulshapeDatabase.lua:102: attempt to call global 'GetFactionInfoByID' (a nil value)
[string "@Interface/AddOns/Blizzard_ExpansionLandingPage/Blizzard_DragonflightLandingPage.lua"]:49: in function CreateOverlay' [string "@Interface/AddOns/Blizzard_ExpansionLandingPage/Blizzard_ExpansionLandingPage.lua"]:78: in function RefreshExpansionOverlay'
[string "@Interface/AddOns/Blizzard_ExpansionLandingPage/Blizzard_ExpansionLandingPage.lua"]:37: in function <...pansionLandingPage/Blizzard_ExpansionLandingPage.lua:35>
Locals: parent = Frame {
DragonflightLandingOverlay = Frame {
}
}
overlayFrame = nil

@stevedenunzio You can change the following line from this:
name, _ = GetFactionInfoByID(faction.id)
to this:
        name, _ = C_Reputation.GetFactionInfoByID(faction.id)

I've made all suggested changes to SSJ listed here and the addon still doesn't work. Anything I'm missing?

Fixes are on the way, thanks everyone for your patience.

Version 1.2.5 is available here and on Curseforge.


Composer

The requested package greeschenko/yii2-pay could not be found in any version, there may be a typo in the package name.

Hi, package under development and is not ready for publication in composer
currently working Paypal and Yandex (not tested)
you can use plugin added to composer.json this code
    "repositories":[         {             "type": "git",             "url": "https://github.com/greeschenko/yii2-pay"         }     ],
and this
    "require": {          ....         "greeschenko/yii2-pay": "dev-master"          ....     },


perf: trigger semantic-release

BREAKING: Remote Task and change setupCommandTest to setupCliCommandTest

Coverage remained the same at 94.052% when pulling 03c3d439380ee493b606d7173eb52ea62343f672 on test-sr into 970361e2a5892d235f365a045eccd08b017885b3 on master.

Coverage remained the same at 94.052% when pulling 03c3d439380ee493b606d7173eb52ea62343f672 on test-sr into 970361e2a5892d235f365a045eccd08b017885b3 on master.

Coverage remained the same at 94.052% when pulling 765d6d6f5c6ed6c58bc2281d32740c04195dfb7c on test-sr into 970361e2a5892d235f365a045eccd08b017885b3 on master.


[Divider] Add support for middle divider

[x] I have followed (at least) the PR section of the contributing guide.

[Divider] Added other dividers from spec

[Divider] Added more tests

[docs] Updated Divider documentation

Thought adding these would be a quick win :) Sadly changing to variant makes this a breaking change. The old props can be added in an a warning shown to change this.
Upgrade path
We are introducing a new variant to the divider component: middle. Following our API guideline, we can no longer use a boolean property, it needs to be an enum, hence the introduction of the variant property.
import Divider from '@material-ui/core/Divider';

-<Divider inset />
+<Divider variant="inset" />

@joshwooding I believe it's a breaking change. We will have to way ~3 months before being able to merge. Maybe you can make it a non breaking change (backward compatible) with a warning?

@oliviertassinari That should do it :)

I have made some changes. I have removed the subheader property. It's important to have a simple Diviser component that people can override.

So, I've been working on the demos and I've noticed some pain points:

Subheaders should align with the list padding and currently they are set to a hard coded value whilst the lists are dynamic making subheaders look weird on big screens compared to small screens.

Big Screen

Small Screen

Styling Subheader Dividers are a bit fiddly at the moment, due to a them being  composed of two different components, maybe a composition pattern would work better:
<Divider>  <Typography>Subheader</Typography> </Divider>
this would allow for more customisability and easier styling, but would differ from the patterns we already have. As an example of less than ideal styling currently to add a border at the bottom of a Subheader Divider you need to add the margin to the text. We also always keep the current pattern and change the underlying components

If you want them these are the current demos I've written excluding the subheader ones:

Subheaders should align with the list padding and currently they are set to a hard coded value whilst the lists are dynamic making subheaders look weird on big screens compared to small screens.

You are right, but it's not directly related. We are already impacted by the problem, there is a listitem issue open to solve it. The solution is 👌, it's described in the related issue. https://github.com/mui-org/material-ui/issues/6098

A new demo

@joshwooding Thank you


Allow passing in a promise dependency

This fixes #54

Coverage increased (+0.008%) to 99.259% when pulling d6f8c675800dca0ef9b64298745d42c0b5de048b on siddharthkchatterjee:feature/promise-dependency into 290f70f9e5c2e3c2c8ce04a9ee8ff1d4658490a3 on BryanDonovan:master.

Thanks!  Merging now.

This is published in version 2.1.1

@BryanDonovan, thank you.


Prepend and append icons for input fields

Describe the feature in detail (code, mocks, or screenshots encouraged)
Description
It would be great to have a method to add prepend and append icons inside an input field. The field could look something like this:

Possible Implementation
One method could be using named slots as they allow flexibility of elements. I could raise a PR for the same.
<Input bind:value={search} placeholder="Search" class="my-4 w-60 gap-2">
  <Search slot="prepend" size={22} class="text-muted-foreground" />
  <Button slot="append" size="icon" variant="ghost" on:click={() => {}} class="w-5 h-5">
    <X class="text-muted-foreground" />
  </Button>
</Input>

What type of pull request would this be?
Enhancement
Provide relevant links or additional information.
No response

We're not going to use slots because they will no longer be necessary in Svelte 5. Additionally, we're not going to add anything that isn't in the original https://ui.shadcn.com project. If a variant is added for this there, then we will add it here.


Rewrite: bower completion

Looks like bower completion didn't make the rewrite: https://github.com/bower/bower/blob/3d64222655bfe04047b348c8d80e990a27c4f90a/lib/commands/completion.js#L28
PR welcome :)

This is implemented externally with https://github.com/zsh-users/zsh-completions or https://github.com/miklos-martin/oh-my-zsh-plugins/blob/master/bower/bower.plugin.zsh
No need to include it in bower itself :)


Fail to change date range in retention report page

Describe the Bug
On the page of creating retention report (/reports/retention), click on the date dropdown will result in Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports. Check the render method of ForwardRef(Popup).

The error persists no matter if the first website dropdown is selected or not.
Database
PostgreSQL
Relevant log output
Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.

Check the render method of `ForwardRef(Popup)`.

Call Stack
createFiberFromTypeAndProps
node_modules/react-dom/cjs/react-dom.development.js (28439:0)
createFiberFromElement
node_modules/react-dom/cjs/react-dom.development.js (28465:0)
reconcileSingleElement
node_modules/react-dom/cjs/react-dom.development.js (15750:0)
reconcileChildFibers
node_modules/react-dom/cjs/react-dom.development.js (15808:0)
reconcileChildren
node_modules/react-dom/cjs/react-dom.development.js (19167:0)
updateHostComponent
node_modules/react-dom/cjs/react-dom.development.js (19924:0)
beginWork
node_modules/react-dom/cjs/react-dom.development.js (21618:0)
HTMLUnknownElement.callCallback
node_modules/react-dom/cjs/react-dom.development.js (4164:0)
Object.invokeGuardedCallbackDev
node_modules/react-dom/cjs/react-dom.development.js (4213:0)
invokeGuardedCallback
node_modules/react-dom/cjs/react-dom.development.js (4277:0)
beginWork$1
node_modules/react-dom/cjs/react-dom.development.js (27451:0)
performUnitOfWork
node_modules/react-dom/cjs/react-dom.development.js (26557:0)
workLoopSync
node_modules/react-dom/cjs/react-dom.development.js (26466:0)
renderRootSync
node_modules/react-dom/cjs/react-dom.development.js (26434:0)
performSyncWorkOnRoot
node_modules/react-dom/cjs/react-dom.development.js (26085:0)
flushSyncCallbacks
node_modules/react-dom/cjs/react-dom.development.js (12042:0)
eval
node_modules/react-dom/cjs/react-dom.development.js (25651:0)

Which browser are you using? (if relevant)
No response
How are you deploying your application? (if relevant)
Manually with yarn and pm2

Solved after deleting node_modules then rebuild.


How to solve the authorization error?

Operating system: Windows 7 Professional
language version: C++
Cortex version:  ?
The sample program of "eeg" shows error " "authorize" -32022 "You have exceeded the
limit on the number of devices"".
The programs could run until yesterday, and I didn't change the program at all.
I have only one Emotiv Epoc+ EEG headset. So I don't know why it says I have exceeded the limit on the number of devices.
Please let me know how to solve the problem.

hi @masashi555 , could you send me your emotiv id ?

Hi @nguoithichkhampha ,
Thanks. I sent my emotiv ID to your gmail.

Hi @masashi555, I received your email and checking with the team. Will give you the result soon.

Can you try your project again ? it should work right now.

As you said: "Yesterday, program runs, but to day it error". Can you confirm with me you work on same computer and don't change hardware of the computer ?

Hi @nguoithichkhampha , @hoangphamemotiv
Thank you so much. It works!!
I use the same computer, and I installed KB4091290 update program for Windows 7 the same day.
http://catalog.update.microsoft.com/v7/site/Search.aspx?q=KB4091290
I don't know how to check the Cortex version.

@nguoithichkhampha @hoangphamemotiv
I have a PRO License, 3 devices (EPOCH+) currently floating around the office and a couple of computer that I'm using for testing. Apparently I have exceeded the number of devices (3), as I receive the same error message when running the c++ example of the eeg streaming.
I would like to fix my account so I can use only a single device, but I will still be using a couple of computers for testing. I have also recently reimaged my computer, which may have created some miscounting with the number of installations. Do you think you could help?

@cpizzolato Please, contact the Emotiv customer support, they can fix it for you.
Don’t forget to give them your Emotiv id.
https://www.emotiv.com/contact-support/


Show/hide sidebar hotkey no longer functioning

VSCode Version:

Version: 1.51.1
Commit: e5a624b788d92b8d34d1392e4c4d9789406efe8f
Date: 2020-11-11T01:11:34.018Z (4 days ago)
Electron: 9.3.3
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: <IP_ADDRESS>-electron.0
OS: Darwin x64 19.6.0

OS Version: OSX 10.15.6

Steps to Reproduce:

Open a .go file
Click on a line of code
Hit ⌘+b

You should see that vscode attempts to navigate to a Go type definition instead of toggling the sidebar.

If you open the file search (⌘+p), and then hit ⌘+b you'll see that you're able to toggle again.
It looks like there is an issue with the context of the keybinding.

Small demo of issue

Please check your keybindings in case that combination has been bound to more than one command.
See https://github.com/microsoft/vscode/wiki/Keybinding-Issues

@gjsjohnmurray
Indeed it has. It looks like the source is a default setting as well

I'm not very familiar with this code, but it looks like CMD+B should not be the default here and it appears to have been overwritten somehow
https://github.com/microsoft/vscode/blob/35ff2c0df8d1705af11310b004824348b8c6b32b/src/vs/editor/contrib/gotoSymbol/goToCommands.ts#L227

Could you please try the following:

Run the command Developer: Toggle Keyboard Shortcuts Troubleshooting

This will activate logging of dispatched keyboard shortcuts and will open an output panel with the corresponding log file.

You can then press your desired keybinding and check what keyboard shortcut VS Code detects and what command is invoked.

If you are having trouble understanding the output, please feel free to paste here and we can help decipher it for you.

@alexdima Not sure if you seen the screenshot here, but that conditional will always evaluate to true since Go has definition providers and I am in the text editor area.
I've removed it on my machine, so it now works as it should — but this looks like a mistake in the default keybindings.

@olingern That keybinding is not in our default core keybindings. Perhaps you have installed an extension that contributes that keybinding?

@alexdima it's possible, but I'm not sure why the source would be Default then. Can extensions also claim Default?

Yes, unfortunately the values are Default and User.
Default covers the core, built-in extensions and user installed extensions.
I agree that this is confusing. FYI @sandy081

@meganrogge @alexdima thanks for making this fix! 🙇


admin: list premium users

fixes #1367

I'm still thinking about this, but maybe this is what we need:
A way to list users, and a way to get all the info we have on a particular user.
Listing users maybe we want to filter, this is the first filter we've come up with (premium) but likely we'll add more filters in the future, like root created after a specified date or whatever.
When we get the info for a user we should be able to specify a username or a public key, and it should print out all the billing info (and we can add other data points it prints out later) Data like which files they own, who they share files with, etc.

In the future we can add filters as we need and data on a user's "profile" as we need. Maybe we make a lil egui app for this not sure.


ADD ME

I want to join this organization also.

@tejasmorkar Please Merge My PR.

@tejasmorkar When Will I get Invitation Link?


Feature/harden

Addressed issues #26, #30, #32, and #36
Partially addresses issue #31 -- handles cases where member has no merge tags or no interests.
Performed a hardening pass on bananaj. Improved consistency within the library. Added support for many missing or incomplete Mailchimp REST APIs. Added several missing fields and objects. Refactored getters to camel-case. Did not test with store, Facebook, or Google integrations. This pull request contains many breaking changes, mainly due to refactoring and camel case changes. In several instances replaced update-single-field calls with setters for modifiable fields and a single update call that will commit multiple field modification to Mailchimp.
Summary of changes:

Improved implementation of MailChimp automation API - Added support for additional fields and some actions
Added additional functionality to MailChimp automations support
javadoc updates
Added support for additional account fields
Added support for additional campaign fields. Factored out some common code.
Implemented Campaign Send Checklist
Addressed several consistency issues such as toString, simplified construction, missing types, camel case, etc.
Added support for member notes, cleaned up tags and cleaned up activity.

There are many more hardening tasks and unimplemented APIs that need to be worked on. There are also many internal inconsistencies that still need addressing. I have used up my allotted time on this project, for now, and therefore will only have limited time to devote in the near future.


feat(tapo): Add support for H200 hub and child devices (for example battery/sub2G powered D230S1)

Allows streaming Tapo devices behind a hub, for example, the D230S1 battery powered doorbell with a H200 parent hub.
Small fix for authenticating correctly to the H200 hub.

To use, you would use a URL like this:
streams:
    camera: tapo://admin:passwordAsUpperCaseSHA256@h200HubIpAddress/?deviceId=childDeviceIdFromPyTapo

Basically the same as a non-hub'd tapo camera but with added deviceId query string.
There may be a better way to get the device ID, but as an example to figure out the child device ID, use pytapo and call
print(tapo.getMost())

Thanks!

https://github.com/AlexxIT/go2rtc/releases/tag/v1.9.0


but which data set to download from https://ti.arc.nasa.gov

great code thanks
but which data set to download from
https://ti.arc.nasa.gov/tech/dash/groups/pcoe/prognostic-data-repository/

it is #6

Great
Do you know similar data sets from other websites to download?


[Event Request] Table 5406 Prod. Order Line - OnBeforeGetUpdateFromSKU

In the table 5406 Prod. Order Line, in the procedure GetUpdateFromSKU, we would like to modify the way "Unit Cost is Calculated in the "else". The only way to do that is to have a IsHandled flag and an event publisher. Like this :

Then event publisher should be here and not earlier because GetItem and GetSKU are local procedure, so can't be called from an event subscriber.
With this integration event :

Do you think it could be possible ?
Thanks for your work.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


consider subj-obj naming convention

sorry should have put this under #2

Moved comment to #2

I think that #2 covers this.


#350 fix notebook failures

Description
Fixes #350

Added ability to create an empty discretisation (ie no mesh), to use in notebooks that need it
removed all magic notebook cells (this was failing when we tried to execute the notebooks from the command line) and replaced with standard python
wrap exceptions in "try-except" blocks so don't trip errors

Type of change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)

Key checklist:

[x] No style issues: $ flake8
[x] All tests pass: $ python run-tests.py --unit
[x] The documentation builds: $ cd docs and then $ make clean; make html

You can run all three at once, using $ python run-tests.py --quick.
Further checks:

[x] Code is commented, particularly in hard-to-understand areas
[x] Tests added that prove fix is effective or that feature works
[x] Any dependent changes have been merged and published in downstream modules

Maybe we should test notebooks as part of the normal travis routine, given that they don't seem too slow?

Yes, agreed. Confusingly, I've implemented this as part of getting python3.5 to work (#191)


ospdo docs -  setup and backend services

add ospdo adoption docs for rhoso,ospdo setup
Related patches :
https://github.com/openstack-k8s-operators/data-plane-adoption/pull/715
https://github.com/openstack-k8s-operators/data-plane-adoption/pull/730
Jira: https://issues.redhat.com/browse/OSPRH-6618

Also please squash the commits into fewer, possibly one. For example when we cherry-pick, having to deal with many commits with tweaks for things that were uncovered in review/CI but really should have been a single commit, or with commits with messages like "changes" or "update vars" which don't let us know what the commit is about. So it's better to have fewer commits with more descriptive messages :).


V2.7.5 Enhanced configuration mechanism. Improved UploadFile function. New setup.py (optional)

Fixes/Features

Enhancement #7 apply further control on INI parameters. New configuration mechanism. Default values are included in the app. Ignores wrong values in INI file. Except for api_key and secret which you have to adjust, all others are preset.
Note that uploadr.ini definition for DB_PATH, LOCK_PATH, TOKEN_CACHE and TOKEN_PATH must follow V2.7.4 uploadr.ini sample file. Other than that should be backward compatible.
Enhancement #28 Revise upload sequence.
More clear output messages on execution progress.
Setup (optional):

You can run install with python3 setup.py install --prefix=~/apps/Python
You can run installcfg with python3 setup.py installcfg --prefix=~/apps/Python which copies:

uploadr.ini and uploadr.cron to ~/apps/Python/etc folder.
Which allows to run uploadr.py from the --prefix=~/apps/Python folder as it is installed with python setup.py install.

From v2.7.5 uploadr.ini configuration is searched from:

--config-file argument
sys.prefix/etc/uploadr.ini
from the current working directory from where upload.py is launched

setup install; setup installcfg; sys.prefix/etc/uploadr.ini; -config-file option
Questions & Answers

Note that uploadr.ini definition for DB_PATH, LOCK_PATH, TOKEN_CACHE and TOKEN_PATH must follow V2.7.4 uploadr.ini sample file
(to be) Updated installation notes on Readme.

Output Messages

More clear output messages on excution progress.

Environment and Coding

Python 2.7 + 3.6 compatibility: use of "# noqa" as applicable
autopep8, PEP8, flakes adjustments
pytest --flakes & pytest --doctest-modules
Setup several unittests
Created setup.py (optional)

dropped. .travis.yml was incorrect.


Implement Link Protocol 4

Link Protocol 4 specifies that circuit IDs are 4 bytes instead of 2.  This means that every place that accesses the bytes of cells needs to know which link protocol is in use, either explicitly or by checking some property of the cell itself.
This will be especially relevant in:
- encryption and decryption operations (will need to inspect cell to figure out version)
- unpacking cells from a byte stream in Connection (will know the version in use)

This is covered in the "simplifications" documentation.


Issue installing kivy 1.9.1 using brew

while installing kivy 1.9.1 using brew I am getting an error "It seems the symlink source is not there: '/Applications/Kivy3.app/Contents/Resources/script'"
The issue might be because kivy3 is being copied as kivy.app into applications. Any resolution for it?

@amitvirat use this to resolve symlink error
ln -s /Applications/Kivy.app/Contents/Resources/script /usr/local/bin/kivy

You seem to be mixing two installation methods, try installing the newly released version again.


Weather App

Description
Added Weather App
Fixes # (issue no.)
Weather App #14
Type of change

[ ✔] New feature (non-breaking change which adds functionality)

Explain the Testing instructions
Test Configuration:

Operating system: Windows
Version: 10
Text-editors used: VS Code

Checklist:

[ ✔] My code follows the style guidelines of this project
[ ✔] I have performed a self-review of my own code
[✔ ] I have commented my code, particularly in hard-to-understand areas
[✔ ] I have made corresponding changes to the documentation
[✔ ] My changes generate no new warnings
[✔ ] I have added tests that prove my fix is effective or that my feature works
[✔ ] New and existing unit tests pass locally with my changes
[ ✔] Any dependent changes have been merged and published in downstream modules

ATTACH SCREEN-SHOTS / DEPLOYMENT LINK

@ankitapuri please review

@arpit456jain u can merge it

@arpit456jain u can merge it

Hey @ankitapuri is there is any possibility to increase the level as i have also used 2 api with it(unsplash api and openweather api) for the project

@arpit456jain u can merge it

Hey @ankitapuri is there is any possibility to increase the level as i have also used 2 api (unsplash api and openweather api) for the project
unsplash api for dynamic backgrounds
openweather api for weather forecast of differenet places

Okay sure . I will change it

Great work @Atif0604


Tuple getitem cannot compile with IntegerLiterals as index

[x] I have tried using the latest released version of Numba (most recent is
visible in the change log (https://github.com/numba/numba/blob/master/CHANGE_LOG).
[x] I have included below a minimal working reproducer (if you are unsure how
to write one see http://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports).

Hi,
We recently found some code in our code base, that was obviously used to extend operator.getitem for BaseTuple types and IntegerLiterals as index. Without it the following fails to compile:
import operator
import numpy as np

import numba
from numba import types
from numba.core import cgutils
from numba import literally
from numba.extending import (
    make_attribute_wrapper,
    overload,
    models,
    register_model,
    type_callable,
    typeof_impl,
    lower_builtin,
)

def make_dummy_type():
    class Dummy(object):
        def __init__(self, value):
            self.value = value

    class DummyType(types.Type):
        def __init__(self, data):
            self.data = data
            super(DummyType, self).__init__(name="Dummy({})".format(data))

    @register_model(DummyType)
    class DummyModel(models.StructModel):
        def __init__(self, dmm, fe_type):
            data_type = types.Tuple(fe_type.data)
            members = [("data", data_type)]
            models.StructModel.__init__(self, dmm, fe_type, members)

    make_attribute_wrapper(DummyType, "data", "_data")

    @type_callable(Dummy)
    def type_dummy(context):
        def typer(value):
            return DummyType(value)

        return typer

    @lower_builtin(Dummy, types.Tuple)
    def impl_dummy(context, builder, sig, args):
        typ = sig.return_type
        [value] = args
        dummy = cgutils.create_struct_proxy(typ)(context, builder)
        dummy.data = value
        return dummy._getvalue()

    @typeof_impl.register(Dummy)
    def typeof_dummy(val, c):
        return DummyType(val)

    # Store attributes
    return Dummy, DummyType

Dummy, DummyType = make_dummy_type()

@overload(operator.getitem)
def dummy_getitem_ovld(self, idx):
    if not isinstance(self, DummyType):
        return None

    if isinstance(idx, types.IntegerLiteral):
        def dummy_getitem_impl(self, idx):
            return self._data[idx]

        return dummy_getitem_impl

@numba.njit
def test_impl_issue(x):
    d = Dummy(x)
    return d[0]

n = 11
a1 = np.ones(n, dtype='int')
a2 = np.arange(n, dtype=np.float64)
a3 = np.random.ranf(n)
print("DEBUG:", test_impl_issue((a1, a2, a3)))

And the error is following:
No implementation of function Function(<built-in function getitem>) found for signature:

 >>> getitem(Tuple(array(int32, 1d, C), array(float64, 1d, C), array(float64, 1d, C)), Literal[int](0))

There are 18 candidate implementations:
   - Of which 18 did not match due to:
   Overload of function 'getitem': File: <numerous>: Line N/A.
     With argument(s): '(Tuple(array(int32, 1d, C), array(float64, 1d, C), array(float64, 1d, C)), Literal[int](0))':
    No match.

As far as I see from the func_ir 'getitem' expr is not transformed to 'static_getitem', since idx is not const and so this continues to type_inference_stage and fails, since probably there are no templates that can handle this:
------------IR DUMP: dummy_getitem_ovld.<locals>.dummy_getitem_impl-------------
label 0:
    self = arg(0, name=self)                 ['self']
    idx = arg(1, name=idx)                   ['idx']
    $4load_attr.1 = getattr(value=self, attr=_data) ['$4load_attr.1', 'self']
    $8binary_subscr.3 = getitem(value=$4load_attr.1, index=idx) ['$4load_attr.1', '$8binary_subscr.3', 'idx']
    $10return_value.4 = cast(value=$8binary_subscr.3) ['$10return_value.4', '$8binary_subscr.3']
    return $10return_value.4                 ['$10return_value.4']

After that I found below simple script also fails:
import operator
import numpy as np
import numba
from numba import types
from numba.extending import overload

def bar(tup, idx):
    pass

@overload(bar)
def bar_ovld(tup, idx):
    if not isinstance(idx, types.IntegerLiteral):
        return None

    def _impl(tup, idx):
        return tup[idx]        # it works with attr[0]
    return _impl

@numba.njit
def test_bar(arrs):
    return bar(arrs, 0)

n = 11
a1 = np.ones(n, dtype=np.int32)
a2 = np.arange(n, dtype=np.float64)
a3 = np.random.ranf(n)
tup_of_arrays = (a1, a2, a3,)
print("DEBUG:", test_bar(tup_of_arrays))

Do you think we can add below code to Numba to fix this?
@overload(operator.getitem)
def base_tuple_getitem_ovld(tup, idx):
    if not (isinstance(tup, types.BaseTuple)
            and isinstance(idx, types.IntegerLiteral)):
        return None
    idx_val = idx.literal_value
    def base_tuple_getitem_impl(tup, idx):
        return tup[idx_val]
    return base_tuple_getitem_impl

I was using Numba: 0.51.0.dev0+147.g7bb3157cf
Best Regards,
Alexey.

I see. This is caused by numba not switching to static_getitem. I guess it is due to RewriteConstGetitems not matching on Literal types.
@stuartarchibald, do you think what you are doing to unspecialise would fix this?

Just talked with @stuartarchibald out-of-band, his fix won't fix this problem.
@kozlov-alexey, can you open a PR with your fix?
In the long term, we should get rid of static-getitem and update Tuple to use overload. The problem here specific to the static-getitem and the old-style lower_buitin.

@sklam Sure, just opened it. Interestingly, the issue is not observed with below code, where index is a Global captured var (though it's typed the same as Literal[int]), since in this case const inference in RewriteConstGetitems is able to define the const value. So this probably only hits overloads and cases where literally is used.
@njit
def test_index_literal(tup):
    return tup[idx_literal]

tup = (4, 3.1, 'sss')
idx_literal = 2
print(test_index_literal(tup))


Gateway started fail

Describe the bug
rpc services are not started, the gateway cannot be started either.
To Reproduce
Do not start any instances of an rpc service.
The Must statement requires that the connection is successful when the gateway starts. For the gateway, this rule is unreasonable.

If not check at the start, when to check the routes? For some scenarios, we load the routes from the server directly, how to know the server is started?
We can have more discussion on this. If any better solution, we'll change the implementation. Thanks!

duplicate of #3891


[Task]: Specify missing return types

Task description
Specify correct type for:

OutputDto (https://github.com/iotaledger/wallet.rs/blob/44660c15168b0bf63339c5e4940346b63b1f1681/bindings/nodejs/types/output.ts#L34-L35).
Should be the same as returned from the API (https://editor.swagger.io/?url=https://raw.githubusercontent.com/iotaledger/tips/stardust-api/tips/TIP-0025/core-rest-api.yaml)
PreparedTransactionData (https://github.com/iotaledger/wallet.rs/blob/cf0a1bb423c0c0a3c63794fcd54b938ab04643d1/bindings/nodejs/types/transaction.ts#L26)

Requirements
TBD
Acceptance criteria
TBD
Creation checklist

[ ] I have assigned this task to the correct people
[X] I have added the most appropriate labels
[ ] I have linked the correct milestone and/or project

I'd like to work on this.


Code highlighting only works if it's formated?

VSCode Version: 1.17.0
OS Version: 10.11.6

Steps to Reproduce:

Open a minimized JSON file with .json extension
VSCODE correctly identifies it's json but there's no syntax highlight
Format code and all of a sudden code lights up with its color

Before format:

After format:

There's a line length limit. Lines longer than the limit are not colorized for performance reasons.

Can I change that? "Force" it to paint it anyway? What's the length limit? Because in that file the lines were not really that long.

The limit is 20000 characters. It's not configurable.
On your screenshot it looks like all is on one line.

Now that you mention it, I think you are right. Thanks for the info!


Refactor functions in Endpoint

          1 Error

:no_entry_sign:
Any changes to library code need a summary in the Changelog.

  Generated by :no_entry_sign: danger

Current coverage is 83.36% (diff: 33.33%)

Merging #865 into master will not change coverage

@@             master       #865   diff @@
==========================================
  Files            34         34
  Lines          2783       2783
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits           2320       2320
  Misses          463        463
  Partials          0          0

Powered by Codecov. Last update 95058c1...5016fe5


Some improvements

Please don't merge yet. I'd like these changes to be reviewed. Once it's all good I'll push to master. Thanks!

Thanks for the review, @josephfrazier! "Rebase and merge", absolutely! I also prefer it :-)

Oh, let me add some tests to thefuck/output_readers/rerun.py.

Diff is huge, thanks 😀!


Add New File

The university official website URL : https://www.tukorea.ac.kr/sites/tukorea/index.do

@cchoiGeon I am sorry, the domain tukorea.ac.kr is removed from our trusted domains list because it was abused in the past. If you are the student of this school, please enroll to GitHub Student Developer Program. Then apply for JetBrains educational subscription with your GitHub account (GitHub tab at https://www.jetbrains.com/shop/eform/students).


Karate-Netty: Variables defined in calling feature are not present in the called features.

karate-sample-persistent-state-dynamic-scope.zip
Hello! I don't know if is intended or not, but the dynamic scope in MockServer features doesn't work, the test fails in the last line of the second proxy.feature Scenario.
proxy.feature

    * def outer_scope_variable = "hello"
    * call common_outer_scope  ERROR: org.graalvm.polyglot.PolyglotException: ReferenceError: "outer_scope_variable" is not defined

The call to common_outer_scope fails because it can't find the outer_scope_variable defined anywhere. Also the built-in objects, like request\response are not accessible.
This is only for karate-netty, in client features everything works as expected:
first-case.feature:

  * def outer_scope_variable = "hello"

  # Here the feature just logs the value of the `outer_scope_variable`, to demostrate
  # that the problem is only in karate-netty feature files
  * call common

I found another bug while investigating this, as you can see in proxy.feature, to the first call to common_request is specified an argument.
Scenario: pathMatches('resource')

    * match request == body_req

    * call common_request ({ test: 1, default_argument: "not default anymore" })
    ...

In the second call btw, (the second Scenario), the argument is not passed, but the called feature continues to see the old value.
Scenario: pathMatches('resource/bad')

    * match request == body_req_2

    * call common_request ({ test: 10 })

common-request.feature

    * def default_argument = karate.get('default_argument', "default value")
    * karate.log("Default Argument: ", default_argument)

EveryTimes it prints:
Default Argument: 'not default anymore'

This can endanger behaviours of feature files which relies upon defaults, making them not trustworthy.

tagging as help wanted - we spent a lot of time requesting for feedback on RC versions, and it sounds like this team has used very advanced patterns which need more work.

hi, I had a look yesterday and this project is overly complex
the problem seems to be, on a server side feature, when calling another scenario with no arguments, the called scenario can not see the global variables from calling scenario
Attached is a minimun project that shows this error...
karate-mocks-server-calling-other-scenario-error.zip

hi @fscarlato
this is a workarround it will work in your case, if you access the variable with karate.get('outer_scope_variable')
# common-outer-scope.feature
Scenario: Matching request field

    * karate.log('Outer scope variable in sub-feature called from client feature:', karate.get('outer_scope_variable'))

Hi @ivangsa! Yes the local workaround works, but we already fixed this passing the arguments needed from the global scope to the called feature. Like this:
* call common_outer_scope({outer_scope_variable: value})

Our large codebase is already fixed in this way regard to this bug, what do really concerns me is the second bug, the one that makes the state persistent in called features from Scenario to Scenario. A called feature could make decisions and match things generated from other Scenarios, making the tests not trustable anymore.
Should I open a new issue for the state persistentness in bug?
Note btw that with the workaround one still can't use the utilities for matching request parts and do things like:
* match $.a == 'myvalue'

Thanks for the following!

@fscarlato @ivangsa just checking if this commit fixes this problem, I don't yet have time to go through the samples: https://github.com/karatelabs/karate/pull/1861#issuecomment-1073254809

@fscarlato thanks. sounds like a fix won't make it into the next major version.
mocks are supposed to be simple :(

this is fixed in develop, the runtime for mocks is a little different from the normal one, but now we detect if a mock is in play and act accordingly

1.3.0 released


Add WSL2 recommendation with high-level setup notes

Add recommendation to use WSL2 for Windows users in development environment setup instructions. This issue covers adding basic instructions and does not need to be tested.

Resolved in https://github.com/web3well/bls-wallet/pull/497


Move to a better name

CountPages is generic and boring. I dont really like it.
Any idea of a new name ?

I think I will call it "Doocu".

Since doocu exists. I will move to "Doccou"


DLsite GenreTag Replacer - Firefox Addon not working

The Firefox addon doesn't work at all even after I let it always be enabled for DLsite.
Please update your addon with the help of this changelist:-
reddit.com/r/visualnovels/comments/1by0dka/dlsite_march_2024_tag_changes_for_japanese_and

@RedAISkye
Thank you for letting me know about this bug.
I'll fix this bug, add en version lang file for replace genre word.
Please wait a few days.

@RedAISkye
This bug was fixed v1.1.0 (English page is supported).
And in v1.1.0, context menu is written in English when browser language is not Japanese.

@RedAISkye
Sorry I made for you wait.
This bug was fixed in v1.1.0 (English page is supported). And in v1.1.0, context menu is written in English when browser language is not Japanese.

If you find again another bugs, I would appreciate if you could report them. Thank you.

No worries, I appreciate your efforts!
Thanks a lot for the update! It's working perfectly now!


[HUDI-6993] Support Flink 1.18

Change Logs

support flink 1.18.0
Set Flink Kafka Connector Version to the externalized flink kafka connector. https://issues.apache.org/jira/browse/FLINK-30859
Fix Removal of Hive Parser DDL in HoodieHiveCatalog. https://issues.apache.org/jira/browse/FLINK-30659
Fix Parquet Version Upgrade in Flink.
copy the existing adapters from hudi-flink1.17.x to hudi-flink1.18.x
add flink1.18profile in ci matrix

Impact
Support Flink 1.18.
Risk level (write none, low medium or high below)
Low
Documentation Update
No.
Contributor's checklist

[ ] Read through contributor's guide
[ ] Change Logs and Impact were stated clearly
[ ] Adequate tests were added if applicable
[ ] CI passed

@danny0405 Please review this patch when you have time. Thanks.

Tests passed: https://dev.azure.com/apache-hudi-ci-org/apache-hudi-ci/_build/results?buildId=20702&view=results

Thanks @danny0405 for the review and commit.

Can this be merged into version 0.14?

No

Hey, are there any plans on when this will be released or somewhere I can check the timeline for next release?


git2::Delta should derive PartialEq and Eq

For convenient comparisons, git2::Delta should derive PartialEq and Eq.

Hm right now this doesn't seem to exist in the main repo?

@alexcrichton Not sure what you mean. The enum Delta (Delta::Unmodified, Delta::Added, ...) has existed for a while.

Oh weird not sure how I missed that...


Giving an incomplete range reference to the SetDefinedName ("RefersTo" field) results in a corrupted Excel file

I used the SetDefined name function with a DefinedName literal in a new sheet but forgot to specify the full reference in the "RefersTo" field (i.e. the name of the datasheet and an exclamation mark have to be prefixed, e.g. "test!$A1:$C3"):
	if err := wb.SetDefinedName(&excelize.DefinedName{
		Name:     s_def,
		RefersTo: "$A1:$C3",
		Comment:  "Data area",
	}); err != nil {
		log.Fatal("Can't set defined name: ", s_def, "Error: ", err)
	}

This resulted in a corrupted Excel file, which gave the following error message when I tried to open it in Excel:
"We found a problem with some content in 'test.xlsx'. Do you want us to try to recover as much as we can? ..."
However, the whole sheet is missing.
The issue is in master branch: v2.4.1-0.20210711160239-f62c45fe0c1
Here is the full test code:
package main

import (
	"fmt"
	"log"
	"os"

	"github.com/360EntSecGroup-Skylar/excelize/v2"
)

const s_file = "test.xlsx"
const s_sh = "test"
const s_def = "data"

func main() {

	fileDelete(s_file)
	wb := excelize.NewFile()

	// add new sheet and data to it
	wb.NewSheet(s_sh)
	sl_cells := []string{"A1", "A2", "A3", "B1", "B2", "B3", "C1", "C2", "C3"}
	for _, s_cell := range sl_cells {
		wb.SetCellStr(s_sh, s_cell, s_cell)
	}

	// set definition for data areas
	if err := wb.SetDefinedName(&excelize.DefinedName{
		Name:     s_def,
		RefersTo: "$A1:$C3",
		Comment:  "Data area",
	}); err != nil {
		log.Fatal("Can't set defined name: ", s_def, "Error: ", err)
	}

	if err := wb.SaveAs(s_file); err != nil {
		log.Fatal("Could not save new Excel file `", s_file, "`: ", err)
	}
	fmt.Println("Done")
}

func fileExists(s_file string) bool {
	info, err := os.Stat(s_file)
	if os.IsNotExist(err) {
		return false
	}
	if info.IsDir() {
		log.Fatal("Error: ", s_file, " is a directory")
	}
	return true
}

func fileDelete(s_file string) {
	if fileExists(s_file) {
		err := os.Remove(s_file)
		if err != nil {
			log.Fatal("Problem removing file `", s_file, "`: ", err)
		}
	}
}

Hi @Orionsg, please use RefersTo: `"$A1:$C3"`, instead of RefersTo: "$A1:$C3",.

Hi xuri,
It seems strange to me that adding backticks (`) around the range reference would make a difference. It is not mentioned as something one has to do in the documentation for the SetDefinedName function, but strangely you are right :-). The Excel file is no longer corrupted when the backticks are added as you describe. However, when giving the sheet name together with the range reference, the backticks are not needed. It seems inconsistent.
Furthermore:

While the Excel file is not corrupted, the defined name is not created in my example code above, when specifying only the range with backticks but no sheet reference for RefersTo. This seems like a hidden error.

Would not the full reference to the sheet be needed? Otherwise, how do we know to which sheet the defined name pertains. Perhaps it is the active sheet. But still, it would be better to enforce a full reference to avoid mistakes.

If anything not conforming to the full, right format is given as a value for "RefersTo", I would rather have a hard fail right away, i.e. an error being generated.