Location services ignored

Per twitter.com/KEUSTANET
@stakelon frameless app iphone not asking permission when trying to use "if (navigator.geolocation)" + app not listed in Location Services ?

:+1:  We also need this :)

It's going to be a very long while until I get to this. Open invitation to anyone who wants to get after it :+1: :)


Call to undefined function Illuminate\Support\ctype_lower()

Not sure what happened last night at some point solder apparently stop working i wasn't on at the time and i came back to this " Call to undefined function Illuminate\Support\ctype_lower()"

Can you provide any log or stacktrace?

Sorry meant to close this found out the issue after and it wasn't anything to actually do with solder.


Update backup-transact-sql.md

Fix spelling mistakes.

Change perfomring to performing.
Change sotrage to storage.

I thought the 10 MB MaxTransferSize may have been a typo due to a 4 MB max mentioned earlier in the article, but this article confirms the 10 MB. Rewording the 4 MB max should be considered.

Thanks, @kd34xbr960!


Avoid upgrading Moq | Replace by another lib

Due to recent privacy issues, the following is required:

Avoid upgrading Moq. The malware version (4.20.0) have been removed from the nuget repository, the latest version (4.20.2) looks safe.
Replace Moq by another library. This is definitely a trust concern. The good news is Moq is not used in latest implementations (WireMock is), so this move forward over time.

@Tr00d 4.20.2 I think is also unsafe, stay on 4.18.4 if youre keeping Moq

@SimonPriceUL Thanks for letting me know. I'll definitely keep an eye on this. My main goal is to remove Moq entirely as I don't really need it. This is for the 'legacy' side of things


support integer type

I just saw, that the current version of influxdb-java does not support the integer type: https://influxdb.com/docs/v0.9/write_protocols/write_syntax.html
This small change will fix that.

Hi,
thanks for this PR, please update the tests to ensure all are still passing. Otherwise i will merge it.

Hi,
I've added some Unit Tests and made this feature optional.
Now you have to specify .useInteger(true) if you want to use this feature. The default behavior is to use floats as the influxdb maintainers have suggested, see: https://github.com/influxdb/influxdb/issues/3479

Hi @majst01,
is there a release plan for influxdb-java? We need to have this feature for our openHAB influxdb bundle as you can see here: https://github.com/openhab/openhab/issues/2748#issuecomment-154760055 . I would prefer to use a released version of influxdb-java rather than using as self-made SNAPSHOT build.
Regards,
Theo

It seems like a fairly arbitrary selection of types which are stored as integer (Integer, Long and BigInteger). What about Byte or Short? I really don't think BigInteger should automatically be stored as an integer as it could hold values which wont fit in 64 bits. Require the user to convert it beforehand.

I agree with @jazdw here, I'm not convinced that there should be an 'internal default' and I agree that the user should have to convert it to the right type beforehand.
@smerschjohann, My interpretation of the default behaviour discussed at  https://github.com/influxdb/influxdb/issues/3479 is that influx will interpret numbers with a trailing 'i' as floating point numbers. I do not think that means that this client library should have a default behaviour. I can see the introduction of useInterger() is actually quite a big headache because it requires the caller to know that even if they have a fixed point number they must also call useInteger to get the right behaviour. I can see this change creating a lot of client code that looks like this:
public List<Point> makePoints(List<Object> myValues) {
    List<Point> points = ...
    for (Object value : myValues) {
        Point point = Point.measurement("inttest,1")....
        if (value instanceof Integer || value instanceof ...) {
            point.useInteger(true);
        }
    ...
}

Which is pretty much duplicating the checks on the inside!

@andrewdodd you don't have to know if you'll use integer types beforehand. You can simply put ".useInteger(true)" and it will use it, if your values are Integers - so no additional "instanceof" check there.
But I agree, the current selection of Integer conversions is not ideal. I will write a little bit to your other pull request.


A question about usage

Would I have to simply compile and run this to take advantage of this mod? If not, what would I need to do to use this for a datapack dimension? The dimension in question is not meant to be big enough to warrant its own mod, but I don’t want it to have a fixed seed either. (It’s literally just an overglorified superflat world, although I have reasons for that)

this doesnt work, i wouldnt bother


⚠ Bofrost.de has degraded performance

In eff48ec, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 874 ms

Resolved: Bofrost.de performance has improved in 3265777 after 13 minutes.


Combination of multiple modalities

First of all congrats on the paper and thanks for providing the code!
In the paper at 'Zero-shot language-based multi-modal joint retrieval' you mention that integrating/combining multiple embeddings improves the performance. I am specifically referring to the sentence:
'Similar trends have been observed in other modalities, where each modality has the potential to enhance the performance when combined with other modalities.'
However, the paper does not clarify how the embeddings for different modalities are actually combined. If for instance, the input modalities are text, audio, video and depth the model would produce individual embeddings for all of the modalities. How do you then combine these embeddings in order to obtain the results you report?
Do you simply average the different embeddings?
Thanks in advance,
Anthony Mendil.

Yes, just average two modalities logits.

Yes, just average two modalities logits.

Is the code for this available? I can not seem to locate it in the repository. If not could you perhaps provide it? For example for the Infrared+RGB -> Text task.
Thanks in advance,
Anthony Mendil.

And is there is specific reason to average the logits and not directly the produced embeddings of the modalities?

i'm not the paper author but in my experience you can just sum/average regular CLIP model features to achieve similar things, eg the text embedding for snow and the text embedding for forest summed together and then used to search a database of images returns images of snowy forests. expect it'd be the same here, just add the output feature vectors (these aren't not logits) of the models together

Hey, thanks for the answer. The fact that the scenario you describe works, is only due to the fact that CLIP uses cosine similarity as a distance metric. Said similarity function has a very specific property, namely that the scale of the vectors does not matter, but only their angle in high dimensional space. As a result, adding or averaging produces a vector with an average angle that can then be compared to a database. However, for other tasks than retrieval (or ones using cosine similarity), this argument does not hold.

i would assume based on my experience working with CLIP that the answer to this question:

If for instance, the input modalities are text, audio, video and depth the model would produce individual embeddings for all of the modalities. How do you then combine these embeddings in order to obtain the results you report?
is literally just:

combined_embedding = torch.normalize(text_embedding + audio_embedding + video_embedding + depth_embedding)
what are you doing with the feature vectors that is not cosine similarity? again, they're not logits and should not be treated as such, unless you're using the hidden states or you've added a classifier layer onto the end or something, in which case i guess you're on your own..?

@damian0815 I was investigating how this approach could be used in varies downstream tasks, which involve adding a classifier on top of the combined embedding space. As you also mention in the end, averaging the embeddings causes undesired behavior in such cases.


update

it was just a nonsense word in the middle of explaining the question.

it was just a nonsense word in the middle of explaining the question!!!!

it was just a nonsense word in the middle of explaining the question!!!!


Click wave effect doesn't work

I don't know why, but the waves don't work when I click the button. I can't see what I'm doing wrong. This is the html I've written so far.
`

Djesse Dirckx

button

`

Have you included our javascript?


linux xfreerdp - file system redirection - hidden directory

hi all,
i use 1.1-stable branch freerdp on ubuntu x86 14.04.
say, i have a hidden directory in ubuntu, "/home/user/.testdir" which contains non-hidden file "1.txt" and non-hidden directory "aaadir".
when i use: sudo xfreerdp /drive:somedir:/home/user, and i can see, in windows 7 rdp host, a non-hidden directory ".testdir" which contains hidden file "1.txt" and hidden directory "aaadir".
so, it seems that xfreerdp redirects the HIDDEN property of sub-files/directories. But the HIDDER property of linux and windows is not the same thing.
so, 2 questions:

why the top dir ".testdir" is not hidden?
the inheritance of hidden property is a bug or meant-to-be?

direction of hidden property may lead to users' misunderstanding: if he uses a usb disk which is formatted as FAT32 or NTFS, and directs it to remote windows vm, there should not be hidden for files/directories starting with ".".
what about use different strategies for different file systems? say, FAT32/NTFS v.s. EXT2/3/4, etc.

I have the same question. Can I hide in MS Windows my hidden files and folders with dot symbol at the beginning?

@DejavuDmitry windows does not take file/dir starting with dot as hidden, it stores hidden property in file property, i.e. in FAT.
on the contrary, linux does not store hidden property in file inode, but just see if it starts with dot.

@macarthor I don't understand the bug, a file starting with a dot is not hidden under linux, it's just hidden when you're doing "ls" in a shell !
I'd tend to mark that issue as "not a bug", any opinion ?

@hardening but what users see for a file starting with a dot in linux is that it's hidden, both in "ls" and file manager. what do you think?

You just need to hide file starting with a dot (default behaviour in rdesktop)

Yes. This will work great!


gptq quantization fails ModuleNotFoundError

Dear team,
Thanks a lot for reducing the barrier of entrance to work & use open-source LLMs. I was not able to quantize a 2.4B model with gptq for my modest RTX2080.
I got the following error
python quantize/gptq.py --checkpoint_dir checkpoints/EleutherAI/pythia-2.8b-deduped --dtype bfloat16
Loading model 'checkpoints/EleutherAI/pythia-2.8b-deduped/lit_model.pth' with {'block_size': 2048, 'vocab_size': 50254, 'padding_multiple': 128, 'padded_vocab_size': 50304, 'n_layer': 32, 'n_head': 32, 'n_embd': 2560, 'rotary_percentage': 0.25, 'parallel_residual': True, 'bias': True, 'n_query_groups': 32, 'shared_attention_norm': False}
Time to load model: 9.79 seconds.
Traceback (most recent call last):
  File "/awesome-project/lit-parrot/quantize/gptq.py", line 376, in <module>
    CLI(main)
  File "/env/lib/python3.10/site-packages/jsonargparse/cli.py", line 85, in CLI
    return _run_component(component, cfg_init)
  File "/env/on-device-llm/lib/python3.10/site-packages/jsonargparse/cli.py", line 147, in _run_component
    return component(**cfg)
  File "/awesome-project/lit-parrot/quantize/gptq.py", line 357, in main
    test_string = get_sample_data()
  File "/awesome-project/lit-parrot/quantize/gptq.py", line 214, in get_sample_data
    from datasets import load_dataset
ModuleNotFoundError: No module named 'datasets'

The issue may be related to the module (package?) datasets. Could you kindly provide a pointer to fix it?
Thanks in advance!

It might work after running, pip install datasets. Refer to this doc for more details.

I think this should be re-opened and closed when added to requirements.txt

Sure, I have an environment setup. Just lemme know, and I'm happy to try again :blush:
BTW, I'm not sure if the issue is due to an "old" GPU (RTX2080). As the requirements of my project changed: export any (L)LM to onnx with opset 9, I dropped off lit-parrot. I'm working directly with transformers and optimum. If you provide support for T5, I'm happy to keep playing with LIT-:parrot:
cc @rasbt

Thanks for pointing this out and sharing @escorciav
I am pretty certain that the RTX2080 only supports float16 but not bfloat16 training. Bfloat16 is a relatively recent feature for NVIDIA cards. The RTX 3000 series (and A100 etc.) would support it.
(The alternative here would be to run it with float16 instead of bfloat16


Redo input plugin

Objective

Fix #15

MidiInputPlugin currently relies on stdin/stdout to connect to midi ports, and provides no API to change the current port connected to.
Solution

Rely on bevy_log wherever possible
Change configuration options of  MidiInputSettings
Change API to resemble MidiOutputPlugin
Change examples accordingly

I tested the piano example. It seems that there is some issues with handling input now, might be delay oriented.
I recorded my actions as shown by the current 0.6 branch
0.6 branch:

The same actions but for this PR

@BlackPhlox Okay I have a hunch for what was happening.
A crossbeam_channel guarantees is that every consumer can receive a message at most once. Bevy guarantees that a Resource won't be cloned. Thus, if two systems call try_recv from a resource's Receiver, they probably won't get the same set of messages.
In my code I opted to make MidiRawData an Event for the guarantee that every system can see each MidiRawData once. Would you be able to test if you still observe this issue?

Great! Though, I will first be able to test this in about 12 hours ish.

Yep, it's fixed now! 🚀

Running cargo clippy -- --D clippy::pedantic shows that async of  midi_output is not using await along with some other stuff. I'm not sure as I haven't used async before. But I think that handling(or use expect or documenting it) some of the unwraps might be good, I can take a look at it if you want me to :)

Sure!


Clean up validation, add OPA support

Description
This change includes several updates to how kubeapply validate works:

Switch from kubeval to kubeconform for schema validation; among other benefits, the latter can be used as a library, which means that users don't need to install anything extra to run validation checks.
Support optional validation of configs using policies in OPA format; this allows checking organization-specific rules, e.g. that images are only pulled from organization-owned image registries, etc.

The second is not super-well documented yet and may have minor API changes in the future. The initial goal here is to get something basic in place that we can iterate on at at Segment. Later, if that iteration is successful, we can add more details to the README.

Are we able to work with policies in CI ?

@Pryz yup, that's coming in a follow-up.


Can we run it on CPU machine  (No GPU)

I don't have GPU machine. When I try to run the testing using the existing trained model. It given me error "cutorch" not installed. And for cutorch I need CUDA and for CUDA I need gpu machine. Is there a way around??

I have exactly the same problem with you......

Remove "gpuid=1" in the config-trans and config-train files. After this change it works.
@karam86 @Aria-K-Alethia @


Range error

I had add my firebase i.e json file.
when i run the app there is no content in doctors feild.

return ListView.builder(             scrollDirection: Axis.vertical,             physics: ClampingScrollPhysics(),             shrinkWrap: true,             itemCount: 5,  // <--
It is because itemCount value might be out of range. You can make it dynamic by snapshot.data.size with size of your data.

In which file i have to write this?

TopRatedList.dart

Hello Darshak Sir,
I have been your app as my project, Iam a student, it is a great and
excellent application.
I need some changes in it. Could you please make it?
The App is Medic.ly
1] I want doctor login in it.
2] Doctors can see the patient's uploaded file like in pdf form.
3] Doctors can prescribe back to patients in pdf form or image form.
Sir it is urgent for me I would like to Offer you 2000 for this changes.It
will be great help from your side if you include this in it.
Thanks & Regards.
On Sun, 25 Apr, 2021, 8:14 pm Darshak Chavda, @.***>
wrote:

TopRatedList.dart
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dc-exe/Health_and_Doctor_Appointment/issues/3#issuecomment-826335999,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AH3DNUUXLA2WHA2TPIEICMTTKQTDTANCNFSM43RIBM7A
.


Changes to Dockerfile to make the build faster

To download a new version with docker, I've been running
git pull
docker-compose build --no-cache

This is slow, but no-cache is needed so that "git clone" pulls the
latest copy.
Most of the slowness comes from pulling down apt files each time a
rebuild needs to be done.  If we move that into a docker image then only
the local changes need to be rebuilt.
Further refinements could be done.  If the python dependencies that are
brought in from requirements.txt could be moved to an image then nothing
would change between updates as long as dependent versions hadn't
changed.  This would probably be more trouble than it's worth, unless
you're recreating netbox containers 10-20 times a day.
I had to test this in a limited way.  I'd appreciate feedback if it breaks something.

Could someone with Docker experience weigh in please?

@jeremystretch - Looks sane actually. Wheezy is the closest Debian release to Trusty, and this is based on the official supported image. WORKDIR creates and uses, the directory, so that's pretty sane. I'd say LGTM, but it should probably be in the build process going forward (given the python / ubuntu changes)

@rfdrake Mind rebasing this on master?  I don't think the CI failures are related to this change. :)

Closing this PR.  New PR is #477


Deleting the last remaining line of a buffer crashes Oni

Oni crashes when I delete the last remaining line of a buffer.
"last line" can be a bit ambiguous but I mean when a file has exactly one line, not the last line of an arbitrarily long file.
Version: Onivim 2 (0.5.1-nightly) (Downloaded on December 4th 2020)
Steps to reproduce:

Create a new buffer
Write something
Go back in normal mode and hit dd
Move or click with the mouse

Here's the log file of me doing these exact steps when started oni like so:
oni2 --disable-extensions --disable-syntax-highlighting --disable-configuration --log-file oni2.log

Thanks for the issue and repro - was able to reproduce this. Got a callstack:
[ERROR] [ 7.935s] Oni2.Exception : Exception (Invalid_argument "index out of bounds"):
Raised by primitive operation at file "src/Core/Buffer.re", line 188, characters 40-65
Called from file "src/Feature/Editor/Editor.re", line 1520, characters 9-134
Called from file "src/Feature/Editor/Feature_Editor.re", line 118, characters 25-63
Called from file "src/Store/Features.re", line 79, characters 36-55
Called from file "src/Store/Features.re", line 1365, characters 6-56
Called from file "src/Updater.re", line 10, characters 33-56
Called from file "list.ml", line 121, characters 24-34
Called from file "src/Updater.re", line 7, characters 4-253
Called from file "src/Store.re", line 111, characters 29-61
Called from file "src/UI/UiEvents.re", line 107, characters 8-24
Called from file "src/UI/Mouse.re", line 428, characters 8-33
Called from file "list.ml", line 110, characters 12-15
Called from file "src/Core/App.re", line 268, characters 19-34
Called from file "packages/reason-sdl2/src/sdl2.re", line 823, characters 10-20
Called from file "packages/reason-sdl2/src/sdl2.re", line 269, characters 17-59
Called from file "packages/reason-sdl2/src/sdl2.re", line 269, characters 17-59
Called from file "src/bin_editor/Oni2_editor.re", line 481, characters 11-26

Taking a look!


[Android] Add opaque hybrid composition mode

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Use case
This ticket provides a description of two pull requests in the Flutter repository:
PR framework: https://github.com/flutter/flutter/pull/128193
PR engine: https://github.com/flutter/engine/pull/42550
Use case: The current implementation of Hybrid Composition mode in Android involves splitting the Flutter UI into two views: the background and overlay views. The platform view is positioned at the center of these views. Additionally, the rasterization task has been moved from the raster thread to the platform thread using raster thread merge. However, this approach has certain drawbacks.
Rendering into each background and overlay view takes a considerable amount of time, especially when rasterization has to compete with other tasks on the platform thread. As a result, the performance of the application suffers when using this mode.
To address these performance issues, I propose a new mode that retains the same functionality as Hybrid Composition mode but offers improved performance.
Proposal
Opaque hybrid composition mode:

In Opaque Hybrid Composition mode, the Flutter UI is rendered into a single view, providing certain benefits and considerations.
To use this mode, the BackgroundMode.transparent must be set for the FlutterView in the MainActivity class:

class MainActivity: FlutterActivity() {
    override fun getBackgroundMode(): BackgroundMode {
        return BackgroundMode.transparent;
    }

    /*
    override fun getRenderMode(): RenderMode {
        return RenderMode.surface;
    }
   */
}

After creating the platform view, it is positioned behind the FlutterView
The AndroidView widget uses a CustomPainter to clear the content behind it, allowing the platform view to be visible behind the FlutterView.
Platform view cannot have a transparent background in this mode. The content behind the platform view will be cleared, so it needs to have an opaque background.
In terms of performance, the impact of having platform views versus not having them is negligible. Flutter only needs to add a CustomPaint() widget to clear some pixels, and the rendering process continues to utilize the efficient raster thread.

Some limitations:

Does not support platform views with transparent backgrounds
Synchronization between the platform view and the Flutter UI is not guaranteed. It is recommended to use this mode with platform views that have a fixed position to ensure proper alignment and consistency.
Currently, supported only on Android but may be possible for other platforms.
TBD

Demo project:
https://github.com/XuanTung95/test_opaque_hybrid_composition
How to test:

clone and build the custom engine
clone and use the custom framework
change google map api key and run test_opaque_hybrid_composition

https://github.com/flutter/flutter/assets/26743089/97c4b7fe-a0a5-411e-969d-34caf09ff3f7

FYI @reidbaker @johnmccutchan

This needs a design doc, not just an issue, as there are a lot of questions that need to be resolved; see https://docs.flutter.dev/resources/design-docs for the template.
Adding yet another platform view variant with its own set of non-trial tradeoffs permanently increases the complexity for both us and plugin developers. It is not at all clear to me that this is sufficiently useful to warrant that added complexity, and the right place to explore that is a design document.

@stuartmorgan
Could you ask the question here before I create the design document?
Because I have provided most of the information in this ticket, so the design doc may not provide any additional information and ticket is good for discussion.

It is not at all clear to me that this is sufficiently useful to warrant that added complexity

This is optional, as a plugin developer, if your plugin works well with the current mode, you don't need to change anything. But if your plugin needs to improve performance or workaround some bug, you can try this mode.
For example: If HC provides bad performance, dev can try HCTL. If HCTL is not available or introduces bugs he can try virtual display or this mode.
As a developer, I want to customize the app until it meets the requirement. But the choice to add the options is yours.

Could you ask the question here before I create the design document?
Because I have provided most of the information in this ticket, so the design doc may not provide any additional information and ticket is good for discussion.

It's not a single question, and design docs are much better suited to the kind of discussion that will come of the questions that I (and almost certainly others) have about this than a single, linear, unstructured thread.

@stuartmorgan
Please check the doc
https://docs.google.com/document/d/1EqaoFjI7aCpb_BTQw4xonkayr2hOHv0AEulgAXkGeeo/edit#heading=h.kl5r9cko7h3h

The current set of three modes each with their own edge cases is hard to reason about and hard to explain. One goal I have for Android Platform Views is to reduce the API surface area and complexity by removing the different modes (from the API).
Now, the implementation of Android Platform Views may optimize for cases like you've highlighted above, but, we would need to be able to detect the case and configure the engine to do the optimal thing.
Can you find a way for Flutter to detect this case and automatically execute the more optimal code?
Also, the following limitation seems like a deal breaker to me:

Synchronization between the platform view and the Flutter UI is not guaranteed. It is recommended to use this mode with platform views that have a fixed position to ensure proper alignment and consistency.

@johnmccutchan

Can you find a way for Flutter to detect this case and automatically execute the more optimal code?

I think one way to determine if a view is opaque is by examining its background color.

Also, the following limitation seems like a deal breaker to me:

Yes, I don't have a solution for this now.
Anyway, I end up creating a plugin for this.

You can achieve this today by writing an application that renders a native view and placing a transparent Flutter view over it. The difference this proposal would add is to let you instantiate that view from Dart code. But in order for the dart code to work, you'd need significant changes to your Java code and any other platform specific code.
We should not do this, and the original poster has worked around the issue via a plugin (which makes sense). I'm going to close this issue.


Run tests against latest kafka version

Describe the bug
Currently, tests are running against Kafka 2.4 which is older than a year.
Releases: https://kafka.apache.org/downloads

Ideally we'd run the tests against all supported versions (or at least patch of supported minor versions), but it'd take so long and use so much resources that we can't afford to do it. Generally we update the version we run our tests against when we add support for a feature or protocol version that only exists in some newer version. Since Kafka is backwards compatible with older clients, there's not really much of a reason to run against newer versions otherwise.
Feel free to open a PR adding a newer version to the pipeline though.

This is very reasonable. I think a good default would be to support the last two major releases. The last version can be run periodically once every day.

Feel free to open a PR adding a newer version to the pipeline though.

👍


Map - Missing Proposed Addresses

When an address is created with a life cycle of Proposed, it does not display on the map.
Examples;
Address ID 1787856 - "3 Nevis Street, Petone, Lower Hutt"
Address ID 1787851 - "Apartment 10a, ran113b The Esplanade, Petone, Lower Hutt"

Not a go live priority because there is currently no business process for TAs to advise us that an address is proposed, or that an address has changed from proposed to current.

Add to the aims Feature Layer
Please test in 0.8.1

Tested 0.8.1
Proposed addresses display as orange.


Localization

It would be nice to have localization option.
I'd localized hbs files for Russian language, but it would be better to have that as command line switch, not as a fork like I done now.

I was thinking about this a couple of months ago, and I had some ideas, but never the leisure to get working on it.
At the moment, some of the labels are part of the styling in the Less files. It seemd to me like a good way back then, but now I think it would better to do it another way.
Maybe a special helper that resolves message keys.
I guess it would be an extension to customize-engine-handlebars


Improper Logout at the end of the realm import

Current Behavior
When Keycloak Config CLI attempts to log out at the end of the realm import, it sends the logout request to the master realm which is missing the client_secret parameter.
Keycloak Config CLI obtains token with the grant_type=client_credentials.
Request logs:
2022-01-12 16:31:16.840 DEBUG 7 --- [           main] org.apache.http.headers                  : http-outgoing-0 >> Host: keycloak.namespace.svc.cluster.local:8080
2022-01-12 16:31:16.840 DEBUG 7 --- [           main] org.apache.http.headers                  : http-outgoing-0 >> Connection: Keep-Alive
2022-01-12 16:31:16.840 DEBUG 7 --- [           main] org.apache.http.headers                  : http-outgoing-0 >> User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.11)
2022-01-12 16:31:16.840 DEBUG 7 --- [           main] org.apache.http.wire                     : http-outgoing-0 >> "POST /auth/realms/master/protocol/openid-connect/logout HTTP/1.1[\r][\n]"
2022-01-12 16:31:16.840 DEBUG 7 --- [           main] org.apache.http.wire                     : http-outgoing-0 >> "Content-Type: application/x-www-form-urlencoded[\r][\n]"
2022-01-12 16:31:16.840 DEBUG 7 --- [           main] org.apache.http.wire                     : http-outgoing-0 >> "Cookie: KC_RESTART=[\r][\n]"
2022-01-12 16:31:16.840 DEBUG 7 --- [           main] org.apache.http.wire                     : http-outgoing-0 >> "Content-Length: 25[\r][\n]"
2022-01-12 16:31:16.840 DEBUG 7 --- [           main] org.apache.http.wire                     : http-outgoing-0 >> "Host: keycloak.namespace.svc.cluster.local:8080[\r][\n]"
2022-01-12 16:31:16.840 DEBUG 7 --- [           main] org.apache.http.wire                     : http-outgoing-0 >> "Connection: Keep-Alive[\r][\n]"
2022-01-12 16:31:16.840 DEBUG 7 --- [           main] org.apache.http.wire                     : http-outgoing-0 >> "User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.11)[\r][\n]"
2022-01-12 16:31:16.840 DEBUG 7 --- [           main] org.apache.http.wire                     : http-outgoing-0 >> "[\r][\n]"
2022-01-12 16:31:16.840 DEBUG 7 --- [           main] org.apache.http.wire                     : http-outgoing-0 >> "client_id=keycloak-loader-client"
2022-01-12 16:31:16.842 DEBUG 7 --- [           main] org.apache.http.wire                     : http-outgoing-0 << "HTTP/1.1 401 Unauthorized[\r][\n]"
2022-01-12 16:31:16.842 DEBUG 7 --- [           main] org.apache.http.wire                     : http-outgoing-0 << "X-XSS-Protection: 1; mode=block[\r][\n]"
2022-01-12 16:31:16.842 DEBUG 7 --- [           main] org.apache.http.wire                     : http-outgoing-0 << "X-Frame-Options: SAMEORIGIN[\r][\n]"
2022-01-12 16:31:16.842 DEBUG 7 --- [           main] org.apache.http.wire                     : http-outgoing-0 << "Referrer-Policy: no-referrer[\r][\n]"
2022-01-12 16:31:16.842 DEBUG 7 --- [           main] org.apache.http.wire                     : http-outgoing-0 << "Date: Wed, 12 Jan 2022 16:31:16 GMT[\r][\n]"
2022-01-12 16:31:16.842 DEBUG 7 --- [           main] org.apache.http.wire                     : http-outgoing-0 << "Connection: keep-alive[\r][\n]"
2022-01-12 16:31:16.842 DEBUG 7 --- [           main] org.apache.http.wire                     : http-outgoing-0 << "Strict-Transport-Security: max-age=31536000; includeSubDomains[\r][\n]"
2022-01-12 16:31:16.842 DEBUG 7 --- [           main] org.apache.http.wire                     : http-outgoing-0 << "X-Content-Type-Options: nosniff[\r][\n]"
2022-01-12 16:31:16.842 DEBUG 7 --- [           main] org.apache.http.wire                     : http-outgoing-0 << "Content-Type: application/json[\r][\n]"
2022-01-12 16:31:16.842 DEBUG 7 --- [           main] org.apache.http.wire                     : http-outgoing-0 << "Content-Length: 91[\r][\n]"
2022-01-12 16:31:16.842 DEBUG 7 --- [           main] org.apache.http.wire                     : http-outgoing-0 << "[\r][\n]"
2022-01-12 16:31:16.842 DEBUG 7 --- [           main] org.apache.http.wire                     : http-outgoing-0 << "{"error":"unauthorized_client","error_description":"Client secret not provided in request"}"

Expected Behavior
The utility should log out without an error.
Steps To Reproduce
* Enable HTTP debug logs
* Import any realm with Keycloak Config CLI using the client credentials

Environment

Keycloak Version: 15.0.2
keycloak-config-cli Version: 4.3.0 & 4.5.0
Java Version: 11

Anything else?
No response

Keycloak does not provide a logout method - https://github.com/keycloak/keycloak/issues/9451
I had to implement an own one and it looks like it's not compatible with grant_type=client_credentials.

For the client credentials, I can assume that it's enough only to revoke the token. To be honest, I can't see much difference between token revocation & logout here from the logical perspective since there is no cookie session as such is created, correct me if I'm wrong

In my option, a logout is user level while token revocation is administrative level.
I already saw some setups, where a client (for example in master realm) have permissions to modify the application realm. In such a scenario, the client may not have the permission to revoke tokens for sessions in master realms.

Not sure about the permissions required to revoke tokens. Since token revocation is a part of OpenID Connect (inherited from the OAuth2), there are no pre-requisites to revoke an own token.
Most of the applications I created have no Keycloak's native roles/permissions/etc but are capable to revoke their own token they obtained from the token endpoint.

Looks like, the /logout endpoint is only valid for user based sessions, because it requires a refresh_token but grant_type=client_credentials based sessions doesn't have one.

I have seen a similar discussion and they were talking only about the refresh token, I do confirm that 👍

I do confirm that 👍

Looks like, this is just SPEC.

The OAuth 2.0 RFC6749 Section 4.4.3 states that a refresh_token should not be generated when client_credentials grant is used.

I will just skip the logout here, if no refresh_token is available. Because I read the RevocationTokenEndpoint and it looks like, if grant_type=client_credentials is used, all (instead only the current one) sessions assigned with the client are revoked.

The funny thing is that you can enable the refresh token on the Keycloak for the particular client:
Clients > client A > Settings > Advanced Settings > User Refresh Tokens


Some suggestion

1.界面设计需要更为的简介，bootstrap虽好，但是需要更好的应用
2.如果目标是更快以及简单，建议抛弃mysql
3.个人建议markdown
4.评论插件可以自己写的，like wordpress

Thanks, I will see how can i improve it.

you can provide a rule than very body can write a template

The templates directory contains the all template we use. so you can rewrite them as you want


How to use fallback policy

Rasa Core version: 0.11.3
Python version: 3.6
Operating system (windows, osx, ...): Windows 10
Issue:
I have added "utter_default" template and message in domain.yml file and in stories.md file added the story like below
    ## fallback
- action_default_fallback

used the below command for train
python -m rasa_core.train -s stories.md -d domain.yml -o models/dialogue --history 1 --nlu_threshold 0.1 --core_threshold 0.1 --fallback_action action_default_fallback --epochs 300
after starting the server and verifying the fallback message, the below error i am getting in command console
`2018-09-10 15:50:00 DEBUG    rasa_core.tracker_store  - Creating a new tracker for id 'default'.
2018-09-10 15:50:00 DEBUG    rasa_core.processor  - Received user message 'give me kick' with intent '{'name': None, 'confidence': 0.0}' and entities '[]'
2018-09-10 15:50:00 DEBUG    rasa_core.processor  - Logged UserUtterance - tracker now has 2 events
2018-09-10 15:50:00 DEBUG    rasa_core.processor  - Current slot values:
2018-09-10 15:50:00 DEBUG    rasa_core.policies.fallback  - NLU confidence 0.0 is lower than NLU threshold 0.1. Predicting fallback action: action_default_fallback
2018-09-10 15:50:00 DEBUG    rasa_core.policies.memoization  - Current tracker state [{'prev_action_listen': 1.0}]
2018-09-10 15:50:00 DEBUG    rasa_core.policies.memoization  - There is no memorised next action
2018-09-10 15:50:00 DEBUG    rasa_core.policies.ensemble  - Predicted next action using policy_0_FallbackPolicy
2018-09-10 15:50:00 DEBUG    rasa_core.processor  - Predicted next action 'action_default_fallback' with prob 1.00.
2018-09-10 15:50:00 ERROR    rasa_core.processor  - Encountered an exception while running action 'action_default_fallback'. Bot will continue, but the actions events are lost. Make sure to fix the exception in your custom code.
2018-09-10 15:50:00 ERROR    rasa_core.processor  - The model predicted the custom action 'action_default_fallback' but you didn't configure an endpoint to run this custom action. Please take a look at the docs and set an endpoint configuration. https://rasa.com/docs/core/customactions/`
Seems like i am missing some configuration? Can you please help?
Content of domain file (if used & relevant):

Please ask this kind of question in the forum. The answer to your question is in the link in the error message though: https://rasa.com/docs/core/customactions/
You need to run an action server and specify it in your endpoints.yml

Please refer this link https://forum.rasa.com/t/fallback-implementation-in-new-version/1000


I wish there was an option that made everything immutable by default at compile time.
It'd be great if it something similar could be implemented in Civet.

Do you have a specific proposal? Mutable is such a deep aspect of the runtime that I doubt this is really doable in something like Civet. But if you have specific ideas (freezing everything all of the time?), happy to discuss.


Rendering issue when compiling with --wasm

Steps to reproduce
I am using the syncfusion_gauges package to render the circular "chart" shown in the screenshots (version 26.1.42). Since it is an issue with flutter I am posting it here and not on the library's GitHub. When compling via --wasm the widget looks completely different.
Expected results (CanvasKit)

Actual results (WASM + skwasm)

Code sample
Code sample
SizedBox(
      height: 90,
      width: 90,
      child: SfRadialGauge(
        axes: <RadialAxis>[
          RadialAxis(
            minimum: 0,
            maximum: 100,
            showLabels: false,
            showTicks: false,
            startAngle: 270,
            endAngle: 270,
            annotations: <GaugeAnnotation>[
              GaugeAnnotation(
                  positionFactor: 0.05,
                  angle: 90,
                  widget: Text("27%"))
            ],
            //grey part
            axisLineStyle: AxisLineStyle(
              thickness: 0.04,
              color: Colors.black.withOpacity(0.15),
              thicknessUnit: GaugeSizeUnit.factor,
            ),
            pointers: <GaugePointer>[
              //colored part
              RangePointer(
                  value: courseProgressPercentage * 100,
                  width: 0.08,
                  sizeUnit: GaugeSizeUnit.factor,
                  cornerStyle: CornerStyle.startCurve,
                  gradient: SweepGradient(colors: <Color>[
                    Theme.of(context).colorScheme.primary.withOpacity(0.66),
                    Theme.of(context).colorScheme.primary
                  ], stops: const <double>[
                    0.25,
                    0.75
                  ])),
              //dot
              MarkerPointer(
                value: courseProgressPercentage * 100,
                markerType: MarkerType.circle,
                markerWidth: 13,
                markerHeight: 13,
                color: Theme.of(context).colorScheme.primary,
              )
            ],
          ),
        ],
      ),
    )

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, 3.24.0-1.0.pre.197, on macOS 14.5 23F79
    darwin-arm64, locale en-DE)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.3)
[✓] Android Studio (version 2021.3)
[✓] Android Studio (version 2022.2)
[✓] VS Code (version 1.91.1)
[✓] Connected device (3 available)
[✓] Network resources

• No issues found!

Hi @dxvid-pts

Since it is an issue with flutter I am posting it here and not on the library's GitHub

If the issue occurs with a 3rd party dependency, it's better to report to its developer first to verify the issue initially. Or you should narrow the sample code down into a simpler one (reduce it by removing unrelated components) to reproduce the issue. Please see https://github.com/flutter/flutter/blob/master/docs/contributing/issue_hygiene/README.md#provide-reduced-test-cases.

I understand. Unfortunately I don't now the underlying code and don't have the time to investigate deeper.
In case there is interest to investigate, I reported full reproducable steps in the 3rd party's repo: https://github.com/syncfusion/flutter-widgets/issues/1986
Here is an interactive demo: https://temp-github-issue.pages.dev/
Works with Firefox/Safari (non-wasm).
Does not work with Chrome (wasm)
Only reproducable on the latest master.

@dxvid-pts
Although it looks like a wasm rendering issue on chrome but currently it seems to be replicable with third party package. For us to make it actionable, would be good if we get a code sample out of the box.

Only reproducable on the latest master.

wasm is currently only available on master.

Reproduced this.  When this happens the app does not render as expected and logs a Null check operator used on a null value exception.
This behavior started with https://dart.googlesource.com/sdk/+/dd89732126f5777c946ffbefe584e0011cbdffad
@mkustermann

@jason-simmons Thanks for narrowing it down to a dart2wasm issue and even identify the commit!
I can confirm this is a bug, it doesn't happen in -O0 mode but in the default -O4 mode. The CL dropped implicit type checks on setters in -O4 (which is correct) - though it turns out the code that generates the type check didn't only do that but also have a side-effect. This missing side-effect caused the issue.
=> Uploaded cl/378800

The issue should be fixed on main and I've filed a cherry-pick request for the upcoming dart stable in https://github.com/dart-lang/sdk/issues/56374.

This works now on the latest master, great work!


Rebuild for PyTorch 1.12

Comment:
A bot has rebuilt OpenMM-Torch for PyTorch 1.12 (https://github.com/conda-forge/openmm-torch-feedstock/pull/24). Why the same has not happened with NNPOps?
Ping @mikemhenry @hmaarrfk

It requires torachani first.
See the migration status
https://conda-forge.org/status/#other_migrations
browse down to pytorch

@hmaarrfk thanks! I wasn't aware of that page.
Let's wait until @mikemhenry finishes https://github.com/conda-forge/torchani-feedstock/pull/12

Yes! Sorry, for some really weird reason the tag showed up on my phone but not the website UI for notifications.
Just so I can prioritize, this is a blocker for the big openmm 8.0 "Machine Learning" release, right? Or is it okay if we don't have PyTorch 1.12 support on release day?

This isn't a blocker for OpenMM 8.

What is the current status of this?

I think it has been rebuilt for 1.12:
https://github.com/conda-forge/nnpops-feedstock/pull/10

Let me know if this issues needs to be opened @davkovacs


Add web.dev

Add Web Dev

@sanjaymhj Please Resolve this Conflict Thank You

@negoxygen Done. Please review the pull request.

one more conflict

@sanjaymhj


Add documentation for Selector

What changed?
Add documentation for Selector

Why?
It's missing documentation of how to use it correct.

How did you test it?

Potential risks

Pull Request Test Coverage Report for Build 88e19b57-0777-430e-b7f9-a7b860db23c0

0 of 0   changed or added relevant lines in 0 files are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.04%) to 71.583%

Files with Coverage Reduction
New Missed Lines
%

internal/internal_task_pollers.go
2
81.39%

Totals

Change from base Build 8627a7aa-d1c2-42b4-abee-eccc68ce94f2:
0.04%

Covered Lines:
12157

Relevant Lines:
16983

💛  - Coveralls


Apple M1 architecture Unknown platform darwin

When running qodana on a self host agent using azure pipeline using qodana extension i get Unknown platform darwin

https://youtrack.jetbrains.com/issue/QD-7912/When-running-qodana-on-a-self-host-agent-using-azure-pipeline-using-qodana-extension-i-get-Unknown-platform-darwin moved the issue to our tracker, thank you


composer autoload was not work

CI 3 is supposed to have this handled in the $config['composer_autoload'] setting. I believe the article you referenced applies only to CI 2 or older. Closing.


deprecate validation that a resource localization exists when English is the default language

motivation: the warning is redundant
changes:

remove the validation when english is the default langauge
adjust test
refactor TargetSourcesBuilderTests so we can test for no diagnostics

rdar://86297221

@swift-ci please smoke test

Please explain; the warning does not look redundant to me.

@swift-ci please smoke test


Bao pools new

Description
Please include a summary of the change and if relevant which issue is fixed. Please also include relevant motivation and context.
Type of change
[ X ] Other; add stablepool and weighted pool on mainnet
Weighted pool
Bao / baoETH-ETH (50/50)
Stable pool
bETH/baoETH-ETH

I think you need to use a rate provider for baoETH, if it's an LST like wstETH. can see our docs here https://docs.balancer.fi/reference/contracts/rate-providers.html#rate-providers
but also please feel free to reach out to me on telegram @solarcurve or discord to discuss further. for now we can't approve this since I believe the pools are made incorrectly


Add support for attachments

Attachments are not currently handled.

@SKaplanOfficial I wasn't aware of PyXa. Had played around with ScriptingBridge a bit on another project but got frustrated by lack of documentation. I just toyed around with PyXA -- amazing work!  I may just rewrite macnotesapp to use PyXA as it is so much faster. I have a similar project photoscript that uses the same AppleScript techniques that might benefit from PyXA (though photoscript currently supports creating folders/albums, moving photos from one album to another, etc. that don't appear to be supported in PyXA yet).

@RhetTbull Yeah, ScriptingBridge is a bit of a pain to work with, but I've found it to be robust enough for my needs. I wanted PyXA to serve as sort of an extended reference for ScriptingBridge/pyobjc as a whole since the existing documentation was... lacking. PyXA currently supports creating folders and albums, but moving photos is something I'm working on (moving AS objects in general, really, since the implementation varies slightly across different apps).

Quick question: is it possible to access an existing album by path (e.g. Folder1/SubFolder1/AlbumName and get back an album object?)

Yes and no; you can't access it by path in the form you specified, but you can use by_name() to get an album/folder object quickly. For example:
import PyXA
app = PyXA.Application("Photos")
print(app.folders().by_name("Folder1").folders().by_name("Folder2").albums().by_name("Album1"))
>>> <<class 'PyXA.apps.PhotosApp.XAPhotosAlbum'>Album1, id=F0DA93AB-CC92-23B2-9E16-973F6A062468/L0/040>

This should work near-instantly in most cases, unless your by_ call is to something that has to be queried per-object, e.g. for the body text (not plaintext) of notes.

Perfect -- thanks!

I'm able to add attachments (on Ventura at least, does not work on Catalina, not sure about Big Sur/Monterey) using the following AppleScript:
tell application "Notes"
	set theNote to note id "x-coredata://B36F4BF3-D2F0-4997-BD9B-96A608B6D5E0/IMAPNote/p40"
	set theFile to POSIX file "/Users/rhet/Downloads/debug.txt"
	make new attachment at theNote with data theFile
end tell

Can't figure out a way to do this via ScriptingBridge though.

This works for me to add an attachment on Ventura:
import AppKit
import ScriptingBridge

app = ScriptingBridge.SBApplication.alloc().initWithBundleIdentifier_("com.apple.notes")
note = app.notes()[0]
url = AppKit.NSURL.alloc().initFileURLWithPath_("/Users/exampleUser/Documents/Example.jpg")
new_attachment = app.classForScriptingClass_("attachment").alloc().initWithData_andProperties_(url, {})
note.attachments().addObject_(new_attachment)

But the AppleScript approach is probably good enough (and maybe better on other macOS versions).

Thanks! Will give that a try! I've been digging through your PyXA source to figure out ScriptingBridge and its been immensely helpful but it's still a lot of trial and error. I did get most of macnotesapp rewritten to use ScriptingBridge though and it's much faster now.  I'd like to contribute back to PyXA once I get through my current round of projects.  (for example, I've got a partial interface to Photos via PhotoKit that's much faster than scripting)


Minor Cleanup of Structured Logging Module

Description
1 - Cleaned up some of the code.
2- Fixed the adapter interface in here since post-cleanup it wasn't type checking. In the new system, the following logger call would have thrown a runtime exception before this change but is almost certainly present in the wild since it was found in our adapter tests:
logger.info("ran this sql: {}", sql)
Rather than re-implement every way a python logger could be called, I just make the std lib logger construct the message component of the log line and hand it back with a stringio buffer.
Checklist

[x] I have signed the CLA
[ ] I have run this code in development and it appears to resolve the stated issue
[x] This PR includes tests, or tests are not required/relevant for this PR
[ ] I have updated the CHANGELOG.md and added information about my change

@emmyoop if I'm understanding you correctly, I think that's exactly what we have already with the subclasses of types.py::AdapterEventBase. Do you mean something different than that?


nix shell is broken

error: suspicious ownership or permission on '/nix/store/frq9vjdlbygh4jf8sy1hx5sl2hnrvk1g-addintegrityfields.js.drv.chroot/nix/store/qd5gd38x0bpgpbmd7kv8saj0qkryzc6r-addintegrityfields.js' for output 'out'; rejecting this build output
error: 1 dependencies of derivation '/nix/store/fln3hzp5cdws32drhacwhrbdaq537zpl-node_purs-tidy-0.7.0.drv' failed to build

/cc @tryuhan

This is a codespace-only problem, closing.


Increase default level of feedback/confirmation in destructive commands

Some CLI commands invoke requests to endpoints that don't return rich descriptions of executed actions. As a result, the CLI can be confusingly quiet, even when significant or destructive actions have been carried out.
An example from a user:

For the jobs that do not have associated containers, running onefuzz jobs containers delete <job-id> doesn't output anything. It would help to e.g. render a JSON object that makes it clear that nothing was done (intentionally and successfully).

For the above command, the --dryrun flag does not indicate whether the containers have already been deleted. It could be useful if it did. This may require tracking more container metadata, or making additional queries.

Opened separate bug to track (2)  of the bug: #1282


(BKR-937) Add support for installing AIX 7 agent on 7.2

To avoid unnecessarily expanding our build times, our initial support
for AIX 7.2 is through the existing 7.1 package. This will be replaced
with a single unified AIX build in the Agent 2.0 timeframe, but for now
we need to add a little bit of special-case logic to handle 7.2 with
existing packages.

Refer to this link for build results (access rights to CI server needed):
http://jenkins-beaker.delivery.puppetlabs.net//job/qe_beaker_btc-intn/3431/

This looks like possibly a false positive at first glance? @puppetlabs/beaker-maintainers any thoughts?

@puppetlabs-jenkins retest this please

Refer to this link for build results (access rights to CI server needed):
http://jenkins-beaker.delivery.puppetlabs.net//job/qe_beaker_btc-intn/3437/

Test failure in regression is not related to this change.


front: Checkout page

from my cart, I can go to checkout page to view

final set of validators
tx fees
nomination amount
estimated rewards

Confirm to SignAndSend.

same thing as #188


Drop a comma from node pattern

Ref: #434
This comma is unnecessary. Sorry it is my mistake.

:+1: We should have a cop checking this.

Would be great to get an internal_investigation cop for this in rubocop proper that we could use too

Would be great to get an internal_investigation cop for this in rubocop proper that we could use too

This has already been fixed in Rubocop master; see bbatsov/rubocop#4499 and bbatsov/rubocop#4501 by @Drenmi. Commas will now result in a pattern compile error.

Oh great. We probably don't need a cop then once that version of rubocop is release

Sorry. Should have done a quick sweep through rubocop-rspec when I removed the support for arbitrary commas. 🙂


About  plot_logs

Hello, thanks for your great work!
When I finish training and get log.txt, I want to visualize it using plot_logs, as follows：

But I get an ERROR on this line：
https://github.com/IDEA-opensource/DAB-DETR/blob/11d1948565b71e6622d01eccca0b9f08022cdc82/util/plot_utils.py#L65
Traceback (most recent call last):
  File "H:/yjs/code/DAB-DETR-main/tmp.py", line 53, in <module>
    fig, axs = plot_logs(log_path)
  File "H:\yjs\code\DAB-DETR-main\util\plot_utils.py", line 65, in plot_logs
    df.interpolate().ewm(com=ewm_col).mean().plot(
  File "H:\Anaconda\lib\site-packages\pandas\util\_decorators.py", line 311, in wrapper
    return func(*args, **kwargs)
  File "H:\Anaconda\lib\site-packages\pandas\core\frame.py", line 10712, in interpolate
    return super().interpolate(
  File "H:\Anaconda\lib\site-packages\pandas\core\generic.py", line 6899, in interpolate
    new_data = obj._mgr.interpolate(
  File "H:\Anaconda\lib\site-packages\pandas\core\internals\managers.py", line 377, in interpolate
    return self.apply("interpolate", **kwargs)
  File "H:\Anaconda\lib\site-packages\pandas\core\internals\managers.py", line 327, in apply
    applied = getattr(b, f)(**kwargs)
  File "H:\Anaconda\lib\site-packages\pandas\core\internals\blocks.py", line 1369, in interpolate
    new_values = values.fillna(value=fill_value, method=method, limit=limit)
  File "H:\Anaconda\lib\site-packages\pandas\core\arrays\_mixins.py", line 218, in fillna
    value, method = validate_fillna_kwargs(
  File "H:\Anaconda\lib\site-packages\pandas\util\_validators.py", line 372, in validate_fillna_kwargs
    method = clean_fill_method(method)
  File "H:\Anaconda\lib\site-packages\pandas\core\missing.py", line 120, in clean_fill_method
    raise ValueError(f"Invalid fill method. Expecting {expecting}. Got {method}")
ValueError: Invalid fill method. Expecting pad (ffill) or backfill (bfill). Got linear

My version of pandas is 1.3.5
I don't know if I am using it in a wrong way or it is a bug in pandas, how can I fix it?

It might be a bug. I met this problem recently as well. A simple way to fix this is to remove the time fields in the logs.
Here is an explanation to this: https://stackoverflow.com/questions/58843656/pandas-interpolation-valueerrorinvalid-fill-method-expecting-pad-ffill-or

It might be a bug. I met this problem recently as well. A simple way to fix this is to remove the time fields in the logs. Here is an explanation to this: https://stackoverflow.com/questions/58843656/pandas-interpolation-valueerrorinvalid-fill-method-expecting-pad-ffill-or

Thanks for the reply, I'll give it a try.

if your logs need not fill, delete "interpolate().ewm(com=ewm_col).mean()" is a choose。


[Message:    NullReferenceException: Object reference not set to an instance of an object.

Hi everyone...I open this discussion....to ask you for help on this...the game in question is PC bunding simualor 2 translated with the Italian translation...the game translates well...but when I do the tutorial, every tutorial gives me the damn error...
[Message: Unity] Loading a case with customization data version: 0
[Warning:XUnity.AutoTranslator] Input API is not available!
System.TypeLoadException: Could not load type 'UnityEngine.Input' from assembly 'UnityEngine.CoreModule, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null'.
at XUnity.AutoTranslator.Plugin.Core.AutoTranslationPlugin.HandleInput()
at XUnity.AutoTranslator.Plugin.Core.AutoTranslationPlugin.HandleInputSafe()
[Info :XUnity.AutoTranslator] Skipping plugin scan because no plugin-specific translations has been registered.
[Error :XUnity.AutoTranslator] Error occurred during translation.
System.NullReferenceException: Object reference not set to an instance of an object.
and the game freezes...please help me..is it a plugin error? Is there a way to resolve the situation? and since May 25th I've been trying to resolve...
I need to put something in the config file, can you enlighten me? Thanks in advance
LogOutput.log
I attach the log file..
after I try the tutorial the game doesn't progress and I have to close the game

Fixed in #531


Image with entryComponents equal to<PHONE_NUMBER>

Apparently something is wrong with my 2013-02-08 12.51.51.jpg picture. I didn't have time to dive into Buffer.prototype.getLong magic but it looks like longVal === -1. Both values in getLong are -1 and all checked bytes are 255.
Please let me know @gomfunkel what more informations you need to debug this.

Hello,
Can you post your image ? (or send it to me ?)
Regards,

Here it is:


Add GlusterFS Solution to the Dashboard

Which package/s are you suggesting this feature for?
Dashboard
Is your feature request related to a problem? Please describe
As discussed with Thabet and Scott, we could add a GlusterFS solution on the Dashboard enabling HA for storage.
Describe the solution you'd like

Add GlusterFS solution on Dashboard

Configuration Examples
Here are some examples. Let's see how best to move forward.

3 nodes

Each node runs GlusterFS server
Each node has local storage
Metadata and data distributed across nodes
Can survive one node failure

6 nodes

2 replicas per brick (3 nodes each)
More robust data distribution
Better performance and redundancy

As discussed with Thabet and Kristof, we will first start by having guides instead of dashboard solutions.


I am using LiveData, DataBinding, and Kotlin in my application.

Cannot find a setter for <androidx.recyclerview.widget.RecyclerView app:Items> that accepts parameter type 'androidx.lifecycle.LiveData<java.util......

Thank you for reporting your issue. In order to look into it, can you please provide a sample project and clear steps to reproduce?


Updated dependencies, fixed a TypeError

Updated all dependencies, and fixed a TypeError at './controllers/authcontroller.ts'.

Thanks @ChiKler! We need to update the blog post for this example before we can merge. I'll do that next week.

Thank you for this PR @ChiKler and for alerting us to problems with out-of-date dependencies. I've made updates to this code example and the blog post to address them.
I'm closing this PR in favor of #3. Thank you again!


FINERACT-1724: Fee's are not included in total balance amount, when we have multiple disbursements on first day

Description
Describe the changes made and why they were made.
Ignore if these details are present on the associated Apache Fineract JIRA ticket.
Checklist
Please make sure these boxes are checked before submitting your pull request - thanks!

[ ] Write the commit message as per https://github.com/apache/fineract/#pull-requests

[ ] Acknowledge that we will not review PRs that are not passing the build ("green") - it is your responsibility to get a proposed PR to pass the build, not primarily the project's maintainers.

[ ] Create/update unit or integration tests for verifying the changes made.

[ ] Follow coding conventions at https://cwiki.apache.org/confluence/display/FINERACT/Coding+Conventions.

[ ] Add required Swagger annotation and update API documentation at fineract-provider/src/main/resources/static/legacy-docs/apiLive.htm with details of any API changes

[ ] Submission is not a "code dump".  (Large changes can be made "in repository" via a branch.  Ask on the developer mailing list for guidance, if required.)

FYI our guidelines for code reviews are at https://cwiki.apache.org/confluence/display/FINERACT/Code+Review+Guide.

Left comments regarding 2 cases, where we just check if loanCharge is due or not. The startDate in both these cases is disbursementDate and endDate is installment.getDueDate(), so only installment.dueDate parameter is sufficient.
Can there be 1 IT for this flow?

Thank you for your review!
I have replied to your comments and i am working on the IT test case.


[compact] Increase default consistency delay to 24h

Firstly, thanks for adding sharding to compact/store using relabeling config - I took part in a previous discussion on this and it's great to have the ability to do it now 🎉
We've run into an issue which caused some data loss. We have very large blocks that can take hours to upload to S3. When running multiple shards, we found that the malformed block check caused erroneous deletions:
• shard A compacts blocks X and Y, creating block Z on disk
• it starts to upload Z, starting with chunk 1 and going sequentially
• shard B scans the bucket, finds partially uploaded block Z
• it thinks Z is malformed because meta.json isn’t there (it gets uploaded last, after all chunks)
• shard B deletes block Z
• meanwhile, shard A is still uploading, so you end up with some of the latter blocks uploaded, and meta.json

As a quick fix, upping the consistency deadline makes things safer. But I wonder if we should also disable the malformed block deletion by default (and log a warning) if a relabeling config exists, so that the user can manually inspect and delete those blocks.
If we're happy to go ahead I'll add a changelog entry.

(Another solution would be to use different buckets, but we'd need to add relabeling config supporto sidecard.)

Thanks for this!
We are touching the idea of upload timeout, but it looks like it cannot be hardcoded, especially on compactor with bigger blocks: It can vary a lot.
Unfortunately, we shard on meta.json which is missing due to pending upload, so putting blocks in different buckets would work but I think it's quite inconvenient. We need to make it work with what we have now.
Ideas:

For this particular problem, I think increasing just minimumAge of removal on partial upload will do as well.
Make upload more resistant and check if all files are there afterward.

We are discussing this issue, and many related ones, and would like to come up with something that prevents these racing deletions in general. Both of the changes mentioned by Bartek are pretty low cost and likely high impact changes that will fix a good proportion of the races

For this particular problem, I think increasing just minimumAge of removal on partial upload will do the work.
Thanks, I realise this doesn't behave precisely how I intended. I'll add a flag from minimumAge so it can be configured 👍

@mattrco are you on CNCF slack maybe? See this working document we are working on before you jump into implementation: https://docs.google.com/document/d/1QvHt9NXRvmdzy51s4_G21UW00QwfL9BfqBDegcqNvg0/edit

Great, let me jump on slack 👀

https://github.com/thanos-io/thanos/pull/1937 fixes the issue.


docker compose file for testing p2p v2 protocol

The docker compose file allows to run 15 nodes on the same machine simultaneously. The purpose is to be able to test the V2 protocol, so PREFERRED_PROTOCOL_VERSION was bumped up to V2 as well. I also increased the software version to 0.2.0 to be able to distinguish the new nodes from the old ones in old nodes' GUI.
For nodes to find each other I specify them as "boot nodes" to each other. I decided not to uses reserved nodes, because it'd give them advantage over older nodes.
The data directories of the nodes are in named volumes. In order to connect wallet-cli to the required node, you have to mount the appropriate volume and also specify the correct rpc port. This is error prone, so I added a bash script to automate this a little bit. For now the script just executes connectedpeers and exits, but it can be extended if needed.
P.S. This branch is not supposed to be merged into master, it's just for local testing.

I pushed a little commit.


package util  unit test

Coverage remained the same at 48.647% when pulling 5301148c82e07a84742cd8649e5ce4e620f6aeec on Rock1994:go-client-refactor into 5bc4e16dbef3ad496e82eae68e995ceccc613333 on StyleTang:go-client-refactor.


NixOS as guest in openVZ container.

Hello.
I try to run nixoOS in container in OpenVZ 6.
nixos-version
15.09.563.f120b1d (Dingo)

https://nixos.org/wiki/Install_NixOS_as_OpenVZ_guest too old.
OpenVZ on node use venet, but I cannot configure it with nixos.
If up network manaul - it work good
ifconfig venet0  <IP_ADDRESS> netmask <IP_ADDRESS>
ifconfig venet0:0 $IP
ip route add default  dev venet0
echo "nameserver <IP_ADDRESS>" >> /etc/resolv.conf

But via configure.nix I cannot up it correct.
network.nix -
{ config, lib, pkgs, ... }:
{
  networking = {
      hostName = "nixos0.example.org";
      nameservers = ["<IP_ADDRESS>" "<IP_ADDRESS>"];
      interfaces = [ {
          name = "venet0";
          ipAddress = "<IP_ADDRESS>";
          prefixLength = 32;
      } ];
      #{
      #    name = "venet0:0";
      #    ipAddress = "$IP";
      #    prefixLength = 32;
      #}];
      localCommands =
        ''
          ifconfig venet0:0 $IP
          ip route add default  dev venet0
        '';
  };
}

With "venet0:0" block systemd freeze on network-link-venet0:0.service start.
With this config it correctly up venet0 and hostname.
But resolv.conf, route and venet0:0 it not set.
And nixos-rebuild test/switch show errors only about systemd-sysctl.service, systemd-vconsole-setup.service (https://bugs.openvz.org/browse/OVZ-6172 ).
Can you help with this problem?

Getting NixOS running on OpenVZ is a little more complicated.
I've managed to make most of the stuff working using external network configuration (combination of vzctl distro scripts / systemd unit).
https://github.com/vpsfreecz/build-vpsfree-templates/blob/master/files/configuration.nix
https://github.com/vpsfreecz/vzctl/commit/870116d16abd201ce4fc2fcf7f1a23cc098211bd
To get vzctl exec working it also needs altering PATH, see
https://github.com/vpsfreecz/vzctl/commit/a4e9efee9826f78e9c94fb23df42ebaa4450d4c2

Are there any updates to this issue, please?

I think this could be close as OpenVZ is pretty much dead.


fix sanity test: yapf format code

Broken by https://github.com/grpc/grpc/pull/25142.

Thanks for catching this! I'm surprised that this happened though. Does the sanity test not do a merge before running?

It does, but (unlike internal google CI) it the run tests & submit actions do not run atomically, so it's impossible to guarantee that e.g. two PR that are green when tested (their "as-if-merged" version actually gets tested) won't result in a broken tests when submitted in short succession. In practice, this happens only rarely so it doesn't bother us (and it would be very hard to fix without significantly impacting developer experience since we don't have a "magic" CI system like we do internally)

Thanks for catching this! I'm surprised that this happened though. Does the sanity test not do a merge before running?

It does, but (unlike internal google CI) it the run tests & submit actions do not run atomically, so it's impossible to guarantee that e.g. two PR that are green when tested (their "as-if-merged" version actually gets tested) won't result in a broken tests when submitted in short succession. In practice, this happens only rarely so it doesn't bother us (and it would be very hard to fix without significantly impacting developer experience since we don't have a "magic" CI system like we do internally)


An editor to update a dependency version in a Pom

@russmiles is this implemented somewhere else already?
I don't know whether this is the right place for this or if it's duplication. I used it at some point though so maybe it's useful?

This should probably be in rug-editors, no?

I updated this! and squashed it, just for you, James

wait .. what ... dang it, it has my changes from another branch in it
which, those are useful too but they weren't supposed to be on this PR

but now one is dependent on the other ... I'm just gonna change the title


Vickel: Watch huismancleverlyrecovery.com

Vickel requests the watch of the watch_keyword huismancleverlyrecovery\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

huismancleverlyrecovery\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Mast in Charcoal HQ


TakeSnaphot

Hi Sarxos,
First I must commend you for a job well done. I have been using your webcam programs in my projects and I found their performance very satisfactory. I want to ask is there any way I can use setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE) in  TakeSnaphotFromVideoExample program and deactivate the webcam as soon as the window is closed?

If you are refering to https://github.com/Fersca/Myron/blob/master/src/TakeSnaphotFromVideoExample.java
You need to shutdown the executor service first and close the webcam afterwards. So you can't use "JFrame.DISPOSE_ON_CLOSE" anymore and need to define your own close operation, see:
http://stackoverflow.com/questions/6084039/create-custom-operation-for-setdefaultcloseoperation

Hi @Dejiola,
You can do that by adding window listener into your JFrame and issue webcam.close() in windowClosed() method:
Example:
public class SomeWindow extends JFrame implements WindowListener {

	Webcam webcam = Webcam.getDefault();

	public SomeWindow() {
		addWindowListener(this);
	}

	@Override
	public void windowClosed(WindowEvent e) {
		webcam.close();
	}

	@Override
	public void windowOpened(WindowEvent e) {
		// nothing
	}

	@Override
	public void windowClosing(WindowEvent e) {
		// nothing
	}

	@Override
	public void windowIconified(WindowEvent e) {
		// nothing
	}

	@Override
	public void windowDeiconified(WindowEvent e) {
		// nothing
	}

	@Override
	public void windowActivated(WindowEvent e) {
		// nothing
	}

	@Override
	public void windowDeactivated(WindowEvent e) {
		// nothing
	}
}

In case of additional questions please do not ask them here :)


Support for other values for "front" vector

Nice library, great work! However, I seem to have hit a snag in my usage.
I am setting up a view where Z-axis points up, and X/Y describe a horizontal plane that the viewer is looking at from above. I specified the up vector to be [0, 0, 1], correspondingly, but that's when mouse rotation stopped working: both horizontal and vertical mouse movement only change the "theta" angle. Seems like that is because the Z-axis is hardcoded to also be the "front"? Where I need it to be [0, 1, 0] instead.
In other words, since the options accept an up vector, it would be nice to set the front as well.
Thanks!

definitely looking for this as well as a right vector, but these probably can be computed from other values? not sure how