Fix building docker image

I was trying to build the docker image but got an error. I noticed that the issues for the repository have been disabled, so just created a branch to fix the issue.
The issue is fixed after updating the base image to jruby 9.2. I also updated the Dockerfile to improve the image size and build cache (more here: faebadf).
Original issue

What error message did you get?Sending build context to Docker daemon  101.7MB
Step 1/17 : FROM jruby:9.1-jdk
 ---> 5a68c265dd1c
Step 2/17 : RUN apt-get update -qq && apt-get install -y build-essential
 ---> Using cache
 ---> 515590e7c875
Step 3/17 : RUN echo 'gem: --no-rdoc --no-ri' >> /.gemrc
 ---> Using cache
 ---> fa670928db84
Step 4/17 : ENV GEM_HOME /usr/local/bundle
 ---> Using cache
 ---> fd75d82804f5
Step 5/17 : ENV PATH $GEM_HOME/bin:$PATH
 ---> Using cache
 ---> b9cf46e84009
Step 6/17 : RUN gem install bundler -v '< 2'   && bundle config --global path "$GEM_HOME"   && bundle config --global bin "$GEM_HOME/bin"
 ---> Using cache
 ---> 2ab6665ceee9
Step 7/17 : ENV BUNDLE_APP_CONFIG $GEM_HOME
 ---> Using cache
 ---> ef2730668958
Step 8/17 : WORKDIR /app
 ---> Using cache
 ---> ccf0a957db21
Step 9/17 : COPY Gemfile ./
 ---> 82e144da6405
Step 10/17 : COPY Gemfile.lock ./
 ---> b4bc570e18b2
Step 11/17 : COPY Jarfile ./
 ---> a4950a5ddd1e
Step 12/17 : COPY Jarfile.lock ./
 ---> 21ef450b654c
Step 13/17 : RUN bundle install
 ---> Running in 2c09cf7e41e2
Fetching gem metadata from https://rubygems.org/..........
Fetching gem metadata from https://rubygems.org/.
You have requested:
  autoprefixer-rails = 9.8.6

The bundle currently has autoprefixer-rails locked at <IP_ADDRESS>.
Try running `bundle update autoprefixer-rails`

If you are updating multiple gems in your Gemfile at once,
try passing them all to `bundle update`

What steps did you take?
Clone and docker build .
What PDF were you trying to extract data from?
N/A
What version of Tabula are you using?
The master branch and it  also affects the 1.2.1 tag
What platform are you on?
Linux

Thanks @ivanvc !
Just checked it and verified that it builds and runs correctly. Merging.

@jazzido I think travis is failing because of the same error, I can update the travis.yml file too. It runs fine on JRuby 9.2


RegexNotFoundError: Unable to extract JS player n function (link still generates)

Checklist

[X] I'm reporting a bug unrelated to a specific site
[X] I've verified that I'm running yt-dlp version 2022.01.21. (update instructions)
[X] I've checked that all provided URLs are alive and playable in a browser
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Description
yt-dlp throws the following error: yt_dlp.utils.RegexNotFoundError: Unable to extract Initial JS player n function name
A link still generates.
Verbose log
[debug] Command-line config: ['q0IOUfvp6ws', '--user-agent', '', '--extractor-args', 'youtube:player-client=web', '-S', 'vcodec:h264', '-f', 'bestvideo[height<=1440][ext=mp4]', '--get-url', '--verbose']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, err utf-8, pref UTF-8
[debug] yt-dlp version 2022.01.21 [f20d607b0]
[debug] Python version 3.8.10 (CPython 64bit) - Linux-4.15.0-x86_64-with-glibc2.29
[debug] exe versions: ffmpeg 3.4.8, ffprobe 3.4.8
[debug] Optional libraries: Cryptodome, secretstorage, mutagen, sqlite, websockets
[debug] Proxy map: {}
[debug] [youtube] Extracting URL: q0IOUfvp6ws
[youtube] q0IOUfvp6ws: Downloading webpage
[youtube] q0IOUfvp6ws: Downloading player cdb8d439
WARNING: [youtube] nsig extraction failed: You may experience throttling for some formats
n = 8KuiZdtUtFr-bBQ ; player = https://www.youtube.com/s/player/cdb8d439/player_ias.vflset/en_US/base.js
q0IOUfvp6ws: Traceback (most recent call last):
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/extractor/youtube.py", line 2412, in _decrypt_nsig
    self._player_cache[player_id] = self._extract_n_function(video_id, player_url)
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/extractor/youtube.py", line 2433, in _extract_n_function
    funcname = self._extract_n_function_name(jscode)
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/extractor/youtube.py", line 2421, in _extract_n_function_name
    return self._search_regex(
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/extractor/common.py", line 1186, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
yt_dlp.utils.RegexNotFoundError: Unable to extract Initial JS player n function name; please report this issue on  https://github.com/yt-dlp/yt-dlp . Make sure you are using the latest version; see  https://github.com/yt-dlp/yt-dlp  on how to update. Be sure to call yt-dlp with the --verbose flag and include its complete output.
 (caused by RegexNotFoundError('Unable to extract \x1b[0;94mInitial JS player n function name\x1b[0m; please report this issue on  https://github.com/yt-dlp/yt-dlp . Make sure you are using the latest version; see  https://github.com/yt-dlp/yt-dlp  on how to update. Be sure to call yt-dlp with the --verbose flag and include its complete output.')); please report this issue on  https://github.com/yt-dlp/yt-dlp . Make sure you are using the latest version; see  https://github.com/yt-dlp/yt-dlp  on how to update. Be sure to call yt-dlp with the --verbose flag and include its complete output.
WARNING: [youtube] nsig extraction failed: You may experience throttling for some formats
n = slznSjIpxG2IY6l ; player = https://www.youtube.com/s/player/cdb8d439/player_ias.vflset/en_US/base.js
q0IOUfvp6ws: Traceback (most recent call last):
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/extractor/youtube.py", line 2412, in _decrypt_nsig
    self._player_cache[player_id] = self._extract_n_function(video_id, player_url)
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/extractor/youtube.py", line 2433, in _extract_n_function
    funcname = self._extract_n_function_name(jscode)
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/extractor/youtube.py", line 2421, in _extract_n_function_name
    return self._search_regex(
  File "/usr/local/lib/python3.8/dist-packages/yt_dlp/extractor/common.py", line 1186, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
yt_dlp.utils.RegexNotFoundError: Unable to extract Initial JS player n function name; please report this issue on  https://github.com/yt-dlp/yt-dlp . Make sure you are using the latest version; see  https://github.com/yt-dlp/yt-dlp  on how to update. Be sure to call yt-dlp with the --verbose flag and include its complete output.
 (caused by RegexNotFoundError('Unable to extract \x1b[0;94mInitial JS player n function name\x1b[0m; please report this issue on  https://github.com/yt-dlp/yt-dlp . Make sure you are using the latest version; see  https://github.com/yt-dlp/yt-dlp  on how to update. Be sure to call yt-dlp with the --verbose flag and include its complete output.')); please report this issue on  https://github.com/yt-dlp/yt-dlp . Make sure you are using the latest version; see  https://github.com/yt-dlp/yt-dlp  on how to update. Be sure to call yt-dlp with the --verbose flag and include its complete output.
[debug] Sort order given by user: vcodec:h264
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, codec:vp9.2, lang, proto
[debug] Formats sorted by: hasvid, ie_pref, vcodec:h264(7), quality, res, fps, hdr:12(7), source, acodec, lang, proto, filesize, fs_approx, tbr, vbr, abr, asr, vext, aext, hasaud, id
[info] q0IOUfvp6ws: Downloading 1 format(s): 299

duplicate of which one? thanks

https://github.com/yt-dlp/yt-dlp/issues?q="Unable+to+extract+JS+player+n+function


Question: Is differentiation w.r.t graph supported?

For a project involving sensitivity analysis, I'd like to take the gradient of a GNN w.r.t to its inputs. Is this currently supported in GeometricFlux? If not, what would be blockers to add it? (I assume it'd have to do with the interaction of LightGraphs, Zygote and any sparsity tricks used?)

If the GNN model is support in GeometricFlux, you can get gradient by Zygote. To my curiosity, what GNN model do you want for your project specifically?

I want to study the effect of modifying edge weights and adding/removing edges across different GNNs, for this I need the gradient w.r.t to edges. (i.e., I want to check  $\nabla_A h_{l+1}=MLP(h_l)+MLP(AH_{l})$ )

Unfortunately, GNN models in this repo are not that much. If you want to change the edge weight of a graph, you may want to try GCN. If you want to change the edge weight as a feature on edge, there is no GNN model supporting edge feature in this repo.

thank your very much for the information. But to clarify, if I use a weighted graph with e.g. $A=[0 1 0.5; 1 0  0 ;0.5 0 0]$, I will be able to get the dependence of an output towards that edge? Or will the gradient be lost due to some operation not tracked by Zygote?

If you already have a weighted graph and pertub the edge weight, it is possible to get the dependence of output. If the operation is not supported by Zygote, the gradient will not be generated.


Pass branch name to Sonar

This change provides the name of the branch to SonarQube.
I just pushed a container with this feature to https://hub.docker.com/r/saitho/drone-sonar-plugin
Worked fine for me. Please review.

This actually breaks the initial scan which requires to run without a branch.
I will add a setting for enabling/disabling passing the branch to Sonar. Default value will be disabled.

FIxed and Docker image updated.


concurrency/coordination APIs

This is to track supporting locks and elections, probably through RPCs.

Hello,
do you have a rough estimation of when distributed locks and other coordination facilities will be supported?
Thanks a lot,
Christian

@christian-pinto the distributed lock and leader election are easier to implement since etcd supports those from service side. I can probably get those two done fair quickly.  Will those two recipes to be sufficient for you?

Thanks @fanminshi , I think those recipes are going to be enough for my needs. BTW, besides the standard blocking mutexes, is there also going to be a try-lock kind of functionality?
Thanks again,
Christian

@christian-pinto do you mean try-lock as described here https://docs.oracle.com/javase/7/docs/api/java/util/concurrent/locks/Lock.html#tryLock()?

Exactly, that's what I meant with try-lock.
Thanks,
Christian

@christian-pinto no plan to implement try-lock yet. I'll take a look into this once i get the distributed lock and leader election working.

@fanminshi as far as I can see the go client implements leader election and locks leveraging txn so as they are not part of the core functionalities does it make sense to have a structure like :

jetcd-recupes/leader-election
jetcd-recupes/mutex
...

btw, I'm also interested in having the leader election receipe so I can use it in Apache Camel.

@fanminshi I use a jetcd client to talk to etcd in my project and I'm specifically looking for the locking feature support in jetcd. As I understand, currently only the 'go' etcd client supports the lock API. Could you kindly let know when the locking support would be available in jetcd ?

/cc


Validation errors FormXml.xsd

I get errors when I validate FormXml.xsd in XMLBlueprint XML Editor, using Xerces:
Description: FilterResults and FilterResults (or elements from their substitution group) violate "Unique Particle Attribution". During validation against this schema, ambiguity would be created for those two particles.
Details: cos-nonambig https://www.w3.org/TR/xmlschema-1/#cos-nonambig
File: FormXml.xsd 417:6
Processor: Xerces 2
Description: Pattern value '(?![cC][rR][mM])([A-Za-z0-9])+([])+([A-Za-z0-9_])*' is not a valid regular expression. The reported error was: 'This expression is not supported in the current option setting.'.
Details: InvalidRegex https://www.w3.org/TR/xmlschema-2/#dt-regex
File: FormXml.xsd 892:4
Processor: Xerces 2

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

ID: 6b8396f7-c76f-ec02-38f3-a04c1bed1a91
Version Independent ID: 28486176-2a12-872e-7de1-d2a36f5b11a1
Content: Edit the customizations XML file with schema validation (model-driven apps) - Power Apps
Content Source: powerapps-docs/developer/model-driven-apps/edit-customizations-xml-file-schema-validation.md
Service: powerapps
GitHub Login: @Nkrb
Microsoft Alias: nabuthuk

@GerbenAbbink Thanks for reaching to us. Can you provide us with more details what are you trying to do and when validating against the FormXML, what is the error.

I am just validating FormXml.xsd and I noticed that it contains an error in the regular expression:
<xs:simpleType name="FormQueryStringParameterNameAttributeType">
	<xs:restriction base="xs:string">
		<xs:pattern value="(?![cC][rR][mM]_)([A-Za-z0-9])+([_])+([A-Za-z0-9_])*"/>
	</xs:restriction>
</xs:simpleType>

It does not follow the rules of Regular Expressions in XML Schema.


input and output tensors.

I'm in the progress of converting the model to Tensorflow Lite, but I'm not very experienced with Tensorflow yet.
For the conversion I need to use the input and output tensor sizes. Where am I able to find those?
Will the input be the image size and color channels? Eg [None, FLAGS.input_size, FLAGS.input_size, 3] ?
And for output, would that be just the num_of_joints number?
To clarify my question, I'm using the second code snippet provided by Pannag Sanketi : https://stackoverflow.com/questions/50632152/tensorflow-convert-pb-file-to-tflite-using-python

Hello @slimcdk did you find out how to convert it to tensorflow lite yet ?
Im searching for any way to do that but dont know where to start

Hi
Yea, take a look at my fork of the repo: https://github.com/slimcdk/convolutional-pose-machines-tensorflow
I found that the first tensor has a misspelling in the provided weights, which is corrected in the model source code.
I did also manage to do inference on the model, but processing time were between 2-3 seconds, on a Galaxy S10. I still need to create the kalman filter and possible the tracker module, or you could just feed the model with a fixed resolution.

Hello @slimcdk , really thank you so much for your help finally I managed to convert it to a tflite file thanks to your comment
I also managed to make an inference on iOS device and processing time is better there
But there is a problem with the output,
How can we get the labels from the output there, forgive me Im completely new to that field and would appreciate any help
This is an example for the output
[[[[ 4.3078829e-03  7.9320744e-05 -1.2679170e-03 ... -1.5761635e-03
    -2.9271552e-03 -8.5114062e-02]
   [ 4.3078829e-03  7.9320744e-05 -1.2679170e-03 ... -1.5761635e-03
    -2.9271552e-03 -8.5114062e-02]
   [ 4.3078829e-03  7.9320744e-05 -1.2679170e-03 ... -1.5761635e-03
    -2.9271552e-03 -8.5114062e-02]
   ...
   [ 4.3078829e-03  7.9320744e-05 -1.2679170e-03 ... -1.5761635e-03
    -2.9271552e-03 -8.5114062e-02]
   [ 4.3078829e-03  7.9320744e-05 -1.2679170e-03 ... -1.5761635e-03
    -2.9271552e-03 -8.5114062e-02]
   [ 4.3078829e-03  7.9320744e-05 -1.2679170e-03 ... -1.5761635e-03
    -2.9271552e-03 -8.5114062e-02]]

  [[ 4.3078829e-03  7.9320744e-05 -1.2679170e-03 ... -1.5761635e-03
    -2.9271552e-03 -8.5114062e-02]
   [ 4.3078829e-03  7.9320744e-05 -1.2679170e-03 ... -1.5761635e-03
    -2.9271552e-03 -8.5114062e-02]
   [ 4.3078829e-03  7.9320744e-05 -1.2679170e-03 ... -1.5761635e-03
    -2.9271552e-03 -8.5114062e-02]
   ...
   [ 4.3078829e-03  7.9320744e-05 -1.2679170e-03 ... -1.5761635e-03
    -2.9271552e-03 -8.5114062e-02]
   [ 4.3078829e-03  7.9320744e-05 -1.2679170e-03 ... -1.5761635e-03
    -2.9271552e-03 -8.5114062e-02]
   [ 4.3078829e-03  7.9320744e-05 -1.2679170e-03 ... -1.5761635e-03
    -2.9271552e-03 -8.5114062e-02]]

  [[ 4.3078829e-03  7.9320744e-05 -1.2679170e-03 ... -1.5761635e-03
    -2.9271552e-03 -8.5114062e-02]
   [ 4.3078829e-03  7.9320744e-05 -1.2679170e-03 ... -1.5761635e-03
    -2.9271552e-03 -8.5114062e-02]
   [ 4.3078829e-03  7.9320744e-05 -1.2679170e-03 ... -1.5761635e-03
    -2.9271552e-03 -8.5114062e-02]
   ...
   [ 4.3078829e-03  7.9320744e-05 -1.2679170e-03 ... -1.5761635e-03
    -2.9271552e-03 -8.5114062e-02]
   [ 4.3078829e-03  7.9320744e-05 -1.2679170e-03 ... -1.5761635e-03
    -2.9271552e-03 -8.5114062e-02]
   [ 4.3078829e-03  7.9320744e-05 -1.2679170e-03 ... -1.5761635e-03
    -2.9271552e-03 -8.5114062e-02]]

  ...

  [[ 4.3078829e-03  7.9320744e-05 -1.2679170e-03 ... -1.5761635e-03
    -2.9271552e-03 -8.5114062e-02]
   [ 4.3078829e-03  7.9320744e-05 -1.2679170e-03 ... -1.5761635e-03
    -2.9271552e-03 -8.5114062e-02]
   [ 4.3078829e-03  7.9320744e-05 -1.2679170e-03 ... -1.5761635e-03
    -2.9271552e-03 -8.5114062e-02]
   ...
   [ 4.3078829e-03  7.9320744e-05 -1.2679170e-03 ... -1.5761635e-03
    -2.9271552e-03 -8.5114062e-02]
   [ 4.3078829e-03  7.9320744e-05 -1.2679170e-03 ... -1.5761635e-03
    -2.9271552e-03 -8.5114062e-02]
   [ 4.3078829e-03  7.9320744e-05 -1.2679170e-03 ... -1.5761635e-03
    -2.9271552e-03 -8.5114062e-02]]

  [[ 4.3078829e-03  7.9320744e-05 -1.2679170e-03 ... -1.5761635e-03
    -2.9271552e-03 -8.5114062e-02]
   [ 4.3078829e-03  7.9320744e-05 -1.2679170e-03 ... -1.5761635e-03
    -2.9271552e-03 -8.5114062e-02]
   [ 4.3078829e-03  7.9320744e-05 -1.2679170e-03 ... -1.5761635e-03
    -2.9271552e-03 -8.5114062e-02]
   ...
   [ 4.3078829e-03  7.9320744e-05 -1.2679170e-03 ... -1.5761635e-03
    -2.9271552e-03 -8.5114062e-02]
   [ 4.3078829e-03  7.9320744e-05 -1.2679170e-03 ... -1.5761635e-03
    -2.9271552e-03 -8.5114062e-02]
   [ 4.3078829e-03  7.9320744e-05 -1.2679170e-03 ... -1.5761635e-03
    -2.9271552e-03 -8.5114062e-02]]

  [[ 4.3078829e-03  7.9320744e-05 -1.2679170e-03 ... -1.5761635e-03
    -2.9271552e-03 -8.5114062e-02]
   [ 4.3078829e-03  7.9320744e-05 -1.2679170e-03 ... -1.5761635e-03
    -2.9271552e-03 -8.5114062e-02]
   [ 4.3078829e-03  7.9320744e-05 -1.2679170e-03 ... -1.5761635e-03
    -2.9271552e-03 -8.5114062e-02]
   ...
   [ 4.3078829e-03  7.9320744e-05 -1.2679170e-03 ... -1.5761635e-03
    -2.9271552e-03 -8.5114062e-02]
   [ 4.3078829e-03  7.9320744e-05 -1.2679170e-03 ... -1.5761635e-03
    -2.9271552e-03 -8.5114062e-02]
   [ 4.3078829e-03  7.9320744e-05 -1.2679170e-03 ... -1.5761635e-03
    -2.9271552e-03 -8.5114062e-02]]]]

If you think about how the three color channels (red, green, blue) in regular images form a stacked layer approach.
The output of this model is similar, but insted of three color channels you get 21 channels (heatmaps). One for each joint. Each heatmap is a 2d array of zeros (black pixels) except those where a joint has been recognized, those spots are ones (white ) -> hence the name heatmap.
Each layer/heatmap is a 2d array, which can be seen as a x and y coordinate system. What you would do, is first to find which value is the highest in the heatmap and afterwards find the x and y indexes of that value.
The above calculation is done right here: https://github.com/timctho/convolutional-pose-machines-tensorflow/blob/master/run_demo_hand_with_tracker.py#L298-L299

I'm in the progress of converting the model to Tensorflow Lite, but I'm not very experienced with Tensorflow yet.
For the conversion I need to use the input and output tensor sizes. Where am I able to find those?
Will the input be the image size and color channels? Eg [None, FLAGS.input_size, FLAGS.input_size, 3] ?
And for output, would that be just the num_of_joints number?
To clarify my question, I'm using the second code snippet provided by Pannag Sanketi : https://stackoverflow.com/questions/50632152/tensorflow-convert-pb-file-to-tflite-using-python

hi,do you konw the numbers of data in the label txt? is the name of jpg +   4 coordinates of hand bbox + 21 coordinates  of hand keypoint?


Add flake8 extensions

Add installation instructions for Flake8 extensions

Thank you for the contribution, but this looks like a duplicate of #452 by @akirakakar - can the two of you collaborate and consolidate to one PR?

Thank you for the contribution, but this looks like a duplicate of #452 by @akirakakar - can the two of you collaborate and consolidate to one PR?


vue.defineComponent is not a function

Hi, I wanted to use the vue-use-gesture package which supports vue 2 but your package gives an error please follow up to fix this problem.
Click on the example

Same issue, using Vue 3 with nuxt. I'm assuming it has something to do with Nuxt not using vue's built in implementation of defineComponent but instead defines its own in '@nuxtjs/composition-api'.

I'm not the author of that example 😓
It's likely misconfigured, please see with the author


Keyboard issues (round 2)

[ ] setFocus programmatically make screen jump https://github.com/ionic-team/ionic/issues/10257
[ ] add common test for textarea + improve test suite to cover ngModelChange
https://github.com/ionic-team/ionic/issues/9434
[x] tabIndex duplicated https://github.com/ionic-team/ionic/issues/7178 (fix: https://github.com/ionic-team/ionic/pull/12043 )
[ ] ion-input inside slider https://github.com/ionic-team/ionic/issues/10183
[x] alert padding when it has text-inputs https://github.com/ionic-team/ionic/issues/10187 (fix: new keyboard plugin)

The "big keyboard/input refactor" commit closed #7047 "Auto hide tabs when keyboard is open". To enable the fix I set keyboardResizes to true in the app config. However the tabs are still visible (on Android) when keyboard is open.
I tried to analyse the new platform/keyboard.ts code I found that the keyboardResizes===true adds listeners to keyboardWillShow, keyboardWillHide, keyboardDidShow and keyboardDidHide events. I cannot find that events in ionic-plugin-keyboard in Android code. So I guess the fix of #7047 works only on iOS.

You should not touch keyboardResizes, in order to fix it, native assistance is required. We will release a new keyboard plugin.

I have:
"cordova-plugin-keyboard": "^1.1.5",
"cordova-android": "^6.2.3",

but tabs still are visible when keyboard is active - what else should I do?

@manucorporat I'm experiencing issues with a chat like app.

What about this WKWeb fix ?
https://github.com/ionic-team/ionic/issues/11501

What keyboard plugin-in are we expected to use? The Ionic-Team offers two plugins.

What is the current state on all the keyboard issues? No official team member answered any of the issues in both repos.

@manucorporat  any update?

If your problem is on android, thiw will help you. In the ionic config.xml, add the following lines in the platform name="android" tag.
<platform name="android">
  <edit-config file="AndroidManifest.xml" mode="merge"    target="/manifest/application/activity"> <activity android:windowSoftInputMode="adjustPan" /></edit-config>
  ...the rest of the android configs...
</platform>

This will prevent the keyboard to push up everything and simple overlay the keyboard on the content. So the behaviour will be the same or similar to the ios keyboard

@Jatapiaro Your solution is not working for me.
I get the following error when trying to build the app ../platforms/android/res/xml/config.xml:139: AAPT: Error parsing XML: unbound prefix

On android, when the keyboard is open, the tabbar is superimposed with the navbar.
/* style of the tabbar element when keyboard is open */
element.style {
    top: 0px;
}

Temporary fix
  ngAfterViewInit() {
    let tabbarEl = <HTMLElement> (document.getElementsByClassName('tabbar')[0]);
    this.onKeyboardShowSubscription = Keyboard.onKeyboardShow()
      .subscribe(() => {
        if (this.platform.is('android') && this.platform.is('cordova') && tabbarEl) {
          setTimeout(() => tabbarEl.style.top = '48px', 100); // avoid superposition of tabbar and navbar
        }
      });
  }

have same issue here.
cli packages: (/usr/local/lib/node_modules) @ionic/cli-utils : 1.19.0 ionic (Ionic CLI) : 3.19.0 global packages: cordova (Cordova CLI) : 7.1.0  local packages: @ionic/app-scripts : 3.1.4-201711302144 Cordova Platforms : android 6.3.0 Ionic Framework : ionic-angular 3.9.2 System: Node : v6.11.4 npm : 3.10.10  OS : OS X El Capitan Xcode : Xcode 8.2.1 Build version 8C1002
i have try with this but not working
https://gist.github.com/EvanWillms/8773f8cfa12f469fabf0bdd7a75723e7
config: {     // These options are available in<EMAIL_ADDRESS>and up.     scrollAssist: false,    // Valid options appear to be [true, false]     autoFocusAssist: false  // Valid options appear to be ['instant', 'delay', false]   } // http://ionicframework.com/docs/v2/api/config/Config/
is not supported with ionic 3 i guess


Workaround to simply change the defualt value from 1 to 3

We found eCPI can't retrieve the value of environment variables as expected, and I confirmed that ENV is cleaned when BOSH invokes eCPI, so making this change as a quick workaround.

Merging for urgency. @mattcui, please add chore for better solution later

@maximilien Sure, I will, thank you very much!

Opened chore #128286679 for further enhancement and correction.

Thx


Powerline not loaded in pre-compiled MacVim

As I mentioned in an issue I filed in the Powerline repository, the only way I have ever been able to use Powerline with MacVim is by installing Xcode and then compiling MacVim with Homebrew via the method outlined in the Powerline docs. I have tried brew cask install macvim as well as downloading the DMG directly from the MacVim releases page in this repository, but the Powerline status bar never loads when using these instances of MacVim.
I guess my question is... why? What are the pre-built MacVim applications missing? Conversely, what is it about compiling MacVim via Homebrew that allows Powerline to function properly?
I see references to Powerline in other issues in this repository, so it seems clear enough that folks are able to get this combination to function properly. For the life of me, I cannot figure out how. Does anyone have any suggestions?

I don't know what Powerline is, but apparently it needs if_python2 or 3 support.

MacVim binary release snapshot-116 https://github.com/macvim-dev/macvim/releases/tag/snapshot-116 supports if_python2 and if_python3 out of the box.
No setup requires for if_python2. MacVim automatically uses OS X Python 2.7.x.
MacVim is built with Python 3.5.2. You should use Python 3.5.2 or later and you may need to setup your .vimrc for if_python3. See #411

Install powerline
$ brew install python3
$ pip3 install powerline-status
Setup .vimrc
" Powerline
py3 from powerline.vim import setup as powerline_setup
py3 powerline_setup()
py3 del powerline_setup
set laststatus=2
set showtabline=2
set noshowmode
Launch MacVim binary release snapshot-116, it works fine. With snapshot-117(not released yet) or later, you may not need to set Python3 setting in your .vimrc #411, it will be set automatically.

Many thanks for the quick response, Kazuki. Following are steps to reproduce this issue (and apologies for not providing this in the original description):
brew install python
pip install powerline-status

# .vimrc
python from powerline.vim import setup as powerline_setup
python powerline_setup()
python del powerline_setup
set laststatus=2

With the above setup on a fresh instance of macOS 10.12.1 Sierra, Powerline does not load on snapshot-116.
After some experimentation, one workaround is to add the following line to ~/.vimrc:
let $PYTHONHOME="/usr/local/Frameworks/Python.framework/Versions/2.7"

Once that line is added, Powerline loads as expected.
That said, would it be possible for MacVim to handle this automatically, without that additional (and Mac-specific) .vimrc configuration directive?

maybe. By the way, for the record, if you didn't installed Python2 via Homebrew, just installed pip http://softwaretester.info/install-and-upgrade-pip-on-mac-os-x/ then no additional settings required.


fix about us navbar alignment

Related Issue
fixes #3696
Description
This PR centrally aligns the navbar in the about us page.
issue #3696
Type of PR

[X] Bug fix
[ ] Feature enhancement
[ ] Documentation update
[ ] Other (specify): _______________

Screenshots / videos (if applicable)
[

Checklist:

[X] I have made this change from my own.
[X] My code follows the style guidelines of this project.
[X] I have performed a self-review of my own code.
[X] I have commented my code, particularly in hard-to-understand areas.
[X] I have made corresponding changes to the documentation.
[X] My changes generate no new warnings.
[X] I have tested the changes thoroughly before submitting this pull request.
[X] I have provided relevant issue numbers and screenshots after making the changes.

chk deploy preview . the [ About Us ] section is completed messed up .

hey @abhi03ruchi everything looks fine on my end, what is the issue?

now its ok .

other pages like login and community support have the same issue. correct them too.

made fixes in login.html cant find community support @abhi03ruchi

hey @abhi03ruchi please review this PR


Support new Redis 6.2 arguments for GEORADIUS

Add support for the enw arguments in Redis 6.2 for GEORADIUS as specified at https://redis.io/commands/GEORADIUS.
Detail of update: Added support for uppercase unit names.
This is part of #820.
Note: Due to the autogenerated nature of this, some of this may be already implemented.

Closed as already supported


type checking CI is failing

The most recent runs of the type checking CI have started to fail with a segfault:
/home/runner/work/_temp/dac0c060-b19a-435a-8063-bbc5b8ffbf24.sh: line 1:  2945 Segmentation fault      (core dumped) python -m mypy --install-types --non-interactive --cobertura-xml-report mypy_report

This seems to be due to the release of mypy=0.990.
#7269 pinned mypy to mypy<0.990, which should be undone once we figured out how to fix that (most likely by waiting on the next release), and any complaints the new version has (see this workflow run).

Locally (Windows) it works for me.
Only lots of new errors, most importantly the change of mypy to no_implicit_optional=True.
Guess we can just fix this in a PR, I like the explicit defaults anyway better.

should this have been closed by #7283?

should this have been closed by #7283?

Too long ago...
I assume I had a reason why I didn't close this issue?


[Question]:  How cancel supabase request?

General info

[X] I checked the troubleshooting page for similar problems

What is your question?
How cancel supabase request?
Relevant log output (optional)
When i used functions.invoke(A)
I want cancel other functions.invoke(B) or same repart functions.invoke(A) or other supabse request(auth, database)

That should be possible by just using a custom scope:
val myScope = CoroutineScope(Dispatchers.Default)
myScope.launch {
    supabase.from("countries").select()
}
//somewhere else
myScope.cancel() //This will cancel the job. You will probably need to create a new scope afterward as the old one is cancelled

I'm curious, why do you want to cancel these requests?

@jan-tennert
Thanks, I can use the Kotlin method to cancel my request.
My app has some scheduled sync requests, but If the user logs out, I want to cancel this sync request.

Yea, you can do that with a custom coroutine scope.


HICO-DET link and download script seems down

"download.sh" returns 404 error.

Hi @RenatoNogFer,
The link was probably updated. You can go to the official website, find the file in google drive. Then copy the file ID and replace the old file ID in the download.sh script.
Fred.

@fredzzhang HI.
Same here. The download link is down.  "download.sh" returns 404 error.
The official website request an account but I dont have it, so I cant download the dataset on my own.
Could you provided extra link or google drive?!
Thanks in advance.


doc(monitor): add some missing metrics.

Add some missing metrics to the documentation according to https://github.com/databendlabs/databend/blob/main/src/common/base/src/runtime/metrics/process_collector.rs

CN doc is automatically translated and generated after EN is merged, so there's no need to submit the CN doc.

Thanks for your review @soyeric128! I have modified the code as you requested.


Chap06 06update - notebook setup and code restructure

@nfmcclure I made the following changes in both the notebook and python versions of the code:

I noticed in the version the python module on GitHub has commented out the statements to download the data and it assumed the csv file was in a user specific location.  I changed this section of code to make it generic and not depend on a specific location.  Now the code will test to see if the csv file exists in the current working directory.  If it does not exist, the code will download the data and create the csv file in the current working directory.

I added code for reproducibility that matches the book.

updated plot code to add legend

The net of all this is that the structure of code in the notebook and python modules at the beginning of each module are slightly different than what is currently in the book.  The bulk of the code for setting up the computational graph, training matches the book.

@nfmcclure I started looking at section 7.  I noticed Sections 6 & 7 use the same data set.  The code in Section 7 downloads the data set every time.  Right now the code in Section 6 downloads the data only one time and creates a local csv file that is used on subsequent runs.
Do you want the code in Section 6 & 7 to operate the same or is it OK that the two Sections obtain data for modeling in slightly different ways?  If you want the two sections to operate the same do you have a preference

download data set every time or

download data set only once and create local csv file?

Hi @jimthompson5802 , Thanks for noticing this.  Ideally each section should check and see if the data set exists and then download it/save it.  I'm starting on finishing the notebooks for Ch 9 and then will get to Ch 8 soon.

@nfmcclure OK...I'll modify Section 7 to check if the data set exists, if not, then the program will download the data and create a local copy.


Update Spik3r README

Dear @laurensvalk and @dlech,
Here are my changes for Spik3r.
Thank you very much!
Antoni

Dear @dlech and @laurensvalk,
Spik3r is ready for your review.
Thank you very much!
Antoni


Webpack never ends on npm run dev

Hello, Im having an issue trying to start nuxt, when running "$ npm run dev" it freezes on webpack built
I try first with the nuxt/starter template but got same problem starting a project from scratch.
What I did: (I follow this instructions: https://nuxtjs.org/guide/installation/#starting-from-scratch)

$ mkdir
$ cd
creates package.json:

{
  "name": "my-app",
  "scripts": {
    "dev": "nuxt"
  }
}

$ npm install --save nuxt
mkdir pages
creates pages/index.vue
$ npm run dev

> my-app@ dev /home/smarbos/camba/devel/testNuxt
> nuxt

  nuxt:build App root: /home/smarbos/camba/devel/testNuxt +0ms
  nuxt:build Generating .nuxt/ files... +2ms
Ready on http://localhost:3000
  nuxt:build Generating routes... +24ms
  nuxt:build Generating files... +6ms
  nuxt:build Adding webpack middleware... +19ms
Build completed in 3.883s

webpack built be9e21f47895944f3a1c in 3889ms
webpack building...

Build completed in 0.287s

webpack built be9e21f47895944f3a1c in 289ms
webpack building...

Build completed in 0.271s

webpack built be9e21f47895944f3a1c in 271ms
webpack building...

Build completed in 0.238s

webpack built be9e21f47895944f3a1c in 238ms
webpack building...

Build completed in 0.242s

webpack built be9e21f47895944f3a1c in 243ms
webpack building...

Build completed in 0.218s

webpack built be9e21f47895944f3a1c in 220ms
webpack building...

Build completed in 0.223s

webpack built be9e21f47895944f3a1c in 223ms
webpack building...

Build completed in 0.203s

webpack built be9e21f47895944f3a1c in 204ms
webpack building...

Build completed in 0.203s

webpack built be9e21f47895944f3a1c in 203ms
webpack building...

Build completed in 0.229s

webpack built be9e21f47895944f3a1c in 230ms
webpack building...

Build completed in 0.213s

webpack built be9e21f47895944f3a1c in 214ms
webpack building...

Build completed in 0.227s

webpack built be9e21f47895944f3a1c in 229ms
webpack building...

Build completed in 0.209s

webpack built be9e21f47895944f3a1c in 210ms
webpack building...

Build completed in 0.213s

webpack built be9e21f47895944f3a1c in 214ms
webpack building...

Build completed in 0.171s

webpack built be9e21f47895944f3a1c in 171ms

With the nuxt/starter I can run $ npm run build:
><EMAIL_ADDRESS>build /home/smarbos/camba/devel/textnuxt
> nuxt build

[nuxt] Building...
  nuxt:build App root: /home/smarbos/camba/devel/textnuxt +0ms
  nuxt:build Generating .nuxt/ files... +2ms
  nuxt:build Generating routes... +8ms
  nuxt:build Generating files... +10ms
  nuxt:build Building files... +15ms
Build completed in 6.719s

[nuxt:build:client]
 Hash: d97aef3e418740f8ac4c
Version: webpack 2.2.1
Time: 6724ms
               Asset       Size  Chunks             Chunk Names
img/logo.ddcb767.png    6.54 kB          [emitted]
    0.nuxt.bundle.js  846 bytes       0  [emitted]
    1.nuxt.bundle.js  872 bytes       1  [emitted]
    2.nuxt.bundle.js  548 bytes       2  [emitted]
      nuxt.bundle.js    40.1 kB       3  [emitted]  app
    vendor.bundle.js    83.5 kB       4  [emitted]  vendor
           style.css    1.31 kB       3  [emitted]  app
       style.css.map   86 bytes       3  [emitted]  app
[nuxt:build:server]
 Hash: b4b0778437cb745f08de
Version: webpack 2.2.1
Time: 6701ms
               Asset     Size  Chunks             Chunk Names
img/logo.ddcb767.png  6.54 kB          [emitted]
    server-bundle.js   125 kB       0  [emitted]  main
[nuxt] Building done

and run the server with $ npm run start with no problem.
The problem seems to be only present with ./node_modules/.bin/nuxt dev.
My environment:
NODE: v6.9.5
NPM: v3.10.10
Linux Mint 18 Sarah
Ubuntu 16.04 LTS (Xenial Xerus)

Also tested with Node v7.5.0 and NPM v3.5.2

Hi,
We are aware about this.
It comes from Webpack when starting the server with the watch option (filesystem bug).

@alexchopin
maybe we can help, is a webpack problem or nuxt?
in which source code files do we need to look?

@cappadona @josx the bug might come from this file: https://github.com/nuxt/nuxt.js/blob/master/lib/build.js
If you want to work on nuxt, clone nuxt, npm install and then npm run watch or npm run build to build nuxt.
Then, you can try an example with bin/nuxt examples/hello-world/
This webpack bug has been an issue to me since the beginning, and suddenly it disappeared with an updated from webpack and came back with the last version of webpack...

@Atinux With what version of webpack you know is this working fine?

If I remember well it was when it was still in beta @smarbos


Forex Factory college

https://trello.com/c/B3zjlkk3

Please don't post spam. You'll end up being blocked.


Update README.md

Minor sentence structure change.
This sentence didn't make much sense: However, you need to some setup and supply some settings prior to this., so I added do to make it flow better.

Working on CI issue: https://github.com/PyBites-Open-Source/karmabot/issues/107

@clamytoe  can you resubmit this on https://github.com/PyBites-Open-Source/karmabot/tree/develop?
Will be easier than doing merge ping pong to get this working here ;)

Sorry, been out of the loop.


1266 add border token type

https://www.loom.com/share/824690fd6fd542a9923195670e6ddf8a

coverage please 🙏


kernel: Design::remove(RTLIL::Module *) to check refcount_modules_

To prevent insertion during iteration; in line with Design::add(), Module::{add,remove}(), etc.
https://github.com/YosysHQ/yosys/pull/1862#discussion_r406340722

This broke bugpoint, though I'm pretty sure it has no tests to catch this, since it passed CI.

Perhaps it's better to say that bugpoint was already broken, but this exposed that brokenness which didn't get caught by a test.

#1978 should fix it.


travis-ci.org -> travis-ci.com

travis-ci.org is end-of-life and everything is managed under travis-ci.com.

Thanks for the pull request @mramato!

:heavy_check_mark: Signed CLA found.
:grey_question: CHANGES.md was not updated.

If this change updates the public API in any way, please add a bullet point to CHANGES.md.

:grey_question: Unit tests were not updated.

Make sure you've updated tests to reflect your changes, added tests for any new code, and ran the code coverage tool.

Reviewers, don't forget to make sure that:

[ ] Cesium Viewer works.
[ ] Works in 2D/CV.
[ ] Works (or fails gracefully) in IE11.


Lexical - Text Cursor missing on Safari

Link to reproduction
/
To Reproduce

Describe the Bug
The text cursor doesn't show in new paragraphs. It also doesn't appear when you click on "Start typing..."
Seems to be an issue only for Safari (using Version 17.0 (196<IP_ADDRESS>.1)), other Browsers work as expected.
https://github.com/payloadcms/payload/assets/29303671/7456e360-12eb-4678-b4df-bd54ca21fdc0
Payload Version
2.0.4
Adapters and Plugins
db-mongodb, bundler-webpack, richtext-lexical

Reproducible for me
✔ Work for Newline within same paragraph

✔ Works for any line with text

❌ Fails for empty Paragraph lines
Tested with a older Safari version
Version 15.3 (176<IP_ADDRESS>.8)


[Feature Request] Flutter how to mimic typing text to any 3rd apps?

I have posted this question to stackoverflow, but noone gives an answer.
This is not a problem to flutter, but a User request (feature).
Could flutter possible mimic typing text to any 3rd apps on desktop?
For example, just as am typing in github issue edit box in browser, can flutter able to input for me be implemented?  (sorry to be noisy to github issue, but really got no clue about how to implement, any suggestion would be very appreciated! Come up with this because ChatGPT becomes sooo useful wish flutter could help me typing automatically by request AI.

This is not a problem to flutter, but a User request (feature).

Attempting to inject artificial events into other applications is not a use case that would be built into Flutter itself. To the extent that this is even possible, it would need to be built as a third-party plugin.
Closing as out of scope.

@stuartmorgan Understood that this is not flutter inside functions. As for the extensions, does there any community plugins I can reference?

For help finding community packages, consider one of the resources listed at https://flutter.dev/community#community-grid


feat: read P4B ABCD directly from xlsx, not from csv

Currently workflow scripts read.csv.
It would be prudent to read the raw data in as we receive it.

FYI, there's a function for that https://rmi-pacta.github.io/pacta.data.preparation/reference/import_ar_advanced_company_indicators.html

Changed!


[BUG] Can't create new user in harvester UI

Describe the bugharvester-supportbundle_df06ab7c-75ee-47da-a5e5-bd58ef901fd5_2021-08-04T20-20-41Z.zip
You can't click create after filling in the new user form
To Reproduce
Steps to reproduce the behavior:

Log in as admin to harvester
Go to users  and authentication then users
Add new user
Try to hit save
Expected behavior

You should be able to create new user
Support bundle

harvester-supportbundle_df06ab7c-75ee-47da-a5e5-bd58ef901fd5_2021-08-04T20-20-41Z.zipEnvironment:

Harvester ISO version: master-44558714-head
Underlying Infrastructure (e.g. Baremetal with Dell PowerEdge R630): DL160 Baremetal

Additional context
Add any other context about the problem here.
The button is greyed out. This might be as simple as the form not being updated when you confirm the password.

So what i found out so far is that the create button stays disabled because of roles not being set. The roles seem to be handled by the GlobalRoleBindings component which is empty in the ui because it tries to get data for management.cattle.io.globalrole but fails when it does not find the schema for it. I don't see any of the requests for schema data containing it either so i guess something is wrong there.

since we are removing the Harvester user and migrating to the Rancher user mechanism, so creating a user from a single Harvester cluster is no longer supported in the current stage, instead, the user can using the central Rancher to benefits with multi-cluster and central RBAC management.

Ok does it even make sense then to keep this page at all especially once harvester ui is merged with the rancher ui i guess the rancher ui will cover the user management or am i missing something?

the user page will be removed eventually, we are merging the Harvester UI with the dashboard UI https://github.com/harvester/harvester/issues/923 and the new UI will be updated in the coming days.

i guess in that case we can save the time on this and wait till https://github.com/harvester/harvester/issues/923 is done.

I'll check it when I'm testing the new user permissions stuff after the merge of #923 .

i just installed master-94bf1714-head and it seems the Users/Authentication menu is already gone there.

currently, only one admin user will be allowed on the single Harvester cluster, please refer to the multi-tenant feature that will be supported by Rancher v2.6.1+.


[dev] add optional debians sign

Porting https://github.com/MinaProtocol/mina/pull/16370 to dev

!ci-build-me


Reflect Torrminatorr's Comeback and Change G4U's name

Now that Torrminatorr is back, where do you think it should be? I have moved it to somewhere between Games 4 You and GameDrive, but I have not taken a good look at it.
Also, “G4U” is apparently called “games 4 you”, but I refuse to not use any capitalized letters on it, so I have put “Games 4 You”. Are you ok with that?

All these changes are fine, merging, thanks for the PR again!

@Kazevic Hi, can you please edit the discord invite link from the website seven-gamers.com? i changed it by mistake, thank u.
New discord invite link: https://discord.com/invite/ND6TBDwyjU


Can it handle a large number of views

I wondered if it can handle a large number of cards, like in the case of a book that's 100's of pages long?

Thank you @HsanBenJobrane,
I haven't tried pages that long.
I do believe it would handle them just fine
Kingsley


v1.6 backports 2019-08-19

#8942 -- docs: Fix versioned archive path (@joestringer)
#8919 -- bpf: try to atomically replace filters when possible (@borkmann)

Once this PR is merged, you can update the PR labels via:
$ for pr in 8942 8919; do contrib/backporting/set-labels.py $pr done 1.6; done

This change is

test-me-please

test-missed-k8s

test-docs-please

test-upstream-k8s


Getting location information as well

I just learned that I can't merge branches I created from a fork to my fork. Impressive. Very nice. Let's see Paul Allen's misery.


Improve your Action by adding labels for icon and color.

Improve your Action by adding labels for icon and color.
# fix: Improve your Action by adding labels for icon and color.
branding:
  icon: 'type'
  color: 'blue'

https://github.com/benchmark-action/github-action-benchmark/blob/master/action.yml#L4-L6

https://www.cnblogs.com/xgqfrms/p/16584689.html

github actions demos
https://github.com/ktrz/gh-action-js-marathon/tree/feat/setup-action
https://github.com/philschmid/blog-custom-github-action
https://betterprogramming.pub/4-steps-to-creating-a-custom-github-action-d67c4cf0445a
https://www.thisdot.co/blog/creating-your-own-github-action-with-typescript
https://www.youtube.com/watch?v=8KAN16uCgVI
Creating actions
You can create your own actions, use and customize actions shared by the GitHub community, or write and share the actions you build.
https://docs.github.com/en/actions/creating-actions


Is there any way to use hstr with Fish-Shell?

^
The configuration to be placed at ~/.bashrc is all in bash. For example, shopt -s histappend isn't supported by Fish at all.

@rizzini Thank you for asking about Fish shell - it looks really nice! I will need to add support it - load its history, determine how is it configured, etc.

Notes:

command history: https://fishshell.com/docs/current/index.html#searchable-command-history

The command history is stored in the file ~/.local/share/fish/fish_history
(or $XDG_DATA_HOME/fish/fish_history if that variable is set) by default.
However, you can set the fish_history environment variable to change the name
of the history session (resulting in a <session>_history file); both before starting
the shell and while the shell is running.

@dvorka I followed a similar process to this with success:
https://random0musings.blogspot.com/2015/12/hstr-hh-and-fish.html
https://old.reddit.com/r/fishshell/comments/dhz2zf/banging_in_fish/f3saz05/
Could use sed to decode/sanitize on the fly, I suppose.

@Gelmo thank you for letting me know! :+1:


Use webshot to download a PDF of the map

Some relevant information. You will need to pass on the map: https://cran.r-project.org/web/packages/webshot/readme/README.html

@rog-SARTHAK please review https://trafficonese.github.io/leaflet.extras2/index.html and https://northlandia.wordpress.com/2016/03/16/printing-in-leaflet/.

@sarthakua please make sure that the user can define the size of the exported PDF (e.g. A4) and the PDF is indeed in that dimension.

Potentially relevant information:
https://stackoverflow.com/questions/49428073/is-it-possible-to-change-leaflet-map-screenshot-size-in-r-shiny

Pre existing issue asked:
https://stackoverflow.com/questions/75142332/how-to-download-pdf-using-leaflet-easyprint-library


DJ Group not Working

Please tick all applicable boxes.

[x] I am using Python 3.5 or higher (run python --version on the command line)
[x] I have followed the official guides to install the bot for my system
[x] I have updated my dependencies to the latest version using the appropriate update script

Which version are you using?

[x] The latest master version (1.9.7)
[ ] The latest review version

What type of issue are you creating?

[x] Bug
[ ] Feature request
[ ] Question

Description of issue
I set up my DJ permissions in the permissions.ini file but when someone tries to use a command with the assigned role it tells them they have no permission to use it, it tells they are in default group.
Steps to reproduce

Assign a group or user to the DJ permissions.
Start the bot
Use one of the assigned commands to the DJ group.

Log file
Please attach your MusicBot log file (located at logs/musicbot.log) to this issue. You can do so by dragging and dropping the file here. If you do not include your log file, you WILL be asked to provide one.
musicbot.log

Have the user run !perms
If the name: field is not DJ then send the DJ group section here.

Please check the following:

You're editing the right section, the first bit of lines which all start with ; are comment.
when you put them in the Granttousers or Granrtorolws didu make sure to uncomment it?
This might sound stupid but I'm including it because it's something we've seen on the support server, did you save the file and then fully restart, where as fully restart is closing the CMD running and then do the run file for your os.
please include a picture or if your comfortable with it upload the actual file itself too allow for better help.

My Permissions file for the groups:
[Default]
CommandWhitelist = play perms queue np skip search id help clean
; CommandBlacklist =
IgnoreNonVoice = play skip search
MaxSongLength = 1200
MaxSongs = 0
AllowPlaylists = yes
; MaxPlaylistLength = 20
InstaSkip = no
Remove = no
SkipWhenAbsent = no
BypassKaraokeMode = no
Extractors = generic youtube soundcloud
; This group has full permissions.
[MusicMaster]
GrantToRoles =<PHONE_NUMBER>13774080<PHONE_NUMBER>20755456<PHONE_NUMBER>01579521<PHONE_NUMBER>58826755<PHONE_NUMBER>58151956
UserList =<PHONE_NUMBER>66789376
MaxSongLength = 0
MaxSongs = 0
MaxPlaylistLength = 0
AllowPlaylists = yes
InstaSkip = yes
Remove = yes
SkipWhenAbsent = no
BypassKaraokeMode = yes
Extractors =
; This group can't use the blacklist and listids commands, but otherwise has full permissions.
[DJ]
CommandBlacklist = blacklist listids
GrantToRoles =<PHONE_NUMBER>30926625
; UserList =
MaxSongLength = 0
MaxSongs = 0
MaxPlaylistLength = 0
AllowPlaylists = yes
InstaSkip = no
Remove = yes
SkipWhenAbsent = no
BypassKaraokeMode = yes
Extractors = generic youtube soundcloud
; This group can only use the listed commands, can only use play/skip when in the bot's voice channel,
; can't request songs longer than 3 and a half minutes, and can only request a maximum of 8 songs at a time.
[Limited]
CommandWhitelist = play queue np perms help skip
; CommandBlacklist =
IgnoreNonVoice = play skip
; GrantToRoles =
MaxSongLength = 210
MaxSongs = 8
AllowPlaylists = yes
InstaSkip = no
Remove = no
SkipWhenAbsent = yes
BypassKaraokeMode = no
Extractors = youtube
I always use Notepad++ to edit things

When they use !perms it tells them they are in the default group.

After modifying the permissions file make sure you fully restarted the bot (not the restart command).
Also ensure that the Role ID is correct, and that the user has the Role that was set in the permissions file

I did fully restart the bot and they have the role that was set in the file.

is this issue still valid/open? did you save the file + restart the bot? key  word is save.

Closing this issue as it seems to be an issue on your end only, if you still need help feel free to re-open and comment on it.

I actually have the exact same issue to..

@Fluffyhoneybadger I'd recommend joining The Help Server or making a new issue, as this one is both inactive and closed.


Release notes automation and integration

Motivation
Currently, our changelog page doesn't have real change logs but links to the latest roadmap and biweekly report.
From another perspective, our patch releases do not provide comprehensive release notes for users, like:

https://docs.pingcap.com/tidb/stable/release-notes
https://trino.io/docs/current/release.html

Thus, I suppose we resolve these two issues:

Remove/Move irrelevant content from the changelog page.
Integrate our release process with release notes generation and publish on the changelog/release-note page.

Proposal
Doc site structure
Update the current structure:
Changelog
| - Overview (contains a link to Roadmap)
| - Biweekly Reports

to:
Roadmap (Top-level entry. Keep the latest, add links to previous)
Releases
| - All releases (Portal page. A list of all releases and link to their release notes. If one has a release blog, add a link to the blog also)
| - v0.8.0 (YYYY-MM-DD)
| - v0.7.1 (YYYY-MM-DD)
| - v0.7.0 (YYYY-MM-DD)
...
| - v0.x.y (to be determined up to which version, or just start from new versions)

Release note generation and publish
Generation
This is a part that needs to be determined. And I'd prefer to delegate the choose to RMs at least for the first few releases.
These release notes can be referred:

https://docs.pingcap.com/tidb/stable/release-7.5.1
https://trino.io/docs/current/release/release-442.html

To be clear, separate the updates into a few sections with human-readable changelog messages. Highlight the important updates, esp. critical fixes, breaking changes, and deprecations.
We have a few tools to help:

GitHub Releases auto release note generation. It's actually customizable with https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes#configuring-automatically-generated-release-notes
git-cliff that can be more flexible.

[!NOTE]
All of this release notes things doesn't change how we make GitHub releases now. Whether the GitHub releases page should be left as is or changed, is not included in this proposal.

Publish
It should be the same as the current docs update process. That is, the RM revises release notes, sends a patch to add a new page under Releases/vX.Y.Z, and pings @nicecui and @GreptimeTeam/marketing for review.
Open questions

What version of the release notes we'd like to trace back to? Or we start from the new versions.
How do we generate release notes quickly and comprehensively?
How do we handle the versioned doc site? (I suggest either build a version-agnostic section, or like TiDB, old versions keep old release notes. And both TiDB and Trino archive versions very old, we can do it periodically.)

cc @fengjiachun @MichaelScofield @waynexia @sunng87 @killme2008 Please drop a comment for your opinions. Hopefully, the process should be activated from v0.8.0.
cc @Wenjie0329 @nicecui @alili for your information.

LGTM, we can start from the new versions?

Hey, maintainer of git-cliff here 👋🏼 Happy to help with any customizations/tweaks if you decide to go with git-cliff here!

@fengjiachun https://github.com/GreptimeTeam/docs/pull/862 is ready for review as a sample of release note. I suggest we catch up release notes for 0.7.0 and 0.7.1 so that in the next version we know what should be focused and possibly improved.

@orhun Thank you! Let me try it out first. I'll ping you if there is any uncertain :P

How do we handle the versioned doc site? (I suggest either build a version-agnostic section, or like TiDB, old versions keep old release notes. And both TiDB and Trino archive versions very old, we can do it periodically.)

Some of the content has to be moved out to be version-agnostic, like changelog, faq and all cloud docs (cloud can be considered as rolling-release). Not 100% sure if it's possible with our doc site. Perhaps we can use symbolic link for that?

Perhaps we can use symbolic link for that?

Ref - https://github.com/GreptimeTeam/docs/issues/871
Seems lint-staged doesn't like symlink.

Closed as resolved.


fix: labels values are too long for k8s

So I think I came across something similar before but I noticed a bug on Friday through sentry (link here) that is the result of a really long project name. We add the project name in the user pod labels but the labels in k8s cannot be longer than 63 characters so when someone with a long project name tries to launch a server it fails.
The way I resolved this is that in the labels I cut down the project name and username to a max of 63 characters. These are only used to filter the user pods when deleting the registry pull secrets. Then I also added the full project name and username in the pod annotations - which have no length limit. The annotations are then used to further filter the pods (that have already been filtered by the k8s api with the labels) when deleting old secrets and it ensures that there are no collisions because of the truncation in the labels.
This is deployed on https://tasko.dev.renku.ch/. I also tested with a project name that is 70 characters long and it works.
I did the acceptance tests locally and they passed after I increased the time for which the tests wait after deleting a project (in order to confirm the project was really deleted). The code here does not affect the deletion of a project at all - for some reason it is taking a bit longer than usual for the project to disappear from the UI after it is deleted in GitLab.

What would happen if you have the same user with two projects that have the same 63 first characters as project name?

@pameladelgado this is a good point, but it is not a problem. The renku notebooks api reports the list of active user servers based the label selector for the username and heritage only (i.e. f"heritage=jupyterhub,renku.io/username={safe_username}") and the rest of the filtering is done with the annotations. And the annotations do not have truncated values for anything. So the filtering and everything works.
I tested this out on my deployment with these two projects which have the same first 66 characters:

Everything works as expected.

Couldn't we use the project's GitLab ID? that should be unique enough...

@pameladelgado yes that is correct I will change it. It is better to avoid the truncation whenever we can.

ok redeployed and reran the acceptance tests locally after changing the label to the project id - everything works.

oh sorry I didnt see your earlier response.
Thanks, I agree that it's better to use the unique ID than to truncate the name.
I noticed that we are still truncating the username, for this there's the GitLab user ID in case you want to also change this.

Ok I addressed the comments from @ableuler, kept the username in the labels and added a check for the username length when a notebook is launched as we discussed.
I also ran the acceptance tests locally and they passed. This is also currently deployed at https://tasko.dev.renku.ch/


Add LLDB Linux preset (69382424)

preset=linux_lldb
@swift-ci Please test with preset Linux

LLDB tests ran into timeout.
********************
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..Build timed out (after 83 minutes). Marking the build as failed.

https://ci.swift.org/job/swift-PR-Linux-preset/83/
@JDevlieghere, is this known issue?

LLDB tests ran into timeout.
@JDevlieghere, is this known issue?

Not known to me. CC @adrian-prantl as he's our current build wrangler and might have seen it.

preset=linux_lldb
@swift-ci Please test with preset Linux

@JDevlieghere @adrian-prantl It's failing on baseline CI job: https://ci.swift.org/view/LLDB/job/oss-lldb-incremental-linux-ubuntu-16_04/14450/console
This is not new issue.

@swift-ci smoke test and merge


ACDC预处理代码

<EMAIL_ADDRESS>

Hi @PANHAOC and sorry for the late reply. You can find the ACDC preprocessing code here. And in case you need it, the preprocessed ACDC dataset is also provided here


Adds a DB backed session store

We don't render on POST/PUT requests, instead we redirect the user.
In order to get access to invalid form objects on redirects when
invalid we need to access the session. A cookie isn't big enough, we
can have more than 4KB of data in some instances which will raise
a cookie overflow error. DB sessions solve this.

Theres a slight problem with the active-record session store which is that the sessions table doesn't naturally expire stale data.  What mechanism do you propose to prevent runaway growth on this table?

maybe we shouldn't worry too much about the table growth. There's a rake task to prune stale session data, we just need to run it occasionally.
🐑 🇮🇹


Bug: 使用-r参数自定义分辨率报错

Describe the bug
在qq或沙盒里发送nai -r 512x512 cat，bot回复选项 resolution 输入无效，Cannot read properties of null (reading 'authority')。
不加-r参数bot回复正常。发送nai -r landscape catbot回复正常。
Steps to reproduce
在qq或沙盒里发送nai -r 512x512 cat
Expected behavior
bot发送一张512x512大小的图
Screenshots

Relevant log output
[W] i18n missing "Cannot read properties of null (reading 'authority')"

Launcher
Koishi CLI (koishi start)
Backend
Stable Diffusion WebUI (AUTOMATIC1111)
Versions

OS: Windows 11
Adapter: onebot
Node version: 18.12.1
Koishi version: 4.11.3
koishi-plugin-novelai version: 1.16.0

Additional context
已开启sqlite数据库插件

Why does nai -r 512x512 girl not work?
https://github.com/koishijs/koishi/blob/605c59bece1bde69facc8b2ff11f0a3b5df091c0/packages/core/src/middleware.ts#L254-L258
    if (this.ctx.database) {
      if (session.subtype === 'group') {
        // attach group data
        const channelFields = new Set<Channel.Field>(['flag', 'assignee', 'guildId', 'locale'])
        this.ctx.emit('before-attach-channel', session, channelFields)

When Koishi received a command and there is a database usable, Koishi would emit a before-channel-attached and before-user-attached BEFORE calling the observeChannel and observeUser function that would write properties into session.user the Proxy object.
https://github.com/koishijs/koishi/blob/605c59bece1bde69facc8b2ff11f0a3b5df091c0/packages/core/src/middleware.ts#L95-L97
    ctx.before('attach-channel', (session, fields) => {
      session.collect('channel', session.argv, fields)
    })

In middleware.ts, an event listener was registered with the before-channel-attached event, it would call the session.collect function.
https://github.com/koishijs/koishi/blob/605c59bece1bde69facc8b2ff11f0a3b5df091c0/packages/core/src/session.ts#L299
      if (!this.resolveCommand(argv)) return

https://github.com/koishijs/koishi/blob/605c59bece1bde69facc8b2ff11f0a3b5df091c0/packages/core/src/session.ts#L331
      const { options, args, error } = argv.command.parse(argv)

In the session.collect function, Koishi would try to resolve a command's details with session.resolveCommand function, which calling the argv.command.parse function.
https://github.com/koishijs/koishi/blob/605c59bece1bde69facc8b2ff11f0a3b5df091c0/packages/core/src/command/parser.ts#L346-L351
    // apply domain callback
    const transform = resolveType(type)
    if (transform) {
      try {
        return transform(source, argv.session)
      } catch (err) {

So then in the parse function, following the calling chain parse -> parseValue -> transform, the transform function is exactly the faulted resolution function in this case.
As I mentioned at the first, the argv.session here has only a null user property. Considering the code history, this code should not work at first.
But why does 约稿 -r 512x512 girl work?
Just as the workflow mentioned above, the shortcut command also following it, getting into session.resolveCommand function.
But differently, the first line if (this.inferCommand(argv) was failing here (because the content was not be parsed), which making it an early return.
https://github.com/koishijs/koishi/blob/605c59bece1bde69facc8b2ff11f0a3b5df091c0/packages/core/src/session.ts#L328-L329
  resolveCommand(argv) {
    if (!this.inferCommand(argv)) return

So then the calling chain return-ed with nothing, nothing, nothing...until going back to the _process function mentioned at the top.
Originally this message would be ignored cause it is not getting into the command invoke, but thanks to the session.response function assigned above in the _executeMatcher function, which makes it getting into the session once again.
https://github.com/koishijs/koishi/blob/605c59bece1bde69facc8b2ff11f0a3b5df091c0/packages/core/src/middleware.ts#L199-L202
    session.response = async () => {
      const output = await session.resolve(response, params)
      return segment.normalize(output, params.map(source => source ? segment.parse(source) : ''))
    }

https://github.com/koishijs/koishi/blob/605c59bece1bde69facc8b2ff11f0a3b5df091c0/packages/core/src/middleware.ts#L285-L286
    if (session.response) return session.response()
    return next()

Note here, the session here was already assigned with the session.user property with the observerUser function. So when the session.response was called that cycling the command again, following the steps above makes the resolution function functioning accidently.

So the investigation is here. I would fix this bug on our side (I mean novelai-bot), and then let's see yasasii @shigma -chan would take the bug-fixing work with Koishi itself or not.


Add Pwa Support (no offline support )

just just the ability to "add to home screen " on any device
Description (required)
This feature might be small but i see it everywhere in docs for example
https://developer.mozilla.org/en-US/
you can add this site to your home screen and have it take 100% of screen height and width
also you can add shortcuts for example "/reference/configuration-reference/" etc maybe usefull maybe not
also you can now have Astro Docs on Google Play or Ios or chromeOS.
Related issues & labels (optional)

Hello! Thank you for opening your first PR to Astro’s Docs! 🎉
Here’s what will happen next:

Our GitHub bots will run to check your changes.
If they spot any broken links you will see some error messages on this PR.
Don’t hesitate to ask any questions if you’re not sure what these mean!

In a few minutes, you’ll be able to see a preview of your changes on Netlify 🥳

One or more of our maintainers will take a look and may ask you to make changes.
We try to be responsive, but don’t worry if this takes a few days.

i used npm ig that's why it errored?

you can fix it by looking at this guide

you can fix it by looking at this guide
https://astro-pwa-recipe.vercel.app/recipe/generate-sw

Thanks for the PR @abdullhakim-sami!

you are welcome this isn't a "real " PR just an Experiment
I tried running the site and hosted it using zrok it litterally was sending 2Gb of files to any user that visits the site lol
this is because im using the default option of caching everything on first load
there are better approches of caching only viewed pages but honstly docs shouldn't be cached most of the time cuz they update alot
you can remove the glob patterns from the astro config in workbox and the site won't cache anything

The web manifest schema doesn't seem to support multi-lingual sites itself

Having the Manifest be in English or the main language of the site isn't a big problem honstly cuz the Astro logo and title is always in English

But more importantly, it appears to attempt to precache all pages on the site.

you can have an injected sw which will allow you to customize the caching in the way you like by writting the sw its more advance

After some further discussion, we've decided it's not worth taking on the maintenance of a PWA (at least right now). There are definitely ways of making this world, and it would be cool to find a nice caching solution for a better offline experience, but with docs updating as frequently as it does, this could be a bit of a pain to perfect. There are other issues with manifests too, like how the base URL will always remain the same as when you installed the app (e.g. whatever locale you chose at the time, or just always en). Thanks for the experiment though! It's great to be able to explore options like this.


Release Plans Milestones UI is not friendly

Feedback from @chunyu3

Don't know what I need to do when go to this page.

dup


prometheus exporter for celery

Add prometheus exporter for celery https://github.com/danihodovic/celery-exporter
It will need a sidecar on rabbitmq

TECH NOTES

put that in config.py

# In settings.py
CELERY_WORKER_SEND_TASK_EVENTS = True
CELERY_TASK_SEND_SENT_EVENT = True

in k8s repo in stateful set for rabbitmq add a container based on danihodovic/celery-exporter image


Virtual Xinput and Emulated Controller Input Both Being Detected by Game At The Same time

I'm using a nintendo switch pro controller with XOutput to emulate a game, but the game is registering both the virtual Xinput controller and the pro controller inputs at the same time. It seems to register the controller as P1 and the xinput as P2. Is there any way to enable ONLY the xinput to be detected?

Maybe this button will help?


Include kapp-controller Namespace as Part of release.yaml or Document Need to Create Namespace Before Install

Following the install instructions for kapp-controller, there is no mention of needing to create the kapp-controller namespace before using kapp or kubectl.
One approach to resolving this would be to actually include the creation of the kapp-controller namespace as part of the script. An alternative is to update the documentation so users are aware of the step before installing.

namespace is included in the release.yml (https://github.com/vmware-tanzu/carvel-kapp-controller/blob/develop/config/namespace.yml).

Yes, I did see that after a follow up. I am getting the following error when running:
customresourcedefinition.apiextensions.k8s.io/apps.kappctrl.k14s.io created
namespace/kapp-controller created
serviceaccount/kapp-controller-sa created
clusterrole.rbac.authorization.k8s.io/kapp-controller-cluster-role created
clusterrolebinding.rbac.authorization.k8s.io/kapp-controller-cluster-role-binding created
Error from server (NotFound): error when creating "https://github.com/k14s/kapp-controller/releases/latest/download/release.yml": namespaces "kapp-controller" not found

This is when using kubectl apply by the way to maybe narrow it down:
kubectl apply -f https://github.com/k14s/kapp-controller/releases/latest/download/release.yml

Reordering the script as follows works with namespace creation first seems to resolve the issue:
---
apiVersion: v1
kind: Namespace
metadata:
  name: kapp-controller
---
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
  name: apps.kappctrl.k14s.io
spec:
  additionalPrinterColumns:
  - JSONPath: .status.friendlyDescription
    description: Friendly description
    name: Description
    type: string
  - JSONPath: .status.deploy.startedAt
    description: Last time app started being deployed. Does not mean anything was
      changed.
    name: Since-Deploy
    type: date
  - JSONPath: .metadata.creationTimestamp
    description: |-
      CreationTimestamp is a timestamp representing the server time when this object was created.
      It is not guaranteed to be set in happens-before order across separate operations.
      Clients may not set this value. It is represented in RFC3339 form and is in UTC.
      Populated by the system. Read-only. Null for lists.
      More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
    name: Age
    type: date
  group: kappctrl.k14s.io
  names:
    kind: App
    listKind: AppList
    plural: apps
    singular: app
  scope: Namespaced
  subresources:
    status: {}
  versions:
  - name: v1alpha1
    served: true
    storage: true
---
apiVersion: apps/v1
kind: Deployment
metadata:
  annotations:
    kbld.k14s.io/images: |
      - Metas:
        - Path: /Users/dk/workspace/k14s-go/src/github.com/k14s/kapp-controller
          Type: local
        - Dirty: false
          RemoteURL: git@github.com:k14s/kapp-controller
          SHA: e66d0d12829c4fadb79b91b00a565c2357517f64
          Type: git
        URL: index.docker.io/k14s/kapp-controller@sha256:038107419ba4e3cb73087fb00bf1d3e1be83dabdcc55939b5d117f18b1dac66c
  name: kapp-controller
  namespace: kapp-controller
spec:
  replicas: 1
  revisionHistoryLimit: 0
  selector:
    matchLabels:
      app: kapp-controller
  template:
    metadata:
      labels:
        app: kapp-controller
    spec:
      containers:
      - args: []
        env:
        - name: KAPPCTRL_MEM_TMP_DIR
          value: /etc/kappctrl-mem-tmp
        image: index.docker.io/k14s/kapp-controller@sha256:038107419ba4e3cb73087fb00bf1d3e1be83dabdcc55939b5d117f18b1dac66c
        name: kapp-controller
        resources:
          requests:
            cpu: 120m
            memory: 100Mi
        securityContext:
          runAsGroup: 2000
          runAsUser: 1000
        volumeMounts:
        - mountPath: /etc/kappctrl-mem-tmp
          name: template-fs
      securityContext:
        fsGroup: 3000
      serviceAccount: kapp-controller-sa
      volumes:
      - emptyDir:
          medium: Memory
        name: template-fs
---
apiVersion: v1
kind: ServiceAccount
metadata:
  name: kapp-controller-sa
  namespace: kapp-controller
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  name: kapp-controller-cluster-role
rules:
- apiGroups:
  - ""
  resources:
  - serviceaccounts
  - secrets
  - configmaps
  verbs:
  - get
- apiGroups:
  - kappctrl.k14s.io
  resources:
  - apps
  - apps/status
  verbs:
  - '*'
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
  name: kapp-controller-cluster-role-binding
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: kapp-controller-cluster-role
subjects:
- kind: ServiceAccount
  name: kapp-controller-sa
  namespace: kapp-controller

ugh kubectl ordering. we could probably order ytt files by prefixing them.

fixed in https://github.com/vmware-tanzu/carvel-kapp-controller/commit/00ccf87a835bd60e1fbe6ae75d3021b73002527a

Will close once new script is released.

included in https://github.com/vmware-tanzu/carvel-kapp-controller/releases/tag/v0.13.0.


[WIP] [DO NOT MERGE] Fix version string

Signed-off-by: Daniel Hiltgen<EMAIL_ADDRESS>Please do not send pull requests to this docker/docker-ce repository.
We do, however, take contributions gladly.
See https://github.com/docker/docker-ce/blob/master/CONTRIBUTING.md
Thanks!

Please sign your commits following these rules:
https://github.com/moby/moby/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "fix_version" git@github.com:dhiltgen/docker-ce.git somewhere
$ cd somewhere
$ git rebase -i HEAD~842354006008
editor opens
change each 'pick' to 'edit'
save the file and quit
$ git commit --amend -s --no-edit
$ git rebase --continue # and repeat the amend for each commit
$ git push -f

Amending updates the existing PR. You DO NOT need to open a new one.

Updated version string to 18.09.0-beta1.1


Potentially incorrect matching in block 2059269

btswildpig has brought to our attention a potential market matching issue demonstrated in block 2059269.

This was the original short order with 100K BTS collateral (Now the collateral is decreased 0.83604 because partially filled today , look at the next photo  )

it filled at odd price (first 3 in the history )
the block number is 2059269   .
And the guy finally used 0.0035 USD to cover this partial short order and get 29 BTS in return . (no photo about it at this point  ) .

The issue where the short is matched despite not being at the top of the book should be fixed with the upcoming hardfork.
I think the strange price is legit.  It seems to be due to the ask orders specifying a very low price:
>>> blockchain_market_order_book USD BTS
     BIDS (* Short, + Relative, - Relative Limit)                            |                                   ASKS
TOTAL                     QUANTITY                                     PRICE | PRICE                                        QUANTITY                     TOTAL   COLLATERAL
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
16.9999 USD               2,091.32769 BTS                 0.008128759551 USD | 0.000125500000 USD                       10.00000 BTS                0.0012 USD
2.2391 USD                275.96907 BTS                   0.008113590264 USD | 0.000125600000 USD                       11.00000 BTS                0.0013 USD
100.0000 USD              12,324.99999 BTS                0.008113590264 USD | 0.008130000000 USD                       21.68218 BTS                0.1762 USD
1,934.9218 USD            238,962.85227 BTS               0.008097165992 USD*| 0.008403361345 USD                    2,022.98810 BTS               16.9999 USD

There is another more subtle matching issue here as well, it is known and a fix for it has been developed and is currently being tested.
I will double check the numbers on this, will close the ticket once I do that and have a reference to the ticket for the other issue.

See also the last 4 comments in #1277

I believe this was fixed by https://github.com/BitShares/bitshares/commit/0f34cb33fb428b65c96d72cb54e3f67d68ff633b and/or https://github.com/BitShares/bitshares/commit/371343cd19c4d3a9d9a9b483b46cdda434ab8209, which have since been backported to develop.


ci: test image base layer before push

Signed-off-by: Mikko Ylinen<EMAIL_ADDRESS>

Codecov Report

Merging #902 (e59b51d) into main (ae99465) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #902   +/-   ##
=======================================
  Coverage   51.58%   51.58%
=======================================
  Files          40       40
  Lines        3943     3943
=======================================
  Hits         2034     2034
  Misses       1793     1793
  Partials      116      116

Continue to review full report at Codecov.

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

Jenkins and make push are OK with this change.


Options to provide financial support to this project's development

I'd just like to say what an amazing job you have done with this project @pthom. These are the best and most complete wrappings of Dear ImGui for python that I am aware of and so easy to use. I really appreciate how close they are to the C++ DearImGui API. Having so many of the additional libraries bundled with this package installable by pip makes it extremely helpful to share applications with others that they can easily get running. Thank you so much for your work on this!
Is there away that we can provide financial support this project? I may be able to provide some support through my work, although due to corporate rules I can't donate, but if you offer bug fix support, feature enhancements, or technical support I can pay for that.
In the past I have been able to support other projects via PayPal invoices for  "bug fix support, feature enhancements, or technical support" over a period or for specific features.

Hi Anthony,

I'd just like to say what an amazing job you have done with this project @pthom. These are the best and most complete wrappings of Dear ImGui for python that I am aware of and so easy to use. I really appreciate how close they are to the C++ DearImGui API. Having so many of the additional libraries bundled with this package installable by pip makes it extremely helpful to share applications with others that they can easily get running. Thank you so much for your work on this!

I'm very happy to read this, since it was exactly my intent (i.e. to have binding as close as possible to the original API - with a fully automated generation-, to provide easy access to the documentation provided in the headers, and to provide a ready-made toolkit for larger applications)!

Is there away that we can provide financial support this project? I may be able to provide some support through my work, although due to corporate rules I can't donate, but if you offer bug fix support, feature enhancements, or technical support I can pay for that.
In the past I have been able to support other projects via PayPal invoices for "bug fix support, feature enhancements, or technical support" over a period or for specific features.

Thank you very much for asking, this is nice to read!
Yes I am open to offer paid support for technical support and feature enhancements. Please contact me by email about this at pthomet-at-gmail-dot-com
I saw that you posted two other issues: the one concerning imgui-test-engine could be a good candidate.

That would be great to be able to support your great work on this project. I have sent you an email.


feat(serializer): Use placeholder classnames

What:
This replaces the glamor generated classnames in the output with placeholder "c*" classnames.  This improves diffs as they are not polluted by the change in classnames.

Why:
As raised in issue #11

How:
Implemented a replaceClassNames() function taking a lot of similarity from jest-styled-components
Other
I've created this PR with the intention of updating it further.  I'd love to get your feedback on the best way to implement some tests on serializer.js.  In particular the new replaceClassNames() function.
Also I'm interested to see if you have any insights on a better way to implement the regex escaping.
Are there any edge-cases that need to be considered here?
Pic
Please see a screenshot of it in action below:

Closes #11

👍
This also removes a lot of the extra logic from the matcher, including some of the issues you outlined in the comments regarding the containsGlamorClassName.

I've changed the destination of this PR to be next so it wont be released right away. We're going to do a breaking change of glamorous soonish and I'd like to do these at the same time. That way people only have to update their snapshots once :smile:
Thanks again for all the help!

Oh, it looks like the snapshots haven't been updated. Could you update them by running: npm start "test --updateSnapshot"
Then commit the files that are changed. Thanks!

I just realized, maybe it would be better to not use the letter c as the prefix for the classes but instead use the word glamor as a prefix. That might make it a little more straightforward for people who aren't familiar with the code. What do you think?

I was thinking the same, it can even be a descriptive string.  It won't be distracting for people who understand what's going on, but for newcomers they can be informed that this is a jest-glamor-react generated string.  i.e "gjr-generated-classname-0" (although that seems too verbose)
I've also been brainstorming if there's a way we can avoid the index incrementing issue when more glamor components are added to a snapshot, but that may need more thought/time.  There's probably some solutions that work "most" of the time, or more than often but struggling to come up with a bullet-proof/100% method.
p.s  Really enjoying using glamorous and jest together, am following along closely with any glamorous issues that are upcoming.  Hoping to get some writing down sometime soon (in ref to this )

Why don't we update this PR to be simply: glamor-0 Don't want it to be too verbose as you said and I think that's fairly clear (using the word classname is slightly redundant). "This is a class name and it's the 0th glamor one"

P.S.

p.s Really enjoying using glamorous and jest together, am following along closely with any glamorous issues that are upcoming. Hoping to get some writing down sometime soon (in ref to this )

that's awesome! I can't wait to see what you come up with :smile:

Wonderful! Thank you!


Weekly report

My weekly report

CZI 3D Slicer In My Language
Weekly Report
UCAD student: Oumar SY
Week of Feb.16-23, 2022
I have a problem in language pack setting, I can’t find default Qt lrelease tool path on mac.
In Andras tutorial, he just show us where lrelease is located on windows by default.
The link to the translation of the “How to use” SlicerLanguagePack : https://docs.google.com/document/d/1i8zcPnz6bhWUHIyGLnaDR7NvnJSYJlDia-am3yYbFHU/edit?usp=sharing
Week of Feb. 23 - Mar. 02, 2022

Installing Qt and try to change the language in 3D Slicer app
Saturday meeting at school with Mamadou’s for translation
Looking for string extraction in python : I found a library called Lingua, for extract but I do not test it yet in the project source code

Week of Mar. 02-09, 2022

Some problems with the Qt version, I used the 6 version which does not work as well with 3D slicer language pack. I finally use Qt5
Cloning the Slicer github repository
Some problems for build Slicer, I post the error in the slicer discourse and Andras tell me that I verified if I correctly check qtScript and qtWebEngine when I install Qt. I do that, but I got a new error

Week of Mar. 09-16, 2022

Try to create new project on weblate
Test string extraction with lrelease on C++ code by marking strings as translatable with tr() function and it works  well
Test string extraction with gettext on python code by marking strings as translatable with _() function and it works as well
Translate this strings in french with poedit after getting .pot file
Trying string extraction with 3D extractor tools made by Andras, it works with some words in some widget, but doesn't work in some widget.

Week of Mar. 09-16, 2022

I looked f-strings and I understand how it works
The lupdate command of Qt6.2 works with python files for create .ts file
I find also Pyside6 6.2.0 that works as lupdate but on windows only
We translated many words in models module on weblate in our saturday meeting
As an issue, when we update the language in slicer it is not saved when the application restarts

Week of Mar. 16-23, 2022
I had to make a canva of the rendering of the lupdate Qt6.2 function on the .py files, but Andras
Andras found that it had limits and that it was not complete, and then he proposed to see the ast module
Week of Mar. 23-30, 2022

I looked AST python module for parsing python file to detect occurrence of _() function call
I made a function that detects all function calls and specially  _() occurence and the line where this function call is located

Week of Mar. 30 - Apr. 06, 2022

I improved the function to take the python file as parameter, as Andras suggested
Apart from the line where the function is called, I added the extraction of the marked string, the line where this string is located, the context name, and the location of the file in the computer, and all this was saved in a .ts file by immitting the lupdate operation
I tested it in scripted module .py file and it works well
I did the test to create a python package, and I uploaded it to TestPyPi. There is the link : https://test.pypi.org/project/pyextractor/1.0.0/
I tested the installation from my terminal with pic, and it worked well

Week of Apr. 06 - Apr. 13, 2022

I create sliceri18n package on TestPy : https://test.pypi.org/project/sliceri18n/
I create sliceri18n official package on PyPi : https://pypi.org/project/sliceri18n/0.1.0/
I update context name in generated .ts file based on .py file module type
I made a first version of updating existing .ts file when there is new strings marked in .py file (I have some issues here, maybe we will discuss on)
I made the extractor tools save relative path to .ts file
I try translate strings in my .ts file with Qt Linguist


HDF5-based format: update detection of HDF5 version for UTF-8-based filenames

As discussed in https://github.com/tbeu/matio/pull/236 here is the dependent change that updates the minimum HDF5 version to 1.10.6. The commit message contains a longer explanation for the rationale behind the change.

Thanks!


default: remove dup variable

ceph_repository_type was declared multiple times. This commit fixes
this.
Signed-off-by: Sébastien Han<EMAIL_ADDRESS>

jenkins test luminous-ansible2.3-centos7_cluster


ADD JOBS AND GRADES

can you make it to work with jobs and grades pls ?
EX: job need to check if player have that job
garades for check if player have that grade to buy specific item

thank you

Added

thank youuu


System crash caused by preview after image upload

Bug report 🐞
After uploading the image, previewing it and long pressing the image will cause the system to crash.
Version & Environment
2.14.2, safari ,edge in android
Expectation
Actual results (or Errors)
Reproduction link
https://varlet.gitee.io/varlet-ui/mobile.html#/uploader?language=zh-CN&platform=mobile

Can you provide a video to show it? I didn't reproduce it. My brsower work normally.

I think this is related to the length of base64
Uploading mmexport1695384291436.mp4…

https://github.com/varletjs/varlet/assets/26639880/8cd2a98c-0f5b-44e2-a209-99d578c94a85
I think this is related to the length of base64

mmexport1695384291436.mp4
I think this is related to the length of base64

How about the size of this picture which you has uploaded？

368kb

368kb

It is so strange. I try it in safari in ios and chrome in android. The size of picture is more 1MB. But I don't reproduce it.

Have you performed a long touch to open the menu?

Uploading 84_1695621857.mp4…
I had done like what you had said. But I don't reproduce this issue. Can you try to debug it？

I am using edge on redmi k30 pro

I am using edge on redmi k30 pro

I tested this issue in my android phone(one plus). It looked liked well. If try to get the reason, I agree with nonzzz's idea. You can debug it with vconsole.

Unable to debug because it crashes. Have you used Edge?

Actually  i want to help you but i don't have any android :(

Unable to debug because it crashes. Have you used Edge?

Yes, I used this browser.

If it cannot be reproduced, forget it. I customized the preview

If it cannot be reproduced, forget it. I customized the preview

👍 Maybe it will be reproduced by other users. I will try to solve it as soon as possible if necessary.

👍


Improved speed of ctrb and obsv functions

Current implementation of ctrb and obsv functions utilize np.linalg.matrix_power inside of a for i in range(1,n) loop. I modified these functions to reduce the number of matrix multiplications by amat essentially by utilizing the precomputed matrix exponentiation from the i-1the iteration of the loop when computing the ith iteration. This is similar to the MATLAB implementation of the similar functions.
Additionally, I added an optional parameter t to both functions that defaults to None for the case where the reduced observability and controllability matrices are needed. By default, the full observability and controllability matrices are created.
This appears to pass all test cases.

coverage: 95.009% (+0.007%) from 95.002%
when pulling 7feeb2c964196cc0010251c908400adda2ec98d3 on Jpickard1:main
into f08ad6c25416602c7353767ccb558509b81b127a on python-control:main.

This is actually not only for performance but for accuracy reasons, the right way to go. Hence it is an improvement anyways. It is basically a Krylov space argument that leads to repeated powers of A and not that the powers have to be calculated (which is for some reason, always skipped though makes the exposition very accessible).
However, this test is fundamentally broken for production code; i) it is only a theoretical tool since the powers blow up regardless ii) rank decision is a very tricky thing to nail it down without false positives and false negatives iii) as if it is not enough, the answer is a binary yes or no. It does not give any indication of how close we are dancing to uncontrollability/unobservability.
A typical and best bang for buck candidate  is D. Boley's test if you are really looking for a better test which computes the cancellation distance in our context (but originally checks for the rank deficiency metric) Then you can put a limit on the distance and you can tie it to the matrix norms and so on. In my opinion a much better candidate instead of a lower semi-continuous function.
I have the regular version here in case you want to check it out. The article is in the docstring.
I hope academia emphasizes a bit more that the Kalman test is just a theoretical tool and we use it just on the homework problems.

Dear Ilhan,
Thank you. I agree there are several issues with utilizing the Kalman test for determining controllability or observability, and thank you for sharing the test by Boley.
My particular motivation for this change is to use Gramians to determine observability. This is advantageous to me because in addition to providing a Yes/No test, the Gramian provides information on the principal directions of controllability/observability. Since discrete, finite horizon Gramians can be computed in terms of obsv(A,C,t=T), it seems like adding t as an argument would be a nice functionality to include in the code.
While there are these limitations that you have noted, it seems to me that we are in agreement this is a beneficial argument to add for the ctrb and obsv functions. Please share if you think I am misunderstanding your points above or if there are other changes that need to be made.
Thank you. Best,
Joshua Pickard

Dear all,
It appears that this is failing with the below error related to Doctest / doctest-linux (pull_request), and I am hoping I could have some pointers to fix this. This error appears to occur surrounding the doctest for control.forced_response, which is a section of code that I do not believe was modified on my fork or for this pull request. I am not familiar with the doctests for this repo, so could you please advise if there are changes that I should make on my end to resolve this error or if the error exist more broadly in the repo.
Thank you. Best,
Joshua Pickard
ERROR: [numpydoc] While processing docstring for 'control.forced_response'

Extension error (numpydoc.numpydoc):
Handler <function mangle_docstrings at 0x7fa850237ec0> for event 'autodoc-process-docstring' threw an exception (exception: Expected a class or None, but got <function forced_response at 0x7fa853992ac0>)
make: *** [Makefile:32: html] Error 2
reading sources... [ 26%] generated/control.forced_response
Error: Process completed with exit code 2.

It's failing in parts of the code unaffected by your change, so don't worry about in this PR.

I tried re-running the failing test once or twice but it kept failing. I agree that it has nothing to do with this PR, so I'll merge it.


Use Culture Specified by User in case it differs with that of OS

Description
Set Current Culture to be the one propagated by dotnet via DOTNET_CLI_UI_LANGUAGE
Test:
set DOTNET_CLI_UI_LANGUAGE=fr
run vstest.console  /?
You should see help displayed in french
Related issue
Fixes #821.

added tests for app domain culture