Calling "list" requires special permissions

Greetings,
We're using a service principal with a Reader built-in role. But it's not sufficient for performing azure.appServices().functionApps().list() call. The error is:
The client 'XXX' with object id 'YYY' does not have authorization to perform action 'Microsoft.Web/sites/config/list/action' over scope '/subscriptions/ZZZ/resourceGroups/function-app-1/providers/Microsoft.Web/sites/function-app-1/config/appsettings

This could be resolved creating a custom role with permissions
"Actions": [
      "*/read",
      "Microsoft.Web/sites/config/list/action"
    ],

We don't need the information that is obtained with this call, but there's no way to configure what should be fetched. Also in the CLI v2 this issue is not present, so one can do az functionapp list having only Reader role.
We would like to avoid creating a custom role as much as possible.

This is fixed in https://github.com/Azure/azure-libraries-for-java/pull/22


Change ADP example; change optimisation part as the original implementation

After #18, change optimisation part as the original implementation by T. Bian as described in #8.

For now, it is not a high-priority issue.


mem_mgnt: Add reallocation method

To leverage the newly added mem_mgnt subsystem for LVGL an implementation of realloc is needed.
This PR implements the reallocation first in the multi_heap and based on that finally in the mem_attr_heap.

@faxe1008 uhm, I didn't see this one. Can you rebase?

@faxe1008  rebase please

@nashif @carlocaione Did the rebase onto main :^)

@nashif @carlocaione Did the rebase onto main :^)

yeah, but probably @andyross wants to look at this

@nashif @carlocaione Did the rebase onto main :^)

yeah, but probably @andyross wants to look at this

@andyross will you please take a look?


Timeout waiting for machine to restart

Description
When I build with Packer using the Windows Server 2019 JSON located in this repository, I get to the windows-restart step after the windows update step has been run.
At this step I get the following error:
==> vhd: Provisioning with powershell script: C:\a\1\s\Default-Windows\virtual-environments\images\win/scripts/Installers/Install-WindowsUpdates.ps1
vhd: Run windows updates
vhd:
vhd: X ComputerName Result     KB          Size Title
vhd: - ------------ ------     --          ---- -----
vhd: 1 pkrvm1zbc... Accepted   KB4481252   13MB Microsoft Silverlight (KB4481252)
vhd: 1 pkrvm1zbc... Accepted   KB4052623    5MB Update for Windows Defender Antivirus antimalware platform - KB4052623 (V...
vhd: 1 pkrvm1zbc... Accepted   KB4535680   47KB Security Update for Windows Server 2019 for x64-based Systems (KB4535680)
vhd: 1 pkrvm1zbc... Accepted   KB4589208    3MB 2021-01 Update for Windows Server 2019 for x64-based Systems (KB4589208)
vhd: 1 pkrvm1zbc... Accepted   KB890830    35MB Windows Malicious Software Removal Tool x64 - v5.93 (KB890830)
vhd: 1 pkrvm1zbc... Accepted   KB5005653   76MB 2021-09 Cumulative Update Preview for .NET Framework 3.5, 4.7.2 and 4.8 f...
vhd: 1 pkrvm1zbc... Accepted   KB4052623    7MB Update for Microsoft Defender Antivirus antimalware platform - KB4052623 ...
vhd: 1 pkrvm1zbc... Accepted   KB2267602  719MB Security Intelligence Update for Microsoft Defender Antivirus - KB2267602...
vhd: 1 pkrvm1zbc... Accepted   KB5005568   16GB 2021-09 Cumulative Update for Windows Server 2019 (1809) for x64-based Sy...
vhd: 2 pkrvm1zbc... Downloaded KB4481252   13MB Microsoft Silverlight (KB4481252)
vhd: 2 pkrvm1zbc... Downloaded KB4052623    5MB Update for Windows Defender Antivirus antimalware platform - KB4052623 (V...
vhd: 2 pkrvm1zbc... Downloaded KB4535680   47KB Security Update for Windows Server 2019 for x64-based Systems (KB4535680)
vhd: 2 pkrvm1zbc... Downloaded KB4589208    3MB 2021-01 Update for Windows Server 2019 for x64-based Systems (KB4589208)
vhd: 2 pkrvm1zbc... Downloaded KB890830    35MB Windows Malicious Software Removal Tool x64 - v5.93 (KB890830)
vhd: 2 pkrvm1zbc... Downloaded KB5005653   76MB 2021-09 Cumulative Update Preview for .NET Framework 3.5, 4.7.2 and 4.8 f...
vhd: 2 pkrvm1zbc... Downloaded KB4052623    7MB Update for Microsoft Defender Antivirus antimalware platform - KB4052623 ...
vhd: 2 pkrvm1zbc... Downloaded KB2267602  719MB Security Intelligence Update for Microsoft Defender Antivirus - KB2267602...
vhd: 2 pkrvm1zbc... Downloaded KB5005568   16GB 2021-09 Cumulative Update for Windows Server 2019 (1809) for x64-based Sy...
vhd: 3 pkrvm1zbc... Installed  KB4481252   13MB Microsoft Silverlight (KB4481252)
vhd: 3 pkrvm1zbc... Installed  KB4052623    5MB Update for Windows Defender Antivirus antimalware platform - KB4052623 (V...
vhd: 3 pkrvm1zbc... Installed  KB4535680   47KB Security Update for Windows Server 2019 for x64-based Systems (KB4535680)
vhd: 3 pkrvm1zbc... Installed  KB4589208    3MB 2021-01 Update for Windows Server 2019 for x64-based Systems (KB4589208)
vhd: 3 pkrvm1zbc... Installed  KB890830    35MB Windows Malicious Software Removal Tool x64 - v5.93 (KB890830)
vhd: 3 pkrvm1zbc... Installed  KB5005653   76MB 2021-09 Cumulative Update Preview for .NET Framework 3.5, 4.7.2 and 4.8 f...
vhd: 3 pkrvm1zbc... Installed  KB4052623    7MB Update for Microsoft Defender Antivirus antimalware platform - KB4052623 ...
vhd: 3 pkrvm1zbc... Installed  KB2267602  719MB Security Intelligence Update for Microsoft Defender Antivirus - KB2267602...
vhd: 3 pkrvm1zbc... Installed  KB5005568   16GB 2021-09 Cumulative Update for Windows Server 2019 (1809) for x64-based Sy...
vhd: Reboot is required, but do it manually.
==> vhd: Restarting Machine
==> vhd: Waiting for machine to restart...
==> vhd: A system shutdown is in progress.(1115)
vhd: Restart complete
==> vhd: #< CLIXML
vhd: pkrvm1zbcpi7ss6 restarted.
==> vhd: System.Management.Automation.PSCustomObjectSystem.Object1Preparing modules for first use.0-1-1Completed-1
==> vhd: Timeout waiting for machine to restart.
==> vhd: Provisioning step had errors: Running the cleanup provisioner, if present...
I've tried to run it multiple times, still fails at that exact step.
Virtual environments affected

[ ] Ubuntu 16.04
[ ] Ubuntu 18.04
[ ] Ubuntu 20.04
[ ] macOS 10.15
[ ] macOS 11
[ ] Windows Server 2016
[X] Windows Server 2019
[ ] Windows Server 2022

Image version and build link
Trying to build from the main branch, per the instructions here: https://github.com/actions/virtual-environments/blob/main/docs/create-image-and-azure-resources.md
Is it regression?
No response
Expected behavior
No response
Actual behavior
No response
Repro steps
Follow the steps here:
https://github.com/actions/virtual-environments/blob/main/docs/create-image-and-azure-resources.md

As additional information - I just tried to build the Windows 2022 image and it completed successfully.

Any luck with this, have you been able to replicate/pinpoint the issue? 🙂

So I was using version 1.6.0 of Packer, just did a test where I changed it to the latest version (1.7.6). With this being done, now it seems to be working (at least not failing with a timeout on the same reboot step).
I'll post here as the Packer image build progresses.


We hope to take the lead in supporting WinForm in. Net 5.0

SteveSandersonMS 在 https://blog.stevensanderson.com/2019/11/01/exploring-lighter-alternatives-to-electron-for-hosting-a-blazor-desktop-app/  :
What would have to be built to make this viable
As I’ve said, Blazor Desktop is currently just a quick proof-of-concept, built entirely during the waking part of my return journey from NDC Sydney. It would have a long way to go to turn into a viable product.
It would need:
Cross-platform support, e.g., using webview
Edge (Chromium) support, so that on Windows 10 we’re using the OS’s own Chromium-based browser instead of the Edge-based webview used in my prototype. This would also enable access to Chrome-style browser dev tools automatically.
Handling the scenario where a suitable webview can’t be found. In the rare case where a user’s OS doesn’t supply an acceptable webview technology, we could prompt the user and download a standalone Chromium distribution (likely via CEF).
Desktop APIs - this is the big one that would be expensive to achieve from scratch. Electron doesn’t just use Node as a general-purpose programming environment; it also ships a set of cross-platform APIs for interacting with the desktop OS for tasks like copying to clipboard, changing the taskbar/dock icon, displaying native dropdown menus, showing native prompts/dialogs, and many more such things. .NET Core itself supplies a huge proportion of the APIs that applications need, but today it doesn’t address many of the desktop-focused ones, since there isn’t today any standard cross-platform .NET Core-based UI technology. Any realistic app needs these capabilities. Conceivably it might be worth bundling Node just to get cross-platform implementations for these APIs (though still without bundling Chromium).
Publishing and downloading updates automatically
As far as the windows platform is concerned, all problems are not problems on. Net 5.0, except that they are not cross platform.
However, many industry applications need WebView to transform traditional applications, and many of them run on Windows platform. Therefore, we hope to make WebView the first to support  WinForm in. Net 5.0

if you focus on windows, how about this idea https://github.com/congzhangzh/desktoploveblazorweb/tree/wpf_wip


[docs] Update typo in docs - portals

[x] I have followed (at least) the PR section of the contributing guide.

Thanks


Linux - Error: Cannot find module '/tmp/.mount_IGdm-2GNftSR/resources/electron.asar/browser/init.js'

Using Debian 9 - Xfce
After downloading the last version of igdm : IGdm-2.5.1-x86_64.AppImage
And also after giving permissions to it with chmod a+x IGdm-2.5.1-x86_64.AppImage
This error appear after tryint to open it on terminal : ./IGdm-2.5.1-x86_64.AppImage
module.js:545
throw err;
^
Error: Cannot find module '/tmp/.mount_IGdm-2GNftSR/resources/electron.asar/browser/init.js'
at Function.Module._resolveFilename (module.js:543:15)
at Function.Module._load (module.js:473:25)
at Function.Module.runMain (module.js:683:10)
at startup (bootstrap_node.js:196:16)
at bootstrap_node.js:622:3

Can you try and see if the deb works for you instead?
See here for all release binaries

Sorry for the delay, the internet is quite slow in here.
Yeah, the debs works just fine.
But even after using it, the AppImage remains with the same error.

Same here.
Deb works, AppImage doesn't.
 :-P

Same issue on Linux Mint 18.3.
deb works fine though.

This should be fixed with #374 hopefully.


Fix typos

Thanks, it's always good to have fresh eyes look at things! (especially considering I had a couple of dumb copy/paste errors in there, ugh...)


Wrong post-fit yields using robustFit=1 option

Hi,
I have noticed that the post-fit yields reported using robustFit=1 option for simple cut-based data cards are plainly wrong. See the trivial example (*)
If I do (a)
combine -M MaxLikelihoodFit test.text -m 111  --saveNorm --rMin=-2 --rMax=4 --X-rtd FITTER_DYN_STEP -n hWWtest
I get:
Best fit r: 1  -0.099504/+0.110251  (68% CL)
and
python $CMSSW_BASE/src/HiggsAnalysis/CombinedLimit/test/mlfitNormsToText.py ana_test/111/mlfithWWtest.root
ch1                            background                     1000.000 1000.000
ch1                            signal                         1000.000   0.000

as it should be since the cut-based doesn't change in a meaningful way the nuisances, i.e. post-fit and pre-fit yields should be identical, except the change given by mu. In this case mu==1, and hence no change is expected anywhere.
or (b)
combine -M MaxLikelihoodFit /afs/cern.ch/work/c/ceballos/combination/ana_test/111/test.text -m 111  --saveNorm --rMin=-2 --rMax=4 --robustFit=1 --X-rtd FITTER_DYN_STEP -n hWWtest

Best fit r: 1  -0.0991638/+0.110337  (68% CL)
and
python $CMSSW_BASE/src/HiggsAnalysis/CombinedLimit/test/mlfitNormsToText.py ana_test/111/mlfithWWtest.root
ch1                            background                     1000.000 1000.000
ch1                            signal                         1089.421   0.000

So, we get consistent values for mu and its uncertainty, but the post-fit yield doesn't make sense. In fact, what I see (in more complicated cases) is that the yields appear to be close to 1-sigma higher in all processes, where 1-sigma is roughly the overall uncertainty for the given process.
Thanks, Guillelmo
(*)
> cat test.text
imax 1 number of bins
jmax 1 number of processes minus 1
kmax 1 number of nuisance parameters
------------------------------------------------
shapes *    ch1  FAKE
------------------------------------------------
bin          ch1
observation  2000.0
------------------------------------------------
bin                          ch1          ch1
process                      signal       background
process                      0            1
rate                         1000.0       1000.0
------------------------------------------------
lumi                      lnN  1.100      -

This seems to have been fixed in later versions.


add Virginia's Community Colleges

New River college is a sub-college under Virginia's Community Colleges.
https://www.nr.edu/degrees/computers.php, here is the computer science website.
https://www.vccs.edu/. this is the vccs main website.

@lvpidadiao I am sorry, the domain vccs.edu is blacklisted because the school allows to register an email address there even if you are not a student of the school. If you are the student of this school, please apply with official document (OFFICIAL DOCUMENT tab at https://www.jetbrains.com/shop/eform/students).


TuxOnIce and swapfile

Hello,
is it somehow possible to use better-initramfs with a swapfile and tuxonice?
The line of resume looks liks this :
tuxonice resume=file:UUID=xxx-xxx-xx:offsetxxx
The file is in /root/swapfile, but i get the information, that is not there with the following error:
resume: could not stat the resume device file
also tried
resume=file:/root/swapfile
Could i be, that i make some kind of error?
root is fully encrypted, i use the following grub line:
linux /kernel-4.4.8 enc_root=/dev/gnr/root lvm luks root=/dev/mapper/enc_root rootfstype=ext4 toi_initramfs_resume_only=1 tuxonice resume=file:UUID=xxx-xxx:offsetxxx
xxx =for short ;)
When i don't use tuxonice and everything else, it works like a charm.
It seems, that it's trying to encrypt the partition after everything else was parsed?

Hi,
I have not tested tuxonice in years, but I think you sould add there something like resume=file:/dev/sda2:0xdc008. I think you cannot use UUID there, as tuxonice reads the kernel params on itself, so I think covering it within better-initramfs would not change enything.

Hello,
the reason for this is, that i want to save the resume file in an encrypted partition.
With `resume=file:/dev/sda2:0xdc008 wouldn't work ;)
Swap partition is in /dev/mapper/gn-swap (LVM) and also encrypted.
The Key for this is in /root/xxxxx.
Do you have any suggestions?

Try with the full path, /dev/mapper/gn-swap. The resume code is executed after dmcrypt and lvm are settled so it could work. I am 100% sure I was using TuxOnIce on luks-encrypted lvm lv before, tho not sure if it was a file or the whole swap.


CMS 4: Deprecate the $chain argument in Database::transactionEnd()

Description
The argument bool $chain was removed in the methods Database::transactionEnd() and NullDatabase::transactionEnd() in CMS5.  The argument $chain should be marked as deprecated in these methods in CMS4.
Acceptance Criteria

[x] The $chain argument is marked as deprecated in Database::transactionEnd()
[x] None of our code uses that argument

PR

https://github.com/silverstripe/silverstripe-framework/pull/10709

PR merged


README_first.ipynb needs updating

From Phase 2 to Phase 3

Looks good, will double-check We

Nice! Closing as done.


Requiring 2.0.7 pins laravel to 5.x.0

When I pinned syntax/steam-api to 2.0.7, Laravel got force downgraded:
± composer update
> php artisan clear-compiled
Loading composer repositories with package information
Updating dependencies (including require-dev)
  - Removing laravel/framework (v5.3.2)
  - Installing laravel/framework (v5.3.0)
    Downloading: 100%

  - Installing nukacode/database (1.0.2)
    Downloading: 100%

  - Removing syntax/steam-api (2.0.6)
  - Installing syntax/steam-api (2.0.7)
    Downloading: 100%

which I'd say is highly undesirable.

The newest version allows 5.0, 5.1, 5.2 or 5.3.  In your composer.json are you specifically requiring "laravel/framework": "^5.3"?

we specify "laravel/framework": "5.3.*"

Yeah, I started up a new install of 5.3 and it complained about the versions.  I have created 2.0.8 which sets the version back to ^5.0.  So anything 5.0-<6.0 should be fine.

Let me know if this fixes things for you.

yup, now it's good :+1:


Build failure - \node-v6.7.0-win-x64\node.exe'' finished with non-zero exit value 1

I have installed Node Js version v6.11.0. But I'm getting the following error. Please help me on this.
Information:Gradle tasks [:apollo-android-support:generateDebugSources, :apollo-android-support:mockableAndroidJar, :apollo-android-support:prepareDebugUnitTestDependencies, :apollo-android-support:generateDebugAndroidTestSources, :apollo-espresso-support:generateDebugSources, :apollo-espresso-support:generateDebugAndroidTestSources, :apollo-espresso-support:mockableAndroidJar, :apollo-espresso-support:prepareDebugUnitTestDependencies, :apollo-integration:generateDebugSources, :apollo-integration:mockableAndroidJar, :apollo-integration:prepareDebugUnitTestDependencies, :apollo-integration:generateDebugAndroidTestSources, :apollo-sample:generateDebugSources, :apollo-sample:mockableAndroidJar, :apollo-sample:prepareDebugUnitTestDependencies, :apollo-sample:generateDebugAndroidTestSources]
Error:Execution failed for task ':apollo-integration:generateDebugApolloIR'.

Process 'command '\apollo-android-master\apollo-integration.gradle\nodejs\node-v6.7.0-win-x64\node.exe'' finished with non-zero exit value 1
Information:BUILD FAILED
Information:Total time: 3.551 secs
Information:1 error
Information:0 warnings
Information:See complete output in console

I'm having the exact same issue tried around with different node versions and tried different order of gradle tasks also. Any Idea how this could be solved?

Can you try running with --info --stacktrace and post the output?

Successfully started process 'command '/Users/xxx/Documents/FirstGraphQL/app/.gradle/nodejs/node-v6.7.0-darwin-x64/bin/node''
.../graphql/zzz/firstgraphql/GithuntFeedQuery.graphql: Apollo does not support anonymous operations
error: Validation of GraphQL query document failed
:app:generateDebugApolloIR FAILED
:app:generateDebugApolloIR (Thread[Daemon worker,5,main]) completed. Took 0.579 secs.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:generateDebugApolloIR'.
> Process 'command '/Users/xxx/Documents/FirstGraphQL/app/.gradle/nodejs/node-v6.7.0-darwin-x64/bin/node'' finished with non-zero exit value 1

You need to name your query like so https://github.com/apollographql/apollo-android/blob/master/apollo-sample/src/main/graphql/com/apollographql/apollo/sample/GithuntFeedQuery.graphql#L1

I had this issue with Apollo 0.4.1 and Kotlin 1.1.51 and the only thing that worked was downgrading Kotlin to 1.1.50.

@marwanad sorry this is a noob question but what's the command in the terminal that I should add the --info --stacktrace option to? and in which directory does it need to be invoked?

I'm also getting the same error. I double checked the schema.json and .graphql query file.
Error:org.gradle.process.internal.ExecException: Process 'command
'......app/.gradle/nodejs/node-v6.7.0-darwin-x64/bin/node'' finished with non-zero exit value 1
I'm using apollo v0.4.4 and kotlin v1.2.20. Can anyone tell me why Apollo is throwing this error during code generation?

All my queries are named as in https://github.com/apollographql/apollo-android/blob/master/apollo-sample/src/main/graphql/com/apollographql/apollo/sample/GithuntFeedQuery.graphql#L1 so that is not the issue.

Ok, I have the exact same problem but I could build in command line but not through Android Studio. Running with --info in AS's terminal I got this:
npm ERR! Error: EPERM: operation not permitted, rename 'C:\Users\vince\dev\app\build\apollo-codegen\node_modules\apollo-codegen' -> 'C:\Users\vince\dev\app\build\apollo-codegen\node_modules\.apollo-codegen.DELETE'
npm ERR!     at Error (native) parent: 'apollo-android' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.

So for me it seems to be a permissions problem

I'm getting this error with Apollo v0.4.4 but the code-gen works fine with v0.4.3.
Error:org.gradle.process.internal.ExecException: Process 'command
'......app/.gradle/nodejs/node-v6.7.0-darwin-x64/bin/node'' finished with non-zero exit value 1

Apollo 0.4.4
Ubuntu 17.10
Error:Execution failed for task ':app:installApolloCodegen'.

Process 'command './app/.gradle/nodejs/node-v6.7.0-linux-x64/bin/node'' finished with non-zero exit value 243

Same issue here as well, even with the sample project, only difference is instead of getting exit value of 1 I get exit value of 243

Pay attention that every query has a name...

I had the same issue, and was able to resolve it by naming my query as mentioned above.

@hshahdoost
Same here man. A variable was changed on the graphql server and I needed to update my query. Therefor also needed to update the schema.json and the shitshow started.
How did you downgrade the apollo-codegen cli ?

@hopstad first make sure you are not using the apollo cli (the old apollo-codegen has been deprecated and been replaced by this new command). the generated schema by apollo cli is not readable by this command.
Then go to this url to see the available versions of apollo-codegen.
And finally uninstall your current apollo-codegen and install it in the following format
npm install<EMAIL_ADDRESS>
PS: by the time I faced this error, Apollo android could not read the schema generated by apollo cli command, It might not be like this in the future versions so the best practice would be to first update your library to the latest version and then if it could not read the schema try using apollo-codegen command

@hshahdoost
Thanks mate!
Solved by removing apollo and installing the new one. Then using new command for downloading schema : apollo schema:download --endpoint=https://something.com

@hshahdoost
Nevermind.. Still not working. I thought it was, but was wrong. What I did was uninstall apollo and tried the new one (apollo schema:download). The error was now of a different type and said the following:

GraphQL schema file should contain a valid GraphQL introspection query result

Tried to uninstall again and download a old apollo version (0.20.2) and did the same old "apollo-codegen" and them I'm back to the same error as before:

error: Validation of GraphQL query document failed

@hopstad I kind of got surprised because in your mention above, you were using apollo instead of apollo-codegen

Solved by removing apollo and installing the new one. Then using new command for downloading schema : apollo schema:download --endpoint=https://something.com

I am facing this error using AWS-Amplify. apollo is part of Amplify now. I am facing the error like

error: Validation of GraphQL query document failed

@hshahdoost
EDIT
Finally fixed. Totally removed everything. npm, apollo etc. Deleted .grade file in Android Studio. Reinstalled everything (apollo-codegen not apollo) and it works now.

.grade file?

@kpjofficial no, There is nothing wrong with the .gradle file the apollo node command is incompatible with the new apollo android. All you have to do is to the use the old apollo-codegen instead. here is a list of available versions install the old version and use it to generate your schema file.

@kpjofficial no, There is nothing wrong with the .gradle file the apollo nodejs command is incompatible with the new apollo android. All you have to do is to the use the old apollo-codegen instead. here is a list of available versions install the old version and use it to generate your schema file.

I recently tried apollo-codegen, after receiving the incompatibility of apollo result:
apollo-codegen download-schema http://localhost:8080/graphql/
but actually, the error says nothing:
error: Errors in introspection query result:
...
apollo-codegen --version
0.20.2

I'm stuck here.

Also having the same issue. I installed apollo-codegen to create the schema.json but I'm still getting a build failure with exit code 1.

Fixed for me:
The schema generated by
apollo schema:download --endpoint=http://localhost:8080/graphql
or
apollo service:download --endpoint=http://localhost:8080/graphql
results without the "data" name.
Adding
{
  "data": {
    "__schema": {...}
  }
}

with the corresponding spaces, finished the ':generateMainApolloIR' subtask, generating the classes for the queries on *.graphql files successfully.

Fixed for me:
The schema generated by
apollo schema:download --endpoint=http://localhost:8080/graphql
or
apollo service:download --endpoint=http://localhost:8080/graphql
results without the "data" name.
Adding
{
  "data": {
    "__schema": {...}
  }
}

with the corresponding spaces, finished the ':generateMainApolloIR' subtask, generating the classes for the queries on *.graphql files successfully.

Been stuck on this , still not working , can you just walk me through what steps you took ,
Apollo gradle plugin version etc.
:(


Cannot declare class Composer\Autoload\ComposerStaticInit*

If I spawn a thread I receive the following error:
PHP Fatal error:  Cannot declare class Composer\Autoload\ComposerStaticInit9ddc8272b94b84d953a76ade264999aa, because the name is already in use in /var/www/vendor/composer/autoload_static.php on line 7
PHP Stack trace:
PHP   1. Icicle\Concurrent\Threading\Internal\Thread->run() /var/www/vendor/icicleio/concurrent/src/Threading/Internal/Thread.php:0
PHP   2. ComposerAutoloaderInit9ddc8272b94b84d953a76ade264999aa::getLoader() /var/www/vendor/icicleio/concurrent/src/Threading/Internal/Thread.php:71
PHP   3. require_once() /var/www/vendor/composer/autoload_real.php:28
I can imagine something has changed in the composer autoloader. I have the same results running the example.

I can work around it by adding define('HHVM_VERSION', false); just before requiring of autoloader. This disables the static autoloader:
define('HHVM_VERSION', false);; require 'vendor/autoload.php';


Tetsuya Yamamoto: Watch thegymsportsbars.com

Tetsuya Yamamoto requests the watch of the watch_keyword thegymsportsbars.com. See the Metasmoke search here and the Stack Exchange search here.

thegymsportsbars.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Coverage remained the same at 65.446% when pulling ed17e0a7062447df0f81954c98f3616e6e5eab0d on auto-blacklist-1513912141.7588484 into ca9ae8ddc3dfecd8a5b76175ce08b686fe376d5b on master.

!!/approve


prompt control of parameters

Feature Idea
example
<random:step:4,5,6>
Other
No response

Could you elaborate more on what is this intended to do, and a practical example of how one would use this syntax?

Say I want to explore CFG scale and steps in flux, I take flux as an example because step count changes the look a lot, today I have to generate an image, change the parameter in the UI then press generate again.
This new syntax does that for me random:step:20,25,30,35,40random:cfg:0.5,1,1.5, each generation uses a random permutations of these 2 parameters.


The file button  is not working (Have no permission file read in settings)

trouble with file select. Have no Permits

trouble with file select. Have no Permits

You need to give permission to read files.

GrapheneOS - when I pushed the button to select the file I have alert about app permission required. I'm agree & pushing OK & then app redirect me to app permissions directory in the phone settings & its great, but.... Have no read files permission in settings. This option does not exist in the settings at all. Look in attached screenshot's

it's pretty obvious that the file read permission is actually not granted. All you have to do is give the file read permission

I'm sorry, I'm not clear on how to do this.

First app delete and reinstall

Many thanks for trying for help. Unfortunately the problem is not solved by re-installation. Anyway thanks. (Same trouble have in other devices on LineageOS ROM)


Support references within iframes

This PR fixes an issue related to cases where references are contained within iframes, e.g.:

...

const popper = document.querySelector('.popper')
const iframe = document.querySelector('iframe')
const reference = iframe.contentDocument.querySelector('.reference')

new Popper(reference, popper, { ... })

The getScrollParent() and setupEventListeners() utilities will now correctly return the body and window references, respectively, of the associated iframe rather than the host frame.

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

Looks good thanks! Waiting for CI to finish its stuff

Ok everything looks good, may you increase the file size limit here to 7.5 so that we have some time until I decide how to reduce the size of the lib again?

Sure thing 👌

⚠  Heads up: I just realised that this will break if used with sandboxed iframes that don't allow scripts as the scroll listener is run in the context of the iframe.

I don't think this is a problem right? I mean, it's a browser limitation, it's up to the consumer to make sure he's not breaking the rules.

Shouldn't be a problem, no; people indeed have to mind browser restrictions as always 👍


Getting exception when using allure.description

Describe the bug
When used allure.description in jest test cases getting below exception
● DemoTest1 › DemoTest 1.1 regressoin
RangeError: Maximum call stack size exceeded

  at JestAllureInterface.description (node_modules/jest-circus-allure-environment/src/jest-allure-interface.ts:137:20)
  at JestAllureInterface.description (node_modules/jest-circus-allure-environment/src/jest-allure-interface.ts:138:8)
  at JestAllureInterface.description (node_modules/jest-circus-allure-environment/src/jest-allure-interface.ts:138:8)
  at JestAllureInterface.description (node_modules/jest-circus-allure-environment/src/jest-allure-interface.ts:138:8)
  at JestAllureInterface.description (node_modules/jest-circus-allure-environment/src/jest-allure-interface.ts:138:8)

To Reproduce
Steps to reproduce the behavior:
`it("DemoTest 1.1 regressoin", async () => {
    await new Promise(resolve => setTimeout(resolve, 4000));

    console.log("DemoTest 1.1")

    console.log("process.env.NODE_BRO " + process.env.NODE_BRO)
    console.log("process.env.NODE_ENV " + process.env.NODE_ENV)

    allure.logStep('step DemoTest 1.1 water '+ process.env.NODE_BRO);
    allure.logStep('step DemoTest 1.1'+ process.env.NODE_ENV);

    allure.description("description Step DemoTest 1.1");
})

`
package.json
"devDependencies": {
"jest": "^26.4.2",
"jest-circus": "^26.4.2",
"jest-circus-allure-environment": "^0.11.2"
}
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: Windows 10
Browser
Version

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

Thanks for opening a ticket. It looks like the allure.description() method was not fetching the currently active test case before applying the description. I've made a fix for this and wrote a test that provides an example of how it can be used here.
BTW the recommended way to add a description to a test case is to use docBlock comments since these have no chance of interfering with your test code.
Example:
test('does something important, when triggered by user', () => {
  /** This is my description that will appear on the Allure report.
   */

  ...
})

Documentation

Thanks Mate

No problem 👍🏻


Repeat wallet detection polling periodically

Having to refresh the whole page after installing/enabling an extension on a website is a subpar user experience.
After this pull request is merged, wallets will get detected "live", as they become available for the website.
I believe there are two situations when this can happen:

extension is installed (onboarding flow, I'd say crucial to the network adoption)
extension is enabled (Safari iOS extension flow, described eg. at this article).

performDetection callbacks are very very light functions, calling them on a few adapters shouldn't impact overall browser performance.

Thanks for this! I think we get most of the benefit of https://github.com/solana-labs/wallet-adapter/issues/215 and performance is probably okay. I wonder if it would be beneficial to use a single interval and then loop through wallets registered for detection...

post a message to window once the extension is ready

Would that still leave us open to a race condition, if the extension posts the message before the app installs a listener for it? I want to nudge us into a place where race conditions become impossible, and wallet detection is bulletproof. I think that the architecture in #215 would achieve that! What do you think?

add an argument to scopePollingDetectionStrategy which would disable the forever-repeating interval

If we make it more cooperative (ie. schedule the work with requestIdleCallback we'll probably be OK.

I'm also thinking through an architecture that might obviate the need to poll, ever. Your use case was ‘I just installed the extension, and I want it to be recognized mid session.’ I'm wondering if, when you install the extension, the window experiences a blur event, and once it's installed it experiences a focus event. Maybe all we need to do is to perform a round of detection every time the window focuses!

@sjchmiela, can you rock this up:
window.addEventListener('blur', () => {
  console.log('blur');
  // Log whether or not your wallet is installed.
});
window.addEventListener('focus', () => {
  console.log('f');
  // Log whether or not your wallet is installed.
});

Then go through the process of installing Glow from scratch? If you can detect it on focus, then we can get rid of most of this polling stuff.


How to use eth-docker to run RPC node which is synced to the custom devnet?

Dear eth-docker engineers.
I'm working on a project where eth-docker is used essentially to spin up the RPC nodes.
At this moment, I'm using ethereum-package to start the devnet system.
For the development purpose, I need to run another RPC node which is synced to the devnet.
I cloned the network-configs folder which is used by ethereum-package and then update it by adding bootnodes.txt and bootstrap_nodes.txt files which are holding the enode and multiaddress of geth and lighthouse nodes.
Then, I tried to store this folder in github and use eth-docker's "custom network" feature by setting this folder for its network form.
I confirmed that the geth node from eth-docker is properly synced to the devnet's geth node.
However, the lighthouse node is not synced. Here's the screenshot of its log. It's showing some slot numbers which does not matching with the devnet's ones.

And from the execution node's log, I can see that it's not synced with the lighthouse.

Here's the network-configs folder I tried to use to start the eth-docker.
https://github.com/Nomad-Free-Talent/interstate-devnet/tree/main/network-configs
Can you help me to troubleshoot this issue, please?

Merry Christmas.
Interesting one. This feature was added at the request of Barnabas of ethpandaops, and I don't know how much testing it got.
I notice Lighthouse has 0 peers as well, which means either bootnodes isn't being handed to it correctly, or the bootnodes aren't reachable.
It's an interesting use case. I'll take a look.

This appears to be a problem with your bootnodes, not with Eth Docker.
consensus-1  | Dec 29 08:59:06.964 ERRO Error getting mapping to ENR            error: Timeout, multiaddr: /ip4/<IP_ADDRESS>/tcp/32821/udp/32776/p2p/16Uiu2HAm79LXSiDcYemaxoa9BMfeNQh9GhYMvr8uzQAiBSCYNXq4, service: libp2p
consensus-1  | Dec 29 08:59:06.964 ERRO Error getting mapping to ENR            error: Timeout, multiaddr: /ip4/<IP_ADDRESS>/tcp/32824/udp/32777/p2p/16Uiu2HAkvonB91orD4Xd6uv4EwMqnzmGaw4vPwZTS1L9oxnkoETc, service: libp2p

Lighthouse starts with
--boot-nodes=/ip4/<IP_ADDRESS>/tcp/32821/udp/32776/p2p/16Uiu2HAm79LXSiDcYemaxoa9BMfeNQh9GhYMvr8uzQAiBSCYNXq4,/ip4/<IP_ADDRESS>/tcp/32824/udp/32777/p2p/16Uiu2HAkvonB91orD4Xd6uv4EwMqnzmGaw4vPwZTS1L9oxnkoETc

I'll be closing this issue. If it appears there's an issue in Eth Docker, not in your devnet setup, it can be re-opened.
ps -axuww | grep lighthouse is your friend, as are the startup logs.


[FeatureReq] i would like a Bukkit Port.

Is your feature request related to a problem? Please describe.
This is a Server side mod, and i am sure it will be compatible with it, because it doesn't modify any client. it also attract me with Mixed Mode function.
however, it's a fabric mod and it's not compatible with bukkit. so i am sad.
Describe the solution you'd like
add a bukkit port.
Describe alternatives you've considered
only allow online mode players. however, this is not intended for my own services that i will be open soon. what if the user could not afford minecraft? they would pirate it. and it would make my service unusable for them.
use offline-mode: if i do that, my skin looks ugly because it changes to steve from minecraft: the movie. it will also risk getting their username HACKED.
Additional context
you will have to depend on PaperMC, i am sure you can use userdev plugin.

There's already a plugin that has stuff that you need
FastLogin

Oh.

There's already a plugin that adds "mixed" login behavior to already existing auth plugins.
FastLogin

But that doesn't count because i have to turn off the online mode and it's still risky.

You have to turn off offline mode with this mod as-well. Thats how mixed mode behaviour works


(JS-0306) Missing explicit return and argument types

Description
Explicit types are considered in three ways: - It serves as self-documenting code - It guard against bugs in function implementation - It acknowledge and change the explicit return type on the function signature
Occurrences
There are 7 occurrences of this issue in the repository.
See all occurrences on DeepSource → deepsource.io/gh/kodadot/nft-gallery/issue/JS-0306/occurrences/

on it!


[5.3][AST] Fix a linker error for the parser-only library build

Avoids linking LLVMCore library which would not be useful for the parser-only library.
master: https://github.com/apple/swift/pull/31250

@swift-ci Please test

Build failed
Swift Test Linux Platform
Git Sha - 82a86ceef8820b1a7cf475e89f442ac87b461190

Build failed
Swift Test OS X Platform
Git Sha - 82a86ceef8820b1a7cf475e89f442ac87b461190

@swift-ci Please test


[5.5] [Refactoring] Add async wrapper refactoring action

5.5 cherry-pick of https://github.com/apple/swift/pull/37491

This allows an async alternative function to be created that forwards onto the user's completion handler function through the use of withCheckedContinuation/withCheckedThrowingContinuation.
rdar://77802486

Build failed
Swift Test OS X Platform
Git Sha - af0b164d2d43913d204d3650b95032eb8bc2e398

@swift-ci please test macOS


Add functions of time in experiment step

Description
Adds functionality to pass in arbitrary functions of time as the argument for a pybamm.step
Fixes https://github.com/pybamm-team/PyBaMM/issues/4187
Type of change
Please add a line in the relevant section of CHANGELOG.md to document the change (include PR #) - note reverse order of PR #s. If necessary, also add to the list of breaking changes.

[x] New feature (non-breaking change which adds functionality)
[ ] Optimization (back-end change that speeds up the code)
[ ] Bug fix (non-breaking change which fixes an issue)

Key checklist:

[x] No style issues: $ pre-commit run (or $ nox -s pre-commit) (see CONTRIBUTING.md for how to set this up to run automatically when committing locally, in just two lines of code)
[ ] All tests pass: $ python run-tests.py --all (or $ nox -s tests) (I haven't gotten idaklu installed so I'm not certain all tests pass)
[x] The documentation builds: $ python run-tests.py --doctest (or $ nox -s doctests)

You can run integration tests, unit tests, and doctests together at once, using $ python run-tests.py --quick (or $ nox -s quick).
Further checks:

[x] Code is commented, particularly in hard-to-understand areas
[x] Tests added that prove fix is effective or that feature works

For steps that compute their charge/discharge direction (Current, CRate, Power, Resistance), there were a few redundancies in the BaseStep initialization. I moved the value_based_charge_or_discharge inside the BaseStep class and evaluate it after sanitizing the step value. This should fix the codecov (I believe)


bpf: use FIB_LOOKUP_DEV_IFINDEX for fib_lookup

When LBDevInheritIPAddr is configured, it results in datapath fib_lookup failure because the ifindex used for fib_lookup is still the native XDP device, which could be a L2 device without routing table. This PR solves the problem by passing the ifindex of the LBDevInheritIPAddr to datapath using a new macro FIB_LOOKUP_DEV_IFINDEX, and using it for fib_lookup, which keeping the DIRECT_ROUTING_DEV_IFINDEX for packet forwarding.
The PR is based on https://github.com/cilium/cilium/pull/14649

@brb @hzhou8 are next steps on this PR clear? At the very least it seems to need a rebase.

are next steps on this PR clear? At the very least it seems to need a rebase.

I'm going to fix the kernel helpers. Afterwards, we will need to revive the discussion. Converted this PR to the draft for now.

We believe that this issue has been fixed, can you try again with v1.12.0?


[V9] Fix SQL error on duplicate alias between multilingual sections

Same as #10467 , fix #7781 for version 9
% composer test -- --filter testDuplicateAliasMultilingual
> phpunit '--filter' 'testDuplicateAliasMultilingual'
PHPUnit 8.5.24 #StandWithUkraine

Runtime:       PHP 7.4.27
Configuration: /path/to/phpunit.xml

E                                                                   1 / 1 (100%)

Time: 3.84 seconds, Memory: 52.50 MB

There was 1 error:

1) Concrete\Tests\Multilingual\SectionTest::testDuplicateAliasMultilingual
Doctrine\DBAL\Exception\UniqueConstraintViolationException: An exception occurred while executing 'insert into MultilingualPageRelations (mpRelationID, cID, mpLocale, mpLanguage) values (?, ?, ?, ?)' with params ["2", 4, "de_CH", "de"]:

SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '2-4' for key 'PRIMARY'

/path/to/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:74
/path/to/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php:182
/path/to/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php:159
/path/to/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:2226
/path/to/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:1313
/path/to/concrete/src/Database/Connection/Connection.php:97
/path/to/concrete/src/Multilingual/Page/Section/Section.php:373
/path/to/concrete/src/Page/Cloner.php:147
/path/to/concrete/src/Page/Page.php:2835
/path/to/tests/tests/Multilingual/SectionTest.php:121

Caused by
Doctrine\DBAL\Driver\PDO\Exception: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '2-4' for key 'PRIMARY'

/path/to/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php:18
/path/to/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:119
/path/to/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:1304
/path/to/concrete/src/Database/Connection/Connection.php:97
/path/to/concrete/src/Multilingual/Page/Section/Section.php:373
/path/to/concrete/src/Page/Cloner.php:147
/path/to/concrete/src/Page/Page.php:2835
/path/to/tests/tests/Multilingual/SectionTest.php:121

Caused by
PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '2-4' for key 'PRIMARY'

/path/to/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:117
/path/to/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:1304
/path/to/concrete/src/Database/Connection/Connection.php:97
/path/to/concrete/src/Multilingual/Page/Section/Section.php:373
/path/to/concrete/src/Page/Cloner.php:147
/path/to/concrete/src/Page/Page.php:2835
/path/to/tests/tests/Multilingual/SectionTest.php:121

ERRORS!
Tests: 1, Assertions: 1, Errors: 1.
Script phpunit handling the test event returned with error code 2

Tests aren't passing here but I think it's an unrelated error


[api] Questions randomly appear/disappear when using Helm Repo as source

What kind of request is this (question/bug/enhancement/feature request): bug
Steps to reproduce (least amount of steps as possible):

Add a helm repo with tbz files that have questions.yml in the file.
Navigate to the version of the template in the v3 api
Refresh the API and review the data.

Result:
The questions.yml will appear/disappear randomly from the files object in the API and the questions array correspondingly appears and disappears.
Other details that may be helpful:
Semi-related - https://github.com/rancher/rancher/issues/20977
Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI): v2.2.4
Installation option (single install/HA): HA

Questions are only supported in git repos for the cluster manager API/UI and that's not going to change at this point.  They work in Helm repos in Explorer.


Import data files and set up repo

@aarmey when you get a chance, could you help me get the makefile to generate figure1.svg? The command line ./genFigure.py 1 does work but not through makefile. Thanks.

Will do.


Customize the double-click action

By default, double-clicking on a torrent transfer opens the details/preferences window. You should add the ability to change the action, e.g. pause/unpause the torrent, open the containing folder in explorer, etc.

Sure, this sounds reasonable 😄

The same for double-clicking on file in the files tab below - it should open the file in associated program, not just open folder in explorer.


[Keras] Add l2_normalize support

This PR adds support for Lambda(l2_normalize).
Keras does not have dedicated Layer for l2_normalize. Typical solution for that is to wrap K.l2_normalize with Lambda layer and add it to the model.

@AndrewZhaoLuo Could you review this PR?

I will review this either today or tomorrow


[fix] [broker] replace loadSheddingPipeline with loadSheddingStrategy.

Motivation
Currently, we only support configure one single loadSheddingStrategy and there is no any plan for supporting multiple LoadSheddingStrategy, but ModularLoadManagerImpl use a List<LoadSheddingStrategy> to hold the LoadSheddingStrategy.
Modifications
Replace List<LoadSheddingStrategy> with LoadSheddingStrategy.
Verifying this change

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

(Please pick either of the following options)
This change is a trivial rework / code cleanup without any test coverage.
Does this pull request potentially affect one of the following parts:

If the box was checked, please highlight the changes

[ ] Dependencies (add or upgrade a dependency)
[ ] The public API
[ ] The schema
[ ] The default values of configurations
[ ] The threading model
[ ] The binary protocol
[ ] The REST endpoints
[ ] The admin CLI options
[ ] The metrics
[ ] Anything that affects deployment

Documentation

[ ] doc
[ ] doc-required
[x] doc-not-needed
[ ] doc-complete

Matching PR in forked repository
PR in forked repository: https://github.com/thetumbled/pulsar/pull/53

PTAL, thanks. @Demogorgon314 @heesung-sn @Technoboy- @lhotari

/pulsarbot rerun-failure-checks

/pulsarbot rerun-failure-checks

Codecov Report
Attention: Patch coverage is 54.83871% with 14 lines in your changes are missing coverage. Please review.

Project coverage is 73.19%. Comparing base (bbc6224) to head (e287d06).
Report is 305 commits behind head on master.

Additional details and impacted files

@@             Coverage Diff              @@
##             master   #22786      +/-   ##
============================================
- Coverage     73.57%   73.19%   -0.38%
+ Complexity    32624    32504     -120
============================================
  Files          1877     1890      +13
  Lines        139502   141497    +1995
  Branches      15299    15526     +227
============================================
+ Hits         102638   103574     +936
- Misses        28908    29935    +1027
- Partials       7956     7988      +32

Flag
Coverage Δ

inttests
27.38% <16.12%> (+2.79%)
:arrow_up:

systests
24.69% <16.12%> (+0.36%)
:arrow_up:

unittests
72.22% <54.83%> (-0.63%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Files
Coverage Δ

...roker/loadbalance/impl/ModularLoadManagerImpl.java
84.35% <54.83%> (-0.63%)
:arrow_down:

... and 359 files with indirect coverage changes


Updated for Koa 2.x -- Removed and Updated Dependencies

Removed Dependencies
Replaced three dependencies with more recent Node / JavaScript built in functions.
co-fs

The files did not need to be retrieved using generator/yield as far as I could tell.
fs.readFileSync is passing all the tests and working in my local implementation

utility

The version of string.prototype.replace being utilized from this package was there to prevent a regex error when $& is present in the markdown.
Replacing all instances of $ with $$ before using them as the replacement value also prevents this problem.
Also added a test to show this working.

copy-to

Now we can use Object.assign for this same purpose

Updated Dependencies
Supertest

Got rid of some NPM security warnings by updating to latest Supertest

markdown-it

Updated to latest major version

Updated for Koa 2.x

Updated to latest Koa
Fixed error with constructor invocation by adding new
Updated */yield functions to use async/await instead in accordance with: https://github.com/koajs/koa/blob/master/docs/migration.md

Increased Node Version in Engine

Async/Await and Object.assign() should both be covered by 8.0.0, thought they may also be available as early as 7.6 if we need to get more fine grained.

@dead-horse @fengmk2 I apologize, I forgot to add reviewers to this pull request. Would either of you mind taking a look? Thank you.

Only support node >= 8.0.0 in the next major version of koa-markdown.

@fengmk2 I updated the master branch on my fork to address those issues.

Removed and ignored package-lock
Used mz/fs with async/await syntax instead of readFileSync

bump!


Needs updating for the latest Azure portal GUI

This page needs updating to the latest Azure portal GUI

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

ID: 04403549-f1f6-6335-ff08-a84bb6c79e75
Version Independent ID: 91e5132d-ab4c-c4c9-0999-270eac76f587
Content: Monitor Azure Site Recovery - Azure Site Recovery
Content Source: articles/site-recovery/site-recovery-monitor-and-troubleshoot.md
Service: site-recovery
GitHub Login: @JYOTHIRMAISURI
Microsoft Alias: v-jysur

thanks for bringing this to our attention. Your feedback has been shared with the content owner for further review.

cc
@V-SSenthilna

@richard-artes - you are referring to which section? While most of the screenshots have an older look, the details are the same today. We will work on getting the images updated. Please do let us know if there were any specific sections where you think details were missing and we will add that too.

@richard-artes closing this as the issue has been addressed already.

#please-close


Doc RFC Reseau

a base doc of the reseau protocol
imperatif for futur improve of the netword

[ ] RFC doc protocol
[ ] A class diagram of the lib
[ ] doc of how to use

Hollow in dev, AMoz in reviewing


Linting in CI

We need to ensure that new PR's do not introduce type issues, I see the path for this something like the following:

[x] Add npm run vscode-build to .travis.yml's script (this will get at least a pass/fail for PR's until better testing can get setup).
[ ] Incorporate broccoli-tslinter to enable live reload style testing.

This can be closed (I forgot to add closes #xyz to the PR)


PRO ID

the pro Ids I added for
https://www.pombase.org/reference/PMID:23333317
are giving an erreor
https://proconsortium.org/app/entry/PR%3A000050399/
is giving an error, do I just need to wait, or was there an additional step?

Just a guess, but it might be that the terms need to reach a PRO release -- everything in their "current downloads" directory is datestamped 2020-08-18.

It looks like this error has gone.

Is there  still a config file that new PRO Ids need to go in?
https://www.pombase.org/reference/PMID:23333317
the  gene page link gives
https://proconsortium.org/app/entry/PR%3A000050398/

Although that seems more like a PRO issue?

I'm struggling with this one.  Is PR:000050398 mentioned in one of the annotations of PMID:23333317?  I couldn't see it on the page.

Under "signalling adaptor activity'
We are hiding the active form  by default
This isn't ideal, (we are hiding some of the important biology) but was pragmatic when we had the long labels but will be addressed by
https://github.com/pombase/website/issues/1623

In fact this is the 2nd e.g. here:
https://github.com/pombase/website/issues/1623

Is this still an issue?

No this is good. I have already used it as an example in a couple of presentations!


jdk-15-gaovm-x86-64_linux is failing

Ref: https://ci.adoptopenjdk.net/job/jdk-15-gaovm-x86-64_linux:

Compiling com.oracle.truffle.api.debug.test with javac-daemon(JDK 15)... [dependency TRUFFLE_DSL_PROCESSOR updated]
/home/jenkins/workspace/jdk-15-gaovm-x86-64_linux/src/graal/graal-ce/substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/jdk/SubstrateOperatingSystemMXBean.java:102: warning: [deprecation] getSystemCpuLoad() in OperatingSystemMXBean has been deprecated
    public double getSystemCpuLoad() {
                  ^
/home/jenkins/workspace/jdk-15-gaovm-x86-64_linux/src/graal/graal-ce/substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/jdk/SubstrateOperatingSystemMXBean.java:65: warning: [deprecation] getTotalPhysicalMemorySize() in OperatingSystemMXBean has been deprecated
    public long getTotalPhysicalMemorySize() {
                ^
/home/jenkins/workspace/jdk-15-gaovm-x86-64_linux/src/graal/graal-ce/substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/jdk/SubstrateOperatingSystemMXBean.java:97: warning: [deprecation] getFreePhysicalMemorySize() in OperatingSystemMXBean has been deprecated
    public long getFreePhysicalMemorySize() {
                ^
Compiling com.oracle.truffle.api.benchmark with javac-daemon(JDK 15)... [dependency JMH_1_21 updated]
Note: Some input files use or override a deprecated API that is marked for removal.
Note: Recompile with -Xlint:removal for details.
3 warnings
Compiling com.oracle.svm.hosted with javac-daemon(JDK 15)... [dependency GRAAL_PROCESSOR updated]
Compiling com.oracle.svm.core.graal.amd64 with javac-daemon(JDK 15)... [dependency GRAAL_PROCESSOR updated]
Compiling com.oracle.svm.core.graal.aarch64 with javac-daemon(JDK 15)... [dependency GRAAL_PROCESSOR updated]
Compiling com.oracle.svm.thirdparty with javac-daemon(JDK 15)... [dependency GRAAL_PROCESSOR updated]
Compiling com.oracle.svm.core.windows with javac-daemon(JDK 15)... [dependency GRAAL_PROCESSOR updated]
Compiling com.oracle.svm.core.jdk14 with javac-daemon(JDK 15)... [dependency com.oracle.svm.core updated]
/home/jenkins/workspace/jdk-15-gaovm-x86-64_linux/src/graal/graal-ce/substratevm/src/com.oracle.svm.core.jdk14/src/com/oracle/svm/core/jdk14/Target_java_nio_DirectByteBuffer_JDK14OrLater.java:32: error: cannot find symbol
import com.oracle.svm.core.jdk.Target_jdk_internal_ref_Cleaner;
                              ^
  symbol:   class Target_jdk_internal_ref_Cleaner
  location: package com.oracle.svm.core.jdk
/home/jenkins/workspace/jdk-15-gaovm-x86-64_linux/src/graal/graal-ce/substratevm/src/com.oracle.svm.core.jdk14/src/com/oracle/svm/core/jdk14/Target_java_nio_DirectByteBuffer_JDK14OrLater.java:53: error: cannot find symbol
    Target_jdk_internal_ref_Cleaner cleaner;
    ^
  symbol:   class Target_jdk_internal_ref_Cleaner
  location: class Target_java_nio_DirectByteBuffer_JDK14OrLater
2 errors

WARNING: Using incubator modules: jdk.incubator.jpackage, jdk.incubator.foreign
Compiling com.oracle.svm.core.jdk14 with javac-daemon(JDK 15) failed
1 build tasks failed

/home/jenkins/workspace/jdk-15-gaovm-x86-64_linux/graal-ce/linux/x86_64/build-svm.sh: line 64: ./testme-helloworld: No such file or directory
Build step 'Execute shell' marked build as failure
Archiving artifacts
[Slack Notifications] found #70 as previous completed, non-aborted build
Finished: FAILURE

This is unrelated to the change of machine which this is now scheduled on - it was failing in the same way on the previous machine (and the fact it fails on the new, empty, one means it's not a result of some failure with the specific workspace on the old machine.

@sxa555 Thanks for the issue. I'm aware and will get it fixed ASAP.

Fixed with https://ci.adoptopenjdk.net/view/GaoVM/job/jdk-15-gaovm-x86-64_linux/77/
and
https://github.com/jerboaa/openjdk-graal-builder/commit/d9f50d2e66f23e555497e77a4ae5b86c43380207
I'll try to get those patches upstream as per usual.


fix: Do not report syntax errors as "file not found"

Previously, syntax errors in the user's migration script were reported as the file not having been found.

I'd second that
On mer. 27 sept. 2017 à 14:06 Stephan Schneider<EMAIL_ADDRESS>wrote:

@zcei commented on this pull request.
In bin/contentful-migration.js
https://github.com/contentful/migration-cli/pull/16#discussion_r141322091
:

@@ -59,6 +57,15 @@ const renderFailedValidation = function (errors, renderer) {
};

const run = Bluebird.coroutine(function * () {

let migrationFunction;
try {
migrationFunction = require(argv.filePath);
} catch (e) {
console.log(The ${argv.filePath} script could not be parsed, as it seems to contain syntax errors.\n);
console.log(e);

Let's make our custom output red and/or bold then, maybe?
For the inattentive dev this looks a lot like something is broken with our
tooling.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/contentful/migration-cli/pull/16#discussion_r141322091,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAaUmWWq-9IyiLvyGsvLVrFocptWtDDZks5smjpPgaJpZM4Plnvr
.

--
Hervé Labas
Technical Product Owner
www.contentful.com
We're delighted to be the vendor of note in Forrester's "Headless CMS
https://www.forrester.com/report/The+Rise+Of+The+Headless+Content+Management+System/-/E-RES132202"
report!


Is it excessive to have OnNextAsync on Subject?

When I write code like the following, in reality, OnComplete is called first, so the task itself is cancelled and there is no Console output.
var subject = new Subject<string>();

subject.SubscribeAwait(async (text, ct) =>
{
    await Task.Delay(TimeSpan.FromSeconds(1), ct);
    Console.WriteLine(text);
});

subject.OnNext("Hello!");
subject.OnNext("World!");
subject.OnCompleted();

// output
// (none)

I believe that in the original Rx, where SubscribeAwait didn't exist, this kind of requirement never came up. However, since R3 actively supports async await, it seems like it would be beneficial to be able to write code like the following:
var subject = new Subject<string>();

subject.SubscribeAwait(async (text, ct) =>
{
    await Task.Delay(TimeSpan.FromSeconds(1), ct);
    Console.WriteLine(text);
});

await subject.OnNextAsync("Hello!");
await subject.OnNextAsync("World!");
subject.OnCompleted();

// output
// Hello!
// World!

Although it may seem excessive as a feature of Subject, what do you think about this proposal?

That is difficult because Rx is a push type model.
IAsyncEnumerable(UniTaskAsyncEnumerable) might be possible.
MessagePipe is a dedicated system to fulfill such requests (PublishAsync)
https://github.com/Cysharp/MessagePipe

Thank you very much.
RX is still difficult because it is a Push type.
As for asynchronous event exchange, I will try another method like MessagePipe.

Please excuse me for replying in closed issue, but I can't find good solution for the same problem as @harayuu9 described.
In my case I use R3 + UniTask and some unity oriented DI framework. This combination works pretty well for me. However I've faced a case when I want to have OnNextAsync to be able to await all subscribers callbacks sequentially.
If try to generalize I need some reactive aggregator which would be subscribe by Func<T> instead of Action<T>. Such aggregator not only publish some value but also takes responsibility of how it would "pull" results back and in case of async subscribers it could handle Func<UniTask> and for my case just await in a loop.
I understand that R3 is a push only model and I request something that is push-pull. But I have doubts about proposed solutions either. I've checked UniTaskAsyncEnumerable and MessagePipe and I can't figure out how to setup things to get what I've described here, please forgive me that. Also MessagePipe seems to have dependency with particular DI.
Such functionality could also be implemented as List<Func<UniTask>> but then I lose all this Subscribe().AddTo handy syntax.

If the pipeline is fixed, it could be that the UniTaskCompletionSource is kicked by SubscribeAwait.

If the pipeline is fixed, it could be that the UniTaskCompletionSource is kicked by SubscribeAwait.

If I understand you correctly in proposed approach I should pass UniTaskCompletionSource as pushed value like
var utcs = new UniTaskCompletionSource();
var reactiveSubj = new Subject<UniTaskCompletionSource>();
_reactiveSubj.SubscribeAwait(async (utcs, ct) =>
{
    await UniTask.NextFrame(ct);
    utcs.TrySetResult();
});
_reactiveSubj.OnNext(utcs);
await utcs.Task;

But then only the first subscriber set UniTaskCompletionSource to "complete' state and publisher won't await others


cli: Keyring is not supported on this platform

Component
cli
Describe the bug
$ woodpecker-cli setup
4:44PM WRN Keyring is not supported on this platform
4:44PM FTL error running cli error="unsupported platform"

Steps to reproduce

Run woodpecker-cli setup on FreeBSD

Expected behavior
I should be able to add a secret when running the cli from FreeBSD.
System Info
FreeBSD 14

Additional context
No response
Validations

[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Checked that the bug isn't fixed in the next version already [https://woodpecker-ci.org/faq#which-version-of-woodpecker-should-i-use]

@qwerty287 It still fails with unsupported platform . Why is this code Linux specific?

We should update https://woodpecker-ci.org/docs/cli to mention this to FreeBSD users.


BB-33 - [BUG] Role sudoers not handle multiple users properly

Role sudoers does not handle multiple users properly.
Context
When there are multiple users in a sudoer file, role sudoers does not handle user list update well. It ends up with multiple lines of sudo privileges including the users already removed from the user list.
Process
For example, the initial sudoers variable contains:
  - name: user1, user2, user3, user4, user5, user6
    file_name: /etc/sudoers.d/group1
    privilege: "ALL=NOPASSWD: /usr/bin/ls, /usr/bin/netstat, /usr/bin/lspci, /usr/bin/date"

The initial output /etc/sudoers.d/group1 would have all the users in one line like:
user1, user2, user3, user4, user5, user6 ALL=NOPASSWD: /usr/bin/ls, /usr/bin/netstat, /usr/bin/lspci, /usr/bin/date

When removing any user from beginning to next to last one, the privilege gets duplicated and the removed users are not deleted from the sudoer file.
For example, deleting "user1", the output would be:
--- before: /etc/sudoers.d/group1 (content)
+++ after: /etc/sudoers.d/group1 (content)
@@ -1 +1,2 @@
 user1, user2, user3, user4, user5, user6 ALL=NOPASSWD: /usr/bin/ls, /usr/bin/netstat, /usr/bin/lspci, /usr/bin/date
+user2, user3, user4, user5, user6 ALL=NOPASSWD: /usr/bin/ls, /usr/bin/netstat, /usr/bin/lspci, /usr/bin/date

changed: [mgt1] => (item={'name': 'user2, user3, user4, user5, user6', 'file_name': '/etc/sudoers.d/group1', 'privilege': 'ALL=NOPASSWD: /usr/bin/ls, /usr/bin/netstat, /usr/bin/lspci, /usr/bin/date'})

$ sudo cat /etc/sudoers.d/group1
user1, user2, user3, user4, user5, user6 ALL=NOPASSWD: /usr/bin/ls, /usr/bin/netstat, /usr/bin/lspci, /usr/bin/date
user2, user3, user4, user5, user6 ALL=NOPASSWD: /usr/bin/ls, /usr/bin/netstat, /usr/bin/lspci, /usr/bin/date

After that, deleting user4, output would be like:
--- before: /etc/sudoers.d/group1 (content)
+++ after: /etc/sudoers.d/group1 (content)
@@ -1,2 +1,3 @@
 user1, user2, user3, user4, user5, user6 ALL=NOPASSWD: /usr/bin/ls, /usr/bin/netstat, /usr/bin/lspci, /usr/bin/date
 user2, user3, user4, user5, user6 ALL=NOPASSWD: /usr/bin/ls, /usr/bin/netstat, /usr/bin/lspci, /usr/bin/date
+user2, user3, user5, user6 ALL=NOPASSWD: /usr/bin/ls, /usr/bin/netstat, /usr/bin/lspci, /usr/bin/date

changed: [mgt1] => (item={'name': 'user2, user3, user5, user6', 'file_name': '/etc/sudoers.d/group1', 'privilege': 'ALL=NOPASSWD: /usr/bin/ls, /usr/bin/netstat, /usr/bin/lspci, /usr/bin/date'})

$ sudo cat /etc/sudoers.d/group1
user1, user2, user3, user4, user5, user6 ALL=NOPASSWD: /usr/bin/ls, /usr/bin/netstat, /usr/bin/lspci, /usr/bin/date
user2, user3, user4, user5, user6 ALL=NOPASSWD: /usr/bin/ls, /usr/bin/netstat, /usr/bin/lspci, /usr/bin/date
user2, user3, user5, user6 ALL=NOPASSWD: /usr/bin/ls, /usr/bin/netstat, /usr/bin/lspci, /usr/bin/date

Expected result
The deleted users should be removed from the sudoer file.
Current result
The deleted users are still in the sudoer file and there are duplicated lines.
Possible Fix
One option to fix this issue is using blockinfile.  Any change to sudoer permission setting would override/replace existing block so no any previous sudo setting left behind.
For this option, update collections/infrastructure/roles/sudoers/tasks/main.yml:
- name: blockinfile <|> Add sudoers users and groups
  ansible.builtin.blockinfile:
    path: "{{ item.file_name | default('/etc/sudoers') }}"
    state: present
    create: true
    owner: root
    group: root
    mode: '0600'
    block: |
      {{ item.name }} {{ item.privilege }}
    validate: 'visudo -cf %s'
  loop: "{{ sudoers }}"
  when: sudoers is defined and sudoers

Additional data
With blockinfile, the downside is there will be only one block can be set in /etc/sudoers file. Therefore not possible to set separate sudo permissions for separate user and group.  But this issue can be solved with dedicated sudoer files for each user list or group.  Using dedicated sudoer file is more flexible anyway.
  - name: stone, wood
    privilege: ALL=(ALL) NOPASSWD:ALL

Actually if only set one user or group for each sudoer file, then the current code works as expected
The bigger issue is that when a user or group  is removed from sudoer list, the sudoer file for that user or group is left behind instead of being deleted. So current sudoers role only does sudoer file addition, is not able to purge unwanted sudoer file.

Dear @sgaosdgr
Thank you very much for this bug report, and for provided a fix. :blush:
I agree with you, and so I updated BB-33 with your fix. It could be possible to bypass the limitation from blockinline by pre-calculating each file content in a fact, but this seems overkill for me.
Code is here, waiting for it to pass validation : https://github.com/bluebanquise/bluebanquise/pull/922

And merged :blush:

Thank you!
Simon
On Thu, Apr 4, 2024 at 12:55 PM Benoît Leveugle @.***>
wrote:

And merged 😊
—
Reply to this email directly, view it on GitHub
https://github.com/bluebanquise/bluebanquise/issues/919#issuecomment-2038092811,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWEGVAJYGUTSYS6K25DZ6Z3Y3WVZ3AVCNFSM6AAAAABFUPL4COVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMZYGA4TEOBRGE
.
You are receiving this because you were mentioned.Message ID:
@.***>


Fixed ModelInstanceCollection test failure

Upgraded the RiggedFigure test model to glTF 2.0 and normalized the bone weights. This fixes a local test failure in ModelInstanceCollection which had the same clipping problem as https://github.com/CesiumGS/cesium/pull/8958#issuecomment-644352798.

Thanks for the pull request @lilleyse!

:heavy_check_mark: Signed CLA found.
:grey_question: CHANGES.md was not updated.

If this change updates the public API in any way, please add a bullet point to CHANGES.md.

Reviewers, don't forget to make sure that:

[ ] Cesium Viewer works.
[ ] Works in 2D/CV.
[ ] Works (or fails gracefully) in IE11.

@baothientran can you review and merge? You can use the sandcastle in https://github.com/CesiumGS/cesium/pull/8958#issuecomment-644352798 and point it to the rigged figure model to visualize the difference between this branch and master.

Thanks, @lilleyse. The change fixes the issue. Here is the render in the master:

Below is the render of the fix:

@lilleyse @baothientran This test is failing locally. Worked fine in https://github.com/CesiumGS/cesium/commit/d0641b5d8825cb85af749daac753340d688cdb77, but https://github.com/CesiumGS/cesium/commit/afb7918e576702cb7c43ed8e395d06d57a368d9d broke the test.

@sanjeetsuhag it seems like the model is rendered but the height of the model is off from the center. I'm still investigating

Fixed in https://github.com/CesiumGS/cesium/pull/9006.


Manipulating cell properties explicitly

In my isAboutToDisplay method, I manipulate a property of my cell based on some factor (Hide or Unhide a view of the cell).
However, I'm not finding a way to unhide this view of a specific date explicitly.
Unhiding this view is not the same as selecting it. There's selecting a date and then there are the dates with this view unhidden.
So, when the user commits an action, I want to unhide this view of a specific cell (date) but will not be able to because the calendar does not go through isAboutToDisplay again.
Does this make sense?
The calendar loads and some views have a green view unhidden. If the user commits an action ,  I want to set the date in which the action was committed to green (ie unhide the green view); however, unhiding this green view is different than "selecting".
Thanks for your help man

If you have made changes to the view of a cell, and you want those changes to be reflected, then do the same thing as you would do for a UITableView. Simply call the following function:
calendarView.reloadData
Does this work for you?

let's say the calendar has been completely created.
Now, I want to unhide the green view from the cell that is for example 04/05/2016 because the user did something that means that should be green.
That's what I mean.
My isAboutToDisplay has an array of dates which I set to green. This 04/05/2016 will now be part of that array. Does calendarView.reloadData go through the isAboutToDisplay all over again?
Cause if it does that sounds like it would work.

calendarView.reloadData() causes the calendarView to reload its data source. It will call the isAboutToDisplay function all over again for all the dates that are visible on the screen

That seems like it would work. Thank you man. The speed in which you respond to these requests is crazy. You will get far bro. I can't thank you enough. Not as much for the help with the project as much as for responding so fast.

Thanks man!
Just leave a Star ★ on this project if you like it :)
I want it to be # 1
Have a good one.

No doubt it will be. I'm referring anyone who needs a calendar here. Thanks for your support

Cool cool.
Have an awesome day :)

Just wondering, how long have you been doing ios?

Been at it since 2011. Its been a great.


bootsy leaves empty folders in public/uploads/bootsy/image

Garbage is left in DB and in the storage after deleting the post or loading image without creating the post. I've found the way to remove it by using:

Bootsy::ImageGallery.destroy_orphans(0.day.ago)

But bootsy still leaves empty folders in public/uploads/bootsy/image

Hi there!
Yes, you can delete them with destroy_orphans. You can even set it up as a cron task.
As for the empty folders, that's a known issue from CarrierWave, unfortunately: https://github.com/carrierwaveuploader/carrierwave/issues/222

Thanks for so fast answer!
Maybe you are able to use this cleanup solution, aren't you?
or
Is there a way I can implement this code in my app?
https://github.com/carrierwaveuploader/carrierwave/wiki/How-to%3A-Make-a-fast-lookup-able-storage-directory-structure


Add fix-view-file-link-in-pr feature

Closes https://github.com/sindresorhus/refined-github/issues/2260
Test
This feature only works on open PRs.
The "View file" (and "Raw file") links should point to the branch, not the commit

Files tab: https://github.com/sindresorhus/refined-github/pull/2529/files
Latest commit: #2529/commits/d6ca2e2

The "View file" (and "Raw file") links should NOT point to the branch, but to the commit, as usual

Not the latest commit #2529/commits/3c91c2
Files tab of a merged PR: https://github.com/sindresorhus/refined-github/pull/2259/files
Files tab of a closed PR: https://github.com/sindresorhus/refined-github/pull/2472/files

This one was hard to explain in a screenshot. I'm gonna put it in the "GitHub's shortcomings" section


Updated README.md with homebrew-core formula

See https://github.com/Homebrew/homebrew-core/pull/11513

Thank you!


[REVIEW] Multi gpu

One of the reasons the current multi-gpu notebook takes over 30min to execute is because of uvm thrashing as the entire 1.3Mx4k matrix is brought back to a single GPU. Ideally, we would never need to do this. Eventually we should redo the plotting that filters cells by specific marker genes so that we can filter the distributed dask array for those relevant cells and plot in batches. For now, I've removed these plotting pieces since they don't add a whole heck of a lot to the end-to-end runtime anyways.
This notebook performs 100% of the preprocessing without having to bring the 1.3M cells local. For some reason I'm encountering a strange error in the cuml distributed PCA so I've also distributed our batch pca training w/ dask. Once the cluster/viz section is fully distributed, we should be able to scale to multiple nodes, since we'll never need to bring the 1.3 cells (or pca reduced cells) to a single GPU.

Two questions:

Would it now be feasible to perform PCA on the complete dataset? (Not necessarily saying this is what we should do)
Can we distribute the post-PCA steps as well? E.g. UMAP - https://docs.rapids.ai/api/cuml/stable/api.html#manifold

@avantikalal,

Yes, absolutely we should be able to distribute the PCA steps, however I think I found a bug in the current implementation (still not sure the root cause). https://github.com/rapidsai/cuml/issues/4183
Because of 1, I opted to push the distribution of the remaining steps to a future update.

So far I am seeing a nice linear scaling for the preprocessing steps. In the below chart, you can see a speedup of a little over 8x between 8x V100s and a single V100. The ratio of the preprocessing time was also reduced to only 33% of the end-to-end workflow (down from over 75% in the single V100). I suspect this last detail is largely because the UVM on the client GPU is not being oversubscribed by nearly as much.
If we remove the T-SNE step, I think we can distribute every step that remains. This would also make the notebook support multi-node environments.

@avantikalal, any objections if I merge this? We definitely want to distribute the post-PCA steps as well but right now the 1.3Mx50 matrix only takes up 260mb. I do think there's perf to be gained there, though, and we can distribute the remaining pieces in a follow-on.


drivers: ssd1673: fix typo in string

then -> than

Codecov Report

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

@@           Coverage Diff           @@
##           master   #13207   +/-   ##
=======================================
  Coverage   48.75%   48.75%
=======================================
  Files         319      319
  Lines       46871    46871
  Branches    10835    10835
=======================================
  Hits        22850    22850
  Misses      19394    19394
  Partials     4627     4627

Continue to review full report at Codecov.

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


Test name swallows test toptions

When using SWI-Prolog plunit library, there exists a test/2 predicate, with the second argument being options. When using options, this extension fails to run the correct  Prolog command.
Steps to reproduce
For example SWI Prolog allows creating a failing test:
test(length_fail, [fail]) :- length([1, 2, 3], 4).

This extension however parses the source code wrong, taking length_fail, [fail] as the name of the test and then running
swipl -g "run_tests(lists:length_fail, [fail]),halt"
ERROR: Unknown procedure: run_tests/2

which is wrong, the test name should be length_fail.
Possible solution
I suspect the following line is wrong:
const match = line.match(/\(([^)]+)\)/);

there should probably be something like /\(([^),]+)(,[^)]+)?\)/ or even /\((\w+)(,[^)]+)?\)/. I was not able to find a correct parsing grammar for Prolog, but it seems, that at least alphanumerical characters, underscores, and apostrophes are allowed.

Oh! thanks for letting me know! feel free to change the extension and test it as you wish, I accept pull requests!
If not, I'll add that check later on when I am available :p.


Hide containerPort field if network type is not defined

This PR fixes a bug where the form displays the containerPort field when the network type has not yet been defined.

Retest this please

Rebased with integration test fixes 🎉

retest this please

run unit tests


Add Open Austin to CFAPI

We need to be added to the Code for America API  http://codeforamerica.org/api so that we can leverage the Civic Tech Issue Finder tool on our site and connect people to hack projects quickly

We already added ourself a long while back:
http://codeforamerica.org/api/organizations/Open-Austin

@amaliebarras, use this form to created the correct query to the Civic Tech Issue Finder and to generate the iframe with just our issues: https://www.codeforamerica.org/geeks/civicissues/embed

<iframe src="https://www.codeforamerica.org/geeks/civicissues/widget?organization_name=Open-Austin&number=12" width="100%" height="600" frameBorder="0"></iframe>

This repo is how projects are populated. I think it's kinda clunky and doesn't get updated frequently enough. @luqmaan may consider a new process to inventory projects and send them to the CfA API
https://github.com/open-austin/Civic_Project


vcsSidecar cleanup / pull policy

Recently the default vcsSidecar deis/git-sidecar was updated. The image pull policy for the sidecar uses the worker policy, default IfNotPresent.
If you had the git-sidecar in your local docker registry, a new install of Brigade would not pull the latest image. In the case of going from v0.9.0 to v0.10.0 you would see the error:
+ : /src
/clone.sh: line 6: VCS_REPO: parameter not set or null

Some ideas:

A clean up or intentional pull of the sidecar image at delete/install of Brigade
Default the brigade-project values.yaml vcsSidecar: "deis/git-sidecar:latest" with a tag name (v0.10.0)
Add a pullPolicy property to brigade-project values.yaml for the sidecar. Not ideal to pull every time a build happens...

Oh! Ouch!  We were supposed to set that to the latest image tag. I've been meaning to fix that for ages.

Fixed via #349


Support Google authentication

I'm glad to see you're planning on supporting this. Do you have an estimate of when it'll be ready(days, weeks, months)?

looking forward to this too. i am still not there yet to begin contributing but i will put my hand up to help out when i can.

Hey guys, thanks for writing. It definitely helps to hear that people want a feature to motivate me implementing it. I'll try to get it done within this or next week.
By the way, since I'd like to get a feel as to whether anyone other than me is actually using ooth, so if I may ask: are you using it? Have you tried it out? How did you hear about it? What are your general impressions?

I haven't tried it yet. I'm actually waiting on Google(or Facebook) authentication in order to use it because I've stopped using password authentication after being convinced by a few different sources that it's obsolete. I believe I found out about ooth by just searching Medium for "javascript authentication" or something similar a few months ago and reading your ooth article.
Although I haven't used it yet, I did look at most of the source code in this repo to try to get a feel for how it all works and fits together. I was impressed with how clean it all is.
It may help if I tell you my use case... I'm working on a text adventure game with a friend who is not a programmer(he's a writer) so I built a world editor for him to use. We're collaborating remotely so I want to just put the editor online where we can both use it, but I don't want anyone who comes across the site to go deleting our whole world lol. So I just basically want to whitelist 2 accounts using Google or Facebook authentication and otherwise not allow registration.
Also, on an unrelated note, I noticed you use GraphQL and Next.js together.. you may want to check out my babel-plugin, which allows you to use .gql/.graphql files with Next.js.

as for me, i am personally working through implementing auth with passportjs right now and facing some difficulty with all the configuration (even though this is not my first time with passportjs.. i just got rusty). I do come from the Meteor world so thats why i like the concept of ooth so much but being honest i havent really tried it yet (i last had that node version issue, which is now moot since i upgraded to node 8). I will try it tomorrow. regardless you should do what makes you happy at this early stage in this project as you will def be the #1 user of it

I am in the process of setting up auth and I came to realize that for a
SPA, passportjs is a bad fit. A component like react-google-login is
trivial to add and gives you the token in a callback. You can then send the
token to the server via whatever mechanism you like (graphql in my case) so
the server can verify it and log you in. Passportjs cannot help with any of
those steps.
On Mon, Aug 7, 2017, 6:24 PM shawn wang<EMAIL_ADDRESS>wrote:

as for me, i am personally working through implementing auth with
passportjs right now and facing some difficulty with all the configuration
(even though this is not my first time with passportjs.. i just got rusty).
I do come from the Meteor world so thats why i like the concept of ooth so
much but being honest i havent really tried it yet (i last had that node
version issue, which is now moot since i upgraded to node 8). I will try it
tomorrow. regardless you should do what makes you happy at this early stage
in this project as you will def be the #1
https://github.com/nmaro/ooth/issues/1 user of it
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/nmaro/ooth/issues/4#issuecomment-320711190, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AADWltHVbVbFSxW-A2EOo004iYWjSrIwks5sVzofgaJpZM4OuNrP
.

@wmertens your observation is correct, though Passport.js can actually help with the last step (where the server verifies and logs you in). You just have to pick the right package (i.e. not the one that does the whole oauth process). See https://github.com/jmreyes/passport-google-id-token for google, or https://github.com/drudge/passport-facebook-token for facebook. I used these two in ooth-google and ooth-facebook respectively.

Implemented as a package here: https://github.com/nmaro/ooth/tree/master/packages/ooth-google
Example server-side usage here: https://github.com/nmaro/staart/blob/master/examples/staart/server/ooth.js
Example client-side usage here: https://github.com/nmaro/staart/blob/master/packages/staart/src/components/login-google.js
Working live example: staart.nmr.io/login

Very nice! I'll check these out soonish.
On Tue, Aug 15, 2017, 6:38 PM Nick Redmark<EMAIL_ADDRESS>wrote:

Closed #4 https://github.com/nmaro/ooth/issues/4.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/nmaro/ooth/issues/4#event-1206776490, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AADWlgRl62fg3845zD4h3aEJA--SJhA5ks5sYcljgaJpZM4OuNrP
.


Escalate privileges for edpdm_iscsid and edpm_tuned tasks

We need root privileges for some of the configuration tasks.

TASK [osp.edpm.edpm_tuned : Enable tuned profile] ****************************** task path: /usr/share/ansible/collections/ansible_collections/osp/edpm/roles/edpm_tuned/tasks/configure.yml:71 fatal: [edpm-compute-0]: FAILED! => {"changed": true, "cmd": ["/usr/sbin/tuned-adm", "profile", "throughput-performance"], "delta": "0:00:00.325735", "end": "2023-05-05 05:50:37.284057", "msg": "non-zero return code", "rc": 1, "start": "2023-05-05 05:50:36.958322", "stderr": "Unable to switch profile: Unauthorized", "stderr_lines": ["Unable to switch profile: Unauthorized"], "stdout": "", "stdout_lines": []}


Link under See also needs to link to the Azure DevOps subpage and not to itself

[Enter feedback here]
Link under See also: Power BI Desktop projects Azure DevOps integration does not link to the right subpage. It references itself.
The right link would be:
https://learn.microsoft.com/en-us/power-bi/developer/projects/projects-azdo.

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

ID: aa0561f3-eb9c-ecd5-b97a-52ecee0fc759
Version Independent ID: aa0561f3-eb9c-ecd5-b97a-52ecee0fc759
Content: Git integration with Power BI Desktop projects - Power BI
Content Source: powerbi-docs/developer/projects/projects-git.md
Service: powerbi
Sub-service: ****
GitHub Login: @Minewiskan
Microsoft Alias: owend

Thanks for your comment, @mihagor. This issue has been assigned to the doc author for review.

@mihagor - Thanks for pointing this out! We'll take care of it.


Update routing based on new cloud navigation

Codecov Report

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

@@           Coverage Diff           @@
##           master     #117   +/-   ##
=======================================
  Coverage   58.85%   58.85%
=======================================
  Files          69       69
  Lines         593      593
  Branches       45       45
=======================================
  Hits          349      349
  Misses        230      230
  Partials       14       14

Impacted Files
Coverage Δ

src/entry.js
0% <ø> (ø)
:arrow_up:

src/entry-dev.js
0% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

@lgalis yeah, looks like I se basename wrongly. Gonna have o change them to something beter.


Can't get image by getSignatureImage when typein

Get a blank image by getSignatureImage when type it, I can see image in canvas.
Draw it works as well by getSignatureImage.

http://stackoverflow.com/questions/12328714/convert-text-to-image-using-javascript

Signature pad doesn't use <canvas> when typing your name, it just makes a <div> and uses @font-face to style the text. So there is nothing in the <canvas> when the name is typed in.

Thanks Thomas, I got solution from http://stackoverflow.com/questions/26486560/jquery-signature-pad-get-json-output-using-typed-version

Also I can pass image to parent page.


Single Table Inheritance association view

I have a model that has a has_many single table inheritance relationship. When I go to display the relationship in motor admin I don't get any results. This is happening because the following query is being executed:
SELECT "pets".* FROM "pets" WHERE "pets"."type" = $1 AND "pets"."pet_owner_id" = $2
The query that should be executed is:
SELECT "pets".* FROM "pets" WHERE "pets"."pet_owner_id" = $2
When I run
PetOwner.find(1).pets in the rails console I do get the expected result.
Sample github repo demonstrating the issue here: Motor Admin POC
class PetOwner < ApplicationRecord
  has_many :pets # this is an STI relationship
end

class Pet < ApplicationRecord
  belongs_to :pet_owner
  validates :name, presence: true
end

class Cat < Pet
end

class Bird < Pet
end

When digging into the code it looks like the issue is in Motor::LoadAndAuthorizeDynamicResource, but this might also be an issue with CanCan::ControllerResource which is doing the fetch_resource and fetch_association.

@james05 thanks for reporting this bug and for the excellent bug report with the demo app - it made it super easy to fix the issue!
It has been fixed in the newest release: https://rubygems.org/gems/motor-admin

Thank you!


remove redundant entry in found_bugs list

github says this branch can't be merged.
This PR contains 9 commits, which looks wrong.

Codecov Report

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

@@           Coverage Diff           @@
##           master    #1003   +/-   ##
=======================================
  Coverage   67.68%   67.68%
=======================================
  Files         114      114
  Lines       20362    20362
=======================================
  Hits        13782    13782
  Misses       5933     5933
  Partials      647      647

Continue to review full report at Codecov.

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


Upgrade org.postgresql:postgresql 42.2.18 -> 42.2.19

This PR contains the following updates:

Package
Update
Change

org.postgresql:postgresql (source)
patch
42.2.18 -> 42.2.19

[ ] If you want to rebase/retry this PR, check this box

Suggested commit message:
Upgrade PostgreSQL JDBC 42.2.18 -> 42.2.19

See:
- https://github.com/pgjdbc/pgjdbc/blob/master/CHANGELOG.md
- https://github.com/pgjdbc/pgjdbc/compare/REL42.2.18...REL42.2.19


Update eks-anywhere-packages IMAGE_TAG and HELM_TAG to include release branch

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/lgtm

/lgtm

/approve


docs/design.md: add design and architecture doc

Initial content for Enclave-CC Design and Architecture based on
the discussion https://github.com/confidential-containers/documentation/issues/21
Including the inputs from Dan, Sameo, Tobin and Mikko.
Signed-off-by: Jia Zhang<EMAIL_ADDRESS>Signed-off-by: Dan Middleton<EMAIL_ADDRESS>

Thanks for creating the initial design doc! I suggested some wording changes here and there. We probably haven't documented code & style standards yet, but please wrap markdown at 100 characters. That makes it easier to do diffs in the future and comment on specific items without grabbing an entire paragraph. I'm fine committing the existing rendered images for now. At some point we should probably convert those into something git friendlier.

No problem. I have re-formatted it. In addition, for all resolved items, I will simply click "Resolve conversation" without further acknowledges.

I'm content that this is mature enough to merge. I think the main way we will improve on the design is with experimentation in development and subsequent revisions by pull requests to this base design.


Failed to publish functions from github action

Hey,
I'm having problems with publishing ibm cloud function from github action my steps are:
      # Download and Install IBM Cloud CLI
      - name: Install IBM Cloud CLI
        run: |
          curl -fsSL https://clis.cloud.ibm.com/install/linux | sh
          ibmcloud --version
          ibmcloud config --check-version=false
          ibmcloud plugin install -f cloud-functions

      # Authenticate with IBM Cloud CLI
      - name: Authenticate with IBM Cloud CLI
        run: |
          ibmcloud login --apikey "${IBM_CLOUD_API_KEY}" -a https://cloud.ibm.com -r "${IBM_CLOUD_REGION}" -g "${IBM_RESOURCE}"

      # Deploy
      - name: Deploy to functions
        run: |
               ibmcloud fn action list //for testing purposes

result is:
A target Org and Space must be specified. Use 'ibmcloud target --cf' or 'ibmcloud target -o ORG -s SPACE' to set these values.

Tried running ibmcloud target --cf but it doesn't help.
Result of ibmcloud target (without running target --cf)
API endpoint:      https://cloud.ibm.com/
Region:            ***
User:              my-email
Account:           account-details
Resource group:    resource-group
CF API endpoint:
Org:
Space:

Plugin version:
Plugin Name                         Version   Status   Private endpoints supported
cloud-functions[wsk/functions/fn]   1.0.62             false

Locally it works just fine, in actions running it with ubuntu-latest.

@iksinski could you share the exact command and output that leads to the warning about targeting with --cf? From the description above, it looks like you see this when you ibmcloud plugin list which is hard to reconcile with the functionality of the CLI. Thank you

Ohhh, sorry - my mistake, updated the issue - even ibmcloud fn action list fails.

Although this command does not explicitly say this, I notice other commands (for example namespace list) indicates commands are executed for Cloud Foundry and IAM. I do not see an option to alter this behavior but I will reach out to the team that maintains this plug-in.

Strange this is that it works absolutely fine locally.
What I want to achieve is publishing from gh action, so using ibmcloud fn action update ...

Hi @iksinski
If I get the script (GH action?) right, it just does ibmcloud login with some params (e.g. especially -g <resource-group), but it is not doing the essential targeting of any Cloud Functions namespace before running the ibmcloud fn action list.
You might want to check the following (e.g. manually):
ibmcloud login ...
ibmcloud target -g <resource-group>
ibmcloud fn namespace list

At this stage, you likely get a list of (recommended) "IAM-based" Functions namespaces or maybe (old deprecated) "CF-based" namespaces.
To work with objects in an "IAM-based" Functions namespace, the script would need to take the following steps:
ibmcloud login ... -g <resource-group>
ibmcloud fn namespace target <some-IAM-based-namespace-name-or-id>
ibmcloud fn action list

To work with objects in an "CF-based" Functions namespace, the script would need to take the following steps:
ibmcloud login ... -g <resource-group> -o <cf-org> -s <cf-space>
ibmcloud fn action list

Documentation about IBM Cloud Functions namespaces can be found at https://cloud.ibm.com/docs/openwhisk?topic=openwhisk-namespaces
I hope this helps.

Worked like a charm, thanks so much @azieseme!
Behavior on my local machine (macos) is different though - I don't need to specify namespace list before I update the function.
Thanks for your help!

:+1:

Not sure if the info is kept in $HOME/.wskprops in your platform / wsk/fn plugin version(?)

Correct, sir - it is stored there! I must have added it and forgot.
Actually I have been looking for some existing config in ~/.bluemix/config.json - didn't realise there is anything else.


TH: epg source

https://tv.trueid.net/tvguide/all/

I created a script for this site, but unfortunately in the process it turned out that the site is very unstable (in most cases the server can not return any response), so until that changes I can not add it to the list.

It's also because this website is loooooooong to load. So many things that goes in the process. Best would be simply to get a sort of JSON or something to facilitate the process. I think you can get the EPG in JSON by actually faking a live stream request.


Add Unreal CPP & BP SDK support for Local Debugging Azure Functions

Add support in SDKGenerator to generate Unreal C++ & Blueprints SDK that supports local debugging
Also supports partial debugging.

@MGudgin  Addressed everything. Regarding Partial debugging, resolved the comment for now but we should talk about it when you get a chance.


on_error was triggered with no error message

server.on_error = [](std::shared_ptr<HttpServer::Request> request, const boost::system::error_code& e)
{
	std::cout << "Error:" << std::endl << e.message() << std::endl << e.category().name() << std::endl ;
	return;
};

this would output "Error:" with no error message sometimes

If there is no message, on_error could be called either here: https://github.com/eidheim/Simple-Web-Server/blob/master/server_http.hpp#L342 or here: https://github.com/eidheim/Simple-Web-Server/blob/master/server_http.hpp#L476.

  asio::async_read_until(*socket, request->streambuf, "\r\n\r\n",
                     [this, socket, request, timer](const error_code& ec, size_t bytes_transferred)

in void read_request_and_content(const std::shared_ptr<socket_type> &socket) got ec true
if I try to print e.message, the console will not output anything more.
compiler: ICC 17
IDE: vs2015
boost: 1.62.0

What error code type are you getting? Might be that not all error code types have messages, although that is a bit strange. It might also be an boost asio issue on Windows I'm thinking.

m_val = 0x400f7ea0
m_cat = 0x00000001400f7ea0 {NetNew.exe!std::_Func_impl<std::decay<lambda [] type at line 508171, col. 20>::type, std::allocator, void, std::shared_ptr<SimpleWeb::ServerBaseSimpleWeb::HTTP::Request>, const SimpleWeb::error_code &>::Move(void *)} {...}
boost::noncopyable::noncopyable = {...}
maybe this a bug of boost asio


spinnaker ver false

Spinnaker added a version as the suffix in the secret name, confused the container to get the right secrets.

g'day @jiaquan1! unfortunately we won't be able to accept this PR, as spinnaker isn't something that all users use.
if you made a PR allowing people to put in arbitrary annotations (similar to #174 and #176), i think that would allow you to work around this?