fix setup and build for apple (m1/intel)

update tools/mac_setup.sh
manual build & install of casadi to openpilot virtualenv
replace acados Darwin libs with universal2 (x86_64/arm64) libs
skips onnxruntime install for Darwin until the universal2 pip package is available
remove rust stuff

Nice, can you re-enable the mac build in .gtihub/workflows/selfdrive_tests.yaml? Fixing this should be sufficient to get that workflow running again.

at this point it seems good to go. i have both my intel and m1 mac able to get a working build, but ci env isn't behaving correctly? I can't seem to replicate the issue on my local machine.
did some googling around and found that clang doesn't like the -rpath=<> syntax and prefers/accepts the -rpath,<> instead. some googling around and I found that this bug was replicated inadvertently at least once before

https://github.com/commaai/openpilot/issues/20910

might be a scons bug?
relevant:

https://stackoverflow.com/questions/69754783/replacing-w1-rpath-origin-with-w1-rpath-origin-in-scons
https://clang.llvm.org/docs/ClangCommandLineReference.html#cmdoption-clang-rpath

Can you pull in master to fix the conflicts?

pipfile.lock needs to be regenerated to accomodate for casadi and onnxruntime-gpu skipping on Darwin.
also, this weird ./selfdrive/ui/ui bug is only shown on apple m1.  it also sometimes errors when closing the app (same w/ plotjuggler). apple intel has no issue.

if arch == "Darwin":
  env['RPATHPREFIX'] = "-rpath "

works (note the whitespace). build still works on my local m1 and intel machines. strange why ci macos needs this.
https://github.com/tecandrew/openpilot/runs/4730989175?check_suite_focus=true

if arch == "Darwin":
  env['RPATHPREFIX'] = "-rpath "

works (note the whitespace). build still works on my local m1 and intel machines. strange why ci macos needs this.
https://github.com/tecandrew/openpilot/runs/4730989175?check_suite_focus=true

Nice. I'm optimizing the cache usage and dependency install time now, then I'll add that.


Networking models and svc_offering ordering

Generated by API rake task client:generate.
depends on

[ ] https://github.com/ManageIQ/topological_inventory-api/pull/235
[x] https://github.com/ManageIQ/topological_inventory-api/pull/231

@Ladas please :eyes:


Create shortcuts/hotkeys.

Hello, I'm a GSSOC'24 contributor please consider and assign this issue.
We can create shortcuts for
1.Brush
2.Fill color
3.Undo
4.Redo
5.Select shape
6.Cut
We can create a whole panel where we can keep such buttons.
The panel can have reset options.

Hi there @Riddhi162 👋🏻
Currently we already have options for Brush, Fill Color. But we won't have Undo and Redo right now but there's already an issue about it #109.
When i comes to selecting shape, it's not possible because this Project's theme is Whiteboard. It's need to be Rectangle in shape.
Finally about "Cut", Can i know further about what you're trying to do with "Cut" ? For what reason.

ok so im thinking like if someone has drawn something on the whiteborad she/he can select that much part and then if the user dont want that particular part or suppose he or she wants to move it to some different place it can be dragged and copied to some other place on the whiteboard. So its basically like selection tool and moving it.

Regarding the undo,redo im not asking for adding the buttons even if the buttons are already there we can create shortcuts for it suppose someone wants to fill the color in a shape we can press CTRL+F or undo CTRL+Z like that
I have attached the screenshot below pls take a look.

ok so im thinking like if someone has drawn something on the whiteborad she/he can select that much part and then if the user dont want that particular part or suppose he or she wants to move it to some different place it can be dragged and copied to some other place on the whiteboard. So its basically like selection tool and moving it.

@Riddhi162 & What will be your approach to implement this?

Closing due to inactivity.


Release

Sort button should be on left side of numeric HeaderItem #108

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


fix 404 errors in AWS marketplace docs

Resolves  #2830

This looks good to me. You've tested it locally?

yes


UI: identify the problematic filter text box on 3rd step.

PR Raised https://github.com/debezium/debezium-ui-poc/pull/110

PR merged.


i had bug in angular2-moment

i used ionic 2 and angular2 for build app.
im run npm install --save angular2-moment
and i add  import {TimeAgoPipe} from 'angular2-moment';
pipes: [TimeAgoPipe],
for file .js
but it error
Module parse failed: D:\xampp\htdocs\1000ngayvang_app\node_modules\angular2-mome
nt\TimeAgoPipe.ts Line 3: Unexpected token
You may need an appropriate loader to handle this file type.

Can you try to change the import to
import {TimeAgoPipe} from 'angular2-moment/TimeAgoPipe.js';
and see if it helps?

thanks you so much
2016-02-02 5:18 GMT+07:00 Uri Shaked<EMAIL_ADDRESS>
Can you try to change the import to
import {TimeAgoPipe} from 'angular2-moment/TimeAgoPipe.js';
and see if it helps?
—
Reply to this email directly or view it on GitHub
https://github.com/urish/angular2-moment/issues/11#issuecomment-178225478
.

--
Bùi Ngọc Phú
<EMAIL_ADDRESS>
                         Phone: 0901 443 593

Hi,
I have the same bug. (even when I use @urish solution)

@danielgolub are you using typescript?
have you got the latest release of angular2-moment (that is version 0.3.0)

@urish Yes.
I just installed it few minutes ago.

Can you please include the output that you get?

When using the import code from the README file:

When using the solution your wrote in this chat earlier:

seems to be a configuration problem. When you go to http://localhost:3000/angular2-moment, do you see the code of the module or a 404 error page?

404 error page.

I would suggest to check your configuration, if you are using system.js you need to configure the module loader correctly so that it can correctly locate the angular2-moment package inside your node_modules directory.

Well I followed the "Hero" setup on angular.io website.
Here are the different configuration files I have:
tsconfig.json:
{
  "compilerOptions": {
    "target": "ES5",
    "module": "system",
    "moduleResolution": "node",
    "sourceMap": true,
    "emitDecoratorMetadata": true,
    "experimentalDecorators": true,
    "removeComments": false,
    "noImplicitAny": false
  },
  "exclude": [
    "node_modules"
  ]
}

package.json:
{
  "name": "SHIELDoX",
  "version": "1.0.0",
  "scripts": {
    "tsc": "tsc",
    "tsc:w": "tsc -w",
    "lite": "lite-server",
    "start": "concurrent \"npm run tsc:w\" \"npm run lite\" "
  },
  "license": "ISC",
  "dependencies": {
    "angular2": "2.0.0-beta.0",
    "angular2-moment": "^0.3.0",
    "es6-promise": "^3.0.2",
    "es6-shim": "^0.33.3",
    "reflect-metadata": "0.1.2",
    "rxjs": "5.0.0-beta.0",
    "systemjs": "0.19.6",
    "zone.js": "0.5.10"
  },
  "devDependencies": {
    "concurrently": "^1.0.0",
    "lite-server": "^1.3.1",
    "typescript": "^1.7.3"
  }
}

And on index.html:
		<!-- 2. Configure SystemJS -->
		<script>
		  System.config({
			packages: {
			  app: {
				format: 'register',
				defaultExtension: 'js'
			  }
			}
		  });
		  System.import('app/boot')
				.then(null, console.error.bind(console));
		</script>

Can you please upload the entire code to a git repo?

@urish, I added you as a collaborator on the git repo.

Seems like the following System.js configuration should do the trick for you:
System.config({
	packageConfigPaths: ['node_modules/*/package.json'],
	paths: {
		'moment': '/node_modules/moment',
		'angular2-moment/*': '/node_modules/angular2-moment/*',
	},
	packages: {
		app: {
			format: 'register',
			defaultExtension: 'js'
		}
	},
	meta: {
		moment: {
			format: 'global',
			globals: {
				moment: 'moment'
			}
		}
	}
});

And then, import the module as follows:
import {TimeAgoPipe} from 'angular2-moment/TimeAgoPipe.js';

In general, I would suggest to study System.js in detail if you intend to use it in your project, it will save you much time in the future.

It works.
Anyway, I will read some more articles about System.js. It seems I was too enthusiastic about Angular2 that I ran too fast :P
Thanks.


HDFS-16995. Remove unused parameters at NameNodeHttpServer#initWebHdfs

Description of PR
Parameters of keytab and hostname  was not used at intWebHdfs
So maybe is should remove it.
The related code was removed at HADOOP-16354
How was this patch tested?
The current UT can coverage this changes.
For code changes:

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 36s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+0 :ok:
detsecrets
0m  1s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s

The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ trunk Compile Tests _

+0 :ok:
mvndep
16m 50s

Maven dependency ordering for branch

+1 :green_heart:
mvninstall
26m  4s

trunk passed

+1 :green_heart:
compile
6m 23s

trunk passed with JDK Ubuntu-11.0.18+10-post-Ubuntu-0ubuntu120.04.1

+1 :green_heart:
compile
5m 49s

trunk passed with JDK Private Build-1.8.0_362-8u362-ga-0ubuntu1~20.04.1-b09

+1 :green_heart:
checkstyle
1m 16s

trunk passed

+1 :green_heart:
mvnsite
2m 16s

trunk passed

+1 :green_heart:
javadoc
1m 48s

trunk passed with JDK Ubuntu-11.0.18+10-post-Ubuntu-0ubuntu120.04.1

+1 :green_heart:
javadoc
2m 37s

trunk passed with JDK Private Build-1.8.0_362-8u362-ga-0ubuntu1~20.04.1-b09

+1 :green_heart:
spotbugs
4m 44s

trunk passed

+1 :green_heart:
shadedclient
20m 20s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 29s

Maven dependency ordering for patch

+1 :green_heart:
mvninstall
1m 52s

the patch passed

+1 :green_heart:
compile
5m 53s

the patch passed with JDK Ubuntu-11.0.18+10-post-Ubuntu-0ubuntu120.04.1

+1 :green_heart:
javac
5m 53s

the patch passed

+1 :green_heart:
compile
5m 41s

the patch passed with JDK Private Build-1.8.0_362-8u362-ga-0ubuntu1~20.04.1-b09

+1 :green_heart:
javac
5m 41s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
1m  5s

the patch passed

+1 :green_heart:
mvnsite
2m  0s

the patch passed

+1 :green_heart:
javadoc
1m 26s

the patch passed with JDK Ubuntu-11.0.18+10-post-Ubuntu-0ubuntu120.04.1

+1 :green_heart:
javadoc
2m 23s

the patch passed with JDK Private Build-1.8.0_362-8u362-ga-0ubuntu1~20.04.1-b09

+1 :green_heart:
spotbugs
4m 38s

the patch passed

+1 :green_heart:
shadedclient
20m 38s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
204m 28s

hadoop-hdfs in the patch passed.

-1 :x:
unit
21m  4s
/patch-unit-hadoop-hdfs-project_hadoop-hdfs-rbf.txt
hadoop-hdfs-rbf in the patch passed.

+1 :green_heart:
asflicense
0m 51s

The patch does not generate ASF License warnings.

364m 17s

Reason
Tests

Failed junit tests
hadoop.hdfs.server.federation.router.TestRouterRPCMultipleDestinationMountTableResolver

Subsystem
Report/Notes

Docker
ClientAPI=1.42 ServerAPI=1.42 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5601/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/5601

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets

uname
Linux 52b36fdf07aa 4.15.0-206-generic #217-Ubuntu SMP Fri Feb 3 19:10:13 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / a1140e5b5640c895e8e821a047e4b5fee337d5da

Default Java
Private Build-1.8.0_362-8u362-ga-0ubuntu1~20.04.1-b09

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.18+10-post-Ubuntu-0ubuntu120.04.1 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_362-8u362-ga-0ubuntu1~20.04.1-b09

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5601/1/testReport/

Max. process+thread count
3654 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs hadoop-hdfs-project/hadoop-hdfs-rbf U: hadoop-hdfs-project

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5601/1/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 36s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s

The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ trunk Compile Tests _

+0 :ok:
mvndep
16m 22s

Maven dependency ordering for branch

+1 :green_heart:
mvninstall
26m 10s

trunk passed

+1 :green_heart:
compile
6m  1s

trunk passed with JDK Ubuntu-11.0.18+10-post-Ubuntu-0ubuntu120.04.1

+1 :green_heart:
compile
5m 45s

trunk passed with JDK Private Build-1.8.0_362-8u362-ga-0ubuntu1~20.04.1-b09

+1 :green_heart:
checkstyle
1m 17s

trunk passed

+1 :green_heart:
mvnsite
2m 15s

trunk passed

+1 :green_heart:
javadoc
1m 50s

trunk passed with JDK Ubuntu-11.0.18+10-post-Ubuntu-0ubuntu120.04.1

+1 :green_heart:
javadoc
2m 31s

trunk passed with JDK Private Build-1.8.0_362-8u362-ga-0ubuntu1~20.04.1-b09

+1 :green_heart:
spotbugs
4m 46s

trunk passed

+1 :green_heart:
shadedclient
20m 40s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 29s

Maven dependency ordering for patch

+1 :green_heart:
mvninstall
1m 49s

the patch passed

+1 :green_heart:
compile
6m  2s

the patch passed with JDK Ubuntu-11.0.18+10-post-Ubuntu-0ubuntu120.04.1

+1 :green_heart:
javac
6m  2s

the patch passed

+1 :green_heart:
compile
5m 38s

the patch passed with JDK Private Build-1.8.0_362-8u362-ga-0ubuntu1~20.04.1-b09

+1 :green_heart:
javac
5m 38s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
1m  4s

the patch passed

+1 :green_heart:
mvnsite
1m 58s

the patch passed

+1 :green_heart:
javadoc
1m 26s

the patch passed with JDK Ubuntu-11.0.18+10-post-Ubuntu-0ubuntu120.04.1

+1 :green_heart:
javadoc
2m 19s

the patch passed with JDK Private Build-1.8.0_362-8u362-ga-0ubuntu1~20.04.1-b09

+1 :green_heart:
spotbugs
4m 37s

the patch passed

+1 :green_heart:
shadedclient
20m 46s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

-1 :x:
unit
206m 29s
/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in the patch passed.

+1 :green_heart:
unit
20m 57s

hadoop-hdfs-rbf in the patch passed.

+1 :green_heart:
asflicense
0m 48s

The patch does not generate ASF License warnings.

365m 45s

Reason
Tests

Failed junit tests
hadoop.hdfs.server.datanode.TestDirectoryScanner

Subsystem
Report/Notes

Docker
ClientAPI=1.42 ServerAPI=1.42 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5601/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/5601

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets

uname
Linux 0a265c57cbc5 4.15.0-206-generic #217-Ubuntu SMP Fri Feb 3 19:10:13 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / fcf37cb4dc6d51668406266816780f78affb8e17

Default Java
Private Build-1.8.0_362-8u362-ga-0ubuntu1~20.04.1-b09

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.18+10-post-Ubuntu-0ubuntu120.04.1 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_362-8u362-ga-0ubuntu1~20.04.1-b09

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5601/2/testReport/

Max. process+thread count
3362 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs hadoop-hdfs-project/hadoop-hdfs-rbf U: hadoop-hdfs-project

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5601/2/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.


Add Apache Johnzon object mapper support

Hey guys!
I would like to resume https://github.com/rest-assured/rest-assured/issues/526 and provide built in support  for Apache Johnzon (https://johnzon.apache.org/).

Apache Johnzon is a project providing an implementation of JsonProcessing (aka JSR-353) and a set of     useful extension for this specification like an Object mapper, some JAX-RS providers and a WebSocket module provides a basic integration with Java WebSocket API (JSR-356).

This PR adds integration with Apache Johnzon 1.1.11.
Thank you!

@johanhaleby my apologies for pinging, I am wondering if there would be an interest in reviewing / accepting / rejecting this PR, I would be more than happy to provide more context (if needed) and address the feedback. Thank you.

This is really cool, great contribution. Sorry for not having had time to look into this earlier.

Thanks a lot, @johanhaleby !

@reta Thank you for helping out and for your patience


vm.expectCall doubles the number of registered calls

Component
Other (please describe)
Have you ensured that all of these are up to date?

[X] Foundry
[X] Foundryup

What version of Foundry are you on?
forge 0.0.2 (1781234 2024-12-19T00:26:29.308590729Z)
What command(s) is the bug in?
No response
Operating System
Linux
Describe the bug
vm.expectCall doubles the number of registered calls leading to failing tests. It's independent of the properties of the call like being view, non-view, transfer, returning data, or being called multiple times. Example:
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.20;

import "forge-std/Test.sol";

contract Expected {
    uint256 public value;

    function setValue(uint256 newValue) public returns (uint256 oldValue) {
        oldValue = value;
        value = newValue;
    }

    receive()payable external{}
}

contract ExpectedTest is Test {
    function testExpectedTransfer() public {
        Expected expected = new Expected();
        vm.expectCall(address(expected), 3, "", 1);
        address(expected).call{value:3}("");
    }

    function testExpectedViewCall() public {
        Expected expected = new Expected();
        vm.expectCall(address(expected), abi.encodeCall(expected.value, ()), 1);
        expected.value();
    }

    function testExpectedCall() public {
        Expected expected = new Expected();
        vm.expectCall(address(expected), abi.encodeCall(expected.setValue, (3)), 1);
        expected.setValue(3);
    }

    function testExpectedViewCallTwice() public {
        Expected expected = new Expected();
        vm.expectCall(address(expected), abi.encodeCall(expected.value, ()), 2);
        expected.value();
        expected.value();
    }
}

These tests should all pass, but they fail with:
[FAIL: expected call to 0xF9E9ba9Ed9B96AB918c74B21dD0f1D5f2ac38a30 with data 0x552410770000000000000000000000000000000000000000000000000000000000000003 to be called 1 time, but was called 2 times] testExpectedCall() (gas: 1166895)
[FAIL: expected call to 0xF9E9ba9Ed9B96AB918c74B21dD0f1D5f2ac38a30 with data 0x, value 3 to be called 1 time, but was called 2 times] testExpectedTransfer() (gas: 1187789)
[FAIL: expected call to 0xF9E9ba9Ed9B96AB918c74B21dD0f1D5f2ac38a30 with data 0x3fa4f245 to be called 1 time, but was called 2 times] testExpectedViewCall() (gas: 1157125)
[FAIL: expected call to 0xF9E9ba9Ed9B96AB918c74B21dD0f1D5f2ac38a30 with data 0x3fa4f245 to be called 2 times, but was called 4 times] testExpectedViewCallTwice() (gas: 1267729)

The behavior isn't consistent, some tests double the number of registered calls, others don't. They are very similar and I can't put my finger on the root cause of the issue.

Hello @CodeSandwich,
Thank you for bringing this to our attention. I have confirmed that the issue is occurring on my end as well; the process is being executed twice. I will discuss this with the team to address it. Currently, we are implementing changes to accommodate zkSync behavior using a strategy pattern, and this matter may be incorporated into that effort as well.


Configure Azure Pipelines

This pipeline configuration builds the application and produces a build for the Release configuration.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: santiago1976 sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Merge completo


Bug in resolving external circular references

It seems that circular dependencies are detected only on the main file, but they aren't in external files. For example:
a.yaml:
definitions:
  y:
    type: object
    properties:
      children:
        type: array
        items:
          $ref: "#/definitions/z"
  z:
    type: object
    properties:
      parents:
        type: array
        items:
          $ref: "#/definitions/y"

b.yaml:
definitions:
  x:
    $ref: './a.yaml#/definitions/y'

Then, json-refs (latest master) for a.yaml runs fine:
$ ./bin/json-refs resolve test/browser/documents/external-circular-refs/a.yaml
{
  "definitions": {
    "y": {
      "type": "object",
      "properties": {
        "children": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/z"
          }
        }
      }
    },
    "z": {
      "type": "object",
      "properties": {
        "parents": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "children": {
                "type": "array",
                "items": {
                  "$ref": "#/definitions/z"
                }
              }
            }
          }
        }
      }
    }
  }
}

But for b.yaml it fails:
$ ./bin/json-refs resolve test/browser/documents/external-circular-refs/b.yaml

  error: Converting circular structure to JSON

I've got this addressed locally but I will keep this open until it's committed to master.

@whitlockjc any update on this? please tell me if there's anything I can do to help.

I'm working on a rewrite of json-refs already.  It's almost done, but I've had some work stuff that's gotten in the way recently.  I apologize for the delay but it is my top priority when doing OSS work (in my personal time).


Replaced StringBuffer with more efficient StringBuilder.

StringBuffer is synchronized, while StringBuilder is not.
StringBuilder is designed to be a drop-in replacement for StringBuffer.
Since synchronization is not an issue, StringBuilder should be used.

LGTM :+1:

Some of those are in the copied Ant code - maybe we should commit back to them ;)
--Jeremy


Always update clusters and remove per-frame allocations

Refactor assign_lights_to_clusters to always clear + update clusters, even if the screen size isn't available yet / is zero. This fixes #4167. We still avoid the "expensive" per-light work when the screen size isn't available yet. I also consolidated some logic to eliminate some redundancies.
Removed a ton of (potentially very large) per-frame reallocations

Removed Res<VisiblePointLights> (a vec) in favor of  Res<GlobalVisiblePointLights> (a hashmap). We were allocating a new hashmap every frame, the collecting it into a vec every frame, then in another system re-generating the hashmap. It is always used like a hashmap, might as well embrace that. We now reuse the same hashmap every frame and dont use any intermediate collections.
We were re-allocating Clusters aabb and light vectors every frame by re-constructing Clusters every frame. We now re-use the existing collections.
Reuse per-camera VisiblePointLight vecs when possible instead of allocating them every frame. We now only insert VisiblePointLights if the component doesn't exist yet.

I'm curious about the perf impact; do we have a good benchmark for this?

is it possible to get examples to run as part of CI?

Part of them already run using swiftshader.

I'm curious about the perf impact; do we have a good benchmark for this?

I benchmarked lighting.rs prior to submitting this pr and the difference was in the noise. But that makes sense because there aren't that many lights in the scene (and therefore we have a smaller number of allocations + copies). We'd want to test on a scene with a large number of lights.

I think this is good to go now. Feel free to leave more feedback, but I'll merge this in the next few days if i dont hear back from anyone.

looks good. in testing i found an unrelated issue, if you want to include it that would be great, otherwise i'll open another pr.
the obb test is occasionally failing in Single mode due to f32 precision issues. we can fix it by removing the 1e9s and calculating the actual depth we need:
@@ -323,7 +323,7 @@ impl ClusterConfig {
     fn first_slice_depth(&self) -> f32 {
         match self {
             ClusterConfig::None => 0.0,
-            ClusterConfig::Single => 1.0e9, // FIXME note can't use f32::MAX as the aabb explodes
+            ClusterConfig::Single => 0.0,
             ClusterConfig::XYZ { z_config, .. } | ClusterConfig::FixedZ { z_config, .. } => {
                 z_config.first_slice_depth
             }
@@ -333,7 +333,7 @@ impl ClusterConfig {
     fn far_z_mode(&self) -> ClusterFarZMode {
         match self {
             ClusterConfig::None => ClusterFarZMode::Constant(0.0),
-            ClusterConfig::Single => ClusterFarZMode::Constant(1.0e9), // FIXME note can't use f32::MAX as the aabb explodes
+            ClusterConfig::Single => ClusterFarZMode::MaxLightRange,
             ClusterConfig::XYZ { z_config, .. } | ClusterConfig::FixedZ { z_config, .. } => {
                 z_config.far_z_mode
             }

@cart ping? I want to get this in as I have a couple more PRs that will come on top of this. I’ll add some many lights example while I’m at it I guess so we have something to test with. I’ve used Sponza locally but it’s not really necessary. :)

Ill update this now and get it merged!

bors r+


ROX-11919: Get rid of the GO_VERSION operator build arg.

Description
Hardcode the go version in the operator Dockerfile, rather than require it to be passed as a build argument.
This may seem counter-productive at first, but there is an important detail
outside of this repository. Namely operator/Dockerfile is also referenced
from the OpenShift CI configuration, which currently also needs to hardcode
the go version, since the value of the build arg there needs to be provided
literally (there does not seem to be a way to extract it from
EXPECTED_GO_VERSION).
So rather than have the Go version be defined in two separate repositories
(here and in openshift/release), we put it in two places in this repository,
and add CI- and build-time checks to make sure they are in sync, as well as
cross-references to remember to update them simultaneously.
Checklist

[ ] Investigated and inspected CI test results
[x] Unit test and regression tests added
[x] ~Evaluated and added CHANGELOG entry if required~
[x] ~Determined and documented upgrade steps~
[x] ~Documented user facing changes (create PR based on openshift/openshift-docs and merge into rhacs-docs)~

Not a user-visible change.
Testing Performed
Manually ran the make target and make sure the output is expected both when values are in and out of sync.
Relying on CI otherwise.

/test grouped-static-checks


Dialog Focus

The material-ui dialog  doesn't appear to be properly reading the contents to screen readers when it's opened. Our UX department identified the problem being that focus is moved to the dialog container instead of the dialog itself. The container being the  element and the dialog being the  element. I'm told the solution is to move the tabindex="-1" to the  so focus can be moved to that. Wanted to see if this can be changed or if there was a way to change the element with tabindex="-1" within the dialog.

Hi. Please create a issue following the given template :) Also, please make sure to provide a codesandbox that directly shows the issue. You can fork this template: https://codesandbox.io/s/mui-issue-latest-s2dsx


certificate pinning: self-signed certificate

I'm trying to connect to a server using a self-signed certificate.
I added the correct .der file in the app bundle, however all requests fail.
Is it possible get it working with a self signed certificate?
class APIManager {

    private static let serverTrustPolicies: [String: ServerTrustPolicy] = [
        "domain.com": .pinCertificates(
            certificates: ServerTrustPolicy.certificates(),
            validateCertificateChain: true,
            validateHost: true
        )
    ]

    static let manager = SessionManager(
        serverTrustPolicyManager: ServerTrustPolicyManager(policies: serverTrustPolicies)
    )

}

If you take a look at our documentation for validateCertificateChain you can see that it won't work will self-signed certificates. Setting that to false will likely fix your issue.


Write JSON configuration to the filesystem

Partially complete. Needs to be tested with valid config JSON.

createFile() method of the JsonConverter class is not functional yet

Needs to be wired into the create/delete servlets.


Couldn't find any logs waiting 60 secs before checking again

Describe the bug
When running ./setup_init.sh rerun I immediately get Couldn't find any logs waiting 60 secs before checking again and after like a minute I get Unhandled Exception Occurred.. I don't get any local log file either.
Expected behavior
It should either successfully run, or leave some error log.
Instance Type (please complete the following information):

ARM or Micro: ARM
Micro Second Instance: yes
Custom Image or default: default

Environment (please complete the following information):

Micro Instance or Local: Micro Instance
OS: Ubuntu
Version: [optional]

Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
And sending email does not work either.

Damn you are right, thanks for catching it. Did you test it ?

Thanks again.Since I have already obtained the instance, testing the script has become challenging, I should plan to write some unit test cases for script's functionality soon.


Numerical functions for point values

Description
In aeb7c657e0a163fccce2a40a9233a8d4437f87f8 vmap is used to make the numerical functions more flexible, but it has removed the functionality to pass single values.
Suggestion
It would be good to have a function that decides which type of function (vectorized or non-vectorized) based on the provided input. If this is not possible, then simply provide new functions.

This issue is fixed in #20


TrafficMonitor IPV6 improvements

Enables TM to poll health information over IPV6, and optionally combine it with IPV4 information for traffic router.

This is pretty cool. It looks like there are two separate PRs in here, and the second one could really use a squash. The astats changes can stand on their own, so they should probably get their own PR. And the IPv6 for TM should be squashed. There are some confusing reverts of inadvertent changes that probably shouldn't go in, even as intermediate changesets.
It'll be a lot easier to review it that way, I think.

Can one of the admins verify this patch?

+1 to @alficles comments.  @serDrem can you please make this two PRs?  One for astats and one for TM?

This should also be linked to this issue: https://issues.apache.org/jira/browse/TC-230

Can one of the admins verify this patch?

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-trafficcontrol-PR-trafficops-test/18/

been absorbed by another PR.


enable auto-merge from 21.06 to 21.08 [skip ci]

this should be merged after branch-21.08 is created

build


Sig = noPPBoosts: true, & Knowledge Stream 120bp

Signature have noPPBoosts: true, and Knowledge Stream now has 120bp instead of 40.

Nice AF


chore: Fix a new clippy warning

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 84.58%. Comparing base (8d0e0f7) to head (84a8cf2).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #127   +/-   ##
=======================================
  Coverage   84.58%   84.58%
=======================================
  Files          32       32
  Lines        1758     1758
=======================================
  Hits         1487     1487
  Misses        271      271

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Publishing Proposal

This is a proposal for publishing the library onto the Maven Central repository! There are some resources for doing that:

https://kotlinlang.org/docs/multiplatform-publish-lib.html
https://mrcurious.medium.com/publishing-your-android-kotlin-library-to-maven-central-in-2021-df263a4f2cbc

And we will need the following pipeline:

[x] Have a domain
[x] Open ticket on https://issues.sonatype.org/ and do what's requested
[x] Adapt the project to publish the library, like configuring the username and the private key

[x] Pull from the environment whats needed to a maven publication
The code for helping here, can be: andesite's buildscript

[x] Configure the CI to publish automatically whenever the repo creates a new release

[x] Setup private key on github actions

[ ] add a tutorial of how to open an issue on jira

To register this Group Id you must prove ownership of the domain openpix.com. Please complete the following steps to continue:
Add a DNS TXT record to your domain with the text: [OSSRH-93956](https://issues.sonatype.org/browse/OSSRH-93956). Please read https://central.sonatype.org/faq/how-to-set-txt-record/

More info: https://central.sonatype.org/publish/
If you do not own this domain, you may also choose a different Group Id that reflects your project hosting. io.github.open-pix would be valid based on your Project URL.
To continue the registration process, please follow these steps:
Create a temporary, public repository called https://github.com/open-pix/OSSRH-93956 to verify github account ownership.
Edit this ticket, update the Group ID field with the new GroupId, and set Status to Open.

More info: https://central.sonatype.org/publish/requirements/coordinates/

0.0.10


cif.py - updated arrow.py depreciated plural use for replace, should now use shift

2019-08-20T22:45:58 (20065)basepoller._polling_loop INFO: Polling cif_Feed-1566362939368-1566363119009
2019-08-20T22:45:58 (20065)basepoller._poll ERROR: Exception in polling loop for cif_Feed-1566362939368-1566363119009: unknown attribute: "days"
Traceback (most recent call last):
File "/opt/minemeld/engine/core/minemeld/ft/basepoller.py", line 729, in _poll
performed = self._polling_loop()
File "/opt/minemeld/engine/core/minemeld/ft/basepoller.py", line 576, in _polling_loop
iterator = self._build_iterator(now)
File "/opt/minemeld/engine/core/minemeld/ft/cif.py", line 139, in _build_iterator
now.replace(hours=-168).format('YYYY-MM-DDTHH:mm:ss')
File "/opt/minemeld/engine/current/lib/python2.7/site-packages/arrow/arrow.py", line 590, in replace
raise AttributeError('unknown attribute: "{}"'.format(key))
AttributeError: unknown attribute: "days"
https://github.com/crsmithdev/arrow/commit/976b6ea3554185d20e084a1d5b2e3c7294946e63
"replace() with plural property to shift value is deprecated, use shift() instead"
line 139:
now.replace(days=-days).format('YYYY-MM-DDTHH:mm:ss')
change to:
now.shift(days=-days).format('YYYY-MM-DDTHH:mm:ss')

#350 Should solve this issue....

Try this quick workaround in the meantime:
/opt/minemeld/engine/current/bin/pip install arrow==0.14.2


Feat/transpiler simplify rz

Closes #145

@fSosaRey There are conflicts that need to be resolved before we can merge this.


Compressed PDFs do not render in Mac Preview

To reproduce, add the compress parameter:
var doc = new jsPDF({compress: true});
doc.text('Hello world!', 10, 10);
doc.save('a4.pdf');

This file will render in Chrome and Adobe, but not Mac Preview.
This issue also affects images. This fails to render:
doc.addImage(myImage, 'png', 0.5, 0.5, 2.71, 1.0, null, 'SLOW');

Using most recent build of jspdf and have tested with debug.min.js with no relevant error message.

What we could do, would be e.g. a conformity check
e.g. here
https://www.pdf-online.com/osa/validate.aspx
An when I did it, I got:

File	colortype 6 rgba 16 bit png base64.pdf
Compliance	pdf1.3
Result	Document does not conform to PDF/A.
Details
Validating file "colortype 6 rgba 16 bit png base64.pdf" for conformance level pdf1.3
Error in Flate stream: data error.
The document does not conform to the requested standard.
The document doesn't conform to the PDF reference (missing required entries, wrong value types, etc.).
Done.

This error is connected with several png rendering errors.
e.g.
https://github.com/MrRio/jsPDF/issues/1041

compression is a not 100% working feature. I have this on my radar.


Java virtual threads locked up / parking / permanently blocking -- swap synchronized block for reentrant lock

This PR resolves an actively occurring issue with virtual threads that is easily reproducible. If you call borrowObject within the GenericObjectPool at a high rate in a short period of time with virtual threads, all of the threads within the ForkJoinPool for virtual threads will lock up & park, and no virtual threads will resume.
I've already seen there is another Loom related PR that has existed for over a year, and I hope that including this demonstration of a production issue will hope speed up the process for getting this resolved. The demo will print "attempting to acquire", but never "acquired". If you apply my PR, this issue is resolved -- in addition, it passes all existing unit tests.
I'm confident that there are other similar issues within the project, though I would sure imagine that the maintainers would have a better idea of where to look for such problems. Additionally, I'm confident this is not the correct branch to PR to, and if I could have I would've filed an issue instead & left this part to more competent hands, but the sign up process for the JIRA was too complex, and figuring out how to use a mailing list might be more complex for me than debugging this issue was.
package ie.briankenny.main;

import org.apache.commons.pool2.BasePooledObjectFactory;
import org.apache.commons.pool2.PooledObject;
import org.apache.commons.pool2.impl.DefaultPooledObject;
import org.apache.commons.pool2.impl.GenericObjectPool;
import org.apache.commons.pool2.impl.GenericObjectPoolConfig;

import java.util.concurrent.Executor;
import java.util.concurrent.Executors;

public class Main {
    public static void main(String[] args) throws Exception {
        GenericObjectPoolConfig poolConfig = new GenericObjectPoolConfig();

        poolConfig.setMinIdle(4);
        poolConfig.setMaxIdle(4);
        poolConfig.setMaxTotal(8);

        GenericObjectPool<DummyObject> pool = new GenericObjectPool<>(new DummyObjectFactory());

        Executor executor = Executors.newVirtualThreadPerTaskExecutor();

        for (int i = 0; i < 1000; i++) {
            executor.execute(() -> {
                try {
                    System.out.println("attempting to acquire");

                    DummyObject dummyObject = pool.borrowObject();

                    System.out.println("acquired");

                    pool.returnObject(dummyObject);
                } catch (Exception e) {
                    throw new RuntimeException(e);
                }
            });
        }

        while (true) {
            Thread.sleep(100);
        }
    }
}

class DummyObject {
    public DummyObject() throws InterruptedException {
        long sleepTime = (long) (Math.random() * 1000);

        Thread.sleep(sleepTime);
    }
}

class DummyObjectFactory extends BasePooledObjectFactory<DummyObject> {
    @Override
    public DummyObject create() throws Exception {
        return new DummyObject();
    }

    @Override
    public PooledObject<DummyObject> wrap(DummyObject obj) {
        return new DefaultPooledObject<>(obj);
    }
}

Hello @Brian1KB
Thank you for your report. Please add a unit test to this PR.

Hello @Brian1KB
Thank you for your report. Please add a unit test to this PR.

To add a unit test, I'd need to include a newVirtualThreadPerTaskExecutor, however the project is targeted at a much earlier version of Java.

    @Test
    @Timeout(value = 60000, unit = TimeUnit.MILLISECONDS)
    public void testVirtualThreadLoad() throws Exception {
        BasePooledObjectFactory<String> slowObjectFactory = createSlowObjectFactory(500);

        Executor executor = Executors.newVirtualThreadPerTaskExecutor();

        int executions = 1000;

        CountDownLatch countDownLatch = new CountDownLatch(executions);

        try (final GenericObjectPool<String> pool = new GenericObjectPool<>(slowObjectFactory)) {
            for (int i = 0; i < executions; i++) {
                executor.execute(() -> {
                    try {
                        String borrowed = pool.borrowObject();

                        pool.returnObject(borrowed);

                        countDownLatch.countDown();
                    } catch (Exception e) {
                        throw new RuntimeException(e);
                    }
                });
            }
        }

        countDownLatch.await();
    }

Untested, but I'd expect something like this would suffice.

Hi @garydgregory, could you or anyone else please help/guide @Brian1KB about tests?
On a side note, this PR changes the locking mechanism to use Java Lock objects instead synchronized blocks. IMHO, the changes are already being covered by existing unit tests. Would it possible to consider this PR with specific unit tests as the changes are being tested anyway?

I second @sazzad16 's plea for assistance – @garydgregory could this be merged without additional unit tests, as this behavior is already covered by preexisting tests?

Hello all and @psteitz
My view here is twofold:

No unit tests: Without a unit test that fails if the changes to main are not applied, this is just an invitation for a regression, or new bugs. What I don't know is if you can use a multi release source folder with tests or if its only supported for main. That would solve the issue of wanting a test that uses a post Java 8 API.
Inconsistent use of locks. It would be best if the whole library used the same style of locking.


TOC H5 Bug

For some reason, the current TOC generation only renders H2-H4 correctly. H1 (for whatever reason) is not used because of how you set it up, but H5 shows up the same (instead of indenting correctly, it renders all the way on the left.
See issue #43

Solved in 4.1.3! 🚀


Fix dialyzer warning on alert.ex

:clipboard: #636
This fixes one of the dialyzer warnings on alert.ex when enabling the specdiff flag to dialyzer:
|| apps/omg/lib/omg/alert/alarm.ex:27:contract_diff
|| Type specification is not equal to the success typing.
||
|| Function:
|| OMG.Alert.Alarm.set/1
||
|| Type specification:
|| ({atom(), node(), module()}) :: :ok | :duplicate
||
|| Success typing:
|| ({:boot_in_progress, _, _} | {:ethereum_client_connection, _, _}) :: :duplicate | :ok

Coverage increased (+24.0%) to 81.626% when pulling 399be04f73ee5fd3f20b08e2040e837c161dcc5d on achiurizo/fix-specdiff-for-alert into 0abe938bada238c24ad0e16f994de414eac9eb6a on master.


Files not updating in dataset viewer

Dataset viewer issue for 'name of the dataset'
Link:
Some examples:

https://huggingface.co/datasets/abidlabs/crowdsourced-speech4
https://huggingface.co/datasets/abidlabs/test-audio-13

short description of the issue
It seems that the dataset viewer is reading a cached version of the dataset and it is not updating to reflect new files that are added to the dataset. I get this error:

Am I the one who added this dataset? Yes

Yes. The jobs queue is full right now, following an upgrade... Back to normality in the next hours hopefully. I'll look at your datasets to be sure the dataset viewer works as expected on them.

Should have been fixed now.


Add SynTags and check Topics and See Also

Here's a checklist for the SynTags and double checking Topics and See Also.  I've started it blank---some files are done already, I think.


Source?

Since the readme says things like “sorted by popularity” and “not accepting PRs for additional names” it seems like the list of names was not just randomly made up or does not consist of your personal favorites or anything like that. So, what is the source for this data? And shouldn’t it be credited in the README?
The same goes for the other *-names projects, I guess.

https://www.rover.com/blog/dog-names/

I don't remember. Should indeed have written it down.


How to set Site_Id with tracker

this is ho it's done on web...
_paq.push(['setSiteId', '3']);
this is the configuration for shared piwik instance in ios sdk :
PiwikTracker.configureSharedInstance(withSiteID: "5", ...)
how to implement same functionality in plugin ?

Do you want to change the ID after configuring the tracker?
If you don't it is a matter of doing:
Piwik.initTracker("https://your-piwik-domain.tld/piwik.php", 3)

thanks , i opened the ios source and saw it, but tnx again for the quick answer


Adding entity operator stunnel image

Issue: https://github.com/jboss-container-images/jboss-amqstreams-1-openshift-image/issues/15

Mea culpa, I was using outdated branch, rebased and corrected


Add ckpt_name output to checkpoint loader.

Please add ckpt_name output to checkpoint loader then we can use it in file name output, thanks.
Edit: If you go to add this in future please make it to report just file name without extension or any other info, thank you so much.

Seems like I asked for something similar in #150. After reviewing the code, I think that this is actually the wrong place to ask. This repo basically patches the upstream CheckpointLoaderSimple
I learned this by modifying this:
https://github.com/comfyanonymous/ComfyUI/blob/master/nodes.py#L520
class CheckpointLoaderSimple:
    @classmethod
    def INPUT_TYPES(s):
        return {"required": { "ckpt_name": (folder_paths.get_filename_list("checkpoints"), ),
                             }}
    RETURN_TYPES = ("MODEL", "CLIP", "VAE", "CKPT_NAME")
    FUNCTION = "load_checkpoint"

    CATEGORY = "loaders"

    def load_checkpoint(self, ckpt_name, output_vae=True, output_clip=True):
        ckpt_path = folder_paths.get_full_path("checkpoints", ckpt_name)
        out = comfy.sd.load_checkpoint_guess_config(
            ckpt_path,
            output_vae=True,
            output_clip=True,
            embedding_directory=folder_paths.get_folder_paths("embeddings"))
        return out[:3] + [ckpt_name]

This could be fixed on my end, however when I get time my aim is to remove my checkpoint/lora loader nodes and enable the features on the standard nodes via settings.

@pythongosssss I filed an upstream PR for this. Do you have the ability to approve/merge that?

No I dont, I think there should be a more general solution - maybe the ability to "convert" (not actually convert but add) widgets as outputs like you can with inputs

I like generalized approaches! Still need to balance short term/long term goals. For now, I'm just trying to get the checkpoint name out of the loader node so I can pass it to something else.


Compare for duplicates before logging object exists errors

When restoring resources that raise an already exists error, check their
equality before logging a message on the restore. If they're the same
except for some metadata, don't generate a message.
The restore process was modified so that if an object had an empty
namespace string, no namespace key is created on the object. This was to
avoid manipulating the copy of the current cluster's object by adding
the target namespace.
There are some cases right now that are known to not be equal via this
method:

The default ServiceAccount in a namespace will not match, primarily
because of differing default tokens. These will be handled in their own
patch
IP addresses for Services are recorded in the backup object, but are
either not present on the cluster object, or different. An issue for
this already exists at #354
Endpoints have differing values for renewTime. This may be
insubstantial, but isn't currently handled by the resetMetadataAndStatus
function.
PersistentVolume objects in the backup have a claimRef section,
while those in cluster do not.

Signed-off-by: Nolan Brubaker<EMAIL_ADDRESS>

@ncdc @skriss  Latest comments addressed, PTAL when you can.

LGTM!


Substracting/rejecting CHACHA20 from cipher suite list is not supported

Current behaviour:
root@debian:~# openssl version
OpenSSL 1.1.1c  28 May 2019
root@debian:~# openssl ciphers -V 'CHACHA20'
          0x13,0x02 - TLS_AES_256_GCM_SHA384  TLSv1.3 Kx=any      Au=any  Enc=AESGCM(256) Mac=AEAD
          0x13,0x03 - TLS_CHACHA20_POLY1305_SHA256 TLSv1.3 Kx=any      Au=any  Enc=CHACHA20/POLY1305(256) Mac=AEAD
          0x13,0x01 - TLS_AES_128_GCM_SHA256  TLSv1.3 Kx=any      Au=any  Enc=AESGCM(128) Mac=AEAD
          0xCC,0xA9 - ECDHE-ECDSA-CHACHA20-POLY1305 TLSv1.2 Kx=ECDH     Au=ECDSA Enc=CHACHA20/POLY1305(256) Mac=AEAD
          0xCC,0xA8 - ECDHE-RSA-CHACHA20-POLY1305 TLSv1.2 Kx=ECDH     Au=RSA  Enc=CHACHA20/POLY1305(256) Mac=AEAD
          0xCC,0xAA - DHE-RSA-CHACHA20-POLY1305 TLSv1.2 Kx=DH       Au=RSA  Enc=CHACHA20/POLY1305(256) Mac=AEAD
          0xCC,0xAE - RSA-PSK-CHACHA20-POLY1305 TLSv1.2 Kx=RSAPSK   Au=RSA  Enc=CHACHA20/POLY1305(256) Mac=AEAD
          0xCC,0xAD - DHE-PSK-CHACHA20-POLY1305 TLSv1.2 Kx=DHEPSK   Au=PSK  Enc=CHACHA20/POLY1305(256) Mac=AEAD
          0xCC,0xAC - ECDHE-PSK-CHACHA20-POLY1305 TLSv1.2 Kx=ECDHEPSK Au=PSK  Enc=CHACHA20/POLY1305(256) Mac=AEAD
          0xCC,0xAB - PSK-CHACHA20-POLY1305   TLSv1.2 Kx=PSK      Au=PSK  Enc=CHACHA20/POLY1305(256) Mac=AEAD
root@debian:~# openssl ciphers -V '!CHACHA20'
Error in cipher list
140593009325184:error:1410D0B9:SSL routines:SSL_CTX_set_cipher_list:no cipher match:../ssl/ssl_lib.c:2549:
root@debian:~# openssl ciphers -V 'ECDH+AESGCM'
          0x13,0x02 - TLS_AES_256_GCM_SHA384  TLSv1.3 Kx=any      Au=any  Enc=AESGCM(256) Mac=AEAD
          0x13,0x03 - TLS_CHACHA20_POLY1305_SHA256 TLSv1.3 Kx=any      Au=any  Enc=CHACHA20/POLY1305(256) Mac=AEAD
          0x13,0x01 - TLS_AES_128_GCM_SHA256  TLSv1.3 Kx=any      Au=any  Enc=AESGCM(128) Mac=AEAD
          0xC0,0x2C - ECDHE-ECDSA-AES256-GCM-SHA384 TLSv1.2 Kx=ECDH     Au=ECDSA Enc=AESGCM(256) Mac=AEAD
          0xC0,0x30 - ECDHE-RSA-AES256-GCM-SHA384 TLSv1.2 Kx=ECDH     Au=RSA  Enc=AESGCM(256) Mac=AEAD
          0xC0,0x2B - ECDHE-ECDSA-AES128-GCM-SHA256 TLSv1.2 Kx=ECDH     Au=ECDSA Enc=AESGCM(128) Mac=AEAD
          0xC0,0x2F - ECDHE-RSA-AES128-GCM-SHA256 TLSv1.2 Kx=ECDH     Au=RSA  Enc=AESGCM(128) Mac=AEAD
root@debian:~# openssl ciphers -V 'ECDH+AESGCM:!CHACHA20'
          0x13,0x02 - TLS_AES_256_GCM_SHA384  TLSv1.3 Kx=any      Au=any  Enc=AESGCM(256) Mac=AEAD
          0x13,0x03 - TLS_CHACHA20_POLY1305_SHA256 TLSv1.3 Kx=any      Au=any  Enc=CHACHA20/POLY1305(256) Mac=AEAD
          0x13,0x01 - TLS_AES_128_GCM_SHA256  TLSv1.3 Kx=any      Au=any  Enc=AESGCM(128) Mac=AEAD
          0xC0,0x2C - ECDHE-ECDSA-AES256-GCM-SHA384 TLSv1.2 Kx=ECDH     Au=ECDSA Enc=AESGCM(256) Mac=AEAD
          0xC0,0x30 - ECDHE-RSA-AES256-GCM-SHA384 TLSv1.2 Kx=ECDH     Au=RSA  Enc=AESGCM(256) Mac=AEAD
          0xC0,0x2B - ECDHE-ECDSA-AES128-GCM-SHA256 TLSv1.2 Kx=ECDH     Au=ECDSA Enc=AESGCM(128) Mac=AEAD
          0xC0,0x2F - ECDHE-RSA-AES128-GCM-SHA256 TLSv1.2 Kx=ECDH     Au=RSA  Enc=AESGCM(128) Mac=AEAD

Expected behaviour:
The last command is expected to produce a list with cipher suites without the 0x13,0x03 - TLS_CHACHA20_POLY1305_SHA256 TLSv1.3 line.
Additional issue observations:

As can be seen in the first two commands, the CHACHA20 keyword works only to include the ChaCha20, but exclude with ! or - does not work.
-ciphersuites switch can be used to set TLS 1.3 cipher suites, but this option can not be set from many softwares like nginx which has only ssl_ciphers option, see http://nginx.org/en/docs/http/ngx_http_ssl_module.html#ssl_ciphers . Exclude from the standard cipher list needs to be supported for every cipher list keyword.

This is not a bug.  The TLS 1.3 cipher suites are VERY VERY different from earlier versions of the protocol, and OpenSSL made a conscious decision to keep them separate.  Sorry, but nginx and others will have to support the new keyword/setting.

As per @richsalz's comment this is expected behaviour. You must configure the TLSv1.3 ciphersuites separately to the TLSv1.2 (and below) ones. There was much debate about this issue, and the various alternatives to it, and this route was decided as the least bad option.
Closing this issue.

jfyi future readers: openssl ciphers -ciphersuites now accepts :-separated list of TLSv1.3 ciphers fullnames only and doesn't allow any kind of magic like + or ! or anything like that
https://wiki.openssl.org/index.php/TLS1.3#Ciphersuites


View Application Directory Models

I want to download models from the network and preview them after saving them in the application's directory. Is this approach feasible? I noticed that in your example, you passed a static file path; can it instead reference files within the application's directory?

this package support loading models from URL, just pass the URL instead of static path.

but my models in ftp server,there have no nginx or any other proxy site, so i must download it and save to local directory ,can you help me

在这种情况下，您有两种选择，首先下载模型并从中创建文件，然后采用其临时路径。其次下载模型并将其保存到本地存储，然后获取保存模型的路径并将其传递给包，您的用例需要的不仅仅是模型查看器库，例如您可以使用 Dio 包来下载您的模型。

my code it's below ,but it's not working
Directory appDocDir = await getApplicationDocumentsDirectory();
String  filePath = '${appDocDir.path}/local.glb';
Flutter3DViewer(
        controller: controller.three3Dcontroller,
        src: filePath,
         )

As your issue is not about the package and its about your use case maybe it needs more research, I have no more Idea right now, if you found way to solve share it please share, thanks.


Add fixture removal

One of the best additions to the vanilla race creator was the ability to remove in-world fixtures, which made making tracks in certain areas (like those in the city) much easier. Adding fixture removal to the script would allow the use of tons more circuits that rely on this feature.
Some documentation on the UGC data, in case this helps:
-mission.dhprop contains the relevant data
-bits determines what features are used ie 1 is a single removal, whereas 17 is an area removal
-mn is the model IDs
-mnSwap is, as far as I know, normally unused
-no is the number of removals
-pos is the location of the fixture/radius
-wprad is the radius used for the area removals
I can also provide circuits that I have made (where I thus know what fixtures would be removed) if that would be of any help.

thx for your info.
I have previously explored the decryption of this part based on jora creator tool, but I have not updated GTAO since 2023, and I have not found the relevant job json, so I deleted that function before .
I will add this function to the dev branch again tomorrow, but it has not been tested enough yet.

weird, it works for me 🤔
Also note that this loop will only retrieve entities in a specific object pos if the player is nearby, and will return 0 if the entity has been previously deleted.
https://github.com/taoletsgo/custom_races/blob/56bf3f12b7a6366624eb73ab6c6f49fd3e5d5854/main script/custom_races/client/main_client.lua#L2263-L2293
You can comment out these codes and add test commands like I did:
RegisterCommand('removetest', function()
	if #track.dhprop > 0 and (status == "racing" or status == "spectating") then
		local playerCoords = GetEntityCoords(PlayerPedId())
		for i = 1, #track.dhprop do
			local objectCoords = vector3(track.dhprop[i]["x"], track.dhprop[i]["y"], track.dhprop[i]["z"])
			if #(playerCoords - objectCoords) <= 300.0 then
				local object = GetClosestObjectOfType(track.dhprop[i]["x"], track.dhprop[i]["y"], track.dhprop[i]["z"], track.dhprop[i]["radius"], track.dhprop[i]["hash"], false)
				if object > 0 then
					print(track.dhprop[i]["hash"], object)
					SetEntityAsMissionEntity(object, true, true)
					DeleteEntity(object)
				end
			end
		end
	end
end)

By the way, wprad refers to the radius of the object in GTAO, not the area radius.

The default value is 3.0, which basically only allows you to select a single object.
if you want to remove all same hash entities in race, you can change the objectCoords in GetClosestObjectOfType to playerCoords and increase the radius to 100, which should be able to remove entities in any area of the map.
But that's not the way json works, so this script can't remove all road/traffic/sign props like your test script does


The specified method '...' cannot be translated into a LINQ to Entities store expression.

I have an inline table-valued function, e.g.:
create function Thing1(@thing2 int) returns table as return
	select 1 asdf from some_view with (noexpand) where thing2 = @thing2

I've exposed it like so:
[DbFunctionDetails(ResultColumnName="asdf")]
[DbFunction("myRepo", "Thing1")]
public IQueryable<int> Thing1(int thing2) =>
    ((IObjectContextAdapter)this).ObjectContext.CreateQuery<int>("Thing1(@thing2)", new ObjectParameter("thing2", thing2));

I can call it by itself no problem, e.g.:
myRepo.Thing2(3).Dump(); // works fine
..but when I incorporate it into a query, I get "the specified method cannot be translated into a LINQ to Entities store expression" error. e.g.:
OtherThing.Where(c => Thing1(c.Id).Any()).Take(1).Dump(); // boom!
am I doing anything wrong or is this just not supported?

I think .Any()is the problem here. AFAIR .Any() in EF forces query to be sent to the database and executed so cannot be translated in the query.

When I use .Any() with other entities it translates into a WHERE EXISTS (... which is what I want here.
Ideally this would generate:
select * from OtherThing where exists (select * from Thing1(Id))

In general Any() will work as you describe. I think your original case is a bit different though because in that case Any() does not apply to the table the query is rooted at. You may try asking in the EF6 repo if your scenario is supported. CodeFirstFunctions does not translate queries - it only fills missing metadata to enable what EF already could do if the metadata was loaded from edmx.


Add strict mode for YAML parser to fail on duplicate attributes

Per YAML specification duplicate attributes in a mapping is invalid. Our parser doesn't error on that and instead reads both, which means YAML.parse picks the last one:
require "yaml"
YAML.parse <<-YAML # => {"foo" => "baz"}
  foo: bar
  foo: baz
  YAML

That's certainly an appropriate behaviour for some use cases where you don't want the entire thing to explode. But it can very be unexpected behaviour and can lead to weird bugs.
Being more strict would probably be helpful in many situations because it alerts that something needs fixing.
So I'd like to have at least an option to use a strict mode which errors on duplicate attributes.
I'm not sure if it should be configurable (in which should be the default) or strict be the only way.
The JSON specification doesn't say anything about duplicates, so it's safe to assume that they're technically valid. It still doesn't make much sense, especially when a mapping is deserialized into a data structure that only supports unique keys.
/cf https://github.com/crystal-lang/shards/pull/387

I think I tried to implement it before. It worked. Then everything was failing because when you use << you copy some keys from another node and then override some key value pairs.
What does Ruby do? Any YAML library out there that errors on duplicate keys?

In Ruby the last value is returned, and there's no way to error on duplicates.

Yeah, it also won't work on the low parser level because the interpretation of value equality depends on the schema. For example: are foo and "foo" identical?
But at the serialization stage, this is definitely doable. serde for example errors on duplicate keys. Golang has UnmarshalStrict. There are several implementations that error by default (js-yaml, snakeyaml, ruamel.yaml).

Golang yaml v2 package behaves similar to current crystal implementation (i.e it will silently use the last value read), but v3 triggers error citing the key already defined at line number.  I will vote that we should stick to specification and should also trigger error for duplicates.


Cleaning up ecf templates

Removing all the tabs from ecf templates and replacing them with spaces to make sure the templates look nicely formatted for everyone regardless of the text file viewer. Also made some minor tweaks to ecf defaults and added a bit of documentation to the FAQ page to answer some frequently asked issues on Slack.

Generally looks okay, but in the various S2 ECFs, some have a skip_resample parameter and some call that skip_resample_spec. I think skip_resample is the correct version of the parameter? @taylorbell57 could you double check this?

Great catch, I think that should have fixed it


Crash when running in wrong directory

Running cider somecommand_other_than_help in a directory which does not have a pubspec.yaml results in a crash
$ cider version
Stack Overflow
null

I had a bug in my github action (forgot to clone) and an actual error message would have been more helpful.

Fixed in 0.1.6


Improve responsiveness, v2

Here's another stab. I spoke with ashenden and we decided to display the total number of tasks in the tooltip at smaller viewport widths.

Reviewer: @kennyt


Add className attribute to components

At the moment it is impossible to add a custom class to components. We could add a className attribute that would add the provided classes to the top-most dom element of the component.
WDYT @jbpenrath?

What is the use case ?
At first, it appears risky as it allows consumer to override design system style ? Do we really want that ?

Pro: as the native inputs allows to define className maybe we should too?
Anyway, it appears to be a larger discussion, let's talk about it during a meeting.

Following our discussion this morning, let's go to add the support of className property into our components.


Use "hjkl" keys as arrow keys if you are not editing text fails to detect text area

https://github.com/tekezo/Karabiner/commit/32b442666a82a7e73900eb13969451920110cd18


Fix escape pipe char

Allows the usage of the pipe char inside a cell.
For example, having a string with a  |  in it should result in:
'string with \\|'

Example

string with |

Escaping in markdown is rather complex (they don’t work in inline code, autolinks or a couple of other places), hence this PR is an incomplete solution.
Could you solve your issue by building a syntax tree and serializing that with remark-stringify? As that would have proper escaping support.
Here’s some pseudocode that should do what you want (using unist-builder):
var unified = require('unified')
var remarkStringify = require('remark-stringify')
var u = require('unist-builder')

var tree = u('table', {align: ['left', 'center']}, [
  u('tableRow', [
    u('tableCell', [u('text', 'fo|o')]),
    u('tableCell', [u('text', 'bar')])
  ]),
  u('tableRow', [
    u('tableCell', [u('text', 'baz')]),
    u('tableCell', [u('text', 'qux')])
  ])
])

var doc = unified()
  .use(remarkStringify)
  .stringify(tree)

console.log(doc)

Yields:
| fo\|o | bar |
| :-- | :-: |
| baz | qux |

Hey @wooorm, thanks for your response.
I'm not looking for a complete escape of all markdown syntax, but just only for the pipe char.
This because the | is the only symbol that will create a broken markdown table, by shifting cells.
All other markdown passed into the cells shouldn't be escaped, as this would not disturb the table.
I my opinion the escape of the char | should be handled in this package, but as you said the escaping a | which is inside other markdown elements is rather complex.
In my case I'm always displaying a simple string, so I can easily handle it on my side, Thanks for your response, closing this PR because this solution might break other passed down markdown.


code-fold doesn't work with export

Given a cell that defines a class and has the following directives:
#|code-fold: true
#|export

I'd expect to see the 'code >' widget with the option to show the code, and then the showdoc output if the notebook doesn't have skip_showdoc: true set. Instead, the code is completely hidden and only the doc is shown (or absolutely nothing when skip_showdoc is true).
It's not a big deal since I can use #|exports which shows the code all the time (just a bit messy) or showdoc which links to the source (just an extra click / page change) to get close to the desired behaviour, but it does seem like the current behaviour would be unexpected given the expectations for the code-fold directive.

Have you tried this combination?
#|code-fold: true
#|exports

Trying that locally with nbdev @ master and quarto 1.2.215 (pre-release) gives me this output, which seems like what you're after:

That works! I'd tried lots of other combos but missed that one. Thanks :) Marking as closed.


example of splade

why q_max_len=128 in https://github.com/texttron/tevatron/tree/main/examples/splade/readme.md? Is it just a clerical error or special considerations?
Thank you.

Hi @caiyinqiong,
SPLADE has query expansion, so we set the q_max_len to 128


ElegantRL_Solver Website Development

This issue pertains to website development. Please don't hesitate to contact us if you have any feedback or suggestions. We look forward to hearing from you! :smiley: :smiley:

@XiaoYangLiu-FinRL Hi Xiaoyang, could you kindly add ElegantRL_Solver to the readthedocs project when you have some free time? So that we can render the website. 😃


Typescript Enhancement

Typescript enhancement for readibility

This will good if anyone helps to review.

This will good if anyone helps to review.


LM Optimizer

Initial implementation of LMA. Reference: https://github.com/ceres-solver/ceres-solver/blob/master/include/ceres/tiny_solver.h
Tested with m3500_benchmark and small_problem.

Can you bump the minor version, please?


error compiling oiio 1.7.x on centos 6

Problem
I am trying to compile oiio version 1.7.19 on centos 6, gcc 4.4.7, but I am getting an error:
[ 24%] Building CXX object src/libOpenImageIO/CMakeFiles/OpenImageIO.dir/__/openexr.imageio/exrinput.cpp.o
cd /local/software/download/openimageIO/1.7.19/src/oiio-Release-1.7.19/build/src/libOpenImageIO && /usr/bin/c++   -DEMBED_PLUGINS=1 -DOpenImageIO_EXPORTS -DUSE_BOOST_ASIO=1 -DUSE_FREETYPE -DUSE_GIF -DUSE_JPEG_TURBO=1 -DUSE_OCIO=1 -DUSE_OPENEXR_VERSION2=1 -DUSE_OPENJPEG -DUSE_WEBP=1 -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -O3 -DNDEBUG -fPIC -I/local/software/download/openimageIO/1.7.19/src/oiio-Release-1.7.19/build/include/OpenImageIO -I/local/software/download/openimageIO/1.7.19/src/oiio-Release-1.7.19/src/include -I/remote/install/openEXR/2.2.0_static/centos-6_x86-64/include -I/remote/install/openEXR/2.2.0_static/centos-6_x86-64/include/OpenEXR -isystem /remote/install/boost/1.54.0_shared/centos-6_x86-64/include -I/remote/install/opencolorIO/1.0.9/centos-6_x86-64/include -I/local/software/download/openimageIO/1.7.19/src/oiio-Release-1.7.19/build/src/libOpenImageIO -I/usr/include/openjpeg -I/usr/include/freetype2 -I/usr/include/freetype2/freetype    -Wall -Werror -fno-math-errno -UUSE_FIELD3D -o CMakeFiles/OpenImageIO.dir/__/openexr.imageio/exrinput.cpp.o -c /local/software/download/openimageIO/1.7.19/src/oiio-Release-1.7.19/src/openexr.imageio/exrinput.cpp
In file included from /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/x86_64-redhat-linux/bits/c++allocator.h:34,
                 from /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/allocator.h:48,
                 from /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/string:43,
                 from /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/locale_classes.h:42,
                 from /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/ios_base.h:43,
                 from /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/ios:43,
                 from /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/istream:40,
                 from /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/fstream:40,
                 from /local/software/download/openimageIO/1.7.19/src/oiio-Release-1.7.19/src/openexr.imageio/exrinput.cpp:35:
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/ext/new_allocator.h: In instantiation of ‘__gnu_cxx::new_allocator<const std::basic_string<char, std::char_traits<char>, std::allocator<char> > >’:
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/allocator.h:87:   instantiated from ‘std::allocator<const std::basic_string<char, std::char_traits<char>, std::allocator<char> > >’
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_vector.h:71:   instantiated from ‘std::_Vector_base<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<const std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >’
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_vector.h:171:   instantiated from ‘std::vector<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<const std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >’
/local/software/download/openimageIO/1.7.19/src/oiio-Release-1.7.19/src/openexr.imageio/exrinput.cpp:1206:   instantiated from here
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/ext/new_allocator.h:79: error: ‘const _Tp* __gnu_cxx::new_allocator<_Tp>::address(const _Tp&) const [with _Tp = const std::basic_string<char, std::char_traits<char>, std::allocator<char> >]’ cannot be overloaded
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/ext/new_allocator.h:76: error: with ‘_Tp* __gnu_cxx::new_allocator<_Tp>::address(_Tp&) const [with _Tp = const std::basic_string<char, std::char_traits<char>, std::allocator<char> >]’
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/ext/new_allocator.h: In instantiation of ‘__gnu_cxx::new_allocator<const OpenImageIO::v1_7::TypeDesc>’:
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/allocator.h:87:   instantiated from ‘std::allocator<const OpenImageIO::v1_7::TypeDesc>’
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_vector.h:71:   instantiated from ‘std::_Vector_base<const OpenImageIO::v1_7::TypeDesc, std::allocator<const OpenImageIO::v1_7::TypeDesc> >’
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_vector.h:171:   instantiated from ‘std::vector<const OpenImageIO::v1_7::TypeDesc, std::allocator<const OpenImageIO::v1_7::TypeDesc> >’
/local/software/download/openimageIO/1.7.19/src/oiio-Release-1.7.19/src/openexr.imageio/exrinput.cpp:1206:   instantiated from here
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/ext/new_allocator.h:79: error: ‘const _Tp* __gnu_cxx::new_allocator<_Tp>::address(const _Tp&) const [with _Tp = const OpenImageIO::v1_7::TypeDesc]’ cannot be overloaded
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/ext/new_allocator.h:76: error: with ‘_Tp* __gnu_cxx::new_allocator<_Tp>::address(_Tp&) const [with _Tp = const OpenImageIO::v1_7::TypeDesc]’
/local/software/download/openimageIO/1.7.19/src/oiio-Release-1.7.19/src/openexr.imageio/exrinput.cpp: In member function ‘virtual bool OpenImageIO::v1_7::OpenEXRInput::read_native_deep_scanlines(int, int, int, int, int, OpenImageIO::v1_7::DeepData&)’:
/local/software/download/openimageIO/1.7.19/src/oiio-Release-1.7.19/src/openexr.imageio/exrinput.cpp:1206: error:   initializing argument 3 of ‘void OpenImageIO::v1_7::DeepData::init(int, int, OpenImageIO::v1_7::array_view<const OpenImageIO::v1_7::TypeDesc, 1ul>, OpenImageIO::v1_7::array_view<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, 1ul>)’
In file included from /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/x86_64-redhat-linux/bits/c++allocator.h:34,
                 from /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/allocator.h:48,
                 from /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/string:43,
                 from /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/locale_classes.h:42,
                 from /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/ios_base.h:43,
                 from /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/ios:43,
                 from /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/istream:40,
                 from /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/fstream:40,
                 from /local/software/download/openimageIO/1.7.19/src/oiio-Release-1.7.19/src/openexr.imageio/exrinput.cpp:35:
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/ext/new_allocator.h: At global scope:
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/ext/new_allocator.h: In instantiation of ‘__gnu_cxx::new_allocator<const unsigned int>’:
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/allocator.h:87:   instantiated from ‘std::allocator<const unsigned int>’
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_vector.h:71:   instantiated from ‘std::_Vector_base<const unsigned int, std::allocator<const unsigned int> >’
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_vector.h:171:   instantiated from ‘std::vector<const unsigned int, std::allocator<const unsigned int> >’
/local/software/download/openimageIO/1.7.19/src/oiio-Release-1.7.19/src/openexr.imageio/exrinput.cpp:1233:   instantiated from here
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/ext/new_allocator.h:79: error: ‘const _Tp* __gnu_cxx::new_allocator<_Tp>::address(const _Tp&) const [with _Tp = const unsigned int]’ cannot be overloaded
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/ext/new_allocator.h:76: error: with ‘_Tp* __gnu_cxx::new_allocator<_Tp>::address(_Tp&) const [with _Tp = const unsigned int]’
make[2]: *** [src/libOpenImageIO/CMakeFiles/OpenImageIO.dir/__/openexr.imageio/exrinput.cpp.o] Error 1
make[2]: Leaving directory `/local/software/download/openimageIO/1.7.19/src/oiio-Release-1.7.19/build'
make[1]: *** [src/libOpenImageIO/CMakeFiles/OpenImageIO.dir/all] Error 2
make[1]: Leaving directory `/local/software/download/openimageIO/1.7.19/src/oiio-Release-1.7.19/build'
make: *** [all] Error 2

I am using the following variables to configure it:
cmake -fPIC \
      -DVERBOSE=1 \
      -DOIIO_BUILD_CPP11=0 \
      -DOIIO_BUILD_CPP14=0 \
      -DUSE_CPP11=0 \
      -DBOOST_ROOT=${BOOST_ROOT} \
      -DBOOST_INCLUDEDIR=${BOOST_INCLUDEDIR} \
      -DOPENEXR_HOME=${OPENEXR_HOME} \
      -DILMBASE_HOME=${ILMBASE_HOME} \
      -DUSE_PYTHON=1 \
      -DPYTHON_VERSION=${PYTHON_VERSION} \
      -DPYTHON_LIBRARY=${PYTHON_LIBRARY} \
      -DPYTHON_INCLUDE_DIR=${PYTHON_INCLUDE_DIR} \
      -DUSE_FFMPEG=1 \
      -DUSE_OPENJPEG=1 \
      -DUSE_GIF=1 \
      -DUSE_OCIO=1 \
      -DUSE_OPENCV=0 \
      -DOCIO_PATH=${OPENCOLORIO_PATH} \
      -DOCIO_INCLUDES=${OCIO_INCLUDES} \
      -DUSE_NUKE=1 \
      -DNuke_ROOT=${NUKE_HOME} \
      -DNUKE_VERSION=${NUKE_VERSION} \
      -DUSE_LIBRAW=1 \
      -DLIBRAW_PATH=${LIBRAW_PATH} \
      -DCMAKE_INSTALL_PREFIX:PATH=${INSTALL_DIR} \
      ..

Versions

OIIO 1.7.19
OS: centos 6.8
C++ compiler: 4.4.7 20120313
python: 2.7.11
boost: 1.54.0 shared libraries
cmake: 3.3.2
openexr: 2.2.0
OCIO: 1.0.9
LibRaw: 0.18.12

If I remember correctly Larry mentioned you'd need a C++ standard flag which I don't see in your output... Perhaps adding "-std=c++03" would be enough?

@hobbes1069: Adding -std=c++03 will cause other problems:
  cc1plus: error: unrecognized command line option "-std=c++03"

  gmake[1]: *** [CMakeFiles/cmTC_996ef.dir/testCXXCompiler.cxx.o] Error 1

I don't know the answer. Those error messages don't look familiar to me and I don't have any hypothesis on what's going wrong.
Is there any way for you to use a newer compiler? Like gcc 4.8? (Even in C++03 mode.)
I'm worried about gcc 4.4. The VFX Platform recommendations (http://www.vfxplatform.com/) have dictated gcc 4.8.2 as far back as 2015, so I think it's fair to say that OIIO 1.7 (first released in 2016) has had minimal use with gcc 4.4 and may well rely on things that weren't supported or were buggy in versions prior to 4.8.

All right. If I build against a new gcc version it works.
Seems to be a compiler issue.


 When images are being downloaded, I want to be able to prioritise the on-screen images and download those first, then the off-screen images.
Therefore I'd like to request some download priority system be implemented which allows me to accomplish such a goal. Apologies if this already exists and I've missed it in your docs.
Cheers.

It would not be that hard to add such a prioritization system, we could add an overload to all ImageService.LoadXxx methods which would allow an enum:
LoadingPriority
{
   Lowest = -1
   Low = -2,
   Normal = 0,
   High = 1,
   Highest = 2
}

Defaut value would be Normal
@daniel-luberda @joeforshaw What do you think about it?

Sounds perfect.

Would it be possible to pass the priority as an int instead of an enum? That way you would have a very fine grained approach to prioritising an image.

Yes, we should definitely implement it. I already mentioned about it here: #143 - it would be also very useful in that case.
+1 for WithPriority() fluent method and LoadingPriority enum

Perfect.

There is now an Alpha nuget that includes it:
https://www.nuget.org/packages/Xamarin.FFImageLoading.Forms/2.1.0-alpha1
Please note that this is NOT production ready but it allows to test the functionality.
Could you give us your feedback on it?


ZCL_ABAPGIT_OBJECT has attribute MV_TEXT but constructor has parameter IV_TEXT

      raise exception type zcx_abapgit_object
        exporting
          iv_text = lv_exception_text.

This works fine if you don't mess with the ZCX_ABAPGIT_OBJECT class. But I'm having a hard time installing abapGit in an older version and it regenerated the constructor (which cannot be manually adjusted) and now I'm stuck with an syntax error saying IV_TEXT is not a parameter of ZCX_ABAPGIT_OBJECT.

Hi Nuno,
Class ZCX_ABAPGIT_OBJECT is part of https://github.com/larshp/abapGit-Plugins, which provides extra serialization functionallity. The plugins are not required to run default abapGit functionality.
The "Get abapGit" link installs both abapGit and abapGit-Plugins. Just install abapGit from https://github.com/larshp/abapGit.git, or alternatively just copy http://larshp.github.io/abapGit/build/zabapgit.txt into your system, and you should be good to go with the default functionality :smile:

but I guess we should change the ZCX_ABAPGIT_OBJECT exception so it uses the default parameter name instead

Yes, I'd do that. You know how picky SAP Workbench is with exception
classes. It doesn't even allow you to edit the CONSTRUCTOR. We might as
well play by its rules :)
On Wed, Oct 26, 2016 at 7:17 AM, Lars Hvam<EMAIL_ADDRESS>wrote:

but I guess we should change the ZCX_ABAPGIT_OBJECT exception so it uses
the default parameter name instead
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/larshp/abapGit/issues/397#issuecomment-256259076, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAgeUcTIZP_Lxvl2ZzN2Je0b7dqugonoks5q3vB6gaJpZM4KYlN4
.

I think with ABAP in Eclipse, it is possible to change the constructor. But anyhow, lets just stick to the standard scenario in this casel

Don't make me envy. I can't use Eclipse in my current client. Yet!
But yes, I'd stick to the standard scenario given that this already showed that it can cause problems. Thanks!

I think with ABAP in Eclipse, it is possible to change the constructor. But anyhow, lets just stick to the standard scenario in this case

You can change, but I extremely not recommend to. It can cause some bugs.

I agree.

fixed in https://github.com/larshp/abapGit-Plugins/commit/1064be90d4842b7641fa3ff89a44ae1a7226c5d2 try again

closing, see above


Created get_screenshot.py

Takes a screenshot.

Q
A

Documentation
yes/no

Bugfix
no

BC Break
yes/no

New Feature
yes

RFC
yes/no

QA
no

Description
Takes a screenshot of the current running machine's monitor and saves it with a global accessible variable: scrn_path.
And returns its path.

Done


List of ICOs that have used OpenZeppelin?

Can you provide a list of successful ICOs that have used OpenZeppelin in full or at least in part?

Hi @appjitsu! @demibrener might have such a list handy.

There's no such thing as a formal list, but projects I know that have used OpenZeppelin - in full or in part - include Aragon, Storj, Civic, Tierion and Augur (migrated their token to OpenZeppelin recently).
I'm sure there are many more projects using it that I forgot or I'm not aware of. It would be great to have some sort of tool that looks at Etherscan and can identify OpenZeppelin contracts deployed.

Adex (https://GitHub.com/adexblockchain ) is using openzeppelin both for it's token sale (conducted successfully in June) and for its product's smart contracts (released on github)


GHCi doesn't work: unknown symbol `__gmpn_rshift'

Using the same build as reported in #240, I'm getting the following error when trying to start ghci:
$ inplace/bin/ghc-stage2 --interactive
GHCi, version 8.1.20160508: http://www.haskell.org/ghc/  :? for help
ghc-stage2: /home/thomas/ghc-hadrian/_build/stage1/libraries/integer-gmp/HSinteger-gmp-<IP_ADDRESS>.o: unknown symbol `__gmpn_rshift'
ghc-stage2: unable to load package `integer-gmp-<IP_ADDRESS>'

(as reported in #240, my build didn't finish, but ghc-stage2 exists, so I think ghci should work regardless)
The __gmpn_rshift issue has come up before:

https://mail.haskell.org/pipermail/ghc-devs/2014-November/007388.html
https://mail.haskell.org/pipermail/ghc-devs/2014-December/007528.html
https://ghc.haskell.org/trac/ghc/ticket/9856

Yes, this is also reproducible on my machine.
I don't think we could ever run ghci. My understanding was that it is tied very tightly to the dynamic way which is not yet implemented (#4). However, maybe I'm wrong and we should be able to run ghci when building simple vanilla GHC?

I did a build using the old build system, using a mk/build.mk file which should closely resemble --flavour=quick:
include mk/flavours/quickest.mk
GhcStage1HcOpts    = -O0
GhcLibWays = v
DYNAMIC_GHC_PROGRAMS = NO

ghci works with this build. GHC's .travis.yml also sets DYNAMIC_GHC_PROGRAMS = NO, and it passes all ghci tests.

@thomie Thanks, good to know this does not depend on #4.

Yes, GHCi definitely is supported, and we only switched to dynamic linking in 7.8. Before that we used GHC's own home-grown linker, and in fact, every time you use Windows, you use the built in static linker.

So, I found the cause: Hadrian incorrectly builds HSinteger-gmp-<IP_ADDRESS>.o library. When I rebuild GHC using the library built by the Make build system, GHCi works fine.


Fix split-return-assignments bugs

For more details, see this comment: https://github.com/Shopify/javascript/commit/bbf5f9c236ceec5c527bbfa708a35c88d7b85914#commitcomment-17838001
The transform should ignore these functions:
function foo() {
  bar(); // matchLast isn't checking for return statements properly, so it tries to process this.
};

function foo() {
  return "bar"; // Not sure why `argument: j.AssignmentExpression` is allowing this to match, but it does :(
};

Will get it this morning . 👍


Update dashboard toggle button styles

-Updated line height, hover styles & selected styles for dashboard toggle buttons
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the met-public license (Apache 2.0).

Codecov Report

Merging #1851 (35e8ffa) into main (f65a764) will decrease coverage by 6.98%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #1851      +/-   ##
==========================================
- Coverage   70.74%   63.77%   -6.98%
==========================================
  Files         410      263     -147
  Lines       12463     6697    -5766
  Branches      936      936
==========================================
- Hits         8817     4271    -4546
+ Misses       3486     2266    -1220
  Partials      160      160

Flag
Coverage Δ

metapi
?

metweb
63.77% <100.00%> (+<0.01%)
:arrow_up:

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

Impacted Files
Coverage Δ

met-web/src/components/common/index.tsx
89.04% <100.00%> (+0.30%)
:arrow_up:

...ublicDashboard/SubmissionTrend/SubmissionTrend.tsx
75.00% <100.00%> (-0.35%)
:arrow_down:

...src/components/publicDashboard/SurveyBar/index.tsx
72.00% <100.00%> (ø)

... and 147 files with indirect coverage changes


FEAT: Add sensors for GPM, PSI, and TEMP

Is your feature request related to a problem? Please describe:

The moen app tracks gpm, psi, and temp and it would be super useful for automation to have that info available as conditions for triggering valves and such.
Describe the solution you'd like:

Implement a sensor
Describe alternatives you've considered:

There aren't alternatives, unless I resort to implementing myself.
Additional context:

So I have a property on a well. Between the droughts in Texas, sprinklers for grass which controls erosion (major problem), and the filter required to keep my well water from gunking up the system(s), I've resorted to automating the entire water system at my home. Tank level monitors, flow monitors, flush valves, and sprinklers all hooked up to homekit. I plan to use the GPM to tell me when its safe to trigger an event to flush the filters (which requires turning the moen valve to closed) and such.

Hi,
The plug-in is already pulling these values, so it's not too difficult to implement. A very early beta version is posted, you can test if you replace the current installation with the newly posted files. Few important note:

Home doesn't have GPM or PSI, so the plug-in expose PSI and GPM as Lux sensors. They are associated with the Flo device, so they are bonded device. Home may display them as one tile, you may have to go into the tile and separate the tile depending on your use case.
The following entry must be present in the configuration -- > "showGPMPSIasLight": true. The UX configuration should now have this value as well. By default it doesn't show the GPM and PSI.
This is a realtime value, so remember it only update upon pull request. Becareful not to lockout your session, very frequent (e.g. under 1mins) may results in timeouts.


[l10n] Add Norwegian Bokmål (nb-NO) locale

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

I'm closing because:

There isn't enough speakers for us to make it worth the overhead, it's not in the top 100:

There is no such thing as no_NO see https://bugzilla.redhat.com/show_bug.cgi?id=532487

@wogsland Thanks for the suggestion

https://github.com/mui-org/material-ui/pull/29485#issuecomment-975769288

@wogsland the structure of the localization objects has changed in v5. Could you please rebase on the current master and correct the structure?
Also, please update the docs\src\pages\guides\localization\localization.md file with information about the newly added locale.

@wogsland the structure of the localization objects has changed in v5. Could you please rebase on the current master and correct the structure?
Also, please update the docs\src\pages\guides\localization\localization.md file with information about the newly added locale.

I don't usually rebase, but it seems to have messed things up with Github. Here it shows a crazy number of commits and file changes, but just comparing branches only shows my changes: https://github.com/mui-org/material-ui/compare/master...wogsland:patch-1?expand=1

We've had a number of directory renames in the meantime, so rebasing is harder than usual. The easiest way to make it work would be to copy your changes somewhere out of the workspace, reset --hard your branch to the current master, manually apply the changes again, and force push

Ready for review again.

Looking good, thanks! One more thing to correct is code formatting. Could you please run yarn prettier and commit the changes?

@wogsland thanks for working on this!

@wogsland Thanks for bearing with us! Matt brought a new interesting dimension to this problem :).


Create get_domain function to handle apps without Sites support

setting up app domain should be more flexible, not rely only on Site app

@kamilglod nice one, thanks a lot!

The whole purpose of this domain was to generate fully qualified links (not only paths) for use in external services. So we need to know somehow how to generate full URLs somehow. I think GETPAID_SITE_DOMAIN is good idea. It can be set and override accessing Sites framework. But Sites framework should be fallover to that.

So you suggest to remove SITE_URL check from get_domain?

@kamilglod correct.


Kibana 4 doesn't work, when ng-inspector is on

When ng-inspector is activated in my Chrome, Kibana 4 doesn't work.
Fails with the next error:

There is a critical bug with ng-inspector v0.5.9 that causes this. Version v0.5.10 should fix this issue.
Could you please check the version you have installed?

Well, yes, I have 5.10 version.
After I've relaunched the browser the Kibana seems to work.
Thanks,


 This hides the real errors from users.
Now, print a summary of the errors per node if the job fails, and make sure to always display an error if the job is cancelled or rejected.
$ bacalhau docker run some-rando-image ls
Using default tag: latest. Please specify a tag/digest for better reproducibility.
Job successfully submitted. Job ID: e2d7a10c-012c-4abb-a083-f1780890cf98
Checking job status... (Enter Ctrl+C to exit at any time, your job will continue running):

        Communicating with the network  ................  done ✅  0.1s
           Creating job for submission  ................  done ✅  0.0s
           Job waiting to be scheduled  ................  done ✅  0.0s
                       Job in progress  ................  err  ❌  1.3s

Error running job: not enough nodes to run job. requested: 1, available: 0
Job Results By Node:
• Node QmdZQ7Zb, QmYgxZiy, QmXaXu9N, QmUDAXvv, QmVAb7r2:
        Could not inspect image "some-rando-image" - could be due to repo/image not existing, or registry needing authorization: Error response from daemon: errors:
        denied: requested access to the resource is denied
        unauthorized: authentication required

To get more details about the run, execute:
        bacalhau describe e2d7a10c-012c-4abb-a083-f1780890cf98

Oops, trigger happy on the auto merge.
Thankfully, I think I’m happy with the spewing large errors for now? In the case you mentioned you need nearly the whole error to understand what the issue is.
In this case we could convert this into an easier to understand error in the executor if we wanted to? So it might be appropriate to err on the side of more verbose errors for now and target the common ones with specific error checks in the executor.


Added additional IS 300 engine f/w

@Asochgelt#1815 DongleID|route 3da61f28d4ece0e8|2020-08-11--09-25-48
Also expanded the firmware layout to make additional f/w entries easier.

Duplicate of #2015, and the README change isn't accurate.


[Typed Racket] single-threaded implementation

I adapted my work in racket/related.rkt to a single-threaded Typed Racket implementation.
Typed Racket is pretty sophisticated (my impression so far): great care is taken for code generated at untyped-typed boundaries so that at runtime there won't be a mismatch between what Typed Racket is working with (can involve some optimizations to memory layout, etc.) and the data passing to/from untyped sections.
That has some implications, though, for performance. For example: typed/json is provided by the typed-racket-more library and is essentially just a wrapper around the untyped json library that's included in racket/base. So when naively consuming, say, a (Listof JSExpr) from read-json in Typed Racket code, runtime contracts (a pervasive feature of Racket) are involved in ensuring the data in the list is actually JSExpr. That it does that automatically is really cool, actually! But there's significant overhead and that's no good for this benchmark project.
So instead of using typed/json to read posts.json, I made use of the json-type-provider library, which takes a different approach, i.e. without the overhead. However, it doesn't provider a Writer impl, only a Reader. It would be a great learning experience to implement Writer myself, but that's more than I want to take on at present; so, for now I've used write-json from typed/json. The step of serializing and writing data to related_posts_typed_racket.json is, therefore, quite pokey.
The runtime numbers for the step we care about ((define related (process posts))) are consistent with the untyped implementation. I had wondered if Typed Racket might do some additional optimizations resulting in a perf boost, but given the nature of the code (using vector and mutation) there's probably not much to optimize, but at least it's not slower than the untyped impl. 😄
Because of the slow writes, I don't think it makes sense to include run_typed_racket in all. But I'll leave that for you to decide.
One more thing to note:
The typed-racket-more library is a dependency of json-type-provider (the latter uses the former's JSExpr type) and it's also needed for typed/json. A downside is that typed-racket-more is a hefty dependency with a lot of stuff that isn't needed for typed/related.rkt, or json-type-provider for that matter. It doesn't bloat the Docker image, but when building the image it does take a few minutes for raco to download and install all the modules pulled in by typed-racket-more. I also needed to install cairo fontconfig pango with pacman because some of the unneeded modules dynamically link to various .so libs.
Alternatively, I could extract and modify only the needed .rkt modules from typed-racket-more and json-type-provider and vendor them in racket/typed/vendor/, but I didn't do that yet. I can/will if you feel it's a blocker for this PR.

I guess we shouldn't add typed racket deps to docker since it'll not be included in the table. It's ok to just have it in the repo.

Okay, I'll comment them out.

Okay, I'll comment them out.

Done, and I also added --no-docs to the enabled raco pkg install command since module docs don't need to be built.

@jinyus I forgot to change this line:
https://github.com/jinyus/related_post_gen/blob/add00ebe62569e5562fb620a3081aa83217d54a8/racket/info.rkt#L3C1-L3C45
With "json-type-provider" in the deps list, the raco pkg install step in ./run.sh racket will take an unnecessarily long time.
I'll fix it.

I think I'll need to split out the Typed Racket impl from the Racket one, because raco is very thorough in checking what modules in a collection (require ...).
I can't do that right at this moment but will take care of it asap, should be later today.


Better messageboxes for closing the screenshot app.

Instead of a Yes/No question that requires you to read the text of the
message box and decide what to do, let's give the buttons good names so
we know what the command will do.
Inspired by hitting "no" multiple times when I accidentally hit the
shortcut key to take a screenshot. (assuming it was asking "do you want
to save").
Slowly going through and fixing message boxes that could be better.

Fantastic! Thanks for sending that in!


Jan2020 recap blog

Please check if the provided video is in a proper format.  If there are other things to add to the blog feel free to add them

Two quick things to fix:

for _posts, date in filename is YYYY-MM-DD format (2020-02-03).
2020-03-02-January-2020-recap.md: in filename, use january rather than January (since it will be in URL, weird to have uppercase which we never used so far)
I will do the two fixes, but just so you know next time!

Thanks for being thorough.
ah date formatting.
run_local_websites.bat: yes, I can see the article and links etc, but the video did stutter a lot.

Closing because I cherry-picked in a single commit with necessary fixes.


PR - 22 Jan - Normal Mode - Insignificant - Already Signed and Approved

Hi @selvabrillio, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by .NET Foundation and real humans are currently evaluating your PR.
TTYL, DNFBOT;