Firmware source code?

Is the firmware from https://github.com/c0pperdragon/A-VideoBoard.git usable directly out of the box? I don't understand where the code to build the Quartus project for this board is.. Thanks in advance, great work! Sorry to see shortage of circuits puts eveything to a halt, but lets it's getting better.

Ho to the subfolder for

Should not use github from a mobile...
Anyway, go to the subfolder for the C64 mod. Thetr is the Quartier project.

Thank you! I got 95% usage when building it in latest Quartus, that is a great Device/Project match! :-)

Yes it is a tight fit. Had to restructure the firmware a few times along the way to stay inside the bounds.


1.12.0.rc: cannot install omniauth-google-oauth2 0.4.1 using new index

I noticed this in a real project, but was able to reproduce it in a new project: installing omniauth-google-oauth2 0.4.1 fails with "Could not find omniauth-google-oauth2-0.4.1 in any of the sources"
I notice that this was just released in the last day, so it could be an issue propagating to the new index? https://rubygems.org/gems/omniauth-google-oauth2/versions/0.4.1
There are full reproduction steps including output at https://gist.github.com/TimMoore/34c6fcd9795b4904602b

As you can see in the gist, the problem disappeared with --full-index, but I couldn't find a flag to force 1.12 to use the API rather than the compact index.

Can confirm that 0.4.1 is not present: http://index.rubygems.org/info/omniauth-google-oauth2

On a tip from @indirect, I tried bypassing the Fastly cache, and that also fixes it:
$ sed -e 's/rubygems.org/bundler.rubygems.org/' -i .bak Gemfile
$ head -n2 Gemfile
# A sample Gemfile
source "https://bundler.rubygems.org"
$ rm -rf .bundle/gems
$ bundle install --quiet
$?
0

This was fixed by https://github.com/bundler/bundler-api/issues/132 and expiring the new index files on fastly.


Bump elliptic from 6.5.3 to 6.5.4

Bumps elliptic from 6.5.3 to 6.5.4.

Release notes
Commits

Signed-off-by: dependabot[bot]

@armab @blag Don't we also need to update the dependency in package.json? It's still 6.5.3 in there?

@amanda11 Good catch, I think. Dependabot doesn't seem to update package.json files at all though (#864), and neither does renovate (#865).
When I try to get yarn to update package.json itself, something goes wrong:
yarn upgrade<EMAIL_ADDRESS># yarn upgrade v0.24.5
# [1/4] 🔍  Resolving packages...
# warning @stackstorm/app-inquiry ><EMAIL_ADDRESS>This module has moved and is now available at @hapi/cryptiles. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.
# warning @stackstorm/module-api ><EMAIL_ADDRESS>This module has moved and is now available at @hapi/cryptiles. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.
# warning @stackstorm/app-inquiry ><EMAIL_ADDRESS>request has been deprecated, see https://github.com/request/request/issues/3142
# warning @stackstorm/st2-build ><EMAIL_ADDRESS>gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
# warning @stackstorm/app-inquiry > request ><EMAIL_ADDRESS>this library is no longer supported
# warning @stackstorm/app-inquiry > cryptiles ><EMAIL_ADDRESS>This module has moved and is now available at @hapi/boom. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.
# warning @stackstorm/app-inquiry > cryptiles > boom ><EMAIL_ADDRESS>This module has moved and is now available at @hapi/hoek. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.
# [2/4] 🚚  Fetching packages...
# error<EMAIL_ADDRESS>The engine "node" is incompatible with this module. Expected version "^8.10.0 || ^10.13.0 || >=11.10.1".
# error Found incompatible module
# info Visit https://yarnpkg.com/en/docs/cli/upgrade for documentation about this command.

And the same thing happens when I update package.json by hand and then run yarn install:
yarn install
# yarn install v0.24.5
# [1/4] 🔍  Resolving packages...
# warning @stackstorm/app-inquiry ><EMAIL_ADDRESS>This module has moved and is now available at @hapi/cryptiles. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.
# warning @stackstorm/module-api ><EMAIL_ADDRESS>This module has moved and is now available at @hapi/cryptiles. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.
# warning @stackstorm/app-inquiry ><EMAIL_ADDRESS>request has been deprecated, see https://github.com/request/request/issues/3142
# warning @stackstorm/st2-build ><EMAIL_ADDRESS>gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
# warning @stackstorm/app-inquiry > cryptiles ><EMAIL_ADDRESS>This module has moved and is now available at @hapi/boom. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.
# warning @stackstorm/app-inquiry > request ><EMAIL_ADDRESS>this library is no longer supported
# warning @stackstorm/app-inquiry > cryptiles > boom ><EMAIL_ADDRESS>This module has moved and is now available at @hapi/hoek. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.
# [2/4] 🚚  Fetching packages...
# error<EMAIL_ADDRESS>The engine "node" is incompatible with this module. Expected version "^8.10.0 || ^10.13.0 || >=11.10.1".
# error Found incompatible module
# info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

I'm not a JS dev, so I don't know how to fix this.
I guess I'll push my hand edited package.json and see if it breaks the tests for this?

That seems to be the only thing required for the previous updates:
https://github.com/StackStorm/st2web/pull/854
Note that that PR did not update yarn.lock, that was handled in https://github.com/StackStorm/st2web/pull/857.

@blag

# error<EMAIL_ADDRESS>The engine "node" is incompatible with this module. Expected version "^8.10.0 || ^10.13.0 || >=11.10.1".

Sounds like you, personally, are running an old version of node.js. Double check what version you have installed?


add parameters for dry-run deployment

so that we can test the NB deployment without Nuvla

no need anymore as we were able to implement an integration test via travis


Fix velux set_cover_position command

Breaking Change:
Description:
Fixes the cover.set_cover_position service for velux windows.
Checklist:

[x] The code change is tested and works locally.
[x] Local tests pass with tox. Your PR cannot be merged unless tests pass
[x] There is no commented out code in this PR.
[x] I have followed the development checklist

If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.io

If the code communicates with devices, web services, or third-party tools:

[ ] The manifest file has all fields filled out correctly. Update and include derived files by running python3 -m script.hassfest.
[ ] New or updated dependencies have been added to requirements_all.txt by running python3 -m script.gen_requirements_all.
[ ] Untested files have been added to .coveragerc.

If the code does not interact with devices:

[x] Tests have been added to verify that the new code works.

How and why does this fixes it ?

@kbickar  @Godtoh you did some checking on this integration before, would this make sense ?

Looking at the json HA receives from the tahoma, SetPosition command does not exist for velux. This version is running at home as a custom component and works like a charm.

Might be working for Velux, however the function is missing something....
elif self.tahoma_device.type == "io:WindowOpenerVeluxIOComponent":
self.apply_action("setClosure", 100 - kwargs.get(ATTR_POSITION))
I think it should be:
    elif self.tahoma_device.type == "io:WindowOpenerVeluxIOComponent":
        self.apply_action("setClosure", 100 - kwargs.get(ATTR_POSITION, 0))

This PR seems to have gone stale. Closing it.


Docs: Troubleshooting Guide

The basic usage guide contains a quick and straight forward run through. It is assumed that everything works out well.
However this might not always be the case. So the Troubleshooting Guide should fill the gap and assist in figuring out whats wrong.


Documentation settings list has numbers in it

Describe the bug

To Reproduce
https://devenv.sh/reference/options/
Version

cc @sandydoo

@domenkozar, it looks correct when I run the docs locally. There was a plugin I added to escape those carets correctly. Maybe the docs site needs to be updated manually?

Deployed to cloudflare to mimic the production setup. LGTM: https://devenv.sandydoo.me/reference/options/index.html

Any update on timeline? It's pretty difficult to use the reference documentation in its current state because of this.

As a per-session workaround, I can run the following in browser console to make things readable:
document.querySelectorAll('.md-ellipsis').forEach((el) => {
  const text = el.innerHTML
    el.innerHTML = text.replaceAll(/.46./g, '.')
})


Redirect logs to std for mac

Added redirect logs to StdErr & StdOut

Coverage remained the same at 14.417% when pulling 6fa660411223975cc474e77456675cc4d9064cee on lueurxax:master into 4df36c9fc1c6ac86231851ad6fa5627e184c94e5 on kardianos:master.


[WIP] Support hb-draw style walking of glyf pointstreams that start with an off-curve

See problem #2 noted in https://github.com/googlefonts/mimir/pull/3

FWIW, hb-draw behavior is consistent with fonttools PointToSegmentPen, which similarly finds the first on-curve point and rotates the point list so that the moveTo happens on it, and any leading off-curves are pushed to the last curve segment.
And since you're touching this critical piece of code, please make sure you keep the current behavior in skrifa (which matches FontTools BasePen) for those special TrueType all-quad-off-curve contours (where there aren't any on-curve points to rotate), which is to set the moveTo to the midpoint between the first and last off-curve points. There's probably already a test for that.

hb-draw behavior is consistent with fonttools PointToSegmentPen

I'm curious, was there any particular reason to make that choice vs probing the end as FreeType does?

I have no idea, the code in ufoLib.pointPen is very old, maybe Just or Tal know. It doesn't really matter in the end, both ways are valid.

make sure you keep the current behavior in skrifa (which matches FontTools BasePen) for those special TrueType all-quad-off-curve contours (where there aren't any on-curve points to rotate), which is to set the moveTo to the midpoint between the first and last off-curve points

Good point, I'll confirm there is a test or add one.


[Lint] Run clang-format for protobuf

There seems to be no formatting for protobuf right now, so add them to the CI workflow.
There are some existing lint issues, e.g. proto enums should start with a UNSPECIFIED / NOT_SET tag at 0. This can be fixed in a subsequent PR if people agree with them. Then proto linting can be enabled.
Also, switch to super-linter which has support for all existing linters, and can hopefully reduce effort for adding linters in future.

No problem, and thanks!


schema is updated, import new schema(loskollab.sql) in localhost

INCLUDE ALL NECESSARY FIELDS AND DELETE FIELDS THAT ARE NOT NECESSARY.
Description
Here is change for schema (leskolab.sql) and index.php and post-project
improve the schema (add new relation in SQL ) solve #18 issue
You should import the new file leskolab.sql in localhost
here is the old stacks in schema

After changes
here the stack table

also the relation between stack and project

The code has some bugs for example the variables have not been declared properly. Here is an example:

please can you clear more which variables have not been declared properly

@Raghad-Khaled Could you please add a video demonstrating how the changes made by you is working. It would be easy for us to review.

https://user-images.githubusercontent.com/60848147/113482140-8493ff00-949d-11eb-89db-c3902be10828.mp4
@sakshi300699
@rupeshmohanty
now I think it is clear and I hope it my PR accepted :)

@Raghad-Khaled I don't see any difference in the output except the database configuration. How is the new configuration better than the previous one?

@rupeshmohanty
The previous configuration on Relation Project is not in 1NF (First-Normal-Form) because of multi-valued attribute tags
and in the article in the link show my opinion
https://www.geeksforgeeks.org/first-normal-form-1nf/
as the database schema should be normalized.

@Raghad-Khaled
This branch has some issues. Please fix them

@rupeshmohanty
do you mean schema branch
and what issues should be fixed?

@Raghad-Khaled you need to fix the conflict in this branch that you have created, otherwise this PR wouldn't be able to be merged.

@sakshi300699
Okay, now conflicts is fixed
thank you ^^


HTML in Cards

It would be great to be able to format text in the 'text' attribute. Maybe even complexer structures like tables would become useful. Is it possible to enter html-Blocks into the text-attribute and render it?

@pintman closing this issue, since we're re-writing PyperCard in PyScript, making (underneath) the default UI  specification language as HTML. 😄

Sounds great. 😀


Allow song exporting as audio "stems"

As seen in this commit (web link here).
Would likely involving threading somehow so freezing is kept to a minimum(?)

duplicate of #17, whoops


[Feature request] support custom cli command

Clear and concise description of the problem
It is expected that vuepress can support customized cli commands or parameters so that I can do some pre-processing before running dev or build mode, such as switching site configuration, etc
Suggested solution
examples: vuepress customDev sourceDir.
This command will execute the vuepress dev command after executing some of my custom logic
Alternative
No response
Additional context
Reference: https://cli.vuejs.org/dev-guide/plugin-dev.html#add-a-new-cli-service-command

You can add your own scripts and run before any vuepress command. I don't think there is any difference

You can add your own scripts and run before any vuepress command. I don't think there is any difference.
Furthermore, there are a lot differences between "It is expected" and "You are expecting"

Thanks for your reply.
I just found the usage of createDev in the source code, it can solve my problem.
I am using a translator to translate my mother tongue, so...


[FLINK-16220][json] Fix JsonRowSerializationSchema cast exception due…

… to object reuse

What is the purpose of the change
Fix JsonRowSerializationSchema cast exception.
Brief change log
Add instantof before cast to avoid nested array/map/row cast exception.
Verifying this change
This change added tests and can be verified as follows:

JsonRowSerializationSchemaTest.testNestedSchema()

Does this pull request potentially affect one of the following parts:

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

Documentation

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

@wuchong Could you help to review this pr when you have time?

@flinkbot run travis

@wuchong Thanks for the review. I've addressed your comments.


sast-go: ignore return code of gosec

Gosec could return different return code than 0 which aborts
pipelinerun. Before there was 'tee' command used which hide this
problem.

LGTM


Set GOMAXPROCS from requests.limits.cpu

https://github.com/coreos/prometheus-operator/issues/501

What problem does this pull reuqest address?

Closing this, same as: https://github.com/coreos/prometheus-operator/issues/501#issuecomment-336888883


Rel 2019.t01a hotfix

Tests are passing, but jshint is failing. Which was the case before as well. This is fixed in the master branch. Hence, merging it.

Pull Request Test Coverage Report for Build 2744

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.02%) to 89.871%

Totals

Change from base Build 2675:
0.02%

Covered Lines:
8533

Relevant Lines:
9181

💛  - Coveralls


bot_proxy_service /my group returns log_group_id instead of group number

/my group command on slack return currently log_group_id of the group the user is present in. It should return the actual group number present in log_group table. Requires changes in both bot_server API and bot_server_proxy.

Fixed by returning the group_number. Check the Pull request for more details.
Hence closing the issue.


Use new slimmer images

I am running integration tests on this branch here:
https://github.com/saturncloud/release-images/actions/runs/572971607

With old images, but new snowflake reader: https://github.com/saturncloud/release-images/actions/runs/575069632

https://github.com/saturncloud/release-images/actions/runs/575800961

https://github.com/saturncloud/release-images/actions/runs/576023287

https://github.com/saturncloud/release-images/actions/runs/576036555

https://github.com/saturncloud/release-images/runs/1921838050

https://github.com/saturncloud/release-images/actions/runs/576204285

Ok last failures are in:
FAILED  examples-gpu/nyc-taxi/rf-rapids-dask.ipynb
FAILED examples-gpu/nyc-taxi-snowflake/rf-rapids-dask.ipynb

I think this is an outstanding bug on the cuml side: #3234
E           Wall time: 8.34 s
E           Num rows: 7658235, Size: 0.3063294 GB
E           ---------------------------------------------------------------------------
E           RuntimeError                              Traceback (most recent call last)
E           ~/project/examples/nyc-taxi/rf-rapids-dask-0071c22a-b099-49ff-a07a-b260d69e4dba.py in <module>
E               349 from cuml.dask.ensemble import RandomForestClassifier
E               350
E           --> 351 rfc = RandomForestClassifier(n_estimators=100, max_depth=10)
E               352
E               353
E
E           /srv/conda/envs/saturn/lib/python3.7/site-packages/cuml/dask/ensemble/randomforestclassifier.py in __init__(self, workers, client, verbose, n_estimators, random_state, seed, ignore_empty_partitions, **kwargs)
E               183             base_seed=random_state,
E               184             ignore_empty_partitions=ignore_empty_partitions,
E           --> 185             **kwargs)
E               186
E               187     @staticmethod
E
E           /srv/conda/envs/saturn/lib/python3.7/site-packages/cuml/dask/ensemble/base.py in _create_model(self, model_func, client, workers, n_estimators, base_seed, ignore_empty_partitions, **kwargs)
E                73         }
E                74
E           ---> 75         wait_and_raise_from_futures(list(self.rfs.values()))
E                76
E                77     def _estimators_per_worker(self, n_estimators):
E
E           /srv/conda/envs/saturn/lib/python3.7/site-packages/cuml/dask/common/utils.py in wait_and_raise_from_futures(futures)
E               152     """
E               153     wait(futures)
E           --> 154     raise_exception_from_futures(futures)
E               155     return futures
E               156
E
E           /srv/conda/envs/saturn/lib/python3.7/site-packages/cuml/dask/common/utils.py in raise_exception_from_futures(futures)
E               142     if errs:
E               143         raise RuntimeError("%d of %d worker jobs failed: %s" % (
E           --> 144             len(errs), len(futures), ", ".join(map(str, errs))
E               145             ))
E               146
E
E           RuntimeError: 3 of 3 worker jobs failed: Cannot pass output_type='mirror' in Base.__init__(). Did you forget to pass `output_type=self.output_type` to a child estimator? Currently `cuml.global_output_type==`mirror`, Cannot pass output_type='mirror' in Base.__init__(). Did you forget to pass `output_type=self.output_type` to a child estimator? Currently `cuml.global_output_type==`mirror`, Cannot pass output_type='mirror' in Base.__init__(). Did you forget to pass `output_type=self.output_type` to a child estimator? Currently `cuml.global_output_type==`mirror`

Running just examples-gpu to make sure that it's not a transient error: https://github.com/saturncloud/release-images/actions/runs/578354479

https://github.com/saturncloud/release-images/actions/runs/578859931

It passed!!

regarding https://github.com/saturncloud/examples/pull/95/#issuecomment-781373905 from talking with Ben today we came to the understanding that setting nthreads is not a well-supported part of rapids. So for the examples-gpu we are now setting nthreads to 1. That cleared up the error that I was seeing.

will merge when green.


[Storage] Clarify FAQ for Static Websites

This corrects a few details in the FAQ section for Azure Storage Static Websites.
Changes:

Remove the "Region Codes" nomenclature, as this is not an accurate description of the DNS zones used for Static Websites (which are not tied to regions)
Move the commentary on the index.html handling and public URL example to the section above, which already links to the right documentation for Finding a Website URL (via portal or the primaryEndpoints field).
Correct statement about firewalls: they are supported.
Correct statement about AAD auth: it is not supported

@ryanerdmann : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off

@tamram: I'm sorry - only the author of this article, @normesta, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.


Incorporate unity-scale-adjuster as an option for VR users

Project is at https://github.com/Raicuparta/unity-scale-adjuster.

This adjusts camera scale in VR in Unity.  The problem is it doesn't work with olmod.  So, let's figure out what it does, and just add it as an option for VR users.

So I've attempted this and, on SteamVR, can only get the cockpit to do a really weird scaling thing.  Apparently Yoshimitsu also had this problem with unity-scale-adjuster in vanilla Overload as well.  I've committed the code for the mod, but commented out the section in the console where I was enabling it.


:robot: Update dependabot.yml

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

Comparison is base (21924d3) 99.45% compared to head (e3cc57f) 99.45%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master      #37   +/-   ##
=======================================
  Coverage   99.45%   99.45%
=======================================
  Files          38       38
  Lines        1821     1821
=======================================
  Hits         1811     1811
  Misses         10       10

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


cuda execution failed with error 2  in SECOND

could anyone help me...
when I was running ./tools/train.py configs/second/hv_second_secfpn_6x8_80e_kitti-3d-car.py
the error occured as following:
Traceback (most recent call last):
File "/home/xxx/.pycharm_helpers/pydev/pydevd.py", line 1477, in _exec
pydev_imports.execfile(file, globals, locals)  # execute the script
File "/home/xxx/.pycharm_helpers/pydev/_pydev_imps/_pydev_execfile.py", line 18, in execfile
exec(compile(contents+"\n", file, 'exec'), glob, loc)
File "/home/xxx/workspace/mmlab/mmdetection3d/tools/train.py", line 224, in
main()
File "/home/xxx/workspace/mmlab/mmdetection3d/tools/train.py", line 213, in main
train_model(
File "/home/xxx/workspace/mmlab/mmdetection3d/mmdet3d/apis/train.py", line 28, in train_model
train_detector(
File "/home/xxx/anaconda3/envs/open-mmlab/lib/python3.8/site-packages/mmdet/apis/train.py", line 170, in train_detector
runner.run(data_loaders, cfg.workflow)
File "/home/xxx/anaconda3/envs/open-mmlab/lib/python3.8/site-packages/mmcv/runner/epoch_based_runner.py", line 127, in run
epoch_runner(data_loaders[i], **kwargs)
File "/home/xxx/anaconda3/envs/open-mmlab/lib/python3.8/site-packages/mmcv/runner/epoch_based_runner.py", line 50, in train
self.run_iter(data_batch, train_mode=True, **kwargs)
File "/home/xxx/anaconda3/envs/open-mmlab/lib/python3.8/site-packages/mmcv/runner/epoch_based_runner.py", line 29, in run_iter
outputs = self.model.train_step(data_batch, self.optimizer,
File "/home/xxx/anaconda3/envs/open-mmlab/lib/python3.8/site-packages/mmcv/parallel/data_parallel.py", line 67, in train_step
return self.module.train_step(*inputs[0], **kwargs[0])
File "/home/xxx/anaconda3/envs/open-mmlab/lib/python3.8/site-packages/mmdet/models/detectors/base.py", line 237, in train_step
losses = self(**data)
File "/home/xxx/anaconda3/envs/open-mmlab/lib/python3.8/site-packages/torch/nn/modules/module.py", line 550, in call
result = self.forward(*input, **kwargs)
File "/home/xxx/anaconda3/envs/open-mmlab/lib/python3.8/site-packages/mmcv/runner/fp16_utils.py", line 98, in new_func
return old_func(*args, **kwargs)
File "/home/xxx/workspace/mmlab/mmdetection3d/mmdet3d/models/detectors/base.py", line 59, in forward
return self.forward_train(**kwargs)
File "/home/xxx/workspace/mmlab/mmdetection3d/mmdet3d/models/detectors/voxelnet.py", line 91, in forward_train
x = self.extract_feat(points, img_metas)
File "/home/xxx/workspace/mmlab/mmdetection3d/mmdet3d/models/detectors/voxelnet.py", line 45, in extract_feat
x = self.middle_encoder(voxel_features, coors, batch_size)
File "/home/xxx/anaconda3/envs/open-mmlab/lib/python3.8/site-packages/torch/nn/modules/module.py", line 550, in call
result = self.forward(*input, **kwargs)
File "/home/xxx/anaconda3/envs/open-mmlab/lib/python3.8/site-packages/mmcv/runner/fp16_utils.py", line 98, in new_func
return old_func(*args, **kwargs)
File "/home/xxx/workspace/mmlab/mmdetection3d/mmdet3d/models/middle_encoders/sparse_encoder.py", line 113, in forward
x = self.conv_input(input_sp_tensor)
File "/home/xxx/anaconda3/envs/open-mmlab/lib/python3.8/site-packages/torch/nn/modules/module.py", line 550, in call
result = self.forward(*input, **kwargs)
File "/home/xxx/workspace/mmlab/mmdetection3d/mmdet3d/ops/spconv/modules.py", line 130, in forward
input = module(input)
File "/home/xxx/anaconda3/envs/open-mmlab/lib/python3.8/site-packages/torch/nn/modules/module.py", line 550, in call
result = self.forward(*input, **kwargs)
File "/home/xxx/workspace/mmlab/mmdetection3d/mmdet3d/ops/spconv/conv.py", line 157, in forward
outids, indice_pairs, indice_pair_num = ops.get_indice_pairs(
File "/home/xxx/workspace/mmlab/mmdetection3d/mmdet3d/ops/spconv/ops.py", line 91, in get_indice_pairs
return get_indice_pairs_func(indices, batch_size, out_shape,
RuntimeError: /home/xxx/workspace/mmlab/mmdetection3d/mmdet3d/ops/spconv/src/indice_cuda.cu 124
cuda execution failed with error 2
my env is :
sys.platform: linux
Python: 3.8.11 (default, Aug  3 2021, 15:09:35) [GCC 7.5.0]
CUDA available: True
GPU 0,1: TITAN V
CUDA_HOME: /usr
NVCC: Cuda compilation tools, release 10.2, V10.2.89
GCC: gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
PyTorch: 1.5.0
PyTorch compiling details: PyTorch built with:

GCC 7.3
C++ Version: 201402
Intel(R) oneAPI Math Kernel Library Version 2021.3-Product Build 20210617 for Intel(R) 64 architecture applications
Intel(R) MKL-DNN v0.21.1 (Git Hash 7d2fd500bc78936d1d648ca713b901012f470dbc)
OpenMP 201511 (a.k.a. OpenMP 4.5)
NNPACK is enabled
CPU capability usage: AVX2
CUDA Runtime 10.2
NVCC architecture flags: -gencode;arch=compute_37,code=sm_37;-gencode;arch=compute_50,code=sm_50;-gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_61,code=sm_61;-gencode;arch=compute_70,code=sm_70;-gencode;arch=compute_75,code=sm_75;-gencode;arch=compute_37,code=compute_37
CuDNN 7.6.5
Magma 2.5.2
Build settings: BLAS=MKL, BUILD_TYPE=Release, CXX_FLAGS= -Wno-deprecated -fvisibility-inlines-hidden -fopenmp -DNDEBUG -DUSE_FBGEMM -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -DUSE_INTERNAL_THREADPOOL_IMPL -O2 -fPIC -Wno-narrowing -Wall -Wextra -Werror=return-type -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Wno-stringop-overflow, PERF_WITH_AVX=1, PERF_WITH_AVX2=1, PERF_WITH_AVX512=1, USE_CUDA=ON, USE_EXCEPTION_PTR=1, USE_GFLAGS=OFF, USE_GLOG=OFF, USE_MKL=ON, USE_MKLDNN=ON, USE_MPI=OFF, USE_NCCL=ON, USE_NNPACK=ON, USE_OPENMP=ON, USE_STATIC_DISPATCH=OFF,

TorchVision: 0.6.0a0+82fd1c8
OpenCV: 4.5.3
MMCV: 1.3.11
MMCV Compiler: GCC 7.3
MMCV CUDA Compiler: 10.2
MMDetection: 2.14.0
MMSegmentation: 0.14.1
MMDetection3D: 0.16.0+319b0e3

Hi @JianyyuWang . Perhaps you can refer to https://github.com/open-mmlab/mmdetection3d/issues/21 ?

Hi @JianyyuWang . Perhaps you can refer to #21 ?

Thanks


Call a function when the slider values have changed

Usually range sliders are used to filter. But I can't determine when the slider values have changed.
ng-change seems not to work and
$scope.min = 0
$scope.max = 10
$scope.$watch 'min', () -> console.log "hh"

Does also not work for me.

Ok seemed to be related to that I packed it into ng-if which creates a child scope. But still this would be a cool feature to have ng-change here.


Crashes when scrolling over a large number of items on the listview

I haven't been able to confirm this with the un-modified playlists because they were not long enough. But what I have tested just now is

Run a web server on my android device to serve the music files and the json file (all properly formatted and located)
Modify the RemoteJSONSource.java code so that the CATALOG_URL points to my own internal json file

So when I now run the app it reads and plays fine from my internal web server and json etc. But now I have much more items displayed on the screen so I need to scroll to browse through the list.
And when I scroll up and down for a little while, the app always crashes. And then, especially when I am streaming to Chromecast Audio, the connection is lost although the cast icon still remains as I re-open the app.
I've googled this problem and noticed that this may be related to memory leak or something, but haven't been able to find a straightforward solution. Any help / info would be appreciated.
And lastly, as a suggestion, I think it would be nice if the listview can automatically follow the currently playing item (when that is out of the current view). So for example, when I play the last item on the listview screen, as the next song starts the listview would scroll automatically by one line so that the next item is shown as playing (in addition to the one with the controls at the bottom).

It's not recommended to send so many items at once. Using the extras I described above is the recommended way for now. In the future, looking at MediaBrowser2.getChildren might work well for you.


(Sonar) Fixed finding: "Utility classes should not have public constructors"

Remediation
This change fixes "Utility classes should not have public constructors" (id = java:S1118) identified by Sonar.
Details
This change adds private constructors to utility classes. Utility classes are only meant to be accessed statically. Since they're not meant to be instantiated, we can use the Java's code visibility protections to hide the constructor and prevent unintended or malicious access.
Our changes look something like this:
   public class Utils {
+    private Utils() {}
     ...

More reading

https://rules.sonarsource.com/java/RSPEC-1118/

🧚🤖  Powered by Pixeebot
💬Feedback | 👥Community | 📚Docs | Codemod ID: sonar:java/avoid-implicit-public-constructor-s1118

What is the Purpose of the Change
(Please briefly describe the purpose of the change and leave the details in the change log section below)
Type of Change

[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

Documentation

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

Final Checklist:

[X] My code follows the style guidelines of this project
[X] I have performed a self-review of my own code
[X] I have commented my code, particularly in hard-to-understand areas
[X] I have made corresponding changes to the documentation
[X] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works - NA
[X] New and existing unit tests pass locally with my changes
[X] Any dependent changes have been merged and published in downstream modules

@tongtianqi777 @yuchaoran2011 any thoughts on this PR?

Any chance you've had the time to review these changes?
If you're not interested implementing them at this time, no worries. I can close the PR and follow up with additional changes in the future. Also, this plugin is free for non-commercial open sourced projects, so feel free to give it an install if you want to see the other recommended PRs. (Pixeebot | Automated code fixes. · GitHub Marketplace)
Thanks,
Zach


ImportError: cannot import name 'launch_new_instance'

Getting following error when trying to launch.
from colaboratory import launch_new_instance
ImportError: cannot import name 'launch_new_instance'

This version of colaboratory is no longer supported, please switch to https://colab.research.google.com.


Adds support for the new Router().route('/foo') pattern

As requested by #18 this PR adds support for the missing error handling while using the new Router().route("/foo") pattern.
I made changes so promise rejections get handled as they normally would when using something like:
new Router().get("/foo", function that returns rejected promise)
So now one can use:
new Router().route("/foo").get(function that returns rejected promise)
and get the same expected results.
I also added specific tests (I just copied your other test file and made changes to use this pattern). Sorry for not trying too much regarding the tests, I just made sure they work as expected.
Let me know if anything else needs changed.

:+1:


"com.amazon.coral.sCredential should be scoped to correct service

I get this response: "com.amazon.coral.service#InvalidSignatureException","message":"Credential should be scoped to correct service: 'dynamodb'. "
Here's my code:
var remoteConn = {
'keyId': 'AKIAZOT2IBVFOUX7EEDJ',
'accessKey': 'igENKxhRKap7E9j6/+CpcRzvx1Q1UoEob4o+R4hv',
'region': 'ap-southeast-2',
'serviceName': 'execute-api'
};
var remotePath = 'https://dynamodb.ap-southeast-2.amazonaws.com';
void main() async {
final client = Sigv4Client(
keyId: remoteConn['keyId'],
accessKey: remoteConn['accessKey'],
region: remoteConn['region'],
serviceName: remoteConn['serviceName'],
);
/// https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.API.html
/// https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_Operations_Amazon_DynamoDB.html
///
final request = client.request(
remotePath,
method: 'POST',
headers: {
'Content-Type': 'application/x-amz-json-1.0',
'X-Amz-Target': 'DynamoDB_20120810.ListTables'
},
body: json.encode({})
);
Response resp = await post(request.url, headers: request.headers, body: request.body);
print(resp.body);
//Map<String,dynamic> bytes = json.decode(response.bodyBytes);
}

Arne, with your help I can transition my app from using Firestore REST api to using DynamoDB low level api... Cheers

I changed the serviceName from "execute-api" to "dynamodb", and now I get:
The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method

When I use the debugger to view the sigv4 header, I see:
AWS4-HMAC-SHA256 Credential=AKIAJF3YGRMQFHMDV4CA/20200602/ap-southeast-2/dynamodb/aws4_request,SignedHeaders=accept;content-length;content-type;host;x-amz-content-sha256;x-amz-date;x-amz-target,Signature=19bab5ee2641bbdf7432ef1e4c492c2cfc421a4f060db3b86d87206fa2f92296
and if I change PostMan's generated AWS header, I get this error:
{
"__type": "com.amazon.coral.service#IncompleteSignatureException",
"message": "Authorization header requires existence of either a 'X-Amz-Date' or a 'Date' header. Authorization=AWS4-HMAC-SHA256 Credential=AKIAJF3YGRMQFHMDV4CA/20200602/ap-southeast-2/dynamodb/aws4_request,SignedHeaders=accept;content-length;content-type;host;x-amz-content-sha256;x-amz-date;x-amz-target,Signature=19bab5ee2641bbdf7432ef1e4c492c2cfc421a4f060db3b86d87206fa2f92296"
}

The successful Postman generated header looks like this:
Authorization: AWS4-HMAC-SHA256 Credential=AKIAJF3YGRMQFHMDV4CA/20200602/ap-southeast-2/dynamodb/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date;x-amz-target, Signature=b18255006e31d51fb6bd2f8b4f493f8dda5736b32046bb6d6976eb48813c0cc4

Hi, @github-bianca 👋
I'll look into this right now.

@github-bianca Which version of sigv4 are you on?

4.0.0

Is it a bug, or is it just my use of headers ?
I tried using the sigv4 functionality of the other dart plugin (amazon_cognito_identity_dart_2), and that generated an auth header which got this postman response:
{
"__type": "com.amazon.coral.service#IncompleteSignatureException",
"message": "Authorization header requires existence of either a 'X-Amz-Date' or a 'Date' header. Authorization=AWS4-HMAC-SHA256 Credential=AKIAJF3YGRMQFHMDV4CA/20200602/ap-southeast-2/dynamodb/aws4_request,SignedHeaders=host;x-amz-content-sha256;x-amz-date;x-amz-target,Signature=d140460529c65c8ba3e2260cf5bc3cbd3c89a0034c51e6b133cf93da74a6bf3a"
}

BTW - upgraded to 4.1.0 - was using :any in my pubspec.yaml

It looks like I have to do some debugging with dynamodb tomorrow. I can't replicate this with s3 buckets or API gateway which I usually test with. Is the signature the only difference between the library generated request and the Postman request?

Your code generates the hash ok: I checked.
Postman generates slightly different headers, but I assume the Authorization header is only calculated using the ones named in the SignedHeaders list.
I'll dig some more today...
Thanks,
Ian

BTW the postman-generated list generated when I do a simple table list is:
SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date;x-amz-target

Your code generates a list that also includes the Accept header:
SignedHeaders=accept;content-type;host;x-amz-content-sha256;x-amz-date;x-amz-target

So I will try to remove Accept from the list that gets passed to sign() and see if I can get a correct calculation...

Even after ensuring that only those headers in the SignedHeaders list are passed to sign(), I still get the error: "The request signature we calculated does not match the signature you provided"
Of course, since the current date is part of the auth header calculation, there is no way to unit test. It would be good to be able to see postman's code ;-)

Postman generated X-Amz-Date, and you can't override that by providing that header yourself, so since Postman requests do work, I guess debugging should use the vale generated by postman, and then you could compare your authorization header with postman's, right ?

I just tried your code using the AWS example: https://docs.aws.amazon.com/general/latest/gr/sigv4-add-signature-to-request.html
Your code generates an auth header that does not have a space before SignedHeaders, and one before Signature. (below is yours, then the one showing on the web site):
Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/iam/aws4_request,SignedHeaders=content-type;host;x-amz-date,Signature=5d672d79c15b13162d9279b0855cfba6789a8edb4c82c400e06b5924a6f2b5d7
Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/iam/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature=5d672d79c15b13162d9279b0855cfba6789a8edb4c82c400e06b5924a6f2b5d7

Although your code seems to work when following the AWS example pages, that scenario never mentions x-amz-content-sha256 !
So if you try to create the auth header using Sigv4.client(), you get a different result, because now the auth header includes x-amz-content-sha256 in the SignedHeaders list:
Authorization: AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20200603/us-east-1/iam/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=e076c068d8941753c1cd65c27713c0ba77576c1cdc5929bd4d6b4dd1e9b79485

I really want to make use of dynamodb, so I'm going to change strategy: I will try using the API Gateway as a front-end to dynamodb.
If / when you do find a way to sign a dynamodb request, I'll be very happy to hear about it...
Thanks,
Ian

ok, I'll try it out. Will let you know soon... Many thanks

Unhandled Exception: type 'bool' is not a subtype of type 'String'
if (signPayload) {
  headers[_x_amz_content_sha256] = signPayload;
}

headers is a Map<String,String>, so you get the above exception.

You actually meant to type:
headers.remove(_x_amz_content_sha256);
I guess ;-)

My bad, fill fix asap.

Change does not work. Thanks anyway.

BTW - postman does include that header in its generated list:
AWS4-HMAC-SHA256 Credential=AKIAIQ7PGZVTHQR4SYYQ/20200605/ap-southeast-2/dynamodb/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date;x-amz-target, Signature=39079d0acb121e47675d59dadbbba5a22370ab096899b59a151b6b10dc68288c
NOTE - the datetime value used here was '20200605T053653Z'

I’ve got limited time for the near future — if you’d like to fork this and do some testing I’d appreciate it. Will try to get onto this soon enough!

@github-bianca did you resolve that one?
I probably face the same issue here https://github.com/arnemolland/sigv4/issues/17
Will really appreciate to hear back from both of you.

No, I didn't resolve it.
I'll have to stay with firestore until I find a way to sigv4 encode
requests.
On Fri, Jun 26, 2020 at 2:49 AM BartusZak<EMAIL_ADDRESS>wrote:

@github-bianca https://github.com/github-bianca did you resolve that
one?
I probably face the same issue here #17
https://github.com/arnemolland/sigv4/issues/17
Will really appreciate to hear back from both of you.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/arnemolland/sigv4/issues/15#issuecomment-649691731,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJPZXUQN4PD4G6WLVSY2QSLRYN5YLANCNFSM4NQM4Z5A
.

--
Ian White
h: +61 2 9948 9739
m: +61 404 950 122
hangout<EMAIL_ADDRESS>

Unhandled Exception: type 'bool' is not a subtype of type 'String'
if (signPayload) {
  headers[_x_amz_content_sha256] = signPayload;
}

headers is a Map<String,String>, so you get the above exception.

this code is bad because AWS says it should be calculated string not a boolean, as noted here

So correcting this manually fixed the bug for me.

signature not yet current: 20231O14T164747Z

Signature not yet current: 20240817T222O42Z is still

Signature not yet current: 20240817T222O42Z

Signature not yet current: 2O24O817T2232O4Z

Signature not yet current: 2O24O817T223357Z


Mail sending is broken in prod

Not sure why...

lmao looks like this is a thing
https://www.linode.com/blog/linode/a-new-policy-to-help-fight-spam/

Linode unblocked this morning.


Hashlink support

A simple test case:
var foo = Json.print("Float", 1.1);

produces this exciting output:
Error: Extern type not supported : TypePackerResource2
I can find vanishing little info on this error, but it appears to point towards the onAfterTyping class replacement hack. However... I do the same hack in my own code and it doesn't produce this error, so I'm at a bit of a loss as to what might be triggering it.

fixed in 1.3.0


Login with token results in invalid access token error message on checkout

Hello everyone,
I stumbled upon an issue with the Sumup.loginWithToken method.
This is my function:
Future<void> initializeAndLoginSumUp() async {
    final isStillLoggedIn = await Sumup.isLoggedIn;
    if (isStillLoggedIn != null) {
      if (isStillLoggedIn) {
        _isLoggedIn = true;
        notifyListeners();
        return;
      } else {
        //final response = await Sumup.loginWithToken(apiToken);
        final response = await Sumup.login();
        final message = response.message;
        if (message != null) {
          if (message['loginResult'] == true) {
            _isLoggedIn = true;
          }
        }
        notifyListeners();
      }
    }
  }

It is called everytime before I make an transaction within my application. Once a session expires and I relog with the line that is currently commented out, the login succeeds but when trying to process a checkout, it results in "Invalid access token" error and fails.
It works fine with the regular login method though!
Hope I was able to explain my issue somewhat understandable.
Best regards

Hi,
Check this issue, it might be a wrong grant type.

Hey, thanks for your answer. Unfortunately I don't use the API calls in my App. I was trying to make it work with the things the SDK natively provides. If I have to do it using URL requests & parameters, why would I use the SDK in the first place?


store: add log for store clean up.

@ngaut @BusyJay @disksing  @hhkbp2 @zhangjinpeng1987

LGTM

LGTM


no symbol navigation possible on goto definition

If I would like to see the definition of some type or type member that doesn't have a reachable source file, it seems I can do this, for example if I invoke "goto definition" on this code
Console.WriteLine("test");

It will show a definition of the console class. However, breadcrumps and any form of symbol navigation does not work. It would be very useful to make it faster to skim through available members quickly.

@webczat So the feature request here is to support breadcrumbs and outlining for metadata as source?
normal c#:

metadata as source c#:

not quite sure if it works for peek definition even for c# source files. but yes, even for metadata would be nice, although I get what's the problem, it is not quite a valid c#. Still... I wanted to do this once to browse through some library class and couldn't. There is nothing like jump to next/previous member in vscode, so...


Don't emit functions not fit for target stage in GLSL

GLSL has restrictions that mean you can't have a function with a discard in the translation unit, if you aren't targetting the fragment-shader stage. This is even true if you don't even call the function.
The current lowering strategy emits all symbols in an imported module if it detects we are in "rewriter" mode, so this causes problems.
The simplest fix is just to not do that, and only emit declarations that were referenced. That strategy should work for any case where we were able to semantically resolve all the user's code.
If we need something more fail-safe than that, we could try to ensure that when we see an un-checked name expression, or one that resolved to an overload group, we go ahead and emit every matching declaration, just in case. That could cause problems if one of those overloads is invalid for the target, of course.
We might also want to add some logic to detect stage-limited functions, and skip lowering them for targets where they aren't allowed. That seems like something we might need in the long term anyway.

I've implemented the approach of only generating code for referenced symbols. I'll close this for now and we can revisit if that turns out to be a terrible idea.


Follow

New function idea: if you cd into a directory with only one other subdirectory as its contents, it would be nice to follow it down to the child node.
Example
If we have the following directory tree structure:

dir1
dir2

dir21

dir22

dir3

The follow command would do the following:
$ pwd
/
$ ls
dir1 dir2 dir3
$ follow dir1 && pwd && cd -
/dir1
$ follow dir2 && pwd
/dir2/dir21/dir22

First prototype:
# follow a directory tree down to its childmost directory
fw() {
    if [[ $# -ne 1 ]] ; then
        echo "follow: err: incorrect number of arguments"
        return 1
    fi
    if [[ ! -d "$1" ]] ; then
        echo "follow: err: no such directory $1"
        return 1
    fi
    TARGET="`readlink -m $1`"
    END=0
    while [[ $END -eq 0 ]] ; do
        DIRS=()
        for THING in $TARGET/* ; do if [[ -d $THING ]] ; then DIRS+=( "`basename $THING`" ) ; fi ; done
        if [[ ${#DIRS[@]} -eq 1 ]] ; then TARGET="$TARGET/${DIRS[0]}" ; END=0 ; else END=1 ; fi
    done
    cd "$TARGET"
    pwd
}

Renaming to dive


Import subtitle file, add auto-bookmarks

From Discord:

It'd be great if you could upload an .srt or other subtitle file with an audio file and have it convert it to a txt for reading, but also add bookmarks for the different pages (or even for all the sentences and next to them, there's a little button that, basically, says "skip to this sentence in the audio"). This would make Lute amazing to use with anything audio based alongside Whisper getting better and better.

Challenges I can see with this request:

bookmarks aren't associated with pages or sentences, so there will be many many bookmarks in the audio timeline and no clear way to jump to the text
during parsing, the timestamp data isn't stored, it's just another token.  This could potentially be worked around with the base parser doing a preliminary pass to get timestamps, and then the actual parsers being called for each section between stamps.  This is a big change from the current method, but perhaps is doable.  I'm not sure of the payoff, but I'd need to work on a new language to fully understand the ins and outs.

I love this idea. I recently got into using whisper for subtitle generation. I think this feature would be super useful for working through audiobooks and podcasts.
I'll try to look into the all the audio stuff at sometime soon, but my gut says it would make a lot more sense to persist the timestamps in another table, so you could easily jump to anywhere in a longer audio according to the the associated subtitle.

I'm really not sure how to link up audio timestamps with arbitrary sentences.  With Text database entries, it's possible, but sentences aren't created until the page is first read.
The current audio timestamps are stored as denormalized data in the books table, as BkAudioBookmarks TEXT NULL.  These are just shown on the player as bookmark bars, with no reference to the texts entries in the book.  There's no tie between the texts entries and the bookmarks, since the two aspects of text and sound/player are totally decoupled.  Having them automatically be in sync -- e.g. so that turning a page automatically changes the player, or fast-forwarding changes your current page -- would be quite hard for the user to manage, I think!
But maybe you have a clever idea that makes sense for you.  I've never needed this idea, and so haven't put the hours into thinking about it.


Support for child windows?

Is there any support for non-top level windows? I specifically mean the widgets that show up in a separate window and QDockWidget titlebar when undocked.
So far the whole library is the best out of all frameless QT solutions on Github! Looking great, but would be nice to handle the children as well.

Child windows may be supported. I just didn't test child windows.

By the way, what do you want to tell me by showing this picture?

Child windows may be supported. I just didn't test child windows.

You can try to make the child windows frameless. If it doesn't work, you can tell me and I'll see if there's a good solution.

Just the fact that it does not affect the child titlebars. (And as I understood from your answer, it should not by default).  There is a QWidget with Tool and StaysOnTopHint in the middle, and two QDockWidgets set floating. For QDockWidget I tried calling FramelessWindowsManager::addWindow(&widget) as well. but it does not work. Should I maybe put a connection to QDockWidget's undock event and only addWindow when undock has occured?

Should I maybe put a connection to QDockWidget's undock event and only addWindow when undock has occured?

I'm not quite sure about this. Actually, on non-Windows platforms, I'm using the Qt::FramelessWindowHint flag to get rid of the title bar. You can try to enable that flag for a normal QDockWidget and a QWidget with Tool and StaysOnTopHint to see if they can become frameless. If they can become frameless indeed, then I need to check my code to see what's wrong.

创建一个非top-level的子window后，原来的top-level window就抓不到WM_NCHITTEST，大概是在
const QWindow *window = findWindow(msg->hwnd);
    if (!window || (window && !window->property(m_framelessMode).toBool())) {
        return false;
    }

这个地方被返回了。一旦抓不到WM_NCHITTEST事件后，window窗口的title area就开始响应鼠标事件了，这在正常的时候是不会响应的。

创建一个非top-level的子window后，原来的top-level window就抓不到WM_NCHITTEST，大概是在
const QWindow *window = findWindow(msg->hwnd);
    if (!window || (window && !window->property(m_framelessMode).toBool())) {
        return false;
    }

这个地方被返回了。一旦抓不到WM_NCHITTEST事件后，window窗口的title area就开始响应鼠标事件了，这在正常的时候是不会响应的。

不是顶层窗口的话就没有QWindow，findWindow这个函数会返回空指针，在你标出来的这个地方确实会直接返回。
但这里我想要确保msg->hwnd这个句柄是一个独立的窗口，而不是一个控件，我暂时不知道有什么更好的方法。用Win32 API的话，我试过IsWindow，GetParent和GetAncestor等函数，都没法很好的区分窗口和控件，而且Qt还会创建一些不可见的窗口来实现一些特别的功能，也会对这些API的效果造成很大的影响。至于Qt自己的API，确实有isTopLevel和isWindow等函数，但这都是QWidget特有的函数，Qt Quick是用不了的，而且还会引入QtWidgets这个依赖项，不太可行。
如果不管msg->hwnd是不是一个独立的窗口，直接无脑应用无边框的代码，我也试过，最终效果不好，也不可行。
你知道有什么比较好的办法能判断一个句柄是不是一个独立的窗口吗？

Hi Yuhang Zao,
If I try to use the frameless lib in my true app (MainWindow), moving the window by dragging on the custom title bar does not work. I do not receive messages of type WM_NCHITTEST in  FramelessHelperWin::nativeEventFilter, while I do receive other messages there. I’m afraid it has something to do with event filters on my DockWidgets, but not sure. Any idea?
Thanks again!
Philip
From: Yuhang Zhao @.>
Sent: woensdag 12 mei 2021 02:59
To: wangwenx190/framelesshelper @.>
Cc: Flip20 @.>; Comment @.>
Subject: Re: [wangwenx190/framelesshelper] Support for child windows? (#33)
Ok, thanks! Found out that I probably do not need the FramelesWindowsManager for the QDockWidgets, I can set a custom titlebar for them the moment they start floating, which makes the standard Windows bar disappear. From the Qt doc:
If a title bar widget is set, QDockWidget will not use native window decorations when it is floated.
Thanks for telling me this! I've updated the README file to mention about it.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/wangwenx190/framelesshelper/issues/33#issuecomment-839353350 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ARRBCGQXUEMYLHQYOYF6C53TNHHF3ANCNFSM4TLCAPSQ .  https://github.com/notifications/beacon/ARRBCGTFSGMT4IUYNDNKQK3TNHHF3A5CNFSM4TLCAPS2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGIDYIBQ.gif

The problem lies in my QVTKWidget2, see also
https://github.com/dfct/TrueFramelessWindow/issues/13

@Flip20 Sorry I'm not sure about it either.

Should be fixed in 2.0. closing for now. feel free to reopen it if necessary.


[GH-108] Updating to the new version of cardano-shell.

https://github.com/input-output-hk/cardano-node/issues/108

bors r+


Update use-media-queries-to-create-responsive-layouts.chinese.md

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

@dingjy94 Would you mind reviewing this PR to validate the translation changes made in this PR match the current English version of this challenge?  Thanks.

@RandellDawson  I change part of the translation to make it more proper. Should I merge this PR directly?

@dingjy94 Merge away.


JwtSecurityTokenHandler.ValidateToken can set the out parameter in case of exception in ValidateToken

validatedToken = ValidateSignature(token, validationParameters);
return ValidateTokenPayload(validatedToken as JwtSecurityToken, validationParameters);

It's unexpected to have the validatedToken set in case of exception.

@drago-draganov if the signature doesn't validate, we expect ValidateSignature to throw.

@brentschmaltz,
The code snippet above is from:
public override ClaimsPrincipal ValidateToken(string token, TokenValidationParameters validationParameters, out SecurityToken validatedToken)

ValidateSignature is totally expected to throw. The problem is when it doesn't, but ValidateTokenPayload throws instead. That leaves the out parameter validatedToken successfully initialized in case of validation failure.

@drago-draganov that is a good point, the out param should be null.
We will see if we can get this into 5.7. But we are booked.
Set as P2, changed Question -> Bug.
If we don't get this into 5.7, we will change the priority to P1 for vnext.


uint8 model runtime input(s) num is 2.

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux Ubuntu 16.04
TensorFlow installed from (source or binary): binary
TensorFlow version (or github SHA if from source): 2-1

Command used to run the converter or code if you’re using the Python API
import tensorflow as tf
from tensorflow.keras.models import load_model

keras_file = "./keras-0127127.h5"

model = load_model(keras_file)
converter = tf.lite.TFLiteConverter.from_keras_model(model)
converter.inference_input_type = tf.uint8
converter.inference_type = tf.uint8    #tf.lite.constants.QUANTIZED_UINT8
converter.inference_output_type = tf.uint8
converter.optimizations = [tf.lite.Optimize.OPTIMIZE_FOR_SIZE]
tflite_uint8_model = converter.convert()
open("uint8.tflite", "wb").write(tflite_uint8_model)

The output from the converter invocation
I use netron software to visualiz the "uint8.tflite" model, it shows that:

We can see some  DEPTHWISE_CONV_2D operations have 2 inputs.
Also, please include a link to the keras model I used above
https://github.com/chenpengf0223/semantic_segmentation_distillation/blob/master/keras-0127127.h5

Failure details
If the conversion is successful, but the generated model is wrong,
state what is wrong:

Producing model that c++ tflite gpu delegate library can not process.

When I use c++ tflite gpu delegate library to run the model, I get such log:
INFO: Initialized TensorFlow Lite runtime.
INFO: Created TensorFlow Lite delegate for GPU.
ERROR: Following operations are not supported by GPU delegate:
DEPTHWISE_CONV_2D: Expected 1 runtime input tensor(s), but node has 2 runtime input(s).
DEQUANTIZE: Expected 1 runtime input tensor(s), but node has 0 runtime input(s).
20 operations will run on the GPU, and the remaining 41 operations will run on the CPU.
INFO: Initialized OpenCL-based API.
INFO: Created 1 GPU delegate kernels.

@srjoglekar246, could you take a look at this issue? It's related to quant model support in gpu delegate. But I'm not sure whether the root cause lies in the conversion.

@chenpengf0223 From the output, it looks like the model is partially running on GPU.
For some of the nodes, looks like the quantization isn't happening correctly. Could you try the following params for conversion:
converter.target_spec.supported_ops = [tf.lite.OpsSet.TFLITE_BUILTINS_INT8]
converter.inference_input_type = tf.int8  # or tf.uint8
converter.inference_output_type = tf.int8  # or tf.uint8
converter.optimizations = [tf.lite.Optimize.DEFAULT]

(note: no converter.inference_type)
If that also leads to a similar output, there might be some issues with the quantization tooling - DEQUANTIZE nodes with no input tensors should never happen, so there might be some errors. Feel free to attach the tflite model as well, if things don't work after the above changes.

@srjoglekar246 Thanks for your reply, I try your paras as following:
converter.target_ops = [tf.lite.OpsSet.TFLITE_BUILTINS,tf.lite.OpsSet.SELECT_TF_OPS]
converter.inference_input_type = tf.int8  # or tf.uint8
converter.inference_output_type = tf.int8  # or tf.uint8
converter.optimizations = [tf.lite.Optimize.DEFAULT]
I also get a similar model, I attach the tflite model :
https://github.com/chenpengf0223/semantic_segmentation_distillation/blob/master/model-uint8.tflite

Do you mean the float model on GPU is faster than int8 model on GPU? Or that float model on CPU is faster than int8 on GPU?
If float model on GPU is faster than int8 model on GPU, could you share the float model also to debug?
There should not be such a big difference between float and int8.

@srjoglekar246  I run the float model and the int8 model on GPU using tflite gpu delegate, I attach the float32 model here:
https://github.com/chenpengf0223/semantic_segmentation_distillation/blob/master/float32.tflite

Looks like it is working as expected.
For quantized models, we need to perform some extra operations to 'simulate' quantized inference on the GPU - this is done to ensure accuracy (compared to floating point).
This leads to increased latency, depending on characteristics such as number of input/output tensors, number of ops, etc.
Reducing the number of output tensors (6 in this case) will probably help.
However, it all boils down to what you want to trade-off:
For very small model size but higher latency, choose int8. For 4x larger model but great speed, use float32. For something in between (slight accuracy tradeoff, 2x larger model) use float16


Feature Request: "@var" Definition of class inside block comment

/* @var $book Book */ // <--- to be able ctrl+click the Book
$book = new Book();

// or

/** @var Book $book */ // <--- to be able ctrl+click the Book
$book = methodToGetTheBook();
$book->doSomething();  // <--- to be able ctrl+click the doSomething method

Thanks :)

https://github.com/felixfbecker/php-language-server/issues/650

/** @see Class::method() / isn't working
/* @method mixed getIsActive() */ isn't working
Is PHPDoc implemented at all?


Google Fonts load twice

Issue description:
Google fonts load twice in the front end, any one having the same issue?
WebFont.load({google:{families:['Muli:700,600:cyrillic,cyrillic-ext,devanagari,greek,greek-ext,khmer,latin,latin-ext,vietnamese,hebrew,arabic,bengali,gujarati,tamil,telugu,thai']}});
WebFont.load({google:{families:['Muli:700,600:cyrillic,cyrillic-ext,devanagari,greek,greek-ext,khmer,latin,latin-ext,vietnamese,hebrew,arabic,bengali,gujarati,tamil,telugu,thai']}});

Version used:
(Did you try using the develop branch from github? There's a chance your issue has already been adressed there)
3.033
Using theme_mods or options?
theme_mods
Code to reproduce the issue (config + field(s))
Typography field

Here's my config setting:
`Kirki::add_config( 'theme_id', array(
'capability'    => 'edit_theme_options',
'option_type'   => 'theme_mod',
));
function theme_kirki_configuration( $config ) {
return wp_parse_args(array(
'logo_image'   => '',
'description'  => 'theme',
'color_accent' => '#006799',
'color_back'   => '#FFFFFF',
'disable_loader' => true,
'disable_output' => false,
));
}
add_filter( 'kirki_config', 'theme_kirki_configuration' );`
If only use global config without theme config, everything's okay.
If only use theme config, or use them both, fonts will load twice.
Kirki is bundled in a theme not as plugin.
Should I only use global config?

can you send me a copy of your theme so that I may debug this?

Theme file sent.
On Thu, Jun 21, 2018 at 6:35 AM, Aristeides Stathopoulos <
<EMAIL_ADDRESS>wrote:

can you send me a copy of your theme so that I may debug this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/aristath/kirki/issues/1923#issuecomment-398905164,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJiKAbQ-MX_7ZSiyKyJfDxaZH5bbIT5zks5t-sAbgaJpZM4Ul81X
.

how is the status of this issue? #2026

how is the status of this issue?

Issue still exists, it is confirmed but doesn't actually cause any issues or impede performance in any way so it's not on the top of the long list of things to fix.
It will get fixed, but only after a few other more serious bugs have been resolved.


added domain the Institute of Bioorganic Chemistry, Polish Academy of Sciences

adding domain of the Institute of Bioorganic Chemistry, Polish Academy of Sciences

@ankhazam Pull request merged.
Please notice that free educational subscription for JetBrains tools is for students and teachers only, and is valid for using the tools for educational purpose only. If employees of this Institute who are not students, nor teachers, also need a license for JetBrains tools, they are eligible for an academic discount for the tools. They can get the discount by email to<EMAIL_ADDRESS>Thank you!


NOISSUE - Change repo link to mainflux core

Signed-off-by: Ivan Milosevic<EMAIL_ADDRESS>What does this do?
Change repo link in the header of mkdocs published on github pages to mainflux core (instead of docs repo)

LGTM


feat: ✨ syn-icon

Description:
The syn-icon is an element which displays an SVG icon. It is also a sub-element of other components (e.g. to display a clear- or search- icon in an input field).
DoD

[ ] The component looks like the Figma design and reflects all its states
[ ] Tested: Playwright + Chromatic
[ ] Create a proper Storybook-documentation which contains at least everything from the Shoelace component
[ ] Text in the documentation can be synced
[ ] Demo which shows how to handle icon assets

User Story
As a developer using the Solid Design System I want easily be able to include icons in my web applications and websites. There are applications which profit from small bundle sizes (especially websites) and others which need icons bundled (UI Builder).
Description
Shoelace differentiates between system, default and custom icon libraries.

system icons are icons, which are directly built into a component, like e. g. the chevron-down inside an accordion
default icons are icons, which should resolve when doing <sd-icon name="chevron-down"></sd-icon>
on top people can register custom libraries, by setting up custom libraries:

<script type="module">
  import { registerIconLibrary } from '/dist/utilities/icon-library.js';

  registerIconLibrary('material', {
    resolver: name => {
      const match = name.match(/^(.*?)(_(round|sharp))?$/);
      return `https://cdn.jsdelivr.net/npm/<EMAIL_ADDRESS>|| 'outline'}.svg`;
    },
    mutator: svg => svg.setAttribute('fill', 'currentColor')
  });
</script>

which makes it possible to do <sl-icon library="material" name="notifications"></sl-icon>
The icons are downloaded via fetch and are automatically be cached if used several times.
default
The icons are already in Figma and can be synced via cd packages/assets && pnpm fetch-assets.
Currently you can just set the base path, and point to an URL where the icons are placed in assets/icons/.... We have to re-evaluate this approach especially as our icons are not part of the bundle anymore and we should show some best practices.
system
The icons are already in Figma and can be synced via cd packages/assets && pnpm fetch-assets. They should come into assets/src/system-icons. We should extend the script that it automatically writes the data into packages/components/src/icon/library.system.ts. (We might have to eject the file then.)
custom
There's nothing we have to do here, besides making sure, that the script are exported in packages/components/src/synergy.ts
Use Case: UI Builder
The UI builder can't use physical URLs in the end. Instead we need a way to bundle icons. I would propose to provide a JSON or object and an example script, showing in Storybook how to override default like in this example:
<script type="module">
  import { registerIconLibrary } from '/dist/utilities/icon-library.js';
  import {defaultIcons} from '@synergy-design-system/assets'

  registerIconLibrary('default', {
    resolver: (name: keyof typeof icons) => {
      if (name in icons) {
        return `data:image/svg+xml,${encodeURIComponent(defaultIcons[name])}`;
      }
      return '';
    }
    mutator: svg => svg.setAttribute('fill', 'currentColor')
  });
</script>

As we can only have one example the above code can only be shown in the docs, but the real code should be something like:
<script type="module">
  import { registerIconLibrary } from '/dist/utilities/icon-library.js';
  import {defaultIcons} from '@synergy-design-system/assets'

  registerIconLibrary('bundled-default', {
    resolver: (name: keyof typeof icons) => {
      if (name in icons) {
        return `data:image/svg+xml,${encodeURIComponent(defaultIcons[name])}`;
      }
      return '';
    }
    mutator: svg => svg.setAttribute('fill', 'currentColor')
  });
</script>

that we can use <sd-icon library="custom-default" name="chevron-down"></sd-icon> in Storybook.

refers to #19


Remove colors.ts file

Hello, I would like to work on this issue. If possible please do assign me!

I would like to be assigned ti this issue

I would like to work on this one :)

Please add me as a assignee

[x] Open new file: socialButtons.module.scss in buttons folder
[x] Import new scss file to socialButtons.tsx
[x] Remove style tag from socialButtons and replace with 'styles[classname]' + 'styles.socialButtons'
[x] Find all usages of colors.ts and adjust them
[x] Delete colors.ts file


how to let kong start automatically

Following is my /etc/rc.d/rc.local
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.

touch /var/lock/subsys/local
/usr/local/bin/kong start > /home/ec2-user/log

And the kong doesn't start, following is /home/ec2-user/log
[ec2-user@ip-172-16-1-127 ~]$ cat log
ulimit is currently set to "1024". For better performance set it to at least "4096" using "ulimit -n"
[ec2-user@ip-172-16-1-127 ~]$ kong health
serf........not running
nginx.......not running

Error: Kong is not running at /usr/local/kong

  Run with --v (verbose) or --vv (debug) for more details
[ec2-user@ip-172-16-1-127 ~]$ kong health -v
2017/04/30 05:37:03 [verbose] Kong: 0.10.1
2017/04/30 05:37:03 [verbose] reading config file at /etc/kong/kong.conf
2017/04/30 05:37:03 [verbose] prefix in use: /usr/local/kong
2017/04/30 05:37:03 [verbose] reading config file at /usr/local/kong/.kong_env
2017/04/30 05:37:03 [verbose] prefix in use: /usr/local/kong
2017/04/30 05:37:03 [info] serf........not running
2017/04/30 05:37:03 [info] nginx.......not running
2017/04/30 05:37:03 [info]
Error:
/usr/local/share/lua/5.1/kong/cmd/health.lua:38: Kong is not running at /usr/local/kong
stack traceback:
	[C]: in function 'assert'
	/usr/local/share/lua/5.1/kong/cmd/health.lua:38: in function 'cmd_exec'
	/usr/local/share/lua/5.1/kong/cmd/init.lua:88: in function </usr/local/share/lua/5.1/kong/cmd/init.lua:88>
	[C]: in function 'xpcall'
	/usr/local/share/lua/5.1/kong/cmd/init.lua:88: in function </usr/local/share/lua/5.1/kong/cmd/init.lua:45>
	/usr/local/bin/kong:5: in function 'file_gen'
	init_worker_by_lua:38: in function <init_worker_by_lua:36>
	[C]: in function 'pcall'
	init_worker_by_lua:45: in function <init_worker_by_lua:43>

What does following error mean and how to enable auto start? thx
Error:
/usr/local/share/lua/5.1/kong/cmd/health.lua:38: Kong is not running at /usr/local/kong

you can use systemd for Control kong service.
First create kong.service file  :

vi /usr/lib/systemd/system/kong.service

and then put this lines in file :
[Unit]
Description= kong service
After=syslog.target network.target
[Service]
User=root
Group=root
Type=forking
ExecStart=/usr/local/bin/kong start
ExecReload=/usr/local/bin/kong reload
ExecStop=/usr/local/bin/kong stop
[Install]
WantedBy=multi-user.target
now you can Control kong by systemd :
systemctl start kong
systemctl stop kong
systemctl enable kong

Hi, hos7ein
Thank you for your quick response.
But I'm using amazon linux which is more like centos 6 and not based on systemd

I wish there was support for a PID file or foreground operation so Kong can be properly controlled by something like systemd or supervisord instead of its own faulty implementation...

@gjedeer there's already discussion for this: #928. And, systemd and supervisord are not the only init/process management processes available :) Kong at it's core seeks to be as platform agnostic as possible; indeed, it's up the distribution to maintain the daemon.
@iwasnobody what do you see in /usr/local/kong/logs/error.log? stdout isn't going to contain anything useful.

@p0pr0ck5 thanks! The current model looks good for the old good sysv init, but I have consistently found Kong dead and had to restart it manually. I'd rather use a supervising process manager than write scripts to connect to Kong's port and restart it if it's dead.

@p0pr0ck5 nothing in /usr/local/kong/logs/error.log

@iwasnobody are you sure /etc/rc.d/rc.local is getting executed?

@p0pr0ck5
the command in rc.local is changed and kong can be started in shell manually with the following command:
/usr/local/bin/kong start > /home/ec2-user/log
Since /home/ec2-user/log has shown
ulimit is currently set to "1024". For better performance set it to at least "4096" using "ulimit -n"
which will also popup when start kong manually
I guess the command in rc.local is definitely be executed.

@iwasnobody it sounds like you want to check your system config settings, kernel logs, etc. If you're able to start up kong normally via the CLI, then this issue isn't with Kong running, but your system configuration, which we cannot help with.

Closing this following no response. BTW for sysvinit systems its probably easier to just write an init script: https://www.cyberciti.biz/tips/linux-write-sys-v-init-script-to-start-stop-service.html

@hos7ein Thanks very much !.
I have made it auto startup and able to do the operations using systemctl .
It's perfectly working on Centos 7.5

your welcome @knowledgeshare99

you can use systemd for Control kong service.
First create kong.service file :
> # vi /usr/lib/systemd/system/kong.service

and then put this lines in file :
[Unit]
Description= kong service
After=syslog.target network.target

[Service]
User=root
Group=root
Type=forking
ExecStart=/usr/local/bin/kong start
ExecReload=/usr/local/bin/kong reload
ExecStop=/usr/local/bin/kong stop

[Install]
WantedBy=multi-user.target

now you can Control kong by systemd :
# systemctl start kong
# systemctl stop kong
# systemctl enable kong

Need to start after database service
After=syslog.target network.target postgresql.service

@eurodomenii in this case you're assuming to be using a PostgreSQL database. But Kong supports Cassandra and db-less mode too. Here's my suggestion:
[Unit]
Description=Kong
Documentation=https://docs.konghq.com
After=syslog.target network.target

[Service]
User=root
Group=root
Type=forking
ExecStart=/usr/local/bin/kong start
ExecReload=/usr/local/bin/kong reload
ExecStop=/usr/local/bin/kong stop

LimitAS=infinity
LimitRSS=infinity
LimitCORE=infinity
LimitNOFILE=4096

# All environment variables prefixed with `KONG_` and capitalized will override
# the settings specified in the `/etc/kong/kong.conf.default` file.
#
# Example:
#   `plugins` setting -> `KONG_PLUGINS` env variable
#
# Please refer to https://docs.konghq.com/latest/configuration for details.
#
#Environment=KONG_PLUGINS=bundled
#Environment=KONG_PREFIX=/usr/local/kong/

# Please be careful when linking non environment files using the
# EnvironmentFile directive as the systemd parser will only recognize
# environment variables assignments. For example, if you specify the file
# `/etc/kong/kong.conf.default`, it could contain some non environment
# variables assignments. In this case systemd will not allow the Kong service
# to be started. For this reason, we recommend specifying a different
# EnvironmentFile:
#EnvironmentFile=-/etc/kong/kong_env.conf

[Install]
WantedBy=multi-user.target

What do you think @p0pr0ck5 @hos7ein


[Bug]: Internet access to all devices on the same network is very slow

Version of the software
0.1.28
Operating system
Windows 10 Pro 21H2 - 19044.1415
Browser / Native
Native
What happened?

Open NordVPN, Connect to P2P and Turn ON "Internet Kill Switch"
Start a job on OpenBullet 2 and set Proxy mode: ON and Bots: 200
Disconnect from VPN
OpenBullet 2 will retry to do the job

Results:
All devices connected to the same network (Smartphones, PCs, TVs) will have VERY SLOW internet access, to the point that pages don't load and messages don't send.
To confirm it's OpenBullet 2 that is at fault for causing issues with internet access to all devices connected to the same network - Only when OpenBullet 2 is closed then internet access resumes to normal.
Relevant LoliCode if needed
No response

if it wouldn't be with the killswitch i'd say the NAT Table of your "Router" (the "" cause a Home-router is usually is not really a normal router but a NAT Gateway) gets spammed and so if the thing is not capable of that many connections, everything is slow which needs to pass through it.
But the killswitch should avoid exactly this.
🤔 But maybe it is not working while trying to reconnect? or it is badly implemented and does not block on your PC but sets the route to something non existing or your "router" or whatever.🤷
But overall it is not really a problem of OB2.
It is a problem of your Network and it's components which are not able to handle that insane amount of bots
(depending on config most home "routers" can handle 10-35 but not 200)

In this case, I would like to request a feature/change.
If a job is already running and the connection suddenly drops - abort job automatically instead of retrying.
Something like that would be possible?

It is indeed possible to add this (with a checkbox, default disabled) but it's very low priority so I don't see this being implemented anytime soon, reopen the issue if you want

So after some testing, I found out:
It's not a problem with my router or the settings (200 bots).
The issue occurs when the proxies (remote URLs) do not reload for whatever reason (downtime or temporary issue with the URLs).
Somehow it doesn't show an error or stop the current job.
Therefore I suggest the following:
If proxies fail to reload - abort job/try to reload after 10minutes.

I suggest you follow this issue
https://github.com/openbullet/OpenBullet2/issues/630


Upgrade rustdoc-types

Currently, cargo check-external-types fails with the following:
[...] The version of rustdoc being used produces JSON format version 28,
but this tool requires format version 27. [...]

That's because rustdocs bumped json-output format to  version 28.
<EMAIL_ADDRESS>contains this support change.
This crate should bump that dependency: https://github.com/awslabs/cargo-check-external-types/blob/4bbf5a80fced7e11fdf855537b4202e225596f67/Cargo.toml#L16
To
rustdoc-types = "0.24.0"

We definitely need to upgrade, but for future reference, you should pin the nightly version you use in CI to the one listed in the README (currently nightly-2023-10-10) so that you don't get caught off guard in the future.

rustdoc-types has been updated to 0.24 in the v0.1.11 release (against nightly-2024-02-07).


Add matchInsensitively policy condition

A new condition was added to allow users to match/notMatch case-insensitively in Azure Policy.

@pilor : Thanks for your contribution! The author, @DCtheGeek, has been notified to review your proposed change.

#sign-off


Conflict with vue-performance extension: Uncaught TypeError: hook.flushStoreModules is not a function

Version
5.0.1
Browser and OS info
Chrome Version 73.0.3683.86 (Official Build) (64-bit), W10 - Build: 17763.379
Steps to reproduce
Open browser with enabled vue-devtools
Open page with vue and vuex store under control
What is expected?
no error
What is actually happening?

Uncaught TypeError: hook.flushStoreModules is not a function     at initVuexBackend (backend.js:11839)     at connect (backend.js:1472)     at initBackend (backend.js:1382)     at handshake (backend.js:2696)
component no show

vuex no show

Encountered exactly the same issue on Chromium 72.0, Chakra Linux
chrome-extension://n…ld/backend.js:11839 Uncaught TypeError: hook.flushStoreModules is not a function
    at initVuexBackend (chrome-extension://n…ld/backend.js:11839)
    at connect (chrome-extension://n…ild/backend.js:1472)
    at initBackend (chrome-extension://n…ild/backend.js:1382)
    at handshake (chrome-extension://n…ild/backend.js:2696)
14:51:28.055
backend.js:11839 Uncaught TypeError: hook.flushStoreModules is not a function
    at initVuexBackend (VM26407 backend.js:11839)
    at connect (VM26407 backend.js:1472)
    at initBackend (VM26407 backend.js:1382)
    at handshake (VM26407 backend.js:2696)

Same error on Chrome 73.0.3683.86.
Uncaught TypeError: hook.flushStoreModules is not a function     at initVuexBackend (backend.js:11839)     at connect (backend.js:1472)     at initBackend (backend.js:1382)     at handshake (backend.js:2696)

Same here. Who reviewed that update? It has a lot of bugs!

@luffyli the only workaround to show components is to click 'Refresh' button within vue-devtools.

@luffyli the only workaround to show components is to click 'Refresh' button within vue-devtools.

@janswist Thank you

I can't reproduce this issue. Please provide a runnable reproduction.

Same problem here

same here too ;)

same here too ;)

Also try to update Chrome to newest version. Started to work a bit, but now I get this error:
index.js?58ae:126 Uncaught TypeError: Cannot read property 'defaults' of undefined
    at Store.authenticate (index.js?58ae:126)
    at wrappedMutationHandler (vuex.esm.js?2f62:697)
    at backend.js:12092
    at Array.forEach (<anonymous>)
    at loop (backend.js:12092)
    at replayMutations (backend.js:12109)
    at Bridge.<anonymous> (backend.js:12022)
    at Bridge.emit (backend.js:3205)
    at Bridge._emit (backend.js:3028)
    at backend.js:2953

@oliviermattei  Yeah. Seems to be a conflict with vue-performance extension.
Disabling it works.

The problem is apparently related to the vue-performance extension.
I have disabled vue-performance extension and it works well for me

I had the same and disabling vue-performance extension did the work :) thanks

Same error on 73.0.3683.86（正式版本） （64 位）
backend.js:11839 Uncaught TypeError: hook.flushStoreModules is not a function
at initVuexBackend (backend.js:11839)
at connect (backend.js:1472)
at initBackend (backend.js:1382)
at handshake (backend.js:2696)

Same error on 73.0.3683.86（正式版本） （64 位）
backend.js:11839 Uncaught TypeError: hook.flushStoreModules is not a function
at initVuexBackend (backend.js:11839)
at connect (backend.js:1472)
at initBackend (backend.js:1382)
at handshake (backend.js:2696)

when  disabled vue-performance extension and it works well for me

Same problem here

Same, subscribed.

Same problem

And I got some error. Screenshot below:

I already filed an issue for Vue-Performance extension - the solution is to add the missing code fragment to the hook.once("vuex:init" callback (as shown in the issue). If you patch yourself the Vue-Performance code you will have to re-add the extension using Load Unpacked menu in Chrome (which seems to be available in Developer mode only)

Same problem here

I remove Vue Performance chrome plugin, it works well for me

Same issue here. I disabled Vue Performance to skirt this issue.

Same problem here

Same problem here,help me. remove Vue Performance chrome plugin, it works well also.

same here too ;)
I have disabled vue-performance extension and it's work well now.

It works!!!

I have disabled vue-performance and dejavue extensions and it works well now

Same in Firefox 68.0b2

I remove Vue Performance chrome plugin. It can run successfully.

confirming that removing Vue Performance extension on firefox also solves my issue. otherwise the vuex will keep lading infinitely.

Error in v-on handler: "TypeError: _this.shareScreen is not a function"

The problem is apparently related to the vue-performance extension.
I have disabled vue-performance extension and it works well for me

It's true that I use this method，Thanks.


mat-form-field not rendering properly with *ngSwitchCase

Bug, feature request, or proposal:
Bug
What is the expected behavior?
Should show all the components of the dynamic form without any input
What is the current behavior?
Only shows the first component of the form until it is clicked. Then the rest of the form gets rendered.
What are the steps to reproduce?
StackBlitz link: https://stackblitz.com/edit/angular-taqfak

This was my fault. Did not include one of the modules.


Large prediction set when all classes but one have probability 0

Describe the bug
Using MapieClassifier with method="cumulated_score" produces large prediction sets (that include all classes) for instances where all probabilities are 0 except for 1 class where it's 1 (e.g. [1,0,0] produces a set with all 3 classes).
To Reproduce
from mapie.classification import MapieClassifier
import numpy as np
from sklearn.datasets import load_iris
from sklearn.model_selection import train_test_split
from sklearn.ensemble import RandomForestClassifier

X,y = load_iris(return_X_y=True)
X_train, X_calib, y_train, y_calib = train_test_split(X, y, train_size=100, random_state=2)
model = RandomForestClassifier().fit(X_train, y_train)
mapie_score = MapieClassifier(model, cv="prefit", method="cumulated_score")
mapie_score.fit(X_calib, y_calib)
y_pred, y_set = mapie_score.predict(X_calib, alpha=0.05,include_last_label=False)
y_set = np.squeeze(y_set)

When I filter all the sets that have size==3, and look at the probability vector, I get this result:
all_classes = np.sum(y_set, axis=1) == 3
model.predict_proba(X_calib)[all_classes]

array([[0.03, 0.94, 0.03],
       [0.  , 1.  , 0.  ],
       [0.  , 0.  , 1.  ],
       [0.  , 1.  , 0.  ],
       [0.  , 1.  , 0.  ],
       [0.  , 0.  , 1.  ],
       [0.  , 1.  , 0.  ],
       [0.  , 1.  , 0.  ],
       [0.  , 0.  , 1.  ],
       [0.  , 1.  , 0.  ],
       [0.  , 0.  , 1.  ],
       [0.  , 1.  , 0.  ]])

Expected behavior
I would expect that these cases would result in prediction sets with just one class.
Desktop (please complete the following information):

OS: MacOS
Python (3.10.7)
MAPIE Version 0.5.0

Additional context
This also occurred with the dry beans dataset, which has 7 classes and 13k instances. For the class that was simplest to classify, method="cumulated_score" would always produce sets containing all 7 classes. Both iris and dry beans have in common that they are "simple" in the sense that the model makes confident classifications with probability=1 for many instances.
Is that a bug, or intended behavior?
Seems like it has something to do with ties, but couldn't figure it out yet.
Thanks!

The same also happens when setting include_last_label=True.
When I pick include_last_label='randomized' one of the 0-probability classes is dropped.

Dear Christoph,
Thank you for your issue ! You are right about this problem. You have spotted a specific behavior that we didn't take into account. The reason of this error is the following:
When you use the cumulated score method, MAPIE sorts the outputs of the model in increasing order and do a cumsum over them. It then compares this cumsum to the quantile computed from the calibration conformity scores. When you have outputs with one value to 1 and all the others at 0, the cumsum is equal to one every where and always above the quantile. Hence, when we compute (line 410 in classification.py)
y_pred_index_last = (
                    np.ma.masked_less(
                        y_pred_proba_cumsum
                        - threshold[np.newaxis, :],
                        -EPSILON
                    ).argmin(axis=1)
            )

the index which is returned is not necessarily the expected one and might correspond to a score of 0. Then when we do this computation (line 835 in classification.py)
y_pred_proba_last = np.take_along_axis(
            y_pred_proba,
            y_pred_index_last,
            axis=1
        )

for observations with a 1 for a label and zeros everywhere else, it means that you will include all labels with a score greater than 0 in your prediction set.
To resolve this issue (while waiting for the release), you can add this line bellow the above mentioned code :
y_pred_proba_last[y_pred_proba_last <= EPSILON] = 1

We will keep you inform of the new release to correct this issue.
If you have any question about this or any other feature in MAPIE, do not hesitate :)
Vincent

This PR should solve your issue : https://github.com/scikit-learn-contrib/MAPIE/pull/255

Wow, that was quick.
Thanks for the explanations and the fix.


Tests for Ratio fail.

The tests for Ratio Int8 and Ratio Int64 fail with an arithmetic overflow. This is rather strange, given that the implementations of poke, peek, and size do not seem to be performing any kind of arithmetic.
Failures:

  test/Data/StoreSpec.hs:237:
  1) Data.Store, Manually listed polymorphic store instances, Roundtrips (GHC.Real.Ratio GHC.Int.Int8)
       uncaught exception: ArithException (arithmetic overflow)

  test/Data/StoreSpec.hs:237:
  2) Data.Store, Manually listed polymorphic store instances, Roundtrips (GHC.Real.Ratio GHC.Int.Int64)
       uncaught exception: ArithException (arithmetic overflow)

I've mitigated this in e9aa2be52fa9e8c37b74f06522507604bd135d85 . This became necessary because tests were failing while building docker images.

@mgsloan I think that this means that the smallcheck submodule is not needed anymore.

Yup, feel free to remove it!


docs: Image not rendered

https://kinvolk.io/docs/flatcar-container-linux/2605.7.0/reference/migrating-to-clcs/provisioning/
does not show
https://docs.flatcar-linux.org/os/img/ct-workflow.svg
as done in in https://docs.flatcar-linux.org/os/provisioning/ but only the alt text.

I fixed this in my latest submission to the docs.

I fixed this in my latest submission to the docs.


added test to add_or_update_file when file doesnt exist

Wrote test to check if file exists for the add_or_update_file function. Used pytest-mock for creating mocks and pytest. Fixes #5

@techy4shri Can you review this PR

@eleensmathew
can you just add screenshots , so that we can verify , all tests run well without any failure?

@eleensmathew
Can you just resolve the conflicts?

Make a new PR on a different branch with proper media to show the tests run and only change the file needed.

I think its closed?

I think its closed?

It is.


disable default weakrefing

i want to make sure that my observers do not disappear at any circumstance due to weakrefing, garbage collector, etc. - how can i achieve it?

You have to keep the observer in scope somewhere in the code. Can you send a self contained minimal working example of the problem you're trying to solve?

I think this probably has nothing to do with weakrefing. Weak references are used in this module to make sure that the observers do not prevent garbage collection of the things being observed. The lifetime of observers themselves depends on how your code maintains references to them...


⚠ Jenkins Plugins Artifactory has degraded performance

In 5eda64f, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1310 ms

Resolved: Jenkins Plugins Artifactory performance has improved in f5ac50d after 17 minutes.


Example code

Hi,
I wonder if there is any example code for using the GRiD?
Thanks

You can find some examples in timeGRiD.cu of using the CUDA code and in timeGRiD.py of invoking GRiD to generate the CUDA code here: https://github.com/robot-acceleration/GRiDBenchmarks
If you have thoughts on what examples would be the most useful — I intend to do some work on GRiD this summer to add some more features etc. so happy to try to add some examples or documentation for examples as well!

Thank you for the reply! Releasing of additional examples and documents would definitly help!
In face,t I find the repository online as I am trying to incorporate the rigid body dynamics algorithm into pytorch. May I quickly ask you if you think that would be possible if using GRiD?
Thanks

I think it totally should be -- I haven't used pytorch myself but I see no reason why that shouldn't work. If you find that you need different functions exposed let me know and I can work to try to get that going. I'd love to get more use cases and examples up this summer so very happy to send some time trying to expose APIs for what you need.
That said, if your primary use case is training large NNs and you want to run thousands of simultaneous simulations you may find that Brax may be what you are looking for as Brax is designed and optimized for thousands of simultaneous simulations while GRiD is designed and optimized for tens to hundreds. Also here is a link to a [colab]((https://colab.research.google.com/github/google/brax/blob/main/notebooks/training_torch.ipynb) using it with pytorch.

Hi,
Thanks for the reply and pointing out Brax!
I am interested in training the deep learning models. Brax is a good choice for large scale training but Brax has several limitations (my understanding may be wrong):

URDF file can not be easily imported
The imported models can not vary within a batch, e.g. the input data within a minibatch have different weights or different scales. I am wondering if we can easily scale body size and set weights?
Following the previous point, Brax is not able to backpropagate the gradients to mass and body scale (a physics enginee named NimblePhysics can realize these functions but it can not do batch processing).

Yah part of the reason I started working on my own library is that the existing ones didn't do what I wanted -- another new library that may be of use to you is https://github.com/erwincoumans/tiny-differentiable-simulator -- it definitely has the gradients but/and not sure if it has the other features!

I will take a look at that and thanks! I will close the issue for now. Looking forward to seeing the updates of this repository.


CLN: Move PeriodIndex.repeat to DatetimeIndexOpsMixin

[x] related to #6469
[x] tests added / passed
[x] passes git diff upstream/master | flake8 --diff

Current coverage is 85.28% (diff: 100%)

Merging #13995 into master will increase coverage by <.01%

@@             master     #13995   diff @@
==========================================
  Files           139        139
  Lines         50206      50210     +4
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits          42817      42821     +4
  Misses         7389       7389
  Partials          0          0

Powered by Codecov. Last update 6f88416...c627549

thxs!


Added new nighttime levels to career mode.

These levels make use of the new night onion gimmick.

These new levels are pretty brutal! I'll be curious what others think. They're very dependent on your memory.


Terramine Incompatibility

Mod Link here:
https://www.curseforge.com/minecraft/mc-mods/terramine
It gave me a error because of a mixin
Crash log here:

com.tungsten.fcl

As I have previously stated, unofficial, android launchers like Pojav or FCL are NOT supported.


Implemented lecterns

The NBT changes are based on vanilla Minecraft. Everything that does not define the item type goes inside the tag field.

This should be ready for review now.


[SMALLFIX] Use static import for standard test utilities

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/3323/
Test PASSed.

alluxio-bot, merge this please


fix: wrong documentation url lead to page not found

Motivation
page not found when clicking documentation url on readme.md
Description
Fixes (issue #)
user can redirect to the right documentation page. add /docs/ to the url.
Test plan
click the documentation url
Checklist

[ ] I have added a decision record entry, PR includes changes to monorepo setup that may require explanation

Thank you for fixing these links @ddikodroid!
You need to sign Contributor License Agreement, and then we can merge this PR 😊

I've signed the CLA. How to resume the action?


nodejs dependencies deprecated.

When getting from nodejs it throws warnings about dependencies being in @mapbox namespace.
While @mapbox/leaflet-omnivore is pointing to ones without @mapbox namespace

did u solve the issue ?

I really don't remember, but I believe I ignored it.


Fix QoS 1 message delivery after server restart

Resolved an issue where persisted QoS 1 messages were not correctly loaded into the appropriate client instance during server startup.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>7
Details

9 of 9 (100.0%)  changed or added relevant lines in 5 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.002%) to 98.625%

Totals

Change from base Build<PHONE_NUMBER>6:
0.002%

Covered Lines:
6168

Relevant Lines:
6254

💛  - Coveralls