Events not showing in debugger unless integration All: true

Example code bit. React
export const AnalyticsProvider = ({ children, writeKey }: Props) => {

  const CONSENT_REQUIRED = true;
  const CONSENT_FUNCTIONALITY = true;
  const CONSENT_MARKETING = true;

  const integrations = useMemo(
    () => ({
      All: false,
      Amplitude: CONSENT_FUNCTIONALITY,
      'Actions Amplitude': CONSENT_FUNCTIONALITY,
      Appcues: CONSENT_FUNCTIONALITY,
      'Bing Ads': CONSENT_MARKETING,
      Bugsnag: CONSENT_REQUIRED,
      'Facebook Pixel': CONSENT_MARKETING,
      'Google Analytics': CONSENT_MARKETING,
      'Google Analytics 4': CONSENT_MARKETING,
      'Google Universal Analytics': CONSENT_MARKETING,
      'Google Tag Manager': CONSENT_MARKETING,
      'Intercom Web (Actions)': CONSENT_FUNCTIONALITY,
      Intercom: CONSENT_FUNCTIONALITY,
      'Visual Website Optimizer': CONSENT_FUNCTIONALITY,
      Webhooks: CONSENT_FUNCTIONALITY,
    }),
    [CONSENT_REQUIRED, CONSENT_FUNCTIONALITY, CONSENT_MARKETING]
  );

  const analytics = useMemo(() => AnalyticsBrowser.load({ writeKey }, { integrations }), [writeKey]);
  analytics.debug(true);

  return <AnalyticsContext.Provider value={analytics}>{children}</AnalyticsContext.Provider>;
};

Setting the All field to false make the analytics calls not show up in the segment debugger. But if I set it to true then it works perfectly.
This worked in analytics v1 but having trouble with analytics v2.
Is there an integration that is not documented that is needed for the debugger? or is am I doing something wrong here?

Seems like one needs to have
'Segment.io': true
Tried it once but must have done the it in lowercase by accident.
Found my confirmation in the info box at manual-upgrade. Would recommend having this in additional places in the docs.


clang 10 from llvm.org not recognized

Brief Issue Summary
VSCode fails to detect clang 10 from apt.llvm.org
Setup: VSCode with CMake tools 1.4.1 using SSH remote to Debian 10 machine with freshly installed clang-10 from https://apt.llvm.org/ (using the automatic installation script)
Expected:
clang-10 kit detected and available for use
Apparent Behavior:
kit not detected
CMake Tools Log
2020-06-24T21:12:55.734Z [debug] [kit] Bad Clang binary /usr/bin/clang -v output: Debian clang version 10.0.1-++20200618012613+f5a9c661a35-1~exp1~20200617233238.175
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/6
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/6.3.0
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/7
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/7.4.0
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/8
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/6
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/6.3.0
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/7
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/7.4.0
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/8
Selected GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/8
Candidate multilib: .;@m64
Selected multilib: .;@m64
Platform and Versions

Operating System: Debian 10 (Buster)
CMake Version: 3.13.4
VSCode Version: 1.46.1 + Remote SSH 0.51.0
CMake Tools Extension Version: 1.4.1
Compiler/Toolchain: CLang 10, use automatic install script from https://apt.llvm.org/

Other Notes/Information

I submitted a PR to fix this.  Thanks for the bug report!

This is available in 1.4.2


[Question] ETA on security review and 'production readiness' of express-oauth2-jwt-bearer

Hello!
I have been tracking the production release of the express-oauth2-jwt-bearer package for a few months in anticipation of migrating to it from other nodejs packages. I was curious if there was any type of ETA or release plan for marking the package ready for production use? Thank you!

Hi @nfadili - thank you for your interest!
I've been distracted with something these last couple of months, but I'm hoping to pick this up very shortly.
Will leave this open and update this thread when I have a more concrete release date

Hi @nfadili - the 1.0.0 release is now published https://www.npmjs.com/package/express-oauth2-jwt-bearer/v/1.0.0


Pagmo not found

While running ./install.sh
I am faced with an error saying -- Looking for pagmo - NOT found, to use dart-optimizer-pagmo, please install pagmo
I installed pagmo by building it form source (https://esa.github.io/pagmo2/install.html) and seemed to be successful.
However I cannot get past this.

There is also an error saying -- No package 'glut' found. But I'm unsure if it is related to the above problem.
Thanks in advance for any help.

Getting the same error, any solution?


Breaking: drop support for Node < 10

Small PR to update dependencies and drop support for Node < 10.
Does this seem okay? We could keep support for Node 8, but since it will be out of maintenance mode soon I don't think it's worth it.

This is ready to go!


Z-wave switch(es) go rogue on a pretty regular basis (with video!)

Make sure you are running the latest version of Home Assistant before reporting an issue.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:
Home Assistant release (hass --version):
[Edit: seeing behavior on 0.23 now] 0.22.1 on AiO installer on Raspbian Jessie Lite
Python release (python3 --version):
3.4.2
Component/platform:
zwave
Description of problem:
See video here of behavior: https://youtu.be/6FOJBG0l3g8
(forgive the portrait video, it was 4:30 AM)
Basically, most mornings (four of the past five nights) - always between midnight and 6am CST and each occurrence at a different time, my bathroom & walk-in closet switches lose their damn minds. node_35 is my "shower light", which has an automation rule that appears to be in play here. The rule turns all bathroom switches on/off when this switch is turned on/off. Note that this rule works great for the other 23.9 hours of the day. You'll see reference to this rule in the logs below.
[Edit: happened tonight at 10:30pm CST, which is about 8 hours after I re-installed raspbian jessie lite & the AiO installer]
Expected:
For this to not happen.
Problem-relevant configuration.yaml entries and steps to reproduce:
zwave:
  usb_path: /dev/ttyACM0
  polling_interval: 1000
  customize:
    switch.geswitch_switch_35:
      polling_intensity: 1
    switch.geswitch_switch_27:
      polling_intensity: 10
    switch.geswitch_switch_32:
      polling_intensity: 10
    switch.geswitch_switch_19:
      polling_intensity: 10
    switch.geswitch_switch_39:
      polling_intensity: 10
    switch.geswitch_switch_6:
      polling_intensity: 10
    switch.geswitch_switch_40:
      polling_intensity: 10

Notice I have switch_35, the switch in question here, set to poll every second. Since the GE 12722 switches don't report state, i need to use polling, which is an incredibly inefficient means to do this, in my opinion. If only I'd waited for the HS100+ switches... anyways, most of the switches are set to every 10s just so the UI updates, but that one switch is on every second due to it being in an automation rule.
Relevant automation rules:
- alias: "Ryan's Bathroom - All On"
  trigger:
    platform: state
    entity_id: switch.geswitch_switch_35
    state: 'on'
  action:
    service: homeassistant.turn_on
    entity_id: group.ryan_bathroom

- alias: "Ryan's Bathroom - All Off"
  trigger:
    platform: state
    entity_id: switch.geswitch_switch_35
    state: 'off'
  action:
    service: homeassistant.turn_off
    entity_id: group.ryan_bathroom

zwcfg_*.xml: http://hastebin.com/anosaxavis.xml
hass logs at the time when this happens (03:42 is the first instance. Included some lead up logs to show what's "normal" for this time of day): http://hastebin.com/alewekuwez.xml

Another thing to note is that my OZW_log.txt file is huge - 300MB in each case. Sometimes it doesn't even log any longer and doesn't even log/catch this happening. I end up at about 3 million lines of logs, from the looks of things. Not sure if that's relevant.

Wait till some time after midnight
Watch the lights lose it
restart hass to fix it for about 24 hours

Additional info:
This only started when I moved from Docker to the AiO installer last week. I'm going to try re-installing, but something tells me I'll see the same behavior.

Has this ended? Some updates have been merged that could do this.

I switched back to using Docker on UnRAID, and the behavior stopped.
I'll close this since its been weeks, and I can no longer reproduce the issue as I'm not on the same platform.


#161255253 Tag articles

What does this PR do?
-Allows users to add tags articles
Description of Task to be completed?
-Allows users to add tags as they create articles
-Allows users to tag already existing articles
-Creates tags in the tag model
-Ensures tags are not duplicated
-Write tests for tag an article
How should this be manually tested?
Access the endpoint api/tags/<slug>
-To add a tag to an already exixting article
Access the endpint api/tags/
-To create a new independent tag or list all the tags
Access the endpoint api/articles/create
-With a list of tags in the body
What are the relevant pivotal tracker stories?
Add tags to articles
Screenshots (if appropriate)
Creating an article without tags:

Create an article with tags

Create tags for already existing articles

Create an independent tag

List all available tags

Questions:

Pull Request Test Coverage Report for Build 416

134 of 136 (98.53%)  changed or added relevant lines in 10 files are covered.
9 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.9%) to 91.032%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

authors/apps/tags/api/relations.py
12
14
85.71%

Files with Coverage Reduction
New Missed Lines
%

authors/apps/rating/api/views.py
3
92.75%

authors/apps/rating/test/test_rating_api.py
6
92.59%

Totals

Change from base Build 402:
-0.9%

Covered Lines:
1949

Relevant Lines:
2141

💛  - Coveralls

I'm afraid that your code has some uncovered lines that are dropping the test coverage. It is my desire that you add some tests for the uncovered lines so as to prevent this. I I'm kindly raising this concern so as to improve our overall code coverage.


[Bug Report] dynamic add steps has style problems

Element UI version
1.2.9
OS/Browsers version
win10/chrome 28
Vue version
2.2.6
Reproduction Link
https://jsfiddle.net/862eg21f/
Steps to reproduce
now  el-steps has three el-step , click button add an el-step,
What is Expected?
one more el-step at right position
What is actually happening?
el-step style has problems

Fixed in #5456


quarto: 1.1.251 -> 1.2.269

This also patches the program so that it can run with the version of
Deno currently in nixpkgs.
Changelog: https://github.com/quarto-dev/quarto-cli/releases/tag/v1.2.269

Result of nixpkgs-review pr 201551 run on x86_64-linux 1

1 package built:

quarto

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-already-reviewed/2617/696


[Question] CUDA Out-of-Memory During Evaluation with 7B model

Required prerequisites

[X] I have read the documentation https://safe-rlhf.readthedocs.io.
[X] I have searched the Issue Tracker and Discussions that this hasn't already been reported. (+1 or comment there if it has.)
[X] Consider asking first in a Discussion.

Questions
I notice that there is a similar question listed in https://github.com/PKU-Alignment/safe-rlhf/issues/121, tricks metioned in  https://github.com/PKU-Alignment/safe-rlhf/issues/121 do work during training. I wonder if there are any methods to evaluate on GPUs like the 3090 with 24GB memory?
Checklist

[X] I have made every effort to write this issue in English, including all comments, the title, and the description.
[X] I have provided all relevant and necessary information above.
[X] I have chosen a suitable title for this issue.

Hi @masterwu2115, loading a 7B model with bfloat16 dtype requires about 14GB VRAM. The memory requirement may vary relates to your sequence length and batch size. You may need at least two 3090 GPUs (24GB x 2) to get a better experience.
CUDA_VISIBLE_DEVICES="0,1" python3 -m safe_rlhf.serve.cli --stream --max_length 512 --bf16 True --model_name_or_path PKU-Alignment/beaver-7b-v1.0

Closing due to inactivity. Please feel free to ask for a reopening. 😊


system message is a hard-coded summary

For this project to be usable by multiple users, we will need a way to personalize the system prompt, which is presently hard-coded based on several hours of discussion with Claude (Quill?)
Meta-question for ccappetta: are you interested in maintaining & improving this project with an eye towards multiple users and contributors? If so, it would make sense to discuss how issues like persistence, summaries, and customization are going to be implemented.
I'm here because I was basically coding the same thing but yours is better and farther along. I am interested in seeing where this goes.

I appreciate the note! I'd definitely be down to be in a sort of contributor role. With a toddler, a full time job, and a baby on the way I don't think I have the capacity to do much in the way of running a project. I'm more than happy to accept pull requests though, and would be down to give you or others the ability to merge.
Actually the version I'm running currently has already diverged a decent bit from the currently published one, and touches on a couple of the topics you raised.
The version I'm using isn't summarizing the previous conversations, instead I added a mechanism to let me pick up from a transcript and carry on that conversation (or I can still launch from scratch). So my system message is just the instructions and no summary at this point. I'll plan to share that version one I can align it with these couple pull requests already in the mix.
I think a broader sort of memory structure is very much of interest, but from a fair bit of fiddling with semantic search I don't think a simple RAG is the answer there. I'd probably look to do some sort of named entity extraction and keyword extraction to fetch relevant topics.

I understand about work/life/hobby contention for resources! I definitely can't put unlimited energy into this but I will be fiddling with it when I get the time.
I do hope you post your changes so we don't diverge significantly. You might want to put leading-edge breaking changes in a branch ("dev" perhaps?) so contributors can see what's coming but casual users can still pull from main. Poor man's CI :|

big round of closing comments for my own organizational sanity, please shout to continue this convo! newest version in main isn't referencing summaries anymore in the instructions and instead has the option to launch a conversation history from transcript


Windows Embedded Compact 2013 support

Added support for Windows Embedded Compact 2013 and Visual Studio 2015.
Code can be built by defining
%PROCESSOR% as arm or x86 and %SDKNAME% as the name of the Windows Embedded Compact 2013 SDK you plan to use for build.
and running:
cmake -DWINCE=TRUE -DCMAKE_SYSTEM_NAME=WindowsCE -DCMAKE_SYSTEM_VERSION=8.0 -DCMAKE_SYSTEM_PROCESSOR=%PROCESSOR% -DCMAKE_GENERATOR_TOOLSET=CE800 -DCMAKE_GENERATOR_PLATFORM=%SDKNAME%

Automatic CI verification build not done, please verify manually.

Hi,
I know this is a very small fix, but we have a policy of not accepting contributions without a Contributor’s Licence Agreement (CLA), so unfortunately to accept the contribution and any future contribution we will need a signed CLA.
This appears to be a corporate contribution, so we will need the Corporate CLA signed and returned to us, which you can find here.
Thanks in advance for your understanding.

Automatic CI verification build not done, please verify manually.

No CLA, so unfortunately we have to close the PR, as without a signed CLA we cannot accept the contribution.


Azure Devops task "Deploy Azure Static Web App" failing since version 0.200.0

Describe the bug
Since the task was updated to 0.200.0, our CD pipeline fails to deploy to Azure Static Web App. Last known working version for the task was 0.194.2 .
To Reproduce
Run "Deploy Azure Static Web App" task in Azure Devops
Yaml for ADO task:
#Your build pipeline references an undefined variable named ‘AppToken’. Create or edit the build pipeline for this YAML file, define the variable on the Variables tab. See https://go.microsoft.com/fwlink/?linkid=865972

steps:
- task: AzureStaticWebApp@0
  displayName: 'Static Web App QA Deployment'
  inputs:
    workingDirectory: '$(System.DefaultWorkingDirectory)/<our_repo>'
    app_location: build
    skip_app_build: true
    verbose: false
    azure_static_web_apps_api_token: '$(AppToken)'

staticwebapp.config.json:
{
  "navigationFallback": {
    "rewrite": "/index.html",
    "exclude": [
      "/static/*"
    ]
  },
  "globalHeaders": {
    "Server": "",
    "Content-Security-Policy": "<our CSP here>",
    "Strict-Transport-Security": "max-age=63072000; includeSubdomains",
    "X-Xss-Protection": "1; mode=block",
    "X-Content-Type-Options": "nosniff",
    "X-Frame-Options": "sameorigin",
    "Referrer-Policy": "strict-origin-when-cross-origin",
    "Feature-Policy": "geolocation *"
  },
  "responseOverrides": {
    "400": {
      "statusCode": 404,
      "rewrite": "/503.html"
    },
    "401": {
      "statusCode": 404,
      "rewrite": "/503.html"
    },
    "403": {
      "statusCode": 404,
      "rewrite": "/503.html"
    },
    "404": {
      "statusCode": 404,
      "rewrite": "/503.html"
    }
  },
  "mimeTypes": {
    ".json": "text/json"
  }
}

Expected behavior
Deployment task works.
Screenshots
Logs from task
2022-02-17T08:59:37.4690857Z ##[section]Starting: Static Web App QA Deployment
2022-02-17T08:59:37.4715060Z ==============================================================================
2022-02-17T08:59:37.4715470Z Task         : Deploy Azure Static Web App
2022-02-17T08:59:37.4715797Z Description  : [PREVIEW] Build and deploy an Azure Static Web App
2022-02-17T08:59:37.4716224Z Version      : 0.200.0
2022-02-17T08:59:37.4716469Z Author       : Microsoft Corporation
2022-02-17T08:59:37.4716817Z Help         : https://aka.ms/swadocs
2022-02-17T08:59:37.4717143Z ==============================================================================
2022-02-17T08:59:37.6481498Z [command]/bin/bash /opt/vsts-2/_work/_tasks/AzureStaticWebApp_18aad896-e191-4720-88d6-8ced4806941a/0.200.0/launch-docker.sh
2022-02-17T08:59:37.7539260Z unknown flag: --pull
2022-02-17T08:59:37.7539870Z See 'docker run --help'.
2022-02-17T08:59:37.7693354Z ##[error]Error: The process '/bin/bash' failed with exit code 125
2022-02-17T08:59:37.7713721Z ##[section]Finishing: Static Web App QA Deployment

Hi @yann-combarnous ! 😀  The Deploy Azure Static Web App Task executes the script launch-docker.sh
docker run \
    --env-file ./env.list \
     --pull=always \
    -v "$SWA_WORKING_DIR:$SWA_WORKSPACE_DIR" \
    "$SWA_DEPLOYMENT_CLIENT" \
    ./bin/staticsites/StaticSitesClient run

Since version 20.10.0, Docker add the pull flag to docker run command. You can see here.
Probably you are running a docker version that is lower than version 20.10.0. To fix this, you can update docker from 20.10.0  or you can modify the script launch-docker.sh  and remove the  --pull flag. It will be like this
docker run \
    --env-file ./env.list \
    -v "$SWA_WORKING_DIR:$SWA_WORKSPACE_DIR" \
    "$SWA_DEPLOYMENT_CLIENT" \
    ./bin/staticsites/StaticSitesClient run

Is it possible to update Docker client on your agent? We’ll look into updating a future version to use a separate pull command instead of a flag to be more compatible with older clients.


Missing chat template for Hugging Face Agents

Hi author,
I found that it is missing chat template for the Hugging Face Agents class, which makes it not comparable to querying API models with a chat template (GPT, togetherAPI). Therefore, were the experiments in the paper conducted with or without the chat template for Llama2-chat and mixtral?

Hello, Justin
Thanks for the question! We used TogetherAI for running Mixtral and Llama-2!


Cleanup relayer CLIs

Crate
realyer-cli

Summary of Bug
Some of the relayer CLIs have redundant (e.g. connection and channel IDs are not used in open-init CLIs) or unneeded parameters (e.g. for open-ack and open-confirm the client IDs can be obtained by querying the connections).
All CLIs should be reviewed.

Version

Steps to Reproduce
Exercise the relayer CLIs

For Admin Use

[ ] Not duplicate issue
[ ] Appropriate labels applied
[ ] Appropriate milestone (priority) applied
[ ] Appropriate contributors tagged
[ ] Contributor assigned/self-assigned

See https://github.com/informalsystems/ibc-rs/commit/9c98b898c2941cbc077c0358658098f95200852b for tx raw commands for connections.

Done for tx raw chan-open-*  commands as well


fix generating function should not folding to NullLiteral (#29003)

pick from master
PR #29003
commit: f371528adabd294d67fe25f5fe57d8b7046bb1a1
should not fold table generating function to null when do constant folding. we should remove Generate node and replaced it by project later.
Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


Helper in Attributes

Hi.
I have a helper that returns 'disabled' when the conditions are met.
I would like to use this as such.
button(class="foo" {{disabled}})

but this won't work.
Is there a way to get this to work?

I found $dyn = disabled.


Missing requirement to build examples README.md

As discussed here on IRC
It would be good to add this requirement to the purescript-halogen examples:
npm install virtual-dom

If I may, there's a couple of other easy-fix points that I'd like to tack on to this issue, that I also ran across when trying the examples.

The pulp build step isn't necessary, since the browserify step does a compile first anyway.
In the intro example the index.html file looks for the .js file at js/index.js; needs to be changed to dest/index.js.
The ajax example doesn't work in IE, because it's requiring an outdated version of purescript-aff. This needs updating in the bower.json.

I was affected by @jmatsushita's issue as well. Here's a full log of what happend following the current instructions:
~/source/unsorted/purescript-halogen/examples/counter $ pulp browserify
* Browserifying project in /home/cody/source/unsorted/purescript-halogen/examples/counter
* Building project in /home/cody/source/unsorted/purescript-halogen/examples/counter
* Build successful.
* Browserifying...
events.js:85
      throw er; // Unhandled 'error' event
            ^
Error: Cannot find module 'virtual-dom/create-element' from '/home/cody/source/unsorted/purescript-halogen/examples/counter/output/Halogen.Internal.VirtualDOM'
    at /home/cody/.nvm/versions/node/v0.12.5/lib/node_modules/pulp/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/lib/async.js:46:17
    at process (/home/cody/.nvm/versions/node/v0.12.5/lib/node_modules/pulp/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/lib/async.js:173:43)
    at ondir (/home/cody/.nvm/versions/node/v0.12.5/lib/node_modules/pulp/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/lib/async.js:188:17)
    at load (/home/cody/.nvm/versions/node/v0.12.5/lib/node_modules/pulp/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/lib/async.js:69:43)
    at onex (/home/cody/.nvm/versions/node/v0.12.5/lib/node_modules/pulp/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/lib/async.js:92:31)
    at /home/cody/.nvm/versions/node/v0.12.5/lib/node_modules/pulp/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/lib/async.js:22:47
    at FSReqWrap.oncomplete (fs.js:95:15)

@stkb Not to be pedantic, but I think you meant dist/index.js.

I've made a pull request to fix these issues.
@codygman thanks for the correction :)

I think this is solved now, or will be when the pending PR is merged. The dependency is listed in the readme, and each of the examples will now have its own package.json with the virtual-dom dependency listed.


Show all swap fee possibilities (Gauntlet, fixed, owner)

Changes proposed in this pull request:

There are three swap fee options - show all of them
owner-controlled: 0x03cd191f589d12b0582a99808cf19851e468e6b500020000000000000000002b
truly fixed: 0xf461f2240b66d55dcf9059e26c022160c06863bf000100000000000000000007

The owner can't change (with core pools, anyway). Don't think it's on the
Subgraph but will check. I also want to differentiate between oracle and
non-oracle weighted pools (and show the state of the oracle). That is a
subgraph change as well.
Meant to be single purpose, but running my script to populate the new tx
keys pulled in all the other new keys as well. Sorry! Will do a tx-only one
first next time.
On Mon, May 17, 2021, 5:40 AM Gareth Fuller @.***>
wrote:

@.**** requested changes on this pull request.
Thanks for this Jeff. Just some minor comments. Also, let's try to keep
PRs single purpose.
In src/services/balancer/contracts/contracts/vault.ts
https://github.com/balancer-labs/frontend-v2/pull/358#discussion_r633377467
:

@@ -30,6 +30,7 @@ export default class Vault {

 result = await this.multiCaller.execute(result);

 this.service.multiCaller.call('totalSupply', poolAddress, 'totalSupply');

 this.service.multiCaller.call('decimals', poolAddress, 'decimals');

this.service.multiCaller.call('owner', poolAddress, 'getOwner');

Is the owner likely to change often? Can we instead get this from the
subgraph? Reason being, ideally we only fetch the pool attributes that need
to be dynamic with onchain calls.
In src/pages/Pool.vue
https://github.com/balancer-labs/frontend-v2/pull/358#discussion_r633381251
:

 feesManagedByGauntlet.value

   ? t('feesManagedByGauntlet')

   : feesFixed.value

   ? t('fixedFeesTooltip')

   : communityManagedFees.value

   ? t('delegateFeesTooltip')

   : t('ownerFeesTooltip')

Using the ternary operator is quite unreadable here.
⬇ Suggested change

 feesManagedByGauntlet.value

   ? t('feesManagedByGauntlet')

   : feesFixed.value

   ? t('fixedFeesTooltip')

   : communityManagedFees.value

   ? t('delegateFeesTooltip')

   : t('ownerFeesTooltip')

 if (feesManagedByGauntlet.value) {

   t('feesManagedByGauntlet')

 } else if (communityManagedFees.value)

   t('delegateFeesTooltip')

 } else if (feesFixed.value)

   t('fixedFeesTooltip')

 } else {

   t('ownerFeesTooltip')

 }

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/balancer-labs/frontend-v2/pull/358#pullrequestreview-660760534,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AALW2VRN543KFEFUVAZLWYTTODP7HANCNFSM446VGIKA
.


New package: Omniscape v0.1.0

Registering package: Omniscape
Repository: https://github.com/Circuitscape/Omniscape.jl
Created by: @vlandau
Version: v0.1.0
Commit: 0bfa6f971cda8bb5813d88787a1c49494b1db4d5
Reviewed by: @vlandau
Reference: https://github.com/Circuitscape/Omniscape.jl/commit/0bfa6f971cda8bb5813d88787a1c49494b1db4d5#commitcomment-34401256

Just found a pretty big math error in a function, so maybe it makes sense to close this merge request and re-register when I have it fixed? Sorry about this.

That's your call, but it does seem sensible to just wait and register the fixed version.

Yeah, I think it makes sense to scrap this PR. Would you mind closing it?

Just update it when you are ready.

Thanks, I'm new to Julia package development, so I'm not exactly sure how to edit the existing PR since it was made by JuliaRegistrator. How do I go about updating this existing PR? Thanks for any help.

Just retrigger the bot on a fixed version.

Okay, easy enough. Thanks!

It's finally good to go!

@StefanKarpinski @fredrikekre, anything else I need to do?

TagBot tag


TileSet editor AtlasMergingDialog crash fix

When generating the merged TileSetAtlasSource the newly calculated new_texture_region_size was being set after creating tiles within such source. Hence during tiles creation its texture_region_size was the default (16, 16) instead of the new_texture_region_size. When any dimension of new_texture_region_size was smaller than 16 then the tile would fail to be created as it would be determined to not fit within the new texture. Hence later obtaining such tile's data would fail (as it was not created) and thus nullptr would be dereferenced when trying to copy the properties (which caused the crash).
This PR makes the new_texture_region_size be set before copying the tiles so the checks should not fail like before.
Fixes #75354.

Thanks!

Cherry-picked for 4.0.2.


Class 'CodeIgniter\Hooks\Hooks' not found

\CodeIgniter\Hooks\Hooks::trigger('cms_init');

The Hooks class has been renamed to Events.
\CodeIgniter\Events\Events::trigger('cms_init');


DO Datasets

Related to: https://github.com/CartoDB/data-observatory/issues/194

Add do_datasets module
Add tests
Fix CartoPaginator when there is no total information from the API

Acceptance :green_apple:
Let's update the NEWS file as @alrocar suggested and go ahead


[Trivial] Release Process Migration

This Pull Request migrates your mobile application to the new Fury + CircleCI scheme. Please merge this PR if everything is green. If not, please contact Fury support. Thanks :)

          2 Messages

:book:
Executed 4 tests, with 0 failures (0 unexpected) in 0.267 (0.271) seconds

:book:
Executed 4 tests, with 0 failures (0 unexpected) in 0.403 (0.407) seconds

  Generated by :no_entry_sign: Danger

rp retest


⚠ Bofrost.at has degraded performance

In 4321f2b, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2795 ms

Resolved: Bofrost.at performance has improved in 558f61b after 6 minutes.


New Feature: added NPC current HP attribute; made formatting of HTML prettier

Added an attr for NPC current HP to tie to token and made formatting pretty for the HTML sheet

Submission Checklist
Required

[ X ] The pull request title clearly contains the name of the sheet I am editing.
[ X ] The pull request title clearly states the type of change I am submitting (New Sheet/New Feature/Bugfix/etc.).
[ X ] The pull request makes changes to files in only one sub-folder.
[ X ] The pull request does not contain changes to any json files in the translations folder (translation.json is permitted)

New Sheet Details

The name of this game is: <   >  (i.e. Dungeons & Dragons 5th Edition, The Dresden Files RPG)

The publisher of this game is: <   > (i.e. Wizards of the Coast, Evil Hat)

The name of this game system/family is: <   > (i.e. Dungeons & Dragons, FATE)

[ ] I have followed the Character Sheets Standards when building this sheet.

[ ] I have authorization from the game's publisher to make this an official sheet on Roll20 with their name attached.
[ ] This game is not a traditionally published game, but a copy of the game rules can be purchased/downloaded/found at: <   >
[ ] This sheet is for an unofficial fan game, modification to an existing game, or a homebrew system.

Changes / Description

Character Sheet Info Roll20 Internal Use only.

@clevett Could you take a look at the proposed changes? I've tested in my sandbox and all has gone well.


Update to make_strings_column returning uvector

Fixes #1835 and the submodule sync error reported at #1834.  rapidsai/cudf#15171 changed make_strings_column to return a uvector, so this updates the spark-rapids-jni code accordingly.

build


Pedantic addition of PHP_EOL

Won't be added until I actually tag a next release, this small change isn't really worth it. But know that it'll be included some day ;)


background color not worlking

hi,
i testing your bar but, i changed the background but not working
any help?
Br
Max

This happens if you have FixedMode="True" in your page.


Skip ovn role if ovn_central var isn't specified

In case user don't specify host_deploy_ovn_central or ovn_central we need to skip whole ovn role rather then fail, that it's not specified.

@dominikholler

ci build please


Fixed typo in comment

Corrected spelling of "Overall" :-)

Oh, good catch! Thank you! :D

No problem!


⚠ eid has degraded performance

In 68bc232, eid (https://eid.digitalservicebund.de/api/v1/health) experienced degraded performance:

HTTP code: 200
Response time: 5536 ms

Resolved: eid performance has improved in b9017ab.


Add Params sub-tab to Request request tab

Adds a sub-tab to the request panel of the Request tab that displays the query parameters and/or form data parameters of the request.  Also adjusts some of the tab styling per @chetsangnil.

Associated with #130.

Looks good.


Interior Left Nav transition

Context:
When you toggle the Interior Left Nav component, the selected menu item has background white

[ ] Make active menuitem background-color: transparent

Can you override the background-color with your own styles?
Also, if you want a change to the SCSS, we should submit a new PR to carbon-components repo.
Going to move this issue to carbon-components.

Issue moved to carbon-design-system/carbon-components #180 via ZenHub


[BUG]

Execute the command and paste the result below.
Command: uname -a && php -v && composer info | grep hyperf && php --ri swoole
Linux joy 5.11.0-27-generic #29~20.04.1-Ubuntu SMP Wed Aug 11 15:58:17 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
PHP 7.4.22 (cli) (built: Aug  3 2021 15:42:57) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
96qbhy/hyperf-auth                   v2.4.3             hyperf 的 auth 组件
hyperf-ext/captcha                   v2.2.0             The Hyperf CAPTCHA package.
hyperf-ext/encryption                v2.2.0             The Hyperf Encryption package.
hyperf/async-queue                   v2.2.0             A async queue component for hyperf.
hyperf/cache                         v2.2.0             A cache component for hyperf.
hyperf/command                       v2.2.0             Command for hyperf
hyperf/config                        v2.2.0             An independent component that provides configuration container.
hyperf/constants                     v2.2.0             A constants component for hyperf.
hyperf/consul                        v2.2.0             A Consul Client for Hyperf.
hyperf/contract                      v2.2.0             The contracts of Hyperf.
hyperf/database                      v2.2.0             A flexible database library.
hyperf/db-connection                 v2.2.0             A hyperf db connection handler for hyperf/database.
hyperf/devtool                       v2.2.0             A Devtool for Hyperf.
hyperf/di                            v2.2.4             A DI for Hyperf.
hyperf/dispatcher                    v2.2.0             A HTTP Server for Hyperf.
hyperf/engine                        v1.1.6
hyperf/event                         v2.2.0             an event manager that implements PSR-14.
hyperf/exception-handler             v2.2.0             Exception handler for hyperf
hyperf/filesystem                    v2.2.0             flysystem integration for hyperf
hyperf/framework                     v2.2.0             A coroutine framework that focuses on hyperspeed and flexible, specifically use for build microservices and middlewares.
hyperf/guzzle                        v2.2.0             Swoole coroutine handler for guzzle
hyperf/http-message                  v2.2.0             microservice framework base on swoole
hyperf/http-server                   v2.2.4             A HTTP Server for Hyperf.
hyperf/ide-helper                    v2.2.0             IDE help files for Hyperf.
hyperf/json-rpc                      v2.2.0             A JSON RPC component for Hyperf RPC Server or Client.
hyperf/load-balancer                 v2.2.0             A load balancer library for Hyperf.
hyperf/logger                        v2.2.0             A logger component for hyperf.
hyperf/memory                        v2.2.0             An independent component that use to operate and manage memory.
hyperf/model-cache                   v2.2.0             A model cache component for hyperf.
hyperf/model-listener                v2.2.0             A model listener for Hyperf.
hyperf/paginator                     v2.2.0             A paginator component for hyperf.
hyperf/pool                          v2.2.0             An independent universal connection pool component.
hyperf/process                       v2.2.3             A process component for hyperf.
hyperf/redis                         v2.2.0             A redis component for hyperf.
hyperf/rpc                           v2.2.0             A rpc basic library for Hyperf.
hyperf/rpc-client                    v2.2.0             An abstract rpc server component for Hyperf.
hyperf/rpc-server                    v2.2.0             An abstract rpc server component for Hyperf.
hyperf/server                        v2.2.0             A base server library for Hyperf.
hyperf/service-governance            v2.2.4             A service governance component for Hyperf.
hyperf/service-governance-consul     v2.2.4             A consul adapter for service governance.
hyperf/testing                       v2.2.0             Testing for hyperf
hyperf/tracer                        v2.2.0             A open tracing system implemented for Hyperf or other coroutine framework
hyperf/translation                   v2.2.0             An independent translation component, forked by illuminate/translation.
hyperf/utils                         v2.2.4             A tools package that could help developer solved the problem quickly.
hyperf/validation                    v2.2.0             hyperf validation
hyperf/watcher                       v2.2.2             Hot reload watcher for Hyperf
joyqhs/hyperf-rpc-swagger            dev-master 5089c77 this is hyperf annotation document generate package
joyqhs/hyperf-swagger                dev-master 7effcf7 this is hyperf annotation document generate package

swoole

Swoole => enabled
Author => Swoole Team<EMAIL_ADDRESS>Version => 4.7.0
Built => Aug  3 2021 15:50:18
coroutine => enabled with boost asm context
epoll => enabled
eventfd => enabled
signalfd => enabled
cpu_affinity => enabled
spinlock => enabled
rwlock => enabled
sockets => enabled
openssl => OpenSSL 1.1.1f  31 Mar 2020
dtls => enabled
http2 => enabled
json => enabled
curl-native => enabled
pcre => enabled
zlib => 1.2.11
mutex_timedlock => enabled
pthread_barrier => enabled
futex => enabled
async_redis => enabled

Directive => Local Value => Master Value
swoole.enable_coroutine => On => On
swoole.enable_library => On => On
swoole.enable_preemptive_scheduler => Off => Off
swoole.display_errors => On => On
swoole.use_shortname => Off => Off
swoole.unixsock_buffer_size => 8388608 => 8388608

php bin/hyperf.php swagger:rpc:gen --server jsonrpc-http
Description:
使用RpcServer DispatcherFactory生成路由时，PHP Fatal error:  Uncaught Hyperf\Di\Exception\InvalidDefinitionException: Entry "Hyperf\RpcServer\Router\DispatcherFactory" cannot be resolved: Entry "Hyperf\Rpc\Contract\PathGeneratorInterface" cannot be resolved: the class is not instantiable
Steps To Reproduce:

这个显然不是框架的问题，另外，你可以检查一下 Hyperf\Rpc\Contract\PathGeneratorInterface 有没有被正确配置


Added Waffle Grid

Added Waffle grid, an easy to use flexbox grid system

Wow, great job :)

Thanks a  lot!


Investigate async/await support

C#:
class AsyncClass
{
    async someAction(): Task<number> {
        var result = await this.anotherAction();
        return result * 2;
    }

    async anotherAction(): Task<number> {
        return someExternalAsyncThing();
    }
}

TypeScript:
class AsyncClass {
    async someAction(): Promise<number> {
        let result = await this.anotherAction();
        return result * 2;
    }

    async anotherAction(): Promise<number> {
        return someExternalAsyncThing();
    }
}

Is there an equivalent in other languages?

Python has it.
Java does not.
Ruby does not.


Need your help to integrate descope (version: 1.0.14)

<EMAIL_ADDRESS>34:22
Module parse failed: Unexpected token (34:22)
File was processed with these loaders:

./node_modules/react-scripts/node_modules/babel-loader/lib/index.js
You may need an additional loader to handle the result of these loaders.
|   projectId: "temp pid"
| });

const w = () => m ? k?.getSessionToken() : (console.warn("Get session token is not supported in SSR"), ""),
|   y = () => m ? k?.getRefreshToken() : (console.warn("Get refresh token is not supported in SSR"), ""),
|   b = p((e = w(), r) => k?.getJwtPermissions(e, r)),

Node: 14.18.2
React: 17.0.1
react-scripts: "4.0.1"
Kindly help.

jey @ziaul-haque
thanks for the detailed information
any chance that you have a small repository that reproduces this issue?


goto should probably be a SET_POSITION_TARGET_GLOBAL_INT command

The implementation of goto is a bit odd - for a start it is called as part of vehicle.commands.goto, while commands is normally for missions? Anyway, the implementation currently uses mission_item_encode. My understanding is that this is for encoding mission items to be handled in missions. For "Guided" commands it should use SET_POSITION_TARGET_GLOBAL_INT.
The code would  look something like this (taken from the example code added in #170):
def goto_position_target_global_int(aLocation):
    """
    Send SET_POSITION_TARGET_GLOBAL_INT command to request the vehicle fly to a specified location.

    For more information see: https://pixhawk.ethz.ch/mavlink/#SET_POSITION_TARGET_GLOBAL_INT

    See the above link for information on the type_mask (0=enable, 1=ignore).
    At time of writing, acceleration and yaw bits are ignored.
	"""
    print 'goto_target_globalint_position'
    msg = vehicle.message_factory.set_position_target_global_int_encode(
        0,       # time_boot_ms (not used)
        0, 0,    # target system, target component
        mavutil.mavlink.MAV_FRAME_GLOBAL_RELATIVE_ALT_INT, # frame
        0b0000111111111000, # type_mask (only speeds enabled)
        aLocation.lat*1e7, # lat_int - X Position in WGS84 frame in 1e7 * meters
        aLocation.lon*1e7, # lon_int - Y Position in WGS84 frame in 1e7 * meters
        aLocation.alt, # alt - Altitude in meters in AMSL altitude, not WGS84 if absolute or relative, above terrain if GLOBAL_TERRAIN_ALT_INT
        0, # X velocity in NED frame in m/s
		0, # Y velocity in NED frame in m/s
		0, # Z velocity in NED frame in m/s
        0, 0, 0, # afx, afy, afz acceleration (not supported yet, ignored in GCS_Mavlink)
        0, 0)    # yaw, yaw_rate (not supported yet, ignored in GCS_Mavlink)
    # send command to vehicle
    vehicle.send_mavlink(msg)
    vehicle.flush()

Though maybe not - since this command is actually a mission command that happens to be run in guided mode. It is not implemented in GCS_Mavlink.cpp so perhaps it HAS to be sent as a mission item. @rmackay9  - can you elucidate?

This should land in DKPY2. I'm going to pull in @wsilva32 and @eliao in here for this, since .goto is the only commands mechanism used by Solo rn.
If a vehicle.goto method existed, would implementing it like the above be suitable? Versus our current implementation.

That should be fine. For classic cable/selfie we use the vehicle.commands.goto() function in combination with a MAV_CMD_DO_SPEED to head to one point or another. We are slowly phasing this type of control out in favor of using a more explicit control interface, such as:
self.vehicle.message_factory.set_position_target_global_int_encode(
0,       # time_boot_ms (not used)
0, 1,    # target system, target component
mavutil.mavlink.MAV_FRAME_GLOBAL,  # frame
0b0000110111000000,  # type_mask - enable pos/vel
int(newLoc.lat * 10000000),  # latitude (degrees1.0e7)
int(newLoc.lon * 10000000),  # longitude (degrees1.0e7)
newLoc.alt,  # altitude (meters)
newVel.x, newVel.y, -newVel.z,  # North, East, Down velocity (m/s)
0, 0, 0,  # x, y, z acceleration (not used)
0, 0)    # yaw, yaw_rate (not used)
and plans to use the acceleration vector in the near future.

@wsilva32 @tcr3dr  So in effect you're slowly stopping using the things that make DroneKit worthwhile in favour of directly calling messages. Seems like a hint that we're doing things wrong in droneki?
Essentially we'll be calling your above function with position information. The only way in which I see this as more useful is if you're flying plane, where the frame isn't always global-relative as goto expects. What this method does allow that goto does not is direct control over the velocity components - something I'd like to see.
Can you explain what DK might/should do that this does better?

@hamishwillee
ArduCopter has several controllers.
One is the position controller, which goto uses.  This is not appropriate for many of our shots.
Another one is the velocity controller, which takes input velocities.  And finally, we have the pos-vel controller, which takes both positions and velocities.  We would need Dronekit to expose these in order for the shots to use them.  So I could imagine DroneKit functions like:
setVel() - for velocity controller
setPosVel() - for pos-vel controller
And then in the future:
setAccel() - for acceleration controller
(There are plenty of other things Dronekit could do to better serve the shots code; but we have just not been able to focus on them yet.)

@eliao Thank you. We should discuss this and define an API - the direct commands are pretty ugly - especially with the bitmask for specifying which parameters are used in the move command. I didn't know you could set both position and velocity - is that just be setting the bitmask appropriately?

@hamishwillee That's correct, the bitmask defines which ArduCopter controller is invoked by the set_position_target_global_int_encode command.

@wsilva32 Thanks. Nice to be able to control the speed to get to a point in one go. Would actually be nice to add speed to the goto command.
We need to make DK-Python great for solo "first" - thats how I understand our mandate anyway.

Fortuitously, I don't think we need this to block the DKPY2 release because it our current methods are in the wrong namespace—vehicle.goto can be logically distinct, so it won't break backcompat (vehicle.commands.goto can just be deprecated). Given this, I'm reclassifying this as an enhancement and removing it from DKPY2 blockers.
Doesn't mean we won't get to it soon, but I do want to move ahead with a proper release.

OK by me. Lots more thinking needs to be done around supporting movement by position and velocity (local and global and relative to the vehicle body/heading)


Rename CLI to blueapi and deprecate old one

From discussion with @joeshannon, it's probably best if the old CLI command bluesky goes away to be replaced with blueapi to avoid confusion.

Hmm, good question. We don't have a formal release cycle yet. Could be time-based?

Have decided for this particular case it will be 1 sprint: https://github.com/DiamondLightSource/blueapi/issues/164
We should think about a more general approach.


How to force user to log in again? OAuth is completing transparently

I have OAuth working in my app, but I can't seem to figure out how to make logging out work. When they press log out I revoke the token through the API and then clear my app state. When the user chooses to log back in, the oauth authentication screen pops up but still instantly closes.
This issue is the same as in this issue: https://github.com/openid/AppAuth-iOS/issues/281

They recommend adding prompt=login to the request as that seems to be part of the OAuth spec for the server to force the user to enter credentials again. However, either I haven't implemented that correctly, or the Trakt API doesn't support it. 😀 Here is another article about that: https://www.oauth.com/oauth2-servers/authorization/requiring-user-login/

This issue is interesting and definitely related: https://github.com/trakt/api-help/issues/19#issuecomment-457733626
The recommendation is to authenticate against the trakt.tv endpoint and not api.trakt.tv. This is a good gotcha, every JS library for Trakt I've seen authenticates against api.trakt.tv.
Regardless, from that issue it seems like I would still need to manually hit /logout. Unfortunately I don't think I can open a browser with the same cookie jar to be able to call /logout since the iOS authentication framework is separate.
I think I'm out of ideas

Can you post the example code for how you are revoking the token via that API method?
https://trakt.docs.apiary.io/#reference/authentication-oauth/revoke-token/revoke-an-access_token

Thanks for the response!
I'm revoking the token with this code:
const req = {
      method: 'POST',
      url: 'https://trakt.tv/oauth/revoke',
      headers: {
        'User-Agent': this._settings.useragent,
        'Content-Type': 'application/json',
        Authorization: `Bearer ${this._authentication.access_token}`,
        'trakt-api-version': '2',
        'trakt-api-key': this._settings.client_id,
      },
      body: JSON.stringify({
        token: this._authentication.access_token,
        client_id: this._settings.client_id,
      }),
    };

    return fetch(req.url, req);

I ran this against the apiary debug url endpoint and it seemed like it was happy with my request shape.

I've also tried hitting the api endpoint, as well as trying to include my client_secret in the body.

Please try using api.trakt.tv for the hostname and sending client_secret as well, basically match the docs exactly. The trakt.tv hostname should only be used to generate the authorize URL, but not for the other API methods.

My new request is this:
const req = {
      method: 'POST',
      url: `${this._settings.endpoint}/oauth/revoke`,
      headers: {
        'User-Agent': this._settings.useragent,
        'Content-Type': 'application/json',
        Authorization: `Bearer ${this._authentication.access_token}`,
        'trakt-api-version': '2',
        'trakt-api-key': this._settings.client_id,
      },
      body: JSON.stringify({
        token: this._authentication.access_token,
        client_id: this._settings.client_id,
        client_secret: this._settings.client_secret,
      }),
    };

which resolves to (with substitutions so I can post on GitHub):
{
  "method": "POST",
  "url": "https://api.trakt.tv/oauth/revoke",
  "headers": {
    "User-Agent": "app1234/0.0.1 (NodeJS)",
    "Content-Type": "application/json",
    "Authorization": "Bearer MY_TOKEN",
    "trakt-api-version": "2",
    "trakt-api-key": "MY_TOKEN"
  },
  "body": "{\"token\":\"MY_TOKEN\",\"client_id\":\"MY_CLIENT_ID\",\"client_secret\":\"MY_CLIENT_SECRET\"}"
}

I still get a json response from the server of {}, and the result is the same. The next authentication is still resolved immediately and transparently without the user being prompted for anything. 😢

I looked into the prompt option more and the OAuth library version we're using doesn't currently support it, but it looks like a newer version does. This is one our roadmap to upgrade, but I don't have an ETA yet.
The server will always respond with a 200 success when revoking, so it is not a reliable way to know for sure a token was actually removed. I believe this is done for security reasons and so you can't use that endpoint to actually verify if a token is valid or not.
Your code looks correct, so my guess is the token is revoked ok, but there might be additional valid tokens that exist for the app connection. This could happen if a user connects the same app on multiple devices for example. I wonder if that is what's going on here.

Thanks for the update! I actually have an update from my end too!
I realized yesterday that the authentication popup is using the same cache as the regular Safari WebView. So if I open my app and sign in with trakt, then open Safari on the phone, I'm signed in on trakt too. If I sign out of the app, then sign back in it does the immediate sign in thing I reported in the OP.
However, if I'm signed in on the app, and then sign out through the app (revoking the token), then open Safari and log out from trakt's website, then the next time I sign in on the app it asks for the credentials.
So maybe if iOS will let me pop an offscreen webview to trakt.tv/logout, I can make that experience work.
It would still be great to get prompt support, but it is at least helpful to have a better understanding of the iOS system! 😀

Good info, thank you! Yes, we plan to add in prompt support once we're able to upgrade the OAuth library. We'll make sure to announce that and update the API docs accordingly.

I haven't forgotten about this, we just haven't updated our OAuth library yet which is required to support this. I'm hoping in the next month or so we'll be able to add support for this.

Wow, I appreciate the follow up. FWIW, it would have been totally reasonable for you to have forgotten about this and never thought about it again. I'm one of the maintainers of a pretty big project and there is nothing I can do to avoid that from happening. I appreciate the care and attention.

I took a deeper look at this and it appears prompt is part of OpenID which we don't currently use. I thought our code OAuth library had support, but it looks like only if we add in OpenID support. So basically, is this part of the core OAuth spec?

That's possible, I'm sure you are significantly more informed than I am. I haven't done that much with OAuth or OpenID before. A cursory Google only seems to mention it connected to OpenID, so seems like yes.

👋  Any update on this?
This happens also on Android. Same reason as in iOS - the CustomTabs share cache with Chrome.

Using AppAuth-iOS, if you make the Safari session ephemeral (like incognito), then it won't remember the user's details each time.
Something like:
OIDAuthState.authState(byPresenting: request, presenting: viewController, prefersEphemeralSession: true)
Perhaps you could do something similar on Android too?
https://github.com/openid/AppAuth-Android

Sorry for the extreme delay on this, but I ended up just coding this functionality myself. The update will be released tomorrow and the API docs are updated at https://trakt.docs.apiary.io/#reference/authentication-oauth/authorize-application.
You can send ?prompt=login in the authorize URL to force the user to sign in (it destroys the session of any currently signed in user).


"Strict disambiguation" stubs

With #173 , the disambiguate parameter was made optional. For those that want the "stricter" behavior, it might be possible to publish optional stubs that make the parater required. This wouldn't change the actual runtime behavior, but would allow IDEs and typecheckers to enforce the disambiguation parameter.

How about an additional option to monkey patch it so it raises an Error like the option to set the time for testing?
from whenever import strict_disambiguation

with strict_disambiguation():
    ....

Another option is to raise warnings, which can then be ignored by default, but can be turned into errors with the standard warning filter mechanism


fix: Broken link

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

Thank you.
This will be fixed in the next release.

This has been fixed in v2.1.0


Cluster-Autoscaler: Add FAQ entry about e2e

Also removed trailing whitespaces.

This change is

/lgtm

/approve


Export error for transform-react-pure-class-to-function

I found a little problem when handling https://github.com/chentsulin/electron-react-boilerplate/issues/278, the following code will broken:
import React from 'react'
export class A extends React.Component {
  render() {
    return (

)
  }
}
export class B extends React.Component {
  render() {
    return (

)
  }
}

It work fine for export default.
The stacktrace:
Error: Comp.js: We don't know what to do with this node type. We were previously a Statement but we can't fit in here?
    at NodePath.insertAfter (/project_path/node_modules/babel-traverse/lib/path/modification.js:190:13)
    at NodePath.replaceWithMultiple (/project_path/node_modules/babel-traverse/lib/path/replacement.js:93:8)
    at PluginPass.Class (/project_path/node_modules/babel-plugin-transform-react-pure-class-to-function/lib/index.js:96:14)
    at newFn (/project_path/node_modules/babel-traverse/lib/visitors.js:301:19)
    at NodePath._call (/project_path/node_modules/babel-traverse/lib/path/context.js:76:18)
    at NodePath.call (/project_path/node_modules/babel-traverse/lib/path/context.js:48:17)
    at NodePath.visit (/project_path/node_modules/babel-traverse/lib/path/context.js:106:12)
    at TraversalContext.visitQueue (/project_path/node_modules/babel-traverse/lib/context.js:167:16)
    at TraversalContext.visitSingle (/project_path/node_modules/babel-traverse/lib/context.js:118:19)
    at TraversalContext.visit (/project_path/node_modules/babel-traverse/lib/context.js:211:19)

@thejameskyle I'm getting the same error with this code https://gist.github.com/cj/bd5f51ae48e21c8c203d32b34ea5684c

If you remove the export on line 4 it works just fine, but it should still work with export.

@thejameskyle So if I add componentWillMount() {} inside of the HomePage class it works!  Surely this has to be a bug.

I guess the proper course of action would be to make that a stateless function, which works also.


dependency/retreival: add Sergey Kandaurov's PGP public key

See https://nginx.org/en/pgp_keys.html [1], it lists Sergey Kandaurov as authorized signatory, yet his keys were missing from the public key list. Pre-1.25.4, most releases seem to have been signed by the 2 Maxims and Konstantin and that's why our CI's gpg verification passed. Also add the "nginx public key" while we're at it.
Fixes: https://github.com/paketo-buildpacks/nginx/actions/runs/7974658386/job/21772993602
Interesting (probably related):
From 1.25.4, it seems like some maintainers have started an nginx fork called Freenginx https://freenginx.org/
Footnotes:
1 - if you're looking at this a long time after this comment, look up
the url via web.archive.org

@paketo-buildpacks/web-servers-maintainers I don't have reasons to believe that https://nginx.org/en/pgp_keys.html is hacked and this "maintainer's" key was added illegitimately (but please feel free to do your own due diligence)


Added ARG query for "Define a strategy for extension updates" in azure_arc_checklist.en.json

Description
Please provide a detailed description of your changes.
Created ARG query to determine if the extensions on Azure Arc machines have auto upgrade enabled.
Recommendation GUID: 4c2bd463-cbbb-4c86-a195-abb91a4ed90d
Related Issue
Link to any related issues or discussions here. This helps reviewers understand the context and the need for your changes.

Checklist

[x] I've tested my changes to ensure they are ready for review.
[x] I've read the CONTRIBUTING.md guide.
[ ] I've updated the documentation (if applicable).
[x] Resource Graph queries have been included (and tested) for recommendations where ever possible[^note].
[ ] Resource Graph queries have NOT been included (please explain below).

Additional Information
Is there any additional context, screenshots, or considerations that might help in the review process? Please include them here.
Reviewer Notes
Is there a specific area you’d like feedback on? Please highlight it here. We're here to help and learn together! 💡
[^note]:
Details on how to add Azure Resource Graph queries to recommendations can be found here.

Please add line item ID and checklist filename to the title of your PR

Please add line item ID and checklist filename to the title of your PR

Confirmed file name is in the title. Unfortunately, for this checklist, there are no line item IDs.


Security issue

Trojan detected in \sancarn\stdVBA-examples\Examples\Spreadsheet Extractor\ExtractionTemplate 1.1.xlsm

False positive, definitely not a trojan (you can check the code for yourself), but I'm not sure what can be done to rectify the situation unfortunately. You can re-build it from source if needed.... Though that's still quite difficult. I might be able to make that easier though...

I've reported it to Microsoft on this link. I also raised it with VirusTotal.
Unfortunately "12 security vendors and 1 sandbox flagged this file as malicious"... Not sure how to resolve this...

Next steps:
Replace powershell commands from stdCOM

Removed this code for now, will figure out a workaround later.


WIP: openssl/openssl#16147 Enhancements to Windows 32-bit for CFG

This is a work-in-progress change that allows CFG to be included in 32 bit processors.  It does pass make test.  See openssl/openssl#16147 for details.
Fixes openssl/openssl#16147
Checklist

[ ] documentation is added or updated
[ ] tests are added or updated

Could you please submit this PR against the master branch? As this is clearly a feature it will not be merged to 1.1.1 branch.


Upgraded PostgreSQL Wire Protocol to 14

https://github.com/crate/crate/issues/13418
Summary of the changes / Why this improves CrateDB
Fix for ticket https://github.com/crate/crate/issues/13418
Checklist

[X] Added an entry in CHANGES.txt for user facing changes
[X] Updated documentation & sql_features table for user facing changes
[X] Touched code is covered by tests
[X] CLA is signed
[X] This does not contain breaking changes, or if it does:

It is released within a major release
It is recorded in CHANGES.txt
It was marked as deprecated in an earlier release if possible
You've thought about the consequences and other components are adapted
(E.g. AdminUI)

Can one of the admins verify this patch?

Will put a list of differences between postgresql 10 - >14 schemas here

ok to test

Will put a list of differences between postgresql 10 - >14 schemas here

Did you have a chance to look at the differences? Otherwise the change looks good

@mfussenegger Haven't put together a full list of changes, will try to work on it this weekend.
Do you want me to bump the version to Postgres 15?


Composer test not finding packages/artifacts

Run DevAudit against the test composer.json file. You will see the following output (or something similar).
D:\git.vor\DevAudit\DevAudit.CommandLine\bin\Release>devaudit.exe composer --file Examples\Drupal\core\composer.json
Scanning Composer packages...
Found 34 distinct packages.
Searching OSS Index for 34 Composer packages...
Found 3 artifacts, 1 with an OSS Index project id.
Searching OSS Index for vulnerabilities for 1 projects...

Audit Results
=============
[1/1] bootstrap [VULNERABLE]
1 known vulnerabilities, 1 affecting installed version. [bootstrap 2.0.0]
 Default tooltip option allows users to have XSS vulnerability in some situations
There is an html option for popover/tooltip again. The option is defaulted to true.

Having this option allows us to force the popover to use the .text() method to set the title and content of the popover n
o matter if bootstrap thinks it...
Affected versions: <2.1.0

The problem is, manual checking indicates that there are database packages/artifacts for almost all of the packages. How is it that only three are identified by DevAudit?
I understand why projects are not found for most of them, just not why they cannot find artifacts/packages. Here are a few simple requests to show the data is in the database. Note the version number I am using is bogus.
https://ossindex.net/v1.1/search/artifact/composer/symfony/event-dispatcher/2.0.0
https://ossindex.net/v1.1/search/artifact/composer/symfony/dependency-injection/2.0.0
https://ossindex.net/v1.1/search/artifact/composer/symfony/console/2.0.0
https://ossindex.net/v1.1/search/artifact/composer/easyrdf/easyrdf/2.0.0
https://ossindex.net/v1.1/search/artifact/composer/zendframework/zend-feed/2.0.0
https://ossindex.net/v1.1/search/artifact/composer/twbs/bootstrap/2.0.0
The last one is definitely being found, as it is the one with the known vulnerability.

This is a server bug.
https://ossindex.net/v1.1/search/artifact/composer/http-foundation/symfony/2.7.*

The issue is that it doesn't fall back to a package search if the version number doesn't match.


Fix Tile Node

Link from project Does this only need an initial value of 1 or something else?
@CedricGuillemet

No, the tiling/quincunx is not working. Check the Japanese tile for the bad result.


The logging integration test does not seem to work locally

The non-sample app test StackdriverLoggingIntegrationTests does not seem to work locally.
Reproduce instructions:

cd spring-cloud-gcp-autoconfigure
mvn test -Dtest=StackdriverLoggingIntegrationTests -Dit.logging

Seems like this is related to #636 wherein a maven profile is added to configure logback config is multiple logback.xml's are on the classpath.
I think this may also be related to solving #1094 where the logging test works locally but does not run on Travis.


Queries stop working completely in Chrome?

Describe the bug
Once in a while queries seem to just completely stop working ie. they don't send out a network request (in Chrome + on refresh). Has anyone else experienced this?
Reinstalling Chrome resolves the issue (and I think maybe restarting Chrome worked once)
NOTE: I've noticed the chatGPT website will not load either when this happens + in the most recent report the user was able to use Safari, which tells me it's probably not directly related to our app code but more of a browser issue
Your minimal, reproducible example
N/A
Steps to reproduce
No repro
Expected behavior
Expecting normal behaviour
How often does this bug happen?
Sometimes
Screenshots or Videos
No response
Platform

OS: varies
Browser: Chrome
version: varies

Tanstack Query adapter
react-query
TanStack Query version
v4.24.4
TypeScript version
No response
Additional context
No response

probably related to: https://bugs.chromium.org/p/chromium/issues/list?q=navigator.online

probably related to: https://bugs.chromium.org/p/chromium/issues/list?q=navigator.online

interesting, thanks!


error occuring

returning an error  '"return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode character '\u2212' in position 4306: character maps to "

@Punith1997 Can you share more information about the issue you are facing?
Share download_links.py, and your system information (OS, Python version, environment, etc)

@Punith1997 Can you share more information about the issue you are facing? Share download_links.py, and your system information (OS, Python version, environment, etc)
PS C:\Users\D4yDr34m\Downloads\tutorial-pdf-downloader-master\tutorial-pdf-downloader-master> python main.py -t
Traceback (most recent call last):
File "C:\Users\D4yDr34m\Downloads\tutorial-pdf-downloader-master\tutorial-pdf-downloader-master\main.py", line 7, in
import requests, time, os, sys, weasyprint, argparse, fnmatch, shutil
File "C:\Users\D4yDr34m\AppData\Roaming\Python\Python310\site-packages\weasyprint_init_.py", line 325, in
from .css import preprocess_stylesheet  # noqa isort:skip
File "C:\Users\D4yDr34m\AppData\Roaming\Python\Python310\site-packages\weasyprint\css_init_.py", line 27, in
from . import computed_values, counters, media_queries
File "C:\Users\D4yDr34m\AppData\Roaming\Python\Python310\site-packages\weasyprint\css\computed_values.py", line 16, in
from ..text.ffi import ffi, pango, units_to_double
File "C:\Users\D4yDr34m\AppData\Roaming\Python\Python310\site-packages\weasyprint\text\ffi.py", line 404, in
gobject = _dlopen(
File "C:\Users\D4yDr34m\AppData\Roaming\Python\Python310\site-packages\weasyprint\text\ffi.py", line 391, in _dlopen
return ffi.dlopen(names[0])  # pragma: no cover
File "C:\Users\D4yDr34m\AppData\Roaming\Python\Python310\site-packages\cffi\api.py", line 150, in dlopen
lib, function_cache = _make_ffi_library(self, name, flags)
File "C:\Users\D4yDr34m\AppData\Roaming\Python\Python310\site-packages\cffi\api.py", line 832, in _make_ffi_library
backendlib = _load_backend_lib(backend, libname, flags)
File "C:\Users\D4yDr34m\AppData\Roaming\Python\Python310\site-packages\cffi\api.py", line 827, in _load_backend_lib
raise OSError(msg)
OSError: cannot load library 'gobject-2.0-0': error 0x7e.  Additionally, ctypes.util.find_library() did not manage to locate a library called 'gobject-2.0-0'

I got above error show up when I try to download pdf with :python main.py -t
Please help me to solve this problem.. Thank you


Picking up an item that goes into the extended inventory (not the hotbar) in Creative adds item to Creative menu

Picking up an item in Creative Mode that does not enter the hotbar has a chance to put it into the Creative inventory next time it is opened. As seen in the above screenshots, picking up a Bamboo Door and a Dripstone Block with a full hotbar changed two items in the Creative inventory to those two.

Thanks for reporting, fixed in 1.3.3 version


drop update-notifier plugin after 1.0.0 release

the update-notifier plugin is useful as we are currently not at a 1.0.0 release, but can be removed as noisy when we reach 1.0.0.
related: https://github.com/dotenvx/dotenvx/issues/119, https://github.com/dotenvx/dotenvx/issues/135#issuecomment-2013893196

the core issue affecting this is fixed in v0.27.0 - related to a vulnerable version of got - now patched up for this lib.


Build problem under POP OS

Updated to a new version of Pop Os (22.04 LTS) and can no longer install cysgp4.  It looks like it is trying to recompile numpy (current version 1.23.2) which it shouldn't be doing since cysgp4 requires numpy 1.13 or greater.  Currently running python 3.10.4, and using gcc 11.2.0.
stokes@pop-os:~/src/python/cython/cysgp4$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/11/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 11.2.0-19ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-11/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-11 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-11-gBFGDP/gcc-11-11.2.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-11-gBFGDP/gcc-11-11.2.0/debian/tmp-gcn/usr --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-serialization=2
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 11.2.0 (Ubuntu 11.2.0-19ubuntu1)
I've attached the build log.  Thanks for having a look .....   Mike
build_log.txt

Thanks for reporting the problem. I may have an idea, what's going on.
First, the project.toml is a bit outdated, as it does only have the following version pins:
[build-system]
requires = [
    "setuptools>=30.3.0",
    "wheel",
    "setuptools_scm",
    "cython",  # >=0.29
    #"numpy==1.13.1",
    "numpy==1.13.1; python_version<'3.7'",
    "numpy==1.14.5; python_version>='3.7'",
    ]
build-backend = "setuptools.build_meta"

For Python 3.10, there is no numpy 1.14.5 anymore. I will update this.
A second reason is probably be a new installation philosophy in pip, which nowadays tries to install stuff in isolated build environments. So even if you had the correct numpy, it would still download it (not necessarily compile it from source). There is a flag to avoid this:
python -m pip install --no-build-isolation cysgp4

(One might also need to add the  --no-deps option, but I'm not sure.)
Could you try this? In the meantime I'll fix the project.toml. Could well be that both issues need to be fixed, before it works.

Actually, better use the --no-deps from the start. Otherwise, pip might overwrite your installed numpy version.

The new version works for me.  I have a friend trying to install it under Windows and will let you know how that resolves! Thank you Benjamin!

Glad to hear that.


Update to Jankson 1.2.0

Open questions: This doesn't seem to depend on fabric or use loom at all. I strongly reccommend using loom to build, and includeing Jankson-Fabric, which will protect you from some classloader headaches down the road and remove the need for shadow in this project.

i think the aim is to keep the core here minecraft free, to be able to use it from external programs and for other things too, where loom and minecraft might pollute the project

If you're not leaking jankson types, then maybe the solution here is to remap.

Thanks!
Kind of late with merging this though.


Change due date format for user management details

Overview
PR for issue #472 .
The aim is to display the number of days left before the due date of a task. On hovering we have to display the actual due date as well.
Currently, this is how the tasks>duedate section looks like.

Goals:

The Tasks > DueDate section should show the number of days remaining for the task to end.
When we hover we want the actual due date to pop up as well.

Steps taken:
1. Got Access as a super user:

Manipulate the if condition to get access as a super user.

2. Created a function to calculate the number of days remaining before the due date:

The below flow was followed in the function.

3. Made the necessary CSS changes for the hover element.

4. Created test files:

Understood how to test consecutive selectors using  https://pptr.dev/
Created mock data for the one of API calls as the other one was made as a part of #476

https://api.realdevsquad.com/tasks/username (to get the user task details) [created in the current PR #501]
https://api.realdevsquad.com/users/self (to pass as a super user and get to see content) [created inPR #476]

5. Checked Test files:

Here is the video of the test.

https://github.com/Real-Dev-Squad/website-dashboard/assets/31709147/32704b80-de51-4758-aeaf-6d25ca92fe9d

All test cases passing.

6. Post-making changes to the due date section we see the following change.

Is this feature behind the feature flag?

@gauravsinhaweb @prakashchoudhary07  can you  please @Shenoy07  to understand feature flag into PR

@gauravsinhaweb @prakashchoudhary07  can you  please @Shenoy07  to understand feature flag into PR

We (@Shenoy07 ) had a discussion about FF over voice chat, shown a demo of it and asked him to make necessary changes.

Added feature flag:
Before:

After:

Before dev=false:

After dev=true:


Contest Logging - radio won't be saved as default.

Describe the bug
The radio (hardware) linkage won't be saved for (Live) Contest logging. As soon as you leave the logging page and access it again the previously selected radio is no longer chosen
Version Information
We need some information about your versions. You can get all Information in the Admin > Debug Menu

PHP:              8.2.21
Wavelog      1.7

Expected Behavior
I would expect the radio selection to be restored after accessing the contest log again.
Thanks!

Unfortunately I discovered today, that the station setting gets lost even for the "Live QSO"-logging. In this case only after one has logged on again. This means leaving the logging page and coming back later is no problem (station setting is kept), but it gets reset after logon.

Unfortunately I discovered today, that the station setting gets lost even for the "Live QSO"-logging. In this case only after one has logged on again. This means leaving the logging page and coming back later is no problem (station setting is kept), but it gets reset after logon.

See #418

I noticed that contest logging does not set radio in user session either. It does that in regular QSO entry. I added an update for this when logging QSOs in the contest part.
Contest logging does set radio, but only if user session has it set, and that happens when you log in the regular QSO entry.,
See #592.


Table with Filters

Description
EuiSuggest / OUI implementation of Table with Filters UI
Issues Resolved
https://github.com/opensearch-project/security-analytics-dashboards-plugin/issues/13
https://github.com/opensearch-project/security-analytics-dashboards-plugin/issues/14
Check List

[ ] Commits are signed per the DCO using --signoff

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.

Will create another PR with latest changes


Create contribution guidelines

Contribution guidelines should be created that shows proper formatting guidelines, acceptance criteria, and where to discuss changes.
The discussion board could also be turned on to allow people propose new ideas without needing to submit the final result.

I second this

This is a great idea. Thanks for taking care of this @3MUl0R! 👍


Pushing via command line works but throws 500 internal server error?

Describe the bug
I have a build server that builds nuget packages and pushes them to the BaGet server using command line, e.g. dotnet nuget push ..\dist\SomeProject\*.nupkg -s http://someserver:5000/v3/index.json -k %env.BAGETKEY%
To Reproduce
Steps to reproduce the behavior:

Using this version of BaGet: No idea, I don't have control over it at the moment and it doesn't show a version in the Web UI.
Run this code dotnet nuget push ..\dist\SomeProject\*.nupkg -s http://someserver:5000/v3/index.json -k %env.BAGETKEY%
See error:

[19:18:35]
Step 3/3: Push to BaGet server (Command Line) (3s)
[19:18:35]
[Step 3/3] Starting: C:\TeamCity\buildAgent\temp\agentTmp\custom_script3043500909600976667.cmd
[19:18:35]
[Step 3/3] in directory: C:\TeamCity\buildAgent\work\61ccbd76e9ef794\build
[19:18:36]
[Step 3/3] "SomeProject.1.1.1-masterMaster-.1.nupkg" wird per Push nach "'http://someserver:5000/api/v2/package'" übertragen...
[19:18:36]
[Step 3/3]   PUT http://someserver:5000/api/v2/package/
[19:18:37]
[Step 3/3]   InternalServerError http://someserver:5000/api/v2/package/ 1688 ms
[19:18:38]
[Step 3/3]   PUT http://someserver:5000/api/v2/package/
[19:18:38]
[Step 3/3]   InternalServerError http://someserver:5000/api/v2/package/ 100 ms
[19:18:38]
[Step 3/3]   PUT http://someserver:5000/api/v2/package/
[19:18:38]
[Step 3/3]   InternalServerError http://someserver:5000/api/v2/package/ 55 ms
[19:18:38]
[Step 3/3] error: Response status code does not indicate success: 500 (Internal Server Error).
[19:18:38]
[Step 3/3]
[19:18:38]
[Step 3/3]
[19:18:38]
[Step 3/3] Usage: dotnet nuget push [arguments] [options]
[19:18:38]
[Step 3/3]
[19:18:38]
[Step 3/3] Arguments:
[19:18:38]
[Step 3/3]   [root]  Provide the path to the package and your API key to push the package to the server.
[19:18:38]
[Step 3/3]
[19:18:38]
[Step 3/3] Options:
[19:18:38]
[Step 3/3]   -h|--help                      Show help information
[19:18:38]
[Step 3/3]   --force-english-output        Forces an application to run using a fixed, English-based culture.
[19:18:38]
[Step 3/3]   -s|--source <source>           Specifies the server URL.
[19:18:38]
[Step 3/3]   -ss|--symbol-source <source>   Specifies the symbol server URL. If not specified, "nuget.smbsrc.net" is used for the push transfer to "nuget.org".
[19:18:38]
[Step 3/3]   -t|--timeout <timeout>         Specifies the timeout for push transmission to a server in seconds. The default is 300 seconds (5 minutes).
[19:18:38]
[Step 3/3]   -k|--api-key <apiKey>          The API key for the server.
[19:18:38]
[Step 3/3]   -sk|--symbol-api-key <apiKey>  The API key for the symbol server.
[19:18:38]
[Step 3/3]   -d|--disable-buffering         Disable buffering when pushing to an HTTP (S) server to reduce memory usage.
[19:18:38]
[Step 3/3]   -n|--no-symbols                If a symbol package is present, it will not be pushed to a symbol server.
[19:18:38]
[Step 3/3]   --no-service-endpoint          "api/v2/package" is not appended to the source URL.
[19:18:38]
[Step 3/3]   --interactive                  This is the command for operations such. B. for authentication allows blocking and requesting a manual action.
[19:18:38]
[Step 3/3]   --skip-duplicate               If a package and a version already exist, skip the package and continue with the next package if necessary.
[19:18:38]
[Step 3/3] Process exited with code 1
[19:18:38]
[Step 3/3] Process exited with code 1 (Step: Push to BaGet server (Command Line))
[19:18:38]
[Step 3/3] Step Push to BaGet server (Command Line) failed

Expected behavior
Pushing should work (as it does) but without the error as it crashes my build (Invalidates the build in the build server).
Screenshots
Not needed.
Additional context
None.

Short update: Only seems to happen if you use a wildcard *.nupkg,

Interesting. I wonder if this is another concurrency bug.
Are you using SQLite? If yes, when did you create your database? Could you try a fresh instance of BaGet and seeing if the error reproduces? The reason I ask is because databases created by older versions of BaGet didn't enable SQLite's write-ahead logging. I believe this was fixed when we upgraded to EF Core 3.0, but databases created before the upgrade will still be affected by the issue.
If the issue still reproduces, could you share BaGet's logs?

I will test this locally with a fresh instance now. Might be some older bug (Let's be honest, I don't have access to the server this project runs at work yet and don't have any version / logging information for you). I will try this with the last version and see if I can reproduce this issue.

If the issue still reproduces, could you share BaGet's logs?

Sure :)

I'm not able to reproduce this. Maybe, we should just update to a newer version :D


OPML Import Issues?

newsboat 2.15.0:
Steps to reproduce the issue:

user@desktop
~/.config/newsboat/ newsboat -i /home/user/Downloads/feedlist.opml
Import of /home/user/Downloads/feedlist.opml finished.

user@core
~/.config/newsboat/ newsboat
Starting newsboat 2.15.0...
Loading configuration...done.
Opening cache...done.
Loading URLs from /home/user/.config/newsboat/urls...done.
Error: no URLs configured. Please fill the file /home/user/.config/newsboat/urls with RSS feed URLs or import an OPML file.

I can load URLs manually in ~/.config/newsboat/urls, but I am unable to import an OPML.

I learned that it loaded it automatically to /root/.newsboat/urls, hence my issue.

Glad you've solved it, but I'm still curious what the issue was. You ran sudo newsboat -i?

Glad you've solved it, but I'm still curious what the issue was. You ran sudo newsboat -i?

Correct, sudo newsboat -i automatically imports to /root/.newsboat/urls.  Running newsboat -i gives me the following warning:  I/O warning : failed to load external entity "/home/user/Downloads/feed.opml" An error occurred while parsing /home/user/Downloads/feed.opml.

Before using newsboat -i rss.opml, touch ~/.newsboat/urls else it is: "No such file or directory"


Interface with OCP WebConsole

Description
Interface with OCP WebConsole
Type of change

Documentation update

Testing steps
N/A
Checklist

[ ] make before_commit passes
[x] updated documentation wherever necessary
[ ] added or modified tests if necessary
[ ] updated schemas and validators in insights-data-schemas in case of input/output change

Codecov Report

Merging #576 (83b185f) into master (ad2ce76) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #576   +/-   ##
=======================================
  Coverage   55.20%   55.20%
=======================================
  Files          12       12
  Lines        1355     1355
=======================================
  Hits          748      748
  Misses        509      509
  Partials       98       98

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 9fc5bee...83b185f. Read the comment docs.


Cluster: Adding parameter KeepDownedNodesInCluster to control whether or not to remove nodes in downed state

Pull Request (PR) description
Parameter KeepDownedNodesInCluster will control removing nodes in a down state. Defaulting to false current behavior is kept and nodes in a downed state will be evicted. When set to true, nodes in a down state will not be evicted.
This Pull Request (PR) fixes the following issues

Fixes #257

Task list

[x] Added an entry to the change log under the Unreleased section of the file CHANGELOG.md.
Entry should say what was changed and how that affects users (if applicable), and
reference the issue being resolved (if applicable).
[x] Resource documentation added/updated in README.md.
[x] Resource parameter descriptions added/updated in README.md, schema.mof and comment-based
help.
[x] Comment-based help added/updated.
[x] Localization strings added/updated in all localization files as appropriate.
[x] Examples appropriately added/updated.
[ ] Unit tests added/updated. See DSC Community Testing Guidelines.
[ ] Integration tests added/updated (where possible). See DSC Community Testing Guidelines.
[x] New/changed code adheres to DSC Community Style Guidelines.

This change is

Ah, wait, there were no tests to this, can you please add a unit test for the new code path?

Great work on this @nickgw!


Multidimensional cell_data with vtu format

It seems not possible to write a vtu file with vector or tensor cell data. For instance, the following sequence should write a vtu file with NumberOfComponents="6" for the "test_cell" data array.

    points = np.array([
        [0.0, 0.0, 0.0],
        [0.0, 1.0, 0.0],
        [0.0, 0.0, 1.0],])
    cells = [("triangle", np.array([[0, 1, 2]]))]

    test_data = np.empty((1, 6), dtype=np.float64)

    meshio.write_points_cells("test.vtu", points, cells, {}, {'test_cell': test_data})

Instead, the attribute NumberOfComponents is not written.
Looking through the code, it turns out that in the case of cell_data, a numpy.concatenate is applied on the array, which results in a 1-dimensional array.
https://github.com/nschloe/meshio/blob/d9bddd752f37d81e2fbb841d1de33a8f89cf59ba/meshio/vtu/_vtu.py#L713
Is it the intended behavior?
Besides, I do not understand why there is a different treatment between point_data and cell_data.
Thanks in advance for the reply.

Try:
 test_data = [np.empty((1, 6), dtype=np.float64)]

I have not thought of this solution, and it is working thank you :).
Do you know why cell_data are not treated the same as point_data?

Since meshio 4, cells are a list of blocks of cells, each block having a type-string and a connectivity array; points remain a single array of coordinates.

Ok thanks!


Ignore artisan in the SideEffect

Hello @ChaerilM, thank you for your PR! :)
Do you mind explain why you needed this addition?


Handle default values

In cases where an argument is set to be checked and the parameter has a default value there should not be any check if no value was given. (When no value was given it should act as if it was set to 'pass')

Currently default values are treated as if they don't exist,
this issue should let the type-checker take the default
value into consideration.
For instance if we have
@typecheck(int, str)
def foo(a, b=None):
    pass

the type-checker should try to
check if the value given to 'b'
is a string, and if no value is given
it should treat it as a 'pass'.


install / Uninstall service powershell

Hello All,
am trying to uninstall/Install the service from PowerShell but it failed if anyone can help me firgure out the issue
& $PSScriptRoot'\Service1.exe' uninstall --sudo
tried local system
& $PSScriptRoot'\Service1.exe'  install --localsystem –autostart
Also with user name and passowrd
& $PSScriptRoot'\Service1.exe'  install -username "$username" -password "$password" –autostart
nothing work if you can correct those three commands for me please

Thanks

Hello All,
am trying to uninstall/Install the service from PowerShell but it failed if anyone can help me firgure out the issue
& $PSScriptRoot'\Service1.exe' uninstall --sudo
tried local system
& $PSScriptRoot'\Service1.exe' install --localsystem –autostart
Also with user name and passowrd
& $PSScriptRoot'\Service1.exe' install -username "$username" -password "$password" –autostart
nothing work if you can correct those three commands for me please

thanks


Text inside brackets is not being translated.

Input :
8
00:00:20,955 --> 00:00:22,580
(yells)

9
00:00:24,830 --> 00:00:26,345
(roars)

Output :
5
00:00:20, --> 00:00:26,
(yells)(roars)

Expected :
5
00:00:20,955 --> 00:00:26,345
(schreit) (brüllt)

For Spanish I get this:
https://screenshots.firefox.com/5nAxJJKH9XIZLbBp/www.deepl.com
But when I translate it to german that's the output
(brüllt) (brüllt)
The same thing is returned by deepl's site too.
So this is on deepl's side.

Why would you send the text with bracket included?


Codes are not syncing up

I have been having a huge problem. I have not been able to figure out how to sync up the codes, when I use the $oneCode it gives me a number but its not the same as the one on my phone. Both are set to the correct time so I do not know what to do.
Please lend me any suggestions you have.

Hi Johnathan,
I don't know why they don't match, I would say only a wrong date+time or timezone can be the problem, they both have to match.
Can you check another Authenticator-App on your phone that is generating codes? Can you try it on another phone (that maybe has the correct time+timezone set)?

Hi PHPGangsta,
So if the server is in a different timezone, but I have clients all over the place, how can I make this work with anyone around the world? Are you saying that this will only work with people that are in the same timezone?

@Tigatok If you have the correct time via NTP on the webserver, you should not have a problem. I was talking about the client. I saw people who did not use NTP on the phone, but configured the time manually. They set the correct time, but an incorrect timezone. Then you get problems, because when getting the currect time im GMT/UTC, it's wrong.
Using NTP everywhere is the best advice, on client and server.


any chance of npm for rpipins

any change of this becoming a npm package?
The pi5 doesn't really like us to pip anymore.

It would be nice to make it an apt package which would solve this, but I'm... not great... at packaging. Perhaps I could convince @waveform80 to take pity on me 😆
npm would require it to be a nodejs project which certainly isn't outside the realm of possibility, but probably not something I could find the time or inclination to pull off myself.

apt would be great too! i don't have the expertise either.

Working on apt - https://github.com/pinout-xyz/rpipins/pull/5
The deb files in those GitHub actions runs should, in theory, work if you want to try them.
Next step- getting them signed and uploaded... somewhere!


FixedBitSet to provide constexpr storage for EnumSet

EnumSet currently uses std::array as the backing type because std::bitset is not sufficiently constexpr. This PR introduces FixedBitSet as a possible solution. The overall advantage is that EnumSet can then be extended to incorporate addition += deletion -= and contains(EnumSet<>) operations for subsets.

Relevant discussion: https://github.com/teslamotors/fixed-containers/issues/156
I have been working on a FixedBitSet implementation, was not aware of this one. Let me do a more thorough review when time permits.


ANSIBLE0009

Issue Type

Bug report

Ansible and Ansible Lint details
ansible <IP_ADDRESS>
ansible-lint 3.4.9

ansible installation method: pip
ansible-lint installation method: pip

Desired Behaviour
Octal permissions should be four digits, but it does not need to start with 0, for example 4777 is a valid permission setting.
Actual Behaviour (Bug report only)
Currently only if its a 0 is it a valid check.
https://github.com/willthames/ansible-lint/blob/master/lib/ansiblelint/rules/OctalPermissionsRule.py#L28

Looks like a duplicate of #217 and #161 ?

I should have searched closed issues. Feel free to close if this is a wontfix. However I do feel this is an important modification to make.

You're right that 4777 is a valid permission but it needs to be interpreted as an octal number, and thus the leading 0 is essential. So just express this is 04777

I have no idea where the idea that permissions must be four digits comes from. That seems to be a myth :)


Refactor Customise Feature's code and remove border from non-tag attributes

Split CustomiseCommandParser and CustomiseCommand into multiple classes to handle the different commands.
Improve abstraction of variables.
Use List instead of array for toAttributeOrder().
Remove border from non-tag attributes.

Codecov Report
Base: 68.07% // Head: 68.46% // Increases project coverage by +0.38% :tada:

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

Additional details and impacted files
@@             Coverage Diff              @@
##             master      #91      +/-   ##
============================================
+ Coverage     68.07%   68.46%   +0.38%
- Complexity      589      606      +17
============================================
  Files            88       94       +6
  Lines          1961     1982      +21
  Branches        245      243       -2
============================================
+ Hits           1335     1357      +22
+ Misses          531      529       -2
- Partials         95       96       +1

Impacted Files
Coverage Δ

...n/java/soconnect/logic/parser/SoConnectParser.java
80.95% <ø> (ø)

src/main/java/soconnect/ui/PersonCard.java
0.00% <0.00%> (ø)

.../parser/customise/CustomiseOrderCommandParser.java
57.14% <57.14%> (ø)

...logic/parser/customise/CustomiseCommandParser.java
71.42% <71.42%> (ø)

...ect/logic/commands/customise/CustomiseCommand.java
87.93% <75.00%> (ø)

...logic/commands/customise/CustomiseHideCommand.java
80.00% <80.00%> (ø)

...logic/commands/customise/CustomiseShowCommand.java
80.00% <80.00%> (ø)

...ogic/commands/customise/CustomiseOrderCommand.java
84.61% <84.61%> (ø)

...c/parser/customise/CustomiseHideCommandParser.java
90.90% <90.90%> (ø)

...c/parser/customise/CustomiseShowCommandParser.java
90.90% <90.90%> (ø)

... and 2 more

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

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

I can review this, but seems like there are conflicts. Do you want to solve it first? @PangKuangWei


feat: Add AWS RDS advanced JDBC wrapper for MySQL driver in Flyway

Added support for AWS Advanced JDBC Wrapper for MySQL in Flyway
This PR introduces support for the newly released AWS Advanced JDBC Wrapper for MySQL, replacing the use of the legacy AWS MySQL JDBC driver. The previous driver has reached its end of support, and this update ensures compatibility with AWS RDS and future enhancements provided by the new driver.

 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.You have signed the CLA already but the status is still pending? Let us recheck it.