dts: pinctrl: Introduce pincfg-node and convert Atmel SAM as example

Many data items that are represented in a pin configuration node are common and generic.  Pin control bindings should use the properties defined on a standard way when are applicable; not all of these properties are relevant or useful for all hardware or binding structures.  Each individual binding document should state which of these generic properties, if any, are used, and the structure of the DT nodes that contain these properties. This intents to have a standard name in devicetree and be closer to Linux to easy understanding.
This is based on Linux, documentation:
https://www.kernel.org/doc/Documentation/devicetree/bindings/pinctrl/pincfg-node.yaml
The Atmel SAM was converted to use pincfg-node schema as an example for other follows.
Since this is platform dependent the best path is introduce the common schema and than migrate platforms when appropriated.

LGTM, one comment:
stm32 defines slew-rate as a string enum, will it be overriden correctly? ref. https://github.com/zephyrproject-rtos/zephyr/blob/master/dts/bindings/pinctrl/st%2Cstm32-pinctrl.yaml#L76.
I understand that STM32 can move back to int if it ends up being a problem.

Zephyr will expand all names that were declared when running dts preprocessor. I mean, if you move the enum names to STM32 include files, that are included in the dts preprocessor, that it will be expanded. Inclusive, the #28779 was motivated because of this behavior.
In my understanding, names in the devicetree files that allows users have a better understanding about the property can be expanded and should be used. However, at driver level, you won't be able to use the DT_ENUM_* as limitation, in this case.
Maybe @galak can help us to get the best view on this topic.

Hello @mbolivar-nordic ,
I addressed nits as you suggested.

validation

It's not always clear what properties can be used together. In some cases, like bias-pull-up and bias-pull-down, it is, but other times I don't quite know. What if I put bias-disable together with bias-high-impedance? Legal?
If we are going to merge this with all these properties, I'd like to see a macro which lets us check that a node is defined correctly and isn't mixing anything it shouldn't be.

You suggestion is a valid one and I really appreciated the proposal. However, I think it will be difficult combine in devicetree all platform rules because they can be divergent. The example that you pick is the most used and it can't be put in a rule, why? Atmel not allow bias-pull-up and bias-pull-down simultaneous however cypress admit and it is valid combination.
I think we should not try bring platform validation to devicetree because, eventually, we will face problems, like I just mention. At platform level, in general at drivers, validation must be check anyway because there are API's that can switch configurations, for instance. if it is not implemented now it can be in the near future. If we start to check the rules with macros may duplicate validation and bring more complexity to find bugs and errors over time.
What initially I've been working is populate bits to a variable that can be checked at pinctrl drivers somehow. If user add a property that platform don't support that is just ignored at build time. I mean, the property is not evaluated and no bit is set in the variable. These open possibility to populate devicetree with valid data even if not currently used.
I'll send another update to remove the Can be used together with bias-pull-xx part to make it simpler to understand.

@galak, @mbolivar-nordic IIRC we discussed about a way to be picky in the yaml binding inclusion (via the use of allowlist, or excludelist).
Would it be doable/acceptable to exclude the slew-rate (int) property from pincfg-node.yaml inherit, and add a new slew-rate (enum) property in stm32-pinctrl.yaml ?

@galak, @mbolivar-nordic IIRC we discussed about a way to be picky in the yaml binding inclusion (via the use of allowlist, or excludelist).
Would it be doable/acceptable to exclude the slew-rate (int) property from pincfg-node.yaml inherit, and add a new slew-rate (enum) property in stm32-pinctrl.yaml ?

Oops, merged this before seeing @erwango comment.   Are we able to override the slew-rate in the stm32 to be an enum?

Are we able to override the slew-rate in the stm32 to be an enum?

Not as is.
The only way I see to support this is the above proposal if you and @mbolivar-nordic confirm this is doable/achievable.

Not as is.
The only way I see to support this is the above proposal if you and @mbolivar-nordic confirm this is doable/acceptable.

Yeah, re-opening my stale PR on that feature.


Python tools goto-definitions not work for python variables

My current version of system:
ATOM:1.44.0
Python-tools:0.6.9
Linux:18.04
python:3.6
while use of goto-definitions, It works fantastic on methods and functions
could not recognized python variable defined into and outside the current file
once we have improved that it will be a great feature from python -tools

sorry cannot use this account


RPC implementation via FFI

This is a full implementation of the native RPC spec based on Rust FFI https://github.com/livekit/rust-sdks/pull/461
It includes documentation and a complete working example.

@theomonnom this has been updated to remove the unneeded asyncs (based on FFI refinement you helped with earlier this week) and the addition of docs in the README.


How can I get the "musical" chordname from a chord?

It seems possible to get the "Musical"-notes from a "MusicTheory.Chord" object by using "Parse".
But how can I get the "musical-name" of a "SMF.Interaction.Chord" object?
(Musical Name:  e.g: "Cmaj")
Thanks and best regards
Thomas

Hi Thomas,
Do you want to have method like ToMusicalName on Interaction.Chord or Parse one? At now you cannot get musical name neither for MusicTheory.Chord nor for Interaction.Chord. But it looks like useful feature. So I'll add it to my backlog. Thank you!
Max

Hi Max,
Yes, this is the idea: With the chord-manager, I‘m getting all the chords - e.g. from a chunk. But I would like to show the „musical name“ of these chords in my GUI.
My proposal: Interaction.Chord.ToString() could do that....
Thanks to you, Max!
Regards
Thomas

Thomas,
I'll implement the feature within this issue so please don't close it.

👍👍


I see only a black window when I execute molly wallet

Operating System: Gentoo Linux
Window Manager: i3, sway
It used to work. After system upgrade, it shows only black screen.
I built wails with go get -u github.com/wailsapp/wails/cmd/wails and molly_wallet with ~/go/bin/wails build.
The built binary shows a black window before and after system upgrade.
https://github.com/StardustCollective/molly_wallet/releases/download/v2.1.0-ubuntu/mollywallet-2.1.0-Ubuntu_18_04.gz shows a black window after system upgrade.

The latest release now includes Linux build: https://github.com/StardustCollective/molly_wallet/releases/tag/v2.1.1

I tested the linux build for 2.1.1. The issue isn't fixed, yet.


Use cloudcutter for led strip with firmware version 1.0.12

Hi,
I bought a unbranded LED strip on bol.com and want to flash openbk on it. The version is not listed in the tool and also not listed on the list of not vulnerable firmware versions and it has a Beken BK7231N chip.
I tried some other profiles but got stuck with: "The profile you selected did not result in a successful exploit". Is it possible to add support for the device?

We can't add support for a device without at least one device getting a firmware dump.  If you are able to provide a firmware dump, please re-open this issue with the fimrware dump attached.


Add xscen functions

Pull Request Checklist:

[x] This PR addresses an already opened issue (for bug fixes / features)

This PR fixes #19

[ ] (If applicable) Documentation has been added / updated (for bug fixes / features).
[ ] (If applicable) Tests have been added.
[ ] HISTORY.rst has been updated (with summary of main changes).

[ ] Link to issue (:issue:number) and pull request (:pull:number) has been added.

What kind of change does this PR introduce?

Adds a few xscen functions to xhydro, mainly related to the computation of indicators and hydroclimatic statistics.

Does this PR introduce a breaking change?

Deleted xhydro.py. I don't think that we'll ever need this file, but it can be readded later.

Other information:

The failures are due to a packaging issue with xESMF. Let me see if I can find the discussion...

If that's fine with you, I'd wait for #27 for the documentation, since we'll be able to leverage the notebook that has been started there.


Ngrok, nssm, mkcert should be a dependency of ddev, why not?

The Problem/Issue/Bug:
We've been telling people complicated things to install ngrok. We bundle nssm and mkcert in the installer, but they should probably also be dependencies.
Note that #1925 also proposes to add ngrok to the installer, which is appropriate.
How this PR Solves The Problem:
Make those 3 things dependencies for ngrok.
Manual Testing Instructions:
This will have to be tested with a real pre-release in choco.
Related Issue Link(s):
#1925 proposes to bundle ngrok with the installer, which I still think is fine.
Release/Deployment notes:
I'm concerned about the lack of version requirements. My assumption is that chocolatey upgrades to current when you upgrade ddev.

You should wait with the merge until the Windows installer is updated and merged to avoid conflicts

I'm fine with that... I assume you mean you want to make a PR that will detect whether these already exist? There's no innate merge conflict here, as this is chocolatey-land. And of course you know that your main PR is merged and released.

And of course you know that your main PR is merged and released.
Yes, used it before to upgrade again after the downgrade


props.history and context.history are deprecated. Please use context.router

I get this error with react router 2.7.0 and react-router-form 1.0.2
http://tiny.cc/router-contextchanges

I am sorry, juste realized that I did not install the @next version.


refactor: manage config cache just like in the original codeigniter source code

The problem of the path to the tests can be solved much more simply. Unfortunately, I hadn't thought of that before.

Genius


Support for Linear vs Plasmid DNA mechanisms

Mechanisms to add:
Linear DNA should be degraded
GamS degredation inhibition
Should this be done with global mechanisms? Some other way?

Note that this can be succinctly modeled in by using attributes and global mechanisms.

circular is an attribute that a DNA_construct has, and right now it only affects how we are detecting transcription and translation. OrderedPolymers can have attributes but making an OrderedPolymer have attribute circular does nothing. What it should do though, is make sure that equality between circular constructs works when they are rotated. Likewise, equality of reverse constructs should work.

This can just be done via an example notebook with existing mechanisms

Do not need to natively support this - can be implemented in 3 lines. Maybe add an example?


clean up gradle etc

@yonghaoy fyi, looks like we had a flaky test run:
https://github.com/DataBiosphere/terra-rbs/pull/51/checks?check_run_id=1360159751
found in the stdout log, not sure if it's the cause of the error or a red herring.
2020-11-05 20:21:36.901  INFO 16419 --- [ool-34-thread-1] b.t.r.s.r.flight.CreateDnsZoneStep       : Error when configuring DNS
com.google.api.client.googleapis.json.GoogleJsonResponseException: 503 Service Unavailable
GET https://dns.googleapis.com/dns/v1/projects/p3d180e76-7193-411e-b5a7-d3e6d/managedZones/private-google-access-dns-zone
{
"code" : 503,
"errors" : [ {
"domain" : "global",
"message" : "Backend Error",
"reason" : "backendError"
} ],
"message" : "Backend Error"
}

This is the 1st time I saw this error, I don't think rbs test is flaky: https://github.com/DataBiosphere/terra-rbs/actions.
I just hit re-run and see if the error persists. But seems to be red herring through


Show Definition Preview Hover doesn't pop up in some situations

I use shift+tab all the time to look at documentation in jupyter lab. In VSCode, I have the keybinding set up for "Show Definition Preview Hover" (editor.action.showDefinitionPreviewHover) as shift+tab.
Unfortunately, in many situations, the full definition doesn't pop up. I think this generally is true when I'm calling a method rather than a function, e.g., see the picture below (which just says 'merge: Any' instead of the result of making a new Jupyter cell and typing ?pd.DataFrame.merge, which is what I would like to see instead)

This has been my primary problem with vscode for a very long time and is essentially the only reason that I continue to use the browser-based jupyter notebook. I'd much prefer to work exclusively in vscode if I could.
Is there plans to extend the functionality of the Hover feature to make sure it always shows docstrings if they exist, even for method calls on an object in the middle of a line? I've met many other people for whom this is the only reason they don't use VSCode for everything, so it might be worth it to give this issue an extremely high priority.

Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue.
Happy Coding!

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Decimal(None) misrepresented by raven

Use case:
from decimal import Decimal
import raven.contrib.django.models
try:
  x = Decimal(None)
except:
  raven.contrib.django.models.client.captureException()

The error reported within sentry is different from the one it should be reported.

This is correctly handled in master I believe


Bump target Android API to 29 (close #357)

Update and test the tracker with Android 10 (API 29).
Update dependencies and migrate to AndroidX.

@snowplow/com-snowplowanalytics-engineering-datavalue : notifying you in case you want to review before I merge it tomorrow.


Use Lightweight Atlas Components - Medical Illustration Viewer : Hover not working

FTU Explorer > Medical Illustration Viewer component is not working.
When you click on "use app" button, it opens the component but the the side scroll bar is disappears when you hover over any of the the illustration.
https://github.com/hubmapconsortium/hra-ui/assets/117299113/52a4f796-5284-44f2-88ac-5a1948bcaab6

@supriyabidanta I have pushed a fix and verified that it works on my computer. Could you please double check that it works on your computer as well before we close this issue?

@supriyabidanta There is not supposed to be a sidebar but it should show tooltips when hovering over cells


[ListPage] React 0.14.0 breaks the ListPage component

Works fine under 0.14.0-rc1, but when I updated to the release version it broke. The headers are displayed correctly but not the rows, and I have a 'not a component error'..
I have a commit that does just the migration and it works well before and not after, so I'm sure the problem is there.

@JabX It seems quite strange. Can you provide a stack trace or come in our office to talk about it.

@JabX do you still have this issue because other projects don't have it cc @Pandakls

@JabX reopen it if still an issue.

Okay so to be honest the problem came from something particular that I was doing on my end that worked fine until 0.14. Basically, i was defining the Line component of my List directly in the class definition (using lineComponent={this.line} to access it in a mixin), and that broke. Wrapping it in a getLine() function did the trick.
I had the exact same problem with the same fix somewhere else a while ago...

Thanks for your answer. We will now be able to identify this type of problem, or at least check for it.


Update index.ts

Hi @academicgit ,
Thanks for the effort, but this change is not needed. Feel free to reach out if you have any questions.
Keep contributing!


There is an issue with icon display when the sidebar is closed

The issue seems to be on .el-sub-menu__title having:
padding-right: calc(var(--el-menu-base-level-padding) + var(--el-menu-icon-width));
Let's see what they find.

icon logo  not exit , i will fix  it in next versionn


add failing test for unicode headers (python 2.x only)

This adds a failing test for unicode headers in python 2.x (I've tested python 2.6)
I've tried to fix this the original problem is that in utils.py (line 149) doesn't check for unicode, or rather that it doesn't import the str and bytes definitions from compat). However, you might want to change the order of the definitions of str and bytes for python 2 in compat, because, at the moment, they end up both being defined as unicode.
Right, so, if one fixes this (I've got the code if you want that too), and then there ends up being a problem with gevent's socket just calling data.decode(), which fails on my linux box, because that ends up trying to convert everything to ascii (which seems to be default behaviour).
I can work around this by making sure I only ever pass py2's strs as keys and values, but I'd like to make it work if you can point me in the right direction.

Thanks a lot! We'll have to fix this.


Remove jQuery dependency

I noticed the only place jQuery is being used is resources/views/sortable.blade.php
...
const fromOrderedIds = $(evt.from).children().map((index, child) => child.id).get();

const toOrderedIds = $(evt.to).children().map((index, child) => child.id).get();

I updated this locally to make it work without jQuery:
const fromOrderedIds = [].slice.call(evt.from.children).map((child, i) => child.id);

I can make a PR if you'd like

Hey @messerli90
That's interesting. Looking forward to the PR! 👍

+1

Thanks @messerli90 for the suggested enhancement. I've just added it to v2.0.0. 👍


Update stream-collector submodule to latest commit (close #4518)

Closing in favor of https://github.com/snowplow/snowplow/pull/4520


Fix packed transaction version conversion -- Release 2.1.x

Change Description

https://blockone.atlassian.net/browse/EPE-579
In Jungle testnet, LIBs were not advancing in a mixed of Rel. 2.0.x and Rel. 2.1.x nodes.
This was due to 2.0.x validation failure of blocks produced by 2.1.x, and in turn caused by
incorrect conversion between packed_transaction_v0 and packed_transaction_v1.
The solution is to make sure a conversion does not stripped any data.
New test cases are added.
Change Type
Select ONE:

[ ] Documentation

[x] Stability bug fix

[ ] Other

[ ] Other - special case

Testing Changes
Select ANY that apply:

[x] New Tests

[ ] Existing Tests

[ ] Test Framework

[ ] CI System

[ ] Other

Consensus Changes

[ ] Consensus Changes

API Changes

[ ] API Changes

Documentation Additions

[ ] Documentation Additions

Thanks @heifner and @b1bart!


package-lock.json isn't commited

While not an impediment for build or deployment, the file (according to the documentation) "is intended to be committed into source repositories":
https://docs.npmjs.com/files/package-lock.json
And makes a difference when building elsewhere avoiding compatibility issues between module versions.

It's intended to be committed in case you are building an application. Not really when you are building a library


HELP!!  KeyError: 'ann_info' Only during evaluation process

Describe the bug
I converted my dataset to Coco format and trained it. The training set validation set is the same. When the program starts validation, the following error is reported.If my data set is formatted incorrectly, then why did it not report errors during training? I used the same pipline to read the training and validation sets

Traceback (most recent call last):
File "tools/train.py", line 187, in lt;module>
The main ()
File "tools/train.py", line 183, in main
Meta meta =)
The File "/ home/tcexeexe/dataDisk1 / mmdetection/mmdet/apis/train. Py", line 170, in train_detector
Runner. The run (data_loaders, CFG. Workflow)
The File "/ home/tcexeexe anaconda3 / envs/open - mmlab/lib/python3.7 / site - packages/MMCV/runner/epoch_based_runner py", line 125, in the run
Epoch_runner (data_loaders [I], * * kwargs)
The File "/ home/tcexeexe anaconda3 / envs/open - mmlab/lib/python3.7 / site - packages/MMCV/runner/epoch_based_runner py", line 54, in train
Self. Call_hook (' after_train_epoch ')
The File "/ home/tcexeexe anaconda3 / envs/open - mmlab/lib/python3.7 / site - packages/MMCV/runner/base_runner py", line 308, in call_hook
Getattr (hook, fn_name) (self)
The File "/ home/tcexeexe dataDisk1 / mmdetection/mmdet/core/evaluation/eval_hooks py", line 146, in after_train_epoch
Results = single_gpu_test(runner.model, self.dataLoader, show=False)
The File "/ home/tcexeexe dataDisk1 / mmdetection mmdet/apis/test. Py", line 25, in single_gpu_test
For I, data in enumerate(data_loader):
The File "/ home/tcexeexe anaconda3 / envs/open - mmlab/lib/python3.7 / site - packages/torch/utils/data/dataloader py", line 517, in next
Data = self. _next_data ()
The File "/ home/tcexeexe anaconda3 / envs/open - mmlab/lib/python3.7 / site - packages/torch/utils/data/dataloader py", line 1199, in _next_data
Return the self. _process_data (data)
The File "/ home/tcexeexe anaconda3 / envs/open - mmlab/lib/python3.7 / site - packages/torch/utils/data/dataloader py", line 1225, in _process_data
Data. Reraise ()
The File "/ home/tcexeexe anaconda3 / envs/open - mmlab/lib/python3.7 / site - packages/torch / _utils. Py", line 429, in reraise
Raise the self. Exc_type (MSG)
KeyError: Caught KeyError in DataLoader worker process 0.
Original Traceback (most recent call last):
The File "/ home/tcexeexe anaconda3 / envs/open - mmlab/lib/python3.7 / site - packages/torch/utils/data / _utils/worker. Py", line 202, in _worker_loop
Data = fetcher. The fetch (index)
The File "/ home/tcexeexe anaconda3 / envs/open - mmlab/lib/python3.7 / site - packages/torch/utils/data / _utils/fetch. Py", line 44, in the fetch
Data = [self.dataset[IDX] For IDX In Possibly_Batched_Index]
The File "/ home/tcexeexe anaconda3 / envs/open - mmlab/lib/python3.7 / site - packages/torch/utils/data / _utils/fetch. Py", line 44, in & lt;listcomp>
Data = [self.dataset[IDX] For IDX In Possibly_Batched_Index]
The File "/ home/tcexeexe/dataDisk1 / mmdetection/mmdet/datasets/custom. Py", line 191, in the getitem
Return the self. Prepare_test_img (independence idx)
The File "/ home/tcexeexe/dataDisk1 / mmdetection/mmdet/datasets/custom. Py", line 234, in prepare_test_img
Return the self. The pipeline (results)
File "/ home/tcexeexe/dataDisk1 / mmdetection/mmdet/datasets/pipelines/compose. Py", line 40, in call
Data = t (data)
File "/ home/tcexeexe/dataDisk1 / mmdetection/mmdet/datasets/pipelines/loading. Py", line 367, in call
Results = self. _load_bboxes (results)
File "/ home/tcexeexe/dataDisk1 / mmdetection/mmdet/datasets/pipelines/loading. Py", line 241, in _load_bboxes
Print (results [' ann_info '])
KeyError: 'ann_info'
Reproduction

What command or script did you run?

CUDA_VISIBLE_DEVICES=1  python tools/train.py configs/panda/cascade_rcnn_r50_fpn_1x_coco_round1_panda.py

Environment
Python: 3.7.10 (default, Feb 26 2021, 18:47:35) [GCC 7.3.0]
CUDA available: True
GPU 0: GeForce GTX 1660 Ti
GPU 1: Tesla M40 24GB
CUDA_HOME: /usr/local/cuda
NVCC: Build cuda_11.0_bu.TC445_37.28540450_0
GCC: gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
PyTorch: 1.8.0
PyTorch compiling details: PyTorch built with:

GCC 7.3
C++ Version: 201402
Intel(R) Math Kernel Library Version 2020.0.2 Product Build 20200624 for Intel(R) 64 architecture applications
Intel(R) MKL-DNN v1.7.0 (Git Hash 7aed236906b1f7a05c0917e5257a1af05e9ff683)
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_INFO=mkl, BUILD_TYPE=Release, CUDA_VERSION=10.2, CUDNN_VERSION=7.6.5, CXX_COMPILER=/opt/rh/devtoolset-7/root/usr/bin/c++, CXX_FLAGS= -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -fopenmp -DNDEBUG -DUSE_KINETO -DUSE_FBGEMM -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -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-unused-local-typedefs -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -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, LAPACK_INFO=mkl, PERF_WITH_AVX=1, PERF_WITH_AVX2=1, PERF_WITH_AVX512=1, TORCH_VERSION=1.8.0, USE_CUDA=ON, USE_CUDNN=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,

TorchVision: 0.9.0
OpenCV: 4.5.1
MMCV: 1.2.7
MMCV Compiler: GCC 7.5
MMCV CUDA Compiler: 11.0
MMDetection: 2.10.0+
Bug fix

hi @tcexeexe , I think you have a small mistake in the code (line 238), where you should have written pipeline=test_pipeline, then dataloader will not come to this line. Because this is a test mode now. I hope that you did not include LoadAnnotations in test_pipeline, but if there is, make sure to remove it.


[Autocomplete] Prioritize 'else' over NWScript functions

Current state:

Hitting enter or tab autocompletes to EffectSleep. Ideally would/should prioritize else instead of NWScript options.

The CompletionItemsProvider does not return any of the language's control keywords. I've asked myself if it actually should during the implementation, and after considering the facts that a) this is something no other language LSP does, b) there is already plenty of completion items to deal with for vscode with the global scope of nwscript and c) we don't really need control keywords as completion items as they are quick to write and not something we will tend to forget, I've decided not to add them.
Same goes for the language basic types, directives, etc.


Suppress Capybara javascript errors

This PR adds js_errors: false option to driver initialization so it won't throw exceptions when there is any javascript errors on Instagram side. Fixes #18

@beydogan you sir, are awesome. Thank you. Will merge this ASAP.


How to test the model on new affordance type

Hi,
Thanks for the work and the open-source code.
I am wondering how to test the model for a new affordance type? Currently, it seems that the affordance types are fixed-sized for both seen and unseen setting. To inference on the provided model checkpoint, it seems we have to provide the affordance type (index) that is pre-defined in an affordance list.

Hi, the affordance categories are fixed in testing, as the datasets used do not support open-vocabulary evaluation.
For novel affordance inference, you'll need to make an inference code and modify the input text here: https://github.com/Reagan1311/OOAL/blob/b65857c0d3e047d665a92d1c80044f8234c87c56/models/ooal.py#L52.

Thanks. Could you elaborate more on the inference code? For example, for your visualization in figure 11, when inputing a new affordance, do you use the same trained model on the AGD20K categories? If so, do you keep the number of categories the same, and substitute the class_names with novel affordance label? I am wondering how you manage the class_names during inference given a new affordance label.

Sorry for the late reply. Yes, the same trained model is used. The class_names is replaced with the novel affordance label during inference. You need to provide the affordance index only for evaluation, as this is how AGD20K is evaluated.

Great. Thanks for the clarification.


Resizing a window horizontally still breaks the Mica Effect.

A year ago, a user posted  about this issue, and it was closed. Well, on version 13.0.0 and every version I install, regardless if it is .exe or .msix, it still occurs. When you try to resize any window that is using MFE, when you drag on the right and left sides of it, the Mica/Acyrlic/Tabbed effect goes away and the window fills up with your accent color.
Expected behavior
The effect from MFE is not supposed to disappear when dragging the right and left edge of the window.
Here is a video of it.
https://github.com/MicaForEveryone/MicaForEveryone/assets/75167869/87098bd4-7a63-4397-979a-de4a54bf17dd
Windows Version
Edition	Windows 11 Home
Version	22H2
Installed on	11/17/2022
OS build	22621.1928
Experience	Windows Feature Experience Pack 1000.22644.1000.0

Try https://github.com/MicaForEveryone/ExplorerFrame/releases/tag/v<IP_ADDRESS>?

That fix the issue from dragging right to left, but when I open file explorer, it opens without the mica effect, and only when I click off does it and return does it apply it. Same thing with the run window. Notepad opens correctly.
https://github.com/MicaForEveryone/MicaForEveryone/assets/75167869/fbf270f4-415a-42b1-9c29-8b12eae4bef3

Strange. ExplorerFrame is supposed to apply the effect when a new FE window opens.

This is either a bug in Windows or the app you're using, There's nothing to do with Mica for Everyone to fix this.


pull request for e2e test at 11/26/2016 00:56:04

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


dev-<IP_ADDRESS>351

Try #0 Compilation failed for master branch.
Try #1 Branch dev-<IP_ADDRESS>351 not found.
Unable to compile trainer for version <IP_ADDRESS>351. Please file an issue here :
https://github.com/sailro/EscapeFromTarkov-Trainer/issues

Did you run sptaki one time before trying the installer?

I have many times

This is not expected to work, given we do not support this version. You can try to re-run the newest installer it will try to disable faulting features like this:


Stops after first file errors

Hi, if I have 100 files, and switch on a new check, I cannot easily see all the problems across all the files, because this bazel plugin stops after the first file errors.

Have you tried bazel -k (or whatever stands for keep going)

Thank you!


Incidents: Add the ability to edit incident details

🚀 Feature Proposal
Add the ability to edit a reported incident.
Motivation
One an incident has been reported, the system must provide a way to update it, to correct any mistakes or provide a progress update.
Technical Details
Incident Model
Add the following new fields to the incident model
reportedTo: string

Incident View Form
Make the following fields editable on the current view form: department, category, category item, description, incident reported to, patient impacted (introduced via #2493)
Footer

Add a new footer button "Update" which will save changes made by the user.

can i be assigned @blestab ?

Thanks @mohitdmak

Hi @mohitdmak, compliments of the season and best wishes for 2021!
Just checking how this work is going.

Hi @mohitdmak, compliments of the season and best wishes for 2021!
Just checking how this work is going.

Hello @blestab
Extremely sorry for the delay, and sorry for the late reply too, I got stuck in using functions from imports and was learning the stuff in documentation which I don't know, and just had my college exams too.
If the issue is urgent or if anyone else wishes to finish this quickly, you may please do so meanwhile I am still working on understanding how to make changes.
Once again, sorry and I will update you if I get any leads..
Thankyou

@blestab could i take this one?

@riiniii ok

apologies moving countries rn so will get to it this week

@tehKapa
what values can reportedTo be?
will it map to another username (so maybe like user.name, patient.name, etc.) or just any string value representing a name?


Added EmbeddedGPT

Added EmbeddedGPT for embedded system enthusiasts :
https://github.com/mdabir1203/EmbeddedGPT

Hi @mdabir1203! Thank you for your information proposal. I will add this information to the list next update. Also, I would like to add you as a contributor. Could you please send a pull request, using the next pull request as a reference? Please add the next line in README.md to the category you wish to add and send a pull request.
 * [EmbeddedGPT](https://github.com/mdabir1203/EmbeddedGPT) - Embedded Systems and GPT: Shaping the Future Together

Reference:
https://github.com/taishi-i/awesome-ChatGPT-repositories/pull/20/files
If there's no need to add you as a contributor, I will add your repository, so no worries in that case. Thank you in advance.


Cache Busting

Hello this is more of a question on how/if you implement cache-busting. I am currently using react-env in a production application and we are often updating ENV vars. However, the file is cached for users and for us devs during testing. Just wondering if you ran into this as well.
Very useful library, really appreciate this work! 👍

Interesting, have never encountered cache issues with the __ENV.js file. Totally possible .
You could append the next.js build number  e.g.
script="__ENV.js?87373838837282838"

Thanks for your prompt reply here!
We ended up going with a similar solution. A script that adds  script="__ENV.js?<hash>" where the  is of all REACT_APP variables in the environment. We use this in our entrypoint.sh in our Dockerfile so that we can bust the cache without rebuilding the app.

Great news. I will make a note in the readme


Revert "Allow for non-external lookup of libSwiftScan symbols and centralize the scanning instance use in the driver."

Reverts swiftlang/swift-driver#1696
Caused unexpected CI failures.

@swift-ci test


Insufficient tooling for filtering sensitive requests

Hey, love the tool overall, but I don't think it works for what must be an extremely common use case. I'm testing something that does (1) sent an auth request, (2) use that auth to make a request.
From the docs, there are before_record_request and before_record_response, but neither of these seem to help. If I completely scrub the request as recommended with:
def before_record_cb(request):
    if request.path == '/login':
        return None
    return request

Then this will send a live login request every time the test runs. So I need this recorded, but with the returned auth data scrubbed. Then I turn to using before_record_response.
The problem here is I have no way of identifying which request is the auth request since I only receive the response data in that method. AFAICT the only way around this is to infer based on the response data, which seems pretty hacky.
I think this would be solved if the method signature was before_record_response(response, request)? Then something like this would be possible:
def before_record_response(response, request):
    if request.path == '/login':
        return None
    return response

I am also using an API where I must (1) send an auth request, and (2) use that auth to make a request. Here's how I configured VCR:
def _scrub_username_and_password_from_body(request):
    if request.body:
        data = json.loads(request.body)
        if 'username' in data:
            data['username'] = "REDACTED_USERNAME"
        if 'password' in data:
            data['password'] = "REDACTED_PASSWORD"
        request.body = json.dumps(data).encode()
    return request

def _scrub_access_token(response):
    if response['body']['string']:
        data = json.loads(response['body']['string'])
        data['access_token'] = "REDACTED_ACCESS_TOKEN"
        response['body']['string'] = json.dumps(data).encode()
    return response

@vcr.use_cassette(  # type: ignore
    before_record_request=_scrub_username_and_password_from_body,
    before_record_response=_scrub_access_token,
    filter_headers=[
        ("Authorization", "REDACTED_AUTHORIZATION"),
    ],
)

We (Cybersecurity Development at University of Illinois) had the same problem, and our solution is a custom YAML serializer method. This allows us to inspect the request and match based on URL, then modify the response that gets recorded.
@pytest.fixture
def cassette(request) -> vcr.cassette.Cassette:
    my_vcr = vcr.VCR(...)
    my_vcr.register_serializer("cleanyaml", CleanYAMLSerializer)

    with my_vcr.use_cassette(f'{request.function.__name__}.yaml',
                             serializer="cleanyaml") as tape:
        yield tape

class CleanYAMLSerializer:
    def serialize(cassette: dict):
        for interaction in cassette['interactions']:
            clean_token(interaction)
            clean_search(interaction)
            clean_new_ticket(interaction)
        return yamlserializer.serialize(cassette)

    def deserialize(cassette: str):
        return yamlserializer.deserialize(cassette)

def clean_search(interaction: dict):
    uri = f"{URL}/path_we_need_to_sanitize"
    if interaction['request']['uri'] != uri:
        return
    # ... more cleaning


Joeyi Add Test cases and Update UG, DG, and PPP

Add more test cases for TagTest and TemplateCommandTest
Add test cases TemplateCommandParserTest and LocationTest
Fixes #152 #163

Codecov Report

Merging #197 (17089c6) into master (81b2a0f) will increase coverage by 8.94%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master     #197      +/-   ##
============================================
+ Coverage     57.02%   65.96%   +8.94%
- Complexity      639      797     +158
============================================
  Files           103      103
  Lines          2783     2818      +35
  Branches        393      400       +7
============================================
+ Hits           1587     1859     +272
+ Misses          993      798     -195
+ Partials        203      161      -42

Impacted Files
Coverage Δ

...va/seedu/address/logic/commands/ImportCommand.java
33.33% <0.00%> (-2.39%)
:arrow_down:

...java/seedu/address/logic/commands/EditCommand.java
67.94% <0.00%> (-0.65%)
:arrow_down:

...java/seedu/address/logic/commands/FindCommand.java
100.00% <0.00%> (ø)

...ava/seedu/address/model/person/GithubUsername.java
75.00% <0.00%> (ø)

...va/seedu/address/logic/commands/GithubCommand.java
53.33% <0.00%> (ø)

...eedu/address/logic/parser/DeleteCommandParser.java
100.00% <0.00%> (ø)

...java/seedu/address/storage/JsonAdaptedStudent.java
91.30% <0.00%> (+2.89%)
:arrow_up:

...in/java/seedu/address/logic/parser/ParserUtil.java
79.16% <0.00%> (+7.50%)
:arrow_up:

.../address/storage/JsonAdaptedTeachingAssistant.java
81.25% <0.00%> (+9.37%)
:arrow_up:

...va/seedu/address/storage/JsonAdaptedProfessor.java
83.52% <0.00%> (+9.41%)
:arrow_up:

... and 13 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

LGTM!


Passing additional test arguments to runner

I might just be doing a simple thing wrong and I am not sure whether this is related to neotest-python or neotest itself.
I am trying to pass an additional argument to the test runner.
Having the following in my neovim config does work:
local nt = require("neotest")
nt.setup({
  adapters = {
    require("neotest-python")({
      args = { "-s" },
    }),
    require("neotest-rust"),
  },
})

However, I only want to allow/have this on a case-by-case basis, so I tried the following in the neovim terminal
:lua require("neotest").run.run({args={"-s"}})

That does not seem to work. Maybe the arguments are not forwarded to the runner somehow?
Kind Regards
Robin

Ah, I figured out the argument needs to be called extra_args. The following works:
:lua require("neotest").run.run({extra_args={"-s"}})

Ah, I figured out the argument needs to be called extra_args. The following works:
:lua require("neotest").run.run({extra_args={"-s"}})


freifunk defaults and profiles: add sections for 802.11s

There is general consensus in the freifunk-berlin group to move to 802.11s instead of adhoc.
@mmunz @hnyman you both have contributed to https://github.com/openwrt/luci/blob/master/contrib/package/freifunk-common/files/etc/config/freifunk.  I don't know who else to turn to in this issue.  For the move to 802.11s I would like to propose a change to the defaults, with the opportunity in the individual community profiles to override the defaults.
config 'defaults' '80211s'
	option 'mode' 'mesh'
	option 'encryption' 'none'
	option 'mesh_id' 'Mesh-Freifunk'
	option 'mesh_fwding' '0'

What would be the correct way to start getting 802.11s changes into freifunk?  Could either of you suggest additional interested people who might want to participate in the discussion?

No idea, I have no specific knowledge about Freifunk.
It has mainly been @mmunz  @FreifunkUFO @pmelange , and also @jow- knows a lot.
(In general, the whole thing of Freifunk city/area wifi configs being in the LuCI GUI code repository is a strange thing nowadays, but I think that LuCI having roots with the Freifunk community plays a role there.)

I agree that the community profiles seem strange in LuCI. But that is another issue which we could possibly discuss separately.

See #2508

This issue has been moved to https://github.com/freifunk/openwrt-packages/issues/1


fix[WIP]: diagonal dash

Diagonal dash has now a similar force than other directions.
We are still facing the issue that the player does not animate when walking after a dash, but it's a previous bug, so don't consider this problem for approving the current PR

Looks good to me. Good job @Piterga12. I can't approve it because I created the PR, so you can approve it in my name.

We are still facing the issue that the player does not animate when walking after a dash, but it's a previous bug, so don't consider this problem for approving the current PR

This is already solved by #632, so nothing to worry about.


Use active? instead of internal representation

In the Fastly API, version.active has changed from being a "0" or "1" to
being a boolean like it should always have been.
Use active? provided by the fastly library rather than depending on the
internal representation.
See https://github.com/fastly/fastly-ruby/pull/81

Thanks @acme!


q: why is ingress controller and db-less mutually exclusive?

Hello, I am trying to setup kong as an ingress controller in db-less mode though the concepts seem to be mutually exclusive in this chart but not according to docs. Is this expected?

Seems like I could leverage the CRDS + k8s secrets to achieve the desired config fortunately!

To clarify, DB-less mode (setting env.database = off) is compatible with the controller. The DB-less config file loader in values.yaml is not.
When the controller is enabled, it's responsible for updating DB-less config through the Kong admin API's /config endpoint. It generates this configuration from Kubernetes resources and loads it automatically.
The DB-less config file is an alternate means of loading a static DB-less configuration (not generated from Kubernetes resources). It's loaded at startup, but any POST /config request after will update the configuration Kong uses--the controller will override anything you place in that file more or less immediately after Kong starts.


[Nomination] Ben2x4 for Crustacean Swap AMM & token sale contracts

Who are you nominating?
@ben2x4
What are you nominating them for?
For their work creating a working AMM contract that allows for swapping CW20 tokens.
In addition, their work on a token sale contract.
Please provide links to their work.
https://github.com/ben2x4/crustacean-swap
https://github.com/ben2x4/cw20-sale-contract

I agree! Well done Ben2x4 amazing work and look forward to the IBC transfers!

Was just about to nominate Ben2x4 as well, seconded!

Amazing work. Glad to see some great things being put together. Great work ben. i also add to the nomination list.

Updated nomination to include token sale contract: https://github.com/ben2x4/cw20-sale-contract
: )

Thanks so much everyone! 🎉

More to add. @ben2x4 has also worked on the WasmSwap dApp, created a vesting contract, and has been actively contributing to the cw-DAO contract!


HBASE-26650 Create module hbase-client-test-support

Move SpanData matcher support classes to new module. Probably there are others, but start with these for now.
This is a prerequisite for further progress with the otel effort.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 27s
Docker mode activated.

Console output
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-4016/1/console

versions
git=2.17.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m 26s
Docker mode activated.

-0 :warning:
yetus
0m  3s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ master Compile Tests _

+0 :ok:
mvndep
0m 26s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
4m 51s
master passed

+1 :green_heart:
compile
3m 21s
master passed

+1 :green_heart:
shadedjars
8m 25s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
3m 25s
master passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 17s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
4m 46s
the patch passed

+1 :green_heart:
compile
3m 27s
the patch passed

+1 :green_heart:
javac
3m 27s
the patch passed

+1 :green_heart:
shadedjars
8m 56s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
3m 47s
the patch passed

_ Other Tests _

-1 :x:
unit
164m 20s
root in the patch failed.

210m 19s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-4016/1/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/4016

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux 61628ad517d1 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 7972b2ebbb

Default Java
AdoptOpenJDK-11.0.10+9

unit
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-4016/1/artifact/yetus-jdk11-hadoop3-check/output/patch-unit-root.txt

Test Results
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-4016/1/testReport/

Max. process+thread count
3563 (vs. ulimit of 30000)

modules
C: hbase-client-test-support . hbase-client U: .

Console output
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-4016/1/console

versions
git=2.17.1 maven=3.6.3

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m 26s
Docker mode activated.

-0 :warning:
yetus
0m  3s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ master Compile Tests _

+0 :ok:
mvndep
0m 23s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
4m 35s
master passed

+1 :green_heart:
compile
3m  3s
master passed

+1 :green_heart:
shadedjars
9m  9s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
2m 45s
master passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 15s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
4m 17s
the patch passed

+1 :green_heart:
compile
3m  2s
the patch passed

+1 :green_heart:
javac
3m  2s
the patch passed

+1 :green_heart:
shadedjars
9m 15s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
2m 56s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
432m 15s
root in the patch passed.

476m 33s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-4016/1/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/4016

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux 33ccb0d6ea08 4.15.0-163-generic #171-Ubuntu SMP Fri Nov 5 11:55:11 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 7972b2ebbb

Default Java
AdoptOpenJDK-1.8.0_282-b08

Test Results
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-4016/1/testReport/

Max. process+thread count
4412 (vs. ulimit of 30000)

modules
C: hbase-client-test-support . hbase-client U: .

Console output
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-4016/1/console

versions
git=2.17.1 maven=3.6.3

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

Why not just put them under hbase-client test code?

Why not just put them under hbase-client test code?

Because one test jar should not import another ; test jars should be leaf nodes in any dependency graph. I want to consume these classes from hbase-server:test:jar.

Why not just put them under hbase-client test code?

Because one test jar should not import another ; test jars should be leaf nodes in any dependency graph. I want to consume these classes from hbase-server:test:jar.

Is this a best practice? At least in the current hbase code base, we need to depend on the test jar of some modules, for example HBaseTestingUtil is in hbase-server module, and we use it in hbase-mapreduce module.
You can check the pom definition, we have lots of tests jar dependencies…

Is this a best practice? At least in the current hbase code base, we need to depend on the test jar of some modules, for example HBaseTestingUtil is in hbase-server module, and we use it in hbase-mapreduce module.
You can check the pom definition, we have lots of tests jar dependencies…

The HBaseTestingUtility is an especially bad example, because it's how we suggest users test their HBase applications (I do see that on branch-2 it's marked as @deprecated, with no mention of a replacement). In that sense, it's a part of our public API that is provided by a test jar!
I think dependency on a test jar is bad practice and maven authors appear to agree -- you have to go out of your way to have maven produce test jars, they're disabled by default. However, I don't want to hold up the otel improvements on these kinds of layout/organization improvements to our repo.

I have stumbled into one annoyance -- when a dependency jar is of type:test-jar, it seems that the transitive dependencies are not included. So for example, say I want to use the OpenTelemetryClassRule and OpenTelemetryTestRule defined in hbase-server:test from hbase-endpoint:test. These rules use classes from io.opentelemetry:opentelemetry-sdk-testing. This transitive dependency is not included automatically -- hbase-endpoint:test must explicitly include both hbase-server:test and io.opentelemetry:opentelemetry-sdk-testing, otherwise a NoClassDefFoundError is thrown at test time.


Problem parsing error response

When a request has a parameter that does not have the right type, the server returns an error of type string and the client is not able to parse the error.
Why?
Seems like the error is returned as code BadRequest and in my app I already have a BadRequest that is of type object and not string.
This means that the error generated by the server about the type being wrong will throw an exception in the client since my bad request is an object and not just a string.
Am I doing something wrong here?

Not at all. This is simply a problem that we have not had a chance to solve yet. If you think about the way these errors are communicated, there's actually no clear, easy way (at least to me) to provide this level of control in the server generator.
What we'd need to do is have an exception handler chain with default behaviour that delegates to a top-level exception mapper.
This just simply doesn't exist yet, I'm sorry to say.

The way I see it I would find a way for the server to be able to generate my type of error.
Maybe I could provide a generator for the type based of some information available.
The exceptions seem already to late to solve this, but maybe I am missing something.

The biggest challenge is that the first time the user gets control of the routing logic is once all parameters have been validated.
What we could do is transform all parameter validation into Validated[E, A], which would be individually traversable or mapN'd.


docs: Make examples ESM

Before we enforce ESM, we should probably make it best-practice and recommend it for new apps.
This is a draft because I have not yet validated all examples.
I also noticed we need to update the testing docs, I'll do that in a separate PR.

Maybe also take care of create-probot-app?


Anybody using latest entt (or at least V3+) on Nintendo Switch

Hi Guys,
Entt is great. I am impressed by many of its design decisions.
I want to use it on a project, targeting Nintendo Switch in the near future. I am at the prototyping stage. Does anybody use latest versions entt in any Nintendo Switch project?
Thanks

Hi @kariem2k
Afaik you'll be using clang with the Switch, so your question boils down to: what version of clang is targeted by this console?
I've not the answer at the moment. If you know that, I can easily tell you if it works fine with the upstream version of EnTT.
It goes without saying that you've all my support to release a game based on EnTT for the Switch, so feel free to ping me whenever you want. :wink:

Thank you very much @skypjack for your fast reply. I think they support C++17 https://youtu.be/9_7exO60EA8?t=196. They have partial support of the standard library so I am not sure what do they support exactly.

Oh, well, EnTT uses the vector class, some type traits and the unique pointer. These kind of things are usually supported everywhere.
Partial support of the standard library often means that it doesn't contain things like the pmr:: namespace or the parallel stuff. It's unlikely something like std::tuple or std::move is missing.
Since EnTT v3 requires C++17 and If it is an option for the Switch, I'd go with the upstream version without problems. All what is used from the standard library can easily be replaced in case but my guess is that most likely it won't be a problem. :+1:

Thank you very much @skypjack

You're welcome, feel free to ping me whenever you need and keep us up-to-date if you decide to proceed! I'm really curious now. :heart_eyes:

Hi!
I'm also prototyping a game for Switch with entt. @kariem2k did you manage to have it compiling?
I was afraid it was a VS solution setup problem, but I've tried to compile it in smaller, single-file projects, and I'm not being able to get a successful build.

Well, let's say that Minecraft is also released for Switch and it uses EnTT, therefore I'm pretty sure that the problem is in the configuration (or maybe the compiler version?). 🙂

Most of the issues come from std types. After looking at the code for standard library support in the SDK, I think the compiler version might be the problem here.
I'll continue investigating 👌


[DIG-86] Design and code Footer

Description:
The current footer design needs enhancement for better visual appeal and user experience.
Expected Changes:

Establish clear visual hierarchy.
Ensure consistency with overall design.
Emphasize important links for accessibility.

DIG-86

can i take this up

Please is this issue still available?

Hey @Hikmahx, this is still open! Please send a design for footer on discord first.

Okay, will do so

can I work on this ?

I'm currently designing the footer

Can I work on this issue ?

Hello @anuragsingh132200 @Hikmahx , I've dedicated some time (started before December) to enhance the Footer, and I've just submitted the pull request. Take a peek at how it's looking:


fix the crash when the KL loss weight is set to 0

loss is incorrectly calculated if there's teacher logit output
Signed-off-by: Wang, Yi A<EMAIL_ADDRESS>What does this PR do?

Fixes # (issue)
fix the crash when the KL loss weight is set to 0
loss is incorrectly calculated if there's teacher logit output
Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests?

@echarlaix @jiqing-feng please notice the issue

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Add NavigationAgent2D/3D set_navigation_map() function

Add NavigationAgent2D/3D set_navigation_map() and get_navigation_map() function to change maps with NavigationAgent Nodes as they do not react to changes on the abstract agent on the NavigationServer that are made with the API directly.
Fixes #62040

Since there is both a setter and a getter, this should be implemented as a property instead. It can be implemented as a non-editor property (PROPERTY_USAGE_NO_EDITOR) so that it's accessible from scripting but not in the inspector.

Wouldn't a property require another dedicated variable as the getter can return something different when no override is set?

In that case it's probably better as two separate methods as it's doing more than just setting a shared member variable indeed. The descriptions can't easily be unified into what happens when just reading a potential navigation_map or writing to it.

Thanks!

@smix8 Would be good if you can make a backport for this one to 3.5, it seems like there's still some minor difference in the NavigationAgent code between 3.x and master and I wouldn't want to mess it up (notably in set_agent_parent).


[chore] add token to codecov CI

In order to prevent
false positive in tests: https://github.com/FZJ-INM1-BDA/siibra-python/actions/runs/4111966133/jobs/7096311370

I think this is already done: 3bef0ddd9d56d446b3bc6a5494f977aa39862c4f

actually, seems to be very heisenburg
see issue: https://github.com/codecov/codecov-action/issues/598
I think I read somewhere that it could be rate limiting issue.
adding access token should solve the issue.

It seems adding a token won't solve the issue as it is a solution for private repos.

solved with https://github.com/FZJ-INM1-BDA/siibra-python/pull/616 and adding new codecov secret.


Hide Metadata in feature Overview table

Is it possible to hide the metadata like "Device", "OS", "Browser", etc. from the feature overview table. I am currently using below configuration
` const { generate } = require("multiple-cucumber-html-reporter");
//const { removeSync } = require("fs-extra");
generate({
    // Required
    // This part needs to be the same path where you store the JSON files
    // default = '.tmp/json/'
    jsonDir: "jsonReports/jsonResults/",
    reportPath: "jsonReports/HTMLReports/",
    pageTitle: "LBG Test Report",
    reportName: "
LBG Test Report
",
    displayDuration:true,
    durationInMS:true
    // for more options see https://github.com/wswebcreation/multiple-cucumber-html-reporter#options
});

`

Hi @sachinArya
I've released a new version, see https://github.com/wswebcreation/multiple-cucumber-html-reporter/releases/tag/v1.18.0. There you have the option to hide the meta data.
Closing it for now


When installing pachyderm 1.9.9 using pachctl to deploy into a specific namespace, the pachd pod has issues and keep crashing

What happened?:
Installing pachyderm 1.9.9 on AWS EKS specifying namespace the pachd pods keeps crashing.
This is a new eks cluster, nothing else installed yet.
Installation command, replacing some values with x just for demonstration purposes:
$ pachctl version
COMPONENT           VERSION
pachctl             1.9.9
$ pachctl deploy amazon ${BUCKET_NAME} ${AWS_REGION} ${STORAGE_SIZE} --dynamic-etcd-nodes=1 --iam-role="arn:aws:iam::xxxxxx:role/xxxxxxxx" --namespace=xxxxxxx

Checking the pod on kubernetes
pod/dash-8554598bf8-gr8cn    2/2     Running            0          20m
pod/etcd-0                   1/1     Running            0          20m
pod/pachd-57b494dbbb-zmkb7   0/1     CrashLoopBackOff   7          20m

Running logs on the pod I have only INFO and WARNING and a trace, but it still doesn't go up and available:
2019-12-13T14:18:53Z INFO no Jaeger collector found (JAEGER_COLLECTOR_SERVICE_HOST not set)
2019-12-13T14:18:53Z WARNING TLS disabled: could not stat public cert at /pachd-tls-cert/tls.crt: stat /pachd-tls-cert/tls.crt: no such file or directory
2019-12-13T14:18:53Z WARNING s3gateway TLS disabled: could not stat public cert at /pachd-tls-cert/tls.crt: stat /pachd-tls-cert/tls.crt: no such file or directory
2019-12-13T14:18:53Z INFO validating kubernetes access returned no errors
2019-12-13T14:19:23Z INFO error starting githook server context deadline exceeded

panic: failed to initialize pach client: context deadline exceeded

goroutine 191 [running]:
github.com/pachyderm/pachyderm/src/server/pkg/serviceenv.(*ServiceEnv).GetPachClient(0xc000156f70, 0x2ad81a0, 0xc000144100, 0xc000144100)
	src/github.com/pachyderm/pachyderm/src/server/pkg/serviceenv/service_env.go:171 +0x11a
github.com/pachyderm/pachyderm/src/server/pps/server.(*apiServer).master.func1(0x0, 0x0)
	src/github.com/pachyderm/pachyderm/src/server/pps/server/master.go:58 +0xe5
github.com/pachyderm/pachyderm/src/server/pkg/backoff.RetryNotify(0xc000ba8020, 0x2a99520, 0xc0004e04e0, 0xc000c86fb8, 0x2a, 0x1)
	src/github.com/pachyderm/pachyderm/src/server/pkg/backoff/retry.go:35 +0x4a
github.com/pachyderm/pachyderm/src/server/pps/server.(*apiServer).master(0xc0002618c0)
	src/github.com/pachyderm/pachyderm/src/server/pps/server/master.go:52 +0x20a
created by github.com/pachyderm/pachyderm/src/server/pps/server.NewAPIServer
	src/github.com/pachyderm/pachyderm/src/server/pps/server/server.go:67 +0x3d4
panic: failed to initialize pach client: context deadline exceeded

goroutine 211 [running]:
github.com/pachyderm/pachyderm/src/server/pkg/serviceenv.(*ServiceEnv).GetPachClient(0xc000156f70, 0x2ad81e0, 0xc0000d0018, 0xc0000ba2a0)
	src/github.com/pachyderm/pachyderm/src/server/pkg/serviceenv/service_env.go:171 +0x11a
github.com/pachyderm/pachyderm/src/server/pfs/server.newAPIServer.func1(0xc000584880)
	src/github.com/pachyderm/pachyderm/src/server/pfs/server/api_server.go:66 +0x48
created by github.com/pachyderm/pachyderm/src/server/pfs/server.newAPIServer
	src/github.com/pachyderm/pachyderm/src/server/pfs/server/api_server.go:66 +0x15

What you expected to happen?:
Pod be available, pachyderm installation successfull and pachctl commands working to list pipeline, repo, commit, etc.
How to reproduce it (as minimally and precisely as possible)?:
EKS version is 1.12
AWS region is eu-west-1 and also the bucket
Bucket size is 20
Use pachctl 1.9.9 and try to deploy to a specific namespace using the --namespace option flag.
Anything else we need to know?:
Environment?:

Kubernetes version (use kubectl version):
Client Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.2", GitCommit:"c97fe5036ef3df2967d086711e6c0c405941e14b", GitTreeState:"clean", BuildDate:"2019-10-15T19:18:23Z", GoVersion:"go1.12.10", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"12+", GitVersion:"v1.12.10-eks-afa464", GitCommit:"afa464ce9760bd08a53a207f505b133b93366ea3", GitTreeState:"clean", BuildDate:"2019-10-22T21:42:57Z", GoVersion:"go1.12.9", Compiler:"gc", Platform:"linux/amd64"}

Pachyderm CLI and pachd server version (use pachctl version):
COMPONENT           VERSION
pachctl             1.9.9

Cloud provider (e.g. aws, azure, gke) or local deployment (e.g. minikube vs dockerized k8s):
AWS

Actually it was a issue with S3 bucket policy in the iam of the new eks cluster. Closing


Bugfix: Fix missing index.d.ts file on npm

Proposed changes
Include the index.d.ts file when publising the library, this makes TypeScript pick up proper typing for this library when consumed and not give an error complaining about the missing index.d.ts file.
Types of changes

[x] Bugfix (non-breaking change which fixes an issue)

Checklist

[x] I have read the CONTRIBUTING doc
[x] My PR is named according to CONTRIBUTING doc
[ ] Lint and unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)
[ ] Any dependent changes have been merged and published in downstream modules

Further comments
This change does not affect any code, and only fixes an issue with packaging.

Looks good on my end


Defer TableFunctions that have Bindvars

Delays resolving TableFunctions to post prepared analysis.
Test PR:

https://github.com/dolthub/dolt/pull/4265

Changes are in https://github.com/dolthub/go-mysql-server/pull/1230


Update requirements.txt

Updating Fiona version to most recent version to resolve error when installing in venv3 virtual environment using pip:
Complete output (2 lines):
Failed to get options via gdal-config: [Errno 2] No such file or directory: 'gdal-config'
A GDAL API version must be specified. Provide a path to gdal-config using a GDAL_CONFIG environment variable or use a GDAL_VERSION environment variable.
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

The requirements.txt is derived from the requirements.in using pip-tools.
Can you make the change there?
+1<PHONE_NUMBER> | GMT-4 |<EMAIL_ADDRESS>On Sun, Oct 11, 2020 at 1:16 AM Danh Nguyen<EMAIL_ADDRESS>wrote:

Updating Fiona version to most recent version to resolve error when
installing in venv3 virtual environment using pip:
Complete output (2 lines):
Failed to get options via gdal-config: [Errno 2] No such file or
directory: 'gdal-config'
A GDAL API version must be specified. Provide a path to gdal-config using
a GDAL_CONFIG environment variable or use a GDAL_VERSION environment
variable.
ERROR: Command errored out with exit status 1: python setup.py egg_info
Check the logs for full command output.
You can view, comment on, or merge this pull request online at:
https://github.com/DOsinga/deep_learning_cookbook/pull/83
Commit Summary

Update requirements.txt

File Changes

M requirements.txt
https://github.com/DOsinga/deep_learning_cookbook/pull/83/files#diff-b4ef698db8ca845e5845c4618278f29a
(2)

Patch Links:

https://github.com/DOsinga/deep_learning_cookbook/pull/83.patch
https://github.com/DOsinga/deep_learning_cookbook/pull/83.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/DOsinga/deep_learning_cookbook/pull/83, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAHIR3WLN756XPXYFRURSMLSKDTORANCNFSM4SLLX3YQ
.

I can add it, I'll also be adding more dependency updates for other python packages -thanks

thanks!
+1<PHONE_NUMBER> | GMT-4 |<EMAIL_ADDRESS>On Thu, Oct 15, 2020 at 8:38 AM Danh Nguyen<EMAIL_ADDRESS>wrote:

I can add it, I'll also be adding more dependency updates for other python
packages -thanks
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/DOsinga/deep_learning_cookbook/pull/83#issuecomment-708933903,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAHIR3UKOUWYYI5KBM66DMTSK2KH5ANCNFSM4SLLX3YQ
.


[Cognitive - Custom Speech] Review request for Speech/SpeechToText to add version stable/v3.1

This is a PR generated at OpenAPI Hub. You can view your work branch via this link.
Data Plane API - Pull Request

API Info: The Basics
Most of the information about your service should be captured in the issue that serves as your engagement record.

Link to engagement record issue:

Is this review for (select one):

[ ] a private preview
[ ] a public preview
[x] GA release

Change Scope
This section will help us focus on the specific parts of your API that are new or have been modified. Please share a link to the design document for the new APIs, a link to the previous Open API document (swagger) if applicable, and the root paths that have been updated.

Design Document:
Previous Open API Doc:
Updated paths:

❔Got questions? Need additional info?? We are here to help!

 Contact us!
The Azure API Review Board is dedicated to helping you create amazing APIs. You can read about our mission and learn more about our process on our wiki.

💬 Teams Channel
💌 email

Click here for links to tools, specs, guidelines & other good stuff
Tooling

Open API validation tools were run on this PR. Go here to see how to fix errors
Spectral Linting
Open API Hub

Guidelines & Specifications

Azure REST API Guidelines
OpenAPI Style Guidelines
Azure Breaking Change Policy

Helpful Links

Azure DevTools Wiki

@andreasjl , multiple form parameter issue in semantic validation was fixed in<EMAIL_ADDRESS>and will be integrated into swagger PR pipeline soon.

Thanks for the sign-off, Johan.
@johanste @MushMal @yangyuan Can one of you help merge this PR or is there anything else needed from me?


fix: Adjusting styling on the popup in FlightMarker.tsx for better spacing and scaling

resolves #12
Old UI shown here
Adjusted UI looks like this:

I'm certainly no CSS wizard so let me know if there's a better way to do this but I think this adjustment is much better looking.

@CMcDonald9 In addition to reducing the font size, its a good idea to enable line wrapping and preventing overflow for the text: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_text/Wrapping_breaking_text

@Creative-Difficulty Added "overflow-wrap: "break-word"


Add map_either and map_either_with methods

This PR adds the map_either and map_either_with variants to the library. Closes #81

This is now published as 1.9.0!


Implement JSON format documentation

In order to make it easy to extend the documentation, I think that we needed JSON format output.
The current documentation includes HTML, JS, CSS in the compiler. The more i try to make it rich, the more i should add unnecessary assets to the compiler.
Also, if you want to link class names between shards, there is currently no way to parse HTML.
I think that JSON documentation output can solve these problems, what do you think?
ref: https://github.com/crystal-lang/crystal/pull/1834#issuecomment-266775448

I'll review it soon. Just one thing I saw is that there's JSONise which almost seems like a duplicate of JSON.mapping. Maybe you can create a converter instead of reimplementing JSON.mapping? (check JSON.mapping docs)
In any case I'll review it this week.

There's also #2777 . I'll take a look at both when I have some time.

@asterite Crystal::Doc::JSONise.mapping is wrapper and utility for JSON.mapping. Not reimplementation.
Support features below:

method -> value: ex: Type#abstract? -> JSONise::Type#abstract : Bool
define serializer class: ex: JSONize::TypeRef (This is necessary for weight saving of JSON)

This can be closed. #4746 has been merged with JSON output.

Thank you for contribution @rosylilly and @straight-shoota


unzip: Ubuntu patchset, ZIP64 and symlink support

Use Ubuntu patchset for unzip, with lots of bug and security fixes.
Enable large file support / ZIP64 for >=4GB and >=64k files.
Enable symlink support.
Compile against system libbz2 instead of built-in.

@DomT4 I figured out the compile problem it was related to some missing headers.
The formula looks much cleaner now, thanks for the feedback.

@DomT4 Somehow the jenkins build seems stuck, the yosemite job is referencing build 280 instead of build 281.

Seems okay?

Yeah, seems fine now, not sure why it stalled so long on the yosemite build.

I pushed a new version that uses the patch archive and apply solution suggested by @ilovezfs above. I also dropped the SYMLINKS define, because it was enabled anyways.

Merged in https://github.com/Homebrew/homebrew-dupes/commit/faeb12a2f67d9edd82bdebad11f8383c5f217594. Thank you for your contribution to Homebrew @felixbuenemann; we appreciate it! :smiley_cat:

Yeah thank you for this @felixbuenemann. Despite the unorthodox upstream situation, I'm happy with how it turned out since it patches CVEs that affect Apple's version, too.


DOCS-1358: Adds prerequisites for SELinux-enabled systems

Product Version(s):
CE 3.16+
CC?
Issue:
https://tigera.atlassian.net/browse/DOCS-1358
Link to docs preview:

SME review:

[ ] An SME has approved this change.

DOCS review:

[ ] A member of the docs team has approved this change.

Additional information:
The inspiration for this PR comes from @hjiawei's https://github.com/tigera/docs/pull/463, which is now closed.

@hjiawei How does this look to you? (I'd like to address the CentOS question separately)

How about the note for local storage in the original PR? It is also SELinux related.

I'd like to address the CentOS question separately

Sure. CentOS 8 eol'ed more than a year ago and CentOS 7 will be eol'ed in a little bit more than a year. It is better to not advertising it in our docs imo.


Possible Open Redirect (CWE-601) in sample code

This repo provides a sample and has to be copied and built for use in a real environment.  Hence, not exactly a security issue with the project itself.  Is a GitHub issue the right venue to provide details?

Thanks for asking!
The official answer is:

Security issue notifications
If you discover a potential security issue in this project we ask that you notify AWS/Amazon Security via our vulnerability reporting page. Please do not create a public github issue.

Do you want to bounce the issue against me first? Mail me at ottokrus at amazon dot nl

Fixed in #210


Incorrectly inferred return type of method of a generic class

🔎 Search Terms
function return type incorrectly inferred from type argument
🕗 Version & Regression Information
Looks like this is the behavior in every version I tried and I can't find information about inferring types for the non-generic methods in generic classes.
⏯ Playground Link
https://www.typescriptlang.org/play/?ts=5.6.3#code/JYOwLgpgTgZghgYwgAgJIhgewDwBVkQAekIAJgM7LlhSgDmyAPlTfQNoC6AfMgN4CwAKGQjkANzgAbYKThhMUAFzIAFAEpkAXh64A3EIC+QoQklxylAMIBGPAWIQyldFmzVaIBs3ftuPAcKioFgA-Mp6QqLiUjJyCtbqfJFRolAQYACuUCDIYAAWwOQAdMGYIUUS0rLyUPqBIkb10VVxUABM6uFsAOSVsTXdHEzIGWQQMKAQpElNUWmZ2bkFxaXlfdUKdVGNjSaYINTICFrIIBAA7sg22C44Pp5cXOp1CPuHwGInCCUYZRUxG1qyAA9MDcgBPAAOKEKqkS2hYHjoGmYo1I40mpD2BzA4msX3+LRqCTUuhBYLAUJhlBU8J49y8iN8KJGYwmZyxgleOPEbQJ61aHVJ5Ih0OQsNpGgRDJZaIxHKEQA
💻 Code
interface Info<T extends string | string[]> {
    validator: () => T;
}

class C1<T extends Info<string | string[]>> {
    info?: T;
    validator1() {
        return this.info?.validator;
    }
    validator2(): T['validator'] | undefined {
        return this.info?.validator;
    }
}

const c = new C1<Info<string>>();
const iv = c.info?.validator; // type is (() => string) | undefined
const v1 = c.validator1(); // type is (() => string | string[]) | undefined
const v2 = c.validator2(); // type is (() => string) | undefined

🙁 Actual behavior
Return type of validator method for class C1<Info<string>>  is (() => string | string[]) | undefined
🙂 Expected behavior
Return type of validator method for class C1<Info<string>>  should be (() => string) | undefined
Additional information about the issue
Looks like the return type for generic class methods is only inferred via the type argument constraint and does not change in a particular instance of the class.

Seems like #33181. Indexed accesses into generic objects with non-generic keys tend to widen those generics to their constraints first. So if you have x of generic type X extends {y: string}, then x.y will almost certainly be just string and not X["y"].  This isn't "incorrect" per se (although depending on the variance of the generic then it can be incorrect), but it's wider than you were hoping for.  I don't know there's much they can do here other than saying "if you want that behavior you should annotate things as such, like you did with validator2."

This is a very simple example and it is easy to set type but lets add some additional code.
So the problem is still with us here
interface Info<T extends string | string[]> {
    validator: () => T;
}

class C1<T extends Info<string | string[]>> {
    info?: T;
    validator1() {
        return this.info?.validator;
    }
    validator2(): T['validator'] | undefined {
        return this.info?.validator;
    }
    message1() {
        return this.validator1()?.();
    }
    message2() {
        return this.validator2()?.();
    }
    message3(): ReturnType<T['validator']> | undefined {
        // error, Type 'string | string[] | undefined' is not assignable to type 'ReturnType<T["validator"]> | undefined'.
        // Type 'string' is not assignable to type 'ReturnType<T["validator"]>'.(2322)
        return this.validator2()?.();
    }
}

const c = new C1<Info<string>>();
const iv = c.info?.validator; // type is (() => string) | undefined
const v1 = c.validator1(); // type is (() => string | string[]) | undefined
const v2 = c.validator2(); // type is (() => string) | undefined
const m1 = c.message1(); // fail, type is string | string[] | undefined
const m2 = c.message2(); // fail, type is string | string[] | undefined
const m3 = c.message3(); // ok, type is string | undefined but there is a compile error in message3


Run Snyk on app/ide-desktop

Pull Request Description

Run Snyk and disable or fix all issues as appropriate.

Important Notes

Unfortunately it turns out most "issues" are moreso just severe limitations with Snyk's JavaScript linting.

Checklist
Please ensure that the following checklist has been satisfied before submitting the PR:

[x] The documentation has been updated, if necessary.
[x] Screenshots/screencasts have been attached, if there are any visual changes. For interactive or animated visual changes, a screencast is preferred.
[x] All code follows the
Scala,
Java,
and
Rust
style guides. In case you are using a language not listed above, follow the Rust style guide.
All code has been tested:

[x] Unit tests have been written where possible.
[x] If GUI codebase was changed, the GUI was tested when built using ./run ide build.

closing as it Snyk isn't really helping to improve the security of the codebase


Fix offset calculation

utcoffset() returns None if there is no offset between t_from and UTC

Fixed by #10


Log level

@marcklingen i just built this in the aircraft. Log levels adjustable via flag. The test_atexit test only works because of adjusted log levels. New behavior: Log everything in debug mode, only log exceptions otherwise. I did not want to push this to main as i am on vacation now. Feel free to review and do so.


Can we inject actuator command via MAVSDK for offboard control?

I cannot find an example of injecting actuator commands for offboard control.
For example, thrust command or rotor angular rate.

What about these?
Actuator control: http://mavsdk-python-docs.s3-website.eu-central-1.amazonaws.com/plugins/offboard.html#mavsdk.offboard.Offboard.set_actuator_control
Attitude rate control: http://mavsdk-python-docs.s3-website.eu-central-1.amazonaws.com/plugins/offboard.html#mavsdk.offboard.Offboard.set_attitude_rate

Ok, there are appropriate functions :)
But there is no example with direct actuator control, right?

There is not but it would be great if you contribute one.

As I'm still not familiar with details of offboard control, I would appreciate if MAVSDK-Python provides an example of direct actuator control :)

There is not but it would be great if you contribute one. 😄

Of course I will if I find an appropriate working example!

I think you can try it in simulation.
So do you actually need attitude rate control, or actuator control? Because that's not the same thing.

I think you can try it in simulation.
So do you actually need attitude rate control, or actuator control? Because that's not the same thing.

Sorry for the confusion.
What I'm trying to do is actuator control.

Ok, and that's with PX4? And what is the use case? If I understand more context, I might be able to help with your actual problem.

Ok, and that's with PX4? And what is the use case? If I understand more context, I might be able to help with your actual problem.

Yup, with PX4.
I'm trying to inject actuator control input from an external device (e.g., RPi or GCS) to Pixhawk (equipped with PX4) via MAVSDK.
This is for testing a custom controller and ease of usage.

BTW, what does "actuator control" stand for, exactly? (rotor thrust?)

Throttle in this case just means that the motor spins from low to max, 0..1, from what I can read.

Throttle in this case just means that the motor spins from low to max, 0..1, from what I can read.

Thanks as always :)
So it's literally "throttle" like the throttle in RC controller.
Is there any systematic or heuristic way to send a thrust command like "the first rotor should be 1N"?

No, it's throttle as in PWM to a motor, I believe.

Just try it out in SITL (with lockstep disabled).

Thank you a lot!

@JinraeKim
did it worked?
can you send direct pwm cmds to motors from offboard by mavsdk?

@JinraeKim
did it worked?
can you send direct pwm cmds to motors from offboard by mavsdk?

TBH, I don't remember clearly cuz our team is decided not to use MAVSDK for offboard control... I'm sorry.
I guess it didn't work well (or was hard to figure out what each variable means).
@hnlee77 Do you remember any things about this?

TBH, I don't remember clearly cuz our team is decided not to use MAVSDK for offboard control... I'm sorry. I guess it didn't work well (or was hard to figure out what each variable means).
@hnlee77 Do you remember any things about this?

It didn't work well. we couldn't send direct pwm cmds to motors.
so now, we decided send only attitude cmds for offboard by mavsdk.

Kind reminder: contributions are always welcome if a MAVSDK feature doesn't work well :+1:.

Hello, @JinraeKim , just checking to see if there are any updates on this? I'm trying to send a command directly to each quadcopter motor rather than use higher level functions like "takeoff" or "land", and an example would be very helpful. Have you figured it out?

Hello, @JinraeKim , just checking to see if there are any updates on this? I'm trying to send a command directly to each quadcopter motor rather than use higher level functions like "takeoff" or "land", and an example would be very helpful. Have you figured it out?

We are no longer working on this topic so there is no update so far :<

Offboard control using actuator controls has actually been removed in more recent versions of PX4.

Thanks! Does that mean the offboard.set_actuator_control function wouldn't work?
I know this might not be the place for this question, but how are people sending actuator commands from a host computer to their quadcopter? I've been trying to figure that out using mavsdk-python.

It should still work for v1.13: https://github.com/PX4/PX4-Autopilot/blob/release/1.13/src/modules/mavlink/mavlink_receiver.cpp#LL160C3-L160C45


[Bug]: Property 'heading' does not exist on type

Reproduction
This is just after running npx shadcn-vue@latest add range-calendar with typescript. Its as simple as it gets, so hopefully no reproduction is needed
Describe the bug
After adding the range component, I immediately get the following typescript errors for RangeCalendarHeading:
ℹ hmr update /components/ui/range-calendar/RangeCalendarHeading.vue, /assets/css/tailwind.css                                                                                3:33:38 PM

 ERROR                                                                                3:33:41 PM
 ERROR(vue-tsc)  Property 'heading' does not exist on type '{ $: ComponentInternalInstance; $data: {}; $props: Partial<{}> & Omit<{ readonly class?: any; readonly asChild?: boolean | undefined; readonly as?: AsTag | Component | undefined; } & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly<...>, never>; ... 10 more ...; $watch<T extends string | ((...arg...'.
 FILE  /Users/zesty/Code/xxx-admin/components/ui/range-calendar/RangeCalendarHeading.vue:23:12

    21 |     v-bind="forwardedProps"
    22 |   >
  > 23 |     <slot :heading-value>
       |            ^^^^^^^
    24 |       {{ headingValue }}
    25 |     </slot>
    26 |   </RangeCalendarHeading>

 ERROR(vue-tsc)  Property 'value' does not exist on type '{ $: ComponentInternalInstance; $data: {}; $props: Partial<{}> & Omit<{ readonly class?: any; readonly asChild?: boolean | undefined; readonly as?: AsTag | Component | undefined; } & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly<...>, never>; ... 10 more ...; $watch<T extends string | ((...arg...'. Did you mean 'toValue'?
 FILE  /Users/zesty/Code/xxx-admin/components/ui/range-calendar/RangeCalendarHeading.vue:23:20

    21 |     v-bind="forwardedProps"
    22 |   >
  > 23 |     <slot :heading-value>
       |                    ^^^^^
    24 |       {{ headingValue }}
    25 |     </slot>
    26 |   </RangeCalendarHeading>

[vue-tsc] Found 2 errors. Watching for file changes.

System Info
System:
    OS: macOS 14.5
    CPU: (12) arm64 Apple M2 Max
    Memory: 6.12 GB / 96.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.15.0 - /opt/homebrew/opt/node@20/bin/node
    npm: 10.7.0 - /opt/homebrew/opt/node@20/bin/npm
    pnpm: 9.4.0 - /opt/homebrew/bin/pnpm
  Browsers:
    Chrome: 126.0.6478.127
    Safari: 17.5
  npmPackages:
    @vueuse/core: ^10.11.0 => 10.11.0
    nuxt: ^3.12.2 => 3.12.2
    radix-vue: ^1.8.5 => 1.8.5
    shadcn-nuxt: ^0.10.4 => 0.10.4
    vue: ^3.4.31 => 3.4.31

Contributes

[ ] I am willing to submit a PR to fix this issue
[ ] I am willing to submit a PR with failing tests

Hello There!
I'm afraid I can't reproduce this issue on a new vue 3 + vite project.
This seems to be a problem related to parsing of the vue file and might be related to vue-tsc itself, could you create a reproduction please?
Thanks !

I cant add a reproduction link so if you have to close this i understand.
im using vue-tsc 1.8.27 because nuxt 3 can't supprot vue-tsc 2 yet

I think you're referring to this issue if I'm not mistaken, which is fixed by now. could you update you're dependencies (using ncu) and confirm the fix?

@Saeid-Za hmm.. how do you have it specified in package.json?
This still results in the index error you linked to:     "vue-tsc": "^2.0.24"

You are correct. With typeCheck set to true, errors persist regardless of the vue-tsc version, both in the UI or  in the terminal.
This issue should be reported to the vue-tsc repo as unfortunately, there is nothing we can do on our end to resolve it.
In the meantime, I suggest disabling typeCheck and using the command 'npx nuxi typecheck' whenever type checking is needed.

So ive installed vue-tsc from master, and the 'index' bug is gone, and im fully on 2.0 with latest TS:
    "tsc#master": "link:vuejs/language-tools/tree/master/packages/tsc#master",
    "typescript": "5.4.5"

I can report upstream, but before I do that I just wanted to make sure that it's not some kind of syntax error. I've never seen a slot that just has a floating :some-thing before. I also noticed it's not used on any other components.
I'm asking because if you look at the error, it looks like it's improperly parsing it, as if its invalid vue code. it thinks they're different properties separated by a hyphen:
 Property 'heading' does not exist on type
  > 23 |     <slot :heading-value>
       |            ^^^^^^^
Property 'value' does not exist on type
  > 23 |     <slot :heading-value>
       |                    ^^^^^

actually.... it might be loading vue-tsc from some other plugin. so ignore me for the time being

new nuxt is out and error finally went away


integrate front-end frameworks with backend frameworks

example:
Vue + Laravel
React + Express

I don't understand what you're proposing.  Backand and frontend frameworks are interchangeable by using a standard-compliant API.


Get frames from stream.

Hello again!
I am sorry for another one question, but looks like i cant handle it without your help.
So, i am using RtmpCamera1 for stream, and OpenGlView as surface. I am making MotionDetector class, which will detect motion on video with help Android OpenCV library. The main idea is:

We taking frames from screen one by one
Comparing them with OpenCV instruments
If frames not equal - alarm! Motion detected.

At the moment i have problem with getting frames from stream. When surfaceChanged() is called, i am calling start method where tried to get frames:
val frame = Mat() // Matrix from OpenCV
val surfaceTexture = openGlView.surfaceTexture

surfaceTexture.setOnFrameAvailableListener {
   // somehow here i need to get frame and convert it to OpenCv Mat()
}

But when i add listener, stream screen becomes black and listener gets frame only one time. As i figured it, thats because this listener already setted and used in OpenGlView class and when i reset it, this ruining all work with stream. So i need some better solution, which will not ruin another stream engines. I will appreciate any help.
Thanks!

You have multiple ways to do it but you need modify the library for it. In my opinion the best solution is with camera1 and OpenGlView.
You should:

Go to Camera1ApiManager and modify start to get buffer from camera continuously.
Modify this line:
https://github.com/pedroSG94/rtmp-rtsp-stream-client-java/blob/master/encoder/src/main/java/com/pedro/encoder/input/video/Camera1ApiManager.java#L167
To:

        camera.setPreviewTexture(surfaceTexture);
        camera.addCallbackBuffer(yuvBuffer);
        camera.setPreviewCallbackWithBuffer(this);

Now you should avoid that VideoEncoder receive a frame from it because this is still configured to work surface to buffer for this reason you cant set a buffer to VideoEncoder.

Delete this line:
https://github.com/pedroSG94/rtmp-rtsp-stream-client-java/blob/master/rtplibrary/src/main/java/com/pedro/rtplibrary/base/Camera1Base.java#L684
And replace it with a custom callback created for you where you will receive frames continously and you can use it with OpenCV (remenber that this frame always have rotation to 0 so maybe you need rotate it).
https://github.com/pedroSG94/rtmp-rtsp-stream-client-java/blob/master/encoder/src/main/java/com/pedro/encoder/video/VideoEncoder.java#L412

Alright, thanks a lot! I'll try it and inform you about results later.

So, at the moment forked project and made changes, which you proposed. Then, i am added my custom frame listener:
 @Override
  public void inputYUVData(Frame frame) {
    framesListener.getFrames(frame);
  }

After, i made some preparations from side of my app, and firstly i had a crash on this string:
 getCameraData.inputYUVData(new Frame(data, rotation, isFrontCamera && isPortrait, imageFormat));
Because getCameraData was null, so i fixed it, adding parameter getCameraData in this constructors:
public Camera1ApiManager(TextureView textureView, GetCameraData getCameraData) {
    this.textureView = textureView;
    this.getCameraData = getCameraData;
    this.context = textureView.getContext();
    init();
  }

  public Camera1ApiManager(SurfaceTexture surfaceTexture, GetCameraData getCameraData, Context context) {
    this.surfaceTexture = surfaceTexture;
    this.getCameraData = getCameraData;
    this.context = context;
    init();
  }

Now i getting Frames and trying create bitmap from them:
fun start(streamFrame: Frame) {
val bitmap = BitmapFactory.decodeByteArray(streamFrame.buffer, streamFrame.offset, streamFrame.buffer.size)
...
}

but seems something goes wrong, here is my logs:

2019-11-04 13:28:41.000 23119-23119 E/TEST: ===================================================
2019-11-04 13:28:41.000 23119-23119 E/TEST: FRAME BYTES SIZE 460800
2019-11-04 13:28:41.000 23119-23119 E/TEST: FRAME OFFSET 0
2019-11-04 13:28:41.001 23119-23119 E/TEST: BITMAP: null
2019-11-04 13:28:41.035 23119-23119 E/TEST: ===================================================
2019-11-04 13:28:41.035 23119-23119 E/TEST: FRAME BYTES SIZE 460800
2019-11-04 13:28:41.035 23119-23119 E/TEST: FRAME OFFSET 0
2019-11-04 13:28:41.035 23119-23119 E/TEST: BITMAP: null
2019-11-04 13:28:41.069 23119-23119 E/TEST:

Maybe i mistaked in something?

Found the problem, i should convert YUV image to JPEG before get bitmap. Looks like i am alredy have frames. Thanks for help and assistance!

P.S.
Maybe this will be usefull for you or your lib - this is my code for motion detection. Sensivity of detection depends on MOTION_DETECTOR_THRESHOLD.
object MotionDetector {

    const val MOTION_DETECTOR_THRESHOLD = 300
    const val YUV_TO_JPEG_CONVERTATION_QUALITY = 80

    private val compareFrameBuffer = ArrayList<Mat>()

    fun bitmapToMat(bitmap: Bitmap): Mat {
        val mat = Mat(bitmap.height, bitmap.width, CvType.CV_8U, Scalar(4.0))
        val bitmap32 = bitmap.copy(Bitmap.Config.ARGB_8888, true)
        Utils.bitmapToMat(bitmap32, mat)
        return mat
    }

    private fun convertYuvToJpeg(frame: Frame, size: Size): ByteArray {

        val width = size.width
        val height = size.height

        val yuv = YuvImage(frame.buffer, frame.format, width, height, null)

        val outputStream = ByteArrayOutputStream()
        val quality = YUV_TO_JPEG_CONVERTATION_QUALITY
        val rect = Rect(0, 0, width, height)
        yuv.compressToJpeg(rect, quality, outputStream)

        return outputStream.toByteArray()
    }

    private fun bytesToBitmap(imageBytes: ByteArray): Bitmap {
        return BitmapFactory.decodeByteArray(imageBytes, 0, imageBytes.size)
    }

    private fun compareFrames() {

        val firstMat = compareFrameBuffer[0]
        val secondMat = compareFrameBuffer[1]

        val outputImageMat = Mat()
        val outputMat = Mat()

        Core.compare(firstMat, secondMat, outputImageMat, Core.CMP_LE)

        val contours = ArrayList<MatOfPoint>()

        Imgproc.cvtColor(outputImageMat, outputMat, Imgproc.COLOR_BGR2GRAY)
        Imgproc.findContours(outputMat, contours, Mat(), Imgproc.RETR_EXTERNAL, Imgproc.CHAIN_APPROX_SIMPLE)

        if(contours.size > MOTION_DETECTOR_THRESHOLD) Log.e("TEST", "MOTION DETECTED")

        compareFrameBuffer.remove(firstMat)
    }

    fun start(streamFrame: Frame, streamSize: Size) {

        val convertedBytes = convertYuvToJpeg(streamFrame, streamSize)
        val bitmap = bytesToBitmap(convertedBytes)

        compareFrameBuffer.add(bitmapToMat(bitmap))

        if(compareFrameBuffer.size == 2) {
            compareFrames()
        }
    }
}

@Radcat501 Hello, sorry can you give an example your your * framesListener* ?
I want to modify frame to add some effects.


[Investigation] See if release could be automated

Investigation about automation of brew release pipeline, including building bottles and linking them to the formulae

This has been done in our Tap

Hi @arthurpalves
We have some issues installing the variants tool via our Homebrew Artifactory proxy and I believe it might be caused because your package is not available in the Homebrew Formulae. I'm not a Homebrew expert so I don't know why it is not visible in the formulae list or how much work it would take to get it there. All I can see is that even though I specify HOMEBREW_ARTIFACT_DOMAIN it still tries to install the package directly from GitHub instead of our private Artifactory. This is the command and error I receive (because my company policy doesn't allow downloading certain file formats from the internet without going through our Artifactory):
user % HOMEBREW_ARTIFACT_DOMAIN=... brew install variants
==> Fetching backbase/m/variants
==> Downloading https://github.com/Backbase/homebrew-m/releases/download/1.2.1/variants-1.2.1.arm64_monterey.bottle.tar.gz
==> Downloading from https://objects.githubusercontent.com/github-production-release-asset-2e65be/271573302/77504ff6-7152-4533-8d22-51144823fa62?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAVCODYLSA53PQK4Z
############################################################################################################################################################################################################### 100.0%curl: (22) The requested URL returned error: 403

Error: variants: Failed to download resource "variants"
Download failed: https://github.com/Backbase/homebrew-m/releases/download/1.2.1/variants-1.2.1.arm64_monterey.bottle.tar.gz

Hi @jenskuhrjorgensen,
Sorry for the late reply.

your package is not available in the Homebrew Formulae

We want to maintain our own tap instead, hence the installation requires us to specify the tap backbase/m.

it still tries to install the package directly from GitHub instead of our private Artifactory.

I see that it tries to install a bottle (a pre built package with a binary). This is to make installation faster by not building it from the source. The bottle has been pre built during the release and stored here https://github.com/Backbase/homebrew-m/releases/download/1.2.1/. I believe (but could be wrong) that if you try to force it to build from source it would work fine in your case:
brew install backbase/m/variants --build-from-source

@arthurpalves that worked - thanks a lot! 😀

@jenskuhrjorgensen Awesome. Don't hesitate to open a new issue if you need help with anything.


switching phone orientation makes detection terrible

This was said to have been fixed on 1.2.2, as stated on another issue that I opened here. However, this isn't quite working well yet... If I switch the orientation of the phone, it's very hard to detect the target in the new orientation, however if I switch back to the original orientation it works again fine. Even if the target is detected in the new orientation, the content shows up with an incorrect rotation. I made a video showcasing the problem.
https://github.com/hiukim/mind-ar-js/assets/5656275/e5c66548-5f4e-465d-bba1-7cd256543a1b
Thanks!

Same error. Tested on Android and iPad.

@hiukim quick unrelated question, but how many markers does the image tracking support (not simultaneous tracking) ?

I also encountered this problem. Horizontal screen detection is invalid on the mobile terminal. How to solve it?