slots are being called twice from __layout.svelte when dealing with $page store and the logic {#if block

Describe the bug
I have a _layout which should get the <slot /> content inside a container depending on the path.
So I use $page.path to detect when there's a change in the path, and an {#if path === 'xxx'} block to handle each case.
something like this:

{#if path.endsWith('MyComp')}
	<slot />
{:else}

		<slot />

{/if}

root
MyComp

At start everything works fine, layout is initialized one and the component is initialized once too
From there on, every time I navigate to another page the component is initialized twice
Reproduction
Repo at gihub: https://github.com/opensas/sveltekit-slots-called-twice-error
Open the repo in gitpod: https://gitpod.io#github.com/opensas/sveltekit-slots-called-twice-error
in terminal
$ npm i -g pnpm
$ pnpm i
$ pnpm dev

click open browser (allow popups)

first run, everything is ok

init __layout.svelte
Object { path: "/" }
about to display index.svelte from __layout.svelte
init root

Click on MyComp, MyComp is initialized twice

init MyComp
Object { path: "/MyComp" }
about to display MyComp from __layout.svelte
init MyComp

Logs
No response
System Info
(as executed on gitpod console)

$ npx envinfo --system --binaries --browsers --npmPackages "{svelte,@sveltejs/*,vite}"
npx: installed 1 in 1.301s

  System:
    OS: Linux 5.4 Ubuntu 20.04.2 LTS (Focal Fossa)
    CPU: (16) x64 Intel(R) Xeon(R) CPU @ 2.80GHz
    Memory: 919.66 MB / 62.81 GB
    Container: Yes
    Shell: 5.0.17 - /bin/bash
  Binaries:
    Node: 14.17.6 - ~/.nvm/versions/node/v14.17.6/bin/node
    Yarn: 1.22.11 - ~/.nvm/versions/node/v14.17.6/bin/yarn
    npm: 6.14.15 - ~/.nvm/versions/node/v14.17.6/bin/npm
  npmPackages:
    @sveltejs/kit: next => 1.0.0-next.176
    svelte: ^3.42.6 => 3.43.0

Severity
serious, but I can work around it
Additional Information
No response

Hi.
I think this is a timing issue between component lifecycle and store lifecycle.
Before switch $page.path, already component switched from index.svelte to MyComp.svelte.
But after switched $page.path, again the component is loaded because the new <slot> tag comes.
Component lifecycle and store lifecycle don't have a relationship regarding timing.
Therefore I'm not sure how to solve this issue and I'm not sure we should solve this issue.
By the way, can you apply this change as a workaround?
{#if path.endsWith('MyComp')}
	{log('about to display MyComp from __layout.svelte')}

Comp1 from __layout.svelte

{:else}
	{log('about to display index.svelte from __layout.svelte')}

index.svelte from __layout.svelte

{/if}

<slot />

I would be happy if this information is helpful for you.

Oh, I simplified the case for the example, I need to add a container, something like

{#if path.endsWith('MyComp')}
	<slot />
{:else}

		<slot />

{/if}

root
MyComp

thats why I can't move the slot
any other idea?

IMO at least for now:

Option1:
__layout.svelte can nest. doc
So devise route folder structure for avoiding to use nested <slot>.

Option2:
Create base (or wrapper) component for MyComp components.

Option3:
Apply class name dynamically.
(Accept to use useless
)

	<slot />

root
MyComp

But anyway,
component lifecycle and store lifecycle don't have a relationship regarding timing.
Therefore write a conditional statement by $page.path at __layout.svelte has a chance to render unexpected DOM at least for a moment.
So I personally prefer option 1,2 or some related way.
(But if container class doesn't have side effects, OPTION3 is reasonable I think.)
I don't know these instant ideas can be applied to your real problem.
But again I would be happy if this information is helpful for you.

Gah, this is tricky. We basically can't trigger page store subscribers until navigation has occurred, because otherwise they will fire inside components that are being unmounted as a result of the navigation. Which means that navigation happens, the <slot> is updated, and then path is updated causing the existing <slot> to be replaced by a new one.
If there's a solution to this, it's not obvious to me. The best workaround is probably to use named layouts.

Does this bug also affect svelte (without kit)? I am seeing similar behavior in svelte and will open an issue over there if this issue is a separate thing.

Please fix this Mr Rich Harris, this is small but annoying for sveltekit user like me, thankyou mr rich harris

I am having the same issue with<EMAIL_ADDRESS>(not sveltekit)


Update tick_gen

Giles had a nice implementation using a while loop to iterate through tick spacing options until you get less than 5 total ticks. Want to add this to the python version.

I've done this, need to test it.

Can you add it to the most appropriate sprint and column please, to help us keep track of what we're all up to :)

Deployed in scripts/cpi/vis.py , source code in scripts\util\util.py.


List object has no attribute 'keys' in __deserialize()  in  api_client.py

steps to reproduce:
call rest_client.get_attributes_by_scope(id, 'SERVER_SCOPE', 'active')
exception output:
Exception has occurred: AttributeError 'list' object has no attribute 'keys' File "/home/jaime/.pyenv/versions/prosegur3.8/lib/python3.8/site-packages/tb_rest_client/api_client.py", line 327, in __deserialize     if all(attr in list(found_class.attribute_map.values()) for attr in list(data.keys())):   File "/home/jaime/.pyenv/versions/prosegur3.8/lib/python3.8/site-packages/tb_rest_client/api_client.py", line 287, in deserialize     return self.__deserialize(data, response_type)   File "/home/jaime/.pyenv/versions/prosegur3.8/lib/python3.8/site-packages/tb_rest_client/api_client.py", line 205, in __call_api     return_data = self.deserialize(response_data, response_type)   File "/home/jaime/.pyenv/versions/prosegur3.8/lib/python3.8/site-packages/tb_rest_client/api_client.py", line 390, in call_api     return self.__call_api(resource_path, method,   File "/home/jaime/.pyenv/versions/prosegur3.8/lib/python3.8/site-packages/tb_rest_client/api/api_ce/telemetry_controller_api.py", line 695, in get_attributes_by_scope_using_get_with_http_info     return self.api_client.call_api(   File "/home/jaime/.pyenv/versions/prosegur3.8/lib/python3.8/site-packages/tb_rest_client/api/api_ce/telemetry_controller_api.py", line 619, in get_attributes_by_scope_using_get     (data) = self.get_attributes_by_scope_using_get_with_http_info(entity_type, entity_id, scope, **kwargs)  # noqa: E501   File "/home/jaime/.pyenv/versions/prosegur3.8/lib/python3.8/site-packages/tb_rest_client/rest_client_base.py", line 617, in get_attributes_by_scope     return self.telemetry_controller.get_attributes_by_scope_using_get(entity_id=entity_id.id,   File "/home/jaime/XXX/XXX/thingsboard-scheduler/TbScheduler/TbScheduler.py", line 30, in reset_status     semaphore['status'] = self.rest_client.get_attributes_by_scope(id, 'SERVER_SCOPE', 'active')   File "/home/jaime/XXX/XXX/thingsboard-scheduler/TbScheduler/TbInterface.py", line 70, in inner     return func(*args, **kwargs)   File "/home/jaime/XXX/XXX/thingsboard-scheduler/main.py", line 13, in <module>     tb_scheduler.reset_status()   File "/usr/lib/python3.8/runpy.py", line 87, in _run_code     exec(code, run_globals)   File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main     return _run_code(code, main_globals, None,   File "/usr/lib/python3.8/runpy.py", line 87, in _run_code     exec(code, run_globals)   File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main     return _run_code(code, main_globals, None,

Hi @JaimeFullana ,
Thank you for your feedback, please write which version of ThingsBoard you use? 2.5.X or 3.XX?

@zbeacon Currently I am using 3.XX

Could you try the version from https://github.com/thingsboard/python_tb_rest_client/tree/client/thingsboard-3.1.X branch?


improvement: Add wait option to Statements.Insert and testcase.

:tada: This PR is included in version 1.1.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Android-Java: 9.0 How to work with audio and video files in Android Studio.

Description :

How to store audio and video files in your android project inside Android Studio.
How you can play your audio and video files within your application.

@Rohit-2602 Can I start work on this issue ?
I have created this issue.
This is also important to know .

@Arjun2905 Bro it little bit advanced topic. We should first cover all basics of android. You can cover it some days later.

@VikasPandey121 please share on thoughts on it.

Yes sure, Here we are trying to build a repo that can be helpful from beginners to the advanced level Android-Developers. I am referring it with Module 9 of Road-Map.
Please keep these steps in mind while creating a pull request:

use git fetch and git pull commands before pushing commit it to the remote repository.
Your Contributing file should be in this directory Android_Development/Java/ with the file name starting from 9.0 for instance 9.0 Android Multimedia
Note:- If you have multiple files to commit then add a tag at the beginning of your file name like 9.0.1, 9.0.2 etc
Create a new branch and push your PR on Android_Development_With_Java branch.
Pull request should contain only one commit
Note: If you have multiple commits then squash your commit.

@Arjun2905 I have assigned this issue to you, You can start your contribution with it.

@Rohit-2602 Please go through my PR.  https://github.com/girlscript/winter-of-contributing/pull/2434


Search for pubspec.yml in parent directories

If pubspec.yaml is not found in the current directory, search in parent directories. This behavior should only be applied for the default directory.

How many parents would it need to go up? And is this use case likely?

Up to the root folder I'd say. I think it is somewhat likely. Think of Git, you can run any git command from any folder withing the repo, I find it pretty convenient.

To the root folder of the project, so not the absolute root of the file system? I'd be happy to play around with it a bit and see if I can find a solution.

The filesystem root.

I have added this here https://github.com/Agraphie/pubspec-version/tree/feature/search_parent_for_pubspec
I also added tests. Do you want to create a branch here as well? I can create a pull request to that branch and we can compare and discuss better.

Thanks. I'd like to see this as a separate PR without the unrelated (version manipulation) changes.

Yes true. Weird I thought I used the master branch here as HEAD. I'll reset it to exclude the version changes.


d3 and nvd3 dependency

hi,
i'm using jspm to install packages in my project.
'd3' and 'nvd3' are devDependencies in your 'package.json', so when i'm installing the package these 2 dependencies will not be installed in my project even though they are required, so i need to install them separately.
is it possible to change the dependencies so these 2 will be installed when im installing your package?
thanks!

My bad.. sure, I'll change it!


COS-43: setting up keycloak integration

The current status of this work is that you are able to log in and out of both services as expected. I am still looking at two issues

Sometimes, on the first run, I get a InvalidAuthenticityToken on both sites.
On the MSPSDS, calls to current_user are causing the site to crash.

Is it worth me merging master before or after I fix these issues?

I'd probably try and merge master...

I have now merged and both of the above issues have been resolved.

Pull Request Test Coverage Report for Build 2108

22 of 26 (84.62%)  changed or added relevant lines in 10 files are covered.
876 unchanged lines in 51 files lost coverage.
Overall coverage decreased (-14.3%) to 82.353%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

mspsds-web/app/models/user.rb
1
2
50.0%

cosmetics-web/app/models/concerns/user_service.rb
2
5
40.0%

Files with Coverage Reduction
New Missed Lines
%

mspsds-web/app/models/audit_activity/correspondence/add.rb
1
80.0%

mspsds-web/test/system_test_helper.rb
1
66.67%

mspsds-web/test/controllers/investigations/products_controller_test.rb
1
96.55%

mspsds-web/app/models/audit_activity/test/result.rb
1
87.5%

mspsds-web/app/helpers/activity_helper.rb
1
66.67%

mspsds-web/app/models/correspondence/email.rb
1
75.0%

mspsds-web/test/controllers/investigations/businesses_controller_test.rb
1
96.77%

mspsds-web/test/system/keycloak_test.rb
1
94.12%

mspsds-web/app/models/audit_activity/test/request.rb
1
87.5%

mspsds-web/app/controllers/investigations/activities_controller.rb
1
88.89%

Totals

Change from base Build 2082:
-14.3%

Covered Lines:
140

Relevant Lines:
170

💛  - Coveralls


Support 'featureConfig' query flag in the client JS and propagate the config to the iframe request.

Support 'featureConfig' query flag in the client JS and propagate the config to the iframe request.

Codecov Report

Merging #1 into master will decrease coverage by 0.27%.
The diff coverage is 54.54%.

@@            Coverage Diff             @@
##           master       #1      +/-   ##
==========================================
- Coverage   92.45%   92.17%   -0.28%
==========================================
  Files          34       34
  Lines        1510     1521      +11
  Branches      206      208       +2
==========================================
+ Hits         1396     1402       +6
- Misses        114      119       +5

Impacted Files
Coverage Δ

ts/api/provider_frame_elem.ts
96.22% <100%> (+0.22%)
:arrow_up:

ts/api/api.ts
89.3% <37.5%> (-1.77%)
:arrow_down:

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 cac589a...90c8b81. Read the comment docs.


[api-docs] Update OAuth2.md to clarify application.commands scope (#6324)

A new commit was made into the api-docs repo: https://github.com/discord/discord-api-docs/commit/ee0af636df12745453236c3a1c9d478b9f02ee11

Update OAuth2.md

Update docs/topics/OAuth2.md

Co-authored-by: shay<EMAIL_ADDRESS>This is a bot created issue.

@Fleny113 do we care about these kind of doc updates? If so I'm down to keep it open.


Dashboard AD/OpenLDAP/FreeIPA upgrade errors

Rancher | v2.5-87006de30625c046523a329b03ea2580db35fb57-head
Addressing 2 issues in this ticket
Issue1

Enable auth on rancher - v2.5.5 from auth providers on ember UI
Upgrade the build to v2.5-head
From the dashboard auth providers, the AD/FreeIPA/OpenLDAP are active
Click on edit config/Disable config throws error:

{"type":"error","links":{},"code":"InvalidCSRFToken","message":"Invalid CSRF token","status":422,"type":"error"}
Issue2

Install rancher v2.5.5
Upgrade to rancher v2.5-87006de30625c046523a329b03ea2580db35fb57-head
Enable AD/OpenLDAP/FreeIPA by providing the required details
Auth fails with the same error as above:

{"baseType":"error","code":"InvalidCSRFToken","message":"Invalid CSRF token","status":422,"type":"error"}
{"type":"error","links":{},"code":"InvalidCSRFToken","message":"Invalid CSRF token","status":422,"type":"error"}

https://github.com/rancher/dashboard/issues/2114

Before upgrade version 2.5.6
after upgrade version v2.5-head[v2.5-51253e556b6cc3d9b285b559c4ff043e2301d687-head]
Test case1:

Create a cluster with 1 etcd, 1 cp and 3 worker nodes
Enable auth providers from the ember UI
Upgrade the rancher version to latest v2.5-head[v2.5-51253e556b6cc3d9b285b559c4ff043e2301d687-head]
Issue 'crf token mentioned in the description is not seen'
Edit the auth provider enabled from the step2 through cluster --> cluster explorer -> Users and Auth providers

Test case2:
Create a cluster with 1 etcd, 1 cp and 3 worker nodes
Upgrade to latest 2.5-head[v2.5-51253e556b6cc3d9b285b559c4ff043e2301d687-head]
Enable authentication from the cluster --> cluster explorer --> Users and Auth providers --> enable AD and logout, login as a standard user.
Issue is not reproducible in the above two cases. So, closing this issue and will re-open if the issue is seen again

I ran into what this was.. The cookie parser attempts to parse the value as JSON by default and returns the string if it fails to parse.
Most of the time this doesn't matter, but if the CSRF value happens to be all numbers except an e somewhere in the middle (e.g. 841e840671) then that is valid JSON for a number in scientific notation... 841 * 10^840671.  Which will not necessarily stringify back to the same value when sent as the x-api-csrf header, so the server sees they don't match and (correctly) rejects the request.
I changed it to not try to do JSON parsing in this case.
It's not easy to calculate but the chances of this happening on its own are on the order of 1 in 2000.  To test this, use the dev tools Application tab -> Cookies ->  tab, you can directly set the cookie value there.  Then watch for the same value to go out the x-api-csrf header on any post.

On v2.5-41f173ae93c6692f44054fe0b02ce93bd3056a9f-head
From developer tools --> application tab --> cookies --> changed the csrf token with letter e

Verified the header has the x-api-csrf reflect the same value set above
From cluster explorer --> Users and authentication --> Auth providers --> OpenLDAP --> enable auth --> goes through without any issues

On 2.5.7 enable auth from global --> Authentication
Upgrade to the v2.5-41f173a and changed the cookie as above --> edit the config values and no errors are seen


I want to choose terminal when I open a new terminal

I havn't found any same request.
There is a default terminal that I could switch it.
So it starts with default terminal whenever I start a terminal.
But I cannot open a specific terminal whenever I want.
Could you please add a feature that,
I can choose which terminal to start when I open a terminal ?

duplicate of #45444


User human readable dates in log files

Currently:
lxc<PHONE_NUMBER>3206.433 INFO     lxc_cgfsng - cgfsng.c:do_secondstage_mounts_if_needed:1292 - Remounted /usr/lib/x86_64-linux-gnu/lxc/sys/fs/cgroup/blkio read-only

Something like this would be friendlier and more useful:
2016-04-12 14:32:06.43 '.433' there?
Does one really want to know the '.433' seconds there?

Not a LXD bug, those timestamps come from LXC. And yeah, I'm not against some formatting there.
Feel free to file this at github.com/lxc/lxc if it's not been reported yet.


Add doctrine-rst-parser functional build tests

In the doctrine/rst-parser we introduced a new category of functional tests that work on a complete document tree:
https://github.com/doctrine/rst-parser/tree/0.6.x/tests/Functional/tests/build
This kind of test is not supported in guides yet as far as I can tell

It would be good to have some tests that are testing more than isolated nodes. So I would welcome a PR for this.


Can't npm install for current master version

I am a bit new to the node and nodejs. While I tried to build frontend myself, I encounter following error. Would appreciate some help. Thanks!
I tried to npm install at the current master branch at streamlit-agraph/streamlit_agraph/frontend
I am using npm 8.19.4 and npm is installed via nodejs 16.20.2 via asdf
Here is log of my error.
>>> npm install
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving<EMAIL_ADDRESS>npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/typescript
npm ERR!   dev<EMAIL_ADDRESS>from the root project
npm ERR!   peer<EMAIL_ADDRESS>|| >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta" from<EMAIL_ADDRESS>npm ERR!   node_modules/tsutils
npm ERR<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!     node_modules/@typescript-eslint/eslint-plugin
npm ERR!       peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!       node_modules/eslint-config-react-app
npm ERR<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!         node_modules/react-scripts
npm ERR!       1 more (react-scripts)
npm ERR<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!     node_modules/@typescript-eslint/typescript-estree
npm ERR<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!       node_modules/@typescript-eslint/experimental-utils
npm ERR<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!         node_modules/@typescript-eslint/eslint-plugin
npm ERR!         1 more (@typescript-eslint/parser)
npm ERR!       1 more (@typescript-eslint/parser)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peerOptional<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR! node_modules/react-scripts
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Conflicting peer dependency<EMAIL_ADDRESS>npm ERR! node_modules/typescript
npm ERR!   peerOptional<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!   node_modules/react-scripts
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See ~/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:

I am in the attempt to to separate functionality of DoubleClickedEvent vs the title that showed up when mouseover. Plan to add a field call link that only used for DoubleClickedEvent.

Thanks for the suggestions.
I figured it out and update all dependencies. I also rewrote the code using the Functional hook since the code in the current repo doesn't work correctly with the library specified. Will find a time to post it and make a PR. Thanks for looking into this.

@cshuphys do you have a fork? I'm trying to make changes and can't build the frontend either

I push my version to my fork and made the pull request here https://github.com/ChrisDelClea/streamlit-agraph/pull/59


What does the no_active_items plugin do and can be used for? - documentation

The no_active_items plugin does not have an explanation how the plugin can be used / what is it's behavior.
Maybe documenting the steps to see the behavior.

@oyejorge
Sorry, but I still do not understand what the behavior of the plugin is. I see no difference with any other example, e.g. "Basic examples / "
Is the plugin working as expected in the example?
Can you please explain the steps to see the behavior.


How to install this tool on Windows?

How to install this command line tool on Windows? Sorry if this is a rookie question, command line rookie here.

Figured it out.
Just gotta navigate to the folder with the downloaded exe through cmd, or add the path to environment variables.


Include build.sh and example.jsonnet download

I've tripped on this while trying to compile kube-prometheus manifests. On master branch instructions point to release-0.4 which is not compatible with build.sh and example.jsonnet from master branch.
Ref: https://github.com/prometheus-operator/kube-prometheus/issues/902

Nice!


Display language names in Choose language box

At present, language codes are displayed in box.

Done.


Notifications?

With disqus, commenters will receive an email on reply. Does this exist in isso or does only the author get notifications? My use case is that emails are required and smtp is set up

I saw you found the PR. I close here.


RVM Component appears to not update when only children have changes

Found in v1.0.0
Here is the simplest case:
import React from "react";
import { render } from "react-dom";
import { Component } from "react-view-model";
import DefineMap from "can-define/map/map";

const ViewModel = DefineMap.extend({
  init() {
    setInterval(() => {
      this.time = new Date().toString();
    }, 1000);
  },
  time: {
    default: new Date().toString()
  }
});

class ProblemComponent extends Component {
  render() {
    const { time } = this.viewModel;
    return (

        <Wrapper>
          Wrapped: {time}
        </Wrapper>
        NOT Wrapped: {time}

    );
  }
}
ProblemComponent.ViewModel = ViewModel;

class Wrapper extends Component {
  render() {
    return
{this.props.children}
;
  }
}

render(<ProblemComponent />, document.getElementById("app"));

You have ProblemComponent, whose viewModel will periodically update it's time property, which in turns re-renders the ProblemComponent. If the Wrapper component is a RVM.Component, and uses this.props.children in it's render(), wrapped elements will not update, result seen below:

The interesting thing is if the Wrapper component from the example is just a React component, and not an RVM component, everything works fine.
SO, it's like RVM, is not re-rendering, when the only thing that has changed is the props.children

Maybe related maybe not but, in the 2.0.0 branch with connect() a similar problem may be occurring when you have accessors on the children property, something like this:
class RVMWrapper extends Component {
  render() {
    return
{this.props.children}
;
  }
}
class VM extends BaseViewModel {
  get children() {
    console.log(this._children);
    return this._children;
  }
  set children(children) {
    this._children = children;
  }
}
var Wrapper = connect(VM)(RVMWrapper);

Maybe this is not a big because, I just realized, if I change the example Wrapper component to:
class Wrapper extends Component {
  render() {
    return
{this.viewModel.children}
;
  }
}

...it works... which makes sense, because the property read from this.props is not observable, so it would have to be on this.viewModel, which, tough it feels funny, actually makes sense.

I can confirm - if using a RVM component to render children, you should use this.viewModel.children and all is well. This makes sense and I'd vote to close this in favor of documentation.


Fix keyboard above input fields

Description
Move keyboard avoiding view up into screen object to wrap the scroll view. When it was nested it wasn't working.
Main changes in the Screen file. The other changes are removing the lower level keyboard avoiding view and then reformatting.
On what platform have you tested the change?

[x] Android - Emulator
[ ] Android - Physical device
[x] iOS - Emulator
[ ] iOS - Physical device

Out of scope and potential follow-up
The Screen component needs a general fix up. We need to not wrap everything in a scroll view and also handle the header navigation better.

The diff tool in InteliJ / Webstorm is far better for this kind of thing....


Part Segmentation Object

Hi,
On the bodypix github page, the javascript bodypix version shows a keypoint skeleton which seems to be an allPoses field returned from the segmentPerson() call. Is it possible to get these pose locations from the python api? (ie a list of keypoints with their (x,y) locations)

Hi @zebediz
That hasn't been ported yet. But would be a good addition. Would you be interested in working on a PR?


New resiliency features

What
In order to reproduce more complex failure patterns such as metastable failures, local resiliency features should be implemented. Aligned with the objective of Hexagon, these features should be configurable.
Specifications
Request Retry
Different types of request retry policies must be configurable for all secondary adapters when applicable.
It may not be applicable for secondary adapters that are not bound by network I/O
For starters, following retry policy should be implemented:

Simple retries: configurable wait duration and max number of attempts
Exponential backoff: configurable number of max attempts / duration

other retry policies to consider:

linkerd implements budget based retry policy.
gRPC client provides similar budget based approaches, where the number of retries are capped by success rate.

Request Timeout
Arbitral duration of request timeout must be configurable for all secondary adapters when applicable.
It may not be applicable for secondary adapters that are not bound by network I/O
It is assumed that the same amount of timeout will be applied to the retries.
Error Handling
Error Handling must be configurable for all primary adapters.
Whether the primary adapter return error upon encountering secondary adapter error should be configurable based on which secondary adapter has failed, so the user can design cases where partial failures are ignored.
It is assumed that the secondary adapter produces error when all retries are expired

Work plan

[ ] 1. Error propagation
[ ] 2. Retries and timeouts for synchronous protocols
[ ] 3. Consider the implementaions for other protocols

Note
on gRPC retry policy
gRPC specifies quite strict retry parameter constraints in the specification, meaning that there is little to no room for retry misconfigurations. It enforces exponential backoffs with 5 max attempts.
on regular http (REST) retry policy
hashicorp provides thin wrapper for net/http package that provides API for custom retry function.
The default retry policy is set to exponential backoff.


gnuplot_kernel constantly dies on Anaconda 3 jupyter notebook UI (windows64)

Hi
Im new to Jupyter and python. Having used Gnuplot in the past, I thought it was nice to try and integrate it in Jupyter, and installed the kernel. with pip.  I have been trying to use it in Anaconda 3 (Python 3.6)
But: I had forgotten I did not have gnuplot on this machine, but the kernel installed anyway.
After this I have tried to uninstall, install Gnuplot 5.2, and re-install with pip, and then create a conda environment with gnuplot_kernel and python 3.6. I got no visible kernel in the notebook UI.
Then I added a kernel.json (as in https://github.com/has2k1/gnuplot_kernel/issues/5). Then I can start a gnuplot_kernel, but it dies all the time.
I suspect that it never finds the gnuplot program, but I cannot find the place where it refers to the gnuplot installation. Can you help?
Regards, Michael

Hi and thanks!
I had figured out that, and verified that gnuplot is accessible through the path (os.environ[‘PATH’])
My question is if the design of the kernel actually suits windows. Do you know whether it is tested on windows?
Thanks!
From: Hassan Kibirige<EMAIL_ADDRESS>Sent: Sunday, January 28, 2018 11:16 PM
To: has2k1/gnuplot_kernel<EMAIL_ADDRESS>Cc: Michael Preminger<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [has2k1/gnuplot_kernel] gnuplot_kernel constantly dies on Anaconda 3 jupyter notebook UI (windows64) (#10)
The kernel cannot find the gnuplot executable. Make sure gnuplot can be found using $ which gnuplot.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/has2k1/gnuplot_kernel/issues/10#issuecomment-361101170, or mute the threadhttps://github.com/notifications/unsubscribe-auth/APYpTGt5Q4FnU3T3w46Tj0uJq07erMwUks5tPPGagaJpZM4RvO5Z.

I have not tested it on windows. Can you try
import pexpect

pexpect.which('gnuplot')
...
pexpect.which('some-other-executable(s)')

I think the issue has something to do with the the path settings.


IMU sample in Unity

Hello there,
I'm sure this is being worked on, but is there an available sample using IMU data in Unity? I'd like to try a simple experiment where the point cloud is counter-rotated by IMU data to stabilize the horizon. I'm a little confused about where to start. I think I want to add a POSE profile to my stream reader, but I'm unsure what kind of format/dimensions this "frame" should be.
Thanks!

As you observed, there is not a Unity sample program for IMU data yet.  A RealSense community member has contributed a non-Unity program for rotating the point cloud with the IMU though.  Looking at this code may provide some useful insights.
https://github.com/GruffyPuffy/imutest

Thanks for the quick reply. I am currently looking through samples and actually encountered this one already. It seems that the Unity wrapper has a slightly different way of accessing frame data than the C++ examples, so I'm still not entirely sure how to proceed. I will keep searching, and if/when I have a solution I will post here.

The C# wrapper doesn't yet contain the high-level APIs to support IMU, but I can point you in the right direction for low-level access.

We are working on better IMU support across the SDK.
The plans is:
a. Motion and Pose frames support in C++ and python (Done)
b. IMU integration with existing C++ examples  (Done)
c. Adding new C++ examples with IMU (WIP)
d. Adjust the .NET wrapper and add to Unity example

Thanks for the update.

Thanks for the update. I probably won't have time to try @ogoshen's suggestion, but thanks for that, too! :)


Connect to SQL Server using Service Principal

Is your feature request related to a problem? Please describe.
Looking for the ability to connect to Azure SQLMI from Azure Data Studio using Service Principal. Currently the only options available for,

Active Directory
Windows Authentication
SQL Login

Would love to have the capability to connect through Service Principal as well.
Describe the solution or feature you'd like
Provide an additional option in the Authentication Type dropdown or provide a text field to specify the AuthenticationType string.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Any idea on when this might be implemented?

Very soon!

@cheenamalhotra any updates on this?

This is a authentication method I'd also like to see supported


Migrate to PlatformIO for firmware builds

Currently the firmware is built using the Arduino IDE toolset. Doc's already mentioned he uses VSCode for editing, which makes migrating to PlatformIO a tempting possibility.
Advantages to using PlatformIO:

Tight integration with Visual Studio Code
node.js-style library management, with the ability to specify version numbers and have PlatformIO handle dependency installation
Broader long-term platform flexibility, e.g. potentially building for STM32 processors in the future

elral66 did a first pass at this work in a forked repo that included a nice refactoring of the board-specific #defines. Using that as a base I did a proof of concept conversion which is available at https://github.com/danecreekphotography/MobiFlight-Connector/tree/platformio. It focuses on the core work from elral66's branch that makes things build with PlatformIO:

Add platform.ini definitions for the Mega2560, Micro, and Uno
Migrate to PlatformIO library management for Servo, LedControl, AccelStepper, LiquidCrystal_I2C, and EEPROMEx
Refactor the device-specific settings into dedicated MFBoard.h files per platform

I've verified this proof of concept works with a Mega2560. I haven't spent any time looking at what builds might look like from the command line for release process scripts. I also haven't verified the servos still work, nor have I tested the other boards.

cool! really interesting. I have to read up on platform.io - but in general i wanted a package manager for the Arduino libs for a long time now. So if this brings this functionality i am already sold on it.

In theory it is probably possible to migrate the remaining libraries over to be managed by the package manager but it would require work from someone who is more familiar with the firmware code. The remaining libraries are:

Button
CmdMessenger (see comments from elral66: https://discord.com/channels/608690978081210392/745361245808492584/881635140856578078)
RotaryEncoder (there are many options on PlatformIO but they are quite different than the included one so I didn't touch it)
RotaryEncoderAcceleration
TicksPerSecond

Button and TicksPerSecond don't appear to be actual libraries so it may make sense to just move that code into src and include.

The button library is not used (any more?), everything is handled in MFButton.cpp, so there is no need for the external library.
The choosen RotaryEncoder lib returns absolute values and the MFEndcoder.cpp handles more or less relative ones. But it is pretty good working and is not as much as the button lib RAM consuming. So I would keep it in the \lib folder (or use an own function within MFEncoder.cpp which would be in the /src folder like the other MFxyz.cpp)
The tickspersecond lib is just used for the encoder acceleration and could be easily exchanged by the millis() function. My opinion is that this tickspersecond lib is not really required
similar applies to the EEPROMEx lib. Up to now I haven't understood why this lib is used. If you break down the used functions,  then only the basic EEPROM functions EEPROM.get(addr, data); and EEPROM.put(addr, data); is used. This can be done in MFEEPROM.cpp and no external lib would be required (would make the transfer to other platforms a little  bit easier)
In the platformio.ini are some defines which are not required (-DUSE_INTERRUPT / -DUSE_REPEAT_FUNCTION). They control some of my modifications ;)
Same for some definitions in the Boards.h (#define MF_MCP_SUPPORT 1 / #define MF_JOYSTICK_SUPPORT 0) ;)

The result is that the libs, which are still in "development", will be handled by the package manager from PaltformIO. Just the CMDMessenger will remain in the /lib folder (see above).

Thanks for the additional info @elral! I just pushed a change to remove the unused definitions in platformio.ini and boards.h. I thought I caught them all but obviously missed a few.

I tried removing the Button library but it looks like the RotaryEncoder library depends on it.

Why not CmdMessenger? What's the reason we can't manage it as a dependency?

@danecreekphotography
Ups, sorry my mistake with the button lib. Indeed it is needed. Was too late for me yesterday, had my rotaryencoder functions in mind. Let me think about it, I might have an idea.
@Mobiflight
cmdmessanger.h from MF differs from the original one (latest from github) for the atmega2560:
  #define MESSENGERBUFFERSIZE 96  // The maximum length of the buffer (default: 64)
As far as I remember the LCD output is not working with 64 (at least there was one output).
Unfortenutely this is not capsulated with #ifndef ....
So for the first time installation and at every update this will be overwritten with the original definition if you have changed it within /.pio/libdebs/.../CmdMesseger/CmdMessenger.h
But I am wondering that for the Uno and ProMicro it is defined as
 #define MESSENGERBUFFERSIZE 64  // The maximum length of the buffer (default: 64)
Is this max. MESSENGERBUFFERSIZE controlled within the connector? If so and you can use it the same way as for the Uno and ProMicro, then it can be managed via PlatformIO. Or you fork this lib, change the definition and reference to the forked lib.

I forgot to mention, that in the newest CmdMessanger lib two function names have changed:

readIntArg() -> readInt16Arg()
readLongArg() -> readInt32Arg()
So mobiflight.cpp would need some adaptions...

adapting to the newest version would not be a problem. I already had done it locally hoping for memory improvement but i had checked all changes and there was nothing that actually is relevant for MobiFlight.
We can do a pull request for the #ifndef - or fork as you said or make Mobiflight work with the default settings.
I actually think that 4.0 uses a really large buffer setting iirc.

I just double checked it, with
#define MESSENGERBUFFERSIZE 64
the LCD is not working using the test function from the connector. 64 is the "standard" in the lib and used for the Uno and ProMicro (both I haven't tested). Increasing to 96 as per the include file from MF the LCD works.
And yes, the buffer size is also increased heavily which will consume RAM. Should be also redefined to the existing buffer size.
There are Pull request and issues from 2017 on, so I think there is not a big chance that a pull request will be implemented (soon)...

I moved the required functions from button and rotaryencoder libs to MFEncoder.cpp. Therefore these libs are no longer required and I do not expect changes in these libs anymore (at least which would be required for MF). Interesting side effect is that this has reduced the RAM usage by ~210byte and Flash by ~2,1kB!?? If you are interested I can provide the changes and an additional test would be good if especially the FAST detection works with all encoder types.
Not surprisingly forking the CMDMessenger lib, imlementing these small changes and including it in PlatformIO works like a charm.

@elral can you open a PR against my repo/branch with those changes? We can consolidate so there's one PR eventually for Sebastian to review.
https://github.com/danecreekphotography/MobiFlight-Connector/tree/platformio

I am just wondering what the best strategy is?

Setting up a reposority with minimal changes which are required to use PlatformIO. And the next steps to merge all changes via pull requests. Each pull request can be reviewed by itself. Could make things easier.
Merge all existing changes in your reposority and make a big pull request which has to be reviewed.
??

This question goes best to @MobiFlight-Admin, as Sebastian has to decide if PlatformIO should be used and Sebastian has at least the initial work to setup a reposority. This could be a clone from https://github.com/elral/MobiFlight-FirmwareSource where only the required changes for PlatformIO are implemented, everything else is untouched.

I am fine with having a dedicated project & repository for the firmware.
We could simply transfer the repository to the MobiFlight github

Today I learned transferring GitHub repo ownership is a thing. Ok, I should have some time later today and will set up a new repo in my account called MobiFlight-FirmwareSource and move the base PlatformIO work I've done over there, then can arrange to transfer with Seb. After that we can do a separate pull request to do additional library removal/cleanup.

Initial version is here: https://github.com/danecreekphotography/mobiflight-firmwaresource. This is a copy of what was in my platformio branch off the Mobiflight-Connector repo.

"....move the base PlatformIO work I've done ..."->  which is nearly a copy of my reposority. And things not required are still in.
However, it seems that (due to my lack of english?) I haven't understood how to proceed. Pull requests to the new repo from @danecreekphotography or wait until it is transfered to MF?

"....move the base PlatformIO work I've done ..."-> which is nearly a copy of my reposority.

Yep, it's based on your excellent work as mentioned in the original issue above: "elral66 did a first pass at this work in a forked repo that included a nice refactoring of the board-specific #defines. Using that as a base I did a proof of concept conversion which is available at https://github.com/danecreekphotography/MobiFlight-Connector/tree/platformio. It focuses on the core work from elral66's branch that makes things build with PlatformIO".
Let me sync with Sebastian over in Discord to figure out if he'd like to migrate the repo over before all the necessary changes are in or wait until it's all good to go.

This is done!


Reducing Stripe fees on small transactions

This has probably already been discussed but I can't find an issue for it.
Right now, a $5 contribution to an OSC Collective incurs essentially 20% in fees, because Stripe takes such a huge proportion of small transactions. I know we have #1916 about batching credit card payments, but this doesn't help someone who only gives a small amount to one Collective each month.
@znarf @kewitz @Betree - are you aware of anything that could help reduce Stripe fees for small transactions or can you point me in the right direction to look into? I know this isn't a huge priority for us because by deinfition small transactions don't make us much money, but I wonder how services with heaps of small transactions like Patreon handle this and if there's a better way for us?

On bundling, from https://support.stripe.com/questions/batch-multiple-transactions-from-one-customer-into-a-single-charge:

To do this, you first need to save the customer’s payment information. Then you can either:

Bundle the payments locally and create a charge automatically through your own system,
or
Subscribe your customer to a $0/month plan and create an invoice item for each small payment. By default, Stripe will pay the invoice automatically with each billing cycle.

Perhaps the $0/month subscription is a "hack" that could be easier to implement.

Radiohead have been a major donor for Extinction Rebellion via Open Collective, which will make a huge difference to the poorest communities who would otherwise have been hit by climate change.

On bundling, from https://support.stripe.com/questions/batch-multiple-transactions-from-one-customer-into-a-single-charge:

This could eventually help for people making multiple small contributions in a short timeframe, but that's probably a tiny percentage. It won't help for people who just contribute $3 to a single collective.

How do Patreon, Kickstarter, GoFundMe etc deal with this? They must process millions of one-off small credit card transactions.

I'm not sure, and not an expert in credit cards payments but from what I see online the main way to do that is to negotiate with the payment providers (in our case, Stripe).

@piamancini do we have a contact at Stripe or any chance of negotiating with them on fees? We're probably small potatoes for them but it can't hurt to ask.

@kewitz @piamancini have we learned anything more about reducing Stripe fees?

just to say i took a look at this and, on OSC's side, there are about 1,200 contributors with multiple subscriptions (that we could save a little money on) half of them have only two subscriptions though, and a less than 100 have enough that I think we would worry about. Open Collective Foundation has almost no users with >2 subscriptions. This is just a very quick analysis, I'm not sure how much we would save users in fees by batching these payments. That would be the next part.
For me this makes sense if we implement a basket for casual contributions also. Until then it might be on the fence.

I too itch about this when I make a small contribution. Ideally I'd like to be able to load a lump sum (eg: $200) of money into my personal OC account (pay one processor fee and in my case also one currency conversion fee!) and then distribute it to collectives from there (with no additional processing fees required) ... to be like a funder.
I am guessing this is tricky territory:

OpenCollective is now legally responsible for holding funds (If I remember correctly PayPal got into trouble with this in its early days when it essentially became in the eyes of the legislator an unlicensed and uninsured bank).
Funds are really held by fiscal hosts and not by "Open Collective" ... and I would like to be free to contribute to any collective on the platform (this may be largely mitigated if there was some kind of an inter-host-reconciliation process).


Custom installation directory?

Discussed in https://github.com/sebdelsol/sfvip-all/discussions/19

Originally posted by amezhong1 March 24, 2024
Can we have the option to customize the directory which sfvip-all is installed to? I like to keep my software in a specific folder, and every time sfvip-all updates it installs to the default directory. Thank you!

Added in v<IP_ADDRESS>


KNOX-2834 - Bumped angular/cli to 14.2.8 in admin-ui, token-generation-ui, homepage-ui, token-management-ui, webshell-ui

What changes were proposed in this pull request?
The angular/cli dependency of all angular applications have been upgraded to 14.2.8. Since the projects have been on 1.7.4 (except webshell-ui),  other dependencies, files, configs and some code needed to be changed too.
Main changes:

changed TSLint to ESLint
switched angular-cli.json to angular.json
some files were not linted, they are now linted and formatted
sweetalert is changed to sweetalert2
nodejs version is now v14.15.0
commented out xml parsing of shared providers in resource-detail.component
the div that hosts the topology ace-editor is now hidden (it was not generated before) until it is not needed, so that
it's ViewChild can be set.

How was this patch tested?
I manually tested the features:
Token-management:

generated normal token
generated impersonated token
disabled impersonation
set server-managed to false
disabled and revoked the created tokens

Token-generation:

set server-managed to true and false
set impersonation to true and false
set lifespan.input.enabled to true and false
tried to generate token over the max lifespan limit
generated tokens until reached token limit
authenticated with a generated token

Homepage:

Tried the links
Mouse on service name -> description shows up
When UI services are clicked they navigate to UI URL
When API services are clicked description shows up
Dropdown menus open and close
New topologies appear under the topologies menu

Admin-ui:

Created, deleted, modified service definitions
Created, deleted, modified provider configuration
Created, deleted, modified descriptor
Copied, deleted, modified topology

@smolnar82 @zeroflag

Excellent work @MrtnBalazs ! I'll take a look soon. Thanks, again, for your hard work and contribution to Apache Knox!


Bazel build rules for common

Co-authored-by: John Shepherd<EMAIL_ADDRESS>Signed-off-by: Michael Carroll<EMAIL_ADDRESS>

Closing this, as we're going to keep bazel as a separate branch for now.


Update to AGP 4.1.1 and SDK 30

This took way longer than I'd care to admit to get working.
For future reference, I encountered the following error after updating from AGP 4.0.2 to 4.1.1:
Could not get unknown property 'manifestOutputDirectory' for task ':ext-mangadex:processEnReleaseManifest' of type com.android.build.gradle.tasks.ProcessMultiApkApplicationManifest.

Ultimately, the relevant fix (based on https://github.com/Tencent/tinker/pull/1476) was:
- manifestOutputDirectory.get().asFile
+ multiApkManifestOutputDirectory.get().asFile


Rare crash that only occurs in prod

New Issue Checklist

I have read the guidelines for contributing and I understand:

[x] My issue is happening in the latest version of SideMenu.
[x] My issue was not solved in the README.
[x] My issue can not be answered on stackoverflow.com.
[x] My issue is not a request for new functionality that I am unwilling to build and contribute with a pull request.
[?] My issue is reproducible in the demo project.

Issue Description
While I can't reproduce this in any of my dev/test environments, once ~10k people or so have used the latest patch this issue crops up again at a rate of 1-2 crashes a day. My current theory is it seems to be related to launching the app from a push notification, and sometimes these force-unwraps fail:
menuView?.frame.origin.x = presentDirection == .left ? -menuView!.frame.width : mainView!.frame.width

Any thoughts?

@RamblinWreck77 That specific line of code is not the source of a problem. If menuView is nil on the left hand side of the =, then the right hand side will never be evaluated.
Please post the call-stack of the crash. I will reopen this if necessary.


imagemagick: 7.1.0-29 -> 7.1.0-30

Description of changes
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/)
22.05 Release Notes (or backporting 21.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
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 169597 run on x86_64-linux 1

6 packages built:

imagemagick
imagemagickBig
imagemagick_light
perlPackages.ImageMagick
python310.pkgs.Wand
python39.pkgs.Wand


@bentley/imodeljs-native 4.4.3

@Mergifyio backport master

why are there so many change files?
Probably rush change instead of rush change -b origin/release/4.4.x?


add package argument to Read_Mapping() so it can be used in gsm.endpoints

@andersonjake1988 @mattroumaya Seems like this maybe isn't needed?  If it's still important, please provide some additional detail and sample code in discussion #1514


Password reset not working, keeps redirecting to insert new password page

I have the email being sent to the user, but when said user tries to reset their password they get redirected back to the "create new password" form with no notice and without actually having their password reset.
My project is up on github at: https://github.com/cjstewart88/Tubalr
Projects URL: www.tubalr.com
Any help would be much appreciated, thanks!

I have a question going on StackOverflow and added some logging:
http://stackoverflow.com/questions/8617701/why-isnt-devise-reseting-user-passwords-after-user-puts-a-new-one-in


'CameraData.renderer' is inaccessible due to its protection level

Describe the bug
When importing shader, using URP, the following errors occur:

"Assets\FlatKit[Render Pipeline] URP\RenderFeatures\Fog\FlatKitFog.cs(37,67): error CS0122: 'CameraData.renderer' is inaccessible due to its protection level"
"Assets\FlatKit[Render Pipeline] URP\RenderFeatures\Outline\FlatKitOutline.cs(41,67): error CS0122: 'CameraData.renderer' is inaccessible due to its protection level"

To Reproduce
Steps to reproduce the behavior:

New Project (2019.4.30f1)
Import URP, Import Shader from package manager
Install URP shader package from asset

Expected behavior
Successful shader import
Unity details:

Flat Kit version: 2.8.1
Unity version: 2019.4.30f1
Graphics Pipeline: URP
URP version: 7.7.1
Development OS: Windows 10

Hi! This happens because Flat Kit requires at least Unity 2020 and URP 10.
If upgrading Unity is not an option, please email us to send you an older version of Flat Kit.

Hi,
Upgrading is not an option as I am using Uni PC which I do not have admin privileges on.  Please send over the older version. Which version is more stable for 2019.4.30f1 (built-in rendering or URP) & which would you recommend using on open-world projects?
All the best,
Joe

From: dustyroom-studio @.>
Sent: 21 January 2022 08:06
To: Dustyroom/flat-kit-doc @.>
Cc: scruffduff @.>; Author @.>
Subject: Re: [Dustyroom/flat-kit-doc] 'CameraData.renderer' is inaccessible due to its protection level (Issue #66)
Hi! This happens because Flat Kit requires at least Unity 2020 and URP 10.
If upgrading Unity is not an option, please email us to send you an older version of Flat Kit.
—
Reply to this email directly, view it on GitHubhttps://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FDustyroom%2Fflat-kit-doc%2Fissues%2F66%23issuecomment-1018644924&data=04|01||b9957a42d48c4f98444608d9dcf7f314|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637783779768064606|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=cHk1PHh4qbU4ws%2BzNjx%2FaHMcP9OeSNo3vzTxH3scBSI%3D&reserved=0, or unsubscribehttps://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAQHOEI54KYM3CDMFNHLSX6TUXF77LANCNFSM5MPVH25Q&data=04|01||b9957a42d48c4f98444608d9dcf7f314|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637783779768064606|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=o4FyU5l%2Bk2CFGNNgKRWbo4JyH8KojdbHGJfIEXYNtv8%3D&reserved=0.
Triage notifications on the go with GitHub Mobile for iOShttps://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04|01||b9957a42d48c4f98444608d9dcf7f314|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637783779768220841|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=wsjvcB1poeyjvOynmkjo1UgqBwHARLLtncfkLaxIEOw%3D&reserved=0 or Androidhttps://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04|01||b9957a42d48c4f98444608d9dcf7f314|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637783779768220841|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=hb6WoG0AKoUy54GJw4ucRMCE%2Bl0QM2oM1cGuxTRZS%2BI%3D&reserved=0.
You are receiving this because you authored the thread.Message ID: @.***>

Hi, no problem at all. Please let us know your invoice number at
@.***
On Mon, Jan 24, 2022, 07:08 scruffduff @.***> wrote:

Hi,
Upgrading is not an option as I am using Uni PC which I do not have admin
privileges on. Please send over the older version. Which version is more
stable for 2019.4.30f1 (built-in rendering or URP) & which would you
recommend using on open-world projects?
All the best,
Joe

From: dustyroom-studio @.>
Sent: 21 January 2022 08:06
To: Dustyroom/flat-kit-doc @.>
Cc: scruffduff @.>; Author @.>
Subject: Re: [Dustyroom/flat-kit-doc] 'CameraData.renderer' is
inaccessible due to its protection level (Issue #66)
Hi! This happens because Flat Kit requires at least Unity 2020 and URP 10.
If upgrading Unity is not an option, please email us to send you an older
version of Flat Kit.
—
Reply to this email directly, view it on GitHub<
https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FDustyroom%2Fflat-kit-doc%2Fissues%2F66%23issuecomment-1018644924&data=04|01||b9957a42d48c4f98444608d9dcf7f314|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637783779768064606|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=cHk1PHh4qbU4ws%2BzNjx%2FaHMcP9OeSNo3vzTxH3scBSI%3D&reserved=0>,
or unsubscribe<
https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAQHOEI54KYM3CDMFNHLSX6TUXF77LANCNFSM5MPVH25Q&data=04|01||b9957a42d48c4f98444608d9dcf7f314|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637783779768064606|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=o4FyU5l%2Bk2CFGNNgKRWbo4JyH8KojdbHGJfIEXYNtv8%3D&reserved=0

.
Triage notifications on the go with GitHub Mobile for iOS<
https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04|01||b9957a42d48c4f98444608d9dcf7f314|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637783779768220841|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=wsjvcB1poeyjvOynmkjo1UgqBwHARLLtncfkLaxIEOw%3D&reserved=0>
or Android<
https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04|01||b9957a42d48c4f98444608d9dcf7f314|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637783779768220841|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=hb6WoG0AKoUy54GJw4ucRMCE%2Bl0QM2oM1cGuxTRZS%2BI%3D&reserved=0
.
You are receiving this because you authored the thread.Message ID:
@.***>

—
Reply to this email directly, view it on GitHub
https://github.com/Dustyroom/flat-kit-doc/issues/66#issuecomment-1020198897,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARZVF6XXYCYHNLUWCGXHACDUXVTOTANCNFSM5MPVH25Q
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you commented.Message ID:
@.***>

Thank you! Please still email us for the package, we cannot share it here.
On Mon, Jan 24, 2022, 07:37 scruffduff @.***> wrote:

Invoice No:
IN010101569928

From: dustyroom-studio @.>
Sent: 24 January 2022 07:35
To: Dustyroom/flat-kit-doc @.>
Cc: scruffduff @.>; Author @.>
Subject: Re: [Dustyroom/flat-kit-doc] 'CameraData.renderer' is
inaccessible due to its protection level (Issue #66)
Hi, no problem at all. Please let us know your invoice number at
@.***
On Mon, Jan 24, 2022, 07:08 scruffduff @.***> wrote:

Hi,
Upgrading is not an option as I am using Uni PC which I do not have admin
privileges on. Please send over the older version. Which version is more
stable for 2019.4.30f1 (built-in rendering or URP) & which would you
recommend using on open-world projects?
All the best,
Joe

From: dustyroom-studio @.>
Sent: 21 January 2022 08:06
To: Dustyroom/flat-kit-doc @.>
Cc: scruffduff @.>; Author @.>
Subject: Re: [Dustyroom/flat-kit-doc] 'CameraData.renderer' is
inaccessible due to its protection level (Issue #66)
Hi! This happens because Flat Kit requires at least Unity 2020 and URP

If upgrading Unity is not an option, please email us to send you an older
version of Flat Kit.
—
Reply to this email directly, view it on GitHub<

https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FDustyroom%2Fflat-kit-doc%2Fissues%2F66%23issuecomment-1018644924&data=04|01||b9957a42d48c4f98444608d9dcf7f314|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637783779768064606|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=cHk1PHh4qbU4ws%2BzNjx%2FaHMcP9OeSNo3vzTxH3scBSI%3D&reserved=0

,
or unsubscribe<

https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAQHOEI54KYM3CDMFNHLSX6TUXF77LANCNFSM5MPVH25Q&data=04|01||b9957a42d48c4f98444608d9dcf7f314|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637783779768064606|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=o4FyU5l%2Bk2CFGNNgKRWbo4JyH8KojdbHGJfIEXYNtv8%3D&reserved=0

.
Triage notifications on the go with GitHub Mobile for iOS<

https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04|01||b9957a42d48c4f98444608d9dcf7f314|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637783779768220841|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=wsjvcB1poeyjvOynmkjo1UgqBwHARLLtncfkLaxIEOw%3D&reserved=0

or Android<

https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04|01||b9957a42d48c4f98444608d9dcf7f314|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637783779768220841|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=hb6WoG0AKoUy54GJw4ucRMCE%2Bl0QM2oM1cGuxTRZS%2BI%3D&reserved=0

.
You are receiving this because you authored the thread.Message ID:
@.***>

—
Reply to this email directly, view it on GitHub
<
https://github.com/Dustyroom/flat-kit-doc/issues/66#issuecomment-1020198897
,
or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/ARZVF6XXYCYHNLUWCGXHACDUXVTOTANCNFSM5MPVH25Q
.
Triage notifications on the go with GitHub Mobile for iOS
<
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
<
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub
.
You are receiving this because you commented.Message ID:
@.***>

—
Reply to this email directly, view it on GitHub<
https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FDustyroom%2Fflat-kit-doc%2Fissues%2F66%23issuecomment-1020228638&data=04|01||56e89ea671fb471466fe08d9df4f2778|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637786353314752938|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=jKoVsxxDxKPKwdd1lFRGdfTy6z4PwJqS5nOdJKh5g6s%3D&reserved=0>,
or unsubscribe<
https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAQHOEI53Q5TOLPETNMDLIWTUXVWUDANCNFSM5MPVH25Q&data=04|01||56e89ea671fb471466fe08d9df4f2778|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637786353314911310|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=VQMIGQvZt9rkG6RTNDulJf5rgADHCctdYgI7hURwaUw%3D&reserved=0

.
Triage notifications on the go with GitHub Mobile for iOS<
https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04|01||56e89ea671fb471466fe08d9df4f2778|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637786353314911310|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=%2FwSURZHgBjfB%2FRqLVXwO0qCd06N3polPLjIEAmhx1yg%3D&reserved=0>
or Android<
https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04|01||56e89ea671fb471466fe08d9df4f2778|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637786353314921857|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=mnciuqwJtlDE16mcD4WRjcUyb7wwg6WqvTgaaOuNYoA%3D&reserved=0
.
You are receiving this because you authored the thread.Message ID:
@.***>

—
Reply to this email directly, view it on GitHub
https://github.com/Dustyroom/flat-kit-doc/issues/66#issuecomment-1020230633,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARZVF6WBWWP2JS4FGP45V3LUXVW3VANCNFSM5MPVH25Q
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you commented.Message ID:
@.***>


Change MAXIMUM_BLOCK_WEIGHT to one second and re calculate GAS_PER_SECOND

PR checklist

[ ] Describe the added/changed/fixed/removed behaviour
[ ] Tag related issue(s)
[ ] Add appropriate unit tests and/or integration tests to the integration test repository

already done with v1 upgrade.


chore(FX-3972): track analytics for Trending Sort A/B test

The type of this PR is: Chore
Related PR #10186
This PR solves FX-3972
Unleash flag: trending-sort-for-artist-artwork-grids
Description

Experiment name: trending-sort-for-artist-artwork-grids
Variant names: control and experiment

Thanks for addressing this! Let's make sure before releasing this, that the production strategies in unleash match the development ones 🎉 merge when you feel ready!


WebSocket in child process gets stuck on Windows

Compile the following sources:
# hello.cr
require "http"

ws = HTTP::WebSocket.new("ws://<IP_ADDRESS>:55000/")
puts "Hello world"

# client.cr
require "http"

ws = HTTP::WebSocket.new("ws://<IP_ADDRESS>:55000/")
ws.send("x")

# server.cr
require "http"

ws_handler = HTTP::WebSocketHandler.new do |ws, ctx|
  ws.on_message do |message|
    p message
    begin
      process = Process.new({% if flag?(:win32) %} "hello.exe" {% else %} "./hello" {% end %}, [] of String, output: :inherit)
      p process
      p process.wait
    rescue ex
      p ex
    end
  end
end
server = HTTP::Server.new [ws_handler]
address = server.bind_tcp "<IP_ADDRESS>", 55000
puts "Listening on http://#{address}"
server.listen

Run server.exe and then client.exe. On Linux Hello world and Process::Status[0] will be printed on the server. On Windows the client returns, but hello.exe gets stuck and server.exe is also stuck waiting on it; subsequent runs of the client will get stuck.
I believe this is also why the playground doesn't work on Windows.

I believe this is just another consequence of Process#wait being a blocking call, due to LibC.WaitForSingleObject; if the on_message handler blocks the current thread, the HTTP::Server#listen fiber never gets to run, so the child process will never progress.


fix ssl default

Closes #327
The boto3 client parameter use_ssl defaults to True. Setting it to None here contradicts the default and causes uploads to SSL-only buckets to fail.
Allowing SSL only on S3 is AWS best practice https://docs.aws.amazon.com/AmazonS3/latest/userguide/security-best-practices.html and therefore, this should work without the need to explicitly set use_ssl to true in the client parameters.
Checklist

[x] References any related issue by including "Closes #" or "Closes ".

If no issue exists and your change is not a small fix, please create an issue first.

[x] Includes tests or only affects documentation.
[x] Passes pre-commit checks.

Run pre-commit install && pre-commit run --all locally for formatting and linting.

[ ] Includes screenshots of documentation updates.

Run mkdocs serve view documentation locally.

[x] Summarizes PR's changes in CHANGELOG.md

@desertaxle would it be possible to get some feedback on this?


Add Links/Badges to KDoc

The library already has KDoc artifacts published. We can add links and/or badges to README to make it discoverable using javadoc.io. There are examples of such badges on https://github.com/makiftutuncu/e.

This is covered by #4, closing.


Add query to path on client side.

Seems it is possible to add a query string to path name in client module (line 37 in code base). Because some APIs want it. For example, Infusionsoft. It using URIs like https://api.infusionsoft.com/crm/xmlrpc/v1?access_token=123abc.

Ran into this exact issue with the exact same company.
I've got a PR floating out there that handles this.


Installation fails on Windows 7 x64 with Python 3.8.2

The command pip install numba leads to this error:
Collecting numba
  Using cached https://files.pythonhosted.org/packages/c3/81/453926761dc00b02b22d1cd6935aaa8a736fca011d33615315bc7c132788/numba-0.48.0.tar.gz
Collecting llvmlite<0.32.0,>=0.31.0dev0 (from numba)
  Using cached https://files.pythonhosted.org/packages/17/fc/da81203725cb22d53e4f819374043bbfe3327831f3cb4388a3c020d7a497/llvmlite-0.31.0.tar.gz
Requirement already satisfied: numpy>=1.15 in d:\temp\mica\lib\site-packages (from numba) (1.18.2)
Requirement already satisfied: setuptools in d:\temp\mica\lib\site-packages\setuptools-40.8.0-py3.8.egg (from numba) (40.8.0)
Installing collected packages: llvmlite, numba
  Running setup.py install for llvmlite: started
    Running setup.py install for llvmlite: finished with status 'error'
    Complete output from command D:\Temp\MICA\Scripts\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\WILLI\\AppData\\Local\\Temp\\pip-install-x37fv0l1\\llvmlite\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\WILLI\AppData\Local\Temp\pip-record-z6pxzzr3\install-record.txt --single-version-externally-managed --compile --install-headers D:\Temp\MICA\include\site\python3.8\llvmlite:
    running install
    running build
    got version from file C:\Users\WILLI\AppData\Local\Temp\pip-install-x37fv0l1\llvmlite\llvmlite/_version.py {'version': '0.31.0', 'full': 'fe7d985f6421d87f613bd414479d29d912771562'}
    running build_ext
    D:\Temp\MICA\Scripts\python.exe C:\Users\WILLI\AppData\Local\Temp\pip-install-x37fv0l1\llvmlite\ffi\build.py
    Trying generator 'Visual Studio 14 2015'
    Traceback (most recent call last):
      File "C:\Users\WILLI\AppData\Local\Temp\pip-install-x37fv0l1\llvmlite\ffi\build.py", line 168, in <module>
        main()
      File "C:\Users\WILLI\AppData\Local\Temp\pip-install-x37fv0l1\llvmlite\ffi\build.py", line 156, in main
        main_win32()
      File "C:\Users\WILLI\AppData\Local\Temp\pip-install-x37fv0l1\llvmlite\ffi\build.py", line 88, in main_win32
        generator = find_win32_generator()
      File "C:\Users\WILLI\AppData\Local\Temp\pip-install-x37fv0l1\llvmlite\ffi\build.py", line 76, in find_win32_generator
        try_cmake(cmake_dir, build_dir, generator)
      File "C:\Users\WILLI\AppData\Local\Temp\pip-install-x37fv0l1\llvmlite\ffi\build.py", line 28, in try_cmake
        subprocess.check_call(['cmake', '-G', generator, cmake_dir])
      File "C:\Python\lib\subprocess.py", line 359, in check_call
        retcode = call(*popenargs, **kwargs)
      File "C:\Python\lib\subprocess.py", line 340, in call
        with Popen(*popenargs, **kwargs) as p:
      File "C:\Python\lib\subprocess.py", line 854, in __init__
        self._execute_child(args, executable, preexec_fn, close_fds,
      File "C:\Python\lib\subprocess.py", line 1307, in _execute_child
        hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
    FileNotFoundError: [WinError 2] Das System kann die angegebene Datei nicht finden
    error: command 'D:\\Temp\\MICA\\Scripts\\python.exe' failed with exit status 1

Have can I get numba work?

It was a problem of my python interpreter and not of your package. After fixing my interpreter, the installation was succesful.
Sry for opening this issue.

@LostInDarkMath thanks for following up and closing the issue again! If you hit any snags in future please don't hesitate to open issues.


2.0-preview: extend & property override, issue with effects

Description
When extending a Polymer element in 2.0, cannot use computed for overridden property that is used in some other computed property  in original element.
Live Demo
http://jsbin.com/namabazoke/1/edit?html,output
Expected Results
Computed effect works
Actual Results
Computed effect doesn't work and in fact makes the original property undefined.
Browsers Affected

[ X] Chrome
Not sure about others

Versions

Polymer: 2.0-preview
webcomponents: v1

Notes
I believe the problem is this if statement.
If I understand it correctly, it checks whether property is used in any computed bindings and doesn't create an effect if it is, which doesn't make much sense. If that's true, then there is also a bug with other effects.

Fixed via https://github.com/Polymer/polymer/pull/4132.


Feature

For this project, I covered the following requirements. 👇

[ ] Created a new Rails API app called 'greetings-rails'.

[ ] Initialized project with Git.

[ ] Made sure that the project has a Postgres database set up.

[ ] Created a table for storing messages and created 10 different greetings using Seed.rb.

[ ] Created an API endpoint that selects a random greeting from Messages table

[ ] Fix linter errors

[ ] Updated Readme file

FrontEnd PR (https://github.com/jonas-45/hello-rails-front-end/pull/1)

Thank you @MahmoudBakr23 for your time an effort in rewieving my work


Migrate to swift-tools-support-core.

This removes the dependency on the private libraries inside SwiftPM
that we've been using for argument parsing, file streams, and other
things, and uses the recently factored out swift-tools-support-core
repository instead which is intended to be publicly consumed.

cc @dylansturg


Fix a few typos in tutorial 1

<Ctrl-C> gets interpreted as an HTML tag as is so we need to put it in backtics.
An alternative is to escape the angle brackets with backslashes (\<Ctrl-C\>), but I think this doesn't look as good.

Whoops, thanks!
Another solution could be to use github's fancy <kbd> tag: Ctrl+C.

I didn't know about that, good to know.  I like that best of all.

Thanks again!


Added Unturned to English sites list.

https://blog.smartlydressedgames.com/2024/04/25/find-the-official-unturned-wiki-on-wiki-gg/
Official dev supported and endorsed wiki.

I can confirm that unturned.wiki.gg is our new official wiki for Unturned.
—Community manager for Smartly Dressed Games


get_topics call should have an optional includeSchemas arg, to correspond with REST API call

Description

get_topics call should have an optional includeSchemas arg, to correspond with REST API call

Code in question: https://github.com/foxglove/py-data-platform/blob/main/foxglove_data_platform/client.py#L450

I left this out since it can potentially be a fair bit of data and not that useful for typical users of this library that might accidentally turn this on. Maybe I'm guessing wrong?

Fixed in https://github.com/foxglove/py-data-platform/pull/72


Create native coercion of C#/MS style 'semver' format x.y.z.a

Numerous C#/.NET Core projects  use a major.minor.revision.build format, which closely emulates semver. python-semver correctly rejects these as non-valid semver strings, and one is left coercing the version into a semver format. (Thus my need for .isvalid() in previous issue)
Would it be possible to add a flag to semver's parser methods like coerce=True to have it attempt to glean a semver number by chopping off excess bits?

Looks quite similar to #210

@kenneaal Hi Kenneth, thanks for your issue.
I had this idea also in my mind, but we've agreed to document it in our documentation and not integrating it into the library. See the respective issue #210 for details.
You may find this little section useful:
https://python-semver.readthedocs.io/en/latest/usage.html#dealing-with-invalid-versions


Late chunking gets bad result when use Vietnamese Embedding Model

Thank you for the great work! I have tried using late chunking with the Vietnamese Embedding Model dangvantuan/vietnamese-embedding-LongContext, but I've observed poor results compared to traditional chunking methods.
I've included my Colab notebook here. If you have some time, could you please take a look? Your feedback would be greatly appreciated!
Thank you!

This model is using CLS pooling as far as I can see. Unfortunately, late chunking only works with models that are trained with mean pooling.


Adding a update button

Whenever we want to update a password , instead of save button there should be an update button .
So what we can do is change the text inside the button to change between "save" and "update" based on if the form has id or not .

Assigned @Nimrat0199


Update create-retention-policies.md

Removed the line "Support for adding searchable properties (for example, subject:) is coming soon." as it is live and document  keyword-queries-and-search-conditions.md is updated with property details

@JohanFreelancer9 Please copy review

Issue#https://github.com/MicrosoftDocs/microsoft-365-docs/issues/2562

@cabailey Please merge this PR. Thanks.

#sign-off  Confirmed by engineering


Gardener landscape not working after 0.6 release

Hi Daniel,
I'm struggling to make switcher load Gardener landscape(s) after 0.6 release. I'm aware of the new AdminKubeconfigRequest, which I have enabled at apiserver. I also tested the functionality of AdminKubeconfigRequest via creating the request manually and also via gardenlogin kubeconfig which also works.
When I downgrade back to 0.5 then gardener landscape load correctly.
Only extra output I get, when running switch with debug.
switcher --debug --no-index --show-preview=false
DEBU[0000] Using kubeconfig path from flag /Users/..../.kube/config
DEBU[0000] Added store with kind gardener and ID gardener.garden-.....
DEBU[0000] Added store with kind filesystem and ID filesystem.env-and-flag
which seem to me be that gardener being added correctly
any hint would be great
many thanks
Pavel

Hi,
I'll have a look. Unfortunately, the debug logs are not helpful.
Interesting, I use the Gardener store daily in our SAP landscapes.
Have you tried using gardenctlv2 and did that work?
I am asking because they use the same AdminKubeconfigRequest underneath.

Hi Daniel, sorry for getting back so late. I think I figured it out, or more like your pointing to gardenctl-v2 have helped.
So apparently gctl-v2 requires ... still (https://github.com/gardener/gardenctl-v2/pull/149) to have existing kubeconfigs in virtual garden since i was getting errors like
Error: failed to get kubeconfig for shoot garden-devel/dev: failed to get configmap garden-devel/dev.kubeconfig: configmaps "dev.kubeconfig" not found
that lead me to the gardenlogin-controller-manager which we don't have deployed.
So just to test it I've created CM kubeconfig manually and gctl-v2 worked and also switcher showed the target cluster. So partially it's my fault, but on the other hand it is not much documented :-)


Correct specified number range

The guide refers to the challenge specifying the number range as 0-99, when really the challenge itself only asks for the exclusion of all numbers. 0-9 is confirmed to work, and it seems less confusing for someone looking up clarification/solutions.

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] All the files I changed are in the same world language (for example: only English changes, or only Chinese changes, etc.)
[x] My changes do not use shortened URLs or affiliate links.

Closes #XXXXX

The PR opened before this one #34615 made the changes you are suggesting in this one. Since this PR does not have any other changes, I am closing it. If you feel that it should remain open, please add further clarification and reopen it.
Duplicate of #34615


UI Suggestions

[x] Rename graduation progress to something more relevant
[x] Rename major progress to something more relevant
[x] Bold year titles
[x] New planner button should have some text
[ ] Change course colors in light/dark theme
[x] Add titles, tooltips, and headings as needed

I added tooltips instead of renaming graduation progress, major progress, and the add planner button


Cannot find module 'fsevent'

I am not 100% sure this issue is caused by watchify, looks like its caused by chokidar.
E:\Repos\ghost-eston\>npm install watchify --save-dev
npm WARN `git config --get remote.origin.url` returned wrong result (git://githu
b.com/pipobscure/fsevents) undefined
npm WARN `git config --get remote.origin.url` returned wrong result (git://githu
b.com/pipobscure/fsevents) undefined
npm WARN `git config --get remote.origin.url` returned wrong result (git@github.
com:pipobscure/fsevents) undefined
npm WARN `git config --get remote.origin.url` returned wrong result (git@github.
com:pipobscure/fsevents) undefined
npm ERR! git clone git@github.com:pipobscure/fsevents undefined
npm ERR! git clone git@github.com:pipobscure/fsevents undefined
npm WARN optional dep failed, continuing fsevents@pipobscure/fsevents#7dcdf9fa3f
8956610fd6f69f72c67bace2de7138
<EMAIL_ADDRESS>watchify
├──<EMAIL_ADDRESS><EMAIL_ADDRESS>└──<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>
When running gulp
E:\Repos\ghost-eston>gulp
[15:24:06] Using gulpfile E:\Repos\ghost-eston\gulpfile.js
[15:24:06] Starting 'watch'...
Cannot find module 'fsevents' from 'E:\Repos\ghost-eston\node_modules\watchify\n
ode_modules\chokidar'

I am new to this, so it maybe my mistake.

Try a newer version of watchify. If you're still having problems, please submit a new issue.


Replace Google-libphonenumber with libphonenumber-js

Expected Behavior
Use https://github.com/catamphetamine/libphonenumber-js  130 kilobytes (55 kB code + 75 kB sufficient metadata) In @celo/utils package
Current Behavior
Google Libphonenumber is a very big package  530 kilobytes (330 kB code + 200 kB full metadata). and is used by @celo/utils which means it can be included in packages very easily without us noticing.

started some work on this. https://github.com/celo-org/celo-monorepo/tree/aaronmgdr/libphone2 Its a bit more tricky than i thought it would be


Bump Dependencies #2749296222

Bumps dependencies for product-is. Link : https://github.com/wso2/product-is/actions/runs/2749296222

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.jenkins-is-staging seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


cleanup ntptutorial

Now that ntptutorial doesn't have a lean_lib, all the failures on reservoir are spurious, right? Can we discard them?

@semorrison No, they are not. ntptutorial is on a very old lean version, so the new version failures are correct. However, ntptutorial was  successfully built today with its version of Lean, so it now has a gold checkmark.


fix: Updated issue template and issue reporter description length

https://github.com/microsoft/vscode/issues/234254

@microsoft-github-policy-service agree


Internal tags are not marked as "internal" when added via the PSM

If you add a tag which starts with a hash via the PSM, it does not get marked "internal". Instead, it gets marked as public.
If you add a tag which starts with a hash via the tag settings page, or if you the name of a tag which should have been internal, it gets correctly marked as internal.
Steps to Reproduce

Open any post
Add a brand-new tag which starts with a hash
Visit the tag settings page, and see that your new tag is not internal
Edit the name of the tag on the tag settings page, see the internal label pop up
Try adding a new internal tag on the tag settings page, see the internal label appear

Note: The UI is accurately reflecting the database. The problem is that the tag's visibility property is not being set to "internal" before being sent to the server.
We probably need to consider adding logic to both the client AND server to make sure this behaves as expected. Originally I believe it was only implemented client side?
Technical details:

Ghost Version: master

We probably need to consider adding logic to both the client AND server to make sure this behaves as expected. Originally I believe it was only implemented client side?
@kirrg001 the client-side fix is done, there's still no server-side logic for making new #tags "internal" when they are created. Shall we keep this issue open or open a new one with details of the server-side changes required?

@kirrg001 the client-side fix is done, there's still no server-side logic for making new #tags "internal" when they are created. Shall we keep this issue open or open a new one with details of the server-side changes required?

Yeah let's keep it open. Will look into a server side protection asap.


Remove row class from score-graph element

On /scoreboard, the main scoreboard graph has an issue with the width of the tooltip that displays when you hover over a team, where the tooltip is 100% the width of the page.

This issue is because there is a row class, which in Bootstrap sets all child elements to use a width of 100%. Since the tooltip is positioned absolutely, it uses the width of the next highest positioned element, which in this case is the document body. The easiest fix is to remove the row class, which is what the score graphs on the individual team/user profiles already do.
In individual team/user scoreboard graphs, the row class is not present, which creates a valid width tooltip:

Thank you so much for figuring this one out! It was bugging me as well!


Implement Bookmark Feature

In the deploy preview, when I am clicking on Bookmarks in Navbar, it doesn't show anything on the page, just a blank white. Please have a look.

Hey @saikeshari , I think that is happening because you might not have added any bookmarks. Can you please try adding some cities to your bookmarks and check again.

In the deploy preview, when I am clicking on Bookmarks in Navbar, it doesn't show anything on the page, just a blank white. Please have a look.

Hey @saikeshari , I think that is happening because you might not have added any bookmarks. Can you please try adding some cities to your bookmarks and check again.

Yes, when I add bookmarks, it is visible.
But it should display that no bookmarks added when it is empty instead of showing a blank white screen. Please do these changes.

Yes, when I add bookmarks, it is visible. But it should display that no bookmarks added when it is empty instead of showing a blank white screen. Please do these changes.

That's right...I'll make a fix for that now


flutter logs sometimes shows blank lines

Like:
android: I/flutter :                                                │     │
android: I/flutter :                                                │     └─child 2: RenderPadding relayoutSubtreeRoot=up1
android: I/flutter :                                                │       │ owner: Padding ← Flexible ← Row ← Listener ← ⋯
android:
android: I/flutter :                                                │       │ parentData: offset=Offset(56.0, 12.0); flex=1
android: I/flutter :                                                │       │ constraints: BoxConstraints(w=248.0, 0.0<=h<=48.0)
android: I/flutter :                                                │       │ size: Size(248.0, 24.0)
android: I/flutter :                                                │       │ padding: EdgeDims(0.0, 16.0, 0.0, 16.0)

Not sure what's up with that but we should probably just strip out blank lines.

Fixed, I think? Not sure how to verify, but this looks similar to a bug I addressed.


docs: proxy - add excludes via NO_PROXY

You're right, it's an instruction for libs and tool based on curl. I'll add an update.

We tested it w/ the PHP AWS SDK, boto3 and awscli (ok, based on boto3).


Syncing may cause item NBT order to be scrambled

When syncing items with NBT data (such as custom items from ItemsAdder), there is a chance that the NBT order may get scrambled. This causes items to fail to stack properly, and some plugins that require precise item matching may not recognize the items correctly.

Plugin version: 3.6.6

Server: Paper 1.20.1 thx :D

Please attempt to reproduce with the latest plugin version


feat: remove all barrel files

:tada: This PR is included in version 0.21.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


publish to Quicklisp or ultra lisp?

This is just the library I was looking for (and almost started writing from scratch). Can you publish this to quicklisp or ultralisp?

Yes, I will publish it for you. I'll need a few days for that.

Awesome, thanks!

I am trying to publish it in quicklisp here.

https://github.com/quicklisp/quicklisp-projects/commit/3f7d3530326a0b237cde91d629f2cc836c11987f Looks like it was added, can you check please?

Yes! it is available now. Thanks!


Docs are no longer current

The code example at the beginning of this document refers to services.AddIdentity and services.ConfigureApplicationCookie, but guidance on other Microsoft documentation pages (as well as the code created by the current VS templates) uses services.AddDefaultIdentity and services.Configure<CookiePolicyOptions>

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

ID: 1f4b263b-e8f9-8b44-8c13-5bc0128fb1c9
Version Independent ID: 985774b6-a165-f22c-c354-6c12a6783063
Content: Migrate authentication and Identity to ASP.NET Core 2.0
Content Source: aspnetcore/migration/1x-to-2x/identity-2x.md
Product: aspnet-core
Technology: aspnetcore-migration
GitHub Login: @scottaddie
Microsoft Alias: scaddie

@haok please review

I think the migration docs are fine, as those APIs all still work, they might not be the same APIs that the current templates use, but the document is about migration to 2.0 correct?

but the document is about migration to 2.0 correct?

Correct.
@scottaddie  do you want to track this for your migration to 3.0 docs?


Add dynamic index and cluster setting for concurrent segment search

Description
Add dynamic cluster and index setting to control concurrent segment search. Index level setting overrides cluster level setting.
Related Issues
Resolves #7356
Check List

[x] New functionality includes testing.

[x] All tests pass

[x] New functionality has been documented.

[x] New functionality has javadoc added

[x] Commits are signed per the DCO using --signoff
[x] Commit changes are listed out in CHANGELOG.md file (See: Changelog)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Ran a benchmark to check if adding a settings check in each search request would impact latency noticeably
without_setting.txt
with_setting.txt

This PR is not picking up latest changes on the branch for some reason, going to close and re-open a new one.


Added in Pane Names in Edit Mode

This PR allows the pane name to show in edit mode so admins would know to which pane they were dragging modules

looks good


Fix another ghost message list bug

See https://github.com/k9mail/k-9/issues/4452#issuecomment-594467053

I tested the fix, it's working! Thanks! 👍


[ONEM-23840] Support-for-serving-gzip-compressed-files

*.gz files served from filesystem will have GZIP Content-Encoding set and Conntent-Type remains same.
bundle.js.gz from filesystem would have the following:

Content-Type: application/javascript
Content-Encoding: GZIP

Blackduck scan failure details
Summary: 0 violations, 0 files pending approval, 1 file pending identification.


Control aspects of component PVC creation

[kind/Enhancement]
I would love to see some control over the automatically created PVC during "odo create / odo push". Especially the following aspects should be controllable by flags:

storage class
PVC size
PVC name

Why the storage class? There might be multiple storage classes with different quotas available to a developer. It is beneficial for sure to let the developer pick the storage class.
Why the PVC size? As far as I know, the default size is 1GB. Depending on the use case that might be too much and also limiting if one has to cope with tight storage quotas.
Why the PVC name? Depending on the storage class and dynamic provisioning engine, the length of the PVC and PV might be a limiting factor. e.g. NetApps trident backs PVs with qtrees and a length limit applies. With the current naming convention of ODO and (to a higher degree) trident itself, it is very likely that the limit is exceeded and the PVC remains unbound. I'm not suggesting a naming convention change in ODO but rather full control of the PVC name via a cli flag.

It makes sense to have this configurable, I agree. I remember that we discussed this already somewhere, but can't find the issue :-(
We need to figure out how to do this properly. This is something that should be hidden for normal uses. Most of the users won't care about this, and they shouldn't even need to know that there is PVC. Or what PVC is.
We might put this as odo preference option. This would mean that that user can configure this for his odo instance. I would like to avoid adding this as a flag for odo component create

odo preference set SourceVolumeSize 1G
odo preference set SourceVolumeClass standard

or

odo preference set SourcePVCSize 1G
odo preference set SourcePVCClass standard

Not sure about the name. Currently, we automatically generate its name based on the component name and application name to ensure that there are no collisions. Allowing users to modify name will create another overhead to handle collisions.
If just the length of the generated name is the issue, I would look for another pattern for PVC name generation to limit the length, rather than allowing the user to control it.
ping @jorgemoralespou

One aspect that might be important, given that in Online environments PVCs are expensive, could be to have a shared PVC for all the odo pods, although that would only work with RWX type of PVCs, which is not what most Online platforms provide, which typically is Block.
This is going to be a limiting factor for the future, and some alternatives should need to be looked at moving forward, as we moved into adding server side components.
For now, I would think that the name should not be configurable but related to the component, but the size should be. Not sure about the PVC class, as that depends on what's available on the cluster, and a standard class could not be there AFAIK. The size for sure, should be configurable, with the smaller default possible, so we can then provide better behavior on those platforms that allocate provisioning dynamically and can fit smaller sizes. Claiming for 1Gi by default means that even if there's smaller storage, it would not be used. But in any case, I think that the best fit size is something that we will come up as we use the tool more, so sounds reasonable to have a default that will guarantee it works.
For the preference name, I would not use PVC as that seems very related to Kube knowledge, but Volume.

Related to the name, AFAIK, the name is for the PVC which is a Kubernetes object, but the name for the underlying storage being provisioned by the storage platform is not dictated in any way and assigned by the storage platform itself (I might be wrong). I just tested this on one of my clusters and while the PVC hadd <component-name>-<app-name>-s2idata as name, the PV had something like pvc-15370130-8724-11e9-942e-028eac496444
@geoberle if you see something different with your storage provider, can you detail more?

You are right. Kubernetes does not enforce a specific PV name depending on the PVCs name. Bu it’s up to he storage provider o pick the name for a dynamically provisioned PV. In case of https://github.com/NetApp/trident the PVCs name influences the PV name and that influences the name of the backing storage, which is length limited. To be honest I’m not aware of any other storage backend doing got that way. All the others I know work as in your example where the PV name is some sort of UUID.

just wanted to follow up on this issue. do you need additional information or discussion to establish a valid usecase?