Introduce Commenting Feature and Simultaneous Coding Environment.

Sorry for being so late in sending the PR. Some of the key highlights of the changes made are:
Note: Please do merge this right now. I would post a script here to migrate existing users files to the new file structure. Or else if you want users to be migrated online as and when required I can make the required changes.

Splits up the server code into multiple modules(like Folder, Comment, Collaboration etc) and removes several avoidable GHC warnings.
The file structure of storing the user data is changed completely so as to accommodate multiple users to code together by referencing a single file and simultaneously allowing users to comment on each others code. (More on this later)
The save as button is removed and instead of that copy button is introduced which does the same job as save as but also handles folders.
Users will now not be able to type straight out into the editor. They would always be required to create a file whenever they want to code.
Users will be required to add a user identifier with each project(can vary with projects) that would appear in the comments. (Question: What to do about existing files? Possible Solution: Online migration instead of offline)

The new file structure:

For each user we maintain a separate folder, namely commentables, which contains all the projects user can comment on but cannot edit. Note that user will not be able to make changes so in such a case I have a introduced a Test Code button which will generate a test environment.
One can copy the projects/folders present in commentables into the editable category of project. Such copying will only preserve source codes. One cannot copy in to commentables directory.
One can move the projects/folders present in commentables into commentables and not outside of that.
To make multiple users to share a common file I introduced the following structure:

Store all of the projects in data/mode/projectContents independent of which user they belong to. The project would be stored with a filename which is a hash of data/mode/projects/userId/userPath. Here userId will be chosen randomly from one of the many users that can edit this file.
To link the users to this project we store the path of that file at user's path and also the user's path at the common location. We can visualize this as a star graph with undirected edges.
All the data of comments will be stored at this new common path and any new user who is added only needs to be associated with this location.

Simultaneous coding:

By default every user will always be in a collaborative coding mode. To collaborate share the url generated by Collaborate button and whoever accesses this link will be given complete access to edit.
Deleting self from a collaborated will not delete it for others. Only the link between the user and project will be deleted.
One can see current and active owners by clicking Current Owners button.

Commenting:

One can comment on a project by clicking on any line in the gutter of the editor.
Handling line comments becomes a bit complicated when the file is changed. After discussing with Michael, I started doing versioning whenever needed.
Previous versions will not be editable but can be accessed and tested out whenever required.
Current commenting system is not interactive in the sense that it does not gives real time updates. But since the backend is set up it should be easy to integrate that using sockets. I would do that in my free time.

Note: For funblocks I have created a new server as it had conflicting handlers due to different file structures.
If I have missed anything new I will comment it below. Suggesstions are welcome. If any problems occur with this PR I will be glad to fix them.

Parv, I started to take a look, but before I get much further, let me address a few high-level questions:

The changes to data/X/projects sound fine, but we will need a migration scripts.
Do you have a running demo server somewhere?  It would help tremendously to see the UI changes and be able to play around with them.  Otherwise, I can try to set up a second server myself.

As I mentioned the migration script we cannot(or preferable not to) add an offline migration script because user identifiers are need to be associated which each file. So, one way would be ask a common user identifier once and for all or to prompt for a user identifier whenever a file that doesn't has a user identifier associated with it. Which one do you prefer?
Also, I do not have a demo server that you would be able to access. I agree you should test them before merging. As of right now I do not have access to any server on which I can host. Can you try to setup one?(I will see if I can arrange one if possible. Having exams next week)

I still need to set up a test server and try this out.  Unfortunately, the last week has been very busy for me.  I'll try to get to this ASAP.


video pauses when changing tab

If I start playing a video and change tab (in chrome) it pauses the video.

is this meant to be a feature or is it indeed a bug?

It's definitely not an intended feature! However I also can't reproduce it in any of the projects I've used react-youtube in.
Which Chrome version are you using?
Does it also happen with the example at http://troybetz.github.io/react-youtube/ for you? If not, could you share a small example project where this does occur?

I'll give it another shot and see if i can get it working as I decided againts using react-youtube because i couldn't solve the issue initially. It doesn't seem to happen on the demo, so that suggests the problem was on my end.
I was using it in rails however using the react-on-rails gem which may have something to do with it. . I will give it another try and see what I can uncover.

It doesn't seem to be doing this anymore, not what the issue was before or what solved it but I guess I'll close this.

OK, np! Thanks for getting back to us. Glad it works now :)


refactor: update to tslib 2.0 and move to direct dependencies

Tslib version is bound to the TypeScript version used to compile the library. Thus, we shouldn't list tslib as a  peerDependencies. This is because, a user can install libraries which have been compiled with older versions of TypeScript and thus require multiple tslib versions to be installed.
While with TS 3.9, we can still use 1.13.0, this isn't a guarantee that tslib will not be breaking in other major versions or future versions of typescript will need a new helper that will be in version 2. In this case we’d be forced to update to tslib but this would break all libraries in the wild that require tslib 1.x. If we keep relying on peerDeps, since only a single version of the lib can be installed that meets the peerDependency criteria.
This change we also be applied to all community libraries using ng-packagr.
Reference: TOOL-1374 and TOOL-1376

Can the commit message actually also contain information about the actual motivation? i.e. TypeScript 3.9 and how this change impacts users in terms of backwards compatibility?
My thinking was that we should just provide a tslib version that works with older TypeScript versions too (to help avoiding duplicate versions). If I read https://github.com/microsoft/tslib/pull/109#issuecomment-628291115 correctly, the latest 1.x tslib version should be compatible with TS 3.9 too. Can we please clarify the motivation?

We are essentially doing this because of the latter point you mentioned. I’ll update the commit message later.
Since in other major versions version there is no guarantee that tslib will not be breaking. For example a helper is removed or signature changed.

Also there might be a case where in future versions of typescript, will need a new helper that will be in version 2. In this case we’d be forced to update to tslib version 2, but this would break all libraries in the wild that require tslib 1.x.  If we keep relying on peerDeps since you would need to install a single version of the library. This change we also be applied to all community libraries using ng-packagr.

@devversion, update the commit msg.

I'm a bit unhappy about the potential tslib duplication that could cause this change in the future, but I'm hoping the CLI will have optimizations / warnings if that is the case? I think it would be always be a red-flag if multiple (but different) tslib versions are bundled, but clearly it's not inevitable (hence I think a good warning might be still useful).

I am happy either, but I actually think that it's perfectly acceptable to have multiple versions of tslib. Displaying a warning in the case, would be in-actionable, because the users cannot take any action, maybe their only action would be to change their dependency or file an issue with the library author to update to the latest version of TypeScript.
In the CLI we did implement deduping logic in webpack. Webpack relies solely on npm/yarn dedupe logic, but that is not enough because same module to be present in multiple places within the node_modules tree. https://github.com/angular/angular-cli/commit/a78d1c3ed14350bbe85bbf01ab30bcf6ad319f29
Currently, there are some libraries out there that use tslib, as direct dependency example RXJS and that makes total sense to me, because RXJS shouldn't need to release a new version that supports TS 3.9, they don't have the constraints that Angular has which is it needs to update due the compiler, LS etc...
Strictly speaking, an Angular 10 application which users TS 3.9, we can consume pure TS libraries which were build with TS 1.0 unless the DTS file has errors.
Also, reading the last comment in https://github.com/microsoft/tslib/pull/109#issuecomment-628291115 I do get the impression that the TS team sees tslib as being a direct dependency.

is perfectly acceptable to have multiple versions of tslib.

Yeah, but there is a difference between perfectly acceptable, and perfect in sense of bundle size. To be clear: I'm not necessarily talking in particular about Angular Material here, as we don't really use any helper in the components.

because the users cannot take any action,

That's not necessarily true. The warning should make people aware, and help them consider updating outdated libraries that depend on old TypeScript helpers.

In the CLI we did implement deduping logic in webpack. Webpack relies solely on npm/yarn dedupe logic, but that is not enough because same module to be present in multiple places within the node_modules tree. angular/angular-cli@a78d1c3

Yeah, I saw that. That is a great addition, but doesn't help with the concrete issue I'm talking about. i.e. two separate required tslib versions.

Currently, there are some libraries out there that use tslib, as direct dependency example RXJS and that makes total sense to me, because RXJS shouldn't need to release a new version that supports TS 3.9, they don't have the constraints that Angular has which is it needs to update due the compiler, LS etc...

To be clear: It also makes sense to me that tslib is an explicit dependency. My point is just that it is super easy to end up with multiple versions that way, and that we could help developers with that, by at printing a warning at least (as an example). These warnings might not be always actionable, but even in those cases they can help with delegating the issue to the library author.


PlayerBoard + PlayerBoardGameBoardFacade

resolves #38
resolves #37

@FilipSivicek budú ešte nejaké testy?

Za mna uz netreba. Malo by byt vsetko otestovane


geph: 4.7.8 -> 4.8.9

Description of changes
Closes https://github.com/NixOS/nixpkgs/pull/240233

Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

@lilyinstarlight Sorry for the late reply. Suggestions are applied.

@ofborg build geph.cli geph.gui
FYI in the future you can use geph.{cli,gui}: ... in the commit title to make ofborg build the non-nonfree one automatically.
https://github.com/NixOS/ofborg#automatic-building
ofborg just got support for brace expansion so i gotta advertise it :)

Sorry for the late reply. I updated geph to 4.9.9.

Updated to 4.10.1.

Thanks!


[ROS2] Command "ros2 launch turtlesim_mimic_launch.py" Do Not Work as the tutorial said

Hi guys,
I am learning about ROS2 on Windows 10 today.
I run the command "ros2 launch turtlesim_mimic_launch.py" as  3 ros2 launch¶, but the terminal outputs:

No launch file supplied

and I want to know the reason.
Any idea and answer will be appreciated!

Hi @songyuc , No launch file supplied means the file is probably not in the directory where you ran the ros2 launch command. On Windows CMD you can enter dir to see what files are in your current directory; use that to check for turtlesim_mimic_launch.py. It could also be possible that the file is there but there's a difference in spelling between the actual file name and the name you wrote after ros2 launch.

Hi @maryaB-osr , I found "ros2 launch launch/turtlesim_mimic_launch.py" worked.

Likely the packages weren't installed properly.  Given this and the other issues you've had, likely you are not following the correct installation and running guide for Windows 10.
But please ask these kinds of questions on https://answers.ros.org.  That way they are all in one place and are easily searchable later. Thanks. Also, it would be better to have one issue rather than 3 different ones.  I'll close this out for now.

Hi @clalancette , I cannot agree with you. I think I have carefully followed the tutorial, and there are some commands which are not correct for Windows 10.

I just double checked, you're right @songyuc ~ The tutorial never explicitly tells you to go into the launch directory to run the command, but it does tell you to put your launch file in there. So yes, trying to launch a file from a different directory will not work.

Hi @maryaB-osr , I found "ros2 launch launch/turtlesim_mimic_launch.py" worked.

I'll go add that!


Reverse before limit

This is (I think) a bug where if you reverse your query (ScanIndexForward) and limit your results, you will get the wrong set of items do to limiting them before reversing them.
I say "I think" because I'm assuming this is not the expected behavior of DynamoDB2, but I guess I could be wrong.
The test I added would fail before:
======================================================================
FAIL: test_dynamodb_table_with_range_key.test_reverse_query
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/Users/joshink/Development/moto/moto/core/models.py", line 71, in wrapper
    result = func(*args, **kwargs)
  File "/Users/joshink/Development/moto/tests/test_dynamodb2/test_dynamodb_table_with_range_key.py", line 594, in test_reverse_query
    [r['created_at'] for r in results].should.equal(expected)
  File "/usr/local/lib/python2.7/site-packages/sure/__init__.py", line 384, in wrapper
    value = func(self, *args, **kw)
  File "/usr/local/lib/python2.7/site-packages/sure/__init__.py", line 660, in equal
    raise error
AssertionError: given
X = [Decimal('3'), Decimal('2'), Decimal('1'), Decimal('0')]
    and
Y = [Decimal('5'), Decimal('4'), Decimal('3'), Decimal('2')]
X[0] != Y[0]

Hopefully this helps!

Whoops, I don't use Python 3. Standby...

Yes, thank you!


update to latest polyfill-libarry

https://github.com/Financial-Times/polyfill-library/compare/v3.53.2...v3.89.4
Don't serve Symbol and Symbol.iterator polyfills to Chrome 49
do not polyfill Symbol.toStringTag on chrome 49
dont serve symbol.iterator or symbol to firefox 36 or above
serve domtokenlist iterators to firefox up to 49
serve symbol.tostring to firefox up to 50
Ensure callback for HTMLCanvasElement.prototype.toBlob is not invoked synchronously
Add URLSearchParams sort method
Add CSS.supports polyfill -- https://github.com/Financial-Times/polyfill-library/commit/01c03adb4b5359c863c19f4f895accb68bd722bd
Serve WeakMap to Firefox versions < 40
Serve WeakMap to Chrome < 44
Serve WeakSet to Firefox versions < 40
Serve WeakSet to Chrome versions < 44
Serve console.markTimeline to Firefox < 75
Serve Symbol.split to firefox < 45
Serve Symbol.unscopables to Firefox < 45
Serve Symbol/species/ to Firefox < 41
Serve Symbol/species/ to Chrome < 51
Serve Symbol/toPrimitive/ to Firefox < 44
Serve Symbol/toPrimitive/ to Firefox < 50
Serve Symbol/toPrimitive/ to Chrome < 49
Serve Symbol/replace/ to Edge < 18
Serve Symbol/unscopables/ to Chrome < 49
Serve Symbol/search/ to Firefox < 45
Serve console/clear/ to Firefox < 39
Serve console/timeline/ to Firefox < 75
Serve console/timeline/ to Chrome < 81
Serve console/timeline/ to Edge < 17
Serve console/timelineEnd/ to Edge < 17
Serve console/timeStamp/ to Edge < 16
Serve console/markTimeline/ to Chrome < 68
Serve console/markTimeline/ to Edge < 17
Serve console/time/ to Chrome < 31
Serve URL to Chrome < 60
Serve URL to Edge < 18
Serve screen/orientation/ to Chrome < 49
Serve matchMedia to Chrome < 37

BIG


Doesn't seem to work with swift?

Tried using the cocoapods integration and it can't find the framework or import anything. Any chance of getting this working with Swift?

Hi
Could you please elaborate the issue for us.
Check your ticket status - https://support.freshdesk.com/helpdesk/tickets/535159
Regards
Kanna
     On Fri, 25 Mar at 11:03 PM
      ,  freshdesk/mobihelp-ios<EMAIL_ADDRESS>wrote:
       Tried using the cocoapods integration and it can't find the framework or import anything. Any chance of getting this working with Swift?

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub

Can you please check the sample listed at  https://github.com/AravinthChandran/Mobihelp-Swift-Sample
It should work fine with Swift. Please reopen this if otherwise.

Got it to work, thank you. Hadn't figured out that I needed to create the Bridging header file, even when installing it via the Pods.


github.com/tus/tusd/tree/master/vendor/golang.org/x/net/trace causes panic

This happens when I'm trying to import both tusd gcsstore and "cloud.google.com/go/storage".
panic: http: multiple registrations for /debug/requests

goroutine 1 [running]:
net/http.(*ServeMux).Handle(0xed3a20, 0xa338bd, 0xf, 0xabca00, 0xa51c38)
        /nix/store/kq7cayifas0w60nac41l12mh3wq7h1cp-go-1.11.5/share/go/src/net/http/server.go:2377 +0x221
net/http.(*ServeMux).HandleFunc(0xed3a20, 0xa338bd, 0xf, 0xa51c38)
        /nix/store/kq7cayifas0w60nac41l12mh3wq7h1cp-go-1.11.5/share/go/src/net/http/server.go:2395 +0x5a
net/http.HandleFunc(0xa338bd, 0xf, 0xa51c38)
        /nix/store/kq7cayifas0w60nac41l12mh3wq7h1cp-go-1.11.5/share/go/src/net/http/server.go:2407 +0x4b
github.com/tus/tusd/vendor/golang.org/x/net/trace.init.0()
        $GOPATH/src/github.com/tus/tusd/vendor/golang.org/x/net/trace/trace.go:115 +0x42

Otherwise I had to manually patch this by doing rm -rf $GOPATH/src/github.com/tus/tusd/vendor/golang.org/x/net/trace.
See also https://github.com/etcd-io/etcd/issues/9357.

Good catch, thanks for pointing this out. We need to find a way to move away from vendoring for the library but still have fixed dependency version for the tusd binary. I will see what we can do.

I experimented with different dependency solution but unfortunately I couldn't get it to work properly. However, I will give this another shot when we start working on the next major release of tusd (https://github.com/tus/tusd/issues/212). Of course, help is always welcome!

I experimented with different dependency solution but unfortunately I couldn't get it to work properly.

@Acconut  did you mean you excluded the option to use golang/dep according to https://github.com/grpc/grpc-go/issues/566#issuecomment-367861533 because it ensures only 1 version of golang.org/x/net/trace instead of having several pinned versions used independently?

I didn't give every possible approach a shot as my time is also limited. But I explicitly decided to not try the dep tool for now as it does not seem to be very future-proof in contrast to the newer Go modules. I am not the only one concerned about this as you can see by the public feedback (https://github.com/golang/dep/issues/1959#issuecomment-407947097, https://github.com/golang/dep/issues/1996, etc). Especially now that Go 1.12 came with a more stable go mod tool I would rather not adopt dep from scratch.
However, dep may help you with your problems since dep removes the vendor directories of your dependencies and therefore removes the duplicate golang.org/x/net/trace. See https://golang.github.io/dep/docs/FAQ.html#a-id-my-dependers-don-t-use-dep-yet-what-should-i-do-a-my-dependers-don-t-use-dep-yet-what-should-i-do:

If your dependers are using dep, this is not a concern, as dep takes care of stripping out nested vendor directories.

Of course, if you want to see if dep solves tusd's problem, I am happy to help you!

I tested with go mod init ... and then go build, and it works! Found that<EMAIL_ADDRESS>vendor/ contains only vendor.json and manifest. And in my go.sum file I see several versions of golang.org/x/net indicating that each dependency use a different version. Not sure how the multiple init is solved though.
I will update https://github.com/grpc/grpc-go/issues/566#issuecomment-367861533 to point people to this solution as well.

Glad to read that you found a solution to your problem. I hope that we can improve the dependency situation for tusd in the future. I'm going to close this issue but feel free to comment or open a new issue if you have more questions.


Add ability to remove service references

Should be in context/right-click menu:

Addressed in #746


⚠ Bofrost.at has degraded performance

In 759229a, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 3105 ms

Resolved: Bofrost.at performance has improved in 9e7c45d.


Make purple more visible

When I tried converting to pdf, the purple looked so dull, close to black 🥲
So I brightened it a bit

Codecov Report

Merging #263 (239b097) into master (566c615) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #263   +/-   ##
=========================================
  Coverage     70.36%   70.36%
  Complexity      650      650
=========================================
  Files            94       94
  Lines          2038     2038
  Branches        277      277
=========================================
  Hits           1434     1434
  Misses          494      494
  Partials        110      110

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


LoadBalancer forwardingRules order

pulumi version: 1.14.1
pulumi-digitalocean version: 1.6.0
SDK: python
pulumi up-ing a stack that contains a DO load balancer, I was surprised it needed to update the load balancer, because I didn't modify anything for that resource. The details show that it considers the order of the rules:
~ digitalocean:index/loadBalancer:LoadBalancer: (update)
    [id=4223f162-a5c0-4ad0-82c2-e3c54befe702]
    [urn=urn:pulumi:xxx::yyy::digitalocean:index/loadBalancer:LoadBalancer::loadbalancer]
    [provider=urn:pulumi:xxx::yyy::pulumi:providers:digitalocean::default_1_6_0::949ace48-ce62-47da-9f42-59dcbd161414]
  ~ forwardingRules: [
      ~ [0]: {
              + certificateId: "49bb2cd0-96e7-4916-a7bd-9b61f35f47fa"
              ~ entryPort    : 80 => 443
              ~ entryProtocol: "http" => "https"
            }
      ~ [1]: {
              - certificateId: "49bb2cd0-96e7-4916-a7bd-9b61f35f47fa"
              ~ entryPort    : 443 => 80
              ~ entryProtocol: "https" => "http"
            }
    ]

It basically wants to exchange element #0 and element #1 in a list, the order of it shouldn't matter, this is weird.

Note: the order seems to ping-pong, it's updating the loadbalancer on each update, exhanging element 0 and 1 each time :-)

Possibly related: https://github.com/pulumi/pulumi-aws/issues/920

@rienafairefr Any chance you can share a repro for this?
The upstream provider implements list semantics, not set semantics, for the forwarding_rules on this resource.  And it does not internally do any ordering - it just uses what comes back from DO.
Which means that order does matter in the user program.
I tried this myself, and as long as the order I have the rules specified matches the oder DO's REST API reports them, I do not see a diff in Pulumi.  If the order I specify them is different, Pulumi and the upstream provider accept trying to make the change, but no change is actually made in DO itself.
From what I can tell - these are not logically ordered in DO (and requesting them in one order, the DO API will return back in a different order).  If so, then the upstream Terraform provider likely needs to use set semantics.

A repro, we can probably shave off some more, but using this:
import pulumi
import pulumi_digitalocean as do

domain = pulumi.config.get_config('repro:domain')

certificate = do.Certificate(
    f'certificate',
    type='lets_encrypt',
    domains=[f'invalid.{domain}']
)

load_balancer = do.LoadBalancer(
    'loadbalancer',
    redirect_http_to_https=True,
    region='ams3',
    forwarding_rules=[
        {
            'certificate_id': certificate.id,
            'entryPort': 443,
            'targetProtocol': 'http',
            'entryProtocol': 'https',
            'targetPort': 80
        },
        {
            'entryPort': 80,
            'targetProtocol': 'http',
            'entryProtocol': 'http',
            'targetPort': 80
        }
    ]
)

pulumi up will want to do an update every time, I thought it would "ping-pong" as I said above, but in fact no, it just can't change the order of the rules, even if it wants to.
OK, I understand the list semantics and I think you've pinpointed the problem. So.... in order to not have this problem, the list that is built in the pulumi program should be in the same order as the order that digitalocean would report back. This can be easily fixed for short lists, but I think people might have more complex forwarding rules than just two items in a list.
I would personally classify that as a bug in upstream (terraform, or digitalocean API), either the forwarding_rule terraform field should have a set semantics  (order shouldn't matter) ? Or the DO API should honor the requests to change the order of the forwarding rules.
As a quick fix for the repro above
    forwarding_rules=[
        {
            'entryPort': 80,
            'targetProtocol': 'http',
            'entryProtocol': 'http',
            'targetPort': 80
        },
        {
            'certificate_id': certificate.id,
            'entryPort': 443,
            'targetProtocol': 'http',
            'entryProtocol': 'https',
            'targetPort': 80
        },
    ]

doesn't need updating every time :+1:

I can confirm that the issue is reproducible using pure terraform, as expected :-)

Great - thanks @rienafairefr.  I'll close this out as a dupe of  https://github.com/terraform-providers/terraform-provider-digitalocean/issues/414 then.

The terraform upsteam issue has been solved, what's the process so that it gets down to pulumi, the fix is released in terraform digitalocean provider 1.17.0 ?


allow to use partial functions to recover from exceptions

@williamboxhall As Future does:
https://github.com/twitter/util/blob/master/util-core/src/main/scala/com/twitter/util/Future.scala#L943
https://github.com/twitter/util/blob/master/util-core/src/main/scala/com/twitter/util/Future.scala#L839

moving fast :)

Looks good


v23.7.0 won't start

Version number Mangio RVC v23.7.0 seems to be completely faulty, the go-web.bat fails to locate runtime...
C:\Users\user\Downloads\Mangio-RVC-Fork-23.7.0>runtime\python.exe infer-web.py --pycmd runtime\python.exe --port 7897
The system cannot find the path specified.
C:\Users\user\Downloads\Mangio-RVC-Fork-23.7.0>pause
Press any key to continue . . .

did you find any solution

Still no solution?


Query with count(distinct case-when) can't hit related mv

Steps to reproduce the behavior (Required)

CREATE TABLE '...'

CREATE TABLE lmh.t0 (
    k1 INT NOT NULL COMMENT "k1",
    k2 INT NOT NULL COMMENT "k2",
    k3 INT NOT NULL COMMENT "k3",
    v1 INT COMMENT "v1"
)
DUPLICATE KEY(k1, k2)
DISTRIBUTED BY HASH(k1) BUCKETS 8;

create mv with bitmap_union

CREATE MATERIALIZED VIEW lmh.t0_mv as
SELECT
k1,k3,bitmap_union(to_bitmap(v1))
from t0
GROUP BY k1,k3;

explain query with count(distinct case-when)

MySQL [lmh]> explain select count(distinct case when k1=1 then v1 end),k3
    -> from lmh.t0
    -> group by k3;
+--------------------------------------------+
| Explain String                             |
+--------------------------------------------+
| PLAN FRAGMENT 0                            |
|  OUTPUT EXPRS:7: count | 3: k3             |
|   PARTITION: RANDOM                        |
|                                            |
|   RESULT SINK                              |
|                                            |
|   2:AGGREGATE (update finalize)            |
|   |  output: multi_distinct_count(6: case) |
|   |  group by: 3: k3                       |
|   |                                        |
|   1:Project                                |
|   |  <slot 3> : 3: k3                      |
|   |  <slot 6> : if(1: k1 = 1, 4: v1, NULL) |
|   |                                        |
|   0:OlapScanNode                           |
|      TABLE: t0                             |
|      PREAGGREGATION: ON                    |
|      partitions=0/1                        |
|      rollup: t0                            |
|      tabletRatio=0/0                       |
|      tabletList=                           |
|      cardinality=1                         |
|      avgRowSize=4.0                        |
|      numNodes=0                            |
+--------------------------------------------+

Expected behavior (Required)
query in step3 can hit t0_mv
Real behavior (Required)
query in step3 use t0
StarRocks version (Required)

You can get the StarRocks version by executing SQL select current_version()
2.3

this can not be supported now. should add some rewrite logic to realize it.

this can not be supported now. should add some rewrite logic to realize it.

OK, and I'm trying to resolve this.


Change the release package style to rocketmq-{version}

What is the purpose of the change
Change the release package style to rocketmq-{version}
Brief changelog
Change the release package style to rocketmq-{version}
Verifying this change
Run "mvn -Prelease-all -DskipTests clean install -U"
Check the package name in the distribution direction.
Follow this checklist to help us incorporate your contribution quickly and easily. Notice, it would be helpful if you could finish the following 5 checklist(the last one is not necessary)before request the community to review your PR.

[x] Make sure there is a Github issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a Github issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[x] Format the pull request title like [ISSUE #123] Fix UnknownException when host config not exist. Each commit in the pull request should have a meaningful subject line and body.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Write necessary unit-test(over 80% coverage) to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add integration-test in test module.
[x] Run mvn -B clean apache-rat:check findbugs:findbugs checkstyle:checkstyle to make sure basic checks pass. Run mvn clean install -DskipITs to make sure unit-test pass. Run mvn clean test-compile failsafe:integration-test  to make sure integration-test pass.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

Coverage increased (+0.006%) to 49.481% when pulling 55d4e381c86f3f3a2d47d53ef4eb269c01ec03d2 on ShannonDing:new-package into b80c26292d1e1424b4246f525bcf1a6e8b96399a on apache:develop.

Greate Patch!This change codes can help committers to release Apache RocketMQ new version easily!

Great detail optimization, awesome.


added wifiscan commands in ricsystem

Edited the types of the RICSysModInfoBLEMan --added rssi.
Added wifiscan/start and results in the ricsystem.

I also edited the RICMiniHCLC.test.ts test --added array access to suppress typescript errors


single term quotes

clarify how search/filter currently dealing with these - may need to adjust

#37


Some HTTP client fixes.

@ceolin Could you please take a look?
@glima This will fix the fedora 32-bits build.

:+1:

@edersondisouza The beauty of vargs, the other calls to this function looks ok.

merged.


remove tested for re-testing

@Garulf i removed the 'Tested' field so it can re-test, but seems to indicate no issues with plugins, even with RollDice. Have I not done the test correctly?

After staring at the same code for 30 minutes I finally noticed what was missing. Fixed in https://github.com/Flow-Launcher/Flow.Launcher.PluginsManifest/pull/105

I should mention I never imagined multiple plugins being submitted at once. The Python testing only runs on the first plugin without a tested field.

Nah, keep it how it is should be fine, I'm just trying to find an easier way to test run the current plugins instead of manually download and run each one.

Hmm.. encoding error failure?

Hmm I wonder if we could winget flow launcher in the CI. Should fix Flox erroring out.

Sorry hijacked to get Flox working


add fixture 'american-dj/revo-4-ir'

add fixture 'american-dj/revo-4-ir'
update register.json

Last updated: 5/24/2017, 2:59:53 PM
Diff plugin outputs test
Modified fixtures/elation/platinum-spot-15r-pro.json in this PR
Output files not changed.


feat(util): add SelectMenuOptionBuilder

This PR adds a new builder to the utils crate to make the creations of select menu options a little bit easier.
Example:
// Without the builder
let option = SelectMenuOption {
    default: false,
    description: Some("Example description".to_owned()),
    emoji: None,
    label: "Example".to_owned(),
    value: "example-option".to_owned(),
}

// With the builder
let option = SelectMenuOptionBuilder::new("example-option".to_owned(), "Example".to_owned())
    .description("Example description".to_owned())
    .build()?;

This is what I thought of implementing it. Suggestions are welcome.

Codecov Report

Merging #1297 (b5e8d99) into main (90df413) will increase coverage by 0.12%.
The diff coverage is 75.00%.

:exclamation: Current head b5e8d99 differs from pull request most recent head 48501aa. Consider uploading reports for the commit 48501aa to get more accurate results

@@            Coverage Diff             @@
##             main    #1297      +/-   ##
==========================================
+ Coverage   31.09%   31.22%   +0.12%
==========================================
  Files         364      365       +1
  Lines       14458    14510      +52
==========================================
+ Hits         4496     4531      +35
- Misses       9962     9979      +17

Impacted Files
Coverage Δ

util/src/builder/select_menu_option.rs
75.00% <75.00%> (ø)

http/src/routing/route.rs
5.60% <0.00%> (-0.94%)
:arrow_down:

http/src/routing/route_display.rs
10.85% <0.00%> (-0.20%)
: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 90df413...48501aa. Read the comment docs.

The module should be named select_menu to allow adding a SelectMenuBuilder later.

Yeah, I thought of this too. But if moved, should the builder be called OptionBuilder or still SelectMenuOptionBuilder?

This PR is pending this discussion: #1298

Going to close this in favor of just a Component builder.


Path related variables would cause JSON parse errors on Windows due to backslash

Using ${fileDirname} or other path related variables on Windows would result in a JSON parse error.
eg:
"commands.commands": {
  "list files": {
    "command": "commands.runInTerminal",
    "args": "ls -l ${fileDirname}"
  }
}

Cannot reproduce. It this like a WSL issue?

Nervermind, can't reproduce this one weeak later.

Okay, I reproduced that.
If using "args":{"text":"command"} syntax, it would cause a JSON parse error. Simply pass command to args works fine.
"commands.commands": {
  "list files": {
    "command": "commands.runInTerminal",
    "args": {
      "text": "cp ${file} C:\\Windows\\Temp\\${fileBasename}.log"
    }
  }
}


Update description

Update description of package in README and DESCRIPTION (in part based on eel blog post). It now states:

wateRinfo facilitates access to waterinfo.be, a website managed by the Flanders Environment Agency (VMM) and Flanders Hydraulics Research. The website provides access to real-time water and weather related environmental variables for Flanders (Belgium), such as rainfall, air pressure, discharge, and water level. The package provides functions to search for stations and variables, and download time series.

The PR also includes:

Adding a To get started, see: (cf. bioRad or rgbif) in README with links to function reference and articles (until now, there was no link to website)
Updating _pkgdown.yml so these sections are called Reference and Articles in that order. The website has not been regenerated yet.

We still need to update the website itself before merging.

Site generated. 👌


add more details on error

Added more clear text to understand the error.

📝 Changed routes:

…or/palindromeGenerator

(view full size)

Commit f356dae17d8588ec3a3ed92389b3731f39b45dba (https://testcase-generator-q67jyj9hc-ank1traj.vercel.app).


Bumped minio-go library to v6.0.49, fixing an IAM bug in v6.0.45

[x] I added CHANGELOG entry for this change.
[x] Change is not relevant to the end user.

Changes
Resolves #2181. Minio introduced a bug which prevents IAM roles from being used. This was fixed in v6.0.47.
Verification
Verified in https://github.com/thanos-io/thanos/issues/448#issuecomment-589807381

This needs to go against the release-0.11 branch. 😊
Thanks for looking into this!

@metalmatze OK, rebased :+1:

Thanks :hea\ :+1: Let's merge on green.

Thank you @bigkraig. I'll cut a new release candidate in a bit.


how to make coro scheduler multi-threaded

This is probably a lack of knowledge, I've been making a code, that is simply doing what is happening in ThreadPool tests. Since I want the coro to be multi-threaded.

Is it normal that _func never gets the current frame/task ??
directly calling the func from the scheduler.spawn works normally
I was expecting from the ThreadPool test to be the idomatic way of doing that, but maybe I've been doing that the wrong way. (this is probably me).
So if I'm doing things wrong: How to make coro scheduling multi-threaded the proper way ?
(The existence of semaphore confirm to me that this should be possible, otherwise running the scheduler on one thread will makes no point to the existence of semaphore)

Hi i am here to answer that.
To my best knowledge depends on a backed coro.Scheduler decides to use:

posix and iocp are at using default the cpu core count as number of threads to spawn, note that this can be changed thru aio.Options
io_uring does not need threads on wait from what i understood since it uses ring-buffer

also sizeable part of backend (mainly Frame) runs on Fibers

For place to get started and get to know how to use the library, wiki is kinda helpful (although i personally found it confusing at start) -> https://cloudef.github.io/zig-aio/
Things that really helped me are the examples, especially the coro ones -> literally there is a /example
In the end i had to do some code digging, and still asked some really stupid questions here looking back at it.
+ keep in mind there is currently a bug in scheduler (more in https://github.com/Cloudef/zig-aio/issues/22) that can cause some issues so dont be hard on yourself 😉

You'd have to have scheduler on every thread and do the scheduling / synchronization yourself.

You'd have to have scheduler on every thread

Thats is making much sense, so from that assertion, it means that semaphore is working between scheduler ?

The sync primitives only work within a single scheduler. There is no thread safety at all in coro. coro.ThreadPool is to offload blocking task to a thread which yields the coroutine until the task on a thread is complete.

Side question: is it safe to spawn a task from outside the scheduler thread ?

No it is not.
I'm still unsure if I add MultiThreadedScheduler or something, that would also need thread safe sync primitives, which kinda defeats the point in the end I think. The IO backends are already using thread pools (apart from io_uring, which you don't want anyway). I think this kind of design won't scale that well anyways.
You'd rather want to think this whole program level and make different threads do different things where they still can have their own schedulers. Note that you can still create a scheduler on coro.ThreadPool task and do coroutiny things there as well, but the threaded task eventually should come up with a result, or the coroutine that spawned the blocking task will yield forever.

This being said, before posting that comment I thought about your answer, and started rewriting my whole project thinking differently. What about using a same socket between two schedulers ?
I've been making a server using coro and aio, I have one unique networking thread, and multiple regions threads, for each region of a defined world (depending on the connections), there will be maybe a total of 8 threads (depending on the cpu count and the need for threads). Every threads is using its own scheduler.
I need to send packet from outside the networking thread' scheduler, is it a problem ?
Note: I only receive from the networking thread.

As long as you don't race, using same socket with AIO ops is okay.


Remove op-labels feature

Removed and disabled the op-labels.ts feature and file.
This feature has been implemented by GitHub.

Whoah! One of the oldest RGH features!


Request: Javascript function for numeric ID to string ID

Requesting a function that would do what the names[] array did in WailaNBT, namely:
To return an item id name (e.g. "minecraft.planks") for a numeric id (e.g. "5")

Considering item IDs are dynamically assigned you probably don't want to be referencing them.

When that numeric ID is all that's stored in an NBT tree - which is the usual way of doing it, even with vanilla Minecraft - I'd need some way of finding the string ID to get to the human readable item/block name. This is what I'm hoping for.

You can use built-in name(object) function now.
For example, first item name in a vanilla chest
    <tileentity id="Chest">
        <line displayname="First Item Name">
            return name(nbt['Items'][0])
        </line>
    </tileentity>

First item's name of  Tag List "Items" will be shown. This name is localized and follow anvil rename etc.

Oh! Excellent, thank you.


Port mapping issue

When mapping the following service ...
  ports:
  - name: dns
    port: 53
    protocol: UDP
    targetPort: 1053
  - name: dns-tcp
    port: 53
    protocol: TCP
    targetPort: 1053

... illuminatio breaks, as it translates it into:
debug:           'ports': [{'name': None,
debug:                      'node_port': None,
debug:                      'port': 23485,
debug:                      'protocol': 'TCP',
debug:                      'target_port': 80},
debug:                     {'name': None,
debug:                      'node_port': None,
debug:                      'port': 61112,
debug:                      'protocol': 'TCP',
debug:                      'target_port': 80}],

... which has the following flaws:
a) the name needs to be specified (causes an Service \"svc-default-k8s-appcoredns\" is invalid: [spec.ports[0].name: Required value, spec.ports[1].name: Required value]), as the target-port is the same, right?
b) protocol UDP gets translated to TCP (not sure if that's an issue)
Also, with my cluster I ran into the test_orchestrator.py ValueError:

Only ClusterHost and GenericClusterHost fromHosts are supported by this Orchestrator

Can I simply put a continue instead, in order to skip the cases where I might reference an external host (we have a few headless services; might those cause issues?) ?
Last but not least, Illuminatio seems to not fully clean up its resources. After running clean, I still saw dummy pods in kube-system namespace, and a service called "svc-kube-system-appnet-exporter" etc.
Nonetheless, great tool! Wish I could make it work on our cluster :)

Actually, there is already a TODO mark for exactly my case :)
https://github.com/inovex/illuminatio/blob/master/src/illuminatio/k8s_util.py#L105

Thanks for reporting this issue if you find the time to provide a PR I'm happy to review it :) otherwise I try to find some time during this week.

For me, in order to fix the colliding port issue, I added name=str(portNum), ensuring a unique name is given.
-        k8s.client.V1ServicePort(protocol="TCP", port=portNum, target_port=80)
+       k8s.client.V1ServicePort(protocol="TCP", port=portNum, target_port=80, name=str(portNum))

See:
https://github.com/inovex/illuminatio/blob/c3c2068ea5d4850e7525dff9566bccd80e45cafe/src/illuminatio/k8s_util.py#L107

Could you provide the complete example? This would makes it easier to test.


feat(Boostlet Tooltips): Boostlet Hints feature and SAM support for XTK

Hello @haehn and @shrutivarade,

This PR will add a new minor feature to Boostlet. As suggested by @haehn, this feature is a tooltip for developers to give hints to the users. This can be done through:

Boostlet.hint("Message", duration) where the Message is the text to be displayed as a div in the frontend, and the duration is the time in ms for which the message will be active.
An example of this functionality can be seen through this screenshot:

In the case that no duration is given, the hint will not be deactivated, and it will stay persistent on the front end. This is a nice feature since it also allowed me to improve the Image Captioning functionality, which now uses the hints to display the div with the caption of the image instead of creating a new one from scratch.

A "major" second submission for this PR is that it also adds SAM support for XTK by 2-clicks methods. I am fixing some bugs for SAM support for papaya, since it seems to shift the ROI on the height axis, thus it is not included on this PR.
Another change/update on this PR, is that I updated the naming for the readme file for the testing folder, and included a status badge for the CI/CD pipeline action.

Super good @gaiborjosue Thanks!!


Connect to Docker host from container

#1143 and #8395 are closed but not resolved.
Not a single of the workarounds found there has been working for me. (No joke, I've tried a lot of them)
I do need a way to connect to a service running on my host from within a container. I don't want a hacky workaround, this is not reliable. I want an effective solution working for Windows and Linux at least.
This may be link to that : even though I can access the internet from within my container (using wget, for example), I can't access my own host ip. It keeps hanging indefinitely an doesn't show anything.
I tried a lot of different ways but none worked.

@Telokis pls add all the basic details that the new issue template would have prompted you to. Such as docker version, docker info, and other details on what service you are trying to access, reproduction steps etc...

Docker version:
Client:
 Version:      1.13.1
 API version:  1.26
 Go version:   go1.7.5
 Git commit:   092cba3
 Built:        Wed Feb  8 06:52:25 2017
 OS/Arch:      linux/amd64

Server:
 Version:      1.13.1
 API version:  1.26 (minimum version 1.12)
 Go version:   go1.7.5
 Git commit:   092cba3
 Built:        Wed Feb  8 06:52:25 2017
 OS/Arch:      linux/amd64
 Experimental: false

Docker info:
Containers: 5
 Running: 5
 Paused: 0
 Stopped: 0
Images: 37
Server Version: 1.13.1
Storage Driver: devicemapper
 Pool Name: docker-8:1-914044-pool
 Pool Blocksize: 65.54 kB
 Base Device Size: 10.74 GB
 Backing Filesystem: xfs
 Data file: /dev/loop0
 Metadata file: /dev/loop1
 Data Space Used: 3.049 GB
 Data Space Total: 107.4 GB
 Data Space Available: 6.394 GB
 Metadata Space Used: 4.719 MB
 Metadata Space Total: 2.147 GB
 Metadata Space Available: 2.143 GB
 Thin Pool Minimum Free Space: 10.74 GB
 Udev Sync Supported: true
 Deferred Removal Enabled: false
 Deferred Deletion Enabled: false
 Deferred Deleted Device Count: 0
 Data loop file: /var/lib/docker/devicemapper/devicemapper/data
 WARNING: Usage of loopback devices is strongly discouraged for production use. Use `--storage-opt dm.thinpooldev` to specify a custom block storage device.
 Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata
 Library Version: 1.02.137 (2016-11-30)
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge host macvlan null overlay
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: aa8187dbd3b7ad67d8e5e3a15115d3eef43a7ed1
runc version: 9df8b306d01f59d3a8029be411de015b7304dd8f
init version: 949e6fa
Kernel Version: 4.6.0-1-amd64
Operating System: Debian GNU/Linux 9 (stretch)
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 15.59 GiB
Name: ***
ID: 63DC:SOQW:AGBN:HEQ4:47CR:E6BB:KL5W:SBQX:YLVY:GLT7:3VBI:6WA4
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Username: ninetainedo
Registry: https://index.docker.io/v1/
WARNING: No memory limit support
WARNING: No swap limit support
WARNING: No kernel memory limit support
WARNING: No oom kill disable support
Experimental: false
Insecure Registries:
 <IP_ADDRESS>/8
Live Restore Enabled: false

Went inside a container (any container, using exec or /bin/bash directly)
Tried to curl/wget/telnet mydomain.com
Domain is resolved but container doesn't connect to it.
Domain is (obviously) working fine when I access it from anything other than a container.

@Telokis I thought docker info carried the userland-proxy configuration as well. Apparently not.
Can you pls confirm if you use --userland-proxy=false when launching the daemon ?

How can I know that? I don't even remember launching the daemon, it's been a long time I think. Maybe I can restart it to include this command line option? sudo service docker stop?

@Telokis no. pls dont restart the daemon :) I was just checking if you knew it. am just trying to isolate the condition. When i tried in my local daemon, both with and without userland-proxy things works as expected. So we have to collect more data I think.

Alright.
What I find really odd is that I can access anything but my own server. It's as if Docker blocked that specific case inside my iptables

Anyone, please?

However, this works fine when tested on my local Windows computer.
@thaJeztah @olleolleolle


SymbolicData should have Representable & Traversable Layouts

Possibly other constraints should also be implied by SymbolicData, but for this PR I just add the implication that SymbolicData implies Representable and Traversable Layout. Also added a constraint synonym combinator KnownRegisters for common use.

Need to fix some warnings.


Ansible roles not defined.

Mac OSX Yosemite keeps hitting this error
ERROR: cannot find role in /Users/mmorris/Sites/drupal-vm-master/provisioning/roles/geerlingguy.repo-remi or /Users/mmorris/Sites/drupal-vm-master/provisioning/geerlingguy.repo-remi or /usr/local/etc/ansible/roles/geerlingguy.repo-remi
Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.

Please make sure you follow the instructions here: https://github.com/geerlingguy/drupal-vm#2---build-the-virtual-machine — notably, the part where you install all the role requirements with the command below:
sudo ansible-galaxy install -r provisioning/requirements.txt --force


Optimize load time

underscore-plus is not used for much. _.isEqual can be replaced with the Point's own isEqual, and escapeRegExp can be copied (I'd use an npm package, but underscore-plus's regex doesn't look like that from major packages out there).
grim shouldn't load in the normal case, and it's easy to inline.

Thanks!


Does Not Address Web.config, IIS, Azure Aspects of ASP.NET Core Configuration

This page makes no mention of Web.config or where to put IIS configuration.  While app settings and connection strings have been moved to JSON, where has all the rest of the configuration gone?  I see many Microsoft articles saying to add settings to Web.config under ASP.NET Core, but this file no longer exists by default, and I don't see any information on where you would put it ASP.NET Core.
When a page entitled "Configuration in ASP.NET Core" makes no mention that Web.config is even a thing any more, this is a big gap that's very confusing for developers coming over from pre-Core versions of ASP.NET.
At the same time, many are moving from on-premise IIS to Azure Web Apps, which have "application configuration" that has a relationship to Web.config and perhaps also to the JSON configuration, but this too is not addressed.  I realize that this page is not about Azure, but given Microsoft's pushing of Azure as the preferred hosting option, this really needs to be addressed in an integrated, comprehensive way.

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

ID: 0eb4d762-3910-2c57-8741-3306c15537b6
Version Independent ID: ba2254a0-ea8e-9b28-e94b-edd0fc58c043
Content: Configuration in ASP.NET Core
Content Source: aspnetcore/fundamentals/configuration/index.md
Product: aspnet-core
Technology: aspnetcore-fundamentals
GitHub Login: @guardrex
Microsoft Alias: riande

Hello @michaelbunney ... Configuration is different in ASP.NET Core than in .NET Framework. The web.config file isn't used to store app configuration any longer. Use the guidance in this topic to maintain your app's configuration.
IIS, the ASP.NET Core Module, and web.config are covered in the topics in the Host and Deploy node. The coverage starts with the Overview ...
https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/?view=aspnetcore-3.0
To understand more about the process of moving from the .NET Framework to ASP.NET Core, see the migration topics that start with this Overview ...
https://docs.microsoft.com/en-us/aspnet/core/migration/proper-to-2x/?view=aspnetcore-3.0
With regard to Azure, several of our topics pertain to using ASP.NET Core with Azure, and we cross-link in many places to the Azure documentation. For Azure hosting, see the Host and Deploy > Azure App Service coverage node that starts with this Overview ...
https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/azure-apps/?view=aspnetcore-3.0&tabs=visual-studio

Hum ... I thought that we had a Migration node cross-link in the Introduction. We don't!
No worries ... I'll surface it now.


Manage workload clusters on various cloud providers via a common management cluster

User Story
- As a customer I want to control clusters in various data centers and providers (AWS, Azure, KVM/on premises) from a common control plane, so that I can efficiently manage my clusters regardless of the provider they are using.
Details, Background

Some customers have installations on two or more providers already.
Some customers need more flexibility to expand from AWS only to AWS and Azure (or vice versa) in order to provide specific services to their customers.

sig product Mon, 03. May 2021

It's becoming more relevant w cluster api?
it should work w cluster api.

Still needs UI and the whole organization concept is not meant for across installations, resilience, architecture, failure domains, etc.
@snizhana-dynnyk says Biscuit.


Moved: ByteDance.DouyinIDE version 3.0.6

[X] Have you signed the Contributor License Agreement?
[X] Have you checked that there aren't other open pull requests for the same manifest update/change?

[ ] Have you tested your manifest locally with winget install --manifest <path>?


Primary and Secondary Connections bandwidth

Hi,
This is not mentioned here, but can you confirm if my understanding is correct:
For an Express Route of 1 Gbps, de we need :

Primary connection 1 Gbps and Secondary connection of 1 Gbps
or

Primary connection 500 mbps and Secondary connection of 500 mbps

Thanks

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

ID: 63def219-0f30-14e1-9069-dcef63e304e9
Version Independent ID: 4b04353b-672a-458b-61b4-1e6de831b68a
Content: ExpressRoute Overview: Extend your on-premises network to Azure over a private connection
Content Source: articles/expressroute/expressroute-introduction.md
Service: expressroute
GitHub Login: @cherylmc
Microsoft Alias: cherylmc

@SamirFarhat Thanks for the feedback. We are actively investigating and will get back to you soon.

Hi,
I'm not talking about the Express Route circuit, but about the Connections bandwith. We need to ask our network provider for them, so their question was : do you want 2500 or 21Gbps?

@SamirFarhat The traffic will be shared between the 2 connections. The minimum that you would need to take advantage of a 1Gbps ER is 2 * 500 circuits, but you can allocate any size that you would like. Azure recommends 2 circuits for redundancy.
However, keep in mind that ERs can burst higher than the normal limits. From the ExpressRoute FAQ Document:

If I pay for an ExpressRoute circuit of a given bandwidth, do I have the ability to burst up to higher speeds if necessary?
Yes. ExpressRoute circuits are configured to allow you to burst up to two times the bandwidth limit you procured for no additional cost. Check with your service provider to see if they support this capability.

It is up to you to decide what you would like.

Hi, i confirmed you need 2 legs, each leg (connection) has 1 Gbps. Notice also the ER FAQ in the ms docs, it said you can burst to 2x of Bandwidth you purchased, although no commit/SLA for it but you can get up to 2Gbps. One more thing, when Active-active, you dont need to do anything and let ECMP algorithm on ER works by itself.


💄 Adjust metadata output

Hi @jpanther! Per discussion #88:
I have submitted two commits:

Add i18n 'Updated' strings: I have added the article.updated string to the different languages available, making possible the translations to the last updated date in article's metadata. I've also updated the missing spanish translations of "word" and "words".
Adjust metadata output: I have created a new partial called date-updated.html which adds the 'Updated' localized string and then calls the date.html partial. The new simplified date.html also solves a little problem where before it displayed both the date and the updated date on pagination. Then, in article-meta.html, instead of showing the last updated date in parentheses, I have treated it like another meta parameter.

This is my first ever pull request, I'm sorry if I did something wrong :sweat_smile:

Oh, I have not included my CSS fix to wrap the text around the metadata because I'm not sure if that's the best way to do it :sweat_smile:

Thanks for the PR @cbelena. A very good first pull request! I'm happy with the changes however my only concern is that using the time.Format function requires a bump in the minimum Hugo version which prevents this from being a patch release. Can we leave this with Date.Format for now and it will pick up the new function in v2 of the theme?
And yes don't worry about the CSS. I'll add a commit that addresses that part for you. It requires the Tailwind CSS to be recompiled.

I'm also now wondering if we should pass the date into i18n as a variable too. I'm not sure but there may be some languages that require the format "{Date} Updated" rather than "Updated {Date}".

Thanks for the PR @cbelena. A very good first pull request! I'm happy with the changes however my only concern is that using the time.Format function requires a bump in the minimum Hugo version which prevents this from being a patch release. Can we leave this with Date.Format for now and it will pick up the new function in v2 of the theme?

Sure! I reverted to Date.Format instead of time.Format.

And yes don't worry about the CSS. I'll add a commit that addresses that part for you. It requires the Tailwind CSS to be recompiled.

Wow, that was easy!! I have to learn more CSS! :sweat_smile::sweat_smile: Thanks!

I'm also now wondering if we should pass the date into i18n as a variable too. I'm not sure but there may be some languages that require the format "{Date} Updated" rather than "Updated {Date}".

I have left it the same for now because it has a colon between the 'Update' and the date, like: Updated: Jan 24, 2022. But I'm not sure either...
PS: Oops, I forgot to add the globe emoji to the commit that updates the TR translation, sorry!

The CSS turned out to be as simple as adding flex-wrap to the div so this was an easy fix. I think the rest looks good though so I'll merge this in now.


ReferenceError: Can't find variable: document

@FredrikOseberg, thanks for reducing developers work. It saved my time a lot.
when i tried use this lib in react-native it is showing me error:
$ react-native run-android
ReferenceError: Can't find variable: document Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication)
I'm new in react, react-native. Please help

This is built with webpack, and made available for version of React that runs in the browser. Additional work is required to make it available for react native, but right now it's not supported.


Refactor and provide tests for search and image

Changes:

move search and image functionality into Search and Image classes
provide unit tests for these classes
minor changes: add python stuff to .gitignore, and refactor settings.py to use environment variables for client_id and client_secret, so that it can be committed

To run the tests:
python -m unittest

To run the app: set environment variables:
ANNONATATE_CLIENT_ID=<Github oauth client_id>
ANNONATATE_CLIENT_SECRET=<Github oauth client_secret>

Then run:
python annonatate/flaskserver.py

requests_mock needs to be added to requirements.txt

@pbinkley When I try to run the application I am getting an error "module 'utils' has no attribute 'get_search'."

@pbinkley
from utils.search import Search
from utils.image import Image
Then you can do Image, ect.
The unittests are also not running. They are not doing anything.
If you could put me a contributor on your repo I can push the changes I am coming up with to your repo.

@pbinkley I was able to figure out the problem with the libraries and I pushed it to your branch. I can not figure out how to get the unit tests to work. Right now when I run the command you put into the terminal, I get

Ran 0 tests in 0.000s
OK
If you can get those tests working I think this might be ready to integrate into the main branch.

The unit tests are working now: in the main directory run python -m unittest or, for specific ones, python -m test.test_search.
When this is ready to merge, I hope it will be squashed into a single commit! There's lot of messy non-history here...

Perfect. Working for me as well. I need to do a bit more in-depth review but I think it should be ready to merge tomorrow.

@pbinkley I added some fixes for problems I saw with the code. Let me know if you think there might be problems with those changes.
https://github.com/dnoneill/annonatate-sourcecode/pull/1/commits/4fcadac0c37f91412b4bb47ace71867efae14ce9

@pbinkley Sounds good. Will merge tomorrow.


upgrade to latest electron version

Attempted to upgrade electron to 3.0.8.
Rebuild of node-ffi in safe_app_nodejs fails.
Several issues that<EMAIL_ADDRESS>is not compatible with electron 3.0.8 which uses Node v10.
https://github.com/electron/electron-rebuild/issues/254
Supposedly, in safe_app_nodejs I should be able to change from "ffi": "^2.2.0", to "ffi": "git+https://github.com/node-ffi/node-ffi.git",, in order to use the fix that hasn't yet been published to npm but I haven't found success with it.

Electron v4.0 released. Shall we have another go?

QA verified and confirmed electron has been upgraded to v4.x.x


Fix feat_proj params

Transferred from GitLab. See original PR for details:
https://gitlab.com/autowarefoundation/autoware.ai/core_perception/-/merge_requests/79

@icolwell-as looks like all your PRs only contain a link to another PR which also does not contain too much info either. Would you mind just populating the commit messages and PR bodys with a bit more detail. This would help me greatly in review. Thank you very much.

@LiyouZhou, my apologies for the sometimes sparse PR explanations. Some of these PRs are left over from when Autoware.AI was transferred from gitlab to github hence the link to other PRs. The rest of the PRs are transferred from our gitlab fork and include links back to the original MR which contains descriptions of the changes and links to issues that the MR is resolving, there are also code review discussions which may help you understand some of the code.
Re-writing the commit history of all these commits will be very time consuming, but improving the PR descriptions is more feasible if that is acceptable to you. Are there some specific PRs that are the most confusing that you would like me to start with?

@JWhitleyWork, reminder to re-open (assuming you closed to trigger a re-build).

@icolwell-as Sorry about that. It got automatically closed due to the issue number being mentioned in a commit message. This PR looks perfectly fine to me. I'll merge once CI passes.


Create a demographics module in OG-Core

This PR creates a demographic module in OG-Core.  Such a module exists in the various country calibration repositories, but since all of those now use the UN population data, much of the code is repeated.  Thus, moving the module here will remove redundant code across these country-specific repos.
In addition to this, the PR will add the following functionality:

The ability for users to use the time-varying forecasts from the UN WPP, up to a user-specified end date (or the maximum date available from the UN).
Users can enter their own custom forecasts of fertility, mortality, and immigration rates.
Users can enter their own estimate of the initial population distribution (Note that doing 2 and 3 together will bypass the use of UN data and use demographics.py purely for filling out demographic variables over the transition path and in the SS).
A country code parameter to specify which country's forecast to pull from the UN data.
Streamlines the plotting utilities and allows users to return a Matplotlib figure object (not just save a plot image file to disk).

@rickecon All tests passing, including new ones.  According to output from demographics.py pop distribution seems to converge.  But I do see some odd stuff regarding immigration rates.  A few plots to illustrate:
Fertility rates (look ok)

Mortality rates (look ok)

Immigration rates (too high at older ages)

Population distribution transition (see odd uptick at 100):

Original vs Fixed SS population (odd uptick at 100 more apparent here):

I believe the uptick in the adjusted population distribution are a result of the high immigration rates at older ages.  I will review the code that backs out these rates as residuals from the transition in the actual population distribution.

With the latest commits, we are looking a lot better.  Issue was that the UN  data has a bin of 100+, who were being counted as age 100, creating a mass there.  The module now drops those over age 99.
Updated plots:

@jdebacker. This is great. Merging.


Multiple schemas in same project - Apollo Android

Can anyone tell me how to use 2 different schemas in one project with 2 different URLs on Android?

You can use the service method in your Gradle configuration:
apollo {
service("github") {
sourceFolder.set("com/github")
rootPackageName.set("com.github")
}
service("fullstack") {
sourceFolder.set("com/apollographql/fullstack")
rootPackageName.set("com.apollographql.fullstack")
}
}
(Sample there: https://github.com/martinbonnin/apollo-android-samples/tree/master/multiple-services)

@pratthama-appdesk let us know if you need more information, else I'll close this issue.

@pratthama-appdesk let us know if you need more information, else I'll close this issue.

Hi, thanks for information.
I wrote an article on medium on getting started with graphql in android with kotlin using coroutines
<EMAIL_ADDRESS>P.S you can close the issue. Thanks!

Hi, I am getting - Could not set unknown property 'rootPackageName' for object of type com.apollographql.apollo3.gradle.internal.DefaultService

@karanatwal Since this issue was opened, Apollo Kotlin v3 was released and the syntax has changed a bit. In particular the equivalent of rootPackageName is now packageNamesFromFilePath(rootPackageName).
Here is the relevant information for v3 in the documentation.

Is it possible to have a single Apollo service be composed of multiple SDL files and multiple operation files in different directories? If so, can someone please push me to an example or copy/paste a gradle snippet that demonstrates the magic necessary to make this happen?

@istashak If you put your *.graphql (operations) and *.graphqls (SDL) files in any folder inside src/main/graphql and they will be picked up by default.
Note that although multiple SDL files is permitted, only one of them should contain the top level Query type.  If you do have several Query types then you will need to configure several services.


python3-mysql.connector package needed for running on Ubuntu20.04

ISSUE TYPE

Improvement Request

COMPONENT NAME

Management server

CLOUDSTACK VERSION

4.14.0

CONFIGURATION

OS / ENVIRONMENT

Ubuntu 20.04
SUMMARY

Unable to install Cloudstack managment server on Ubuntu20.04 as it depends on python-mysql.connector but this cant be installed on Ubuntu20.04. So should we upgrade the package to python3-mysql.connector ?
This worked fine for me in my test setup. I was not able to install python-mysql.connector even after adding necessary repos.
@weizhouapache @rhtyd @wido @DaanHoogland any suggestions?
STEPS TO REPRODUCE

1. Create a vm on Ubuntu20.04
2. Try to install 4.14 or onward version of cloudstack-management package
3. It fails as it depends on `python-mysql.connector` which cant be installed.

EXPECTED RESULTS

Expected management package to be installed

ACTUAL RESULTS

Installation failed as it depends on `python-mysql.connector`

@ravening ubuntu 20.04 is not supported by cloudstack 4.14
I have a draft PR for ubuntu 20.04 support in cloudstack 4.14 https://github.com/apache/cloudstack/pull/4069
Shapeblue guys are working a huge improvement which contains ubuntu 20.04 support for cloudstack 4.15/master https://github.com/apache/cloudstack/pull/4068

@ravening as Wei advised; we've merged Wei's commits from #4069 to consolidate our testing across various permutations/combinations in #4068 that adds support for newer distros (centos8, ubuntu 20.04) to be used both as mgmt/usage server host and KVM hosts.

closing the issue

Is there a way to depend on python3-mysqldb and not on python-mysql.connector? It would be great to install Management Server on Debian.

No, as they are really different MySQL connectors for Python. So that will not work.


getting this error with ¨sh run-start.sh"on a fresh install. Before installing MM2,on a fresh Rasbian flashed SD card, I did a sudo apt-get update, then a sudo apt-get upgrade. I had this working great before and sent a copy of my config.js to myself in a gmail email. I got that file from the email and put it in the MagicMirror/Config folder. When I do npm start, it says there was a problem with electron and to report the issues saying there was a problem with sh run-start.sh¨.

Please only submit reproducible issues.
If you're not sure if it's a real bug or if it's just you, please open a topic on the forum: https://forum.magicmirror.builders/category/15/bug-hunt
Problems installing or configuring your MagicMirror? Check out: https://forum.magicmirror.builders/category/10/troubleshooting
When submitting a new issue, please supply the following information:
Platform: Place your platform here... give us your web browser/Electron version and your hardware (Raspberry Pi 2/3, Windows, Mac, Linux, System V UNIX).
Node Version: Make sure it's version 0.12.13 or later.
MagicMirror Version: Now that the versions have split, tell us if you are using the PHP version (v1) or the newer JavaScript version (v2).
Description: Provide a detailed description about the issue and include specific details to help us understand the problem. Adding screenshots will help describing the problem.
Steps to Reproduce: List the step by step process to reproduce the issue.
Expected Results: Describe what you expected to see.
Actual Results: Describe what you actually saw.
Configuration: What does the used config.js file look like? Don't forget to remove any sensitive information!
Additional Notes: Provide any other relevant notes not previously mentioned. This is optional.

BTW, I installed MM using this command from a fresh Raspian Stretch SD card after I did the Update and upgrade commands:  bash -c "$(curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh)"

Please refer to http://forum.magicmirror.builders for support and troubleshooting.
I'm closing this issue for now. If you feel this issue should remain open, please let me know.


Suggestion: prompt students to remove penguins with NA body mass

Okay, so there's 344 penguins in the penguins dataset. But two of them have NA body mass. This causes the following issues:

penguins %>% group_by(species) %>% summarize(mean(body_mass_g)) will fail unless , na.rm = TRUE is added
students might report the wrong sample sizes
and thus students might be confused by the df calculations that infer does: df_E = n - k, which students will probably want to compute as 344 - 3 = 341. But secretly n = 342, so df_E = 342 - 3 = 339.
infer will throw warnings about removing 2 rows. (But maybe students don't look at that / don't know what that means.)

Suggestion: let's prompt students in the "Your turn" setup to filter out the penguins with NA body mass. I'm not sure we have shown them how to do this before, so we may even want to provide %>% filter(!is.na(...)) as a hint.
Happy to take a stab at this if you think it'd be good.

 Okay, I have a second to look at this right now. I'll get back to
you.
On Wed, Nov 30, 2022 at 4:59 PM rhinopotamus @.***>
wrote:

Okay, so there's 344 penguins in the penguins dataset. But two of them
have NA body mass. This causes the following issues:

penguins %>% group_by(species) %>% summarize(mean(body_mass_g)) will
fail unless , na.rm = TRUE is added
students might report the wrong sample sizes
and thus students might be confused by the df calculations that infer
does: df_E = n - k, which students will probably want to compute as 344 - 3
= 341. But secretly n = 342, so df_E = 342 - 3 = 339.
infer will throw warnings about removing 2 rows. (But maybe students
don't look at that / don't know what that means.)

Suggestion: let's prompt students in the "Your turn" setup to filter out
the penguins with NA body mass. I'm not sure we have shown them how to do
this before, so we may even want to provide %>% filter(!is.na(...)) as a
hint.
Happy to take a stab at this if you think it'd be good.
—
Reply to this email directly, view it on GitHub
https://github.com/VectorPosse/intro_stats/issues/58, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB3M3H55KMLGSL3QRFNSTU3WK7S7TANCNFSM6AAAAAASQF37JE
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

It was an easy fix with
penguins2 <- penguins %>%
  drop_na(species, body_mass_g)

I'm currently re-building (which, now that the book is basically complete, takes friggin' forever).


Do not start the app if we failed during init (e.g. didn't start the backend)

Right now, if anything crashes during startup, we catch the exception and proceed with opening the UI.
This way we are able to view / export the logs, but it makes it:

harder to notice a regression (e.g. #547 - only visible when using / not just starting the UI)
possible for the app to run without the backend, causing all sorts of issues for the users in the wild, e.g. #546

Ideally, we should either:

crash hard - and force sending the backtrace to us via TestFlight
just show the settings screen, allowing viewing/exporting logs, but disallow any engagement with wallet/welcome screen / trading screen.
automatically send the logs to us and gracefully close.

Thoughts? I think the first one is easiest during closed beta, with moving to the second option as the app matures.

crash hard - and force sending the backtrace to us via TestFlight

The stacktrace is always available to us if the app crashes. see also https://matrix.to/#/!NvqghtiBvZfpwYglIo:matrix.org/$Zq9Za83LF3qAOLGfMGc2o6-ISXKKLm0WoTEt4Ty9XEE?via=matrix.org&via=breadpirates.chat

Thoughts? I think the first one is easiest during closed beta, with moving to the second option as the app matures.
I do agree, just let the app crash. I don't think the logs will give us any more valuable information than the stacktrace already does.

just show the settings screen, allowing viewing/exporting logs, but disallow any engagement with wallet/welcome screen / trading screen.

I think this is only useful if the user also knows that something went wrong, i.e. we have to communicate that there was a severe error that prevented the app from starting up!
(I might be pointing out the obvious, I am not sure this was implied in what you wrote up.)

just show the settings screen, allowing viewing/exporting logs, but disallow any engagement with wallet/welcome screen / trading screen.

I think this is only useful if the user also knows that something went wrong, i.e. we have to communicate that there was a severe error that prevented the app from starting up! (I might be pointing out the obvious, I am not sure this was implied in what you wrote up.)

true. this PR is exactly in this sprit - 'exit' from the app will at least tell the user something is wrong, instead of pretending to go on a bit more when the wheels will fall off from unrelated error:

the true purpose is to prevent unjustified errors / crash reports that would happen if the backend is not running.

Resolved by #595


Easy way to declare custom Cache

Summary
It would be nice if I could declare a cache class in CacheSettings. Currently you have to patch multiple things, including Bot._cache and Bot._event_manager._cache.
Why is this needed?
To add to or modify the default cache.
Ideal implementation
An extra setting in CacheSettings for cache class; it should expect a subclass of CacheImpl. Then it can set self._cache = cache_settings.cache_class(...), or something of the sort.
Checklist

[X] I have searched the issue tracker and have made sure it's not a duplicate. If it is a follow up of another issue, I have specified it.

The CacheImpl class itself takes a CacheSettings object in the constructor, so that would be impractical to declare a Cache class in the settings. The GatewayBot class has a property called _cache which is the cache implementation that the bot uses. https://github.com/hikari-py/hikari/blob/965d6e8a4c7685a7b6d9fd1b53cec3609f0821e3/hikari/impl/bot.py#L342-L344
You can probably subclass it and override it to use your own cache implementation. If you want to implement your own cache, consider implementing this abstract class
https://github.com/hikari-py/hikari/blob/965d6e8a4c7685a7b6d9fd1b53cec3609f0821e3/hikari/api/cache.py#L75
From what I see, there is no way to add a Cache class to cache settings since the Cache object itself takes in the settings when it's being constructed. All I can tell you is to subclass GatewayBot, set the _cache property to your own cache implementation, then use it.
But I think it would be better for the GatewayBot class to take in a cache implementation as a constructor arg, instead of taking the cache impl in the settings. I will leave that decision to Dav and others since I don't maintain this project :)

I see. The problem is you have to patch two places; Bot._cache and Bot._event_manager._cache. Maybe an extra option on Bot that accepts a cache class would be best.

Yeah that's what I said in the last part of my reply. The GatewayBot could take in a cache impl as a constructor arg, and then use that. But at the moment, it's hardcoded to use hikari's default CacheImpl, and the only way to change it is to override _cache and _event_manager._cache.

I just realized, you don't need to override _event_manager._cache since the event manager takes in GatewayBot._cache. The RESTClient does so as well. So all that needs to be done is to add a feature to set custom cache class, if I'm not being dumb rn

Why is this needed?
To add to or modify the default cache.

What's the actual use case for this though

Why is this needed?
To add to or modify the default cache.

What's the actual use case for this though

Maybe someone might want to use their own cache implementation. For example, I personally had thought of the idea to use Redis for cache. Even though not everyone will use their custom cache impl, having a pluggable cache seems like a nice feature

Why is this needed?
To add to or modify the default cache.

What's the actual use case for this though

Maybe someone might want to use their own cache implementation. For example, I personally had thought of the idea to use Redis for cache. Even though not everyone will use their custom cache impl, having a pluggable cache seems like a nice feature

This isn't a viable way to add an asynchronous cache, you'd have to have that as a separate thing

Why is this needed?
To add to or modify the default cache.

What's the actual use case for this though

Maybe someone might want to use their own cache implementation. For example, I personally had thought of the idea to use Redis for cache. Even though not everyone will use their custom cache impl, having a pluggable cache seems like a nice feature

This isn't a viable way to add an asynchronous cache, you'd have to have that as a separate thing

Separate thing hmmm... Like what exactly?

Why is this needed?
To add to or modify the default cache.

What's the actual use case for this though

Adding/modifying an existing cache. For example, the current cache only stores existing values. What if I wanted to store None for deleted messages, so that I don't fetch non-existing messages repeatedly?
An async cache would have to be seperate, but here's a custom cache I use right now: https://github.com/TrigonDev/Starboard/blob/main/starboard/cache.py

For example, the current cache only stores existing values. What if I wanted to store None for deleted messages, so that I don't fetch non-existing messages repeatedly?

#880

This isn't a viable way to add an asynchronous cache, you'd have to have that as a separate thing

I think there is with a library like greenback. Obviously it's a performance drop but I would take that because it will allow me to use speedups from libraries that can skip API calls if they can interact with the cache. (Both crescent and flare have this.)


One Word: SPLITTER

Summary
Allow for the sectional display areas to be resized by dragging a slider up and down (vertical) or left and right (horizontal).
Use case
We build a lot of mapping applications where we have data on one side and a map on the other. It would be great if we could resize either the map or the data by dragging a slider.
Examples
angular-split, kendo splitter
Workarounds
Not that I know of

The feature request here has been captured into our list and we’re going to take it into consideration as we develop Clarity Core capabilities. In an effort to clean up our backlog and focus our attention, I’m going to close this as captured in our feature requests. Please follow our development and releases to see when we release relevant components to make this possible. Future feature requests can be made in our GitHub Discussions.


Network search and reachcode/measure lookup in comid discovery.

From #13:

given comid and network search, return comid

terminal comid
bottom of level path
most upstream along level path
given distance along level path

given a reachcode / measure, return comid

was not implemented in v0.2.0
Will require additional inputs like:
#' @param network_ref list containing a starting COMID and network reference mode.
#' @param reachcode_measure list containing a reachcode and measure
#' @param flines data.frame NHDPlus flowline attributes including ...

Will add if there is a strong request for it, but don't need to implement till it's required.

Going to close this based on the addition of navigate_network.


Add documentation for modsecurity activation & configuration

Add documentation for modsecurity activation & configuration in PHP buildpack

Copy that
it's done
Thanks @gberche-orange


OSObserver reporting hot fixes unformatted to app insights

Description
App insights is now reporting hotfixes in a hyper link format, rather than a simple list as in the previous release.
To Reproduce
Report OSObserver to app insights and observe in the log search, shown in attached screenshot.
Expected behavior
Hot fixes to report in a simple list as before, KX111, KX222 etc
Screenshots
Attached.
Desktop (please complete the following information):

OS: Windows
Version: Windows 10

Additional context
Happening since upgrading to the most recent release, 3.1.11

Thanks for catching this. Hyperlink removal happens for ETW only in this release, which is a bug: they should be removed for all telemetry types. This fix will ship in the next version.

Please verify using this release: https://github.com/microsoft/service-fabric-observer/releases/tag/42723786
You should no longer see hyperlinks in MachineTelemetryData's HotFixes property.


Uploading large files

Implement the ability to upload large files.
Now available only to upload a small file size.
Uploading files is beyond the scope of the project OAuth.
The project is implemented by yourself uploading files :-) No, it's not artificial intelligence. Architecture has shown that can be opened the possibility of sending files.
Implement uploading large files a bit more complicated.
Until it is done, you can use their own methods to upload files. Use HttpWebRequest/HttpWebResponse (see for example: EpxecuteRequest) or WebClient, or HttpClient.
Small example for Dropbox:
var client = new WebClient();

// handlers
client.UploadProgressChanged += (s, ce) =>
{
  // you can create progress here
  Console.WriteLine("Uploading: {0}", ce.ProgressPercentage);
};

client.UploadFileCompleted += (s, ce) =>
{
  // exception
  if (ce.Error != null)
  {
    MessageBox.Show(ce.Error.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
    return;
  }

  // parse result
  var result = UniValue.ParseJson(Encoding.UTF8.GetString(ce.Result));
  if (result["error"].HasValue)
  {
    MessageBox.Show(result["error"].ToString(), "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
  }
  else
  {
    MessageBox.Show(result.ToString(), "Result", MessageBoxButtons.OK, MessageBoxIcon.Information);
  }
};

var url = new UriBuilder("https://api-content.dropbox.com/1/files_put/auto/");
url.Query = String.Format("access_token={0}", Properties.Settings.Default.AccessToken) + // your access token here
String.Format("&path=/{0}", Path.GetFileName(openFileDialog1.FileName).Replace("\\", "/")) +
String.Format("&overwrite={0}", "true") +
String.Format("&autorename={0}", "true");

client.UploadFileAsync
(
  url.Uri,
  "PUT",
  openFileDialog1.FileName,
  null
);

Can you please update code for uploading large files...

This problem has not been solved. Today no way to upload large files using Nemiro.OAuth library. You need to write your own code to do this.

What all i need to do for uploading large file... Give me any idea sir.....!

You can use their own methods to upload files. Use HttpWebRequest/HttpWebResponse (see for example: EpxecuteRequest) or WebClient, or HttpClient.
Above is an example of code using the WebClient.

OK, I will try to fix it..


[add-resource] New Plugin GIS

I would like to add my new plugin GIS to the Grav Repository.
Here are the project details: bricebou/grav-plugin-gis
You can see the public live on grav.reclic.dev.
Like I said in my previous request, I'm not a developer... I've tried to do my best ;)
Thanks !

Added.


[Android] Fatal Exception: kotlin.KotlinNullPointerException in React-native App

I am working on React-native (v0.63.4) Android and iOS app, in which I have receive the crashFatal Exception: kotlin.KotlinNullPointerException in Firebase Crashlytics (v10.1.0) , but the kotlin is not used anywhere.  Android folder having all necessary files like build.gradle, MainActivity.java & MainApplication.java all are using java. This crash was received from production version from app user.
Device Info:
Crash occurred two times:

Type
Crash 1
Crash 2

Model
HUAWEI P20 lite
Samsung Galaxy On7 Prime

RAM free
1.51 GB
866.67 MB

Disk free
23.65 GB
15.75 GB

Android Version
9
8.0.0

Orientation
Portrait
Portrait

Rooted
No
No

Build Type
arm64-v8a
armeabi-v7a

Crash Logs:
Crash log captured by Firebase Crashlytics.
Crash 1,
Fatal Exception: kotlin.KotlinNullPointerException
   at a.b.a.a.f.e.b.c(SourceFile:34)
   at a.b.a.a.f.e.b.a(SourceFile:14)
   at a.b.a.a.f.e.b.a(SourceFile:2)
   at a.b.a.a.f.e.b$b.a(SourceFile:7)
   at a.b.a.a.f.e.b$b.a(SourceFile:1)
   at a.b.a.a.f.a.a(SourceFile:3)
   at a.b.a.a.f.a.a(SourceFile:1)
   at a.b.a.a.f.b$c.a(SourceFile:2)
   at a.b.a.a.f.d.a$b$c.run(SourceFile:1)
   at android.os.Handler.handleCallback(Handler.java:907)
   at android.os.Handler.dispatchMessage(Handler.java:105)
   at android.os.Looper.loop(Looper.java:216)
   at android.app.ActivityThread.main(ActivityThread.java:7625)
   at java.lang.reflect.Method.invoke(Method.java)
   at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:524)
   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:987)

Crash 2,
Fatal Exception: kotlin.KotlinNullPointerException
   at a.b.a.a.e.i.g.b.a(SourceFile:305)
   at a.b.a.a.e.i.g.e.a.onTouch(SourceFile:1)
   at android.widget.PopupWindow$PopupDecorView.dispatchTouchEvent(PopupWindow.java:2683)
   at android.view.View.dispatchPointerEvent(View.java:12788)
   at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:5675)
   at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:5470)
   at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4963)
   at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:5016)
   at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4982)
   at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:5119)
   at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4990)
   at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:5176)
   at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4963)
   at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:5016)
   at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4982)
   at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4990)
   at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4963)
   at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:7742)
   at android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:7682)
   at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:7643)
   at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:7853)
   at android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:197)
   at android.os.MessageQueue.nativePollOnce(MessageQueue.java)
   at android.os.MessageQueue.next(MessageQueue.java:325)
   at android.os.Looper.loop(Looper.java:142)
   at android.app.ActivityThread.main(ActivityThread.java:6942)
   at java.lang.reflect.Method.invoke(Method.java)
   at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:327)
   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1374)

How to reproduce
I am keep tracking user action via Firebase events and Clevertap Events.  So I follow the same action step by step in Android Simulator (Android 9 & 8) but I didn't get any kind of crash. So it is hard to reproduce in Android Simulator.
My Investigation

As I came to know that nothing is wrong with my code. It might be happening with any third party library or dependencies, which is directly or indirectly using Kotlin, for this I am sharing my package.json.
I have also found OkHttp footprints in my crash logs. See screenshots. OkHttp also made some major change from version 3.8.0 regarding Kotlin.  So I guess it can crash cause.

My Question
So please let me how to handle it or which dependencies is making this crash? So I can coordinate with those library accordingly. You can see all dependencies in my  package.json.
package.json:
"dependencies": {
	"@react-native-async-storage/async-storage": "^1.13.2",
	"@react-native-community/clipboard": "^1.5.1",
	"@react-native-community/geolocation": "^2.0.2",
	"@react-native-community/masked-view": "^0.1.10",
	"@react-native-community/netinfo": "^5.9.9",
	"@react-native-community/toolbar-android": "^0.1.0-rc.2",
	"@react-native-firebase/analytics": "^10.1.0",
	"@react-native-firebase/app": "^10.1.0",
	"@react-native-firebase/crashlytics": "^10.1.0",
	"@react-native-firebase/perf": "^11.1.2",
	"@twotalltotems/react-native-otp-input": "^1.3.11",
	"add": "^2.0.6",
	"axios": "^0.21.0",
	"clevertap-react-native": "^0.5.0",
	"compare-versions": "^3.6.0",
	"jwt-decode": "^3.1.2",
	"passport-orcid": "^0.0.4",
	"react": "16.13.1",
	"react-content-loader": "^5.0.2",
	"react-dom": "^16.13.1",
	"react-native": "0.63.4",
	"react-native-app-intro-slider": "^3.0.0",
	"react-native-appearance": "^0.3.2",
	"react-native-charts-wrapper": "^0.5.7",
	"react-native-circular-progress": "^1.3.6",
	"react-native-config": "^1.4.1",
	"react-native-cookies": "^3.3.0",
	"react-native-datepicker": "^1.7.2",
	"react-native-device-info": "^5.5.4",
	"react-native-document-picker": "^3.3.2",
	"react-native-fbsdk": "^3.0.0",
	"react-native-gesture-handler": "^1.9.0",
	"react-native-highlight-words": "^1.0.1",
	"react-native-htmlview": "^0.15.0",
	"react-native-linkedin": "^2.1.1",
	"react-native-modal": "^11.5.6",
	"react-native-navigation": "^2.13.1",
	"react-native-pdf": "github:wonday/react-native-pdf#master",
	"react-native-popover-view": "^2.0.5",
	"react-native-reanimated": "^1.7.0",
	"react-native-safe-area-context": "^0.6.2",
	"react-native-screens": "^2.0.0-alpha.29",
	"react-native-sectioned-multi-select": "^0.7.6",
	"react-native-share": "^3.2.0",
	"react-native-slider": "^0.11.0",
	"react-native-snap-carousel": "^3.8.4",
	"react-native-splash-screen": "^3.2.0",
	"react-native-svg": "^11.0.1",
	"react-native-swipeable": "^0.6.0",
	"react-native-tab-view": "^2.13.0",
	"react-native-vector-icons": "^6.6.0",
	"react-native-webview": "^11.3.2",
	"react-navigation": "^4.0.10",
	"react-navigation-drawer": "^2.3.3",
	"react-navigation-stack": "^2.0.16",
	"react-redux": "^7.2.2",
	"redux": "^4.0.5",
	"redux-axios-middleware": "^4.0.1",
	"redux-logger": "^3.0.6",
	"redux-persist": "^6.0.0",
	"redux-persist-filesystem-storage": "^3.0.0",
	"redux-promise": "^0.6.0",
	"redux-thunk": "^2.3.0",
	"rn-fetch-blob": "^0.10.16",
	"smartlook-react-native-wrapper": "^0.39.0",
	"yarn": "^1.22.10"
},

"devDependencies": {
	"@babel/core": "^7.12.10",
	"@babel/runtime": "^7.12.5,
	"@react-native-community/eslint-config": "^2.0.0",
	"babel-jest": "^26.6.3",
	"eslint": "^7.18.0",
	"jest": "^26.6.3",
	"metro-react-native-babel-preset": "^0.64.0",
	"react-test-renderer": "16.13.1"
},

"jest": {
	"preset": "react-native"
}

Please reopen with a deobfuscated stacktrace. We can't help with this as is.


Make the aspect easily available to other DI frameworks

The current proxy implementation makes it hard for DI frameworks to play nice with the @UnitOfWork annotation. It is required to have an object, its proxy and wire the two in difficult way. For instance, using Guice, there are several solutions, but none are natural.
This simple change makes UnitOfWorkAspect public, but only accessible from a UnitOfWorkAwareProxyFactory instance.
This way, DI framework users can implement their own @UnitOfWork behavior. This moves the responsibility to the user. Therefore a guide has been written under the form of Javadoc for the UnitOfWorkAspect class. It basically says how to properly use the aspect, as intended by the original developer of UnitOfWorkAwareProxyFactory.
For instance, my original Guice solution took 300 lines of code, made heavy use the included proxy mechanism as well as an extra one and Objenesis, and was prone to memory leaks for some of the slightest changes. This change reduce it to ~20 lines, using the standard Guice way of things.

Looks good to me. Thanks for contributing!