Setting up Super set on google app engine

I was wondering if there was a way to setup super set on the google app engine.
Superset version
Expected results
Actual results
Steps to reproduce

@jeffrey-d-lipkowitz I had the same wish... And I ended up creating a guide on how to deploy Superset to App Engine.
https://medium.com/@feroult/serverless-superset-on-google-cloud-87d3cf324845

@jeffrey-d-lipkowitz I had the same wish... And I ended up creating a guide on how to deploy Superset to App Engine.
https://medium.com/@feroult/serverless-superset-on-google-cloud-87d3cf324845

@feroult how did you manage the background worker ? i know the superset package has its backgroud worker for celery but in app engine there is no option to run this service separately. If i try to migrate celery to cloud tasks i dont have an idea how since cloud tasks works only for http request handler.

@jeffrey-d-lipkowitz I had the same wish... And I ended up creating a guide on how to deploy Superset to App Engine.
https://medium.com/@feroult/serverless-superset-on-google-cloud-87d3cf324845

@feroult how did you manage the background worker ? i know the superset package has its backgroud worker for celery but in app engine there is no option to run this service separately. If i try to migrate celery to cloud tasks i dont have an idea how since cloud tasks works only for http request handler.

@str028 did you manage to accomplish that? I'm running Superset on Cloud Run and I'm trying to figure out a way for deploying the background workers on a separate service


Internal Server Error When Querying Catalog with QuerySpec and filterExpression due to missing JsonObjectToCriterionTransformer

Bug Report
Describe the Bug
When providing a QuerySpec payload to /v1alpha/catalog/query with a filterExpression, an internal server error 500 is returned. For example:
{
  "@context": [
    "https://w3id.org/edc/connector/management/v0.0.1"
  ],
  "@type": "QuerySpec",
  "filterExpression": [
    {
      "@type": "Criterion",
      "operandLeft": "id",
      "operator": "=",
      "operandRight": "asset"
    }
  ]
}

Expected Behavior
I expect a returned catalog according to the QuerySpec
Observed Behavior
A 500 Internal Server Error is returned
Steps to Reproduce
Provide the above QuerySpec to /v1alpha/catalog/query.
Detailed Description
The call fails due to a missing JsonObjectToCriterionTransformer in the
"default context" (root) TypeTransformerRegistry. As such, the QuerySpec JsonObject fails to be transformed.
FederatedCatalogCacheExtension.registerTransformers does not register JsonObjectToCriterionTransformer.
Possible Implementation
Add transformerRegistry.register(new JsonObjectToCriterionTransformer()); to FederatedCatalogCacheExtension.registerTransformers.
Other considerations:

Introduce a specific context for the federated catalog API like the management-api instead of the root/default context (or re-use the  management-api if applicable/possible.
Move the registration of transformers to FederatedCatalogApiExtension instead of FederatedCatalogCacheExtension\
Add test coverage for requests that contain a QuerySpec to FederatedCatalogApiControllerTest.

Hi @thomasrutger
thanks for raising this, the possible implementation you propose should fix the issue.
In case we are open to contribution :)

Hi @thomasrutger
thanks for raising this, the possible implementation you propose should fix the issue.
In case we are open to contribution :)

I would be happy to contribute the fix. Should I incorporate my additional points in the PR? Since some of them are refactor proposals not entirely related to just this specific issue.

I would apply the fix as you proposed and in case we can open a separated discussion/proposal on changing the transformer context for the federated catalog transformer registry


Validator build fails

The validator build fails on my machine, Arch Linux, Java 8:
git clone https://github.com/ZUGFeRD/mustangproject.git
cd mustangproject/validator
mvn clean package
[INFO] Scanning for projects...
[INFO] Inspecting build with total of 1 modules...
[INFO] Installing Nexus Staging features:
[INFO]   ... total of 1 executions of maven-deploy-plugin replaced with nexus-staging-maven-plugin
[INFO]
[INFO] --------------------< org.mustangproject:validator >--------------------
[INFO] Building Library to validate e-invoices (ZUGFeRD, Factur-X and Xrechnung) 2.0.0-alpha4-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  1.570 s
[INFO] Finished at: 2020-11-17T17:09:59+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project validator: Could not resolve dependencies for project org.mustangproject:validator:jar:2.0.0-alpha4-SNAPSHOT: Failed to collect dependencies at org.mustangproject:library:jar:2.0.0-alpha4-SNAPSHOT: Failed to read artifact descriptor for org.mustangproject:library:jar:2.0.0-alpha4-SNAPSHOT: Failure to find org.mustangproject:core:pom:2.0.0-alpha4-SNAPSHOT in https://oss.sonatype.org/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of sonatype-oss-public has elapsed or updates are forced -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

hi,
the validator depends on the library, please build the complete project, i.e. only cd mustangproject/validator not cd mustangproject/validator

PS: the validator component is only the validating functionality (= a library) component, after you built everything it's most likely that you want to start the Mustang-CLI component which allows to use the validating functionality via --action validate


Is there any way to create multiple websockets, and having access to all sessions?

Hi everyone!
Is there any way, to run 2 websockets at the same time, and a way to exchange clients between them? I mean for sending messages between those websockets.

Any ideas?

I have this implemented on my server, since I am using a cluster server each of my server is connected to each other all request coming to one server is automatically forwarded to the other server.

Well, could you describe it more clearly, because it doesn't make for me any sense. Do you have a multiple websockets running on different ports, and there is possibility to send a message from one websocket to another?

I didn't try such things, but can't you open a socket with React, and use that to communicate between the two WS server?

@NightShifter42 Do you mean 2 different servers clients can connect to or do you mean to load balance?

each of my servers have extra bindings on a port which they use to communicate with each other. then I use fsockopen to connect and send to another server.

I mean, I have one server. And two running websockets on different ports. So the clients of first socket, can interact (send messages) to clients of the second socket.
If I have an already running websocket. And I'm trying to get clients from other script, it returns null (even if clients are static).
I'm new to php, so before I have worked with C#. Could someone give me an idea, of how those clients can interact between two websockets?

I'm sure that you'll need to WS servers, and open a socket where they'll be able to communicate with each other.

You can use ZMQ to communicate across webscoket server like the push integration tutorial.
In advanced way you can pipe the stream from  ws1 to ws2 (Read WS1 -> Write WS2) via https://github.com/reactphp/stream/blob/master/src/Util.php#L9.
Just care about full duplex (WS1 -> WS2, WS2 -> WS1) you will need to check the origin of stream before copying it, or you will fall in infinite recopy :(

@NightShifter42 You can run both WebSockets servers from one script. Checkout this issue which runs multiple servers bound to different IP addresses, you can use similar code to host different Apps bound to different ports.

@cboden That makes sense! But I'm still don't know how can clients from different apps interact with each other? Maybe code tell you more.
<?php
class WebSocketClients{
protected $clients;

public function onOpen(ConnectionInterface $conn)
{
//some code
$conn->authenticated = false; //dynamic field
$clients->attach($conn);
//some code
}

public function onMessage(ConnectionInterface $from, $response)
{
//more code
$from->authenticated = true;
//more code;
}
}

And then, we have second class (app).
<?php
class WebSocketOthers{
protected $others;

//pretty same things.
//And how can I get all authenticated clients of WebSocketClients here, to send messages them from here???
}

You now have all the Connection objects in memory of one running application. You just need to bridge your 2 different app classes to share them. One way is to follow the architecture of Ratchet using decoration:
class WebSocketBridge implements MessageComponentInterface {
    public function onOpen(ConnectionInterface $conn) { }
    // etc
}

class WebSocketClients implements MessageComponentInterface {
    private $delegate;

    public function __construct(MessageComponentInterface $delegate) {
        $this->delegate = $delegate;
    }

    public function onOpen(ConnectionInterface $conn) {
        $conn->source = 'MainClients';
        $this->delegate->onOpen($conn);
    }
}

class WebSocketOthers { // etc, like WebSocketClients
}

    $pool = new WebSocketBridge;
    $one = new WsServer(new WebSocketClients($pool));
    $two = new WsServer(new WebSocketOthers($pool));
    // etc

You then have one instance with all your connections pooled together and can route messages how ever you choose.

@cboden YOU THE BEST! Thanks for the great idea!
PS.Thanks everyone for trying to help me.


Replaced componentWillMount with componentDidMount.

@alfredringstad do you expect this to cause any issues?

I think we should probably just close this since I switched to using the latest version of react-media

@ver1nty go ahead and close t his mr


Update version number of System.Web.Mvc in README and the sample project

This should've been part of the previous PR, my bad. No need to publish a new NuGet package version for this, right?

Good point, right. Yeah, no need for NuGet. Thanks.


Create a user (or provide a access token to existing user) for Danger CI

It'd be great to use Danger CI to enforce a bunch of stuff we do manually in code review. It's free and flexible. For example we could enforce our new Gems rules with:
if git.modified_files.include?('Gemfile.lock') && !github.pr_body.include('--conservative')
  failure "Gem/Bundle changes were not documented in the Description."
end

However, it needs a user and an API token. I can easily make one, but I'm guessing we already have one we'd like to use.
Here's the details: https://danger.systems/guides/getting_started#setting-up-an-access-token
I'm happy to create a ChefDanger user or some such and share the password with the rest of @chef/chef-infra-owners  if that's what people want. LMK.

For implementation internally this would work, for github actions it wont work on forks as any secrets aren't carried over to the fork and thus wont run in external users pipelines when creating a PR back to chef.

Not needed, implemented here without it: https://github.com/chef/chef/pull/13976


Peering Request

Full Name
Jakub Krsa
ASN
214757
PeeringDB Integration

[X] My PeeringDB Entries are current
[ ] Peer at ALL EXCHANGES (and skip the Peer Address(es) field below)

Peer Address(es)
2001:7f8:f2:e1:a5:21:4757:1
Multihop

[ ] Multihop Peering Request

Thanks for your interest in peering with RouteViews at LOCIX. Unfortunately our collector serving LOCIX is at capacity. We are in the process of releasing more resource to add more peers, and we will be back in touch once we are able to set up the peering.


Heavily contained logic on View layer

SurveyListFragment supposed to act as mainly rendering the UI, I wonder why would we put that much controller conditions in there? Let's take an example here
surveyViewModel.getResponse().observe(this, response -> {
            if (response.status) {
                if ((response.data != null) && (response.data.size() > 0)) {
                    adapter.setSurveys(response.data, isClear);
                    binding.pageIndicator.setViewPager(binding.surveyViewpager);

                    if (isClear) {
                        binding.surveyViewpager.setCurrentItem(0);
                    }

                    isClear = false;
                } else {
                    allowLoadMore = false;
                }

            } else {
                Timber.i("error : %s", response.error.getMessage());
            }
        });

Because I design class Response to allow return both type of data "success" and "error"
for handle like if user don't have internet so will show some dialog
and the logic you saw in the code relate with rendering UI


Added watchOS simulator alias

Dunno if this is any use tbh, maybe Tim Cook would appreciate it being included.

Ha, cool, I'm down for that.

Ha, cool, I'm down for that.


achilles6: Initial support for Lenovo M10 FHD Plus

title
yea its tested 🍡🍡🍡

wait i forgot status.md :trhumbsup:

meh status is wip
also fix ur fb size

nvm its fixed, will merge when i fix mtk framebuffer format stuff

technically fixed so yeah


[PE-D] The image in the UG of the json file under the "Editing you data directly" section does not seem to accurately depict the actual json files.

It might be due to an updated image, but the image in the UG shows guests being saved as "persons", as well as having "Archive" in the same file. But in reality, guests are saved as "guests", and also in a separate json file from archived guests, which are also named "guests".

Labels: severity.Low type.DocumentationBug
original: BryannYeap/ped#10

Added pull request to fix this issue.


both filter date range and input not working

Describe the bug
when applying filter on two columns it doesn't work properly, because the url will be replaced by the contents of the date range or input, but this doesn't happen if applying both filters to two regular inputs
Desktop (please complete the following information):

OS: mac os ventura
Browser chrome
Version 108.0.5359.98 (Official Build) (arm64)

This should be resolved in release 13.9.2

ok thanks


unable to uninstall calico and get stuck on 'test-install-calicovpp-dev'

Environment

Calico/VPP version:  master,bff8eba4cf614b9f3591150ded186e914a0105ab
Kubernetes version:  V1.23.12
Deployment type: VM
Network configuration: Calico / host-local IPAM? IPIP / VXLAN enabled? Specific BGP settings?

Issue description
Can't remove calico pods when 'make test-install-calicovpp-dev'.
To Reproduce
Steps to reproduce the behavior:

1> successfully set up develop env according to 'https://github.com/projectcalico/vpp-dataplane/blob/master/docs/developper_guide.md'
2> change&modify VPP then reload vpp-nodes by 'make load-images'
3> update calico-vpp by 'make test-install-calicovpp-dev'

Expected behavior
Remove the old version calico-app and successfully upgrade the new one.
Additional context
Some of the pods stuck on the status of 'Terminating'.
$k get pods -A -o wide
NAMESPACE              NAME                                       READY   STATUS             RESTARTS        AGE     IP               NODE     NOMINATED NODE   READINESS GATES                                               calico-apiserver       calico-apiserver-69fcc8ccf5-8j9qt          0/1     Terminating        0               7d19h   <IP_ADDRESS>     node2
calico-apiserver       calico-apiserver-69fcc8ccf5-xv74m          0/1     Terminating        0               7d19h   <IP_ADDRESS>   node1                                                             calico-system          calico-kube-controllers-555bcb4844-zhn9k   0/1     CrashLoopBackOff   7 (44s ago)     7d19h   <IP_ADDRESS>    master                                                            calico-system          calico-node-gnmkf                          1/1     Running            0               7d19h   <IP_ADDRESS>     node2                                                             calico-system          calico-node-p55z9                          1/1     Running            0               7d19h   <IP_ADDRESS>    master
calico-system          calico-node-tdvw2                          1/1     Running            0               7d19h   <IP_ADDRESS>     node1
calico-system          calico-typha-844764bf54-27ps6              1/1     Running            0               7d19h   <IP_ADDRESS>     node1
calico-system          calico-typha-844764bf54-d8z6b              1/1     Running            0               7d19h   <IP_ADDRESS>     node2
calico-system          csi-node-driver-4vrp6                      2/2     Running            0               7d19h   <IP_ADDRESS>    master
calico-system          csi-node-driver-b5lxz                      2/2     Running            0               7d19h   <IP_ADDRESS>     node2
calico-system          csi-node-driver-tt9k2                      2/2     Running            0               7d19h   <IP_ADDRESS>   node1
calico-vpp-dataplane   calico-vpp-node-97trd                      2/2     Running            1 (7d19h ago)   7d19h   <IP_ADDRESS>     node2
calico-vpp-dataplane   calico-vpp-node-s87g5                      2/2     Running            0               7d19h   <IP_ADDRESS>    master
calico-vpp-dataplane   calico-vpp-node-x4mmk                      2/2     Running            1 (7d19h ago)   7d19h   <IP_ADDRESS>     node1
kube-system            coredns-64897985d-b74hd                    1/1     Running            0               7d19h   <IP_ADDRESS>    master
kube-system            coredns-64897985d-wfl6l                    1/1     Running            0               7d19h   <IP_ADDRESS>    master
kube-system            etcd-master                                1/1     Running            0               7d19h   <IP_ADDRESS>    master
kube-system            kube-apiserver-master                      1/1     Running            0               7d19h   <IP_ADDRESS>    master
kube-system            kube-controller-manager-master             1/1     Running            0               7d19h   <IP_ADDRESS>    master
kube-system            kube-proxy-9svks                           1/1     Running            0               7d19h   <IP_ADDRESS>    master
kube-system            kube-proxy-bpzlp                           1/1     Running            0               7d19h   <IP_ADDRESS>     node1
kube-system            kube-proxy-kbr6g                           1/1     Running            0               7d19h   <IP_ADDRESS>     node2
kube-system            kube-scheduler-master                      1/1     Running            0               7d19h   <IP_ADDRESS>    master
================
make test-install-calicovpp-dev
make test-install-calico CALICO_INSTALLATION=installation-test-v4
make[1]: Entering directory '/home/douchao/project/vpp-dataplane'
kubectl replace --force -f https://raw.githubusercontent.com/projectcalico/calico/master/manifests/tigera-operator.yaml
customresourcedefinition.apiextensions.k8s.io "installations.operator.tigera.io" deleted
error: timed out waiting for the condition
make[1]: *** [Makefile:92: test-install-calico] Error 1
make[1]: Leaving directory '/home/douchao/project/vpp-dataplane'
make: *** [Makefile:99: test-install-calicovpp] Error 2

Hello, sorry for the late reply.
I managed to reproduce this issue. This actually is not a calico-vpp issue as I can reproduce it with calico itself as well. It looks to be some mismatch between tigera operator job and vagrant setup. Operator is not launching the uninstallation of some components for some reason. I am still investigating that. Will keep you updated.


Installation fails on Windows Server 2019

Hi When installing 2.9.2 on windows server 2019, there is an error in the powershell ps1 file that causes the installation to fail.
Is windows 2019 supported yet?
Thanks

Checked the FAQ, IIS console was installed already.

What is the error please ?

We changed to a 2016 machine before i could check sorry.


Configure network programmatically

We are in the process of writing a web interface on top of the IOT2050 with various configuration options, under which one can configure the network settings for both Ethernet ports. We are having difficulties, however, with configuring the network settings manually.
By default, the box uses NetworkManager. The iot2050setup script uses a GUI provided by NetworkManager itself to configure these network settings, if I correctly interpreted the Python source code. We would like to change network settings from NodeJS, so using this GUI is not an option. It's possible to interact with nmcli through d-bus, but there's only a few obscure open-source libraries, nothing mature enough for production.
To simplify matters, we tried disabling NetworkManager and just rely on default Linux networking, by creating and editing files in /etc/network/interfaces.d/ and using ifup and ifdown. This approach, however, seems very unstable. We expected it to work smoothly, but all kinds of issues have arisen:

Sometimes when the DHCP lease expires, the interface does not get a new IP address and the box becomes unreachable. Only way of saving it is logging in via UART or over SSH via the other (statically configured) interface. This happens even though dhclient is running.
When eth1 is configured as DHCP and the gateway is connected to an outbound internet connection this way, some programs (like npm) do not get through to the internet, presumably because routing is incorrect. This does not happen however when eth0 is connected to the internet.
There's weird things going on with ifdown and ifup. While ifconfig sees both interfaces, running ifdown eth0 returns errors saying no such interface exists.

In short, the box becomes generally unstable. On a Debian system, it is not expected you have to worry about DHCP leases and routing tables. What would be the best way to configure networking manually, while not breaking the whole system? We'd like to stay as close as possible to what Siemens developed, but can't really figure out what's the best way without experiencing major problems.
Thanks in advance!

Please reopen if you have any follow-up questions.


Adding a change log

I have noticed that sometimes we are getting updates to ML.NET Model Builder with no changelogs (or at least I haven't seen them). Since this project is (still?) not open source, it's impossible for us to figure out what changed.
Can we have one consistent place for changes and have a link to that from:

https://marketplace.visualstudio.com/items?itemName=MLNET.07
https://docs.microsoft.com/en-us/dotnet/machine-learning/automate-training-with-model-builder

Alternatively, you can publish the extension as open-source and off-load the work to the community. 😉

@jernejk, thanks for your recommendation to make ML.Net Model Builder open source !
@JakeRadMSFT, what is the plan around to make it open source?

@jernejk, thanks for your recommendation to make ML.Net Model Builder open source !
@JakeRadMSFT, what is the plan around to make it open source?

Thanks @jernejk! We'll start adding change logs! That's a great idea!
No ETA on Open Sourcing yet but we have been preparing to do so!

Thanks @jernejk! We'll start adding change logs! That's a great idea!
No ETA on Open Sourcing yet but we have been preparing to do so!

Thanks. :)
I'm frequently doing demos to clients and audiences on various events, and it's nice to know what changed. 😊
I have once done a live demo in December where the UI completely changes and half of my demo was "Oh, they fixed that too... Awesome, I can now talk more about X!". 😂 (some of them were scripted as some have already seen my demos)
Great job on Model Builder. 🤗

Thanks. :)
I'm frequently doing demos to clients and audiences on various events, and it's nice to know what changed. 😊
I have once done a live demo in December where the UI completely changes and half of my demo was "Oh, they fixed that too... Awesome, I can now talk more about X!". 😂 (some of them were scripted as some have already seen my demos)
Great job on Model Builder. 🤗

We've started adding change logs! You can see them here - https://github.com/dotnet/machinelearning-modelbuilder/tree/main/docs/release-notes. The first one covered about 9 months of work, so it isn't as detailed as I'd like, but we will improve as our releases becomes more regular.
Thank you for the suggestion @jernejk! Please let us know when you have other ideas or thoughts.


[RESOLVED] Interface eth0(): High error rate (>2 for 5m)

Problem started at 13:33:29 on 2023.05.25
Problem name: Interface eth0(): High error rate (>2 for 5m)
Host: S100-Primario
Severity: Warning
Operational data: errors in: 0, errors out: 0
Original problem ID: 22467
Event details in Zabbix: http://<IP_ADDRESS>/tr_events.php?triggerid=23483&eventid=22467

Problem has been resolved in 3m 0s at 13:36:29 on 2023.05.25
Problem name: Interface eth0(): High error rate (>2 for 5m)
Host: S100-Primario
Severity: Warning
Original problem ID: 22467


Make gene set copy & pasteable in the learn about cells functional characteristics tutorial

This tutorial is hard to follow without being able to copy & paste gene sets.


Spotify displays black screen

🧐 Have you fully read the README and viewed similar issues?

[X] I have read the README
[X] I have checked older issues, open and closed
[X] I did a clean install of Spotify and SpotX

Сountry of your account
Poland
What is your Spotify Plan?
Free
Do you have Spicetify installed?
No
ℹ Computer information
- Spotify: 1:<IP_ADDRESS>5.g4d59ad7c
- Distro: Linux Mint 21.3
- Shell: /usr/bin/bash

📝 Description

Install Spotify with System Package
Turn on Spotify and log in - everything works fine
Patching with spotx - successfully
Turn on Spotify - black window

(same for flatpack)
🖥 Terminal Input/Output
`bartek@bartekkomp:~$ sudo spotify
[sudo] password for bartek:
Authorization required, but no authorization protocol specified
Authorization required, but no authorization protocol specified
Authorization required, but no authorization protocol specified
(spotify:18441): libayatana-appindicator-WARNING **: 22:15:16.311: Unable to get the session bus: Unknown or unsupported transport “disabled” for address “disabled:”
(spotify:18441): LIBDBUSMENU-GLIB-WARNING **: 22:15:16.311: Unable to get session bus: Unknown or unsupported transport “disabled” for address “disabled:”
Authorization required, but no authorization protocol specified
Authorization required, but no authorization protocol specified
Authorization required, but no authorization protocol specified
ERR: Display.cpp:1052 (initialize): ANGLE Display::initialize error 12289: Could not open the default X display.
Authorization required, but no authorization protocol specified
ERR: Display.cpp:1052 (initialize): ANGLE Display::initialize error 12289: Could not open the default X display.
Authorization required, but no authorization protocol specified
Authorization required, but no authorization protocol specified
ERR: Display.cpp:1052 (initialize): ANGLE Display::initialize error 12289: Could not open the default X display.
Authorization required, but no authorization protocol specified
ERR: Display.cpp:1052 (initialize): ANGLE Display::initialize error 12289: Could not open the default X display.
`
📸 Screenshots

Same issue here, works perferctly if SpotX is not applied. One thing is that even if the app's window is black, I can control and play music via keyboard media keys.

Same thing happening with me, waiting for fix

Same here

Same issue for latest flatpak version. I'm on Fedora

same issue

Works fine on my end, don't use flatpak (Linux Mint 21.3)

same problem on fedora 39 kde
music plays just fine through the play/pause buttons but the GUI doesn't render


Number of Islands

Related Issue

Number of Islands #159

Proposed Changes

Problem and Code in the file
Readme (Contains Problem description and example and Approach)

Checklist

[x] ✅ My code follows the code style of this project.

[x] 📝 My change requires a change to the documentation.

[x] 🎀 I have updated the documentation accordingly.

[x] 👀 I have read the CONTRIBUTING document.

[x] ✨ I have added tests to cover my changes.

[x] 🚩 All new and existing tests passed.

[x] 🌟 ed the repo

This pull request contains the solution of the issue Number of Islands #159

It fixes the issue created by me for the addition of a problem in G-Graphs Section

It contains a readme file that contains problem Description and a file that contains code for the given problems with a proper description of comments.

It has passed all the test cases and I have attached screenshots of two test cases as well.

[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to change)

Output Screenshots

Screenshot #1
Screenshot #2

Testcase1
Testcase2

Similar Problem is present here  so justify in comments you have not copied from here !?

Your Code looks good but you can still modify your README
You need to follow particular guidelines for your README , please follow these guidelines click here also you can see how your README should look like see here for more please go through these here
Starr the repo if you haven't !
Have you watched this video ?
Please complete the checklists only if you have done them , i see you haven't starred the repo yet but checked it in checklist.

Starr the repo if you haven't !
Have you watched this video ?
Please complete the checklists only if you have done them , i see you haven't starred the repo yet but checked it in checklist.

Hello @Lakhankumawat sir I have added more description of problem in README.md and have starred the repo as well. Please review my pr

Hello contributor, upon going through the PR it seems to have been beautifully presented but the description and also the images used without acknowledging the source, falls under plagiarism, Your description had 70% plagiarised when run through the software, It violates the guidelines.

closed #159


Space obstacle minigame - Map design

Description
Task: Implementing the map design which includes enemies and obstacle generation of the space obstacle minigame
Feature: Space Obstacle Course Minigame Feature (#8)
The task involves implementing the creation of entities like enemies and obstacles on the map for the space obstacle minigame. This involves implementing a hitbox for every entity. The task is also to ensure that there is a goal/endpoint/end goal/finish line.
Dependencies
Dependent on the task ticket assigned to Arsh and Manpreet. (#51)
Milestones
List of steps that need to be completed for this task.

[x] Asset acquisition for the enemies and the obstacles of the game (Aug. 20)
[x] Implementing the main structure of the main entities (Aug. 22)
[x] Adding hitboxes to the spaceship, enemies, and obstacles (Aug. 24)
[x] Completion of the first map design that we want for the map (Aug. 27)
[ ] JUnit testing (Aug. 30)

Completion Deadline: Aug. 30
Documentation

TBD

Member

Anshul Dadhwal (@AnshulDadhwal)
Zhen Feng (@Foref)

Basic Design Done


[Event Request] Codeunit 5760 "Whse.-Post Receipt" function PostWhseJnlLine

Dear ALAppExtensions Team,
We would like to request the following event publisher in codeunit 5760 "Whse.-Post Receipt" function PostWhseJnlLine
    OnBeforeRegisterWhseJnlLines(TempWhseJnlLine, PostedWhseRcptHeader, PostedWhseRcptLine);

    ItemTrackingMgt.SplitWhseJnlLine(TempWhseJnlLine, TempWhseJnlLine2, TempWhseSplitSpecification, false);
    if TempWhseJnlLine2.Find('-') then
        repeat
        // DINNL <<
       DINOnPostWhseJnlLineBeforePost(TempWhseJnlLine2, PostedWhseRcptHeader);
       // DINNL >>
       WhseJnlRegisterLine.Run(TempWhseJnlLine2);
    until TempWhseJnlLine2.Next() = 0;

 local procedure DINOnPostWhseJnlLineBeforePost(var WarehouseJournalLine: Record "Warehouse Journal Line"; PostedWhseReceiptHeader: Record "Posted Whse. Receipt Header")

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Milestone: Implement the users & posts views :eyes: :art:

Description: :speech_balloon:
At this pull request the views for users and posts where implemented which rely on the controllers and also I used the bootstrap for the styling and at each view I made sure the navigate from one page to another where implemented correctly.
Project Requirements: :thinking:

Analyze the wireframes deeply and try to identify all the necessary elements
consider how a user would navigate from one page to another.
Use methods that you have created in the [Blog App - processing data in models]

Done: :white_check_mark:

[x] Implement the views for show and index to the users ans posts :

views/users/index
views/users/show
views/posts/index
views/users/show

[x] At each view use the navigator to make the user experience easy
[x] Use some of the models method  post.recent_comments and recent_posts.
[x] following the wireframe and also use the bootstrap to make the view look more nice.

Thanks in advance to the reviewer for taking time and effort to review my code. :pray: :heart_decoration:

 @ahmedeid6842

Thanks @Omar-Muhamad, Appreciated :pray: :heart_decoration:


"Alexeni" is listed in the drop-down menu

Description:
When user writes "Alexeni" the location appears in the drop-down menu next to the comune and the county which is a part according to the law
Precondition:
The website is up an running.

Step 1
Write in the search bar "Alexeni"

Expected results
The location appears in the drop-down menu as "Comuna Alexeni, IALOMIȚA "

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 3
Write again in the search bar "Alexeni"

Expected results
The location appears in the drop-down menu as "Sat Alexeni, IALOMIȚA, (Alexeni) "


Fix spelling in samples

Fixing spelling

Good news, typos have test coverage 🤦♂
1) Test Failure : winswTests.Configuration.ExamplesTest.allOptionsConfigShouldDeclareDefaults
     String lengths are both 61. Strings differ at index 28.
  Expected: "This service is a service cratead from a sample configuration"
  But was:  "This service is a service created from a sample configuration"
  ---------------------------------------^

Thanks @pram !


[Help] Add sub item to the end of expandable item programmatically

Hi @davideas,
This library is wonderful. I'm trying to use it in my app.
I got some problem when implement and expandable list.
HeaderItem
public class HeaderItem extends AbstractExpandableHeaderItem<HeaderItem.HeaderViewHolder, ChildItem> {
    private String id;

    public HeaderItem(String id) {
        this.id = id;

        setHidden(false);
        setExpanded(true);
        setSelectable(false);
    }

    @Override
    public boolean equals(Object inObject) {
        if (inObject instanceof HeaderItem) {
            HeaderItem inItem = (HeaderItem) inObject;
            return this.getId().equals(inItem.getId());
        }
        return false;
    }
}

ChildItem
public class ChildItem extends AbstractSectionableItem<ChildItem.PlaceItemViewHolder, HeaderItem> {
    public ChildItem(HeaderItem header) {
        super(header);
    }

   static class PlaceItemViewHolder extends FlexibleViewHolder implements {
        public PlaceItemViewHolder(View view, FlexibleAdapter adapter) {
            super(view, adapter);
        }

        public void onButtonClick(View view) {
            // Add new child to the end of header
        }
    }
}

In first initialization, I created 1 header and 1 child.
In the view holder of child item. I would like to add new child to header when clicking on the button.
I tried many ways but can't archive this.
Please help!

Hello @r0b0t3d, I would like understand if you need help for the Adapter methods to call or how to put a callback responsible in adding new items or both.
I understood that you don't need item click listener. I think it's better to delegate the adding to the Activity/Fragment, in this case it's better to create a custom interface (callback) named OnChildAddListener with addChild(headerObject?) to call from inside the onButtonClick(), you can have the instance mOnChildAddListener in your custom Adapter.
static class PlaceItemViewHolder extends FlexibleViewHolder {

    private CustomAdapter mAdapter;

    public PlaceItemViewHolder(View view, CustomAdapter adapter) {
        super(view, adapter);
    }

    public void onButtonClick(View view) {
        // Add new child to the end of header
        mAdapter.mOnChildAddListener.addChild(
    }
}

Activity will implement the method interface. Here you call mAdapter.addSubItem(parentPosition, subPosition, item). The effect of adding is performed if the expandable item is expanded, If you need more control, there are more addSubItem methods.
Actually there are many solutions to identify the correct subPosition, this is just one:
public void addChild(IExpandable header) {
    ChildItem childItem = ...
    header.addSubItem(childItem);
    mAdapter.addSubItem(mAdapter.getGlobalPositionOf(header),
            header.getSubItemPosition(childItem),
            childItem);
}

Another one is to calculate the position with a Comparator object, then call the appropriate adapter methods for sections.
In the future I will try to simply all this.
Expandable items born before the Headers and Sections and now they look similar.

Thanks @davideas,
I can solve my problem with this method
public void addChild(AbstractExpandableHeaderItem header) {
    ChildItem childItem = ...
    //Add the child item to the end of the section
    //Note: you don't need this if childItem is already part of the sublist
    header.addSubItem(childItem);
    //Synchronize the Adapter
    mAdapter.addSubItem(mAdapter.getGlobalPositionOf(header),
            header.getSubItemPosition(childItem),
            childItem);
}

I was confused by the object calls:
child.setHeader(header);
header.adSubItem(child);

Does it cause a reference loop here?

@r0b0t3d, actually the instances of these objects are referenced into each others, but there's no loop because inside those methods, no calls to the other method is done.
We need a list of subItems because, when we collapse the section, their instances have to exist somewhere because when expansions occurs the Adapter picks them up from that list.
And the child needs the header instance otherwise we loose the information of which object is the parent, without it, it doesn't work.
Glad I helped you.


Added a more prominent link to the FAQ

This is the best way to up visibility for this on the website that I could think of. See #44

:+1:


feature:  提供 Agent 包管理后台基础接口 (closed #1683)

Reviewed, transaction id: 2051
PR
CheckList（PR Assigners）
确认已完成以下操作：

[ ] 已将分支与当前合入分支同步
[ ] 已在关联 Issue 中补充「功能自测」部分内容
[ ] 已更新关联 Issue 的状态 backlog -> todo -> for test -> tested（需通过测试同学测试） -> done
[ ] 将 PR 添加上 pr/reviewable

CheckList（PR Reviewers）
确认已完成以下操作：

[ ] 检查关联 Issue 「功能自测」部分内容
[ ] 必要时打回 pr/reviewable，要求重新修改
[ ] 及时 Approve

Codecov Report
Attention: 150 lines in your changes are missing coverage. Please review.

Comparison is base (e139fe4) 74.65% compared to head (94ea257) 74.84%.

Files
Patch %
Lines

apps/node_man/views/package_manage.py
57.04%
61 Missing :warning:

apps/node_man/serializers/package_manage.py
75.00%
28 Missing :warning:

apps/node_man/handlers/gse_package.py
79.41%
21 Missing :warning:

apps/node_man/tools/package.py
57.14%
12 Missing :warning:

apps/core/ipchooser/tools/base.py
60.00%
10 Missing :warning:

apps/core/tag/targets/agent.py
40.00%
6 Missing :warning:

apps/backend/agent/artifact_builder/base.py
90.90%
2 Missing :warning:

apps/core/tag/views.py
75.00%
2 Missing :warning:

apps/node_man/tools/gse_package.py
92.00%
2 Missing :warning:

apps/backend/sync_task/constants.py
50.00%
1 Missing :warning:

... and 5 more

Additional details and impacted files
@@                    Coverage Diff                     @@
##           feature/package_manage    #2070      +/-   ##
==========================================================
+ Coverage                   74.65%   74.84%   +0.18%
==========================================================
  Files                         411      415       +4
  Lines                       28594    29061     +467
==========================================================
+ Hits                        21347    21750     +403
- Misses                       7247     7311      +64

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

是否考虑增加一个migration文件，部署的时候自动添加内置标签【以下为简单示例代码】
# Generated by Django 3.2.4 on 2024-01-22 09:42
# -*- coding: utf-8 -*-
"""
TencentBlueKing is pleased to support the open source community by making 蓝鲸智云-节点管理(BlueKing-BK-NODEMAN) available.
Copyright (C) 2017-2022 THL A29 Limited, a Tencent company. All rights reserved.
Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License.
You may obtain a copy of the License at https://opensource.org/licenses/MIT
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
specific language governing permissions and limitations under the License.
"""

from django.db import migrations

from apps.core.tag.constants import TargetType
from apps.node_man.constants import CategoryType, GsePackageCode
from apps.node_man.models import GsePackageDesc
from apps.core.tag.models import Tag

def add_tag_records(apps, schema_editor):
    agent_target_id = GsePackageDesc.objects.create(
        project=GsePackageCode.AGENT.value, category=CategoryType.official
    ).id

    proxy_target_id = GsePackageDesc.objects.create(
        project=GsePackageCode.PROXY.value, category=CategoryType.official
    ).id

    for target_id in [proxy_target_id, agent_target_id]:
        # 添加Tag记录
        Tag.objects.create(
            name="stable",
            description="稳定版本",
            target_id=target_id,
            target_type=TargetType.AGENT.value,
        )
        Tag.objects.create(
            name="latest",
            description="最新版本",
            target_id=target_id,
            target_type=TargetType.AGENT.value,
        )
        Tag.objects.create(
            name="test",
            description="测试版本",
            target_id=target_id,
            target_type=TargetType.AGENT.value,
        )

class Migration(migrations.Migration):

    dependencies = [
        ("xxx", "xxx"),
    ]

    operations = [
        migrations.RunPython(add_tag_records),
    ]


⚠ sg1vpn.serverssh.net has degraded performance

In 6896a79, sg1vpn.serverssh.net (http://sg1vpn.serverssh.net:10000/) experienced degraded performance:

HTTP code: 200
Response time: 10674 ms

Resolved: sg1vpn.serverssh.net performance has improved in 4f0347a.


Not answering questions

This is my first time trying to use magic notes and its not answering any questions. It has changed the theme but I'm not sure how to get it to fill in answers. This could just be me using it wrong but I've tried downloading it and using it as a bookmark and  nothing's worked. Hope you can help.

Thank you for creating an issue.
If you give me your initials and the time that you tried answering questions, I can look at the logs to see if I can work out the problem.

How would you check logs?
Would you check on MongoDB?

Yes.


#F StringProviding integration

StringProviding is set when configuration is done. Then this StringProviding will be used to retrieve remote string if exists, otherwise localized value is taken from local file.

!squash


Bosh create release fails when there is a missing directory/file in the jobs dir

I was hitting this lovely error
.../.gem/ruby/2.1.7/gems/bosh_cli-1.3093.0/lib/cli/resources/job.rb:12:in `block in discover': undefined method `<<' for nil:NilClass (NoMethodError)
The bug is in line 8
next unless File.directory?(job_base)
It needs to return jobs otherwise you end up with a nil array.

did you change sources of lib/cli/resources/job.rb? I am confused because error message show that error happen on line 12 and there is no any code invocation there.

@fraenkel really "lovely" behaviour.
I fixed it in this PR https://github.com/cloudfoundry/bosh/pull/983

Nope, here is a more complete stack
/Users/fraenkel/.gem/ruby/2.1.7/gems/bosh_cli-1.3093.0/lib/cli/resources/job.rb:12:in `block in discover': undefined method `<<' for nil:NilClass (NoMethodError)
	from /Users/fraenkel/.gem/ruby/2.1.7/gems/bosh_cli-1.3093.0/lib/cli/resources/job.rb:7:in `each'
	from /Users/fraenkel/.gem/ruby/2.1.7/gems/bosh_cli-1.3093.0/lib/cli/resources/job.rb:7:in `inject'
	from /Users/fraenkel/.gem/ruby/2.1.7/gems/bosh_cli-1.3093.0/lib/cli/resources/job.rb:7:in `discover'
	from /Users/fraenkel/.gem/ruby/2.1.7/gems/bosh_cli-1.3093.0/lib/cli/commands/release/create_release.rb:194:in `build_jobs'
	from /Users/fraenkel/.gem/ruby/2.1.7/gems/bosh_cli-1.3093.0/lib/cli/commands/release/create_release.rb:98:in `create_from_spec'

In CLI 1.3120.0


feat($search): Filter on Home with themeConfig

Filter component Support on Home Layout;
Allow enable this feature on themeConfig.homeFilters;
Allow configure Categories, Tags and Search separated;
Default state of this Filters it´s disabled.

I wonder if we should make it as a theme level config.
In fact, we can create a src/index.md to have similar feature like this PR:
# src/index.md
---
layout: Posts
---

I was thinking about how to make the <Home> layout better. For now, <Home> looks like a simplified version of <Posts>.
Even we add this feature, <Home> still looks like another <Posts>, too.

I've added docs about custom layout here

About Home I agree, in fact in my project I disabled the posts page.
But, on second thought, this ends up behaving just like a blog, and I do not seem to be the purpose of this theme.
It seems to me that it is important to search the entire site.
But, I will rethink my Home, or use CustomLayout for that..

Anyway, I've learned a lot by working on it.
And thank you very much for that.
In the next changes, I'll open a issue before a PR.

Some features need some discussion before implementation. Issue first would avoid wasting your time.
Anyway, you can customize this theme in your own fork as you like 😄 .

True, I using my fork as submodule on my page.
It's working fine, and easyly to customize.
Closing this PR.


接受到一个请求后， anyproxy报错，自动关闭

Plese fill the template when you reporting a new issue, thanks!

Which platform are you running AnyProxy

Mac
The version of the AnyProxy

4.0.12
Your expected behavior of AnyProxy

The actual behavior of AnyProxy

The log of the error

[AnyProxy Log][2018-10-11 16:09:10]: received request to: GET www.localnetwork.uop/
[AnyProxy ERROR][2018-10-11 16:09:10]: Error: getaddrinfo ENOTFOUND www.localnetwork.uop www.localnetwork.uop:80
[AnyProxy ERROR][2018-10-11 16:09:11]: got an uncaught exception, is there anything goes wrong in your rule file ?
Error: read ECONNRESET
at TCP.onStreamRead (internal/stream_base_commons.js:111:27)
[AnyProxy Log][2018-10-11 16:09:11]: destorying https connection : <IP_ADDRESS>:62976
[AnyProxy Log][2018-10-11 16:09:11]: endding https cltSocket : <IP_ADDRESS>:62976
[AnyProxy Log][2018-10-11 16:09:11]: clearing cache file...
[AnyProxy Log][2018-10-11 16:09:11]: ==>>> clearing cache
[AnyProxy Log][2018-10-11 16:09:11]: closing webserver...

Met the same issue, on Mac, anyproxy V4.0.12

me too.

i met same issue(when my node version was 10), maybe you should check your node version. Now i use 8,  it is stable

Plese fill the template when you reporting a new issue, thanks!
Which platform are you running AnyProxy
Mac
The version of the AnyProxy
4.0.12
Your expected behavior of AnyProxy
The actual behavior of AnyProxy
The log of the error
[AnyProxy Log][2018-10-11 16:09:10]: received request to: GET www.localnetwork.uop/
[AnyProxy ERROR][2018-10-11 16:09:10]: Error: getaddrinfo ENOTFOUND www.localnetwork.uop www.localnetwork.uop:80
[AnyProxy ERROR][2018-10-11 16:09:11]: got an uncaught exception, is there anything goes wrong in your rule file ?
Error: read ECONNRESET
at TCP.onStreamRead (internal/stream_base_commons.js:111:27)
[AnyProxy Log][2018-10-11 16:09:11]: destorying https connection : <IP_ADDRESS>:62976
[AnyProxy Log][2018-10-11 16:09:11]: endding https cltSocket : <IP_ADDRESS>:62976
[AnyProxy Log][2018-10-11 16:09:11]: clearing cache file...
[AnyProxy Log][2018-10-11 16:09:11]: ==>>> clearing cache
[AnyProxy Log][2018-10-11 16:09:11]: closing webserver...

i met same issue(when my node version was 10), maybe you should check your node version. Now i use 8,  it is stable

thanks @pytpeng
@SongZhenhuawandou @zhifengmuyu @ningdb can you change a node version and take a try. BTW, are you all in node 10 now?

@codingfishman , my node version is 10.10.0

replicable w/ node version 11.3.0

version 8 is ok。

https://github.com/alibaba/anyproxy/pull/454


Best way to gracefully shut down container from inside?

What is the best way to shut down the container from the inside and get an exit code 0?

This doesn't seem to work for me. kill -9 1 seems to be ignored.
trap 'ON_ERR' err

trap 'ON_EXIT' exit

function ON_ERR(){

	local EXIT_CODE=${1:-1}

	echo "VPN FAILURE. STOPPING CONTAINER."

	printf "" > "${VPN_FILE_AUTH}"

	kill -9 1

	echo "$?"

	exit ${EXIT_CODE}
}

function ON_EXIT(){

	local EXIT_CODE=$?

	(( EXIT_CODE > 0 )) && ON_ERR ${EXIT_CODE}

	printf "" > "${VPN_FILE_AUTH}"

	exit 0
}

exit 1

Does not actually stop the container.
What am I missing?


Organization name refactoring

Description
LiqoTech organization has been replaced by liqotech for being fully
compliant with the go get approach, which is case insensitive. This
renaming implied the refactoring of all the import statements in the
project.

Pull Request Test Coverage Report for Build 248312375

2 of 2 (100.0%)  changed or added relevant lines in 2 files are covered.
25 unchanged lines in 3 files lost coverage.
Overall coverage decreased (-0.2%) to 50.609%

Files with Coverage Reduction
New Missed Lines
%

internal/liqonet/route-operator.go
4
72.81%

pkg/liqonet/route.go
4
0%

pkg/liqonet/route_mock.go
17
50.88%

Totals

Change from base Build 248306378:
-0.2%

Covered Lines:
6732

Relevant Lines:
13302

💛  - Coveralls


Zombie processes

Expected Behavior
No dapr app zombi processes should exist and the usage of dapr-cli should be predictable.
Actual Behavior
Sometimes some zombie processes seem to be there but not shown and coming up at a later stage.
Also the usage of dapr list returns different results without scheduling something new.
Steps to Reproduce the Problem
There was no other terminal or process open, running dapr cli calls or something else.
As you can see dapr list does not show up the app subscriber and I have not scheduled it.
PS C:\Sources\dapr-java-azure-sample> dapr list
No Dapr instances found.

PS C:\Sources\dapr-java-azure-sample> dapr run --app-id invokedemo --app-port 3000 --port 3005 -- mvn exec:java -Dexec.mainClass=com.dapr.azure.sample.invoke.DemoService -Dexec.args="-p 3000"
there's already a Dapr instance running with http port 3005

PS C:\Sources\dapr-java-azure-sample> dapr list
  APP ID      HTTP PORT  GRPC PORT  APP PORT  COMMAND               AGE  CREATED              PID
  subscriber  3005       56464      3000      mvn exec:java -D ...  1d   2020-02-05 14:17.56  9412

PS C:\Sources\dapr-java-azure-sample> dapr stop --app-id subscriber
app stopped successfully

PS C:\Sources\dapr-java-azure-sample> dapr list
No Dapr instances found.

PS C:\Sources\dapr-java-azure-sample> dapr --version
CLI version: 0.3.0
Runtime version: 0.3.0

Looking at the logs, this seems to work as expected.
The fact you were able to stop the Dapr app and then didn't see it on list means there was an instance running. This might happen if you close the terminal window without exiting properly, and is why we have the stop command there.
If you were unable to stop the app due to it not running but showing up in the list, then I'd say this is a zombie process.

Can you reproduce this on every try?
If so, can you try it with a non Java app (like one of our J's samples)?

@yaron2 no - it comes up unpredictable, do we have any log switch for the cli I can enable on each call for getting more information when it happens?

There's no switch today for the CLI process' logging, but there ought to be.  If you see it again before we have a fix can you paste the contents of %temp%\dapr-run-data.ldj ?

Here it is
{"DaprRunId":"8b5deb06-8bcb-4d5b-a35c-10a9c5f1999f","DaprHTTPPort":3005,"DaprGRPCPort":5001,"AppId":"hellogrpc","AppPort":5000,"Command":"waitfor FOREVER","Created":"2020-02-05T13:56:36.5999811+01:00","PID":30216}
{"DaprRunId":"fd7c92ec-4809-4f67-a028-d9fcd06a8e34","DaprHTTPPort":3005,"DaprGRPCPort":56464,"AppId":"subscriber","AppPort":3000,"Command":"mvn exec:java -D exec.mainClass=io.dapr.examples.pubsub.http.Subscriber -D exec.args=-p 3000","Created":"2020-02-05T14:17:56.591279+01:00","PID":9412}
{"DaprRunId":"6da4edb8-dc9c-4459-87ca-1f27cd8ea426","DaprHTTPPort":3006,"DaprGRPCPort":60228,"AppId":"publisher","AppPort":-1,"Command":"mvn exec:java -D exec.mainClass=io.dapr.examples.pubsub.http.Publisher","Created":"2020-02-05T14:19:41.2910305+01:00","PID":14796}
{"DaprRunId":"32c0679b-c478-444a-9c2e-47577b19543f","DaprHTTPPort":3005,"DaprGRPCPort":5001,"AppId":"subscriber","AppPort":3000,"Command":"waitfor FOREVER","Created":"2020-02-05T14:24:23.4108595+01:00","PID":36892}
{"DaprRunId":"2804fd00-cabf-42ed-b26c-4ae469c27b27","DaprHTTPPort":3005,"DaprGRPCPort":5001,"AppId":"inputbinding","AppPort":3000,"Command":"waitfor FOREVER","Created":"2020-02-05T14:54:19.7976314+01:00","PID":28108}
{"DaprRunId":"d066e59d-8cc8-482b-851d-805a222c86c1","DaprHTTPPort":3005,"DaprGRPCPort":5001,"AppId":"demoactorservice","AppPort":3000,"Command":"waitfor FOREVER","Created":"2020-02-05T15:07:02.2951281+01:00","PID":37208}
{"DaprRunId":"4a450c0e-b6a0-4e3c-9388-591ae816f53b","DaprHTTPPort":3006,"DaprGRPCPort":59283,"AppId":"demoactorclient","AppPort":-1,"Command":"mvn exec:java -D exec.mainClass=io.dapr.examples.actors.http.DemoActorClient","Created":"2020-02-05T15:08:18.4432132+01:00","PID":37544}
{"DaprRunId":"63e1cdc1-9b45-4370-838c-0773223e3ed9","DaprHTTPPort":3005,"DaprGRPCPort":5001,"AppId":"demoactorservice","AppPort":3000,"Command":"waitfor FOREVER","Created":"2020-02-05T15:09:21.3199781+01:00","PID":38512}
{"DaprRunId":"461eb562-a7f2-4ae0-82db-d17ac8e56afb","DaprHTTPPort":3006,"DaprGRPCPort":59508,"AppId":"demoactorclient","AppPort":-1,"Command":"mvn exec:java -D exec.mainClass=io.dapr.examples.actors.http.DemoActorClient","Created":"2020-02-05T15:10:14.8396275+01:00","PID":17124}
{"DaprRunId":"216d6a14-9b2f-48bf-b0c3-e4dd422e1393","DaprHTTPPort":3005,"DaprGRPCPort":61181,"AppId":"invokedemo","AppPort":3000,"Command":"mvn exec:java -pl=examples -D exec.mainClass=com.dapr.azure.sample.invoke.DemoService -D exec.args=-p 3000","Created":"2020-02-07T14:01:56.72064+01:00","PID":6088}
{"DaprRunId":"5591c1bf-000d-43a9-9053-3c73791bc72c","DaprHTTPPort":3006,"DaprGRPCPort":64170,"AppId":"Gazellegarnet-Quester","AppPort":-1,"Command":"mvn exec:java -pl=examples -D exec.mainClass=com.dapr.azure.sample.invoke.InvokeClient -D exec.args='message one' 'message two'","Created":"2020-02-07T14:02:05.4031139+01:00","PID":23900}
{"DaprRunId":"98bdf752-5436-4ea2-9d9e-785f80df0821","DaprHTTPPort":3005,"DaprGRPCPort":51848,"AppId":"invokedemo","AppPort":3000,"Command":"mvn exec:java -D start-class=com.dapr.azure.sample.invoke.DemoService -D exec.args=-p 3000","Created":"2020-02-07T14:45:38.4068419+01:00","PID":21728}

Thanks for the file.  There's a lot of stale entries there for runs which aren't running anymore (lines with the same port or same app id's.
It looks like the problem is that when the dapr stop is used on windows it doesn't clean up this file.  Today this sends a taskkill to the instance of the CLI corresponding to the app we want to stop, but we don't have an additional handler so the file is not cleaned up.
A workaround today is to ctrl+c the CLI instead of using dapr stop.

For reference:
I've only used dapr stop for the zombie, at normal development, I just ctrl+c.
Sometimes I just kill the terminal without ctrl+c before.
But even if this does not stops dapr, I would expect to see it with dapr list.
As you can see at the top, the first list doesn't show anything, the second shows something without started anything.

Sometimes I just kill the terminal without ctrl+c before.

Yes killing the terminal itself will cause this too.

@RicardoNiepel  Please try to run the install script to download 0.4.0-rc.0 version cli. This issue should be resolved.


Web Proxy support

Short Description of the issue

In a closed network environment, with internet access only though a authenticated web proxy, the interlink deployment fails.
Environment

Operating System: Redhat 8
Other related components versions: interlink 0.3.0

Steps to reproduce

Logs, stacktrace, or other symptoms

kubectl -n interlink logs my-vk-node-5dfb4b48cc-btdb7
Defaulted container "inttw-vk" out of: inttw-vk, refresh-token
time="2024-07-11T09:53:42Z" level=info msg="Loading Virtual Kubelet config from /etc/interlink/InterLinkConfig.yaml"
time="2024-07-11T09:53:42Z" level=info msg="Trying InCluster configuration"
time="2024-07-11T09:53:42Z" level=info msg="Loading Virtual Kubelet config from /etc/interlink/InterLinkConfig.yaml"
time="2024-07-11T09:53:42Z" level=info msg=nodeLoop
time="2024-07-11T09:53:42Z" level=fatal msg="open /opt/interlink/token: no such file or directory"

No token because no internet.

Summary of proposed changes
Add in ~/.interlink.yaml, a config like this:
proxy:
  user:
  password
  https_proxy
  http_proxy
  no_proxy

Workaround:
I confirm that adding these env variables to ~/.interlink/interlink.yaml fixed the issue:
        - name: TOKEN_PATH
          value: /opt/interlink/token
        - name: HTTPS_PROXY
          value: http://user:password@proxy:port
        - name: HTTP_PROXY
          value: http://user:password@proxy:port
        command:
        - python3
        - /opt/refresh.py

hi @antoinetran , thanks for the report. I think we can include this in the next release, looks like quite a simple enhancement to be put in.
I'm curious, is this a pecularity of your use case? Or just due to a particular setup which you are using to play with interlink?

I'm curious, is this a pecularity of your use case? Or just due to a particular setup which you are using to play with interlink?

I'm not sure I understand, if I rephrase, is-it normal to have a web proxy in our environment? Yes, it is quite the standard in lots of environments to have internet only through a corporate proxy. I expect the interlink to get its token through the web proxy for test purpose, although I would have like it to not rely on internet at all.

The purpose of the question was a bit different though, I just wanted to know more about your use case (at large) to understand how we can help.

No problem, let me answer you in private by email :)

now in the helm chart
https://github.com/interTwin-eu/interlink-helm-chart/blob/main/interlink/values.yaml#L20
closing, reopening if any issue comes later


I-SSIM Loss

Sorry, i didn' t find your implementation of  I-SSIM loss.

you need completion by yourself

Sorry, after discussing with my coauthors, we can not release the I-SSIM  as soon as possible before this work is formally published.  Actually, the performance of the baseline can also be further improved by using some existing tricks.

I did implement I-SSIM and add some useful tricks, I can publish it in my fork, if someone needs it.
I got 55.87 MAE instead of 57.0 from paper on SHA dataset.

@mariosconsta hello
Type of license of the code allows me be free to modify and publish code, so I will publish in couple days, because now i have some important deadline in my job

@rydenisbak Hey man, I hope you are doing great. Just checking if you had the time to update your fork with the implementation.

@mariosconsta hello Type of license of the code allows me be free to modify and publish code, so I will publish in couple days, because now i have some important deadline in my job

Hey @rydenisbak, is there any update on publishing of the loss function module you have implemented. Thank you in advance.

Hey. @rydenisbak I noticed that the author's paper has been successfully published, when can you update your duplicate I-SSIM loss

Hi,@rydenisbak
I noticed that the author's paper has been successfully published, when can you update your reproduced I-SSIM loss.
I have followed your Home page, and I really need your fantastic work!
Thank you in advance.

excuse me guys @mariosconsta @Gananathan @Thepang25  for looooong waiting,
I published my implementation, now you can check it out
https://github.com/rydenisbak/FIDTM/tree/visionlabs_implement

@dk-liang should I create PR ? May be you create new branch for this PR? Now I can do PR only to master branch


Copy-TfsWorkItem

Features

Should allow copy between different collections/servers;
Should copy multiple revisions (All, Latest, First, Single, Range)
Should support WIT change
Should support field mapping

Starting first iteration. For an MVP approach, I'm considering:

Support for different TPCs;
Support for multiple revisions (at least All and Latest).


Start adjusting widgets to load batched vocabularies

I started adjusting the widgets to use the batched vocabularies from this pending plone.restapi PR: https://github.com/plone/plone.restapi/pull/550
There are a few places where I got stuck and would be happy for advice from @robgietema:

The Dropdown from semantic-ui doesn't appear to have a hook for requesting more batches as the user scrolls. Do we need to build our own dropdown or do you see a workaround?
It seems like the logic for loading from a batched API endpoint should be factored into a higher-order component or something, but I wasn't sure how to wire this up to redux in a generic way.

So far I only worked on the ArrayWidget, so once we answer these questions we also need to work on the SelectWidget.

I didn't look yet, because I wasn't sure how important it was to keep using semantic-ui for this. There's also the tradeoff to consider between implementing it ourselves (more work now) vs. maintaining code using someone else's library (potentially more work later)

@davisagli I made some tests with react-virtualized-select with good results and stressing it (several components with 15000 items in the same view).
However, the virtualized component expects to return all the items on the first async call, and the batching is not required, since the Virtualized component does all the job for you...
I've already talked with Rob on having non-SemanticUI React components in the default set of Plone-React. We both agreed that Plone-React should have the best breed of default components available out there, not only React SemanticUI ones. As I said, I toyed with react-select (and other components) and integrated them into the SemanticUI theming engine with good results.
I will talk to Rob about this in the Costa Brava Sprint next week, and try to reach an agreement.
This is the code of my tests:
import React, { Component } from "react";
import "react-select/dist/react-select.css";
import "react-virtualized-select/styles.css";
import Select from "react-virtualized-select";

const getOptions = input => {
  return fetch(
    `http://localhost:8080/Plone/@vocabularies/plone.app.vocabularies.AvailableContentLanguages?q=${input}`,
    {
      headers: {
        Accept: "application/json; charset=utf-8",
        Authorization: "Basic YWRtaW46YWRtaW4="
      }
    }
  )
    .then(response => {
      return response.json();
    })
    .then(json => {
      return {
        options: json.items.map(item => ({
          label: item.title,
          value: item.token
        })),
        complete: false
      };
    });
};

class App extends Component {
  render() {
    return (
      <div className="App">
        <Select async loadOptions={getOptions} />,
      </div>
    );
  }
}

export default App;

/cc @robgietema @tisto

@tisto @davisagli @robgietema I think this is also ready for merge. It supports the changes done in
https://github.com/plone/plone.restapi/pull/550
https://github.com/plone/plone.restapi/pull/714/files
https://github.com/plone/plone.restapi/pull/716
This makes ready Volto for the breaking changes of the upcoming p.restapi 3.0.0


extend example code to user registration/login ?

I mean the fron-end part of registration/login function.
two inputs and a button. when a button is pushed, it sends http request.
when logged in, it logs token into local storage, and sends token with every other requests after.
I see some code that contains user functions... but kind of hard to see how it works.

Also, It would be better to use the mock data as a service response for the AuthAPI. So that we don't need to wait for the real Auth service during the front end implementation.

I know this is a little old, but as someone who is new to React this would be super helpful.


Feature request : open error log directly

Hi ,
is it possible when a user is clicking on "Störungsmeldung" in the station main overview that the in app browser open following section of the site :

Otherwise the user have to scroll through the GE site

No, I think there is no way to directly open the fault log directly with an URL parameter etc. The fault log button doesn't even have an ID attached to it in HTML, so it is not possible to scroll to it directly.
The charging and fault logs are loaded through an API on the website, but that's not officially documented, so GoingElectric's API terms of usage prevent us from using them directly in the app.


Fancier rejects

It appears SRC updated their reject messages and they can now be longer than 50 characters and have newlines. I think with this, we could remove the rejection reason website and just have a nice bulleted list as the rejection reason now.

I think this is fake but haven't tested


Translocators crafting grid dupe

In some chunks, when destroying the crafting grid, this guy gets double the resources returned.
See this small video http://se7en.com.pl/up/68Jma.mp4
and the original post http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/1279956?page=1078#c22119

Can confirm that this glitch is still prevalent in version <IP_ADDRESS> and still just as effective.

Still dupes in Translocator-1.7.10-<IP_ADDRESS>-universal - Using dollies when you break it, gives double dolly

I sent a pull request that adds a config option to disable the crafting grid placement by key, it'll be helpful to server owners while this dupe bug isn't fixed.
https://github.com/Chicken-Bones/Translocators/pull/21

Hi, I have more information regarding this bug if you haven't already found a fix (I know there is a disable for it now).
Basically, in testing, I have found that it will dupe any item as long as it is a place-able block. It won't work with something like a pickaxe (at least for me) but something like a dirt block with get duped. I think this is due to an interaction with right clicking on the crafting grid since Minecraft is understanding the right click on the ground as placing the block but then it gets overrode by the crafting grid mechanic.
I don't know enough about coding but perhaps this interaction with vanilla and your crafting grid is resulting in some form of double input onto the crafting grid which then causes it to drop two when it is broke, even though you only see one.
Hope that helps.

So your theory is that the Crafting Grid block is an instance of every block you have "placed" in it as well and therefore drops its contents + the other blocks? Sound weird but plausible.

That theory doesn't make sense with Dollies from JABBA, as it's a placeable item with a giveback feature. If that was actually the case, it would drop a barrel, and possibly the contents of said barrel when you remove the Crafting Table. On top of giving the duped Dolly with barrel still inside it

Well, to be honest, in my world I haven't been able to get dollies to dupe (or at least I haven't found a specific chunk that it will work in yet). I'm currently using <IP_ADDRESS> so maybe there is some differences there.
I also forgot to mention in my original post that the bug is done using a /dev/null from OpenBlocks. I forgot that wasn't previously established.
Essentially, you take a /dev/null and put an item in it, then put that /dev/null in the crafting grid, and then break it. However, this only works when a place-able block is inside the /dev/null. As I was trying to state in my last post, I think this is due to the fact that the /dev/null still allows you to place blocks with right click.. If you try putting anything that isn't place-able in the /dev/null (like a pickaxe) it will not dupe.
My interaction with a Dolly that has a block in it is different, however. When I right click the crafting grid with a Dolly that say.. has a chest in it, it does, in fact, place the chest and removes the crafting grid. But just placing an empty Dolly in the crafting grid does not dupe for me. Also, there are ways to dupe entire inventories with this bug but that's neither here nor there.
So, perhaps the dupe is coming from the /dev/null giving an extra input like I said in my previous most. I really don't know what I'm talking about when it comes to the bones of coding but perhaps someone could look at the code for the /dev/null and see what it's doing.
I'm sorry to be so adamant about this bug but I help run a server and we have had to ban a handful of people already for using this dupe and have had to resort to disabling crafting of the /dev/null.

 We just ban the player who dupes, and reset their base, and reset inventories of anyone who was assosiated with them, harsh, but effective.

Hello, this is a known issue on my server. I've had issues with players duping with this bug.
Here's a video one player made showing the bug: https://www.youtube.com/watch?v=ZlaJMfsa6hE
The crafting grid can be used to dupe when near a running quarry (very strange...)
Is this issue still open? Will it ever be fixed?

This issue is still open.
ChickenBones' whereabouts are unknown to me, so I don't know if/when this will be fixed.

You gave me an idea as to why this problem may be happening:

A Buildcraft Quarry force-loads chunks.
A player loads the chunks in a large radius as well.
1 + 2 = 3. A chunk that contains part of a quarry AND a player, is kept loaded by two sources.

Idea, maybe this is why it is returning the double amount of resources? It's a longshot, but the hypothesis may be worth testing.

@Robijnvogel Is this a bug with Translocaters? Or BuildCraft? Or something else?

I've scanned the code and found quite some different methods in which the crafting grid can drop its contents. My guess is that not just one, but two of these methods are called (or one is called twice) when the dupe happens.
The only thing I can say about Buildcraft is that this dupe always happens if the TL Crafting grid is in a chunk loaded by a Buildcraft quarry. If it happens on other occasions as well? I guess we can't be sure until someone shows us the opposite, or we find the code responsible.


Added the whole new component to make unauthorized user sign in

Hi @Damon248 , your contribution looks fine, but it looks bit odd UX, as there is repetition of login buttons in header and main display page

This project is actually participating on a hackathon so I think I can merge or consider this PR after a month
Feel free to upvote if you liked this project by signing into this link
https://thefullstack.network/DhanushN/project/harmonycode-music-for-your-coding-


Show Folder size on the Detailed View (as part of File Explorer add-ons)

Description of the new feature / enhancement
When you see the content of a folder on 'Detailed view' the size of individual files is shown, but not the size of folders that are there. This feature would also show the size for folders. It's something that Windows should have gotten years ago!
Scenario when this would be used?
Always. It's annoying to always have to right-click on a folder and then on properties to see it's size.
Supporting information
I hope you can add this feature as part of the File Explorer add-ons

/dup #356


[BUG] "Unable to locate the current sha" when using use_fork_point

Is there an existing issue for this?

[X] I have searched the existing issues

Does this issue exist in the latest version?

[X] I'm using the latest release

Describe the bug?
Running changed-files action one a large mono repo "sometimes" yields
 Warning: Unable to locate the previous sha:
  Warning: You seem to be missing 'fetch-depth: 0' or 'fetch-depth: 2'. See https://github.com/tj-actions/changed-files#usage

in an un-reproducible way. Sometimes rebasing and force-pushing fixes it, sometimes merging main fixes it. But also sometimes neither of them does.
The configuration I use is
jobs:
  sqlfluff:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
        with:
          fetch-depth: 0  # OR "2" -> To retrieve the preceding commit.
      - name: Get changed files
        id: changed-files
        uses: tj-actions/changed-files@v20
        with:
          use_fork_point: "true"

Note how previous sha is empty. Unfortunately this happens in private repos and I cannot share the exact workflow run.
To Reproduce
Unfortunately, I couldn't find a way to reproduce this error 100% of the time.
What OS are you seeing the problem on?
ubuntu-latest or ubuntu-20.04
Expected behavior?
changed-files should work on every workflow run.
Relevant log output
Resolving repository path...
  Getting HEAD SHA...
  Getting fork point...
  From https://github.com/***
   * [new branch]            main       -> main
  Verifying commit SHA...
  Warning: Unable to locate the previous sha:
  Warning: You seem to be missing 'fetch-depth: 0' or 'fetch-depth: 2'. See https://github.com/tj-actions/changed-files#usage
  Error: Process completed with exit code 1.

Anything else?
PS: Converted from a comment in https://github.com/tj-actions/changed-files/issues/458 as I think it's a different issue.
Code of Conduct

[X] I agree to follow this project's Code of Conduct

is it possible to count all the changed files?


[Task]: Move possible runtime error messages to MessagesBundle.properties

Description
$title
Need to move possible error messages which are there in the code.
Can use BLangExceptionHelper methods for processing the error messages.
Also remove possible unused error messages.
Describe your task(s)
No response
Related area
Runtime
Related issue(s) (optional)
No response
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response

Another place is JvmCastGen having lot of error messages like "Casting is not supported from '" + sourceType + "' to 'byte'". They can be also transferred to compiler.properties file if possible.


Bump Webpack 3.4

As discussed, bumping to Webpack 3.4. Damn they're fast.

it seems babel-loader bump fixed the troubles.

Sweet.


Add logic to periodically check for cookie sanity

Chromium Linux + HTTP seems to lose cookies over time... probably a security measure...

e16d37d0c48649bee98fd7cdf86a6028ac4a70b6


Add swap liquidity safety enhancement

Problem
Changes to enhance safety of adding swap liquidity. Details omitted here.

Fix: https://github.com/connext/frontend/pull/41


Weird problem with metrics

Hello,
I'm trying to reproduce this example using Tensorflow 1.15. I'm using tk.keras module instead of keras, but their methods should be identical. When I run training I get a following error:
Traceback (most recent call last):
  File "E:/qubvel2020/original.py", line 308, in <module>
    validation_steps=len(valid_dataloader),
  File "C:\Users\E-soft\Anaconda3\envs\qubvel2020\lib\site-packages\tensorflow_core\python\keras\engine\training.py", line 1296, in fit_generator
    steps_name='steps_per_epoch')
  File "C:\Users\E-soft\Anaconda3\envs\qubvel2020\lib\site-packages\tensorflow_core\python\keras\engine\training_generator.py", line 265, in model_iteration
    batch_outs = batch_function(*batch_data)
  File "C:\Users\E-soft\Anaconda3\envs\qubvel2020\lib\site-packages\tensorflow_core\python\keras\engine\training.py", line 1017, in train_on_batch
    outputs = self.train_function(ins)  # pylint: disable=not-callable
  File "C:\Users\E-soft\Anaconda3\envs\qubvel2020\lib\site-packages\tensorflow_core\python\keras\backend.py", line 3476, in __call__
    run_metadata=self.run_metadata)
  File "C:\Users\E-soft\Anaconda3\envs\qubvel2020\lib\site-packages\tensorflow_core\python\client\session.py", line 1472, in __call__
    run_metadata_ptr)
tensorflow.python.framework.errors_impl.InvalidArgumentError: 2 root error(s) found.
  (0) Invalid argument: Invalid reduction dimension (0 for input with 0 dimension(s)
	 [[{{node metrics/f1-score/Sum_2}}]]
	 [[loss/mul/_4817]]
  (1) Invalid argument: Invalid reduction dimension (0 for input with 0 dimension(s)
	 [[{{node metrics/f1-score/Sum_2}}]]
0 successful operations.
0 derived errors ignored.

Process finished with exit code 1

When I remove F1 Score from metrics, I get another error complaining about IOU Score:
Traceback (most recent call last):
  File "E:/qubvel2020/original.py", line 308, in <module>
    validation_steps=len(valid_dataloader),
  File "C:\Users\E-soft\Anaconda3\envs\qubvel2020\lib\site-packages\tensorflow_core\python\keras\engine\training.py", line 1296, in fit_generator
    steps_name='steps_per_epoch')
  File "C:\Users\E-soft\Anaconda3\envs\qubvel2020\lib\site-packages\tensorflow_core\python\keras\engine\training_generator.py", line 265, in model_iteration
    batch_outs = batch_function(*batch_data)
  File "C:\Users\E-soft\Anaconda3\envs\qubvel2020\lib\site-packages\tensorflow_core\python\keras\engine\training.py", line 1017, in train_on_batch
    outputs = self.train_function(ins)  # pylint: disable=not-callable
  File "C:\Users\E-soft\Anaconda3\envs\qubvel2020\lib\site-packages\tensorflow_core\python\keras\backend.py", line 3476, in __call__
    run_metadata=self.run_metadata)
  File "C:\Users\E-soft\Anaconda3\envs\qubvel2020\lib\site-packages\tensorflow_core\python\client\session.py", line 1472, in __call__
    run_metadata_ptr)
tensorflow.python.framework.errors_impl.InvalidArgumentError: 2 root error(s) found.
  (0) Invalid argument: Invalid reduction dimension (0 for input with 0 dimension(s)
	 [[{{node loss/sigmoid_loss/Sum_2}}]]
	 [[metrics/iou_score/Identity/_4807]]
  (1) Invalid argument: Invalid reduction dimension (0 for input with 0 dimension(s)
	 [[{{node loss/sigmoid_loss/Sum_2}}]]
0 successful operations.
0 derived errors ignored.

Process finished with exit code 1

Am I missing something? Should I switch to keras?

Works fine with native keras. What a pity that even old versions of tf.keras aren't fully supported.

I have the same problem even with native keras... is there a solution?


How do i select a transport type in the signalr client c++ ?

I have a hub connection and i want to select a transport type. i don't see any method for that.
but i noticed that there are 2 classes, http_client and websocket_client. should i use one of them instead of hub connection to select the transport type or currently it doesn't support ?

the HubConnectionBuilder .WithUrl lets you state the transport type. I believe you also pass in a list of transport types for the httpclient.
Example:
            _connection = new HubConnectionBuilder()                 .WithUrl(_hubRoot, Microsoft.AspNetCore.Http.Connections.HttpTransportType.WebSockets)                 .Build();

There is only the websockets transport currently for the C++ client.


Android Build fails due to minSdkVersion and targetSdkVersion in AndroidManifest instead of build.gradle.

I use the webview_flutter plugin in my Flutter app. When I open the Android module of my app in Android Studio and try to build it, the build fails with:
The minSdk version should not be declared in the android manifest file. You can move the version from the manifest to the defaultConfig in the build.gradle file.
The problematic part is in the webview_flutter's AndroidManfest.xml.
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
  package="io.flutter.plugins.webviewflutter">
    <uses-sdk android:minSdkVersion="20" android:targetSdkVersion="26"/>
</manifest>

As the error message says, these properties should be moved into the build.gradle.

This sounds like https://github.com/flutter/flutter/wiki/Workarounds-for-common-issues#generated-project-files-outdated
Can you reproduce with a newly created project (with flutter create foo with a recent Flutter version)?

I have the same problem and I have regenerated the files with flutter create.
I tried with two different versions of flutter, same result:
$ flutter --version
Flutter 1.0.0 • channel beta • https://github.com/flutter/flutter.git
Framework • revision 5391447fae (4 settimane fa) • 2018-11-29 19:41:26 -0800
Engine • revision 7375a0f414
Tools • Dart 2.1.0 (build 2.1.0-dev.9.4 f9ebf21297)

$ flutter --version
Flutter 1.1.0 • channel dev • https://github.com/flutter/flutter.git
Framework • revision 3cca1a2ec3 (2 settimane fa) • 2018-12-11 18:50:51 +0000
Engine • revision 7375a0f414
Tools • Dart 2.1.0 (build 2.1.0-dev.9.4 f9ebf21297)

Can you provide a complete but minimal project that allows to reproduce?
as zip archive or committed to GitHub


Add speech to text example in docs

Adds an example for audio speech to text in README documentation.

Thank you for the PR! 🙌🏻


loss: nan - val_loss nan

Hi,
For some of my training runs, not all, the loss values eventually start being reported as 'nan'.
Epoch 308/1000
99/100 [============================>.] - ETA: 2s - loss: 0.2445Epoch 1/1000
100/100 [==============================] - 328s 3s/step - loss: 0.2445 - val_loss: 0.2342
Epoch 309/1000
99/100 [============================>.] - ETA: 3s - loss: nanEpoch 1/1000
100/100 [==============================] - 332s 3s/step - loss: nan - val_loss: nan
Epoch 310/1000
99/100 [============================>.] - ETA: 2s - loss: nanEpoch 1/1000
100/100 [==============================] - 325s 3s/step - loss: nan - val_loss: nan
It usually terminates successfully after a repeat of 'nan'. Just wanted to verify that there is nothing wrong with the training that would influence the predictions in this case.
thanks,
@stsmall

Hi @stsmall,
While it isn't terribly common, we have seen this behavior before. We're not entirely sure what is causing it or how to fix it. That being said, the model weights are updated as training progresses, so training terminating with nan will still allow for valid predictions, provided that previous epochs completed without loss = nan.  In the example you provided, the weights used for prediction will be taken from the training epoch with the smallest lost prior to epoch 309.
One thing I will add to my to-do list is terminating training immediately upon a nan, to avoid additional epochs (i.e. wasted time). I'll see if I can implement this soon.
Best,
Jeff

Hi Jeff,
Thanks! It usually ended up terminating after 10-30 more nan.
thanks,
@stsmall

I added code to terminate training upon loss = Nan.


Convert Component.positionType into a mixin

Given that .positionType is only used by 2 classes, I suggest moving this field out of the main Component class into a separate mixin. This would reduce the complexity of the class somewhat, and also its size.

It's only used by two of our classes, but removing it increases the complexity for our users, since it is used a lot by them. I also don't think an enum is as expensive as an object, but that should be investigated.

but removing it increases the complexity for our users, since it is used a lot by them.

Can you give me an example of how it is used by the users? I thought it was mostly for the internal event processing logic.

Can you give me an example of how it is used by the users? I thought it was mostly for the internal event processing logic.

People mostly use it to build huds from other components.

Not valid anymore with the use of the CameraComponent.


Support Singularity v2.5.1

This PR allows for support of Singularity 2.5.1 by adding necessary dependencies.
v2.5.1 is now the default.
Took the opportunity to rebase the image on Ubuntu 18.04 LTS and added squashfs tools to support this feature if needs be.

Sorry for the delay in responding to these, I was on vacation last week.
I've cherry picked and staged the changes from both PRs in a 1.1.0-dev branch.
I opted to not include the gitlab config and removed the defaulting to 2.5.1 in the Dockerfile directly. The way the container is meant to be built is part of a build matrix for the different singularity versions (the build arg SINGULARITY_VERSION).
In docker hub theres arcts/singularity-util:<version> e.g. arcts/singularity-util:2.4.5.  With hub, I had set the default version in the build hooks to build off master originally, but ran into too many failures there and bound it to 2.2.1. Since they've done their branch-reorg I've switched it back to master -- Pulling arcts/singularity-util:latest will now map to the active master branch.
If you'd like to update the gitlab config to mimic that style build pattern, I can leave 1.1.0-dev around for a bit, otherwise I think it's good to merge back into master and cut the release. :)

Alright, that sounds good to me.
The Gitlab CI file is not dependent on the Singularity version, it just takes the Dockerfile and builds the corresponding image so I don't have anything to change.
You can keep it out of the repo if you wish, that's just for those with a GItlab CI that would rather build the docker image instead of pulling it from docker hub. Might be useful to some, but that's just the default docker in docker Gitlab CI template so ... not much added value.
:+1:

Resolved by #7


Revert changes made to method signature for futures

Revert changes made to method signature to return back a ResultFuture instead of a Future. It seems to have introduced a breaking change in MSAL, instead of debugging this during release time, I rolled back part of the solution for the original google crash. The fix still does the same thing, just by using a type casting rather than explicit return type being set to ResultFuture. As mentioned in the original PR, this scenario should theoretically be impossible anyway, as if we fail out of authorization because the strategy is null, then the future would not be initialized, but keeping the result future check there for additional security.
Original PR https://github.com/AzureAD/microsoft-authentication-library-common-for-android/pull/2305

IMO, I would suggest having 2 separate PRs - one with a full revert, and another with the change you want to keep.
This will help us to easier keep track of the change (will be helpful if something goes wrong down the line)


Mixed Content: The page was loaded over HTTPS, but requested an insecure resource

My application works locally but when it comes time to deploy I get the following issue in the Chrome developer console.
Mixed Content: The page at 'MY URL' was loaded over HTTPS, but requested an insecure resource 'http://localhost:4000/graphql'. This request has been blocked; the content must be served over HTTPS.
I don't have any reference to localhost when I deploy so the fact I get this error is driving me crazy.
My deployment bucket is pointing to my domain, and I created a certificate and distribution to have enable HTTPS.
In my handler.js I have the following code and added  output.headers['Access-Control-Allow-Credentials'] = 'true'; because from my research this is required to work with HTTPS.
exports.graphqlHandler = function graphqlHandler(event, context, callback) {
    function callbackFilter(error, output) {
        // eslint-disable-next-line no-param-reassign
        output.headers['Access-Control-Allow-Origin'] = '*';
        output.headers['Access-Control-Allow-Credentials'] = 'true';
        callback(error, output);
    }

My YAML looks like this for my app-backend
functions:
  graphql:
    handler: handler.graphqlHandler
    events:
    - http:
        path: graphql
        method: post
        cors: true
  api:
    handler: handler.apiHandler
    events:
    - http:
        path: api
        method: get
        cors: true

And just for sanity's sake this is where I am initializing my Apollo client i replace http://localhost:4000
const networkInterface = createNetworkInterface({ uri: 'https://XXX.execute-api.us-west-1.amazonaws.com/production/graphql' });
Update:
So chrome blocks blocks my data from being fetch when the site loads, the shield on the address bar shows up and says my site wants to load unsafe scripts, so if I select to load them my app works fine, I think because it is somehow referencing http://localhost:4000/ still because nothing else i am loading is using http. But I do not know how to get away from it.

@sid88in i have the code for the PR can you walk me through the process? I cloned the repo and created my own branch but I cannot push my branch to the repo.

@sid88in update I think I successfully submitted a PR for this issue #305

I had the same issue and could solve it by changing the siteUrl from http:// to https://


[Bug] Variables under Active Effects do not update upon editing

Originally in GitLab by @MrVauxs
I wanted to keep the title short so to explain it fully, Active Effects used to revert back any edits an user might have done to the sheet if an active effect applied to the modified variable in question.
For example, you have armor that grants you a total of 15 AC, and the user changes their AC to 17.
The AC immediately reverts back to 15 the moment the player clicks enter or otherwise accepts their modified value.
This used to happen, but currently the player instead gets a graphical glitch where their modified value is shown (17), but in reality the value itself is still the original (15).
This fixes itself on closing and reopening the sheet.
Tested on Foundry 0.8.6 and dnd5e 1.3.3. The first error in console appears upon editing and accepting the value. The second is upon closing the sheet.

Editing values affected by an active effect is now disabled.


Command added | q!getinfo

I've added a new command below, which will grab the information of the user in one embed. This includes their ID and their current group rank. Robloxjs was added after Nobloxjs has some issues with this. Sorry if I messed up on something.

Thank you for your pull request! This feature is nice because it has more then just showing the rank name and would work perfectly with verification, therefore this feature will be incorporated in qbot 4.0 or 5.0.

I actually ended up needing to recode this for qbot 4.0 but since I already said it would be added and it's not I will let you keep the Contributor perks since I think it'd be rude to just take them away. Thanks for making this anyways.


Add command execution when Go Modules are used

This PR is similar to https://github.com/qor/bindatafs/pull/8/, please pick one and merge to avoid confusion. Most new Go lang projects use Go Modules.


Change menssage location allow user

Hi Masashi,
First of all thank you for making this wonderful plugin, I am writing to you about the fact that I am in the process of publishing my apps in the apple store. These guys checked for the first time the apps where they tell me the following:
￼We noticed that your app requests the user's permission to access their location￼ but does not clarify the use of this feature in the permission modal alert.
Next Steps
To solve this issue, please review the permission modality alert to specify why the app is requesting access to the user's location.
Is it possible to modify the "Allow" apps "to access your location while you are using the apps?" - Show your location on the map.
This this the menssage
https://drive.google.com/file/d/16i-lJ7AvMWd4x5VEwEhIw1MgtXJmBExk/view?usp=sharing
Thanks for all..
Leo

https://github.com/mapsplugin/cordova-plugin-googlemaps#install-optional-variables
LOCATION_WHEN_IN_USE_DESCRIPTION and LOCATION_ALWAYS_USAGE_DESCRIPTION

Thank Masashi,
I start again with both variables when install the google-maps plugin and i see message is change! thanks alot for you help.. right now we still waiting again to apple proved the apps!.

https://drive.google.com/file/d/1sLwfRHoUTXPKl5oVAqRxK3lIx0mxEHV1/view?usp=sharing

Leo.

Good luck!


Kestrel listeners

I'm writing a multitenant application and would like to dynamically start/stop kestrel listeners on a given IP/PORT is this possible? if so how/if not would/could there be a work around or feature added to support this with the refresh of kestrel?

maybe an option would be to include methods of
Start( endpoint ) - a listener on a given endpoint
Stop( ) - all listeners
Stop( endpoint ) - stop a listener on a given endpoint
Restart( ) - restart all listeners
Restart( endpoint ) - restart a listener on a given endpoint
to the IServer interface; having these methods exposed would allow for the developer to control things like turning on/off administration ports dynamical at runtime by way of some external/secured trigger (azure message queue) and more

You can't change the end point during the call to Start/Stop, nor can you restart the server. That would require some bigger design changes that we don't plan to do. There is working happening here to add a Stop method for different reasons, https://github.com/aspnet/Hosting/pull/995. We could look at allowing restart after stop but would require some more thought.
Why do you need this functionality? What are you building?

Thanks for pointing out the aspnet/Hosting#995; We are developing a multitenant application where the tenant administrator(s) have the ability to remote control the availability of endpoint services, we have a requirement to allow NON technical business administrators to turn on/off functionality/services according business needs; one example is a requirement to have security administration endpoints disabled by default for the tenant and only enabled via a two factor authentication process; for a limited duration and for a given action with is recorded in a configuration management log.
BTW, this idea came for a business security person as a reduce surface of attack requirement; so I don't really have the level of knowledge/experience/seniority in this area to override/argue against them ;)

I do, and would... it's a somewhat stupid idea that security will be provided through shutting down a listening endpoint in Kestrel. What stops someone from using anyone of the other endpoints to access the same code?
Aside from that... if you really want to have your situation work (which seems a bad idea from your security people but hey)... why don't you run another kestrel in the same process with the endpoint and dispose it when you are done?

@davidfowl could the _transports not be changed into a IDictionary key on the endpoint; and the the transport could be started/stopped created/bound dynamically?  the Start would need to change to hold the type of the initial call; so to verify when call subsequent times the TContext is of the same type;
to start stop create endpoint simply pass the new listenOptions to start ?
or explicitly call start/stop/create( listenOptions )
just thinking aloud

@Drawaes I'm of the same opinion but need some hard points on why it's not advisable; or going against what they are saying is best practise for reduce surface of attack ?
BTW, all endpoints are also protected using OpenIDConnect so simple turning on the endpoint or access other endpoint wont get you access to the tenant services.

Sure but what does having a separate endpoint give you? Anyway that aside why not run more than 1 kestrel in proc?

You wouldn't like my argument which is if you want reduced attack surface it should run out of process in another process, And but shutdown there and the code should never be available in the "lesser" privileged process... But not sure that will make your life easier ;)

@Drawaes We may have a reasonable idea here that would keep the security people happy ;) We are think that we'll automated via script of a docker the build/start-up of the tenant administrator portal; complete separation of concern :D

oh, just been asked about multi-homing now :'( feeling like ground-hog-day

We are closing this issue because no further action is planned for this issue. If you still have any issues or questions, please log a new issue with any additional details that you have.


feat(SNW-163): Add ecosystem component

Ecosystem component was added to the Dynamic Page Creator, inside this component you can display any of the 5 ecosystem collections you want.

Collections for ecosystem component


Lot of formatting/linting problems

Markdown formatting needs to be upped in quality all over the docs.

@all-contributors add @mkevenaar for maintenance


Fabric-related tweaks to support ebmbot

This should fix problems @inglesp had on Thurs, plus a couple of other changes required by the bot


new keyword "loop"

instead of for dracula for(;;) or while($true) it more lisible to use loop for infinite loop
loop {

}

Generally loops need a Goto or equivalent (like break) to exit are considered bad.

@p0W3RH311 Also note that adding new keywords is considered a breaking change since someone may already have defined a loop command.