box example doesn't work in IE 11

Hi, really nice work on Agile, I like it.
I'm particularly interested in your box example, however it doesn't seem to work on IE 11?
http://a-jie.github.io/Agile/examples/3d/box.html
When viewed in IE 11 it ony shows 2d. It's just a flat square, not a cube
I'm hoping I can use your Agile cube on IE 11 (10 would be nice, but 11 is most important)

I'm sorry, because I have been using the MacBook, I stay away from windows for a long time. The problem you say I will be the first time to repair.


Bug: WARNING: Too many active WebGL contexts. Oldest context will be lost.

Current Behavior
WARNING: Too many active WebGL contexts. Oldest context will be lost.

Hello!  I'm working on a react-pixi project, https://wizardwars.online.  Unfortunately as you play longer performance gets worse and worse, and I believe this is the culprit.  Once these errors show up FPS drastically drops, from 60FPS to 30~.
I'm not sure why this is happening
Do we need to update react-pixi to call texture.destroy() when components destroy themselves?  Could there be another culprit
Expected Behavior
No WebGL context
Steps to Reproduce
Render tons of components, AnimatedSprites, sprites, etc.  I've tried with both images and textures.  Over time you'll see this bug.
Environment

@pixi/react version: 7.1.0
pixi.js version:    "7.2.4",
React version: 18.2.0
ReactDOM version: 18.2.0
Browser & Version: Chrome 114
OS & Version: macos
Running Example: https://wizardwars.online (must play 5~ minutes of games unfortunately)

Possible Solution
No idea
Additional Information
No response

Some additional information: I create my scene as follows:
    this.app = new PIXI.Application({
      resizeTo: window,
      antialias: false,
      autoDensity: true,
    });
    // TODO(lukewood): revisit in case this broke anything
    this.gameCanvas!.appendChild(this.app.view as any);
    this.viewport = new Viewport({events: this.app.renderer.events});
    this.viewport.scale = new PIXI.Point(scale, scale);
    this.app.stage.addChild(this.viewport);
    this.app.start();
    this.cull = new Cull({recursive: true});
    this.cull.add(this.viewport);
    this.app.renderer.on('prerender', () => {
      this.cull.cull(this.app.renderer.screen);
    })
    this.root = createRoot(this.viewport)
    this.raf = requestAnimationFrame(this.tick);

and cleanup like this:
    this.app.stop();
    if (this.raf) {
      cancelAnimationFrame(this.raf);
      this.raf = undefined;
    }
    this.leaveSub?.unsubscribe();
    this.joinSub?.unsubscribe();
    this.root.unmount()
    this.viewport.children.forEach(v => v.destroy())
    this.viewport.destroy()
    this.app.destroy(true);

This is probably core pixi related the more I look - closing for now.


Update with_controller_class type documentation

What are you trying to accomplish?

In Yard [ActionController::Base] means "an instance of ActionController::Base, but this method actually wants a subclass. Tools such as RubyMine complain that the expected type is incorrect when that's not true.
What approach did you choose and why?

Fixed the doc to use [Class<ActionController::Base>] which is the correct type signatire for this meythod.
Anything you want to highlight for special attention from reviewers?
No

@TastyPi thanks for the PR! Might you add a CHANGELOG entry?

@joelhawksley Done


Add R binding

With the binding / implementation of PRIMA in C, Python, Julia, and MATLAB all being worked on, the only major scientific-computing-oriented language missing from the list is R.
See also https://github.com/lme4/lme4/issues/744.

@zaikunzhang Please ping me if this is done, I will add it to Macports for R.

Related:
https://github.com/samuel-watson/glmmrBase/issues/34
https://github.com/libprima/prima/issues/136


Inactive keep-alive component keeps updating if bound to nested properties

Version
2.5.17
Reproduction link
https://refactoring.ninja/vue-v-if-keep-alive/
https://github.com/Razenpok/vue-v-if-keep-alive
Steps to reproduce

Press "Hide labels"
Open dev tools
Select DoesUpdate component
Press "Add stuff"

What is expected?
player.money remains the same
What is actually happening?
player.money goes up

Component "DoesntUpdate" doesn't update on "Add stuff" as expected - it is bound to lives property which is on top level of data.
This isn't a dev tools issue, as I observe the same behavior with devtools disabled

Anything?

Unfortunately, the original reproduction links provided in the issue are non-functional. To contribute to the discussion, I attempted to replicate the described issue based on its description.
I observed a peculiar behavior: when a nested field is bound directly to a prop, changes to its value do not trigger the watch mechanism within the component. However, if the entire object is passed to the component, the watch mechanism activates as expected. This distinction likely stems from Vue.js's reactivity system, where props of an inactive component do not register changes. While this behavior makes sense from a technical standpoint, it intuitively feels odd and could potentially lead to confusion.
For clarity and further investigation, I've attempted to outline my reproduction steps in a Vue.js playground, though I'm unsure if my approach aligns with the expected behavior due to the original link's inactivity:
https://play.vuejs.org/#eNq1VMFu2zAM/RVCl6RoZg/oLUuCZV0P27Cu2Arsootj06lSWTIkOQ0Q5N9HSbbjDWmwHHoxTPLpkXwitWfLuk62DbIpm9nciNqBzNR6zpmznIFF19QLrkRVa+NgD1p9141yWEzAYAkHKI2uYEQMox51j5YAbSRJo+mTjD70mM/CYO56TDQ7DFe5VtaBXm1g7vOM91wBCKXQTOH9hKvD1QAm7DJ3Yost1pkGY7gvdjy+gvkCAgu19Cgq1I0beom9ZUm2mWw8V5lJi8QDELKFzyyNIpEkZDisapk5JAtgVoht+KHfb4j1UhJZ6yBXK8r2nShJ3C4ZSTylLslDXzLSjiH9l+IUZyviCc7QQ2RNgmyB2x96lX/VOKcVfMylyJ+HR6+vOVvcei9UOEsjLracxp5n6UAJNqHRoYspxTrZWK1osoLCnOW6qoVE86N2gi6Os2mnPWeZlPrla/D5+6Mrjv78CfPnE/6N3XkfZw8GLRrfdR9zmVmji+G7X/e4o/8+WOmikYQ+E/yJVsvG1xhhnxpVUNkDXKj2S5hkodaP9m7nUNmuKV9oGJuA54ym+vZM68dyb5KbcI6GjVQ87s3/LudL5vKnv3ZysCW10bWlsS6wFAofvDULNdBF99W0K6aaaoUmlO+LWYzjPgX+dmsCXdIPyQQGy+QTaokJGqPNePQ7lJWTaMRvRYHtCxHW/cLV2tMT1OWEAxX3+hQe35Q31S+sWifZWbEC8jKhBu/i5ULFh+ycSIc/Cd4ACw==


Add JavaScript benchmarks

We would love to run continuous benchmarks for the Arrow JS library. We already have a benchmark setup with benchmark.js at https://github.com/apache/arrow/blob/master/js/perf/index.js. It would be awesome if there was a native integration into Conbench for results from JavaScript benchmarks.
Could you help us set up the benchmarks for JavaScript?
Arrow ticket for Conbench integration: https://issues.apache.org/jira/browse/ARROW-12690

I added support for JSON output in https://github.com/apache/arrow/pull/10331. How does this look @dianaclarke?

We now construct the benchmark data with JavaScript so no Python is needed anymore. Anything else we can help with @dianaclarke?

@domoritz Apologies for not responding sooner. I've been working on better regression/improvement detection and it's taking me longer than expected, plus I was on vacation.
We'll still need a Python wrapper to hook it all up. Similar to the wrapper we have that executes the Arrow C++ benchmarks.
https://github.com/ursacomputing/benchmarks/blob/main/benchmarks/cpp_micro_benchmarks.py
I won't be able to work on this for a few weeks yet, but I'm happy to provide pointers if you want to give it a shot.

Let's pick it up in a few weeks when we both have cycles available.

Now that the Java benchmarks are in, do you want to tackle js @dianaclarke?

Hi @domoritz:
I have a WIP pull request that adds the Arrow JS benchmarks: https://github.com/ursacomputing/benchmarks/pull/58
I have a few questions though.

What are the units here? Seconds?

      "sampleResults": [
        0.00010663846170212765,
        0.00010678807659574467,
        0.00010785582231404959,
        0.0001081968326446281,
        0.00010857668936170212
      ]

I found the double usage of name in "name": "name: ... confusing.
"name": "name: 'lat', length: 1,000,000, type: Float32",
Perhaps column instead?
"name": "column: 'lat', length: 1,000,000, type: Float32",

The names could be more informative.  & DataFrame Filter-Scan Count...):
- https://github.com/apache/arrow/blob/5ca16287a389afceabdd4b487d2e43e62745abcc/js/perf/index.ts#L124
- https://github.com/apache/arrow/blob/5ca16287a389afceabdd4b487d2e43e62745abcc/js/perf/index.ts#L114

Perhaps add the suite name? And make the values json rather than comma separated values as one string?
Something like this:
   ...
   "name": "DataFrame Count By"
   "values": {
       "column": "lng",
       "length": "1,000,000",
       "type": "Float32",
       "test": "gt",
       "value": "0"
    }
    ...

Otherwise, we're pretty close, but the Ursa infra team would still need to add a bit of plumbing for the JS benchmarks.

I've created the following ticket and I'll give it a shot now.

[JS] Improve benchmark names
https://issues.apache.org/jira/browse/ARROW-13266

What are the units here? Seconds?

Yes, seconds.

[JS] Improve benchmark names, issues.apache.org/jira/browse/ARROW-13266

Thank you. https://github.com/apache/arrow/pull/10665 looks good. I approved it.
Are you happy with the names now? Anything we can improve?

PS. I get the following error when I run the JS benchmarks. Any tips? Thanks!

I fixed the issue with countBy in https://github.com/apache/arrow/pull/10670. Good catch and I'm sorry I didn't catch this earlier.

@domoritz Looks llke the JS benchmarks stopped working as of the following commit.
https://github.com/apache/arrow/commit/ba009fbd97cb32aa0edd2025d983dbe11de83b9b
$ yarn perf
yarn run v1.22.10
$ ts-node-transpile-only ./perf/index.ts
(node:49432) Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension.
(Use `node --trace-warnings ...` to show where the warning was created)
/Users/diana/workspace/arrow/js/perf/index.ts:22
import * as Arrow from '../src/Arrow';
^^^^^^

SyntaxError: Cannot use import statement outside a module
    at Object.compileFunction (node:vm:352:18)
    at wrapSafe (node:internal/modules/cjs/loader:1025:15)
    at Module._compile (node:internal/modules/cjs/loader:1059:27)
    at Module.m._compile (/Users/diana/workspace/arrow/js/node_modules/ts-node/src/index.ts:1295:23)
    at Module._extensions..js (node:internal/modules/cjs/loader:1124:10)
    at Object.require.extensions.<computed> [as .ts] (/Users/diana/workspace/arrow/js/node_modules/ts-node/src/index.ts:1298:12)
    at Module.load (node:internal/modules/cjs/loader:975:32)
    at Function.Module._load (node:internal/modules/cjs/loader:816:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:79:12)
    at Object.main (/Users/diana/workspace/arrow/js/node_modules/ts-node/src/bin.ts:246:14)

Ups, I'll fix that. Can you try to set up the benchmarks with a previous version for now?

Fixed in apache/arrow#10761

Did this get closed accidentally?

The work in this repo is done. @ElenaHenderson is working on the final infrastructure steps (in a private repo) that will execute the JavaScript benchmarks on each commit to the main branch of Arrow. I imagine that you'll start to see JavaScript benchmark results https://conbench.ursa.dev/ by end of week :)

Oh! I'm already seeing JavaScript benchmark results coming in:

https://conbench.ursa.dev/compare/runs/03ce7a3c734347b9947e228c467107ca...6087067222e24ffab8246bde5e267f4f/
https://conbench.ursa.dev/benchmarks/f1e2413bf940498388e02712450a6175/

They will probably look a bit volatile until there is enough history to determine a normal range.

Fantastic. Is there an overview page with all the js benchmarks and how they are evolving?

@dianaclarke is there a way to run the benchmarks on a pull request like https://github.com/apache/arrow/pull/10371 automatically?

@domoritz Can you try the following GitHub comment on your pull request.
@ursabot please benchmark lang=JavaScript

Beautiful, thank you!

PS. I just did the following on that pull request, so you know how to ask for help.
@ursabot benchmark help

@domoritz I think I might have broken z-scores for pull requests with the following commit :(
https://github.com/conbench/conbench/commit/17b5f4831ba6d0b6e6826edb4629ed0127039518
So ignore this (zero up, zero down); instead look at the percent changed (for now), and click on the individual JavaScript benchmarks to see the pull request result in comparison to the distribution history.

I'll try to fix this on Friday (tomorrow is a holiday in Canada)
PS. I'll try to remember to look at these results too. Thanks for using Conbench!

^^^ That was a false alarm. The z-scores are working correctly.


Errors while setting up for KSK998230T Oven - capabilities

First of all thanks for your effort in this addon.
While setting up I got the error message below and it seems to be that I missing all temperature entities not sure if this is related to underneath error:
429, message='', url=URL('https://api.eu.ocp.electrolux.one/appliance/api/v2/appliances/944066778_02:23506765-443E0739F542/capabilities') Traceback (most recent call last):   File "/config/custom_components/electrolux_status/__init__.py", line 119, in setup_entities     appliance_capabilities = await self.api.get_appliance_capabilities(appliance_id)                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/local/lib/python3.11/site-packages/pyelectroluxocp/oneAppApi.py", line 141, in get_appliance_capabilities     result = await self._api_client.get_appliance_capabilities(base_url, token, id)              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/local/lib/python3.11/site-packages/pyelectroluxocp/apiClient.py", line 182, in get_appliance_capabilities     response.raise_for_status()   File "/usr/local/lib/python3.11/site-packages/aiohttp/client_reqrep.py", line 1060, in raise_for_status     raise ClientResponseError( aiohttp.client_exceptions.ClientResponseError: 429, message='', url=URL('https://api.eu.ocp.electrolux.one/appliance/api/v2/appliances/944066778_02:23506765-443E0739F542/capabilities'

Hi are you sure you have the last version (beta 2 release) ?
The lines quoted don't correspond to the beta2 version

Please update to the last beta https://github.com/albaintor/homeassistant_electrolux_status/releases/tag/v1.0-beta4 from HACS (refresh integration)

Please update to the last beta https://github.com/albaintor/homeassistant_electrolux_status/releases/tag/v1.0-beta4 from HACS (refresh integration)

In the beta4 version the appliancemode doesn't exist anymore. I used that sensor to determine if the dryer was on or off.
Does anyone know which other sensor to pick best?


route_ack_test missing CIDR

See the missing CIDR in the following snippet from L258
-       dut.Config().NetworkInstance(instance).Protocol(telemetry.PolicyTypes_INSTALL_PROTOCOL_TYPE_STATIC, "STATIC").Static("<IP_ADDRESS>").Replace(t, dutConf)
+       dut.Config().NetworkInstance(instance).Protocol(telemetry.PolicyTypes_INSTALL_PROTOCOL_TYPE_STATIC, "static").Static("<IP_ADDRESS>/24").Replace(t, dutConf)

Feel free to submit this change as a PR and the team will review.  I think you could use the constant ateDstNetCIDR  defined for this purpose?

created PR321

Closing as PR321 was merged


Implement best practices for linkerd2-multicluster-app app

Coming from here.
The goal of this issue is to have the App eventually adhere to standard cloud-native best-practices. The points below are to be considered non-exhaustive. Feel free to add some that make sense and remove some that don't. If this issue does not make sense (e.g. is a duplicate or covers a deprecated app) please close it.
Expected outcome:

[ ] the app has properly set PDBs (as percentages)
[ ] the app can scale horizontally based on Custom Metrics (if it makes sense)
[ ] the app runs with more than 1 replica by default (if it needs HA)
[ ] the app does not use emptyDir volumes if not strictly necessary

App doens't exist anymore (renamed as linkerd-multicluster)


[Form Provider Refactor] ReportWelcomeMessagePage

Details

Form migration, add FormProvider in ReportWelcomeMessagePage
Fixed Issues

$ https://github.com/Expensify/App/issues/31560
Tests

Log into the app and either create a new workspace, or use one that you are an admin of
Go into any chat channel of said workspace and press on the icon of the workspace in it to go into settings
After the modal pops up go into settings and welcome message, set it to any value you want
Save it and go back into the option to make sure it updated correctly

[x] Verify that no errors appear in the JS console

Offline tests

QA Steps

[x] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native
https://github.com/Expensify/App/assets/88325488/74aa4ad1-c310-45b4-9bc4-8a1a983afc9e

Android: mWeb Chrome
https://github.com/Expensify/App/assets/88325488/0b2e8849-a589-459f-9963-e17af86ac541

iOS: Native
https://github.com/Expensify/App/assets/88325488/755db513-f13d-4490-a960-cc024e552943

iOS: mWeb Safari
https://github.com/Expensify/App/assets/88325488/f6bde62b-5af7-48da-8e86-93cf6ea5bf0b

MacOS: Chrome / Safari
https://github.com/Expensify/App/assets/88325488/7ed83851-1350-4094-af52-ddc6b1e919e2

MacOS: Desktop
https://github.com/Expensify/App/assets/88325488/e702ba51-a7bf-47b5-a9e3-8ae809048670

cc: @luacmartins

🚀 Cherry-picked to staging by https://github.com/yuwenmemon in version: 1.4.7-4 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes.

🚀 Deployed to production by https://github.com/yuwenmemon in version: 1.4.8-3 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅


Injury Tolerance: Damage Reduction in the Damage Calculator does not allow decimal inputs for values less than 2.

As the title says. The IT:DR option in the Damage Calculator does not allow decimal values for numbers less than 2. But it WILL allow decimal values for numbers above 2.
For example, if you try to type in 1.5, it will be corrected to 2, but if you type in 2.5, it will stay 2.5

Not really a bug. The feature was implemented on purpose to disallow IT:DR values under 2. I've changed the validation to disallow values less than 1.

Not really a bug. The feature was implemented on purpose to disallow IT:DR values under 2. I've changed the validation to disallow values less than 1.

Why though? Just let people have their fun, if you want someone to calculate an attack and they have IT:DR 0.7231 I'd say let them. I would only restrict the calculator to anything 0 or below so that it doesn't break completely.

For DR values less than 1 it would be a disadvantage and increase damage, not reduce it.
I generally implement features by the book.
I'm not trying to reduce anyone's fun, though!

For DR values less than 1 it would be a disadvantage and increase damage, not reduce it.
I generally implement features by the book.
I'm not trying to reduce anyone's fun, though!

Yes, it could be a debuff added by a mage or something, who knows.
Ok, IT:DR 1.5 was seen in book... soooo


GraphQL queries do not support filtering on M2M relationships

Environment

Nautobot version: v2.2 for the locations/prefixes issue described below, probably all versions for the M2M in general
Python version: N/A
Database platform, version: N/A
Middleware(s): N/A

Steps to Reproduce

Craft a GraphQL query like this where a M2M query is traversed (location-prefixes in this case). This works as expected.

query ($device_id: ID!) {
  device(id: $device_id) {
    name
    location {
      name
    	prefixes {
    	  prefix
        prefix_length
    	}
    }
 }
}

Add a filter to the nested item (e.g. prefix_length for prefixes). Any filter will cause the issue to manifest.

query ($device_id: ID!) {
  device(id: $device_id) {
    name
    location {
      name
    	prefixes (prefix_length: 16){
    	  prefix
        prefix_length
    	}
    }
 }
}

Expected Behavior
The GraphQL query is executed and the filtered list of prefixes is returned.
Observed Behavior
An error is returned
"Unknown argument \"prefix_length\" on field \"prefixes\" of type \"LocationType\".",
Seems adjacent to issue #5513 but not necessarily directly related. Based on the discussion had with @glennmatthews, this is probably due to "a gap in the graphql generation for all M2M fields", also present in the Device/VRF relationship.

Should be pretty similar to what we implmented in #799 for ManyToOneRel, see specifically nautobot/core/graphql/schema.py

Please target the 7/22 patch release for 2.2


test: add test cases for defineRouter

Cover case: https://github.com/dai-shi/waku/issues/536

 Locator: getByTestId('current-url')
    Expected string: "/"
    Received string: ""

It works perfectly on my PC, let me see tmr


Fix Cygwin support on Windows 10

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @brson (or someone else) soon.
If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. The way Github handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.
Please see the contribution instructions for more information.

Test-wise, it used to fail right away on basic_install, and now it reports "TOTAL SUCCESS!"

Thanks! To fully deploy the submodules in rust, cargo, rust-packaging, and multirust need to be updated. Feel free to do that, otherwise, I've made a note to do it myself.


could be remove the  depends  Microsoft.Identity and Microsoft.IdentityModel?

the Old system.data.Sqlclient very clean.
but new  Microsoft.data.Sqlclient much depends .
or clould be let them as an optional ?

The System version depended on assemblies which were part of the runtime and because it was distributed as part of the runtime you could never be in a position where you needed to identify the full closure of dependencies. This library is standalone so the dependency tree has to contains a full closure. The dependency isn't new but you saw it as part of the runtime before.

Hi @sgf
There isn't a concept of Optional dependencies in NuGet packaging and these libraries are very much required for supporting Active Directory authentication modes.

@Wraith2 @cheenamalhotra  thanks reply


i18n Formatter.php defaultTimeZone bug

What steps will reproduce the problem?
I am in china, my php.ini  date.timezone = 'Asia/Shanghai', when I run the follow code:
    \Yii::$app->formatter->timeFormat = 'short';

    // \Yii::$app->formatter->defaultTimeZone = ini_get('date.timezone');

    echo \Yii::$app->formatter->asTime('2018-03-16 20:56');

It will output：
上午4:56
It means morning 4：56， but really it is afternoon 8:56,  the difference is 8 hours。
when I uncomment the code:
\Yii::$app->formatter->defaultTimeZone = ini_get('date.timezone');
It will output:
下午8:56
It is ok。
so I think in i18n/Formatter.php， the default value of defaultTimeZone attribute  should be set  to ini_get('date.timezone')
What is the expected result?
in i18n/Formatter.php， the default value of defaultTimeZone attribute  should be set to ini_get('date.timezone') , not UTC
What do you get instead?
Additional info

Q
A

Yii version
<IP_ADDRESS>

PHP version
7.1

Operating system
centos

Currently defaultTimeZone is UTC by default and can be changed by config.
We can set default to defaultTimeZone with ini_get('date.timezone'), but in case environment changes. the application logic may be messed up and (most probably nobody will notice it. I'd like to keep it as is to discourage developers from relying on environment settings.

@SilverFire
What you said makes sense! but this is too difficult to debug for this.
Imagine a scene like this:
In gridView columns , I hava a column like this:
'sign_in_time:time'
I want this column to be formatted as a time, but the result is error because of the UTC time zone, for a programer that was not familiar with yii, how hard can you imagine to debug this error ?  the programer will think that :  my locale config and time zone config all is ok , why?

Developer will go to Yii guide and read Time zones article

@SilverFire  Thank you for your reply, I just did not see this doc before. It's my question, thank you!


Missing Search Library?

I've managed to build the Symphony Electron client successfully on macOS (for the most part), but it's crashing on launch due to a missing dynamic library: libsymphonysearch.dylib.  Indeed, package.json would suggest that this library should be included with the build, but it's missing from the /library folder of the project.
The documentation and my Google-fu are failing me... Is there another project (or projects) that I need to build first, in order to first obtain that library?  Apologies if I'm missing something obvious.

@VishwasShashidhar Might you be able to offer a suggestion here?

@macserv Thanks for informing. I think we need to update the documentation. We've not included the library as part of the repo.
If you have access to filevault / jenkins, I can share an appropriate link.

Thanks for the reply!  I'm not sure if I have access or not... which means I probably don't.  How do I validate / request access?

@serkanmulayim Can you help with the above please?

@macserv Please check out the latest master we longer need those libraries to build.
Closing this ticket.
@macserv Please reopen this if you face any problems with this. Thanks.


[PriviblurBridge] Add Priviblur (Tumblr frontend) bridge

Adds a bridge for Priviblur, as it provides plaintext versions of Tumblr posts. Useful as some Tumblr pages (e.g. page search, non-user tags, tags for users without a subdomain) do not have official RSS feeds and many require either Javascript or an API token (and substantial API usage) to access contents without the assistance of a frontend.

this fetches the /explore/trending posts on frontpage. not in date order.
the instance might go down. maybe better to allow user to select from a list?
also use latest from master.
[2024-08-21 21:57:56] rssbridge.ERROR Exception in DisplayAction(PriviblurBridge) {
    "type": "ErrorException",
    "code": 0,
    "message": "Attempt to read property \"plaintext\" on null",
    "file": "bridges/PriviblurBridge.php",
    "line": 39,
    "url": "http://<IP_ADDRESS>/?action=display&bridge=PriviblurBridge&url=https%3A%2F%2Fpriviblur.fly.dev&format=Html",
    "trace": [
        "index.php(81): RssBridge->main()",
        "lib/RssBridge.php(96): DisplayAction->__invoke()",
        "actions/DisplayAction.php(66): DisplayAction->createResponse()",
        "actions/DisplayAction.php(114): PriviblurBridge->collectData()",
        "bridges/PriviblurBridge.php(39): {closure}()",
        "bridges/PriviblurBridge.php(39)"
    ]
}

this fetches the /explore/trending posts on frontpage. not in date order.
It's mostly there as an unselective example page, as it follows the format and all entries are timestamped anyways. Should I be reordering the entries in date order despite them having timestamp attributes?
the instance might go down. maybe better to allow user to select from a list?
I think it's preferable to allow the user to openly select which instance they use, rather than writing in a list that might all go down. There's unfortunately no official instance—the instance I used is one I host myself—so it's hard to decide on anything else to put there (hence URI being set to the Github page).
also use latest from master.
What do you mean?

The error you posted should be fixed! Made the assumption that all Tumblr posts would be tagged.


README: Fixing VTR version

Signed-off-by: Alessandro Comodi<EMAIL_ADDRESS>

Merge if green?

It would be great to finish the discussion on naming... Now we have symbiflow-vtr that works for xc7 but not for eos3. So I think the package name is still too vague.

@pgielda -- Any idea why it doesn't work for the EOS S3 -- I would have thought it should....

Good question, I see no obvious reason. I will investigate this once I have a moment.

Is still pull request still needed? I'm going to close it for now, reopen if the change makes sense and you rebase it.


[DOCUMENTATION]Fixed Missing Type Import in Documentation

Needed to import the types specifically, not the more general pyspark.sql

Can one of the admins verify this patch?

Thanks. I've merged this in master & branch-1.3.


AddHs with addCoords option setting some coordinates to [0,0,0]

Configuration:

RDKit Version: '2019.09.2'
Operating system: Mac
Python version (if relevant): 3
Description:

When calling AddHs on a molecule with 3D coordinates, the addCoords option will to set coordinates for some atoms.  For the attached SDF, the atoms [222,242,264,286,306,328,348,368,390] all end up at the origin.
This doesn't happen with most molecules but it happens enough I need to put in a check for it.

>>> path = '/Users/jasonb/test123.sdf'
>>> suppl = Chem.rdmolfiles.SDMolSupplier(path)
>>> mol1 = next(suppl)
>>> mol2 = Chem.rdmolops.AddHs(mol1,addCoords = True)
>>> p1 = mol2.GetConformer().GetAtomPosition(222)
>>> p2 = mol2.GetConformer().GetAtomPosition(242)
>>> [p1.x, p1.y, p1.z]
[0.0, 0.0, 0.0]
>>> [p2.x, p2.y, p2.z]
[0.0, 0.0, 0.0]

test123.sdf.txt

The Hs have zero coordinates because they are connected to a five-coordinate atom and the RDKit doesn't know how to do deal with this.
There are a couple of things going on here:

Your SDF probably isn't correct: all the bonds are single bonds. This isn't chemically reasonable - nucleic acids have multiple bonds. Unless you've done this intentionally, it's probably worth looking into that.
Because the bonds around the P's are all single, they each have a valence of 4. This causes AddHs() to attach a hydrogen to them. Now the Ps are five-coordinate, causing the code which assigns coordinates to H atoms to give up and leave the Hs at (0,0,0)

Thank you  Greg.  The molecule originally came from a PDB file, but I exported to SDF to make a more minimal example to post here.  For this file PDBFileToMol assigned single bonds everywhere, so what you say make a lot of sense.
Would it be reasonable for addHs to throw an exception when it can't embed a hydrogen?

causing the code which assigns coordinates to H atoms to give up and leave the Hs at (0,0,0)

This still seems like bad behavior to me, if addHs gives up on assigning coordinates it should throw an exception


Integration tests for key tcp properties in freedom

see: https://github.com/freedomjs/freedom/issues/128

Update:

moved to src/integration/tcp
can now be run with grunt test
are now running in the continuous build environment

Still need some more tests, though :-)

Dropping priority since the SocksRoRtc/RtctoNet tests are a pretty good implicit test of this code, too.

Fixed with:
https://github.com/uProxy/uproxy-networking/pull/192


[Gally]: master <- dev

Automatically created by Git-Ally

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Laravel v6 Compatibility

This pull request replaces some deprecated helpers in laravel v6.
This is not all of them, just those which affect my use case.

Thank you for your PR. ❤
I've made few changes and tried it via example repo (with Laravel 6.5, PHP 7.3) and works. Changes: https://github.com/pionl/laravel-chunk-upload/pull/85


Python RTMClient Causes 100% CPU

Description
Describe your issue here.
What type of issue is this? (place an x in one of the [ ])

[x] bug
[ ] enhancement (feature request)
[x] question
[ ] documentation related
[ ] testing related
[ ] discussion

Requirements (place an x in each of the [ ])

[x] I've read and understood the Contributing guidelines and have done my best effort to follow them.
[x] I've read and agree to the Code of Conduct.
[x] I've searched for any related issues and avoided creating a duplicate issue.

Bug Report
Filling out the following details about bugs will help us solve your issue sooner.
Reproducible in:
slackclient version: 2.0.0
python version: 3.7
OS version(s): Centos in Docker
I am developing a Slack chatbot in Python
Acting as a Docker container
The problem is that the container suddenly takes 100% of the CPU
CPU doesn't grow slowly, suddenly takes 100%
The same thing happens if you delete everything in slack_translate
In fact, the issue occurs even if you are running python without doing anything in the slack workspace.
Please advise if you have any problems
Here is my source
import os
import time
import slack

project_name = os.environ['project_name']
source = os.environ['source']
target = os.environ['target']
slack_api_token = os.environ['slack_api_token']
translation = os.environ['translation']
translation_token = os.environ['translation_token']
environment = os.environ['environment']

@slack.RTMClient.run_on(event='message')
def slack_translate(**payload):

    event = payload['data']
    if 'subtype' not in event:

        channel_id = event['channel']
        thread_ts = event['event_ts']
        user = event['user']
        webclient = payload['web_client']
        message = event['text']

        webclient.chat_postMessage(
            channel=channel_id,
            text=message
        )
        time.sleep(0.5)

if __name__ == "__main__":
    rtm_client = slack.RTMClient(token=slack_api_token)
    rtm_client.start()

Here is Docker stats log
2019-11-25 21:50:01
CONTAINER ID        NAME                           CPU %               MEM USAGE / LIMIT     MEM %               NET I/O             BLOCK I/O           PIDS
c95fb2dcfe78        bot_test                       0.00%               24.25MiB / 7.638GiB   0.31%               7.4MB / 304kB       129MB / 38MB        5
0b98033669ce        docker_www_1                   0.01%               36.26MiB / 7.638GiB   0.46%               406kB / 908kB       41kB / 86.5kB       11
c753e1012f12        translateproject_translate_1   0.01%               98.81MiB / 7.638GiB   1.26%               12MB / 4.91MB       541kB / 0B          10
0b4c8f3ad089        mainback_db_1                  0.09%               224.4MiB / 7.638GiB   2.87%               4.27MB / 7.04MB     60.4MB / 128MB      34
da9bce2cb343        mainback_phpmyadmin_1          0.00%               66.26MiB / 7.638GiB   0.85%               3.2MB / 5.21MB      62.8MB / 438kB      11

2019-11-25 22:00:01
CONTAINER ID        NAME                           CPU %               MEM USAGE / LIMIT     MEM %               NET I/O             BLOCK I/O           PIDS
c95fb2dcfe78        bot_test                       0.00%               24.25MiB / 7.638GiB   0.31%               7.4MB / 308kB       129MB / 38MB        5
0b98033669ce        docker_www_1                   0.00%               36.26MiB / 7.638GiB   0.46%               406kB / 908kB       41kB / 86.5kB       11
c753e1012f12        translateproject_translate_1   0.00%               98.81MiB / 7.638GiB   1.26%               12MB / 4.91MB       541kB / 0B          10
0b4c8f3ad089        mainback_db_1                  0.10%               224.4MiB / 7.638GiB   2.87%               4.27MB / 7.04MB     60.4MB / 128MB      34
da9bce2cb343        mainback_phpmyadmin_1          0.00%               66.26MiB / 7.638GiB   0.85%               3.2MB / 5.21MB      62.8MB / 438kB      11

2019-11-25 22:10:01
CONTAINER ID        NAME                           CPU %               MEM USAGE / LIMIT     MEM %               NET I/O             BLOCK I/O           PIDS
c95fb2dcfe78        bot_test                       0.00%               24.25MiB / 7.638GiB   0.31%               7.41MB / 312kB      129MB / 38MB        5
0b98033669ce        docker_www_1                   0.00%               36.26MiB / 7.638GiB   0.46%               406kB / 908kB       41kB / 86.5kB       11
c753e1012f12        translateproject_translate_1   0.01%               98.81MiB / 7.638GiB   1.26%               12MB / 4.91MB       541kB / 0B          10
0b4c8f3ad089        mainback_db_1                  0.09%               224.4MiB / 7.638GiB   2.87%               4.27MB / 7.04MB     60.4MB / 128MB      34
da9bce2cb343        mainback_phpmyadmin_1          0.01%               66.26MiB / 7.638GiB   0.85%               3.2MB / 5.21MB      62.8MB / 438kB      11

2019-11-25 22:20:01
CONTAINER ID        NAME                           CPU %               MEM USAGE / LIMIT     MEM %               NET I/O             BLOCK I/O           PIDS
c95fb2dcfe78        bot_test                       101.85%             24.25MiB / 7.638GiB   0.31%               7.41MB / 312kB      129MB / 38MB        5
0b98033669ce        docker_www_1                   0.00%               36.26MiB / 7.638GiB   0.46%               406kB / 908kB       41kB / 86.5kB       11
c753e1012f12        translateproject_translate_1   0.00%               98.81MiB / 7.638GiB   1.26%               12MB / 4.91MB       541kB / 0B          10
0b4c8f3ad089        mainback_db_1                  0.10%               224.4MiB / 7.638GiB   2.87%               4.27MB / 7.04MB     60.4MB / 128MB      34
da9bce2cb343        mainback_phpmyadmin_1          0.00%               66.26MiB / 7.638GiB   0.85%               3.2MB / 5.21MB      62.8MB / 438kB      11

This also happened to me everytime I turned off network access for the machine and then turned it back on. Slack RTM API is unable to recover after that.

I started working on this issue. Here is a small sample demonstrating the issue happens when using WebClient in RTMClient handlers whereas WebClient alone doesn't cause such heavy CPU load.
requirements.txt
slackclient==2.5.0
psutil==5.7.0

app.py
# common part
from slack import RTMClient, WebClient
import threading
import asyncio
import psutil
import os
import time
import slack
import sys

def run_cpu_monitor():
    while True:
        p = psutil.Process(os.getpid())
        print(p.cpu_percent(interval=0.5))

WebClient in RTMClient
@RTMClient.run_on(event='message')
def event_handler(**payload):
    event = payload['data']
    if 'subtype' not in event:
        webclient = payload['web_client']
        for i in range(0, 10):
            result = webclient.chat_postMessage(
                channel=event['channel'],
                text=event['text']
            )
            print(f"ok: {result['ok']} error: {result['error']}")

if __name__ == "__main__":
    # cpu monitor
    t = threading.Thread(target=run_cpu_monitor)
    t.setDaemon(True)
    t.start()
    print("cpu monitor started")

    token = os.environ['SLACK_BOT_TOKEN']
    rtm_client = RTMClient(token=token)
    print("RTM client started")
    rtm_client.start()

(venv) $ python3 app.py
cpu monitor started
RTM client started
4.8
1.7
0.1
0.0
64.7
ok: True error: None
100.0
100.1
ok: True error: None
ok: True error: None
100.5
100.2
ok: True error: None
100.4
100.0
ok: True error: None
100.4
ok: True error: None
100.2
ok: True error: None
100.6
99.9
ok: True error: None
ok: True error: None
100.6
100.1
ok: True error: None
18.7
0.0
0.1
0.0

WebClient
if __name__ == "__main__":
    # cpu monitor
    t = threading.Thread(target=run_cpu_monitor)
    t.setDaemon(True)
    t.start()
    print("cpu monitor started")

    token = os.environ['SLACK_BOT_TOKEN']
    webclient = WebClient(token=token)
    for i in range(0, 10):
        result = webclient.chat_postMessage(
            channel='CLT1F93TP',
            text='This is a test'
        )
        print(f"ok: {result['ok']} error: {result['error']}")

(venv) $ python3 app.py
cpu monitor started
ok: True error: None
5.2
ok: True error: None
0.9
ok: True error: None
0.9
ok: True error: None
0.9
ok: True error: None
0.9
ok: True error: None
1.0
ok: True error: None
1.1
ok: True error: None
0.9
ok: True error: None
1.0
ok: True error: None

Let me close this issue now as #662 resolved it.

👋 slackclient 2.6.0rc1 is out. The pre-release version contains fixes for your issue described here.
https://pypi.org/project/slackclient/2.6.0rc1/
One week later from now, we'll be releasing version 2.6.0 to PyPI.
If you have a chance, could you try the release candidate version out and let us know your feedback? Thank you very much for being patient with this issue.

2.6.0rc1 Seems to have improved CPU usage for me. 🎈


deprecation notice on find (azure keyvault), but suggestion doesn't seem to work

Describe the bug
When  trying to fetch all secrets from a azure keyvault using find, we get the following error message (but it works)
{"level":"debug","ts":1700259703.815523,"logger":"events","msg":"dataFrom[0].find.conversionStrategy=Default is deprecated and will be removed in further releases. Use dataFrom.rewrite instead","type":"Warning","object":{"kind":"ExternalSecret","namespace":"external-secrets","name":"akv-source","uid":"00000000-0000-0000-0000-111111111111","apiVersion":"external-secrets.io/v1beta1"},"reason":"ParameterDeprecated"}

However, when replacing the "find:" with "rewrite:" the synchronization doesn't work.
To Reproduce
Steps to reproduce the behavior:
EKS 1.27, external-secrets v0.9.8
works but generates deprecation notice
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
  name: akv-get--all
  namespace: external-secrets
spec:
  secretStoreRef:
    kind: ClusterSecretStore
    name: akv--store
  dataFrom:
    - find:
        name:
          regexp: ".*"

this new dataFrom doesn't work - ExternalSecret doesn't even get any informational state
...
  dataFrom:
    - rewrite:
        - regexp:
            source: "(.*)"
            target: "$1"

Expected behavior
rewrite should work

Enabling debug, the following is shown...
Any hints would be very welcomed...
{
        "level": "info",
        "msg": "Warning: Reconciler returned both a non-zero result and a non-nil error. The result will always be ignored if the error is non-nil and the non-nil error causes reqeueuing with exponential backoff. For more details, see: https://pkg.go.dev/sigs.k8s.io/controller-runtime/pkg/reconcile#Reconciler",
        "controller": "externalsecret",
        "controllerGroup": "external-secrets.io",
        "controllerKind": "ExternalSecret",
        "ExternalSecret": {
            "name": "akv-get--all",
            "namespace": "external-secrets"
        },
        "namespace": "external-secrets",
        "name": "akv-get--all",
        "reconcileID": "1be53474-7973-5aaf-9882-6576ba5ebc7e"
    },
    {
        "level": "error",
        "msg": "Reconciler error",
        "controller": "externalsecret",
        "controllerGroup": "external-secrets.io",
        "controllerKind": "ExternalSecret",
        "ExternalSecret": {
            "name": "akv-get--all",
            "namespace": "external-secrets"
        },
        "namespace": "external-secrets",
        "name": "akv-get--all",
        "reconcileID": "a3e327cb-2828-59ea-b5b0-d1c1897a956d",
        "error": "secrets \"akv-get--all\" not found",
        "stacktrace": "sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\t/home/runner/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.16.3/pkg/internal/controller/controller.go:329\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/home/runner/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.16.3/pkg/internal/controller/controller.go:266\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/home/runner/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.16.3/pkg/internal/controller/controller.go:227"
    }

You need to set them both up, like this:
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
  name: akv-get--all
  namespace: external-secrets
spec:
  secretStoreRef:
    kind: ClusterSecretStore
    name: akv--store
  dataFrom:
    - find:
        name:
          regexp: ".*"
      rewrite:
        - regexp:
            source: "(.*)"
            target: "$1"

Thanks. Will try that one. Thx


Release v14.1.0

Description
Release new version
Breaking Changes
JIRA Link
Checklist

[x] Updated the Readme.md (if required) ?

This version won't be released yet


DxfDocument.Load returns null on AutoCad2000 file

Attached is a zipped test file 0e.zip.
CheckDxfFileVersion returns Version: AutoCad2000, isBinary: False, so the file is at least partially readable. But then, Load returns null.
The file was created by exporting a proprietory file format from an older CAD tool.
Any way to find out what is wrong?
H.M.

Compiling the sources and debugging shows that an MText in the input file has an invalid LineSpacingStyle of 'Default'. Commenting out the check in line 366 of MText.cs makes the file readable.
I consider the issue closed for my purposes - many thanks for providing this library open source, so that we can tweak the behavior for such cases!
(One could think about a "non strict load mode", where such checks are shortchanged, because the application is not interested in a perfectly valid DXF. But I do not know whether this opens a huge can of worms of secondary problems ...).
H.M.


Printing recursive types

Is there a way to generate printers for recursive types?
For example,
type 'a exp = [
  | `Plus of 'a * 'a
  | `Num of int
] [@@deriving show]

let rec eval = function
  | `Plus (e1, e2) -> eval e1 + eval e2
  | `Num i -> i

;;

let ast = (`Plus (`Plus (`Num 1, `Num 2), `Plus (`Num 3, `Num 4))) in
let result = eval ast in
print_endline @@ show_magic @@ ast;
print_endline @@ string_of_int @@ result;

I'm guessing the printer would look something like eval, but would compose a given pp function. Don't understand ppx_deriving well enough to know how difficult this is though.

Yes:
# let ast = (`Plus (`Plus (`Num 1, `Num 2), `Plus (`Num 3, `Num 4)));;
val ast : [> `Plus of [> `Plus of [> `Num of int ] * [> `Num of int ] ] * [> `Plus of [> `Num of int ] * [> `Num of int ] ] ] =
  `Plus (`Plus (`Num 1, `Num 2), `Plus (`Num 3, `Num 4))
# type exprec = [
  | `Plus of exprec * exprec
  | `Num of int
] [@@deriving show];;
# show_exprec ast;;
- : bytes = "`Plus ((`Plus ((`Num (1), `Num (2))), `Plus ((`Num (3), `Num (4)))))"

It would be nice if you could do something like [%show: [ Plus of 'a * 'a | Num of int ] as 'a] without introducing a type, but currently that doesn't work. In fact it breaks in a fairly opaque way:
# [%show: [ `Plus of 'a * 'a | `Num of int ] as 'a];;
Error: Unbound value poly_a

which is something I should fix.

Ah, I see. I'm defining it in this way because I want to tie the knot later, in order to extend the variant.
type 'a exp1 = [
  | 'a exp
  | `Times of 'a * 'a
]

If it's too niche a use case then I'll write the printer by hand.
Would the as 'a example desugar to a named type, like exprec?

Well, I'm suggesting to define the printer at the time you're tying the knot. The printer I wrote is no more or less polymorphic than your eval function (which also ties the knot), no?
Try writing an eval function that wouldn't tie the knot to see what I mean; it's similarly impossible to write a show function like that.
As for the inline form, I've no idea how to actually implement it, as I did not think about it yet.

Right, I get what you mean now. That works!


remove Windows 2016 environment

see https://github.com/mandiant/capa/actions/runs/1808677338

This is a scheduled Windows 2016 brownout. Windows 2016 environment will be removed on March 15th, 2022. For more details, see https://github.com/actions/virtual-environments/issues/4312

closed in #906


Document if/how 'password' string should be escaped

I know the entire string gets url-escaped, but how should the characters in the password be escaped? I.e. can an apostrophe be used in a password and is it escaped like SQL '' or with backslash?
CREATE USER <username> WITH PASSWORD '<password>'

closing in favor of https://github.com/influxdb/influxdb.com/issues/123 on the docs repo.


broken after update

Hey, I'm getting this error after updating to the latest version, happens after I try to switch colorschemes:

solved in the latest commit, just for refreshing, delete all the prism related folders in .local/share/nvim first

thank you for the quick fix.


ESD usb-canbus

I am trying to use the icubmod_ecan module on Ubuntu 14.04. I have a couple of questions that I couldn't find in the available documentation.

Which versions of the ESD CAN-USB device are compatible with my Ubuntu release? In other words, which ESD CAN-USB hardware is provided with a driver for my Ubuntu release?

Where can I find the drivers for the ESD CAN-USB devices? I found this page http://eris.liralab.it/wiki/Esd_Can_Bus but it seems quite old and it might not be updated.

Thanks in advance.

I am not sure, but I think the driver to use depends on the version of the USB dongle you have. The old "gray" mini USB dongle uses the ecan and the driver you found, the newer device (blue)  uses the socket can device driver and the corresponding YARP driver:
https://github.com/robotology/icub-main/tree/master/src/libraries/icubmod/socketCan
cc @maggia80 @randaz81

To my knowledge only the new ESDCAN2 https://esd.eu/en/products/can-usb2 is supported by Ubuntu. You need to use the socketcan yarp wrapper driver. You don't kneed a specific linux driver, it's built-in in the kernel. Ssome instructions here: http://wiki.icub.org/wiki/IKart#Esdcan_driver

Thanks.


Adding more weather data to the drawer

Combined both drawer and weather components into one component, so this will no longer be needed


fixed script error

test -d leads to the following error:
./Tailscale.sh: line 18: [: -d: binary operator expected
-d is sufficient for the intended check
resolves #65

Confirmed that using test fails in QTS5. It maybe worked when this package was first developed with QTS4.
[dgentry@QNAP Tailscale]$ /bin/sh --version
GNU bash, version 3.2.57(1)-release (arm-unknown-linux-gnueabihf)
Copyright (C) 2007 Free Software Foundation, Inc.
[dgentry@QNAP Tailscale]$ /bin/sh
[dgentry@QNAP Tailscale]$ if [ -d /proc/${PID}/ ]; then echo yes; fi
yes
[dgentry@QNAP Tailscale]$ if [ test -d /proc/${PID}/ ]; then echo yes; fi
sh: [: -d: binary operator expected
[dgentry@QNAP Tailscale]$


Doc develop

Included updated package installation information and commands that will access the correct path had the user downloaded to default locations.

I see the changes that you made in the rst file, but the html files have not yet been updated. please run the git bash and powershell commands for building the html files from the rst's

Hopefully this addresses the html

Closing because Alex is resubmitting a pull request with the HTMLs successfully compiled


Unable to launch rpc on fedora 34

[in discord-rpc-builder]$ node index.js
(node:54393) UnhandledPromiseRejectionWarning: Could not connect
(Use `node --trace-warnings ...` to show where the warning was created)
(node:54393) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:54393) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
[bubblefish@foogacorp discord-rpc-builder]$ node index.js --unhandled-rejections=strict
(node:54440) UnhandledPromiseRejectionWarning: Could not connect
(Use `node --trace-warnings ...` to show where the warning was created)
(node:54440) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:54440) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

[bubblefish@foogacorp discord-rpc-builder]$ node index.js --trace-warnings
(node:54617) UnhandledPromiseRejectionWarning: Could not connect
(Use `node --trace-warnings ...` to show where the warning was created)
(node:54617) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:54617) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
[bubblefish@foogacorp discord-rpc-builder]$ node --trace-warnings index.js
(node:54680) UnhandledPromiseRejectionWarning: Could not connect
    at emitUnhandledRejectionWarning (internal/process/promises.js:170:15)
    at processPromiseRejections (internal/process/promises.js:247:11)
    at processTicksAndRejections (internal/process/task_queues.js:96:32)
(node:54680) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:54680) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
    at emitDeprecationWarning (internal/process/promises.js:180:11)
    at processPromiseRejections (internal/process/promises.js:249:13)
    at processTicksAndRejections (internal/process/task_queues.js:96:32)

Please download the latest master app and make sure you write the application id correctly in config file.

Please download the latest master app and make sure you write the application id correctly in config file.

I downloaded latest commit and put 18-digit id from discord developer portal in config.json
{
    "id":"856788298273652738",
    "details":"null",
    "state":"null",
    "largeImageKey":"null",
    "largeImageText":"null",
    "smallImageKey":"null",
    "smallImageText":"null"
}

but still I get
[bubblefish@foogacorp discord-rpc-builder]$ node --trace-warnings index.js
(node:62547) UnhandledPromiseRejectionWarning: Could not connect
    at emitUnhandledRejectionWarning (internal/process/promises.js:170:15)
    at processPromiseRejections (internal/process/promises.js:247:11)
    at processTicksAndRejections (internal/process/task_queues.js:96:32)
(node:62547) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:62547) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
    at emitDeprecationWarning (internal/process/promises.js:180:11)
    at processPromiseRejections (internal/process/promises.js:249:13)
    at processTicksAndRejections (internal/process/task_queues.js:96:32)

I put your application id to my app and it works. Update the discord-rpc module please.
npm i discord-rpc

I just deleted the folder and made it step by step:
git clone https://github.com/mertssmnoglu/discord-rpc-builder > Resolving deltas: 100% (23/23), done.
Opened config.json and changed to:
{
    "id":"856788298273652738",
    "details":"null",
    "state":"null",
    "largeImageKey":"null",
    "largeImageText":"null",
    "smallImageKey":"null",
    "smallImageText":"null",
    "buttons":[
        {"label":"null","url":"https://"},
        {"label":"null","url":"https://"}
    ]
}

cd discord-rpc-builder > successfully
npm i discord-rpc  >
npm WARN<EMAIL_ADDRESS>requires a peer of register-scheme@github:devsnek/node-register-scheme but none is installed. You must install peer dependencies yourself.
npm WARN<EMAIL_ADDRESS>No repository field.

node index.js > UnhandledPromiseRejectionWarning: Could not connect
when I installed discord-rpc module it didn't say any warnings/errors, but when I used your command it did, and I believe that's the problem. How can I manually install the dependencies?

I managed to install the register-scheme@github:devsnek/node-register-scheme by using npm i register-scheme@github:devsnek/node-register-scheme but I can't install the second one, it says "there no such repository"

Dependencies are node-fetch and ws these are must be in the node_modules. Please send the photo of the latest files in the discord-rpc-builder directory.

Dependencies are node-fetch and ws these are must be in the node_modules. Please send the photo of the latest files in the discord-rpc-builder directory.

npm install -g npm-install-peers
npm-install-peers

Try these commands in main directory not in 'node_modules'

[bubblefish@foogacorp discord-rpc-builder]$ sudo npm install -g npm-install-peers
/usr/local/bin/npm-install-peers -> /usr/local/lib/node_modules/npm-install-peers/bin/npm-install-peers.js
+<EMAIL_ADDRESS>added 443 packages from 892 contributors in 6.263s
[bubblefish@foogacorp discord-rpc-builder]$ npm-install-peers
This package doesn't seem to have any peerDependencies

if I use node index.js I get the same
(node:66250) UnhandledPromiseRejectionWarning: Could not connect
    at emitUnhandledRejectionWarning (internal/process/promises.js:170:15)
    at processPromiseRejections (internal/process/promises.js:247:11)
    at processTicksAndRejections (internal/process/task_queues.js:96:32)
(node:66250) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:66250) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
    at emitDeprecationWarning (internal/process/promises.js:180:11)
    at processPromiseRejections (internal/process/promises.js:249:13)
    at processTicksAndRejections (internal/process/task_queues.js:96:32)

I delete package-lock.json from .gitignore. Please delete and download it again.

Unfortunately, same error

I tried using virtual machine with ubuntu to do the same. When using npm i discord-rpc it always says the warn discord-rpc-builder No repository field

I tried using virtual machine with ubuntu to do the same. When using npm i discord-rpc it always says the warn discord-rpc-builder No repository field

This is just a warn, not the error's source. I will fix this warn.

I tried using virtual machine with ubuntu to do the same. When using npm i discord-rpc it always says the warn discord-rpc-builder No repository field

This is just a warn, not the error's source. I will fix this warn.

it also says "Could not connect" when I'm trying to launch. So it does not work on both fedora and ubuntu distros with the same issue

I am using ubuntu but i don't get any error like that. It's all about the node.

I am using ubuntu but i don't get any error like that. It's all about the node.
I installed node with sudo apt install nodejs is it right?

I am using ubuntu but i don't get any error like that. It's all about the node.

I installed node with sudo apt install nodejs is it right?

I installed with nvm and my version is v14.16.0
https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-ubuntu-20-04

I did the same but it doesn't work for me.
P.S. I googled this type of messages and everyone says that it's because there should be "try/catch" in the promise, maybe it will help?

What is your node version ?
I just updated the node and still working.

[bubblefish@foogacorp discord-rpc-builder]$ node --version
v14.17.0

I would like to help you, but I don't know the source of the problem because it works on my pc.
When you fixed the problem please comment it and close the issue.

I would like to help you, but I don't know the source of the problem because it works on my pc.
When you fixed the problem please comment it and close the issue.

OK, thanks anyways

When you starting the app if your discord "client" is not opened that can cause this problem too.


[BEAM-1460] Changed name of ToString.of() to elements()

Changed name of ToString.of() to ToString.elements().

Changes Unknown when pulling a49acdadac37fd52cc1184e5d29cc30b99742a35 on eljefe6a:ToChangeOfChange into ** on apache:master**.

Ping @kennknowles  - failures were due to jobs taking too long.

LGTM! I'll merge it right now.


switch antlr parse TCL

Fixes #ISSUSE_ID.
Changes proposed in this pull request:

Pull Request Test Coverage Report for Build 6124

2 of 2 (100.0%)  changed or added relevant lines in 1 file are covered.
39 unchanged lines in 14 files lost coverage.
Overall coverage decreased (-0.3%) to 72.686%

Files with Coverage Reduction
New Missed Lines
%

sharding-core/src/main/java/io/shardingsphere/core/parsing/parser/sql/tcl/savepoint/SavepointParserFactory.java
1
0.0%

sharding-core/src/main/java/io/shardingsphere/core/parsing/parser/sql/tcl/rollback/RollbcakParserFactory.java
1
0.0%

sharding-core/src/main/java/io/shardingsphere/core/parsing/parser/sql/tcl/commit/CommitParserFactory.java
1
0.0%

sharding-core/src/main/java/io/shardingsphere/core/parsing/parser/sql/tcl/set/transaction/SetTransactionParserFactory.java
1
0.0%

sharding-core/src/main/java/io/shardingsphere/core/parsing/parser/sql/tcl/begin/BeginParserFactory.java
1
0.0%

sharding-core/src/main/java/io/shardingsphere/core/parsing/parser/sql/tcl/rollback/RollbackParser.java
2
0.0%

sharding-core/src/main/java/io/shardingsphere/core/parsing/parser/sql/tcl/savepoint/SavepointParser.java
2
0.0%

sharding-core/src/main/java/io/shardingsphere/core/parsing/parser/sql/tcl/set/transaction/SetTransactionParser.java
2
0.0%

sharding-core/src/main/java/io/shardingsphere/core/parsing/parser/sql/tcl/begin/BeginParser.java
2
0.0%

sharding-core/src/main/java/io/shardingsphere/core/parsing/parser/sql/tcl/commit/CommitParser.java
2
0.0%

Totals

Change from base Build 6122:
-0.3%

Covered Lines:
9383

Relevant Lines:
12909

💛  - Coveralls


Import mysql lib and ensure unit and integration tests pass

Issue

We developed a shared mysql lib in the vm charm that hasnt been ported over to the k8s charm yet.
Some unittests are redundant because they are already tested in the vm charm (when developing the mysql lib)

Solution

Import the mysql lib from the vm charm
Remove redundant unit tests
Make existing integration tests pass

Context
Since the file lib/charms/mysql/v0/mysql.py has already been reviewed in the vm charm, there is no need to review it further.
Release Notes
Import shared mysql lib from the vm charm

Thanks for the reviews!


150 Rename effective contacts in ABM

Merge Request - GuideLine Checklist
Guideline to check code before resolve WIP and approval, respectively.
As many checkboxes as possible should be ticked.
Checks by code author:

[x] There is at least one issue associated with the pull request.
[x] The branch follows the naming conventions as defined in the git workflow.
[ ] New code adheres with the coding guidelines
[ ] Tests for new functionality has been added
[ ] A local test was succesful
[ ] There is appropriate documentation of your work. (use doxygen style comments)
[ ] If new third party software is used, did you pay attention to its license? Please remember to add it to the wiki after successful merging.
[ ] If new mathematical methods or epidemiological terms are used, has the glossary been updated ? Did you provide further documentation ?
is present or referenced. Please provide your references.
[ ] The following questions are addressed in the documentation*:  Developers (what did you do?, how can it be maintained?), For users (how to use your work?), For admins (how to install and configure your work?)
For documentation: Please write or update the Readme in the current working directory!

Checks by code reviewer(s):

[ ] Is the code clean of development artifacts e.g., unnecessary comments, prints, ...
[ ] The ticket goals for each associated issue are reached or problems are clearly addressed (i.e., a new issue was introduced).
[ ] There are appropriate unit tests and they pass.
[ ] The git history is clean and linearized for the merge request.
[ ] Coverage report for new code is acceptable.

Closes #150

Codecov Report

Merging #173 (4d100fc) into main (6b0399e) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #173   +/-   ##
=======================================
  Coverage   91.70%   91.70%
=======================================
  Files          76       76
  Lines        4652     4653    +1
=======================================
+ Hits         4266     4267    +1
  Misses        386      386

Impacted Files
Coverage Δ

cpp/models/abm/parameters.h
100.00% <ø> (ø)

cpp/models/abm/location.cpp
100.00% <100.00%> (ø)

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 6b0399e...4d100fc. Read the comment docs.


gazebo_ros_pkgs: 2.5.14-0 in 'kinetic/distribution.yaml' [bloom]

Increasing version of package(s) in repository gazebo_ros_pkgs to 2.5.14-0:

upstream repository: https://github.com/ros-simulation/gazebo_ros_pkgs.git
release repository: https://github.com/ros-gbp/gazebo_ros_pkgs-release.git
distro file: kinetic/distribution.yaml
bloom version: 0.6.1
previous version for package: 2.5.13-0

gazebo_dev

No changes

gazebo_msgs

No changes

gazebo_plugins
* for gazebo8+, call functions without Get (#639 <https://github.com/ros-simulation/gazebo_ros_pkgs/issues/639>)
* Fix gazebo8 warnings part 4: convert remaining local variables in plugins to ign-math (#633 <https://github.com/ros-simulation/gazebo_ros_pkgs/issues/633>)
* Fix gazebo8 warnings part 3: more ign-math in plugins (#631 <https://github.com/ros-simulation/gazebo_ros_pkgs/issues/631>)
* Fix gazebo8 warnings part 2: replace private member gazebo::math types with ignition (#628 <https://github.com/ros-simulation/gazebo_ros_pkgs/issues/628>)
* Replace Events::Disconnect* with pointer reset (#623 <https://github.com/ros-simulation/gazebo_ros_pkgs/issues/623>)
* Merge pull request #542 <https://github.com/ros-simulation/gazebo_ros_pkgs/issues/542> from davetcoleman/kinetic-gazebo7-only
  Remove compiler directive flags for < GAZEBO 7
* Contributors: Dave Coleman, Steven Peters

gazebo_ros
* for gazebo8+, call functions without Get (#639 <https://github.com/ros-simulation/gazebo_ros_pkgs/issues/639>)
* Fix gazebo8 warnings part 5: ignition math in gazebo_ros (#635 <https://github.com/ros-simulation/gazebo_ros_pkgs/issues/635>)
* Fix gazebo8 warnings part 4: convert remaining local variables in plugins to ign-math (#633 <https://github.com/ros-simulation/gazebo_ros_pkgs/issues/633>)
* gazebo_ros: fix support for python3 (#622 <https://github.com/ros-simulation/gazebo_ros_pkgs/issues/622>)
* gazebo_ros_api_plugin: improve plugin xml parsing (#625 <https://github.com/ros-simulation/gazebo_ros_pkgs/issues/625>)
* Replace Events::Disconnect* with pointer reset (#623 <https://github.com/ros-simulation/gazebo_ros_pkgs/issues/623>)
* Install spawn_model using catkin_install_python (#621 <https://github.com/ros-simulation/gazebo_ros_pkgs/issues/621>)
* [gazebo_ros] don't overwrite parameter "use_sim_time" (#606 <https://github.com/ros-simulation/gazebo_ros_pkgs/issues/606>)
  * Parameter /use_sim_time is only set if not present on Parameter Server
* Contributors: Jose Luis Rivero, Manuel Ilg, Mike Purvis, Nils Rokita, Steven Peters

gazebo_ros_control
* Replace Events::Disconnect* with pointer reset (#623 <https://github.com/ros-simulation/gazebo_ros_pkgs/issues/623>)
* Contributors: Steven Peters

gazebo_ros_pkgs

No changes

This did not generate Jessie tags. We'll need to do a new bloom release with the rosdep keys restored in #16634


Can SMPSO run a Mixed Variables problem?

Hello, I am currently using your SPEA2 and SMPSO algorithms for comparison with a MOO algorithm that I am developing. I am testing each algorithm with both continuous and discrete problems. I've got SPEA2 running just fine, but I am not able to get SMPSO to run. The problem uses one discrete variable, and two continuous variables. I believe this may be a limitation of the algorithm its self, but wanted to double check with you all. Thanks a lot, I really appreciate your work in setting up this module.


feat(curriculum): update euler128 to more flexible problem, add solution

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Closes N/A
I updated Euler128 to test for two solutions and added a solution to the challenge.

Good to go


Improve dropped transaction error messaging

Raised here: https://github.com/NomicFoundation/ignition/pull/304#discussion_r1268543459
We want to further break down the error shown depending on whether it is due to user interference.

Already implemented in the development branch


POLLOI-2150 added optional timeout in IN_PROGRESS step result

It looks good overall. As noted, I think there's a bug around the timer events w.r.t. invocation counting. You might want to do a TDD thing and add a sleep step to your test to be sure the invocations get counted right before fixing it.

Released to sonatype oss as 4.0


Convert String To Code.

 I am Developing One Story Application In Which I am using Carousal For Story Scenes. In Which All Scenes are Dynamic.

 So Is there any Feature Something In Which String Convert To Widget or Code. So I get String From Server Which I cant Convert To Code Or Widget.

 Dynamic Widget Library Not Working For Me As My All Image And Position are Responsive with using Responsive Sizer Library, And Dynamic Widget Not Support Third Party Library.

Hi @ncr9108,  I believe you are trying to do a dynamic rendering of widgets based on the response from the backend? If so this is currently not possible with flutter, However there might be some community solutions, You might want to ask such discussion-related questions on our community forums at https://flutter.dev/community.
Closing as this is neither a bug nor a feature request. In case you disagree feel free to write in the comments and we will reopen it.
Thank you.


link to data

Downloading the data from the link in the Readme gives us:

metadata.csv
sample_submission.csv
train_masks.csv
29bb3ece3180_11.jpg
test.zip
test_hq.zip
train.zip
train_hq.zip
train_masks.zip

This doesn't seem consistent with the code (which wants a "codes.txt" file, etc)

codes.txt
car
background


Proper new AWS S3 permissions...

An example is here: http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketListAnalyticsConfigs.html
AWS removed bucket from the permission.

Coverage remained the same at 51.915% when pulling 99d90df2cc63cb4c9aa8ff3361aa31c6bf5a93bd on mikegrima:new_s3_perms into 18b96852776ec4d6c2c9b9bf95c6f7bf522ee462 on Netflix:develop.

Coverage remained the same at 51.915% when pulling dcf29a961a67602175188d595288cd3a3e9d26fb on mikegrima:new_s3_perms into 18b96852776ec4d6c2c9b9bf95c6f7bf522ee462 on Netflix:develop.

Coverage decreased (-0.006%) to 51.909% when pulling 026aebe74f38328e81d5060526de096d8441516f on mikegrima:new_s3_perms into 18b96852776ec4d6c2c9b9bf95c6f7bf522ee462 on Netflix:develop.

Fixed the Auditor to properly reflect changes made in Netflix-Skunkworks/CloudAux


cli: service inspect - Null check for UpdateConfig

- What I did
Added a null check  to make sure UpdateConfig !=nil before trying to print it's members
- How I did it
Simple. It's a 1 line fix with a test.
- How to verify it
You can run the unit test without the fix applied to observe the panic
- Description for the changelog

Fixes #25453
Signed-off-by: Dave Tucker<EMAIL_ADDRESS>

LGTM

LGTM


Feature/319 improve retry fetch

Related Issues:

EQ-319

Main Changes:

Removed an extra slash from the ordspub service calls.
Improved the retry axios call logic.

Updated the retry logic to better handle bad status codes (i.e., 502). Before, a 502 status code would cause the etl to just bomb out without retrying.
Updated all of our retry axios calls to use the same fetchRetry function. Before, we had different retry logic in some places.

Steps To Test:

Verify etl is pointing to local db
In tableConfig.json update the createQuery value for the actions profile, such that watertype, watersize, and watersizeunits allow nulls.

It looks like we are in a weird spot where attains has updated some of the materialized views, but our S3 bucket hasn't been refreshed. So the ordspub services are allowing nulls in those columns above. This is a good reason to try moving away from ordspub services, like Paul was suggesting.
I'll make a separate commit to tableConfig.json once we get a full list of schema changes.

Run the etl
Verify database part succeeded
Verify glossary part succeeded
Verify domain_values part succeeded
Check the console. If it has one or more entries that say Non-200 response returned from profile_stats service, retrying, then skip the remaining items
To force retries, on line 640 of etl\app\server\database.js, add a low timeout the callOptions parameter (example below).

  const res = await fetchRetry({
    url,
    s3Config,
    serviceName: 'profile_stats',
    retryInterval: s3Config.config.retryIntervalProfileStatsSeconds,
    callOptions: {
      timeout: 5000,
      headers: { 'API-key': process.env.MV_API_KEY },
      httpsAgent: new https.Agent({
        // TODO - Remove this when ordspub supports OpenSSL 3.0
        // This is needed to allow node 18 to talk with ordspub, which does
        //   not support OpenSSL 3.0
        secureOptions: crypto.constants.SSL_OP_LEGACY_SERVER_CONNECT,
      }),
    },
  });

I like the new additions, and the retry logic works well. Strangely, errors with the Ordspub profile_tmdl service was preventing the full ETL from completing, but it looks like that is due to that endpoint in particular, and it provided a good illustration of the retry logic!


S3 error when tf_backend_secondary_region variable is modified or deleted

Terraform Version & Prov: Terraform Cloud v1.6.5
AFT Version: 1.12.0
Bug Description
AFT was installed with tf_backend_secondary_region = "us-west-1" variable, and I want to change the region to "us-east-1".
I tried changing the region value for tf_backend_secondary_region and also tried deleting the whole variable, but in both cases, I am getting following error for Terraform Plan.
Related Logs

I'm not sure if this is the best way, but managed to workaround the issue by modifing count = var.secondary_region == "" ? 0 : 1 to count = var.secondary_region == "" ? 0 : 0 for every secondary-backend-bucket related resource on aft-backend/main.tf.
Looks like, if tf_backend_secondary_region variable is removed in order to remove replication, terraform can't find the S3 bucket as count and provider both rely on same secondary region variable.


⚠ GitLab Server has degraded performance

In bcb7f85, GitLab Server (https://gitlab01.its-telekom.eu) experienced degraded performance:

HTTP code: 200
Response time: 7856 ms

Resolved: GitLab Server performance has improved in 99e06a9.


BS4: select-box field with error does not have is-invalid class.

This is a (multiple allowed):

[x] bug

[ ] enhancement

[ ] feature-discussion (RFC)

BootstrapUI Version: develop

Bootstrap Framework Version: 4.1.3

jQuery: 3.3.1 slim

Platform and Target: Apache2, MySQL 5.7, PHP 7.2

What you did
When form select-box control has an error, it does not have is-invalid class in select tag.
Expected Behavior
select tag should have is-invalid class added when form control has an error.
Actual Behavior
select-box input container (form-group) has is-invalid class added but select tag does not have it. Bootstrap does not render the error message container if the input does not have is-invalid class (it's display property is none by default - is-invalid class overwrites display property to block).

I added a test which shows is-invalid class is applied to select tag https://github.com/FriendsOfCake/bootstrap-ui/commit/9d0b5174b77caf5eec5c9dbe9e1ba7504182f6e3#diff-cf0be6f0051f81c7f12aaa4c6becafc7R392

Thanks for the test. I think I've got problem not related with the plugin but with core itself about handling habtm related inputs.


Remediate OpenForceField protein-ligand benchmark PDB files

Remediate OpenForceField PDB files

@bobym is working on this issue in https://github.com/openforcefield/protein-ligand-benchmark/issues/20 but I don't think she has opened a PR yet.


LF-19973: Bumping version of sdk and fixing gulp issues

https://livefyre.atlassian.net/browse/LF-19973

lgtm


fix closed accepting Channels in closed ServerSocketChannels

many thanks to @vlm for reporting 💯
Motivation:
For servers NIO had a race where when you start tearing down the
ServerSocketChannel and at roughly the same time a client connects, we
would not fully bring that channel up, nor tear it down. That lead to
open channels being deallocated which leads to a crash as that's an
illegal state.
Modifications:
Made sure newly accepted channels get closed if the
ServerSocketChannel is already clsing.
Result:
No crashes anymore when a client connects to a closing server.

@weissi please rebase

@Lukasa agreed. I'm happy to try writing a deterministic one as a separate PR. Do file an issue against me doing that...

@weissi @vlm thanks a lot!


Slim 3 RC3 Response cut off

The response is just cut off, simple script
<?php
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);

use Slim\App;
use Slim\Http\Request;
use Slim\Http\Response;

require 'vendor/autoload.php';

$app = new App;

$app->get('/', function (Request $in, Response $out, $args) {
 return $out->write("xxx");
});

$app->run();

Running using built in php server - php -S localhost:8000 (5.5.12)
Outputs nothing, changed to
return $out->write("xxxyyyzzz")
outputs xxxyyy
As if 3 letters are always missing.

I try, it write what it is in write function.

There must be a reason, i've even traced it to https://github.com/slimphp/Slim/blob/3.x/Slim/App.php#L390 and the echo return the whole string, so i don't know where is the problem.
I will do some checks now.

Ok it works with the latest php 7.0.0 ts x64 from dec 3.

Ok, it is something with my php setup, but any other script works fine, not sure why there is problem with slim3.

I'm sorry, but I can't reproduce. I don't have PHP 5.5.12, so I tested withPHP 5.5.30.

I can't even think what it might be. Can you test with curl please?
curl -v http://localhost:8000/

and report the response.

Thx man, found it.
The response was

Trying <IP_ADDRESS>...
Connected to localhost (<IP_ADDRESS>) port 8000 (#0)

GET /api.php HTTP/1.1
Host: localhost:8000
User-Agent: curl/7.45.0
Accept: /

< HTTP/1.1 200 OK
< Host: localhost:8000
< Connection: close
< X-Powered-By: PHP/5.5.12
< Content-Type: text/html; charset=UTF-8
< Content-Length: 9
<

Excess found in a non pipelined read: excess = 3, size = 9, maxdownload = 9, bytecount = 0
´╗┐xxxyyy* Closing connection 0

So i immediately noticed the extra signs, never seen them before, the file was UTF-8, i double checked that before i even posted here, even with show all sings in notepad++, phpstorm was not complaining either, but it turns out it was with BOM, converted to utf-8 without BOM and that was it.
Still not sure if slim3 should be affected by that, but i know the reason at least.

Slim is affected because we set the content length of the response based on the length of the data. The BOM characters were not counted, but were output.
Glad you found it!


How to use negative data for training?

As title, can I add negative images (without any annotations) to fine-tune the model?

I also want to know,have you got a solution? @RocketWill


drag upload image not show image uploading

hi @steven-tey , i see this issue in novel.sh

Should be fixed by #172


About interfuser agent not smart enough

First of all, I would like to thank the authors for sharing :). When using Interfuser to conduct related experiments, I found a very special situation. When the defined task distance is too long (the task is customized by me, i.e.,  the distance between the start and destination is very far), Interfuser cannot complete the task, always It stops in the middle (between the start point and destination point). I also tried the route in route_town05_short.xml and the same problem happened. I don’t know if Interfuer training scenarios are limited, or if there are better trained models that can be supported. Thank you :).

Hi,
Thank you for your interest in our project. A practical workaround is to design some rules manually in the interfuser_agent.py to let the agent move if its speed is very low for a long time. You also adjust the controller parameters in the controller.py . To solve this problem totally, you may need to rewrite the autopilot agent to collect better codes. Some related issues can refer to: https://github.com/opendilab/InterFuser/issues/71


Restarting the phone and reinstalling the app would not help for error 13, because this key file limit is an iOS setting, and is not reset by restarting the phone or deleting the app. Only a factory reset of the device or iOS software update seem to reset the limit in our tests.

Restarting the phone and reinstalling the app would not help for error 13, because this key file limit is an iOS setting, and is not reset by restarting the phone or deleting the app. Only a factory reset of the device or iOS software update seem to reset the limit in our tests.
Originally posted by @pavshr in https://github.com/corona-warn-app/cwa-app-ios/issues/759#issuecomment-649519513
Yesterday, I had error 11. Not 13. I documented the error in this thread. See above. Restarting the phone helped and error 11 did not return until now. I did not uninstall. The app shows 'Aktualisiert' by time of the restart now. The 'Region für die Kontaktmitteilung...' message also did not return until now. At least for the moment, problem is solved on my device.

I would guess then that error 11 that you received on your device was not related to error 13.

Sorry, wanted to contribute to another issue. This entry can be deleted

What about resetting Ad-ID? Would that help?
in My German Phone Einstellungen -> Datenschutz -> Werbung -> Reset Ad-ID
In english should be Preferences -> Privacy -> Ads -> Reset Ad ID.


xdas: init at 0.2.1

Tool used by the GAIA-DATA project.
Should be a great thing for geology science reproducibility if this could be available into Nixpkgs

Things done

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[X] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Please split the commits. Each package added in it's on commit following the pattern in CONTRIBUTING.

nixpkgs-reviewd workflow started

Extra args: ``
Free space: true
Who asked: lucasew

TARGETS

x86_64-linux: true
x86_64-darwin: true
aarch64-darwin: true

Status and logs: https://github.com/nixosbrasil/nixpkgs-reviewd/actions/runs/12449966986

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 366785

aarch64-darwin

:white_check_mark: 12 packages built:

python311Packages.seisbench
python311Packages.seisbench.dist
python311Packages.xdas
python311Packages.xdas.dist
python311Packages.xinterp
python311Packages.xinterp.dist
python312Packages.seisbench
python312Packages.seisbench.dist
python312Packages.xdas
python312Packages.xdas.dist
python312Packages.xinterp
python312Packages.xinterp.dist

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 366785

x86_64-darwin

:white_check_mark: 12 packages built:

python311Packages.seisbench
python311Packages.seisbench.dist
python311Packages.xdas
python311Packages.xdas.dist
python311Packages.xinterp
python311Packages.xinterp.dist
python312Packages.seisbench
python312Packages.seisbench.dist
python312Packages.xdas
python312Packages.xdas.dist
python312Packages.xinterp
python312Packages.xinterp.dist

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 366785

x86_64-linux

:white_check_mark: 12 packages built:

python311Packages.seisbench
python311Packages.seisbench.dist
python311Packages.xdas
python311Packages.xdas.dist
python311Packages.xinterp
python311Packages.xinterp.dist
python312Packages.seisbench
python312Packages.seisbench.dist
python312Packages.xdas
python312Packages.xdas.dist
python312Packages.xinterp
python312Packages.xinterp.dist


error Thread1: signal SIGABRT

public func fetchAuthValue(socketID: String, channelName: String, completionHandler: @escaping (PusherAuth?) -> Void) {
methodChannel!.invokeMethod("onAuthorizer", arguments: [
"socketId": socketID,
"channelName": channelName,
]) { authData in
if authData != nil {
let authDataCast = authData as! [String: String]
completionHandler(
PusherAuth(
auth: authDataCast["auth"]!,
channelData: authDataCast["channel_data"],
sharedSecret: authDataCast["shared_secret"]
))
} else {
completionHandler(nil)
}
}
}
I am trying to use the package but this error appears in the quick part, apparently they are trying to indicate that they are trying to convert an object of type FlutterError to an object of type NSDictionary

@joselcv I was experiencing a similar crash, if not the same. For what I can tell from your message, you have an onAuthorizer method set up. Make sure that method is not returning NULL or throwing an exception (perhaps on network disconnect).
After adding error management to my onAuthorizer method and returning an empty JSON {"auth":""} if I'm not able to recover from the errors, the crash went away completely.
I hope it helps.

@gabrielginter solution should resolve this issue. If you need anything more please get in touch at https://messagebird.com/support-center/Pusher-request-new


How to avoid initial validation?

When defining a validations in a controller, the validation will be done once after the view is rendered, and the errors property will be populated right away.
Intuitively, I use a if helper to show the error message, but with ember-validations all error messages will be displayed even before starting to fill the form, which is very annoying.
What is the common pattern to handle error message display with ember-validations, so the error message will only display after say blur or manually?

https://github.com/dockyard/ember-validations/wiki/automatic-validation

I've run over the problem of the initial validations materializing every async relationship the model may have validations on, even if it isn't need just yet (eg displaying only some of the model's data).
I think wanting to disable the initial validation is a valid concern, beyond it's recommended or not.

I'm running into the same problem where all relationships with validations are materialised. @asermax: Did you find a way to work around this?

I am going to close this issue for now, feel free to reopen this issue if you feel like it's still relevant and we should take a look at it.


Support kubectlenv

Hey,
I'd like to add support for kubectlenv, which is a version manager for kubectl.

Thank you!


CVSS Regex in models.py is not good

Hi Team !
I'm writing a new API lib to import data from specific tool.
When calling "Finding" model to import vulnerability in DefectDojo, an error occurs as the "cvssv3_regex" is not consistent with cvss library used by DefectDojo.
The regex used is at line 2009 : cvssv3_regex = RegexValidator(regex=r'^AV:[NALP]|AC:[LH]|PR:[UNLH]|UI:[NR]|S:[UC]|[CIA]:[NLH]', message="CVSS must be entered in format: 'AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H'").
The 'cvss' lib is able to handle CVSSv2 and CVSSv3. For this to work, we have to prefix the CVSS vector with "CVSS:3.0/" which is not accepted by the regex in defectdojo/dojo/models.py.
Also the slash is not in the regex, so need to add it at the end of the regex.
I suggest this improvement : "cvssv3_regex = RegexValidator(regex=r'^CVSS:3.0\/AV:[NALP]|AC:[LH]|PR:[UNLH]|UI:[NR]|S:[UC]|[CIA]:[NLH]|\/', message="CVSS must be entered in format: 'AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H'")".
So importing an existing CVSSv3 vector from a vuln tool is not possible and CVSSv3 score will be not calculated.
Steps to reproduce
Steps to reproduce the behavior:
Import a CVSSv3 vector by using 'Finding' model of DefectDojo.
Deployment method (select with an X)

[X] Docker Compose
[ ] Kubernetes
[ ] GoDojo

wer shouyld use the package cvss


⚠ Bofrost.be has degraded performance

In fcf5eb7, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1279 ms

Resolved: Bofrost.be performance has improved in db3a3a4.


Digital Ocean default storage class is not actually default

sc.yaml creates a storage class named 'default' . But since it is missing storageclass.kubernetes.io/is-default-class: "true" annotation, it is not actually treated as default by DefaultStorageClass admission controller.

Good catch :)

We can close this now. @qbast


peerId doesn't get validated

Version: v0.29.3
Platform: Linux
Subsystem:

Type: Bug

Severity: Low
Description: Libp2p doesn't validate peerId
Steps to reproduce the error:
git clone https://gist.github.com/a1300/b65b4d39893330a7746a8bb94bbff829 libp2p-no-peerId-validation
cd libp2p-no-peerId-validation
npm install
node index

Output
(node:15157) UnhandledPromiseRejectionWarning: TypeError: libp2p.peerId.toB58String is not a function
    at new ConnectionManager (/home/a1300/test/gny/libp2p-no-peerId-validation/node_modules/libp2p/src/connection-manager/index.js:60:34)
    at new Libp2p (/home/a1300/test/gny/libp2p-no-peerId-validation/node_modules/libp2p/src/index.js:71:30)
    at Function.create (/home/a1300/test/gny/libp2p-no-peerId-validation/node_modules/libp2p/src/index.js:608:12)
    at main (/home/a1300/test/gny/libp2p-no-peerId-validation/index.js:28:33)
    at Object.<anonymous> (/home/a1300/test/gny/libp2p-no-peerId-validation/index.js:32:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)

We will be working on improving the configuration of libp2p per #576 . We should look into providing better feedback for the mandatory options by then

With the new release with type definitions, this should not happen anymore. Feel free to reopen if this is still a problem