Fix delayed subscription missing first message and change topic name

Fixes issue https://github.com/BehaviorTree/BehaviorTree.ROS2/issues/51

For delayed subscriptions (only connect on tick) get the last message
If topic name changes, actually update subscription
Also includes https://github.com/BehaviorTree/BehaviorTree.ROS2/pull/44

Thanks, but I would not customize the retention policy through inheritance.
Also, it is not very clear what the intent is. What about adding a parameter in the constructor, such as bool latching or change the virtual function to override to bool isLatching() const?

It is more flexible (some more discussion in https://github.com/BehaviorTree/BehaviorTree.ROS2/pull/42). For example a colleague wanted to clear it based on a port value, this can easily be added in the overridden definition, although for those particular use cases I think it was better to just define 2 actions
Maybe there are other uses cases basing it on the content of the message itself ... but haven't hit that myself yet


💡 [REQUEST] - Fix an issue with the Demo

Describe the feature
Hi there!
The Demo in stack blitz has an issue that can confuse and mislead people on how to use quasar with nuxt(or nuxt in general).
The demo at the moment is built like so:
app.vue
<template>
  <NuxtLayout />
</template>

layouts/default.vue
<template>
  <q-layout view="lHh Lpr lFf">
  ....
    <q-page-container>
      <NuxtPage />
    </q-page-container>
  </q-layout>
</template>

pages/index.vue
<template>
<q-page class="q-pl-lg">
   ...
</q-page>
</template>

This is not how it should be and actually prevents from using different layouts.
The correct way to do it(according to Nuxt docs) is:
app.vue
<template>
  <NuxtPage />
</template>

layouts/default.vue
<template>
  <q-layout view="lHh Lpr lFf">
  ....
    <q-page-container>
      <slot />
    </q-page-container>
  </q-layout>
</template>

pages/index.vue
<template>
  <div>
    <NuxtLayout>
      <q-page class="q-pl-lg">
     ...
      </q-page>
    </NuxtLayout>
  </div>
</template>

This gives the flexibility to use different layouts with pages by using
<NuxtLayout name="other-layout">
Additional information

[X] Would you be willing to help implement this feature?
[ ] Does this feature have a potential to break existing features?

Thanks. I made it similar to documentation example here instead of using <NuxtLayout> directly in pages.

Ohh i actually missed that, sorry!


Error thrown while using run option in the new version:

Microsoft PowerToys version
0.43.3
Running as admin

[X] Yes

Area(s) with issue?
PowerToys Run
Steps to reproduce
use key to launch run option & click any file results or application results... try opening them... results into error thrown on the running window:

✔ Expected Behavior
should open files or applications
❌ Actual Behavior
error thrown
Other Software
No response

Duplicate of #11898

Yes we have a hot fix coming shortly to address this. Thanks!


force:package:version:create doesn't bump version number after last created version has the branch changed using force:package:version:update

Summary
sfdx force:package:version:create doesn't create the version using the next build number if the last created package version has the branch changed by the command sfdx force:package:version:update
Steps To Reproduce:

In sfdx-project.json file, set versionNumber of the package to 0.0.0.NEXT;
run sfdx force:package:version:create -p id-of-the-package;
write down the id of the created version id-of-created-version;
run sfdx force:package:version:update -p id-of-created-version --branch any-text-here;
run sfdx force:package:version:create -p id-of-the-package;

Expected result

In sfdx-project.json, packageAliases should looks like:

{
<EMAIL_ADDRESS>"id-of-the-first-version",
<EMAIL_ADDRESS>"id-of-the-second-version"
}

In sfdx force:package:version:list -p id-of-the-package result should looks like

Version          Subscriber Package Version Id          Branch
0.0.0-1           id-of-the-first-version                       any-text-here
0.0.0-2           id-of-the-second-version

Actual result

In sfdx-project.json, packageAliases it looks like:

{
<EMAIL_ADDRESS>"id-of-the-second-version"
}

In sfdx force:package:version:list -p id-of-the-package result should looks like

Version          Subscriber Package Version Id          Branch
0.0.0-1           id-of-the-first-version                       any-text-here
0.0.0-1           id-of-the-second-version

System Information

Which shell/terminal are you using? (e.g. bash, zsh, powershell 5, powershell 7, cmd.exe, etc.)

If you are using sfdx

Run sfdx version --verbose --json

If you are using sf

Run sf version --verbose --json

Paste the output here

{
  "cliVersion": "sfdx-cli/7.166.1",
  "architecture": "wsl-x64",
  "nodeVersion": "node-v16.14.0",
  "pluginVersions": [
    "@oclif/plugin-autocomplete 1.3.0 (core)",
    "@oclif/plugin-commands 2.2.0 (core)",
    "@oclif/plugin-help 5.1.12 (core)",
    "@oclif/plugin-not-found 2.3.1 (core)",
    "@oclif/plugin-plugins 2.1.0 (core)",
    "@oclif/plugin-update 3.0.0 (core)",
    "@oclif/plugin-version 1.1.2 (core)",
    "@oclif/plugin-warn-if-update-available 2.0.4 (core)",
    "@oclif/plugin-which 2.1.0 (core)",
    "alias 2.1.0 (core)",
    "apex 1.2.0 (core)",
    "auth 2.2.3 (core)",
    "community 2.0.1 (core)",
    "config 1.4.17 (core)",
    "custom-metadata 2.0.0 (core)",
    "data 2.1.2 (core)",
    "generator 2.0.2 (core)",
    "info 2.0.1 (core)",
    "limits 2.0.1 (core)",
    "org 2.2.0 (core)",
    "packaging 1.5.1 (core)",
    "schema 2.1.1 (core)",
    "signups 1.2.0 (core)",
    "source 2.0.13 (core)",
    "telemetry 2.0.0 (core)",
    "templates 55.1.0 (core)",
    "trust 2.0.3 (core)",
    "user 2.1.0 (core)",
    "@salesforce/sfdx-plugin-lwc-test 1.0.0 (core)",
    "salesforce-alm 54.8.1 (core)"
  ],
  "osVersion": "Linux <IP_ADDRESS>-microsoft-standard-WSL2",
  "shell": "fish",
  "rootPath": "/home/saulo/.asdf/installs/nodejs/16.14.0/.npm/lib/node_modules/sfdx-cli"
}

Additional information
Feel free to attach a screenshot.

hey @sauloefo, we're currently working on the beta versions of the packaging commands and would love to fix it there. Could you please try using the force:package:beta:version:create command and see if this bug is still present?

@sauloefo all the beta has been live for awhile.  Any luck?  Is this still reproducible?

Hi @mshanemc I am facing the same issue, actually we have CI-CD pipelines where we create workspace-server then install latest version of SFDX and then create new unlocked package version.
I also tried sfdx package version create ... but still same. It is crucial for us, and we want to track old versions because we need to follow SOX compliance.

HI @mshanemc do we have an update on this, it is getting critical for us as we are losing the tracking system, as we track all changes according to version

@honeyverma - if this is a critical issue I would definitely go through the support channels so a case can be created for the packaging team, who is the best team to address this.  Since there is no SLA with GitHub issues I'll do my best to at least reproduce this and if something stands out I'll try to get a fix in.

@honeyverma - I reproduced the bug with CLI v7.197.8 and packaging plugin v1.16.5.  I highly recommend opening a support case with the packaging team about this since that is how they intake issues.

HI @shetzel thanks for the inputs and confirmation, I am going to open a ticket and refer this issue link as well.

Case number: 44544046

Apologies for being late to this thread but what @sauloefo describes is exactly what I would expect the behavior to be.
If you build a package version with a branch designation of NULL, you will get<EMAIL_ADDRESS>and a corresponding record id (i.e., '04t000000000001AAA').
If you then update package version '04t000000000001AAA' to now have a branch, then the DEV HUB is aware of this change; not the local sfdx-project.json.
If you have not updated the alias in the sfdx-project.json, the alias is still<EMAIL_ADDRESS>When you create a new package version with a branch designation of NULL, the DEV HUB will pick the next available version number for that MAJOR.MINOR.PATCH level specified in the sfdx-project.json ...on the branch designated in the command -- which is NULL.  Since there is currently no package version on this branch designation of NULL where the MAJOR.MINOR.PATCH is "0.0.0", then the DEV HUB will create a package version and give it the version number which is "one build number higher than the previous version number with the same branch designation."  Since, in this case, there are currently no package version builds on this MAJOR.MINOR.PATCH version on the branch designation of NULL, then the DEV HUB would assign the "build number" for this new package version to be "1"... thus the new package version number is "0.0.0-1" with Branch designation of NULL.
The CLI is updating the sfdx-project.json with the new package version number.  It will work with the existing packageAliases in the sfdx-project.json.  Since it treats that JSON object much like a "set", when it adds the new package version alias, it would -- in this scenario -- overwrite the original value.
The workaround that I would suggest is that when you manually add a branch designation to an existing package version in the DEV HUB, manually update the packageAlias of that package version to include the branch designation.  In the example above, I would suggest renaming the packageAlias to be<EMAIL_ADDRESS>I would say that this very much is "working as designed".
Please let me know if you have questions.
cc: @WillieRuemmele , @mshanemc, @shetzel, and @honeyverma

Link to known issue: https://issues.salesforce.com/issue/a028c00000ixJuFAAU/~
W-13185383

The packaging team has determined that this behavior is working as designed.  Packaging documentation will be updated to clarify this.


Place for source file(s) in header

For working with multiple las files per well and across file-systems, it would be good to have a place in the header where the source directory and the source filename are stored. Date and time of that file would be good as well.

Fixed in develop

The filename is stored in w.fname


supertest & mocha problems with integration tests

I am having a bad time trying to know what is going on here.
I'm setting some integration tests with mocha & supertest.
My problem is that the time showed on each "it" block is not reliable.
If I copy paste the same test, always, the first test takes like 5 times more. I know this must be something Im missing here, but can't understand why.
I know about require cache issue, but I don't think is related with my problem.
This is my test:
var express = require( 'express' );
var supertest = require( 'supertest' );
var should = require('should');

describe( 'dummy describe', function() {

  var app, request;

  beforeEach(function() {
    app = express();
    app.get( '/', function( req, res ) {
      res.send( 'hey' );
    });
    request = supertest(app)
      .get('/')
      .set('User-Agent', 'my cool browser')
      .set('Accept', 'text/plain');
  });

  it( 'should do a dummy test', function( done ) {
    request
      .end( function( err, res ) {
        res.status.should.equal( 200 );
        res.text.should.equal( 'hey' );
        done();
    });
  });

  it( 'should do a dummy test', function( done ) {
    request
      .end( function( err, res ) {
        res.status.should.equal( 200 );
        res.text.should.equal( 'hey' );
        done();
    });
  });

});

Note that test is exactly the same.
This are my results:

Even more, if I add more tests (same test); I still get the same results:

I don't think this is a normal behaviour, since it don't give me a reliable metric.
So, question is who is caching here ? or why is this happening ?
Not sure if this issue is related with Mocha, supertest, node's http module, or what.
Thanks in advance !
stack overflow question

+1

Change beforeEach  to before

@aimer1124 No, thats not correct. Thats not what I am looking for.
Related: https://github.com/nodejs/help/issues/173

Not fixed, but closing it anyway. This is probably due to time to set sockets


How hide box message text?

Hi,
how can i hide the box message text (image is in attachment) to avoid person insert text instead select one menu's voice?
I'm using this code:
$keyboard = new Keyboard(['Mostrami il prossimo', 'Elenco Categorie', 'Torna al menù']);
$keyboard->setOneTimeKeyboard(true)->setResizeKeyboard(true);
$data['reply_markup'] = $keyboard;
Thanks

As far as I know that isn't possible!
Basically, when a user clicks a keyboard button, it's as if they wrote that text as a message.
So if you want to prevent any other text, you'll need to filter / limit it to the values from your buttons.

Ok, thanks.


Create open-sesame

Adding repository for Open-Sesame, a plugin that adds player animations when opening and closing doors.

Edit your already opened pr by pushing new commits to the branch

Closing this PR as it is inactive.


Resume checkpoint problem. Question in stackoverflow no answer

I want to restore model parameters in the checkpoint file.
But I found
NotFoundError (see above for traceback): Key wavenet/dilated_stack/layer10/gc_filter not found in checkpoint
I tried to read the model parameters, but found that I could not read it. The error was strange. I couldn't find the same error on google. I didn't seem to be able to do anything about it.
UnimplementedError Traceback (most recent call last)
<ipython-input-21-bef7e856f26a> in <module>()
     10 for key in (var_to_shape_map):
     11 print("tensor_name: ", key)
---> 12 print(reader.get_tensor(key))

~/PSnet/env/lib/python3.5/site-packages/tensorflow/python/pywrap_tensorflow.py in get_tensor(self, tensor_str)
    144 from tensorflow.python.util import compat
    145 return CheckpointReader_GetTensor(self, compat.as_bytes(tensor_str),
--> 146 status)
    147
    148 CheckpointReader_swigregister = _pywrap_tensorflow.CheckpointReader_swigregister

/usr/lib/python3.5/contextlib.py in __exit__(self, type, value, traceback)
     64 if type is None:
     65 try:
---> 66 next(self.gen)
     67 except StopIteration:
     68 return

~/PSnet/env/lib/python3.5/site-packages/tensorflow/python/framework/errors_impl.py in raise_exception_on_not_ok_status()
    464 None, None,
    465 compat.as_text(pywrap_tensorflow.TF_Message(status)),
--> 466 pywrap_tensorflow.TF_GetCode(status))
    467 finally:
    468 pywrap_tensorflow.TF_DeleteStatus(status)

UnimplementedError: Unsupported tf type half

Please keep in mind that the TensorFlow GitHub Issues page is for tracking bugs and feature requests. It is not a way to escalate a Stack Overflow support question that is not getting enough attention. Thanks!

@reedwm
I was thinking that this is not a bug？ what I describe is not clear enough. How should this problem be described

Can you clarify exactly what the issue is and how to reproduce it? What model are you trying to restore? How did you get the checkpoint?

@reedwm
I was thinking that this is not a bug？ what I describe is not clear enough. How should this problem be described

Hi, were you able to solve this issue?
I have a similar problem to you.
when i run
pywrap_tensorflow.get_tensor
my code will exit on
def CheckpointReader_GetTensor(reader, name):
C:\public\study\anaconda\python.exe "C:\Program Files\JetBrains\PyCharm Community Edition 2020.1.1\plugins\python-ce\helpers\pydev\pydevd.py" --multiproc --qt-support=auto --client <IP_ADDRESS> --port 14962 --file C:/public/study/workplace/github/bert4keras/examples/task_conditional_language_model.py
pydev debugger: process 12012 is connecting

Connected to pydev debugger (build 201.7223.92)
2020-05-14 20:22:41.263616: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cudart64_100.dll
Using TensorFlow backend.
2020-05-14 20:31:06.067683: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library nvcuda.dll
2020-05-14 20:31:06.096301: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1618] Found device 0 with properties:
name: GeForce RTX 2070 SUPER major: 7 minor: 5 memoryClockRate(GHz): 1.815
pciBusID: 0000:01:00.0
2020-05-14 20:31:06.096527: I tensorflow/stream_executor/platform/default/dlopen_checker_stub.cc:25] GPU libraries are statically linked, skip dlopen check.
2020-05-14 20:31:06.096909: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1746] Adding visible gpu devices: 0
2020-05-14 20:31:06.097213: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2
2020-05-14 20:31:06.099160: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1618] Found device 0 with properties:
name: GeForce RTX 2070 SUPER major: 7 minor: 5 memoryClockRate(GHz): 1.815
pciBusID: 0000:01:00.0
2020-05-14 20:31:06.099380: I tensorflow/stream_executor/platform/default/dlopen_checker_stub.cc:25] GPU libraries are statically linked, skip dlopen check.
2020-05-14 20:31:06.099778: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1746] Adding visible gpu devices: 0
2020-05-14 20:31:06.549633: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1159] Device interconnect StreamExecutor with strength 1 edge matrix:
2020-05-14 20:31:06.549771: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1165]      0
2020-05-14 20:31:06.549820: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1178] 0:   N
2020-05-14 20:31:06.550325: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1304] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 6283 MB memory) -> physical GPU (device: 0, name: GeForce RTX 2070 SUPER, pci bus id: 0000:01:00.0, compute capability: 7.5)

Process finished with exit code -1073741819 (0xC0000005)

win10 2070super tf 2.0  cuda 10.0 cudnn 7.4.2 vs2019 vs2015

Opening a new Github issue or asking on StackOverflow would be best, especially considering the error is different. If you do so, please give a code sample to reproduce the issue.


Wrong type in Entity corridor

There's a type error when creating an Entity with a corridor. Creating an Entity like this (from a Cesium sandcastle demo).
<Entity
    position={Cartesian3.fromDegrees(20, 20)}
    corridor={{
        positions: Cartesian3.fromDegreesArray([
            -100.0, 40.0,
            -105.0, 40.0,
            -105.0, 35.0,
        ]),
        width: 200000.0,
        material: Color.RED.withAlpha(0.5)
    }}
/>

This gives the following error for the positions property: Type 'Cartesian3[]' is not assignable to type 'Cartesian3 | Property | undefined'. Clearly, the positions field should accept an array of positions(Cartesian3[]).

Thank you for reporting. I will check it soon!

https://github.com/CesiumGS/cesium/blob/main/Source/DataSources/CorridorGraphics.js#L14
This bug is caused by Cesium, because Resium just refers to type definitions of Cesium. It would be great to open a issue or send a pull request to Cesium.


csvjson tries to cast to float

Fixes #412. Here's a quick fix that does not change the csvjson interface and tries to cast every property to a float before falling back to a string.

Not the right fix. Keeping #412 open though.

:+1:


Improve incremental compilation on multi module project

Fixes #810
Consider a multimodule build with subproject core and subproject app where app depends on core. When there are source code changes on core that does NOT cause invalidations on app then the current Analysis is not updated to include the subproject ("external") changes. Subsequent incremental compilations keep considering the changes despite nothing changing.
The fix is to update the Analysis file with the external changes even if there are no invalidations in the current module.
Note: In other words, this change would in some cases introduce changes to Analysis file when the output JAR itself would be identical.

To validate this pull request against other sbt modules, please visit this link.

@eed3si9n ready for a 2nd review

Overall LGTM. Could you squash the commits and provide a descriptive commit message explaining the background/motive for the changes plz?
I'll keep this open so others will also have the change to review.

I haven't been following.  Is this to remove a log statement?

Overall LGTM. Could you squash the commits and provide a descriptive commit message explaining the background/motive for the changes plz?
I'll keep this open so others will also have the change to review.

Done

I haven't been following. Is this to remove a log statement?

No. I updated the PR description

@jtjeferreira Thanks for updating the commit!
@dwijnand I added a note to the description that might be relevant to provenance/quickAPI that you might want to double check. In the situation core adds a method that app does NOT use, no cycles are triggered for app and therefore the output JAR path remains the same, but the associated Analysis file will change, which means there will be 1-to-n relationship with the output JAR and Analysis file.

I'm guessing it should be ok because the invariance of "different API hash means different JAR" would remain the same.


S3 Head Method Panics

Steps to Reproduce
My system:

rustc 1.11.0 (9b21dcd6a 2016-08-15)
cargo 0.12.0-nightly (6b98d1f 2016-07-04)
Linux 3.13.0-95-generic Ubuntu 14.04, x86_64 GNU/Linux
OpenSSL 1.0.1f 6 Jan 2014

Cargo.toml:
[package]
name = "s3-bytes"
version = "0.1.0"
authors = ["Bryce Fisher-Fleig<EMAIL_ADDRESS>
[dependencies]
rusoto = {version = "0.16.0", features = ["s3"]}

src/main.rs
extern crate rusoto;

use rusoto::{DefaultCredentialsProvider, Region};
use rusoto::s3::{S3Client, HeadObjectRequest, HeadObjectOutput};

fn main() {
    let provider = match DefaultCredentialsProvider::new() {
        Ok(provider) => provider,
        Err(err) => panic!("Unable to get defaut credentials: {:?}", err),
    };
    let client = S3Client::new(provider, Region::UsWest1);
    let size_req = HeadObjectRequest{
      bucket: "bryce-fisher-fleig-org-nerdtree".to_string(),
      key: "683EE27869BF81A5DAB071DB559E51A2.txt".to_string(),
      ..Default::default()
    };
    match client.head_object(&size_req) {
        Ok(HeadObjectOutput{content_length, ..}) => println!("Content length: {}", content_length),
        Err(err) => println!("Arg! Something went wrong: {:?}", err),
    };
}

Result
Executing cargo run:
     Running `target/debug/s3-bytes`
thread 'main' panicked at 'Error dispatching request: HttpDispatchError { message: "Unsupported HTTP verb HEAD" }', ../src/libcore/result.rs:788
note: Run with `RUST_BACKTRACE=1` for a backtrace.
error: Process didn't exit successfully: `target/debug/s3-bytes` (exit code: 101)

Expected Output
I would expect to see something like Content Length: 6543.
Observations

I'm not sure where this panic is happening (in rusoto or hyper), but I wish it didn't happen
Replacing all the heads with gets in my rust code above seems to work for me as expected. (However, I don't want to download the entire object; only find the size of object in question)
Running a similar command through the aws cli provides this output:

$ aws s3api head-object --bucket bryce-fisher-fleig-org-nerdtree --key index.html
{
    "AcceptRanges": "bytes",
    "ContentType": "text/html",
    "LastModified": "Thu, 04 Aug 2016 19:04:38 GMT",
    "ContentLength": 6543,
    "ETag": "\"fbbe36c731cfa5ec8e3b4c36bedacf0a\"",
    "StorageClass": "REDUCED_REDUNDANCY",
    "Metadata": {}
}

Thanks for the repro, helps quite a lot.
We currently don't support HEAD: https://github.com/rusoto/rusoto/blob/master/src/request.rs#L62 .
We should!  I'll take a look tonight if nobody else grabs this.

I see! Thanks so much for quick response @matthewkmayer

PR fixes:

S3 panicking when things don't go right
HEAD object method now works

@brycefisher can you give the PR branch a try to ensure it works?

Yes! Will check later today.


Dev - Highlighted border is applied to checkbox after unchecking the checkbox

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Click on 'Profile' avatar
Click on 'Workspace'
Open a workspace that has members
Click on 'Members'
Select one of the members
Uncheck the selected member

Expected Result:
Border highlight shouldn't be applied to the unchecked checkbox
Actual Result:
Border highlight is applied to the unchecked checkbox
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[x] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: 1.3.35-5 Dev
Reproducible in staging?: n/a
Reproducible in production?: n/a
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/93399543/9398f308-6c13-407c-883a-fed9b570e391
Expensify/Expensify Issue URL:
Issue reported by: @Natnael-guchima
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1688232509791849
View all open jobs on GitHub

I couldn't reproduce this on Staging. Going to see if anyone else can reproduce on Dev

Ah, you reproduced on dev @huzaifa-99 ?

Great, I've already asked in Slack, and will look out for that. Thanks for the help here you two

@conorpendergrast the offending PR that has introduced this bug is being reverted here 2hrs ago https://github.com/Expensify/App/pull/22124

Hello @conorpendergrast, the issue that has introduced this bug is reverted based on this another report https://github.com/Expensify/App/issues/22119 which was reported on July 3rd, and mine was reported on July 1st. This is to check if I am eligible for bonus reporting.
Thanks.

Yep, I agree with that @Natnael-Guchima

Offer sent via Upwork - https://www.upwork.com/nx/wm/offer/25391651

Accepted! Thanks @conorpendergrast

Paid via this contract, and contract ended: https://www.upwork.com/nx/wm/workroom/34119626/overview
All done, thanks @Natnael-Guchima!


app doesn't work in sepal

Due to a recent update in geemap (see: geemap PR #2134), the earthengine-api fork is now overshadowed by this new requirement

fixed with https://github.com/sepal-contrib/sdg_15.3.1/commit/da0eb1a93fb885970d3c6a5c508f8b4033caa761


plugins/none-ls: add gersemi package

Gersemi is packaged in nixpkgs since c7b97f1

@mergify queue


ImportError: cannot import name 'imread'

ImportError: cannot import name 'imread'

i tried to install  pip3 install scipy=1.1.0  but it doesn't work..
ERROR: Invalid requirement: 'scipy=1.1.0'
Hint: = is not a valid operator. Did you mean == ?


How can I use UDP to play RTSP.

My RTSP Server only support UDP, so where can I set it to UDP.

I had the same problem.


[R4ML-210][R4ML-212][R4ML-213][R4ML-216][R4ML-217] documentation fixes

R4ML-210
R4ML-212
R4ML-213
R4ML-216
R4ML-217

Developer's Certificate of Origin 1.1
   By making a contribution to this project, I certify that:

   (a) The contribution was created in whole or in part by me and I
       have the right to submit it under the Apache License 2.0; or

   (b) The contribution is based upon previous work that, to the best
       of my knowledge, is covered under an appropriate open source
       license and I have the right under that license to submit that
       work with modifications, whether created in whole or in part
       by me, under the same open source license (unless I am
       permitted to submit under a different license), as indicated
       in the file; or

   (c) The contribution was provided directly to me by some other
       person who certified (a), (b) or (c) and I have not modified
       it.

   (d) I understand and agree that this project and the contribution
       are public and that a record of the contribution (including all
       personal information I submit with it, including my sign-off) is
       maintained indefinitely and may be redistributed consistent with
       this project or the open source license(s) involved.

Build triggered.

Build success.
All unit tests passed.

Build triggered.

Build success.
All unit tests passed.

Build triggered.

Build success.
All unit tests passed.

Bug ID

Build triggered.

Build success.
All unit tests passed.

Build triggered.

Build success.
All unit tests passed.

Build triggered.

Build success.
All unit tests passed.


Configure initial cUSD/cGLD exchange rate

Description
So far, there's been a default, hard-coded value of 10 as the gold price in cUSD. This is used in the oracle report in migrations (see: 08_stabletoken.ts).
Even if this value is soon overwritten by a running oracle, or expired to let the oracle take over, making this configurable lets us avoid a situation where the value starts off being radically different than what we want it to be
Tested
not tested. :(
If this change causes a deployment to fail (contract deployment is where it would likely happen), please revert it.

Why put this in the .env file rather than the migrations config?

Why put this in the .env file rather than the migrations config?

Is there a way to do that in an env-specific way? I didn't see an obvious way of accomplishing that without using envvars.

Why do we care to do this in an env specific way?


[FLINK-1549] Adds proper exception handling to YarnJobManager

Adds proper exception handling to YarnJobManager by catching the thrown exceptions and sending a StopYarnSession(FinalApplicationStatus.FAILED) message to itself. This message will shutdown the JobManager and the corresponding ActorSystem.
@rmetzger could you take a look at the changes?

Changes look good.
Thank you for taking care of this!

Looks good. Very much needed for our YARN deployment.

Ok, I'll merge it.


Handling \Throwable in error controller

There are multiple places where Exception is caught instead of \Throwable. This causes that if any such code inside those method throws TypeError such error is not handled in the expected way. There was already some code around action ErrorExceptions, but there was no code regarding ErrorExceptions from plugins.
This PR replaces all those places and also adds test that checks that TypeException is correctly propagated.

Great PR, thank you @tomasfejfar


fix: exit with status code 0 (no errors) after build is done

When the build is done, you rely on another process to exit the code, but it exits the process with an exit code different than 0, which makes the CI process fail.

@galvez please let me know when it's published 🙏 .

@davidmeirlevy sure thing, will get a patch release out today.


DELIA-51606: Set default voice for voice guidance language

Reason for change: Set a default voice when the voice guidance
language is updated if the application does not set it along with
the voice.
Test Procedure:

Change the voice guidance language in the
accessibility setting. Navigate to web apps and verify voice guidance
works.
No voice guidance regression
Verify persistence of the voice guidance settings
Risks: Low

Signed-off-by: Simi Mathew<EMAIL_ADDRESS>

This change is dependent on https://gerrit.teamccp.com/#/c/555063/


Optimization of Earthkit Data Extraction for Specific Region

Problem Description:
Hello, I'm using Earthkit to extract weather data from a GRIB file provided by ECMWF. Specifically, I'm working with the u-vector wind data at a pressure level of 1000 hPa. Below is the code I've implemented to extract the data from a specific region (latitude and longitude bounds). As you can see I am simply extracting all the data and slicing it then searching on it, since I am new to weather analysis and python in general I want to know that is it the most optimum way or there exists some function in datakit that will extract it much faster ?
import earthkit.data
import numpy as np

data = earthkit.data.from_source("file", "20241006060000-0h-oper-fc.grib2")

u = data.sel(param="u", level=1000)[0]         # select wind data u-vector
u_data = u.data()

# The following info obtained about variable u_data while debugging
# u_data has 3 dimensions:
# at 0: ndarray with shape (721, 1440) | min value is -90.0 and max value is 90.0 | size is 1038240
# at 1: ndarray with shape (721, 1440) | min value is -180.0 and max value is 179.75 | size is 1038240
# at 2: ndarray with shape (721, 1440) | min value is -30.25118637084961 and max value is 26.03006362915039 | size is 1038240

shp = u_data.shape
print(shp)  # (3, 721, 1440)

lat_data = u_data[0, :, 0]   # Latitude values (take first column, all rows)
lon_data = u_data[1, 0, :]   # Longitude values (take first row, all columns)
temp_data = u_data[2]        # Wind (u-vector) data

lat_bounds = (30.0, 40.0)    # Example: from 30°N to 40°N
lon_bounds = (-100.0, -90.0) # Example: from 100°W to 90°W

# Data about the latitude flow in GRIB file is arranged from +90 (North pole) to -90 (South pole)
# 90, 80, .. 40, 30. So higher latitude degree occurs at lower index, we adjust for the fact below
lat_min_idx = np.abs(lat_data - lat_bounds[1]).argmin()
lat_max_idx = np.abs(lat_data - lat_bounds[0]).argmin()

# Ensure latitude min and max indices are within bounds
lat_min_idx = max(0, lat_min_idx)
size_lat_array = shp[1]
lat_max_idx = min(size_lat_array - 1, lat_max_idx)

# Data about the longitude flow in GRIB file is arranged from -180 (West) to +180 (East)
# no adjustment is needed
lon_min_idx = np.abs(lon_data - lon_bounds[0]).argmin()
lon_max_idx = np.abs(lon_data - lon_bounds[1]).argmin()

# Ensure longitude indices are within bounds
lon_min_idx = max(0, lon_min_idx)
size_lon_array = shp[2]
lon_max_idx = min(size_lon_array - 1, lon_max_idx)

# Extract the wind data (u-vector) for the specified region
region_temp_data = temp_data[lat_min_idx:lat_max_idx + 1, lon_min_idx:lon_max_idx + 1]

@vinayk7, unfortunately, earthkit does not offer a solution for subarea selection/cropping right now. However, all these features + grid handling will be available in the near future. Limited interpolation is already available in earthkit-regrid.

Thanks for the information @sandorkertesz I will try earthkit-regrid to interpolate my subset data and earthkit-plots to plot it and get an image. Let see how it goes


Make glasbey_category10 the default categorical colormap

Closes #311

I'm pretty confident the failure is with datashader rather than this change.


Enable NVIDIA graphics rendering on Optimus systems

Please see:
http://developer.download.nvidia.com/devzone/devcenter/gamegraphics/files/OptimusRenderingPolicies.pdf

Hi @SuperWangKai, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, MSBOT;

Hi @SuperWangKai.
We appreciate your interest in the MiniEngine project.  We have discussed this change and don't feel that it is the right direction for a DirectX12 project to take.  When this variable is added to a DirectX12 project it effectively hides the Intel GPU from the process and blocks the application from being able to take advantage of multi-adapter techniques.  While MiniEngine does not currently take advantage of multiple adapters, we don't want to prohibit it from doing so in the future.
An arguably more correct solution for the time being would be for MiniEngine to allow the user to select the GPU they prefer to run the project on.  Until we make such a change to handle hybrid laptops and other dual-adapter scenarios, our recommendation is to add MiniEngine to the Optimus driver's list of applications that should always run on the NVidia GPU.

Yes, I agree with you.


Patch 1

Merge fork into local branch

I think you had a question about what to do about the build failure: I'm happy to handle it, but fyi:
Running 'src/definitions-tsv-to-yaml.py --definitions data/definitions > data/definitions.yaml.test'
12a13,14
>     Lightsheet:
>       description: 'Lightsheet Microscopy '
To refresh: src/definitions-tsv-to-yaml.py --definitions data/definitions > data/definitions.yaml
The command "./test.sh" exited with 1.

Along with the "source" code (TSVs, etc), this repo also contains generated yaml in a structure which is easier for the portal code to use. Checking in "object" code is a little weird... but it also functions on a kind of test... If there were a problem generating the yaml we'll catch it, because it's all checked in. When there is a mismatch, there's usually a message explaining how to update: In this case, that's:
src/definitions-tsv-to-yaml.py --definitions data/definitions > data/definitions.yaml

Checked in those changes, and it was good to go.


Initialisation problem using swagger-play2 1.5.1

I get the following error during the initialisation of Swagger when the application is run in jar form
Caused by: java.lang.IllegalArgumentException: URI is not hierarchical
        at java.io.File.<init>(File.java:418)
        at play.modules.swagger.SwaggerPluginImpl.play$modules$swagger$SwaggerPluginImpl$$parseRoutesHelper$1(SwaggerPlugin.scala:119)

It seems to me getResource() is not the best approach when in jar form
I think the solution is using getResourceAsStream

I was using PlayKeys.externalizeResources once the error


[Test] Relax ordering assumption in max-commands-progress.ninja

While most of the times output-2 is copied before output-1, in some
rare cases the opposite can happen (which seems reasonable since there
is no ordering requirement between the two).
Addresses rdar://72898516

@swift-ci please smoke test

@swift-ci please smoke test

My change as is would consider the following valid
[1/3] cp input-1 output-1
[1/3] cp input-2 output-2

but I think the main focus of those checks is comparing the ordering between the cp command and the cat one

My change as is would consider the following valid
[1/3] cp input-1 output-1
[1/3] cp input-2 output-2

but I think the main focus of those checks is comparing the ordering between the cp command and the cat one

@swift-ci please smoke test macOS

@swift-ci please smoke test macOS

@swift-ci please smoke test

@swift-ci please smoke test

Thanks!


Instantiating and/or querying the model results in 404

Hey there. Not sure if this is a bug in the JS library, Runway's backend, or if I'm getting silently rate-limited— so please let me know if there is a better place to post this!
My app encounters a PermissionDeniedError (as defined in src/HTTPErrors.ts:23) with the message 'Model not found. Make sure the url is correct and that the model is "active".' The API key is valid.
The network activity shows failures (404) for:

GET https://MODEL-NAME.hosted-models.runwayml.cloud/v1/
POST https://MODEL-NAME.hosted-models.runwayml.cloud/v1/query

Using waitUntilAwake makes no difference, as that call will fail, too.
Every time I encounter this error, I find that the hosted model has become Inactive, as shown on the dashboard at https://app.runwayml.com/hosted-models. I can then toggle it to Active, and perhaps make 1 request through my app before the model is once again Inactive.
This behavior makes me think there might be either a backend issue or some kind of rate-limiting. For reference, I have been making around 50-60 requests/hour while testing. If rate-limiting is the case here, it would be nice if the model returned 429 Too Many Requests instead of silently inactivating.

Thanks for submitting this report. I can try and help debug here in GH issues. Feel free to reach out to us via the chat bubble at support.runwayml.com too and we can discuss details about your user account that may be contributing to this.

Every time I encounter this error, I find that the hosted model has become Inactive, as shown on the dashboard at https://app.runwayml.com/hosted-models. I can then toggle it to Active, and perhaps make 1 request through my app before the model is once again Inactive.

This is interesting, I haven't seen this before. Are you able to have multiple hosted models "Active" at once? Non-subscribed users can only have one hosted-model active at a time. It's possible there is an issue on our end that is incorrectly marking hosted-models as inactive when it shouldn't.

have been making around 50-60 requests/hour while testing. If rate-limiting is the case here, it would be nice if the model returned 429 Too Many Requests instead of silently inactivating.

As for rate-limiting, we do have a relatively high global rate limit on hosted-models, however that returns a 429 and it sounds like you haven't hit it. Our rate-limiting functionality also wouldn't mark your hosted-model as inactive even if it were triggered.
Like I said, I'm happy to take this up in a more real-time based conversation in our support chat. I can then report our findings back here for other folks to read in the future.

Hey Brannon, thanks. I have only one hosted model in my account which is on a paid plan. Will reach out via the live chat.

This was resolved via a Support chat and turned out not to be a problem with the Hosted Models library.

For future reference, Hosted Models are automatically deactivated if the user has a $0 credit balance. Topping up the credit balance and re-enabling the Hosted Model should get things working again.
Thanks for raising this issue @samwinslow!


Restart API does not care if an updated version is available

Describe the bug
If the app is distributed through an appinstaller calling Microsoft.Windows.AppLifecycle.AppInstance.Restart(""); does not check if an update is available.
Steps to reproduce the bug

Create a new packaged WinUI3 project
Update the app with a call to Microsoft.Windows.AppLifecycle.AppInstance.Restart(""); in the OnClick event of the button
Add the following *.appinstaller file:

<?xml version="1.0" encoding="utf-8" ?>
<AppInstaller Uri="{AppInstallerUri}"
              Version="{Version}"
              xmlns="http://schemas.microsoft.com/appx/appinstaller/2018">

  <MainBundle Name="{Name}"
              Version="{Version}"
              Publisher="{Publisher}"
              Uri="{MainPackageUri}"/>

  <UpdateSettings>
    <OnLaunch HoursBetweenUpdateChecks="0"
              ShowPrompt="true"
              UpdateBlocksActivation="true" />
    <AutomaticBackgroundTask />
    <ForceUpdateFromAnyVersion>true</ForceUpdateFromAnyVersion>
  </UpdateSettings>

</AppInstaller>

Create an msix installer with through "Package and Publish" -> "Create App Packages..."

Choose "Sideloading" and "Enable automatic updates"
Let the wizard create the AppPackages

Copy the results to the folder given in the wizard
Install through the appinstaller
Open the installed application
Increment the version and publish your app again
Click the button in the running app to get Microsoft.Windows.AppLifecycle.AppInstance.Restart(""); to execute
Watch how the app restarts without prompting to update

Expected behavior
The expected behaviour is that the app shows the user the appinstaller to update the app.
Screenshots
No response
NuGet package version
1.1.4
Packaging type
Packaged (MSIX)
Windows version
Windows 10 version 21H2 (19044, November 2021 Update)
IDE
Visual Studio 2022
Additional context
No response

This is arguably a bug - but the initial feature scope didn't explicitly include this scenario, so I'll add it to our backlog as a feature request, and track it internally.


improve lambda err

User Story
Lambda accept teacher feedback ,and only return the feedback and successful invoke with 201.It event or feedback is not empty , or missing on syntax , it will return error message.
To test it
Prerequisites
Terminal
Postmen
Endpoint : https://p9y9bbcruj.execute-api.us-west-2.amazonaws.com/default/simplePostLambda
Using postmen or smiler

Copy the endpoint and post it on the postmen url

Change method from get to post

select body, raw ,and change text to JSON

sending json as {"feedback":"write something here "}

click send

getting response with 201 when it is succeed.

getting response 400 for empty string

Using terminal

curl -d '{"feedback":"Good job!"}' -H "Content-Type: application/json" -X POST https://p9y9bbcruj.execute-api.us-west-2.amazonaws.com/default/simplePostLambda
getting response with 201 when it is succeed
getting response 400 for empty string

Gallery
here some picture when feedback return  succeed or errors.

Estimated time

Also in addition to what Caleb mentioned above, just a reminder about this part of the Syllabus under Task Management for full credit:
·      Task must be created and appear on the project board
·      Task must be tagged with the proper labels (team and bug/task)
·      Task must be tagged with the proper milestone
·      Task must be assigned to the responsible developer
·      Task must be in In Progress state while in development
·      Task must be in Done state at the end of the sprint


Upload release files to CDN as part of deploy script

Description
Create a directory named the same as the version in CDN, and upload alloy.js, and alloy.min.js there.

Related Issue

Motivation and Context

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Improvement (non-breaking change which does not add functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] I have signed the Adobe Open Source CLA or I'm an Adobe employee.
[ ] I have made any necessary test changes and all tests pass.
[ ] I have run the Sandbox successfully.

@jfkhoury and @Aaronius I added a commit to verify that the CDN has the file. Do you see any problem with this?
1244bfb

Looks good! 🚢


update gen_stage version

gen_stage released 1.0 with no major breakage
I couldn't find a problem in updating

@maennchen @c-rack Can you please release a new  minor version with this patch. quantum can not be used with broadway and the latest version of gen_stage

master is not ready for a release. I therefore moved master to develop and reset master to the last release. The fix is applied manually as 0cd860d8573e86fe6e2e5239b95adea666fc2800


Retry with backoff when rate-limited

Context
Heroku Platform API:

rate limits to 4500/requests/hour/account

sends current usage count in an HTTP response header:
Ratelimit-Remaining: 4499

returns HTTP status 429 when the account is rate limited.

Proposal
Let's make this client real friendly with HTTP status 429 response errors 🤗 to improve durability of the Terraform Provider.
Implement retry with exponential backoff when rate-limited with a new RoundTripWithRetryBackoff transport wrapping the default net/http RoundTrip().
Proposed (& now implemented) usage, note the Transport field:
heroku.NewService(&http.Client{
  Transport: &heroku.Transport{
    Username:          c.Email,
    Password:          c.APIKey,
    UserAgent:         heroku.DefaultUserAgent,
    AdditionalHeaders: c.Headers,
    Debug:             debugHTTP,
    Transport:         heroku.RoundTripWithRetryBackoff{
      // These are default values for ExponentialBackOff config
      InitialIntervalSeconds: 30,
      RandomizationFactor:    0.25,
      Multiplier:             2,
      MaxIntervalSeconds:     900,
      MaxElapsedTimeSeconds:  0,
    },
  },
})

The client reacts to the terminal HTTPS status 429 by retrying with back-off, instead of trying to predict and back-off before being rate-limited. Using the Ratelimit-Remaining header intelligently would seem to require global state shared across Terraform's parallel execution of nodes, so this proposal avoids that seemingly unnecessary complexity.
Fixes #32

I've verified that this retrier is doing the right thing by switching to retry on to HTTP status 200, and then watch the logs during tests with TF_LOG=DEBUG to see it retrying.

To test I revised the backoff.RetryNotify function:
retryableRoundTrip := func() error {
	lastResponse, lastError = http.DefaultTransport.RoundTrip(req)
	// Detect Heroku API rate limiting
	// https://devcenter.heroku.com/articles/platform-api-reference#client-error-responses
	if lastResponse.StatusCode == 429 {
		return fmt.Errorf("Heroku API rate limited: 429 Too Many Requests")
	}

	// Fake retry testing.
	if lastResponse.StatusCode == 200 {
		return fmt.Errorf("Fake retrier!!!")
	}

	return nil
}

…and can see the randomized backoff working in the logs:
2018/10/25 09:14:00 Will retry Heroku API request in 33.872687193s, because Fake retrier!!!
2018/10/25 09:14:35 Will retry Heroku API request in 46.371947138s, because Fake retrier!!!
2018/10/25 09:15:21 Will retry Heroku API request in 1m46.253268969s, because Fake retrier!!!
2018/10/25 09:17:08 Will retry Heroku API request in 4m0.01901876s, because Fake retrier!!!
2018/10/25 09:21:09 Will retry Heroku API request in 8m21.662152299s, because Fake retrier!!!

So, my confidence is building that this solution is good 😇

I think this is ready to go!
The new retry functionality is not enabled by default. Transport: heroku.RoundTripWithRetryBackoff{} must be specifically set. So there's very little chance of this affecting existing usage.
Please review and let me know what you think.

Thanks @talbright 😄

Hello rate throttlers! I've been poking at this problem of adding rate throttling to the platform-api gem for a bit.
I did some benchmarking and it looks like if one of the goals is to reduce the total number of requests to the origin server that an exponential backoff strategy doesn't help that much. In my benchmark it has an 80% retry rate. If the primary goal is to not have failures due to rate limiting, then it does a great job there. Here's my benchmark results:
https://github.com/zombocom/rate_throttle_client#ratethrottleclientexponentialbackoff-results-duration-300-minutes-multiplier-12
And here's some of my research and how I went about iterating on a solution with good properties that has a lower retry rate (~3% instead of 80%): https://github.com/schneems/rate_throttle_clients#how-to-write-a-rate-throttling-algorithm
Here's the platform-api PR https://github.com/heroku/platform-api/pull/103.
There's no immediate action needed by y'all but if you're interested in various rate-throttling strategies, it's an active area of research/interest of mine.

So thoughtful @schneems 🙌 As you intuited, the reason rate-throttling was implemented here was to avoid terraform apply failures.


Mixed | and || in regexes (trap?)

See RT #130562.
We should make sure that it is documented. Maybe even add another section to traps?

Roast test added yesterday.

Summary of RT #130562 for this doc issue.
Initially the evaluation of ~(42 ~~ / [ 0 || 42 ] | 4/) to "4" rather than "42" was called into question. @jnthn replied in his rejection of the ticket that || was imperative and | was declarative and only the first branch of || alternation was significant when mixed.
During further discussion with jnthn the next day I learned that in S05 the last paragraph of the section on ltm has a sentence: "The first || in a regex makes the token patterns on its left available to the outer longest-token matcher, but hides any subsequent tests from longest-token matching. "  So, whatever other interpretations might be possible, the implementation agrees with S05 since ~(42 ~~ / [ 42 || 0 ] | 4 /) evaluates to "42".
Describing this behavior in traps, as suggested in this issue, was also mentioned.  Perl 5 had only one kind of alternation denoted by '|' which behaves like Perl 6 "||".  There is a 5to6-nutshell section on the topic but it describes ltm as "a set of rules" which could use clarification.   jnthn also suggested that an explanation of the concept of "declarative prefixes", which is somewhat particular to Perl 6, might be helpful to programmers using the two kinds of regex alternation.
The 5to6-nutshell section simply says that Perl 5 programmers should use '||' in place of '|'.  However if a regex written with "||" is inherited or composed into a grammar that uses '|' either by design or typo the result may not work as expected and '|' may be a better choice for grammar reuse and eventually programmers may need to have some understanding of both.
There is an older related RT #125608.

The 5to6-nutshell section simply says that Perl 5 programmers should use '||' in place of '|'.

This is reasonable enough advice when porting or writing regexes. While Perl 6 makes the on-ramp to writing grammars easy by making it feel like a small step up from writing regexes, in truth you will only get so far without grasping the way LTM works - because that's how your tokenizer is written for you. So perhaps it should note that for simple regexes just using || instead will get you familiar semantics, but if writing grammars then it's useful to learn about LTM and declarative prefixes and prefer | (and link to something on the topic).

There was another mention of this issue recently: RT #131991.

@AlexDaniel  this can be closed via #1640 , or you think it should be documented as trap?

@W4anD0eR96 I think mentioning it separately in traps is beneficial. Also, @ronaldxs++ mentioned 5to6-nutshell page which also has to mention this in one way or another. So two things to be done:

[ ] 5to6-nutshell
[ ] traps


Runtime classpath broken in sbt 1.3.0 leading to NoClassDefFoundError during run

Originally reported by @srubietodd, see https://github.com/akka/akka-http/issues/2702.
build.sbt:
scalaVersion := "2.13.0"
 val akkaVersion = "2.5.23"
 val akkaHttpVersion = "10.1.9"
libraryDependencies ++= Seq(
  "com.typesafe.akka" %% "akka-actor" % akkaVersion,
  "com.typesafe.akka" %% "akka-http" % akkaHttpVersion,
  "com.typesafe.akka" %% "akka-stream" % akkaVersion
)

Test.scala:
import akka.actor.ActorSystem
import akka.http.scaladsl.Http
import akka.http.scaladsl.model._
import akka.stream.ActorMaterializer
import scala.concurrent.Future
import scala.util.{Failure, Success}

object Main extends App {
  implicit val system = ActorSystem()
  implicit val materializer = ActorMaterializer()
  // needed for the future flatMap/onComplete in the end
  implicit val executionContext = system.dispatcher
  val responseFuture: Future[HttpResponse] =
    Http().singleRequest(HttpRequest(uri = "http://akka.io"))
  responseFuture
    .onComplete {
      case Success(res) => println(res)
      case Failure(_)   => sys.error("something wrong")
    }
}

Log:
> run
[info] running Main
Uncaught error from thread [default-akka.actor.default-dispatcher-2]: akka/actor/dungeon/FaultHandling$$anonfun$handleNonFatalOrInterruptedException$1, shutting down JVM since 'akka.jvm-exit-on-fatal-error' is enabled for ActorSystem[default]
java.lang.NoClassDefFoundError: akka/actor/dungeon/FaultHandling$$anonfun$handleNonFatalOrInterruptedException$1
        at akka.actor.dungeon.FaultHandling.handleNonFatalOrInterruptedException(FaultHandling.scala:310)
  | => aat akka.actor.dungeon.FaultHandling.handleNonFatalOrInterruptedException$(FaultHandling.scala:310)
	at akka.actor.ActorCell.handleNonFatalOrInterruptedException(ActorCell.scala:447)
	at akka.actor.ActorCell.invoke(ActorCell.scala:584)
	at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:268)
	at akka.dispatch.Mailbox.run(Mailbox.scala:229)
	at akka.dispatch.Mailbox.exec(Mailbox.scala:241)
	at akka.dispatch.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
	at akka.dispatch.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
	at akka.dispatch.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
	at akka.dispatch.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
Caused by: java.lang.ClassNotFoundException: akka.actor.dungeon.FaultHandling$$anonfun$handleNonFatalOrInterruptedException$1
	at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	... 11 more

Potential workarounds (any of those works for me):

sbt 1.2.8
fork in run := true
classLoaderLayeringStrategy := ClassLoaderLayeringStrategy.AllLibraryJars

workaround
Compile / run / fork := true

does -Dsbt.classloader.close=false make the problem go away?

does -Dsbt.classloader.close=false make the problem go away?
In my project yes, it goes aways

I have the same issue using akka-streams (amqp) and I am new in scala... I dont really understand how o fix it @jrudolph ?  ```Uncaught error from thread [media-hub-test-akka.actor.default-dispatcher-2]: akka/actor/dungeon/FaultHandling$$anonfun$handleNonFatalOrInterruptedException$1, shutting down JVM since 'akka.jvm-exit-on-fatal-error' is enabled for ActorSystem[media-hub-test]
Uncaught error from thread [media-hub-test-akka.stream.default-blocking-io-dispatcher-6]: akka/actor/dungeon/FaultHandling$$anonfun$handleNonFatalOrInterruptedException$1, shutting down JVM since 'akka.jvm-exit-on-fatal-error' is enabled for ActorSystem[media-hub-test]
java.lang.NoClassDefFoundError: akka/actor/dungeon/FaultHandling$$anonfun$handleNonFatalOrInterruptedException$1
at akka.actor.dungeon.FaultHandling.handleNonFatalOrInterruptedException(FaultHandling.scala:310)
at akka.actor.dungeon.FaultHandling.handleNonFatalOrInterruptedException$(FaultHandling.scala:310)
at akka.actor.ActorCell.handleNonFatalOrInterruptedException(ActorCell.scala:447)
at akka.actor.ActorCell.invokeAll$1(ActorCell.scala:557)
at akka.actor.ActorCell.systemInvoke(ActorCell.scala:569)
at akka.dispatch.Mailbox.processAllSystemMessages(Mailbox.scala:293)
at akka.dispatch.Mailbox.run(Mailbox.scala:228)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.ClassNotFoundException: akka.actor.dungeon.FaultHandling$$anonfun$handleNonFatalOrInterruptedException$1
at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:471)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:588)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
... 10 more
java.lang.NoClassDefFoundError: akka/actor/dungeon/FaultHandling$$anonfun$handleNonFatalOrInterruptedException$1
at akka.actor.dungeon.FaultHandling.handleNonFatalOrInterruptedException(FaultHandling.scala:310)
at akka.actor.dungeon.FaultHandling.handleNonFatalOrInterruptedException$(FaultHandling.scala:310)
at akka.actor.ActorCell.handleNonFatalOrInterruptedException(ActorCell.scala:447)
at akka.actor.ActorCell.invokeAll$1(ActorCell.scala:557)
at akka.actor.ActorCell.systemInvoke(ActorCell.scala:569)
at akka.dispatch.Mailbox.processAllSystemMessages(Mailbox.scala:293)
at akka.dispatch.Mailbox.run(Mailbox.scala:228)
at akka.dispatch.Mailbox.exec(Mailbox.scala:241)
at akka.dispatch.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
at akka.dispatch.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
at akka.dispatch.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
at akka.dispatch.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
Exception: sbt.TrapExitSecurityException thrown from the UncaughtExceptionHandler in thread "media-hub-test-akka.stream.default-blocking-io-dispatcher-6"``` many thanks

Great catch @SethTisue. I think we need to make this a warning rather than a strict failure for 1.3.1. It's causing too much confusion.

Added workaround section to the description. I think we should recommend
Compile / run / fork := true

instead of running sbt with JVM props.

@eatkins Would it make sense to give Akka 3s grace period? Would that solve any problem?

https://github.com/akka/akka-http/issues/2702#issuecomment-531319091

The issue I have with workarounds for this issue is that often it is actually catching a real resource leak in the code. Not shutting down an ActorSystem is very common from what I have gathered. There is a huge performance penalty for fork so I'm somewhat wary fo encouraging people to switch their builds to fork mindlessly.

The example is actually extremely similar to the program I used in the sbt 1.3.0 watch benchmarks: https://github.com/eatkins/scala-build-watch-performance. Even without layered classloaders, forking took about 5.5 seconds compared to 1.5 second for in-process.

It is a tricky problem that affects UX (performance vs ease of use).
It is sbt that's emulating run as a function call, which makes it sensitive to resource cleanup at the end. iow, if people ran using java -cp .. they won't see this particular error message. Maybe we need to document this better and let the user choose between 1.5s run vs not shutting down concurrency managers?

As written in https://github.com/akka/akka-http/issues/2702#issuecomment-531352120, the regression in sbt 1.3.0 seems to be that the run task doesn't seem to wait any more until all non-daemon threads of the application are finished. It might be uncommon overall but it's somewhat common with Akka apps to let the main method run out after the initialization code has run. system.terminate is often called from another thread later on.

Not sure if we waited before, but waiting for non-daemon threads (for some time?) sounds like an improved UX rather than unplugging the ClassLoader under them.

We wait indefinitely for non-daemon threads and have for a long time. The difference is that in 1.3.0 we started closing the classloader in ScalaRun.run, which is before the background job service joins the non-daemon thread. I should be able to restore the old behavior and I also am working on an overhaul of the classloader management for 1.3.1/1.4.0 that I think should be much better than 1.3.0.


add replication metrics

Scope & Purpose
This PR adds several new metrics:

arangodb_network_forwarded_requests to track the number of requests forwarded from one coordinator to another in a load-balancing context.

arangodb_aql_query_time: histogram with AQL query times distribution.

arangodb_aql_slow_query_time: histogram with AQL slow query times distribution.

arangodb_aql_slow_query: total number of slow AQL queries.

arangodb_replication_dump_requests: number of replication dump requests made.

arangodb_replication_dump_bytes_received: number of bytes received in replication dump requests.

arangodb_replication_dump_documents: number of documents received in replication dump requests.

arangodb_replication_dump_request_time: wait time for replication dump requests.

arangodb_replication_dump_apply_time: time required for applying data from replication dump responses.

arangodb_replication_initial_sync_keys_requests: number of replication initial sync keys requests made.

arangodb_replication_initial_sync_docs_requests: number of replication initial sync docs requests made.

arangodb_replication_initial_sync_docs_requested: number of documents requested via replication initial sync requests.

arangodb_replication_initial_sync_docs_inserted: number of documents inserted by replication initial sync.

arangodb_replication_initial_sync_docs_removed: number of documents inserted by replication initial sync.

arangodb_replication_initial_chunks_requests_time: wait time for replication key chunks determination requests.

arangodb_replication_initial_keys_requests_time: wait time for replication keys requests.

arangodb_replication_initial_docs_requests_time: time needed to apply replication docs data.

arangodb_replication_initial_insert_apply_time: time needed to apply replication initial sync insertions.

arangodb_replication_initial_remove_apply_time: time needed to apply replication initial sync removals.

arangodb_replication_initial_lookup_time: time needed for replication initial sync key lookups.

arangodb_replication_tailing_requests: number of replication tailing requests.

arangodb_replication_tailing_follow_tick_failures: number of replication tailing failures due to missing tick on leader.

arangodb_replication_tailing_markers: number of replication tailing markers processed.

arangodb_replication_tailing_documents: number of replication tailing document inserts/replaces processed.

arangodb_replication_tailing_removals: number of replication tailing document removals processed.

arangodb_replication_tailing_bytes_received: number of bytes received for replication tailing requests.

arangodb_replication_tailing_request_time: wait time for replication tailing requests.

arangodb_replication_tailing_apply_time: time needed to apply replication tailing markers.

[ ] :hankey: Bugfix
[x] :pizza: New feature
[ ] :hammer: Refactoring
[x] :book: CHANGELOG entry made
[x] :muscle: The behavior in this PR was manually tested
[ ] :computer: The behavior change can be verified via automatic tests

Backports:

[x] No backports required
[ ] Backports required for:

Related Information

[x] Docs PR: https://github.com/arangodb/docs/pull/536
[ ] Enterprise PR:
[ ] GitHub issue / Jira ticket number:
[ ] Design document:

Testing & Verification

[x] This change is a trivial rework / code cleanup without any test coverage.

http://<IP_ADDRESS>:8080/view/PR/job/arangodb-matrix-pr/11671/

http://<IP_ADDRESS>:8080/view/PR/job/arangodb-matrix-pr/11683/

http://<IP_ADDRESS>:8080/view/PR/job/arangodb-matrix-pr/11690/


Add revert methods to bivariate metrics

It would be nice if we could add a revert method to stats.Covariance and stats.PearsonCorrelation.

Done :)


review and update documentation

Ahead of the handover we need to review and update the documentation.

[x] Define terms in a glossary
[x] Introduce the purpose of the app
[ ] Figure out what is wrong with trigger_atca function (generates errors when making docs)

I removed the trigger_atca function as the atca-rapid-response-api handles everything that the trigger_mwa function does. The error can likely be fixed by updating the python module or removing some old doc files


[Frontend] As a user, I can filter TIL posts by tag

Why
A TIL post belongs to some tags. And to filter TIL by tag, we should create a page to show the TIL posts by the given tag from the query parameter.
Acceptance Criteria

Create a page to list TIL posts by a tag.
The URL should be: /tags/:tag
Add the tag link to the TIL post.

Design
The design might be similar to the list on the homepage, but the title should be the tag name.
Resources
We might need a helper to collect all tags and pass them to getStaticPaths for caching.

After discussing with @hoangmirs , we decided to not implement pagination on this page. Instead, we want to show all posts related to a tag in a row-wise layout like this:


No bundle URL present on new project

[x] I have reviewed the documentation
[X] I have searched existing issues
[X] I am using the latest React Native version

Environment
OS: macOS High Sierra 10.13.4
Node: 8.9.1
Yarn: 1.6.0
npm: 4.6.1
Watchman: 4.9.0
Xcode: Xcode 9.3 Build version 9E145
Android Studio: 3.1 AI-173.4697961
Packages: (wanted => installed)
react: 16.3.1 => 16.3.1
react-native: 0.55.2 => 0.55.2
Steps to Reproduce
react-native init testProject
cd testProject
react-native run-ios
Expected Behavior
Well I was expecting the app to run on the iOS emulator. I have tried at least 10 times, and 9/10 I get the same error with new projects.
Actual Behavior

Sometimes there is also this error from the Metro Bundler:
Metro Bundler ready.
ERROR  ENOENT: no such file or directory, lstat '/Users/xxxxx/Desktop/test/testProject/ios/build/Build/Intermediates.noindex/React.build/Debug-iphonesimulator/React.build/Objects-normal/x86_64/RCTImageSource.o-041d4dcd'

same issues

Have you find any solution?

same issue. lanchPackager.command window hanging at Loading dependency graph, done.

I had the same issue and I was able to bypass it by run npm start before run react-native run-ios.

Same issue, and I solved by add three lines on host file.
Open hosts file: sudo code /private/etc/hosts (if you use VSCode)
Add three lines:
<IP_ADDRESS> localhost
<IP_ADDRESS> broadcasthost
::1 localhost


[New game]: Dhhom Bike race

🎮 Game Request
Game logic and basic description:
The objective of the game is usually to complete various levels or challenges by successfully executing Race, jumps, flips, and tricks while maintaining balance and control of the bike. And for each and every jump the score will increases.
Point down the features
Game points:

Bike Controls: Players can control the bike's speed, acceleration, braking, and direction using on-screen left, top , right , bottom keyboard inputs. T

This allows them to navigate through the game's environment and perform jumps and tricks.

Select program in which you are contributing
GSSoC23
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hey @vamshi726 !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

/assign

Hey @vamshi726 ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


Adds support for multiple resources to kubectl

You can specify multiple resources by name when using the delete, get
and stop commands.

I had already set up and signed a CLA using my endocode.com address. However, the email address on my GitHub account was not an endocode.com one.
I have updated my account so that the primary email is the same which I used to sign the CLA.

Assigning to @brendanburns
@kbeecher I can't seem to find your CLA :( I see an info@ address, is that yours?
Do you see it in: https://cla.developers.google.com/clas

cc @smarterclayton

LGTM - thanks for adding tests

@kbeecher Did you intend for that to be a corporate CLA? It was registered as a user CLA.

@vmarmol @bgrant0607 The CLA was definitely a corporate one, I have it in my inbox now. I entered the info@ address because the CLA needed a Google Group for our contributors.

Thanks a lot.


Update to 1.19 (and add 1.19 items)

Update to 1.19
Add new items added to the 1.19 loot table for the Wandering Trader
Re-add some items that are required to complete BAC advancements datapack (flowers), as well as some items that can help early game (mostly plants/seeds that are semi-rare)
Add wither roses as a rare item

Thanks for the PR. Sorry for the delay, I've busy with other projects.


How to stop animations when first loading the View Controller?

When I first load the VC and show the keyboard, there is a second delay where the user can't do anything.  The textInputBar moves "up" for 1 second, and during this time, I'm unable to perform any tap gestures.
Is there a way to disable these animations without manually overriding UIView animation settings?
I notice that I can stop animations after calling super.viewWillAppear and then start animations immediately before super.viewDidAppear.  This makes everything instant, but this solution messes up transitions between view controllers:
    //This works, but it messes up transitions between view controllers, such as hitting back button
    override func viewWillAppear(animated: Bool) {
        super.viewWillAppear(false)
        UIView.performWithoutAnimation { [weak self] () -> Void in
            self?.textView.becomeFirstResponder() //show the keyboard. If I don't call stopAnimations() next line, then there will be a 1 second delay as the textinputBar pops up.
        }
        stopAnimations()
    }

    override func viewDidAppear(animated: Bool) {
        startAnimations()
        super.viewDidAppear(false)
    }

    func stopAnimations(){
        UIView.setAnimationsEnabled(false)
    }

    func startAnimations(){
        UIView.setAnimationsEnabled(true)
    }

I presented the keyboard (without animation) after viewDidAppear(), and all is fine. Thanks :)


Better support if using MusicBrainz instead of gnudb

Hi. This is a great tool and is working really well for me! Thanks for creating it.
I wanted to use MusicBrainz instead of gnudb/freedb because that database had data on a music cd I wanted to rip. However, just chaning the command line for ripit isn't enough and worse still, ripit doesn't report that it can't interpret the return from musicbrainz - it just carries on with 'unknown artist'.
For music brainz to work correctly you need to have the perl module WebService::MusicBrainz in the same location as the ripper.sh script. I simply downloaded this perl module from https://metacpan.org/pod/WebService::MusicBrainz and put it in my config folder and then modified my ripit command line and it all work.
My request is that you include WebService::MusicBrainz.pm in the docker image (in the folder with ripper.sh) as it's not obvious that if you select musicbrainz instead of gnudb it won't work!

Sounds reasonable. Please make a PR that includes this change.

i have taken a look at your PR
since another issue (#56) requires a custom perl module as well, might aswell install this properly.
could you please try if my installing WebService::MusicBrainz works the way I have impelemented it in the fix-ripit branch?
I would prefer this to adding a file to /config

seems to work for the other guy at #56
thanks for your input. ill mark this solved.
if you want, send a pr to edit the faq on how to do this!
also please consider a sponsorship if ripper is helpful to you!


Samsung devices not displaying icon colour

Expected Behaviour
Push notification on Samsung devices will colour push icon the iconColor specified in pushNotification.init
Actual Behaviour
The push icon instead keeps the default white line colouration on the Samsung devices we've tested on (Samsung 8, Samsung 7). Example:

Example from LG G6 with correct colouring and identical settings:

Reproduce Scenario (including but not limited to)
Send the push notification using node GCM and the data payload listed below. The notification sends correctly and is received by the device.
Steps to Reproduce
Set node GCM with payload provided and push plugin with the Android object provided in pushNotification.init
Platform and Version (eg. Android 5.0 or iOS 9.2.1)
Android 7.0 and Samsung 8.1 for the Samsung 8 device
(Android) What device vendor (e.g. Samsung, HTC, Sony...)
Samsung 7 and Samsung 8. Other devices display the icon colour correctly, including LG G6, MOTO Z2PLAY.
Cordova CLI version and cordova platform version
cordova --version                              8.0.0
cordova platform version android    6.4.0

Plugin version
cordova plugin version | grep phonegap-plugin-push   1.10.5

Sample Push Data Payload
var androidMessage = new gcm.Message({
        priority: 'high',
        data: {
            message: text,
            title: title,
            style: 'inbox',
            summaryText: 'There are %n% urgent Alerts',
            ledColor: [0,222,114,0],
            image: 'platforms/android/res/drawable-hdpi/ic_stat_alabs.png'
        }
    });

    androidMessage.addData('originID', locationID);
    androidMessage.addData('defaultAction', 'showEmpire');
    androidMessage.addData('actions', [ createActionButton('showProperty', 'View Property') ] );

Sample Code that illustrates the problem
android: {
				senderID: "XXXXXXXXXXX",
				icon: "ic_stat_alabs",
				iconColor: "#EF610E",
				clearNotifications: true
			},

Logs taken while reproducing problem
from adb logcat | grep Push:
scratch.txt

@FranceJ I don't have that Samsung device so I cannot reproduce. I don't see any errors in the logs so I'm not sure what to tell you right now other than please try using the 2.x version of the plugin to see if the issue persists.

I managed to fix this without upgrading by editing my hook for the icon image to target every drawable directory listed here: https://developer.android.com/guide/practices/ui_guidelines/icon_design_status_bar.html.
So, this was 100% the fault of my implementation and is solved now. Thanks again for having a look!

can you tell me what did you do?
i have the same problem that white icons are white on white background

Segue solução:
Criar o icone com as medidas LDPI (18 x 18) - MDPI ( 24 x 24) - HDPI (36 x 36) - xhdpi (48 x 48)
e colocar no config.xml
    <resource-file src="res/drawable-hdpi/notification.png" target="res/drawable-hdpi/notification.png" />
    <resource-file src="res/drawable-ldpi/notification.png" target="res/drawable-ldpi/notification.png" />
    <resource-file src="res/drawable-mdpi/notification.png" target="res/drawable-mdpi/notification.png" />
    <resource-file src="res/drawable-xhdpi/notification.png" target="res/drawable-xhdpi/notification.png" />


"takeImportant", combining takeLatest with takeLeading, worth including in the core?

After a bit of experimenting, I whipped up a custom taker, combining takeLatest with takeLeading, by giving the saga control over whether it wants to be restartable or not. Dropping it here, perhaps it's worth implementing at the core level, or maybe someone finds it interesting.
Use: yield takeImportant(action, saga, true|false)
Define saga as: function* saga(setImportant, action, ...args)
Call setImportant(true|false) in the saga to switch between interruptability or not.
const takeImportant = (patternOrChannel, saga, startImportant = false, ...args) => fork(function* () {
    let important = startImportant;
    let lastTask;
    const setImportant = (isit) => (important = isit);
    while (true) {
      const action = yield take(patternOrChannel);
      if (lastTask) {
        if (important) continue;
        yield cancel(lastTask);
      }
      lastTask = yield fork(saga, setImportant, action, ...args);
    }
});

I don't see any reasonable usecase. For example, I have takeLatestOrEvery which read data from the passed action payload (meta), so I can control directly from UI when I want single latest or multiple every requests, in case I have multiple entities of the same type but with different ids.

Thanks @AuthorProxy
Closing this issue for now.  If you want to continue discussing other patterns, please feel free to open a GH discussion.


Add Modular contracts banner on dashboard and portal

Problem solved
Short description of the bug fixed or feature added

PR-Codex overview
The focus of this PR is to introduce a new AnnouncementBanner component in the dashboard and portal pages.
Detailed summary

Added AnnouncementBanner component to display announcements in dashboard and portal
Updated announcement content and link in AnnouncementBanner
Updated Banner component in portal
Reorganized imports in layout.tsx and made minor changes in layout components

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

#4560  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @MananTank and the rest of your teammates on  Graphite


Transform module functions in methods

Transform access to all modules to class style.
EXAMPLE 1:
import std.io;
std.io.println('foobar');

EXAMPLE 2: (with alias)
import std.io as io;
io.println('foobar');

In my mind some methods like print, println, constant declaration and others, must be used as function in the code and if clever can add methods references into variables like javascript, you can solve this problem adding this variables automatically...
import std.io;

// auto -->  print = std.io.print
// auto -->  println = std.io.println
// ...

I don't know if I was clear but I already talked with Felipe about it...
Pedro.

Nice idea!

To solve a problem with ambiguity, I've used the following syntax (It already works as of my last commit):
import std.io as x;

x::println("cool");

The dot syntax was my preference, but we wouldn't be able to distinct in the parser a method call vs func call in a code like: x.println(), when 'x' might be an instance, or an alias.
Still pending:

Full or aliased type name
.e.g std.file::FileStream, x::FileStream

Thoughts?

What about making optional for STD package the usage of full name? I.e. we would import as symbol with the fullname and the short name.
Currently is what it does (after my commit), it registers: std.io:: and just  in the global symbom table. And we do keep the ability to aliasing even the std package.

With my last commit it's possible to use aliasing of module function:
$ ./clever -qr 'use foo as std.io::println; foo("bar");'
bar

WOW... it`s working well for me at os x 10.6

Cool, I guess this task was finished. :-)


Angular Code Review comments

Maintain folder structure template and JS files
Default data of graph and table should be of current day.
Latest angular version should be used.
Each controller should be in separate file.
Use scope.year and scope.month instead  of scope.properties .
Ajax call should be in service.
Paragraph data should be done using filters

Issues addressed.


Using path aliases breaks eslint validation

We're referencing quite a lot of the generated GQL types within our project and end up with quite annoying, and easy to break imports like
const QUERY = gql`
  query Something{}
` as import('../../../../__generated__/ts-gql/Something').type;

As a solution we attempted using TS path aliases, such that in tsconfig.json we put
{
  "compilerOptions": {
    "paths": {
      "@gql/*": ["../../../../__generated__/ts-gql/*"]
    }
  }
}

and our import becomes:
const QUERY = gql`
  query Something{}
` as import('@gql/Something').type;

However that is not accepted by the eslint plugin, which will complain with:
 error    You must cast gql tags with the generated type  @ts-gql/ts-gql

I haven't found a workaround yet. tsc is happy with the imports, if I disable the ts-sql eslint plugin then I can build it in Next.js context.
Is there an easy fix or does it require refactoring the plugin?
Cheers,

I am getting this error, without the path change :\

@Thinkscape what do you mean by this?

and easy to break imports like
const QUERY = gql`
  query Something{}
` as import('../../../../__generated__/ts-gql/Something').type;

because if you're using the eslint plugin and the rules and auto fix in your editor, then you shouldn't need to care what the paths look like or if they're correct.

It fully relies on the eslint plugin doing the heavy lifting, which usually works but sometimes doesn't. It will work with interactions with other plugins, refactoring (i.e. renames or moving stuff around). There wouldn't be need for a plugin if the paths were trivial and discoverable by IDE itself... or just human-rememberable.

We don't use aliases, so it needs to continue working this way for us


[AAP-17462] Display error on Create activation form

Add eda error adapter:

@lgalis Do we want to show the object with the error at form level or just the error itself?
Just No controller token specified
For hub we did like this

@nixocio - I agree that on the message should be displayed - the problem is that at the moment, the backend return is {"errors":"{'errors': 'No controller token specified'}"} - this will be fixed in the backend to instead be just {'errors': 'No controller token specified'}, and then the UI will display only the message. The UI would stay as it is in this PR.

The framework supports showing an error on a specific field if the backend returns the field name and error as part of the payload.
{
  "name": [
    "A project with this name already exists."
  ]
}

Would it make sense for the backend to return the error on the input field?

@jamestalton - the controller token in the image above is not an input field error. I am waiting for a backend PR to change the return to mark the error as such, then I will update this PR to display the error value only.

Updated after the latest API changes to return:
field errors:
{
name: ['Name is required'],
email: ['Email is invalid'],
}
non field errors:
{"non_field_errors":["No controller token specified"]}


Data ingestion stage

[x] update config.yaml
[x] Update params.yaml
[x] Research or analysis
[x] Update the entity
[x] Update the configuration manager i src config
[x] Update the components
[x] Update the pipeline

Dry run successful for stage 1


Flatpak version of vscode does not detect Flutter dependencies

VSCode flatpak not able to detect installed libraries
I installed flutter with all its dependencies on my system. I ran flutter doctor and everything was good. Then I installed vscode through flathub. I also installed the Flutter extension from the store. When i ran flutter doctor form the IDE, it shows some dependencies are not there.
Screenshots

Desktop (please complete the following information):
OS: Fedora 36 (Workstation)
Installed through: Flatpak

This issue is caused by an extension, please file it with the repository (or contact) the extension has linked in its overview in VS Code or the marketplace for VS Code. See also our issue reporting guidelines.
Happy Coding!

@Tyriar This issue is not caused by the extension, please have a look at this https://github.com/Dart-Code/Dart-Code/issues/4019
Kindly reopen this issue

@Ridhubharan that issue suggests the flatpak is the issue which we don't maintain/support, you'd be better reaching out to them.


Launchpad does not recognize potential double deposit

I just created a deposit.json file with 2 validators on goerli/prater, then depositet to one validator and waited at least 30minutes.
Re-opened the launchpad, and uploaded the .json again, and expected the launchpad to recognize the first deposit, but it did not.
This bug could lead to potential deposits on mainnet.

cc @wackerow


Create a Docker Compose file to run KIE Sandbox and its related services

Description
This task will help us to quickly get the KIE Sandbox running on local. Currently, the only way to run KIE sanbox is to manually install all tools on the infrastructure like Node 18, Java 11 etc. In addition to this, KIE Sandbox also needs other services to run, For example, KIE Sandbox (at kie-sandbox-image), Extended Services (at extended-services-image), and the Git CORS Proxy (at git-cors-proxy-image). This will speed up and streamline the process for users to run their instance of KIE Sandbox on local.
Docker Compose is a technology that can enable us to run these multi-container services with a single command (read more).
Acceptance Criteria

A docker compose file should be created containing configurations to run KIE Sandbox and all related services.
On running command docker compose up, All services related to KIE Sandbox should run in their specified port.
We should be able to access KIE Sandbox at the port specified in docker-compose.yml file.

closing in favour of https://github.com/kiegroup/kie-issues/issues/245


Author and license

Hey @mneumegen. Do You have any clue who might be the author of this theme and under what license it is?

Hi @gynter,
Author is CloudCannon. License is MIT.


Raspberry PI camera

Hi there! Great work, I'm realy graetfull for your work! I Have one question though. Do your project support Offical Raspberry PI camera witch is connected to dedicated adapter on the board or I would need to use a usb camera for this to work?

Hi, take a look here
https://forums.moderndaymods.com/t/is-there-camera-support-in-the-app/157/5


ChemVend jugs names issue

#29137

Aw man.

i was thinking about adding prototype suffix in this menu, if prototype has specific component, but i couldnt figure this out
here is some absolutely not working WIP
https://github.com/lzk228/space-station-15/commit/2c144d7ed1d4c4fe7a4f3b2c9778247f251433df

Aw man.

Did you not test your PR?

Did you not test your PR?

I did, but apparently not thoroughly enough. It fixed the issue with the ChemMaster, but created this issue with the ChemVend.
I have a plan for how to fix this, and I'll give it a shot tomorrow.


Cannot black-list a single android app

When we try to black-list single android app, response code is 500. But it works fine when we try to black-list 2 android-apps.

This issue is no longer reproducible in 3.1.0-alpha. We can successfully blacklist a single android app.
Blacklisting policy is built around the "getRunningAppProcesses()" function in the Android ActivityManager API. However, as of Android 5.1.1, this API has been deprecated. Therefore, we are unable to support this functionality for BYOD devices running Android version 5.1.1 or higher.


Typo

Dans addFigure(), "col should thus be equal" devrait être "cols should ..."

Hello @antoine-mouchamps,
I would like to solve your issue, but I can not find the file where to fix the error?
Could you be more specific?
Thank you in advance.

Hello @timotheeMM,
The file containing this method and its description is located in src/pyfigure98/Figure/_set_figure.py.
The documentation of my package (as well as its functionnalities) are far from being complete, I have just learned how to publish it today so sorry if its organisation is confusing. I am open to advice if you have some.

It's okay!


nbstripout and git pull fails

See https://github.com/kynan/nbstripout/issues/108
I vaguely remember a conversation with @casperdcl about this, but cannot find it back. I think I came to the conclusion that nbstripout doesn't use the correct filter settings, but I cannot remember, and definitely never tried anything.
It seems that the only fool-proof way is to do git reset --hard before the pull. Not ideal...

For very complicated cases I often tend to
nbstripout --uninstall
git stash
git pull
git stash pop
<fix conflicts>
nbstripout --install


OnImageLoaded, OnComplete, OnPannellumReady

Hey Matt,
I was wondering if if there was an onImageLoaded, OnComplete or OnPannellumReady callback available once Pannellum has finished loading or is ready for user interaction. The reason is I'm wanting to animate in some UI elements in HTML after the event.
I saw in one of your other tickets that you had an addon Plugin, is there a preview version available I could check out? I'm really excited to use your application to do a little virtual tour.
Thanks!

See #30 and #126. While there is an API, there's no event system yet. It's something I'm working on.

Oh Sweet! Thanks Matt I'm looking forward to it. So far, gotta say I'm loving your app. Let me know if you need an extra pair of eyes. =)

An initial event framework was added in a1461bb6ecdfa860e527fd32c62bc3fd5af3aee9. After instantiating a viewer with viewer = pannellum.viewer(...);, events can be added with viewer.on('eventtype', listener). A load event is fired once the panorama has finished loading and is ready for user interaction. A listener for this event can be added with viewer.on('load', loadListener).


Polygamma and zeta function for tensorflow

The polygamma function is necessary to evaluate the derivative of the digamma function which is already supported by tensorflow. As suggested by @ebrevdo in #291, I have ported the code for the two-parameter zeta function from cephes which allows us to evaluate the polygamma function. A pull request for eigen is here.
What is the best way to proceed integrating the new functionality into tensorflow? I'm happy to contribute the code with a bit of input regarding the right procedure. In particular, how do you update the eigen sources within the tensorflow repo?

Let's get that code through review on bitbucket, then we can update the references and I'll push my changes adding igamma/igammac to TensorFlow.  You'll be able to use those as reference for the TF implementations of polygamma/zeta.

The zeta and polygamma functions are now in eigen. Happy to have a look at implementing them in tensorflow whenever you have time to update the references.

Great!  I need a couple of days to import your changes on our end.  In the meantime look at my recent push of igamma/igammac as a reference for wrapping zeta/polygamma.

(note the unit tests I added: they require scipy and cause a soft failure if it's not found.  this is fine - just make sure you have scipy installed when testing locally)

That sounds good. I have implemented the wrappers locally. Just let me know when you've integrated the changes and I'll submit a PR.

The Eigen implementations of the polygamma and zeta functions are now available in TensorFlow

@benoitsteiner is the build containing these functions already available ? thanks

@akashgit, the eigen code in TensorFlow supports the functions but they won't be available from python until the PR above is merged. You can have a look there if you need them urgently.


What version of Hybris is the fastpack made for?

Hello,
I am currently using the Hybris fastpack at a customer, and have noticed that some of the classes and methods that are being instrumented do not exist. For example: org.apache.solr.server.solrj.SolrServer.
My client is currently running <IP_ADDRESS>

The Fastpack is an accumulation, so it's a best-effort at keeping backward compatibility. There's no harm in sensor coverage for classes and packages that don't exist for any agents.
Also, this is meant to provide a starting point with a lot of coverage for typical implementations of Hybris Commerce. You should strive to improve your client's DynaTrace coverage based on their customizations, traffic patterns, and business risks and priorities. I recommend that you fork this repo, and contribute improvements back to your fork.

@aphor Yeah, of course. Sounds like an opportunity to contribute back 👍


better usernames

is there anyway to change how usernames are generated?? like instead of generating usernames like sadjasd124jiasjd2 it would instead generate usernames like firewhale4345? could i even have a txt file with usernames it could use and it would just down them in a line?

Hi, I did not see your issue when it was created, is this still relevant?


Jehovah

Skip to content
Skip to table of contents
JW.ORG
Change site language
Log In (opens new window)
Search JW.ORG CHRISTOPHER Columbus pease
SHOW MENU
Ca
4
The Song of Solomon4:1-16
Play
Current time 0:00
Loaded: 0%
Progress: 0%
Duration 0:00
Mute
4  “Look! You are beautiful, my beloved.Look! You are beautiful.Your eyes are those of doves behind your veil.Your hair is like a flock of goatsStreaming down the mountains of Gilʹe·ad.a 2  Your teeth are like a flock of newly shorn sheepThat have come up from being washed,All of them bearing twins,And not one has lost her young. 3  Your lips are like a scarlet thread,And your speech is delightful.Like a segment of pomegranateAre your cheeks* behind your veil. 4  Your neckb is like the tower of David,cBuilt with courses of stoneUpon which are hung a thousand shields,All the circular shields of the mighty men.d 5  Your two breasts are like two fawns,The twins of a gazelle,eThat feed among the lilies.” 6  “Until the day grows breezy* and the shadows flee,I will go my way to the mountain of myrrhAnd to the hill of frankincense.”f 7  “You are altogether beautiful, my beloved,gThere is no blemish in you. 8  Come with me from Lebʹa·non, my bride,Come with me from Lebʹa·non.hDescend from the peak of A·maʹnah,*From the peak of Seʹnir, the peak of Herʹmon,iFrom the lairs of lions, from the mountains of leopards.


SCM - Add Commit action button

Leverage the current "action button" infrastructure to add a new Commit action button that will help users commit their changes.

Checked in as 367eefd5f15b6a157800307b35dc2e8775a7083f.


atsec/3 - Section 2.2.1 - Add Key-wrapping to introduction

Comment:
A DSC protects the integrity of an SDO with one of the following methods:... should be extended to allow authenticated encryption ciphers compliant to NIST SP800-38F such as AES Key-Wrapping and TDES Key- Wrapping.
Proposal:
Add the SP800-38F compliant authenticated encryption ciphers such as AES Key-Wrapping and TDES Key- Wrapping to the bulletin list.
Priority: 2

@yiatsec is this needed for the current evaluation or is this something that can wait until v1.1? I don't see any particular issue with this change, but if it isn't needed for the current eval, I would prefer to defer to v1.1.

This is needed for the current eval

Do we need to have TDES? The current doc doesn't have any TDES, and I can't see wanting to add it (I know there are some banking systems that still use it, but it is now only approved for decrypting data, so it would seem strange to add it to wrap keys since that would imply using it elsewhere).

As this is in the informative section of the document, I do not think this needs to have a TD issued for it. The intro section does not lay requirements on what is or isn't available in the evaluation, so this should not need a TD to be created. I was not realizing this is not an SFR request and do not feel this would have any impact on an evaluation (any more than any other editorial change).
If we want to issue a broad "editorial fixes" TD, this could go in, but otherwise I would not make this a priority.

We do not need to have TDES. We're okay for not issuing a TD, and make editorial fixes in v1.1. The related SFR is FDP_ITC_EXT.2.1. This SFR contains the "assignment" operation, which is more flexible than selection, and can assign AES KeyWrapping as the method that maintains confidentiality and integrity integrity. So, we are good here.


docs: description for coverage include option

Adds missing documentation of #1883.
Default value comes from https://github.com/istanbuljs/test-exclude#optionsinclude.

@sheremet-va


Save points overlaying locus-specific spots

Right now, this is only interactive. Follow-up to #192 / #64

After discussion w/ @TLSteinacker , this is the plan:
Distinguish types of points (QC pass, out-of-bounds, QC fail, etc.) for napari at the filename level, so that users can control point shape, size, color, etc. with the actual corresponding points layers, and don't need to run any program but can rather drop image and precomputed points data directly into a napari window.


isShiftCharacter is hardcoded for US keyboard layout

The function
def isShiftCharacter(character):
"""Returns True if the key character is uppercase or shifted."""
return character.isupper() or character in '~!@#$%^&*()_+{}|:"<>?'
hardcodes the fact that characters require a shift modifier, but on french keyboard layout, most of those characters don't require shift.
The right keycode is sent by _keyDown, but with the wrong modifier.

(solved with running this, neutering the seemingly useless function isShiftCharacter):
def myIsShiftCharacter(character):
"""Returns True if the key character is uppercase or shifted."""
return False
pyautogui.isShiftCharacter = myIsShiftCharacter


Show more event color indicators

Is it possible to show more than 3 event color indicators in a date cell?

I don't think so it supports more than 3 for now.


Fix bugs, now code can run

For live and instant help consider checking python tutor

And thanks for the python tutor suggestion


fix dbt-doris  match dbt-core==1.5

Proposed changes
Issue Number: close #xxx
dbt-doris==0.2 match dbt-core==1.3 or older version
dbt-doris Subsequent version  match dbt-core==1.4，1.5
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall