Allow 10Gb for test runs in Cirrus.

This promises to be an ultra-simple fix for our latest CI problems,
as noted here
Wellll, a sufficient stop-gap anyway.
It could well still be the right time to adopt #4503

Following previous musings + information https://github.com/SciTools/iris/pull/4794#issuecomment-1154032367
@lbdreyer suggested that you can see, on the Cirrus memory graphs, that memory usage has increased.
With cirrus.yml, this is hitherto configured at 4Gb, but increased to 8Gb for the test run specifically.
It seems that we get tasks cancelled when it goes over 8Gb.
Numbers look roughly like this ...

PR
date
peak memory / Gb
tests passing?

#4727
200022-06-06 11:51
6.14
:heavy_check_mark:

#4783
200022-06-06 12:23
6.19
:heavy_check_mark:

#4782
200022-06-06 13:25
6.89
:heavy_check_mark:

#4784
200022-06-06 17:40
6.71
:heavy_check_mark:

#4778
200022-06-07 17:40
7.02
:heavy_check_mark:

#4785
200022-06-08 13:35
6.27
:heavy_check_mark:

#4792
200022-06-10 16:50
8.00
:x:

#4794
200022-06-13 14:21
8.00
:x:

Exactly why the memory usage should have notably increased is unclear.
But according to tests performed with https://github.com/SciTools/iris/pull/4790, it is not due to code or lockfile changes.

a spike?

Well now I added a few older ones to the table.
It really looks like a growing trend.
And, as I said, with #4790 the problem was observed on a re-spin, even with all the same lockfiles + base code.
I will try re-spinning the oldest one from the above list with a lowest memory burden (#4600, previously had 5.81 Mb) ...

I will try re-spinning the oldest one from the above list with a lowest memory burden (#4600, previously had 5.81 Mb) ...

Here's a screenshot of the original tests run against #4600, (since I think a re-spin will destroy this info).

According to @https://github.com/SciTools/iris-test-data/releases, this footprint continues to bloat.
Just a fact, not necessarily a smoking gun.

As an aside, I see that the benchmarking use of our test data is behind the curve... still on 2.5 rather than latest offering of 2.9.
Not that it should matter here.

It seems that the magic of asking for 10Gb has maybe triggered another difficulty.
Tests were a bit slow to start, but now running ~50mins, apparently in "run tests" step but still not finished and no output visible ??

asking for 10Gb has maybe triggered another difficulty.

I'm going to cancel + respin it ...

Doctest memory also exploded at #4796 and #4797.

@pp-mo I'm going to cancel + respin it ...
@rcomer  Doctest memory also exploded at #4796 and #4797.

Ok, the tests did now run (but only on second try ??)
But the doctests blew their 4Gb limit.
There is definitely something going on here.  Possibly it's their platform?

I know this is still a kluge, https://github.com/SciTools/iris/pull/4800/commits/3941fe3566e0e6cdec044f2c306ad631849a4147, but a temporary quick win might still be worth it, right now.

An observation: tests in this PR seem to be running with 32 workers which seems rather a lot.  In #4503 GHA version, it's only 2 workers.

An observation: tests in this PR seem to be running with 32 workers which seems rather a lot. In #4503 GHA version, it's only 2 workers.

FYI, I think we are not proceeding with this. Hoping to go with #4503 instead now.

Yep, It's just nice to have an explanation.  #4767 only used 15 workers, so maybe they have been creeping up for some reason.

Closed by #4503


Looking for maintainers

Unfortunately the current maintainers of this project have moved on to other things and don't really have time to maintain this anymore.
It's a great resource used by lots of people and I'm happy to transfer this to a new home.
@svenlombaert I know you guys are using this over at @getdelta and expressed interest in maintaining this before (https://github.com/atomiclabs/cryptocurrency-icons/issues/136#issuecomment-396166974). Is that still the case?
If anyone else is interested in maintaining this leave a comment.

We moved to our own source of icons, so not really interested anymore. Thanks for asking though!

Pinging @carsenk @nedsteeg @imnotadeveloper.

We don't currently accept contributions for icons as the process for creating them is a bit complicated.

If there are some kind of instructions of the process of the creation the icons, I would love to help out. Please see MAINTAINING.md

@Paulsky There are no official instructions but here is the source file: https://github.com/atomiclabs/cryptocurrency-icons/issues/136#issuecomment-397694533
Any new icons should obviously follow the same style as existing icons but we don't have specific guidelines for this.

Hello @lukechilds, as expressed, we’ve been using your icons in our app Spot spot-bitcoin.com since the beginning and we would love to continue your work!

@tommdn Do you have a GitHub organisation for Spot I can transfer it to?

@lukechilds you can transfer it here: spothq. Thanks!

@tommdn will do.
You need to delete your fork before it'll let me transfer it over to you.

@lukechilds done.

@tommdn hmmn, I think you need to add me to @spothq for me to be able to transfer, I'm getting:

You don’t have the permission to create public repositories on spothq

@lukechilds just added you, let me know!

@tommdn done!
Thanks so much, I trust you'll take care of it well!


Linux arm64 builds

Would you be open to adding a linux arm64 build to pypi? As far as I can see it should be possible via cibuildwheel.
In my usecase, it would be handy as I'm running linux docker containers on macos.
Many thanks for a great project!

Hi @benhowes,
Thank you for your suggestion. I'm open to the idea of providing Linux ARM64 wheels, provided it's technically feasible. However, implementing this on GitHub runners might require some additional steps. If you already have a solution in mind, I welcome you to submit a pull request. Otherwise, I'll try to explore this soon.


(DESIGN) Complete OrcaHello UI/API Development and Deployment

Spec out and create mock ups for the Summary page (this is UI team task)
Create pages, components, code-behind, and unit tests for Summary page after mocked up
Update YAML to deploy web site and API from the new OrcaHello solution
Modify data schema to make it v2 compatible (this is a data team task)
Run data migration to convert existing data to v2 schema (the code for this has already been written)
Verify external hydrophone site has all the new hydrophones
Update READMEs to reflect new environment and changes made

Mike here's a pointer into the orcasite API and data schemes -- https://github.com/orcasound/orcasite/wiki/Administration-guide#how-to-play-in-the-graphical-playground

@micowan Are you available for a zoom or teams call to discuss this issue?  We have volunteers and want to make progress.

@micowan what is left before closing this issue as completed?

Closing per discussion between @micowan and myself.  Instead will track via #202 and #203 separately.


Display geographic information

Requires good examples.

There should already be a working (simple) map view when a single coordinate is given via concept.location.coordinates, but as mentioned, we need some examples.

Example https://uri.gbv.de/terminology/test/21994501-b31d-4bef-bdad-da11cce4c7e8
jskos-proxy needs to explicitly ask dante API for location property:
https://api.dante.gbv.de/data?uri=https://uri.gbv.de/terminology/test/21994501-b31d-4bef-bdad-da11cce4c7e8&properties=location

Now implemented in Dev. Two issues:

If only a point is given, the zoom level is extremely small, see for example: https://coli-conc.gbv.de/terminology/ikmk_ort/?uri=https%3A%2F%2Fikmk.smb.museum%2Fndp%2Fort%2F104 However, how can we determine an appropriate zoom level?
For the given example, the field location is, for some reason, not loaded: https://coli-conc.gbv.de/terminology/test/21994501-b31d-4bef-bdad-da11cce4c7e8 This should be a DANTE issue: https://api.dante.gbv.de/voc/top?properties=+location&uri=http:%2F%2Furi.gbv.de%2Fterminology%2Ftest%2F

The field location is not loaded in the example, because the example is from testpool and there is a special situation with different masks. This behaviour is different in "real" / "prod" - Pools.
Use for example: https://api.dante.gbv.de/voc/top?uri=http:%2F%2Furi.gbv.de%2Fterminology%2Fprizepapers_place%2F&cache=false&properties=+location&limit=50

Zoom: in our plugins we use zoom level 15 for points. For polygons so far into the bounds that there is still a bit of edge everywhere..

I've set the default zoom level to 15 for Points. For many examples, it still seems way too far zoomed in though.
Other than that, all GeoJSON data supported by Leaflet should work now. Other than the example from the test pool that does not load the location field, do we have examples for other location types than Point?
Also, can we expect there to be always one element in location, and if not, can you provide examples when there are multiples? Currently, it should show multiple maps, but it would be better to show all data in one map.

Here a polygon-example: https://api.dante.gbv.de/data?uri=https://uri.gbv.de/terminology/prizepapers_place/ebf8ca1f-2218-4cf4-9d8c-ec545dd1b450&properties=+location
LineString is also allowed in DANTE, but used very rarely. multiple geoJSONs are also possible, but probably not used anywhere.

No information comes from DANTE as to what type of place it is. Theoretically we have fields “geonames-Type” and “gnd-place-type”, but nobody uses them. I think the only option would be to use a geocoding service. Reverse.
You could try: https://nominatim.openstreetmap.org/ui/reverse.html?lat=42.33665&lon=13.49121&zoom=18

Even then it would be basically impossible to say whether a certain coordinate is meant to show the whole city or just one specific building in the center of the city. I guess I'll leave it at that for now.


Fix incorrect VIP in Sniper

Short Description:
Fixes incorrect identification of a vip in Sniper
Fixes/Resolves/Closes (please use correct syntax):

#5556

Very minor change, merging.


I'd like to present my solutions and discuss with the course!

Repository
mobi-fs5-python
Access rights

[X] I hereby confirm that the supervisors can access my GitHub repository.

Git commit and push

[X] I hereby confirm that I have committed and pushed to my GitHub repository.

Lab session
Lab Session 1
Additional context for the comments
Task 1

Thanks!


The process cannot access the file 'bin\Debug\MyAssembly.pdb' because it is being used by another process.

Hi.
Thank you for ILMerge.MSBuild.Task.
When I try to build my assembly and there's a missing (indirect) assembly reference, I get the following error:
1>C:\MyAssembly\packages\ILMerge.MSBuild.Task.1.0.5\build\ILMerge.MSBuild.Task.targets(13,5): error : Unresolved assembly reference not allowed: MyMissingReference.

After I add the missing reference and rebuild, I get an unexpected error:
1>C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(3863,5): error MSB3027: Could not copy "obj\Debug\MyAssembly.pdb" to "bin\Debug\MyAssembly.pdb". Exceeded retry count of 10. Failed.
1>C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(3863,5): error MSB3021: Unable to copy file "obj\Debug\MyAssembly.pdb" to "bin\Debug\MyAssembly.pdb". The process cannot access the file 'bin\Debug\MyAssembly.pdb' because it is being used by another process.

The issue is that a file handle to bin\Debug\MyAssembly.pdb is left open after the first build error.
As a work-around, I have to close Visual Studio, re-open the solution, and rebuild again.
Thank you.

The same thing happens after this error:
1>C:\MyAssembly\packages\ILMerge.MSBuild.Task.1.0.5\build\ILMerge.MSBuild.Task.targets(13,5): error : ILMerge.Merge: ERROR!!: Duplicate type 'MyOtherType' found in assembly 'MyOtherAssembly'. Do you want to use the /allowDup option?

This appears to be same issues described in here #16 where ILMerge's target is trying to override Visual Studio's output. If you want ILMerge to also produce a pdb file your best bet is to output to a different folder. This can be achieved through the #configuration file.


TypeScript validation check failed. Resolution: Fix the syntax and type errors in your backend definition.

Environment information
System:
  OS: macOS 14.4.1
  CPU: (10) arm64 Apple M1 Max
  Memory: 24.03 GB / 64.00 GB
  Shell: /bin/zsh
Binaries:
  Node: 21.7.3 - ~/.nodebrew/current/bin/node
  Yarn: undefined - undefined
  npm: 10.5.0 - ~/.nodebrew/current/bin/npm
  pnpm: undefined - undefined
NPM Packages:
  @aws-amplify/backend: 1.0.0
  @aws-amplify/backend-cli: 1.0.1
  aws-amplify: 6.2.0
  aws-cdk: 2.140.0
  aws-cdk-lib: 2.140.0
  typescript: 5.4.5
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!                                                                                !!
!!  This software has not been tested with node v21.7.3.                                                                !!
!!  Should you encounter odd runtime issues, please try using one of the supported release before filing a bug report.  !!
!!                                                                                !!
!!  This software is currently running on node v21.7.3.                                                                 !!
!!    This warning can be silenced by setting the JSII_SILENCE_WARNING_UNTESTED_NODE_VERSION environment variable.        !!
!!                                                                                !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
AWS environment variables:
  AWS_STS_REGIONAL_ENDPOINTS = regional
  AWS_NODEJS_CONNECTION_REUSE_ENABLED = 1
  AWS_SDK_LOAD_CONFIG = 1
No CDK environment variables

Description
Documents

My VS Code

Sandbox Error

[Sandbox] Triggered due to a file update event: /Users/asanobm/workspace/fleeklounge/fleeklounge-influencer-commerce/amplify/data/resource.ts

amplify/data/models/Bank.ts(43,18): error TS2345: Argument of type 'any[]' is not assignable to parameter of type '(allow: Omit<{ readonly publicApiKey: () => Authorization<"public", undefined, false> & { to: <SELF extends Authorization<any, any, any>>(this: SELF, operations: ("create" | "update" | "delete" | "read" | ... 4 more ... | "search")[]) => Omit<...>; }; ... 10 more ...; readonly resource: (fn: DefineFunction) => Resou...'.
amplify/data/models/Bank.ts(43,21): error TS2339: Property 'allow' does not exist on type 'typeof import("/Users/asanobm/workspace/fleeklounge/fleeklounge-influencer-commerce/node_modules/@aws-amplify/data-schema/dist/esm/a")'.
amplify/data/models/Brand.ts(129,14): error TS2554: Expected 2 arguments, but got 1.
amplify/data/models/Brand.ts(138,18): error TS2345: Argument of type 'any[]' is not assignable to parameter of type '(allow: Omit<{ readonly publicApiKey: () => Authorization<"public", undefined, false> & { to: <SELF extends Authorization<any, any, any>>(this: SELF, operations: ("create" | "update" | "delete" | "read" | ... 4 more ... | "search")[]) => Omit<...>; }; ... 10 more ...; readonly resource: (fn: DefineFunction) => Resou...'.
  Type 'any[]' provides no match for the signature '(allow: Omit<{ readonly publicApiKey: () => Authorization<"public", undefined, false> & { to: <SELF extends Authorization<any, any, any>>(this: SELF, operations: ("create" | "update" | "delete" | "read" | ... 4 more ... | "search")[]) => Omit<...>; }; ... 10 more ...; readonly resource: (fn: DefineFunction) => ResourceAuthorization & { ...; }; }, "resource">): Authorization<...> | Authorization<...>[]'.
amplify/data/models/Brand.ts(138,21): error TS2339: Property 'allow' does not exist on type 'typeof import("/Users/asanobm/workspace/fleeklounge/fleeklounge-influencer-commerce/node_modules/@aws-amplify/data-schema/dist/esm/a")'.
amplify/data/models/Brand.ts(138,38): error TS2339: Property 'allow' does not exist on type 'typeof import("/Users/asanobm/workspace/fleeklounge/fleeklounge-influencer-commerce/node_modules/@aws-amplify/data-schema/dist/esm/a")'.
amplify/data/models/Good.ts(36,14): error TS2554: Expected 2 arguments, but got 1.
amplify/data/models/Good.ts(49,18): error TS2345: Argument of type 'any[]' is not assignable to parameter of type '(allow: Omit<{ readonly publicApiKey: () => Authorization<"public", undefined, false> & { to: <SELF extends Authorization<any, any, any>>(this: SELF, operations: ("create" | "update" | "delete" | "read" | ... 4 more ... | "search")[]) => Omit<...>; }; ... 10 more ...; readonly resource: (fn: DefineFunction) => Resou...'.
amplify/data/models/Good.ts(49,21): error TS2339: Property 'allow' does not exist on type 'typeof import("/Users/asanobm/workspace/fleeklounge/fleeklounge-influencer-commerce/node_modules/@aws-amplify/data-schema/dist/esm/a")'.
amplify/data/models/Good.ts(49,38): error TS2339: Property 'allow' does not exist on type 'typeof import("/Users/asanobm/workspace/fleeklounge/fleeklounge-influencer-commerce/node_modules/@aws-amplify/data-schema/dist/esm/a")'.
amplify/data/models/User.ts(27,18): error TS2345: Argument of type 'any[]' is not assignable to parameter of type '(allow: Omit<{ readonly publicApiKey: () => Authorization<"public", undefined, false> & { to: <SELF extends Authorization<any, any, any>>(this: SELF, operations: ("create" | "update" | "delete" | "read" | ... 4 more ... | "search")[]) => Omit<...>; }; ... 10 more ...; readonly resource: (fn: DefineFunction) => Resou...'.
amplify/data/models/User.ts(27,21): error TS2339: Property 'allow' does not exist on type 'typeof import("/Users/asanobm/workspace/fleeklounge/fleeklounge-influencer-commerce/node_modules/@aws-amplify/data-schema/dist/esm/a")'.
amplify/data/models/User.ts(27,38): error TS2339: Property 'allow' does not exist on type 'typeof import("/Users/asanobm/workspace/fleeklounge/fleeklounge-influencer-commerce/node_modules/@aws-amplify/data-schema/dist/esm/a")'.
amplify/data/resource.ts(25,20): error TS2345: Argument of type 'any[]' is not assignable to parameter of type '(allow: Omit<{ readonly publicApiKey: () => Authorization<"public", undefined, false> & { to: <SELF extends Authorization<any, any, any>>(this: SELF, operations: ("create" | "update" | "delete" | "read" | ... 4 more ... | "search")[]) => Omit<...>; }; ... 10 more ...; readonly resource: (fn: DefineFunction) => Resou...'.
  Type 'any[]' provides no match for the signature '(allow: Omit<{ readonly publicApiKey: () => Authorization<"public", undefined, false> & { to: <SELF extends Authorization<any, any, any>>(this: SELF, operations: ("create" | "update" | "delete" | "read" | ... 4 more ... | "search")[]) => Omit<...>; }; ... 10 more ...; readonly resource: (fn: DefineFunction) => ResourceAuthorization & { ...; }; }, "resource">): Authorization<...> | Authorization<...>[]'.
amplify/data/resource.ts(25,23): error TS2339: Property 'allow' does not exist on type 'typeof import("/Users/asanobm/workspace/fleeklounge/fleeklounge-influencer-commerce/node_modules/@aws-amplify/data-schema/dist/esm/a")'.
TypeScript validation check failed.
Resolution: Fix the syntax and type errors in your backend definition.

how to fix this?

const schema = a.schema({
  Todo: a
    .model({
      content: a.string(),
    })
    .authorization((allow) => [allow.publicApiKey()]), // << haha...
});

export type Schema = ClientSchema<typeof schema>;

export const data = defineData({
  schema,
  authorizationModes: {
    defaultAuthorizationMode: "userPool",
    apiKeyAuthorizationMode: {
      expiresInDays: 30,
    },
  },
});


Clean Tests

Why do we need to rebuild tests from one style to another?

I don't think this is needed.


How to use react-router with SSR and streaming of react components using expressjs?

Hi,
I have a react application with SSR and streaming using express js. I am just just trying to use react-router in my application.  Can someone help me on this?
Thanks in advance.

Version
4.0.0
Test Case
https://codepen.io/ReactJSTraining/pen/jyYjeW
Steps to reproduce
Expected Behavior
Actual Behavior

This is a bug tracker, not a support system. For usage questions, please use Stack Overflow or Reactiflux. Thanks!


Consider switching to another DB connection pool library

BoneCP is quite old. Should take a look modern implementations:

https://github.com/brettwooldridge/HikariCP

We might want to consider conman, which builds on hikari-cp (a Clojure wrapper for HikariCP) and HugSQL. HugSQL is very similar to Yesql, which we're using at the moment, but claims to implement some improvements.


ImportError in latest version

I believe there is an error in the latest version. I got this after installing and importing pepagent:
pephub-server-1  |   File "/usr/local/lib/python3.8/site-packages/pepagent/pepagent.py", line 9, in <module>
pephub-server-1  |     from exceptions import *
pephub-server-1  | ModuleNotFoundError: No module named 'exceptions'

I believe it needs to be from .exceptions import *. (Note the dot)

Done!


Definition of concept set endpoints.

The conceptSet endpoints are basically the same as the cohort endpoints, with an additional entity parameter. For cohorts, the entity is always the primary entity, so there's no need for the caller to specify it. For concept sets, it can be any entity related to the primary entity (e.g. condition_occurrence).
This PR does not include the endpoints implementation, plan to tackle that in a separate PR.

RE concept sets vs cohorts: Makes sense. Changed concept sets to only have a single Criteria instead of a CriteriaGroup like cohorts.
RE naming: I'm on board with renaming this, among other things. But it's not much work to rename the backend and generated classes, so I'd rather not gate this PR on that decision, and just handle renaming separately.


Check for empty predictions in DetLocalVisualizer._draw_instances

Thanks for your contribution and we appreciate it a lot. The following instructions would make your pull request more healthy and more easily get feedback. If you do not understand some items, don't worry, just make the pull request and seek help from maintainers.
Motivation
Fixes #8771, where ValueError throws when there are no predictions

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Hi @levan92 ,
Thanks for your kind contribution. Would you like to fix the lint issue so that we could merge this PR?
The details can be found by clicking the item of lint check as shown below

continued in https://github.com/open-mmlab/mmdetection/pull/8830

Hi @levan92 ！We are grateful for your efforts in helping improve this open-source project during your personal time.
Welcome to join OpenMMLab Special Interest Group (SIG) private channel on Discord, where you can share your experiences, ideas, and build connections with like-minded peers. To join the SIG channel, simply message moderator— OpenMMLab on Discord or briefly share your open-source contributions in the #introductions channel and we will assist you. Look forward to seeing you there! Join us ：https://discord.gg/UjgXkPWNqA
If you have a WeChat account，welcome to join our community on WeChat. You can add our assistant ：openmmlabwx. Please add "mmsig + Github ID" as a remark when adding friends：）
Thank you again for your contribution❤


Possible fix for Google+ count

Hi, one of my users is reporting getting a 403 on the google+ share.
So I did some investigation and found that the following works to get the google+ share count.
please note: this is php. Maybe a goog starting point to get Google+ fixed?
the count url is the following: https://apis.google.com/u/0/se/0/_/+1/sharebutton?plusShare=true&url=https://www.lerendeleiders.nl
the code to get the count number is something like:
preg_match( '/window\.__SSR = {c: ([\d]+)/', $data, $matches);
$counter = $matches[1];

the above return with the example url: 282 which is at the time being correct :)
EDIT:
same goes for StumbleUpon who is also using https://cors-anywhere.herokuapp.com
The count url is: http://www.stumbleupon.com/services/1.01/badge.getinfo?url=https://www.lerendeleiders.nl
the code to get the count is:
$data = json_decode($data);
$count = $data->result->views;

The main questions is to be able to do a CORS request, if we could do that, we could fetch count as before. I'm sure you've seen the discussion here https://github.com/tabalinas/jssocials/issues/91

okay, just edited the first post > StumbleUpon.
I have read the discussion, but I am missing the why... why do we need https://cors-anywhere.herokuapp.com if we can get the counter also with the platforms own url?

I can confirm that Ruud68's solution works pretty well.
Here is the modification I did in my own JS file (before to call jssocials to any selector):
  jsSocials.shares.facebook.countUrl = "https://count.donreach.com/?url={url}";
  jsSocials.shares.facebook.getCount = function (data) {
    return data.shares && data.shares.facebook || 0;
  };
  jsSocials.shares.googleplus.countUrl = "https://count.donreach.com/?url={url}";
  jsSocials.shares.googleplus.getCount = function (data) {
    return data.shares && data.shares.google || 0;
  };
  jsSocials.shares.linkedin.countUrl = "https://count.donreach.com/?url={url}";
  jsSocials.shares.linkedin.getCount = function (data) {
    return data.shares && data.shares.linkedin || 0;
  };

@Ruud68: we need https://cors-anywhere.herokuapp.com to be able to do a cross-domain ajax request from the client. From the server you can do any request you wish, but to be able to do a cross-domain request you need to have a resource that allows to do it, or it should support jsonp.
This solution https://github.com/abeMedia/shareCount looks interesting, while a bit risky (never know how long it will stay available). But since we don't have another solution for now, maybe this is a good way out.
@PapayaMedia, thank you for the feedback. Do you have an issue with facebook and linkedin shares count with the built-in urls?

No issues with Facebook nor LinkedIn, but I just wanted to give it a try to see if they'd work... and they did.
In my particular case I only use those 3 services (and Twitter but there is no count for it). I noticed that this new option caches the response for a few seconds, so even when the 3 services are calling the same URL independently, the response is much quicker than having each service to call a different URL. I obviously didn't do any special test... it is just what I perceived.

Hi, the donreach.com service is provided by Adam Bouqdib who is the maintainer of the abeMedia sharecount solution.
so the logic behind the counters is probably the same, donreach adds an extra layer. No need to do custom count calls and maintain them: donreach will take care of that (for the platforms supported).
So donreach adds value, but everything that adds value comes at a price... not sure what the price for this service is in terms of costs, privacy, etc.)
from their website:
Our API has been scaled and rewritten from scratch to cope with the large amounts of traffic we're getting.
To be able to deliver an even better service we will be discontinueing our public API by the end of the year
in favour of a closed (but free) API requiring you to sing up. Stay tuned!

My advice would be to aggregate the counter stats in the jssocials script at the cost of maintaining the correct working when google or other provider changes url etc.

our public API by the end of the year
in favour of a closed (but free)

Exactly, this how it usually starts. So I guess this is not a solution (maybe temporary, but not more than that).

My advice would be to aggregate the counter stats in the jssocials script at the cost of maintaining the correct working when google or other provider changes url etc.

I did not get this one. What do you mean by aggregate counter stats? jsSocials is a client-side script, we don't have backend.

:)
what I mean is that the jssocials scripts calls https://apis.google.com/u/0/se/0/_/+1/sharebutton?plusShare=true&url={url}
and on the result does a regex to 'catch' the counter:
preg_match( '/window.__SSR = {c: ([\d]+)/', $data, $matches);
$counter = $matches[1];
The only difference as I see it with the current cors solution is that the (cors) url called returns a json object where the above url returns a html document:

I cannot access https://apis.google.com/u/0/se/0/_/+1/sharebutton?plusShare=true&url={url} from JavaScript. It is returning the error in the image.

So... I think I'll keep using shareCount for G+ until we find a better, free and stable option to get that count.

@Ruud68, the reason why we cannot use this script from is in the comment above from @PapayaMedia (thanks for feedback).
That's what I tried to explain with:

we need https://cors-anywhere.herokuapp.com to be able to do a cross-domain ajax request from the client. From the server you can do any request you wish, but to be able to do a cross-domain request from the browser you need to have a resource that allows to do it, or it should support jsonp.

Okay @tabalinas did some homework on this and I understand now what the issue is.
I do not have a fix, only hints on getting this to work is by implementing other scripts and api's.
Not sure if that is the desired route.
What could be a 'work around' is to have the count number as a parameter for the share.
something like:
        googleplus: {
            label: "+1",
            logo: "fa fa-google",
            shareUrl: "https://plus.google.com/share?url={url}",
            countUrl: "https://cors-anywhere.herokuapp.com/https://plusone.google.com/_/+1/fastbutton?url={url}",
            getCount: function(data) {
                return parseFloat((data.match(/\{c: ([.0-9E]+)/) || [])[1]);
            },
            count: ""
 },

In my Joomla! plugin I could get the count number (via PHP) and tell the jssocials.js script via eg count=300 that the count is... 300
Not a solution but more an extension of the script that gives the user a workaround.
I think that in the case of my plugin, I could do that for all counts and cache them so that would also be a speed improvement

I like the suggestion with the count value. It sounds reasonable.

Maybe that would also facilitate this: https://github.com/tabalinas/jssocials/issues/52
and when doing count things in code, this maybe also an opportunity for this: https://github.com/tabalinas/jssocials/issues/90

Should I do a PR removing the count url from Google+?
Getting people on my forum complaining about the thrown errors (in console)
I have no clue as to how to implement the count variable (javascript is not my thing :S) but I am willing to help / test / etc.

Yes, you right, let's remove it for now.

@Ruud68, I implemented my G+ count using the Google API you mentioned above.
Create a PHP file, lets name it google_counter.php, and it will return the following JSON:
{"shares":"86731"}
That's the Google+ share count for 9gag.com
My PHP code looks something like:
`  $data = array(
'shares' => 0,
);
if ($google_response = file_get_contents($_GET['url'])) {
preg_match( '/window.__SSR = {c: ([\d]+)/', $google_response, $matches);
$data['shares'] = $matches[1]; // I just copied and pasted your regex
}
return drupal_json_output($data); // This is how Drupal returns JSON
`
And my JS file that implements the JS-Socials plugin now looks like:
     jsSocials.shares.googleplus.countUrl = "/google_counter.php?url={url}";       jsSocials.shares.googleplus.getCount = function (data) {         return data.shares || 0;       };

Cool @PapayaMedia !
I am still thinkering about how to implement it myself.
The challenges I am thinking about is performance and stability.
The current implementation has the advantage that it is run independent of your website performance and is executed on the visitors browser.
Doing it the PHP way then you need to take into account the following questions:

how do I avoid performance impact on the display of the webpage: showing the buttons is part of the web page buildup, will that 'halt' while fetching the count?
you need to have error handling in place so that when fetching of the count doesn't work, your website doesn't stop loading (waiting for the count).

Furthermore I am triggered by the question here: https://github.com/tabalinas/jssocials/issues/103
The question is not does facebook gather visitor information, because they can you must assume they do.
So fetching the counters via the jssocials script is impacting privacy.
Doing it the php way is not as this is done from the server and not from the client...
questions, questions, questions :)
please feel free to share your thoughts / insights...

The buttons are added to the website by JS-Socials after the website has finished to be rendered. And the count data is added after the buttons are added (I'd like @tabalinas to confirm it). So, there will not be any delay in website display... but maybe the count numbers will take more time to be shown. In my case the show up almost at the same time than the buttons.

The error handling is generated by the fact the file_get_contents function is inside a conditional, so if Google doesn't return any information, the count will be 0, and it will not be shown in the website.

Any way, I still hope this is a temporary solution and JS-Socials will start working again out of the box.

@PapayaMedia, yes, you are right, first buttons are created, and then js-socials sends requests for share counts. If you have an issue with the count server script the count won't be show, and it should not impact the sharing itself.

Hi @PapayaMedia you are absolutely correct. I have created a Joomla plugin in which you can set auto buttons on certain articles / categories, button order, set which buttons to show on what device etc. I was thinking to much inside-the-box: get the count from the plugin > then you have the delay.
The way you do it, with a separate routine does not have this delay as the routine is called from the jssocials script.
So what I will do now is create my own 'counting' service in php (only for the local shared url's). That way there is better control for changes and... you prevent the privacy discussion (see other thread) as it is not the user who is doing the count lookup but the server.
This can even be extended to do twitter counting (periodically read the twitter feed and count the urls). This also makes a total number of shares (over all platforms) possible...
now only to find the time :)

I've not studied networking, so I'm not sure if this is relevant, but I did some digging, and I found this here:
This API enables cross-origin requests to anywhere.
It's short, so here it is:

Usage:
/               Shows help
/iscorsneeded   This is the only resource on this host which is served without CORS headers.
/<url>          Create a request to <url>, and includes CORS headers in the response.

If the protocol is omitted, it defaults to http (https if port 443 is specified).
Cookies are disabled and stripped from requests.
Redirects are automatically followed. For debugging purposes, each followed redirect results
in the addition of a X-CORS-Redirect-n header, where n starts at 1. These headers are not
accessible by the XMLHttpRequest API.
After 5 redirects, redirects are not followed any more. The redirect response is sent back
to the browser, which can choose to follow the redirect (handled automatically by the browser).
The requested URL is available in the X-Request-URL response header.
The final URL, after following all redirects, is available in the X-Final-URL response header.
To prevent the use of the proxy for casual browsing, the API requires either the Origin
or the X-Requested-With header to be set. To avoid unnecessary preflight (OPTIONS) requests,
it's recommended to not manually set these headers in your code.
Demo          :   https://robwu.nl/cors-anywhere.html
Source code   :   https://github.com/Rob--W/cors-anywhere/
Documentation :   https://github.com/Rob--W/cors-anywhere/#documentation

Notice the Demo link above
It has this Javascript code on the page:

<script>
var cors_api_url = 'https://cors-anywhere.herokuapp.com/';
function doCORSRequest(options, printResult) {
var x = new XMLHttpRequest();
x.open(options.method, cors_api_url + options.url);
x.onload = x.onerror = function() {
printResult(
options.method + ' ' + options.url + '\n' +
x.status + ' ' + x.statusText + '\n\n' +
(x.responseText || '')
);
};
if (/^POST/i.test(options.method)) {
x.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
}
x.send(options.data);
}
// Bind event
(function() {
var urlField = document.getElementById('url');
var dataField = document.getElementById('data');
var outputField = document.getElementById('output');
document.getElementById('get').onclick =
document.getElementById('post').onclick = function(e) {
e.preventDefault();
doCORSRequest({
method: this.id === 'post' ? 'POST' : 'GET',
url: urlField.value,
data: dataField.value
}, function printResult(result) {
outputField.value = result;
});
};
})();
if (typeof console === 'object') {
console.log('// To test a local CORS Anywhere server, set cors_api_url. For example:');
console.log('cors_api_url = "http://localhost:8080/"');
}
</script>

I really hope this helps.
Just wondering if anyone has raised this over on Stackoverflow or Google groups? I would, but I don't know enough to even word the question.

@K-Thompson, thank you for the input. Yes, exactly this resource was used to get googleplus shares count, and it seems to be locked (that's why we started to have the issue).
Good point about Google groups, but they should not care, since they never have been providing the ability to get shares count. It's just that we used a workaround with CORS request, which now is not working.


compatibility issue of standalone bundle in jsfiddle

strangely enough, the example from the Node documentation for Buffer.from(string, [encoding])
does not seem to work in jsfiddle when using the standalone bundle:
https://jsfiddle.net/2szjx8zp/ (tested in Chrome and Firefox)
the example can be made to work by replacing Buffer.from() calls with new Buffer(), the latter being the deprecated predecessor of the former.
for some reason, the static 'from' method of the Buffer class seems to be that of the underlying TypedArray, which is not equivalent to that of Node's Buffer.

It looks like the version of buffer served by https://wzrd.in/standalone/buffer is v4.x, not v5.x. I suspect this is because browserify is still bundling v4.x of this package. I'll get that updated soon.
If you test with the latest version of the code in this repo, you'll see that your code sample works just fine.


[Android] Getting Started with Kotlin Flows API Zip Operator for Parallel Multiple Network Calls in Android

Article checklist
Formatting and structure checks

[x] Have you used the correct folder and file structure? - see Contribution Guidelines

[x] Is your article properly formatted in Markdown? - see Github Markdown guide

[x] Have you used our preferred heading structure? - H3 (###) and up

[x] Does your article follow any of the suggested structure formats? - see example formats

[x] Is your article over 750 words? - Tool: Wordcounter.net

[x] Is the article you are submitting an in-depth and unique article? Does it go beyond what is in the official docs and what is covered in other blog sites. See these articles as examples.

[x] Does your article provide enough value and detail about your topic? - Articles should be clear, accurate, and fully explained.

[x] Can your article be understood by beginners? - Assume the audience is smart but has no prior exposure to the common terminology in your article.

[x] Have you included a hero image that is 600x400 pixels, under 300KB in size, and have the copyright to use it? - Tools: Pixlr Image Editor for resizing and Unsplash for Creative Commons images

Grammar & plagiarism checks

[x] Have you spellchecked and grammar checked your article? - Tools: Write&Improve - ProWritingAid - Grammarly
[x] Please place your article through a 3rd party plagiarism checker. We suggest using Quetext, this tool is free and has a daily limit. We typically accept articles with 10% or less.
[x] Have you checked your article for readability? - Tool: Hemmingway
[x] Have you added sources for quotes and images that aren't yours?

Technical checks

[x] Are your code snippets properly formatted for syntax highlighting - see Syntax guide
[x] Have you checked your code runs correctly and you've highlighted all necessary dependencies for installation?
[x] Are the software programs and packages you're highlighting in your article up to date, using current versions and not deprecated?

Topic suggestion this closes
This closes #4969

Hello @WanjaMIKE, @ahmadmardeni1, and @louisefindlay23 please assign a reviewer to this PR. Thank you.

Hello @Jethro-magaji ,
I have done the changes as requested, thank you.

@Emmah-Lashly Are you recycling code? It seems to show plagiarism.
New Scan 7_34 AM Copyleaks Report.pdf

jumping on this one


transformers_bloom_parallel link 404

https://github.com/huggingface/transformers_bloom_parallel
This link in the README.md leads to a 404 currently.
Did the repo get deleted?

@stas00

oh, wait, it's private!
thank you for the heads up, @mayank31398!
@thomas21, would you like to make it public or should I remove the link for now? I linked to it from https://github.com/huggingface/transformers-bloom-inferenc Thank you!

Good point. Let's remove it for now, we can set up a cleaner repo (it's my WIP repo where I explore a few things so everything is a bit messy) once we share @Narsil 's work that's built on top of that solution.

as requested link removed.

The reason why I think it's better to clean it up is I believe the purpose of sharing would be to make it somewhat useable and this would require some (lightweight, but low in my priority list) type of cleaning. If there's a strong want I can focus on that.

It's totally your call, Thomas. Since we have a really fast solution with DS-Inference I think there is absolutely no rush.
If you want an incentive to clean it up I'd make the repo public first and when someone tries to use it they could drive the need to make it easy to use :)

I have experience with CUDA and would be interested to gain access to the repo if possible @thomasw21
For advanced users, who are willing to dig into the code, getting access to your work and trying things out, even before the code is generally usable, is really great.


Make IMDS unavailable in controller config tests (#336)

The code under test falls back to reading AWS region, account ID, and VPC ID from Instance Metadata Service. The tests currently assume that this service is unavailable. This means they fail when run in environments where this service is available to tests.
This commit fixes this issue by making the tests use a mock Instance Metadata Service which returns an error. This ensures that these tests work as expected regardless of whether Instance Metadata Service is available/reachable.
What type of PR is this?
Fixes broken tests
Which issue does this PR fix:
pkg/config/controller_config_test.go fails in environments with access to AWS EC2 Instance Metadata Service.
What does this PR do / Why do we need it:
Unbreaks tests in environments with IMDS accessible.
Testing done on this change:
go test ./...
Automation added to e2e:
No need
Will this PR introduce any new dependencies?:

Will this break upgrades or downgrades. Has updating a running cluster been tested?:
Does this PR introduce any user-facing change?:
No
pkg/config tests now pass in environments which have access to AWS Instance Metadata Service.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

1 of 3 (33.33%)  changed or added relevant lines in 1 file are covered.
26 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.3%) to 40.67%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/config/controller_config.go
1
3
33.33%

Files with Coverage Reduction
New Missed Lines
%

pkg/config/controller_config.go
3
62.79%

pkg/config/ec2_metadata.go
23
0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.3%

Covered Lines:
3424

Relevant Lines:
8419

💛  - Coveralls


Added Bluetooth support to SDK

Added a beginBluetooth function to the serial utility to do initial configuration for the BlueSMiRF bluetooth module. Also added documentation in the form of a wiki and usage to the README

I'm a little wary about assuming that we'll reset the bluetooth baud rate with AT commands on every single arduino boot when we've got a bluetooth sketch. I'm actually leaning toward moving this functionality into its own function (e.g. updateBluetoothRate).
This needs to be tested rigorously on software serial on Uno too --> make sure we can set 57600 and then back to 9600 with no hiccups.


Where array argz

following up on PR #761 - makes .where accepts an array of arguments

Thanks for the PR but I think for now I'm going to avoid overloading the where operator with yet another way of doing things... I have added a fromJS method which allows you to build a query using something like:
knex.fromJS({
   select: '*',
   from: 'users',
   where: {foo: bar},
   whereIn: ['id', [1, 2, 3]]
})

Hopefully that can suffice for the time being until I have a chance to think about it a bit more


What's your favorite GitHub automation tools?

The Community WG is reviewing the world of existing GitHub automation tools, mostly Probot, and we'd like to hear what tools people have used in other projects that they particularly like.

Haven't used it yet, but Hoodie's First Time Contributor Bot looks promising.


Need to update the notebook for supervised algorithms

@deeplearner87 ,
We need to update the notebook for the supervised algorthim

Taken care


Issue with tutorials/extract-raster-values-for-points/index.md

Issue Description
In the process of extracting the value of the landsat image using my own vector points, the value of 3000 vector points is always only 1000 points is mentioned in the csv file, how can I set it not to filter out the remaining 2000 points, but to all The buffer values of the points are brought up.

HI @gifford27, sorry for the extremely delayed response, we haven't been regularly monitoring this channel. Can you please post your question to one of our supported channels, providing a link to the modified notebook. You can find out more here:
https://developers.google.com/earth-engine/help


call home mode,netopeer2-server crash

Hi all:
Netopeer2-0.7-r1
libnetconf2-0.12-r2
sysrepo-0.7.7
libyang-0.16-r3
CALL home mode ,I often find netopeer2-server do_page_fault,could anyone can help me,thanks. The details info as follows:
[08:51:36][INF]: Resolving unresolved data nodes and their constraints...
[08:51:36][INF]: All data nodes and constraints resolved.
[08:51:36][INF]: Resolving unresolved data nodes and their constraints...
[08:51:36][INF]: All data nodes and constraints resolved.
[08:51:36][INF]: Session 232: thread 1 event new RPC.
[08:54:50][ERR]: Session 231: Call Home thread failed to wake up in a timely manner, fatal synchronization problem.
[09:01:37][2019/12/29 01:01:36.990888, 1] ssh_packet_disconnect_callback:  Received SSH_MSG_DISCONNECT: 2:User session has timed out idling after 600000 ms.
[09:01:37][ERR]: Session 232: SSH channel poll error (Received SSH_MSG_DISCONNECT: 2:User session has timed out idling after 600000 ms.).
[09:01:37][INF]: Session 232: thread 4 event session terminated.
[09:01:37][INF]: Call Home client "main" session terminated, reconnecting...
[09:01:37][INF]: Trying to connect via IPv4.
[09:01:37][INF]: Successfully connected to <IP_ADDRESS>:6666 over IPv4.
[09:01:38][INF]: Received an SSH message "request-service" of subtype "ssh-userauth".
[09:01:38][INF]: Received an SSH message "request-auth" of subtype "none".
[09:01:38][INF]: Received an SSH message "request-auth" of subtype "interactive".
[09:01:38][INF]: Received an SSH message "request-auth" of subtype "interactive".
[09:01:38][INF]: Received an SSH message "request-auth" of subtype "interactive".
[09:01:38][INF]: Received an SSH message "request-auth" of subtype "interactive".
[09:01:38][INF]: Received an SSH message "request-auth" of subtype "password".
[09:01:38][INF]: User "root" authenticated.
[09:01:38][INF]: Received an SSH message "request-channel-open" of subtype "session".
[09:01:39][INF]: Received an SSH message "request-channel" of subtype "subsystem".
[09:01:39][INF]: Call Home client "main" session 233 established.
[09:01:40][INF]: Resolving unresolved data nodes and their constraints...
[09:01:40][INF]: All data nodes and constraints resolved.
[09:01:41][INF]: Generated new event (netconf-session-start).
[09:01:41][INF]: Generated new event (netconf-session-end).
[09:01:42][INF]: Resolving unresolved data nodes and their constraints...
[09:01:42][INF]: All data nodes and constraints resolved.
[09:01:42][INF]: Session 233: thread 1 event new RPC.
[09:01:42][INF]: Resolving unresolved data nodes and their constraints...
[09:01:42][INF]: All data nodes and constraints resolved.
[09:01:42][INF]: Resolving unresolved data nodes and their constraints...
[09:01:42][INF]: All data nodes and constraints resolved.
[09:01:42][INF]: Session 233: thread 1 event new RPC.
[09:01:42][INF]: Resolving unresolved data nodes and their constraints...
[09:01:42][INF]: All data nodes and constraints resolved.
[09:01:47][INF]: Session 233: thread 1 event new RPC.
[09:01:47][INF]: Resolving unresolved data nodes and their constraints...
[09:01:47][INF]: All data nodes and constraints resolved.
[09:01:47][INF]: Resolving unresolved data nodes and their constraints...
[09:01:47][INF]: All data nodes and constraints resolved.
[09:01:47][INF]: Session 233: thread 2 event new RPC.
[09:01:47][INF]: Resolving unresolved data nodes and their constraints...
[09:01:47][INF]: All data nodes and constraints resolved.
[09:01:47][INF]: Resolving unresolved data nodes and their constraints...
[09:01:47][INF]: All data nodes and constraints resolved.
[09:01:47][INF]: Session 233: thread 3 event new RPC.
[09:01:47][INF]: Resolving unresolved data nodes and their constraints...
[09:01:47][INF]: All data nodes and constraints resolved.
[09:01:47][INF]: Resolving unresolved data nodes and their constraints...
[09:01:47][INF]: All data nodes and constraints resolved.
[09:01:47][INF]: Session 233: thread 0 event new RPC.
[09:01:47][INF]: Resolving unresolved data nodes and their constraints...
[09:01:47][INF]: All data nodes and constraints resolved.
[09:01:47][INF]: Resolving unresolved data nodes and their constraints...
[09:01:47][INF]: All data nodes and constraints resolved.
[09:01:47][INF]: Session 233: thread 2 event new RPC.
[09:01:47][INF]: Resolving unresolved data nodes and their constraints...
[09:01:47][INF]: All data nodes and constraints resolved.
[09:01:47][INF]: Resolving unresolved data nodes and their constraints...
[09:01:47][INF]: All data nodes and constraints resolved.
[09:01:47][INF]: Session 233: thread 3 event new RPC.
[09:05:01][ERR]: Session 232: Call Home thread failed to wake up in a timely manner, fatal synchronization problem.
[09:11:48][2019/12/29 01:11:48.250916, 1] ssh_packet_disconnect_callback:  Received SSH_MSG_DISCONNECT: 2:User session has timed out idling after 600000 ms.
[09:11:48][ERR]: Session 233: SSH channel poll error (Received SSH_MSG_DISCONNECT: 2:User session has timed out idling after 600000 ms.).
[09:11:48][INF]: Session 233: thread 2 event session terminated.
[09:11:49][INF]: Call Home client "main" session terminated, reconnecting...
[09:11:49][INF]: Trying to connect via IPv4.
[09:11:49][INF]: Successfully connected to <IP_ADDRESS>:6666 over IPv4.
[09:11:50][INF]: Received an SSH message "request-service" of subtype "ssh-userauth".
[09:11:50][INF]: Received an SSH message "request-auth" of subtype "none".
[09:11:50][INF]: Received an SSH message "request-auth" of subtype "interactive".
[09:11:50][INF]: Received an SSH message "request-auth" of subtype "interactive".
[09:11:50][INF]: Received an SSH message "request-auth" of subtype "interactive".
[09:11:50][INF]: Received an SSH message "request-auth" of subtype "interactive".
[09:11:50][INF]: Received an SSH message "request-auth" of subtype "password".
[09:11:50][INF]: User "root" authenticated.
[09:11:50][INF]: Received an SSH message "request-channel-open" of subtype "session".
[09:11:50][INF]: Received an SSH message "request-channel" of subtype "subsystem".
[09:11:50][INF]: Call Home client "main" session 234 established.
[09:11:51][INF]: Resolving unresolved data nodes and their constraints...
[09:11:51][INF]: All data nodes and constraints resolved.
[09:11:52][INF]: Generated new event (netconf-session-start).
[09:11:54][INF]: Generated new event (netconf-session-end).
[09:11:54][INF]: Resolving unresolved data nodes and their constraints...
[09:11:54][INF]: All data nodes and constraints resolved.
[09:11:54][INF]: Session 234: thread 0 event new RPC.
[09:11:54][INF]: Resolving unresolved data nodes and their constraints...
[09:11:54][INF]: All data nodes and constraints resolved.
[09:11:59][INF]: Session 234: thread 4 event new RPC.
[09:11:59][INF]: Resolving unresolved data nodes and their constraints...
[09:11:59][INF]: All data nodes and constraints resolved.
[09:11:59][INF]: Resolving unresolved data nodes and their constraints...
[09:11:59][INF]: All data nodes and constraints resolved.
[09:11:59][INF]: Session 234: thread 4 event new RPC.
[09:11:59][INF]: Resolving unresolved data nodes and their constraints...
[09:11:59][INF]: All data nodes and constraints resolved.
[09:11:59][INF]: Resolving unresolved data nodes and their constraints...
[09:11:59][INF]: All data nodes and constraints resolved.
[09:11:59][INF]: Session 234: thread 4 event new RPC.
[09:11:59][INF]: Resolving unresolved data nodes and their constraints...
[09:11:59][INF]: All data nodes and constraints resolved.
[09:11:59][INF]: Resolving unresolved data nodes and their constraints...
[09:11:59][INF]: All data nodes and constraints resolved.
[09:11:59][INF]: Session 234: thread 0 event new RPC.
[09:11:59][INF]: Resolving unresolved data nodes and their constraints...
[09:11:59][INF]: All data nodes and constraints resolved.
[09:11:59][INF]: Resolving unresolved data nodes and their constraints...
[09:11:59][INF]: All data nodes and constraints resolved.
[09:11:59][INF]: Session 234: thread 1 event new RPC.
[09:11:59][INF]: Resolving unresolved data nodes and their constraints...
[09:11:59][INF]: All data nodes and constraints resolved.
[09:11:59][INF]: Resolving unresolved data nodes and their constraints...
[09:11:59][INF]: All data nodes and constraints resolved.
[09:11:59][INF]: Session 234: thread 4 event new RPC.
[09:11:59][INF]: Resolving unresolved data nodes and their constraints...
[09:11:59][INF]: All data nodes and constraints resolved.
[09:11:59][INF]: Resolving unresolved data nodes and their constraints...
[09:11:59][INF]: All data nodes and constraints resolved.
[09:11:59][INF]: Session 234: thread 0 event new RPC.
[09:15:14][ERR]: Session 233: Call Home thread failed to wake up in a timely manner, fatal synchronization problem.
[09:18:56][2019/12/29 01:18:56.210799, 1] ssh_socket_exception_callback:  Socket exception callback: 2 (145)
[09:18:56][2019/12/29 01:18:56.211300, 1] ssh_socket_exception_callback:  Socket error: Operation timed out
[09:18:56][ERR]: Session 234: SSH channel poll error (Socket error: Operation timed out).
[09:18:56][INF]: Session 234: thread 4 event session terminated.
[09:18:56][INF]: Call Home client "main" session terminated, reconnecting...
[09:18:56][INF]: Trying to connect via IPv4.
[09:19:01][INF]: Generated new event (netconf-session-end).
[09:19:01][INF]: timed out after 5s (Operation in progress).
[09:19:01][INF]: Successfully connected to <IP_ADDRESS>:6666 over IPv4.
[09:19:01][ERR]: Could not set TCP_NODELAY socket option (Bad file descriptor).
[09:19:02][INF]: Trying to connect the pending socket=18.
[09:19:07][INF]: timed out after 5s (Bad file descriptor).
[09:19:08][INF]: Trying to connect the pending socket=18.
[09:19:13][INF]: timed out after 5s (Bad file descriptor).
[09:19:14][INF]: Trying to connect the pending socket=18.
[09:19:19][INF]: timed out after 5s (Bad file descriptor).
[09:19:20][INF]: Trying to connect the pending socket=18.
[09:19:26][INF]: timed out after 5s (Bad file descriptor).
[09:19:27][INF]: Trying to connect the pending socket=18.
[09:19:32][INF]: timed out after 5s (Bad file descriptor).
[09:19:33][INF]: Trying to connect the pending socket=18.
[09:19:38][INF]: timed out after 5s (Bad file descriptor).
[09:19:39][INF]: Trying to connect the pending socket=18.
[09:19:44][INF]: timed out after 5s (Bad file descriptor).
[09:19:45][INF]: Trying to connect the pending socket=18.
[09:19:50][INF]: timed out after 5s (Bad file descriptor).
[09:19:51][INF]: Trying to connect the pending socket=18.
[09:19:56][INF]: timed out after 5s (Bad file descriptor).
[09:19:57][INF]: Trying to connect the pending socket=18.
[09:20:02][INF]: timed out after 5s (Bad file descriptor).
[09:20:03][INF]: Trying to connect the pending socket=18.
[09:20:08][INF]: timed out after 5s (Bad file descriptor).
[09:20:09][INF]: Trying to connect the pending socket=18.
[09:20:14][INF]: timed out after 5s (Bad file descriptor).
[09:20:15][INF]: Trying to connect the pending socket=18.
[09:20:20][INF]: timed out after 5s (Bad file descriptor).
[09:20:21][INF]: Trying to connect the pending socket=18.
[09:20:26][INF]: timed out after 5s (Bad file descriptor).
[09:20:27][INF]: Trying to connect the pending socket=18.
[09:20:32][INF]: timed out after 5s (Bad file descriptor).
[09:20:33][INF]: Trying to connect the pending socket=18.
[09:20:38][INF]: timed out after 5s (Bad file descriptor).
[09:20:39][INF]: Trying to connect the pending socket=18.
[09:20:44][INF]: timed out after 5s (Bad file descriptor).
[09:20:45][INF]: Trying to connect the pending socket=18.
[09:20:50][INF]: timed out after 5s (Bad file descriptor).
[09:20:51][INF]: Trying to connect the pending socket=18.
[09:20:56][INF]: timed out after 5s (Bad file descriptor).
[09:20:57][INF]: Trying to connect the pending socket=18.
[09:21:02][INF]: timed out after 5s (Bad file descriptor).
[09:21:03][INF]: Trying to connect the pending socket=18.
[09:21:17][ERR]: SSH key exchange timeout[145220.003812] do_page_fault(): sending SIGSEGV to netopeer2-serve for invalid write access to 00000000
[09:21:17].[145220.014214] epc = 77ecc054 in libc.so[77ea3000+95000]
[09:21:17]
[09:21:17][145220.020755] ra  = 77dddb3d in libyang.so.0.16.105[77dd1000+c0000]
[11:54:59][154441.672833] br-wan: port 2(vxlan2) received tcn bpdu
[11:54:59][154441.677882] br-wan: topology change detected, sending tcn bpdu

Now use the last version.


"Paper" but inside is spigot mapping

And inside of git its correct but from modrinth its :/

This is the only plugin that i need to download source code to build localy for mojang mapping

NOTE (YYEP I SPEND 2H COMPILING. NO ITS NOT FUN) (DID VER 1.20.4):

set java toolchain to 21
update plotsquared version to : last version
comment shadowJar

Well the first two things have already been done in master. But if you remove the shadowed dependencies then the plugin won't work so I'm not sure what the purpose of this is

its for 1.20.4 branch.
You give spigot mapping and i need mojang on... i needed to compile by myself


Delete user endpoint

rather than deleting users we remove their profiles, identities and api keys. This allows us to keep the packages and channels, which might still be shared with others.

Cool, finally we're GDPR compliant :)


Updated avatar render

added avatar at the left of name #1599
I wasn't able to locally run the output , kindly review the changes to suggest any discrepancies
What

🤖 Generated by Copilot at 42c3981
Added avatar images to the MultiSelectTagsFilter component. This enhances the user interface and helps users identify the tags more easily.

🤖 Generated by Copilot at 42c3981

avatar images
circle and align with tags
autumn filter view

Why
How

🤖 Generated by Copilot at 42c3981

Add avatar image to multiselect tags filter component (link)
Define CSS rule for avatar class in MultiSelectTagsFilter.vue (link)

Checklist ✅

[ ] Label appropriately with Feature, Improvement, or Bug.
[ ] Add screehshots to the PR description for relevant FE changes
[ ] New backend functionality has been unit-tested.
[ ] API documentation has been updated (if necessary) (see docs on API documentation).
[ ] Quality standards are met.

Kindly review this @garrrikkotua


Denon integration not showing up

I've enabled media_player as directed in the manual page, but I couldn't make the device appear on home assistant, from the logs everything looks fine, denonavr is loaded and it can even find my media player ip, but it won't show up.
configuration.yaml:
shelly:
media_player:

platform: denonavr
host: 192...
name: Denon
discovery:
binary_sensor:

I've also tried enabling autodiscovery and it works, but it won't show up either

What do you mean with "won't show up"?
Is it listed under states in the dev tools of homeassistant as a device?
If you mean it is not showing up in the frontend you just need to add a media_player card to the frontend

Why does your config include "discovery" and "binary_sensor" under the denonavr platform?
Those are not properties of denonavr


transform.Plainify should return template.HTML instead of a string

What version of Hugo are you using (hugo version)?

$ hugo version
hugo v0.84.0+extended linux/amd64 BuildDate=unknown

Does this issue reproduce with the latest release?
This is the latest release.
When using plainify hugo many times does the wrong thing. I realize that this is a feature, but I wonder if there is a better way to do it. Specifically, if the HTML contains any HTML entities plainify returns the plain HTML with the entities but not marked as a HTML safe string. So the plainify output for HTML like
This & that
 will be This & that. Now it's easy to pipe it through safeHTML or markdownify or htmlUnescape to solve the problem, but it seems plainify should probably include an automatic htmlUnescape or at least mark the output as HTML safe.
This is a petty kind of thing, but in our code, we always must do plainify | htmlUnescape and whenever we forget it the entities are shown on the screen. Seems cumbersome.

You should open that in the discourse instead of here.
Regarding the issue at hand: I think it's because of the security model of Golang templates. Go expects the developer to make everything safe, so plainify can't just do an html unescape or mark the string as safe. I think it was recently only that script and style tags were removed by plainify. Lot's of hijinks would have been possible if Go just assumes that the string is safe.
See here: https://golang.org/pkg/html/template/#hdr-Security_Model (the whole chapter is an interesting read)

Yes I don't like the safeHTML either, maybe to include htmlUnescape would be safer and useful. What is the current use case for plainify? In my code 100% of my plainify calls have to be followed by one of the other filters. Maybe there should be a new method to extract plain text from html and return it as unescaped string rather than messing with plainfy.

These transformation functions return template.HTML

transform.Emojify
transform.Highlight
transform.Markdownify

I think it makes sense to add transform.Plainify to the list.


add website page about data processing for ML

This PR adds a data processing page for AI/ML pipelines under documentation on the website.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

R: @andyxiexu @damccorm


Remove irrelevant code from the 2.0 branch

What is the motivation for adding/enhancing this feature?

What are the acceptance criteria?

[ ] ...

Can you complete this feature request by yourself?

[ ] YES
[ ] NO

Additional information

Closing as completed


getMaxZoom

Hi,
Line 112 for getMaxZoom() looks strange. Shouldn't it be "return props.maxZoom" instead of "return props.radius"?

Hi @ggerber, This was resolved by #4.


Wrong name in bower.json and package.json

They still use vaadin-tabs

Please ignore this, I had some weird mixup with my local repos, probably because of the rename of this repo.


fix: check if traefik is ready instead of checking if relation is created

fixes https://github.com/canonical/hydra-operator/issues/31

Also can you write a test that would fail without your fix?


Laravel-Lang Management

Hi Caouecs,
I have a doubt. Is it needed to copy the langs from /vendor/caouecs/laravel4-lang to /resources/lang in order to make them working? If so, how can I can update langs from my laravel 5.1 project when your ones get changed in vendor?
Thanks for your attention.

@nicolaeturcan https://github.com/overtrue/laravel-lang :smile:

@overtrue Thanks for your answer.

@nicolaeturcan You are welcome. :monkey_face:


Documentation Mismatch / Desired Implementation

Steps to Reproduce

Attempt to use flutter SelectionArea

Expected results:
The documentation would match what is available
Actual results:
There is a mismatch between documentation and implementation

[✓] Flutter (Channel stable, 3.3.10, on macOS 13.1 22C65 darwin-arm, locale en-US)
    • Flutter version 3.3.10 on channel stable at /Users/user/LocalFrameworks/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 135454af32 (12 days ago), 2022-12-15 07:36:55 -0800
    • Engine revision 3316dd8728
    • Dart version 2.18.6
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/user/Library/Android/sdk
    • Platform android-32, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14C18
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763)

[✓] VS Code (version 1.74.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.56.0

[✓] VS Code (version 1.68.1)
    • VS Code at /Volumes/Ventura/Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.56.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 13.1 22C65 darwin-arm
    • Chrome (web)    • chrome • web-javascript • Google Chrome 108.0.5359.124

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

Thanks for the report @Dall127
On latest master, I tried below code sample which allowed me to use onSelectionChanged: property as below:
home: SelectionArea(
        child: SelectableText.rich(
          TextSpan(
            text: 'Hello World'
          ),
          onSelectionChanged: (TextSelection selection, cause) {
            print(selection);
          },
        )
      ),

Can you try the same and see if it helps ? Also take a look at this open proposal and check if it also helps or gives you more reference.


Not working on windows due to folder separator character

/ is hard coded, and since Windows use \, two things broke

[ ] projectPath use / as ending, so the projectPath = srcPath + projectFlag + "/" breaks on win
[ ] cmd := exec.Command("go", "test", "-covermode="+coverFlag, "-coverprofile=profile.coverprofile", "-outputdir="+fullPath+"/", relPath) fullPath and relPath and / breaks on win, NOTE: the debug command is another print, not from the exec.Command

Third party

[ ] profile generated on windows use \, but luckily .... travis is running linux, so this should not be a concern

mainly fixed in eae173f95f98a19742de1b8bbdd41c1119d40243


Update battery.mdx

Translated German to English

Duplicate to https://github.com/evcc-io/docs/pull/611


Why direct sockets used instead of SocketServer ?

https://github.com/amphp/http-server/blob/a7aeae87da84333bd4d86e4bc67356fcc261c189/src/Server.php#L104
https://github.com/amphp/http-server/blob/a7aeae87da84333bd4d86e4bc67356fcc261c189/src/Server.php#L309
https://github.com/amphp/http-server/blob/a7aeae87da84333bd4d86e4bc67356fcc261c189/src/Server.php#L318
https://github.com/amphp/http-server/blob/a7aeae87da84333bd4d86e4bc67356fcc261c189/src/Server.php#L331
SocketServer support tls and accept methods. So why http server use rar sockets instead of abstractions ?

This was afaik done for performance reasons, in particular all incoming client connections are (nearly) permanently alive and we just disable watching when our internal buffer limit gets reached.
It's in the end a lot of objects and enabling back and forth (if you consider ResourceInputStream->read() for example).
And this is in the hot path of the server...

It seems like all questions have been answered. If not, please respond with further questions, the issue can always be re-opened. :+1:


stable/neo4j - Not able setup neo4j in kubernetes using helm charts

Hi All,
I am trying to setup neo4j in kubernetes using the helm charts and below is the values.yaml file I have used and modified few things like installing plugin and adding extra vars,
# Default values for Neo4j.
# This is a YAML-formatted file.
# Declare name/value pairs to be passed into your templates.
# name: value

name: "neo4j"

# Specs for the Neo4j docker image
image: "neo4j"
imageTag: "3.5.7"
imagePullPolicy: "IfNotPresent"
# imagePullSecret: registry-secret
acceptLicenseAgreement: "no"
podDisruptionBudget: {}
  # minAvailable: 2
  # maxUnavailable: 1

# Use password authentication
authEnabled: true

## Specify password for neo4j user
## Defaults to a random 10-character alphanumeric string if not set and authEnabled is true
neo4jPassword: changeme

# Specify cluster domain (used eg. as suffix in definition of NEO4J_causal__clustering_initial__discovery__members environment variable)
clusterDomain: "cluster.local"

# Specs for the images used for running tests against the Helm package
testImage: "markhneedham/k8s-kubectl"
testImageTag: "master"

# Cores
core:
  numberOfServers: 3
  persistentVolume:
    ## whether or not persistence is enabled
    ##
    enabled: true

    ## core server data Persistent Volume mount root path
    ##
    mountPath: /data

    ## core server data Persistent Volume size
    ##
    size: 10Gi

    ## core server data Persistent Volume Storage Class
    ## If defined, storageClassName: <storageClass>
    ## If set to "-", storageClassName: "", which disables dynamic provisioning
    ## If undefined (the default) or set to null, no storageClassName spec is
    ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
    ##   GKE, AWS & OpenStack)
    ## storageClass: "-"

    ## Subdirectory of core server data Persistent Volume to mount
    ## Useful if the volume's root directory is not empty
    ##
    ## subPath: ""

  ## Pass extra environment variables to the Neo4j container.
  ##
  extraVars:
   - name: com.graphaware.module.ES.uri
     value: elasticsearch
  # - name: EXTRA_VAR_2
  #   value: extra-var-value-2

  sidecarContainers: []
  ## Additional containers to be added to the Neo4j core pod.
  #  - name: my-sidecar
  #    image: nginx:latest

  initContainers: []
  ## init containers to run before the Neo4j core pod e.g. to install plugins

   - name: init-plugins
     image: "appropriate/curl:latest"
     imagePullPolicy: "IfNotPresent"
     volumeMounts:
     - name: plugins
       mountPath: /plugins
     command:
       - "/bin/sh"
       - "-c"
       - |
         curl -L https://github.com/neo4j-contrib/neo4j-apoc-procedures/releases/download/<IP_ADDRESS>/apoc-<IP_ADDRESS>-all.jar -O
         cp apoc-<IP_ADDRESS>-all.jar /plugins/

# Read Replicas
readReplica:
  numberOfServers: 0
  ## Pass extra environment variables to the Neo4j container.
  ##
  # extraVars:
  # - name: EXTRA_VAR_1
  #   value: extra-var-value-1
  # - name: EXTRA_VAR_2
  #   value: extra-var-value-2

  sidecarContainers: []
  ## Additional containers to be added to the Neo4j replica pod.
  #  - name: my-sidecar
  #    image: nginx:latest

  initContainers: []
  ## init containers to run before the Neo4j replica pod e.g. to install plugins

  # - name: init-plugins
  #   image: "appropriate/curl:latest"
  #   imagePullPolicy: "IfNotPresent"
  #   volumeMounts:
  #   - name: plugins
  #     mountPath: /plugins
  #   command:
  #     - "/bin/sh"
  #     - "-c"
  #     - |
  #       curl -L https://github.com/neo4j-contrib/neo4j-apoc-procedures/releases/download/<IP_ADDRESS>/apoc-<IP_ADDRESS>-all.jar -O
  #       cp apoc-<IP_ADDRESS>-all.jar /plugins/

resources: {}
# limits:
#   cpu: 100m
#   memory: 512Mi
# requests:
#   cpu: 100m
#   memory: 512Mi

Below is the command i execute and getting the response,
ubuntu@:~/KubernetesCluster/elasticsearch7/neo4j$ helm install --name neo4j-community stable/neo4j -f ./test.yaml
Error: failed to parse ./test.yaml: error converting YAML to JSON: yaml: line 76: did not find expected key

I followed the default values.yaml and modified the changes, I suspect the indentation is not properly given in yaml and the error line 76 where I defined the command for install plugin in neo4j and I did tried changing the indentation inside yaml but didn't worked.
Also inside the values.yaml I defined the extra environment variable for neo4j container and these values are not passed to neo4j conf
  ## Pass extra environment variables to the Neo4j container.
  ##
  extraVars:
   - name: com.graphaware.module.ES.uri
     value: elasticsearch

Please correct me if I am doing anything wrong in the values.yaml
Regards,
Ganeshbabu R

Hi @GaneshbabuRamamoorthy ,
I guess the problem is the array of the init containers  is closed before the specification of the init containers. See below:
initContainers: [] <-- SEE THIS
  ## init containers to run before the Neo4j core pod e.g. to install plugins
                                      <-- THIS LINE FAILS BECAUSE THE ARRAY IS CLOSED
   - name: init-plugins
     image: "appropriate/curl:latest"
     imagePullPolicy: "IfNotPresent"
     volumeMounts:
     - name: plugins
       mountPath: /plugins
     command:
       - "/bin/sh"
       - "-c"
       - |
         curl -L https://github.com/neo4j-contrib/neo4j-apoc-procedures/releases/download/<IP_ADDRESS>/apoc-<IP_ADDRESS>-all.jar -O
         cp apoc-<IP_ADDRESS>-all.jar /plugins/


Font bug in first tab, update bug

Version: 1.0.105
Platform: win32 10.0.19041
Plugins: clickable-links, title-control
When I Open the first tab in Terminus, and the font used is not correctly settled. When I open the second tab, the font it's OK.

Another problem is when I click to update, and nothing happens, and I don't know if the app has updated.

Same problem here.

Resizing the window helps aswell, you dont need to open a new tab

Also I think it is font related and Windows related. I get some weird display bahaviors in VSCode and the WSL console with Powerline fonts.
Since then I stopped ricing and got some actual work done. 😁
I'm using Delugia Nerd Font and it has been a while since I had any issue.

Version: 1.0.105
Platform: win32 10.0.19041
Plugins: clickable-links, title-control
When I Open the first tab in Terminus, and the font used is not correctly settled. When I open the second tab, the font it's OK.

Another problem is when I click to update, and nothing happens, and I don't know if the app has updated.

The issue still persists and it's quite annoying now. Terminus 10.0.135 running on Windows 10.

Switching to hterm as terminal frontend seems to fix it for now.

Please try the latest release - I've added a possible fix for this issue
On Sun, 21 Mar 2021, 08:56 Ad!thya R, @.***> wrote:

Switching to hterm as terminal frontend seems to fix it for now.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Eugeny/terminus/issues/2404#issuecomment-803528065,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABHNRAQP3CGACRBBY7N6ULTEWRCJANCNFSM4MH5SJLQ
.

Please try the latest release - I've added a possible fix for this issue
…
On Sun, 21 Mar 2021, 08:56 Ad!thya R, @.***> wrote: Switching to hterm as terminal frontend seems to fix it for now. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#2404 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABHNRAQP3CGACRBBY7N6ULTEWRCJANCNFSM4MH5SJLQ .

If this is the latest release you are referring to - https://github.com/Eugeny/terminus/releases/tag/v1.0.135, I'm on it. (Terminus v1.0.135). Issue still persists. Please refer to the screenshots.


UserWarning: I/O error(44): No such file or directory when importing pandas

Currently importing pandas gives the following warning:
/tmp/xeus-python-kernel/envs/xeus-python-kernel/lib/python3.10/site-packages/dateutil/zoneinfo/__init__.py:26: UserWarning: I/O error(44): No such file or directory
  warnings.warn("I/O error({0}): {1}".format(e.errno, e.strerror))

This does not seem to be the case with Pyodide:

In this example the version is not exactly the same which might explain the difference (although unlikely?).

I think we are filtering out ZONEFILENAME = "dateutil-zoneinfo.tar.gz" (
https://github.com/dateutil/dateutil/blob/7c5c98959bd0e9eea3c55fdf78bef3ae5b8c995e/src/dateutil/zoneinfo/__init__.py#L13) when we pack the package for the emscripten-virtual filesystem.

Maybe we should not filter out anything from the site-packages directory? That way we don't filter package data. Will it impact the resulting wheel size a lot?

unfortunately, that will impact the size a lot.
But I am working on the following: There will be a default filter / include/ignore pattern.  But recipes can overwrite  this behavior.

But recipes can overwrite this behavior

Great!

Should be fixed now


Created Marketing Campaigns Subject Page

/Classroom/Basics/Marketing_Campaigns/index.html

New subject page for Marketing Campaigns should make it easier to find docs related to MC

@mbernier Would you be willing to review this new subject page? Looking for feedback and an extra pair of eyes to review before merging. Thanks!


How to remove the side bar showing today yesterday to nothing

Subject of the issue
How to remove the side bar showing today yesterday to nothing

use  instead of

Or set staticRanges={[]}

Thanks


@aws_iam tag applied on types that are not configured to use IAM permissions

Before opening, please confirm:

[X] I have installed the latest version of the Amplify CLI (see above), and confirmed that the issue still persists.
[X] I have searched for duplicate or closed issues.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

How did you install the Amplify CLI?
npm
If applicable, what version of Node.js are you using?
No response
Amplify CLI Version
4.45.0
What operating system are you using?
macOS Catalina
Amplify Categories
api
Amplify Commands
push
Describe the bug
GrahpQL types that do not have iamauth rules, for example like @auth(rules: [{ allow: owner }]) end up getting the @aws_iam tag in the generated schema. This seems to happen because they wrongly inherit it from a previous type.
If I revert to Amplify version 4.36.2 this does not happen.
This affects, at least, versions  4.41.2, 4.44.2 and 4.45.0
This bug was also reported on https://github.com/aws-amplify/amplify-cli/issues/6557 , the changes in https://github.com/aws-amplify/amplify-cli/commit/deb53bd36a0994d951f6e120c0b8f0b1ee0dfdc8 did not fix the issue with Auth permissions
Expected behavior
The models with @auth(rules: [{ allow: owner }]) should not get the @aws_iam tag in the generated schema after amplify push
Reproduction steps

Create a schema with 2 models: one with iam permissions and the other without them. Put the one with iam in the top, I think order matters, like this:

type User @model @auth(rules: [{allow: owner}, {allow: private, provider: iam}]) {
  profile_pic: S3Object
}

type Button @model @auth(rules: [{allow: owner}]) {
  image: S3Object
}

type S3Object {
  bucket: String!
  region: String!
  key: String!
}

amplify push
download the generated Schema from the appsync panel
the Button model wrongly has the @aws_iam

Log output
# Put your logs below this line

@wvidana What is your default mode of authentication?
I tried to repro with the following auth mode
"authConfig": {
          "defaultAuthentication": {
            "authenticationType": "AMAZON_COGNITO_USER_POOLS",
            "userPoolConfig": {
              "userPoolId": "authfunkXXX"
            }
          },
          "additionalAuthenticationProviders": [
            {
              "authenticationType": "AWS_IAM"
            }
          ]
        }

The build schema came out as follows for button
type User @aws_iam @aws_cognito_user_pools {
  id: ID!
  profile_pic: S3Object
  createdAt: AWSDateTime!
  updatedAt: AWSDateTime!
  owner: String
}

type Button {
  id: ID!
  image: S3Object
  createdAt: AWSDateTime!
  updatedAt: AWSDateTime!
  owner: String
}

type S3Object @aws_iam @aws_cognito_user_pools {
  bucket: String!
  region: String!
  key: String!
}

@SwaySway

* Are you using any custom resolvers?

Yes, a Lambda resolver acting as an API Endpoint
type Query {
    api_name(body: CustomBody!, somefield: String): String @function(name: "myfunction-${env}")
}

* Custom Stacks?

Yes, but not on api, we have added some custom lines in:

auth: to solve circular dependency with lambda triggers https://github.com/aws-amplify/amplify-cli/issues/4568
function: same as auth, we needed some extra code to be able to create a PreSignUp trigger with access to the DynamoDB created by api
storage: only an output, to reference from other stacks
custom: we created a custom stack from scratch since we needed an SQS queue. We are currently moving that to another repository since the amplify project will not need access to it

* Does the schema use any appsync auth directives? (ex. `@aws_iam` `@aws_cognito_user_pools`)

No, at least not anything like @aws_.
We are using:@model, @auth, @key, @function (the custom resolver) and @connection

* If possible can you provide your `transform.confg.json`? (located within api dir)

{
    "Version": 5,
    "ElasticsearchWarning": true,
    "ResolverConfig": {
        "project": {
            "ConflictHandler": "AUTOMERGE",
            "ConflictDetection": "VERSION"
        }
    },
    "StackMapping": {
        "QueryfoobarByUserResolver": "Foobar",
        "QueryfoobarByUserAcccessResolver": "Foobar",
        "QueryfoobarByStatusResolver": "Foobar"
    }
}

@wvidana did you enable adminUI in your previous project?

If admin UI is enabled, we auto-add the @aws_iam directive for the models to be accessible from the data manage section of Admin UI.

@nikhname yes we did! That might explain it :)
Anyways, since I couldn't replicate the issue in a fresh new project, we ended up re-creating the whole project with the newest amplify, and things seems to be working fine.

Closing this issue - should you have run into more issues with this please comment below.


Add SpheroidLocation class

Adds SpheroidLocation:

Conversion to and from Cartesian coordinates

Find tangential vectors (and by extension the tangential plane)

Determine if a point is visible to the ground station in a given epoch.

Add accompanying tests

@I thought more about this and started researching what could be added, I think it would make more sense if we renamed GroundStation in something like SpheroidLocation (kind like a generalized astropy's EarthLocation).

Let's merge this, and we will take care about the Body objects later! Thanks a lot @Sedictious :clap:


chore(sync-files): change sync-files source repository

Description
Change sync-files source repository. See https://github.com/autowarefoundation/autoware/issues/4058 for details.
Tests performed
It cannot be tested during the pull request, so it must be confirmed after the merge.
Effects on system behavior
Not applicable.
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[ ] I've confirmed the contribution guidelines.
[ ] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

Superseded by:

https://github.com/autowarefoundation/autoware.universe/pull/9527


doc packaged as EPUB, can we please have exploded / expanded / unzipped as well as?

ReadiumCSS_docs.epub:
https://github.com/readium/readium-css/blob/develop/docs/ReadiumCSS_docs.epub
@JayPanoz would it be possible please to store in the GitHub repository the extracted files of ReadiumCSS_docs.epub, for example inside a folder called ReadiumCSS_docs?
https://github.com/readium/readium-css/tree/develop/docs/ReadiumCSS_docs
This way, the Readium "cloud / web reader" won't have to load the entire 1.5+MB EPUB in memory:
https://readium.firebaseapp.com/?epub=https%3A%2F%2Frawgit.com%2Freadium%2Freadium-css%2Fdevelop%2Fdocs%2FReadiumCSS_docs.epub
Thanks! :)

Also, for your information, this is the Readium2 "webpub manifest" JSON view:
https://readium2.herokuapp.com/pub/aHR0cHM6Ly9yYXdnaXQuY29tL3JlYWRpdW0vcmVhZGl1bS1jc3MvZGV2ZWxvcC9kb2NzL1JlYWRpdW1DU1NfZG9jcy5lcHVi/manifest.json/show/all
(ReadiumCSS_docs.epub is dynamically fetched from GitHub, via the RawGit proxy)

Here you go → https://github.com/readium/readium-css/tree/e9e03f58171a56d34bbd05d3bc2148180d289833/docs/ReadiumCSS_docs

...and another FYI, this is EPUB.js loading ReadiumCSS_docs.epub via the Readium webpub JSON:
https://s3.amazonaws.com/epubjs-manifest/examples/manifest.html?href=https://readium2.herokuapp.com/pub/aHR0cHM6Ly9yYXdnaXQuY29tL3JlYWRpdW0vcmVhZGl1bS1jc3MvZGV2ZWxvcC9kb2NzL1JlYWRpdW1DU1NfZG9jcy5lcHVi/manifest.json

Thanks @JayPanoz it works:
https://readium.firebaseapp.com/?epub=https%3A%2F%2Frawgit.com%2Freadium%2Freadium-css%2Fdevelop%2Fdocs%2FReadiumCSS_docs
:)

Thanks!
FYI I still have to align some parts of the doc with the current implementation, since we can now deal with it without any “iOS-implem” specific one. But I’ll update the docs ASAP (reviewed them this morning so I already know which parts I must edit).


CKE EasyImage upload does not upload

Description of bug
the option to use a simpler image upload (EasyImage) that was introduced in #4405 doesn't seem to be working anymore in DNN 9.11.0.
Steps to reproduce
In the CKEditor configuration, set the image upload buttonj to EasyImage:

After that, refresh the editor and click the image button.
The chosen image will not be uploaded.
Current behavior
The image is not uploaded. Not requests are sent to the server.
Affected version

[X] 09.11.01 latest supported release
[X] 09.11.00
[ ] 09.10.02 It works in this version

Affected browser

[X] Chrome
[X] Firefox
[X] Safari
[X] Internet Explorer 11
[X] Microsoft Edge (Classic)
[X] Microsoft Edge Chromium

not stale


Add University Controller and Tests

In this PR, we add an endpoint /api/university/get that can be used to get information
about the location of a particular university.
Closes #15

Merging branch with University service, controller, and tests

Merging branch with University Controller and Tests


refactor: various polishing

added error handling for ontology term retrieval: closes #3551
added error handling for example simulation run submission
fixed caching of simulation run summaries
fixed local submission of example simulation runs

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


Automation

Is there a powershell module that enables me to make PIM eligibility assignments?  Or a way to assign PIM eligibility to a group (that I can then manage through powershell)? For all of Microsoft's talk of DevOps and Infrastructure as Code and powershell automation, there's a disappointing lack of any of these features/abilities for core infrastructure in and related to Azure/AAD (PIM, Conditional Access, AAD Connect,...……..).  How does Microsoft recommend using RBAC to manage access through PIM?

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

ID: d5eac37f-77bd-6367-bf29-f4f5ffb75c6f
Version Independent ID: a9d7f46e-b074-8654-aa09-1568afa2e1d0
Content: Assign Azure AD roles in PIM - Azure Active Directory
Content Source: articles/active-directory/privileged-identity-management/pim-how-to-add-role-to-user.md
Service: active-directory
Sub-service: pim
GitHub Login: @curtand
Microsoft Alias: curtand

@Scrapper9, Thank you for sharing the query. We are working on this and will get back to you soon on this thread.

I agree, there is a disappointing lack of documentation and integration with native product RBAC assignments and PIM. For example, why can't I integrate Exchange RBAC with PIM to assign someone very granular permissions in Exchange without those permissions being permanently static? Huge investment needed in this area.

Hi @scottclarke1
Thanks for your feedback and your patience! I have pinged the PM but there is an article that dates from September:  https://docs.microsoft.com/en-us/azure/active-directory/privileged-identity-management/powershell-for-azure-ad-roles
I hope this help and Shaun or I will add to this when he replies.
@souravmishra-msft

Hi @scottclarke1
Thanks for your dedication to our documentation! We have continued to work to provide unified API support across Azure resource roles, Azure AD roles, and privileged access groups, and have published a new API article explaining its conceptual framework:
https://docs.microsoft.com/azure/active-directory/privileged-identity-management/pim-apis.
However, we're not able at this time to support PIM eligibility and activation for other role-based access systems in Microsoft 365 and these aren't yet on our roadmap. I would open a work item, but there's no resourcing or timeline, so we're closing this issue, but feel free to comment here as necessary.
#please-close


Regression: exists(':keepalt') (and 5 more) return 0 instead of 2 (since Vim 9.1.352)

Steps to reproduce
exists(':keepalt') returns 0 instead of 2 even though :keepalt (even on its own) is a valid built-in command.
Expected behaviour
Scripts need a reliable way to query whether a command exists.
My ingo-library plugin uses a a check to return an emulation of the :keeppatterns command for older Vim versions that don't have it. That emulation had scoping side-effects that triggered a bug in one of my plugins. So this was a very subtle problem ;-)
Version of Vim
9.1.352 .. 9.1.602
Environment
Vim on Ubuntu 20.04 LTS (shouldn't matter)
I've bisected the problem to https://github.com/vim/vim/commit/ed908f760d9fe933690745bac91aedb698bbd48f / v9.1.0352
A total of 6 commands (ignoring the :{, see below) are affected.
:echo filter(getcompletion('', 'command'), 'exists(":" . v:val) == 0')
['*', '++', '--', 'keepalt', 'keepjumps', 'keeppatterns', '{']

Furthermore, :{ isn't an actual command, so it's a bit problematic that both :{ and :} are in the list of completions, and :echo exists(':}') actually returns 2, but :} gives E1128: } without {: } But that's a separate issue.
Logs and stack traces
No response

@basilisk0315 can you please check it?

The problem might have something to do with the :k command, which is a command on its own but also the common prefix of the :keep... commands.
Interestingly, exists(':k') returns 1 (match with start of a command), but it's both that and 2 (full match with a command) - I would have expected 2 here. (But then again the whole :k is not supported in Vim9 script any longer.)

I see the issue.
What about those:
:echo filter(getcompletion('', 'command'), 'exists(":" . v:val) == 0')
['*', '++', '--', 'keepalt', 'keepjumps', 'keeppatterns', '{']

Let's ignore the :keep* for a second, I can fix those.
:* is only valid, when you do :set cpo+=*. I think that is fine.
:++ and :-- is only valid in vim9 context, I think that is fine.
And I can ignore the :{ and :} when completing the items. I think this should be fine then?

Yeah, I also think that :{ and :} shouldn't be offered by completion, and :*, :++ and :-- are too obscure to bother. :+1:


Adds name tag to Docker image

Fix for #440

I tried this and it worked fine the first time, so I merged it, but then it was reported that successive runs failed, which I have verified.  I had to revert this for the time being.

Think I got it, added back.  Added the --rm flag, and did a manual clean-up first in case users have one already present that wasn't cleaned up.  We probably could have just done --rm without adding a name, but now we have full control of it I guess.


Revert "[ScrollArea] Viewport fixes (#2945)"

Reverts changes in #2945 that caused a regression where scroll area elements without horizontal overflow do not span with width of their container.

Reverting back the display: table causes so much issues... please consider providing a way to control the behavior via a prop


UI rewrite to use prompt()

The current TUI is a bit clunky and wierd to use. It needs to be scrolled down with arrows, which isn't handy, [have to leave the home row] and the feedback loop when a value is invalid is not very friendly.
Something that prompts for fields and provides immediate feedback if any is invalid should be more friendly and allow more code reuse with the cli frontend. It's likely we can drop urwid entirely, and just use click.prompt().
todo new
Summary?
> some summary
Description? [none]
>
...

Not sure if to ask about all fields each time or not. It might get annoying quickly, but there's always the one liner:
todo new "Using quotes is handy if you todo's description has apostrophes."

Not sure if to ask about all fields each time or not.

How about leaving it to the users to set up classes of todos in their config files?
sample config:
class_a = "default;summary"
class_b = "summary,location"
class_c = "*"

Here, default class a has just the summary, is used when todo new is called with no option or todo new -c a
todo new -c b additionally asks for location and class c for everything (but you could still skip by entering nothing).

I like this approach, will definitely keep it in mind.

I was wondering if it could be [none]/[d]one
With a single "d" saving the todo in the actual state.