RDTSC intrinsic takes TSC register as an argument

This is probably a more general problem than just RDTSC, but I noticed that RDTSC lifts to: eax, edx = _rdtsc(tsc). Hardcoded register operands like that should probably just be hardcoded, making it eax, edx = _rdtsc(). Otherwise, tsc should be marked as a system register so it doesn't propagate as an argument.

I just tested and the issue is still existing. It could be either a regression, or it has never been fixed. Sorry for the inconvenience @fuzyll


Update STYLE.md

Line 82 - Change 'Componenets' to Components.

This change is

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/f04d39d9c6b1ff8598ef2265fb253868b77487fb/
Edited pages:

STYLE.md


Add instructions to install aarch64 verison.

Proposed changes
AArch64 (aka arm64 on Debian) has a Docker-CE version. Update the install instructions to include installing Docker-CE on aarch64.

Deploy preview for docsdocker ready!
Built with commit ec1db761d338fcedd090fb7ad479e665d500c97b
https://deploy-preview-7830--docsdocker.netlify.com

@thaJeztah PTAL.


Challenge 1

Hey Amir, how would you scale this app? For example, if you had to support a million concurrent users

Hey Amir, how would you scale this app? For example, if you had to support a million concurrent users

Backend service can simply scale up vertically by having multiple instance of it and a simple load-balancer at the front of them to receive the requests. In this case db service needs to be scaled up too.
Backend could be even faster by :

add worker which is responsible for receiving user object from queue and persist it in database.
change backend to publish user to queue when post request received. In this case posting to users/ endpoint will return pending status.

Makes sense for the backend. What about the db and frontend? How would they scale?

Makes sense for the backend. What about the db and frontend? How would they scale?

DB: I have no practical experience on scaling up databases. But for postgres I know Citus can be used. But again no practical experience.
Frontend: The solution for backend can be applied to frontend too. the only thing is if session used in the frontend, it should be accessible cross the frontend instances BUT it is not a scaleable approach. Since most of the times session is used for authentication, other stateless solutions like OAuth should be used.

Good point on the sticky session issue. In the past I dealt with auth and frontend being on the same server and it doesn't scale well =]

I left some questions.

Thanks for your accurate review.

Thank you very much Amir. I'm closing it. :)


Add quickstart build instructions to the README file

adjust supported Linux versions paragraph
add quickstart instructions

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

Project coverage is 53.37%. Comparing base (2d7c95c) to head (cf88f73).

:exclamation:  There is a different number of reports uploaded between BASE (2d7c95c) and HEAD (cf88f73). Click for more details.
HEAD has 3 uploads less than BASE

Flag
BASE (2d7c95c)
HEAD (cf88f73)

oats-test
1
0

k8s-integration-test
1
0

integration-test
1
0

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #1188       +/-   ##
===========================================
- Coverage   81.13%   53.37%   -27.76%
===========================================
  Files         136      136
  Lines       11497    11497
===========================================
- Hits         9328     6137     -3191
- Misses       1639     4960     +3321
+ Partials      530      400      -130

Flag
Coverage Δ

integration-test
?

k8s-integration-test
?

oats-test
?

unittests
53.37% <ø> (+0.03%)
:arrow_up:

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

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


stages/systemd: Add scope option

The 'scope' option allows the systemd stage to define what would be the scope where a systemd unit is enabled or disabled: system or user-global.

There's a similar PR open (and a bit stale) for setting user presets in addition to system presets #1353.  There was a bit of a discussion about how to modify the schema to accommodate this and we went in a different direction than here.  Instead of adding an option for the scope there, we extended the schema to have a user-presets object.
The reason I bring this up is because I feel this PR makes a very similar change (it's an analogous change but for a different stage) and I think it would be good if the two schemas were consistent in how they handle this.
That's not merged yet but we sort of agreed on that decision.  That said, I'm open to rethinking it.

@achilleas-k I'm going to close this PR because I've been thinking on it and I think your solution based on presets would fit better.


Rendering artifacts and broken clipping on 13-inch 2019 MacBook Pro

UE 5.2 / Cesium for Unreal doesn't work very well on this machine. I'm inclined to blame the terrible GPU (an "Intel Iris Plus Graphics 655 1536 MB"), but I don't know for sure.
Tilesets with raster overlays have visible triangle edges for no apparent reason:

Also, polygon clipping doesn't work reliably. The box you can see at the top of the screenshot should be excluding Cesium OSM Buildings inside it. Instead, some buildings (presumably the large ones from low-detail tiles) are completely visible, and for the rest the triangle edges are visible again:

It also doesn't like something about the custom material in the 10_CesiumOSMWindows_Metadata level:

It's not just tilesets with raster overlays that show triangle edges. Here's Google Photorealistic 3D Tiles:

The same (or very similar) problem was noted on the community forum on a Windows 11 machine. Also with an Intel integrated GPU.
https://community.cesium.com/t/google-photorealistic-3d-tiles-prevent-these-thin-lines/35035


fix(nginx): Enable builder PROXY PROTOCOL support

If proxy protocol is enabled on an AWS ELB in kubernetes using the
service.beta.kubernetes.io/aws-load-balancer-proxy-protocol: '*'
annotation on the load balancer service, it will enable PROXY PROTOCOL
on all ports forwarded by the ELB, which means the builder proxy on port
2222 also needs to use enable proxy_protocol on its listen directive.
There is currently no way to configure PROXY PROTOCOL per port on AWS
using kubenetes service annotation and it doesn't really make sense to
enable proxy protocol only for port 80 and 443 anyways, so this fix uses
the same configuration setting as is used for http and https.
The required proxy_protocol option for the listen directive was added in NGINX 1.11.4.
This fixes #255.

Thanks for the contribution! Please ensure your commits follow our style guide. This code will be tested once a Deis maintainer reviews it.

Current coverage is 46.40% (diff: 100%)

Merging #263 into master will not change coverage

@@             master       #263   diff @@
==========================================
  Files             3          3
  Lines           306        306
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits            142        142
  Misses          160        160
  Partials          4          4

Powered by Codecov. Last update 5a6b004...a729799

Jenkins, add to whitelist.


[BUG] cpu usage keeps increasing until crash

when using any audio transformer plugin the cpu usage will continuously increase
replicated with ggwave and fasterwhisper lang detect plugins
reported by @builderjer  and verified by @goldyfruit

ovos-dinkun-listener never really crashes, process still up and "running" but there is no wakeword detection.

please test with https://github.com/OpenVoiceOS/ovos-plugin-manager/pull/234
i havent diagnosed the error, but both me an @mikejgray reached the conclusion it must be on that code, so maybe its fixed by the general improvements in that PR

Where I noticed the bug the first time was when testing ovos-transformer-plugin-ggwave.  When it was enabled and automatically started, CPU usage would continually rise.  First indications were at about 5 minutes.  By 15 minutes, CPU was at 100 and OVOS was unusable.
Testing now, with https://github.com/OpenVoiceOS/ovos-plugin-manager/pull/234 , it seems to have fixed the problem.  I have had ggwave transformer running for 45 minutes and no CPU increase.

This is not fixed.  After a full day of being activated, my device crashed and it has to do with ovos-ggwave-listener.  CPU usage still rises, just not near as fast.

can you replicate with the faster whisper lang detect? just to be sure it isnt a different issue with ggwave plugin itself
  "listener": {
    "audio_transformers": {
        "ovos-audio-transformer-plugin-fasterwhisper": {
            "model": "small"
        }
    }
  }

Going to close this and open in ovos-audio-transformer-plugin-ggwave.
With the  above configuration, I have had no issues for over 24 hrs


[FEATURE] Support regex check in python client auto generation

Motivation
I would like to define regex pattern for a property in a facet in specs to regulate the input from python sdk. For example, for the type property in SourceCodeLocationJobFacet, I would like to add pattern ^git|svn$ as
            "type": {
              "type": "string",
              "description": "the source control system",
              "example": "git|svn",
              "pattern": "^git|svn$"
            },

When I use datamodel_code_generator to generate sample code directly, I can see the type is defined as type: constr(regex=r'^git|svn$').
from datamodel_code_generator.parser.jsonschema import JsonSchemaParser

# Load your JSON Schema
json_schema = """
{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "pattern": "^git|svn$"
    }
  },
  "required": ["type"]
}
"""

parser = JsonSchemaParser(
    source=json_schema,
    base_class="pydantic.BaseModel",
)

# Parse the models
generated_code = parser.parse()

print(generated_code)

However, the generated code out of SourceCodeLocationJobFacet doesn't have the type property defined with regex. Is that capability something that should/can be added?
Description
No response
Related issues
No response
Do you plan to make this contribution yourself?

[ ] I am interested in doing this work

datamodel-code-generator does not support regex/pattern keyword for models other than pydantic.BaseModel and pydantic_v2.BaseModel. It would have been custom code added to support this https://www.attrs.org/en/stable/api.html#attrs.validators.matches_re I guess.
May I also ask if you're using code generator for your custom facets or planning to contribute to existing OL core facets?


Maybe Api instead of Framework

Name could be changed to ata - Alogorithmic Trading API, or  atapi, (like the AT Attachment Packet Interface)
Considerations:
short names like ata could mean less typing , but something like import atapi as at could also work...

Name could be changed to ata - Alogorithmic Trading API

Got atapi on PyPi.


Unable to reproduce hydrated docking results. dry.py not removing water molecules.

I have followed the instructions from this tutorial: https://autodock-vina.readthedocs.io/en/latest/docking_hydrated.html.
After implementing step 5, I get similar results for vina command but dry,py is not removing 5 water molecules. Its not working even if I use the files 1uw6_receptor.pdbqt, 1uw6_receptor.w.map, 1uw6_ligand_ad4_out.pdbqt from their solution files.  Has anyone else faced this issue before?

Hi,
I never noticed this issue before. Changing if pdb_atom_type(entry) == "W": to if pdb_atom_type(entry) == "WAT": (2 instances in current dry.py) works for me, but I'm not entirely sure if that might have changed the original intent of this.


Javascript heap out of memory

After a while of fairly heavy use (like we use a Parity node in production) Ganache stops working due to an out of memory error. (docker image: trufflesuite/ganache-cli:v6.1.8)
ethereum_1                |
ethereum_1                | <--- Last few GCs --->
ethereum_1                |
ethereum_1                | [1:0x561ab041e000] 26545867 ms: Mark-sweep 1404.1 (1464.4) -> 1404.0 (1464.4) MB, 378.3 / 0.0 ms  allocation failure GC in old space requested
ethereum_1                | [1:0x561ab041e000] 26546370 ms: Mark-sweep 1404.0 (1464.4) -> 1404.0 (1433.4) MB, 502.1 / 0.1 ms  last resort GC in old space requested
ethereum_1                | [1:0x561ab041e000] 26546865 ms: Mark-sweep 1404.0 (1433.4) -> 1404.0 (1433.4) MB, 495.8 / 0.1 ms  last resort GC in old space requested
ethereum_1                |
ethereum_1                |
ethereum_1                | <--- JS stacktrace --->
ethereum_1                |
ethereum_1                | ==== JS stack trace =========================================
ethereum_1                |
ethereum_1                | Security context: 0x56ffe825879 <JSObject>
ethereum_1                |     1: set(this=0x912f019afe1 <Map map = 0x3997f91848d9>,0x13318c210739 <JSArray[152]>,0xc4b8d949dd9 <JSArray[152]>)
ethereum_1                |     2: set [/src/build/cli.node.js:~10] [pc=0x1d0b12cec68b](this=0x912f019aeb1 <yc map = 0x236896533a01>,e=0x13318c210739 <JSArray[152]>,a=0xc4b8d949dd9 <JSArray[152]>)
ethereum_1                |     3: Ic [/src/build/cli.node.js:~10] [pc=0x1d0b12faf924](this=0x382ee240c209 <JSGlobal Object>,e=0x13318c210739...
ethereum_1                |
ethereum_1                | FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory

To give an idea what I mean by fairly heavy usage, the full log: https://gist.github.com/roderik/82cba1882eb67b7e64c6482d12dd25d5 (about 19k lines)
Startup command:
  ethereum:
    image: trufflesuite/ganache-cli:v6.1.8
    ports:
      - '8545:8545'
    command:
      [
        'node',
        './build/cli.node.js',
        '--secure',
        '--gasPrice',
        '0',
        '--unlock',
        '0',
        '--gasLimit',
        '0xfffffffffff',
        '--host',
        '<IP_ADDRESS>',
        '--networkId',
        '1337',
        '--mnemonic',
        'robot robot robot robot robot robot robot robot robot robot robot robot',
      ]

Thanks for reporting this one @roderik! We'll be sure to look into it quickly!

I got a similar error message right after executing truffle debug.
(Ganache CLI v6.1.8 (ganache-core: 2.2.1))
<--- Last few GCs --->

[46951:0x104001200]   208749 ms: Scavenge 1396.6 (1425.0) -> 1396.2 (1426.5) MB, 3.0 / 0.0 ms  (average mu = 0.177, current mu = 0.068) allocation failure
[46951:0x104001200]   209098 ms: Mark-sweep 1397.2 (1426.5) -> 1396.5 (1426.5) MB, 344.8 / 0.0 ms  (average mu = 0.120, current mu = 0.058) allocation failure scavenge might not succeed

<--- JS stacktrace --->

==== JS stack trace =========================================

    0: ExitFrame [pc: 0x2948aa04fb7d]
Security context: 0x345feb79d969 <JSObject>
    1: s [0x345f5c723f51] [/Users/user/.nvm/versions/node/v11.0.0/lib/node_modules/ganache-cli/build/cli.node.js:~30] [pc=0x2948aa7b29a0](this=0x345f5ce2f1e9 <v map = 0x345ffa1cd1b1>,0x345ff6aef721 <Object map = 0x345f331e7f61>,0x345ff6aefb89 <JSFunction (sfi = 0x345f329e9421)>)
    2: /* anonymous */(aka /* anonymous */) [0x345ff6aef849] [/Users/user...

FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory

 1: 0x10003a9d9 node::Abort() [/Users/user/.nvm/versions/node/v11.0.0/bin/node]
 2: 0x10003abe4 node::FatalTryCatch::~FatalTryCatch() [/Users/user/.nvm/versions/node/v11.0.0/bin/node]
 3: 0x10019ed17 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [/Users/user/.nvm/versions/node/v11.0.0/bin/node]
 4: 0x10019ecb4 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/Users/user/.nvm/versions/node/v11.0.0/bin/node]
 5: 0x1005a5882 v8::internal::Heap::FatalProcessOutOfMemory(char const*) [/Users/user/.nvm/versions/node/v11.0.0/bin/node]
 6: 0x1005a4838 v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) [/Users/user/.nvm/versions/node/v11.0.0/bin/node]
 7: 0x1005a2443 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/Users/user/.nvm/versions/node/v11.0.0/bin/node]
 8: 0x1005aecbc v8::internal::Heap::AllocateRawWithLightRetry(int, v8::internal::AllocationSpace, v8::internal::AllocationAlignment) [/Users/user/.nvm/versions/node/v11.0.0/bin/node]
 9: 0x1005aed3f v8::internal::Heap::AllocateRawWithRetryOrFail(int, v8::internal::AllocationSpace, v8::internal::AllocationAlignment) [/Users/user/.nvm/versions/node/v11.0.0/bin/node]
10: 0x10057dfc4 v8::internal::Factory::NewFillerObject(int, bool, v8::internal::AllocationSpace) [/Users/user/.nvm/versions/node/v11.0.0/bin/node]
11: 0x100832070 v8::internal::Runtime_AllocateInNewSpace(int, v8::internal::Object**, v8::internal::Isolate*) [/Users/user/.nvm/versions/node/v11.0.0/bin/node]
12: 0x2948aa04fb7d
Abort trap: 6

@JohannesGitHub can you please raise a separate issue for that? FWIW, it's possible for debug_traceTransaction to consume a lot of memory when debugging high gas-cost transactions. We might someday implement a streaming version of `debug_traceTransaction, but in the mean time you'll need to increase node's heap size limits when using ganache for debugging purposes.

@roderik I also see a bunch of calls to trace_replayTransaction - I don't think we support this call. Are you running a modified version?

Actually, @JohannesGitHub, I think trufflesuite/ganache#449 is the issue you'll want to track.

@benjamincburns switched away from ganache for these workloads, only use it for contract development atm.

Closing as we've been unable to reproduce on<EMAIL_ADDRESS>

I am encountering this when using<EMAIL_ADDRESS>in docker mode and using
gananche-cli --fork https://mainnet.infura.io/v3/{project_id} --networkId 1001 --gasPrice 0x1312D00 -e<PHONE_NUMBER>00000000000 --gasLimit 8000000

for the creation of ganache. Then I would run truffle debug --network test 0x98ace240d67339e57e588e1c902102d1b0dde67bd335d16a6467b24d3bd841f9. It compiles the contracts, then fails to get information about the project and tx.
I've tried increasing --max-old-space-size=8192, but to no avail.
Here is the output:
debug_traceTransaction
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
2019-10-26T20:18:00.144401000Z
<--- Last few GCs --->
2019-10-26T20:18:00.144603700Z
[1:0x558e19cdeaa0]   414610 ms: Mark-sweep 1397.8 (1427.2) -> 1397.0 (1427.2) MB, 371.0 / 0.0 ms  (average mu = 0.124, current mu = 0.039) allocation failure scavenge might not succeed
2019-10-26T20:18:00.144674800Z
2019-10-26T20:18:00.144704000Z
<--- JS stacktrace --->
2019-10-26T20:18:00.144884100Z

Thanks @brockelmore for the reproduction steps. Our debug_traceTransaction is a bit expensive to run and this reproduction will be very helpful in our optimization!

Update on this: above tx was with a local smart contract deployed. Here is a tx that should fail that is on mainnet and should fail for you as well. 0x985b3c7ed63ecb30e9de94b8ab7377a42c86643536a512ec6331874d6020d127

I am also getting this error. It seems to occur when the call chain is too long.

Shouldn't it just run until its out of gas? Why would an infinite loop cause the error?

Depends on the ganache evm implementation - seems like there could be a bug in gas accounting

Turns out it happens very reproducibly when you perform a snapshot prior to debugging as well it seems. Also ganache-cli —max-old-space-size didn’t seem to actually change the heap size. export NODE_OPTIONS=“ —max-old-space-size=8192” does though. Also seems that there are timeout issues with the provider if you don’t set it manually to be extremely long. All that said, got it to a working state 30% of the time

I can also verify that there is definitely a memory leak in ganache. I've also observed it while tracking the it with node --inspect in and profiling the memory allocation in chrome devtools (capturing >1 day of data). Memory usage steadily increases including some inexplicable spikes in between. I haven't yet found the culprit though.

The problem also occurs during a gas estimation (of a large tx) with version 6.12.1:
[...]
eth_getBalance
eth_accounts
eth_estimateGas

<--- Last few GCs --->
ti[44175:0x4c28460]   330465 ms: Mark-sweep 2047.3 (2050.6) -> 2046.4 (2050.6) MB, 1388.5 / 0.0 ms  (+ 0.0 ms in 15 steps since start of marking, biggest step 0.0 ms, walltime since start of marking 1391 ms) (average mu = 0.063, current mu = 0.002) allocati[44175:0x4c28460]   331929 ms: Mark-sweep 2047.4 (2050.6) -> 2046.5 (2050.6) MB, 1462.3 / 0.0 ms  (+ 0.0 ms in 15 steps since start of marking, biggest step 0.0 ms, walltime since start of marking 1463 ms) (average mu = 0.032, current mu = 0.001) allocati

<--- JS stacktrace --->

FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
 1: 0xa2afd0 node::Abort() [node]
 2: 0x97a467 node::FatalError(char const*, char const*) [node]
 3: 0xb9e04e v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [node]
 4: 0xb9e3c7 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [node]
 5: 0xd3e7d5  [node]
 6: 0xd3f17b v8::internal::Heap::RecomputeLimits(v8::internal::GarbageCollector) [node]
 7: 0xd4cf72 v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) [node]
 8: 0xd4ddc5 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [node]
 9: 0xd5078c v8::internal::Heap::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [node]
10: 0xd1fe2b v8::internal::Factory::NewFillerObject(int, bool, v8::internal::AllocationType, v8::internal::AllocationOrigin) [node]
11: 0x105014f v8::internal::Runtime_AllocateInYoungGeneration(int, unsigned long*, v8::internal::Isolate*) [node]
12: 0x13a9e39  [node]
Aborted (core dumped)
[christoph@ladybug ~]$ ganache-cli --version
Ganache CLI v6.12.1 (ganache-core: 2.13.1)

At the time of the crash, my machine is nowhere near out of memory. Node consumes about 2.3 GB at the time of the crash (the dip in memory at the very right where the CPU load also drops suddenly).

This crash is reproducible. If you want to reproduce it, clone https://github.com/BlockInfinity/kontaktdatenblattOnBlockchain (recursively), open CertificateVerification.sol in Remix, start Ganache CLI with a high block gas limit (I used 80 million in most of my attempts but 30 should suffice), deploy CertificateVerification using this argument:
0x308203c030820366a00302010202084cdaaea738605ce2300a06082a8648ce3d040302304d311e301c06035504031315542d53797374656d732d456e6572677943412e434131123010060355040a1309534d2d504b492d4445310b3009060355040613024445310a30080603550405130131301e170d3139303830313131353230385a170d3231303830313233353935395a30819e31193017060355040313103530686572747a2e454d542e70726f6431123010060355040a1309534d2d504b492d444531223020060355040b13193530486572747a205472616e736d697373696f6e20476d6248310b3009060355040613024445310a30080603550405130132310e300c060355041113053130353537310f300d060355040713064265726c696e310f300d060355040813064265726c696e305a301406072a8648ce3d020106092b240303020801010703420004469eabb5505638c958de8f705489d8b7a6241db17889758cf2cb143a6bdfcb02808af47f11aad57e2cf3dd9fde84a5c8b9bc55a7b89a99e9021bcc898fc42a65a38201db308201d7301f0603551d23041830168014807b332a0ebad39fcdf3ec33d10157ad762ea957301d0603551d0e041604144d8c9619a52f37625f0f498abd5d7c3f99e29d0b300e0603551d0f0101ff040403020780303d0603551d2004363034303206092b06010401bd470d243025302306082b0601050507020116177777772e74656c657365632e64652f656e65726779636130210603551d11041a30188116706f73746d6173746572403530686572747a2e636f6d30490603551d1204423040811e456e6572677943415f537570706f727440742d73797374656d732e636f6d861e687474703a2f2f7777772e74656c657365632e64652f656e657267796361300c0603551d130101ff040230003081c90603551d1f0481c13081be3081bba081b8a081b5863f687474703a2f2f63726c2e656e6572677963612e74656c657365632e64652f726c2f542d53797374656d732d456e6572677943412e43415f534e312e63726c86726c6461703a2f2f6c6461702e656e6572677963612e74656c657365632e64652f73657269616c6e756d6265723d312c434e3d542d53797374656d732d456e6572677943412e43412c4f3d534d2d504b492d44452c433d44453f43657274696669636174655265766f636174696f6e4c697374300a06082a8648ce3d0403020348003045022100932ccefda0386c184deb40c256fb87695d35b2c860f56c6adc170821f08ff6be022053108d2516b974e7a438ff4f4e1483c406242f6ec07dc86e1546e847abc31532

And then simply call performVerification(). Ganache CLI will crash about one minute after Remix (automatically) started the gas estimation. You might have to increase the gas limit in Remix for this to happen.


Improve security group management for service provision

What this PR does / why we need it:
This PR focuses on the scenario of using Octavia, it does several things:

When creating service, create a new security group and add rules to allow traffic coming from the load balancer subnet IP address range while going to the service nodeport on the nodes. Associate the security group with all the Neutron ports on the nodes, add a tag to the ports.
When deleting service, disassociate the security group from the Neutron ports on the nodes before removing.

Which issue this PR fixes:
fixes #490
Special notes for your reviewer:
Test process for thie PR:

Using image lingxiankong/openstack-cloud-controller-manager:improve-sg
Configuration[Global]
auth-url=http://<IP_ADDRESS>/identity
user-id=94a665016c3e4d44a315b14d92f9ef49
password=password
tenant-id=cd08a539b7c845ddb92c5d08752101d1
region=RegionOne
[LoadBalancer]
use-octavia=yes
subnet-id=7e5398da-a77a-4d5a-a2ae-f1273132f869
create-monitor=no
manage-security-groups=true
[BlockStorage]
bs-version=v2

The security group of the Neutron ports on the nodes only allows the basic traffic within the kubernetes cluster such as 10250. The default port range for service ports is not exposed.
Create a service of LoadBalancer type.$ kubectl run hostname-server --image=lingxiankong/alpine-test --port=8080
$ kubectl expose deployment hostname-server --type=LoadBalancer --target-port=8080 --port=80 --name hostname-server
$ kubectl get svc
NAME              TYPE           CLUSTER-IP   EXTERNAL-IP    PORT(S)        AGE
hostname-server   LoadBalancer   <IP_ADDRESS>   <IP_ADDRESS>   80:32760/TCP   44s

A load balancer is created and behaves as expected.$ openstack loadbalancer list
+--------------------------------------+----------------------------------+----------------------------------+-------------+---------------------+----------+
| id                                   | name                             | project_id                       | vip_address | provisioning_status | provider |
+--------------------------------------+----------------------------------+----------------------------------+-------------+---------------------+----------+
| 5ebd3ef7-8069-4735-bc73-b08f33f715e3 | a8c8af25d342711e98f68fa163e8309a | cd08a539b7c845ddb92c5d08752101d1 | <IP_ADDRESS>   | ACTIVE              | amphora  |
+--------------------------------------+----------------------------------+----------------------------------+-------------+---------------------+----------+
$ curl <IP_ADDRESS>
hostname-server-7857c9b75b-b85mx

Check the security groups rules on the worker node Neutron port.$ openstack port list --device-id 3515c2d9-ce37-439e-b3cb-cc759cac444e
+--------------------------------------+--------------------+-------------------+--------------------------------------------------------------------------+--------+
| ID                                   | Name               | MAC Address       | Fixed IP Addresses                                                       | Status |
+--------------------------------------+--------------------+-------------------+--------------------------------------------------------------------------+--------+
| 87d41ec1-ba9a-44c1-a371-d833d8a4bf94 | lingxian-k8s-node1 | fa:16:3e:19:a1:60 | ip_address='<IP_ADDRESS>', subnet_id='7e5398da-a77a-4d5a-a2ae-f1273132f869' | ACTIVE |
+--------------------------------------+--------------------+-------------------+--------------------------------------------------------------------------+--------+
$ openstack port show 87d41ec1-ba9a-44c1-a371-d833d8a4bf94 | grep security
| port_security_enabled   | True                                                                       |
| security_group_ids      | bf910fe6-e236-49f3-8eb5-1edc263aa02e, c63a2657-300b-4ab0-9201-65b49e3ba815 |
$ openstack security group rule list bf910fe6-e236-49f3-8eb5-1edc263aa02e
+--------------------------------------+-------------+-------------+-------------+-----------------------+
| ID                                   | IP Protocol | IP Range    | Port Range  | Remote Security Group |
+--------------------------------------+-------------+-------------+-------------+-----------------------+
| 4120d44e-cb9b-4ac5-a0eb-15b1ac67f01c | tcp         | <IP_ADDRESS>/26 | 32760:32760 | None                  |
| 9dfee722-95e8-4b20-a58a-6db7f26eaf7b | None        | None        |             | None                  |
| e7ec4602-21d4-4d9b-9f12-01f4dd360aa8 | None        | None        |             | None                  |
+--------------------------------------+-------------+-------------+-------------+-----------------------+
$ openstack port show 87d41ec1-ba9a-44c1-a371-d833d8a4bf94 | grep tag
| tags                    | bf910fe6-e236-49f3-8eb5-1edc263aa02e

Delete the service and check again. Make sure the security group has been deleted and the port tag has been removed.$ openstack port show 87d41ec1-ba9a-44c1-a371-d833d8a4bf94 | grep tag
| tags                    |                                                                          |

Release note:

/test cloud-provider-openstack-acceptance-test-k8s-cinder

/assign @zetaab

/test cloud-provider-openstack-acceptance-test-csi-cinder

/lgtm

/approve
I cannot test it now, but for me looks ok

Hi, I already pasted my own testing process in the PR description to 'prove' it's working, but it'll be great if you have chance to test in future.

/test cloud-provider-openstack-acceptance-test-keystone-authentication-authorization

I'm wondering how we could be able to restrict access only from the amphorae, not the whole subnet.
Options:

allow the amphorae SG (can't as non-admin) in the ingress rules
allow the amphorae IP addresses (difficult to guess as non-admin, it seems)

Have you some insight about such a configuration?

@dr4Ke the amphora network is supposed to be only used by Octavia control plan, why you need to restrict to specific amphorae IP addresses? Additionally, when Octavia doing failover, the IP address will change.


DynamoDb DocumentModel difficult to create stubs

I'm finding the code using the DynamoDb DocumentModel (Table, Search, etc) difficult to test. Private constructors, no interfaces, impossible to create stubs of them.
Is there any plan to refactor these to make them more unit tests friendly?

This isn't on our roadmap right now, but I will add it to our feature requests backlog.
If you're interested in working on this addition, we're always happy to accept a pull request.

Request added to backlog. Closing.

I just stumbled on this very issue. Is there a way to vote up a feature request?

This issue is fairly easily addressable by adding public constructors to the classes that are returned from the IDynamoDBContext methods. Either making the existing constructors public (only possible if their arguments are for public types) or adding another constructor (generally a parameterless one).


Need for trunk.toml

Hi, to use trunk within DockerFile and k8s I think trunk need to have trunk.toml and trunk.lock for versioning and installing multiple extension at same time.

it is interesting I found something similar in unit tests
I try to understand how it works.


Web parts in provider hosted add-ins are not transformed

SharePoint hosted and SPFX web parts are transformed during an in-place transformation, but web parts hosted in a provider hosted add-in are not.

Fixed in the September release


Get Miami Dade deployment working

Is your feature request related to a problem? Please describe.
Miami Dade is using windows for their deployment and they're having issues different from those that we've been seeing.
Describe the solution you'd like.
Miami Dade has a successful deployment
What priority is this?
High
Associated civic entity
Miami Dade

https://github.com/civiform/cloud-deploy-infra/pull/406 was a deployment container created for miami dade to run their deployment on

They then were getting errors about terraform providers, so a flag was added to skip provider registration https://github.com/civiform/cloud-deploy-infra/pull/408

Now getting "Error ensuring resource providers are registered". Syed was also getting errors specifically about microsoft timeseriesinsights, which seems to be something that was in a legacy azure version. https://github.com/civiform/cloud-deploy-infra/pull/411 updates the provider


Fix tests

I believe this will require a major version bump, as the facepile component had to be removed due to the API being deprecated by Facebook. You can see more detail in the related commit message.

Thanks @locks ! Just tagging this issue here:
https://github.com/plyfe/ember-social/issues/23

Can you also remove the facepile docs in the README?

Will do! We still have some failing tests, I believe due to CSP, investigating.

My attempt trying to debug the issue with failed tests ended up with the following results.
The problems start with:
Ember.$.getScript("//platform.linkedin.com/in.js?async=true", function success() {
       IN.shareHandlerName = shareHandlerName;
       IN.Event.on(IN, 'systemReady', Ember.run.bind(null, resolve, IN));
       IN.init();
});

It loads couple of nasty JS files and one of them (secureAnonymousFramework) breaks the tests:
not ok 14 PhantomJS 1.9 - Global error: Script error. at , line 0
    ---
        Log: |
            { type: 'error', text: 'Script error. at , line 0\n' }

In the browser It'd look like:
Uncaught TypeError: Cannot read property 'Function' of undefined secureAnonymousFramework?v=0.0.2000-RC8.57838-1429&:1033
Going deeper in the code, it breaks on Sslac.Function(...)
At the same time, if you load dummy/app /linkedin/share page, the above script loads properly and hooks Sslac to window object.
Unfortunately, I couldn't find the reason it doesn't hook to window when it's run via ember test -s.

As @anvyst mentions, the manual tests seem to work but not the automated ones. Thoughts on how to proceed? :X


Generate all chapters into one book output

This PR creates a latex file for the whole book. It works as follows:

Generates a simple sub-template for each chapter named latex/<chapter name>-chapter.tex
Generates a skeleton overall latex output for the book named latex/book-skeleton.tex. This is done by running all of the chapters together through pandoc with a latex output mode, and then throwing away the actual chapter content. This has the effect of including all definitions and packages from template-book.tex that are necessary to render any of the chapters
Inserts the sub-templates from the chapters into the output of step 2, resulting in book.tex for the entire book
Renders book.tex into a PDF

Also adds support for Chinese characters to the template, and removes one emoji character that is hard to render.
I installed the texlive-lang-cjk Debian package, which contains CJK fonts.

leave the main file not-generated, just a static file that lists all the chapters and everything else.

How would that work? A book needs a single tex file somehow, right?
I'll merge for now but we can always revisit later.


How to get category key from a page

Hi
I have an issue to get category key from a page.
When I make a var_dump($page) it returns  ["category"]=> string(5) "image". I think this is the category key.
When I try to get it with $page->category() it returns Image. I think this is the name of the category, not the key.
Then I try to find the category object:
$category = new Category($page->category());

This return
[Tue Dec 29 09:17:26 2020] <IP_ADDRESS>:36416 [500]: GET / - Uncaught Exception: Category not found in database by key [Image] in /home/gregory/bludit-3-13-1/bl-kernel/category.class.php:20
Stack trace:
#0 /home/gregory/bludit-3-13-1/bl-themes/nosheep/php/home.php(37): Category->__construct()
#1 /home/gregory/bludit-3-13-1/bl-themes/nosheep/index.php(17): include('/home/gregory/b...')
#2 /home/gregory/bludit-3-13-1/bl-kernel/boot/site.php(26): include('/home/gregory/b...')
#3 /home/gregory/bludit-3-13-1/index.php(41): require('/home/gregory/b...')
#4 {main}
  thrown in /home/gregory/bludit-3-13-1/bl-kernel/category.class.php on line 20

How to get the category key from the page?
This issue seems similar to https://github.com/bludit/bludit/issues/1292

Here the list of methods for categories.
https://github.com/bludit/bludit/blob/master/bl-kernel/pagex.class.php#L175-L220
This method returns the category name $page->category()

Nice, it work, thanks you very much.
I'm so sorry for my newbie issues.


Add different modes for recording history

Two modes for recording history:

Track all
Only compressed (default)

Compressed mode will only keep the relevant history at any given point.

Potentially we could also store both the "all" history and the "condensed" history.


Proper support for Remote Stop and Remote Abort with NeptuneLogger

What does this PR do?
With Remote Stop and Remote Abort in Neptune UI you're able to stop currently running training this means:

Neptune will stop the current Run and wait to sync all the remaining operations to the server
Once it's synced it's going to send a signal to kill current process

As we're doing a stop operation before sending the signal to Lightning the Run may be in an inactivate state when reaching the logger finalization code raising a related exception. This PR prevents this behavior and allows to make graceful shutdown.
Fixes https://github.com/neptune-ai/neptune-client/issues/1378

Before submitting

Was this discussed/agreed via a GitHub issue? (not for typos and docs)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together?
Did you make sure to update the documentation with your changes? (if necessary)
Did you write any new necessary tests? (not for typos and docs)
[x] Did you verify new and existing tests pass locally with your changes?
Did you list all the breaking changes introduced by this pull request?
Did you update the CHANGELOG? (not for typos, docs, test updates, or minor internal changes/refactors)

PR review
Anyone in the community is welcome to review the PR.
Before you start reviewing, make sure you have read the review guidelines. In short, see the following bullet-list:

Reviewer checklist

[x] Is this pull request ready for review? (if not, please submit in draft mode)
[x] Check that all items from Before submitting are resolved
[x] Make sure the title is self-explanatory and the description concisely explains the PR
[ ] Add labels and milestones (and optionally projects) to the PR so it can be classified

📚  Documentation preview 📚 : https://pytorch-lightning--19130.org.readthedocs.build/en/19130/

let's update or rebase after #19265 lands :flags:

@Borda Ready for review 😉


Update to PHPStan 2

I added three commits:

Update and migrate PregMatchTypeSpecifyingExtension rule to PHPStan 2
Fix new findings (removed some noted PHP version checks)
Upgrade Baseline (no findings where added)

See https://github.com/composer/pcre/issues/39 for Bug Report

Thanks! I tweaked things a bit so that it's compatible with both v1 and v2.


Goals for 11/9

@gkiar
@ebridge2

[x] make some updates to PR. Particular things: modularize qc a lot more, and don't just batch update the template. Also, generalized qc in addition to fmri_qc scripts (put things other people can use in stats.qc). general qc. new PR.
[x] get a docker working and running FNGS. Deliverable: live demo.
[x] make a BIDs compliant docker. docker
[x] minimum-viable examples for bids compliant and mini bids-compliant examples, and download link for small atlases.

@ewalke31 @02agarwalt

[x] Using EM KFS from existing R package, compare results of EM KFS to correlation matrices by running on some data set (TBD) (deliverable: R markdown w/ plots & results)
http://neurodatadesign.github.io/fngs/ewok_weekly/ewok_week_1107.html

👌

@ebridge2 Maybe look at scaffolding tools like http://yeoman.io/ so that you don't actually have to do web dev. I've never seen an R one but they probably exist somewhere

[ ] what MNR did eric get?
[ ] throwing errors because your data are low rank!!!
[ ] try on simulated data first, always
[ ] real live demo

@ebridge2 if Google server is giving you issues, you can "hack" docker to enable X-11 forwarding

@ewalke31 @02agarwalt It would be awesome if at the top of your kalman filter deliverable, you had some background info on exactly what you're planning to use kalman filter on, and what the kalman filter is generally used for. Just makes it easier for the reader from the start to understand what's going on.


Template for MacOS Classic

PowerPC running MacOS 9.2
Guides

https://wiki.qemu.org/Documentation/GuestOperatingSystems/MacOS9
https://www.emaculation.com/doku.php/qemu
https://www.emaculation.com/doku.php/ppc-osx-on-qemu-for-osx
https://gist.github.com/unnamedd/1430410fb329bc3480359ef32e38f94a
https://devonhubner.org/Install_MacOS_9.2.2_on_a_qemu-based_VM/

Image

https://www.macintoshrepository.org/1307-mac-os-9-2-2-universal-2002-edition-

Any news on this? I would love to see this feature.

I would too, but I'm not currently working on it. Do you want to try?

I would love to, but I dont know how to start....

out of curiosity I looked into this and managed to build a working xml using nixvirt.

libvirt complains that this machine type doesn't support an ide controller, which is blatantly wrong. we need to set the images via qemu-commandline.
installer won't boot without -M mac99,usb=on because libvirt doesn't allow removing (and keeps readding) the usb controller. setting model = "none"; doesn't fix this issue.

I've pushed a working configuration here, but ain't sure if some devices can be moved out of qemu-commandline

I will try it :+1:


Unexpected behavior. Perhaps a bug.

Summary
I'm developing a sf extension.
As part of this, I need to write a file. One of the required flags of my command is -o the target alias. Because there could potentially be multiple orgs in play, I want to name this file based on the Org's alias. Investigation into the public properties and methods led me to believe that the following code snippet would return the org's alias.
    const orgName = orgAlias.getField(Fields.ALIAS);

This however, results in orgName being undefined.
I'm invoking this command via:
sf myNamespace myCommand -o myAlias

where myAlias is a known alias of an org and can be seen in sf org list.
Expected result
I expect that the Org object returned from flags with a type of requiredOrg would return the known alias of the org.
Actual result
The code snipped above, results in an undefined value being returned.
Additional information
I am able to retrieve the orgId, but that's less human readable / understandable, and would love to know how to reliably get the local org alias for the specified org.
System Information
zsh on mac os Sonoma, latest.
{
  "architecture": "darwin-arm64",
  "cliVersion"<EMAIL_ADDRESS>  "nodeVersion": "node-v20.17.0",
  "osVersion": "Darwin 23.6.0",
  "rootPath": "/Users/kevinpoorman/.volta/tools/image/packages/@salesforce/cli/lib/node_modules/@salesforce/cli",
  "shell": "zsh",
  "pluginVersions": [
    "@oclif/plugin-autocomplete 3.2.3 (core)",
    "@oclif/plugin-commands 4.0.14 (core)",
    "@oclif/plugin-help 6.2.11 (core)",
    "@oclif/plugin-not-found 3.2.20 (core)",
    "@oclif/plugin-plugins 5.4.7 (core)",
    "@oclif/plugin-search 1.2.8 (core)",
    "@oclif/plugin-update 4.5.6 (core)",
    "@oclif/plugin-version 2.2.12 (core)",
    "@oclif/plugin-warn-if-update-available 3.1.15 (core)",
    "@oclif/plugin-which 3.2.13 (core)",
    "@salesforce/cli 2.59.6 (core)",
    "apex 3.4.9 (core)",
    "api 1.2.1 (core)",
    "auth 3.6.56 (core)",
    "data 3.6.5 (core)",
    "deploy-retrieve 3.12.7 (core)",
    "dev 2.4.2 (user) published 37 days ago (Mon Aug 26 2024)",
    "info 3.4.6 (core)",
    "limits 3.3.30 (core)",
    "marketplace 1.2.25 (core)",
    "org 4.5.8 (core)",
    "packaging 2.8.4 (core)",
    "schema 3.3.29 (core)",
    "settings 2.3.19 (core)",
    "sobject 1.4.35 (core)",
    "source 3.5.19 (core)",
    "telemetry 3.6.12 (core)",
    "templates 56.3.18 (core)",
    "trust 3.7.27 (core)",
    "user 3.5.29 (core)",
    "@salesforce/sfdx-scanner 4.5.0 (user) published 37 days ago (Tue Aug 27 2024) (latest is 4.6.0)",
    "bah-toolkit 1.0.0 (link) /Users/kevinpoorman/src/bah-toolkit",
    "sfdx-git-delta 5.45.0 (user) published 13 days ago (Fri Sep 20 2024) (latest is 5.46.0)"
  ]
}

@codefriar I would suggest using StateAggregator from sfdx-core for this.
Off the top of my head, you'd do something like this:
import { StageAggregator } from '@salesforce/core';
const stateAggregator = await StateAggregator.getInstance();
const username = stateAggregator.aliases.resolveUsername(orgAlias);

@mdonnalley - Appreciate the assist. Slight tweak to your suggestion from .resolveUsername() to .resolveAlias(orgAlias.getUsername()) works great.

@mdonnalley - I want to pass on kudos to the team for the pretty well documented cli libraries.
If I may make one request. File level headers explaining what a StateAggregator is would be a nice to have.


support export to onnx?

support export to onnx?

We have just uploaded glass_pth2onnx.py and glass_ort.py. You can refer to the code in the onnx folder for converting a Python model to an ONNX file and deploying it.


Question about App Store Review for cryptography

Hi all,
If I use this plugin , do I need to answer "yes" for the following question in beta test review from apple?
"Is your app designed to use cryptography or does it contain or incorporate cryptography?
(Select Yes even if your app is only utilizing the encryption available in iOS or OS X.)
Thanks a lot!
Regards,
Kenneth

Hi Paldom,
Moreover, I see that coding in android involving androidID + deviceID + simID for unique and different from cordova.device plugin uuid.
As I am very new for phonegap & mobile development, would you share your experience for consideration of adding androidid + simid + android instead of deviceID for uniqueness.
It is very good plugin which I find for uniqueness (expecially in ios). Just wait to know more in development
Thanks for your advice.
Regards,
Kenneth


Queries with JOINS and check for NULL are failing

Hope anybody can help me to resolve this issue. Running Tableau connected to ClickHouse via ODBC driver. At first mostly any report request was failing. I have configured this tdc file https://github.com/yandex/clickhouse-odbc/blob/clickhouse-tbc/clickhouse.tdc and its actually started to work, however now some of the query requests with JOINS that contain check for NULL in ON are failing because of using IS NULL instead of isNull(id)
Appreciate any help!
  JOIN users ON ((users.user_id = t0.user_id) OR ((users.user_id IS NULL) AND (t0.user_id IS NULL)))
This is the correct way that works:
 JOIN users ON ((users.user_id = t0.user_id) OR ((isNull(users.user_id) = 1) AND (isNull(t0.user_id) = 1 IS NULL)))
Not sure how to make tablau driver to send the right requerst

You may want to use a Tableau calculation like this
for every dimension used in joins, ditto LOD expressions:
IFNULL( [your_string_dimension_used_in_join], '' )
Link to the thread on Tableau Forums
Yours,
Yuri

That can't be / and should be fixed on the driver side.
Please follow https://github.com/ClickHouse/ClickHouse/issues/3830


Align long Aggregator implementation with Double and Float

Add LongMin/Max aggregator combiners
Extract common code from LongSum/Min/MaxAggregatorFactories in
SimpleLongAggregatorFactory

@nishantmonu51 please also rename: https://github.com/druid-io/druid/pull/5861#pullrequestreview-127200074

@leventov done.


Question on usage if projections are in place on EF Queries

So, I've read the readme and watched a few YouTube videos demonstrating this package and I'm still a bit confused on how it works so I'm going to just ask my question.
We have a react app that supports a metric dashboard with many different calculations on it for our user base.
We use Expressions with EFCore to query our database and this allows us to create projections of data in the table based on how we are using it.  The expression is translated into a Raw SQL strings kind of like a stored procedure is being executed so all of the work occurs on the database but EFCore is still doing this translation. I'm sure this is all a bit confusing without actually seeing what we've built but hopefully it's enough to answer my question:
Will your package benefit me with query caching at all? We do have tracking enabled but the raw data is never actually returned to the db context, only projections of the raw data.
If this is confusing, I can try to post some examples we have but unfortunately I can't expose much of the code publicly.

Delta works based on a db level incrementing counter. so it works irrespective of what and how you are querying
as long as you are Using either SQL Server Change Tracking and/or SQL Server Row Versioning
https://github.com/SimonCropp/Delta?tab=readme-ov-file#assumptions

Do all tables need to have Row Versioning enabled? I am also using an object which pulls data from 3 tables but I am not getting any 304 responses.

Do all tables need to have Row Versioning enabled

yes, for all the tables u want to be included in the 304 check


PRIME4-2.3.2-ssh-Update.img is not ssh patched

Hey,
Comparing PRIME4-2.3.2-ssh-Update.img root fs and  PRIME4-2.3.2-ssh-Update.exe root fs, looks like the one not in self extracting firmware was never patched to enable ssh.....

i have just now tried to flash extracted rootfs from PRIME4-2.3.2-ssh-Update.exe and ssh just worked out of box...but it's not working if you use PRIME4-2.3.2-ssh-Update.img

I'll look into what happened with the .img file. I probably mixed up versions of the build there.

Updated the .img with the one shipped as part of the .exe for now.

no worries i have already running 2.4.0 with root access....

Managed to get a 2.4.0 release out now as well that hopefully works as intended, so this issue is now definitely obsolete. 😄


[feature request] Expose series cardinality per measurement

Feature Request
Proposal: Record the measurements with the highest cardinality in the _internal database.
Current behavior: The _internal database currently has a database measurement with a numSeries field, which shows the number of series in that database.
Desired behavior: Another measurement called measurement (or another suggested name) would also be recorded with a field that contains the names of the measurements with the highest cardinality.
Use case: It's almost impossible to find measurements with a high number of series in a busy InfluxDB instance. For example, it is hard to troubleshoot if a poorly written or broken Telegraf plugin is creating an excessive number of series. This could also be expanded functionality for the SHOW MEASUREMENTS or SHOW SERIES queries.

👍

👍

+1

We have hit the issue of max series per database. We need to find out measurements which have highest cardinality and clean them up.
Currently is there any way or script to figure out which measurement has highest cardinality?

+1 is this difficult to implement?

We are using this shell script for now https://gist.github.com/endeepak/3a09d80c58bd732f815f2b25f2adafd7


Apple Metal support

I believe adding the metal cpp files from "LLaMACpp" repository to src and some small changes on "extconf.rb" should be sufficient enough to build the native extension with metal support in case anyone runs sidekiq queues on mac devices to generate the responses 10x faster.
https://github.com/ggerganov/llama.cpp
I couldn't manage to build the gem even without changing the code. I always get "failed build native extensions" with .o files are not found error.
I will try to create a pull request if I can figure out why I get ".o" files are not found error.
Just wanted to bring it up if it's a 5-minute thing to add from your end since you created this gem. I can do my best to help with testing or wherever you need help with.

@mldev94
I have released v0.2.0 with metal support. I do not know if it will be 10x faster, but please try it.
https://github.com/yoshoku/llama_cpp.rb/blob/main/CHANGELOG.md#020---2023-06-11

Hi yoshuku, it works great. Thank you, it's not 10x but it's definitely 3x faster. It went down from 200-240 seconds of processing time for my long prompts to 40-75 seconds.


Remove for=except-field and exception-code?

They are used in globalnames.py and the docs.
IIUC they should be removed, per:

ce3415237cd6224464d15e22b47d7fd2d909c993
ec25f354da3689cfcb39967bf4cf8a510e292fb8
ae3b4eaa941e5ea380931f30ba9a0086026a44aa

Yeah. globalnames needs to be removed; it's a legacy effort that I've thought better of. I'll happily take a PR. ^_^

It's still in globalnames.py. Is it intentional?

That file's not used currently, so it doesn't matter.

I see. Thanks.


Broken: verify that you never see a notification that says  "The PR extension is making too many requests [...]"

Testing #4646

I expanded all PRs (~300+) for the VS Code repo and clicked on this button a couple of times:

Looks like I set the internal rate limit too low.

From what I read, this can still happen but less often as we increased the limit, can we call this verified now? @alexr00

To verify:

Install the pre-release version of the extension
Open the Pull Requests view and expand all of the "All Open" query. You'll have to use the "Load more" at the end of the list many times.
Hit the Refresh button on the Pull Requests view once. Verify that you don't get an error notification.

On the microsoft/vscode repo, after clicking "load more" a few times I get the error notification "Échec de la récupération des demandes de tirage (Pull requests) : You have exceeded a secondary rate limit. Please wait a few minutes before you try again."
Pressing refresh after that doesn't cause another error notification to show up.


Import the synonyms of all terms from external resources

Current VEuPathDB ontology retrieved labels and definitions from external OBO Foundry ontologies but importing synonyms/alternative terms are optional. For using synonyms in solr search on the website, we should retrieve the synonym/'alternative term' annotation of the terms from all external ontologies.

I can work on that, but should the "has...synonym" annotations be mapped to 'alternative label' or remain as they are?


optional inline schema forms for editing relationships; use them for …

…permissions editing by default

The immediate problem: nobody can find the "apply to subpages" option for individual user and group permissions. It's buried behind the "edit relationship" button for each person or group you've chosen.
So users assume there isn't one, or they misuse the "apply to subpages" option intended for the overall view permissions (I've seen both scenarios go down).
More generally: while join relationship editing is better in theory in 2.x because it supports real schemas, it's worse because it's hard to find.
My solution here: you can set "inline: true" for any individual field in a joinByArray relationship schema. And, the permissions relationship fields do this by default.
So you wind up with this:
https://dl.dropboxusercontent.com/spa/jfyjetktfp495r1/q1oipf28.png
Which feels like a significant improvement over hunting down the little list icon to open a separate modal to pick one thing.
We have always discouraged complex relationship forms, so I would expect most people who use them to opt for inline: true on all of the fields. For bc I don't want to force it though.


Added initial Dockerfile along with build and run instructions

Proper Docker support was added in v1.3.0.
Thank you.


how to use kubectl logs/exec

i built two k8s cluster, cluster-high  and cluster-low, cluster-low is the virtual-kubelet, cluster-high is the master cluster.
And i had a running pod in virtual-kubelet .
but when i use kubectl logs , it always return error, so i I  wonder how to deploy virtual-kubelet to user kubectl logs.
details
（1）build Binary： virtual-node
# git clone https://github.com/virtual-kubelet/tensile-kube.git
# make provider

（2）run virtual-node
i run virtual-node in cluster-high(master cluster) with these commands。
set env
# export APISERVER_CERT_LOCATION=/root/cluster-low/admin.pem
# export APISERVER_CA_CERT_LOCATION=/root/cluster-low/ca.pem
# export APISERVER_KEY_LOCATION=/root/cluster-low/admin-key.pem
# export KUBELET_PORT=10250

run the command
# ./bin/virtual-node --kubeconfig /root/.kube/config --client-kubeconfig /root/cluster-low/kube-config --enable-controllers "" --log-level debug

By the way:
# cat /root/cluster-low/kube-config
apiVersion: v1
clusters:
- cluster:
    certificate-authority: /root/cluster-low/ca.pem
    server: https://xxx:10285
  name: kubernetes
contexts:
- context:
    cluster: kubernetes
    user: admin
  name: kubernetes
current-context: kubernetes
kind: Config
preferences: {}
users:
- name: admin
  user:
    client-certificate: /root/cluster-low/admin.pem
    client-key: /root/cluster-low/admin-key.pem

in cluster-low, kubelet flags is here
/usr/local/bin/kubelet --address=xxx --port=10250

（3）run pod, and test logs
when i run a pod in virtual-kubelet，i found it return this error:  tls: bad certificate
in cluster-high
# kubectl get pod -n test -o wide
NAME        READY   STATUS    RESTARTS   AGE     IP           NODE              NOMINATED NODE   READINESS GATES
test-pod2   1/1     Running   0          4h14m   <IP_ADDRESS>   virtual-kubelet   <none>           <none>

# kubectl logs test-pod2  -n test
Error from server: Get "https://:10250/containerLogs/test/test-pod2/busbox": remote error: tls: bad certificate

virtual-kubelet had this logs:
2022/05/31 14:36:44 http: TLS handshake error from <IP_ADDRESS>:44578: tls: client didn't provide a certificate

questions
so i want to ask why i cannot use kubectl logs?
（1）is the env: KUBELET_PORT，APISERVER_CERT_LOCATION，APISERVER_CA_CERT_LOCATION，APISERVER_KEY_LOCATION is not set correctly？
（2）i should not run virtual-node in cluster-high(i run it in master1)?  i had try to  run virtual-node in cluster-low, it didn't sucess.

hi， did you fix this problem ? my kubectl logs and kubectl exec still not work

ok ,I have solve the problem.
because my virtual-node isn't run as a pod, so I don't config the VKUBELET_POD_IP，which‘s needed.
then i have the eorror "****  remote error: tls: bad certificate"，which is fixed by change the ca from lower cluster to upper cluster，like this
export APISERVER_CERT_LOCATION=/home/upper-cluster/k8s.cer
export APISERVER_KEY_LOCATION=/home/upper-cluster/k8s.key
export APISERVER_CA_CERT_LOCATION=/home/upper-cluster/k8s.ca


Missing LICENCE information

I could not see which licence you are using in the README file, nor is a LICENSE file present as GitHub suggest: https://help.github.com/articles/open-source-licensing/

Added Apache LICENSE file.


Remove solve export for compat with DifferentialEquations

Roots, DifferentialEquations and Bcube export a solve function; which leads to conflict(s). I have removed to Bcube export for solve to fix the euler_naca example. Since the purpose of Bcube is not to "solve" directly, I think it's ok to call Bcube.solve. Moreover:

the API for AffineFESystem needs to be upgraded (note for live discussion : LinearSolve as a parameter)
as discussed, I will clean a lot of exports in a next PR

Maybe we should use import instead of using for DE for example. We can deal with this later when the API is more mature.


Proximity Spatial Function

[x] do initial port of code
[x] numba-ize port
[x] add proximity unit test
[x] break up my big test into smaller tests
[x] make sure tests pass
[x] pep8 everything
[x] add example notebook for user guide
[x] add documentation
[x] remove max, min, nodata args but provide examples in notebook
[x] add manhattan distance

Looks great, thanks!


emacs: handle some arguments correctly for genericBuild and melpaBuild

Description of changes
See commit messages for more info.
Closes https://github.com/NixOS/nixpkgs/pull/328400 CC @JaviMerino

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[X] Fits CONTRIBUTING.md.

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

Tested that it fixes the issue with emacsPackages.copilot. ✅


Fixing typos in Full.md

r these oopsies in other files too?

Oh, thanks for spotting that! Though just like in the fabric carpet repo the Full.md file is auto generated, so you need to change this in the other files in the docs directory


Provision the client community with access to CSPM

Describe the issue
We wish teams to be able to consume and benefit from the CSPM tool.
Additional context

Cloud Security Posture Management is default configured to consume for authorization AWS Organizational Units, GCP Folders and Azure Management Groups.
In our SEA models, we use the above grouping structures for security policy logical grouping, so we can't use organizational units in the "normal" vanilla way
might be possible to automate via a TF module to automate OU's within CloudGuard but PO would prefer if it could consume tags instead.

Definition of done

Talk to Mark L on the Parks team and use them as a guinea pig for trying this out
Mark should be able to log in via SSO, and only see workload environments that pertain to the scope of his team's work

Our PoC has tested successfully.  Nick C. has completed the setting for Avneet K.
Role and User Group Mapping can scope the user access to their project sets only.
Harleen K. is testing the Dome 9 API call.


Reset the RegExp state on new searches

https://chat.zulip.org/#narrow/stream/9-issues/topic/unresponsive.20frontend
Regular Expression with multiple named capture blocks were not completely parsed out from python_to_js_filter.
The reason is when RegExp.exec is called multiple times, it maintains a lastIndex state and only search from there so that multiple calls don't return the same result.
When the target string is modified, this behaviour sometimes causes skipped matches.
The sample RegExp I posted on the Zulip server's topic:
#cf(?P<contest>[0-9]+)(?P<problem>[A-Z][0-9A-Z]*)

would originally panic from RegExp build error:
> python_to_js_filter("#cf(?P<contest>[0-9]+)(?P<problem>[A-Z][0-9A-Z]*)", "https://xxxxxxx.xxx/xxx/%(contest)s/xxx/%(problem)s")

Thrown:
SyntaxError: Invalid regular expression: /#cf([0-9]+)(?P<problem>[A-Z][0-9A-Z]*)(?![\w])/: Invalid group

because the second capturing group was not matched and replaced.
The new code's output is
> python_to_js_filter("#cf(?P<contest>[0-9]+)(?P<problem>[A-Z][0-9A-Z]*)", "https://xxxxxxx.xxx/xxx/%(contest)s/xxx/%(problem)s")
[ /#cf([0-9]+)([A-Z][0-9A-Z]*)(?![\w])/g,
  'https://xxxxxxx.xxx/xxx/\\1/xxx/\\2' ]

Testing Plan:
The code has only been tested with the example above.

This change is

Closing in favor of #11539 which extends this to add tests; thanks for debugging this @natsukagami!


An option to provide image with sandboxing?

Hi there,
How hard would it be to provide an option to not disable sandboxing? I was trying to use these images to check that some packages install fine in OPAM, and my CI was happy although the package in question was downloading from internet during its installation.
I don't mean to make it the default, or even to publish images with sandboxing on, but if it happened to be easy to provide, then that would allow me to build my own images without having to redo all the work that has been done in here.
Best,
-- Nicolas

I suggest you use the images as-is. Then, there's the script that you can use inside the image, opam-sandbox-enable. Run the script, which will just setup ~/.opamrc, then run opam init --reinit.

Exactly! bubblewrap isn't useful in a container, sandboxing doesn't make much sense in a container either. Our use-case is that with OBuilder, we extract the Docker images to the host filesystem, and we use runc and bubblewrap to provide containerization and sandboxing in a custom way.

It will probably work with docker run --privileged (but you have to trust the container then).


Item names in the catalog don't go to a new line and instead display "..."

Unreleased/Beta CSS Bug report
This definitely isn't a major issue or anything but I thought I'd point it out since it breaks a 2016 catalog theme I use.
Item names in the catalog don't go to a new line and instead display "..."
Steps to reproduce the behavior:

Go to https://www.roblox.com/catalog
See issue

OS: Windows
Browser: Firefox
Script Version: <IP_ADDRESS>
Display resolution: 1920 x 1080

Sorry I dont see the issue. Can you explain it further?

Honestly thinking back I'm not sure why I didn't put this in discussions but I mentioned this since I use a theme that brings back the old catalog, and because this theme makes names for games/catalog items only go on 1 line, and then cut off. It's also inaccurate to 2016 I guess but that's a big stretch


Code splitting via routes

Another future perf question ;)
Is it possible to override the default single script phenomic.js into a chunked build based on routes (and/or layout components)?
https://webpack.github.io/docs/code-splitting.html

I didn't try that yet, but I guess there is nothing to do from Phenomic side, as webpack will handle require.ensure/System.import automatically and create more chunks (in theory).
You may want to check react-router docs as well https://github.com/reactjs/react-router/blob/master/docs/guides/DynamicRouting.md#dynamic-routing

Going to be fixed with #925 (moving to user-land)

User land thing with v1.


Update stationary platform icons

In #626 Heidi proposed 7 icons for adding symbology to the stationary platforms on the campaign flight path maps.
These icons were added in #638 and deployed to production. For example, the latest IMPACTS campaign page:

Some stylistic changes were made to the icons to better render these on the map:

Icons are contained within a circle
Icon circle background features the dark basemap color to provide contrast against the flight path lines
Icon circle border color matches icon color for greater recognition
Legend icons are also encircled for consistency

In  https://github.com/NASA-IMPACT/admg-casei/issues/634#issuecomment-2215385416 @smwingo suggests alternative icons for the Field Site and Permanent Land Site platforms:

Field Site:
observation tower icon
Permanent Land Site:
bold obs tower icon

I suggest that for even greater visual identity/uniqueness between the platforms, we use the following for Permanent Land Site:
[house](https://fontawesome.com/icons/house?f=classic&s=solid
I'm also opening this ticket to capture any other feedback on the icons.
Additional solutions to explore to ensure readability:

Cluster icons on lower zooms
Hide icon, but keep circle on lower zoom
Turn off icon-overlap

currently icons are permitted to overlap as to not hide any; however, this can be visually messy. the alternative does imply that some icons will be hidden at certain zoom levels to not overlap, which could lead to being missed

gahhh icons are so simple but so hard!!
the other notes you have all sound good, but re: the actual icons....here is an update suggestion list,  please ADMG team leave your thoughts here on this thread also...some of these are the same as before (ie: as on heidi's earlier ticket) some are different, and note that i'm including more options as there are more possible platform types than these initial looks have had:
also @LanesGood is it necessary that we use only the "free" icons? i've marked ones below that are labeled "pro" on the site...with a "free" option that could be used if "pro" is not available....
land platforms:

permanent field site:

https://fontawesome.com/icons/warehouse?f=classic&s=solid
https://fontawesome.com/icons/archway?f=classic&s=solid
https://fontawesome.com/icons/tower-cell?f=classic&s=solid

field site:

(pro) https://fontawesome.com/icons/tower-observation?f=classic&s=light
(free) https://fontawesome.com/icons/tower-broadcast?f=classic&s=solid
(free) https://fontawesome.com/icons/compass?f=classic&s=regular

balloon launch site:

https://fontawesome.com/icons/location-pin?f=classic&s=solid

vehicle:

https://fontawesome.com/icons/van-shuttle?f=classic&s=solid

field survey:

https://fontawesome.com/icons/clipboard-list?f=classic&s=solid

water platforms:

ship/boat:  typically these won't be stationary, but if needed:

(pro) https://fontawesome.com/icons/ship?f=classic&s=light
(free) https://fontawesome.com/icons/ship?f=classic&s=solid
(free) https://fontawesome.com/icons/anchor?f=classic&s=solid

permanent water site:

https://fontawesome.com/icons/ferry?f=classic&s=solid

buoys (moored or otherwise,  note that "drifting" buoys might need to be shown as a non-station platform):

(pro) https://fontawesome.com/icons/buoy?f=classic&s=solid
(free) https://fontawesome.com/icons/monument?f=classic&s=solid

air platforms:

not stationary so only the color lines is fine

This looks good and visually explains what type of field method was conducted during the campaign. The color contrast is good but just an idea to avoid clutter is potentialy just using the icon without the bubble around it. The color would still contrast on the basemap but it could potentially de-clutter the map. I think the icons would be slimmer if it was just the icon. Also I agree with what Ashlyn said in slack that we should use a radio tower to represent the permenant ground sites. A house could potentially confuse some of the map audience by making them think its a settlement or neighborhood. In  GIS we used the house symbols to represent settlements and neighborhoods. I think we need the symbols to represent the types of platforms that we are trying to visualize.

Ashlyn via Slack:

I think for the permanent land site I like this one the best. For the field site, I like this one or maybe the compass one.

I agree with Ashlyn for the permanent land site option. For the field site, I think it's best to avoid a structure since that can convey permanence. The compass icon could work best.
I also agree with Eli that it makes sense to connect the icons to platforms as much as possible.
The icons linked for the rest of the land platforms look good to me.
For water platforms, I like this icon for ship/boat and prefer this one for buoys, but it's a pro version icon.
Aesthetically, I think it's best to use icons that are more "filled in" and not just lines because the color & shape will appear more prominently on the map. Eli raises an interesting point about the circle borders. Might be good to try a mock up without the circles just to see what it looks like? I think I would prefer keeping the borders, but would like to see the other option.

These are all excellent suggestions. I agree with the assertion that the icons should be filled/more solid vs. lineicons for consistency, but other than that I defer to you all on the appropriate linkage between platform and icon.
I've sorted all of the icons mentioned above into a miro board for voting. Please vote with one dot per category. You can place your dot next to the icon; the originals are above, and the proposed are below.

I also pasted screenshots in the same miro board of the basemaps featuring icons with versus without a circle background. We added the circle background in development after noting that the flight paths made the icons difficult to distinguish when there were a number of paths and icons overlapping. I would suggest that the background with a border makes the icon more distinguishable.

And the winners are!
Permanent Land Site: tower-cell
Vehicles: unchanged
Balloon: unchanged
Field Site: compass
Field Survey: unchanged
Permanent Water: unchanged
Moored buoy: buoy
Ship: ship
I'll update these icons in the mapbox style and the codebase.


PatternFly milestone update

PatternFly milestone update
https://issues.redhat.com/browse/COST-3254

Codecov Report

Merging #2700 (7731797) into main (e75a3e5) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##             main    #2700    +/-   ##
========================================
  Coverage   65.36%   65.36%
========================================
  Files         453      453
  Lines        9015     9015
  Branches     2103     1960   -143
========================================
  Hits         5893     5893
  Misses       3119     3119
  Partials        3        3

Continue to review full report at Codecov.

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


Fixed the gopath for github

Since you said it is moved on the github, I wanted to fix the paths for downloading and importing the package

Sorry, wrong import path!

@mustafaakin Thanks for noticing this. You nearly had the import path correct. It should be github.com/kshlm/gogfapi/gfapi. If you fix that, I'd merge this.

Fixed it now.

Thanks @mustafaakin


Only passthrough_errors if PROPAGATE_EXCEPTIONS

See pallets/werkzeug#954

This change is

Should this be backported to 0.11? Seems pretty safe.

It's technically a behavior change so I'd rather not.
On 27 August 2016 18:57:03 CEST, Miguel Grinberg<EMAIL_ADDRESS>wrote:

Should this be backported to 0.11? Seems pretty safe.
--
You are receiving this because you modified the open/close state.
Reply to this email directly or view it on GitHub:
https://github.com/pallets/flask/pull/1996#issuecomment-242928228

--
Sent from my Android device with K-9 Mail. Please excuse my brevity.


WFCORE-1374 - use posix syntax for --add-exports that works with launcher

This way launcher doesn't choke on parameters and most of testsuite runs.

JDK9 CI run https://ci.wildfly.org/viewLog.html?buildId=31796&tab=buildResultsDiv&buildTypeId=WildFlyCore_MasterLinuxJdk9


feat!: send multiples transactions to the network

Closes: #2361

Thanks for taking this on @mvares , I think there needs to be more discussion around the issue first before beginning any work on it as it's quite complex.


deps: bump kube to 1.23.0

Let's make the life easier for PAO, which imports this package.
Signed-off-by: Francesco Romani<EMAIL_ADDRESS>

/cc @yanirq

/retest

depends on https://github.com/openshift-kni/debug-tools/pull/48


Unexpected token � in JSON at position 0

To reproduce:

yo code
cd ext
npm test

Downloaded VS Code into /Users/user/Desktop/ext/.vscode-test/vscode-darwin-1.69.2
objc[23438]: Class WebSwapCGLLayer is implemented in both /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebCore.framework/Versions/A/Frameworks/libANGLE-shared.dylib (0x7ffb55368ec8) and /Users/user/Desktop/ext/.vscode-test/vscode-darwin-1.69.2/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libGLESv2.dylib (0x1119079c8). One of the two will be used. Which one is undefined.
[main 2022-07-29T12:19:15.229Z] update#ctor - updates are disabled by the environment
2022-07-29 16:19:17.548 Code Helper (Renderer)[23441:980710] CoreText note: Client requested name ".NewYork-Regular", it will get Times-Roman rather than the intended font. All system UI font access should be through proper APIs such as CTFontCreateUIFontForLanguage() or +[NSFont systemFontOfSize:].
2022-07-29 16:19:17.549 Code Helper (Renderer)[23441:980710] CoreText note: Set a breakpoint on CTFontLogSystemFontNameRequest to debug.
[main 2022-07-29T12:19:18.496Z] Starting extension host with pid 23486 (fork() took 3 ms).
Loading development extension at /Users/user/Desktop/ext
Unexpected token � in JSON at position 0

  Extension Test Suite
    ✔ Sample test
  1 passing (220ms)
[main 2022-07-29T12:19:22.144Z] Waiting for extension host with pid 23486 to exit.
[main 2022-07-29T12:19:22.226Z] Extension host with pid 23486 exited with code: 0, signal: null.
Exit code:   0
Done

I have the same problem with the same way to reproduce. Sometimes, it shows different error messages.
  Extension Test Suite
    ✔ Sample test
  1 passing (1ms)
[main 2022-08-07T03:44:10.137Z] Waiting for extension host with pid 68994 to exit.
[main 2022-08-07T03:44:10.154Z] Extension host with pid 68994 exited with code: 0, signal: null.
Unexpected token G in JSON at position 0
Exit code:   0
Done

  Extension Test Suite
    ✔ Sample test
  1 passing (1ms)
[main 2022-08-07T03:46:00.886Z] Waiting for extension host with pid 69872 to exit.
Cannot call write after a stream was destroyed: Error: Cannot call write after a stream was destroyed
    at __node_internal_captureLargerStackTrace (node:internal/errors:464:5)
    at new NodeError (node:internal/errors:371:5)
    at errorBuffer (node:internal/streams/writable:517:14)
    at afterWrite (node:internal/streams/writable:501:5)
    at onwrite (node:internal/streams/writable:477:7)
    at WriteWrap.onWriteComplete [as oncomplete] (node:internal/stream_base_commons:91:12)
[main 2022-08-07T03:46:00.894Z] Extension host with pid 69872 exited with code: 0, signal: null.
Exit code:   0
Done

  Extension Test Suite
    ✔ Sample test
  1 passing (1ms)
[main 2022-08-07T03:45:42.531Z] Waiting for extension host with pid 69584 to exit.
Cannot call write after a stream was destroyed: Error: Cannot call write after a stream was destroyed
    at __node_internal_captureLargerStackTrace (node:internal/errors:464:5)
    at new NodeError (node:internal/errors:371:5)
    at errorBuffer (node:internal/streams/writable:517:14)
    at afterWrite (node:internal/streams/writable:501:5)
    at onwrite (node:internal/streams/writable:477:7)
    at WriteWrap.onWriteComplete [as oncomplete] (node:internal/stream_base_commons:91:12)
[main 2022-08-07T03:45:42.541Z] Extension host with pid 69584 exited with code: 0, signal: null.
disposed: Error: disposed
    at S.requestPromise (vscode-file://vscode-app/Users/shuangwu/try-ext/.vscode-test/vscode-darwin-arm64-1.70.0/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:24:50737)
    at Object.call (vscode-file://vscode-app/Users/shuangwu/try-ext/.vscode-test/vscode-darwin-arm64-1.70.0/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:24:50574)
    at Proxy.<anonymous> (vscode-file://vscode-app/Users/shuangwu/try-ext/.vscode-test/vscode-darwin-arm64-1.70.0/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:24:8764)
    at getEnvironment (vscode-file://vscode-app/Users/shuangwu/try-ext/.vscode-test/vscode-darwin-arm64-1.70.0/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:81:7557)
    at Object.call (vscode-file://vscode-app/Users/shuangwu/try-ext/.vscode-test/vscode-darwin-arm64-1.70.0/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:24:8381)
    at onPromise (vscode-file://vscode-app/Users/shuangwu/try-ext/.vscode-test/vscode-darwin-arm64-1.70.0/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:23:4907)
    at onRawMessage (vscode-file://vscode-app/Users/shuangwu/try-ext/.vscode-test/vscode-darwin-arm64-1.70.0/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:23:4283)
    at vscode-file://vscode-app/Users/shuangwu/try-ext/.vscode-test/vscode-darwin-arm64-1.70.0/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:23:3564
    at S.invoke (vscode-file://vscode-app/Users/shuangwu/try-ext/.vscode-test/vscode-darwin-arm64-1.70.0/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:19:145)
    at m.deliver (vscode-file://vscode-app/Users/shuangwu/try-ext/.vscode-test/vscode-darwin-arm64-1.70.0/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:19:2266)
    at w.fire (vscode-file://vscode-app/Users/shuangwu/try-ext/.vscode-test/vscode-darwin-arm64-1.70.0/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:19:1844)
    at MessagePort.Z (vscode-file://vscode-app/Users/shuangwu/try-ext/.vscode-test/vscode-darwin-arm64-1.70.0/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:17:23629)
Exit code:   0
Done

Though the message does not fail the tests, it significantly pollute the log. I believe this is caused by some sort of race condition.
Environment

macOS 12.4
engine.vscode: 1.69.0
@vscode/test-electron: 2.1.5

I seen the same in my own test suite and I was wondering where it was coming from. Hopefully someone would look at it and fix it. Noise running tests is dangerous.

I've seen this before, but don't reproduce it in the latest 1.72.0. Please let me know if you hit it again.

HI @connor4312 I can still see this in 1.72.0.

I'm getting it on 1.76.1

This seems to be fixed (tried with 1.85.2).


InterfacePostProcessor HS2PS crashed.

Issue Description
What did you expect to see happen?
InterfacePostProcessor should run
What did you see instead?
/Users/wangc/projects/raven/framework/DataObjects/DataSet.py:614: FutureWarning: calling len() on an xarray.Dataset will change in xarray v0.11 to only include data variables, not coordinates. Call len() on the Dataset.variables property instead, like ``len(ds.variables)``, to preserve existing behavior in a forwards compatible manner.
  if self._data is None or len(self._data) == 0:
Exception in thread 0:
Traceback (most recent call last):
  File "/Users/wangc/miniconda2/envs/raven_libraries/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/Users/wangc/miniconda2/envs/raven_libraries/lib/python2.7/threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/Users/wangc/projects/raven/framework/Runners/SharedMemoryRunner.py", line 135, in <lambda>
    self.thread = threading.Thread(target = lambda q, *arg : q.append(self.functionToRun(*arg)), name = self.identifier, args=(self.subque,)+tuple(self.args))
  File "/Users/wangc/projects/raven/framework/Models/PostProcessor.py", line 229, in evaluateSample
    returnValue = (Input, self.interface.run(Input))
  File "/Users/wangc/projects/raven/framework/PostProcessors/DataMining.py", line 550, in run
    Input = self.inputToInternal(inputIn)
  File "/Users/wangc/projects/raven/framework/PostProcessors/DataMining.py", line 364, in inputToInternal
    return self.inputToInternalForHistorySet(currentInput)
  File "/Users/wangc/projects/raven/framework/PostProcessors/DataMining.py", line 259, in inputToInternalForHistorySet
    return self.inputToInternalForPreProcessor(currentInput)
  File "/Users/wangc/projects/raven/framework/PostProcessors/DataMining.py", line 330, in inputToInternalForPreProcessor
    preProcessedData = self.PreProcessor.interface.run(tempData)
  File "/Users/wangc/projects/raven/framework/PostProcessors/InterfacedPostProcessor.py", line 136, in run
    inputTypes = set([inp.type for inp in inputIn])
AttributeError: 'dict' object has no attribute 'type'

Do you have a suggested fix for the development team?
Please attach the input file(s) that generate this error.  The simpler the input, the faster we can find the issue.
Test: doc/workshop/timeDepDataMining/inputs/TD_KMeans.xml

For Change Control Board: Issue Review
This review should occur before any development is performed as a response to this issue.

[x] 1. Is it tagged with a type: defect or improvement?
[x] 2. Is it tagged with a priority: critical, normal or minor?
[x] 3. If it will impact requirements or requirements tests, is it tagged with requirements?
[x] 4. If it is a defect, can it cause wrong results for users? If so an email needs to be sent to the users.
[x] 5. Is a rationale provided? (Such as explaining why the improvement is needed or why current code is wrong.)

For Change Control Board: Issue Closure
This review should occur when the issue is imminently going to be closed.

[x] 1. If the issue is a defect, is the defect fixed?
[x] 2. If the issue is a defect, is the defect tested for in the regression test system?  (If not explain why not.)
[x] 3. If the issue can impact users, has an email to the users group been written (the email should specify if the defect impacts stable or master)?
[x] 4. If the issue is a defect, does it impact the latest stable branch? If yes, is there any issue tagged with stable (create if needed)?
[x] 5. If the issue is being closed without a merge request, has an explanation of why it is being closed been provided?

checklist is good, and issue can be closed with PR#1886


Added docker files to main repo. Dockerfiles or frontend and backend …

…that clone those repos to containers and docker-compose to build and network the containers.

Tested and works OK