ddev composer install doesn't work with TYPO3 master with mutagen because composer.json depends on project .git

Diagnostic
Describe the bug
Working on TYPO3 core I made a git pull and after that a ddev composer install to update packages.
I got the error:
> ddev composer install
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Your lock file does not contain a compatible set of packages. Please run composer update.

  Problem 1
    - typo3/testing-framework is locked to version dev-master and an update of this package was not requested.
    - typo3/testing-framework dev-master requires typo3/cms-backend 12.*.*@dev -> could not be found in any version, there may be a typo in the package name.
  Problem 2
    - typo3/testing-framework dev-master requires typo3/cms-backend 12.*.*@dev -> could not be found in any version, there may be a typo in the package name.
    - typo3/testing-framework is locked to version dev-master and an update of this package was not requested.

Potential causes:
 - A typo in the package name
 - The package is not available in a stable-enough version according to your minimum-stability setting
   see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.
 - It's a private package and you forgot to add a custom repository to find it

Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems

Check out TYPO3 master from git: git clone<EMAIL_ADDRESS>and try to do ddev composer install

It works when:

running composer install (with PHP 7.4.26) on host.
disabling mutagen.

It doesn't work when:

changing PHP version on ddev, it doesn't work. Tried with PHP 7.4 and 8.0

doing ddev mutagen reset and ddev start

removing vendor folder completely

composer version 2.1.12 (host and ddev both the same version)

To Reproduce

No one could reproduce it yet, but:

Clone TYPO3 core
Run ddev config
Run ddev composer install

Expected behavior

Same behaviour like running composer on host (no dependency issues)
Version and configuration information (please complete the following information):

Host computer OS and Version: macOS Monterey 12.0.1
Docker Desktop version if on macOS or Windows (from "About Docker Desktop"): 4.2.0 (70708)
ddev version information (use ddev version): 1.18.1
config.yaml contents for the misbehaving project (the part before the comments)

name: t3core
type: typo3
docroot: ""
php_version: "7.4"
webserver_type: nginx-fpm
router_http_port: "80"
router_https_port: "443"
xdebug_enabled: false
additional_hostnames: []
additional_fqdns: []
mariadb_version: "10.3"
mysql_version: ""
nfs_mount_enabled: false
mutagen_enabled: true
use_dns_when_possible: true
composer_version: "2"
web_environment: []

Do you have any custom configuration (nginx, php, mysql) in the .ddev folder? No

Done ddev mutagen status --verbose after ddev composer install and got:
Mutagen: ok:
--------------------------------------------------------------------------------
Name: t3core
Identifier: sync_TZeALYyKHQm9KD3VwqXuI343MvODwTCZPRtSVMiyl0s
Labels: None
Alpha:
	URL: /Users/spooner/Ddev/t3core
	Connection state: Connected
Beta:
	URL: docker://2a1e0acc68ef3951df53dfa41da0ed14731e308ff9862037d39c8a6d0516d024/var/www/html
	Connection state: Connected
Status: Scanning files
--------------------------------------------------------------------------------

Thanks so much @spoonerWeb - Could you please include how to check out TYPO3 core with the commit you're working against?

Also, you said same composer version both in ddev and on host, right? Please show the version.
It's going to be interesting to figure out why this has to do with mutagen, because composer is failing long before anything happens with mutagen, I think.

I found out the problem, it's quite simple.
By default, the mutagen integration does not sync the project-level .git directory into the container. This is a safety check to make sure that you can't lose anything related to git.
However, it's easy to allow .git to sync, you just edit the .ddev/mutagen/mutagen.yml to comment out the exclusion of .git and remove the #ddev-generated from the top of the file, then ddev restart.
I suspect that the TYPO3 composer.json should not be completely dependent on having top-level .git, but don't know.
Anyway, easy fix.

Was that solution adequate for you @spoonerWeb ? If so, let's close this one. But we will get .git bind-mounted into the container where possible.

Thanks for reporting this, should be solved with #3507 which just went in.


404s/etc. not 400s

This PR changes the HTTP Status Codes used in the submission_router. Instead of using a 400 for everything, I think it makes more sense to use 404 for the cases where the resource doesn't exist and 423 (Locked) where the resource isn't available because it has been locked away from the student, the reason for which is explained in the detail field.

I do think we should be using 403, not 423, for inaccessible resources. Generally anything higher than 409 is very specialized and nuanced, and tend to be misused/misunderstood.

I do think we should be using 403, not 423, for inaccessible resources. Generally anything higher than 409 is very specialized and nuanced, and tend to be misused/misunderstood.

I'm okay with that, just figured that even though 423 is pretty specialized it works really well for that specific use case and makes intuitive sense to the client. But if you want to change it I'm okay with it.


nvidia GPU health checking

nvidia-smi should be enough

contributing back - sent as a PR to the nhc repo: https://github.com/mej/nhc/pull/4


feat: migrate date fields from string to Firestore Timestamp

This PR aim to help fixing the following issue : https://github.com/RevenueCat/firestore-revenuecat-purchases/issues/86
I didn't know what is the best practice to handle data migration from old extension using STRING to this new version using TIMESTAMP.
I'm pretty new to Firebase Extension :D.

Hi @EArminjon , thank you for the PR! We are debating internally how to handle this; the suggestion makes perfect sense but we don't want to break any existing integrations that might depend on this being stored as string.

Yep that is exactly the hard point, if firebase could support timestamp comparison with string that could save a lot of work.

Why not storing this a new fields name? or maybe this should be a major release

I think for the moment a new field is good enough.

Maybe you can use Firebase Extension onUpdate https://firebase.google.com/docs/extensions/reference/extension-yaml#lifecycle-events, event used when developer update the extension. A script will be run and can handle the migration.

Date format could also be a param which can be selected by developer when initializing the extension :
"Which date format would you use:  (string / Timestamp) ?"

Hello any news on this ?


Add Eclim linter

I think I've gotten a bit spoiled, because working with Eclim's lint-on-save feels really awkward now.
I'm not sure if this'd be possible, though; while Eclipse supports real-time linting (I think, I haven't used it for some years), I'm not sure if Eclim exports that functionality.

You do get so used to linting while you type that you find it hard to work without it any more.
I'm not sure how Eclim integration would work. I don't know too much about it myself. It would be interesting. It probably wouldn't be a linter for a particular language, but an integration for use with many different languages.

There's no plan for this, so I'll close it. If someone has a suggestion, go for it.

If you're interested, I added this to my .vimrc so eclim's classpath magic applies to javac with ALE too.
let g:EclimJavaValidate = 0
autocmd FileType java let g:ale_java_javac_classpath=eclim#Execute('-command java_classpath -p ' . eclim#project#util#GetCurrentProjectName())

eclim uses a command line to do a lot of its heavy lifting, so could slot it in to ALE. A little trial and error and something like eclim -command java_src_update -p project-name -f relative/path/to/file.java -v if you use the -v flag gives you nice JSON output with the location and message of each error. If you don't use -v it only updates some internal state.

I'll reopen this issue. I don't know too much about eclim myself. If you can come up with some way of either using it to figure out classpath settings, or just getting errors, it might be useful.

The classpath stuff is working well. I realise the java_src_update thing won't work that great as you need to save the file first to make it work. Could come back to it.

What you could do is modify the linter so it runs the command for getting the classpath asynchronously. Commands can be chained in ALE. There's a function which does just that at the moment with Maven.

I'll close this issue and offer some recommendations for Eclim to integrate with ALE, if the developers wish to do so. What they would need to do is give Vim some command or series of commands to run for an eclim linter defined in the ale_linters directory in runtimepath. Or in other word an ALE linter in their plugin files as described in the ALE documentation.
For anything of the nature where ALE talks to some server running in the background, ALE will only extend first party support to either LSP servers or tsserver for the foreseeable future.


Dead documentation link

The following links don't load anything:
http://angular-ui.github.io/ui-router/site/#/api/ui.router.state.$stateParams

+1

Where is this linked?

http://angular-ui.github.io/ui-router/site/#/api/ui.router.state.$state has Dependencies and 4 of those links are dead...

Well, 3 of them are in Angular core, and unfortunately I don't know if ng-docs is smart enough to handle cross-project dependencies.


[PIP-150][improve][broker] Support read the message of startMessageId position on the broker side

Fixes #14883
Motivation
See #14883
Modifications

In broker side, add a start_message_id_inclusive field to CommandSubscribe message
Client supports set the start_message_id_inclusive value of CommandSubscribe message
Improve NonDurableCursorImpl.java and ManagedCursorImpl.java supports reading the message of startMessageId position

Verifying this change

[x] Make sure that the change passes the CI checks.
Added tests

Documentation
Need to update docs?

[x] no-need-doc

[x] doc-not-needed

/pulsarbot rerun-failure-checks

/pulsarbot rerun-failure-checks

/pulsarbot rerun-failure-checks

/pulsarbot rerun-failure-checks

Blocked by https://github.com/apache/pulsar/pull/15761

/pulsarbot rerun-failure-checks

/pulsarbot rerun-failure-checks

Then blocked by org.apache.pulsar.broker.service.SubscriptionSeekTest#testSeekByFunctionAndMultiTopic, repeated messages are often received.

This PR has been blocked by https://github.com/apache/pulsar/pull/16171.

No reviewer, so close this PR.


Update jasper to 0.4.0

If there’s a checkbox you can’t complete for any reason, that's okay, just explain in detail why you weren’t able to do so.
After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} reports no offenses.
[x] The commit message includes the cask’s name and version.

Additionally, if updating a cask:

[x] sha256 changed but version stayed the same (what is this?).
I’m providing public confirmation below.

Additionally, if **adding a new cask**:

[ ] Named the cask according to the token reference.
[ ] brew cask install {{cask_file}} worked successfully.
[ ] brew cask uninstall {{cask_file}} worked successfully.
[ ] Checked there are no open pull requests for the same cask.
[ ] Checked the cask was not already refused in closed issues.
[ ] Checked the cask is submitted to the correct repo.

Thanks for the PR!

thx!


Support parent in Project

When public documentation is ready for ResourceId and a Project's parent, we should add support for parents.

To address when this issue is resolved: parent isn't currently returned in a list response, whether or not the field is specified explicitly.
Parent is returned in a get request.

This has been added to our feature backlog: https://github.com/GoogleCloudPlatform/google-cloud-java/wiki/Feature-backlog . This issue will be closed but is linked in the backlog and can continue to be used for comment and discussion.


Make the GHA workflow runs more responsive

This should make typical workflow runs report failures faster because of simultaneous runs of lint and matrix generation. I'd even move the dependency on lint to the check job.

This is intentional, I don't want to kick off the 100s of test jobs if linting is failing.

FTR, with this patch it'd run just one extra job which could be considered a sanity/smoke check of the matrix generation script. This could be good trade-off DX-wise.


How to foud the imgs_test.npy file

FileNotFoundError: [Errno 2] No such file or directory: '../npydata/imgs_test.npy'

@ll1214 did you solve this problem because I am having same issue.

I'm having the same issue any help?

you need to create the file in data.py


config: add configs for publishing to maven central

Can we also update README and remove the step of adding bintray artifactory?


Serialization of UDF might lose aliases

Describe the bug
As a part of migrating min/max to user-defined aggregate function, the test `'cases::roundtrip_physical_plan::roundtrip_scalar_udf_extension_codec' (datafusion/proto/tests/cases/roundtrip_physical_plan.rs) fails
https://github.com/apache/datafusion/blob/ecf5323eaa38869ed2f911b02f98e17aa6db639a/datafusion/proto/tests/cases/roundtrip_physical_plan.rs#L952-L964
After investigating the failure (see https://github.com/apache/datafusion/actions/runs/10040552648/job/27746844799?pr=11013#step:4:5769) it appears that the signature, the aliases and the name are lost in serialization/deserialization

This doesn't appear to be a problem related to migrating min/max to user-defined functions but rather a general problem we only encounter because that's the only roundtrip serialization/deserialization tests that involve UDF
To Reproduce
No response
Expected behavior
Roundtrip should work correctly and restore aliases, as well as correct names and signature
Additional context
No response

take

take


set the volume of the indoor chime?

Many eufy devices, like the doorbell for example, have a variable named chimeHomebaseRingtoneVolume: 12
I'm trying to adjust the volume of the homebase ringtone, but it doesn't seem to update in the app (different account of course).
I tried using switch.doorbell.indoor_chime and others, and although it accepts a new value, it doesn't reflect in the app (haven't tested in real life but assume it will not update the volume.

How did you try to accomplish this?

I just set the variable in developer tools.

From: Fuat Akgün @.>
Sent: 05 January 2022 20:37
To: fuatakgun/eufy_security @.>
Cc: atv2016 @.>; Author @.>
Subject: Re: [fuatakgun/eufy_security] set the volume of the indoor chime? (Issue #193)
How did you try to accomplish this?
—
Reply to this email directly, view it on GitHubhttps://github.com/fuatakgun/eufy_security/issues/193#issuecomment-1006059356, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEBCFU7S2QD6IPH7Y2BIAG3UUSTX7ANCNFSM5LFKP45A.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID: @.***>

i don't think it would work, there should be either a service call or a button or a select entity. Setting a state of an entity manually will be overridden in next cycle.
Ok, i will create a select entity for this.

Seems there is a entity called: switch.doorbell_indoor_chime. Can i somehow call the set the state attributes (if i look in developer tools i see all states, as below (excerpt) :
chimeHomebaseRingtoneVolume: 12
chimeHomebaseRingtoneType: 0
notificationType: 2
notificationRing: 1
notificationMotion: 1

So I just figured out if you choose device in an action and choose doorbell you can just choose to turn the indoor chime off.
Great, except I don’t see the volume actually going down. Not sure if it’s working or not.

a new entity is created as Chime Volume, you can use this select entity to set the volume


Add GitHub action to build and publish a release

Adds a GitHub action that builds and publishes a release to PyPI and GH when a tag is pushed.
Fixes #3628
@felipesanches To get this working you'll need to create one GH secret for PYPI_API_TOKEN.
This page describes how to create the secret: https://docs.github.com/en/actions/security-guides/encrypted-secrets
The token itself will need to be generated at https://pypi.org/manage/account/
The GITHUB_TOKEN secret is automatically managed. See https://docs.github.com/en/actions/security-guides/automatic-token-authentication#about-the-github_token-secret

thanks! I'll review this and set it up this week

@felipesanches Any progress on this?

I have read the PR and it looks good. Seems reasonable. I have not taken the time to create the secrets yet, but I will do so once I decide to cut the next release. I believe that this will not have any bad side-effect if I merge it right now even before creating the secrets.
Once I cut a new release I also plan to update the Maintainer docs to reflect the new procedure.


Update to .20 caused Windows to crash

ℹ Computer information

Windows build number: 1809
PowerToys version: 0.20.0
PowerToy module: N/A

📝 Provide detailed reproduction steps (if any)

Using Windows 1809, I was prompted to update to Power Toys 0.20.0
I started the update and at the end of the update it prompted me to restart Windows Explorer
Windows Explorer never opened back up, causing the PC to basically be inoperable. I had to sign out (using CTL+ALT+DEL) and then sign back in in order to start up explorer

✔ Expected result
I expected explorer to start back up without me having to sign out
❌ Actual result
I was forced to sign out and back in.
📷 Screenshots
Too late for that.

Same thing on 2004 (OS build 19041).

tracked in #5365


Some Python Files not Working

Some of the Python files that were recently downloaded do not run in sage in the terminal.  These are mostly fine, but some of the
syntax needs to be changed.

I forgot that this project does not intend to be run in the sage terminal.  Maybe this could be another section of the project that could be created eventually.


Typo in arguments to prowler

I might be misreading the file but REGION_OPT and PROFILE_OPT look like they are typos and should be REGION and PROFILE respectively.

Hi Bradley, what check are you referring about?
On Mon, Dec 17, 2018 at 5:08 PM Bradley Atkins<EMAIL_ADDRESS>wrote:

I might be misreading the file but REGION_OPT and PROFILE_OPT look like
they are typos and should be REGION and PROFILE respectively.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/toniblyx/prowler/issues/279, or mute the thread
https://github.com/notifications/unsubscribe-auth/ADzQOGhEoIU76E80jiXl16vTdVzFMUJTks5u58FugaJpZM4ZWqDQ
.

--
Toni de la Fuente
@ToniBlyx - https://blyx.com

Hi Tony,
I'm referring to prowler - https://github.com/toniblyx/prowler/blob/master/prowler


Add Python setOd/getOd

Calls to access the digital open-drain outputs were missing from the Python library; added these.

Thank you for the pull request.


Quick fix for Issue #11, and other general features

This is a quick fix to Issue #11
I also included a few other features I've found useful myself. Let me know if you have any suggestions :)

Looks good 👍


Collect anonymous usage statistics

It'd be really useful to know how users are using Mentat, what crashes / errors they are encountering, etc. At the same time we need to respect user privacy and be clear about what is collected.
We could let users opt out of sending details on:

usage stats (models used, tokens, costs, commands, how often edits are accepted/rejected)
crashes / errors encountered

For more detailed info, we could let users opt in to providing:

full transcripts of Mentat sessions

Thinking we can use Sentry for this

Posthog is another option, see how Chroma uses it for a production reference


Permission denied

I am using docker 1.5.0 on CENTOS 7.
docker-1.5.0-28.el7.centos.x86_64
I run the container as follows:
docker run -v /opt/:/reg  -i -t centos /bin/bash
Then:
[root@172ed85bc401 /]# touch /reg/pipp.txt
touch: cannot touch '/reg/pipp.txt': Permission denied
The same error in the following case:
docker run -v /opt/:/reg -v /etc/group:/etc/group -v /etc/passwd:/etc/passwd --user 1001:1001 -i -t centos /bin/bash
bash-4.2$ id registry
uid=1001(registry) gid=1001(registry) groups=1001(registry)
bash-4.2$ touch /reg/pipp.txt
touch: cannot touch '/reg/pipp.txt': Permission denied

Hi!
If you are reporting a new issue, PLEASE make sure that does not have any duplicates already open.
We would like to take this time to remind you of the information we need to debug the problem you are seeing. This is an automated response so if this ticket is not about a bug, do not fret.
If you fail to provide this information within 7 days, we will close this because we cannot debug your issue. We can reopen whenever the information is provided.
Thank you.
Please see:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues
Description of problem:

`docker version`:

`docker info`:

`uname -a`:

Environment details (AWS, VirtualBox, physical, etc.):

How reproducible:

Steps to Reproduce:
1.
2.
3.

Actual Results:

Expected Results:

Additional info:

#ENEEDMOREINFO

docker version:
Client version: 1.5.0-dev
Client API version: 1.18
Go version (client): go1.3.3
Git commit (client): fc0329b/1.5.0
OS/Arch (client): linux/amd64
Server version: 1.5.0-dev
Server API version: 1.18
Go version (server): go1.3.3
Git commit (server): fc0329b/1.5.0
OS/Arch (server): linux/amd64
docker info:
Containers: 15
Images: 22
Storage Driver: devicemapper
Pool Name: docker-253:1-17648601-pool
Pool Blocksize: 65.54 kB
Backing Filesystem: xfs
Data file: /dev/loop0
Metadata file: /dev/loop1
Data Space Used: 1.117 GB
Data Space Total: 107.4 GB
Data Space Available: 106.3 GB
Metadata Space Used: 2.454 MB
Metadata Space Total: 2.147 GB
Metadata Space Available: 2.145 GB
Udev Sync Supported: true
Data loop file: /var/lib/docker/devicemapper/devicemapper/data
Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata
Library Version: 1.02.93-RHEL7 (2015-01-28)
Execution Driver: native-0.2
Kernel Version: 3.10.0-123.9.3.el7.x86_64
Operating System: CentOS Linux 7 (Core)
CPUs: 2
Total Memory: 3.704 GiB
Name: docker
ID: 32NL:KLKJ:G4PQ:N7T2:JBCO:IZQ3:DQIH:RGAV:3H6Q:5BJW:4IE4:RVN5
uname -a:
Linux caio 3.10.0-123.9.3.el7.x86_64 #1 SMP Thu Nov 6 15:06:03 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
Env. details physical:?
How reproducible:

docker run centos
mkdir -p /tmp/pp
docker run -v /tmp/:/tmp -i -t centos /bin/bash
mktemp: failed to create file via template '/tmp/.colorlsXXX': Permission denied
bash: $TMP: ambiguous redirect
[root@192ffcfb1a83 /]# ls -al /tmp/
ls: cannot open directory /tmp/: Permission denied

It is quite curious because on ubuntu
uname -a
Linux xxxx 3.11.0-26-generic #45-Ubuntu SMP Tue Jul 15 04:02:06 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
by using
docker version
Client version: 1.5.0
Client API version: 1.17
Go version (client): go1.4.1
Git commit (client): a8a31ef
OS/Arch (client): linux/amd64
Server version: 1.5.0
Server API version: 1.17
Go version (server): go1.4.1
Git commit (server): a8a31ef
docker info
Containers: 34
Images: 210
Storage Driver: aufs
Root Dir: /var/lib/docker/aufs
Backing Filesystem: extfs
Dirs: 278
Execution Driver: native-0.2
Kernel Version: 3.11.0-26-generic
Operating System: Ubuntu 13.10
CPUs: 2
Total Memory: 3.582 GiB
Name: macjoda
ID: G7AX:XWRP:MSUG:K6Y6:6HTX:LAY5:RSOT:E4MO:5XVQ:RONQ:ZBMV:ECUA
Username: joda70
Registry: [https://index.docker.io/v1/]
WARNING: No swap limit support
I was able to create a file in the volume as shown below:
docker run  --name prova1 -i -t -v /root/joda:/tmp centos /bin/bash
[root@5464fd146123 /]# ls /tmp/
[root@5464fd146123 /]# cd /tmp/
[root@5464fd146123 tmp]# touch pap.txt
[root@5464fd146123 tmp]# ls
pap.txt

This is due to SELinux enforcement.
You'll need to run chcon on the host dir to set the SELinux label correctly.
Closing since this is a non-issue.


Update pki-io to 0.4.2-development

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.
[x] The commit message includes the cask’s name and version.

Last update to this program was 2 years ago, so I'm choosing this "development" build as the latest release. Any objections?


Feature Request: Create personalized groups to separate games

Similar to the feature that separate games if they're newly added, favorite or recently played but let the user use it's own criteria to create groups. Like a "Franchise group" or "completed games".
And if they share their devices with someone then "X person videogames" so the other person can easily find the complete list of videogames they play.
I was thinking of something like creating a personalized genre of videogame would be an easy way to implement this feature.

I would love this feature! Batocera's emulationstation has a similar feature, I believe it's called Dynamic Game Lists. It's similar to how genre lists are made but the user can specific any search term or metadata requirements. The way Batocera handles it is all the Dynamic Lists are in one group (like a system) and each one can be anything; for example all final fantasy games on all systems, or all nes games from 1994, etc. These are auto updated whenever new roms are added too (the dynamic part). I disappointed recently to learn that not all emulationstation builds have this feature and seems Batocera team added it in their build (ES-DE doesn't have it along with other missing features).


Fixed non-default camera handling in Python classifier sample

Without this commit, the -s / --source flag has no effect (other than being misleadingly output).

looks right...thanks for catching that.  I'll test it out and merge soon


'_PseudoRequest' object has no attribute 'get_type' when downloading private YouTube video

Very similar to https://github.com/rg3/youtube-dl/issues/4861
[jpro:~/Downloads] jesse% /opt/local/bin/youtube-dl -u xxx 'https://www.youtube.com/watch?v=xxx' -p xxx -2 xxx
[youtube] Downloading login page
[youtube] Logging in
[youtube] Submitting TFA code
[youtube] Ohnccq2SLvY: Downloading webpage
[youtube] Ohnccq2SLvY: Extracting video information
[youtube] Ohnccq2SLvY: Downloading DASH manifest
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/opt/local/bin/youtube-dl/main.py", line 19, in
File "/opt/local/bin/youtube-dl/youtube_dl/init.py", line 382, in main
File "/opt/local/bin/youtube-dl/youtube_dl/init.py", line 372, in _real_main
File "/opt/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1353, in download
File "/opt/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 630, in extract_info
File "/opt/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 676, in process_ie_result
File "/opt/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1024, in process_video_result
File "/opt/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 916, in _calc_headers
File "/opt/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 942, in _calc_cookies
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/cookielib.py", line 1324, in add_cookie_header
cookies = self._cookies_for_request(request)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/cookielib.py", line 1250, in _cookies_for_request
cookies.extend(self._cookies_for_domain(domain, request))
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/cookielib.py", line 1239, in _cookies_for_domain
if not self._policy.return_ok(cookie, request):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/cookielib.py", line 1071, in return_ok
if not fn(cookie, request):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/cookielib.py", line 1097, in return_ok_secure
if cookie.secure and request.get_type() != "https":
AttributeError: '_PseudoRequest' object has no attribute 'get_type'

I suspect that you are using an outdated version of youtube-dl. Can you post the output you get when you add -v to the command line?

I don't think that's it. I updated from 02-02-2015 when i saw the bug. Currently have youtube-dl @2015.02.06 (net) installed.

Sorry, the information included in the output you get with -v is vital for us to debug issues in general (that's why the note is featured prominently in our contribution notes).
I am not sure why you refuse to share that information, but we cannot in good faith extend support to users who are unwilling to provide us any debugging information.
Therefore, I am closing this issue. Feel free to provide the requested information and we'll reopen it.

[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v']
[debug] Encodings: locale US-ASCII, fs utf-8, out US-ASCII, pref US-ASCII
[debug] youtube-dl version 2015.02.06
[debug] Python version 2.7.9 - Darwin-14.1.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 2.5.3, ffprobe 2.5.3
[debug] Proxy map: {}
Usage: youtube-dl [OPTIONS] URL [URL...]
youtube-dl: error: You must provide at least one URL.
Type youtube-dl --help to see a list of all options.

That does not show the error. Please post the output you get when you add -v and when the error occurs.

youtube-dl -v xxx --cookie ~/Downloads/youtube.txt -v
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', 'xxx', '--cookie', '/Users/tug/Downloads/youtube.txt', '-v']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.02.16
[debug] Python version 2.7.9 - Darwin-14.1.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 2.5.3, ffprobe 2.5.3
[debug] Proxy map: {}
[youtube] xxx: Downloading webpage
[youtube] xxx: Extracting video information
[youtube] xxx: Downloading DASH manifest
Traceback (most recent call last):
  File "/Users/tug/Work/projects/st-kvartal.ru/env/bin/youtube-dl", line 11, in <module>
    sys.exit(main())
  File "/Users/tug/Work/projects/st-kvartal.ru/env/lib/python2.7/site-packages/youtube_dl/__init__.py", line 389, in main
    _real_main(argv)
  File "/Users/tug/Work/projects/st-kvartal.ru/env/lib/python2.7/site-packages/youtube_dl/__init__.py", line 379, in _real_main
    retcode = ydl.download(all_urls)
  File "/Users/tug/Work/projects/st-kvartal.ru/env/lib/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 1387, in download
    res = self.extract_info(url)
  File "/Users/tug/Work/projects/st-kvartal.ru/env/lib/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 644, in extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/Users/tug/Work/projects/st-kvartal.ru/env/lib/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 690, in process_ie_result
    return self.process_video_result(ie_result, download=download)
  File "/Users/tug/Work/projects/st-kvartal.ru/env/lib/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 1058, in process_video_result
    format['http_headers'] = self._calc_headers(full_format_info)
  File "/Users/tug/Work/projects/st-kvartal.ru/env/lib/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 947, in _calc_headers
    cookies = self._calc_cookies(info_dict)
  File "/Users/tug/Work/projects/st-kvartal.ru/env/lib/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 976, in _calc_cookies
    self.cookiejar.add_cookie_header(pr)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/cookielib.py", line 1324, in add_cookie_header
    cookies = self._cookies_for_request(request)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/cookielib.py", line 1250, in _cookies_for_request
    cookies.extend(self._cookies_for_domain(domain, request))
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/cookielib.py", line 1239, in _cookies_for_domain
    if not self._policy.return_ok(cookie, request):
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/cookielib.py", line 1071, in return_ok
    if not fn(cookie, request):
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/cookielib.py", line 1097, in return_ok_secure
    if cookie.secure and request.get_type() != "https":
AttributeError: '_PseudoRequest' object has no attribute 'get_type'

I can reproduce this issue. Here is the requested debugging information:
$ youtube-dl -u $GUSER --twofactor $TFA -v 'https://www.youtube.com/playlist?list=PLs9IzzdUqHtpMZWdahZXEsuqwVts-si0U'
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-u', u'PRIVATE', '--twofactor', '187972', '-v', 'https://www.youtube.com/playlist?list=PLs9IzzdUqHtpMZWdahZXEsuqwVts-si0U']
Type account password and press [Return]:
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2<IP_ADDRESS>
[debug] Python version 2.7.6 - Darwin-14.1.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 2.5.3, ffprobe 2.5.3
[debug] Proxy map: {}
[youtube:playlist] Downloading login page
[youtube:playlist] Logging in
[youtube:playlist] Submitting TFA code
[youtube:playlist] PLs9IzzdUqHtpMZWdahZXEsuqwVts-si0U: Downloading webpage
[download] Downloading playlist: Engineering Bootcamp September 2014
[youtube:playlist] playlist Engineering Bootcamp September 2014: Collected 19 video ids (downloading 19 of them)
[download] Downloading video 1 of 19
[youtube] Downloading login page
[youtube] Logging in
[youtube] hxAOFgc9umM: Downloading webpage
[youtube] hxAOFgc9umM: Extracting video information
[youtube] hxAOFgc9umM: Downloading DASH manifest
Traceback (most recent call last):
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/usr/local/bin/youtube-dl/__main__.py", line 19, in <module>
  File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 382, in main
  File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 372, in _real_main
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1373, in download
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 630, in extract_info
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 789, in process_ie_result
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 683, in process_ie_result
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 630, in extract_info
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 676, in process_ie_result
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1044, in process_video_result
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 933, in _calc_headers
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 962, in _calc_cookies
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/cookielib.py", line 1324, in add_cookie_header
    cookies = self._cookies_for_request(request)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/cookielib.py", line 1250, in _cookies_for_request
    cookies.extend(self._cookies_for_domain(domain, request))
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/cookielib.py", line 1239, in _cookies_for_domain
    if not self._policy.return_ok(cookie, request):
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/cookielib.py", line 1071, in return_ok
    if not fn(cookie, request):
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/cookielib.py", line 1097, in return_ok_secure
    if cookie.secure and request.get_type() != "https":
AttributeError: '_PseudoRequest' object has no attribute 'get_type'

@ebpitts Can you also reproduce the issue with the latest version? See our FAQ if you have trouble updating.

Sorry, 2<IP_ADDRESS> and 2<IP_ADDRESS> looked similar at a glance, and I didn't realize I didn't have the latest version.
Good news! I can no longer reproduce the problem.


Can NOT

i want to jump into definition with the "require" function, but vscode say "no definition found for require"

how can i fix it

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.67.1. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

We closed this issue because it is a question about using VS Code rather than an issue or feature request. Please search for help on StackOverflow, where the community has already answered thousands of similar questions. You may find their guide on asking a new question helpful if your question has not already been asked. See also our issue reporting guidelines.
Happy Coding!


Error 0xc00007b in executables

I have this error at the time of starting the executable already compiled, the compilation was 100% ok but when I run the app it opens but of this error as in the image below, which was the same as I had in the radeon pro render repository.
https://gyazo.com/e3d861a95aa693601d6ef7f2bc3ce318

I believe it is the lack of certain dlls in system 64 like msvcp100d, because I have these and all the others in system 32.

You should get a different error if it is a matter of a missing DLL.
Do the official binaries from https://luxcorerender.org/download/ work ?
Dow your OpenCL installation work ? Have you tried to run LuxMark to check if OpenCL work fine ?

yes

You need a bit to elaborate the answer.

Already the sdk, it seems that I've been able to find a solution, I'll see if the version for VS is the same.

good as I predicted it was 4 dll shortage where the executable directory was. I solved the problem thanks for the support

Ok, good.


[BUG] Orders: Fix parsing Offer flags

Consider adding a test that would have failed with off.Flags

I modified one of the test fixtures that would cause it to fail

Oh, cool. LGTM

LGTM


When switching scenes Animation panel sometimes loses ability to resize.

Godot version:

OS/device including version:

Win10 64-bit
Issue description:

When switching to a scene with an AnimationPlayers and the panel is re-opened, it can lose its resizing handle until the tab button is pushed to close it and reopen it.
This is the result of the missing resize handle.

This is what is expected.

Steps to reproduce:

Create two scenes, at least one with an AnimationPlayer.
Have the AnimationPlayer panel open in one scene.
Switch to another scene, and make sure to close the panel.
Then switch back to the scene with the AnimationPlayer selected.

Guess did not fix this correctly then.


pictures in algo and data structures not visible on the default github dark theme

I'm probably not the first one to notice it, but it is quite hard to distinguish them from the background.

My suggestion would be to append #gh-dark-mode-only and #gh-light-mode-only parameters at the end of the image. Problem is I am not sure about where to host the additional dark mode picture, as the regular one for the light mode is from wikimedia storage


Adding methods IsDefined and isNotNull

Hi guys,
Currently if you want to check that an element is non-null or necessary you have to use the two methods in this way:

!(isNull(...))
!(isUndefined(...))

It would be useful for code cleanup to have these two methods directly

isNotNull(...)
isDefined(...)

What do you think?
Thanks a lot

You can add each of them to Underscore with a single line if you need to:
import _, { mixin, negate, isNull, isUndefined } from 'underscore';

mixin({
    isNotNull: negate(isNull),
    isDefined: negate(isUndefined)
});

_.isDefined({}); // true

Generally, in order to keep Underscore lean and mean, we don't add functions that are just simple negations, compositions etcetera of other functions that are already in Underscore. However, please feel welcome to submit a PR to Underscore-contrib if you still think it should be exported from somewhere.


PassiveStateMachine fails to execute events fired by different callers on their respective threads. Is this expected?

While one caller is executing an event if different fires event it is returned after adding it to queue. Meanwhile, the first caller tries to execute the newly added event in the queue before it returns.
This creates an issue with Stop behavior as while one caller is busy with executing events in the queue if other callers go on adding events to queue still the state machine will be running till all events have been executed.
This is different from the description given for PassiveStateMachine related to State Machine Events Execution.

If you call the same state machine instance from multiple threads, you must use the ActiveStateMachine. The PassiveStateMachine cannot handle multiple threads.
The ActiveStateMachine executes the events on its own thread and returns the call to Fire after the event was queued.


WHEN I answer each prompt

THEN my input should be validated and at least one character type should be selected

done


Improve sp_io::storage::clear_prefix API to return the number of key deleted

Improve sp_io::storage::clear_prefix API to return the number of key deleted as mentioned in issue #10288
Polkadot address: 12ZNas89oEagaxLVNbpqmvfMxdrGrqN7gJKSpwthTUPZsrku

some function in frame-support makes use of clear_prefix, those function should probably return the new KillStorage now. their doc should also be updated

thinking again, I'm not sure the new API is very useful, here more context: https://github.com/paritytech/substrate/issues/10288#issuecomment-977384632

Should i go ahead and close my PR while you close the issue? @thiolliere

Yes I think we can close, if somebody wants the new API we can reopen


Fixed one way rendering.

I fixed rendering of oneways in same ways as it is defined in default OSM theme written in CartoCSS.

👍 Thanks!


interceptor POC

Updated interceptor design based on TrackLocal:
Changes:

Interceptor now have Bind methods similar to track, which are called for every track (local/remote) for rtp, and once per peerconnection for rtcp.
Added interceptors separately to API, instead of under setting engine. Did this because interceptors must be created per peerconnection, and InterceptorFactory seemed confusing. Also API was already a depedency of Receiver/Sender, so this was was much simpler. Similarly to MediaEngine, Interceptors now must be configured for each PeerConnection and added to API. Default interceptors can later be added in NewAPI method.
Instead of using interfaces with single a single function (eg: RTPWriter with a single WriteRTP function), I use function types. This makes implementing an interceptor simpler, because there is no need to create a separate struct for each interface (inline functions can be used instead).

type WriteRTP func(p *rtp.Packet, attributes map[interface{}]interface{}) (int, error)
type ReadRTP func() (*rtp.Packet, map[interface{}]interface{}, error)
type WriteRTCP func(pkts []rtcp.Packet, attributes map[interface{}]interface{}) (int, error)
type ReadRTCP func() ([]rtcp.Packet, map[interface{}]interface{}, error)

type Interceptor interface {
	BindReadRTCP(read ReadRTCP) ReadRTCP     // TODO: call this
	BindWriteRTCP(write WriteRTCP) WriteRTCP // TODO: call this

	BindLocalTrack(ctx *TrackLocalContext, write WriteRTP) WriteRTP
	UnbindLocalTrack(ctx *TrackLocalContext)

	BindRemoteTrack(ctx *TrackRemoteContext, read ReadRTP) ReadRTP
	UnbindRemoteTrack(ctx *TrackRemoteContext)

	io.Closer
}

Questions:

Please see interceptor_peerconnection.go and interceptor_track_remote.go. They are quite ugly. I'm open to any suggestions.
ReadRTCP is currently present on both RTPSender and RTPReceiver, while WriteRTCP is on PeerConnection. I think it would make much more sense to move ReadRTCP to PeerConnection as well. The current solution using DestinationSSRC() method is very opionated and causes some rtcp packets to be duplicated (in case they belong to multiple ssrc, or they are in a batch with another rtcp packet that belong to a different rtcp, see session_rtcp.go/destinationSSRC). In fact in our project we went to great length to undo this behaviour and get a single ReadRTCP method, without packet duplications. Is there any plan to modify this behaviour? (It would make calling BindReadRTCP in the Interceptor much easier).

Any suggestions are welcome.
@Sean-Der @at-wat please check

@masterada amazing work, reviewing now! I am so excited for the base to land, then we can start adding stuff. I am especially excited to implement a congestion controller (for my own learning)
I forced pushed just to fix the WASM build! Just make sure to reset off of that.

@masterada This is really great. I am all for merging this ASAP, we just need to get the basics right.
I think if we move quickly to merge it will also get others to review soonner (rather then later as well), brings more excitement and involvement :)

@masterada this looks really good! I am gonna fix up some stuff locally and push (commit message, last lint errors) and get this green.
I think we can merge this and then work on filling out the interceptors :)
@at-wat @lherman-cs @adwpc @OrlandoCo any thoughts/concerns? I am happy to leave it open longer if people need more time

Added some tests, and fixed all review comments (I think) + some other stuff I found. Still need to call UnbindLocalTrack and UnbindRemoteTrack (not sure where those would be good to call), but apart from that I think this can be merged.

@masterada I agree, I am up for a merge :) Lets wait maybe 2 more days for @at-wat he pushed for this originally, so would love his buy in if possible! He is pretty busy so if we don't hear we can always come back :)
This is some really amazing/foundational work you have done here! Being able to have publically viewable/easy to understand interceptors is going to be so great. It isn't just going to make Pion better, but I hope make RTC more accessiable.
Lots of people read Pion's code, and then go work on other implementations. So this is really great for everyone

@masterada sorry to hit you with another thing :(
The import pattern right now is reversed I think. I don't think we want something in pkg importing the base package. I started to look into that, and realize the headaches :(

We need to move the typedef for SSRC and PayloadType into github.com/pion/rtp
We might not be able to use TrackLocalContext and TrackRemoteContext or we should move those into github.com/pion/webrtc/pkg/context ?

I am happy to make these changes! Or if you want I can merge them right away. One big goal for me with the interceptors is that people should be able to use them outside of WebRTC. I think for /v4+ we will even talk about moving Interceptors into their own package. That way we can start to share stuff with https://github.com/aler9/rtsp-simple-server
Sorry for how long this has dragged on. I 100% promise this is the last thing! Right after we fix this we can merge, anything else can wait.

@aler9 I would love to hear your opinion on the work we are doing here!
https://github.com/pion/webrtc-v3-design/issues/34 is the design doc I wrote. I saw you are doing work on receiver reports! It would be awesome if we could get something that would work for all of us :)

The core parts of the interceptor are in the base package, only the implementations are in pkg/interceptor. I was thinking that if there was a 3rd party interceptor, it would make sense that it would import the webrtc package. That's why I added the specific interceptors into pkg/interceptor package, which use the base package.
Currenty the dependency would be:
3rd party interceptor -> webrtc
pkg/interceptor -> webrtc
I will think about how we can reverse the dependency to something like:
webrtc -> pkg/interceptor
3rd party interceptor -> pkg/interceptor
Although I think it will complicate things to be able to modify the sdp from inteceptors. Maybe functions like modifyCodecs method on the Interceptor would be needed.

@masterada I think we will need to make interceptors SDP unaware. That way non-WebRTC users can find them useful. The in the base package we can put the helpers together?
Maybe over engineering it. I just want to make these useful to people outside Go/Webrtc.

Added a commit with these modifications:

dependency is now webrtc->pkg/interceptor
added Attribute type
use Reader/Writer interfaces with adapter functions

for now I added this in a separate commit so it's easier to see the changes.
@Sean-Der please check the contents of movetopionrtp package, I need help to determine where these should be moved to?

@masterada I will take care of moving everything to pion/rtp now!
Thanks for dealing with the long review. This PR is nothing short of amazing though. I have really enjoyed seeing the patterns you have done (like Chain implementing Interceptor) the code has been a joy to review. It will be even more fun when we merge it!

@masterada I renamed from Track -> Stream to match RTP RFCs. Just decoupling this from WebRTC a bit, will make name conflicts a little easier I hope!
Fundamentally I think this is really great. I am going to finish cleaning up deleteme, but after that I am approving :) I think we should land your hard work.
I want to write a Tweet thanking you and @at-wat for Interceptors. Do either of you prefer I do a @ or full names? thanks!

I think we shouldn't have anything 'SDP Centric' in the design. Instead StreamInfo should use Attributes an interceptor can then Get/Set values it wants. I think that stops SDP concepts from leaking into the interceptor, and lets other people use it who have no concept of them. If you disagree please push back :)

I think these are very important info, and it would be nearly impossible to implement some interceptors without them:

RTCPFeedback: this is the most important, without it a nack/trasnprotcc interceptor won't know if it should send feedback. Even for the same peerconnection you can't just send the feedback for all streams, because usually audio streams don't need these feedbacks.
ClockRate: this is needed to be able to understand the meaning of Timestamp attribute of an rtp packet.
MimeType: some advanced inteceptors may need to determine if a packet is a video keyframe or not, and they need to know the MimeType for it
Channels/SDPFmtpLine: i can't think of anything right now that would need these, but I'm pretty sure if we left them out they would be needed at some point (altough we can skip these and add them later if needed)
HeaderExtensions: these are needed to be able to make sense of the rtp packet header section
SSRC: absolutely needed, necessary to construct feedback rtcp packets
PayloadType: don't know, probably needed :)

I think these parameters are neccessary for understanding what an rtp packet is, and as such they belong to rtp more than they belong to SDP (sdp is really just a way to signal these). And you can't make interceptors unaware of rtp/rtcp because they handle rtp/rtcp packets.
Pushed a commit with what I think StreamInfo should contain, please check. Also fixed interceptor binding in remote track, previously params/codec was not setup properly when BindRemoteStream was called.

@Sean-Der in my opinion, when dealing with RTCP generation, there are two approaches:

generating RTCP together with RTP, since they both share some initial state values, but this would require decoding and re-encoding all incoming RTP packets
generating RTCP by looking at existing incoming and outgoing RTPs

The second approach is the one i use in gortsplib and the one proposed here. It allows to implement RTCP feedback, and in particular it would allow to automatically handle keyframe generation, that now is done with a manual PictureLossIndicator routine and could be handled directly by the library, by replicating the behavior of browsers.
What i can say about this approach is that it requires additional informations about the stream, like the ones listed by @masterada,. Since most of these are included into the SDP, i would expose the SDP's MediaDescription directly, instead of creating a new struct{} that allows to avoid SDP concepts but practically exposes the same exact informations, like (by using @masterada list)

ClockRate --> included in SDP
MimeType --> included in SDP
Channels --> included in SDP
PayloadType --> included in SDP

@aler9 originally RTPParameters were passed to bind methods:
https://github.com/pion/webrtc/pull/1504/files#diff-8b596789ae952f46740e3dabb4df2a5391953429f8f84da7f58820feb5838ae3R91
// RTPParameters is a list of negotiated codecs and header extensions
//
// https://w3c.github.io/webrtc-pc/#dictionary-rtcrtpparameters-members
type RTPParameters struct {
	HeaderExtensions []RTPHeaderExtensionParameter
	Codecs           []RTPCodecParameters
}

These basically contain all these info in a nice parsed form, but there was a dependency issue between packages (we didn't want pkg/interceptor to depend on webrtc).
I think passing in the raw SDP text would unnecessarily complicate things, all these info are already parsed and available at the point of calling Bind* functions (so there is no real performance overhead).
Also, passing MediaDescription alone from SDP might not be enough. Attributes can be session-level as well (see: https://tools.ietf.org/html/rfc4566#section-5.13), for example it's possible to signal an extension (extmap attribubte) on the session level, instead of inside a MediaDescription block.

Added a draft pr for nack interceptors to show how these interceptors would work (tested receiver nack, didn't check sender nack yet, it might contain bugs but the concept is visible). See: https://github.com/pion/webrtc/pull/1549/files
@OrlandoCo

@Sean-Der if you're ok with the last commit (adding more fields to stream info), i will squash the commit and i think we can merge this.

I am in support!
I am sure we will encounter road bumps along the way, but this feels 100% in the right direction to me. I am going to also move the interceptor to ‘GitHub.com/pion/interceptor’ but I can do that tomorrow. It’s a bit tedious.
You will be the author on the commits for the new repo :)

Merged :1st_place_medal:
@masterada @at-wat Thank you so much for everything you have done! This is a major step forward for pion/webrtc. I also think is going to help bring other projects into Go and RTC space. People can easily use pion/interceptor for RIST, RTSP etc...

@aler9 Are things in the current format useful for gosrtplib? I would love to find a way that we could share this stuff. Maybe not possible, but it feels like bring the Go/RTC community together on this stuff could be really great. I think all the Pion devs could learn a lot from the work you have done :)

@OrlandoCo Hopefully we can keep iterating to make this work for ion. I would love to get all the great stuff you have done into pion/interceptor. Ion really charged ahead and surpassed pion/webrtc in this space. Hopefully we haven't made any decisions that can stop us from getting all the ion goodness into every pion/webrtc project :)


Add api key interceptor

This is a useful class to add allows Retrofit users to set a RequestInterceptor. This will add the appropriate headers on each request.

These changes can't be in the main module.  It doesn't make any sense to introduce a dependency on retrofit for users of the bundle.  It's clients that want this code, not the server.

Good point. Should I introduce a retrofit-client-module into the repo that I can put this in to? If you'd rather not, feel free to close this out


CLINT vs. CLIC mode

Hello,
How does CLIC mode affect the existing profiles (RVA22, RVA23)? Can they only be applied to processors in CLINT mode?

CLIC mode is not ratified yet, so can not affect existing profiles.  RVA application processors will generally use AIA facilities.


Update ring buffer API to allow static buffers

Cherry-picked from #206

Any reason we can't use the template-based approach that I was suggesting earlier? I think it's an elegant way to solve this problem.

Any reason we can't use the template-based approach that I was suggesting earlier? I think it's an elegant way to solve this problem.
Something like the following (not sure if the template syntax is 100% correct)
template <int T>
class RingBuffer<T> {
private:
    uint8_t _data[T];
public:
    RingBuffer<T>();
}

Resolved in 318e5d9.


fix: Add missing gTest dependency

lgtm - @vvbandeira approve if you have no concerns

@maliberty gtest did not auto install on my Ubuntu 20.04 machine. I had to manually install it.

@maliberty I was having the same issue on my Ubuntu 20. @openroadie  Thanks for fixing

The problem was fixed in https://github.com/The-OpenROAD-Project/OpenROAD/pull/3047 however if you had a build where gtest was installed you would continue to have this issue.  Removing install/OpenROAD will fix up an existing workspace.


python37Packages.typed-ast: 1.3.4 -> 1.3.5

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/python3.7-typed-ast/versions.
meta.description for python37Packages.typed-ast is: '"a fork of Python 2 and 3 ast modules with type comment support"'.
meta.homepage for python37Packages.typed-ast is: '"https://pypi.python.org/pypi/typed-ast"

Checks done (click to expand)

built on NixOS
/bin/sh passed the binary check.
1 of 1 passed binary check by having a zero exit code.
0 of 1 passed binary check by having the new version present in output.
found 1.3.5 with grep in /nix/store/wjzi8z538ks9p52pg4myndskihf65w2m-python3.7-typed-ast-1.3.5
directory tree listing: https://gist.github.com/2d946eeb66ea156eaa6b28f160f2b539
du listing: https://gist.github.com/579786c2a9836c390a2773662e1a0632

Rebuild report (if merged into master) (click to expand)

27 total rebuild path(s)
7 package rebuild(s)
7 x86_64-linux rebuild(s)
7 i686-linux rebuild(s)
6 x86_64-darwin rebuild(s)
7 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
mypy
nix-pin
python37Packages.mypy
python37Packages.pyls-mypy
python37Packages.pytest-mypy
python37Packages.typed-ast
thonny

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/wjzi8z538ks9p52pg4myndskihf65w2m-python3.7-typed-ast-1.3.5 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A python37Packages.typed-ast https://github.com/r-ryantm/nixpkgs/archive/1601dd9ca489f844fdfb0d8419ac73ca12d6c314.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/wjzi8z538ks9p52pg4myndskihf65w2m-python3.7-typed-ast-1.3.5
ls -la /nix/store/wjzi8z538ks9p52pg4myndskihf65w2m-python3.7-typed-ast-1.3.5/bin

It's actually one bugfix commit:
https://github.com/python/typed_ast/compare/1.3.4...1.3.5


Change staking account identifiers

Currently staking account identifiers are simply the Ed25519 public keys. In order to support different kinds of accounts we should change how the account identifiers are defined.
We may want to use Bech32.

We may want to use Bech32.

The human "friendly" encoding format is orthogonal to the actual identifier construction no?

Yes the internal representation can be different as long as we can decode all the required data from the input and map that onto the internal representation.
So I would be fine with still accepting public keys in the Bech32-encoded address' data field and having the same internal representation as is now. No need to hash the keys IMO?
This would still allow that we have different kinds of accounts in the future.

Actually I thought about this some more and I'm not sure how much sense doing this has. Different accounts will have different internal representations and it will probably make sense to have special operations for dealing with those instead of overloading the existing methods (e.g., transfer) with different account types.

Duplicate of #2870.


SQL queries have been defined with LOWER() which may cause to ignore the indexes when SELECT

In Use Core, we have used "LOWER()" function [1] in SQLs.
This will effect to all database which are even case insensitive
In some databases, Index may not work when LOWER/UPPER is used.
Therefore, this must be properly fixed.

[1] -  https://github.com/wso2/carbon-kernel/blob/v4.4.3/core/org.wso2.carbon.user.core/src/main/java/org/wso2/carbon/user/core/jdbc/caseinsensitive/JDBCCaseInsensitiveConstants.java
[2] - http://stackoverflow.com/questions/9970313/mysql-lowercase-to-compare-data
http://alvinalexander.com/sql/sql-select-case-insensitive-query-queries-upper-lower
OT JIRA: https://wso2.org/jira/browse/IDENTITY-4874

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


Ch 10 Question 8

Hello Kaiwan, I was confused by Ch 10 Question 8. Based on my reading of the book (p. 514) there are any number of runqueues. And as far as I could find, there was no discussion of waitqueues in the chapter.
The question and listed answer are:
8. On a modern Linux system with 4 CPU cores, there will be ___ runqueue(s) for
SMP scalability; how many waitqueues can it have: __
 1. 1, 4
 2. 4, any number
 3. 4, 1
 4. any number of, any number

A. option 2

Hi Vincent, thanks for writing. You're right. Q8 isn't quite right... I shall correct it, thank you!
Reg runqueues, page 510 says:
"Now, this is a key point: the kernel maintains one runqueue for every processor core and for every scheduling class! So, if we have a system with, say, eight CPU cores, then we will have 8 cores * 5 sched classes = 40 runqueues!".
Also there is no  mention of waitqueues; a waitqueue is essentially  a per-event structure upon which tasks that are waiting on that event are enqueued. There can be any number of drivers having any number of events that are waited upon (blocking in nature); hence the number of waitqueues can be anything...

Just pushed the fix for this question; thanks Vincent

Updated Ch 10 Qs 8 as well


add makefile exception for osx

This closes #28

I checked this out and it works for me. Thanks!!


Don't create schema every time it is applied

There is a mistake in the code currently which causes a new dry-data schema to be created each time the schema is applied, this should be updated and the schema should be cached in the @coercer ivar here

Accounted for by removing the schema code to replace with the core version:
9a286703ce4db593d93b5e816658c9309093621f


How to centralize the definition of a native type wrapper

Hi,
in our application we have several custom types that wraps a native Guid and this own types are exposed by multiple queries. For example:
      public class GuidWrapper
      {
          public readonly Guid Value;
          public GuidWrapper(Guid value) =>
              this.Value = value;
      }

      public class Query
      {
          public GuidWrapper Foo() => new GuidWrapper(Guid.NewGuid());
          public GuidWrapper Bar() => new GuidWrapper(Guid.NewGuid());
      }

In this way HotChocolate tries to serialize the wrapper so we use ObjectType and TypeConversion to specify that the type is actually a UuidType and how to (de)serialize it.
      TypeConversion.Default.Register<Guid, GuidWrapper>(from => new GuidWrapper(from));
      TypeConversion.Default.Register<GuidWrapper, Guid>(from => from.Value);

      public class QueryType : ObjectType<Query>
      {
          protected override void Configure(IObjectTypeDescriptor<Query> descriptor)
          {
              descriptor.Field(t => t.Foo()).Type<NonNullType<UuidType>>();
              descriptor.Field(t => t.Bar()).Type<NonNullType<UuidType>>();
          }
      }

With this approach every time a WrapperGuid is used in a query we have to remember to specify the UuidType. Is there any way to centralize this definition?
Thanks in advance

Hi @matteobaglini,
there is. You can tell the schema builder that this type also binds automatically to UuidType.
SchemaBuilder.New()
    ...
    .BindClrType< GuidWrapper, UuidType>()
    .Create();

We also have a very active slack channel for help. So I can recommend joining us there.

Please close the issue if this was what you were looking for :)

Yes, it is. :-) Thanks @michaelstaib.


The request to scrape the URL timed out.

Trying to share to facebook takes a very long time to load and is FB seems to be ignoring my meta og fields.
Errors from facebook
Curl Timeout             The request to scrape the URL timed out.
Curl Error                  Curl error: 28 (OPERATION_TIMEOUTED)
Inferred Property     The 'og:image' property should be explicitly provided, even if a value can be inferred from other tags.
Missing Properties  The following required properties are missing: og:url, og:type, og:title, og:image, og:description, fb:app_id

reports show.html.haml
- content_for :head do
  %meta{:content => "****************", :property => "fb:app_id"}/
  %meta{:content => "website", :property => "og:type"}/
  %meta{:content => "https://www.floundergiggin.com/ + #{@report}", :property => "og:url"}/
  %meta{:content => "#{@report.title}",:property => "og:title"}/
  %meta{:content =><EMAIL_ADDRESS>{}, :sanitize => false)}", :property => "og:description"}/

=<EMAIL_ADDRESS>:url => report_url(@report), desc: @report.title)
I have used this same setup for several projects previously and now they are all doing the same.

Ok found a solution. After more digging, I found this: https://gorails.com/forum/sharing-on-social-network
<% content_for :head do %>
    <!-- Open Graph tags -->
    <meta property="og:title" content="<%= @article.title %>" />
    <meta property="og:type" content="article" />
    <meta property="og:url" content="<%= article_url(@article) %>" />
    <meta property="og:description" content="<%= @article.body %>" />
      <meta property="og:image" content="<%= absolute_image_url(img.attachment.url) %>" />
    <meta property="fb:app_id" content="12345678" />
    <!-- Twitter card property -->
    <meta name="twitter:card" content="<%= @article.title %>">
    <meta name="twitter:site" content="@mytwitter">
  <% end %>

Solved. I don't know if it was the order in which I had the og tags or if it was removing the #{}


[DOCFIX] Update docs/cn/Powered-By-Alluxio.md

Update docs/cn/Powered-By-Alluxio.md

Merged build finished. Test PASSed.

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


Dev

Close #17
Close #15
Close #12
Close #11

for some reason the debug and info logs are not showing up for me:

Yeah the default level is WARNING, so to listen for lower level messages, the level would need to be set directly in the refgenie code, or passed as command-line opt/arg

Looks good to me once you finish off these pending things you've started.

OK. I think we're al set then. The logging message display and query_yes_no issues will be solved from the refgenie side, I think. @michalstolarczyk do you see any other changes that should be made?


add command name + cooldown settings to showemote module

Pull request checklist:

[x] CHANGELOG.md was updated, if applicable
[x] Documentation in docs/ or install-docs/ was updated, if applicable

i indirectly earned myself a 5$ per month github sponsor by implementing this :pajadank:


3D Occupancy Grid

Hello, I have been working with cartographer for a while now and have been able to get pretty good results.  My main question is about how to save, load and view the 3D occupancy grid that is created by cartographer (in 3d mode).  I have been using the point cloud that I get from the assets_writer to describe my space, but would rather have an occupancy grid.  After examining the code and examples, I have realized that I can use the assets_writer with option 'action = "write_hybrid_grid"' to write the hybrid grid to a serialized format.  My questions are:

If anyone has a script to load, analyze and view this hybrid grid, and if not, what do I need to do?
Is there a difference between the hybridgrid and a 3d occupancy grid.  My thought is that the hybridgrid is a thresholded occupancy grid in which cells with probability higher than some value are set to 1 and below some value are set to 0.  Is that correct?
If this hybrid grid is what I described, is it possible to get the raw 3d occupancy grid instead?

Thanks

Is there a difference between the hybridgrid and a 3d occupancy grid. My thought is that the hybridgrid is a thresholded occupancy grid in which cells with probability higher than some value are set to 1 and below some value are set to 0. Is that correct?

HybridGrid is a sparse 3D grid with 15 Bit per voxel. So no, it does have a probability for each voxel and it not thresholded.
I think the name hybrid is to indicate is has both flat layers and dynamic, tree-like layers to organize the data.

assets_writer with option 'action = "write_hybrid_grid"'

It would run this batch processor: https://github.com/googlecartographer/cartographer/blob/master/cartographer/io/hybrid_grid_points_processor.cc
(Haven't used it, I don't even know if any other processor can use the result.)

view this hybrid grid

You can see projections of it in rviz. Or you need to implement something that reads the contents of GetAllSubmapData.
There is one important property of the 3D pipeline: It only writes into a few voxels in the hybrid grid around the lidar reflection. The default is TRAJECTORY_BUILDER_3D.submaps.range_data_inserter.num_free_space_voxels = 2.
So the grid is mostly empty, especially the high resolution one.
If you plan to export a dense occupancy grid (because you need free voxels to find free paths to navigate), you could of course try changing that parameter, but performance may be extremely slow.
Hope this answers your questions.

Answered.


Fabric API custom ingredients which match the same stacks as a tag are incorrectly displayed as the tag

For a specific example, Affinity's PotionIngredient matches all three items in the c:potions tag but specifically requires the matched stack to have a certain potion in its NBT. However, since EMI only checks the stack's key and ignores NBT when searching for tag matches in EmiTag.getIngredient, it will incorrectly display this as the c:potions tag with three instances of an uncraftable potion. This is plain incorrect and can, as far as I can tell, currently not be prevented without instantiating the impl of ListEmiIngredient directly

Definitely slightly tricky to handle. Tag ingredients could have a case to coerce if all nbt for input stacks match. ListEmiIngredient is not API, so there is currently no resolution to this outside of a custom ingredient.


test(build:clean script): remove test:clean from build:clean

Fixes coveralls reporting?
Discussion in #1535
#1432 is implicated in the recent failure of Coveralls reporting.
#1432 sought to separate test and build scripts, but erroneously left test:clean in build:clean.
The effect being that

test built  ./coverage
build removed ./coverage
coveralls failed for lack of ./coverage

This PR fixxes that error.

Changes Unknown when pulling c383a9e45328f101c0141cdadac6559aa187547a on gihrig:re-coveralls into ** on react-boilerplate:dev**.

coveralls is BACK! Awesome!

coveralls is BACK! Awesome!

But this PR must be merged in master before the coveralls badge will function...

But this PR must be merged in master before the coveralls badge will function...

Yes! The badge is still broken, but at least we have the coveralls bot functioning.

By all means!


Line Chart - Multiple secondary y axis data points possible?

Hello, loving this library so far. One question I have.
Is it possible to have multiple data lines on the secondary y axis? Currently trying to graph some weather stats, on the primary y axis I have temperature in f and humidity, this is fine as these values will usually be fairly close together, or at least for my needs close enough. On the second y axis I have wind speed. Which is usually quite a bit lower. For this I'm able to use a secondary y axis. However, what if I wanted to add more data points to the secondary y axis, is this possible?
Thanks!

Hi @jantznick 👋
Thanks for asking this question. We can have multiple secondary lines using the dataSet prop.
The lines rendered using the dataSet prop are primary by default. To make some or all of them secondary, we need to add the property isSecondary: true inside the items of the dataSet array.
In the example below, the orange line is primary while the blue and green lines are secondary.
This was done by adding the property isSecondary: true inside the respective items of the dataSet array.


fix. make some contract errors optional.

Part of the https://p2pvalidator.atlassian.net/browse/NTRN-214
Intention of this PR is to show that some of the error might be recoverable. So it is better to add log message instead of throwing error.

The only me find this strategy dangerous? I mean a contract can mutate the state partially and then exit with early return after add_error_to_queue(deps.storage, error_msg.to_string()).ok();

We can mention this risk inside comments

The only me find this strategy dangerous? I mean a contract can mutate the state partially and then exit with early return after add_error_to_queue(deps.storage, error_msg.to_string()).ok();

I added warning about this possible state damage


Challenge answer does not get written to .well-known/acme-challenge resulting in 404

I'm following the tutorial at https://commaster.net/content/how-setup-lets-encrypt-apache-windows
Using the latest <IP_ADDRESS> version. Doing manual host name with self-host verification file for node js.
I do a --test argument so I can test the URL on a browser and it didn't work. If I manually put a dummy file there myself (just to test if the server is working fine), that same URL would work. So win-acme isn't writing the answer to the folder at all.
Any idea why this is happening?

Yes, the node.js server is listening on port 80. What type of logs? I set --verbose and it didn't really give any meaningful data aside from the URL returning 404.
Btw, this worked in previous version.

I'm not sure how else to say this:
self-hosting validation is not the same as filesystem validation. You want to use filesystem validation. Please provide the output of a failed run after adjusting to use filesystem validation

Thanks. That works, but I ran into another problem. The old version stored the certificate at: C:\ProgramData\letsencrypt-win-simple\ The new version at C:\ProgramData\win-acme\.
If I rename the folder manually or delete them, when I generate the cert, I get an error saying that it couldn't find the Signer file at letsencrypt-win-simple. How do I fix this so it looks at the updated folder name instead?

I'm afraid that's going to be a question for @WouterTinus if you can't find what you're looking for in the wiki. I do know recently the name was changed and there's some trickery to rebuild the configs to reference the new name. Perhaps it's as simple as going through the interactive menu to remove all old renewals and creating a fresh one? I don't know for sure.

@WouterTinus yes, I deleted it from ProgramData completely. I tried removing all renewals too. No luck. Still getting DependencyResolutionException error, could not find a part of the path C:\ProgramData\letsencrypt-win-simple\httpsacme-v01.api.letsencrypt.org\Registration

Can you take a look at your letsencrypt.exe.config? Does it list the <ClientName> setting and if so, what is its value?

letsencrypt.exe.config does not have ClientName but settings.config does and it's
<setting name="ClientName" serializeAs="String">     <value>win-acme</value>   </setting>

Any other idea @WouterTinus? It's still giving me an error. Is there anywhere else this setting might be stored?

Can you post the output shown on your screen while running with the --verbose parameter? Something is very fishy about all this.

Hah! The error disappears once I stop the app and re-run it. I guess it's holding on to that path while it's executing? Everything works now.


Added slides to event 028

Ready for review.

Somehow the ci is not starting. But I'll merge this anyway


[VS 2017 RC - From VSTS] F# Interactive broken in vs2015 after install VS 2017 RC

The following is copied verbatim from a VSTS bug:
I already had VS 2015 Community installed which was working fine. I installed VS 2017 RC today. Now, when I use FSharp Interactive within Visual Studio 2015 OR I execute fsi.exe from the Visual Studio 2015 Developer Command Prompt I get the following:
Microsoft (R) F# Interactive version 14.0.23413.0
Copyright (c) Microsoft Corporation. All Rights Reserved.

For help type #help;;

>
Session termination detected. Press Enter to restart.

unknown(1,1): error FS1223: FSharp.Core.sigdata not found alongside FSharp.Core

unknown(1,1): error FS0229: Error opening binary file 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\FSharp.Core\v4.0_<IP_ADDRESS>__b03f5f7f11d50a3a\FSharp.Core.dll': Exception of type 'Microsoft.FSharp.Compiler.ErrorLogger+StopProcessing' was thrown.

unknown(1,1): error FS3160: Problem reading assembly 'FSharp.Core, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a': Exception of type 'Microsoft.FSharp.Compiler.ErrorLogger+StopProcessing' was thrown.

However, I can run FSharp Interactive either from Visual Studio 2017 RC or from the Visual Studio 2017 RC Developer Command Prompt.

I don't think #1820 is a duplicate of this issue as indicated.  #1820 is about F# interactive being broken in VS2017RC (see my original post) but this issue is that installing VS2017RC breaks F# interactive in VS2015.  I can run F# interactive in VS2017RC.

I agree @graydo64. I have no problems with Interactive mode in my 2015 install, just 2017RC

@KevinRansom @brettfo Is this something we can take a look at?

I have this same problem too. I uninstalled VS 2017 RC and it still didn't work. I unistalled F# and reinstalled it. Still doesn't work. I also have no intellisense.

experienced the same problem, it seems like assembly FSharp.Core 4.0 has been removed from the GAC with VS2017. so, as workaround, installing it to GAC or just copying to fsi.exe folder  helped me.

As a workaround, I did a Repair on Visual Studio 2015 from Add/Remove Programs, and FSI is all better.

Closing this for now, as I don't think we really have the bandwidth the fix this given .NET Core and other pushes.  Since there is a workable solution by repairing the VS 2015 install, this is a less severe issue for us.  FSharp.Core as a whole is moving GAC-less and eventually it will just be a package we pull in via the package cache which comes with VS.  This is a breaking change, but for the better because it will solve the always-nagging issues related to loading these different assemblies.


Documentation typo

Under MQTT commands the following is shown:
alert | data | {"notification": "Hello!"} | Displays an alert dialog within the application
And it should show:
alert | data | {"alert": "Hello!"} | Displays an alert dialog within the application

Fixed.


Missing description in /web/fundamentals/primers/push/on-the-server

Current: description: ""

Description added 2 Oct. 2015


fixed php notice ( Array to string conversion ) in src/Osms.php

resolved PHP notice

A PHP Error was encountered
Severity: Notice
Message: Array to string conversion
Filename: src/Osms.php
Line Number: 294

and

A PHP Error was encountered
Severity: Notice
Message: Array to string conversion
Filename: src/Osms.php
Line Number: 291

This PR resolves the issue in #6  (Error: Array to string conversion on Osms.php )

@ismaeltoe please merge this PR


error

**********************************************************************
** Visual Studio 2022 Developer Command Prompt v17.7.4
** Copyright (c) 2022 Microsoft Corporation
**********************************************************************
[vcvarsall.bat] Environment initialized for: 'x64'

C:\Program Files\Microsoft Visual Studio\2022\Enterprise>cd /d D:\code\rust\code\windows\Windows-rust-driver-samples

D:\code\rust\code\windows\Windows-rust-driver-samples>cargo build
   Compiling wdk-sys v0.1.0
error: failed to run custom build command for `wdk-sys v0.1.0`

Caused by:
  process didn't exit successfully: `D:\code\rust\code\windows\Windows-rust-driver-samples\target\debug\build\wdk-sys-109708047c4dbb69\build-script-build` (exit code: 101)
  --- stderr
  thread 'main' panicked at 'WDKContentRoot should be able to be detected. Ensure that the WDK is installed, or that the environment setup scripts in the eWDK have been run.', C:\Users\Administrator\.cargo\registry\src\index.crates.io-6f17d22bba15001f\wdk-build-0.1.0\src\lib.rs:111:64
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

D:\code\rust\code\windows\Windows-rust-driver-samples>

D:\code\rust\code\windows\Windows-rust-driver-samples>cargo make
[cargo-make] INFO - cargo make 0.37.1

D:\code\rust\code\windows\Windows-rust-driver-samples>cd "D:\code\rust\code\windows\Windows-rust-driver-samples"

D:\code\rust\code\windows\Windows-rust-driver-samples>pwsh.exe -Command "if ($env:CARGO_MAKE_CRATE_IS_WORKSPACE) { return };$cargoMakeURI = 'https://raw.githubusercontent.com/microsoft/windows-drivers-rs/main/rust-driver-makefile.toml';New-Item -ItemType Directory .cargo-make-loadscripts -Force;Invoke-RestMethod -Method GET -Uri $CargoMakeURI -OutFile $env:CARGO_MAKE_WORKSPACE_WORKING_DIRECTORY/.cargo-make-loadscripts/rust-driver-makefile.toml"
'pwsh.exe' 不是内部或外部命令，也不是可运行的程序
或批处理文件。
[cargo-make] ERROR - Error while executing command, exit code: 1
[cargo-make] WARN - Build Failed.

D:\code\rust\code\windows\Windows-rust-driver-samples>

**********************************************************************
** Visual Studio 2022 Developer Command Prompt v17.7.4
** Copyright (c) 2022 Microsoft Corporation
**********************************************************************
[vcvarsall.bat] Environment initialized for: 'x64'

C:\Program Files\Microsoft Visual Studio\2022\Enterprise>cd /d D:\code\rust\code\windows\Windows-rust-driver-samples

D:\code\rust\code\windows\Windows-rust-driver-samples>cargo clean

D:\code\rust\code\windows\Windows-rust-driver-samples>cargo make
[cargo-make] INFO - cargo make 0.37.1

D:\code\rust\code\windows\Windows-rust-driver-samples>cd "D:\code\rust\code\windows\Windows-rust-driver-samples"

D:\code\rust\code\windows\Windows-rust-driver-samples>pwsh.exe -Command "if ($env:CARGO_MAKE_CRATE_IS_WORKSPACE) { return };$cargoMakeURI = 'https://raw.githubusercontent.com/microsoft/windows-drivers-rs/main/rust-driver-makefile.toml';New-Item -ItemType Directory .cargo-make-loadscripts -Force;Invoke-RestMethod -Method GET -Uri $CargoMakeURI -OutFile $env:CARGO_MAKE_WORKSPACE_WORKING_DIRECTORY/.cargo-make-loadscripts/rust-driver-makefile.toml"
Could not resolve CoreCLR path. For more details, enable tracing by setting COREHOST_TRACE environment variable to 1
[cargo-make] ERROR - Error while executing command, exit code: -2147450745
[cargo-make] WARN - Build Failed.

D:\code\rust\code\windows\Windows-rust-driver-samples>

D:\code\rust\code\windows\Windows-rust-driver-samples\general\echo\kmdf\driver\DriverSync>cargo make
[cargo-make] INFO - cargo make 0.37.1
[cargo-make] INFO - Calling cargo metadata to extract project info
[cargo-make] INFO - Cargo metadata done
[cargo-make] INFO - Project: echo-2
[cargo-make] INFO - Build File: Makefile.toml
[cargo-make] INFO - Task: default
[cargo-make] INFO - Profile: development
[cargo-make] INFO - Running Task: legacy-migration
[cargo-make] INFO - Execute Command: "cargo" "fmt"
Warning: can't set `wrap_comments = true`, unstable features are only available in nightly channel.
Warning: can't set `format_code_in_doc_comments = true`, unstable features are only available in nightly channel.
Warning: can't set `normalize_comments = true`, unstable features are only available in nightly channel.
Warning: can't set `normalize_doc_attributes = true`, unstable features are only available in nightly channel.
Warning: can't set `format_strings = true`, unstable features are only available in nightly channel.
Warning: can't set `format_macro_matchers = true`, unstable features are only available in nightly channel.
Warning: can't set `hex_literal_case = Upper`, unstable features are only available in nightly channel.
Warning: can't set `imports_layout = HorizontalVertical`, unstable features are only available in nightly channel.
Warning: can't set `imports_granularity = Crate`, unstable features are only available in nightly channel.
Warning: can't set `group_imports = StdExternalCrate`, unstable features are only available in nightly channel.
Warning: can't set `reorder_impl_items = true`, unstable features are only available in nightly channel.
Warning: can't set `version = Two`, unstable features are only available in nightly channel.
Warning: can't set `condense_wildcard_suffixes = true`, unstable features are only available in nightly channel.
Warning: can't set `unstable_features = true`, unstable features are only available in nightly channel.
Warning: can't set `wrap_comments = true`, unstable features are only available in nightly channel.
Warning: can't set `format_code_in_doc_comments = true`, unstable features are only available in nightly channel.
Warning: can't set `normalize_comments = true`, unstable features are only available in nightly channel.
Warning: can't set `normalize_doc_attributes = true`, unstable features are only available in nightly channel.
Warning: can't set `format_strings = true`, unstable features are only available in nightly channel.
Warning: can't set `format_macro_matchers = true`, unstable features are only available in nightly channel.
Warning: can't set `hex_literal_case = Upper`, unstable features are only available in nightly channel.
Warning: can't set `imports_layout = HorizontalVertical`, unstable features are only available in nightly channel.
Warning: can't set `imports_granularity = Crate`, unstable features are only available in nightly channel.
Warning: can't set `group_imports = StdExternalCrate`, unstable features are only available in nightly channel.
Warning: can't set `reorder_impl_items = true`, unstable features are only available in nightly channel.
Warning: can't set `version = Two`, unstable features are only available in nightly channel.
Warning: can't set `condense_wildcard_suffixes = true`, unstable features are only available in nightly channel.
Warning: can't set `unstable_features = true`, unstable features are only available in nightly channel.
[cargo-make] INFO - Skipping Task: format-toml-conditioned-flow
[cargo-make] INFO - Execute Command: "cargo" "build" "--all-features"
   Compiling serde v1.0.188
   Compiling thiserror v1.0.48
   Compiling wdk-macros v0.1.0
error[E0554]: `#![feature]` may not be used on the stable release channel
 --> C:\Users\Administrator\.cargo\registry\src\index.crates.io-6f17d22bba15001f\wdk-macros-0.1.0\src\lib.rs:4:42
  |
4 | #![cfg_attr(feature = "nightly", feature(hint_must_use))]
  |                                          ^^^^^^^^^^^^^

For more information about this error, try `rustc --explain E0554`.
error: could not compile `wdk-macros` (lib) due to previous error
warning: build failed, waiting for other jobs to finish...
[cargo-make] ERROR - Error while executing command, exit code: 101
[cargo-make] WARN - Build Failed.

D:\code\rust\code\windows\Windows-rust-driver-samples\general\echo\kmdf\driver\DriverSync>

Execute cargo make in the repository's root directory


Turn the builder in a proper cli tool

I'm looking forward to turn the builder into a compiled proper CLI tool instead of having to execute a specific function within CL context.
This is what I am aiming for:

[ ] Make a build setup with qlot and provide the binaries (macOS and Linux) as releases in this repository
[ ] Turn the main function into a CLI that may be executed in terminal in any subdirectory of the repository instead of only in the root
[ ] Provide some customization arguments to the CLI, like columns and image-width

If you have any other idea, please, say below and I will gladly add to this list.

You could provide a ros script too, to be installable via ros. It's pretty useful, I did sometimes. Projects:

https://github.com/ryukinix/lisp-chat/tree/master/roswell
https://github.com/ryukinix/lisp-inference/tree/master/roswell

That way we can ros install and having installed and available in our $PATH.

You could provide a ros script too, to be installable via ros. It's pretty useful, I did sometimes. Projects:

https://github.com/ryukinix/lisp-chat/tree/master/roswell
https://github.com/ryukinix/lisp-inference/tree/master/roswell

That way we can ros install and having installed and available in our $PATH.

I was thinking exactly this!
Thanks for your reference. I was using qlot source as reference but your is smaller, this simpler to understand.


ci: Add commitlint GitHub action to ensure conventional commits

For more information, see Conventional Commits format in Contribute
https://linux-system-roles.github.io/contribute.html#conventional-commits-format
Signed-off-by: Sergei Petrosian<EMAIL_ADDRESS>

Thanks for the updates -- having a 130+ lines static .commitlintrc.js is indeed much better than burying it in the action steps!
I'm personally not fond of the Conventional Commits style; that said, since it's part of the Linux System Roles contribution guidelines, I'll adapt to it. I have only one small request: for test-only changes I've been using "tests: " as prefix so far; would it be possible to accept it in addition to "test: "?

Thanks for the updates -- having a 130+ lines static .commitlintrc.js is indeed much better than burying it in the action steps!
Agreed!
I'm personally not fond of the Conventional Commits style; that said, since it's part of the Linux System Roles contribution guidelines, I'll adapt to it. I have only one small request: for test-only changes I've been using "tests: " as prefix so far; would it be possible to accept it in addition to "test: "?
Done that, tests: can be used as a commit type now as well as test:


[Type] add TypeInterface / add Type::matches / add vec and dict types.

closes #128
closes #129

change-log:
Features:

added Type\vec functions that returns a Type of vec<T> ( aka list<T>, T[] )
added Type\dict function that returns a Type of dict<Tk, Tv> ( aka array<Tk, Tv> )
added a new Type\TypeInterface interface that is implemented by all types.
added Type::matches($value): bool method to check if the given value is of that type.

Deprecation:

all Type\is_* functions have been deprecated, use Type\string()->matches($value) instead of Type\is_string($value)

Breaking changes:

a new method matches has been added to Type\Type, if you have a type that extends this base class, you probably won't be effected, unless you have a method in your class named matches.

Pull Request Test Coverage Report for Build 575682282

81 of 163 (49.69%)  changed or added relevant lines in 23 files are covered.
4 unchanged lines in 4 files lost coverage.
Overall coverage decreased (-3.6%) to 96.383%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/Psl/Type/Internal/BoolType.php
2
3
66.67%

src/Psl/Type/Internal/FloatType.php
4
5
80.0%

src/Psl/Type/Internal/IntersectionType.php
11
12
91.67%

src/Psl/Type/Internal/MixedType.php
0
1
0.0%

src/Psl/Type/Internal/NonEmptyStringType.php
4
5
80.0%

src/Psl/Type/Internal/NullType.php
2
3
66.67%

src/Psl/Type/Internal/ObjectType.php
0
1
0.0%

src/Psl/Type/dict.php
0
1
0.0%

src/Psl/Type/vec.php
0
1
0.0%

src/Psl/Type/Type.php
6
10
60.0%

Files with Coverage Reduction
New Missed Lines
%

src/Psl/Type/is_bool.php
1
0%

src/Psl/Type/is_float.php
1
0%

src/Psl/Type/is_null.php
1
0%

src/Psl/Type/is_resource.php
1
0%

Totals

Change from base Build 571224268:
-3.6%

Covered Lines:
2318

Relevant Lines:
2405

💛  - Coveralls


Consider making specVersion an integer with validations

Currently specVersion is a string. This is creating confusion when consuming tools treat this value as both string and integer.
Example:
https://github.com/CycloneDX/cyclonedx-maven-plugin/blob/925b04fdd74e4e412e1cc06d7fad9e7a102e329c/src/main/java/org/cyclonedx/maven/DefaultModelConverter.java#L236
https://github.com/CycloneDX/cyclonedx-maven-plugin/blob/925b04fdd74e4e412e1cc06d7fad9e7a102e329c/src/it/makeBom/verify.groovy#L11
https://github.com/DependencyTrack/dependency-track/blob/b40ea44864d006079d38a8d159c2d9d1c5fb04f7/src/main/java/org/dependencytrack/model/Vex.java#L131

I suppose the JOSN examples are mere examples,
and the intention should also be reflected in XML and ProtoBuf?

see also the discussion here: https://github.com/CycloneDX/specification/discussions/476


chore(main): release pixels 0.3.1

:robot: I have created a release beep boop
0.3.1 (2024-04-16)
Bug Fixes

pixels: export all types in Menu (e9d1304)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/fuf-stack/uniform/releases/tag/pixels-v0.3.1 :sunflower:


Conditionally include API section in documentation

🐞 Problem
There is a huge bottle neck when building the API documentation section in the docs. If possible, this section should be skipped by using the Jinja strategy we have followed in other repositories.

@ahernsean the hook for this has always been in the pyensight docs system.  There is an environmental variable that developers use to speed up the docs.  Basically it just drops the ansys-api-pyensight sources from the autosummary.  All other docs are still generated.  The plan has been to clean that up a little bit (it leaves a missing link in the docs) to support local doc devs and expose it with a custom local build target as well as the appropriate actions.
From conf.py:
The suffix(es) of source filenames.
source_suffix = ".rst"
if os.environ.get("FASTDOCS", "0") == "1":
exclude_patterns = [
"class_documentation.rst",
"object_documentation.rst",
"native_documentation.rst",
]
Set FASTDOCS to "1" before you build.


Property:stateOrCounty

Definition

Dimension

Existing property

Existing class

Existing property identifier

Format
Text

Required

Repeatable
Single

Constraints

Examples

Notes

This term seems to be mixing two different administrative levels (at least as defined in the US). I don't understand well why would that be, why not have separate fields for state and county.

I think it's a common method for internationalising the field name e.g. in the UK, county is the closest equivalent to a state in the US. However it's a pretty simplistic approach, and agree it's confusing re US counties. There was a suggestion for the equivalent property in InstitutionAddress to rename to 'region' and align with the vCard definition http://www.w3.org/2006/vcard/ns#region


Build command-line interface

This should handle any interaction with the user. Will be more clear once some tasks are implemented.

Set up entrypoint in pyproject, use click


[BANDWIDTH_THROTTLING] Fix missing javadoc in AmbryCUQuotaEnforcer.

Codecov Report

Merging #2055 (84a9a4f) into master (f8756e3) will decrease coverage by 27.29%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##             master    #2055       +/-   ##
=============================================
- Coverage     73.61%   46.32%   -27.30%
+ Complexity    10095     5940     -4155
=============================================
  Files           727      727
  Lines         55039    55039
  Branches       6806     6806
=============================================
- Hits          40519    25497    -15022
- Misses        12357    27388    +15031
+ Partials       2163     2154        -9

Impacted Files
Coverage Δ

...ambry/quota/capacityunit/AmbryCUQuotaEnforcer.java
0.00% <ø> (-82.06%)
:arrow_down:

...rc/main/java/com/github/ambry/quota/QuotaMode.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...rc/main/java/com/github/ambry/quota/QuotaName.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...rc/main/java/com/github/ambry/rest/RestMethod.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...c/main/java/com/github/ambry/router/ByteRange.java
0.00% <0.00%> (-100.00%)
:arrow_down:

.../main/java/com/github/ambry/quota/QuotaAction.java
0.00% <0.00%> (-100.00%)
:arrow_down:

.../main/java/com/github/ambry/quota/QuotaMethod.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...main/java/com/github/ambry/commons/Thresholds.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...main/java/com/github/ambry/config/QuotaConfig.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...in/java/com/github/ambry/quota/QuotaException.java
0.00% <0.00%> (-100.00%)
:arrow_down:

... and 433 more

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 f8756e3...84a9a4f. Read the comment docs.