Fix the issue causing the Godot Android Editor to crash when returning from the launched and running game

The issue was caused because the running game pid was not set, and thus had a value of 0. When trying to stop the running game, the EditorRun::stop() logic would kill the process with pid 0, which on Android corresponds to the running app's own process, thus causing the editor to crash. This issue did not happen on Godot 3 because pid with value of 0 are not considered valid.
Fixes https://github.com/godotengine/godot/issues/61611
3.x version: https://github.com/godotengine/godot/pull/72110.

Looks good. I assume this would also be relevant for 3.x?

Yeah, the 3.x version is https://github.com/godotengine/godot/pull/72110.
Godot 3 doesn't attempt to kill pid with value 0, so it's not a crash bug, but a feature bug as pressing the stop button won't do a thing.

Thanks!

I am here to inform you that this error is still not fixed in the 3.x version when I am closing the played scene the Godot editor is opening. However whenever there is an error in my project it crashes i.e I have to exit and re-open the editor to use it again and the error that occurred remains a mystery for me.

I am here to inform you that this error is still not fixed in the 3.x version when I am closing the played scene the Godot editor is opening. However whenever there is an error in my project it crashes i.e I have to exit and re-open the editor to use it again and the error that occurred remains a mystery for me.

@ZishAan23 The issue you describe should be addressed by https://github.com/godotengine/godot/pull/84415.


"Overlapping access" Error on latex Xcode(12.0.1)

Xcode: 12.0.1
After I install LASwift with Cocoapod
pod 'LASwift', '~> 0.1.0'

There are compiling error in MatrixAlgebra.swift within function inv.  The error info is
Overlapping accesses to 'N', but modification requires exclusive access; consider copying to a local variable

The lines with errors are:
dgetrf_(&N, &N, &(B.flat), &N, &pivot, &error)
// ...
dgetri_(&N, &(B.flat), &N, &pivot, &wkOpt, &lWork, &error)
// ...
dgetri_(&N, &(B.flat), &N, &pivot, &work, &lWork, &error)

I find out that all these functions use &N more than ones, so I change the function into this:
public func inv(_ A: Matrix) -> Matrix {
    precondition(A.rows == A.cols, "Matrix dimensions must agree")
    let B = Matrix(A)

    var N = __CLPK_integer(A.rows)
    var M = __CLPK_integer(A.cols)
    var LDA = N
    var pivot = [__CLPK_integer](repeating: 0, count: Int(N))

    var wkOpt = __CLPK_doublereal(0.0)
    var lWork = __CLPK_integer(-1)

    var error: __CLPK_integer = 0

    dgetrf_(&N, &M, &(B.flat), &LDA, &pivot, &error)

    precondition(error == 0, "Matrix is non invertible")

    /* Query and allocate the optimal workspace */

    dgetri_(&N, &(B.flat), &M, &pivot, &wkOpt, &lWork, &error)

    lWork = __CLPK_integer(wkOpt)
    var work = Vector(repeating: 0.0, count: Int(lWork))

    /* Compute inversed matrix */

    dgetri_(&N, &(B.flat), &M, &pivot, &work, &lWork, &error)

    precondition(error == 0, "Matrix is non invertible")

    return B
}

Then all errors are gone.

My mistake. I find out the the version number in the release page is 0.2.3, while in readme file, the version number is still 0.1.0.  The bug has been fixed in latex release. I suggest that the readme file should be modified to prevent confusion.

Just ran into the same issue, so i opened a PR to update the readme. #22

Just ran into the same issue, so i opened a PR to update the readme. #22


💡 Feature Request - Arrow icon after the country flag

Summary
An arrow icon after the country icon(dropdown trigger) to indicate it's a select/dropdown.
Basic Example

Drawbacks
addonBefore size will increase a bit.

@debotos, when designing this component, <flag> <country code> <arrow> looked ugly to me, so I kept the <flag> <country code> form, but it's not a bad idea to make it appear using a boolean property. I think it is possible in the near future. Thanks for the suggestion.

Hey @debotos, the arrow has been added in the latest release of the package. You can enable it using the enableArrow option of the component. You can also test it out in the playground server. Thanks for the suggestion.


Allow moving overlays outside PoE bounds

What feature would you like added?
I'd like to be able to put overlays outside of the PoE window's bounds.
Why do you want this feature added?
I have multiple monitors and it would be better to put the overlay next to PoE on another monitor, rather than have it taking up valuable space in the PoE window itself.

Windows can be moved anywhere by default now. You can still snap windows to the edge of the monitor by holding shift. Works with multimonitor setups.


no 0.1 tag?

Hi,
Seems v0.1 has been announced on the gdr-mascotnum mailing list however I don't see any tag.
j

Hello,
That was our mistake. We are working on a couple of fixes to the tests and docs, and then we will make a tagged release, likely within a week.

v0.1 has been released! Sorry about the delay


Remove old Pulsar website

Motivation
The new pulsar website is under /site2.  I missed that. fixed all the references.

run java8 tests.

run java8 tests


ISPN-5540/ISPN-5541 Upgrade to Hibernate Search 5.3.0.CR1 & removal of workarounds

https://issues.jboss.org/browse/ISPN-5440
https://issues.jboss.org/browse/ISPN-5441

I've merged it, but the second commit seems to be merely fixing mistakes from the first one.
I'd rather have a single commit in such case?
Nice cleanup! :+1:

but the second commit seems to be merely fixing mistakes from the first one.

I usually keep commits independent from each other (with all tests passing), but messed up this one, sorry

np, I know you're excellent at it, keep it up ;-)


Decompose the document validation module into separate submodules

Task
Description
Break down the validation-module.js file into two separate submodules to improve code readability and maintainability: one for validating general constraints on a document (e.g. cannotReplace, cannotDelete, documentIdRegexPattern) and one for validating a document's properties.
Examples

document-constraints-validation-module.js: for top-level document constraints
document-properties-validation-module.js: for properties within a document

Satisfied by #308


cargo test warns with lint unused_doc_comment has been renamed

warning: lint unused_doc_comment has been renamed to unused_doc_comments
  --> /tmp/rust-skeptic.Aq6OdV6EK5TS/test.rs:13:1
   |
13 | / error_chain! {
14 | |    foreign_links {
15 | |        CsvError(csv::Error);
16 | |        ParseInt(std::num::ParseIntError);
...  |
20 | |    }
21 | | }
   | |_^
   |

= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more i

Moving to error_chain = 0.12.0 should silence this error https://github.com/rust-lang-nursery/error-chain/issues/245


etcd configuration backend

As documented in #66, etcd support for distributed configuration of a ciao cluster is desired

As with the others, let's architect HA then implement, not implement then architect.


Use sdist for the OS X installer.

Branch develop
Target 0.16.x
Current Behaviour We are still downloading the source archive, extract it, and run pyrun setup.py install.
Expected Behaviour We should be using sdist like this: pyrun -m pip install <sdist path>.

as per @aronasorman on https://github.com/learningequality/installers/pull/235#issuecomment-151521814
The idea is for the installer to just accept an sdist in place of the full repo. From there I think you can just replace the setup.py install step to pyrun -m pip install  to install it.

This is fixed in #278.


Broken in asdf nodejs version manager when updating global package

when checking for global package npm-check -g, it keeps saying that there're updates available, even after you update the said 'old version' global package.
I've tried adding environment variable such as NODE_PATH=.asdf/installs/nodejs/10.15.2/.npm/lib/node_modules/ npm-check -gu, but still didn't work.

This is likely related to asdf-vm/asdf-nodejs#228.
I tested that fix manually:
rm -rf ~/.asdf/plugins/nodejs/bin/{exec-env,list-bin-paths}
Then asdf install nodejs lts to reinstall nodejs and all global packages, npm-check -g works as expected.

npm-check truncated debug output
$ npm-check -g --debug
[npm-check] debug
cli.flags {
  global: true,
  debug: true,
  update: false,
  updateAll: false,
  skipUnused: false,
  production: false,
  devOnly: false,
  saveExact: false,
  color: false,
  emoji: true,
  spinner: true
}
===============================
[npm-check] debug
cli.input []
===============================
[npm-check] debug
set key spinner to value true
===============================
[npm-check] debug
set key ignore to value undefined
===============================
The global path you are searching is: /Users/corey/.asdf/installs/nodejs/16.16.0/lib/node_modules // ✅
[npm-check] debug
set key cwd to value /Users/corey/.asdf/installs/nodejs/16.16.0/lib/node_modules // ✅

Hope that helps… 🖖


Redesign the load more messages button.

I would like to Redesign the load more messages button.

@abhijeet007rocks8 Please assign.


Running Prepare-Release for azure-messaging-servicebus 7.15.3

Closing this. Will open new one with minor version bump since admin models now adds new APIs and implement contract to enable new stream style ser-de (azure-xml).


API name change - from RegionUserCount to RegionDeviceCount

What type of PR is this?
Add one of the following kinds:

correction

What this PR does / why we need it:
After discussion in RUC work group, we believe that switch the API name from RegionUserCount to RegionDeviceCount is more accurate because operators can count the number of connected devices rather than the number of users. Specific discussions can refer to here

Orange team supports this proposal discussed in the WG.


Queuing logic revision - Ongoing subscription

For users who are already subscribed to a case, once their hearing has passed, the user should receive a notification upon the first time a new hearing is added to the hearings table.

@agboise I would like to contribute to this open source issue.
I have roughly gone through the models (Case, Subscriber, Notification).
What code change might be needed? only creating a new record of notification?
or some big change?
let me know if I can take and start with this.


Add airflow to DeviceType model

As ...
Austin - Network Automation Engineer
I want ...
To document a DeviceType's airflow direction, similar (or identical) to Netbox.
So that ...
As we add DeviceTypes, we can more clearly differentiate between SKUs that are otherwise identical (e.g., many NVIDIA/Mellanox SKUs). We can also filter/sort by airflow.
I know this is done when...
airflow is an attribute of the DeviceType model
Optional - Feature groups this request pertains to.

[ ] Automation
[ ] Circuits
[X] DCIM
[ ] IPAM
[ ] Misc (including Data Sources)
[ ] Organization
[ ] Apps (and other Extensibility)
[ ] Security (Secrets, etc)
[ ] Image Management
[ ] UI/UX
[ ] Documentation
[ ] Other (not directly a platform feature)

Database Changes
Add airflow column to DeviceType table.
External Dependencies
None

I can handle this if approved.


search button issue resolved

Issue #312
Type of PR

Add X in the box to specify the improvement type.
[X] Bug fix
[x] Feature enhancement

Description
now the search bar is working properly
Checklist

Add X in the box to specify.
[X] I have performed a self-review of my code.
[x] I have tested the changes thoroughly before submitting this pull request.
[x] I have commented my code, particularly in hard-to-understand areas.

Thank you for reviewing my pull request!

@KartikSaxena19, you mentioned that you'd solved the issue with the search bar, but I don’t see any code that addresses the fix. Could you please ensure the search bar is working? 😄

@swaraj-das
https://github.com/user-attachments/assets/b8c78c3d-12cb-4d60-ab82-2b70cb3b4000
this is the change that i had made


Error message when creating an already existing topic is too generic

Describe the bug
When using the admin createTopics with an existing topic the following error is logged:

message: Response CreateTopics(key: 19, version: 3)
error: Topic creation errors

We are using Confluent Cloud.
To Reproduce
If none of the above are possible to provide, please write down the exact steps to reproduce the behavior:

Create a topic that already exist using the admin.createTopics

Expected behavior
We would have expected a more specific error message ("topic already exists") to be able to filter it out in our custom logger.
Environment:

OS: Kubernetes, node-buster-slim
KafkaJS version 2.2.3
Kafka version 3.3.x, Confluent Cloud 7.3.x
NodeJS version 18

Any update here, got the error log when passed multiple topics and some of them already existed, others were created succesfully. Also response was false in this case.

{"level":"ERROR","timestamp":"2023-07-14T13:33:41.729Z","logger":"kafkajs","message":"[Connection] Response CreateTopics(key: 19, version: 2)","broker":"","clientId":"kafkajs","error":"Topic creation errors","correlationId":0,"size":504}


[mariaDb] "No database selected" error when executing delete with join

Description
Executing this query
delete t1 from table1 t1
inner join table2 t2
where t1.id = t2.id

returns error
SQL Error [1046] [3D000]: (conn=1498) No database selected

while in other GUIs/clients, it works perfectly.
DBe CE Version <IP_ADDRESS>305211610 AND Version <IP_ADDRESS>306041918
MariaDb 10.3.36
DBeaver Version
CE <IP_ADDRESS>305211610 AND <IP_ADDRESS>306041918
Operating System
macosx
Database and driver
No response
Steps to reproduce
No response
Additional context
No response

No need to create the tables to check the script, just connect to a DB instance, and run it

From mariadb client ( mysql ) :
> create table table1 (id int);
Query OK, 0 rows affected (0.03 sec)

> create table table2 (id int);
Query OK, 0 rows affected (0.02 sec)

> delete t1 from table1 t1 inner join table2 t2 where t1.id = t2.id;
Query OK, 0 rows affected (0.01 sec)

Yes, and it does not matter:
delete t1 from meh.table1 t1
inner join meh.table2 t2
where t1.id = t2.id

Still gives error

So, do you want to execute your query without a default catalog? But what is the reason for that specific behavior? Why can not you choose the default catalog for the script?

Look,
that is a bug. Either you fix it or not.
Me selecting the db, or using a default catalog does not change that.
I am here to help, so - again- fix it or not :-)

@wiwwo
We're trying to understand steps to reproduce, but we can't do it without your help. Am I correctly understood, that you see this error no matter what's chosen on the main toolbar?

Exactly.
I was already using the DB when the error occurred, without any problem

And sorry for the misunderstanding :-)

Hello @ShadelessFox
It happened with DBE CE <IP_ADDRESS>305211610 AND <IP_ADDRESS>306041918, so I assume it is irrelevant.
Did you try to reproduce the error executing the query I posted in the bug report detail? One does not need to create the tables, as detailed here https://github.com/dbeaver/dbeaver/issues/20208#issuecomment-1577990823

No, we were unable to reproduce your issue.
Please provide the driver's name and version. It can be looked up when performing a connection test.

Could you share your connection information showing in the Connection test dialog?

Also it would be extremely useful if you could record a video showing how it doesn't work for you as none of our team able to reproduce the issue. The order of clicks may be very important for us, even if you think that you're doing the things as usual.

It's been a while since no update here. If the issue is still actual please let me know and provide additional information.

Is database chosen here or you see N/A like on the picture when this error appears?

Thanks you, choosing the database from the dropdown in the image fixed it for me!


nodenv init won't add shims to $PATH

I've ran the installation as in readme step-by-step (tried both homebrew and git ways) on OS X and restarted terminal, however only ~/.nodenv/bin was added to PATH and so running which node would still point to /usr/local/bin/node. Figured out a fix:
echo 'export PATH="$HOME/.nodenv/shims:$PATH"' >> ~/.bash_profile

Didn't look much into detail on what's going on under the hood

That's what nodenv init does. Was nodenv init not added to your bashrc?

(see the output of nodenv init - to see what it does when evaled)

I had to manually edit .bash_profile on OS X High Sierra after I installed nodenv via Homebrew.  Paste these lines into .bash_profile using nano and restart your terminal.
export NODENV_ROOT="$HOME/.nodenv"
export PATH="$HOME/.nodenv/bin:$PATH"
eval "$(nodenv init -)"
The output from 'node -v' and 'npm -v' sound work after that.  It's unclear why 'nodenv init' didn't make these entries, I just copied the syntax and structure of the lines that pyenv added.

export PATH="$HOME/.nodenv/bin:$PATH" doesn't need added manually because that's the first line of what nodenv init - does when evaled. (And NODENV_ROOT isn't necessary unless you're changing it to something other than the default, which doesn't appear to be the case here.)
nodenv init does not add this automatically. Indeed, it is nodenv's opinion that users' .bashrc/.bash_profile files should never be modified automatically by tooling. That's why the output of nodenv init is specifically the instructions:
# Load nodenv automatically by appending
# the following to ~/.bashrc:

eval "$(nodenv init -)"

( @martinalbion sorry, I glanced too quickly and thought your export PATH line was adding the shims to PATH as nodenv init - does. nodenv itself does still need added to path somehow as you indicated)

As this question keeps popping up, I've started a FAQ page on the wiki. https://github.com/nodenv/nodenv/wiki/FAQ#node-is-not-available


[Feature request] Show Windows Attributes when running on Windows

os: Win10pro
lsd --version: lsd 0.23.1

Expected behavior
dar--  28/06/2021 13:33:00 4.0 KB  Users/
When run from a Windows machine, the first column could show the attributes the same way "Get-ChildItem" does on PowerShell on Windows.
Actual behavior
drwxrwxrwx  28/06/2021 13:33:00 4.0 KB  Users/
(thanks for this neat piece of software, i am using it every time!)

Hi @RaffaeleBianc0, I am not a windows user, can you explain some more about the dar--?

There is also l for links (e.g. symlinks / junctions)
https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.management/get-childitem?view=powershell-7.3

By default Get-ChildItem lists the mode (Attributes), LastWriteTime, file size (Length), and the Name of the item. The letters in the Mode property can be interpreted as follows:

l (link)
d (directory)
a (archive)
r (read-only)
h (hidden)
s (system)

eza uses these attributes for windows

@zwpaper Shall i write a PR for this?


Fix regex groups

This code found in the documentation doesn't work:
$bot->onText('I want ([0-9]+) portions of (pizza|cake)', function (Nutgram $bot, $amount, $dish) {
    $bot->sendMessage("You will get {$amount} portions of {$dish}!");
});

ArgumentCountError : Too few arguments to function X, 1 passed and exactly 3 expected


https://github.com/microsoft/azure-pipelines-yaml/blob/master/templates/php.yml Not working

While setting up php version 8.2 getting below error
update-alternatives: error: alternative /usr/bin/php8.2 for php not registered; not setting
update-alternatives: error: alternative /usr/bin/phar8.2 for phar not registered; not setting
update-alternatives: error: alternative /usr/bin/phpdbg8.2 for phpdbg not registered; not setting
update-alternatives: error: alternative /usr/bin/php-cgi8.2 for php-cgi not registered; not setting
update-alternatives: error: alternative /usr/bin/phar.phar8.2 for phar.phar not registered; not setting

Hi @pritam97, thank you for the question. Can I ask what pool you use in your pipeline? Do you use an MS hosted or self-hosted agent?
For example, for ubuntu-2204 the latest preinstalled version of PHP is 8.1.2: https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2204-Readme.md#php-tools
In any case, I think you can install the version of PHP that you need in an earlier step in your pipeline and then use the same set of update-alternatives commands to set up symlinks

I am using microsoft hosted agent, but i want use php 8.2 or 8.3 above yaml is not working

@pritam97 I think you can use a command from your distribution's package manager that will download the needed version of php just before this line: https://github.com/microsoft/azure-pipelines-yaml/blob/d0943c1b392250adb798993d782dbeb29af9e986/templates/php.yml#L17
Or you can switch to a pool such as ubuntu-2004, which has php 8.2 and 8.3 preinstalled: https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2004-Readme.md#php-tools


npm WARN old lockfile ui: No matching version found for<EMAIL_ADDRESS>

Hello to everyone.
I've tried to install ferdi on my jetson nano (where it runs ubuntu 21.04 for arm64 for tegra platform). This is what happened...
root@zi-desktop:~/Desktop/Work/I9/Virt# git clone https://github.com/getferdi/ferdi.git
Cloning into 'ferdi'...
remote: Enumerating objects: 30112, done.
remote: Counting objects: 100% (904/904), done.
remote: Compressing objects: 100% (407/407), done.
remote: Total 30112 (delta 516), reused 752 (delta 446), pack-reused 29208
Receiving objects: 100% (30112/30112), 40.17 MiB | 9.49 MiB/s, done.
Resolving deltas: 100% (21871/21871), done.
Updating files: 100% (687/687), done.
root@zi-desktop:~/Desktop/Work/I9/Virt# cd ferdi
root@zi-desktop:~/Desktop/Work/I9/Virt/ferdi# git submodule update --init --recursive
Submodule 'recipes' (https://github.com/getferdi/recipes.git) registered for path 'recipes'
Submodule 'src/internal-server' (https://github.com/getferdi/internal-server.git) registered for path 'src/internal-server'
Cloning into '/home/zi/Desktop/Work/I9/Virt/ferdi/recipes'...
Cloning into '/home/zi/Desktop/Work/I9/Virt/ferdi/src/internal-server'...
Submodule path 'recipes': checked out '8a0971ff9f41fdaa1af15e88740ce9479e1ec6ea'
Submodule path 'src/internal-server': checked out 'b8e39c293c4d58c42f3cddafbd0125fcba5e933e'
root@zi-desktop:~/Desktop/Work/I9/Virt/ferdi# export ELECTRON_CACHE=$HOME/.cache/electron
root@zi-desktop:~/Desktop/Work/I9/Virt/ferdi# export ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder
root@zi-desktop:~/Desktop/Work/I9/Virt/ferdi# npx lerna bootstrap
lerna notice cli v4.0.0
lerna info versioning independent
lerna info bootstrap root only
npm WARN old lockfile
npm WARN old lockfile The package-lock.json file was created with an old version of npm,
npm WARN old lockfile so supplemental metadata must be fetched from the registry.
npm WARN old lockfile
npm WARN old lockfile This is a one-time fix-up, please be patient...
npm WARN old lockfile
npm WARN old lockfile theme: No matching version found for<EMAIL_ADDRESS>npm WARN old lockfile     at module.exports (/usr/local/lib/node_modules/npm/node_modules/npm-pick-manifest/index.js:209:23)
npm WARN old lockfile     at /usr/local/lib/node_modules/npm/node_modules/pacote/lib/registry.js:118:26
npm WARN old lockfile     at async Array. (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:700:9)
npm WARN old lockfile  Could not fetch metadata for<EMAIL_ADDRESS>theme: No matching version found for<EMAIL_ADDRESS>npm WARN old lockfile     at module.exports (/usr/local/lib/node_modules/npm/node_modules/npm-pick-manifest/index.js:209:23)
npm WARN old lockfile     at /usr/local/lib/node_modules/npm/node_modules/pacote/lib/registry.js:118:26
npm WARN old lockfile     at async Array. (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:700:9) {
npm WARN old lockfile   code: 'ETARGET',
npm WARN old lockfile   type: 'version',
npm WARN old lockfile   wanted: '1.0.14',
npm WARN old lockfile   versions: [
npm WARN old lockfile     '0.0.0', '0.0.1',
npm WARN old lockfile     '0.0.2', '0.0.3',
npm WARN old lockfile     '0.0.4', '0.0.5',
npm WARN old lockfile     '0.0.6', '0.0.7',
npm WARN old lockfile     '0.0.8', '0.1.0'
npm WARN old lockfile   ],
npm WARN old lockfile   distTags: { latest: '0.1.0' },
npm WARN old lockfile   defaultTag: 'latest'
npm WARN old lockfile }
npm WARN old lockfile ui: No matching version found for<EMAIL_ADDRESS>npm WARN old lockfile     at module.exports (/usr/local/lib/node_modules/npm/node_modules/npm-pick-manifest/index.js:209:23)
npm WARN old lockfile     at /usr/local/lib/node_modules/npm/node_modules/pacote/lib/registry.js:118:26
npm WARN old lockfile     at async Array. (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:700:9)
npm WARN old lockfile  Could not fetch metadata for<EMAIL_ADDRESS>ui: No matching version found for<EMAIL_ADDRESS>npm WARN old lockfile     at module.exports (/usr/local/lib/node_modules/npm/node_modules/npm-pick-manifest/index.js:209:23)
npm WARN old lockfile     at /usr/local/lib/node_modules/npm/node_modules/pacote/lib/registry.js:118:26
npm WARN old lockfile     at async Array. (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:700:9) {
npm WARN old lockfile   code: 'ETARGET',
npm WARN old lockfile   type: 'version',
npm WARN old lockfile   wanted: '1.1.0',
npm WARN old lockfile   versions: [
npm WARN old lockfile     '0.0.0', '0.1.0',
npm WARN old lockfile     '0.2.0', '0.2.1',
npm WARN old lockfile     '0.2.2', '0.2.3',
npm WARN old lockfile     '0.2.4'
npm WARN old lockfile   ],
npm WARN old lockfile   distTags: { latest: '0.2.4' },
npm WARN old lockfile   defaultTag: 'latest'
npm WARN old lockfile }
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/react-dom
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!   peer<EMAIL_ADDRESS>|| ^15.0.0 || ^16" from<EMAIL_ADDRESS>npm ERR!   node_modules/react-modal
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!   5 more (react-tooltip, react-transition-group, ...)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR! packages/ui
npm ERR<EMAIL_ADDRESS>npm ERR!   node_modules/@meetfranz/ui
npm ERR!     @meetfranz/ui@"file:packages/ui" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See /root/.npm/eresolve-report.txt for a full report.
npm ERR!  A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2021-06-24T22_47_31_008Z-debug.log
/root/.npm/_logs/2021-06-24T22_47_31_008Z-debug.log
0 verbose cli [
0 verbose cli   '/usr/bin/node',
0 verbose cli   '/usr/share/nodejs/npm/bin/npm-cli.js',
0 verbose cli   'exec',
0 verbose cli   '--',
0 verbose cli   'lerna',
0 verbose cli   'bootstrap'
0 verbose cli ]
1 info using<EMAIL_ADDRESS>2 info using<EMAIL_ADDRESS>3 timing config:load:defaults Completed in 6ms
4 timing config:load:file:/usr/share/nodejs/npm/npmrc Completed in 6ms
5 timing config:load:builtin Completed in 7ms
6 timing config:load:cli Completed in 6ms
7 timing config:load:env Completed in 1ms
8 timing config:load:file:/home/zi/Desktop/Work/I9/Virt/ferdi/.npmrc Completed in 2ms
9 timing config:load:project Completed in 6ms
10 timing config:load:file:/root/.npmrc Completed in 0ms
11 timing config:load:user Completed in 1ms
12 timing config:load:file:/etc/npmrc Completed in 0ms
13 timing config:load:global Completed in 0ms
14 timing config:load:cafile Completed in 1ms
15 timing config:load:validate Completed in 2ms
16 timing config:load:setUserAgent Completed in 2ms
17 timing config:load:setEnvs Completed in 3ms
18 timing config:load Completed in 35ms
19 verbose npm-session 3e9c4220cb6695ca
20 timing npm:load Completed in 69ms
21 http fetch GET 304 https://registry.npmjs.org/lerna 397ms (from cache)
22 timing arborist:ctor Completed in 3ms
23 timing arborist:ctor Completed in 1ms
24 timing arborist:ctor Completed in 1ms
25 timing command:exec Completed in 158852ms
26 verbose stack Error: command failed
26 verbose stack     at ChildProcess. (/usr/share/nodejs/@npmcli/promise-spawn/index.js:64:27)
26 verbose stack     at ChildProcess.emit (events.js:314:20)
26 verbose stack     at maybeClose (internal/child_process.js:1022:16)
26 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5)
27 verbose pkgid<EMAIL_ADDRESS>28 verbose cwd /home/zi/Desktop/Work/I9/Virt/ferdi
29 verbose Linux 4.9.140
30 verbose argv "/usr/bin/node" "/usr/share/nodejs/npm/bin/npm-cli.js" "exec" "--" "lerna" "bootstrap"
31 verbose node v12.21.0
32 verbose npm  v7.5.2
33 error code 1
34 error path /home/zi/Desktop/Work/I9/Virt/ferdi
35 error command failed
36 error command sh -c lerna "bootstrap"
37 verbose exit 1

@kris7t

31 verbose node v12.21.0
32 verbose npm v7.5.2

@marcolussetti - looks like you are not using the specific version of node and npm that Ferdi needs.
Though I appreciate your intent, I would strongly suggest that you read through the whole CONTRIBUTING.md file before reporting tickets. It takes valuable time away from contributors when trying to debug remotely without enough / appropriate data - and then finding that the instructions were not followed.

@Marietto2008 see @vraravam 's message above :) (I was tagged instead so wasn't sure if you got the notification)

Sorry @marcolussetti - my bad!

Best way is to use NVM and install lts/fermium (Node v14) which comes packaged with npm 6.

this is what ubuntu 21.04 offers : (and on the nvidia nano,ubuntu is the only os supported by nvidia)
root@zi-desktop:~# node -v
v12.21.0
root@zi-desktop:~# npm -v
7.19.0
root@zi-desktop:~# node-gyp -v
v7.1.2
root@zi-desktop:~# lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 21.04
Release:	21.04
Codename:	hirsute

@Marietto2008 - as mentioned above, you will need to either use nvm or asdf to be able to install different versions of node as the project progresses. Please read the CONTRIBUTING.md file - it clearly lists the versions of node, npm and node-gyp that are needed. Without those specific versions, i will not be able to help you.

I can try to compile the requested package versions from the source code

Anyway,man the instructions aren't clear.   IN THIS CASE SHOULD I DOWNGRADE ?

I would still strongly suggest to use the version managers (nvm, asdf) - so that we are all on the same page when trying to debug and help anything that you notice.
Regarding downgrading the other 2 - im not sure of what the side-effects are. Maybe you can try and get it working? If it works, we can always upgrade based on your learnings.

I have not updated that documentation - thanks for pointing it out. Will push a commit later tonight with that corrected. All these combinations of versions work atm for both x86 and arm64 - mac machines.

Do u know if there is a docker image which run Ferdi ? it can help.

Yes - please see the Dockerfile already present in the codebase.

The instructions to use docker to build Ferdi are already also present in the CONTRIBUTING.md file

thanks. I tried,but it didn't work. can u give a look here ? ----> https://github.com/getferdi/ferdi/issues/1567

Unfortunately, the Docker image is only for amd64, not arm64. Contributions for an arm64 Linux build are very much welcome! Unfortunately, we don't have a device to test ourselves.

Sp,let's make a recap : running ubuntu 21.04 to run ferdi,I should do something like this ?
node from 12.21.0 --> 14.16.1 : it is an upgrade,but since ubuntu 21.04 is the most updated release,I should recompile node from source ?
npm from 7.19.0--> 6.14.12 : this is a regression,so I should remove npm 7.19.0 from ubuntu 21.04 and I should install the 6.14.12
node-gyp from 7.1.2 --> 8.0.0 : this is an upgrade : so I should remove 7.1.2 from ubuntu and I should recompile 8 from source.
is this right ?

@Marietto2008 - true to all that - but, the suggestion from me is to use a package manager (nvm or asdf) to accomplish all of them. That way, your non-ferdi-development experience can remain pristine

@Marietto2008 - coincidentally, I had to setup a new mac, and faced the same issue as you. I found that the npm that was installed by homebrew bumped me to v7.18.x - and this caused the same exact error that you reported above. Once I removed that version and downgraded to the 6.14.12 as documented in the CONTRIBUTING.md file and mentioned above, I am now able to build ferdi from the soruce. All this is on an x86 mac book pro. Once I type in this comment, I will redo the same steps on my daughter's M1 (MBP) and check out if it works for ARM-based machines as well.

Node v14.x is not supported on ARM See here for the discussion. So, unless we upgrade our node version, we cannot build on ARM machines (for now).
@kris7t - since you are on AUR, can you please confirm if v15 works for you? IF so, I can try the initial builds with v15 and we can get all this merged into the develop branch

yeah,this is the first try that I did,I have installed junest on my jetson nano / arm64 and then I tried to install ferdi from there. can u give a look if you can understand what's wrong there ?

thanks for the offer @Marietto2008 - but, whatever we do, we don't know if ferdi will build in higher versions of node/npm/node-gyp. I have created a new issue #1569 - which needs to be done before attempting the ARM-builds (imo).

anyway man. are u talking about the arm of the apple silicon ? I don't have it. My arm is not the same. I'm on arm64 / tegra. Do u want to use the mac to study the situation ?

Yes - im talking about the Mac M1 ARM. I have a M1 laptop - and am trying with that. (btw, im not a javascript dev - so, taking very cautious steps here)

It may work on my tegra / arm64. what u want to do ? do u want to help me here ?

Sure - i can try to help remotely. Lets start off with the exact same versions of the system dependencies: node, node-gyp and npm. Once we have that locked, we can try to solve the next error(s).

I'm thinking to configure a docker image with base ubuntu 18.04 installing all the required packages or from binary or from source.

let me understand a point : it requires node 14.16.1 or  node 14.15.3 ?

Please see the .nvmrc or package.json or CONTRIBUTING.ms - the versions are specified there

Closing this issue - since the effort and the conversation is being kept up in #1585


glibc 2.14 dependency

In 3.0.9 #244 is now an issue again.  Trying to use node-sqlite3 on CentOs 6 and I have a less happy day.
It appears to have been fixed by #444.  Can this be re-applied?  Or was this done on purpose?
module.js:356
  Module._extensions[extension](this, filename);
                               ^
Error: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by .../node_modules/sqlite3/lib/binding/node-v11-linux-x64/node_sqlite3.node)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (.../node_modules/sqlite3/lib/sqlite3.js:4:15)
    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 Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (.../index.js:4:19)
    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)

Yes, this worked in v3.0.8, broke in v3.0.9, and will work again in v3.0.10. The problem is we have no good way to test and prevent regression currently.
refs https://github.com/mapbox/node-sqlite3/issues/459#issuecomment-128416060

should be fixed by https://github.com/mapbox/node-sqlite3/commit/4955b79f04509196a15c360e612f9c0c393c3609

I feel your pain.  Tests ftw.  Wish I could help.  Thanks for taking care of it.


[Bugfix] Better error message for MLPSpeculator when num_speculative_tokens is set too high

Supports #5893

Test failure looks unrelated

@tdoublep could you rebase this to latest main just in case that helps with the failing tests?

@comaniac @njhill passing now


[BUG] MidiEndpointDeviceWatcher MidiEndpointDeviceInformationUpdate event doesn't reflect all metadata changes

Dev Preview 3
Changes made to metadata properties, specifically the in-protocol ones like function blocks, don't always get reflected in the updated event. They are properly written to the store, but the event either doesn't fire or doesn't specify that property.

Fixed in DP8. This was, in part, due to the cached properties in our property store


Add tutorial page

Fixes #159

This was more work than I expected. Also pretty tired haha.
But should serve well as a nice draft.
Any feedback welcome as always.

Things, not included in this PR but I noticed:

The overview image has a rounded white background with black edges (need to included latest image).

This document serves as a single page tutorial for mlf-core, the issue of deterministic machine learning and everything   related.

I'd remove the bold part.

There's a broken link to container's repo right under mlf-core overview section

Others I will mark directly in this PR.


Homebridge container, error loading plugin, Cannot find module 'hap-nodejs'

[4/27/2020, 12:15:38 PM] ERROR LOADING PLUGIN homebridge-broadlink-rm:
[4/27/2020, 12:15:39 PM] Error: Cannot find module 'hap-nodejs'
Require stack:
- /homebridge/node_modules/homebridge-broadlink-rm/node_modules/homebridge-platform-helper/dist/accessory.js
- /homebridge/node_modules/homebridge-broadlink-rm/node_modules/homebridge-platform-helper/dist/index.js
- /homebridge/node_modules/homebridge-broadlink-rm/platform.js
- /homebridge/node_modules/homebridge-broadlink-rm/index.js
- /usr/local/lib/node_modules/homebridge/lib/plugin.js
- /usr/local/lib/node_modules/homebridge/lib/pluginManager.js
- /usr/local/lib/node_modules/homebridge/lib/api.js
- /usr/local/lib/node_modules/homebridge/lib/index.js
- /usr/local/lib/node_modules/homebridge/lib/cli.js
- /usr/local/lib/node_modules/homebridge/bin/homebridge
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:980:15)
    at Function.Module._load (internal/modules/cjs/loader.js:862:27)
    at Module.require (internal/modules/cjs/loader.js:1042:19)
    at require (internal/modules/cjs/helpers.js:77:18)
    at Object.<anonymous> (/homebridge/node_modules/homebridge-broadlink-rm/node_modules/homebridge-platform-helper/src/accessory.ts:3:1)
    at Module._compile (internal/modules/cjs/loader.js:1156:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1176:10)
    at Module.load (internal/modules/cjs/loader.js:1000:32)
    at Function.Module._load (internal/modules/cjs/loader.js:899:14)
    at Module.require (internal/modules/cjs/loader.js:1042:19)
[4/27/2020, 12:15:39 PM] ====================

I am having the same issue

What version of homebridge are you running?

1.0.1

If I'm correct, this plugin hasn't been updated to Homebridge v1. Try rolling homebridge back to the previous version.

Problem is since v3.6.20 (or so), and also in older HomeBridge versions.
I'm running HomeBridge 1.0.4 without problems, but with older version of homebridge-broadlink-rm (3.6.18)
npm remove homebridge-broadlink-rm
npm install -save<EMAIL_ADDRESS>Tries serveral solutions, none seem to work.
Plugin needs te be reviewed and updated.

It feels like this plugin has been abandoned by the creator.

Problem is since v3.6.20 (or so), and also in older HomeBridge versions.
I'm running HomeBridge 1.0.4 without problems, but with older version of homebridge-broadlink-rm (3.6.18)
npm remove homebridge-broadlink-rm
npm install -save<EMAIL_ADDRESS>Tries serveral solutions, none seem to work.
Plugin needs te be reviewed and updated.

Thank you this fixed the issue for me.

notice when installing the plugin some warnings:
`make: Entering directory '/homebridge/node_modules/homebridge-broadlink-rm/node_modules/raw-socket/build'
CXX(target) Release/obj.target/raw/src/raw.o
In file included from ../src/raw.h:23,
from ../src/raw.cc:6:
../../nan/nan.h: In function 'void Nan::AsyncQueueWorker(Nan::AsyncWorker*)':
../../nan/nan.h:2294:62: warning: cast between incompatible function types from 'void ()(uv_work_t)' {aka 'void ()(uv_work_s)'} to 'uv_after_work_cb' {aka 'void ()(uv_work_s, int)'} [-Wcast-function-type]
2294 |     , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
|                                                              ^
In file included from ../src/raw.h:21,
from ../src/raw.cc:6:
../src/raw.cc: At global scope:
/root/.cache/node-gyp/12.16.2/include/node/node.h:608:43: warning: cast between incompatible function types from 'void ()(v8::Localv8::Object)' to 'node::addon_register_func' {aka 'void ()(v8::Localv8::Object, v8::Localv8::Value, void*)'} [-Wcast-function-type]
608 |       (node::addon_register_func) (regfunc),
|                                           ^
/root/.cache/node-gyp/12.16.2/include/node/node.h:642:3: note: in expansion of macro 'NODE_MODULE_X'
642 |   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
|   ^~~~~~~~~~~~~
../src/raw.cc:55:1: note: in expansion of macro 'NODE_MODULE'
55 | NODE_MODULE(raw, InitAll)
| ^~~~~~~~~~~
SOLINK_MODULE(target) Release/obj.target/raw.node
COPY Release/raw.node
make: Leaving directory '/homebridge/node_modules/homebridge-broadlink-rm/node_modules/raw-socket/build'

<EMAIL_ADDRESS>

I installed  Defensor7/homebridge-broadlink-rm  plugin which is a fork of this one and it is working also with RM3mini. He fixed it in his fork.

It doesn't look like it's in npm. How can I install the forked version?

It doesn't look like it's in npm. How can I install the forked version?

it looks like subject fork https://www.npmjs.com/package/homebridge-broadlink-rm4

I too just runned into this problem, it seems solved by manually installing hap-nodejs.
npm install -g hap-nodejs
Some references:
node -v v12.16.3
npm -v 6.14.5
homebridge v1.0.4
homebridge-config-ui-x v4.18.0

I installed Defensor7/homebridge-broadlink-rm plugin which is a fork of this one and it is working also with RM3mini. He fixed it in his fork.

I'm still having trouble with the Defensor fork. I honestly have no idea what I'm doing wrong. The plugin isn't detecting my device, and when I input the IP and MAC manually, I still get hit with "Device not found". I have an RM Mini3, and I think the PID, according to the Broadlink app, is 3727. I also tried the homebridge-broadlink-rm-tv plugin to no avail. And help would be greatly appreciated. I have everything else running buttery smooth in Homebridge except this.

I too just runned into this problem, it seems solved by manually installing hap-nodejs.
npm install -g hap-nodejs
Some references:
node -v v12.16.3
npm -v 6.14.5
homebridge v1.0.4
homebridge-config-ui-x v4.18.0

I tried your suggestion but didn't work. Then I removed the global and it worked!
npm install hap-nodejs


[WFLY-18759] Move MicroProfile tck artifacts from boms/common-expansion to boms/standard-test-expansion

Issue: https://issues.redhat.com/browse/WFLY-18759
This PR tires to move microprofile tck dependencies to boms/standard-test-expanion/, and it also adds <scope>test</scope> to the dependencies of:

org.eclipse.microprofile.openapi:microprofile-openapi-tck
org.eclipse.microprofile.reactive.messaging:microprofile-reactive-messaging-tck
org.eclipse.microprofile.telemetry.tracing:microprofile-telemetry-tracing-tck

where they were not, but I think they should be.

Thanks @gaol


Dead code analysis treats all top level vars as const and not global scope varibales that are subject to change

When compiling this the compiler assumes that repeatDependencyExists is always false (the value its initialized to), even though it's changed to true in a diffrent file.
Here is the Babel REPL results:
Babel REPL
Notice that

window.addEventListener("load", function () {

    //repeat.js dependency is optional, so check if it exists before using it
    if(repeatDependencyExists){
        parseRepeats();
    }else{
        //repeat.js dependency missing, check if any mvc-repeat elements exist and give an error if they do
        if(document.getElementsByClassName("mvc-repeat").length > 0){
            console.error("MVC.js: mvc-repeat element exists, but repeat.js dependency missing")
        }
    }

    parseHandlebarsInBody(0);

    //Done, call the onload event function if exists (it is optional to consume it)
    if(MVC.onload !== undefined){
        MVC.onload();
    }
});

Gets minified to (whitespace added for readability):
window.addEventListener("load",function(){
    0<document.getElementsByClassName("mvc-repeat").length && console.error("MVC.js: mvc-repeat element exists, but repeat.js dependency missing"), parseHandlebarsInBody(0),MVC.onload!==void 0&&MVC.onload()
});

Notice that the if statement that checks if repeatDependencyExists disapears

@kangax @loganfsmyth Are there other cases which requires top-level vars to be seen as non-const ?

I think it makes sense to treat each file/module as standalone by default, meaning that top-level declarations are immutable. But we should have an option to disable this for these kind of scenarios. Eventually, we should be able to get to the point of operating on the entire dependency graph and to be aware of what's immutable, what's referenced and so on (as well as plug in type annotations).

It's about top level vars in "script". undeclared identifiers won't be a problem afaik.
var x = true;
function a () {
  if (x) {
    console.log("hi");
  }
}

and now expect someone else (which the minifier cannot see) to change x and call a. If x is not declared, it is not a problem at all.


Log file a little noisy

In user testing Gary noticed that the log file had quite a lot of bitcoinj info in that wasn't necessary.
I have adjusted the logback.xml to make it a bit quieter.
Awaiting review and closing

Much improved.
Closing.


Missing tiles in planet.mbtiles

Using planet.mbtiles from Thursday, 14 July 2016 at 18:57 UTC, downloaded twice with md5:9821f7be1100f730165c6b394327ae46 (re: #379)
Browsing around Europe at zoom 9+ resulted in 404s around two cities: Stockholm and Amsterdam (while cities such as Hamburg, Oslo, and Copenhagen loaded fine)
Here are the specific tiles with 404s I observed:
Zoom 9 @ Amsterdam
/data/planet/9/262/168.pbf
/data/planet/9/263/168.pbf
Zoom 9 @ Stockholm
/data/planet/9/280/150.pbf
/data/planet/9/280/151.pbf
/data/planet/9/281/150.pbf
/data/planet/9/281/151.pbf
/data/planet/9/284/162.pbf
/data/planet/9/285/162.pbf
Zoom 10 @ Amsterdam
/data/planet/10/525/336.pbf
/data/planet/10/525/337.pbf
/data/planet/10/526/336.pbf
/data/planet/10/526/337.pbf
/data/planet/10/527/336.pbf
/data/planet/10/527/337.pbf
Zoom 10 @ Stockholm
/data/planet/10/560/300.pbf
/data/planet/10/560/301.pbf
/data/planet/10/560/302.pbf
/data/planet/10/560/303.pbf
/data/planet/10/561/300.pbf
/data/planet/10/561/301.pbf
/data/planet/10/561/302.pbf
/data/planet/10/561/303.pbf
/data/planet/10/562/300.pbf
/data/planet/10/562/301.pbf
/data/planet/10/562/302.pbf
/data/planet/10/562/303.pbf
/data/planet/10/563/300.pbf
/data/planet/10/563/301.pbf
/data/planet/10/563/302.pbf
/data/planet/10/563/303.pbf

Is there anything else I can provide to help?

I know as part of the optimize step it drops a lot of the pbfs from the MBTiles. Any ideas on how to test whether an MBTiles is complete?

@brianshaler

Is there anything else I can provide to help?
Zoom 10 @ Stockholm
/data/planet/10/560/300.pbf

Can you  re-test with sweden.mbtiles ?  :

download  country =  Sweden  ( 1.1 Gb )  from   http://osm2vectortiles.org/downloads/
start :
tileserver-gl-light  sweden.mbtiles
and on the other terminal :

wget  http://localhost:8080/data/osm2vectortiles/10/560/300.pbf

my log:
$ tileserver-gl-light  sweden.mbtiles
Listening at http://:::8080/
GET /data/osm2vectortiles/10/560/300.pbf 200 15.547 ms - 17280
GET /data/osm2vectortiles/10/560/300.pbf 200 2.167 ms - 17280

my version
$ tileserver-gl-light  -v
version 1.0.4

my tileserver-gl-light  log
$ tileserver-gl-light  sweden.mbtiles
Listening at http://:::8080/
GET /data/osm2vectortiles/10/560/300.pbf 200 15.547 ms - 17280
GET /data/osm2vectortiles/10/560/300.pbf 200 2.167 ms - 17280

md5sum  sweden.mbtiles
$ md5sum  sweden.mbtiles
1fe3916fd919c4172d8a026669037679  sweden.mbtiles

md5sum 300.pbf
$ md5sum 300.pbf
f402c256708cfb0182231d27646f0367  300.pbf

My proposal is this:
Leave all optimizing to the end, as a final step. This way, once all the merging has been performed, a run through can be done identifying all missing tiles. If there is any, build a new jobs list, re-export and re-test. If none are missing, optimize and complete.
Thoughts?

As I am more interested in trying to use the tileset in a project than the actual process of generating the tiles I feel this would be nice way to proceed.

Will take care of it as soon as I get to it. Just have too many fires burning currently.
We had this problem too many times (my fault!). The process needs to change and improve that this doesn't happen again.
Will verify the planet file for missing tiles and then regenerate them.
Thanks for the patience.

@lukasmartinelli
Here's a quick and dirty checker of an mbtiles (https://github.com/stirringhalo/missingtiles). Can be easily hacked to spit out the tiles to a file so they can be re-run.

Here's a quick and dirty checker of an mbtiles (https://github.com/stirringhalo/missingtiles).

Cool (good usage of Pythons sets)! Have something similar in mbtoolbox https://github.com/lukasmartinelli/mbtoolbox/blob/master/mbtoolbox/verify.py
Problem is the merge process (the reduce step of 65k MBTiles)...

Blargh, hate reinventing the wheel!
So we have multiple numbers of tiles expected depending on optimization:
planet expected (full size)
planet minimum (deduped and optimized)
planet missing
I figure the best bet is:
tiling (but no optimize) -> merge -> test (re-tile missing if no) -> optimize -> planet.mbtiles

Ok primary reason was that the merge jobs didn't actually read all jobs from RabbitMQ. Missed those before the holidays.
Now merged the 500 z8 pyramids into it. 200 z8 pyramids are still missing but this a improvement.

tiling (but no optimize) -> merge -> test (re-tile missing if no) -> optimize -> planet.mbtiles

Makes sense. A word about optimizing.. actually optimizing happens at the stage of one single z8 pyramid because optimizing the entire planet file takes too long (looking at 350m tiles in a sqlite db..).
Will also regenerate the extracts now.
I hope this will solve missing extracts problem like #385.
I am now exporting the remaining 200 missing z8 pyramids.

I tested the Full Planet generated on Tuesday, 26 July 2016 at 19:24 UTC.
But the md5sum is still 9821f7be1100f730165c6b394327ae46 so I guess the planet.mbtiles isn't really updated yet.
 Do your merge tools still consume the jobs from RabbitMQ without republishing them back into the queue?

I have updated the planet file (and now using the naming schema from #379). Already updated the city extracts - countries follow now.
I rerendered all missing z8 jobs so there should be no data missing (most of it was in US/Canada). What is missing is that around 100 z8 tile pyramids (most of which are exactly the ones where data was missing) are still v1 MVT spec #388 (will be fixed in a later update).
I no longer see errors for Stockholm and Amsterdam now. But I am not sure whether this had to do with this issue because they were z9 data and in Europe we never had data problems..
A quick note however. That a z8 tile does not exist in the planet file does not necessarily mean that an error happened. There are like 10k tiles (at south pole) where there is simply zero data at zoom level 8 and that is why there is no tile.

Hi. Today I downloaded switzerland.mbtiles and I am using it with tileserver-gl, I am getting only 200 and 304 responses, but I am getting funny rendering:

@daniyel the issue in TileServer-GL is https://github.com/klokantech/tileserver-gl/issues/38


IPv6 cleanup

Part of IPv6 modified as part of https://github.com/zephyrproject-rtos/zephyr/issues/8721 (centralized IPv6 send NS and ND timeouts through one k_delayed_work for each to reduce memory, separated IPv6 neighbor, mld and fragmentation functionality to separate files for easy readability).

Codecov Report

Merging #9439 into master will decrease coverage by 0.33%.
The diff coverage is 33.67%.

@@            Coverage Diff             @@
##           master    #9439      +/-   ##
==========================================
- Coverage   52.17%   51.83%   -0.34%
==========================================
  Files         212      214       +2
  Lines       25892    25776     -116
  Branches     5561     5546      -15
==========================================
- Hits        13508    13360     -148
- Misses      10126    10148      +22
- Partials     2258     2268      +10

Impacted Files
Coverage Δ

subsys/net/ip/ipv6.h
100% <ø> (ø)
:arrow_up:

subsys/net/ip/ipv6.c
57.48% <ø> (+20.42%)
:arrow_up:

subsys/net/ip/ipv6_fragment.c
27.97% <27.97%> (ø)

subsys/net/ip/ipv6_nbr.c
33.18% <33.18%> (ø)

subsys/net/ip/ipv6_mld.c
51.18% <51.18%> (ø)

subsys/net/ip/net_context.c
57.75% <0%> (-8.78%)
:arrow_down:

subsys/net/ip/tcp_internal.h
43.75% <0%> (-6.25%)
:arrow_down:

subsys/net/ip/net_core.c
69.23% <0%> (-4.46%)
:arrow_down:

subsys/net/ip/tcp.c
55.1% <0%> (-3.87%)
:arrow_down:

subsys/net/ip/net_private.h
35.71% <0%> (-3.58%)
:arrow_down:

... and 14 more

Continue to review full report at Codecov.

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

I have to do few more mandatory changes, do not merge this until further update.


Cannot get kicad 5.1.12 to recognize this plugin

This is on a Win 7  machine.
Downloaded the .zip, put the InteractiveHtmlBom folder into C:\Program Files\KiCad\share\kicad\scripting\plugins, which I have done for other plugins (and it worked).  But I do not see InteractiveHtmlBom in the list of plugins in pcbnew
(restarted KiCAD, and also tried "refresh plugins".

Try the latest, I just pushed a fix for py2 compatibility.

That fixed it!  Awesome tool, by the way.
THANK YOU
On Sun, Jan 22, 2023 at 5:02 AM qu1ck @.***> wrote:

Try the latest, I just pushed a fix for py2 compatibility.
—
Reply to this email directly, view it on GitHub
https://github.com/openscopeproject/InteractiveHtmlBom/issues/350#issuecomment-1399478635,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A4IVQKTQJCN7U6JFGO6W7DDWTUVVFANCNFSM6AAAAAAUC2NZVQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

No problem.
Keep in mind, next version of ibom will probably be last to support python 2 and therefore kicad 5.1 on windows.
You should upgrade to kicad 7 soon anyways :) It has a lot of new features and is much more polished.


docs: generate libraries.json to provide index

Exactly!  I am going to write a little nightly synth script that reads this file, and uses it to identify GAPIC/Veneers that match based on API name.  If it matches up, I add the warning we chatted about to the README.


Sparse Array for Group By

This is just a thought, but we should consider making a sparse array similar to hana::detail::hash_table for the purpose of making a fast "group by" algorithm. One problem would be that it would have to use fold_left to construct the lookup which I recall was an expensive up front cost.
The result could even be a hana::map as it appears that everything except make_map is agnostic to the use of hana::hash.
I kind of got a start on something. The following is ripped from hana::detail::hash:
namespace sparse_array
{
  template <typename Key, int ...i>
  struct group { };

  template <typename ...Groups>
  struct lookup_table
    : Groups...
  { };

  // find indices
  template <typename Key, std::size_t ...i>
  std::index_sequence<i...> find_indices_impl(group<Key, i...> const&);

  template <typename Key>
  std::index_sequence<> find_indices_impl(...);

  template <typename Lookup, typename Key>
  struct find_indices {
    using type = decltype(find_indices_impl<Key>(Lookup{}));
  };

  // update_group
  template <typename Group, typename Key, std::size_t Index>
  struct update_group {
    using type = Group;
  };

  template <std::size_t ...i, typename Key, std::size_t Index>
  struct update_group<group<Key, i...>, Key, Index> {
    using type = group<Key, i..., Index>;
  };

  // group_insert
  template <typename Lookup, typename Node, std::size_t Index, bool =
    (find_indices<Lookup, typename Node::key>::type::size() > 0)
  >
  struct group_insert;

  template <typename ...Groups, typename Node, std::size_t Index>
  struct group_insert<lookup_table<Groups...>, Node, Index, true> {
    // There is a group for that Key; append the new index to it.
    using type = lookup_table<
      typename update_group<Groups, typename Node::key, Index>::type...
    >;
  };

  template <typename ...Groups, typename Node, std::size_t Index>
  struct group_insert<lookup_table<Groups...>, Node, Index, false> {
    // There is no group for that Key; insert a new group.
    using type = lookup_table<Groups..., group<typename Node::key, Index>>;
  };

  template <typename Xs>
  struct make {
    using type = typename decltype(
      hana::fold_left(
        std::declval<Xs>(),
        hana::type_c<lookup_table<>>,
        hana::template_<group_insert>
      )
    )::type;
  };
}

See the following for background information:
http://stackoverflow.com/questions/42541148/how-do-i-speed-up-many-different-hanafilters-on-the-same-input-data

This would be super useful for turning an edge list...
hana::tuple<
    hana::pair<A, B>,
    hana::pair<A, C>,
    hana::pair<A, D>,
    hana::pair<B, C>,
    hana::pair<B, D>>

...into an adjacency list for compile-time graphs:
hana::tuple<
    hana::pair<A, hana::tuple<B, C, D>>,
    hana::pair<B, hana::tuple<C, D>>>


Update README.md

Some details about differences between 3rd party and contentful hosted sources.

Please squash and merge

I don't have permission :)

@floelhoeffel next time squash please :smile_cat: . Now you can do it even from within github https://github.com/blog/2141-squash-your-commits and if you have any doubt ask me or @geigerzaehler


Fix whitelisting documentation links in book.

While working on #990 depreciated the whitelisted_function I noticed a couple of links in the book that also should be updated to refer to the updated methods.
@fitzgen one question here, I assume I will also need to update the version number within the url as new documentation won't be built until the next release?

@fitzgen one question here, I assume I will also need to update the version number within the url as new documentation won't be built until the next release?

Ooo I didn't think of that. Too bad there is no way to link to the latest version on docs.rs, AFAIK.
Let's leave this open until we publish the next version.

@bors-servo r+
Finally!

:pushpin: Commit 31700bf has been approved by fitzgen

:hourglass: Testing commit 31700bf68f6db1f70c8e75f3dd0acc8dd6c23e93 with merge a57d880c493bab4fd851e778badfef62c77fd235...

Thanks again @treiff !

:sunny: Test successful - status-travis
Approved by: fitzgen
Pushing a57d880c493bab4fd851e778badfef62c77fd235 to master...


Proper 404 page redirection

If a /read/ page isn't located by the image handler, the client should probably be directed to a 404 page.

I guess the last page of an archive kinda ties in with this. Maybe a notification when you try to go to a page not in the archive?


Formatting isn't enforced

When check is run on the CI, it formats the code. However, this does not affect the repository code (just the local copy for the CI).
As https://github.com/KangarooKoala/ChargedUp2023/pull/1 verified, the check passes despite the code having (and continuing to have) a formatting error (in that case an unused import).

@KangarooKoala the problem is that spotlessapply executes before spotless checks the formatting, I can just disable formatting when running gradle check to fix that


testing lint in CI

What
Testing linter in CI
How to review
Describe the steps required to test the changes.
Who can review
Describe who worked on the changes, so that other people can review.

Closing as CI lint job failed as expected and git will reject merging


mad() got an unexpected keyword argument 'verbose'

Just trying to grab the MAD value for my dataset, but faced this error. [Recently updated to 0.2.5]
Codes are as follow:
import benford as bf
mad1 = bf.mad(rawdata["Gross Total"], test=1)
Traceback (most recent call last):
File "", line 1, in
mad1 = bf.mad(rawdata["Gross Total"], test=1)
File "C:\Users\sebastianlimzj\AppData\Local\Continuum\anaconda3\lib\site-packages\benford\benford.py", line 1362, in mad
start.first_digits(digs=test, MAD=True, MSE=True, simple=True)
File "C:\Users\sebastianlimzj\AppData\Local\Continuum\anaconda3\lib\site-packages\benford\benford.py", line 639, in first_digits
self.MAD = mad(df, test=digs, verbose=self.verbose)
TypeError: mad() got an unexpected keyword argument 'verbose'

Thanks for reporting.
This is probably a bug resulting from the deprecation of the ìnformargument in favor of verboseone, and the latter must have been incorrectly inserted in themad()` function.
I will look into it.

All should be fine now, in the latest master branch.
It will be in Pypi (pip install) in the next version (0.2.6).
Let me know if there is any other problem.
Cheers

Version 0.2.6 now in Pypi
pip install --upgrade benford_py


Run ./run.sh 0 "A pineapple." but faild

File "/data1/git-repo/prolificdreamer/gridencoder/grid.py", line 54, in forward
_backend.grid_encode_forward(inputs, embeddings, offsets, outputs, B, D, C, L, S, H, dy_dx, gridtype, align_corners, interpolation)
TypeError: grid_encode_forward(): incompatible function arguments. The following argument types are supported:
1. (arg0: at::Tensor, arg1: at::Tensor, arg2: at::Tensor, arg3: at::Tensor, arg4: int, arg5: int, arg6: int, arg7: int, arg8: int, arg9: float, arg10: int, arg11: Optional[at::Tensor], arg12: int, arg13: bool, arg14: int) -> None

您的邮件我尽力在12小时内处理。I'll be responding within 12 hours.

File "/data1/git-repo/prolificdreamer/gridencoder/grid.py", line 54, in forward _backend.grid_encode_forward(inputs, embeddings, offsets, outputs, B, D, C, L, S, H, dy_dx, gridtype, align_corners, interpolation) TypeError: grid_encode_forward(): incompatible function arguments. The following argument types are supported: 1. (arg0: at::Tensor, arg1: at::Tensor, arg2: at::Tensor, arg3: at::Tensor, arg4: int, arg5: int, arg6: int, arg7: int, arg8: int, arg9: float, arg10: int, arg11: Optional[at::Tensor], arg12: int, arg13: bool, arg14: int) -> None
I've also encountered this issue, have you solved it?

您的邮件我尽力在12小时内处理。I'll be responding within 12 hours.


Sidekiq Strategy and batch_size

I am using sidekiq strategy. My Index setting is
default_import_options batch_size: 100, bulk_size: 10.megabytes
I am using save on individual records,
Chewy.strategy(:sidekiq) do         document.save   end
But I think this code is not batching 100 items and sending it to elastic search service as I am receiving error that try batching request.
My question is if I have defined default import option, does chewy batch requests by default or does I have to do it manually.

Hey, it definitely should do it in batches. Everything comes to import method is handled in batches. As you can see here, https://github.com/toptal/chewy/blob/master/lib/chewy/strategy/sidekiq.rb#L19, we are using import method after all the stuff is done. As for queue name, there was an attempt: https://github.com/toptal/chewy/pull/438, but it is not merged yet unfortunately. You can simply try to do class_eval on Chewy::Strategy::Sidekiq::Worker to modify its options.


Add a backward compatible way of getting random bytes

Should allow you to keep using an older version of OTP with rand_bytes/1 otherwise uses strong_rand_bytes/1

CI fails because of Reason: {badmatch,{error,{"no such file or directory","cowlib.app"}}}. I'm not sure how to fix that.

crypto.rand_bytes is deprecated in erlang/OTP 20. I believe that this PR fixes the error by using strong_rand_bytes. @jonalmeida have you been able to publish a module up that would fix this, or waiting for merge here?

@sb8244 Waiting for merge and/or someone to fix the CI build since it's not related to this.

Thanks for the update @jonalmeida. I'm still seeing some issues with the code that I'm trying to get working, although it could be related to that library and not this one. I actually see that websocket_client master has the strong_rand_bytes which is what I needed (not backwards compat)


feat(cors): Enable to check origin header by a function.

I would also like to be able to dynamically check Origin by a function.

Hi @usualoma !
Good feature! I'll merge it. Thank you!


feat: astro-font - optimize fonts & prevent CLS

Astro Font: https://www.launchfa.st/blog/building-astro-font
Changes
This PR integrates astro-font which automatically generates the fallback font and pass it as the CSS Variable.

thank you for your contribution! <3
@all-contributors please add @rishi-raj-jain for code


Alcatraz on Xcode 6.2 crash

I have just updated Xcode to 6.2, and download the Alcatraz repository from Github and build it in Xcode.
Alcatraz has already appeared in Xcode.

The problem is when I touch the Package Manager Xcode crashed.

I don't know how to fix it!

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/9394488-alcatraz-on-xcode-6-2-crash?utm_campaign=plugin&utm_content=tracker%2F282297&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F282297&utm_medium=issues&utm_source=github).

same happened with me. Any luck?

So you built from master then? @kattrali

Yes

Very strange. Maybe try clean and build again? I'm not seeing anything unusual running the same version of Xcode (6C131e) using commit d9ac75dd9b9b1dc4235a44d128b56679773c4f2b.

@kattrali , I have tried clean and build again.Everything is OK,thank you very much.

Awesome! Glad to help!


Custom learning site provisioning failed

We did the provisioning procedure until the end 2 times. URL should be: https://rbinternational.sharepoint.com/sites/nwowlc but nothing is available.
I got an error message "Access denied. You do not have permission to perform this action or access this resource." Details see below. I am a global admin in our tenant.
Unfortunately, your request to provision
"Custom learning for Office 365"
template failed.

Here is the exception that occurred:     Type =     System.Exception Message =     {"error":{"code":"-2147024891,     System.UnauthorizedAccessException","message":{"lang":"en-US","value":"Access     denied. You do not have permission to perform this action or access this     resource."}}} Source = OfficeDevPnP.Core TargetSite = Void MoveNext()     StackTrace = at     OfficeDevPnP.Core.ALM.AppManager.d__39.MoveNext() ---     End of stack trace from previous location where exception was thrown --- at     System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)     at     System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task     task) at OfficeDevPnP.Core.ALM.AppManager.d__5.MoveNext()     --- End of stack trace from previous location where exception was thrown     --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task     task) at     System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task     task) at OfficeDevPnP.Core.ALM.AppManager.Add(Byte[] file, String filename,     Boolean overwrite, AppCatalogScope scope, Int32 timeoutSeconds) at     OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.Utilities.TenantHelper.ProcessApps(Tenant     tenant, ProvisioningTenant provisioningTenant, FileConnectorBase connector,     TokenParser parser, PnPMonitoredScope scope,     ProvisioningTemplateApplyingInformation applyingInformation,     ProvisioningMessagesDelegate messagesDelegate) at     OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.ObjectHierarchyTenant.ProvisionObjects(Tenant     tenant, ProvisioningHierarchy hierarchy, String sequenceId, TokenParser     parser, ProvisioningTemplateApplyingInformation applyingInformation) at     OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.SiteToTemplateConversion.ApplyProvisioningHierarchy(Tenant     tenant, ProvisioningHierarchy hierarchy, String sequenceId,     ProvisioningTemplateApplyingInformation provisioningInfo) at     Microsoft.SharePoint.Client.TenantExtensions.ApplyProvisionHierarchy(Tenant     tenant, ProvisioningHierarchy hierarchy, String sequenceId,     ProvisioningTemplateApplyingInformation applyingInformation) at     SharePointPnP.ProvisioningApp.WebJob.ProvisioningFunction.d__0.MoveNext()     in     C:\github\sp-provisioning-service\SharePointPnP.ProvisioningApp\SharePointPnP.ProvisioningApp.WebJob\ProvisioningFunction.cs:line     337 HResult = -2146233088
Here is the exception that occurred:     Type =     System.Exception Message =     {"error":{"code":"-2147024891,     System.UnauthorizedAccessException","message":{"lang":"en-US","value":"Access     denied. You do not have permission to perform this action or access this     resource."}}} Source = OfficeDevPnP.Core TargetSite = Void MoveNext()     StackTrace = at     OfficeDevPnP.Core.ALM.AppManager.d__39.MoveNext() ---     End of stack trace from previous location where exception was thrown --- at     System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)     at     System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task     task) at OfficeDevPnP.Core.ALM.AppManager.d__5.MoveNext()     --- End of stack trace from previous location where exception was thrown     --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task     task) at     System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task     task) at OfficeDevPnP.Core.ALM.AppManager.Add(Byte[] file, String filename,     Boolean overwrite, AppCatalogScope scope, Int32 timeoutSeconds) at     OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.Utilities.TenantHelper.ProcessApps(Tenant     tenant, ProvisioningTenant provisioningTenant, FileConnectorBase connector,     TokenParser parser, PnPMonitoredScope scope,     ProvisioningTemplateApplyingInformation applyingInformation,     ProvisioningMessagesDelegate messagesDelegate) at     OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.ObjectHierarchyTenant.ProvisionObjects(Tenant     tenant, ProvisioningHierarchy hierarchy, String sequenceId, TokenParser     parser, ProvisioningTemplateApplyingInformation applyingInformation) at     OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.SiteToTemplateConversion.ApplyProvisioningHierarchy(Tenant     tenant, ProvisioningHierarchy hierarchy, String sequenceId,     ProvisioningTemplateApplyingInformation provisioningInfo) at     Microsoft.SharePoint.Client.TenantExtensions.ApplyProvisionHierarchy(Tenant     tenant, ProvisioningHierarchy hierarchy, String sequenceId,     ProvisioningTemplateApplyingInformation applyingInformation) at     SharePointPnP.ProvisioningApp.WebJob.ProvisioningFunction.d__0.MoveNext()     in     C:\github\sp-provisioning-service\SharePointPnP.ProvisioningApp\SharePointPnP.ProvisioningApp.WebJob\ProvisioningFunction.cs:line     337 HResult = -2146233088

Here is the exception that occurred:     Type =     System.Exception Message =     {"error":{"code":"-2147024891,     System.UnauthorizedAccessException","message":{"lang":"en-US","value":"Access     denied. You do not have permission to perform this action or access this     resource."}}} Source = OfficeDevPnP.Core TargetSite = Void MoveNext()     StackTrace = at     OfficeDevPnP.Core.ALM.AppManager.d__39.MoveNext() ---     End of stack trace from previous location where exception was thrown --- at     System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)     at     System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task     task) at OfficeDevPnP.Core.ALM.AppManager.d__5.MoveNext()     --- End of stack trace from previous location where exception was thrown     --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task     task) at     System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task     task) at OfficeDevPnP.Core.ALM.AppManager.Add(Byte[] file, String filename,     Boolean overwrite, AppCatalogScope scope, Int32 timeoutSeconds) at     OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.Utilities.TenantHelper.ProcessApps(Tenant     tenant, ProvisioningTenant provisioningTenant, FileConnectorBase connector,     TokenParser parser, PnPMonitoredScope scope,     ProvisioningTemplateApplyingInformation applyingInformation,     ProvisioningMessagesDelegate messagesDelegate) at     OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.ObjectHierarchyTenant.ProvisionObjects(Tenant     tenant, ProvisioningHierarchy hierarchy, String sequenceId, TokenParser     parser, ProvisioningTemplateApplyingInformation applyingInformation) at     OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.SiteToTemplateConversion.ApplyProvisioningHierarchy(Tenant     tenant, ProvisioningHierarchy hierarchy, String sequenceId,     ProvisioningTemplateApplyingInformation provisioningInfo) at     Microsoft.SharePoint.Client.TenantExtensions.ApplyProvisionHierarchy(Tenant     tenant, ProvisioningHierarchy hierarchy, String sequenceId,     ProvisioningTemplateApplyingInformation applyingInformation) at     SharePointPnP.ProvisioningApp.WebJob.ProvisioningFunction.d__0.MoveNext()     in     C:\github\sp-provisioning-service\SharePointPnP.ProvisioningApp\SharePointPnP.ProvisioningApp.WebJob\ProvisioningFunction.cs:line     337 HResult = -2146233088

I'm having the exact same issue in my tenant.. Global Admin role set as well, so shouldn't be permissions related

Solution was:
Turned out the global administrator logged into the SharePoint Provisioning Service hat no permission in the Site Collection App Catalog.
Once we added the permissions the provisioning worked.


Question Regarding ModifyResponseBody - How to Pass InClass , OutClass and RewriteFunction in PropertyBased Configuration

I have a requirement where ModifyResponseBodyFIlter takes different InClass, OutClass and RewriteFunctions based on the Route.
I have all my Routes stored in a PropertiesFile/DB. I know in a DSL way, I can easily pass the above config information, but when it comes to Property Based configuration how do I end up passing this.
Am I missing something? I was expecting something similiar to passing KeyResolver by defining a Bean would help. Do enlighten me.
Currently the we achieved it by Creating a Filter that returns the ModifyResponseBodyFilter.
public CustomResponseBodyFilterFactory(String name, Class inClass, Class outClass,
                                               RewriteFunction rewriteFunction) {
        this.inClass  = inClass ;
        this.outClass = outClass ;
        this.rewriteFunction = rewriteFunction ;
        this.name     = name ;
    }

    public GatewayFilter apply() {
        return apply(o -> {
        });
    }

    @Override
    public GatewayFilter apply(Object config) {
       Return a instance of Modify Response Body filter by creating a Config with above constructor Parameters

    }
    }

rewrite filters require configuration using java dsl

May you please provide some sample code for this.


Add option to remove @use lines. (And move to top by default)

A lot of projects have files split out.
@use "../tokens/color" as *;
@use "../tokens/spacing" as *;

When bundling them, these @use's may no longer be needed.
If the option to not include them isn't marked, these should be moved to the top of the file.

I added a postbuild script  in package.json, in order to comment out @use lines:
   "replace-use": "replace \"@use\" \"// @use\" bundled/ -r --include=\"*.scss\""
Note: requires npm replace.

@Klarence Thanks for feedback. I'm overwhelmed with my other project, but I hope, I'll take a look at it in the next weeks

Sorry accidentally closed, on my phone.
Thanks for the reply. I know how work can get. Hope you are not under to much stress.
Commenting out is a good solution for now. I am manually adding back in the @use "sass:math", sass:string, etc ideally these should be added to the top and manually ignored.
If I figure out a automated solution, l will leave another comment.
Thank you for your work on this package.


Fix new build system - Xcode 10

Migration to switt 4.2

This PR will be closed as we have fixed here. Thank you!


Support for multiple ACLs

I need to use multiple ACLs for different purposes. I tried to use a list in bind['acl-role'] but that does not work.

Thanks for your patience. I missed the notification about this issue being created. Indeed the acl-role attribute does not allow multiple entries to be added. However you can directly add multiple roles via adding to the node.default['bind']['acls'] list. It should be an array of hashes with an id (for the name of the ACL) and an array of hosts (which are the ACL entries).
For example in a wrapper recipe:
node.default['bind']['acls'] << { 'id' => 'acl-name', 'hosts' => ['! <IP_ADDRESS>', '10/8'] }

That should work as you wish. I'm currently working on supporting some custom resources for adding such things as ACLs, and that should be present in the 2.0 version of the cookbook.

Since writing the preceding comment I've released v2.0.0 of the cookbook. This adds the ability to specify multiple ACLs through use of the bind_acl resource. It is a fairly big change otherwise, but you might want to give it a try to fix this issue.


setFilesToUpload is not triggering change event

What is your Scenario?
I want to test file uploading. My input field has a change event that is not being triggered after using setFilesToUpload.
I also tried using t.dispatchEvent(field, 'change') (without the options), the same result.
What is the Current behavior?
As you can see in the code, there's an expect for field.value to contain simple-document.pdf. This works as expected.
However, since change is not triggered, the custom code for validating the field is not running.
Due to that the whole field is not validated.
What is the Expected behavior?
I expect that change is called or is at least callable via dispatchEvent.
What is your public website URL? (or attach your complete example)

What is your TestCafe test code?
test.only('Application gets valid when selecting a file to upload', async (t) => {
    const field = Selector('[ng-reflect-name="Application"]');

    await t.setFilesToUpload(field, '../assets/simple-document.pdf');
    await t.expect(field.value).contains('simple-document.pdf'); // <- this works

    const options = Object.assign({
        eventConstructor: 'Event',
    });

    await t.dispatchEvent(field, 'change', options);

    await t.expect(field.hasClass('ng-valid')).ok(); // <- does not work, due to no invocation of change
});

This is the HTML element (Angular):
<input type="file" (change)="fileUpload($any($event.target).files, attachment)" [formControlName]="'Application'" />

<!-- rendered HTML -->
<input type="file" ng-reflect-name="Application" class="ng-invalid" />

Your complete configuration file
{
  "browsers": [
    "chrome"
  ],
  "baseUrl": "http://localhost:4200",
  "src": "e2e",
  "reporter": [
    {
      "name": "spec"
    }
  ]
}

Your complete test report
No response
Screenshots
No response
Steps to Reproduce

TestCafe version
2.4.0
Node.js version
18.11
Command-line arguments
testcafe --live
Browser name(s) and version(s)
No response
Platform(s) and version(s)
macOS 13.2.1
Other
No response

User error... :)
It was actually a bug in the change-handler code


Compilation error: "property 'mainClassName' doesn't have a configured value"

Hello,
with repo cloned at last commit (4866a3f2c180f628405b1e4efbde0949a1418c10) I have the following error in compilation:
$ ./gradlew build
Note: /home/tomrss/.emacs.d/.cache/groovy-language-server/src/main/java/net/prominic/groovyls/GroovyLanguageServer.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

> Task :shadowJar FAILED

FAILURE: Build failed with an exception.

* What went wrong:
A problem was found with the configuration of task ':shadowJar' (type 'ShadowJar').
  - In plugin 'com.github.jengelman.gradle.plugins.shadow.ShadowBasePlugin' type 'com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar' property 'mainClassName' doesn't have a configured value.

    Reason: This property isn't marked as optional and no value has been configured.

    Possible solutions:
      1. Assign a value to 'mainClassName'.
      2. Mark property 'mainClassName' as optional.

    Please refer to https://docs.gradle.org/7.6.1/userguide/validation_problems.html#value_not_set for more details about this problem.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 2s
7 actionable tasks: 7 executed

This can be solved by applying the following patch:
diff --git a/build.gradle b/build.gradle
index 1b9effa..e9e923b 100644
--- a/build.gradle
+++ b/build.gradle
@@ -12,16 +12,11 @@ test {
   useJUnitPlatform()
 }

+mainClassName = "net.prominic.groovyls.GroovyLanguageServer"
 ext.mainClass = "net.prominic.groovyls.GroovyLanguageServer"

 tasks.build.dependsOn tasks.shadowJar

-shadowJar {
-  manifest {
-    attributes "Main-Class": "net.prominic.groovyls.GroovyLanguageServer"
-  }
-}
-
 repositories  {
   mavenCentral()
 }

With this, the build runs correctly and the jar manifest META-INF/MANIFEST.MF is:
Manifest-Version: 1.0
Main-Class: net.prominic.groovyls.GroovyLanguageServer

I can submit a PR for this.
Thanks,
Tommaso

I updated to Gradle 8.8, and everything seems to be working without changes. Closing.


Make getClazzFields obtain super class field

What is the purpose of the change
Make getClazzFields obtain super class field to support bname. And it's backported from 5.0.0.
Brief changelog
Make getClazzFields obtain super class field

Coverage decreased (-0.09%) to 52.017% when pulling 2e537bd8aea35a57751aff50138c4943f1e04772 on drpmma:feature/bname into eeecef3506d5b8190dcf912059524436ad625d8d on apache:4.9.x.

Coverage decreased (-0.09%) to 52.017% when pulling 2e537bd8aea35a57751aff50138c4943f1e04772 on drpmma:feature/bname into eeecef3506d5b8190dcf912059524436ad625d8d on apache:4.9.x.

Codecov Report

Merging #5541 (2e537bd) into 4.9.x (eeecef3) will decrease coverage by 0.16%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##              4.9.x    #5541      +/-   ##
============================================
- Coverage     48.14%   47.97%   -0.17%
+ Complexity     5119     5097      -22
============================================
  Files           650      650
  Lines         43065    43069       +4
  Branches       5631     5632       +1
============================================
- Hits          20732    20663      -69
- Misses        19816    19889      +73
  Partials       2517     2517

Impacted Files
Coverage Δ

...he/rocketmq/remoting/protocol/RemotingCommand.java
71.11% <100.00%> (+0.42%)
:arrow_up:

...rocketmq/broker/filtersrv/FilterServerManager.java
20.00% <0.00%> (-14.29%)
:arrow_down:

...org/apache/rocketmq/common/stats/StatsItemSet.java
44.77% <0.00%> (-5.98%)
:arrow_down:

...in/java/org/apache/rocketmq/test/util/MQAdmin.java
38.88% <0.00%> (-5.56%)
:arrow_down:

...ketmq/client/impl/consumer/PullMessageService.java
71.11% <0.00%> (-4.45%)
:arrow_down:

...ache/rocketmq/common/stats/MomentStatsItemSet.java
39.13% <0.00%> (-4.35%)
:arrow_down:

...ketmq/common/protocol/body/ConsumerConnection.java
95.83% <0.00%> (-4.17%)
:arrow_down:

...ent/impl/consumer/DefaultLitePullConsumerImpl.java
68.64% <0.00%> (-2.72%)
:arrow_down:

...ava/org/apache/rocketmq/filter/util/BitsArray.java
59.82% <0.00%> (-2.57%)
:arrow_down:

...he/rocketmq/client/trace/AsyncTraceDispatcher.java
81.42% <0.00%> (-2.39%)
:arrow_down:

... and 9 more

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


[TIR][TVMScript] Convert tir.op operands to PrimExpr

Previously, some operations in tvm.tir.op required the operand to already be a PrimExpr, and raised an error if the operand was instead a python object.  This could cause failures round-trip through TVMScript, as int32 and float32 types are printed as literals in TVMScript, relying on automatic conversion to convert them back into PrimExpr objects.  For example, T.expr2(T.int32(0)) is printed as T.expr2(0), which then passes the python object 0 into tvm.tir.op.expr2 when parsing the TVMScript.
This commit updates the operations in tvm.tir.op to convert operands prior to accessing operand.dtype, avoiding the error and allowing these expressions to round-trip.
This issue was first noticed in https://github.com/apache/tvm/pull/15076 for T.ret(0), but applied to any operator that used the operand's dtype without first normalizing to PrimExpr.

@tvm-bot rerun


Test cases for Azure KV plugins

Add test cases for:

AzKVKeyNoExpiryEvent
AzKVSecretNoExpiryEvent
AzKVNonRecoverableEvent

@susam, thanks for the time you spent in reviewing this PR. I have addressed the review comments.


feat:[pl-42505]: Add WinRM Creds support to TF

Describe your changes
Comment Triggers

PR Check triggers

Build: trigger build
Sub Category Field Check: trigger subcategoryfieldcheck
gitleaks: trigger gitleaks

 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.

This pull request has been automatically closed due to 30 days of inactivity. If you believe this was done in error, please feel free to reopen the PR or reach out to the BT team for further assistance. Thank you for your contributions!


Can pathlib be used for pkg_resources

In Python version 3.4 and higher, there's a new pathlib module that does things similar to how pkg_resources does it.
This could be a good approach to dropping versions 2 and lower. I could've made a pull request instead, but I made this issue in case someone had any opinions about this.

With Python 2.7 EOL set to 2020, there's currently no plan to drop support for it.

I'm interested in dropping support for new releases on Python 2.7. I can imagine maintaining support for Python 2.7 in a bugfix-only branch. My main worry would be breaking the expectation that the latest version of setuptools is generally viable in all supported versions. But there are features now that would mitigate that issue -- the python_version declaration and PEP 518 support in pip, I'm thinking systems admins and app developers would still be able to install the "latest" version of setuptools, even in Python 2.7, but they would only get the maintenance versions. Presumably the same thing happened for Python 2.6. I'd really like to drop support for Python 2.7 earlier than later if possible.

We might consider revisiting this issue in the future once Python 2.7 is no longer supported (on the latest master branch).


Private mode indicator invisible?

For some reason even with the tweak enabled the private mode indicator isn't visible.

If you not turn on Firefox sync, it's not displayed.

This should be fixed now.

What tweak should I use to hide this Generic Icon when not signed in ?


This should be isBuiltInSink not isBuiltInSource

https://github.com/apache/pulsar/blob/5d02c70b674a36e5bd36c60e488737db5740d21e/pulsar-functions/localrun/src/main/java/org/apache/pulsar/functions/LocalRunner.java#L291

please assign to me as my first issue!

There are two similar pr #7285 #7272  for this issue, but it's not assigned to any one

I submitted 7272 and is just pending approval. But honestly, either one is
fine. Let just get this fix in. =)
On Wed, Jun 17, 2020 at 4:21 AM Rudy Steiner<EMAIL_ADDRESS>wrote:

There are two similar pr #7285
https://github.com/apache/pulsar/pull/7285 #7272
https://github.com/apache/pulsar/pull/7272 for this issue, but it's not
assigned to any one
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/apache/pulsar/issues/7271#issuecomment-645314325, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AIOS2EOPITBXGIOOMEY4TZTRXCRLTANCNFSM4N5QXMSA
.


Azure SQL Serverless - when will it have ARM template support?

Prior to serverless feature we use ARM templates to provision Azure SQL DB's, however there appears to be no support for building a serverless config using ARM template. I can create standard DTU using ARM, then use Powershell to change to serverless but then I can't redeploy ARM with unrelated changes (such as a new LTR backup config) without it reverting to DTU. I am forced to make ongoing incremental changes via powershell.
Would like to know if ARM template support for Azure SQL serverless is very soon (and we can survive the wait) or will be a long time, in which we may need to change our practices to accommodate ongoing updates via Powershell.

Duplicate of #41350


Exception during deserialization on Messages object

I am trying to create an API using this official template: https://wrapt.dev/docs/message-template#add-message-template-properties when I add the Messages in the template definition, I get an exception.
Steps to reproduce
Command: craftsman new domain .\definition.yml
The .\definition.yml file contents:
DomainName: WeSendReportsCompany
BoundedContexts:
  - ProjectName: Reporting
    Producers:
      - EndpointRegistrationMethodName: SubmitReportRequest
        ExchangeName: report-requests
        MessageName: ISendReportRequest
        ExchangeType: fanout
        ProducerName: ReportWasRequested
        UsesDb: true
    Consumers:
      - EndpointRegistrationMethodName: AllReportsGetSentFromHereEndpoint
        ConsumerName: SenderOfAllReports
        ExchangeName: report-requests
        MessageName: ISendReportRequest
        QueueName: all-reports
        ExchangeType: fanout
    Messages:
      - Name: ISendReportRequest
        Properties:
          - Name: ReportId
            Type: guid
          - Name: Provider
            Type: string
          - Name: Target
            Type: string
    Bus:
      AddBus: true

Exception when executing the command: Error: (Line: 3, Col: 5, Idx: 77) - (Line: 3, Col: 5, Idx: 77): Exception during deserialization
I figured out it's the Messages part, as removing it makes craftsman parse the file without problems and scaffolds the project as expected.
Further technical details
Craftsman version (dotnet tool list -g):  0.28.0

Thanks for the callout I'll look into this


Looking a Frontend Developer to join the team

Hello everyone,
in the last few days i talked to many of my Advanced Slides users to create a Roadmap for Version 2.0. Most of them are big fans of the grid component. It offers them the possibility to layout slides the way they want.
At the same time they told me that the learning curve was very steep and that they keep looking at the documentation even after they had used it for a long time. The component is not intuitive enough.
I want to change that with version 2.0. I would like to develop an UI that gives Advanced Slides the possibility to edit slides via drag & drop. A WYSIWYG Editor that transposes the changes the user makes to markdown. This means that the user will still be able to create slides in markdown, but will be able to edit the layout using drag & drop in the slide preview.
That’s why I want to start a call here. I am looking for a developer with frontend know-how who would like to join the development team and develop this UI together with me. Please send me a private message in discord or the obsidian forum and we can meet for coffee to talk about everything else.
Thx for your support

I'm interested but this is more of an architecture problem.
https://github.com/artem-barmin/obsidian-block-drag-n-drop
This one uses remark-parse and unified. More industry standard. the parser and the tokenization are all separated. More difficult but faster evolution, faster improvement.
(tbh i'm more interested in custom layouts. i need these slides to wrap, and left align.)


Ruby counted as Java(!), but search shows 0 Java files

Repo https://github.com/Madek/madek-webapp: says: 54% Java
https://github.com/Madek/madek-webapp/search?l=java show: 0 Java files
I am getting the same results if using linguist locally.
What's worse, setting .gitattributes has no effect at all. I added the following (which shouldn't even be necessary):
$ cat .gitattributes
*.rb linguist-language=Ruby
*.js linguist-language=JavaScript
*.haml linguist-language=HAML
*.sass linguist-language=SASS

That all makes me think there is some internall bug which I can't even begin to grasp…

I am getting the same results if using linguist locally.

By same results you mean 54% Java right?
Try to use the --breakdown option to see which files are detected as Java.

Yeah, sorry, I wrote that way too short.
Same results means:

same percentage of Java Code
--breakdown does show Java files*

apart from a few vendored files which is just removed, but those are not anywhere close to 50%

These files are detected as Java because of the modeline (-*- Mode: Java;):
public/mozilla-pdf/core/pdf.js
public/mozilla-pdf/core/pdf.worker.js
public/mozilla-pdf/web/compatibility.js
public/mozilla-pdf/web/debugger.js
public/mozilla-pdf/web/viewer.js

A .gitattributes fixes it but you need to make a new commit before checking again ;)

Ah, thanks! :)
Committing "fixed" it, but not because of the .gitattributes (don't need those anymore) but because I had not committed the deletion of those files. Now it works as expected.