CRS conversion between PROJ and WKT loses lat_ts parameter

I have a case where I'm converting from a PROJ dict to a CRS object then storing it as WKT. When I then request the PROJ back from the WKT (WKT -> CRS object -> PROJ dict) I lose the +lat_ts parameter.
Code Sample, a copy-pastable example if possible
A "Minimal, Complete and Verifiable Example" will make it much easier for maintainers to help you:
http://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports
from pyproj import CRS
crs = CRS({'a': '6378144.0', 'b': '6356759.0', 'lat_0': '50.00', 'lat_ts': '50.00', 'lon_0': '8.00', 'proj': 'stere'})
crs.to_proj4()
# '+proj=stere +a=6378144.0 +b=6356759.0 +lat_0=50.00 +lat_ts=50.00 +lon_0=8.00 +type=crs'
CRS(crs.to_wkt()).to_proj4()
# '+proj=stere +lat_0=50 +lon_0=8 +k=1 +x_0=0 +y_0=0 +a=6378144 +rf=298.253168108487 +units=m +no_defs +type=crs'

crs.to_wkt()
# 'PROJCRS["unknown",BASEGEOGCRS["unknown",DATUM["unknown",ELLIPSOID["unknown",6378144,298.253168108487,LENGTHUNIT["metre",1,ID["EPSG",9001]]]],PRIMEM["Greenwich",0,ANGLEUNIT["degree",0.0174532925199433],ID["EPSG",8901]]],CONVERSION["unknown",METHOD["Stereographic"],PARAMETER["Latitude of natural origin",50,ANGLEUNIT["degree",0.0174532925199433],ID["EPSG",8801]],PARAMETER["Longitude of natural origin",8,ANGLEUNIT["degree",0.0174532925199433],ID["EPSG",8802]],PARAMETER["Scale factor at natural origin",1,SCALEUNIT["unity",1],ID["EPSG",8805]],PARAMETER["False easting",0,LENGTHUNIT["metre",1],ID["EPSG",8806]],PARAMETER["False northing",0,LENGTHUNIT["metre",1],ID["EPSG",8807]]],CS[Cartesian,2],AXIS["(E)",east,ORDER[1],LENGTHUNIT["metre",1,ID["EPSG",9001]]],AXIS["(N)",north,ORDER[2],LENGTHUNIT["metre",1,ID["EPSG",9001]]]]'

Problem description
The lat_ts parameter disappears. I think this is a valid PROJ definition but the WKT seems to lose the parameter.
Expected Output
Keep the lat_ts parameter.
Environment Information

Output from: python -m pyproj -v

pyproj info:
    pyproj: 2.5.0
      PROJ: 6.3.1
  data dir: /home/davidh/miniconda3/envs/satpy_py37/share/proj

System:
    python: 3.7.6 | packaged by conda-forge | (default, Jan  7 2020, 22:33:48)  [GCC 7.3.0]
executable: /home/davidh/miniconda3/envs/satpy_py37/bin/python
   machine: Linux-5.3.0-7642-generic-x86_64-with-debian-buster-sid

Python deps:
       pip: 20.0.2
setuptools: 46.0.0.post20200311
    Cython: 0.29.15

Installation method
conda with conda-forge
Conda environment information (if you installed with conda):

Environment (conda list):

$ conda list | grep -E "proj|aenum"

Details about  conda and system ( conda info ):

$ conda info

In the first example, lat_ts and lat_0 are the same, which can't work in this projection. Setting these to different values solves the problem.

This logic is handled by PROJ. It seems to have the same behavior:
projinfo '+proj=stere +a=6378144.0 +b=6356759.0 +lat_0=50.00 +lat_ts=50.00 +lon_0=8.00 +type=crs'
PROJ.4 string:
+proj=stere +a=6378144.0 +b=6356759.0 +lat_0=50.00 +lat_ts=50.00 +lon_0=8.00 +type=crs

WKT2:2019 string:
PROJCRS["unknown",
    BASEGEOGCRS["unknown",
        DATUM["unknown",
            ELLIPSOID["unknown",6378144,298.253168108487,
                LENGTHUNIT["metre",1,
                    ID["EPSG",9001]]]],
        PRIMEM["Greenwich",0,
            ANGLEUNIT["degree",0.0174532925199433],
            ID["EPSG",8901]]],
    CONVERSION["unknown",
        METHOD["Stereographic"],
        PARAMETER["Latitude of natural origin",50,
            ANGLEUNIT["degree",0.0174532925199433],
            ID["EPSG",8801]],
        PARAMETER["Longitude of natural origin",8,
            ANGLEUNIT["degree",0.0174532925199433],
            ID["EPSG",8802]],
        PARAMETER["Scale factor at natural origin",1,
            SCALEUNIT["unity",1],
            ID["EPSG",8805]],
        PARAMETER["False easting",0,
            LENGTHUNIT["metre",1],
            ID["EPSG",8806]],
        PARAMETER["False northing",0,
            LENGTHUNIT["metre",1],
            ID["EPSG",8807]]],
    CS[Cartesian,2],
        AXIS["(E)",east,
            ORDER[1],
            LENGTHUNIT["metre",1,
                ID["EPSG",9001]]],
        AXIS["(N)",north,
            ORDER[2],
            LENGTHUNIT["metre",1,
                ID["EPSG",9001]]]]

Same parameters lost when WKT is used:
projinfo -o PROJ 'PROJCRS["unknown",BASEGEOGCRS["unknown",DATUM["unknown",ELLIPSOID["unknown",6378144,298.253168108487,LENGTHUNIT["metre",1,ID["EPSG",9001]]]],PRIMEM["Greenwich",0,ANGLEUNIT["degree",0.0174532925199433],ID["EPSG",8901]]],CONVERSION["unknown",METHOD["Stereographic"],PARAMETER["Latitude of natural origin",50,ANGLEUNIT["degree",0.0174532925199433],ID["EPSG",8801]],PARAMETER["Longitude of natural origin",8,ANGLEUNIT["degree",0.0174532925199433],ID["EPSG",8802]],PARAMETER["Scale factor at natural origin",1,SCALEUNIT["unity",1],ID["EPSG",8805]],PARAMETER["False easting",0,LENGTHUNIT["metre",1],ID["EPSG",8806]],PARAMETER["False northing",0,LENGTHUNIT["metre",1],ID["EPSG",8807]]],CS[Cartesian,2],AXIS["(E)",east,ORDER[1],LENGTHUNIT["metre",1,ID["EPSG",9001]]],AXIS["(N)",north,ORDER[2],LENGTHUNIT["metre",1,ID["EPSG",9001]]]]'
PROJ.4 string:
+proj=stere +lat_0=50 +lon_0=8 +k=1 +x_0=0 +y_0=0 +a=6378144 +rf=298.253168108487 +units=m +no_defs +type=crs

In the first example, lat_ts and lat_0 are the same, which can't work in this projection. Setting these to different values solves the problem.

@mraspaud do you have an example?

I'm not seeing this:
In [4]: crs = CRS({'a': '6378144.0', 'b': '6356759.0', 'lat_0': '50.00', 'lat_ts': '40.00', 'lon_0': '8.00', 'proj': 'stere'})

In [5]: CRS(crs.to_wkt()).to_dict()
/home/davidh/miniconda3/envs/satpy_py37/lib/python3.7/site-packages/pyproj/crs/crs.py:539: UserWarning: You will likely lose important projection information when converting to a PROJ string from another format. See: https://proj.org/faq.html#what-is-the-best-format-for-describing-coordinate-reference-systems
  proj_string = self.to_proj4()
Out[5]:
{'proj': 'stere',
 'lat_0': 50,
 'lon_0': 8,
 'k': 1,
 'x_0': 0,
 'y_0': 0,
 'a': 6378144,
 'rf':<PHONE_NUMBER>08487,
 'units': 'm',
 'no_defs': None,
 'type': 'crs'}

In [2]: from pyproj import CRS
   ...: crs = CRS({'a': '6378144.0', 'b': '6356759.0', 'lat_0': '90.00', 'lat_ts': '50.00', 'lon_0': '8.00', 'proj': 'stere'})
   ...: crs.to_proj4()

Out[2]: '+proj=stere +lat_0=90 +lat_ts=50 +lon_0=8 +x_0=0 +y_0=0 +a=6378144 +b=6356759 +units=m +no_defs +type=crs'

In [3]: CRS(crs.to_wkt()).to_proj4()

Out[3]: '+proj=stere +lat_0=90 +lat_ts=50 +lon_0=8 +x_0=0 +y_0=0 +a=6378144 +rf=298.253168108487 +units=m +no_defs +type=crs'

If you change lat_0 to anything other than 90 I think it drops the lat_ts. So maybe lat_ts only makes sense with lat_0 being a pole?

Ok, there is definitively some interaction between lat_0 and lat_ts. Setting lat_0 to something different than 90 or -90 discards lat_ts. Setting lat_0 to -90 and lat_ts to 50 reverts back lat_0 to 90.

If you change lat_0 to anything other than 90 I think it drops the lat_ts. So maybe lat_ts only makes sense with lat_0 being a pole?

Ah, yes, of course. If you set the pole to somewhere else, then the true scale can't be defined as a latitude, since we're rotation the entire system.

In WKT, there are three stereographic choices to create a stere operation currently in pyproj:

PolarStereographicAConversion
PolarStereographicBConversion
StereographicConversion

The only one with lat_ts as an input is PolarStereographicBConversion

Ok so are we calling these two cases (the stereographic and lat/lon) invalid in the way we are using them? Both of these cases were tests that someone had written in to pyresample so they weren't necessarily real world use cases. I can fix our tests to be more real-world-ish.
Bottom line: These aren't bugs in your opinion, right @snowman2?

These aren't bugs in your opinion, right?

I definitely don't claim to be an expert on this. Just digging around for clues for if the behavior is expected or not. Might be worth raising an issue upstream in the PROJ repo to see what the devs have to say about it.

Sounds like this has been resolved/clarified upstream if I understand correctly. If I am incorrect, feel free to reopen.


A bunch of unrelated fixes

8dc4fae adds a setup.py and related documentation
so one can do
$ python setup.py develop

and get a properly symlinked pullme.
c2b23e6 makes pullme behave with emacs' weird shell-mode
behavior. Basically it will completely ignore getpass'
attempts to protect the password UNLESS the password
prompt consists of "Password: " and that's it, in which
case it will prompt you in the minibuffer and not echo.
752c19b closes 13.

:shipit:


Add support for explicit access key and secret in sasl.jaas.config (#98)

Issue #, if available:
#98
Description of changes:
Added support for role + explicit access key/secret in the jaas config.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Fwiw, there is a build available at https://jitpack.io/#mkoch1/aws-msk-iam-auth/1.1.5-EF in case anyone has use for it.


OSS audio support

Still want this. Updated to trunk based on bugzilla patch I think.
Tested on NetBSD-8.99.14/amd64.
Not all tests passing. However I can hear it make audio and a good bit do.
Running tests...
/usr/pkg/bin/ctest --force-new-ctest-process
Test project /home/fly/cubeb/build
      Start  1: sanity
 1/12 Test  #1: sanity ...........................***Failed   33.57 sec
      Start  2: tone
 2/12 Test  #2: tone .............................   Passed    1.45 sec
      Start  3: audio
 3/12 Test  #3: audio ............................***Failed   36.61 sec
      Start  4: record
 4/12 Test  #4: record ...........................   Passed    0.00 sec
      Start  5: devices
 5/12 Test  #5: devices ..........................***Exception: SegFault  0.00 sec
      Start  6: callback_ret
 6/12 Test  #6: callback_ret .....................***Failed    2.12 sec
      Start  7: resampler
 7/12 Test  #7: resampler ........................   Passed   10.40 sec
      Start  8: duplex
 8/12 Test  #8: duplex ...........................***Failed    0.01 sec
      Start  9: latency
 9/12 Test  #9: latency ..........................   Passed    0.00 sec
      Start 10: ring_array
10/12 Test #10: ring_array .......................   Passed    0.00 sec
      Start 11: utils
11/12 Test #11: utils ............................   Passed    0.00 sec
      Start 12: ring_buffer

Last one seemed to take a long time/spin.

The failure on the sanity test is:
/home/fly/cubeb/test/test_sanity.cpp:558: Failure
Value of: do_drain != 2
  Actual: false
Expected: true

the devices test seems to read garbage from somewhere.
the audio test failure:
Testing 2 channel(s), 44100 Hz, short (oss)
Testing 2 channel(s), 44100 Hz, float (oss)
--------------------------
Testing 2 channel(s), 48000 Hz, short (oss)
Testing 2 channel(s), 48000 Hz, float (oss)
--------------------------
Testing 3 channel(s), 16000 Hz, short (oss)
Error initializing cubeb stream: -2
/home/fly/cubeb/test/test_audio.cpp:249: Failure
Value of: CUBEB_OK
  Actual: 0
Expected: run_test(channels, freq, 0)
Which is: -2
[  FAILED  ] cubeb.run_channel_rate_test (21164 ms)
[----------] 3 tests from cubeb (36688 ms total)

I'm guessing hard coding two channels is a bad idea, which the patch did.

I've merged some changes to hard code less from #41, but the audio test is still failing at trying the 3rd channel - I guess apparently having two audio channels on my machine isn't helping

the devices segfault is from enumerate_devices being NULL, which is probably a bad idea to have.

Thanks! It'd be great to merge this so that it's easier to build/maintain/use for the people who want it.

the devices segfault is from enumerate_devices being NULL, which is probably a bad idea to have.

It's supposed to be optional to implement.  cubeb_enumerate_devices checks for a non-nullptr in cubeb_ops.enumerate_devices before trying to use it.

I was waiting to hear whether the enumerate_devices crash and the test failure were resolved.  Any luck with them?

Closing in favour of #510 which was written by nia from scratch after expressing doubts about the code in this pull request, when trying to fix tests.


Custom controller doc is hard to understand

I am attempting to build a custom controller for an endpoint (I used http://dunglas.fr/2015/06/introducing-dunglass-api-platform-beta-the-next-generation-php-framework/ as a primer to get started).
I would like to have a controller for my "people" endpoint so I can eventually add in security restrictions.  For example only authenticated users with the role "ROLE_PEOPLE_LIST" can see the people listing.  Or say if a user has the "ROLE_PEOPLE_LIST_IN_MY_ORGANIZATION" will list people in that users organization via a filter.
Of course, I may be thinking about this incorrectly, and maybe I do not want a controller.  However I can not seem to get a custom controller working and I have tried more variations on what is in the doc than I would care to admit.
Is there a best practice for restricting access to an endpoint?  Or partially restricting access to a pre-filtered list?

Hi @awildeep,
Generally speaking, creating a custom controller should be done in last resort. For use cases you describe, I think there is cleaner ways:
Blocking the whole list to a given role
Using the Symfony security component is the recommended way: http://symfony.com/doc/current/book/security.html#denying-access-roles-and-other-authorization
Partial list filtering
Using a custom DataProvider doing the appropriate database query according to the current user role is considered a best practice: https://github.com/dunglas/DunglasApiBundle/blob/master/Resources/doc/data-providers.md
We will add cookbook for such common use cases, it's a work on progress.
However, creating custom controller should work. Have you registered a custom operation for your custom controller? Can you upload your test in a GitHub repo so I can reproduce the problem or help you to fix the configuration?

@dunglas
So you are using the Symfony firewall to restrict access.   That makes sense.
I'll have to look into the DataProvider.   I am guessing you have no examples that check Roles yet.
As for the controller, I did not have a custom operation registered.   The doc for custom controllers makes it seem like my custom controller would override the prebuilt one from the start.  I'll take another stab at getting a controller working and see if I can update the doc in a pull request.
Thanks for the response.

Enhancing the doc will be of course greatly appreciated! Thanks for proposing.
The custom controller doesn't automatically override the default one:

if you don't map it with a custom operation, you must expose it with the routing system (e.g. annotations) manually.
to override the controller for a built-in action you must register a custom operation (internally the bundle registers default operations thanks to a compiler pass if no custom operation is set).

You're right: the doc must explicit that.

Is the doc updated about this ? It is still relevant ?

It's easier in v2 and the doc has been updated.


:bomb: Bug: Apply failed => some error(s) occurred during plugins apply process

What Happened?
./dtm apply -y
2022-12-04 23:12:04 ℹ [INFO]  Apply started.
2022-12-04 23:12:05 ℹ [INFO]  Using local backend. State file: devstream.state.
2022-12-04 23:12:05 ℹ [INFO]  Tool (repo-scaffolding/golang-github) found in config but doesn't exist in the state, will be created.
2022-12-04 23:12:05 ℹ [INFO]  Tool (githubactions-golang/default) found in config but doesn't exist in the state, will be created.
2022-12-04 23:12:05 ℹ [INFO]  Start executing the plan.
2022-12-04 23:12:05 ℹ [INFO]  Changes count: 2.
2022-12-04 23:12:05 ℹ [INFO]  -------------------- [  Processing progress: 1/2.  ] --------------------
2022-12-04 23:12:05 ℹ [INFO]  Processing: (repo-scaffolding/golang-github) -> Create ...
2022-12-04 23:12:05 ℹ [INFO]  github start to download repoTemplate...
2022-12-04 23:12:07 ⚠ [WARN]  repo render file failed: template: go-webapp-devstream-demo:19:18: executing "go-webapp-devstream-demo" at <.imageRepo>: map has no entry for key "imageRepo"
2022-12-04 23:12:07 ⚠ [WARN]  repoScaffolding render repoTemplate failed=> template: go-webapp-devstream-demo:19:18: executing "go-webapp-devstream-demo" at <.imageRepo>: map has no entry for key "imageRepo"
2022-12-04 23:12:07 !! [ERROR]  repo-scaffolding/golang-github Create failed with error: render RepoTemplate files failed
2022-12-04 23:12:07 ℹ [INFO]  -------------------- [  Processing aborted.  ] --------------------
2022-12-04 23:12:07 !! [ERROR]  Errors Map: key(repo-scaffolding/golang-github/Create) -> value(render RepoTemplate files failed)
2022-12-04 23:12:07 !! [ERROR]  Apply failed => some error(s) occurred during plugins apply process.

How to Reproduce?
./dtm show config -t quickstart > config.yaml
sed -i "s@YOUR_GITHUB_USERNAME_CASE_SENSITIVE@${GITHUB_USER}@g" config.yaml
sed -i "s@YOUR_DOCKER_USERNAME@${DOCKERHUB_USERNAME}@g" config.yaml
./dtm init
./dtm apply -y
Anything else
DevStream Version 0.10.1
Linux manjaro-xfce-21.3.7-220816-linux515
DevStream Version
latest

@bbkxm Could you please show me the rendered config.yaml(after sed)?

`config:
state: # state config, backend can be local, s3 or k8s
backend: local
options:
stateFile: devstream.state
tools:

name: repo-scaffolding
instanceID: golang-github
options:
destinationRepo:
owner: karasart
org: ""
repo: go-webapp-devstream-demo
branch: main
repoType: github
sourceRepo:
org: devstream-io
repo: dtm-scaffolding-golang
repoType: github
vars:
ImageRepo: karasart/devstream-test
name: githubactions-golang
instanceID: default
dependsOn: ["repo-scaffolding.golang-github"]
options:
owner: karasart
repo: go-webapp-devstream-demo
language:
name: go
version: "1.18"
branch: main
build:
enable: True
test:
enable: True
coverage:
enable: True
docker:
enable: False

`

@bbkxm Could you please show me the rendered config.yaml(after sed)?

config:
  state: # state config, backend can be local, s3 or k8s
    backend: local
    options:
      stateFile: devstream.state

tools:
- name: repo-scaffolding
  instanceID: golang-github
  options:
    destinationRepo:
      owner: bbkxm
      org: ""
      repo: go-webapp-devstream-demo
      branch: main
      repoType: github
    sourceRepo:
      org: devstream-io
      repo: dtm-scaffolding-golang
      repoType: github
    vars:
      ImageRepo: bbkxm/go-webapp-devstream-demo
- name: githubactions-golang
  instanceID: default
  dependsOn: ["repo-scaffolding.golang-github"]
  options:
    owner: bbkxm
    repo: go-webapp-devstream-demo
    language:
      name: go
      version: "1.18"
    branch: main
    build:
      enable: True
    test:
      enable: True
      coverage:
        enable: True
    docker:
      enable: False


Wav files do not play on iPhone XS

https://osf.io/fehvs/ as an example wav file. If you try to play this on an iphone XS, see the attached screecap.

As a side note, wav files are large. something to consider would be converting sound files to a lighter format rendering, just like images are all rendered as jpegs by MFR. This would resolve this issue for IE also https://github.com/CenterForOpenScience/modular-file-renderer/issues/141


Fixed methods not being exposed outside their module

Fixes #10
Description

Added public to extension method so it can be seen when being used in other Swift modules e.g. when installing via CocoaPods
Incremented version number
Other: Removed legacy scheme, updated Travis to use Xcode 8.2

Note

Note. after merging, tagged version and push to CocoaPods will be required

Status

[ ] Review

Current coverage is 100% (diff: 100%)

Merging #11 into master will not change coverage

@@           master   #11   diff @@
===================================
  Files           4     4
  Lines          69    69
  Methods         0     0
  Messages        0     0
  Branches        0     0
===================================
  Hits           69    69
  Misses          0     0
  Partials        0     0

Powered by Codecov. Last update de1fbeb...4e02bd9

Updated the Travis CI file to use Xcode 8.2 image but had issues getting this to run on iOS 10.2 Simulators (Simulator UUIDs not being picked up)
I'm gonna leave that for another PR so we can get this CocoaPods related fix in sooner rather than later and maybe contact Travis CI about the issue
Related: https://github.com/travis-ci/travis-ci/issues/7031

Merging now to fix this scope issue and will look at Travis CI issues in a separate PR


Multiple X9C on one Arduino

Hi Phibowles,
how to use multiple X9C on One Arduino.
Thanks

Hmm... I had that question too.
An example with more than 1 Pot would be helpful.


Add "squicky"

Causing psychological discomfort, according to Urban Dictionary: http://www.urbandictionary.com/define.php?term=squick&defid=454728

Taken care of in 83dd768


Initial version of GPU ECC error checking tool

-conveniently reports all relevant GPU ECC counts in a report.
-Analyses the GPU ECC errors and makes recommendations what actions you should take to recover from the ECC errors (e.g no-action (its healthy), re-boot node to recover or submit a support request to report an unhealthy node).

I would suggest returning unique error codes when issues are detected.
This would allow a calling script (e.g. NHC) to easily capture and identify errors.


add button to request upload of raw logs for a route/segment

It would be nice if you could be watching a segment/route and click a button to upload raw logs directly from explorer (through athena) along with progress information as files get uploaded.

This can be closed since connect now has the requested feature.


follow the guidelines for packages using STAN

These are for R packages, but still...
https://cran.r-project.org/web/packages/rstantools/vignettes/developer-guidelines.html

Abandoning use of STAN in this toolbox. See darc-analysis-python for an implementation with more modern samplers.


Refactor AdBanner into a Card so it doesn't interfere with the Header

Not only when logged in

Done!


postgres unexpected eof

There is an error when running the following query
Database: Postgres
COPY tls224_appln_cpc FROM 'tls224_part01.csv' WITH CSV HEADER;

Error:
"unexpected eof"

File:
looks good.
Results are also all in the DB

might have something todo with a timeout.
SET statement_timeout = 1200000; -- 20 minutes


[Merge on Monday 26]Student finance forms - Publish

https://www.agileplannerapp.com/boards/105200/cards/9079

:+1:


Can you tell me what is this line for? [@direction]="direction"

I think it has to do with some animation as per notation.
Further info:
https://angular.io/guide/animations

Please keep GitHub issues for bug reports / feature requests. Better avenues for troubleshooting / questions are stack overflow, gitter, mailing list, etc.
(this is a canned response)


add php-8.1

Closing this as new PHP versions need only a workflow trigger. I've triggered base FPM image for 8.1.1 now. Will update once FPM with Loaders is available for 8.1.1. We can then move on to the Warden repo. Thank you!


FTFY 👨⚕

This marvelous piece of art gives credit where credit is due.
If it's on your ID, why not EVERYWHERE?

Hum. Currently, I prefer the "english" way of omitting titles in names (mostly). Will think about it!
Thanks, Chrizzo!


US4802 - Android specific crowding import

US4802

@bmalkowski it's probably make sense to have just one crowdin_import file  instead of 2 specific implementations and pass the platform specific parameters to it ? These ios/android parameters are the root pholder names


nanoc live can be provided by two gems

Summary of the issue
Currently the nanoc live command can be provided by two gems: guard-nanoc, and nanoc-live.
Nanoc-live seems to be the latest-and-greatest option, but guard-nanoc still works even though it's a bit broken.
Possible solution
Maybe recent versions of nanoc should warn when guard-nanoc is loaded instead of nanoc-live?

The documentation still seems to refer to guard-nanoc and I note that nanoc-live's version number still includes a "b4" suffix. So guard-nanoc may still be the current solution.

Indeed, except it's buggy: see #1449 which hit me when using guard-nanoc.

nanoc-live is still in beta and has some breaking issues which prevent it from being the main solution.

Oh, ok. So then I'm reopening #1449 :)

guard-nanoc and nanoc-live will soon (#1468) print a message similar to this:
----------------------------------------
NOTE:
You are using the `nanoc live` command provided by `nanoc-live`, but the `guard-nanoc` gem is also installed, which also provides a `nanoc live` command.
Recommendation: Remove `guard-nanoc` from your Gemfile.
----------------------------------------


chore: Bump dependencies

On my phone reviewing, do you know if any of these major dep bumps warrants a major on our end?  I.e., build targets changing

Most of the major version upgrades remove support for Node 6. Im not sure if that warrants a major version upgrade for us or not as we've already dropped support for it but we can do a major version bump to be safe.


Fixed #33199 -- Deprecated passing positional arguments to Signer/TimestampSigner.

Fixes ticket 33199
Added an *args argument to Signer to handle positional arguments sent to it and raise Deprecation warning.
I modified the tests of Signer to give keyword arguments to all the tests. Unsure if I should have added an ignore warning decorator instead.

@SirAbhi13  Thanks for updates :+1: I pushed small edits.


Use PowerShell to stop Syncing OneDrive folders

I am looking for a PowerShell script that stops syncing OneDrive folders.
I.e. I want to trigger the Stop Sync encircled using PS:

@ShehzadUIT The repo is for development only. For support please use forums or/and stackoverflow.com


Use JsDoc file overviews in every JavaScript file

Closes #85

Return and parameter type annotations usually don't go in top-level @file blocks. To document them, we would have to annotate the functions themselves, and In that case I think the issue should be updated accordingly.

Return and parameter type annotations usually don't go in top-level @file blocks. To document them, we would have to annotate the functions themselves, and In that case I think the issue should be updated accordingly.

@snowteamer Ok. I've added a comment that further clarifies the goal of that issue.


Issue with background (windows vulkan)

You can see some visual artifacts in the background. I'm not sure what the cause is, but I suspect it may be lower down the stack.

Strange! I tried running the game on a Windows system but didn't observe this issue. @derekdreery Do you observe this always or intermittently?

To be honest it could be a driver issue, I've got a novideo card with a 2017 driver. Maybe just leave the issue open to see if anyone else has the same problem?


CB-17112: Added use of script for automatically verifying if Atlas is fully up to date to DL resize process.

Jira: https://jira.cloudera.com/browse/CB-17112
Objective of this is to enable customers to run the appropriate salt commands to verify whether Atlas is up to date before initiating the resize process. In the future this will be used within a separate automatic flow within the resize process in order to fully automate and validate this before the core resize logic occurs.
I am opening this PR but have yet to finalize testing due to various issues. I would like eyes on it however since this is my first real Salt addition/change.

@lacikaaa Yes, It should have been a draft PR. Thanks for updating it.
The Idea of this change is to trigger a script in the CM node on-demand. This will be triggered from the data lake service as a part of the pre-check for data lake resize.

I have modified the MAX_RETRIES to fit a total wait time of 10 minutes (120 iterations x 5 second sleep time).

Local tests are now done and passing, moving this from a draft to a real PR.


Release and Tag List tweaks

Reduce font size on tag list and add muted links
Move Release tag to right side on release list
Move Release edit button to far-right and make it icon-only
Add styles for error dropdowns, seen on release edit page
Make the release page slightly more mobile-friendly

BTW I am not sure how to reproduce the .IsTag condition. It certainly didn't trigger if I create a tag-only release and regular tags did not show up in release list either. Maybe it is dead code.

Why so many different shades of red? Also I don't think dropdown menu should be red on errors.

Why so many different shades of red? Also I don't think dropdown menu should be red on errors.

It is default behaviour of Fomantic to color error dropdowns partially red, thought not as much as I did in the screenshot. I do agree the dropdown itself should stay uncolored, but it might require more hacks to override Fomantic in that regard.

I guess error dropdown improvements can be done in another PR.


parking, directional signs (outside)

I will see what we have from last year to help cut down on cost.

With it being downtown. I don't see us being able to post signs. We'll try to get a banner for the raling /fence in front of the building and a tent sign too.

We could use yard sign, like political signs. Weren't there some for parking directions last year? They were helpful. I may be able to borrow the wire frames for these signs, if that would cut down the cost. @ChrisTheDBA are you working the banners for fence and tent? Let me know if/where to pick up this task.

There are signs but posting signs downtown has been labeled littering. Not always but sometimes. We don't want to risk the slap on the wrist and fines.


[BUG]

Crashes On Launch When UPDATED!
FIX NOW

Any other support should go in the discord, and I can't do it without a log in any case. Since you seem to be incapable of finding the link, here's one: https://discord.gg/BbBUmbX


Fix DEPRECATION: Ember.keys is deprecated in favor of Object.keys

introduced in ember 1.13.3

Yes, good catch @jcope2013, and thank for the PR.
I should have been using Object.keys in the first place.


Added Glmixer

Tested and working. Not sure about the url32 and url64 though. This package is only available in 64 bit, and I can't seem to get it to work without specifying 32 bit credentials too.

Please update the icon

Done.

Also please embed the package

This package is now on hold. I don't have time to learn this technique. I need to go to work.
Also I prefer the user to see the package being downloaded from the publishers' url. Is there a way I can host this package myself but include it with the appveyor configuration?

Is there a way I can host this package myself but include it with the appveyor configuration?

That would unfortunately be against the requirements listed in the moderation documents on chocolatey.org.

If it is a download, is it getting it from the proper location? Use the project site (projectUrl) to determine where the download for the file is coming from and it should match the one in the package files. If not there needs to be a really, really good reason for not doing so.

Also I prefer the user to see the package being downloaded from the publishers' url

I do understand that (don't share that thought though, but that's another story).
However, embedded packages is recommended on chocolatey.org since they are the most resilient packages (usually), because they will continue to work even if the download location is down/changed/removed/replaced, but relying on downloading the file before installing would cause the install to fail if any of the mentioned situations occur.
And from my understanding of the guidelines in this repo, embedding whenever it is possible is required.

@AdmiringWorm your commit broke AU again. I changed the 32 bit url back.
If you aren't experiencing the same problem on update.ps1, perhaps you're running an outdated version of choco or au. Just guessing.

@Redsandro or vice versa.
I'm actually running choco v 0.10.3 and the latest master git source from https://github.com/majkinetor/au (same one that is used in this repo)

Chocolatey 0.10.3 and au 2017.1.14

Is there a way I can host this package myself but include it with the appveyor configuration?

That would unfortunately be against the requirements listed in the moderation documents on chocolatey.org.

I think you misunderstood. I mean host the chocolatey package (not the software installer) on my own repository, but trigger build/update with the chocolatey appveyor?

I'm sorry. If the build works in here, feel free to adjust, if you want to commit to master.
I have no idea why our builds differ. Perhaps AU gets upset when there is no 32 bit version only when it's running on a 32 bit machine. I'm running a 32 bit vm.

ah sorry, yes I did misunerstand.
The owner of au have set up a template repo that you can fork to host your own packages here: https://github.com/majkinetor/au-packages-template
You would need to set up appveyor yourself though.

I have no idea why our builds differ. Perhaps AU gets upset when there is no 32 bit version only when it's running on a 32 bit machine. I'm running a 32 bit vm.

yes, that would definitely be the reson, as AU uses the chocolatey helper which would fail downloading 64bit on a 32bit OS.

yes, that would definitely be the reson, as AU uses the chocolatey helper which would fail downloading 64bit on a 32bit OS.

Oh shoot! So you can't build 64 bit only packages on a 32 bit system. A bit silly, but probably a limitation with a good reason. Sorry for doubting you. :kissing_heart:

You would need to set up appveyor yourself though.

Hmm.. that's a bit steep at $30/month. Unfortunately, I can't get choco/au to work on mono (linux) just jet.

it's free for public repositories.

it's free for public repositories.

Really! That's interesting. Now that you mention it, yes this repo is open. Doesn't matter if I am a member of the organisation or not. Offtopic so moved here: https://github.com/chocolatey/chocolatey-coreteampackages/issues/590

@Redsandro I was just curious on the state of this package, have you had a chance to look at embedding the package?

Hi @AdmiringWorm,
I'm afraid I've reached my spare time quota. I'm away this weekend and a new project starts on monday.
Perhaps it's best if I host this package on a personal public repository. That way I can be a bit more subjective on the guidelines. :wink:

I see, well that is all up to you. Feel free to close this PR if you decide to go that route, we can always just open this one again at a later date if things change.

Ok, thank you. I applaud the high standards here. For now I will take the easy route.
PS - Embedded software packages are available unrestricted in the chocolatey free version, right? I wonder if that's sustainable if every package would have the software embedded.

Yeah, I believe embedded software packages are available unrestricted for the FOSS edition, I also think it would be sustainable as well since the licensed edition do have several other features that are only available there (only impact would be that there wouldn't be a need for a private CDN anymore).
Not every package can be embedded though (because of distribution limitations, or because of package size)


Adding in the metricsBindAddress to kube-proxy configmap to allow for…

Adding in a new configuration to kube-proxy's configmap, so can allow a monitoring system to scrape kube-proxy's metric endpoint.

/assign @davidmccormick

Codecov Report

Merging #1783 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1783   +/-   ##
=======================================
  Coverage   24.52%   24.52%
=======================================
  Files          98       98
  Lines        5085     5085
=======================================
  Hits         1247     1247
  Misses       3699     3699
  Partials      139      139

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0b90d32...eec16e4. Read the comment docs.


do a full loot generation with a loonium/any other loot generating method dumped to storage for averaging

Done. ME system with loot for review is available near spawn. Several hours of 2 Looniums.

Remove:
name tags
neruoprozyne
saddles
raw carbon
horse armor
iron hoe
iron shovel
loot to add:
coal
steel
iron
copper
lead
uranium
vinteum
chimerite
arcane ash
overgrowth seed
silicon
binder composite
diamond
emerald
ender pearl
eye of ender
bottle o enchanting
mana cake
ars flowers
Terrestrial Artifact
black lotus
biscuit of totality
prismatine
gunpowder
verdant spring
infernal bulb


groupby="d3" does not work in Dataset.visualize

Describe the bug
groupby="d3" causes a KeyError Dataset.visualize. This seems to have been broken by 2859ffe.
To Reproduce
@using_plotly
def test_plot_qca_examples(S22Fixture):
    """ Tests plotting examples from QCArchiveExamples/basic_examples/reaction_dataset.ipynb"""
    client, S22 = S22Fixture
    fig = S22.visualize(method=["B3LYP", "B3LYP-D3", "B3LYP-D3M"], basis=["def2-tzvp"], groupby="D3").to_dict()

Expected behavior
The above code should succeed without an error.
Additional context
This should probably be fixed close to the 0.11 release so the QCA Examples can be updated.

Resolved by PR #424.


multiroom: no sound

Describe the problem
When using multiroom mode there is no sound coming out of any audio interface.
This is after deploying the latest version of balenaSound.

Is it that obvious to everyone how to look at an 'attached support thread in jellyfish'? I can neither log in nor register there, and having the same, quite serious issues with my multiroom. Devices keep dropping off network, working as standalone instead of multiroom. Many times, at the start of a track, a small glitch can be heard, etc. I would be gld to access those jellyfish threads, but cannot find a way.

Someteimes devices do not work at all, leaving the rest of the devices working, but some of them do not. Services stop seemingly at random, or the entire os just turns off without me initiating it. Only one of my 3 devices seem to work without issues. Now I started to rewrite the sd cards, but I would have preferred looking at those attached threads before doing so.

Closed by #424 and #61.
The root cause was:

PulseAudio version not pinned in the audio block. This was an oversight and is now fixed.
Snapcast version not pinned in balenaSound. It was tracking the alpine edge repo to get the latest package with alsa source stream support but it was updated to a non-working version. It's now pinned but running a debian based image which increased the container size for multiroom-server and multiroom-client 3x.

Hi @Szubszidiaritas,

Is it that obvious to everyone how to look at an 'attached support thread in jellyfish'? I can neither log in nor register there, and having the same, quite serious issues with my multiroom. Devices keep dropping off network, working as standalone instead of multiroom. Someteimes devices do not work at all, leaving the rest of the devices working, but some of them do not. Services stop seemingly at random, or the entire os just turns off without me initiating it. Only one of my 3 devices seem to work without issues. Now I started to reflash the OS on the sd cards, but I would have preferred looking at those attached threads before doing so. Also, many times, at the start of a track, a small glitch can be heard. Sorry for writing all these here, but it is getting rather frustrating, to be honest.

JellyFish is balena's internal support tool, it's not publicly available. Forum threads and GitHub issues are cross linked into JellyFish so it's a way for us to keep track of everything in one place. Regarding balenaSound issues, 99% of the times if you see a JellyFish ticket attached to a GitHub issue it's because there is a forum thread about it, so checking https://forums.balena.io/ is your best bet.
About your issues, the "no sound" problem should be fixed with the latest release. If you have additional problems I suggest you post on the forums too, we've got multiple support agents (myself included) on rotation helping users out.


Remove test only flag for subset keyshare(s) support

Please note that while we are transitioning from travis-ci to AWS CodeBuild, some tests are run on each platform. Non-AWS contributors will temporarily be unable to see CodeBuild results. We apologize for the inconvenience.
Resolved issues:
resolves https://github.com/awslabs/s2n/issues/2009
Description of changes:
Enable subset keyshare(s) support within s2n by:

removing the test only flag present in the API: https://github.com/awslabs/s2n/blob/master/tls/s2n_connection.c#L1300
updating the function name https://github.com/awslabs/s2n/blob/master/tls/s2n_connection.c#L1298
updates USAGE-GUIDE.md

Call-outs:
This change enables susbset keyshare(s) full support within s2n.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #2032 into master will increase coverage by 22.78%.
The diff coverage is 50.00%.

@@             Coverage Diff             @@
##           master    #2032       +/-   ##
===========================================
+ Coverage   57.26%   80.05%   +22.78%
===========================================
  Files         150      233       +83
  Lines       11141    17482     +6341
===========================================
+ Hits         6380    13995     +7615
+ Misses       4761     3487     -1274

The build is failing due to codecov/patch, however the results from codecov  does not seem correct.


How to initialize different account key for ios?

For ios initialization, we can do this only for one key.
[ZDCChat initializeWithAccountKey:@"accountkey"];
How I able to initialize from react native?. I manage to get it works as the code shown below only for android, but not ios. I need to based on a props value to determine which account key should apply.
if (props === 'A') {
ZendeskChat.init('accountKeyA');
}  else {
ZendeskChat.init('accountKeyB');
}

Please help

I've wanted to same thing and I've imitated some other exported methods like this.
RCT_EXPORT_METHOD(init:(NSDictionary *)options) {
  dispatch_sync(dispatch_get_main_queue(), ^{
    [ZDCChat initializeWithAccountKey:options[@"accessKey"]];
  });
}

Add this code to RNZendeskChatModule.m and it worked.
but I don't know this is correct way I'm not iOS developer.

This was addressed by #42  and merged into v0.3.0


Incorrect detection of NAR files

Describe the bug
In several parts of the code (org.apache.pulsar.common.nar.FileUtils, NarClassLoader, ...), the type of the archive  (NAR or JAR) is detected by looking at the existence of the META-INF/bundled-dependencies directory. But this directory doesn't necessarily exist in a NAR archive. For instance, if all the dependencies of the artifact are set as provided because they already exist in Pulsar. In that case the archive gets wrongly detected as a JAR.
To Reproduce
Steps to reproduce the behavior:

Create new maven project ExclamationFunction

public class ExclamationFunction implements Function<String, String> {
    @Override
    public String process(String input, Context context) {
        return String.format("%s!", input);
    }
}

Write pom including nifi-nar-maven-plugin

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <groupId>com.example</groupId>
    <artifactId>exclamation-function</artifactId>
    <version>1.0-SNAPSHOT</version>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.nifi</groupId>
                <artifactId>nifi-nar-maven-plugin</artifactId>
                <version>1.2.0</version>
                <extensions>true</extensions>
                <configuration>
                    <finalName>${project.artifactId}-${project.version}</finalName>
                </configuration>
                <executions>
                    <execution>
                        <id>default-nar</id>
                        <phase>package</phase>
                        <goals>
                            <goal>nar</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <configuration>
                    <source>8</source>
                    <target>8</target>
                </configuration>
            </plugin>
        </plugins>
    </build>
</project>

Package

mvn clean package

Inspect the generated NAR --> There is no META-INF/bundled-dependencies directory

Expected behavior
Another way to detect if the archive is a NAR should be used.
Eg. checking if the MANIFEST.MF file contains the string Nar-Id:

Have a question: If all dependency scope is provided, My test result is that there will be a jar package(function itself).

@shibd Is that the NAR built in pulsar-functions-api-examples-builtin. In that case, the artifact pulls pulsar-functions-api-examples as a dependency. This is not the way people generally build a NAR.


503 Server Unavailable while server iss running

Environment

Operating System: Darwin
Node Version:     v19.9.0
Nuxt Version:     3.6.3
Nitro Version:    2.5.2
Package Manager<EMAIL_ADDRESS>Builder:          vite
User Config:      ssr, turnstile, build, hooks, vue, nitro, css, vite, postcss, app, modules, content, googleSignIn, runtimeConfig, devtools
Runtime Modules<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Build Modules:    -

Reproduction
Usually while importing any file,still unable to find exactly when this happens
Describe the bug
Whenever I'm importing a file ,the below message come in all suddent, after  reloading from browser still it doesn't go also after doing a npm run dev from same route ,

Additional context
No response
Logs
No response

@danielroe  @antfu  Unable to provide reproduction for it,The problem is :
It navigates to / but when you directly try to visit any other page '/dashboard/profile' in chrome and press enter,
The Tab keeps loading.

Hi. Sorry, it took long for addressing this issue. You can track upstream investigation via https://github.com/unjs/nitro/issues/1454


fix wrong classification id_clust

change algorithm to position based method

This was not a bug. When nice sequences for primers span more than 100 bp, seed sequences in two successive id_clust may have a large overlap.


Use XML files in savedir when loading annotations

This change makes it possible not only to save updated XML files to a savedir, but also to load them back from the savedir when the page has been refreshed. This turns the savedir into an overlay read-write layer for the bookpath, which may be the prefered modus operandi if we'd like to keep the bookpath read-only, but also allow the users to change the annotations.
With more than one user, this change can produce race conditions, where a user may load an incomplete annotation from the savedir. Using advisory locking should solve this problem:
try (RandomAccessFile file = new RandomAccessFile(path, "rw");
      FileChannel channel = file.getChannel();
      FileLock lock = channel.lock()) {
    // write to the channel
}

Excuse the late reply, I just now found time to look into the PR.
The changes should vastly improve the workflow when using a savedir, thank you.

@maxnth Thanks. However, as I mentioned, using savedir for both reading and writing can lead to race conditions. The race where two users load the same XML file, perform different changes and then overwrite each other's changes is difficult to overcome, but we should at least lock the file when writing, so that you can never read or write a corrupt XML file.


Add config to specify locations within which follow mode enabled

Thanks for making this fancy package !
Purpose
I would like to add config settings that enables users to specify locations within which the "Follow Mode" enabled.
Currently follow mode is triggered whenever we switched an item, and it can be a little annoying for those who want to keep state in specific panes, e.g. right dock.
Note

By default setting, the behaviour would be exactly same as before

Ref

Closes #20

Awesome, thank you!

Published as v1.2.0


add harmonypy

Describe your changes

Checklist before requesting a review

[x] I have performed a self-review of my code

Check the correct box. Does this PR contain:

[ ] Breaking changes
[x] New functionality
[ ] Major changes
[ ] Minor changes
[ ] Bug fixes

[x] Proposed changes are described in the CHANGELOG.md

[ ] CI Tests succeed and look good!

LGTM! Thanks @ghar1821 !


gcc49: 4.8.4 -> 4.9.4

Motivation for this change
Things done

[X] Tested using sandboxing
(nix.useChroot on NixOS,
or option build-use-chroot in nix.conf
on non-NixOS)
Built on platform(s)

[X] NixOS
[ ] OS X
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[X] Fits CONTRIBUTING.md.

Bugfix release of the 4.9 branch. See
http://lists.gnu.org/archive/html/info-gnu/2016-08/msg00001.html for
announcement

Typo in the commit message: 4.8.4 should be 4.9.3

Thanks for spotting it. Fixed and updated the PR.


Fan Speed

Hello Jane,
Rapa from forum Pimoroni here...
Is it possible to include a setting for the fan speed in this plugin?
Reason: My pi is mounted vertically (screwed on the back of the TV) and the fan really doesn´t like to reach full speed when it´s vertical, it makes a loud noise =(

Unfortunately there are no examples of controlling the speed on the FanShim the example code just does an on or off option, which is what my plug in does.
Have you come across any examples of code controlling the Fan Shim Speed?

I didn´t found the code, however seens like @grayerbeard has a working code.
ref: https://github.com/pimoroni/fanshim-python/issues/22
https://www.smalle.uk/r-pi-4-blog

He has not published the code yet as he is still testing according to his blog.
Once his code is out I will try and take a look,  but I am not very experienced with Python,  so it may be too difficult for me to work out how it works,  as it probably won't be a simple "drop in"

I understand, I´m still learning the basic, so I can´t help either =(

Sorry folks now 70 year old brain is struggling a bit to get back into the code after being away from home for a few weeks.  I had started tidying up a bit and had forgotten where I had got to.   Doing Python with a brain with bad short term memory is "interesting",
If you look at the site you will see a snap shot of it working.  If you want to use my method you only really need the basics of the algorithm for figuring out what PWM values to use which I will post an explanation about in the next few days.
There is only a narrow range of frequencies etc that are reliable otherwise the FanShim does not rotate.   However using PWM is worthwhile as using PWM means it runs much quieter for all but extreme loads which I have only managed to trigger by running load test software.

Code is now posted and downloadable onat address posted above. (R Pi Blog)

Thanks I will try and review the code when I can,   I suspect the problem will be not all of the extensive includes you have used will be available on libreelec.

Thanks I will try and review the code when I can, I suspect the problem will be not all of the extensive includes you have used will be available on libreelec.
I did a little research and it does seem messing with anything in Python is difficult in Livbreelec. See https://forums.pimoroni.com/t/using-fanshim-software-on-kodi-libreelec/11790/5
Please see simplified and more proven at https://github.com/grayerbeard/R_Pi_4_Fanshim_PWM.
The advantage of my code compared to the pimorini is that its all in the install directory for you to mess with to see where the problem is and extract the bit you need.

This script implements 3 speed levels for an argon40 case, could this also be implemented for fanshim?
https://download.argon40.com/argonone-setup-libreelec.sh

I am not sure and I can't easily test Sorry


[Bug] Inconsistent chunk ID for repeated uploads leads to duplicate entries in vector store

Context / Scenario
Context

I am developing a RAG application that allows users to generate a summary with citations of meeting notes from a CRM system.
I use Kernel Memory to import and search documents
When users request a summary, the selected meeting notes are retrieved from a database and imported using the ImportTextAsync method. Then a search is performed using the SearchAsync method

Issue
I get duplicate entries in my vector database (Azure AI Search) when a meeting note is imported multiple times, because the generated ID is not consistent for repeated uploads of the same document. The meeting note then shows up multiple times in the search results, which leads to multiple citations for the document and takes up the limited number of matches (defined by MaxMatchesCount)
Analysis
It appears the partition ID is a Guid that is generated by the pipeline.

Potential solution
Use a hash of the document contents instead of a new Guid for the partition ID. While debugging I tested a simple workaround by passing the ContentSHA256 property in the embeddingFileNameDetails in my CustomGenerateEmbeddingsHandler (otherwise it is an empty string) and then using it instead of the Guid in my CustomSaveRecordsHandler.

What happened?
I expect the partition ID and therefore the document ID used in Azure AI Search to be consistent across repeated uploads of the same document, resulting in no duplicate entries.
Importance
a fix would make my life easier
Platform, Language, Versions
C#
Microsoft.KernelMemory.Core version 0.27.240205.2
.NET 8
Relevant log output
No response

Did you supply a documentId when ingesting the meeting notes? If not, can you use the meeting name as the documentId and try import it multiple times to see if the same issue occurs?

When uploading the same document multiple times, if you provide the same Document ID (see also previous comment) the previous records will be deleted and new ones will be created. The logic is in SaveRecordsHandler.DeletePreviousRecordsAsync().
Unique hashes are not sufficient because files length can change, and the resulting number of partitions can change, so there's always a need to remove previous records, which is the approach used by SaveRecordsHandler.
Hashing the document content would cause also other problems, because it's actually allowed to upload the same files multiple times, under a different Document ID.
I would suggest using a consistent Document ID first, and if you still see duplication, check why SaveRecordsHandler is not deleting the old records (see DeletePreviousRecordsAsync method).


[ERROR] About an error :  "WebGL: INVALID_ENUM: activeTexture: texture unit out of range"

the code at
https://github.com/pixijs/pixi.js/blob/dev/src/core/sprites/webgl/SpriteRenderer.js#L275-L295
Sometimes ,  t._enabled  always equals TICK , then the nextTexture._virtalBoundId always be -1.
And there is an error on browser's console :
WebGL: INVALID_ENUM: activeTexture: texture unit out of range

Duplicate of #3373

@bigtimebuddy  , OK. I've add more informations  at  https://github.com/pixijs/pixi.js/issues/3373#issuecomment-265764333
I hope it could help you to find the key point of this issues.

Thank you @finscn!


Actuator checks for binders fail

When I run kafka-streams-word-count example.
Actuator's health check fail
http://localhost:8080/actuator/health
{
  "status": "DOWN",
  "components": {
    "binders": {
      "status": "DOWN",
      "components": {
        "globalktable": {
          "status": "DOWN",
          "details": {
            "No topic information available": "Kafka broker is not reachable"
          }
        },
        "kstream": {
          "status": "DOWN",
          "details": {
            "No topic information available": "Kafka broker is not reachable"
          }
        },
        "ktable": {
          "status": "DOWN",
          "details": {
            "No topic information available": "Kafka broker is not reachable",
            "error": "java.util.concurrent.ExecutionException: org.apache.kafka.common.errors.TimeoutException: The AdminClient thread is not accepting new calls."
          }
        }
      }
    },
    "diskSpace": {
      "status": "UP",
      "details": {
        "total":<PHONE_NUMBER>68,
        "free":<PHONE_NUMBER>2,
        "threshold": 10485760
      }
    },
    "ping": {
      "status": "UP"
    }
  }
}

I run kafka locally this way:
docker run -e ADV_HOST=<IP_ADDRESS> -e EULA="https://dl.lenses.io/d/?id=..." --rm -p  3030:3030 -p 9092:9092 lensesio/box

Hi, I have the same actuator output, it seems to be caused by this error
java.lang.ClassCastException: class java.lang.Long cannot be cast to class java.lang.Double (java.lang.Long and java.lang.Double are in module java.base of loader 'bootstrap')         at org.springframework.cloud.stream.binder.kafka.streams.KafkaStreamsBinderMetrics$1.lambda$toDoubleFunction$0(KafkaStreamsBinderMetrics.java:92)

It is caused but inappropriate usage of adminClient, which is closed on the first call. Second time will fail on adminClient.listTopics() as connection is closed.
https://github.com/spring-cloud/spring-cloud-stream-binder-kafka/blob/master/spring-cloud-stream-binder-kafka-streams/src/main/java/org/springframework/cloud/stream/binder/kafka/streams/KafkaStreamsBinderHealthIndicator.java#L120

PR: https://github.com/spring-cloud/spring-cloud-stream-binder-kafka/pull/804/files

Hi @am-wr, we have encountered an issue with the current fix: if the health endpoint is called with an insufficient request timeout (i.e. k8s readiness probe requestTimeout default of 1 sec) with multiple components (ktable, globalktable, kstream, ...) it can happen that a java.lang.InterruptedException is encountered in line. Subsequently the component's health is reported DOWN, but really it is UNKNOWN.


cosmosdb analyticalStorage -> analyticalStore

analyticalStorage -> analyticalStore

Should we also change the documentation here ?
Good catch @kushagraThapar yes we should. will update doc.

@kushagraThapar done

/azp run java - cosmos - ci


Gradient crashes violently while analysing file that implements protocols

Background
I have created an file that represents an Option type in Elixir (aka, Maybe Monad). This is for learning purposes and the code works and runs as expected (as least as far as I can tell).
Problem
However when I try to run mix gradient, the tool crashes:
logs
$ mix gradient
Compiling 1 file (.ex)
Generated grokking_fp app
Typechecking files...
** (MatchError) no match of right hand side value: :error
    (gradient 0.1.0) lib/gradient/ast_specifier.ex:194: Gradient.AstSpecifier.mapper/3
    (gradient 0.1.0) lib/gradient/ast_specifier.ex:122: Gradient.AstSpecifier.context_mapper_fold/4
    (gradient 0.1.0) lib/gradient/ast_specifier.ex:148: Gradient.AstSpecifier.mapper/3
    (gradient 0.1.0) lib/gradient/ast_specifier.ex:122: Gradient.AstSpecifier.context_mapper_fold/4
    (gradient 0.1.0) lib/gradient/ast_specifier.ex:123: Gradient.AstSpecifier.context_mapper_fold/4
    (gradient 0.1.0) lib/gradient/ast_specifier.ex:93: Gradient.AstSpecifier.run_mappers/2
    (gradient 0.1.0) lib/gradient.ex:26: Gradient.type_check_file/2
    (elixir 1.13.2) lib/enum.ex:1593: Enum."-map/2-lists^map/1-0-"/2

Expected behaviour
It may very well be that my type specs are incorrect, even though Dialzyer does not complain (and it usually does when typespecs are a mess). But even in such a scenario, I would expect gradient to tell me "Typespec A is not well defined" or something instead of crashing.
option.ex
defmodule Option do
  @type t(elem) :: Option.Some.t(elem) | Option.None.t()

  defmodule Some do
    @type t(elem) :: %__MODULE__{val: elem}

    defstruct [:val]

    defimpl Collectable do
      @impl Collectable
      def into(option), do: {option, fn acc, _command -> {:done, acc} end}
    end

    defimpl Enumerable do
      @impl Enumerable
      def count(_some), do: {:ok, 1}

      @impl Enumerable
      def member?(some, element), do: {:ok, some.val == element}

      @impl Enumerable
      def reduce(some, acc, fun)

      def reduce(_some, {:halt, acc}, _fun), do: {:halted, acc}
      def reduce(some, {:suspend, acc}, fun), do: {:suspended, acc, &reduce(some, &1, fun)}
      def reduce([], {:cont, acc}, _fun), do: {:done, acc}

      def reduce(%Option.Some{} = some, {:cont, acc}, fun),
        do: reduce([], fun.(some.val, acc), fun)

      @impl Enumerable
      def slice(_option), do: {:error, __MODULE__}
    end
  end

  defmodule None do
    @type t :: %__MODULE__{}

    defstruct []

    defimpl Collectable do
      @impl Collectable
      def into(option) do
        {option,
         fn
           _acc, {:cont, val} ->
             %Option.Some{val: val}

           acc, :done ->
             acc

           _acc, :halt ->
             :ok
         end}
      end
    end

    defimpl Enumerable do
      @impl Enumerable
      def count(_none), do: {:error, __MODULE__}

      @impl Enumerable
      def member?(_none, _element), do: {:error, __MODULE__}

      @impl Enumerable
      def reduce(none, acc, fun)

      def reduce(_none, {:cont, acc}, _fun), do: {:done, acc}
      def reduce(_none, {:halt, acc}, _fun), do: {:halted, acc}
      def reduce(none, {:suspend, acc}, fun), do: {:suspended, acc, &reduce(none, &1, fun)}

      @impl Enumerable
      def slice(_option), do: {:error, __MODULE__}
    end
  end

  @spec new(any) :: %Option.Some{val: any}
  def new(val), do: %__MODULE__.Some{val: val}

  @spec new :: %Option.None{}
  def new, do: %__MODULE__.None{}
end

When I delete this file, gradient works normally.

Have you tried commenting out the protocol implementations and then adding them back one by one to see which is actually tripping Gradient up?

My protocol implementations obey the official spec. Nonetheless it is an exercise worth doing. Will report tomorrow once I get near my work setup .

I decided to delete the _build folder, and manually delete the mix.lock and deps folder. Turns out something there was amiss, thus causing the crash.
To be clear, gradient does not crash now, but the output it gives still has some issues.
I will create a new ticket for this, as the nature of the problem has changes.
I will be closing this one.


github.com/micro/go-micro/cmd

go get -u github.com/micro/go-micro/，but it's not found cmd package？
github.com/micro/go-micro/cmd

you should try use proxy，GOPROXY=https://goproxy.io

The cmd package has moved to config/cmd. Please do not use it directly.


Docker Publish: Contextual Tagging

Intro
We've been rolling on latest image publishes across our keep-dev and keep-test environments for awhile.  While this is fine for our dev environment, it's time we work against properly versioned images for our test/Ropsten environment.
What we did
Circle builds that run against a git tag generate a Circle env var CIRCLE_TAG.  This is perfect for our Docker image tagging needs.  However, the CIRCLE_TAG enviroment variable isn't generated for builds that don't run on a tag.  e.g. all keep-dev / master builds.  We already use environment based Circle contexts to factor out environment specific configs from the Circle config space, so it's a natural fit to handle this in the same way.  The Circle Context environment variable is DOCKER_IMAGE_TAG.  For keep-dev it's set to latest, and for keep-test it's set to $CIRCLE_TAG.
Test build
https://app.circleci.com/pipelines/github/keep-network/keep-core/6356/workflows/8a1eeca1-6605-4243-b842-8efa9969891a

High-level this doesn't seem crazy. Need to give it another once-over once we've restored the branch filters.


Possible to send Toast to another Win 10 box on the network?

I have an need to send a toast to another Win 10 box on my LAN after a home automation event is triggered on my automation rig.
I could run BurntToast on the remote boxes, but not sure if that matters.
I'm not a programmer... but a tinkerer... so was able to get your app running fine and triggered correctly on my local box. Just hoping it will do that extra bit.
Thanks!

And using the HTTP Listener??: https://github.com/Windos/BurntToast/tree/master/Examples/Example08
Regards!.

The Invoke-Command method partially works. Text is fine but any images referenced wether logo, hero or inline all fail to load. Each image registers an "Access is denied" followed by a "Cannot find path X because it does not exist.". Paths definitely exist, permissions don't seem to be an issue and every machine can successfully find the images if the code is run locally. The images are referenced via a UNC path and I am using version 0.7.0. Any suggestions?

I imagine it's the same issue as you'd run into if running a scheduled task with "Do not store password" ticked, which only gives access to local resources (i.e. anything on a UNC path would not be accessible.)
Not sure of a workaround atm, I still need to come up with the 100% fail proof method of running these remotely.

In addition to previous comments about scheduled tasks, you can also get around having to have BurntToast installed on the remote machine. See: https://toastit.dev/2018/08/21/crouton-8-i-like-your-code-but-i-dont-want-it-on-all-my-computers/
Also, if you do go the scheduled task route, you can execute as system and kick the toast over to the user. See: https://github.com/Windos/BurntToast/issues/27#issuecomment-666203518


Website: added label accessibility note to samples and schema explorer

This work tracks an update to the website about our samples not using the latest accessibility features, such as Input Labels.

Microsoft Reviewers: Open in CodeFlow

@almedina-ms @golddove @RebeccaAnne can you guys take a look at this and let me know if it should supersede the issue tracking an update to all the card payloads? The verbiage is a little bit long and takes up a fair bit of space on the website but since it's temporary I feel like it's good enough, but let me know you thoguhts

Looks good to me too. I updated #4552 so that it no longer tracks warning banners, but still exists to track creating 1.3 aware versions of the cards to eventually replace the existing one.


[New] Add vector tiled layer from custom style

Description
This PR implements Add vector tiled layer from custom style in SAMPLE_CATEGORY category.
URL to README: Add vector tiled layer from custom style
Linked Issue(s)

swift/issues/6217

How To Test

Use the picker to change the style of the vector tiled basemape.

Screenshots

Thank you for looking at this!


added rtx 3050 mobile and also added 6GB to DEFAULT_MEMORY_OPTIONS

Added info about RTX 3050 mobile 6GB and also added 6GB to the DEFAULT_MEMORY_OPTIONS list

Thank you for the PR!
The DEFAULT_MEMORY_OPTIONS is used for CPU RAM, can you make a separate PR for this change? I'm not sure 6GB RAM is very common with latops

The DEFAULT_MEMORY_OPTIONS is used for CPU RAM, can you make a separate PR for this change? I'm not sure 6GB RAM is very common with laptops

Ah, I'm sorry I thought that they were the default values for VRAM, should I undo that change in this PR?


Navigation form hotel detail back to table view should show table instead of map

This issue was moved to joachimprinzbach/ng2-camp2#10


History component in React

As we've built many features to justify the one-liner description of this project i.e. a go-to networking tool, now it's time to revamp the existing UI.
Add a new component History.js which will display the details of last 10 scans.  Refer the image attached below for design.
As of now, create the History.js which takes its data of last 10 scans from a json file scans.json(create a json file with harcoded data for last 10 scans) and displays according to the given UI
P.S. : The basic frontend on react is available on feature/frontend-react branch in the folder network-scanner. Add your components in the same branch. Do not make any changes in App.js / index.js.

@ishika1727 Please also add level3 badge here.

Hi, I am a GSSOC'21 Participant and I would like to work on this. Please assign it to me

Hi, I wanted to work upon this. Kindly assign this to me so that I can get started

@devRawnie pls go forward. I am assigning you. Create a P in feature/react branch by SUNDAY EOD

Sure. Will do

I have completed the code for this issue. Kindly review the same

please assign me this

@vinitshahdeo There is already a pull request pending for more than a month now. Please merge that one

@vinitshahdeo Kindly look into the PR and merge the same if it is completed


Missing "a" in sentance makes it harder to read

Type of issue
Typo
Description
"This looks like it's declaring a public field, which would appear to be bad object-oriented practice." should read "This looks like it's declaring a public field, which would appear to be a bad object-oriented practice." (Hence the missing "a".)
Page URL
https://learn.microsoft.com/en-us/dotnet/csharp/event-pattern
Content source URL
https://github.com/dotnet/docs/blob/main/docs/csharp/event-pattern.md
Document Version Independent Id
d2078536-1ee3-5b60-3872-f2635d245cc2
Article author
@BillWagner
Metadata

ID: 90b37f1a-cd59-d9e5-067b-30ea5f26e5cc
Service: dotnet-csharp
Sub-service: fundamentals

/assign me i can resolve

Thanks for pointing this out @BonnieSoftware
And thanks for volunteering to fix it @pojith I've assigned it to you.

can check pull request

Fixed in #39985, can close

@BillWagner can you please close this ticket as done?


Double free with the destructor if cache is set to false.

In this example :
if (true) {
    USceneComponent rootComponentLocalPlayer = MDKHandler::get<USceneComponent, UActorComponent>(rootComponentPtr, false);
}

The destructor of MDKBase is going to be called once after the execution of get<>(); and once again at the end of the if statement, since USceneComponent rootComponentLocalPlayer also inherits from MDKBase.
The destructor is going to try to free the same block.blockPointer twice, which leads to a crash.
https://github.com/Spuckwaffel/MDK-Lib/blob/c1ae7ed518df07967d1d5884b97582d666894112/SDKTest/MDK.cpp#L25-L32
I haven’t really figured out the best way to work around this issue, so I’ve just commented out the content of the destructor, but I don’t feel it’s a great idea, even if I didn’t see any negative impact on the memory.

hmmm i wonder why the destructor gets called twice? can you provide more code or a copy paste example when this happens? This doesn't look normal

I've reproduce the exact same class that I got, I've just striped every irrelevant code
void MyClass::getPlayers()
{
    while(running)
    {
        std::vector<radarElement> tmp;

        radarElement elementLocal;

        APawn* pawnPtr =
            MDKHandler::readSingle<APlayerController, APawn*>(_playerControllerPtr, &APlayerController::AcknowledgedPawn);
        if (!pawnPtr)
            continue;

        USceneComponent* rootComponentPtr =
            MDKHandler::readSingle<APawn, USceneComponent*>(pawnPtr, &APawn::RootComponent);

        USceneComponent rootComponentLocalPlayer = MDKHandler::get<USceneComponent, UActorComponent>(rootComponentPtr, false);

        _localRelativeLocation = rootComponentLocalPlayer.RelativeLocation<FVector>();
        _localRelativeRotation = rootComponentLocalPlayer.RelativeRotation<FRotator>();

        elementLocal.color = IM_COL32(0, 255, 0, 255);
        elementLocal.x = _localRelativeLocation.X();
        elementLocal.y = _localRelativeLocation.Y());
        elementLocal.name = "ME";

        tmp.push_back(elementLocal);

        cache::getRadarPlayerElements.clear();
        cache::getRadarPlayerElements = tmp;

        std::this_thread::sleep_for(std::chrono::milliseconds(50));
    }
}

In this function after inspecting with the debuger, the destructor is called directly after the MDKHandler::get execution and one more time at the end of the loop because it's the end of the scope of USceneComponent rootComponentLocalPlayer.

check out the newest commit, i think ive fixed it.


Test all numeric column tables with very large numeric values

Closing this issue for now since it is on low priority.


npm install mineflayer not Works

Npm install mineflayer not Works -> http://i.imgur.com/EO9gNtl.png

Actually this means it worked. It just didn't install the optional ursa dependency (which is a bit more complicated to install on windows but you don't really need it)

Closing issue. Feel free to reopen if you have any further issues ^^.


Impossible to download binary assets for releases

Publish them only via github tags trigger from Travis and Appveyor.

Required by https://github.com/ethereumproject/emerald-wallet/pull/152.

https://docs.travis-ci.com/user/deployment/releases/
https://www.appveyor.com/docs/deployment/github/

Start with the simplest one - distribute binary assets from https://raw.githubusercontent.com, I think the optimal way - create a special repo for this.


Errors in simple embedded page

Following the instructions in the documentation for Embedding the Viewer, I created this simple HTML page:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet" />
    <title>ROCKET Demo</title>

     You need to enable JavaScript to run this app.

When I load this page, I get this error in the Chrome console:
index.umd.js:1479 Uncaught ReferenceError: regeneratorRuntime is not defined
    at index.umd.js:1479
    at Module.<anonymous> (index.umd.js:1479)
    at i (bootstrap:19)
    at bootstrap:83
    at index.umd.js:1
    at universalModuleDefinition:9
    at universalModuleDefinition:1
(anonymous) @ index.umd.js:1479
(anonymous) @ index.umd.js:1479
i @ bootstrap:19
(anonymous) @ bootstrap:83
(anonymous) @ index.umd.js:1
(anonymous) @ universalModuleDefinition:9
(anonymous) @ universalModuleDefinition:1
(index):57 Uncaught TypeError: Cannot read property 'App' of undefined
    at (index):57

Any suggestions?

@blezek, thanks for the report. A small issue with our UMD bundle's entrypoint. It likely slipped through when we took down our E2E Cypress tests for script tag usage during our monorepo transition. I'll stand those tests back up today.
As of<EMAIL_ADDRESS>you can use these updated examples as a reference while I tidy up the docs to match:

https://codesandbox.io/s/ohif-viewer-script-tag-usage-vnomk
https://vnomk.csb.app/

@dannyrb, your fix worked, thanks.

@blezek, just so I don't catch you off guard:

window.ohifViewer becomes window.OHIFViewer in 1.0.3

Updated examples here:

https://codesandbox.io/s/ohif-script-tag-v103-iniiu
https://iniiu.csb.app/

Docs incoming.


Remove ldrex and strex from RTOS with ARMCC

ARMCC has marked the __strex and __strex intrinsics as deprecated so
turn them off for this compiler.

This fixes #1965

CC: @0xc0170, @sg-

This is ARMCC response to this:  http://www.keil.com/support/docs/3783.htm

CAUSE
The ARM compiler does not guarantee to preserve the state of the exclusive monitor. This is why the __ldrex, __ldrexd, __strex and __strexd intrinsics are deprecated.

RESOLUTION
Either ignore the warnings or update the ARM CMSIS Pack to a version later than V4.3.0 to get these warning messages suppressed.

Looking at the https://github.com/ARM-software/CMSIS/blob/master/CMSIS/RTOS/RTX/SRC/rt_HAL_CM.h, that is supposed to be part of v4.5.0, it's the same as we use. That's weird. I'll contact RTX team to find out if removing exclusive access is the proper fix.

Got a response, we shall look at https://github.com/ARM-software/CMSIS_5/blob/4868c88b763f9923330359cec1e522555f093777/CMSIS/Core/Include/cmsis_armcc.h#L471 .
we can disable the warning about this in the armcc flags or use the above fix for the newer compiler versions in the code file. @c1728p9 What do you think?

@mbed-bot: TEST
HOST_OSES=ALL
BUILD_TOOLCHAINS=ALL
TARGETS=ALL

Alternative merged


reporting metrics: influxdb.Write(points): 405: Method Not Allowed

2019/08/13 23:33:44 [INFO] Loading Configuration File: C:\ProgramData\unifi-poller\up.conf
2019/08/13 23:33:44 [INFO] UniFi Poller v1.5.1-364 Starting Up! PID: 16520
2019/08/13 23:33:45 [INFO] Authenticated to UniFi Controller at https://<IP_ADDRESS>:8443 version 5.10.26 as user InfluxDB
2019/08/13 23:33:45 [INFO] Found 1 site(s) on controller: default (Default)
2019/08/13 23:33:45 [INFO] Polling UniFi Controller Sites: [all]
2019/08/13 23:33:45 [INFO] Logging Measurements to InfluxDB at http://<IP_ADDRESS>:8123/hassio/ingress/a0d7b954_influxdb as user unifi
2019/08/13 23:33:45 [INFO] Everything checks out! Poller started, interval: 30s
2019/08/13 23:34:15 [ERROR] (1/5) reporting metrics: influxdb.Write(points): 405: Method Not Allowed

This sounds like a bad username and password for influxdb. Can you log in with the influx cli command using the name and password you've provided in up.conf?

It looks like this (my influx doesn't require auth):
> unifi:~ admin$ influx -host <IP_ADDRESS> -port 8086 -database unifi
Connected to http://<IP_ADDRESS>:8086 version v1.7.7
InfluxDB shell version: v1.7.7
> select * from uap limit 1;
name: uap
time                adopted bandsteering_mode board_rev bytes       bytes_d  bytes_r cfgversion       config_network_ip config_network_type connect_request_ip connect_request_port considered_lost_at cpu default device_ap         device_id                device_oid        device_type discovered_via
<more data here>

No CLI for InfluxDB within Hassio
I think this is due to Homeassistant only accepting post commands?
https://www.home-assistant.io/components/http/#http-sensors
https://developers.home-assistant.io/docs/en/external_api_rest.html#post-apistatesltentity_id

You can install the influx cli on any *nix system pretty easy. apt, yum, brew..
I'm afraid I'm not familiar with Home Assistant. The page you linked doesn't mention influxdb anywhere. Was that the correct link? I clicked through many of the navigation page links on the left -- searching for "influx" -- nothing shows up. Are you sure there's an InfluxDB in that software? One you can write to directly?

This link may help get you going. https://www.home-assistant.io/components/influxdb/ - it has some links at the top with the resources to setup influxdb for use with home assistant.

Were you able to get InfluxDB going?

Pardon the delayed response. Influx is definitely running, I'm receiving data from other sources, however those other sources are on the same machine. In this case, the data is being scraped by a windows machine and then pushed across in an HTTP protocol.
I believe it's related to a nuance in HASSIO that doesn't allow a "write" request to be sent over HTTP and then is rejecting it.
In the docs I posted, it looks like the request needs to go across a specific API url, however a curl command is required to grab the auth header.
Im pretty thin on programing so don't take any of this as exact. I'm throwing my gut feeling out with this.
Appreciate the responses, definitely an interesting project.

This application only supports InfluxDB. You should give it an IP with port 8086 (which is HTTP) that goes to the InfluxDB instance you configured. I'm not sure how or why the hass API has anything to do with this. The docs I read pretty much said "InfluxDB is independent from Hassio: here's the public docs to install it." The page I linked clearly shows the correct default port for InfluxDB, but you're using the API port. The poller doesn't know how to use that API. Have you tried this?
influx_url = "http://<IP_ADDRESS>:8086"
influx_user = "unifi"

2019/08/15 13:20:03.041861 start.go:117: [INFO] Logging Measurements to InfluxDB at http://<IP_ADDRESS>:8086/a0d7b954_influxdb as user unifi
2019/08/15 13:20:03.041861 unifi.go:49: [INFO] Everything checks out! Poller started, interval: 30s
2019/08/15 13:20:33.053590 unifi.go:132: [DEBUG] Found 1 site(s): default
2019/08/15 13:20:33.053590 unifi.go:80: [DEBUG] Polling Controller, retreiving UniFi Clients, site default (Default)
2019/08/15 13:20:33.108444 devices.go:16: [DEBUG] Unmarshalling Device Type: uap, site Default (default)
2019/08/15 13:20:33.110438 devices.go:16: [DEBUG] Unmarshalling Device Type: uap, site Default (default)
2019/08/15 13:20:33.111436 devices.go:16: [DEBUG] Unmarshalling Device Type: uap, site Default (default)
2019/08/15 13:20:33.112433 devices.go:16: [DEBUG] Unmarshalling Device Type: ugw, site Default (default)
2019/08/15 13:20:33.113430 devices.go:16: [DEBUG] Unmarshalling Device Type: usw, site Default (default)
2019/08/15 13:20:33.114428 devices.go:16: [DEBUG] Unmarshalling Device Type: usw, site Default (default)
2019/08/15 13:20:33.118417 unifi.go:74: [ERROR] (1/0) reporting metrics: influxdb.Write(points): 404 page not found
2019/08/15 13:20:33.118417 main.go:12: [ERROR] reached maximum error count, stopping poller (1 > 0)

Remove a0d7b954_influxdb from the path.

That was the ticket
2019/08/15 13:32:39.377515 unifi.go:80: [DEBUG] Polling Controller, retreiving UniFi Clients, site default (Default)
2019/08/15 13:32:39.399457 devices.go:16: [DEBUG] Unmarshalling Device Type: uap, site Default (default)
2019/08/15 13:32:39.400454 devices.go:16: [DEBUG] Unmarshalling Device Type: uap, site Default (default)
2019/08/15 13:32:39.401451 devices.go:16: [DEBUG] Unmarshalling Device Type: uap, site Default (default)
2019/08/15 13:32:39.401451 devices.go:16: [DEBUG] Unmarshalling Device Type: ugw, site Default (default)
2019/08/15 13:32:39.402449 devices.go:16: [DEBUG] Unmarshalling Device Type: usw, site Default (default)
2019/08/15 13:32:39.403446 devices.go:16: [DEBUG] Unmarshalling Device Type: usw, site Default (default)
2019/08/15 13:32:39.425387 unifi.go:146: [INFO] UniFi Measurements Recorded. Sites: 1, Clients: 24, Wireless APs: 3, Gateways: 1, Switches: 2, Points: 69, Fields: 3000

Sweet!

Having addtional issues with Grafana now, but ill do some research before reaching out again
Site doesn't seem to populate, which is i think is causing "Cannot read property 'map' of undefined" across the panels

Make sure you're running at least Grafana 5.5; 6.x is recommended. And don't forget to install the plugins. https://github.com/davidnewhall/unifi-poller/wiki/Grafana#plugins

We wrapped this up in Discord. Was a data source typo.
Good luck!!


docs: add information to deployment guide for esbuild bundling

As discussed on MikroORM Slack, adding docs around esbuild bundling

Thanks for merging @B4nan!


Uid

Could the "Uid" please be removed? What's point of displaying it?

I think you're right, removed.


[Bug]: WordPress with MySQL service fails - MySQL container won't start

Is there an existing issue for this?

[X] I have searched the existing issues

Example public repository
No response
Description
When I try to create a new Wordpress (MySQL) service, the MySQL container fails to start. Examining the logs shows this error message:
2023-02-16T10:59:00.768912017Z exec /opt/bitnami/scripts/mysql/entrypoint.sh: exec format error

As a result, the WordPress service failes with a page showing 'Error establishing a database connection'.
Steps To Reproduce

Create a new WordPress (MySQL) service witt a URL that is pointing to your server's IP.
Visit the URL.
You should be presented with a page that says 'Error establishing a database connection'.

Version
3.2.17

I have exactly the same error and the same steps to reproduce them.

You are on arm based server, right?

Right, OCI ARM

I found the issue. It will be fixed in the next version!

Hi, I just tried deploying a WordPress service and I'm still getting exactly the same error.

Thanks. How do I update Coolify so I can use this?


remove fallback to anonymousId; poor choice now causing bad behavior

If a user does not pass a userId


RFC: Support for both Bluetooth LE SC and OOB legacy pairing methods in same build

Introduction
Proposing a change in Bluetooth host subsystem to allow multi-role devices to use both LESC and Legacy OOB pairing methods in the same build.
Problem description
Some multi-role devices may want to use LESC pairing for one role and OOB legacy for the other. This is currently not supported by the Zephyr Host subsystem (v3.3.99).
Proposed change
Add support for switching between LESC and OOB legacy pairing methods at runtime.
Proposed change (Detailed)
Expand on the recently added separation of LE SC OOB and legacy data flag set APIs to determine whether or not to use SC pairing methods. At the moment, Calling bt_le_oob_set_legacy_flag() API still results in LESC OOB pairing method for builds with  CONFIG_BT_SMP_SC_PAIR_ONLY=n and CONFIG_BT_SMP_OOB_LEGACY_PAIR_ONLY=n.
Dependencies
CONFIG_BT_SMP_SC_PAIR_ONLY=n
CONFIG_BT_SMP_OOB_LEGACY_PAIR_ONLY=n
Concerns and Unresolved Questions
Was this support intentionally excluded?
Alternatives
Ideally would have preferred to steer clear of OOB legacy and use LE SC for both roles.  The existing host subsystem APIs look more geared towards NFC as OOB data source. For devices that don't have NFC hardware support, Would be great if the host subsystem API exposes some sort of application hook interface to provide our own public key as opposed to the one internally generated by host subsystem.

Discussed in the Bluetooth WG:

No obvious reason why we should forbid this. Do you want to propose a pull request?


ipfs-pack has trouble with newlines in filenames

Newlines are technically valid in filenames, but since the PackManifest file is newline delimited this poses a slight problem.
Unsure how exactly to progress here. Do we disallow newlines in names? or escape them? Probably escape, but its worth a little bit of discussion.

I guess we can escape them I would use standard-c backslash sequences, \n, \0x##, etc.

I would use RFC4180 version of CSV.

I would use RFC4180 version of CSV.

I don't like that idea, because the newlines are still present which makes parsing difficult, and then we also have quotes to deal with.

I prefer it over devising custom-ish encoding protocol (with only selected symbols supported).

I am suggesting we go with C-style encoding in which any byte can be encoded using \0x##.
This way problematic characters are not even present which makes parsing much easier.

Other options:

URL Encode. This is probably the simplest (most languages have simple libraries for handling url encoding) but maybe not quite as efficient.
Use CBOR/IPLD. Does this file need to be human readable?
Null. Honestly, if these don't have to be human readable, null bytes work great for situations like this.

FYI, we've been discussing valid filenames in the ipld-unixfs here: https://github.com/ipfs/ipld-unixfs/issues/3. I believe the consensus there is Unicode except control characters/newlines. However, we would like to support importing such files so that probably won't make a difference here.

This file is meant to be human readable

Ah. Yeah, actually, supporting backslash escapes is probably the easiest/most readable.

On IRC we agreed to use c-style escape and am looking into implementing this.  Expect a p.r. by the end of the day.

I have a p.r. ready to push.  I am waiting until I get proper access to push it.  If push comes to shove I will create the p.r. from a fork.

@kevina fixed


Haiku: add futimens and utimensat, remove futimes and cleanup.

Function futimes is not available in Haiku.
Functions futimens and utimensat are.
Cleanup some leftover cfg_attr attributes.

r? @JohnTitor
(rust_highfive has picked a reviewer for you, use r? to override)


build failure in tests/boards/altera_max10/i2c_master with sys log enabled

/home/nashif/Work/github/zephyr/drivers/i2c/i2c_nios2.c: In function ‘i2c_nios2_transfer’:
../../../../../../../include/logging/sys_log.h:98:20: error: format ‘%d’ expects argument of type ‘int’, but argument 6 has type ‘ALT_AVALON_I2C_STATUS_CODE {aka long unsigned int}’ [-Werror=format=]
 #define LOG_LAYOUT "[%s]%s %s: %s"
                    ^
../../../../../../../include/logging/sys_log.h:100:21: note: in expansion of macro ‘LOG_LAYOUT’
  SYS_LOG_BACKEND_FN(LOG_LAYOUT log_format "%s" SYS_LOG_NL, \
                     ^~~~~~~~~~
../../../../../../../include/logging/sys_log.h:106:2: note: in expansion of macro ‘LOG_BACKEND_CALL’
  LOG_BACKEND_CALL(log_lv, log_color, log_format,   \
  ^~~~~~~~~~~~~~~~
../../../../../../../include/logging/sys_log.h:109:26: note: in expansion of macro ‘LOG_COLOR’
 #define SYS_LOG_ERR(...) LOG_COLOR(SYS_LOG_TAG_ERR, SYS_LOG_COLOR_RED, \
                          ^~~~~~~~~
/home/nashif/Work/github/zephyr/drivers/i2c/i2c_nios2.c:107:4: note: in expansion of macro ‘SYS_LOG_ERR’
    SYS_LOG_ERR("i2c transfer error %d\n", status);
    ^~~~~~~~~~~
../../../../../../../include/logging/sys_log.h:98:20: error: format ‘%d’ expects argument of type ‘int’, but argument 6 has type ‘ALT_AVALON_I2C_STATUS_CODE {aka long unsigned int}’ [-Werror=format=]
 #define LOG_LAYOUT "[%s]%s %s: %s"
                    ^
../../../../../../../include/logging/sys_log.h:100:21: note: in expansion of macro ‘LOG_LAYOUT’
  SYS_LOG_BACKEND_FN(LOG_LAYOUT log_format "%s" SYS_LOG_NL, \
                     ^~~~~~~~~~
../../../../../../../include/logging/sys_log.h:106:2: note: in expansion of macro ‘LOG_BACKEND_CALL’
  LOG_BACKEND_CALL(log_lv, log_color, log_format,   \
  ^~~~~~~~~~~~~~~~
../../../../../../../include/logging/sys_log.h:109:26: note: in expansion of macro ‘LOG_COLOR’
 #define SYS_LOG_ERR(...) LOG_COLOR(SYS_LOG_TAG_ERR, SYS_LOG_COLOR_RED, \
                          ^~~~~~~~~
/home/nashif/Work/github/zephyr/drivers/i2c/i2c_nios2.c:124:4: note: in expansion of macro ‘SYS_LOG_ERR’
    SYS_LOG_ERR("i2c busy or timeout error %d\n", status);
    ^~~~~~~~~~~
cc1: all warnings being treated as errors

My bad :(, I have not set the level while testing.


Update index.ts

apply crust community gateway

Congratulations on passing the proposal. Please resolve conflicts with main branch. After that, we will megre PR and your Gateways will be online.


JavaDoc seems to be generating docs for only public elements, when they should be including protected ones

JavaDoc seems to be generating docs for only public elements, when they should be including protected ones.
For example, we have several protected abstract methods on abstract classes we need to document.
I think maybe the ant JavaDoc task needs to replace public=1 with protected=1

As this only is a documentation change, I don't think we need a 8.5.3 for this alone. Just commit the change and repush the docs on the fastutil website.

I think the point was that there are already si many methods. If someone wants to play with subclassing, it is easy to regenerate the docs. The final user has no interest in protected methods.


clean up unused functions in source utils

This change might make the upcoming LI merge harder, and maybe should wait until after that. @jaymo001 WDYT?

+1. Mentioned offline. We should defer this.
(you can hold on to this PR and re-check-in once Jay finishes his merge)


The modal does not close after raising or dropping the user of the event

Priority
Low
Description
When someone wants to approve a user to owner, a modal window was not closing, but rerender for the new member.
Pre-conditions

Move to https://eventsexpress-test.azurewebsites.net/
Login into EventExpress as an owner of event

Steps to Reproduce

Approve someone to owner
Press confirm button
A user was successfully approved to the owner, but modal window don't close.

Expected result
The system should close modal window after raising.
Actual result
A user was successfully approved to the owner, but modal window don't close.
Screenshots
Environment:
Windows 10 Home OS Build 18363.1139
Google Chrome Version 86.0.4240.111 (Official Build) (64-bit)
Additional context
Add any other context about the problem here.

Confirmation test: pass
Status: 'Verified'
Test case: #363 Verify that a user approved the owner of the Event when the owner of the Event adds him/her.


Modding trouble

I'm trying to use script extensions to modify pieces of code.
My only problem right now is that I want to make changes to IntroManager.SelectedPill but almost all changes crash the game on startup.
I have a script for IntroManager which does load properly from mod_main.gd and I can tell because I was able to modify MainBathroomStart.
The thing is adding something as simple as a print line into SelectedPill or trying to change the property of something like animator_pp just crashes the game on startup.
Execution ends after this console line:
SUCCESS ModLoader: DONE: Completely finished loading mods
Am I doing something wrong?

do you get no other output after that? Not even an error? If the console closes, try running the game via CMD, that shouldn't close.

radio silence, I am running via cmd

that's odd, may i see the script you are using? I mean normally it wouldn't cause a crash unless something is going terribly wrong so that's very odd

Testing again, for some reason now I am able to edit things again.
I'll post if something goes wrong again, if it doesn't then I'll close this.


Gothic 3: Forsaken Gods Enhanced Edition (render issues)

This game was only tested with v0.19 of D9VK but I want to start a bug report on it.
The problem with this game is that it differs from Gothic 3 somehow so doesn't have the same issues, the game renders only raw polygons at 20-30fps, you can see a white sky and black polygons for all objects, so most things don't render correctly. (crashes are common on startup)
Apitrace and logs will be posted later on, unfortunately my GPU is dead atm so I can't provide them.  If you have this game perhaps you can help me out and post the results (nvidia GPU here)
Software information
Gothic 3: Forsaken Gods Enhanced Edition, issue occurs on all settings.
System information

GPU: 1080TI  (now dead)
Driver: 430.34
Wine version: Proton 4.11-1/2
DXVK/D9VK version: packaged with proton

Apitrace file(s)

Will submit later when I have a GPU.

Log files

d3d9.log: tba
d3d11.log: tba
dxgi.log: tba

Sorry again about no logs or apitrace, like I said my GPU is dead and I can no longer test this game, but I wish to raise this so others can comment and perhaps provide further information, testing was only done on NVIDIA hardware so unsure how AMDGPU's handle this game.

Probably Readonly locking again. Whats the name of the exe of the game?

Probably Readonly locking again. Whats the name of the exe of the game?

Gothic III Forsaken Gods.exe

We have the config option in place for that game. Can you post logs?

We have the config option in place for that game. Can you post logs?

My video card is dead and in for RMA, so until that comes back I can't post logs :(

In that case it probably works just fine with 0.20.

This has beened fixed for latest d9vk version, now it seems to render correctly.
HOWEVER a new issue has arisen, and that is fps is only 16-17fps at 4k or close to at other resolutions. Not sure if this can be improved on, under windows it does appear to get 60fps or so.

HOWEVER a new issue has arisen, and that is fps is only 16-17fps at 4k or close to at other resolutions. Not sure if this can be improved on, under windows it does appear to get 60fps or so.

What's your GPU utilization like? Are you GPU or CPU bound?

I have Conky installed now so I'll monitor it while a test for a bit and see.
Will post results here:

Updated with performance results of Linux vs Windows. Something is definitely going wrong.

Here is a Apitrace under Win10 with 1080ti (just a couple seconds of moving around in starter town)
https://www.dropbox.com/s/x7u3mb2su8owiii/Gothic III Forsaken Gods.7z?dl=0
Should I also post a apitrace for d9vk? might be hard at 1fps but doable.


WIP – Remove duplicate notes list file

What problem does this PR fix?
There are two files that export the NotesList class: one with .js and one with .jsx. That's confusing and could potentially introduce bugs, we need only one file per class. This problem was introduced in #1326.

Taking a look at the two files, I'm seeing that notes_list.js is an ES6 module transformation in progress. It doesn't modify window.shared, and it ends with export default NotesList. The other file exports using window.shared.NotesList =. That's good because it means these are on totally separate paths. Searching for "import NotesList" turned up nothing, which means that the code on the notes_list.js path is totally uncalled and unused.

There are two ways to tackle this. One would be to finish up the ES6 module conversion, swap that in for the window.shared.NotesList API that's currently being used, QA and ship. The other is to just delete the ES6 file and convert it later. For me the deciding factor is that #1443 is currently using the window.shared API, and I want to create as little disruption for that PR as possible. So this PR will delete the ES6 file and we can convert NotesList later.

🚢


Update UsageWithReact.md

It should be props as we always called in React

“prop” is singular for “props”.
“as a props” doesn't seem like valid grammar.
Also, from the official React docs:

the top of the hierarchy ( FilterableProductTable ) will take your data model as a prop.

Thanks for the clarification.