Revert "Increase stream-cancellation-delay default to 1000 millis"

Reverts apache/pekko-http#590
Still open for discussion. See https://lists.apache.org/thread/h59dphf5j20tzjwrm1z1c8olptnqrrhy

I'm going to merge this and try to press on with a release. Users can set stream-cancellation-delay in their own configs. We continue to try to come up with a fuller solution for a future release.


C++ compiling error in gc

g++ -Wall -pedantic-errors -I ~/mruby/include/ programik.c -o programik ~/mruby/build/minimal/lib/libmruby.a -lm
In file included from /home/user/mruby/include/mruby.h:118,
                 from zero.c:1:
/home/user/mruby/include/mruby/gc.h:51:9: error: ISO C++ forbids flexible array member ‘objects’ [-Wpedantic]
   51 |   void *objects[];
      |         ^~~~~~~

g++ (GCC) 12.2.1 20221121 (Red Hat 12.2.1-4) on fedora 37
mruby 3.1.0

A similar error was not identified in the development version.
ref. https://github.com/mruby/mruby/pull/5596/files#diff-4102f89ac26fabdcfc82d2d877a70cab4e56814b6adfb2040934635870e7adb4
Please try the latest development version or wait for mruby 3.2, which is expected in the near future.


Update the dependency to core-java 0.10.97-SNAPSHOT.

Auto-generated PR to update core library dependency to the latest version.

Closing as the version has already been updated in https://github.com/SpineEventEngine/jdbc-storage/pull/114.


refactor: rename token to key

rename ApiToken to ApiKey and $apiToken to $apiKey across the project
Fixes issue #23

@aifodu Tests are failing. Can you take a look?

Yes, #25 is clean and passes everything. Thanks @Plytas and @nunomaduro for taking a look. Tremendous job guys!


tokenId is used instead of recId in Marosijo and Cleanup

In the reports. Should alter to use recording id and not the token id.
Should not take long to fix.

Fixed. #90


"Open 500px.com" after export

An option to have the plugin automatically take you to your uploaded photos in your browser.

This could be an action associated with Growl Notifications; use case is when you click on the Growl Notification, you get taken to your photos in the browser.

Now that is a kickass idea!

I've got a fork of this - mind if I tackle this one, or would you like to?

Go right ahead! The more the merrier :-)
Disclaimer: I threw this together in a few hours so the code is pretty crappy. Since the project has gained quite a lot of attention I intend to refactor it to be better!

No problem - I'll try to add the Growl Notifications in such a way that it shouldn't be a problem to merge back in with any refactoring changes.

Now in code as part of the Growl notifications. Thanks!


Edit icon position for column description

@darth-coder00, can you please add details about this issue?


Merge some location routing into a single config

Thanks for the inspiration for nginx reverse proxy configuration
This PR just uses the configuration and combines multiple location into a single location config
Please let me know if I should create a new file or its fine to update this file.

Looks good to me. @mooreds any concerns?


K9 loses it's connection and stops working if connection is not used at least every 60 seconds

full logcat while k9 hanging up.txt
k9-log.txt
cketti keeps closing my issues but there is clearly something wrong here.  K9 is losing its connections unless it uses them every 60 seconds.  This makes K9 unusable unless polling or push refresh is schedule for once per minute, which is ridiculous.  This is NOT a local network issue - there is no firewall in place, and has been confirmed to occur on multiple internet providers, as well as both 3G and 4G networks, K9 also worked fine on another phone with the exact same configuration on ALL of the above networks.  This is NOT an individual phone issue - see below, it is happening on multiple OS versions and devices, also a quick Google search will confirm that I am not the only person noticing this issue.  Using a computer and telnet, a connection to the mail server in question from the networks in question can be left open indefinitely.
At the very least, K9 should not sit around for half an hour waiting for a connection to time out before it opens a new one.  But that still doesn't resolve the issue of why these connections are being lost/closed/destroyed/causing errors.
Attached is a logcat obtained per the K9 bug report instructions, as well as an unfiltered LogCat while manually asking K9 to poll, causing it to hang up.
This problem is happening on a Samsung running OS 4.4.4, and a Droid Turbo running OS 5.1.
This problem occurs using IMAP with EITHER polling or IDLE.
This problem occurs on 3G, 4G, and multiple internet connections.
This problem occurs with multiple e-mail providers.
If the connection is used every minute (either via e-mails coming in, going out, etc., or by a poll or IDLE refresh), the connection is fine. If the polling or IDLE refresh is set to anything longer than a minute, and no e-mails come in or go out, the connection stops working.
Once the connection has gone unused for over a minute, any attempt to do anything with the connection (poll, send e-mail, delete an existing email) will cause K9 mail to hang up (the application still responds, but it is stuck trying to communicate with the server).
LogCat output is attached.

https://github.com/k9mail/k-9/issues/989#issuecomment-168350266

https://github.com/k9mail/k-9/issues/989#issuecomment-168350266


1258 if redirected to sign in after sign in users should be returned to the page they requested

Context

Trello ticket
Currently, if users direct themselves to a path via a hyperlink or manually putting it in the search bar and they are not logged in, they will be redirected to sign in, and then redirected back to home/root page ("/").
We want the original search query to be saved in the session and then loaded on redirect after the sign in, and then deleted off the session.

Changes proposed in this pull request

New save_redirect_path method in application controller
save_redirect_path will be called on unsuccessful authentication, along with a redirect to sign_in_path
save_redirect_path will save the path in session[:redirect_back_to] for further use
On successful current_user (final step of DSI journey) in SessionsController in callback, a conditional will check for the session[:redirect_back_to] link and use it once before deleting it. Fallback is root_path

Guidance to review

Log in and take an endpoint that you are sure is protected by authentication (perhaps "/trainees" or "/trainees/{trainee_slug}").
Ensure you are logged out, and try and navigate to that endpoint. On redirect to sign in, sign in and you will find yourself redirected back to the original path from step 1.

Caveats

If a page is visited directly that is inside of a journey that has Dynamic Banklinks in it, the backlinks will not work (they wont break, but rather refresh the current page). Perhaps this should be separated into a different ticket as it will involve registering pages in page tracker, discussed with @jhenderson.

 [M] If redirected to sign-in, after sign-in users should be returned to the page they requested

All good to merge


Added function GetThreadCpuTimeSeconds in common/time.h

This will be needed for measuring SLAM performance.

@wally-the-cartographer merge


fix: update literal of the ledger name

Closes #7680
Summary

fix literal in the German language when the ledger application is not connected

Changelog
- update literal in the German language when the ledger application is not connected

Testing
Platforms

Desktop

[ ] MacOS
[X] Linux
[ ] Windows

Instructions
Checklist

Please tick the following boxes that are relevant to your changes.

[x] I have followed the contribution guidelines for this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have added or modified tests that prove my changes work as intended
[x] I have verified that new and existing unit tests pass locally with my changes
[x] I have verified that my latest changes pass CI workflows for testing and linting
[x] I have made corresponding changes to the documentation

This change has to be made from crowdin 🙏🏼


gslam: symbol lookup error: ./libgslam_optimizer.so: undefined symbol: cholmod_start

When running the test procedure:
$ gslam Act=Tests --gtest_filter=*
The gslam program gives the following output:
[==========] Running 27 tests from 8 test cases.
[----------] Global test environment set-up.
[----------] 1 test from SLAM
[ RUN      ] SLAM.LoadRelease
[       OK ] SLAM.LoadRelease (0 ms)
[----------] 1 test from SLAM (0 ms total)
[----------] 6 tests from Svar
[ RUN      ] Svar.Int
[       OK ] Svar.Int (0 ms)
[ RUN      ] Svar.Double
[       OK ] Svar.Double (0 ms)
[ RUN      ] Svar.String
[       OK ] Svar.String (0 ms)
[ RUN      ] Svar.Pointer
[       OK ] Svar.Pointer (0 ms)
[ RUN      ] Svar.VecParament
[       OK ] Svar.VecParament (0 ms)
[ RUN      ] Svar.Parse
Auther of GSLAM is ZhaoYong
Name is ChangedName
FunctionCalled=1
[       OK ] Svar.Parse (0 ms)
[----------] 6 tests from Svar (0 ms total)
[----------] 1 test from Scommand
[ RUN      ] Scommand.Regist
[       OK ] Scommand.Regist (0 ms)
[----------] 1 test from Scommand (0 ms total)
[----------] 1 test from HashMapTest
[ RUN      ] HashMapTest.MultiThreadReadWrite
[       OK ] HashMapTest.MultiThreadReadWrite (2 ms)
[----------] 1 test from HashMapTest (2 ms total)
[----------] 6 tests from Estimator
[ RUN      ] Estimator.HomographyRANSAC
H:,0.998268,1.99992,3.07404,3.99708,5.00007,6.08132,-4.52509e-06,1.78728e-06,1
MidNoise:0.110101,MidError:0.149897
[       OK ] Estimator.HomographyRANSAC (74 ms)
[ RUN      ] Estimator.FundamentalSevenPoint
/home/shihl/workspace/GSLAM/GSLAM/gslam/Tests/EstimatorTest.cpp:88: Failure
Expected: (fabs(F[0]-4.81441976)) <= (1e-6), actual: 1.00506e-06 vs 1e-06
/home/shihl/workspace/GSLAM/GSLAM/gslam/Tests/EstimatorTest.cpp:89: Failure
Expected: (fabs(F[1]+8.16978909)) <= (1e-6), actual: 1.07973e-06 vs 1e-06
/home/shihl/workspace/GSLAM/GSLAM/gslam/Tests/EstimatorTest.cpp:90: Failure
Expected: (fabs(F[2]-6.73133404)) <= (1e-6), actual: 1.67578e-06 vs 1e-06
/home/shihl/workspace/GSLAM/GSLAM/gslam/Tests/EstimatorTest.cpp:94: Failure
Expected: (fabs(-9.92570126-F[6])) <= (1e-6), actual: 1.47626e-06 vs 1e-06
[  FAILED  ] Estimator.FundamentalSevenPoint (0 ms)
[ RUN      ] Estimator.FundamentalEightPoint
[       OK ] Estimator.FundamentalEightPoint (1 ms)
[ RUN      ] Estimator.EssentialFivePoint
[       OK ] Estimator.EssentialFivePoint (0 ms)
[ RUN      ] Estimator.SE3PlaneRansac
[       OK ] Estimator.SE3PlaneRansac (0 ms)
[ RUN      ] Estimator.Triangulate
[       OK ] Estimator.Triangulate (0 ms)
[----------] 6 tests from Estimator (75 ms total)
[----------] 3 tests from GImageTest
[ RUN      ] GImageTest.GImageReadThreadSafe
[       OK ] GImageTest.GImageReadThreadSafe (1001 ms)
[ RUN      ] GImageTest.CheckGImageType
[       OK ] GImageTest.CheckGImageType (0 ms)
[ RUN      ] GImageTest.OpenCVNoCopy
[       OK ] GImageTest.OpenCVNoCopy (237 ms)
[----------] 3 tests from GImageTest (1238 ms total)
[----------] 1 test from Thread
[ RUN      ] Thread.ThreadPool
[       OK ] Thread.ThreadPool (71 ms)
[----------] 1 test from Thread (71 ms total)
[----------] 8 tests from Optimizer
[ RUN      ] Optimizer.OptimizePoseSimulate
gslam: symbol lookup error: ./libgslam_optimizer.so: undefined symbol: cholmod_start
Is that normal? What is wrong? Why this error comes out during runtime?

I have the same issue. Did you figure out how to solve this?

我也出现了相同的问题

Now cholmod dependency added, please pull the code with:
git pull origin master

Now cholmod dependency added, please pull the code with:
git pull origin master

The error is stiil exist.


Relational modal data adding is not working

Am using Rails 4.1

Thanks

Please reopen on update.


I can morph an intermediate message catch event into a timer event

Is your feature request related to a problem? Please describe.
At the moment I can morph an intermediate timer event into a message event but not vice versa.
Describe the solution you'd like
I can model an intermediate message catch event and afterwards morph it into an intermediate timer event.
Describe alternatives you've considered
Deleting the message event and creating a timer event is a feasible workaround.
Additional context
It is already possible to morph an intermediate timer event into a message event, also boundary events can be morphed to the other type.

@menski I'll take a look at that this evening. Should be fixed by adding
'replace-with-timer-intermediate-catch' to https://github.com/zeebe-io/zeebe-modeler/blob/master/client/src/app/tabs/bpmn/custom/modeler-options/Options.js

Closed via 57461e2.


Support methods bound to a type in a different namespace

The intention of this PR is unclear. OdcmMethods are being augmented with a Namespace property but there are no consumers for that property. Furthermore, there are no tests added which capture and validate the intent of the PR. I would expect to see Unit Tests added to:
Given_an_OdcmClass_Entity_Bound_Function.cs
Given_an_OdcmClass_Entity_Bound_VoidMethod.cs
Given_an_OdcmClass_Entity_Collection_Bound_Function.cs
Given_an_OdcmClass_Entity_Collection_Bound_VoidMethod.cs
Given_an_OdcmClass_Service_Bound_Function.cs
Given_an_OdcmClass_Service_Bound_VoidMethod.cs

Please address these issues, along with the build breaks, and re-submit the PR!


ClassCastException

java.lang.ClassCastException: java.lang.Long cannot be cast to [B
at redis.clients.jedis.Connection.getBinaryBulkReply(Connection.java:201)
at redis.clients.jedis.Connection.getBulkReply(Connection.java:190)
at redis.clients.jedis.Jedis.get(Jedis.java:93)
What could be a reason?

@kamcio96 this issue has been discussed several times. Search through the closed issues and mailing list before creating a new one

So why you don't catch that exception and show correct error? That's why Exceptions exists :/

@kamcio96 we're always welcome to contributions. If you think this can be improved we'll love to hear your proposition and hopefully improve Jedis.


Change property og:image:url to og:image

The spec allows both but popular messenger prefer the property without :url
Every messenger i tested ignored the property og:image:url and only used og:image.
Tested Messengers:

Telegram
Rocket.Chat
Riot/Element
Facebook

It seems like my changes are not causing the ci failures.

Hey,
this was already solved in #5 - as long as you only pass a simple string it will also only render a simple og:image.
Following the specs at https://ogp.me/ it would be wrong to use og:image without :url if there's additional data.

@Gummibeer
Maybe the spec does say that.
But the reality is that the platforms react different to the properties.
I want to define the dimensions of the image and still want only to use og:image for the url because the platforms respect that.
Another possibility would be to add bot og:image and og:image:url.
Using og:image:url might be more spec conform but it does not work in practice.
This is an example of how wordpress does it:
<meta property="og:image" content="https://blog.church.tools/wp-content/uploads/2018/12/App-Mockup_ChurchTools.jpg">
<meta property="og:image:width" content="1536">
<meta property="og:image:height" content="1024">

The Facebook Sharing Debugger shows no errors despite a missing id for facebook: https://developers.facebook.com/tools/debug/?q=https%3A%2F%2Fblog.church.tools%2Fblog%2Fniederschwellige-digitale-werbung%2F

Would you be fine with a withoutUrlSuffix() (real name tbd) method on the structured classes? 🤔
We had something similar in the spatie/schema-org package that Google does something different than the spec.
And because it's open-graph and not telegram-graph I would like to stick to the spec and not incomplete real world implementations.
But I would be okay with a workaround like the named method. Could also be a construct argument or both. This way you could even add your own class that disables the suffix by default.

@Gummibeer both of your solutions sounds good to me

Okay, will work on this today - should be released end of the day. 🙂

https://github.com/Astrotomic/php-open-graph/releases/tag/0.5.0

thanks, i tested it and it works.


Create gitignore file for ECU-TEST workspaces

Reasons for making this change:

As the developers and product owners of ECU-TEST, we want to provide a .gitignore template for all of our customers.
Links to documentation supporting these rule changes:
There is no public documentation for these rules. The rules are documented within the file. Additional information can be requested via TraceTronic Support.
If this is a new template:

Link to application or project’s homepage: ECU-TEST

I am not longer working for GitHub, this will need to be picked up by the new team. Consider open a discussion in the github/community discussions to appoint a new project lead.

Hi @shiftkey
you are top contributor of this repo and still in the GitHub Organisation.
Maybe you can help us to find someone who can merge this pull request for us?
I am grateful for any tip to get ahead here

Hi @thorrsson
can you maybe support us with this PR as done by you in: https://github.com/github/gitignore/pull/4540
Best Regards and Many Thanks!
Sebastian


fix: Cursor turning to pointer upon onclick in deployed app

Signed-off-by: Nishi Agrawal<EMAIL_ADDRESS>
Pull Request Template
Use this template to quickly create a well written pull request. Delete all quotes before creating the pull request.

Description

Please include a summary of the changes and which issue has been fixed. Please also include relevant motivation
and context. List any dependencies that are required for this change.

The cursor now changes to pointer based on showHoverPointer property or onClick event.
Fixes #7571

if no issue exists, please create an issue and ask the maintainers about this first

Type of change

Please delete options that are not relevant.

Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions, so we can reproduce.
Please also list any relevant details for your test configuration.

NA
Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

The result.

@nishihere19 Thanks for the contribution! There needs to be a change here. The cursor needs to change to a pointer only if there is an on-click event for the image. The current implementation introduces a pointer for every image widget even if they don't have an on-click event. Could you modify your PR?
I've shot a video to show you what I mean: https://www.loom.com/share/e5723f23663d4d2fa179b85c78abef0b  Please let me know if you need help! Thanks

Sure, thanks for the suggestions. Will apply the same!

@nishihere19 please update the pull request description properly

@nishihere19 I can still see the cursor point in the view mode ( i had no on-click action on the image ). can you check it once in the view mode ( by view mode, i mean the app you see when you deploy your app )

Yeah, I am working on it. Will fix this.

@nishihere19 as requested, Re-opening this PR, Kindly make the required changes in the next 2 days and update the PR with the latest release code from upstream

Sure, thank you!!

/ok-to-test sha=a441b6e

@jsartisan @yatinappsmith need some help with the failing tests here

/ok-to-test sha=1452bb6


Carousel Example?

First of all I love this slider, so far...awesome! Just started using it today ;)
Would you mind creating a simple carousel example for the docs?
I see the visibleSize and slideDistance properties and testing it out it seems to work somewhat well, I'd love to see an example though created by the author.
Thanks!
ps: I want to write a review of your WordPress plugin on my blog @wpexplorer just went out and got it.

An example of the carousel layout is the second example. The bigger the visibleSize value is compared to the width value, the more slides will be visible. For example, if visibleSize is 900 and width is 300, three slides will be visible.
Cheers.

@davidghi - Sorry, apparently I am blind ;)
Your slider is freaking amazing man.  Do you have a paypal I can donate to? Or would you rather I buy an extended version? I'd love to donate a bit more because I love this slider, it's the only one out there that isn't broken - lol.

Thank you for the good intentions, but it's not necessary to donate or purchase an extended license, unless you plan to use it. However, any help in promoting the slider is much appreciated :)


Dangling endpoint prevents Contiv network to be deleted

Description

Netctl can't delete Contiv network because of a dangling endpoint. No container is added to the Contiv network and the Contiv network is not visible via docker network ls:
[root@node1 ~]# docker ps -a
CONTAINER ID        IMAGE                                                                                COMMAND                  CREATED             STATUS              PORTS               NAMES
446123fbf5e1        traefik@sha256:9e3c89bb72a696fe1908281dc4e99fe9ad827ff7c13776da47d031f25ad963d2               "/traefik --docker..."   13 hours ago        Up 13 hours         80/tcp              traefik.1.0uym1y51tvrf83268tyhcbp90
eb2432481c96        portainer/portainer@sha256:40bf7e42c9cd4b95ab70b9eca8c9b772e7ef65e78fa094ccb6f745e117b5237c   "/portainer -H uni..."   13 hours ago        Up 13 hours         9000/tcp            portainer.1.w0wakhlv32x78k0udcu0yg53g
b634720d676f        quay.io/coreos/etcd:v2.3.8                                                                    "/etcd"                  13 hours ago        Up 13 hours                             etcd
7c887fa9bbff        contiv/auth_proxy:1.0.3                                                                       "./auth_proxy --tl..."   13 hours ago        Up 13 hours                             auth-proxy
[root@node1 ~]# docker network ls
NETWORK ID          NAME                DRIVER              SCOPE
c199c6e13fd2        bridge              bridge              local
1e7326c004b7        docker_gwbridge     bridge              local
49278dd80f72        host                host                local
jgpyyzj5qv6y        ingress             overlay             swarm
2adc0c7dd3d2        none                null                local

I've created the Contiv network with version 1.0.2 and left it there during the uninstallation of version 1.0.2 and installation of 1.0.3. With version 1.0.3 I'm now not able anymore to delete this network.
Does anyone have any hint which could resolve this issue?
Expected Behavior

The created network with no container or service added to it should deletable without any issues.
Observed Behavior

The network can't be deleted and the following error is issued:
[root@node1 ~]# netctl net rm ne3z0cdrrfb2sgc046wkdmzik
Deleting network default:ne3z0cdrrfb2sgc046wkdmzik
ERRO[0000] Error: Network has active endpoints [github.com/contiv/netplugin/netmaster/master.DeleteNetworkID network.go 264]

Steps to Reproduce (for bugs)

Create new Contiv network:

docker network create co-default-net --attachable --subnet <IP_ADDRESS>/24 --gateway <IP_ADDRESS> -d contiv/v2plugin:1.0.3 --ipam-driver contiv/v2plugin:1.0.3

Add container to it:

docker run -it --rm --name=contiv-blue --net=co-default-net alpine /bin/sh

Stop container.
Uninstall Contiv 1.0.2.
Install Contiv 1.0.3.
Try to delete the network:

[root@node1 ~]# netctl net ls
Tenant   Network                    Nw Type  Encap type  Packet tag  Subnet           Gateway       IPv6Subnet  IPv6Gateway  Cfgd Tag
------   -------                    -------  ----------  ----------  -------          ------        ----------  -----------  ---------
default  ne3z0cdrrfb2sgc046wkdmzik  data     vxlan       0           <IP_ADDRESS>/24  <IP_ADDRESS>
[root@node1 ~]# netctl net inspect ne3z0cdrrfb2sgc046wkdmzik
{
  "Config": {
    "key": "default:ne3z0cdrrfb2sgc046wkdmzik",
    "encap": "vxlan",
    "gateway": "<IP_ADDRESS>",
    "networkName": "ne3z0cdrrfb2sgc046wkdmzik",
    "nwType": "data",
    "subnet": "<IP_ADDRESS>/22",
    "tenantName": "default",
    "link-sets": {},
    "links": {
      "Tenant": {
        "type": "tenant",
        "key": "default"
      }
    }
  },
  "Oper": {
    "allocatedAddressesCount": 1,
    "allocatedIPAddresses": "<IP_ADDRESS>-<IP_ADDRESS>",
    "availableIPAddresses": "<IP_ADDRESS>-<IP_ADDRESS>",
    "endpoints": [
      {
        "endpointID": "7527e03d88ac59f5a4dc3b03297ebc194fb5130823965fd789344dbfb888dc32",
        "homingHost": "node1.local",
        "ipAddress": [
          "<IP_ADDRESS>",
          ""
        ],
        "labels": "map[]",
        "macAddress": "02:02:c0:a8:34:02",
        "network": "ne3z0cdrrfb2sgc046wkdmzik.default"
      }
    ],
    "externalPktTag": 1,
    "networkTag": "ne3z0cdrrfb2sgc046wkdmzik.default",
    "numEndpoints": 1,
    "pktTag": 1
  }
}
[root@node1 ~]# netctl net rm ne3z0cdrrfb2sgc046wkdmzik
Deleting network default:ne3z0cdrrfb2sgc046wkdmzik
ERRO[0000] Error: Network has active endpoints [github.com/contiv/netplugin/netmaster/master.DeleteNetworkID network.go 264]

Your Environment

netctl version:
Version: 1.0.3
GitCommit: c61eb64
BuildTime: 06-08-2017.01-26-14.UTC

Orchestrator version (e.g. kubernetes, mesos, swarm):
Docker version 17.03.1-ce, build c6d412e

Operating System and version:
CentOS Linux release 7.3.1611 (Core) with kernel 3.10.0-514.10.2.el7.x86_64

Thanks!
Regards,
Philip

Additional infos: Here are the regarding keys from the ETCD cluster:
[root@node1 ~]# etcdctl get /contiv.io/obj/modeldb/network/default:ne3z0cdrrfb2sgc046wkdmzik
{"key":"default:ne3z0cdrrfb2sgc046wkdmzik","encap":"vxlan","gateway":"<IP_ADDRESS>","networkName":"ne3z0cdrrfb2sgc046wkdmzik","nwType":"data","subnet":"<IP_ADDRESS>/24","tenantName":"default","link-sets":{},"links":{"Tenant":{"type":"tenant","key":"default"}}}
[root@node1 ~]# etcdctl get /contiv.io/oper/eps/ne3z0cdrrfb2sgc046wkdmzik.default-7527e03d88ac59f5a4dc3b03297ebc194fb5130823965fd789344dbfb888dc32
{"id":"ne3z0cdrrfb2sgc046wkdmzik.default-7527e03d88ac59f5a4dc3b03297ebc194fb5130823965fd789344dbfb888dc32","netID":"ne3z0cdrrfb2sgc046wkdmzik.default","endpointID":"7527e03d88ac59f5a4dc3b03297ebc194fb5130823965fd789344dbfb888dc32","serviceName":"","contUUID":"","ipAddress":"<IP_ADDRESS>","macAddress":"02:02:c0:a8:34:02","homingHost":"node1.local","intfName":"","portName":"vport5","vtepIP":""}

To be honest I don't know if it was smart, but using etcdctl rm <keys-from-above> at least seem to resolve my problem..
Regards,
Philip


Remove some leftover _Py

Noticed an error during GC: error in running finalizer: UndefVarError(var=:_Py). Probably due to one of these?

Thanks for this - it wasn't quite right so I made the corrections myself. I'm making a new release now.


ios has no option to chenge text sticker background

Hi ,
in android there is option to change text sticker background , but ios not

I used different open source libraries. If you can find a library for Android, you can add it yourself or replace it by me


Changes to work with BS4 via reactstrap

Note that the CSS change will not work well if you want the form label to be
left of the input, as opposed to above it.

Hi Yuri. First, thanks for this code. It's really helpful!
Second, I don't expect you to merge this now. I wanted to share it in case you are considering moving this to BS4, and also for the benefit of anyone else who wants to use this component with reactstrap.

Thank you for the contribution!
I am not merging atm but after bs4 will be release might do so.
I also suspect package.json should be updated as well.

Ah, good call on package.json. I'm not sure it's worth making the change in this PR right. The reactstrap package is still in a bit of flux. I'm using an alpha release of v5, but by the time BS4 is released as stable reactstrap should have a stable v5.

Well, let's see how things are evolved. I have too many emerging technologies in my project already and slightly tired of the constant disruptions :)

Haha. I strongly suggest programming in anything but JS then ;)
As a long-time Perl and less long-time Go programmer the amount of churn in the JS space is overwhelming and baffling for me.

I am on elixir-graphql on the backend (cool thing) and react-apollo on the frontend :)
Yeah, JS is insane. Article I wrote a year ago is obsolete trash already


1125/Allow spaces in CLI filters param

This PR fixes an issue with the filters being passed to the CLI where spaces around separators were not trimmed correctly, making some filters ineffective.
This fixes #1125

The CI is failing due to the Gradle plugin-publish plugin JARs having disappeared from the Gradle plugin repos...

@vanniktech actually after checking a bit more in the code, reports cannot be chained right now. You can't do -r "plain:/path/to/report.txt,xml:/path/to/report.xml", you explicitly need a -r per each report, so what you're asking doesn't really apply.

I've tested this out and chaining them did work for me.

Might be some JCommander magic as we don't have explicit provisions in code to handle the case, then. You're right tho to say you can do it, I didn't read the help message for -r and that mentions you can chain things. Probably semicolon-separated won't work tho.

This failed on Appveyor because of a Gradle plugins repo read error... can someone restart the build there?

Restarted :)

Thanks @arturbosch, green now :)

Also thanks for the PR!


Window rule collection area

I've decided to also add window rules due to popular request, so if you want ur sick window rules added share them here. Don't forget about #22 too, I will be adding these both at the same time, so I'd also like fore everyone to share their shader plz.

I have 2 groups and a single one
# Float some windows by default
windowrulev2 = float, class:pavucontrol(-qt)?
windowrulev2 = float, title:cava
windowrulev2 = float, title:File Upload — Portal
windowrulev2 = float, class:^nm-.* # any network manager
windowrulev2 = float, title:Firefox( Developer Edition)? - Choose User Profile
windowrulev2 = float, title:Library, class:firefox(developeredition)?
windowrulev2 = float, title:Olympus # Celeste mod manager
windowrulev2 = float, title:Picture-in-Picture

# PiP window improvements
#windowrulev2 = float, title:Picture-in-Picture # no need to repeat this
windowrulev2 = pin, title:Picture-in-Picture
windowrulev2 = opacity 0.9 override 0.5 override, title:Picture-in-Picture

# workspace special:term always has a terminal
#$term = kitty # or just replace it
workspace = special:term, on-created-empty:$term, gapsout:75

(btw is there something better for hypr conf syntax highlighting than perl?)

I have 2 groups and a single one
# Float some windows by default
windowrulev2 = float, class:pavucontrol(-qt)?
windowrulev2 = float, title:cava
windowrulev2 = float, title:File Upload — Portal
windowrulev2 = float, class:^nm-.* # any network manager
windowrulev2 = float, title:Firefox( Developer Edition)? - Choose User Profile
windowrulev2 = float, title:Library, class:firefox(developeredition)?
windowrulev2 = float, title:Olympus # Celeste mod manager
windowrulev2 = float, title:Picture-in-Picture

# PiP window improvements
#windowrulev2 = float, title:Picture-in-Picture # no need to repeat this
windowrulev2 = pin, title:Picture-in-Picture
windowrulev2 = opacity 0.9 override 0.5 override, title:Picture-in-Picture

# workspace special:term always has a terminal
#$term = kitty # or just replace it
workspace = special:term, on-created-empty:$term, gapsout:75

(btw is there something better for hypr conf syntax highlighting than perl?)

yeah if ur using helix or neovim, there is a treesitter grammar

yeah if ur using helix or neovim, there is a treesitter grammar

Should've been more specific, I meant in Markdown code blocks on here GitHub.

I have 2 groups and a single one
# Float some windows by default
windowrulev2 = float, class:pavucontrol(-qt)?
windowrulev2 = float, title:cava
windowrulev2 = float, title:File Upload — Portal
windowrulev2 = float, class:^nm-.* # any network manager
windowrulev2 = float, title:Firefox( Developer Edition)? - Choose User Profile
windowrulev2 = float, title:Library, class:firefox(developeredition)?
windowrulev2 = float, title:Olympus # Celeste mod manager
windowrulev2 = float, title:Picture-in-Picture

# PiP window improvements
#windowrulev2 = float, title:Picture-in-Picture # no need to repeat this
windowrulev2 = pin, title:Picture-in-Picture
windowrulev2 = opacity 0.9 override 0.5 override, title:Picture-in-Picture

# workspace special:term always has a terminal
#$term = kitty # or just replace it
workspace = special:term, on-created-empty:$term, gapsout:75

(btw is there something better for hypr conf syntax highlighting than perl?)

This has given me an idea, maybe we can organize a project to create a file of window rules and maybe other stuff too for different applications, which improves support. (ex. to make PiP actually float kinda) Like https://github.com/LGUG2Z/komorebi-application-specific-configuration

That sounds neat, I would definitely contribute whatever I have.
(Also today I learned TWMs for Windows are a thing.)

yeah if ur using helix or neovim, there is a treesitter grammar

Should've been more specific, I meant in Markdown code blocks on here GitHub.

Maybe shell?
source test.conf
# comments too
bind=super,x,exec,kitty
conf:value=69420

lol even python works
source=test.conf
# comments too
bind=super,x,exec,kitty
conf:value=69420

lol even python works
source=test.conf
# comments too
bind=super,x,exec,kitty
conf:value=69420

My problem with other languages was that the colouring doesn't work so well. Python works mostly, but doesn't look great with window rules.

Oh heck it's even inconsistent
windowrulev2 = float, class:pavucontrol(-qt)?
windowrulev2 = float, title:Library, class:firefox(developeredition)?
windowrulev2 = opacity 0.9 override 0.5 override, class:firefox(developeredition)?

Hello @yavko
With the more recent Zoom client update (6.0.0 / 6.0.2), it looks like they added some client titles to some of their windows. The class also changed to "Zoom Workplace". I did some testing this morning and came up with a fairly comprehensive list of rules for various issues I had with Zoom.
Please see the messages in Discord channel to understand the issues experienced and the progression of fixes implemented...
# Zoom Workplace Screen Sharing
# Sharing Toolbar
windowrulev2 = float,class:^(Zoom Workplace)$,title:^(as_toolbar)$
windowrulev2 = noborder,class:^(Zoom Workplace)$,title:^(as_toolbar)$
windowrulev2 = noshadow,class:^(Zoom Workplace)$,title:^(as_toolbar)$
windowrulev2 = move 930 85,class:^(Zoom Workplace)$,title:^(as_toolbar)$

# Zoom Workplace Screen Sharing
# Green Border Selection
windowrulev2 = float,title:^(cpt_frame_xcb_window)$
windowrulev2 = noborder,title:^(cpt_frame_xcb_window)$

# Zoom Workplace
# Main Zoom Starting Window
windowrulev2 = float,class:^(Zoom Workplace)$,title:^(Zoom Workplace - Licensed account)$
windowrulev2 = size 660 530,class:^(Zoom Workplace)$,title:^(Zoom Workplace - Licensed account)$
windowrulev2 = center,class:^(Zoom Workplace)$,title:^(Zoom Workplace - Licensed account)$

# Zoom Workplace Settings
windowrulev2 = float,class:^(Zoom Workplace)$,title:^(Settings)$

# Zoom Workplace Menu Windows
windowrulev2 = float,class:^(Zoom Workplace)$,title:^(menu window)$
windowrulev2 = size 300 600,class:^(Zoom Workplace)$,title:^(menu window)$
windowrulev2 = stayfocused,class:^(Zoom Workplace)$,title:^(menu window)$
windowrulev2 = center,class:^(Zoom Workplace)$,title:^(menu window)$

# Zoom Workplace Top Bar Popups
# Zoom Meeting Info Window
windowrulev2 = float,class:^(Zoom Workplace)$,title:^(meeting topbar popup)$
windowrulev2 = noborder,class:^(Zoom Workplace)$,title:^(meeting topbar popup)$
windowrulev2 = noshadow,class:^(Zoom Workplace)$,title:^(meeting topbar popup)$
windowrulev2 = center,class:^(Zoom Workplace)$,title:^(meeting topbar popup)$
windowrulev2 = stayfocused,class:^(Zoom Workplace)$,title:^(meeting topbar popup)$
windowrulev2 = size 485 442,class:^(Zoom Workplace)$,title:^(meeting topbar popup)$

# Zoom Workplace Bottom Bar Popups
# Zoom Reactions
windowrulev2 = float,class:^(Zoom Workplace)$,title:^(meeting bottombar popup)$
windowrulev2 = noborder,class:^(Zoom Workplace)$,title:^(meeting bottombar popup)$
windowrulev2 = noshadow,class:^(Zoom Workplace)$,title:^(meeting bottombar popup)$
windowrulev2 = center,class:^(Zoom Workplace)$,title:^(meeting bottombar popup)$
windowrulev2 = stayfocused,class:^(Zoom Workplace)$,title:^(meeting bottombar popup)$
windowrulev2 = size 285 90,class:^(Zoom Workplace)$,title:^(meeting bottombar popup)$

# Zoom Workplace Misc
# Captions Window, Breakout Room Creation, etc
windowrulev2 = float,class:^(Zoom Workplace)$,title:^(zoom)$
windowrulev2 = noborder,class:^(Zoom Workplace)$,title:^(zoom)$
windowrulev2 = noshadow,class:^(Zoom Workplace)$,title:^(zoom)$
windowrulev2 = center,class:^(Zoom Workplace)$,title:^(zoom)$

# Sets fullscreen for common Minecraft legacy windows
windowrulev2 = fullscreen, class:^(Minecraft 1.8.9)$
windowrulev2 = fullscreen, class:^(org-prismlauncher-EntryPoint)$

# Set fullscreen for all steam games
windowrulev2 = fullscreen, class:^(steam_app_.*)$

# Fix everest (celeste) splash screen
windowrulev2 = float, class:^(EverestSplash-l

a few of my gaming related envvars, if anyone needs.


Distance calculator

When computing a particular distance, by default pyccl calls compute_distances() method of Cosmology class, which computes not only the distance required, but also a bunch of other stuff that is not needed by the user.
Would it be possible to compute these cosmological distances independently from each other?
In my specific case, I am computing the comoving_angular_distance, and I noticed that changing cosmology and computing it again is quite slow (it takes about 0.1 s per computation on my laptop). Hence I decided to submit this particular issue
for reference, the compute_distances() function is called in all these pyccl functions:
comoving_radial_distance
comoving_angular_distance
angular_diameter_distance
h_over_h0
luminosity_distance
distance_modulus
scale_factor_of_chi

Thanks for submitting this @vittoriodx7 and sorry for the delay without anyone replying.
I believe that at a C level the compute_distances() function computes a(chi), chi(a), and E(a) (where chi is comoving distance and E is H/H0). I haven't profiled it but I expect that either the chi(a) integral or the a(chi) calculation is the rate-limiting step here (rather than E, this should be much quicker that the chi(a) integral). I can see how it would slightly slow down the computation of e.g. comoving_angular_distance to compute a(chi) which is not needed by the comoving_angular_distance function.
We could consider the idea of whether we should split a(chi) into a different function as I think it is generally not needed for most of these distances. I'm not 100% sure why it was put in that function in the first place and if there are any issues around moving it. @damonge @elisachisari do either of you recall or have any thoughts on this?
How important this is to fix obviously also depends on how big of an issue this extra time is. It sounds like it's becoming an issue for your application?


v-model document.createEvents are deprecated

What problem does this feature solve?
use CustomEvent instead of document.createEvent
What does the proposed API look like?
src/platforms/web/runtime/directives/model.js
trigger function
function trigger(el, type) {
if (window.CustomEvent !== undefined) {
const e = new CustomEvent(type);
el.dispatchEvent(event);
} else {
const e = document.createEvent("HTMLEvents");
e.initEvent(type, true, true);
el.dispatchEvent(e);
}
}

That's not that straightfowward. a CustomEvent isn't a drop-in replacement for an HTMLEvent.

To add on to what @LinusBorg is saying check out:
https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent/CustomEvent
https://developer.mozilla.org/en-US/docs/web/api/event
🙂


Update the society_of_mind_gaia branch (used by the benchmark) to the latest version of AutoGen

Closed. This is now available in complex_tasks


rewrite tests more clearly

While I only found time to look the tests

And plz set this options to true for me. in your pull request

The option was already set to true. I uncheck it and check it again, is it ok now?
or something else I should do to enable it ?

So strange.... I for some reason not can push in your pull request😔

thanks)))

I merged your pr, is that ok now?

you are welcome :grin:


Postcss rem() doesn't work with Vite 5

Followed documentations https://mantine.dev/styles/postcss-preset/ and https://mantine.dev/guides/vite/ and I can't implement the navbar component (NavbarNested) based on the examples in https://ui.mantine.dev/category/navbars/ because the rem() functions keep breaking.

vite: 5.0.11
postcss.config.cjs:
module.exports = {
  plugins: {
    "postcss-preset-mantine": {},
    "postcss-simple-vars": {
      variables: {
        "mantine-breakpoint-xs": "36em",
        "mantine-breakpoint-sm": "48em",
        "mantine-breakpoint-md": "62em",
        "mantine-breakpoint-lg": "75em",
        "mantine-breakpoint-xl": "88em",
      },
    },
  },
};

In App.tsx:
import { MantineProvider } from "@mantine/core";
import<EMAIL_ADDRESS>(...)
<MantineProvider>
    <App />
</MantineProvider>

You can find a working template with Vite 5 here – https://github.com/mantinedev/vite-template

FWIW I've just upgraded and run into this issue. I have always had the postcss mantine plugin configured, but now it's complaining my existing e.g. rem(20px) are missing a parameter (due to the new css rem function)
I've gone over the provided Vite 5 template repo, but something has changed with the Vite 5 and Mantine upgraded pipeline.
Will report back when I find the solution to my problem here


Custom Fonts are not added to the Info.plist in the tvOS target

This issue was previously reported in the core React Native repository here: Custom fonts won't load on tvOS apps - Unrecognized font family #18025.
Took me hours and hours to figure out what was going on, but a comment in that issue thread led me to figure out that the Info.plist for my -tvos target did not get the fonts added to it after adding them to my assets and running react-native link.
React Native version:
% react-native info
info Fetching system and libraries information...
System:
    OS: macOS 10.15.3
    CPU: (8) x64 Intel(R) Core(TM) i7-8569U CPU @ 2.80GHz
    Memory: 706.13 MB / 16.00 GB
    Shell: 5.7.1 - /bin/zsh
  Binaries:
    Node: 10.16.0 - /usr/local/bin/node
    Yarn: 1.22.4 - /usr/local/bin/yarn
    npm: 6.9.0 - /usr/local/bin/npm
  SDKs:
    iOS SDK:
      Platforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1
    Android SDK:
      API Levels: 23, 27, 28, 29
      Build Tools: 23.0.1, 27.0.3, 28.0.3, 29.0.2, 29.0.3
      System Images: android-23 | Android TV Intel x86 Atom
  IDEs:
    Android Studio: 3.6 AI-192.7<IP_ADDRESS>41897
    Xcode: 11.3/11C29 - /usr/bin/xcodebuild
  npmPackages:
    react: 16.9.0 => 16.9.0
    react-native-tvos:  0.61.5-0
  npmGlobalPackages:
    react-native-cli: 2.0.1

Steps To Reproduce

Follow the instructions in Adding custom fonts in react native 60+
Reference your custom font anywhere in your app and run the tvOS target.  You will receive an Unrecognized font family error message.
Run the NON-tvos target and it will work fine.
Compare Info.plist from ios/TestApp with the Info.plist in ios/TestApp-tvOS.  You'll notice your fonts are missing.

This is actually an issue in the CLI, not in the react-native-tvos repo.  So it would have to be fixed in https://github.com/react-native-community/react-native-cli.  Right now, the code there seems to be just getting the first target in the project (the iOS one), and ignoring the tvOS one.


Yield at catch param binding pattern.

The yielding at catch param place gone wrong when there is destructuring. It had happened because the we were not doing correct book-keeping for catch block for the pattern. Fixed that by recording just before assignment.

@aneeshdk please have a look.

Fixes #2481

LGTM


[SPARK-22355][SQL] Dataset.collect is not threadsafe

What changes were proposed in this pull request?
It's possible that users create a Dataset, and call collect of this Dataset in many threads at the same time. Currently Dataset#collect just call encoder.fromRow to convert spark rows to objects of type T, and this encoder is per-dataset. This means Dataset#collect is not thread-safe, because the encoder uses a projection to output the object to a re-usable row.
This PR fixes this problem, by creating a new projection when calling Dataset#collect, so that we have the re-usable row for each method call, instead of each Dataset.
How was this patch tested?
N/A

cc @zsxwing @viirya @kiszk

Test build #83063 has started for PR 19577 at commit cecea8c.

Test build #83063 has finished for PR 19577 at commit cecea8c.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/83063/
Test PASSed.

Nice catch! LGTM with two minor comments.

Good catch, LGTM.
Here is my observation. This problem occurs since (this SpecicInternalRow)[https://github.com/apache/spark/blob/master/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/codegen/GenerateSafeProjection.scala#L193] is used per Dataset. This can be shared by multiple threads. To avoid this sharing, this PR assigns a Projection into a local variable as val objProj = GenerateSafeProjection.generate(deserializer :: Nil).
It is not easy to create a test case for this.

Test build #83091 has started for PR 19577 at commit dfcdb23.

Test build #83091 has finished for PR 19577 at commit dfcdb23.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/83091/
Test PASSed.

Merged build finished. Test PASSed.

Thanks! Merged to master. cc @zsxwing


http.py: Fix cursor in response set JSON Response as default

This PR fixes #309 and #310

Choose the JSON response if accept_mimetypes has a "/" in it
Set cursor to string in response

LGTM 👍


Quality engineering plan

Put together a quality engineering plan for dahak-taco

Crash-proof rules: if you try to run rule X with weird/contradictory parameters, workflows should fail and tell you what went wrong.


Fix/styling and button fixes

What kind of change does this PR introduce?
Bug fix, feature, docs update, ...
What is the current behavior?
Please link any relevant issues here.
What is the new behavior?
Feel free to include screenshots if it includes visual changes.
Additional context
Add any other context or screenshots.

:tada: This PR is included in version 0.1.5 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 0.1.5 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Coverage 5 not working on NFS

I am running coverage using py-cov as part of the pytest session. When running with coverage-5.0a4 the process gets locked apparently due to my home dir being on NFS. This is not happening with coverage-4.5.2 - that version completes smoothly.
This is the strace up to the lock:
lstat(".coverage", 0x7ffcf3ed9290)      = -1 ENOENT (No such file or directory)
getcwd("/home/bbyk/myprj", 511) = 35
getpid()                                = 3949
getpid()                                = 3949
openat(AT_FDCWD, "/home/bbyk/myprj/.coverage", O_RDWR|O_CREAT|O_CLOEXEC, 0644) = 8
fstat(8, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
fstat(8, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
stat("/home/bbyk/myprj/.coverage", {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
pread64(8, "", 100, 0)                  = 0
fcntl(8, F_SETLK, {l_type=F_RDLCK, l_whence=SEEK_SET, l_start=1073741824, l_len=1}

btw. I understand some features on NFS can't work - just wondering whether this loss of functionality between the versions is legitimate/expected/worth it...

It's definitely not intentional.  Do you have experience diagnosing these problems?  The big change in v5 is that .coverage is a SQLite file rather than a JSON file.

h, ok, that explains it - sqlite is not compatible with most NFS implementations. I guess I just need to point the .coverage to be stored outside of NFS.


Add Lines, Chars and CharsMut iterators

Adds iterators over lines, chars and a mutable iterator over characters, and adds tests as well.

Thanks for your replies. Unfortunately, I've realised that the <Lines as ExactSizeIterator>::len method is broken, and I've added tests which demonstrate that. I'll need to look at that implementation some more (or perhaps yank it and make that a future pull request).

I think I'll close this pr, and open a new one with the more focused changes (aka Chars, CharsMut and lines without the len stuff). Then those can be added as future improvements.


TypeError: Invalid value used as weak map key

Following examples for passing additional values to the fetcher, it describes using an array of values. It doesn't indicate that they should be an array of objects. Should they? It's a bit awkward if so. However, if using primitive types I sometimes notice a type error because WeakMap keys should be Object.
https://github.com/zeit/swr/blob/987bbb2e82f3454e7a0f5f264e9f2909278844a5/src/libs/hash.ts#L20
Is this correct? Would it be correct to check the type of args[i] in this recent change and convert the value to an Object to be used for the key instead?

I gave it an array of objects and that may now have led to a "Maximum update depth exceeded" error. I'm not really sure how to avoid this type error now.

It may have been because one of the values in the array I passed was undefined (it was an auth token I needed to make the request, so if not logged in and the hook fired). I made it fallback to have an empty string if undefined. Might be nice to check for this or throw some error that helps pinpoint it.

You can pass both primitive types (notice here) and objects. I think the reason that you got "Maximum update depth exceeded" is because you're passing different objects on every render. For example useSWR([{}]) will be considered to be a new object every time. You need to use useMemo or something to make it stable.

Might be nice to check for this and just automatically make undefined an empty string or throw some error that helps pinpoint it.
Yeah that's a good suggestion, thank you :+1:

The documentation has been updated to mention that your keys should be stable.
https://github.com/zeit/swr#multiple-arguments
Additionally, the following falsy values will behave the following way when used as a key:
      // "undefined" -> '"undefined"'
      // undefined   -> 'undefined'
      // 123         -> '123'
      // null        -> 'null'
      // "null"      -> '"null"'


fix constants in defaultProps

I am not 100% sure what the desired constants organization is here, but presumably static constants was updated to the new scheme while defaultProps was not.
Also standardizes no spaces on empty lines (before it was inconsistent)

Also threw in a bug fix for the remove listener logic. Because the listener was being set in an async function it was guaranteed to be defined by the time componentWillUnmount is called. This fixes that by defining the listener as the first line of componentWillMount

@rt2zz The defaultProps are actually using the constants defined above, so there shouldn't be an issue there. Feel free to merge this if you think your approach is better.

I was getting a undefined error, which I assume is because Camera class attempts to define it's static properties before it has access to it's own (earlier defined) static properties.
Maybe there was something specific about the way I am importing Camera - I take it from your description that you are not getting an undefined error?

No need to debug if there's a reasonable fix :)

:+1:


Azure CNI requires cluster identity to have Network Contributor permissions

According to the documentation:
https://docs.microsoft.com/en-us/azure/aks/configure-azure-cni#prerequisites

The cluster identity used by the AKS cluster must have at least Network Contributor permissions on the subnet within your virtual network.

The terraform-azurerm-aks module by default does not take care of this, and when I tried to create a Service of type: LoadBalancer I had this issue:
Events:
  Type     Reason                  Age                   From                Message
  ----     ------                  ----                  ----                -------
  Normal   EnsuringLoadBalancer    4m39s (x16 over 54m)  service-controller  Ensuring load balancer
  Warning  SyncLoadBalancerFailed  4m38s (x16 over 54m)  service-controller  Error syncing load balancer: failed to ensure load balancer: Retriable: false, RetryAfter: 0s, HTTPStatusCode: 403, RawError: {"error":{"code":"AuthorizationFailed","message":"The client 'xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' with object id 'xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' does not have authorization to perform action 'Microsoft.Network/virtualNetworks/subnets/read' over scope '/subscriptions/xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/fasthackterraform/providers/Microsoft.Network/virtualNetworks/acctvnet/subnets/subnet1' or the scope is invalid. If access was recently granted, please refresh your credentials."}}

This is a very well known issue and I fixed it adding to my Terraform code that calls the module the following resource:
# Grant AKS cluster access to use AKS subnet
resource "azurerm_role_assignment" "aks" {
  principal_id         = module.aks.system_assigned_identity[0].principal_id
  role_definition_name = "Network Contributor"
  scope                = module.network.vnet_subnets[0]
  depends_on = [module.aks]
}

However does it make sense to create this azurerm_role_assignment directly in the terraform-azurerm-aks module ?

It seems like the azurerm_role_assignment is required since the document says "must have". My concern here is how we keep the consistence between system assigned identity and user assigned identity. The user assigned identity is created and managed by the module caller, do we need create azurerm_role_assignment for it too? What if the caller want to manage the permission of the user assigned identity in a standalone module?

It seems like the azurerm_role_assignment is required since the document says "must have". My concern here is how we keep the consistence between system assigned identity and user assigned identity. The user assigned identity is created and managed by the module caller, do we need create azurerm_role_assignment for it too? What if the caller want to manage the permission of the user assigned identity in a standalone module?

Make it optional,
I'm missing this role assignment and this makes bootstrapping a new cluster a real pain.

@mosheavni can you confirm with which parameters you are calling the module ?
May I ask if you have the AKS cluster and the network in the same resource group ?
I am interested also in your exact combination of these 4 parameters:
module aks {
  source= "Azure/aks/azurerm"
 [..cut..]
  client_id= var.client_id
  client_secret= var.client_secret
  identity_type = var.identity_type
  identity_ids = var.identity_ids

That are used in these sections of the module:
https://github.com/Azure/terraform-azurerm-aks/blob/ce49be5faa4ed5e38cc377dde5de58050ed9cb9d/main.tf#L116-L123
https://github.com/Azure/terraform-azurerm-aks/blob/ce49be5faa4ed5e38cc377dde5de58050ed9cb9d/main.tf#L198-L205
I am not using the azurerm_role_assignment resource anymore in my projects, because
I noticed that when using a SystemAssigned identity, I get a Role Assignment with Contributor role with the scope to all the resource group, so as long as the network and the AKS cluster are in the same resource group, I don't need an extra role assignment anymore.
Could you please share more about your setup ?
thanks

I have been hit by this issue again today. I want to share some notes to troubleshoot this. I am using SystemAssigned identity, and I find the identity ID like this:
az aks show --name <name> -g <group> -o json | jq .identity

I check the role assignment to that identity:
az role assignment list --all --assignee <principalId>

And I get by default the Contributor role scoped to the resource group MC_
Interestingly enough this role assignment is enough to create an external Load Balancer but it is not enough to create an Internal Load Balancer.
It fails because there is a Microsoft.Network/virtualNetworks/subnets/read against the subnet that is the resource group where the network was created, and not in the MC_ resource group.


fix(cmd): fix repository path handling for Init and Start commands

Fixes bug introduced in #229, without the fix start does not work.

Is this tracked somewhere?
TestExtendedHeaderBroadcast
[...]
 event_test.go:100:
        	Error Trace:	event_test.go:100
        	Error:      	Received unexpected error:
        	            	context deadline exceeded
        	Test:       	TestExtendedHeaderBroadcast


[TC-178] Remove an unncessary database query

This was slowing down the /genfiles/.../ssl_multicert.config call, especially with a remote postgres cluster.
This fixes TC-178

Closing this since its no longer relevant due to the changes made by @knutsel.  Will open a new PR if necessary.


error: 'SRWLOCK_INIT' was not declared in this scope

I'm trying to make an async function for my C++ program but i got this:
====================[ Build | all | Debug ]=====================================
"G:\CLion 2021.2\bin\cmake\win\bin\cmake.exe" --build C:\Users\minec\CLionProjects\untitled1\cmake-build-debug --target all -- -j 3
Scanning dependencies of target untitled1
[ 33%] Building CXX object CMakeFiles/untitled1.dir/main.cpp.obj
In file included from C:/Users/minec/CLionProjects/untitled1/cmake-build-debug/mingw_stdthreads/cmake_stdheaders_generator/cmake_stdheaders_generator/mutex:10:0,
                 from c:\mingw\include\boost\beast\websocket\detail\prng.ipp:18,
                 from c:\mingw\include\boost\beast\websocket\detail\prng.hpp:47,
                 from c:\mingw\include\boost\beast\websocket\detail\hybi13.ipp:15,
                 from c:\mingw\include\boost\beast\websocket\detail\hybi13.hpp:45,
                 from c:\mingw\include\boost\beast\websocket\stream.hpp:19,
                 from c:\mingw\include\boost\beast\websocket.hpp:18,
                 from C:\Users\minec\CLionProjects\untitled1\main.cpp:19:
C:/Users/minec/CLionProjects/untitled1/mingw_stdthreads/mingw.mutex.h:49:17: note: #pragma message: The Windows API that MinGW-w32 provides is not fully compatible with Microsoft's API. We'll try to work around this, but we can make no guarantees. This problem does not exist in MinGW-w64.
 #pragma message "The Windows API that MinGW-w32 provides is not fully compatible\
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from C:/Users/minec/CLionProjects/untitled1/cmake-build-debug/mingw_stdthreads/cmake_stdheaders_generator/cmake_stdheaders_generator/mutex:10:0,
                 from c:\mingw\include\boost\beast\websocket\detail\prng.ipp:18,
                 from c:\mingw\include\boost\beast\websocket\detail\prng.hpp:47,
                 from c:\mingw\include\boost\beast\websocket\detail\hybi13.ipp:15,
                 from c:\mingw\include\boost\beast\websocket\detail\hybi13.hpp:45,
                 from c:\mingw\include\boost\beast\websocket\stream.hpp:19,
                 from c:\mingw\include\boost\beast\websocket.hpp:18,
                 from C:\Users\minec\CLionProjects\untitled1\main.cpp:19:
C:/Users/minec/CLionProjects/untitled1/mingw_stdthreads/mingw.mutex.h: In constructor 'constexpr mingw_stdthread::windows7::mutex::mutex()':
C:/Users/minec/CLionProjects/untitled1/mingw_stdthreads/mingw.mutex.h:176:43: error: 'SRWLOCK_INIT' was not declared in this scope
     constexpr mutex () noexcept : mHandle(SRWLOCK_INIT) { }
                                           ^~~~~~~~~~~~
In file included from C:/Users/minec/CLionProjects/untitled1/cmake-build-debug/mingw_stdthreads/cmake_stdheaders_generator/cmake_stdheaders_generator/thread:10:0,
                 from C:\Users\minec\CLionProjects\untitled1\main.cpp:25:
C:/Users/minec/CLionProjects/untitled1/mingw_stdthreads/mingw.thread.h: At global scope:
C:/Users/minec/CLionProjects/untitled1/mingw_stdthreads/mingw.thread.h:44:17: note: #pragma message: The Windows API that MinGW-w32 provides is not fully compatible with Microsoft's API. We'll try to work around this, but we can make no guarantees. This problem does not exist in MinGW-w64.
 #pragma message "The Windows API that MinGW-w32 provides is not fully compatible\
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mingw32-make.exe[2]: *** [CMakeFiles/untitled1.dir/main.cpp.obj] Error 1
mingw32-make.exe[1]: *** [CMakeFiles/untitled1.dir/all] Error 2
CMakeFiles\untitled1.dir\build.make:71: recipe for target 'CMakeFiles/untitled1.dir/main.cpp.obj' failed
CMakeFiles\Makefile2:113: recipe for target 'CMakeFiles/untitled1.dir/all' failed
Makefile:89: recipe for target 'all' failed
mingw32-make.exe: *** [all] Error 2

#define _WIN32_WINNT 0x0602
#define WINVER 0x0602

made a pull request for this issue ;)


Switching to Schema deletes WIP query

I was working on a little test query and wanted to check something in the Schema. Switching between the tabs deletes the in-progress query, meaning I have to start over.
Could be considered obsolete once introspection is supported, which would allow usage of the Docs panel.

The Docs panel should already work. While introspection is not working, we manually pass the GraphQL schema to Graphi.

Earlier it didn't open, but it does now. Maybe we should then just remove the Schema tab? What's the use-case for having it?

The Schema tab is to read through the types and possible operations. I always find this helpful when working with APIs :D

I mean, that's what the Docs panel is for, isn't it? Only that it's easier to search for things due to being interactive.

ok got it. yeah then we could think about removing it in the future. For now it's still helpful as you can e.g. copy paste the schema into postman

Fixed 👍


[ipam] have a default for -iprange

In general, we don't know what IP address ranges are in use on the target, so we ask the user to pick a free range.
However, we could have a default, check whether that default is OK to use, and refuse to start if not.  The default might be <IP_ADDRESS>/16; this is fairly large and steers clear of ranges like 10.0.2 which are used by virtualbox.
We can use the same approach that Docker does to check if a range is in use: see if there is any routing rule on the host that intersects the range.
Having just a single default is better than having several and picking the first one that is free, because the latter approach can lead to inconsistent choices across hosts which are much harder to diagnose.

afaict virtualbox uses 10.0.2.
Would be good to have something larger than /16, but might be tricky to pick one that has a low probability of clashing.

After #675 is fixed, the requirement will be to pick both an overall range and a default subnet within that range.
Suggest <IP_ADDRESS>/8 and <IP_ADDRESS>/16, respectively.

After discussion, we should probably insist that -iprange is completely available for ipam to allocate within, so 10/8 not so good.  How about <IP_ADDRESS>/12 and <IP_ADDRESS>/16 ?

Do we need an option to turn ipam off (i.e. what used to happen if you didn't specify -iprange) ?


Unable to generate requests from a sdl schema

Describe the bug
Unable to generate requests from a sdl schema
To Reproduce
Steps to reproduce the behavior:
This schema is self contained, no extra document.
I use the typescript and typescript-graphql-request plugins
When I 'generate', it does generate code, but the getSdk function does not expose anything.
When I add the schema in the documents section, it complains 'Unable to find any GraphQL types...'
What am I missing?

My GraphQL schema:

schema {
    query: AllQueries
}

type AllQueries {
    fetchString: String
}

My GraphQL operations:

described in the schema

My codegen.yml config file:

schema: my_schema.graphql
generates:
  my_source_file.d.ts
    plugins:
       - typescript
       - typescript-graphql-request

Expected behavior
the generated file would expose a fetchString function
Environment:

OS: win10
@graphql-codegen/1.13.1:
NodeJS: 13.3.0

Additional context
I am just looking at generating a ts client that can call any of the queries and mutations exposed by the schema.
If I add documents: my_schema.graphql in the yaml, it complains about 'Unable to find any GraphQL type definitions...'

As described in documentation, you need to have documents.
https://graphql-code-generator.com/docs/plugins/typescript-graphql-request

Should I make this a feature request?
When using GraphiQL I'm able to invoke queries and mutations.
Yes the doc says so, but does not explain why
I don't understand the value of creating documents and keep them in sync with the schema received from the server.
What am I missing?

This is how GraphQL works. GraphQL Code Generator helps you to create typed code to be used in your project. It doesn't generate documents for you. You should write it by yourself to decide how many fields you want to fetch from that type etc.

Well that's very frustrating I'd say.
I want all fields to start with...
Do you know of another generator that addresses this simple need?

@ericvergnaud you can disagree, but GraphQL requires you to specify selection set and choose the fields. Asking for all fields is not type-safe, since it can change and break your consuming application.

@dotansimha actually not sure this has anything to do with the GraphQL spec, rather it has to do with how much the generator does for me.
Sure the GraphQL spec requires the query/mutation to be fully specified.
But having the generator create a query from an implicit document which returns all fields is precisely the kind of things you expect from a generator...

That's because you assume GraphQL Code Generator is one thing, while it's a different thing.
GraphQL Code Generator generates code based on GraphQL schema, and GraphQL operations.
The input for this codegen is your schema and operations, and the output is code.
The reason we are not generating operations for you is simple - it's something you should do manually, according to your frontend / consumer needs, and we can't guess or program that.

Appreciate GraphQL is not SOAP, but when code generators generate SOAP proxies they actually do generate such queries.
So not sure if a flag requesting auto generation of queries would not be in scope for this tool.

I see, but this is not a relevant development flow when using GraphQL.
And code generators for SOAP can generate what's relevant to a development flow of SOAP.
You can also say that about OData - you can choose fields, but you don't have to, and you can generate the list of fields - does that mean that GraphQL should do that as well? No. Because each library/product has it's own concepts and approach.
GraphQL has a different approach. Choosing fields is important, and has reasons for it (type-safety, separating selection sets based on consuming UI components, knowing exactly what you are going to get as response, manage caching on client-side, ability to have static analysis over the queries, ability to understand the clients usage of the API, and much more).
Also, GraphQL is a graph, that means that each type can link to itself or to others, and have circular dependencies. How would you handle that? it can be infinite.
There is a discussion about that, and we suggested a solution for it, if you insists on generating queries and selection, but at the moment this will not be part of this GraphQL Code Generator.

Not sure if there is only one 'relevant development flow when using GraphQL’ tbh…
If you’re developing simultaneously the server and the client, then it can be quite handy to auto-generate queries on the client side, assumption being that to start with you’re interesting in all the fields.
I don’t disagree that as your schema grows in sophistication this may become less relevant, but I don’t see how making this an option would hurt.

Le 31 mai 2020 à 20:07, Dotan Simha<EMAIL_ADDRESS>a écrit :
I see, but this is not a relevant development flow when using GraphQL.
And code generators for SOAP can generate what's relevant to a development flow of SOAP.
You can also say that about OData - you can choose fields, but you don't have to, and you can generate the list of fields - does that mean that GraphQL should do that as well? No. Because each library/product has it's own concepts and approach.
GraphQL has a different approach. Choosing fields is important, and has reasons for it (type-safety, separating selection sets based on consuming UI components, knowing exactly what you are going to get as response, manage caching on client-side, ability to have static analysis over the queries, ability to understand the clients usage of the API, and much more).
Also, GraphQL is a graph, that means that each type can link to itself or to others, and have circular dependencies. How would you handle that? it can be infinite.
There is a discussion about that, and we suggested a solution for it https://github.com/dotansimha/graphql-code-generator/discussions/2349#discussioncomment-15754, if you insists on generating queries and selection, but at the moment this will not be part of this GraphQL Code Generator.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/dotansimha/graphql-code-generator/issues/3698#issuecomment-636462307, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAZNQJFRVFAJYMAG7OCCWWDRUJCABANCNFSM4LR6RKPA.


SelectChoices are showing, but the selected one is not sticking (not visible) after selection

Here's my issue. Select choices are there, but when you choose one, the ui-select is left blank. Potentially important note: I'm using this inside an  directive (ui-bootstrap).
Plnkr: http://plnkr.co/edit/5nk4BnYoO52En7P6kPu9
My ui-select is as follows:
<ui-select search-enabled="true" ng-change="updateMedu()" style="width: 100%" ng-model="medications.chosenMedications.metadata.conceptGroup.conceptProperties">
    <ui-select-match placeholder="Please click to choose or start typing dosage value..">{{$item}}</ui-select-match>
    <ui-select-choices repeat="cp in medications.chosenMedications.metadata[key].conceptGroup[1].conceptProperties | filter: $select.search">
        {{cp.synonym}}
    </ui-select-choices>
</ui-select>

Note: The above "key" contained in metadata[key] is a key (index) of an outer/surrounding ngRepeat directive (not displayed here).
Note: I'm getting the below data through a service-factory. That being the case, I tested with below mock of the array and selected option didn't stick either.
Note: My model (and supplied array/object) for my ui-select directive is like this:
//        $scope.medications.chosenMedications.metadata = [
//        {
//            conceptGroup: [
//                {
//                    conceptProperties: [
//                        {synonym: "Item One"},
//                        {synonym: "Item Two"},
//                        {synonym: "Item Three"}
//                    ]
//                },
//                {
//                    conceptProperties: [
//                        {synonym: "Item A"},
//                        {synonym: "Item B"},
//                        {synonym: "Item C"}
//                    ]
//                }
//            ]
//        }
//        ] ;

Have same issue with "multiple" mode.

I have the same problem but works with "multiple" mode.
Any solutions ?

Closing as fixed - feel free to open a new issue if this is still a problem with reproduction based on the latest release.


Format XAxis with DateTime and milliseconds from List

ScottPlot <IP_ADDRESS>, C#
Hi everyone,
I found similar cases online but not my specific case.
I'm using SignalXY to draw an analog signal.
On the X axis I'm trying to have a DateTime in the format yyyy-MM-dd HH:mm:ss:fff
I populated the X axis array by reading a csv file and these are DateTime values precisely with milliseconds (with sampling approximately twice per second).
The question is: How can I format exisisting values in order to get the required format (yyyy-MM-dd HH:mm:ss:fff)?
I tried with:
formsPlot1.Plot.Axes.DateTimeTicksBottom();
formsPlot1.Plot.RenderManager.RenderStarting += (s, e) =>
{
     Tick[] ticks = formsPlot1.Plot.Axes.Bottom.TickGenerator.Ticks;
     for (int i = 0; i < ticks.Length; i++)
     {
         DateTime dt = DateTime.FromOADate(ticks[i].Position);
         string label = $"{dt:yyyy-MM-dd HH:mm:ss:fff}";
         ticks[i] = new Tick(ticks[i].Position, label);
     }
};

but without success (it replaces all the values with other different values).
I also read about a DateTimeFormat method but I believe it is strictly related to ScottPlot 4.1.
Bear with me but I haven't found any solution online
Thanks so much for the support.

Hi @gzelasco, it's a bit of a different strategy but what about plotting data not using DateTime ticks, just having the horizontal axis be milliseconds, then use a custom tick label formatter to convert those millisecond tick labels to DateTime tick labels? This can probably help https://scottplot.net/cookbook/5.0/CustomizingTicks/CustomTickFormatter/

Hi Scott, thank you again for the timeliness of your response, I wasn't that quick, I apologize.
I will try your suggestion in the next few days and will definitely let you know. Have a nice day

Hi Scott, sorry to bore you again.
I tried to follow your advice but I'm probably doing something wrong. This is my code so far:
I populate the XaxisValues array by converting the DateTime value to a double using ToOADate() :
double[] XaxisValues = filteredData.Select(x=> ManagerClass.ConvertSignalDateToDouble(x.DataOra)).ToArray();
Then I implemented and modified the example you provided like this :
string CustomFormatter(double milliseconds)
{
string dt = DateTime.FromOADate(milliseconds).ToString("yyyy-MM-dd HH:mm:ss.fff");
return dt;
}
ScottPlot.TickGenerators.NumericAutomatic myTickGenerator = new ScottPlot.TickGenerators.NumericAutomatic()
{
LabelFormatter = CustomFormatter
};
formsPlot1.Plot.Axes.Bottom.TickGenerator = myTickGenerator;
Unfortunately on the X axis I don't get the expected dates but other dates generated by the TickGenerator.
I'll give you an example:
The first date it should convert is 2024-02-14 <IP_ADDRESS>
Converted with ToOADate it becomes: 45336.750001956018
Instead this is the value passed to the CustomFormatter: 39999.999260000004
Which is converted (FromOADate) to: 2009-07-05 23:58:56.064
Where am I wrong?
Thanks so much as usual

Hi @gzelasco, I modified your original code slightly and it seems to work as expected. I hope this helps!

using ScottPlot;

DateTime start = DateTime.Now;

DateTime[] xs = Enumerable.Range(0, 100).Select(x => start.AddSeconds(x)).ToArray();
double[] ys = Generate.RandomWalk(xs.Length);

Plot plt = new();
plt.Add.Scatter(xs, ys);

plt.Axes.DateTimeTicksBottom();
plt.Axes.Bottom.TickLabelStyle.Rotation = -45;
plt.Axes.Bottom.TickLabelStyle.Alignment = Alignment.MiddleRight;
plt.Axes.Bottom.MinimumSize = 150;
plt.Axes.Left.MinimumSize = 50;

plt.RenderManager.RenderStarting += (s, e) =>
{
    Tick[] ticks = plt.Axes.Bottom.TickGenerator.Ticks;
    for (int i = 0; i < ticks.Length; i++)
    {
        DateTime dt = DateTime.FromOADate(ticks[i].Position);
        string label = $"{dt:yyyy-MM-dd HH:mm:ss:fff}";
        ticks[i] = new Tick(ticks[i].Position, label);
    }
};

plt.SavePng("test.png", 600, 500).LaunchFile();

Good morning Scott, thanks again for taking the time to answer me.
I tested your code but I continue to get the same values on the X-axis.
As I said, I retrieve the date and time from a binary file and convert to DateTime + ms in the format yyyy-MM-ss HH:mm:ss.fff.
For the test performed I get 109 DateTime values with relative milliseconds (I attach screenshots from debug mode) and the range goes from 2024-02-14 18:00:00.169 to 2024-02-14 18:00:59.618.
(files attached:
Original_range_starting_datetime.jpg
Original_range_ending_datetime.jpg)
As I reported previously, when the SignalXY chart is displayed, the 109 DateTime values are replaced with 14 other DateTime values ranging from:
2009-07-05 23:58:55 Position = 39999.999247685184
to 2009-07-06 00:00:00 Position= 40000
(file attached: Analog_signalXY.jpg)
It seems that the TickGenerator generates a new range apparently without taking into account the original one.
(files attached:
TickGenerator_starting_datetime.jpg
TickGenerator_ending_datetime.jpg)
Sorry to bore you once again but I really don't know how to solve it.
Thanks again for your availability and support.

It seems that the TickGenerator generates a new range apparently without taking into account the original one

Indeed, the code above uses the "automatic DateTime tick generator" to automatically generate tick positions and labels. If you want to manually define where ticks go, you can use the "numeric manual" tick generator. You can use ToOADate() and FromOADate() to convert between double and DateTime, and use a custom tick formatter to do that conversion and display the date format how you like.
https://scottplot.net/cookbook/5.0/CustomizingTicks/CustomTicks/
https://scottplot.net/cookbook/5.0/CustomizingTicks/CustomTickFormatter/
I think this is enough information to help you reach your goal, but if not let me know and we can look into it some more!

Good morning Scott, Thank you very very much, your support is continuous and flawless. I'll try the new tips as soon as possible. Have a nice day


trailing options are processed incorrectly

While playing with aptly I've passed an option as a last parameter and it got processed as a positional parameter:
root@ip-10-229-13-144:~/.aptly/public# aptly publish snapshot master1 -force-overwrite=true
Loading packages...
Generating metadata files and linking package files...
Finalizing metadata files...
Signing file 'Release' with gpg, please enter your passphrase when prompted:
Clearsigning file 'Release' with gpg, please enter your passphrase when prompted:

Snapshot master1 has been successfully published.
Please setup your webserver to serve directory '/root/.aptly/public' with autoindexing.
Now you can add following line to apt sources:
  deb http://your-server/-force-overwrite=true/ precise master
Don't forget to add your GPG key to apt with apt-key.

You can also use `aptly serve` to publish your repositories over HTTP quickly.
root@ip-10-229-13-144:~/.aptly/public# aptly publish list
Published repositories:
  * -force-overwrite=true/precise [amd64] publishes {master: [master1]: Snapshot from local repo [master]}
  * ./precise [amd64] publishes {master: [master]}

Another problem with this is I can't delete the new publish now:
root@ip-10-229-13-144:~/.aptly/public# aptly publish drop -- -force-overwrite=true/precise
ERROR: unable to remove: published repo with storage:prefix/distribution ./-force-overwrite=true/precise not found

@timurb aptly doesn't process flags in any place, only before arguments.
Second issue: you have prefix/distribution, so you should write it the appropriately:
aptly publish drop precise -force-overwrite=true

@smira my point is the execution should fail with error if you pass flag in inappropriate place

I'm not 100% sure about that, but that would require fixing flag library.


Border  image

How to use library to have a different color border for my picture?

you can creat a oval shap .xml and    as ImageViews`s backguond


Replace Mutex by using DashMap

Which issue does this PR close?

Closes #448.
By replacing Mutex with DashMap, the task execution efficiency improved a lot and its duration reduced from 3s to 1.5s in a high concurrency environment.
Rationale for this change

What changes are included in this PR?

Are there any user-facing changes?

Hi @andygrove and @avantgardnerio, could you help review this PR?


Is it possible to load UIViewController's into the segmentedcontroller's views?

Title says it all.
Thanks!

MXSegmentedPagerControllerDataSource says it all!

Hmm, Im not sure if I can use this method. I'm using a UIViewController with a property of a segmentedPager this way I can position it in the place I need it on the screen along with using a navigation bar on top. So I don't think I can subclass the segmentedPagerController.

The solution would be to add controllers as childViewController and return the UIViewController.view to the MXSegmentedPagerDataSource. You can have a look at the MXSegmentedPagerController.m.

Sweet, Thanks that worked except I'm having the same issue that I had with a previous "Page View Controller" which is why I am trying this one now.
The view I am loading into one of these pages will have a searchViewController and whenever I touch the search bar, the view basically disappears somewhere.
Any reason why this would happen??
Thanks!


Implement a WebAssembly content policy in the server.

This PR implements a content policy in the server that incrementally validates that content uploaded to the server is valid WebAssembly.
Currently the policy is not exposed via the CLI, but the integration tests use the policy to expect that all content should be WebAssembly.
We may want to expose enabling some policies via the CLI in the future, but for now this should allow for consumers of the warg-server crate to enable policies for custom server implementations.

I think there will need to be more work in the future to generalize kinds of policies and where they hook in, but that doesn't need to be part of this PR.
LGTM other than one remaining comment.


FluentFTP throws 'Object reference not set to an instance of an object' when downloading a file already on disk

FTP OS: Unix / Windows / Embedded
FTP Server: Pure-FTPd / DrFTPD / Vsftpd / ProFTPD / Vax / VMS / OpenVMS / Tandem / HP NonStop Guardian / IBM OS400 / AS400 / Windows CE
Computer OS: ?
Windows
FluentFTP Version: ?
32.4.0
When downloading a file using the DownloadFileAsync method, it throws an Object reference not set to an instance of an object error when the file with the same name already exists on disk.
Maybe it's a lot cleaner to check if file already exists and throw an usefull error message?

What inputs are you passing to DownloadFile? It has an option for
overwriting the file I think.
On Fri, May 15, 2020, 2:44 PM Ruben Huisman<EMAIL_ADDRESS>wrote:

FTP OS: Unix / Windows / Embedded
FTP Server: Pure-FTPd / DrFTPD / Vsftpd / ProFTPD / Vax / VMS / OpenVMS
/ Tandem / HP NonStop Guardian / IBM OS400 / AS400 / Windows CE
Computer OS: ?
Windows
FluentFTP Version: ?
32.4.0
<write details about your bug report / feature request here>
When downloading a file using the DownloadFileAsync method, it throws an Object
reference not set to an instance of an object error when the file with
the same name already on disk.
Maybe it's a lot cleaner to check if file already exists and throw an
usefull error message?
Logs :

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/robinrodricks/FluentFTP/issues/578, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABT3UKVGAVLQ3H4TVADKWJLRRUBYLANCNFSM4NBM5ROA
.

You are right, another case of RTFM. Thanks! Issue can be closed.


Enable machine parsable output with --format json

Enable --format json for all gcloud commands to enable machine parsable output
Resolves #280

Changes in output-parser.ts are trying to enable existing text parsing functionality. This could probably be made better by adding a tag_url output parameter, but would alter existing functionality.


VSCode uses all the cpu and ram

Since the last update, when I launch VSCode it eats all the esources of my PC. In this screenshot it is using 99% of the CPU and 34% ot the RAM, but sometimes it is even 70%.
This happens when I open a big project (Babel), but not with small projects.

VSCode Version: 1.26.0
OS Version: Ubuntu 18.04.1

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

I don't have this problem anymore with version 1.26.1.
People who :+1:ed, can you confirm?

Can confirm, permanently 100% CPU split across several Code.exe processes 1.26.1, no files open in editor (but "project" folder open in explorer). Have disabled all extensions. Tried both 32 and 64 bit versions.

I have same issue on Ubuntu with version 1.26.1. Code bootstrap is eating all my ram and causes my computer to thrash. It starts as soon as I open a specific project which the folder is 6GB in size. In the image bellow I didn't wait for my laptop to thrash, but the memory usage just keeps going up and doesn't stop.

Can you follow this wiki and post the results back here to understand more about why performance is so bad for you: https://github.com/Microsoft/vscode/wiki/Performance-Issues
Thanks!

@bpasero after disabling & enabling the extensions I can't reproduce the issue to the extent that I experienced RAM usage. Do you still want me to just click the report button?

@graph if you think this is caused by the C++ extension then I suggest to report this issue to them.

I'm just providing info. VS Code has been running fine all week for me. I guess reenabling the extensions reset something. It sounds like it's too hard to reproduce. I'm fine if you close this issue for difficulty of reproducing lol.


Fixed Issue #506

Pull Request Template

Please provide all of the details below. Pull requests missing any of the information below will be closed!
Providing the issue number/url helps us identify the problem being solved and keep the issues tab clean and tidy

Summarize what this PR fixes:-
The links in footer section we're broken . They referred to separate pages instead of sections, except for contact us.
Fixes #506
Checklist
(Add an x between the brackets to check the items)

[ x] I have summarize what this PR fixes above
[ x] I have provided the issue ID/URL above
[x ] I have not added Bootstrap or jQuery and used correct styling guide.
[ x] This PR fixes only the issue mentioned above (create separate PRs for separate issues)
[ x] I was the first one to claim the issue or I created the issue - I created the issue

This works, I think the id's are broken though. Maybe another pr fixing the id's of the sections?


Ref data purge failing due to missing value store meta entries

Seeing errors like this on v7.0.30
stroom.pipeline.refdata.store.offheapstore.RefDataOffHeapStore" errors
Message: "Failed purge of refStreamDefinition with Stream 12345 (0 maps deleted, 0 values deleted, 0 values de-referenced):
Expected to find entry for Cap: 10, pos: 0, lim:10, rem: 20, val..........

Fixed in v7.0.31.  Was already fix in 7.2.


Add monasca QA scenarios

8a - with 3 nodes HA cluster (cloud with 7 nodes)
8b - 2 nodes HA cluster with ceph cluster (cloud with 8 nodes)
both no-ssl and ssl-insecure scenarios

@vmoravec
Can this be merged meanwhile? Or why is this still marked as do-not-merge-yet?

Let me rebase it and it should be ready to merge.


Mousewheel as Pan

Is it possible to cause the Mousewheel to be either X/Y Pan?

you would have to add a custom recognizer / input to make this work. If you use jQuery checkout the jQuery mousewheel plugin https://github.com/jquery/jquery-mousewheel


Fix conversion of observation time to UTC

Since date_obj doesn't contain a time zone (see below), the astimezone method assumes local time, so it subtracts the local offset when converting to UTC. The fix just updates the tzinfo property to UTC.
    def utc_from_datetimestring(self, datestring: str) -> dt.datetime:
        """Return a UTC time from a datetime string."""
        date_obj = dt.datetime.strptime(f"{datestring}", "%Y-%m-%d %H:%M")
        return date_obj.astimezone(UTC)

Perfect. Thanks.


Crash in QuickContacts sample at AddressBook.ABPerson.FirstName in iOS 8

Hi. I have been experiencing a crash in my app when I select a contact from the address book in the simulator. I’m getting a similar crash when I use the QuickContacts sample (http://developer.xamarin.com/samples/monotouch/ios8/QuickContacts/). These are the steps after starting the QuickContacts app in the simulator:

Select Display Picker
Select John Appleseed
Select the first mobile number
The app crashes with the stack trace below

Has anyone else experienced a similar problem? It there a workaround? Any help would be much appreciated.
This is my Xamarin setup:
Xamarin Studio
Version 5.9.3 (build 1)
Runtime:
Mono 4.0.1 ((detached/ed1d3ec)
GTK+ 2.24.23 (Raleigh theme)
Package version: 400010044

Apple Developer Tools
Xcode 6.3.2 (7718)
Build 6D2105
Xamarin.iOS
Version: <IP_ADDRESS> (Indie Edition)
Hash: e6ebd18
Branch: master
Build date: 2015-05-21 21:55:09-0400
Stack Trace:
2015-06-04 13:30:50.664 QuickContacts[1322:44259] critical: Stacktrace:
2015-06-04 13:30:50.664 QuickContacts[1322:44259] critical:   at  <0xffffffff>
2015-06-04 13:30:50.664 QuickContacts[1322:44259] critical:   at (wrapper managed-to-native) AddressBook.ABRecord.ABRecordCopyValue (intptr,int) <IL 0x0002e, 0xffffffff>
2015-06-04 13:30:50.686 QuickContacts[1322:44259] critical:   at AddressBook.ABRecord.CopyValue (int) [0x00000] in /Users/builder/data/lanes/1503/e6ebd18b/source/maccore/src/AddressBook/ABRecord.cs:190
2015-06-04 13:30:50.687 QuickContacts[1322:44259] critical:   at AddressBook.ABRecord.PropertyToString (int) [0x00000] in /Users/builder/data/lanes/1503/e6ebd18b/source/maccore/src/AddressBook/ABRecord.cs:214
2015-06-04 13:30:50.687 QuickContacts[1322:44259] critical:   at AddressBook.ABPerson.get_FirstName () [0x00000] in /Users/builder/data/lanes/1503/e6ebd18b/source/maccore/src/AddressBook/ABPerson.cs:709
2015-06-04 13:30:50.687 QuickContacts[1322:44259] critical:   at QuickContacts.QuickContactsViewController.HandlePerformAction2 (object,AddressBookUI.ABPeoplePickerPerformAction2EventArgs) [0x00007] in /Users/MChipeta/Downloads/QuickContacts/QuickContacts/QuickContactsViewController.cs:220
2015-06-04 13:30:50.688 QuickContacts[1322:44259] critical:   at AddressBookUI.ABPeoplePickerNavigationController.OnPerformAction2 (AddressBookUI.ABPeoplePickerPerformAction2EventArgs) [0x00012] in /Users/builder/data/lanes/1503/e6ebd18b/source/maccore/src/AddressBookUI/ABPeoplePickerNavigationController.cs:232
2015-06-04 13:30:50.688 QuickContacts[1322:44259] critical:   at AddressBookUI.InternalABPeoplePickerNavigationControllerDelegate.DidSelectPerson (AddressBookUI.ABPeoplePickerNavigationController,AddressBook.ABPerson,int,int) [0x0002e] in /Users/builder/data/lanes/1503/e6ebd18b/source/maccore/src/AddressBookUI/ABPeoplePickerNavigationController.cs:128
2015-06-04 13:30:50.688 QuickContacts[1322:44259] critical:   at (wrapper runtime-invoke) .runtime_invoke_void__this___object_object_int_int (object,intptr,intptr,intptr) <IL 0x00082, 0xffffffff>
2015-06-04 13:30:50.688 QuickContacts[1322:44259] critical:   at  <0xffffffff>
2015-06-04 13:30:50.689 QuickContacts[1322:44259] critical:   at (wrapper managed-to-native) UIKit.UIApplication.UIApplicationMain (int,string[],intptr,intptr) <IL 0x000ae, 0xffffffff>
2015-06-04 13:30:50.690 QuickContacts[1322:44259] critical:   at UIKit.UIApplication.Main (string[],intptr,intptr) [0x00005] in /Users/builder/data/lanes/1503/e6ebd18b/source/maccore/src/UIKit/UIApplication.cs:63
2015-06-04 13:30:50.690 QuickContacts[1322:44259] critical:   at UIKit.UIApplication.Main (string[],string,string) [0x00038] in /Users/builder/data/lanes/1503/e6ebd18b/source/maccore/src/UIKit/UIApplication.cs:47
2015-06-04 13:30:50.690 QuickContacts[1322:44259] critical:   at QuickContacts.Application.Main (string[]) [0x00008] in /Users/MChipeta/Downloads/QuickContacts/QuickContacts/Main.cs:17
2015-06-04 13:30:50.690 QuickContacts[1322:44259] critical:   at (wrapper runtime-invoke) .runtime_invoke_void_object (object,intptr,intptr,intptr) <IL 0x00060, 0xffffffff>
2015-06-04 13:30:50.691 QuickContacts[1322:44259] critical:
Native stacktrace:
2015-06-04 13:30:50.691 QuickContacts[1322:44259] critical:
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.

This is a Xamarin.iOS bug: https://bugzilla.xamarin.com/show_bug.cgi?id=28739

Thanks for the update. Do you have an ETA for Xamarin.iOS 8.11?

This will be included in Xamarin.iOS 8.10.2, which should come out in 2-3 weeks.

Okay, many thanks. I'm looking forward to it.


Java,PHP: Adding reroute_to_grpc_interface for Pubsub IAM hack

See https://github.com/googleapis/googleapis/pull/97 for how Pub/Sub will be configured once all languages have this hack implemented.

Current coverage is 81.36% (diff: 95.00%)

Merging #409 into master will decrease coverage by 0.06%

@@             master       #409   diff @@
==========================================
  Files           183        184     +1
  Lines          6896       6863    -33
  Methods           0          0
  Messages          0          0
  Branches        892        886     -6
==========================================
- Hits           5615       5584    -31
+ Misses         1014       1011     -3
- Partials        267        268     +1

Powered by Codecov. Last update 3cba696...8a15ab2

Travis failure fixed. PTAL.

This has now been rewritten to not require any changes to pubsub.proto or pubsub.yaml. PTAL.

Comments addressed, PTAL

LGTM