Is there a way to connect to the lsp via HTTP?

Inside the examples folder, I saw this function:
function createUrl(path: string): string {
    const protocol = location.protocol === 'https:' ? 'wss' : 'ws';
    return normalizeUrl(`${protocol}://${location.host}${location.pathname}${path}`);
}

It made me wonder, is there a way to connect to the lsp via HTTP?

We need to be able to send messages from both client and server, so the most appropriate protocol is websocket.
I guess it's doable via long-polling or any other hack, your better chance is through socket.io or sockjs
What is your use-case?

What is your use-case?

Honestly I'm trying to limit the number of requests the editor can make to the LSP.
Or if possible supply a "stateless" way of analyzing, supplying completions, definitions, etc.
That way I could supply different  HTTP endpoints for each of those operations.
And throttle myself the requests via the HTTP layer.
I Know this is very hacky, but I'm trying to be the most efficient regarding messages being passed around the connection.

The language server protocol was designed stateful

Honestly I'm trying to limit the number of requests the editor can make to the LSP.
why?

Or if possible supply a "stateless" way of analyzing, supplying completions, definitions, etc.
I don't know your use case but you can probably have a look at LSIF


[Game Crash] Joining a second player while in two-part difficulty select leaves difficulty select open, crashes if song is chosen.

Describe the crash
While in two-part difficulty select, joining a second player will jump to a group on the music wheel, as expected.
However, this leaves two-part difficulty select open despite having a group instead of a song currently selected. If you press start at this time, the game will crash.
Confirmed on a few different themes and game modes, including Soundwaves in pump mode.
Logs are attached, crashinfo was not generated.
log.txt
How can you reproduce the error?

In a theme/game mode with two-part difficulty selection enabled, enter the music wheel and select a song, but don't pick a difficulty.
Join a second player by pushing their start button. The music wheel jumps to a group folder, but the game acts as if a song is still chosen and two-part difficulty select remains open.
Press start for either player, the game will crash.

Screenshots/Videos
No response
Game Mode
No response
Additional Information
No response

Fixed the behaviour.
https://user-images.githubusercontent.com/23246027/153774775-4d750ced-a0a9-49dc-98c0-e4932e3f54af.mp4


Validation of the parsed dictionary and construction of final API URL

Outcome

The extracted values from the LLM need to be validated against the Neurobagel Query model
Get the appropriate term url for diagnosis, assessment tool, sex  and image modality
Construct the final api url from the user query

Example
Validations
User prompt : How many users with min age 80 and max age 30
Model: Sorry but minimum age can’t be bigger than maximum age
User promt : Healthy consubjects diagnosed with Parkinson's.
Model: Subjects cannot both be healthy controls and have a diagnosis.
Fetching termURLs
diagnosis : 'schizophrenia'
output : snomed:58214004
assessment : 'zuckerman sensation seeking scale'
output : cogatlas:trm_56abebfe9aaa3
Tasks

[x] #17
[x] #19
[x] #23

@Raya679 Feel free to close this milestone since it has been addressed 🎉


Just check if kubeconfig from k3d works

Description
Changes proposed in this pull request:

...
...
...

Related issue(s)

/test all

/test all

/test all

/test all

/retest

/test all

/test all

/test all

/test all

/test all


Support other container orchestrators (like Podman)

Hi! Thanks so much for your work with this library 🙏
I use podman-compose instead of docker-compose. This PR makes that possible in this repo. It does the following:

Allows the user to specify a container orchestrator by passing CONTAINER_ORCHESTRATOR to make (make openresty-dev CONTAINER_ORCHESTRATOR=podman).
Defaults the value of CONTAINER_ORCHESTRATOR to docker-compose to preserve existing behavior.
Adds make openresty-build to build container images specified in docker-compose.yml.
Updates README to indicate that people should run make openresty-build before make openresty-dev.
Renames DOCKER_COMPOSE_EXEC_OPTIONS to CONTAINER_ORCHESTRATOR_EXEC_OPTIONS

Please update .github/workflows/ci.yaml

@yangxikun sorry for the trouble - I should have caught that one! Do you mind triggering CI to see if this fixes it?


support iOS 6 with layout imperfections

Add initial support to iOS 6.

DZNPhotoPickerController needs some heavier layout polishing, but it's perfectly functional.
Tested on an iPod 4 with iOS 6.1.6 compiling with Xcode 6.1.1.

Is this decision still open for discussion?
It might not worth the effort for you, but surely does for many developers (me included). I understand you can't test it, but for sure the community can (at least I will, together with my company's QAs too), so why not take advantage of that?
Besides, I reviewed this PR many times to make sure there's absolutely no effects on iOS 7+. The only quality that might be compromised by this PR is the quality of the library for iOS 6, which is not even currently supported.
Also please note that I'm taking my time arguing just for the sake of helping the community. If you really don't want to accept this PR I'll keep maintaining the changes on my fork, making it more stable also or iOS6 and pulling from yours, so maybe you can take that decision later. :)
Thank you so much for this incredibly useful library, btw!
Best regards

In fact there's still some things to do before we could say the lib supports iOS 6. Sorry for requesting a pull in such an early state.
I talked to my colleagues here and we decided to make our fixes in my fork and use it in a private Spec file for now. Unless we end up deciding iOS 6 is not worth it for us anymore, you can expect soon a more stable PR, with iOS 6 screenshots looking as similar as possible to the UIImagePickerController iOS 6 looks. ;)
Just for the record, these are the screenshots of the standard UIImagePickerController:

And this is how DZNPhotoPickerController looks in the current state:

Oh, and I guess you can close this PR now


locking quirks

sometimes it loses the lock on a bit of code, particularly when switching editors.
Perhaps some listener quirk or race conditions?

Still with us :(
I noticed after a while I end up having several open sessions on the target.
New theory:

when at least one file is locked, all calls are stateful unless explicitly requested
when multiple calls are made in stateful mode at the same time, I create extra sessions
when a lock is created in session x can only be deleted in session x

Proposed solution:

make calls stateless by default even when files are locked
queue all stateful calls, so I will only have one global persistent session

I think this time is closed for good
Worked smoothly for several hours before releasing it


Upgrade "Marked" to v4.0.10 or later

What You Are Seeing?
There is a security vulnerability in the version of Marked we are using, and it needs to be upgraded to version 4.0.10 or later in order to resolve this issue. See https://github.com/advisories/GHSA-rrrm-qjm4-v8hf.
What is Expected?
No security vulnerabilities should be present in choco-theme.
How Did You Get This To Happen? (Steps to Reproduce)
Notified of this vulnerability by dependabot. I can also run yarn audit to see this vulnerability.

@st3phhays thanks for getting this fixed up!


Bug: Select all key board shortcut on Mac (Command + A) does not work in "Environment Name" text box.

Several textboxes do not support the "Select All" keyboard shortcut on Mac. However, copy and paste keyboard shortcuts work as expected.

Have not tested app on any other OS.
Good for "First Issue" label.

At long last Bruno Version 0.15.0 happily bids adieu to this issue 🎉 🎉
PS: Duplicate issue that tracked dev on this is #131


Expressions within template literal don't work

I would understand if dynamic properties didn't work, but dynamic values don't seem to be working either. Compiling succeeds, but the pieces with the expression seem to be omitted from the inserted script tag.

const buttonColor = 'red';

return (

);

Thank you!

Yeah this is something that could definitely work, but it's going to take some work. @hzoo, is it possible to create a babel template literal expression from text that includes ${}?  That way we can pass the raw text to the css compiler containing the ${}, and then pass it back to babel

The problem is that the css gets added only once per component, so the CSS can't really be dynamic

We'd have to think about a way of bypassing the deduping if properties are used, but the problem there is that it would really hurt performance

This is a problem with styled-components as well at the moment

Ah I see, thank you for the explanation

Would it be possible to insert the style tag where it's indicated instead of appending to the , and then scoping for each instantiated component instead? That could potentially increase the amount of outputted HTML/CSS substantially, but shouldn't hurt runtime performance extremely badly, unless I'm missing something.

Er I guess not appending to the head doesn't really solve any problems, that would be just the same as not deduping at all, never mind.

Essentially we need to dedupe based on the resulting CSS string as opposed to the hash. But then components could conflict. Therefore, we would need to figure out a way of targeting elements within a specific component

In general, if you ask me, the power of CSS is in it not being dynamic, because it can be heavily optimized.

I'm keeping this open in case we figure a workaround, but otherwise I'm keeping it open because we need to warn the user during compilation

That's true. I'm mainly trying to do this to easily style a dom element I don't have control over, but I guess I can just as easily do it directly with JS instead.
That's reasonable, I think it would be nice to mention in the README somewhere that expressions aren't supported in addition to a compile-time warning. Having never used styled-components before I just assumed this would work and I imagine others might too. Thanks!

Unless it is mentioned somewhere in the docs and I'm just blind, I apologize if that's the case.

See #26

@rauchg actually you can with styled-components.
You can do this:
import styled from 'styled-components';

const orangeColor = 'orange';
const align = 'right';

const Title = styled.h1`
  font-size: 1.5em;
  text-align: ${align};
  color: ${orangeColor};
`;

To be able to do this is very important. Otherwise, we cannot use javascript to manipulate colors, units, custom mixins like sass and other things like that...
Just toggle class is not enough.

Yep but dynamic stuff in CSS has serious performance tradeoffs. it's
something I might consider but being static is also an advantage for
predictable perf
On Sun, Dec 18, 2016 at 4:16 PM Bruno Lourenço<EMAIL_ADDRESS>wrote:

@rauchg https://github.com/rauchg actually you can with
styled-components.
You can do this:
import styled from 'styled-components';
const orangeColor = 'orange';
const align = 'right';
const Title = styled.h1`
font-size: 1.5em;
text-align: ${align};
color: ${orangeColor};
`;
To be able to do this is very important. Otherwise, we cannot use
javascript to manipulate colors, units, custom mixins like sass and other
things like that...
Just toggle class is not enough.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/zeit/styled-jsx/issues/25#issuecomment-267857842, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAAy8T5GvaWDcknTutAiCloJxQB_p4Zaks5rJczpgaJpZM4LGyuw
.

I'm thinking code sharing and being static. One simple pattern that's been possible for a while by using CSS preprocessors (and I guess post processors too) is the ability to f.ex. declare all used colors in one place and then use these colors across the app by referencing the variable name that holds the color code. As these colors are declared once and used all around the app it's really easy to tweak them when necessary.
If you don't follow this kind of pattern and you f.ex need to change a color you either need to go through all components on your app and update the color by hand or do a really careful search & replace. In bigger codebases without a centralized solution for things like colors, z-indexes etc. seeing the bigger picture becomes hard and it will lead to fragmentation.
Though the case here is very different I've always seen CSS pre and post processors as static code generators. Though I understand why you're avoiding dynamic stuff I don't understand why it should stand in way of code sharing. Or is there currently a way to achieve something close to what I've described above with styled-jsx?

Yes I realized the other day that we can support expressions from outside
the closure (i.e.: not from props) for shared constants like colors and
fonts
On Wed, Dec 21, 2016 at 11:50 AM Joonas Salovaara<EMAIL_ADDRESS>wrote:

I'm thinking code sharing and being static. One simple pattern that's been
possible for a while by using CSS preprocessors (and I guess post
processors too) is the ability to f.ex. declare all used colors in one
place and then use these colors across the app by referencing the variable
name that holds the color code. As these colors are declared once and used
all around the app it's really easy to tweak them when necessary.
If you don't follow this kind of pattern and you f.ex need to change a
color you either need to go through all components on your app and update
the color by hand or do a really careful search & replace. In bigger
codebases without a centralized solution for things like colors, z-indexes
etc. seeing the bigger picture becomes hard and it will lead to
fragmentation.
Though the case here is very different I've always seen CSS pre and post
processors as static code generators. Though I understand why you're
avoiding dynamic stuff I don't understand why it should stand in way of
code sharing. Or is there currently a way to achieve something close to
what I've described above with styled-jsx?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/zeit/styled-jsx/issues/25#issuecomment-268621919, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAAy8V1fQb-_PDwdOCsgJu1qKmC7YNlgks5rKYMSgaJpZM4LGyuw
.

@rauchg So this is in the roadmap? 🙂

@rauchg how would you calculate the hash in that case? Are you thinking of resolving expressions by hand before hashing the css?

Basically we'd do as much as we can to ensure people are using constants (by preventing usage of expressions that only live within the scope), and we'd hash with the name of the constant, not the value (to avoid complexity).
Obviously there are edge cases where people will have their expectations of dynamism not met, but if we prevent props / state from being used, we cover most potential surprises.
Would you agree?

Yeah this would work and add basic support for constants.
Maybe we can allow anything but inline functions? The following should all be valid:
`p { color: ${myColor)}; }`
`p { color: ${darken(myColor))}; }`
`div { width: ${5*gridCellSize}px; }`

I assume that any constant in the module scope is valid right? or where you thinking about restricting to the innermost scope? (the render one usually)

@rauchg Yeah this would work and add basic support for constants.
Maybe we can allow anything but inline functions? The following should all be valid:
`p { color: ${myColor)}; }`
`p { color: ${darken(myColor))}; }`
`div { width: ${5*gridCellSize}px; }`

I assume that any constant in the module scope is valid right? or where you thinking about restricting to the innermost scope? (the render one usually)

🤔 I'm beginning to wonder if using CSS variables (especially for top level themes) would be the best choice for me. It does impose an implicit API on the components for css variables to be predefined.

I tend to leverage css variables for dynamic values such as this.
Something like the following:
MyComponent.jsx
function MyComponent({ children, color, fontSize }){
    return
{children}

}

MyComonent.css
.MyComponent {
    color: var(--MyComponent-color);
    font-size: var(--MyComponent-fontSize);
}


Version 3.16.2 - Changes in work with Streams

ATTENTION: DO NOT USE THIS FIELD TO ASK SUPPORT QUESTIONS. USE THE PLATFORM CHANNELS FOR THIS.
Fill in the template. Issues that do not respect the model will be closed.
Describe the bug
I turn an Rx value to a stream by using .steam
In version 3.15.0 everything work ok, i can listen to this stream, and it will work whenever i set new value to my Rx value.
But in version 3.16.2 it seem to be broken
**Reproduction code
example:
I declare the Rx value like this:
  Rx<BleCommandItemModel> _bleCommand = Rx<BleCommandItemModel>();

  BleCommandItemModel get bleCommand => _bleCommand.value;

  Stream<BleCommandItemModel> get bleCommandStream => _bleCommand.stream;

  set bleCommand(BleCommandItemModel value) => _bleCommand.value = value;

Then in other place:
  /// ### Initialize handler for [bleCommandStream] ###
  /// On every new command, that added to the [bleCommandStream] run [_sendCommandHandler]
  void initCommandsHandler() {
    Log.info(tag, 'initCommandsHandler');
    bleCommandStream.asyncMap((command) async {
      if(command!=null){
        Log.info(tag, 'New commands added $command');
        await _sendCommandHandler(command);
      }
    }).listen(null);
  }

and finally the method where i assign new value to the bleCommand
bool addCommand(
    ProtoEnums_PacketType packetType, {
    Uint8List payload,
    BleRequestState stateForUpdateOnSend,
    Function onSuccessCb,
    Function onErrorCb,
  }) {
    Log.info(tag, 'addCommand $packetType');

    var task = BleCommandItemModel(...);

    Log.info(tag,
        "adding command: ${task.toString()} (id: ${task.transactionNum.toString()})");

    bleCommand = task;

    return true;
  }

So the issue is that bleCommandStream.asyncMap work only at first time, and than, when i try to send next command, .asyncMap not fired.
Revert back to 3.15.0 solve the issue

Hi, I was unable to reproduce your code, but I suspect what may be happening. Could you make these changes and see if it works?
If positive or negative, let me know that I will make an update to fix this.
class YourClass{
  YourClass(){
  bleCommandStream = _bleCommand.stream;
  }

  Stream<BleCommandItemModel> bleCommandStream;
}

Thanks

Do you mean to initialize stream within class constructor?
But this class is the GetxController, so should i do it in the onInint?

Do you mean to initialize stream within class constructor?
But this class is the GetxController, so should i do it in the onInint?

Hi, I'm not recommending you do this, just asking you to check the behavior with this test, as I couldn't reproduce your code, I need to know if a new instance of GetStreamTransformation is being created when you use a getter (because I tried to reproduce without a getter and I couldn't, if the problem is in using a getter for you, I can solve it in the update that will be done in 40 minutes).

Hello, and sorry for the late response.
Solution, that you proposed, doesn't help much, however i did a different tests with simply logic, to make possible provide you a reproducible code, and found out that this issue happen to me only in this specific case, so i removed asyncMap and use only listen for this stream, and this works ok now.
Thank you, for support


Test Driven Development Project

Test Driven Development Project
In this branch, we have done the following
✅ used the TDD approach to add these methods to the Solver class

factorial method
reverse method
fizzbuzz method

Thanks @emmanuellekamwa


Change name of pixel_threshold

Change name of pixel_threshold into partition_max_rows.

Will be named hats_max_rows. Possible now via kwarg from #358. Opened https://github.com/astronomy-commons/hipscat-import/issues/393 to add this field at catalog creation time.


REST API documentation generated from actual Mauro API endpoints

Issue
The REST API documentation currently has to be manually written, and includes gaps in the documentation which need filling. Understanding first how each endpoint works is time consuming.
Suggestion

It would be nice if there were a way to somehow automate the documentation of the REST API directly from Mauro endpoints so that this documentation site can simply link to that API documentation.
Having a standardised written layout for API documentation would also be a bonus.

Possible Solutions
Postman Documentation
We currently have a Postman collection available in https://github.com/MauroDataMapper/postman-library. Postman also allows collections to contain documentation and samples as well as requests to run, allowing API documentation to be auto-generated and published.
Pros:

Re-use the existing Postman collection more.
Standardise the written output of the API documentation better.
Can easily include examples too.

Cons:

The Mauro Postman collection also has gaps in knowledge that need to be filled.
Some features of Postman require either a team workspace and/or paid account. Further research may be required.

Swagger
Another way is to use Swagger tools by defining the Mauro API to the Open API Specification to assist in generating documentation.
Pros:

Standardise the written output of the API documentation better.
From my understanding, the schema could be inferred from Mauro API itself, which may help initially ramp up.

Cons:

Possibly more work involved due to starting from scratch.
Again, would need to research further with regards to paid accounts and features.

Anything else?
Other suggestions are welcome.

issue is the utter lack of decent plugins for this task. James has previously looked into some, but we both agreed ages ago that auto gen'd api docs would be better than manually doing it.
I'll have a look myself and see if we can get anything to work as a grails plugin, otherwise the best option would be the postman documenting system as I see that as very easy for us to use and keep up to date

im putting a veto on manual swagger documentation ..... littering our code with swagger annotations is not maintainable or acceptable in the world of grails, nor should it be necessary with the grails code, i cannot understand how there isnt an official grails plugin.....theres a micronaut one!
I am looking into plugins which dont need the tons and tons of annotations

https://github.com/steamcleaner/swagger-grails is the only "automated" system, but will still require us to add liberal swagger annotations across all our controllers....
I'm thinking its going to be postman

its also worth noting that postman can generate a full proper openapi document which can then be served into an application like swagger for free...so we may not need to maintain payment for postman and as its openapi we can probably use any other form of application which can also read the same document

The automated swagger tools work really well in a fully-typed language like java, where you can work out what the parameters and response will look like.  A lot of our controller methods use def, so any automated tool will be of limited use (we know there's an endpoint, but we've no idea what the request should look like, or what the response might contain).
I'm happy to take advantage of everything that postman has to offer - I've looked before and I think we would be eligible for discounted, if not free, rates.

As an aside (mostly relevant), it would also be useful if there was a nice way of automatically extracting our domain model for documentation.  If we can find any decent tool for doing this, I'd convert whatever output it produced into a Mauro model, and document it within Mauro (perhaps in a demo instance that anyone could subscribe to).

Points on Swagger that @olliefreeman has made - I have no issues discounting this, simply presenting any option available to reduce further. Postman is fine with me as long as it supports all the features you require.
In terms of filling in documentation, I have spent quite a while filling in doc comments (which auto generate their own documentation) for the mdm-resources, I think cribbing from these may be a good start to document endpoints and expected parameters, request bodies and responses. I'm happy to help with this process.
Also from @jamesrwelch point about domain models - the mdm-resources repo also contains a lot of type definitions now (written in TypeScript) to represent various data, such as model types. It may not be a perfect match compared to the Grails code, but that may also help be a start to document a domain model too.


config.js.coffee overridden by template config.js when placed in mounted engine

I wish to provide a default configuration inside my Rails engine that mounting apps can implicitly accept (by not writing any CKEDITOR js in their application). However with the absence of app/assets/javascripts/ckeditor/config.js in the mounting app, the following config.js file is served after the engine's config.js.coffee and effectively overwrites the method definition:
/**
 * @license Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or http://ckeditor.com/license
 */

CKEDITOR.editorConfig = function( config ) {
    // Define changes to default configuration here. For example:
    // config.language = 'fr';
    // config.uiColor = '#AADC6E';
};

Here's a screencap of the network requests in the Inspector panel:

Hi @JakeTheSnake3p0
I'm facing the same issue. Were you able to resolve it?


Can I finetune one people's voice (my own voice) with this model ?And how ?

Hi, can you tell me how to finetune one people's voice ,so I can get a specific people's speech？can you tell me the steps ? And how much( or how long ) the duration of this one-people's funetune data should be ?

Why closing this?

Why closing this?

I'm also wondering. The question is very interesting.


failed to pull public image with Username/Password

Description
containerd cannot pull public image with username/password.
We expected containerd should pull the public image whatever username/password given or not.
Compare containerd with docker:
docker can pull public image even docker logined successfully.
Describe the results you received:
# ctr images pull docker.io/library/nginx:latest --u foo:foo
docker.io/library/nginx:latest: resolving      |--------------------------------------|
elapsed: 2.0 s                  total:   0.0 B (0.0 B/s)
ctr: failed to fetch oauth token: unexpected status: 401 Unauthorized

Describe the results you expected:
# ctr images pull docker.io/library/nginx:latest
docker.io/library/nginx:latest:                                                   resolved       |++++++++++++++++++++++++++++++++++++++|
index-sha256:7bec63c90816c228eb168f142bc4217716ae5e54fb6f6d203e35f4e4ebf4b4c6:    exists         |++++++++++++++++++++++++++++++++++++++|
manifest-sha256:600bff7fb36d7992512f8c07abd50aac08db8f17c94e3c83e47d53435a1a6f7c: exists         |++++++++++++++++++++++++++++++++++++++|
layer-sha256:4e9f6296fa34712fd20dff7940a476b0d47b91671528644253336bfb00fb4924:    exists         |++++++++++++++++++++++++++++++++++++++|
layer-sha256:8176e34d5d92775e15a602541e02fec25a22933a12561c114436b757b8e7a9e8:    downloading    |--------------------------------------| 35.4 KiB/21.5 MiB
config-sha256:e548f1a579cf529320a3c1d8789399e5fea0bfaa04cbb70d03890afafb748a2f:   downloading    |--------------------------------------|    0.0 B/5.9 KiB
layer-sha256:5b19c1bdd74be0e4a37550f5b05fbc2280961123634f58da0765bbc36b71f444:    downloading    |--------------------------------------|    0.0 B/21.0 MiB
elapsed: 5.9 s                                                                    total:  35.4 K (6.0 KiB/s)

Output of containerd --version:
# containerd --version
containerd github.com/containerd/containerd v1.0.0-139-g90553ef 90553efdef0678b2609aed74926a487f8ff58d1a

This cause some effect in kubernetes.
Given below pod yaml:
apiVersion: v1
kind: Pod
metadata:
  name: test-pod
spec:
  containers:
  - name: test
    image: nginx
    imagePullPolicy: Always
    command: ["sh", "-c"]
    args: ["set -x; echo $HOSTNAME; sleep 10000"]
  imagePullSecrets:
  - name: regsecret
  restartPolicy: Never

(the content of regsecret is random string)
If we use dockershim as container runtime, above pod runs successfully.
If we use cri-containerd/containerd as container runtime, above pod failed with "401 Unauthorized".

The title here is misleading, it should be containerd cannot pull public image with invalid username/password.  The containerd code is doing the right thing here, the registry is returning a response that authentication is required with a token server, containerd is then authorizing with the token server and the token server has failed to validate the credentials. The caller is welcome to retry without the credentials just as your example flow shows.
A higher level system like CRI or Docker is responsible for this case. With Docker, there is an explicit login step where it stores the credentials, if the login fails then it will not store or use the credentials. With CRI, it can either ignore credentials which are obviously bad or retry on 401.


JumpList icon fix

DO NOT TEST IN DEBUGGER - YOU'LL SEE BLANK ICON AND ASSUME ITS BROKEN.
http://stackoverflow.com/questions/5361096/wpf-jumptask-another-icon-than-the-default-one if you want to use  different icon to the exe's.

Yes. Log it as an issue if you want it fixed - I've burned too much time trying to find a solution for that scenario.


Error message: "a network error occurred while restoring your wallet. please try again"

I have been trying to migrate my Iota wallet for two days and when I enter my 81 character seed and hit the continue button I get the following error message in a red bubble: "a network error has occurred restoring your wallet. please try again" (translated because I use the Spanish language in the Firefly wallet).
I have tried with both Windows and Linux and I am not making any progress on either operating system without being able to migrate my iotas.
Can anyone help me?
Thank you very much.
This is the last error log in the Firefly under Linux:
Sun, 02 May 2021 08:52:52 GMT
Panic: Internal error: called Option::unwrap() on a None value
0: iota_wallet::actor::panic_to_response_message
1: iota_wallet::actor::WalletMessageHandler::handle::{{closure}}
2: <core::future::from_generator::GenFuture as core::future::future::Future>::poll
3: tokio::runtime::task::harness::poll_future
4: tokio::runtime::task::harness::Harness<T,S>::poll
5: std::thread::local::LocalKey::with
6: tokio::runtime::thread_pool::worker::Context::run_task
7: tokio::runtime::thread_pool::worker::Context::run
8: tokio::macros::scoped_tls::ScopedKey::set
9: tokio::runtime::thread_pool::worker::run
10: tokio::loom::std::unsafe_cell::UnsafeCell::with_mut
11: <std::panic::AssertUnwindSafe as core::ops::function::FnOnce<()>>::call_once
12: tokio::runtime::task::harness::Harness<T,S>::poll
13: tokio::runtime::blocking::pool::Inner::run
14: std::sys_common::backtrace::__rust_begin_short_backtrace
15: core::ops::function::FnOnce::call_once{{vtable.shim}}
16: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce>::call_once
at /rustc/2fd73fabe469357a12c2c974c140f67e7cdd76d0/library/alloc/src/boxed.rs:1521:9
<alloc::boxed::Box<F,A> as core::ops::function::FnOnce>::call_once
at /rustc/2fd73fabe469357a12c2c974c140f67e7cdd76d0/library/alloc/src/boxed.rs:1521:9
std::sys::unix::thread::Thread::new::thread_start
at /rustc/2fd73fabe469357a12c2c974c140f67e7cdd76d0/library/std/src/sys/unix/thread.rs:71:17
17: start_thread
18: clone

Finally I have been able to solve it. I disabled a VPN connection that was blocking the process and finally I was able to successfully migrate the portfolio.
Thanks


GA Update

[Kindly update the GA features as I can see it is just added as preview.]

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 148f4f24-7541-a2ab-5e35-2af0dd44f268
Version Independent ID: 148f4f24-7541-a2ab-5e35-2af0dd44f268
Content: Preview of Dynamics 365 Commerce 10.0.35 (July 2023) - Commerce | Dynamics 365
Content Source: articles/commerce/get-started/whats-new-commerce-10-0-35.md
Service: dynamics-365-commerce
GitHub Login: @josaw1
Microsoft Alias: josaw

Bug 834371 has been logged to address this issue.


USB Drives "Spinning Down" can result in games to crash if run from a CIFS share

An issue I have come across which can cause some games to crash if run from the CIFS Shares is if the Hard Drive spins down due to inactivity, it can cause some games to crash because the Drive has to spin back up.
Anyway of preventing the "Spin Down" of the Drive?

https://man7.org/linux/man-pages/man8/hdparm.8.html - hdparm would be the way to do this.

I can look at adding a startup service that runs hdparm with -B 254 (highest power, least likely spin down) followed by -B 255 (disable power management all together if available in the hardware) on all attached drives.
You can test for yourself (run the commands as root/sudo), but that can definitely be thrown in to one of the menus as an option.

HDPARM command not found?

Have a go with hdparm -S 0 /dev/sda1
from the man page
"Put the drive into idle (low-power) mode, and also set the standby (spindown) timeout for the drive."
"A value of zero means "timeouts are disabled":  the device will not automatically enter standby mode."

Gave that a try and the Drive does still spin down after some inactivity causing games to crash :(
I guess its the Drives firmware that is telling it to spin down and thus we can't control it in software?

If you run hdparm -I /dev/sda check the your drive says it has Power Manager feature set enabled and then confirm the Advanced power management level before and after the commands, also this wont persist over reboots without further configuration
Another option may be to look at drive Acoustic levels it may be supported on your drive (it is not on my local usb) with hdparm -M /dev/sda
What is the disk model? Looking at the arch hdparm wiki WD Green drives are problematic with hdparm.
Otherwise a incredibly hacky option could be to touch a file or read a block every so often with cron or a systemd timer.

Had a look at a USB drive i chucked onto my Pi, can you confirm the settings are taken by your drive? Mine will not support a status with hdparm -C /dev/sda unfortunately but I can confirm APM is disabled after the setting hdparm -B 255 /dev/sda is applied.
root@raspberrypi:~# hdparm -C /dev/sda

/dev/sda:
SG_IO: bad/missing sense data, sb[]:  70 00 01 00 00 00 00 0a 00 00 00 00 00 1d 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 drive state is:  unknown
root@raspberrypi:~#

ATA device, with non-removable media
  Model Number:       WDC WD3200BEVT-22ZCT0
  Serial Number:      WD-WXE408KJ2306
  Firmware Revision:  11.01A11
  Transport:          Serial, SATA 1.0a, SATA II Extensions, SATA Rev 2.5

  Standby timer values: spec'd by Standard, with device specific minimum
  Advanced power management level: 128
  Recommended acoustic management value: 128, current value: 254

root@raspberrypi:~# hdparm -S 0 /dev/sda

/dev/sda:
 setting standby to 0 (off)
SG_IO: bad/missing sense data, sb[]:  70 00 01 00 00 00 00 0a 00 00 00 00 00 1d 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
root@raspberrypi:~#

root@raspberrypi:~# hdparm -B 255 /dev/sda

/dev/sda:
 setting Advanced Power Management level to disabled
SG_IO: bad/missing sense data, sb[]:  70 00 01 00 00 00 00 0a 00 00 00 00 00 1d 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 APM_level	= off
root@raspberrypi:~#

	Advanced power management level: disabled

I was/am investigating the option of having hdparm read random sector from the hdd on a systemd timer to prevent sleep atm, something like this with a systemd timer so we can introduce some further timed randomness. I am open for comment on this approach though.
#!/bin/bash
#
# Prevent a disk going to sleep by reading a sector
#

# list the drives that need to be punished
NOSLEEP=(
  /dev/sda
)

# REQUIREMENTS
REQFAIL=0
[ ! -x /usr/sbin/hdparm ] && echo "hdparm not executable" && REQFAIL=1
[ ! -x /usr/bin/shuf ] && echo "shuf not executable" && REQFAIL=1
[ $REQFAIL -ne 0 ] && echo "Failed requiements, check previous messages" && exit $REQFAIL

for DISK in ${NOSLEEP[@]}
do
        MAXSECTOR=$(hdparm -I $DISK | awk '/LBA48/{print $5}')
        RANDSECTOR=$(shuf -i 1-${MAXSECTOR} -n 1)
        echo "Reading ${RANDSECTOR} (max:${MAXSECTOR}) from ${DISK}"
        hdparm --readsector $RANDSECTOR $DISK &>/dev/null
done

I've added a branch with experimental hdparm support, @davedoc1984 can you please test it against your drive.
Since none of the standard hdparm solutions have worked for you, its best we check it against your setup.
I have included the above script as a service that runs on a timer to poke the drive at random, the scripts is currently hard coded to use /dev/sda while testing.
To switch to the new branch, please ssh into a RetronNAS device and do the following
# cd /opt/retronas
# git pull
# git checkout hdparm
# /opt/retronas/retronas.sh -g

Once retronas loads you should see an Advanced Tools menu, the hdparm menu is under this with the options discussed in this issue
To switch back to the main branch
# cd /opt/retronas
# git pull
# git checkout main
# /opt/retronas/retronas.sh

Hi Dan, mine appears as \dev\sda1 does that make any difference?

Hi Dan, mine appears as /dev/sda1 does that make any difference?

The /dev/sda1 signifies the first partition on the drive, this number increments when adding additional partitions on a drive. The partitions is what is mounted on the system with a filesystem applied (in most cases)
We are targeting disk functionality which is /dev/sda (no 1)

OK I will take a look thanks, that looks to have started happening here as well now.

I've committed some fixes, oversights when moving from systemd instances to a static service in the code and some items i didn't catch working on a VM vs hardware, if you are still on the hdparm branch you can change into the directory and issue git pull to update your local copy.
You will then need to reinstall the hdparm instance using Install from the menu. A subsequent Stop and Start of the service should suffice to get it going as a Start will issue a reset-failed on the.
If not please post the results of the Query Status output in full.
Thanks

This is running OK for me with these fixes, so i'm going to merge in the fixes

Merged to main branch in commit https://github.com/danmons/retronas/commit/e02460d278f940db171f9409bbd146f396e5bb38

Its not fixed for me. I still have the issue with my Drive Spinning down.

it can cause some games to crash because the Drive has to spin back up.

@davedoc1984 can you provide some game examples?


Fix some package / package-title attribute displays

Solves two problems shown in the screenshot below:

Don't show content type if it's not returned from RM API.
If a type or subtype of an identifier is outside of the bounds of what we know, call it an "Unknown Identifier." We were being returned ids not defined in the RM API docs https://developer.ebsco.com/rmapireference#identifier. It would be much better to receive the string describing the identifier from the RM API, instead of having to manually map ids.

🐳 👍


New reference page for key sub-command (not subkey)

The insert sub-command info on the subkey page is commented out in substrate-developer-hub/substrate-developer-hub.github.io#992 , as it is not included anymore. This should be migrated to a new page dedicated to the key command, as it is now diverging from subkey.

[ ] Add information about differences, and when to use which
[ ] insert sub-command migrated
[ ] Add content that informs why this BEEFY key format exists (see PR for details)

Covered in the node-template CLI info


Add onWheel and onContextMenu events to SVG element

Not sure if this is the right place to add these events architecturally, but it does work!  onContextMenu needs to be added separately since it is not included in DOM.HTML.Indexed.MouseEvents, even though it has type MouseEvent.

Sorry for the delay, just had time to look at this. The reason I haven't previously done this is that the SVG 1.1 specification does not include these events.
SVG 2 does include the mousewheel event, via the UI Events spec. I can't find any reference to the contextmenu event though. SVG2 support is incomplete in Firefox, and I cannot find any information about Chrome.
From testing, onwheel does work in Firefox 52, but oncontextmenu does not. Do you have any data points to add to that? I'm tempted to throw wheel events in if they are widely supported/desired, since they would be useful for me too.

So just some background:  I'm using DOM.Event.Event.preventDefault on the oncontextmenu event to prevent the context menu from popping up on a right-click (for panning purposes).  This works in Firefox 60, Edge 41 and Chrome 66, and onwheel does too.  These are the latest versions of these browsers, though, and it's a bit disconcerting that Firefox 52 doesn't support oncontextmenu on the SVG element.
While testing on Firefox 57 and dragging around a rect (with the dragging handled by my code), I saw that the ondrag event was being fired, effectively breaking the dragging logic.  So I'm wondering whether adding drag events might also be necessary, so that they can be intercepted.
Niggly implementation details that the SVG working group probably could not foresee.  It would be nice if the SVG element just implemented the GlobalEventHandlers mixin like any HTMLElement.

Hmm, that Firefox page says SVGElements do implement the global events. Could you check the other browsers to see if elements like <rect> implement these too? It might be more appropriate to add these events to all SVG elements instead of just SVGsvg (which represents the <svg> element only).

I couldn't find any documentation about Chrome or Edge's support for GlobalEventHandlers/Global Event Attributes.  It does seem like GlobalEventHandlers support is being suggested for SVG 2.0.
Some spot checks with the rect element:

onmousewheel:  Chrome ✔, Firefox ✖, Edge ✔
onmouseleave:  Chrome ✔, Firefox ✔, Edge ✔
ondblclick: Chrome ✔, Firefox ✔, Edge ✔
ondrag:  Chrome ✔, Firefox ✖, Edge ✖

(Firefox 60, Edge 41, Chrome 66)
So Global Event Attribute support is not universal, and will probably be spotty for other element/event combinations.

@costructuralist could you have a look if cece266 would fit your needs? I've added a pile of events and reorganized things a bit to match mozilla's documentation.

That looks great - thanks for your trouble!  I added a comment about preserveAspectRatio to the commit (have been meaning to create a pull request for it), but maybe it should be dealt with separately.  Depends on whether preserveAspectRatio is modelled as a String or as a more elaborate sum type.

Added in 7490d4cb. I've done the same thing as I did for the transform attribute - the attribute is a String and there's a function to create it from proper types. Is there a better way to do it, where I can use the type directly as the attribute type? Presumably it would have to be an instance of Show or something then?

Oh I tried the drag* events and couldn't get them working, even on Chromium, hence they're not included.

Regarding the preserveAspectRatio attribute, what you implemented in https://github.com/kwohlfahrt/purescript-halogen-svg/commit/7490d4cb9fecf5ebaea23ab26769b2737899cb87 is exactly what I meant as an alternative to just exposing it as a String - perfect.   No room for error.

Added in v0.0.4. The next release will switch to purescript-0.12, and will be tagged v0.1.0.


FILL omits (-inf) level, adds spurious level

Reported by Andrew Wittenberg on 14 Jul 2007 00:30 UTC
SHADE works great with LEV=(-inf)(26,28,1)(inf).  But FILL omits the (-inf)
level (plotting it as missing), and strangely adds another level at 25.
    NOAA/PMEL TMAP
    FERRET v6.03
    Linux(g77) 2.4.21-32 - 05/25/07
    13-Jul-07 20:15

yes? use coads_climatology; set reg t
yes? set v left; shade/line/key/l=1/lev=(-inf)(26,28,1)(inf) sst
yes? set v right; fill/line/key/l=1/lev=(-inf)(26,28,1)(inf) sst
Migrated-From: http://dunkel.pmel.noaa.gov/trac/ferret/ticket/1519

Comment by<EMAIL_ADDRESS>on 16 Jul 2007 16:45 UTC
This worked correctly in v6.02. Suspect fixes in plotz.F for bug 904

Comment by<EMAIL_ADDRESS>on 16 Jul 2007 20:57 UTC
This was indeed a bug in plotz.F. For (-inf) (inf) levels, the highest and
lowest level which should correspond to the upper and lower bounds of the data
field, were being incorrectly reset.
Fixed.

Attachment from<EMAIL_ADDRESS>on 14 Jul 2007 00:31 UTC
The resulting plot.
REPLACE THIS TEXT WITH UPLOADED FILE ./attachments/TRAC_1519_GIT_791/plot.gif


Issue while converting from ONNX to TensorRT Engine

Hi,
I am Converting my Custom Pytorch Model to TRT Engine file. I am able to convert the model to Onnx, but I am facing an Issue while converting from Onnx to the Engine file.
I am getting the error as:
AttributeError: ‘NoneType’ object has no attribute ‘serialize’.
I am giving the correct shape as an input to the build engine function.
And for the Resnet50 model, I am able to convert successfully but for my custom model, I am facing the above issue.
Please suggest if there is any specific reason behind that.

Thanks

I tried with trtexec command, I am getting the error as attached below:
While parsing node number 195 [Resize]:
ERROR: ModelImporter.cpp:124 In function parseGraph:
[5] Assertion failed: ctx->tensors().count(inputName)
[09/25/2020-11:02:52] [E] Failed to parse onnx file
[09/25/2020-11:02:52] [E] Parsing model failed
[09/25/2020-11:02:52] [E] Engine creation failed
[09/25/2020-11:02:52] [E] Engine set up failed
&&&& FAILED TensorRT.trtexec # trtexec --onnx=last.onnx --batch=1 --saveEngine=last.engine
The command I used: trtexec --onnx=last.onnx --batch=1 --saveEngine=last.engine

I think this issue is not directly related code in this repo...  I probably cannot help you.

https://github.com/NVIDIA/TensorRT/issues/812#issuecomment-702757860


Is there any further documents of how to use this plugin

Hi,
I am currently looking for integrate Teamcity with Rally, however, I am not sure how to use this plugin.
can you please share step by step doc ?
thanks

If this information is still needed, please re-open.


Way to identify which sheets are hidden which are not hidden

Hi
Could you provide a way to identify the type of excel sheet (Hidden sheet or not)
Thanks,
Izzath

I fixed it on StreamingReader.java...

Currently, this is not going to be possible just due to the way the API works. You select a sheet either by name or by index, you don't get an object that can be inspected. However, I've been working on an updated API so you can stream multiple sheets simultaneously. It's in the 0.3 branch, and it should be possible to do so there.


Removes SBT steps from ubuntu-quickstart

ubuntu-quickstart included SBT steps which aren't needed, especially as
the bin scripts implicitly run gradle.

:+1:  might be good in the mac quick start too :p

done!


Binding

I don't really understand how to bind this , i used the bind as usual but the color picker PickedColor doesnt seem to change ,could you help me please ?

i did some quick tests and got it working with the following code:
<controls:ColorPicker x:Name="ColorPicker"
                      ColorFlowDirection="Horizontal"
                      ColorSpectrumStyle="TintToHueToShadeStyle"
                      PickedColor="{Binding PickedColor, Mode=OneWayToSource}" <!-- set BindingMode -->
                      PointerRingBorderUnits="0.3"
                      PointerRingDiameterUnits="0.7">
...

ViewModel:
public class MainViewModel : INotifyPropertyChanged
{
	Color _pickedColor = Color.FromHex("#FF0000");
	public Color PickedColor
	{
		get => _pickedColor;
		set
		{
			_pickedColor = value;
			Debug.WriteLine($"Picked color changed: {PickedColor}");
			OnPropertyChanged(nameof(PickedColor));
		}
	}

	public event PropertyChangedEventHandler PropertyChanged;

	void OnPropertyChanged(string propertyName)
	{
		PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
	}
}

does this work on your side? do you have a repro or code sample from your scenario?

Hi , I added "Mode=OneWayToSource" and it works now , thanks you very much for your help


Replacements don't Work for Views

I have several PostgresSQL views that get correctly generated, but don't get the replacement rules applied, neither through domain_name nor more specific rules.
Another problem I encountered, though I suspect this is because of some implementation constraint and not actually a bug: View columns always get generated as null.Val[T], even if they aren't. I'm happy to open a separate issue, if this isn't actually intended.

I have several PostgresSQL views that get correctly generated, but don't get the replacement rules applied, neither through domain_name nor more specific rules.

Can you share an example schema and configuration?

View columns always get generated as null.Val[T]

This is a quirk with Postgres.
When the column data for the view is retrieved, Postgres always marks them as nullable.

Sure:
create table if not exists employees (
    id            bigserial primary key not null,
    name          varchar(128)              not null,
    email         citext                 not null
        constraint employee_email_unique unique,
    -- ...
);

create or replace view employee_overview as
select id, name, email from employees;

with
psql: # ...

types:
  domain.EmployeeID:
    imports: # ...

replacements:
    - tables: [employees, employee_overview]
      match: {name: id}
      replace: domain.EmployeeID

generates
type EmployeeOverview struct {
	ID    null.Val[int64]  `db:"id" `
	Name  null.Val[string] `db:"name" `
	Email null.Val[string] `db:"email" `
}

Employee generates correctly:
type Employee struct {
	ID           domain.EmployeeID             `db:"id,pk" `
	Name         string                        `db:"name" `
	Email        string                        `db:"email" `
	// ...

	R employeeR `db:"-" `
}

bobgen-psql is on v0.28.1.

Another example with a domain_name rule:
create domain product_id as bigint;
create domain customer_id as bigint;

create table if not exists claims (
    id                  bigserial primary key not null,
    -- ...
    product_id          product_id            not null references products (id),
    -- ...
    customer_id         customer_id           not null references customers (id),
    -- ...
);

create or replace view claim_overview as
select claims.id,
       claims.completed_at,
       product_id     as product_id,
       products.name  as product_name,
       customer_id    as customer_id,
       customers.name as customer_name
from claims
         inner join products on claims.product_id = products.id
         inner join customers on claims.customer_id = customers.id;

with
psql: # ...

types:
  domain.CustomerID: # ...
  domain.ProductID: #...

replacements:
  - match: {domain_name: customer_id}
    replace: domain.CustomerID
  - match: {domain_name: product_id}
    replace: domain.ProductID

generates:
type ClaimOverview struct {
	ID           null.Val[int64]     `db:"id" `
	CompletedAt  null.Val[time.Time] `db:"completed_at" `
	ProductID    null.Val[int64]     `db:"product_id" `
	ProductName  null.Val[string]    `db:"product_name" `
	CustomerID   null.Val[int64]     `db:"customer_id" `
	CustomerName null.Val[string]    `db:"customer_name" `
}

The nullability of the replacement does not match.
To also match nullable columns, you have to set nullable: true.

 I have like ten other nullable replacements, but somehow I completely forgot to use nullable here. Sorry for the non-issue.


[local-volume] Refactor ConfigMap processing

Currently the local provisioner provisioner gets the ConfigMap object and parses the data field.  Instead, we should deploy the provisioner with the configmap mounted as a volume:
https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/#add-configmap-data-to-a-volume
And then parse the file.  That way we don't need to make an API call to get the configmap, and also need configmap.get permissions.

/assign @sbezverk


Add test helper tool

For setting up support for mocha tests.
Old 'test' task is implemented by projects since test commands are quite specific to project requirements.

Coverage decreased (-0.03%) to 91.607% when pulling 962ebc7f1b0d9d5dec2f8b97b77b312ce6844823 on matti-vincit:mm-test-helper-tool into 5d88c8f32f3dea90e3d5a2d1bd6beae8f08284c8 on Vincit:master.


When the requested host is not found log the remote host.

I wouldn't want to see the port in the log.

This works. Thanks


Strawberry trivia

I've been using strawberry at work for a few months now and can't get these silly things out of my mind.

Why is it called strawberry?
Who made that logo? It deserves a credit.
Am I the only one who thinks of the Beatles song when I type strawberry.field? Should strawberry.fields.forever be some kind of utility or easter egg?

I'd like answers. And those things should be in the documentation for weird people like me 🤪

ahahah thanks for the question!

I've been using strawberry at work for a few months now and can't get these silly things out of my mind.

Why is it called strawberry?
Who made that logo? It deserves a credit.
Am I the only one who thinks of the Beatles song when I type strawberry.field? Should strawberry.fields.forever be some kind of utility or easter egg?

I'd like answers. And those things should be in the documentation for weird people like me 🤪

ahahah thanks for the question!

I've been using strawberry at work for a few months now and can't get these silly things out of my mind.

Why is it called strawberry?

I wish there was a good story about this, but it is mostly because I thought of the name during summer after eating strawberries :P

Who made that logo? It deserves a credit.

That's my friend Orlando, they're mentioned here: https://strawberry.rocks/acknowledgements

Am I the only one who thinks of the Beatles song when I type strawberry.field? Should strawberry.fields.forever be some kind of utility or easter egg?

I'm all for easter eggs, we need to think of something fun and clever though 😊

I'd like answers. And those things should be in the documentation for weird people like me 🤪

We could maybe put them in the FAQs 😊

Ideas for the easter egg:

Returns an instance of the following type where strawberries resolves to a string with a random amount of 🍓 emoji and next to a new StrawberryField.

type StrawberryField{
  strawberries: str
  next: StrawberryField
}

A sample schema representing The Beatles in some way. Or it could be its own thing in case the team is a fan of the band.
Something more experimental that reflects the psychedelics of that era.


[refactor/v4 API signature] Removed custom component Result screen

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@c483a4e). Click here to learn what that means.
The diff coverage is 43.33%.

@@            Coverage Diff            @@
##             master    #1137   +/-   ##
=========================================
  Coverage          ?   28.32%
=========================================
  Files             ?      342
  Lines             ?    15059
  Branches          ?     1344
=========================================
  Hits              ?     4266
  Misses            ?    10301
  Partials          ?      492

Impacted Files
Coverage Δ

...com/mercadopago/android/px/core/CheckoutStore.java
31.39% <ø> (ø)

...rcadopago/android/px/core/MercadoPagoCheckout.java
0% <ø> (ø)

...adopago/android/px/components/CustomComponent.java
0% <0%> (ø)

...pago/android/px/plugins/model/BusinessPayment.java
0.83% <0%> (ø)

...oid/px/plugins/PaymentProcessorPluginActivity.java
0% <0%> (ø)

...ndroid/px/plugins/PaymentMethodPluginActivity.java
0% <0%> (ø)

...roid/px/paymentresult/components/BodyRenderer.java
0% <0%> (ø)

...pago/android/px/paymentresult/components/Body.java
52.54% <50%> (ø)

.../px/preferences/PaymentResultScreenPreference.java
58.79% <84.61%> (ø)

Continue to review full report at Codecov.

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


Inference on test data

How can we inference on test data without having labels?

You can remove label code in dataloader.


Tensorflow Lite Micro fails to build for embedded targets due to dependencing on gemmlowp

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 16.04
TensorFlow installed from (source or binary): Source
TensorFlow version: 420473f1fb
GCC/Compiler version (if compiling from source): arm-none-eabi-g++ 7.3.1

Describe the problem
Building Tensorflow Lite Micro fails when building for the bluepill target, due to an unmet dependency.
The problem seems to be caused by the fact that tensorflow/lite/kernels/internal/common.h includes tensorflow/lite/kernels/internal/optimized/cpu_check.h.
tensorflow/lite/kernels/internal/common.h is in turn included by the kernels in Tensorflow Lite Micro.
This adds gemmlowp as a dependency, which causes Tensorflow Lite Micro to not build when building for eg Cortex-M3 in the bluepill case.
Provide the exact sequence of commands / steps that you executed before running into the problem
$ make -f tensorflow/lite/experimental/micro/tools/make/Makefile TARGET=bluepill test
Any other info / logs
In file included from tensorflow/lite/experimental/micro/tools/make/downloads/gemmlowp/public/../internal/dispatch_gemm_shape.h:23,                  from tensorflow/lite/experimental/micro/tools/make/downloads/gemmlowp/public/gemmlowp.h:19,                  from ./tensorflow/lite/kernels/cpu_backend_context.h:21,                  from ./tensorflow/lite/kernels/internal/optimized/cpu_check.h:18,                  from ./tensorflow/lite/kernels/internal/common.h:25,                  from tensorflow/lite/experimental/micro/kernels/depthwise_conv.cc:18: tensorflow/lite/experimental/micro/tools/make/downloads/gemmlowp/public/../internal/multi_thread_gemm.h: In member function 'void gemmlowp::BlockingCounter::Wait()': tensorflow/lite/experimental/micro/tools/make/downloads/gemmlowp/public/../internal/multi_thread_gemm.h:203:14: error: 'std::this_thread' has not been declared          std::this_thread::sleep_for(std::chrono::milliseconds(1));
Full error log:
errorlog.txt

just verified & ditto for TARGET=arduino (trying to compile for cortex m4 in arduino using the mock_speech generator)

Pete's recent commit should have solved this problem. https://github.com/tensorflow/tensorflow/commit/97123eff9496776d31cac2131ad65f07e9614f95

Thanks @petewarden! I'll try this out and add to our Arduino-ready library https://github.com/adafruit/Adafruit_TFLite_Micro_Speech - we got it working really nicely on a Cortex M4
Here's a video of it in action :)

Pete's recent commit should have solved this problem. 97123ef

That seems to have fixed it, thanks!


Meta tag names

Overview

What is it?

[x] Feature / enhancement
[ ] Bug
[ ] Docs / tests / types / typos

Description
Changed the type of the name property on the DocumentMeta interface from string to union types that includes all the values possible in a name attribute inside the meta tag
from:
interface DocumentMeta {
    // ...
    readonly name?: string;
    // ...
}

to:
interface DocumentMeta {
    // ...
    readonly name?: "application-name" | "author" | "keyword" /* ...etc */;
    // ...
}

Use cases and why

This gives better development experience where you get the correct name values if you're trying to add a meta tag data using qwik-city
Checklist:

[ ] My code follows the developer guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have made corresponding changes to the documentation
[ ] Added new tests to cover the fix / functionality

Are you still working on this change or is it abandoned?

Are you still working on this change or is it abandoned?

I would be happy to work on it, but I don't really understand the process that I should go with before making the pull request

I guess it just needs a rebase? Let me see if I can make it pass...

It looks like this change has already been merged https://github.com/BuilderIO/qwik/pull/4340

So the web does not define a "standard" set of names for the <meta> tag see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta/name For this reason, I don't think we should change the type system to make it more restrictive as the user can really add any value they wish.
I am going to close this PR. Let me know if you disagree..


Create an inteface for sharing Dex's issuer value

Context
In order to make it easier to configure the OIDC provider in both Dex and OIDC clients (e.g. oidc-gatekeeper), this charm should have the capacity of broadcast its issuer value to OIDC client charms that would like to integrate to it.
The interface schema should be similar to:
# provider side
{
  # metadata
  ...
  "required": {
    "dex-issuer-url",
  },
  "properties": {
    "dex-issuer-url" {
      "type": "string",
      "description": "This is the canonical URL that OIDC clients will use to refer to dex"
    },

  }
}

# requirer side does not share data, so the schema is only metadata like description and name

For now the issuer-url will be the only shared value, but the library can be expanded for more.
What needs to get done

Create a library that handles the interface
Add the relation to the dex-auth charm
Add unit/integration tests as required

Definition of Done
This charm broadcasts its information (for now limited to just the issuer) regardless if an OIDC client is integrated.

Closed by #208


Support for Identity

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

Describe the solution you would like

Additional context

I'll take this one as well.


Monitoring workflow to monitor Github and Maven distribution channel

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

Codecov Report

Merging #93 (5f0ce93) into main (2c67734) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##               main      #93   +/-   ##
=========================================
  Coverage     65.10%   65.10%
  Complexity      193      193
=========================================
  Files            17       17
  Lines           854      854
  Branches        132      132
=========================================
  Hits            556      556
  Misses          229      229
  Partials         69       69

Continue to review full report at Codecov.

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

Need set up aws credentials as secrets to this repo before merging this PR.


Fix registry's nightly run check for RHTAP

Which area this feature is related to?
/kind bug
Which area this bug is related to?
/area ci
/area registry
/area test-automation
Bug Summary
Describe the bug:
The registry nightly run is failing after the completion of https://github.com/devfile/api/issues/1112 (more details here: https://prow.ci.openshift.org/view/gs/origin-ci-test/logs/periodic-ci-devfile-registry-main-v4.12-rhtap-nightly-devfile-compatibility/1732007644123631616).
This is because the tests/rhtap/rhtap_test.go calls sampleEntry.Git.Remotes.Origin which has now changed.
To Reproduce:
Check the failing test here: https://prow.ci.openshift.org/view/gs/origin-ci-test/logs/periodic-ci-devfile-registry-main-v4.12-rhtap-nightly-devfile-compatibility/1732007644123631616
Expected behavior
The test should be passing
Any logs, error output, screenshots etc? Provide the devfile that sees this bug, if applicable
https://prow.ci.openshift.org/view/gs/origin-ci-test/logs/periodic-ci-devfile-registry-main-v4.12-rhtap-nightly-devfile-compatibility/1732007644123631616
Additional context
We should try to test the default version of the sample and get the git remote from there.
Any workaround?
Described in the additional context
Suggestion on how to fix the bug
Described in the additional context

blocking community devfile registry promotion

Monitoring the results of the nightly testing, if there are problems I will re-open this issue.

I'm re-opening the issue as the nightly run still experiences issues (though I think they are not related)

Closing this issue as I don't think is related to the nightly run failure


ClientController bug

There was a derefencing of state inside of the historyListener when state could be null.  This fixes that.

 You should sign our Contributor License Agreement in order to get your pull request merged.

Thanks @chris-voss!


Install executables in virtual environments with flit install --python

So this is a bit of a wierd one: When installing into a virtual environment via. flit install --python, installed executables link to the wrong python executable in the shebang header.
How to reproduce
Put a requirement like black (or any other package tool that creates an executable) into the requires key, and install your package under a virtual environment.
$ cat flittest/__init__.py
"""Test"""
__version__ = "1.2.3"

$ cat pyproject.toml
[build-system]
requires = ["flit"]
build-backend = "flit.buildapi"
[tool.flit.metadata]
module = "flittest"
author = ""
author-email = ""
requires = ["black"]  # Or any other tool that creates an executable

$ python -m virtualenv test-venv
New python executable in ./test-venv/bin/python
Installing setuptools, pip, wheel...done.

$ flit install --python ./test-venv/bin/python
Copying package file(s) from flittest
------ Download and installation output omitted ------
Installing collected packages: click, toml, appdirs, attrs, black, flittest
  WARNING: The scripts black and blackd are installed in './test-venv/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed appdirs-1.4.3 attrs-19.1.0 black-19.3b0 click-7.0 flittest-1.2.3 toml-0.10.0

$ head -n 1 ./test-venv/bin/black
#!/usr/local/Cellar/python/3.7.3/bin/python3.7

Notice the last line - The shebang points the python executable that was used to run flit, not the virtual environment's python!
If I install the package manually, then I get the expected result:
$ ./test-venv/bin/python -m pip install black
------ Download output omitted ------
Installing collected packages: click, toml, appdirs, attrs, black, flittest
Successfully installed appdirs-1.4.3 attrs-19.1.0 black-19.3b0 click-7.0 flittest-1.2.3 toml-0.10.0

$ head -n 1 ./test-venv/bin/black
#![path-to-current-folder]/test-venv/bin/python

Environment

Flit 1.3
MacOS Mojave
Python 3.7

Please guide me if I'm doing something wrong, or if it's a bug in flit, how I could help fix it 😉

Odd. It should be creating a wheel and then asking pip to install it, with this line:
https://github.com/takluyver/flit/blob/a2e79f34d3a9edbd8bedb45c1376a3a3cb0344dd/flit/install.py#L338
self.python there should be the path you gave it with --python.
Maybe experiment with making a wheel and then installing it with pip manually.

I tried your suggestion, and the shebang was still wrong, so after instrumenting the code a bit I ended up determining the cause:
The environment variable __PYVENV_LAUNCHER__ is set to the python executable running flit, for internal reasons relating to how MacOS (or perhaps just HomeBrew?) launches python. That ends up overwriting the actually launched python executable, see bpo-22490 and https://github.com/python/cpython/pull/9516 for further details.
Basically, because of the above, you can't launch a separate python executable from the currently running one.
If you want, you could handle it with the following code:
if "__PYVENV_LAUNCHER__" in os.environ:
    del os.environ["__PYVENV_LAUNCHER__"]

But I'm not sure if flit should handle this, or if we should expect it being fixed upstream. You're free to close the issue if you don't want to handle it 👍

Have I understood correctly that https://github.com/python/cpython/pull/9516 would fix this if it were adopted?
If so, I'd be inclined to wait for that rather than trying to work around it in Flit. This looks like we could be getting into an escalating battle of tools trying to override other tools' behaviours which they don't like. Maybe that's not the case, but as a non Mac user, it's not very interesting to spend time trying to figure out an issue that sounds like it's Mac specific.

As far as I understand, the PR would fix the issue.
One could make an argument that flit should handle this since __PYVENV_LAUNCHER__ is a bug / a leftover from the other tools (opposed to a feature, where flit definitely shouldn't change the behaviour), and that bug specifically impacts flit.
But on the other hand, it's something really specific, that I can't really expect anyone to maintain, so I'll agree with you, push for https://github.com/python/cpython/pull/9516 or similar, and just close the issue, thanks again :+1:

Thanks. If it doesn't go into Python, I might be persuadable to fix it in
flit.
On Mon, 22 Jul 2019, 23:07 Mads Marquart<EMAIL_ADDRESS>wrote:

Closed #274 https://github.com/takluyver/flit/issues/274.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/takluyver/flit/issues/274?email_source=notifications&email_token=AACQB5J4D3KSJ5XWJ5XAQI3QAYVR5A5CNFSM4H5FEEGKYY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOSULBANI#event-2501251125,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AACQB5PIFASTKPZK2DRBKXDQAYVR5ANCNFSM4H5FEEGA
.


How can i see the prediction result of a frame/image as bbox coordinates ?

I want to combine yolo-nas with deepsort for object tracking problem, so I need to get the bbox of each object.

Tutorial was released with answers to the questions mentioned in this issue, so I'm closing it :)


Proguard config

This is my service config:

       <service
            android:name="com.evernote.android.job.gcm.PlatformGcmService"
            android:exported="true"
            android:permission="com.google.android.gms.permission.BIND_NETWORK_TASK_SERVICE"
            android:process=":updater"
            >
            <intent-filter>
                <action android:name="com.google.android.gms.gcm.ACTION_TASK_READY"/>
            </intent-filter>
        </service>

proguard:
-keep class com.evernote.android.job.gcm.PlatformGcmService { *; }
exception:
FATAL EXCEPTION: main
Process: com.example.app:updater, PID: 26258
java.lang.RuntimeException: Unable to instantiate service com.evernote.android.job.gcm.PlatformGcmService: java.lang.ClassNotFoundException: Didn't find class "com.evernote.android.job.gcm.PlatformGcmService" on path: DexPathList[[zip file "/data/app/com.example.app-2/base.apk"],nativeLibraryDirectories=[/data/app/com.example.app-2/lib/x86, /vendor/lib, /system/lib]]
at android.app.ActivityThread.handleCreateService(ActivityThread.java:2746)
at android.app.ActivityThread.access$1800(ActivityThread.java:151)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1386)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5254)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.evernote.android.job.gcm.PlatformGcmService" on path: DexPathList[[zip file "/data/app/com.example.app-2/base.apk"],nativeLibraryDirectories=[/data/app/com.example.app-2/lib/x86, /vendor/lib, /system/lib]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:2743)
at android.app.ActivityThread.access$1800(ActivityThread.java:151)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1386)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5254)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
Suppressed: java.lang.NoClassDefFoundError: com.evernote.android.job.gcm.PlatformGcmService
at dalvik.system.DexFile.defineClassNative(Native Method)
at dalvik.system.DexFile.defineClass(DexFile.java:226)
at dalvik.system.DexFile.loadClassBinaryName(DexFile.java:219)
at dalvik.system.DexPathList.findClass(DexPathList.java:321)
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:54)
... 12 more
Suppressed: java.lang.ClassNotFoundException: com.evernote.android.job.gcm.PlatformGcmService
at java.lang.Class.classForName(Native Method)
at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
... 11 more
Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available

Are you sure that you've added the GCM dependency?
dependencies {
    compile 'com.google.android.gms:play-services-gcm:8.4.0' // or newer
}

Also try to remove the process attribute. I've never tested to run the services with different processes and I wouldn't recommend it.

Also test the proguard config with
-keep public class com.evernote.android.job.gcm.PlatformGcmService {
  public protected private *;
}

Not sure if that helps.

Thanks for response.
My bad. One of our team members accidently has been deleted the compile 'com.google.android.gms:play-services-gcm:8.4.0' line from the gradle file.

Why does the readme for this project not mention that you need this dependency?

It's optional and not required. In my own app if don't need the Google Play Services, then I wouldn't want that this library requires the Play Services

Well, it works for me without the dependency on Android 4.4, but I need it on Android 7.1.1, otherwise I will get Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.android.gms.gcm.GcmTaskService"

I tested it this moment and don't get the exception. Does the library crash or is this just a warning? Can you add a full log?

Interesting, I have attached the log file. First a info/warning then it crashes.
evernote_android-job_gcm_error.txt

Is it possible that you included the Play Services and switched to Firebase? Your crash looks really similar to another I saw a while ago. If yes, then this should help you. Unfortunately, there is no better way to do this.

Thank you I will test it! 👍  I used Firebase JobDispatcher with that dependency before, but had to switch to evernote android-job due to I don't have Google Play Services installed on all internal devices we use.

That makes sense. Follow the instruction in the link and it shouldn't crash anymore.

There is no crash, but I can still see the ugly stacktrace coming from the following line: https://github.com/evernote/android-job/blob/1dfcca57615f80bd816bae0b8e19df04889a0d56/library/src/main/java/com/evernote/android/job/util/GcmAvailableHelper.java#L55
I can see the comment "still sometimes seeing a NoClassDefFoundError here". Do you have to log the whole throwable object? Thanks for the help.

No, good idea to remove that. I'll do this as part of #165


[PIO-184] livedoc 0.9.2 upgrade typo

In this section:
https://github.com/apache/predictionio/blob/livedoc/docs/manual/source/resources/upgrade.html.md#2-in-xxxalgorithmscala
Line 136:
locate where LEventStore.findByEntity() is used, change it to LEventStore.findByEntity()
Should be changed to:
locate where lEventsDb.findSingleEntity() is used, change it to LEventStore.findByEntity()

Thanks!


Custom adapters Example with Appwrite

Hello, could you implement flutter data with appwrite? If so, could you help me with an example that I can't find an example of how to use custom adapters?

Hi! I don't know what AppWrite is but I'm sure it's possible. Let me know what you've tried and maybe I can help
There are plenty of examples of custom adapters

https://github.com/flutterdata/flutter_data_json_api_adapter
https://github.com/flutterdata/tutorial
https://flutterdata.dev/articles/
test models (in the test folder)


Async data export

Most exporters currently execute at the end of the request while blocking the end of the request. The StackdriverExporter can use an experimental mechanism provided by the google/cloud-core package that uses shared memory for offloading the API call to a separate process.
We can create an AsyncExporter (for any async method) that accepts any other ExporterInterface and reports using that exporter asynchronously. This should make it so that each exporter doesn't have to manage async itself.

Most exporters currently execute at the end of the request while blocking the end of the request.

By this you mean something like register_shutdown_function?

Yes, we use register_shutdown_function now to signal the end of the request so we export the spans for the current request. At this point, the exporter will synchronously export that data - which could be slow and can affect the latency of the request. The optimization the google/cloud library does is to save the data to export to shared kernel memory (very fast) and a separate script running as a daemon does the export to the external service.

Interesting @chingor13. I did not know about the google/cloud optimizations. Where can I find a link for it?

@chingor13 is APCu an option?

For any of our libraries, we try and hit the least common denominator for PHP installs. Most PHP installations should have APCu available as an extension, but not all do -- so we probably don't want a solution that totally depends on that extension. That being said, the google/cloud solution does utilize sem/sysv extensions that ship as part of PHP for most installations.
As for APCu itself, I don't think we can use it as it's for caching and not for use as a queue (unless I'm misunderstanding the use case here).
We could consider integrating a library that abstracts the queuing mechanism that could provide implementations depending on the extensions available.

Agree. I believe abstracting the queue mechanism is a good idea.
The google cloud solution seems to be the best fit tho.
As for the APCu, you can basically drop traces into APCu and use a counter (again in APCu) and then based on the bytesize do the bulk reporting to the backend.

This can be solved with the approach we've taken for adding stats. PR #220 includes a PHP userland exporter (DaemonClient) that immediately sends stats (and potentially traces) over a non blocking unix socket with a configurable max send duration. An accompanying Daemon service written in Go ingests the data and moves it to OpenCensus Agent for further handling / export. This allows keeping the processing time in PHP to a minimum and does not allow stalls due to congestion or slow network links. Added bonus is having all backends and features supported from the OC Agent / OC Go implementations avoiding duplication of effort.


[Google DAI + HLS] Playback is crashed at the ImaServerSideAdInsertionMediaSource

Version
Media3 1.3.1
More version details
No response
Devices that reproduce the issue
All devices
Devices that do not reproduce the issue
No response
Reproducible in the demo app?
Not tested
Reproduction steps

Play the SSAI content (Google DAI + HLS protocol)
While playing the content, when the Ad is played App is crashed.

Expected result
App is not crashed
Actual result
Playback crashes with the following stack trace:
Process: com.xx.qa, PID: 14899 java.lang.IllegalArgumentException
      at androidx.media3.common.util.Assertions.checkArgument(Assertions.java:40)
      at androidx.media3.exoplayer.source.ads.ServerSideAdInsertionMediaSource.setAdPlaybackStates(ServerSideAdInsertionMediaSource.java:179)
      at androidx.media3.exoplayer.ima.ImaServerSideAdInsertionMediaSource.invalidateServerSideAdInsertionAdPlaybackState(ImaServerSideAdInsertionMediaSource.java:790)
      at androidx.media3.exoplayer.ima.ImaServerSideAdInsertionMediaSource.setAdPlaybackState(ImaServerSideAdInsertionMediaSource.java:749)
      at androidx.media3.exoplayer.ima.ImaServerSideAdInsertionMediaSource.access$2300(ImaServerSideAdInsertionMediaSource.java:116)
      at androidx.media3.exoplayer.ima.ImaServerSideAdInsertionMediaSource$SinglePeriodLiveAdEventListener.onAdEvent(ImaServerSideAdInsertionMediaSource.java:1491)
      at androidx.media3.exoplayer.ima.ImaServerSideAdInsertionMediaSource$ComponentListener.onAdEvent(ImaServerSideAdInsertionMediaSource.java:1017)
      at com.google.ads.interactivemedia.v3.impl.zzab.zzb(com.google.ads.interactivemedia.v3:interactivemedia@@3.31.0:25)
      at com.google.ads.interactivemedia.v3.impl.zzbr.zzb(com.google.ads.interactivemedia.v3:interactivemedia@@3.31.0:12)
      at com.google.ads.interactivemedia.v3.impl.zzau.zzl(com.google.ads.interactivemedia.v3:interactivemedia@@3.31.0:50)
      at com.google.ads.interactivemedia.v3.impl.zzbb.zzf(com.google.ads.interactivemedia.v3:interactivemedia@@3.31.0:7)
      at com.google.ads.interactivemedia.v3.impl.zzax.onPostMessage(com.google.ads.interactivemedia.v3:interactivemedia@@3.31.0:2)
      at androidx.webkit.internal.WebMessageListenerAdapter.onPostMessage(WebMessageListenerAdapter.java:55)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.chromium.support_lib_boundary.util.BoundaryInterfaceReflectionUtil$InvocationHandlerWithDelegateGetter.invoke(BoundaryInterfaceReflectionUtil.java:162)
      at java.lang.reflect.Proxy.invoke(Proxy.java:1006)
      at $Proxy13.onPostMessage(Unknown Source)
      at WV.sR.a(chromium-TrichromeWebViewGoogle.aab-stable-647807130:77)
      at WV.hY.run(chromium-TrichromeWebViewGoogle.aab-stable-647807130:28)
      at android.os.Handler.handleCallback(Handler.java:938)
      at android.os.Handler.dispatchMessage(Handler.java:99)
      at android.os.Looper.loopOnce(Looper.java:201)
      at android.os.Looper.loop(Looper.java:288)
      at android.app.ActivityThread.main(ActivityThread.java:7839)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
      at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)

Media
Not applicable
Bug Report

[ ] You will email the zip file produced by adb bugreport to<EMAIL_ADDRESS>after filing this issue.

This error doesn't happen all the time, it only happens occasionally when the Ad is played, and will probably be difficult to reproduce.
Therefore, is there any way to avoid the app crashing after this error occurs? For example, using try-catch?

CAn you provide us with an assetKey to test and repro with?

@marcbaechinger
Like I said before, I'm not sure how it's reproduced, it doesn't happen often, it happens occasionally, and it's not always reproducible.
This crash is also reported a lot on firebase from our users, but we don't know how to investigate what the cause is.

Thanks for your response. I understand it doesn't repro easily but without having a stream that is producing the problem, it is hard for me to do something.
An assetKey of a stream that produces the problem would make this issue actionable for me.  If you're unable to share test content publicly, please send them to<EMAIL_ADDRESS>using a subject in the format "Issue #1520". Please also update this issue to indicate you’ve done this.

@marcbaechinger
Thank you, I will discuss with my team about creating a content for testing.
But before that, is there any solution that can avoid that error? At least it won't cause the app to crash ?

Therefore, is there any way to avoid the app crashing after this error occurs? For example, using try-catch?

I don't think so. The assertion is set at the place where the problem starts. If we catch it there, it would crash some later without us knowing exactly where it started.
We'll look into this when we have the media.

I have this problem since 2 days after something upgraded in my device. All apps that use rewarded ads crash for me.
Will post a logcat after it happens again.


PSA: Installation error with the wheel

After a lot of swearing i finally got mine to work on an ubuntu machine.. Make sure you have pythonx.x-dev installed. in my case sudo apt install python3.12-dev
I installed pkg-config as well for good measure (i don't know if its required tho).
I'm pretty sure the above is known to everyone else but it had me stumped and i hope i can save someone out there some hassle trying to figure this out
using:

python 3.12
PDM 2.12.3
asyncmy 0.2.9
ubuntu 22.04

hi person that used search!


python release notes for the 2021-08 release

This is an automated pull request to gather the python release notes for the 2021-08 release. See Producing Release Notes for details of the processing.

I just merged the main branch to fix the build error caused by removing a folder in the azure-sdk-for-java repo.

What I use is to check setup.py. If it depends on `msrestazure', it is a track 1 library. e.g. https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-redis_7.0.0/sdk/redis/azure-mgmt-redis/setup.py#L84

That might be difficult to add to the automation as currently we don't download or extract any information for the package. I'll try to give that a little more thought.


Can you use github release feature?

As in your update log, you have a notion of releases, it would easier for others to get notifications of these releases, if you made these commits official github release.

@ForceConstant It's a good idea, I will use release when there are new improvements.


no events from MimeMultipart.listen() when called asynchronously

This issue was originally filed by<EMAIL_ADDRESS>
What steps will reproduce the problem?

Create an HTTP server
Transform requests with MimeMultipartTransformer
listen() on the resulting MimeMultipart object *after* a short Timer callback

What is the expected output? What do you see instead?
I expect to get data events the way I *should* from listen(). Instead, I usually get zero callbacks. If I was uploading a large file, I sometimes get one empty array. It is not very impressive.
What version of the product are you using?
The mime library version 0.9.0+3, Dart version 1.5.3.
On what operating system?
Mac OS X
What browser (if applicable)?
N/A
Please provide any additional information below.
I have recreated this bug in an isolated project here: https://github.com/unixpickle/dart-multipart-bug. Additionally, that repository includes a patch which fixes the issue. Somebody else should look over my patch before verifying it, but it's pretty small.

This issue has been moved to dart-lang/mime#2.


generate tlog data when importing a vdisk (from a backup)

When importing a vdisk from a (FTP) backup currently we only generate storage data.
However in case that vdisk is configured with tlog support, and also has a tlogclustered configured for it, we should also generate tlog data, I think.
This will make importing a vdisk slower, but I think we have no other choice, as otherwise the tlog feature for that vdisk will be useless, as a restore would remain with partial results until all indices that were available since the import were overridden.
This might be able to utilize the tlog generator written as part of the PR #453, but I'm not too sure.

@zaibon can you confirm that this is indeed a feature that is required, and/or your opinion on this?

@GlenDC  We will indeed need to somehow regenerate the tlog data otherwise we won't have any restore feature.
Now is it going to be faster to recreate the tlog data from scratch during import. Or to also save tlog data in the backup and just importing it?

Not sure, I wouldn't even know how we would export it, that hasn't been included in the design. Not even sure if that would serve any purpose. We wouldn't even know if we're importing using the same vdiskid as we used for exporting or not. Unless we start saving such metadata as well. But I don't think we're supposed to also backup the tlog chain...

Ok then, let's go for the solution where we re-create tlog data during import then.
How much impact on the speed of the import do you think this will have ?

How much impact on the speed of the import do you think this will have ?

Not sure, that would be a question @iwanbk might be able to answer.

Ok then, let's go for the solution where we re-create tlog data during import then.
How much impact on the speed of the import do you think this will have ?

Similar to the new zeroctl copy i guess


Refactor/refactor map context UI

This PR:

changes the way a map context is created and looks like in the UI
Turns SearchDrawer into an independent Component and adds tabs capabilities
Fixes a bug where node attributes were not changed when another node was selected, if attribute form was opened
Adds symbols related to #370

https://user-images.githubusercontent.com/9415123/150804707-493d8f81-41f8-4995-832c-dcbff67eb0b2.mp4

@Unraveler This looks great and it is very good that we check whether the map context has been created to avoid invalid states. One question: Would it be possible to mask/deactivate the layer tree / search tab until the map context has been saved initially?

@MrSnyder , yes, of course. I'm on it. Good sugestion