Update changelog for v0.2.2 release and tick version

Added updates to changelog (worded them as best I could based on reading PRs and code).
AFAICT there are no breaking changes here (e.g. those being discussed in #100)

Just a friendly ping to see if this can land soon. I've got a handful of HAL crates waiting on this before publishing.

Hey, thanks for the ping. My perspective is that I'd like to see adaptors between the new/old traits before we publish a new release so we don't end up with fragmentation/incompatibility between implementations of the new/old versions, and I think this is something that we need agreement on first (maybe in #100).

Ahh, sorry based on previous discussion in #92 that'll be 0.2.3. This looks good to me.
bors r+

This has been published to crates.io.


Fix color for transfer related buttons when having no permission to act

Before:

After:
With no permission:

With permission:

There is a slight mismatch in height of these two buttons with the other two, if that can be easily fixed:

Can do later, I suppose.


Offset medication gridlines

Overview

Offset medication gridlines so they show in between bars instead of centered
Move medication labels slightly closer to the bars

How it was tested

Ran showcase app

Checklist

[x] The title contains a short meaningful summary
[ ] I have added a link to this PR in the Jira issue
[ ] I have described how this was tested
[ ] I have included screen shots for changes that affect the user interface
[ ] I have updated unit tests
[ ] I have run unit tests locally
[ ] I have updated documentation (including README)


feat: [PL-56709]: Update pdb_test.yaml

Since we changed pdb.yaml to get values from values.yaml. We need to set pdb.create : true to get pdb config in template and run tests on it.

trigger messagecheck


[BUG]: TypeError: init() got an unexpected keyword argument 'ckpt'

🐛 Describe the bug
When run "python scripts/txt2img.py --prompt "a photograph of an astronaut riding a horse" --plms --outdir ./output --ckpt /tmp/2023-04-11T14-51-15_train_colossalai_teyvat/diff_tb/version_0/checkpoints/epoch=1-step=60.ckpt --config /tmp/2023-04-11T14-51-15_train_colossalai_teyvat/configs/2023-04-11T14-51-15-project.yaml --n_samples 4",
Error occur:
Traceback (most recent call last):
File "scripts/txt2img.py", line 306, in
main(opt)
File "scripts/txt2img.py", line 200, in main
model = load_model_from_config(config, f"{opt.ckpt}")
File "scripts/txt2img.py", line 38, in load_model_from_config
model = instantiate_from_config(config.model)
File "/workspace/ColossalAI/examples/images/diffusion/ldm/util.py", line 79, in instantiate_from_config
return get_obj_from_str(config["target"])(**config.get("params", dict()))
File "/workspace/ColossalAI/examples/images/diffusion/ldm/models/diffusion/ddpm.py", line 594, in init
super().init(conditioning_key=conditioning_key, *args, **kwargs)
TypeError: init() got an unexpected keyword argument 'ckpt'
Environment
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2021 NVIDIA Corporation
Built on Mon_May__3_19:15:13_PDT_2021
Cuda compilation tools, release 11.3, V11.3.109
Build cuda_11.3.r11.3/compiler.29920130_0

This commit made the change. Can you install the latest package?

This commit made the change. Can you install the latest package?

I've used the latest code and installed the latest packages, but it still doesn't work

Based on the provided instantiate_from_config function, it doesn't seem like the function directly handles the 'ckpt' argument, which may cause the error. We will look further into this and fix the error as soon as possible.

Here is a piece of code commented which is functioned to detect the 'ckpt' parameter. Try uncommenting the code to see if it works.

Here is a piece of code commented which is functioned to detect the 'ckpt' parameter. Try uncommenting the code to see if it works.

According to your instructions, the problem has been solved.Thank you very much.


Proposal: Add GitHub Actions

Hi @mactrem! Great to see this exploration in tile formats.
I noticed that this repo has several code directories that include tests but is not yet set up to run those tests per commit. I figure it would be useful therefore to enable per-commit testing via GitHub Actions, which this PR proposes. The motivation here is twofold: a) try to ensure that the current code and tests all work as expected in a shared environment and b) ensure they continue to work correctly in the future if others provide PRs making improvements.
What do you think?
Additionally, I'm going to start making a few changes I see that are needed to get the tests working more smoothly. I'll use PR comments to document my changes so you or anyone else can help guide me as to whether they are correct.

Noting that the workflows added in this PR will not run automatically until approval is given per https://docs.github.com/en/actions/managing-workflow-runs/approving-workflow-runs-from-public-forks#approving-workflow-runs-on-a-pull-request-from-a-public-fork.

cbcbc2e allows the nom ci step to run successfully for the parser/js code. Before this change it would hang, I presume because the npm.rsint.net url used in the package-lock.json is not publicly accessible. So I rebuilt the package-lock.json and pushed the new version.

Noticed that npm run build in the evaluation/js fails with:
src/util/mbTilesRepository.ts:82:33 - error TS2339: Property 'tile_data' does not exist on type 'unknown'.

82                     resolve(row.tile_data);
                                   ~~~~~~~~~

Found 1 error in src/util/mbTilesRepository.ts:82

Which can be fixed with: aa57916

@springmeyer note that the primary branch is temporarily (i hope) not main, but instead feature/specification

primary branch is temporarily (i hope) is feature/specification, not main

👍🏼 thanks. I'll shift my exploration to seeing how things pass on that branch.

Stepping away for the day, so I'll recap:

This is still a work in progress as no tests are passing yet (looks the failures are mainly due to europe.mbtiles not being present. Anyone have tips for how to generate that?)
Eventually I'll plan to work on adding actions jobs for the java code too.
As far as PR process: It might make most sense to just add actions, without any other code changes, into main, enable them via approval, and then I can work on followup PRs on top. @mactrem let me know what you think about this and I can recreate a fresh PR tomorrow that just adds actions.


IDS PT Research ruleset discontinued since Sep 22, 2022, completely remove it from OPNsense?

Important notices
Our forum is located at https://forum.opnsense.org , please consider joining discussions there in stead of using GitHub for these matters.
Before you ask a new question, we ask you kindly to acknowledge the following:

[X] I have read the contributing guide lines at https://github.com/opnsense/plugins/blob/master/CONTRIBUTING.md
[X] I have searched the existing issues, open and closed, and I'm convinced that mine is new.

Since the IDS PT Research ruleset has been discontinued since Sep 22, 2022 (https://github.com/ptresearch/AttackDetection) it doesn't add value to OPNsense anymore. In the worst case, it can even create a false feeling of security for those not aware the ruleset is no longer being maintained.
Wouldn't it be best if the plugin would be discontinued as well and completely be removed from OPNsense?

@mvmazijk missed that one, thanks.


Inline bs-blabla to the BuckleScript docs

BuckleScript needs a dedicated section for all its external decorators, such as<EMAIL_ADDRESS>with proper examples and more thorough explanation on its use-cases.
bs-blabla is probably the most complete documentation on all available decorators so far, so it would be great to process the material in a way so it's easy to navigate on the docs. (I asked the original author for permission, not sure if he still needs to add a license file though)
How to do this?
All bucklescript related information lives in the pages/docs/reason-compiler/latest directory. The navigation can be extended in layouts/ReasonCompilerDocsLayout.re.

I gladly would tackle this.
bs-blabla is probably not the most accurate name, though.
I would suggest to use bs-decorators instead for the doc title. Or do you have something better in mind?

Sure, give it a preferred name and place a link in the ReasonCompilerLayout in the Interop category maybe? There's also a reference to bs-blabla in there somewhere which needs to be redirected as well 👍

Done  🎉


OnLoaded and Error state

It seems like there is a delay when onLoaded becomes true and when the chat widget actually renders.
My skeleton disappears when onLoaded is true. Can onLoaded be adjusted to only become true when the widget literally renders on screen. Right now it doesn't make for a good user experience.
Also I can't see a way to handle if something goes wrong, for example if the channel id is no longer valid, the widget would simply load a blank screen instead of an error state.
https://github.com/user-attachments/assets/5a60d298-19a4-49d5-8b50-827e046913b5

Hey @AyoCodess, I've already pushed the new version 0.5.2 with the corrected onLoaded event and a new callback for onError. You can give it a try

Hey @AyoCodess, I've already pushed the new version 0.5.2 with the corrected onLoaded event and a new callback for onError. You can give it a try

Thanks


Error in Win10

Everytime I've recently tried to launch the program, I've gotten this message. Re-downloaded the zip and still having the same issue.

Same issue, except been having it for months.

Same, been happening for about a week now.

Same here :(

Close all open instances, and delete "AppData\Roaming\yakyak".
This will allow the app to launch, but will not fix the issue, it will reoccur after rebooting


UpdateNOC needs to do validation of the received certificate

Problem
Similar to #8433 but for UpdateNOC.  One additional step that needs to be done here is validating that the new NOC (and ICAC if any) is for the same fabric id as the accessing fabric's fabric id.
Proposed Solution
Implement the spec here.
@tcarmelveilleux

Unlike #8433 this is very much not fixed.

@emargolis was there a reason to leave this open after #18866?  What's left to do here?


[All platforms] Ability to associate a person identity with any element

What platform is your feature request related to? (Delete other platforms).
All platforms. JS is PO.
Is your feature request related to a problem? Please describe.
Search needs to integrate the M365 persona card with custom search results, which are rendered using Adaptive Cards. The need is not to have a specific person element but instead to be able to associate a person's identity with any element in the card, including individual text runs in a RichTextBlock.
When a person's identity is associated with an element, that element would trigger an onElementHover(sender: CardElement) event that the consuming application can handle to implement whichever behavior they need, including popping up the live persona card.
Describe the solution you'd like
Allow card authors to associate a "person" entity with any element. Examples:
{
    "type": "AdaptiveCard",
    "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
    "version": "1.3",
    "body": [
        {
            "type": "TextBlock",
            "text": "John Doe",
            "entity": {
                "type": "Person",
                "id"<EMAIL_ADDRESS>                "displayName": "John Doe"
            }
        },
        {
            "type": "Image",
            "url": "https://...",
            "entity": {
                "type": "Person",
                "id"<EMAIL_ADDRESS>                "displayName": "John Doe"
            }
        },
        {
            "type": "RichTextBlock",
            "inlines": [
                {
                    "type": "TextRun",
                    "text": "Owner: "
                },
                {
                    "type": "TextRun",
                    "text": "John Doe",
                    "entity": {
                        "type": "Person",
                        "id"<EMAIL_ADDRESS>                        "displayName": "John Doe"
                    }
                }
            ]
        }
    ]
}

On the SDK side, expose an API to handle the hover event:
card.onElementHover(sender: CardElement) {
  let personEntity = sender.entities.find("Person");

  if (personEntity) {
    popupPersonaCard(sender.renderedElement, personEntity.id);
  }
}

This proposal seems reasonable.

What is the schema for Entity? Is it extensible by anyone or only well-defined entities?
Can you include some context as to why the need to associate individual elements is necessary as opposed to using the User Component in a specific view, e.g., a Comact view, or something else that creates the desired UI and hover behavior? I ask because it will present Card Authors with a decision on what is most appropriate and with two ways to achieve nearly the same thing I worry about that confusion and long term maintainability across all SDKs.


Disabled days - combined #97 #98

This combines @daniel-dll's PR #97 and #98. I also fixed the following:

isBefore / isAfter not catching same day. Needed to be at least isSameOrBefore or isSameOrAfter with 'day' resolution option. Accomplished this with a single isBetween call w/ [] matching option.
onLongPress was being called regardless if it was defined or not. Added check for this.
Daniel removed weekend, but left the style. Renamed it to disabled so disabled days show grayed out by default.
Made disabled style superseded today & selected. If a disabled date was today, it wasn't showing as such.
Fixed spacing issues

I personally don't need the weekend option, but I understand if you want to add the back. I just merged in Daniel's two PR's and fixed bugs (needed the styling options for disabled days).

Closing for https://github.com/christopherdro/react-native-calendar/pull/107


Kai Scans is now Lua Scans (Unoriginal)

Source information
Kaiscans 1.4.34
Source language
English
Steps to reproduce
Open kaiscans
Expected behavior
With chapters
Actual behavior
No chapters
Webview getting redirect to luascans
Mihon/Tachiyomi version
Mihon 0.16.5
Android version
Android 13
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I have updated the app to version 0.15.3.
[X] I have updated all installed extensions.
[X] I have tried the troubleshooting guide.
[X] If this is an issue with the app itself, I should be opening an issue in the app repository.
[X] I will fill out all of the requested information in this form.

The current plugin leads to "luacomic.com, the luascans.com and luacomic.com names were hacked and taken from the original site owner, the current site for luascans is luacomic.net


Merge type def into custom type id

WIP.

Renames TypeId to Type and merges in TypeDef flattened into 2 variants Product and Sum
Removes HasTypeDef trait etc.
Based on #36 for standardised json names
~Adds TypeId::Collection variant and defined Vec<T> and BTreeMap<K, V> as collections~
The String struct is now moved to prelude, distinct from the Str primitive

todo

[x] Rename TypeId struct?
[x] Remove TypeId::Collection (potentially can be added again later)
[ ] Fix up documentation
[ ] Test with ink!
[ ] Test with polkadotjs api

Closing in favour of https://github.com/paritytech/scale-info/pull/3


Android hard crash - v1.10.0

tabris android v1.10.1
only occurs when you go back to the root view. there is a drawer enabled for the app as well
there are several plugins loaded so it's probably one of them conflicting but any help in diagnosing the issue would be helpful.
03-30 08:54:31.223: E/AndroidRuntime(4925): FATAL EXCEPTION: main
03-30 08:54:31.223: E/AndroidRuntime(4925): Process: com.sdlportal.sdlmobile3, PID: 4925
03-30 08:54:31.223: E/AndroidRuntime(4925): java.lang.NoClassDefFoundError: Failed resolution of: Landroid/support/v4/animation/AnimatorCompatHelper;
03-30 08:54:31.223: E/AndroidRuntime(4925): 	at android.support.v7.widget.DefaultItemAnimator.resetAnimation(DefaultItemAnimator.java:514)
03-30 08:54:31.223: E/AndroidRuntime(4925): 	at android.support.v7.widget.DefaultItemAnimator.animateChange(DefaultItemAnimator.java:321)
03-30 08:54:31.223: E/AndroidRuntime(4925): 	at android.support.v7.widget.SimpleItemAnimator.animateChange(SimpleItemAnimator.java:149)
03-30 08:54:31.223: E/AndroidRuntime(4925): 	at android.support.v7.widget.RecyclerView.animateChange(RecyclerView.java:3510)
03-30 08:54:31.223: E/AndroidRuntime(4925): 	at android.support.v7.widget.RecyclerView.dispatchLayoutStep3(RecyclerView.java:3320)
03-30 08:54:31.223: E/AndroidRuntime(4925): 	at android.support.v7.widget.RecyclerView.dispatchLayout(RecyclerView.java:3080)
03-30 08:54:31.223: E/AndroidRuntime(4925): 	at android.support.v7.widget.RecyclerView.onLayout(RecyclerView.java:3518)
03-30 08:54:31.223: E/AndroidRuntime(4925): 	at android.view.View.layout(View.java:17637)
03-30 08:54:31.223: E/AndroidRuntime(4925): 	at android.view.ViewGroup.layout(ViewGroup.java:5575)
03-30 08:54:31.223: E/AndroidRuntime(4925): 	at android.support.v4.widget.SwipeRefreshLayout.onLayout(SwipeRefreshLayout.java:614)
03-30 08:54:31.223: E/AndroidRuntime(4925): 	at android.view.View.layout(View.java:17637)
03-30 08:54:31.223: E/AndroidRuntime(4925): 	at android.view.ViewGroup.layout(ViewGroup.java:5575)
03-30 08:54:31.223: E/AndroidRuntime(4925): 	at android.widget.RelativeLayout.onLayout(RelativeLayout.java:1079)
03-30 08:54:31.223: E/AndroidRuntime(4925): 	at android.view.View.layout(View.java:17637)
03-30 08:54:31.223: E/AndroidRuntime(4925): 	at android.view.ViewGroup.layout(ViewGroup.java:5575)
03-30 08:54:31.223: E/AndroidRuntime(4925): 	at android.widget.RelativeLayout.onLayout(RelativeLayout.java:1079)
03-30 08:54:31.223: E/AndroidRuntime(4925): 	at android.view.View.layout(View.java:17637)
03-30 08:54:31.223: E/AndroidRuntime(4925): 	at android.view.ViewGroup.layout(ViewGroup.java:5575)
03-30 08:54:31.223: E/AndroidRuntime(4925): 	at android.widget.RelativeLayout.onLayout(RelativeLayout.java:1079)
03-30 08:54:31.223: E/AndroidRuntime(4925): 	at android.view.View.layout(View.java:17637)
03-30 08:54:31.223: E/AndroidRuntime(4925): 	at android.view.ViewGroup.layout(ViewGroup.java:5575)
03-30 08:54:31.223: E/AndroidRuntime(4925): 	at android.widget.RelativeLayout.onLayout(RelativeLayout.java:1079)
03-30 08:54:31.223: E/AndroidRuntime(4925): 	at android.view.View.layout(View.java:17637)
03-30 08:54:31.223: E/AndroidRuntime(4925): 	at android.view.ViewGroup.layout(ViewGroup.java:5575)
03-30 08:54:31.223: E/AndroidRuntime(4925): 	at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1741)
03-30 08:54:31.223: E/AndroidRuntime(4925): 	at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1585)
03-30 08:54:31.223: E/AndroidRuntime(4925): 	at android.widget.LinearLayout.onLayout(LinearLayout.java:1494)
03-30 08:54:31.223: E/AndroidRuntime(4925): 	at android.view.View.layout(View.java:17637)
03-30 08:54:31.223: E/AndroidRuntime(4925): 	at android.view.ViewGroup.layout(ViewGroup.java:5575)
03-30 08:54:31.223: E/AndroidRuntime(4925): 	at android.support.v4.widget.DrawerLayout.onLayout(DrawerLayout.java:1192)
03-30 08:54:31.223: E/AndroidRuntime(4925): 	at android.view.View.layout(View.java:17637)
03-30 08:54:31.223: E/AndroidRuntime(4925): 	at android.view.ViewGroup.layout(ViewGroup.java:5575)
03-30 08:54:31.223: E/AndroidRuntime(4925): 	at android.support.v4.widget.DrawerLayout.onLayout(DrawerLayout.java:1192)
03-30 08:54:31.223: E/AndroidRuntime(4925): 	at android.view.View.layout(View.java:17637)
03-30 08:54:31.223: E/AndroidRuntime(4925): 	at android.view.ViewGroup.layout(ViewGroup.java:5575)
03-30 08:54:31.223: E/AndroidRuntime(4925): 	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:323)
03-30 08:54:31.223: E/AndroidRuntime(4925): 	at android.widget.FrameLayout.onLayout(FrameLayout.java:261)
03-30 08:54:31.223: E/AndroidRuntime(4925): 	at android.view.View.layout(View.java:17637)
03-30 08:54:31.223: E/AndroidRuntime(4925): 	at android.view.ViewGroup.layout(ViewGroup.java:5575)
03-30 08:54:31.223: E/AndroidRuntime(4925): 	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:323)
03-30 08:54:31.223: E/AndroidRuntime(4925): 	at android.widget.FrameLayout.onLayout(FrameLayout.java:261)
03-30 08:54:31.223: E/AndroidRuntime(4925): 	at android.view.View.layout(View.java:17637)
03-30 08:54:31.223: E/AndroidRuntime(4925): 	at android.view.ViewGroup.layout(ViewGroup.java:5575)
03-30 08:54:31.223: E/AndroidRuntime(4925): 	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:323)
03-30 08:54:31.223: E/AndroidRuntime(4925): 	at android.widget.FrameLayout.onLayout(FrameLayout.java:261)
03-30 08:54:31.223: E/AndroidRuntime(4925): 	at android.view.View.layout(View.java:17637)
03-30 08:54:31.223: E/AndroidRuntime(4925): 	at android.view.ViewGroup.layout(ViewGroup.java:5575)
03-30 08:54:31.223: E/AndroidRuntime(4925): 	at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1741)
03-30 08:54:31.223: E/AndroidRuntime(4925): 	at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1585)
03-30 08:54:31.223: E/AndroidRuntime(4925): 	at android.widget.LinearLayout.onLayout(LinearLayout.java:1494)
03-30 08:54:31.223: E/AndroidRuntime(4925): 	at android.view.View.layout(View.java:17637)
03-30 08:54:31.223: E/AndroidRuntime(4925): 	at android.view.ViewGroup.layout(ViewGroup.java:5575)
03-30 08:54:31.223: E/AndroidRuntime(4925): 	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:323)
03-30 08:54:31.223: E/AndroidRuntime(4925): 	at android.widget.FrameLayout.onLayout(FrameLayout.java:261)
03-30 08:54:31.223: E/AndroidRuntime(4925): 	at com.android.internal.policy.DecorView.onLayout(DecorView.java:726)
03-30 08:54:31.223: E/AndroidRuntime(4925): 	at android.view.View.layout(View.java:17637)
03-30 08:54:31.223: E/AndroidRuntime(4925): 	at android.view.ViewGroup.layout(ViewGroup.java:5575)
03-30 08:54:31.223: E/AndroidRuntime(4925): 	at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2346)
03-30 08:54:31.223: E/AndroidRuntime(4925): 	at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2068)
03-30 08:54:31.223: E/AndroidRuntime(4925): 	at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1254)
03-30 08:54:31.223: E/AndroidRuntime(4925): 	at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6337)
03-30 08:54:31.223: E/AndroidRuntime(4925): 	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:874)
03-30 08:54:31.223: E/AndroidRuntime(4925): 	at android.view.Choreographer.doCallbacks(Choreographer.java:686)
03-30 08:54:31.223: E/AndroidRuntime(4925): 	at android.view.Choreographer.doFrame(Choreographer.java:621)
03-30 08:54:31.223: E/AndroidRuntime(4925): 	at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:860)
03-30 08:54:31.223: E/AndroidRuntime(4925): 	at android.os.Handler.handleCallback(Handler.java:751)
03-30 08:54:31.223: E/AndroidRuntime(4925): 	at android.os.Handler.dispatchMessage(Handler.java:95)
03-30 08:54:31.223: E/AndroidRuntime(4925): 	at android.os.Looper.loop(Looper.java:154)
03-30 08:54:31.223: E/AndroidRuntime(4925): 	at android.app.ActivityThread.main(ActivityThread.java:6119)
03-30 08:54:31.223: E/AndroidRuntime(4925): 	at java.lang.reflect.Method.invoke(Native Method)
03-30 08:54:31.223: E/AndroidRuntime(4925): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
03-30 08:54:31.223: E/AndroidRuntime(4925): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)
03-30 08:54:31.223: E/AndroidRuntime(4925): Caused by: java.lang.ClassNotFoundException: Didn't find class "android.support.v4.animation.AnimatorCompatHelper" on path: DexPathList[[zip file "/data/app/com.sdlportal.sdlmobile3-1/base.apk"],nativeLibraryDirectories=[/data/app/com.sdlportal.sdlmobile3-1/lib/arm, /system/fake-libs, /data/app/com.sdlportal.sdlmobile3-1/base.apk!/lib/armeabi-v7a, /system/lib, /vendor/lib]]
03-30 08:54:31.223: E/AndroidRuntime(4925): 	at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
03-30 08:54:31.223: E/AndroidRuntime(4925): 	at java.lang.ClassLoader.loadClass(ClassLoader.java:380)
03-30 08:54:31.223: E/AndroidRuntime(4925): 	at java.lang.ClassLoader.loadClass(ClassLoader.java:312)

Did you build the app in the last 2 weeks? Could be related to http://stackoverflow.com/questions/42987363/java-lang-noclassdeffounderror-failed-resolution-of-landroid-support-v4-animat
Is any of your plugins requesting the support library with w * wildcard?

thanks for reply @mpost

yes, this seemed to start about 2 weeks ago. I know I built a working android version last month and it did not have this issue. I will need to check if anything in the plugins changed but I have most of them pinned to specific version
this is using the Tabris Build servers but I wouldn't think those changed for v1.10.0 right?
wildcards - none that I could find but one had   <framework src="com.android.support:appcompat-v7:+" /> that said, when I removed it from the build, the issue still occured

I'll keep looking and try the gradle changes recommended in those posts, thanks. if you can think of anything else or maybe confirm that the tabris build servers haven't changed

The build servers have most likely changes since we are building on travis and travis updates its support library version automatically. Therefore the new support library 26 alpha is available on travis and plugins that pull in support the library with an * version cause the problem as described in the SO post.

In fact we had some plugins that we were using in some apps that we needed to fork to pin the support library version to  the latest stable (25.3.1).

thanks, its most likely the same issue then. I'll look for the plugin with the wildcard

can you list the plugins where you saw this issue? are they common ones like barcode scanner, camera etc?

what was the exact fix you used, just that gradle entry as described on the SO post?

The pinning was required in eg phonegap-plugin-barcode scanner.
When the plugin uses a separate gradle file your provide: compile 'com.android.support:support-v4:25.3.0'. If the plugin uses the framework element in the plugin.xml you provide <framework src="com.android.support:support-v4:25.3.0" />. Make sure to pin the version for all support library dependencies starting with com.android.support.

can you give some more specific instructions, I'm getting build errors when trying to change these values:
if I remove this one line from the plugin.xml, it compiles but I get the same error as before at runtime
 <framework src="com.android.support:appcompat-v7:25.3.0" />
:processDebugManifest/home/travis/build/eclipsesource/tabris-js-build-template/build/platforms/android/AndroidManifest.xml:27:9-38 Error:
	Attribute meta-data#android.support.VERSION@value value=(26.0.0-alpha1) from [com.android.support:support-v4:26.0.0-alpha1] AndroidManifest.xml:27:9-38
	is also present at [com.android.support:appcompat-v7:25.3.0] AndroidManifest.xml:27:9-31 value=(25.3.0).
	Suggestion: add 'tools:replace="android:value"' to  element at AndroidManifest.xml:25:5-27:41 to override.
See http://g.co/androidstudio/manifest-merger for more information about the manifest merger.
:processDebugManifest FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':processDebugManifest'.
> Manifest merger failed : Attribute meta-data#android.support.VERSION@value value=(26.0.0-alpha1) from [com.android.support:support-v4:26.0.0-alpha1] AndroidManifest.xml:27:9-38
  	is also present at [com.android.support:appcompat-v7:25.3.0] AndroidManifest.xml:27:9-31 value=(25.3.0).
  	Suggestion: add 'tools:replace="android:value"' to  element at AndroidManifest.xml:25:5-27:41 to override.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 1 mins 51.503 secs
Error: /home/travis/build/eclipsesource/tabris-js-build-template/build/platforms/android/gradlew: Command failed with exit code 1 Error output:
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
/home/travis/build/eclipsesource/tabris-js-build-template/build/platforms/android/AndroidManifest.xml:27:9-38 Error:
	Attribute meta-data#android.support.VERSION@value value=(26.0.0-alpha1) from [com.android.support:support-v4:26.0.0-alpha1] AndroidManifest.xml:27:9-38
	is also present at [com.android.support:appcompat-v7:25.3.0] AndroidManifest.xml:27:9-31 value=(25.3.0).
	Suggestion: add 'tools:replace="android:value"' to  element at AndroidManifest.xml:25:5-27:41 to override.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':processDebugManifest'.
> Manifest merger failed : Attribute meta-data#android.support.VERSION@value value=(26.0.0-alpha1) from [com.android.support:support-v4:26.0.0-alpha1] AndroidManifest.xml:27:9-38
  	is also present at [com.android.support:appcompat-v7:25.3.0] AndroidManifest.xml:27:9-31 value=(25.3.0).
  	Suggestion: add 'tools:replace="android:value"' to  element at AndroidManifest.xml:25:5-27:41 to override.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Warning: Command failed: cordova build --device --buildConfig=tabrisBuildConfig.json
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
/home/travis/build/eclipsesource/tabris-js-build-template/build/platforms/android/AndroidManifest.xml:27:9-38 Error:
	Attribute meta-data#android.support.VERSION@value value=(26.0.0-alpha1) from [com.android.support:support-v4:26.0.0-alpha1] AndroidManifest.xml:27:9-38
	is also present at [com.android.support:appcompat-v7:25.3.0] AndroidManifest.xml:27:9-31 value=(25.3.0).
	Suggestion: add 'tools:replace="android:value"' to  element at AndroidManifest.xml:25:5-27:41 to override.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':processDebugManifest'.
> Manifest merger failed : Attribute meta-data#android.support.VERSION@value value=(26.0.0-alpha1) from [com.android.support:support-v4:26.0.0-alpha1] AndroidManifest.xml:27:9-38
  	is also present at [com.android.support:appcompat-v7:25.3.0] AndroidManifest.xml:27:9-31 value=(25.3.0).
  	Suggestion: add 'tools:replace="android:value"' to  element at AndroidManifest.xml:25:5-27:41 to override.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Error: /home/travis/build/eclipsesource/tabris-js-build-template/build/platforms/android/gradlew: Command failed with exit code 1 Error output:
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
/home/travis/build/eclipsesource/tabris-js-build-template/build/platforms/android/AndroidManifest.xml:27:9-38 Error:
	Attribute meta-data#android.support.VERSION@value value=(26.0.0-alpha1) from [com.android.support:support-v4:26.0.0-alpha1] AndroidManifest.xml:27:9-38
	is also present at [com.android.support:appcompat-v7:25.3.0] AndroidManifest.xml:27:9-31 value=(25.3.0).
	Suggestion: add 'tools:replace="android:value"' to  element at AndroidManifest.xml:25:5-27:41 to override.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':processDebugManifest'.
> Manifest merger failed : Attribute meta-data#android.support.VERSION@value value=(26.0.0-alpha1) from [com.android.support:support-v4:26.0.0-alpha1] AndroidManifest.xml:27:9-38
  	is also present at [com.android.support:appcompat-v7:25.3.0] AndroidManifest.xml:27:9-31 value=(25.3.0).
  	Suggestion: add 'tools:replace="android:value"' to  element at AndroidManifest.xml:25:5-27:41 to override.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
 Use --force to continue.
Aborted due to warnings.
travis_time:end:010965f6:start=1490991995540298756,finish=1490992149606276912,duration=154065978156

The command "grunt build deploy" exited with 6.

@bFlood Have you gone through all your plugins and checked there plugin.xml files and potentially other referenced .gradle files to check for wildcard support library inclusions?

yes but I will look again.
why would I get the compile error above though?

We have updated the cordova-android tabris platform to enforce a specific support library version (currently 25.3.1). Could you try again with the latest 2.x nightly?

Btw... To enforce a version of a library you can put the following statement in the cordova-android/bin/templates/project/build.gradle file of your cordova android platform:
configurations.all {
    resolutionStrategy.eachDependency { DependencyResolveDetails details ->
        def requested = details.requested
        if (requested.group == 'com.android.support') {
            if (!requested.name.startsWith("multidex")) {
                details.useVersion '25.3.1'
            }
        }
    }
}

I cannot build on 2.x, our apps are not ready yet (and to be honest, its going to be awhile before we can port them)
when building on the tabris servers, where would I place "configurations.all" statement above in our project? I can see where they go for plugins but for the main app, where do you define the gradle file (sorry if this is a basic question)

Can you build from 1.x nightlies? We could also add the pinning in 1.x.

I'm building form 1.10.0, is there a 1.x nightly even available? (or is that the "nightly" one?)
if so, yes it would be great if you added this to 1.x as well

yeah it nightly. We need to rename that at some point

does "nightly" have the pinning now? or does it need to be added?

give me a sec.

@bFlood We have now pinned the support library version in the tabris 1.x nightly? builds to 25.3.1` as well.

thank you, building now on "nightly". I'll let you know asap

compile error, any thoughts?
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'android'.
> failed to find target with hash string 'android-23' in: /usr/local/android-sdk
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 22.562 secs
Error: /home/travis/build/eclipsesource/tabris-js-build-template/build/platforms/android/gradlew: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'android'.
> failed to find target with hash string 'android-23' in: /usr/local/android-sdk
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Please install Android target: "android-23".
Hint: Open the SDK manager by running: /usr/local/android-sdk-24.0.2/tools/android
You will require:
1. "SDK Platform" for android-23
2. "Android SDK Platform-tools (latest)
3. "Android SDK Build-tools" (latest)
Warning: Command failed: cordova build --device --buildConfig=tabrisBuildConfig.json
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'android'.
> failed to find target with hash string 'android-23' in: /usr/local/android-sdk
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Error: /home/travis/build/eclipsesource/tabris-js-build-template/build/platforms/android/gradlew: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'android'.
> failed to find target with hash string 'android-23' in: /usr/local/android-sdk
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Please install Android target: "android-23".
Hint: Open the SDK manager by running: /usr/local/android-sdk-24.0.2/tools/android
You will require:
1. "SDK Platform" for android-23
2. "Android SDK Platform-tools (latest)
3. "Android SDK Build-tools" (latest)
 Use --force to continue.
Aborted due to warnings.
travis_time:end:1db7570f:start=1491404415417905874,finish=1491404483085879507,duration=67667973633

The command "grunt build deploy" exited with 6.
Done. Your build exited with 1.

Thanks for the info. We will look into this.

@bFlood This is typically because you don't have android sdk version 23 installed.

thanks @dested but its the tabris build server

@bFlood Can you try again now. As we move forward we will add a 1.x-nightly to make this explicit, but for now nightly should pick up the configuration for 1.x (it wasn't doing this, but I think I have that fixed).

sorry for the delay, different error this time:
:CordovaLib:processDebugResources/home/travis/build/eclipsesource/tabris-js-build-template/build/platforms/android/CordovaLib/build/intermediates/res/merged/debug/values-v24/values-v24.xml:3: AAPT: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Borderless.Colored'.

/home/travis/build/eclipsesource/tabris-js-build-template/build/platforms/android/CordovaLib/build/intermediates/res/merged/debug/values-v24/values-v24.xml:4: AAPT: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Colored'.

 FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':CordovaLib:processDebugResources'.
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/usr/local/android-sdk/build-tools/25.0.2/aapt'' finished with non-zero exit value 1
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 1 mins 37.003 secs
Error: /home/travis/build/eclipsesource/tabris-js-build-template/build/platforms/android/gradlew: Command failed with exit code 1 Error output:
/home/travis/build/eclipsesource/tabris-js-build-template/build/platforms/android/CordovaLib/build/intermediates/res/merged/debug/values-v24/values-v24.xml:3: AAPT: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Borderless.Colored'.

/home/travis/build/eclipsesource/tabris-js-build-template/build/platforms/android/CordovaLib/build/intermediates/res/merged/debug/values-v24/values-v24.xml:4: AAPT: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Colored'.

FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':CordovaLib:processDebugResources'.
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/usr/local/android-sdk/build-tools/25.0.2/aapt'' finished with non-zero exit value 1
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Warning: Command failed: cordova build --device --buildConfig=tabrisBuildConfig.json
/home/travis/build/eclipsesource/tabris-js-build-template/build/platforms/android/CordovaLib/build/intermediates/res/merged/debug/values-v24/values-v24.xml:3: AAPT: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Borderless.Colored'.

/home/travis/build/eclipsesource/tabris-js-build-template/build/platforms/android/CordovaLib/build/intermediates/res/merged/debug/values-v24/values-v24.xml:4: AAPT: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Colored'.

FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':CordovaLib:processDebugResources'.
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/usr/local/android-sdk/build-tools/25.0.2/aapt'' finished with non-zero exit value 1
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Error: /home/travis/build/eclipsesource/tabris-js-build-template/build/platforms/android/gradlew: Command failed with exit code 1 Error output:
/home/travis/build/eclipsesource/tabris-js-build-template/build/platforms/android/CordovaLib/build/intermediates/res/merged/debug/values-v24/values-v24.xml:3: AAPT: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Borderless.Colored'.

/home/travis/build/eclipsesource/tabris-js-build-template/build/platforms/android/CordovaLib/build/intermediates/res/merged/debug/values-v24/values-v24.xml:4: AAPT: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Colored'.

FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':CordovaLib:processDebugResources'.
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/usr/local/android-sdk/build-tools/25.0.2/aapt'' finished with non-zero exit value 1
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
 Use --force to continue.
Aborted due to warnings.
travis_time:end:1ba748c0:start=1491491969342703053,finish=1491492116029246814,duration=146686543761

The command "grunt build deploy" exited with 6.
Done. Your build exited with 1.

@bFlood Sorry for the inconvenience. We have solved the issue. Please rebuild your app.

thanks @mpost , new error:
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'android'.
> failed to find target with hash string 'android-25' in: /usr/local/android-sdk
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 24.691 secs
Error: /home/travis/build/eclipsesource/tabris-js-build-template/build/platforms/android/gradlew: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'android'.
> failed to find target with hash string 'android-25' in: /usr/local/android-sdk
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Please install Android target: "android-25".
Hint: Open the SDK manager by running: /usr/local/android-sdk-24.0.2/tools/android
You will require:
1. "SDK Platform" for android-25
2. "Android SDK Platform-tools (latest)
3. "Android SDK Build-tools" (latest)
Warning: Command failed: cordova build --device --buildConfig=tabrisBuildConfig.json
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'android'.
> failed to find target with hash string 'android-25' in: /usr/local/android-sdk
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Error: /home/travis/build/eclipsesource/tabris-js-build-template/build/platforms/android/gradlew: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'android'.
> failed to find target with hash string 'android-25' in: /usr/local/android-sdk
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Please install Android target: "android-25".
Hint: Open the SDK manager by running: /usr/local/android-sdk-24.0.2/tools/android
You will require:
1. "SDK Platform" for android-25
2. "Android SDK Platform-tools (latest)
3. "Android SDK Build-tools" (latest)
 Use --force to continue.
Aborted due to warnings.
travis_time:end:05c24228:start=1491571689023594437,finish=1491571762966809643,duration=73943215206

The command "grunt build deploy" exited with 6.
Done. Your build exited with 1.

Sorry about all the iterations. Please try again.

success! everything is working as expected now, thank you very much for the fix


CAMEL-19770: cleanup catches of Throwable in components

Pending further tests results on my CI.

Looking OK. Let's see how it goes on ASF CI.


codes to show the patch images

class select_image gives lists of ra,dec for 30 targets
class show_image show patch images downloaded from PDR3 database

Are these class objects necessary? Could they be simple functions?


Using moment-with locales, has no locales

Description of the Issue and Steps to Reproduce:
command to use another locale like moment.locale('it') always returns "en". moment.locales() command returns {'en"]. File being used is moment-with-locales.js
Please include the values of all variables used.
Environment:
moment.version "2.13.0"
Chrome 58 on OSX
In the Chrome Dev console... I get this...
moment.locales()
["en"]
moment.locales()
["en"]
moment.locale('it')
"en"
moment.locales()
["en"]
So how does one utilize moment with locales to use the locales?

Looks fine to me, even pulling that specific version: https://jsfiddle.net/0u6ft652/1. Can you create fiddle demonstrating the issue?

Sorry for the noise. I discovered that in the load chain, a poorly written plugin had copy and pasted an old version of moment, 2.13 with no locales into the browser, presumably AFTER the script load from me, hence it overwrote the moment function with a non-localized old version. Trying to wrap my head around how to code around that now


Thoughts about testing ...

Since #164 we now has push_no_atomic in tests/project/ which is probably not what we want - after all, most devs were fine with the atomic push so far, so now our tests no longer reflect the majoriy of use case.
In insight, it's obvious we should not have duplicated the tbump.toml and test projects back when support for pyproject.toml was merged.
So we need to think of a way to test tbump with various configuration files, without duplicating them.
Also, currently we don't really check if --atomic is used during push, because we only check that the tag was created and the branch was updated.
I think this should be fixed before we make a new release - bad tests might cause bugs to occur (among other things)

What do you think, @minrk ?

Oh yeah. I put it in one project, but not the other. But that may conflict with something else being tested.

So ... I went ahead and did that - and I found a bug ;)
If nothing is set in the config and use use --no-atomitc-push, you still end up calling git push with the --atomic option
(see failing test in the improve-tests branch)
Problem is we call set_config in the GitBumper after __init__  so the config file takes precedence over the command line (and we want the opposite)
All of this makes me wonder why we need both the config file and the command line ... Maybe we should configure the push only in the config file ?

It should probably be config only. I was following your lead with option and config.

OK. I've opened #166


skbio.diversity.get_beta_diversity_metrics() is not returning the complete list of metrics

The documentation for get_beta_diversity_metrics suggests it should return all valid beta div metrics for skbio, but it only returns two.
>>> skbio.diversity.get_beta_diversity_metrics()
['unweighted_unifrac', 'weighted_unifrac']

I'm not sure why you closed this issue again. I'm using scikit-bio 0.5.7 I get the same result as OP but "braycurtis" is also a working metric and even shown in the docs.

The method seems to be correct w.r.t. to the documentation, and beta_diversity notes that users should consult the scipy pdist docs for methods available upstream. IIRC, when this was written, there wasn't a programmatic way to get a stable listing of what metrics scipy provides. If this has changed, then I agree it would be pleasant to revise this method and its documentation. Would you be interested in submitting a PR on this?

Would you be interested in submitting a PR on this?

Probably not, no. Just something I noticed.


Support for Laravel 7

Any plans for support for Laravel 7?
I updated my project to Laravel 7, and only because of this package I am not able update

See https://github.com/sebastiaanluca/laravel-auto-morph-map/pull/9

Will release a new version in a few minutes 👍


ylim() crops plot when position='fill'

Minimal reproducible example:
data = {
    'x': [0, 0, 0],
    'g': ['a', 'a', 'b'],
}
ggplot(data, aes(x='x', fill='g')) + \
    geom_bar(position='fill') + \
    ylim(0, 1)

Output:

Expected (as in ggplot2):

This might be an expected behavior: data point "a" has value 2.0.
Limits ylim(0, 1) filter data - keep all data points which value is in range [0, 1], and discard all the rest. Thus, "a" got discarded.
ggplot2 behavior looks strange and doesn't match their documentation:

Note that setting limits on positional scales will remove data outside of the limits. If the purpose is to zoom, use the limit argument in the coordinate system

https://ggplot2.tidyverse.org/reference/scale_continuous.html

Experimenting with ggplot2 I came to the conclusion that if there is no statistic, then ylim() is actually applied to the data. But if y is taken from the statistic, it seems that ylim() is applied to the calculated ..y.. with positioning taken into account.
This looks inconsistent, apart from the fact that it contradicts the ggplot2 documentation.
I suggest closing the issue as not requiring fixing.


Issue #952: Sort low contrast in dark mode | Fixed ✅

modified: IssueList.tsx
changes:
Line 300
className="m-0 w-48 border-0 bg-transparent bg-right p-0 text-sm font-medium ring-0 focus:border-0 focus:ring-0 dark:bg-gray-900 dark:text-gray-300"
screen capture

Thanks! Just wondering, which OS/Browser was this an issue on? On macOS the native  is unstyleable and already with good contrast, thats why we didn't notice this earlier.
Thanks for the fix!

Windows 11 + Chrome 117.0.5938.22
I checked on Firefox too, it had the same issue.
You're welcome. Happy to help!


Running Http3 server

I see a some documentation available for http3 client, but I couldn't find any for the server.

Are there any documentation available on how to start the http3-supported web server?
Another noobish q, will this package need Lite Speed to be built before using lsquick? Essentially I want to setup a machine as a http3 supported web-server to conduct some academic experiments.

Thanks

Are there any documentation available on how to start the http3-supported web server?

Question answered -- closing.


Choosing a Share Company Token to be placed, allows the tile it is placed on to be rotated???

This ended up being same issue as later issue # 212. -- Resolved


write failed in release

Questions: Excuse me，I have a question about
-[RLMRealm commitWriteTransaction] and -[RLMRealm transactionWithBlock:]。
When using the latter write failed in release, but success after the switch to the former, I don't know what reason is this, in the debug, both can be written to success.

These two methods have what need to be aware of when to use place?Please give advice or comments.Thanks.

Realm version: latest
Xcode version: latest
iOS/OSX version: iOS 9.3
language： OC

Hi @demoker!
Actually, [RLMRealm transactionWithBlock] is just a convenience wrapper around [RLMRealm commitWriteTransaction]. Here is its code straight from RLMRealm.mm:
- (BOOL)transactionWithBlock:(void(^)(void))block error:(NSError **)outError {
    [self beginWriteTransaction];
    block();
    if (_realm->is_in_transaction()) {
        return [self commitWriteTransaction:outError];
    }
    return YES;
}

I'm not sure why your attempt at using [RLMRealm commitWriteTransaction] would be failing. Are you able to see if there are any NSError objects being returned?
If you are still having trouble, could you please post a copy of your source code here? Thanks!

- (void)updateBasicInfoWithCarId:(NSString *)carId basic:(LBRBasicInfoModel *)basicModel {
    __weak typeof(self) weakSelf = self;
    __weak LBRCarModel * car = [self fetchACarWithCarId:carId];
    [self.selfRealm transactionWithBlock:^{
        car.basic = basicModel;
        [LBRCarModel createOrUpdateInRealm:weakSelf.selfRealm withValue:car];
    }];
}

I'm sorry, that is my problem, I should not be used __weak modify the car to remove __weak in front of the car, with respect to ok,thanks! But why?It is ok in debug,not ok in release!

Once the last strong reference to an object is dropped, the object will be deallocated and any weak references will become nil. Since your car variable is weak, it does not keep the object returned by [self fetchACarWithCarId:carId] alive. The compiler can be more aggressive at optimizing out unnecessary retains in release builds than debug builds, so it's completely possible for the car variable to remain valid for some time in a debug build but to be immediately nil in an optimized release build.

@bdash ,excuse me . Can you help me look at the above the problem?thanks!

Please take a look at the Threading section of the Realm documentation for information about how Realm works when multiple threads are involved.


Install the UEFI osloader for libvirt support

This needs to be installed before libvirtd is being launched
for the first time, otherwise things don't work.

+1

Naive question: do we need something similar for Z?

+1


Can't restore the default settings

I changed the settings last time，the default setting should remain unchanged and user settings.json will change，but when i reload vscode, the default settings changed, i want to  restore default settings,but i can't, i can't modify default settings now. how can i restore default settings?

@zsqosos Very strange that default setting is not default setting
Can you try opening VS Code in a new user data directory and see what is the default setting is?
code --user-data-dir <new user data dir>

@sandy081 I opened VS code in a new user data directory, its in a same status.Then i uninstalled  and installed  again,but it's never changed,the status of default as same as the image now

@Tyriar Any insight as this setting is contributed by integrated terminal?


🗺 Client Data

RFC: #7634
Old PR: #5543

This work is being done across a few PRs in a feature/client-data branch:

Deprecate DataFunctionArgs - https://github.com/remix-run/remix/pull/8089

This work also depends on this React Router PR: https://github.com/remix-run/react-router/pull/11033

The above Remix PRs are merged to the feature branch, and the final PR is open in a draft state:
https://github.com/remix-run/remix/pull/8173

Two more related PRs:

https://github.com/remix-run/remix/pull/8229
https://github.com/remix-run/remix/pull/8236


Analyzer gets in an infinite loop when a file has parts on the order of 64

Source issue: https://github.com/kevmoo/source_gen.dart/issues/46
AnalysisContextImpl.DEFAULT_CACHE_SIZE = 64;
I'm working on a repo.
So far: I get stuck in an infinite loop in the while in_cacheDartResolutionData
State goes FLUSHED and stays FLUSHED.

This should be fixed by the new task model. Please let me know if it isn't.


install the package

Hello, thanks for the work!
I tried to install the package on windows and linux with the cuda version matched my local installation. But i don't seem to successfully compile the cuda files and I got error
    1 error detected in the compilation of "E:/GitHub/gendr/gendr/cuda/generalized_renderer_cuda_kernel.cu".
    generalized_renderer_cuda_kernel.cu
    ninja: build stopped: subcommand failed.
    Traceback (most recent call last):
      File "D:\miniconda3\envs\gendr\lib\site-packages\torch\utils\cpp_extension.py", line 1900, in _run_ninja_build
        subprocess.run(
      File "D:\miniconda3\envs\gendr\lib\subprocess.py", line 528, in run
        raise CalledProcessError(retcode, process.args,
    subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.

    The above exception was the direct cause of the following exception:

    Traceback (most recent call last):
      File "<string>", line 2, in <module>
      File "<pip-setuptools-caller>", line 34, in <module>
      File "E:\GitHub\gendr\setup.py", line 36, in <module>
        setup(
      File "D:\miniconda3\envs\gendr\lib\site-packages\setuptools\__init__.py", line 107, in setup
        return distutils.core.setup(**attrs)
      File "D:\miniconda3\envs\gendr\lib\site-packages\setuptools\_distutils\core.py", line 185, in setup
        return run_commands(dist)
      File "D:\miniconda3\envs\gendr\lib\site-packages\setuptools\_distutils\core.py", line 201, in run_commands
        dist.run_commands()
      File "D:\miniconda3\envs\gendr\lib\site-packages\setuptools\_distutils\dist.py", line 969, in run_commands
        self.run_command(cmd)
      File "D:\miniconda3\envs\gendr\lib\site-packages\setuptools\dist.py", line 1234, in run_command
        super().run_command(command)
      File "D:\miniconda3\envs\gendr\lib\site-packages\setuptools\_distutils\dist.py", line 988, in run_command
        cmd_obj.run()
      File "D:\miniconda3\envs\gendr\lib\site-packages\setuptools\command\develop.py", line 34, in run
        self.install_for_development()
      File "D:\miniconda3\envs\gendr\lib\site-packages\setuptools\command\develop.py", line 111, in install_for_development
        self.run_command('build_ext')
      File "D:\miniconda3\envs\gendr\lib\site-packages\setuptools\_distutils\cmd.py", line 318, in run_command
        self.distribution.run_command(command)
      File "D:\miniconda3\envs\gendr\lib\site-packages\setuptools\dist.py", line 1234, in run_command
        super().run_command(command)
      File "D:\miniconda3\envs\gendr\lib\site-packages\setuptools\_distutils\dist.py", line 988, in run_command
        cmd_obj.run()
      File "D:\miniconda3\envs\gendr\lib\site-packages\setuptools\command\build_ext.py", line 84, in run
        _build_ext.run(self)
      File "D:\miniconda3\envs\gendr\lib\site-packages\setuptools\_distutils\command\build_ext.py", line 345, in run
        self.build_extensions()
      File "D:\miniconda3\envs\gendr\lib\site-packages\torch\utils\cpp_extension.py", line 843, in build_extensions
        build_ext.build_extensions(self)
      File "D:\miniconda3\envs\gendr\lib\site-packages\setuptools\_distutils\command\build_ext.py", line 467, in build_extensions
        self._build_extensions_serial()
      File "D:\miniconda3\envs\gendr\lib\site-packages\setuptools\_distutils\command\build_ext.py", line 493, in _build_extensions_serial
        self.build_extension(ext)
      File "D:\miniconda3\envs\gendr\lib\site-packages\setuptools\command\build_ext.py", line 246, in build_extension
        _build_ext.build_extension(self, ext)
      File "D:\miniconda3\envs\gendr\lib\site-packages\setuptools\_distutils\command\build_ext.py", line 548, in build_extension
        objects = self.compiler.compile(
      File "D:\miniconda3\envs\gendr\lib\site-packages\torch\utils\cpp_extension.py", line 815, in win_wrap_ninja_compile
        _write_ninja_file_and_compile_objects(
      File "D:\miniconda3\envs\gendr\lib\site-packages\torch\utils\cpp_extension.py", line 1573, in _write_ninja_file_and_compile_objects
        _run_ninja_build(
      File "D:\miniconda3\envs\gendr\lib\site-packages\torch\utils\cpp_extension.py", line 1916, in _run_ninja_build
        raise RuntimeError(message) from e
    RuntimeError: Error compiling objects for extension
    [end of output]

when i install the package on Windows. I used the command pip install .
I also tried pip install gendr, it does not work as well. Can you provide some help for me to install and try the package?
Thanks!

I cannot speak for support on Windows, as I only operate on linux, but the following document from another CUDA package that I published might help with installation on linux: https://github.com/Felix-Petersen/difflogic/blob/main/INSTALLATION_SUPPORT.md
In the output you provided, it looks like ninja does not exist on your windows installation.
Wrt. linux, it is usually important that the PyTorch CUDA version exactly matches the (sub)version you get from nvcc -v. In some cases, it also works with around 1 subversion of CUDA difference. And one other issue could be that only CUDA but not CUDA Toolkit is installed, e.g., that nvcc is missing.


Update package.xml

Cause WoltLab deppert.

Since it's only cosmetic I already increased it to WSC 5.4.0:
https://github.com/xopez/de.mightful_noobs.customcopyright/commit/a67c5ce89f7c9f3e55aba5e451373a515100e48b


Use attribute_will_change!

As mentioned here https://github.com/mbleigh/acts-as-taggable-on/pull/968#discussion_r326359214

I tried it before
       expected: {"tag_list"=>[["awesome", "epic"], ["one"]]}
            got: {"tag_list"=>[nil, ["one"]]}


How to use @Schema(implementation = ..) for a request body having data type Map<String, Object>

         @Parameter(description = "identifier of the item")
         @PathVariable("id") String id,
         @Parameter(description = "map of property names and values ",
                 content = @Content(schema = @Schema(type = "object", implementation = Map.class)))
         @RequestBody Map<String, Object> properties)

For the above code , only Parameter id is getting generated and its completely missing requestBody.

Inferring from the @PathVariable I believe you are using spring and therefore either Springfox or springdoc-openapi or other spring related project, and not swagger-core directly. If this is the case please open the issue in the relevant project.
However in swagger-core / JAX-RS, a code like the one here:
        @GET
        @Path("/path/{id}")
        @Consumes({"application/json"})
        public void issue_3439(@PathParam("id") String id, @RequestBody(description = "map of property names and values") Map<String, Object> properties) {

results in:
/path/{id}:
    get:
      operationId: issue_3439
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        description: map of property names and values
        content:
          application/json:
            schema:
              type: object
              additionalProperties:
                type: object

Closing ticket, please reopen if you're still experiencing issues (please provide the version, environment and full annotated code)


Add multiple users

Related Issue: #324
https://user-images.githubusercontent.com/11460746/200878205-0f8c7b52-57ff-4817-a653-f2cc674c5837.mov

Thanks for opening this PR @LouisDelbosc.
Some comments about the behavior:

Clicking invite multiple users opens a second modal, but it's hard to tell as the only indication is the background transitioning to an even darker tint. One thing you can do here is add an animation to the second modal. There's a showAnimation option for UserManager that you can reference. @anaisconce was the intent to have two modals, or for the contents of the first modal to change whenever invite multiple users is clicked (and revert when Cancel is clicked).
The textarea is resizable but feels like it shouldn't be. It should be possible to disable this via CSS.
The Inherit access select below the textarea should be labeled Access, with possible values Owner, Editor, and Viewer (default).
I think positioning the Invite multiple button above the row containing Inherit access and Public access looks a little better since it's closer to the input. What do you think @anaisconce?
When a duplicate user is included in the textarea, an unhandled error is currently reported. Handling it the same way as invalid emails is one option. We could also accept duplicates and replace their access with whatever was selected in the second modal. Any thoughts @anaisconce?

Thank you for working on this, @LouisDelbosc !
To answer George's questions:

The intent was to replace the first modal with the second. I was picturing behavior similar to what happens in the import modal when importing a CSV, and the user clicks on "Import Options".
I agree Invite Multiple should be above the Inherit access and Public access row.
For clarity, you're describing a situation in which a user is already added to the doc, and then in the "Invite Multiple" modal they are added again. If so, I agree, we can accept duplicates and apply the access level assigned in the "Invite Multiple" modal.
Small edit: Thoughts on changing the "Invite Multiple" modal's header to Invite Team Members since that's more clearly the action being performed (not the management of existing members)? Like this: https://github.com/gristlabs/grist-core/issues/324#issuecomment-1302058135

Thank you for working on this, @LouisDelbosc !
To answer George's questions:

The intent was to replace the first modal with the second. I was picturing behavior similar to what happens in the import modal when importing a CSV, and the user clicks on "Import Options".
I agree Invite Multiple should be above the Inherit access and Public access row.
For clarity, you're describing a situation in which a user is already added to the doc, and then in the "Invite Multiple" modal they are added again. If so, I agree, we can accept duplicates and apply the access level assigned in the "Invite Multiple" modal.
Small edit: Thoughts on changing the "Invite Multiple" modal's header to Invite Team Members since that's more clearly the action being performed (not the management of existing members)? Like this: Add multiple users at once #324 (comment)

Yes to your third point.
Changing the header sounds good. On a related note, it might be good to also re-label the buttons to "Invite" and "Back" and hide the "Copy link" button.

@anaisconce @georgegevoian I made some change you can see here:
Screen.Recording.2022-11-15.at.16.14.27.mov

Thanks @LouisDelbosc.
Since we're not always inviting team members, the title being "Invite Team Members" seems misleading. For example, the latest video you shared is inviting users to a document. @anaisconce what do you think about just "Invite Users"?
Also, clicking Confirm when inviting multiple users seems like it should take you back to the initial screen of the User Manager. Pinging @anaisconce for confirmation on behavior.

@anaisconce @georgegevoian I made some change you can see here:
Screen.Recording.2022-11-15.at.16.14.27.mov

Thanks @LouisDelbosc.
Since we're not always inviting team members, the title being "Invite Team Members" seems misleading. For example, the latest video you shared is inviting users to a document. @anaisconce what do you think about just "Invite Users"?
Also, clicking Confirm when inviting multiple users seems like it should take you back to the initial screen of the User Manager. Pinging @anaisconce for confirmation on behavior.

I may have missread the question for one modal and the confirm button. I'd like to know what you feel best as a UX flow.
Let me know the modifications needed and I will take care of it asap (tomorrow if possible).

Sorry for the slow response! I've been out sick. 😓

@anaisconce what do you think about just "Invite Users"?

That works for me! Sounds good.

Also, clicking Confirm when inviting multiple users seems like it should take you back to the initial screen of the User Manager.

I agree. It it's one last chance to confirm everything is correct and make any modifications, then confirm.

@anaisconce
@georgegevoian
Here the new flow where you can confirm the new users on the user manager modal.
I did not see anything else. Did I miss something to add ? 🙂
https://user-images.githubusercontent.com/11460746/202680046-63af8ce3-6d7f-4875-89ef-63f42601c97e.mov

@anaisconce @georgegevoian Here the new flow where you can confirm the new users on the user manager modal. I did not see anything else. Did I miss something to add ? 🙂
Screen.Recording.2022-11-18.at.11.23.35.mov

Thanks @LouisDelbosc.
The only things I see are:

The modal title should be changed from "Invite Team Members" to "Invite Users".
Adding a duplicate user shouldn't throw an unhandled error; it should instead overwrite the existing user's access.
The menu item labels in the Access dropdown should be "Owner", "Editor", and "Viewer".

Otherwise, looks good!

Using it a lot, that's very handy, thank you all! :)


Release v0.16.1

Working on changelog now.
/cc @mapbox/navigation-ios

Waiting on a final Directions API deploy before merging this.


Default to frontend in the web configuration file

WHY are these changes introduced?
The mental model of having the "frontend" and "backend" web types, the first of which is expected to be a proxy to the latter, is confusing and couples the design to our templates.
WHAT is this pull request doing?
I'm removing part of the confusion without introducing breaking changes by defaulting the type to frontend. For single-process apps, like Rails or Remix, we can only configure the process that the CLI needs to run.
How to test your changes?
You can create a new project and remove the type: frontend from the frontend shopify.web.toml.
Post-release steps
We need to merge the PR with documentation changes.
Measuring impact
How do we know this change was effective? Please choose one:

[x] n/a - this doesn't need measurement, e.g. a linting rule or a bug-fix
[ ] Existing analytics will cater for this addition
[ ] PR includes analytics changes to measure impact

Checklist

[x] I've considered possible cross-platform impacts (Mac, Linux, Windows)
[x] I've considered possible documentation changes
[x] I've made sure that any changes to dev or deploy have been reflected in the internal flowchart.

nice :) any doc change we have to do here? https://shopify.dev/docs/apps/tools/cli/structure#shopify-web-toml

Yes! Here're the doc updates


bug: [@sapphire/ts-config] Option 'importsNotUsedAsValues' is deprecated and will stop functioning in TypeScript 5.5.

Is there an existing issue for this?

[X] I have searched the existing issues

Description of the bug
When extending @sapphire/ts-config in the tsconfig, the following error shows up

the importsNotUsedAsValues option seems deprecated, and should be updated in this package
Steps To Reproduce
Extend @sapphire/ts-config in your tsconfig
Expected behavior
No error should be shown
Screenshots
No response
Additional context
https://github.com/microsoft/TypeScript/issues/51909
Found this (related?) Issue on the topic

It should be noted that Sapphire is not updated for TS 5.x yet, and when it does this package in particular will receive a major version bump.

So the solution, for now, is, to not use TS 5?

Correct

For now you can add "ignoreDeprecations": "5.0" to your tsconfig, if the rest works when you do that. TS 5.x compatibility will be added in due course whenever everything builds and is tested to work with it. Generally however you never want to rush those things so let that be a lesson for the future I guess.

That said, as we are aware of TS 5.x I'm going to pre-emptively close this issue. Once we ship TS 5.x compatibility it will be announced on the Sapphire discord server. You can also track #567 for updates.


Implements idxmax()/idxmin() for DataFrame

Resolves #1043
>>> kdf = ks.DataFrame({'a': [1, 2, 3, 2],
...                     'b': [4.0, 2.0, 3.0, 1.0],
...                     'c': [300, 200, 400, 200]})
>>> kdf
   a    b    c
0  1  4.0  300
1  2  2.0  200
2  3  3.0  400
3  2  1.0  200

>>> kdf.idxmax()
a    2
b    0
c    2
Name: 0, dtype: int64

For Multi-column Index
>>> kdf = ks.DataFrame({'a': [1, 2, 3, 2],
...                     'b': [4.0, 2.0, 3.0, 1.0],
...                     'c': [300, 200, 400, 200]})
>>> kdf.columns = pd.MultiIndex.from_tuples([('a', 'x'), ('b', 'y'), ('c', 'z')])
>>> kdf
   a    b    c
   x    y    z
0  1  4.0  300
1  2  2.0  200
2  3  3.0  400
3  2  1.0  200

>>> kdf.idxmax()
(a, x)    2
(b, y)    0
(c, z)    2
Name: 0, dtype: int64

Codecov Report

Merging #1054 into master will decrease coverage by 2.68%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #1054      +/-   ##
==========================================
- Coverage   95.13%   92.44%   -2.69%
==========================================
  Files          34       34
  Lines        6765     6781      +16
==========================================
- Hits         6436     6269     -167
- Misses        329      512     +183

Impacted Files
Coverage Δ

databricks/koalas/missing/frame.py
100% <ø> (ø)
:arrow_up:

databricks/koalas/frame.py
93.26% <100%> (-3.31%)
:arrow_down:

databricks/koalas/usage_logging/__init__.py
24.54% <0%> (-72.73%)
:arrow_down:

databricks/koalas/usage_logging/usage_logger.py
50% <0%> (-50%)
:arrow_down:

databricks/koalas/__init__.py
78.72% <0%> (-8.52%)
:arrow_down:

databricks/conftest.py
92% <0%> (-6%)
:arrow_down:

databricks/koalas/utils.py
95.12% <0%> (-3.05%)
:arrow_down:

databricks/koalas/groupby.py
89.34% <0%> (-2.05%)
:arrow_down:

databricks/koalas/namespace.py
85.8% <0%> (-1.55%)
:arrow_down:

... and 3 more

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 221b5a2...2a7f65a. Read the comment docs.


Conditionally color rows?

Love this data table - so much easier to work with than others that I've used. Awesome work.
Is there a way to apply styling to a row of data based on an attribute in the data? Or is the best way to do this to use rowValues and just change the rendering of each cell and put the check on each cell? Seems kind of repetitive, but if that's what I've got to do...

I think you're looking for
trClassCallback={ rowInfo => rowInfo.row.status ? 'green' : 'red' }
or
trStyleCallback={ rowInfo => ( {color: rowInfo.row.status ? 'green' : 'red'} ) }
Both of those will help you on your quest!  Good luck :)

@tannerlinsley Are trClassCallback & trStyleCallback props for , I've set them and they never get called :-(.

Try the new getTrProps property. See readme for documentation :)
On Mon, Mar 6, 2017 at 5:55 PM Steven Shaginyan<EMAIL_ADDRESS>wrote:

@tannerlinsley https://github.com/tannerlinsley Are trClassCallback &
trStyleCallback props for , I've set them and they never get called :-(.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tannerlinsley/react-table/issues/44#issuecomment-284585454,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFUmCb-3PfSTsLV8zY7e0AGu6kCswiReks5rjKr2gaJpZM4LvNrR
.

@tannerlinsley I cannot seem to find it in your docs. I am using react-table 6.7.5. And would like to color a row based on a cell value.

For future, this is a good reference sample on how getTrProps works :
https://codesandbox.io/s/k3q43jpl47

thanks @aaroncrawford , that if(rowInfo) condition did it for me because I was getting an error previously and I didnt see it in the documentation somewhere.

@tannerlinsley How to conditionally color Rows and cells in a functional component, appreciate if you demonstrate with an example.

I think you're looking for
trClassCallback={ rowInfo => rowInfo.row.status ? 'green' : 'red' }
or
trStyleCallback={ rowInfo => ( {color: rowInfo.row.status ? 'green' : 'red'} ) }
Both of those will help you on your quest! Good luck :)

Not Working sir..
data={this.state.data}
columns={columns}
defaultPageSize = {15}
pageSizeOptions = {[15,25,100]}
className="-striped -highlight"
trClassCallback={ rowInfo => rowInfo.row.Web_Category  ? 'green' : 'red' }
data={this.state.data}
columns={columns}
defaultPageSize = {15}
pageSizeOptions = {[15,25,100]}
className="-striped -highlight"
trStyleCallback={ rowInfo => ( {color: rowInfo.row.status ? 'green' : 'red'} ) }

This solution is applicable to version 6. Do we have some workaround for version 7?

Bumping this. would like to implement highlight a row if someones mouse is hovering over the row. Or if i have a delete button in that row, hovering over the button would create a css affect of that row. Is this currently possible?

bumping this. also would like to know

I was able to style rows conditionally by following this guide for v7: https://react-table.tanstack.com/docs/examples/data-driven-classes-and-styles

I am able to style a particular row with the help of this example : https://jbetancur.github.io/react-data-table-component/?path=/story/conditional-styling--conditional-rows
Example:
`const conditionalRowStyles = [
  {
    when: row => row.actual_data != row.predicted_data,
    style: {
      backgroundColor: 'red'
    }
  }
]`

Pass conditionalRowStyles as a prop to the Datatable component, and you will achieve the desired style.

I am able to style a particular row with the help of this: https://jbetancur.github.io/react-data-table-component/?path=/story/conditional-styling--conditional-rows
Example:
`const conditionalRowStyles = [
  {
    when: row => row.actual_data!== row.predicted_data,
    style: {
      backgroundColor: 'red'
    }
  }
]`

Add conditionalRowStyles as a prop to the Datatable component, and you will achieve the desired style.

This was helpful in getting @zachrnolan's solution above to work since that link is broken now:
https://spectrum.chat/react-table/general/v7-row-getrowprops-how-to-pass-custom-props-to-the-row~ff772376-0696-49d6-b259-36ef4e558821?m=MTU2ODM4ODYxODE5NA==

Since none of these solutions are applicable for V8, has there been something introduced to replace getTrProps?

@smokinjoe if you use the table's meta property, you can access the row data and conditionally style a row
https://codesandbox.io/s/twilight-butterfly-3i964n?file=/src/main.tsx
declaration merging on line 15
defining a custom row style function on line 97
and implementing it on line 126
Hopefully that suits your needs!

In 2023, This should work:
interface YourType {
    errorStatus: number;
}

declare module '@tanstack/react-table' {
    interface TableMeta<TData extends RowData> {
        getRowStyles: (row: Row<TData>) => CSSProperties;
    }
}

const YourTable = () => {
    const table = useReactTable({
        data,
        columns,
        getCoreRowModel: getCoreRowModel(),
        meta: {
            getRowStyles: (row: Row<YourType>): CSSProperties => ({
                background: row.original.errorStatus === 1 ? "red" : "transparent",
            }),
        }
    });

    return (

        {table.getRowModel().rows.map(row => (

 // <-- Use it here
                {row.getVisibleCells().map(cell => (

                        {flexRender(cell.column.columnDef.cell, cell.getContext())}

                ))}

        ))}

);
}

@tannerlinsley  as row can we color a individual column too??

@reza-ebrahimi Thank you for the example!
To piggyback off the example, he's an example that also works in v8 if someone wanted to make a reusable component and pass getRowStyles to it as a prop.

const YourTable = ({data, columns, getRowStyles}) => {
  const table = useReactTable({
    data,
    columns,
    getCoreRowModel: getCoreRowModel(),
  });

  return (

          {table.getRowModel().rows.map(row => (

              {row.getVisibleCells().map(cell => (

                  {flexRender(cell.column.columnDef.cell, cell.getContext())}

              ))}

          ))}

  );
};

const getRowStyles = (row) => {
  if (row.original.someCondition) {
    return {
      background: 'red',
    };
  }
};

const data = fetchSomeData();
const columns = [
  // columnDefs
];

return <YourTable data={data} columns={columns} getRowStyles={getRowStyles} />;

//> In 2023, This should work:
This solution worked perfectly for my case, but it is causing me the following typing problem:
Property 'getRowStyles' does not exist on type 'TableMeta'.
I ended up solving this in a very ugly way: I created a custom table type that inherits the Table interface properties from @tanstack/react-table and added the getRowStyles method.
Of course, other errors will arise because this code that I used as an example is not complete and is not all converted to TS.
import { Row, Table } from '@tanstack/react-table';

type CustomTable<TData> = Table<TData> & {
  options?: {
    meta?: {
      getRowStyles?: (row: Row<TData>) => React.CSSProperties;
    };
  };
};

const YourTable = () => {
   const table = useReactTable({
       data,
       columns,
       getCoreRowModel: getCoreRowModel(),
       meta: {
           getRowStyles: (row: Row<YourType>): CSSProperties => ({
               background: row.original.errorStatus === 1 ? "red" : "transparent",
           }),
       }
   }) as CustomTable<any>; <-- Using my custom type

   return (

       {table.getRowModel().rows.map(row => (

 // <-- Use it here
               {row.getVisibleCells().map(cell => (

                       {flexRender(cell.column.columnDef.cell, cell.getContext())}

               ))}

       ))}

);
}

A cleaner way to extend TableMeta is using:
declare module '@tanstack/table-core' {
  interface TableMeta<TData extends unknown> {
    getRowClasses: Function
  }
}

//> In 2023, This should work:
This solution worked perfectly for my case, but it is causing me the following typing problem:
Property 'getRowStyles' does not exist on type 'TableMeta'.
I ended up solving this in a very ugly way: I created a custom table type that inherits the Table interface properties from @tanstack/react-table and added the getRowStyles method.
Of course, other errors will arise because this code that I used as an example is not complete and is not all converted to TS.
import { Row, Table } from '@tanstack/react-table';

type CustomTable<TData> = Table<TData> & {
  options?: {
    meta?: {
      getRowStyles?: (row: Row<TData>) => React.CSSProperties;
    };
  };
};

const YourTable = () => {
   const table = useReactTable({
       data,
       columns,
       getCoreRowModel: getCoreRowModel(),
       meta: {
           getRowStyles: (row: Row<YourType>): CSSProperties => ({
               background: row.original.errorStatus === 1 ? "red" : "transparent",
           }),
       }
   }) as CustomTable<any>; <-- Using my custom type

   return (

       {table.getRowModel().rows.map(row => (

 // <-- Use it here
               {row.getVisibleCells().map(cell => (

                       {flexRender(cell.column.columnDef.cell, cell.getContext())}

               ))}

       ))}

);
}

A cleaner way to extend TableMeta is using:
declare module '@tanstack/table-core' {
  interface TableMeta<TData extends unknown> {
    getRowStyles: ...
  }
}

The issue with declaring meta as show above ^ it's that every table will receive the same types. What if we want to specify meta per table? Is there a way to isolate meta types per table @phijma-leukeleu?


SASL authentication error after installing on ICP 3.1.1

Hi there,
I just installed eventstreams into a fresh install of ICP 3.1.1 on a RHEL cluster.  I logged into the eventstreams console, clicked on "Topics", and then got the following error popup:
500: An unexpected condition has occurred. org.apache.kafka.common.errors.SaslAuthenticationException: Authentication failed, invalid credentials

@robomeister I'm assuming that you're using release 2018.3.0 of IBM Event Streams?
If so, unfortunately there were some changes made to ICP in ICP 3.1.1 that breaks the auth support, and I suspect may be the cause of the errors you're seeing. We have a new version (2018.3.1) that will resolve this, which we are preparing for release. I hope this will be out very soon.
In the meantime, the current 2018.3.0 version of Event Streams will still work with ICP 3.1.0.
I'm really very sorry for the trouble this causes in the meantime!

Don't see 2018.3.0.  Here's what the helm chart says:

Here's the pod list:

And here's events:

And here's the jobs:

I'll hang in there for the update.  Any ETA on it?

@robomeister 2018.3.0 is the Event Streams product version, and the 1.0.0 is the version of the helm charts that install the 2018.3.0 version of Event Streams.
So based on this, you are hitting the auth issues as Dale mentioned earlier.
The availability date of the new version of Event Streams is the 14th December.

@robomeister 2018.3.1 of Event Streams is now available (chart version 1.1.0).
(Tim is correct that our deadline for the release was 14th December, but we've been able to release it ahead of that).
I hope that installing this version will avoid the problems that you described above.


Instrospection does not use indexes to find @unique fields

To reproduce:

prisma2 init test and choose postgresql
prisma2 dev to create the tables in the database
User has a @unique field on email
prisma2 init test2, choose postgresql and choose the created database/schema for introspection
Observe that the @unique is not present in the introspected schema

I can confirm this bug. The Rust introspection engine might fix it already.


Please include tests in sdist

Could you please include tests in sdist, so that we can use the signed artifact to both obtain sources and test them before installing? This would be really helpful for Linux distribution packaging.

Thanks for the report @mgorny -- this should be a straightforward change, and I'm looking into it now.

Thanks.


optionally parse CIDR notation included with IP argument

I think I will continue to keep the subnet optional argument separate


feat(Combinatorics/Quiver/ReflQuiver): reflexive quivers

Reflexive quivers are an intermediate structure between categories and quivers, containing only an identity element. This PR constructs ReflQuiver as a class and ReflQuiv which is the category of reflexive quivers and reflexive prefunctors.
Co-Authored-By: Emily Riehl<EMAIL_ADDRESS>and Pietro Monticone<EMAIL_ADDRESS>

Unsolved: Should we refactor Category so that Category extends ReflQuiver?
Prerequisite for #16784.

bors d+

bors r+

bors r-
Can you merge master, fix the build, and send it back to bors?
bors d+

bors r+

I don't get why this build failed @digama0 @sgouezel @kim-em. I just checked it out and it succeeds for me.

I would suggest git merge origin/master and push that.

Thanks @kim-em. The issue was actually with the new "'" linter, which I hadn't encountered before. But that's resolved now.

bors r+


doppelgreener: Blacklist onlin-photoshop.blogspot.co

doppelgreener requests the blacklist of the website onlin-photoshop.blogspot.co. See the Metasmoke search here

A recent spam post provided this with both the .co.uk and .com TLDs. I'm under the impression this pattern would cover both.


Add invite, fix typos

Add invite command to add bot to servers, or join TMC Discord for support (0ab4af1
Fix typos in Bot Info (https://github.com/TMC-Software/TheCodingBot/pull/24/commits/3802cb0cef3278cfa2c888f1792bf62a91833e47)
Possibly more, I'm not sure

Why are you doing this GitHub, Explain yourself??

Why are you doing this GitHub, Explain yourself??

yes

I'm trying to throw together a Emote add command, Hopefully I can get it done by release. Otherwise I'll make a seperate PR for a future update.

I'm just going to go ahead and mark it as ready for review, I'll do emoadd in the next release.

Uh yeah I forgot, it adds emoadd. May want to set that as hidden or remove it from the PR if it lets you do that


Make configurable to approve questions right away (any user can add, no proposals)

Add a config option to let everyone add questions. Doing /icebreaker add ... would directly add the question to the approved questions.

There is no proposal-process anymore. Therefore closing this issue.


ARROW-16382: [Python] Disable memory mapping by default in pyarrow

[Python] Disable memory mapping by default in pyarrow

@ursabot please benchmark


b-input didnt get attritbutes

Overview of the problem
Buefy version: [0.5.1]
Vuejs version: [2.2.0]
OS/Browser:
Description

Usage:
b-input(id="test", disabled="true", placeholder="test")

Result In DOM:

      <input type="text" autocomplete="on" class="input">

the parent div get all the attributes instead of the input.
Steps to reproduce

Expected behavior
solve the bug as soon as possible, thanks :)

Actual behavior

@avivsalman Are you sure about your Vue.js (last) ?

yes you right, my Vue version is 2.2.0

https://buefy.github.io/#/documentation/start

@jtommy I am confused by the resolution of this issue. I am using Vue 2.5.16 with buefy 0.7.1 and I am running into the same problem.
I need a way to add attributes to the input element, but the component only adds them to the control.

@deckar01 an example?

  <input type="text" autocomplete="on" class="input" disabled="disabled">

I ended up taking a peek at the source and finding a hack that let my CSS class to leak into the input class via the size attribute.

The field component solves a similar problem with styling the field label by providing a custom-class attribute. Would you be interested in reviewing a pull request that adds a custom-class attribute to to the input component, which is applied to the input element?


Add "Abandoned" status to queue elements

Add the possibility to mark a queue element as "Abandoned". This still needs to be done manually as part of an automation process.

I can try this one if you're taking PR's.


Improved backup commands

DTR image backup command improvements:

Local and NFS mount image backup commands were invalid (incorrectly used -C flag). Replaced them with commands that work.
The new commands automatically populate the correct replica ID and add a datestamp to the backup filename.

DTR Metadata backup command improvements:
DTR metadata backups are more difficult than they need to be and generate many support tickets. I updated the DTR command to avoid common user pitfalls:

The prior metadata backup command was subject to user error. Improved the command to automatically collect the DTR version and select a replica.
Improved security of the command by automatically collecting UCP CA certificate for verification rather than using --ucp-insecure-tls flag.
Improved the backup filename by adding the backed-up version information and date of backup. Knowledge of the version information is required for restoring a backup.
Described these improvements for the user.

Image backup commands were tested with local and NFS image storage. The metadata backup command was tested by running it directly on a DTR node and through a UCP client bundle with multiple replicas.

Proposed changes

Unreleased project version (optional)

Related issues (optional)

Deploy preview for docsdocker ready!
Built with commit 2afff5d0c8ddf62ecee8fd5e63e271a3639b9b47
https://deploy-preview-8597--docsdocker.netlify.com

Thank you so much, @omegamormegil and @caervs !


Pulse Rate

Hi,
I've some problem in configure my pulse rate that in my house (in France) meter is 1Wh/imp
which value should I use in the yalm file?
Thanks

This question has come up before in the discussions: https://github.com/klaasnicolaas/home-assistant-glow/discussions/239

This question has come up before in the discussions: #239

Thanks and sorry for didn't see it before


client protocol version does not match

Hello, I guess this is not truckersmp-cli problem, but I cannot connect to the servers, ingame chat I got message "Cannot connect to server. Your client protocol not match with the server.". I tried to redownload client  and truckersmp-cli but no luck. Any clew what to do?
I noticed when I first time started truckersmp-cli it downloaded some files, any posible way to update files?
Thank you

I cannot reproduce the problem on my side. Have you tried connecting to different servers (Europe 1, 2 or 3 for example) ?
Every time you launch truckersmp-cli, it checks for updates of the mod. You should also make sure the game itself is up to date in Steam.
If you provide all the commands you entered and the full output of the script, I might be able to get a clearer understanding of the issue.

Yes same on all servers (I was playing mp and just 2 days ago this happens), commands is WINEPREFIX=~/ets2mp ./truckersmp-cli /home/swipis/ets2mp/drive_c/Program\ Files\ \(x86\)/Steam/steamapps/common/Euro\ Truck\ Simulator\ 2/
and the output is
`--2018-02-02 19:38:40--  https://update.ets2mp.com/files.json
Resolving update.ets2mp.com... <IP_ADDRESS>, <IP_ADDRESS>, 2400:cb00:2048:1::6818:73d5, ...
Connecting to update.ets2mp.com|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/json]
Saving to: ‘STDOUT’

                  [ <=>                ]   2.34K  --.-KB/s    in 0s

2018-02-02 19:38:41 (18.1 MB/s) - written to stdout [2395]
###################################################################

Please check that steam is running or the launcher won't work

###################################################################
Press enter if you are good to go:

|__   |            | |               |  /  |  __
| | __ _   _  | | _____ _ __ | \  / | |) |
| | '| | | |/ | |/ / _ \ '/ __| |/| |  /
| | |  | || | (|   <  _/ |  _ \ |  | | |
|||   _,|_|_|__||  |/|  |||
[19:40:00]  [p3api] Game version is supported. Base address:<PHONE_NUMBER>000000 Signature: 98df145019dc
[19:40:00]  [net] [http async] Creating thread(s)[1]...
[19:40:00]  [net] [http async] Thread(s) created.
[19:40:00]  [client] Initialized successfully.
Setting breakpad minidump AppID = 227300
Steam_SetMinidumpSteamID:  Caching Steam ID:<PHONE_NUMBER>6483161 [API loaded no]
[19:40:06]  [gl] Display init.
[19:40:06]  [gl] OpenGL version: 3.3.0 NVIDIA 390.25 [3.3] Using: core
[19:40:06]  [inp] Keyboard input initialized. Input resolution = 1920x1080.
[19:40:06]  [gl] Device initialized.
[19:40:07]  [inp] Mouse input initialized.
[19:40:07]  Game started
before paHostApiInitializers[0].
after paHostApiInitializers[0].
[19:40:07]  [codec] Initialization succeed
[19:40:07]  [cb_radio] Microphone initialized! : Wine Sound Mapper - Input / MME
[19:40:07]  [cb_radio] Speaker initialized! : Wine Sound Mapper - Output
[19:40:20]  SteamID:<PHONE_NUMBER>6483161
[19:40:37]  [net] Connecting to <IP_ADDRESS>:42861.and then loads of this error, but game works fine (red color OFFLINE in the corner)[19:40:48]  [gl] glGetError returned error!`

I have honestly no idea what is causing the problem. I tried launching the game using OpenGL like your installation seems to be configured to do and everything went flawlessly. The only difference I see is that your driver is slightly newer than mine NVIDIA 390.25 vs 387.34. You could try running the game with directX : right click the game on steam and chose "Lauch with DirectX (64-bit)", then you can close it and launch the mod once again with truckersmp-cli. But I doubt it will change anything.
If you know how, you could also try to inspect the network requests and see if you don't have something blocking the requests on your  network.
Also, depending on where you live, you might be impacted by this maintenance : https://forum.truckersmp.com/index.php?/topic/59602-server-downtime/

I tried OpenGl and DirectX options but same output. What about drivers MP was working 2 days ago no problem... Ahh well... If I delete truckermp (with all dll's) folder should script download again automatically?

Yes, truckersmp-cli will update everything. Try that but keep in mind it might also be a network issue, because the mod seems to work correctly (the red messages in game are implemented by the mod).

I deleted that folder and then I getting some core dll is missing but no download.

Hmm, strange, try deleting files.json, and if it is still there, .checksums.

downlloaded just files.json and new folder is created but that about it.
unable to locate library (./truckersmp\core_ets2mp.dll).

Do you have the latest version of truckersmp-cli ? There was a problem a few weeks ago with the download servers which has since been fixed.

yes downloaded twice yesterday

Can I have the logs you get when you try to download a new version ? BTW, next time to keep a backup, just rename the truckersmp folder to something like truckersmp.bak.

where can I find these logs?

I mean the output in the console, same thing you posted before.

client_02_02_2018.log

I'm more interested by the part at the beginning where truckersmp-cli tries to update the files. Can you get the output from the moment you run the command ?

thats all output what I getting:
WINEPREFIX=~/ets2mp ./truckersmp-cli /home/swipis/ets2mp/drive_c/Program\ Files\ \(x86\)/Steam/steamapps/common/Euro\ Truck\ Simulator\ 2/
--2018-02-02 21:33:00--  https://update.ets2mp.com/files.json
Resolving update.ets2mp.com... <IP_ADDRESS>, <IP_ADDRESS>, 2400:cb00:2048:1::6818:73d5, ...
Connecting to update.ets2mp.com|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/json]
Saving to: ‘STDOUT’

-                                [ <=>                                        ]   2.37K  --.-KB/s    in 0s

2018-02-02 21:33:00 (22.6 MB/s) - written to stdout [2427]

#################################################################                                                      #
#  Please check that steam is running or the launcher won't work  #
#                                                                 #
#################################################################

Could you share the files.json you have, and also try to open https://update.ets2mp.com/files.json in your web browser ?

files.json (sorry can't drop this file here)
files.zip

It's strange, it seems you received the json in compressed form. What does it look like when you access the URL in your browser ?

no I compressed because I cant drop in here this file.json file. and in browser it looks like:
Files |
-- | --
0 |
FilePath | "/licenses/bullet_LICENSE.txt"
Md5 | "919d53b5b1fc164511ceb288135a680e"
Type | "system"

Also can you copy the result of the following command here:
wget --version

I understand you compressed it inside a zip archive, but the files.json itself is compressed. When you open it in a text editor, does it look like text or just a binary mess ?

mess

Do you have a ~/.wgetrc in your home with something like header = Accept-Encoding: gzip,deflate inside ?
Could you try manually downloading files.json using the following command
wget --header 'Accept-encoding: identity' -O - "https://update.ets2mp.com/files.json" > files-test.json
and check if the response is still binary ?

no I dont have this folder

This should solve solve your problem, now the launcher will update your files correctly.