deployment: Add keystone-related docker containers

This commits adds MariaDB and Keystone docker-related files to automate images creation in Dockerhub.

Coverage increased (+0.03%) to 65.667% when pulling 5087c9cf575b32166c9b2517d9657777d904ed25 on obedmr:docker into e8916ad17146da1410aeb875f0273d33bcd9cb59 on 01org:master.

Coverage increased (+0.03%) to 65.667% when pulling 3a1140492d67de98c6e7c16c160830e67c02beb1 on obedmr:docker into e8916ad17146da1410aeb875f0273d33bcd9cb59 on 01org:master.

Coverage increased (+0.03%) to 65.673% when pulling 3a1140492d67de98c6e7c16c160830e67c02beb1 on obedmr:docker into e8916ad17146da1410aeb875f0273d33bcd9cb59 on 01org:master.

Coverage increased (+0.02%) to 65.66% when pulling 3a1140492d67de98c6e7c16c160830e67c02beb1 on obedmr:docker into e8916ad17146da1410aeb875f0273d33bcd9cb59 on 01org:master.

Coverage increased (+0.02%) to 65.66% when pulling 3a1140492d67de98c6e7c16c160830e67c02beb1 on obedmr:docker into e8916ad17146da1410aeb875f0273d33bcd9cb59 on 01org:master.

Coverage decreased (-0.01%) to 65.646% when pulling 591da1c513ee429d33af40edd81423d525649331 on obedmr:docker into 098caffdeace8125093de108dacc18e6d290ae59 on 01org:master.

Coverage remained the same at 65.66% when pulling de7fc1ee1c1c7bc581fbeaf056af9123ab38a1f8 on obedmr:docker into 098caffdeace8125093de108dacc18e6d290ae59 on 01org:master.

Coverage remained the same at 65.66% when pulling de7fc1ee1c1c7bc581fbeaf056af9123ab38a1f8 on obedmr:docker into 098caffdeace8125093de108dacc18e6d290ae59 on 01org:master.

Coverage remained the same at 65.66% when pulling de7fc1ee1c1c7bc581fbeaf056af9123ab38a1f8 on obedmr:docker into 098caffdeace8125093de108dacc18e6d290ae59 on 01org:master.

Coverage increased (+0.007%) to 65.64% when pulling bfd7fbda8314fd5dc1e7590110604e8c69839676 on obedmr:docker into b3a57f6e6dbf0146ad2b9857b071ecf308d6fd5e on 01org:master.

Coverage increased (+0.007%) to 65.64% when pulling d90274a10716c7edba23981e9e92575659894cfd on obedmr:docker into b3a57f6e6dbf0146ad2b9857b071ecf308d6fd5e on 01org:master.

Coverage decreased (-0.007%) to 65.626% when pulling 53a687144847179ec473d6997c162311dd401d79 on obedmr:docker into b3a57f6e6dbf0146ad2b9857b071ecf308d6fd5e on 01org:master.

Coverage remained the same at 65.633% when pulling 53a687144847179ec473d6997c162311dd401d79 on obedmr:docker into b3a57f6e6dbf0146ad2b9857b071ecf308d6fd5e on 01org:master.

Coverage remained the same at 65.633% when pulling 4c1d7c7932029866e0fac611dc1536578e5d74fd on obedmr:docker into b3a57f6e6dbf0146ad2b9857b071ecf308d6fd5e on 01org:master.

Coverage remained the same at 65.633% when pulling 4c1d7c7932029866e0fac611dc1536578e5d74fd on obedmr:docker into b3a57f6e6dbf0146ad2b9857b071ecf308d6fd5e on 01org:master.

Coverage decreased (-0.01%) to 65.58% when pulling cb75febd1735a8ad21708cb65b07daf2d029eb66 on obedmr:docker into<PHONE_NUMBER>b4627eb72e994f2038cbee8bafa2a8 on 01org:master.

Coverage decreased (-0.01%) to 65.58% when pulling a134839a917cdf4938ab9a650683e3fad1026e73 on obedmr:docker into<PHONE_NUMBER>b4627eb72e994f2038cbee8bafa2a8 on 01org:master.

Coverage decreased (-0.01%) to 65.58% when pulling 3ae3486881e6feddb132427e27a1b66461b70fb1 on obedmr:docker into<PHONE_NUMBER>b4627eb72e994f2038cbee8bafa2a8 on 01org:master.

Coverage decreased (-0.007%) to 65.587% when pulling 3ae3486881e6feddb132427e27a1b66461b70fb1 on obedmr:docker into<PHONE_NUMBER>b4627eb72e994f2038cbee8bafa2a8 on 01org:master.

Coverage increased (+0.007%) to 65.6% when pulling 3ae3486881e6feddb132427e27a1b66461b70fb1 on obedmr:docker into<PHONE_NUMBER>b4627eb72e994f2038cbee8bafa2a8 on 01org:master.

Coverage decreased (-0.03%) to 65.56% when pulling df6a9868e4864f1a7aa6041d3ba3302b2de1d529 on obedmr:docker into<PHONE_NUMBER>b4627eb72e994f2038cbee8bafa2a8 on 01org:master.

Coverage decreased (-0.05%) to 65.54% when pulling ea6aa0963bbf1645368dc076c2e4510cc0dccb92 on obedmr:docker into<PHONE_NUMBER>b4627eb72e994f2038cbee8bafa2a8 on 01org:master.

Closing pull request, all clearlinux based containers will be hosted at: https://github.com/clearlinux/dockerfiles


Enchanching the functionality of "File Name" field of Capture macro

Is your feature request related to a problem? Please describe.
how to add a task in a file(but at the time of chosing file to insert it may present us choice of files with a particular tag(preferred) or in a folder) using quickadd.
Describe the solution you'd like

writing the name of the folder like show in the image allow us to choose from the files present in the image
and writing like tag: #project would list all files with project tag.
I think this could be implemented with the help of dataview api.

This would be such a cool feature, instead of having to specify capture for each file individually, we could just set the folder, then dynamically pick the right file.
My use case for this would be, I have a people folder, and I would like to use QuickAdd to capture agenda items as they arise for each person. Realistically, I don't have that many (around 10 or so), and could make a separate capture for all of them, but it just doesn't feel right. Is there maybe some other way to achieve this without having multiple captures that I'm not aware of?

Hi @Gaaruda & @bondzula
Thank you for the feature request!
I think this is a great feature. I've gone ahead and added it as per v0.19.0.
This release adds both Capture Anywhere (capture to folder) & Capture with Tag.
Here are the details about capturing to folders & capturing with tags:
Capturing to folders
You can also type a folder name into the Capture To field, and QuickAdd will ask you which file in the folder you'd like to capture to.
This also supports the format syntax. You can even write a filename in the suggester that opens, and it will create the file for you - assuming you have the Create file if it doesn't exist setting enabled.
For example, you might have a folder called CRM/people. In this folder, you have a note for the people in your life. You can type CRM/people in the Capture To field, and QuickAdd will ask you which file to capture to. You can then type John Doe in the suggester, and QuickAdd will create a file called John Doe.md in the CRM/people folder.
You could also write nothing - or / - in the Capture To field. This will open the suggester with all of your files in it, and you can select or type the name of the file you want to capture to.
Capturing to a folder will show all files in that folder. This means that files in nested folders will also appear.
Capturing to tags
Similarly, you can type a tag name in the Capture To field, and QuickAdd will ask you which file to capture to, assuming the file has the tag you specify.
If you have a tag called #people, and you type #people in the Capture To field, QuickAdd will ask you which file to capture to, assuming the file has the #people tag.


Use AMI av-base 0.31

Refer to this link for build results (access rights to CI server needed):
https://jenkins.airvantage.io/job/av-sched-pull-requests/102/
Integration build result

Commit: f0930dd0bf9b0522ce05aae1764eb8980d84d462
Status: SUCCESS :white_check_mark:
Report: http://av-ci-test-reports.s3-website-eu-west-1.amazonaws.com/av-backend/102/report.html


Allow cfg files to be more machine-independent

https://github.com/E3SM-Project/zppy/blob/main/tests/integration/utils.py#L125 -- can we reduce the number of parameters that are machine-specific?
For example, the diags paths could be consolidated into a single parameter.

Shouldn't the diags_path come from mache anyway, at least for supported machines?

yes, but there are a variety of derived paths. E.g.,
        "diags_obs_climo": f"{diags_base_path}/observations/Atm/climatology/",
        "diags_obs_tc": f"{diags_base_path}/observations/Atm/tc-analysis/",
        "diags_obs_ts": f"{diags_base_path}/observations/Atm/time-series/",

I see.  I think those should just be hard-coded at this point, and the diags_base_path should come from mache when possible but be a config option for machines that mache doesn't support (unless zppy only supports machines that mache also supports).

I think those should just be hard-coded at this point

I think some users may want to use completely different dataset paths though.

unless zppy only supports machines that mache also supports

I think we're officially supporting the same machines -- the ones on Unified.

I see, in that case carry on. It doesn't sound like you need any input from me, but ping me if so.

@forsyth2 : in most cases (99%+), a user will want to use the standard observational datasets for diags_obs_climo, diags_obs_tc, diags_obs_ts and should not have to know or worry about where these datasets reside.
The paths should be set transparently, either in zppy or E3SM Diags with the diags_base_path coming from mache.

@forsyth2 : here is an example of an e3sm_diags section from a zppy configuration file on chrysalis:
[e3sm_diags]
active = True
years = "1985:2014:30",
ts_num_years = 5
ref_start_yr = 1979
ref_final_yr = 2016

  [[ atm_monthly_180x360_aave ]]
  short_name = 'v2_1.LR.historical_0101'
  grid = '180x360_aave'
  sets = 'lat_lon','zonal_mean_xy','zonal_mean_2d','polar','cosp_histogram','meridional_mean_2d','enso_diags','qbo','diurnal_cycle','annual_cycle_zonal_mean','streamflow','zonal_mean_2d_stratosphere'
  reference_data_path = '/lcrc/soft/climate/e3sm_diags_data/obs_for_e3sm_diags/climatology'
  obs_ts = '/lcrc/soft/climate/e3sm_diags_data/obs_for_e3sm_diags/time-series'
  dc_obs_climo = '/lcrc/group/e3sm/public_html/e3sm_diags_test_data/unit_test_complete_run/obs/climatology'
  climo_diurnal_subsection = "atm_monthly_diurnal_8xdaily_180x360_aave"
  climo_diurnal_frequency = "diurnal_8xdaily"
  output_format_subplot = "pdf",

We want this to work properly without having to specify  reference_data_path, obs_ts, dc_obs_climo. Those are the parameters that make the file difficult to port.
For other tasks, the main offending parameter is
  mapping_file = /home/ac.zender/data/maps/map_ne30pg2_to_cmip6_180x360_aave.20200201.nc

which should support specifying directly a filename
  mapping_file = map_ne30pg2_to_cmip6_180x360_aave.20200201.nc

with zppy relying on mache to find the absolute path where these files reside. The user should still have the option of specifying and absolute path in they choose to bypass the official mapping files.

Another parameter would be
environment_commands = "source /lcrc/soft/climate/e3sm-unified/load_latest_e3sm_unified_chrysalis.sh"

which a user should have the option of omitting completely with zppy relying on mache to determine the proper way to load the latest E3SM Unified environment.
There are other machine dependent parameters such as input, output, www, partition which a user will still have to modify manually when going from one machine to another.

Re: diags observations paths -- I'm working on automating those parameters.
Re: mapping files -- this was completed in #381.
Re: environment_commands -- I'll see if I can get that working. Mache doesn't have the load commands stored in the machine cfg files. It does have the Unified base path and the machine name, so zppy might be able to come up with the proper load paths.

Re: diags observations paths -- I'm working on automating those parameters.

Observation paths are automated in #426.


Latest version check always returns false on iOS

On iOS, this always believes that the app does not have the latest verison. @kevcrooks

@charlesroddie is this still a problem?


AutoKey with Lazy and set_code_hash.

Following on https://use.ink/datastructures/storage-layout#manual-vs-automatic-key-generation
and the Tip!:

Using ManualKey instead of AutoKey might be especially desirable for upgradable contracts, as using AutoKey might result in a different storage key for the same field in a newer version of the contract. This may break your contract after an upgrade 😱!

We might want to add a detector for the case when:

There's Lazy field used with AutoKey
There's a set_code_hash function in the contract that upgrades it.

warn users about the potential issues & suggest using ManualKey.

Closed by #243. This is now a detector in main.


Change in codeblock

Changed the codeblocks that used  component, which needed importing, to the commonly used <React.Fragment> syntax

Thanks, but this is not necessary, and in most cases the global isn't available so showing importing is correct.


UART Hardware Flow Control Addition

It would be nice if you could route an additional two digital lines between the Pi and the Nucleo for out of band signaling purposes. It'd be nice if you could use the specific RTS/CTS pins (best matches shown for you below). I know the Pi side doesn't have RTS/CTS capabilities, but even if they were attached to general digital pins that's better than nothing.
If the specific RTS/CTS pins are too hard or cause trouble for rearranging other signals, then any two digital lines would do to anywhere. This just allows us to indicate to both sides of the link if the other side is ready to transmit/receive without relying on the blind serial link.
See #32 - it's similar!
USART3 TX -> PB10
USART3 RX -> PB11
USART3 CTS -> PB13
USART3 RTS -> PB14
USART1 TX -> PA9
USART1 RX -> PA10
USART1 CTS -> PA11
USART1 RTS -> PA12

Implemented using USART3 with flow control signals

Confirmed.


I am having trouble getting the examples working

First of all, thank you for the wonderful library! ✨
However, I am trouble getting the authentication working.
Here is my current code:
const {
  amazonMarketplaces,
  HttpClient,
  Sellers,
  Orders,
  Products,
  MWS
} = require('@scaleleap/amazon-mws-api-sdk')

const mwsOptions = {
  marketplace: amazonMarketplaces.US,
  awsAccessKeyId: "...",
  mwsAuthToken: "...",
  sellerId: "...",
  secretKey: "...",
}

// Using MWS client
const main = async () => {
  const http = new HttpClient(mwsOptions)
  const mws = new MWS(http)

  /**
   * Get status for Sellers API
   */
  const [serviceStatus] = await mws.sellers.getServiceStatus()
  if (serviceStatus.Status === 'GREEN') {
    console.log(`Sellers API is up on ${serviceStatus.Timestamp}!`)
  }

debugger
    const products = new Products(http)
    const marketplace = amazonMarketplaces.US
    const [response, meta] = await products.getMatchingProduct({
        MarketplaceId: marketplace.id,
        ASINList: ['B0946YBLPV'],
    })
   debugger
}

main();

I have been added as admin to an Amazon account and I have access to the developer dashboard and have created a security profile.

I used the credentials above for the sellerId and secretKey. I have a hard time understanding what awsAccessKeyId and mwsAuthToken should actually be... I tried using keys from an IAM user, but I am getting the following error:
< (node:782968) UnhandledPromiseRejectionWarning: SignatureDoesNotMatchError: GetMatchingProduct request failed
<     at HttpClient.request (/.../node_modules/@scaleleap/amazon-mws-api-sdk/lib/http.js:253:44)
<     at process._tickCallback (internal/process/next_tick.js:68:7)

How can I get the authentication work?
Thank you!

This package is for MWS API (http://docs.developer.amazonservices.com/en_US/dev_guide/index.html).
Your screenshot shows an Amazon Developer console, which leads me to believe you are not using MWS.
Amazon Developer console at best can provide Amazon Advertising API credentials, but even then, you'd need to OAuth first, to get the tokens, before using them.

@moltar Thanks for the quick reply! Is there any way to automate this and not need the OAuth steps, but instead getting some never-expiring tokens and set up the server script?
I asked this StackOverflow question and perhaps I haven't got the best answer: https://stackoverflow.com/q/68251611/1420197

MWS API does not use OAuth.
Selling Partner API (for which we also have an SDK) uses OAuth, and you can self-authorize via the Amazon Seller Central Developer account.

https://github.com/amzn/selling-partner-api-docs/blob/main/guides/en-US/developer-guide/SellingPartnerApiDeveloperGuide.md#self-authorization

So, if we would like to use the MWS, where should we get the credentials from?

I posted the docs link. Please go thru that.
Also I wouldn't build anything new on MWS as it's deprecated.

@moltar Thank you! I will talk to the admins to sign up for the Selling Partner API and eventually will open issues in the other repository. Keep up the great work! ❇


Style README.md

@JonasGroeger Thank you! It certainly looks nicer this way. But could you rework the license information part? There´s a license file in the repo stating it´s Apache V2


operator project-quay (3.13.0)

Add 3.13.0 to community operators

/merge possible

/merge possible


Unable to unpack an archive created on linux

Hi,
I have got a problem with zip4j above 2.0 version. Durning using linux Centos7
the archive after compress with AES encritpion can't be unpacked. (whole code belowe)
7zip - doesn't show password input popup. Shows 'error about headers', 'unconfirmed archive start' and warning about data behind end block of usable data.
WinRAR - after put correct password shows error: 'Wrong password'
ZipParameters parameters = new ZipParameters();

parameters.setCompressionMethod(CompressionMethod.STORE);
parameters.setEncryptFiles(true);

parameters.setEncryptionMethod(EncryptionMethod.AES);
parameters.setAesKeyStrength(AesKeyStrength.KEY_STRENGTH_256);

ZipFile zipFile = new ZipFile(dir_path + '/' + zipName, password.toCharArray());

zipFile.addFiles(filesToAdd, parameters);

Hi, I don't have access to a Centos to try this out. I will try to setup a VM with Centos but that will take a while for me to get to.
Do you get the same error if you use CompressionMethod.DEFLATE as the compression method instead of CompressionMethod.STORE?
And also, can you attach a sample zip file which has this issue?

I have got a problem with zip4j above 2.0 version.

BTW, to be precise, which version of zip4j are you using?

I used 2.9.1. The highest version I use without these issues was 1.3.3

Strangely, on my mac I am able to extract your zip file with inbuilt zip utility, and also with the app called "The Unarchiver". But Keka, which uses 7zip in the background cannot extract the zip file.
What makes investigating this issue hard is that I don't have access to Centos unfortunately. I tried installing VirtualBox and install an image of Centos, but that went horribly wrong and I got a lot of errors. Unfortunately without being able to reproduce the issue, I can't really say what is going wrong here.
I will however try looking at the zip metadata and try to deduce if some header is being wrongly written. I believe this issue is because of the fact that different tools rely on different parts of zip's metadata to retrieve the same information.


Removal of spam ACs detailing banning as ComentBFT 0.38-> will not support this.

With the introduction of cometBFT 0.38 into core (see below issue) there will no longer be banning. Instead TXs that would have previously been post-rejected will not be included in the blocks.

https://github.com/vegaprotocol/vega/issues/8051

In light of this we need to:

Remove ACs referencing banning
See if new ACs covering the new functionality can be crafted (if indeed this can be tested)

@Vegaklaus
I think these also need to be reviewed:

Linking too many transactions to the same block is detected and leads to a blocking of that account (if the increasing difficulty is turned off) (0072-SPPW-003)

Linking too many transactions with a low difficulty level to a block is detected and leads to blocking of the account (if increasing difficulty is turned on) (0072-SPPW-004)

A blocked account is unblocked after the maximum of 1/48 of an Epoch or 30 seconds. For transactions sent in the meantime, a meaningful error message is returned. (0072-SPPW-006)

The spec may need a proper review as at least this paragraph may be out of date too:

Violations of the latter rules cannot lead to a transaction being removed, as different validators have a different view on this; however, they can be verified post-agreement, and the offending vega-key can be banished for the duration of 1/48 of an Epoch with a minimum duration of 30 seconds. E.g. if the epoch duration is 1 day, then the ban period is 30 minutes. If however the epoch is 10 seconds, then the ban period is 30 seconds; this is measured starting at the blocktime in which the violation occurs, and transactions are allowed again in the first block after. Validators should return a meaningful error message to the wallet to let it know that/why a transaction got rejected. Linking a transaction to a too old block will not lead to a banishment, but only to a rejection of the offending transaction.


backend,restore: duplicate more important system variables from downstream

What problem does this PR solve?
Fix #504.
What is changed and how it works?
Copy all sys vars that affects expression evaluation results in additional to tidb_row_format_version.
Check List
Tests

Unit test
Integration test (will add integration test after #505 is merged)

Side effects
Related changes

/run-integration-tests

the test failure in tidb backend is pingcap/tidb#21510 😓

LGTM

LGTM

(manual approval needed)


Issue with the SMPL-X face

Hi,
I'm trying to replicate your results with your own data and I've run into the following issue: the SMPL-x MODEL seems to not be renderign properly the face vertices.
For example, below is my SMPL-X render:

And this is the one published in the project page:

The face is cleary off in the one I'm getting. Any clue on what I may be doing wrong? I'm using FLAME 2020 as instructed.
Thanks!

There are a couple of possible reasons, which is already reported in here: https://github.com/mks0601/ExAvatar_RELEASE/issues/13

pip install smplx2
Check DECA's results, which is available in $ROOT/flame_init/renders

And try the fitting again.

Thanks for the prompt response. Indeed it was an issue with the DECA step. I had not downloaded the deca_model checkpoint, and the process had not raised any error.
I've now succesfully trained the avatar with your example dataset. May I ask if the results shown or the github project page are with only 5 epochs of training (which is the default in the code)?, I ask because I get pretty decent results but not as good as yours. Thanks

thanks for your confirmation. I added a line to ensure the availability of deca_model.tar: line.
I used only 5 epochs for all videos in the project page. Actually, you can download the avatar from here

Understood. Then for some reason I can`t think off the avatar I get is slightly worse. See the picture below and compare it with the one above. Some details (e.g. the shoes black areas) are missing. Any suggestions on what I should review?

How did you make the avatar? Did you do all the fitting process by yourself? Or used provided pre-processed fitting data and just made the avatar based on the provided ones?

For the avatar I did everything by myself except for the segmentation. That is, the only initial data I had was the video recording and the masks.
For the SMPL-X parameters of the target video (tvxq_mirotic) I used the data provided by you.

could you first check the quality of several dumped videos from the phone scan (not the target video)? you can compare the video with mine. for example, keypoints_whole_body.mp4 and smplx_optimized_smoothed.mp4

Yep okay that makes sense. I will see if I can resolve any discrepancies between my intermediate outputs and yours, and may open another issue if I can't solve it. Feel free to close this one, and thank you!


Bump version to 0.5.1

Bump version to 0.5.1
0.5.1

Middleware fix for django >= 1.10 #93 [@Temeez]
Force the username to lowercase #90 [@MattBlack85]

Signed-off-by: Ken Cochrane<EMAIL_ADDRESS>

Coverage remained the same at 91.354% when pulling 0bce1e874d866a812ab15f6d244bd7773894a13c on 0.5.1 into db7a9001dbe8dbe5e6d77b154cbeddc582c3cd95 on master.

Pushed to pypi: https://pypi.python.org/pypi/django-defender/0.5.1


Multi-region deployment using same service_label causes conflict

Hi,
When extending to a new region and using the same service_label, deployment of the VAULT-GLOBAL-POLICY service policy causes a error because it already exists as a global resource:
"Error: 409-PolicyAlreadyExists, Policy 'bnds-vault-policy' already exists"
I suggest this should be made conditional depending on the "extend_landing_zone_to_new_region" variable.
https://github.com/oracle-quickstart/oci-cis-landingzone-quickstart/blob/21b539633cae56fc186d97e183ac97d40e31efe3/config/iam_service_policies.tf#L38
Best regards,
Leon.

Fixed in release 2.5.8.


Shipyard Respawn issues

Whenever you respawn on a ship in the shipyard and go to the helm, it teleports you back to the ship outside the shipyard, but also locks your mouse to vertical movement and you cant leave the helm without /tp.
How to replicate:
Place bed in ship, right click bed, type /kill in chat, go to helm, right click, presto! you broke the game
No (Besides Prerequisetes)
latest.log
Didnt have a debug log.

Bed compatibility is handled in the base mod. Moving to VS2 repo.


Add Markdown support to the docs

You can try it out with:
python3 -m venv venv
source ./venv/bin/active
pip install -e .[doc]
make -C _docs html
python3 -m webbrowser _docs/build/html/index.html

I only did the conversion for the getting started document. I'll let you guys do the rest. I recommend using pandoc to do the initial ReST to Markdown conversion and then manually fix the inline code sections.

Looks good, I'll convert the rest.


Figure out CMake libgl/libglvnd warning

Do we want to switch to using glvnd on Linux? do we need to do anything special in our application or can we just silently swap it in?
Need to look into this.

if (POLICY CMP0072)
    cmake_policy (SET CMP0072 x)
endif(POLICY CMP0072)

Where x is either OLD or NEW. NEW will use GLVND.

Yeah it's more a question of testing GLVND on a couple of platforms and making sure it works properly.


Fix typos

Description
Found thanks to https://github.com/codespell-project/codespell

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall first build on typos at 55.899%

Totals

Change from base Build<PHONE_NUMBER>:
55.9%

Covered Lines:
11698

Relevant Lines:
19696

💛  - Coveralls


Update jmh-core, jmh-generator-asm, ... to 1.28

Updates

org.openjdk.jmh:jmh-core
org.openjdk.jmh:jmh-generator-asm
org.openjdk.jmh:jmh-generator-bytecode
org.openjdk.jmh:jmh-generator-reflection

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

Files still referring to the old version number
The following files still refer to the old version number (1.27).
You might want to review and update them manually.
website/static/img/undraw_code_review.svg
website/static/img/undraw_open_source.svg
website/static/img/undraw_operating_system.svg
zio-json/jvm/src/test/resources/jawn/countries.geo.json
zio-json/jvm/src/test/resources/jawn/foo.json
zio-json/jvm/src/test/resources/jawn/qux1.json
zio-json/jvm/src/test/resources/jawn/qux2.json
zio-json/jvm/src/test/resources/jawn/ugh10k.json

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.openjdk.jmh" } ]

labels: library-update, old-version-remains

Superseded by #223.


Add someone to Hyperledger Labs GitHub org

GitHub ID to add: @xermicus
Lab to be added to: solang
Role: Write

Thank you very much

Invite sent!


When I run "./apollo.sh build ",    get the error report from terminal in  ubuntu18.04 "Error :An error occurred during the fetch of repository 'six'" (I 'm in China)

We appreciate you go through Apollo documentations and search previous issues before creating an new one. If neither of the sources helped you with your issues, please report the issue using the following form. Please note missing info can delay the response time.
System information

OS Platform and Distribution (e.g., Linux Ubuntu 18.04): 18.04
Apollo installed from (source or binary): source
Apollo version (3.5, 5.0, 5.5, 6.0): 6.0
Output of apollo.sh config if on master branch:

Steps to reproduce the issue:

Please use bullet points and include as much details as possible:
When I run the command ”./apollo.sh build “  in docker   ,the  terminal  report the error about six repository:

Error :An error occurred during the fetch of repository 'six'
I install the apollo software  with the Tutorial :https://github.com/ApolloAuto/apollo/blob/master/docs/quickstart/apollo_software_installation_guide.md
Supporting materials (screenshots, command lines, code/script snippets):
the screenshots of terminal as follow:

What I have tried as follow:

many times exit docker and enter  'in-dev-docker' docker;
delete the bazel file in /apollo/.cache ,and rebuild with command "./apollo.sh build", and the errors  persist.
reboot the ubuntu operating system .
set network to  over the wall(I am in China ).    I use the over the wall productions are expressvpn and  astrill.  They can visit the external network independently (such as www.google.com ,https://en.wikipedia.org/, https://youtube.com   and so on. )

BUT , It doesn't work for the build system and report the errors as the picture.
main errors are :

SO,What's the problem I'm not aware of?
Any experts could help me?
Thanks.

any expert meet this error?

I've met the question as you too,and i fix it by change the dns to <IP_ADDRESS>
you can also refer to https://blog.csdn.net/lgyuwt/article/details/119250815

Closed due to inactivity. If the problem persists, pls feel free to reopen it or create a new one and refer to it.


Add verbosity to reduction process

from #144 "Maybe some verbosity about the reduction techniques in the scan (few prints saying that x parameter configurations have been removed). I might not be using it correctly but I never know if it has actually been used or not ..."

Merging with #224. Closing here.


loadDecodedBuffer for specific time (only load part of track).

is it possible to load audioBuffer for a specific time on the whole track?
the problem is I don't have all the file at the same time and i don't want to load the whole thing either.
i can show the whole timing bar with prop duration, but how can i load specific time
something like :
wavesurfer.loadDecodedBuffer(audioBuffer);
-->
wavesurfer.loadDecodedBuffer(audioBuffer, 10); // audioBuffer, from(second)

config look like this
const wsp: WaveSurfer.WaveSurferParams = {
            container: '#waveform',
            // backend: 'MediaElement',
            backend: 'WebAudio',
            // audioContext:
            duration: trackTotalDuration,
};

i tried audioContext too, set its value like this:
const ax = new ((window as any).AudioContext || (window as any).webkitAudioContext)({ sampleRate: sampleRate });

and then
const source1 = ax.createBufferSource();
            source1.buffer = bf;
            source1.connect(ax.destination);
            // source1.connect(gn);
            source1.start(ax.currentTime + 0);

i also test method like this (found in webaudio.js) but it's not working as it should:
createSource(bf: AudioBuffer, startPosition: number) {
        const backend = this.wavesurfer.backend;
        // backend.buffer = bf;

        // backend.startPosition = 0;
        // backend.lastPlay = backend.ac.currentTime;
        // backend.buffer = bf;
        // backend.createSource();
        // return;

        backend.disconnectSource();
        backend.source = backend.ac.createBufferSource();

        // adjust for old browsers
        backend.source.start = backend.source.start || backend.source.noteGrainOn;
        backend.source.stop = backend.source.stop || backend.source.noteOff;

        backend.source.playbackRate.setValueAtTime(
            backend.playbackRate,
            backend.ac.currentTime
        );
        backend.source.buffer = bf; // backend.buffer;
        backend.source.connect(backend.analyser);

        backend.source.start(backend.ac.currentTime + startPosition);
    }

can you split your audio in Blob or File objects and load it using wavesurfer.loadBlob?

I think I can convert audioBuffer to blob but wavesurfer.loadBlob still has the same problem,
how to assign audioBuffer or blob to a period of time?

My suggestion is to create another audioBuffer with only portions of original buffer.


Improve RegistryPreview validation

Summary of the Pull Request
Registry path abbreviations (e.g. "HKLM" for "HKEY_LOCAL_MACHINE") are valid in .REG files and Reg.exe, but RegistryPreview treats them as invalid paths. This commit adds the abbreviations to RP's validation logic.

PR Checklist

[X] Closes: #31562
[ ] Communication: I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected
[ ] Tests: Added/updated and all pass
[ ] Localization: All end user facing strings can be localized
[ ] Dev docs: Added/updated
[ ] New binaries: Added on the required places

[ ] JSON for signing for new binaries
[ ] WXS for installer for new binaries and localization folder
[ ] YML for CI pipeline for new test projects
[ ] YML for signed pipeline

[ ] Documentation updated: If checked, please file a pull request on our docs repo and link it here: #xxx

Detailed Description of the Pull Request / Additional comments
It's really simple I just duplicated the lines that validate the registry path roots and changed said roots to their abbreviated versions.

Validation Steps Performed
this came to me in a vision

Hi. Thank you for your contribution! Could you please link this PR to an issue.

@aaron-junker Done, see #31562

Wow, that IF statement is huge. Is there no way to smoothen that?

Wow, that IF statement is huge. Is there no way to smoothen that?

You could make an array containing all the prefixes and then do this:
if (!prefixes.Any(p => key.StartsWith(p, StringComparison.InvariantCultureIgnoreCase)))

Thank you for opening the PR. :)
Besides other comments that already were pointed, this PR is failing validation. Were you able to build it locally? It should be failing when building locally as well.
Can you please fix the PR taking into account the PR feedback?

Thank you for opening the PR. :) Besides other comments that already were pointed, this PR is failing validation. Were you able to build it locally? It should be failing when building locally as well. Can you please fix the PR taking into account the PR feedback?

Judging from the build output, the reason it's failing is due to some error in the .SLN file. It's a very straightforward commit; all I did was fork PowerToys:main and add the appropriate prefixes to the existing If block, so if there's something else in the main branch that's failing, I have no control over that.

The only other warning I see is, "Tabs and spaces should be used correctly," and again, all I did was copy the existing If block. I don't know how tabs and spaces ought to be used but I imagine that's the decision of whoever actually wrote the code.

The only other warning I see is, "Tabs and spaces should be used correctly,"

Well, that worked.
@jaimecbernardo done.


STM32F4 adc dma crashing

Describe the bug
I am trying to read 4 adc channels simultaneously with an STM32F411. The adc_read call only allows a single channel to be read with STM32 if not using DMA. This issue has been brought up a few times and the answer has generally been to be use DMA. There are a few issues related to it for example #19882 #34656 #32288 #39640
#52965 Is the pull request that provided STM32 ADC DMA support. None of the code examples I can find work for F4 chips. The test code in test/drivers/adc/adc_dma has code examples for H7, L4 and U5 chips, but not F4 chips.
The F4 chips use the st,stm32f4-adc and the st,stm32-dma-v1 node.
I tried running the test code with a stm32f4 board, but the MCU always resets when the dma_config function calls api->config(dev, channel, config); (Line 345 of include/zephyr/drivers/dma.h) The adc code calls dma_config from drivers/adc/adc_stm32.c adc_stm32_dma_start function.
DTS File:
#include <st/f4/stm32f411Xe.dtsi>
#include <st/f4/stm32f411r(c-e)tx-pinctrl.dtsi>
#include <zephyr/dt-bindings/input/input-event-codes.h>
.
.
.

&adc1 {
	pinctrl-0 = <&adc1_in10_pc0 &adc1_in11_pc1
	&adc1_in12_pc2 &adc1_in13_pc3 &adc1_in1_pa1>;
	pinctrl-names = "default";
	st,adc-clock-source = <SYNC>;
	st,adc-prescaler = <2>;
	status = "okay";

	dmas = < &dma1 0 0 (STM32_DMA_PERIPH_TO_MEMORY |
	STM32_DMA_MEM_INC |  STM32_DMA_MEM_16BITS | STM32_DMA_PERIPH_16BITS) 0x3>;
	dma-names = "dma";

	#address-cells = <1>;
	#size-cells = <0>;

	channel@1 {
		reg = <1>;
		zephyr,gain = "ADC_GAIN_1";
		zephyr,reference = "ADC_REF_INTERNAL";
		zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
		zephyr,resolution = <12>;
	};

	channel@10 {
		reg = <10>;
		zephyr,gain = "ADC_GAIN_1";
		zephyr,reference = "ADC_REF_INTERNAL";
		zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
		zephyr,resolution = <12>;
	};

	channel@11 {
		reg = <11>;
		zephyr,gain = "ADC_GAIN_1";
		zephyr,reference = "ADC_REF_INTERNAL";
		zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
		zephyr,resolution = <12>;
	};

	channel@12 {
		reg = <12>;
		zephyr,gain = "ADC_GAIN_1";
		zephyr,reference = "ADC_REF_INTERNAL";
		zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
		zephyr,resolution = <12>;
	};

	channel@13 {
		reg = <13>;
		zephyr,gain = "ADC_GAIN_1";
		zephyr,reference = "ADC_REF_INTERNAL";
		zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
		zephyr,resolution = <12>;
	};
};

test_dma: &dma1 {
    status = "okay";
};

And I have the following in my config file:
CONFIG_ADC=y
CONFIG_DMA=y
CONFIG_ADC_STM32_DMA=y
CONFIG_ADC_ASYNC=y

Environment (please complete the following information):

OS: Windows
Zephyr 3.4.99

I should also mention that I do get this build warning:
unit address and first address in 'reg' (0xa) don't match for /soc/adc@40012000/channel@10
unit address and first address in 'reg' (0xb) don't match for /soc/adc@40012000/channel@11
unit address and first address in 'reg' (0xc) don't match for /soc/adc@40012000/channel@12
unit address and first address in 'reg' (0xd) don't match for /soc/adc@40012000/channel@13

Thanks. I have upgraded to v3.5.0 and am reading the ADC sequence with a separate thread. This seems to be working for now and Ill will probably change to DMA once v3.6.0 comes out.

Issue is and will be further resolved in future releases

I have done more testing and ran into issues.
The adc_read function with v3.5.0 ends up hanging after a while. I have the code in a while loop and randomly the loop will stall. With some experimenting it seems like the loop stall quicker when zephyr,acquisition-time is set to ADC_ACQ_TIME_DEFAULT rather than ADC_ACQ_TIME_MAX.
while (true)
{
	int ret = adc_read_dt(&adc_channels[0], &sequence);
	if (ret == 0)
	{
		got_new_data = true;
	}
	k_msleep(10);
}

I have also tried the latest main with DMA. That is not working either. The STM32F4 doesn't have the function LL_ADC_REG_StopConversion. This function is called on line 770 of drivers/adc/adc_stm32.c.
I commented out the line. With the line commented out the signal is never set and the buffer doesnt fill with data.

The adc_read function with v3.5.0 ends up hanging after a while. I have the code in a while loop and randomly the loop will stall. With some experimenting it seems like the loop stall quicker when zephyr,acquisition-time is set to ADC_ACQ_TIME_DEFAULT rather than ADC_ACQ_TIME_MAX.

Yes, if you look at the status register, I think you will see the overflow bit is set. That means the ADC has made another measurement while the data buffer was still full, i.e. the data is not read fast enough.
Dealing with the overflow error is a pain and I think the best way to avoid it is to set the timings correctly (acquisition time and the clock source/prescaler) to prevent it happening.

I have also tried the latest main with DMA. That is not working either. The STM32F4 doesn't have the function LL_ADC_REG_StopConversion. This function is called on line 770 of drivers/adc/adc_stm32.c.
I commented out the line. With the line commented out the signal is never set and the buffer doesnt fill with data.

Noted. I'll try to have a look next week.

Hi @rijesha,
I've just pushed a PR to add DMA support for STM32F4 ADC here: #68685
Can you have a look and tell me if that solves your problem?

Hi @gautierg-st.
The PR works for me with an STM32F411 with 5 adc input channels. Thanks for your help in the matter.

Re-opening the time #68685 is merged


[DOC] clarify mac pytest; add blank line

Reference issue
Closes #14942
What does this implement/fix?
add a line break in instructions explaining pytest.
Additional information
#PyDataGlobal sprint

cc:  @rgommers

Looks good!


Arnej/detect hostname and more

@mpolden please review
not tested on windows; also needs testing in IPv6-only environment.
ideally various broken network setups should be checked also.
@havardpe could maybe take a look and compare with C++ code for hostname detection and validation.
Adds:
func ExportDefaultEnvToSh() error
func FindOurHostname() (string, error)
func FindVespaUser() string
func HasOnlyIpV6() bool

C++ does canonical hostname lookup based on hostname while the go code seems to do reverse lookup based on ip address instead. The C++ code requires that all ip addresses returned by the dns lookup of a potential hostname actually belongs to us; the go code seems a bit more relaxed on this one. There does not seem to be any special handling of loopback interfaces in C++


Rust testing

I'm using Ubuntu Linux and the stock Rust packages that come with 22.04.  After building without errors, I run the executable and get:
ayourk@Z590-P:..3/rust2/rust-match-3-solver>RUST_BACKTRACE=full ./target/debug/rust-match-3-solver
Paste your exported board here:
(You can get your board by drawing it on the website and clicking the export button)
> { "height": 2, "width": 3, "board": [[1,2,1], [2,1,2]] }
How mant layers of threads do you want to spawn?
2 is recommended for most solves. 1 might be necessary for the larger solves. Larger numbers are faster but more intensive.
> 2
thread 'main' panicked at src/main.rs:49:86:
That is not a valid number.
stack backtrace:
   0:     0x55dd87364ec8 - std::backtrace_rs::backtrace::libunwind::trace::h0479db65bbf645ab
                               at /build/rustc-QLyM7K/rustc-1.74.1+dfsg0ubuntu1~bpo0/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
   1:     0x55dd87364ec8 - std::backtrace_rs::backtrace::trace_unsynchronized::h86e3a8a7c40f1784
                               at /build/rustc-QLyM7K/rustc-1.74.1+dfsg0ubuntu1~bpo0/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
   2:     0x55dd87364ec8 - std::sys_common::backtrace::_print_fmt::h92211022f37b5644
                               at /build/rustc-QLyM7K/rustc-1.74.1+dfsg0ubuntu1~bpo0/library/std/src/sys_common/backtrace.rs:67:5
   3:     0x55dd87364ec8 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h58a47dbc20dd410d
                               at /build/rustc-QLyM7K/rustc-1.74.1+dfsg0ubuntu1~bpo0/library/std/src/sys_common/backtrace.rs:44:22
   4:     0x55dd8738d08c - core::fmt::rt::Argument::fmt::h6a78f275a0911b63
                               at /build/rustc-QLyM7K/rustc-1.74.1+dfsg0ubuntu1~bpo0/library/core/src/fmt/rt.rs:138:9
   5:     0x55dd8738d08c - core::fmt::write::he356c44b2a0b68ef
                               at /build/rustc-QLyM7K/rustc-1.74.1+dfsg0ubuntu1~bpo0/library/core/src/fmt/mod.rs:1114:21
   6:     0x55dd87367c9d - std::io::Write::write_fmt::h86086e02f48aa1c0
                               at /build/rustc-QLyM7K/rustc-1.74.1+dfsg0ubuntu1~bpo0/library/std/src/io/mod.rs:1763:15
   7:     0x55dd87364c54 - std::sys_common::backtrace::_print::hef216654cf179e8d
                               at /build/rustc-QLyM7K/rustc-1.74.1+dfsg0ubuntu1~bpo0/library/std/src/sys_common/backtrace.rs:47:5
   8:     0x55dd87364c54 - std::sys_common::backtrace::print::h4e55f3325563342f
                               at /build/rustc-QLyM7K/rustc-1.74.1+dfsg0ubuntu1~bpo0/library/std/src/sys_common/backtrace.rs:34:9
   9:     0x55dd87375d13 - std::panicking::default_hook::{{closure}}::hce24a41e0fe9713f
                               at /build/rustc-QLyM7K/rustc-1.74.1+dfsg0ubuntu1~bpo0/library/std/src/panicking.rs:272:22
  10:     0x55dd87375a19 - std::panicking::default_hook::hf1799fd0d3dd1348
                               at /build/rustc-QLyM7K/rustc-1.74.1+dfsg0ubuntu1~bpo0/library/std/src/panicking.rs:292:9
  11:     0x55dd873761a5 - std::panicking::rust_panic_with_hook::h481ee4eb034adec0
                               at /build/rustc-QLyM7K/rustc-1.74.1+dfsg0ubuntu1~bpo0/library/std/src/panicking.rs:731:13
  12:     0x55dd87365506 - std::panicking::begin_panic_handler::{{closure}}::h556ae8745374dac3
                               at /build/rustc-QLyM7K/rustc-1.74.1+dfsg0ubuntu1~bpo0/library/std/src/panicking.rs:601:13
  13:     0x55dd87365356 - std::sys_common::backtrace::__rust_end_short_backtrace::h5f8005ee7ed611a4
                               at /build/rustc-QLyM7K/rustc-1.74.1+dfsg0ubuntu1~bpo0/library/std/src/sys_common/backtrace.rs:170:18
  14:     0x55dd87375ee2 - rust_begin_unwind
                               at /build/rustc-QLyM7K/rustc-1.74.1+dfsg0ubuntu1~bpo0/library/std/src/panicking.rs:597:5
  15:     0x55dd8730eb75 - core::panicking::panic_fmt::hf58b84fe45e631d5
                               at /build/rustc-QLyM7K/rustc-1.74.1+dfsg0ubuntu1~bpo0/library/core/src/panicking.rs:72:14
  16:     0x55dd8732600b - rust_match_3_solver::main::{{closure}}::h5e0fc792c6a817b2
                               at /var/www/html/match3/rust2/rust-match-3-solver/src/main.rs:49:86
  17:     0x55dd8732371c - core::result::Result<T,E>::unwrap_or_else::hf3567c582afe7873
                               at /build/rustc-QLyM7K/rustc-1.74.1+dfsg0ubuntu1~bpo0/library/core/src/result.rs:1429:23
  18:     0x55dd8731c2cb - rust_match_3_solver::main::hdb86734a91f106a3
                               at /var/www/html/match3/rust2/rust-match-3-solver/src/main.rs:49:28
  19:     0x55dd873351db - core::ops::function::FnOnce::call_once::h28aea1c47325406b
                               at /build/rustc-QLyM7K/rustc-1.74.1+dfsg0ubuntu1~bpo0/library/core/src/ops/function.rs:250:5
  20:     0x55dd87316d5e - std::sys_common::backtrace::__rust_begin_short_backtrace::h22f602702618959a
                               at /build/rustc-QLyM7K/rustc-1.74.1+dfsg0ubuntu1~bpo0/library/std/src/sys_common/backtrace.rs:154:18
  21:     0x55dd8732a361 - std::rt::lang_start::{{closure}}::h3ac8af5a4c016eec
                               at /build/rustc-QLyM7K/rustc-1.74.1+dfsg0ubuntu1~bpo0/library/std/src/rt.rs:166:18
  22:     0x55dd87368e77 - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::he5fd7ff4ccf2cf44
                               at /build/rustc-QLyM7K/rustc-1.74.1+dfsg0ubuntu1~bpo0/library/core/src/ops/function.rs:284:13
  23:     0x55dd87368e77 - std::panicking::try::do_call::he1edb2fc6049b849
                               at /build/rustc-QLyM7K/rustc-1.74.1+dfsg0ubuntu1~bpo0/library/std/src/panicking.rs:504:40
  24:     0x55dd87368e77 - std::panicking::try::hb48578cfaa80f796
                               at /build/rustc-QLyM7K/rustc-1.74.1+dfsg0ubuntu1~bpo0/library/std/src/panicking.rs:468:19
  25:     0x55dd87368e77 - std::panic::catch_unwind::ha1231ca0a4e84020
                               at /build/rustc-QLyM7K/rustc-1.74.1+dfsg0ubuntu1~bpo0/library/std/src/panic.rs:142:14
  26:     0x55dd87368e77 - std::rt::lang_start_internal::{{closure}}::h51f7e9ba2ac2d93a
                               at /build/rustc-QLyM7K/rustc-1.74.1+dfsg0ubuntu1~bpo0/library/std/src/rt.rs:148:48
  27:     0x55dd87368e77 - std::panicking::try::do_call::hfaea7848529c4f58
                               at /build/rustc-QLyM7K/rustc-1.74.1+dfsg0ubuntu1~bpo0/library/std/src/panicking.rs:504:40
  28:     0x55dd87368e77 - std::panicking::try::h2c8b3ed041ada40f
                               at /build/rustc-QLyM7K/rustc-1.74.1+dfsg0ubuntu1~bpo0/library/std/src/panicking.rs:468:19
  29:     0x55dd87368e77 - std::panic::catch_unwind::h3c4cb3409fc40ad3
                               at /build/rustc-QLyM7K/rustc-1.74.1+dfsg0ubuntu1~bpo0/library/std/src/panic.rs:142:14
  30:     0x55dd87368e77 - std::rt::lang_start_internal::h9ae9c12dedb67f8b
                               at /build/rustc-QLyM7K/rustc-1.74.1+dfsg0ubuntu1~bpo0/library/std/src/rt.rs:148:20
  31:     0x55dd8732a33a - std::rt::lang_start::hbd7d928f0dec77f4
                               at /build/rustc-QLyM7K/rustc-1.74.1+dfsg0ubuntu1~bpo0/library/std/src/rt.rs:165:17
  32:     0x55dd8732098e - main
  33:     0x14a396829d90 - __libc_start_call_main
                               at ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16
  34:     0x14a396829e40 - __libc_start_main_impl
                               at ./csu/../csu/libc-start.c:392:3
  35:     0x55dd8730f325 - _start
  36:                0x0 - <unknown>

Sorry that was an oversite on my part. It should be fixed now.

Thanks.  Trying some larger solves and getting lots of errors too.  I'm working on capturing the logs.

There is no max number of threads. However, on my system at least, running any of these will immediately cap all of my CPU resources. And depending on how your OS handles threads, there's a high chance that if you set it too high, you OS will not let the program spawn more.

I've personally never had an issue with it on any puzzle as long as I set it to 1, but when I uncap it (like setting it to 10 or something), I have had my operating system crash the program on the very large puzzles.


Generated declarations file omits generic parameter when a recursive type is implied as the return value

TypeScript Version:  2.0.6
Code
app.ts
type Foo<T> = {

    foo<U>(): Foo<U>
};

function foo() {

    return {} as Foo<number>;
}

Expected behavior:
app.d.ts
declare type Foo<T> = {
    foo<U>(): Foo<U>;
};
declare function foo(): Foo<number>;

Actual behavior:
declare type Foo<T> = {
    foo<U>(): Foo<U>;
};
declare function foo(): {
    foo<U>(): Foo;
};

The generated declarations file cannot be referenced by other code because Foo is missing the generic parameter. Furthermore, hovering over function foo in app.ts shows the return value as the expanded type (i.e. shows the whole body of the declaration).
The workaround is to declare Foo as an interface or to annotate the return value for function foo.

@yuit I think you already fixed this?


[open62541] fix dynamic build

Fix issue https://github.com/microsoft/vcpkg/issues/8242

It only replace ${CMAKE_INSTALL_PREFIX}"  to ${BIN_INSTALL_DIR} in CMakeList.txt file, it doesn't define BIN_INSTALL_DIR before, so the dll doesn't install correctly. Fix and move that in patch.
Remove EXECUTABLE_SUFFIX since it doesn't use here.

the regex was there because in this way the port file works also with --head revision.
Please rearrange it to keep --head version working, otherwise it would be a bad regression for me (and I heard also other users here that preferred the head version @traversaro if I remember correctly)

about the executable suffix, it should have been used for the python tools just below this removed definition. Instead of the explicit .exe that now is present, the symbols should be used ;)

@cenit, thanks for your review, I added the regex back for unblocking you and other user when build the port with --head. I also changed the .exe to EXECUTABLE_SUFFIX.

thank you very much


Does GPA_IsSessionComplete really need to issue an error?

It seems like when capturing, one might want to use GPA_IsSessionComplete to determine if the results are ready. Is it really necessary for every call to GPA_IsSessionComplete to log "Session has not been started" error?

Do you have a valid reson for calling GPA_IsSessionComplete before starting the session with GPA_BeginSession?

I do not. Sorry, I should have been more specific. I was just really after whether one can call GPA_IsSessionComplete before session begin. Which it looks like you can't. Thanks.


Get confidence of prediciton per regressed coordinate

Hi,
first of all: I really like the DSNT layer. It works perfectly and the idea is really cool :)
However, what would be really useful for my application, is a way to get the confidence of my model that the coordinate regressed by DSNT is correct. When looking at the heatmaps, the confidence should be very high when the heatmap values are close to 1 at the predicted position and close to 0 everywhere else. The confidence should be low when it there is a large patch in the heatmap that has a low confidence and then in the middle of this patch there is one point with a slightly higher confidence.
So I guess what I am looking for is a way to derive the standard deviation of a Gaussian which has its center at the position that is predicted by DSNT. And then I would have to transform the deviation to a confidence value between 0 and 1.
In the end I want to have n coordinates that have 3 values: x,y, confidence
Is there an easy way to do this with the functions already provided by DSNT?
Best,
Simon

I think I could use _divergence_reg_losses with different sigma_t values and mu_t as the regressed coordinate and then see which sigma_t has the lowest loss. That would be kind of a brute force approach, but better than nothing

If you look at the variance_reg_losses function you can find an example of calculating the variance of heatmaps:
https://github.com/anibali/dsntnn/blob/4f20f5a85b56d007adef51e5158f5a6dca92794f/dsntnn/__init__.py#L233-L262
I haven't tried using it this way myself, but it could be possible to use this sort of calculation as a proxy for confidence.

Very nice, have not seen this function. This seems to work pretty good in my first tests. Just have to find a nice way to transform it into values between 0 and 1, but I'll figure it out. Thank you!

@anibali, I use the function variance_reg_losses() with to get confidence. But the confidence is 0.05 very low with unnormalized_heatmaps and  3.9954e+08 very high with normalized_heatmaps. How to get normal landmark confidence?  if I  make traditional gauss heatmap like figure2b in the paper, the heatmap value is [0, 1], and I will try it.

You will need to calibrate the outputs from variance_reg_losses yourself. Keep in mind that it should have an inverse relationship with confidence (a large value indicates low confidence). It should be used with normalised heatmaps.
Note that this is not something that I have tried myself, so you will need to do some experimenting.

You just have to experiment with your actual data. There is no way to tell whether the spread of numbers is meaningful for three points, you have to observe what the values are like for both good and bad predictions to see whether they are correlated.

ok, thanks, I have a try.


The value too long show incorrect；

In GitLab by @luotian-github on Sep 21, 2017, 17:37
should prompt user to add image for the "+"

In GitLab by @liyanq528 on Nov 8, 2019, 07:37
fixed by pull request #403

In GitLab by @sokril on Nov 8, 2019, 08:11
closed

In GitLab by @sokril on Nov 8, 2019, 08:11
assigned to @liyanq528


Save map builder options in options proto. Rename it to BuilderOptions.

RFC=https://github.com/googlecartographer/rfcs/pull/38

@ojura this was reviewed and approved a long time ago but somehow not merged. It is now outdated and has many conflicts. Do you still have time to resolve the conflict?


Improvements to the help text for dataset selector mechanics

https://discuss.gnomad.broadinstitute.org/t/data-set-selection/78/3
We got a report that the mechanics of what our dataset selector dropdown does isn't super clear. Our Dataset Selection help text gives a lot of info about what the datasets are, but there's not much info on how the dropdown actually works. It might be worthwhile to include some usage information like what @klaricch responded with in the thread

That would help. It's also confusing that when you click on one of the choices in either of those two drop down menus, things change in the other one as well, as if they are somehow correlated. That isn't obvious if they relate to different types of variants (SNPs/short indels vs larger CNVs).

From browser meeting: one option is to include all dataset but grey out irrelevant ones with possible tooltips/labels.
In addition, clarify the help text for the dataset selector. "specifies which dataset to display on the page" text could change to be more specific.


pil.broadcast_downloader is None

[x] I am using the latest version of PyInstaLive: 3.2.4.
[x] I have installed either Python 2.7.x or 3.5+: 3.8.5
[x] I have read the README.
[x] I have read the FAQ.
[x] I have checked all existing issues, none of which could solve my issue.

I am using:

[ ] Windows 10
[ ] Windows 8.1
[ ] Windows 8
[ ] Windows 7
[x] Linux (distribution: Manjaro)
[ ] macOS (version: )
[ ] Other (device & OS name: )

PyInstaLive information
$ pyinstalive --info
---------------------------------------------------------------------------
[I] PYINSTALIVE (SCRIPT V3.2.4 - PYTHON V3.8.5) - 09-19-2020 10:17:37 PM
---------------------------------------------------------------------------
[I] To see all the available arguments, use the -h argument.

[I] PyInstaLive version:        3.2.4
[I] Python version:             3.8.5
[I] FFmpeg framework:           Available
[I] Cookie files:               2
[I] CLI supports color:         Yes
[I] Command to run at start:    None
[I] Command to run at finish:   None
[I] Config file contents:

    [pyinstalive]
    download_lives = True
    download_replays = False
    download_comments = False
    show_cookie_expiry = True
    log_to_file = True
    ffmpeg_path =
    run_at_start =
    run_at_finish =
    use_locks = True
    clear_temp_files = False
    do_heartbeat = True
    proxy =
    skip_merge = False

[I] End of PyInstaLive information screen.

Behavior
I have traceback with download live stream
[W] Lock file could not be created. Be careful when running multiple downloads concurrently!
Exception in thread Thread-1:
Traceback (most recent call last):
[I] Downloading livestream, press [CTRL+C] to abort.
  File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
Traceback (most recent call last):
  File "/usr/bin/pyinstalive", line 33, in <module>
    self.run()
  File "/usr/lib/python3.8/threading.py", line 870, in run
    sys.exit(load_entry_point('pyinstalive==3.2.4', 'console_scripts', 'pyinstalive')())
  File "/usr/lib/python3.8/site-packages/pyinstalive/startup.py", line 332, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib/python3.8/site-packages/pyinstalive/helpers.py", line 86, in generate_json_segments
    downloader.start()
  File "/usr/lib/python3.8/site-packages/pyinstalive/downloader.py", line 36, in start
    if 'initial_buffered_duration' not in pil.livestream_obj and pil.broadcast_downloader.initial_buffered_duration:
AttributeError: 'NoneType' object has no attribute 'initial_buffered_duration'
    dlfuncs.download_livestream()
  File "/usr/lib/python3.8/site-packages/pyinstalive/dlfuncs.py", line 256, in download_livestream
    pil.broadcast_downloader.run()
AttributeError: 'NoneType' object has no attribute 'run'

Same.

fixed by changing permissions. Something like

sudo chmod --recursive a+rwx myproject/


Replace all entities' column name with underscore into camel string

Spring (or JPA) does not like column names with underscore, because it does some automatic conversion for boilerplate codes. Need to replace all underscore names into camel-type string name. E.g. patient_id -> patientId, creation_date -> creationDate.
Annoying bug.

Fixed together with #1.


FIX Support search filters with match_any searchable_fields

#10199 introduced configuration to allow a single searchable field to search against multiple DB fields - but it doesn't take search filters into account (despite the original documentation including a filter declaration).
This PR updates the match_any functionality to use search filters, and updates documentation.
Indirect parent issue

https://github.com/silverstripe/silverstripe-framework/issues/9356 (it will be easier to implement that in a way that works with all the existing searchable_fields functionality if it all works in a consistent manner)

@emteknetnz Retargetted to 4.11 as a bugfix


EasyRAG sample doesn't work with tesseract

It seems like when Tesseract is installed, Tika seems to lose some context or something, as we get:
Caused by: org.apache.tika.exception.TikaException: TesseractOCRParser bad exit value 1 err msg: Tesseract Open Source OCR Engine v4.1.1 with Leptonica
Error in fopenReadStream: file not found
Error in pixRead: image file not found: The "Standard savings account" offers a first-time savers and those with low balances a hassle-free way to save.
Image file The "Standard savings account" offers a first-time savers and those with low balances a hassle-free way to save. cannot be read!
Error during processing.

This indicates that the text file (named standard-saving-account.txt) is not being parsed correctly

@jmartisk @sberyozkin any idea what's going on?
cc @dandreadis who first found this issue

I was just about to report the same.
This is super mega weird, I could swear that it worked for me yesterday, and then suddenly it stopped working.

I haven't quite understood how is this supposed to work: when installed, does it take over for all types of document parsing, or just specific ones? In my system, with that in place it parsed 2 out of the 4 files. (also produced multi line warnings).

Yeah I now also get just 2 files parsed successfully. I absolutely don't understand why it worked for me yesterday and what has changed since then.
Even weirder, we have EasyRagTest in place that depends on being able to parse a PDF file, and the test passes, but with the chatbot-easy-rag application, PDF fails.

My guess is that it works properly only if the image is parsed last

Seems like it has problems with png images, when I convert it to jpg, it seems to work.

Let's just convert the retirement-money-market.png file to jpg for now, hm?

Sure yeah

When I tried it manually (using the command line) it correctly extracted the text from the .png.


fix: fix file downloads

Summary
This resolves file download issues from sas content
Testing

[x] Test uploading image to sas content, then downloading
[x] Test running SAS code in https://github.com/sassoftware/vscode-sas-extension/issues/838 and make sure file can be downloaded

Testing is completed. Two scenarios are passed.

upload image to studio, then download from vsc extension, the image can be opened.
generate pdf file on studio, then download from vsc extension, the pdf file can be opened with expected content.


Update get-user-profile-context.md

Add missing comma to JSON sample

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/skills/get-user-profile-context.md
:white_check_mark:Succeeded

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.

We have removed confusing "conceptual" content including this example.


Missing file for gitlab

Sorry @AaronO this file went missing when pushing commits to repo :/

@yakky No problem !


Add Cloud UI for users who have a Cloud invitation

Ready for review!
Dist build changes
The Cloud social provider will be completely hidden (and unused) from users on dist, unless they complete two of the actions below. Note that either 1) or 2) requires the user to first log in with either Facebook or Gmail.

Toggle the showCloud advanced settings

or

Paste a Cloud invitation code (in the existing accept-user-invite dialog)

(This page is not new.)

Clicking submit will bring up a popup:

Alternative styling:

Clicking yes will log the user into Cloud, set showCloud in global settings to true, and bring the user back to the roster.

After user's either change showCloud in advanced settings, or have pasted a Cloud invite code, the Cloud social network will appear on the login page, and on the settings connect/disconnect page. (Otherwise, users will only see Gmail and Facebook, as per usual.)

Cloud friends are not shown in the Share tab:

New Cloud invite a friend instructions:

Dev build changes
Cloud icon now in invite-user popup

Cloud login confirmation

Cloud invite a friend page

Right now clicking "Done" calls acceptUserInvite, and will add a cloud instance to the user's buddy list. In the future this might be used to display a Cloud invite code for the user to share with their friends.

@gwpenn let me know if I should edit the confirmation text users see when they enter an invite code:
"You've entered an experimental Cloud invitation. Accepting this invitation will connect you to a virtual machine. Would you like to accept?"

Review status: 0 of 18 files reviewed at latest revision, 2 unresolved discussions.

src/generic_core/remote-user.ts, line 106 [r1] (raw file):
Might want to add a comment here about why we are doing this

src/generic_ui/polymer/accept-user-invite.ts, line 25 [r1] (raw file):
Let's move this into ui.login, so we can support invite URLs

Comments from the review on Reviewable.io

ptal, thank you!!

Review status: 0 of 18 files reviewed at latest revision, 2 unresolved discussions.

src/generic_core/remote-user.ts, line 106 [r1] (raw file):
Done.

src/generic_ui/polymer/accept-user-invite.ts, line 25 [r1] (raw file):
Done.

Comments from the review on Reviewable.io

:+1:

Review status: 0 of 18 files reviewed at latest revision, 2 unresolved discussions.

Comments from the review on Reviewable.io


enable the user to load the local database to avoid unnecessary data preprocessing

Type of Change
add a parm "override" to the retrieval agent.
Previously, the user always needed to wait for a long time to create a local database.
This parm could enable the user to avoid this data processing period and directly use the local database, which could potentially save a lot of time.

Can you enable UT to improve the code coverage?

Can you enable UT to improve the code coverage?

UT for this parameter "override" is added

please use rebase not merge

please use rebase not merge

error operation, fixed

test donot merge

Using https://github.com/intel/intel-extension-for-transformers/pull/358 to solve the issue of UT test location error.


backport c4144 and 74fc4 to 7.1.x

RAT check failed! https://ci.trafficserver.apache.org/job/RAT-github/121/

AU check successful! https://ci.trafficserver.apache.org/job/autest-github/104/

clang format successful! https://ci.trafficserver.apache.org/job/clang-format-github/107/

FreeBSD11 build successful! https://ci.trafficserver.apache.org/job/freebsd-github/1803/

Intel CC build successful! https://ci.trafficserver.apache.org/job/icc-github/233/

Linux build successful! https://ci.trafficserver.apache.org/job/linux-github/1694/

clang-analyzer build successful! https://ci.trafficserver.apache.org/job/clang-analyzer-github/365/


Invalid coverage for return statement when there's a if condition

Description:
For the following sample code:
main.bal
public function intAddd(int a, int b) returns int {
    if (true) {
        return a + b;
    }
    return a - b;
}

tests/main_test.bal
import ballerina/test;

@test:Config{}
function testFunc() {
    test:assertEquals(intAddd(1,2), 3);
}

Execute bal test --code-coverage
Even though the final return  is never hit by the test, this code gives 100% coverage in Testerina report.
Steps to reproduce:
As discussed above
Affected Versions:
Swan lake beta 3
OS, DB, other environment details and versions:
Related Issues (optional):
The issue https://github.com/ballerina-platform/ballerina-lang/issues/31061 has been fixed, but the current issue is still there.

The issue is occurring when the function have multiple return statements. If do not have a test to cover the last return statement and have a test to cover one of the above return line, code coverage tool shows that the last return statement statement line also covered partially by the test. It can happen some of the bytecode branches related to the last return statement also covered by the tests which are written to cover the previous return statements. Making the positions regarding those instructions didn't work as far as I checked.


ReadOnly attribute not transferring on V2 serialization

I'm using Swashbuckle to generate a Swagger 2.0 spec for the azure-rest-api-specs. According to this comment, Swashbuckle uses OpenAPI.NET to serialize into Swagger 2.0.
One of my controllers returns an object with the following property definition:
/// <summary>
/// The format of exported labels, also as the discriminator.
/// </summary>
[TypeDiscriminator]
[ReadOnly(true)]
[SwaggerMutability(Mutability.Read)]
public virtual ExportFormatType Format { get; set; }

In OpenApi 3.0, I get the expected schema signature (notice "readOnly": true,):
"ExportSummary": {
        "required": [
          "format"
        ],
        "type": "object",
        "properties": {
          "format": {
            "enum": [
              "Dataset",
              "Coco",
              "CSV"
            ],
            "type": "string",
            "description": "The format of exported labels, also as the discriminator.",
            "readOnly": true,
            "x-ms-enum": {
              "name": "ExportFormatType",
              "modelAsString": false
            },
            "x-ms-mutability": [
              "read"
            ]
          },
...
}

however, the Swagger 2.0 schema signature is not as expected:
"ExportSummary": {
      "required": [
        "format"
      ],
      "type": "object",
      "properties": {
        "format": {
          "description": "The format of exported labels, also as the discriminator.",
          "enum": [
            "Dataset",
            "Coco",
            "CSV"
          ],
          "type": "string",
          "x-ms-enum": {
            "name": "ExportFormatType",
            "modelAsString": false
          },
          "x-ms-mutability": [
            "read"
          ]
        },
...
}

The "readOnly": true, is missing from the schema signature. Am I missing something?
Also as a slight aside, I'm not sure why "format" is shown as required in the signature... But that's secondary to "readOnly": true, being missing and may be a Swashbuckle issue.

According to the OpenAPI 2.0 specification you cannot mark a property as readOnly and set it as required.  https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#fixed-fields-13
In OpenAPI 3.0 it was allowed by the spec qualifies that request only applies to the response and not the request. https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.3.md#fixed-fields-20
In OpenAPI 3.1, all commentary around these properties have been removed and the behavior is left to be defined by JSON Schema.  JSON Schema has no notion of some constraints being applicable for just a response vs a request.  If you need different behavior then it will be necessary to define two different schemas.


No results returned for searches on Windows 10

This may be a general Windows 10 issue as I've seen a number of complaints about 3rd party UPNP/SSDP libraries not working on Windows 10, but I cannot seem to get any response to searches.
Using my Android phone I get a quick list of various UPnP devices on the network using an app called UPnP Tool. And on my Windows 10 laptop I can install a Windows Store app called SSDP Scanner which seems to work. But nothing I've done in C# so far (.NET 4.5 console app) has been able to turn up any results.
Wondering if this is an anomaly on my system or something more serious.

Hi,
Sorry you're having problems. I do most of my dev and testing on Win10 and it is working for me. I have been having a couple of weird issues just this week, but they're limited to one PC and services published via RSSDP as opposed to searching for anything else.
There is an intermittent problem that occurs on some PC's where RSSDP (or rather the .Net types it uses) bind to a bad adapter by default. This can be fixed by manually specifying the IP of the adapter to use in the constructor, like this;
var locator = new Rssdp.SsdpDeviceLocator(new Rssdp.Infrastructure.SsdpCommunicationsServer(new SocketFactory("<IP_ADDRESS>")));
Where '<IP_ADDRESS>' should be replaced with the IP assigned to whatever adapter is connected to the network you want to search on. To 'automatically' select an adapter there is some code in issue #38 (not the code at the top, but further down) which enumerates the adapters and eliminates ones that aren't connected or have self-assigned IP's (168.* addresses which typically mean no actual connectivity). Unfortuantely the API's it uses aren't available on all platforms supported by RSSDP (and some platforms don't have sufficient equivalents) so it's not in the library itself.
Shouldn't be a problem for a console app, but if you're working in UWP/WPSL/WP8.1/WinRT etc. make sure you have the 'private networks' capability declared.
Also there was a recent change to use .Net Core for .Net 4.5+ platforms. It seems to work, but I've had some weirdness with the .Net core dependencies etc. You could try a new .Net 4.0 project and install the Nuget package again, that should reference the .Net 4.0 assemblies which are not .Net core based. It's a long shot, but .Net Core is fairly new and there could be problems either with it or our use of it.
Let me know how you get on. Keen to help/get it working if we can.

Hi,
Can you please elaborate on the "recent change to use .Net Core" as I believe it might be related to my UWP issue as it is complaining
Could not load file or assembly 'System.Runtime.InteropServices.RuntimeInformation, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.
when attempting to do _deviceLocator.StartListeningForNotifications(); according to the sample on the front page. This is fresh UWP application with nothing but the discovery code as defined on the main readme "Event Driven Search & Discovery via Notifications" chapter, and it finds the devices just fine. I'm porting my home automation app from WinForms where I used ManagedUPnP library and I'd prefer this new UWP app to detect when Sonos device is plugged in.
I tried same code on Visual Studio 2015 and 2017 RC (not that it would be any different, really).
Stack trace looks like this
at Rssdp.SocketFactory.CreateUdpMulticastSocket(String ipAddress, Int32 multicastTimeToLive, Int32 localPort)\r\n   at Rssdp.Infrastructure.SsdpCommunicationsServer.ListenForBroadcastsAsync()\r\n   at Rssdp.Infrastructure.SsdpCommunicationsServer.BeginListeningForBroadcasts()\r\n   at Rssdp.Infrastructure.SsdpDeviceLocatorBase.StartListeningForNotifications()\r\n   at Taulu.Sonos.BeginSearch()\r\n   at Taulu.MainPage..ctor()\r\n   at Taulu.Taulu_XamlTypeInfo.XamlTypeInfoProvider.Activate_0_MainPage()\r\n   at Taulu.Taulu_XamlTypeInfo.XamlUserType.ActivateInstance()"	string
I cloned the RSSDP repository, but before I dig into it, just wanted to ask if there is some wasy way out.
Not wanting to hijack the original topic, so please let me know in case I should add this as new issue instead.
Thanks!

Hi,
Sorry, I'm just heading away for a long weekend so may not be able to respond much over the next few days.
A separate issue for this would be good if this response doesn't solve it, thanks.
I have seen this issue recently and I thought I'd solved it with the latest nuget package, but maybe not.
I believe it can be solved by adding the missing .Net Core dependency to your project (the nuget package should do this for you but I had real problems get the dependencies right on every platform once we moved to core). If you add this line to the "dependencies" block in your project.json I think it fixes it;
"System.Runtime.InteropServices.RuntimeInformation": "4.0",

Hi,
Thanks for quick response.
Solved it by adding the obvious "System.Runtime.InteropServices.RuntimeInformation, Version=<IP_ADDRESS>" from NuGet. I'm sure I already tried that on VS 2015 and it didn't work, but now on VS2017RC it did the trick.

Cool, shouldn't be necessary though so I will revisit sometime. I'm only working in vs2015 at present, so it should work there too.

Hi,
The latest <IP_ADDRESS> version of the package should fix the runtime dependency issue for UWP, though it does require the UWP runtime to be updated to at least 5.2.2 or you get some compiler warnings about duplicate targets.

@jhendricks123 Have you had any luck resolving your original issue on Win 10? With the work I've done recently all my work has been on a Win10 machine using VS 2015 community, and I'm able to search the local network fine.

Thanks for asking, I'll check it out tonight if I get a chance. Looks
promising!
Cheers,
Josh
On Feb 25, 2017 6:24 PM, "Troy Willmot"<EMAIL_ADDRESS>wrote:

@jhendricks123 https://github.com/jhendricks123 Have you had any luck
resolving your original issue on Win 10? With the work I've done recently
all my work has been on a Win10 machine using VS 2015 community, and I'm
able to search the local network fine.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Yortw/RSSDP/issues/47#issuecomment-282527568, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AHUI1GxmLGYBRm2vEQTN2QyMVa6SqTnsks5rgOJQgaJpZM4Lijd0
.

I'm having the same issue in a UWP app running from a Raspberry Pi 3 with Windows 10 iot core (14393).
If it might be of significance, I started with a uwp project in VS2015 professional and the error happened there as well.
I created a new project in VS2017 from scratch and it works when debugging there
I'm running Windows 10 on my development machine.
using (var deviceLocator = new SsdpDeviceLocator())
{
    var devices = await deviceLocator.SearchAsync("urn:schemas-denon-com:device:ACT-Denon:1");
}

No devices are found from the Raspberry PI.
I've enabled Private networks and Internet (Client & Server) and my project.json file looks like this (the System.Runtime.InteropServices.RuntimeInformation was added manually):
{
  "dependencies": {
    "Microsoft.NETCore.UniversalWindowsPlatform": "5.2.2",
    "Newtonsoft.Json": "9.0.1",
    "RSSDP": "3.0.0",
    "System.Runtime.InteropServices.RuntimeInformation": "4.0"
  },
  "frameworks": {
    "uap10.0": {}
  },
  "runtimes": {
    "win10-arm": {},
    "win10-arm-aot": {},
    "win10-x86": {},
    "win10-x86-aot": {},
    "win10-x64": {},
    "win10-x64-aot": {}
  }
}

Do you have any pointers to where I might look next?

To clarify, does the VS2017 project work on the Raspberry Pi, or have you just tried that on the desktop?
I'm wondering if there's something about the Pi or Windows IoT that is causing the issue.

You also said, "the error happened there as well", but you describe the symptom as no results returned... are you seeing an error message (and if so what), or is it just no results? I'm assuming the latter based on the rest of the description.
Thanks.

You are correct. No explicit error, the symptom is no results when running in some contexts.
Yes, the symptom occurs when debugging from uwp app in vs2015 (local) and debugging different uwp app on Raspberry pi from vs2017.
It does not happen when debugging the same uwp app in vs2017 locally.
It does not happen when running .net 4.6 console app.
All of the examples use the same snippet of code I've included above.

I still can't reproduce. I don't have the exact same setup, but last night I tried the following;

New IoT core background project
New UWP project using blank app template

In both cases I added the latest RSSDP package from Nuget using the Nuget UI, then wrote the simplest code possible to create a locator, call search and output the url of each result to the diagnostics window. Both of these worked perfectly on my Raspberry Pi2 running Windows IoT 10586 and the non-IoT app worked fine on my laptop. Both were created using VS2015.
When I get a chance I will try VS2017, and also upgraded my Pi to the later version of Windows, but at this point I doubt either will make a difference. Not sure when I'll have time though. I'm still wondering if this is environmental rather than code related (thought it might be both). Given I can't reproduce, I'm struggling to figure out what the cause is.

Sample IoT project; https://1drv.ms/u/s!ArC3Ud4fUz-Mgff4YGZRHMJVMbC73a0

VS2017 makes no difference more. Every project works locally and on RP2 using both VS2015 and VS2017. In VS2017 also updated to use very latest UWP runtime (only works with 2017), and that still returns results both locally and on Pi.

Sample VS 2015 (UWP) project; https://1drv.ms/u/s!ArC3Ud4fUz-Mgff4YQ-H3ePPsYB9ThY
Sample VS2017 (UWP) project; https://1drv.ms/u/s!ArC3Ud4fUz-Mgff4YhBCNvDBRIYb5kI

I'll try running it against my Pi from your sample projects and report back as soon as possible. Thanks!

That would be great, anything that can help us narrow down the where the cause is, is fanstastic.
Thanks!

It works after upgrading from vs2017 RC to Visual Studio 2017 proper without any other changes than updating the nuget packages afterwards.
I didn't test with your sample project since it worked with no practical changes to my project.

I'm glad we solved your immediate problem but I'm still not sure we understand anything. The same (RSSDP) code works with different tools/runtime so it's tempting to blame the pre-release stuff, but that doesn't explain why the VS2015 project didn't work for you and does for me. I presume the VS2015 project you had still doesn't work in VS2015?

@jhendricks123 Any luck with your original issue? (I appreciate you may not have had time to look).

I got things working by using the adapter ip with the publisher, working on 2 PC with Windows 10 and Android 4.2, 4.4, 5.0, 7.0 with real devices.
var publisher = new SsdpDevicePublisher(ip of the adapter);

I got things working by using the adapter ip with the publisher, working on 2 PC with Windows 10 and Android 4.2, 4.4, 5.0, 7.0 with real devices.
var publisher = new SsdpDevicePublisher(ip of the adapter);

@carlfm01 Thanks a lot! I got this also working resp. got results by submitting the adapter IP.

	private static async Task SearchForAllDevices()
	{
		Console.WriteLine("Searching for all devices...");

		using (var deviceLocator = new SsdpDeviceLocator("<IP_ADDRESS>"))
		{
			...
		}
	}

@jhendricks123 Any luck with your original issue?

Sometimes searching for a device with a specific uuid doesn't return any results.
I ended up doing it in a loop. After a while it finds the device.
        static async Task Main(string[] args)
        {
            string result;

            while ((result = await SearchForDevices()) == null)
            {
                result = await SearchForDevices();
                Console.WriteLine("Not found! Retry...");
            }

            Console.WriteLine($"Service found under: {result}");
        }

        public static async Task<string> SearchForDevices()
        {
            // This code goes in a method somewhere.
            using (var deviceLocator = new SsdpDeviceLocator())
            {
                var foundDevices = await deviceLocator.SearchAsync($"uuid:{UUID}"); // Can pass search arguments here (device type, uuid). No arguments means all devices.

                foreach (var foundDevice in foundDevices)
                {
                    var location = foundDevice.ResponseHeaders.GetValues("Location").FirstOrDefault();

                    if (location == null)
                    {
                        return null;
                    }

                    var serviceIp = new Uri(location);

                    return serviceIp.AbsoluteUri.Replace(serviceIp.AbsolutePath, string.Empty);
                }
            }

            return null;
        }

Any ideas on this?

Hi, I encounter the same probolem that  @mrukas commented under Windows 10.
there are 2 network adapters (wifi & ethernet) at my computer, the upnp device on wifi works ok,  but no response on ehternet. However when i use Intel upnp spy tools, both response OK.


Update remote-learning-edu.md

Related to https://github.com/MicrosoftDocs/OfficeDocs-SkypeForBusiness/pull/6312

@JohanFreelancer9 Copy editing is needed for this PR. Thanks.


Add a regression test case for runner stopping on the first failure

Closes #116

Codecov Report

Merging #132 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #132   +/-   ##
=======================================
  Coverage   99.28%   99.28%
=======================================
  Files          14       14
  Lines         561      561
  Branches       76       76
=======================================
  Hits          557      557
  Misses          2        2
  Partials        2        2

Flag
Coverage Δ

#unittests
99.28% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


In-memory: no such table

Hi! I've faced strange behavior, working with in-memory sqlite3 database with go-sqlite3. I initialize a connection, create database and insert some data into it in the single Exec.
After that I perform a select query to set to zero last inserted rowid (thats important to me). And then when i'm trying to perform an insert query I get the "no such table" error.
This behavior is reproduced only when I create an in-memory database from go, if I create database file everything runs as expected. Moreover when I exec same queries on a in-memory database using sqlite3 cmd binary everything works fine too.
Here is a simple code that panics, but should not...
package main

import (
	"database/sql"

	_ "github.com/mattn/go-sqlite3"
)

func main() {
	db, err := sql.Open("sqlite3", ":memory:")
	if err != nil {
		panic(err)
	}

	db.Exec(`
		create table test(field text);
		insert into test(field) values ('test 1'), ('test 2'), ('test 3');
	`)

	_, err = db.Query("select count(*) from test;")
	if err != nil {
		panic(err)
	}

	_, err = db.Exec("insert into test(field) values ('test 4')")
	if err != nil {
		panic(err)  // panics here!
	}
}

I'm using go-sqlite3 1.10.0 with go1.11.2 darwin/amd64

Try sql.Open("sqlite3", "file::memory:?cache=shared"). See "Why I'm getting no such table error?" in the FAQ.

Thank you for the answer, that helped!


Unused ADT / Brinks security blew off

Home security system the previous home owner left active has been somewhat beneficial (door bell notification) but has been causing increasingly annoyance. At 830p every night the both 2 consoles start beeping for unknown cause. Since one of them is in master bedroom where we often try every effort to put a newborn to sleep, it's bad.
So I tried to see if I can disengage any pre-programmed things that we don't want on a console.

Pressing "ON" button triggered a countdown, which I assumed for arming the house, and couldn't find how to cancel it. It was arming, and when someone passed motion sensor the system blew off.

It was late 8pm where I JUST put 2 boys to be ready to pass out on their bed. They came out of the room horrified.  Already-grumpy for some other causes my wife came out like a fire. Someone else was also staying in guest room. Was a mess.
With little hope ADT's support could help us I called and tried to online chat with them. Phone said wait was more than 10 mins (tried multiple channels, both technical and alarm requests). Chat never reached to an agent. F*** ADT. Glad that I've already dropped ADT off from the home security service list https://github.com/130s/hut_10sqft/issues/542
With the multi-digit code previous owner gave me https://github.com/130s/30y-130s_life/issues/877, I couldn't figure out at what timing, with what combination to pass that.
Turned out How to Disable the Alarm System in Your Home (home-security-systems-answers.com) saved us. At the panel (not the console), I unplugged the power module from the power outlet, and also unplug the battery. Then alarm stopped.


Why peer dependency of eslint 2?

We're using eslint 1.x in our project, and we use plugins that haven't been updated to depend on eslint 2 yet.  eslint-plugin-import works for us with 1.x, even though the peer dependency is 2.x.  Why the requirement?  It's great that it still works, but npm keeps giving us EPEERINVALID warnings.
I love using this plugin.  It helps keep our windows devs from importing with a different case than the actual file paths, so I appreciate your work.  Thanks!

Ah, yeah, if you're only using no-unresolved, I can imagine it working.
Most or all of the rest of the rules parse the referenced module for info about what is exported to validate the imports. This requires a PR I submitted to ESLint that landed in 2.0.
I would be surprised if the parsing rules work under ESLint 1.x. I removed a bunch of hacks for v1 of the plugin to make configuration simpler.

If I get a chance, I'll see what it might take to back port to 1.x, but IIRC it would be a bit of a kludge.
FWIW, I use several plugins that declare 1.x as their peer dependency, but work fine on 2.x. I suspect you've already tried that, though, and/or you just end up with even more EPEERINVALIDs that way.

I'm going to close this. If someone wants to investigate and open a PR looking at supporting both, I will review, but it's not clear to me that there is a lot of payoff for effort surrounding supporting ESLint <2.x.


Create SECURITY.md

To let the repository confirm<EMAIL_ADDRESS>as its security contact.

Thanks ... this has been done at the organisation level, to apply to all repos.


Impossible to use hyperion-v4l2

Following @Paulchen-Panther 's latest updates, it is no longer possible to use the hyperion-v4l2 utility as the device name is never set:
# hyperion-v4l2 --device /dev/video0

hyperion-v4l2:
        Version   : 2.0.0 (master (GitHub-c2d19063/91054d8d-1550176449) Git Remote: https://github.com/hyperion-project/hyperion.ng.git)
        build time: Feb 24 2019 16:59:47
[hyperion-v4l2 V4L2:/dev/video0] <ERROR> Throws error nr: Cannot identify '' error code 2, No such file or directory
[hyperion-v4l2 V4L2:/dev/video0] <ERROR> Throws error nr: VIDIOC_QUERYCAP error code 9, Bad file descriptor
[hyperion-v4l2 V4L2:/dev/video0] <ERROR> Throws error nr: close error code 9, Bad file descriptor

Caused by this commit where the device/input number (from the constructor parameters) are now ignored:
https://github.com/hyperion-project/hyperion.ng/commit/2a77f6f0122691fe1961259178c1ce9d0caca053#diff-aec2cfe446c748ff341302e49e490d6bL33
The V4L2 grabber only works within Hyperion because of the call to setDeviceVideoStandard() which also sets _deviceName.

I hope it has been fixed in PR #539 . Thanks for your bug report

I’ve tried your BugFixes2 branch but it hasn’t fixed the issue:
# hyperion-v4l2 -d /dev/video/fushicai_usbtv007
hyperion-v4l2:
	Version   : 2.0.0 (makepkg (GitHub-e4bea694/69ceee8b-1554220455) Git Remote: /home/mediacenter/.cache/yay/hyperion.ng-git/hyperion.ng)
	build time: Apr  2 2019 16:35:30
[hyperion-v4l2 V4L2:/dev/video/fushicai_usbtv007] <ERROR> Throws error nr: VIDIOC_S_INPUT error code 22, Invalid argument
[hyperion-v4l2 V4L2:/dev/video/fushicai_usbtv007] <ERROR> Throws error nr: VIDIOC_STREAMON error code 16, Device or resource busy
[hyperion-v4l2 V4L2:/dev/video/fushicai_usbtv007] <ERROR> VIDIOC_STREAMOFF  error code  16, Device or resource busy

@vansoest Very strange way. Could I get an output from ls /dev ?

I linked the video0 device via a udev rule to /dev/video/fushicai_usbtv007. It’s not related to the problem, but I agree it’s a special behaivor.
$ ll /dev/video0 /dev/video/fushicai_usbtv007
crw-rw----+ 1 mediacenter users 81, 0  2. Apr 19:24 /dev/video0
lrwxrwxrwx  1 root        root      9  2. Apr 19:24 /dev/video/fushicai_usbtv007 -> ../video0

$ hyperion-v4l2 -d /dev/video1
hyperion-v4l2:
	Version   : 2.0.0 (master (GitHub-3a8e6dc9/ea044977-1554226519) Git Remote: /home/mediacenter/.cache/yay/hyperion.ng-git/hyperion.ng)
	build time: Apr  2 2019 18:15:06
[hyperion-v4l2 V4L2:/dev/video1] <ERROR> Throws error nr: Cannot identify '/dev/video1' error code 2, No such file or directory
[hyperion-v4l2 V4L2:/dev/video1] <ERROR> Throws error nr: VIDIOC_QUERYCAP error code 9, Bad file descriptor
[hyperion-v4l2 V4L2:/dev/video1] <ERROR> Throws error nr: close error code 9, Bad file descriptor

OK. I found the problem. The V4L2 grabber in hyperiond is never stopped, which also explains the device or resource busy error. If you comment out these two lines it should work.
But note that this is only a temporary fix at the moment. I will fix this as soon as possible

udev rule if it’s interesting for you

thanks for the rule 👍

Could you please test my new V4L2 Branch and give me feedback if the problem is solved? Thank you in advance.
Greetings, Paulchen

Is this issue finally fixed? I've seen no feedback at the linked PRs
The different naming is indeed tricky.

From my side already. As described above, i have located and fixed the error. Just missing the feedback of @washcroft and @vansoest

I will close this issue now because no answer and it has been tested and found to be fixed.
If the problem persists, you can reopen it anytime


New version: Microsoft.OneDrive.Enterprise version 23.174.0820.0003

Pull request has been created with WinGet Automation 🪟📦🤖
Microsoft Reviewers: Open in CodeFlow

This might be due to a network block of data centers, to prevent automated downloads.
(Automated response - build 579.)


Error "Undefined index: password" when updating the profile.

On Account component, there is a new logic to get password index. It causes a problem when my page is only a feature to update the profile details (name, phone, etc.)

To prevent this, the logic should check the password index first before getting it or using array_get() function.

This is fixed by #420 and will be available in version 1.5.3 of the User plugin.


Initial patch for redis version 7 support

https://github.com/seaweedfs/seaweedfs/issues/4532
What problem are we solving?
Adding support for Redis version 7
How are we solving the problem?
Updating package imports
How is the PR tested?
Checks

[ ] I have added unit tests if possible.
[ ] I will add related wiki document changes and link to this PR after merging.

Need to revert due to failing tests.


Refactor

I made sure YAGNI, KISS, and DRY rules and Ruby style guide are respected.
I followed SOLID principles.
Paid special attention to the "Single-responsibility Principle".
I made sure that the role of main.rb is only to start your code and ask the user for the initial choice of options (or to quit).
Extracted some pieces of logic into separate class(es).

Hi @TEAM,
While you made a great effort in this project, unfortunately, I cannot proceed to review your code.
Invalid Code Review Request
You have submitted a project, that your linters failed, all linters should be pass 👍🏼
Your Code Review Request will be marked as invalid in your Dashboard, so please submit a new one once you are ready 🙏
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

Invalid Code Review Request does not count into the code reviews limit.


math.mat: Support more complex ellipse patterns in matrices

Description
Provide syntax for ellipse patterns in matrices that span multiple rows/columns. Consider for example this strictly diagonally dominant matrix from a numerical analysis text:

To my knowledge, there is no straightforward way to replicate this using current typst syntax. See this discussion on the forum for an attempted (and very inelegant) solution.
Use Case
This is useful for anyone doing work with patterned matrices. Anyone working in linear algebra (or with applications of linear algebra, as in my use case) should benefit from this.

Yeah this is something I'd expect a package to do. Especially because the standard way to write matrices like this would only use the vertical, horizontal and diagonal dot symbols.

the standard way to write matrices like this would only use the vertical, horizontal and diagonal dot symbols

That was the first thing I tried. Here's what that looks like:

Since the column widths vary, the resulting matrix doesn't read well. It's not clear where the dots.down are supposed to start and end. Admittedly this is a pretty niche use case though.

I don't think this is a common enough construct to warrant custom syntax. This should already be possible at a library level, and not in the core language itself.

this is something I'd expect a package to do.

This makes sense to me. For now I have a good enough result using fletcher (thanks @wrzian!). Perhaps I'll contribute a package adapting this approach for generic matrices if I have the time to put it together. Feel free to close.


How to use it with x.com?

Since Twitter is changing its domain to x.com, how can I use this tool with x,com?

fixvx.com via #129

Replace x.com links with fixvx.com (add fixv at the beginning)

thank you, I will close this.

thank you, I will close this.


Script to create Visio Services does not work.

PS C:\Windows\system32> Add-pssnapin Microsoft.SharePoint.PowerShell
New-SPVisioServiceApplication -Identity 'Visio Graphics Service Application' -ApplicationPool 'SharePoint Web Services Default' -CreateDefaultProxy
New-SPVisioServiceApplication : A parameter cannot be found that matches parameter name 'Identity'.
At line:2 char:31

New-SPVisioServiceApplication -Identity 'Visio Graphics Service Appli ...

                          ~~~~~~~~~

CategoryInfo          : InvalidArgument: (:) [New-SPVisioServiceApplication], ParameterBindingException
FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.Office.Visio.Server.Cmdlet.NewSPVisioServiceApplication

It also didn't accept the command -CreateDefaultProxy

Hi @csedwilliams ,
You are executing the commands in a fully incorrect manner. You have merged two commands as one that is why you are getting those errors. Try running the commands separately:
Command 1: Add-pssnapin Microsoft.SharePoint.PowerShell
Command 2: New-SPVisioServiceApplication -Identity 'Visio Graphics Service Application' -ApplicationPool 'SharePoint Web Services Default' -CreateDefaultProxy