Issue 556

Overview
The value of the numberOfRecordsReturned attribute returned with a GetRecords request was incorrect if the number of record left in the catalogue is less than the maxrecord parameter passed with the request, but the number of matched records is greater than maxrecords.  This can happen if the startposition parameter specified with the GetRecords request is close to the number of matched records, such that (startposition+maxrecords) > matched.
The csw2.py and csw3.py files both had code which allowed: numberOfRecordsReturned=maxrecords if (startposition+maxrecords) > matched
With functional testing, the changes also highlighted that one of the functional tests expected incorrect reponse XML.  The test, default_post_GetRecords-end, has had its expected XML modified to reflect the correct expected attribute value.
Also, when maxRecords=0, the behaviour is the same as resultType=hits and no records are returned.  In this case, nextRecord and numberOfRecordsReturned should be returned as 0.  Making sure this happens also impacted a CITE functional test: post_0c976d98-c896-4b10-b1fe-a22ef50434e7.xml which specifies maxRecords=0, but expected nextRecord=1.  This has been amended to expect nextRecord=0.
Related Issue / Discussion
There are no unit tests for this piece of the code.  Might it be useful to create some?
The way that the code determines the number of returned records is perhaps a little reckless?  It would probably be safer to count the number of records, then assign that number to the attribute, rather than do the calculation based on input parameters and the total number of matched records.  This might be a bigger piece of work, however.  I have not investigated how this approach could be implemented.
Additional Information
Contributions and Licensing
(as per https://github.com/geopython/pycsw/blob/master/CONTRIBUTING.rst#contributions-and-licensing)
I'd like to contribute this bugfix, relating to the reported value of numberOfRecordsReturned during GetReocrds requests, to the pycsw project. I confirm that my contributions to pycsw will be compatible with the pycsw licence guidelines at the time of contribution.

@rjaduthie thanks for the fixes.  When trying this against the OGC CITE tests I am getting failure:
      The response to a GetRecords request that specifies maxRecords="0" must
      not include any results.

Request
<csw:GetRecords xmlns="http://www.occamlab.com/ctl"
                xmlns:csw="http://www.opengis.net/cat/csw/2.0.2"
                xmlns:ctl="http://www.occamlab.com/ctl"
                xmlns:dc="http://purl.org/dc/elements/1.1/"
                xmlns:dct="http://purl.org/dc/terms/"
                xmlns:gen="java:com.occamlab.te.Generator"
                xmlns:gml="http://www.opengis.net/gml"
                xmlns:ogc="http://www.opengis.net/ogc"
                xmlns:ows="http://www.opengis.net/ows"
                xmlns:p="http://teamengine.sourceforge.net/parsers"
                xmlns:parsers="http://www.occamlab.com/te/parsers"
                xmlns:saxon="http://saxon.sf.net/"
                xmlns:te="http://www.occamlab.com/te"
                xmlns:tec="java:com.occamlab.te.TECore"
                xmlns:tems="java:com.occamlab.te.web.MonitorServlet"
                xmlns:xi="http://www.w3.org/2001/XInclude"
                xmlns:xlink="http://www.w3.org/1999/xlink"
                xmlns:xs="http://www.w3.org/2001/XMLSchema"
                xmlns:xsd="http://www.w3.org/2001/XMLSchema"
                maxRecords="0"
                resultType="results"
                service="CSW"
                version="2.0.2">
   <csw:Query typeNames="csw:Record">
      <csw:ElementName>dc:identifier</csw:ElementName>
      <csw:ElementName>ows:BoundingBox</csw:ElementName>
      <csw:Constraint version="1.1.0">
         <ogc:Filter>
            <ogc:Not>
               <ogc:BBOX>
                  <ogc:PropertyName>ows:BoundingBox</ogc:PropertyName>
                  <gml:Envelope srsName="urn:x-ogc:def:crs:EPSG:6.11:4326">
                     <gml:lowerCorner>60.0 12.0</gml:lowerCorner>
                     <gml:upperCorner>70.0 20.0</gml:upperCorner>
                  </gml:Envelope>
               </ogc:BBOX>
            </ogc:Not>
         </ogc:Filter>
      </csw:Constraint>
   </csw:Query>
</csw:GetRecords>

Response
      <csw:GetRecordsResponse xmlns:csw="http://www.opengis.net/cat/csw/2.0.2"
                        xmlns:dc="http://purl.org/dc/elements/1.1/"
                        xmlns:dct="http://purl.org/dc/terms/"
                        xmlns:gmd="http://www.isotc211.org/2005/gmd"
                        xmlns:gml="http://www.opengis.net/gml"
                        xmlns:ows="http://www.opengis.net/ows"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"
                        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                        version="2.0.2"
                        xsi:schemaLocation="http://www.opengis.net/cat/csw/2.0.2 http://schemas.opengis.net/csw/2.0.2/CSW-discovery.xsd">
  <csw:SearchStatus timestamp="2017-12-07T11:30:59Z"/>
  <csw:SearchResults nextRecord="0" numberOfRecordsMatched="11" numberOfRecordsReturned="0"
                      recordSchema="http://www.opengis.net/cat/csw/2.0.2"/>
   <!--Response received in [501] milliseconds--></csw:GetRecordsResponse>

Message from CITE:
   [FAILURE] Expected csw:SearchResults/@nextRecord = 1.

More info on how we test against CITE can be found at https://github.com/geopython/pycsw/wiki/OGC-CITE-Compliance.

I have had a response from the CITE forum mailing list.  They ask whether the test that fails is "csw-2.0.2-GetRecords-tc23.1".  If it is then the "Expected csw:SearchResults/@nextRecord = 1" might need a review.
I am unable to easily do a CITE test myself, although with a little time I could probably set up a externally accessible PyCSW server using the development source.  @tomkralidis If it's easy for you, can you answer the question on whether the failing test is the one mentioned?

thanks @rjaduthie.  I'll chime in on the CITE thread.  Having said this setting up an instance for CITE is documented at https://github.com/geopython/pycsw/wiki/OGC-CITE-Compliance, feel free to ping in IRC to setup if you like.

Below is CITE output of failing test against master with this PR's code changes:
Log for test s0061/d1447e6538_1/d1447e6423_1/d1447e2870_1

Test csw:csw-2.0.2-GetRecords-tc23.1 type Mandatory default result Passed (s0061/d1447e6538_1/d1447e6423_1/d1447e2870_1)

Assertion:
      The response to a GetRecords request that specifies maxRecords="0" must
      not include any results.

Request d1447e6088_1:
   Method: POST
   URL: http://kralidis.ca:8000/
   Body:
<csw:GetRecords xmlns="http://www.occamlab.com/ctl"
                xmlns:csw="http://www.opengis.net/cat/csw/2.0.2"
                xmlns:ctl="http://www.occamlab.com/ctl"
                xmlns:dc="http://purl.org/dc/elements/1.1/"
                xmlns:dct="http://purl.org/dc/terms/"
                xmlns:gen="java:com.occamlab.te.Generator"
                xmlns:gml="http://www.opengis.net/gml"
                xmlns:ogc="http://www.opengis.net/ogc"
                xmlns:ows="http://www.opengis.net/ows"
                xmlns:p="http://teamengine.sourceforge.net/parsers"
                xmlns:parsers="http://www.occamlab.com/te/parsers"
                xmlns:saxon="http://saxon.sf.net/"
                xmlns:te="http://www.occamlab.com/te"
                xmlns:tec="java:com.occamlab.te.TECore"
                xmlns:tems="java:com.occamlab.te.web.MonitorServlet"
                xmlns:xi="http://www.w3.org/2001/XInclude"
                xmlns:xlink="http://www.w3.org/1999/xlink"
                xmlns:xs="http://www.w3.org/2001/XMLSchema"
                xmlns:xsd="http://www.w3.org/2001/XMLSchema"
                maxRecords="0"
                resultType="results"
                service="CSW"
                version="2.0.2">
   <csw:Query typeNames="csw:Record">
      <csw:ElementName>dc:identifier</csw:ElementName>
      <csw:ElementName>ows:BoundingBox</csw:ElementName>
      <csw:Constraint version="1.1.0">
         <ogc:Filter>
            <ogc:Not>
               <ogc:BBOX>
                  <ogc:PropertyName>ows:BoundingBox</ogc:PropertyName>
                  <gml:Envelope srsName="urn:x-ogc:def:crs:EPSG:6.11:4326">
                     <gml:lowerCorner>60.0 12.0</gml:lowerCorner>
                     <gml:upperCorner>70.0 20.0</gml:upperCorner>
                  </gml:Envelope>
               </ogc:BBOX>
            </ogc:Not>
         </ogc:Filter>
      </csw:Constraint>
   </csw:Query>
</csw:GetRecords>
   Response from parser p:XMLValidatingParser.CSW:
      <csw:GetRecordsResponse xmlns:csw="http://www.opengis.net/cat/csw/2.0.2"
                        xmlns:dc="http://purl.org/dc/elements/1.1/"
                        xmlns:dct="http://purl.org/dc/terms/"
                        xmlns:gmd="http://www.isotc211.org/2005/gmd"
                        xmlns:gml="http://www.opengis.net/gml"
                        xmlns:ows="http://www.opengis.net/ows"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"
                        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                        version="2.0.2"
                        xsi:schemaLocation="http://www.opengis.net/cat/csw/2.0.2 http://schemas.opengis.net/csw/2.0.2/CSW-discovery.xsd">
  <csw:SearchStatus timestamp="2017-12-14T19:24:09Z"/>
  <csw:SearchResults nextRecord="0" numberOfRecordsMatched="11" numberOfRecordsReturned="0"
                      recordSchema="http://www.opengis.net/cat/csw/2.0.2"/>
   <!--Response received in [482] milliseconds--></csw:GetRecordsResponse>

Message d1447e6175_1:
   [FAILURE] Expected csw:SearchResults/@nextRecord = 1.

Result: Failed

Hi @rogie-bas: any (high level) summary/update on this one?

ETS maintainer asserts that the behaviour when maxRecords=0 should be that nextRecord=1 (some lively debate being had!).  Possibly not going to be changed soon, so it might be prudent to alter merge request to comply with test for now, to fix the originally reported bug and still comply with the tests as they stand.

Thanks @rogie-bas. Any chance you can update the PR accordingly?  We are looking to release a new version this week as part of the OSGeo code sprint in Bonn.

I can have a go, earliest, tomorrow.  It might be only a case of rolling back the last commit, but it's been while, I'll have to spend a little time making sure of it.

So, the PR now passes the CI tests with this repo, with the specification that nextrecord='1' for maxrecords='0' when using CSW2.  However, the CSW3 sets nextrecord to '0' in the same situation; this is to comply with the functionaltest in this repo, which has been in place for nearly two years.
If ets-csw202 changes to admit nextrecord='0' for maxrecords='0', then the CSW2 code can be changed to match CSW3; if it transpires that CSW3 should match the current ets-csw202, then the change can be with CSW3.  Apart from this, the code is very similar for the two files (pycsw/ogc/csw/csw2.py:880-891 & pycsw/ogc/csw/csw3.py:872-881).

Let me know if you need me to do anything further.
I'll keep an eye on the ets-csw202 issue, but until we hear from Dirk or someone, I don't think there's going to be much change.


[SPARK-6105] enhance spark-ganglia to support redundant gmond addresses ...

This PR is for preventing spark-GangliaSink from single point of failure in unicast mode configuration.
For details, please refer relatived JIRA: enhance spark-ganglia to support redundant gmond addresses setting in ganglia unicast mode

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?


{Install} How to install?

hi.
How to install?

Hi
you can install with composer.
composer require yeganehha/digikala-seller-webhook

for laravel?


The link to the checkpoint

Dear Author,
Thanks for your work.
May I know if the google link of the bytetrack_s_mot17(checkpoint) is okay?
Best Regards,
Craig

Dear Author,
I have re-check the google link: bytetrack_s_mot17 [google],

and linked to: https://drive.google.com/file/d/1uSmhXzyV1Zvb4TJJCzpsZOIcw7CCJLxj/view
inside it, there is an archive, instead of a .pth. Is this caused from I have not cleaned the web cache?
but for "bytetrack_m_mot17 [google]," I could link to:
https://drive.google.com/file/d/11Zb0NN_Uu7JwUd9e6Nk8o2_EUfxWqsun/view
and the file looks correct.
Thanks again for your feedback


micro python REPL

micropython REPL does not startup
This is the pycharm I use...
PyCharm 2023.2.5 (Professional Edition)
Build #PY-232.10227.11, built on November 14, 2023
Licensed to Len Heard
You have a perpetual fallback license for this version.
Subscription is active until November 23, 2024.
Runtime version: 17.0.9+7-b1000.46 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 10.0
GC: G1 Young Generation, G1 Old Generation
Memory: 10000M
Cores: 8
Registry:
debugger.new.tool.window.layout=true
ide.experimental.ui=true
js.debugger.webconsole=false
Non-Bundled Plugins:
com.andrey4623.rainbowcsv (2.0.2)
ua.in.dej.myEmmet (1.2.5)
com.intellij.ideolog (<IP_ADDRESS>)
ChatGPT (3.1.7-231.232)
com.github.redfoos.logstash-intellij-plugin (0.8.3)
net.seesharpsoft.intellij.plugins.csv (3.2.3-232)
intellij-micropython (1.4.2-2023.2)
mobi.hsz.idea.gitignore (4.5.2)
org.yseasony.sqlgenerator (2.2.1)

I'm having the same issue.  I can upload files to my pico w just fine but the REPL flashes with an empty line:

MicroPython REPL not working again please fix this.

PyCharm 2023.3 (Community Edition)
Build #PC-233.11799.259, built on December 4, 2023
Runtime version: 17.0.9+7-b1087.7 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Linux 6.6.3-200.fc39.x86_64
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 2
Registry:
ide.experimental.ui=true
Non-Bundled Plugins:
intellij-micropython (1.4.0)
Current Desktop: GNOME


bug: Tesseract command line options only work on 5.x

Expected behavior
Quicktest should work on Ubuntu 22.04.
Actual behavior
Tesseract fails with Error, unknown command line argument '--loglevel'
Workaround:
Unset the tesseract options environment variable or set it to something else. TESSERACT_OCR_OPTIONS="--oem 0" ./quicktest
Steps to reproduce the behavior
Run Quicktest on Ubuntu 22.04
Additional context
We should probably either detect the version of tesseract and bail if less than 5.x, or perferably, tweak settings depending on the version of tesseract installed. Ideally people should be able to run this on any release.

For me, with the above TESSERACT_OCR_OPTIONS="--oem 0"  workaround on 22.04 I then get
Error: Tesseract (legacy) engine requested, but components are not present in /usr/share/tesseract-ocr/4.00/tessdata/eng.traineddata!!
Failed loading language 'eng'
Tesseract couldn't load any languages!

but
List of available languages (4):
cym
eng
gla
osd

so resorted to looking minimally at the --help-extra and tried --oem 4 , which got further but failed to PASS (the requested text was there but not found).  :stop_sign:


iPad GA - banner cool variant Milo

Describe your specific features or fixes
Resolves: MWPW-163221
Test URLs:

Pre Migration Link: https://adobe.com/docs/library/kitchen-sink/banner
Before: https://ipad-ga-banner-before--express-milo--adobecom.hlx.page/docs/library/kitchen-sink/banner
After: https://ipad-ga-banner-after--express-milo--adobecom.hlx.page/docs/library/kitchen-sink/banner

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 68.43%. Comparing base (80e6c07) to head (1332f79).
Report is 23 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #102      +/-   ##
==========================================
- Coverage   69.32%   68.43%   -0.90%
==========================================
  Files          60       61       +1
  Lines        9959    10026      +67
==========================================
- Hits         6904     6861      -43
- Misses       3055     3165     +110

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


Review user onboarding process

Related to https://github.com/zeitgeistpm/ui/issues/2036

Currently we have the following onboarding options:
If the user has no wallet, this button:

Takes them through this process:

If they do have a wallet they are shown this:

We also have this page:

I think we should consolidate this by leaning more on the new username/password sign up

Replace "Get Started" Modal with login modal that highlights google sign in + email. We can show wallet icons at the bottom.
"Create an account" page can be removed but need to consider how the index page looks.
Remove web3auth branding


feature request: support for multiple schedules in different timezones for a resource

I have one EC2 instance that I want to keep running in both India & UK office hours but it doesn't seem possible unless you create a schedule in GMT or UTC to cover both UK & India office hours.
In essence - would it be possible to have an instance running that is up for both UK & India timezones during a certain period (ie. office hours, say  @8am-6pm)?

Hi @baronnenate ,
Thanks for the feature request. we will move this to our backlog and review it.
With the current design it is not possible however you can find the period and timezone which covers both UK and India office hours and create a schedule based on that.
8 am IST is 3:30 am BST and 6 pm IST is 1:30 pm BST. so you can create a schedule in UK timezone with period begin time @ 3:30 and end time @ 18:00.
Please let me know if you need any help.
Thanks,
Praveen

thanks! yeah that's what I've done as a workaround.
cheers!


Error while running train_fg_cues.py

I have used your code to generate cues for a 2 category dataset.I got this runtime error while training the cues.Please do look into it
start training fg cues for SEC.
Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/mxnet/symbol/symbol.py", line 1623, in simple_bind
ctypes.byref(exe_handle)))
File "/usr/local/lib/python3.5/dist-packages/mxnet/base.py", line 253, in check_call
raise MXNetError(py_str(_LIB.MXGetLastError()))
mxnet.base.MXNetError: [08:47:13] src/storage/storage.cc:119: Compile with USE_CUDA=1 to enable GPU usage
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "train_fg_cues.py", line 56, in
momentum=conf.MOMENTUM, lr_decay=conf.LR_DECAY_FG, workspace=conf.WORKSPACE)
File "/home/rashmi/SEC-MXNet-master/cores/train_multi_wrapper.py", line 40, in train_multi_wrapper
label_shapes=data_iter.provide_label)
File "/usr/local/lib/python3.5/dist-packages/mxnet/module/module.py", line 429, in bind
state_names=self._state_names)
File "/usr/local/lib/python3.5/dist-packages/mxnet/module/executor_group.py", line 279, in init
self.bind_exec(data_shapes, label_shapes, shared_group)
File "/usr/local/lib/python3.5/dist-packages/mxnet/module/executor_group.py", line 375, in bind_exec
shared_group))
File "/usr/local/lib/python3.5/dist-packages/mxnet/module/executor_group.py", line 662, in _bind_ith_exec
shared_buffer=shared_data_arrays, **input_shapes)
File "/usr/local/lib/python3.5/dist-packages/mxnet/symbol/symbol.py", line 1629, in simple_bind
raise RuntimeError(error_msg)
RuntimeError: simple_bind error. Arguments:
label: (15, 20)
data: (15, 3, 320, 320)
[08:33:20] src/storage/storage.cc:119: Compile with USE_CUDA=1 to enable GPU usage

Did you use mxnet with CUDA enabled?

Yes @ascust we have to use mxnet with CUDA enabled.
pip install mxnet-cu100
This will solve the issue.Thanks @ascust


fix template error for issue 1096

mirror of https://github.com/apache/incubator-linkis/pull/1111

hi, @peacewong , would you help review this?

hi, @peacewong , would you help review this?

ok


Show create new file entry when in empty directory

Close #591
cc @phongnh

@liuchengxu
I tried to test this PR with minimal vimrc. Here is folder structure
.
├── emptydir
├── hello
├── test.txt
└── world

3 directories, 1 file

I noticed that I cannot go to folder emptydir if I filter with empty.
Then, I manually selected emptydir and pressed Tab to go inside emptydir
Typed test.rb (this file does not exist), pressed Enter, it created test.rb buffer
Then I opened Clap filter again
Then, I manually selected emptydir and pressed Tab to go inside emptydir again
Typed hello.rb, NO MATCHES FOUND messages showed instead.

@liuchengxu
I tried to test this PR with minimal vimrc. Here is folder structure
.
├── emptydir
├── hello
├── test.txt
└── world

3 directories, 1 file

I noticed that I cannot go to folder emptydir if I filter with empty.
Then, I manually selected emptydir and pressed Tab to go inside emptydir
Typed test.rb (this file does not exist), pressed Enter, it created test.rb buffer
Then I opened Clap filter again
Then, I manually selected emptydir and pressed Tab to go inside emptydir again
Typed hello.rb, NO MATCHES FOUND messages showed instead.

@phongnh Can not reproduce. Can you share the minmal vimrc and exact steps for the reproduction?

@phongnh Can not reproduce. Can you share the minmal vimrc and exact steps for the reproduction?

@phongnh I can't reproduce the problem you described above, works well for me. I'll merge this PR first and you can post a minimal vimrc and reproduction steps if you still see the problem later.

@phongnh I can't reproduce the problem you described above, works well for me. I'll merge this PR first and you can post a minimal vimrc and reproduction steps if you still see the problem later.

@liuchengxu okay. Here is my minimal vimrc.
set encoding=utf-8
scriptencoding utf-8
set nocompatible
set termguicolors

set runtimepath^=~/.vim/plugged/vim-clap

syntax on
filetype plugin indent on

Also, I used pre-built maple with clap#installer#force_download() on Linux Pop!OS 20.04.

@liuchengxu okay. Here is my minimal vimrc.
set encoding=utf-8
scriptencoding utf-8
set nocompatible
set termguicolors

set runtimepath^=~/.vim/plugged/vim-clap

syntax on
filetype plugin indent on

Also, I used pre-built maple with clap#installer#force_download() on Linux Pop!OS 20.04.

Here is screencast: https://asciinema.org/a/ybuqXVRScts9ud28KRu6jZOug

Here is screencast: https://asciinema.org/a/ybuqXVRScts9ud28KRu6jZOug

@phongnh The issue you ran into is not related to this PR, the Lua filter somehow does not work, see :Clap debug. If you vim is compiled with Python3 feature, you can use g:clap_force_python = v:true or g:clap_force_matchfuzzy = v:true.
set encoding=utf-8
scriptencoding utf-8
set nocompatible
set termguicolors

set runtimepath^=~/.vim/plugged/vim-clap

let g:clap_force_python = v:true

syntax on
filetype plugin indent on

@phongnh The issue you ran into is not related to this PR, the Lua filter somehow does not work, see :Clap debug. If you vim is compiled with Python3 feature, you can use g:clap_force_python = v:true or g:clap_force_matchfuzzy = v:true.
set encoding=utf-8
scriptencoding utf-8
set nocompatible
set termguicolors

set runtimepath^=~/.vim/plugged/vim-clap

let g:clap_force_python = v:true

syntax on
filetype plugin indent on

The no matches found issue has been fixed in https://github.com/liuchengxu/vim-clap/pull/624/commits/10030b864173e9fd3077cad52d02daed62a2bf0d, you can pull the latest commit and try again. @phongnh

The no matches found issue has been fixed in https://github.com/liuchengxu/vim-clap/pull/624/commits/10030b864173e9fd3077cad52d02daed62a2bf0d, you can pull the latest commit and try again. @phongnh


Windows support

Any news on support for this extension on windows?

I also am interested.    If you'd like to try it out, pull the windows branch of my fork.


Clean Up

Expected Behavior
Removes maintainer, a contributor from admin portal and remove contributor from maintainer portal

Fixed by 8425fbc


Error submitting the PR to opam-repository

[-] Opening pull request to merge branch release-ocamlformat-0.12 of gh:Julow/opam-repository into ocaml/opam-repository
dune-release: [ERROR] Could not find html_url id in response:
                      HTTP/1.1 100 Continue

                      HTTP/1.1 422 Unprocessable Entity
                      Date: Mon, 04 Nov 2019 16:28:45 GMT
                      Content-Type: application/json;
                      charset=utf-8
                      Content-Length: 235
                      Server: GitHub.com
                      Status: 422 Unprocessable Entity
                      X-RateLimit-Limit: 5000
                      X-RateLimit-Remaining: 4999
                      X-RateLimit-Reset:<PHONE_NUMBER>
                      X-OAuth-Scopes: public_repo
                      X-Accepted-OAuth-Scopes:
                      X-GitHub-Media-Type: github.v3;
                      format=json
                      Access-Control-Expose-Headers: ETag, Link, Location,
                      Retry-After, X-GitHub-OTP, X-RateLimit-Limit,
                      X-RateLimit-Remaining, X-RateLimit-Reset,
                      X-OAuth-Scopes, X-Accepted-OAuth-Scopes,
                      X-Poll-Interval,
                      X-GitHub-Media-Type
                      Access-Control-Allow-Origin:
                      *
                      Strict-Transport-Security: max-age=31536000;
                      includeSubdomains; preload
                      X-Frame-Options: deny
                      X-Content-Type-Options: nosniff
                      X-XSS-Protection: 1; mode=block
                      Referrer-Policy: origin-when-cross-origin,
                      strict-origin-when-cross-origin
                      Content-Security-Policy: default-src
                      'none'
                      X-GitHub-Request-Id:
                      ADF2:FEAB:B5F4D4:DC66C1:5DC051BC

                      {
                        "message": "Validation Failed",
                        "errors": [
                          {
                            "resource": "PullRequest",
                            "field": "head",
                            "code": "invalid"
                          }
                        ],
                        "documentation_url":
                      "https://developer.github.com/v3/pulls/#create-a-pull-request"
                      }
                      .

The base field of the request is ocaml-ppx:opam-repository.
The uri to my fork of opam-repository is gh:Julow/opam-repository, the github name should be Julow:opam-repository.
My user field in ~/.config/dune/release.yml was ocaml-ppx but the error persist after changing it.

I didn't manage to reproduce the issue using my own forks, can you test again with --dry-run and copy the output? (and your input)

While doing that, dune-release is trying to fetch opam-repository in my ocamlformat clone:
[-] Submitting ocamlformat
=> read /home/jules/.config/dune/github.token
=> exists _build/ocamlformat.0.12
[-] Preparing pull request to ocaml/opam-repository
=> write /home/jules/w/.ocamlformat-1/_build/submit-msg
=> exists /home/jules/tmp/opam-repository/.git
=> chdir /home/jules/tmp/opam-repository
[-] Fetching https://github.com/ocaml/opam-repository.git#master
   [in ../../tmp/opam-repository]
=> exec:
     git --git-dir /home/jules/w/ocamlformat/.git/worktrees/-ocamlformat-1 fetch   https://github.com/ocaml/opam-repository.git master

This won't work.

Dune-release don't like git worktrees.  Open PR to ocaml/opam-repository? [Y/n]
y
[-] Opening pull request to merge branch release-ocamlformat-0.12 of gh:Julow/opam-repository into ocaml/opam-repository
=> read /home/jules/.config/dune/github.token
-: exec:
     curl -s -S -K - -D - --data   {"title": "[new release] ocamlformat (0.12)","base": "master", "body": "Auto-formatter for OCaml code\n\n- Project page: https://github.com/ocaml-ppx/ocamlformat\n\n##### CHANGES:\n\n#### New features\n\n  + Add an option `--margin-check` to emit a warning if the formatted output exceeds the margin (ocaml-ppx/ocamlformat#1110) (Guillaume Petiot)\n\n#### Bug fixes\n\n  + Fix unstable comment in variant declarations (ocaml-ppx/ocamlformat#1108) (Jules Aguillon)\n  + Fix: break multiline comments (ocaml-ppx/ocamlformat#1122) (Guillaume Petiot)\n  + Fix: types on named arguments were wrapped incorrectly when preceding comments (ocaml-ppx/ocamlformat#1124) (Guillaume Petiot)\n  + Fix the indentation produced by max-indent (ocaml-ppx/ocamlformat#1118) (Guillaume Petiot)\n  + Fix break after Psig_include depending on presence of docstring (ocaml-ppx/ocamlformat#1125) (Guillaume Petiot)\n\n#### Internal\n\n  + Refactor code that interprets CLI options (ocaml-ppx/ocamlformat#1127) (Jules Aguillon)\n  + Testing interactions between break-infix and break-infix-before-func (ocaml-ppx/ocamlformat#1136) (Guillaume Petiot)\n  + Add dune to repositories checked for regressions (ocaml-ppx/ocamlformat#1129) (Jules Aguillon)\n  + Use an expect test for cli tests (ocaml-ppx/ocamlformat#1126) (Etienne Millon)\n  + Factor out a private library (ocaml-ppx/ocamlformat#1134) (Etienne Millon)\n\n#### Documentation\n\n  + Fix documentation of option `version-check` (ocaml-ppx/ocamlformat#1135) (Wilfred Hughes)\n  + Fix hint when using `break-separators=after-and-docked` (ocaml-ppx/ocamlformat#1130, Greta Yorsh)\n", "head": "ocaml-ppx:release-ocamlformat-0.12"}   https://api.github.com/repos/ocaml/opam-repository/pulls
-: exec: xdg-open ${pr_url}

It says it will do [-] Opening pull request to merge branch release-ocamlformat-0.12 of gh:Julow/opam-repository into ocaml/opam-repository
but actually tries to open a pull request from ocaml-ppx/opam-repository (same branch).


Google Login/Registration Loops with Managed UI

Preflight checklist

[X] I could not find a solution in the existing issues, docs, nor discussions.
[X] I agree to follow this project's Code of Conduct.
[X] I have read and am following this repository's Contribution Guidelines.
[X] This issue affects my Ory Network project.
[X] I have joined the Ory Community Slack.
[X] I am signed up to the Ory Security Patch Newsletter.

Describe the bug
I've reverted all my urls back to the managed UI and disabled/enabled Google as a social sign in provider. But trying to login or register with a new account always ends up on this screen... clicking continue takes you back to Google's pick an account screen, which ends up back here... again.

I have not changed anything since first enabling it (and testing it!) besides changing some redirect urls which I've since reverted back. GitHub still works and I am not sure about the other providers.
Reproducing the bug
If you'd like, you can go to https://auth.mattgonewild.com/ui/welcome and try to login or register with Google.
Relevant log output
No response
Relevant configuration
No response
Version
Network
On which operating system are you observing this issue?
Linux
In which environment are you deploying?
Ory Network
Additional Context
No response

Could you try deleting the cookies for your domain and retry?

@aeneasr I downloaded Firefox and it's the same thing.

Thank you! It does look like the identity schema is misconfigured - could you try and reset it to one of the presets?

I had not even thought to check that, thanks! Removing first_name and last_name from the data mapping solved this.


Version 1.6.0 Error when opening new tab resulting in blank screen

Storage Explorer Version:
Platform/OS:
Architecture:
Regression From:
Bug description

Steps to Reproduce

Expected Experience

Actual Experience

Additional Context

New version 1.6.0 in ComosDB tab opening a new tab results in a blank screen.
This makes the app unusable!
Console shows error:
Uncaught SyntaxError: Unexpected token o in JSON at position 1
at JSON.parse ()
at new DaytonaContext (file:///C:/Program%20Files%20(x86)/Microsoft%20Azure%20Storage%20Explorer/resources/app/out/DataExplorer/built/Platform/Daytona/DaytonaContext.js:16:42)
at new TabExplorer (file:///C:/Program%20Files%20(x86)/Microsoft%20Azure%20Storage%20Explorer/resources/app/out/DataExplorer/built/Platform/Daytona/TabExplorer.js:11:32)
at HTMLDocument. (file:///C:/Program%20Files%20(x86)/Microsoft%20Azure%20Storage%20Explorer/resources/app/out/DataExplorer/built/Platform/Daytona/Tab.js:7:24)
at i (file:///C:/Program%20Files%20(x86)/Microsoft%20Azure%20Storage%20Explorer/resources/app/out/DataExplorer/externals/jquery.min.js:2:27449)
at Object.add [as done] (file:///C:/Program%20Files%20(x86)/Microsoft%20Azure%20Storage%20Explorer/resources/app/out/DataExplorer/externals/jquery.min.js:2:27748)
at n.fn.init.n.fn.ready (file:///C:/Program%20Files%20(x86)/Microsoft%20Azure%20Storage%20Explorer/resources/app/out/DataExplorer/externals/jquery.min.js:2:29814)
at Object. (file:///C:/Program%20Files%20(x86)/Microsoft%20Azure%20Storage%20Explorer/resources/app/out/DataExplorer/built/Platform/Daytona/Tab.js:4:17)
at Object.execCb (file:///C:/Program%20Files%20(x86)/Microsoft%20Azure%20Storage%20Explorer/resources/app/out/DataExplorer/externals/require.js:7:12890)
at b.check (file:///C:/Program%20Files%20(x86)/Microsoft%20Azure%20Storage%20Explorer/resources/app/out/DataExplorer/externals/require.js:7:6629)
DaytonaContext @ DaytonaContext.js:16
TabExplorer @ TabExplorer.js:11
(anonymous) @ Tab.js:7
i @ jquery.min.js:2
add @ jquery.min.js:2
n.fn.ready @ jquery.min.js:2
(anonymous) @ Tab.js:4
execCb @ require.js:7
check @ require.js:7
(anonymous) @ require.js:7
(anonymous) @ require.js:7
(anonymous) @ require.js:7
each @ require.js:7
emit @ require.js:7
check @ require.js:7
(anonymous) @ require.js:7
(anonymous) @ require.js:7
(anonymous) @ require.js:7
each @ require.js:7
emit @ require.js:7
check @ require.js:7
(anonymous) @ require.js:7
(anonymous) @ require.js:7
(anonymous) @ require.js:7
each @ require.js:7
emit @ require.js:7
check @ require.js:7
(anonymous) @ require.js:7
(anonymous) @ require.js:7
(anonymous) @ require.js:7
each @ require.js:7
emit @ require.js:7
check @ require.js:7
(anonymous) @ require.js:7
(anonymous) @ require.js:7
(anonymous) @ require.js:7
each @ require.js:7
emit @ require.js:7
check @ require.js:7
(anonymous) @ require.js:7
(anonymous) @ require.js:7
(anonymous) @ require.js:7
each @ require.js:7
emit @ require.js:7
check @ require.js:7
(anonymous) @ require.js:7
(anonymous) @ require.js:7
(anonymous) @ require.js:7
each @ require.js:7
emit @ require.js:7
check @ require.js:7
(anonymous) @ require.js:7
(anonymous) @ require.js:7
(anonymous) @ require.js:7
each @ require.js:7
emit @ require.js:7
check @ require.js:7
enable @ require.js:7
init @ require.js:7
h @ require.js:7
completeLoad @ require.js:7
onScriptLoad @ require.js:7
2Debug.js:39 No attribute loader for: partitionKeyValue

Duplicate of #971. See info there about how to get a fix early.


getCountry() cause internal error

in ResponseBodyCreator.php -> getAddress function
$address['country_id'] = $defaultAddress->getCountry()
is not an array but an object, which causes an internal error.
I think, the right solution is:
$address['country_id'] = $defaultAddress->getCountry()->getId();

@danteYuX Correct, could you prepare PR for this ?

Of course I do it very well.

@danteYuX Just create PR to master


[Feature]: List of all campaign objects sorted by type

Please make sure this feature request hasn't been suggested before.

[X] I searched previous Issues and didn't find any similar feature requests.

Feature description
A list of all objects sorted by the type. Ex. Player Characters, Non Player Characters, Adventures and so on
Solution
In my case it would be helpful to see grouped objects of all types ex. all the player characters, all the nps, all the subplots
Alternatives
You can manually click on every note in your folder or select sessions and adventures on the campaign screen, but still there is no easy way to find all the characters
Additional Information
Thanks for the plugin!

@CucumisSativus where would you like to see this list? In the campaign?

@CucumisSativus Let me understand, you'd like to see the list of elements, grouped by type, in the right area?
If not, draw me what you envisage so I can understand it better! :)
Thanks

@carlonicora it could be basically anywhere, but what is important for me is the whole list and groups

@CucumisSativus Why don't you add me on Discord (carlo_storyteller) as I need to understand what you need a bit more into details


chore: update repo

update version to 0.3.28-1
Issue: https://github.com/linuxdeepin/developer-center/issues/5731
Log: update repo

/approve


K-9 Mail v6.707 No Download APK?

Checklist

[X] I have used the search function to see if someone else has already submitted the same feature request.
[X] I will describe the problem with as much detail as possible.
[X] This issue only contains a request for one single feature, not multiple (related) features.

App version
K-9 Mail v6.707
Problem you are trying to solve
I realized that the K-9 Mail v6.707 version, unlike the previous ones, only brings the download of the source code files and no longer the compiled apk file, is this a deliberate thing or an oversight? It's convenient to always test the latest versions. Thank you to those who will answer me
Suggested solution
create apk
Screenshots / Drawings / Technical details

See the note on the release item for 6.707
<https://github.com/thundernest/k-9/releases/tag/6.707>

(GitHub seems to have trouble processing the APK upload.
Please install from F-Droid or Google Play once this version
becomes available)

I assume that if this issue persists on future releases it will be looked at in more depth.

I was able to add the APK to the release just now.


Fix documentation about zoomDelta for ol.interaction.default function

fixes #9299

Won't this change anyway with #9137?

No, the zoomDelta value should still be used as previously for keyboard and double-click interactions (will double check just to be sure...).

Is there any plans to add fractional zoom feature to MouseWheel Interaction ?


ENH: Replace SimpleITK calls by ITK calls.

TubeTK is built against ITK. Instead of using SimpleITK in Python tests, we directly use ITK Python wrapped.

@aylward I updated this test to use ITK instead of SimpleITK.

It isn't a test - it is an example :)
A few changes: When the TubeTK_BUILD_DIR isn't found, the print say to pass
it as an argument - but it isn't possible to set it by passing it as an
argument - only via env var.
The ITK_BUILD_DIR variable has an option to be set as an argument - we are
not supporting that.  The ITK_BUILD_DIR test should mimic the
TubeTK_BUILD_DIR test.
This code seems amazingly obscure:
keys = [k for k in itk.PyBuffer.keys() if k[0] == im0.class] if len(keys
) == 0: raise RuntimeError("No suitable template parameter can be found.")
ImageType = keys[0] im_np0 = itk.PyBuffer[keys[0]].GetArrayFromImage(im0)
Can we find a better way of geting the image data? Can we try the numpy
bridge?
The rest looks really good!
s
On Tue, May 10, 2016 at 9:04 AM, Francois Budin<EMAIL_ADDRESS>wrote:

@aylward https://github.com/aylward I updated this test to use ITK
instead of SimpleITK.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/KitwareMedical/TubeTK/pull/714#issuecomment-218150747

--
Stephen R. Aylward, Ph.D.
Senior Director of Operations, North Carolina, Kitware, Inc.
http://www.kitware.com and http://www.aylward.org
(919) 969-6990 x300

Thanks for catching details I forgot to remove about the command line arguments.
As for the obscure part of the code, it is already using the numpy bridge. However, currently you need to specify the image type to use the numpy bridge. This weird piece of code gets the image type from the image itself. One way that is easier to read would be to manually specify the type of the image.
ImageType='itkImagePython.itkImageF2' im_np0 = itk.PyBuffer[keys[0]].GetArrayFromImage(im0)

As discussed in the meeting, these lines will be moved into ITK's init.py file to provide an itk.ConvertImageToNumPyArray( image) (or some other function name).

Looks good to me.  Please merge or abandon as soon as possible.


[BUG] Datalake Overwrite Uploads Fail

Describe the bug
DataLakeFIleClient.uploadFromFile(String filePath, boolean overwrite) throws an exception when overwrite is set to false.
Exception or Stack Trace
Unexpected exception thrown: com.azure.storage.file.datalake.models.DataLakeStorageException: Status code 409, "{"error":{"code":"PathAlreadyExists","message":"The specified path already exists.\nRequestId:0beb5989-101f-0092-5554-fd895a000000\nTime:2023-10-12T21:40:37.0199088Z"}}"`

To Reproduce
Upload a file with Datalake and set the overwrite parameter to false.
Code Snippet
@Test
    public void uploadFromFileMin() {
        File file = getRandomFile(Constants.KB);
        file.deleteOnExit();
        createdFiles.add(file);
        assertDoesNotThrow(() -> fc.uploadFromFile(file.toPath().toString(), false));
    }

Expected behavior
The file should be created, and the upload should succeed.
Additional context
If the file doesn't exist we create the file as part of uploading which inherently gives it an ETag. But since we've already set If-None-Match: * it means create works fine but then uploading the data will fail as creation inherently means there will be an ETag that matches *
Suggestion
"Check if the call came from an upload method with an overwrite parameter. Then when uploading begins, if we know we came from overwrite=false we know to use If-None-Match: * on the creation of the file but then during upload we ignore If-None-Match: *"

The test operated on the assumption that the file did not exist in Azure before, but the test framework create a file by default as part of the setup, so this isn't actually a bug. Simply deleting the file before the test should be sufficient to resolve the test here.


Add native arrsuite & shoutrrr docs

Radarr, Sonarr v4, and Prowlarr no longer require the use of custom shell scripts as they have native support.

Thanks!


Use Handlebars Template for Benchmark CLI Output

Supersedes https://github.com/paritytech/substrate/pull/7292
Thanks @zadmarbella for the initial start!
This PR changes how the final WeightInfo file is generated, basically completely re-writing the writer. Rather than printing custom lines into a file, we instead construct an object with the raw data, and allow a Handlebars template to parse that data to generate the final file.
This allows users to fully customize how they want to represent and organize their weight files. The objects generated are regular rust objects that can be easily extended if needed.
Breaking Changes

No more --trait-def flag to output a different "trait" file
No more --spaces flag for using spaces
No more --struct or --trait flag for renaming the struct/trait

New Features

New --template flag for specifying a handlebars template to use for the output generation. If not specified, the default template provided by Substrate will be used.
Ability to specify just a folder or the full file name for benchmark output

The template provided with the frame-benchmarking-cli by default is good for creating weight files for downstream nodes, and I have provided in the .maintain folder a template good for building new pallets.
Within the handlebars template, you get access to all data compiled for you by the benchmarking cli:
// This is the final structure we will pass to the Handlebars template.
#[derive(Serialize, Default, Debug)]
struct TemplateData {
	args: Vec<String>,
	date: String,
	version: String,
	pallet: String,
	header: String,
	cmd: CmdData,
	benchmarks: Vec<BenchmarkData>,
}

// This was the final data we have about each benchmark.
#[derive(Serialize, Default, Debug, Clone)]
struct BenchmarkData {
	name: String,
	components: Vec<Component>,
	base_weight: u128,
	base_reads: u128,
	base_writes: u128,
	component_weight: Vec<ComponentSlope>,
	component_reads: Vec<ComponentSlope>,
	component_writes: Vec<ComponentSlope>,
}

// This forwards some specific metadata from the `BenchmarkCmd`
#[derive(Serialize, Default, Debug, Clone)]
struct CmdData {
	steps: Vec<u32>,
	repeat: u32,
	lowest_range_values: Vec<u32>,
	highest_range_values: Vec<u32>,
	execution: String,
	wasm_execution: String,
	chain: String,
	db_cache: u32,
}

// This encodes the component name and whether that component is used.
#[derive(Serialize, Debug, Clone, Eq, PartialEq)]
struct Component {
	name: String,
	is_used: bool,
}

// This encodes the slope of some benchmark related to a component.
#[derive(Serialize, Debug, Clone, Eq, PartialEq)]
struct ComponentSlope {
	name: String,
	slope: u128,
}

You can see the included template in this PR to see how to access that data.

@thiolliere example output can be found here: https://github.com/paritytech/substrate/pull/7391

Why do we have two different templates? Why can't the FRAME template be the default?

The output when you are building a weights.rs file for a custom pallet versus generating all the weights for your runtime are different.
For example, in my proposal, the weights for a new pallet will contain the definition for the WeightInfo trait.
However, the default template should not necessarily be for new pallet developers, but simply the template needed to get you Substrate chain running.

Does that mean that the WeightInfo trait does no longer live inside the pallet itself for substrate pallets?

@athei yes, that is the plan. look here https://github.com/paritytech/substrate/pull/7391 and give feedback

bot merge


Interactive CLI does not handle arrays of structs

Given a parameter in oz call (or similar), the CLI does not handle a parameter of type array of structs.
pragma solidity ^0.6.0;
pragma experimental ABIEncoderV2;

contract Tuples {
  struct Pair {
    uint256 a;
    uint256 b;
  }

  function firstFirst(Pair[] memory p) public pure returns (uint256) {
    return p[0].a;
  }
}

$ ozdev call
? Pick a network development
? Pick an instance Tuples at 0x0290FB167208Af455bB137780163b7B7a9a10C16
? Select which function firstFirst(p: tuple[])
? p: tuple[]: [(1,2)]
>> Cannot read property 'length' of undefined. Enter a valid tuple[] such as: [(Hello world, 42), (Hell
o world, 42)].

+1

Also an issue with constructors, see the following report in the Community Forum (from Telegram):
https://forum.openzeppelin.com/t/use-a-tuple-as-a-constructor-parameter/2550


WOA Deployer in WinARM version

Is possible to have a WOA Deployer in WinARM exe ?
The idea is to build new SD Card from a Raspberry Pi without using another Win10 PC.
Thanks in advance.

move to Feature not Bug
sorry


Add lowS: false flag to secp256k1.ts verify

As has been noted in the @web5/crypto package, support for low-s signatures is not guaranteed by major KMS providers. I have personally run into this issue when using Azure keys for signing. Requesting that the lowS flag be set to false by default for verification of secp256k1 signatures, as it is in @web5/crypto package.

jfyi, if you are not sure which type of signature you are being handed, and you require lower s, you can always normalize to lower s before calling verify.

.take


Submenu not displayed

Describe the bug (actual behavior)
When a dropdown with submenu is located close to the right edge of the browser, the submenu does not display.
Expected behavior
Submenu is displayed left from its parent menu when insufficient space to the right.
Reproduction
Link to a minimal repro:
https://codesandbox.io/s/itwinui-react-submenu-display-issue-at-browser-edge-xsxte?file=/src/App.tsx
Steps to reproduce

Click the "..." button and open the "Font Size" submenu (working).
Click "Toggle Justification Start/End" - The more button now displays close to the right edge
In this state the "Font Size" submenu does not display anymore

Additional information
Saw in the story-book the menu floating around and properly displaying and could not figure out what is different here.
In the story book I modified the style of the surrounding div of the "more" button to 'display: flex; justify-content: "flex-end";'

fixed in v3. https://codesandbox.io/s/itwinui-react-submenu-display-issue-at-browser-edge-forked-rl3s7c?file=/src/App.tsx


Single shot measurement

Dear,
Thanks a lot for the new sensor. I'm amazed by the size and the ease of installation.
I used the example code to compare the behavior with the previous SCD30.
They are running next to each other with very similar results.
When I try to lower power - I want to run it on a single 3,6V 3000mAh - battery, I had a strange behavior.
I changed line 88 of the example
error = scd4x.startPeriodicMeasurement();
To
error = scd4x.measureSingleShot();
I measure the data the same way
error = scd4x.readMeasurement(co2, temperature, humidity);
After the measurement I send the data to a server and let the ESP32 board go to sleep for 15 minutes.
I wake up the ESP32 board, reinitialize the sensor, single shot measure, going back to sleep. This works for the SCD30 sensor (measurement interval of 60 seconds - and waiting for data available), but the low power option is still consuming +/- 5mA, so the battery last only a week.
the strange behavior in the measurement:

CO2 is +/- 100ppm higher in measureSingleShot() modus than in startPeriodicMeasurement() modus
Temperature is 3 to 4 degrees lower in measureSingleShot() modus than in startPeriodicMeasurement() modus
humidity is +/- 4% higher in measureSingleShot() modus than in startPeriodicMeasurement() modus

I have 2 SCD41 sensors and 2 SCD30 sensors running on the same table to verify results. I run one SCD 41 with the example code, and one with the single shot.
I exchanged them to be sure it was not a sensor problem, but same behavior.
Did I miss something?
Is there a warming up time or something?
Sensor is continuously powered from the battery on the breadboard.
ESP32 board is going to sleep.
Thanks in advance.

Dear DeKasClimber
Thank you for sharing your experience with our CO2 sensor family.
Regarding your questions:

CO2 is +/- 100ppm higher in measureSingleShot() modus than in startPeriodicMeasurement() modus
=> Changing the single shot interval can indeed result in minor offsets. This can be corrected by performing an FRC at the mode of operation in the field
·        Send ‘measure single shot’ command.
·        Wait 2 minutes
·        Repeat 3 times
·        Send forced recalibration command.
·        Measure single shot and compare to reference value (after waiting >1 minute)

Temperature is 3 to 4 degrees lower in measureSingleShot() modus than in startPeriodicMeasurement() modus
=> This is because of the reduced self-heating of the sensor. To compensate, adjust the temperature offset as described in chapter 3.6.1 in the datasheet.

humidity is +/- 4% higher in measureSingleShot() modus than in startPeriodicMeasurement() modus
=> relative humidity depends on the ambient temperature. By adjusting the temperature offset to the correct value, the humidity will be corrected as well.

I hope this helps and brings you to the next level of your project.
If you have any further questions related to the source code, please don't hesitate to open another issue. If you have any questions about the sensor behaviors, datasheet or similar, please contact<EMAIL_ADDRESS>Best regards and happy coding
Björn


Inline comments in ARM template deployments through Azure portal and DevOps pipeline

Is the Note on the deployment of templates containing inline comments through Azure portal and a DevOps pipeline being not supported correct?
I've just tested it and it seems to work with both deployment methods.

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

ID: 8490da1b-7403-c931-1ef3-3fb0d38d4926
Version Independent ID: fadff2d1-33d8-9fa0-2f4e-143a1b06c3d4
Content: Template structure and syntax - Azure Resource Manager
Content Source: articles/azure-resource-manager/templates/syntax.md
Service: azure-resource-manager
Sub-service: templates
GitHub Login: @mumian
Microsoft Alias: jgao

@GrzegorzHejman Thanks for your comment. We will review the issue and get back to you shortly.

@GrzegorzHejman - thanks for this feedback. I see that you are correct. I will update the article.


Test avatar resolution.

Test avatar resolution.

👷 Deploy Preview for yunrui-zhang processing.

Name
Link

🔨 Latest commit
8121bb019ee68b13d79d0fe3d9f88efdacc92c07

🔍 Latest deploy log
https://app.netlify.com/sites/yunrui-zhang/deploys/6523636b4ec2550008c32dc9


[Feature] Add theme-app-extension support to bundle.zip

WHY are these changes introduced?
When deploying an app to Shopify, the CLI currently generates a bundle.zip of all the UI extensions that are part of the app. We want to include theme-app-extensions as part of this process to bring it inline with the other CLI managed extensions.
Fixes #0000
App-Deploys 83
WHAT is this pull request doing?
We're adding a new environment flag to determine if theme-app-extensions should be included in the bundle, or if they should be uploaded through the current graphql mutation. If the environment flag is enabled, we will copy the theme-app-extension files from their current directories over to the temp directory that will eventually be zipped up.
How to test your changes?

Generate a test app and associate it with your dev store within Partners.
Generate a theme-app-extension to be associated with your app.

Post-release steps

Measuring impact
How do we know this change was effective? Please choose one:

[ ] n/a - this doesn't need measurement, e.g. a linting rule or a bug-fix
[ ] Existing analytics will cater for this addition
[ ] PR includes analytics changes to measure impact

Checklist

[ ] I've considered possible cross-platform impacts (Mac, Linux, Windows)
[ ] I've considered possible documentation changes
[ ] I've made sure that any changes to dev or deploy have been reflected in the internal flowchart.

Do you want to merge this to test it internally with the flag or wait for core to be ready?


The TypeScript language service died 5 times right after it got started. The service will not be restarted.

Have you set a custom typescript.tsdk value in your workspace or user settings?

Can you also please try collecting the TypeScript server logs:

Add "typescript.tsserver.log": "verbose" to your user settings and restart VSCode.
Reproduce the issue
Back in the TypeScript section of the output panel, look for a TSServer exited message. Right after that message there should now be the path to a log printed. Open that log directory and look in the tsserver.log file

Look for errors, stack traces, or other suspicious info near the end of the logs. If you can share the logs I can try looking through them to see what is going on

⚠Warning: The TypeScript log may include information from your workspace, including file paths and source code. If you have any concerns about posting this publicly on Github, just let me know and we can arrange something else. On our side, we only use these logs to investigate issues like this


Is this still under development ?

Docs links are broken or lead to a nearly empty notebook.
It's a cool project, but is it still maintained or abandoned ?

Closing as there is no action here.


Geyser v2

Proposed Changes
Implementation

@kazu80 Deployment is failing https://vercel.com/devprtcl/stakes-social/EmW1ku5oSzzQA3Btr53qaEgkSwyg
Can you inspect this?

@kazu80 Deployment is failing https://vercel.com/devprtcl/stakes-social/EmW1ku5oSzzQA3Btr53qaEgkSwyg
Can you inspect this?
Thank you @aggre
Yes. I fixed it

Nice! Let's merge this tomorrow when we started the Geyser v2


npm update throws an error:

npm ERR! Linux 3.13.0-71-generic
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "update"
npm ERR! node v4.2.1
npm ERR! npm  v2.14.7
npm ERR! code EPEERINVALID

npm ERR! peerinvalid The package<EMAIL_ADDRESS>does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer<EMAIL_ADDRESS>wants<EMAIL_ADDRESS>
npm ERR! Please include the following file with any support request:
npm ERR!     /usr/src/app/npm-debug.log

Install 1.13.x for now.


[P4-Symbolic] no-op, add default package visibility.

Keyword Check:
/sonic-buildimage/src/sonic-p4rt/sonic-pins$ ~/tools/keyword_checks.sh .
Keyword check Passed.
Build Result:
sonic/src/sonic-p4rt/sonic-pins$ bazel build $BAZEL_BUILD_OPTS ...
INFO: Analyzed 514 targets (205 packages loaded, 22507 targets configured).
INFO: Found 514 targets...
INFO: Elapsed time: 5.973s, Critical Path: 0.10s
INFO: 1 process: 1 internal.
INFO: Build completed successfully, 1 total action
Test Result:
/sonic/src/sonic-p4rt/sonic-pins$ bazel test $BAZEL_BUILD_OPTS --cache_test_results=no ...
INFO: Analyzed 514 targets (0 packages loaded, 324 targets configured).
INFO: Found 344 targets and 170 test targets...
INFO: Elapsed time: 103.991s, Critical Path: 43.29s
INFO: 179 processes: 211 linux-sandbox, 18 local.
INFO: Build completed successfully, 179 total actions
//gutil:collections_test                                                 PASSED in 0.6s
//gutil:io_test                                                          PASSED in 0.6s
//gutil:proto_matchers_test                                              PASSED in 0.8s
//gutil:proto_ordering_test                                              PASSED in 0.6s
//gutil:proto_test                                                       PASSED in 0.6s
//gutil:status_matchers_test                                             PASSED in 0.5s
//gutil:test_artifact_writer_test                                        PASSED in 0.8s
//gutil:testing_test                                                     PASSED in 0.5s
//gutil:timer_test                                                       PASSED in 5.1s
//p4rt_app/tests:resource_limits_test                                    PASSED in 3.3s
//p4rt_app/tests:response_path_test                                      PASSED in 6.0s
//p4rt_app/tests:role_test                                               PASSED in 1.5s
//p4rt_app/tests:state_verification_test                                 PASSED in 2.8s
//p4rt_app/tests:vrf_table_test                                          PASSED in 2.4s
//p4rt_app/tests/lib:app_db_entry_builder_test                           PASSED in 0.0s
//p4rt_app/utils:event_data_tracker_test                                 PASSED in 0.0s
//p4rt_app/utils:table_utility_test                                      PASSED in 1.2s
//sai_p4/instantiations/google:clos_stage_test                           PASSED in 1.0s
//sai_p4/instantiations/google:fabric_border_router_p4info_up_to_date_test PASSED in 0.0s
//sai_p4/instantiations/google:middleblock_p4info_up_to_date_test        PASSED in 0.0s
//sai_p4/instantiations/google:sai_nonstandard_platforms_build_test      PASSED in 0.0s
//sai_p4/instantiations/google:sai_nonstandard_platforms_cc_test         PASSED in 0.6s
//sai_p4/instantiations/google:sai_p4info_fetcher_test                   PASSED in 0.7s
//sai_p4/instantiations/google:sai_p4info_test                           PASSED in 1.7s
//sai_p4/instantiations/google:sai_pd_proto_test                         PASSED in 0.0s
//sai_p4/instantiations/google:sai_pd_util_test                          PASSED in 0.6s
//sai_p4/instantiations/google:tor_p4info_up_to_date_test                PASSED in 0.0s
//sai_p4/instantiations/google:union_p4info_up_to_date_test              PASSED in 0.1s
//sai_p4/instantiations/google:wbb_p4info_up_to_date_test                PASSED in 0.0s
//sai_p4/instantiations/google/test_tools:table_entry_generator_helper_test PASSED in 2.3s
//sai_p4/instantiations/google/test_tools:test_entries_test              PASSED in 0.9s
//sai_p4/tools:p4info_tools_test                                         PASSED in 0.6s
//sai_p4/tools:packetio_tools_test                                       PASSED in 1.1s
//thinkit:bazel_test_environment_test                                    PASSED in 0.6s
//thinkit:generic_testbed_test                                           PASSED in 1.0s
//thinkit:mock_control_device_test                                       PASSED in 0.6s
//thinkit:mock_generic_testbed_test                                      PASSED in 0.7s
//thinkit:mock_mirror_testbed_test                                       PASSED in 2.4s
//thinkit:mock_ssh_client_test                                           PASSED in 0.0s
//thinkit:mock_switch_test                                               PASSED in 0.7s
//thinkit:mock_test_environment_test                                     PASSED in 0.1s
//thinkit:switch_test                                                    PASSED in 1.7s
//sai_p4/instantiations/google/test_tools:table_entry_generator_test     PASSED in 43.2s
Stats over 5 runs: max = 43.2s, min = 1.1s, avg = 9.6s, dev = 16.8s
//sai_p4/instantiations/google/tests:p4_constraints_integration_test     PASSED in 0.8s
Stats over 5 runs: max = 0.8s, min = 0.7s, avg = 0.7s, dev = 0.0s
Executed 170 out of 170 tests: 170 tests pass.
INFO: Build completed successfully, 179 total actions

Co-authored-by: Stefan Heule<EMAIL_ADDRESS>


Text similarity methods

Methods

Sanjeev Arora paper
sentence BERT
tf-idf
Jaccard and bigram Jaccard (on the fly)

For reddit preprocessing

[ ] Make jsonl files for each collection of reddits in question.

fitness.loseit.caloriecount.jsonl stores ONLY comments from these subs. Make via grep -f targets.txt where targets is a list of a few targets ('"subreddit":"fitness"'). Definined as the union of the relevant relevant reddits.

[ ] Loop over the fitness.loseit.caloriecount.jsonl  jsonl, tokenize with spacy, and count the occurences of each token stored as fitness.loseit.caloriecount.counts
[ ] Loop over fitness.loseit.caloriecount.jsonl, and for each comment compute and store:
- [ ]  sbert
- [ ] arora embedding
- [ ] tf-idf embedding; a vector of size v. If a word does not occur, its component is zero. If it does, its component is tf (#times in the comment)*idf (=1/df)

For the CHI quotes

Assign each quote an ID?
For each quote, compute embedding using (Arora, sentence bert) and save to disk.

Actually computing cosine similarity

Make a big matrix, and compute this in a vectorized manner. Fast.

Arora paper
Loop over a reddit and count each word. Then compute probabilities. Then multiply each word vector by the probability. (Spacy vectors to start, but eventually want better ones; or BERT vectors, deal w/ subword encoding somehow). We could compute the Arora embeddings and store them for each reddit comment. Each reddit comment could have its embedding in the json?
Sentence BERT
As a preprocessing step, compute the sentence bert vector for the comment and store it in the json?
tf-idf
Loop over the corpus, get the word count/df. Once we have that, then we loop over corpus again and assign a tf-idf vector to each reddit comment.
Possible human eval
Ask people how similar they are, measure correlation between these different embedding methods.

Syntax
Description
Test Text

Header
Title
Here's this

Paragraph
Text
And more


php:7.2-alpine bundles with outdated PHP version

I did docker pull edbizarro/gitlab-ci-pipeline-php:7.2-alpine
Then went into this image via docker run -ti --entrypoint=sh <image ID>
And executed
/var/www/html $ php -v
PHP 7.2.1 (cli) (built: Jan 10 2018 02:20:55) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2017 Zend Technologies
    with Zend OPcache v7.2.1, Copyright (c) 1999-2017, by Zend Technologies
    with Xdebug v2.7.0beta2-dev, Copyright (c) 2002-2018, by Derick Rethans

Expected: PHP 7.2.14

fixed


Integrate @tscircuit/eval-webworker

This will move running tscircuit scripts to a background process
https://github.com/tscircuit/eval-webworker

/bounty $30

CC @anas-sarkez this is required to get the freezing to stop too

/bounty $50

/attempt #288

/attempt #288

@seveibar does this issue still valid?
shouldn't it use https://github.com/tscircuit/runframe instead?


CANNOT REPORT ISSUE USE ISSUE REPORTER

CANNOT SELECT VERSION. THOUGH ITS NOT MARKED AS STAR BUT IT SHOWS RED WHEN I CLICK PREVIEW BUTTON

CANNOT SELECT VERSION. THOUGH ITS NOT MARKED AS STAR BUT IT SHOWS RED WHEN I CLICK PREVIEW BUTTON
CANNOT SELECT VERSION. THOUGH ITS NOT MARKED AS STAR BUT IT SHOWS RED WHEN I CLICK PREVIEW BUTTON


try

Description

Related Issue (Link to issue ticket)

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate - Postman, etc):

Types of changes

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

Checklist:

[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

HmM. What is this??

Nothing
On Tue, Aug 6, 2024 at 9:51 AM Adegbehingbe, Oluwakorede Joseph <
@.***> wrote:

HmM. What is this??
—
Reply to this email directly, view it on GitHub
https://github.com/hngprojects/hng_boilerplate_python_fastapi_web/pull/683#issuecomment-2270736686,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A5LZGFNNSZIGTAWX4KT2GOTZQCFCVAVCNFSM6AAAAABMB3FG32VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENZQG4ZTMNRYGY
.
You are receiving this because you authored the thread.Message ID:
<hngprojects/hng_boilerplate_python_fastapi_web/pull/683/c2270736686@
github.com>


Backup api_server_url if not set in cluster config.

Merge activity

Jun 23, 10:53 PM EDT: @rohinb2 started a stack merge that includes this pull request via Graphite.


The cross-docking test set

Hi, where can I find the cross-docking test set mentioned in the GNINA paper? It's a dataset containing 7937 cross-docked complexes.

Files for the GNINA 1.0 paper
Scripts for the GNINA 1.0 paper

The cross-docking dataset with 7937 complexes is a cleaned-up version of the protein-ligand pairs that can be found in pocketdiff.csv. The cleanup procedure is performed in MakeFlexGraphs.ipynb. This is the one used for docking with flexible side-chains.
Without the specific cleanup for flexible side chains, the dataset has 7970 complexes and is available as crossdocked_ds_data.tar.gz data set.


Enable --docker_build option to work with podman

Currently, the --docker_build option to does not work properly with podman. The image that is created from the docker_build option normally creates a new user that has the same uid and gid as the user who builds the image. Things work a little differently when running podman "rootless" and the docker files and build scripts need to be modified in order to enable the docker_build option to work properly with podman (when podman is being run rootless).

I think it can be clubbed with #266 .

I think it can be clubbed with #266 .

I've changes ready for this issue at here https://github.com/npanpaliya/open-ce/commit/775979177ed21917c69ecfec8e75515ca74b9bb3. However, due to a different permission issue on our systems using rootless login, I could not test these.
@cdeepali can use these changes in her PR to address #266 .

Thanks @npanpaliya for sharing the code changes.


Extract class active in rating

This PR adds a possibility to customise the class applied on a selected rating button. This might be different in other css frameworks than bootstrap (eg. is-active in foundation and bulma)

Yes, it makes sense.
Thank you!
Andrew


Pneumatic Control Implementation

Electrical and Mechanical are going to implement Pneumatic controls back on to the Beluga. The software needs code that when they send command we activate GPIO pins on RPI to send electrical signals to relays. These relays will then activate pneumatic switches. We need code that listens to software commands and turns on relays when needed.
Before it was Xavier that controlled pneumatics from its GPIO, now its RPI with its GPIO. The code is already finished implementing on the Xavier. Code can be found here:
https://github.com/vortexntnu/vortex-auv/tree/feature/PneumaticsOnRPI/manipulators
The main thing we need to do is import GPIO pins for RPI instead of Xavier GPIO library and modify a bit of code on that matter, then test and merge everything again :)
Relay til Raspberry pi connections:
IN1 -> GPIO13
IN2 -> GPIO6
IN3 -> GPIO5

Done, just need testing


Changed an image for better UX

Changed a Clickable image with an Image with play button icon.
It makes the video link more understandable as a video.
The new image is hosted at a realiable source as well with no extra files getting into the repo.
Old

image
New

image

This is a great point that including a play icon (or YouTube logo) on these images would be an indicator that the image will link to the corresponding video to play. For all videos within this repo we utilize the thumbnail image that is hosted through YouTube. This allows us to keep those images matching, hosted with the video, and keeps them from needing to be included.
As we continue to update this content, videos, and video thumbnails we will make not to update video thumbnails on YouTube with a play button. At this time we are going to continue to leave the images as, matching and hosted on YouTube and close this PR. Thank you for the suggestion!

I see your point. I didnt consider it earlier.
Anyways, Ty for reviewing.


Upgrade outreach2

Supersedes https://github.com/openmicroscopy/prod-playbooks/pull/122
First change is motivated by the necessity to increaase the number of users on outreach to 50 - there are 48 participants already booked on one of the courses in December.
cc @jburel @joshmoore @manics

Run the playbbok successfully on outreach.

 bin/omero config get | grep poolsize
omero.db.poolsize=60
[pwalczysko@ome-training-outreach OMERO.server]$

I don't think we will need more adjustments

Merging so I can tag the training-repos
the setup was used in Turku


Patched up various one-offs

This was originally opened as #99 but is now pointing to the dev branch.

On occasion, I have been exploring testing options for ncurses and Suplemon in general. Today, I wound up wanting to see if there were any other options for testing. While re-reading parts of the repo, I found some one-offs that would be good to fix up. This PR is a collection of all of them.
In this PR:

[x] Reduced greed of version regexp in setup.py

By using a character class, we remove the need for backtracking after the .* consumes the quote
Here's a good reference site: https://www.loggly.com/blog/five-invaluable-techniques-to-improve-regex-performance/

[x] Fixed README heading to use proper casing of Suplemon (used eveywhere else)
[x] Fixed Linux casing in README
[x] Added installation instructions for "Optional dependencies" in README
[x] Formalized .travis.yml steps into requirements-dev.txt and ./test.sh so it can be reused locally
[x] Added "Development" instructions in README
[x] Trimmed trailing whitespace in README (kept on making noise in git add -p for me)
[x] Fixed up single quotes to double quotes for consistency

Waiting on https://github.com/zheller/flake8-quotes/pull/9 to actually enforce this

Notes:
With respect to testing, I have a few thoughts in my head. The gist is we shouldn't test anything that is going to change when aligning with the Sublime Text API (or at least not too thoroughly) (e.g cursors instead of regions). This is to prevent creating excess work that is getting thrown out. I will create a more formal issue for discussion later.

There seem to be some merge conflicts. I can't take care of those at the moment but should deal with them over the next few days.

The merge conflicts have now been resolved :+1:

Thanks a lot! :+1:


auto suggest from subfolders

currently the auto suggestion provides notes from subfolders without the correct folder prefix
given folder/note.md then note is provided as a link when instead folder/note should be provided

fixed in 0.12.0


add support for websocket forwarding

when proxying the kubernetes REST API its looking like the websockets don't proxy yet
WebSocket connection to 'ws://k8s/api/v1/namespaces/default/pods?watch=true&access_token' failed: Error in connection establishment: net::ERR_NAME_NOT_RESOLVED

it'd be nice to be able to proxy those too

I've done a spike implementing this in this branch: https://github.com/jstrachan/kuisp/tree/websocket though have TLS issues right now...

Looks like you need to use wss rather than plain ws?

it does use wss :( https://github.com/jstrachan/kuisp/blob/websocket/kuisp.go#L158 - which then under the covers does a https GET

Fixed in #9


Create ball grabber

Consists of only pseudo code and comments/questions. Not functional whatsoever, but is a start concept.

The code is no longer pseudocode, but it can still NOT run on a robot

Fixed most reviews, naming schemes should be better now.

We set up the commands, all that is left is to run them using the controller.

briefcase is all set! starting work on physical robot from now


Sumo bump

hi,
github says there are conflicts. please check.
like for meta-rpb PR, there are 2 differences in kselftest.inc file between sumo-bump and master that should be fixed.
in your sumo-bump branch, you have "grub: drop custom recipe and migrate to the upstream grub-efi version", so I think you probably need to include "bubblegum: move to upstream grub-efi" from master as well, no?

closing as it was wrongly sent against master, not sumo.


wip: feat(menu): Add divider into Menu (like DropdownDivider)

Work in Progress!!
I'm still missing the update on the changelog, and adding tests and docs.
I'm not very experienced with the details about changing Naive components, there are many details.
First I would like a heads up if this implementation is looking good. If it is, then I will proceed with the other necessary changes before this PR can be merged.
Thank you for this excellent library!

@07akioni I did some refactoring... please tell what you think.

Sorry boss, I'm trying my best but I simply don't have enough experience with this codebase.
Please see doubt above about 'group' and 'submenu'.

The code seems to be okay.

@07akioni Will do, thank you!

Try to solve conflict first?

@rhengles I've add it in https://github.com/TuSimple/naive-ui/pull/1636


mamcache upgrade from 3.0.3 to 3.1.4

hi team ,
i am planing to uppgrade mamcache from 3.0.3 to 3.1.4 version on RHL 6.
can you please suggest how to upgrade rom 3.0.3 to 3.1.4 version on RHL 6.
thanks,
Ram pratap

That sounds like the php version. You should ask a PHP help forum for support: this is for bugs related to the server.


modified resampling sh and standardize data

Note.
from scilpy.reconst.raw_signal import compute_sh_coefficients
Uses something from a PR in scilpy. We can wait for this to be accepted.
https://github.com/scilus/scilpy/pull/113

Hello @EmmaRenauld! Thanks for opening this PR.

In the file dwi_ml/data/processing/dwi/dwi.py:

Line 33:80: E501 line too long (80 > 79 characters)
Line 42:80: E501 line too long (80 > 79 characters)
Line 77:1: W391 blank line at end of file

Do see the PEP 8 -- Style Guide for Python Code


Input format GNSS

Hi
I came accross your gnss-imu fusion solution and wanted to test it out a little with my own data.
I saw the input files and was wondering if you have any more information on what format the GNSS Input file is?
I have can produce .pos files (out of RTKLIB) quite easy, but there are nowhere near the 28 columns you have in your GNSS textfile.
Goam

Hi Goam!
GNSS input parameters include:

ECEF position XYZ components and corresponding variance-covariance
Velocity XYZ components and corresponding variance-covariance
Covariance of Position and Velocity (you can set these parameters as 0's)

Aaron.

Thanks for the clarification.
To be more clear: I only need the 6 values (beside time): X,Y,Z and Vx,Vy,Vz?
ECEF position seems to be easy to get. Velocity no so much. Will figure it out.
thanks again
ps.
out of curiosity: with what system/GNSS modul did you produce the covariance data?

Apart from position and velocity, also consider having their corresponding variance-covariance (you can assign some constants).
I used my own GNSS module to produce the position, velocity and covariance. It uses relative positioning between rover and a single base station (with double-differenced carrier phase observations and ambiguity resolution).

Hello,
I am a beginner, and I am confused about some symbols.
(1) input data. Is Vel under the ECEF reference system?
(2) sf_eib. Is eib means boday frame --> ECI frame?
(3)sf_bib. Is bib means body frame –> body inertial frame?
(4)vel_eeb.Is eeb means body frame –> ECEF frame？
Looking forward to your reply.
Thank you very much.

To answer your questions:
(1) input data. Is Vel under the ECEF reference system? - Yes
(2) sf_eib. Is eib means body frame --> ECI frame? - body frame with respect to inertial frame, resolved in ecef frame
(3)sf_bib. Is bib means body frame –> body inertial frame? - body frame with respect to inertial frame, resolved in body frame
(4)vel_eeb.Is eeb means body frame –> ECEF frame？- body frame with respect to ecef frame, resolved in ecef frame
Looking forward to your reply.
Thank you very much.

OK, thank you very much. And I still have some questions.
(1) I can get vel data in NED frame (local navigation frame), so I have to transform it into ECEF frame, right?
So I have to caculate C_en (NED to ECEF frame transform matrix), and vel_eeb =  C_en *vel_navi, right?
(2)One more question, you say that you use your own GNSS module to produce the position, velocity and covariance, so can you tell me which GNSS module you are using? And how does it get this covariance information? Do you have any tools or scripts to get convariance information from the observed data (position vel).

To answer your questions:
(1) I can get vel data in NED frame (local navigation frame), so I have to transform it into ECEF frame, right? So I have to caculate C_en (NED to ECEF frame transform matrix), and vel_eeb = C_en *vel_navi, right? - Yes, this is an ECEF implementation.
(2)One more question, you say that you use your own GNSS module to produce the position, velocity and covariance, so can you tell me which GNSS module you are using? And how does it get this covariance information? Do you have any tools or scripts to get convariance information from the observed data (position vel). - **I am developing a sensor integration library for my lab, so I have a GNSS processing engine as part of that. I cannot share it. However you can use RTKLIB to generate position and std. deviation (sqrt of covariance). I sometimes use RTKLIB to validate my solution. **

OK, thank you very much.
Whitch navigation frame do you use in your project? ENU, I guess. But this function "MatrixXd ecef2llfDCM(double lat, double lon) " in your project returns the DCM means C_ecef2NED? (https://ww2.mathworks.cn/help/aeroblks/directioncosinematrixeceftonedtolatitudeandlongitude.html)
Is there something wrong?

So, you can use RTKLIB to generate position and std. deviation (sqrt of covariance), but how can you generate corresponding synchronous IMU data?

Firstly, you should open a new issue for your questions. This stream was opened for Input format.

Mechanization is in ECEF. Navigation frame NED is used to resolve attitude. I have some functions for ENU which have not been used.
I do not understand your question about "generating" IMU data. IMU data is obtained using an IMU sensor. Both GNSS and IMU measurements are appropriately time tagged. RTKLIB can only process your GNSS measurements. You can then use the RTKLIB GNSS solution as input here.


push alignment viewer

Issue for app: #[issue number here]
App pull request

[ ] This is a new app
[ ] I am improving an existing app (redesigns/code "makeovers")

About

Playground deployment URL (new version):
Current gallery app URL: (delete this line if inapplicable)
Python app repository link: (delete this line if you are working on a Python app)

Workflow

[ ] I have created a branch in the appropriate monorepo, and the
elements necessary for successful deployment are in place.
[ ] If the app is a redesigned and/or restyled version of an
existing gallery app, I've summarized the changes requested in the
appropriate Streambed issue and confirm that they have been applied.
[ ] If the app is on the Dash Gallery portal, I have added a link to
the GitHub repository for the source code in the portal description.
[ ] If the app is a reimplementation of a Python gallery app for the
DashR gallery, the app in this PR mimics, as closely as possible,
the style and functionality of the existing app.=
[ ] I have removed all Google Analytics code from the app's
assets/ folder.

The pre-review review
I have addressed all of the following questions:

[ ] Does everything in my code serve some purpose? (I have removed
any dead and/or irrelevant code.)
[ ] Does everything in my code have a clear purpose? (My code is
readable and, where it isn't, it has been commented appropriately.)]
[ ] Am I reinventing the wheel? (I have used appropriate packages to
lessen the volume of code that needs to be maintained.)

A couple minor things, which I will try to fix now:

Interactions tab overflows into adjoining tab on right when selected
"Dash Alignment Viewer" on header is a bit too large (font size)

Otherwise, looks great! Nice job!


Heatmap layer changes on zoom and scroll

Here is an example of what I'm talking about https://monosnap.com/file/RlCBVesSFsBHEaJP7KaHzzS4aNeavp#embed
I'm expecting to see constant layer without any changes even on zoom or scroll. Am I missing something?

it looks like you're having useLocalExtremas set to true. in that case it will look for the highest visible point and use that as maximum for the heatmap, disable it and it should behave properly

You can extend the boundingbox using the pad function.
http://leafletjs.com/reference-1.3.0.html#latlngbounds
At the leaflet-heatmap.js
https://github.com/pa7/heatmap.js/blob/develop/plugins/leaflet-heatmap/leaflet-heatmap.js
ln: 101
Add the following:
bounds = bounds.pad(0.1);
Using this line you are extending the current bounds by 10% and this will fix the rendering issue of zooming and dragging.


Improve tags

Assorted changes related to tags: ensure some multi-word tags are joined by hyphens, unify equivalent tags, fix typos in a couple of tags, add missing tags.
This PR partially addresses #176.

#build_preview

Thank you.  Based on the updated tag cloud, I added a few more hyphens (and found a typo in the process).  I won't be making any further changes - you probably want to check the updated PR build, but unless something is broken there, as far as I am concerned this PR is ready to be merged.

#delete_preview

Looking at

qContainers

Store any intrinsic or derived data type to a container

Tags: qlibc tree table hash table linked list vector dynamic array unique set

I think there are still many multi-word tags that need to be hyphenated. I assume hash-table, linked-list, and dynamic-array are multi-word tags.

@Beliavsky, mind opening a new issue for the multi-word tags?


Crownlabs Image Conversion - CRD definition

Description
This PR defines the ImageConversionRequest CRD, one of the different elements required to implement #273.

/lgtm

Closing, as mostly out-of-date and no one is planning to work on this in the short term


TypeError: 'mappingproxy' object is not callable

Hi @rrooggiieerr
I saw your post in https://github.com/joopert/nad_receiver/issues/57
It looked exactly what I was looking for.
Unfortunatly, when trying out the custom component I run into this error:
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 444, in async_setup
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/nad/__init__.py", line 212, in async_setup_entry
    receiver_coordinator = NADReceiverCoordinator(hass, entry)
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/nad/__init__.py", line 83, in __init__
    host = self.config(CONF_HOST)
           ^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'mappingproxy' object is not callable

Any idea's where it comes from or how to fix it?

Hi @alex-vyverman, thanks for the feedback! I'm using the serial interface myself, so never ran into this issue. The problem was quite obvious for me, so I quickly fixed it. I also had some other changes in my own codebase which I also pushed to GitHub, so give the latest code a try and let me know how that works for you

Thanks for the quick respons @rrooggiieerr !
I tried the integration, but it seems you try to import the Class NADCommandNotSupportedError, but there is no such class in nad_receiver
Maybe I'm using a wrong version, or was this implemented in another version of the lib?
Many thanks!

Can you try again with the latest code?

Yes, now it seems to work perfectly!

That's great! Using the network connection?
Does your Source and Sound mode also work?

I only developed controls and sensors for the features my T755 supports. If you're missing some feel free to add them in the code and create a pull request with the changes.

Hey @rrooggiieerr
I'm using the telnet connection
No, sound mode and source don't seem to work on my T758 v3.
I indeed see differences in the calls you make, compaired to what my receiver wants.
If I for instance do a Main.listeningMode? in telnet I get:
Main.ListeningMode=DolbySurround
Main.ListeningMode.Analog=DolbySurround
Main.ListeningMode.DTS.Stereo=NeuralX
Main.ListeningMode.DTS.Surround=None
Main.ListeningMode.Dolby.Stereo=DolbySurround
Main.ListeningMode.Dolby.Surround=None
Main.ListeningMode.PCM.Stereo=DolbySurround
Main.ListeningMode.PCM.Surround=None

Which differs from your entries:
        SelectEntityDescription(
            key="Main.ListeningMode.Analog",
            name="Analog Signal Listening Mode",
            options=[
                "None",
                "ProLogic",
                "PLIIMovie",
                "PLIIMusic",
                "NEO6Cinema",
                "NEO6Music",
                "EARS",
                "EnhancedStereo",
                "AnalogBypass",
            ],
            entity_category=EntityCategory.CONFIG,
            entity_registry_enabled_default=False,
        ),
        SelectEntityDescription(
            key="Main.ListeningMode.Digital",
            name="Digital Signal Listening Mode",
            options=[
                "None",
                "ProLogic",
                "PLIIMovie",
                "PLIIMusic",
                "NEO6Cinema",
                "NEO6Music",
                "EARS",
                "EnhancedStereo",
                "StereoDownmix",
            ],
            entity_category=EntityCategory.CONFIG,
            entity_registry_enabled_default=False,
        ),
        SelectEntityDescription(
            key="Main.ListeningMode.DolbyDigital",
            name="Dolby Digital Listening Mode",
            options=["None", "PLIIMovie", "PLIIMusic", "SurroundEX", "StereoDownmix"],
            entity_category=EntityCategory.CONFIG,
            entity_registry_enabled_default=False,
        ),
        SelectEntityDescription(
            key="Main.ListeningMode.DolbyDigital2ch",
            name="Dolby Digital 2 channel Listening Mode",
            options=["None", "ProLogic", "PLIIMovie", "PLIIMusic"],
            entity_category=EntityCategory.CONFIG,
            entity_registry_enabled_default=False,
        ),
        SelectEntityDescription(
            key="Main.ListeningMode.DTS",
            name="DTS Listening Mode",
            options=["None", "NEO6Music", "StereoDownmix"],
            entity_category=EntityCategory.CONFIG,
            entity_registry_enabled_default=False,

Which explains why only Main.ListeningMode.Analog works in HA.

Sorry for not getting back to you earlier. Options are not discovered, they are currently hard coded for my T755. Commands are detected though, the code tries out a command during initialisation of the integration, and if the command fails the entity for that command is not added.
for entity_description in entity_descriptions:
    if coordinator.supports_command(entity_description.key):
        entities.append(NADReceiverSensor(coordinator, entity_description))

https://github.com/rrooggiieerr/homeassistant-nad/blame/117f1488452ea561d30c41b7a9f136f7b4b3e654/custom_components/nad/sensor.py#L77-L79

Hi Alex, I recently picked up a T757 and want to improve my integration for this device. But first I need to connect to it. Did you do anything special to connect to your T758? I don't get any response when connecting to the serial port

Never mind, it's working. Loose connector inside the receiver I guess


Reduced API calls on System Parameters page

Reduced API calls on System Parameters page for performance improvement
Jira Story- https://jsw.ibm.com/browse/PFEBMC-2945

Will remove the comments before getting it merged.


FIX Add a version number #20 | Version Action Implemented using importlib.metadata.version

Version Action Implemented using importlib.metadata.version. This attempts to fix #20.

Formatted codebase using black. Fixed the quote discrepency. Not sure how import statements are to be ordered though.


[FLINK-9854][sql-client] Allow passing multi-line input to SQL Client CLI

What is the purpose of the change
This pull request support passing multi-line input to SQL Client CLI
Brief change log

Allow passing multi-line input to SQL Client CLI in CliClient.java
Added test in CliClientTest.java

Verifying this change
This change is already covered by existing tests, such as CliClient.java.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

Hi @yanghua, could you extend the description with how does the piping multiline support actually works. Why only the last command in a pipe has to end with ;? That looks a bit weird for me.

Hi @yanghua, could you extend the description with how does the piping multiline support actually works. Why only the last command in a pipe has to end with ;? That looks a bit weird for me.

@dawidwys Did you guess this from my test case? Sorry, it may mislead you. Actually, there is no requirement for this. I just used a SQL statement which ends with ';'.

Yes, I induced that from the tests. Then I think that's still a problem, cause afaik we require a sql statement to end with ;

@dawidwys Align the information, the issue currently only supports one SQL statement is split into multiple lines, the current SQL statement accepted by the CLI can end with ';' or not. ';' will be removed during parsing.

@dawidwys @twalthr Can you review this PR?

leaving...


Improve speed / caching of run-tests-docker.sh

run-tests-docker.sh works great, but does a bunch of pip/npm/docker cycling on each run.
Since this is something to run iteratively, it would be nice to jump straight to the actual tests, using a clean & already-built set of containers if they've been built before.

@ryansanford I'm going to investigate this see how much of the native testing can use the docker test script instead, nice work you did there.

@kofalt I believe PR #500 resolved this issue. Can you confirm?

Yes, it seems to work pretty well now :)


[Staging] Loopback error when accessing challenges

When running the FCC staging branch as usual via gulp I get the following error when trying to access challenges.
500 TypeError: predicate.call is not a function

       at /Users/logan/development/FreeCodeCamp/node_modules/rx/dist/rx.js:5130:78
       at tryCatcher (/Users/logan/development/FreeCodeCamp/node_modules/rx/dist/rx.js:567:29)
       at InnerObserver.onNext (/Users/logan/development/FreeCodeCamp/node_modules/rx/dist/rx.js:5147:49)
       at InnerObserver.tryCatcher (/Users/logan/development/FreeCodeCamp/node_modules/rx/dist/rx.js:567:29)
       at AutoDetachObserverPrototype.next (/Users/logan/development/FreeCodeCamp/node_modules/rx/dist/rx.js:5274:51)
       at AutoDetachObserver.Rx.internals.AbstractObserver.AbstractObserver.onNext (/Users/logan/development/FreeCodeCamp/node_modules/rx/dist/rx.js:1710:35)
       at /Users/logan/development/FreeCodeCamp/node_modules/rx/dist/rx.js:1855:51
       at /Users/logan/development/FreeCodeCamp/node_modules/rx/dist/rx.js:1884:13
       at scheduleInnerRecursive (/Users/logan/development/FreeCodeCamp/node_modules/rx/dist/rx.js:1085:7)
       at recursiveAction (/Users/logan/development/FreeCodeCamp/node_modules/rx/dist/rx.js:1039:9)

I can not reproduce the error on any other pages, but every single challenge will cause this.
Last I'd run the staging branch is 2 days ago, so I only know the change is more recent than that.

Hey @ltegman, We just merged updates to packages. Please wipe out your node modules and do another npm install
rm -rf node_modules/
npm install

Let me know how that works for you.

Doh -- that did the trick! Thanks :)

Awesome!
Happy Coding!


Invalid Firebase API error

Even after providing the correct web API Key I am not able to authenticate nor sign in.
On click of

I get a error message

{"error":{"code":400,"message":"API key not valid. Please pass a valid API key.","errors":[{"message":"API key not valid. Please pass a valid API key.","domain":"global","reason":"badRequest"}],"status":"INVALID_ARGUMENT"}}.

What couldbe the possible error.

Hey @Rahulkasyap
In src/firebase/firebase.js
you'll have to change the config - only api key will be coming from environmental variables (env.local)
Make sure you add the app in firebase and get the values from firebase config , i forgot to mention this in readme.

Hope this solves the issue

i've added this in the readme now

Hi @YogeshPrasanna
Thanks for that.
But adding the firebase credential came out with as set of error. Please help me in getting rid of them.

Hey @Abhijeetm96
I've resolved those issues now , and checked in the code
Pull the latest code , you'll be able to run the application.

Thanks @YogeshPrasanna
Can you explain what was the error?

Few months back , there was old expenses table - to migrate the data from old table to the new table ,
i was checking if that particular user had entries in that old table or not . so in that i was not checking if the data was !== null or not , it was a simple type error that  i missed out to check.
This was happening only in new firebase projects - like the one you created, and i could not find it out since i had legacy tables too.

@YogeshPrasanna

The loan page has been in loading phase since a while. Even the add button is missing

Create this as a seperate issue , need to check