Crash of the app at the tab "PC Plot"

I get following error when I switch on the tab "PC plot" of your App.

When I look into the errorconsole of the browser I see following code:
Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()
Do you have an idea what the problem could be?
The tabs before the "PC Plot" work properly.
Cheers, Michail

Interesting, do you have any foreign language characters or other exotic characters in your data? Can you share some of your data with me so I can try to reproduce the problem?

I use the iris dataset for testing the app. The problem above I already figured out today. I used this file:
pcatest5.txt
After deleting the last column with the text the error stopped. But I have a knew one...
First of all the file I use at the moment:
pcatest6tab.txt
I get following code in the developer console of chrome:
Listening on http://<IP_ADDRESS>:45188

Attaching package: ‘DT’

The following objects are masked from ‘package:shiny’:

    dataTableOutput, renderDataTable

Attaching package: ‘psych’

The following objects are masked from ‘package:ggplot2’:

    %+%, alpha

Loading required package: lattice
Loading required package: survival
Loading required package: Formula

Attaching package: ‘Hmisc’

The following object is masked from ‘package:psych’:

    describe

The following objects are masked from ‘package:base’:

    format.pval, round.POSIXt, trunc.POSIXt, units

Loading required package: bit
Attaching package bit
package:bit (c) 2008-2012 Jens Oehlschlaegel (GPL-2)
creators: bit bitwhich
coercion: as.logical as.integer as.bit as.bitwhich which
operator: ! & | xor != ==
querying: print length any all min max range sum summary
bit access: length<- [ [<- [[ [[<-
for more help type ?bit

Attaching package: ‘bit’

The following object is masked from ‘package:psych’:

    keysort

The following object is masked from ‘package:base’:

    xor

Loading required package: ff
Attaching package ff
- getOption("fftempdir")=="/tmp/Rtmps2Sj7r"

- getOption("ffextension")=="ff"

- getOption("ffdrop")==TRUE

- getOption("fffinonexit")==TRUE

- getOption("ffpagesize")==65536

- getOption("ffcaching")=="mmnoflush"  -- consider "ffeachflush" if your system stalls on large writes

- getOption("ffbatchbytes")==16777216 -- consider a different value for tuning your system

- getOption("ffmaxbytes")==536870912 -- consider a different value for tuning your system

Attaching package: ‘ff’

The following objects are masked from ‘package:bit’:

    clone, clone.default, clone.list

The following objects are masked from ‘package:utils’:

    write.csv, write.csv2

The following objects are masked from ‘package:base’:

    is.factor, is.ordered

Loading required package: ffbase

Attaching package: ‘ffbase’

The following objects are masked from ‘package:ff’:

    [<-.ff, [.ff, [<-.ffdf, [.ffdf

The following objects are masked from ‘package:base’:

    %in%, table

Standard deviations are plot by default. See argument numMode of plot.tabplot.
Warning in run(timeoutMs) : data length exceeds size of matrix
Stack trace (innermost first):
    78: [.data.frame
    77: [
    76: fix_data
    75: ggpairs
    74: renderPlot [/srv/shiny-server/Interactive_PCA_Explorer-master/server.R#61]
    66: output$corr_plot
     1: runApp
Warning in run(timeoutMs) :
  Error in [.data.frame: undefined columns selected
Error: C stack usage  7972992 is too close to the limit

Cheers, Michail

It seems that your data files are tab separated, not comma separated. For example, when I read them in to R, this is what I see:

dat <- read.csv("pcatest5.txt")
> dat
    Sepal.length.Sepal.width.Petal.length.Petal.width.Species
1                                   5.1\t3.5\t1.4\t0.2\tI. setosa
2                                     4.9\t3\t1.4\t0.2\tI. setosa
3                                   4.7\t3.2\t1.3\t0.2\tI. setosa
4                                   4.6\t3.1\t1.5\t0.2\tI. setosa
5                                     5\t3.6\t1.4\t0.2\tI. setosa
6                                   5.4\t3.9\t1.7\t0.4\tI. setosa
7                                   4.6\t3.4\t1.4\t0.3\tI. setosa
8                                     5\t3.4\t1.5\t0.2\tI. setosa

etc.
The app currently only accepts CSV files, so I think that's the main reason why you're getting errors.
To read your tab-separated files into R, you can use read.delim instead of read.csv


Negative TC in loss computation

In the file https://github.com/zpham/D3VAE/blob/main/exp/exp_model.py
loss = loss1*self.args.psi + loss2*self.args.lambda1 + mse_loss - self.args.gamma*total_c
Why is total_c negative while we want it be small?

Since total_c denotes the disentanglement loss, bigger total_c means better disentanglement performance.


User Feedback Improvements

[ ] fonts are too bright
[ ] submit button does not seem to do anything?
[ ] smaller/lighter sentry logo

Mockup from Chris: https://cl.ly/3a0g1k0D1U23/o


Move types from global.d.ts to tsconfig.json

Hi,
If that's okay I'd love to help ! I'll start with some low hanging fruit issues/fixes/optimizations that I see to get to know the codebase
Anyhow, the PR is for the vite-pwa types in the global.d.ts file. Since you already use the compilerOptions.types attribute in the tsconfig (and they basically do the same thing) I figured one less file at the root of the project would be better

You're very welcome, I hope I'll be able to help some more


AttributeError: module 'keras.utils.generic_utils' has no attribute 'to_snake_case'

When I try to import keras:
from keras import backend as K

I get:
AttributeError: module 'keras.utils.generic_utils' has no attribute 'to_snake_case'

I tried on versions 2.4.3, 2.3.1, 2.2.5

same here

Can anyone help me with this?
model = sm.Unet(BACKBONE, encoder_weights='imagenet')
Error:
AttributeError                            Traceback (most recent call last)
 in ()
----> 1 model = sm.Unet(BACKBONE, encoder_weights='imagenet')
2 model.compile(optimizer='adam', loss=sm.losses.bce_jaccard_loss, metrics=['accuracy', sm.metrics.iou_score])
6 frames
/usr/local/lib/python3.7/dist-packages/classification_models/weights.py in load_model_weights(model, model_name, dataset, classes, include_top, **kwargs)
23                              ' as true, classes should be {}'.format(weights['classes']))
24
---> 25         weights_path = keras_utils.get_file(
26             weights['name'],
27             weights['url'],
AttributeError: module 'keras.utils' has no attribute 'get_file'

try:
from tensorflow.keras.utils import get_file

@ldasey Thank you for your reply.
I have already tried doing that, still the same error.

for a quick fix: try removing keras completely and only use keras within tensorflow

@kiflowb777 @Kshitij-AI Is this still an issue for you? Can you please share a simple standalone code to reproduce the issue?
Please check with TF2.6 and let me know whether the issue persists. Thanks!


Fixed environment variable names in README.md.

I was going through the setup instructions and found some of the environment variable names (INITIAL_CLONE_EMAIL and INITIAL_CLONE_API_TOKEN) were out of date.

I signed it!

I signed it!


fix: add 404 page

Fix: #223
Signed-off-by: sh1luo<EMAIL_ADDRESS>

Demo link: http://<IP_ADDRESS>:8000/foo/bar
After login with admin, 123
Try to visit any path that does not exist again.

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


Simplify switch block

Break up the on_cx_switch_block method into 2 to capture the two use cases for it explicitly.

:+1:


Update circe-generic, circe-literal, ... to 0.14.5

Updates

io.circe:circe-generic
io.circe:circe-literal
io.circe:circe-parser
io.circe:circe-testing

from 0.14.3 to 0.14.5.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Files still referring to the old version number
The following files still refer to the old version number (0.14.3).
You might want to review and update them manually.
build.sbt

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "io.circe" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "io.circe" }
}]

labels: library-update, early-semver-minor, semver-spec-patch, version-scheme:early-semver, old-version-remains, commit-count:1

Superseded by #312.


Parent/Child database entities cannot be easily seperated

Currently the serverless.yml accepts a single client which can make organization of infrastructure more difficult. Given a setup which has a Parent DB that contains x amount of functions/indexes/collections and Child DBs which contains y collections/indexes/functions, the ability to flag which DBs to update would streamline the process and make storing infrastructure more straightforward. The current workaround is to have multiple serverless.yml files separated in different folders. This would require two different access points for updating infrastructure or the use of custom scripts to do that handling.
Due to the vast amounts of architecture possibilities with Fauna there isn't really a straightforward method to solve this problem, however an idea that may be more suitable for multiple architectures could be the use of named groups in the serverless yaml file.
For example, a configuration file might look like the following:
fauna:
  client:
    secret: ${env:FAUNA_SECRET}
    domain: ${env:FAUNA_DOMAIN, "db.fauna.com"}
    scheme: ${env:FAUNA_SCHEME, "https"}
    port: ${env:FAUNA_PORT, "443"}

  group:
     name: one

    collections:
      example_collection:
        name: ExCollec

  group:
     name: two

    collections:
      example_collection_2:
        name: ExCollec2

 collections:
   example_collection_3:
      name: ExCollec3

And then when invoking serveless fauna deploy the groups are skipped and an additional group flag would need to be used to deploy collections/indexes/functions within that group: serveless fauna deploy --group two
the handling of the secrets would likely need to be left to the user. So, although the use of some custom scripts would likely be needed, this would allow for having all infrastructure in one place and handled by one file.

Thanks for the submission, @Teomayo
Agree that there's not really a straightforward way to address this. Is there a related plugin that uses named groups the way you describe that sets a precedent?

Definitely see a good opportunity for the tool to expand it's IaC capabilities. We're hoping to eventually rely on this solely to manage all the DBs we have, but certainly right now there is a fair bit of effort from us to script up the exact functionalities we need to manage parent and child db specific interactions.


Wrong CSV values in columns which have customBodyRender option

Downloaded CSV file has wrong values in columns which have customBodyRender if the table is filtered.

Expected Behavior

This table view

should result in this CSV
"Name","Title","Location","Age","Salary"
"Gabby George","Business Analyst","Minneapolis","30","$100,000"
"Franky Rees","Business Analyst","St. Petersburg","22","$50,000"
"Robin Duncan","Business Analyst","Los Angeles","20","$77,000"
"Brynn Robbins","Business Analyst","Norfolk","22","$90,000"
"Jesse Hall","Business Analyst","Baltimore","44","$99,000"

Current Behavior

but the actual CSV is
"Name","Title","Location","Age","Salary"
"Gabby George","Business Analyst","Minneapolis","30","$100,000"
"Aiden Lloyd","Business Analyst","St. Petersburg","22","$50,000"
"Jaden Collins","Business Analyst","Los Angeles","20","$77,000"
"Franky Rees","Business Analyst","Norfolk","22","$90,000"
"Aaren Rose","Business Analyst","Baltimore","44","$99,000"

These values correspond to the first 5 rows of the unfiltered table data.
Steps to Reproduce (for bugs)

https://codesandbox.io/s/muidatatables-wrong-download-values-if-column-has-custombodyrender-3jtsx

Click "Download CSV"
Observe the invalid values in the downloaded file
Remove customBodyRender option by replacing this column definition{
  name: "Name",
  options: { customBodyRender: value => <span>{value}</span> }
},

with"Name"

Click "Download CSV"
Observe the correct values in the downloaded file

Your Environment

Tech
Version

Material-UI
4.5.1

MUI-datatables
2.12.3

React
16.11.0

Verified, thank you for the detailed report! I have a fix locally, will push soon and probably release a patch today.


Update PyAV dependency to 10.0.0 with ffmpeg5 support

Motivation and context

Since PyAV now has ffmpeg5 support, it could be safe to use it instead of 4.X and change the requirement in /cvat/cvat/requirements/base.txt.
See this issue as well.
How has this been tested?

The dev env has been launched on Arch Linux, using packages from this PR.
All env components from cvat/requirements/development.txt install just fine with av set to 10.0.0.
Checklist

[x] I submit my changes into the develop branch
[ ] I have added a description of my changes into CHANGELOG file
[ ] I have updated the documentation accordingly
[ ] I have added tests to cover my changes
[x] I have linked related issues (read github docs)
[ ] I have increased versions of npm packages if it is necessary (cvat-canvas,
cvat-core, cvat-data and cvat-ui)

License

[x] I submit my code changes under the same MIT License that covers the project.
Feel free to contact the maintainers if that's a concern.

/check

Please update ffmpeg version here https://github.com/opencv/cvat/blob/develop/Dockerfile#L29 as well

Hi, thanks for the PR! I feel we might need to defer merging this PR till the next major release. There is a problem with video library versions that in different versions the results can be different (you can actually see it in the CI error report).

Please update ffmpeg version here https://github.com/opencv/cvat/blob/develop/Dockerfile#L29 as well

I assume the ffmpeg version number here in the local cvat repo needs to also be changed before installing the requirements from /cvat/cvat/requirements/ with pip (since it builds the container)?

UPD: changed the ffmpeg requirement in Dockerfile to 5.1.2 before pip reqs installation, containers launched just fine.

/check

If seems in the new version some frames are returned rotated 90 degrees. Could you please investigate? It may be related to the video rotation metainfo.

If seems in the new version some frames are returned rotated 90 degrees. Could you please investigate? It may be related to the video rotation metainfo.

Ok, I'll look into it.

@inpv , thanks for the contribution. Unfortunately, the small change is huge. FFMPEG can be updated after huge testing. I will close the PR.


feate(starter): Add --template option to create-electric-app CLI tool

Added option to select a template when using create-electric-app - currently the options are React and Vue and more can be added via the template-config.js configuration file and adding a valid template in src/templates.ts.

DOn't forget to add PR for docs (disregard my message if you're already into this)

DOn't forget to add PR for docs (disregard my message if you're already into this)

Yep no PRs will be merged without a doc PR ready, but before writing docs I'd rather agree on the APIs introduced first.
For this particular case though, as far as I can tell we don't actually have a reference/API doc for the create-electric-app utility other than in the quickstart section - I can update that one to reference the --template option, but do we maybe want some dedicated documentation for this tool?


TypeError: Cannot read property 'getBoundingClientRect'

TypeError: Cannot read property 'getBoundingClientRect' of null
at HTMLButtonElement.click_handler_1

Can you guys help?

Can you guys help?

Can you provide a reproduction of the error in the Svelte REPL?

Can you provide a reproduction of the error in the Svelte REPL?

#5 should fix this by performing a null check on the accordion item reference.
Published to NPM in version 1.0.1


Add a configuration option to hide variations in the content tree.

A new feature request from #5:

I suggest hiding the variantions folder. Variations node should be editable only from experiment page. It would make everything easier to understand.

Long term the plan is to integrate with Umbraco 8 content variations & segmentation, which are a perfect fit for what we are doing.
Short term I believe it is important that the variations are visible by default, as they need to be published at this point, and are therefore publicly accessible by default.
That being said, I certainly agree that there are circumstances where being able to hide these would be useful.
I don't think we will put any development into this unless there is a big demand for this feature, especially with Umbraco 8 coming relatively soon. I will leave this card open for anyone if they want to contribute though.
There is an easy workaround for now, you can hook into the Umbraco TreeControllerBase.TreeNodesRendering event and remove the variations there. As a matter of fact, there is an unfinished and commented out attempt at this very thing inside the repo. I stopped working on this when I decided it's better to keep the variations visible.


Switch option to specify description when you get "[WARNING] No GitHub description provided." while running Recipe Robot

Is your feature request related to a problem? Please describe.
I tried using Recipe Robot 2.2.0 to build a recipe for the Murus Firewall.  After finding their official site's download link was very version-specific, I eventually realized by looking at the URL that they use a GitHub repo.  Unfortunately, when I ran Recipe Robot using the URL to that repo, I got a

[WARNING] No GitHub description provided.
in the output... and no recipes.

I believe that is the only thing preventing Recipe Robot from generating the recipes, as it found the .ZIP and seemed to figure out the rest.
Describe the solution you'd like
I would love to see an flag/switch parameter/option added such as --description the lets you simply enter a short description so that Recipe Robot can use that if it hits such an issue.  This would allow Recipe Robot to generate recipes in more situations where a GitHub repo lacks that.
Describe alternatives you've considered
At the moment, I don't know of an alternative to get Recipe Robot to get around this.  My only option right now is likely to take another set of recipes generated for another GitHub repo and manhandle them into dealing with this.
Additional context
That's it.  Just hoping to add something that lets Recipe Robot generate recipes where currently it won't.

Looking through the code, it appears as if the warning is generated around line 1390 in inspect.py inside the function inspect_github_url().  That, in turn, seems to be called in 2 places in the same file, notably in the function inspect_download_url().
If I am understanding the code logic correctly, you are leveraging this facts variable as a continually updated dictionary.  And the particular missing element is facts['description'].  If there was a way to "inject" facts into the dictionary when running Recipe-Robot (at least from the CLI), that might offer a lot of flexibility beyond just getting past this minor hangup that prevents recipe generation.

Ok, I tried something, and now I'm wondering if this is a request feature, simply a lack of output, or a bug.
I modified inspect.py line 1382 to hard code "Murus" into the description variable so it wasn't empty, then re-ran Recipe Robot, figuring that was all that was stopping things.  But it still generates the same error message, only now there are no warnings/etc. in the output:
 Processing: https://github.com/TheMurusTeam/Murus
Input path looks like a GitHub URL.
Getting GitHub repo...
    GitHub repo is: TheMurusTeam/Murus
Getting app name...
    App name is: Murus
Getting GitHub description...
    GitHub description is: Murus
Getting information from latest GitHub release...
    GitHub release download format is: zip
    GitHub release download URL is: https://github.com/TheMurusTeam/Murus/releases/download/v2.1.1/murus-2.1.1.zip
    Download URL is: https://github.com/TheMurusTeam/Murus/releases/download/v2.1.1/murus-2.1.1.zip
Downloading file for further inspection...
    Download content-type is application/octet-stream
    Downloaded to /Users/frank/Library/Caches/Recipe Robot/2021-10-02_16-02-27_073244/murus-2.1.1.zip
Determining download format...
    File extension is zip
    Successfully unarchived zip
Getting developer name from GitHub...
    GitHub developer is: The Murus Team
[ERROR] I wasn't able to gather enough information about this app to make recipes. If you saw any warnings above, they may contain more specific information.

Digging further, I'm wondering if things are crapping out because this .zip file, when decompressed, actually becomes a .dmg.  And inside the .dmg you then have a typical Mac application bundle.

As you deduced, the lack of a description is just a warning, and should not prevent the creation of recipes.
Apps distributed as zip-in-a-dmg are rare (since double compression provides no benefit), and Recipe Robot isn't built to handle that combination of formats. You might try providing the app itself as input — this would allow Recipe Robot to search for a Sparkle feed to use. If that fails, you might have to build recipes manually for this particular app.


tik docker tutorial doesn't use influxdb 2.0

Hi,
I open this issue because I can see a difference between two docker images.
When I try to follow / use the tik docker stack I'm unable to access the influxdb UI on port 8086
The only way to do is to use the influxdb image from quay.io instead of the one from dockerhub.
Is the example in the documentation wrong and should be updated ?
Is it possible to have the same tutorial example with influxdb 2.0 ?
Thank you very much for your help.
Best regards,

Hi @craph, I'm going to transfer this to the repo for our public docs site.
I don't think the docs are wrong, the tutorial just needs updated to target v2.


报错，retry to connect, error:

Xcode 无法显示出ip但是连接succeed.
在 terminal 里 iproxy 8100 8100 报错
Last login: Sun Feb  4 15:30:39 on ttys000
zhu:~ ories$ iproxy
usage: iproxy LOCAL_TCP_PORT DEVICE_TCP_PORT [UDID]
zhu:~ ories$ iproxy 8100 8100
waiting for connection
accepted connection, fd = 4
waiting for connection
Number of available devices == 1
Requesting connecion to device handle == 7 (serial: c724e9db759f10f832d59745b7117d4416e8c1ec), port 8100
Error connecting to device!
accepted connection, fd = 4
waiting for connection
Number of available devices == 1
Requesting connecion to device handle == 7 (serial: c724e9db759f10f832d59745b7117d4416e8c1ec), port 8100
Error connecting to device!
accepted connection, fd = 4
waiting for connection
Number of available devices == 1
Requesting connecion to device handle == 7 (serial: c724e9db759f10f832d59745b7117d4416e8c1ec), port 8100
Error connecting to device!
accepted connection, fd = 4
waiting for connection
Number of available devices == 1
Requesting connecion to device handle == 7 (serial: c724e9db759f10f832d59745b7117d4416e8c1ec), port 8100
Error connecting to device!

@codingories<PHONE_NUMBER>加微信搞定


JDK 8 specific version help

It wasn't clear to me how to specify a version for JDK8 or older. I tried 1.8.152 for example and that doesn't work. 8.0.152 is the correct syntax however that was confusing given 1.8 is supported. This should help those in my situation. If you feel it can be improved please let me know

Thanks for the feedback! Good to have some clarity around this.
Resolve the merge conflict and we can get this in 😃

@konradpabjan Done


keep shutter open

in pycromanager, there is an event key called keep_shutter_open that instructs the hardware to keep the shutter(s?) open across C/Z.  should add that concept somewhere to the schema
see discussion here https://github.com/micro-manager/pycro-manager/issues/88

see also https://github.com/pymmcore-plus/useq-schema/pull/107


Unbale to upload 400 images size 120 MB

Actions before raising this issue

[X] I searched the existing issues and did not find anything similar.
[X] I read/searched the docs

Steps to Reproduce
my server is in cloud , I  am using proxy pass with nginx to access my cvat server , I can able to create a task with 10 to 20 images but when it comes to 200-400 images ,it is throwing an error , could not create a task to more details bout an error get on browser console
Expected Behavior
I just wont to create a task and upload 400 images
Possible Solution
No response
Context
No response
Environment
docker version 24.0.2
os ubuntu 18.04
cvat version 2.9.0

logs :
Failed to load resource: the server responded with a status of 413 (Request Entity Too Large)
cvat-ui.5af6f214ec92c4ff68d8.min.js:sourcemap:2 Error: Request failed with status code 413. "\r\n<title>413 Request Entity Too Large</title>\r\n\r\n
413 Request Entity Too Large
\r\n
nginx/1.14.0 (Ubuntu)\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n".
e @ cvat-ui.5af6f214ec92c4ff68d8.min.js:sourcemap:2
/api/tasks/10/data?org=:1

       Failed to load resource: the server responded with a status of 413 (Request Entity Too Large)
cvat-ui.5af6f214ec92c4ff68d8.min.js:sourcemap:2 Error: Request failed with status code 413. "\r\n<title>413 Request Entity Too Large</title>\r\n\r\n
413 Request Entity Too Large
\r\n
nginx/1.14.0 (Ubuntu)\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n".
e @ cvat-ui.5af6f214ec92c4ff68d8.min.js:sourcemap:2
showErrors @ cvat-ui.5af6f214ec92c4ff68d8.min.js:sourcemap:2
componentDidUpdate @ cvat-ui.5af6f214ec92c4ff68d8.min.js:sourcemap:2
ll @ cvat-ui.5af6f214ec92c4ff68d8.min.js:sourcemap:2
gs @ cvat-ui.5af6f214ec92c4ff68d8.min.js:sourcemap:2
n.unstable_runWithPriority @ cvat-ui.5af6f214ec92c4ff68d8.min.js:sourcemap:2
Go @ cvat-ui.5af6f214ec92c4ff68d8.min.js:sourcemap:2
As @ cvat-ui.5af6f214ec92c4ff68d8.min.js:sourcemap:2
as @ cvat-ui.5af6f214ec92c4ff68d8.min.js:sourcemap:2
(anonymous) @ cvat-ui.5af6f214ec92c4ff68d8.min.js:sourcemap:2
n.unstable_runWithPriority @ cvat-ui.5af6f214ec92c4ff68d8.min.js:sourcemap:2
Go @ cvat-ui.5af6f214ec92c4ff68d8.min.js:sourcemap:2
qo @ cvat-ui.5af6f214ec92c4ff68d8.min.js:sourcemap:2
Zo @ cvat-ui.5af6f214ec92c4ff68d8.min.js:sourcemap:2
os @ cvat-ui.5af6f214ec92c4ff68d8.min.js:sourcemap:2
notify @ cvat-ui.5af6f214ec92c4ff68d8.min.js:sourcemap:2
notifyNestedSubs @ cvat-ui.5af6f214ec92c4ff68d8.min.js:sourcemap:2
o @ cvat-ui.5af6f214ec92c4ff68d8.min.js:sourcemap:2
g @ cvat-ui.5af6f214ec92c4ff68d8.min.js:sourcemap:2
(anonymous) @ cvat-ui.5af6f214ec92c4ff68d8.min.js:sourcemap:2
(anonymous) @ cvat-ui.5af6f214ec92c4ff68d8.min.js:sourcemap:2
dispatch @ cvat-ui.5af6f214ec92c4ff68d8.min.js:sourcemap:2
(anonymous) @ cvat-ui.5af6f214ec92c4ff68d8.min.js:sourcemap:2

Hi, please check your proxy settings. 120 MB is not a problem to be handled by CVAT server.

I don't consider it to be a bug. Please, submit a bug if you are able to reproduce it in regular setup within a local network.

Dear Opencv/Cvat,
Tq for your response , Issue has been resolved , I think when we use any
cloud we can access cvat anyware by just exporting of its public ip , I
don't know about this earlier that is way i used reverse proxy with nginx
to access cvat , now it is not required to access cvat with reverse proxy i
just exported my public ip i able to uploading images know.
Regards,
Nagaraju.
On Fri, Nov 10, 2023 at 3:57 PM Boris Sekachev @.***>
wrote:

Hi, please check your proxy settings. 120 MB is not a problem to be
handled by CVAT server.
—
Reply to this email directly, view it on GitHub
https://github.com/opencv/cvat/issues/7122#issuecomment-1805467780, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/BCXNJ4XC522IH3GPW3NFGATYDX6RHAVCNFSM6AAAAAA7F52SEKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBVGQ3DONZYGA
.
You are receiving this because you authored the thread.Message ID:
@.***>


feat(cmd): stand-alone script to check kong health

Summary
This resty script checks if the Nginx master process needed by Kong is running. It provides the same functionality as kong health, but does not start a second Nginx for that.
Full changelog

New resty script.
Adapted current kong health tests.
To do: obsolete kong health.

FTI-4452

we may need to add a line here https://github.com/Kong/kong/blob/master/build/package/nfpm.yaml#L30 to be able to package this in artifacts

we may need to add a line here https://github.com/Kong/kong/blob/master/build/package/nfpm.yaml#L30 to be able to package this in artifacts

I see you already did it. Thank you!


Miss import path quick suggestions with side effect import

VSCode Version: 1.17.0
OS Version: macOS 10.13

Steps to Reproduce:

Intelisense doesn't work for me at all.
even if I do
const a = { foo: 'bar' }
a. // no suggestions appear after I type dot

I had to update my jsconfig baseUrl from '.' to './'

@notgiorgi That is unrelated to this issue. Please file a new issue for your problem

Manually triggering intellisense using ctrl+space should still work in this case. I'll look into automatically showing intellisense for October

I still don't see the path suggestions automatically appear for import './' or import from './'

@roblourens @mjbvz
It still doesn't work in VS Code v1.18.1

I still don't see the path suggestions automatically appear for import './' or import from './'
Can you reopen this issue?
@mjbvz @roblourens


Adapted the style of the profile page and fixed some bugs

As described in the issue #80, the profile page was quite broken. This PR fixes this situation. In order to do this, the update method from devise has to be re-implemented, otherwise we will face some issues regarding password fields. That being said, I've tried to use as many devise methods inside this new update method as possible, so it is as consistent as possible. The mandatory screenshot:

As you can see, I don't allow panels to fill the width, because personally I think that it looks ugly then. Moreover, I've also added some coffeescript to enable/disable buttons as needed.

Everything looks good to me. I would get rid of the "Cancel account" section because of issue #51. Unless you want to fix that with a separate issue.

I'd do it in another PR. This PR was about porting the previous profile page to a working state. We will remove the "Cancel account" form when we decide to tackle the issue #51 ;)

Good :+1:


Drivers: Using retryAfterSeconds in more places in drivers vs. retryAfterMs

It seems like we are converging on using seconds across various driver layers, not ms.
But there are couple places where we convert back and forth.
Trying to fix it by using seconds in more workflows.
Please let me know if it feels better or worse :)

I think we were trying to converge to millisecond instead?
https://github.com/microsoft/FluidFramework/pull/6261
https://github.com/microsoft/FluidFramework/pull/6030

Second PR makes sense - layers that consume error and do waits use milliseconds.
They all should use getRetryDelayFromError() that calculates milliseconds and not directly care how data is encoded in error objects.
But first part - not sure. The reason I find it really weird is we do conversions back and forward, which increases chances of errors:
const retryAfterMs = retryAfterSeconds !== undefined ? retryAfterSeconds * 1000 : undefined;
error = createGenericNetworkError(errorMessage, true, retryAfterMs, { statusCode });

export function createGenericNetworkError(
    errorMessage: string,
    canRetry: boolean,
    retryAfterMs?: number,
    props?: ITaggableTelemetryProperties) {
    if (retryAfterMs !== undefined && canRetry) {
        return new ThrottlingError(errorMessage, retryAfterMs / 1000, props);
    }
    return new GenericNetworkError(errorMessage, canRetry, props);

I think we either should keep these layers using seconds all the way (as almost all errors in protocol are seconds, and I think it would be great for IR11sSocketError to also use seconds as that's the only exception, or fork SPO / R11 helper functionality as SPO always uses seconds on all paths.)
OR we should change underlying error object structure (need to consider going through compat layer) and error objects to use milliseconds, not seconds.
But converting 2 times back and forth seems weird.

Naive question: do the functions accept floats as input or does it require ints?


OAuth setup question potentially does not have any input checking

During setup, when asked
Use OAuth method for authorization to transfer private playlists (yes/no):
If you respond with anything other than yes or no (e.g. y) it will accept the answer but will always error with
ValueError: Not a boolean: y

Yes. It states what you're supposed to answer. Are you surprised you're getting an error if you answer something different?

Okay there's no need to be rude I'm just pointing out that users usually expect a level of input sanitation to prevent this kind of thing from happening, clearly you aren't interested in doing this which is completely fine for a small single purpose free tool, however if you ever develop anything with a broader user base I would recommend using input sanitation to prevent complaints and save yourself the headache of dealing with users. 👍

I didn't write that code, it's by @webns
I also didn't say I'm not open to changing it. Feel free to submit a PR


Add Link to Github Repo

Add a link to this GitHub repo in the UI. For example in the footer or whatever looks good.
Motivation: Users using this app can quickly jump to this repo to create issues or to contribute.

can i get assigned?


feat: update to track latest spec changes

Automated changes after Neon spec has been updated

:tada: This issue has been resolved in version 1.24.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 2.0.0-beta.8 :tada:
The release is available on:

npm package (@beta dist-tag)
JSR.io
GitHub release

Your semantic-release bot :package::rocket:


Default to Using Bitcoin Core for TX Composition

Use electrs only when configured to do so. Have helpful error message like "The source address is not in your Bitcoin wallet. To compose transactions, you need to use an instance of electrs."

See https://github.com/CounterpartyXCP/counterparty-core/issues/2245


pkey: Imply public check if -pubin is specified

Trivial fix to openssl pkey to imply using public check if -pubin is specified.

Should this be backported?

Dunno, IMO there is no point in doing EVP_PKEY_check() when only a public key is imported. So it could be seen as bug fix.
Any other opinions?

This pull request is ready to merge

Merged to master, 3.1 and 3.0 branches. Thank you for the reviews.


converted changelist.txt to markdown format

renamed changelog file name to CHANGELOG.md, see demo on my branch
converted codeplex issue id to links
FEATURE for new features.
CHANGED for changes of behaviour in existing functionality.
DEPRECATED for once-stable features removed in upcoming releases.
REMOVED for deprecated features removed in this release.
BUGFIX for any bug fixes.
ENHANCEMENT for improvement to existing functionality
rif #178

Bonus points for making this compatible with projectscaffold format (or fixing the parser in FAKE)

updated! flattened structure more like projectscaffold.
@forki I'll check for compatibility of fake parser :D
October 29 2013 => 2013-10-29 because not everyone use MDY date format (magenta)

source: wikipedia

or we can use :horse_racing: (perf) :bomb: (deprecated) :fire: (removed) :bug: (fix)
just kidding

how about adding links to the corresponding issues?

i added some links, where the codeplex ticket was present. I tried to search some on codeplex but no luck, and boring (more than convert to markdown :smile:  )

We don't want to file to be named differently in master and fsharp4, can you please rebase this on master so we can then merge it into fsharp4 after?

i rebased to master, but the pr target branch cannot be modified
added #202

i rebased to master, but the pr target branch cannot be modified

why not?
usually we just push -f on the pull requests!?

i have done that (was already rebased on master), but pr target (see on top) is not changed and cannot on github.

Ah. I misread that. You changed the target branch.  Sorry

np, and thx anyway, push to pr is the best trick i learned about github

Which PR are we using for this? Please close whichever one you don't want to maintain.

Closing this one out in favor of #202


HHH-9985 - bytecode enhancer - fix merge use case

I see 3 possible ways of dealing with the copy:

don't do reflection and use the enhanced setters
copy dirty tracking and interceptors as well (using reflection)
expose methods on dirty tracking and interceptor to deal with it

This fix is according to strategy 3. main changes are:

SelfDirtinessTracker interface exposes an additional method to mark a field dirty
LazyAttributeLoader exposes additional methods to get the set of initialized fields and add a field to that same set.

Those changes allow DefaultMergeEventListener to copy the state of the dirty tracker and interceptor

Applied.  Thanks Luis!


'accessor never reaches end or a return statement' incorrect warning

Posting from JustinMinnaar on Visual Studio Gallery:
Given the following code, I receive the 'accessor never reaches end or a return statement' warning on the get function of the Caption property, yet my code appears to be correct, and works correctly.
public string caption
{
      get { return TryGetString(nameof(caption)); }
      set { SetString(nameof(caption), value); }
}

@Rpinski I'm getting this error now as well, I'm on <IP_ADDRESS>. (It's from Refactoring Essentials, disabling the extension makes the warning disappear.) .NET Core, VS 2015 Enterprise Update 3.
public class BaseController : Controller
{
    protected CurrentUser CurrentUser
    {
        get
        {
            var id = 0;
            var idSucceed = int.TryParse(User.FindFirst(ClaimTypes.Id).Value, out id);
            CurrentUser.Id = id;

            CurrentUser.Email = User.FindFirst(ClaimTypes.Email).Value;
            CurrentUser.FirstName = User.FindFirst(ClaimTypes.FirstName).Value;
            CurrentUser.LastName = User.FindFirst(ClaimTypes.LastName).Value;
            CurrentUser.Username = User.FindFirst(ClaimTypes.Username).Value;

            return CurrentUser;
        }
    }
}

@vaindil What exactly is CurrentUser you are referring inside of the get accessor block?


Client App starting losing packets after random time

First of all, thanks to you and to Polygraphene for such awesome work.
I’m playing lone echo. After LOTS of hours in game, in different sessions, I think I isolated a strange behavior of the app. After a random amount of time, It starts losing packets, especially with steam audio when there are loud sounds. This strange “state” in my opinion is completely caused by the app. These are my arguments:

If I restart the app, it returns to completely fluid, without any packet drop, for another random amount of time.

When the app is in this “packet loss” state, if I press the right oculus menu button, and then click on “resume”, the visor image is black. If I resume the app when it has no packet loss, it resumes completely fine.

In this “packet loss” state, even restarting the app is difficult. If I close it and then restart, the visor says that the app was unexpectedly closed, after some flickering.

For completeness, my system is pretty high-end. GeForce RTX2070 heavy oc’d, cpu i5 8-series (six cores), 16 gigs ram, solid disks.
Networking side, I have a high end 5Ghz Linksys router dedicated to ALVR, 2 mts distance, and I’m the only one in the room. On steamvr, I disabled reprojection and I’m at 100% res on SteamVR and on ALVR.
Before entering the strange “packet loss” state, ALVR app and server are OUTSTANDING, steady 72fps, without artifacts of any kind.
Hope this details can help you isolating the problem

I encountered the same problem as you, but could not trace it (yet). For me, it happened only at home and at times where everyone around me is using their wifi. At work with a dedicated router connected to an additional lan port, I never had the same problem.  I suspect some kind of network congestion.
Closing the app (where it crashes some times) on the HMD and restarting it helps most of the time.

The only kind of “congestion” I could have is internet connection, since the oculus quest uses that same WiFi to connect itself to internet. The PC uses the cabled connection to connect itself to internet. I will try to separate completely the two networks and report here.

Hmm, my quest at work does not have a internet connection.

I made an observation:

Start the streaming until you are in SteamVR home
take of the HMD and let it go to sleep
pick up the hmd and cover the sensor to reactivate it
start shaking the hmd

-> results in
ALVR Native: Sent packet loss report. ret=16 09-10 16:11:43.844 28543 30280 E ALVR Native: SoundPacket loss 8 (46 -> 53) 09-10 16:11:43.844 28543 30280 I ALVR Native: Sent packet loss report. ret=16 09-10 16:11:43.877 28543 30280 I ALVR Native: Got frame=32 86, Codec=1 09-10 16:11:43.979 28543 30280 E ALVR Native: VideoPacket loss 115 (1323 -> 1437) 09-10 16:11:43.980 28543 30280 I ALVR Native: Sent packet loss report. ret=16 09-10 16:11:43.985 28543 30280 I ALVR Native: Sent packet loss report. ret=16 09-10 16:11:43.985 28543 30280 E ALVR Native: SoundPacket loss 6 (74 -> 79) 09-10 16:11:43.985 28543 30280 I ALVR Native: Sent packet loss report. ret=16 09-10 16:11:44.000 28543 30280 I ALVR Native: Sending timesync. 09-10 16:11:44.000 28543 30280 I ALVR Native: Decoder latency: 0 09-10 16:11:44.000 28543 30280 I ALVR Native: Sending broadcast hello. 09-10 16:11:44.000 28543 30280 E ALVR Native: Received packet from invalid source address. Address=<IP_ADDRESS>:9944 09-10 16:11:44.006 28543 30280 I ALVR Native: TimeSync: server - client = -7051699 us RTT = 6414 us 09-10 16:11:44.151 28543 30280 E ALVR Native: VideoPacket loss 252 (2065 -> 2316) 09-10 16:11:44.151 28543 30280 I ALVR Native: Sent packet loss report. ret=16 09-10 16:11:44.159 28543 30280 I ALVR Native: Sent packet loss report. ret=16 09-10 16:11:44.159 28543 30280 E ALVR Native: SoundPacket loss 10 (106 -> 115) 09-10 16:11:44.159 28543 30280 I ALVR Native: Sent packet loss report. ret=16 09-10 16:11:44.376 28543 30280 E ALVR Native: VideoPacket loss 526 (2859 -> 3384) 09-10 16:11:44.376 28543 30280 I ALVR Native: Sent packet loss report. ret=16 09-10 16:11:44.378 28543 30280 I ALVR Native: Sent packet loss report. ret=16 09-10 16:11:44.378 28543 30280 E ALVR Native: SoundPacket loss 18 (138 -> 155) 09-10 16:11:44.379 28543 30280 I ALVR Native: Sent packet loss report. ret=16 09-10 16:11:44.596 28543 30280 E ALVR Native: VideoPacket loss 562 (3915 -> 4476) 09-10 16:11:44.596 28543 30280 I ALVR Native: Sent packet loss report. ret=16 09-10 16:11:44.602 28543 30280 I ALVR Native: Sent packet loss report. ret=16 09-10 16:11:44.602 28543 30280 E ALVR Native: SoundPacket loss 22 (182 -> 203) 09-10 16:11:44.603 28543 30280 I ALVR Native: Sent packet loss report. ret=16 09-10 16:11:44.820 28543 30280 E ALVR Native: VideoPacket loss 528 (5009 -> 5536) 09-10 16:11:44.820 28543 30280 I ALVR Native: Sent packet loss report. ret=16 09-10 16:11:44.832 28543 30280 I ALVR Native: Sent packet loss report. ret=16 09-10 16:11:44.832 28543 30280 E ALVR Native: SoundPacket loss 22 (226 -> 247)
and a very unresponsive HMD. Picking up the Quest without shaking works fine.
I'm maybe on to something.
I added the output ALVR Native: Decoder latency: 0 to this testbuild because I had a hunch.

@FingrMastr could you please test release experimental v6?

Today I’ll test in similar condition of the previous version. However, I can already say that I have a problem, with v6 the sound tab is saying “no sound devices are found”. Is there anything I can do to restore sound stream?

Its only a UI issue. If you delete your configuration in %localappdata%\ALVR it reverts and you can set it again.
Here is patched ALVR.exe whre the sound settings work
ALVR_fix.zip

Ok here are results of testing of V6:
Tested with Valve's "The Lab", and with Spiderman far from home vr. After 1,5 hours of testing, I experienced again the strange "packet loss" behavior, for three times. However packet loss was very small, but I noted that traslation movement (not rotation) was very jittery when entering this state. Normally is possible to press the right controller oculus button to pause and then resume ALVR app. As I noted in the previous tests, when the app is in this strange state, if I pause and resume, I can hear audio but image is black. Also, If I close the app and then restart, it reports me a crash.
For the rest, the experience is absolutely smooth, at H265, 100% res, 50Mbps and around 300kb buffer.
About Spiderman Far From Home, it seems the game does not correctly recognize controllers with standard oculus touch mapping. I could see my hands, but all buttons were unresponsive. I had to remap Index Knuckles controls in the steamVR interface to play correctly...
Hope this helps.

Ok another little update after some other time in VR with V6:
Tested with "Groundhog day", for about an hour. (Great idea for a game indeed, but technically poor). Experienced two times the strange state with jittery translation and little packet loss.
The BIG very very BIG problem is new, however: For two times the app was completely freezed in video. Audio was fine. I could not even close it with right oculus button. I saw from the pc mirror view that ALVR server was correctly detecting movements. I was forced to restart the Oculus Quest by holding power button. This happened two times, and has not ever happened with previous ALVR versions.

Please continue the discussion in #70


Add ignored mysql serialization issue tests.

Thanks for providing this tests. I will try to have a look in the next few weeks.

I've added a "fix" here that allows both tests to pass. This "fix" just tracks at connection level if we hit a SerializationError or not and special cases the rollback correspondingly. At least from my point of view that seems like a hacky solution. Additionally it only works with Connection::execute_returning_count but not with Connection::load due to borrowcheck issues. (That's maybe even not a problem because SerializationFailure should only happen with insert/update/delete statements which will use .execute() on the mysql backend as there is no RETURNING clause support.)
@diesel-rs/reviewers Would like to hear your opinions here.


cc, python: populate EnvoyError.message

Description: populates EnvoyError.message instead of populating it with an empty string
Risk Level: Low
Testing: bazel test //test/python:runtest_unit to run test_envoy_error
Docs Changes: N/A
Release Notes: N/A

At a glance, I think the test failure looks legitimate.


'Show progress messages' setting, does it do something ?

I can't remember what the show progress messages was for @DavidHallgren
Was that for disable/enable the good choice messages ?
At least, it doesn't seem to do anything at this moment.

Oh wait, if hints are on, it doesn't do anything, but otherwise, it doesn't show any progress messages (no good choice and no well done). Closing this.


Discord

Can anyone help me. when I click discord. it says accept for invite. I do this and then nothing show.. Any help appreciated.  P

The decision to use Discord for bug reporting will bite them.  In developing countries, internet services are less than ideal and Discord is very sensitive.  I tried to set up an account and it was immediately disabled for alleged ToS violations.  This means that I cannot report bugs or contact Support.
Discord breeds discord among users.  If you're sitting in a datacenter with Pentabytes of throughput per second and Yottabytes of RAM, I am sure this isn't an issue.  I would be happy if there were alternatives, but there are not at present.


DEV: new moltype method and some documentation

in this PR:
NEW:

added new MolType.degenerate_from_seq(), fixes #1948

DOC:

docstrings for view and slice record classes
docstrings for make_seq

DEP:

removed deprecation warnings and deprecated arguments marked for this release
@GavinHuttley I note that the Map class is marked for removal at this release

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

25 of 26 (96.15%)  changed or added relevant lines in 4 files are covered.
3 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.005%) to 91.995%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/cogent3/core/new_moltype.py
20
21
95.24%

Files with Coverage Reduction
New Missed Lines
%

src/cogent3/maths/scipy_optimize.py
3
84.92%

Totals

Change from base Build<PHONE_NUMBER>:
-0.005%

Covered Lines:
33098

Relevant Lines:
35978

💛  - Coveralls


Add support for completion inside paired delimiters

It seems that language server completions are not suggested for snippets inside paired delimiters.  This makes it difficult to use ALE in conjunction with a delimiter auto-pairing plugin (or when delimiters are manually paired). This does not appear to be a limitation of the language servers, as other LSP clients (e.g., LanguageClient-neovim) can make suggestions inside paired delimiters.
Working examples for golang and python.

Examples of no completion suggestions when typing inside paired function delimeters:

This is with the following ALE config:
Current Filetype: python
Available Linters: ['flake8', 'mypy', 'prospector', 'pycodestyle', 'pyflakes', 'pylint', 'pyls', 'pyre', 'vulture']
  Enabled Linters: ['flake8', 'pyls']
 Suggested Fixers:
  'add_blank_lines_for_python_control_statements' - Add blank lines before control statements.
  'autopep8' - Fix PEP8 issues with autopep8.
  'black' - Fix PEP8 issues with black.
  'isort' - Sort Python imports with isort.
  'remove_trailing_lines' - Remove all blank lines at the end of a file.
  'trim_whitespace' - Remove all trailing whitespace characters at the end of every line.
  'yapf' - Fix Python files with yapf.
 Linter Variables:
let g:ale_python_flake8_auto_pipenv = 0
let g:ale_python_flake8_change_directory = 1
let g:ale_python_flake8_executable = 'flake8'
let g:ale_python_flake8_options = ''
let g:ale_python_flake8_use_global = 0
let g:ale_python_pyls_auto_pipenv = 0
let g:ale_python_pyls_executable = 'pyls'
let g:ale_python_pyls_use_global = 0
 Global Variables:
let g:ale_cache_executable_check_failures = v:null
let g:ale_change_sign_column_color = v:null
let g:ale_command_wrapper = ''
let g:ale_completion_delay = 100
let g:ale_completion_enabled = 1
let g:ale_completion_max_suggestions = 50
let g:ale_echo_cursor = 1
let g:ale_echo_msg_error_str = 'Error'
let g:ale_echo_msg_format = '[%linter%]% code%: %s'
let g:ale_echo_msg_info_str = 'Info'
let g:ale_echo_msg_warning_str = 'Warning'
let g:ale_enabled = 1
let g:ale_fix_on_save = 1
let g:ale_fixers = {'*': ['remove_trailing_lines', 'trim_whitespace'], 'python': ['black']}
let g:ale_history_enabled = 1
let g:ale_history_log_output = 1
let g:ale_keep_list_window_open = v:null
let g:ale_lint_delay = 200
let g:ale_lint_on_enter = 0
let g:ale_lint_on_filetype_changed = 1
let g:ale_lint_on_insert_leave = 0
let g:ale_lint_on_save = 0
let g:ale_lint_on_text_changed = 'never'
let g:ale_linter_aliases = {}
let g:ale_linters = {'go': ['golangserver'], 'python': ['pyls', 'flake8']}
let g:ale_linters_explicit = 0
let g:ale_list_vertical = v:null
let g:ale_list_window_size = v:null
let g:ale_loclist_msg_format = v:null
let g:ale_max_buffer_history_size = 20
let g:ale_max_signs = v:null
let g:ale_maximum_file_size = v:null
let g:ale_open_list = 1
let g:ale_pattern_options = v:null
let g:ale_pattern_options_enabled = v:null
let g:ale_set_balloons = 0
let g:ale_set_highlights = 1
let g:ale_set_loclist = 1
let g:ale_set_quickfix = 0
let g:ale_set_signs = 1
let g:ale_sign_column_always = v:null
let g:ale_sign_error = '✖'
let g:ale_sign_info = v:null
let g:ale_sign_offset = v:null
let g:ale_sign_style_error = v:null
let g:ale_sign_style_warning = v:null
let g:ale_sign_warning = '⚠'
let g:ale_statusline_format = v:null
let g:ale_type_map = v:null
let g:ale_use_global_executables = v:null
let g:ale_virtualtext_cursor = 0
let g:ale_warn_about_trailing_blank_lines = 1
let g:ale_warn_about_trailing_whitespace = 1
  Command History:
(started) ['/bin/zsh', '-c', '''pyls''']

Moreover, the minimal RC file used is:
if has('nvim')
  let vimplug = "$XDG_DATA_HOME/nvim/site/autoload/plug.vim"
else
  let vimplug = "~/.vim/autoload/plug.vim"
endif

let plugins = "$XDG_DATA_HOME/nvim/site/plugins"

let g:ale_completion_enabled = 1

if empty(glob(vimplug))
  execute ' !curl -fLo ' . vimplug . ' --create-dirs ' .
        \ 'https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
  autocmd VimEnter * PlugInstall --sync
endif

call plug#begin(plugins)

Plug 'w0rp/ale'

call plug#end()

let g:ale_linters = {
      \ 'python': ['pyls', 'flake8'],
      \ 'go': ['golangserver'],
      \ }
let g:ale_fixers= {
      \ '*': ['remove_trailing_lines', 'trim_whitespace'],
      \ 'python': ['black'],
      \ }
let g:ale_fix_on_save = 1
let g:ale_completion_enabled = 1
let g:ale_completion_delay = 100
let g:ale_echo_msg_format = '[%linter%]% code%: %s'
let g:ale_lint_on_enter = 0
let g:ale_lint_on_save = 0
let g:ale_lint_on_text_changed = 'never'
let g:ale_open_list = 1
let g:ale_set_ballons = 1

" set completeopt=longest,menuone,preview,noselect

Could be caused by either bad regex, or the language servers not responding themselves.

It works for tsserver, so the problem will either be some difference in LSP, or the servers not responding if there are trailing characters. I can fix the former, but can't do anything about the latter.

I will try to insoect the ALE source, but I am not intimately familiar with vimL. Is there a way from within ALE to create debugging logs to see what the server responds with?

I tried this with the bash-language-server on some bash scripts, and other than some issues with the language server not starting on minimal example files, the completion worked inside delimiters. Given that the same python language server is used by both ALE and LanguageClient-neovim and the latter offers python completions inside delimiters, it might be worth investigating its source.

The best way to debug LSP programming is to run ALE in Vim 8.0 or above, and to use the ch_logfile function to log everything.

The only thing I think I could try is checking out a similarly structured project with basically the same settings, and try using completion myself from the exact same position in a similar file. Beyond that, I don't know if there's something wrong, or what it might be.

I'm having difficulty reproducing the environment in which LanguageClient-neovim produced completions where ALE did not. When I try now with the various versions of python-language-server and the current release of ALE and LanguageClient-neovim I see identical behavior between the two language clients, i.e., no completions between delimiters.  VSCode does provide completions, but it uses a different Python language server and falls back to jedi for completions, so is not really comparable.
I will see if I can't manually run the python language servers and talk to them directly.


doc: update region tags for bigtable quickstart

Re-add region tags that were removed when this page was refactored and moved. Region tags are required to pull the quickstart code in to the client libraries overview page in the Cloud Bigtable docs.

This change is

Yes, that's fine! And thank you.


Project status

Hi I would like to know the status of this project if is still maintained and receiving updates.
Thank you.

@allangood
Please consider it as abandoned


Flow can't recognize material UI?

I just installed flow based on "Create React App". I have already successfully installed Material UI but it seems doesn't recognized the module when I tested by "npm run flow".
Error ┈┈┈┈┈┈┈ src/client/components/SequenceEditor/SequenceSidebarPanel.js:6:21

Cannot resolve module @material-ui/core/Divider.

hi @dotku did you resolve your issue?
I think I am running in similar problems and I have the feeling that the problem lies in flow-typed, which creates stubs in this way:
declare module '@material-ui/core/Divider/Divider' {
  declare module.exports: any;
}

declare module '@material-ui/core/Divider/index' {
  declare module.exports: any;
}

note the final /index, so there is not actually any @material-ui/core/Divider...
Maybe I am totally wrong.. I am looking into this
and I think this is a related issue

Like @kuus says this seems to be an issue with flow-typed so makes sense to open the issue there.  There's nothing inherent in Flow which means it wouldn't support libdefs for @material-ui


Double, Float numbers lack syntax coloring

Int numbers are highlighted with a distinct color, while Double and Float numbers are greyed. Tested on numerous built-in themes.

Looks like this might be issue with tree sitter? Can't seem to repro in VS Code


Support for setting EbsOptimzed

This may what I need to launch c6g and r6g instances. ('Requested configuration not supported' at present; console not being clear, and I haven't tested with this branch yet, but.)
Either way, me gusta.

@chloeruka friendly ping :)

I recall looking at this several years ago and my conclusion was that newer instance types had this automatically enabled:
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-optimized.html
Has anything changed since then that would make manually enabling this useful? 🤔

That's a good point. Looks like ebs optimization is enabled for arm instance types (c6g, r6g) that @ecv mentioned.

Thanks for triggering this discussion @peter-svensson.
Our understanding is that this is enabled automatically depending on the instance type so we'll close it. If we're wrong (or the issue is more nuanced than we realised) we're happy to re-open though!

I just tested this today
aws cloudformation create-stack \
  --output text \
  --stack-name buildkite \
  --template-url "https://s3.amazonaws.com/buildkite-aws-stack/latest/aws-stack.yml" \
  --capabilities CAPABILITY_IAM CAPABILITY_NAMED_IAM \
  --parameters "$(cat config.json)"```

```cat config.json
[
  {
    "ParameterKey": "BuildkiteAgentToken",
    "ParameterValue": "123"
  },
  {
    "ParameterKey": "KeyName",
    "ParameterValue": "peter"
  },
  {
    "ParameterKey": "InstanceType",
    "ParameterValue": "m5.large"
  }
]```

This results in a launch-configuration that creates EC2 instance with:

<img width="1039" alt="Screen Shot 2020-09-15 at 12 36 18" src="https://user-images.githubusercontent.com/378483/93200484-192c4f00-f750-11ea-8dcb-0dea1d273183.png">

So it looks like the EBS optimisation is not set to `true`, which seems to be inline with the documentation for [Cloudformation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html#cfn-ec2-instance-ebsoptimized):

```EbsOptimized
Indicates whether the instance is optimized for Amazon EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal Amazon EBS I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS-optimized instance.

Default: false

Required: No

Type: Boolean

If I create the same instance type (m5.large) in the AWS console I do get EBSOptimized  set to true as a default value.

So the documentation that you posted above @lox is correct for the console, but not for Cloudformation.
Feel free to test and verify yourselves.
I'd say this PR should still be valid and merged 😊

Thanks for the deep dive @peter-svensson!
Confusingly, the docs for ebs-optimized instances say:

The following table lists the instance types that support EBS optimization and EBS optimization is enabled by default. There is no need to enable EBS optimization and no effect if you disable EBS optimization.

There's a small number of instance types further down the docs that have different behvaiour documented:

The following table lists the instance types that support EBS optimization but EBS optimization is not enabled by default. You can enable EBS optimization when you launch these instances or after they are running. Instances must have EBS optimization enabled to achieve the level of performance described. When you enable EBS optimization for an instance that is not EBS-optimized by default, you pay an additional low, hourly fee for the dedicated capacity

The instance types in the second group mostly look old-ish. Is it possible the ebs-optimised flag you're seeing set (or not set) has no impact on the m5.large in your test?
We're not flat out opposed to adding this parameter, we're just aware that the stack is using 48/60 possible parameters so they're becoming a precious resource to use sparingly.

We're not flat out opposed to adding this parameter, we're just aware that the stack is using 48/60 possible parameters so they're becoming a precious resource to use sparingly.

@yob I totally agree on keeping the number of parameters down...

The instance types in the second group mostly look old-ish. Is it possible the ebs-optimised flag you're seeing set (or not set) has no impact on the m5.large in your test?

The m5.large is not in the short list. It's in the top table with an asterisk on it and in the middle table

Instance size
Maximum bandwidth (Mbps)
Maximum throughput (MB/s, 128 KiB I/O)
Maximum IOPS (16 KiB I/O)

m5.large *
4,750
593.75
18,750

* These instance types can support maximum performance for 30 minutes at least once every 24 hours. If you have a workload that requires sustained maximum performance for longer than 30 minutes, select an instance type according to baseline performance as shown in the following table.

Instance size
Baseline bandwidth (Mbps)
Baseline throughput (MB/s, 128 KiB I/O)
Baseline IOPS (16 KiB I/O)

m5.large
650
81.25
3,600

And just to check I set it up with an instancetype without asterisk (m5.4xlarge) and it is still not EBS optimized (from what the console shows) - haven't done any real I/O performance tests.

@peter-svensson I believe that is just referring to burstable IOPS on the underlying EBS device isn't it?
Perhaps we can check with AWS support @yob? Another option would be to always enable it.

It's confusing enough alright 😊
I don't think we can always enable it - instance that doesn't support it won't start if I remember correctly.
Checking with AWS would be a good thing I guess.

Thanks for encouraging us to get to the bottom of this @peter-svensson.
I reached out to AWS support and got the following answer:

I understand you want to confirm the impact of using EbsOptimized property of AWS::EC2::Instance in the cloudformation template with different types of instance types.
Please correct me if my understanding is incorrect.
Certain instances types are EBS optimized by default. There is no need to enable EBS optimization and no effect if you disable EBS optimization. Examples of such instances include m5.large and others from the table linked here under the section: EBS optimized by default.
Then there are instances with support EBS optimization but EBS optimization is not enabled by default. You can enable EBS optimization when you launch these instances or after they are running [2]. List of such instances include m3.xlarge or r3.2xlarge and can be found here under the section: EBS optimization supported.
In the CloudFormation template, enabling or disabling EbsOptimized property will have no effect on instances which are EBS optimized by default. However, this property can be used to enable EBS optimization for instances which do support EBS optimization but EBS optimization is not enabled by default.

Based on the answer, I see three obvious options:

Set EbsOptimized to true for everyone. In the majority of cases it'll have no effect, but teams using instance types like m3.xlarge or r3.2xlarge will get improved IO performance (for a cost)
Set EbsOptimized to false by default, but add the new parameter so teams using instance types like m3.xlarge or r3.2xlarge can opt to pay more for improved IO performance
Status-quo - we don't set EbsOptimized. There's no impact for most users of the stack, but anyone using instance types like m3.xlarge or r3.2xlarge have no ability to opt into paying for improved IO performance

I lose track of all the instance types and their background, but are all the instances that benefit from EBSOptimized (the third table here) legacy generations? Looking at these docs it seems like they might be.

Thanks everyone for looking into this.

Certain instances types are EBS optimized by default. There is no need to enable EBS optimization and no effect if you disable EBS optimization. Examples of such instances include m5.large and others from the table linked here under the section: EBS optimized by default.

That seems to conflict with @peter-svensson's m5.4xlarge where it's in the table to be ebs optimized by default yet the aws console shows that the ebs optimization is disabled...

That seems to conflict with @peter-svensson's m5.4xlarge where it's in the table to be ebs optimized by default yet the aws console shows that the ebs optimization is disabled...

My read is that the m5.4xlarge always has EBS Optimization, regardless of whether the flag in the console is on or off. I haven't verified that with benchmarks though.

Sounds like it should be impossible to not enable it then 😊
Could be that the AWS console (and possible AWS cli) returns the wrong value for EbsOptimized
I did a simple test today using fio on two m5.4xlarge AWS instances. Both created from the buildkite launchconfiguration, one with EBSOptimized  (10-0-2-224) and one without (10-0-2-127).
Disclaimer: I have no experience or idea on how to do proper I/O testing what so ever...
Found some simple tests here
If I interpret the results correctly:

Random R/W latency test looks like it's performing around 30% better with EBS opimization flag turned on.
Random R/W more or less on par.

Would be great if someone who actually knows could verify and come up with a conclusion.
From this test I'd say that the optimizaiton flag probably always is turned on and makes no difference to set it "manually"..
[ec2-user@ip-10-0-2-224 ~]$ fio fioradomrwlatency.fio
job1: (g=0): rw=randrw, bs=4K-4K/4K-4K/4K-4K, ioengine=libaio, iodepth=1
fio-2.14
Starting 1 process
Jobs: 1 (f=1): [m(1)] [100.0% done] [4516KB/4656KB/0KB /s] [1129/1164/0 iops] [eta 00m:00s]
job1: (groupid=0, jobs=1): err= 0: pid=17112: Thu Sep 17 07:23:14 2020
  read : io=512576KB, bw=4271.5KB/s, iops=1067, runt=120001msec
    slat (usec): min=2, max=153, avg= 7.19, stdev= 2.93
    clat (usec): min=181, max=18302, avg=360.50, stdev=250.94
     lat (usec): min=188, max=18308, avg=367.91, stdev=251.05
    clat percentiles (usec):
     |  1.00th=[  207],  5.00th=[  217], 10.00th=[  227], 20.00th=[  239],
     | 30.00th=[  255], 40.00th=[  278], 50.00th=[  354], 60.00th=[  374],
     | 70.00th=[  394], 80.00th=[  414], 90.00th=[  446], 95.00th=[  524],
     | 99.00th=[ 1336], 99.50th=[ 1960], 99.90th=[ 3280], 99.95th=[ 3856],
     | 99.99th=[ 5728]
  write: io=515832KB, bw=4298.6KB/s, iops=1074, runt=120001msec
    slat (usec): min=2, max=87, avg= 8.03, stdev= 3.36
    clat (usec): min=388, max=18434, avg=552.28, stdev=291.51
     lat (usec): min=393, max=18442, avg=560.53, stdev=291.62
    clat percentiles (usec):
     |  1.00th=[  430],  5.00th=[  446], 10.00th=[  458], 20.00th=[  474],
     | 30.00th=[  486], 40.00th=[  502], 50.00th=[  516], 60.00th=[  532],
     | 70.00th=[  548], 80.00th=[  588], 90.00th=[  652], 95.00th=[  732],
     | 99.00th=[  988], 99.50th=[ 1208], 99.90th=[ 4768], 99.95th=[ 7456],
     | 99.99th=[11968]
    lat (usec) : 250=13.55%, 500=53.40%, 750=29.66%, 1000=2.17%
    lat (msec) : 2=0.86%, 4=0.27%, 10=0.08%, 20=0.01%
  cpu          : usr=1.14%, sys=2.54%, ctx=257297, majf=0, minf=11
  IO depths    : 1=100.0%, 2=0.0%, 4=0.0%, 8=0.0%, 16=0.0%, 32=0.0%, >=64=0.0%
     submit    : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
     complete  : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
     issued    : total=r=128144/w=128958/d=0, short=r=0/w=0/d=0, drop=r=0/w=0/d=0
     latency   : target=0, window=0, percentile=100.00%, depth=1

Run status group 0 (all jobs):
   READ: io=512576KB, aggrb=4271KB/s, minb=4271KB/s, maxb=4271KB/s, mint=120001msec, maxt=120001msec
  WRITE: io=515832KB, aggrb=4298KB/s, minb=4298KB/s, maxb=4298KB/s, mint=120001msec, maxt=120001msec

Disk stats (read/write):
  nvme0n1: ios=128076/129841, merge=0/30, ticks=45360/70080, in_queue=596, util=0.23%

[ec2-user@ip-10-0-2-127 ~]$ fio fioradomrwlatency.fio
job1: (g=0): rw=randrw, bs=4K-4K/4K-4K/4K-4K, ioengine=libaio, iodepth=1
fio-2.14
Starting 1 process
Jobs: 1 (f=1): [m(1)] [100.0% done] [3412KB/3556KB/0KB /s] [853/889/0 iops] [eta 00m:00s]
job1: (groupid=0, jobs=1): err= 0: pid=18227: Thu Sep 17 07:14:51 2020
  read : io=382964KB, bw=3191.4KB/s, iops=797, runt=120001msec
    slat (usec): min=2, max=38, avg= 5.10, stdev= 1.92
    clat (usec): min=182, max=48211, avg=641.94, stdev=708.07
     lat (usec): min=188, max=48215, avg=647.19, stdev=708.10
    clat percentiles (usec):
     |  1.00th=[  211],  5.00th=[  227], 10.00th=[  247], 20.00th=[  370],
     | 30.00th=[  386], 40.00th=[  398], 50.00th=[  410], 60.00th=[  430],
     | 70.00th=[  470], 80.00th=[  636], 90.00th=[ 1432], 95.00th=[ 2128],
     | 99.00th=[ 3312], 99.50th=[ 3888], 99.90th=[ 5216], 99.95th=[ 5984],
     | 99.99th=[ 9664]
  write: io=386184KB, bw=3218.2KB/s, iops=804, runt=120001msec
    slat (usec): min=2, max=105, avg= 6.04, stdev= 2.50
    clat (usec): min=406, max=12694, avg=591.88, stdev=159.11
     lat (usec): min=411, max=12701, avg=598.06, stdev=159.25
    clat percentiles (usec):
     |  1.00th=[  446],  5.00th=[  466], 10.00th=[  478], 20.00th=[  498],
     | 30.00th=[  516], 40.00th=[  532], 50.00th=[  556], 60.00th=[  580],
     | 70.00th=[  612], 80.00th=[  668], 90.00th=[  748], 95.00th=[  836],
     | 99.00th=[ 1048], 99.50th=[ 1176], 99.90th=[ 1944], 99.95th=[ 2768],
     | 99.99th=[ 4768]
    lat (usec) : 250=5.31%, 500=41.91%, 750=38.83%, 1000=6.08%
    lat (msec) : 2=4.94%, 4=2.72%, 10=0.21%, 20=0.01%, 50=0.01%
  cpu          : usr=0.65%, sys=1.53%, ctx=192372, majf=0, minf=10
  IO depths    : 1=100.0%, 2=0.0%, 4=0.0%, 8=0.0%, 16=0.0%, 32=0.0%, >=64=0.0%
     submit    : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
     complete  : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
     issued    : total=r=95741/w=96546/d=0, short=r=0/w=0/d=0, drop=r=0/w=0/d=0
     latency   : target=0, window=0, percentile=100.00%, depth=1

Run status group 0 (all jobs):
   READ: io=382964KB, aggrb=3191KB/s, minb=3191KB/s, maxb=3191KB/s, mint=120001msec, maxt=120001msec
  WRITE: io=386184KB, aggrb=3218KB/s, minb=3218KB/s, maxb=3218KB/s, mint=120001msec, maxt=120001msec

Disk stats (read/write):
  nvme0n1: ios=95665/97296, merge=0/23, ticks=60992/56404, in_queue=596, util=0.30%

[ec2-user@ip-10-0-2-224 ~]$ fio randomreadwrite.fio
job1: (g=0): rw=randrw, bs=64K-64K/64K-64K/64K-64K, ioengine=libaio, iodepth=64
...
fio-2.14
Starting 4 processes
Jobs: 4 (f=4): [m(4)] [100.0% done] [91776KB/98.90MB/0KB /s] [1434/1582/0 iops] [eta 00m:00s]
job1: (groupid=0, jobs=4): err= 0: pid=19442: Thu Sep 17 07:26:58 2020
  read : io=11539MB, bw=98457KB/s, iops=1538, runt=120011msec
    slat (usec): min=3, max=22242, avg=1300.27, stdev=2360.83
    clat (msec): min=5, max=145, avg=81.43, stdev=24.11
     lat (msec): min=5, max=152, avg=82.73, stdev=24.51
    clat percentiles (msec):
     |  1.00th=[   31],  5.00th=[   40], 10.00th=[   42], 20.00th=[   75],
     | 30.00th=[   80], 40.00th=[   81], 50.00th=[   83], 60.00th=[   84],
     | 70.00th=[   86], 80.00th=[   89], 90.00th=[  122], 95.00th=[  127],
     | 99.00th=[  133], 99.50th=[  137], 99.90th=[  141], 99.95th=[  143],
     | 99.99th=[  143]
  write: io=11560MB, bw=98639KB/s, iops=1541, runt=120011msec
    slat (usec): min=4, max=25342, avg=1291.70, stdev=2327.35
    clat (msec): min=6, max=149, avg=82.22, stdev=24.13
     lat (msec): min=6, max=162, avg=83.51, stdev=24.52
    clat percentiles (msec):
     |  1.00th=[   32],  5.00th=[   41], 10.00th=[   42], 20.00th=[   76],
     | 30.00th=[   80], 40.00th=[   83], 50.00th=[   84], 60.00th=[   85],
     | 70.00th=[   87], 80.00th=[   89], 90.00th=[  123], 95.00th=[  127],
     | 99.00th=[  135], 99.50th=[  139], 99.90th=[  141], 99.95th=[  143],
     | 99.99th=[  145]
    lat (msec) : 10=0.30%, 20=0.23%, 50=15.56%, 100=68.69%, 250=15.21%
  cpu          : usr=0.42%, sys=0.67%, ctx=126751, majf=0, minf=47
  IO depths    : 1=0.1%, 2=0.1%, 4=0.1%, 8=0.1%, 16=0.1%, 32=0.1%, >=64=99.9%
     submit    : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
     complete  : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.1%, >=64=0.0%
     issued    : total=r=184623/w=184966/d=0, short=r=0/w=0/d=0, drop=r=0/w=0/d=0
     latency   : target=0, window=0, percentile=100.00%, depth=64

Run status group 0 (all jobs):
   READ: io=11539MB, aggrb=98456KB/s, minb=98456KB/s, maxb=98456KB/s, mint=120011msec, maxt=120011msec
  WRITE: io=11560MB, aggrb=98639KB/s, minb=98639KB/s, maxb=98639KB/s, mint=120011msec, maxt=120011msec

Disk stats (read/write):
  nvme0n1: ios=184516/185735, merge=0/28, ticks=2631028/2740840, in_queue=5253412, util=99.85%

[ec2-user@ip-10-0-2-127 ~]$ fio randomreadwrite.fio
job1: (g=0): rw=randrw, bs=64K-64K/64K-64K/64K-64K, ioengine=libaio, iodepth=64
...
fio-2.14
Starting 4 processes
Jobs: 4 (f=4): [m(4)] [100.0% done] [95680KB/97088KB/0KB /s] [1495/1517/0 iops] [eta 00m:00s]
job1: (groupid=0, jobs=4): err= 0: pid=25115: Thu Sep 17 07:26:51 2020
  read : io=11545MB, bw=98510KB/s, iops=1539, runt=120012msec
    slat (usec): min=3, max=17234, avg=1297.68, stdev=2674.65
    clat (msec): min=7, max=153, avg=81.32, stdev=29.70
     lat (msec): min=11, max=153, avg=82.62, stdev=30.19
    clat percentiles (msec):
     |  1.00th=[   22],  5.00th=[   39], 10.00th=[   41], 20.00th=[   43],
     | 30.00th=[   76], 40.00th=[   81], 50.00th=[   84], 60.00th=[   85],
     | 70.00th=[   87], 80.00th=[  116], 90.00th=[  126], 95.00th=[  128],
     | 99.00th=[  137], 99.50th=[  139], 99.90th=[  143], 99.95th=[  143],
     | 99.99th=[  145]
  write: io=11576MB, bw=98771KB/s, iops=1543, runt=120012msec
    slat (usec): min=4, max=14891, avg=1293.32, stdev=2669.37
    clat (msec): min=7, max=147, avg=82.17, stdev=29.79
     lat (msec): min=11, max=157, avg=83.46, stdev=30.26
    clat percentiles (msec):
     |  1.00th=[   29],  5.00th=[   40], 10.00th=[   42], 20.00th=[   43],
     | 30.00th=[   77], 40.00th=[   82], 50.00th=[   84], 60.00th=[   85],
     | 70.00th=[   88], 80.00th=[  118], 90.00th=[  127], 95.00th=[  130],
     | 99.00th=[  139], 99.50th=[  141], 99.90th=[  143], 99.95th=[  145],
     | 99.99th=[  145]
    lat (msec) : 10=0.01%, 20=0.89%, 50=23.59%, 100=51.93%, 250=23.59%
  cpu          : usr=0.33%, sys=0.52%, ctx=125913, majf=0, minf=43
  IO depths    : 1=0.1%, 2=0.1%, 4=0.1%, 8=0.1%, 16=0.1%, 32=0.1%, >=64=99.9%
     submit    : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
     complete  : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.1%, >=64=0.0%
     issued    : total=r=184724/w=185214/d=0, short=r=0/w=0/d=0, drop=r=0/w=0/d=0
     latency   : target=0, window=0, percentile=100.00%, depth=64

Run status group 0 (all jobs):
   READ: io=11545MB, aggrb=98509KB/s, minb=98509KB/s, maxb=98509KB/s, mint=120012msec, maxt=120012msec
  WRITE: io=11576MB, aggrb=98770KB/s, minb=98770KB/s, maxb=98770KB/s, mint=120012msec, maxt=120012msec

Disk stats (read/write):
  nvme0n1: ios=184602/186431, merge=0/31, ticks=3306872/3429952, in_queue=6620356, util=99.91%


Dynamic table name

One question, how can I make the table name dynamic? I have tried db.table ( "table-name"). Get (id) ...
Ex.
Var tableName="customers"
I need db.table(tableName).get(id) OR db.table(tableName).add(obj) ,.... for example, is possible???
Thank you very much

Yes you can call db.table(tableName). It's all in the docs. The list of tables that you can access is defined in the schema in db.version(x).stores() and those cant just change without closing the database, reopening it and redefine the schema. Please read the docs and samples.

I just tried in 2.0.0-beta to setup a dyanmic lazy-load for tables and kept getting an ErrorNotFound. I was a little drunk so I spent a few hours trying to figure out what it was doing, and it's not clear that after the initial setup, that new tables will be created. the basic rewrite/reload was:
db = null
db = new Dexie('db')
Object.assign(schemas, newschemas)
  db
    .version(dbVersion)
    .stores(schemas)

I even tried mocking and upgrade. As far as I can tell, this code was running prior to trying to put on the database, and I kept getting NotFoundError.


Added Django 2.2, 3.0 to testing matrix; removed Python 3.4

Coverage remained the same at 100.0% when pulling 1d53990f5298edab95a3d5ad838d492c908f9149 on dakrauth:django22 into 69d73bf60cf791f006e3a32bc7fee2cd322de8d9 on charettes:master.

Thanks for the patch @dakrauth!
Looks like you'll need to bump dist to a newer version to use more recent Python versions.
You could also switch to tox-travis to generate the matrix
Here's an example of that https://github.com/charettes/django-seal/blob/master/.travis.yml

@charettes I've added Django 3.1 to the mix and have fix the Travis test runs. Sorry for the delay.

Awesome thanks @dakrauth!


Typo fix

Hey, thanks for your contribution @kandros, Bruce already committed that typo so I will close the PR.


rubberband: 1.8.2 -> 1.9.0.

Motivation for this change
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[x] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

This is a semi-automatic executed nixpkgs-review which does not build all packages (e.g. lumo, tensorflow or pytorch)
If you find some bugs or got suggestions for further things to search or run please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 108576 run on x86_64-linux 1

1 package failed to build and are new build failure:

plex-media-player: log was empty

32 packages built:

ardour
ardour_5
celluloid
curseradio
denemo
haskellPackages.rubberband
jellyfin-mpv-shim
jftui
minitube
mixxx
mpc-qt
mpv
mpv-unwrapped
mpvScripts.mpris
muse
plex-mpv-shim
pulseeffects
python37Packages.mpv
python38Packages.mpv
python39Packages.mpv
qimgv
qtractor
rubberband
samplv1
somafm-cli
sonic-lineup
sonic-visualiser
sooperlooper
sublime-music
tony
tuijam
zam-plugins

This is a semi-automatic executed nixpkgs-review which does not build all packages (e.g. lumo, tensorflow or pytorch)
If you find some bugs or got suggestions for further things to search or run please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 108576 run on x86_64-linux 1

1 package failed to build and are new build failure:

plex-media-player: log was empty

32 packages built:

ardour
ardour_5
celluloid
curseradio
denemo
haskellPackages.rubberband
jellyfin-mpv-shim
jftui
minitube
mixxx
mpc-qt
mpv
mpv-unwrapped
mpvScripts.mpris
muse
plex-mpv-shim
pulseeffects
python37Packages.mpv
python38Packages.mpv
python39Packages.mpv
qimgv
qtractor
rubberband
samplv1
somafm-cli
sonic-lineup
sonic-visualiser
sooperlooper
sublime-music
tony
tuijam
zam-plugins


fix(vuehook): prevent warning when call use hook outside component in VueHook

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


enh(java) Add support for text block

https://docs.oracle.com/javase/specs/jls/se15/html/jls-3.html#jls-TextBlock
Changes
Adds highlight for Java(15~) Text Block.

Please also add changelog and a markup test.

Please see failling tests, the markup results must be HTML escaped.  This might help:
https://github.com/highlightjs/highlight.js/blob/main/test/markup/index.js#L32

@Teletha Thanks so much for contribution!


Add string for Leaf2

Verified by decrypting an upx.

Hi, my Leaf2 aslo have a modle "Leaf2_P", maybe related to product in China homeland

Hi, my Leaf2 aslo have a modle "Leaf2_P", maybe related to product in China homeland!

There are two models named "Leaf2". The MODEL string of his one is Leaf2_P, and MODEL string of the other one is Leaf2(#47). I don't know the difference of these two Leaf2.
Using the method in https://github.com/Hagb/decryptBooxUpdateUpx/issues/2#issuecomment-704006389 to get the update information of these two variants, I found that:

Information in English of Leaf2 exists: http://data.onyx-international.cn/api/firmware/update?where={"buildNumber":0,"buildType":"user","deviceMAC":"","lang":"en_US","model":"Leaf2","submodel":"","fingerprint":""}
Information in Chinese of Leaf2 doesn't exist: http://data.onyx-international.cn/api/firmware/update?where={"buildNumber":0,"buildType":"user","deviceMAC":"","lang":"zh_CN","model":"Leaf2","submodel":"","fingerprint":""}
Information in English of Leaf2_P not exists: http://data.onyx-international.cn/api/firmware/update?where={"buildNumber":0,"buildType":"user","deviceMAC":"","lang":"en_US","model":"Leaf2_P","submodel":"","fingerprint":""}
Information in English of Leaf2_P not exists: http://data.onyx-international.cn/api/firmware/update?where={"buildNumber":0,"buildType":"user","deviceMAC":"","lang":"zh_CN","model":"Leaf2_P","submodel":"","fingerprint":""}

Probably just as @crackself said, Leaf2_P is a China Mainland variant.

Could anyone else has a Leaf2 tell us

Whether your Leaf2 was bought in China Mainland?
What is the MODEL string of your Leaf2? (You can use apk from https://github.com/Hagb/GetBooxUpxKeysApp/releases or run command adb shell getprop ro.product.model to get the MODEL string.)

Purchased in USA, my model is "Leaf2"

I purchased 2 versions of Leaf2: Back and White. Both were bought from the official store at boox.com.
The white version was shipped from China: Hong Kong / White Edition (To Be Shipped Around Nov 6).
Black version was shipped from the US warehouse: US / Black Edition.
Both have the same keys: https://github.com/Hagb/decryptBooxUpdateUpx/pull/47.

My Leaf2_P was purchased in mainland CN on release day.
BTW, mainland CN doesn't sell a white variant (yet), so the above HK white could well be commonized with INTL.

@Hagb  Please find below strings and fingerprint for Leaf2 (white) which is officially imported in South Korea.
(To avoid any mistypo or confusion, attached upx key extraction result screenshot.)
"MODEL" = "Leaf2",
"STRING_SETTINGS" = "okRZqgfOHft/Y5jHx1N0ECjqrc/Op/nADFj2uL7Jbuxq",
"STRING _UPGRADE" = "10Na33u5HfsCVHqjtwLrwACOW+2cz5MSnXUogONCTd9c"
# fingerprint: Onyx/Leaf2/Leaf2:11/2022-11-22_10-20_3.3.1_e4f27d41a/1824:user/dev-keys

Also please be noted I am wandering with below unicode decoding exception.
Description

As per the newest firmware information from the API presents "updatedAt":"2022-10-31T10:18:51.093Z", I used update.upx of 2022-11-14_16-04_3.3.1_41f225958 which is the most recent one I could get.
Inserted below JSON string on the line 208 of DeBooxUpx.py according to the instruction as you mentioned.'Leaf2': {
    "MODEL": "Leaf2",
    "STRING_SETTINGS": "okRZqgfOHft/Y5jHx1NOECjqrc/Op/nADFj2uL7Jbuxq",
    "STRING_UPGRADE": "10Na33u5HfsCVHqjtwLrwACOW+2cz5MSnXUogONCTd9c"
}

While executing the command python DeBooxUpx.py Leaf2, I faced following UnicodeDecodeError

Traceback (most recent call last):
File "DeBooxUpx.py", line 274, in
decrypter = DeBooxUpx(**boox_strings[device_name])
File "DeBooxUpx.py", line 226, in init
self.decryptStr(tmpKey, STRING_SETTINGS))
File "DeBooxUpx.py", line 233, in decryptStr
return cipher.decrypt(b64decode(string)).decode().strip()
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xfb in position 16: invalid start byte
```
Encryption and Hashing is out of my knowledge but something what I've got is, it happened with / on my STRING_SETTINGS.

Decrypted binary code with Base64 is b'4131D58DC6CB5D\x025\xfbn\x98\xf3\xaeg\x0f>576CAB16\n in this case.
Before feeding UPX Steram, working good with usual MD5 instead of my "STRING_SETTINGS"

...add explanation of this -cn suffix? (Just like -ru suffix)

Just noticed the explanation part, will append later.

Thank you and everyone who provided the information!


Support for pornhubpremium.com doesn't work

Checklist

[x] I'm reporting a broken site support
[x] I've verified that I'm running youtube-dl version 2020.03.08
[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

Verbose log

$ youtube-dl --verbose --cookies cookies.txt https://es.pornhubpremium.com/view_video.php?viewkey=ph5d33466facbac
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--verbose', u'--cookies', u'cookies.txt', u'https://es.pornhubpremium.com/view_video.php?viewkey=ph5d33466facbac']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2020.03.08
[debug] Python version 2.7.10 (CPython) - Darwin-15.6.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 4.2.2, ffprobe 4.2.2, rtmpdump 2.4
[debug] Proxy map: {}
[PornHub] ph5d33466facbac: Downloading pc webpage
ERROR: Unable to extract title; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 797, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 530, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/pornhub.py", line 206, in _real_extract
    webpage, 'title', group='title')
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 1014, in _html_search_regex
    res = self._search_regex(pattern, string, name, default, fatal, flags, group)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 1005, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract title; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Description

Support for pornhubpremium.com doesn't work. Cookies added tried with multiple videos and same result. ERROR: Unable to extract title;

You must provide account credentials/cookies.

You must provide account credentials/cookies.

Both cookies & credentials? Because he obviously did provide a cookie

Only cookies should work, given the correct cookie format etc.


Update Travis CI configuration.

At the moment, Travis CI just tests PHP 5.3 and 5.4. Versions up to 7.1 and HHVM should be tested, too.

With the silex2 migration, PHP testing had to be promoted to version 5.5.9 at minimum.
Nonetheless, one can easily add newer PHP versions, I guess.
See PR #12 and issue #4

Not required anymore, as we're moving back to upstream (see #42). Upstream did already update the required PHP versions.


chore: remove use_deterministic_algorithms=True since it causes cuda errors

Description
It looks like setting torch.use_deterministic_algorithms(True) in tests causes errors on CUDA >= 10.2. This setting isn't actually necessary for our tests, so this PR removes that option from the reproducability fixture.
Fixes #136
Type of change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist:

[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] I have not rewritten tests relating to key interfaces which would affect backward compatibility

You have tested formatting, typing and unit tests (acceptance tests not currently in use)

[x] I have run make check-ci to check format and linting. (you can run make format to format code if needed.)

merging as this should be pretty uncontroversial

this doesn't seem terrible, but why this as opposed to setting the environment variable?

Setting the env var seems like it would be reasonable too, especially if there's a way to set it in code without any intervention by users. I just figured it was safest to remove the line, but if you find a way to set the env var in, e.g., conftest and have everything just work I'd be OK with adding the line back. I'm not as familiar with these CUBLAS settings, but I'd also worry about potentially impacting performance on benchmark tests, although it's likely not a huge deal


Isso response is very slow

I'm using a quite cheap server.. nevertheless the cpu utilization is very low:

sadly, querying the comments of a page is extremely slow (total count of comments is less than 10):

(It states a response time of 60s)
Is there something i could test to find the source of this problem?
Edit:
I tried curl <IP_ADDRESS>:8001/admin and it timed out several times, but then suddenly worked as fast as it should.

I don't think there is anything isso does that would explain such delays, it's probably a badly overbooked VM host.

I don't think there is anything isso does that would explain such delays, it's probably a badly overbooked VM host.

Isso always responds in under 0.001s for me. Have you tried using the profile option to trace the issue?

Thank you very much. I found the issue. The issue came from werkzeug https://werkzeug.palletsprojects.com/en/1.0.x/serving/#troubleshooting . I tried to use the wrong interface.
Sorry for not coming back to close it.


refactor: Move Status Mappings into a Manager

Codecov Report

Merging #22 (1c6a501) into main (db50383) will increase coverage by 1.58%.
The diff coverage is 78.80%.

@@            Coverage Diff             @@
##             main      #22      +/-   ##
==========================================
+ Coverage   80.40%   81.99%   +1.58%
==========================================
  Files          14       15       +1
  Lines         638      733      +95
==========================================
+ Hits          513      601      +88
- Misses        125      132       +7

Impacted Files
Coverage Δ

webapp/models.py
91.17% <ø> (+1.56%)
:arrow_up:

webapp/repositories.py
91.89% <ø> (ø)

webapp/app.py
70.58% <25.00%> (+0.58%)
:arrow_up:

webapp/views.py
56.86% <42.85%> (+11.40%)
:arrow_up:

webapp/dto.py
82.81% <82.81%> (ø)

webapp/managers.py
63.30% <82.85%> (+27.13%)
:arrow_up:

webapp/api.py
98.11% <94.11%> (-0.52%)
:arrow_down:

webapp/worker.py
83.05% <100.00%> (+0.29%)
:arrow_up:

webapp/utils.py
96.29% <0.00%> (+14.81%)
:arrow_up:

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


Correct use of IHttpContextAccessor

Hello,
We faced an issue with signing out with AzureAd. Causing the following exception in the HttpContextExtensions.cs in the GetIdentityServerUserInfoAsync method.
We also changed the AuthenticationHandler to match the rest of the code base. And we believe this is the correct way to use the IHttpContextAccessor
An unhandled exception has occurred: Value cannot be null.
Parameter name: provider System.ArgumentNullException: Value cannot be null.

For debugging purposes we added this and noticed that the following objects were not equal.
private readonly HttpContext _context;
private readonly IdentityServerOptions _options;
private readonly IHttpContextAccessor _accessor;

public DefaultSessionIdService(IHttpContextAccessor context, IdentityServerOptions options)
{
    _accessor = context;
    _context = context.HttpContext;
    _options = options;
}

public async Task<string> GetCurrentSessionIdAsync()
{
    var c1 = _accessor.HttpContext;
    var c2 = _context;
    var equal = Equals(c1, c2);

    var info = await _context.GetIdentityServerUserInfoAsync();
    if (info.Properties.Items.ContainsKey(OidcConstants.EndSessionRequest.Sid))
    {
        var sid = info.Properties.Items[OidcConstants.EndSessionRequest.Sid];
        return sid;
    }
    return null;
}

Most of the credits go to @henkmollema

Hi @user1336, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla2.dotnetfoundation.org.

TTYL, DNFBOT;

@user1336, Thanks for signing the contribution license agreement so quickly! Actual humans will now validate the agreement and then evaluate the PR.
Thanks, DNFBOT;

Thanks -- we meant to migrate all code to that style, but I guess we missed this one.


Could not install: Cannot find method 'symtable' on object of type GLOBAL

# perl6 -v
This is Rakudo version 2017.01 built on MoarVM version 2017.01
implementing Perl 6.c.

# zef install if
===> Searching for: if
===> Testing: if:ver('0.1.0'):auth('github:FROGGS')
t/if.t ..1/5===SORRY!===
Cannot find method 'symtable' on object of type GLOBAL
# Looks like you planned 5 tests, but ran 1
t/if.t .. All 5 subtests passed
All tests successful.

Test Summary Report
-------------------
t/if.t (Wstat: 0 Tests: 1 Failed: 0)
  Parse errors: Bad plan.  You planned 5 tests but ran 1.
Files=1, Tests=1,  0 wallclock secs
Result: FAILED
===> Testing [FAIL]: if:ver('0.1.0'):auth('github:FROGGS')
Aborting due to test failure: if:ver('0.1.0'):auth('github:FROGGS') (use --force to override)
  in code  at /usr/share/perl6/site/sources/1DC0BAA246D0774E7EB4F5119C6168E0D8266EFA (Zef::Client) line 306
  in method test at /usr/share/perl6/site/sources/1DC0BAA246D0774E7EB4F5119C6168E0D8266EFA (Zef::Client) line 285
  in code  at /usr/share/perl6/site/sources/1DC0BAA246D0774E7EB4F5119C6168E0D8266EFA (Zef::Client) line 457
  in sub  at /usr/share/perl6/site/sources/1DC0BAA246D0774E7EB4F5119C6168E0D8266EFA (Zef::Client) line 454
  in method install at /usr/share/perl6/site/sources/1DC0BAA246D0774E7EB4F5119C6168E0D8266EFA (Zef::Client) line 560
  in sub MAIN at /usr/share/perl6/site/sources/A9948E7371E0EB9AFDF1EEEB07B52A1B75537C31 (Zef::CLI) line 123
  in block <unit> at /usr/share/perl6/site/resources/3DD33EF601FD300095284AE7C24B770BAADAF32E line 1

The following fixes the original error, which I think is how you're meant to do the slang mixing in the new braids update (though TimToady did it differently elsewhere).
However, the tests still fail, with this update.
diff --git a/lib/if.pm b/lib/if.pm
index 88a5e90..12e1cac 100644
--- a/lib/if.pm
+++ b/lib/if.pm
@@ -41,7 +41,9 @@ sub EXPORT(|) {
         }
     }

-    $*W.HOW.mixin($*W, BetterWorld);
+    my $grammar := %*LANG<MAIN>.^mixin(BetterWorld);
+    try %*LANG<MAIN> := $grammar; # old way
+    try $*LANG.define_slang('MAIN', $grammar, $*LANG.actions); # new way

     { }
 }

Found this as well in my survey of all failing packages. Subscribing here.

Fix PRed: https://github.com/FROGGS/p6-if/pull/3


Add chaincode-decoded-bech32m review to chaincode-labs/chaincode-podcast

This PR adds chaincode-decoded-bech32m transcript review to the chaincode-labs/chaincode-podcast directory.

Amazing work @varmur! I pushed some minor fixups and is now ready to merge.


Support k8s 1.16.1 as experimental

Tested with latest build from master.
Able to bring up RKE cluster using version K8s version 1.16.1. Automation run on this cluster did not show any new issues.

Verified on rancher:v2.3.0-rc10

k8s v1.16.1-rancher1-1 is available

**Verified on master-head latest **

Able to bring up windows cluster - 1903 with k8s v1.16.1-rancher1-1
Verified - Workload deployment, ingress, node port, curl on workloads work