[Windows] Sometimes can not access the service alias

Rancher versions:
rancher/server: v1.6.14
Docker version: (docker version,docker info preferred)
17.06.2-ee-6
Operating system and kernel: (cat /etc/os-release, uname -r preferred)
Windows 2016
Type/provider of hosts: (VirtualBox/Bare-metal/AWS/GCE/DO)
AWS
Environment Template: (Cattle/Kubernetes/Swarm/Mesos)
Windows
Steps to Reproduce:

Create two services in a stack and set service links - service1:whl3

version: '2'
services:
  server1:
    image: microsoft/nanoserver
    stdin_open: true
    network_mode: transparent
    tty: true
    isolation: default
    labels:
      io.rancher.container.pull_image: always
  client1:
    image: microsoft/nanoserver
    stdin_open: true
    network_mode: transparent
    tty: true
    isolation: default
    links:
    - server1:whl3
    labels:
      io.rancher.container.pull_image: always

Waiting for client1 to start successfully
Log in client1 and ping whl3

Results:
Sometimes it will prompt "Ping request could not find host whl3. Please check the name and try again." Try ping whl3 a few minutes later, and sometimes it's accessible
Here is my operation record

PS C:\> ping whl3
Ping request could not find host whl3. Please check the name and try again.
PS C:\> Resolve-DnsName whl3

Name                                           Type   TTL   Section    IPAddress
----                                           ----   ---   -------    ---------
whl3.u3.rancher.internal                       A      1     Answer     <IP_ADDRESS>

PS C:\> ping <IP_ADDRESS>

Pinging <IP_ADDRESS> with 32 bytes of data:
Reply from <IP_ADDRESS>: bytes=32 time<1ms TTL=128
Reply from <IP_ADDRESS>: bytes=32 time<1ms TTL=128
Reply from <IP_ADDRESS>: bytes=32 time<1ms TTL=128
Reply from <IP_ADDRESS>: bytes=32 time=2ms TTL=128

Ping statistics for <IP_ADDRESS>:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 2ms, Average = 0ms

# After a few minutes
PS C:\> ping whl3

Pinging whl3.u3.rancher.internal [<IP_ADDRESS>] with 32 bytes of data:
Reply from <IP_ADDRESS>: bytes=32 time<1ms TTL=128
Reply from <IP_ADDRESS>: bytes=32 time<1ms TTL=128
Reply from <IP_ADDRESS>: bytes=32 time<1ms TTL=128
Reply from <IP_ADDRESS>: bytes=32 time<1ms TTL=128

If you can not reproduce, you can try to create multiple identical stacks

I have already located the problems that there is an DNS parameter --never-recurse-to=<IP_ADDRESS> need to be set in the catalog.
This will let dns service not to recursively search dns from itself.

Tested with Rancher/server:v1.6.14.
I added the parameter --never-recurse-to=<IP_ADDRESS> to the DNS and the issue has been resolved.
I will test again after the next RC release


Lushify hot reload did not apply message

Hi,
I just started to play with lush.nvim. Sounds very interesting.
When I change the HSL numbers, I observe that the colors change but I get the following message:
Lushify hot reload did not apply: /home/oponkork/.loca...s/lush_tutorial.lua:52: unexpected symbol near ','
Just wanted to let you know. :)

Lush.ify will attempt to parse your changes every time the buffer updates (so each keystroke), so basically it will error until the line is complete.
Eg:
hsl(100, 50, 5 -- error
hsl(100, 50, 50 -- error
hsl(100, 50, 50) -- Lua OK!

You also see this if you use vims C-a/C-x increment/decrement keys because that seems to delete from the buffer, then write to the buffer in two steps, so there's stage where there's no value present in the hsl call.
I'm working on ideas for better error reporting, right now as you see it just spits out anything it can, in case you actually have a bug.

You also see this if you use vims C-a/C-x increment/decrement keys because that seems to delete from the buffer, then write to the buffer in two steps, so there's stage where there's no value present in the hsl call.

Ahaa!! I was not aware of this. Learnt something new today.

I'm working on ideas for better error reporting, right now as you see it just spits out anything it can, in case you actually have a bug.

Yes that would be helpful.


Issue launching server with Bountiful Baubles

Affected Product(s)
SpongeForge
Version
1.16.5-36.2.5-8.0.0-RC1055
Operating System
Windows
Java Version
1.16.5
Plugins/Mods
For this instance the only conflicting mods will be listed:
Spongeforge
Bountiful Baubles

Describe the bug
When launching the server it will list this line:
[09:10:02] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:668]: Caused by: org.spongepowered.asm.mixin.injection.throwables.InjectionError: Critical injection failure: Variable modifier method onApplyDamageAmount(FLnet/minecraft/util/DamageSource;)F in bountifulbaubles.mixins.json:MixinPlayerEntity failed injection check, (0/1) succeeded. Scanned 1 target(s). Using refmap bountifulbaubles-common-refmap.json
I reported a similar issue about 2 hours ago, however I assure you this is different.
Link to logs
No response

Should've been fixed a while back, please re-test with 1.16.5-36.2.5-8.0.0-RC1081.


Update version number

Job PR-148/1 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-148/1/index.html

Job PR-148/3 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-148/3/index.html


fix syntax error

Signed-off-by: Xiao Feng Ren<EMAIL_ADDRESS>

@trenxiaof can you help to rebase this?

@trenxiaof can you help to rebase this?

OK thanks!

@jichenjc have rebased to the upstream master, please review.


fix client and project

@dlo can you merge this and make a new release on pypi?

I'll happily merge, but I don't have PyPi privileges... @gxela?

I'll release it to PyPi tonight


npm ERR! 404 Not Found - GET https://github.com/thomasconner/javascript/tarball/67b7944366453a87226389d483ac1ad861e0e129

I installed the latest version of Node and then ran:
npm install -g nativescript@latest
I downloaded an unmodified Angular sample from playground, unzipped it and then ran in the app directory:
tns preview
I get the following output and error:
npm WARN deprecated<EMAIL_ADDRESS>Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated<EMAIL_ADDRESS>request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated<EMAIL_ADDRESS>fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
npm WARN deprecated<EMAIL_ADDRESS>Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated<EMAIL_ADDRESS>this library is no longer supported
npm WARN deprecated<EMAIL_ADDRESS>https://github.com/lydell/resolve-url#deprecated
npm ERR! code E404
npm ERR! 404 Not Found - GET https://github.com/thomasconner/javascript/tarball/67b7944366453a87226389d483ac1ad861e0e129
npm ERR! 404
npm ERR! 404  'pubnub@https://github.com/thomasconner/javascript/tarball/67b7944366453a87226389d483ac1ad861e0e129' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 It was specified as a dependency of 'kinvey-nativescript-sdk'
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR!      C:\Users\matth\AppData\Roaming\npm-cache\_logs\2020-08-08T17_04_58_821Z-debug.log
Command npm.cmd failed with exit code 1

The tail end of the log file is as follows:
2247 silly saveTree +--<EMAIL_ADDRESS>2247 silly saveTree +--<EMAIL_ADDRESS>2247 silly saveTree `--<EMAIL_ADDRESS>2248 verbose stack Error: 404 Not Found - GET https://github.com/thomasconner/javascript/tarball/67b7944366453a87226389d483ac1ad861e0e129
2248 verbose stack     at C:\Program Files\nodejs\node_modules\npm\node_modules\npm-registry-fetch\check-response.js:114:15
2248 verbose stack     at runMicrotasks (<anonymous>)
2248 verbose stack     at processTicksAndRejections (internal/process/task_queues.js:97:5)
2249 verbose statusCode 404
2250 verbose pkgid pubnub@https://github.com/thomasconner/javascript/tarball/67b7944366453a87226389d483ac1ad861e0e129
2251 verbose cwd C:\Users\matth\projects\ns-playground
2252 verbose Windows_NT 10.0.18363
2253 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
2254 verbose node v12.18.3
2255 verbose npm  v6.14.6
2256 error code E404
2257 error 404 Not Found - GET https://github.com/thomasconner/javascript/tarball/67b7944366453a87226389d483ac1ad861e0e129
2258 error 404
2259 error 404 'pubnub@https://github.com/thomasconner/javascript/tarball/67b7944366453a87226389d483ac1ad861e0e129' is not in the npm registry.
2260 error 404 You should bug the author to publish it (or use the name yourself!)
2261 error 404 It was specified as a dependency of 'kinvey-nativescript-sdk'
2262 error 404 Note that you can also install from a
2263 error 404 tarball, folder, http url, or git url.
2264 verbose exit [ 1, true ]

I am running on Windows 10.

I installed the latest version of Node and then ran:
npm install -g nativescript@latest
I downloaded an unmodified Angular sample from playground, unzipped it and then ran in the app directory:
tns preview
I get the following output and error:
npm WARN deprecated<EMAIL_ADDRESS>Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated<EMAIL_ADDRESS>request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated<EMAIL_ADDRESS>fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
npm WARN deprecated<EMAIL_ADDRESS>Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated<EMAIL_ADDRESS>this library is no longer supported
npm WARN deprecated<EMAIL_ADDRESS>https://github.com/lydell/resolve-url#deprecated
npm ERR! code E404
npm ERR! 404 Not Found - GET https://github.com/thomasconner/javascript/tarball/67b7944366453a87226389d483ac1ad861e0e129
npm ERR! 404
npm ERR! 404  'pubnub@https://github.com/thomasconner/javascript/tarball/67b7944366453a87226389d483ac1ad861e0e129' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 It was specified as a dependency of 'kinvey-nativescript-sdk'
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR!      C:\Users\matth\AppData\Roaming\npm-cache\_logs\2020-08-08T17_04_58_821Z-debug.log
Command npm.cmd failed with exit code 1

The tail end of the log file is as follows:
2247 silly saveTree +--<EMAIL_ADDRESS>2247 silly saveTree +--<EMAIL_ADDRESS>2247 silly saveTree `--<EMAIL_ADDRESS>2248 verbose stack Error: 404 Not Found - GET https://github.com/thomasconner/javascript/tarball/67b7944366453a87226389d483ac1ad861e0e129
2248 verbose stack     at C:\Program Files\nodejs\node_modules\npm\node_modules\npm-registry-fetch\check-response.js:114:15
2248 verbose stack     at runMicrotasks (<anonymous>)
2248 verbose stack     at processTicksAndRejections (internal/process/task_queues.js:97:5)
2249 verbose statusCode 404
2250 verbose pkgid pubnub@https://github.com/thomasconner/javascript/tarball/67b7944366453a87226389d483ac1ad861e0e129
2251 verbose cwd C:\Users\matth\projects\ns-playground
2252 verbose Windows_NT 10.0.18363
2253 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
2254 verbose node v12.18.3
2255 verbose npm  v6.14.6
2256 error code E404
2257 error 404 Not Found - GET https://github.com/thomasconner/javascript/tarball/67b7944366453a87226389d483ac1ad861e0e129
2258 error 404
2259 error 404 'pubnub@https://github.com/thomasconner/javascript/tarball/67b7944366453a87226389d483ac1ad861e0e129' is not in the npm registry.
2260 error 404 You should bug the author to publish it (or use the name yourself!)
2261 error 404 It was specified as a dependency of 'kinvey-nativescript-sdk'
2262 error 404 Note that you can also install from a
2263 error 404 tarball, folder, http url, or git url.
2264 verbose exit [ 1, true ]

I am running on Windows 10.

Same here 😢

Same here!

Unfortunately, I am experiencing the same issue. Has anyone found a solution for it in the mean time? :/

Same issue. Has anyone found a solution?

I'm also having the same issue - am trying to run the Vue tutorial on OS X.

Worked for me

Hi all,
I found one approach so far!
Try changing the version of kinvey-nativescript-sdk to 5.0.0 in package.json ( "kinvey-nativescript-sdk": "5.0.0" ).
To me it looks good so far, meaning that I have not stumbled upon any other issues for the time being.
Hope that works for you, too!

This solution worked for me 👍

this fix changed EVERYTHING !  Thanks for person who solved this error

Hi all,
I found one approach so far!
Try changing the version of kinvey-nativescript-sdk to 5.0.0 in package.json ( "kinvey-nativescript-sdk": "5.0.0" ).
To me it looks good so far, meaning that I have not stumbled upon any other issues for the time being.
Hope that works for you, too!

Indeed, this worked for me too, thanks @therosko !!

Yes, this fix worked for me as well .
Thanks again
De : gonzaloabruna<EMAIL_ADDRESS>Envoyé : lundi 14 septembre 2020 23:21
À : NativeScript/playground-feedback<EMAIL_ADDRESS>Cc : Eric Clevy<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Objet : Re: [NativeScript/playground-feedback] npm ERR! 404 Not Found - GET https://github.com/thomasconner/javascript/tarball/67b7944366453a87226389d483ac1ad861e0e129 (#190)
Caution:  This message originated externally. Please use caution when clicking on links or opening attachments! If this email looks suspicious do not reply or forward.
Hi all,
I found one approach so far!
Try changing the version of kinvey-nativescript-sdk to 5.0.0 in package.json ( "kinvey-nativescript-sdk": "5.0.0" ).
To me it looks good so far, meaning that I have not stumbled upon any other issues for the time being.
Hope that works for you, too!
Indeed, this worked for me too, thanks @theroskohttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ftherosko&data=02|01|eric.clevy%40cohu.com|1c73bc0bd35e4ed6b66008d858f40bfb|eacc2a35149847488d1f03fb953672f8|0|0|637357153151964144&sdata=gIYuKdPlsIcOCG2IrLGOlQuwYXbThqZDMmDmm8bgWBo%3D&reserved=0 !!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FNativeScript%2Fplayground-feedback%2Fissues%2F190%23issuecomment-692320845&data=02|01|eric.clevy%40cohu.com|1c73bc0bd35e4ed6b66008d858f40bfb|eacc2a35149847488d1f03fb953672f8|0|0|637357153151974140&sdata=Set%2B3NvYvLRXdTIlpVbviSjoRgmgmwD5cQfrYd1c1nQ%3D&reserved=0, or unsubscribehttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAQWSJWYRZOQZYJ3Q37HUNN3SF2CK5ANCNFSM4PYX6X4A&data=02|01|eric.clevy%40cohu.com|1c73bc0bd35e4ed6b66008d858f40bfb|eacc2a35149847488d1f03fb953672f8|0|0|637357153151974140&sdata=ohggIvqZRhetuFt6NEERNOE2HE0EmnBTKC6FnUoTO%2BM%3D&reserved=0.

thanks it worked

It worked for me!

Playground / Preview are a great experience - https://play.nativescript.org/ prompts you to run tns preview when you d/l the source then the process breaks on a 404 and it's been an issue since August. I don't get it.
Is there a disparity between NS-cli builds and NS Playground builds or is the latter just out of date? If the local build falls over then I guess I have to stop using Playground & rewrite my app locally.

Playground / Preview are a great experience - https://play.nativescript.org/ prompts you to run tns preview when you d/l the source then the process breaks on a 404 and it's been an issue since August. I don't get it.
Is there a disparity between NS-cli builds and NS Playground builds or is the latter just out of date? If the local build falls over then I guess I have to stop using Playground & rewrite my app locally.

I ran into quite a lot of issues with Playground / Preview and due to deadlines, decided to switch to a devcontainer. It ended up working really well and does the same job + you have the code locally. I have been postponing it for a while, but after I read your post today, I published the project on my profile just now. I hope it helps you or someone else, who might be struggling with the issues since mid August.
(hope this suggestion does not go against some policies... newbie here...)

Hi all,
I found one approach so far!
Try changing the version of kinvey-nativescript-sdk to 5.0.0 in package.json ( "kinvey-nativescript-sdk": "5.0.0" ).
To me it looks good so far, meaning that I have not stumbled upon any other issues for the time being.
Hope that works for you, too!

It's working for me also.. Thanks..

Hi all,
I found one approach so far!
Try changing the version of kinvey-nativescript-sdk to 5.0.0 in package.json ( "kinvey-nativescript-sdk": "5.0.0" ).
To me it looks good so far, meaning that I have not stumbled upon any other issues for the time being.
Hope that works for you, too!

It's working for me also.. Thanks..

execuse me , after this
Try changing the version of kinvey-nativescript-sdk to 5.0.0 in package.json ( "kinvey-nativescript-sdk": "5.0.0" ).
i've a new error :
ERROR in The target entry-point "listview-directives" has missing dependencies:

nativescript-angular/element-registry
nativescript-angular/renderer
./../
tns-core-modules/ui/layouts/layout-base
tns-core-modules/data/observable-array
tns-core-modules/ui/core/view
tns-core-modules/data/observable
tns-core-modules/color
tns-core-modules/ui/layouts/stack-layout

Executing webpack failed with exit code 2.
and now ???
it is possible that after a framework update all the old release become useless ?????

Hi all,
I found one approach so far!
Try changing the version of kinvey-nativescript-sdk to 5.0.0 in package.json ( "kinvey-nativescript-sdk": "5.0.0" ).
To me it looks good so far, meaning that I have not stumbled upon any other issues for the time being.
Hope that works for you, too!

Works for me

Hi guys,
I have the same issue.
But when changing the version of kinvey-nativescript-sdk it seems that other issues are triggered.
Is there a way to maintain my version of the SDK ?


[BUG] load_data.py is no longer found in the main source tree after recent change

After https://github.com/alan-turing-institute/sktime/pull/496/files (even though it is not deleting but enhancing the file) the load_data.py file is no longer found in the main source tree: https://github.com/alan-turing-institute/sktime/tree/master/sktime/utils
am I overlooking something? Wass it removed by accident? If yes, why doesn`t the merge request show a delete?

Hi @geoHeil - we consolidated our utils module a bit, the data loading functionality now lives in utilts/data_io.py (see https://github.com/alan-turing-institute/sktime/pull/538)

Please

thx


Pub error when i try to install video_trimmer

Because every version of video_trimmer depends on image_picker ^0.6.5+2 and betabili depends on image_picker 0.6.0+2, video_trimmer is forbidden.
So, because betabili depends on video_trimmer ^0.1.2, version solving failed.
pub get failed (1; So, because betabili depends on video_trimmer ^0.1.2, version solving failed.)

Update  image_picker to 0.6.0+2


Updated to 2.1.1

Closing as no responses were provided. Dependencies were updated in 69cb2f58d3c70a6d242d89564f436dba4e7513e3.


monterey b4 blackscreen after -v codes finished with only pointer responding

IDK if it has something to do with the kext in this issue. My device is beelinks’s turbo g7 with 8709g. The device works properly at Big Sur 11.2 so I tried to install Monterey b4. I used to successfully install monterey on another laptop(uhd630) but this time it fails after all procedures finished. I can open the install disk, the installation goes well, but after the last reboot and the progress bar runs full, it turns out black screen and only the mouse pointer can move.

try Whatevergreen version 1.5.1

Somehow it shows nothing after finished running those codes, not showing the pointer anymore, no matter using WEG 151 or 152

It turns to no signal output now, I don’t event remember how I let the pointer show up. But every time the process bar goes to closely half way (-v codes finished running)

try Whatevergreen version 1.5.1
suspect similar issue to
osy/HaC-Mini#614

Does it have anything to do with opencore version? I’m still using 0.6.9 right now. But usually  it shouldn’t be affecting this. I guess it’s more of a graphic driver failure. May I try your efi setup? Maybe that can help locate some problems or mistakes. Much appreciated!

i think the Polaris22Fixup not support macOS Monterey yet. something about the driver changed. this need to wait @osy86 to update while is final released

maybe u can try to use this fork, no acceleration yet but it got visual
https://github.com/osy/Polaris22Fixup/issues/15

maybe u can try to use this fork, no acceleration yet but it got visual
#15

Thanks for help!

Switching to WEG 1.5.1 and the new polaris22fixup.kext here#16 fixes ths issue so I'll close this.


Variables in Database Tasks Are No Longer Being Passed to Scripts

Description
This worked consistently until quite recently. When using the ${variable} notation within .sql scripts I was able to use the 'Variables' button in the Database Task and pass the value. After updating (however I'm not aware of which version this was introduced) the scripts only see NULL in place of the variables.
DBeaver Version
Community Edition Version <IP_ADDRESS>302060909
Operating System
No response
Database and driver
Tested with Postgres:

Tested with MSSQL:

Result is the Same
Steps to reproduce
Create a Database Task with a Script using a variable
Set Variable in the Task Options
Database Tasks > Variables >

Error Occurs because NULL is being passed rather than Variable
Query Manager Shows
select * from NULL limit 10
Additional context
No response

As a temporary workaround you can change your task parameters to have variable name in upper case.

Confirmed that using upper case in the task variables fixes the issue. This is perfectly fine for our project. Thank you.


add conda environment.yml

follow up on slack discussion

we don't need graphviz any more :)

fixed


New version: LaguerreVoronoi v0.1.2

Registering package: LaguerreVoronoi
Repository: https://github.com/claud10cv/LaguerreVoronoi.jl
Created by: @claud10cv
Version: v0.1.2
Commit: 0023ef3cb16908ad1603045dd544d275b81537c7
Git reference: master
Release notes:

bugfix

@claud10cv Did you intend to skip a version?

Hello,
I made a mistake a few months ago and accidentally created a version 0.1.1
manually on the github repo. The registrar now did not let me register
v0.1.1 for that reason, so I named this 0.1.2.
Best regards,
Claudio
On Wed, Apr 8, 2020, 07:44 Dilum Aluthge<EMAIL_ADDRESS>wrote:

@claud10cv https://github.com/claud10cv Did you intend to skip a
version?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/JuliaRegistries/General/pull/12406#issuecomment-610910527,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADFO4H3AX5UU3G3SXTJBFS3RLRPS5ANCNFSM4MCSPRYQ
.


Update Composer dependencies (2024-08-16-00-18)

Visual regression test passed!
View the visual regression test report


Fixes Sort By overlay in place view

Notion card link(s)

Bug: Sensors can appear duplicated in place page

Description (Proposed changes, additional context, chosen approach/alternative approaches, gotchas, etc)

Sensors should appear duplicated sometimes e.g. when a single sensor has multiple tech types/data types/purposes then all categories should be displayed causing sensor to be listed more than once.
Found another bug when exploring this issue:  "Systems" was missing from the Sort By overlay because it had been taken out of the taxonomyPropLablels.

Steps for reviewer(s) to reproduce/test

Check that you can sort a sensor by "Systems"

overlay looks to be fixed, but the sort functionality isn't from the looks of it. This place has 2 sensors; CCTV - which has no systems and therefore should appear under "other", and Thermostat which is in the HVAC system, and should appear under the "HVAC" system


[3.4] Fix GodotPhysics solver with kinematic body set to report contacts

In 3D, collision is disabled between kinematic/static bodies when contacts are generated only to report them.
In 2D, this case was already fixed but the code is cleaned to make it easier to follow.
3.x backport of #46917.

Thanks!


[Proposal] Get test names without execution

Do you want to request a feature or report a bug?
Feature
What is the current behavior?
Currently you can use the --json --outputFile or --listTests to get a list of test files / names using the assertionResults.testResults key or you can read off the test names from the results. However this means that you need to execute the test to get this list of test names.
What is the expected behavior?
This behaviour would behave similarly but would provide the list of test scripts and names without executing the tests. I imagine the code for this would just mean override the describe / it globals to collect the names.
I would be extremely willing with a little guidance to do this myself, I was looking for feedback and/or something I might have missed so far in my usage of it. Thanks!

We are not planning on implementing this into Jest right now, especially since tests can be defined dynamically, you have to execute some amount of code to do this effectively. Otherwise, you can use static analysis to extract the tests and there is some code in jest-editor-support to do that already.


i18n(ko): translate rss.mdx

What kind of changes does this PR include?

Translated content

Description
I translatd rss.mdx in Korean.

hey @sujang958, Thank you so much for your PR!
This page has been updated since v3, are you willing to take those changes into account in this PR?

Yes of course. I will be doing it soon

Thank you so much!

Hi @sujang958 ! ! Just checking if you are still available to update this page?
We are hoping to merge as many PRs by next week as we can before the docs site code migrates to Starlight. So if this can be ready, we would like to be able to review it.  Thanks!

oh ok I will finish this by tomorrow


Should not fire when mouse moves more than margin

Hi,
Thanks for this code.
However, IMHO, when mouse pressed and moved a lot, it should not be considered and 'long-press', but as considered as 'drag'.
I am trying to implement your code on my mobile solution, http://plnkr.co/edit/B3xgDpGdafD4AoI3KFyo?p=preview, but it seems not suitable when it goes with your long-press.
I also would appreciate your feedback.

Hi @allenhwkim, the long-press handler is monitoring the mouseout event, as soon as the mouse/touch leaves the element that triggered it - the timer is canceled.
So it does not fire when the mouse/touch moves.... Unless I'm missing something?

@allenhwkim you're canceling the touchstart event on line 84. Which means the 'long-press' event will never get started.
el.addEventListener('touchstart', e => e.preventDefault());

Thanks, I may reconsider line 84.
Let's talk without touch event.
What I think is mousedown and mousedown is a long-press. However,  mousedown then mousemove is not a long-press, but drag(which you don't have at the moment).
In your example, mousedown, then move around, I still see the long-press is fired, which I think it should not.
Let's talk without touch event.
What I think is mousedown and mousedown is a long-press. However,  mousedown then mousemove is not a long-press, but drag(which you don't have at the moment).
In your example, mousedown, then move around, I still see the long-press is fired, which I think it should not.

If the user mouses down, but then moves, the long-press should be canceled. The long-press event should only fire if the user holds down the mouse (or touch), in one fixed location for 1500ms.
Pleas can you add a plnkr.co or jsfiddle that demonstrates the issue you are having?

With your example, https://jsfiddle.net/5xrtx69z/1/, on the box, if you mousedown on the top-left corner, then move mouse to the bottom-right corder, the event still fires. What I think it it should not fire the event, because mouse has been moved a lot.

Good find @allenhwkim, I've checked in a fix. The solution was to cancel the long-press timer when the mouse/touch moves.


Error when planning with Moveit! Husky UR5 arm

Hi,
I followed this tutorial to use the Husky with the UR5 using Moveit!. Everything works ok so far. Now I want to use Moveit! to load motion planners at runtime. I created a new package to create a new node that will be in charge of execute the planning. This is my code:
#include <ros/ros.h>
#include <moveit/move_group_interface/move_group.h>

int main(int argc, char **argv)
{
  ros::init(argc, argv, "lesson_moveit");
  moveit::planning_interface::MoveGroup group("manipulator");

  // start a background "spinner", so our node can process ROS messages
  //  - this lets us know when the move is completed
  ros::AsyncSpinner spinner(1);
  spinner.start();

  // INSERT MOTION COMMANDS HERE
}

I got the following errors when trying to run the node:
andrestoga@andrestoga-RoboLab:~/ros_motion_planning$ rosrun project2 ur5_mover
[ERROR] [1459832675.112257416]: Semantic description is not specified for the same robot as the URDF
[ERROR] [1459832675.112361080]: Link 'base_laser' is not known to URDF. Cannot disable collisons.
[ERROR] [1459832675.112377176]: Link 'base_laser' is not known to URDF. Cannot disable collisons.
[ERROR] [1459832675.112388309]: Link 'base_laser' is not known to URDF. Cannot disable collisons.
[ERROR] [1459832675.112399055]: Link 'base_laser' is not known to URDF. Cannot disable collisons.
[ERROR] [1459832675.112419331]: Link 'base_laser' is not known to URDF. Cannot disable collisons.
[ERROR] [1459832675.112430294]: Link 'base_laser' is not known to URDF. Cannot disable collisons.
[ INFO] [1459832675.112529966]: Loading robot model 'husky_robot_gazebo'...
[ INFO] [1459832675.112553399]: No root joint specified. Assuming fixed joint
[ERROR] [1459832675.279646657]: Error retrieving file [file:///opt/ros/indigo/share/ur_description/meshes/ur5/collision/upperarm.stl]: Couldn't open file /opt/ros/indigo/share/ur_description/meshes/ur5/collision/upperarm.stl
[ERROR] [1459832675.297248854]: Error retrieving file [file:///opt/ros/indigo/share/ur_description/meshes/ur5/visual/upperarm.dae]: Couldn't open file /opt/ros/indigo/share/ur_description/meshes/ur5/visual/upperarm.dae
[ERROR] [1459832675.333689794, 4214.540000000]: Error retrieving file [file:///opt/ros/indigo/share/ur_description/meshes/ur5/collision/wrist1.stl]: Couldn't open file /opt/ros/indigo/share/ur_description/meshes/ur5/collision/wrist1.stl
[ERROR] [1459832675.352395002, 4214.560000000]: Error retrieving file [file:///opt/ros/indigo/share/ur_description/meshes/ur5/visual/wrist1.dae]: Couldn't open file /opt/ros/indigo/share/ur_description/meshes/ur5/visual/wrist1.dae
[ERROR] [1459832675.370355017, 4214.570000000]: Error retrieving file [file:///opt/ros/indigo/share/ur_description/meshes/ur5/collision/wrist2.stl]: Couldn't open file /opt/ros/indigo/share/ur_description/meshes/ur5/collision/wrist2.stl
[ERROR] [1459832675.388504851, 4214.590000000]: Error retrieving file [file:///opt/ros/indigo/share/ur_description/meshes/ur5/visual/wrist2.dae]: Couldn't open file /opt/ros/indigo/share/ur_description/meshes/ur5/visual/wrist2.dae
[ERROR] [1459832675.406530003, 4214.610000000]: Error retrieving file [file:///opt/ros/indigo/share/ur_description/meshes/ur5/collision/wrist3.stl]: Couldn't open file /opt/ros/indigo/share/ur_description/meshes/ur5/collision/wrist3.stl
[ERROR] [1459832675.424788651, 4214.630000000]: Error retrieving file [file:///opt/ros/indigo/share/ur_description/meshes/ur5/visual/wrist3.dae]: Couldn't open file /opt/ros/indigo/share/ur_description/meshes/ur5/visual/wrist3.dae
[ERROR] [1459832675.499274924, 4214.700000000]: The kinematics plugin (ur5_arm) failed to load. Error: According to the loaded plugin descriptions the class ur_kinematics/UR5KinematicsPlugin with base class type kinematics::KinematicsBase does not exist. Declared types are  kdl_kinematics_plugin/KDLKinematicsPlugin srv_kinematics_plugin/SrvKinematicsPlugin
[ERROR] [1459832675.499357300, 4214.700000000]: Kinematics solver could not be instantiated for joint group ur5_arm.
[FATAL] [1459832675.499436556, 4214.700000000]: Group 'manipulator' was not found.
terminate called after throwing an instance of 'std::runtime_error'
  what():  Group 'manipulator' was not found.
Aborted (core dumped)

I don't know why it couldn't open the files and load the kinematics plugin for the ur5 arm. Any advice in how to resolve it will be helpful.
Best,

Hi there,
The collisions need to be updated, I'll do that later this afternoon. In addition, I added a dependency on ur_kinematics, which you were probably missing to use the plugin

@andrestoga,
Was this issue resolved? Where you successful in getting the ur5_arm to go to a specified point?

@CMobley7
Do you have ur_kinematics installed either via source or via deb?

@TheDash,
I installed ur_kinematics from source.

@andrestoga
If you are still having this problem, I suggest changing your solver to trac_ik. I just install trac-ik-kinematics-plugin and changed my kinematics.yaml file from
ur5_arm:
  kinematics_solver: ur_kinematics/UR5KinematicsPlugin
  kinematics_solver_search_resolution: 0.005
  kinematics_solver_timeout: 0.005
  kinematics_solver_attempts: 3

to
ur5_arm:
  kinematics_solver: trac_ik_kinematics_plugin/TRAC_IKKinematicsPlugin
  kinematics_solver_timeout: 0.05
  solve_type: Manipulation1

It has successfully solved every IK problem I have given it.

Hi,
I am getting the same problem, but change of kinematic solver doesn't help me :(

Is this in simulation or on a physical husky?

On a physical husky

The husky_ur5_planning_execution.launch file I used was slightly different than the default.
<launch>
  <arg name="real" default="true" />
  <arg name="limited" default="true"/>
  <arg name="debug" default="false" />

  <!-- Remap follow_joint_trajectory -->
  <remap if="$(arg real)" from="arm_controller/follow_joint_trajectory" to="follow_joint_trajectory"/>

  <!-- Launch moveit -->
  <include file="$(find husky_ur5_moveit_config)/launch/move_group.launch">
    <arg name="debug" default="$(arg debug)" />
  </include>
</launch>

Also, are you running all of the following commands?
roslaunch ur5.launch
roslaunch husky_ur5_moveit_config husky_ur5_planning_execution.launch limited:=true real:=true
roslaunch husky_ur5_moveit_config moveit_rviz.launch config:=true


Olly doesn't do De-Bruijn

Currently, Olly claims to use De-Bruijn to handle binding. This is nonsense. I'm not sure what I'm doing.

This is fixed in the branch olly-rewrite, but going to finish cleaning up the rest of olly before merging.


consider updating suggested directory structure

i'm not sure if it's just me, but it seems like we typically use a file structure more like this than the one we suggest in this repo. is this true? and if so, we oughta update this!

Both those links go to the same place

you passed the test!
just joking – i meant to say it seems we use a file structure more like this one, but i'm not sure if it's actually we, or just me...


docs: guides on How to Check if a User Operation is Eligible for Sponsorship

https://app.asana.com/0/1205598834384806/1205665185946196/f
write a doc explaining how ot check if a UO is eligible for sponsorship
Context
https://alchemyinsights.slack.com/archives/C05SX4YLJJZ/p1696611193112559

PR-Codex overview
Detailed summary

Renamed the link text "How to Sponsor Gas for a User Operation" to "How to Sponsor Gas"
Updated the link base from "/sponsoring-gas" to "/guides/sponsoring-gas"
Added a new collapsed section titled "How to Sponsor Gas" with two sub-items:

"Sponsoring Gas for User Operations"
"Handling User Operations Not Eligible for Gas Sponsorship"

Added a new file "site/guides/sponsoring-gas/gas-sponsorship-eligibility.md" with detailed instructions on handling user operations not eligible for gas sponsorship.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@moldy530 @avasisht23 updated this guides doc pr based on our discussion & reviews.
Per https://www.notion.so/alchemotion/Eng-Spec-Flexible-Gas-Manager-Policy-Handling-ef69e8f7cafa41839f34cd2e9906c2c1?pvs=4


How To Reproduce
Run tests without the HOME variable set, for example via env -.
Your environment
Please run the following in the environment where the problem happened and
paste the output.
$ python -c "import platform; print(platform.platform())"
SunOS-5.11-i86pc-i386-64bit-ELF
$ python -c "import sys; print('Python', sys.version)"
Python 3.9.16 (main, Feb 19 2023, 15:42:40)
[GCC 10.4.0]
$ python -c "from pyfakefs import __version__; print('pyfakefs', __version__)"
pyfakefs 5.2.4
$ python -c "import pytest; print('pytest', pytest.__version__)"
pytest 7.4.0
$

Ok, this is not a regression (the code has been there since 2016), just an issue of the test environment.
Has to be fixed in the tests.

You are right.  I just tried to run tests for 5.2.3 and they failed similarly.  I noticed that when tests are run with the pytest-checkdocs plugin installed then all of them pass.  Apparently, previously (the 5.2.3 version) I tested with the plugin installed and today (5.2.4) I tested with checkdocs uninstalled so it looked to me like a regression.
Thank you.


This site can’t be reached after 2nd deploy

Site is up and running after 1 deploy, after running deploy a 2nd time I get "This site can’t be reached".
This is on a 100% brand new Digital Ocean Ubuntu 14.04 droplet.
Even when the site actually loaded after the first deploy I was getting an error while verifying.
  npm -g install npm@latest
npm WARN deprecated
npm WARN deprecated (Depending on how Node.js was installed on your system, you
npm WARN deprecated may need to prefix the preceding commands with `sudo`, or if
npm WARN deprecated on Windows, run them from an Administrator prompt.)
npm WARN deprecated
npm WARN deprecated If you're running the version of npm bundled with
npm WARN deprecated Node.js 0.10 LTS, be aware that the next version of 0.10 LTS
npm WARN deprecated will be bundled with a version of npm@2, which has some small
npm WARN deprecated backwards-incompatible changes made to `npm run-script` and
npm WARN deprecated semver behavior.
npm WARN package.json<EMAIL_ADDRESS>No description
npm WARN package.json<EMAIL_ADDRESS>No repository field.
npm WARN package.json<EMAIL_ADDRESS>No README data

><EMAIL_ADDRESS>install /bundle/bundle/programs/server/node_modules/fibers
> node build.js || nodejs build.js

=> Redeploying previous version of the app

Again, this is on a 100% brand new droplet, Meteor 1.3.  The current version of Mupx does the exact same thing. I've had mupx working previously for a long time, but the latest of either won't work on a fresh droplet.

Did the app name or the meteor version changed between deployments? Have you tried increasing deployCheckWaitTime ?

Whenever something is not working with mup or mupx people mention increasing deployCheckWaitTime. It looks like this should not be neccessary. Why not check frequently until aborted. With showing time and number of attempt displayed and the expected/normal case in the manual we should be ready to go and move on to real issues.

@ericvrp Sound like a good idea, If someone can make a PR with a couple of tests, we can merge it.

I've just had the same problem because I changed the name of the app.
Is there a clean way to do this?

If you change the name of the app, you have to remove all the docker containers on the server related to your app manually.

Since everything's installed automagically, we don't know how it's been done. What do we ned to do to remove the docker containers?

For others who need to work out how to do this:
First, ssh into your server:
ssh -i <pem-file-path> <username>@<ip-address>

You can list all docker containers like this:
docker ps -a

In most cases there'll just be one container - the one created by mup. Something like this:
CONTAINER ID        IMAGE                      COMMAND                  CREATED             STATUS                          PORTS                NAMES
8ca167a5a4ce        meteorhacks/meteord:base   "/bin/sh -c 'bash $ME"   15 hours ago        Restarting (8) 50 minutes ago   <IP_ADDRESS>:80->80/tcp   myAppName

The name of the container will be that of the app you'd installed using mup. Now it's easy to remove it:
docker stop <app-name>
docker rm <app-name>

Now you can rename your app inside the mup file and redeploy.


Helm deployment failed in OCP cluster

Failed to install on OCP cluster using helm package.

changed according to sol003 helm packages


[FEATURE] use 'not' instead of '!' for logical negation

Is there an existing issue for this?

[X] I have searched the existing issues

Is your feature request related to a problem?
Dictu uses and and or for logical operators; using not instead of ! is more consistent, so remove support for ! as a synonym for not (which has already been added).
Describe the solution you'd like

Minor change to the scanner and compiler (I can do this).
Equally minor changes to existing Dictu library, tests, and examples (I can do this).

Describe alternatives you've considered
No response
Additional context
No response

Yeah I toyed with this a while ago. Having both obviously isn't great, but at the time my thinking was ! for "not" made sense as it is similar to !=. Having a not keyword along with != always was a bit odd for me when working with Python.
Happy to discuss though!

I guess it's a question of which similarity is more intuitive for new users: ! as in != or not as in and and or. (I really wish ≠, ≤, and ≥ were standard keyboard symbols and part of 7-bit ASCII, but that ship sailed about fifty years ago…)

Yeah, it's an interesting dilemma and one I'm not sure I know the answer to yet. It also depends what you define "new user" as, if it's someone completely green to programming it's probably less of an issue, but if someone has experience in pretty much any c-like language you're using ! for not.
Appreciate the PR regardless though!

Since not is actually the operator listed in the docs and not ! I'll probably go ahead with this! Quite bad I hadn't noticed there wasn't both options in the docs previously 😰


Setting the default document

The readme.md doesn't specify if this cookbook can set the default document for an application.
Can it alter the default document? If so, I'd like to figure out how, and add it to the readme.

@spuder This cookbook currently doesn't allow for the editing of the default document.  This is possible via the iis_config provider but won't be idempotent.  This should likely be rolled into a larger change of adding all the properties of sites/applications so that it can handle all the desires someone might have.
I'll look into this one immediately and add a pull request for it.

This can be done fairly easily, but the real question this brought to my mind is...Do we want an iis_root to edit the iis root/Computer settings rather than a site or application.
In the meantime I can happily add it to iis_site and iis_pool, but I think this brings to light that we should have an iis_root and likely the library/helper.rb should contain some appcmd's that do root, site, and pool.
C:\Windows\System32\inetsrv>appcmd.exe set config "Default Web Site" /section:defaultDocument /enabled:true /+files.[value='home.html']
Applied configuration changes to section "system.webServer/defaultDocument" for
"MACHINE/WEBROOT/APPHOST/Default Web Site" at configuration commit path "MACHINE/WEBROOT/APPHOST/Default Web Site"

C:\Windows\System32\inetsrv>appcmd.exe set config "Default Web Site" /section:defaultDocument /enabled:true /-files
Applied configuration changes to section "system.webServer/defaultDocument" for "MACHINE/WEBROOT/APPHOST/Default Web Site" at configuration commit path "MACHINE/WEBROOT/APPHOST/Default Web Site"

C:\Windows\System32\inetsrv>appcmd.exe set config /section:defaultDocument /enabled:true /-files
Applied configuration changes to section "system.webServer/defaultDocument" for
"MACHINE/WEBROOT/APPHOST" at configuration commit path "MACHINE/WEBROOT/APPHOST"�

Thanks for responding.
I'm linux admin by trade who had never touched an IIS server until recently. I can't say what the best option would be.
I am trying to do a wrapper cookbook to add a default document to an application.
(I'm also interested in removing the defaults like index.htm, ).

@spuder unfortunately the defaults like index.htm are defined at the root level not at the site/application level.
Everything below that is inherited by default.

On the web servers that I inherited, all default documents have been removed and replaced with a specific one. I think that is how I want to setup new web servers.

@ksubrama want to have a google hangout to discuss this?

@EasyAsABC123 Yes I think we would need to discuss strategy on this.  Let me ping you offline in the next day or so.

@ksubrama sounds good, definitely need to decide as I know we are working toward an<EMAIL_ADDRESS>release.  Adding this functionality or refactoring for an iis_root provider definitely is going to require more testing.

@EasyAsABC123 Hey..  sorry I didn't get back last week.  Life and thermodynamics and some cracked sprinkler pipes got in the way.  I'll try to catch up as quickly as I can.

@ksubrama sounds good let me know when you want to do a google hangout and discuss this.

@ksubrama as a sidenote i'll be at chefconf if you won't have time until then.

@spuder if you have a moment can you please test https://github.com/opscode-cookbooks/iis/tree/enhancement-iis_root_provider it has a new provider called iis_root in that provider you can do something like...
iis_root 'this doesn't do anything right now' do
  default_documents ['document_name1.extension', 'default.php']
end

This should delete all default documents from the root that aren't in the above array and add all that are in the array.  Please note this is untested code (can't test this second).

Thanks, I'm trying to test this now, but its been a few weeks since I've spun up vagrant and now It isn't working.
http://stackoverflow.com/questions/30110585/vagrant-chef-solo-add-to-runlist
I'll report back once I figure this out.

I'm actually currently shaving that very yak.  I wanted to do a release today but apparently if you leave test-kitchen alone for 2 months, everything changes underneath you.
I'm now following http://kitchen.ci/blog/test-kitchen-windows-test-flight-with-vagrant/ but that has issues itself (the 2012R2 eval iso urls don't seem to download eval isos).  I'll be back when the yaks feel sufficiently shaved.

@ksubrama coders be coders :) changing everything is the goal.  This branch will hopefully grow this weekend into a rich enhancement

I have https://github.com/ksubrama/windows/tree/ksubrama/win2012r2 to work around issues I had with cutting my own box.  Once I did cut that box, the instructions from the blog post above seemed to help and kitchen vagrant ran cleanly.
bundle update
bundle exec kitchen verify
That should now work.  If you have vagrant-wrapper from an old installation, you might want to gem uninstall that (it caused me some issues because it appeared earlier in the load path than the latest vagrant binaries).

@ksubrama  thanks for that! fixing some bugs in this branch right now. :+1:

Been working on testing this all weekend. I still can't get test kitchen working on windows. The converge says it ran, yet no cookbooks were applied.
I created a windows box based on the blog mentioned earlier and this repo
https://github.com/ksubrama/windows/tree/ksubrama/win2012r2
Then add the box
 vagrant box add spencer/windows-2012r2 ./box/virtualbox/eval-win2012r2-standard-nocm-1.0.4.box

@ksubrama Would you be willing to look at my .kitchen.yml file? I'm at a loss for what is wrong.
https://gist.github.com/spuder/f484043415b5af6ac247

@spuder I know it was working like 2 commits ago, but now i don't know for sure since i've been refactoring and making functional code blocks to prepare for applications and sites.

I'm having a higher level problem. I can't get any cookbook to converge on windows. I think it is a problem with my .kitchen.yml or vagrant file. Do you have one you could share?

I've resolved the issue with vagrant, but I'm not able to get this to work. I've updated my berks file to point to the enhancement-iis_root_provider branch
cookbook 'iis', git: 'https://github.com/opscode-cookbooks/iis.git', branch: "enhancement-iis_root_provider"

==> default:   C:/opscode/chef/bin/chef-solo:23:in `load'
==> default:   C:/opscode/chef/bin/chef-solo:23:in `<main>'
==> default:
==> default: Relevant File Content:
==> default: ----------------------
==> default: C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.16.4-x86-mingw32/lib/chef/dsl/recipe.rb:
==> default:
==> default:  39:          elsif have_resource_class_for?(method_symbol)
==> default:  40:            # Otherwise, we're rocking the regular resource call route.
==> default:  41:            declare_resource(method_symbol, args[0], caller[0], &block)
==> default:  42:          else
==> default:  43:            begin
==> default:  44:              super
==> default:  45:            rescue NoMethodError
==> default:  46>>             raise NoMethodError, "No resource or method named `#{method_symbol}' for #{describe_self_for_error}"
==> default:  47:            rescue NameError
==> default:  48:              raise NameError, "No resource, method, or local variable named `#{method_symbol}' for #{describe_self_for_error}"
==> default:  49:            end
==> default:  50:          end
==> default:  51:        end
==> default:  52:
==> default:  53:        def has_resource_definition?(name)
==> default:  54:          yes_or_no = run_context.definitions.has_key?(name)
==> default:  55:
==> default:
==> default: [2015-05-12T11:32:28-07:00] ERROR: Running exception handlers
==> default: [2015-05-12T11:32:28-07:00] ERROR: Exception handlers complete
==> default: [2015-05-12T11:32:28-07:00] FATAL: Stacktrace dumped to C:/var/chef/cache/chef-stacktrace.out
==> default: [2015-05-12T11:32:28-07:00] FATAL: NoMethodError: No resource or method named `iis_root' for `Chef::Recipe "foobar"'
Chef never successfully completed! Any errors should be visible in the
output above. Please fix your recipes so that they properly complete.

What is the correct syntax for my wrapper cookbook? This is what I'm trying.
iis_root 'defaultDocuments' do
  default_documents ['foobar.html']
end

I don't see any code on github referring to 'iis_root' or 'default_documents'

Ok finally got it.  I had to delete my berksfile.lock.
I can confirm that all default documents exept for foobar.html are now present in IIS. This also appears to be idempotent.
Ok to close.

We'll leave it open until we merge the code into master.  Especially since this doesn't allow for sites or applications yet.
Justin Schuhmann

On May 12, 2015, at 3:41 PM, Spencer Owen<EMAIL_ADDRESS>wrote:
Ok finally got it. I had to delete my berksfile.lock.
I can confirm that all default documents exept for foobar.html are now present in IIS. This also appears to be idempotent.
Ok to close.
—
Reply to this email directly or view it on GitHub.

testing latest worked for me, please verify

I accidentally used the old syntax, which surprisingly still worked.
iis_root 'defaultDocuments' do
  default_documents ['docCent.aspx']
  action :add
end

I kill vagrant and ran again
iis_root 'defaultDocuments' do
  add_default_documents ['foobar.html']
  action :add
end

iis_root 'dmg' do
  delete_default_documents ['index.html']
  action :delete
end

Worked perfectly.
I rebooted and ran again just to make sure it is idempotent. I did get an error starting one of the application pools, but I think that is unrelated.
I'd say this passes initial smoke tests!!!!

I'll write up the documentation this weekend.  Then create a pull request.
Justin Schuhmann

On May 22, 2015, at 7:26 PM, Spencer Owen<EMAIL_ADDRESS>wrote:
I accidentally used the old syntax, which surprisingly still worked.
iis_root 'defaultDocuments' do
default_documents ['docCent.aspx']
action :add
end
I kill vagrant and ran again
iis_root 'defaultDocuments' do
add_default_documents ['foobar.html']
action :add
end
iis_root 'dmg' do
delete_default_documents ['index.html']
action :delete
end
Worked perfectly.
I rebooted and ran again just to make sure it is idempotent. I did get an error starting one of the application pools, but I think that is unrelated.
I'd say this passes initial smoke tests!!!!
—
Reply to this email directly or view it on GitHub.

Looks good, I added an example to the documentation
#184

resolved by #195

merged to master


write to hbase table exception

I am using hdp 2.2 and recompile spark-1.5.2 with jackson package.
but when I run "rdd.toHBaseTable("mytable").toColumns("column1", "column2").inColumnFamily("mycf").save()"
it failed, seems to connect to localhost zk server, how to fix it. I have to specify it in code or configure some files make it work(connect to right server)
thanks.
###log info
java.net.ConnectException: Connection refused
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:739)
at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081)
2016-02-24 12:48:44,286 INFO  [Executor task launch worker-2-SendThread(localhost:2181)] zookeeper.ClientCnxn: Opening socket connection to server localhost/0:0:0:0:0:0:0:1:2181. Will not attempt to authenticate using SASL (unknown error)
2016-02-24 12:48:44,286 WARN  [Executor task launch worker-2-SendThread(localhost:2181)] zookeeper.ClientCnxn: Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect
java.net.ConnectException: Connection refused
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:739)
at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081)
2016-02-24 12:48:44,291 WARN  [Executor task launch worker-2] zookeeper.RecoverableZooKeeper: Possibly transient ZooKeeper, quorum=localhost:2181, exception=org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /hbase/hbaseid
2016-02-24 12:48:45,387 INFO  [Executor task launch worker-2-SendThread(localhost:2181)] zookeeper.ClientCnxn: Opening socket connection to server localhost/<IP_ADDRESS>:2181. Will not attempt to authenticate using SASL (unknown error)
2016-02-24 12:48:45,387 WARN  [Executor task launch worker-2-SendThread(localhost:2181)] zookeeper.ClientCnxn: Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect
java.net.ConnectException: Connection refused
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)

Hi, you might need to set the "spark.hbase.host" property in order to connect to a machine other than localhost.
You can use the JVM option -Dspark.hbase.host=the host for this purpose.
I'll update the docs, as it is not clear.

@nibbio84  thanks for your update.
Assume I take spark.hbase.host as hbase master? right. If so, I
also I use spark-shell, just want to confirm how to pass it. like below?
./spark-shell --jars jarfile --driver-java-options   spark.hbase.host=hmasterFQDN
I tried it. Doesn't work.
Thanks a lot.

Not the hbase master, you need to pass the zookeeper quorum host (that listens on port 2181).

Also, use the --conf option if you launch it from the shell.

thanks @nibbio84
it's worked. but failed to create table
######logs#####################
016-02-25 16:37:20,642 INFO  [Executor task launch worker-3] mapreduce.TableOutputFormat: Created table instance for mytable
2016-02-25 16:37:20,642 INFO  [Executor task launch worker-1] mapreduce.TableOutputFormat: Created table instance for mytable
2016-02-25 16:37:20,642 INFO  [Executor task launch worker-2] mapreduce.TableOutputFormat: Created table instance for mytable
2016-02-25 16:37:20,642 INFO  [Executor task launch worker-0] mapreduce.TableOutputFormat: Created table instance for mytable
2016-02-25 16:37:20,678 DEBUG [Executor task launch worker-0] hbase.HRegionInfo:<PHONE_NUMBER>
2016-02-25 16:37:20,828 DEBUG [Executor task launch worker-0] ipc.RpcClient: Use SIMPLE authentication for service ClientService, sasl=false
2016-02-25 16:37:20,839 DEBUG [Executor task launch worker-0] ipc.RpcClient: Connecting to dn02.uat.ev.com/<IP_ADDRESS>:60020
2016-02-25 16:37:20,849 WARN  [Executor task launch worker-0] client.ConnectionManager$HConnectionImplementation: Encountered problems when prefetch hbase:meta table:
org.apache.hadoop.hbase.TableNotFoundException: Cannot find row in hbase:meta for table: mytable, row=mytable,1,99999999999999
at org.apache.hadoop.hbase.client.MetaScanner.metaScan(MetaScanner.java:164)
at org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.prefetchRegionCache(ConnectionManager.java:1222)
at org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.locateRegionInMeta(ConnectionManager.java:1286)
at org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.locateRegion(ConnectionManager.java:1135)
at org.apache.hadoop.hbase.client.AsyncProcess.submit(AsyncProcess.java:362)
at org.apache.hadoop.hbase.client.AsyncProcess.submit(AsyncProcess.java:313)
at org.apache.hadoop.hbase.client.HTable.backgroundFlushCommits(HTable.java:1066)
at org.apache.hadoop.hbase.client.HTable.flushCommits(HTable.java:1344)
at org.apache.hadoop.hbase.client.HTable.close(HTable.java:1380)
at org.apache.hadoop.hbase.mapreduce.TableOutputFormat$TableRecordWriter.close(TableOutputFormat.java:112)
at org.apache.spark.rdd.PairRDDFunctions$$anonfun$saveAsNewAPIHadoopDataset$1$$anonfun$12$$anonfun$apply$5.apply$mcV$sp(PairRDDFunctions.scala:1043)
at org.apache.spark.util.Utils$.tryWithSafeFinally(Utils.scala:1215)
at org.apache.spark.rdd.PairRDDFunctions$$anonfun$saveAsNewAPIHadoopDataset$1$$anonfun$12.apply(PairRDDFunctions.scala:1042)
at org.apache.spark.rdd.PairRDDFunctions$$anonfun$saveAsNewAPIHadoopDataset$1$$anonfun$12.apply(PairRDDFunctions.scala:1014)
at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:66)
at org.apache.spark.scheduler.Task.run(Task.scala:88)
at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:214)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
2016-02-25 16:37:20,852 ERROR [Executor task launch worker-0] client.AsyncProcess: Failed to get region location
org.apache.hadoop.hbase.TableNotFoundException: mytable
at org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.locateRegionInMeta(ConnectionManager.java:1319)
at org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.locateRegion(ConnectionManager.java:1135)
at org.apache.hadoop.hbase.client.AsyncProcess.submit(AsyncProcess.java:362)
at org.apache.hadoop.hbase.client.AsyncProcess.submit(AsyncProcess.java:313)
at org.apache.hadoop.hbase.client.HTable.backgroundFlushCommits(HTable.java:1066)
at org.apache.hadoop.hbase.client.HTable.flushCommits(HTable.java:1344)
at org.apache.hadoop.hbase.client.HTable.close(HTable.java:1380)
at org.apache.hadoop.hbase.mapreduce.TableOutputFormat$TableRecordWriter.close(TableOutputFormat.java:112)
at org.apache.spark.rdd.PairRDDFunctions$$anonfun$saveAsNewAPIHadoopDataset$1$$anonfun$12$$anonfun$apply$5.apply$mcV$sp(PairRDDFunctions.scala:1043)
at org.apache.spark.util.Utils$.tryWithSafeFinally(Utils.scala:1215)
at org.apache.spark.rdd.PairRDDFunctions$$anonfun$saveAsNewAPIHadoopDataset$1$$anonfun$12.apply(PairRDDFunctions.scala:1042)

That's because the table should be created manually before writing to it. There are many options that you can declare when creating a table, that's why the library doesn't take care of the table creation phase.

I see. thanks @nibbio84

@nibbio84  it seems this jar not support filter function as hbase. I found the withstartrowwithstoprow like hbase scan function.
is there anyway can support hbase filter function? like  scan 't1', {FILTER => "(PrefixFilter ('row2') AND
(QualifierFilter (>=, 'binary:xyz'))) AND (TimestampsFilter ( 123, 456))"}
many thanks.

No, the connector just supports just the scan range for filtering rows.

Hi
I have created the table but it is still not able to write to the table and logs the following:
16/08/19 06:38:11 INFO RpcRetryingCaller: Call exception, tries=10, retries=35, started=38439 ms ago, cancelled=false, msg=row 'TableForSpark,1,99999999999999' on table 'hbase:meta' at region=hbase:meta,,1.1588230740, hostname=ip-10-60-0-xxx.ec2.internal,16020,1471529327629, seqNum=0
16/08/19 06:38:11 INFO RpcRetryingCaller: Call exception, tries=10, retries=35, started=38497 ms ago, cancelled=false, msg=row 'TableForSpark,7,99999999999999' on table 'hbase:meta' at region=hbase:meta,,1.1588230740, hostname=ip-10-60-0-xxx.ec2.internal,16020,1471529327629, seqNum=0
16/08/19 06:38:11 INFO RpcRetryingCaller: Call exception, tries=10, retries=35, started=38499 ms ago, cancelled=false, msg=row 'TableForSpark,3,99999999999999' on table 'hbase:meta' at region=hbase:meta,,1.1588230740, hostname=ip-10-60-0-xxx.ec2.internal,16020,1471529327629, seqNum=0
16/08/19 06:38:11 INFO RpcRetryingCaller: Call exception, tries=10, retries=35, started=38535 ms ago, cancelled=false, msg=row 'TableForSpark,5,99999999999999' on table 'hbase:meta' at region=hbase:meta,,1.1588230740, hostname=ip-10-60-0-xxx.ec2.internal,16020,1471529327629, seqNum=0
16/08/19 06:38:11 INFO RpcRetryingCaller: Call exception, tries=10, retries=35, started=38557 ms ago, cancelled=false, msg=row 'TableForSpark,9,99999999999999' on table 'hbase:meta' at region=hbase:meta,,1.1588230740, hostname=ip-10-60-0-xxx.ec2.internal,16020,1471529327629, seqNum=0

@surrey-kapkoti
Hi, did you solved that problem you posted? I have also met with that problem, and am struggling with it.

@gtarcoder, I don't remember if i was able to fix it , it was quite long back :-) .

@TopSlugger  Thanks for your response, it would be great if you take a look at it if you have time.


self-signed leaf cert validation issue

We didn’t check the issuer of the self-signed leaf certificate. The self-signed leaf certificate should also be self-issued.
https://github.com/notaryproject/notation-core-go/blob/d336b6a8e953cfe7139234a70a167f883d573bae/x509/cert_validations.go#L46-L58

@JeyJeyGao is this still a valid issue?

We can close it now.

As discussed yesterday, this is a bug and should be fixed.


Add a Mouse helper

We should add a helper to simplify input with a mouse.
https://github.com/GoogleChrome/puppeteer/blob/master/lib/Input.js#L185
tab.mouse.moveTo(0, 0);
tab.mouse.click(0, 0);

Fixed with #29


Update checkpoints.cpp

Fixes Fork at block #64615

Our records indicate that the block hash should be:
c4b7e6c121e5c3ca3619206d1d16cffca3ffa8478629ecdf4e2b094f71f52788
Please explain the proposed hash of:
48c1ea33b1b3fcdf599b8fb7438ce73263ac7d4c6195812ecc5678b24da78696

No reponse: closing request.


Update the link for assets folder

Only update required for Neptune was for the image;
also updated the link to the news release, as it had changed

Branch removed from staging


Build pipeline

 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.:x: w0ut0 sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


Augment

请问，Augment是用来做什么的?

Please write in english.

what's the use of Augment?

Please write in English.

what's the use of Augment?

After the search phase, you should make large network by stacking the found cell and should train it with more various training techniques. This is the augment phase.

After the search phase, you should make large network by stacking the found cell and should train it with more various training techniques. This is the augment phase.

After the search phase, you should make large network by stacking the found cell and should train it with more various training techniques. This is the augment phase.

ok,thank you!


Combine / consolidate requirements.txt and environment.yml

No point in having both afaik, let's combine these?

@kanaadp was this resolved by #130 ?

Sorry, do you mean to remove one of these? Keeping the requirements.txt allows us to warn users if they install not through conda and it messes up?


APU description correction

Just a small cosmetic change. I've corrected the description for the 'APU' embedded system. Netgate is not the manufacturer of the APU but just one of the many distributors. PC Engines is the manufacturer (and owner of it), same as for ALIX and WRAP.
Also see the output of /bin/kenv on my APU
smbios.chassis.maker="PC Engines"
smbios.planar.maker="PC Engines"
smbios.planar.product="APU"
...
smbios.system.maker="PC Engines"
smbios.system.product="APU"

The purpose of that was/is for Netgate-sold systems. Not changing.


Create script>

IMPORTANT: Please do not create a Pull Request without creating an issue first.
Any change needs to be discussed before proceeding. Failure to do so may result in the rejection of the pull request.
Proposed Changes

...
...
...

Relevant issues
Closes #...
Closes #...
Closes #...
Related #...

@SHERTvint please create an issue describing the problem and proposed solution if any. Closing the PR.


Can not render the model

When loading oblique photography data, it can request the 3D tiles data and locate the area, but can not render the model

Hi @guishilike, would you be able to provide the tileset so we can take a look?

There is no problem with tile data, we have experimented.
The cause of the problem may be the use of relative paths.
So we deployed js, css and tile data as services, now the problem is solved, thanks.


Multi Project Build Failed to find applicationUrl

Hello while compiling muliti project build failed to find application url variable . after removing
 //compile project(':CustomLauncher')
this line and
remove
 include 'CustomLauncher'
from settings.gradle file and run it again without any problem.
here CustomLauncher module contain class files for custom ui

sorry its my gradle config issue forget to remove
apply plugin: 'no.tornado.fxlauncher'


Guidance for Meeting Provider Add-ins and Automatic Teams Meetings

I have a meeting provider add-in for Outlook. One issue my customers have is Outlook automatically enabling a Teams meeting when composing appointments, which users are not aware of. It's reportedly common for users to send an event with two sets of meeting details attached (Teams and my add-in).
Are there some already know approaches to managing this problem and other conflicts between the Teams integration and third party meeting provider add-ins?
One approach I found is to change the default for automatically adding Teams meetings using some Exchange configuration:
https://docs.microsoft.com/en-us/powershell/module/exchange/set-organizationconfig?view=exchange-ps
https://docs.microsoft.com/en-us/powershell/module/exchange/set-mailboxcalendarconfiguration?view=exchange-ps

Is it possible for customers to remove the Teams meeting integration in Outlook?
Can an add-in detect that "Teams meeting" has been enabled when composing an Event/Appointment? I tried reading SkypeTeamsMeetingUrl via EWS but this is only available after creating/sending.

Sorry if this isn't a docs issue. I'm not really sure where is best to find this information.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 52a55fe4-0fe1-858c-26a4-dddc3ee128ea
Version Independent ID: 0a643291-936f-b374-37fd-7db497c73cce
Content: Create an Outlook mobile add-in for an online-meeting provider - Office Add-ins
Content Source: docs/outlook/online-meeting.md
Product: outlook
Technology: add-ins
GitHub Login: @o365devx
Microsoft Alias: o365devx

Thanks for raising this @markdon.
@ElizabethSamuel-MSFT, could you please take a look?

@Sreeram-ms Can you provide any guidance with this? Thanks.

To answer your questions:

Can the user disable Teams integration - This is possible to do from the Settings option. User can go to File -> Options -> Add-ins -> Deselect Teams add-in from the list
Here is the post which talks about this: https://answers.microsoft.com/en-us/outlook_com/forum/all/how-to-disable-the-teams-meeting-add-in-feature-in/9820e191-49c1-45b3-ba3b-04a0604d19f9

Currently it is not possible for Add-ins to detect if a Teams meeting is enabled in OWA/Mac. We track Outlook add-in feature requests on our Tech Community Page. Please submit your request there and choose the appropriate label(s). Feature requests on Tech Community are considered, when we go through our planning process.

Orgs can also remove Teams license for users through powershell commands
https://docs.microsoft.com/en-us/microsoftteams/user-access#:~:text=a Teams license-,Using PowerShell,Microsoft Teams%3A TEAMS1

Thank you @exextoc


Add project identifier to downloaded files

Is your feature request related to a problem? Please describe.
When downloading the following files for multiple projects, I get confused as they are called the same.

[ ] download urls file in Download Raw Data
[ ] download measurement metdata file ngs in View Measurements
[ ] download measurement metadta file proteomics in View Measurements
[ ] download sample metadata in Register Sample Batch

Describe the solution you'd like
Simply prefix the file names with the project so I know for which projects they were downloaded.

Note: exludes template files. Only project specific information files must have the project ID as prefix.
Should be straight forward to implement.


patch next link for vaults list

Keyvault's Vaults_List operation is using separate API Microsoft.Resources's Resources_List operation to handle vaults listing.
The result is the api version for Vaults_List is untied to the keyvault service, and is instead tied to mgmt resource's api verisons. In this case, and in this case only, we should rely on the specific api version for the list operation. Since this is a special case, we're going to customize keyvault's code instead of making a change in autorest. Confirmed this approach with @johanste

release issue: https://github.com/Azure/sdk-release-request/issues/4192

/check-enforcer override


Need help on file download from Pcloud to Local Directory.

I have uploaded a file to Pcloud. But this time, there is a requirement to download the uploaded file or download the already existing file from cloud. But I am unable to do so. So I have added the code snippet. Can you please provide a solution for it?
Code Snippet:
pc = PyCloud('email id', 'password', endpoint='eapi')
listr = pc.listfolder(folderid=0)
pc.downloadfile(url="File Download Link", path="Local Directory")
I can pay you for the solution.

Any update on this request?

Hi @monish0612
I answered this question already in https://github.com/tomgross/pycloud/issues/60#issuecomment-1110118403.
Maybe the example from the tests is helpful: https://github.com/tomgross/pycloud/blob/1.0/src/pcloud/tests/test_integration.py#L43

Hello Tom,
Still, I could not find out a solution for file download. Can you guide me
on how to do this? A quick zoom call? Just a 5mins of your time would be
appreciated.
On Mon, 14 Nov, 2022, 10:59 pm Tom Gross, @.***> wrote:

Closed #65 https://github.com/tomgross/pycloud/issues/65 as not planned.
—
Reply to this email directly, view it on GitHub
https://github.com/tomgross/pycloud/issues/65#event-7806525899, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AJ5CKH6NGCSGRK4TTUWR5BLWIJZJJANCNFSM6AAAAAAR4SEIEU
.
You are receiving this because you were mentioned.Message ID:
@.***>

listr = pc.listfolder(folderid=4553149281) fd = pc.file_open(path=f"/ExpenseDB/expense.db", flags=O_CREAT)["fd"] result = pc.file_read(fd=fd, count=140000) resp = pc.downloadfile(url ="https://my.pcloud.com/#page=filemanager&folder=4553149281&tpl=folderlist" , folderid=4553149281 )


Substrate Mobile

Add Zero-Hybrid-Network
Grant Application Checklist

[x] The application-template.md has been copied, renamed ( "project_name.md") and updated.
[x] A BTC or Ethereum (DAI) address for the payment of the milestones is provided inside the application.
[x] The software of the project will be released under the Apache license version 2.0 as specified in the terms and conditions.
[x] The total funding amount of the project is below USD $30k for initial grant applications and $100k for follow-up grants.
[x] The initial PR contains only one commit (squash if needed before submitting your PR).
[x] The grant will only be announced once we've successfully delivered the first milestone.

Thanks for the application. It seems you are currently working for kylin network. Are you still working for them or is this a separate start-up? You can also send me more information about it to<EMAIL_ADDRESS>in case you don’t want to share it publicly. Regarding the project: Could you provide more information about the “Adapt Layer”. Also I think there are already some initiatives to get substrate running on the M1 Mac Mini https://twitter.com/XiliangChen/status/1331129538265300999. Maybe it makes sense to initially focus on this.

Hi David, thanks for the quick response. It's a purely personal idea, nothing related to others yet. To run on M1 Mac is just run Substrate with the ARM chip, but not mobile devices. Port Rust for M1 Mac will let Substrate running well. For mobile phone, users are only able to install applications/services which are based on Android/iOS rather than a Rust application. This grant application is aimed to provide an adapt layer using JNI based on Android NDK, it's dedicated to mobile phones. There will be more development works on Android application/services, and need some modification of Substrate to interact with JNI methods to call Android OS system API.  The work of Xiliang Chen is for mac, and this grant application is for mobile phones.

Got it. Could you still integrate more technical details regarding the adapter layer and the Java Native Interface into the application? Also more information about the reason behind the project would be helpful. What is the zerohybrid.network?

Sure, I will update the application with more tech details.  zerohybrid.network is a new idea of blockchain on mobile phones, this application could be the cornerstone of it. Thank you!

@Noc2 Hi David, more information added. Please help to review the application. Thank you in advance.

Thanks for the update and sorry for the late reply. Your USD numbers seem to have an additional zero at the end (“20000.000”). What are the exact features/pallets that will be supported by this adapter layer. For example Aura, Balances and/or Timestamp or do you immediately plan to support everything?

Thanks for the update and sorry for the late reply. Your USD numbers seem to have an additional zero at the end (“20000.000”). What are the exact features/pallets that will be supported by this adapter layer. For example Aura, Balances and/or Timestamp or do you immediately plan to support everything?

Hi, David, the extra zeros are removed.
The adapter layer is for those features which should be ported to Android OS. Within Android OS, file, networking, and threading are not the same as on desktop, they are different and only Java interfaces provided by Android OS. So the adapter layer will port those incompatible APIs such as files, network, threading, and so on related API / system-call to Android OS API / system-call. And all of these are based on the idea of this project https://github.com/rust-windowing/android-ndk-rs.  This (file)[https://github.com/rust-windowing/android-ndk-rs/blob/master/ndk-sys/src/ffi_arm.rs] shows the ffi examples for Rust. And the Substrate codebase will be changed to adapt to Android OS with porting of libp2p and other libs which use the file/network/threading APIs/System-calls. The whole thing helps to porting is called the adapter layer.

Thanks for the update and sorry for the late reply. Your USD numbers seem to have an additional zero at the end (“20000.000”). What are the exact features/pallets that will be supported by this adapter layer. For example Aura, Balances and/or Timestamp or do you immediately plan to support everything?

Hi, David, the extra zeros are removed.
The adapter layer is for those features which should be ported to Android OS. Within Android OS, file, networking, and threading are not the same as on desktop, they are different and only Java interfaces are provided by Android OS. So the adapter layer will port those incompatible APIs such as files, network, threading, and so on related API / system-call to Android OS API / system-call. And all of these are based on the idea of this project https://github.com/rust-windowing/android-ndk-rs. This (file)[https://github.com/rust-windowing/android-ndk-rs/blob/master/ndk-sys/src/ffi_arm.rs] shows the ffi examples for Rust. And the Substrate codebase will be changed to adapt to Android OS with porting of libp2p and other libs which use the file/network/threading APIs/System-calls. The whole thing that helps to port Substrate on Android is so-called the adapter layer as part of the application.

By the way, it not pallet or feature. It's another version of Substrate, we can call it Substrate Mobile.

Sorry for the late reply. So you won’t support any pallets as part of this grant, but only the basic features of substrate itself, correct? Could specify this more concretely? I still think it makes sense to support at least one or two pallets in order to be able to test the functionality. Also you should take a look at smoldot. In case you haven’t already.

Ah, got it! Good suggestion, I never thought about including some pallets for testing purposes.  How do you think of using node-template as the test case?

Sorry for the late reply. So you won’t support any pallets as part of this grant, but only the basic features of substrate itself, correct? Could specify this more concretely? I still think it makes sense to support at least one or two pallets in order to be able to test the functionality. Also you should take a look at smoldot. In case you haven’t already.

Ah, got it! Good suggestion, I never thought about including some pallets for testing purposes. How do you think of using node-template as the test case?

Hi @Noc2 , sorry to bother you, could you help to continue the review?

Sorry for the late reply. The node template pallet is only a template and doesn't really help with testing. Or do you mean you will support all the pallets imported as dependencies as part of the substrate-node-template repo, like sc-consensus-babe, sc-finality-grandpa, etc. ?

Sorry for the late reply. The node template pallet is only a template and doesn't really help with testing. Or do you mean you will support all the pallets imported as dependencies as part of the substrate-node-template repo, like sc-consensus-babe, sc-finality-grandpa, etc. ?

Hi @Noc2 , yes, exactly, that's what I mean. The node template will include the basic pallets needed for a simple but usable chain.

How large is your team? Would you care to disclose their names and GitHub repos and could you show some prior work?

How large is your team? Would you care to disclose their names and GitHub repos and could you show some prior work?

Thanks for your concern. Currently, the team has only one guy, it's me. It's my personal side project to port Substrate on Android / iOS. I used to be a dapp developer and worked as a contractor to develop another Substrate-based project before.

Thanks. To be honest, for a one-man-project of this scope I'd rather it be someone very experienced with specific strong past projects to show. Besides, the application still lacks significant technical details.

Since your application has been open for a month and failed to raise interest from our side, we will now consider it final in its current state and will give it two more weeks to gather the necessary approval. If no 3 members of the committee approve it within this time, the pull request will be permanently closed. Thank you for your understanding.

Since your application has been open for a month and failed to raise interest from our side, we will now consider it final in its current state and will give it two more weeks to gather the necessary approval. If no 3 members of the committee approve it within this time, the pull request will be permanently closed. Thank you for your understanding.

Thanks for the reply.
First, let me find some teammates to work together on this project.
Second, more tech details will be added after I finish my job.
We can discuss it in two weeks, and we will see at that time. Hope I can attract your interest. :D

I'm closing this for now as per my last comment. Feel free to reopen the application when the mentioned challenges have been addressed.


fix double and more insert of links

before:

after:

Associated with https://github.com/deep-foundation/deepcase/issues/82


interfaces.py separate_file() not working properly?

Specs: Windows Version	10.0.19042 Build 19042, Python 3.8.3
I'm following the Source Separation tutorial that can be accessed from this page.
Since the audio I have is already mixed, I tried to use model.separate_file(), based off the HuggingFace speechbrain/sepformer-wsj02mix code. There are two issues with that:

CPU, RAM and disk usage on my PC shoot up into the high nineties, causing the computer to freeze.
After the computer unfreezes (presumably, after the calculations are finished), an error is thrown:

Traceback (most recent call last):
  ...
    est_sources = model.separate_file(path='data/test/audio/speech.wav')
  File "C:\...\venv\lib\site-packages\speechbrain\pretrained\interfaces.py", line 710, in separate_file
    est_sources = self.separate_batch(batch)
  File "C:\...\venv\lib\site-packages\speechbrain\pretrained\interfaces.py", line 669, in separate_batch
    est_mask = self.modules.masknet(mix_w)
  File "C:\...\venv\lib\site-packages\torch\nn\modules\module.py", line 889, in _call_impl
    result = self.forward(*input, **kwargs)
  File "C:\...\venv\lib\site-packages\speechbrain\lobes\models\dual_path.py", line 1124, in forward
    x = self.dual_mdl[i](x)
  File "C:\...\venv\lib\site-packages\torch\nn\modules\module.py", line 889, in _call_impl
    result = self.forward(*input, **kwargs)
  File "C:\...\venv\lib\site-packages\speechbrain\lobes\models\dual_path.py", line 975, in forward
    inter = self.inter_mdl(inter)
  File "C:\...\venv\lib\site-packages\torch\nn\modules\module.py", line 889, in _call_impl
    result = self.forward(*input, **kwargs)
  File "C:\...\venv\lib\site-packages\speechbrain\lobes\models\dual_path.py", line 597, in forward
    return self.mdl(x + pos_enc)[0]
RuntimeError: The size of tensor a (2830) must match the size of tensor b (2500) at non-singleton dimension 1

My guess is that the data that separate_file() passes to separate_batch() is incorrect:
source, fl = split_path(path)
path = fetch(fl, source=source, savedir=savedir)
batch, _ = torchaudio.load(path)
est_sources = self.separate_batch(batch)

Does resampling the data have something to do with it?
If, instead of using separate_file(), I write:
mix, fs = torchaudio.load('data/test/audio/speech.wav')
resampler = torchaudio.transforms.Resample(fs, 8000)
mix = resampler(mix)
est_sources = model.separate_batch(mix)

as suggested in the aforementioned tutorial, the computer doesn't freeze and est_sources is a torch.Tensor with torch.Size([1, 471272, 2]), which looks like expected behavior to me.

I didn't see this issue when I tried it few days ago. @ycemsubakan could you please take a look?

It seems this is related to the maximum length parameter inside the positional encodings. Those are currently set to 2500 maximum sequence length. If you downsample your signal to 8k, and then use the separate_file() function, it should work also, as it seems like after downsampling the sequence that is entered in the transformer is shorter than 2500.

It does work, but since separate_file() requires a path argument, I had to load the data, downsample it, save it to a file, and then pass the path to that file into separate_file(). To me, this seems unnecessary. Wouldn't it be better if the required downsampling was performed in the separate_file() method?

Yes, this is a good suggestion actually. We will add this to the code. Thank you @UrosOgrizovic !

The suggested fix has been implemented in #608 .

Was this fixed? I'm having the same problem (using the latest version, v0.5.13).
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

# Import all libraries
import speechbrain as sb
from speechbrain.dataio.dataio import read_audio, write_audio
import soundfile as sf # save librosa output
from speechbrain.pretrained import SepformerSeparation as separator # pretrained model by SpeechBrain
import os

MODEL_SAMPLE_RATE = 8000

if __name__ == '__main__':
    # Get audio
    print(f"[v] Getting file...")
    file_name = "../tmp_Vocals.wav"
    signal = read_audio(file_name).squeeze() # returns a `torch.Tensor`

    # separate
    print(f"[v] Separating speakers...")
    model = separator.from_hparams(source="speechbrain/sepformer-wsj02mix", savedir='pretrained_models/sepformer-wsj02mix')
    tmp_file_name = "tmp.wav"
    est_sources = model.separate_file(path=file_name, savedir=tmp_file_name) # ERROR HERE

Logs:
[v] Getting file...
[v] Separating speakers...
Resampling the audio from 44100 Hz to 8000 Hz
Traceback (most recent call last):
  File "init.py", line 24, in <module>
    est_sources = model.separate_file(path=file_name, savedir=tmp_file_name)
  File "/home/rogermiranda1000/miniconda3/lib/python3.10/site-packages/speechbrain/pretrained/interfaces.py", line 2033, in separate_file
    est_sources = self.separate_batch(batch)
  File "/home/rogermiranda1000/miniconda3/lib/python3.10/site-packages/speechbrain/pretrained/interfaces.py", line 1976, in separate_batch
    est_mask = self.mods.masknet(mix_w)
  File "/home/rogermiranda1000/miniconda3/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1194, in _call_impl
    return forward_call(*input, **kwargs)
  File "/home/rogermiranda1000/miniconda3/lib/python3.10/site-packages/speechbrain/lobes/models/dual_path.py", line 1021, in forward
    x = self.dual_mdl[i](x)
  File "/home/rogermiranda1000/miniconda3/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1194, in _call_impl
    return forward_call(*input, **kwargs)
  File "/home/rogermiranda1000/miniconda3/lib/python3.10/site-packages/speechbrain/lobes/models/dual_path.py", line 872, in forward
    inter = self.inter_mdl(inter)
  File "/home/rogermiranda1000/miniconda3/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1194, in _call_impl
    return forward_call(*input, **kwargs)
  File "/home/rogermiranda1000/miniconda3/lib/python3.10/site-packages/speechbrain/lobes/models/dual_path.py", line 597, in forward
    return self.mdl(x + pos_enc)[0]
RuntimeError: The size of tensor a (4924) must match the size of tensor b (2500) at non-singleton dimension 1

I am also still having this problem in v0.5.13

@mravanelli @ycemsubakan maybe the ticket needs to be re-opened?

I am also still having this problem in v0.5.13
I tried using the code suggested by @UrosOgrizovic, using separate_batch instead of separate_file. Still getting the same issue though, only occurs with some audio files.

Same about the separate_batch. I also tried with v0.5.7 and I got the same results.

Ah okay, it seems like this is also related to the max_length parameter. Splitting one of the files that failed into smaller chunks and running them individually fixes the problem. Is there a reason why that parameter isn't overridable?

still having the problem

@rogermiranda1000 Hi Roger, did you find a solution to this?

I actually don't remember. I've seen this error multiple times, and usually it was one of those 3 things:

The audio is stereo (multiple channels); it has to have one channel
The audio needs to be downsampled (I see in this issue that I tried MODEL_SAMPLE_RATE = 8000)
The audio is too long

You can try if any of those solves the issue, and if it does please state it here ( don't be like me XD ). Hope it helps!

Thanks for your reply @rogermiranda1000
@yc-li20 , please check what's happening here:
https://github.com/speechbrain/speechbrain/blob/f285f19e50567d5ba25f06c83c9bd9a31742b386/speechbrain/pretrained/interfaces.py#L2223
the file is automatically converted to mono, and it automatically down/re-samples the input audio to the model sampling frequency.
I think in your case it's due to the signal being long. And that's due to the positional embeddings. Can you try feeding a shorter audio?

@rogermiranda1000 Hi Roger, did you find a solution to this?

I actually don't remember. I've seen this error multiple times, and usually it was one of those 3 things:

The audio is stereo (multiple channels); it has to have one channel
The audio needs to be downsampled (I see in this issue that I tried MODEL_SAMPLE_RATE = 8000)
The audio is too long

You can try if any of those solves the issue, and if it does please state it here ( don't be like me XD ). Hope it helps!

Thank you so much for your kind response, Roger! Wish you happy holidays!

Thanks for your reply @rogermiranda1000 @yc-li20 , please check what's happening here:
https://github.com/speechbrain/speechbrain/blob/f285f19e50567d5ba25f06c83c9bd9a31742b386/speechbrain/pretrained/interfaces.py#L2223
the file is automatically converted to mono, and it automatically down/re-samples the input audio to the model sampling frequency.
I think in your case it's due to the signal being long. And that's due to the positional embeddings. Can you try feeding a shorter audio?

Thank you for your prompt answer, Cem! @ycemsubakan  I noticed this problem and am wondering if it is proper to simply chop the audio and then concatenate.

Yes, I think you can process the long chunks and concatenate. In the
transition you might have artifacts, but you can definitely try.
Best,
Cem
Le ven. 15 déc. 2023, à 18 h 52, YC @.***> a écrit :

Thanks for your reply @rogermiranda1000
https://github.com/rogermiranda1000 @yc-li20
https://github.com/yc-li20 , please check what's happening here:
https://github.com/speechbrain/speechbrain/blob/f285f19e50567d5ba25f06c83c9bd9a31742b386/speechbrain/pretrained/interfaces.py#L2223
the file is automatically converted to mono, and it automatically
down/re-samples the input audio to the model sampling frequency.
I think in your case it's due to the signal being long. And that's due to
the positional embeddings. Can you try feeding a shorter audio?
Thank you for your prompt answer, Cem! @ycemsubakan
https://github.com/ycemsubakan I noticed this problem and am wondering
if it is proper to simply chop the audio and then concatenate.
—
Reply to this email directly, view it on GitHub
https://github.com/speechbrain/speechbrain/issues/594#issuecomment-1858617854,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEGOFX4GFWWBMMR6YJ4XZF3YJTPE3AVCNFSM4ZROVI6KU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBVHA3DCNZYGU2A
.
You are receiving this because you were mentioned.Message ID:
@.***>

Yes, I think you can process the long chunks and concatenate. In the transition you might have artifacts, but you can definitely try. Best, Cem Le ven. 15 déc. 2023, à 18 h 52, YC @.***> a écrit :
…

Thank you, Cem! I am in the process of this. Hope it works well.
Happy early holidays!


iam-policy no longer works with mode: cloudtrail

Unable to get mode: cloudtrail to trigger action with iam-policy.  From my understanding, iam-policy utilizes list_polices (https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListPolicies.html, https://github.com/capitalone/cloud-custodian/blob/master/c7n/resources/iam.py#L84)
Attempted to use the example within the code itself and run from command line (https://github.com/capitalone/cloud-custodian/blob/master/c7n/resources/iam.py#L295-L299) which results in the following error:
https://gist.github.com/zachzeid/8a9d7b0345415a8329f91551495dfbe8
With using mode: cloudtrail, Custodian function does trigger, but does not invoke action:
policy: https://gist.github.com/zachzeid/44560d1cd66b0b0ceab25dd5c0d31c9c
The custodian function logs this to Cloudwatch Logs (https://gist.github.com/zachzeid/ca6a007a1f8cbd49f28743d5cb084219).  I suspect because the responseElements is null, it won't return any resource id to trigger the function.  I'm not understanding what filters need to be in place to trigger an action in this case.

That first trace back, implies the custodian version in the lambda doesn't have the action, which is odd since it had to validate to deploy

the issue i'm seeing is translating the event's policy arn back to a path for the resource id resolution when fetching the iam policies for c7n policy evaluation.


chore: Upgrade to TypeScript 5.4

Motivation
Upgrade to latest TS stable version
Note: I'm not yet using mode-resolution (ttps://github.com/microsoft/TypeScript/issues/49721) (TS 5.3) because:

I need to check if it impacts user min TS version, it might be a breaking change
Our version of Prettier does not support import attributes yet, we need to upgrade it first

import type {Transformer} from 'unified' with {"resolution-mode": "import"};

Test Plan
CI + min/max range tests (see https://github.com/facebook/docusaurus/pull/10063)
Test links
https://deploy-preview-10076--docusaurus-2.netlify.app/

Hey @slorber I landed here because of the reference I found in code:
https://github.com/facebook/docusaurus/blob/b6644d836b5cb529e6bb73aed57f52fbb179a23b/packages/docusaurus-mdx-loader/src/processor.ts#L25C31-L31
I wonder if that type can be cleaned up now?

Context:
I have a bunch of custom rehypePlugins plugins, that I need to TS-type but not sure how to type them now 😞

@csantos-nydig you can do the cleanup in your own codebase
But we can't do it on Docusaurus because it would emit d.ts files with newer TS features which require all users to upgrade TS (breaking change). We'll do the cleanup for the next major version.


Inconsistency on the Stack Pointer Alignment Specification

I've been studying "The RISC-V Instruction Set Manual Version 2.1", and find an inconsistency.
It is in Chapter 20 Calling Convention.  It seems that the chapter is not included in this repository, but I could not find any other places. Let me know if there is a better place.
On P.109 the first paragraph says;

... the stack pointer is always kept 16-byte aligned.

On the other hand "20.3 Soft-Float Calling Convention" says;

... and the stack discipline is the same except that the stack is only kept aligned to XLEN/8-byte boundaries ...

And the footnote says;

The reduced stack alignment saves space in the memory-constrained systems that
might commonly use soft floating-point.

The first paragraph on P.109 should be;

... the stack pointer is always kept 16-byte aligned unless the soft-float calling convention is not used (see 20.3).

This is a trivial issue, but a real problem is in the definition of C.ADDI16SP instruction, which is also for memory-contrained systems.
It assumes the stack pointer is kept 16-byte aligned and is useless if the stack pointer is not 16-byte aligned.
There should be some description about this restriction in the description of the instruction on page 86.
And the footnote on the page;

In the standard RISC-V calling convention, the stack pointer sp is always 16-byte aligned.

also should be fixed.

The calling convention documentation will be removed from the ISA manual 2.2 because it is being moved to https://github.com/riscv/riscv-elf-psabi-doc/blob/master/riscv-elf.md, although I see that document is silent on stack alignment.

Closing, as this should be discussed on https://github.com/riscv/riscv-elf-psabi-doc/issues/21