OOTB crosshair does not show tooltips in all linked charts

(related to #88)
The javascript one shows tooltips in all linked charts

But the OOTB one (created following the guide)only shows the tooltip in the chart under the mouse.

This is the code for creating the OOTB one (it is an empty GWT 2.11 project using charba-gwt 6.5)
public void onModuleLoad() {
	RootPanel.get().add(createLineChartWidget());
	RootPanel.get().add(createLineChartWidget());
}

private LineChartWidget createLineChartWidget() {
	LineChartWidget chart = new LineChartWidget();
	chart.getData().setLabels("1","2","3");
	LineDataset set1 = chart.newDataset();
	set1.setData(1.1,1.2,2.1);
	chart.getData().setDatasets(set1);
	chart.setHeight("200px");
	chart.getPlugins().add(Crosshair.get());
	CrosshairOptions options = chart.getOptions().getPlugins().getOptions(Crosshair.ID, Crosshair.FACTORY);
	options.setGroup("LinkedGroup");
	options.store();
	Tooltips tooltips = chart.getOptions().getTooltips();
	tooltips.setIntersect(false);
	tooltips.setMode(DefaultInteractionMode.X);
	return chart;
}

@divq thank you very much for feedback. The current implementation was the desired one. I think this could be an enhancement for next releases.

@divq I'm still thinking about this ehnancement. As you had seen in #88 issue, you can group different chart. As workaround you could use the "activate" elements to show the tooltip: https://pepstock-org.github.io/Charba-Wiki/docs/charts/Api#active-elements
If you need to customize better the "interaction" with tooltip, you could use interaction package to create your own interaction: the https://github.com/pepstock-org/Charba/tree/master/src/org/pepstock/charba/client/interaction

@divq I'm still thinking about this ehnancement. As you had seen in #88 issue, you can group different chart. As workaround you could use the "activate" elements to show the tooltip: https://pepstock-org.github.io/Charba-Wiki/docs/charts/Api#active-elements
If you need to customize better the "interaction" with tooltip, you could use interaction package to create your own interaction: the https://github.com/pepstock-org/Charba/tree/master/src/org/pepstock/charba/client/interaction

My understanding of your suggestion is that I should register an event handler that listens to one chart's tooltip popping up and accordingly activate other charts' tooltips.
Let's say there is chart A and B. They are in a List<Chart> chartList
If I register a ExternalCallback by chart.getTooltips().setExternalCallback for each chart, and that callback is:
List<ActiveDatasetElement> activeElements =  chart.getActiveElements();
for(ch in chartList)
{
   if(ch==chart) continue;
   ch.setTooltipActiveElements(activeElements);
}

The problem is that this would lead to an infinite recurrence problem, because when the tooltip wants to pop up on B, it triggers B's ExternalCallback, which sets A's active elements, which again triggers B's ExternalCallback event.
And since this is in front end (compiled into JS code), I don't think there is a proper synchronization mechanism to solve this.

@divq that's not exactly what I meant but really thank you for your experiments. Let me take time to implement it in a use case of the showcase and I'll come back to you with code (if what I think is possible... otherwise I'll try to enhance the plugin in a next version).


nixos/jellyseerr: init

Description of changes
Adds a NixOS module to configure and run the jellyseerr service. This depends on https://github.com/NixOS/nixpkgs/pull/216037.

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/1823

@pennae It's my bad, I edited the first message so you could not see.

@pennae It is my bad, I should not have edited my first message because then you didn't see it!


0.2.3 backward compatibulity issue.

Installed parmiko 2.1.1 using pip which downloaded pyasn1 version 0.2.3. Caused issues for pysnmp-4.3.2
pysnmp-4.3.2-py2.7/pysnmp/proto/api/v1.py", line 58, in setDefaults
1, self._errorStatus, verifyConstraints=False
File "/usr/lib/python2.6/site-packages/pyasn1/type/univ.py", line 2123, in setComponentByPosition
raise error.PyAsn1Error('Component value is tag-incompatible: %r vs %r' % (value, componentType))
PyAsn1Error: Component value is tag-incompatible: Integer('noError', NamedValues(('noError', 0), ('tooBig', 1), ('noSuchName', 2), ('badValue', 3), ('readOnly', 4), ('genErr', 5), ('noAccess', 6), ('wrongType', 7), ('wrongLength', 8), ('wrongEncoding', 9), ('wrongValue', 10), ('noCreation', 11), ('inconsistentValue', 12), ('resourceUnavailable', 13), ('commitFailed', 14), ('undoFailed', 15), ('authorizationError', 16), ('notWritable', 17), ('inconsistentName', 18))) vs Integer(subtypeSpec=ConstraintsIntersection(ConstraintsIntersection(), ValueRangeConstraint(0, Integer(2147483647))))
Reverted pyasn1 to version 0.1.9 and the code works.

Thank you for using pyasn1!
This issue can be solved by upgrading to the latest pysnmp 4.3.5.
Can you upgrade? Why not if so?

We will eventually upgrade to pysnmp 4.3.5. But currently we are in system testing for the module that uses pysnmp. So it will be a while before we can test with 4.3.5. For now, I will downgrade to pyasn1 version 0.1.9. So does it mean that 0.2.X versions are not backward compatible with 0.1.X versions?

Hmm, could you provide a minimal pysnmp reproducer?
There was a whirlpool of changes to pyasn1 since 0.1.9 (mostly performance and usability related), though I can't immediately recognize the problem you are facing as being caused by a regression in pyasn1...

With pyasn1 0.3.1 is out, this issue seems to become irrelevant. Please reopen if you think otherwise!


2.12 error

Installing goes just fine the problem is when i try to boot it and select any of the ntr cfw the app will crash forcing a reboot.

Works for me, did you try a second time? Also n3ds or o3ds?

I'm using an O3DS XL as well, and it also crashes for me upon selecting version 3.6. I'm using the release Luma 9.1, and I'm on 11.8.
An exception occurred.
Processor: ARM11 (core 0)
Exception Type: prefetch abort
Fault status: Translation - Section
Current Process: Boot NTR<PHONE_NUMBER>EB0000)
I have included the full crash dump below.
Also, I am not loading an external firm for what it's worth.
crash_dump_00000026.zip

I knew it~! it working on N3ds not on O3ds is working fine in my friends N3ds but not on my O3ds.

I found the issue, I will try to patch it.

Thats Awesome, thank you.


vue knobs addon range component re-mounts the vue instance

Given this component:
<template>

 ComponentA

</template>

and a story:
 .addDecorator(withKnobs)
  .add('one', () =>{

     const val = number('val', 50, {
        range: true,
        min  : -50,
        max  : 50,
        step : 1,
     })

    return {
      template: `<component-a :val="${val}"></component-a>`
    }

The vue instance re-mounts (logs 'mounted') when this knob slider is moved.
Is it expected that moving the number() slider should re-mount the component?
I would have thought that just the property value should change??

Hi I can confirm same thing happens when using button.
// "@storybook/addon-knobs": "^4.0.0-alpha.18",
import { button } from '@storybook/addon-knobs'
export default {
  template: '

',
  mounted () {
    console.log('mounted')
    button('click, this.click)
  },
  methods: {
    click () {
      console.log('clicked')
    }
  }
}

Each click re-mount and re-rendered the component. Any way to prevent re-mounting?

Hi, any updates on this?

There were a few similar issues regarding this. You can take a look on an attempt to solve this in #4516


Performance metric definitions do not match those of the QoD API

Problem description
The performance metric definitions for this API do not match those of the QoD API. Unless there is a very good reason for this, definitions should be harmonised. Remaining harmonised with the definitions used in the 5GFF flavour of this API is not a good reason.
Expected behaviour
The performance metric definitions adopted by the QoD API can be found here. The Connectivity Insights API should adopt the same definitions for metrics which are common. Currently, these are:

Connectivity Insights
QoD

maxLatencyMs
packetDelayBudget

minDownlinkthroughputKbits
targetMinDownstreamRate

minUplinkthroughputKbits
targetMinUpstreamRate

maxPacketlossPercent
packetErrorLossRate

maxJitterMs
jitter

Note that the associated QoD schema definitions are complex objects, defining both quantity and units.
Alternative solution
None
Additional context
N/A

Thanks @eric-murray
Agree we need to be consistent  - although I do like the Connectivity Insights approach of appending the metric for clarity. Was that discussed in QoD at all?
Also I see QoD has packetDelay instead of latency (which is fine), but why jitter instead of packetDelayVariation?

The problem with fixing KPI units now is that it does not easily allow application of the API to alternative or future networks. Throughputs of over 1 Petabits/ second have already been demonstrated over fibre optic cables, and that would be a large number if expressed in kbits / second. And jitter for fixed networks can be measured in μs or less, which would be a very small number when expressed in ms.
Allowing the unit prefix to be separately specified is useful for the same reasons that SI defined prefixes in the first place. It also allows for the value itself to be an integer, which simplifies error checking.
packetDelayVariation was proposed for QoD, but jitter was agreed as most application developers have some idea what it means, even if they don't understand it is an ambiguous term with several alternative definitions.

Thanks @eric-murray , I agree we should adopt the QoD schema for these performance metrics.
@maheshc01 any thoughts?

Fixed in #15


Project Operations customizability - Web resources

Adding a page for customizations under Developer Notes.
Adding a page for web resources customizations.

@microsoft-github-policy-service agree company="Microsoft"

Closing as this needs to be created in the private repo.


files not executables

Hello,
I have problem witht the C kernel on linux.
Some files ".out" created are not executables, so I have this error on execution :
PermissionError: [Errno 13] Permission denied: '/tmp/tmp3ox946jx.out'
While making ls-la on temp I have this answer :
-rw-------  1 dpolizzi   dpolizzi       0 nov.  15 09:27 tmp3ox946jx.out
-r-rwx--x--x  1 dpolizzi   dpolizzi    8112 nov.  15 09:26 tmptv7rato1.out
w-------  1 dpolizzi   dpolizzi      62 nov.  15 09:29 tmps_o257he.c
-rwx--x--x  1 dpolizzi   dpolizzi    8112 nov.  15 09:29 tmpucnrmkhi.out
-rw-------  1 dpolizzi   dpolizzi      62 nov.  15 09:26 tmpuhbujbdq.c
Have you a solution ?

i forget this
at first gcc give me this error
cc: error: /home/dpolizzi/.pyenv/versions/3.6.3/lib/python3.6/site-packages/jupyter_c_kernel/../resources/master.c
and effectively this file doesn't exist
I have to say that python 3.6 is installed on my computer in user space

I got this error too, how can I fix it ?

I worked around it by downgrading to 1.0.0.
Though this looks like a duplicate of #35 and #36. The issue should be resolved properly by #40, which will hopefully be merged soon, as the kernel is currently unusable for me.

I checked the error log of Jupyter, My error is the missing  of file master.c , however if i got the wrong master.c , It also returns "Permission denied".


WIP identity: factor kvstore-related code out into sub-package

This allows for consumers of identities to not import pkg/kvstore, as not all
consumers of identities allocate them.
Signed-off by: Ian Vernon<EMAIL_ADDRESS>

This change is

Coverage decreased (-0.03%) to 42.789% when pulling c27445fa2c1d7e9e73d15f4ff295b92cbce75ba8 on pr/ianvernon/identity-cache-refactor into 0df76e81bd9c52f3d2c25be4df7235b8d34065cd on master.

test-me-please


VSCode freezes up on Linux LXDE

I seem to have a constant issue w/ Code since I updated to 0.10.6.
What happens that the Code suddenly stops responding and the window never comes back to "maximised" state.
I run in it on Linux LXDE , all I noticed that if Code is started in the background it exists back to the shell w/o any idication why.
Where can I get it to tell me more what the issue is ?
tx,
Gabor

@faludigabor can you run code from the command line with "--verbose" and see if any output is printed and attach it here?

Continuing discussion in #1940


fieldArray resetModel() only works one time

I'm submitting a ...  (check one with "x")
[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request

Current behavior
When dealing with with fieldArray / Repeating Section, the options.resetModel() only works the first time it is invoked.
Expected behavior
Each time options.resetModel() is invoked, I expect the form to reset to its initial state/values (or to the state/values set with options.updateInitialValue())
Minimal reproduction of the problem with instructions
Added a reset button on a fork of the Repeating Section stackblitz:
https://stackblitz.com/edit/angular-4revlr

Enter text in Name of Investment
Click Reset => The form/model resets. ✔
Enter text in Name of Investment
Click Reset => Nothing happens ❌

Formly version:
"@ngx-formly/core": "^5.5.1"
"@ngx-formly/material": "^5.5.1"

v5.5.2 is released which includes a fix for this issue.


[Feature Request] Change Response Model

Currently, the bouncer rejects clients with 403 Forbidden if they are on the decision list. While this is an optimal solution by itself, it takes away some flexibility on how to handle denials.
We currently have the nginx/access.lua script modified to redirect to another page instead of showing a forbidden error.
My suggestion is to add a new config option "ACTION", which can be "STATUS_CODE" or "REDIRECT" or something else, depending on what someone want's to do. And a variable "REDIRECT_PATH" where the REDIRECT Action would redirect on deny.
All names are obviously just ideas, they could be named however.
If interested I can contribute this feature.

This has been added in https://github.com/crowdsecurity/lua-cs-bouncer/pull/23
It will be available in the next release of nginx and openresty bouncers.


attempted to us vcpkg to install tiff

Attempting to use vcpkg to install tiff yields the following output:
PS C:\Users\mtrachtenberg\vcpkg> .\vcpkg.exe remove tiff
The following packages are not installed, so not removed:
tiff:x86-windows
Package tiff:x86-windows is not installed
Purging package tiff:x86-windows...
Purging package tiff:x86-windows... done
PS C:\Users\mtrachtenberg\vcpkg> .\vcpkg.exe install tiff
The following packages will be built and installed:
tiff[core]:x86-windows
Starting package 1/1: tiff:x86-windows
Building package tiff[core]:x86-windows...
-- Using cached C:/Users/mtrachtenberg/vcpkg/downloads/tiff-4.0.9.tar.gz
-- Applying patch C:/Users/mtrachtenberg/vcpkg/ports/tiff/add-component-options.patch
-- Applying patch failed. This is expected if this patch was previously applied.
-- Applying patch C:/Users/mtrachtenberg/vcpkg/ports/tiff/fix-cxx-shared-libs.patch
-- Applying patch failed. This is expected if this patch was previously applied.
-- Applying patch C:/Users/mtrachtenberg/vcpkg/ports/tiff/crt-secure-no-deprecate.patch
-- Applying patch failed. This is expected if this patch was previously applied.
-- Configuring x86-windows
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:56 (message):
Command failed: ninja;-v
Working Directory: C:/Users/mtrachtenberg/vcpkg/buildtrees/tiff/x86-windows-rel/vcpkg-parallel-configure
See logs for more information:
C:\Users\mtrachtenberg\vcpkg\buildtrees\tiff\config-x86-windows-out.log
Call Stack (most recent call first):
scripts/cmake/vcpkg_configure_cmake.cmake:240 (vcpkg_execute_required_process)
ports/tiff/portfile.cmake:25 (vcpkg_configure_cmake)
scripts/ports.cmake:71 (include)
Error: Building package tiff:x86-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with .\vcpkg update, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: tiff:x86-windows
Vcpkg version: 0.0.113-nohash
Additionally, attach any relevant sections from the log files above.

See logs for more information:
C:\Users\mtrachtenberg\vcpkg\buildtrees\tiff\config-x86-windows-out.log

Thanks for posting this issue. Please open a new issue if this is still a problem for you.


Is there any change to release a caffe library with CUDA 9.0?

We want to use apollo in a new graph card device,Old Cuda8.0 and GTX1080 could not satisfy our demand, I would be great to release the internal caffe code. Otherwise if can release a caffe with CUDA9.0,It would be great help

All the new GPUs are capable of running previous CUDA versions. There is no need to have a caffe with CUDA 9.0. Just install the compatible driver, exactly the same as in your host machine, inside the docker. It will work!


Pause Metric should distinguish between Pausing and Paused

Summary
The metric we have for "Pipeline paused" includes the entire interval between when the Pipeline started pausing and when it finished being Paused.
We should have a way to distinguish Pipelines which stayed in "Pausing" for a really long time from Pipelines which were in "Paused" for a very long time.

Message from the maintainers:
If you wish to see this enhancement implemented please add a 👍 reaction to this issue! We often sort issues this way to know what to prioritize.

@afugazzotto have you started working on this yet? If not, do you mind if we reassign to @dpadhiar ?

Okay, sorry to go back and forth on things, but here is what I think we should do:
Have one metric for pipeline_pausing. Have one metric for pipeline_paused.
Let's forget about keeping track of cases of the user wanting to pause and only keep track of cases of the system pausing. We can name the metrics to reflect "system" in the name.
Each metric can just have attributes "name" and "namespace". We always set the "pausing" metric and we always set the "paused" metric.
Setting the "Pausing" metric:

If the pipeline is not currently phase=Pausing, then the value is 0
If the pipeline is currently phase=Pausing but user request is to pause, then the value is 0

Setting the "Paused" metric:

If the pipeline is not currently phase=Paused, then the value is 0
If the pipeline is currently phase=Paused but user request is to pause, then the value is 0

Future work
We may want to reflect the Pausing which occurs when we're draining and deleting the Progressive Pipeline. Currently, we are not because we are not even capturing the Pausing Condition in that case. There is a bigger change here that extends beyond just these metrics, which is that we only have a single set of Conditions representing our child, when in fact we have multiple children.


[ANDROID] generating apk stuck

Hi ,
This is the command i used to generate the apk :
cd android && ./gradlew assembleRelease
It seems to run but it gets stuck on :app:bundleReleaseJsAndAssets.
Any ideas ?
Thanks.

This is the error i'm getting .

Issue resolved after upgrading to 0.17

I'm getting this issue on 0.17

I'm getting this issue on 0.17

Same issue!


Routing

Could we add something like the following to the Basic Routing section on the quick start page?

Keep in mind, once you start assigning specific URL routes such as "/hello", you will need to make sure you are referencing that particular route when running the code.

For example, when clicking the host link http://localhost:5000, you will be met with a "No Webpage Found" if nothing is assigned to the homepage. In order to reference the hello page, you will need to update the link to http://localhost:5000/hello.

Also in subsections 'Route Variables' and 'Constraints', am I supposed to know how to assign variables at that point in the doc?
For example,

app.MapGet("/hello/{name}", (string name) => $"Hello {name}");

Am I supposed to know how to add or change the name value. Like how can I change the name value to David?

We should have an example URL, agree (e.g http://localhost:5000/hello/David)

I ran 'dotnet --list-sdks' in my terminal and it returned the following


help ? blows up on osx

cistern 0.2.0dev0-4-g926841b-darwin-amd64

man: invalid option -- l
man, version 1.6c

usage: man [-adfhktwW] [section] [-M path] [-P pager] [-S list]
        [-m system] [-p string] name ...

Thanks for reporting this. It should be fixed by https://github.com/nbedos/cistern/commit/52ca5f9a56d6d5cf90cab43d0edb3da9d97d20db.


windows::Win32::System::Memory::GlobalUnlock returns Err on success

Summary
This function is tricky. According to the doc, whether it is successful depends on the last error, not only on the boolean value returned.
Crate manifest
No response
Crate code
No response

The version of this function provided by the windows crate will capture the error code from GetLastError and store it in the Error value held by the Err variant. You can then inspect this value and decide what to do.

That isn't semantically correct. An API should not return an error and let the user figure out whether it failed or not.
I understand "windows-rs" wants to remain clean, with a simple mapping of BOOL=>Ok/Err, Err => GetLastError. And Windows API won't admit it has a bad API design. But I don't think it should always be the user who do the dirty work.

If you think this function would be better served without the error transformation, it would need to be attributed with something like CanReturnMultipleSuccessValues.
You can certainly suggest that over at the Win32 metadata repo. https://github.com/microsoft/win32metadata

@wuweiran Are you using an API that requires you to call GlobalUnlock? Just curious.

@riverar I'm playing around with some personal stuffs where I want to call SetClipboardData. I read from some other project's code that I should GlobalAlloc a memory to set the clipboard data.

If you think this function would be better served without the error transformation, it would need to be attributed with something like CanReturnMultipleSuccessValues.
You can certainly suggest that over at the Win32 metadata repo. https://github.com/microsoft/win32metadata

I just wanted to clarify, because I ran into the same problem as OP. Would this be a suggestion to change the Windows API as a whole? Or is this just how you deal with the API tools for each different language package?
I am just curious, because I was wondering why not make a change to the Rust crate that won't interfere with the Windows API, but makes sense for Rust? Is it not possible to change the return type from Result<()> to Result<LockStatus>  with the LockStatus type looking like
pub enum LockStatus {
        Unlocked,
        Locked,
}

I don't know what the best way to transform the error from BOOL::ok(), but, it would be nice if the function returned an Err(E) only if there is actually an error. This would still communicate the status of the lock to the user, and they can use or ignore this value, as they are currently.
Maybe this isn't the greatest suggestion, which is why I am putting it second, but, maybe this can be worked with
    #[inline]
    pub fn ok(self) -> windows_core::Result<()> {
        if self.as_bool() {
            Ok(())
        } else {
            Err(windows_core::Error::from_win32())
        }
    }

To become this
    #[inline]
    pub fn ok(self) -> windows_core::Result<bool> {
        if self.as_bool() {
            Ok(true)
        } else {
            windows_core::Error::from_win32()
        }
    }

where windows_core::Error::from_win32() can return Ok(false) if it's NO_ERROR. or maybe there is a good way to return that enum from here and make it generic enough that it can be used in all placed you need to use windows_core::Error::from_win32(). Or maybe a specific method. IDK. I just ran into the same issue when helping a friend get Rust working for a new project, and, it is kind of confusing when an API function is succeeding, but still causing the program to die. Err(NO_ERROR) 🤔

https://kennykerr.ca/rust-getting-started/how-are-crates-built.html


fix(v1): Fix page title render issue when referred by search result

When Algolia DocSearch query finds a match for a page's title, it attempts to generate
a permalink. Because the page title element (h1) does not have an id, Algolia
generates uses the id from closes parent element. Because of this, the page title
scrolls to a position that is slightly overlayed by the fixed top navigation bar.
This fix sets an id for the page title so that the search result is able to generate
a more accurate permalink.

Motivation
This is a wide-spread bug that is affecting everyone and the required change is relatively small.
Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan
The original issue is caused by algolia attempting to auto generate a permalink for the page title that does not actually have a specific id. That's why it's not possible to test this change locally and verify the fix. But, based on discussions in #1828, it's recommended by algolia docsearch to have an id for the page title so that algolia can produce the best redirect/link for the search result.
@endiliey - As per your comment in the above mentioned issue, I didn't make changes in V2 code, but I still see the same issue in V2 doc site used for Docusaurus documentation. I'm not fully clear on why we don't want this fix in V2 code. Please feel free to let me know if you'd like me to make any changes.
Related PRs
(If this PR adds or changes functionality, please take some time to update the docs at https://github.com/facebook/docusaurus, and link to your PR here.)

After re-looking at it again, i think adding id wont fix the issue. Its still the css problem due to fixed header

You're right. I think some adjustments in the css is needed similar to the anchored headers. Let me look into it. I'll push another update as soon as I'm able to look into it.

I can't seem to find a proper css fix. But I noticed that adjusting the code to this actually fixes the scrolling issue (no need for css code change):

              {this.props.title}

Only problem is that I get linter errors about the empty html  element. I personally don't like the empty element either but looks like that's how we have all the other header elements being set.
Any suggestions? Do you have any css tricks for this :)

Its because “anchor” css has relative position and top edge. Check the main.css and you’ll be able to see the css for it

Oh I know :). I've seen the css in main.css file that is applied to anchors but just that by itself doesn't fix the post title. I'll take a look a bit more in case I missed something.

I think I've found the CSS fix that was needed for this PR. Hopefully everything looks good to be merged 🤞 😄
Found the following article quite helpful. Especially I like that this fix does not require using unnecessary html elements. The html structure is remains cleaner. Perhaps this can be adopted for the V2 site when generating the table of contents.
https://css-tricks.com/hash-tag-links-padding/#article-header-id-1

@yangshun, @lex111, @endiliey - Would you be able to review this please? Not sure if there are still outstanding concerns.

@parvezakkas Sorry for the delay in review. I'm not seeing the fix in the Netlify preview though. Going to https://deploy-preview-1869--docusaurus-preview.netlify.com/docs/en/navigation#docsNav still makes the h1 slightly obscured.

@yangshun I think you need to wait for the reindexing of Algolia (after merge this PR), because in current PR own id is added to h1. https://github.com/facebook/docusaurus/pull/1869/files#diff-e025b6c2db1283b854d503afb8d88f57R241
Therefore, you need to look at https://deploy-preview-1869--docusaurus-preview.netlify.com/docs/en/site-preparation#__docusaurus instead of #docsNav

Thanks @yangshun for reviewing this. You'll need to check the link that @lex111 shared (ending with #__docusaurus instead of #docsNav) because the preview site is not indexed by Algolia.


Update the authors, email and homepage to VP

@lucywyman I think this was forgotten in the transfer.


"the magnitude of the FID score"

Thanks for your great work!
And I have a question now. You said ''Note that this changes the magnitude of the FID score '',and what exactly does this mean?
Waiting for your reply~

This just means that the numbers computed for the different feature maps can be in different ranges (i.e. for one dimensionality, the FID scores might be 10x smaller than for another). So you should not compare FID scores computed on different feature maps with each other.


Docker-Compose for Private-internet-access needs modification

URL to the Wiki page
https://github.com/qdm12/gluetun-wiki/blob/main/setup/providers/private-internet-access.md
What's incorrect?
Docker-Compose section of the providers page for Private-internet-access does not work as is and should be modified.
volumes:
- gluetun:/gluetun
Appears to be incorrect syntax for docker-compose does not work as is... suggest adding " ./ " by changing to:
volumes:
- ./gluetun:/gluetun

You can actually do it with gluetun:/gluetun
You just have to declare the volume in the volumes section of the compose file

Fair...and correct....
You can declare a glutun volume
I am more concerned with your documentation for people who don't know how to make this docker compse file work.  If none of your other provider documents declare volumes...I wouldn't expect people to think they need to declare one for PIA. Questions can come up of whether or not you need a volume for this particular provider...which in some cases that is true.  So does PIA, it doesn't seem so, no certs file needed.   This just looks like a typo from that perspective.  So if the intent is to have fully functional copyable documentation... Then I suggest changing your documentation.  Either add a declared volume or just make the change suggested...or just remove...
I am more concerned with people thinking your documentation is complete.  Please, if that is your intention update your documentation.  I would hate to have people get frustrated and not use your container if they can't debug on their own or start questioning their sanity against your intent through your documentation.
Thanks for the quick response last night.

Absolutely no offense taken don't sweat it too much.
I think the good point about making the wiki as a separate repo is for easy management. You fork the repo, do the modification in the doc, commit it, and then do a PR explaining what you changed and what.
Should be quite easily done :) Good luck !

Hi @overlordian you are totally correct and thank you for reporting this! I even saw this a few minutes ago (I'm currently going through all wiki issues) and was wondering what the hell that bind mount declaration was 😄 And also thanks @Wobak for your input, it's always appreciated to have people commenting around on issues not of their own. Not all heroes wear capes 🦸 !
This is obviously fixed in afbb9dc4580544f0c7e18d811f79181ec38571fa


Add simplified key hasher

Codecov Report

Merging #3 (a86487b) into main (7604483) will increase coverage by 2.57%.
The diff coverage is 88.88%.

@@            Coverage Diff             @@
##             main       #3      +/-   ##
==========================================
+ Coverage   47.42%   50.00%   +2.57%
==========================================
  Files           3        3
  Lines          97      104       +7
  Branches       16       19       +3
==========================================
+ Hits           46       52       +6
  Misses         42       42
- Partials        9       10       +1

Impacted Files
Coverage Δ

src/torch_max_mem/version.py
0.00% <ø> (ø)

src/torch_max_mem/api.py
56.32% <88.88%> (+2.57%)
:arrow_up:

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 7604483...a86487b. Read the comment docs.


Creation of circles around a point?

I would like to create some concentric circles outward around a point (a selection), designating distances from the center visually.
Since I wasn't able to find anything specific for doing this, I created some Postgres PostGIS that calculates using:
ST_AsGeoJSON(ST_Buffer(ST_SetSRID(ST_MakePoint(${station.longitude}, ${station.latitude}), 4326), 0.5, 'quad_segs=16'))

However this draws an oval on the globe.
I'm wondering if there's a better way to handle this?

Hi Kevin,
I think if you create a circle polygon in GeoJSON you will always have problems with projection distortion.
Another option is to just use the point geometry and render a circle layer on the client side, like:
<Layer
  style={{
    type: 'circle',
    paint: {
      'circle-radius': 50,
      'circle-color': 'red',
      'circle-opacity': 0.5,
      'circle-pitch-alignment': 'map',
    },
  }}></Layer>

The circle-pitch-alignment lays the circle flat on the map. See Style Docs


Juicefs/fix secret key

Ⅰ. Describe what this PR does
fix https://github.com/fluid-cloudnative/fluid/issues/2508
Ⅱ. Does this pull request fix one issue?

fixes #XXXX
Ⅲ. List the added test cases (unit test/integration test) if any, please explain if no tests are needed.
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

/test fluid-e2e

/test fluid-e2e

/lgtm
/approve


Touch not working

Tried on an iPad air 2 running Safari, iOs 10.2.1

Should be fixed now in 0.5.7, thanks for reporting!

Thanks!


Registering the app and adding to the space

Hi Christian, what did you do to register your app in the appropriate space? I always get a 403 forbidden when I follow your advice using Postman.

Since IBM has made that available in the current UI, the issue is solved.


Stop printing message when doing a context shutdown

Uses the configured logger instead.

Good catch, thanks!

I honestly have no idea why it would cause that.

AFAIR it's because during a test run os.Stdout is replaced with a test-specific writer to catch the full output. And because this we're logging in a goroutine we can log after a test end, which results in a panic due to Go test cleanup.
If you're curious to fix it than try to replace this context with context.WithCancel(...) https://github.com/allegro/bigcache/blob/157556c5afaeebd739cdbff4755e65f88a5d95af/examples_test.go#L63
And if you're not curious (which is fine too) I will take a look later today (leaving PR open for some time).
Thanks.


Consider making push an optional plugin

Problem
We are facing with some functional issues which are related to our push notification implementation. We are also facing compatibility issues when another library is used alongside with ours. See https://github.com/ably/ably-flutter/issues/226
We have two main issues

We install our custom implementations to apps which uses our library. For example we declare services, broadcast receivers to Android apps and users  unless they opt out in their manifest files. This situation creates a conflict described https://github.com/ably/ably-flutter/issues/226 and presents some inflexibility to users' side.
We are not using (or unable to use) popular library to lessen our burden dealing with internals of push notifications. This path was followed as this library would also expose iOS plugin too, but we do not want to support Firebase's iOS plugin.

Some thoughts on how we can address these problems

We can create a separate plugin (such as ably-push) that will expose a common interface for users to interact with. Then we can provide our default implementations.  Firebase messaging seems to have adopted a similar pattern . This looks like a federated Plugin, but they seem to have implemented only their web plugin based on this interface. iOS and Android plugins are still in the same package.

I was trying to find a way to use official Firebase library and how Firebase library is designed make things a bit harder. "Create your own implementation of Firebase" seems to be their motto, which means that we conform their interface and provide our own implementation. iOS and Android implementation is part of the app facing library and it's difficult to design something based on only a single platform. "Create an implementation of ably push (eg. Firebase" was my thinking and we can let user opt in for our Firebase implementation if they want to use Ably capabilities in push code

To be discussed...

I have a theoretical idea on how we can solve this issue.
Considering we are the broker between Firebase and Ably we want to implement a generic interface as a separate package that will act as AblyPushReceiver so that we can implement custom receivers for later. Custom receivers themselves will reside into a separate package but will be using the common package as dependency to access AblyPushReceiver interface. On the ably side we can also import that common package and interact with Ably system through that (eg. push activation, deactivation, message receive etc). We can write our default receiver and provide it as an optional package.  The aim is to give the customers the ability to choose receiver of their liking. However in cases where users not choosing a default receiver, we cannot process messages through our own receiver. In such cases we could inform users that our message brokership is not active anymore. But we can recommend them to delegate their messages through our common interface if they want Ably capabilities with push system.
If we go with common receiver / custom receivers route, we make our system a bit more flexible, providing an interface for any number of custom receivers. We should definitely publish a default Ably receiver in such a setting.
Some notes worth to take in such case,

Make a contract update between Ably and the customer (that's to explicitly provide information about how Ably deals with push notifications) and what they need to do if they want to operate their push messages through Ably. (Eg. update readme the need to add a push system if they want push functionality)
If users wants to use Firebase or a different library out of Ably platform, we shouldn't be intercepting. The user can delegate the message to our platform if they like. There might be cases where users use push notifications for different purposes and outside of Ably ecosystem. This is a flexibility for developers.
In cases where users use both an Ably receiver or a custom one, we should be doing what we need to do only when provided Ably receiver is invoked. In case of Firebase messaging there is no need to clash with Firebase. We would only process messages if a receiver is provided by client.
We would create a common package  and make our system depend on it. That package would act as an interface for Ably receiver (or maybe Push adapter...) This would be the interface package between our system and other custom receivers. Might be worth to check whether a package could be created only with interfaces.
I am not sure how other plugins do, but it could be a good idea to put a warning (to IDE for example) for users if they have  not provided a receiver. I know linters do it, but not sure if we can provide a custom linter on our package. Something like "you haven't added any receiver, your Ably push messages won't be received"
We should make sure that our receiver only receives messages through Ably platform.

It maybe worth to experiment with the idea in a small project to verify / explore technical capabilities.

Create a simple Plugin project (to represent a library like ably-flutter) that should have a push interface. Can be something like AblyPush intention being to deliver messages from push providers to Ably ecosystem communicating with native plugins .
Create a pure Dart package that has interface (abstract class in Dart) definition of of push system(abstract class in Dart) . We can call it PushProvider. Also create a method so that we are able to register actions (or hooks). something like registerForMessage(some lambda function or interface....). Do something that Dart language provides.
Make the simple plugin depend on the pure Dart plugin
Create another Plugin that also depends on the pure Dart plugin. Create a simple implementation of PushProvider (eg. DefaultPushProvider). Make that plugin to support only Android
Create a dart application that uses the simple plugin and  default provider plugin
Discover ways to how to properly add a provider to the plugin (eg. as a configuration property).
In simple plugin project, create logic to wire the interfacing between push provider and AblyPush

I attempted to create a simple dependency diagram
https://miro.com/app/board/uXjVOWJYjOM=/?invite_link_id=192484904925

@ikbalkaya, @KacperKluka, @AndyNicks and myself had a call this morning around this issue.
In terms of the current interfaces between the application developer's code and our current plugin API, it sounds like the approach diagramed above will not change that (i.e. it will not remove or mutate existing ably-flutter APIs designed to be used by the app).
My only concern is that we need to be careful about the developer experience with any change we make to adopt this new design. Even asking the app developer to add something to their code to explicitly specify our default-yet-optional push provider means that they will have two touch points to make it work: (1) Add dependency; (2) Instantiate in code and provide to core Ably implementation via a method call or property set. -- Can we avoid that? Could we follow an approach similar to SLF4J, perhaps, where the default is 'no-operation' unless a compatible plugin is added to the project, in which case that plugin (the 'Default Push Provider') kicks into action?
Relates to #118.

I think we can minimise work done from developers' side provided we are clear on developer documentation. However I don't think we can (or we should) include default or non-default push providers without user including in their dependencies and declare the intention to use it. That shouldn't cause so much trouble as we will ask them to explicitly add a compatible plugin to their project and declare their intention to use it. In fact I think this will make the contract between us and customers clear and prevent potential confusion caused from Ably working with push notifications..

I will try to create a simple PoC to see whether we can proceed with this approach

I thought some of my thoughts on  the higher level concepts might help with verifying the effectiveness of such a design.

A runtime platform  that is the runtime an application is running on,  processes incoming messages from a messaging platform such as Ably (through connections, channels etc) and also maybe through Firebase Cloud  messaging. Those two messaging platforms can directly talk to one another (Eg. Ably publishing messages directly on FCM) But the important thing is to maintain platforms compatible with making it clear that  the kind of messages they support are explicitly presented . Exposed through interfaces in our case
Our library should only accept and process messages that are defined in our platform (that is the processing platform). Adapter like concepts might help with message translation between different platforms. Single shared interface (push provider in our case). Implementations will have to help with contract between platforms (eg activation, deactivation) and message translation (message send and receive). Keeping the high level contract should make it easier for us to reason about platform communication surface.
We should aim for making message translation work comprehensive, meaning we should be supporting all message interaction possibilities (receive is in our case, Send is done through Ably, so we may not need send). So actually the common interface will always be the interface defined in Ably client spec. We will delegate the responsibility of message translations between Ably interface and a third party platform to another plugin. That will make it clear to our library users how we translate messages between platforms . It will also allow them to add multiple third party platforms that might interact with our system. They might implement their own custom plugin (meaning interface implementation ), or they can add an existing plugin and use it. Core library will always process messages through Ably defined interfaces, making sure that any given provider's contract lifecycle is maintained by Ably client spec.

I created a repository to write a POC for this case https://github.com/ikbalkaya/PushInterfacePOC

I was able to create a simple proof of concept that makes it possible to use our plugin with one or more push providers

Closing this for now. The next step will be to actually implement this in our library.


⚠ Bofrost.at has degraded performance

In 65d8dd9, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2107 ms

Resolved: Bofrost.at performance has improved in 62051ed after 6 minutes.


Tag Helpers causes exception "ViewResultExecutor The view 'zzzz' was not found. Searched locations

Hi.
The following component:
 [ViewComponent(Name = "RuteRaekkefoelgeSpecialaftaler")]
public class RuteRaekkefoelgeSpecialaftalerComponent : ViewComponent
{
    public async Task<IViewComponentResult> InvokeAsync(SpecifikRuteViewModel model)
    {
        return await Task.FromResult(View(model.Specialaftales));
    }
}

With
_ViewImports:
@addTagHelper *, MapPlanner.Mvc
causes exception "ViewResultExecutor The view 'zzzz' was not found. Searched locations
when referenced as:
<vc:rute-raekkefoelge-specialaftaler model="@Model"/>
The reason is that the component is called from the first page loaded - and with Model = null.
To fix the problem:
Remove @addTagHelper *, MapPlanner.Mvc from _ViewImports
and change vc: to: @await Component.InvokeAsync(typeof(RuteRaekkefoelgeSpecialaftalerComponent), new { model = Model })

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

ID: 3e9c3677-ab1b-2466-6c19-71111b49f84a
Version Independent ID: 3e9c3677-ab1b-2466-6c19-71111b49f84a
Content: What's new in ASP.NET Core 6.0
Content Source: aspnetcore/release-notes/aspnetcore-6.0.md
Product: aspnet-core
Technology: aspnetcore-releasenotes
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

@pranavkm  who's the right person to review this. That error message is wrong.

Thank you for contacting us. Due to a lack of activity on this discussion issue we're closing it in an effort to keep our backlog manageable. If you believe there is a concern which hasn't been addressed, please file a new issue.


Typescript not recognized

VSCode Version: 1.30
OS Version: Linux Mint 18.1 Serena

Steps to Reproduce:

Create a folder with tsconfig.json and index.ts according to https://code.visualstudio.com/docs/languages/typescript
Reload the editor

Does this issue occur when all extensions are disabled?: Yes

I have tried reinstalling the editor
I have also checked that I have typescript installed (tried both globally or locally)
Tried the same steps on Windows (and it worked there)

Maybe it's just some silly mistake, but I was not able to find a similar issue so far...

Please explain what is not working as expected

@mjbvz Sorry for vague description.
When you open a TypeScript project in vscode, it shoud autoamtically notice it and provide you TypeScript features (autocompletion, type info upon hover, TS errors...). However, I can't see any of these features. Basically, vscode acts like I didn't open a TS project at all.
I don't know how is this possible, but I've tried many things (one of them was to try it out on Windows) and there it worked...
I'm also adding a screenshot of my issue (run code from terminal using code --disable-extensions .).

In the extensions view, search @builtin javascript. Is the built-in TypeScript and JavaScript Language Features extension disabled?

@mjbvz thanks :)
I don't know how this got disabled in the first place though :/


Assignment

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
Added code
What did you learn from the changes you have made?
I learned that Git is challenging
Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
I would have liked having all the answers handed to me
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
Git Bash on Windows does not support wget, which meant that the setup part of the script did not work
How were these changes tested?
They were tested locally in a clean directory
A reference to a related issue in your repository (if applicable)
Checklist

[x ] I can confirm that my changes are working as intended

You did a great job here!
Just keep in mind that, the command ls -lR data/processed > ./data/inventory.txt will work, but it will include both detailed file information (permissions, owner, size, etc.) and directory names, making the output more verbose than a simple list of files.
If you want only filenames (without detailed information), you can simplify:
ls -R data/processed > ./data/inventory.txt
or (if filenames only, no directories listed):
find data/processed -type f > ./data/inventory.txt
Please go ahead and close this pull request now. Thanks!


Add alocations column (dev-si)

Was wondering why it wasn't output allocations as strings are definitely allocated.
/cc @davidfowl

@benaadams MemoryDiagnoser is now disabled by default. This is, unfortunately, a breaking change. Sorry for that!

@adamsitnik for a time I was impressed it wasn't allocating; before deciding that couldn't be true 😄


fix(binding): make global functions accessible in templates

fixes #11
I'm not sure if this is a fix for a bug or changing the expected/desired behavior, but it's here for your review.

I have to think about this. I'm not sure if it's a good idea. I'm leaning against it. What is the use case for this? Why can't the code be placed in a view-model?

It came from a question asked in the gitter. I just looked at the stack
trace on saw how to fix it. I wasn't sure if it was a good idea, so I just
created the PR for you to decide :-)
As far as the use case, you'll have to discuss with the use in gitter.
On Jan 30, 2015 10:41 PM, "Rob Eisenberg"<EMAIL_ADDRESS>wrote:

I have to think about this. I'm not sure if it's a good idea. I'm leaning
against it. What is the use case for this? Why can't the code be placed in
a view-model?
—
Reply to this email directly or view it on GitHub
https://github.com/aurelia/binding/pull/12#issuecomment-72302864.

Hello,
Example of use case:
<div repeat.for="url of urls">
    <a href="#/url/${ encodeURIComponent( url ) }"> ${ url } </a>
</div>

I think it would also add support for underscore/lodash functions then (without hacking). It would bring similar behaviour as Angluar's filters. Example using lodash:
${ _.camelCase( title ) }

So main focus is to add filters.

Sure. Aurelia does have ValueConverters though...which do the same thing as Angular filters (but can transform in both directions). I'm hesitant to open up the whole global thing. So far, everything is nicely encapsulated and this would break that as well as encourage people to put more code in their views.

Ok, but although it's almost not documented (Value Convertors), it looks like it requires a class per filter. Thinking about converting underscore / lodash (huge number of possible filters) into such a system is unreal. (Maybe I'm wrong and it's easier)
It might encourage people to put more code in their views, but they will do it anyway plus they have to "hack" view-models like this (still "elegant" way):
this.window = window;

I believe window and document are super globals so they should be accessible from everywhere.

That's a good argument. Let me think about it a bit.

I'm not going to accept this...yet. I want to keep this open though. Before we evaluate this, we want to take a look at how we are going to remove $parent, which I think might affect this. Once we resolve that issue, we can come back to this and review.

I'm closing this for now since there's no way we'll be able to merge the actual PR by the time we get around to addressing it. I am keeping the issue itself open so we can revisit it again later.


bamboo configuration doesn't reload when marathon app scale,restart,migration etc.

which version of marathon you are running?

Version 0.11.0

waiting for your help, ^--^.

@junneyang get yourself onto 0.11.1 asap - there are some nasty bugs in 0.11.0
https://github.com/mesosphere/marathon/releases
(maybe not specific to this issue but can't hurt).

I happen to have the same problem, Did you fix it ?@junneyang

My Marathon version is v0.11.1 and mesos is 0.23.0 and zookeeper is 3.4.6, waiting for help!

not yet, waiting for help, ^--^

The usual problem causing this is Bamboo requires Marathon enabling http callback. If this callback option is not set, those task events are not visible to Bamboo.

On 28 Oct 2015, at 03:45, junneyang<EMAIL_ADDRESS>wrote:
not yet, waiting for help, ^--^
—
Reply to this email directly or view it on GitHub.

thanks very much!


chore(ui): Abstract out summary card layout and logic

Description
Extracts the layout and logic for summary cards across VM 2.0.

Removes duplication of error/loading/data checking logic
Reduces layout duplication switching between Skeleton components and rendered data during loading states
Makes the isLoading behavior consistent throughout VM 2.0 (previously we would display stale data when the request was refetched)
Switches from Grid to Gallery based layout to ensure we have matching heights of all cards, regardless of content, without explicit height setting
Avoids null checks on data at the call site by encapsulating this in a render prop
Tests 🎉

Checklist

[ ] Investigated and inspected CI test results
[ ] Unit test and regression tests added
[ ] Evaluated and added CHANGELOG entry if required
[ ] Determined and documented upgrade steps
[ ] Documented user facing changes (create PR based on openshift/openshift-docs and merge into rhacs-docs)

If any of these don't apply, please comment below.
Testing Performed
Manual testing of all VM 2.0 pages with summary cards to ensure the data still loads and displays correctly.
Component tests to validate behavior of the generic component.
Here is a side-by-side of the old components with the new component. The new component is the top set of summary cards:
https://github.com/stackrox/stackrox/assets/1292638/8b073043-d646-4dc1-8630-7e1eb884898a

I had tested an API that just directly rendered the children as well, instead of using the render prop:
// This PR
<SummaryCardLayout isLoading={isLoading}>
    <SummaryCard
        data={metadataRequest.data}
        renderer={({ data }) => (
            <AffectedNodesSummaryCard
                affectedNodeCount={nodeCount}
                totalNodeCount={data.totalNodeCount}
                operatingSystemCount={data.nodeCVE.distroTuples.length}
            />
        )}
    />
</SummaryCardLayout>

// Alternate API
<SummaryCardLayout isLoading={isLoading}>
    <SummaryCard>
        {metadataRequest.data && (
            <AffectedNodesSummaryCard
                affectedNodeCount={nodeCount}
                totalNodeCount={metadataRequest.data.totalNodeCount}
                operatingSystemCount={metadataRequest.data.nodeCVE.distroTuples.length}
            />
        )}
    </SummaryCard>
</SummaryCardLayout>

but I don't feel super strongly either way. I felt the latter potentially leaves room for an error where the data is null and nothing renders at all, plus it is similar to the pattern in the TbodyUnified, but I don't feel like the benefits of a render prop in this case make it the clear choice.
If anyone objects, I am fine to use the second pattern instead.


Docs don't reflect current version?

For example, Tabs states the following:
    <Tabs {...args}>
      <RadioTab name="my_tabs_1" label="Tab 1" contentClassName="p-10">
        Tab content 1
      </RadioTab>
      <RadioTab name="my_tabs_1" label="Tab 2" contentClassName="p-10" defaultChecked={true}>
        Tab content 2
      </RadioTab>
      <RadioTab name="my_tabs_1" label="Tab 3" contentClassName="p-10">
        Tab content 3
      </RadioTab>
    </Tabs>

I noticed something off when trying to use the Tabs component. First, it does not mention where exactly this import statement is coming from, so you would assume we need to do an
import { Tabs, RadioTab }  from 'react-daisyui'. This continuously renders an empty component for the RadioTab, which if you verify it by console.log it. In addition to that, if you console.log the Tabs.RadioTab component, you'll realize that this is a working component.
But it doesn't work the way it's intended to, since it renders default Radio buttons (at least for me), which can be something I'm missing... but then again, the documentation is pretty lacking so I have no clue, and no clear examples since the ones provided don't match.
I've realized this pattern with the Table component as well, so I think either there are multiple ways to do the same thing or some version mismatch between the documentation and the exports.

@pedrolucasp Thanks for finding that, I'll fix up the docs this week. Some of the internally used components are exposed as subcomponents, which sometimes don't get captured in the docs by whichever contributor writes the story.

Fixed with ad4cb0e27a1270ae606ef5cc91d16fe41454db07 and the new pages should deploy soon.


P8: creating multiple gard entries fails

I'm trying to create multiple gard entries on P8 and it fails:
[root@localhost gard]# ./gard create /Sys0/Node0/DIMM15
Unit /Sys0/Node0/DIMM15 is already GARDed by record 0x000001
[root@localhost gard]# ./gard create /Sys0/Node0/DIMM16
[root@localhost gard]# ./gard create /Sys0/Node0/DIMM17
ECC: uncorrectable error: d2ffffff00000002 23
The data at the GUARD partition does not appear to be valid gard data
Clear the entire GUARD partition? [y/N]

This is probably fixed by 27d1ef2ebabb, can you try it with a newer version of opal-gard?

I'm going to close this one.. Feel free to REOPEN if you hit issue with upstream code.
-Vasant


ReferenceCollection cannot be loaded.

[REQUIRED] Step 1: Describe your environment

Xcode version: 9.4
Pring version: 0.12

[REQUIRED] Step 3: Describe the problem
I have such a reference collection in my object.
@objcMembers class Race: Object {

    dynamic var avatar: String = ""
    dynamic var name: String = ""
    dynamic var introduction: String = ""
    dynamic var status: RaceStatus = .unknown
    dynamic var raceAt: Date = Date(timeIntervalSince1970: 0)

    let competitors: ReferenceCollection<Competitor> = []

    override func encode(_ key: String, value: Any?) -> Any? {
        switch key {
        case #keyPath(status):
            return status.rawValue
        default:
            return nil
        }
    }

    override func decode(_ key: String, value: Any?) -> Bool {
        switch key {
        case #keyPath(status):
            guard let value = value as? Int else {
               return false
            }
            status = RaceStatus(rawValue: value) ?? .unknown
            return true
        default:
            return false
        }
    }

}

Steps to reproduce:
When I tries to load the competitors from a race object like this
        orders = race.competitors.query.dataSource().on({ [weak self] (snapshot, changes) in
            guard let horseCollectionView = self?.horseCollectionView else {
                return
            }
            switch changes {
            case .initial:
                horseCollectionView.reloadData()
            case .update(let deletions, let insertions, let modifications):
                horseCollectionView.performBatchUpdates({
                    horseCollectionView.insertItems(at: insertions.map { IndexPath(row: $0, section: 0) })
                    horseCollectionView.deleteItems(at: deletions.map { IndexPath(row: $0, section: 0) })
                    horseCollectionView.reloadItems(at: modifications.map { IndexPath(row: $0, section: 0) })
                }, completion: nil)
            case .error(let error):
                print(error)
            }
        }).onCompleted({ (snapshot, competitors) in
            guard let documents = snapshot?.documents else {
                return
            }
            for document in documents {
                print(document.data()) // Not empty.
            }
            print(competitors) // Empty
        }).listen()

I found the competitors are empty event the data of document is not empty.

I tried to debug and I found that when you invokes the method
Element.get(id, block: { (document, error) in

in the method private func get(with change: DocumentChange, block: @escaping (Element?, Error?) -> Void)( DataSource.swift), the reference is version/1/competitor rather than version/1/race/{race id}/competitor.
That's the reason for empty ReferenceCollection.

I found what I missed.
Because I just want to read data from firebase, I missed to add collection version/1/competitor.
It seems that this library cannot define the data structure in the firebase cloudstore by myself.

Thank you for your message
@lm2343635


lona-server crashes on user-input

On current master I can crash the lona-server by entering anything into a text-input in the browser.
My minimal reproducer is:
#!/usr/bin/env python3

from datetime import datetime
from lona.html import HTML, TextInput, Button
from lona import LonaApp, LonaView

app = LonaApp(__file__)

@app.route('/')
class ClockView(LonaView):
    def handle_request(self, request):
        text = TextInput()
        button = Button("Click here")
        html = HTML(
            text,
            button,
        )

        while True:
            self.await_input_event(html=html)

app.run()

I am running this with lona on dd49788e64cb2cd02e7a33e1f973eb4409bb7302 (master).
But it's working as expected on 1.9.
Steps to reproduce:

Start the reproducer
Access localhost:8080
Click the button. Nothing happens.
Enter anything into the text box.
Click the button again.
I get the following stack trace in the server console:

======== Running on http://localhost:8080 ========
(Press CTRL+C to quit)
MainThread                     INFO     21:59:00.879650 aiohttp.access ::1 [08/Mar/2022:20:59:00 +0000] "GET / HTTP/1.1" 200 320 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.51 Safari/537.36"
MainThread                     INFO     21:59:00.942757 aiohttp.access ::1 [08/Mar/2022:20:59:00 +0000] "GET / HTTP/1.1" 200 874 "http://localhost:8080/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.51 Safari/537.36"
MainThread                     INFO     21:59:00.943334 aiohttp.access ::1 [08/Mar/2022:20:59:00 +0000] "GET /favicon.ico HTTP/1.1" 200 231 "http://localhost:8080/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.51 Safari/537.36"
MainThread                     INFO     21:59:00.963651 aiohttp.access ::1 [08/Mar/2022:20:59:00 +0000] "GET /static/lona/style.css HTTP/1.1" 200 231 "http://localhost:8080/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.51 Safari/537.36"
MainThread                     INFO     21:59:00.964097 aiohttp.access ::1 [08/Mar/2022:20:59:00 +0000] "GET /static/_lona/lona.js HTTP/1.1" 200 250 "http://localhost:8080/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.51 Safari/537.36"
MainThread                     INFO     21:59:00.985878 aiohttp.access ::1 [08/Mar/2022:20:59:00 +0000] "GET /favicon.ico HTTP/1.1" 200 231 "http://localhost:8080/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.51 Safari/537.36"
LonaRuntimeWorker_1            ERROR    21:59:08.958428 lona.view_runtime Exception raised while running <__main__.ClockView object at 0x7fdea424d8e0>
  Traceback (most recent call last):
    File "/home/chris/work/Projects/github/lona/lona/view_runtime.py", line 318, in start
      raw_response_dict = self.view.handle_request(self.request) or ''
    File "/home/chris/Projekte/ongoing/lona-infobeamer/./reproducer.py", line 22, in handle_request
      self.await_input_event(html=html)
    File "/home/chris/work/Projects/github/lona/lona/view.py", line 228, in await_input_event
      return self._await_specific_input_event(
    File "/home/chris/work/Projects/github/lona/lona/view.py", line 209, in _await_specific_input_event
      self.show(html=html)
    File "/home/chris/work/Projects/github/lona/lona/view.py", line 143, in show
      self._view_runtime.send_data(
    File "/home/chris/work/Projects/github/lona/lona/view_runtime.py", line 546, in send_data
      return self._send_html_update(
    File "/home/chris/work/Projects/github/lona/lona/view_runtime.py", line 535, in _send_html_update
      message = encode_data(
    File "/home/chris/work/Projects/github/lona/lona/protocol.py", line 213, in encode_data
      return PROTOCOL.MESSAGE_PREFIX.value + dumps(
    File "/home/chris/work/Projects/github/lona/lona/_json.py", line 20, in dumps
      return json.dumps(*args, default=default, separators=separators, **kwargs)
    File "/usr/lib/python3.9/json/__init__.py", line 234, in dumps
      return cls(
    File "/usr/lib/python3.9/json/encoder.py", line 199, in encode
      chunks = self.iterencode(o, _one_shot=True)
    File "/usr/lib/python3.9/json/encoder.py", line 257, in iterencode
      return _iterencode(o, 0)
    File "/home/chris/work/Projects/github/lona/lona/_json.py", line 16, in default
      raise TypeError
  TypeError
MainThread                     ERROR    21:59:08.962276 asyncio Future exception was never retrieved
future: <Future finished exception=TypeError()>
  Traceback (most recent call last):
    File "/home/chris/work/Projects/github/lona/lona/view_runtime.py", line 318, in start
      raw_response_dict = self.view.handle_request(self.request) or ''
    File "/home/chris/Projekte/ongoing/lona-infobeamer/./reproducer.py", line 22, in handle_request
      self.await_input_event(html=html)
    File "/home/chris/work/Projects/github/lona/lona/view.py", line 228, in await_input_event
      return self._await_specific_input_event(
    File "/home/chris/work/Projects/github/lona/lona/view.py", line 209, in _await_specific_input_event
      self.show(html=html)
    File "/home/chris/work/Projects/github/lona/lona/view.py", line 143, in show
      self._view_runtime.send_data(
    File "/home/chris/work/Projects/github/lona/lona/view_runtime.py", line 546, in send_data
      return self._send_html_update(
    File "/home/chris/work/Projects/github/lona/lona/view_runtime.py", line 535, in _send_html_update
      message = encode_data(
    File "/home/chris/work/Projects/github/lona/lona/protocol.py", line 213, in encode_data
      return PROTOCOL.MESSAGE_PREFIX.value + dumps(
    File "/home/chris/work/Projects/github/lona/lona/_json.py", line 20, in dumps
      return json.dumps(*args, default=default, separators=separators, **kwargs)
    File "/usr/lib/python3.9/json/__init__.py", line 234, in dumps
      return cls(
    File "/usr/lib/python3.9/json/encoder.py", line 199, in encode
      chunks = self.iterencode(o, _one_shot=True)
    File "/usr/lib/python3.9/json/encoder.py", line 257, in iterencode
      return _iterencode(o, 0)
    File "/home/chris/work/Projects/github/lona/lona/_json.py", line 16, in default
      raise TypeError
  TypeError

  During handling of the above exception, another exception occurred:

  Traceback (most recent call last):
    File "/usr/lib/python3.9/concurrent/futures/thread.py", line 52, in run
      result = self.fn(*self.args, **self.kwargs)
    File "/home/chris/work/Projects/github/lona/lona/server.py", line 549, in _function
      return function(*args, **kwargs)
    File "/home/chris/work/Projects/github/lona/lona/view_runtime.py", line 377, in start
      return self.run_error_view(
    File "/home/chris/work/Projects/github/lona/lona/view_runtime.py", line 177, in run_error_view
      response_dict = self.handle_raw_response_dict(
    File "/home/chris/work/Projects/github/lona/lona/view_runtime.py", line 625, in handle_raw_response_dict
      self.send_data(
    File "/home/chris/work/Projects/github/lona/lona/view_runtime.py", line 560, in send_data
      message = encode_data(
    File "/home/chris/work/Projects/github/lona/lona/protocol.py", line 213, in encode_data
      return PROTOCOL.MESSAGE_PREFIX.value + dumps(
    File "/home/chris/work/Projects/github/lona/lona/_json.py", line 20, in dumps
      return json.dumps(*args, default=default, separators=separators, **kwargs)
    File "/usr/lib/python3.9/json/__init__.py", line 234, in dumps
      return cls(
    File "/usr/lib/python3.9/json/encoder.py", line 199, in encode
      chunks = self.iterencode(o, _one_shot=True)
    File "/usr/lib/python3.9/json/encoder.py", line 257, in iterencode
      return _iterencode(o, 0)
    File "/home/chris/work/Projects/github/lona/lona/_json.py", line 16, in default
      raise TypeError
  TypeError
^CMainThread                     INFO     21:59:09.973428 aiohttp.access ::1 [08/Mar/2022:20:59:00 +0000] "GET / HTTP/1.1" 101 0 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.51 Safari/537.36"

I am not really sure what is happening here so I hope reporting it helps fixing it in master before the next release.

Hi @SmithChart,
Thanks for reporting, i noticed this too. I suspect i broke the protocol layer with this patch ff7a0ab8316c9a4faf96e939d656fc52e66a514d. I will fix this before 1.10 gets released.

@SmithChart I found the bug. It was the patch i suspected. Could you give some feedback if this fixes the issue for you?


Delete/Update fail with non-integer primary key

Thanks for the amazing work as always! (was a user of sqlite-vss before)
Not sure if related to #53, but updating/deleting records when using a string as primary key fails (“unknown error”).
Configuration:
create table articles (
   id text primary key,
   headline text,
   url text
);

create virtual table if not exists vec_articles using vec0(
   article_id text primary key,
   embedding float[384],
);

Inserting and selecting work fine, but updating or deleting throws the following error:
SqliteError: unknown error
    at file:///Users/achraf/test-sqlite-vec/index.mjs:25:48
    at ModuleJob.run (node:internal/modules/esm/module_job:222:25)
    at async ModuleLoader.import (node:internal/modules/esm/loader:323:24)
    at async loadESM (node:internal/process/esm_loader:28:7)
    at async handleMainPromise (node:internal/modules/run_main:113:12) {
  code: 'SQLITE_EMPTY'
}

Hey @achrafash thanks for the report! Definitely a bug, working on a solution

@achrafash can you try v0.1.2-alpha.2 and see if the issue is fixed on your side? https://github.com/asg017/sqlite-vec/releases/tag/v0.1.2-alpha.2

it does! thanks a lot that was fast 🙏


Bug/Drawer positioning bug

The Drawer Component's Position and Size properties were no longer configurable when implementing.  I'm not sure of the root cause of the change, but I was able to fix the issue by just updating the key in the Drawer component configuration from props -> defaultProps.
My guess is that it's the only component to use non-attribute properties, and so any component using such properties will fail to make those props configurable and the defaultProps key should be used instead of props.
This PR relies on https://github.com/jxnblk/rebass/pull/359 to Be verified in storybook. It should be merged first.

Thanks for this! I think the real issue is my misunderstanding of and the use of styled-components custom .attrs method here: https://github.com/jxnblk/rebass/blob/master/src/hoc.js#L63
This should be setting defaultProps instead, and should be fixed in #365


Deprecate support for Kirby panel version < 2.2.0

Time to develop nice working version for panel 2.2.0 between v1.0 and v2.0

For new fixes and features, will that be added to both versions (development branch)? I prefer using Kirby 2.1 until 2.2 is released.

I will try to bring real bugfixes do botch versions v1 and v2. Thus, there is still the develop branch with refers to v1 and still supports Kirby 2.1. On the develop-v2 branch I will work on v2 which won't support Kirby 2.1 anymore. panelBar v2 won't be released before Kirby 2.2 has been released.
Some enhancement fixes probably will only make it to v2 if integrating it into v1 would be too much work. Same goes for new features, that will only make it to a v1.1 if it's little work.


refactor: clean EditTask.scss

Description
Compilation of cleanup commits:

Remove unused classes (Absent in HTML/Svelte code)
Replace margin & line-height properties with more suitable grid-* options
Remove some unused properties that have no impact on any view

You may notice on the screenshots that the modal became a bit smaller, more compact. This is due to a slight difference in the spacing between the some blocks. So this is not exactly a pure refactoring, however adjusting this spacing was done in a suboptimal way currently (using fixed margins, different ways to render blocks in several places). So I will make that adjustable later on after further refactoring in a compact way.
Motivation and Context
Prepare for extraction of components from Svelte & CSS code
How has this been tested?
Visual test in demo vault of each Edit Task modal view (different widths)
Screenshots

Before
After

Types of changes

Internal changes:

[x] Refactor (prefix: refactor - non-breaking change which only improves the design or structure of existing code, and making no changes to its external behaviour)

Checklist

[x] My code follows the code style of this project and passes yarn run lint.
[ ] My change has adequate Unit Test coverage.

No unit testing on CSS code

Terms

[x] My contribution follows this project's contributing guide
[x] I agree to follow this project's Code of Conduct

Thanks.


Error Code - More questions...

Hello Maarten,
First, many thanks for your code, this is really appreciated.
I'm not able to get any value out of my CCS811.
First I upgraded the application to 2.0 using your code. It work without any problem.
Here is what I'm getting:
setup: Starting CCS811 basic demo
setup: ccs811 lib  version: 10
setup: hardware    version: 12
setup: bootloader  version: 1000
setup: application version: 2000
CCS811: waiting for (new) data
CCS811: errstat=2091=--VhxmrwF--Ad-iE
CCS811: errstat=2091=--VhxmrwF--Ad-iE
CCS811: errstat=2891=--VhXmrwF--Ad-iE
CCS811: errstat=2899=--VhXmrwF--AD-iE
CCS811: errstat=2899=--VhXmrwF--AD-iE
CCS811: errstat=2899=--VhXmrwF--AD-iE
CCS811: errstat=2899=--VhXmrwF--AD-iE
I updated to the latest ESP8266 Library.
I'm using a China D1 Mini
Supply is maybe a little low 3.27 since i'm powering with the USB.
Wake pin is tie to GND.
Waiting for your feedback
David

Hello again,
Really sorry to distrub, I think I just got a bad sensor. I tested with another one and everything is fine.
I also updated the firmware . 2 on 2.
Thanks

As you can see in the .h file
ERRSTAT is a merge of two hardware registers: ERROR_ID (bits 15-8) and STATUS (bits 7-0)
So, we have to split the hex value 2899 and the string (--VhXmrwF--AD-iE).
ERROR has hex value 28 which corresponds to --VhXmrw  and
STATUS has hex value 99 which corresponds to F--AD-iE
Capitals mean bit-is-set, lowercase means bit-is-clear, dash means bit has no meaning.
See function CCS811::errstat_str for details
What does this mean?
Most part of STATUS is ok (see datasheet page 18 on ams.com/ccs811): The F tells that the firmware is in application mode (not bootmode) , the A means that the application image is valid (flashed correctly), D means there is new measurement data. But you also have an E - for Error. This should not happen.
When you have an E/error, the ERROR register gives details. You have V and X (datasheet page 24); X meaning "The sensor resistance measurement has reached or exceeded the maximum range". I'm not sure what does means, maybe your sensor is indeed broken.

If you are happy, you can close the issue.


[Bug] Show a helpful error when "Test" on mongodb connection fails.

Reopening this issue to track client side changes.

Had re-opened this issue by mistake. Closing it now.


Jumping feel while sliding slowly

Hi,
When I scroll from one card to another very slowly it jumps from on to another. the scrolling is not smooth, I think you are bringing the next card immediately. can you make it pixel by pixel ? also is there any way that I can adjust the position of cards ?

@iamshajeer
What do you mean by "scrolling is not smooth" and "make it pixel by pixel"?
This is carousel layout. Don't understand what do you want to adjust. Can you make a picture?

Thanks for your concern. Issue is when you try to change(scroll) one recyclerview item to another the second item comes suddenly. Which is not smooth. May be I can create a gif and post very soon. Also is there any way to change the bottom position of the next and previous items ? I couldn't find anything. Please clarify.

@iamshajeer
Bottom and zoom of the next and previous items are controlled by CarouselZoomPostLayoutListener. Check its code. There are come Mathematics functions of zooming and positioning.
About not smooth animation.. not sure how you want it to look like.

@iamshajeer any update here? can you give me an example of such animation?

@mig35, I think he's talking about something like this, where the items should be going smoothly, similar to just a standard horizontal layout manager, but with all the utility methods that you guys provide (which is what I'm trying to figure out right now).

Hi @nachtien
as I can see all that we need to change is a Math algorithm in PostLayoutListener.
We provide only one variant with zoom and translate logic in CarouselLayoutManager/CarouselLayoutManager/carousel/src/main/java/com/azoft/carousellayoutmanager/CarouselZoomPostLayoutListener.java but anyone can build there own PostLayoutListener.

Hey!
If I understand right your issue so try to change this line in CarouselZoomPostLayoutListener:
final float translateXGeneral = child.getMeasuredWidth() * (1 - scale) / 2f;
to this one:
final float translateXGeneral = child.getMeasuredWidth() * (1 - scale) / 0.8f;
I use horizontal carousel and it's make the animation looks better and child views not overlapping centered view

In addition to my previous answer you can change this line in CenterScrollListener:
recyclerView.smoothScrollBy(scrollNeeded, 0);
to this one:
recyclerView.smoothScrollBy(scrollNeeded, 0, new DecelerateInterpolator());
This one will slow down the animation on centered view and it will look better

Hi,
I have the somewhat same issue, Centre Image try to relocate to middle with a jerk, even it is calling
recyclerView.smoothScrollBy(scrollNeeded, 0);
in CenterScrollListener file.

Hi, the same here. Sometimes it scrolls smooth, sometime it "jumps" from one recycler item to another.

Hi, same here. I'm dealing the same issue with jumps. When scrolling second element to the centre position and sizes of the centre and the second elements becomes the same, second element just jumps to the centre position.

Hi everybody,
Just remove calculateScrollForSelectingPosition() method call in CarouselLayoutManager can get rid of the jumping feel. Line 361,365 and 368.
I don't know whether this method is useful in other case, In my case,this method is unnecessary and cause the item jump to the center position while scrolling.

@red742652  Don't do that! It will cause problem when add, remove items!
refer this

Hi @jpvs0101
I don't want to remove calculateScrollForSelectingPosition method call because of this problem, but want to find a bug in jumping...
And thanks for your help and really active position!

@mig35 @iamshajeer @nachtien @roman-inmanage @AnkitDApalya  any update on this issue I am facing same

where is the complete code for removing that jumpy jerk, kindly i need it.

For all of those who are still interested in a solution.
First of all, there is no need to modify the source code! As @mig35 stated:

as I can see all that we need to change is a Math algorithm in PostLayoutListener.

Absolutely correct!
What was causing the jerking/jumping movement is the scale calculation. I created an implementation of PostLayoutListener based on the one provided with the library (CarouselZoomPostLayoutListener) and replaced the calculation of scale.
In my case, it was calculated as simple as: val scale = 1f - 0.17f * abs(itemPositionToCenterDiff)
Where 0.17f is the value that tells in percentage how small next item will be relative to the previous one.
It works this way: the centre item is scaled 1:1 items to left and right of it will be 17% smaller; the next item to the left and right will be 34% smaller and so on.
Here is the full implementation in Kotlin of PostLayoutListener.
/**
 * [PostLayoutListener] implementation used to translate and scale views.
 *
 * @param scaleMultiplier value used to scale items that move closer to the center or away from it.
 * Centered item is presented in its original size (scaled as 1:1).
 * Pass positive value to reduce item size relative to the centered one, negative to increase (centered item is always 1:1).
 */
class PostsCarouselZoomPostLayoutListener(private val scaleMultiplier: Float = 0.17f) : PostLayoutListener {
    override fun transformChild(
        @NonNull child: View,
        itemPositionToCenterDiff: Float,
        orientation: Int
    ): ItemTransformation {
        val scale = 1f - scaleMultiplier * abs(itemPositionToCenterDiff)

        // because scaling will make view smaller in its center, then we should move this item to the top or bottom to make it visible
        val translateY: Float
        val translateX: Float
        if (CarouselLayoutManager.VERTICAL == orientation) {
            val translateYGeneral = child.measuredHeight * (1 - scale) / 2f
            translateY = Math.signum(itemPositionToCenterDiff) * translateYGeneral
            translateX = 0f
        } else {
            val translateXGeneral = child.measuredWidth * (1 - scale) / 2f
            translateX = Math.signum(itemPositionToCenterDiff) * translateXGeneral
            translateY = 0f
        }
        return ItemTransformation(scale, scale, translateX, translateY)
    }
}

For all of those who are still interested in a solution.
First of all, there is no need to modify the source code! As @mig35 stated:

as I can see all that we need to change is a Math algorithm in PostLayoutListener.

Absolutely correct!
What was causing the jerking/jumping movement is the scale calculation. I created an implementation of PostLayoutListener based on the one provided with the library (CarouselZoomPostLayoutListener) and replaced the calculation of scale.
In my case, it was calculated as simple as: val scale = 1f - 0.17f * abs(itemPositionToCenterDiff)
Where 0.17f is the value that tells in percentage how small next item will be relative to the previous one.
It works this way: the centre item is scaled 1:1 items to left and right of it will be 17% smaller; the next item to the left and right will be 34% smaller and so on.
Here is the full implementation in Kotlin of PostLayoutListener.
/**
 * [PostLayoutListener] implementation used to translate and scale views.
 *
 * @param scaleMultiplier value used to scale items that move closer to the center or away from it.
 * Centered item is presented in its original size (scaled as 1:1).
 * Pass positive value to reduce item size relative to the centered one, negative to increase (centered item is always 1:1).
 */
class PostsCarouselZoomPostLayoutListener(private val scaleMultiplier: Float = 0.17f) : PostLayoutListener {
    override fun transformChild(
        @NonNull child: View,
        itemPositionToCenterDiff: Float,
        orientation: Int
    ): ItemTransformation {
        val scale = 1f - scaleMultiplier * abs(itemPositionToCenterDiff)

        // because scaling will make view smaller in its center, then we should move this item to the top or bottom to make it visible
        val translateY: Float
        val translateX: Float
        if (CarouselLayoutManager.VERTICAL == orientation) {
            val translateYGeneral = child.measuredHeight * (1 - scale) / 2f
            translateY = Math.signum(itemPositionToCenterDiff) * translateYGeneral
            translateX = 0f
        } else {
            val translateXGeneral = child.measuredWidth * (1 - scale) / 2f
            translateX = Math.signum(itemPositionToCenterDiff) * translateXGeneral
            translateY = 0f
        }
        return ItemTransformation(scale, scale, translateX, translateY)
    }
}

Great thing @JeneaVranceanu .
I'm going to test your code and perhaps will add it as an other PostLayoutListener

Great thing @JeneaVranceanu .
I'm going to test your code and perhaps will add it as an other PostLayoutListener


Update main.tf

Ran Plan for dir: infrastructure workspace: default
Plan Error
Show Output
running "/usr/bin/terraform init -input=false -upgrade" in "/root/.atlantis/repos/Roma-EDU/diploma-infrastructure/2/default/infrastructure": exit status 1

Initializing the backend...
╷
│ Error: error configuring S3 Backend: no valid credential sources for S3 Backend found.
│
│ Please see https://www.terraform.io/docs/language/settings/backends/s3.html
│ for more information about providing credentials.
│
│ Error: NoCredentialProviders: no valid providers in chain. Deprecated.
│ 	For verbose messaging see aws.Config.CredentialsChainVerboseErrors
│
│
│
╵


Vector2::normalize function is wrong

I noticed that Vector2 normalize is implemented wrong.
Now it is:
void Vector2::normalize()
{
	real_t l = x*x + y*y;
	if (l != 0) {
		l = (l);
		x /= l;
		y /= l;
	}
}

should be changed to:
void Vector2::normalize()
{
	real_t l = x*x + y*y;
	if (l != 0) {
		l = sqrt(l);
		x /= l;
		y /= l;
	}
}

Makes sense to me, submit a PR?


Contribution Flow: new step to pick tier

On a collective page, when clicking/taping on "contribute", users are directed to the hash "#contribute" and are expected to look on the right (desktop) at the tiers section.
I did found this behavior confusing and would like to propose a "Contribute" page displaying the Tiers (+ one time donation) and only that.

@znarf A separate page with path /:slug/contribute? Or on the main section of the collective page rather the current right side?

@flickz this is a new separate page/component, part of the "Contribution Flow".


active vscode session no longer prevents cloud9 instance from being shut down

The cloud9 instance still shuts down automatically even with an active vscode session.
Looks like this might be caused by recent "Remote - SSH" extension update. It uses bin/code-server instead of server.sh to launch the container, so the is_vscode_connected() check is no longer able to find the vscode process.

Thanks for the fix!


Check impl-methods are subtypes of trait-methods

Fixes #592

Matching PR https://github.com/PLSysSec/tock/pull/4/files

By "outside" Checker do you mean it should be at the "level" of fn check_fn in flux-refineck/src/lib.rs?

or at the level of fn run_in_refine_mode?

I think this should be part of flux_fhir_analysis::compare_impl_item::check_impl_against_trait, but that would require reshuffling things across crates. Putting it in flux_refineck::check_fn would be a good start though.

AFAICT InferCtxt can only be initialized with a Body and so you can't initialize it in the context of a trait-method (which may not have a Body?)

@nilehmann I have done the refactoring, so the impl-trait check lives in

pub fn trait_impl_subtyping (currently in checker.rs) but independent of the Checker itself and
invoked as PHASE 4 in check_fn

See esp. the new args passed into RefineTree::new and the subsequent .instantiate(...)

ok, I'll merge if everything -- IF I get the damn tock thing to pass locally.

merging!


Update .travis.yml

If this passes, it might be worth tagging a new release, because the tagged version is broken on 0.3 and 0.4. I'd do it, but I don't have commit access to a subset of JuliaStats for some reason

Can we just deprecate this package? To make progress on it, it'd need a lot more work and no seems likely to do that work.

Yeah, fine by me!

Might want to drop a quick note in README and add a matching REQUIRE file


build: convert protocol variables to dicts

I'd prefer to have a dict instead (e.g. protocols_code.get(name) would return the file for the generated code for instance).

That's actually a pretty good idea. Unfortunately meson (0.52.1) can't use a non string literal for a dictionary key:
protocol_code = {}
foreach proto, path : protocols
    # ...
    protocol_code += { proto: code } # This is invalid
endforeach

And due to the way dictionaries work (i.e. they're pure) and some dictionary-of-dictionaries type stuff, I can't really think of a way to work around this (e.g. putting it in the protocols dictionary).
But this will be fixed in 0.53.0: https://mesonbuild.com/Syntax.html#dictionaries
It has been left as set_variable/get_variable currently, but changed to use an array of protocol strings in the wayland backend.
I think this should be revisited when the next meson version is out and we eventually target it for whatever reason.
Originally posted by @ascent12 in https://github.com/swaywm/wlroots/pull/1931

When we bump to 0.53, we'll also be able to use summary instead of message.


Port australia Scraper

It seems that this is actually done: https://github.com/open-contracting/kingfisher-scrape/blob/master/kingfisher_scrapy/spiders/australia_nsw.py

I think this is for the federal level, not New South Wales.


How to implement only Voice call

First of all Thx for such great step wise sample.
I need to implement only voice call . I have successfully runs the demo you provided .
But i am unable to implement only Voice calls. Do we need VideoRenderer and SurfaceViewRenderer to create voice only call ? Please provide a solution . I m currently following Step3  Thx
` localPeer = peerConnectionFactory.createPeerConnection(rtcConfig, new CustomPeerConnectionObserver("localPeerCreation") {
@Override
public void onIceCandidate(IceCandidate iceCandidate) {
super.onIceCandidate(iceCandidate);
onIceCandidateReceived(iceCandidate);
}
        @Override
        public void onAddStream(MediaStream mediaStream) {
            super.onAddStream(mediaStream);
            if(mediaStream.audioTracks.size() > 0) {
                remoteAudioTrack = mediaStream.audioTracks.get(0);
                remoteAudioTrack.setEnabled(true);
            }
        }
    });`

I am receiving the remoteAudioTrack but how to use it ?

can i get solution for this: want to use webrtc only for voice call.

You do not need to handle Video stream in this case and WebRtc will take care of audio stream . So just remove all Video handling and it will work . Also watch out for Runtime permission.
Make sure the PeerConnection has been made and ICECandidates are exchanged properly .


Add object_privs param to oradb-manage-grants

There's the capability in the ansible-oracle-modules/oracle_grants library to maintain object privs. Any chance this could be added into the oradb-manage-grants role please? So I can do this kind of thing:
  # add oracle roles config
  roles:
    - name: approle1
      grants:
        # - etc
      object_privs:
        - execute:sys.dbms_lock
        - select:sys.dba_pending_transactions

I know I can write my own tasks for this, but since you've already got most of it in these roles, would be nice to use them from here :)

Yes - I'll fix this as soon as possible.

Hi -<PHONE_NUMBER>c026234e7aaa1419be95ebf7edf473 should fix.
Sorry about the delay.
Happy holidays!


How to compare Gradient created by serial code to Gradient created by parallel code?

I found that the gradient is SparseMatrix in NonlinearForm and is HypreParMatrix in ParNonlinearForm. How should I convert one to the other format so that I can compare the gradient from serial code to the gradient from parallel code?
Thank you!

On multiple MPI ranks, this will not be that easy.
On one MPI rank, you can get a SparseMatrix from the HypreParMatrix using HypreParMatrix::GetDiag(SparseMatrix &diag).


Contact info missing at screen 'Over IRMA'

On the screen 'Over IRMA' the sentence 'Mocht u problemen tegenkomen ... graag van horen' is not followed by reference were to post the comments. Please explain how to get into contact for feed back.
Consider that github.com is for ordinary users too technical.

This is in the pipeline and should be coming in an app update in the next couple of days


Switch to Yarn in docs and CI

cc @bestander
Yarn is much faster than npm and more consistent by default so I lean towards recommending it in the docs and using it everywhere. In addition FB uses Yarn so it's better if more people's RN setups are aligned with FB's setup (and we are planning to use it more on Exponent).
Couple of things we could do:

s/yarn/npm/ in the docs. We should still mention npm and that you can use it, but most users are going to have a better time with yarn. The time to seeing a new project on their phone should go down dramatically.
Make react-native init use yarn instead of npm if yarn is in PATH.

Done by @mkonicek in https://github.com/facebook/react-native/pull/10626

Make the CI builds use yarn. I'm split on whether we should include node_modules tarballs in this repo. I lean towards no for now, we can do that later.
Ship yarn.lock. Someone from FB will need to do this and make sure the shipit filter doesn't blacklist it.

Currently we have yarn.lock internally but it refers offline modules instead of repo paths, so we can't have the same lock between OSS and fbsource until yarn fixes that.

Make react-native init use yarn instead of npm if yarn is in PATH.

💯

Make the CI builds use yarn. I'm split on whether we should include node_modules tarballs in this repo. I lean towards no for now, we can do that later.

Yeah, I would not check them in for OSS project, too much trouble.

@cpojer I noticed that Jest's repo has a yarn.lock file. Does the yarn.lock file on GitHub conflict with the yarn.lock file inside of FB's internal repo? (For RN, the internal and external yarn.lock files would differ, I'm wondering if you solved the same problem for Jest already.)

GitHub is the source of truth for Jest nowadays.
On Fri, Nov 4, 2016 at 9:47 PM +0000, "James Ide" <notifications<EMAIL_ADDRESS>wrote:
@cpojerhttps://github.com/cpojer I noticed that Jest's repo has a yarn.lock file. Does the yarn.lock file on GitHub conflict with the yarn.lock file inside of FB's internal repo? (For RN, the internal and external yarn.lock files would differ, I'm wondering if you solved the same problem for Jest already.)

You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/facebook/react-native/issues/10345#issuecomment-258555473, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AAA0KCaiY-6QRVzolMf8vylv4myI19JOks5q66fEgaJpZM4KUNZu.

It seems useful to use yarn instead of npm if they have already installed yarn. But for someone who hasn't installed yarn yet, I wouldn't recommend that they install it as a prerequisite to installing React Native. There are just so many steps to getting started already, and the complexity and failure rate of that process is a much larger complaint than the time spent waiting for an npm install.

Hi there! This issue is being closed because it has been inactive for a while.
But don't worry, it will live on with Canny! Check out its new home: https://react-native.canny.io/feature-requests/p/switch-to-yarn-in-docs-and-ci


⚠ Emby has degraded performance

In 167e2e4, Emby (https://emby.underthere.xyz) experienced degraded performance:

HTTP code: 502
Response time: 3332 ms

Resolved: Emby performance has improved in df4aa00 after .


Adds correct timesteps to make data simulations

I noticed that my make data log files were blowing past the plotTimesteps I had set for them. It looks like the intended timesteps from dataCollectionOptions are not included in the simulation setups, so they use the default 1000.
As a side note, it might be faster to only log the variables you're intending to plot rather than log all of them and only use the plots setting to generate specific plots after the fact. It looks like all variables are being logged right now regardless of whether you're planning to plot them or not. I could fix this if it's a topic of interest.
Also, I had to manually change the make data command to python3 instead of python. Should the make data command be using the same python alias for running run.py that you can set for actually running the simulations in dataCollectionOptions?

Not an issue: that option is the number of timesteps to include in the generated plots, not how many timesteps the simulation should run. There may be good reason to collect lots of data (for example, 50k timesteps) but only plot the first 10k if the interesting behavior happens then. Or, if there is some behavior that really requires us to zoom in on the first 1k timesteps, for instance. I will add a note in the README clarifying this.
Adding specific data to the log based on the provided plots seems like a good idea on first blush, but it is common for us to not exactly know what we want to plot at the moment of data collection. We can't know the interesting behavior until we see it happen. Hypothesizing too much beforehand can cause an issue down the road. It is better to err on the side of caution and collect a treasure trove which can be plumbed later rather than have too little and have to re-run a potentially lengthy data collection pipeline.
You are correct on the Python alias. That can be automatically set for you in the Makefile and in the config by running make setup. This is a recent commit, so if there is an issue with that please raise it as an issue.