Stories not loading and commands not found

I've tried stories on vscodium, where it was not working. It was loading forever. Also when I want to refresh the stories, it prompts me: "command 'stories.refresh' not found. Same for any other storie related command.
VSCodium and VSCode newest version, OS Ubuntu 20.04
Thought mabye it's VSCodium related. But same happens on VSCode.
E:
Okay, i switched between plugin versions. The last version which is working for me is 2.4.0. Higher versions are all broken. But storie uploading is taking forever/not working.

If you rename ~/.vscode/extensions/benawad.stories/Playback.js to lowercase playback.js, it works. I assume this works on a mac (and for the majority of users) because of the case-insensitive file system of mac.
I'll try and follow up with a PR.

@bar9 's method work on linux as well (Manjaro), thanks! :100:

I just published a new version with that file renamed which I think should fix it.


Can't remove data points on ferm profile

It looks like you can add data points to a fermentation profile, but not delete them- if the wrong point is added (or you just want to modify the profile based on the progress of a brew), you have to delete the profile and start from scratch (via the UI, at least). It would be helpful to delete set points from the ferm profile screen.

Well, though you cant delete a ferm point through the fermentation profile edit url. It is possible to delete a ferm profile point through the Django Admin Panel, and you're not relegated to starting a profile from scratch.

Hmm. That's strange - I have the ability to delete data points just fine:

Did you have the fermentation profile actively assigned to a currently-fermenting beer? If so, editing is disabled by this check:
https://github.com/thorrak/fermentrack/blob/bc305c302ae0642bcefda9ee4b17e6f8dc5da1d6/app/models.py#L1497
That said - there actually is a bug here - it's just that the bug is that the "Add Setpoint" form isn't disabled (and apparently the "add setpoint" form processor doesn't check if the profile is editable).

😂well...I never realized those Red X’s did something....that makes that process easier!😂

OK, that was it- it was assigned to a current brew. For what my opinion is worth, I'd like the option to edit the profile while brewing and apply it- it helps me dial-in a new profile to how the yeast is doing during my first time with it during a brew.

I thought about it, and debated it a bit, and I'm going to add the ability to edit assigned profiles - just with a giant warning message at the top of the page that the profile is currently active/assigned.
I'll need to recheck the BrewPi-script logic to make sure that I have something in place to reload the profile periodically - but that should probably be in there regardless to prevent errors from caching.

I love it, and the banner is a great compromise in there- best of both worlds! Thanks for the consideration


CF::UAA::NotFound: CF::UAA::NotFound Error

Hi Team,
While trying to add a new user then providing access Getting Error like below
CF::UAA::NotFound: CF::UAA::NotFound
ubuntu@pksopsmgr:~$ uaac user add alana --emails<EMAIL_ADDRESS>-p password
user account successfully added
ubuntu@pksopsmgr:~$ uaac member add pks.clusters.admin alana
CF::UAA::NotFound: CF::UAA::NotFound
Can you please suggest how to resolve this and
Is there is a simple way to login to pks
I am trying to follow doc
https://docs.pivotal.io/runtimes/pks/1-0/create-cluster.html#cluster-access
But information provided there is very tidious.
Please Share some simple steps I can do to Login :
pks login -a PKS_API -u USERNAME -p PASSWORD --ca-cert CERT-PATH
Best Regards
Ganesh Kumar

same problem！
version：pivotal-container-service-1.0.4-build.5.pivotal
uaac version
UAA Client：4.1.0

Hi @kumarganesh2814 @lusyoe thanks for reaching out to us. We recommend that you contact Pivotal Support for help troubleshooting this issue. The docs team will follow up with Support to see if documentation changes are required. Thanks!


Handle null database values with string destinations

The default value for a string in Go is ''. The built-in Go SQL driver solves this problem with the sql.NullString type. Do we want to support this type? Or do we want to just treat '' as equivilant to null in this SDK?

I've found that the null and empty distinction can be very important to developers using DBs, GraphQL etc. It makes sense to have a way to distinguish between those two.

I've found that the null and empty distinction can be very important to developers using DBs, GraphQL etc. It makes sense to have a way to distinguish between those two.

This is especially true with Cassandra (and Astra DB), where a "null" returned in a result set is not the same as Java's null.  When Cassandra returns a null result, it really means that the data in the column or partition doesn't exist.


Support for Rank function

Is there support for RANK? When I try using the function is get an error Error: no such function RANK

There should be yes since the C++ wrapper is just executing a query.
What are you doing exactly?
Could you give me some code that demonstrates this issue?


Add files via upload

Description
A short summary of what is included in your Pull Request.
Fixes #(issue_no)

[ ] Issue_no: <insert your issue no here>
[x] Not applicable

Type of change
Choosing one or more options from the following as per the nature of your Pull request.

[x] New project insert
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Documentation Update

Project

QR Code generator

Short Description: Using the given python code we can generate a QR code of your own design but adding the link

Checklist:
Please tick all the boxes that are fulfilled by your Pull Request.

[x] I have named my files and folder, according to this project's guidelines.
[ ] My code follows the style guidelines of this project.
[ ] I have commented on my code, particularly in hard-to-understand areas.
[x] I have created a helpful and easy to understand README.md, according to the given README_TEMPLATE.
[x] My changes do not produce any warnings.

QR code Generator


[Feature] Add e2e testing to Sage Monorepo

What product(s) is this feature for?
Sage Monorepo, Schematic
Description
The goal is to enable e2e (end-to-end) testing for the projects developed in Sage Monorepo. The first use cases is to enable e2e testing of the project schematic-api.
Specifications

The solution should take into account that developers use Git Forking Workflow. This means that PRs opened from forks don't have access to secrets of the upstream repo.
The secrets required for the e2e testing of a project should not be passed to projects (or products) that don't need them (least privilege)

Tentative workflow
Feature branches from forks are no longer merged into main. Instead, the would merge to an upstream branch named <product>/e2e-<feature>. Upon merging the feature branch, a second PR could be opened to merge <product>/e2e-<feature> into main.
Because the feature branch originates from the upstream repo, the GH workflow would have access to the secret. If the second feature branch is named <product>/e2e-*, then we could pass only the secrets relevant to the projects that belong to the product <product>. If needed, we could further reduce the access on a per-project basis.
If the e2e testing fails when opening the PR that would be merged to main, the developer could open a new PR with a patch that would merge into <product>/e2e-<feature>. Alternatively, selected developers could be allow to push directly to the branch <product>/e2e-<feature> without using PR, either to develop the feature or only to patch broken features.
Alternative designs
There is a pattern that consist in using GH labels to authorize a PR that originates from a fork to access the upstream secrets. The logic is that if the developer is allowed to change the labels of the PR, then they are allow to write to the upstream repo and thus should be able to access the upstream secrets. The issue with this pattern is that developers who should normally not have access to the secrets are "given" access to them on a per-PR basis. Once the PR is "authorized", the developer could modify the feature branch, e.g. to extract the secrets, which is a risk that we could only take with trusted developers.
There is a mechanism that allows feature branch from fork to access upstream secrets. The limitation is that the GH workflow should be designed in a way that there is no way the code tested may leak the secrets. This is the most promising pattern but I need to read more about it to understand its limitations.
Anything else?
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

As per our discussion, @rrchai aims to add the e2e this week.

Added to Sprint 24.2

Solution
The scope of this task is now focused on streamlining the execution of Schematic e2e tests. This is now possible using the manual review process introduced in #2596 for running Sonar scans.


Issue 133 implement tunable class

Implemented a Tunable class that is able to control a bulk of hyperparameters with the same public methods as BaseHyperParam.

Implement Tunable class
Implment unit tests for this class.
Fix hyperparameters bugs / issues with dtypes.
Update docstrings.

Resolve #133

Codecov Report

Merging #135 into 0.3.0_dev will increase coverage by 9.17%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##           0.3.0_dev    #135      +/-   ##
============================================
+ Coverage      77.12%   86.3%   +9.17%
============================================
  Files              9       9
  Lines            188     219      +31
============================================
+ Hits             145     189      +44
+ Misses            43      30      -13

Impacted Files
Coverage Δ

btb/tuning/hyperparams/boolean.py
100% <100%> (ø)
:arrow_up:

btb/tuning/tunable.py
100% <100%> (+100%)
:arrow_up:

btb/tuning/hyperparams/base.py
87.75% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Ldanzinger/readme

@michael-tims please review and merge. Clarifying how you can go about integrating the Toolkit into your apps with the QML Import Path

Looks great.  Thanks.


Spark not clearly support Elasticsearch parent-child relationship.

Hello
I am a beginner in Elasticsearch-Spark.
My data is created in a Spark task, and it will be stored into Elasticsearch.
My problem is that, I have two types, namely "branch" and "employee", which are in parent-child relationship.
Now I cannot find the way to define their parent-child relationship when transferring data to Elasticsearch from Spark.
In detail, I have the mapping below defined in my Elasticsearch:
curl -XPUT 'localhost:9200/company?pretty=1' -d'
{
"mappings": {
"branch": {},
"employee": {
"_parent": {
"type": "branch"
}
}
}
}'
Then, I put several documents into type branch:
curl -XPOST 'localhost:9200/company/branch/_bulk?pretty' -d '
{ "index": { "_id": "london" }}
{ "name": "London Westminster", "city": "London", "country": "UK" }
{ "index": { "_id": "liverpool" }}
{ "name": "Liverpool Central", "city": "Liverpool", "country": "UK" }
{ "index": { "_id": "paris" }}
{ "name": "Champs élysées", "city": "Paris", "country": "France" }
Next, I insert a document of type employee into the index company,
curl -XPUT 'localhost:9200/company/employee/1?parent=london' -d'
{
"name":  "Alice Smith",
"dob":   "1970-10-24",
"hobby": "hiking"
}'
Then, inside Spark-Shell
scala> val options = Map("pushdown" -> "true", "es.read.metadata" -> "true")
scala> val esDf = sqlContext.read.format("org.elasticsearch.spark.sql").options(options).load("company/employee")
scala> esDf.printSchema
root
|-- dob: timestamp (nullable = true)
|-- hobby: string (nullable = true)
|-- name: string (nullable = true)
|-- _metadata: map (nullable = true)
|    |-- key: string
|    |-- value: string (valueContainsNull = true)
NO PARENT information shown in the schema.
Therefore, I wonder how can I specify "parent=london" in Spark when using functions like saveToEs ?
Also, I wonder whether or not I can conduct has_child, has_parent queries to Elasticsearch through Spark? What are the functions or configurations ?
I use Elasticsearch 2.2.0, Spark 1.6.0 and elasticsearch-spark_2.10-2.2.0.jar
Many Thanks.

Parent is stored in the _metadata map. You can specify metadata when indexing using saveToEsWithMeta.
See https://github.com/elastic/elasticsearch-hadoop/blob/master/docs/src/reference/asciidoc/core/spark.adoc#handling-document-metadata

Hello @yuCompHW ,
Did you try using the parameter es.mapping.parent as described here?
Regards,

Closing this due to no responses from the original author since it was opened.


Pile V2?

Yes, all the news is literally only about ChatGPT and "his" competitors.

Poggers, excited for the next generation of The Pile, which will make AI better in the future.


[WIP] [logs-agent] Use workloadmeta instead of AD to learn about new containers

This replaces uses of autodiscovery for detecting new containers with workloadmeta.
Motivation
The advantage is that workloadmeta correctly distinguishes container runtimes, so this enables automatically handling docker, containerd, and podman logs correctly (and any other runtimes..)
Additional Notes
Currently work-in-progress.  See notes in subsequent comments.
Describe how to test/QA your changes
Configure logging for docker containers and ensure that they still start and stop logging appropriately when the containers are created and destroyed.
Reviewer's Checklist

[ ] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[ ] The appropriate team/.. label has been applied, if known.
[ ] A release note
has been added or the changelog/no-changelog label has been applied.
[ ] Changed code has automated tests for its functionality.
[ ] Adequate QA/testing plan information is provided if the qa/skip-qa label is not applied.
[ ] If applicable, docs team has been notified or
an issue has been opened on the documentation repo.
[ ] If applicable, the need-change/operator and need-change/helm labels have been applied.
[ ] If applicable, the config template
has been updated.

@gh123man does this look reasonable?
I'm not sure how to determine the CreationTime ("Before" or "After" the agent started) via workloadmeta - @juliogreff can you help there?
If this looks OK then I'll write up some tests for this.

You can derive CreationTime the same way AD does it. The first EventBundle you get from a subscription contains everything that was existed in the store at the moment you subscribe. I'm not familiar what CreationTime is for, but I assume that since the logs agent starts more less at the same time as AD, this logic could work as before. It's a bit racy (collectors might not have pulled data yet), but it seems to be working for AD so far.
Otherwise the PR is a good start! Left a small nitpick, and I don't have the locations handy now, but I'd also recommend getting rid of any calls to dockerutil and kubeutil if you can (in this PR or followups, up to you) and use the workloadmeta instead, to avoid races and have a single source of truth.

I'd also recommend getting rid of any calls to dockerutil and kubeutil if you can (in this PR or followups, up to you) and use the workloadmeta instead, to avoid races and have a single source of truth.

This PR only affects "raw" container logging, not pods, so I think kubeutil is OK for now.  And looking at how dockerutil is used, it appears to be only running Inspect and converting a container ID to container_id://<ID>, so that all looks pretty benign.  I also don't see replacements for that functionality in https://pkg.go.dev/github.com/DataDog/datadog-agent/pkg/workloadmeta.  But I'm happy to be educated :)

The docker launcher uses dockerutil.Inspect, and the necessary information is probably already included in the events from workloadmeta.  I'll take a look, but that may be something to fix in a followup.

The docker launcher uses dockerutil.Inspect, and the necessary information is probably already included in the events from workloadmeta. I'll take a look, but that may be something to fix in a followup.

Indeed, this is hard as there's no place to store extra data in the ./pkg/logs/service.Service struct.  I've filed AC-1365 to track a larger refactor to enable this later.
I don't think leaving this as-is is going to cause any new race conditions (such as a container disappearing before the logs-agent can Inspect it).

(The serverless team is only flagged here for test changes, so I'll merge without review there if necessary)

For QA do we also want to test other container runtimes?
Also just a note - we should probably walk through he logs QA board for 7.33 since there was a lot of logs agent churn this release.

For QA do we also want to test other container runtimes?

AIUI only docker is supported for logs.


Adding ActionsCluster - Issue #92

Issue #92
Adding ActionsCluster based on actions-cluster.xml and the Matter Core Specification.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Syncing to existing, running ipynb on remote server

Describe the bug
When I host a Jupyter server + Neovim on a remote server and then connect with port forwarding on Firefox to my client machine, I cannot sync to existing, running ipynb files. This is important if, for example, my Neovim instance quits in the middle of a kernel session and I want to re-attach to the running ipynb file with a new Neovim instance.
If I try to do by opening the ipynb file and running :JupyniumStartSync 1, I get the following logs
jupynium.cmds.jupynium:  585 - ERROR - Uncaught exception occurred while processing events. Detaching nvim.
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/jupynium/cmds/jupynium.py", line 580, in main
    status, rpcrequest_event = process_events(nvim_info, driver)
  File "/usr/local/lib/python3.9/site-packages/jupynium/events_control.py", line 220, in process_events
    status, request_event = process_request_event(nvim_info, driver, event)
  File "/usr/local/lib/python3.9/site-packages/jupynium/events_control.py", line 494, in process_request_event
    nvim_info.jupbufs[bufnr].full_sync_to_notebook(driver)
  File "/usr/local/lib/python3.9/site-packages/jupynium/buffer.py", line 448, in full_sync_to_notebook
    num_cells_in_notebook = driver.execute_script(
  File "/usr/local/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 414, in execute_script
    return self.execute(command, {"script": script, "args": converted_args})["value"]
  File "/usr/local/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 354, in execute
    self.error_handler.check_response(response)
  File "/usr/local/lib/python3.9/site-packages/selenium/webdriver/remote/errorhandler.py", line 229, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.JavascriptException: Message: TypeError: Jupyter.notebook is undefined
Stacktrace:
@http://localhost:8888/nbclassic/tree:2:7
@http://localhost:8888/nbclassic/tree:3:8

To Reproduce

Run a Jupyter kernel + Neovim on a remote machine
Connect with ssh port forwarding
Create an ipynb file and add some content
Close Neovim on the remote machine
Open the same running ipynb kernel
Reopen Neovim and run :JupyniumStartSync 1

Expected behavior
The Neovim content should replace the content in the ipynb file.
Logs in /tmp/jupynium/logs/
See above
Output of jupynium --version
Jupynium v0.2.4

Output of nvim --version
NVIM v0.10.0-dev
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3

Hi, I'm not sure if I understood it correctly.
How are you connecting it?
I think you should

open jupyter and neovim remotely with nvim --listen localhost:4321
Port forward both 8888 and 4321 so you have access to both neovim and jupyter notebook.
Use jupynium cli. Connect with jupynium --nvim_listen_addr localhost:4321

Is this how you're doing it?

Yes, exactly.
Those configurations are definitely correct because I have no problem syncing the first time to an Untitled ipynb.
It's only when I try to sync to existing files that those errors appear.

Thanks for reporting. I honestly haven't been using much remotely and I need to check what's happening. I'll let you know when I do, and sorry for keeping you waiting


"Deprecated in favour of static" comments

In e9956fa2f74f, i noticed all those operators were commented as deprecated and that commit was tagged as v6.
Can someone explain this? I was under the impression that:
import { concat } from 'rxjs/operators';

concat(a, b, c);

is the current recommended usage?
is it not? FYI i reached that file by TS' having gone to the definition of concat in my editor.

nevermind, realised i need to import from rxjs.


fix: create sender allocation on receipt notification

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

95 of 127 (74.8%)  changed or added relevant lines in 2 files are covered.
3 unchanged lines in 2 files lost coverage.
Overall coverage increased (+0.3%) to 66.834%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

tap-agent/src/agent/sender_account.rs
8
13
61.54%

tap-agent/src/agent/sender_accounts_manager.rs
87
114
76.32%

Files with Coverage Reduction
New Missed Lines
%

tap-agent/src/agent/sender_account.rs
1
80.62%

tap-agent/src/agent/sender_accounts_manager.rs
2
83.84%

Totals

Change from base Build<PHONE_NUMBER>:
0.3%

Covered Lines:
3863

Relevant Lines:
5780

💛  - Coveralls


WW: prompt should just say "Search running processes"

it currently cycles through multiple commands it can do but we're focused on alt-tab style searching.

update "search" to "Search running processes"
remove other hints

The fix is now available in 0.16 https://github.com/microsoft/PowerToys/releases


Update client.md

Fixed small syntax error on line 219 in the signout example. Added a '('

Thanks @TomAstley!


Enable prod.settings.php to be in repo

Currently one of the most vital parts of a Drupal site configuration, the settings.php file, is not versioned in the repo but only manually managed in the servers like production. Find a way to manage also production settings.php securely in the repo.

This requires db credentials and any other sensitive information to be handled in some way. Environment variables would be one way, or we could also use provisioning to provision settings.php in place with correct environment specific variables.
We already have some settings passed as environment variables (e.g. wkv_site_env), but for sensitive information they can't be passed as plain variables as there is a risk to expose those too easily.
There is also some parts of the settings.php that are environment specific, but those could be handled by for example switchblock utilizing the wkv_site_env variable.

@tharna Maybe just put the prod.settings.php in the repo without the db credentials and add an include statement in the prod.settings.php file to include the db credentials from a different file that is only present locally in the prod server?

I would really like to see only 1 settings.php used across the environments. But yes just including the credentials and other sensitive info could work. Then we could just provision that include file in place and store all the info in the ansible-vault.

1 settings.php across all environments would be even better! In local environment we could also have any required overrides in that separate include file.

settings.local.php is already commonly used for this purpose. It works for local development environments overrides and is already excluded from git. Putting that file in place in production would work.

Continuing from what @floretan said, we could just include all the configuration in one settings.php except for the database configuration and we could use the settings.local.php in production and other environments for providing the database configuration to the sites. I believe this requires some changes to how things are handled. In the build.sh world I think we have an environment prefixed settings.php which is put into place by build.sh. The future of build.sh should be considered here.

Wundermachina has branch for support of manually defined env vars for php process scope with php_env_vars dict. There is also a feature to automatically add drupal database credentials as env vars by defining php_env_vars_include_db. This will create two environment variable for each defined database in databases dict called DB_USER_[database_name] and DB_PASS_[database_name] which can be used in settings.php database configurations using getenv function.
https://github.com/wunderkraut/WunderMachina/tree/feature/PHPEnvVars

2 issues:

if we have multiple environments on same server for the same project
Passing those vars to cli too would require exposing them on system level instead of just for the php-fpm process as it is now.

We're going to try out https://github.com/vlucas/phpdotenv - there are people that include the variables into settings.php, here:
http://dev.itiden.se/2015/11/19/drupal-8-part-3-install-configure-develop-deploy/

That's a horrible option, no offense @badrange but:

Instead of including one environment specific file you are depending on yet another 3rd party dependency that you need to install and maintain.
Overhead from loading yet another class and running some variable parser and setting environment vars.
Even the creator doesn't use this in prod, so you would need another solution for prod environments anyway.

I'll test some ways to expose those env vars to cli / drush without exposing them to the whole system. Or we could just expose those globally in the first place... just would like to play it as safe as possible.
For the multiple envs in same server we could use separate fpm confs for each environment, so variables with same name could be set for each environment separately.

Same env vars are now also added to /etc/drush/drushrc.php so they are available on drush / cli context. Only thing that needs to be resolved is the multiple environments on same server issue.

We won't be running multiple environments on same server so closing this for now as the original need for this request is solved.
Feel free to open separate issue for multiple environments on single server support if needed.


Init role

Pull created by capitanFlint129 at 2022-12-09T15:15:46Z

Assignee is {'login': 'bissquit'}


Tried to train HTC model in 1 GPU, ERROR arise

Dear community I have tried train HTC model by 1 GPU 16 gb.
/mmdetection/mmdet/ops/roi_align/roi_align.py", line 30, in forward aligned)
RuntimeError: CUDA error: invalid device function
Segmentation fault (core dumped)
What is the changes in config file I should do for it work?

Please follow the Error report issue template.


Using the new stable browser exploit for 5.5.x?

https://gbatemp.net/threads/more-stable-webhack-for-5-5-2-5-5-3-released.528757/
Tested with 5.5.1 and 5.5.3, should work with 5.5.x.
This now loads a payload.elf from sd card, and using homebrew launcher 1.4 instead of 1.3.
Important:
You need to start the exploit by clicking on a link, otherwise it'll crash.

Could you also refer to the latest version of the homebrew launcher?
The guide tell the people to use 1.3, which is outdated since november 2016. It's missing features (the whole rpx loading) and is not compatible with certain homebrew apps.

https://github.com/hacks-guide/Guide_WiiU/commit/bacf0844767e65e1ba423bf47888842fa35341fd


☑ [Task List] - Deployment policy

Start Date
07/02/2023
Overview
Deployment Policy
In order to deliver a deployment of the Project Origin Registry we need to clarify how we will tackle the following challenges:
To Do

[ ] What are the rules of deployment
[ ] How will we log interactions with the registry
[ ] How will we do network segmentation
[ ] etc

Comments/Unresolved questions
We would love input and expand on these policies from the implementation team from @duizer, @ckr123 etc. I know that @guidmaster is excellent at asking the right questions in this regard.

This has more to do with the governance around hosting of a setup, and not something to do with the registry implementation


[bug] bot failing on PR

https://github.com/ethereum/EIPs/pull/4198

this doesn't seem to be a major, widespread, or reproducible error


docs: https://help.apinto.com/docs/quick/arrange.html  is 404

Current State
The documention for build guide is 404.
https://help.apinto.com/docs/quick/arrange.html
Desired State
Could you please give a build guide?

Sorry, dashboard went online a few days ago. The tutorial website was upgraded synchronously.
The new address is https://help.apinto.com/docs/apinto/quick/arrange

Got it.


Allow directive trivia in parameter list

Fixes #1623
SA1114 and SA1115 have been adapted for this.
I purposely implemented the smallest fix possible for this, as I'm not certain that we want the same changes for all cases handled by the analyzers. Both analyzers now only support directive trivia in parameters lists of all types of method declarations.

Current coverage is 79.37%

Merging #1653 into master will increase coverage by +0.06% as of bc3102e

@@            master   #1653   diff @@
======================================
  Files          539     539
  Stmts        32097   32106     +9
  Branches      8928    8931     +3
  Methods
======================================
+ Hit          25458   25484    +26
- Partial       5181    5184     +3
+ Missed        1458    1438    -20

Review entire Coverage Diff as of bc3102e

Powered by Codecov. Updated on successful CI builds.

:+1:


Add request parameter to jwt_decode_handler (fixes #243)

Currently only the jwt_token is passed to the jwt_decode_handler. This pull request adds the request parameter if jwt_decode_handler throws a TypeError while being called with only one parameter (which happens if jwt_decode_handler takes more than one parameter).

I like the idea of passing in request, but there might be a better way to support both function signatures?!
Also: needs to be rebased.

Thanks for considering my pull request. I've rebased it with the latest master. I also changed the signature check method from catching the TypeError exception to actually inspecting the code object to see how many args it takes.
I initially wrote it to support both signature because I'm sensitive to the fact that it's a breaking change. But it's probably best to pass requests as a keyword argument and take the breaking change.

I may reopen this once I get legal ok from my employer.


Update binding-value-converters.md

doc: binding-value-converters
fix small grammar error

Awesome. Thanks!


The terminal process failed to launch when I reopen VSCode after using Command+Q to quit VSCode

create a directory at path: /Users/ma/本地/demo_project.(contains Chinese component)
open the directory by VSCode.
open a new terminal from top menu: Terminal - New Terminal. and terminal window automatically goes to path (demo_project).
use Command + Q shortcut to quit VSCode completely.
reopen VSCode from mac dock icon. and VSCode shows error: The terminal process failed to launch: Starting directory (cwd) "/Users/ma/\xe6\x9c\xac\xe5\x9c\xb0/demo_project" does not exist.
when the path in step1 does not contain Chinese(like /Users/ma/local/demo_project.), no error shows. the error only shows when the path contains Chinese.

create a directory at path: /Users/ma/本地/demo_project.(contains Chinese component)
open the directory by VSCode.
open a new terminal from top menu: Terminal - New Terminal. and terminal window automatically goes to path (demo_project).
use Command + Q shortcut to quit VSCode completely.
reopen VSCode from mac dock icon. and VSCode shows error: The terminal process failed to launch: Starting directory (cwd) "/Users/ma/\xe6\x9c\xac\xe5\x9c\xb0/demo_project" does not exist.
when the path in step1 does not contain Chinese(like /Users/ma/local/demo_project.), no error shows. the error only shows when the path contains Chinese.

To verifier: When testing make sure shell integration is off


Add ICE transport and SCTP transport stats + update testify

bytes received, bytes sent

Codecov Report

Merging #800 into master will increase coverage by 0.22%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #800      +/-   ##
==========================================
+ Coverage   75.81%   76.03%   +0.22%
==========================================
  Files          59       59
  Lines        4217     4248      +31
==========================================
+ Hits         3197     3230      +33
+ Misses        751      748       -3
- Partials      269      270       +1

Impacted Files
Coverage Δ

sctptransport.go
75.62% <100%> (+2.15%)
:arrow_up:

peerconnection.go
72.74% <100%> (+0.12%)
:arrow_up:

icetransport.go
77.62% <100%> (+2.23%)
:arrow_up:

dtlstransport.go
68.02% <0%> (+1.16%)
:arrow_up:

Continue to review full report at Codecov.

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


increase notion WF version

Description
FYI @philipperolet  not sure why it took so long to cause issues but we forgot to bump the WF version last time when you moved parents update at the end
Risk

Deploy Plan

Ouch sorry about that. Thanks a lot  for fixing 🙏


Porcupine SDK for flutter

Feature request: Porcupine SDK for flutter

That would be highly appreciated on our site. Considering the recent adoption of Flutter this could be interesting for a growing developer base. We are happy to assist. :v:

Hey @beevelop - good news, I'm currently working on Flutter SDKs for all of our core products here at Picovoice! I've created a plugin called flutter-voice-processor to deliver us native audio and am working over on a flutter branch of Porcupine on the SDK. Our plan is to have Flutter SDKs available in the next couple weeks. Feel free to browse the code and let me know your thoughts!

@beevelop @praharshbhatt Porcupine Flutter SDK and demo are officially out!
If you have any feedback, feel free to open a new issue to discuss it.


Cannot find module '../build/Release/binding.node'

Hi, I tried to make this command to track communications of a connected object. And I have this mistake that I can't solve.
sudo node advertise.js -a devices/b4994c5f9e2d_AL-Bc7.adv.json -s devices/b4994c5f9e2d.srv.json
module.js:549
throw err;
^
Error: Cannot find module '../build/Release/binding.node'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object. (/home/ludovic/node_modules/gattacker/node_modules/bluetooth-hci-socket/lib/native.js:3:15)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)

It sounds like something isn't built correctly. I'd remove node_modules in your project and run npm install again. If you still get error, please provide more info about the node version, os, architecture etc.

I am also facing the same issue. Tried reinstalling everything.
I am on arch I installed every bluez package. Arch is absent from nobel's readme file. Adding dependencies for Arch would be helpful.

@ujj-u we need more details. My guess is bluetooth-hci-socket failed to compile. Make sure your system has all the dependencies. In addition to bluez you usually need libudev-dev, python2.7, make, gcc. I don't know anything about Arch but if you make suggestions, we can get the docs updated.
See if you can build bluetooth-hci-socket. I recommend using Node 8.x.
cd ~
git clone https://github.com/noble/node-bluetooth-hci-socket
cd node-bluetooth-hci-socket
npm install

If that works, try and build noble
cd ~
git clone https://github.com/noble/noble
cd noble
npm install
cd examples/
sudo node advertisement-discovery.js

I managed to install, my node version was not the same as the nodejs version

For anyone who needs a solution. Looks like the bindings.node can be just simply pasted where the program looks for it. Eg. use strace YOUR_COMMAND and check which folder is it being searching in.
Then
git clone https://github.com/noble/node-bluetooth-hci-socket.git
mkdir -p /root/YOUR_PROGRAM/node_modules/noble/node_modules/bluetooth-hci-socket/build/Release
cp /root/node-bluetooth-hci-socket/build/Release/binding.node /root/YOUR_PROGRAM/node_modules/noble/node_modules/bluetooth-hci-socket/build/Release/

@ujj-u we need more details. My guess is bluetooth-hci-socket failed to compile. Make sure your system has all the dependencies. In addition to bluez you usually need libudev-dev, python2.7, make, gcc. I don't know anything about Arch but if you make suggestions, we can get the docs updated.
See if you can build bluetooth-hci-socket. I recommend using Node 8.x.
cd ~
git clone https://github.com/noble/node-bluetooth-hci-socket
cd node-bluetooth-hci-socket
npm install

If that works, try and build noble
cd ~
git clone https://github.com/noble/noble
cd noble
npm install
cd examples/
sudo node advertisement-discovery.js

Don, when I issed npm install for node-bluetooth-hci-socket project it gives error of 'platform unsupported'. Is macos not supported.
npm ERR! notsup Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"linux,android,freebsd,win32","arch":"any"} (current: {"os":"darwin","arch":"x64"})
Between I am trying to setup noble but gives me below error. Please advise.
module.js:549
    throw err;
    ^

Error: Cannot find module './build/Release/binding.node'
    at Function.Module._resolveFilename (module.js:547:15)
    at Function.Module._load (module.js:474:25)
    at Module.require (module.js:596:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/Users/Meet/Front-workspace/startupnode/node_modules/xpc-connection/index.js:3:15)
    at Module._compile (module.js:652:30)
    at Object.Module._extensions..js (module.js:663:10)
    at Module.load (module.js:565:32)
    at tryModuleLoad (module.js:505:12)
    at Function.Module._load (module.js:497:3)

Having the same issue (with almost the same specs) as @sumitjaju
node -v: v12.12.0
OS: OS X Mojave 10.14

Replacing the line in the .cpp worked for me, or you can replace the whole folder
https://github.com/abandonware/node-bluetooth-hci-socket/commit/9b9e9753a6e676754a851369f723c1bbcf7783c6

Same issue for v12.20.0 trying to get https://github.com/tralamazza/nus_console running.

I have a similar looking error on an M1 Mac with node 16.15.0.
Installing fails with:
paul@KekBook noble-messing % yarn add noble
yarn add v1.22.18
warning package.json: No license field
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
warning No license field
[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
[3/4] 🔗  Linking dependencies...
[4/4] 🔨  Building fresh packages...
warning Error running install script for optional dependency: "/Users/paul/Documents/JawboneHacking/noble-messing/node_modules/xpc-connection: Command failed.
Exit code: 1
Command: node-gyp rebuild
Arguments:
Directory: /Users/paul/Documents/JawboneHacking/noble-messing/node_modules/xpc-connection
Output:
gyp info it worked if it ends with ok
gyp info using<EMAIL_ADDRESS>gyp info using<EMAIL_ADDRESS>| darwin | arm64
gyp info find Python using Python version 3.8.9 found at \"/Library/Developer/CommandLineTools/usr/bin/python3\"
gyp info spawn /Library/Developer/CommandLineTools/usr/bin/python3
gyp info spawn args [
gyp info spawn args   '/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args   'binding.gyp',
gyp info spawn args   '-f',
gyp info spawn args   'make',
gyp info spawn args   '-I',
gyp info spawn args   '/Users/paul/Documents/JawboneHacking/noble-messing/node_modules/xpc-connection/build/config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/Users/paul/Library/Caches/node-gyp/16.15.0/include/node/common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args   '-Dnode_root_dir=/Users/paul/Library/Caches/node-gyp/16.15.0',
gyp info spawn args   '-Dnode_gyp_dir=/usr/local/lib/node_modules/npm/node_modules/node-gyp',
gyp info spawn args   '-Dnode_lib_file=/Users/paul/Library/Caches/node-gyp/16.15.0/<(target_arch)/node.lib',
gyp info spawn args   '-Dmodule_root_dir=/Users/paul/Documents/JawboneHacking/noble-messing/node_modules/xpc-connection',
gyp info spawn args   '-Dnode_engine=v8',
gyp info spawn args   '--depth=.',
gyp info spawn args   '--no-parallel',
gyp info spawn args   '--generator-output',
gyp info spawn args   'build',
gyp info spawn args   '-Goutput_dir=.'
gyp info spawn args ]
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
  CXX(target) Release/obj.target/binding/src/XpcConnection.o
../src/XpcConnection.cpp:26:77: error: too few arguments to function call, single argument 'context' was not specified
  target->Set(Nan::New(\"XpcConnection\").ToLocalChecked(), tmpl->GetFunction());
                                                          ~~~~~~~~~~~~~~~~~ ^
/Users/paul/Library/Caches/node-gyp/16.15.0/include/node/v8.h:6802:46: note: 'GetFunction' declared here
  V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
                                             ^
../src/XpcConnection.cpp:26:11: error: no matching member function for call to 'Set'
  target->Set(Nan::New(\"XpcConnection\").ToLocalChecked(), tmpl->GetFunction());
  ~~~~~~~~^~~
/Users/paul/Library/Caches/node-gyp/16.15.0/include/node/v8.h:3961:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
  V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                    ^
/Users/paul/Library/Caches/node-gyp/16.15.0/include/node/v8.h:3964:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
  V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
                                    ^
../src/XpcConnection.cpp:103:54: error: too few arguments to function call, single argument 'context' was not specified
    xpcObject = xpc_int64_create(value->IntegerValue());
                                 ~~~~~~~~~~~~~~~~~~~ ^
/Users/paul/Library/Caches/node-gyp/16.15.0/include/node/v8.h:3101:40: note: 'IntegerValue' declared here
  V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
                                       ^
../src/XpcConnection.cpp:103:17: error: no matching function for call to 'xpc_int64_create'
    xpcObject = xpc_int64_create(value->IntegerValue());
                ^~~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/xpc/xpc.h:591:1: note: candidate function not viable: no known conversion from 'Maybe<int64_t>' (aka 'Maybe<long long>') to 'int64_t' (aka 'long long') for 1st argument
xpc_int64_create(int64_t value);
^
../src/XpcConnection.cpp:113:49: error: too few arguments to function call, single argument 'context' was not specified
    Local<Object> valueObject = value->ToObject();
                                ~~~~~~~~~~~~~~~ ^
/Users/paul/Library/Caches/node-gyp/16.15.0/include/node/v8.h:3060:44: note: 'ToObject' declared here
  V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
                                           ^
../src/XpcConnection.cpp:113:19: error: no viable conversion from 'MaybeLocal<v8::Object>' to 'Local<v8::Object>'
    Local<Object> valueObject = value->ToObject();
                  ^             ~~~~~~~~~~~~~~~~~
/Users/paul/Library/Caches/node-gyp/16.15.0/include/node/v8.h:200:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'MaybeLocal<v8::Object>' to 'const v8::Local<v8::Object> &' for 1st argument
class Local {
      ^
/Users/paul/Library/Caches/node-gyp/16.15.0/include/node/v8.h:200:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'MaybeLocal<v8::Object>' to 'v8::Local<v8::Object> &&' for 1st argument
/Users/paul/Library/Caches/node-gyp/16.15.0/include/node/v8.h:204:13: note: candidate template ignored: could not match 'Local' against 'MaybeLocal'
  V8_INLINE Local(Local<S> that)
            ^
/Users/paul/Library/Caches/node-gyp/16.15.0/include/node/v8.h:348:22: note: explicit constructor is not a candidate
  explicit V8_INLINE Local(T* that) : val_(that) {}
                     ^
../src/XpcConnection.cpp:115:78: error: too few arguments to function call, expected 2, have 1
    if (valueObject->HasRealNamedProperty(Nan::New(\"isUuid\").ToLocalChecked())) {
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                    ^
/Users/paul/Library/Caches/node-gyp/16.15.0/include/node/v8.h:4250:37: note: 'HasRealNamedProperty' declared here
  V8_WARN_UNUSED_RESULT Maybe<bool> HasRealNamedProperty(Local<Context> context,
                                    ^
../src/XpcConnection.cpp:115:9: error: value of type 'Maybe<bool>' is not contextually convertible to 'bool'
    if (valueObject->HasRealNamedProperty(Nan::New(\"isUuid\").ToLocalChecked())) {
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/XpcConnection.cpp:123:49: error: too few arguments to function call, single argument 'context' was not specified
    Local<Object> valueObject = value->ToObject();
                                ~~~~~~~~~~~~~~~ ^
/Users/paul/Library/Caches/node-gyp/16.15.0/include/node/v8.h:3060:44: note: 'ToObject' declared here
  V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
                                           ^
../src/XpcConnection.cpp:123:19: error: no viable conversion from 'MaybeLocal<v8::Object>' to 'Local<v8::Object>'
    Local<Object> valueObject = value->ToObject();
                  ^             ~~~~~~~~~~~~~~~~~
/Users/paul/Library/Caches/node-gyp/16.15.0/include/node/v8.h:200:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'MaybeLocal<v8::Object>' to 'const v8::Local<v8::Object> &' for 1st argument
class Local {
      ^
/Users/paul/Library/Caches/node-gyp/16.15.0/include/node/v8.h:200:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'MaybeLocal<v8::Object>' to 'v8::Local<v8::Object> &&' for 1st argument
/Users/paul/Library/Caches/node-gyp/16.15.0/include/node/v8.h:204:13: note: candidate template ignored: could not match 'Local' against 'MaybeLocal'
  V8_INLINE Local(Local<S> that)
            ^
/Users/paul/Library/Caches/node-gyp/16.15.0/include/node/v8.h:348:22: note: explicit constructor is not a candidate
  explicit V8_INLINE Local(T* that) : val_(that) {}
                     ^
../src/XpcConnection.cpp:135:40: error: no matching member function for call to 'GetPropertyNames'
  Local<Array> propertyNames = object->GetPropertyNames();
                               ~~~~~~~~^~~~~~~~~~~~~~~~
/Users/paul/Library/Caches/node-gyp/16.15.0/include/node/v8.h:4115:43: note: candidate function not viable: requires single argument 'context', but no arguments were provided
  V8_WARN_UNUSED_RESULT MaybeLocal<Array> GetPropertyNames(
                                          ^
/Users/paul/Library/Caches/node-gyp/16.15.0/include/node/v8.h:4117:43: note: candidate function not viable: requires at least 4 arguments, but 0 were provided
  V8_WARN_UNUSED_RESULT MaybeLocal<Array> GetPropertyNames(
                                          ^
../src/XpcConnection.cpp:138:48: error: no matching member function for call to 'Get'
    Local<Value> propertyName = propertyNames->Get(i);
                                ~~~~~~~~~~~~~~~^~~
/Users/paul/Library/Caches/node-gyp/16.15.0/include/node/v8.h:4007:43: note: candidate function not viable: requires 2 arguments, but 1 was provided
  V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
                                          ^
/Users/paul/Library/Caches/node-gyp/16.15.0/include/node/v8.h:4010:43: note: candidate function not viable: requires 2 arguments, but 1 was provided
  V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
                                          ^
../src/XpcConnection.cpp:143:88: error: too few arguments to function call, single argument 'context' was not specified
      Local<Value> propertyValue = object->GetRealNamedProperty(propertyName->ToString());
                                                                ~~~~~~~~~~~~~~~~~~~~~~ ^
/Users/paul/Library/Caches/node-gyp/16.15.0/include/node/v8.h:3048:44: note: 'ToString' declared here
  V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
                                           ^
../src/XpcConnection.cpp:143:89: error: too few arguments to function call, expected 2, have 1
      Local<Value> propertyValue = object->GetRealNamedProperty(propertyName->ToString());
                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~                         ^
/Users/paul/Library/Caches/node-gyp/16.15.0/include/node/v8.h:4278:43: note: 'GetRealNamedProperty' declared here
  V8_WARN_UNUSED_RESULT MaybeLocal<Value> GetRealNamedProperty(
                                          ^
../src/XpcConnection.cpp:143:20: error: no viable conversion from 'MaybeLocal<v8::Value>' to 'Local<v8::Value>'
      Local<Value> propertyValue = object->GetRealNamedProperty(propertyName->ToString());
                   ^               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/paul/Library/Caches/node-gyp/16.15.0/include/node/v8.h:200:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'MaybeLocal<v8::Value>' to 'const v8::Local<v8::Value> &' for 1st argument
class Local {
      ^
/Users/paul/Library/Caches/node-gyp/16.15.0/include/node/v8.h:200:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'MaybeLocal<v8::Value>' to 'v8::Local<v8::Value> &&' for 1st argument
/Users/paul/Library/Caches/node-gyp/16.15.0/include/node/v8.h:204:13: note: candidate template ignored: could not match 'Local' against 'MaybeLocal'
  V8_INLINE Local(Local<S> that)
            ^
/Users/paul/Library/Caches/node-gyp/16.15.0/include/node/v8.h:348:22: note: explicit constructor is not a candidate
  explicit V8_INLINE Local(T* that) : val_(that) {}
                     ^
../src/XpcConnection.cpp:160:33: error: no matching member function for call to 'Get'
    Local<Value> value = array->Get(i);
                         ~~~~~~~^~~
/Users/paul/Library/Caches/node-gyp/16.15.0/include/node/v8.h:4007:43: note: candidate function not viable: requires 2 arguments, but 1 was provided
  V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
                                          ^
/Users/paul/Library/Caches/node-gyp/16.15.0/include/node/v8.h:4010:43: note: candidate function not viable: requires 2 arguments, but 1 was provided
  V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
                                          ^
../src/XpcConnection.cpp:200:13: error: no matching member function for call to 'Set'
    object->Set(Nan::New<String>(key).ToLocalChecked(), XpcConnection::XpcObjectToValue(value));
    ~~~~~~~~^~~
/Users/paul/Library/Caches/node-gyp/16.15.0/include/node/v8.h:3961:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
  V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                    ^
/Users/paul/Library/Caches/node-gyp/16.15.0/include/node/v8.h:3964:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
  V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
                                    ^
../src/XpcConnection.cpp:212:12: error: no matching member function for call to 'Set'
    array->Set(Nan::New<Number>(index), XpcConnection::XpcObjectToValue(value));
    ~~~~~~~^~~
/Users/paul/Library/Caches/node-gyp/16.15.0/include/node/v8.h:3961:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
  V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                    ^
/Users/paul/Library/Caches/node-gyp/16.15.0/include/node/v8.h:3964:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
  V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
                                    ^
../src/XpcConnection.cpp:254:12: warning: 'MakeCallback' is deprecated [-Wdeprecated-declarations]
      Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New(\"emit\").ToLocalChecked(), 2, argv);
           ^
../../nan/nan.h:1049:3: note: 'MakeCallback' has been explicitly marked deprecated here
  NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
  ^
../../nan/nan.h:108:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
                                       ^
../src/XpcConnection.cpp:263:12: warning: 'MakeCallback' is deprecated [-Wdeprecated-declarations]
      Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New(\"emit\").ToLocalChecked(), 2, argv);
           ^
../../nan/nan.h:1049:3: note: 'MakeCallback' has been explicitly marked deprecated here
  NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
  ^
../../nan/nan.h:108:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
                                       ^
2 warnings and 18 errors generated.
make: *** [Release/obj.target/binding/src/XpcConnection.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (node:events:527:28)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)
gyp ERR! System Darwin 21.4.0
gyp ERR! command \"/usr/local/bin/node\" \"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"rebuild\"
gyp ERR! cwd /Users/paul/Documents/JawboneHacking/noble-messing/node_modules/xpc-connection
gyp ERR! node -v v16.15.0
gyp ERR! node-gyp -v v9.0.0
gyp ERR! not ok"
info This module is OPTIONAL, you can safely ignore this error
warning No license field
success Saved 1 new dependency.
info Direct dependencies
└─<EMAIL_ADDRESS>info All dependencies
└─<EMAIL_ADDRESS>✨  Done in 2.04s.

... then, when running, it fails with:
paul@KekBook noble-messing % node main.ts
node:internal/modules/cjs/loader:936
  throw err;
  ^

Error: Cannot find module 'xpc-connection'
Require stack:
- /Users/paul/Documents/JawboneHacking/noble-messing/node_modules/noble/lib/mac/highsierra.js
- /Users/paul/Documents/JawboneHacking/noble-messing/node_modules/noble/lib/mac/bindings.js
- /Users/paul/Documents/JawboneHacking/noble-messing/node_modules/noble/lib/resolve-bindings.js
- /Users/paul/Documents/JawboneHacking/noble-messing/node_modules/noble/index.js
- /Users/paul/Documents/JawboneHacking/noble-messing/main.ts
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
    at Function.Module._load (node:internal/modules/cjs/loader:778:27)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object.<anonymous> (/Users/paul/Documents/JawboneHacking/noble-messing/node_modules/noble/lib/mac/highsierra.js:7:21)
    at Module._compile (node:internal/modules/cjs/loader:1105:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Module.require (node:internal/modules/cjs/loader:1005:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/Users/paul/Documents/JawboneHacking/noble-messing/node_modules/noble/lib/mac/highsierra.js',
    '/Users/paul/Documents/JawboneHacking/noble-messing/node_modules/noble/lib/mac/bindings.js',
    '/Users/paul/Documents/JawboneHacking/noble-messing/node_modules/noble/lib/resolve-bindings.js',
    '/Users/paul/Documents/JawboneHacking/noble-messing/node_modules/noble/index.js',
    '/Users/paul/Documents/JawboneHacking/noble-messing/main.ts'
  ]
}

Interestingly installation using npm only shows the node-gyp error when installing xpc-connection explicitly. The runtime error is the same.

I still have this, on osX (the above module doesn't work for osX)


Add routing middleware

Part of https://github.com/spec-first/connexion/issues/1489
This PR adds a routing middleware, which adds the connexion operation to the scope passed to the next middlewares.
The middleware is implemented with a starlette router on which the api endpoints are registered.

Some more context forpossible issues of subclassing starlette.BaseHTTPMiddleware: https://github.com/encode/starlette/issues/1029

Thanks for the additional context @Ruwann, I was indeed already running into some of these issues.
I was able to refactor and simplify the approach of the routing middleware, and I removed our own BaseHTTPMiddleware.
Note that there's some quick fixes in this PR that I still want to tackle later. Right now, I'm trying to extract all functionality into middleware with minimal effort via maximal reuse of existing connexion code (like the Api and Operation classes), and  maximal usage of Starlette tools.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

146 of 153 (95.42%)  changed or added relevant lines in 11 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.01%) to 93.29%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

connexion/apis/abstract.py
45
46
97.83%

connexion/exceptions.py
3
4
75.0%

connexion/middleware/exceptions.py
12
14
85.71%

connexion/middleware/routing.py
70
73
95.89%

Totals

Change from base Build<PHONE_NUMBER>:
-0.01%

Covered Lines:
2711

Relevant Lines:
2906

💛  - Coveralls

Is this one good to go @Ruwann?


[UPDATE] Enhancing the UI of Login page

Hello, I am Mahima Churi, a proud contributor of GSSoc ' 23.
I would like to work on this project, by enhancing the UI of the Login page.
Things I would be working on:
📌Linking Login and Sign Up page so that the User can be directly directed to the login page
📌Enhancing the UI of the Login Page
📌Making the Login with social icons clickable
If you think it is legit then do assign me the issue under GSSoC '23 with the level of the PR as well

Hi Mahima Churi,
Thank you for expressing your interest in contributing to the project and outlining the specific enhancements you would like to work on for the Login page. Your proposed tasks, including linking the Login and Sign Up pages, enhancing the UI, and making the social icons clickable, sound like valuable improvements that can enhance the user experience.
Considering your enthusiasm and commitment, I would be happy to assign you the issue under GSSoC '23. I appreciate your dedication to the project and your willingness to contribute.
I will assign you the issue with an appropriate level of PR, and you can proceed with the implementation of the enhancements. If you have any questions or need any further information, please feel free to ask. Good luck with your contribution, and thank you for being a part of GSSoC '23!
Best regards,
@thestarsahil

Thankyou so much, also as currently my exams are going on I would be working from the first week of June is that okay??

 I understand that you have exams going on, and it's perfectly fine to start working from the first week of June. Your availability and commitment to the project are important, so take the time you need to focus on your exams and perform well.  If you have any specific concerns or requirements regarding your schedule, feel free to communicate them with the project team. Good luck with your exams, and I look forward to your contributions in June!


Yeoman Hubot Installation failed and yo doctor gives error

Hi,
I was using yeoman to install the Hubot and I have received below errors
Machine is redhat linux and kernel version 3.10.0-327.el7.x86_64
[root@ip-10-124-64-90 ~]# npm install -g yo
npm WARN deprecated<EMAIL_ADDRESS>this package has been reintegrated into npm and is now out of date with respect to npm
/bin/yo -> /lib/node_modules/yo/lib/cli.js
/bin/yo-complete -> /lib/node_modules/yo/lib/completion/index.js

><EMAIL_ADDRESS>postinstall /lib/node_modules/yo/node_modules/spawn-sync
> node postinstall

Installing native dependencies (this may take up to a minute)

><EMAIL_ADDRESS>postinstall /lib/node_modules/yo
> yodoctor

Yeoman Doctor
Running sanity checks on your system

✔ No .bowerrc file in home directory
✔ Global configuration file is valid
✔ NODE_PATH matches the npm root
✖ Node.js version

So When I tried to update the Node.Js I received  it is already the latest package
[root@ip-10-124-64-90 ~]#
[root@ip-10-124-64-90 ~]# node -v
v0.10.46
[root@ip-10-124-64-90 ~]# npm -v
3.10.6
[root@ip-10-124-64-90 ~]#
[root@ip-10-124-64-90 ~]#
[root@ip-10-124-64-90 ~]#
[root@ip-10-124-64-90 ~]# yum install nodejs
Loaded plugins: amazon-id, rhui-lb, search-disabled-repos
Package nodejs-0.10.46-1nodesource.el7.centos.x86_64 already installed and latest version
Nothing to do
[root@ip-10-124-64-90 ~]#
[root@ip-10-124-64-90 ~]#

When I wanted to check it with the yo doctor I faced below issue
[root@ip-10-124-64-90 ~]# yo doctor
Native thread-sleep not available.
This will result in much slower performance, but it will still work.
You should re-install spawn-sync or upgrade to the lastest version of node if possible.
Check /usr/lib/node_modules/yo/node_modules/spawn-sync/error.log for more details

Error: EACCES, permission denied '/root/.config/configstore/insight-yo.json.2705457532'
You don't have access to this file

These are the error messages in the spawn-sync error.log
[root@ip-10-124-64-90 ~]# cat /usr/lib/node_modules/yo/node_modules/spawn-sync/error.log
Error: EACCES, permission denied '/usr/lib/node_modules/yo/node_modules/spawn-sync/package.json'
    at Object.fs.openSync (fs.js:439:18)
    at Object.fs.writeFileSync (fs.js:978:15)
    at Object.<anonymous> (/usr/lib/node_modules/yo/node_modules/spawn-sync/postinstall.js:28:8)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Function.Module.runMain (module.js:497:10)
    at startup (node.js:119:16)
    at node.js:945:3[root@ip-10-124-64-90 ~]#

When I check the permission for the package.json file it was already there.
[root@ip-10-124-64-90 ~]# ls -lthr /usr/lib/node_modules/yo/node_modules/spawn-sync/package.json
-rw-r--r--. 1 root root 2.4K Sep  7 19:29 /usr/lib/node_modules/yo/node_modules/spawn-sync/package.json
[root@ip-10-124-64-90 ~]#

Kindly help me to debug this issue.
So incase you were wondering to install the v12 verion of the Node.js it is not supported for RHEL kernel
[root@ip-10-124-64-90 ~]# curl -sL https://rpm.nodesource.com/setup_0.12 | bash -

## Installing the NodeSource Node.js v0.12 repo...

## Inspecting system...

+ rpm -q --whatprovides redhat-release || rpm -q --whatprovides centos-release || rpm -q --whatprovides cloudlinux-release || rpm -q --whatprovides sl-release
+ uname -m

## Confirming "el7-x86_64" is supported...

+ curl -sLf -o /dev/null 'https://rpm.nodesource.com/pub_0.12/el/7/x86_64/nodesource-release-el7-1.noarch.rpm'

## Your distribution, identified as "redhat-release-server-7.2-9.el7.x86_64", is not currently supported, please contact NodeSource at https://github.com/nodesource/distributions/issues if you think this is incorrect or would like your distribution to be considered for support

[root@ip-10-124-64-90 ~]#

Hi, can you start by reading the error message before asking for help?
I think the error message give you plenty of information to start searching for fixes.


Refactor omPriorVerify.py into tests

Description

[x] Remove omPriorVerify.py call from omPrior.py
[x] Refactor tests from omPriorVerify.py in test suite - see tests 005 and 006
[x] Combine all tests in one module
[x] Add a fixtures that downloads input files
[x] Add a fixture that runs the whole process and references the input files fixture
[x] Fix CI
[x] Add a time out for the tests (currently at 10 min)

Checklist
Please confirm that this pull request has done the following:

[x] Tests added
[x] Documentation added (where applicable)

Notes

I'm worried about hard coding a 10km test since subdomains will be
finer resolution
Peter Rayner (he/him)
My work days are Monday-Thursday, responses at other times might be slow.
The Superpower Institute https://www.superpowerinstitute.com.au/
Level 3 105 Victoria St. Fitzroy 3065
Transparent, actionable and auditable data on Australia's methane emissions https://openmethane.org
mobile +61 402 752 379
zoom id<PHONE_NUMBER>, join at  https://unimelb.zoom.us/j/4431343191?pwd=a1E5Z3JEOTRVQUJsaVdRbVUvR1QyZz09
mail-to: @.***
google scholar: https://scholar.google.com.au/citations?user=H3up71wAAAAJ&hl=en
I acknowledge the Traditional Custodians of the land on which I work, the Wurundjeri people of the Kulin nation, and pay my respect to their Elders, past and present
I am sending this email when convenient for me, please only respond when convenient for you

I'm worried about hard coding a 10km test since subdomains will be
finer resolution

@prayner In this case we are testing that the example domain that is checked into the repo is consistent. These tests aren't run for every new domain (maybe they should eventually)


Discussion: remove Custom Title Bar

My plan now is to remove the Custom Title Bar feature of Template 10 because it basically caters to the Windows Phone. I realize it is NOT in the Mobile Extension SDK, but still, can anyone argue to leave it?

Nope, no argument here. I am not really concerned with windows mobile now, moved to over to android recently but uwp is still a focus for development. Don't think I really used it any way with mobile site.

Wouldn't a Custom Title Bar be useful for handling changing the windowing title bar?  The bits that change the Status Bar colours, could be deprecated, but not removed.  Its not as if the API surface will change much.  And who knows what Windowing and Shell changes will come to cShell which this control could be useful for?

While I agree that cShell will probably bring changes are,  we actually sure that MS will attempt another push into 'mobile' again, that won't fail, the guy/gal above knows that  I wanted Windows Mobile (Phone) to succeed.
Unfortunately,  over the many iterations from windows phone 7 (att focus), being an early adopter from windows mobile 6.5, to what it's not now, future proofing a control for something we have no evidence of said device appearing.
At least not any indications past rs2_feature branch the directions would take since this branch is effectively the last for the 950's at least that is my guess.  That anything past this would not be supported. Loved my 950xl but eco-system is nothing compared to play store, when was the last time you saw a new product have windows in their mobile cycle

I might write a service to handle it, optional, external.

Doing it as a control could allow you to place it onto the page, where it contains the TextBlock that can act as the title, host a back button, become the hit-target for a customised TitleBar, and calculate and set it's own height based on the value the API puts out.
I can understand if it no longer includes the mobile Status Bar elements like colours, control of the progress bar, and text element, as well as setting itself as the occluded rectangle height to ensure elements on the page do not appear beneath it.  As mobile is essentially dead.
A use case would be to enable an app to use a background fluent Acrylic brush, extend into the TitleBar area, so it too uses Acrylic - but still have the back button, and window title label.  Without having the dev do it in code.


HOSTEDCP-1609: Support configuring Azure diagnostics via CLI flags

This is to facilitate automation which requires creating an HC/NP with Azure diagnostics enabled.

/cherry-pick release-4.17

/retest-required

/test e2e-aws

/cc @Patryk-Stefanski

/approve

kubevirt will be blocked until https://github.com/openshift/hypershift/pull/4530

/retest-required

/lgtm

/retest-required

/retest-required

/retest-required


Update status messaging for printcolumns

Reduce and combine the number of reasons
change the column labels shown in oc get...
update the readme

Signed-off-by: Joshua Packer<EMAIL_ADDRESS>

/cc @ianzhang366 @zhujian7

This was included in another merge, so it can be closed.


Multiple database support

public function switchDatabase(??? $database): void;

I think this method should instantiate a new DriverInterface instance instead of changing the internal PDO object state.
Consider the situation where multiple high-level classes depend on the same PDODriver instance, which was injected at the entry-point.
Changing database in one of those high-level classes will change database everywhere, because objects are always passed-by-reference. This will introduce an unexpected behavior.
However, this behavior cannot be achieved easily in current PDODriver state, because database name is a part of DSN, which is a string. The only way to implement this switchDatabase() method is to make DSN value object. Then we could re-use this DSN to make a new PDO connection inside DriverInterface::switchDatabase() method and return a new DriverInterface instance.

Then we could re-use this DSN to make a new PDO connection inside DriverInterface::switchDatabase()

We'd also need to store the username and password if we're attempting to reconnect. I was personally thinking of having DriverCollection since it seems wrong to have the Driver deal with juggling two connections
interface DriverCollection {
   public function addDriver(string $name, DriverInterface $driver): self;
   public function getDriver(string $name): ?DriverInterface;
   // etc etc
}


Scripting

Some Steps, Guards, or AutoProcessors can be scripted in CScript or JavaScript. Such that the logic can be specified in configuration, rather than add new classes and compiling the code.

C# scripting: https://github.com/dotnet/roslyn/wiki/Scripting-API-Samples


Shorten test run summary

In order to speed up simulate processing tests, is better to have a shorter run summary.

messed things up mixing branches :(


site integration is broken on Edge

OS version: windows 10
Browser version: edge
Extension version: 1.70.4

Relevant integration (if any):

custom domain: jira.dimonoff.com
it's working fine on my other PC, same versions.
🐛 Describe the bug

the integration list is empty, and add custom domain does nothing

Expected behaviour

can set integrations
Steps to reproduce

I wouln't know
Other details or context

I've deleted "%LocalAppData%\Microsoft\Edge", everything is fine now.


Cleanup BE dev in prep for future changes

This PR does not introduce functional changes.  It is in place in preparation for 2 cycle loads and compressed instructions, which require a different method for exceptions and interrupts travelling down the pipe.
Main changes:

Formalize PTW interface with ptw_miss_pkt and ptw_fill_pkt
Interrupts now happen directly in mem3 if there are no currently committing instructions
Exceptions now aggregate in the exception pipe, which will make it easier to properly handle instruction misaligned exceptions generated by the control pipe
This PR also removes the unmaintained unified CLINT, CLINT nodes, and deprecated MC link

It also boots linux.
Note, I'll hold off merging to dev until we have the two cycle loads, since there are some hacky round trip paths and arbitration needed to support the current 3 cycle load operation.  But I'm trying to break up the PR to make it easier to review (it's still substantial I realize)


[Bug] Unexpected behavior due to name duplication error

Summary
Problems that can occur when using babel-udf-helpers with multiple babel plugins

If helepr name deplicate, use this.key ?

Do you get only the initials of this.key ?

No no, helper names are adjusted so that they aren't automatically covered,
so you just have to be careful not to override them.


deprecated getCurrentPosition

Hello guys,
i have a porblem with the returned error in the getCurrentPosition function. The error code is the same that when you block the popup and when the function is deprecated. I have a problem with the https certificate because is not handled by me, and i need handle  differents cases when you block and when the function is deprecated.
Actual result:
1 - Deprecated error callback:
PositionError {code: 1, message: "Only secure origins are allowed (see: https://goo.gl/Y0ZkNV)."}
2 - Block error callback:
PositionError {code: 1, message: "User denied Geolocation"}
Expected result: Differents codes in the error object.

Will update the articles to provide guidance, but you are going to have to check the message string because iirc code:1 is still the correct code to use as per spec: https://dev.w3.org/geo/api/spec-source.html#position_error_interface.
It might be worth raising a bug on the spec to see if it is worthwhile getting a spec change and then a browser level change.

Started to document it in https://github.com/google/WebFundamentals/pull/2861

What about next line if you change language?
failure.mode.indexOf("Only secure origins are allowed") == 0

I actaully made a mistake on that, it is message.  However I don't believe
we localize those console messages.
On Tue, 26 Apr 2016 at 01:35 Andres<EMAIL_ADDRESS>wrote:

What about next line if you change language?
failure.mode.indexOf("Only secure origins are allowed") == 0
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/google/WebFundamentals/issues/2844#issuecomment-214431969

Comment was already added.


tests-ci : edac: ibecc: injection.user test failed

Describe the bug
injection.user test is failed on zephyr-v2.6.0-1858-ga9779bb2dcd3 on ehl_crb
see logs for details
To Reproduce
1.
scripts/twister --device-testing --device-serial /dev/ttyACM0 -p ehl_crb  --sub-test edac.ibecc

See error

Expected behavior
test pass
Impact
Logs and console output
[2J[01;01H[=3h[2J[01;01H[2J[01;01H[=3h[2J[01;01H
Press [Enter]  to directly boot.
Press [F2]     to enter setup and select boot options.
Press [F7]     to show boot menu options.
Press [F12]    to PXE boot.
Press [Pause]  to pause and <any key> to continue booting.
**  WARNING: Test Key is used.  **
>>Start PXE over IPv4.
Station IP address is <IP_ADDRESS>
Server IP address is <IP_ADDRESS>
NBP filename is zephyr.efi
NBP filesize is 2255535 Bytes
Downloading NBP file...
NBP file downloaded successfully.
*** Zephyr EFI Loader ***
Zeroing 11194368 bytes of memory at 0x119000
Copying 32768 data bytes to 0x1000 from image offset
Copying 102400 data bytes to 0x100000 from image offset 32768
Copying 2114120 data bytes to 0xbc6000 from image offset 135168
Jumping to Entry Point: 0x112b (48 31 c0 48 31 d2 48)
*** Booting Zephyr OS build zephyr-v2.6.0-1858-ga9779bb2dcd3  ***
Running test suite ibecc
===================================================================
START - test_ibecc_initialized
Test ibecc driver is initialized
PASS - test_ibecc_initialized in 0.4 seconds
===================================================================
START - test_ibecc_api
PASS - test_ibecc_api in 0.1 seconds
===================================================================
START - test_edac_dummy_api
PASS - test_edac_dummy_api in 0.1 seconds
===================================================================
START - test_ibecc_error_inject_api
Assertion failed at WEST_TOPDIR/zephyr/tests/subsys/edac/ibecc/src/ibecc.c:102: test_ibecc_error_inject_api: (val not equal to TEST_ADDRESS1)
Read back value differs
FAIL - test_ibecc_error_inject_api in 0.17 seconds
===================================================================
START - test_ibecc_error_inject_test_cor
Mapped 0x1000 to 0x3ffe6000
Read value 0x3ffe6000: 0x90909090
Wrote value 0xface at 0x3ffe6000
Read value 0x3ffe6000: 0xface
Assertion failed at WEST_TOPDIR/zephyr/tests/subsys/edac/ibecc/src/ibecc.c:186: test_inject: (num_int equal to 0)
Interrupt handler did not execute
FAIL - test_ibecc_error_inject_test_cor in 0.128 seconds
===================================================================
START - test_ibecc_error_inject_test_uc
Mapped 0x2000 to 0x3ffe5000
Read value 0x3ffe5000: 0x181371
Wrote value 0xface at 0x3ffe5000
Read value 0x3ffe5000: 0xface
Assertion failed at WEST_TOPDIR/zephyr/tests/subsys/edac/ibecc/src/ibecc.c:186: test_inject: (num_int equal to 0)
Interrupt handler did not execute
FAIL - test_ibecc_error_inject_test_uc in 0.128 seconds
===================================================================
Test suite ibecc failed.
===================================================================
PROJECT EXECUTION FAILED

Environment (please complete the following information):

OS: Fedora29
Toolchain (e.g Zephyr SDK): SDK12.4
Commit SHA or Version used: zephyr-v2.6.0-1858-ga9779bb2dcd3

Also fails on ehl_crb for zephyr-v2.6.0-1858-ga9779bb2dcd3


Fix it

just fix it, i know you are online. I know you are active. just fix this G O D D A M N mod

dude calm down; the devs are more than likely working on fixing it now - these things take time

No
Closed, duplicate of #34


dump resources: Corrections to dump resources help text

CI gfxreconstruct build queued with queue ID 290582.

CI gfxreconstruct build # 5231 running.


Move Face SDK to a new path

Description
Move Face SDK from ./sdk/face to ./sdk/vision
All SDK Contribution checklist:

[X] The pull request does not introduce [breaking changes]
[X] CHANGELOG is updated for new features, bug fixes or other significant changes.
[X] I have read the contribution guidelines.

General Guidelines and Best Practices

[X] Title of the pull request is clear and informative.
[X] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[X] Pull request includes test coverage for the included changes.

/azp run prepare-pipelines

/azp run java - azure-ai-vision-face - ci

/azp run prepare-pipelines


Downgrade risc0server to rc1

Downgrade risc0server image to rc1 to fix error: failed to execute instance: failed to execute risc0 instance: rpc error: code = Canceled desc = stream terminated by RST_STREAM with error code: CANCEL

I'm closing this one as per @huangzhiran update: v0.8.stark support snark too. don't need to change the version, need a env BONSAI_KEY for risc0 config


How to integrate Community Notes into other apps

Is any developer other than Twitter successfully running an instance Community Notes? It's a great product and could help the rest of the Internet.

Will close this just to clean up some old issues, but if anyone else is running an instance of Community Notes please feel free to re-open!


Within a change_and_push are uncommitted writes readable?

I observed some behavior which makes me suspect it's not the case. I don't quite understand the code, but I think it might be the case.
The question is:
Can I expect this assertion to hold?
Fs.change_and_push fs @@ fun fs ->
let* () = Fs.set fs Key.(v "hello") "Hello, World!" in
let* hello = Fs.get fs Key.(v "hello") in
assert (hello = "Hello, World!");
Lwt.return_ok ()

I suspect the read in the batch is not what you expect above, but @dinosaure will know for sure.

I think the assertion is false, change_and_push executes a closure and you can to multiple get/set. The goal is to include all set into one commit but set does not change the internal HEAD of t: we update the HEAD of the local store only at the end of change_and_push.
For instance, this code is true:
Fs.change_and_push fs begin fun fs ->
let* () = Fs.set fs Key.(v "hello") "Hello, World!" in
Lwt.return_ok () end >>? fun () ->
let* hello = Fs.get fs Key.(v "hello") in
assert (hello = "Hello, World!");

Moreover, it's even true remotely because we pushed everything at the end of change_and_push.

addressed in https://git.robur.coop/robur/git-kv/pulls/2


Publish release artifacts for v0.0.4

Description of changes:
Releasing new version v0.0.4
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

/lgtm


Reductions are broken on Xilinx FPGAs

Describe the bug
When using a reduction (either manual dace.reduce or detected e.g. np.max) dace generates incorrect FPGA code which fails to compile with the error:
/lustre/home/nx08/nx08/jquinn/dace_iterative_solvers/.dacecache/broken_reduction_sym_1/src/xilinx/device/broken_reduction_sym_0_0.cpp: In function 'void broken_reduction_sym_0_0_0(const double*, double&, int)':
/lustre/home/nx08/nx08/jquinn/dace_iterative_solvers/.dacecache/broken_reduction_sym_1/src/xilinx/device/broken_reduction_sym_0_0.cpp:40:34: error: invalid initialization of reference of type 'double*&' from expression of type 'double'
   40 |         reduce_1_0_2(&__A_in[0], __result_out, N);
      |                                  ^~~~~~~~~~~~
/lustre/home/nx08/nx08/jquinn/dace_iterative_solvers/.dacecache/broken_reduction_sym_1/src/xilinx/device/broken_reduction_sym_0_0.cpp:10:47: note: in passing argument 2 of 'void reduce_1_0_2(const double*, double*&, int)'
   10 | void reduce_1_0_2(const double* _in, double*& _out, int N) {
      |                                      ~~~~~~~~~^~~~
gmake[2]: *** [CMakeFiles/broken_reduction_sym_1.dir/lustre/home/nx08/nx08/jquinn/dace_iterative_solvers/.dacecache/broken_reduction_sym_1/src/xilinx/device/broken_reduction_sym_0_0.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/broken_reduction_sym_1.dir/all] Error 2
gmake: *** [all] Error 2

To Reproduce
Minimal example:
import dace
import numpy as np
from dace.transformation.interstate import FPGATransformSDFG

N = dace.symbol("N")

@dace.program
def broken_reduction_sym(A: dace.float64[N]):
    # result = np.min(A)
    result = dace.reduce(lambda a, b: a+b, A)

broken_reduction_sdfg = broken_reduction_sym.to_sdfg()
broken_reduction_sdfg.apply_transformations(FPGATransformSDFG)
broken_reduction = broken_reduction_sdfg.compile()

Expected behavior
Reductions should produce code that compiles.
Additional context
Dace version: 0.13.2
Vitis version: 2021.2
XRT version: 2.11.634
Python version: 3.9.7
Cmake version: 3.19.3
G++ version: 10.2.0

Need to look at this, but makes sense with the error reported above (mix between array and scalar).
Thanks @krishnakumarg1984 for the finding!

@JamieJQuinn @krishnakumarg1984 The issue should now be fixed in the latest master branch. Is it also resolved for you?

@tbennun Yes. Have tested the latest commit on master, and can confirm that the issue is now resolved for us. Thank you so much for helping to fix this.

We are happy to help, closing the issue :)


Mastering async/await in JavaScript

Title
Mastering async/await in JavaScript
Brief
Write an article walking through how to efficiently handle async/await in JavaScript or TypeScript.
Guidelines:
Content Preparation:

Document Format: Please use Google Docs for your blog post. Please make sure we have view permission to your document.
Include relevant images, gifs, or screenshots to enhance your blog's visual appeal.
Share personal experiences or insights where applicable to give your blog a unique touch.
Consider adding code samples, examples, or practical demonstrations to illustrate concepts.
We encourage you to use AI for research and reference purposes. However, please submit original, human-written content.

Plagiarism Check:
Ensure your content is original by checking it for plagiarism. You can use a plagiarism checker like QUILBOT and share a screenshot showing the plagiarism percentage (ideally 25% max).
Collaboration & Avoiding Duplicates:
Claiming an Issue: If you'd like to write about a specific blog post topic, comment on the issue with a brief outline of your planned table of contents. This helps prevent two contributors from working on similar content.
Confirmation Checklist:
[ ] You accept our Code of Conduct.
[ ] My blog post is written in Google Docs and you have view permission.
[ ] I've included relevant visuals and examples to enhance understanding.
[ ] My content is original and AI-free. I've run a plagiarism check and can share the results.
[ ] I've commented on the issue with a table of contents outline (if applicable).
Once you've completed these steps, check the boxes and feel free to submit your blog post! We appreciate your contribution to the Treblle community.

Hey, I would love to work on this. I have written one already

Hi @emee-dev,
Could you please confirm the checklist in the pinned comment for us to review your article?

Ok let me do that

Hi @emee-dev, Could you please confirm the checklist in the pinned comment for us to review your article?

Hey how can I do this, by PR ??

[x] You accept our Code of Conduct.
[x] My blog post is written in Google Docs and you have view permission.
[x] I've included relevant visuals and examples to enhance understanding.
[x] My content is original and AI-free. I've run a plagiarism check and can share the results.
[x] I've commented on the issue with a table of contents outline (if applicable).
Table of Contents

Promise
Custom Promises
Async Loops
Generator Functions
Pitfalls to avoid
Error handling
Cancellation of Asynchronous Operations
Conclusion

I have improved the article to be less AI like, for some reason Quillbot says my code snippets are AI generated
Google doc
https://docs.google.com/document/d/1WK4ho--WJk5u1v_gSy_hS65Ix9s6GRz9Ii-yUDiELZg/edit?usp=sharing

@Rahulkhinchi03 could you please have a look at this?

Hi @emee-dev,
Your article is great!
Could you please also add:  difference between promise.all and promise.allSettled?

Hi @emee-dev,
Your article is great!
Could you please also add:  difference between promise.all and promise.allSettled?

Alright once I get home I would

Hi @emee-dev, Your article is great!
Could you please also add: difference between promise.all and promise.allSettled?

I have made a new PR with the differences

Hi @emee-dev,
Your article is great!
Could you please also add:  difference between promise.all and promise.allSettled?

Alright once I get home I would

Here is the link to the doc: https://docs.google.com/document/d/1WK4ho--WJk5u1v_gSy_hS65Ix9s6GRz9Ii-yUDiELZg/edit?usp=sharing


对多模态的支持

Feature request
支持多模态PRM模型的训练，以及使用多模态PRM与多模态大模型联合进行强化学习训练
Motivation
目前没有github 项目支持多模态大模型的 类O1 强化学习训练
Your contribution
感谢您在LLM方向上的贡献，基于您较为完善的代码，实现多模态的 类O1 训练变得可实现，目前我在尝试在qwen2-vl上训练一个PRM模型

Hello, we tried to solve the issue.
This is what we did:
This change adds support for multimodal PRM model training and reinforcement learning training with multimodal large language models. It modifies the QwenProcessRM class to handle multimodal inputs and updates the training script to accommodate multimodal data.
You can review changes in this commit: https://github.com/mnmnk43434/openreasoner-openr-82/commit/7d7df3447039414c6c2499105fa84298586410c8.

[!CAUTION]
Disclaimer: The concept of solution was created by AI and you should never copy paste this code before you check the correctness of generated code. Solution might not be complete, you should use this code as an inspiration only.

If you no longer want Latta AI to attempt solving issues on your repository, you can block this account.

Supports for inference with Qwen2-VL will be available soon—stay tuned for updates!
Regarding multi-modal PRM training, we have added it to our to-do list and plan to investigate it in the near future. We also welcome and encourage any contributions in this area.


Safaribooksonline.com only 1 min video

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like that [x])
Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2017.06.05. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

[X] I've verified and I assure that I'm running youtube-dl 2017.06.05

Before submitting an issue make sure you have:

[X] At least skimmed through README and most notably FAQ and BUGS sections
[X] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[X] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add -v flag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
[user@localhost Downloads]$ youtube-dl -v  https://www.safaribooksonline.com/library/view/learning-path-bash/9780134656045/BSHF_02_09.html?autoStart=True
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'https://www.safaribooksonline.com/library/view/learning-path-bash/9780134656045/BSHF_02_09.html?autoStart=True']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.06.05
[debug] Python version 2.7.13 - Linux-4.10.17-200.fc25.x86_64-x86_64-with-fedora-25-Twenty_Five
[debug] exe versions: none
[debug] Proxy map: {}
[safari]<PHONE_NUMBER>045/BSHF_02_09: Downloading webpage
[Kaltura]<PHONE_NUMBER>045-BSHF_02_09: Downloading webpage
[Kaltura] 0_d5z42dyd: Downloading video info JSON
[Kaltura] 0_d5z42dyd: Downloading m3u8 information
[debug] Invoking downloader on u'http://cdnapi.kaltura.com/p/1926081/sp/192608100/playManifest/entryId/0_d5z42dyd/format/url/protocol/http/flavorId/0_glqeu7b4'
[download] Destination: 2.9 Using Command Substitution-0_d5z42dyd.mp4
[download] 100% of 18.56MiB in 00:16

Description of your issue, suggested solution and other information
Downloading is successful but video is trimmed to 1 min only,while any video tried is above that 1 min limit.

You did not provide account credentials.

Sadly , I'm not allowed to - but I can do the testing job.

It never worked without credentials for restricted videos. You must provide credentials to youtube-dl.


Publish to crates.io

We should publish the crate and its associated applications to crates.io (potentially bringing llamacord etc into a GitHub organization, too). Here's what I think's blocking:

[x] Move ggml-rs to its own publishable crate, add safety warnings
[x] Fix warnings
[x] Add deny public docs, document everything
[x] Get all pending PRs in

Anything else I'm missing, @setzer22 ?

Once #81 is done, setzer can publish

This issue has been closed but I don't see a working version on crates.io . Currently there is a version 0.0.0 that contains an empty main.rs file printing "hello world". Is the release still to be done or am I looking in the wrong place?
https://docs.rs/crate/llama-rs/latest/source/src/main.rs

love to see how fast development of this stuff is going
how seamlessly this thing works together with llama-node (compared to the less "clean feeling" llama.cpp) makes me want to start rewriting random stuff in rust (🚀)
especially loving the low number of dependencies compared to the p*thon AI stuff that is used everywhere else

We have a RC1 published for all crates 🚀
My plan is to publish 0.1.1 (I made the mistake of publishing llm 0.1.0 for reservation) tomorrow.

Took a bit longer than expected (had to sneak in an API change), but 0.1.1 is live on crates.io 🎉


Improve button min. size calculation.

Fixes https://github.com/godotengine/godot/issues/91022
Changes button min. size calculation to take into account all stiles and use the largest possible margin. _get_current_stylebox() can't be used for the min. size calculation, since min. size is not recalculated on hover.

I trust that checking all these is necessary, but how expensive is it computationally? I'm worried about how the cost might scale for button heavy UIs, like the Godot editor.

but how expensive is it computationally?

I'll check it later, but StyleBox::get_minimum_size is doing only simple math, so should not have any significant impact, unless it's custom StyleBox and _get_minimum_size is implemented in a script. And it's only used it the buttons get_minimum_size, which is only called when layout is changing.

This looks like something that can be cached when theme/layout changes.

Moved it to theme cache.

but how expensive is it computationally?

With default theme, it takes 0-2 μs to call it.

There's also a problem with icons shifting in "hover-pressed". I was hoping it could be a part of the same problem as text, but this one still occurs

Probably draw should use max. style size for alignment as well.

There's also a problem with icons shifting in "hover-pressed". I was hoping it could be a part of the same problem as text, but this one still occurs

Updated to also fix this by caching the largest margins as well.

Updated to also fix this by caching the largest margins as well.

It works 🎉

Thanks!


NIP-05 verification denial of service

Relays can be DoS attacked via NIP-05 verification, with multiple logs showing up:
WARN nostr_rs_relay::nip05: Error when checking for NIP-05 verification records: DatabasePoolError(Error(None))

What options are available for resolving this attack?

Answering myself -
Either disable NIP-05 verification or blacklist spamming domains (I see you nostr-vip.org).
But maybe some extra code stability is required?

I ran into the same issue and the fix is probably easy: continue is missing.


⚠ Bofrost.be has degraded performance

In 6c0a2a4, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1497 ms

Resolved: Bofrost.be performance has improved in 2e6d213 after 32 minutes.


@State variable can not be stored

After I change the @State variable, the variable can not be print correctly, it is still the old value.

Thanks for raising the issue @L1cardo. Currently the lib just support one way binding. I will update it asap 👍

Just support the binding 2 way at version 1.2.1 👍


Docker IPv6 documentation lacking information

File: config/daemon/ipv6.md
Only adding "ipv6": true to /etc/docker/daemon.json is not enough.
After "ipv6": true is added the daemon fails to start. Therefore I think some bit of information is missing in the docs.
The systemd service exits with:
Feb 09 00:48:49 myhostname.mydomain.tld systemd[1]: Starting Docker Socket for the API.
-- Subject: A start job for unit docker.socket has begun execution
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A start job for unit docker.socket has begun execution.
--
-- The job identifier is 24440.
Feb 09 00:48:49 myhostname.mydomain.tld systemd[1]: Listening on Docker Socket for the API.
-- Subject: A start job for unit docker.socket has finished successfully
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A start job for unit docker.socket has finished successfully.
--
-- The job identifier is 24440.
Feb 09 00:48:49 myhostname.mydomain.tld systemd[1]: docker.service: Start request repeated too quickly.
Feb 09 00:48:49 myhostname.mydomain.tld systemd[1]: docker.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- The unit docker.service has entered the 'failed' state with result 'exit-code'.
Feb 09 00:48:49 myhostname.mydomain.tld systemd[1]: Failed to start Docker Application Container Engine.
-- Subject: A start job for unit docker.service has failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A start job for unit docker.service has finished with a failure.
--
-- The job identifier is 24369 and the job result is failed.
Feb 09 00:48:49 myhostname.mydomain.tld systemd[1]: docker.socket: Failed with result 'service-start-limit-hit'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- The unit docker.socket has entered the 'failed' state with result 'service-start-limit-hit'.

With debug: true in the configuration the following error is logged:
Error starting daemon: Error initializing network controller: Error creating default "bridge" network: could not find an available, non-overlapping IPv6 address pool among the defaults to assign to the network

It's missing, that fixed-cidr-v6 is also required, as soon as I add it to the configuration file it works.

@joeabbey - Hi Joe, I was directed to you for help with this. I know you are swamped, but if you have any spare cycles, can you PTAL? Thank you in advance for any help!

Thanks for sharing the issue. It appears fixed in https://github.com/docker/docker.github.io/commit/1b319c30a57334d82096bc4e1cabfab3a8b6dda1